Commit Graph

825 Commits

Author SHA1 Message Date
f0be58da89 async/await is on by default in modern V8. This flag produces a warning.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3401 ed5197a5-7fde-0310-b194-c3ffbd925b24
2017-04-29 11:40:05 +00:00
c1b75821bf Add File.stat. Use it to cache manifests to speed up task start. async spreads like a virus.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3377 ed5197a5-7fde-0310-b194-c3ffbd925b24
2017-01-13 01:04:00 +00:00
4cdbdaf3d1 Disable Nagle's algorithm to try to make things more uniformly responsive.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3368 ed5197a5-7fde-0310-b194-c3ffbd925b24
2016-12-24 13:57:27 +00:00
4313cfbc4f Let task.execute accept raw UTF-8 bytes, for the sake of the tests. Missing #include. Minor cleanup.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3359 ed5197a5-7fde-0310-b194-c3ffbd925b24
2016-12-22 18:11:49 +00:00
5c855afbb3 Fixed a bunch more encoding issues.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3358 ed5197a5-7fde-0310-b194-c3ffbd925b24
2016-12-22 17:38:21 +00:00
937e32fb99 Refactored away some grossly duplicated code in Socket::write.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3357 ed5197a5-7fde-0310-b194-c3ffbd925b24
2016-12-22 16:39:01 +00:00
ba298b2e7c Begin the hairy process of making this thing deal safely with string encodings. This will be broken for some time.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3356 ed5197a5-7fde-0310-b194-c3ffbd925b24
2016-12-21 20:19:23 +00:00
599d9c9f45 Fix ICU on Linux, and test it.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3343 ed5197a5-7fde-0310-b194-c3ffbd925b24
2016-09-19 13:02:54 +00:00
c9b528f1dc This fixes Socket.startTls() when using the default TLS context.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3334 ed5197a5-7fde-0310-b194-c3ffbd925b24
2016-09-16 00:32:47 +00:00
313efbe2d6 Fixed a segfault I noticed related to require and shutdown.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3292 ed5197a5-7fde-0310-b194-c3ffbd925b24
2016-07-31 15:07:08 +00:00
cca505ff01 Oh snap. Start using async+await.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3285 ed5197a5-7fde-0310-b194-c3ffbd925b24
2016-07-24 17:02:45 +00:00
14682d8be7 v8 5.1 => 5.2
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3279 ed5197a5-7fde-0310-b194-c3ffbd925b24
2016-07-23 10:54:10 +00:00
61ea965080 I think this TaskTryCatch was effectively eating exceptions.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3245 ed5197a5-7fde-0310-b194-c3ffbd925b24
2016-06-12 13:44:19 +00:00
ca1271ffbc Stop passing 'this' in serialized function calls. There are currently no productive uses of it, and it causes excessive work exporting functions that are never called.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3214 ed5197a5-7fde-0310-b194-c3ffbd925b24
2016-04-23 11:42:03 +00:00
8a1085d5a3 These exceptions were blocking the actual, useful exceptions.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3212 ed5197a5-7fde-0310-b194-c3ffbd925b24
2016-04-18 19:58:09 +00:00
8737c7558a Actually read and add intermediate certificates to the SSL context. Fixes certificate warnings.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3211 ed5197a5-7fde-0310-b194-c3ffbd925b24
2016-04-17 14:34:22 +00:00
72544179c9 Set rlimits on OS X. Enable tests on OSX (except valgrind). setrlimit error handling.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3209 ed5197a5-7fde-0310-b194-c3ffbd925b24
2016-04-17 12:56:46 +00:00
9bfb0d6a4c Debug prints.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3207 ed5197a5-7fde-0310-b194-c3ffbd925b24
2016-04-16 21:42:50 +00:00
6410b13ece Now child processes have no ability to open files.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3206 ed5197a5-7fde-0310-b194-c3ffbd925b24
2016-04-16 21:30:52 +00:00
74af1d361c After a brief journey through namespaces and cgroups, rlimits seem to be an effective way to enforce most of the assurances I need.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3205 ed5197a5-7fde-0310-b194-c3ffbd925b24
2016-04-16 19:04:15 +00:00
bea0ae23dd Fix a bug that was preventing require('ui') from working, and improve resolveRequire while I'm in there.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3195 ed5197a5-7fde-0310-b194-c3ffbd925b24
2016-04-09 18:36:43 +00:00
4d0fdfa484 Fixes tests.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3192 ed5197a5-7fde-0310-b194-c3ffbd925b24
2016-04-09 15:31:12 +00:00
560df7e5f3 Made it possible to require() a script from another package. It's high time for some code reuse.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3191 ed5197a5-7fde-0310-b194-c3ffbd925b24
2016-04-09 15:24:48 +00:00
7a16a1d65c I think this fixes tests, and makes them runnable from continuous integration.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3161 ed5197a5-7fde-0310-b194-c3ffbd925b24
2016-03-13 13:37:58 +00:00
7c6a377c0b sandboxos => tildefriends
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3157 ed5197a5-7fde-0310-b194-c3ffbd925b24
2016-03-12 18:50:43 +00:00