179 Commits

Author SHA1 Message Date
fc20cb22ea added urs.prerewrite() 2014-09-01 17:37:08 +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
82a639045f changed to prototype of qse_mmgr_t function to accept mmgr itself instead of mmgr->ctx and fixed a memory leak bug under a certain failure condition 2014-07-09 15:01:16 +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
0c5d9eee9c added math::acos, math::asin, math::ceil, math::floor, math::round, math::sinh, math::cosh, math::tanh to awk 2014-06-30 02:30:49 +00:00
257dbbb586 fixed definitions of INLINE macros for old gcc 2014-04-21 15:34:57 +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
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
2a5dd843dd enhanced qse_awk_flt_t handling 2013-11-05 02:53:01 +00:00
ca1d1ede66 changed awk to less sensitive about encoding when loading environment.
fixed a bug of setting encoding wrongly with --script-encoding in cmd/awk/awk.c
2013-11-04 17:37:08 +00:00
9588bf2910 enhanced va_copy detection 2013-11-04 02:33:52 +00:00
91c9182ad7 enhanced __float128 handling
added qse_strvfmt() and qse_strxvfmt()
2013-11-03 16:01:39 +00:00
636967779d enhanced line breaking in sio 2013-10-21 14:53:53 +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
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
b6b18918b9 changed awk modules to hard-fail when qse_awk_setrefval() fails 2013-04-20 01:57:50 +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
847a08c455 enhanced cmd/http/httpd.c to load host/location-specific configuration data 2013-03-11 16:34:41 +00:00
394cb34c04 fixed build files and renamed std.h to be more specific 2013-02-22 03:18:42 +00:00
60255caf39 added more code to xli 2013-02-06 14:31:32 +00:00
2402f6f92b added build files for msdos extenders 2013-02-02 03:49:28 +00:00
92e4134b7d added qse_sed_getspace(), qse_sed_allocmem(), qse_sed_reallocmem(), qse_sed_callocmem(), qse_sed_freemem() 2013-01-13 09:04:54 +00:00
ef6d295cac revised docs 2013-01-12 16:46:12 +00:00
dfafdc4656 fixed some sample files for updated function usage 2013-01-08 05:51:58 +00:00
2624acb308 enhanced Awk and StdAwk to be able to handle argument reference 2013-01-07 08:33:48 +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
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
cfc71b3f80 updated doxyfile and added some bakefile description 2012-12-12 15:21:37 +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
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
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
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
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
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
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