Commit Graph

299 Commits

Author SHA1 Message Date
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
52dea401f8 fixed mistakes in some assertions 2020-03-05 15:22:55 +00:00
ea20bde917 updated open handling in standard console and file handlers 2020-03-05 15:11:55 +00:00
75cb22aaec renamed hawk_setgblbyname() to hawk_setgbltostrbyname() 2020-03-05 09:04:14 +00:00
b7d29ffc86 added hawk_isvalidident() & hawk_setgblbyname().
fixed the standard console input handler to process special arguments of the var=val format
2020-03-05 06:33:58 +00:00
30887f7f2c some simple touch-ups 2020-03-04 14:39:27 +00:00
e8e5aa7935 fixed a bug handling -v in bin/main.c 2020-03-04 13:59:03 +00:00
7980e12999 changed the unary bitwise negation operator to a single tilde which overlaps with the regex match operator 2020-03-04 09:54:38 +00:00
916da0fd59 fixed wrong error handling in bin/mani.c 2020-03-04 09:25:17 +00:00
2ce27360d5 set the initial value of FS to a single space letter 2020-03-04 06:34:23 +00:00
87656f803e some code touch up 2020-03-03 12:00:13 +00:00
957fa97ebb handled RC_EINTR returned by sys::waitonmux() in tcp-proxy.awk 2020-03-03 08:09:34 +00:00
015ed09c5a added a new global variable SCRIPTNAME which intends to store the first script name loaded 2020-03-03 08:03:04 +00:00
83d47bb64a SO_REUSEPORT fix for platforms lacking it 2020-03-02 15:52:54 +00:00
6886c5fab7 fixed a bug in sys::delfrommux() which didn't clear unread event data 2020-03-02 14:37:41 +00:00
93beb3f041 removed unstable assertions 2020-03-02 13:35:35 +00:00
aeff29f68e enhanced scripts/tcp-proxy.awk 2020-03-02 09:41:11 +00:00
8753eae27a Added sys::sockaddrdom() 2020-03-02 09:40:40 +00:00
48809c9e69 fixed a critical bug in handling a multi-dimensional index with delete (e.g. delete[20,"data"]) 2020-03-02 07:23:34 +00:00
140c12f726 updated lib/Makefile.am 2020-02-27 07:49:04 +00:00
a35c729348 updated ax_pthread.m4 to the latest
updated lib/Makeifle.am and samples/Makefile.am
2020-02-26 18:42:31 +00:00
b917920aa5 added 2 more parameters to sys::write()
adding a tcp proxy script
2020-02-26 08:38:23 +00:00
c5799690b8 added @pragma striprecspc on/off 2020-02-21 07:58:24 +00:00
b72dc3aaad removed unneeded files 2020-02-20 06:29:35 +00:00
7585c36e3e fixed HAWK_SIZEOF_SKAD_T defintion 2020-02-16 13:43:01 +00:00
fb1084a045 implemented sys::flock() with fcntl() 2020-02-10 08:36:01 +00:00
388e576ad9 added sys::fnctl() with sys::F_SETFD, sys::F_SETFL, sys::F_GETFD, sys::F_GETFL 2020-02-09 17:05:33 +00:00
57a6217caf added sys::setsockopt()
enhanced mux handling in mod-sys.c
2020-02-09 06:15:35 +00:00
e82d8d59d4 more mux implementation in mod-sys.c 2020-02-08 18:30:03 +00:00
b0d6ba8432 sys::shutdown(), sys::accept(), sys::listen(), sys::bind() 2020-02-07 09:33:13 +00:00
e7b251aa3e added sys::recvfrom in mod-sys.c 2020-02-06 15:33:43 +00:00
83e2a43493 added sys::sendto() in mod-sys.c 2020-02-05 15:13:29 +00:00
b109ae6fbb sys::socket, sys::connect() in mod-sys.c 2020-02-05 06:13:51 +00:00
722edb36cd simplified mux in mod-sys.c a bit 2020-02-04 15:37:19 +00:00
292f2cc265 some changes to mux handling in mod-sys.c 2020-02-04 09:59:08 +00:00
e2accffa0e some mux work. yet to be finished 2020-01-28 23:32:04 +00:00