Commit Graph

362 Commits

Author SHA1 Message Date
Sam El-Husseini
63f55da379 Remove last bit of closure! (#2858) 2019-08-16 18:39:25 -07:00
Sam El-Husseini
2b26787185 Blockly menus without closure (#2831)
* Blockly Menu and MenuItem that don't rely on the closure library.
2019-08-16 17:23:14 -07:00
Beka Westberg
0516122dff Added case-insensativity & safety rebuild. 2019-08-16 12:49:18 -07:00
Beka Westberg
e92dd6bcd6 Maybe like really fix mocha. 2019-08-16 12:09:47 -07:00
Beka Westberg
23366e40b4 Maybe fix mocha? 2019-08-16 10:45:26 -07:00
Beka Westberg
1d99c0ffef Rebuild for rebase. 2019-08-16 10:04:05 -07:00
alschmiedt
9b3e05e3d9 Field accessibility (#2823)
* Gives fields a chance to handle keyboard events
2019-08-15 15:44:54 -07:00
Sam El-Husseini
4a10ff833d Remove all calls to goog.events.KeyCodes (#2824)
* Remove all calls to goog.events.keyCodes
2019-08-14 14:14:49 -07:00
Sam El-Husseini
f118d6de88 No closure toolbox (#2819)
* Update the toolbox to not rely on closure and instead use the built in Blockly.tree component
2019-08-14 13:48:21 -07:00
alschmiedt
74fa3bb71a Initial commit for changing key mappings (#2787)
* Added ability to easily change key mappings
2019-08-13 13:37:01 -07:00
Sam El-Husseini
f34f2beac7 Remove all calls to goog.style (#2781)
* Remove dependency on goog.style
2019-08-06 14:54:13 -07:00
Sam El-Husseini
57868e7e83 Remove all calls to goog.math (#2739)
* Replace calls to goog.math.Size and goog.math.Coordinate with Blockly equivelants
2019-07-30 11:22:08 -07:00
Sam El-Husseini
5ce8c68833 Fix node build and add node tests (#2736)
* Fix node build and add node tests
2019-07-30 11:13:52 -07:00
Rachel Fenichel
36b4b18492 Quarantine highlights. 2019-07-26 17:33:10 -07:00
alschmiedt
6dc9a07810 Integrates cursor into develop (#2710)
* Integrates cursor into blockly

* Fix review comments

* Add dispose to cursor

* Fixes dispose functionality

* Remove unnecessary dispose method
2019-07-25 11:14:40 -07:00
Rachel Fenichel
01d643c0e6 use compatibility mode in playgrounds, and rebuild 2019-07-24 14:11:23 -07:00
Rachel Fenichel
d3e2b890af Rebuild 2019-07-19 17:07:58 -07:00
Rachel Fenichel
fad6c006b1 Rebuild 2019-07-18 16:23:59 -07:00
Rachel Fenichel
2133f426ee Rebuild 2019-07-18 15:13:52 -07:00
Rachel Fenichel
8d7eaf65e1 Cherry-pick in annotation changes and rebuild 2019-07-17 13:00:22 -07:00
Rachel Fenichel
03776a6bfd Rebuild 2019-07-15 14:53:01 -07:00
Neil Fraser
5bb98bc998 Routine recompile
Closure changed, everything broke.  Again.

Verbal LGTM from @alschmiedt
2019-07-12 12:36:10 -07:00
Neil Fraser
e06d4e648c Rename BlockAnimation > blockAnimation
Issue 2102.  And do a full recompile due to changed the dependency name.
2019-07-08 17:31:38 -07:00
Neil Fraser
566f182fa8 Move Blockly.userAgent to Blockly.utils.userAgent 2019-06-07 10:32:57 -07:00
Neil Fraser
d1a29739d8 Move utilities into own directory.
TODO: There are more functions which may be migrated into dom and string.
2019-06-07 10:32:57 -07:00
Neil Fraser
42b4897f0e Routine recompile due to changed dependencies. 2019-06-07 10:32:57 -07:00
Neil Fraser
2d11b6f0ad Recompile due to changed dependencies. 2019-06-05 16:41:04 -07:00
Neil Fraser
611b2b2300 Routine recompile 2019-05-17 16:48:40 -07:00
Neil Fraser
8d4a73e33d Strip MIT’s licence out of compiled code.
Matches existing stripping of Google’s licence.  Done with MIT’s permission.  Resolves issue 2412.
2019-04-29 17:27:43 -07:00
Beka Westberg
ce816b93bf Added field_label_serializable. (#2399) 2019-04-24 10:43:09 -07:00
Rachel Fenichel
e264105a78 Rebuild 2019-04-08 19:21:02 -07:00
Neil Fraser
96cd8f95f3 Routine recompile
Closure changed, this clears an error.
2019-03-27 15:47:29 -07:00
Rachel Fenichel
59dc52c103 Rebuild 2019-02-11 15:55:44 -08:00
alschmiedt
4be4c7b31e Adding compressed files 2019-01-11 16:18:04 -08:00
Rachel Fenichel
da94697e93 Rebuild 2018-12-17 14:24:59 -08:00
Rachel Fenichel
d9fd6b7e81 Rebuild to incorporate blockToDom fix in compressed files 2018-11-05 10:40:46 -08:00
Rachel Fenichel
3fa13e0ad8 Rebuild 2018-10-29 17:02:27 -07:00
Neil Fraser
8d70598b6b Recompile due to changed dependencies. 2018-10-16 11:34:10 -07:00
Andrew n marshall
b53085db6a Rebuild 2018-09-04 14:47:46 -07:00
Rachel Fenichel
e4b75aad92 Rebuild 2018-08-28 13:40:08 -07:00
Neil Fraser
1fa4a8d856 Rebuild (#1990) 2018-07-31 12:58:16 -07:00
Rachel Fenichel
5ffa9122c8 Rebuild 2018-06-26 12:48:24 -07:00
Andrew n marshall
a87dcc66fb Rebuilding _compressed.js files. (#1920)
This captures changes to core/xml.js that are required by
Node, since the gulpfile builds from the compressed files.
2018-06-13 10:48:21 -07:00
Rachel Fenichel
85206993f6 Add a missing require and rebuild 2018-05-17 11:20:49 -07:00
Rachel Fenichel
ee6f2ea097 Comments v3 (#1817)
* Add skeleton for workspace comments

* XML parsing and encoding of workspace comments.

* Minor fix: piping the height and width from xml to newWorkspaceComment

* Move height and width into workspace_comment_svg

* rename newWorkspaceComment to newComment

* minor refactoring. PR changes

* Functions for managing the comment's lifecycle

* Add initial tests

* Add another test

* Add basic rendering of a comment.

* Cleanup remaining highlighting steps from render

* Fix lint

* Fix aslant

* Add basic comment translate

* Simplify render code into one setPath method

* Move steps to setPath_

* Remove svg elements when disposing of a comment; some code cleanup

* Add a workspace comment on context menu click and position it where the initial context menu was clicked.

* Minor rendering changes, fixes RTL. Fix positioning of new (context menu) comments while workspace is scaled.

* PR feedback

* Gesture code for dragging comments

* Add comment (block drag) surface methods

* minor comment fix

* Comment fixes

* Add comment dragger

* Making rendered private

* Require CommentDragger

* Make basic comment dragging work

* Increase the border around the comment to make a bigger drag handle

* Remove typo

* Allow comments to be selected. Highlight selected comment. Only edit comment on click. Updated comment rendering.

* minor refactor: remove commented out code

* PR comments

* lint and rebuild

* Fix renamed function call

* Fix workspace getMetrics by storing comment size as a number, not a string

* Enable comment deletion when dragging over the toolbox or trash can

* Give issue references to some todos

* Create a helper function for workspace comment creation

* Integrate sam's workspace comments, using the bubble dragger

* Remove comment_dragger references

* Remove comment dragger.js

* Remove pointer handling

* Fix lint

* Move comment XML functions into the comment files.

* Fix tests

* Fix type annotations

* Fix comments on comments

* Fix compiler errors related to visibility.

* Fix merge issues and add an issue number to a TODO

* Add a new message for default text on workspace comments, and rebuild

* Add support for a context menu on workspace comment showing delete and duplication options.
Add copy and paste support.

* PR comment feedback

* Show a delete icon on the comment when selected. Delete icon deletes the comment. Comment can be deleted if dragged onto the toolbox or the trash icon. A normal bubble cannot be deleted that way.

* use isDeletable instead

* Support drag of the comment during editing mode using the top handle.

* Add skeletons for all workspace comment events

* Rebuild with new comments

* Get rid of confused TODO

* JSDoc on a function

* Fix broken tests

* More PR feedback

* Fix lint

* Delete comment on mouse out, highlight on mouse down.

* Fix lint.

* Show delete hand cursor when dragging a comment to delete over the toolbox

* Focus textarea on select

* Add delete events

* Remove workspace comment create event, and add TODO placeholder

* Provide default values if comment height and width are missing in XML

* Set comment handle fill to none by default

* Rebuild

* Comment de/serialization should include location.

* Add comment move events, with undo and redo

* Add comment change events

* Move files up to core

* Add package/private annotations wherever possible

* Move the workspace comment events up to core and into a single file

* Mark things package or private where possible

* Get rid of unnecessary changes to messge files

* Fix lint

* Fix some review feedback

* Make changes to the comment db happen in addTopComment and removeTopComment

* Add css classes for toggling comment focus

* Clean up css for comment focus

* Rebuild
2018-04-27 15:18:59 -07:00
Neil Fraser
a6e386d14f Routine recompile.
…after the storm.
2018-04-27 11:50:51 -07:00
Neil Fraser
fb06f39258 Routine recompile.
…before the storm.
2018-04-27 11:50:51 -07: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
Rachel Fenichel
f23c5c0a38 Rebuild 2018-04-19 16:23:53 -07:00
Rachel Fenichel
d8202f8cae Create base classes for block and variable events, instead of stuffing everything into Abstract 2018-04-19 16:15:00 -07:00