Commit Graph

782 Commits

Author SHA1 Message Date
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
hyunghwan.chung
77942761f5 added various checks related to socket address to configure.ac and regenerated build files 2018-01-09 15:27:39 +00:00
hyunghwan.chung
68259e735f experimented on setting the number of fixed fields forcibly in a module import function - sck.addr, SocketAddress 2018-01-09 13:43:44 +00:00
hyunghwan.chung
5b7ad01194 added the moo_compoochars() macro 2018-01-08 04:31:10 +00:00
hyunghwan.chung
31ea41a895 fixed bugs in moo_compXXX() functions
added moo_compbchars() and moo_compuchars()
2018-01-08 03:33:24 +00:00
hyunghwan.chung
31f40812f5 attempted to add SocketAddress 2018-01-07 15:14:15 +00:00
hyunghwan.chung
9ae27ee39a checked the number of instance/class variables against the internal limit 2018-01-07 14:59:54 +00:00
hyunghwan.chung
171b02449e enhanced set_syntax_errbmsg() to set_syntax_errbfmt().
collapsed three separate syntax error code to a single code MOO_SYNERR_INHERITBANNED.
added moo_seterrbfmtv() and moo_seterrufmtv() for internal use
2018-01-07 08:00:23 +00:00
hyunghwan.chung
e9b33016a4 disallowd a non-pointer object to inherit a pointer object with instance variables 2018-01-06 17:42:42 +00:00
hyunghwan.chung
de1f8c9551 debugged handling of class(#type(N)) processing 2018-01-06 04:18:10 +00:00
hyunghwan.chung
f4875ba51d supporting fixed type size specification for a nonpointer variable object like class(#byte(30))). work still in progress 2018-01-05 17:46:10 +00:00
hyunghwan.chung
68f67cf595 added experimental code for builtin object equality test, still commented out 2018-01-04 15:42:29 +00:00
hyunghwan.chung
506c6900e0 changed basicShift and basicFill primitives not to validate source position and destination position when count is <= 0 2018-01-04 10:07:42 +00:00
hyunghwan.chung
f0df2fcd92 changed a variable name in Socket.moo 2018-01-03 15:33:09 +00:00
hyunghwan.chung
15f27702f1 minor changes to IP6Address>>fromString: 2018-01-03 15:01:13 +00:00
hyunghwan.chung
9a2de69aae removed unneeded blank lines 2018-01-03 07:18:50 +00:00
hyunghwan.chung
8f69172898 revised moo_compucharsucstr() and similar functions 2018-01-03 06:56:41 +00:00