Commit Graph

523 Commits

Author SHA1 Message Date
halx99 ba61e83191 Improve UserDefault code style 2023-02-23 21:59:27 +08:00
Deal(一线灵) 1ae9cd33ae
Tidy project tree and full symlink support (#1072)
* Tidy project file tree and all symlink support
2023-02-23 21:57:30 +08:00
RH c628e0f428
Better richtext word wrapping (#1071)
* [RichText] Do not word-wrap on punctuation characters for better readability
2023-02-23 13:55:42 +08:00
aismann 1b4c7b9976
Visible artifacts on DrawNode::drawCircle() with a corresponding lineWidth > 5 (window resizing issue) (#1050)
* Fix DrawNode::drawCircle() behavior itf the window is resizing.

* Update CCDrawNode.cpp

Tested also with
resourceSize(960, 640) or (1280, 720)
designSize(480, 320) or (400, 320);


Making a deal with the "boss"

* Update drawCircle and Tests

_lineWidth/4  is needed => the circle grow to fast without

---------

Co-authored-by: Deal(一线灵) <halx99@live.com>
2023-02-22 20:02:20 +08:00
RH f3930a15f4
Scrollbar visibility fix for when auto hide is disabled (#1067)
* Fix for scrollbar visibility when auto-hide is disabled

* Set the default opacity to 255 when the scrollbar auto hide is disabled since _opacity is unknown
2023-02-22 11:13:56 +08:00
RH 76b8747874
Trim leading space from wrapped lines of text in RichText (#1066)
* Fix issue with a whitespace appearing at the start of left-aligned text in RichText when using wrapping at word boundaries.
Update RichText test.
2023-02-21 13:15:28 +08:00
halx99 a7ae735893 Check astc image header wildcard for some extesion formats [skip ci] 2023-02-18 11:43:44 +08:00
halx99 49284f4cc2 Working on c++23
There are many more efficient features on future c++23 standard
2023-02-18 11:39:31 +08:00
Turky Mohammed 2712f0ee2f
Add Anchored Sprite Class (#1040)
* add anchored sprite class

* Add feature tests
2023-02-10 14:07:20 +08:00
Andreas Loew d96876db07
display error message if shader initialization fails (#1051) 2023-02-09 23:07:36 +08:00
Deal(一线灵) 5b9fa73640
Fix #990 2023-02-09 21:40:38 +08:00
halx99 b746c936a9 Fix ci 2023-01-24 15:49:40 +08:00
halx99 405844b0e0 Fix platform macro pred 2023-01-24 13:58:29 +08:00
halx99 565e36eb21 Fix macro detect 2023-01-24 11:09:16 +08:00
Joilnen f448cf7073
fixing a warning message (#1035) 2023-01-22 14:10:39 +08:00
Deal(一线灵) 542fe86aab
Update CCGLViewImpl-desktop.cpp 2023-01-22 07:39:46 +08:00
halx99 bfc4e0b890 Fix ci 2023-01-21 21:57:28 +08:00
halx99 db1b74466c Fix ci 2023-01-21 20:04:58 +08:00
halx99 704b1655eb Fix osx ci 2023-01-21 19:24:58 +08:00
halx99 21d8495792 Fix ci 2023-01-21 18:49:02 +08:00
halx99 668da36bcf Unify CCGLViewImpl-desktop 2023-01-21 17:57:56 +08:00
halx99 559e958bc3 Fix osx ci 2023-01-21 16:56:04 +08:00
solan-solan 64034df2ad
GL_RGBA32F GL backend support (#1034)
* Added GL_RGBA32F_EXT for GL backend to support floating point textures.

* Committing genbindings changes

* Added fp texture constant to mtl.

Co-authored-by: solan-solan <solan-solan@users.noreply.github.com>
2023-01-19 22:10:41 +08:00
halx99 9f94bd461e Fix #1032 2023-01-17 10:06:09 +08:00
Deal(一线灵) 2b0484a40b
Update CocosGUI.h 2023-01-12 11:55:16 +08:00
halx99 047574d8e6 Update comment [skip ci] 2023-01-12 09:54:47 +08:00
halx99 9eb65309b9 Don't use deprecated function 2023-01-11 23:28:22 +08:00
halx99 d1e9308ede Improve windows optional modules 2023-01-11 22:28:14 +08:00
pietpukkel 6c7d2a26c3
Resize on Windows (#1026)
* Resize on Windows

Fixed resize on Windows

* Better code quality

Co-authored-by: <halx99@live.com>
2023-01-11 22:24:43 +08:00
halx99 d56efd5a57 Make linux defautSearchRoot same with win32 2023-01-10 23:06:04 +08:00
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