Commit graph

3108 commits

Author SHA1 Message Date
Neil Fraser
a119cca83b Compatibility for Closure Compiler. (#1240) 2017-10-19 11:47:04 -04:00
Paul Kaplan
5b4537a1e6 Merge pull request #1155 from LLK/revert-1149-randomize-pretty-colors
Revert "Only pick random colors with full saturation and brightness"
2017-10-19 10:32:40 -04:00
Paul Kaplan
d9d3a60631 Revert "Only pick random colors with full saturation and brightness" 2017-10-19 10:31:45 -04:00
Paul Kaplan
145bbdbffa Merge pull request #1148 from paulkaplan/fix-color-slider-stability
Fix unstable color sliders by tracking HSV internally
2017-10-18 13:17:28 -04:00
Paul Kaplan
cf35d8e7e9 Merge pull request #1147 from paulkaplan/run-tests-on-travis
Run tests on travis
2017-10-18 13:17:12 -04:00
Paul Kaplan
2c9d126ed6 Merge pull request #1149 from paulkaplan/randomize-pretty-colors
Only pick random colors with full saturation and brightness
2017-10-18 13:16:51 -04:00
Paul Kaplan
2cbed37ba5 Remove travis osx switch and pin webdriverio version 2017-10-18 12:47:20 -04:00
Paul Kaplan
b0aedbc2c4 Only pick random colors with full saturation and brightness 2017-10-18 12:37:57 -04:00
Paul Kaplan
6fd99e21a8 Fix the ranges on the sliders to go the entire range. 2017-10-18 12:36:54 -04:00
Paul Kaplan
a83cd2d9a8 Revert typo 2017-10-18 12:22:20 -04:00
Paul Kaplan
ee477fce57 Merge branch 'run-tests-on-travis' of github.com:paulkaplan/scratch-blocks into run-tests-on-travis 2017-10-18 11:55:53 -04:00
Paul Kaplan
d1ee51ee57 Move scripts folder into tests 2017-10-18 11:55:42 -04:00
Paul Kaplan
a28299d35d Merge branch 'develop' into run-tests-on-travis 2017-10-18 11:52:16 -04:00
Rachel Fenichel
1ce2e4ce4a Merge pull request #1146 from rachel-fenichel/feature/find_procedure_calls
Find all callers of a procedure by procCode
2017-10-18 08:27:59 -07:00
Paul Kaplan
33f994288a Use hsv to track color value while in editor 2017-10-18 09:57:52 -04:00
Paul Kaplan
9f7423efaf Setup selenium for travis 2017-10-18 09:45:34 -04:00
Paul Kaplan
0d7f26bd32 Update closure library and revert test runner change.
Closure library being out of date caused the test
runner as written in blockly/develop not to work.
2017-10-18 09:34:33 -04:00
Paul Kaplan
8d8cb075f5 Add webdriverio to dev deps 2017-10-18 09:29:35 -04:00
Paul Kaplan
8ec8a29e6a Fix horizontal tests 2017-10-18 09:26:49 -04:00
Paul Kaplan
660503193f Get unit tests running on travis 2017-10-18 09:06:33 -04:00
Rachel Fenichel
af6cbd8d13 reorder horizontal tests and add procedure_test.js 2017-10-17 17:02:59 -07:00
Rachel Fenichel
99fa91fb4f Include procedure tests in vertical_tests.html 2017-10-17 17:01:10 -07:00
Rachel Fenichel
46800eec34 Put tests in order 2017-10-17 17:00:30 -07:00
Rachel Fenichel
66d1383b59 tests for procedure.findCallers 2017-10-17 16:58:41 -07:00
Rachel Fenichel
d872c673c8 Fix findCallers 2017-10-17 16:58:41 -07:00
Rachel Fenichel
d6515e52bc Find all scratch-blocks custom procedure calls 2017-10-17 16:58:41 -07:00
Rachel Fenichel
4783e7fd9d Merge pull request #1144 from rachel-fenichel/bugfix/fix_tests
Fix tests
2017-10-17 09:40:15 -07:00
Rachel Fenichel
fe57056c2f Merge pull request #1142 from rachel-fenichel/cleanup/ws_context_menu
Cleanup of workspace context menu code
2017-10-16 10:04:47 -07:00
Rachel Fenichel
3834f14d72 Fix vertical_tests.html and remove orphaned test 2017-10-13 16:45:09 -07:00
Rachel Fenichel
a52cd8d3f6 Fix typo that caused a test to fail 2017-10-13 16:43:21 -07:00
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
Rachel Fenichel
9771120ab4 Cleanup of workspace context menu code 2017-10-13 13:36:37 -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