1
0
mirror of https://github.com/Ylianst/MeshAgent synced 2025-12-23 11:43:26 +00:00
Commit Graph

279 Commits

Author SHA1 Message Date
Bryan Roe
001e4944d1 Hooked up respawn in pseudoservice config to daemon crashRestart 2019-10-18 23:54:09 -07:00
Bryan Roe
e23b090ced Updated pseudo service, so daemon is a standalone tool to start/stop services 2019-10-18 23:19:28 -07:00
Bryan Roe
318d2eee1f Updated, so if pseudo service logging is not set, to disable console.log 2019-10-18 20:53:48 -07:00
Bryan Roe
e491def440 1. Unified service type detection, between native and JS
2. Added basic support for pseudo services
2019-10-18 17:40:16 -07:00
Bryan Roe
661c703230 Updated behavior, so processes spawned as detached, will not try to kill process in the finalizer 2019-10-18 17:38:47 -07:00
Bryan Roe
8eb3bd76e4 1. updated process.kill() to support optional signals
2. added 'SIGCHLD'
2019-10-18 17:37:48 -07:00
Bryan Roe
1bd4cb3131 1. experimental/pseudo 'daemon' support added 2019-10-16 14:34:09 -07:00
Bryan Roe
35c7acd216 Fixed notifybar for X, so works on 32 bit platforms 2019-10-11 19:08:21 -07:00
Bryan Roe
024f8172c0 Updated to work with platforms that don't implement user sessions, such as PuppyLinux. 2019-10-11 10:22:27 -07:00
Bryan Roe
89ea224e18 Fixed user-consent dialog for PuppyLinux 2019-10-10 14:35:08 -07:00
Bryan Roe
169fabf959 Updated linux, so ldconfig always works 2019-10-10 13:51:09 -07:00
Bryan Roe
554d022904 removed debug messages 2019-10-10 10:35:37 -07:00
Bryan Roe
fa6c77f4e4 Updated linux behavior, so when finding X when it can't use ldconfig, it will try to load the library to make sure it works first. Previously, it would return the first result, which could cause problems the first result is for the wrong platform, ie 32 bit vs 64 bit 2019-10-10 10:24:50 -07:00
Bryan Roe
b5e0074392 Fixed bug introduced with APC dispatcher where exception is thrown, if first param of 'async' was not an object or function. 2019-10-09 10:49:42 -07:00
Bryan Roe
244eb01869 Fixed compiler warnings 2019-10-07 20:55:48 -07:00
Bryan Roe
92da4d02b3 1. Added ability to allow importing lib locations for X via env vars
2. Updated notifybar-desktop for X to import X lib location when spawning child
2019-10-07 17:04:12 -07:00
Bryan Roe
9ad6891d3a added '_pipedStreams' property to readableStreams 2019-10-07 14:50:04 -07:00
Bryan Roe
2cb4117a74 Added X support for notifybar-desktop 2019-10-07 12:50:58 -07:00
Bryan Roe
d49b781ee4 Added ability to register for ClientMessage events 2019-10-06 19:22:11 -07:00
Bryan Roe
5f169ab624 1. Added 'setAllowedActions' to monitor-info for X
2. Added ability to specify min/max size for X
2019-10-04 15:04:01 -07:00
Bryan Roe
1ec290f090 Added 'close' method 2019-10-04 12:32:58 -07:00
Bryan Roe
ba7ef6c942 Fixed bug, when global dispatch was done without context switching, stale pointers were not cleared 2019-10-04 12:32:37 -07:00
Bryan Roe
1774dc2e54 1. Added 'getProcessOwnerName()' for windows in user-sessions
2. Added notifybar-desktop for Windows
2019-10-03 14:34:17 -07:00
Bryan Roe
357fca53ca Added 'close' to win-message-pump 2019-10-02 14:29:53 -07:00
Bryan Roe
be2f08aac7 1. Fixed bug in monitor-info, where Windows was reported as not supported
2. Added support for APC Thread Dispatching to _GenericMarshal
3. Updated win-message-pump to use APC dispatching of Message Pump Thread
4. Added support to create non-hidden windows in win-message-pump
2019-10-02 14:00:32 -07:00
Bryan Roe
b682a2519b 1. Updates statSync for windows to fix path
2. Added missing POSIX readdirSync that was accidentally removed
2019-09-26 19:58:12 -07:00
Bryan Roe
817f83a1c1 1. added uid/gid to POSIX statSync
2. Fixed readdirSync on Windows to not require *
2019-09-26 14:45:16 -07:00
Bryan Roe
d4b9f813b6 Added getGroupname on Linux, FreeBSD, and MacOS 2019-09-26 14:43:08 -07:00
Bryan Roe
6f2e2ed109 Added Mouse Cursor Capture support to X11/KVM 2019-09-20 16:50:50 -07:00
Bryan Roe
6a84582764 Dropped autofragmentation size to 5k on Linux, until we figure out why on old hardware on linux, OpenSSL tends to corrupt TLS if we try to encode a large fragment 2019-09-19 16:37:45 -07:00
Bryan Roe
b2f3e28c33 1. Fixed windows null dereference crash
2. Updated Linux KVM support check, to check if X is apawned, which fixes cases where X libraries are present, but X isn't running.
2019-09-19 15:15:29 -07:00
Bryan Roe
84735cf3dc Lowered autofragment size to 15k from 30k 2019-09-17 12:42:42 -07: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
92fe765c32 Fixed bug with service.isMe() for init and upstart linux 2019-09-13 14:41:19 -07:00
Bryan Roe
660aabb178 1. Added -b64exec
2. Updated service-manager on windows to ignore running state when uninstalling
2019-09-13 11:37:41 -07:00
Bryan Roe
17839ec388 Added missing ifndef to prevent modifying rlimit on windows 2019-09-11 10:29:46 -07:00
Bryan Roe
5f586a2039 Added ability to fetch default route interface 2019-09-09 12:53:06 -07:00
Bryan Roe
da6cf39dd2 Added 'index' to networkInterfaces() on windows
Added missing #define
Added IPAddress helper
2019-09-08 19:30:31 -07:00
Bryan Roe
f75e2514a9 Updated Buffer.from() so that 'binary' encoding is properly suppoerted 2019-09-06 21:43:07 -07:00
Bryan Roe
72db242dee Added ability to end stdin on child_process spawned process 2019-09-06 21:41:48 -07:00
Bryan Roe
48590a7dff Added update() to getService() on Windows 2019-08-28 00:44:14 -07:00
Bryan Roe
303bde7654 Updated, so on non-windows platforms, when coreDumpLocation is set or reset, the process.rlimit is adjusted to enable/disable generating a core file. 2019-08-27 15:12:49 -07:00
Bryan Roe
31ccab899a Added ability to get/set rlimits on non windows platforms 2019-08-27 14:05:08 -07:00
Bryan Roe
e384a1a680 Added startType to getService() for MacOS 2019-08-27 11:19:12 -07:00
Bryan Roe
fd7a0a0f5b Added startType property to getService() for Linux/systemd and FreeBSD 2019-08-27 11:04:43 -07:00
Bryan Roe
c983afdd4b Added 'startType' property for getService result on Windows and Linux (Upstart/InitV) 2019-08-27 02:38:12 -07:00
Bryan Roe
356cadb599 Added setting for coreDumpLocation 2019-08-26 16:57:52 -07:00
Bryan Roe
fa6836d17a Added ability to generate Dump file on crash, on Windows 2019-08-26 14:16:39 -07:00
Bryan Roe
ede1ed71d5 Added UTF8 helper method that puts the string on the stack 2019-08-26 14:15:43 -07:00
Bryan Roe
3ef2c541f4 1. Updated failover for os.name() on linux to check DISTRIB_DESCRIPTION
2. Fixed substring bug, that chopped off the last character of os.name()
2019-08-23 00:02:00 -07:00