Commit Graph

71 Commits

Author SHA1 Message Date
ceaa977d12 fixed some undefined symbol issues
All checks were successful
continuous-integration/drone/push Build is passing
2023-10-14 23:14:58 +09:00
a5d96cc6eb added HCL_IO_WRITE_BYTES
All checks were successful
continuous-integration/drone/push Build is passing
implemented it in the print handler
2023-06-01 00:30:41 +09:00
b340f09ecc extended hcl_attacio() to access a new input stream handler under the name of scanner.
renamed hcl_ioinarg_t to hcl_iosrarg_t
took back hcl_ioinarg_t for the new input stream handling
2023-05-19 12:55:08 +09:00
4020a2401b some code cleanup 2022-08-03 13:56:20 +00:00
118356650a attempted to get rid of hcl_readbaseiochar() 2022-08-03 05:17:01 +00:00
cc07e0f58e renamed hcl_readchar() to chl_readbaseinchar().
changed its behavior to work on hcl->c->inarg only
fixed bugs in feed_begin_include() and feed_end_include()
fixed the bug for which the location information is not updated in reading an included file and feeding its content
2022-08-02 13:41:13 +00:00
e8acc7cd5b fixed a bug in compile_do() 2022-08-01 06:31:33 +00:00
1bf908e6ba some minor code touch-up 2022-07-31 13:17:44 +00:00
999024e54b added hcl_compile_flag_t 2021-04-24 13:50:51 +00:00
43322c6901 moved the heapsize parameter from hcl_open() to hcl_ignite() 2021-02-09 17:47:22 +00:00
816b900231 touched up code a bit 2021-02-09 15:06:41 +00:00
1d0c7a8bbc allowed vmprim.alloc_heap() to create a bigger heap than requested.
enhanced the standard implementation(std.c) to attempt HUGETLB if the requested heap size is over 1/2 of the huge page size
2021-02-09 14:54:54 +00:00
1aeee25ac6 removed cb-impl.c and cb-impl.h 2021-02-08 15:42:24 +00:00
4b3e318428 used hcl_openstdwithmmgr() in hcl-s.c and deleted unneeded code 2021-02-08 09:41:40 +00:00
65c23a3ff5 removed unneeded code
uniformize the naming of locptr, dbgl to dbgi
2021-02-01 03:32:09 +00:00
d19fab7e3f renamed hcl_read2() and hcl_compile2() to hcl_read() and hcl_compile() respectively 2021-01-29 08:40:10 +00:00
d4fbd0a298 removed hcl_read() and hcl_compile().
in the next commit(), hcl_read2() and hcl_compile2() will get renamed to hcl_read() and hcl_compile() respectively
2021-01-29 08:35:31 +00:00
51e347889d the new compiler is becoming usable. but not complete yet.
added more string copy functions
2021-01-22 14:43:47 +00:00
42688f26ce renamed some struct member names which have not been changed since changes in the main part 2020-12-31 18:02:58 +00:00
852543ee19 Added some incomplete code for process-switching 2020-10-15 12:57:05 +00:00
c7e87698d0 still experimenting to find a good way to represent byte codes and literal frames in the interactive mode 2020-09-28 15:44:04 +00:00
e27058d771 added the _instsize field to hcl_t, hcl_server_t, hcl_client_t 2019-06-21 12:36:25 +00:00
a161944682 refactored fmt code 2019-05-31 10:54:13 +00:00
6e5a92a041 refined the msb positioning functions
migrated hcl_isint()/hcl_isbigint() to hcl-prv.h
2019-05-04 17:56:45 +00:00
140682dfc4 reorganized some callback functions into cb-impl.c 2018-11-03 15:57:14 +00:00
8537f8a67f interim commit while adding vmprim.assertfail 2018-11-03 14:05:37 +00:00
7f0428d288 cleaned up some code 2018-11-02 14:15:28 +00:00
19d39ca20a renamed USE_MACH_O to USE_MACH_O_DYLD 2018-10-14 12:01:51 +00:00
9e72cb1ca3 enhanced pfmod loading code 2018-10-14 10:13:24 +00:00
1b59610444 added hcl_getsynerrnum() and enhanced EOF handling 2018-07-28 04:08:09 +00:00
4280387771 added some type castings and changed the type of two variables for iteration 2018-07-01 13:17:42 +00:00
34e5508881 changed the way to set/unset O_NONBLOCK & O_CLOEXEC 2018-06-29 06:27:38 +00:00
deb53399a4 introduced the new type hcl_bitmask_t 2018-04-26 04:39:20 +00:00
687d633c15 changed to call lt_dlinit() and lt_dlexit() as necessary when libltdl is enabled 2018-04-25 04:12:13 +00:00
7c886ae2e3 added hcl_setinloc() and called this on each .SCRIPT command received in the server 2018-04-12 02:50:37 +00:00
9a1b20a47d enhanced the hcl server to write back an error message for input-phase errors 2018-04-12 02:22:17 +00:00
436d67b5eb improved error message handling in hcl server 2018-04-11 09:44:29 +00:00
64acfe3aec restructured client and server code into a single library libhclex.
also migrated socket related functions into the library
2018-04-10 13:57:17 +00:00
13ecb7e337 exported hcl_server_proto_feed_reply() 2018-04-10 09:17:00 +00:00
ae3745d5f3 added HCL_MOD_INCTX to hcl
added HCL_SERVER_MODULE_INCTX to hcl server
2018-04-09 15:54:54 +00:00
e92407221f renamed some function names for naming consistency 2018-04-07 15:54:16 +00:00
3fb9b31192 fixed reply encoding in the unicode mode in the server 2018-03-29 03:08:43 +00:00
0e2c892d8b enhanced server's error handling a bit 2018-03-24 06:06:01 +00:00
e7726ac3db added more error checks 2018-03-23 10:02:08 +00:00
b845bee716 checked O_CLOEXEC availablity 2018-03-22 09:53:16 +00:00
f575bc6add changed the server code to support multiple listening addresses 2018-03-22 09:46:44 +00:00
b7590398f1 implemented simple idle timeout on the server.
added --shutwr to the sample client code
2018-03-22 07:15:19 +00:00
b3c0640ba6 fixed a bug in main-c.c 2018-03-22 04:31:18 +00:00
8be5e3fd83 moved the socket address convertion functions to the main hcl library
enhanced the client library and samples
2018-03-22 03:42:17 +00:00
f675835a11 added reply handler 2018-03-21 10:38:10 +00:00