Commit Graph

3557 Commits

Author SHA1 Message Date
759925d816 interim commit while dropping dependence on printf in awk 2011-11-14 15:15:44 +00:00
aba1884abb updated build files for watcom 2011-11-11 15:55:33 +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
595aab7555 enhanced a few code segments that convert a digit to a number 2011-11-09 00:54:27 +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
67e9eb8d9f changed qse_dir_t a little 2011-10-24 16:20:06 +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
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