Commit Graph

202 Commits

Author SHA1 Message Date
Leslie Leigh (李的序) 863d80a4e7 Add easing method to quat curve (#9179)
* Add easing method to quat curve

* Update

* Fix unit test

* lint
2021-08-16 14:54:22 +08:00
pandamicro 37671f8063 Fix IsClientLoad missing (#9175) 2021-08-13 15:25:02 +08:00
媛媛 7801987f7f fix missing class report (#9137) 2021-08-05 11:00:39 +08:00
Leslie Leigh (李的序) 3a52b35f3c Optimize CCON related messages (#9122) 2021-08-04 10:02:53 +08:00
Santy-Wang 9372754099 handle effect asset update in editor (#9118)
* handle effect asset update in editor

* refine

* refine
2021-08-03 15:11:24 +08:00
cary 6bf82a91ee Delete support of onAfterDeserialize_JSB. (#9075) 2021-07-27 15:04:30 +08:00
Leslie Leigh (李的序) ea88c48589 CCONBinary: chunk align as 4->8 (#9065) 2021-07-27 14:57:23 +08:00
Jare Guo b8e2d4fbce Clarify the handling of non-CCClass types by dynamic deserialization (#8624)
Uniform with serialization rules.
2021-07-27 13:56:34 +08:00
Santy-Wang 41e0656cfa support cconb in other platform (#9055)
* support cconb in minigame

* preprocess extension

* refine

* remove generic type

* dont change ext
2021-07-23 22:36:27 +08:00
Santy-Wang 00367f39e1 support auto-finalization in editor (#9008)
* support auto-finalization in editor

* refine

* refine

* handle global variable

* refine

* fix bug

* refine

* use debug instead
2021-07-23 15:10:40 +08:00
Leslie Leigh (李的序) 6d10f68ef8 AnimationCurve (#8409)
* AnimationCurve

* Mark curve frame values as uniquelyReferenced

* Adjust modules

* Update

* Manually implements KeyframeCurve.iterator

* TargetPath

* Update

* Fix BUG

* Fix

* Add size track

* Update

* Fix size; unit tests

* fix split animation (#24)

* CCONB animation clip; Remove integer track/channel/curve

* Optimize key shared curves

* Remove keyframecurve.empty

* Exotic animation

* Fix unit tests

* start/end -> left/right

* Curve range rename

* Easing methods

* Fix untyped track

* Fix

* fix upgradUnTypedTracks (#26)

* Rename

.interpMode -> .interpolationMode
RealInterpMode -> RealInterpolationMode
QuaternionInterpMode -> QuaternionInterpolationMode
ExtrapMode -> ExtrapolationMode
.preExtrap -> .preExtrapolation
.postExtrap -> .postExtrapolation
QuaternionCurve -> QuatCurve
QuaternionKeyframeValue -> QuatKeyframeValue

* Update pre/post extrap

* Optimize-1

* Optimize-2

* Eliminate for-of

* Mark deprecateds

* Hide RealKeyframeValue/QuatKeyframeValue Constructor

* Fix quat keyframe value name

* Error ID

* Fix RealKeyframeValue editor extras

* Elimanate for-of forEach

Co-authored-by: zheng han <sunstar198941@gmail.com>
2021-07-23 11:26:55 +08:00
Leslie Leigh (李的序) 4cb8eeeffd Support CCONB asset loading (#8996)
* Support CCONB asset loading

* Lint

* Optimize
2021-07-18 22:54:16 +08:00
Leslie Leigh (李的序) bc817790b8 Add flag to indicates if is targeting CCON (#8990)
* Add flag to indicates if is targeting CCON

* Fix

* Fix

* Add case

* Fix __id__: 0
2021-07-16 11:32:12 +08:00
黄森斌 8e03bfea2e V3.3.0 property decorate add group configuration (#8972)
* change decorate tab to group

* fix inspector edit bug on utils prop

* optimize options of 'group' decorate

* group id replace group key
2021-07-16 11:23:19 +08:00
pandamicro 9849fdd1f4 Add some object flags (#8987)
* Support number key in EventTarget

* Add replicated and clientLoad

* Update main license

* Fix ci

* Fix ci

* Fix ci

* Fix ci

* Move object getter setter to functional style API

* Adjust

* Add SERVER_MODE constant
2021-07-15 19:41:08 +08:00
Leslie Leigh (李的序) f3c0ffbcf4 Fix compiled deserialize (#8983) 2021-07-15 15:02:27 +08:00
Leslie Leigh (李的序) 705c977fc9 Binary serialization (#8946)
* Binary serialization

* Update snapshots

* Update

* rename option ccon -> useCCON

* Missing script

* encodeCCONJson: chunks -> chunkURLs

* Update

* (de)serializeSymbol -> (de)serializeTag;

* CustomizedSerializable -> CustomSerializable

* _deserializePrimitiveObject -> _fillPlainObject

* Unify CCClass CCClassConstructor

* encodeCCONJson -> parseCCONJson

* Custom serializable

* Move (de)serializeSuper(This) from context into global

* property -> read(write)Property; (de)serializeThis(Super) -> (read)writeThis(Super)

* CI and lint

* Mock cc env
2021-07-15 10:21:25 +08:00
PP d7067c29c8 deprecate interface in View module && support pal/screenManager (#8836)
* remove BrowserGetter

* deprecated view.adjustViewportMeta

* deprecate view.enableAutoFullScreen and view.isAutoFullScreenEnabled

* remove view._adjustSizeKeepCanvasSize

* remove view._convertMouseToLocation, view._convertTouchWidthScale and view._convertTouchesWithScale

* remove view._originalDesignResolutionSize

* deprecate cc.winSize and cc.visibleRect

update

* access local winSize

* access local visibleRect

* deprecate view.getVisibleOrigin view.getVisibleOriginInPixel

* Revert "deprecate view.getVisibleOrigin view.getVisibleOriginInPixel"

This reverts commit 1ae9e1d5c51d8c701eaa2e4a65cd4c17e5f6d971.

* Revert "deprecate cc.visibleRect"

* optimize screen module

update

* update

update

* optimize deprecation info

* rename pal/system to pal/systemInfo

* update pal/systemInfo access in engine layer

* support pal/screenManager

* update pal/screenManager access in engine layer

* fix bug

* optimize deprecation info

* fix auto fullscreen

* fix ci

* fix ci

* update change request

update

update

* fix CI
2021-07-09 18:57:03 +08:00
Leslie Leigh (李的序) ac53e5e60e Fix dynamic deserialize error when build (#8948) 2021-07-09 11:18:32 +08:00
Leslie Leigh (李的序) 34ae92c933 Optimize loader (#8945)
* ss

* Cleaner asset manager implementation
2021-07-08 14:51:01 +08:00
GengineJS 3950b7fac6 Export math library attribute values ​​and fix tween not working (#8911) 2021-06-30 11:43:05 +08:00
Leslie Leigh (李的序) 93e76714c6 Class decorator uniquelyReferenced (#8894)
* Class decorator unique

* unique -> uniquelyReferenced

* Add unit test

* Update doc

* Optimize for non-serialization env

* Update
2021-06-29 16:06:40 +08:00
santy-wang c5dd05fbf1 Merge branch 'v3.1.2' of github.com:cocos-creator/engine into v3.3-merge 2021-06-28 14:40:34 +08:00
Leslie Leigh (李的序) 9dcf57bf46 Fix editor extendable mixin (#8889) 2021-06-25 15:49:32 +08:00
Leslie Leigh (李的序) b7d2be4ef7 Fix editor extendable (#8782)
* Fix editor extendable

* Update editor-extendable.ts

* Update editor-extendable.ts
2021-06-21 13:55:02 +08:00
Leslie Leigh (李的序) 9be4e5e2cf Add editor extendable 2021-06-21 13:55:02 +08:00
Yun Hsiao Wu d1d077c098 gfx: sRGB texture support (#8822) 2021-06-17 18:09:57 +08:00
Leslie Leigh (李的序) 0ddc51ac71 Implements array.move() (#8790) 2021-06-09 11:34:58 +08:00
Leslie Leigh (李的序) b8bed774df Fix editor extendable (#8782)
* Fix editor extendable

* Update editor-extendable.ts

* Update editor-extendable.ts
2021-06-08 11:27:54 +08:00
Leslie Leigh (李的序) 34942a1894 Add editor extendable (#8778)
* Add editor extendable

* Update signature

* Doc
2021-06-07 19:58:23 +08:00
zheng han 4ce1bc896e add editorExtras to CCObject (#8766) 2021-06-04 16:58:42 +08:00
troublemaker52025 08ae25a974 [ v3.3 ] add getter & setter for CCObject._objFlags (#8630)
* add  getter & setter for CCObject._objFlags

* update
2021-05-11 10:46:47 +08:00
Santy-Wang 2b3ab66a47 add asset place holder and remove deferred loading (#8473)
* remove deferred loading and add place holder

* resolve circle referenced

* support most of asset

* refine

* fix bugs

* refine

* should use getClassId

* change name

* change name

* change isPlaceHolder to isDefault
2021-04-19 19:48:27 +08:00
PP 7ed0e73a84 remove deprecate warning in engine (#8482)
* remove deprecated BrowserType usage

* remove deprecated OS usage

update

* remove deprecated Platform usage

* fix esLint
2021-04-19 14:14:51 +08:00
Leslie Leigh (李的序) 2cd6091e2b Support reflect property "tab" (#8437) 2021-04-16 15:37:47 +08:00
Leslie Leigh (李的序) b7eb45411a Add editable attribute fixedArrayLength (#8368) 2021-04-14 13:37:44 +08:00
zheng han ad276d99e8 V3.1 prefab nested apply (#8412)
* add or remove component in prefabInstance

* fix type

* app mounted children

* remove editorOnly import

* remove _mountedRoot here and let editor polyfill it~
2021-04-12 15:46:20 +08:00
troublemaker52025 05a72cdee1 Delete private node for v3.1 (#8382)
* delete private node

# Conflicts:
#	cocos/core/scene-graph/private-node.ts

* update

* Alias of Node

* update

* dont use enum ALL

* fix bug for editor

* update

* update

* update

* Retaining deprecated objects

* update

* update

* update

* using warnID and update EngineErrorMap.md
2021-04-08 17:47:05 +08:00
ChiaNing 90d94fead6 api module change (#8272)
(cherry picked from commit 314ede133cd6b1873b6f71876f16947733de2c46)
2021-02-25 17:31:08 +08:00
Leslie Leigh (李的序) 13baf8a845 binarySearch series functions: document and unit test (#8114)
* binarySearch series functions: document and unit test

* Fix lint errors

* Update

* Update

* Update
2021-01-11 11:51:16 +08:00
Jare Guo 0f4a49a5ec deserializer: Fill default asset value as null for primitive objects (no constructor) (#8113) 2021-01-09 16:18:49 +08:00
Leslie Leigh (李的序) 9bd9baac12 Eslint autofix all (#8108)
* Eslint autofix all

* Manual fix
2021-01-09 11:41:10 +08:00
zheng han 53f8360a07 new prefab system (#8000)
* add prefab instance

* add prefab instance

* support add normal child in prefabInstance

* add prefabInstance check

* remove active restore

* remove unused method

* fix CI

* add children in prefabInstance

* format

* fix ci

* fix according to review suggestion

* add null check

* fix CI

* move prefabInstance into prefabInfo

* fix problem according to review
2020-12-28 21:49:27 +08:00
Leslie Leigh (李的序) a3207d6bcb Suppress no-initializer warns if the property is declared to have object type (#7917)
* Suppress no-initializer warns if the property is declared to have object type

* Use 'default' in

* Update

* Revert

* Revert

* Update
2020-12-15 17:23:41 +08:00
Jare Guo c10676df3c remove onBatchRestored & prefab._synced flag (sync #7163 #7271) (#7803) 2020-12-09 10:42:16 +08:00
Leslie Leigh (李的序) b8a56aba6a Override dynamic-serialize in production build (#7844) 2020-12-07 14:50:13 +08:00
Jare Guo dc2a731c7e Cocos Creator 3D -> Cocos Creator (#7823) 2020-11-19 19:14:30 +08:00
Jare Guo b5ba2e5dbe fix texture preloading (sync #7581) (#7802)
* fix texture preloading (sync #7581)

* fix prefab revert problem for render component (sync #7385)

* tweak API docs (sync #7525)

* Update Readme (sync from 2D)

Co-authored-by: Nisar Hassan Naqvi <syednisarhassan12@gmail.com>
2020-11-18 10:47:23 +08:00
pandamicro b162e21a93 Update license and API language declaration (#7750)
* Update licenses

* Update license for audio

* Update license for core/3d

* Update license for animation, assets, asset-manager, components, data

* update license for event, geometry, gfx

* update license for core modules

math, memop, pipeline, platform, primitive, renderer, scene-graph, utils, value-types

* Update license for core

* Update license for particle and particle-2d

* Update license for particle part2

* Update license for physics and physics-2d

* Update license for all modules in cocos

* Update license for exports

* Fix API doc language declaration
2020-11-10 17:36:31 +08:00
Yun Hsiao Wu 32598c25cb switch to eslint (#7727)
* switch to eslint

* eslint: extends airbnb
2020-11-09 10:19:12 +08:00