Commit Graph

1685 Commits

Author SHA1 Message Date
8eadd34b9d added POSITIONER to Array and BinaryHeap 2015-03-09 07:05:46 +00:00
09bd5bb54a fixed a wrong function name in Array.
exposed BinaryHeap::getIndex()
2015-03-07 04:03:54 +00:00
5f517f8316 refactored Array a bit 2015-03-07 04:00:44 +00:00
efc997750e changed void* operator new (qse_size_t size, QSE::Mpool* mp) to fall back to mmgr upon size mismatch.
finished primitive BinaryHeap code.
renamed Array::get() to Array::getValueAt()
renamed Array::set() to Array::setValueAt()
2015-03-07 03:55:40 +00:00
fc316009b6 removed ExcMmgr.cpp 2015-03-06 18:27:36 +00:00
dda5db6257 fixed a bug in void* operator new (qse_size_t size, QSE::Mpool* mp)
removed Mpool from Array
2015-03-06 18:24:49 +00:00
bdf3e2652d wrote mote code for Array 2015-03-06 15:51:13 +00:00
0c0f0df7d8 Added a couple of 'operator new()' definitions.
Started adding Array and BinaryHeap
2015-03-04 16:30:09 +00:00
e26a49bcb8 added more functions to RedBlackTable 2015-03-02 14:42:55 +00:00
0ece41a9e0 added RedBlackTable 2015-03-01 12:55:36 +00:00
8c4921a9b4 enhanced RedBlackTree's iterator 2015-03-01 07:34:54 +00:00
6deef2ce4b added RedBlackTree::remove()
partially added RedBlackTree::getIterator()
2015-03-01 06:29:54 +00:00
ecdb510e4b added rotate() and adjust() to RedBlackTree 2015-02-28 16:21:01 +00:00
88e2e477b9 fixed wrong words 2015-02-27 15:30:35 +00:00
14f5a8a9b3 added HashList::inject() and HashTable::inject().
improved HashTable::upsert().
added HashList::ensert() and HashTable::ensert().
started porting rbt to  RedBlackTree
2015-02-27 15:27:59 +00:00
06dbccbc06 simplified HashTable, HashList, LinkedList 2015-02-27 14:19:04 +00:00
ca8956366c removed MPOOL from some template classes 2015-02-27 07:26:51 +00:00
ae717e066e changed HashTable::remove() and HashTable::search() to use HashList::heteroxxx() calls 2015-02-26 03:15:15 +00:00
f93f5e9704 experimenting on a simpler HashTable implementation 2015-02-25 16:27:46 +00:00
37792be000 added Mpool::swap().
fixed a bug in HashList::rehash() when the memory pool is enabled.
added LinkedList::reverse()
2015-02-24 15:42:45 +00:00
890097af66 refactored HashTable, HashList, LinkedList 2015-02-23 17:40:45 +00:00
8c15d39d9a remove the raise_exeception member variable from the memory manager.
changed the allocate(), reallocate(), callocate() to accept raise_exception instead.
touched up HashTable a bit
2015-02-17 04:45:20 +00:00
0a5ee4de4d added COMPARATOR to HashTable 2015-02-05 16:13:33 +00:00
6da46ff4e1 added Mmgr::callocate()
fixed various problems in HashTable
2015-02-05 15:51:50 +00:00
6e92bb2985 added Pair and HashTable 2015-02-04 13:43:01 +00:00
67a5f4f5f5 used utime and utimes as a fallback in fs-copy.c 2015-02-03 02:26:32 +00:00
ac6661de94 added missed HeapMmgr files 2015-02-02 13:41:10 +00:00
bb1d41d4d0 dropped ExcMmgr and enhanced Mmgr to incoporate both exception raising and error returing 2015-02-02 13:30:33 +00:00
8fc288e750 added the HeapMmgr class 2015-02-02 10:45:57 +00:00
65b4e57a79 updated non-unix/linux build files 2015-02-01 16:09:44 +00:00
fbd7f3ccae changed the memory allocation scheme for some c++ classes 2015-02-01 16:07:26 +00:00
0585bf00ae removed redundant comments 2015-02-01 04:12:07 +00:00
3f94bd2cd6 implemented a hack not to use the chunked transfer encoding ii the response code is 1xx, 204, 304 or the request method is HEAD 2015-02-01 04:10:56 +00:00
e7a598f591 changed a wrong macro named used in fs-copy.c 2015-01-23 03:30:44 +00:00
fc9ad20e7a touched up code a little bit 2015-01-19 03:52:06 +00:00
dc118785c7 added the HashList class 2015-01-18 15:52:21 +00:00
36829a55d7 added QSE::Exception 2015-01-18 13:43:12 +00:00
48536f73c9 corrected tiny little source glitches 2015-01-15 06:02:25 +00:00
8d88ef3f40 added ExcMmgr
simplified LinkedList
2015-01-05 04:15:32 +00:00
3b672857aa added Mpool and LinkedList 2015-01-02 06:40:41 +00:00
91e4e06318 changed int operator! to bool operator! 2014-12-31 16:29:52 +00:00
53a3366e7f added ScopedPtr 2014-12-31 16:19:33 +00:00
fe0a2a6d63 added a few basic c++ classes 2014-12-31 16:09:19 +00:00
c0fb7692d6 fixed variable declarations 2014-12-27 07:00:05 +00:00
0fdcaf547f removed recursion in file copying 2014-12-18 15:05:52 +00:00
206065f904 simplified file copying 2014-12-17 15:29:05 +00:00
11f364a6d0 added fs-copy.c 2014-12-16 04:19:48 +00:00
1ef7fc2569 touched up glob.c and glob.h 2014-12-15 04:26:41 +00:00
ac61c3044a added qse_globmbs() and qse_globwcs() 2014-12-14 15:55:03 +00:00
77939a5940 enhanced dir.c to handle both mbs and wcs by implementing the new QSE_DIR_WCSPATH option 2014-12-11 16:03:58 +00:00
0a9a80c567 added some code for file copying 2014-12-09 13:41:58 +00:00
870622f6c7 enhanced qse_fs_cpfileXXX() a bit.
added qse_mergepathdup() and related functions
2014-12-08 15:07:55 +00:00
af623db137 added code to handle QSE_FS_CPFILE_PRESERVE 2014-12-07 17:09:43 +00:00
e01c1f8644 wrote a file copy function partially 2014-12-03 15:27:45 +00:00
44129510dc fixed glob.c to use qse_stat_t instead of struct stat.
fixed other minor problems
2014-11-28 17:01:29 +00:00
947f5a8d8d added qse_getpathcore()/qse_getmbspathcore()/qse_getwcspathcore()
added qse_fs_dupfspathforwcs()
improved qse_fs_mkdirXXX()
2014-11-27 15:58:51 +00:00
99e9160c53 corrected some mistakes in qse_fs_mkdir() 2014-11-26 15:38:08 +00:00
8304c5920e started writing qse_fs_mkdir() 2014-11-26 15:33:30 +00:00
5f61505860 added qse_fs_setopt() & qse_fs_getopt().
added QSE_FS_CBS and changed qse_fs_del() to call cbs.del() if available
2014-11-26 15:14:24 +00:00
cbb7991ca8 added QSE_DIR_LIMITED & QSE_GLOB_LIMITED
fixed bugs in qse_fs_delXXX()
2014-11-25 03:25:46 +00:00
7d21e90ce2 renamed qse_tmr_remove() to qse_tmr_delete().
removed qse_fs_delete() and added qse_fs_delfile()/qse_fs_deldir() with some new options
2014-11-24 17:01:04 +00:00
8678660b82 added some experimental and unfinished code using tli 2014-11-20 15:12:28 +00:00
619425cd72 indented some lines in the LICENSE file 2014-11-19 14:50:27 +00:00
56e5b5191b switched the license to BSD 2014-11-19 14:42:24 +00:00
28ad5392c8 fixed files for an old compiler 2014-11-18 16:10:12 +00:00
284a0b18be touched up code for old sco compiler 2014-11-17 17:18:11 +00:00
cce68401e2 fixed code a bit more for the old sco compiler 2014-11-17 15:57:00 +00:00
e57c9673d1 enhanced types and macros to handle the wchar_t type defined to 1 byte in size 2014-11-17 15:25:55 +00:00
e3be2e5273 fixed configure.ac 2014-11-17 15:01:49 +00:00
0962885749 touched up code a bit for building with watcom. 2014-11-16 07:17:06 +00:00
45cb237aa6 added fields to keep an original query path in qse_htre_t
changed proxying routines to use the original query path instead of percent-encoding back
2014-11-14 16:56:51 +00:00
47bec1e857 fixed a typeing mistake 2014-11-14 02:45:45 +00:00
0b286a7e2a switched many #ifdef's to #if defined() 2014-11-14 02:44:20 +00:00
3db3396955 allowed to use dynamic loader even if QSE_ENABLE_STATIC_MODULE is defined 2014-11-14 02:31:47 +00:00
206781ce27 changed QSE_ENABLE_STATIC_MOUDLE handling in httpd 2014-11-13 17:20:55 +00:00
652784bafb made minor changes related to qse_httpd_configmod() 2014-11-13 16:39:37 +00:00
49febef055 renamed QSE_XLI_SCM_RELAXED to QSE_XLI_SCM_VALIFFY.
added qse_httpd_configmod().
changed qse_httpd_loadmod() to return qse_httpd_mod_t*
2014-11-13 10:15:53 +00:00
c23e2a4a7c added experimental code to pass unvalidated configuration items to a module 2014-11-12 15:39:45 +00:00
f049aa4b09 added a new option QSE_XLI_SCM_RELAXED to skip validation of child pairs under a list value 2014-11-12 05:59:47 +00:00
47d8710232 changed some error messages 2014-11-11 15:51:13 +00:00
643f84a8dd implemented proxy peer connection caching experimentally 2014-11-11 15:41:11 +00:00
f0fe04fef2 enhanced configure.ac for better ssl detection 2014-11-10 09:24:35 +00:00
ca04358d50 fixed sendfile() for freebsd 2014-11-08 16:10:35 +00:00
3ab19cb3b8 changed StdAwk to use exported functions in std.c 2014-11-08 06:19:07 +00:00
45b97e9f4d renames some functions for building on freebsd 2014-11-08 03:50:43 +00:00
a30c831081 redefined IDXBUFSIZE 2014-11-06 17:41:20 +00:00
17b55e20ed fixed wrong field names in cmn/fs.c
fixed a memory leak bug in run_printf of awk/run.c
2014-11-06 17:12:34 +00:00
fb638de6d6 implemented a workaround to handle garbage contents when reading a http response from a misbehaving server 2014-11-04 16:01:00 +00:00
ed2cdcaa87 added qse_htrd_geterrnum().
changed a log message in xli/err.c
2014-11-03 15:33:15 +00:00
06e55b9c7e added wrapper functions - qse_httpd_mbsdup() and qse_httpd_mbsxdup() 2014-11-02 12:01:22 +00:00
514eee844f defined QSE_HTTPD_TIMER_INVALID_INDEX 2014-11-02 11:41:00 +00:00
569b30039b renamed existing qse_httpd_inserttimerevent() and qse_httpd_removetimerevent() to qse_httpd_insert_timer_event() and qse_httpd_remove_timer_event().
the renamed functions should be used internally only.
added new qse_httpd_inserttimerevent() and qse_httpd_removetimerevent() that can be used by external callers.
added qse_httpd_timer_event_t and other required definitions for the new functions
2014-11-01 15:27:56 +00:00
baecb98181 export qse_httpd_inserttimerevent() and qse_httpd_removetimerevent() 2014-10-31 15:55:58 +00:00
0cd5ed43a8 changed some code comments 2014-10-31 10:23:03 +00:00
cc2aeb50ab added qse_httpd_entasktextwithmvk() 2014-10-31 10:06:24 +00:00
893c3f74f8 added \n to one of debugging messages 2014-10-31 08:50:36 +00:00
e35190e23d changed debugging ouput tput format 2014-10-31 08:48:48 +00:00
f10f9a569b touched up httpd debug logging 2014-10-31 08:24:49 +00:00
2c5d85f55f fixed a bug in qse_httpd_addhnd().
exported qse_httpd_entaskerrorwithmvk()
2014-10-30 16:29:48 +00:00
75dea7aa43 added preloop and postloop hooks into qse_httpd_ecb_t.
added qse_httpd_custom_t for customized event dispatching
allowed dns and urs services to be disabled programatically
added qse_httpd_addhnd() and qse_httpd_delhnd() for customized event dispatching
2014-10-30 05:53:35 +00:00
85dca3e39a changed cohttpd to call qse_comparehttpversions() for version comparison 2014-10-24 15:37:42 +00:00
1f47f89062 disabled chunking in directory listing regardless of keep-alive if http version is 1.0 or earlier 2014-10-24 07:25:31 +00:00
d207120933 fixed fio.c for not handling QSE_FIO_MBSPATH perperly on dos.
fixed httpd further for dos
2014-10-24 05:37:03 +00:00
2218670769 changed how to compare a map against data of other types.
fixed some problems in handling nonblocking connect and send with watt-32
2014-10-23 16:09:05 +00:00
84798f4fd0 changed functions and macros related to quick integer handling 2014-10-23 09:30:22 +00:00
aed205c298 changed awk to represent an integer of a certain range in a pointer directly 2014-10-23 09:18:49 +00:00
fe1ff5cdba added qse_awk_rtx_getvaltype() and qse_awk_rtx_getintfromval() macros 2014-10-22 17:05:45 +00:00
4de030f8a3 changed awk to convert a map to the size of the map in a scalar context.
allowed @include inside a normal block
2014-10-22 01:34:37 +00:00
003c637c0f updated documentation 2014-10-21 17:58:18 +00:00
d363cd2e62 fixed wrong comments 2014-10-20 12:38:56 +00:00
5e94b7d9b2 fixed more code for watt-32 2014-10-20 04:58:15 +00:00
552bb7cc20 fixed code a bit for watt-32 2014-10-19 13:59:44 +00:00
d9d75a5db5 fixed multiple glitches for building on non-posix platforms 2014-10-19 12:50:51 +00:00
e7287cb52c fixed code for an old gcc compiler that couldn't recognize x86 inline assembly containing the rep prefix on the same line as the movXX and stoXX instructions. 2014-10-17 15:37:36 +00:00
a842cf0767 changed httpd to accept http://name:port and https://name:port as a document root value 2014-10-17 14:15:15 +00:00
c4df310ee7 changed logging messages 2014-10-16 13:44:19 +00:00
a97cce7d70 enhanced httpd to accept a document root specified of the secure nwad prefixed with https://.
moved ssl context initialization for server from the httpd structure to the server structure
2014-10-16 12:30:20 +00:00
c9d23a0d8b added https proxying without certificate check. this is different from CONNECT. when this feature is used, the proxy establishes a https connection to the origin server 2014-10-15 15:33:37 +00:00
ca272bb55e fixed a bug of not resetting htre's flags field when clearing it 2014-10-14 12:55:00 +00:00
c5001505cd added QSE_HTTPD_RSRC_PROXY_X_FORWARDED and actual implementation 2014-10-13 14:14:06 +00:00
743196e796 removed a space when appending extra items to an environment variable for cgi 2014-10-12 13:12:24 +00:00
bd64702fd4 added qse_env_append() and related functions.
fixed how to handle multiple values with the same key when setting an environment variable for a cgi script
2014-10-11 14:33:26 +00:00
0f229c15f5 removed X-Forwarded-Port 2014-10-10 16:42:34 +00:00
47d8346040 Added some x-forwarded-* headers 2014-10-10 16:13:42 +00:00
e46977a212 added a new root type for httpd - <XXX> where XXX is a relocation code or an error code 2014-10-09 14:42:02 +00:00
870f307d96 added an option to handle intercepted sessions locally 2014-10-09 13:09:23 +00:00
bd40641e08 changed httpd-std.c to drop a query request not beginning with a slash when it's handled locally. 2014-10-09 12:46:12 +00:00
65f3c473f9 added QSE_HTTPD_RSRC_PROXY_ALLOW_UPGRADE and related code with it 2014-10-09 05:02:52 +00:00
0cee2a3614 fixed Content-Length handling for protocol upgrade 2014-10-08 16:57:18 +00:00
0ae76bd5ed fixed protocol upgrade handling 2014-10-08 16:18:52 +00:00
5edd4f38cf fixed the missing semicolon problem 2014-10-08 15:40:32 +00:00
1df4e0bc9f enhanced proxying to handle protocol upgrade.
enhanced qse_mbsword() and its family to accept an extra delimiter
2014-10-08 14:07:55 +00:00
8a32cbc4f1 added some protection againt double dns resolution and double url rewriting 2014-10-02 06:36:55 +00:00
96f42a0815 added an interim solution to sendto failure in dns and urs handling 2014-09-29 14:17:44 +00:00
0cd8dfe54c added some experimental code 2014-09-28 16:05:56 +00:00
7cb0f4eeea changed the unix socket naming convention 2014-09-28 02:57:08 +00:00
db9be394f3 added the unix socket support to httpd dns 2014-09-28 02:51:57 +00:00
39ab9d0320 * changed the QSE_NWAD_LOCAL address format. it must be prefixed with @.
* fixed conversion error of a QSE_NWAD_LOCAL address to a string
2014-09-27 15:22:08 +00:00
117b1d3618 fixed a minor bug in mux.c
improved dns and urs handling for QSE_NWAD_LOCAL
2014-09-27 14:40:05 +00:00
a003346acf touched up unix socket handling in urs 2014-09-27 03:32:32 +00:00
718fd13481 added unix socket support into httpd urs 2014-09-26 16:46:10 +00:00
79ba0215eb added QSE_NWAD_LOCAL 2014-09-26 15:07:06 +00:00
056cff9192 changed configure.ac to detect dirfd() and related stuffs.
changed lib/cmn/syscall.h to use DIRFD related macros produced by configure
2014-09-25 15:27:08 +00:00
45ad42fa36 removed unneeded lines 2014-09-19 15:44:37 +00:00
b7d14da21e simplified relocation handling
deleted qse_httpd_entaskredir() and related definitions
added virtual(function pointer) cgi  support.
improved pio to read /dev/fd
implemented QSE_PIO_FNCCMD for qse_pio_t
2014-09-19 14:05:02 +00:00
bf25f92704 enhanced qse_pio_t to use /proc/self/fd and/or /proc/<<pid>>/fd more actively 2014-09-17 15:02:14 +00:00
bb7ece059d fixed wrong memory disposal problem 2014-09-17 13:58:40 +00:00
f84b27c1de fixed the problem of no percent-encoding of decoded query path in proxying 2014-09-17 13:26:21 +00:00
94f015ea98 deprecated qse_ubi_t and introduced qse_httpd_hnd_t 2014-09-16 14:14:51 +00:00
3a30d67411 fixed missing urs deactivation upon initialization failure 2014-09-16 05:31:28 +00:00
2ca7afd90c added dns preresolution 2014-09-12 14:11:47 +00:00
ffce4c94aa fixed a memory leak bug caused when the duplicated host name is an address.
fixed wrong redirection code processing bug in rewriting handler.
fixed a bug of not setting the default port when no port is specfied in rewritten url address
2014-09-12 07:23:34 +00:00
1f96cd45ab fixed a bug that the remaining buffer capacity is calculated incorrectly when returning a footer to directory listing.
switched snprintf to qse_mbsxfmt() and qse_mbsxfmts().
added qse_mbsfmts()/qse_wcsfmts() and variants
2014-09-11 15:03:12 +00:00
05efcf040e added proxy.intercept 2014-09-11 12:54:06 +00:00
a55e3b0238 fixed a bug of not handling the default dns server value properly 2014-09-11 10:16:24 +00:00
97c528ca1f added qse_httpd_dns_server_t and qse_httpd_urs_server_t.
deleted qse_httpd_natr_t.
deleted QSE_HTTPD_DNSNOA and QSE_HTTPD_DNSNOAAAA
added QSE_HTTPD_DNS_SERVER_A and QSE_HTTPD_DNS_SERVER_AAAA
2014-09-11 09:02:07 +00:00
3fd82c7943 did some prep work to make dns query type configurable 2014-09-06 04:20:35 +00:00
624ffcb006 included qparam to url for rewriting 2014-09-06 04:08:31 +00:00
7d447c0dc6 fixed wrong qpath+qparam calculation in httpd-proxy.c 2014-09-05 17:31:36 +00:00
3b1e3dde0c enhanced httpd-proxy 2014-09-05 16:46:44 +00:00
d4439858d3 added some module handling code 2014-09-05 15:52:19 +00:00
bfeb437225 added qse_httpd_mod_t and supporting functions 2014-09-04 16:55:45 +00:00
d8f8f93207 added QSE_HTTPD_MODPREFIX and QSE_HTTPD_MODPOSTFIX 2014-09-03 17:11:01 +00:00
4b0f12a896 attempting to add dynamic modules into httpd 2014-09-03 16:57:33 +00:00
b54964ac85 added fallback code for math::round() 2014-09-03 04:08:28 +00:00
2e6765e4ba added qse_shutsckhnd() 2014-09-02 15:41:12 +00:00
e8cef98c87 touched up some code 2014-09-02 15:24:30 +00:00
fc20cb22ea added urs.prerewrite() 2014-09-01 17:37:08 +00:00
46f13c54b3 enhanced qse_getnwifcfg() for linux.
added qse_mbshextobin(), qse_wcshextobin()
2014-08-30 05:40:57 +00:00
477dc278c2 added conditionals for SOL_SCTP 2014-08-29 16:26:13 +00:00
c0fc2e07d6 added mod-math.h 2014-08-29 16:22:47 +00:00
adda075fe9 fixed a crashing bug in ursd when a rewriter terminates prematurely.
changed urs code to truncate the trailing string after the  first space in the response from ursd/rewriter
2014-08-29 16:16:40 +00:00
433686b599 enhanced ursd 2014-08-28 15:59:20 +00:00
f27f5a650e written more ursd code 2014-08-27 17:39:31 +00:00
4195be2c84 fixed wrong parsing of length() 2014-08-27 17:39:03 +00:00
0251aef726 entouched upse_memcpy(), qse_memset().
added some code for urs
2014-08-26 16:29:56 +00:00
187443bb1d added ursd.c 2014-08-25 16:18:50 +00:00
78f8b4a994 added some urs code 2014-08-25 16:18:17 +00:00
eb1511b817 added more configuration items to httpd 2014-08-13 14:35:43 +00:00
1d1331247a added host/location specific dns/urs server 2014-08-12 01:42:13 +00:00
2fa6802c03 enhanced httpd 2014-08-11 05:44:03 +00:00
1ba63f1829 Added qse_str_amend()
almost finished primitive url rewriting
2014-08-08 18:53:04 +00:00
0bb946c800 added more code for dns and url rewrting support 2014-08-07 16:29:22 +00:00
ae45071b5e improved dns handling and added some code for url rewriting 2014-08-06 16:44:06 +00:00
4f4f42ae4f enhanced httpd's dns handling 2014-08-05 16:55:15 +00:00
ccb6ddcefd handled dns timeout in httpd 2014-08-05 09:55:00 +00:00
f1a77eb311 updated some build files 2014-08-04 16:36:37 +00:00
fc667d28e3 added timer and enhanced httpd to use timer for idling detection 2014-08-04 16:34:22 +00:00
fdc0ce7623 added some time calc functions 2014-08-01 17:17:00 +00:00
019475149c added QSE_HTTPD_SERVERSTD_PSEUDONYM 2014-07-30 16:42:25 +00:00
ae759f21e3 added X-Forwarded-For and fixed Via in httpd 2014-07-29 16:39:14 +00:00
c1888aba6a added EWOULDBLOCK into error code translation 2014-07-25 18:25:41 +00:00
043be1bcdc fixed a typo 2014-07-25 18:10:56 +00:00
e8a241ed71 changed sockets and pipes used in httped to work in non-blocking mode 2014-07-25 17:28:20 +00:00
6137df4e86 implemented simple dns caching in httpd 2014-07-24 16:22:06 +00:00
1231b3b941 improved dns and proxy handling in httpd 2014-07-23 16:07:43 +00:00
5703aaa8a5 touched up httpd 2014-07-22 17:58:11 +00:00
ad0d80fff5 added more name resolution code 2014-07-18 17:11:03 +00:00
88aaa1532a added some dns code 2014-07-17 16:11:02 +00:00
4e0e403a73 added some code for name resolution 2014-07-16 15:31:04 +00:00
a0e2a7067c squeezed in raw proxying code into normal proxy 2014-07-15 16:22:24 +00:00
a7ca23fa50 added some code to support raw proxying 2014-07-14 17:07:05 +00:00
efc8d5ceb4 touched up some code 2014-07-11 14:17:00 +00:00
fdce5fc592 migrated rand(), srand(), system() to modules 2014-07-11 07:42:28 +00:00
82a639045f changed to prototype of qse_mmgr_t function to accept mmgr itself instead of mmgr->ctx and fixed a memory leak bug under a certain failure condition 2014-07-09 15:01:16 +00:00
36b20b4169 renamed qse_xstr_t to qse_cstr_t 2014-07-08 14:30:42 +00:00
22444e298a changed some comments 2014-07-02 13:59:32 +00:00
a3453e5bd0 remove qse_cstr_t and related types. switched all existing references to qse_cstr_t and its family 2014-07-02 12:28:58 +00:00
7423092c39 removed most math functions from the main engine. migrated them to the math module 2014-07-01 15:27:27 +00:00
0c5d9eee9c added math::acos, math::asin, math::ceil, math::floor, math::round, math::sinh, math::cosh, math::tanh to awk 2014-06-30 02:30:49 +00:00
6b2f1f8771 fixed a typo 2014-06-30 01:26:32 +00:00
4bb71a765e fixed a bug in configure.ac and bugs in awk sample programs 2014-06-08 14:11:12 +00:00
d40eb87b85 exposed math functions as math::xxxx 2014-06-08 12:46:04 +00:00
e21afe6f6e enhanced c++ compiler detection 2014-05-28 16:51:32 +00:00
134d91e5a1 removed unneeded lines 2014-05-28 08:43:03 +00:00
7774a8a8fe migrated index_or_rindex() to fnc.c and exported some functions to shared by index(), str::index(), str::rindex() 2014-05-28 08:40:51 +00:00
9ec0981157 exposed str::match(), str::printf(), str::sub(), str::gsub() 2014-05-27 15:28:31 +00:00
b75630a8bb exposed str::split() 2014-05-27 14:26:04 +00:00
fdad26bba1 fixed a wrong field name that caused a compilation error on solaris 8.
make some builtin string functiosn available under str::
2014-05-27 14:13:12 +00:00
ffe3bd3207 added str::value(). 2014-05-01 14:35:17 +00:00
45b2bc5e57 added qse_sio_truncate(), qse_sio_seek(),
changed qse_sio_getpos() to flush first.
renamed qse_Xio_purge() to qse_Xio_drain().
2014-04-28 14:18:06 +00:00
e26b1a2a68 autoreconfed the project 2014-04-24 02:45:31 +00:00
fab24cd3d3 enhanced assertion output for win32 2014-04-23 04:37:57 +00:00
ec56609d4f added some experimental code for legacy mac os 2014-04-22 15:30:28 +00:00
e865215e3d fixed build problems caused by missing struct sockaddr_in6 and added an option second parater to dir::open() 2014-04-22 05:16:30 +00:00
257dbbb586 fixed definitions of INLINE macros for old gcc 2014-04-21 15:34:57 +00:00
cfb3eb93ec fixed a minor utf8 check bug.
fixed static linking problem regarding the seq module for awk
2014-03-31 01:45:18 +00:00
35839c9f67 fixed a memory leak bug in StdAwk.cpp when compiled for mchar 2014-03-11 14:54:05 +00:00
fa3757222a fixed some sample files 2014-03-03 15:36:30 +00:00
97261f9606 minor source fix 2014-02-27 15:15:36 +00:00
7cc9a56d83 added qse_awk_val_fun_t 2014-02-22 14:34:45 +00:00
d49fd50ecc added sed::str_to_str to the sed module for awk
fixed some build issues on legacy systems
2014-02-20 05:29:32 +00:00
a29a11e9fc regenerated misc makefiles 2014-02-19 15:30:37 +00:00
2e9bb90c39 added qse_awk_rtx_getvalstr() and qse_awk_rtx_freevalstr().
changed some code to use the 2 new functions.
added the sed module to awk. incomplete yet
2014-02-19 15:24:33 +00:00
b5de91921c added the 'k' option to the 's' command in sed 2014-02-19 04:09:46 +00:00
9006c44b9a touched up fundamental type definitions 2014-01-24 04:38:14 +00:00
8d8ac30f08 fixed a bug of hanlding an empty string properly in str::isxxx functions 2014-01-10 09:11:10 +00:00
876c411559 added str::isalnum, str::isblank, str:iscntrl, etc 2014-01-09 15:04:41 +00:00
a89cd70ddb updated copyright notice 2013-12-31 10:24:12 +00:00
8e6e7f29a6 touched up gdl.h 2013-11-26 13:47:58 +00:00
5ba15ae2e4 included more characters into xli tag character set.
improved detection of __float128 support
2013-11-14 14:07:16 +00:00
ea55e0d7ee added a build option to use qse_intmax_t for integers in awk.
made relevant changes to support the option
2013-11-05 14:16:45 +00:00
2a5dd843dd enhanced qse_awk_flt_t handling 2013-11-05 02:53:01 +00:00
ca1d1ede66 changed awk to less sensitive about encoding when loading environment.
fixed a bug of setting encoding wrongly with --script-encoding in cmd/awk/awk.c
2013-11-04 17:37:08 +00:00
9588bf2910 enhanced va_copy detection 2013-11-04 02:33:52 +00:00
be129e743b removed stdio.h stdio.c 2013-11-03 16:48:20 +00:00
91c9182ad7 enhanced __float128 handling
added qse_strvfmt() and qse_strxvfmt()
2013-11-03 16:01:39 +00:00
fa47ad2965 enhanced qse_str_fmt() 2013-10-30 13:50:21 +00:00
d97ef30707 added qse_str_fcat() 2013-10-30 05:53:54 +00:00
7074b0c389 reorganized str-dyn files 2013-10-29 14:14:43 +00:00
aaf73a86f5 fixed wrong return values of qse_fmtout 2013-10-28 09:40:25 +00:00
1a0dc68fa3 changed not to use the opposite type when outputting the padding character 2013-10-27 17:14:19 +00:00
198bd714b0 started writing qse_strfmt()/qse_strxfmt() and the famaily 2013-10-24 14:55:15 +00:00
636967779d enhanced line breaking in sio 2013-10-21 14:53:53 +00:00
a629a06cdc fixed some build problems 2013-10-21 08:39:53 +00:00
f95e8594b8 added more sio functions 2013-10-20 15:22:44 +00:00
8b0e522b27 added some convenience routines into sio 2013-10-20 14:14:10 +00:00
abff341236 added fmt.h 2013-10-20 12:39:31 +00:00
bd3502f7e9 added qse_sio_putmbsf(), qse_sio_putwcsf(), qse_sio_putstrf() 2013-10-19 03:39:10 +00:00
35e9b1777f enhanced xprintf 2013-10-16 15:32:51 +00:00
b70e378041 added some code to format floating-point numbers 2013-10-15 16:35:23 +00:00
99ac89fc57 fixed more bugs in printf.c/printf.h 2013-10-14 16:33:21 +00:00
fde2e1a3b0 enhanced formatted output function 2013-10-12 17:04:21 +00:00
561dbe49f5 added qse_strjoin()/qse_strxjoin() and variants 2013-10-11 13:43:29 +00:00
e7b4e7012c added experimental and incomplete xprintf function. 2013-09-30 14:55:58 +00:00
fd4f25d330 fixed a bug in xli reader 2013-09-27 16:19:44 +00:00
ef25755996 added QSE_XLI_KEYTAG 2013-09-25 06:40:40 +00:00
abcf8988a5 added QSE_XLI_STRTAG and changed related functions and defintions 2013-09-24 14:02:06 +00:00
84aca0ecb1 added QSE_XLI_NOLIST and QSE_XLI_NONIL 2013-09-23 14:06:25 +00:00
72fd080f70 added qse_getxlirootxtn(), QSE_XLI_ROOTXTNSIZE as well as the rootxtnsize parameter to multiple initialization functions 2013-09-20 07:18:26 +00:00
99d0e04879 added QSE_XLI_LEADDIGIT.
enhanced keyword and identifier scanning for xli
2013-09-17 01:28:04 +00:00
3d6f9af82b added qse_freexliroot() and qse_xli_yeildroot().
changed qse_xli_getpairxtn() to qse_getxlipairxtn()
2013-09-16 14:32:50 +00:00
c1c1f203ee added QSE_XLI_MULSEGSTR 2013-09-16 13:33:51 +00:00
cb170d2e7a add QSE_XLI_PAIRXTNSIZE and qse_xli_getpairxtn() 2013-09-16 11:03:44 +00:00
7e98acf59f added check for HAVE_LINUX_NETFILTER_IPV4_H 2013-09-13 07:14:08 +00:00
ab062079d6 added the check for sin6_scope_id 2013-09-13 06:42:07 +00:00
cad563503a renamed QSE_MSTRTONUM()/QSE_WSTRTONUM() to QSE_MBSTONUM()/QSE_WCSTONUM() 2013-09-11 09:15:22 +00:00
822bcf3afb enhanced get_highest_fd().
fixed an inifite looping bug in pio with posix_spawn() used
2013-09-11 09:14:29 +00:00
04e6df3dd8 enhanced qse_mbsxsubst() and qse_wcsxsubst() for buffer size prediction 2013-09-09 05:47:54 +00:00
88266f1b2e updated Makefile.am 2013-09-08 17:27:54 +00:00
5734b05114 enhanced qse_strxsubst().
added qse_strxnsubst()
2013-09-08 17:26:43 +00:00
f1485520ea deleted private fields from qse_httpd_task_t and created qse_httpd_real_task_t for better encapsulation 2013-08-24 15:16:20 +00:00
035a4329bd deleted stx directories 2013-08-24 14:04:12 +00:00
d841c9f62f changed awk to handle IGNORECASE with a regular expression engine that doesn't have a run-time option but has a compile-time option 2013-08-23 15:19:29 +00:00
47677ca566 minor touch-ups 2013-07-24 04:10:02 +00:00
d47976d218 fixed the error string table 2013-07-22 13:27:00 +00:00
462c891e1d added qse_xli_insertpairwithstrs().
renamed qse_xli_getnumpairs() to qse_xli_countpairs().
reworked qse_xli_findpair() and qse_xli_countpairs()
2013-07-15 06:52:06 +00:00
2b58fc6fe3 added qse_xli_definepair() and qse_xli_undefinepair().
renamed some xli functions.
updated cmd/httpd to utilize qse_xli_definepair()
2013-07-12 15:37:29 +00:00
67c47e906d started adding simple xli validation 2013-07-11 16:55:08 +00:00
2bccba995c fixed a xli reader bug of not placing the comment text inside a proper list 2013-07-02 13:10:11 +00:00
d2505bdbcd added code to accept a number as a xli value.
renamed pair->name to pair->alias and related functions.
enhanced xli reader to support string escaping
2013-07-01 15:16:19 +00:00
3e21bc4f98 made changes to clear errors before reading and writing xli 2013-07-01 09:29:08 +00:00
d8cb7f4ef1 fixed the xli writing bug of not writing multi-segment string properly and added qse_xli_clearwionames() 2013-07-01 09:26:39 +00:00
6f965a75d9 added qse_xli_dupflatstr() and renamed qse_xli_addnextsegtostr() to qse_xli_addsegtostr().
made relevant changes to cmd/httpd/httpd.c for the change of qse_xli_str_t
2013-07-01 09:10:13 +00:00
aeb9b79220 changed the structure of qse_xli_str_t. this breaks cmd/httpd/httpd.c
finished the xli output functions mostly
2013-06-29 17:01:32 +00:00
8b305fb6a7 some more code for writing xli 2013-06-29 04:17:32 +00:00
f8e8924c2d added more xli output code 2013-06-27 15:18:33 +00:00
e7b5352046 added QSE_XLI_KEEPTEXT and QSE_XLI_KEEPFILE and implemented these options 2013-06-23 14:44:29 +00:00
a218958f51 added qse_xli_getroot() and started implementing qse_xli_write() 2013-06-01 13:34:57 +00:00
fc18cd2db6 enhanced split(),ENVIRON,ARGV in awk to build a numeric string if a string can be converted to a number 2013-05-29 08:46:23 +00:00
15300bfcfc fixed a bug of not setting the last character properly upon EOF in get_char() of awk and xli 2013-05-15 15:08:39 +00:00
caf3cf8171 fixed more file inclusion bugs 2013-05-15 14:20:29 +00:00
639391d887 added QSE_SIO_KEEPPATH and qse_sio_getpath().
fixed a file inclusion bug in awk and xli
2013-05-15 12:05:24 +00:00
8bc5ea07e3 added the auth-rule option to httpd 2013-04-23 08:21:26 +00:00
b6b18918b9 changed awk modules to hard-fail when qse_awk_setrefval() fails 2013-04-20 01:57:50 +00:00
e01ac6bbac enhanced awk error codes for more consistency 2013-04-19 15:06:52 +00:00
3d813a1bf1 amended the reference handling in Awk.cpp.
added str::index() and str::rindex().
enhanded qse_awk_rtx_valtobool().
removed QSE_AWK_NCMPONSTR from QSE_AWK_CLASSIC.
added QSE_AWK_NCMPONSTR to QSE_AWK_MODERN.
2013-04-16 15:30:37 +00:00
23d316a659 enhanced qse_awk_rtx_setrefval() to handle references properly
enhanced qse_awk_rtx_valtostr() and qse_awk_rtx_valtonum() to handle references more correctly.
changed some awk error codes.
2013-04-16 10:09:24 +00:00
d5cca9d524 added qse_awk_rtx_ecb_gblset_t.
fixed a bug of returning an error when it must not in get_reference() in awk/run.c
2013-04-15 13:18:03 +00:00
d6208e893e added max-nofile and max-nproc to httpd 2013-04-13 05:22:41 +00:00
45b26152e3 fixed a potential problem in ssl 2013-04-08 08:11:19 +00:00
987c2cdbae added 1 more test case for qse_dir_t 2013-04-07 01:53:54 +00:00
bad915cc55 added some code for integrating TRE into awk 2013-04-06 13:39:56 +00:00
75bf46e051 changed default style for directory listing and error pages 2013-04-05 01:07:45 +00:00
33d7fd632c implemented QSE_DIR_SORT.
changed the way directory listing is formatted.
2013-04-04 15:04:45 +00:00
010b5fb9c0 fixed a wrong data type of a parameter passed to ioctl.
fixed the segfault when no host configuration is in the configuration file
2013-04-02 14:28:33 +00:00
15924c72cd updated some build files 2013-04-02 12:09:01 +00:00
8363f28e47 escaped path names when listing a directory.
added qse_httpd_escapehtml()
2013-03-31 15:19:24 +00:00
28119c7289 enhanced qse_httpd_entaskfile() and qse_httpd_entaskdir() to handle more methods.
added qse_httpd_entaskallow().
removed some unused functions.
2013-03-28 09:43:59 +00:00
595e3be043 added some code for handling the PUT method 2013-03-26 16:29:26 +00:00
597824fc89 changed the request inspection order for resource making 2013-03-24 16:35:44 +00:00
433b0da96d deleted QSE_HTTPD_SERVERSTD_EXPECT100 and improved 'Expect:' handling to return '417 Expectation Failed' for unknown expecttion 2013-03-22 14:48:57 +00:00
d5603febaa added QSE_HTTPD_SERVERSTD_EXPECT100 2013-03-22 12:45:39 +00:00
0ae8ba8f28 fixed a minor ssl handling issue 2013-03-21 12:51:13 +00:00
52071e8ab0 changed method checking for discarding contents 2013-03-14 06:51:43 +00:00
5777602a01 enhanced the httpd proxy code to add 'Via:' if QSE_HTTPD_PROXYNOVIA is not set 2013-03-14 06:33:54 +00:00
4d8c02588f moved the directory end check and redirection from httpd-dir.c to httpd-std.c 2013-03-14 02:41:24 +00:00
e02ee7b452 fixed a path matching bug in httpd 2013-03-14 02:10:39 +00:00
a90299e9ce enhanced httpd to relocate when an index file is found for a directory.
enhanced httpd to match host names better
2013-03-13 16:50:18 +00:00
5584375bf3 added lib/xli/std.c 2013-03-13 15:57:50 +00:00
d5efa32446 changed configure.ac not to add pthread options to cflags by default 2013-03-13 15:51:44 +00:00
847a08c455 enhanced cmd/http/httpd.c to load host/location-specific configuration data 2013-03-11 16:34:41 +00:00
357aec132a added qse_xli_getnumpairsbyname() 2013-03-10 16:25:36 +00:00
096628f7a7 added qse_httpd_serverstd_ssl_t 2013-03-04 04:46:22 +00:00
d0897866a4 changed makefile.am to make awk modules installable with 'install-exec' 2013-02-28 17:49:12 +00:00
a426fe24f4 fixed some cross-compiling problems in build files
- specifying $(includedir) to AM_CPPFLAGS caused problems when --prefix was set to /usr during cross-compliation since header files for the cross compiler conflicted with files in $(includedir)=/usr/include. 
- the same applies to $(libdir) in LDFLAGS or something similar
2013-02-26 18:31:38 +00:00
b4e1c58553 renamed samples/cmn/env.c to samples/cmn/env01.c 2013-02-26 09:24:35 +00:00
e24161d184 added -n to qsehttpd 2013-02-23 16:15:27 +00:00
7984b065e1 fixed a segfault issue in httpd 2013-02-22 10:59:40 +00:00
9e2010f85c added qse_httpd_serverstd_realm_t and qse_httpd_serverstd_auth_t 2013-02-22 08:56:34 +00:00
f3d6d8a0e1 added -x to cmd/httpd.c 2013-02-22 05:08:22 +00:00
624a917b45 removed many debugging messages from httpd 2013-02-22 05:01:33 +00:00
394cb34c04 fixed build files and renamed std.h to be more specific 2013-02-22 03:18:42 +00:00
779d7bc375 added qse_httpd_serverstd_root_t 2013-02-21 15:49:49 +00:00
b420a7c0dc added file-access and dir-access to cmd/http/httpd.c 2013-02-21 15:00:08 +00:00
b677b4a892 renamed qse_httpd_reconf() to qse_httpd_impede().
added more enhancements to httpd
2013-02-20 08:47:22 +00:00
ddae5542d2 enhanced cmd/http/httpd.c to load configuration from file 2013-02-19 13:31:18 +00:00
5bc774db3a revising httpd 2013-02-18 13:45:50 +00:00
bbdf168ee8 added AM_SILENT_RULES to configure.ac 2013-02-09 13:31:31 +00:00
60255caf39 added more code to xli 2013-02-06 14:31:32 +00:00
ee2d918538 started working on xli 2013-02-05 15:04:15 +00:00
12b8ad7cc9 fixed a couple of awk parsing bugs
- lost token in an expression like bash | xyz + 20 for the way preget_token() was used.
- wrong redirection handling in an expression like print 1,2,3 > (4)
2013-02-04 09:19:17 +00:00
f070058372 touched up httpd code 2013-02-03 04:57:10 +00:00
0048331293 fixed some hiccups in bakefile description 2013-02-02 17:21:52 +00:00
2402f6f92b added build files for msdos extenders 2013-02-02 03:49:28 +00:00
7aa63462f1 implemented static linking of awk modules 2013-02-01 14:30:25 +00:00
710a425fb7 migrated awk module files 2013-02-01 08:31:42 +00:00
444a82782e corrected the value of QSE_AWK_NEXTOFILE 2013-01-31 10:07:20 +00:00
27fbfd6651 regenerated native build files 2013-01-31 09:11:39 +00:00
e40c018274 moved mod/awk/* to lib/awk/mod/* 2013-01-31 09:04:16 +00:00
1dd8de1566 added the shebang field to cgi.
changed qse_httpd_getoption()/qse_httpd_setoption() to qse_httpd_getopt()/qse_httpd_setopt() with QSE_HTTPD_TRAIT
fixed a bug of not passing the pred argument in qse_httpd_entaskrsrc().
2013-01-30 14:08:38 +00:00
543376b7d9 renamed QSE_AWK_EXTRAKWS to QSE_AWK_NEXTOFILE
fixed a minor glitch in qse_pio_t
fixed the nil field to xnil in qse_rbt_t to minimize collision with external header files since nil is a commonly found macro
added a simple optimization to qse_memcpy()
2013-01-29 03:43:32 +00:00
c7d88c455a added QSE_AWK_INCLUDEDIRS. actual impl still pending 2013-01-22 14:20:10 +00:00
0e48b7bc88 changed awk's default traits 2013-01-22 13:51:00 +00:00
c45abff9ab added str::normspc
fixed a bug of mistaking a colon for a backquote in some contexts
2013-01-21 14:35:24 +00:00
d671443442 experimented a bit for building on classic mac os 2013-01-20 14:03:36 +00:00
164b85a6f9 changed the number of maximum digits after \x in an awk string 2013-01-19 16:21:32 +00:00
4191538b24 modified some files for builing in macosx(ppc) 2013-01-17 14:13:48 +00:00
07d38add5d revised docs 2013-01-16 07:51:42 +00:00
121ed07cf0 fixed a bug in awk's built-in function fflush().
added the mb8 conversion routines for raw byte conversion
2013-01-16 05:04:56 +00:00
444abec9fe fixed a variable not matching the size of underlying registers for QSE_SYSCALL0 2013-01-15 11:51:26 +00:00
8160249b38 updated docs 2013-01-15 08:11:25 +00:00
3d1c8b3893 added more samples and revised docs 2013-01-14 16:02:04 +00:00
54cdb97858 deleted awk05.cpp 2013-01-13 14:20:24 +00:00
be6beb61dc renamed Sed::getOption() and Sed::setOption() to Sed::getTrait() and Sed::getTrait() respectively
added qse_sed_opt_t, qse_sed_trait_t
renamed qse_sed_exec_op_t to qse_sed_tracer_op_t
renamed qse_sed_exec_tracer_t to qse_sed_tracer_t
added qse_sed_getopt() and qse_sed_setopt()
deleted qse_sed_setlformatter(), qse_sed_getlformatter(), qse_sed_setexectracer(), qse_sed_getexectracer(), qse_sed_setmaxdepth(), qse_sed_getmaxdepth()
2013-01-13 13:15:03 +00:00
92e4134b7d added qse_sed_getspace(), qse_sed_allocmem(), qse_sed_reallocmem(), qse_sed_callocmem(), qse_sed_freemem() 2013-01-13 09:04:54 +00:00
2337ac67b1 fixed a test script for a changed sed option 2013-01-12 16:57:41 +00:00
67bac76b65 reverted lib/sed/std.c 2013-01-12 16:51:49 +00:00
ef6d295cac revised docs 2013-01-12 16:46:12 +00:00
4581bf1e4e updated sed docs 2013-01-10 14:17:53 +00:00
686f63f665 updated docs more 2013-01-09 14:10:58 +00:00
6e94d324ef updated documentation 2013-01-09 08:03:21 +00:00
19b4e697af updated samples and docs 2013-01-08 15:56:56 +00:00
dfafdc4656 fixed some sample files for updated function usage 2013-01-08 05:51:58 +00:00
f689359e78 added some more docs 2013-01-07 15:08:22 +00:00
2624acb308 enhanced Awk and StdAwk to be able to handle argument reference 2013-01-07 08:33:48 +00:00
d9f961c6c3 added qse_awk_rtx_setprm().
changed some module functions to use referenced argument
2013-01-05 14:38:30 +00:00
db32de0ceb fixed a potential issue concerning makecontext() 2013-01-04 16:04:18 +00:00
02831b01a0 cleaned up code a little bit 2013-01-03 14:58:22 +00:00
8ed69e7152 added primitive kqueue support 2013-01-02 03:00:20 +00:00
e957f7a1a1 revised some documentation 2012-12-30 06:20:08 +00:00
7f64932d19 fixed wrong declaration of os/2 api functions 2012-12-29 16:17:26 +00:00
6a2dce50b8 wrote more to the installation page 2012-12-28 14:32:56 +00:00
61ebfcd277 added syserr.h to makefile.am 2012-12-28 08:48:35 +00:00
3aec7946c3 changed the way to fix ERROR_BROKEN_PIPE.
improved socket error translation
2012-12-28 08:39:41 +00:00
eb28009952 improved error number handling.
handled a broken pipe condition from an anonymous pipe in awk
2012-12-27 14:40:58 +00:00
b8c66b5b8d added qse_dir_geterrnum() 2012-12-25 14:10:02 +00:00
c133af0e55 added qse_awk_rtx_setrefval()
enhanced qse_awk_rtx_valtobool(), qse_awk_rtx_valtonum()< qse_awk_rtx_valtostr() to handle reference values
2012-12-22 14:01:41 +00:00
0dc6c0863e deleted the isnil operator and added the backquote operator to mean notnil 2012-12-19 14:11:07 +00:00
092a8106b2 enhanced env not to crash if environ is pointing to null 2012-12-18 15:12:53 +00:00
1595a9a4f3 touched up code for warp 4 2012-12-18 08:12:15 +00:00
14648534b3 changed a single-quoted string to support no escaping.
added a not-defined/is-nil operator
2012-12-15 15:30:13 +00:00
eb944bbf95 touched up some source files for borland and msvc.
added more options to bakefile description
2012-12-13 13:07:16 +00:00
7337bf12b8 removed doxyfile.css 2012-12-12 15:24:34 +00:00
cfc71b3f80 updated doxyfile and added some bakefile description 2012-12-12 15:21:37 +00:00
b2d7199f39 improved error handling in httpd
added more win32/watcom targets
2012-12-10 14:39:57 +00:00
988621d148 added a dumb work-around for win32/os2 2012-12-10 07:17:10 +00:00
a523f1443b added qse_isdriveabspath().
enhanced httpd to accept drive path as a doc root for win/os2
2012-12-10 03:10:44 +00:00
5936aea85f added mux code for os2 2012-12-09 16:14:05 +00:00
1d947c202f fixed a bug due to QSE_FIO_MBSPATH
added more watcom targets
2012-12-09 01:31:55 +00:00
828de9af20 added a missing target file 2012-12-08 01:37:28 +00:00
b41a766219 changed fio.c to use SetFilePointerEx for _WIN64 2012-12-07 15:23:56 +00:00
4ccc843e6b added unicode trait and case functions.
fixed some code for os2
2012-12-06 13:02:46 +00:00
d0dd9a3347 enhanced httpd for win32 2012-12-04 16:44:59 +00:00
120992a242 added qse_getawknilval()
prefixed many public functions with QSE_EXPORT
2012-12-01 13:13:13 +00:00
7dd9e67cd8 added qse_awk_rtx_isnilval().
enhanced the qse_awk_sio_t core functions so that the implementaion can set the stream name
added export specifiers to some functions
2012-11-29 14:03:59 +00:00
2f96252ddd fixed some files for os2 build 2012-11-28 14:13:36 +00:00
624d88fdce fixed some files for os2 build 2012-11-28 14:12:26 +00:00
a332c5b55e renamed QSE_AWK_MAPTOVAR to QSE_AWK_FLEXMAP.
allowes a map variable to be reassigned with another value
2012-11-28 05:34:19 +00:00
f1f3080ab3 make @word to be always on
simplified the return value of I/O handler's open function by eliminating the concept of EOF on opening.
enhanced qse_awk_parsestd() to accept an array of qse_awk_parsestd_t for input streams.
enhanced cmd/awk/awk.c to handle multiple -f's properly
2012-11-25 16:16:44 +00:00
1ad89afa99 added qse_strxtrmx()
added sys::trim().
allowed a singled quoted string in awk
2012-11-23 17:11:06 +00:00
f04bea44e1 added QSE_NWIFCFG_LINKUP, QSE_NWIFCFG_LINKDOWN, QSE_NWAD_NX.
changed qse_nwifcfg() to set an address type to QSE_NWAD_NX when the address can't be retrieved
2012-11-22 13:36:46 +00:00
c2668bbe26 changed the way to handle @words.
switched global, local, reset, abort to @global, @local, @reset, @abort to avoid collision with existing awk programs
2012-11-20 14:44:43 +00:00
1157af0b8a added qse_clearnwad()
enhanced qse_getnwifcfg() a bit.
added uci::adddeltapath.
2012-11-19 14:32:38 +00:00
c65caeed9d enhanced sys::getnwifcfg() 2012-11-19 07:05:34 +00:00
2cfde75ae6 started adding sys::getnwifcfg() 2012-11-18 15:46:51 +00:00
a55545b8ae added qse_prefixtoip4ad()/qse_prefixtoip6ad().
added more code to qse_getnwifcfg(). 
renamed qse_ipad4_t and qse_ipad6_to to qse_ip4ad_t and qse_ip6ad_t respectively
2012-11-18 15:19:51 +00:00
105c862230 fixed error handling in qse_dir_init() 2012-11-16 17:11:18 +00:00
034d3e9c04 added QSE_GLOB_TOLERANT
enhanced check for __int128_t
added qse_getnwifcfg()
added qse_skad_t, qse_skadtonwad(), qse_nwadtoskad()
added more checks to configure.ac
2012-11-16 16:46:49 +00:00
b94dd042c5 changed qse_ntime_t to a structure and made related changes 2012-11-11 16:07:34 +00:00
d6a3bfea8d fixed a select bug in mux.c 2012-11-10 16:01:35 +00:00
7e509d4daa added qse_dir_t.
added qse_mux_t.
added dir::xxx() for awk
2012-11-09 17:31:33 +00:00
a3ee069804 simplified some functions 2012-11-06 04:30:35 +00:00
dfc5fdfdea implemented binary symbol search in awk modules 2012-11-05 09:49:54 +00:00
2179278c41 changed the module loader to attempt to find '_load' and 'load_' as in addition to 'load'.
added the stat field to qse_awk_val_t.
added DLL loading for DOS32/CauseWay
deprecated PROCINFO. you can use various sys::xxxx() functions to get equivalent information.
migrated time() to sys::gettime() and added sys::settime().
2012-11-05 05:20:12 +00:00
3f456d0f94 fixed a wrong module function definition 2012-11-03 17:49:34 +00:00
3f99d7ac3d added qse_awk_fnc_spec_t.
renamed qse_awk_mod_info_t to qse_awk_mod_spec_t
2012-11-03 17:44:23 +00:00
7557b22cb8 enhanced module handling 2012-11-02 14:08:46 +00:00
86463296e4 changed module naming convention 2012-11-02 00:32:45 +00:00
acdd3a7a1c prefixed many functions and classes with QSE_EXPORT 2012-11-01 15:03:02 +00:00
b062a1fd30 fixed some build glitches 2012-11-01 07:22:15 +00:00
3b9f0ab14e almost finised mpi migration 2012-11-01 06:42:38 +00:00
acb40dea35 added modopen()/modclose()/modsym() to Awk/StdAwk.
migrated /lib/awk/mpi.c to mod/awk/mpi.c partially
2012-10-31 13:51:32 +00:00
65c324d373 added QSE_AWK_MODERN 2012-10-31 09:43:56 +00:00
a3af4c3eed added qse_awk_rtx_valtombs()/qse_awk_rtx_valtostr()
added sys::kill() to awk
added sys::SIGXXXX to awk
added or enhanced uci::XXXX in awk
2012-10-31 08:31:58 +00:00
3db3ab2249 added qse_awk_rtx_makemapvalwithdata().
enhancced qse_awk_rtx_makestrval() and related functions.
enhanced the uci module
2012-10-29 14:41:39 +00:00
18ab6aaf8d enhanced parsing getline
added qse_cstrdup()/qse_wcstrdup()/qse_mcstrdup()
2012-10-28 14:46:37 +00:00
4e92c0ef1c Added QSE_AWK_BLANKCONCAT
fixed getline parsing to accept $XXX
2012-10-27 16:28:12 +00:00
c6a0a99e84 added QSE_AWK_MOD_INT and QSE_AWK_MOD_FLT
added qse_awk_mod_sym_int_t and qse_awk_mod_sym_flt_t
2012-10-26 15:44:23 +00:00
66da8f46c7 made slight enhancement in @include handling 2012-10-26 00:55:13 +00:00
8ac0963885 combined some awk options into QSE_AWK_EXTRAKWS.
deleted QSE_AWK_EXTRAOPS and enabled all new operators by default
added === and !==.
fixed a bug in printing the explicit concatenation operator(%%, %%=)
improved @include handling
2012-10-25 14:38:27 +00:00
b53fe11c04 fixed a memory leak bug in the uci module 2012-10-24 12:35:01 +00:00
31edff2391 enhanced function call code to support module calls.
added libltdl into configure.ac, thus to the project
2012-10-23 17:08:56 +00:00
d963a79bd2 touched up code for module call in awk 2012-10-22 09:36:15 +00:00
ff13bf4668 added qse_awk_setopt()/qse_awk_getopt().
deleted qse_awk_getoption()/qse_awk_setoption()/qse_awk_setmaxdepth()/qse_awk_getmaxdepth().
redefined enumeration types related to the functions added or deleted above.
moved fnc_sleep from cmd/awk/awk.c to mod/awk/sys.c
managed to get external module call working in the primitive level
2012-10-21 16:19:03 +00:00
11b9829c9b added some code to support module calls using module-name::function-name syntax to awk.
reorganized a few awk error code
2012-10-20 15:58:20 +00:00
3cec861547 added qse_awk_rtx_callwithstrs() 2012-10-18 14:11:59 +00:00
e2f152c927 added qse_httpd_getserveroptstd() and qse_httpd_setserveroptstd().
added an output length parameter to qse_mbstowcsdup() and similar functions
2012-10-18 06:52:03 +00:00
8f5a0a3933 fixed wrong declaration of a stat buffer 2012-10-16 09:29:28 +00:00
c6530a1c13 moved directory list formatting to qse_httpd_rcb_t.
added some entask variants
modified qse_mbsadup()/qse_mbsxadup()/qse_wcsadup(0/qse_wcsxadup() to return length
2012-10-16 08:54:07 +00:00
7940a758d0 added directory handler to qse_httpd_scb_t 2012-10-15 16:39:23 +00:00
d9b42ca785 fixed wrong indentation 2012-10-15 09:46:29 +00:00
b907296f4a touched up qse_task_t 2012-10-15 09:36:39 +00:00
55ee23a255 interim commit with incomplete tasking routines 2012-10-11 13:39:52 +00:00
5840c7193c fixed a memory leak bug in prohibiting the directory listing 2012-10-03 14:12:07 +00:00
5281c22503 added qse_httpd_server_cgistd_t, qse_httpd_server_idxstd_t, qse_httpd_server_mimestd_t.
changed qse_httpd_cbstd_t to qse_httpd_server_cbstd_t.
change qse_httpd_attachserver() and qse_httpd_attacheserverstd()
2012-10-02 17:33:29 +00:00
d2572d9c46 added qse_nwadequal()
touched up httpd a bit more
2012-10-01 13:30:44 +00:00
2bf8d7610f checked in a missing file 2012-10-01 10:51:11 +00:00
001ede6afa added qse_mbstouri()/qse_wcstouri()/qse_strtouri().
added qse_enbase64()/qse_debase64().
enhanced basic authorization to httpd-std
2012-09-30 13:56:20 +00:00
8736743eeb added uri.c tentatively 2012-09-28 13:32:02 +00:00
e0353fca2f replaced a few calls to snprintf() with qse_fmtuintmaxtombs().
changed the behavior when handling a query path without a slash
2012-09-27 12:54:35 +00:00
5b07370866 added IP_TRANSPARENT definition in case it isn't defined 2012-09-26 13:03:44 +00:00
1f0e2e081e enhanced syscall macros 2012-09-26 02:41:37 +00:00
4c2df3b4dd fixed gcc/fpic issue for x86 in syscall macros 2012-09-25 13:28:23 +00:00
cb34385ded fixed a formatting bug in qse_strtonwad()
renamed qse_httpd_addserver() to qse_httpd_attachserver().
added qse_httpd_detachserver().
added the predetach field to qse_httpd_server_t.
added qse_httpd_cbstd_t and changed qse_htpd_loopstd() to accept this cbstd.
enhanced server uri parsing to include 'docroot'.
enhanced qse_httpd_entasktext() and added qse_httpd_entask_text() for internal use.
added nwif functions like qse_nwifindextombs().
added qse_env_insertmbsa()/qse_env_insertwcsa()/qse_env_inserta().
enhanced TPROXY handling
2012-09-25 02:47:25 +00:00
fdba865863 improved httpd 2012-09-18 13:03:57 +00:00
99f1b5453b fixed a bug in ssl handling 2012-09-15 14:27:14 +00:00
2179c2a88b enhanced httpd to support if-modified-since 2012-09-14 16:18:35 +00:00
7466287f93 added qse_httpd_setname(), qse_httpd_getname(), qse_httpd_fmtgmtimetobb()
added qse_fmthttptime()
added Date and Server to httpd tasks
2012-09-13 12:31:01 +00:00
adb9f387f9 enhanced httpd a bit 2012-09-12 15:47:41 +00:00
b9a0863fff added qse_httpd_entaskdir() 2012-09-11 16:19:52 +00:00
9cc8d6f76d enhanced eval_getline() in awk.
fixed a bug in awk's printf().
fixed a bug of not incrementing NR and FNR in awk's getline().
added some MPI stuffs
2012-09-10 09:55:22 +00:00
efcccc05e7 touched up code a bit 2012-09-07 15:33:44 +00:00
ea3ebef8f1 added qse_awk_pushecb()/qse_awk_popecb()/qse_sed_pushecb()/qse_sed_popecb()/qse_httpd_pushecb()/qse_httpd_popecb().
started reorganizing samples/httpd01 to net/httpd-std.c
2012-09-07 15:13:55 +00:00
69b118fcbf added qse_cmgr_id_t, qse_setdflcmgrbyid(), qse_findcmgrbyid()
deleted qse_slmbcmgr, qse_utf8cmgr, qse_cp949cmgr, qse_cp950cmgr
added --enabled-more-cmgrs to configure
2012-09-05 22:37:55 +00:00
464f763307 enhanced configure.ac for selective ssl inclusion.
renamed MPI_NODE to MPI_HOST
2012-09-05 13:46:11 +00:00
870ee3e362 reorganized some error codes.
added ssl library check to configure.ac
corrected wrong function definitions in chr.h
added MPI_NODE
2012-09-05 10:40:58 +00:00
e059a337eb added -w to awk. changed -w to -b in sed and added -w to sed 2012-09-04 10:15:49 +00:00
f0e03cb4ca enhanced qse_glob() to handle win/dos/os2 driver letters.
fixed a bug in qse_tio_writembs()
2012-09-02 08:48:05 +00:00
78f6f709ee made qse_glob() non-recursive and added dos support into it 2012-09-01 16:05:40 +00:00
b673e79c8c enhanced qse_glob for win32 and os2.
added input file expansion to cmd/sed/sed.c for win32 and os2
2012-08-31 13:00:33 +00:00
fde4ee404b added an experimental and incomplenet glob function 2012-08-30 16:36:37 +00:00
8367a4cd12 fixed a bug in qse_gettime().
fixed wrong declaraations in alg.h
2012-08-27 15:53:53 +00:00
a35c10fbfc added qse_randxs32() and qse_randxs64().
changed awk's rand() to use these.
fixed a bug of registering rand() with a wrong number of arguments in StdAwk.
2012-08-27 15:10:57 +00:00
53c98cce93 touched up configure.ac to produce substituable PACKAGE_VERSION_MAJOR, PACKAGE_VERSION_MINOR, PACKAGE_VERSION_PATCH 2012-08-22 02:53:15 +00:00
5033596aee fixed Makefile.am not to link unicosw in the mchar mode 2012-08-20 15:08:06 +00:00
a2b51062a9 fixed a bug of wrong field buffer management in sed 2012-08-20 06:00:22 +00:00
9bc182de7a deleted files related to the dropped 'cut' utility 2012-08-19 14:26:41 +00:00
6421da99f4 added 'abort' & QSE_AWK_ABORT to awk.
added a new sed command 'C' that resembles the cut utility
dropped the cut utility.
added qse_str_nrcat()/qse_mbs_nrcat()/qse_wcs_nrcat()
2012-08-19 14:20:19 +00:00
006dd8975f added 'abort' & QSE_AWK_ABORT to awk.
added a new sed command 'C' that resembles the cut utility
dropped the cut utility.
added qse_str_nrcat()/qse_mbs_nrcat()/qse_wcs_nrcat()
2012-08-19 14:20:05 +00:00