Commit Graph

87 Commits

Author SHA1 Message Date
845b4ae4f0 included the int() function into the main awk 2011-05-18 20:32:39 +00:00
da35a4c6dc changed qse_awk_prm_t to include basic math functions 2011-05-18 08:37:51 +00:00
65588fad45 updated copyright notice 2011-04-23 08:28:43 +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
e384e1d044 - enhanced how to determine between a function call and a variable concatenated with an parenthsized expression.
- fixed a bug in split.
2009-10-20 07:33:40 +00:00
bc43362962 enhanced string cache for awk 2009-09-19 22:28:49 +00:00
ae7b0a5bdd enhanced index and match 2009-09-17 00:35:29 +00:00
63c12720cb touched up code while enhancing index() and match() 2009-09-16 08:03:15 +00:00
773f5cec57 touched up code a bit 2009-09-16 04:01:02 +00:00
10c75d357d fixed a bug in emitting a string 2009-09-03 06:55:55 +00:00
c31d8dc8a2 fixed a bug in the close() handler 2009-08-29 06:47:09 +00:00
81b3d369e8 implemented partial closing for rwpipe 2009-08-28 06:52:20 +00:00
9d635709f3 added partial code to support close ("name", "r or w") 2009-08-27 06:59:08 +00:00
f565bd46cc touched up code 2009-08-21 05:28:03 +00:00
267a602d4b changed qse_awk_seterrnum() and qse_awk_rtx_seterrnum() 2009-08-17 07:44:20 +00:00
08d87ca85e interim commit 2009-08-17 02:08:58 +00:00
f0f2db5e8a cleaned up code 2009-07-16 04:43:31 +00:00
e337e01d46 fixed a few minor bugs 2009-06-27 07:05:19 +00:00
1c56d6e347 cleaned up code and documentation 2009-06-25 03:50:10 +00:00
393dd9be8d improved the standard console handler to handle when ARGV has been overridden in a script 2009-06-25 02:29:33 +00:00
944a492c88 fixed bugs in rex and awk
- fixed bugs of not parsing some forms of ranges such as {,m} {n,} properly
- fixed bugs in substitution functions that did not handle 0-length substring match properly.
2009-06-18 06:43:50 +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
fd1c529c46 fixed a few bugs in awk
- improved input console file and ARGV handling.
- fixed bugs in the builtin rand() function.
- added a new option to rex.
- fixed a control flow handling bug in for(x in y) of awk.
2009-06-11 07:18:25 +00:00
a326e5f17f fixed a bug in the builtin split() function 2009-06-10 07:07:42 +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
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
004ba389f2 documented qse_awk_rtx_valtostr() and renamed qse_awk_rtx_valtostrdup()
to qse_awk_rtx_valtocpldup()
2009-03-02 03:58:19 +00:00
0b89f7e322 changed code for new qse_awk_valtostr().
- fixed a bug in shorten_record() in awk/run.c
- added qse_awk_valtostrdup()
- added qse_awk_rtx_alloc ()
- added qse_awk_rtx_free ()
2009-03-01 09:27:03 +00:00
d0ce35eacf enhanced and fixed a few functions.
- qse_awk_rtx_call()
- qse_awk_parsesimple() 
- qse_awk_parsesimple_in_t
- qse_awk_parsesimple_out_t
2009-02-23 08:10:34 +00:00
70b517578e deprecated QSE_AWK_BASEONE 2009-02-18 07:55:48 +00:00
66b21c8eab redefined runtime io handlers 2009-02-16 08:31:34 +00:00
c86350bfde added new string copy functions with simple formatting and changed awk
error formatter accordingly.
- added qse_strfncpy() and qse_strxfncpy().
- qse_awk_seterror() and qse_awk_rtx_seterror utilize qse_strxfncpy().
2009-02-15 03:14:49 +00:00
10adba9ed0 added new functions
- qse_strxfcpy(), qse_strfcpy()
cleaned up code a little
- renamed a few functions. qse_awk_strtok() to qse_awk_rtx_strtok(), etc
2009-02-15 00:21:19 +00:00
a76f07bc88 corrected license information 2009-02-04 08:39:21 +00:00
1201d2890b renamed some functions, variables, definitions, etc to shorten names.
- renamed global to gbl
- renamed local to lcl
2009-02-02 08:28:04 +00:00
4f968e7f11 renamed many functions, typedefs, and variables. 2009-02-01 03:59:46 +00:00