246dc4f5b7
fixed of not setting cmgr properly in awk/std.c added encoding options to the awk command. added directory functions to httpd
hyung-hwan2012-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
hyung-hwan2012-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
hyung-hwan2012-01-15 15:25:28 +00:00
52710a87c9
Added a cmgr parameter to qse_awk_rtx_open()
hyung-hwan2012-01-14 01:45:48 +00:00
d48f69568c
added sendfile for solaris using sendfilev
hyung-hwan2012-01-13 14:56:41 +00:00
29107a71be
changed qse_tio_t to accept buffer specified externally. removed the internal buffer from qse_tio_t. added the WriteFile/WriteConsoleW hack into qse_sio_putwcs()/qse_sio_wcsn() as a partial solution to the WriteFile issue with UTF8 strings on the UTF8 console on win32
hyung-hwan2011-12-25 15:25:28 +00:00
5b436e2304
added a mime type handler to the sample httpd program
hyung-hwan2011-12-23 15:28:00 +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
hyung-hwan2011-12-21 06:40:27 +00:00
42c44f9d3d
changed pio for changes in mbwc conversion functions
hyung-hwan2011-12-21 02:02:05 +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.
hyung-hwan2011-12-20 16:59:21 +00:00
d5db73dfce
added qse_tio_writembs() and qse_tio_readmbs()
hyung-hwan2011-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()
hyung-hwan2011-12-13 15:48:00 +00:00
57683c9396
added QSE_SIO_NOAUTOFLUSH. fixed a bug in qse_tio_writew() changed how assert() prints messages.
hyung-hwan2011-12-12 14:46:22 +00:00
0b4c66cbf5
added primitive qse_tio_writem() and qse_tio_writew()
hyung-hwan2011-12-11 16:25:33 +00:00
566e13d874
revised qse_mbstowcs()/qse_mbsntowcsn()/qse_wcstombs()/qse_wcsntombsn(). changed the parts affected by the revision works including deleting unnecessary functions
hyung-hwan2011-12-11 15:43:19 +00:00
2faee1f23f
added qse_wcsatombsdup()/qse_mbsatowcsdup() added macro redefinition for QSE_MBLEN_MAX in some special cases fixed a bug of defining QSE_TOMUPPER and QSE_TOMLOWER wrongly changed data types of utf8 functions. fixed null-terminating bugs in qse_mbstowcs()/qse_wcstombs()
hyung-hwan2011-12-05 13:43:56 +00:00
df28fde9ef
added QSE_FIO_TEMPORARY. added qse_rand31() fixed a minor bug in handling QSE_FMTINTMAX_ZEROLEAD
hyung-hwan2011-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
hyung-hwan2011-11-15 15:58:32 +00:00
759925d816
interim commit while dropping dependence on printf in awk
hyung-hwan2011-11-14 15:15:44 +00:00
1e36d2c141
added QSE_FIO_NOCACHE. map QSE_FIO_SEQUENTIAL and QSE_FIO_RANDOM to some posix_fadvise flags if available
hyung-hwan2011-11-10 13:45:07 +00:00
595aab7555
enhanced a few code segments that convert a digit to a number
hyung-hwan2011-11-09 00:54:27 +00:00
10b0469ee1
added prefix to qse_fmtintmax() and qse_fmtuintmax(). chnaged awk's printf to use qse_fmtintmax().
hyung-hwan2011-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
hyung-hwan2011-11-05 00:50:55 +00:00
84eb18092f
fixed a minor bug in calling qse_sed_setcompid() from sed/std.c
hyung-hwan2011-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
hyung-hwan2011-10-08 16:52:33 +00:00
5d774c198f
made qse_sed_setexectracer() selectable at compile-time
hyung-hwan2011-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
hyung-hwan2011-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.
hyung-hwan2011-10-06 00:41:04 +00:00
0f33edf167
changed how getnextsc() counts line and column numbers. changed how PEEPNEXTSC() works
hyung-hwan2011-10-05 00:08:12 +00:00
cae3fbe798
fixed a bug in squeezing a new line for a continuing script stream
hyung-hwan2011-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
hyung-hwan2011-10-03 01:25:23 +00:00
8f3563b73e
minor fix to set the location of the first address properly when it's erroneous
hyung-hwan2011-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
hyung-hwan2011-09-29 00:31:17 +00:00