Commit Graph

15 Commits

Author SHA1 Message Date
江战 c4be6be29d Fixes for GCC compatibility and Linux platform warnings (#14511)
* fix compile error on linux

* ignore more warnning

* move StringPool & StringEqual into StringPool
2023-03-09 09:45:22 +08:00
James Chen 78f4dd8be6 [native] Merge some optimizations from new serialization task (#14338)
* [native] Merge some optimizations from new serialization task

- Optimize the loading time of loading scene which has plenty of nodes.
2023-02-23 14:51:26 +08:00
pandamicro afd22296b4 MIT license update and to new year 2023 (#13927)
* Cpp MIT license update and to date
* TS MIT license update and to date
2022-12-28 11:25:12 +08:00
James Chen e9cc889770 Fix scene.global.skybox is undefined if there is not SceneGlobals data in .scene file (#13724) 2022-12-08 11:38:03 +08:00
James Chen eaa9142b72 Fix missing default values for properties of native classes. (#13642)
* Fix missing default values for properties of native classes.

* Revert setDefaultValue in property.ts , should not return when JSB is enabled.

* Use SetAccessorProperty instead of SetAccessor to bind JS getter & setter.

https://stackoverflow.com/questions/57686545/setaccessor-and-setaccessorproperty-any-difference

* [JSB] Add 'name' property for Node prototype.

* Check whether Root is null in Scene's constructor since editor may new a scene object before Root is created.
2022-12-05 10:08:55 +08:00
minggo 5b88e5121d Merge branch 'v3.6.3' into merge_v3.6.3 2022-11-23 16:19:25 +08:00
江战 d62bf5cd15 add sebind::callFunction with jsThis (#13473) 2022-11-22 16:34:10 +08:00
江战 a9eed94564 Reduce jsb glue code size (#12835) 2022-09-23 16:41:31 +08:00
江战 92a94f5999 CI: downgrade macos & xcode version for iOS (#12716) 2022-09-08 13:45:25 +08:00
江战 319f4c89cc Remove std::optional for Xcode 12 / iOS 11 (#12708) 2022-09-08 09:31:33 +08:00
江战 1b6719a286 [3.6.1][sebind] Add helper function for calling js function (#12591) 2022-08-30 11:52:32 +08:00
James Chen c65f3714d3 Fix the bug of trigger assertion in ValueArrayPool::get. (#12499) 2022-08-22 15:50:07 +08:00
江战 d821ae4e5d Bugfix: shared_ptr type conversion & sebind constructor (#12397) 2022-08-16 16:24:24 +08:00
minggo d40b8739bc Merge branch 'v3.6.0' into develop_merge_v3.6 2022-07-18 10:38:14 +08:00
江战 952bf07ff5 3.6 sebind impl (#11125) 2022-05-25 11:17:36 +08:00