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

349 Commits

Author SHA1 Message Date
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
f4f0a37522 updated getXInfo, so returns only DISPLAY if XAUTHORITY is not found 2019-05-17 16:09:47 -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
26d86ce449 Added canary check to mitigate crash on linux 2019-05-16 23:38: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
da7b9aa47b Updated, so 'restartCore' preserves localScript flag 2019-05-15 10:47:10 -07:00
Bryan Roe
fdb4411825 Added comments describing differences between two similar macros 2019-05-15 10:46:16 -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
88266aa7ad updated '-info- to contain commit hash and date if available 2019-05-09 15:27:56 -07:00
Bryan Roe
2015b668f2 Added commitHash to process.versions.meshAgent 2019-05-09 14:58:42 -07:00
Bryan Roe
bb9bbca2a8 Updated to try to fetch commit hash and date 2019-05-09 11:51:01 -07:00
Bryan Roe
35dc87d545 Updated how commit hash is detected 2019-05-09 07:42:51 -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
a082c8bf55 Merge branch 'WindowsIPC' 2019-05-02 23:49:34 -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
067a3ee2a2 removed printf 2019-05-01 16:41:03 -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
40b3ca4d03 1. Added CancelEx
2. Updated, so if ReadEx is used, buffer is not freed directly
2019-05-01 16:10:58 -07:00
Bryan Roe
9319b61bfa Fixed bug with ReallocRaw macro, if the memoy location moves 2019-05-01 16:10:11 -07:00
Bryan Roe
8c6a230d1e 1. Fixed bug with createConnection()
2. Updated Windows IPC
2019-04-30 15:15:20 -07:00
Bryan Roe
3ebe0495fe Merge branch 'master' of https://github.com/Ylianst/MeshAgent 2019-04-29 13:28:10 -07:00
Bryan Roe
46a7d48b9e Specified missing calling convention 2019-04-29 13:27:46 -07:00
Ylian Saint-Hilaire
087298f032 Added ARMv8 64bit (aarch64) as agent id 26 + binary libraries. 2019-04-28 11:38:09 -07:00
Bryan Roe
1e58eaf103 Experimental 2019-04-26 16:07:06 -07:00
Bryan Roe
18e4dd4548 updated uninstall, so it removed diagnostic agent if present 2019-04-24 15:05:04 -07:00
Bryan Roe
bc3e970b5c Fixed Windows KVM bug when you have multiple displays with differing DPI settings 2019-04-24 13:01:31 -07:00
Bryan Roe
b5d2d39860 Added display helper 2019-04-23 22:31:00 -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
094918c400 Fixed, so parameter passing to Service works correctly 2019-04-12 17:41:54 -07:00