Commit Graph

129 Commits

Author SHA1 Message Date
26440f1a96 removed unnecessary code in some initialization code.
added errnum to some open functions
2015-06-12 13:11:50 +00:00
7706db354e fixed building problems with old compilers 2015-03-23 15:14:43 +00:00
756a93ff41 renamed Awk::uponDemise() to Awk::uponClosing and added Awk::uponClearing() 2015-03-12 06:39:16 +00:00
0355e4e96e added more constructors to Cstr, Mcstr, Wcstr 2015-03-12 02:14:13 +00:00
47a7baeb7d added the Awk::onDemise() callback 2015-03-12 02:08:51 +00:00
a212a8ebf2 changed Awk to use HashTable instead of htb.
added Cstr, Mcstr, Wcstr.
changed Awk not to use in-class placement new in allocating a value
2015-03-11 13:33:23 +00:00
9a3ca2e3c1 changed Awk and Sed to inherit Uncopyable 2015-03-10 09:00:21 +00:00
56e5b5191b switched the license to BSD 2014-11-19 14:42:24 +00:00
84798f4fd0 changed functions and macros related to quick integer handling 2014-10-23 09:30:22 +00:00
fe1ff5cdba added qse_awk_rtx_getvaltype() and qse_awk_rtx_getintfromval() macros 2014-10-22 17:05:45 +00:00
efc8d5ceb4 touched up some code 2014-07-11 14:17:00 +00:00
fdce5fc592 migrated rand(), srand(), system() to modules 2014-07-11 07:42:28 +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
7423092c39 removed most math functions from the main engine. migrated them to the math module 2014-07-01 15:27:27 +00:00
d40eb87b85 exposed math functions as math::xxxx 2014-06-08 12:46:04 +00:00
a89cd70ddb updated copyright notice 2013-12-31 10:24:12 +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
91c9182ad7 enhanced __float128 handling
added qse_strvfmt() and qse_strxvfmt()
2013-11-03 16:01:39 +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
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
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
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
b94dd042c5 changed qse_ntime_t to a structure and made related changes 2012-11-11 16:07:34 +00:00
a3ee069804 simplified some functions 2012-11-06 04:30:35 +00:00
3f99d7ac3d added qse_awk_fnc_spec_t.
renamed qse_awk_mod_info_t to qse_awk_mod_spec_t
2012-11-03 17:44:23 +00:00
7557b22cb8 enhanced module handling 2012-11-02 14:08:46 +00:00
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
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
31edff2391 enhanced function call code to support module calls.
added libltdl into configure.ac, thus to the project
2012-10-23 17:08:56 +00:00
ff13bf4668 added qse_awk_setopt()/qse_awk_getopt().
deleted qse_awk_getoption()/qse_awk_setoption()/qse_awk_setmaxdepth()/qse_awk_getmaxdepth().
redefined enumeration types related to the functions added or deleted above.
moved fnc_sleep from cmd/awk/awk.c to mod/awk/sys.c
managed to get external module call working in the primitive level
2012-10-21 16:19:03 +00:00
ec5537a35f cleaned up $ 2012-08-16 03:47:55 +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
1c1cb83bb1 Added ARGC, ARGV, ENVIRON, PROCINFO to StdAwk. Still pending setioattr and getioattr 2012-08-07 09:56:53 +00:00
17a8a3039d Added some c++ code to implment missing features from the std(c) implementation. not completed yet 2012-08-06 14:38:09 +00:00
3c326c599f added qse_pma_clear() and updated the copyright notice 2012-07-20 04:13:39 +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
ada60acf67 enhanced win32 utf8 console hack in sio 2012-02-25 14:52:26 +00:00
e7b5bfaf4b enhanced httpd directory listing 2012-01-26 14:19:48 +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
350c75434c fixed a minor build issue with mingw64.
renamed qse_real_t to qse_flt_t
2011-11-22 05:03:31 +00:00
595aab7555 enhanced a few code segments that convert a digit to a number 2011-11-09 00:54:27 +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
6aba3f8f89 integrated Ville Laurikari's TRE 2011-09-01 09:43:46 +00:00
5464fecddc added qse_awk_valtolong() and qse_awk_valtoreal() for convenience 2011-07-25 08:24:13 +00:00
59afc79821 added floating-pointer remainder handler for qse_awk_t 2011-07-24 03:03:48 +00:00
b08ebd719c added qse_ubi_t
separated task functions from httpd.c to httpd_task.c
2011-07-21 10:17:16 +00:00