Commit Graph

3656 Commits

Author SHA1 Message Date
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
halx99 bef10d0dea Allow generated debug signed apk, and rename keystore props:
- RELEASE_STORE_FILE ==> KEY_STORE_FILE
- KEY_STORE_PASSWORD ==> KEY_STORE_PASSWORD
- RELEASE_KEY_ALIAS ==> KEY_ALIAS
- RELEASE_KEY_PASSWORD ==> KEY_PASSWORD
2024-01-17 03:50:13 +08:00
halx99 32ef79a9f5 Avoid define multi depends of gradle task copyContentToAssets
refer: dd7c9deaf9
2024-01-17 03:45:13 +08:00
halx99 d3e680bc52 Update Android devtools
- AGP 8.2.1
- Android Studio 2023.1.1+
- Android SDK Tools 34.0.0
- Android SDK Platform 34
- Gradle 8.5
2024-01-17 02:59:40 +08:00
halx99 2031c63399 Update ChangeLog and Authors 2024-01-17 00:44:03 +08:00
halx99 0e650a149b Improve cmake scripts 2024-01-16 01:20:41 +08:00
halx99 dd7c9deaf9 Improve android build gradle script
- Merge tasks copyDebugContentToAssets, copyReleaseContentToAssets to copyContentAssets
- Simplify tasks dependent definations
- Fix tests content not pack into apk
2024-01-16 00:47:19 +08:00
smilediver 729cc80351
Allow to override AX_USE_COMPAT_GL from user's CMakeLists.txt (#1610) 2024-01-15 23:45:37 +08:00
halx99 4600c961cd Update astcenc to 4.7.0 2024-01-15 23:44: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
aismann 991e63ab8b
Set DrawNodeEx default to 'OFF" (#1613)
* Set DrawNodeEx default to 'OFF"

* Update controller.cpp

* Update CMakeOptions.md
2024-01-14 15:56:08 +08:00
Deal ad935e62c8
Update CHANGELOG.md 2024-01-13 21:04:48 +08:00
Lich b57e8b5f5a
Fix incorrect implementation (#1611) 2024-01-13 10:45:36 +08:00
Lich 0c77e45fb7
Add fixedUpdate method to Scene (#1607) 2024-01-13 01:08:01 +08:00
smilediver 5bcaa9ce51
Fix AXASSERT() not working with more complex msg arguments (#1609) 2024-01-12 21:17:40 +08:00
aismann 4a4b2673f5
Update CHANGELOG.md (#1605)
* Update CHANGELOG.md

* Update CHANGELOG.md
2024-01-12 08:04:29 +08:00