Commit Graph

504 Commits

Author SHA1 Message Date
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
hyunghwan.chung
5474ae242d added Apex>>basicMoveFrom:with:count: and Apex>>basicShiftFrom:to:count: 2018-01-02 16:25:37 +00:00
hyunghwan.chung
2a4314c640 fixed a wrong comment in Socket.moo 2018-01-01 15:59:34 +00:00
hyunghwan.chung
907edeb45b attempted to add IP6Address>>fromString 2018-01-01 15:56:55 +00:00
hyunghwan.chung
277559684b added sck-addr.c 2018-01-01 05:14:55 +00:00
hyunghwan.chung
a594dda529 changed exception handling in Socket>>fromString: 2017-12-31 16:59:48 +00:00
hyunghwan.chung
27dbedbc50 fixed the invalid memory access issue in moo_compucharsucstr() and similar functions.
added the log.default_type_mask field 
restructured the builtin primitive function table
2017-12-31 16:46:52 +00:00
hyunghwan.chung
c4daf616f0 fixed a bug of setting a byte object field wrongly in pf-basic.c 2017-12-31 03:19:50 +00:00
hyunghwan.chung
d0b20bee08 added comparision to the Character class 2017-12-30 19:07:31 +00:00
hyunghwan.chung
e39dd6027e fixed some socket methods 2017-12-28 17:45:55 +00:00
hyunghwan.chung
6bf073cb0e fixed primitive function names in mod/x11.c and mod/con.c 2017-12-28 17:15:59 +00:00
hyunghwan.chung
e10f00a1ab fixed an IO thread termination bug 2017-12-28 17:10:30 +00:00
hyunghwan.chung
09585a4ea5 initialized sem_gcfin in vm_startup().
fixed a new problem in error message output bound for stderr.
fixed  wrong timeout value calculatin in exec.c
2017-12-28 16:12:10 +00:00
hyunghwan.chung
dbb38a5d31 use EPOLLET when modifying with epoll_ctl() 2017-12-28 07:26:19 +00:00
hyunghwan.chung
edba0207fb fixed log mask parsing in main.c.
touched up error handling a little bit
2017-12-28 04:58:17 +00:00
hyunghwan.chung
9f27e27d25 improved error handling a bit 2017-12-27 10:32:57 +00:00
hyunghwan.chung
3c6b73b2b5 cleaned up code related to IO semaphores and multiplexing 2017-12-26 15:55:06 +00:00
hyunghwan.chung
ded869708d added ax_pthread.m4 2017-12-26 14:15:27 +00:00
hyunghwan.chung
959c376308 revised io semaphore handling routines 2017-12-25 18:35:23 +00:00
hyunghwan.chung
3d0bcf970e changed to support a pair of semaphores on a single handle for input and output respectively 2017-12-24 17:36:20 +00:00
hyunghwan.chung
f27856fa72 enhanced the compiler to auto-sense the use of comma in a byte array literal 2017-12-20 16:40:04 +00:00
hyunghwan.chung
4fe38f883c changed the compiler to allow a character literal within a byte array literal 2017-12-20 16:25:20 +00:00
hyunghwan.chung
d8b36bdf66 added Socket<<endConnect: 2017-12-18 13:34:47 +00:00
hyunghwan.chung
63e34ccf71 attempted to fix some socket class issues 2017-12-17 15:38:38 +00:00
hyunghwan.chung
e63596688a added moo_seterrwithsyserro()let the compier to remove the leading underscores when resolving a primitive function in a separate module 2017-12-17 15:20:58 +00:00
hyunghwan.chung
cf88ac40ec enhanced error message printing 2017-12-17 06:38:08 +00:00
hyunghwan.chung
5132238bfd corrected a wrong complication condition 2017-12-16 16:27:27 +00:00
hyunghwan.chung
c64d56c268 committing an unsaved file 2017-12-16 16:24:21 +00:00
hyunghwan.chung
e9cea47273 added the --debug option for the debug build 2017-12-16 16:14:23 +00:00