Commit Graph

436 Commits

Author SHA1 Message Date
3c326c599f added qse_pma_clear() and updated the copyright notice 2012-07-20 04:13:39 +00:00
4223736c14 added Awk::Pipe::Handler, Awk::File::Handler, Awk::Console::Handler
enhanced how to invoke I/O handler functions and objects
2012-06-06 14:41:21 +00:00
c64efd8ae7 added Awk::resetRunContext().
updated version to 0.5.7
2012-06-05 12:56:41 +00:00
5943d9d190 added QSE_NWIO_KEEPALIVE and QSE_NWIO_REUSEADDR 2012-05-03 12:57:58 +00:00
31739d58f4 added win32 nwio 2012-04-30 09:46:58 +00:00
005471b505 started adding nwio 2012-04-27 14:33:14 +00:00
5a0bd73990 added system call macros for x86 and x86_64 for implementing pio based on vfork 2012-03-26 14:11:11 +00:00
ada60acf67 enhanced win32 utf8 console hack in sio 2012-02-25 14:52:26 +00:00
d7c5e50364 added cp949 and cp950.
deleted win32 target files for watcom. too difficult to maintain.
added cmgr for cp949 and cp950.
2012-02-24 09:09:45 +00:00
a48c498dc8 fixed some typos for dos build 2012-02-20 14:45:49 +00:00
5cc0e408b3 enhanced sio,pio,fio to support win9x
fixed minor bugs in sio,pio,fio
2012-02-19 14:38:22 +00:00
b330d2c350 added hton,ntoh
renamed qse_getcmgrbyname() to qse_findcmgr()
added qse_setcmgrfinder()/qse_getcmgrfinder()
started adding ipad,nwad
2012-02-13 14:43:50 +00:00
e7b5bfaf4b enhanced httpd directory listing 2012-01-26 14:19:48 +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
fa850168ee changed qse_runmain() to ignore mbwc error by calling qse_mbstowcsalldup().
added qse_mbstowcsalldup() and its variants
2012-01-15 15:25:28 +00:00
52710a87c9 Added a cmgr parameter to qse_awk_rtx_open() 2012-01-14 01:45:48 +00:00
a3eed193d5 added solaris workaround for mbrlen bug.
enhanced socket libarary detection in configure.ac
2012-01-10 15:05:40 +00:00
70090bc117 changed qse_awk_parsestd_t and related code.
changed to use windows API for WIN32 in slmb.c
2012-01-06 14:38:11 +00:00
d1883d2a72 did some mbwc makeover 2011-12-31 15:24:48 +00:00
a0fc992c65 added qse_cmgr_t. still in primitive stage.
added qse_tio_getcmgr()/qse_tio_setcmgr()
added qse_pio_getcmgr()/qse_pio_setcmgr()
added qse_fio_getcmgr()/qse_fio_setcmgr()
added qse_fio_getcmgr()/qse_fio_setcmgr()
added mbs/wcs conversion functions using cmgr
2011-12-30 14:44:21 +00:00
bd7fd49a72 removed redundant code 2011-12-28 14:26:02 +00:00
38d3c22d1f added a few lines of code to print simple memory allocation counts in cmd/awk/awk.c and cmd/sed/sed.c.
got rid of redundant realloc handler check in lib/awk/*.c
2011-12-21 06:40:27 +00:00
f4df349fc7 fixed wrong type casting bugs in StdAwk.
made changes to use qse_sio_openstd() in StdAwk.
fixed a bug of opening an output console file in the wrong mode in StdAwk
made changes to use qse_sio_openstd() in cut/std.c.
removed qse_sio_in/qse_sio_out/qse_sio_err.
2011-12-20 16:59:21 +00:00
d5db73dfce added qse_tio_writembs() and qse_tio_readmbs() 2011-12-18 17:40:37 +00:00
7f0ad74286 fixed a bug of not checking the return value of wcrtomb properly in qse_wcrtomb().
fixed a bug of passing a wrong buffer to qse_wcrtomb() in qse_wcsntombsn().
enhanced qse_tio_writembsn() and qse_tio_writewcsn()
2011-12-13 15:48:00 +00:00
566e13d874 revised qse_mbstowcs()/qse_mbsntowcsn()/qse_wcstombs()/qse_wcsntombsn().
changed the parts affected by the revision works including deleting unnecessary functions
2011-12-11 15:43:19 +00:00
350c75434c fixed a minor build issue with mingw64.
renamed qse_real_t to qse_flt_t
2011-11-22 05:03:31 +00:00
df28fde9ef added QSE_FIO_TEMPORARY.
added qse_rand31()
fixed a minor bug in handling QSE_FMTINTMAX_ZEROLEAD
2011-11-16 15:18:46 +00:00
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
595aab7555 enhanced a few code segments that convert a digit to a number 2011-11-09 00:54:27 +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
23ee1f7f51 migrated fs/path.c to cmn/path.c 2011-10-14 22:57:41 +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
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
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
ecaed2c2b3 added qse_sed_io_std_t and related code 2011-09-18 09:41:26 +00:00
6aba3f8f89 integrated Ville Laurikari's TRE 2011-09-01 09:43:46 +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
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
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
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
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
c380388718 added qse_parsehttprange 2011-07-26 09:42:35 +00:00
2c25c5d185 fixed a type casting bug in qse_awk_sprintreal() 2011-07-26 07:08:07 +00:00