149 Commits

Author SHA1 Message Date
4195be2c84 fixed wrong parsing of length() 2014-08-27 17:39:03 +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
22444e298a changed some comments 2014-07-02 13:59:32 +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
cfb3eb93ec fixed a minor utf8 check bug.
fixed static linking problem regarding the seq module for awk
2014-03-31 01:45:18 +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
8e6e7f29a6 touched up gdl.h 2013-11-26 13:47:58 +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
9588bf2910 enhanced va_copy detection 2013-11-04 02:33:52 +00:00
d841c9f62f changed awk to handle IGNORECASE with a regular expression engine that doesn't have a run-time option but has a compile-time option 2013-08-23 15:19:29 +00:00
15300bfcfc fixed a bug of not setting the last character properly upon EOF in get_char() of awk and xli 2013-05-15 15:08:39 +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
e01ac6bbac enhanced awk error codes for more consistency 2013-04-19 15:06:52 +00:00
bad915cc55 added some code for integrating TRE into awk 2013-04-06 13:39:56 +00:00
5bc774db3a revising httpd 2013-02-18 13:45:50 +00:00
60255caf39 added more code to xli 2013-02-06 14:31:32 +00:00
ee2d918538 started working on xli 2013-02-05 15:04:15 +00:00
12b8ad7cc9 fixed a couple of awk parsing bugs
- lost token in an expression like bash | xyz + 20 for the way preget_token() was used.
- wrong redirection handling in an expression like print 1,2,3 > (4)
2013-02-04 09:19:17 +00:00
0048331293 fixed some hiccups in bakefile description 2013-02-02 17:21:52 +00:00
2402f6f92b added build files for msdos extenders 2013-02-02 03:49:28 +00:00
7aa63462f1 implemented static linking of awk modules 2013-02-01 14:30:25 +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
b8c66b5b8d added qse_dir_geterrnum() 2012-12-25 14:10:02 +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
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
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
a3ee069804 simplified some functions 2012-11-06 04:30:35 +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
acdd3a7a1c prefixed many functions and classes with QSE_EXPORT 2012-11-01 15:03:02 +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
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