1581 Commits

Author SHA1 Message Date
eb35325a96 adding SkvEnv 2018-07-12 11:09:35 +00:00
1d9054af17 touched up TcpServer termination 2018-07-02 13:02:27 +00:00
797518df18 rename QSE::TcpServer::Client to QSE::TcpServer::Worker.
added code to generate unique worker id
2018-07-01 13:57:37 +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
87e0cf1b40 initialized client_list in TcpServer with mmgr 2018-07-01 04:18:23 +00:00
27039d9693 got TcpServer and Thread to inherit Mmged 2018-07-01 02:11:33 +00:00
51f61a31b6 on netbsd, the accepted socket inherited O_NONBLOCK if the accepting socket has it. i made changes to prevent this 2018-06-29 04:53:28 +00:00
8ce9ff41a0 enhanced qse_mux_poll() to accept QSE_NULL for timeout to wait indefinitely
made TcpServer more robust
2018-06-28 14:07:35 +00:00
20e042df0c work in progress to replace epoll with qse_mux_t 2018-06-28 09:43:34 +00:00
40cdf684de switched to use a spin lock on behalf of a mutex 2018-06-28 04:08:43 +00:00
6519b1e4db added SocketAddress::toStrBuf().
protected client socket closure with mutex
2018-06-27 11:18:20 +00:00
19df0af32a fixed TcpServer to close pipes properly upon termination 2018-06-26 15:45:44 +00:00
b2f9abef77 fixed quite a few issues in TcpServer 2018-06-26 15:27:52 +00:00
d7bdc63690 adding multiple listeners into TcpServer 2018-06-26 14:43:43 +00:00
eb2755fa6b interim update while working TcpServer 2018-06-26 09:28:12 +00:00
d6b9e78114 removed the bundled libltdl 2018-06-26 08:30:02 +00:00
a51e54bda6 TcpServer now compilable at least 2018-06-25 15:52:05 +00:00
bdf1ab2234 reverted unwanted changes 2018-06-25 10:51:24 +00:00
26e27e78cd work in progress. adding TcpServer 2018-06-25 10:47:27 +00:00
70c787de9f removed special handling of $ in qse_strsubst() as literal $ can be denoted by 11789 2018-04-03 09:33:50 +00:00
5c297d784a fixed some issues in socket address conversion 2018-03-25 03:05:12 +00:00
598f4f0457 included more header files in nwad-skad.c 2018-03-07 13:26:21 +00:00
9d87420bf6 added Socket::sendx() functions
added SocketAddress::set() that accepts a string
fixed a bug in nwad-skad.c
2018-03-07 09:18:36 +00:00
3613919dc1 reverted the kt workaround 2018-02-22 17:22:50 +00:00
46cd39cabb changed configure.ac to check the offset of sa_family in struct sockaddr 2018-02-01 09:34:12 +00:00
2fbfe3a71b changed to prefer char16_t with c11 compiler. yet to add --prefer-char16 option to configure.ac 2018-01-29 15:38:32 +00:00
c274cc0fb4 checked O_CLOEXEC availibility 2018-01-28 05:17:42 +00:00
4243665288 removed an unused variable in htl.c 2018-01-28 04:58:56 +00:00
36d4883f6d added QSE::ThreadR and QSE::ThreadC 2018-01-27 16:35:02 +00:00
8256cee77f touched up QSE::Thread 2018-01-27 05:58:20 +00:00
5a3586232f relaxed some code for pre-c++11 compilers 2018-01-26 15:03:40 +00:00
4af515c970 added some threading functions 2018-01-26 10:03:58 +00:00
58033d0265 wrote some socket functions 2018-01-25 14:46:57 +00:00
47f662861f Added some socket functions 2018-01-25 09:56:30 +00:00
c0a072a054 touched up qse_xli_setpairwithstr() a bit 2018-01-22 09:38:44 +00:00
df76a61d3b changed the need_comma function to take into account the xli->opt.cbs.pair_writable callback function 2018-01-21 17:58:24 +00:00
b3a288affb added the pair_writable callback to xli 2018-01-21 17:13:43 +00:00
3a2356737d added a callback called when a pair is read in by the xli format reader and the json format reader 2018-01-19 15:57:44 +00:00
2280811a8e fixed a bug in the json format reader. it failed to read an empty array before the fix.
fixed a bug in the json format writer. it quoted a numeric string before the fix. it is enhanced to handle the multi-segment string(loaded by an xli format reader) better
2018-01-19 04:47:28 +00:00
e5fa90ec02 added the QSE_XLI_CASE_INSENSITIVE trait enumerator and revised macro defintions of string comparision functiosn for supporting the added enumerator 2018-01-19 03:53:43 +00:00
ffa5514b43 added QSE_FS_MKDIR_IGNORE_UMASK 2018-01-18 10:27:46 +00:00
d991f9c27b added the qse_fs_mode_t type and the mode parameter to qse_mkdir() and related functions 2018-01-17 07:45:31 +00:00
8ce346e1ed defined QSE_PATH_MAX
added more operators to qse_ip4ad_t for c++
2018-01-17 04:38:21 +00:00
825cf63d04 deleted unneeded macros 2018-01-15 14:00:02 +00:00
5d71710b18 enhanced the json writer to inject {} or [] manually when the outermost enclosers are not found 2018-01-15 09:20:28 +00:00
fa21cef920 added qse_mbsxistype(0 and qse_wcsxistype() 2018-01-12 08:44:41 +00:00
5e3507e836 added qse_mbsistype(), qse_wcsistype()
added qse_cli_t and related functions as an alternative interface to parse command-line arguments
2018-01-12 08:21:57 +00:00
7b1db985c5 disallowed @include outside the outermost braces or brackets in the json format 2018-01-11 09:36:15 +00:00