1
0
mirror of https://github.com/Ylianst/MeshAgent synced 2025-12-15 07:43:50 +00:00
Commit Graph

56 Commits

Author SHA1 Message Date
Bryan Roe
b60391b1c3 Added version flag to readdirSync(), so can be patched easily on server side if necessary 2022-10-14 11:11:48 -07:00
Bryan Roe
62bcda48c9 1. Updated fs.readdirSync(), so when enumerating windir with a 32 bit agent on 64 bit windows, it will add 'sysnative' to the results
2. Added documentation for sysinfo
2022-10-14 01:10:45 -07:00
Bryan Roe
687f79d8d1 Updated documentation 2022-07-21 22:50:58 -07:00
Bryan Roe
fd93f62fe4 Added documentation to fs
Addressed minor issues from static analysis
2022-07-21 00:24:10 -07:00
Bryan Roe
06cc2ae7ea Restored line accidentally deleted 2022-07-19 23:33:44 -07:00
Bryan Roe
6a0f448c65 1. Fixed while() loop that could get stuck in loop due to 4 byte align issue
2. Added more inline documentation to fs
2022-07-19 22:52:25 -07:00
Bryan Roe
1c953c6006 Added documentation 2022-07-18 23:03:01 -07:00
Bryan Roe
6460a09542 Updated FSWatcher on linux, to re-init FD if it is 0 2022-03-03 22:26:07 -08:00
Ylian Saint-Hilaire
7adf0dddd4 Updated headers. 2022-02-04 14:43:55 -08:00
Bryan Roe
ebf06898b2 1. Fixed valgrind issue
2. Updated child_process, to now have back-parent pointer on completion
2021-02-16 21:59:48 -08:00
Bryan Roe
704edbb802 Updated metadata 2021-01-28 02:11:05 -08:00
Bryan Roe
f60121e2c8 Fixed fileWatcher on linux, so that it also triggers on IN_ATTRIB 2021-01-27 19:03:30 -08:00
Bryan Roe
33b4ea5385 Fixed bug with fs.readSync() default values 2020-12-16 12:13:59 -08:00
Bryan Roe
0b835a6c82 1. Fixed minor memory leaks
2. Updated child_process.waitExit() to throw an exception if it's aborted
2020-12-03 17:11:50 -08:00
Bryan Roe
f94758c7e6 Fixed crash that could occur on linux, when using fdsnapshot 2020-10-23 17:30:30 -07:00
Bryan Roe
a2892996fb IOActive update for size_t vs int for buffer lengths 2020-10-16 00:48:34 -07:00
Bryan Roe
321cae9eb0 1. Fixed crash that could happen when you close a FD in fs.closeSync()
2. Added 'cancel' method/event to zip-writer.js
3. Fixed bug in Windows Zip-Writer when parsing basePath
4. Added ability to manually specify basePath in Zip-Writer
2020-08-18 11:09:56 -07:00
Bryan Roe
f9c9e4264d 1. Updated fs.readSync
2. Added zip-reader.isZip()
3. Added support for zip compressed selfupdate
2020-07-10 01:01:27 -07:00
Bryan Roe
de4ee73ae6 Addressed CodeQL analysis 2020-07-08 21:46:53 -07:00
Bryan Roe
10bde8c328 1. Fixed typo with upstart service manager .conf definition
2. Added support for installedDate in service manager
3. Fixed compiler warnings
2020-06-25 12:34:56 -07:00
Bryan Roe
5b7a2efc33 Fixed code comment 2020-06-19 02:00:57 -07:00
Bryan Roe
4b53dd5c61 Fixed issue that could cause stack overflow 2020-06-19 01:35:38 -07:00
Bryan Roe
885c6de72a 1. Fixed UTF8 characters for notifybar-desktop on linux
2. Fixed compiler warning, and missing #ifdef
2020-06-18 22:44:07 -07:00
Bryan Roe
d65118f357 Added ability to embed zip packages 2020-06-18 19:32:25 -07:00
Bryan Roe
c18f37d17e 1. added BufferDesciptor to 'fs' to allow reading from a buffer
2. updated zip-reader to allow reading from a buffer instead of file
2020-06-18 15:02:12 -07:00
Bryan Roe
6adbbd8897 Added fs.read() support for windows
Update compressed-stream
2020-06-17 01:17:28 -07:00
Bryan Roe
8eaf8364c4 Fixed compier warnings and missing #ifdef 2020-06-15 21:37:15 -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
5fa79bdee0 Fixed compiler warnings 2020-05-28 01:00:59 -07:00
Bryan Roe
3824ef638c Updated project files, and fixed compiler warnings 2020-05-28 00:54:30 -07:00
Bryan Roe
67bb0b98dc Updated DescriptorEvents to support separate FD_SET watchers
Updated heci.js linux support
2020-05-27 21:17:32 -07:00
Bryan Roe
5cd41e9ebd Updated constants 2020-05-27 19:07:04 -07:00
Bryan Roe
bb5cecac23 fixed bug with function callback definition 2020-05-27 18:41:27 -07:00
Bryan Roe
3b3cf725a8 linux update for fcntl 2020-05-27 17:26:02 -07:00
Bryan Roe
2c3585627b linux update 2020-05-27 16:57:57 -07:00
Bryan Roe
b24a9ec638 Linux Update for ioctl and fs.read 2020-05-27 03:17:23 -07:00
Bryan Roe
3c6d23faa2 1. Added addition native JS helpers
2. Updated metadata
2020-05-22 14:08:58 -07:00
Bryan Roe
47066bd825 untested changes 2020-05-06 14:03:41 -07:00
Bryan Roe
c2486d9180 1. added missing return
2. Fixed error with pushing string from filewatcher
2020-05-02 10:02:49 -07:00
Bryan Roe
10f1f53912 1. Removed usage of wcstomb_s(), which doesn't support UTF8
2. Added WideToUTF8_stupid() helper for API calls that give you byte count instead of character count of a non-null terminated UTF16 string
3. Fixed a few more places to support UTF8
2020-04-30 16:20:37 -07:00
Bryan Roe
71bd469551 fix 2020-04-29 03:01:44 -07:00
Bryan Roe
5ba1288cdf Modified JS runtime to use ILibMemory_Extra to point to udata structure,
then used that for consistency checks
2020-04-17 15:05:47 -07:00
Bryan Roe
3d88fd7539 Fixed readdirSync to support junctions on Windows 2020-03-18 12:08:13 -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
124c0d386f Initial modifications to support FreeBSD 2019-06-17 15:45:46 -07:00
Bryan Roe
75b55823ef 1. Added '.manager' singleton to service-manager.js
2. Updated fs.writeFileSync to support options.mode
3. Updated Linux Task Scheduler
2019-03-06 15:09:45 -08:00
Bryan Roe
aeaa229e31 1. Modified WebRTC_DataChannel to use union, to simplify struct def
2. Added ChainLink MetaData
3. Added 'ChainViewer' to allow JS to debug Chain events
2019-02-01 23:33:02 -08:00
Bryan Roe
bd16538a8e Fixed compiler warnings on MacOS 2019-02-01 01:13:07 -08:00
Bryan Roe
3612e45cef Fixed compiler warning on GCC related to duktape specific issue 2019-01-17 21:56:34 -08:00