249 Commits

Author SHA1 Message Date
444a82782e corrected the value of QSE_AWK_NEXTOFILE 2013-01-31 10:07:20 +00:00
1dd8de1566 added the shebang field to cgi.
changed qse_httpd_getoption()/qse_httpd_setoption() to qse_httpd_getopt()/qse_httpd_setopt() with QSE_HTTPD_TRAIT
fixed a bug of not passing the pred argument in qse_httpd_entaskrsrc().
2013-01-30 14:08:38 +00:00
543376b7d9 renamed QSE_AWK_EXTRAKWS to QSE_AWK_NEXTOFILE
fixed a minor glitch in qse_pio_t
fixed the nil field to xnil in qse_rbt_t to minimize collision with external header files since nil is a commonly found macro
added a simple optimization to qse_memcpy()
2013-01-29 03:43:32 +00:00
be6beb61dc renamed Sed::getOption() and Sed::setOption() to Sed::getTrait() and Sed::getTrait() respectively
added qse_sed_opt_t, qse_sed_trait_t
renamed qse_sed_exec_op_t to qse_sed_tracer_op_t
renamed qse_sed_exec_tracer_t to qse_sed_tracer_t
added qse_sed_getopt() and qse_sed_setopt()
deleted qse_sed_setlformatter(), qse_sed_getlformatter(), qse_sed_setexectracer(), qse_sed_getexectracer(), qse_sed_setmaxdepth(), qse_sed_getmaxdepth()
2013-01-13 13:15:03 +00:00
92e4134b7d added qse_sed_getspace(), qse_sed_allocmem(), qse_sed_reallocmem(), qse_sed_callocmem(), qse_sed_freemem() 2013-01-13 09:04:54 +00:00
ef6d295cac revised docs 2013-01-12 16:46:12 +00:00
eb28009952 improved error number handling.
handled a broken pipe condition from an anonymous pipe in awk
2012-12-27 14:40:58 +00:00
c133af0e55 added qse_awk_rtx_setrefval()
enhanced qse_awk_rtx_valtobool(), qse_awk_rtx_valtonum()< qse_awk_rtx_valtostr() to handle reference values
2012-12-22 14:01:41 +00:00
092a8106b2 enhanced env not to crash if environ is pointing to null 2012-12-18 15:12:53 +00:00
1595a9a4f3 touched up code for warp 4 2012-12-18 08:12:15 +00:00
eb944bbf95 touched up some source files for borland and msvc.
added more options to bakefile description
2012-12-13 13:07:16 +00:00
cfc71b3f80 updated doxyfile and added some bakefile description 2012-12-12 15:21:37 +00:00
1d947c202f fixed a bug due to QSE_FIO_MBSPATH
added more watcom targets
2012-12-09 01:31:55 +00:00
4ccc843e6b added unicode trait and case functions.
fixed some code for os2
2012-12-06 13:02:46 +00:00
7dd9e67cd8 added qse_awk_rtx_isnilval().
enhanced the qse_awk_sio_t core functions so that the implementaion can set the stream name
added export specifiers to some functions
2012-11-29 14:03:59 +00:00
624d88fdce fixed some files for os2 build 2012-11-28 14:12:26 +00:00
a332c5b55e renamed QSE_AWK_MAPTOVAR to QSE_AWK_FLEXMAP.
allowes a map variable to be reassigned with another value
2012-11-28 05:34:19 +00:00
f1f3080ab3 make @word to be always on
simplified the return value of I/O handler's open function by eliminating the concept of EOF on opening.
enhanced qse_awk_parsestd() to accept an array of qse_awk_parsestd_t for input streams.
enhanced cmd/awk/awk.c to handle multiple -f's properly
2012-11-25 16:16:44 +00:00
c2668bbe26 changed the way to handle @words.
switched global, local, reset, abort to @global, @local, @reset, @abort to avoid collision with existing awk programs
2012-11-20 14:44:43 +00:00
034d3e9c04 added QSE_GLOB_TOLERANT
enhanced check for __int128_t
added qse_getnwifcfg()
added qse_skad_t, qse_skadtonwad(), qse_nwadtoskad()
added more checks to configure.ac
2012-11-16 16:46:49 +00:00
a3ee069804 simplified some functions 2012-11-06 04:30:35 +00:00
3f99d7ac3d added qse_awk_fnc_spec_t.
renamed qse_awk_mod_info_t to qse_awk_mod_spec_t
2012-11-03 17:44:23 +00:00
7557b22cb8 enhanced module handling 2012-11-02 14:08:46 +00:00
acdd3a7a1c prefixed many functions and classes with QSE_EXPORT 2012-11-01 15:03:02 +00:00
b062a1fd30 fixed some build glitches 2012-11-01 07:22:15 +00:00
3b9f0ab14e almost finised mpi migration 2012-11-01 06:42:38 +00:00
acb40dea35 added modopen()/modclose()/modsym() to Awk/StdAwk.
migrated /lib/awk/mpi.c to mod/awk/mpi.c partially
2012-10-31 13:51:32 +00:00
65c324d373 added QSE_AWK_MODERN 2012-10-31 09:43:56 +00:00
a3af4c3eed added qse_awk_rtx_valtombs()/qse_awk_rtx_valtostr()
added sys::kill() to awk
added sys::SIGXXXX to awk
added or enhanced uci::XXXX in awk
2012-10-31 08:31:58 +00:00
3db3ab2249 added qse_awk_rtx_makemapvalwithdata().
enhancced qse_awk_rtx_makestrval() and related functions.
enhanced the uci module
2012-10-29 14:41:39 +00:00
4e92c0ef1c Added QSE_AWK_BLANKCONCAT
fixed getline parsing to accept $XXX
2012-10-27 16:28:12 +00:00
8ac0963885 combined some awk options into QSE_AWK_EXTRAKWS.
deleted QSE_AWK_EXTRAOPS and enabled all new operators by default
added === and !==.
fixed a bug in printing the explicit concatenation operator(%%, %%=)
improved @include handling
2012-10-25 14:38:27 +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
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
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
d9b42ca785 fixed wrong indentation 2012-10-15 09:46:29 +00:00
b907296f4a touched up qse_task_t 2012-10-15 09:36:39 +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
69b118fcbf added qse_cmgr_id_t, qse_setdflcmgrbyid(), qse_findcmgrbyid()
deleted qse_slmbcmgr, qse_utf8cmgr, qse_cp949cmgr, qse_cp950cmgr
added --enabled-more-cmgrs to configure
2012-09-05 22:37:55 +00:00
870ee3e362 reorganized some error codes.
added ssl library check to configure.ac
corrected wrong function definitions in chr.h
added MPI_NODE
2012-09-05 10:40:58 +00:00
e059a337eb added -w to awk. changed -w to -b in sed and added -w to sed 2012-09-04 10:15:49 +00:00
f0e03cb4ca enhanced qse_glob() to handle win/dos/os2 driver letters.
fixed a bug in qse_tio_writembs()
2012-09-02 08:48:05 +00:00
b673e79c8c enhanced qse_glob for win32 and os2.
added input file expansion to cmd/sed/sed.c for win32 and os2
2012-08-31 13:00:33 +00:00
fde4ee404b added an experimental and incomplenet glob function 2012-08-30 16:36:37 +00:00
53c98cce93 touched up configure.ac to produce substituable PACKAGE_VERSION_MAJOR, PACKAGE_VERSION_MINOR, PACKAGE_VERSION_PATCH 2012-08-22 02:53:15 +00:00
5033596aee fixed Makefile.am not to link unicosw in the mchar mode 2012-08-20 15:08:06 +00:00
a2b51062a9 fixed a bug of wrong field buffer management in sed 2012-08-20 06:00:22 +00:00
6421da99f4 added 'abort' & QSE_AWK_ABORT to awk.
added a new sed command 'C' that resembles the cut utility
dropped the cut utility.
added qse_str_nrcat()/qse_mbs_nrcat()/qse_wcs_nrcat()
2012-08-19 14:20:19 +00:00
8f1e15366d Added QSE_AWK_TOLERANT 2012-08-17 06:53:17 +00:00