Commit Graph

196 Commits

Author SHA1 Message Date
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
fad6c006b1 Rebuild 2019-07-18 16:23:59 -07:00
Rachel Fenichel
8d7eaf65e1 Cherry-pick in annotation changes and rebuild 2019-07-17 13:00:22 -07:00
Rachel Fenichel
d6e50f6633 Merge branch 'master' into rc/Jul_19 2019-07-16 11:29:30 -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
Beka Westberg
39e414c2bf Rebuild. 2019-07-09 10:25:40 -07:00
Beka Westberg
b74254662e Added custom fields demo. 2019-07-09 10:21:22 -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
74be35e23d Rename Blockly.Xml.utils to Blockly.utils.xml 2019-07-08 13:29:43 -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
0e0cd666c0 Recompile to pick up XY regex fix. 2019-05-24 09:11:35 -07:00
Neil Fraser
611b2b2300 Routine recompile 2019-05-17 16:48:40 -07:00
Neil Fraser
28ad3a9bd3 Blockly.utils.userAgent moved to Blockly.userAgent 2019-05-10 16:56:26 -07:00
Beka Westberg
ce816b93bf Added field_label_serializable. (#2399) 2019-04-24 10:43:09 -07:00
Rachel Fenichel
71d7809c8d Set node version explicitly for travis; rebuild (#2403)
* Set node version explicitly for travis
* rebuild
* Tweak travis config
2019-04-23 16:33:39 -07:00
Beka Westberg
e8573bc0db Added isSerializable function and SERIALIZABLE property to fields. 2019-04-21 08:28:37 -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
0b1bd78674 Clarify some dropdown rendering code 2019-02-28 15:11:57 -08:00
Rachel Fenichel
dfc74b8c4f Use dropdownDiv for the angle field as well 2019-02-26 14:54:21 -08:00
Rachel Fenichel
4f3bb673ef Add require and rebuild for travis 2019-02-26 11:05:27 -08:00
Rachel Fenichel
59dc52c103 Rebuild 2019-02-11 15:55:44 -08:00
Beka Westberg
47cbb3b1b8 Updated blockly_uncompressed file. 2019-01-25 16:11:16 -08:00
alschmiedt
0d78f1dcd5 Fixing compiler error for blockly themes 2019-01-11 14:28:49 -08:00
alschmiedt
e7a120e69f Merge branch 'develop' of https://github.com/alschmiedt/blockly into blockly_colours 2019-01-08 13:36:39 -08:00
alschmiedt
f480b1ff79 Changes Blockly style to be Blockly theme. 2019-01-08 11:40:57 -08:00
Rachel Fenichel
d95f56f546 Enable insertion markers 2019-01-08 11:19:54 -08:00
alschmiedt
f125065a17 Merge branch 'develop' of https://github.com/alschmiedt/blockly into blockly_colours 2018-12-19 10:39:10 -08:00
Rachel Fenichel
b58f3b1e48 Rebuild uncompressed and language files 2018-12-14 15:05:29 -08:00
Rachel Fenichel
e182f43d12 Disable insertion markers for the December 2018 release 2018-12-14 10:57:39 -08:00
alschmiedt
56c2e5fc31 Initial commit for adding a style 2018-12-11 13:22:25 -08:00
Rachel Fenichel
53d8ac8b0b Prefer inserting to wrapping for c-shape blocks 2018-11-19 11:16:03 -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
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
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