Commit Graph

473 Commits

Author SHA1 Message Date
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
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
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
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
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
d9f961c6c3 added qse_awk_rtx_setprm().
changed some module functions to use referenced argument
2013-01-05 14:38:30 +00:00
e957f7a1a1 revised some documentation 2012-12-30 06:20:08 +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
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
cfc71b3f80 updated doxyfile and added some bakefile description 2012-12-12 15:21:37 +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
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
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
105c862230 fixed error handling in qse_dir_init() 2012-11-16 17:11:18 +00:00
b94dd042c5 changed qse_ntime_t to a structure and made related changes 2012-11-11 16:07:34 +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
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