Commit Graph

37 Commits

Author SHA1 Message Date
PP 4c0f664960 [AOT] add type for AOT engine (#15527)
* fix object

* fix action

* fix type in instantiate.ts

* fix type for NodeEventProcessor

node_event_processor

* fix type in input.ts

* fix particle system

* fix color type

* fix CI

* add tracking issue
2023-06-28 11:24:40 +08:00
minggo 06f136f5c4 Merge branch 'v3.8.0' into merge-3.8.0 2023-06-19 15:26:26 +08:00
PP 509d73b27d merge branch v3.8.0-aot (#15421)
* PR1: add explicit function return type (#15311)

* PR4: add explicit function return type (#15314)

* [ci skip][AUTO]: Automated code generating update: 8843bfe54cd3f8e6f84432948716c8d130ecb233  (#15314) (#15357)

Co-authored-by: cocos-robot <cocos-robot@cocos.com>

* add function return type

* fix version checking

* fix return type

---------

Co-authored-by: Cocos Robot <48829427+cocos-robot@users.noreply.github.com>
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2023-06-13 18:08:45 +08:00
Leslie Leigh (李的序) de60531d1b Clear unused logs (#15419) 2023-06-13 15:04:50 +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 e4b2cfb7b7 fix: resort event listeners after updating sibling index (#14389)
* fix: resort event listeners after updating sibling index
2023-02-28 09:58:29 +08:00
qiuguohua ca92e4cd6f Fixing a node's touch event to act on another node (#14211) 2023-02-14 19:27:46 +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
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
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
JoneLau 96fa98da8b adjust eventtouch (#5189) 2019-08-21 14:09:02 +08:00
Leslie Leigh 5ff61545b3 fix eventManager (#5103) 2019-08-06 16:32:46 +08:00
ChiaNing 4bc2739786 Vmath (#4987)
* Vmath (#4895)

* vmath refactor

* value-type API change

* vmath change update

* conflict fix

* value types change

* translate modify (#4917)

* value types bug fixed (#4940)

* playground update (#4946)

* bug fixed

* bug fixed

* bug fixed

* bug fix

* util modify

* create remove & ccenum rename

* export by cc.math

* Rename value-types to math

* util funtion deprecated warn

* value-types change

* color test fix

* color API change
2019-07-29 11:50:51 +08:00
pandamicro 1380e46c34 Unittest (#4973)
* unit test for ts

* Fix ts-jest warnings

* Remove puppeteer for now

* fix physics define and jest config for windows

* Replace Node ref with INode ref

* Fix ci issue

* Fix

* tweak

* tweak

* Fix vscode launcher

* now physics framework export all physics component (#28)

* tweaks
2019-07-25 17:15:20 +08:00
JoneLau 261f6a15c4 remove eventlistener in node being destroyed (#4752) 2019-07-01 09:36:38 +08:00
ChiaNing 3fe05964d9 fix "_currentHovered" destroy bug (#4750) 2019-06-28 18:38:52 +08:00
JoneLau 67e264c995 ui layout api (#4707) 2019-06-27 09:52:13 +08:00
Yun Hsiao Wu d7e7f06611 global planar shadow system (#4709)
* doc category

* planar shadow
2019-06-26 09:48:47 +08:00
JoneLau 76080d8e0c fix bug (#4568) 2019-06-06 19:26:38 +08:00
JoneLau 4767be9e82 add ui api (#4567) 2019-06-06 19:25:28 +08:00
Leslie Leigh c8aa3e560c rename EventType to SystemEventType; optimize EventListener's method … (#4496)
* rename EventType to SystemEventType; optimize EventListener's method declarations in derived class

* fix

* line break

* line

* update tfig
2019-05-24 16:56:40 +08:00
pandamicro c02cca1ef4 Fix event issues (#4483) 2019-05-22 22:54:48 +08:00
pandamicro 449f0f9425 Improve EventTarget to avoid duplicated implementation (#4415)
* Fix  clip type property issue

* Fix small issues

* Improve EventTarget to avoid duplicated implementation

* Fix merge issues
2019-05-15 10:35:58 +08:00
JoneLau 5a386147f6 adjust partial ui api (#4385) 2019-05-07 14:14:17 +08:00
JoneLau 40d4077dd5 event object reuse (#4272) 2019-04-22 20:04:56 +08:00
JoneLau 2c77e6ce8a fix event bug (#4216) 2019-04-15 13:44:47 +08:00
JoneLau cfe368c706 add missing node event (#4160) 2019-04-08 13:02:40 +08:00
JoneLau 4edd2a6ead implementing mask with graphics(#4138) (#4138)
exclude image_stencil
2019-04-03 18:24:13 +08:00
JoneLau 6c52969826 fix global event and other bug (#4032)
* components such as event-target to ts

* divide CCEvent and CCTouch into game coordinates and ui coordinate mod

* repair editor environment where mask does not take effect bug

* fix render component blendState modification does not take effect bug

* fix bug

* fix ts tip
2019-03-14 11:36:43 +08:00
JoneLau 9d3ef2367c fix click invalid (#3987) 2019-03-08 18:59:54 +08:00
JoneLau 6faf0049e2 hack 3D event dispatch (#3978) 2019-03-07 13:42:01 +08:00
JoneLau fc4d7fda95 fix touch start error (#3973)
* fix touch start error

* setting blendState in UIRenderComponent
2019-03-07 11:42:53 +08:00
JoneLau ed93473d67 fix error (#3969)
* fix error

* repair overridePipelineState bug per Fram
2019-03-06 09:15:22 +08:00
Jone d6fa9745e9 verification and repair
button,toggle, toggleGroup, slider, progressBar, layout,widget without editBox
2019-02-15 18:36:28 +08:00
Jone 092201b260 fix render bug caused by color value 2019-01-29 17:23:19 +08:00
jerrywwl 1c9e18d7a9 fix node cache error 2019-01-29 11:43:03 +08:00
Jone 93f7d67767 add node event 2019-01-28 17:14:23 +08:00