246dc4f5b7fixed of not setting cmgr properly in awk/std.c added encoding options to the awk command. added directory functions to httpdhyung-hwan2012-01-25 15:39:02 +00:00
b903f8ebb5added 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.cpphyung-hwan2012-01-17 16:45:01 +00:00
fa850168eechanged qse_runmain() to ignore mbwc error by calling qse_mbstowcsalldup(). added qse_mbstowcsalldup() and its variantshyung-hwan2012-01-15 15:25:28 +00:00
52710a87c9Added a cmgr parameter to qse_awk_rtx_open()hyung-hwan2012-01-14 01:45:48 +00:00
d48f69568cadded sendfile for solaris using sendfilevhyung-hwan2012-01-13 14:56:41 +00:00
29107a71bechanged 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 win32hyung-hwan2011-12-25 15:25:28 +00:00
5b436e2304added a mime type handler to the sample httpd programhyung-hwan2011-12-23 15:28:00 +00:00
14acf9a920added qse_mbsntowcsnupto() changed qse_tio_readwcs() to utilize qse_mbsntowcsnupto()hyung-hwan2011-12-21 16:21:46 +00:00
38d3c22d1fadded 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/*.chyung-hwan2011-12-21 06:40:27 +00:00
42c44f9d3dchanged pio for changes in mbwc conversion functionshyung-hwan2011-12-21 02:02:05 +00:00
f4df349fc7fixed 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
d5db73dfceadded qse_tio_writembs() and qse_tio_readmbs()hyung-hwan2011-12-18 17:40:37 +00:00
7f0ad74286fixed 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
57683c9396added QSE_SIO_NOAUTOFLUSH. fixed a bug in qse_tio_writew() changed how assert() prints messages.hyung-hwan2011-12-12 14:46:22 +00:00
0b4c66cbf5added primitive qse_tio_writem() and qse_tio_writew()hyung-hwan2011-12-11 16:25:33 +00:00
566e13d874revised qse_mbstowcs()/qse_mbsntowcsn()/qse_wcstombs()/qse_wcsntombsn(). changed the parts affected by the revision works including deleting unnecessary functionshyung-hwan2011-12-11 15:43:19 +00:00
2faee1f23fadded 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
df28fde9efadded QSE_FIO_TEMPORARY. added qse_rand31() fixed a minor bug in handling QSE_FMTINTMAX_ZEROLEADhyung-hwan2011-11-16 15:18:46 +00:00
e15fcd0c14added QSE_FMTINTMAX_ZEROLEAD. changed awk printf to use qse_fmtintmax for integer printing. added 'b' and 'B' for awk printfhyung-hwan2011-11-15 15:58:32 +00:00
759925d816interim commit while dropping dependence on printf in awkhyung-hwan2011-11-14 15:15:44 +00:00
1e36d2c141added QSE_FIO_NOCACHE. map QSE_FIO_SEQUENTIAL and QSE_FIO_RANDOM to some posix_fadvise flags if availablehyung-hwan2011-11-10 13:45:07 +00:00
595aab7555enhanced a few code segments that convert a digit to a numberhyung-hwan2011-11-09 00:54:27 +00:00
10b0469ee1added prefix to qse_fmtintmax() and qse_fmtuintmax(). chnaged awk's printf to use qse_fmtintmax().hyung-hwan2011-11-07 00:01:19 +00:00
226795c03eadded qse_fmtintmaxtombs()/qse_fmtintmaxtowcs() and related functions. changed qse_awk_t to use these new formatting functions. redefined some primitive typeshyung-hwan2011-11-05 00:50:55 +00:00
84eb18092ffixed a minor bug in calling qse_sed_setcompid() from sed/std.chyung-hwan2011-10-08 22:41:52 +00:00
055334e965changed awk/std.c to open stdin/stdout via qse_sio_openstd() instead of referencing qse_sio_in and qse_sio_outhyung-hwan2011-10-08 16:52:33 +00:00
5d774c198fmade qse_sed_setexectracer() selectable at compile-timehyung-hwan2011-10-07 23:09:48 +00:00
915ef99f07added qse_sed_setcompid() and related code fixed the way how it squeezes in a new line into a script stream not ending with a newlinehyung-hwan2011-10-07 02:01:35 +00:00
5eca3cd4b5added 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
0f33edf167changed how getnextsc() counts line and column numbers. changed how PEEPNEXTSC() workshyung-hwan2011-10-05 00:08:12 +00:00
cae3fbe798fixed a bug in squeezing a new line for a continuing script streamhyung-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_thyung-hwan2011-10-03 01:25:23 +00:00
8f3563b73eminor fix to set the location of the first address properly when it's erroneoushyung-hwan2011-09-30 00:42:50 +00:00
7a246a02efadded 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 sedhyung-hwan2011-09-29 00:31:17 +00:00