Commit Graph

28 Commits

Author SHA1 Message Date
pandamicro
dba83c270d Fix multi blank lines (#11116) 2022-05-17 11:56:06 +08:00
Santy-Wang
23de9188ba V3.5 docs (#10898)
* adjust api docs and delete useless annotation

* delete useless annotation
2022-04-27 15:22:22 +08:00
Leslie Leigh (李的序)
d5154269e2 Fix log() takes not effect if debug mode <= verbose (#9681) 2021-11-18 12:00:24 +08:00
Jare Guo
00cf281cf0 switch error url to develop branch (#9582) 2021-10-30 22:16:01 +08:00
Santy-Wang
c80722cd8f Revert "Match Creator's universal module resolution algorithm (#9174)"
This reverts commit ebf2754bc3.
2021-08-19 14:08:52 +08:00
Leslie Leigh (李的序)
ebf2754bc3 Match Creator's universal module resolution algorithm (#9174) 2021-08-18 10:08:46 +08:00
Leslie Leigh (李的序)
dbcc52cf1e Fix cc.debug (#9081) 2021-07-27 17:51:38 +08:00
santy-wang
aa4a55aab5 Merge branch 'v3.1-release' of github.com:cocos-creator/engine into dev 2021-04-29 15:59:25 +08:00
Leslie Leigh (李的序)
08926421ce Add log method with verbose level; verbose on zero duration clip (#8519)
* Add log method with verbose level; verbose on zero duration clip

* Lint

* Rearrange DebugMode values
2021-04-26 15:20:08 +08:00
YuLei Liao
a7b726bfad make assert() as valid assertion function (#8408) 2021-03-31 13:43:39 +08:00
Yun Hsiao Wu
a99d078f46 adapt native gfx layer changes (#8350)
* fix precompile combinations

* remove memory pool type hacks

* sync gfx defines
2021-03-19 16:24:36 +08:00
Leslie Leigh (李的序)
9bd9baac12 Eslint autofix all (#8108)
* Eslint autofix all

* Manual fix
2021-01-09 11:41:10 +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
Knox
37fec6341f sync 2d (Update the url links) (#7613) 2020-10-28 17:06:27 +08:00
Jare Guo
a0a992de5d remove asserts from addChild & sync 2D changes (#7479)
* remove asserts from addChild

* expose js._registeredClassIds & js._registeredClassNames (sync #3174)

To unload scripts dynamically.
Also revert part of changes from https://github.com/cocos-creator/engine/pull/3204/files#diff-cabe5229c3c6e31339220008e54fe853L421

* remove unused code (sync #3174)

* minor tweak (sync #3421)

* should not invoke component if destroy() called before node activating (sync #3430)

* node should removed and destroyed with scene (sync #3456 #3483)

* fix WebGL detection on Android browsers (sync #3510)

* remove redundant right shift for bitwise operation (sync #3754)

* fix label blur when using dark font color (sync #3949)

* refine tooltip of Block Input Event (sync #4053)

* fix IE/Edge exception when output log/warn before engine initialization(sync #4447, #4500)

* sync class, attribute (#4689, #4712, #4781, #4712)

* fix loading unknown texture format (sync #4820)

* prefer toLowerCase to toLocaleLowerCase + sync #5114

* optimize bezier calculation (sync #5155)

* fix potential memory leak in scene-editor (sync #5643)

* fix _posDirty error of Mask on native platform (sync #6168)
2020-10-15 17:28:14 +08:00
ChiaNing
15a1806d18 API doc format change (#7456) 2020-09-28 16:52:52 +08:00
Leslie Leigh (李的序)
adfdb67bb8 Eliminate cc.* log functions invocation (#6845) 2020-06-10 14:19:11 +08:00
Leslie Leigh (李的序)
5e2adea787 Rename internal usages of global variable 'cc' into 'legacyGlobalExpo… (#6680)
* Rename internal usages of global variable 'cc' into 'legacyGlobalExports'

* Fix CI

* Rename 'legacyGlobalExports' -> 'legacyCC'
2020-05-14 15:46:45 +08:00
pandamicro
276a7f200a Partial API translation for core and related tweaks (#6534)
* Event api translation

* Event manager API translation

* Macro cleanup and API doc improve

* Code cleanup and API translation in core/platform,

* Use macro.ENABLE_WEBGL_ANTIALIAS for initialization

* tweak

* Improve singleton ref in view

* Fix ci

* Export sys without default
2020-04-16 11:38:24 +08:00
Leslie Leigh (李的序)
e23ddb23f1 Provide .d.ts file for illustration of DebugInfos.json (#6340) 2020-03-17 16:20:42 +08:00
Leslie Leigh (李的序)
284aa38d25 Build time constants (#6256)
* consts

* Bump @cocos/build-engine version

* Fix

* Upload @cocos/build-engine

* Rm scripts/build-engine/.gitignore
2020-03-11 14:05:22 +08:00
ChiaNing
70f13f7cb6 api doc update (#5909) 2019-12-18 15:42:26 +08:00
Yun Hsiao Wu
10c49e68f6 [chore] misc opts (#5898)
* pipeline linter fix

* instance support

* reuse render obejcts

* fix ci

* fix model ID
2019-12-18 14:35:34 +08:00
ChiaNing
01cef26d55 debug info bug fix (#5461) 2019-09-24 18:40:55 +08:00
Yun Hsiao Wu
a7fa5916f9 effect: indirect property (#5449)
* better texture size check

* effect: indirect property

* change to error ID
2019-09-24 11:22:24 +08:00
SijieWang
b215a60e3e Delete some of the Editor references (#5345)
* Delete some of the Editor references

* review code

* test case
2019-09-09 09:58:31 +08:00
pandamicro
9f89b0ef24 New module division (#5285)
* Temp

* temp

* move ui core

* Arrange ui and terrain

* Fix import path for all modules except core

* Move primitives into core

* Fix debug.getError

* Move audio-downloader to audio module

* export game from game.ts

* Migrate load-pipeline to ts

* Fix core modules and cleanup

* Move animation into core

* Fix module exports

* Fix director issue

* Remove most cc.director usage

* Fix ts issues

* Fix issues for unit test and editor running

* Revert removing deprecated import

* tweaks

* tweaks

* Fix ci

* Fix ci

* Add modules in module division

* Upgrade coordinates-converts-utils
2019-08-30 11:35:22 +08:00