Commit Graph

129 Commits

Author SHA1 Message Date
2cbe0d4681 enhanced val_int_to_str().
changed the return type of qse_awk_valtostr()
2011-05-26 08:00:19 +00:00
948f5de1cb added QSE_AWK_VAL_MAP_ITR_KEY() and deleted QSE_AWK_VAL_MAP_ITR_KEY_PTR()/QSE_AWK_VAL_MAP_ITR_KEY_LEN()
added QSE_HTB_KPTL()/QSE_HTB_VPTL()/QSE_RBT_KPTL()/QSE_RBT_VPTL()
2011-05-24 22:22:40 +00:00
5577499bfb fixed a minor bug in Awk.cpp 2011-05-24 11:07:13 +00:00
7e6a4dc0d5 * added qse_cptl_t/qse_xptl_t
* deleted word substitution functions from awk
2011-05-24 10:52:37 +00:00
c7a49615a2 improved tokenization by rex 2011-05-19 08:36:40 +00:00
4da9a4d010 migrated math functions in Awk and StdAwk 2011-05-18 08:56:54 +00:00
a2a474bb34 added qse_awk_rtx_getfirstmapvalitr()/qse_awk_rtx_getnextmapvalitr() 2011-05-13 22:06:55 +00:00
4e882e79c0 changed Awk::Value::setIndexedVal() 2011-05-13 10:16:57 +00:00
2cb55e3676 added qse_awk_rtx_setmapvalfld()/qse_awk_rtx_getmapvalfld() 2011-05-13 08:55:53 +00:00
65588fad45 updated copyright notice 2011-04-23 08:28:43 +00:00
d58631e70b enhanced qse_htb_t and qse_rbt_t
- defined builtin mancbs'
- changed qse_rbt_t to point to mancbs
- touched up a few other functions
2010-10-30 07:54:36 +00:00
81f314d676 improved qse_htb_t to use less memory. this resulted in backward-incompatible interface 2010-10-28 06:54:37 +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
de7082d0d0 - Changed the way Mmgr is used. A subclass inheriting Mmged is instantiated with a pointer to Mmgr which used to be the parent class.
- Separated the I/O stream handler from the Sed class and abstracted it into Sed::IOStream.
- Implemented StdSed::StdStream.
2009-12-19 06:34:42 +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
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