Commit Graph

2374 Commits

Author SHA1 Message Date
Rachel Fenichel
96e2d7d102 Fix #1559 2018-01-24 17:05:58 -08:00
Rachel Fenichel
c6881677ad Merge pull request #1561 from rachel-fenichel/cleanup/lint
Indentation lint that blocks moving to eslint 4.0
2018-01-24 16:48:18 -08:00
Rachel Fenichel
2b7b4bf3af More lint 2018-01-24 16:40:07 -08:00
Rachel Fenichel
3e62ffc20a Split at higher level for multiline function calls 2018-01-24 11:26:41 -08:00
Rachel Fenichel
b9b1105448 Set indent to 'warn' so that it doens't error on lint fixes for eslint 4.0 2018-01-24 10:41:12 -08:00
Rachel Fenichel
799148da7e More spaces 2018-01-24 10:22:13 -08:00
Andrew n marshall
36993430e1 createVariable(..) => createVariableButtonHandler(..)
Clarifying the role of Blockly.Variables.createVariableButtonHandler(..).
Updating documentation a making sure it (and its deprecated previous name)
are properly exported.
2018-01-24 09:54:21 -08:00
Rachel Fenichel
3575d53018 57 errors remaining 2018-01-23 18:42:45 -08:00
Rachel Fenichel
fb897d7786 Even more lint. 90 errors remaining. 2018-01-23 18:33:30 -08:00
Rachel Fenichel
9a53e96d53 More lint fixes 2018-01-23 18:22:53 -08:00
Rachel Fenichel
1e3450a051 Indentation lint that blocks moving to eslint 4.0 2018-01-23 17:27:35 -08:00
Rachel Fenichel
e61b51afcb Merge pull request #1546 from rachel-fenichel/bugfix/1499
Fix #1499 and add some validation
2018-01-22 17:54:11 -08:00
Ziya ERKOC
97daddb01e Update block_exporter_controller.js
Generator stub file type is set to javascript; unnecesarry conditions removed.
2018-01-22 11:26:35 -08:00
Ziya ERKOC
4bbd83820c Update block_exporter_controller.js
Default export type of Generator Stub section is set to '.js' while downloading it in Block Export (in Block Factory)
2018-01-22 11:26:35 -08:00
Rachel Fenichel
06ae9ade8e Don't update the field until all checks pass 2018-01-19 15:49:39 -08:00
Andrew n marshall
0d085c27b2 Removing Events.disable()/.enable() from disableOrphans.
Tested in Blockly Games and BlockFactory. Tests also pass.
2018-01-19 10:40:18 -08:00
Rachel Fenichel
ae7da6c7a8 Merge pull request #1550 from rachel-fenichel/bugfix/annotations
Make another function public
2018-01-18 16:00:23 -08:00
Rachel Fenichel
e648f11e2d Make another function public 2018-01-18 15:59:26 -08:00
Rachel Fenichel
051c970b57 Merge pull request #1549 from rachel-fenichel/bugfix/annotations
Make some functions public
2018-01-18 15:37:18 -08:00
Rachel Fenichel
5cd6a51197 Make some functions public 2018-01-18 15:35:59 -08:00
Rachel Fenichel
74bc7a54db Merge pull request #1542 from rachel-fenichel/bugfix/1539
Fix #1539
2018-01-18 10:27:26 -08:00
Rachel Fenichel
dc5267da65 Merge pull request #1547 from rachel-fenichel/feature/dev_var_ordering
Declare developer variables before user variables.  Rebuild generators.
2018-01-18 10:24:37 -08:00
Rachel Fenichel
c5d6577d16 Merge pull request #1543 from rachel-fenichel/feature/dev_vars_in_fn
Update procedure generators for PHP and Python to declare developer v…
2018-01-18 10:21:08 -08:00
Rachel Fenichel
9a3dc70031 Declare developer variables before user variables. Rebuild generators. 2018-01-17 17:38:26 -08:00
Rachel Fenichel
7314bdfb3a Fix #1499 and add some validation 2018-01-17 16:54:12 -08:00
Rachel Fenichel
376b3c4b44 Update procedure generators for PHP and Python to declare developer variables as globals 2018-01-17 13:04:41 -08:00
Rachel Fenichel
68cee9da42 Fix #1539 2018-01-17 11:19:38 -08:00
Rachel Fenichel
3f61f71f35 Merge pull request #1531 from google/variables_by_id
Variables by ID
2018-01-16 17:54:55 -08:00
Rachel Fenichel
fa91c6b36f Make some functions package 2018-01-16 12:41:52 -08:00
Rachel Fenichel
769b3e19e0 Merge pull request #1536 from samelhusseini/pinchtozoom
Support pinch to zoom gesture for both touch and pointer events
2018-01-12 15:22:03 -08:00
Rachel Fenichel
fca7bd808c Rebuild 2018-01-12 14:53:09 -08:00
Rachel Fenichel
b593d44379 Make the potential variable map null when not needed 2018-01-12 14:51:02 -08:00
Rachel Fenichel
a30ad6ff3a More code cleanup for review 2018-01-12 13:28:17 -08:00
Rachel Fenichel
1fa27fa043 Update comments and remove unused functions 2018-01-12 12:03:28 -08:00
microsoftsam
4b064da8e8 Support pinch to zoom gesture for both touch and pointer events 2018-01-11 11:26:42 -08:00
Rachel Fenichel
80b397f532 Respond to more review comments 2018-01-10 17:27:43 -08:00
Rachel Fenichel
a43b0e7010 Respond to commit comments and make compressed blockly work again 2018-01-10 17:02:02 -08:00
Rachel Fenichel
bd4e4daebb Update comments and use try/catch with setGroup. 2018-01-09 13:31:13 -08:00
Neil Fraser
870f7b7f8a Fix document detection.
Andrew LGTMs in person.
2018-01-08 15:10:14 -08:00
Rachel Fenichel
30f7c915d7 Merge pull request #1530 from rachel-fenichel/bugfix/nits
Remove some TODOs; add a variable-referencing block to the simple playground flyout
2018-01-08 14:36:13 -08:00
Rachel Fenichel
5d6d7519cd Remove some TODOs; add a variable-referencing block to the simple playground flyout 2018-01-08 14:14:26 -08:00
RoboErikG
dba896b78a Change goog.date to goog.date.DateTime
goog.date.fromIsoString has been deprecated in favor of goog.date.DateTime.fromIsoString.

