Commit Graph

292 Commits

Author SHA1 Message Date
Andrew n marshall
a47bd93f4c Adding extensions for JSON support of dynamic blocks. (#834)
Adding support for extensions, functions that can assist with loading blocks, much like init functions, but that can be referenced from JSON definitions. This allows JSON definitions to define dynamic blocks such as onchange handlers and mutators.

Rewrote math_number as an example pure JSON block.
2017-01-18 12:45:39 -08:00
Andrew n marshall
4fdd16b499 JSON support for message lookup in colour, tooltip, and help URL. (#825)
String replacement for the colour, tooltip text and help URL attributes of JSON defined blocks.
Demonstrated in logic_boolean.
2017-01-13 16:54:27 -08: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
picklesrus
5ab6f41fd3 recompile again. (#806) 2017-01-05 20:08:28 -08:00
Rachel Fenichel
4188226808 Routine rebuild 2017-01-04 13:26:58 -08:00
Sean Lip
05b5c3bc62 Rebuild Blockly. 2016-11-28 17:29:24 -08:00
Neil Fraser
f6aef459fc API-breaking cleanup. But doubtful anyone will be affected. (#748)
* Make add/removeClass return whether they did anything.
* Move more functions onto utils.
* Move bind functions to Blockly.
* Routine recompile.
2016-11-15 13:54:33 -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
Neil Fraser
c8ca24a000 Revert "Rebuild nov 3 16" 2016-11-08 16:46:00 -08:00
Rachel Fenichel
da5c7bcd2a Fix workspace factory bug and rebuild 2016-11-08 16:44:16 -08:00
Rachel Fenichel
b30b60e8d1 merge and rebuild 2016-11-03 15:55:57 -07:00
Neil Fraser
726f3533f5 Routine recompile. 2016-10-26 18:43:29 -07:00
Neil Fraser
c60e91d60e Routine recompile. 2016-10-14 02:22:38 -07:00
Katelyn Mann
0708799760 Routine recompile 2016-10-11 14:59:12 -07:00
Rachel Fenichel
63410dd719 rebuild 2016-09-23 13:49:15 -07:00
Rachel Fenichel
705d373317 Merge branch 'develop' into feature/simple_multitouch 2016-09-22 13:57:41 -07:00
Rachel Fenichel
1d1321a00d Changes per neil's comments, plus a rebuild 2016-09-21 16:25:44 -07:00
Katelyn Mann
27199b8a3c routine recompile 2016-09-20 10:59:44 -07:00
Rachel Fenichel
e58671b99b rebuild 2016-09-07 18:50:36 -07:00
Rachel Fenichel
16b7ae6193 rebuild 2016-09-07 18:32:00 -07:00
Neil Fraser
14bd130e7c Routine recompile. 2016-08-26 16:14:40 -07:00
Neil Fraser
2995f76ed8 Routine recompile. 2016-08-24 03:08:13 -07:00
Rachel Fenichel
0f7907c680 Update variable-related messages 2016-08-17 16:08:38 -07:00
Rachel Fenichel
775e298c2c Disallow deleting variables that are used in the definition of a function 2016-08-11 17:10:15 -07:00
Rachel Fenichel
65d785a86d New message for deletion; block dispose is a noop if it's already been deleted 2016-08-09 17:17:08 -07:00
Rachel Fenichel
bf6220cb42 Ask user for confirmation when deleting multiple uses of a variable. 2016-08-09 10:45:26 -07:00
Rachel Fenichel
9adb9c0cdb Recompile 2016-08-08 16:59:25 -07:00
Sean Lip
d362c73a04 Allow a placeholder for empty fields to be specified when generating block descriptions. (#509)
* Allow a placeholder for empty fields to be specified when generating block descriptions.

* Correctly handle recursive block stringification.
2016-08-03 17:47:34 -07:00
Neil Fraser
1aeb26860a Routine recompile. 2016-07-26 17:23:57 -07:00
Katelyn Mann
fec95219f8 Recompile to pick up #487. 2016-07-21 15:46:54 -07:00
Neil Fraser
19005ca3bf Routine recompile. 2016-07-19 16:44:12 -07:00
Neil Fraser
f12c95f4a9 Routine recompile. 2016-07-12 11:36:47 -07:00
Neil Fraser
b324efaa86 Change tooltip on text/list indexOf blocks to be 0/1 index aware. All languages.
Delete ta:TEXT_INDEXOF_TOOLTIP since that text does not appear to make
sense.
2016-07-08 18:58:28 -07:00
Neil Fraser
471f620c29 Routine recompile. 2016-07-08 16:53:42 -07:00
Neil Fraser
62a644686c Routine recompile. 2016-06-27 17:40:30 -07:00
Neil Fraser
26bbe74ba1 Routine recompile. 2016-06-21 04:33:35 -07:00
Neil Fraser
873e987f85 Routine recompile 2016-06-14 11:04:26 -07:00
Andrew n marshall
592b2e1a51 Updating URLs to reflect new docs. (#418)
* Updating URLs to reflect new docs. Removing -blockly in URLs.

* Rebuilt.
2016-06-14 10:15:35 -07:00
Neil Fraser
a625d5b07c Fix unit tests. 2016-06-03 16:40:50 -07:00
Neil Fraser
57131165b0 Routine recompile 2016-06-03 16:12:59 -07:00
Neil Fraser
6f12c69500 Routine recompile. 2016-05-25 15:44:44 -07:00
Neil Fraser
2a2a6695da Routine recompile. 2016-05-21 05:56:49 -07:00
Neil Fraser
29e10e0976 Routine recompile. 2016-05-14 03:50:35 -07:00
Rachel Fenichel
4a94952f6d update requires and compressed/uncompressed versions of blockly 2016-05-10 16:53:47 -07:00
Neil Fraser
6c0bf9f966 Routine recompile. 2016-04-21 06:05:25 -07:00
Neil Fraser
703ac981da Routine recompile. 2016-04-20 16:44:13 -07:00
Neil Fraser
9f260501fe Remove duplicate getBlockById function. 2016-04-18 03:14:55 -07:00
Neil Fraser
bd779ad938 Respect generator.INDENT setting. Issue #331. 2016-04-14 01:14:37 -07:00
Neil Fraser
8c3de3a581 Routine recompile. 2016-04-14 00:29:13 -07:00