Commit Graph

773 Commits

Author SHA1 Message Date
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
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 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
pandamicro a7a566ff2a 2.0 alpha 11 issue fixes (#2694)
* Fix variable leak to global scope

* Fix Texture update issue

* Fix video player _playing state setting issue

* Improve macro doc
2018-05-16 17:00:31 +08:00
James Chen fa3783a991 Minor JS logic fixes in CCSys.js and MediaError.js. (#2676) 2018-05-14 15:26:33 +08:00
James Chen cd07d03b7d Removes wx API invocations for JSB projects. (#2668)
* Removes wx API invocation for JSB projects.

* sys.openURL fix for JSB.

* touches, mouse, keyboard capabilities check.
2018-05-11 18:00:40 +08:00
Jare Guo ebf7d7d730 register component to scene after ctor (#2661) 2018-05-10 17:00:59 +08:00
Jare Guo 04d8a432f6 fix _id in editor (#2658) 2018-05-09 19:31:34 +08:00
Jare Guo 550e85b9e2 update _id management (#2648) 2018-05-09 09:58:51 +08:00
pandamicro 8a92606e29 Fix _id reset issue 2018-05-08 19:05:12 +08:00
Jare Guo 35b253c852 Merge branch 'v1.9'
# Conflicts:
#	CCBoot.js
#	cocos2d/audio/CCAudio.js
#	cocos2d/core/sprites/CCScale9Sprite.js
2018-05-08 15:28:58 +08:00
Knox f4568fada0 optimization audio label texture2d , fix sprite bug (#2631)
* optimization audio label texture2d , fix sprite bug

* refine code
2018-05-07 14:24:41 +08:00
黄家辉 4d3a921116 add a new judgement about mobile platform type in wecaht devtools (#2623) 2018-05-07 11:46:38 +08:00
Jare Guo 32205ee27b define apisrc.json in this repo 2018-05-05 18:07:40 +08:00
Jare Guo b24b5c0bfd Merge branch 'v1.9' into master 2018-05-05 14:54:11 +08:00
pandamicro e597e34f4f Remove __instanceId from Node and Component (#2627)
* Add Scheduler.enableForTarget and change to use  _id

* Use _id instead of __instanceId in Texture2D

* Fix ParticleSystem __instanceId usage

* Use _id instead of __instanceId in ActionManager

* Fix usage of Scheduler in InputManager

* Use _id instead of __instanceId in EventManager

* Totally remove ClassManager and __instanceId

* Fix initialization process

* Fix touch & mouse listener off check issue

* Fix id not generated issue

* Fix touch & mouse listener being removed by rejected persist node

* Improve logic
2018-05-04 13:51:21 +08:00
pandamicro 6b655b3717 Merge pull request #2619 from knoxHuang/v1.9-release
Fix qqplay Blue Screen bug when ios version is less than 10,
2018-05-04 10:09:58 +08:00
knox d9a6cd746c improve code 2018-05-04 10:07:38 +08:00
knox 8e45081cab add osMainVersion and supportArrayBuffer to qqplay 2018-05-03 10:03:14 +08:00
knox 1116f8e9d2 Fix qqplay Blue Screen bug when ios version is less than 10, 2018-05-02 16:32:28 +08:00
Jare Guo c47f5aa68e Merge branch 'v1.9'
# Conflicts:
#	cocos2d/actions/CCActionInterval.js
#	cocos2d/audio/CCAudioEngine.js
2018-04-27 14:20:10 +08:00
pandamicro 38c61c70b4 Refactor EventTarget: remove hasListenerCache, move dispatch APIs to Node (#2595)
* Improve node property setter performance

* Avoid physics sync trigger events

* Improve callbacksHandler.has performance

* Use flag instead of hasListenerCache in animation state

* Remove hasListenerCache, add event target APIs for dispatch

* Fix some issues

* Fix event target has check

* Expose EventType and LocalDirtyFlag

* Move dispatch related APIs to Node and fix issues

* Refactor event target

* Fix sub listener usage for event target

* Improve code

* Remove callbacksInvoker.has
2018-04-26 21:50:27 +08:00
PP aa5c9bba27 set event.detail as null (#2589)
Release event.detail before put to pool & fix wx.getOpenDataContext issue
2018-04-24 22:26:04 +08:00
pandamicro 7b98f49cd6 Fix updateWorldVerts based on worldMatUpdated and other issues (#2593)
* Fix updateWorldVerts based on worldMatUpdated

* Fix issues
2018-04-24 22:23:18 +08:00