This change still needs to be tested with field_date enabled in the build before submitting.
2018-01-08 13:14:52 -08:00
Rachel Fenichel
a49a148732 Merge pull request #1525 from rachel-fenichel/bugfix/variables_procedures
Use variable IDs for procedure arguments
2018-01-05 16:43:39 -08:00
Neil Fraser
7413db1089 Code style 2018-01-05 15:56:20 -08:00
Neil Fraser
eb61152ac2 Add {{Optional}} to help URLs. (#1413)
* Add {{Optional}} to help URLs.
Fixes issue #898.

* Leakage from Blockly Games?

* Propagate msg-Blockly -> msg-blockly change back to messages.js
As made by wikitranslate in 69b10dba79
2018-01-05 15:20:42 -08:00
Rachel Fenichel
ea6bf607fa Add displayRenamedVar to procedures_defnoreturn 2018-01-04 16:38:36 -08:00
Rachel Fenichel
832dae009e Cleanup 2018-01-04 16:32:23 -08:00
Rachel Fenichel
77cf3ddc33 Track variable IDs for procedure arguments 2018-01-04 16:16:12 -08:00
Rachel Fenichel
b342fb2121 Fix problem with clearing flyout after a variable was deleted. 2018-01-02 16:42:28 -08:00
Rachel Fenichel
9b091a8f9e Update procedure generators 2018-01-02 16:27:17 -08:00