Bryan Roe
7ae97b3a7d
Fixed crash on self-update, caused by IOActive fix on posix
2020-10-17 13:35:11 -07:00
Bryan Roe
d895d92e07
Added helper method to securely scrub memory
2020-10-16 18:48:25 -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
73b1d5e77c
Converted atoi to safer alternative
2020-09-24 15:50:27 -07:00
Bryan Roe
3f4e5df9a2
Fixed formatting in error message
2020-09-17 14:53:28 -07:00
Bryan Roe
c9e42cae2c
Changed write to printf
2020-09-17 14:49:43 -07:00
Bryan Roe
9e2d0eda91
Added more descriptive error message for FreeBSD when procfs is not mounted
2020-09-17 14:47:33 -07:00
Bryan Roe
105ff1dcb4
Fixed byte order when parsing gatway address on BigEndian platforms
2020-08-21 23:45:23 -07:00
Bryan Roe
2278a1cc35
added daemon helper
2020-08-19 21:43:16 -07:00
Bryan Roe
518a304bfc
1. Modified when process.exit event is emitted, so that it emits before any objects are finalized
...
2. Added process.exitting property that returns true if runtime is in process of exitting
2020-07-30 11:00:02 -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
67fc6c54b1
Addressed IOActive issues
2020-07-15 01:24:56 -07:00
Bryan Roe
70593e995b
1. added os.endianness
...
2. added os.uptime()
3. added bignum property support to _GenericMarshal.Variable
2020-07-11 01:34:33 -07:00
Bryan Roe
4728330c5e
Fixed some warnings
2020-07-08 16:07:04 -07:00
Bryan Roe
f2cbf1f10d
Updated LoadLibrary() to specify system32 path only
2020-07-06 18:46:48 -07:00
Bryan Roe
0d4f0f6adc
1. Implemented missing event 'net.server.connect'
...
2. Added integer overflow checks on ILibMemory operations
3. Added better bounds checking for DNS resolve and PE header parsing
2020-06-26 23:10:43 -07:00
Bryan Roe
c3ad70a70e
Added ZLIB Compression Support
2020-06-13 21:57:46 -07:00
Bryan Roe
51a3bc5384
1. Improved clipboard on linux if xclip is installed
...
2. Fixed compiler warnings
2020-06-03 15:54:09 -07:00
Bryan Roe
e9764045a4
Fixed issue caused by Signal Listener being at top of chain, so it could get emitted before a pipe read
2020-06-02 03:43:20 -07:00
Bryan Roe
537e4404c6
Integrated SIGCHLD support with Linux child_process
2020-06-01 22:13:00 -07:00
Bryan Roe
297b5b1a5c
Updated JS signal handler for linux
2020-06-01 17:28:36 -07:00
Bryan Roe
6e8e6ca5e0
Fixed cleanup logic for sighandler
2020-06-01 12:41:21 -07:00
Bryan Roe
a8ed89f79b
Ipdated os.arch() on Windows to correctly use IsWOW64
...
Updated os.arch() on linux to check LONG_BIT if uname is 64 bit
2020-05-28 16:48:26 -07:00
Bryan Roe
3824ef638c
Updated project files, and fixed compiler warnings
2020-05-28 00:54:30 -07:00
Bryan Roe
70979ad761
1. Fixed process.kill() on windows to wait to complete
...
2. Updated self update on windows to handle stale processes
2020-05-20 21:10:02 -07:00
Bryan Roe
0e8bc420a3
Added BuildNumber back to os.name for windows
2020-05-17 23:38:39 -07:00
Bryan Roe
2277b99bd7
Updated os.name so that on Windows does not need admin to get better results
2020-05-16 15:30:51 -07:00
Bryan Roe
941ac6e192
1. Added NULL check
...
2. Added process._exit()
3. Fixed CancelIOEx usage
2020-05-03 19:40:32 -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
cf91d6c709
1. Fixed bug with os.tmpdir()
...
2. Updated ScriptMode, so current durrectory is not changed to script path
3. Fixed process.cwd() on windows to support UTF8
2020-04-30 11:51:41 -07:00
Bryan Roe
07371fed6a
!. Fixed more exePath related UTF8 issues
...
2. Added os.tmpdir() support
3. Added Buffer.toString('utf16')
2020-04-30 01:40:03 -07:00
Bryan Roe
71bd469551
fix
2020-04-29 03:01:44 -07:00
Bryan Roe
c7959a8332
Added ability to close message-box on windows
2020-04-28 14:27:42 -07:00
Bryan Roe
19508fa79e
1. Updated os.Name and os.name() to fetch Windows name from older versions of Windows
...
2. Fixed compiler warning
2020-04-26 09:57:43 -07:00
Bryan Roe
cb95c0bbea
1. Fixed service-manager to include execute permission for user, fixing issue with Deepin Linux
...
2. Added os.Name property
2020-04-26 00:54:04 -07:00
Bryan Roe
54b291187b
1. Fixed compiler warning when NO_IFADDR is defined
...
2. Added pthread_timedjoin_np() workaround for older glibc/gcc
2020-04-23 16:47:57 -07:00
Bryan Roe
e7f46497bd
Fixed bug in ScriptContainer on Windows, where a dispatch failed
2020-04-22 17:24:25 -07:00
Bryan Roe
71d4b1edca
1. Fixed compiler warnings
...
2. Updated thread cleanup/finalizer logic to rely on ctxd if necessary
2020-04-20 17:01:53 -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
a714468636
Added gateway support to MeshAGent.NetInfo and OS.networkInterfaces() for macOS
2020-03-18 16:41:21 -07:00
Bryan Roe
ffcffafeb5
1. modified os.platform() to return process.platform, for consistency
...
2. updated os.name() on Windows to try to fetch name and id from registry
2020-02-24 10:11:42 -08:00
Bryan Roe
4d7aa678bd
Fixed build for No_OpenSSL build mode
2020-02-14 09:14:17 -08:00
Bryan Roe
5476ad8b5f
1. added 'slaveKvmLog' flag to msh, to enable Linux Child KVM logging
...
2. added support for child process core dumps in Linux (Note: core location must be writable by the process)
2019-10-25 13:42:07 -07:00
Bryan Roe
8eb3bd76e4
1. updated process.kill() to support optional signals
...
2. added 'SIGCHLD'
2019-10-18 17:37:48 -07:00
Bryan Roe
b2f3e28c33
1. Fixed windows null dereference crash
...
2. Updated Linux KVM support check, to check if X is apawned, which fixes cases where X libraries are present, but X isn't running.
2019-09-19 15:15:29 -07:00
Bryan Roe
17839ec388
Added missing ifndef to prevent modifying rlimit on windows
2019-09-11 10:29:46 -07:00
Bryan Roe
da6cf39dd2
Added 'index' to networkInterfaces() on windows
...
Added missing #define
Added IPAddress helper
2019-09-08 19:30:31 -07:00
Bryan Roe
303bde7654
Updated, so on non-windows platforms, when coreDumpLocation is set or reset, the process.rlimit is adjusted to enable/disable generating a core file.
2019-08-27 15:12:49 -07:00
Bryan Roe
31ccab899a
Added ability to get/set rlimits on non windows platforms
2019-08-27 14:05:08 -07:00
Bryan Roe
356cadb599
Added setting for coreDumpLocation
2019-08-26 16:57:52 -07:00