Commit Graph

304 Commits

Author SHA1 Message Date
Deal 931ca91c71
Logging colorful support ()
* Add logging colorful support

* Enable full log fmt style in cpp-tests
2024-03-08 01:15:26 +08:00
Deal 3ba9737204
Make cpp template more simple 2024-02-29 23:19:52 +08:00
halx99 c3052d7e24 Improve axmol console command `new`
Copy .clang-foramt, .editorconfig to new projects
2024-02-22 20:06:19 +08:00
Deal c222d2e442
Improve project templates ()
* Improve project templates

* Update template cfg [skip ci][skip appveyor]

* Update template cfg [skip ci][skip appveyor]

* Leaving base permission for android[skip ci][skip appveyor]

* Improve code [skip ci][skip appveyor]
2024-02-22 00:41:07 +08:00
Deal adbffdf4a2
Fix , control android cmake options by engine axutils.gradle () 2024-02-20 00:58:47 +08:00
RH b4877b40b6
Add missing return statement () 2024-02-06 19:08:12 +08:00
RH 7dd7dc4ada
LUA build fix for Android, iOS and Windows ()
* 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
halx99 c06bed508b Rename cocos_android_app_init to axmol_android_app_init and othre code cleanup 2024-01-29 08:51:35 +08:00
Deal 7b48175f84
Fix 2024-01-24 22:07:47 +08:00
Deal 9ec7c54c57
release 2.1.0 finally () [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
arman hossiny 4c3c9bd2ae
Enable default aidl file to project especially for In-app purchases () 2024-01-19 19:08:13 +08:00
halx99 fe4ef94b4e Unify cmake minimal requirement 2024-01-18 21:12:45 +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 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
Lich 0a117050e3
Include hpp and c files in CMakeLists.txt () 2024-01-06 09:26:50 +08:00
Lich 4d1dff9f63
Include hpp and c files in CMakeLists.txt () 2024-01-05 19:29:29 +08:00
RH dad845abe9
Remove comments for non-existent parameters ()
Add override specifier on destructor.
2023-12-29 19:19:41 +08:00
Deal 159f49d832 Fix () 2023-12-12 00:44:59 +08:00
aismann 62e6542f28
Improve the default templates (at least the cpp template) () 2023-12-11 12:30:29 +08:00
Paulo Coutinho 7f309b7570
fix plist data and version () 2023-12-10 15:45:53 +08: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
Paulo Coutinho 0aab228acc Rename glview to correct representative name () 2023-12-01 09:04:51 +08:00
CHP 13ec866867 Update android API to 34 ()
* Update gradle.properties

* Update android api to from 33 to 34
2023-12-01 08:08:37 +08:00
Paulo Coutinho 516e4fd10c new tvos splash and splash organization, removed unused code, fix tvos plist () 2023-11-28 18:45:54 +08:00
Paulo Coutinho 2c5d22c193 update android build.gradle () 2023-11-28 11:15:44 +08:00
Paulo Coutinho 97b0c318b6 new portrait splash, cmake bundle id replace, support for ipad, better info.plist, plist orientation fix () 2023-11-28 10:24:33 +08:00
halx99 ec507ec874 Update mac icons 2023-11-27 20:18:10 +08:00
halx99 8d1f801b54 Fix typo [skip ci][skip appveyor]
refer 
2023-11-26 23:56:38 +08:00
RH a503004418 [Android] Restrict temporary and generated files to build folder ()
* [Android] Restrict temporary and generated files to build folder

* Fix temporary axslc folder path
2023-10-02 09:47:11 +08:00
halx99 678ed7ce51 Don't disable multi-touch in templates [skip ci][skip appveyor] 2023-09-27 20:12:07 +08:00
RH ef635f0649 Fix for missing scripts and resources in lua tests project ()
* [MacOS] Several linker flags removed to fix executable

* Fix both Apple and Windows missing resources and scripts folders.

* Fix for lua project with prebuilt engine

* Remove usage of _AX_TOP_LEVEL for lua-tests project
2023-09-26 20:07:13 +08:00
Deal b892461a2b UWP: Migrating from C++/CX to C++/WinRT () 2023-09-26 00:11:33 +08:00
Deal 4f4f07ddc4 Add enable global TTF SDF rendering support () 2023-09-18 07:18:57 +08:00
halx99 f2470b99aa Android: Update AGP to 8.1.1
- jdk-17.x+ required
- gradle-bin 8.3
- Build-Tools 33.0.1
-  Delete package name from AndroidManifest.xml
- Add namespace "org.axmol.xxx" in 'app/build.gradle'
- Rename compileSdkVersion ==> compileSdk in 'app/build.gradle'
- Use rootProject.layout.buildDirectory instead rootProject.buildDir
- Android Studio 2022.3.1+
2023-09-12 01:13:06 +08:00
halx99 766d79a73f Revert cmake module folder to `cmake/Modules` 2023-09-09 00:36:49 +08:00
halx99 946edb3a70 No need to copy build.ps1 to new project
Because the console next commands is more easy to use, for example:

axmol build -p win32
axmol build -p ios
2023-09-07 22:39:15 +08:00
halx99 45cb0d82dc Add cmake option 'AX_WASM_SHELL_FILE'
Specify the wasm shell file, by default use
`${_AX_ROOT}/core/platform/wasm/shell_minimal.html`
2023-09-07 21:09:36 +08:00
halx99 d7a72ea587 WASM: Fix .html file not generated 2023-09-05 22:40:25 +08:00
halx99 5a528b46e5 WASM: use shorten target platform name 'wasm' instead 'emscripten'
For examples:
- win32 app build by msvc/clang and runs on windows
- wasm app build by emscripten/emcc and runs on web browsers
2023-09-05 22:17:18 +08:00
halx99 0a56810af5 Improve wasm support
- Enable thread support
- Improve emcc flags
- Enable webp support
- axmol run now support wasm by emrun
- Rebuild openssl by pthread support
- Extension: effekseer support
2023-09-05 21:10:25 +08:00
halx99 80f1e0952f Update wasm persist path 2023-09-03 18:25:39 +08:00
halx99 c67cd64ffc Use axmol embeded freetype for wasm 2023-09-03 13:12:59 +08:00
halx99 c66ac9dedc Merge: 41714a04fd 2631c8405b
Merge branch '1.x' into dev
2023-09-02 19:56:50 +08:00
halx99 b21fcb0272 Fix gendocs.ps1 2023-09-02 19:56:33 +08:00
halx99 8f8418c15d Merge: c8bfa8cdf1 062b510c38
Merge 1.x WASM support into 'dev'
2023-09-02 19:47:18 +08:00
nowasm 03f007fdbe Add webgl aka wasm build support () 2023-09-01 16:31:14 +08:00
halx99 4c0c328b80 Merge: 6d82d3a76c 5e3cba78a6
Merge branch '1.x' into dev
2023-09-01 16:29:02 +08:00
halx99 396313de47 consle-next: Looking both powershell 7.x and 5.x 2023-09-01 16:28:34 +08:00