Commit Graph

462 Commits

Author SHA1 Message Date
edf37ae74c fixed the order flaw in lib/mod-hawk.c 2021-01-30 09:50:47 +00:00
03adf78a76 enhanced the test case to detect the bug found in hawk_copy_bcstr_to_bchars() 2021-01-22 16:21:55 +00:00
63f94ddb44 fixed the wrong type specified for the length parameter in hawk_copy_bcstr_to_bchars() and hawk_copy_ucstr_to_uchars() 2021-01-21 07:00:05 +00:00
5f7bef98f5 fixed an issue with an old compiler 2020-12-31 16:27:29 +00:00
dd2d3d4ccd fixed a potential issue by shared data access in mod-hawk.c 2020-12-28 17:23:33 +00:00
80f9d6bc85 some improvements to the ffi module.
changed hawk::function_exists() to check a module function
2020-12-28 07:10:17 +00:00
7b9f3cd9f5 got rid of unneeded stuffs 2020-12-27 19:28:49 +00:00
7d2a0ed484 got the ffi module to work in the basics at least 2020-12-27 19:26:07 +00:00
8303b48fd1 working on mod-ffi 2020-12-26 18:51:05 +00:00
12e50d46d7 working on mod-ffi 2020-12-22 17:53:51 +00:00
5b6347b0a9 added more ffi module code 2020-12-20 17:50:30 +00:00
3841ce7445 updated t/t-001.c 2020-12-20 14:08:17 +00:00
4cf6e17004 updated get_ifcfg() 2020-12-20 13:50:26 +00:00
e72e9f2c1d added net/route.h to configure.ac 2020-12-20 13:29:11 +00:00
801f11fa8e added sys/sysct.h to configure.ac 2020-12-20 12:59:51 +00:00
020f76ce1d fixed the environ issue on macosx 2020-12-18 17:57:59 +00:00
3412108b75 fixed bchr handling in some functions in val.c 2020-12-18 17:48:36 +00:00
5115bb7b8c fixed wrong endian handling in sys::pack() and sys::unpack() 2020-12-18 17:29:40 +00:00
9ea3344469 fixed bugs in sys::split() 2020-12-18 17:16:58 +00:00
2eb3c1a5c1 fixed flaws in configure.ac 2020-12-18 14:59:31 +00:00
5184683dfb changed bin_PROGRAMS to noinst_PROGRAMS in samples and tools 2020-12-18 14:53:14 +00:00
749f3d30b6 added the return type check for unsetenv() in configure.ac 2020-12-18 14:43:30 +00:00
49efdd3caf implementing mod-ffi 2020-12-17 10:12:57 +00:00
214c2bee3a moved syslog-related data from the module context to the module's rtx context 2020-12-16 15:49:27 +00:00
829ad9bdd0 renamed hawk_find_bchar() to hawk_find_bchar_in_bchars().
renamed similar function names in the same way.
updated sys::openlog() to accept a local log socket path with remote:// (e.g. remote:///dev/log/xxx)
2020-12-16 15:13:29 +00:00
607b66d4c9 added sys::SIZEOF_INT, sys::SIZEOF_INTPTR, sys::SIZEOF_INTPTR, sys::SIZEOF_FLT, sys::SIZEOF_FLTBAS, sys::SIZEOF_FLTMAX
fixed some bugs in sys::pack()
2020-12-15 17:11:16 +00:00
72d2272444 implemented 'd', 'f' in sys::pack() and sys::unpack() 2020-12-15 16:10:52 +00:00
130d24544f added c, n, N to sys::pack() and sys::unpack() 2020-12-14 15:25:07 +00:00
55e1003715 added some code for sys::unpack() 2020-12-13 16:54:39 +00:00
40c750ef3b implementing sys::unpack() 2020-12-12 18:43:55 +00:00
a93b1aaf12 moved hawk::pack() to sys::pack()
enhanced sys::pack() to return an error code and set the error message upon failure
2020-12-12 18:18:37 +00:00
237a2853d8 added some code to implement hawk::pack() 2020-12-12 17:07:25 +00:00
dc4b629cbf added hawk::cmgr_exists()
enhanced str::tombs()
enhanced hawk_rtx_valtobcstrdupwithcmgr()
2020-12-11 12:14:48 +00:00
ec2040f133 removed an invalid @include 2020-12-10 17:00:47 +00:00
0de14c4744 resolved numerous bugs regarding byte-characters and byte-strings
changed the way to handle %s/%k/%K contained inside CONVFMT - treat the format specifier as if it is %g instead of returning an error.
removed HAWK_EFMTCNV for the CONVFMT formatting change
2020-12-10 16:55:47 +00:00
e983d7701a added some code for the byte-character literal support.
enhanced value comparison routines
2020-12-09 18:07:20 +00:00
2e25911bfd enhanced the concat operator handler to process mbs properly 2020-12-09 04:02:04 +00:00
1d83f8cfe7 added str::strchar()
made str::tolower(), str::toupper(), str::tonum() character-friendly
2020-12-08 13:27:33 +00:00
083d39826d updated .travis.xml 2020-12-08 03:51:27 +00:00
b1bfbeeb14 updated .travis.xml 2020-12-08 03:45:11 +00:00
97bd469ce8 touched up hawk_rtx_truncrec().
fixed a bug in hawk_xma_init()
2020-12-07 16:48:29 +00:00
792f38acae use hawk_rtx_getvaloocstr()/hawk_rtx_getfreeoocstr() more wherever possible
trying to make character handling sane
2020-12-07 16:22:39 +00:00
dfb7b2aa2d more code to support the character literal 2020-12-05 18:55:05 +00:00
342e01f5b4 attempting to support the character literal notation 2020-12-04 16:19:01 +00:00
672a9a248d cleaned up mod/Makefile.am 2020-12-04 09:40:24 +00:00
05ca362732 fixed a minor build issue in HawkStd.cpp 2020-12-04 05:57:23 +00:00
3a5119504e worked around parse errors by an old gcc compiler(2.95.3) 2020-12-03 14:11:11 +00:00
c44b3160f2 fixed configure.ac 2020-12-03 08:44:32 +00:00
0234cf47f2 updated .travis.yml 2020-12-03 08:40:54 +00:00
e38cfca65d updated .travis.yml 2020-12-03 08:23:19 +00:00