Commit graph

3077 commits

Author SHA1 Message Date
Rachel Fenichel
adb81f52dc Remove test_maxBlocksWorkspace because limiting block numbers is not implemented in scratch-blocks 2017-10-13 16:37:57 -07:00
Rachel Fenichel
a206a46a21 fix test_addTopBlock_TrivialFlyoutIsTrue 2017-10-13 16:36:55 -07:00
Rachel Fenichel
859560f185 Put a test in a try/catch so it doesn't break all subsequent tests 2017-10-13 16:17:13 -07:00
Rachel Fenichel
685d293c8b Check for the existence of a message before calling replace on it, to avoid a crash 2017-10-13 16:16:22 -07:00
Rachel Fenichel
cde1b9c1d2 Fix test_parent_tooltip_when_inline 2017-10-13 15:39:19 -07:00
Rachel Fenichel
ec7180710f Fix test_SearchForClosest 2017-10-13 15:34:56 -07:00
Paul Kaplan
3d4f237f08 Merge pull request #1141 from paulkaplan/block-rendering-performance
Block rendering performance
2017-10-13 16:28:41 -04:00
Paul Kaplan
360222d4ea Allow className changes by field subclass to prevent layout thrashing 2017-10-13 16:00:37 -04:00
Paul Kaplan
2a6ff11202 Check for timeout pid before calling clearTimeout 2017-10-13 16:00:37 -04:00
Paul Kaplan
8eedd0b9f0 Remove initial updateTransform from flyout button 2017-10-13 16:00:37 -04:00
Paul Kaplan
0ac07db628 Use Blockly.Field.getCachedWidth instead of non-caching method 2017-10-13 16:00:37 -04:00
Rachel Fenichel
9636c5dcb7 Merge pull request #1137 from rachel-fenichel/bugfix/1135
Custom context menu for procedure calls
2017-10-13 12:27:07 -07:00
Rachel Fenichel
fda3880e78 Merge pull request #1140 from rachel-fenichel/bugfix/1129
Fix argument reporter rendering with short text
2017-10-13 10:41:44 -07:00
Rachel Fenichel
995222fb2e Merge pull request #1138 from rachel-fenichel/bugfix/1133
Enable bulk updating during duplication
2017-10-13 10:07:28 -07:00
Rachel Fenichel
9f242079a9 Merge pull request #1139 from rachel-fenichel/cleanup/context_menu_options
Make helper functions for context menu options
2017-10-13 10:06:37 -07:00
Rachel Fenichel
11a13b2eb3 Fix argument reporter rendering with short text 2017-10-12 17:28:13 -07:00
Rachel Fenichel
cbe4aec9e6 Make functions package instead of private 2017-10-12 15:22:49 -07:00
Rachel Fenichel
f34ac37f2f Move context menu helpers to contextmenu.js 2017-10-12 15:20:57 -07:00
Rachel Fenichel
5f01772df6 Create helper functions for creating block context menu options 2017-10-12 15:07:18 -07:00
Rachel Fenichel
970db3cef9 Enable bulk updating during duplication 2017-10-12 14:17:26 -07:00
Rachel Fenichel
f928a7b9d6 Custom context menu for procedure calls 2017-10-12 13:39:24 -07:00
Rachel Fenichel
8c1f0607b5 Merge pull request #1134 from rachel-fenichel/bugfix/custom_procedure_rendering_details
Tinker with constants for drawing the define block.
2017-10-12 12:02:13 -07:00
Rachel Fenichel
a856dee687 Remove dead code 2017-10-12 11:59:48 -07:00
Rachel Fenichel
d3e7bfb081 Tinker with constants for drawing the define block. 2017-10-12 11:41:48 -07:00
Rachel Fenichel
48efcaa7ed Merge pull request #1131 from rachel-fenichel/feature/custom_procedure_context_menu
Context menus on procedure definition blocks
2017-10-12 10:19:08 -07:00
Rachel Fenichel
ca177a3224 replace 'function' with 'procedure' 2017-10-12 10:18:52 -07:00
Rachel Fenichel
c2cb589d83 Merge pull request #1132 from rachel-fenichel/bugfix/432
Move connections at the end of render
2017-10-12 10:04:46 -07:00
Rachel Fenichel
52dac2094e Move connections at the end of render 2017-10-11 17:02:56 -07:00
Rachel Fenichel
70acfed298 Context menus on procedure definition blocks 2017-10-11 15:59:03 -07:00
Paul Kaplan
8ba7cd0700 Merge pull request #1128 from paulkaplan/fix-resizes-enabled-flag
Fix resizesEnabled flag from bulkUpdating change
2017-10-11 10:56:16 -04:00
Paul Kaplan
0e1bf835e8 Fix resizesEnabled flag from bulkUpdating change 2017-10-11 10:06:10 -04:00
Rachel Fenichel
44e561c7a6 Merge pull request #1125 from rachel-fenichel/bugfix/argument_reporter_color
Make shadow argument reporters pop out visually
2017-10-10 13:34:44 -07:00
Rachel Fenichel
167bf79328 Merge pull request #1122 from rachel-fenichel/feature/bulk_updates_flag
Add a bulkUpdate flag to avoid expensive operations (such as toolbox …
2017-10-10 13:33:08 -07:00
Rachel Fenichel
75642d1ee8 Make shadow argument reporters pop out visually 2017-10-10 13:25:53 -07:00
Rachel Fenichel
91dd38398c Merge pull request #1123 from rachel-fenichel/bugfix/1111
Add correct padding on argument reporters
2017-10-10 13:14:21 -07:00
Rachel Fenichel
6e0f6f7b77 Change shouldDuplicateOnDrag to isArgumentReporter 2017-10-10 13:10:18 -07:00
Rachel Fenichel
4a752af88f Set isBulkUpdating correctly 2017-10-10 13:03:51 -07:00
Rachel Fenichel
b33ad91de5 Merge pull request #1121 from rachel-fenichel/cleanup/vertical_rendering
Vertical rendering code cleanup
2017-10-10 11:23:05 -07:00
Rachel Fenichel
7cdb310fd9 Add correct padding on argument reporters 2017-10-09 15:06:03 -07:00
Rachel Fenichel
c838ca3a87 Add a bulkUpdate flag to avoid expensive operations (such as toolbox refresh) during workspace loading. 2017-10-09 12:04:59 -07:00
Rachel Fenichel
101a976be4 Fix bad method call 2017-10-09 11:41:23 -07:00
Rachel Fenichel
90839fdc2d Add getAlignedCursor_ 2017-10-09 11:39:52 -07:00
Rachel Fenichel
6d615089e0 Create getInputShapeInfo_ method 2017-10-09 11:32:41 -07:00
Paul Kaplan
fdd7c2d4f8 Merge pull request #1117 from paulkaplan/fix-custom-procedure-colors
Fix colors for custom procedures
2017-10-06 17:39:15 -04:00
Paul Kaplan
6daed156b0 Fix colors for custom procedures 2017-10-06 16:31:33 -04:00
Rachel Fenichel
3f30eacd4c Merge pull request #1115 from rachel-fenichel/feature/more_argument_reporters
Render the internal custom block, and get the argument reporters right
2017-10-06 08:39:28 -07:00
Rachel Fenichel
4f1f4a5297 Remove commented out code 2017-10-06 08:35:50 -07:00
Rachel Fenichel
2f378736f7 Cleanup in FieldLabelEditable 2017-10-05 21:58:19 -07:00
Rachel Fenichel
3cdc7905c9 render the internal custom block, and get the argument reporters right 2017-10-05 18:34:24 -07:00
Rachel Fenichel
23e05e8f4f Merge pull request #1112 from rachel-fenichel/feature/argument_reporters
Add a way to specify which blocks should be duplicated on drag, and e…
2017-10-05 12:54:32 -07:00