Commit Graph

3806 Commits

Author SHA1 Message Date
dcb4619fec implemented @pragma stack_limit 2019-06-09 05:55:36 +00:00
ce459fe337 fixing pass-by-reference handling bugs 2019-06-08 06:53:24 +00:00
7e4cc9a7c8 more code to support call-by-reference parameters of a normal awk function 2019-06-07 16:31:16 +00:00
4255f9599f implemented call-by-reference parameters of normal awk functions partially. it has yet to be refined further 2019-06-07 09:26:50 +00:00
040ee69eb7 more touch-up 2019-06-07 05:20:20 +00:00
e8cfcfce44 simple touch-up 2019-06-07 03:19:27 +00:00
ac8bb735d9 added mysql::select_db() 2019-06-06 15:12:00 +00:00
38dc85ddf4 added qse_awk_backuperrmsg() and qse_awk_rtx_backuperrmsg().
enhanced the module loading code to emit more comprehensive error message in awk/parse.c
removed dynamic exception specification from some methods.
added mysql::affected_rows()
fixed wrong parameter handling in mysql::autocommit().
changed mysql::esacpe_string() to return the result via the second parameter
2019-06-06 12:11:40 +00:00
5ec8e15140 updated copyright notice that's been long procrastinated 2019-06-06 05:28:23 +00:00
84f5289c33 added mysql::errmsg(), mysql::escape_string(), mysql::ping(), mysql::rollbacK(), mysql::commit(), mysql::autocommit(), mysql::OPT_CONNECT_TIMEOUT, mysql::OPT_READ_TIMEOUT, mysql::OPT_RECONNECT, mysql::OPT_WRITE_TIMEOUT 2019-06-04 08:53:44 +00:00
454f5ec837 implemented mysql::store_result(), mysql::free_result(), mysql::fetch_row() roughly 2019-06-03 08:53:46 +00:00
bbdb18e9d3 more code to mod-mysql 2019-05-24 08:58:52 +00:00
aa3a219f56 some work on mod-mysql 2019-05-23 11:03:46 +00:00
560298d0d1 work in progress - awkmod-mysql 2019-05-22 11:21:57 +00:00
4a897bddf8 removed some module specific functions from the header files 2019-05-14 03:16:33 +00:00
86c1819a1d moved id-to-data mapping functions to imap-imp.h out of mod-dir.c 2019-05-13 16:35:33 +00:00
546d34d732 changed @inclone to @include_once
changed the sf_in_open() to set arg->uniqie_id in lib/awk/std.c
2019-05-13 05:22:40 +00:00
3bfaaa2bc9 added the unique_id field to qse_awk_sio_arg_t to implement the single time inclusion feature.
added primitive logic to check and remember inclusion
2019-05-12 17:03:30 +00:00
eb9413907b implemented @pragma implicit on/off in awk 2019-05-10 10:01:03 +00:00
72c27c7e48 added the pragmas field to qse_awk_sio_arg_t 2019-05-09 16:35:53 +00:00
a6267135ba removed AM_CFLAGS= $(PTHREAD_CFLAGS)" from lib/awk/Makefile.am 2019-05-09 14:08:14 +00:00
bd95bb3d2b added the fcb field to the awk value header 2019-05-09 09:35:37 +00:00
8682cc32e7 adding mod-mysql. work in progress 2019-05-09 08:29:00 +00:00
7a49f16742 moved mod/awk to lib/awkmod 2019-05-09 07:35:33 +00:00
04a1de0303 moving supplimentary awk modules to its own directory 2019-05-09 07:25:27 +00:00
f5ebc5acee fixed missing file issues in lib/awk/Makefile.am 2019-05-08 13:10:00 +00:00
3d6cf904cf updated README 2019-05-08 12:44:45 +00:00
2e19b848e5 added qse_awk_seterrfmt()/qse_awk_rtx_seterrfmt()
fixed wrong reference counting in __fnc_asort()
2019-05-08 07:15:17 +00:00
df47611d9d Added asorti() to awk 2019-05-07 14:54:29 +00:00
3737a28cd3 fixed minor assertion flaw in lib/cmn/mbwc-str.c 2019-05-07 07:39:49 +00:00
ebc9f5d29c fixed a wrong return value in __cmp_int_mbs() 2019-05-07 07:27:53 +00:00
2ac2ad8200 added qse_awk_rtx_getrefvaltype()/qse_awk_rtx_getrefval()
finished asort() in awk
added qse_sortx()
2019-05-07 07:22:55 +00:00
c3e30eaae4 renamed str::value() to str::fromcharcode() in awk.
added str::tocharcode() in awk.
enhanced qse_awk_rtx_makestrvalwithxstr() to skip copying the data from the given string pointer if it's null
2019-05-06 07:19:54 +00:00
51853507fa redefined byte swap and endian conversion routines 2019-05-03 08:39:50 +00:00
66d110fa7b wrote more code in fnc_asort() 2019-05-02 13:45:24 +00:00
006042f6cb redefined some memory allocation functions
added the ismap builtin function to awk
2019-05-02 11:29:51 +00:00
f9e5c3920d in progress of implementing asort() 2019-04-30 08:22:26 +00:00
b3d63c259b redefined qse_awk_mmgr(), qse_awk_getcmgr(), qse_setcmgr() by exposing the mmgr/cmgr fields via qse_awk_alt_t.
implemented comparison operations for the fun value.
changed behavior of some comparison operations that would otherwise result in a runtime error
2019-04-30 07:23:34 +00:00
3368c91834 have implemented the function-pointer-as-value feature experimentally 2019-04-29 09:40:13 +00:00
d64d0a73b4 added experimental code to call function held in a variable 2019-04-28 15:44:10 +00:00
abce018b2f added the builtin function isnil and replaced the backquote operator with it 2019-04-26 18:04:57 +00:00
bc3173d74a added the typename() builtin awk function and qse_awk_rtx_getvaltypename() 2019-04-26 16:55:57 +00:00
1f980cbfb8 enhanced str::index()/str::rindex() to handle byte strings 2019-04-25 17:34:04 +00:00
7811171dff fixed StdAwk to set the MODPREFIX when dlfcn is activated.
added Awk::getCmgr()
enhanced some string functions to handle byte strings
2019-04-23 15:32:23 +00:00
03301b79bf fixed a build issue for missing lchown against old macosx sdks
added Awk::writeConsoleBytes(), Awk::writePipeBytes(), Awk::writeFileBytes()
2019-04-23 08:41:05 +00:00
50eec135d8 added lchown check to configure.ac 2019-04-23 07:49:56 +00:00
588560abbb enhanced awk substr to support a byte string 2019-04-23 06:16:27 +00:00
c80f179366 fixed the bug of affecting the parameter in toupper and tolower in awk.
also enhanced them to support byte strings
2019-04-22 09:03:02 +00:00
b86ea48c86 enhanced sprintf to format a byte string when format is a byte string 2019-04-22 07:44:57 +00:00
146cc6436b Added qse_awk_rtx_formatmbs().
enhanced the builtin printf to handle the byte array format
2019-04-21 15:54:49 +00:00