647 Commits

Author SHA1 Message Date
e15fcd0c14 added QSE_FMTINTMAX_ZEROLEAD.
changed awk printf to use qse_fmtintmax for integer printing.
added 'b' and 'B' for awk printf
2011-11-15 15:58:32 +00:00
759925d816 interim commit while dropping dependence on printf in awk 2011-11-14 15:15:44 +00:00
1869cde2dc deleted QSE_FIO_NOCACHE 2011-11-10 15:45:10 +00:00
1e36d2c141 added QSE_FIO_NOCACHE.
map QSE_FIO_SEQUENTIAL and QSE_FIO_RANDOM to some posix_fadvise flags if available
2011-11-10 13:45:07 +00:00
f2615f05a5 added simple utf8 functions 2011-11-08 13:36:47 +00:00
10b0469ee1 added prefix to qse_fmtintmax() and qse_fmtuintmax().
chnaged awk's printf to use qse_fmtintmax().
2011-11-07 00:01:19 +00:00
226795c03e added qse_fmtintmaxtombs()/qse_fmtintmaxtowcs() and related functions.
changed qse_awk_t to use these new formatting functions.
redefined some primitive types
2011-11-05 00:50:55 +00:00
6ee7a71b8d added qse_fmtulongtombs()/qse_fmtulongtowcs() 2011-11-03 14:56:26 +00:00
e5a9693411 enhanded qse_dir_read() 2011-10-28 01:05:19 +00:00
1b600ee20c touched up code a bit 2011-10-27 22:29:28 +00:00
4eb8cb62ee added QSE_CANONPATH_EMPTYSINGLEDOT, QSE_CANONPATH_KEEPDOUBLESLASHES, QSE_CANONDROPTRAILINGSEP 2011-10-26 00:19:20 +00:00
e31e2c41ec enhanced qse_canonpath() 2011-10-25 17:20:25 +00:00
f2d60b9366 enhanced qse_dir_t 2011-10-25 01:48:07 +00:00
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
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
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
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
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
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
e2affec43b added QSE_TIO_IGNOREMBWCERR 2011-09-11 20:48:21 +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
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
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
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
14572f08aa fixed a few issues in qse_env_t functions on OS2 with Watcom C 2011-08-13 10:35:34 +00:00
cfe85ecc60 * added QSE_PIO_MBSCMD
* added qse_env_insertsys() and related functions
2011-08-11 10:18:35 +00:00