1d478104b3
moved entity management functions to a separate file
2011-03-01 09:40:58 +00:00
31ae7440a5
writing reading and printing functions
2011-02-26 09:26:16 +00:00
5b1a61f4c8
adding entity reader
2011-02-24 09:32:13 +00:00
402800e0ae
added more scm code
2011-02-23 06:58:59 +00:00
758037fac0
added more code for scm
2011-02-22 03:11:21 +00:00
f24fe05409
updated build files with a newer autoconf
2011-02-11 07:48:51 +00:00
af1a430992
added some more types to types.h
2011-02-05 09:47:53 +00:00
7d5523360e
added __int128_t and __uint128_t into configure.ac
2011-02-05 09:39:15 +00:00
db7d928a68
deleted unnecessary items from configure.ac
2011-02-01 22:48:53 +00:00
613b07417d
fixed a build issue on a platform with g++ where sizeof(double) == sizeof(long double)
2011-02-01 07:49:41 +00:00
1b874c975b
fixed a build issue on a platform with gcc where sizeof(double) == sizeof(long double)
2011-02-01 07:46:52 +00:00
ec26d103c3
changed build order
2011-01-23 05:26:48 +00:00
5c1599722b
fixed distcheck issues
2011-01-23 04:32:11 +00:00
da945c3a08
fixed minor build issues
2011-01-23 03:52:20 +00:00
0e561c494c
changed autoconf and build files
2011-01-22 02:04:22 +00:00
ff21f8cd4a
added more functions to qse_http_t
2010-12-01 05:35:28 +00:00
4491055c84
reorganized the qse_http_t structure
2010-11-29 08:26:51 +00:00
5b4845db55
enabled qse_http_feed() to get trailing headers after 0
2010-11-27 09:00:57 +00:00
84376d6d92
fixed bugs in processing chunked request
2010-11-26 08:58:36 +00:00
c03b2467af
added code to handle a chunked request
2010-11-25 07:53:55 +00:00
d4f7ac1ca9
added code to handle content-length > 0
2010-11-15 07:54:03 +00:00
b7c4acf78e
added more header handling code for http
2010-11-11 08:28:38 +00:00
19af03709a
fixed a few lines for c89
...
added more http code
2010-11-04 08:24:29 +00:00
edff7c59d6
implemented proper handling of duplicate http header fields
2010-11-01 08:08:15 +00:00
1c82886941
added qse_rbt_cbsert()
2010-10-31 06:49:18 +00:00
d58631e70b
enhanced qse_htb_t and qse_rbt_t
...
- defined builtin mancbs'
- changed qse_rbt_t to point to mancbs
- touched up a few other functions
2010-10-30 07:54:36 +00:00
2265531c97
added qse_htb_cbsert().
...
exported qse_htb_allocpair() and qse_htb_freepair()
2010-10-29 07:09:53 +00:00
81f314d676
improved qse_htb_t to use less memory. this resulted in backward-incompatible interface
2010-10-28 06:54:37 +00:00
167449e3f1
added more lines for http parsing
2010-10-27 07:01:16 +00:00
f23fd6a4f6
added http request parsing functions
2010-10-26 07:04:11 +00:00
299852beaa
enhanced resizing of qse_lda_t and qse_str_t
2010-10-22 07:29:12 +00:00
a5f99ece99
added a sample code snippet for qse_bsearch
2010-09-25 03:14:03 +00:00
70f0002cea
added alg_sort.c
2010-09-25 03:03:54 +00:00
43bc5ffb79
added qse_bsearch(), qse_lsearch(), qse_qsort()
2010-09-25 03:03:38 +00:00
70bf0fceaf
added missing functions and macros.
...
documented more functions
2010-09-08 06:29:25 +00:00
95e975f514
added open-addressed hash table
2010-09-08 04:57:43 +00:00
af72767aa5
enhanced dll
2010-09-04 06:50:08 +00:00
6094a21e5e
added a few string functions
2010-09-02 07:19:59 +00:00
dc34e8f752
added some macros for the doubly-linked list
2010-09-01 07:20:34 +00:00
7f9c835412
added missing files again
2010-08-28 05:51:43 +00:00
80fcdc3162
added missing files again
2010-08-28 05:49:57 +00:00
d012ea1b01
added missing files
2010-08-28 05:47:48 +00:00
810134f0ea
enhanced qse_fma_h to have more consistency with qse_xma_h
2010-08-27 00:26:28 +00:00
530ab74909
fixed wrong indentation
2010-08-26 07:20:08 +00:00
70ca33c756
added fixed-size block allocator
2010-08-26 07:15:40 +00:00
8a19cce569
deleted lsp
2010-08-25 21:28:40 +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
55b28b0cb1
added qse_cut_openstdwithmmgr()
2010-08-05 01:32:38 +00:00
65698c30a2
documented xma.h, though terse
2010-08-05 01:25:48 +00:00
e5e0bc9a78
added a test case for xma
2010-08-02 07:13:38 +00:00
221db8488e
enhanced xma realloc()
2010-08-01 01:45:47 +00:00
4ef1730e71
added realloc to xma
2010-07-31 07:24:19 +00:00
a1965a6544
fixed bugs in xma.c
2010-07-29 07:27:03 +00:00
f467ec9930
touched the memory allocator
2010-07-25 06:43:26 +00:00
a1a57732dd
added a primitive memory allocator
2010-07-24 07:24:44 +00:00
a8e9033b86
fixed a bug in rbt.c
2010-07-15 06:54:48 +00:00
0406471ef0
updated header files for documentation
2010-07-14 07:29:02 +00:00
f05306ba29
shortened some type names in rbt.c
2010-07-14 05:25:24 +00:00
e187cd9dae
enhanced the red-black tree
2010-07-14 05:18:30 +00:00
03c87a4f6a
updated the version to 0.5.5 in configured.ac
2010-07-10 20:16:00 +00:00
b758ed8ab3
added AWk:getRunContext()
2010-07-09 05:28:22 +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
57c56594a5
touched up rex.c
2010-05-11 07:15:55 +00:00
b0a03e0b4d
enhanced regular expression handler
2010-05-10 07:44:39 +00:00
b2e41d43f2
updated configure.ac
2010-04-30 07:34:55 +00:00
e0ab4fca90
* added qse_strxput() and qse_strxnput()
...
* added qse_strxsubst ()
2010-04-30 07:14:13 +00:00
2a045b7ff0
enhanced lda with binary heap functions
...
added more wide character handling functions
2010-04-06 06:50:01 +00:00
aaa1097128
simplified qse_cut_comp() and related functions
2009-12-23 06:56:01 +00:00
200a3f6656
touched up code a bit
2009-12-22 06:44:33 +00:00
d418e651e5
- added easy C API functions for sed and cut
...
- added a sample C program for sed
- added C++ API for cut.
2009-12-22 06:29:52 +00:00
92cbbbcec1
- renamed Sed::IOStream to Sed::Stream
...
- renamed StdSed::StdStream to StdSed::FileStream
- added StdSed::StringStream
2009-12-19 21:06:28 +00:00
de7082d0d0
- Changed the way Mmgr is used. A subclass inheriting Mmged is instantiated with a pointer to Mmgr which used to be the parent class.
...
- Separated the I/O stream handler from the Sed class and abstracted it into Sed::IOStream.
- Implemented StdSed::StdStream.
2009-12-19 06:34:42 +00:00
232c0cc1c4
added LICENSE to Makefile.am
2009-12-15 06:57:04 +00:00
41b716c195
- fixed a bug in pio.c for WIN32
...
- deleted unnecessary files.
- updated documentation.
2009-12-15 06:50:11 +00:00
7715b1b9f9
updated documentation a bit
2009-12-14 08:19:58 +00:00
0d83bdba2c
revised project information and added more test scripts for awk
2009-12-14 01:44:50 +00:00
689fb93301
fixed a bug in qse_awk_strxtolong()
2009-12-13 07:24:40 +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
93adbf9244
touched up code
2009-12-10 05:35:54 +00:00
b5dd6fa606
added simple optmizations to rex1.c
2009-12-09 07:15:00 +00:00
c7d45b6099
improving regular expression handler
2009-11-28 07:46:49 +00:00
6b98760c2c
added group_t reference counting
2009-11-28 01:01:43 +00:00
09720f3460
interim commit while implementing qse_rex_t
2009-11-26 07:32:20 +00:00
782fa151de
interim commit while implementing a regular expression processor
2009-11-23 07:58:53 +00:00
1d5be1f982
still coding rex1.c
2009-11-20 23:12:27 +00:00
a6162f3eea
interim commit - enhancing rex1.c
2009-11-20 07:32:55 +00:00
9d3084f455
interim commit. updating rex1.c
2009-11-19 07:47:12 +00:00
6315d1fa9b
adding cut
2009-11-14 08:18:12 +00:00
5e21877849
interim commit
2009-11-14 08:01:57 +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
28759bb9f4
deleted unnecessary code
2009-10-09 07:51:29 +00:00
98eec6a35d
updated qse_cut_clear()
2009-10-09 07:09:19 +00:00
9f494ba184
touched up code a little
2009-10-08 06:39:18 +00:00
a4a82873f7
enhanced cut
2009-10-07 07:47:16 +00:00
b3389e89d5
added initial code for qse_cut_exec()
2009-10-06 07:33:26 +00:00
6de11d0391
added partial code for cut
2009-10-05 08:08:27 +00:00
22394802f8
extended FS to support 5-character special form
2009-09-24 04:19:30 +00:00
225b1c5ec1
touched up code
2009-09-22 07:28:18 +00:00
bc43362962
enhanced string cache for awk
2009-09-19 22:28:49 +00:00
ae7b0a5bdd
enhanced index and match
2009-09-17 00:35:29 +00:00
63c12720cb
touched up code while enhancing index() and match()
2009-09-16 08:03:15 +00:00
773f5cec57
touched up code a bit
2009-09-16 04:01:02 +00:00
3707f4dca8
documented more functions
2009-09-15 07:29:55 +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
417d901dad
updated regression test scripts for old /bin/sh
2009-09-09 01:43:38 +00:00
d70bc70ded
updated regression test scripts
2009-09-09 01:39:46 +00:00
454c76bd22
added regress/sed/regress.out
2009-09-09 01:35:35 +00:00
2a9fabebb6
improved cmd/sed/sed.c
2009-09-09 01:05:48 +00:00
faf8d996db
touched up sed
2009-09-08 07:34:49 +00:00
f9d4ccc50a
fixed a bug in merging consecutive codes with occurrences
2009-09-07 07:18:08 +00:00
f14f01864d
fixed a bug in handling QSE_SED_QUIET for the 'n' command
2009-09-05 07:08:19 +00:00
10c75d357d
fixed a bug in emitting a string
2009-09-03 06:55:55 +00:00
15227808a7
added QSE_SED_SAMELINE to sed
2009-09-01 07:24:06 +00:00
8118c7477d
touched up code for an old c++ compiler
2009-08-31 07:19:02 +00:00
c31d8dc8a2
fixed a bug in the close() handler
2009-08-29 06:47:09 +00:00
9c872e932a
touched up code a little bit
2009-08-29 05:58:05 +00:00
2ba054c1a3
enhanded StdAwk::Pipe to support CloseMode
2009-08-29 03:48:02 +00:00
81b3d369e8
implemented partial closing for rwpipe
2009-08-28 06:52:20 +00:00
9d635709f3
added partial code to support close ("name", "r or w")
2009-08-27 06:59:08 +00:00
cefda5ffc6
improved sed error handling
2009-08-26 21:03:51 +00:00
1f29eb2521
touched up sed a little
2009-08-26 07:07:54 +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
ea9e068c01
touched up code
2009-08-24 06:56:45 +00:00
6f4fd0c385
touched up code a little
2009-08-24 02:48:02 +00:00
fa0e68aa35
touched up code
2009-08-22 23:43:44 +00:00
933a2ff773
fixed make distcheck problem
2009-08-22 20:35:46 +00:00
ee27151bcb
touched up code
2009-08-21 07:04:24 +00:00
f565bd46cc
touched up code
2009-08-21 05:28:03 +00:00
b6ca96214a
improved line number handling
2009-08-20 08:04:15 +00:00
0f9d553ff8
touched up code
2009-08-18 06:10:30 +00:00
267a602d4b
changed qse_awk_seterrnum() and qse_awk_rtx_seterrnum()
2009-08-17 07:44:20 +00:00
08d87ca85e
interim commit
2009-08-17 02:08:58 +00:00
1caca1fa41
touched up sample codes
2009-08-14 07:26:46 +00:00
ce695db836
fixed a bug in StdAwk::SourceFile::open()
2009-08-13 07:39:37 +00:00
64753ed49f
interim commit
2009-08-11 19:28:32 +00:00
876cd7bec9
interim commit
2009-08-11 01:11:16 +00:00
9eb2c2da4c
fixed bugs in handling @include
2009-08-10 21:29:59 +00:00
8059913da3
interim commit
2009-08-08 07:35:24 +00:00
3fc663609e
enhanced the awk parser
2009-08-07 02:27:14 +00:00
ff92573543
improved @include handling
2009-08-01 07:01:04 +00:00
0da1c65cf5
implemented @include partially
2009-07-27 20:31:58 +00:00
90955d1b0a
interim commit
2009-07-25 23:18:42 +00:00
1e7f2551e5
touched up code a little
2009-07-25 06:22:00 +00:00
4496e29945
cleaned up code a little
2009-07-24 22:11:07 +00:00
9fabea2cd2
enhanced pio for WIN32
2009-07-24 07:01:52 +00:00
704e1c2ac7
added some lines of code into pio.c for win32
2009-07-23 06:47:13 +00:00
4bb3fe77eb
added partial code to support 'include'
2009-07-20 07:02:33 +00:00
35e65743ab
cleaned up code
2009-07-19 06:02:24 +00:00
07af9f53fb
merged a few awk options into one
2009-07-18 06:42:02 +00:00
602a14a54e
added QSE_AWK_STRIPSTRSPC
2009-07-17 06:43:47 +00:00
6b31c85427
- deleted unnecessary callback functions - on_loop_enter() & on_loop_exit()
...
- modified qse_awk_rtx_loop() and Awk::loop() to return the return value
- deprecated the callback totally from the Awk class: may readd it in the future.
- added POC code to pass arguments by reference for intrinsic functions. POC ok. more works needed for full support. not enabled.
2009-07-17 02:27:53 +00:00
f0f2db5e8a
cleaned up code
2009-07-16 04:43:31 +00:00
e149b933f7
cleaned up code a little
2009-07-15 08:08:48 +00:00
782f17c7e1
fixed regress/awk/Makefile.am
2009-07-15 02:08:00 +00:00
f5e3e53290
- added Awk::setGlobal & Awk::getGlobal
...
- fixed a bug in parsing getline
2009-07-15 02:06:14 +00:00
af6831ed3c
changed Awk::parse() to accept a reference type instead of a pointer type
2009-07-14 04:03:53 +00:00
9b6eb94664
-added Awk::Value::getFirstIndex() & Awk::Value::getNextIndex()
...
-fixed a few bugs in the Awk::Value class
2009-07-14 02:51:23 +00:00
814ed89e53
enhanced Awk::Awk to utilize Awk::Value
2009-07-13 07:06:01 +00:00
356e4c0792
cleaned up run_delete() in awk/run.c
...
improved Awk::Value
2009-07-11 21:01:36 +00:00
9f382bb951
adding Awk::Value
2009-07-11 08:05:51 +00:00
852a51ae75
changed Source IO model in Awk
2009-07-10 06:46:14 +00:00
1d88a17c7c
enhanced Awk classes
2009-07-09 07:01:45 +00:00
b682392d5f
- fixed a bug of not handling nextfile and nextofile when no files are specified in the standard console handler
...
(awk/std.c)
- enhanced the console handler for StdAwk
2009-07-08 07:05:10 +00:00
8a61d58b7b
cleaned up Awk.cpp
2009-07-07 06:37:25 +00:00
65a69c5522
updated files for tagging 0.5.1
2009-07-02 19:26:57 +00:00
d725c01bac
touched up code a little
2009-07-02 07:14:39 +00:00
dd36ca0725
changed regression test scripts
2009-07-01 07:14:39 +00:00
e78de0f959
restructured regression test scripts for awk
2009-06-30 04:17:39 +00:00
14b0bca55c
improved the naming rule
2009-06-29 07:41:47 +00:00
3c63104bf7
fixed a bug of not checking a function name against named variables
2009-06-28 06:42:53 +00:00
b9d3b490a2
fixed a bug of not checking a parameter name against the function name
2009-06-27 23:52:54 +00:00
c31adc3f7c
fixed bugs of not handling <NL> properly in local/global variable declarations.
2009-06-27 20:50:54 +00:00
e337e01d46
fixed a few minor bugs
2009-06-27 07:05:19 +00:00
06d3d78abf
cleaned up code and enhanced documentation
2009-06-26 01:39:27 +00:00
1c56d6e347
cleaned up code and documentation
2009-06-25 03:50:10 +00:00
393dd9be8d
improved the standard console handler to handle when ARGV has been overridden in a script
2009-06-25 02:29:33 +00:00
4b139e0472
cleaned up code
2009-06-24 07:29:18 +00:00
92b9bfb6d1
changed qse_assert_filed() to dump backtraces
2009-06-23 22:53:22 +00:00
97a7febc78
fixed a bug in closing a qse_awk_rtx_t object
...
- refdown_globals() should have been called after qse_awk_rtx_clrrec()
as it still access NF.
fixed typo in awk error messages
fixed a memory allocation bug in matching a group (match_group)
uncommented binary number parsing code in the awk parser.
2009-06-23 07:01:28 +00:00
385e1acc26
fixed a minor problem of returning a long option string with a leading colon in qse_getopt().
...
enhanced cmd/awk/awk.c
cleaned up code a little
2009-06-22 07:33:05 +00:00
e66a372119
added -v var=val to cmd/awk/awk.c
2009-06-21 06:47:34 +00:00
cf606b6819
fixed a bug in matching zero occurrence in a group
2009-06-19 06:08:06 +00:00
944a492c88
fixed bugs in rex and awk
...
- fixed bugs of not parsing some forms of ranges such as {,m} {n,} properly
- fixed bugs in substitution functions that did not handle 0-length substring match properly.
2009-06-18 06:43:50 +00:00
e774c0bbd1
improved numeric string comparison for various contexts.
2009-06-17 00:05:40 +00:00
ed6db12e27
changed code to handle numeric string comparison better
2009-06-16 02:22:48 +00:00
193afb0567
added partial code to handle a numeric string better
2009-06-15 07:22:00 +00:00
f9bf649924
fixed bugs in awk
...
- added qse_awk_seterrinf() and qse_awk_geterrinf().
- deleted qse_awk_seterrmsg()
- fixed a bug in qse_awk_geterrmsg()
- fixed wrong handling of 'length'
- changed run_printf() to flush before returning
2009-06-15 02:40:52 +00:00
ee8f5ee6dd
reverted to the previous way of input record handling
2009-06-13 06:58:50 +00:00
d6899c0b58
enhanced qse_awk_rtx_strtonum() to better determine the input record type.
2009-06-12 20:59:59 +00:00
9ee15f2e0a
fixed a bug of not closing inherited file handles in qse_pio_open().
2009-06-12 01:44:44 +00:00
fd1c529c46
fixed a few bugs in awk
...
- improved input console file and ARGV handling.
- fixed bugs in the builtin rand() function.
- added a new option to rex.
- fixed a control flow handling bug in for(x in y) of awk.
2009-06-11 07:18:25 +00:00
a326e5f17f
fixed a bug in the builtin split() function
2009-06-10 07:07:42 +00:00
334b52900d
adding code into pio.c for win32
2009-06-09 07:09:01 +00:00
769e4ec9b1
interim commit
2009-06-08 07:33:07 +00:00
ca2bb6155a
updated code and docs
2009-06-08 07:09:14 +00:00
cc1438a2cf
added more documentation with some code fix
2009-06-08 06:11:56 +00:00
a6c0d71710
fixed a minor problem in the Awk class and enhanced a test program for sed
2009-06-08 00:23:53 +00:00
df2c125673
updated lib/awk/Makefile.am
2009-06-07 23:07:34 +00:00
3ac15453b1
enhanced qse_timegm() further
2009-06-07 23:03:44 +00:00
08c1d422f3
enhanced qse_timegm
2009-06-07 07:42:57 +00:00
ebd6199812
changed Makefile.am and Awk.hpp
2009-06-06 06:48:15 +00:00
d1d0e06bb5
changed autoconf related files
2009-06-06 06:34:15 +00:00
922bbbef18
touched up code and docs
2009-06-05 07:36:02 +00:00
551e6f7c09
reorganized files
2009-06-04 15:50:32 +00:00
d50419267f
updated documentation a bit
2009-06-04 06:33:47 +00:00
ae7e948fc5
added include/qse/config.h.in
2009-06-03 18:54:11 +00:00
6fb8e248cd
regenerated autoconf files
2009-06-03 18:50:39 +00:00
71c7d7c877
removed libtool
2009-06-03 18:43:57 +00:00
dbc7a8fd3f
added libtool
2009-06-03 18:41:30 +00:00
7307c3cc30
changed configure.ac for Doxyfile.in
2009-06-03 08:13:50 +00:00
2bd2f30828
added more documentation
2009-06-03 01:42:30 +00:00
a1bec8936b
changed configure.ac for Doxyfile.in
2009-06-02 20:16:27 +00:00
0b8d9a9b87
documented code a little more
2009-06-02 19:40:23 +00:00
9fcfd0c0ba
documented code a little
2009-06-02 07:33:01 +00:00
cd52c663cf
simplified error formatting in qse_awk_t
...
- added qse_awk_errstr_t and related functions
- changed the Awk class
also fixed a minor bug in qse_awk_rtx_call()
2009-06-02 03:34:34 +00:00
3148407114
changed sed03.cpp for the wide character mode
2009-05-31 07:33:08 +00:00
d851798b3c
enhanced qse_sed_t
...
- changed qse_sed_t to support arbitrary numbers of commands
- added qse_set_getmaxdepth() and qse_sed_setmaxdepth()
- added relevant wrapper functions to QSE::Sed
2009-05-30 23:29:06 +00:00
7875def835
touched code a little bit
2009-05-30 19:19:46 +00:00
7053747ab2
fixed bugs and added more features.
...
- fixed a bug in qse_sed_exec() to return success on flush() error
- added Sed::setError()
- completed a sample program sed03.cpp
2009-05-30 00:21:41 +00:00
0e679b0b7d
fixed minor bugs
2009-05-29 08:12:09 +00:00
681d6f7068
added qse_sed_getlinnum() and qse_sed_setlinnum()
2009-05-29 07:00:56 +00:00
4914825a7a
changed the author info
2009-05-29 00:37:25 +00:00
b4ff537d85
restructured the doc directory
2009-05-29 00:34:58 +00:00
9dfcf671a4
enhanced the Sed class with a few more methods
2009-05-28 23:00:24 +00:00
fb9cdaa1c0
added qse_sed_geterrstr() and qse_sed_seterrstr()
2009-05-28 07:58:27 +00:00
16f0580d75
added qse_sed_geterrstr() and qse_sed_seterrstr()
2009-05-28 07:55:17 +00:00
83a6e0d3b0
touched up code and documentation
2009-05-28 01:01:33 +00:00
502bab8e4e
added code for the StdSed class
2009-05-27 07:29:47 +00:00
822c681691
changed Makefile.am
2009-05-27 05:44:27 +00:00
b010320498
added code to the Sed class
2009-05-26 07:39:18 +00:00
2a4dd14b2a
fixed quite a few bugs and enhanced error handling in sed
2009-05-25 07:29:12 +00:00
78146a8f91
enhanced error handling
2009-05-23 19:47:43 +00:00
9fb84cf713
touched up code
2009-05-23 19:21:10 +00:00
f7d8234c21
touched up error handling in sed
2009-05-23 08:11:03 +00:00
4005bd68e8
touched up code
2009-05-22 00:50:02 +00:00
1893905652
improved error handling functions in sed
2009-05-22 00:17:17 +00:00
a4638abf6d
fixed Makefile.am
2009-05-21 04:46:05 +00:00
b7f8bba219
added the Mmgr class and modifiled related classes
2009-05-21 04:44:47 +00:00
3ab1bfff92
added Sed.hpp and Sed.cpp
2009-05-20 23:26:47 +00:00
6ccadde5cf
changed Makefile.am
2009-05-20 23:25:28 +00:00
04c20caf34
delete lib/utl/sed.*
2009-05-20 23:06:18 +00:00
2b15063478
deleted config.h.in
2009-05-20 23:05:43 +00:00
37f22b0f18
readded files omitted
2009-05-19 22:32:12 +00:00
6675603d47
finished support for stepping address and reorganized source code
2009-05-19 22:28:25 +00:00
ce5a13559c
added partial support for the N~M address
2009-05-19 07:20:48 +00:00
37bdcd4fb2
fixed a few bugs in sed
2009-05-19 06:55:01 +00:00
acab50e08a
fixed a minor bug in handle the D command in sed
2009-05-18 07:42:50 +00:00
bd6a54d00d
added qse_str_del() and codede the D command in sed
2009-05-18 03:35:16 +00:00
f0b916ce81
cleaned up code
2009-05-17 07:49:41 +00:00
1eeeee562a
coded more commands to sed
2009-05-17 07:09:59 +00:00
164b3d9a98
fixed a bug in AWK and enhanced sed
...
- awk: fixed a bug of not handling ^ in gsub(), split(), and FS.
- sed: added code for y and s command
2009-05-16 07:31:43 +00:00
b36f20a4a2
implemented w & W commands for sed
2009-05-15 05:28:56 +00:00
b0c9b08d56
added more commands
2009-05-14 07:22:36 +00:00
a512a77bba
enhanced write_num() in sed
2009-05-13 21:51:05 +00:00
392d88ab7a
added more commands for sed
2009-05-13 07:25:49 +00:00
6d68da1669
added more code
2009-05-11 07:27:35 +00:00
9d258def0e
added more code
2009-05-10 08:46:26 +00:00
5aeac8aa19
enhanced address matching routines for sed
2009-05-09 08:06:13 +00:00
c221321cda
removed qse_ccls_t and related functions and added qse_strtrm()
2009-05-08 07:15:04 +00:00
4896b3d82c
added more code
2009-05-05 20:12:38 +00:00
01937d5282
implemented a and i
2009-05-05 07:49:26 +00:00
bafb6e59e9
wrote more code for sed
2009-05-03 06:16:24 +00:00
ddb5d309d4
implemented the q and Q command
2009-05-02 03:20:27 +00:00
5cddfbb7ef
still a long way to finish sed
2009-04-17 06:59:24 +00:00
93ea3e255a
resumed working on sed
2009-04-16 08:11:42 +00:00
8a46445be8
more code to sed
2009-04-10 23:00:00 +00:00
f46c63cddb
redefined QSE_NULL for C++
2009-04-03 01:09:10 +00:00
6b52dfe97e
adding qse_sed_execute()
2009-04-02 19:15:45 +00:00
787ba46604
changed get_subst() to compile a regular expression
2009-03-31 09:00:18 +00:00
e04dafed4b
fixed a bug in get_subst() for sed
2009-03-30 09:04:48 +00:00
cf12f0ae23
improved get_subst() for sed. work still in progress
2009-03-29 02:07:24 +00:00
d8a920e263
still working on sed
2009-03-27 08:02:50 +00:00
ba8bd06016
fixed a bug in handling a regular expression starting with a backslash.
...
- a regular expression like /\// could not be handled properly without
this fix
2009-03-26 08:53:10 +00:00
ce46d8f641
writing get_subst() for sed
2009-03-25 19:40:58 +00:00
5ccbefe349
cleaned up code
2009-03-25 08:38:02 +00:00
1e45c03f82
added new string functions and fixed get_file_name() for sed
...
- added qse_str_setlen() & qse_str_getlen()
- changed get_file_name() to ignore trailing spaces of a file name.
2009-03-24 23:52:27 +00:00
d3534abd0f
fixing get_file_name() of sed
2009-03-24 19:44:31 +00:00
796a10fc92
made sed to compile r, R, w, W
2009-03-24 06:49:05 +00:00
b3dfc9d07b
made minor changes
2009-03-23 09:05:43 +00:00
342b3c9db6
working on sed
2009-03-22 03:19:28 +00:00
3eb225fd22
enhanced code a little
2009-03-19 08:25:27 +00:00
9a4897ee91
cleaned up code
2009-03-19 04:08:23 +00:00
f48ae81fa6
changed code to compile more command codes in sed
2009-03-19 02:20:33 +00:00
5819dba1f9
added branch target processing to sed
2009-03-18 08:44:21 +00:00
ad5251570f
implementing sed
2009-03-16 08:36:05 +00:00
69f02f9c8d
added a few more lines of code to sed
2009-03-14 21:14:39 +00:00
1167325005
added more commands to sed
2009-03-12 07:32:31 +00:00
2e818033c9
sed - enhanced a function to get text following 'a', 'i', 'c'.
2009-03-11 07:38:35 +00:00
791565aa2b
interim commit
2009-03-11 04:39:18 +00:00
94ad148625
added the QSE_CHROOT() macro
2009-03-05 18:13:41 +00:00
25288e45ad
changed sed a litte
2009-03-05 04:40:20 +00:00
fc2877524c
interim commit
2009-03-03 08:13:47 +00:00
a66c49812c
started adding sed code
2009-03-02 21:44:36 +00:00
faf9c80f3f
fixed a bug in run_delete()
2009-03-02 21:34:43 +00:00
8e221ca599
cleaned up code
2009-03-02 08:54:28 +00:00
004ba389f2
documented qse_awk_rtx_valtostr() and renamed qse_awk_rtx_valtostrdup()
...
to qse_awk_rtx_valtocpldup()
2009-03-02 03:58:19 +00:00
0b89f7e322
changed code for new qse_awk_valtostr().
...
- fixed a bug in shorten_record() in awk/run.c
- added qse_awk_valtostrdup()
- added qse_awk_rtx_alloc ()
- added qse_awk_rtx_free ()
2009-03-01 09:27:03 +00:00
283bcfb2ea
making changes caused by changes in qse_awk_rtx_valtostr()
2009-03-01 02:44:21 +00:00
462677bb9f
cleaning up code
2009-02-28 20:18:00 +00:00
3ca13066a9
added qse_awk_rtx_getxtnstd() and enhanced qse_awk_rtx_openstd()
2009-02-27 06:55:05 +00:00
651f6d2dfa
added qse_awk_getxtnstd() and enhanced qse_awk_openstd()
2009-02-27 04:56:12 +00:00
58a47ba425
cleaned up code
2009-02-26 04:35:22 +00:00
6df7f43935
added qse_strspltr()
2009-02-25 08:05:17 +00:00
d74fa84265
cleaned up code
2009-02-25 04:07:01 +00:00
0cedc33a2c
added missing entries into Makefile.am
2009-02-24 21:57:28 +00:00
a0e3b67946
cleaned up code
2009-02-24 08:03:28 +00:00
8af127910b
cleaned up code
2009-02-23 18:57:18 +00:00
7662c70660
set properties some files
2009-02-23 08:18:06 +00:00
d0ce35eacf
enhanced and fixed a few functions.
...
- qse_awk_rtx_call()
- qse_awk_parsesimple()
- qse_awk_parsesimple_in_t
- qse_awk_parsesimple_out_t
2009-02-23 08:10:34 +00:00
2e24e29e8c
enhanced qse_awk_parsesimple() more
2009-02-22 08:16:35 +00:00
82cbaab6f2
enahnced qse_awk_parsesimple()
2009-02-22 06:28:02 +00:00
770cff61c5
changed robodoc configuration.
2009-02-21 23:06:45 +00:00
70b517578e
deprecated QSE_AWK_BASEONE
2009-02-18 07:55:48 +00:00
c3b04c6fc1
fixed a bug of not setting console output properly
2009-02-18 04:39:14 +00:00
d3e69f1d23
fixed a bug of not handling console output properly in
...
qse_awk_rtx_opensimple()
2009-02-18 04:37:34 +00:00
d7d223cd7e
added license information
2009-02-17 23:19:13 +00:00
80dfcd497c
documented the source code a little bit
2009-02-17 21:27:03 +00:00
fed0a952ab
fixed a bug in qse_awk_rtx_call()
2009-02-17 19:41:53 +00:00
b9958d4ff7
added one more test program for awk
2009-02-17 08:22:42 +00:00
5570b60ef2
added a simple test program for awk
2009-02-17 08:00:01 +00:00
26b4ecd16e
cleaned up code
2009-02-17 02:11:31 +00:00
66b21c8eab
redefined runtime io handlers
2009-02-16 08:31:34 +00:00
3ab84046b7
enhanced code
...
- changed qse_strfcpy() and qse_strxfcpy() to accept a string array
- removed the data field from qse_awk_prm_t
- made relevant changes
2009-02-15 08:38:00 +00:00
c86350bfde
added new string copy functions with simple formatting and changed awk
...
error formatter accordingly.
- added qse_strfncpy() and qse_strxfncpy().
- qse_awk_seterror() and qse_awk_rtx_seterror utilize qse_strxfncpy().
2009-02-15 03:14:49 +00:00
10adba9ed0
added new functions
...
- qse_strxfcpy(), qse_strfcpy()
cleaned up code a little
- renamed a few functions. qse_awk_strtok() to qse_awk_rtx_strtok(), etc
2009-02-15 00:21:19 +00:00
172725273c
deprecated qse_awk_runsimple() and created qse_awk_rtx_opensimple()
...
- still need to clean up qse_awk_rtx_opensimple
- deprecated on_start and on_end in qse_awk_rcb_t
- modified other parts according to the changes
2009-02-14 04:57:09 +00:00
527e1a23de
renamed qse_awk_rtx_setcb() to qse_awk_rtx_setrcb()
2009-02-13 19:23:56 +00:00
9d6816c51c
created a function to set callback after context creation.
...
- qse_awk_rtx_setcb(), qse_awk_rtx_getcb()
2009-02-13 08:23:35 +00:00
464f43b821
fixed minor bugs and cleaned up code
2009-02-13 04:55:25 +00:00
924f940fba
cleaned up code a little
...
- deleted the QSE_AWK_ARGSTOMAIN option.
- enhanced qse_awk_call() a little
2009-02-12 08:23:50 +00:00
44d4f890f4
restructured runtime context functions to support more flexibility
...
- New functions include:
qse_awk_rtx_open ()
qse_awk_rtx_close ()
qse_awk_rtx_loop ()
qse_awk_rtx_call ()
- deprecated qse_awk_run ()
2009-02-12 04:46:24 +00:00
0f4fcd737e
added license information into some missed files
2009-02-11 04:31:44 +00:00
79c1d6b861
added a bit of code into sed
2009-02-10 08:14:00 +00:00
b1211d6e58
added some routines to qse_sed_c
2009-02-09 08:40:19 +00:00
41b324b7a7
updated qse_sed_t a little
2009-02-07 22:06:16 +00:00
4536d7308f
interim commit. added some code for qse_sed_t
2009-02-06 08:39:36 +00:00
a76f07bc88
corrected license information
2009-02-04 08:39:21 +00:00
27c13aabf7
started working on a stream editor (qse_sed_t)
2009-02-04 08:29:11 +00:00
9b994d4a7c
enhanced the awk parser a little
2009-02-04 00:26:06 +00:00
14bc247637
cleaned up code a little
2009-02-03 03:54:32 +00:00
1201d2890b
renamed some functions, variables, definitions, etc to shorten names.
...
- renamed global to gbl
- renamed local to lcl
2009-02-02 08:28:04 +00:00
0836d3e319
added more documentation
2009-02-02 04:12:49 +00:00
6affaf4d37
renamed a few macro names that were left out previously
...
- renamed AFN to FUN and BFN to FNC
2009-02-01 04:06:30 +00:00
4f968e7f11
renamed many functions, typedefs, and variables.
2009-02-01 03:59:46 +00:00
b9c02b48bc
partially renamed functions related to a runtime context
2009-01-31 22:03:05 +00:00
987e709021
- minor improvements to tio and sio
...
- renamed extio to eio in awk
- renamed qse_awk_run_t to qse_awk_rtx_t
2009-01-31 04:31:40 +00:00
5c08cdefc3
more code enhancement
...
- renamed pcp back to pio
- added more fine-grained control to pio
2009-01-29 08:50:30 +00:00
3f48dd3d7f
added QSE_FIO_TEXT to qse_fio_t
2009-01-27 09:26:15 +00:00
ae55f22bf9
changed the default value of --enable-syslog in configure.ac
2009-01-24 00:36:34 +00:00
8150f4843d
Partially fixed the critical bug mentioned in the previous revision.
...
- runcbs->on_enter() is introduced and called when all
globals variables are ready.
- changed runcbs->on_start() to return an integer
- run_main() is still under reconstruction. currently it
only supports the BEGIN/pattern action/END block exection.
2009-01-23 04:40:57 +00:00
5686bb8ac7
found a critical bug. need to change the qse_awk_run() function
2009-01-22 04:37:55 +00:00
7b902d626f
corrected a problem of not honoring DESTDIR in Makefile.am
2009-01-21 08:07:39 +00:00
2220eda162
cleaned up source code a little more
2009-01-19 08:32:51 +00:00
524f2e34c9
cleaned up the code a little
2009-01-18 01:48:21 +00:00
81cf4a462b
changed the file handler to use qse_sio_t in StdAwk
2009-01-18 00:44:31 +00:00
6aac3f59cf
replaced popen and stdio functions with qse_pcp_t functions in StdAwk.cpp
2009-01-17 08:57:27 +00:00
07d8efa7c2
added a dual direction pipe (rwpipe) to awk.
...
- will not work on WIN32 until qse_pcp_t is completed on the platform.
2009-01-17 04:20:22 +00:00
46e4ed5087
implemented the pipe to the child process and integrated it into awk
...
- renamed pio to pcp
- finished the first version of pcp for unix
- integrated pcp into awk
- yet to finish pcp for win32
2009-01-15 03:58:27 +00:00
b1897b3b4d
interim commit for qse_pio_t
...
- adding code to support QSE_PIO_TEXT. not compilable yet.
2009-01-14 08:16:43 +00:00
f6dda99f51
interim commit for qse_pio_t
...
- added QSE_KILL()
- added qse_pio_kill()
- enhanced qse_pio_wait()
2009-01-14 04:30:32 +00:00
31efbc7ecf
added the errnum field to qse_pio_t
2009-01-13 08:37:29 +00:00
8d794c7c73
interim update for pio
...
- improved qse_pio_wait but not finished it yet
2009-01-13 05:26:36 +00:00
cf09e22560
interim commit while writing qse_pio_t functions.
...
- enhanced qse_pio_init() to handle a wide character string.
- added qse_wcsntombsnlen().
2009-01-11 09:25:33 +00:00
c010af38cb
added qse_strspl().
2009-01-09 08:12:26 +00:00
567eaa483b
interim commit
...
- fixed wrong qse_pio_hid_t definition
2009-01-09 04:48:46 +00:00
86a1d88307
interim commit
...
- fixed wrong enum definitions of qse_pio_hid_t
- changed code to use a static buffer if the command is short enough in qse_pio_init().
2009-01-08 08:14:06 +00:00
37344d7e09
interim commit
...
- added wide-to-multibyte charater conversion in pio
2009-01-08 04:26:55 +00:00
e606d9f9e1
interim commit while overhauling pio
...
- added qse_wcstombslen()
2009-01-06 04:40:25 +00:00
b037bfcaf5
interim commit while overhauling pio
2009-01-05 07:38:55 +00:00
afefb7b85a
interim commit while adding pio.c
2008-12-31 00:08:03 +00:00
da61cde8fd
finished interim implementation of qse_timegm() and qse_timelocal().
...
- currently, they use timegm() and timelocal() provided by libc.
added test programs.
2008-12-30 04:49:25 +00:00
4592f9725a
added the LICENSE file
2008-12-27 04:35:14 +00:00
39c4afe129
implemented qse_fio_chmod() for win32 and unix
...
- on win32, it is a best effort implemention.
- it gets the volume name from a handle and use SetFileAttributes().
fixed the problem of wrongly detecting objdump.
- place AC_PROG_LIBTOOL after any AC_CHECK_TOOL.
- otherwise, AC_PROG_LIBTOOL overrides the value of tools checked.
2008-12-27 02:52:47 +00:00
359beea51e
reconfigured autoconf
2008-12-25 08:20:25 +00:00
deb4ea4ab6
renamed makefile.* to Makefile.*
2008-12-25 08:16:17 +00:00
e72c6db022
fixed minor bugs
2008-12-24 04:04:30 +00:00
c9a39fa64f
added qse_localtime() but it needs to be of the dependency on the system's localtime/localtime_r() later
2008-12-23 04:12:59 +00:00
311e3bf4e7
partially implemented qse_gmtime()
...
- still need to enhance to support msec in the broken-down time
2008-12-22 08:31:30 +00:00
7fe07c5ca4
corrected wrong names
2008-12-21 22:14:09 +00:00
21e7970256
corrected wrong library names
2008-12-21 22:04:18 +00:00
4803bd861a
initial import
2008-12-21 21:35:07 +00:00
4c01ea1604
renamed ase to qse
2008-12-21 20:30:00 +00:00