Commit Graph

3708 Commits

Author SHA1 Message Date
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
2361cf8508 added static assertion macros 2019-08-08 04:10:20 +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
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