Commit Graph

103 Commits

Author SHA1 Message Date
j-jorge b8202ed918 Fix missing return value in EditBoxImplLinux::getNativeDefaultFontName(). (#1250) 2023-07-01 08:49:17 +08:00
halx99 3eac3abecf Sync yasio to latest 2023-06-24 21:18:27 +08:00
Deal(涓€绾跨伒) feffe4095c Update 3rd sources (#1240)
- llhttp: 8.1.1
- yasio: latest
- recast 1.6.0
- openal-soft: latest for official UWP support
- glad 2.0.4
- libpng 1.6.40
- astcenc 4.5.0
- Add fastlz: latest
- Disable lz4 by default
2023-06-24 09:17:14 +08:00
halx99 1ed5596377 Update docs 2023-06-12 14:15:37 +08:00
halx99 85111a4cc3 Improve engine version definitions 2023-06-12 09:14:23 +08:00
Deal(涓€绾跨伒) abd8029f64 Remove CC prefix from code file name (#1230)
* Add migrate sources tool

* Fix include replace regex

* Fix compile

* Migrate maually

* Disable sources-migrate tool by default

* Fix ci

* Fix ci

* Improve source migrate

* Fix ios/tvos ci

* Fix ios/tvos ci

* Fix
2023-06-11 13:08:08 +08:00
Deal(涓€绾跨伒) bc82034ffd Improve media-engine for android, linux (#1228)
* Improve media-engine
- Implement andorid,linux
- Improve local file uri scheme

* Fix ci

* Improve code style

* Improve

* Update VlcMediaEngine.cpp

* Update AvfMediaEngine.h

* Fix ci

* Improve code style

* Enable androidx gradle.properties [skip ci]

* Improve code style

* Remove unnecessary callbacks

* Rename VideoPlayer to MediaPlayer
2023-06-10 22:05:49 +08:00
halx99 e05d0c4905 [Video] Enable VideoTexture streaming for iOS 2023-06-01 12:48:40 +08:00
halx99 50b9249e28 Update yasio to latest 2023-05-14 22:39:05 +08:00
halx99 cdf65a5ef1 Fix ci 2023-05-14 18:16:24 +08:00
halx99 bee148fe9d Fix RichElementImage scale not initialized 2023-05-03 20:31:07 +08:00
RH 6b9d5fe32d Fix to ensure new line is correctly added to RichText (#1171) 2023-04-13 21:33:29 +08:00
halx99 a63fd04abf Add ui::RichText setString, refer to: #1166 2023-04-05 16:16:57 +08:00
Deal(涓€绾跨伒) 621c94c9e7 Enable video player(VideoTexture) based on new MediaEngine for macOS and tvos (#1154)
* Ready for PR macOS

* Update videoTexture.frag

* Fix compile

* Fix h265 for mac [skip ci]

* Fix compile error

* Update readme [skip ci]
2023-04-02 01:51:36 +08:00
Deal(涓€绾跨伒) 1e6e9d4a8d Media engine video texture (#1133)
* VideoPlayer based on new MediaEngine[Win32/UWP]

* Improve MediaEngine interface

* Update readme

* Improve pixel format

* Improve MediaEngine interface

* Ready for PR UWP/Win32

* Ready for PR UWP,Win32

* Update reademe files

* Update readme files

* Update UIVideoPlayer-android.cpp [skip ci]

* Update UIVideoPlayer-ios.mm

* Update MFUtils.cpp

* Fix ci
2023-03-25 08:37:51 +08:00
halx99 517ffeedc6 Update project url in sources 2023-03-12 01:44:55 +08:00
Deal(涓€绾跨伒) 277bcd44ce Windows Store UWP apps support (#1108)
* [BIG FEATURE] Windows Store UWP apps support

* Fix ci, add uwp for pr-ci

* Fix ci

* Improve ci script

* Fix ci

* Fix ci

* Fix ci

* Fix ci

* Upload uwp appx package artifacts [skip ci]

* Use d2d draw system font text

* Fix ci

* Improve code style
2023-03-11 22:10:18 +08:00
halx99 8bf4817ff7 Fix compile errors in c++17 2023-03-08 08:34:17 +08:00
RH c642b3babc Better richtext word wrapping (#1071)
* [RichText] Do not word-wrap on punctuation characters for better readability
2023-02-23 13:55:42 +08:00
RH b21b34ee66 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 20dcad664b 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 fc5025da10 Fix osx ci 2023-01-21 19:24:58 +08:00
halx99 ae14727dc7 Fix #1032 2023-01-17 10:06:09 +08:00
Deal(涓€绾跨伒) 643d1bfaf0 Update CocosGUI.h 2023-01-12 11:55:16 +08:00
halx99 fa9f663e3a Don't use deprecated function 2023-01-11 23:28:22 +08:00
halx99 5c42e19788 Improve windows optional modules 2023-01-11 22:28:14 +08:00
Turky Mohammed b04c8f5735 [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
halx99 79b90a95dd Fix dll linkage 2023-01-06 18:38:16 +08:00
halx99 bc9e4483e9 Fix ci 2023-01-05 00:31:08 +08:00
halx99 0f97e3fa3a Improve base64 API
Move base64Encode/base64Decode to namespace `ax::utils`
2023-01-01 18:07:18 +08:00
pietpukkel 2dcf76a88a 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
RH 1a0612ca6e 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 2e30b51ab7 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 5f6e1cd42d Fix warnings (implicit conversion loses and use of deprecated function) 2022-11-20 09:58:34 +09:00
joilnen 5214ea1eb1 fixing some warnings compilation in linux gcc 12.2.0 2022-11-14 15:46:27 -03:00
halx99 17f5cd5543 Improve MFMediaPlayer state control 2022-11-14 11:35:38 +08:00
RH 82bcb1ae5f 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 8c18f962d5 馃敤Fix #887 2022-10-12 19:44:31 +08:00
aismann 3ef8ac63f2 rename cocos2d to axmol (#920)
* rename cocos2d to axmol

* rename cocos2d.h to axmol.h

* Update Physics3DTest.cpp

replace Sprite3D -> MeshRenderer
2022-10-12 00:15:09 +08:00
涓€绾跨伒|Deal 79925e07d6 Merge: 6cd36ab02e c26ab44880
Merge pull request #801 from theunwisewolf/dev-richtext-scale-support

RichElementImage - Add support for scaling
2022-10-04 11:08:49 +08:00
涓€绾跨伒|Deal 48a7da97d6 Final migrate (#876) 2022-10-01 16:24:52 +08:00
halx99 82acade5b9 Improve code style 2022-09-24 10:42:11 +08:00
halx99 3a9a26c743 Fix #861 2022-09-23 22:41:30 +08:00
Paulo Coutinho f5aeb5a8c2 Add apple tvos support (#846)
* support tvos

* support tvos and fix run command

* support tvos, fix run script and fix windows files

* support tvos on ci

* support tvos on ci and fix windows zlib

* support tvos on ci

* support tvos

* support tvos and tvos tests
2022-09-05 14:13:52 +08:00
涓€绾跨伒|Deal e37761260a Migrate, use simple namespace ax (#818) 2022-08-29 20:51:22 +08:00
涓€绾跨伒 c6fc93abbc Update README.md 2022-08-18 09:13:09 +08:00
unknown 9a9025aede Add empty check 2022-08-16 15:12:45 +05:30
halx99 6d5e50ded9 Avoid unnecessary double lookup 2022-08-16 17:14:06 +08:00
unknown 9968a7ddcb Add support for width & height in percentage for RichElementImage 2022-08-16 12:09:02 +05:30
涓€绾跨伒 31289482d3 Revert "Support for Apple Silicon / M1" 2022-08-12 16:39:06 +08:00