Commit Graph

31 Commits

Author SHA1 Message Date
c8fd7b1c60 changed hcl_seterrxxx() functions 2018-04-06 14:37:40 +00:00
c382736be4 implemented %f for sprintf 2018-04-02 08:47:50 +00:00
ea1dc78a17 added hcl_truncfpdevcal().
fixed bugs in sprintf
2018-04-01 17:09:07 +00:00
6806c2bd30 added timer functions 2018-03-15 08:35:38 +00:00
7371618c5b exported hcl_seterrbfmtv(), hcl_seterrufmtv()
added hcl_server_seterrbfmt(), hcl_server_seterrufmt(), hcl_server_seterrbfmtv(), hcl_server_seterrufmtv()
added socket address conversion functions
2018-03-14 14:40:05 +00:00
d8499cc3a9 put the hcl server code into a library 2018-03-14 10:14:38 +00:00
a322f0bc38 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
2018-03-09 05:05:09 +00:00
d1ce53cb45 implemented the builtin primitive function sprintf 2018-03-05 03:35:44 +00:00
15453eb0f7 added HCL_LOG_PREFER_JSON and implemented %J 2018-03-02 07:44:13 +00:00
b93fd3dc98 fixed print_formatted() to use hcl_outfmtobj() instead of hcl_print().
added 2 new optional callbacks - vmprim.alloc_heap and vmprim.free_heap
2018-03-01 14:47:12 +00:00
bc6c14808f added the logf builtin function 2018-03-01 09:46:02 +00:00
48cb2bb1ba fixed a bug printing %% in print_formatted.
changed to use #x #o #b for hexadecimal, octal, binary output
2018-03-01 08:56:56 +00:00
a8feaff918 removed unused lines 2018-03-01 05:27:17 +00:00
191162d3cb touched up various remaining implementation details of the printf builtin function. 2018-03-01 05:25:09 +00:00
5a61ea7bdb enhanced hcl_inttostr() to accept a negative radix to produce lower-case alphabetic digits 2018-02-28 15:57:19 +00:00
f747c1d2ed removed unneeded code 2018-02-28 10:23:08 +00:00
cc0227a15b fixed a bug in printing a single character when hcl_ooch_t is hcl_bch_t
implemented the primitive printf function partially
2018-02-28 10:17:05 +00:00
9c6ce5df9c changed types of some variables from hcl_oow_t to hcl_ooi_t
attempted to add the builtin printf function
2018-02-26 15:52:15 +00:00
b97e2da6af enhanced the logfmtv to handle encoding conversion of the format string 2018-02-26 15:24:45 +00:00
967aa97dc8 work in progress to implement the builtin printf function 2018-02-24 04:01:19 +00:00
20cf176de8 added more error immunity check for the log_write callback 2018-02-22 04:44:21 +00:00
09af995779 made hcl immune to an error number/message set in the log_write callback 2018-02-22 04:35:55 +00:00
a8729532bb changed copyright years 2018-02-07 14:13:13 +00:00
ddfc163c37 changed the reader to handle #(), #[], #{}, '() specially 2018-02-06 10:16:01 +00:00
0adbd2291e added printing routines 2018-02-05 15:59:32 +00:00
71a10e09c6 trying to revive this project 2018-02-05 10:43:25 +00:00
2b0fe94701 fixed a bug in logfmt.c 2016-11-21 12:39:38 +00:00
3645e05f0d fixed a logfmt bug 2016-11-09 15:50:41 +00:00
84f2ebeae4 improved break handling further 2016-10-13 07:41:10 +00:00
dc2b007550 added some code to handle primitives and the call instruction 2016-10-06 17:49:47 +00:00
256efdb134 added initial hcl files 2016-09-28 14:40:37 +00:00