d5db73dfce
added qse_tio_writembs() and qse_tio_readmbs()
2011-12-18 17:40:37 +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
283f388ae9
corrected wrong assertion
2011-12-12 14:46:55 +00:00
57683c9396
added QSE_SIO_NOAUTOFLUSH.
...
fixed a bug in qse_tio_writew()
changed how assert() prints messages.
2011-12-12 14:46:22 +00:00
0b4c66cbf5
added primitive qse_tio_writem() and qse_tio_writew()
2011-12-11 16:25:33 +00:00
566e13d874
revised qse_mbstowcs()/qse_mbsntowcsn()/qse_wcstombs()/qse_wcsntombsn().
...
changed the parts affected by the revision works including deleting unnecessary functions
2011-12-11 15:43:19 +00:00
2faee1f23f
added qse_wcsatombsdup()/qse_mbsatowcsdup()
...
added macro redefinition for QSE_MBLEN_MAX in some special cases
fixed a bug of defining QSE_TOMUPPER and QSE_TOMLOWER wrongly
changed data types of utf8 functions.
fixed null-terminating bugs in qse_mbstowcs()/qse_wcstombs()
2011-12-05 13:43:56 +00:00
c2264998f2
added qse_wcsatombsdup()
2011-12-02 16:05:16 +00:00
9550c71096
added qse_ntoff_t
2011-11-24 02:21:18 +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
5bd21d36b2
added in-place editing to sed command.
...
relocated files in lib/fs to lib/cmn
2011-11-20 16:24:11 +00:00
1f9de59543
added QSE_ALIGNOF().
2011-11-17 16:07:35 +00:00
df28fde9ef
added QSE_FIO_TEMPORARY.
...
added qse_rand31()
fixed a minor bug in handling QSE_FMTINTMAX_ZEROLEAD
2011-11-16 15:18:46 +00:00
e15fcd0c14
added QSE_FMTINTMAX_ZEROLEAD.
...
changed awk printf to use qse_fmtintmax for integer printing.
added 'b' and 'B' for awk printf
2011-11-15 15:58:32 +00:00
759925d816
interim commit while dropping dependence on printf in awk
2011-11-14 15:15:44 +00:00
595aab7555
enhanced a few code segments that convert a digit to a number
2011-11-09 00:54:27 +00:00
10b0469ee1
added prefix to qse_fmtintmax() and qse_fmtuintmax().
...
chnaged awk's printf to use qse_fmtintmax().
2011-11-07 00:01:19 +00:00
226795c03e
added qse_fmtintmaxtombs()/qse_fmtintmaxtowcs() and related functions.
...
changed qse_awk_t to use these new formatting functions.
redefined some primitive types
2011-11-05 00:50:55 +00:00
6ee7a71b8d
added qse_fmtulongtombs()/qse_fmtulongtowcs()
2011-11-03 14:56:26 +00:00
e5a9693411
enhanded qse_dir_read()
2011-10-28 01:05:19 +00:00
1b600ee20c
touched up code a bit
2011-10-27 22:29:28 +00:00
4eb8cb62ee
added QSE_CANONPATH_EMPTYSINGLEDOT, QSE_CANONPATH_KEEPDOUBLESLASHES, QSE_CANONDROPTRAILINGSEP
2011-10-26 00:19:20 +00:00
f2d60b9366
enhanced qse_dir_t
2011-10-25 01:48:07 +00:00
38500b97d6
added qse_stradup() and related functions
...
coded qse_dir_change() for win32
2011-10-15 23:18:55 +00:00
23ee1f7f51
migrated fs/path.c to cmn/path.c
2011-10-14 22:57:41 +00:00
b5b23cbc36
fixed bugs in qse_canonpath()
2011-10-14 15:51:20 +00:00
68537ad16a
added qse_canonpath()
2011-10-14 00:49:54 +00:00
7505e0723f
* added QSE_SIO_NOCLOSE.
...
* enhanced qse_sed_comp() to accept an array of qse_sed_iostd_t
2011-10-03 01:25:23 +00:00
84cb2b81d8
abandoned unmaintained directories
2011-09-27 23:08:25 +00:00
b9e365f148
added qse_sed_setexechook()
...
added qse_strfnmat() and related functions
2011-09-24 08:52:22 +00:00
7de8b649ef
added qse_sio_openstd().
...
added QSE_SED_ZEROA1 and related code
2011-09-20 00:51:02 +00:00
00e15a42e9
fixed a bug in handling r and a command
2011-09-11 10:14:38 +00:00
1efa41052e
fixed a minor bug in calling tre_add_tags()
...
added qse_tre_open()/qse_tre_close()/qse_tre_geterrnum()/qse_tre_geterrmsg()
added a parameter to return the number of submatches into qse_tre_compx()/qse_tre_comp()
2011-09-02 08:45:06 +00:00
6aba3f8f89
integrated Ville Laurikari's TRE
2011-09-01 09:43:46 +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
03dad41aa2
fixed a bug in pma
2011-08-19 10:26:47 +00:00
8da90da039
* added qse_mbscasebeg()/qse_wcscasebeg()
...
* touched up the _WIN32 part of qse_fio_t a bit
2011-08-15 09:59:55 +00:00
6e2dd10655
* renamed udd to ctx in qse_mmgr_t
...
* fixed problems in build and test scripts
2011-08-15 03:07:31 +00:00
e833fdff6f
enhanced build files
2011-08-14 01:05:45 +00:00
ce8e12cb46
changed a sample code for time
2011-08-13 23:05:03 +00:00
8923102323
fixed a minor glitch in the pio sample code
2011-08-13 22:44:43 +00:00
14572f08aa
fixed a few issues in qse_env_t functions on OS2 with Watcom C
2011-08-13 10:35:34 +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
cfe85ecc60
* added QSE_PIO_MBSCMD
...
* added qse_env_insertsys() and related functions
2011-08-11 10:18:35 +00:00
93f8bfca65
enhanced qse_env_t to use the natural charater type for underlying process execution system call.
...
enanced qse_pio_t to accept environment
2011-08-10 10:08:26 +00:00
6f7f368a91
completed initial implementation of qse_env_t
2011-08-07 09:41:27 +00:00
a5e86b984c
added a few functions for qse_env_t
2011-08-06 11:08:21 +00:00
470c292157
added more checks to cgi handling
2011-08-05 09:43:28 +00:00
bd09e34df5
written some cgi response chunking code
2011-08-04 11:04:36 +00:00
0998ae3b25
added more cgi related code
2011-08-03 10:27:30 +00:00
3634d16aaf
still writing cgi support code
2011-08-02 09:43:48 +00:00
1b2392571c
started adding cgi support.
...
enhanced qse_httpd_entask() and related functions to support entasking within a task handler.
2011-07-30 02:14:04 +00:00
1d41b3fb2a
tidied up code a bit
2011-07-29 09:32:56 +00:00
5e85ab6613
added code to selective turn on/off an output thread
2011-07-28 21:57:39 +00:00
f4ad3e3b66
added qse_httpd_entaskpath().
...
renames qse_httpd_entaskXXX() functions to a newer style
2011-07-28 08:35:28 +00:00
c380388718
added qse_parsehttprange
2011-07-26 09:42:35 +00:00
0967928a90
added more code for qse_httpd_t
...
added qse_htre_gethdrval()
2011-07-22 09:50:38 +00:00
b08ebd719c
added qse_ubi_t
...
separated task functions from httpd.c to httpd_task.c
2011-07-21 10:17:16 +00:00
618f8bcf1f
improved qse_httpd_entask() and related functions
2011-07-20 10:18:54 +00:00
1deaac776d
touched up code a little
2011-07-15 10:00:37 +00:00
fb574aa147
added more code for httpd
2011-07-12 10:31:33 +00:00
ec02be14e5
written more http code
2011-07-08 10:16:19 +00:00
afbbdd03ea
fixed a bug in qse_mbs_ncpy() and qse_wcs_ncpy().
...
enhanced qse_mbs_ncat() and qse_wcs_ncat() to allocate a buffer if zero-length string is passed in when the current capacity is 0
2011-07-07 10:44:10 +00:00
4d55ebbcce
reorganizing http functions
2011-07-06 09:45:00 +00:00
6fcd875403
added qse_htre_t and changed data type names
2011-06-30 09:12:36 +00:00
325a9d8b2b
enhanced qse_http_t
2011-06-23 10:17:35 +00:00
37318f12db
improved http sample code
2011-06-22 09:58:50 +00:00
f50b2835f7
resumed stx after years of hibernation
2011-06-05 10:22:20 +00:00
38b00c0756
touched up code
2011-05-26 08:42:26 +00:00
2cbe0d4681
enhanced val_int_to_str().
...
changed the return type of qse_awk_valtostr()
2011-05-26 08:00:19 +00:00
26427dd4c3
enhanced qse_awk_rtx_valtostr()
2011-05-25 09:14:58 +00:00
7e6a4dc0d5
* added qse_cptl_t/qse_xptl_t
...
* deleted word substitution functions from awk
2011-05-24 10:52:37 +00:00
b9933a473b
changed a sample program for qse_awk_findfun() and qse_awk_callfun()
2011-05-22 10:16:18 +00:00
a2a474bb34
added qse_awk_rtx_getfirstmapvalitr()/qse_awk_rtx_getnextmapvalitr()
2011-05-13 22:06:55 +00:00
4e882e79c0
changed Awk::Value::setIndexedVal()
2011-05-13 10:16:57 +00:00
65588fad45
updated copyright notice
2011-04-23 08:28:43 +00:00
ea724c784c
touched up awk for OS2
2011-04-18 09:28:22 +00:00
bdc537fbdc
* fixed a bug of opening a console output file in a wrong mode resulting in failure.
...
* added a new sample file for awk
2011-04-17 08:55:26 +00:00
20a989ecaf
added OS/2 code into time.c
...
started writing OS/2 code into pio.c
fixed minor issues in fio.c
2011-03-19 09:07:21 +00:00
16294931ee
added qse_runmainwithenv()
2011-03-13 07:40:15 +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
db7d928a68
deleted unnecessary items from configure.ac
2011-02-01 22:48:53 +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
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
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
810134f0ea
enhanced qse_fma_h to have more consistency with qse_xma_h
2010-08-27 00:26:28 +00:00
70ca33c756
added fixed-size block allocator
2010-08-26 07:15:40 +00:00
c0122c72b8
implemented a non-recursive s-expression reader
2010-08-18 07:15:14 +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
a8e9033b86
fixed a bug in rbt.c
2010-07-15 06:54:48 +00:00
e187cd9dae
enhanced the red-black tree
2010-07-14 05:18:30 +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
b0a03e0b4d
enhanced regular expression handler
2010-05-10 07:44:39 +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
41b716c195
- fixed a bug in pio.c for WIN32
...
- deleted unnecessary files.
- updated documentation.
2009-12-15 06:50:11 +00:00
0d83bdba2c
revised project information and added more test scripts for awk
2009-12-14 01:44:50 +00:00
93adbf9244
touched up code
2009-12-10 05:35:54 +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
1d5be1f982
still coding rex1.c
2009-11-20 23:12:27 +00:00
9d3084f455
interim commit. updating rex1.c
2009-11-19 07:47:12 +00:00
5e21877849
interim commit
2009-11-14 08:01:57 +00:00
98eec6a35d
updated qse_cut_clear()
2009-10-09 07:09:19 +00:00
a4a82873f7
enhanced cut
2009-10-07 07:47:16 +00:00
773f5cec57
touched up code a bit
2009-09-16 04:01:02 +00:00
f14f01864d
fixed a bug in handling QSE_SED_QUIET for the 'n' command
2009-09-05 07:08:19 +00:00
2ba054c1a3
enhanded StdAwk::Pipe to support CloseMode
2009-08-29 03:48:02 +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
0f9d553ff8
touched up code
2009-08-18 06:10:30 +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
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
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
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
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
d725c01bac
touched up code a little
2009-07-02 07:14:39 +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