dogeFu
09e000266d
feature : add EDITOR_NOT_IN_PREVIEW marco ( #15354 )
...
* feature : add marco for editor preview and refactor code with new marco
* refactor: replace GAME_VIEW with EDITOR_PREVIEW
* Revert "refactor: replace GAME_VIEW with EDITOR_PREVIEW"
This reverts commit e28953e9e7acbb49dc5bdc650b2ff65510d4b084.
* update cc config json
* refactor code
* remove uselese parentheses
* set ccglobal to be false
* skip global variable test case
2023-06-07 17:52:51 +08:00
PP
1ba9c61ac2
fix: undefined getWritableComponents on native platformed ( #15190 )
2023-05-25 17:12:44 +08:00
江战
3bf3b624d6
fix node.setSiblingIndex ( #14956 )
2023-05-15 11:14:36 +08:00
James Chen
614a8b0579
Revert "Bugfix: fix nodeProto.setSiblingIndex ( #14943 )" ( #14955 )
...
This reverts commit 96e32ca969 .
2023-05-04 11:35:12 +08:00
江战
96e32ca969
Bugfix: fix nodeProto.setSiblingIndex ( #14943 )
2023-05-04 10:00:28 +08:00
minggo
a22d16bbe6
Merge branch 'v3.7.3' into merge_v3.7.3
2023-04-24 11:26:58 +08:00
江战
f835202a80
bugfix: node.jsb.ts addComponent _requireComponents can be an Array ( #14850 )
2023-04-20 11:02:30 +08:00
minggo
1049ec7c6b
make _siblingIndex/_parent to protected ( #14667 )
...
* make _siblingIndex/_parent to protected
* add modifyParent to modify _parent value only
2023-03-28 14:12:03 +08:00
PP
e01ac3ee05
add tracking issue for TODO item ( #14638 )
...
* issue 14637
* issue 14640: animation module
* issue 14642: serialize deserialize hack
* issue 7519: pal/image
* issue 14643: dynamic inject
* mark as NOTE
* issue 14644: native only
* issue 7512: pal/fs
2023-03-23 16:42:46 +08:00
PP
3cb698c8aa
add more jsb interface info && fix some types ( #14628 )
...
* add jsb interface info
* mark TODO
workaround
* fix type
* remove some new ts-expect-error
* fix type in strict mode
2023-03-22 15:22:09 +08:00
PP
fa51b804b5
remove and ban @ts-expect-error ( #14572 )
...
* remove ts-expect-error usage in engine
* deprecate Scheduler interface
* remove JavaScriptCore
* set some engineInternal public property as getter setter
* fix build-declaration
* fix releaseManager export name conflict
* update scriptEngineType
* fix and update some comment
* remove w_mat, w_pos, w_rot, w_scale
* update renderer
* fix setRootBufferDirty not binding on native
* optimize floatToHashString
* mark NOTE
2023-03-20 13:48:26 +08:00
PP
cddfa8c47b
cherry-pick: AOT: add jsb interface type ( #14368 ) ( #14544 )
...
* cherry-pick: AOT: add jsb interface type (#14368 )
2023-03-15 11:40:55 +08:00
santy-wang
0a81bf445e
Merge branch 'develop' of github.com:cocos-creator/engine into v3.7.2
2023-03-13 16:51:47 +08:00
PP
386ec2895a
[cherry-pick] AOT-3: optimize uinstrict code ( #14315 ) ( #14523 )
...
* AOT: optimize uinstrict code
- mark some unstrict code as TODO
- remove some unstrict code
* update comment
* remove ts-check
# Conflicts:
# cocos/2d/framework/deprecated.ts
# cocos/asset/assets/image-asset.jsb.ts
# cocos/asset/assets/texture-base.ts
# cocos/core/assets/image-asset.ts
# cocos/core/math/rect.ts
# cocos/core/scene-graph/scene-globals.jsb.ts
# cocos/native-binding/impl.ts
# cocos/scene-graph/node-dev.ts
# cocos/scene-graph/scene-globals.ts
# exports/sorting.ts
2023-03-10 13:36:45 +08:00
江战
b2bb2bf559
jsb classes apply decorator from .ts source files ( #14403 )
...
* decorator parser
* remove used variable
2023-03-07 10:34:50 +08:00
江战
a6684b18c9
Merge _flagChangeVersion and _hasChangedFlags, Use Single uint32_t to Save Memory and Avoid Inconsistencies ( #14454 )
...
* merge _flagChangeVersion & _hasChangedFlags into single uint32_t
2023-03-07 10:27:51 +08:00
王凯鹏
79522d458a
[Bug] fix component's resetInEditor not invoked in Editor ( #14465 )
...
* [Bug] fix component's resetInEditor not invoked in Editor
* add change to jsb node
2023-03-03 18:39:17 +08:00
ChiaNing
a769f3fb5a
change node dirtyFlag name & add interface ( #14396 )
...
* change node dirtyFlag name & add interface
2023-02-28 13:47:23 +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
李吉林
093b6972df
V3.7.2 light probe baking changed ( #14134 )
...
* add onLightProbeBakingChanged
2023-02-02 21:00:16 +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
bofeng-song
0aefeaa795
Fix the problem that addComponent does not check if the same type of component is allowed to exist at the same time ( #13916 )
2022-12-27 10:47:10 +08:00
李吉林
b857bd1cc8
remove emitting onAncestorTransform ( #13823 )
...
* remove emitting onAncestorTransform
2022-12-15 13:36:47 +08:00
李吉林
42b5d4628f
add cpp call js function ( #13731 )
...
* support emitting MobilityChanged & AncestorTransformChanged events in c++
2022-12-08 11:23:43 +08:00
James Chen
c89c532b6d
[native] Fix some decorators are missing. ( #13651 )
...
* [native] Fix some decorators are missing.
2022-12-05 15:46:42 +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
李吉林
82b4a419cd
fix light probe cropping ( #13137 )
2022-10-25 11:39:53 +08:00
李吉林
a9d4e13f85
Light probe merge ( #13093 )
...
* add light probe
2022-10-19 22:34:21 +08:00
mmyduckx
1099d95c0b
fix node.targetOff on native ( #13063 )
2022-10-17 16:52:26 +08:00
minggo
0d7c5c8f56
move cocos/core/scene-graph to cocos/scene-graph ( #12868 )
...
* move `cocos/core/scene-graph` to `cocos/scene-graph`
* move some files in `cocos/core/components` to `cocos/scene-graph`:
- component.ts
- component-event-handler.ts
- component-event-handler-schema.ts
* move some files in `cocos/core/components` to `cocos/misc`:
- missing-script.ts
- model-renderer.ts
- renderer.ts
- camera-component.ts
* move `cocos/core/components/system.ts` to ``cocos/core/system.ts``
2022-09-26 11:02:22 +08:00