7c886ae2e3
added hcl_setinloc() and called this on each .SCRIPT command received in the server
hyung-hwan2018-04-12 02:50:37 +00:00
9a1b20a47d
enhanced the hcl server to write back an error message for input-phase errors
hyung-hwan2018-04-12 02:22:17 +00:00
436d67b5eb
improved error message handling in hcl server
hyung-hwan2018-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
hyung-hwan2018-04-10 13:57:17 +00:00
dfee95436f
touched up an error message shown for an invalid hashed literal encountered whose first character after # is invalid
hyung-hwan2018-04-10 10:10:50 +00:00
69a5ef94bd
changed hcl_seterrxxx() functions not to set the errnum field again for failures in internal operations, especially in hcl_convxxx()
hyung-hwan2018-04-06 14:59:44 +00:00
8df5087b9d
enhanced the multiplication function to truncate the resulting fixed-point decimal to the equal precision to the operands
hyung-hwan2018-03-30 18:11:11 +00:00
e466c6b68a
disallowed fixed point decimal literal with no digit after the point. fixed a bug in hcl_divnums
hyung-hwan2018-03-30 17:37:40 +00:00
8be5e3fd83
moved the socket address convertion functions to the main hcl library enhanced the client library and samples
hyung-hwan2018-03-22 03:42:17 +00:00
c41c3a12af
enhanced the inclusion path handling in the sample hcl server code added HCL_SERVER_SCRIPT_INCLUDE_PATH added optstate field in hcl_server_worker_t
hyung-hwan2018-03-17 05:44:40 +00:00
b3cef9ec5c
added the used field to hcl_server_wid_map_data_t started implementing .SHOW-WORKERS and .KILL-WORKER
hyung-hwan2018-03-16 17:27:24 +00:00
36ee74f0ec
enhanced the log_write callback to use as few write system calls as possible. changed the hcl server to raise an error if .SCRIPT is not followed by actual script text on the same line
hyung-hwan2018-03-16 16:20:40 +00:00
0b7acc1fd8
Added HCL_SERVER_WORKER_MAX_COUNT changed the main server loop to purge dead clients as soon as the multiplex is finished
hyung-hwan2018-03-16 14:57:34 +00:00
70ef4b6299
enhanced the hcl server code to assign an ID to each worker created
hyung-hwan2018-03-16 05:56:05 +00:00
a4e05ead91
fixed the hcl server to apply some settings to underlying hcl
hyung-hwan2018-03-16 01:46:59 +00:00
2b2da9e780
added the empty hcl-c.h and hcl-c.c files
hyung-hwan2018-03-15 15:27:34 +00:00
5dcb376907
enhanced the hcl server implementation further while fixing a couple bugs too
hyung-hwan2018-03-15 15:23:51 +00:00
3228386c2c
implemented actor_max_runtime primitively using timer events
hyung-hwan2018-03-15 10:30:06 +00:00
34a23ef986
moving code in main2.c to hcl-s.c
hyung-hwan2018-03-13 10:20:33 +00:00
6ff6286ecf
speeded up termination added functions to manipulate server options
hyung-hwan2018-03-13 02:02:25 +00:00
3ba32a615d
exported hcl_conv_ucs_to_bcs_with_cmgr() and similar functions enhanced the sample server program
hyung-hwan2018-03-12 16:45:42 +00:00
d51ad1cd6a
Added partial sample program to accept requests over a socket
hyung-hwan2018-03-12 10:39:13 +00:00
a2d8206c58
removed a duplicate macro definition in hcl-prv.h
hyung-hwan2018-03-11 17:08:02 +00:00
27e1e55a7c
added hcl_getip(), hcl_getbclen(), hcl_getlflen() renamed vm_checkpoint to vm_checkbc while adding a new parameter
hyung-hwan2018-03-11 11:16:28 +00:00
b9224dfa97
added a sample line commented out
hyung-hwan2018-03-11 03:12:38 +00:00
f9e60cea28
changed the position of abortion check
hyung-hwan2018-03-11 03:05:42 +00:00
536f7fd9f2
added hcl_abort() taken out vm_startup and vm_cleanup from hcl_vmprim_t and moved them to hcl_cb_t
hyung-hwan2018-03-10 17:53:44 +00:00
986e02ae69
fixed return types of io handlers in main.c
hyung-hwan2018-03-09 05:12:55 +00:00
3acdae2cdf
changed the hcl_ioimpl_t prototype to return 'int' instead of 'hcl_ooi_t'. changed the io arguments to have a new 'xlen' field that holds the result of IO operations where 0 means end of stream
hyung-hwan2018-03-09 05:05:09 +00:00