Commit Graph

2128 Commits

Author SHA1 Message Date
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