249 Commits

Author SHA1 Message Date
221db8488e enhanced xma realloc() 2010-08-01 01:45:47 +00:00
4ef1730e71 added realloc to xma 2010-07-31 07:24:19 +00:00
a1965a6544 fixed bugs in xma.c 2010-07-29 07:27:03 +00:00
f467ec9930 touched the memory allocator 2010-07-25 06:43:26 +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
b0a03e0b4d enhanced regular expression handler 2010-05-10 07:44:39 +00:00
aaa1097128 simplified qse_cut_comp() and related functions 2009-12-23 06:56:01 +00:00
200a3f6656 touched up code a bit 2009-12-22 06:44:33 +00:00
d418e651e5 - added easy C API functions for sed and cut
- added a sample C program for sed
- added C++ API for cut.
2009-12-22 06:29:52 +00:00
41b716c195 - fixed a bug in pio.c for WIN32
- deleted unnecessary files.
- updated documentation.
2009-12-15 06:50:11 +00:00
0d83bdba2c revised project information and added more test scripts for awk 2009-12-14 01:44:50 +00:00
782fa151de interim commit while implementing a regular expression processor 2009-11-23 07:58:53 +00:00
1d5be1f982 still coding rex1.c 2009-11-20 23:12:27 +00:00
6315d1fa9b adding cut 2009-11-14 08:18:12 +00:00
6de11d0391 added partial code for cut 2009-10-05 08:08:27 +00:00
225b1c5ec1 touched up code 2009-09-22 07:28:18 +00:00
773f5cec57 touched up code a bit 2009-09-16 04:01:02 +00:00
2a9fabebb6 improved cmd/sed/sed.c 2009-09-09 01:05:48 +00:00
faf8d996db touched up sed 2009-09-08 07:34:49 +00:00
f14f01864d fixed a bug in handling QSE_SED_QUIET for the 'n' command 2009-09-05 07:08:19 +00:00
10c75d357d fixed a bug in emitting a string 2009-09-03 06:55:55 +00:00
15227808a7 added QSE_SED_SAMELINE to sed 2009-09-01 07:24:06 +00:00
9c872e932a touched up code a little bit 2009-08-29 05:58:05 +00:00
cefda5ffc6 improved sed error handling 2009-08-26 21:03:51 +00:00
9253c8644f enhanced error location handling for awk 2009-08-26 03:50:07 +00:00
0f9d553ff8 touched up code 2009-08-18 06:10:30 +00:00
267a602d4b changed qse_awk_seterrnum() and qse_awk_rtx_seterrnum() 2009-08-17 07:44:20 +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
07af9f53fb merged a few awk options into one 2009-07-18 06:42:02 +00:00
602a14a54e added QSE_AWK_STRIPSTRSPC 2009-07-17 06:43:47 +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
d725c01bac touched up code a little 2009-07-02 07:14:39 +00:00
e78de0f959 restructured regression test scripts for awk 2009-06-30 04:17:39 +00:00
14b0bca55c improved the naming rule 2009-06-29 07:41:47 +00:00
b9d3b490a2 fixed a bug of not checking a parameter name against the function name 2009-06-27 23:52:54 +00:00
e337e01d46 fixed a few minor bugs 2009-06-27 07:05:19 +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
92b9bfb6d1 changed qse_assert_filed() to dump backtraces 2009-06-23 22:53:22 +00:00
97a7febc78 fixed a bug in closing a qse_awk_rtx_t object
- refdown_globals() should have been called after qse_awk_rtx_clrrec()
  as it still access NF.
fixed typo in awk error messages
fixed a memory allocation bug in matching a group (match_group) 
uncommented binary number parsing code in the awk parser.
2009-06-23 07:01:28 +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
e66a372119 added -v var=val to cmd/awk/awk.c 2009-06-21 06:47:34 +00:00
cf606b6819 fixed a bug in matching zero occurrence in a group 2009-06-19 06:08:06 +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
3ac15453b1 enhanced qse_timegm() further 2009-06-07 23:03:44 +00:00
d1d0e06bb5 changed autoconf related files 2009-06-06 06:34:15 +00:00
551e6f7c09 reorganized files 2009-06-04 15:50:32 +00:00
6fb8e248cd regenerated autoconf files 2009-06-03 18:50:39 +00:00