Commit Graph

794 Commits

Author SHA1 Message Date
pandamicro 1102e50750 Fix user reported issues (#2995)
* Cleanup code & fix api doc

* Fix plist parser require issue

* Fix spine null material issue

* Fix Sprite null material issue

* Fix uninit editbox updateString issue
2018-07-19 00:01:20 +08:00
pandamicro e9be28d94e Add CLEANUP_IMAGE_CACHE macro to clear image src after loading (#2993)
* Add CLEANUP_IMAGE_CACHE macro to clear image src after loading

* Fix API doc
2018-07-18 17:12:32 +08:00
Jare Guo f8d38f4adf optimize construction and serialization performance for wechat mini games (#2970)
* optimize instantiate for platform whose CC_SUPPORT_JIT disabled

* optimize instantiate for platform whose CC_SUPPORT_JIT disabled

* optimize object construction for platform whose CC_SUPPORT_JIT disabled

* optimize deserialization for platform whose CC_SUPPORT_JIT disabled
2018-07-13 10:48:17 +08:00
Jare Guo 3d5e88d2c1 optimize performance of object construction on wechat platform (#2965)
* optimize destruct for platform whose CC_SUPPORT_JIT disabled

* define __values__ to replace __props__ used in serialization
2018-07-11 16:25:02 +08:00
Knox 7396874344 fixed isMobile value error to wxgame devtools (#2959) 2018-07-10 15:07:31 +08:00
Knox 53f8b64379 fix fireball/issues/7847 (#2956) 2018-07-09 17:36:04 +08:00
Knox a445600d7f fix Build unchecked md5 will report an error for issues/7845 (#2955) 2018-07-09 15:46:03 +08:00
Jare Guo b30c9e3118 lookup md5 by uuid to reduce size of settings.js (#2947) 2018-07-06 18:02:11 +08:00
pandamicro f1cc4bd5aa Merge remote-tracking branch 'fireball/master' into next 2018-07-02 10:27:46 +08:00
pandamicro c7603a1c63 Refactor engine & game scripts loading process (#2922)
* Remove cc.game.CONFIG_KEY

* Remove cc.game.CONFIG_KEY

* Refactor engine and game scripts loading process

- Make cc.view & cc.director ready when engine loaded
- Load game script before renderer initialize
- Emit EVENT_ENGINE_INITED instead of EVENT_RENDERER_INITED

* Remove cc.macro. ENABLE_GC_FOR_NATIVE_OBJECTS

* Remove cc.loader.resPath usage in VideoPlayerImpl

* deprecated cc.director.getWinSize

* Improve game doc
2018-06-29 16:37:06 +08:00
Jare Guo 142646de80 Merge 1.9
# Conflicts:
#	cocos2d/core/videoplayer/CCSGVideoPlayer.js
2018-06-28 18:35:37 +08:00
knox 85d5ad0683 fix fullScreen and videoplay bug for wxgame 2018-06-28 18:13:42 +08:00
Jare Guo 1441673314 Merge pull request #2919 from cocos-creator/v1.9-release
sync branch
2018-06-28 17:44:56 +08:00
Knox 93804c9f00 fix _unregisterAccelerometerEvent err (#2918) 2018-06-28 15:58:43 +08:00
pandamicro a89af08a6b Improve android p system detection in wechat (#2915) 2018-06-27 15:37:47 +08:00
黄家辉 c632073018 modfity the creator.t.ds (#2912) 2018-06-27 12:55:21 +08:00
pandamicro 698086046f Small issue fixes and modifs (#2904)
* Fix ttf font loading issue

* Avoid update hash for sprite material if not needed

* Small improvements

* Fix director event register issue

* Fix wechat game issue on Android P (no env.system)
2018-06-27 10:30:07 +08:00
Jare Guo e2bc641920 Merge branch 'master' into next
# Conflicts:
#	cocos2d/core/label/CCSGLabel.js
#	cocos2d/core/platform/CCSys.js
#	cocos2d/core/textures/CCTexture2D.js
2018-06-26 11:37:11 +08:00
黄家辉 16e140f118 modify the engine identify function about UCbrowser (#2881) 2018-06-22 19:25:24 +08:00
pandamicro 96e482bd74 Fix view canvas-resize event emit (#2893) 2018-06-22 18:51:14 +08:00
pandamicro 1f39837ac1 Remove cc.Class.isInstanceOf usage (#2877)
* Remove cc.Class.isInstanceOf usage

* Remove check jsb instanceof task
2018-06-19 17:54:48 +08:00
pandamicro 2bdd981917 Full screen show all rendering mode (#2874) 2018-06-19 12:10:31 +08:00
pandamicro b6ad346693 Fix merge issues 2018-06-15 18:46:39 +08:00
pandamicro 03e2af76a5 Merge remote-tracking branch 'fireball/master' into merge 2018-06-15 18:37:33 +08:00
PP 4d229b237a add _unregisterAccelerometerEvent (#2865) 2018-06-15 14:45:05 +08:00
yinkaile 303f20653b add debug camera (#2853)
* add debug camera

* refine code
2018-06-13 11:30:20 +08:00
Jare Guo 36382cffd6 revert cc.inputManager for 1.10 2018-06-08 15:31:28 +08:00
PP f1f2ce4868 add inputManager into _cc (#2836) 2018-06-08 15:09:24 +08:00
PP c70f6de4b8 move inputManger into _cc namespace (#2832) 2018-06-08 13:02:43 +08:00
Jare Guo e018939977 load native asset from raw-assets after build (#2830)
* remove some init code about raw assets

* load native asset from raw-assets after build
2018-06-08 11:05:06 +08:00
PP 148680aec7 move inputManager into namespace _cc (#2825)
simplify _cc.inputManager
2018-06-08 10:32:02 +08:00
pandamicro 1decb6c5ad Do not set retina in view (#2823)
* Do not set retina in view

* Deprecated view.g|setTargetDensityDPI
2018-06-07 17:55:29 +08:00
pandamicro 56a78dde98 Update version and fix small issues (#2809)
* Update version and fix small issues

* Fix issues reported by gcc
2018-06-06 11:57:59 +08:00
Jare Guo 60bcb42d32 support dirtyRegion and retina on UC browser (#2794) 2018-06-05 11:07:18 +08:00
PP ec3798b097 exchange x y axis if view is rotated on DeviceMotionEvent (#2788)
fix babel


commit
2018-06-01 16:09:09 +08:00
Knox c8b9a3c40a fix Accelerometer for fireball/issues/7433 (#2777) 2018-05-31 14:39:28 +08:00
Knox a3b23d033b fix Accelerometer for fireball/issues/7433 (#2774)
* fix Accelerometer for fireball/issues/7433

* refine code
2018-05-31 14:11:34 +08:00
Jare Guo a58c18d5a9 Merge branch 'master' into next
# Conflicts:
#	cocos2d/core/platform/CCSys.js
2018-05-30 21:53:45 +08:00
Jare Guo 9e246f7682 fix uglify-es (#2771) 2018-05-30 21:39:59 +08:00
Jare Guo 2d7f854027 fix uglify-es 2018-05-30 21:37:25 +08:00
黄家辉 54bd44fd65 correct the creator-api-tsd context (#2765) 2018-05-30 14:48:18 +08:00
pandamicro 7bad7ba04d Fix sys merge issue (#2763) 2018-05-29 22:43:37 +08:00
pandamicro dbb8dc4c90 Merge remote-tracking branch 'origin/master' into next 2018-05-29 18:59:36 +08:00
Knox c50ad3f079 fix Label + LabelOutline display error for fireball/issues/7398 (#2748)
* fix Label + LabelOutline display error for fireball/issues/7398

* refine code
2018-05-29 10:57:25 +08:00
pandamicro 2e05573876 Issue fixes and upgrade version (#2749)
* Remove cc.create3DContext

* Check LabelOutline to avoid issue when module absent

* Update to 2.0.0 preview

* Fix AnimationState event API issues
2018-05-28 18:53:59 +08:00
Jare Guo c263ed7795 Merge branch 'v1.9' 2018-05-28 10:36:34 +08:00
pandamicro efaf0c5d4d Merge remote-tracking branch 'fireball/master' into next 2018-05-24 19:04:55 +08:00
黄家辉 a80b52c37c correct the support of webgl for UC browser (#2706) 2018-05-23 10:06:01 +08:00
Knox 81f35845fc Improve checking whether is a subdomain method (#2719) 2018-05-23 10:00:59 +08:00
James Chen 58e360ac89 Supports mouse event for desktop platforms. (#2713)
* Supports mouse event for desktop platforms.

* Adds MouseEvent.js
2018-05-22 20:11:09 +08:00