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

539 Commits

Author SHA1 Message Date
Bryan Roe
6e8e6ca5e0 Fixed cleanup logic for sighandler 2020-06-01 12:41:21 -07:00
Bryan Roe
fa983efa6f 1. Added 'removeListener' event to EventEmitter
2. Fixed bug with callback deletions in EventEmitter.removeAllListeners
2020-06-01 11:21:12 -07:00
Bryan Roe
c97a58f037 Updated linux/freebsd user-sessions.consoleUid() to skip users logged in on a pseudo console. 2020-05-31 22:12:07 -07:00
Bryan Roe
6609e23f78 Updated windows event hook for power state, to always event on hookup 2020-05-31 11:14:26 -07:00
Bryan Roe
1d81dba897 Updated power-monitor for linux 2020-05-31 08:58:28 -07:00
Bryan Roe
bfaddfaee2 Updated windows to not send the initial event on newListener for acdc, because windows acpi will already do this 2020-05-31 00:16:41 -07:00
Bryan Roe
5f1ca444a5 Updated user-sessions to remove buggy code with lock/unlock on linux 2020-05-30 23:06:40 -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
82d6248bb9 Added battery detection for macOS 2020-05-30 13:45:23 -07:00
Bryan Roe
c85dde4af1 added missing break statement 2020-05-30 12:46:22 -07:00
Bryan Roe
e6a1743d3e Unified battery detection across platforms, and added support for linux. 2020-05-30 12:39:26 -07:00
Bryan Roe
51e6062966 Fixed bug, where user-sessions.changed, which could be emitted multiple times, caused duplicate privacy bars to be drawn 2020-05-30 00:30:54 -07:00
Bryan Roe
eba4e2c60b Fixed bug where if user-sessions.consoleUid() throws an exception, privacy bar won't show up when you KVM to login screen and you login 2020-05-29 23:45:24 -07:00
Bryan Roe
6e2c9e4a5a Fixed bug in promise, where an exception was thrown, if a then() returned an already resolved promise. 2020-05-29 23:16:43 -07:00
Bryan Roe
4c143c948b Updated metadata for toaster and message-box 2020-05-29 16:24:17 -07:00
Bryan Roe
fdf86827ed Updated metadata for net.server 2020-05-29 15:45:17 -07:00
Bryan Roe
9b47e7891a Add -state flag 2020-05-29 13:41:36 -07:00
Bryan Roe
f221412c34 Fixed bug in promise, where you couldn't resolve a promise with null 2020-05-29 12:27:06 -07:00
Bryan Roe
f248288e90 Updated promise to correctly implement uncaught rejection 2020-05-29 04:46:40 -07:00
Bryan Roe
406543943f Updated promise, so rejection is substituted if then() returns a rejected promise 2020-05-29 02:33:43 -07:00
Bryan Roe
5104dd40fe 1. Updated promise to substitute promise, when then() returns a promise
2. Removed uncaught rejection, because it wasn't implemented correctly
2020-05-29 02:28:34 -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
a8ed89f79b Ipdated os.arch() on Windows to correctly use IsWOW64
Updated os.arch() on linux to check LONG_BIT if uname is 64 bit
2020-05-28 16:48:26 -07:00
Bryan Roe
b8007f227b Added work-around for service-manager if %ProgramFiles(x86)% doesn't exist, to work around issue of Windows 7 erroneously returning IsWOW64 2020-05-28 15:26:54 -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
5fa79bdee0 Fixed compiler warnings 2020-05-28 01:00:59 -07:00
Bryan Roe
3824ef638c Updated project files, and fixed compiler warnings 2020-05-28 00:54:30 -07:00
Bryan Roe
67bb0b98dc Updated DescriptorEvents to support separate FD_SET watchers
Updated heci.js linux support
2020-05-27 21:17:32 -07:00
Bryan Roe
5cd41e9ebd Updated constants 2020-05-27 19:07:04 -07:00
Bryan Roe
bb5cecac23 fixed bug with function callback definition 2020-05-27 18:41:27 -07:00
Bryan Roe
3b3cf725a8 linux update for fcntl 2020-05-27 17:26:02 -07:00
Bryan Roe
2c3585627b linux update 2020-05-27 16:57:57 -07:00
Bryan Roe
b24a9ec638 Linux Update for ioctl and fs.read 2020-05-27 03:17:23 -07:00
Bryan Roe
110b09a832 Added buffermode to Polyfill writaableStream 2020-05-26 19:02:05 -07:00
Bryan Roe
84385ec7e6 Fixed memory leak 2020-05-25 21:29:45 -07:00
Bryan Roe
aa1460ab04 Fixed FFI interop signed/unsigned problem 2020-05-25 16:45:27 -07:00
Bryan Roe
b47af8bb4b Update DescriptorEvents WaitHandle logic 2020-05-25 14:05:04 -07:00
Bryan Roe
1577458365 Update DescriptorEvents 2020-05-25 09:21:34 -07:00
Bryan Roe
7c3236ba8d Added helpers, and updated HECI cleanup 2020-05-24 00:10:48 -07:00
Bryan Roe
74d4ae2c1e Windows, rev1 update 2020-05-23 01:02:44 -07:00
Bryan Roe
a8e026806a added queue macro 2020-05-22 16:32:50 -07:00
Bryan Roe
dad1d4d03b Added safegaurd around embedded finalizer on event emitter 2020-05-22 14:46:52 -07:00
Bryan Roe
3c6d23faa2 1. Added addition native JS helpers
2. Updated metadata
2020-05-22 14:08:58 -07:00
Bryan Roe
a7b30fb729 Updated metadata 2020-05-22 12:18:46 -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
f516ad9511 Updated console, so it will not throw exception if mode is logfile, and it cannot write 2020-05-20 23:33:39 -07:00
Bryan Roe
90ab77197a Updated retry logic for windows self update 2020-05-20 22:11:03 -07:00