Commit Graph

493 Commits

Author SHA1 Message Date
Turky Mohammed 5f9db1203f
[BUG] fix _AX_HAVE_WEBVIEW2 compilation error when not defined. (#1020)
* make _AX_HAVE_WEBVIEW2 actually work

* Exclude other platforms

* Update UIWebView-inl.h
2023-01-08 09:36:43 +08:00
Turky Mohammed 54eb339f5f
Update positionColorLengthTexture.vert (#1021) 2023-01-08 09:36:14 +08:00
一线灵|Deal 8ab4be0123
fix typo 2023-01-07 20:24:49 +08:00
一线灵|Deal 25934b84f2
Fix typo 2023-01-07 19:46:20 +08:00
aismann b1c5f106ca
Improve drawCircle rendering for big rings (#1013)
* Update HelloWorldScene.cpp

replace   _director->end();  with menuCloseCallback(this);

* Rendering drawCircle
2023-01-06 23:25:31 +08:00
halx99 640dda61ec Fix dll linkage 2023-01-06 18:38:16 +08:00
一线灵|Deal 6a19a9bc88
Update HttpCookie.cpp 2023-01-04 21:21:16 -08:00
halx99 23693d9a5f Fix ci 2023-01-05 00:35:55 +08:00
halx99 4c07b00348 Fix ci 2023-01-05 00:31:08 +08:00
halx99 0825311308 Change HttpRequest::getTag return type from const char* to std::string_view 2023-01-04 23:37:57 +08:00
halx99 68b42398a1 Fix ci 2023-01-04 23:21:24 +08:00
halx99 4915b3f2c5 Fix ci 2023-01-04 23:20:31 +08:00
halx99 5bd36bfa7c Update yasio to latest 2023-01-04 23:20:07 +08:00
halx99 2547e8d3f8 Improve code style 2023-01-04 23:06:52 +08:00
halx99 b164698459 Improve posix macro definations 2023-01-04 23:05:52 +08:00
halx99 2c8f7aa84e Preferred use ax::print for engine log output 2023-01-04 22:52:40 +08:00
halx99 8ed52980b4 Merge branch 'dev' of https://github.com/axmolengine/axmol into dev 2023-01-04 21:26:23 +08:00
halx99 427ae694bd Fix http request issue when path empty from url
Ensure path can be use for http request directly
2023-01-04 21:26:01 +08:00
CHP b5cde53994
ANDROID_SDK_ROOT -> ANDROID_HOME (#1009)
* Update setup.py

* ANDROID_SDK_ROOT -> ANDROID_HOME
2023-01-04 08:03:48 +08:00
halx99 28eb9e1886 Take care lambda implicit capture std::string_view
refer to: #1002
2023-01-03 23:02:17 +08:00
halx99 2b07737a91 Fix feature check for MSVC 2023-01-03 18:01:40 +08:00
halx99 7d2166fb31 Fix ci 2023-01-01 23:31:24 +08:00
halx99 7b0866edac Avoid packet GC
yasio-3.39.7 introduce YOPT_S_FORWARD_EVENT.
2023-01-01 23:11:32 +08:00
halx99 e30d3c159c Fix ci 2023-01-01 18:41:48 +08:00
halx99 38cfc6aaa2 Renaming performFunctionInCocosThread to runOnAxmolThread 2023-01-01 18:08:25 +08:00
halx99 59bc12dddf Improve base64 API
Move base64Encode/base64Decode to namespace `ax::utils`
2023-01-01 18:07:18 +08:00
一线灵|Deal 32367c8026
Remove unused 2023-01-01 18:01:01 +08:00
Turky Mohammed eb5ec6047c
[IMPROVEMENT] Remove camera unnecessary perspective option. (#993)
* Fix camera applyZoom when window size changes

* Revert "Fix camera applyZoom when window size changes"

This reverts commit 26154b5ff7.

* Fix pr

* remove camera perspective option

* fix merge conflict

* Update CCCamera.cpp

* Update CCCamera.h
2022-12-29 16:54:26 +08:00
Turky Mohammed d2a3b9a375
[BUG] Fix camera `applyZoom()` when window size changes and remove unnecessary projection code (#992)
* Fix camera applyZoom when window size changes

* Revert "Fix camera applyZoom when window size changes"

This reverts commit 26154b5ff7.

* Fix pr
2022-12-29 16:54:01 +08:00
pietpukkel 24c3afa524
Fix for UIEditBox password on Mac/iOS (Montery+/15+). (#995)
Fix for UIEditBox password on Mac/iOS (Montery+/15+).
2022-12-27 14:26:09 +08:00
halx99 2e4324c363 Fix charset process in glfwCharCallback 2022-12-18 11:52:57 +08:00
CHP d79156d728
Improve Android cmake (#985)
* Update CMakeLists.txt

* Improve Andoid CMAKE
2022-12-17 16:35:34 +08:00
halx99 0a4bf2b3fa Move SIMD detection to AXConfigDefine.cmake 2022-12-17 11:56:48 +08:00
一线灵|Deal 5fe200ca0a
Fix #983 2022-12-12 19:41:07 +08:00
RH be224656fc
Move getWorldPosition() from Widget to Node class (#978)
* Committing genbindings changes

* Move getWorldPosition() method to Node class to allow world position to be retrieved for any node.
2022-12-07 09:24:46 +08:00
RH 7dba255a1d
Add a pool for GroupCommand rendering commands (#969)
* Committing genbindings changes

* Use a pool of GroupCommand entries to avoid multiple entries of the same group in the render queue in certain scenarios

* Ensure captureNode works as expected.

* Set member variables to default values when init method is called on the GroupCommand

* Explicitly reset the command state when retrieving a GroupCommand from the pool
2022-11-28 08:37:22 +08:00
Vincent Lee 8fa2d738a6
Fix warnings (implicit conversion loses and use of deprecated function) 2022-11-20 09:58:34 +09:00
joilnen 79ee13376f fixing some warnings compilation in linux gcc 12.2.0 2022-11-14 15:46:27 -03:00
Vincent Lee 0508dca83f
Replace use of deprecated sprintf with snprintf 2022-11-14 16:02:16 +09:00
halx99 8b70aea233 Improve MFMediaPlayer state control 2022-11-14 11:35:38 +08:00
一线灵|Deal 618e851de5
Update axutils.gradle 2022-11-10 23:25:45 +08:00
halx99 0651f77a3c Improve gradle scripts
Add cmake options from gradle command line properties support
2022-11-10 22:53:54 +08:00
halx99 fbb40dd47f Fix ci 2022-11-10 22:03:40 +08:00
halx99 19e2a77bb4 Fix #958 2022-11-10 21:22:55 +08:00
halx99 60dbcd7bfd Improve ftruncate 2022-11-10 13:45:51 +08:00
一线灵|Deal d8a9a1534b
Fix http post with uri params 2022-11-08 13:15:00 +08:00
halx99 07f6b8e23f Improve memory use 2022-11-03 18:01:10 +08:00
RH 4022b1ff2b
Force recalculation of normalized position when assigning new parent to node (#952)
* Committing genbindings changes

* Ensure normalized position is re-calculated if parent node changes
2022-11-03 15:49:34 +08:00
RH b0c51f590d
Add support for centered horizontal layout (#946)
* Committing genbindings changes

* Add support for CENTER_HORIZONTAL layout type.
2022-11-01 19:02:04 +08:00
halx99 6083ec053e Remove unnecessary platform macro define in cmake 2022-11-01 19:00:48 +08:00