Commit Graph

271 Commits

Author SHA1 Message Date
akhil 11c2f66684 ignore file copied during setup 2013-11-11 14:11:31 -08:00
akhil ca240b66a0 start work on domains by enabling them 2013-11-11 14:09:19 -08:00
Kinsley Wong dc2377e28f Moved Callback.java from libuv-java to net.java.avatar.js.eventloop.Callback.
Reviewed-by: asquare
2013-11-11 13:29:49 -08:00
akhil 00e6d43589 enable working pummel tests
Reviewed-by: kinsleyw
2013-11-11 11:42:11 -08:00
Kinsley Wong 67f7f0009c Unwrap process callback args.
Reviewed-by: asquare.
2013-11-11 11:29:04 -08:00
akhil 4e6f832d4e fix regression - forgot again to declare status and exception 2013-11-08 19:16:50 -08:00
akhil f9fcacc6c2 fix regression - forgot to declare status and exception 2013-11-08 18:05:31 -08:00
akhil 80b149413a unbox remaining stream callbacks
Reviewed-by: kinsleyw
2013-11-08 17:23:32 -08:00
Kinsley Wong da0d34ee70 66: unbox file callback args.
Reviewed-by: asquare
2013-11-08 16:57:39 -08:00
akhil 17aedfa144 refactor large anon class to outer
Reviewed-by: kinsleyw
2013-11-08 14:46:41 -08:00
akhil b7cb4f1bf7 unbox udp callback args for efficiency and to reduce memory pressure
Reviewed-by: kinsleyw
2013-11-08 11:45:53 -08:00
Kinsley Wong 6261aceef2 66: Fix the callbacks so args[0] = status and args[1] = results.
Reviewed-by: asquare
2013-11-07 14:59:25 -08:00
Jean-Francois 0784d67bfc Fix for AVATAR_JS-68, handle Exception thrown in main script.
Reviewed-by: asquare
2013-11-07 23:21:46 +01:00
akhil 443da6863b 62: unbox callback params for file read and write
Reviewed-by: kinsleyw
2013-11-06 15:56:58 -08:00
akhil e596222577 ensure that multiple Server instances use a singleton ThreadPool by default
Reviewed-by: batsatt
2013-11-06 11:41:55 -08:00
Kinsley Wong 6c83fe32c1 60: Implement StatWatcher
Reviewed-by: asquare
2013-11-05 12:12:09 -08:00
Bryan Atsatt cf2be0d066 Refactored so background tasks thread pool can be shared across Server instances. 2013-11-05 12:06:47 -08:00
jfdenise 3575c28469 leak tests and tiny long running test module 2013-11-04 19:53:55 +01:00
akhil ba1f0cd0e2 61: flatten stream read and write callbacks
Reviewed-by: kinsleyw
2013-11-01 18:04:30 -07:00
Kinsley Wong 7e34687a45 Rename FileEventWatchHandle to FileEventHandle 2013-11-01 15:08:45 -07:00
akhil 34a7c1873f refactor - move callbacks into the cb package 2013-11-01 14:37:51 -07:00
akhil 14097b2cd1 54: remove queue when all elements have been removed
Reviewed-by: jfdenise, kinsleyw
2013-10-31 09:56:57 -07:00
akhil 946161aba3 44: shutdown the java and uv loops on the first unhandled error and ensure exit when done
Reviewed-by: kinsleyw
2013-10-30 15:18:42 -07:00
jfdenise 1e5d3a3fcd fix copy paste in comment 2013-10-30 17:34:35 +01:00
jfdenise 0fff760067 Add some timer tests, they were disabled due to compatibility issues 2013-10-30 17:33:15 +01:00
jfdenise 1fda15de74 Fix for AVATAR_JS-44, uv blocking queue and IdleHandle for bg events
Reviewed-by: asquare
2013-10-30 17:18:23 +01:00
Kinsley Wong 32894d6818 50: inline isInt.
Reviewed-by: asquare
2013-10-29 17:11:28 -07:00
akhil 426d3e9101 53: remove usage of jdk8 compact3 profile api (javax.naming) to be able to run on compact1
Reviewed-by: kinsleyw
2013-10-29 17:04:51 -07:00
akhil 0b2d7dcb06 53: remove usage of jdk8 compact3 profile api to be able to run on compact1
Reviewed-by: kinsleyw
2013-10-29 16:41:15 -07:00
Kinsley Wong da79fea401 50: Throw a type error if the write position is not an integer.
Reviewed-by: asquare
2013-10-29 14:43:05 -07:00
Kinsley Wong 6da6c6b984 40: Implementation for FSEventWatch.
Reviewed-by: asquare
2013-10-29 11:24:28 -07:00
jfdenise ceda6ec5d7 Fix for AVATAR_JS-51, keep enc/dec content for too small buffer
Reviewed-by: asquare
2013-10-29 19:08:35 +01:00
jfdenise 88cc3d9087 Fix for AVATAR_JS-46
Reviewed-by: asquare
2013-10-28 19:25:19 +01:00
jfdenise 560c01eb4d Fix for AVATAR_JS-43
Reviewed-by: asquare
2013-10-28 19:23:52 +01:00
akhil 4840acd997 replace with multimap to support overlapping operations 2013-10-25 17:09:01 -07:00
akhil d3772adb50 move file here from libuv-java 2013-10-25 16:27:44 -07:00
akhil bac61ed65b refactoring - no need to export callback maps and error wrapper 2013-10-25 16:17:34 -07:00
akhil a4ec106aaa refactoring - set callbacks once instead of on every operation 2013-10-25 15:51:17 -07:00
jfdenise c0da0d3f53 Permission test, add missing permission 2013-10-24 18:16:18 +02:00
jfdenise a844d9035a Updated tests timeout, we have more accurate timers, avatar.js run slower, need to increase delay in some tests. 2013-10-24 15:13:38 +02:00
jfdenise 804927eaa3 Fix for AVATAR_JS-34, Reviewed-by: asquare 2013-10-24 14:11:41 +02:00
akhil 1623ac3f40 class Files package change
Reviewed-by: kinsleyw
2013-10-23 16:37:06 -07:00
Kinsley Wong 9466028cd4 AVATAR_JS-31: Rename FileHandle to Files
Reviewed-by: asquare
2013-10-23 11:39:11 -07:00
akhil 2aa7475187 35: handle check events 2013-10-22 16:08:20 -07:00
akhil 9887c3fb04 33: handle timer callbacks 2013-10-22 11:07:17 -07:00
akhil 8ce7cc728b avoid creation of a wrapper and an event instance, handle cb exceptions
Reviewed-by: kinsleyw
2013-10-21 14:00:45 -07:00
akhil 1f3e8db4b2 rename event receivers to avoid overload warnings in recent jdk builds
Reviewed-by: kinsleyw
2013-10-21 12:03:56 -07:00
jfdenise 792b6e6d12 Fix for AVATAR_JS-28, Reviewed-by: asquare 2013-10-21 19:38:57 +02:00
Jean-Francois 2cab918726 Fix for Avatar-18, Reviewed-By: asquare 2013-10-18 18:09:33 +02:00
Kinsley Wong eba340afa2 Remove deprecated method from test-net-pingpong.js. 2013-10-17 16:22:09 -07:00