Commit Graph

717 Commits

Author SHA1 Message Date
halx99 ce2c25c1e2 Fix DrawNode luabinding color type mismatch by @halx99, reported by @qq461787436 2024-02-22 20:02:01 +08:00
BinTester 8669e8d5e5
Fix lua build for Android, iOS (#1709) 2024-02-20 22:11:09 +08:00
Deal f22cc4be68
Don't use fmt header only (#1707) 2024-02-20 05:37:28 +08:00
Deal 31da0f2917
Improve dll support (#1706)
* Improve dll support

* Tidy header include path

* Fix android build & symbol dup issue

* Fix android compile error

* Fixup
2024-02-20 05:37:12 +08:00
axmol-bot 77c232779b
Committing luabindings for commit 978d15d (#1698)
Co-authored-by: halx99 <6977319+halx99@users.noreply.github.com>
2024-02-18 22:21:31 +08:00
axmol-bot 3fca131d58
Committing luabindings for commit 8c23d32 (#1685)
Co-authored-by: halx99 <6977319+halx99@users.noreply.github.com>
2024-02-15 10:57:51 +08:00
RH 7dd7dc4ada
LUA build fix for Android, iOS and Windows (#1650)
* Update paths to lua bindings

* Update target include directories due to new extension dir structure

* Add missing libraries and paths for prebuilt option

* Current FairyGUI requires paths to parent and source directory

* Add required thirdparty search path to LUA library
2024-02-04 22:09:36 +08:00
axmol-bot 9b4c1a347d
Committing luabindings for commit 9f8962d (#1648)
Co-authored-by: halx99 <6977319+halx99@users.noreply.github.com>
2024-02-03 12:10:33 +08:00
RH 9f8962d47d
Change extension folder structure to reduce file name conflicts (#1647)
* Restructure extension folder structure to reduce conflicts with project source files

* Do not include SDFGen headers for Android builds

* Ensure correct paths are included for the relevant targets

* ImGui is not be enabled for WinUWP, tvOS and iOS

* Fix LUA auto binding generator to work with updated extension folder structure

* Fix path and linker issues for yasio when using prebuilt option
Set correct paths to extensions for prebuilt option
2024-02-03 10:08:22 +08:00
halx99 df165fec4b Prepare release v2.1.1 2024-02-02 00:00:06 +08:00
axmol-bot 09c38b0745
Update luabindings for commit 7838d7f (#1641)
Co-authored-by: axmol-bot <axmol-bot@users.noreply.github.com>
2024-01-31 01:16:39 +08:00
Deal 9774d4751c
Fix memory leaks refreshed (#1638)
* Fix memory leaks when axmol apps exit on non-embed systems

    1. DriverBase no destroyInstance
    2. Every object inherited from ax::Ref shoud destory before ScriptEngineManager, otherwise will trigger it's reinit and leak
    3.  QuadCommand always leak isolated indices
    4. static singleton should'nt inhert from ax::Ref due to destory it before ScriptEngineManager impossible
    5. Make Director don't inherit from ax::Ref due to it also cause ScriptEngineManager re-init, because we destroy ScriptEngineManger in destructor of Director
    6. Explicit Director managed by Application and don't delete self at purgeDirector, since it will release at mainLoop and re-init in glView->pollEvents then leak
    7. Rename ApplicationProtocol to ApplicationBase
    8. Rename purgeDirector since we don't delete director self at it, maye rename to cleanup
    9. Change ShaderCache to new/delete singleton, managed by ProgramManager

---------

Co-authored-by: lich426 <lich426@gmail.com>
2024-01-29 22:30:14 +08:00
BinTester 553f23d207
Fix GUI ScrollView clipping bug and add lua support (#1634)
Apply to at least 2.1.1
2024-01-25 22:17:07 +08:00
BinTester 3cf419a35c
add some utils functions and lua support (#1629)
* UIButton bugfix

* add utils lua support

* add utils lua support
2024-01-24 21:42:39 +08:00
Deal e6fd57e61c
Update README.md 2024-01-18 20:38:36 +08:00
罗捷捷 90133fc262
Remove unused var io.BackendRendererUserData (#1612)
- axmol share GLFW backend platform user data, not use rendererUserData, so remove it avoid assert fail when re-create axmol imgui backend
2024-01-15 13:45:29 +08:00
Lich 0c77e45fb7
Add fixedUpdate method to Scene (#1607) 2024-01-13 01:08:01 +08:00
halx99 2a9ae66fbc Update ImGui to 1.90.1 2024-01-12 00:42:04 +08:00
aismann 781b4ce521
Mark some extensions and 32bit build deprecated (#1604)
* Update controller.cpp

* Update README.md

* Update CHANGELOG.md
2024-01-12 00:10:36 +08:00
aismann 5380291917
Update README.md (#1600) 2024-01-11 19:26:45 +08:00
halx99 a5dc85f389 Committing genbindings changes 2024-01-11 04:49:25 +00:00
halx99 ec226b93bc Committing genbindings changes 2024-01-10 09:17:47 +08:00
halx99 62b53781ec Committing genbindings changes 2024-01-09 23:41:57 +00:00
halx99 36018ecca3 Update imgui 1.89.8 ==> 1.90 2024-01-09 00:14:29 +08:00
halx99 96a1d70739 Committing genbindings changes 2024-01-06 23:49:46 +00:00
罗捷捷 15f38eefde
Add fairygui lua support (#1587) 2024-01-06 23:25:20 +08:00
halx99 5e23949f16 Committing genbindings changes 2024-01-05 16:54:58 +00:00
aismann 00d7b95af0
using AX_EX_DLL (#1578) 2024-01-05 05:35:05 +08:00
aismann 70fa8872de
Add extension 'DrawNodeEx' aka 'DrawNode v2' (#1568) 2024-01-05 02:07:13 +08:00
halx99 e186067daf Add websocket luabindings 2023-12-31 23:00:13 +08:00
aismann c389118571
Fix issue #1546 of UILayout(#1549) and small performance boost (#1559)
* Fix issue #1546 of UILayout(#1549) and small performance boost

* add test

* Committing genbindings changes

---------

Co-authored-by: aismann <aismann@users.noreply.github.com>
2023-12-31 11:33:49 +08:00
halx99 d0d0951cc4 Committing genbindings changes 2023-12-15 23:20:31 +00:00
halx99 263ef08a78 Fix Lua FileUtils getDataFromFile may return path of file 2023-12-15 23:35:20 +08:00
RH a69f20f889
Fix cmake project generation on platforms other than Android (#1503) 2023-12-12 09:40:40 +08:00
Deal 213f788f75
Merge backend Device, DeviceInfo to DriverBase (#1499)
* backend::Device ==> backend::DriverBase
* backend::DeviceInfo ==> backend::DriverBase
* code style: remove unnecessary virtual function marks
2023-12-11 21:59:25 +08:00
halx99 70997061da Improve axmolver defines 2023-12-10 00:08:05 +08:00
aismann f19c8f89ae
Replace 'CCAssert' with 'AXASSERT' (#1485) 2023-12-08 16:30:34 +08:00
halx99 5d4db9d830 Committing genbindings changes 2023-12-08 05:23:29 +00:00
halx99 e77b54b785 Committing genbindings changes 2023-12-08 01:47:32 +00:00
halx99 affcf05b69 Prepare 2.1.0 release
* Update copyright notice
* Remove prebuilt libs from SCM
* Remove optional thirdparty sources/repo from SCM
* Remove tests resources  folder 'Content' from SCM
2023-12-08 01:04:43 +08:00
halx99 057708d7c7 Committing genbindings changes 2023-12-05 09:28:54 +00:00
halx99 4bd4c07b49 Committing genbindings changes 2023-12-04 16:37:10 +00:00
halx99 e0d4c9841d Committing genbindings changes 2023-12-01 01:12:29 +00:00
Paulo Coutinho 0aab228acc Rename glview to correct representative name (#1467) 2023-12-01 09:04:51 +08:00
halx99 4bd0d31f67 Committing genbindings changes 2023-11-30 16:12:58 +00:00
halx99 859c8fc093 Committing genbindings changes 2023-11-05 16:27:00 +00:00
Deal 54ef33d34d Add API: Device::getPixelRatio (#1418) 2023-11-06 00:19:44 +08:00
RH ddcecc3ff4 Live2d Android build fix (#1407)
* Allow optional setting target link scope for extensions when linking with Axmol.

* Fix Live2D linking with Axmol on Android
Add Android Tegra shader processing and usage
2023-10-26 21:30:31 +08:00
RH 1f5f8c182a Update Live2D to work with Axmol 2.x (#1405)
* Ensure Live2D extension is enabled for Live2D test

* Update Live2D to work with Axmol 2.x

* [skip ci] Remove commented out shader code
2023-10-25 19:25:42 +08:00
halx99 ddc9256ebe Committing genbindings changes 2023-10-25 01:54:02 +00:00