Commit Graph

2714 Commits

Author SHA1 Message Date
translatewiki.net
b8815acc0d Localisation updates from https://translatewiki.net. 2018-05-25 11:41:56 +02:00
Rachel Fenichel
68f8639da1 Merge pull request #1888 from rachel-fenichel/cleanup/stepObject
Create and use a Blockly.BlockSvg.PathObject type
2018-05-23 15:44:59 -07:00
Rachel Fenichel
c1eafb8fa4 Merge pull request #1889 from rachel-fenichel/bugfix/1780
Fix undoing a drag to connect
2018-05-23 15:11:33 -07:00
Rachel Fenichel
73e6cf1265 Fix undoing a drag to connect 2018-05-23 14:56:41 -07:00
Rachel Fenichel
c1df1c647a Create and use a Blockly.BlockSvg.PathObject type 2018-05-23 11:40:15 -07:00
Andrew n marshall
9b8704f4bc Adding travis_fold logging around each test (#1879)
Replace individual .travis.yml commands and test_runner.js with tests/run_all_tests.sh, which manages the travis_fold statements and accumulating the output of all the test phases.

This script is now in charge of test_setup.sh (previously handled by npm pretest script). It also adds green/red color coding to each test section, based on success and failure.
2018-05-22 17:23:01 -07:00
Rachel Fenichel
ffe779bb6c Merge pull request #1886 from rachel-fenichel/cleanup/decompose_render_fns
Decompose some render functions so they'll be easier to work with
2018-05-22 17:07:13 -07:00
Rachel Fenichel
206e22e88c Decompose some render functions so they'll be easier to work with 2018-05-22 14:06:51 -07:00
Rachel Fenichel
98f838c0c3 Merge pull request #1878 from rachel-fenichel/bugfix/1380
Fix #1380
2018-05-21 16:11:29 -07:00
Rachel Fenichel
178473e989 Merge pull request #1885 from rachel-fenichel/bugfix/ws_comment_enable_ie
Disable ws comments in IE
2018-05-21 16:11:20 -07:00
Isabelle Taylor
629763e8ff Add warning message for unrecognized toolbox colour value. (PR #1881)
Fixes #1831
2018-05-21 15:44:46 -07:00
Rachel Fenichel
efd55e5d4f Disable ws comments in IE 2018-05-21 15:12:09 -07:00
translatewiki.net
c8b7b4a6a1 Localisation updates from https://translatewiki.net. 2018-05-21 15:59:23 +02:00
Rachel Fenichel
14e846f2b7 Fix 1380 2018-05-17 16:19:44 -07:00
Rachel Fenichel
3fea2a2eb4 Merge pull request #1875 from rachel-fenichel/fixes_from_scratch_blocks
Fixes from scratch blocks
2018-05-17 16:09:11 -07:00
Rachel Fenichel
e798e9d102 Merge pull request #1876 from rachel-fenichel/bugfix/missing_require
Add a missing require and rebuild
2018-05-17 16:08:52 -07:00
Andrew n marshall
a3dfd0553d tests/compile/compile.sh improvements (#1874)
tests/compile/compile.sh improvements
 * Allow running from either Blockly root or local dir.
 * Allow the use of npm google-closure-library.
 * Log compiler/library versions
 * Log full *compiler*.jar filename. Limit to one match.
 * Add npm instructions for both compiler and library.
 * Minor stylistic polish.
2018-05-17 12:10:35 -07:00
Andrew n marshall
402f2bc38c Adding all blocks to the compilation. (#1877)
Correct the procedures require listed in the comment.
2018-05-17 11:51:54 -07:00
Rachel Fenichel
85206993f6 Add a missing require and rebuild 2018-05-17 11:20:49 -07:00
Rachel Fenichel
df7f534ad6 Performance improvements for workspace clear and load 2018-05-17 11:05:18 -07:00
translatewiki.net
1223fd35ff Localisation updates from https://translatewiki.net. 2018-05-17 08:23:36 +02:00
Rachel Fenichel
8ead7dabd8 Use .textContent setter for field text 2018-05-16 14:48:41 -07:00
Andrew n marshall
f2b6c9a948 Work in progress (Needed a Travis run) (#1869)
Fix advanced compilation on Travis
2018-05-16 14:16:02 -07:00
Rachel Fenichel
f623004b3a Small changes 2018-05-16 12:52:12 -07:00
Andrew n marshall
9ab746e143 Another attempt at testing for PointerEvent. (#1870)
Advanced compilation error introduced in #1856.
Now bypassing window altogether, by testing goog.global.PointerEvent directly.
2018-05-15 17:12:53 -07:00
Andrew n marshall
9eb05c4ad3 Don't build upon npm install. (#1855)
Build depends upon ../closure-library, which is outside the usual
npm process. And since the library ships pre-built, just concatenate
the built files to make the node-ready version.
2018-05-15 14:45:22 -07:00
Andrew n marshall
1b9af8771f Revised references to window to solve Node issues. (#1856) 2018-05-15 14:44:15 -07:00
Rachel Fenichel
028d4278ad Merge pull request #1868 from google/rachel-fenichel-patch-1
Update gesture.js
2018-05-15 14:42:59 -07:00
Rachel Fenichel
93eb340b23 Update gesture.js
Make the code match the annotation (and all other uses of the variable)
2018-05-15 14:37:24 -07:00
Andrew n marshall
b37a4bd5b8 Correcting typo in comment (#1866) 2018-05-15 14:12:15 -07:00
Rachel Fenichel
1e0c66a102 Merge pull request #1854 from rachel-fenichel/feature/load_all_generator_tests
Button to load all XML files for testing
2018-05-14 17:41:52 -07:00
Rachel Fenichel
d6444659ad Don't keep the list of test names separate from the dropdown 2018-05-14 17:35:30 -07:00
Andrew n marshall
1d55b90c2f Clean-up dependencies in package.json (#1853)
* Clean-up package.json dependencies.
* Updating to the latest version of closure and webdriverio.
2018-05-14 17:25:40 -07:00
Rachel Fenichel
ed410a84b2 Button to load all XML files for testing 2018-05-14 17:12:37 -07:00
Andrew n marshall
2e8c29de45 Adding gulpfile to build Node.js compatible library. (#1847)
The gulp file is derived from work in PR #887, with numerous
refinements and clarifying comments.

Also updating the version number in package.json, including the
'develop' prerelease tag for the develop branch.
2018-05-11 15:19:47 -07:00
Rachel Fenichel
ad16a1fd6f Merge pull request #1846 from samelhusseini/patch-2
Fix RTL mutators in Edge and IE
2018-05-11 11:26:59 -07:00
Sam El-Husseini
87ab88954d Fix RTL mutators in Edge and IE 2018-05-10 20:30:37 -07:00
Neil Fraser
6319cab317 Simplify RTL handling of '<' and '>'. (#1823)
Tested in Playground and RTL demo.
2018-05-10 15:34:06 -07:00
Rachel Fenichel
14e926a364 Update comments in block_events.js
They were inverted.
2018-05-10 12:04:05 -07:00
Rachel Fenichel
cfab3cc9ae Merge pull request #1838 from rachel-fenichel/bugfix/ff_scrolling
Fix a problem with scrolling on firefox
2018-05-09 12:44:27 -07:00
Rachel Fenichel
7c7158625e Merge pull request #1841 from rachel-fenichel/bugfix/ui_events_null
Make ui events work when block is null; test
2018-05-07 14:22:03 -07:00
Rachel Fenichel
cc33296f04 Merge pull request #1844 from gnarf/delay-ctm
Delay getting inverse screen CTM until needed
2018-05-07 14:21:39 -07:00
translatewiki.net
314221d832 Localisation updates from https://translatewiki.net. 2018-05-07 07:53:12 +02:00
Andrew n marshall
ea6438de3e Adding Blockly.FieldDropdown.validateOptions_() (#1840)
* Adding Blockly.FieldDropdown.validateOptions_()

Verifies the datastructure of dropdown option lists.
Catches errors early, such as:
  https://groups.google.com/forum/#!topic/blockly/ae9WrvEcOP0
2018-05-04 19:12:10 -07:00
Corey Frang
222e33eaa3 Do not nullify inverseScreenCTM if for some reason CTM is lost 2018-05-04 19:39:07 -04:00
Corey Frang
0dc32091c4 Delay getting inverse screen CTM until needed 2018-05-04 13:40:55 -04:00
Rachel Fenichel
02aada1e3d Make ui events work when block is null; test 2018-05-03 17:36:08 -07:00
translatewiki.net
c1922a1cd2 Localisation updates from https://translatewiki.net. 2018-05-03 09:20:51 +02:00
Rachel Fenichel
c7a0721a18 Fix a problem with scrolling on firefox 2018-05-02 16:44:54 -07:00
Andrew n marshall
0ffd5dda18 Changing root script for tests under Node. (#1837)
* Changing root script for tests under Node.

Was: tests/jsunit/test_runner.js
Now: tests/test_runner.js

The webdriver & jsunit calls formerly in tests/jsunit/test_runner.js
are now in function runJsUnitTestsInBrowser, in
run_jsunit_tests_in_browser.js, called from tests/test_runner.js.

This makes room for additional tests under Node, such as headless and generator tests.
2018-05-02 12:19:49 -07:00