8eae9095c1
made an accepted socket non-block
2018-01-14 15:38:06 +00:00
2255425b3f
fixed a bug in socket accept
2018-01-14 15:11:53 +00:00
2b56b1c2b0
added more socket functions
2018-01-14 15:01:56 +00:00
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
4666b5efff
added partital socket address conversion routines to sck-addr.c
2018-01-10 14:32:21 +00:00
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
31f40812f5
attempted to add SocketAddress
2018-01-07 15:14:15 +00:00
9ae27ee39a
checked the number of instance/class variables against the internal limit
2018-01-07 14:59:54 +00:00
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
e9b33016a4
disallowd a non-pointer object to inherit a pointer object with instance variables
2018-01-06 17:42:42 +00:00
de1f8c9551
debugged handling of class(#type(N)) processing
2018-01-06 04:18:10 +00:00
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
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
f0df2fcd92
changed a variable name in Socket.moo
2018-01-03 15:33:09 +00:00
15f27702f1
minor changes to IP6Address>>fromString:
2018-01-03 15:01:13 +00:00
5474ae242d
added Apex>>basicMoveFrom:with:count: and Apex>>basicShiftFrom:to:count:
2018-01-02 16:25:37 +00:00
2a4314c640
fixed a wrong comment in Socket.moo
2018-01-01 15:59:34 +00:00
907edeb45b
attempted to add IP6Address>>fromString
2018-01-01 15:56:55 +00:00
a594dda529
changed exception handling in Socket>>fromString:
2017-12-31 16:59:48 +00:00
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
c4daf616f0
fixed a bug of setting a byte object field wrongly in pf-basic.c
2017-12-31 03:19:50 +00:00
d0b20bee08
added comparision to the Character class
2017-12-30 19:07:31 +00:00
e39dd6027e
fixed some socket methods
2017-12-28 17:45:55 +00:00
e10f00a1ab
fixed an IO thread termination bug
2017-12-28 17:10:30 +00:00
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
dbb38a5d31
use EPOLLET when modifying with epoll_ctl()
2017-12-28 07:26:19 +00:00
edba0207fb
fixed log mask parsing in main.c.
...
touched up error handling a little bit
2017-12-28 04:58:17 +00:00
3c6b73b2b5
cleaned up code related to IO semaphores and multiplexing
2017-12-26 15:55:06 +00:00
959c376308
revised io semaphore handling routines
2017-12-25 18:35:23 +00:00
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
f27856fa72
enhanced the compiler to auto-sense the use of comma in a byte array literal
2017-12-20 16:40:04 +00:00
4fe38f883c
changed the compiler to allow a character literal within a byte array literal
2017-12-20 16:25:20 +00:00
d8b36bdf66
added Socket<<endConnect:
2017-12-18 13:34:47 +00:00
63e34ccf71
attempted to fix some socket class issues
2017-12-17 15:38:38 +00:00
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
e9cea47273
added the --debug option for the debug build
2017-12-16 16:14:23 +00:00
49f0ff0bda
fixed the wrong argument handling problem
2017-12-16 05:21:38 +00:00
27fa6fa560
catered for slow process switching in test-002.moo
2017-12-14 02:27:51 +00:00
b61734a9e8
fixed an GC issue caused by unbalanced moo_pushtmp() and moo_poptmp() calls
2017-12-13 16:00:48 +00:00
9770ddbac6
revised some semaphore related methods, primitive functions
2017-12-11 16:27:53 +00:00
7c5afe2d5b
added SmallPointer<<getBytes, SmallPointer<<putBytes
2017-12-09 16:04:17 +00:00
541ab59028
added System<<getBytes, System<<putBytes.
...
also added primitive functions for the above
2017-12-09 15:47:43 +00:00
471d8ad797
relocated system/smptr primiives to pf-sys.c
2017-12-08 15:28:51 +00:00
7395a5d2d2
touched up some primitive functions
2017-12-03 17:08:04 +00:00
76b975a152
changed the compiler to remove all leading spaces from a method name when composing a primitive identifer.
...
started enhancing the compiler to support the #pragma directive
2017-11-24 17:40:20 +00:00
6177cd6865
removed the DEH symbol ({%).
...
added new experimental features
- the signal method to the Error class for simplified error/exception handling
- the catch method to the BlockContext for simplified error/exception catching instead of the full-fledged on:do
2017-11-21 15:05:12 +00:00
b07cab3874
migrated some primitives from Processor to System.
...
Fixed a bug in manipulating moo->sem_io_wait_count.
Experimenting to add a shortcut exception handling syntax
2017-11-21 09:15:22 +00:00
85b25d53bc
relocated quite a few methods from ProcessorScheduler to System
2017-11-05 16:47:13 +00:00
27c2c5b404
disallowed semaphore removal from a group when a process is waiting for the semaphore to be signaled
2017-11-03 16:26:55 +00:00
f7272c00fb
decremented the waiting count of IO semaphores in a semaphore in a semaphore group is signaled
2017-11-03 08:10:52 +00:00