Commit Graph

284 Commits

Author SHA1 Message Date
9d40f45092 implementing deletion on true multi-dimensional map 2020-04-03 09:29:37 +00:00
164d91661b implementing assignment with true multi-dimensional map 2020-04-03 02:05:12 +00:00
76d295365a writing code for supporting true multi-dimensional indices in map 2020-03-30 08:54:37 +00:00
abcc217dd0 changed the point where hawk_rtx_cleario() is called for cleanup 2020-03-29 08:05:36 +00:00
cd7873e19a changed code to prevent buffered output from span across the end of hawk_rtx_execXXX() 2020-03-29 06:29:05 +00:00
e54537886c changed to call hawk_rtx_cleario() before restoring SIGPIPE handler in bin/main.c 2020-03-28 08:28:09 +00:00
a93beaaf55 added hawk::gc(), hawk::gc_set_threshold(), hawk::gc_get_threshold() 2020-03-28 08:04:37 +00:00
7d70005984 implemented automatic generational processing based on threshold in garbage collection 2020-03-28 06:45:36 +00:00
752b1332c9 touched up gc code 2020-03-25 17:05:48 +00:00
d448f8d8bc gc enhancement for supporting generational processing 2020-03-25 08:40:41 +00:00
c1ffc899fe some more code cleanup 2020-03-25 06:22:25 +00:00
74180e1d8a some cosmetic source code changes 2020-03-25 05:56:11 +00:00
404c382e33 fixed a gc flaw upon rtx disposal 2020-03-24 15:26:00 +00:00
962b1d47dd fixed a bug in run_forin() in run.c 2020-03-24 07:14:12 +00:00
77640ef73c renamed the suffix of some scripts to .hawk
fixed mod-sys.c a bit
2020-03-24 07:08:21 +00:00
565e51091b fixed outstanding bugs in gc implementation. pending more improvements 2020-03-24 06:49:25 +00:00
9dc3d5418a made some conditional changes to mod-sys.c 2020-03-23 16:33:32 +00:00
8f6176f451 trying to fix bugs in gc implementation 2020-03-23 16:14:38 +00:00
8c01bef2fb some interim code for gc implementation 2020-03-23 09:24:22 +00:00
53a3cdfd23 removed a redundant semicolon after #endif in mod-sys.c 2020-03-22 18:04:38 +00:00
6502a2e388 changed the behavior of for(x in y) loop - it now takes a snapshot of keys before running body 2020-03-22 18:01:05 +00:00
66d461e664 fixed a fault in hawk-rbt.h 2020-03-21 11:38:27 +00:00
f0c1a26ccc some gc works 2020-03-20 09:50:32 +00:00
adcbf748a2 fixed a bug in string cache managment.
added mbs cache management
2020-03-20 06:05:28 +00:00
7fe9ea0936 added some code to implement gc 2020-03-19 17:42:01 +00:00
1285d77c1e changed the doubly linked list to circular in idmap-imp.h
started writing some code to implement gc
2020-03-18 08:30:40 +00:00
bc87c486da optimized rbt.c and htb.c a bit 2020-03-17 15:44:00 +00:00
cd4298499f optimized lib/run.c a bit 2020-03-17 15:30:56 +00:00
ddcdd3904e enhanced hawk_makemapvalwithdata() to handle integers of various size
enhanced sys::stat()
2020-03-17 08:12:01 +00:00
2f548f8b38 registered hawk-map.h in lib/Makefile.am 2020-03-16 09:39:43 +00:00
625cca9d1f added sys::stat(). still incomplete 2020-03-16 08:55:29 +00:00
532de8ac48 updated documentation a bit 2020-03-16 08:28:02 +00:00
6cd9cafd33 added hawk-map.h which uses either htb or rbt depending on HAWK_MAP_IS_HTB or HAWK_MAP_IS_RBT
the hawk's map value is now dependent on the above change. at compile time, you can choose HTB or RBT.
fixed a bug of not resetting FNR in the standard console read handlers
2020-03-15 17:39:15 +00:00
4121ef9b3f enhanced hawk_unescape_bcstr() to convert \uXXXX and \UXXXXXXXX to utf8 sequences 2020-03-14 06:09:59 +00:00
f2316d1d3e hawk_unescape_bcstr()/hawk_unescape_ucstr() 2020-03-13 16:00:21 +00:00
84c0b37e94 fixed a bug in printing a tree node of the HAWK_NDE_POS type 2020-03-12 04:26:28 +00:00
db77a97119 updated README.md a bit 2020-03-11 07:46:39 +00:00
689735eed8 added @pragma multilinestr on/off 2020-03-11 07:13:02 +00:00
059ba422ce removed some unneeded lines 2020-03-10 15:27:44 +00:00
c2162bd12b enhanced hawk_rtx_match() to handle mbs
fixed bugs in hawk_rtx_getrefval() and hawk_rtx_getrefvaltype() for HAWK_VAL_REF_POS
2020-03-10 15:17:21 +00:00
bae06804ef added hawk_rtx_matchvalwithucs() and hawk_rtx_matchvalwithbcs()
renamed hawk_rtx_matchval() to hawk_rtx_matchvalwithoocs()
updated code concerning the call to hawk_rtx_setrefval()
2020-03-10 08:36:31 +00:00
260df21f85 made sub() and gsub() mbs-aware 2020-03-10 04:07:23 +00:00
09360c4abe added a comment on the change made in the previous commit 2020-03-09 15:36:01 +00:00
75ef3a949a changed the tre parser to treat a backslash as an escaper inside [] 2020-03-09 15:29:31 +00:00
fd56a19a79 added @pragma stripstrspc on/off
added a new global variable STRIPSTRSPC
2020-03-09 08:52:42 +00:00
c8e805b159 updated README.md 2020-03-09 07:10:41 +00:00
c45114458e moved scripts to the scripts directory.
added a embedding sample in c
2020-03-08 15:39:33 +00:00
4ee104e1ee minor touch up 2020-03-08 15:09:09 +00:00
f0d588414e added %u to printf
changed %c with an empty string to '\0' in printf
fixed the execution behavior of double patterned action block(e.g. /a/,/b/)
fixed a bug in NF=value assignment handling
fixed a bug when assigning NF with a large number than the current number of records
fixed a bug in converting multidimensional array index to a string
2020-03-08 15:04:47 +00:00
4bd494d07b added hawk_rtx_makenumormbsvalwithuchars(), hawk_rtx_makenumormbsvalwithbchars(), hawk_rtx_makenumorstrvalwithuchars(), hawk_rtx_makenumorstrvalwithbchars() 2020-03-06 07:43:53 +00:00