Commit Graph

3971 Commits

Author SHA1 Message Date
RH 9899a97e0d
Fix crash during scene transition due to invalid camera (#1676)
* Remove final specifier on Node::visit() to allow Scene to override it
Scene can now be visited correctly with valid cameras being set for child nodes when rendering outside of normal render loop.

* Add required copyright notice
2024-02-13 13:14:59 +08:00
Grif_on 3ee8e0b334
Update CONTRIBUTING.md (#1673)
Replace wrong link from my previous commit
Sorry
2024-02-13 09:30:21 +08:00
Grif_on dad167bb2e
Update CONTRIBUTING.md (#1670)
Add missing C++ and Python code style links

Python code style link is taken from this old commit 32ba12cc94
2024-02-12 23:53:03 +08:00
Dani Alias bf906c3599
Spelling and formatting corrections for .md files (#1671)
* DevSetup.md spelling and style

* Updated CODING_STYLE.md for Axmol

* Update DevSetup.md

* Corrections for DevSetup.md

* Corrections in README.md
2024-02-12 23:51:56 +08:00
Dani Alias 5317dd8984
Update README.md (#1668) 2024-02-12 09:35:59 +08:00
RH 0f3c7d3ce7
Disable unused extensions in the FairyGUI and Live2D tests to speed up builds (#1665)
* Disable unused extensions in the FairyGUI and Live2D tests to speed up builds.

* Only disable extensions

* Move option settings to correct location
2024-02-11 22:28:42 +08:00
RH d8df9fbc26
Fix cross fade transition (#1664)
* Cross fade transition cannot use shared render target

* [skip ci] Add copyright line
2024-02-10 22:27:34 +08:00
RH 7f3bf21ee3
Remove duplicate CODE_SIGN_IDENTITY that is setting invalid value (#1666) 2024-02-10 20:15:27 +08:00
halx99 5eba65474f Update yasio to v4.2.0 2024-02-07 19:49:51 +08:00
RH a1a444384e
Ability to disable default implementations of HTTP and WebSocket clients (#1656)
* Allow HttpClient and Websocket implementations to be excluded from build

* Allow LLHTTP to be excluded from build

* Add descriptions of new options

* Rename options based on current convention of AX_ENABLE_XXX
2024-02-06 22:19:03 +08:00
RH b4877b40b6
Add missing return statement (#1657) 2024-02-06 19:08:12 +08:00
j-jorge 5f747b9761
Add AX_USE_ALSOFT_STATIC CMake option to compile and link OpenAL-soft as a static library. (#1654) 2024-02-06 07:42:11 +08:00
j-jorge 583dcdc111
Use different global names and #undef the #defines to stay unity build friendly. (#1653) 2024-02-06 07:39:54 +08:00
halx99 fb0ff3f02c Fix c-ares link issue 2024-02-06 00:32:19 +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
Deal 14761bf906
Bump 2.1.2 [skip ci][skip appveyor] 2024-02-03 10:10:02 +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
Deal ba760bbd4e
Update README.md 2024-02-03 00:02:13 +08:00
halx99 e278e45ab8 Fix ci 2024-02-02 00:42:42 +08:00
halx99 5afc17c83a Fix android ci 2024-02-02 00:15:06 +08:00
halx99 df165fec4b Prepare release v2.1.1 2024-02-02 00:00:06 +08:00
halx99 622dc880d2 Add mirror support for some devtools 2024-02-01 22:38:30 +08:00
halx99 b6cd3e533d Update yasio to latest 2024-02-01 22:36:25 +08:00
halx99 41e68fe5e5 Update 3rdparties
- libpng 1.6.42
- simdjson: 3.6.4
2024-02-01 00:28:10 +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
halx99 7838d7f861 Fix genbindings ci can't commit modified files 2024-01-30 21:27:32 +08:00
halx99 fb9977328d Fix #1635, can't generate lua bindings for set/get Node localZOrder
---------------------------

reporeted by @bintester
2024-01-29 22:33:23 +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
halx99 c06bed508b Rename cocos_android_app_init to axmol_android_app_init and othre code cleanup 2024-01-29 08:51:35 +08:00
halx99 74189ffa24 Slient no shader discovered [skip ci][skip appveyor] 2024-01-25 22:20:04 +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
RH 6543931e3f
Ensure scissor state is set to the correct value prior to a buffer clear (#1632) 2024-01-25 13:26:35 +08:00
Deal da99006fb7
Update CHANGELOG.md 2024-01-24 22:20:29 +08:00
halx99 31207e8bdf Bump version to 2.1.1 2024-01-24 22:12:24 +08:00
Deal 7b48175f84
Fix #1628 2024-01-24 22:07:47 +08:00
Deal 01d4ad60c7
Fix #1630 2024-01-24 22:00:01 +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
smilediver f90aaec0a9
Fix shaders not copying to final build on macOS for non Xcode builds (#1631) 2024-01-24 21:40:15 +08:00
halx99 9ef440cb7f Update docs [skip ci][skip appveyor] 2024-01-23 21:24:07 +08:00
halx99 83bc0b1de9 Fixup
- Don't build draft pull-request
- Delete update-prebuilts ci, since prebuilts managed by manifest.json
- genbindings now will create a pull-request automatically
- Fix build-site download unexpected artifacts from appveyor
- Fix build win32 with clang error
2024-01-22 21:46:55 +08:00
Deal 9ec7c54c57
release 2.1.0 finally (#1621) [release 2.1.0]
* Delete deprecated prop `buildconfig` from gradle.properties

* Delete unnecessary props since it's value same with defaults

* Don't need config debug keystore, will auto signed by default debug.keystore

* Update funding [skip ci]

* Fix axmol cmdline tool command 'new'

* Refix c99 for winsdk < 10.0.22000.0

* Fix powershell 3 condition statement: 'xxx = if(c) { v1 } else { v2 }' will lost switch parameter semantic

* Improve code style

* Improve code style

* Fixup
2024-01-20 16:16:53 +08:00
halx99 8ee68b58c9 Bump 2.1.0 2024-01-19 20:39:08 +08:00
arman hossiny 4c3c9bd2ae
Enable default aidl file to project especially for In-app purchases (#1620) 2024-01-19 19:08:13 +08:00
halx99 fc6fff75bc Prepare release v2.1.0 2024-01-19 00:12:19 +08:00
halx99 3b4bf5c69b Improve console scripts
- setup.ps1: auto set windows `powershell.exe` execution policy to `Bypass`
- Improve axmol console command
- Improve ninja setup
2024-01-19 00:05:18 +08:00
halx99 fe4ef94b4e Unify cmake minimal requirement 2024-01-18 21:12:45 +08:00
Deal e6fd57e61c
Update README.md 2024-01-18 20:38:36 +08:00
halx99 066eb4b501 Improve ios.cmake 2024-01-18 00:02:50 +08:00
tree 1f0a9526c9
After call setTime,the decoder seek to the wrong frame, need multiplied by channel count (#1618) 2024-01-17 15:24:46 +08:00