1
0
mirror of https://github.com/Ylianst/MeshAgent synced 2025-12-20 10:13:17 +00:00
Commit Graph

408 Commits

Author SHA1 Message Date
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
0c6db0b2a6 1. Added additional memory check helpers
2. Updated Process exit detection to check apc flags
2020-04-19 15:18:52 -07:00
Bryan Roe
72cbf91686 updated cleanup logic 2020-04-18 17:08:09 -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
df752bdc70 Updated memory handling of async method 2020-04-18 09:30:29 -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
255d20c263 Fixed potential crash in WebRTC finalizer 2020-04-14 16:13:47 -07:00
Bryan Roe
5fd96b36c3 Fixed typo in freebsd service path 2020-04-14 01:20:54 -07:00
Bryan Roe
7a1da84490 Fixed freebsd bug with installService() 2020-04-14 01:16:22 -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
cd18577a19 Updated crc32c to be unsigned 2020-04-08 19:17:18 -07:00
Bryan Roe
00b613fcb1 Added try/catch around getLibInfo() to fix an issue on ChromeOS 2020-04-08 13:11:39 -07:00
Bryan Roe
b8208f63ed Fixed Installer/Uninstaller
1. Remapped -fulluninstall to -funinstall
2. Updated behavior so db is not loaded if agent-installer is invoked
3. Renamed Windows Uninstaller from MeshCentralAgent to Mesh Agent for consistency
4. Update service-manager.installService(), such that if the service is the mesh agent, the windows uninstaller will invoke -fulluninstall
5. Updated agent-installer so that secondary agent and its scheduled tasks will be deleted on uninstall
6. Updated event-emitter, so if process.exit() is called on an emit(), it won't throw a catchable exception
2020-04-07 00:03:11 -07:00
Bryan Roe
3cd06ea4aa 1. Fixed uncaught exception that occurs on linux when you logout/logon
2. Added timer on logon, to allow time for dbus session to start
2020-04-06 14:43:37 -07:00
Bryan Roe
4bcb16c35a Added work around for older versions of SCHTASK, like in Windows 7, when execPath includes spaces. This fixes spawning user terminal session, among other things. 2020-04-06 09:26:55 -07:00
Bryan Roe
d25023e92b Added workaround that is needed due to PowerShell bug in Windows 7 2020-04-05 10:28:54 -07:00
Bryan Roe
0c1d7d6caa Fixed bug in message box return value, introduced with new alert modifications 2020-04-04 14:17:22 -07:00
Bryan Roe
e89274c835 Fixed edge case crash when calling response.end() with a buffer 2020-04-03 18:23:42 -07:00
Bryan Roe
7dbfae9bea Added support for dbus system events 2020-03-31 16:40:44 -07:00
Bryan Roe
46e4113814 1. Fixed Control Channel bug, where host field never contained port number
2. Updated tunnels, so host field only contains port if its not a default port
2020-03-19 23:54:16 -07:00
Bryan Roe
1796d8e266 Added support for "OK" dialog to message-box 2020-03-19 11:39:51 -07:00
Bryan Roe
a714468636 Added gateway support to MeshAGent.NetInfo and OS.networkInterfaces() for macOS 2020-03-18 16:41:21 -07:00
Bryan Roe
3d88fd7539 Fixed readdirSync to support junctions on Windows 2020-03-18 12:08:13 -07:00
Bryan Roe
76bb6f7613 Removed debug message 2020-03-13 23:36:25 -07:00
Bryan Roe
b42429a368 Updated linux-dbus and lock/unlock detection for better support across different linux distros 2020-03-13 22:29:29 -07:00
Bryan Roe
c5a559f011 Added user-sessions.Current() on FreeBSD 2020-03-05 16:18:42 -08:00
Bryan Roe
164b24a925 1. Updated macOS to wait for network ready
2. Implemented Restart/Shutdown Power Actions for macOS
2020-02-27 13:19:57 -08:00
Bryan Roe
908698fb68 Fixed uninstall logic for macOS 2020-02-26 11:25:01 -08:00
Bryan Roe
ee8bf176e8 Updated for macos 2020-02-26 00:03:57 -08:00
Bryan Roe
6f5f065eb5 1. Changed Array.includes polyfill to be nonenumerable, fixing potential problems when using for loops
2. Added uninstall helper
3. Fixed macOS bug on 'load' function
2020-02-25 23:32:21 -08:00
Bryan Roe
2669b10a5b Fixed uncaught exception on exit 2020-02-25 14:21:24 -08: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
ffcffafeb5 1. modified os.platform() to return process.platform, for consistency
2. updated os.name() on Windows to try to fetch name and id from registry
2020-02-24 10:11:42 -08:00
Bryan Roe
1731670522 1. Fixed bug in process-manager.getProcessInfo() on linux
2. Updated agent-installer
3. Fixed JSON error in SimpleDataStore
2020-02-15 00:22:15 -08:00
Bryan Roe
69808283be Updated agent-installer 2020-02-14 23:03:56 -08:00
Bryan Roe
4d7aa678bd Fixed build for No_OpenSSL build mode 2020-02-14 09:14:17 -08:00
Bryan Roe
8fd9d34ee4 Updated win-firewall 2020-02-13 14:54:52 -08:00
Bryan Roe
ceaf4a065d added polyfill for Array.includes() 2020-02-13 14:46:07 -08:00
Bryan Roe
10fd25f018 1. Added uuid/v4
2. Fixed inadvertant paste
2020-02-13 14:02:21 -08:00
Bryan Roe
76ece3bde4 Added netsh support to win-firewall 2020-02-12 14:43:47 -08:00
Bryan Roe
05d0617539 Modified Wide2UTF8, to divide buffer size by 2, when calling WideToMultiByte, if specified 2020-02-12 14:43:02 -08:00
Bryan Roe
f3656bebff Simplified memory allocation for PushWideString 2020-02-12 14:42:05 -08:00
Bryan Roe
066c173340 Fixed bug introduced with Jan 06 commit, where emit returned true if there was more than 1 listener instead of more than 0 listeners. 2020-02-07 14:53:59 -08:00
Bryan Roe
8b9988b88d Added support for Firewall Filter modifications on Windows 2020-02-07 10:11:36 -08:00
Bryan Roe
5f1656b0ba 1. Unified uncaughtException exception processing
2. updated promise, so uncaughtRejection emits an uncaughtException
2020-02-06 18:57:18 -08:00
Bryan Roe
32592bd622 1. Updated environment variables, so that string values are coerced
2. Added ability to specify termios struct values via environment variables
2020-02-04 15:23:52 -08:00
Bryan Roe
052c3d5414 Fixed windows notifications so they work, if the message contains ' characters 2020-01-31 10:43:00 -08:00