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
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
981ee96ad7
1. Updated GenericMarshal.GlobalCallback to have a close() method, to unhook global events
...
2. Updated EventEmitter to delete callback references for 'once', 'removeListener', and 'removeAllListeners'
3. Updated win-message-pump to cleanup global events correctly, so object can be garbage collected
2020-01-09 13:57:23 -08: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
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
c8c366ff5a
Fixed compiler warning
2019-03-04 18:22:51 -08:00
Bryan Roe
683852f70a
Fixed bug, where hook handler was always NULL when it was checked
2019-02-22 10:14:21 -08:00
Bryan Roe
176facc799
Updated 'newListener' and 'hookedEvent', to follow node, so that it is emitted before the listener is added
2019-02-20 18:21:35 -08:00
Bryan Roe
ec112d2d22
Fixed compiler warning
2019-02-15 13:53:55 -08:00
Bryan Roe
a9cb689ec3
Removed dead code, and added 'eventNames'
2019-02-15 00:48:57 -08:00
Bryan Roe
2f657f31e5
1. Updated 'addMethod' on emitter, to return this, so you can chain multiple together
...
2. Updated wget return value to expose an 'abort' event
2019-02-13 16:05:51 -08:00
Bryan Roe
6918c90253
Renamed '_eventHook' on EventEmitter to 'newListener' to match node definition
2019-02-12 21:40:08 -08:00
Bryan Roe
8f1501a343
Added listenerCount
2019-02-08 10:39:35 -08:00
Bryan Roe
e9f8626be8
Added missing Canary checks, and altered engine_free to wipe memory
2019-02-01 13:02:14 -08:00
Bryan Roe
0cb052fcc6
Added additional check to verify if emitter was finalized
2019-01-31 14:38:51 -08:00
Bryan Roe
b8928208d7
Added code to check the stack size when transitioning from native to javascript
2019-01-11 12:30:53 -08:00
Ylian Saint-Hilaire
3c80473a94
Major agent update.
2018-09-05 11:01:17 -07:00
Ylian Saint-Hilaire
4b5c77b4fd
Many improvements.
2018-02-11 21:11:58 -08:00
Ylian Saint-Hilaire
508646044e
Much improved, better stability, lots of fixes
2018-01-12 11:50:04 -08:00
Ylian Saint-Hilaire
becf71557f
Improved agent that can update the MeshCentral1 agent
2017-11-09 16:07:39 -08:00
Ylian Saint-Hilaire
34e09c2304
MeshAgent for MeshCentral2 Beta2 with improved crypto.
2017-10-25 21:08:41 -07:00
Ylian Saint-Hilaire
75d86eb4c8
First commit of MeshAgent for MeshCentral
2017-10-12 14:28:03 -07:00