|
9faa4c9ca6
|
More minor output changes.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3697 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2021-12-21 22:43:41 +00:00 |
|
|
7f31798119
|
Another trace fix. Now it's perfect.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3694 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2021-12-21 19:33:02 +00:00 |
|
|
d9ffca81f8
|
Trace some lengths of linked lists.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3693 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2021-12-21 19:06:44 +00:00 |
|
|
1dd3b3c9aa
|
More logging reduction and a trace fix.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3692 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2021-12-21 18:09:15 +00:00 |
|
|
8075bdfe99
|
Avoid a message storm, and reduce log spam a bit.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3691 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2021-12-20 17:00:25 +00:00 |
|
|
b15cf901ad
|
Fix some things that GCC 10 doesn't like on raspi.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3690 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2021-12-17 23:58:59 +00:00 |
|
|
84a3d7348d
|
Add a way to set arbitrary data accessible by all tasks. Use it to allow autologin for testing multiple instances more easily.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3689 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2021-12-01 23:29:53 +00:00 |
|
|
00c1ec660e
|
Add some tests for message callbacks, and fix all the things.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3688 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2021-11-17 23:47:55 +00:00 |
|
|
9e1bab03eb
|
Made it easier to run multiple instances.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3687 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2021-11-14 22:55:21 +00:00 |
|
|
63c344112d
|
Add a callback for when messages are added to the database. Abuse it to forward messages semi-live.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3686 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2021-11-11 00:05:07 +00:00 |
|
|
18c90214a8
|
Trying to normalize event handling somewhat. More to go before it's simple.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3685 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2021-11-07 22:28:58 +00:00 |
|
|
68cf3efcde
|
I am too good at breaking syncing.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3684 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2021-11-06 02:10:13 +00:00 |
|
|
2fb7fceb0c
|
Consolidate error handling until util, too.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3682 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2021-11-03 22:28:25 +00:00 |
|
|
fde7fb4270
|
Create a util.js.{h,c} from some common things.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3681 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2021-11-03 22:15:46 +00:00 |
|
|
03a2367532
|
Fixed lots of things about storing blobs.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3680 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2021-10-31 21:15:18 +00:00 |
|
|
08cd0ec878
|
Continuing to try to get this thing talking to other clients.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3679 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2021-10-31 19:39:16 +00:00 |
|
|
0a01332d1f
|
Fix some RPC issues?
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3678 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2021-10-30 21:07:01 +00:00 |
|
|
256c47c33c
|
Ugg, need to get this talking SSB properly.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3677 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2021-10-28 02:19:57 +00:00 |
|
|
62ad08985c
|
Whoops.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3676 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2021-10-28 01:11:30 +00:00 |
|
|
21ba7cb02c
|
Make all of the File.* operations async.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3675 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2021-10-28 00:53:16 +00:00 |
|
|
77ec1a0b2e
|
Don't start the broadcast listener if we're not starting an SSB server.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3674 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2021-10-28 00:20:17 +00:00 |
|
|
07a0828626
|
Async File.writeFile.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3673 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2021-10-27 23:27:21 +00:00 |
|
|
08e32c0de4
|
Minor cleanups.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3672 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2021-10-24 19:23:21 +00:00 |
|
|
f4f6bb8333
|
Move all JS interface things into .js.c files with _register() functions.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3671 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2021-10-24 15:46:30 +00:00 |
|
|
b1a6384ac1
|
Don't allow unexpected arguments.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3670 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2021-10-15 19:44:10 +00:00 |
|
|
786c83c57c
|
Fix tests in light of async File.readFile.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3669 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2021-10-10 22:45:24 +00:00 |
|
|
843c53e15e
|
I just decided. Braces on their own lines.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3668 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2021-10-10 21:51:38 +00:00 |
|
|
470814f147
|
Made File.readFile async.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3667 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2021-10-06 01:25:33 +00:00 |
|
|
059392df8e
|
What was ssb.rpc.c now lives in ssb.js.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3663 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2021-09-09 00:37:02 +00:00 |
|
|
3b4f0c1321
|
Add a green [pass] print.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3662 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2021-09-09 00:23:55 +00:00 |
|
|
a09d159268
|
Moving a little bit more to this test.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3661 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2021-09-09 00:15:57 +00:00 |
|
|
91ec68252d
|
Cleans up some confusing output from -t ssb.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3660 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2021-09-06 21:21:51 +00:00 |
|
|
e85168ac53
|
Fixed some memory leaks. Memory leak-related paranoia. Minor cleanups.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3659 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2021-09-06 20:54:44 +00:00 |
|
|
35e0d8b68a
|
Add some test infrastructure.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3658 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2021-09-06 18:23:22 +00:00 |
|
|
cadcb236ee
|
Work in progress moving SSB RPC handlers into javascript.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3657 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2021-09-06 17:50:38 +00:00 |
|
|
cfd5341a6b
|
Rename the DB things.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3656 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2021-08-22 19:41:27 +00:00 |
|
|
e922af4c55
|
Trying to get organized. Move things db, import, and export out of ssb.c.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3655 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2021-08-22 19:34:28 +00:00 |
|
|
45dfe34375
|
Fix the release build.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3654 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2021-08-22 17:38:20 +00:00 |
|
|
c78d3b0413
|
That's all of the tests.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3653 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2021-08-19 20:10:37 +00:00 |
|
|
dd90fe4fbf
|
Starting to move the tests to C.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3652 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2021-08-19 19:29:37 +00:00 |
|
|
03cf347394
|
Try to clean up some websocket noise, and try harder to not duplicate connections.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3647 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2021-01-20 02:01:14 +00:00 |
|
|
3487f335e5
|
Remove an explicit GC call.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3646 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2021-01-20 01:42:47 +00:00 |
|
|
8c0d380a4d
|
printf newline.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3645 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2021-01-20 01:39:06 +00:00 |
|
|
cbc21cfbe6
|
Don't connect to ourselves or duplicates.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3641 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2021-01-14 02:45:10 +00:00 |
|
|
7d8258c262
|
Add args to unsupported message response based on some warnings I saw. Indicate which files are unsaved in the editor.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3638 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2021-01-13 02:15:09 +00:00 |
|
|
7012418b13
|
Support requiring adjacent files from the same app.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3636 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2021-01-11 02:09:19 +00:00 |
|
|
2b5a56abfe
|
Allow visiting/viewing an app message by id.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3635 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2021-01-09 23:06:33 +00:00 |
|
|
ff4c144be3
|
Expose a user's apps. Baby step to being able to share an app.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3632 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2021-01-06 02:56:25 +00:00 |
|
|
6ffdae6274
|
Friends of friends of connections is one step further than intended.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3626 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2021-01-03 19:29:13 +00:00 |
|
|
01ff073af0
|
Trying to fix blob transfers.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3625 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2021-01-02 22:48:33 +00:00 |
|
|
b747bd74b3
|
Enable SQLITE_SECURE_DELETE, bump up the max rpc size to fix syncing problems, and add a yet unused timestamp index.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3623 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2021-01-02 19:27:41 +00:00 |
|
|
79022e1e1f
|
Merge branches/quickjs to trunk. This is the way.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3621 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2021-01-02 18:10:00 +00:00 |
|
|
d293637741
|
All of the changes that have been sitting on tildepi for ages. For posterity.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3530 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2020-09-23 01:58:13 +00:00 |
|
|
d6018736d5
|
Quick experiment with quickjs.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3423 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2019-10-06 22:19:08 +00:00 |
|
|
c7b13dd1ae
|
Build for whichever openssl.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3422 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2019-09-29 21:05:49 +00:00 |
|
|
2bc62b2ecd
|
Fix some easy leaks reported by asan.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3411 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2017-11-18 23:02:08 +00:00 |
|
|
3b27db2655
|
Update to V8 6.0 and fixes for OpenSSL 1.1.0.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3408 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2017-07-30 14:17:42 +00:00 |
|
|
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 |
|