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
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
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
8f1e15366d
Added QSE_AWK_TOLERANT
2012-08-17 06:53:17 +00:00
ec5537a35f
cleaned up $
2012-08-16 03:47: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
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
3c326c599f
added qse_pma_clear() and updated the copyright notice
2012-07-20 04:13:39 +00:00
b903f8ebb5
added qse_awk_rtx_pushrcb() and qse_awk_rtx_poprcb().
...
deleted qse_awk_rtx_setrcb() and qse_awk_rtx_getrcb().
added 'close' to qse_awk_rcb_t
added builtin functions 'setenc' and 'unsetenc' to awk/std.c
added qse_getcmgrbyname()
added builtin functions 'setenc' and 'unsetenc' to awk/StdAwk.cpp
2012-01-17 16:45:01 +00:00
7f0ad74286
fixed a bug of not checking the return value of wcrtomb properly in qse_wcrtomb().
...
fixed a bug of passing a wrong buffer to qse_wcrtomb() in qse_wcsntombsn().
enhanced qse_tio_writembsn() and qse_tio_writewcsn()
2011-12-13 15:48:00 +00:00
350c75434c
fixed a minor build issue with mingw64.
...
renamed qse_real_t to qse_flt_t
2011-11-22 05:03:31 +00:00
2c4ed8caf9
* added QSE_MBLEN_MAX
...
* added qse_getcclsid() and related functions
* added qse_isblank() and realted code
2011-08-22 23:26:26 +00:00
4403c33aea
* changed the explicit concatenation operator from a period to %% for qse_awk_t
...
* added the concatenative assignment operator(%%=) for qse_awk_t
2011-08-16 07:52:48 +00:00
4527bf0a34
* fixed a bug of not setting an error code upon a few cases of QSE_AWK_STRXDUP failures
...
* added a new memory debugging facility to qseawk
2011-08-14 10:04:14 +00:00
55182c4232
fixed a bug in parsing an expression like "1++b" in awk/parse.c
2011-08-13 08:16:05 +00:00
f843a6e003
* fixed an issue in parsing an expression like "a++ ++b" or "1 ++b"
...
* added _WIN32 code handling QSE_PIO_MBSCMD
* fixed various _WIN32 issues in qse_env_t
* added untested OS2 code handling QSE_PIO_MBSCMD
2011-08-12 09:11:02 +00:00
f43799a68c
enhanced error handling for shorter code in some functions of qse_awk_t
2011-07-26 02:25:13 +00:00
6ac70e5958
touched up the parser code for qse_awk_t a bit
2011-07-26 01:32:49 +00:00
5464fecddc
added qse_awk_valtolong() and qse_awk_valtoreal() for convenience
2011-07-25 08:24:13 +00:00
b67f0ccd42
enhanced constant folding code for qse_awk_t
2011-07-24 10:17:15 +00:00
59afc79821
added floating-pointer remainder handler for qse_awk_t
2011-07-24 03:03:48 +00:00
b2e7566e6b
added a few lines of constant folding code for awk. still incomplete
2011-07-23 09:37:46 +00:00
7a1682ae00
changed wrong comments
2011-05-30 09:22:08 +00:00
ed207769ff
enhanced parse_primary_ident() in lib/awk/parse.c
...
also fixed a memory leak in the function
changed name of some data types
2011-05-30 09:15:52 +00:00
ef13e990cb
touched up code a bit
2011-05-24 11:02:35 +00:00
7e6a4dc0d5
* added qse_cptl_t/qse_xptl_t
...
* deleted word substitution functions from awk
2011-05-24 10:52:37 +00:00
c7a49615a2
improved tokenization by rex
2011-05-19 08:36:40 +00:00
65588fad45
updated copyright notice
2011-04-23 08:28:43 +00:00
c0122c72b8
implemented a non-recursive s-expression reader
2010-08-18 07:15:14 +00:00
1177866b26
changed qse_awk_rcb_t to expose a node pointer
2010-08-06 01:31:17 +00:00
99c72b1755
* renamed map to htb
...
* added qse_awk_findgbl()
* added Awk::findGlobal()
* began working on red-black tree
2010-07-09 00:58:44 +00:00
2a045b7ff0
enhanced lda with binary heap functions
...
added more wide character handling functions
2010-04-06 06:50:01 +00:00
faea2475ac
fixed a parser bug in awk.
...
- handling of idiv operators
- tokenization of /=/ as a regular expression
- calling QSE_AWK_FREEREX to free compiled regular expressions.
switched to a new regular expression handler.
2009-12-11 07:03:54 +00:00
e384e1d044
- enhanced how to determine between a function call and a variable concatenated with an parenthsized expression.
...
- fixed a bug in split.
2009-10-20 07:33:40 +00:00
225b1c5ec1
touched up code
2009-09-22 07:28:18 +00:00
773f5cec57
touched up code a bit
2009-09-16 04:01:02 +00:00
07d4a531f8
fixed a memory leak bug in parse_expr_basic() in parse.c
...
touched up qse_sed_comp() a little.
ehnanced the regression test script
2009-09-10 21:05:13 +00:00
9253c8644f
enhanced error location handling for awk
2009-08-26 03:50:07 +00:00
48aa3f2d34
touched up code
2009-08-25 06:15:56 +00:00
88d0fd919b
touched up code a bit more
2009-08-24 19:50:38 +00:00