Commit Graph

113 Commits

Author SHA1 Message Date
3707f4dca8 documented more functions 2009-09-15 07:29:55 +00:00
8118c7477d touched up code for an old c++ compiler 2009-08-31 07:19:02 +00:00
2ba054c1a3 enhanded StdAwk::Pipe to support CloseMode 2009-08-29 03:48:02 +00:00
9253c8644f enhanced error location handling for awk 2009-08-26 03:50:07 +00:00
f565bd46cc touched up code 2009-08-21 05:28:03 +00:00
0f9d553ff8 touched up code 2009-08-18 06:10:30 +00:00
9eb2c2da4c fixed bugs in handling @include 2009-08-10 21:29:59 +00:00
8059913da3 interim commit 2009-08-08 07:35:24 +00:00
0da1c65cf5 implemented @include partially 2009-07-27 20:31:58 +00:00
35e65743ab cleaned up code 2009-07-19 06:02:24 +00:00
6b31c85427 - deleted unnecessary callback functions - on_loop_enter() & on_loop_exit()
- modified qse_awk_rtx_loop() and Awk::loop() to return the return value
- deprecated the callback totally from the Awk class: may readd it in the future.
- added POC code to pass arguments by reference for intrinsic functions. POC ok. more works needed for full support. not enabled.
2009-07-17 02:27:53 +00:00
f0f2db5e8a cleaned up code 2009-07-16 04:43:31 +00:00
e149b933f7 cleaned up code a little 2009-07-15 08:08:48 +00:00
f5e3e53290 - added Awk::setGlobal & Awk::getGlobal
- fixed a bug in parsing getline
2009-07-15 02:06:14 +00:00
af6831ed3c changed Awk::parse() to accept a reference type instead of a pointer type 2009-07-14 04:03:53 +00:00
9b6eb94664 -added Awk::Value::getFirstIndex() & Awk::Value::getNextIndex()
-fixed a few bugs in the Awk::Value class
2009-07-14 02:51:23 +00:00
814ed89e53 enhanced Awk::Awk to utilize Awk::Value 2009-07-13 07:06:01 +00:00
356e4c0792 cleaned up run_delete() in awk/run.c
improved Awk::Value
2009-07-11 21:01:36 +00:00
9f382bb951 adding Awk::Value 2009-07-11 08:05:51 +00:00
852a51ae75 changed Source IO model in Awk 2009-07-10 06:46:14 +00:00
1d88a17c7c enhanced Awk classes 2009-07-09 07:01:45 +00:00
b682392d5f - fixed a bug of not handling nextfile and nextofile when no files are specified in the standard console handler
(awk/std.c)
- enhanced the console handler for StdAwk
2009-07-08 07:05:10 +00:00
8a61d58b7b cleaned up Awk.cpp 2009-07-07 06:37:25 +00:00
d725c01bac touched up code a little 2009-07-02 07:14:39 +00:00
06d3d78abf cleaned up code and enhanced documentation 2009-06-26 01:39:27 +00:00
385e1acc26 fixed a minor problem of returning a long option string with a leading colon in qse_getopt().
enhanced cmd/awk/awk.c
cleaned up code a little
2009-06-22 07:33:05 +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
d6899c0b58 enhanced qse_awk_rtx_strtonum() to better determine the input record type. 2009-06-12 20:59:59 +00:00
a6c0d71710 fixed a minor problem in the Awk class and enhanced a test program for sed 2009-06-08 00:23:53 +00:00
551e6f7c09 reorganized files 2009-06-04 15:50:32 +00:00
9fcfd0c0ba documented code a little 2009-06-02 07:33:01 +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
b7f8bba219 added the Mmgr class and modifiled related classes 2009-05-21 04:44:47 +00:00
c221321cda removed qse_ccls_t and related functions and added qse_strtrm() 2009-05-08 07:15:04 +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
58a47ba425 cleaned up code 2009-02-26 04:35:22 +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
80dfcd497c documented the source code a little bit 2009-02-17 21:27:03 +00:00
26b4ecd16e cleaned up code 2009-02-17 02:11:31 +00:00
66b21c8eab redefined runtime io handlers 2009-02-16 08:31:34 +00:00
3ab84046b7 enhanced code
- changed qse_strfcpy() and qse_strxfcpy() to accept a string array
- removed the data field from qse_awk_prm_t
- made relevant changes
2009-02-15 08:38:00 +00:00
172725273c deprecated qse_awk_runsimple() and created qse_awk_rtx_opensimple()
- still need to clean up qse_awk_rtx_opensimple
- deprecated on_start and on_end in qse_awk_rcb_t
- modified other parts according to the changes
2009-02-14 04:57:09 +00:00
527e1a23de renamed qse_awk_rtx_setcb() to qse_awk_rtx_setrcb() 2009-02-13 19:23:56 +00:00
9d6816c51c created a function to set callback after context creation.
- qse_awk_rtx_setcb(), qse_awk_rtx_getcb()
2009-02-13 08:23:35 +00:00
464f43b821 fixed minor bugs and cleaned up code 2009-02-13 04:55:25 +00:00
44d4f890f4 restructured runtime context functions to support more flexibility
- New functions include: 
    qse_awk_rtx_open ()
    qse_awk_rtx_close ()
    qse_awk_rtx_loop ()
    qse_awk_rtx_call ()
- deprecated qse_awk_run ()
2009-02-12 04:46:24 +00:00
a76f07bc88 corrected license information 2009-02-04 08:39:21 +00:00