Commit Graph

798 Commits

Author SHA1 Message Date
hyunghwan.chung
fa9e0f538a removed unneeded log flushing 2018-02-04 16:38:28 +00:00
hyunghwan.chung
76c3d78d46 some code changes related to async socket io 2018-02-04 16:35:45 +00:00
hyunghwan.chung
0269e10fd8 changed dlerror() to sys_dl_error() in lib/main.c 2018-02-04 04:39:11 +00:00
hyunghwan.chung
fe1731519e reordered actions in moo_fini() 2018-02-04 03:53:19 +00:00
hyunghwan.chung
c0d86a8f0e renamed moo_purgesemiosbyhandle() to moo_releaseiohandle()
pushed back when to call moo_cb_t callbacks
2018-02-03 16:42:13 +00:00
hyunghwan.chung
eb35c3d865 added moo_purgesemiosbyhandle() 2018-02-03 07:16:29 +00:00
hyunghwan.chung
ea70db9633 changed some error messages 2018-02-02 16:32:15 +00:00
hyunghwan.chung
8675512e30 added the dlfcn functions support 2018-02-02 15:29:15 +00:00
hyunghwan.chung
4dbf4f10e3 fixed a typo issue 2018-02-02 14:55:02 +00:00
hyunghwan.chung
5dabf01c33 added check for dl library 2018-02-02 14:53:00 +00:00
hyunghwan.chung
8a6cc1e62a added isatty to configure.ac 2018-02-02 14:43:07 +00:00
hyunghwan.chung
e70b424826 enhanced the vm cleanup to be more error resistent 2018-02-02 14:37:49 +00:00
hyunghwan.chung
461e68c5b4 changed the gnuc condition for __attribute__((visibility("xxx"))) again 2018-02-01 13:11:11 +00:00
hyunghwan.chung
2a2505a32f changed the gnuc condition for __attribute__((visibility("xxx"))) 2018-02-01 13:08:16 +00:00
hyunghwan.chung
5bf17bf205 deleted a redundant line 2018-02-01 09:32:32 +00:00
hyunghwan.chung
92413034f6 added a check for offsetof(struct sockaddr,sa_family) 2018-02-01 06:03:01 +00:00
hyunghwan.chung
51e7d93f63 attempted to reorganize listen: to listen:do: 2018-01-30 15:11:42 +00:00
hyunghwan.chung
165fe93e5e added some checks for atomic builtins 2018-01-30 05:19:05 +00:00
hyunghwan.chung
42c44d5099 changed to use __CHAR16_TYPE__ for moo_uch_t if it's defined by gcc 2018-01-29 14:58:29 +00:00
hyunghwan.chung
1c60ef5d0b changed the parent class of ByteArray from Collection to Array.
enhanced socket writing a bit
2018-01-28 16:03:03 +00:00
hyunghwan.chung
cf8daaa8a3 touched up Socket.moo 2018-01-28 15:47:56 +00:00
hyunghwan.chung
7f7f9e2977 changed Socket to work in the edge trigger mode 2018-01-28 15:31:23 +00:00
hyunghwan.chung
1bae32bf30 substitued syserr for errno wrongly used in err.c 2018-01-28 12:35:12 +00:00
hyunghwan.chung
f3ee24447f fixed configure.ac 2018-01-25 09:41:43 +00:00
hyunghwan.chung
a1de67b513 deleted unneeded lines 2018-01-25 09:35:50 +00:00
hyunghwan.chung
7cba31e8f9 added Socket>>writeBytes:offset:length: 2018-01-24 13:29:36 +00:00
hyunghwan.chung
625e2fbcdb attempted to count watchers in Scoket 2018-01-24 10:31:34 +00:00
hyunghwan.chung
b823b0b218 included sys/types.h in configure.ac when testing socket address types 2018-01-24 02:48:05 +00:00
hyunghwan.chung
e33ea4321e added moo_backuperrmsg() 2018-01-19 17:44:07 +00:00
hyunghwan.chung
d54552aff8 changed configure.ac to print more info 2018-01-19 17:33:35 +00:00
hyunghwan.chung
c2504848e5 changed Socket.moo a little 2018-01-19 13:37:38 +00:00
hyunghwan.chung
80e909caf1 regenerated build files 2018-01-19 13:31:44 +00:00
hyunghwan.chung
9a49b4fa53 updated the default definition of moo_sa_family_t 2018-01-19 13:29:15 +00:00
hyunghwan.chung
d3a57db467 refactored code for legacy platforms 2018-01-19 09:33:47 +00:00
hyunghwan.chung
84e91d5682 removed the forced -fPIC from mod/Makefile.am 2018-01-19 08:45:25 +00:00
hyunghwan.chung
74c5a1bb88 regenerated build files 2018-01-19 08:28:17 +00:00
hyunghwan.chung
ca182c122c added the syserrstrb and syserrstrb callback. either one must be supplied.
added some conditionals for nanosleep, strerror_r, pthread
2018-01-19 08:26:58 +00:00
hyunghwan.chung
741d45cf0a changed the socket module to set socket descriptors to be CLOEXEC and NONBLOCK 2018-01-18 16:27:17 +00:00
hyunghwan.chung
08cc62478b switched to use AX_CHECK_NUMVALOF() to detect PATH_MAX 2018-01-17 14:54:16 +00:00
hyunghwan.chung
a7b0814551 fixed code a bit for a legacy platform and compiler 2018-01-17 02:57:03 +00:00
hyunghwan.chung
0ba4764c18 fixed a wrongly commented line 2018-01-17 02:37:04 +00:00
hyunghwan.chung
11290dce63 beautified the autoconf code snippet to define the value of PATH_MAX 2018-01-16 23:54:17 +00:00
hyunghwan.chung
bfa190a4fa added autoconf code to define MOO_PATH_MAX is PATH_MAX is defined in limits.h 2018-01-16 15:30:10 +00:00
hyunghwan.chung
8eae9095c1 made an accepted socket non-block 2018-01-14 15:38:06 +00:00
hyunghwan.chung
2255425b3f fixed a bug in socket accept 2018-01-14 15:11:53 +00:00
hyunghwan.chung
2b56b1c2b0 added more socket functions 2018-01-14 15:01:56 +00:00
hyunghwan.chung
38ac31d307 added a function to return an address length given a socket address object.
fixed pf_connect to get the right address argument
2018-01-12 16:06:05 +00:00
hyunghwan.chung
b95102f953 added socklen_t test and sa_family_t test into configure.ac 2018-01-11 16:29:43 +00:00
hyunghwan.chung
b31049f808 added byteorder change functions and macros 2018-01-10 14:39:31 +00:00
hyunghwan.chung
4666b5efff added partital socket address conversion routines to sck-addr.c 2018-01-10 14:32:21 +00:00