Commit Graph

3914 Commits

Author SHA1 Message Date
halx99 cf74ca5231 axmol-cmdline: Remove duplicate cmake options 2024-06-08 01:50:52 +08:00
halx99 292125f9ee Improve JobSystem 2024-06-08 01:09:17 +08:00
halx99 92143c0b67 Fix lua bindings 2024-06-08 01:06:46 +08:00
halx99 99b405e68c Update tolua config 2024-06-07 20:18:43 +08:00
halx99 8eeed46cfc
Add JobSystem support (#1968) 2024-06-07 00:33:01 +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
halx99 ec8cdf2861 Update simdjson to 3.9.3 2024-06-06 00:00:01 +08:00
ask me anything :) 385a79ca6c
Update DevSetup.md (#1965) 2024-06-05 20:25:34 +08:00
axmol-bot 5f4c08d46b
Committing luabindings for commit 66ca90c (#1959) 2024-06-04 00:08:04 +08:00
Purple 22ecef1c77
just addressing some compiler warnings on windows (#1954)
* fixed UIWebViewImpl-win32 warning C4244 while changing LPWSTR to string

* use direct `socket_native_type`

* directly use HMENU instead of int

* not sure why it wasn't auto converted but msvc spitted warnings

* we're moving it, it doesn't need to be constant, using ntcvt::from_chars

* ignore it to reduce one more warning

* add some missing `noexcept`

* reverted some const removal didn't realize it was used for rvalues
2024-06-03 23:16:54 +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
aismann f2938663e0
Replace DrawNode with DrawNodeEx (Step 1: no longer optional, changed OFF to ${AX_EXT_HINT}) (#1955) 2024-06-03 13:09:39 +08:00
aismann 2bf755c049
Replace DrawNode with DrawNodeEx (no longer optional) see #1949 (#1950) 2024-06-02 19:42:19 +08:00
halx99 ccedac1ab6 Improve 1k/fetch.cmake 2024-06-02 00:39:48 +08:00
halx99 b1f2990f4d Update 1k 2024-06-02 00:27:51 +08:00
AlexandreK38 1639861dc5
Fix Callback and store Renderer Image type (#1945) 2024-05-31 13:01:42 +08:00
axmol-bot 43d755f1ed
Committing luabindings for commit eee37e5 (#1941) 2024-05-30 20:55:05 +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
Purple eb0e6ef50d
Added glyph ranges manager for ImGuiPresenter, added ability to use glyph ranges for Inspector's font (#1936)
* Added glyph manager for ImGuiPresenter

* renamed glyph ranges constants

* for static code conduct

* for code of conduct 2

* removed some duplication and better format

* removed extra space
2024-05-29 23:56:03 +08:00
RH ccf31892a0
Update documentation for axmol build commands when targetting the iOS simulator (#1938) 2024-05-29 22:25:42 +08:00
RH b54775d11f
[Android] Calculate safe area inset values for devices with rounded corners (#1934)
* [Android] Add support for factoring in device rounded corner inset values for Android API 31 or higher

* Check for null pointer return values from Java.
2024-05-28 20:06:15 +08:00
Purple d826793cd0
Add ability to change Inspector's font size (#1932) 2024-05-27 08:55:35 +08:00
halx99 905fce52d0
Release 2.1.3 (#1925)
* Update CHANGELOG.md

* Update publish.ps1

* Enable lua bit module for all lua versions supported by axmol

* Fixup

* Enable build lua-tests on gh ci

* Update ChangeLog

* Update CHANGELOG.md

* updUpdate 1kdist to v86
2024-05-26 12:53:08 +08:00
RH 741472398f
Do image processing to reverse premultiplied alpha in separate thread (#1929)
* Add missing parameter names

* Move processing intensive operation to a separate thread

* FileUtils instance may not be thread safe
2024-05-26 09:26:06 +08:00
Paulo Coutinho 49ba0ddd67
Fix descriptor typo (#1928) 2024-05-25 14:39:18 +08:00
Paulo Coutinho e49a28fba7
Fix sol problem in emplace method (#1927) 2024-05-25 13:29:46 +08:00
smilediver 7ca10e7f0c
Fix passing non null terminated strings for null terminated params (#1924)
* Fix passing non null terminated strings for null terminated params

* Change stringWithUTF8String with initWithBytes
2024-05-25 08:07:31 +08:00
halx99 6b25f513e1 Update ChangeLog 2024-05-24 04:25:02 +08:00
halx99 3abf136a62 Fix emsdk 3.1.60 compile errors 2024-05-24 04:17:04 +08:00
halx99 76ce90c0b8 Update readme badges 2024-05-24 01:38:28 +08:00
halx99 a4e1c4cb1f Update emsdk to 3.1.60 2024-05-24 01:28:55 +08:00
halx99 54cec14c10 Fix wasm ci 2024-05-24 01:26:58 +08:00
halx99 2d8bc32454 Improve 1k code style 2024-05-24 01:18:30 +08:00
smilediver 02bb17d867
Set AX_USE_METAL and AX_USE_GL to 1 if defined (#1916) 2024-05-23 01:27:26 +08:00
RH db1b022128
Fix crash due to invalid pointer (#1920) 2024-05-23 01:25:59 +08:00
RH 6e321ae265
Update the CMake minimum version requirement to 3.23.0+ (#1918) 2024-05-23 01:23:56 +08:00
RH 93042d2ad9
[Android] Add x86_64 to example list of possible target architectures (#1919) 2024-05-23 01:22:18 +08:00
halx99 2f5bc186a5 Update ChangeLog 2024-05-22 21:42:04 +08:00
aismann e1b3023010
Remove box2d-optimized (#1913)
Removed Box2D-optimized

it's is now obsolete; Erin Catto has developed Box2D v3 with many performance improvements, so please use that instead
2024-05-22 20:32:05 +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
halx99 1a15620f4e Fix #1906
The tools/ci/genbindings.ps1 now support windows,linux,mac
2024-05-22 08:50:32 +08:00
smilediver ddeb14c160
Fix shaders not copying to final build on macOS for non Xcode builds (2) (#1908)
* Fix shaders not copying to final build on macOS for non Xcode builds

* Fix macOS build after adding minimum CMake 3.20 requirement

* Refactor "Fix macOS build after adding minimum CMake 3.20 requirement"
2024-05-22 01:51:09 +08:00
halx99 cb142c6c4e Fix #1911 [skip ci] 2024-05-22 01:23:28 +08:00
RH 2f8579f189
Allow media controls to be rotated left or right by 90 degrees (#1910) 2024-05-21 23:41:02 +08:00
halx99 fcc282d116 Improve ci [skip ci] 2024-05-21 23:40:01 +08:00
Turky Mohammed ef3f14c2d7
[BUG] Fix system font blurring (#1907)
* Update Label.cpp

* Update core/2d/Label.cpp

---------

Co-authored-by: halx99 <halx99@live.com>
2024-05-21 21:49:06 +08:00
halx99 1e40692a6d Fix typo [skip ci] 2024-05-20 23:52:19 +08:00
halx99 d9563d1741 Fix docs menu_versions 2024-05-20 23:46:48 +08:00
halx99 c07139544b Update imgui to 1.90.6 2024-05-19 01:42:48 +08:00
halx99 b550d569a9 Update prebuilt tool `glslcc` to 1.9.5
- macos-arm64 support and built for macos-10.15+
2024-05-19 01:15:02 +08:00