Commit Graph

104 Commits

Author SHA1 Message Date
bc3173d74a added the typename() builtin awk function and qse_awk_rtx_getvaltypename() 2019-04-26 16:55:57 +00:00
7811171dff fixed StdAwk to set the MODPREFIX when dlfcn is activated.
added Awk::getCmgr()
enhanced some string functions to handle byte strings
2019-04-23 15:32:23 +00:00
c80f179366 fixed the bug of affecting the parameter in toupper and tolower in awk.
also enhanced them to support byte strings
2019-04-22 09:03:02 +00:00
b86ea48c86 enhanced sprintf to format a byte string when format is a byte string 2019-04-22 07:44:57 +00:00
eed3853765 added quite some code to handle byte string I/O 2019-04-21 05:44:53 +00:00
07be5e22d7 added quite some code for handling mbs in awk 2019-04-18 08:42:54 +00:00
f90ca01493 added qse_str_ncatwcs()/qse_str_ncatmbs() 2019-04-17 16:33:30 +00:00
f16437d7c0 writing mbs_to_str() in awk/val.c 2019-04-15 15:36:23 +00:00
711320d847 added more byte array handling code 2019-04-15 08:43:57 +00:00
81cbac9e4d added qse_awk_wcsxtoint()/qse_awk_mbsxtoint() and made qse_awk_strtointo() a macro
added qse_awk_wcsxtoflt()/qse_awk_mbsxtoflt() and made qse_awk_strxtoflt() a macro
enhanced qse_awk_rtx_valtonum() to handle a byte array
2019-04-15 04:30:49 +00:00
5e0754e607 trying to implement byte array in awk 2019-04-14 16:17:12 +00:00
bda9213f86 placed basic hash macros in qse/hash.h 2019-03-05 08:21:01 +00:00
1aea9f4492 some use of sdbm hash 2019-03-01 09:27:03 +00:00
448735d4cb removed a few global variables including qse_awk_val_zero, qse_awk_val_one, qse_awk_val_negone. substituted QSE_AWK_VAL_ZERO/ONE/NEGONE marcos.
redefined QUICKINT related macros
2018-11-15 06:27:42 +00:00
5743a341cc changed the second parameter of qse_awk_rtx_strtonum() to accept the base value on top of the 'strict' conversion bit.
enhanced awk's str::tonum() to accept the optional base parameter
2018-09-26 05:41:37 +00:00
66dfa3a2fd did more migrating works 2016-04-29 03:55:42 +00:00
1963e62006 enhanced qse_awk_rtx_strtonum() to handle a numeric string like 0999.112 as a floating point number 2015-07-16 03:03:51 +00:00
56e5b5191b switched the license to BSD 2014-11-19 14:42:24 +00:00
2218670769 changed how to compare a map against data of other types.
fixed some problems in handling nonblocking connect and send with watt-32
2014-10-23 16:09:05 +00:00
84798f4fd0 changed functions and macros related to quick integer handling 2014-10-23 09:30:22 +00:00
aed205c298 changed awk to represent an integer of a certain range in a pointer directly 2014-10-23 09:18:49 +00:00
fe1ff5cdba added qse_awk_rtx_getvaltype() and qse_awk_rtx_getintfromval() macros 2014-10-22 17:05:45 +00:00
4de030f8a3 changed awk to convert a map to the size of the map in a scalar context.
allowed @include inside a normal block
2014-10-22 01:34:37 +00:00
36b20b4169 renamed qse_xstr_t to qse_cstr_t 2014-07-08 14:30:42 +00:00
a3453e5bd0 remove qse_cstr_t and related types. switched all existing references to qse_cstr_t and its family 2014-07-02 12:28:58 +00:00
7cc9a56d83 added qse_awk_val_fun_t 2014-02-22 14:34:45 +00:00
d49fd50ecc added sed::str_to_str to the sed module for awk
fixed some build issues on legacy systems
2014-02-20 05:29:32 +00:00
2e9bb90c39 added qse_awk_rtx_getvalstr() and qse_awk_rtx_freevalstr().
changed some code to use the 2 new functions.
added the sed module to awk. incomplete yet
2014-02-19 15:24:33 +00:00
a89cd70ddb updated copyright notice 2013-12-31 10:24:12 +00:00
8e6e7f29a6 touched up gdl.h 2013-11-26 13:47:58 +00:00
ea55e0d7ee added a build option to use qse_intmax_t for integers in awk.
made relevant changes to support the option
2013-11-05 14:16:45 +00:00
9588bf2910 enhanced va_copy detection 2013-11-04 02:33:52 +00:00
aaf73a86f5 fixed wrong return values of qse_fmtout 2013-10-28 09:40:25 +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
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
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
bad915cc55 added some code for integrating TRE into awk 2013-04-06 13:39:56 +00:00
847a08c455 enhanced cmd/http/httpd.c to load host/location-specific configuration data 2013-03-11 16:34:41 +00:00
2624acb308 enhanced Awk and StdAwk to be able to handle argument reference 2013-01-07 08:33:48 +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
eb944bbf95 touched up some source files for borland and msvc.
added more options to bakefile description
2012-12-13 13:07:16 +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
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
105c862230 fixed error handling in qse_dir_init() 2012-11-16 17:11:18 +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
acdd3a7a1c prefixed many functions and classes with QSE_EXPORT 2012-11-01 15:03:02 +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