marregui
313b20a3b3
Add first test ( #23 )
...
* Add the first test and upgrade build.gradle to modern standards
1. gradle wrapper
2. ./gradlew run
3. manifest will look like
Manifest-Version: 1.0
Main-Class: me.topchetoeu.jscript.runtime.SimpleRepl
Build-Timestamp: 2024-09-04T10:44:35.990+0200
Build-Branch: ma/add-first-tests
Build-Revision: 412edc0ebc
Build-Jdk: 21.0.3 (Oracle Corporation 21.0.3+7-LTS-152)
Build-Author: TopchetoEU
4. build/distributions contains a zip and a jar which contain jscript-0.9.41-beta.jar
5. unnecessary libs have been removed
6. gradle has been updated to 8.10
7. first test has been added
* fix: revert removal of Jabel (for support of Java 11)
---------
Co-authored-by: TopchetoEU <36534413+TopchetoEU@users.noreply.github.com>
2024-09-04 15:29:17 +03:00
49b52d90a7
fix: wrappers cache compare objects with .equals and not ==
2024-04-21 11:03:00 +03:00
8a8de518a6
feat: make Function constructor
2024-04-20 23:44:02 +03:00
099201e4ad
refactor: remove testing junk in REPL
2024-04-20 22:23:45 +03:00
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
90d019f92a
bump
2024-04-07 12:33:48 +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
67b2413d7c
bump2
2024-03-30 10:36:55 +02:00
3a05416510
bump
2024-03-30 10:30:26 +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
79e1d1cfaf
Merge branch 'master' of https://github.com/TopchetoEU/java-jscript
2024-03-27 23:08:25 +02:00
e0f3274a95
feat: add simple for-of loop (not intended for production usage)
2024-03-27 23:08:21 +02:00
ef5d29105f
Update README.md
2024-03-10 02:17:18 +02:00
d8ea6557df
fix: buildline expects tag to start with 'v'
2024-03-09 00:45:00 +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
fbf103439a
bump
2024-03-08 16:55:46 +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
662dcc1ac1
bump
2024-03-05 16:30:13 +02:00
3e6214659b
fix: use new global API
2024-03-05 15:54:51 +02:00