Commit Graph

1690 Commits

Author SHA1 Message Date
b677b4a892 renamed qse_httpd_reconf() to qse_httpd_impede().
added more enhancements to httpd
2013-02-20 08:47:22 +00:00
ddae5542d2 enhanced cmd/http/httpd.c to load configuration from file 2013-02-19 13:31:18 +00:00
5bc774db3a revising httpd 2013-02-18 13:45:50 +00:00
bbdf168ee8 added AM_SILENT_RULES to configure.ac 2013-02-09 13:31:31 +00:00
60255caf39 added more code to xli 2013-02-06 14:31:32 +00:00
ee2d918538 started working on xli 2013-02-05 15:04:15 +00:00
12b8ad7cc9 fixed a couple of awk parsing bugs
- lost token in an expression like bash | xyz + 20 for the way preget_token() was used.
- wrong redirection handling in an expression like print 1,2,3 > (4)
2013-02-04 09:19:17 +00:00
f070058372 touched up httpd code 2013-02-03 04:57:10 +00:00
0048331293 fixed some hiccups in bakefile description 2013-02-02 17:21:52 +00:00
2402f6f92b added build files for msdos extenders 2013-02-02 03:49:28 +00:00
7aa63462f1 implemented static linking of awk modules 2013-02-01 14:30:25 +00:00
710a425fb7 migrated awk module files 2013-02-01 08:31:42 +00:00
444a82782e corrected the value of QSE_AWK_NEXTOFILE 2013-01-31 10:07:20 +00:00
27fbfd6651 regenerated native build files 2013-01-31 09:11:39 +00:00
e40c018274 moved mod/awk/* to lib/awk/mod/* 2013-01-31 09:04:16 +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
c7d88c455a added QSE_AWK_INCLUDEDIRS. actual impl still pending 2013-01-22 14:20:10 +00:00
0e48b7bc88 changed awk's default traits 2013-01-22 13:51:00 +00:00
c45abff9ab added str::normspc
fixed a bug of mistaking a colon for a backquote in some contexts
2013-01-21 14:35:24 +00:00
d671443442 experimented a bit for building on classic mac os 2013-01-20 14:03:36 +00:00
164b85a6f9 changed the number of maximum digits after \x in an awk string 2013-01-19 16:21:32 +00:00
4191538b24 modified some files for builing in macosx(ppc) 2013-01-17 14:13:48 +00:00
07d38add5d revised docs 2013-01-16 07:51:42 +00:00
121ed07cf0 fixed a bug in awk's built-in function fflush().
added the mb8 conversion routines for raw byte conversion
2013-01-16 05:04:56 +00:00
444abec9fe fixed a variable not matching the size of underlying registers for QSE_SYSCALL0 2013-01-15 11:51:26 +00:00
8160249b38 updated docs 2013-01-15 08:11:25 +00:00
3d1c8b3893 added more samples and revised docs 2013-01-14 16:02:04 +00:00
54cdb97858 deleted awk05.cpp 2013-01-13 14:20:24 +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
2337ac67b1 fixed a test script for a changed sed option 2013-01-12 16:57:41 +00:00
67bac76b65 reverted lib/sed/std.c 2013-01-12 16:51:49 +00:00
ef6d295cac revised docs 2013-01-12 16:46:12 +00:00
4581bf1e4e updated sed docs 2013-01-10 14:17:53 +00:00
686f63f665 updated docs more 2013-01-09 14:10:58 +00:00
6e94d324ef updated documentation 2013-01-09 08:03:21 +00:00
19b4e697af updated samples and docs 2013-01-08 15:56:56 +00:00
dfafdc4656 fixed some sample files for updated function usage 2013-01-08 05:51:58 +00:00
f689359e78 added some more docs 2013-01-07 15:08:22 +00:00
2624acb308 enhanced Awk and StdAwk to be able to handle argument reference 2013-01-07 08:33:48 +00:00
d9f961c6c3 added qse_awk_rtx_setprm().
changed some module functions to use referenced argument
2013-01-05 14:38:30 +00:00
db32de0ceb fixed a potential issue concerning makecontext() 2013-01-04 16:04:18 +00:00
02831b01a0 cleaned up code a little bit 2013-01-03 14:58:22 +00:00
8ed69e7152 added primitive kqueue support 2013-01-02 03:00:20 +00:00
e957f7a1a1 revised some documentation 2012-12-30 06:20:08 +00:00
7f64932d19 fixed wrong declaration of os/2 api functions 2012-12-29 16:17:26 +00:00
6a2dce50b8 wrote more to the installation page 2012-12-28 14:32:56 +00:00
61ebfcd277 added syserr.h to makefile.am 2012-12-28 08:48:35 +00:00
3aec7946c3 changed the way to fix ERROR_BROKEN_PIPE.
improved socket error translation
2012-12-28 08:39:41 +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
b8c66b5b8d added qse_dir_geterrnum() 2012-12-25 14:10:02 +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
0dc6c0863e deleted the isnil operator and added the backquote operator to mean notnil 2012-12-19 14:11:07 +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
14648534b3 changed a single-quoted string to support no escaping.
added a not-defined/is-nil operator
2012-12-15 15:30:13 +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
7337bf12b8 removed doxyfile.css 2012-12-12 15:24:34 +00:00
cfc71b3f80 updated doxyfile and added some bakefile description 2012-12-12 15:21:37 +00:00
b2d7199f39 improved error handling in httpd
added more win32/watcom targets
2012-12-10 14:39:57 +00:00
988621d148 added a dumb work-around for win32/os2 2012-12-10 07:17:10 +00:00
a523f1443b added qse_isdriveabspath().
enhanced httpd to accept drive path as a doc root for win/os2
2012-12-10 03:10:44 +00:00
5936aea85f added mux code for os2 2012-12-09 16:14:05 +00:00
1d947c202f fixed a bug due to QSE_FIO_MBSPATH
added more watcom targets
2012-12-09 01:31:55 +00:00
828de9af20 added a missing target file 2012-12-08 01:37:28 +00:00
b41a766219 changed fio.c to use SetFilePointerEx for _WIN64 2012-12-07 15:23:56 +00:00
4ccc843e6b added unicode trait and case functions.
fixed some code for os2
2012-12-06 13:02:46 +00:00
d0dd9a3347 enhanced httpd for win32 2012-12-04 16:44:59 +00:00
120992a242 added qse_getawknilval()
prefixed many public functions with QSE_EXPORT
2012-12-01 13:13:13 +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
2f96252ddd fixed some files for os2 build 2012-11-28 14:13:36 +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
1ad89afa99 added qse_strxtrmx()
added sys::trim().
allowed a singled quoted string in awk
2012-11-23 17:11:06 +00:00
f04bea44e1 added QSE_NWIFCFG_LINKUP, QSE_NWIFCFG_LINKDOWN, QSE_NWAD_NX.
changed qse_nwifcfg() to set an address type to QSE_NWAD_NX when the address can't be retrieved
2012-11-22 13:36:46 +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
1157af0b8a added qse_clearnwad()
enhanced qse_getnwifcfg() a bit.
added uci::adddeltapath.
2012-11-19 14:32:38 +00:00
c65caeed9d enhanced sys::getnwifcfg() 2012-11-19 07:05:34 +00:00
2cfde75ae6 started adding sys::getnwifcfg() 2012-11-18 15:46:51 +00:00
a55545b8ae added qse_prefixtoip4ad()/qse_prefixtoip6ad().
added more code to qse_getnwifcfg(). 
renamed qse_ipad4_t and qse_ipad6_to to qse_ip4ad_t and qse_ip6ad_t respectively
2012-11-18 15:19:51 +00:00
105c862230 fixed error handling in qse_dir_init() 2012-11-16 17:11:18 +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
b94dd042c5 changed qse_ntime_t to a structure and made related changes 2012-11-11 16:07:34 +00:00
d6a3bfea8d fixed a select bug in mux.c 2012-11-10 16:01:35 +00:00
7e509d4daa added qse_dir_t.
added qse_mux_t.
added dir::xxx() for awk
2012-11-09 17:31:33 +00:00
a3ee069804 simplified some functions 2012-11-06 04:30:35 +00:00
dfc5fdfdea implemented binary symbol search in awk modules 2012-11-05 09:49:54 +00:00
2179278c41 changed the module loader to attempt to find '_load' and 'load_' as in addition to 'load'.
added the stat field to qse_awk_val_t.
added DLL loading for DOS32/CauseWay
deprecated PROCINFO. you can use various sys::xxxx() functions to get equivalent information.
migrated time() to sys::gettime() and added sys::settime().
2012-11-05 05:20:12 +00:00
3f456d0f94 fixed a wrong module function definition 2012-11-03 17:49:34 +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
86463296e4 changed module naming convention 2012-11-02 00:32:45 +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
18ab6aaf8d enhanced parsing getline
added qse_cstrdup()/qse_wcstrdup()/qse_mcstrdup()
2012-10-28 14:46:37 +00:00
4e92c0ef1c Added QSE_AWK_BLANKCONCAT
fixed getline parsing to accept $XXX
2012-10-27 16:28:12 +00:00
c6a0a99e84 added QSE_AWK_MOD_INT and QSE_AWK_MOD_FLT
added qse_awk_mod_sym_int_t and qse_awk_mod_sym_flt_t
2012-10-26 15:44:23 +00:00
66da8f46c7 made slight enhancement in @include handling 2012-10-26 00:55:13 +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
b53fe11c04 fixed a memory leak bug in the uci module 2012-10-24 12:35:01 +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
8f5a0a3933 fixed wrong declaration of a stat buffer 2012-10-16 09:29:28 +00:00
c6530a1c13 moved directory list formatting to qse_httpd_rcb_t.
added some entask variants
modified qse_mbsadup()/qse_mbsxadup()/qse_wcsadup(0/qse_wcsxadup() to return length
2012-10-16 08:54:07 +00:00
7940a758d0 added directory handler to qse_httpd_scb_t 2012-10-15 16:39:23 +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
55ee23a255 interim commit with incomplete tasking routines 2012-10-11 13:39:52 +00:00
5840c7193c fixed a memory leak bug in prohibiting the directory listing 2012-10-03 14:12:07 +00:00
5281c22503 added qse_httpd_server_cgistd_t, qse_httpd_server_idxstd_t, qse_httpd_server_mimestd_t.
changed qse_httpd_cbstd_t to qse_httpd_server_cbstd_t.
change qse_httpd_attachserver() and qse_httpd_attacheserverstd()
2012-10-02 17:33:29 +00:00
d2572d9c46 added qse_nwadequal()
touched up httpd a bit more
2012-10-01 13:30:44 +00:00
2bf8d7610f checked in a missing file 2012-10-01 10:51:11 +00:00
001ede6afa added qse_mbstouri()/qse_wcstouri()/qse_strtouri().
added qse_enbase64()/qse_debase64().
enhanced basic authorization to httpd-std
2012-09-30 13:56:20 +00:00
8736743eeb added uri.c tentatively 2012-09-28 13:32:02 +00:00
e0353fca2f replaced a few calls to snprintf() with qse_fmtuintmaxtombs().
changed the behavior when handling a query path without a slash
2012-09-27 12:54:35 +00:00
5b07370866 added IP_TRANSPARENT definition in case it isn't defined 2012-09-26 13:03:44 +00:00
1f0e2e081e enhanced syscall macros 2012-09-26 02:41:37 +00:00
4c2df3b4dd fixed gcc/fpic issue for x86 in syscall macros 2012-09-25 13:28:23 +00:00
cb34385ded fixed a formatting bug in qse_strtonwad()
renamed qse_httpd_addserver() to qse_httpd_attachserver().
added qse_httpd_detachserver().
added the predetach field to qse_httpd_server_t.
added qse_httpd_cbstd_t and changed qse_htpd_loopstd() to accept this cbstd.
enhanced server uri parsing to include 'docroot'.
enhanced qse_httpd_entasktext() and added qse_httpd_entask_text() for internal use.
added nwif functions like qse_nwifindextombs().
added qse_env_insertmbsa()/qse_env_insertwcsa()/qse_env_inserta().
enhanced TPROXY handling
2012-09-25 02:47:25 +00:00
fdba865863 improved httpd 2012-09-18 13:03:57 +00:00
99f1b5453b fixed a bug in ssl handling 2012-09-15 14:27:14 +00:00
2179c2a88b enhanced httpd to support if-modified-since 2012-09-14 16:18:35 +00:00
7466287f93 added qse_httpd_setname(), qse_httpd_getname(), qse_httpd_fmtgmtimetobb()
added qse_fmthttptime()
added Date and Server to httpd tasks
2012-09-13 12:31:01 +00:00
adb9f387f9 enhanced httpd a bit 2012-09-12 15:47:41 +00:00
b9a0863fff added qse_httpd_entaskdir() 2012-09-11 16:19:52 +00:00
9cc8d6f76d enhanced eval_getline() in awk.
fixed a bug in awk's printf().
fixed a bug of not incrementing NR and FNR in awk's getline().
added some MPI stuffs
2012-09-10 09:55:22 +00:00
efcccc05e7 touched up code a bit 2012-09-07 15:33:44 +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
464f763307 enhanced configure.ac for selective ssl inclusion.
renamed MPI_NODE to MPI_HOST
2012-09-05 13:46:11 +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
78f6f709ee made qse_glob() non-recursive and added dos support into it 2012-09-01 16:05:40 +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
8367a4cd12 fixed a bug in qse_gettime().
fixed wrong declaraations in alg.h
2012-08-27 15:53:53 +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
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
9bc182de7a deleted files related to the dropped 'cut' utility 2012-08-19 14:26:41 +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
006dd8975f 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:05 +00:00
7f63762ac4 fixed a wrong return value 2012-08-17 07:02:53 +00:00
8f1e15366d Added QSE_AWK_TOLERANT 2012-08-17 06:53:17 +00:00
ec5537a35f cleaned up $ 2012-08-16 03:47:55 +00:00
1ade6b6ad7 updated doc a bit 2012-08-12 06:37:23 +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
5e5ed8b3f6 added some mpi code for awk 2012-08-10 16:05:55 +00:00
4cac6034a8 enhanced the awk parser to allow a semicolon after a pattern-action block 2012-08-10 05:14:21 +00:00
4a66396482 fixed the wrong positioning of #endif 2012-08-09 10:32:30 +00:00
3fc1b22151 added QSE_SED_NOIMPL 2012-08-09 10:23:32 +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
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
d03a4f4a33 updated docs a bit 2012-08-03 15:25:11 +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
3021fd0a82 added more os2 code to handle connect() timeout 2012-08-01 13:57:18 +00:00
6ad0670eb3 Added some OS2 code for nwio 2012-08-01 11:25:53 +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
88465162d9 updated documentation slightly 2012-07-20 11:08:48 +00:00
3c326c599f added qse_pma_clear() and updated the copyright notice 2012-07-20 04:13:39 +00:00
a62984d47a enhanced nwad functions 2012-07-02 14:21:40 +00:00
c60ca301c4 enhanced qse_upxd_t 2012-06-20 15:12:18 +00:00
ba24a28f16 added upxd 2012-06-14 08:28:16 +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
a0faf15316 added awk12.cpp that shows how to redefine a console handler to use string buffers for console I/O 2012-06-05 07:45:52 +00:00
2c0fbbb45b reorganized httpd files 2012-05-31 10:18:50 +00:00
08e1e7c9a8 added some incomplete openvms code to fio 2012-05-31 07:16:31 +00:00
4105128b3a added minor changes for vms 2012-05-28 07:11:13 +00:00
5943d9d190 added QSE_NWIO_KEEPALIVE and QSE_NWIO_REUSEADDR 2012-05-03 12:57:58 +00:00
efdb33cd30 fixed a glitch in a http sample 2012-05-01 15:38:01 +00:00
238cc4d82e added SO_REUSEADDR to nwio 2012-05-01 15:02:31 +00:00
77f384498d added os2 nwio 2012-05-01 01:36:18 +00:00
3e4194cca8 touched up tio 2012-04-30 15:15:41 +00:00
1e80161c64 deleted unneeded files 2012-04-30 10:25:19 +00:00
c1f46c95ff fixed minor source glitches 2012-04-30 10:03:55 +00:00
31739d58f4 added win32 nwio 2012-04-30 09:46:58 +00:00
9425ec0730 enhanced nwio 2012-04-29 15:26:44 +00:00
005471b505 started adding nwio 2012-04-27 14:33:14 +00:00
4488041fd3 added QSE_HTRD_STRICT
added qse_perdechttpstr()
2012-04-15 08:36:14 +00:00
8ccc2698d6 added QSE_HTTPD_MUTECLIENT 2012-04-14 08:21:07 +00:00
05e0476f97 added a state field to htrd for determining if it's waiting for more feeds.
enhanced how it can determine client's half-close
changed how to compose cgi environment variables
fixed a few bugs for various edge cases.
2012-04-13 15:21:36 +00:00
3e104c1ec8 fixed a bug of comparing a header field case sensitively 2012-04-11 15:35:12 +00:00
130bbe9e21 changed how to handle http header fields.
fixed a few http proxying bugs.
2012-04-11 15:18:51 +00:00
654003e06d fixed a bug of sending http/1.0 taken from the peer while chunking.
enhanced proxy handling in general
2012-04-09 15:29:33 +00:00
e360d3396c added a bit of proxy test code 2012-04-06 16:02:13 +00:00
30802e5fbc added a couple of functions for handling trailers 2012-04-06 15:13:53 +00:00
897bd1348d improved cgi and proxy handling 2012-04-06 03:03:01 +00:00
45b7832b99 enhanced httpd proxy handling 2012-04-05 15:41:53 +00:00
77721b0c94 fixed a bug of not parsing a chunked content in qse_htrd_t.
improved proxy handling
2012-04-04 08:18:45 +00:00
5a04c1beb9 changed a variable name 2012-04-01 14:53:31 +00:00
fd2ed3f2ad enhanced cgi and proxy handling 2012-03-31 14:59:51 +00:00
7d8a5ff433 added more proxy handling code 2012-03-30 06:12:53 +00:00
3d07790370 written some code for proxy handling 2012-03-27 15:45:10 +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
7c224230f2 enhanced task trigger for httpd.
added cleanup logic for idle httpd clients
2012-03-20 15:31:10 +00:00
c55bceb220 abstracted out most of muplexing code from httpd 2012-03-18 14:24:54 +00:00
6c8755de00 deleted more system dependent code from qse_httpd_t 2012-02-28 09:41:01 +00:00
8b95a1d26c added qse_nwad_t and related functions 2012-02-27 15:44:57 +00:00
ee8609daf4 added qse_mbstoipad4()/qse_wcstoipad4()/qse_ipad4tombs()/qse_ipad4towcs() 2012-02-26 02:23:47 +00:00
ada60acf67 enhanced win32 utf8 console hack in sio 2012-02-25 14:52:26 +00:00
b0bcf53b6f added missing files in the new tools directory 2012-02-24 09:15:20 +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
64fbfed781 added qse_fs_delete() still primitive 2012-02-21 12:54:42 +00:00
f2d767064e enhanced qse_fs_move() for dos build 2012-02-21 09:23:51 +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
35ac9924ac fixed a few line to remove compile-time warnings 2012-02-12 13:31:27 +00:00
a2346f6e4b enhanced error handling of sio,pio,tio 2012-02-12 13:20:39 +00:00
3df521f7a9 added qse_httpd_geterrnum()/qse_httpd_seterrnum().
added more error codes to httpd.
added qse_pio_gethandleasubi().
enhanced sample file handlers
enhanced qse_htre_completecontent()/qse_htre_discardcontent()/qse_htre_addcontent()/qse_htre_clear()
fixed many cgi handling bugs
2012-02-10 13:58:23 +00:00
29a218eeb5 refactored httpd file handling 2012-02-09 14:30:22 +00:00
1ab75927d2 fixed various bugs in handling cgi 2012-02-09 12:54:00 +00:00
517107ab79 enhanced httpd 2012-02-08 12:59:59 +00:00
17d05bb1e0 fixed httpd to react to request immediate when threaded 2012-02-03 14:30:45 +00:00
681e50822c made some enhancements to httpd 2012-02-02 14:48:06 +00:00
a782229fa2 added qse_httpd_entasknph()
enhanced qse_pio_t with posix_spawn()
2012-02-01 14:32:34 +00:00
7a7127b89f added qse_httpd_entaskerror() and enhanced qse_httpd_entaskpath() 2012-01-31 14:32:20 +00:00
fcd14fff1c minor httpd refactoring 2012-01-30 13:43:08 +00:00
7c31be31c3 refactored httpd a bit 2012-01-28 14:15:46 +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
d48f69568c added sendfile for solaris using sendfilev 2012-01-13 14:56:41 +00:00
60ad0283bc updated os2 project files 2012-01-11 14:28:59 +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
42431d2642 separated slmb from mbwc 2012-01-03 14:41:15 +00:00
dd02292cc4 added qse_utf8cmgr and qse_loccmgr 2012-01-02 15:11:43 +00:00
5e0b9418d7 minor code changes in mbwc 2012-01-01 15:14:30 +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
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
2011-12-25 15:25:28 +00:00
5b436e2304 added a mime type handler to the sample httpd program 2011-12-23 15:28:00 +00:00
14acf9a920 added qse_mbsntowcsnupto()
changed qse_tio_readwcs() to utilize qse_mbsntowcsnupto()
2011-12-21 16:21:46 +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
42c44f9d3d changed pio for changes in mbwc conversion functions 2011-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.
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
283f388ae9 corrected wrong assertion 2011-12-12 14:46:55 +00:00
57683c9396 added QSE_SIO_NOAUTOFLUSH.
fixed a bug in qse_tio_writew()
changed how assert() prints messages.
2011-12-12 14:46:22 +00:00
0b4c66cbf5 added primitive qse_tio_writem() and qse_tio_writew() 2011-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
2011-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()
2011-12-05 13:43:56 +00:00
c2264998f2 added qse_wcsatombsdup() 2011-12-02 16:05:16 +00:00
f922c5858d fixed a http header formatting error 2011-11-26 14:17:00 +00:00
cd124ecf6a added qse_ntprd_t 2011-11-24 07:48:11 +00:00
9550c71096 added qse_ntoff_t 2011-11-24 02:21:18 +00:00
936353f809 made minor changes to syscall definitions 2011-11-23 15:11:22 +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
5bd21d36b2 added in-place editing to sed command.
relocated files in lib/fs to lib/cmn
2011-11-20 16:24:11 +00:00
1f9de59543 added QSE_ALIGNOF(). 2011-11-17 16:07:35 +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
aba1884abb updated build files for watcom 2011-11-11 15:55:33 +00:00
1869cde2dc deleted QSE_FIO_NOCACHE 2011-11-10 15:45:10 +00:00
1e36d2c141 added QSE_FIO_NOCACHE.
map QSE_FIO_SEQUENTIAL and QSE_FIO_RANDOM to some posix_fadvise flags if available
2011-11-10 13:45:07 +00:00
595aab7555 enhanced a few code segments that convert a digit to a number 2011-11-09 00:54:27 +00:00
f2615f05a5 added simple utf8 functions 2011-11-08 13:36:47 +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
6ee7a71b8d added qse_fmtulongtombs()/qse_fmtulongtowcs() 2011-11-03 14:56:26 +00:00
e5a9693411 enhanded qse_dir_read() 2011-10-28 01:05:19 +00:00
1b600ee20c touched up code a bit 2011-10-27 22:29:28 +00:00
4eb8cb62ee added QSE_CANONPATH_EMPTYSINGLEDOT, QSE_CANONPATH_KEEPDOUBLESLASHES, QSE_CANONDROPTRAILINGSEP 2011-10-26 00:19:20 +00:00
e31e2c41ec enhanced qse_canonpath() 2011-10-25 17:20:25 +00:00
f2d60b9366 enhanced qse_dir_t 2011-10-25 01:48:07 +00:00
67e9eb8d9f changed qse_dir_t a little 2011-10-24 16:20:06 +00:00
4213133aac added errnum to qse_dir_t 2011-10-24 01:19:19 +00:00
6e0c8bbf44 added qse_dir_geterrnum() and qse_dir_geterrmsg()) 2011-10-23 12:04:51 +00:00
5cd5041ed3 added QSE_FIO_NOFOLLOW 2011-10-19 22:29:28 +00:00
c6f78119d3 added some unix code for qse_dir_t 2011-10-18 22:21:36 +00:00
38500b97d6 added qse_stradup() and related functions
coded qse_dir_change() for win32
2011-10-15 23:18:55 +00:00
23ee1f7f51 migrated fs/path.c to cmn/path.c 2011-10-14 22:57:41 +00:00
b5b23cbc36 fixed bugs in qse_canonpath() 2011-10-14 15:51:20 +00:00
68537ad16a added qse_canonpath() 2011-10-14 00:49:54 +00:00
624aeb41fd added some WIN32 directory code 2011-10-13 00:32:37 +00:00
f39a8e3526 started writing code for qse_dir_t 2011-10-12 00:19:27 +00:00
5547b38369 changed watcom project file 2011-10-09 00:09:54 +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
5d774c198f made qse_sed_setexectracer() selectable at compile-time 2011-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
2011-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.
2011-10-06 00:41:04 +00:00
0f33edf167 changed how getnextsc() counts line and column numbers.
changed how PEEPNEXTSC() works
2011-10-05 00:08:12 +00:00
cae3fbe798 fixed a bug in squeezing a new line for a continuing script stream 2011-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
2011-10-03 01:25:23 +00:00
8f3563b73e minor fix to set the location of the first address properly when it's erroneous 2011-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
2011-09-29 00:31:17 +00:00
84cb2b81d8 abandoned unmaintained directories 2011-09-27 23:08:25 +00:00
9fb0bc1628 changed how to handle appends(a,r,R), to use less memory when append text/file is large 2011-09-27 22:51:26 +00:00
00d9d74a7f added qse_sed_app_t 2011-09-26 00:28:58 +00:00
b9e365f148 added qse_sed_setexechook()
added qse_strfnmat() and related functions
2011-09-24 08:52:22 +00:00
cd1c245670 fixed a bug of eating up one more character when handling an \X escape sequuence 2011-09-23 01:07:18 +00:00
7a93b6a5c9 added sed win32 targets for watcom 2011-09-22 00:03:44 +00:00
ac8b7735b8 added a few targets for watcom 2011-09-21 23:50:23 +00:00
516031f17f added escape sequences \xnn and \Xnnnnnnnn.
added 'z' command.
added 'I' address modifier
2011-09-21 23:10:09 +00:00
716237d6c0 added Sed::stop() and Sed::isStop() 2011-09-21 08:04:48 +00:00
8f9011bc1d changed code to allow an empty label when QSE_SED_STRICT is not set
added qse_sed_stop() and qse_sed_isstop()
2011-09-20 22:40:45 +00:00
7de8b649ef added qse_sio_openstd().
added QSE_SED_ZEROA1 and related code
2011-09-20 00:51:02 +00:00
ecaed2c2b3 added qse_sed_io_std_t and related code 2011-09-18 09:41:26 +00:00
0d4ea6aab9 fixed a bug of not printing appended text properly when n or N is executed.
fixed a bug of not capturing submatches properly
2011-09-15 09:48:08 +00:00
e2a65338c8 touched up code related to QSE_SIO_IGNOREMBWCERR.
set QSE_SIO_IGNOREMBWCERR to qse_sio_in, qse_sio_out, qse_sio_err by default
2011-09-12 06:44:56 +00:00
e2affec43b added QSE_TIO_IGNOREMBWCERR 2011-09-11 20:48:21 +00:00
00e15a42e9 fixed a bug in handling r and a command 2011-09-11 10:14:38 +00:00
3db2c566a2 added QSE_TRE_NONSTDEXT
fixed a bug of not printing pattern space properly after 'q'
2011-09-09 01:49:53 +00:00
92b4c29551 * fixed a bug of not setting the IGNORECASE option properly to TRE.
* added code to treat a regular expressio delimiter as a normal character when present within [] of a regular expression.
* changed code to allow 0 as a starting address of a start~step address form.
* added code to accept 'I' as a option to the 's' command.
2011-09-08 09:36:08 +00:00
5be63c4b38 added files to watcom project files 2011-09-08 01:17:05 +00:00
0f85644269 added code to handle an empty regular expression in sed 2011-09-07 08:18:36 +00:00
2f15ca2335 enhanced sed escape handling
fixed an issue of adding an extra newline after matching $ in do_subst() of sed.
changed tre slightly for QSE's own needs
2011-09-05 10:21:54 +00:00
3fe32033cb * fixed a rounding bug of reallocation size in _realloc_merge of qse_xma_t.
* replaced rex with tre in qse_sed_t
* added submatch reference for the 's' command into qse_sed_t
* changed some options and functions for tre integration in qse_sed_t
2011-09-03 09:27:44 +00:00
1efa41052e fixed a minor bug in calling tre_add_tags()
added qse_tre_open()/qse_tre_close()/qse_tre_geterrnum()/qse_tre_geterrmsg()
added a parameter to return the number of submatches into qse_tre_compx()/qse_tre_comp()
2011-09-02 08:45:06 +00:00
6aba3f8f89 integrated Ville Laurikari's TRE 2011-09-01 09:43:46 +00:00
621eefef0c renamed ccls to ctype 2011-08-25 00:54:19 +00:00
2c4ed8caf9 * added QSE_MBLEN_MAX
* added qse_getcclsid() and related functions
* added qse_isblank() and realted code
2011-08-22 23:26:26 +00:00
03dad41aa2 fixed a bug in pma 2011-08-19 10:26:47 +00:00
d38faa3b1f fixed Doxyfile 2011-08-16 08:44:29 +00:00
4403c33aea * changed the explicit concatenation operator from a period to %% for qse_awk_t
* added the concatenative assignment operator(%%=) for qse_awk_t
2011-08-16 07:52:48 +00:00
8da90da039 * added qse_mbscasebeg()/qse_wcscasebeg()
* touched up the _WIN32 part of qse_fio_t a bit
2011-08-15 09:59:55 +00:00
6e2dd10655 * renamed udd to ctx in qse_mmgr_t
* fixed problems in build and test scripts
2011-08-15 03:07:31 +00:00
f332efc288 fixed a path to the doxygen css file 2011-08-14 10:08:18 +00:00
4527bf0a34 * fixed a bug of not setting an error code upon a few cases of QSE_AWK_STRXDUP failures
* added a new memory debugging facility to qseawk
2011-08-14 10:04:14 +00:00
e833fdff6f enhanced build files 2011-08-14 01:05:45 +00:00
ce8e12cb46 changed a sample code for time 2011-08-13 23:05:03 +00:00
8923102323 fixed a minor glitch in the pio sample code 2011-08-13 22:44:43 +00:00
14572f08aa fixed a few issues in qse_env_t functions on OS2 with Watcom C 2011-08-13 10:35:34 +00:00
66fa01b2cf * fixed qse_env_t functions for OS2
* deleted unnecessary targets for watcom
2011-08-13 08:39:18 +00:00
55182c4232 fixed a bug in parsing an expression like "1++b" in awk/parse.c 2011-08-13 08:16:05 +00:00
f843a6e003 * fixed an issue in parsing an expression like "a++ ++b" or "1 ++b"
* added _WIN32 code handling QSE_PIO_MBSCMD
* fixed various _WIN32 issues in qse_env_t
* added untested OS2 code handling QSE_PIO_MBSCMD
2011-08-12 09:11:02 +00:00
cfe85ecc60 * added QSE_PIO_MBSCMD
* added qse_env_insertsys() and related functions
2011-08-11 10:18:35 +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
6f7f368a91 completed initial implementation of qse_env_t 2011-08-07 09:41:27 +00:00
c73a51dbbc fixed the wrong defintion of qse_strbeg().
started wrting qse_env_delete()
2011-08-06 21:25:08 +00:00
a5e86b984c added a few functions for qse_env_t 2011-08-06 11:08:21 +00:00
5b92edfe50 fixed the wrong escape character for pio command splitting 2011-08-05 09:53:43 +00:00
470c292157 added more checks to cgi handling 2011-08-05 09:43:28 +00:00
bd09e34df5 written some cgi response chunking code 2011-08-04 11:04:36 +00:00
0998ae3b25 added more cgi related code 2011-08-03 10:27:30 +00:00
3634d16aaf still writing cgi support code 2011-08-02 09:43:48 +00:00
1b2392571c started adding cgi support.
enhanced qse_httpd_entask() and related functions to support entasking within a task handler.
2011-07-30 02:14:04 +00:00
1d41b3fb2a tidied up code a bit 2011-07-29 09:32:56 +00:00
578080e071 added interim patches to httpd for sco 2011-07-28 23:06:16 +00:00
5e85ab6613 added code to selective turn on/off an output thread 2011-07-28 21:57:39 +00:00
f4ad3e3b66 added qse_httpd_entaskpath().
renames qse_httpd_entaskXXX() functions to a newer style
2011-07-28 08:35:28 +00:00
79370202bc added qse_awk_http_range_int_t 2011-07-27 09:41:20 +00:00
c380388718 added qse_parsehttprange 2011-07-26 09:42:35 +00:00
2c25c5d185 fixed a type casting bug in qse_awk_sprintreal() 2011-07-26 07:08:07 +00:00
f43799a68c enhanced error handling for shorter code in some functions of qse_awk_t 2011-07-26 02:25:13 +00:00
6ac70e5958 touched up the parser code for qse_awk_t a bit 2011-07-26 01:32:49 +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
b67f0ccd42 enhanced constant folding code for qse_awk_t 2011-07-24 10:17:15 +00:00
59afc79821 added floating-pointer remainder handler for qse_awk_t 2011-07-24 03:03:48 +00:00
4b531aa248 fixed indentation 2011-07-23 09:43:03 +00:00
b2e7566e6b added a few lines of constant folding code for awk. still incomplete 2011-07-23 09:37:46 +00:00
7740b30aea added httpd.h 2011-07-23 07:53:31 +00:00
0967928a90 added more code for qse_httpd_t
added qse_htre_gethdrval()
2011-07-22 09:50:38 +00:00
d9d2cda5c3 added version to documentation 2011-07-21 10:32:07 +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
618f8bcf1f improved qse_httpd_entask() and related functions 2011-07-20 10:18:54 +00:00
46c7cd9484 added doxygen.css 2011-07-16 10:20:33 +00:00
49abb01c3e corrected documentation a bit 2011-07-16 09:53:49 +00:00
1deaac776d touched up code a little 2011-07-15 10:00:37 +00:00
9cdc8206e5 adding more code 2011-07-14 09:18:54 +00:00
fb574aa147 added more code for httpd 2011-07-12 10:31:33 +00:00
ec02be14e5 written more http code 2011-07-08 10:16:19 +00:00
afbbdd03ea fixed a bug in qse_mbs_ncpy() and qse_wcs_ncpy().
enhanced qse_mbs_ncat() and qse_wcs_ncat() to allocate a buffer if zero-length string is passed in when the current capacity is 0
2011-07-07 10:44:10 +00:00
4d55ebbcce reorganizing http functions 2011-07-06 09:45:00 +00:00
6fcd875403 added qse_htre_t and changed data type names 2011-06-30 09:12:36 +00:00
325a9d8b2b enhanced qse_http_t 2011-06-23 10:17:35 +00:00
37318f12db improved http sample code 2011-06-22 09:58:50 +00:00
faf421a54c added parser code 2011-06-21 08:56:40 +00:00
2008bdeef1 started working on parser 2011-06-20 09:31:23 +00:00
121f0145fa added test code for bootstrapping 2011-06-19 09:30:49 +00:00
682cfc1949 revised bootstrapping code 2011-06-18 10:17:18 +00:00
c7b3ece237 interim commit 2011-06-17 07:51:05 +00:00
2adaa58e7d no meaningful changes... 2011-06-16 10:00:36 +00:00
fb46d98bb2 added more code for symbol table, system dictionary, bootstrapping 2011-06-15 10:04:31 +00:00
3cc4595018 added more code for symbol table and system dictionary 2011-06-14 11:13:17 +00:00
143bf5aa2b updated qse_stx_hashobj() 2011-06-08 10:47:20 +00:00
adcf59e44d did a bit of stx work 2011-06-08 10:30:16 +00:00
f50b2835f7 resumed stx after years of hibernation 2011-06-05 10:22:20 +00:00
7a1682ae00 changed wrong comments 2011-05-30 09:22:08 +00:00
ed207769ff enhanced parse_primary_ident() in lib/awk/parse.c
also fixed a memory leak in the function
changed name of some data types
2011-05-30 09:15:52 +00:00
6364077743 fixed qse_awk_rtx_freeval() 2011-05-26 09:32:10 +00:00
9554a5eaae deleted wtab and rwtab from awk 2011-05-26 09:25:51 +00:00
ea3550bd19 migrated some default actions for switch statements 2011-05-26 08:50:19 +00:00
38b00c0756 touched up code 2011-05-26 08:42:26 +00:00
2cbe0d4681 enhanced val_int_to_str().
changed the return type of qse_awk_valtostr()
2011-05-26 08:00:19 +00:00
26427dd4c3 enhanced qse_awk_rtx_valtostr() 2011-05-25 09:14:58 +00:00
8497ddae25 minior message change to cpp error statements 2011-05-24 23:11:42 +00:00
948f5de1cb added QSE_AWK_VAL_MAP_ITR_KEY() and deleted QSE_AWK_VAL_MAP_ITR_KEY_PTR()/QSE_AWK_VAL_MAP_ITR_KEY_LEN()
added QSE_HTB_KPTL()/QSE_HTB_VPTL()/QSE_RBT_KPTL()/QSE_RBT_VPTL()
2011-05-24 22:22:40 +00:00
5577499bfb fixed a minor bug in Awk.cpp 2011-05-24 11:07:13 +00:00
ef13e990cb touched up code a bit 2011-05-24 11:02:35 +00:00
7e6a4dc0d5 * added qse_cptl_t/qse_xptl_t
* deleted word substitution functions from awk
2011-05-24 10:52:37 +00:00
40711d3320 exposed the details of qse_awk_fun_t 2011-05-23 21:38:03 +00:00
bc941f10db added pooled memory allocator taking code from tre for tre porting 2011-05-23 09:03:30 +00:00
483ce8b5bb fixed minor bugs in rex.c 2011-05-23 08:14:36 +00:00
55d2413ba8 fixed the string type issue in cmd/awk/awk.c 2011-05-22 10:20:01 +00:00
b9933a473b changed a sample program for qse_awk_findfun() and qse_awk_callfun() 2011-05-22 10:16:18 +00:00
8f88a97dfc added qse_awk_rtx_findfun() and qse_awk_rtx_callfun() 2011-05-22 10:08:54 +00:00
d879fd69af fixed lib/cmn/Makefile.am 2011-05-20 21:18:13 +00:00
4a1e5d6106 added a missing file in Makefile.am 2011-05-20 09:15:15 +00:00
687f4d21b8 fixed condition for a maximum positinal index 2011-05-19 21:46:53 +00:00
f0e64b56eb added QSE_STR_CSTR() 2011-05-19 21:33:28 +00:00
6eebf4baa2 touched up code for less lines 2011-05-19 20:50:51 +00:00
c7a49615a2 improved tokenization by rex 2011-05-19 08:36:40 +00:00
845b4ae4f0 included the int() function into the main awk 2011-05-18 20:32:39 +00:00
4da9a4d010 migrated math functions in Awk and StdAwk 2011-05-18 08:56:54 +00:00
da35a4c6dc changed qse_awk_prm_t to include basic math functions 2011-05-18 08:37:51 +00:00
a2a474bb34 added qse_awk_rtx_getfirstmapvalitr()/qse_awk_rtx_getnextmapvalitr() 2011-05-13 22:06:55 +00:00
4e882e79c0 changed Awk::Value::setIndexedVal() 2011-05-13 10:16:57 +00:00
2cb55e3676 added qse_awk_rtx_setmapvalfld()/qse_awk_rtx_getmapvalfld() 2011-05-13 08:55:53 +00:00
3ae34f8acc modified code for the first successful dos/4gw build omitting unsupported features 2011-05-10 10:11:13 +00:00
fab23e8575 touched up more 2011-05-07 09:28:27 +00:00
f795450b1b added a missing file 2011-05-05 09:13:55 +00:00
26bae0b0fb enhanced fio.c for DOS 2011-05-05 09:11:23 +00:00
574f373cf0 added some DOS stuffs 2011-05-04 08:00:38 +00:00
fd0b3f9abd added qse_mbsbasename()/qse_wcsbasename() 2011-05-04 01:48:42 +00:00
12adaea5a3 enhanced record handling for CRLF 2011-05-02 08:37:17 +00:00
9514c71a03 regenerated the test output 2011-05-02 07:29:45 +00:00
42327ce6d1 enhanced record reading further 2011-05-02 07:28:51 +00:00
d915a0fc7a enhanced multi-character RS handling 2011-05-01 09:24:38 +00:00
7b4914c794 touched up record reading function a little bit 2011-04-29 08:11:19 +00:00
40fad800f3 fixed the bug of not able to find the longest match for a multiple-character RS. 2011-04-28 08:04:13 +00:00
8b63507b79 set the ID property on some files 2011-04-26 08:56:05 +00:00
32be9131c7 added qse_mbs_t/qse_wcs_t and related functions 2011-04-26 08:53:50 +00:00
65588fad45 updated copyright notice 2011-04-23 08:28:43 +00:00
0f3c027105 added a problem in installing ctrl-c handler in OS2 2011-04-21 08:30:47 +00:00
0ba21de0f1 changed the way FILENAME and OFILENAME are set upon start-up 2011-04-21 01:37:48 +00:00
c7020c00ca touched up awk a bit more for OS/2 2011-04-18 09:38:21 +00:00
0fee868b99 delete an unnecessary line 2011-04-18 09:32:02 +00:00
ea724c784c touched up awk for OS2 2011-04-18 09:28:22 +00:00
212a71460f added qse_mbsincl()/qse_wcsincl()/qse_mbsexcl()/qse_wcsexcl() and related functions 2011-04-17 09:40:57 +00:00
bdc537fbdc * fixed a bug of opening a console output file in a wrong mode resulting in failure.
* added a new sample file for awk
2011-04-17 08:55:26 +00:00
603af95dca added qse_mbsset()/qse_wcsset()/qse_mbsdel()/qse_wcsdel() and related functions 2011-04-16 09:18:27 +00:00
e1d7784e4e added qse_mbsrot()/qse_wcsrot()/qse_mbsrev()/qse_wcsrev() and related functions 2011-04-15 06:42:48 +00:00
6af502fa30 fixed some typos 2011-04-14 09:32:34 +00:00
610e2348de added qse_mbstok()/qse_wcstok() and related functions 2011-04-13 09:36:18 +00:00
610059c023 added qse_mbsbeg()/qse_wcsbeg()/qse_mbsend()/qse_wcsend() and related functions 2011-04-12 08:15:30 +00:00
10901ba0df added qse_mbstrm()/qse_wcstrm()/qse_mbspac()/qse_wcspac() and related functions 2011-04-09 07:56:28 +00:00
c0afd55a3a added qse_mbsspltrn()/qse_wcsspltrn()/qse_mbsspl()/qse_wcsspl() 2011-04-08 00:46:25 +00:00
f7ebae421f added str_len.c to Makefile.am 2011-04-04 09:00:51 +00:00
ee52b08a0c added qse_mbsbytes()/qse_wcsbytes() 2011-04-04 08:57:23 +00:00
2f4a4000cd fixed issues of watcomc for _win32 in stdio.c 2011-04-01 09:32:07 +00:00
96da678f14 added qse_mbsword()/qse_wcsword()/qse_mbscaseword()/qse_wcscaseword() 2011-03-31 22:15:24 +00:00
48bf4d5a05 added qse_mbsxword()/qse_wcsxword() and related functions 2011-03-31 09:07:48 +00:00
9cf0386f11 added qse_mbsxstr()/qse_wcsxstr() and related functions 2011-03-30 09:37:19 +00:00
5662ae2010 added qse_mbsdup()/qse_wcsdup() and related functions 2011-03-30 05:20:29 +00:00
22a3eee756 added qse_mbscat()/qse_wcscat() and related functions 2011-03-29 10:07:37 +00:00
a0ed88add5 updated watcom target files 2011-03-28 08:38:19 +00:00
c9caef5ae8 added qse_mbsxsubst()/qse_wcsxsubst() 2011-03-28 08:32:37 +00:00
2470066357 added qse_mbsxchr()/qse_wcsxchar() and related functions 2011-03-27 23:04:24 +00:00
0b552210e8 added qse_strlwr() and qse_strupr() 2011-03-26 10:02:04 +00:00
895570a771 corrected faults in character handling functions and macros 2011-03-25 22:52:47 +00:00
c3f6340f9e added qse_mbscmp()/qse_wcscmp() and related functions while doing similar things for character class handling 2011-03-25 22:36:43 +00:00
794b0f8c47 fixed a fault in a makefile 2011-03-25 08:32:07 +00:00
486c2b53d5 added qse_mbsfcpy()/qse_wcsfcpy() and related functions 2011-03-25 08:20:55 +00:00
9255381669 touched up a few string copy functions 2011-03-24 09:07:24 +00:00
042493b24d fixed wrong Makefile.am 2011-03-23 20:46:48 +00:00
b701c43361 added qse_strpbrk() 2011-03-23 20:45:39 +00:00
f83c2c133a added qse_strspn() and qse_strcspn() 2011-03-23 20:21:14 +00:00
e29dea930f fixed typo in the definition of qse_strstr() 2011-03-22 08:03:01 +00:00
fe67761da6 * Added code to handle the case when QSE_PIO_SHELL is not set in qse_pio_init() for OS/2.
* Added qse_mbschr(), qse_wcschr(), qse_mbsstr(), and qse_wcsstr()
2011-03-22 08:01:10 +00:00
98eaacce41 * added qse_mbscpy() and qse_wcscpy()
* enhanced qse_pio_init() for OS/2
2011-03-21 08:16:54 +00:00
28d83d57a6 fixed minor flaws in regression test scripts 2011-03-19 09:24:24 +00:00
20a989ecaf added OS/2 code into time.c
started writing OS/2 code into pio.c
fixed minor issues in fio.c
2011-03-19 09:07:21 +00:00
b69285fc36 fixed qse_basename() for OS/2 2011-03-17 09:17:25 +00:00
287d67101a fixed wrong eol style for some files 2011-03-17 02:37:06 +00:00
680c45e9ed fixed wrong block ending in main.c 2011-03-16 09:23:37 +00:00
8869368a02 added more for OS/2 2011-03-16 09:20:03 +00:00
3822b48eea added more code for OS/2 file operations 2011-03-15 21:40:39 +00:00
f84872aee3 added some OS/2 functions 2011-03-15 09:40:35 +00:00
16294931ee added qse_runmainwithenv() 2011-03-13 07:40:15 +00:00
52ca1f83e3 writing qse_scm_eval() 2011-03-08 08:34:27 +00:00
2c48b27f9a started writing qse_scm_eval() 2011-03-05 17:45:12 +00:00
5b60fd18f6 * fixed a problem of not printing the closing parenthesis if the last CDR is not nil in qse_scm_print().
* separated the syntax bit for a symbol from the type bits
2011-03-04 01:55:37 +00:00
5703d4c58a trying to make qse_scm_print() non-recursive 2011-03-03 08:41:24 +00:00
1d478104b3 moved entity management functions to a separate file 2011-03-01 09:40:58 +00:00
31ae7440a5 writing reading and printing functions 2011-02-26 09:26:16 +00:00
5b1a61f4c8 adding entity reader 2011-02-24 09:32:13 +00:00
402800e0ae added more scm code 2011-02-23 06:58:59 +00:00
758037fac0 added more code for scm 2011-02-22 03:11:21 +00:00
f24fe05409 updated build files with a newer autoconf 2011-02-11 07:48:51 +00:00
af1a430992 added some more types to types.h 2011-02-05 09:47:53 +00:00
7d5523360e added __int128_t and __uint128_t into configure.ac 2011-02-05 09:39:15 +00:00
db7d928a68 deleted unnecessary items from configure.ac 2011-02-01 22:48:53 +00:00
613b07417d fixed a build issue on a platform with g++ where sizeof(double) == sizeof(long double) 2011-02-01 07:49:41 +00:00
1b874c975b fixed a build issue on a platform with gcc where sizeof(double) == sizeof(long double) 2011-02-01 07:46:52 +00:00
ec26d103c3 changed build order 2011-01-23 05:26:48 +00:00
5c1599722b fixed distcheck issues 2011-01-23 04:32:11 +00:00
da945c3a08 fixed minor build issues 2011-01-23 03:52:20 +00:00
0e561c494c changed autoconf and build files 2011-01-22 02:04:22 +00:00
ff21f8cd4a added more functions to qse_http_t 2010-12-01 05:35:28 +00:00
4491055c84 reorganized the qse_http_t structure 2010-11-29 08:26:51 +00:00
5b4845db55 enabled qse_http_feed() to get trailing headers after 0 2010-11-27 09:00:57 +00:00
84376d6d92 fixed bugs in processing chunked request 2010-11-26 08:58:36 +00:00
c03b2467af added code to handle a chunked request 2010-11-25 07:53:55 +00:00
d4f7ac1ca9 added code to handle content-length > 0 2010-11-15 07:54:03 +00:00
b7c4acf78e added more header handling code for http 2010-11-11 08:28:38 +00:00
19af03709a fixed a few lines for c89
added more http code
2010-11-04 08:24:29 +00:00
edff7c59d6 implemented proper handling of duplicate http header fields 2010-11-01 08:08:15 +00:00
1c82886941 added qse_rbt_cbsert() 2010-10-31 06:49:18 +00:00
d58631e70b enhanced qse_htb_t and qse_rbt_t
- defined builtin mancbs'
- changed qse_rbt_t to point to mancbs
- touched up a few other functions
2010-10-30 07:54:36 +00:00
2265531c97 added qse_htb_cbsert().
exported qse_htb_allocpair() and qse_htb_freepair()
2010-10-29 07:09:53 +00:00
81f314d676 improved qse_htb_t to use less memory. this resulted in backward-incompatible interface 2010-10-28 06:54:37 +00:00
167449e3f1 added more lines for http parsing 2010-10-27 07:01:16 +00:00
f23fd6a4f6 added http request parsing functions 2010-10-26 07:04:11 +00:00
299852beaa enhanced resizing of qse_lda_t and qse_str_t 2010-10-22 07:29:12 +00:00
a5f99ece99 added a sample code snippet for qse_bsearch 2010-09-25 03:14:03 +00:00
70f0002cea added alg_sort.c 2010-09-25 03:03:54 +00:00
43bc5ffb79 added qse_bsearch(), qse_lsearch(), qse_qsort() 2010-09-25 03:03:38 +00:00
70bf0fceaf added missing functions and macros.
documented more functions
2010-09-08 06:29:25 +00:00
95e975f514 added open-addressed hash table 2010-09-08 04:57:43 +00:00
af72767aa5 enhanced dll 2010-09-04 06:50:08 +00:00
6094a21e5e added a few string functions 2010-09-02 07:19:59 +00:00
dc34e8f752 added some macros for the doubly-linked list 2010-09-01 07:20:34 +00:00
7f9c835412 added missing files again 2010-08-28 05:51:43 +00:00
80fcdc3162 added missing files again 2010-08-28 05:49:57 +00:00
d012ea1b01 added missing files 2010-08-28 05:47:48 +00:00
810134f0ea enhanced qse_fma_h to have more consistency with qse_xma_h 2010-08-27 00:26:28 +00:00
530ab74909 fixed wrong indentation 2010-08-26 07:20:08 +00:00
70ca33c756 added fixed-size block allocator 2010-08-26 07:15:40 +00:00
8a19cce569 deleted lsp 2010-08-25 21:28:40 +00:00
c0122c72b8 implemented a non-recursive s-expression reader 2010-08-18 07:15:14 +00:00
1177866b26 changed qse_awk_rcb_t to expose a node pointer 2010-08-06 01:31:17 +00:00
55b28b0cb1 added qse_cut_openstdwithmmgr() 2010-08-05 01:32:38 +00:00
65698c30a2 documented xma.h, though terse 2010-08-05 01:25:48 +00:00
e5e0bc9a78 added a test case for xma 2010-08-02 07:13:38 +00:00
221db8488e enhanced xma realloc() 2010-08-01 01:45:47 +00:00
4ef1730e71 added realloc to xma 2010-07-31 07:24:19 +00:00
a1965a6544 fixed bugs in xma.c 2010-07-29 07:27:03 +00:00
f467ec9930 touched the memory allocator 2010-07-25 06:43:26 +00:00
a1a57732dd added a primitive memory allocator 2010-07-24 07:24:44 +00:00
a8e9033b86 fixed a bug in rbt.c 2010-07-15 06:54:48 +00:00
0406471ef0 updated header files for documentation 2010-07-14 07:29:02 +00:00
f05306ba29 shortened some type names in rbt.c 2010-07-14 05:25:24 +00:00
e187cd9dae enhanced the red-black tree 2010-07-14 05:18:30 +00:00
03c87a4f6a updated the version to 0.5.5 in configured.ac 2010-07-10 20:16:00 +00:00
b758ed8ab3 added AWk:getRunContext() 2010-07-09 05:28:22 +00:00
99c72b1755 * renamed map to htb
* added qse_awk_findgbl()
* added Awk::findGlobal()
* began working on red-black tree
2010-07-09 00:58:44 +00:00
57c56594a5 touched up rex.c 2010-05-11 07:15:55 +00:00
b0a03e0b4d enhanced regular expression handler 2010-05-10 07:44:39 +00:00
b2e41d43f2 updated configure.ac 2010-04-30 07:34:55 +00:00
e0ab4fca90 * added qse_strxput() and qse_strxnput()
* added qse_strxsubst ()
2010-04-30 07:14:13 +00:00
2a045b7ff0 enhanced lda with binary heap functions
added more wide character handling functions
2010-04-06 06:50:01 +00:00
aaa1097128 simplified qse_cut_comp() and related functions 2009-12-23 06:56:01 +00:00
200a3f6656 touched up code a bit 2009-12-22 06:44:33 +00:00
d418e651e5 - added easy C API functions for sed and cut
- added a sample C program for sed
- added C++ API for cut.
2009-12-22 06:29:52 +00:00
92cbbbcec1 - renamed Sed::IOStream to Sed::Stream
- renamed StdSed::StdStream to StdSed::FileStream
- added StdSed::StringStream
2009-12-19 21:06:28 +00:00
de7082d0d0 - Changed the way Mmgr is used. A subclass inheriting Mmged is instantiated with a pointer to Mmgr which used to be the parent class.
- Separated the I/O stream handler from the Sed class and abstracted it into Sed::IOStream.
- Implemented StdSed::StdStream.
2009-12-19 06:34:42 +00:00
232c0cc1c4 added LICENSE to Makefile.am 2009-12-15 06:57:04 +00:00
41b716c195 - fixed a bug in pio.c for WIN32
- deleted unnecessary files.
- updated documentation.
2009-12-15 06:50:11 +00:00
7715b1b9f9 updated documentation a bit 2009-12-14 08:19:58 +00:00
0d83bdba2c revised project information and added more test scripts for awk 2009-12-14 01:44:50 +00:00
689fb93301 fixed a bug in qse_awk_strxtolong() 2009-12-13 07:24:40 +00:00
faea2475ac fixed a parser bug in awk.
- handling of idiv operators
- tokenization of /=/ as a regular expression
- calling QSE_AWK_FREEREX to free compiled regular expressions.
switched to a new regular expression handler.
2009-12-11 07:03:54 +00:00
93adbf9244 touched up code 2009-12-10 05:35:54 +00:00
b5dd6fa606 added simple optmizations to rex1.c 2009-12-09 07:15:00 +00:00
c7d45b6099 improving regular expression handler 2009-11-28 07:46:49 +00:00
6b98760c2c added group_t reference counting 2009-11-28 01:01:43 +00:00
09720f3460 interim commit while implementing qse_rex_t 2009-11-26 07:32:20 +00:00
782fa151de interim commit while implementing a regular expression processor 2009-11-23 07:58:53 +00:00
1d5be1f982 still coding rex1.c 2009-11-20 23:12:27 +00:00
a6162f3eea interim commit - enhancing rex1.c 2009-11-20 07:32:55 +00:00
9d3084f455 interim commit. updating rex1.c 2009-11-19 07:47:12 +00:00
6315d1fa9b adding cut 2009-11-14 08:18:12 +00:00
5e21877849 interim commit 2009-11-14 08:01:57 +00:00
e384e1d044 - enhanced how to determine between a function call and a variable concatenated with an parenthsized expression.
- fixed a bug in split.
2009-10-20 07:33:40 +00:00
28759bb9f4 deleted unnecessary code 2009-10-09 07:51:29 +00:00
98eec6a35d updated qse_cut_clear() 2009-10-09 07:09:19 +00:00
9f494ba184 touched up code a little 2009-10-08 06:39:18 +00:00
a4a82873f7 enhanced cut 2009-10-07 07:47:16 +00:00
b3389e89d5 added initial code for qse_cut_exec() 2009-10-06 07:33:26 +00:00
6de11d0391 added partial code for cut 2009-10-05 08:08:27 +00:00
22394802f8 extended FS to support 5-character special form 2009-09-24 04:19:30 +00:00
225b1c5ec1 touched up code 2009-09-22 07:28:18 +00:00
bc43362962 enhanced string cache for awk 2009-09-19 22:28:49 +00:00
ae7b0a5bdd enhanced index and match 2009-09-17 00:35:29 +00:00
63c12720cb touched up code while enhancing index() and match() 2009-09-16 08:03:15 +00:00
773f5cec57 touched up code a bit 2009-09-16 04:01:02 +00:00
3707f4dca8 documented more functions 2009-09-15 07:29:55 +00:00
07d4a531f8 fixed a memory leak bug in parse_expr_basic() in parse.c
touched up qse_sed_comp() a little.
ehnanced the regression test script
2009-09-10 21:05:13 +00:00
417d901dad updated regression test scripts for old /bin/sh 2009-09-09 01:43:38 +00:00
d70bc70ded updated regression test scripts 2009-09-09 01:39:46 +00:00
454c76bd22 added regress/sed/regress.out 2009-09-09 01:35:35 +00:00
2a9fabebb6 improved cmd/sed/sed.c 2009-09-09 01:05:48 +00:00
faf8d996db touched up sed 2009-09-08 07:34:49 +00:00
f9d4ccc50a fixed a bug in merging consecutive codes with occurrences 2009-09-07 07:18:08 +00:00
f14f01864d fixed a bug in handling QSE_SED_QUIET for the 'n' command 2009-09-05 07:08:19 +00:00
10c75d357d fixed a bug in emitting a string 2009-09-03 06:55:55 +00:00
15227808a7 added QSE_SED_SAMELINE to sed 2009-09-01 07:24:06 +00:00
8118c7477d touched up code for an old c++ compiler 2009-08-31 07:19:02 +00:00
c31d8dc8a2 fixed a bug in the close() handler 2009-08-29 06:47:09 +00:00
9c872e932a touched up code a little bit 2009-08-29 05:58:05 +00:00
2ba054c1a3 enhanded StdAwk::Pipe to support CloseMode 2009-08-29 03:48:02 +00:00
81b3d369e8 implemented partial closing for rwpipe 2009-08-28 06:52:20 +00:00
9d635709f3 added partial code to support close ("name", "r or w") 2009-08-27 06:59:08 +00:00
cefda5ffc6 improved sed error handling 2009-08-26 21:03:51 +00:00
1f29eb2521 touched up sed a little 2009-08-26 07:07:54 +00:00
9253c8644f enhanced error location handling for awk 2009-08-26 03:50:07 +00:00
48aa3f2d34 touched up code 2009-08-25 06:15:56 +00:00
88d0fd919b touched up code a bit more 2009-08-24 19:50:38 +00:00
ea9e068c01 touched up code 2009-08-24 06:56:45 +00:00
6f4fd0c385 touched up code a little 2009-08-24 02:48:02 +00:00
fa0e68aa35 touched up code 2009-08-22 23:43:44 +00:00
933a2ff773 fixed make distcheck problem 2009-08-22 20:35:46 +00:00
ee27151bcb touched up code 2009-08-21 07:04:24 +00:00
f565bd46cc touched up code 2009-08-21 05:28:03 +00:00
b6ca96214a improved line number handling 2009-08-20 08:04:15 +00:00
0f9d553ff8 touched up code 2009-08-18 06:10:30 +00:00
267a602d4b changed qse_awk_seterrnum() and qse_awk_rtx_seterrnum() 2009-08-17 07:44:20 +00:00
08d87ca85e interim commit 2009-08-17 02:08:58 +00:00
1caca1fa41 touched up sample codes 2009-08-14 07:26:46 +00:00
ce695db836 fixed a bug in StdAwk::SourceFile::open() 2009-08-13 07:39:37 +00:00
64753ed49f interim commit 2009-08-11 19:28:32 +00:00
876cd7bec9 interim commit 2009-08-11 01:11:16 +00:00
9eb2c2da4c fixed bugs in handling @include 2009-08-10 21:29:59 +00:00
8059913da3 interim commit 2009-08-08 07:35:24 +00:00
3fc663609e enhanced the awk parser 2009-08-07 02:27:14 +00:00
ff92573543 improved @include handling 2009-08-01 07:01:04 +00:00
0da1c65cf5 implemented @include partially 2009-07-27 20:31:58 +00:00
90955d1b0a interim commit 2009-07-25 23:18:42 +00:00
1e7f2551e5 touched up code a little 2009-07-25 06:22:00 +00:00
4496e29945 cleaned up code a little 2009-07-24 22:11:07 +00:00
9fabea2cd2 enhanced pio for WIN32 2009-07-24 07:01:52 +00:00
704e1c2ac7 added some lines of code into pio.c for win32 2009-07-23 06:47:13 +00:00
4bb3fe77eb added partial code to support 'include' 2009-07-20 07:02:33 +00:00
35e65743ab cleaned up code 2009-07-19 06:02:24 +00:00
07af9f53fb merged a few awk options into one 2009-07-18 06:42:02 +00:00
602a14a54e added QSE_AWK_STRIPSTRSPC 2009-07-17 06:43:47 +00:00
6b31c85427 - deleted unnecessary callback functions - on_loop_enter() & on_loop_exit()
- modified qse_awk_rtx_loop() and Awk::loop() to return the return value
- deprecated the callback totally from the Awk class: may readd it in the future.
- added POC code to pass arguments by reference for intrinsic functions. POC ok. more works needed for full support. not enabled.
2009-07-17 02:27:53 +00:00
f0f2db5e8a cleaned up code 2009-07-16 04:43:31 +00:00
e149b933f7 cleaned up code a little 2009-07-15 08:08:48 +00:00
782f17c7e1 fixed regress/awk/Makefile.am 2009-07-15 02:08:00 +00:00
f5e3e53290 - added Awk::setGlobal & Awk::getGlobal
- fixed a bug in parsing getline
2009-07-15 02:06:14 +00:00
af6831ed3c changed Awk::parse() to accept a reference type instead of a pointer type 2009-07-14 04:03:53 +00:00
9b6eb94664 -added Awk::Value::getFirstIndex() & Awk::Value::getNextIndex()
-fixed a few bugs in the Awk::Value class
2009-07-14 02:51:23 +00:00
814ed89e53 enhanced Awk::Awk to utilize Awk::Value 2009-07-13 07:06:01 +00:00
356e4c0792 cleaned up run_delete() in awk/run.c
improved Awk::Value
2009-07-11 21:01:36 +00:00
9f382bb951 adding Awk::Value 2009-07-11 08:05:51 +00:00
852a51ae75 changed Source IO model in Awk 2009-07-10 06:46:14 +00:00
1d88a17c7c enhanced Awk classes 2009-07-09 07:01:45 +00:00
b682392d5f - fixed a bug of not handling nextfile and nextofile when no files are specified in the standard console handler
(awk/std.c)
- enhanced the console handler for StdAwk
2009-07-08 07:05:10 +00:00
8a61d58b7b cleaned up Awk.cpp 2009-07-07 06:37:25 +00:00
65a69c5522 updated files for tagging 0.5.1 2009-07-02 19:26:57 +00:00
d725c01bac touched up code a little 2009-07-02 07:14:39 +00:00
dd36ca0725 changed regression test scripts 2009-07-01 07:14:39 +00:00
e78de0f959 restructured regression test scripts for awk 2009-06-30 04:17:39 +00:00
14b0bca55c improved the naming rule 2009-06-29 07:41:47 +00:00
3c63104bf7 fixed a bug of not checking a function name against named variables 2009-06-28 06:42:53 +00:00
b9d3b490a2 fixed a bug of not checking a parameter name against the function name 2009-06-27 23:52:54 +00:00
c31adc3f7c fixed bugs of not handling <NL> properly in local/global variable declarations. 2009-06-27 20:50:54 +00:00
e337e01d46 fixed a few minor bugs 2009-06-27 07:05:19 +00:00
06d3d78abf cleaned up code and enhanced documentation 2009-06-26 01:39:27 +00:00
1c56d6e347 cleaned up code and documentation 2009-06-25 03:50:10 +00:00
393dd9be8d improved the standard console handler to handle when ARGV has been overridden in a script 2009-06-25 02:29:33 +00:00
4b139e0472 cleaned up code 2009-06-24 07:29:18 +00:00
92b9bfb6d1 changed qse_assert_filed() to dump backtraces 2009-06-23 22:53:22 +00:00
97a7febc78 fixed a bug in closing a qse_awk_rtx_t object
- refdown_globals() should have been called after qse_awk_rtx_clrrec()
  as it still access NF.
fixed typo in awk error messages
fixed a memory allocation bug in matching a group (match_group) 
uncommented binary number parsing code in the awk parser.
2009-06-23 07:01:28 +00:00
385e1acc26 fixed a minor problem of returning a long option string with a leading colon in qse_getopt().
enhanced cmd/awk/awk.c
cleaned up code a little
2009-06-22 07:33:05 +00:00
e66a372119 added -v var=val to cmd/awk/awk.c 2009-06-21 06:47:34 +00:00
cf606b6819 fixed a bug in matching zero occurrence in a group 2009-06-19 06:08:06 +00:00
944a492c88 fixed bugs in rex and awk
- fixed bugs of not parsing some forms of ranges such as {,m} {n,} properly
- fixed bugs in substitution functions that did not handle 0-length substring match properly.
2009-06-18 06:43:50 +00:00
e774c0bbd1 improved numeric string comparison for various contexts. 2009-06-17 00:05:40 +00:00
ed6db12e27 changed code to handle numeric string comparison better 2009-06-16 02:22:48 +00:00
193afb0567 added partial code to handle a numeric string better 2009-06-15 07:22:00 +00:00
f9bf649924 fixed bugs in awk
- added qse_awk_seterrinf() and qse_awk_geterrinf().
- deleted qse_awk_seterrmsg()
- fixed a bug in qse_awk_geterrmsg()
- fixed wrong handling of 'length'
- changed run_printf() to flush before returning
2009-06-15 02:40:52 +00:00
ee8f5ee6dd reverted to the previous way of input record handling 2009-06-13 06:58:50 +00:00
d6899c0b58 enhanced qse_awk_rtx_strtonum() to better determine the input record type. 2009-06-12 20:59:59 +00:00
9ee15f2e0a fixed a bug of not closing inherited file handles in qse_pio_open(). 2009-06-12 01:44:44 +00:00
fd1c529c46 fixed a few bugs in awk
- improved input console file and ARGV handling.
- fixed bugs in the builtin rand() function.
- added a new option to rex.
- fixed a control flow handling bug in for(x in y) of awk.
2009-06-11 07:18:25 +00:00
a326e5f17f fixed a bug in the builtin split() function 2009-06-10 07:07:42 +00:00
334b52900d adding code into pio.c for win32 2009-06-09 07:09:01 +00:00
769e4ec9b1 interim commit 2009-06-08 07:33:07 +00:00
ca2bb6155a updated code and docs 2009-06-08 07:09:14 +00:00
cc1438a2cf added more documentation with some code fix 2009-06-08 06:11:56 +00:00
a6c0d71710 fixed a minor problem in the Awk class and enhanced a test program for sed 2009-06-08 00:23:53 +00:00
df2c125673 updated lib/awk/Makefile.am 2009-06-07 23:07:34 +00:00
3ac15453b1 enhanced qse_timegm() further 2009-06-07 23:03:44 +00:00
08c1d422f3 enhanced qse_timegm 2009-06-07 07:42:57 +00:00
ebd6199812 changed Makefile.am and Awk.hpp 2009-06-06 06:48:15 +00:00
d1d0e06bb5 changed autoconf related files 2009-06-06 06:34:15 +00:00
922bbbef18 touched up code and docs 2009-06-05 07:36:02 +00:00
551e6f7c09 reorganized files 2009-06-04 15:50:32 +00:00
d50419267f updated documentation a bit 2009-06-04 06:33:47 +00:00
ae7e948fc5 added include/qse/config.h.in 2009-06-03 18:54:11 +00:00
6fb8e248cd regenerated autoconf files 2009-06-03 18:50:39 +00:00
71c7d7c877 removed libtool 2009-06-03 18:43:57 +00:00
dbc7a8fd3f added libtool 2009-06-03 18:41:30 +00:00
7307c3cc30 changed configure.ac for Doxyfile.in 2009-06-03 08:13:50 +00:00
2bd2f30828 added more documentation 2009-06-03 01:42:30 +00:00
a1bec8936b changed configure.ac for Doxyfile.in 2009-06-02 20:16:27 +00:00
0b8d9a9b87 documented code a little more 2009-06-02 19:40:23 +00:00
9fcfd0c0ba documented code a little 2009-06-02 07:33:01 +00:00
cd52c663cf simplified error formatting in qse_awk_t
- added qse_awk_errstr_t and related functions
- changed the Awk class
also fixed a minor bug in qse_awk_rtx_call()
2009-06-02 03:34:34 +00:00
3148407114 changed sed03.cpp for the wide character mode 2009-05-31 07:33:08 +00:00
d851798b3c enhanced qse_sed_t
- changed qse_sed_t to support arbitrary numbers of commands
- added qse_set_getmaxdepth() and qse_sed_setmaxdepth()
- added relevant wrapper functions to QSE::Sed
2009-05-30 23:29:06 +00:00
7875def835 touched code a little bit 2009-05-30 19:19:46 +00:00
7053747ab2 fixed bugs and added more features.
- fixed a bug in qse_sed_exec() to return success on flush() error
- added Sed::setError()
- completed a sample program sed03.cpp
2009-05-30 00:21:41 +00:00
0e679b0b7d fixed minor bugs 2009-05-29 08:12:09 +00:00
681d6f7068 added qse_sed_getlinnum() and qse_sed_setlinnum() 2009-05-29 07:00:56 +00:00
4914825a7a changed the author info 2009-05-29 00:37:25 +00:00
b4ff537d85 restructured the doc directory 2009-05-29 00:34:58 +00:00
9dfcf671a4 enhanced the Sed class with a few more methods 2009-05-28 23:00:24 +00:00
fb9cdaa1c0 added qse_sed_geterrstr() and qse_sed_seterrstr() 2009-05-28 07:58:27 +00:00
16f0580d75 added qse_sed_geterrstr() and qse_sed_seterrstr() 2009-05-28 07:55:17 +00:00
83a6e0d3b0 touched up code and documentation 2009-05-28 01:01:33 +00:00
502bab8e4e added code for the StdSed class 2009-05-27 07:29:47 +00:00
822c681691 changed Makefile.am 2009-05-27 05:44:27 +00:00
b010320498 added code to the Sed class 2009-05-26 07:39:18 +00:00
2a4dd14b2a fixed quite a few bugs and enhanced error handling in sed 2009-05-25 07:29:12 +00:00
78146a8f91 enhanced error handling 2009-05-23 19:47:43 +00:00
9fb84cf713 touched up code 2009-05-23 19:21:10 +00:00
f7d8234c21 touched up error handling in sed 2009-05-23 08:11:03 +00:00
4005bd68e8 touched up code 2009-05-22 00:50:02 +00:00
1893905652 improved error handling functions in sed 2009-05-22 00:17:17 +00:00
a4638abf6d fixed Makefile.am 2009-05-21 04:46:05 +00:00
b7f8bba219 added the Mmgr class and modifiled related classes 2009-05-21 04:44:47 +00:00
3ab1bfff92 added Sed.hpp and Sed.cpp 2009-05-20 23:26:47 +00:00
6ccadde5cf changed Makefile.am 2009-05-20 23:25:28 +00:00
04c20caf34 delete lib/utl/sed.* 2009-05-20 23:06:18 +00:00
2b15063478 deleted config.h.in 2009-05-20 23:05:43 +00:00
37f22b0f18 readded files omitted 2009-05-19 22:32:12 +00:00
6675603d47 finished support for stepping address and reorganized source code 2009-05-19 22:28:25 +00:00
ce5a13559c added partial support for the N~M address 2009-05-19 07:20:48 +00:00
37bdcd4fb2 fixed a few bugs in sed 2009-05-19 06:55:01 +00:00
acab50e08a fixed a minor bug in handle the D command in sed 2009-05-18 07:42:50 +00:00
bd6a54d00d added qse_str_del() and codede the D command in sed 2009-05-18 03:35:16 +00:00
f0b916ce81 cleaned up code 2009-05-17 07:49:41 +00:00
1eeeee562a coded more commands to sed 2009-05-17 07:09:59 +00:00
164b3d9a98 fixed a bug in AWK and enhanced sed
- awk: fixed a bug of not handling ^ in gsub(), split(), and FS.
- sed: added code for y and s command
2009-05-16 07:31:43 +00:00
b36f20a4a2 implemented w & W commands for sed 2009-05-15 05:28:56 +00:00
b0c9b08d56 added more commands 2009-05-14 07:22:36 +00:00
a512a77bba enhanced write_num() in sed 2009-05-13 21:51:05 +00:00
392d88ab7a added more commands for sed 2009-05-13 07:25:49 +00:00
6d68da1669 added more code 2009-05-11 07:27:35 +00:00
9d258def0e added more code 2009-05-10 08:46:26 +00:00
5aeac8aa19 enhanced address matching routines for sed 2009-05-09 08:06:13 +00:00
c221321cda removed qse_ccls_t and related functions and added qse_strtrm() 2009-05-08 07:15:04 +00:00
4896b3d82c added more code 2009-05-05 20:12:38 +00:00
01937d5282 implemented a and i 2009-05-05 07:49:26 +00:00
bafb6e59e9 wrote more code for sed 2009-05-03 06:16:24 +00:00
ddb5d309d4 implemented the q and Q command 2009-05-02 03:20:27 +00:00
5cddfbb7ef still a long way to finish sed 2009-04-17 06:59:24 +00:00
93ea3e255a resumed working on sed 2009-04-16 08:11:42 +00:00
8a46445be8 more code to sed 2009-04-10 23:00:00 +00:00
f46c63cddb redefined QSE_NULL for C++ 2009-04-03 01:09:10 +00:00
6b52dfe97e adding qse_sed_execute() 2009-04-02 19:15:45 +00:00
787ba46604 changed get_subst() to compile a regular expression 2009-03-31 09:00:18 +00:00
e04dafed4b fixed a bug in get_subst() for sed 2009-03-30 09:04:48 +00:00
cf12f0ae23 improved get_subst() for sed. work still in progress 2009-03-29 02:07:24 +00:00
d8a920e263 still working on sed 2009-03-27 08:02:50 +00:00
ba8bd06016 fixed a bug in handling a regular expression starting with a backslash.
- a regular expression like /\// could not be handled properly without 
this fix
2009-03-26 08:53:10 +00:00
ce46d8f641 writing get_subst() for sed 2009-03-25 19:40:58 +00:00
5ccbefe349 cleaned up code 2009-03-25 08:38:02 +00:00
1e45c03f82 added new string functions and fixed get_file_name() for sed
- added qse_str_setlen() & qse_str_getlen()
- changed get_file_name() to ignore trailing spaces of a file name.
2009-03-24 23:52:27 +00:00
d3534abd0f fixing get_file_name() of sed 2009-03-24 19:44:31 +00:00
796a10fc92 made sed to compile r, R, w, W 2009-03-24 06:49:05 +00:00
b3dfc9d07b made minor changes 2009-03-23 09:05:43 +00:00
342b3c9db6 working on sed 2009-03-22 03:19:28 +00:00
3eb225fd22 enhanced code a little 2009-03-19 08:25:27 +00:00
9a4897ee91 cleaned up code 2009-03-19 04:08:23 +00:00
f48ae81fa6 changed code to compile more command codes in sed 2009-03-19 02:20:33 +00:00
5819dba1f9 added branch target processing to sed 2009-03-18 08:44:21 +00:00
ad5251570f implementing sed 2009-03-16 08:36:05 +00:00
69f02f9c8d added a few more lines of code to sed 2009-03-14 21:14:39 +00:00
1167325005 added more commands to sed 2009-03-12 07:32:31 +00:00
2e818033c9 sed - enhanced a function to get text following 'a', 'i', 'c'. 2009-03-11 07:38:35 +00:00
791565aa2b interim commit 2009-03-11 04:39:18 +00:00
94ad148625 added the QSE_CHROOT() macro 2009-03-05 18:13:41 +00:00
25288e45ad changed sed a litte 2009-03-05 04:40:20 +00:00
fc2877524c interim commit 2009-03-03 08:13:47 +00:00
a66c49812c started adding sed code 2009-03-02 21:44:36 +00:00
faf9c80f3f fixed a bug in run_delete() 2009-03-02 21:34:43 +00:00
8e221ca599 cleaned up code 2009-03-02 08:54:28 +00:00
004ba389f2 documented qse_awk_rtx_valtostr() and renamed qse_awk_rtx_valtostrdup()
to qse_awk_rtx_valtocpldup()
2009-03-02 03:58:19 +00:00
0b89f7e322 changed code for new qse_awk_valtostr().
- fixed a bug in shorten_record() in awk/run.c
- added qse_awk_valtostrdup()
- added qse_awk_rtx_alloc ()
- added qse_awk_rtx_free ()
2009-03-01 09:27:03 +00:00
283bcfb2ea making changes caused by changes in qse_awk_rtx_valtostr() 2009-03-01 02:44:21 +00:00
462677bb9f cleaning up code 2009-02-28 20:18:00 +00:00
3ca13066a9 added qse_awk_rtx_getxtnstd() and enhanced qse_awk_rtx_openstd() 2009-02-27 06:55:05 +00:00
651f6d2dfa added qse_awk_getxtnstd() and enhanced qse_awk_openstd() 2009-02-27 04:56:12 +00:00
58a47ba425 cleaned up code 2009-02-26 04:35:22 +00:00
6df7f43935 added qse_strspltr() 2009-02-25 08:05:17 +00:00
d74fa84265 cleaned up code 2009-02-25 04:07:01 +00:00
0cedc33a2c added missing entries into Makefile.am 2009-02-24 21:57:28 +00:00
a0e3b67946 cleaned up code 2009-02-24 08:03:28 +00:00
8af127910b cleaned up code 2009-02-23 18:57:18 +00:00
7662c70660 set properties some files 2009-02-23 08:18:06 +00:00
d0ce35eacf enhanced and fixed a few functions.
- qse_awk_rtx_call()
- qse_awk_parsesimple() 
- qse_awk_parsesimple_in_t
- qse_awk_parsesimple_out_t
2009-02-23 08:10:34 +00:00
2e24e29e8c enhanced qse_awk_parsesimple() more 2009-02-22 08:16:35 +00:00
82cbaab6f2 enahnced qse_awk_parsesimple() 2009-02-22 06:28:02 +00:00
770cff61c5 changed robodoc configuration. 2009-02-21 23:06:45 +00:00
70b517578e deprecated QSE_AWK_BASEONE 2009-02-18 07:55:48 +00:00
c3b04c6fc1 fixed a bug of not setting console output properly 2009-02-18 04:39:14 +00:00
d3e69f1d23 fixed a bug of not handling console output properly in
qse_awk_rtx_opensimple()
2009-02-18 04:37:34 +00:00
d7d223cd7e added license information 2009-02-17 23:19:13 +00:00
80dfcd497c documented the source code a little bit 2009-02-17 21:27:03 +00:00
fed0a952ab fixed a bug in qse_awk_rtx_call() 2009-02-17 19:41:53 +00:00
b9958d4ff7 added one more test program for awk 2009-02-17 08:22:42 +00:00
5570b60ef2 added a simple test program for awk 2009-02-17 08:00:01 +00:00
26b4ecd16e cleaned up code 2009-02-17 02:11:31 +00:00
66b21c8eab redefined runtime io handlers 2009-02-16 08:31:34 +00:00
3ab84046b7 enhanced code
- changed qse_strfcpy() and qse_strxfcpy() to accept a string array
- removed the data field from qse_awk_prm_t
- made relevant changes
2009-02-15 08:38:00 +00:00
c86350bfde added new string copy functions with simple formatting and changed awk
error formatter accordingly.
- added qse_strfncpy() and qse_strxfncpy().
- qse_awk_seterror() and qse_awk_rtx_seterror utilize qse_strxfncpy().
2009-02-15 03:14:49 +00:00
10adba9ed0 added new functions
- qse_strxfcpy(), qse_strfcpy()
cleaned up code a little
- renamed a few functions. qse_awk_strtok() to qse_awk_rtx_strtok(), etc
2009-02-15 00:21:19 +00:00
172725273c deprecated qse_awk_runsimple() and created qse_awk_rtx_opensimple()
- still need to clean up qse_awk_rtx_opensimple
- deprecated on_start and on_end in qse_awk_rcb_t
- modified other parts according to the changes
2009-02-14 04:57:09 +00:00
527e1a23de renamed qse_awk_rtx_setcb() to qse_awk_rtx_setrcb() 2009-02-13 19:23:56 +00:00
9d6816c51c created a function to set callback after context creation.
- qse_awk_rtx_setcb(), qse_awk_rtx_getcb()
2009-02-13 08:23:35 +00:00
464f43b821 fixed minor bugs and cleaned up code 2009-02-13 04:55:25 +00:00
924f940fba cleaned up code a little
- deleted the QSE_AWK_ARGSTOMAIN option.
- enhanced qse_awk_call() a little
2009-02-12 08:23:50 +00:00
44d4f890f4 restructured runtime context functions to support more flexibility
- New functions include: 
    qse_awk_rtx_open ()
    qse_awk_rtx_close ()
    qse_awk_rtx_loop ()
    qse_awk_rtx_call ()
- deprecated qse_awk_run ()
2009-02-12 04:46:24 +00:00
0f4fcd737e added license information into some missed files 2009-02-11 04:31:44 +00:00
79c1d6b861 added a bit of code into sed 2009-02-10 08:14:00 +00:00
b1211d6e58 added some routines to qse_sed_c 2009-02-09 08:40:19 +00:00
41b324b7a7 updated qse_sed_t a little 2009-02-07 22:06:16 +00:00
4536d7308f interim commit. added some code for qse_sed_t 2009-02-06 08:39:36 +00:00
a76f07bc88 corrected license information 2009-02-04 08:39:21 +00:00
27c13aabf7 started working on a stream editor (qse_sed_t) 2009-02-04 08:29:11 +00:00
9b994d4a7c enhanced the awk parser a little 2009-02-04 00:26:06 +00:00
14bc247637 cleaned up code a little 2009-02-03 03:54:32 +00:00
1201d2890b renamed some functions, variables, definitions, etc to shorten names.
- renamed global to gbl
- renamed local to lcl
2009-02-02 08:28:04 +00:00
0836d3e319 added more documentation 2009-02-02 04:12:49 +00:00