Commit Graph

2875 Commits

Author SHA1 Message Date
cae3fbe798 fixed a bug in squeezing a new line for a continuing script stream 2011-10-03 01:30:44 +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
84cb2b81d8 abandoned unmaintained directories 2011-09-27 23:08:25 +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
00d9d74a7f added qse_sed_app_t 2011-09-26 00:28:58 +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
7a93b6a5c9 added sed win32 targets for watcom 2011-09-22 00:03:44 +00:00
ac8b7735b8 added a few targets for watcom 2011-09-21 23:50:23 +00:00
516031f17f added escape sequences \xnn and \Xnnnnnnnn.
added 'z' command.
added 'I' address modifier
2011-09-21 23:10:09 +00:00
716237d6c0 added Sed::stop() and Sed::isStop() 2011-09-21 08:04:48 +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
e2affec43b added QSE_TIO_IGNOREMBWCERR 2011-09-11 20:48:21 +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
5be63c4b38 added files to watcom project files 2011-09-08 01:17:05 +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
621eefef0c renamed ccls to ctype 2011-08-25 00:54:19 +00:00
2c4ed8caf9 * added QSE_MBLEN_MAX
* added qse_getcclsid() and related functions
* added qse_isblank() and realted code
2011-08-22 23:26:26 +00:00
03dad41aa2 fixed a bug in pma 2011-08-19 10:26:47 +00:00
d38faa3b1f fixed Doxyfile 2011-08-16 08:44:29 +00:00
4403c33aea * changed the explicit concatenation operator from a period to %% for qse_awk_t
* added the concatenative assignment operator(%%=) for qse_awk_t
2011-08-16 07:52:48 +00:00
8da90da039 * added qse_mbscasebeg()/qse_wcscasebeg()
* touched up the _WIN32 part of qse_fio_t a bit
2011-08-15 09:59:55 +00:00
6e2dd10655 * renamed udd to ctx in qse_mmgr_t
* fixed problems in build and test scripts
2011-08-15 03:07:31 +00:00
f332efc288 fixed a path to the doxygen css file 2011-08-14 10:08:18 +00:00
4527bf0a34 * fixed a bug of not setting an error code upon a few cases of QSE_AWK_STRXDUP failures
* added a new memory debugging facility to qseawk
2011-08-14 10:04:14 +00:00
e833fdff6f enhanced build files 2011-08-14 01:05:45 +00:00
ce8e12cb46 changed a sample code for time 2011-08-13 23:05:03 +00:00
8923102323 fixed a minor glitch in the pio sample code 2011-08-13 22:44:43 +00:00
14572f08aa fixed a few issues in qse_env_t functions on OS2 with Watcom C 2011-08-13 10:35:34 +00:00
66fa01b2cf * fixed qse_env_t functions for OS2
* deleted unnecessary targets for watcom
2011-08-13 08:39:18 +00:00
55182c4232 fixed a bug in parsing an expression like "1++b" in awk/parse.c 2011-08-13 08:16:05 +00:00
f843a6e003 * fixed an issue in parsing an expression like "a++ ++b" or "1 ++b"
* added _WIN32 code handling QSE_PIO_MBSCMD
* fixed various _WIN32 issues in qse_env_t
* added untested OS2 code handling QSE_PIO_MBSCMD
2011-08-12 09:11:02 +00:00
cfe85ecc60 * added QSE_PIO_MBSCMD
* added qse_env_insertsys() and related functions
2011-08-11 10:18:35 +00:00
93f8bfca65 enhanced qse_env_t to use the natural charater type for underlying process execution system call.
enanced qse_pio_t to accept environment
2011-08-10 10:08:26 +00:00
6f7f368a91 completed initial implementation of qse_env_t 2011-08-07 09:41:27 +00:00
c73a51dbbc fixed the wrong defintion of qse_strbeg().
started wrting qse_env_delete()
2011-08-06 21:25:08 +00:00
a5e86b984c added a few functions for qse_env_t 2011-08-06 11:08:21 +00:00
5b92edfe50 fixed the wrong escape character for pio command splitting 2011-08-05 09:53:43 +00:00