Commit Graph

1593 Commits

Author SHA1 Message Date
04ede03b37 added Sttp::sendCmdV() 2020-08-10 16:55:58 +00:00
0702fe331a added TypesErrorNumberToWcstr and TypesErrorNumberToMbstr
redefined QSE_MT() and QSE_WT()
2020-08-09 19:08:47 +00:00
1cbdbed159 merged c++ libraries to c libraries. (e.g. libqsecmnxx merged in libqsecmn)
implemented the feed-based sttp class
2020-08-06 11:42:39 +00:00
85447c8882 a bug fix in htrd.c 2020-05-20 07:26:49 +00:00
1b46bba861 fixed the standard console handlers to reset FNR when opening a new file upon EOF of the previous file 2020-03-16 04:41:11 +00:00
e83fda484e fixed a bug in printing a tree node of the QSE_AWK_NDE_POS type 2020-03-12 04:31:19 +00:00
7d82d5c8b0 fixed a memory leak upon an error in hawk_fnc_match() 2020-03-10 14:32:30 +00:00
73adc1f3dd changed the tre parser to treat a backslash as an escaper inside [] 2020-03-09 15:34:34 +00:00
342c7ff32f fixed a bug in matching string end with $ 2020-03-09 07:36:12 +00:00
0581258f94 added %u to printf in lib/awk/run.c.
changed %c with an empty string to print '\0' in printf
2020-03-08 14:42:33 +00:00
c44525c276 fixed the execution behavior of double patterned action block(e.g. /a/,/b/) 2020-03-08 14:20:48 +00:00
41dd60e4b2 fixed a bug in NF=value assignment handling 2020-03-08 11:02:03 +00:00
59ad30bab2 fixed a bug when assigning NF with a large number than the current number of records 2020-03-07 16:24:02 +00:00
34d1b1d1d7 fixed a bug in converting multidimensional array index to a string in lib/awk/run.c 2020-03-07 15:50:53 +00:00
390e72d209 fixed wrong array size in lib/awk/run.c 2020-03-05 05:52:36 +00:00
577c084a10 fixed the standard console handler to return an error if ARGV is not a map 2020-03-05 05:32:25 +00:00
5438c8129c changed the unary bitwise negation operator to a single tilde which overlaps with the regex match operator 2020-03-04 14:10:35 +00:00
04eb425326 set the initial value of FS to a single space letter in awk 2020-03-04 06:33:58 +00:00
32f6381bd1 fixed a critical bug in handling a multi-dimensional index with delete (e.g. delete[20,"data"]) 2020-03-02 07:23:11 +00:00
cb1b28558f removed a blank line in qse_awk_rtx_isnilval() 2020-01-19 10:03:26 +00:00
bf5280e14e fixed the buggy qse_awk_rtx_isnilval() 2020-01-19 10:02:35 +00:00
351736b43c added sys::resetdir() to awk
fixed bugs in qse_dir_reset()
2020-01-06 07:21:17 +00:00
ec930a92ab fixed a bug in mod-mysql.c 2020-01-04 15:50:22 +00:00
7a1f072f87 changed code to clear out a variable before use in fnc_getnwifcfg() 2020-01-02 03:54:46 +00:00
cbfe6bf628 fixed a bug of setting the tre option wrongly in qse_awk_buildrex() 2020-01-01 14:05:00 +00:00
81676bb46f corrected undesired code in lib/awk/parse.c 2019-12-25 14:48:57 +00:00
092a60dcff fixed a neligible mistake in lib/awk/mod-sys.c 2019-12-25 03:33:59 +00:00
58017aedb4 minor fix in lib/si/dir.c 2019-12-23 04:25:34 +00:00
d5fc64e2b5 fixed no mutex release issue in sio 2019-12-18 03:55:37 +00:00
9d6c107746 minor code fix 2019-12-14 15:23:45 +00:00
77f3be0f7a improved definition of QSE_READDIR 2019-12-04 14:58:52 +00:00
c9e72e39bf fixed wrong operators in str-trm.c 2019-12-01 09:34:36 +00:00
8dcda1fae3 fixed wrong comparision bugs in lib/cmn/chr.c 2019-11-24 04:53:54 +00:00
e40d7dc262 fixed typos 2019-11-21 08:54:02 +00:00
049727fd9f minor change in str-dyn.h 2019-11-17 16:23:50 +00:00
0cc0de3d7b fixed a wrong type used in StdAwk.cpp 2019-11-15 00:43:31 +00:00
865207e3b9 some clean-up in QSE::TcpServer 2019-11-13 06:33:43 +00:00
af7852ee6c renamed stop to halt in some context.
renamed start to execute in TcpServer
2019-11-12 07:55:32 +00:00
ae997bb477 fixed a signal handling bug in QSE::App 2019-11-12 07:08:24 +00:00
4ee4169619 added QSE::App::acceptSignals(), QSE::App::discardSignals(), QSE::App::neglectSignals() 2019-11-11 09:24:56 +00:00
4e43dbe5b9 got logging working in QSE::App() 2019-11-10 08:19:15 +00:00
4a1e4858a7 some refactoring of qse_log_t related functions 2019-11-09 00:32:34 +00:00
3130a85700 coding for logging support in QSE::App 2019-11-08 08:33:38 +00:00
eaad08930c somg logging support code into QSE::App 2019-11-07 15:47:17 +00:00
298958da4c minor changes to QSE::App 2019-11-07 08:38:01 +00:00
df8cff2451 renamed qse_basenameasmbs() back to qse_mbsbasename()
renamed qse_basenameaswcs back to qse_wcsbasename()
added qse_get_log_priority_by_wcsname()
added qse_get_log_priority_by_mbsname()
added qse_get_log_facility_by_wcsname()
added qse_get_log_facility_by_mbsname()
added qse_wcsmbscmp(), qse_mbswcscmp()
added qse_wcsxmbscmp(), qse_mbsxwcscmp()
2019-09-10 08:53:59 +00:00
f89efc150a fixed a segfault error in Awk.cpp for missed rtx->_instsize adjustment 2019-09-03 16:46:57 +00:00
8c6a7ae29c changed mod-mysql.c to compile smoothly without MYSQL_OPT_RECONNECT defined 2019-09-03 09:47:41 +00:00
c6522a0291 changed mod-sys.c to check O_CLOEXEC and O_NONBLOCK before using them 2019-09-02 07:46:04 +00:00
9f889d8243 corrected swapped code between qse_awk_rtx_findfunwithmbs() and qse_awk_rtx_findfunwithwcs() 2019-08-29 09:09:37 +00:00
74ff72564e added qse_awk_rtx_openstdwithmbs(), qse_awk_rtx_openstdwithwcs().
added QSE_AWK_PARSESTD_MBS, QSE_AWK_PARSESTD_WCS
2019-08-29 08:42:17 +00:00
d5320cfd30 added mbs handling methods to Awk::Value 2019-08-29 03:13:57 +00:00
76d6999f37 renamed qse_getawknilval() to qse_get_awk_nil_val().
fixed a segfault issue caused by unfinised changes required for new xtn management scheme
2019-08-29 02:19:41 +00:00
24bcca71bf renamed qse_awk_getwerrmsg() to qse_awk_geterrmsgaswcs.
renamed qse_awk_getmerrmsg() to qse_awk_geterrmsgasmbs()
2019-08-28 15:14:22 +00:00
510bde2abc qse_awk_addfncwithmbs(), qse_awk_addfncwithwcs(), qse_awk_delfncwithmbs(), qse_awk_delfncwithwcs()
qse_awk_getmerrmsg(), qse_awk_getwerrmsg(), qse_awk_rtx_getmerrmsg(), qse_awk_rtx_getwerrmsg()
2019-08-28 14:01:28 +00:00
da20a99a10 fixed the infinite recursion issue in qse_awk_rtx_valtombsdupwithcmgr() 2019-08-27 15:43:47 +00:00
a6484a5605 added qse_awk_addgblwithmbs()/qse_awk_addgblwithwcs()
added qse_awk_delgblwithmbs()/qse_awk_delgblwithwcs()
added qse_awk_findgblwithmbs()/qse_awk_findgblwithwcs()
2019-08-27 14:52:19 +00:00
6cdaf0bda6 work in progress. implementing qse_awk_addgblwithmbs() & qse_awk_addgblwithwcs() 2019-08-27 08:42:13 +00:00
d0d2a7af8c fixed a simple but critical bug in __MAKE_IMAP_NODE 2019-08-26 10:29:26 +00:00
4e6015ed36 added sys::dup() and sys::openfd().
added the optional second parameter to sys::close(). it accepts sys::C_KEEPFD.
2019-08-26 02:47:02 +00:00
8bfac9fff4 added sys::opendir(), sys::readdir(), sys::closedir() 2019-08-25 16:03:51 +00:00
cfd39c4280 defined sys::RC_XXX items in awk 2019-08-25 06:21:32 +00:00
b419965310 updated mod-sys.c with newly defined RX_XXXX items 2019-08-23 08:14:10 +00:00
e12121a8a2 updated awk documentation 2019-08-23 07:41:26 +00:00
e298a40efb reverted a sanity check in mux.c 2019-08-23 03:49:05 +00:00
8fc780bacd fixed mux.c to prevent an epoll_wait() error when no file descriptor is inserted 2019-08-22 15:51:33 +00:00
cd14f62522 extended sys::pipe() to accept the third argument, flags, in awk
changed sys::read() and sys::write to return -2 and -3 upon EAGAIN and EINTR respectively
2019-08-22 02:49:50 +00:00
05e14057eb added sys::pipe() to awk 2019-08-21 08:48:32 +00:00
94cc9298c1 added qse_encode_hmacmbs()/qse_encode_hmacwcs()/qse_decode_hmacmbs()/qse_decode_hmacwcs() 2019-08-19 09:07:21 +00:00
2f07153431 added qse_encode_hmacstr() and qse_decode_hmacstr() 2019-08-16 10:19:41 +00:00
0ddcf3de1c added hmac files 2019-08-15 08:41:33 +00:00
06712ddd4a added hmac functions 2019-08-15 08:25:17 +00:00
4d53acaa94 added sha2 functions 2019-08-14 08:44:06 +00:00
a803e2c140 added sha1 functions 2019-08-13 09:56:26 +00:00
c6a54c2ce4 some sanity check in sys::read() 2019-08-09 01:48:06 +00:00
a998e6dce9 added sys::read() to awk 2019-08-08 15:40:23 +00:00
c04312300b added sys::write() to awk 2019-08-08 11:31:27 +00:00
f6cf2aec64 added sys::open() & sys::close() 2019-08-08 08:01:57 +00:00
ae841ffd27 added sys::chmod() to awk 2019-08-05 09:00:05 +00:00
38d754e971 added sys::unlink() and sys::mkdir() 2019-08-05 08:53:22 +00:00
43cfbd6bdf added check for tm->__tm_gmtoff and tm->__tm_zone.
changed sys::strftime() to set tm_zone to GMT if sys::STRFTIME_UTC is set
2019-07-01 15:02:43 +00:00
4257ef5296 enhanced sys::strftime() to access flags - sys::STRFTIME_UTC is the only flag defined at this moment 2019-07-01 14:30:47 +00:00
36d9b5f49a fixed wrong dependencies again in lib/si/Makefile.am 2019-06-30 14:38:24 +00:00
31fc83fbeb fixed wrong dependencies again in lib/awk/Makefile.am 2019-06-30 11:50:36 +00:00
299bd486b6 fixed wrong dependencies in lib/awk/Makefile.am 2019-06-30 11:29:46 +00:00
8ece12361c fixed more dependencies in lib/awk/Makefile.am 2019-06-30 11:28:33 +00:00
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
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
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