Rachel Fenichel
e8d95c9137
Remove compile.sh
2021-04-13 14:28:54 -07:00
alschmiedt
9a93ca486f
Fix advanced compilation tests for Q1 2021 release ( #4709 )
2021-03-17 15:46:17 -07:00
Monica Kozbial
408319823e
Remove references to removed test_blocks.js ( #4173 )
...
* Remove test blocks reference from compile tests.
* Remove test blocks reference from compile script
2020-08-18 16:33:57 -07:00
Sam El-Husseini
02d5f6e4e9
Deprecated advanced compilation script and add deprecation warning ( #4021 )
2020-07-06 14:09:45 -07:00
Sam El-Husseini
9e7f3b07e9
Advanced compilation fixes ( #3995 )
...
* Advanced compilation fixes
2020-06-25 11:59:03 -07:00
Neil Fraser
4e2f8e6e02
Use SPDX licences.
...
This is a followup to #3127 .
At the time, SPDX licenses were pending approval by Google.
2020-02-11 13:27:20 -08:00
alschmiedt
7e34d94610
Fixes blockly games blocks being black ( #3579 )
...
* Fixes blockly games blocks being black
2020-01-13 13:34:29 -08:00
Neil Fraser
cd1d18b7a0
STRICT is no longer supported by Closure Compiler
...
Apparently 'PRUNE' is the new option, but it's undocumented. More info:
https://github.com/google/blockly-games/issues/176
2020-01-06 11:04:24 -08:00
Neil Fraser
4d25193ead
Add extern for goog. ( #3417 )
...
As of closure-compiler-v20191027.jar the compile now breaks due to a lack of ‘goog’ being defined.
../../temp_core/constants.js:24: ERROR - [JSC_UNDEFINED_VARIABLE] variable goog is undeclared
goog.provide('Blockly.constants');
^^^^
1 error(s), 0 warning(s)
Compiler exit code: 1
Compilation FAIL.
Upgrade closure compiler to v20191027
2019-11-09 08:10:30 -08:00
Sam El-Husseini
6d8f22f39a
Add a lint plugin to ensure we only use ES5 syntax. ( #3160 )
...
* Add a lint plugin to ensure we only use ES5 only syntax.
2019-10-21 21:26:26 -04:00
Neil Fraser
3556f69233
Messages are no longer compiled in.
2019-10-20 08:26:35 -07:00
Neil Fraser
b46a4fe286
Bring our license format up to date ( #3127 )
...
* Google changed from an Inc to an LLC.
This happened back in 2017 but we didn’t notice. Officially we should update files from Inc to LLC when they are changed as part of regular edits, but this is a nightmare to remember for the next decade.
* Remove project description/titles from licenses
This is no longer part of Google’s header requirements. Our existing descriptions were useless (“Visual Blocks Editor”) or grossly obselete (“Visual Blocks Language”).
* License no longer requires URL.
* Fix license regexps.
2019-10-02 14:46:56 -07:00
Neil Fraser
ddb8e46b87
Make flyouts be optional modules.
...
No Blockly instances need both Horizontal and Vertical flyouts. Dropping one of these saves 2 KB. Some don’t need flyouts at all (e.g. Blockly Games Puzzle or readonly documentation blocks).
2019-09-23 22:02:59 -07:00
Neil Fraser
ebdaf4dd46
Remove now unneeded requires from compile test.
2019-09-18 13:38:44 -07:00
Neil Fraser
51fedc6fdb
Fix compiled test. ( #3030 )
2019-09-16 17:05:45 -07:00
Neil Fraser
ff33d923a2
Fix compile test.
...
(partially)
LGTM in person by Sam.
2019-09-16 16:15:34 -07:00
Neil Fraser
d6cb6b9832
Remove last @export tag ( #3010 )
...
* Remove last @export tag
2019-09-12 17:01:51 -07:00
Sam El-Husseini
8ab51c8639
Remove closure base file dependency ( #2976 )
...
* Trim down closure's base dependency even further by removing the dependency on closure's base file.
2019-09-11 17:30:51 -07:00
alschmiedt
493470807d
Remove check for renderer name from build and compile scripts ( #2842 )
2019-08-16 11:03:40 -07:00
alschmiedt
579363e67a
Fix compile ( #2759 )
...
* Adds ability to have multiple folders in core
2019-08-01 09:01:49 -07:00
Sam El-Husseini
8d72f713a5
Fix the local npm compiler build script ( #2698 )
...
The google closure compiler has moved the java compiler into it's own package under google-closure-compiler-java. Updating paths to reflect that.
2019-07-24 11:08:54 -07:00
Rachel Fenichel
cd275ca67b
Add debug rendering to playground
2019-07-23 16:15:20 -07:00
Neil Fraser
52b6ce18a5
Fix unit tests
2019-07-08 13:29:43 -07:00
Neil Fraser
459961c3cb
Replace Element constants with Node constants.
...
Element constants apparently don’t exist in IE or Edge. Node constants apparently do.
2019-05-29 10:45:54 -07:00
Neil Fraser
5cf52c566a
Fix a dozen compiler warnings.
2019-05-17 16:48:40 -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
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
42cb962cef
Apply review feedback.
2018-04-11 15:26:05 -07:00
Neil Fraser
82705923cb
Convert compile demo into a unit test. ( #1360 )
...
* Intentionally break Travis.
* Alphabetize tests, remove orphaned test, and add fail to test that's running.
* Unbreak test, disable OS X, move scripts, list compiler directory.
* Test Java, break test.
* Unbreak test, call compile script.
* Compile main_compressed.js
* Run test command using bash.
* Fix path.
* Exclude node modules.
* Be more specific about JS files to compile.
* Test failure.
* Restore OSX, undo Blockly failure, remove compilation demo, add compilation test.
* Delete manual test files.
* Ignore downloaded/generated files.
* Whitespace cleanup.
2017-10-12 14:54:57 -07:00