163 Commits

Author SHA1 Message Date
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
18ab6aaf8d enhanced parsing getline
added qse_cstrdup()/qse_wcstrdup()/qse_mcstrdup()
2012-10-28 14:46:37 +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
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
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
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
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
998799bd4a added getioattr and setioattr to StdAwk. still pending nwio 2012-08-08 07:06:52 +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
785c95b1e6 moved ARGC and ARGV to base to std for simplication of the base implementation.
note C++ wrappers need the same changes
2012-08-05 08:56:42 +00:00