Ylian Saint-Hilaire
7adf0dddd4
Updated headers.
2022-02-04 14:43:55 -08:00
Bryan Roe
ab066751fb
1. Fixed uncaught exception in websocket that could happen if peer disconnects
...
2. Updated debugger to work with updated promise
3. Fixed bug in event emitter where 'explicit' event type wasn't honored
4. Updated _GenericMarshal to support interface and function marshaling
5. Added COM/WMI support to windows
2021-10-29 09:39:25 -07:00
Bryan Roe
486f8eaa39
1. Fixed Compiler Warnings
...
2. Updated GC behavior for HTTP
2021-05-20 11:36:40 -07:00
Bryan Roe
08d08307a4
Updated Helper Methods
2021-05-17 10:54:01 -07:00
Bryan Roe
da756d6b7f
Added new reference mode for EventEmitter
2021-02-18 01:51:52 -08:00
Bryan Roe
55f0f91587
Updated Garbage Handling
2021-02-17 01:00:21 -08:00
Bryan Roe
71b5e588c3
1. Updated to duktape 2.6.0
...
2. Added support for execution timeout
2021-02-16 15:10:28 -08:00
Bryan Roe
77834337fd
1. Fixed process HANDLE leak on windows
...
2. Replaced semaphore with spinlock on event emitter object.
2020-11-26 11:30:23 -08:00
Bryan Roe
73b1d5e77c
Converted atoi to safer alternative
2020-09-24 15:50:27 -07:00
Bryan Roe
8cdcfcb187
Addressed Checkmarx issues
2020-09-17 12:59:15 -07:00
Bryan Roe
3fae5b9398
1. Fixed flow control bug with compressed-stream
...
2. Fixed moderated event on linux
2020-09-02 23:04:42 -07:00
Bryan Roe
86d074f56f
1. Added event moderation support
...
2. Added progress support to zip-writer
2020-08-18 14:14:51 -07:00
Bryan Roe
7a265a37b9
1. Fixed crash that occurs when meshcore is cleared, if FDSNAPSHOT was used
...
2. Fixed uncaught exception that occurs when you emit an event on a finalized object
2020-07-30 21:32:47 -07:00
Bryan Roe
d56dd0b308
Updated new event emitter, so that JSON table is updated after listener is added, instead of before.
2020-07-29 01:07:47 -07:00
Bryan Roe
9f09abdbcd
Updated EventEmitter to use JS data structure instead of native
2020-07-28 15:17:37 -07:00
Bryan Roe
3b1dc835eb
1. Added crc32-stream modules
...
2. Updated flow control for compressed-stream
3. Added newListener even on EventEmitter, that fires event after a lsitener is added
4. Added two new event helper methods
5. Updated fs.read to work with CreateFile on Windows.
2020-06-15 13:16:01 -07:00
Bryan Roe
fa983efa6f
1. Added 'removeListener' event to EventEmitter
...
2. Fixed bug with callback deletions in EventEmitter.removeAllListeners
2020-06-01 11:21:12 -07:00
Bryan Roe
dad1d4d03b
Added safegaurd around embedded finalizer on event emitter
2020-05-22 14:46:52 -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
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