Commit Graph

2853 Commits

Author SHA1 Message Date
4b139e0472 cleaned up code 2009-06-24 07:29:18 +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
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
e774c0bbd1 improved numeric string comparison for various contexts. 2009-06-17 00:05:40 +00:00
ed6db12e27 changed code to handle numeric string comparison better 2009-06-16 02:22:48 +00:00
193afb0567 added partial code to handle a numeric string better 2009-06-15 07:22:00 +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
ee8f5ee6dd reverted to the previous way of input record handling 2009-06-13 06:58:50 +00:00
d6899c0b58 enhanced qse_awk_rtx_strtonum() to better determine the input record type. 2009-06-12 20:59:59 +00:00
9ee15f2e0a fixed a bug of not closing inherited file handles in qse_pio_open(). 2009-06-12 01:44:44 +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
334b52900d adding code into pio.c for win32 2009-06-09 07:09:01 +00:00
769e4ec9b1 interim commit 2009-06-08 07:33:07 +00:00
ca2bb6155a updated code and docs 2009-06-08 07:09:14 +00:00
cc1438a2cf added more documentation with some code fix 2009-06-08 06:11:56 +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
df2c125673 updated lib/awk/Makefile.am 2009-06-07 23:07:34 +00:00
3ac15453b1 enhanced qse_timegm() further 2009-06-07 23:03:44 +00:00
08c1d422f3 enhanced qse_timegm 2009-06-07 07:42:57 +00:00
ebd6199812 changed Makefile.am and Awk.hpp 2009-06-06 06:48:15 +00:00
d1d0e06bb5 changed autoconf related files 2009-06-06 06:34:15 +00:00
922bbbef18 touched up code and docs 2009-06-05 07:36:02 +00:00
551e6f7c09 reorganized files 2009-06-04 15:50:32 +00:00
d50419267f updated documentation a bit 2009-06-04 06:33:47 +00:00
ae7e948fc5 added include/qse/config.h.in 2009-06-03 18:54:11 +00:00
6fb8e248cd regenerated autoconf files 2009-06-03 18:50:39 +00:00
71c7d7c877 removed libtool 2009-06-03 18:43:57 +00:00
dbc7a8fd3f added libtool 2009-06-03 18:41:30 +00:00
7307c3cc30 changed configure.ac for Doxyfile.in 2009-06-03 08:13:50 +00:00
2bd2f30828 added more documentation 2009-06-03 01:42:30 +00:00
a1bec8936b changed configure.ac for Doxyfile.in 2009-06-02 20:16:27 +00:00
0b8d9a9b87 documented code a little more 2009-06-02 19:40:23 +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
3148407114 changed sed03.cpp for the wide character mode 2009-05-31 07:33:08 +00:00
d851798b3c enhanced qse_sed_t
- changed qse_sed_t to support arbitrary numbers of commands
- added qse_set_getmaxdepth() and qse_sed_setmaxdepth()
- added relevant wrapper functions to QSE::Sed
2009-05-30 23:29:06 +00:00
7875def835 touched code a little bit 2009-05-30 19:19:46 +00:00
7053747ab2 fixed bugs and added more features.
- fixed a bug in qse_sed_exec() to return success on flush() error
- added Sed::setError()
- completed a sample program sed03.cpp
2009-05-30 00:21:41 +00:00
0e679b0b7d fixed minor bugs 2009-05-29 08:12:09 +00:00
681d6f7068 added qse_sed_getlinnum() and qse_sed_setlinnum() 2009-05-29 07:00:56 +00:00
4914825a7a changed the author info 2009-05-29 00:37:25 +00:00
b4ff537d85 restructured the doc directory 2009-05-29 00:34:58 +00:00
9dfcf671a4 enhanced the Sed class with a few more methods 2009-05-28 23:00:24 +00:00
fb9cdaa1c0 added qse_sed_geterrstr() and qse_sed_seterrstr() 2009-05-28 07:58:27 +00:00
16f0580d75 added qse_sed_geterrstr() and qse_sed_seterrstr() 2009-05-28 07:55:17 +00:00