Commit Graph

4036 Commits

Author SHA1 Message Date
Tosik86 c3d54767a2
Refine contributing.md guide (#2135)
* Refined submitting patches steps in CONTRIBUTING.md

* Add forgotten $ sign to CONTRIBUTING.md code snippet

* Add forgotten colon to CONTRIBUTING.md file
2024-09-11 08:31:08 +08:00
halx99 3d9497515f Update gradle wrapper to 8.10 2024-09-08 00:18:41 +08:00
halx99 6a78b18781 Use pod_vecttor for DrawNode 2024-09-08 00:17:47 +08:00
CHP c6855d0164
Use gradle-8.8-bin.zip everywhere (#2134) 2024-09-07 23:04:16 +08:00
Tosik86 63224f3612
Fix move constructor comment in Data class (#2132) 2024-09-07 13:28:51 +08:00
axmol-bot 2fddd426f5
Committing luabindings for commit dfa68a4 (#2131)
Co-authored-by: halx99 <6977319+halx99@users.noreply.github.com>
2024-09-07 09:53:50 +08:00
halx99 dfa68a4cdf Rename FileUtils::getFileExtension to getPathExtension 2024-09-07 00:18:08 +08:00
halx99 23a0132203 Fix android media engine usingWrongThread exception 2024-09-07 00:06:54 +08:00
halx99 dfa619259d Fix ChangeLog 2024-09-06 23:33:44 +08:00
axmol-bot e3e58d7a28
Committing luabindings for commit 4ae3792 (#2130)
Co-authored-by: halx99 <6977319+halx99@users.noreply.github.com>
2024-09-06 23:00:52 +08:00
aismann 4ae3792164
DrawNode V2 (#2124)
* DrawNodeV2 ready4merge

* Update README.md

* Lua stuff

* Update DrawNode.h

* Update DrawNode.cpp

* Update DrawNode.cpp

* Update DrawNode.cpp

* Add the cocos2dx test again, add some improvements

* Some improvements

* Remove CandyMix from Android devices

* Update DrawNodeTest.cpp

* Clean tester code
2024-09-06 21:31:18 +08:00
smilediver 7b377d6351
Math optimizations (#2115)
* Mat4: make some methods inlineable

* Vec3: make some methods inlineable

* Vec4: make some methods inlineable

* Color: make some methods inlineable

* Quaternion: make some methods inlineable

* Rect: make some methods inlineable

* Vec2: make some methods inlineable

* Math: mark constants inline

* Math: fix DLL build

* Vec2: make constants inlineable

* Color: remove inline file

* Mat4: remove inline file

* Quaternion: remove inline file

* Rect: remove inline file

* Vec2: remove inline file

* Vec3: remove inline file

* Vec4: remove inline file
2024-09-05 08:57:26 +08:00
aismann 5246c8d71f
Update sweep.h (#2121)
fix invalid UTF-8
2024-08-30 22:52:06 +08:00
RH 0fbf9f7fde
Set RenderTexture content size (#2120) 2024-08-30 22:46:40 +08:00
RH efa3189229
Remove unreferenced sprite from test scene (#2119)
* Remove sprite once action is complete since it is no longer required

* Add copyright notice
2024-08-30 22:46:10 +08:00
halx99 62393b9271
Enable vsync by default (#2118)
* Enable vsync by default

* Update comment

* Update comment [skip ci]
2024-08-30 09:14:22 +08:00
halx99 80f55eb87a
Delay load mf.dll, mfplat.dll (#2116) 2024-08-30 08:36:08 +08:00
halx99 80c70f42bf
Bump version 2.2.0
We are start flowing semver.org
2024-08-29 22:54:53 +08:00
halx99 7025b1e6fc
Improve android media player, also fix #2101 (#2109)
a. handle cbcr offset properly
b. handle output dim properly
2024-08-29 01:40:08 +08:00
smilediver 89629c9dd7
Sprite: show stretch warning only if stretching is enabled (#2113) 2024-08-29 00:18:19 +08:00
RH 284fcf243a
Widget should not override normalized positioning if it is set. (#2110)
Override setPositionNormalized to be functionally equivalent to setPosition
2024-08-28 08:21:46 +08:00
halx99 58516038e1 Improve android FileUtils 2024-08-28 01:25:47 +08:00
j-jorge 2fbb6b56ce
Remove usage of the NS_AX macro. (#2107) 2024-08-28 00:45:26 +08:00
halx99 9edbdebee2 Fix log format 2024-08-27 23:50:29 +08:00
smilediver ebdf2a7f6f
SpriteFrameCache: fix dangling ref in `removeSpriteFramesFromTexture()` (#2106) 2024-08-27 23:28:51 +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
j-jorge 15268dc182
Remove the NS_AX_BEGIN and NS_AX_END macros. (#2100) 2024-08-26 00:25:33 +08:00
halx99 f14276c33e
Update freetype to v2.13.3 (#2098) 2024-08-22 07:27:02 +08:00
halx99 2ecdd78537 Improve setup scripts 2024-08-22 00:05:09 +08:00
aismann 8341ce67b9
DrawNodeV2 0.97 (ready for "replacing" DrawNode) (#2095) 2024-08-19 18:52:52 +08:00
smilediver 3f8d47dc36
Trim trailing whitespace for files in `core` folder (#2089) 2024-08-15 12:14:02 +08:00
smilediver ad94765c09
Remove some bad warnings (#2088) 2024-08-15 12:13:42 +08:00
RH a2e6e85927
Update DevSetup.md with iOS simulator build commands (#2087) 2024-08-15 12:13:21 +08:00
aismann b1f88b4e9d
DrawNodeV2 0.96.0 (#2086) 2024-08-14 22:09:00 +08:00
RH 80a82555c0
Allow setting custom config for ImGui fonts (#2085) 2024-08-13 00:08:49 +08:00
halx99 61484ca707 Bump 2.1.6 [skip ci] 2024-08-13 00:07:59 +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
smilediver 869b413fff
Add missing include (#2075) 2024-08-06 19:22:02 +08:00
halx99 636a42ab54 Fix #2069 liv2d compile error 2024-08-04 23:51:22 +08:00
RH 3a46201c5a
Enhance Color4F and method naming change (#2072)
* Move set methods from Vec4 to base Vec4Base to allow usage with all subclasses of Vec4Base
Rename Vec4::set method to setDirection to reflect its actual purpose
Remove trivial copy constructor method since it does not need to be explicitly implemented

* Add copyright line
2024-08-04 19:50:14 +08:00
halx99 8fd2a551e8
Refactor math simd (#2070) 2024-08-04 09:46:36 +08:00
halx99 695ccc0357 ci: Upload windows build artifacts 2024-08-03 23:38:47 +08:00
smilediver 39b6560290
Fix Curl downloader not observing set task limits (#2067)
* Delete unused variable

* Remove invalid comment

* Fix Curl downloader not observing set task limits
2024-08-03 02:19:00 +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
halx99 377f340d0b
Fix #2060, make http request/respose reference counter thread-safe (#2064) 2024-08-01 04:41:27 +08:00
halx99 687874c11b Fix prebuilt openssl dll path incorrect for winuwp 2024-08-01 01:11:11 +08:00
smilediver fed5f8a374
Optimize ProgramState::setTexture() to avoid vector (de)allocations (#2061) 2024-07-31 00:19:56 +08:00
Purple 15531218a0
Pre-built CMake configuration fixes (#2058) 2024-07-29 06:37:45 +08:00
Turky Mohammed 4de7e284c9
Move FastRNG to ax ns and more improvements (#2057) 2024-07-28 09:16:47 +08:00