Commit Graph

2542 Commits

Author SHA1 Message Date
4213133aac added errnum to qse_dir_t 2011-10-24 01:19:19 +00:00
6e0c8bbf44 added qse_dir_geterrnum() and qse_dir_geterrmsg()) 2011-10-23 12:04:51 +00:00
5cd5041ed3 added QSE_FIO_NOFOLLOW 2011-10-19 22:29:28 +00:00
c6f78119d3 added some unix code for qse_dir_t 2011-10-18 22:21:36 +00:00
38500b97d6 added qse_stradup() and related functions
coded qse_dir_change() for win32
2011-10-15 23:18:55 +00:00
23ee1f7f51 migrated fs/path.c to cmn/path.c 2011-10-14 22:57:41 +00:00
b5b23cbc36 fixed bugs in qse_canonpath() 2011-10-14 15:51:20 +00:00
68537ad16a added qse_canonpath() 2011-10-14 00:49:54 +00:00
624aeb41fd added some WIN32 directory code 2011-10-13 00:32:37 +00:00
f39a8e3526 started writing code for qse_dir_t 2011-10-12 00:19:27 +00:00
5547b38369 changed watcom project file 2011-10-09 00:09:54 +00:00
84eb18092f fixed a minor bug in calling qse_sed_setcompid() from sed/std.c 2011-10-08 22:41:52 +00:00
055334e965 changed awk/std.c to open stdin/stdout via qse_sio_openstd() instead of referencing qse_sio_in and qse_sio_out 2011-10-08 16:52:33 +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
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