Commit Graph

411 Commits

Author SHA1 Message Date
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
axmol-bot beb873ea2a
Committing luabindings for commit 49bd2bc (#1900) 2024-05-16 21:49:22 +08:00
halx99 1d8233d3ad Add AXLOGD,AXLOGI,... functions for lua 2024-05-06 09:10:26 +08:00
axmol-bot ded98f57dd
Committing luabindings for commit 33c328e (#1879)
Co-authored-by: halx99 <6977319+halx99@users.noreply.github.com>
2024-05-05 00:56:36 +08:00
halx99 33c328e910 Update luabinding: ax::Ref ==> ax::Object 2024-05-05 00:34:51 +08:00
Deal 004065a054
Rename ax::Ref ==> ax::Object (#1877)
* Rename ax::Ref ==> ax::Object

* Update Object.h [skip ci]
2024-05-03 22:15:08 +08:00
axmol-bot 96101ffe97
Committing luabindings for commit 16cb4b5 (#1846) 2024-04-23 22:54:44 +08:00
Deal 74612ef296
Remove deprecated pixel formats L8, A8, LA8 (#1839)
* Remove deprecated pixel formats

* Fix ci

* Fixup [skip ci]

* Fixup [skip ci]

* Update tests [skip ci]
2024-04-20 22:29:16 +08:00
smilediver 74c6a4a417
Fix same uniforms in fragment and vertex shaders not working in Metal (#1808)
* Fix same uniforms in fragment and vertex shaders not working in Metal

* Add missing copyright

* Fix lua bindings for UniformLocation conversion

* Fix uniform mismatch in positionNormalTexture.vert and colorNormalTexture.frag

* Enable ProgramState::setFragmentUniform() only for Metal
2024-04-12 23:12:51 +08:00
halx99 a0f2c4e489 Add cmake option: `AX_EXT_HINT` to set default extensions state 2024-04-11 22:23:02 +08:00
halx99 9872818890 Fix typo: BLEND_CLOLOR ==> BLEND_COLOR 2024-04-10 21:47:00 +08:00
halx99 2ccdb3dbcd Fix typo: RESERVE_SUBTRACT ==> REVERSE_SUBTRACT 2024-04-10 21:45:48 +08:00
halx99 60c4f6c340 Fix win32 link error
attention linux: the libaxmol.a must first link library, otherwise will cause
link error.
2024-04-08 21:52:50 +08:00
halx99 1fdacfd45a Fix android lua build 2024-04-08 02:15:33 +08:00
halx99 56fb742c32 Fix linux lua link error 2024-04-08 02:10:31 +08:00
axmol-bot 544bd14d96
Committing luabindings for commit bf7635f (#1789)
Co-authored-by: halx99 <6977319+halx99@users.noreply.github.com>
2024-04-05 16:06:34 +08:00
halx99 ddf4e8e38a Fix lua_downloader memory leak 2024-03-30 23:46:33 +08:00
RH 690e16df30
Use single macro to control each feature (#1776)
* Use single macro to control each feature

* Allow Physics module to be enabled or disabled via cmake option
2024-03-30 08:56:32 +08:00
axmol-bot 1de0e166b1
Committing luabindings for commit 07f47c1 (#1773)
* Committing luabindings for commit 07f47c1

* Check lua-tests on linux ci

---------

Co-authored-by: halx99 <6977319+halx99@users.noreply.github.com>
2024-03-28 21:07:51 +08:00
halx99 d1ec623bb5 Rename folder thirdparty ==> 3rdparty 2024-03-19 21:33:02 +08:00
axmol-bot c5e0e9f90c
Committing luabindings for commit 45d302c (#1748)
Co-authored-by: halx99 <6977319+halx99@users.noreply.github.com>
2024-03-15 22:55:08 +08:00
axmol-bot 18ebac4909
Committing luabindings for commit 00ae3ce (#1742) 2024-03-15 09:31:33 +08:00
Deal bc0258df5e
Fix lua compile error [skip ci] 2024-03-12 13:29:30 +08:00
axmol-bot 12f0298273
Committing luabindings for commit 2a40fcf (#1736)
Co-authored-by: halx99 <6977319+halx99@users.noreply.github.com>
2024-03-08 20:47:28 +08:00
Deal 5d2c42e73f
Implement new axmol log system based on fmtlib (#1732)
* Implement new log macros based on fmtlib

* Fix ci

* Fix ci

* Fix android ci

* Fix warnings

* Replace more ax::log by AXLOGX

* Fix ci

* Fix linux build

* Use stack memory for log prefix

* Fix linux build

* Fix warning

* Add ILogOutput support

* Replace old log calls with new log macros

* Fixup

* Fixup

* Fixup

* Update ci msvc to 14.39

* Update Console.h [skip ci]

* Pass log level to ILogOutput
2024-03-07 08:47:00 +08:00
smilediver d3a0357e84
HttpClient: add support for PATCH method (#1722)
* HttpClient: add support for PATCH method
2024-02-29 11:43:41 +08:00
axmol-bot 1f2ca9eced
Committing luabindings for commit 59b5065 (#1719)
Co-authored-by: halx99 <6977319+halx99@users.noreply.github.com>
2024-02-27 01:34:37 +08:00
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 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
Lich 0c77e45fb7
Add fixedUpdate method to Scene (#1607) 2024-01-13 01:08:01 +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 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
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