60255caf39
added more code to xli
2013-02-06 14:31:32 +00:00
be6beb61dc
renamed Sed::getOption() and Sed::setOption() to Sed::getTrait() and Sed::getTrait() respectively
...
added qse_sed_opt_t, qse_sed_trait_t
renamed qse_sed_exec_op_t to qse_sed_tracer_op_t
renamed qse_sed_exec_tracer_t to qse_sed_tracer_t
added qse_sed_getopt() and qse_sed_setopt()
deleted qse_sed_setlformatter(), qse_sed_getlformatter(), qse_sed_setexectracer(), qse_sed_getexectracer(), qse_sed_setmaxdepth(), qse_sed_getmaxdepth()
2013-01-13 13:15:03 +00:00
92e4134b7d
added qse_sed_getspace(), qse_sed_allocmem(), qse_sed_reallocmem(), qse_sed_callocmem(), qse_sed_freemem()
2013-01-13 09:04:54 +00:00
f1f3080ab3
make @word to be always on
...
simplified the return value of I/O handler's open function by eliminating the concept of EOF on opening.
enhanced qse_awk_parsestd() to accept an array of qse_awk_parsestd_t for input streams.
enhanced cmd/awk/awk.c to handle multiple -f's properly
2012-11-25 16:16:44 +00:00
7e509d4daa
added qse_dir_t.
...
added qse_mux_t.
added dir::xxx() for awk
2012-11-09 17:31:33 +00:00
acdd3a7a1c
prefixed many functions and classes with QSE_EXPORT
2012-11-01 15:03:02 +00:00
11b9829c9b
added some code to support module calls using module-name::function-name syntax to awk.
...
reorganized a few awk error code
2012-10-20 15:58:20 +00:00
ea3ebef8f1
added qse_awk_pushecb()/qse_awk_popecb()/qse_sed_pushecb()/qse_sed_popecb()/qse_httpd_pushecb()/qse_httpd_popecb().
...
started reorganizing samples/httpd01 to net/httpd-std.c
2012-09-07 15:13:55 +00:00
a2b51062a9
fixed a bug of wrong field buffer management in sed
2012-08-20 06:00:22 +00:00
006dd8975f
added 'abort' & QSE_AWK_ABORT to awk.
...
added a new sed command 'C' that resembles the cut utility
dropped the cut utility.
added qse_str_nrcat()/qse_mbs_nrcat()/qse_wcs_nrcat()
2012-08-19 14:20:05 +00:00
ec5537a35f
cleaned up $
2012-08-16 03:47:55 +00:00
3c326c599f
added qse_pma_clear() and updated the copyright notice
2012-07-20 04:13:39 +00:00
ada60acf67
enhanced win32 utf8 console hack in sio
2012-02-25 14:52:26 +00:00
246dc4f5b7
fixed of not setting cmgr properly in awk/std.c
...
added encoding options to the awk command.
added directory functions to httpd
2012-01-25 15:39:02 +00:00
b903f8ebb5
added qse_awk_rtx_pushrcb() and qse_awk_rtx_poprcb().
...
deleted qse_awk_rtx_setrcb() and qse_awk_rtx_getrcb().
added 'close' to qse_awk_rcb_t
added builtin functions 'setenc' and 'unsetenc' to awk/std.c
added qse_getcmgrbyname()
added builtin functions 'setenc' and 'unsetenc' to awk/StdAwk.cpp
2012-01-17 16:45:01 +00:00
bd7fd49a72
removed redundant code
2011-12-28 14:26:02 +00:00
595aab7555
enhanced a few code segments that convert a digit to a number
2011-11-09 00:54:27 +00:00
f39a8e3526
started writing code for qse_dir_t
2011-10-12 00:19:27 +00:00
84eb18092f
fixed a minor bug in calling qse_sed_setcompid() from sed/std.c
2011-10-08 22:41:52 +00:00
5d774c198f
made qse_sed_setexectracer() selectable at compile-time
2011-10-07 23:09:48 +00:00
915ef99f07
added qse_sed_setcompid() and related code
...
fixed the way how it squeezes in a new line into a script stream not ending with a newline
2011-10-07 02:01:35 +00:00
5eca3cd4b5
added error handling after reading from script streams.
...
changed qse_sed_compstd() to return the number of opened stream resources via a parameter.
relocated qse_sed_cmd_t and qse_sed_adr_to to the public sed.h header file.
2011-10-06 00:41:04 +00:00
0f33edf167
changed how getnextsc() counts line and column numbers.
...
changed how PEEPNEXTSC() works
2011-10-05 00:08:12 +00:00
7505e0723f
* added QSE_SIO_NOCLOSE.
...
* enhanced qse_sed_comp() to accept an array of qse_sed_iostd_t
2011-10-03 01:25:23 +00:00
8f3563b73e
minor fix to set the location of the first address properly when it's erroneous
2011-09-30 00:42:50 +00:00
7a246a02ef
added QSE_SED_EXTENDEDADR
...
deleted QSE_SED_ZEROA1 and QSE_SED_STARTSTEP
added actual code for more ~extended address formats
fixed the 'divide-by-zero' bug caused by the command 'start~0'
added more test scripts for sed
2011-09-29 00:31:17 +00:00
9fb0bc1628
changed how to handle appends(a,r,R), to use less memory when append text/file is large
2011-09-27 22:51:26 +00:00
b9e365f148
added qse_sed_setexechook()
...
added qse_strfnmat() and related functions
2011-09-24 08:52:22 +00:00
cd1c245670
fixed a bug of eating up one more character when handling an \X escape sequuence
2011-09-23 01:07:18 +00:00
516031f17f
added escape sequences \xnn and \Xnnnnnnnn.
...
added 'z' command.
added 'I' address modifier
2011-09-21 23:10:09 +00:00
8f9011bc1d
changed code to allow an empty label when QSE_SED_STRICT is not set
...
added qse_sed_stop() and qse_sed_isstop()
2011-09-20 22:40:45 +00:00
7de8b649ef
added qse_sio_openstd().
...
added QSE_SED_ZEROA1 and related code
2011-09-20 00:51:02 +00:00
ecaed2c2b3
added qse_sed_io_std_t and related code
2011-09-18 09:41:26 +00:00
0d4ea6aab9
fixed a bug of not printing appended text properly when n or N is executed.
...
fixed a bug of not capturing submatches properly
2011-09-15 09:48:08 +00:00
e2a65338c8
touched up code related to QSE_SIO_IGNOREMBWCERR.
...
set QSE_SIO_IGNOREMBWCERR to qse_sio_in, qse_sio_out, qse_sio_err by default
2011-09-12 06:44:56 +00:00
00e15a42e9
fixed a bug in handling r and a command
2011-09-11 10:14:38 +00:00
3db2c566a2
added QSE_TRE_NONSTDEXT
...
fixed a bug of not printing pattern space properly after 'q'
2011-09-09 01:49:53 +00:00
92b4c29551
* fixed a bug of not setting the IGNORECASE option properly to TRE.
...
* added code to treat a regular expressio delimiter as a normal character when present within [] of a regular expression.
* changed code to allow 0 as a starting address of a start~step address form.
* added code to accept 'I' as a option to the 's' command.
2011-09-08 09:36:08 +00:00
0f85644269
added code to handle an empty regular expression in sed
2011-09-07 08:18:36 +00:00
2f15ca2335
enhanced sed escape handling
...
fixed an issue of adding an extra newline after matching $ in do_subst() of sed.
changed tre slightly for QSE's own needs
2011-09-05 10:21:54 +00:00
3fe32033cb
* fixed a rounding bug of reallocation size in _realloc_merge of qse_xma_t.
...
* replaced rex with tre in qse_sed_t
* added submatch reference for the 's' command into qse_sed_t
* changed some options and functions for tre integration in qse_sed_t
2011-09-03 09:27:44 +00:00
1efa41052e
fixed a minor bug in calling tre_add_tags()
...
added qse_tre_open()/qse_tre_close()/qse_tre_geterrnum()/qse_tre_geterrmsg()
added a parameter to return the number of submatches into qse_tre_compx()/qse_tre_comp()
2011-09-02 08:45:06 +00:00
6aba3f8f89
integrated Ville Laurikari's TRE
2011-09-01 09:43:46 +00:00
c7a49615a2
improved tokenization by rex
2011-05-19 08:36:40 +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
299852beaa
enhanced resizing of qse_lda_t and qse_str_t
2010-10-22 07:29:12 +00:00
810134f0ea
enhanced qse_fma_h to have more consistency with qse_xma_h
2010-08-27 00:26:28 +00:00
c0122c72b8
implemented a non-recursive s-expression reader
2010-08-18 07:15:14 +00:00
a8e9033b86
fixed a bug in rbt.c
2010-07-15 06:54:48 +00:00