Bryan Roe
e081f711cf
Fixed cleanup code for unix domain socket, to remove inode in finalizer
2020-08-03 23:47:00 -07:00
Bryan Roe
f2eb015b2a
Fixed bug in unshift() logic in do/while loop on windows IPC
2020-07-29 13:25:40 -07:00
Bryan Roe
4728330c5e
Fixed some warnings
2020-07-08 16:07:04 -07:00
Bryan Roe
0971ac0134
Fixed uncaught exception
2020-06-11 15:05:43 -07:00
Bryan Roe
5aff4c172e
Added power-monitor.wakeDisplay() and sleepDisplay()
2020-06-10 13:49:24 -07:00
Bryan Roe
44b44a2456
Updated metadata for macos message-box, and updated cleanup for net.Server for ipc
2020-06-03 19:05:49 -07:00
Bryan Roe
b78a29eb88
1. Updated metadata for linux ipcSocket
...
2, Added linux-acpi, and attached events to power-monitor for linux
2020-05-30 22:59:06 -07:00
Bryan Roe
fdf86827ed
Updated metadata for net.server
2020-05-29 15:45:17 -07:00
Bryan Roe
9e6387599a
Added ILibChain_ReadAndSaveStateEx()
...
Updated Windows IPC Socket, so client connection uses ReadAndSaveState, to start in paused state.
2020-05-29 00:02:59 -07:00
Bryan Roe
69c29eee81
Fixed race with connect event for Windows IPC
2020-05-28 21:40:59 -07:00
Bryan Roe
9297eca58c
Updated metadata, and fixed end() to remove HANDLE from select() if connection is not paused.
2020-05-28 13:20:10 -07:00
Bryan Roe
74d4ae2c1e
Windows, rev1 update
2020-05-23 01:02:44 -07:00
Bryan Roe
383c19f5fe
1. Updated metadata
...
2. Fixed compiler warning
2020-05-21 19:06:05 -07:00
Bryan Roe
dd216efbe8
Updated metadata
2020-05-21 13:20:42 -07:00
Bryan Roe
16a2f437c3
Added ability to Save/Restore handle wait state
...
Fixed edge case that could cause a connection to resume twice
2020-05-20 12:05:38 -07:00
Bryan Roe
56cc4c1328
Improved descriptor tracking
2020-05-19 14:47:52 -07:00
Bryan Roe
eba7419fc9
1. Set upperbound on number of Windows WaitHandles
...
2. Fixed Windows_IPC to DisconnectNamedPipe() on connected handled when 'end' is called
3. Fixed Windispatch to terminate on when close is emitted
2020-05-19 01:14:18 -07:00
Bryan Roe
161f125576
Fixed bug in finalizer, where wait handle was not removed
2020-05-17 14:38:57 -07:00
Bryan Roe
97ad48f2f2
1. Added ILibChain_WriteEx()
...
2. Updated ILibChain_Continue() on windows to take an optional list of HANDLE**
3. Updated net.socket IPC on Windows to use ILibChain_ReadEx and ILibChain_WriteEx
4. Fixed child_process.waitExit() on windows to pass only the wait handles for the process
5. Added GetWaitHandles() to ILibProcessPipe
2020-05-15 17:25:49 -07:00
Bryan Roe
9a4f2edfef
Fixed compiler warning, and updated fix
2020-05-11 14:17:25 -07:00
Bryan Roe
7dc8ee4ef4
Added memory ownership for buffer
2020-05-07 18:19:14 -07:00
Bryan Roe
9668b8d77d
Update to use new threading model for windows
2020-05-07 10:29:49 -07:00
Bryan Roe
5fb0cef7db
1. Removed debug message from child-container
...
2. Fixed WriteEx() behavior
3. Fixed AddWaitHandle() to use APC if called from wrong thread
4. Fixed net.ipcSocket to return correct value if write completed right away
2020-05-05 16:12:23 -07:00
Bryan Roe
d26701c731
Updated ReadEx
2020-05-05 13:27:03 -07:00
Bryan Roe
1bd4e3d07c
Updated Windows Chain logic, to use WSAEventSelect and WaitForMultipleObjectsEx
2020-05-04 17:25:55 -07:00
Bryan Roe
941ac6e192
1. Added NULL check
...
2. Added process._exit()
3. Fixed CancelIOEx usage
2020-05-03 19:40:32 -07:00
Bryan Roe
5ba1288cdf
Modified JS runtime to use ILibMemory_Extra to point to udata structure,
...
then used that for consistency checks
2020-04-17 15:05:47 -07:00
Bryan Roe
e3b8cc4d2c
1. Fixed edge case bug, where TLS packet was corrupt
...
2. Added compile switch for KVM ALL TILES
3. Added compile switch for Debug fragmentation of Sends
4. Fixed compiler warnings
5. Added comments to makefile
2020-04-13 20:08:32 -07:00
Bryan Roe
7f49bedd29
Updated DNS Cache logic
2020-02-24 16:00:08 -08:00
Bryan Roe
f11fb9d3cb
Fixed bug, where if DNS resolve fails, an attempt is made to fetch cache results, but the result was accidentally left on the value stack
2020-02-24 15:45:15 -08:00
Bryan Roe
2e04da2fc7
Fixed bug in Windows IPC Socket, where paused stream was not resumed when you hooked the 'end' event
2020-01-30 10:35:28 -08:00
Bryan Roe
a5e30ab2c6
Fixed compiler warning
2020-01-24 22:42:29 -08:00
Bryan Roe
4a2bc80d2e
Fixed Windows IPC Read, to unroll completion callback, before dispatching
...
Fixed edge case bug where stack wasn't popped correctly for IPC Write
2019-12-05 14:45:07 -08:00
Bryan Roe
0f40f9092e
1. Fixed IPC cleanup on domain sockets for Windows
...
2. Fixed readableStream, so 'end' is still emitted when piped
2019-12-04 15:00:15 -08:00
Bryan Roe
cb0f43e17e
Fixed unshift logic for IPC socket
2019-12-03 12:27:06 -08:00
Bryan Roe
3342871bc5
Fixed compiler warning
2019-11-25 17:37:31 -08:00
Bryan Roe
e68d0cc7c5
Polyfilled some helper methods in ip-address.Address4
2019-11-20 10:53:08 -08:00
Bryan Roe
5d2e5dab8b
Added compile switch to support SSL/TLS key export for debug
2019-09-17 00:52:04 -07:00
Bryan Roe
583628214e
Added 'listening' property to net.server
2019-06-14 13:56:07 -07:00
Bryan Roe
78512cda21
Updated, so writableAll is supported on Posix, on server domain sockets
2019-05-29 15:23:59 -07:00
Bryan Roe
2895768ebf
1. Added 'close' to net.server
...
2. updated message-box for MacOS (In Progress)
2019-05-23 15:41:00 -07:00
Bryan Roe
679366445f
Updated server finalizer, so it cleans up named pipe, if its an IPC server.
2019-05-15 10:48:01 -07:00
Bryan Roe
ac07dc59d5
Updated, so if broken pipe detected, server will re-bind if necessary
2019-05-01 23:21:27 -07:00
Bryan Roe
6770921ca7
Updated ReadEx/WriteEx so it returns status, which can be used to detect broken pipe
2019-05-01 21:19:56 -07:00
Bryan Roe
c6e0d2a0ac
Fixed IPC_Write to emit drain when no more pending writes
2019-05-01 16:38:12 -07:00
Bryan Roe
6f1e1c4d9e
Updated Windows IPC
2019-05-01 16:13:43 -07:00
Bryan Roe
8c6a230d1e
1. Fixed bug with createConnection()
...
2. Updated Windows IPC
2019-04-30 15:15:20 -07:00
Bryan Roe
1e58eaf103
Experimental
2019-04-26 16:07:06 -07:00
Bryan Roe
70e7836db1
Added random number helpers
2019-04-15 14:11:23 -07:00
Bryan Roe
f6ccbce1fb
1. Fixed return value of util_from_cer to be consistent with other util methods
...
2. Added DER support to tls.loadCertificate
3. Updated sign/verify methods
2019-04-03 17:39:22 -07:00