260 Commits

Author SHA1 Message Date
hyunghwan.chung
c014789fa9 more experimental socket code 2018-05-22 05:15:49 +00:00
hyunghwan.chung
b42586a1c6 added some experimental code 2018-05-21 17:14:16 +00:00
hyunghwan.chung
4a73109340 renamed various socket functions
fixed a buggy condition that prevented moo->sem_io_wait_count from being decremented in signal_semaphore()
2018-05-18 09:08:05 +00:00
hyunghwan.chung
4da0731312 migrated semaphore signal/unsignal methods from System to Semaphore 2018-05-18 08:10:16 +00:00
hyunghwan.chung
70f17d8896 changed code to lower the number of instance variables of the Semaphore class 2018-05-17 10:21:22 +00:00
hyunghwan.chung
c5362f86a9 touching up some classes 2018-05-16 16:24:43 +00:00
hyunghwan.chung
53739821b2 experimented to support SyncSocket 2018-05-16 10:25:20 +00:00
hyunghwan.chung
ca12fc082f added moo_deregallfinalizables()
removed some unused code
2018-05-16 08:03:34 +00:00
hyunghwan.chung
f260c04b4e changed the order of listen and multiplexer registeration to avoid spurious hangup event 2018-05-16 07:03:01 +00:00
hyunghwan.chung
da0b655d40 Added asyncsg field into Process 2018-05-15 16:38:37 +00:00
hyunghwan.chung
2d24c53481 interim commit 2018-05-15 10:11:28 +00:00
hyunghwan.chung
10dff52d58 introduced the notation for a smptr literal - #\pXX.
changed the error listeral notation to #\eNN fro #\NN
2018-05-13 18:55:22 +00:00
hyunghwan.chung
ea2347bb82 switch the HttpServer class to maintain listeners in HttpConnReg instead of LinkedList 2018-05-13 18:16:04 +00:00
hyunghwan.chung
1c68849fa0 added more http server code 2018-05-13 16:28:22 +00:00
hyunghwan.chung
a94ccf62b3 added a few lines to Http.moo 2018-05-10 16:16:03 +00:00
hyunghwan.chung
16b12e2dfc attempting to change the Socket class to invoke methods instead of relying on blocks 2018-05-10 10:48:44 +00:00
hyunghwan.chung
ff5e5aa23f added just a few lines of code 2018-05-09 16:43:58 +00:00
hyunghwan.chung
bc93856b35 added SocketAddress>>family
added Socket>>readBytes:offset:length:
started writing Http.moo
2018-05-09 10:37:07 +00:00
hyunghwan.chung
82160e03dd added some asycn socket code 2018-05-08 10:18:50 +00:00
hyunghwan.chung
bd52dcf0bc added extra checks for socket accept 2018-05-07 17:22:04 +00:00
hyunghwan.chung
0a5896b16b added more async socket code 2018-05-07 16:53:37 +00:00
hyunghwan.chung
8c0787608f attempted to split Socket to ServerSocket and ClientSocket 2018-05-04 01:10:38 +00:00
hyunghwan.chung
b16ddbd942 deleted unneeded methods 2018-05-03 10:26:17 +00:00
hyunghwan.chung
ff1d47dd15 more async socket code 2018-05-02 16:36:56 +00:00
hyunghwan.chung
acb71f521c work in progress. trying a different way of implementing async socket 2018-05-02 09:53:02 +00:00
hyunghwan.chung
b4de6c7926 a bit of experiments with semaphores for socket writing 2018-04-19 15:34:25 +00:00
hyunghwan.chung
df5b9301dc enhanced the compiler to compile byte array expression.
added MAKE_BYTEARRAY and POP_INTO_BYTEARRAY byte codes
2018-04-19 09:48:45 +00:00
hyunghwan.chung
a5328db569 aded a field to hodl the total number of semaphores in SemaphoreGroup
changed await_semaphore_group() to return failure if no member semaphore exists
2018-04-15 16:24:31 +00:00
hyunghwan.chung
0d40016fa1 added some experimental code 2018-04-13 10:14:12 +00:00
hyunghwan.chung
7b114e3b27 touched up code more for async handling debugging 2018-04-12 16:05:46 +00:00
hyunghwan.chung
c85bf336ad changed the error literal notation from error(NNN) to #\NNN.
prohibited the backslash character from forming a binary selector.
renamed quo: to div:, // to mdiv:, \ to mod:
2018-04-08 17:47:38 +00:00
hyunghwan.chung
76c3d78d46 some code changes related to async socket io 2018-02-04 16:35:45 +00:00
hyunghwan.chung
51e7d93f63 attempted to reorganize listen: to listen:do: 2018-01-30 15:11:42 +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
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
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
9a49b4fa53 updated the default definition of moo_sa_family_t 2018-01-19 13:29:15 +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
4666b5efff added partital socket address conversion routines to sck-addr.c 2018-01-10 14:32:21 +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
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