1
0
mirror of https://github.com/Ylianst/MeshAgent synced 2025-12-15 15:53:55 +00:00
Commit Graph

155 Commits

Author SHA1 Message Date
Bryan Roe
5fa79bdee0 Fixed compiler warnings 2020-05-28 01:00:59 -07:00
Bryan Roe
74d4ae2c1e Windows, rev1 update 2020-05-23 01:02:44 -07:00
Bryan Roe
c2c12f7ac5 Fixed compiler warning 2020-05-22 15:08:41 -07:00
Bryan Roe
a7b30fb729 Updated metadata 2020-05-22 12:18:46 -07:00
Bryan Roe
2a0cc4435d Fixed #ifdef 2020-05-22 00:31:48 -07:00
Bryan Roe
32935e0102 Updated metadata handling 2020-05-22 00:27:01 -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
3c3a0075a6 Fixed compiler warning 2020-05-20 14:24:02 -07:00
Bryan Roe
655e607e01 Fixed #ifdef 2020-05-20 13:14:39 -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
f2d63ea116 Updated metadata for descriptor tracking 2020-05-19 17:21:07 -07:00
Bryan Roe
f6c254bd4c Fixed crash caused by ChainViewer 2020-05-19 15:53:59 -07:00
Bryan Roe
56cc4c1328 Improved descriptor tracking 2020-05-19 14:47:52 -07:00
Bryan Roe
72ca73dd3d Added ability to fetch handle count 2020-05-19 10:11:59 -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
66122d43c1 Fixed compiler warning 2020-05-17 18:26:45 -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
67cb052356 fixed microsecond to millisecond conversion error 2020-05-11 15:36:41 -07:00
Bryan Roe
9a4f2edfef Fixed compiler warning, and updated fix 2020-05-11 14:17:25 -07:00
Bryan Roe
a4c5430879 Updated windows path to use ReadEx when overlapped is supported 2020-05-09 11:02:16 -07:00
Bryan Roe
b2b78a3dbe Fixed so current node can be removed while being dispatched 2020-05-08 19:37:16 -07:00
Bryan Roe
dd0cd1af85 Fixed timeout, for child_process.waitExit() 2020-05-07 22:19:49 -07:00
Bryan Roe
7dc8ee4ef4 Added memory ownership for buffer 2020-05-07 18:19:14 -07:00
Bryan Roe
0dc052319c Fixed #ifdef 2020-05-07 12:31:58 -07:00
Bryan Roe
2ae485dad8 Fixed dwErrorStatus check 2020-05-07 11:27:05 -07:00
Bryan Roe
9668b8d77d Update to use new threading model for windows 2020-05-07 10:29:49 -07:00
Bryan Roe
47066bd825 untested changes 2020-05-06 14:03:41 -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
969909cca7 Updated WriteEx 2020-05-05 02:00:07 -07:00
Bryan Roe
a58c3279b7 Added WaitHandles array to chain 2020-05-04 21:08:43 -07:00
Bryan Roe
ed418bd695 Fixed bugs on which WSAEvent was closed 2020-05-04 19:21:39 -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
f38089fa3b Updated, so if database is locked, and installer is being run, db will open in cache only mode 2020-05-01 01:21:25 -07:00
Bryan Roe
10f1f53912 1. Removed usage of wcstomb_s(), which doesn't support UTF8
2. Added WideToUTF8_stupid() helper for API calls that give you byte count instead of character count of a non-null terminated UTF16 string
3. Fixed a few more places to support UTF8
2020-04-30 16:20:37 -07:00
Bryan Roe
71bd469551 fix 2020-04-29 03:01:44 -07:00
Bryan Roe
3843d0173d 1. Added NULL reference check
2. Removed suspend/resume duktape call
2020-04-23 19:53:57 -07:00
Bryan Roe
54b291187b 1. Fixed compiler warning when NO_IFADDR is defined
2. Added pthread_timedjoin_np() workaround for older glibc/gcc
2020-04-23 16:47:57 -07:00
Bryan Roe
6cfd62ed42 1. Added sem_timedwait to macos
2. Added Workaround for pthread_timedjoin_np() for macos
2020-04-21 16:22:39 -07:00
Bryan Roe
28db019101 1. Added ability to spawn joinable threads on linux
2. Added ILibThread_TimedJoin()
2020-04-20 21:51:55 -07:00
Bryan Roe
71d4b1edca 1. Fixed compiler warnings
2. Updated thread cleanup/finalizer logic to rely on ctxd if necessary
2020-04-20 17:01:53 -07:00
Bryan Roe
417cab5a83 Fixed typo 2020-04-18 14:24:24 -07:00
Bryan Roe
743a38eeeb 1. Updated WaitHandle_Add2 to no use APC to dispatch to event loop, becuase winsock is not re-entrant, and don't want to risk corruption
2. Updated memory handling for async methods in Generic Marshal
2020-04-18 13:53:38 -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
9aaef732d9 1. Fixed bug where ILibAsyncSocket wrote a corrupt TLS packet
2. Removed linux work-around/hack that is not needed due to above fix
2020-04-12 01:42:49 -07:00
Bryan Roe
34a1b1a4d5 Added ability to fetch core hash 2020-04-08 17:57:28 -07:00
Bryan Roe
42f1ea97cf Added db size threshold option 2020-03-27 21:14:39 -07:00