Commit Graph

2328 Commits

Author SHA1 Message Date
Rachel Fenichel 75d0798e4a Run eslint on travis 2017-11-10 14:16:47 -08:00
Rachel Fenichel 65ac665b81 Removed files that were accidentally added when merging from master 2017-11-10 14:13:06 -08:00
Rachel Fenichel 6c56d1d87d Merge branch 'master' into master_to_develop 2017-11-10 14:03:14 -08:00
Neil Fraser dac5adf49f Remove unnecessary restriction on variable names. 2017-11-07 17:29:39 -08:00
Rachel Fenichel 13aa7bfb69 No-regex-spaces 2017-11-07 17:27:00 -08:00
Neil Fraser 8a398ab334 Add @package 2017-11-07 14:23:41 -08:00
Neil Fraser 3bf0418460 Right-align flyout buttons in RTL.
Fixes #1208.
2017-11-07 14:23:41 -08:00
Neil Fraser 8cedef49ac Cleanup. 2017-11-07 14:23:41 -08:00
Neil Fraser 7216c060bd Terminology: "background button" -> "mat"
Originally flyouts had ‘blocks’ and rectangular hidden ’buttons’
underneath the blocks.  When UI buttons were added to flyounts, there
was a terminology collision.  This change renames the original
background ‘buttons’ to ‘mats’.  As in placemats or door mats.
2017-11-07 14:23:41 -08:00
Neil Fraser 626447afb2 Restore Translations (#1396)
* Remove English from Tagalog.

* Resurrect translations for TEXT_INDEXOF_TITLE

* Resurrect translations for TEXT_APPEND_TITLE

* Resolve compile warnings.
2017-11-07 13:14:56 -08:00
RoboErikG 53e6bddff5 Use msg references in block JSON for text_charat (#1426) 2017-11-06 13:05:09 -08:00
Rachel Fenichel f06aed4710 Fix text input widget position in RTL 2017-11-06 12:50:22 -08:00
translatewiki.net 2fae5513b2 Localisation updates from https://translatewiki.net. 2017-11-06 08:56:44 +01:00
Rachel Fenichel 66586bf622 Add a test for case-sensitivity in the variable names, ids, etc. in the flyout 2017-11-03 16:03:32 -07:00
Rachel Fenichel 30716fbd78 switch to variabletype everywhere 2017-11-03 16:03:32 -07:00
Rachel Fenichel a6457ef614 Get rid of highlighting when releasing the drag would delete instead of connecting 2017-11-03 15:47:15 -07:00
Rachel Fenichel 768bd4aef5 Check workspace.isDragging() instead of Blockly.dragMode_ 2017-11-03 15:46:41 -07:00
Rachel Fenichel 432881d2c1 Make quote images meet line length requirements 2017-11-03 14:04:36 -07:00
Rachel Fenichel 8c51935025 More lint for unused variables 2017-11-03 14:04:36 -07:00
Rachel Fenichel cd9be725c1 fix lint in field_angle.js 2017-11-02 16:37:09 -07:00
picklesrus e0f7862547 spacing changes 2017-11-02 14:05:29 -07:00
picklesrus de8d13eaa1 Fix lint errors so we can eventually run eslint on travis. 2017-11-02 14:05:29 -07:00
RoboErikG c4b2899007 Fix #1397 by being more careful with mutator (#1410)
* Fix #1397 by being more careful with mutator

The text_charAt mutator was replacing more of the title string than
necessary, which would lead to losing some of the relevant text in
the label. Updated the mutator to only add/remove a new input on the
end instead of replacing the default dummy input.

* Code cleanup
2017-11-02 09:37:31 -07:00
translatewiki.net cf6bebb6fa Localisation updates from https://translatewiki.net. 2017-11-02 08:08:37 +01:00
Neil Fraser 6635dada6d Allow external code to load new audio. (#1409)
If external code can ‘play’, it should be able to ‘load’.  Resolves
compile error in Blockly Games.  Feel free to push back if this API
shouldn’t be public.

Also fix compiler warnings on block defs.  ‘undefined’ means undefined, ‘=‘ means optional.
2017-11-01 17:47:24 -07:00
Neil Fraser 63637a927a Remove unnecessary restriction on variable names. 2017-11-01 12:08:53 -07:00
translatewiki.net e93d44e8ff Localisation updates from https://translatewiki.net. 2017-10-30 08:58:58 +01:00
Neil Fraser 905d542ae5 Switch compile to HTTPS. 2017-10-27 17:44:54 -07:00
Neil Fraser 2ff345fa4e Adding PHP to comment.
And normalizing order of languages.
2017-10-27 17:44:54 -07:00
Neil Fraser d503e1c05b Reenable compressed builds. 2017-10-27 17:44:54 -07:00
Neil Fraser 3bd608b6ae Switch build to HTTPS.
The online Closure Compiler drops http as of today.
2017-10-27 17:18:59 -07:00
Neil Fraser 7ec0862357 Restore Translations (#1396)
* Remove English from Tagalog.

* Resurrect translations for TEXT_INDEXOF_TITLE

* Resurrect translations for TEXT_APPEND_TITLE

* Resolve compile warnings.
2017-10-27 16:50:44 -07:00
Evan W. Patton 67e192e208 Fix logic bugs related to e1e9427 (#1398)
This commit adds a fallback when attempting to merge events that
collide on a hash but do not actually merge. Previously, the latter
event would be dropped.

This also fixes a minor UX problem where moving the isNull check into
the merging loop resulted in extra events in the undo queue that
served no purpose and required multiple undo operations without visual
feedback.

Fixes #1373
2017-10-27 16:04:17 -07:00
translatewiki.net 100a968d9f Localisation updates from https://translatewiki.net. 2017-10-27 04:43:02 +02:00
Andrew n marshall 722ef5f3e1 Updating the templates to minimize checkboxes and use HTML comments. (#1394) 2017-10-26 16:00:07 -07:00
Andrew n marshall ef14f0f306 Adding code removed in #1028 to fix regression #1386. (#1389)
Modifications to avoid matching %{key} notation.
2017-10-25 12:27:11 -07:00
Andrew n marshall 187c2c85dc Built pt.js from prior portuguese update. (#1387) 2017-10-25 12:26:41 -07:00
Andrew n marshall 85f8a24ac8 Adding JSDoc for Blockly event fields (#1385)
Adding JSDoc for blockId, varId, workspaceId, group, and recordUndo
2017-10-25 12:26:24 -07:00
Neil Fraser 43423f268e Fix code demo in IE if Blockly is compiled harder.
Closure should not be used except within core.
2017-10-24 17:31:38 -07:00
Neil Fraser 8779a8c3d9 Introduce minimap to style guide. 2017-10-24 14:06:29 -07:00
Neil Fraser e100c66659 Linting. 2017-10-24 14:06:29 -07:00
Neil Fraser 2445a752b7 Resolve another 20 warnings. 2017-10-24 14:06:29 -07:00
Neil Fraser 4262b09002 Resolve 106 warnings. 2017-10-24 14:06:29 -07:00
Andrew n marshall f992ea0f9c Fix #1369: resource loading order constraints, interpolation tokens in message expansion (PR #1383)
This fixes race condition in #1369 by using message references instead of explicit string lookups. This required fixing a bug the token interpolation parser that was breaking on the inner '"%1"' for these tooltips.
2017-10-24 13:02:14 -07:00
Rachel Fenichel 5a8ebef4b8 Move some context menu options into contextmenu.js (#1372) 2017-10-23 13:27:39 -07:00
Rachel Fenichel bd1d199058 Don't check typeof == undefined in variable deserialization (#1379) 2017-10-23 11:28:00 -07:00
translatewiki.net 31a4f12a22 Localisation updates from https://translatewiki.net. 2017-10-23 04:56:01 +02:00
RoboErikG 2514976e80 Fix typo in mixin name (#1375)
There was a typo in the name of the loop check mixin. Fixes the immediate issue though we should post a warning if trying to register a mixin that doesn't exist.
2017-10-20 15:18:19 -07:00
Rachel Fenichel 7cbb70402e Update PULL_REQUEST_TEMPLATE.md 2017-10-20 14:04:07 -07:00
Neil Fraser 631c978174 Fix typos. 2017-10-20 13:29:23 -07:00