Commit Graph

2524 Commits

Author SHA1 Message Date
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
c3cd7a5af6 set configure to executable 2008-12-21 21:35:17 +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
277023a9c7 interim commit 2008-12-21 20:29:53 +00:00
2aa72ba49b interim commit 2008-12-21 08:38:19 +00:00
3d9fbd489f adding time functions 2008-12-18 02:39:15 +00:00
d45b0c3127 added missing macros for ase_gettime() and ase_settime() for WIN32 2008-12-17 03:49:35 +00:00
88b408cdda added ase_gettime() and ase_settime(), also added many builtin functions to ase_awk_opensimple() 2008-12-17 03:42:48 +00:00
44717bbb4f fixed minor bugs 2008-12-16 03:56:48 +00:00
f675b072d6 redefined ASE_XXX_COPIER_SIMPLE and ASE_XXX_COPIER_INLINE
originally,
- #define ASE_XXX_COPIER_SIMPLE ase_xxx_copysimple
- #define ASE_XXX_COPIER_INLINE ase_xxx_copyinline

after changes.
- #define ASE_XXX_COPIER_SIMPLE ((ase_xxx_copier_t)1)
- #define ASE_XXX_COPIER_INLINE ((ase_xxx_copier_t)2)

when compiled for win32 dll, the reference by the original 
definition resulted in different address values in difference modules.
2008-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.
2008-12-14 08:38:58 +00:00
2aa9f8321b added support for source string 2008-12-13 03:42:32 +00:00
cdbb0b419d fixed autoconf and source files to use ASE_HAVE_CONFIG_H 2008-12-13 00:25:48 +00:00
d28108c996 fixed flags handling of ase_fio_open() 2008-12-12 23:47:07 +00:00
596b42a211 fixed a bug of ase_fio_open in handling flags 2008-12-12 23:19:35 +00:00
25a776e842 renamed a parameter name of ase_awk_getrundata() 2008-12-12 07:43:05 +00:00
cd1dd05766 added ase_awk_runsimple() 2008-12-12 04:05:28 +00:00
6a3e652db3 changed various parts 2008-12-11 04:19:59 +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.
2008-12-10 03:55:51 +00:00
4339b7cf8c fixed the printing issue of a long double value for MINGW32 2008-12-10 03:50:40 +00:00
8d174e9ec4 fixed a wrong mode to ase_fopen in lib/awk/std.c 2008-12-10 03:01:58 +00:00
8dd3401465 fixed input console handling in cmd/awk/awk.c 2008-12-10 02:50:16 +00:00
261c499217 made minor changes to support MINGW32 2008-12-10 00:52:03 +00:00
dea9b94b87 added sio.c 2008-12-01 00:20:35 +00:00
53acab208e added ase_fio_truncate() 2008-11-29 00:43:44 +00:00