alschmiedt
0f3c06306f
chore: runs clang format on all files ( #5627 )
2021-10-21 15:22:24 -07:00
Rachel Fenichel
e8d6f7f408
chore: auto-fix violations of comma-dangle rule ( #5625 )
2021-10-21 09:01:51 -07:00
Aaron Dodson
3851b14627
refactor: Migrate to named exports ( #5623 )
...
* refactor: Migrate to named exports
* fix: Sort requires
* fix: Remove duplicate deps
2021-10-20 15:53:23 -07:00
Neil Fraser
90b3f75d82
Remove @author tags ( #5601 )
...
Our files are up to a decade old, and have churned so much, that the initial author of the file no longer has much meaning.
Furthermore, this will encourage developers to post to the developer group, rather than emailing Googlers (usually me) directly.
2021-10-15 09:50:46 -07:00
Christopher Allen
c5ffd036ca
fix: JSDoc improvments for accessors, etc. ( #5567 )
...
* fix: Revert removal of documentation for get/set accessors.
This partially reverts commit 839cb7b ,
"fix: infinite loop when using defineProperties (#5549 )"
* docs: Use @name to attach JSDocs to accessors
Reintroduce documentation for deprecated properties where it was
removed when converting them to accessors.
* docs: Remove duplicate @package declarations
* fix: Fix eslint and compiler errors/warnings
* fix: Minor JSDoc tweaks to address comments on PR #5567
2021-09-29 01:57:28 +01:00
alschmiedt
839cb7bef1
fix: infinite loop when using defineProperties ( #5549 )
2021-09-27 14:31:30 -07:00
alschmiedt
2b34748e0e
chore: remove declareLegacyNamespace from events ( #5532 )
...
- Adds an extra events/utils.js file to hold helper methods related to events.
2021-09-24 14:20:32 -07:00
Aaron Dodson
e1310b6464
fix: JSDoc generation for modules without classes
2021-09-22 14:37:55 -07:00
Rachel Fenichel
3adfaaf6d9
chore: named exports for block* files ( #5512 )
...
* chore: named export for block.js
* chore: named export for block_drag_surface.js
* chore: named export for block_dragger.js
* chore: named export for block_svg.js
* Fix import ordering
* chore: fix imports using requireType
* Remove extra require
2021-09-22 08:46:19 -07:00
Aaron Dodson
66e6b6218a
Make several exported private fields/methods TEST_ONLY ( #5479 )
2021-09-21 08:13:38 -07:00
Christopher Allen
a6471c4276
Rename Blockly.utils.IdGenerator to idGenerator and move Blockly.utils.genUid to there ( #5441 )
...
* Rename Blockly.utils.IdGenerator -> idGenerator
* Move genUid from Blockly.utils to Blockly.utils.idGenerator
2021-09-09 17:08:44 +01:00
Aaron Dodson
a3b52aaab3
Migrate core/events/events.js to goog.module syntax ( #5302 )
...
* Migrate core/events/events.js to ES6 const/let
* Migrate core/events/events.js to goog.module
* Migrate core/events/events.js to named requires
* clang-format core/events/events.js
* Migrate Blockly core to use getRecordUndo/setRecordUndo
* Update core/events.js to reflect latest guidance around exporting mutable fields
2021-08-26 08:53:31 -07:00
Neil Fraser
cff7b359f4
Make comments more consistent.
2021-06-09 11:41:42 -07:00
Neil Fraser
d919b0af21
Update JSDoc from Array.<> to Array<>
...
Same with Object.
2021-05-27 21:30:26 -07:00
Monica Kozbial
5139057664
Merge consecutive viewport change events ( #4792 )
2021-04-23 10:56:52 -07:00
Monica Kozbial
57749e6eb8
Updating bump logic to support single-direction scrollbars ( #4652 )
...
* Updating bump logic to support single-direction scrollbars
2021-03-01 12:20:12 -08:00
Sam El-Husseini
ab8a11784d
Fix event related missing requires ( #4656 )
...
* Fix event related missing requires
2021-02-25 14:28:11 -08:00
Rachel Fenichel
84446215c0
Update more missing requireTypes
2021-02-10 14:59:05 -08:00
alschmiedt
a4e6cfe393
Fix undo ( #4511 )
2020-12-10 09:02:00 -08:00
Monica Kozbial
637497148d
Renaming ui event properties and updating documentation for consistency ( #4432 )
...
* Renaming properties and updating documentation for consistency
* Update more properties
* fix tests
2020-11-05 11:40:17 -08:00
Monica Kozbial
40ef586260
Refactoring Ui events in core ( #4418 )
...
* Ui events base (#4370 )
* Add constants for new ui event types
* Add property to indicate an event as UI event
* Click events (#4372 )
* Creating new ui base class.
* Refactor theme event (#4391 )
* Add themeName property to theme event
* Refactor marker move events. (#4389 )
* Refactor trashcan open event (#4392 )
* Refactor selected event (#4387 )
* Refactor toolbox item change event (#4394 )
* Refactor bubble open events (#4390 )
* Refactor block drag event (#4388 )
* Viewport events (#4395 )
* Fix event filtering for ui events (#4401 )
* Move events to new directory and rename Ui events base (#4400 )
* Move events to new directory and rename Ui events base
* Add missing fromJson implementation for click event (#4410 )
* Adding serialization tests for events
* Zoom controls event (#4407 )
* Refactor zoom event
* Rename IS_UI_EVENT to isUiEvent
2020-11-04 14:43:54 -08:00
Rachel Fenichel
4a467cef5b
Move events back up to core, because moving it to a separate folder was a mistake.
2018-04-19 16:53:19 -07:00
Neil Fraser
662d79443f
Add 'ordered' option to descendant getting functions. ( #1786 )
2018-04-17 11:41:03 -07:00
Rachel Fenichel
4c9b602523
Move event classes into separate files, and update requires accordingly
2018-02-27 17:47:33 -08:00
Rachel Fenichel
2f55c0c2be
move events.js into an events folder inside core
2018-02-27 17:22:01 -08:00