d7940a7c5b
enhanced the awk deparser to print @pragma stack_limit if different from the default settings. defined QSE_AWK_MAX_DFL_STACK_LIMIT
hyung-hwan2019-06-10 04:57:51 +00:00
e8395f98da
added str::TRIM_FLAG_PAC_SPACES for str::trim()
hyung-hwan2019-06-10 03:16:54 +00:00
ee7fcef062
fixed a bug in copying value back to pass-by-reference arguments
hyung-hwan2019-06-09 16:17:40 +00:00
f22b4894fd
fixed some issues in the awk tester
hyung-hwan2019-06-09 16:06:03 +00:00
ad3e78f386
fixed some build directive names
hyung-hwan2019-06-09 09:51:12 +00:00
7e4cc9a7c8
more code to support call-by-reference parameters of a normal awk function
hyung-hwan2019-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
hyung-hwan2019-06-07 09:26:50 +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
hyung-hwan2019-06-06 12:11:40 +00:00
5ec8e15140
updated copyright notice that's been long procrastinated
hyung-hwan2019-06-06 05:28:23 +00:00
4a897bddf8
removed some module specific functions from the header files
hyung-hwan2019-05-14 03:16:33 +00:00
86c1819a1d
moved id-to-data mapping functions to imap-imp.h out of mod-dir.c
hyung-hwan2019-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
hyung-hwan2019-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
hyung-hwan2019-05-12 17:03:30 +00:00
eb9413907b
implemented @pragma implicit on/off in awk
hyung-hwan2019-05-10 10:01:03 +00:00
72c27c7e48
added the pragmas field to qse_awk_sio_arg_t
hyung-hwan2019-05-09 16:35:53 +00:00
a6267135ba
removed AM_CFLAGS= $(PTHREAD_CFLAGS)" from lib/awk/Makefile.am
hyung-hwan2019-05-09 14:08:14 +00:00
bd95bb3d2b
added the fcb field to the awk value header
hyung-hwan2019-05-09 09:35:37 +00:00
8682cc32e7
adding mod-mysql. work in progress
hyung-hwan2019-05-09 08:29:00 +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
hyung-hwan2019-05-06 07:19:54 +00:00
006042f6cb
redefined some memory allocation functions added the ismap builtin function to awk
hyung-hwan2019-05-02 11:29:51 +00:00
f9e5c3920d
in progress of implementing asort()
hyung-hwan2019-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
hyung-hwan2019-04-30 07:23:34 +00:00
3368c91834
have implemented the function-pointer-as-value feature experimentally
hyung-hwan2019-04-29 09:40:13 +00:00
d64d0a73b4
added experimental code to call function held in a variable
hyung-hwan2019-04-28 15:44:10 +00:00
abce018b2f
added the builtin function isnil and replaced the backquote operator with it
hyung-hwan2019-04-26 18:04:57 +00:00
bc3173d74a
added the typename() builtin awk function and qse_awk_rtx_getvaltypename()
hyung-hwan2019-04-26 16:55:57 +00:00
1f980cbfb8
enhanced str::index()/str::rindex() to handle byte strings
hyung-hwan2019-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
hyung-hwan2019-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()
hyung-hwan2019-04-23 08:41:05 +00:00
50eec135d8
added lchown check to configure.ac
hyung-hwan2019-04-23 07:49:56 +00:00
588560abbb
enhanced awk substr to support a byte string
hyung-hwan2019-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
hyung-hwan2019-04-22 09:03:02 +00:00
b86ea48c86
enhanced sprintf to format a byte string when format is a byte string
hyung-hwan2019-04-22 07:44:57 +00:00
146cc6436b
Added qse_awk_rtx_formatmbs(). enhanced the builtin printf to handle the byte array format
hyung-hwan2019-04-21 15:54:49 +00:00
eed3853765
added quite some code to handle byte string I/O
hyung-hwan2019-04-21 05:44:53 +00:00
07be5e22d7
added quite some code for handling mbs in awk
hyung-hwan2019-04-18 08:42:54 +00:00
f16437d7c0
writing mbs_to_str() in awk/val.c
hyung-hwan2019-04-15 15:36:23 +00:00
711320d847
added more byte array handling code
hyung-hwan2019-04-15 08:43:57 +00:00
81cbac9e4d
added qse_awk_wcsxtoint()/qse_awk_mbsxtoint() and made qse_awk_strtointo() a macro added qse_awk_wcsxtoflt()/qse_awk_mbsxtoflt() and made qse_awk_strxtoflt() a macro enhanced qse_awk_rtx_valtonum() to handle a byte array
hyung-hwan2019-04-15 04:30:49 +00:00
5e0754e607
trying to implement byte array in awk
hyung-hwan2019-04-14 16:17:12 +00:00
c139017593
changed the awk parser to accept \u and \U in the MCHAR mode. implemented k/K in the awk's builtin printf function
hyung-hwan2019-03-20 07:06:00 +00:00
6c61e0bab6
changed awk \xNN to take up to 2 hexadigits only. implemented w/W in formatted output
hyung-hwan2019-03-19 13:59:22 +00:00
6916a11e61
touched up on the 'k' and 'K' specifier in formatted output
hyung-hwan2019-03-17 04:11:00 +00:00
585633b26d
polishing k and K in formatted output
hyung-hwan2019-03-16 04:48:25 +00:00
e06ffadd4e
added 'k' and 'K' to dump a byte string in \x hexadecimal notation
hyung-hwan2019-03-15 13:34:07 +00:00
88b39ee0af
added qse_bytetombs()/qse_bytetowcs() implemeting %k for formatted output to hex-dump a given string
hyung-hwan2019-03-15 08:10:13 +00:00
5cf583d8c4
removed redundant redefintion of qse_fattr_t changed to call qse_wcstombs() instead of qse_wcstombsall() which doesn't exist
hyung-hwan2019-03-14 16:14:43 +00:00
2ff8ee7c27
changed the default cmgr to utf8 added qse_get_prog_mbspath_with_mmgr()/qse_get_prog_wcspath_with_mmgr() filled Path::setToSelf().
hyung-hwan2019-03-14 08:01:04 +00:00
c794863aa6
added more file management functions
hyung-hwan2019-03-14 01:23:44 +00:00
10b1eabe86
added qse_get_current_mbsdir()/qse_get_current_wcsdir(). writing qse_get_prog_path(). not yet done. implementing the Path class
hyung-hwan2019-03-13 06:38:54 +00:00
69d0e959da
added incomplete Path.hpp and Path.cpp
hyung-hwan2019-03-13 00:35:19 +00:00
6463fbec12
changed the order of STRIPRECSPC and SUBSEP. no functional impact
hyung-hwan2019-02-04 12:48:16 +00:00
98f726e2cc
added the global variable STRIPRECSPC. fixed how to set rtx->gbl.ignorecase for IGNORECASE in set_global()
hyung-hwan2019-02-04 12:20:16 +00:00
448735d4cb
removed a few global variables including qse_awk_val_zero, qse_awk_val_one, qse_awk_val_negone. substituted QSE_AWK_VAL_ZERO/ONE/NEGONE marcos. redefined QUICKINT related macros
hyung-hwan2018-11-15 06:27:42 +00:00