Commit Graph

656 Commits

Author SHA1 Message Date
a803e2c140 added sha1 functions 2019-08-13 09:56:26 +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
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
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
cb0e08f449 added ErrorGrab and used it in TcpServer 2019-06-13 10:18:30 +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
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
ad3e78f386 fixed some build directive names 2019-06-09 09:51:12 +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
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
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
3737a28cd3 fixed minor assertion flaw in lib/cmn/mbwc-str.c 2019-05-07 07:39:49 +00:00
2ac2ad8200 added qse_awk_rtx_getrefvaltype()/qse_awk_rtx_getrefval()
finished asort() in awk
added qse_sortx()
2019-05-07 07:22:55 +00:00
51853507fa redefined byte swap and endian conversion routines 2019-05-03 08:39:50 +00:00
66d110fa7b wrote more code in fnc_asort() 2019-05-02 13:45:24 +00:00
bc3173d74a added the typename() builtin awk function and qse_awk_rtx_getvaltypename() 2019-04-26 16:55:57 +00:00
03301b79bf fixed a build issue for missing lchown against old macosx sdks
added Awk::writeConsoleBytes(), Awk::writePipeBytes(), Awk::writeFileBytes()
2019-04-23 08:41:05 +00:00
07be5e22d7 added quite some code for handling mbs in awk 2019-04-18 08:42:54 +00:00
f90ca01493 added qse_str_ncatwcs()/qse_str_ncatmbs() 2019-04-17 16:33:30 +00:00
f16437d7c0 writing mbs_to_str() in awk/val.c 2019-04-15 15:36:23 +00:00
1a16fd8888 updated BYTE_PRINTABLE() 2019-03-20 07:16:39 +00:00
c139017593 changed the awk parser to accept \u and \U in the MCHAR mode.
implemented k/K in the awk's builtin printf function
2019-03-20 07:06:00 +00:00
6c61e0bab6 changed awk \xNN to take up to 2 hexadigits only.
implemented w/W in formatted output
2019-03-19 13:59:22 +00:00
6916a11e61 touched up on the 'k' and 'K' specifier in formatted output 2019-03-17 04:11:00 +00:00
585633b26d polishing k and K in formatted output 2019-03-16 04:48:25 +00:00
e06ffadd4e added 'k' and 'K' to dump a byte string in \x hexadecimal notation 2019-03-15 13:34:07 +00:00
88b39ee0af added qse_bytetombs()/qse_bytetowcs()
implemeting %k for formatted output to hex-dump a given string
2019-03-15 08:10:13 +00:00
2ff8ee7c27 changed the default cmgr to utf8
added qse_get_prog_mbspath_with_mmgr()/qse_get_prog_wcspath_with_mmgr()
filled Path::setToSelf().
2019-03-14 08:01:04 +00:00
10b1eabe86 added qse_get_current_mbsdir()/qse_get_current_wcsdir().
writing qse_get_prog_path(). not yet done.
implementing the Path class
2019-03-13 06:38:54 +00:00
d41f8e75e0 added qse_getmtime() and qse_mtime_t to represent time in milliseconds 2019-03-12 08:22:36 +00:00
17dcf4feb5 raised the version number to 0.8.2 2019-03-06 14:48:19 +00:00
a02ad5005f enhanced hash macros 2019-03-05 12:06:13 +00:00
bda9213f86 placed basic hash macros in qse/hash.h 2019-03-05 08:21:01 +00:00
1aea9f4492 some use of sdbm hash 2019-03-01 09:27:03 +00:00
3fdddccde3 updated project url 2019-02-01 16:43:06 +00:00
79b36ec07f added some internal comments about Mmgr::getDFL() 2018-11-01 04:24:32 +00:00
ff78a340fb changed Mmgr::getDFL() a bit 2018-10-31 12:52:19 +00:00
efc34cdd69 changed the position of the mmgr parameter in some constructors.
removed StdMmgr::getInstance() and initialized the default mmgr inside Mmgr::getDFL() to work around an issue related to c++ initialization order across translation units
2018-10-31 10:40:25 +00:00
4a10c5d7cd added QSE_CLI_DISCRETIONARY_OPTVAL.
renamed QSE_CLI_OPTVAL to QSE_CLI_REQUIRE_OPTVAL
renamed QSE_CLI_OPTNAME to QSE_CLI_REQUIRE_OPTNAME
2018-10-17 08:07:45 +00:00
2915a591f0 added qse_str_to_ntime() and similar functions.
relocated cli error codes into the new enum type qse_cli_error_code_t
2018-10-16 15:53:08 +00:00
c09a0161eb renamed qse_runmain() to qse_run_main() 2018-09-13 03:16:23 +00:00
f93bf8d053 fixed bugs in mutex protection in sio.
added qse_open_stdsios_with_flags
2018-09-04 15:07:42 +00:00
82995c9f0d fixed some bugs in the signal related functions of the QSE::App class 2018-09-04 08:46:48 +00:00
0cbdf10332 added Mutex.
added QSE_CPP_THREXCEPT1() and similar macros
changed the termination code of TcpServer
2018-07-01 11:21:00 +00:00
1a102644ed prevented HeapMmgr::allocMem() and HeapMmgr::reallocMem() from thrown an exception 2018-07-01 07:59:06 +00:00
9cbd6cd7fe fixed the code to call the destructor when dispoing an object with mmgr 2018-07-01 07:33:56 +00:00
27039d9693 got TcpServer and Thread to inherit Mmged 2018-07-01 02:11:33 +00:00