Commit Graph

1690 Commits

Author SHA1 Message Date
be129e743b removed stdio.h stdio.c 2013-11-03 16:48:20 +00:00
91c9182ad7 enhanced __float128 handling
added qse_strvfmt() and qse_strxvfmt()
2013-11-03 16:01:39 +00:00
fa47ad2965 enhanced qse_str_fmt() 2013-10-30 13:50:21 +00:00
d97ef30707 added qse_str_fcat() 2013-10-30 05:53:54 +00:00
7074b0c389 reorganized str-dyn files 2013-10-29 14:14:43 +00:00
aaf73a86f5 fixed wrong return values of qse_fmtout 2013-10-28 09:40:25 +00:00
1a0dc68fa3 changed not to use the opposite type when outputting the padding character 2013-10-27 17:14:19 +00:00
198bd714b0 started writing qse_strfmt()/qse_strxfmt() and the famaily 2013-10-24 14:55:15 +00:00
636967779d enhanced line breaking in sio 2013-10-21 14:53:53 +00:00
a629a06cdc fixed some build problems 2013-10-21 08:39:53 +00:00
f95e8594b8 added more sio functions 2013-10-20 15:22:44 +00:00
8b0e522b27 added some convenience routines into sio 2013-10-20 14:14:10 +00:00
abff341236 added fmt.h 2013-10-20 12:39:31 +00:00
bd3502f7e9 added qse_sio_putmbsf(), qse_sio_putwcsf(), qse_sio_putstrf() 2013-10-19 03:39:10 +00:00
35e9b1777f enhanced xprintf 2013-10-16 15:32:51 +00:00
b70e378041 added some code to format floating-point numbers 2013-10-15 16:35:23 +00:00
99ac89fc57 fixed more bugs in printf.c/printf.h 2013-10-14 16:33:21 +00:00
fde2e1a3b0 enhanced formatted output function 2013-10-12 17:04:21 +00:00
561dbe49f5 added qse_strjoin()/qse_strxjoin() and variants 2013-10-11 13:43:29 +00:00
e7b4e7012c added experimental and incomplete xprintf function. 2013-09-30 14:55:58 +00:00
fd4f25d330 fixed a bug in xli reader 2013-09-27 16:19:44 +00:00
ef25755996 added QSE_XLI_KEYTAG 2013-09-25 06:40:40 +00:00
abcf8988a5 added QSE_XLI_STRTAG and changed related functions and defintions 2013-09-24 14:02:06 +00:00
84aca0ecb1 added QSE_XLI_NOLIST and QSE_XLI_NONIL 2013-09-23 14:06:25 +00:00
72fd080f70 added qse_getxlirootxtn(), QSE_XLI_ROOTXTNSIZE as well as the rootxtnsize parameter to multiple initialization functions 2013-09-20 07:18:26 +00:00
99d0e04879 added QSE_XLI_LEADDIGIT.
enhanced keyword and identifier scanning for xli
2013-09-17 01:28:04 +00:00
3d6f9af82b added qse_freexliroot() and qse_xli_yeildroot().
changed qse_xli_getpairxtn() to qse_getxlipairxtn()
2013-09-16 14:32:50 +00:00
c1c1f203ee added QSE_XLI_MULSEGSTR 2013-09-16 13:33:51 +00:00
cb170d2e7a add QSE_XLI_PAIRXTNSIZE and qse_xli_getpairxtn() 2013-09-16 11:03:44 +00:00
7e98acf59f added check for HAVE_LINUX_NETFILTER_IPV4_H 2013-09-13 07:14:08 +00:00
ab062079d6 added the check for sin6_scope_id 2013-09-13 06:42:07 +00:00
cad563503a renamed QSE_MSTRTONUM()/QSE_WSTRTONUM() to QSE_MBSTONUM()/QSE_WCSTONUM() 2013-09-11 09:15:22 +00:00
822bcf3afb enhanced get_highest_fd().
fixed an inifite looping bug in pio with posix_spawn() used
2013-09-11 09:14:29 +00:00
04e6df3dd8 enhanced qse_mbsxsubst() and qse_wcsxsubst() for buffer size prediction 2013-09-09 05:47:54 +00:00
88266f1b2e updated Makefile.am 2013-09-08 17:27:54 +00:00
5734b05114 enhanced qse_strxsubst().
added qse_strxnsubst()
2013-09-08 17:26:43 +00:00
f1485520ea deleted private fields from qse_httpd_task_t and created qse_httpd_real_task_t for better encapsulation 2013-08-24 15:16:20 +00:00
035a4329bd deleted stx directories 2013-08-24 14:04:12 +00:00
d841c9f62f changed awk to handle IGNORECASE with a regular expression engine that doesn't have a run-time option but has a compile-time option 2013-08-23 15:19:29 +00:00
47677ca566 minor touch-ups 2013-07-24 04:10:02 +00:00
d47976d218 fixed the error string table 2013-07-22 13:27:00 +00:00
462c891e1d added qse_xli_insertpairwithstrs().
renamed qse_xli_getnumpairs() to qse_xli_countpairs().
reworked qse_xli_findpair() and qse_xli_countpairs()
2013-07-15 06:52:06 +00:00
2b58fc6fe3 added qse_xli_definepair() and qse_xli_undefinepair().
renamed some xli functions.
updated cmd/httpd to utilize qse_xli_definepair()
2013-07-12 15:37:29 +00:00
67c47e906d started adding simple xli validation 2013-07-11 16:55:08 +00:00
2bccba995c fixed a xli reader bug of not placing the comment text inside a proper list 2013-07-02 13:10:11 +00:00
d2505bdbcd added code to accept a number as a xli value.
renamed pair->name to pair->alias and related functions.
enhanced xli reader to support string escaping
2013-07-01 15:16:19 +00:00
3e21bc4f98 made changes to clear errors before reading and writing xli 2013-07-01 09:29:08 +00:00
d8cb7f4ef1 fixed the xli writing bug of not writing multi-segment string properly and added qse_xli_clearwionames() 2013-07-01 09:26:39 +00:00
6f965a75d9 added qse_xli_dupflatstr() and renamed qse_xli_addnextsegtostr() to qse_xli_addsegtostr().
made relevant changes to cmd/httpd/httpd.c for the change of qse_xli_str_t
2013-07-01 09:10:13 +00:00
aeb9b79220 changed the structure of qse_xli_str_t. this breaks cmd/httpd/httpd.c
finished the xli output functions mostly
2013-06-29 17:01:32 +00:00
8b305fb6a7 some more code for writing xli 2013-06-29 04:17:32 +00:00
f8e8924c2d added more xli output code 2013-06-27 15:18:33 +00:00
e7b5352046 added QSE_XLI_KEEPTEXT and QSE_XLI_KEEPFILE and implemented these options 2013-06-23 14:44:29 +00:00
a218958f51 added qse_xli_getroot() and started implementing qse_xli_write() 2013-06-01 13:34:57 +00:00
fc18cd2db6 enhanced split(),ENVIRON,ARGV in awk to build a numeric string if a string can be converted to a number 2013-05-29 08:46:23 +00:00
15300bfcfc fixed a bug of not setting the last character properly upon EOF in get_char() of awk and xli 2013-05-15 15:08:39 +00:00
caf3cf8171 fixed more file inclusion bugs 2013-05-15 14:20:29 +00:00
639391d887 added QSE_SIO_KEEPPATH and qse_sio_getpath().
fixed a file inclusion bug in awk and xli
2013-05-15 12:05:24 +00:00
8bc5ea07e3 added the auth-rule option to httpd 2013-04-23 08:21:26 +00:00
b6b18918b9 changed awk modules to hard-fail when qse_awk_setrefval() fails 2013-04-20 01:57:50 +00:00
e01ac6bbac enhanced awk error codes for more consistency 2013-04-19 15:06:52 +00:00
3d813a1bf1 amended the reference handling in Awk.cpp.
added str::index() and str::rindex().
enhanded qse_awk_rtx_valtobool().
removed QSE_AWK_NCMPONSTR from QSE_AWK_CLASSIC.
added QSE_AWK_NCMPONSTR to QSE_AWK_MODERN.
2013-04-16 15:30:37 +00:00
23d316a659 enhanced qse_awk_rtx_setrefval() to handle references properly
enhanced qse_awk_rtx_valtostr() and qse_awk_rtx_valtonum() to handle references more correctly.
changed some awk error codes.
2013-04-16 10:09:24 +00:00
d5cca9d524 added qse_awk_rtx_ecb_gblset_t.
fixed a bug of returning an error when it must not in get_reference() in awk/run.c
2013-04-15 13:18:03 +00:00
d6208e893e added max-nofile and max-nproc to httpd 2013-04-13 05:22:41 +00:00
45b26152e3 fixed a potential problem in ssl 2013-04-08 08:11:19 +00:00
987c2cdbae added 1 more test case for qse_dir_t 2013-04-07 01:53:54 +00:00
bad915cc55 added some code for integrating TRE into awk 2013-04-06 13:39:56 +00:00
75bf46e051 changed default style for directory listing and error pages 2013-04-05 01:07:45 +00:00
33d7fd632c implemented QSE_DIR_SORT.
changed the way directory listing is formatted.
2013-04-04 15:04:45 +00:00
010b5fb9c0 fixed a wrong data type of a parameter passed to ioctl.
fixed the segfault when no host configuration is in the configuration file
2013-04-02 14:28:33 +00:00
15924c72cd updated some build files 2013-04-02 12:09:01 +00:00
8363f28e47 escaped path names when listing a directory.
added qse_httpd_escapehtml()
2013-03-31 15:19:24 +00:00
28119c7289 enhanced qse_httpd_entaskfile() and qse_httpd_entaskdir() to handle more methods.
added qse_httpd_entaskallow().
removed some unused functions.
2013-03-28 09:43:59 +00:00
595e3be043 added some code for handling the PUT method 2013-03-26 16:29:26 +00:00
597824fc89 changed the request inspection order for resource making 2013-03-24 16:35:44 +00:00
433b0da96d deleted QSE_HTTPD_SERVERSTD_EXPECT100 and improved 'Expect:' handling to return '417 Expectation Failed' for unknown expecttion 2013-03-22 14:48:57 +00:00
d5603febaa added QSE_HTTPD_SERVERSTD_EXPECT100 2013-03-22 12:45:39 +00:00
0ae8ba8f28 fixed a minor ssl handling issue 2013-03-21 12:51:13 +00:00
52071e8ab0 changed method checking for discarding contents 2013-03-14 06:51:43 +00:00
5777602a01 enhanced the httpd proxy code to add 'Via:' if QSE_HTTPD_PROXYNOVIA is not set 2013-03-14 06:33:54 +00:00
4d8c02588f moved the directory end check and redirection from httpd-dir.c to httpd-std.c 2013-03-14 02:41:24 +00:00
e02ee7b452 fixed a path matching bug in httpd 2013-03-14 02:10:39 +00:00
a90299e9ce enhanced httpd to relocate when an index file is found for a directory.
enhanced httpd to match host names better
2013-03-13 16:50:18 +00:00
5584375bf3 added lib/xli/std.c 2013-03-13 15:57:50 +00:00
d5efa32446 changed configure.ac not to add pthread options to cflags by default 2013-03-13 15:51:44 +00:00
847a08c455 enhanced cmd/http/httpd.c to load host/location-specific configuration data 2013-03-11 16:34:41 +00:00
357aec132a added qse_xli_getnumpairsbyname() 2013-03-10 16:25:36 +00:00
096628f7a7 added qse_httpd_serverstd_ssl_t 2013-03-04 04:46:22 +00:00
d0897866a4 changed makefile.am to make awk modules installable with 'install-exec' 2013-02-28 17:49:12 +00:00
a426fe24f4 fixed some cross-compiling problems in build files
- specifying $(includedir) to AM_CPPFLAGS caused problems when --prefix was set to /usr during cross-compliation since header files for the cross compiler conflicted with files in $(includedir)=/usr/include. 
- the same applies to $(libdir) in LDFLAGS or something similar
2013-02-26 18:31:38 +00:00
b4e1c58553 renamed samples/cmn/env.c to samples/cmn/env01.c 2013-02-26 09:24:35 +00:00
e24161d184 added -n to qsehttpd 2013-02-23 16:15:27 +00:00
7984b065e1 fixed a segfault issue in httpd 2013-02-22 10:59:40 +00:00
9e2010f85c added qse_httpd_serverstd_realm_t and qse_httpd_serverstd_auth_t 2013-02-22 08:56:34 +00:00
f3d6d8a0e1 added -x to cmd/httpd.c 2013-02-22 05:08:22 +00:00
624a917b45 removed many debugging messages from httpd 2013-02-22 05:01:33 +00:00
394cb34c04 fixed build files and renamed std.h to be more specific 2013-02-22 03:18:42 +00:00
779d7bc375 added qse_httpd_serverstd_root_t 2013-02-21 15:49:49 +00:00
b420a7c0dc added file-access and dir-access to cmd/http/httpd.c 2013-02-21 15:00:08 +00:00
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