18ab6aaf8d
enhanced parsing getline
...
added qse_cstrdup()/qse_wcstrdup()/qse_mcstrdup()
2012-10-28 14:46:37 +00:00
31edff2391
enhanced function call code to support module calls.
...
added libltdl into configure.ac, thus to the project
2012-10-23 17:08:56 +00:00
d963a79bd2
touched up code for module call in awk
2012-10-22 09:36:15 +00:00
ff13bf4668
added qse_awk_setopt()/qse_awk_getopt().
...
deleted qse_awk_getoption()/qse_awk_setoption()/qse_awk_setmaxdepth()/qse_awk_getmaxdepth().
redefined enumeration types related to the functions added or deleted above.
moved fnc_sleep from cmd/awk/awk.c to mod/awk/sys.c
managed to get external module call working in the primitive level
2012-10-21 16:19:03 +00:00
11b9829c9b
added some code to support module calls using module-name::function-name syntax to awk.
...
reorganized a few awk error code
2012-10-20 15:58:20 +00:00
3cec861547
added qse_awk_rtx_callwithstrs()
2012-10-18 14:11:59 +00:00
e2f152c927
added qse_httpd_getserveroptstd() and qse_httpd_setserveroptstd().
...
added an output length parameter to qse_mbstowcsdup() and similar functions
2012-10-18 06:52:03 +00:00
ea3ebef8f1
added qse_awk_pushecb()/qse_awk_popecb()/qse_sed_pushecb()/qse_sed_popecb()/qse_httpd_pushecb()/qse_httpd_popecb().
...
started reorganizing samples/httpd01 to net/httpd-std.c
2012-09-07 15:13:55 +00:00
a35c10fbfc
added qse_randxs32() and qse_randxs64().
...
changed awk's rand() to use these.
fixed a bug of registering rand() with a wrong number of arguments in StdAwk.
2012-08-27 15:10:57 +00:00
ec5537a35f
cleaned up $
2012-08-16 03:47:55 +00:00
b795f0d53e
added the experimental mpi_reduce() and MPI_REDUCE_XXXs to awk. MPI_REDUCE_XXXs are added as a global variable. it'd be more efficient to turn MPI_REUDCE_XXXs to constants. this may need something like qse_awk_addconst(). consider adding this new API function
2012-08-12 06:09:16 +00:00
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
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
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
a48c498dc8
fixed some typos for dos build
2012-02-20 14:45:49 +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
52710a87c9
Added a cmgr parameter to qse_awk_rtx_open()
2012-01-14 01:45:48 +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
d5db73dfce
added qse_tio_writembs() and qse_tio_readmbs()
2011-12-18 17:40:37 +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
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
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
a9635f0ee0
fixed a minor issue for OS/2
2011-07-25 08:42:23 +00:00
5464fecddc
added qse_awk_valtolong() and qse_awk_valtoreal() for convenience
2011-07-25 08:24:13 +00:00
59afc79821
added floating-pointer remainder handler for qse_awk_t
2011-07-24 03:03:48 +00:00
b08ebd719c
added qse_ubi_t
...
separated task functions from httpd.c to httpd_task.c
2011-07-21 10:17:16 +00:00
38b00c0756
touched up code
2011-05-26 08:42:26 +00:00