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
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
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
b907296f4a
touched up qse_task_t
2012-10-15 09:36:39 +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
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
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
fde4ee404b
added an experimental and incomplenet glob function
2012-08-30 16:36:37 +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
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
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