Commit Graph

499 Commits

Author SHA1 Message Date
0bacc36751 added nwio to StdAwk.
added StdAwk::getConcoleCmgr() and StdAwk::setConsoleCmgr().
made io attributes names case-insensitive
2012-08-09 10:15:11 +00:00
998799bd4a added getioattr and setioattr to StdAwk. still pending nwio 2012-08-08 07:06:52 +00:00
1c1cb83bb1 Added ARGC, ARGV, ENVIRON, PROCINFO to StdAwk. Still pending setioattr and getioattr 2012-08-07 09:56:53 +00:00
02a72ee8e7 added StdAwk::time() 2012-08-07 08:02:15 +00:00
17a8a3039d Added some c++ code to implment missing features from the std(c) implementation. not completed yet 2012-08-06 14:38:09 +00:00
785c95b1e6 moved ARGC and ARGV to base to std for simplication of the base implementation.
note C++ wrappers need the same changes
2012-08-05 08:56:42 +00:00
be69e7b40c fixed bugs in nwio connect timeout for os2
added pid and tid into PROCINFO for os2 awk
2012-08-02 04:20:01 +00:00
a448d6c399 added nwio timeout handler for win32
added PROCINFO handler for win32
2012-08-01 04:00:39 +00:00
c7cea1d985 added ENVIRON and PROCINFO for unix/linux 2012-07-31 14:52:43 +00:00
d6c8bd4a1b added more timeout handling code 2012-07-28 14:43:59 +00:00
0eb177db96 added a little timeout handling code to nwio 2012-07-28 03:51:07 +00:00
9186415fa7 made minor changes related to setioattr() and getioattr() 2012-07-27 07:06:07 +00:00
7aa4324a47 removed setenc() and unsetenc() from awk and added setioattr() and getioattr() 2012-07-26 10:28:12 +00:00
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