Commit Graph

3934 Commits

Author SHA1 Message Date
halx99 9e0a592e2b Update simdjson to 3.9.4 2024-06-16 23:55:21 +08:00
halx99 e02741d0c8
Use new logging system for audio (#1995) 2024-06-16 23:51:03 +08:00
halx99 74f27fa62c Don't output log when custom ILogOutput was set (#1992)
* Don't output log when custom ILogOutput was set

* Fix ci
2024-06-16 23:09:29 +08:00
halx99 e74c40ec95 Fix #1990, update yasio to v4.2.3 2024-06-16 23:09:29 +08:00
halx99 8939723108 1k: parse generater from cmake options 2024-06-14 09:00:20 +08:00
Purple 6cb7618ed0
Linux WebView implementation (#1985)
* linux webview start

* Linux UIWebView phase1

* update setup for linux uiwebview

* add depends for arch

* removed unnecessary XReparent call

* Fixed some XWayland issues

* finalizing linux webview implementation

* enabled webview tests on linux

* updated copyright link

* removed some unnecessary comments

* some formatting

* some more formatting

* fixed a test typo

* removed some unnecessary codes

* removed some unnecessary comments
2024-06-13 22:49:59 +08:00
smilediver 3bcc1cf7e8
Renderer recreated fixes (#1988)
* Fix Texture2D losing file path when renderer is recreated

* Fix textures with generated mipmaps not reloading correctly when renderer is recreated
2024-06-13 13:14:33 +08:00
halx99 210ad64668 Update emsdk to 3.1.61 and add cmake option AX_WASM_INITIAL_MEMORY 2024-06-12 23:13:49 +08:00
halx99 fe89c34b2b Improve code style 2024-06-12 00:43:02 +08:00
halx99 6304c88e14 Fix char8_t not disable on msvc 2024-06-10 23:16:49 +08:00
halx99 82744abd8b
Bump 2.1.4 2024-06-10 10:29:08 +08:00
halx99 ad051f353f
Update TLD to axmol.dev in sources (#1977) 2024-06-10 02:25:43 +08:00
halx99 8fef58d59c Update gradlew to 8.8 2024-06-10 00:57:51 +08:00
halx99 fc710d6119 Update llvm setup
- remove llvm setup from gh action yml config, since 1kiss will setup it
- update 1kiss.ps1 llvm min requirement to 17.0.6 for msvc14.40 support
- Remove llvm version config from 1k/manifest.ps1 since 1kiss.ps1 already set properly for msvc14.40 support
2024-06-10 00:42:21 +08:00
CHP e56d14c1d2
AGP_8_4_0 (#1976) 2024-06-10 00:37:17 +08:00
RH 4e055d8e3d
Update spine README.md (#1975) 2024-06-09 19:05:28 +08:00
RH 4abc7f4a94
Only pause GLSurfaceView if activity is moved to the background, and not if it just loses focus (#1942)
* Only pause GLSurfaceView if activity is being stopped, and not if it just loses focus

* Add copyright notice

* Ensure foreground and background events are not sent out on initial app start
Remove work-around in nativeOnResume to avoid calling applicationWillEnterForeground twice since it is no longer required
Remove redundant setRenderMode calls in AxmolGLSurfaceView

* Add copyright notices
2024-06-09 10:18:34 +08:00
AlexandreK38 aacfa570a0
Count run action finish to call final finish when two run actions are… (#1946)
* Count run action finish to call final finish when two run actions are performed

* change logic to use wait count
2024-06-08 23:14:16 +08:00
halx99 7551af0675 Fix 1k/fetch.ps1 [skip ci] 2024-06-08 23:06:16 +08:00
halx99 45f4c0832c Remove duplicate cmake options 2024-06-08 21:37:52 +08:00
halx99 cf74ca5231 axmol-cmdline: Remove duplicate cmake options 2024-06-08 01:50:52 +08:00
halx99 292125f9ee Improve JobSystem 2024-06-08 01:09:17 +08:00
halx99 92143c0b67 Fix lua bindings 2024-06-08 01:06:46 +08:00
halx99 99b405e68c Update tolua config 2024-06-07 20:18:43 +08:00
halx99 8eeed46cfc
Add JobSystem support (#1968) 2024-06-07 00:33:01 +08:00
AlexandreK38 79aabfd6af
Sprite and TextureCache from ax::Data (#1967) [skip ci]
* Add Sprite and TextureCache way to use image from Data

* add Sprite cpp tests

* Apply suggestions from code review

---------

Co-authored-by: halx99 <halx99@live.com>
2024-06-07 00:30:55 +08:00
halx99 ec8cdf2861 Update simdjson to 3.9.3 2024-06-06 00:00:01 +08:00
ask me anything :) 385a79ca6c
Update DevSetup.md (#1965) 2024-06-05 20:25:34 +08:00
axmol-bot 5f4c08d46b
Committing luabindings for commit 66ca90c (#1959) 2024-06-04 00:08:04 +08:00
Purple 22ecef1c77
just addressing some compiler warnings on windows (#1954)
* fixed UIWebViewImpl-win32 warning C4244 while changing LPWSTR to string

* use direct `socket_native_type`

* directly use HMENU instead of int

* not sure why it wasn't auto converted but msvc spitted warnings

* we're moving it, it doesn't need to be constant, using ntcvt::from_chars

* ignore it to reduce one more warning

* add some missing `noexcept`

* reverted some const removal didn't realize it was used for rvalues
2024-06-03 23:16:54 +08:00
RH 66ca90cf41
Apply child stencils correctly to the clipping node (#1957)
* Child stencils are now applied correctly to the clipping node
Fix incorrect reference count for original program states stored in collection

* Add test for unique child stencils

* Fix comment
2024-06-03 23:15:57 +08:00
aismann f2938663e0
Replace DrawNode with DrawNodeEx (Step 1: no longer optional, changed OFF to ${AX_EXT_HINT}) (#1955) 2024-06-03 13:09:39 +08:00
aismann 2bf755c049
Replace DrawNode with DrawNodeEx (no longer optional) see #1949 (#1950) 2024-06-02 19:42:19 +08:00
halx99 ccedac1ab6 Improve 1k/fetch.cmake 2024-06-02 00:39:48 +08:00
halx99 b1f2990f4d Update 1k 2024-06-02 00:27:51 +08:00
AlexandreK38 1639861dc5
Fix Callback and store Renderer Image type (#1945) 2024-05-31 13:01:42 +08:00
axmol-bot 43d755f1ed
Committing luabindings for commit eee37e5 (#1941) 2024-05-30 20:55:05 +08:00
RH eee37e5760
Add support for necessary events to be sent regardless of event dispatcher enabled state (#1940)
* Add support for necessary events to be sent regardless of event dispatcher enabled state

* Revert accidental change
2024-05-30 13:34:25 +08:00
Purple eb0e6ef50d
Added glyph ranges manager for ImGuiPresenter, added ability to use glyph ranges for Inspector's font (#1936)
* Added glyph manager for ImGuiPresenter

* renamed glyph ranges constants

* for static code conduct

* for code of conduct 2

* removed some duplication and better format

* removed extra space
2024-05-29 23:56:03 +08:00
RH ccf31892a0
Update documentation for axmol build commands when targetting the iOS simulator (#1938) 2024-05-29 22:25:42 +08:00
RH b54775d11f
[Android] Calculate safe area inset values for devices with rounded corners (#1934)
* [Android] Add support for factoring in device rounded corner inset values for Android API 31 or higher

* Check for null pointer return values from Java.
2024-05-28 20:06:15 +08:00
Purple d826793cd0
Add ability to change Inspector's font size (#1932) 2024-05-27 08:55:35 +08:00
halx99 905fce52d0
Release 2.1.3 (#1925)
* Update CHANGELOG.md

* Update publish.ps1

* Enable lua bit module for all lua versions supported by axmol

* Fixup

* Enable build lua-tests on gh ci

* Update ChangeLog

* Update CHANGELOG.md

* updUpdate 1kdist to v86
2024-05-26 12:53:08 +08:00
RH 741472398f
Do image processing to reverse premultiplied alpha in separate thread (#1929)
* Add missing parameter names

* Move processing intensive operation to a separate thread

* FileUtils instance may not be thread safe
2024-05-26 09:26:06 +08:00
Paulo Coutinho 49ba0ddd67
Fix descriptor typo (#1928) 2024-05-25 14:39:18 +08:00
Paulo Coutinho e49a28fba7
Fix sol problem in emplace method (#1927) 2024-05-25 13:29:46 +08:00
smilediver 7ca10e7f0c
Fix passing non null terminated strings for null terminated params (#1924)
* Fix passing non null terminated strings for null terminated params

* Change stringWithUTF8String with initWithBytes
2024-05-25 08:07:31 +08:00
halx99 6b25f513e1 Update ChangeLog 2024-05-24 04:25:02 +08:00
halx99 3abf136a62 Fix emsdk 3.1.60 compile errors 2024-05-24 04:17:04 +08:00
halx99 76ce90c0b8 Update readme badges 2024-05-24 01:38:28 +08:00