Commit Graph

212 Commits

Author SHA1 Message Date
Rachel Fenichel 98914fcf6b Dragging changes, rebased on develop (#1078)
* Add block drag surface translateSurfaceBy

* Add dragged connection manager

* Add gesture.js

* Add GestureHandler

* Implemented gesture skeleton

* Most basic workspace dragging

* Add dragged connection manager

* cleanup

* doc

* more cleanup

* Add gesture handler

* Add translateSurfaceInternal

* core/block_dragger.js

* cleanup

* Pull in changes to dragged connection manager

* Pull in changes to dragged connection manager

* comments

* more annotations

* Add workspace dragger

* Add coordinate annotations

* Start on block dragging

* Limit number of concurrent gestures

* Add some TODOs

* start using dragged connection manager

* Set origin correctly for dragging blocks

* Connect or delete at the end of a block drag.

* cleanup

* handle field clicks and block + workspace right-clicks

* move code into BlockDragger class, but still reach into Gesture internals a lot

* Clean up block dragger

* Call blockDragger constructor with correct arguments

* Enable block dragging in a mutator workspace

* Add workspace dragger

* click todos

* Drag flyout with background

* more dragging from flyout

* nit

* fix dragging from flyouts

* Remove unused code and rename gestureHandler to gestureDB

* Rename gesture handler

* Added some jsdoc in gesture.js

* Update some docs

* Move some code to block_svg and clean up code

* Lots of coordinate annotations

* Fix block dragging when zoomed.

* Remove built files from branch

* More dragging work (#1026)

-- Drag bubbles while dragging blocks
-- Use bindEventWithChecks to work in touch on Android. Not tested anywhere else yet.
-- Handle dragging blocks while zoomed
-- Handle dragging blocks in mutators
-- Handle right-clicks (I hope)
-- Removed lots of unused code

* More dragging work (#1048)

- Removed gestureDB
- Removing uses of terminateDrag
- Cleaned up disposal code

* Dragging bugfixes (#1058)

- Get rid of flyout.dragMode_ and blockly.dragMode_
- Make drags from the flyout start from the top block in the group
- Block tooltips from being scheduled or shown during gestures
- Don't resize mutator bubbles mid-drag

* Fix events in new dragging (#1060)

* rebuild for testing

* unbuild

* Fix events

* rebuild

* Fix up cursors

* Use language files from develop

* Remove handled TODOS

* attempt to fix IE rerendering bug, and recalculate workspace positions on scroll

* Rebuild all the things

* Comment cleanup; annotations; delete unused variables.
2017-05-05 12:42:53 -07:00
Rachel Fenichel 74adf30355 Merge master into develop (#1063)
- pick up translation changes
- clean up trailing spaces
2017-04-24 16:08:21 -07:00
appr 25555b5c20 Fix French translation of "colour with rgb" block (#1053)
"colorier", which is currently used, is a verb and proposed "couleur" is
a noun: the block in question does not change colour of anything, it
creates new colour instead, thus noun is more applicable.

Also, noun is used in French translation of "random colour" block:
"couleur aléatoire".
2017-04-19 06:17:50 -07:00
vicng dfc50ba843 - Changed error message referencing 'procedure' instead of 'function' (#1019)
- Added iOS specific UI messages
- Fixed bug with js_to_json.py script where it didn't recognize ' character
2017-04-06 12:41:09 -07:00
Niklas Laxström 65371a69cf Localisation updates from https://translatewiki.net. 2017-03-27 08:11:50 +02:00
Katelyn Mann 9e4ed972b0 update from master + build 2017-03-22 10:05:20 -07:00
Niklas Laxström aba79e2735 Localisation updates from https://translatewiki.net. 2017-03-20 07:21:00 +01:00
Niklas Laxström 33fce3f62f Localisation updates from https://translatewiki.net. 2017-03-16 07:59:13 +01:00
Niklas Laxström e4bfd9a128 Localisation updates from https://translatewiki.net. 2017-03-09 07:41:27 +01:00
Niklas Laxström c797250ffc Localisation updates from https://translatewiki.net. 2017-02-27 07:45:31 +01:00
Niklas Laxström d2a8d5d6f9 Localisation updates from https://translatewiki.net. 2017-02-23 08:56:21 +01:00
Niklas Laxström 4f0f0b9fa5 Localisation updates from https://translatewiki.net. 2017-02-20 08:27:33 +01:00
Niklas Laxström 994fb70830 Localisation updates from https://translatewiki.net. 2017-02-16 09:20:50 +01:00
Niklas Laxström a28715b4af Localisation updates from https://translatewiki.net. 2017-02-06 07:48:23 +01:00
Niklas Laxström d15d3ab9e6 Localisation updates from https://translatewiki.net. 2017-01-30 16:33:34 +01:00
Niklas Laxström bf813e3266 Localisation updates from https://translatewiki.net. 2017-01-26 10:51:19 +01:00
Niklas Laxström ef0567cd3a Localisation updates from https://translatewiki.net. 2017-01-23 13:01:31 +01:00
Tim Dawborn 46316c7cea Add a block to reverse a list (#844) 2017-01-21 10:48:42 -08:00
Tim Dawborn 34750bccd8 New blocks text_count, text_replace, and text_reverse (#830)
Includes generators for all languages and units tests on those generators.
2017-01-20 16:08:27 -08:00
Niklas Laxström 36eb0787cc Localisation updates from https://translatewiki.net. 2017-01-16 03:21:40 +01:00
Andrew n marshall 560d373c93 Adding support for untranslated messages. (#819)
This will be used to define constants accessible in JSON block definitions. Messages with descriptions that include `{{Notranslate}}` will not be included in the translation files sent to TranslateWiki. Instead, they are written to `msg/json/constants.json`, and later merged back into the `.js` files, similar to synonyms.

Template details: https://translatewiki.net/wiki/Template:Notranslate
2017-01-13 15:32:00 -08:00
Andrew n marshall 98dc0ed344 Integrating qqq.json changes into messages.json. (#820)
From commits b77f8cbebc and 4ecdedec9f
2017-01-12 15:31:11 -08:00
Niklas Laxström 4ecdedec9f Localisation updates from https://translatewiki.net. 2017-01-11 19:07:44 +01:00
Till Harbaum 761678239e Fix german translation of 'delete x blocks' 2017-01-09 10:11:02 +01:00
Till Harbaum 0a30d176d8 Fix german translation 2017-01-07 22:42:22 +01:00
Niklas Laxström 7f4e21f388 Localisation updates from https://translatewiki.net. 2017-01-02 08:57:25 +01:00
Niklas Laxström 4c00de9125 Localisation updates from https://translatewiki.net. 2016-12-29 08:21:02 +01:00
Niklas Laxström 67e852990f Localisation updates from https://translatewiki.net. 2016-12-22 07:32:48 +01:00
Niklas Laxström 3831a61f43 Localisation updates from https://translatewiki.net. 2016-12-19 07:32:46 +01:00
Niklas Laxström d7f8e45930 Localisation updates from https://translatewiki.net. 2016-12-15 07:27:45 +01:00
Siebrand Mazeland b8059c4bc8 Localisation updates from https://translatewiki.net. 2016-12-06 13:06:41 +01:00
Siebrand Mazeland b77f8cbebc Localisation updates from https://translatewiki.net. 2016-11-28 10:10:42 +01:00
Rachel Fenichel 32bf01e2b9 revert qqq.json 2016-11-15 13:04:59 -08:00
Rachel Fenichel 44fecd681a add back metadata tag to qqq 2016-11-15 13:03:34 -08:00
Rachel Fenichel 82261e3d68 Remove ifelse block and messages' 2016-11-11 17:21:29 -08:00
Rachel Fenichel 3cfdb9cb6c rebuild 2016-11-11 17:06:17 -08:00
Rachel Fenichel b5822e2925 Revert "Revert "Rebuild nov 3 16""
This reverts commit c8ca24a000.
2016-11-11 17:05:13 -08:00
Niklas Laxström a65baf9ead Localisation updates from https://translatewiki.net. 2016-11-10 08:40:52 +01:00
Neil Fraser c8ca24a000 Revert "Rebuild nov 3 16" 2016-11-08 16:46:00 -08:00
Rachel Fenichel c19dc43d17 Merge pull request #731 from rachel-fenichel/rebuild_nov_3_16
Rebuild nov 3 16
2016-11-08 16:45:45 -08:00
Rachel Fenichel da5c7bcd2a Fix workspace factory bug and rebuild 2016-11-08 16:44:16 -08:00
Siebrand Mazeland d6f0846b57 Localisation updates from https://translatewiki.net. 2016-11-04 21:22:03 +01:00
Siebrand Mazeland 9e645402d1 Localisation updates from https://translatewiki.net. 2016-11-04 12:20:18 +01:00
Niklas Laxström 87e90550a1 Localisation updates from https://translatewiki.net. 2016-11-01 07:47:52 +01:00
Niklas Laxström 4014c27448 Localisation updates from https://translatewiki.net. 2016-10-13 07:49:27 +02:00
Niklas Laxström 40d86e2634 Localisation updates from https://translatewiki.net. 2016-10-06 07:30:46 +02:00
Niklas Laxström 0fb77e09d0 Localisation updates from https://translatewiki.net. 2016-09-29 07:23:00 +02:00
Niklas Laxström 641d720842 Localisation updates from https://translatewiki.net. 2016-09-27 13:48:34 +02:00
Niklas Laxström 6632511b10 Localisation updates from https://translatewiki.net. 2016-09-22 07:18:22 +02:00
Niklas Laxström d12374b3fb Localisation updates from https://translatewiki.net. 2016-09-15 08:08:54 +02:00