Commit Graph

1690 Commits

Author SHA1 Message Date
8d98111202 fixed wrong declarations of qse_awk_rtx_valtowcsdupwithcmgr() and qse_awk_rtx_valtombsdupwithcmgr() which caused segfault when the returned pointer is greater than UINT_MAX 2019-06-30 09:26:33 +00:00
88d5820dbb fixed dependencies in build files 2019-06-30 05:00:30 +00:00
46231430f4 enhanced qse_awk_rtx_callfun() to allow a function with pass-by-reference parameters 2019-06-30 04:26:44 +00:00
aa5559e400 revised the comment on QSE_XTN() 2019-06-25 02:43:45 +00:00
03bdfda578 added _instsize to qse_httpd_t, qse_httpd_server_t, qse_httpd_client_t, etc 2019-06-25 02:36:32 +00:00
74b48b87ec added _instsize into qse_sed_t and removed qse_sed_getxtnstd() 2019-06-25 01:21:00 +00:00
5d627bc2a7 _instsize into qse_xli_t and qse_json_t 2019-06-24 14:24:14 +00:00
35a24a56d1 added the _instsize field to qse_awk_t and qse_awk_rtx_t to get rid of qse_awk_getxtnstd() and qse_awk_rtx_getxtnstd() 2019-06-24 08:53:49 +00:00
f4a8a5bff7 fixed a new bug in qse_awk_rtx_valtowcsdupwithcmgr() 2019-06-18 13:59:41 +00:00
69f97d969e fixed the wrong qse_awk_rtx_valtostrdupwithcmgr macro.
simplied eval_getline() a bit
2019-06-18 13:54:34 +00:00
00d0dc786f added qse_awk_rtx_valtostrdupwithcmgr()/qse_awk_rtx_getvalstrwithcmgr()
enhanced str::frommbs()/str::tombs() to support the encoding name as the second parameter
2019-06-18 10:51:26 +00:00
a04c9b6125 work in progress. trying to accept the encoding name in str::tombs() and str::frommbs() 2019-06-18 07:03:50 +00:00
332aee2f88 exposed non-const getValueAt() and operator[] in Array.hpp 2019-06-14 10:15:08 +00:00
f26ce3bf40 added qse_xli_findpairatindex() 2019-06-14 09:05:12 +00:00
1fd7626b2e renamed worker to connection in QSE::TcpServer 2019-06-14 08:35:11 +00:00
d3a0140ab6 added TcpServeR::errlogfmt() to report internal operation failures 2019-06-14 05:53:24 +00:00
3f8838afd3 renamed ErrorCode to ErrorNumber wherever possible
substituted this->getMmgr()->reallocate() and this->getMmgr()->dispose() for QSE_MMGR_REALLOC() and QSE_MMGR_FREE() in TcpServer.cpp
2019-06-14 03:34:39 +00:00
b12e3f4016 made ErrorGrab a template class 2019-06-14 01:05:38 +00:00
766386566f made ErrorGrab a template class 2019-06-13 23:16:12 +00:00
cb0e08f449 added ErrorGrab and used it in TcpServer 2019-06-13 10:18:30 +00:00
4d556c475a fixed the processed length calculation bug in feed_json_data() in xli/json.c 2019-06-13 05:45:47 +00:00
df7a5eda5f fixed a bug of skipping setting output length in qse_awk_rtx_valtombsdup in the MCHAR mode.
added str::tombs() and str::frommbs()
changed mbs_to_str() to use rtx->awk->cmgr for mbs to wcs conversion
2019-06-13 04:26:13 +00:00
7f57afe262 defined QSE_APP_LOG4 through QSE_APP_LOG9
added QSE::App::setCmgr() and QSE::App::getCmgr()
fixed a wrong memory disposal call in awk/run.c
fixed some syntax issues in the QSE_CHAR_IS_MCHAR mode
initialized best.len and cur.len to 0s in qse_ip6adtombs() and qse_ip6adtowcs()
2019-06-12 07:07:18 +00:00
12eacceec0 fixed some issues in xli/json.c 2019-06-11 16:33:26 +00:00
f95e9d36cf added the ignore_if_unhandled parameter to App::neglectsignal().
added App::logfmt() and App::logfmtv()
added QSE::TcpServerFD<F,D> and  QSE::ThreadFD<F,D>
2019-06-11 09:10:09 +00:00
9a0f2e15b8 added xli/json.c 2019-06-10 15:09:01 +00:00
d7940a7c5b enhanced the awk deparser to print @pragma stack_limit if different from the default settings.
defined QSE_AWK_MAX_DFL_STACK_LIMIT
2019-06-10 04:57:51 +00:00
e8395f98da added str::TRIM_FLAG_PAC_SPACES for str::trim() 2019-06-10 03:16:54 +00:00
ee7fcef062 fixed a bug in copying value back to pass-by-reference arguments 2019-06-09 16:17:40 +00:00
f22b4894fd fixed some issues in the awk tester 2019-06-09 16:06:03 +00:00
ad3e78f386 fixed some build directive names 2019-06-09 09:51:12 +00:00
dcb4619fec implemented @pragma stack_limit 2019-06-09 05:55:36 +00:00
ce459fe337 fixing pass-by-reference handling bugs 2019-06-08 06:53:24 +00:00
7e4cc9a7c8 more code to support call-by-reference parameters of a normal awk function 2019-06-07 16:31:16 +00:00
4255f9599f implemented call-by-reference parameters of normal awk functions partially. it has yet to be refined further 2019-06-07 09:26:50 +00:00
040ee69eb7 more touch-up 2019-06-07 05:20:20 +00:00
e8cfcfce44 simple touch-up 2019-06-07 03:19:27 +00:00
ac8bb735d9 added mysql::select_db() 2019-06-06 15:12:00 +00:00
38dc85ddf4 added qse_awk_backuperrmsg() and qse_awk_rtx_backuperrmsg().
enhanced the module loading code to emit more comprehensive error message in awk/parse.c
removed dynamic exception specification from some methods.
added mysql::affected_rows()
fixed wrong parameter handling in mysql::autocommit().
changed mysql::esacpe_string() to return the result via the second parameter
2019-06-06 12:11:40 +00:00
5ec8e15140 updated copyright notice that's been long procrastinated 2019-06-06 05:28:23 +00:00
84f5289c33 added mysql::errmsg(), mysql::escape_string(), mysql::ping(), mysql::rollbacK(), mysql::commit(), mysql::autocommit(), mysql::OPT_CONNECT_TIMEOUT, mysql::OPT_READ_TIMEOUT, mysql::OPT_RECONNECT, mysql::OPT_WRITE_TIMEOUT 2019-06-04 08:53:44 +00:00
454f5ec837 implemented mysql::store_result(), mysql::free_result(), mysql::fetch_row() roughly 2019-06-03 08:53:46 +00:00
bbdb18e9d3 more code to mod-mysql 2019-05-24 08:58:52 +00:00
aa3a219f56 some work on mod-mysql 2019-05-23 11:03:46 +00:00
560298d0d1 work in progress - awkmod-mysql 2019-05-22 11:21:57 +00:00
4a897bddf8 removed some module specific functions from the header files 2019-05-14 03:16:33 +00:00
86c1819a1d moved id-to-data mapping functions to imap-imp.h out of mod-dir.c 2019-05-13 16:35:33 +00:00
546d34d732 changed @inclone to @include_once
changed the sf_in_open() to set arg->uniqie_id in lib/awk/std.c
2019-05-13 05:22:40 +00:00
3bfaaa2bc9 added the unique_id field to qse_awk_sio_arg_t to implement the single time inclusion feature.
added primitive logic to check and remember inclusion
2019-05-12 17:03:30 +00:00
eb9413907b implemented @pragma implicit on/off in awk 2019-05-10 10:01:03 +00:00