Commit Graph

68 Commits

Author SHA1 Message Date
aed205c298 changed awk to represent an integer of a certain range in a pointer directly 2014-10-23 09:18:49 +00:00
efc8d5ceb4 touched up some code 2014-07-11 14:17:00 +00:00
36b20b4169 renamed qse_xstr_t to qse_cstr_t 2014-07-08 14:30:42 +00:00
a3453e5bd0 remove qse_cstr_t and related types. switched all existing references to qse_cstr_t and its family 2014-07-02 12:28:58 +00:00
a89cd70ddb updated copyright notice 2013-12-31 10:24:12 +00:00
ea55e0d7ee added a build option to use qse_intmax_t for integers in awk.
made relevant changes to support the option
2013-11-05 14:16:45 +00:00
d841c9f62f changed awk to handle IGNORECASE with a regular expression engine that doesn't have a run-time option but has a compile-time option 2013-08-23 15:19:29 +00:00
639391d887 added QSE_SIO_KEEPPATH and qse_sio_getpath().
fixed a file inclusion bug in awk and xli
2013-05-15 12:05:24 +00:00
23d316a659 enhanced qse_awk_rtx_setrefval() to handle references properly
enhanced qse_awk_rtx_valtostr() and qse_awk_rtx_valtonum() to handle references more correctly.
changed some awk error codes.
2013-04-16 10:09:24 +00:00
bad915cc55 added some code for integrating TRE into awk 2013-04-06 13:39:56 +00:00
60255caf39 added more code to xli 2013-02-06 14:31:32 +00:00
12b8ad7cc9 fixed a couple of awk parsing bugs
- lost token in an expression like bash | xyz + 20 for the way preget_token() was used.
- wrong redirection handling in an expression like print 1,2,3 > (4)
2013-02-04 09:19:17 +00:00
c7d88c455a added QSE_AWK_INCLUDEDIRS. actual impl still pending 2013-01-22 14:20:10 +00:00
7557b22cb8 enhanced module handling 2012-11-02 14:08:46 +00:00
acdd3a7a1c prefixed many functions and classes with QSE_EXPORT 2012-11-01 15:03:02 +00:00
a3af4c3eed added qse_awk_rtx_valtombs()/qse_awk_rtx_valtostr()
added sys::kill() to awk
added sys::SIGXXXX to awk
added or enhanced uci::XXXX in awk
2012-10-31 08:31:58 +00:00
3db3ab2249 added qse_awk_rtx_makemapvalwithdata().
enhancced qse_awk_rtx_makestrval() and related functions.
enhanced the uci module
2012-10-29 14:41:39 +00:00
d963a79bd2 touched up code for module call in awk 2012-10-22 09:36:15 +00:00
ff13bf4668 added qse_awk_setopt()/qse_awk_getopt().
deleted qse_awk_getoption()/qse_awk_setoption()/qse_awk_setmaxdepth()/qse_awk_getmaxdepth().
redefined enumeration types related to the functions added or deleted above.
moved fnc_sleep from cmd/awk/awk.c to mod/awk/sys.c
managed to get external module call working in the primitive level
2012-10-21 16:19:03 +00:00
11b9829c9b added some code to support module calls using module-name::function-name syntax to awk.
reorganized a few awk error code
2012-10-20 15:58:20 +00:00
9cc8d6f76d enhanced eval_getline() in awk.
fixed a bug in awk's printf().
fixed a bug of not incrementing NR and FNR in awk's getline().
added some MPI stuffs
2012-09-10 09:55:22 +00:00
ea3ebef8f1 added qse_awk_pushecb()/qse_awk_popecb()/qse_sed_pushecb()/qse_sed_popecb()/qse_httpd_pushecb()/qse_httpd_popecb().
started reorganizing samples/httpd01 to net/httpd-std.c
2012-09-07 15:13:55 +00:00
ec5537a35f cleaned up $ 2012-08-16 03:47:55 +00:00
3c326c599f added qse_pma_clear() and updated the copyright notice 2012-07-20 04:13:39 +00:00
b903f8ebb5 added qse_awk_rtx_pushrcb() and qse_awk_rtx_poprcb().
deleted qse_awk_rtx_setrcb() and qse_awk_rtx_getrcb().
added 'close' to qse_awk_rcb_t
added builtin functions 'setenc' and 'unsetenc' to awk/std.c
added qse_getcmgrbyname()
added builtin functions 'setenc' and 'unsetenc' to awk/StdAwk.cpp
2012-01-17 16:45:01 +00:00
350c75434c fixed a minor build issue with mingw64.
renamed qse_real_t to qse_flt_t
2011-11-22 05:03:31 +00:00
9554a5eaae deleted wtab and rwtab from awk 2011-05-26 09:25:51 +00:00
c7a49615a2 improved tokenization by rex 2011-05-19 08:36:40 +00:00
65588fad45 updated copyright notice 2011-04-23 08:28:43 +00:00
895570a771 corrected faults in character handling functions and macros 2011-03-25 22:52:47 +00:00
1177866b26 changed qse_awk_rcb_t to expose a node pointer 2010-08-06 01:31:17 +00:00
99c72b1755 * renamed map to htb
* added qse_awk_findgbl()
* added Awk::findGlobal()
* began working on red-black tree
2010-07-09 00:58:44 +00:00
faea2475ac fixed a parser bug in awk.
- handling of idiv operators
- tokenization of /=/ as a regular expression
- calling QSE_AWK_FREEREX to free compiled regular expressions.
switched to a new regular expression handler.
2009-12-11 07:03:54 +00:00
225b1c5ec1 touched up code 2009-09-22 07:28:18 +00:00
bc43362962 enhanced string cache for awk 2009-09-19 22:28:49 +00:00
773f5cec57 touched up code a bit 2009-09-16 04:01:02 +00:00
9253c8644f enhanced error location handling for awk 2009-08-26 03:50:07 +00:00
88d0fd919b touched up code a bit more 2009-08-24 19:50:38 +00:00
ea9e068c01 touched up code 2009-08-24 06:56:45 +00:00
9eb2c2da4c fixed bugs in handling @include 2009-08-10 21:29:59 +00:00
3fc663609e enhanced the awk parser 2009-08-07 02:27:14 +00:00
ff92573543 improved @include handling 2009-08-01 07:01:04 +00:00
0da1c65cf5 implemented @include partially 2009-07-27 20:31:58 +00:00
f5e3e53290 - added Awk::setGlobal & Awk::getGlobal
- fixed a bug in parsing getline
2009-07-15 02:06:14 +00:00
06d3d78abf cleaned up code and enhanced documentation 2009-06-26 01:39:27 +00:00
e774c0bbd1 improved numeric string comparison for various contexts. 2009-06-17 00:05:40 +00:00
f9bf649924 fixed bugs in awk
- added qse_awk_seterrinf() and qse_awk_geterrinf().
- deleted qse_awk_seterrmsg()
- fixed a bug in qse_awk_geterrmsg()
- fixed wrong handling of 'length'
- changed run_printf() to flush before returning
2009-06-15 02:40:52 +00:00
cd52c663cf simplified error formatting in qse_awk_t
- added qse_awk_errstr_t and related functions
- changed the Awk class
also fixed a minor bug in qse_awk_rtx_call()
2009-06-02 03:34:34 +00:00
4005bd68e8 touched up code 2009-05-22 00:50:02 +00:00
164b3d9a98 fixed a bug in AWK and enhanced sed
- awk: fixed a bug of not handling ^ in gsub(), split(), and FS.
- sed: added code for y and s command
2009-05-16 07:31:43 +00:00