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
hyung-hwan2009-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().
hyung-hwan2009-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
hyung-hwan2009-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
hyung-hwan2009-02-14 04:57:09 +00:00
527e1a23de
renamed qse_awk_rtx_setcb() to qse_awk_rtx_setrcb()
hyung-hwan2009-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()
hyung-hwan2009-02-13 08:23:35 +00:00
464f43b821
fixed minor bugs and cleaned up code
hyung-hwan2009-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
hyung-hwan2009-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 ()
hyung-hwan2009-02-12 04:46:24 +00:00
0f4fcd737e
added license information into some missed files
hyung-hwan2009-02-11 04:31:44 +00:00
1201d2890b
renamed some functions, variables, definitions, etc to shorten names. - renamed global to gbl - renamed local to lcl
hyung-hwan2009-02-02 08:28:04 +00:00
6affaf4d37
renamed a few macro names that were left out previously - renamed AFN to FUN and BFN to FNC
hyung-hwan2009-02-01 04:06:30 +00:00
4f968e7f11
renamed many functions, typedefs, and variables.
hyung-hwan2009-02-01 03:59:46 +00:00
b9c02b48bc
partially renamed functions related to a runtime context
hyung-hwan2009-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
hyung-hwan2009-01-31 04:31:40 +00:00
5c08cdefc3
more code enhancement - renamed pcp back to pio - added more fine-grained control to pio
hyung-hwan2009-01-29 08:50:30 +00:00
ae55f22bf9
changed the default value of --enable-syslog in configure.ac
hyung-hwan2009-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.
hyung-hwan2009-01-23 04:40:57 +00:00
5686bb8ac7
found a critical bug. need to change the qse_awk_run() function
hyung-hwan2009-01-22 04:37:55 +00:00
7b902d626f
corrected a problem of not honoring DESTDIR in Makefile.am
hyung-hwan2009-01-21 08:07:39 +00:00
2220eda162
cleaned up source code a little more
hyung-hwan2009-01-19 08:32:51 +00:00
81cf4a462b
changed the file handler to use qse_sio_t in StdAwk
hyung-hwan2009-01-18 00:44:31 +00:00
6aac3f59cf
replaced popen and stdio functions with qse_pcp_t functions in StdAwk.cpp
hyung-hwan2009-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.
hyung-hwan2009-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
hyung-hwan2009-01-15 03:58:27 +00:00
b1897b3b4d
interim commit for qse_pio_t - adding code to support QSE_PIO_TEXT. not compilable yet.
hyung-hwan2009-01-14 08:16:43 +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().
hyung-hwan2009-01-08 08:14:06 +00:00
37344d7e09
interim commit - added wide-to-multibyte charater conversion in pio
hyung-hwan2009-01-08 04:26:55 +00:00
e606d9f9e1
interim commit while overhauling pio - added qse_wcstombslen()
hyung-hwan2009-01-06 04:40:25 +00:00
b037bfcaf5
interim commit while overhauling pio
hyung-hwan2009-01-05 07:38:55 +00:00
afefb7b85a
interim commit while adding pio.c
hyung-hwan2008-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.
hyung-hwan2008-12-30 04:49:25 +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.
hyung-hwan2008-12-27 02:52:47 +00:00
c9a39fa64f
added qse_localtime() but it needs to be of the dependency on the system's localtime/localtime_r() later
hyung-hwan2008-12-23 04:12:59 +00:00
311e3bf4e7
partially implemented qse_gmtime() - still need to enhance to support msec in the broken-down time
hyung-hwan2008-12-22 08:31:30 +00:00
f675b072d6
redefined ASE_XXX_COPIER_SIMPLE and ASE_XXX_COPIER_INLINE
hyung-hwan2008-12-15 07:25:42 +00:00
195da67d13
added -no-undefined to makefile.am - libtool, without -no-undefined, doesn't not build a shared library on win32.
hyung-hwan2008-12-14 08:38:58 +00:00
54855b9730
Fixed the printing issue of a long double value in MINGW32. - The long double type in MINGW32 is 12 bytes while the double type is 8 bytes. - The compiled binary is linked against the Microsoft library. - In that library, both the long double and the double type are 8 bytes. - The code has been changed to use the double type if __MINGW32__ is defined.
hyung-hwan2008-12-10 03:55:51 +00:00
4339b7cf8c
fixed the printing issue of a long double value for MINGW32
hyung-hwan2008-12-10 03:50:40 +00:00
8d174e9ec4
fixed a wrong mode to ase_fopen in lib/awk/std.c
hyung-hwan2008-12-10 03:01:58 +00:00
8dd3401465
fixed input console handling in cmd/awk/awk.c
hyung-hwan2008-12-10 02:50:16 +00:00
261c499217
made minor changes to support MINGW32
hyung-hwan2008-12-10 00:52:03 +00:00