Commit Graph

197 Commits

Author SHA1 Message Date
24530e1158 First glimpse of multiple SSB identities per Tilde Friends user.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3941 ed5197a5-7fde-0310-b194-c3ffbd925b24
2022-07-31 19:01:08 +00:00
f787eb077b An experiment in requesting permissions and some related fixes.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3937 ed5197a5-7fde-0310-b194-c3ffbd925b24
2022-07-27 00:27:10 +00:00
41afc3bdd6 Ugg, my print() was destructive to its arguments.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3933 ed5197a5-7fde-0310-b194-c3ffbd925b24
2022-07-24 21:05:23 +00:00
f764007fc6 Tiny steps toward getting away from one global identity.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3932 ed5197a5-7fde-0310-b194-c3ffbd925b24
2022-07-14 01:01:14 +00:00
ae5560f33a Is this a thing? Ref a value while we call it?
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3931 ed5197a5-7fde-0310-b194-c3ffbd925b24
2022-07-12 02:12:03 +00:00
1efc0fd73b Another linked list bites the dust.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3928 ed5197a5-7fde-0310-b194-c3ffbd925b24
2022-07-12 01:51:15 +00:00
aee99af953 Track request counts?
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3927 ed5197a5-7fde-0310-b194-c3ffbd925b24
2022-07-09 22:00:33 +00:00
a154b1c2f6 Fix the windows build.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3926 ed5197a5-7fde-0310-b194-c3ffbd925b24
2022-07-09 20:46:24 +00:00
7f350a3d87 Add a helper for getting array length: tf_util_get_length.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3925 ed5197a5-7fde-0310-b194-c3ffbd925b24
2022-07-09 15:13:35 +00:00
982b5817a2 Fix the docker build. Add the valgrind headers to deps.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3924 ed5197a5-7fde-0310-b194-c3ffbd925b24
2022-07-09 14:50:27 +00:00
52f744e106 Test output cleanup.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3923 ed5197a5-7fde-0310-b194-c3ffbd925b24
2022-07-09 14:38:00 +00:00
7f9c01a9bb Fix a test leak.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3922 ed5197a5-7fde-0310-b194-c3ffbd925b24
2022-07-09 14:33:38 +00:00
fb3ad0d95d Slight cleanup.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3921 ed5197a5-7fde-0310-b194-c3ffbd925b24
2022-07-09 14:23:58 +00:00
fe5a6033ef Close / clean up a socket if connect fails.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3920 ed5197a5-7fde-0310-b194-c3ffbd925b24
2022-07-09 14:14:48 +00:00
ff2a0f0c3f All the leaks.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3919 ed5197a5-7fde-0310-b194-c3ffbd925b24
2022-06-26 18:25:31 +00:00
66ea0dadd0 Oops all leaks.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3918 ed5197a5-7fde-0310-b194-c3ffbd925b24
2022-06-21 23:09:13 +00:00
c9e01f220d Track our own quickjs memory usage so that we can avoid expensive calls to JS_ComputeMemoryUsage.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3915 ed5197a5-7fde-0310-b194-c3ffbd925b24
2022-06-20 17:57:07 +00:00
f69e74ce53 Another leak. Sheesh.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3914 ed5197a5-7fde-0310-b194-c3ffbd925b24
2022-06-20 14:41:08 +00:00
b5c6cac048 Another leak.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3913 ed5197a5-7fde-0310-b194-c3ffbd925b24
2022-06-20 14:30:00 +00:00
b42b5d11fa Remove require. There is only import+export.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3905 ed5197a5-7fde-0310-b194-c3ffbd925b24
2022-06-18 17:50:22 +00:00
2d8a956c14 require -> import
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3904 ed5197a5-7fde-0310-b194-c3ffbd925b24
2022-06-18 17:39:08 +00:00
e1ca715c64 Add some helpers for resizing dynamic arrays to allow them to both not grow if they're at capacity or shrink if significantly below capacity.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3902 ed5197a5-7fde-0310-b194-c3ffbd925b24
2022-06-17 21:18:10 +00:00
b5b6ed8ba5 Trying harder still to curb stale connections.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3900 ed5197a5-7fde-0310-b194-c3ffbd925b24
2022-06-17 18:51:24 +00:00
927e2b7060 Expose some information about active sockets to try to track down leaks.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3898 ed5197a5-7fde-0310-b194-c3ffbd925b24
2022-06-09 02:45:34 +00:00
83bdbbb4dc Fixed some socket leaks.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3897 ed5197a5-7fde-0310-b194-c3ffbd925b24
2022-06-07 02:41:44 +00:00
653e16b059 Don't support OpenSSL on windows. Yet?
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3893 ed5197a5-7fde-0310-b194-c3ffbd925b24
2022-06-04 17:14:39 +00:00
9c90b2bc1d Use a custom allocator for everything.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3892 ed5197a5-7fde-0310-b194-c3ffbd925b24
2022-06-04 17:04:51 +00:00
7b53c95832 Track OpenSSL memory usage.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3890 ed5197a5-7fde-0310-b194-c3ffbd925b24
2022-06-04 15:59:58 +00:00
c8e09d8637 Start closing the socket if TLS ends. Don't import apps if we're not running the SSB server (cleans up test output).
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3889 ed5197a5-7fde-0310-b194-c3ffbd925b24
2022-06-04 15:43:35 +00:00
cb9edaacd4 Leaks.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3888 ed5197a5-7fde-0310-b194-c3ffbd925b24
2022-06-04 03:36:36 +00:00
2992b7e955 Attempting to learn about a slow memory leak.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3887 ed5197a5-7fde-0310-b194-c3ffbd925b24
2022-06-04 03:01:12 +00:00
5622db92a7 Trying to fix socket lifetime issues.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3886 ed5197a5-7fde-0310-b194-c3ffbd925b24
2022-06-02 10:58:22 +00:00
58f459fb3b Fix file read leaks.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3885 ed5197a5-7fde-0310-b194-c3ffbd925b24
2022-06-02 09:40:19 +00:00
0556af3e07 Socket was missing a GC mark function?
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3883 ed5197a5-7fde-0310-b194-c3ffbd925b24
2022-05-30 19:32:54 +00:00
842633f6d1 Exposed some ways to explore databases.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3879 ed5197a5-7fde-0310-b194-c3ffbd925b24
2022-05-25 23:45:52 +00:00
e5160b9d2c Remove stray "imports" cruft?
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3878 ed5197a5-7fde-0310-b194-c3ffbd925b24
2022-05-25 22:45:24 +00:00
939e13c3c8 Fix release tests.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3876 ed5197a5-7fde-0310-b194-c3ffbd925b24
2022-05-21 01:38:13 +00:00
b688a89b66 Multiple test fixes.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3874 ed5197a5-7fde-0310-b194-c3ffbd925b24
2022-05-21 00:06:01 +00:00
7848b5e560 Merge in mingw changes.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3873 ed5197a5-7fde-0310-b194-c3ffbd925b24
2022-05-16 22:30:14 +00:00
804359d12e Made sure that SQL errors make it to the client.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3867 ed5197a5-7fde-0310-b194-c3ffbd925b24
2022-04-18 00:24:00 +00:00
d802c0023b Added a database exchange operation, and some context when uploading a file.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3865 ed5197a5-7fde-0310-b194-c3ffbd925b24
2022-04-14 23:47:06 +00:00
00bdf1df4a Use proper js modules for apps. Kludge enough things to make things seem to work. Need to apply this to core still.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3862 ed5197a5-7fde-0310-b194-c3ffbd925b24
2022-03-18 01:24:29 +00:00
9b2d4b393d Add a new database exchange function, because get and set aren't atomic enough.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3861 ed5197a5-7fde-0310-b194-c3ffbd925b24
2022-03-16 00:34:45 +00:00
efc5eb2aff Whoa. There's a leak.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3858 ed5197a5-7fde-0310-b194-c3ffbd925b24
2022-03-08 02:33:32 +00:00
7e9460f47c Fix one possible but not actually relevant leak around files, and remove an unused value from promises.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3857 ed5197a5-7fde-0310-b194-c3ffbd925b24
2022-03-07 21:57:52 +00:00
498a093cde Some possible leaks?
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3851 ed5197a5-7fde-0310-b194-c3ffbd925b24
2022-02-27 19:38:48 +00:00
c138582638 index => ssb
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3849 ed5197a5-7fde-0310-b194-c3ffbd925b24
2022-02-27 02:30:11 +00:00
1bfa18b8d7 Minor cleanup.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3847 ed5197a5-7fde-0310-b194-c3ffbd925b24
2022-02-26 21:25:40 +00:00
f4b46cc3a0 Blocking and some random attempts to make things faster.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3843 ed5197a5-7fde-0310-b194-c3ffbd925b24
2022-02-21 02:28:53 +00:00
a4a0745385 Send prints to the browser console. Obvious in retrospect.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3840 ed5197a5-7fde-0310-b194-c3ffbd925b24
2022-02-13 22:39:22 +00:00