Commit Graph

381 Commits

Author SHA1 Message Date
afe27f4eec hawk initializes block-local variables upon block entry regardless of migration to the outermost block by the parser.
it emits the local variable declaration in the original nested block regardless of migration by the parser.
2020-11-12 08:02:36 +00:00
7ab601303c added a new keyword @nil 2020-11-10 02:56:29 +00:00
93aa76e104 fixed a test case 2020-11-09 16:32:34 +00:00
097a6c92f2 fixed some bugs in hawk_rtx_format() and hawk_rtx_formatmbs() 2020-11-09 12:07:16 +00:00
9a8c97e3ab added some test cases on math functions 2020-11-08 18:06:15 +00:00
aa04aa2ad7 added more test cases 2020-11-08 17:51:28 +00:00
44bfa42a69 changed the literal notations of a raw string, a byte string, a raw byte string to have the @ sign before b, r, br, rb 2020-11-08 17:23:25 +00:00
a532d65335 fixed a bug of not checking if the current script is null for @SCRIPTNAME in parse.c 2020-11-07 01:51:52 +00:00
fe600c2ce4 added check for the first parameter to operator new in configure.ac 2020-11-07 01:26:29 +00:00
2390a8c5cc minor changes of some conditionals in hawk-cmn.h 2020-11-06 14:04:59 +00:00
38c193cd31 made some defintions conditional 2020-11-05 15:10:28 +00:00
105bbf5429 changed hawk_xma_free() a bit 2020-11-03 12:59:28 +00:00
4323b0b7ce changed xma dump title 2020-11-03 06:54:20 +00:00
06a698058e changed hawk to print xma information when -D and -m are specifed 2020-11-03 06:44:36 +00:00
42637318b7 fixed more bugs in xma 2020-11-03 06:08:34 +00:00
26e0570a53 changed a field name from avail to free in hawk_xma_mblk_t and hawk_xma_fblk_t 2020-11-03 01:24:14 +00:00
200f5f1d94 added the xma memory manager 2020-11-02 09:54:12 +00:00
b17dfeea3c set RTLD_LOCAL for dlopen() when opening a module 2020-10-20 07:41:56 +00:00
78deb3a44d removed -std=c++11 from hawk.spec.in 2020-10-13 17:42:10 +00:00
23fbfed989 updated hawk.spec.in 2020-09-24 13:45:44 +00:00
2fe815e815 enhanced sys::read() to accept the 4th parameter as an input end delimiter 2020-09-14 11:28:57 +00:00
c15966a0f4 fixed wrong O_NONBLOCK handling in mod-sys.c 2020-09-08 16:08:28 +00:00
a097bb71fe redefined hawk_ntime_sec_t with a data size guard 2020-09-03 03:29:55 +00:00
a0436306b8 removed unneeded code 2020-09-03 03:24:14 +00:00
263fa969d4 added more test cases for hawk_add_ntime()/hawk_sub_ntime() 2020-09-03 02:56:38 +00:00
a3c7f4c6f7 renamed some time functions.
enhanced hawk_add_ntime()/hawk_sub_ntime() to detect overflow/underflow
2020-09-02 20:02:51 +00:00
87e3601818 removed unneeded substitution in configure.ac 2020-08-19 04:56:50 +00:00
1701a40dca removed the do..while wrapper from HAWK_STATIC_ASSERT 2020-08-19 04:33:18 +00:00
6602de8527 added a static assertion in lib/hawk-cmn.h 2020-08-19 04:28:38 +00:00
afb7fa41ff improved character definitions in hawk-cmn.h 2020-08-19 04:03:56 +00:00
9988b1afcd added check for the u and U prefix for string literals 2020-08-19 02:38:07 +00:00
416a39868a regenerated some build files 2020-08-19 02:04:08 +00:00
3cceb80fa0 renamed --enable-unicode to --enable-wide-char 2020-08-16 07:20:01 +00:00
fb948bba12 added --enable-pthread-flags to configure.ac 2020-08-15 18:26:56 +00:00
44101be7ac updated ax_lib_mysql.m4 2020-08-15 15:07:10 +00:00
dcd39eb22b minor comment changes in hawk-cmn.h 2020-08-14 16:58:36 +00:00
6dc5f4b123 modified README.md 2020-08-06 04:57:31 +00:00
d177219179 changed ambiguous code in lib/fmt.c 2020-07-10 14:53:11 +00:00
996b9e92c8 changed ambiguous code in lib/fmt.c 2020-07-10 14:50:54 +00:00
1dbf8046b0 added HAWK_ZDIGIT_TO_NUM() 2020-05-27 09:32:52 +00:00
303118bc5c added a common macro HAWK_XDIGIT_TO_NUM() to replace repeated code 2020-05-27 09:15:48 +00:00
8b7b2562df fixed the wrong value defined for HAWK_SKAD_TO_OOCSTR_PORT 2020-05-20 14:32:04 +00:00
0c46c2c145 fixed wrong length type in hawk_copy_uchars_to_ucstr() and hawk_copy_bchars_to_bcstr() 2020-05-20 13:03:27 +00:00
610910ad9e fixed hawk_arr_getstyle() 2020-05-04 07:21:13 +00:00
7f479f156b added special parser-level substitution word - @SCRIPTNAME, @SCRIPTLINE 2020-05-04 07:14:32 +00:00
8ad37dabf0 removed hawk::array_size(), hawk::array_tally().
enhanced hawk::array() and hawk::map() to accept values
2020-05-03 15:49:31 +00:00
84d869606f simplified the way to get the first integer index in idxnde_to_str() 2020-05-03 06:17:44 +00:00
6709839f96 fixed another bug in 'in' evaluation 2020-05-03 06:05:06 +00:00
210aa19820 enhanced the 'in' operator evaluation to support an array 2020-05-03 05:45:31 +00:00
11b6e0ce97 trivial change for code consistency 2020-05-02 18:34:18 +00:00