Commit Graph

1503 Commits

Author SHA1 Message Date
halx99 b459acbcf7 Remove all unnecessary nothrow 2021-12-08 00:11:53 +08:00
halx99 00d8a4ef5d
Fix ci 2021-12-01 12:02:42 +08:00
halx99 629b882230
Improve code style 2021-12-01 11:49:42 +08:00
aismann 6a41776f20 change all setString(const std::string & ...) to setString(std::string_view ...)
Change all methods inherited from virtual void setString(std::string_view label) = 0;
2021-11-30 20:35:34 +01:00
榆柳松 e001ae7194
ScrollView sometimes shows incorrect position in vertical direction. (#532) 2021-11-04 17:08:33 +08:00
halx99 0ce675aa5a Fix reviews 2021-10-24 21:55:48 +08:00
halx99 83618b7e23 Resolve reviews 2021-10-24 14:09:59 +08:00
halx99 cc2ba51ed6 Use struct `Vec2` instead `Size` 2021-10-23 23:27:14 +08:00
rh101 46befe3fab Use rapidjson for parsing webview json data
Rename methods
2021-10-07 00:37:37 +11:00
rh101 5a2c050bbe Move url encode and decode methods to ccUtils 2021-10-05 12:50:01 +11:00
rh101 def5da447c Add comments, use SUCCEED macro to check for success on windows API calls. 2021-10-05 09:22:48 +11:00
rh101 55d4affcc1 Remove incorrect style settings on Windows control for webview
Set focus to the webview control when it is created
2021-10-05 00:14:50 +11:00
rh101 7ddddf9bb7 Remove initialization of missing variable 2021-10-05 00:10:15 +11:00
rh101 3ef9148745 Support clean cache data before loading URL
Remove unused class members
2021-10-05 00:04:30 +11:00
rh101 1d2ff2265f Removed unused code and added invoke method comments to identify which ICoreWebView2 interface they belong to 2021-10-04 23:50:04 +11:00
rh101 f95774ae54 [skip ci] Fix copyright notice 2021-10-04 19:56:22 +11:00
rh101 fe991bbc1c Fix typo 2021-10-04 19:34:10 +11:00
rh101 9857ea8732 [setup.py] Add download support. Add NuGet CLI download to tools folder.
Download NuGet Microsoft.Web.WebView2 package version 1.0.992.28
Add support for WebView for Windows builds.
2021-10-04 18:55:01 +11:00
榆柳松 ac1aa636ac Merge remote-tracking branch 'upstream/dev' into dev 2021-09-05 20:45:32 +08:00
榆柳松 f5663f279c [fix]ScrollView and ListView goes back to the front incorrectly after calling doLayout. 2021-09-05 20:44:14 +08:00
halx99 210999f9e7 Update some copyright notice 2021-09-03 10:59:08 +08:00
halx99 e11f489750 Fix #491 2021-09-03 10:49:44 +08:00
rh101 de182c8360 Change %ld to %d for 32bit data types
Regenerate LUA bindings
2021-09-02 17:46:22 +10:00
rh101 4d1ff40736 Usage of long and unsigned long changed to platform independent fixed-sized types where appropriate. 2021-09-02 15:39:28 +10:00
halx99 c354461982 Enum compatible [skip ci] 2021-08-31 15:50:18 +08:00
halx99 d7e590b513 Fix win64 build 2021-08-27 08:33:17 +08:00
halx99 a3f8cf28ed Improve code style 2021-07-15 23:10:36 +08:00
halx99 bc6ebd920a Improve code quality 2021-07-15 23:03:43 +08:00
halx99 5b13927d47 Fix ci warnings [ci build] 2021-04-26 17:28:58 +08:00
halx99 41f5307d36 Refine director access [ci build] 2021-02-05 23:09:14 +08:00
HALX99 7fd68a77dc
Merge pull request #286 from rh101/add-center-vertical-layout-support
Add support for center vertical layout
2020-11-26 23:43:25 -08:00
HALX99 4c1ff6bd01
Merge pull request #285 from rh101/fix-listview-dimensions
Fix ListView dimensions when child elements are scaled
2020-11-26 23:08:30 -08:00
rh101 369bef3614 Add support for center vertical layout 2020-11-27 17:24:07 +11:00
rh101 f113e1f2ed Fix ListView dimensions when child elements are scaled. 2020-11-27 17:02:31 +11:00
rh101 ee996a5cfb Ensure global Z is correctly set on all child items of EditBox 2020-11-27 16:59:34 +11:00
halx99 ca42ef08ba Refine jni methods decls [ci build] 2020-11-18 13:25:00 +08:00
halx99 01b4965184 Add missing JNIEXPORT 2020-11-13 23:03:05 +08:00
halx99 343b0343f3 Use move assignment 2020-10-07 23:59:26 +08:00
halx99 e28a292ec3 API qualifiers improments 2020-10-07 00:07:53 +08:00
HALX99 235f09f635
Refactor pixel format manipulate (#217)
* PixelFormat use table

* Correct PixelFormat name to match 'GL_LUMINANCE'

* Up

* fix cube update texture enum

* linux build

* Refine ci

* fix linux build

* Remove unused function, match mtl framebuffer pixel format

* readPixels always RGBA format

* fix ci for linux

* fix linux build

* Remove unused functions

* fix travis

* fix android ci

* Update config.json

* linux glad

* Update CCGLViewImpl-desktop.cpp

* fix linux build

* Fix linux build

* Link issue [skip appveyor][skip travis]

* Update CMakeLists.txt

* Refine GL enums use

* Update test case name [skip appveyor][skip travis]

* fix linux link issue

* for mtl

* fix ci

* Tidy pixelformat enums

* fix ci

* fix rgba8 to abgr4 error

* fix ci

* fix ci for GLES

* Fix linux build, require glibc-2.27+

* Use properly dist for travis [skip appveyor]

* fix linux build [skip appveyor]

* Update install-deps-linux.sh

* Remove unused members for pixel block info, update external to v73

* Sync from compile linux warnings

* Remove unused check, and PixelFormat::A8 is ordinary format, not compressed format

* metal doesn't support rgb8 (#3)

* Update CCTexture2D.cpp

* Refine code

* Pixel Format Descriptor Table

* fix ci

* BGR5A1

* Simplfy texture format convert function name

* Update

* rgba4 match mtl render format

* Add note about RGBA4

* Remove unused function

* fix osx

* Already converted at texture2d

* Clearly comment

* fixup
2020-09-25 11:07:56 +08:00
HALX99 5a32bcfdaf
RenderTarget abstract, in-progress (#210)
RenderTarget abstract
2020-09-21 22:10:50 +08:00
minggo 56e0b77c8c close keyboard when Done is pressed (#20341)
* close keyboard when Done is pressed
2020-08-28 14:50:52 +08:00
halx99 6be52c29e7 Sync LayoutHelper APIs 2020-08-26 12:46:41 +08:00
halx99 a567820461 Improve code quality 2020-08-18 14:29:09 +08:00
halx99 9d9067dec4 Backport CCValue APIs 2020-08-18 11:33:18 +08:00
halx99 b6875eb8e0 Sync optimize code from v3 2020-08-06 17:37:34 +08:00
halx99 b2c23feee7 Tidy sources 2020-08-04 00:14:35 +08:00
halx99 b142167560 Huge changes, move spine,dragonbones,cocostudio to extensions folder, future make all extensions pluginable 2020-08-03 17:51:40 +08:00
HALX99 a434e0c37d
Optimize, avoid include self.
Even through all compiler can handle it, we should not do that include, thanks: https://github.com/cocos2d/cocos2d-x/pull/20525
2020-05-20 08:56:12 +08:00
halx99 e379fc513d Refactor CCValue. 2020-03-03 19:24:07 +08:00