halx99
470efb32f1
Fix unit-tests fail on osx some times
2024-09-13 23:09:48 +08:00
halx99
a6dd7e932d
Allow turn on/off deprecated features, follow #2111 ( #2136 )
...
- Add new cmake option: `AX_CORE_PROFILE`
- Remove deprecated stubs from extension: `cocostudio`
- Remove `AX_DEPRECATED_ATTRIBUTE`
2024-09-13 02:17:35 +08:00
smilediver
e6174ff62f
Node: fix `setPosition()` and `setPositionNormalized()` not switching modes if positions match ( #2102 )
2024-08-27 20:24:28 +08:00
j-jorge
b436da431f
Remove the USING_NS_AX and NS_AX macros. ( #2103 )
2024-08-27 19:46:15 +08:00
halx99
b25b702d97
Release 2.1.5 ( #2076 )
...
* Fix unexpected libpng used
* Fix string format incorrect for tests
* Fix #1751 , use coroutine control AutoTest flow
* Update CHANGELOG.md
* Added OpenType font (.otf) to the noCompress list. (#2077 )
* Update 1k & copyright notice in some sources
* Move doctest to axmol 3rdparty
* Fix ci
* Update 1kdist to v90
* Update 1kiss.ps1
* DrawNodeV2 0.95.1 (#2079 )
* Rename remaining legacy engine related spells and improve code style
* Update 3rdparty README.md
* Fix checkReallySupportsASTC does not work on ios device
reported by @BIGCATDOG in https://github.com/axmolengine/axmol/issues/2078
* Fix ci
* FastRNG: add missing include for AXASSERT (#2081 )
* Delete unused files
* Improve FileUtils
- Rename FileUtils::createDirectory to FileUtils::createDirectories
- Use splitpath_cb to optimize FileUtils::createDirectories
- Rename FileUtils::getFileShortName to FileUtils::getPathBaseName
- Rename FileUtils::getFileExtension to FileUtils::getPathExtension
- Add FileUtils::getPathDirName
- Add FileUtils::getPathBaseNameNoExtension
- Mark all renamed FileUtils stubs old name deprecated
- Mark all FileUtils offthread APIs deprecated
* Update box2d to v2.4.2
* Disable /sdl checks explicitly for winuwp
For axmol deprecated policy, we need disable /sdl checks explicitly to avoid compiler traits invoking deprecated functions as error
* Update cppwinrt to 2.0.240405.15
* Update simdjson to 3.10.0
* Fix box2d testbed compile error
* Improve file path to url
* Fix FileUtils::createDirectories unix logic
* axmol-cmdline: remove arch suffix for host build output directory
* Update CHANGELOG.md
* Update lua bindings
---------
Co-authored-by: Dani Alias <danielgutierrezalias@gmail.com>
Co-authored-by: aismann <icesoft@freenet.de>
Co-authored-by: smilediver <smilediver@outlook.com>
2024-08-11 23:51:35 +08:00
halx99
8fd2a551e8
Refactor math simd ( #2070 )
2024-08-04 09:46:36 +08:00
smilediver
807a91b49b
Optimize `Renderer::fillVerticesAndIndices()` ( #2065 )
...
* Optimize `Renderer::fillVerticesAndIndices()`
* Fix clobbered registers not being marked in inline assembly
2024-08-02 08:26:58 +08:00
Turky Mohammed
4de7e284c9
Move FastRNG to ax ns and more improvements ( #2057 )
2024-07-28 09:16:47 +08:00
Turky Mohammed
4c80b80ff7
Improve FastRNG implementation ( #2056 )
...
* Update FastRNG and improve particle system and tests
* Update FastRNG.h
* remove unnecessary includes
* Adapt unit_tests
* unit test rotL too
2024-07-27 23:44:25 +08:00
smilediver
1c33176dd8
Some warning and other minor fixes ( #2038 )
...
* FastRNG: fix warnings, optimize bool01()
* UTF8: limit warnings on Android due to jni.hpp include
* Remove unused includes
* UTF8: add missing fmt/format.h include
* Tests: remove invalid test
2024-07-19 07:59:04 +08:00
halx99
d1ca753de4
Fix unit-test
2024-06-22 13:55:34 +08:00
halx99
ad051f353f
Update TLD to axmol.dev in sources ( #1977 )
2024-06-10 02:25:43 +08:00
smilediver
561b8c2349
Enable running `unit-tests` in GitHub workflow ( #1871 )
...
* Enable running `unit-tests` in GitHub workflow
* Attempt to fix macOS unit-tests run
* Use axmol run to run unit-tests
* Skip launch when desktop cpu mismatch
* Skip launch when desktop cpu mismatch
* Fix unit-tests crash on linux
* GitHub Action: divide osx arm64, x64 to differrent runner image
---------
Co-authored-by: Deal <halx99@live.com>
2024-05-01 22:24:53 +08:00
smilediver
dadd5fe983
Fix `unit-tests` build on macOS and Linux ( #1870 )
2024-04-30 23:26:42 +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