Commit Graph

415 Commits

Author SHA1 Message Date
halx99 263ef08a78 Fix Lua FileUtils getDataFromFile may return path of file 2023-12-15 23:35:20 +08:00
Deal 159f49d832 Fix #1498 (#1500) 2023-12-12 00:44:59 +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
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 2ab2bba3e4 Fix usage text (#1477) [skip ci][skip appveyor] 2023-12-05 20:55:00 +08:00
Paulo Coutinho 97b0c318b6 new portrait splash, cmake bundle id replace, support for ipad, better info.plist, plist orientation fix (#1456) 2023-11-28 10:24:33 +08:00
Deal 7a89b54cd2 Fix axmol console uwp deploy [skip ci][skip appveyor] 2023-11-07 22:59:22 +08:00
Deal 54ef33d34d Add API: Device::getPixelRatio (#1418) 2023-11-06 00:19:44 +08:00
halx99 e383179ed9 Improve axmol console
- Force cast corss config & build paramer to array to avoid combine
with builtin parameters incorrect
- Use evaluated build target to run and deploy
2023-10-27 23:37:44 +08:00
Deal 8841c801ec Improve build-site.ps1 2023-10-11 01:33:15 +08:00
halx99 cd57b24a86 Improve console 'axmol new' command 2023-09-26 14:28:10 +08:00
halx99 83e6991979 Update tolua ndk ver [skip ci][skip appveyor] 2023-09-26 14:16:01 +08:00
Deal 59afe8fe8f Fix genbindings.ps1 2023-09-26 12:52:00 +08:00
halx99 526f382c11 Fix ci 2023-09-26 12:47:28 +08:00
halx99 085a1e7b53 Fix genbindings.ps1 2023-09-26 11:09:50 +08:00
halx99 9c838aa114 Fix genbindings.ps1 2023-09-26 11:01:33 +08:00
halx99 64b912e7ab Improve genbindings.ps1 2023-09-26 10:32:53 +08:00
halx99 c484b89492 Fix genbindings ci 2023-09-26 09:50:25 +08:00
halx99 80c098053a Improve build scripts 2023-09-23 11:33:12 +08:00
halx99 72ef01987c Improve console command: axmol run [skip ci][skip appveyor] 2023-09-18 19:04:24 +08:00
halx99 b16880ef2d Improve setup script 2023-09-13 03:37:49 +08:00
halx99 23ea89c8e6 Fix #1323 2023-09-12 19:28:17 +08:00
halx99 64e20d775b WASM: Don't build HelloLua due to appveyor limits 2023-09-11 23:27:52 +08:00
Deal e55134afb7 Update build-site.ps1 [skip appveyor] 2023-09-11 21:05:30 +08:00
halx99 d2a8fa00cd Improve isolated site dist[skip appveyor] 2023-09-11 20:43:27 +08:00
halx99 5bf03c47ac Build more tests for wasm 2023-09-11 20:31:57 +08:00
halx99 aa12c467f4 Redirect wasm preview site 2023-09-11 20:01:56 +08:00
halx99 be1d49b86d Fix 'axmol new' not support absolute path 2023-09-11 19:41:49 +08:00
halx99 dcc79a8ade Don't export GLViewImpl::loadGLES2 to lua 2023-09-11 11:07:01 +08:00
halx99 f8dcacceb3 Fix genbindings ci 2023-09-11 00:30:52 +08:00
halx99 0ee62cb395 Update console prompt [skip ci][skip appveyor] 2023-09-08 22:05:16 +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 c2bec92bc0 Improve console/axmol.ps1 [skip ci] [skip appveyor] 2023-09-06 12:23:33 +08:00
halx99 68c51d64ba Disable wasm pthread for gh pages
gh-pages doesn't support thread
2023-09-06 00:47:43 +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 cbb23108cb Merge: e1f3c5d76f c21736c0d6
Merge branch 'dev' of https://github.com/axmolengine/axmol into dev
2023-09-03 11:47:36 +08:00
halx99 7abad49137 Appveyor CI: build wasm release mode 2023-09-03 11:47:33 +08:00
halx99 d5cb9d4d1e Fix gendocs ci 2023-09-03 09:59:38 +08:00
halx99 c9b3ba5c3e Fix gendocs ci 2023-09-03 07:54:49 +08:00
halx99 692be44c27 Fix gendocs ci 2023-09-03 06:41:36 +08:00
Deal 6a707c77e1 Update gendocs.ps1 2023-09-03 04:40:05 +08:00
halx99 b21fcb0272 Fix gendocs.ps1 2023-09-02 19:56:33 +08:00
halx99 888a1e7d78 Merge: c469e8ac6e 5b2645501f
Merge branch '1.x' into dev
2023-09-02 19:51:42 +08:00
halx99 8f8418c15d Merge: c8bfa8cdf1 062b510c38
Merge 1.x WASM support into 'dev'
2023-09-02 19:47:18 +08:00
Deal 815880b2ea Update ax_audioengine.ini 2023-09-01 19:02:19 +08:00
nowasm 03f007fdbe Add webgl aka wasm build support (#1315) 2023-09-01 16:31:14 +08:00
halx99 396313de47 consle-next: Looking both powershell 7.x and 5.x 2023-09-01 16:28:34 +08:00
halx99 ada7deb002 Sync docs [skip ci] 2023-09-01 14:48:42 +08:00
halx99 17a7c13a4e Update docs 2023-09-01 14:28:11 +08:00
halx99 394ce3d401 Auto deploy wasm demo to gh pages 2023-09-01 14:15:25 +08:00
Deal d9e106e68c Update gendocs.ps1 2023-09-01 14:02:58 +08:00
halx99 e5d984a4f8 Auto deploy wasm demo to gh pages 2023-09-01 13:36:23 +08:00
halx99 e565645443 Auto get release list for doc build 2023-09-01 10:31:34 +08:00
halx99 12bb1eb62a Improve axmol site build 2023-08-31 21:20:01 +08:00
halx99 c8331a7656 Improve axmol console 2023-08-30 18:46:36 +08:00
Deal 1f2f54f2ac Axmol console next (#1313) 2023-08-30 08:34:33 +08:00
halx99 854fb8fb5c Update prebuilt url 2023-08-26 11:46:25 +08:00
halx99 94442321e7 Remove old tools which is unused or not work anymore [skip ci] 2023-08-26 01:52:10 +08:00
halx99 5183995a36 Merge: f9b6553e57 94be720d3f
Merge branch '1.x' into dev
2023-08-25 16:57:54 +08:00
halx99 2bf41d7d31 Fix ci 2023-08-25 16:57:38 +08:00
halx99 33afe5470a Merge: 55cd8253f6 b161985934
Merge branch '1.x' into dev
2023-08-25 16:52:26 +08:00
halx99 46f668b01b Remove render backend setLineWidth [skip ci]
Due to not all of GL and Metal support it, so remove it unify behavior
developers shouldn't relay on it
2023-08-25 16:49:08 +08:00
halx99 f525d6c726 Update docs 2023-08-25 16:46:32 +08:00
halx99 bfe167121e Add cmake option AX_GLES_PROFILE
Valid value of AX_GLES_PROFILE: 0, 200, 300

By default, the AX_GLES_PROFILE is:

- android: 200, allow axmol apps runs on: API 17 Android 4.2+ devices
- winuwp: 300
- Win32/linux/osx/ios/tvos: 0

For ios/tvos, will forcing AX_GLES_PROFILE to 300 if AX_GLES_PROFILE not 0
2023-08-14 20:40:05 +08:00
Deal 9dc9e9adc7 Update android.yml 2023-08-13 23:58:18 +08:00
halx99 bd0e1fef4b Fix compile error 2023-08-13 22:09:02 +08:00
Deal 572bb2f700 Test use glad on android 2023-08-13 00:24:35 +08:00
halx99 bdca88e46d Update ci script 2023-08-11 21:45:43 +08:00
halx99 93b278f373 Prepare for updating prebuilts [skip ci] 2023-08-11 21:08:37 +08:00
halx99 4c88a5e07f update-prebuilts.ps1 2023-08-11 20:13:50 +08:00
halx99 3b7e08d89c Update script 2023-08-11 20:04:55 +08:00
halx99 e330b7001b Sync update-prebuilts.ps1 2023-08-11 18:32:04 +08:00
halx99 65ebdafbbe Update thirdparty libs
- llhttp: 8.1.1 --> 9.0.0
- xxhash: 0.8.1 --> 0.8.2
- yaml-cpp: 0.7.0 --> 0.8.0
2023-08-11 18:20:20 +08:00
halx99 cc9cbcbff9 Merge: eba7fc17ba 6bbdc273f8
Merge branch 'main' into dev
2023-08-10 18:53:35 +08:00
halx99 46ed10dac3 Update yasio to v4.1.0 2023-08-10 18:36:45 +08:00
halx99 1ec408812f Fix cmake setup 2023-08-09 14:37:43 +08:00
Deal 969baf94d4 Update CHANGELOG [skip ci] 2023-08-09 13:52:28 +08:00
halx99 30306ad316 Delete glsl-optimizer due to new shader workflow only require offline tool glslcc 2023-08-01 12:12:10 +08:00
Deal(涓€绾跨伒) 82a40314c9 Remove migrate source inseted by axmol-migrate:
https://github.com/axmolengine/axmol-migrate
2023-07-07 20:51:04 +08:00
halx99 acc47b3281 Bump 1.1.0 2023-07-06 20:37:59 +08:00
halx99 94b5705bd3 Improve cmake script
- glslcc helper function
- Rename ax_add_shader to ax_target_compile_shaders
- Provide argument FILES for specify single or multi shader
source files support, i.e.
ax_target_compile_shaders(target_name FILES 1.frag 1.vert)
- Rename all _AX_ROOT_PATH to _AX_ROOT
2023-07-06 19:21:36 +08:00
halx99 0aef470146 Migrate setup.py to setup.ps1 2023-07-06 12:18:33 +08:00
halx99 1ba0d44449 Update yasio to 4.0.0 2023-07-05 20:22:11 +08:00
halx99 781b7895a3 Fix build options parsing 2023-07-04 09:23:07 +08:00
halx99 8a0f5c9984 Add build1k:assembleDebug support for android 2023-07-04 09:20:56 +08:00
halx99 5eebb206df Improve ci scripts 2023-07-03 20:01:56 +08:00
Deal(涓€绾跨伒) 6b08dc4430 Update build1k.ps1 2023-07-02 21:23:56 +08:00
halx99 3c5dd9541c Remove test code 2023-07-02 10:51:07 +08:00
halx99 ec77242c6c Fix version match 2023-07-02 10:48:59 +08:00
halx99 bb19133d58 Add clang setup 2023-07-02 10:23:12 +08:00
halx99 53700168d6 Add missing -winsdk option 2023-07-02 10:04:00 +08:00
halx99 b30744d2e0 Fix nuget setup & improve source migrate 2023-07-02 01:01:46 +08:00
Deal(涓€绾跨伒) 9ec338e663 Improve build1k.ps1 (#1251) 2023-07-02 00:53:41 +08:00
Deal(涓€绾跨伒) 2ff94f287e Improve ci files (#1247)
* Improve ci files

* Fixup

* Fix ci

* Update DevSetup.md

* Remove duplicated code

* Fix setup_jdk

* Fix typo

* Check jdk setup

* Update build1k.ps1

* Update build.ps1

* Update build1k.ps1
2023-07-01 08:52:14 +08:00
halx99 6dc5e3a3e3 Fix typo 2023-06-30 17:26:24 +08:00
halx99 ab6ae71691 Fix ci 2023-06-30 17:20:00 +08:00
halx99 ac3123bdb6 Improve ci pwsh script
- Rename tools/ci/build.ps1 to tools/ci/build1k.ps1
- build1k.ps1 now also setup jdk for build android
- Rename `-cm` to `-xc`
- Rename `-cb` to `-xb`
- Add option `-prefix` to specific install location for missing tools,
default localtion is $HOME/build1k/
2023-06-30 17:06:33 +08:00
Deal(涓€绾跨伒) 8a981d7242 Almost pwsh for ci (#1244) 2023-06-29 19:46:52 +08:00