Commit Graph

852 Commits

Author SHA1 Message Date
Joshua Granick
2ccee960dc Rename Emscripten target to WebAssembly 2023-05-30 08:53:09 -07:00
Joshua Granick
b410a90121 Print http-server message, allow auto port finding starting at 3000 2023-05-30 08:52:38 -07:00
Joshua Granick
be19381999 Emscripten fixes 2023-05-30 08:46:52 -07:00
Joshua Granick
22abd30209 Improve error log on webassembly 2023-05-23 20:11:28 -07:00
Joshua Granick
6dee2204b0 Set webassembly, wasm, emscripten in Lime project XML parse 2023-05-23 19:51:37 -07:00
Joshua Granick
3dbc73f9ab Rename Emscripten target to WebAssembly 2023-05-23 14:19:32 -07:00
Joshua Granick
a90915cb3f Print http-server message, allow auto port finding starting at 3000 2023-05-20 11:05:47 -07:00
Joshua Granick
eec6e5e0fa Emscripten fixes 2023-05-19 23:10:16 -07:00
Josh Tynjala
4458cefeb2 HTML5Helper: need to chmod +x node when running terser on non-Windows platforms 2023-05-18 14:59:04 -07:00
Josh Tynjala
5424e8562e HTML5Helper: don't display deprecation warnings from Node.js
They are not relevant to our users
2023-05-16 12:55:18 -07:00
Josh Tynjala
571c2bd181 HTML5Helper, similar to -terser, adding -npx for Closure Compiler also uses the npx version instead of the bundled version 2023-05-16 12:50:53 -07:00
Josh Tynjala
763b982bd1 HTML5Helper: use bundled terser, but also add optional -npx flag to use npx version 2023-05-16 12:45:29 -07:00
Josh Tynjala
2dbe108d4e HTML5Helper: option to use terser as JS minifier for html5 target 2023-05-16 10:14:57 -07:00
Josh Tynjala
51c90393fe ProjectXMLParser: avoid exception for directories that don't exist (references #1689)
Calls FileSystem.exists() before FileSystem.isDirectory()
2023-05-16 08:56:43 -07:00
EliteMasterEric
7d4a5bc2e6 Correct enums to ensure values are not changed when removing trackball event. 2023-05-11 20:40:37 -04:00
EliteMasterEric
a7b83cb688 Removed Joystick trackball support. 2023-05-11 20:22:27 -04:00
Joseph Cloutier
d43eab44af Fix rest of WebGL2RenderContext indentation.
This all could have been one big change, but the diff view would be very hard to read. Breaking it up like this allows Git to highlight the whitespace changes for you. Otherwise, it would show that 1245 lines were removed and replaced by 1245 new lines, not recognizing that any of those lines match.
2023-05-07 15:39:50 -04:00
Joseph Cloutier
542007680d Fix WebGL2RenderContext indentation up to line 4816. 2023-05-07 15:36:20 -04:00
Joseph Cloutier
9c63387e5f Fix WebGL2RenderContext indentation up to line 4661. 2023-05-07 15:35:39 -04:00
Joseph Cloutier
5f7d3170ac Fix WebGL2RenderContext indentation up to line 4533. 2023-05-07 15:34:52 -04:00
Joseph Cloutier
087660f7a7 Fix WebGL2RenderContext indentation up to line 4189. 2023-05-07 15:33:56 -04:00
Joseph Cloutier
3aec2c6a49 Fix WebGL2RenderContext indentation up to line 3847.
Perhaps going a few lines at a time will help Git manage.
2023-05-07 15:32:36 -04:00
Joseph Cloutier
ec20e46dca WebGl2RenderContext: fix some indentation.
If we fix all the indentation at once, it will permanently mess up the diff. Git will see
that the new line 4544 matches the old line 3773, and conclude that it got moved
800 lines down.
2023-05-07 15:24:04 -04:00
Joseph Cloutier
2857016a52 Begin to fix WebGL2RenderContext formatting.
Not removing any tabs yet, to help Git generate diffs.
2023-05-07 15:09:19 -04:00
Josh Tynjala
d299add52d FileDialog: should use #if (!macro && lime_cffi) around calls to NativeCFFI methods, similar to Application 2023-05-03 12:29:38 -07:00
Josh Tynjala
f808e45132 Fix more :enum abstract warnings in Haxe 4.3 2023-05-02 08:28:46 -07:00
Josh Tynjala
f6e3c5475b Fix :enum abstract warnings with Haxe 4.3 2023-05-02 08:08:47 -07:00
Josh Tynjala
787a78d505 Fix :extern warnings with Haxe 4.3 2023-05-02 07:53:20 -07:00
Josh Tynjala
21b502ab17 Window: when calling setMinSize() or setMaxSize(), ensure that width and height are updated in the backend by calling resize() instead of setting __width and __height 2023-04-27 07:58:38 -07:00
Josh Tynjala
e6c03494df Window: set default min/max width/height values 2023-04-27 07:56:38 -07:00
Josh Tynjala
ab0cdc057d Merge branch '8.1.0-Dev' into 8.2.0-Dev 2023-04-24 14:01:04 -07:00
Josh Tynjala
ed3d7efe19 Merge branch 'develop' into 8.1.0-Dev 2023-04-24 09:52:11 -07:00
player-03
9f9604e0c8 Restore untyped keyword.
I meant to move this to right before `__js__` because it's only needed in Haxe 3, but forgot. Also, I realized Lime always puts it before the `#if`, so I just put it back where it was.
2023-04-17 14:23:29 -04:00
player-03
0535ae0266 Always call new window.Image(), for consistency. 2023-04-17 14:21:44 -04:00
player-03
e14d3e24d6 Always call new window.Image(), for consistency.
There's no practical downside to doing this, and it makes Lime compatible with tools that act like genes but aren't named "genes."
2023-04-17 14:19:15 -04:00
andresa88
fb5d64dc79 Fixed an HTML Image issue when using the genes library to compile ES modules. Need to explicitly use: new window.Image() 2023-04-17 10:06:24 -07:00
player-03
1951c30d05 Merge pull request #1653 from player-03/lime.ndll-error-message
Improve "Could not find NekoAPI interface" message.
2023-04-16 17:31:34 -04:00
player-03
3bb936c37d Merge pull request #1657 from player-03/html5-now
Use `performance.now()` for HTML5 timing.
2023-04-16 17:28:02 -04:00
player-03
766db267b1 Merge pull request #1626 from dpomier/patch-1
Allow Assets.registerLibrary() for default library
2023-04-16 14:45:32 -04:00
player-03
539e84dc7c Merge pull request #1648 from jobf/feature/open-al-efx-hl-invalid-param
Fix OpenAL binding AL.filteri for hashlink
2023-04-16 14:43:17 -04:00
player-03
16f96fadf7 Merge pull request #1494 from player-03/include.hxp
Add support for include.hxp.
2023-04-16 14:02:27 -04:00
player-03
9ebe6f3b60 Merge pull request #1593 from Sirox228/patch-2
remove arguments limit in jni
2023-04-16 13:58:59 -04:00
player-03
a44098946d Merge pull request #1654 from player-03/lime.ndll-forward-slashes
Use forward slashes to load lime.ndll.
2023-04-16 13:40:43 -04:00
player-03
b560468088 Merge pull request #1656 from player-03/password-input-android
Use "password" text input only on Android.
2023-04-16 13:29:57 -04:00
Joseph Cloutier
f1dec33ef0 Use performance.now() for HTML5 timing.
This way, changing the computer clock can't mess up animations. (Unless
we're using the fallback, in which case everything will act as before.)
2023-04-16 13:21:51 -04:00
player-03
9be759826a Exclude more code from macros. 2023-04-15 20:36:54 -04:00
player-03
c00589c189 Use original haxe.Timer in macros.
During macros, `System.getTimer()` falls through to `Sys.time()`, which is the same thing the original `haxe.Timer` uses. Therefore this change produces the same behavior but reduces the number of classes imported, which may help prevent errors.
2023-04-15 20:29:33 -04:00
player-03
88b6a7e14b Remove @:generic from Promise at macro time.
This prevents an inconsistent "Field has no new expression" bug.
2023-04-15 14:57:19 -04:00
Josh Tynjala
f8ec10b969 AIRHelper: allow listen=port in <config:air/> to use USB debugging instead of wifi debugging for Adobe AIR apps on Android or iOS 2023-04-13 15:42:05 -07:00
tobil4sk
7f5dcb4e9f Respect -mingw flag for cross compiling to windows 2023-04-12 23:17:07 +01:00