Commit Graph

3076 Commits

Author SHA1 Message Date
Rachel Fenichel 68ecd801ed Merge pull request #2186 from RoboErikG/roboerikg-emptyVar-cp
Avoid crashing when a procedure input has an empty string
2018-12-19 11:06:33 -08:00
Erik Pasternak 738d06a464 Avoid crashing when a procedure input has an empty string
Fixes #1958

This will drop the input when it's in the empty string state. This
causes the block to remove the input and re-add it when the text
is reverted, but prevents the breakage. A followup fix should leave
the input alone instead of removing it, but this works for now.
2018-12-19 10:54:45 -08:00
Rachel Fenichel da94697e93 Rebuild 2018-12-17 14:24:59 -08:00
Rachel Fenichel 17ab169772 Fix bad version number 2018-12-14 17:23:11 -08:00
Rachel Fenichel 2e71584017 Merge branch 'master' into rc/Dec_18 2018-12-14 15:47:54 -08:00
Rachel Fenichel a272e52a86 Bump version to 1.20181214 2018-12-14 15:46:56 -08:00
Rachel Fenichel 1ed058587c Merge pull request #2173 from rachel-fenichel/rebuild_12_14_18
Rebuild uncompressed and language files
2018-12-14 15:41:44 -08:00
Rachel Fenichel b58f3b1e48 Rebuild uncompressed and language files 2018-12-14 15:05:29 -08:00
Rachel Fenichel 1f076d7226 Merge pull request #2171 from rachel-fenichel/update_dependencies
Update dependencies
2018-12-14 14:54:16 -08:00
Rachel Fenichel b7446e195c Update dependencies 2018-12-14 12:42:03 -08:00
Rachel Fenichel 4ee14201a9 Merge pull request #2170 from rachel-fenichel/disable_insertion_markers
Disable insertion markers for the December 2018 release
2018-12-14 11:13:27 -08:00
Rachel Fenichel e182f43d12 Disable insertion markers for the December 2018 release 2018-12-14 10:57:39 -08:00
alschmiedt 91cc05abf3 Merge pull request #2168 from alschmiedt/procedure_events
Groups events fired during field input change
2018-12-13 14:55:45 -08:00
alschmiedt 4bd21c5128 Added todo 2018-12-13 14:39:27 -08:00
alschmiedt aae15f01f4 Groups events fired during field input change 2018-12-13 12:52:55 -08:00
alschmiedt 0c66429f5c Merge pull request #2167 from alschmiedt/mutation_actions
Reconnects child blocks when an undo is done on an else block
2018-12-13 10:38:30 -08:00
alschmiedt 3bf9337205 Fixed comment 2018-12-13 10:32:38 -08:00
alschmiedt 094418f928 Reconnects child blocks when an undo is done on an else block 2018-12-13 08:11:16 -08:00
translatewiki.net 2ba045634e Localisation updates from https://translatewiki.net. 2018-12-13 09:01:02 +01:00
RoboErikG e49d07dd16 Propagate the event group when enforcing bounds on blocks (#2163)
Fixes #1653

Makes the bounds checker created in inject correctly set the event group
before moving blocks in bounds.

When a workspace can't scroll the inject method sets up an event listener
to bump blocks back into the visible bounds when dropped off the edge. The
event group wasn't being used, though, causing the move to be a separate
undo step. When undone, this would get you stuck in a loop where the
workspace would keep pulling it back into the visible range.
2018-12-12 13:03:25 -08:00
Ashwin Ramaswami 8422f931f1 Handle promise rejection for sound.play() in preload (#2162) 2018-12-10 15:25:21 -08:00
Rachel Fenichel c9411dfa33 Merge pull request #2159 from mehdi-yeganeh/develop
#172, Fixed [Edge, IE] Zoom control mouseover is not clipped
2018-12-10 11:01:28 -08:00
translatewiki.net 83cc98fbaa Localisation updates from https://translatewiki.net. 2018-12-10 08:05:11 +01:00
Mehdi Yeganeh fc47878f2a #172, Fixed [Edge, IE] Zoom control mouseover is not clipped 2018-12-08 16:37:03 +03:30
Mehdi Yeganeh 56d5f166de #172, Fixed [Edge, IE] Zoom control mouseover is not clipped 2018-12-08 16:16:59 +03:30
Beka Westberg 8f81bbac25 Fixed Filter Capacity not Considering Child Blocks. (#2155) 2018-12-06 08:54:26 -08:00
Rachel Fenichel d016932ef7 Merge pull request #2151 from mehdi-yeganeh/develop
#1848 Fixed throw console warning when deleting workspace comments
2018-12-05 09:55:57 -08:00
Mehdi Yeganeh a20af7e413 #1848 Fixed eslint errors 2018-12-05 13:25:52 +03:30
Mehdi Yeganeh 16f2175356 #1848 Fixed throw console warning when deleting workspace comments 2018-12-05 00:53:22 +03:30
Rachel Fenichel c08eadff6e Merge pull request #2149 from rachel-fenichel/bugfix/snap_radius
Tweak insertion marker snap radii
2018-12-03 15:30:10 -08:00
Rachel Fenichel f5ea0f665e Tweak insertion marker snap radii 2018-12-03 11:35:28 -08:00
Rachel Fenichel 10704361d5 Merge pull request #2148 from BeksOmega/fixes/Bumping
Added randomness to bumping per Issue #2011
2018-12-03 10:58:51 -08:00
translatewiki.net 6b96528765 Localisation updates from https://translatewiki.net. 2018-12-03 07:37:22 +01:00
Beka Westberg 1b2ec7230c Added randomness to bumping per Issue #2011 2018-12-02 12:34:34 -08:00
Rachel Fenichel 3cbb137b4f Merge pull request #2147 from rachel-fenichel/bugfix/2131
Allow statement connections to connect around block stacks during drags
2018-11-30 14:51:17 -08:00
Rachel Fenichel 1553096b48 Check if both sides of a potential connection match, not just one 2018-11-30 14:46:09 -08:00
Rachel Fenichel b606bc5ec6 Don't distinguish between first statement connection and others 2018-11-30 14:36:37 -08:00
Rachel Fenichel 5938c6df3b Fix #2131 2018-11-30 14:34:14 -08:00
Rachel Fenichel 7ec5599829 Merge pull request #2124 from google/update_chromedriver_develop
Update chromedriver version
2018-11-30 13:46:24 -08:00
Rachel Fenichel b8d7ed1c14 Chromedriver 2.43 -> 2.44 2018-11-30 13:38:40 -08:00
alschmiedt 670e43280e Merge pull request #2144 from alschmiedt/delete_variable_menuItem
Pulls from MakeCode fork the ability to rename and delete variables i…
2018-11-29 16:31:13 -08:00
alschmiedt 9a1d6684d0 Pulls from MakeCode fork the ability to rename and delete variables in flyout 2018-11-29 14:17:56 -08:00
translatewiki.net 74b1584d30 Localisation updates from https://translatewiki.net. 2018-11-29 17:46:51 +01:00
BeksOmega 1c4ba38300 Added Max Instances Property to Workspace Options (#2130)
* Added Max Instances property to Blocks

* eslint cleanup

* eslint cleanup 2

* Moved maxInstances property from block to workspace (as a map of block type to max instances). isDuplicate() changed to correctly handle siblings/branches.

* eslint cleanup

* Changed checking types to map. Added hasBlockLimits. Fixed Nits.

* Added limit_instances test block. eslint fixes.

* fixup! Added limit_instances test block. eslint fixes.

* Changed sorting objects to a private static function of the workspace. Fixed nits. Undeleted .eslintrc

* Reverted .gitignore file.

* Added getBlockTypeCounts() to utils. Added isCapacityAvailable() to workspace. Changed clipboard to save typeCountsMap rather than object.
2018-11-27 16:34:21 -08:00
Rachel Fenichel 6169a6488f Merge pull request #2139 from rachel-fenichel/bugfix/2107
Bugfix/2107
2018-11-27 13:57:10 -08:00
Rachel Fenichel 9ed9dd2f08 Add tests 2018-11-27 13:48:23 -08:00
alschmiedt 76538e67e7 Merge pull request #2133 from alschmiedt/single_code_block
Generate Code For Single Block
2018-11-27 13:38:20 -08:00
alschmiedt d64b6fe9e0 Changes function name 2018-11-27 13:31:32 -08:00
Rachel Fenichel 2ad4333d12 Look up variable by name if not found by ID 2018-11-27 13:02:33 -08:00
alschmiedt f06bee4eca Fixes pull request comments 2018-11-27 09:55:15 -08:00