|
f8553b79f9
|
fix: run module in an isolated context
|
2024-04-20 22:22:55 +03:00 |
|
|
ba6462458c
|
fix: some fixes in the filesystem
|
2024-04-20 22:18:47 +03:00 |
|
|
e33cdbb172
|
fix: properties not applied to wrappers without constructor method
|
2024-04-13 01:03:34 +03:00 |
|
|
fc6ddf7d3c
|
feat: allow interface proxy wrappers
|
2024-04-12 16:37:06 +03:00 |
|
|
7f275095a2
|
fix: continue statement compiled incorrectly
|
2024-04-07 12:50:58 +03:00 |
|
|
6fb31be12c
|
fix(debugger): handle all errors when generating description
|
2024-04-07 12:33:26 +03:00 |
|
|
d6ede0b404
|
fix: incorrect toFixed behavior
|
2024-04-03 15:52:01 +03:00 |
|
|
71b40240c0
|
feat: add Number.toFixed
|
2024-04-03 15:09:01 +03:00 |
|
|
a8775d212f
|
fix: clean up extensions at some points
|
2024-04-03 14:52:29 +03:00 |
|
|
71872a8d64
|
fix
|
2024-04-03 14:25:14 +03:00 |
|
|
c707f880f7
|
fix: use Extensions instead of Environment
|
2024-04-03 14:21:23 +03:00 |
|
|
0d629a6e82
|
fix: use correct class instead of proxy
|
2024-04-03 12:27:15 +03:00 |
|
|
6eea342d04
|
fix: fuck
|
2024-04-02 18:24:43 +03:00 |
|
|
ece9cf68dc
|
fix: correctly update proto chain
|
2024-04-02 18:19:05 +03:00 |
|
|
11ecd8c68f
|
fix: exec debugger close logic on application exit
|
2024-04-02 18:05:49 +03:00 |
|
|
48bd304c6e
|
fix: environment forks fixes
|
2024-04-02 18:05:20 +03:00 |
|
|
d8e46c3149
|
fix: clone environment correctly
|
2024-03-31 16:11:32 +03:00 |
|
|
5fc5eb08f8
|
fix: update breakpoints when removing bp
|
2024-03-30 12:52:44 +02:00 |
|
|
8acbc003c4
|
fix: properly resolve breakpoints
|
2024-03-30 12:13:04 +02:00 |
|
|
fda33112a7
|
fix: load maps when attaching debugger
|
2024-03-30 11:13:45 +02:00 |
|
|
c291328cc3
|
fix: detach debugger after close
|
2024-03-30 10:22:12 +02:00 |
|
|
7cb267b0d9
|
fix: some issues with debugger
|
2024-03-30 09:55:20 +02:00 |
|
|
4e31766665
|
fix: add new vscode debugger functions
|
2024-03-29 21:53:15 +02:00 |
|
|
b5b63c4342
|
fix: make global cache of native wrappers
|
2024-03-28 16:08:07 +02:00 |
|
|
18f70a0d58
|
fix: i hate wrappers
|
2024-03-28 15:10:21 +02:00 |
|
|
d38b600366
|
fix: some more wrapper issues
|
2024-03-28 14:52:49 +02:00 |
|
|
0ac7af2ea3
|
fix: take into account empty classes
|
2024-03-28 14:21:23 +02:00 |
|
|
5185c93663
|
fix: don't include non-exposing wrappers in proto chain
feat: allow adding custom wrappers
|
2024-03-28 00:57:09 +02:00 |
|
|
510422cab7
|
feat: implement logic for exposing non-static fields
|
2024-03-27 23:39:33 +02:00 |
|
|
e0f3274a95
|
feat: add simple for-of loop (not intended for production usage)
|
2024-03-27 23:08:21 +02:00 |
|
|
5ba858545a
|
fix: defer handles of async functions
|
2024-03-09 00:28:30 +02:00 |
|
|
446ecd8f2b
|
fix: promise defers callback twice
|
2024-03-08 17:23:50 +02:00 |
|
|
b30f94de8f
|
refactor: move function pushMsg signatures in EventLoop
|
2024-03-08 16:53:47 +02:00 |
|
|
47b4dd3c15
|
refactor: rename code to runtime
|
2024-03-06 23:23:01 +02:00 |
|
|
0fb336373a
|
fix: make fs calls synchronized
|
2024-03-06 12:50:57 +02:00 |
|
|
b33325a98d
|
fix: clear buffer of line writer file
|
2024-03-05 17:10:06 +02:00 |
|
|
ccf75d6066
|
fix: don't use Context.NULL in global scope
|
2024-03-05 16:51:50 +02:00 |
|
|
3e6214659b
|
fix: use new global API
|
2024-03-05 15:54:51 +02:00 |
|
|
7c6622c53d
|
fix: separate scope records from scopes
|
2024-03-05 15:45:02 +02:00 |
|
|
70d5871091
|
fix: properly check permissions
|
2024-03-03 20:47:54 +02:00 |
|
|
7b9bbe576b
|
feat: add std streams as global variables
|
2024-03-03 20:31:20 +02:00 |
|
|
e6399c1546
|
refactor: remove unused var
|
2024-03-02 14:01:58 +02:00 |
|
|
c8253795b2
|
fix: make debugging work again
|
2024-03-02 13:56:48 +02:00 |
|
|
49dd725669
|
refactor: fully separate event loop from context
|
2024-02-29 00:23:14 +02:00 |
|
|
52489ad3a8
|
feat: separate compilation and runtime
|
2024-02-26 13:22:56 +02:00 |
|
|
c4d44547c8
|
fix: call move when passing same array to copyTo
|
2024-02-21 11:03:19 +02:00 |
|
|
c6dc031cfd
|
fix: respect return value of constructors
|
2024-02-21 11:01:33 +02:00 |
|
|
285960bdd6
|
refactor: rework fs error system
|
2024-02-09 13:46:57 +02:00 |
|
|
cf99845f6b
|
refactor: rework permission system
|
2024-01-13 11:05:43 +02:00 |
|
|
304665904f
|
feat: extract log API to console
|
2024-01-12 09:53:56 +02:00 |
|
|
46136e77e2
|
build: improve build scripts
|
2024-01-11 10:47:41 +02:00 |
|
|
e772f0b50d
|
feat: change custom build script to gradle
|
2024-01-11 09:56:50 +02:00 |
|
|
187ad55291
|
fix: fully remove typescript
|
2024-01-10 17:02:45 +02:00 |
|
|
8156a1733f
|
refactor: move debugging logic out of core
|
2024-01-10 17:01:24 +02:00 |
|
|
d1937fdb63
|
remove typescript
|
2024-01-10 16:51:40 +02:00 |
|
|
cfa0e001b9
|
refactor: split up code in 4 modules
|
2024-01-10 11:21:49 +02:00 |
|
|
c10d071346
|
feat: some API improvements
|
2024-01-10 11:21:35 +02:00 |
|
|
89eea7d62b
|
refactor: remove old useless exceptions
|
2024-01-06 19:51:48 +02:00 |
|
|
72a0d39d0b
|
fix: make java 11 compatible
|
2024-01-06 18:27:36 +02:00 |
|
|
d8585a20bf
|
refactor: don't require ctx in frame.push
|
2024-01-06 18:23:34 +02:00 |
|
|
e4c9a8756e
|
fix: debugger hanging sometimes
|
2024-01-06 18:23:20 +02:00 |
|
|
292ca64cb9
|
fix: wrong behavior in Number.toString (which somehow broke typescript)
|
2024-01-06 17:50:06 +02:00 |
|
|
0251c4689d
|
fix: use Values to access members in ObjectLib, instead of direct access
|
2024-01-06 17:49:27 +02:00 |
|
|
3173919b49
|
fix: implement proper parseInt logic
|
2024-01-06 17:48:35 +02:00 |
|
|
45f133c6b0
|
fix: use Values.call instead of direct calling
|
2024-01-06 17:48:10 +02:00 |
|
|
34276d720c
|
fix: remove sparse call arguments
|
2024-01-06 17:47:38 +02:00 |
|
|
2c634778c3
|
fix: report proper function name in String.length errors
|
2024-01-06 17:47:07 +02:00 |
|
|
4aa757e625
|
fix: Function.bind now passess this argument, instead of the function itself
|
2024-01-06 17:46:39 +02:00 |
|
|
918f2623cd
|
fix: small issue with sparse arrays
|
2024-01-06 17:46:13 +02:00 |
|
|
a321fc14bc
|
fix: wrong signature of Map.forEach
|
2024-01-06 17:45:56 +02:00 |
|
|
07a6f18b16
|
refactor: some spring cleaning in array lib, fix small issue with join
|
2024-01-06 17:45:52 +02:00 |
|
|
5f4011aa0c
|
refactor: move NO_RETURN to Values, remove some casters from Values
|
2024-01-06 17:45:44 +02:00 |
|
|
71f735b812
|
fix: some more libs fixes
|
2024-01-04 13:58:04 +02:00 |
|
|
e575b3287e
|
fix: try-catch-finally fix #457846982
|
2024-01-04 13:57:41 +02:00 |
|
|
4fa5f5a815
|
feat: use new wrapper API in libs
|
2024-01-04 10:02:14 +02:00 |
|
|
a61c6a494e
|
fix: some Argument and Engine API improvements,
|
2024-01-04 10:02:01 +02:00 |
|
|
978ee8db79
|
feat: make better native wrapper API
|
2023-12-28 16:55:57 +02:00 |
|
|
e372941e99
|
refactor: generalize Reading class
|
2023-12-27 20:18:41 +02:00 |
|
|
c36a0db860
|
refactor: remove more dead code
|
2023-12-27 20:18:23 +02:00 |
|
|
d6ee59363f
|
refactor: remove unneeded event system
|
2023-12-27 20:10:11 +02:00 |
|
|
d5fd6e650e
|
fix: clean up debugger API
|
2023-12-27 20:02:45 +02:00 |
|
|
c0b895e00a
|
feat: greatly improve Context API
|
2023-12-27 14:22:18 +02:00 |
|
|
9ea5cd9277
|
refactor: remove old Data API
|
2023-12-27 14:21:52 +02:00 |
|
|
aaf9a6fa45
|
fix: pass environment to compiler via simple environment wrapper
|
2023-12-27 13:59:19 +02:00 |
|
|
579f09c837
|
fix: pass arguments to regex constructor in LOAD_REGEX
|
2023-12-27 13:28:17 +02:00 |
|
|
3343262e72
|
fix: main now uses new env API
|
2023-12-27 13:16:21 +02:00 |
|
|
153a1a9a49
|
feat: readd permissions API via new env API
|
2023-12-27 13:16:12 +02:00 |
|
|
bf38587271
|
feat: readd module API via env API
|
2023-12-27 13:15:46 +02:00 |
|
|
21534efd60
|
feat: readd FS API via new env API
|
2023-12-27 13:14:46 +02:00 |
|
|
802f2f3f52
|
fix: access env via context
|
2023-12-27 13:14:09 +02:00 |
|
|
38acc20a6f
|
refactor: greatly improve Environment API
|
2023-12-26 17:12:20 +02:00 |
|
|
d7f6010319
|
fix: make code java 11 compatible
|
2023-12-26 14:22:35 +02:00 |
|
|
2f58f6b245
|
feat: implement basic module system
|
2023-12-26 14:12:41 +02:00 |
|
|
4bc363485f
|
fix: losts of FS API improvements
|
2023-12-26 14:02:32 +02:00 |
|
|
8e01db637b
|
fix: improve path resolutions and FS API
|
2023-12-26 11:27:40 +02:00 |
|
|
1c64912786
|
feat: create memory-light directory list file
|
2023-12-26 11:27:09 +02:00 |
|
|
28265a8f44
|
fix: some bug fixes and improvements with File interface
|
2023-12-26 11:26:08 +02:00 |
|
|
e9e020512e
|
fix: environment pushed when it shouldn't be
|
2023-12-24 15:17:38 +02:00 |
|
|
4b0bbf5190
|
fix: correctly convert virtual to real path
|
2023-12-24 14:40:27 +02:00 |
|
|
031f78ebf1
|
fix: don't include ts's code in repo anymore
|
2023-12-24 14:32:37 +02:00 |
|
|
90da2db1fb
|
fix: error now is not null-prototyped
|
2023-12-24 14:30:48 +02:00 |
|
|
3d275c52c0
|
refactor: fix code to not result in compile warning
|
2023-12-24 14:30:31 +02:00 |
|
|
797585f539
|
feat: implement some stdlib functions
|
2023-12-24 14:28:12 +02:00 |
|
|
7a301eba8f
|
fix: some stupid mistakes in FS
|
2023-12-24 14:27:27 +02:00 |
|
|
1b2068a274
|
fix: never-ending try-catch issues
|
2023-12-24 14:27:00 +02:00 |
|
|
078d7ed95f
|
refactor: improve Engine API
|
2023-12-24 14:26:42 +02:00 |
|
|
93973c12b1
|
fix: change default return type to void for generators
|
2023-12-24 14:10:03 +02:00 |
|
|
cad4f34b51
|
fix: use correct env declarations in bootstrap.js
|
2023-12-24 14:08:20 +02:00 |
|
|
caf9131cde
|
refactor: replace all CRLF with LF
|
2023-12-22 10:45:04 +02:00 |
|
|
380a5c720a
|
feat: make environment hidable from stack trace
|
2023-12-18 22:38:26 +02:00 |
|
|
76c3d377af
|
feat: use mappings in stack traces
|
2023-12-18 22:30:14 +02:00 |
|
|
42f443572a
|
fix: how the hell did i fix this (it was the cache all along)
|
2023-12-18 22:11:08 +02:00 |
|
|
773bc72f3e
|
refactor: rename compileWithDebug to compile
|
2023-12-14 21:07:16 +02:00 |
|
|
0b5178e9fd
|
fix: return minified typescript
|
2023-12-14 21:06:23 +02:00 |
|
|
8cffcff7db
|
refactor: remove unused instructions
|
2023-12-14 17:02:24 +02:00 |
|
|
60bbaaccd4
|
fix: some issues with try-catch
|
2023-12-14 16:49:51 +02:00 |
|
|
60b1762462
|
refactor: remove printf
|
2023-12-14 16:49:35 +02:00 |
|
|
34434965d2
|
cant be fucked to split this one up
|
2023-12-14 12:39:01 +02:00 |
|
|
fe86123f0f
|
refactor: improve function statement
|
2023-11-29 13:04:41 +02:00 |
|
|
d5e6edfa8b
|
refactor: replace .locate with argument
|
2023-11-29 13:03:53 +02:00 |
|
|
73345062ca
|
feat: implement new API with source maps
|
2023-11-28 21:40:37 +02:00 |
|
|
124341969c
|
fix: simplify source map API
|
2023-11-28 21:39:25 +02:00 |
|
|
8defd93855
|
fix: use proper name for native constructors
|
2023-11-28 21:37:46 +02:00 |
|
|
6c57e0e9f2
|
fix: properly handle wrapper function
|
2023-11-28 21:37:13 +02:00 |
|
|
f1932914ee
|
fix: move debugger assets to correct location
|
2023-11-27 20:28:02 +02:00 |
|
|
977701e601
|
feat: implement source maps
|
2023-11-26 16:50:07 +02:00 |
|
|
e8a7ac8da8
|
refactor: reorganize assets
|
2023-11-26 16:49:47 +02:00 |
|
|
6b1cb852c2
|
fix: arrays wrongly stringified in JSONLib
|
2023-11-26 13:51:56 +02:00 |
|
|
b59a003086
|
feat: implement VLQ parsing
|
2023-11-26 13:51:43 +02:00 |
|
|
1902e41f61
|
feat: make typescript output mappings
|
2023-11-26 11:52:47 +02:00 |
|
|
27162ef8ac
|
feat: improve Bufffer API
|
2023-11-26 11:51:32 +02:00 |
|
|
4f22e76d2b
|
fix: make code java 11 compatible
|
2023-11-25 20:22:16 +02:00 |
|
|
ab56908171
|
fix: faulty insufficient permissions error
|
2023-11-25 20:09:59 +02:00 |
|
|
eb14bb080c
|
fix: debugger breakpoints not registered
|
2023-11-25 20:09:47 +02:00 |
|
|
f52f47cdb4
|
feat: properly implement filesystems
|
2023-11-25 19:36:18 +02:00 |
|
|
567eaa8514
|
fix: incorrect declarations
|
2023-11-25 19:13:20 +02:00 |
|
|
2cfdd8e335
|
feat: add utf8 encoding and decoding
|
2023-11-25 19:12:56 +02:00 |
|
|
4b1ec671e2
|
fix: micro tasks not handled properly
|
2023-11-25 18:58:35 +02:00 |
|
|
b127aadcf6
|
fix: promise was sending macro tasks instead of micro
|
2023-11-25 18:58:24 +02:00 |
|
|
b6eaff65ca
|
style: remove unnececeary import
|
2023-11-25 18:48:46 +02:00 |
|
|
443dc0ffa1
|
feat: add await function to promise
|
2023-11-25 18:47:51 +02:00 |
|
|
e107dd3507
|
fix: promise doesn't use microtasks in some cases
|
2023-11-25 18:47:36 +02:00 |
|
|
6af3c70fce
|
feat: add filesystem libs
|
2023-11-25 18:47:01 +02:00 |
|
|
8b743f49d1
|
feat: add toString, equals and hashCode overrides to wrappers and objects
|
2023-11-25 18:46:13 +02:00 |
|
|
e1ce384815
|
feat: add parse function to Filename
|
2023-11-25 18:44:27 +02:00 |
|
|
86d205e521
|
fix: parsing files won't modify last instruction to RET, instead will just append it
|
2023-11-25 18:44:11 +02:00 |
|
|
f0ad936e5b
|
refactor: use new iterable names
|
2023-11-25 18:43:43 +02:00 |
|
|
4a1473c5be
|
fix: sorting with no comparator now works
|
2023-11-25 18:42:54 +02:00 |
|
|
4111dbf5c4
|
fix: functions now print their name when stringified
|
2023-11-25 18:41:47 +02:00 |
|
|
1666682dc2
|
refactor: get rid of data parent hierarchy
|
2023-11-25 18:41:18 +02:00 |
|
|
f2b33d0233
|
feat: add support for async iterators
fix: comparasions had small behavioural issue
|
2023-11-25 18:40:49 +02:00 |
|
|
f5a0b6eaf7
|
fix: some improvements of compiled bytecode
|
2023-11-25 18:38:43 +02:00 |
|
|
829bea755d
|
fix: CodeFrame didnt't handle out of bounds jumps well
|
2023-11-25 18:38:16 +02:00 |
|
|
4b0dcffd13
|
feat: add fs declarations in lib.d.ts
|
2023-11-25 18:37:40 +02:00 |
|
|
987f8b8f00
|
fix: handle native errors properly-ish
|
2023-11-25 14:18:46 +02:00 |
|
|
55e3d46bc2
|
feat: implement memory and root fs
|
2023-11-25 14:18:04 +02:00 |
|
|
3e25068219
|
feat: implement bulk of fs
|
2023-11-25 14:17:37 +02:00 |
|
|
7ecb8bfabb
|
feat: implement permissions
|
2023-11-25 14:16:02 +02:00 |
|
|
488deea164
|
fix: improve performance of typescript by caching separate declarations
|
2023-11-14 09:24:39 +02:00 |
|
|
ed08041335
|
fix: internal error when trying to use key of "undefined"
|
2023-11-14 09:24:00 +02:00 |
|
|
0a4149ba81
|
fix: remove double space in "Uncaught ..."
|
2023-11-14 09:23:15 +02:00 |
|
|
30f5d619c3
|
fix: errors now have the right prototype and name
|
2023-11-14 09:22:56 +02:00 |
|
|
e7dbe91374
|
refactor: clean up protocol.json
|
2023-11-13 20:06:07 +02:00 |
|
|
455f5a613e
|
feat: implement simple permission matching
|
2023-11-13 19:09:33 +02:00 |
|
|
1eeac3ae97
|
fix: replace templates in Metadata class with placeholder data
|
2023-11-13 19:08:56 +02:00 |
|
|
1acd78e119
|
refactor: clean up Main class
|
2023-11-13 18:56:59 +02:00 |
|
|
df9932874d
|
feat: remove unnececeary @NativeInit directives
|
2023-11-06 14:03:15 +02:00 |
|
|
b47d1a7576
|
refactor: remove StackData and Data usage
|
2023-11-06 13:53:36 +02:00 |
|
|
fdfa8d7713
|
refactor: some minor fixes, rewrite README example
|
2023-11-06 10:55:38 +02:00 |
|
|
f5d1287948
|
fix: some annoying bugs, as well as splice
|
2023-11-06 00:55:30 +02:00 |
|
|
e3104c223c
|
fix: remove some unnececeary logs
|
2023-11-05 20:29:21 +02:00 |
|
|
1d0bae3de8
|
feat: include typescript code in source code
|
2023-11-05 20:27:23 +02:00 |
|
|
b66acd3089
|
fix: several more fixes
|
2023-11-05 19:44:44 +02:00 |
|
|
e326847287
|
feat: send value stack to debug client
|
2023-11-05 19:44:35 +02:00 |
|
|
26591d6631
|
fix: lazy operators incorrectly pop values from stack
|
2023-11-05 19:44:08 +02:00 |
|
|
af31b1ab79
|
fix: several small fixes
|
2023-11-05 19:43:53 +02:00 |
|
|
f885d4349f
|
refactor: fix some bad code >:(
|
2023-11-05 19:43:28 +02:00 |
|
|
d57044acb7
|
fix: several bug fixes to help with typescript support
|
2023-11-05 12:44:29 +02:00 |
|
|
7df4e3b03f
|
fix: oops
|
2023-11-04 11:43:57 +02:00 |
|
|
ed1009ab69
|
refactor: some code restructuring in the debugging
|
2023-11-04 11:42:06 +02:00 |
|
|
f856cdf37e
|
fix: messages larger than 64KB are now fragmented properly
|
2023-11-04 11:41:31 +02:00 |
|
|
4f82574b8c
|
fix: various small behavioural issues
fix: pesky try-catch logic
|
2023-11-04 11:40:50 +02:00 |
|
|
ac128d17f4
|
feat: implement Array.reduce
fix: native functions are now named
|
2023-11-04 11:38:29 +02:00 |
|
|
6508f15bb0
|
refactor: remove typescript source code from repo (for now)
|
2023-11-04 11:37:13 +02:00 |
|
|
69f93b4f87
|
refactor: make filenames more consistent
|
2023-11-04 11:36:36 +02:00 |
|
|
b675411925
|
fix: a lot of minor bugs
|
2023-10-29 23:47:48 +02:00 |
|
|
d1e93c2088
|
Merge branch 'master' of https://github.com/TopchetoEU/java-jscript
|
2023-10-29 12:33:18 +02:00 |
|
|
942db54546
|
feat: improve vscode debugging compatibility
|
2023-10-29 12:30:43 +02:00 |
|
|
d20df66982
|
feat: improve vscode debugging compatibility
|
2023-10-29 12:25:33 +02:00 |
|
|
dc9d84a370
|
chore: nothing of use
|
2023-10-28 17:10:27 +03:00 |
|
|
edb71daef4
|
feat: fully implement local and capture scope object wrappers
feat: implement object sending and receiving
|
2023-10-28 16:58:33 +03:00 |
|
|
4b84309df6
|
feat: complete steptrough and breakpoints in debugger
|
2023-10-27 15:12:14 +03:00 |
|
|
d2d9fa9738
|
fix: exit now works
|
2023-10-07 14:08:47 +03:00 |
|
|
a4e5f7f471
|
refactor: clean up useless catch blocks
|
2023-10-07 13:55:44 +03:00 |
|
|
cc044374ba
|
refactor: replace InterruptedException with unchecked alternative
|
2023-10-07 13:42:55 +03:00 |
|
|
517e3e6657
|
refactor: clean up context and stack data
|
2023-10-07 13:07:07 +03:00 |
|
|
926b9c17d8
|
feat: readd JSON to lib
|
2023-10-06 18:42:35 +03:00 |
|
|
fc705e7383
|
feat: readd date internals
|
2023-10-06 12:03:33 +03:00 |
|
|
a17ec737b7
|
refactor: rename polyfills to libs
|
2023-10-06 11:57:29 +03:00 |
|
|
952a4d631d
|
fix: keep order of object fields
|
2023-10-04 22:06:49 +03:00 |
|