Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove C# and Java targets #11551

Merged
merged 66 commits into from
Feb 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
66 commits
Select commit Hold shift + click to select a range
456fb4a
remove generators and gencommon
Simn Apr 9, 2023
c1eaf1f
remove C# target
Simn Apr 9, 2023
35516d8
remove ilib
Simn Apr 9, 2023
dbf0009
remove C# std
Simn Apr 9, 2023
95b14cc
remove C# from tests
Simn Apr 9, 2023
a0732e0
disable Java tests too
Simn Apr 9, 2023
1223d12
remove from docgen
Simn Apr 9, 2023
402e38e
remove Java target
Simn Apr 9, 2023
7f29270
remove javalib
Simn Apr 9, 2023
a58126b
purge ilib and javalib
Simn Apr 9, 2023
52ab48e
disable Java-specific test
Simn Apr 9, 2023
f1acd1a
Merge branch 'development' into out_of_curiosity_(don't_freak_out)
Simn Oct 25, 2023
c1eee86
Merge branch 'development' into out_of_curiosity_(don't_freak_out)
Simn Nov 7, 2023
a176c66
Merge branch 'development' into out_of_curiosity_(don't_freak_out)
Simn Nov 14, 2023
fb83a1d
fix merge mixhaps
Simn Nov 14, 2023
95f56cf
Merge branch 'development' into out_of_curiosity_(don't_freak_out)
Simn Nov 18, 2023
d8c68f9
remove C# tests again
Simn Nov 18, 2023
0fbae13
Merge branch 'development' into out_of_curiosity
Simn Dec 1, 2023
2a6e013
Merge branch 'development' into out_of_curiosity
Simn Jan 2, 2024
2beacee
fix some tests
Simn Jan 4, 2024
b6fdffd
Merge branch 'development' into out_of_curiosity
Simn Jan 8, 2024
9a9c573
annoying
Simn Jan 8, 2024
72644b0
also annoying
Simn Jan 8, 2024
3af317a
one more
Simn Jan 8, 2024
63907c3
Merge branch 'development' into out_of_curiosity
Simn Jan 31, 2024
64b6020
still install format
Simn Jan 31, 2024
d6f9d63
fix
Simn Jan 31, 2024
94560b5
more fix
Simn Jan 31, 2024
63495cb
bring back gitkeep and delete more stuff
Simn Jan 31, 2024
a1c9f0b
Remove unused std files
kLabz Jan 31, 2024
2254f94
Update docgen
kLabz Jan 31, 2024
cfbcdde
That can't be used anymore
kLabz Jan 31, 2024
eddc0ec
Keep hxjava
kLabz Jan 31, 2024
71b92b6
Leftovers
kLabz Jan 31, 2024
c67ae7d
[ci] update workflow sources
kLabz Jan 31, 2024
b8a4421
[tests] update special handling
kLabz Jan 31, 2024
0c48fb0
[docgen] whoops
kLabz Jan 31, 2024
211dffb
More special handling removal
kLabz Jan 31, 2024
cdae8ca
Might be very old, but still seems to apply to jvm too..
kLabz Jan 31, 2024
9ecdaf0
Merge remote-tracking branch 'origin/development' into out_of_curiosity
kLabz Jan 31, 2024
a79af0f
They are everywhere...
kLabz Jan 31, 2024
5b86bcb
What the hell was that?
kLabz Jan 31, 2024
945a106
Remove more...
kLabz Jan 31, 2024
5ba81e5
Remove even more...
kLabz Jan 31, 2024
f048baf
Fix platform
kLabz Jan 31, 2024
8cca214
Warnings
kLabz Feb 1, 2024
495b4a4
Merge branch 'development' into java_vs_jvm
kLabz Feb 1, 2024
6451982
[ci] break jvm
kLabz Feb 1, 2024
46d0b1b
[tests] Sockets don't seem to be implemented for jvm
kLabz Feb 1, 2024
11223f1
[tests] Fix Simon's favorite test again
kLabz Feb 1, 2024
b02a0a4
Remove java.internal.StringExt
kLabz Feb 1, 2024
a794a31
Remove more java internals
kLabz Feb 1, 2024
14fc815
That's not a target anymore
kLabz Feb 1, 2024
87f5a37
Forget about cs
kLabz Feb 1, 2024
74936fc
Warnings
kLabz Feb 1, 2024
255e5a5
Merge branch 'development' into java_vs_jvm
kLabz Feb 1, 2024
e3dff18
[typer] don't type trailing optional bind arguments so weirdly
Simn Feb 1, 2024
3c793ba
[tests] jvm is not ready for this one yet
kLabz Feb 1, 2024
f499494
Merge remote-tracking branch 'origin/development' into java_vs_jvm
kLabz Feb 1, 2024
aaba4a2
Use -jvm
kLabz Feb 1, 2024
427f452
More --jvm/-jvm arg stuff
kLabz Feb 1, 2024
bb3c47a
Fix -jvm...
kLabz Feb 1, 2024
ed0b189
Output jar files
kLabz Feb 1, 2024
a107fa6
jvm is now a reserved define
kLabz Feb 1, 2024
f439aeb
Merge branch 'development' into out_of_curiosity
Simn Feb 4, 2024
b5875ba
Merge branch 'development' into out_of_curiosity
Simn Feb 5, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
10 changes: 5 additions & 5 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -371,7 +371,7 @@ jobs:
fail-fast: false
matrix:
ocaml: ["4.08.1", "5.0.0"]
target: [macro, js, hl, cpp, 'java,jvm', cs, php, python, lua, flash, neko]
target: [macro, js, hl, cpp, jvm, php, python, lua, flash, neko]
include:
- target: hl
APT_PACKAGES: cmake ninja-build libturbojpeg-dev
Expand Down Expand Up @@ -519,7 +519,7 @@ jobs:
haxe dox.hxml
mkdir resources
cp ../../src-json/* resources
cpp/Dox -i ../../xmldoc -ex microsoft -ex javax -ex cs.internal -theme $(haxelib libpath dox)/themes/default
cpp/Dox -i ../../xmldoc -ex microsoft -ex javax -theme $(haxelib libpath dox)/themes/default
working-directory: ${{github.workspace}}/tests/docgen

linux-arm64:
Expand Down Expand Up @@ -690,7 +690,7 @@ jobs:
fail-fast: false
matrix:
# TODO enable lua after https://github.com/HaxeFoundation/haxe/issues/10919
target: [macro, js, hl, cpp, 'java,jvm', cs, php, python, flash, neko]
target: [macro, js, hl, cpp, jvm, php, python, flash, neko]
steps:
- uses: actions/checkout@main
with:
Expand Down Expand Up @@ -787,7 +787,7 @@ jobs:
matrix:
# TODO jvm: https://github.com/HaxeFoundation/haxe/issues/8601
# TODO enable lua after https://github.com/HaxeFoundation/haxe/issues/10919
target: [macro, js, hl, cpp, java, cs, php, python, flash, neko]
target: [macro, js, hl, cpp, php, python, flash, neko]
steps:
- uses: actions/checkout@main
with:
Expand Down Expand Up @@ -881,7 +881,7 @@ jobs:
strategy:
fail-fast: false
matrix:
target: [macro, js, hl, cpp, 'java,jvm', cs, php, python, flash, neko]
target: [macro, js, hl, cpp, jvm, php, python, flash, neko]
include:
- target: hl
BREW_PACKAGES: ninja
Expand Down
3 changes: 1 addition & 2 deletions .vscode/schemas/meta.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,7 @@
"flash",
"php",
"cpp",
"cs",
"java",
"jvm",
"python",
"hl",
"eval"
Expand Down
13 changes: 0 additions & 13 deletions Earthfile
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,6 @@ xmldoc:
RUN haxelib newrepo
RUN haxelib git hxcpp https://github.com/HaxeFoundation/hxcpp
RUN haxelib git hxjava https://github.com/HaxeFoundation/hxjava
RUN haxelib git hxcs https://github.com/HaxeFoundation/hxcs
RUN haxe doc.hxml

ARG COMMIT
Expand Down Expand Up @@ -271,11 +270,6 @@ test-environment-php:
DO +INSTALL_PACKAGES --PACKAGES="php-cli php-mbstring php-sqlite3"
SAVE IMAGE --cache-hint

test-environment-cs:
FROM +test-environment
DO +INSTALL_PACKAGES --PACKAGES="mono-devel mono-mcs"
SAVE IMAGE --cache-hint

test-environment-hl:
FROM +test-environment
DO +INSTALL_PACKAGES --PACKAGES="cmake ninja-build libturbojpeg-dev libpng-dev zlib1g-dev libvorbis-dev libsqlite3-dev"
Expand Down Expand Up @@ -361,12 +355,6 @@ test-jvm:
ENV GITHUB_ACTIONS=$GITHUB_ACTIONS
DO +RUN_CI --TEST=jvm

test-cs:
FROM +test-environment-cs
ARG GITHUB_ACTIONS
ENV GITHUB_ACTIONS=$GITHUB_ACTIONS
DO +RUN_CI --TEST=cs

test-php:
FROM +test-environment-php
ARG GITHUB_ACTIONS
Expand Down Expand Up @@ -400,7 +388,6 @@ test-all:
BUILD +test-python
BUILD +test-java
BUILD +test-jvm
BUILD +test-cs
BUILD +test-cpp
BUILD +test-lua
BUILD +test-js
Expand Down
1 change: 0 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,6 @@ xmldoc:
$(CURDIR)/$(HAXELIB_OUTPUT) newrepo && \
$(CURDIR)/$(HAXELIB_OUTPUT) git hxcpp https://github.com/HaxeFoundation/hxcpp && \
$(CURDIR)/$(HAXELIB_OUTPUT) git hxjava https://github.com/HaxeFoundation/hxjava && \
$(CURDIR)/$(HAXELIB_OUTPUT) git hxcs https://github.com/HaxeFoundation/hxcs && \
PATH="$(CURDIR):$(PATH)" $(CURDIR)/$(HAXE_OUTPUT) doc.hxml

$(INSTALLER_TMP_DIR):
Expand Down
2 changes: 0 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,6 @@ Haxe allows you to compile for the following targets:

* JavaScript
* C++
* C#
* Java
* JVM
* Lua
* PHP 7
Expand Down
9 changes: 2 additions & 7 deletions extra/ImportAll.hx
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ class ImportAll {

static function isSysTarget() {
return Context.defined("neko") || Context.defined("php") || Context.defined("cpp") ||
Context.defined("java") || Context.defined("python") ||
Context.defined("jvm") || Context.defined("python") ||
Context.defined("lua") || Context.defined("hl") || Context.defined("eval");
}

Expand All @@ -51,12 +51,8 @@ class ImportAll {
if(!isSysTarget()) return;
case "sys.thread":
if ( !Context.defined("target.threaded") ) return;
case "java":
if( !Context.defined("java") ) return;
case "jvm":
case "java" | "jvm":
if( !Context.defined("jvm") ) return;
case "cs":
if( !Context.defined("cs") ) return;
case "python":
if ( !Context.defined("python") ) return;
case "hl":
Expand Down Expand Up @@ -96,7 +92,6 @@ class ImportAll {
case "haxe.remoting.SocketWrapper": if( !Context.defined("flash") ) continue;
case "haxe.remoting.SyncSocketConnection": if( !(Context.defined("neko") || Context.defined("php") || Context.defined("cpp")) ) continue;
case "neko.vm.Ui" | "sys.db.Sqlite" | "sys.db.Mysql" if ( Context.defined("interp") ): continue;
case "sys.db.Sqlite" | "sys.db.Mysql" | "cs.db.AdoNet" if ( Context.defined("cs") ): continue;
case "haxe.atomic.AtomicBool" if(!Context.defined("target.atomics")): continue;
case "haxe.atomic.AtomicInt" if(!Context.defined("target.atomics")): continue;
case "haxe.atomic.AtomicObject" if(!Context.defined("target.atomics") || Context.defined("js") || Context.defined("cpp")): continue;
Expand Down
9 changes: 0 additions & 9 deletions extra/all.hxml
Original file line number Diff line number Diff line change
Expand Up @@ -28,19 +28,10 @@
-xml cpp.xml
-D HXCPP_MULTI_THREADED

--next
-java all_java
-xml java.xml

--next
--jvm all_jvm
-xml jvm.xml

--next
-cs all_cs
-D unsafe
-xml cs.xml

--next
-python all_python
-xml python.xml
Expand Down
9 changes: 2 additions & 7 deletions extra/doc.hxml
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,8 @@
-D HXCPP_MULTI_THREADED

--next
-java all_java
-xml doc/java.xml

--next
-cs all_cs
-D unsafe
-xml doc/cs.xml
--jvm all_jvm
-xml doc/jvm.xml

--next
-python all_py
Expand Down
10 changes: 5 additions & 5 deletions extra/github-actions/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ jobs:
fail-fast: false
matrix:
ocaml: ["4.08.1", "5.0.0"]
target: [macro, js, hl, cpp, 'java,jvm', cs, php, python, lua, flash, neko]
target: [macro, js, hl, cpp, jvm, php, python, lua, flash, neko]
include:
- target: hl
APT_PACKAGES: cmake ninja-build libturbojpeg-dev
Expand Down Expand Up @@ -269,7 +269,7 @@ jobs:
haxe dox.hxml
mkdir resources
cp ../../src-json/* resources
cpp/Dox -i ../../xmldoc -ex microsoft -ex javax -ex cs.internal -theme $(haxelib libpath dox)/themes/default
cpp/Dox -i ../../xmldoc -ex microsoft -ex javax -theme $(haxelib libpath dox)/themes/default
working-directory: ${{github.workspace}}/tests/docgen

linux-arm64:
Expand Down Expand Up @@ -362,7 +362,7 @@ jobs:
fail-fast: false
matrix:
# TODO enable lua after https://github.com/HaxeFoundation/haxe/issues/10919
target: [macro, js, hl, cpp, 'java,jvm', cs, php, python, flash, neko]
target: [macro, js, hl, cpp, jvm, php, python, flash, neko]
steps:
- uses: actions/checkout@main
with:
Expand All @@ -389,7 +389,7 @@ jobs:
matrix:
# TODO jvm: https://github.com/HaxeFoundation/haxe/issues/8601
# TODO enable lua after https://github.com/HaxeFoundation/haxe/issues/10919
target: [macro, js, hl, cpp, java, cs, php, python, flash, neko]
target: [macro, js, hl, cpp, php, python, flash, neko]
steps:
- uses: actions/checkout@main
with:
Expand All @@ -413,7 +413,7 @@ jobs:
strategy:
fail-fast: false
matrix:
target: [macro, js, hl, cpp, 'java,jvm', cs, php, python, flash, neko]
target: [macro, js, hl, cpp, jvm, php, python, flash, neko]
include:
- target: hl
BREW_PACKAGES: ninja
Expand Down
2 changes: 1 addition & 1 deletion extra/release-checklist.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

- Check that haxelib is working
- Make sure to update the haxelib submodule
- Check that the run-time haxelibs are ready for release: hxcpp, hxjava, hxcs
- Check that the run-time haxelibs are ready for release: hxcpp, hxjava
- Check that the NEKO_VERSION variable in the "Makefile" is set to the latest Neko version

# Making the release
Expand Down
26 changes: 0 additions & 26 deletions libs/ilib/Makefile

This file was deleted.

38 changes: 0 additions & 38 deletions libs/ilib/dump.ml

This file was deleted.

15 changes: 0 additions & 15 deletions libs/ilib/dune

This file was deleted.

Loading
Loading