1
0
mirror of https://github.com/Ylianst/MeshAgent synced 2025-12-24 04:04:31 +00:00
Commit Graph

174 Commits

Author SHA1 Message Date
Bryan Roe
124c0d386f Initial modifications to support FreeBSD 2019-06-17 15:45:46 -07:00
Bryan Roe
583628214e Added 'listening' property to net.server 2019-06-14 13:56:07 -07:00
Bryan Roe
b9617595ab Updated error case when attempting to show dialog/toast when nobody is logged in 2019-06-14 10:27:49 -07:00
Bryan Roe
68fd05d4c8 Fixed linux compiler warning 2019-06-13 10:49:29 -07:00
Bryan Roe
67e10e0e33 Updated for Linux/MacOS 2019-06-06 18:47:05 -07:00
Bryan Roe
f15c11c845 1. Updated MacOS, so detached child process uses fork instead of vfork
2. Updated detached to be a bitmask on the type
3. Updated MacOS message-box cleanup
2019-06-04 13:06:17 -07:00
Bryan Roe
5b0a4899e2 Updated user-sessions on MacOS to support getHomeFolder and getUsername 2019-05-30 14:59:32 -07:00
Bryan Roe
e08d1996d5 Updated event emitter, so that 'on', 'once', etc, return the emitter, so they can be chained together 2019-05-30 10:06:11 -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
134f34d9cf 1. added 'ILibChain_IsLinkAlive' macro
2. incremental update for macos message-box
2019-05-24 15:11:27 -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
1a1ba0084e Updated MacOS service-manager to support LaunchAgents, and updated to support launchctl 2.0 API on Mac OS 10.10 and above 2019-05-22 13:50:03 -07:00
Bryan Roe
e28b5d7b0e 1. Added support for KDE
2. Added zenity fallback for platforms where notify-send doesn't work correctly
2019-05-18 02:48:27 -07:00
Bryan Roe
020bae80a5 1. Added ability to search env vars by uid
2. updated toaster to work with KDE
2019-05-17 22:10:52 -07:00
Bryan Roe
bbe2098b7e 1. Integrated win-console on windows
2. Updated toaster, to better support linux. And updated flow for windows.
2019-05-17 16:10:36 -07:00
Bryan Roe
1fc476d31e 1. Added process.pid on windows
2. Added user-sessions.consoleUid() on windows
3. updated message-box to dispatch to consoleUid when necessary on Windows
2019-05-17 14:23:51 -07:00
Bryan Roe
8ac2e127ef Fixed compiler warnings 2019-05-16 15:11:10 -07:00
Bryan Roe
842a7d475b Added initial rev of message-box, to allow spawning a dialog box into a user context 2019-05-16 15:07:47 -07:00
Bryan Roe
e0e52bbb16 Added ability to specify environment variables on linux 'child_process.execFile' 2019-05-16 15:05:24 -07:00
Bryan Roe
5e0bc797a7 Updated promise, so you can't resolve/reject more than once 2019-05-16 11:17:11 -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
7cf000571d 1. Fixed compiler warning
2. Updated so process.exit() throws exception when called in agent mode
2019-05-14 14:52:39 -07:00
Bryan Roe
d0fb36d10b Add ability to specify detached=true in options 2019-05-12 21:39:02 -07:00
Bryan Roe
2015b668f2 Added commitHash to process.versions.meshAgent 2019-05-09 14:58:42 -07:00
Bryan Roe
03413da00e Updated windows build script to include commit hash 2019-05-08 21:46:47 -07:00
Bryan Roe
7b98af6a60 Added process.versions 2019-05-08 18:30:13 -07:00
Bryan Roe
2c45d57259 Fixed typo with nodeid helper on windows 2019-05-07 12:06:22 -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
585595791b Updated to use revices ReAlloc Macro 2019-05-01 16:13:27 -07:00
Bryan Roe
014aa11ec0 Updated ReadableStream, so you can define it multiple times, such that the finalizer will not compound 2019-05-01 16:12:59 -07:00
Bryan Roe
b9f18b9897 Added CreateFinalizerEx, where you can specify 'singleton' which clears any previously defined finalizers 2019-05-01 16:12:25 -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
5f535d8664 Updated task-scheduler for MacOS 2019-04-22 17:17:23 -07:00
Bryan Roe
1adcae7957 Added 'isLoaded' and 'load' helper on MacOS 2019-04-19 15:12:06 -07:00
Bryan Roe
c64a726f2d Updated service-manager for MacOS to better tolerate KeepAlive settings 2019-04-19 14:22:28 -07:00
Bryan Roe
6e543689f5 Updates service-manager on MacOS so Start/Stop calls load/unload when necessary 2019-04-18 14:50:38 -07:00
Bryan Roe
ec1a39af53 Fixed bug on Upstart Linux platforms, where task didn't start correctly. 2019-04-18 11:43:18 -07:00
Bryan Roe
921c636bac 1. Added 'close' to getService() return object. (NOOP on Linux/MacOS)
2. Updated uninstallService on windows, to force close service handles.
2019-04-17 14:55:10 -07:00
Bryan Roe
5436a9d7a0 Fixed events.EventEmitter so that it doesn't try to set finalizer twice, which fixes a bug where finalizer could emit the ~ event twice 2019-04-17 14:51:20 -07:00
Bryan Roe
3a99589493 Updated Duktape to v2.3.0 2019-04-17 14:50:16 -07:00
Bryan Roe
70e7836db1 Added random number helpers 2019-04-15 14:11:23 -07:00
Bryan Roe
9aae4c7508 1. Updated service-manager to support dependencies from Buffer
2. Updated service-host to have a 'create' method
2019-04-09 14:47:49 -07:00
Bryan Roe
7bf31b0a28 1. Added setting for Windows Certificate Store
2. Updated so NodeID is only saved on Windows, if Certificate Store is used
2019-04-08 17:44:49 -07:00
Bryan Roe
a5000eee85 Updated, so windows will save NodeID to db 2019-04-08 15:42:08 -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
Bryan Roe
69f76902cd Added ability to query Server Info, and Proxy Config 2019-04-01 17:34:36 -07:00