Commit Graph

60 Commits

Author SHA1 Message Date
RH 57c3e6c1c2
Ensure that git ignores build folders created in test projects (#2247) 2024-11-26 13:32:20 +08:00
smilediver 9ac6db4384
Add unit tests (#1862)
* Add unit-tests app for running automatic unit tests

* Move unit tests from cpp-tests to unit-tests

* TEMP

* Add FileUtils::fullPathForDirectory() tests

* Use test assets from `axmol-sample-assets` repo

* Add more FileUtils::isFileExist(), FileUtils::isDirectoryExist() tests

* Add `unit-tests` builds to GitHub's workflows

* Fix `.github/worflows/build.yml`
2024-04-30 20:52:28 +08:00
halx99 5ff87acdfe Add fallback ttf render support 2024-04-08 01:55:41 +08:00
halx99 43b1b7380c Fix ci 2024-03-19 23:52:14 +08:00
halx99 22a1faa593 Improve build system 2023-12-22 02:39:38 +08:00
Deal 8902d48a5b
Prepare release v2.1.0 (#1527)
* Prepare release v2.1.0

- Support download prebuilt and optional package from mirror: gitee.com
- Move download cache dir: thirdparty/_deps ==> cache
- Add change log

* Update CHANGELOG.md
2023-12-20 02:34:45 +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 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
halx99 1436dbadee Update reademe files 2023-09-02 20:06:18 +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 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 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 1b4c9bbec8 Auto compile app/Sources/shaders to axslc/custom 2023-07-19 23:41:16 +08:00
halx99 7bd3b57809 Improve code style 2023-07-19 21:12:25 +08:00
halx99 04c5505fa2 Fix glDisable state guard 2023-07-19 18:35:05 +08:00
Deal eae07123dc Refer to #1278 2023-07-19 09:10:46 +08:00
halx99 1c669912b5 More easy for dev 2023-07-17 20:51:28 +08:00
Deal 071d9aa8ea Remove gitter [skip ci]
It's only bakup IM room, discord is preferred
2023-07-17 12:39:19 +08:00
halx99 3ab3249700 Update glslcc to 1.8.1
Add dual outputs support, this is useful to handle normal map preprocessor
2023-07-16 14:14:41 +08:00
halx99 604a7cb858 Download optional c-ares 2023-06-28 00:44:29 +08:00
halx99 85111a4cc3 Improve engine version definitions 2023-06-12 09:14:23 +08:00
Deal(涓€绾跨伒) bc82034ffd Improve media-engine for android, linux (#1228)
* Improve media-engine
- Implement andorid,linux
- Improve local file uri scheme

* Fix ci

* Improve code style

* Improve

* Update VlcMediaEngine.cpp

* Update AvfMediaEngine.h

* Fix ci

* Improve code style

* Enable androidx gradle.properties [skip ci]

* Improve code style

* Remove unnecessary callbacks

* Rename VideoPlayer to MediaPlayer
2023-06-10 22:05:49 +08:00
Deal(涓€绾跨伒) 46a21e729b Building with ninja + official llvm-clang-cl support (#1159)
* Building with ninja + official llvm-clang-cl support

* Update gh ci for clang

* Fix ci

* Fix ci

* Fix ci

* FIx dll copy [skip ci]

* Fix ci warnings

* Update ci files and readme

* Update badges
2023-04-02 16:04:19 +08:00
halx99 c8df435a78 Update .gitignore[skip ci] 2023-04-02 11:58:00 +08:00
Deal(涓€绾跨伒) 1bf1798fef Update .gitignore 2023-04-01 22:34:00 +08:00
halx99 35db29919e Done #1139 2023-03-30 22:08:53 +08:00
Deal(涓€绾跨伒) 83d53ba46b Tidy project tree and full symlink support (#1072)
* Tidy project file tree and all symlink support
2023-02-23 21:57:30 +08:00
halx99 233cdd0daf Remove unused 2023-02-14 23:23:11 +08:00
halx99 79b90a95dd Fix dll linkage 2023-01-06 18:38:16 +08:00
halx99 57a5c7253f Update .gitignore 2022-10-22 07:48:33 -07:00
涓€绾跨伒|Deal 48a7da97d6 Final migrate (#876) 2022-10-01 16:24:52 +08:00
DelinWorks 434d3fa2ab Update .gitignore [skip ci] 2022-07-07 15:54:17 +03:00
DelinWorks 4c6313d66a Update .gitignore [skip ci] 2022-07-07 15:52:49 +03:00
DelinWorks 3d47f2aa91 Finally fix .gitignore [skip ci] 2022-07-07 15:51:47 +03:00
DelinWorks 1b7e292e1c Update .gitignore [skip ci] 2022-07-07 15:43:01 +03:00
halx99 6aaff5cda8 Delete *.obj to avoid missing 3d model .obj
a. build_xxx, out_xxx in .gitignore is enough ignore code .obj
2022-07-05 15:53:33 +08:00
halx99 37a2849226 Update .gitignore [skip ci] 2022-06-28 12:38:01 +08:00
halx99 dc267e6c72 Ignore Ninja build folder [skip ci] 2022-04-27 18:52:57 +08:00
halx99 def5f9e2bc Rename core folder name 2021-12-31 14:39:08 +08:00
halx99 8d83891f30 Improve lua workflow on windows
a. Use working directory as default resource root on windows
b. Don't copy res and scripts to build binary dir on windows
c. Always build plainlua as dll on windows for fast debug
d. Remove 64bit spec search path for lua script
2021-10-07 18:44:34 +08:00
rh101 6bd2e94996 Download external tools to tools/external
Ensure git ignores the tools/external folder
Update NuGet CLI exe path
2021-10-05 10:47:45 +11:00