Commit Graph

754 Commits

Author SHA1 Message Date
RH f03efb8cf7
Fix for Android build issue (#2225)
* Fix Android build issue

* Add copyright notice

* Add required empty line
2024-11-01 00:59:17 +08:00
CHP 425c34bbb5 Update AGP to 8.6.0 (#2133) 2024-10-20 09:42:12 +08:00
aismann 5d6ab4eccb Update controller.cpp 2024-09-29 23:01:29 +08:00
aismann 2bf320edda
move ZwoptexTest to SpriteTest (better add it to the SpriteTest section as removing) (#2180)
* move/delete stuff

* Update CMakeLists.txt
2024-09-25 00:47:52 +08:00
aismann bf4ef2ff83
remove DrawPrimitivesTests (Cocos2Dx) (redundant mit DrawNodeTest) (#2179)
* remove DrawPrimitivesTests (Cocos2Dx)

* Update CMakeLists.txt
2024-09-24 22:02:17 +08:00
aismann f320ba1f66
Remove all DrawNode setLineWidth() stuff (#2172)
* remove all setLineWitdth stuff

* Update axlua_base_auto.cpp

* Update DrawNode.cpp
2024-09-23 22:13:12 +08:00
smilediver 5c31ecb3c2
Optimize DrawNode (#2165)
* DrawNode: refactor buffer update

* DrawNode: optimize transform application

* DrawNode: remove unused variables

* DrawNode: use reinterpret_cast

* DrawNode: fix crash on render context loss
2024-09-21 23:55:26 +08:00
aismann c488380170
Add (missing) parameter 'drawLineToCenter' to 'drawSolidCircle(...)' (#2160)
* Add parameter drawLineToCenter to drawSolidCircle

* fix  drawSolidTringle/drawTriangle

* Update axlua_base_auto.cpp
2024-09-17 22:09:05 +08:00
Tosik86 7098180e83
Fix comment in PauseTest. Add logs to check time in console. (#2157) 2024-09-16 09:20:11 +08:00
halx99 2d16634072
Fix compiling deprecated issues (#2154) 2024-09-15 23:37:42 +08:00
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
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
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
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
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
aismann 8341ce67b9
DrawNodeV2 0.97 (ready for "replacing" DrawNode) (#2095) 2024-08-19 18:52:52 +08:00
aismann b1f88b4e9d
DrawNodeV2 0.96.0 (#2086) 2024-08-14 22:09:00 +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
halx99 a39b2e87db Fix some ci warnings 2024-07-24 00:09:10 +08:00
halx99 9e106da253
Prepare release v2.1.4 (#2037) 2024-07-20 02:52:07 +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 602a2cab8f Update ios/tvos LaunchScreen.storyboard to 11.0+
Also fix xcode15.4 build error
2024-07-17 00:14:26 +08:00
halx99 28013e97d2
Replace all ax::print with AXLOGD,AXLOGI (#2032) 2024-07-14 00:34:27 +08:00
halx99 11b8d28fd7
Mark StringUtils::format deprecated, use fmt::format instead (#2029) 2024-07-13 22:53:14 +08:00
aismann fe0b243a67
(Spelling) rename getSubtitleLable(), add setSubtitleLabel() (#2025)
* rename getSubtitleLable(), add setSubtitleLabel()

* Update PhysicsTest.cpp
2024-07-11 23:29:08 +08:00
aismann fe0adcbb1f
Rename all AXLOG/printf to AXLOGD (without .\core, .\3rdparty) (#2020) 2024-07-11 23:28:31 +08:00
bwaiox aacebeef89
Fix error when compile on LINUX ubuntu2204 (#2012)
* fix LINUX compile error for CocosGUIScene.cpp

* fix LINUX compile error 'must be interger or enum' for array length
2024-07-01 21:41:44 +08:00
aismann 8175eb2ade
DrawNodeV2 0.94 (currently DrawNodeEx) (#2008) 2024-06-29 00:15:02 +08:00
halx99 5ffd6ce09a Improve downloader
- print http respone code when error
- make checksum case-insensitive
2024-06-28 01:03:31 +08:00
halx99 d1ca753de4 Fix unit-test 2024-06-22 13:55:34 +08:00
halx99 b6b6a15284
Improve curl downloader (#1999) 2024-06-22 08:29:21 +08:00
Purple 6cb7618ed0
Linux WebView implementation (#1985)
* linux webview start

* Linux UIWebView phase1

* update setup for linux uiwebview

* add depends for arch

* removed unnecessary XReparent call

* Fixed some XWayland issues

* finalizing linux webview implementation

* enabled webview tests on linux

* updated copyright link

* removed some unnecessary comments

* some formatting

* some more formatting

* fixed a test typo

* removed some unnecessary codes

* removed some unnecessary comments
2024-06-13 22:49:59 +08:00
halx99 ad051f353f
Update TLD to axmol.dev in sources (#1977) 2024-06-10 02:25:43 +08:00
halx99 8fef58d59c Update gradlew to 8.8 2024-06-10 00:57:51 +08:00
CHP e56d14c1d2
AGP_8_4_0 (#1976) 2024-06-10 00:37:17 +08:00
AlexandreK38 79aabfd6af
Sprite and TextureCache from ax::Data (#1967) [skip ci]
* Add Sprite and TextureCache way to use image from Data

* add Sprite cpp tests

* Apply suggestions from code review

---------

Co-authored-by: halx99 <halx99@live.com>
2024-06-07 00:30:55 +08:00
RH 66ca90cf41
Apply child stencils correctly to the clipping node (#1957)
* Child stencils are now applied correctly to the clipping node
Fix incorrect reference count for original program states stored in collection

* Add test for unique child stencils

* Fix comment
2024-06-03 23:15:57 +08:00
RH eee37e5760
Add support for necessary events to be sent regardless of event dispatcher enabled state (#1940)
* Add support for necessary events to be sent regardless of event dispatcher enabled state

* Revert accidental change
2024-05-30 13:34:25 +08:00
RH 93042d2ad9
[Android] Add x86_64 to example list of possible target architectures (#1919) 2024-05-23 01:22:18 +08:00
aismann 5b8a07413b
DrawNodeEx/DrawNodeExTest update (#1914)
* Fix issue #1546 of UILayout(#1549) and small performance boost

* add test

* Update DrawPrimitivesTest.cpp (Smaller tester code)

* Update DrawNodeEx.h

AX_EX_DLL

* Update AXLinkHelpers.cmake

* Update Console.cpp (removed the '\n' which creates an second (empty) line)

* segment stuff

* .

* add some more tests

* Issue  1888

* .

* add all DrawNode cocos2dx

* .

* .

* .

* add feature for drawing in correct order

* .

* Update DrawNodeEx.cpp

* .

* Update DrawNodeEx.cpp

* DRAWNODE_TRIANGLE_ONLY

* DRAWNODE_DRAW_LINE_POINT

* .

* Update DrawNodeExTest.cpp

* Update DrawNodeExTest.cpp

* .

* .

* Add round brackets

* commendet this both lines (check it in next version)

* .
2024-05-22 18:48:36 +08:00