Sam El-Husseini
034ae878c6
Fix gulp blocks compile build ( #3519 )
...
* Fix gulp build by adding Comment, Mutator and Warning to the remove regex.
2019-12-16 14:05:31 -08:00
Sam El-Husseini
e8a294b138
Use google-closure-deps in local build ( #3432 )
...
* Use google-closure-deps instead of python script for building in gulpfile (JS)
2019-11-12 11:26:20 -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
Neil Fraser
22c1eba546
Make warnings an optional module.
2019-11-01 11:52:12 -07:00
Sam El-Husseini
93755fef53
Treat compiler warnings as errors and run on travis ( #3378 )
...
* Enable compiler warnings as errors and run on travis
2019-10-31 15:49:28 -07:00
Sam El-Husseini
6170b77027
Add langfiles build task in gulp ( #3331 )
...
* Add build-langfiles to gulp, and add uncompressed + langfiles to build when building all
2019-10-24 11:11:03 -04: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
Rachel Fenichel
1e2eb6bd60
Review cleanup
2019-10-21 10:46:34 -07:00
Rachel Fenichel
3946b56a26
Add script to bump minor version number
...
Creates a new branch, bumps, builds, tags, and pushes the new branch and new tag.
2019-10-18 14:24:06 -07:00
Rachel Fenichel
f56bed5f50
Merge pull request #3285 from rachel-fenichel/release_tasks_2
...
Add task to create a release candidate.
2019-10-18 11:37:37 -06:00
Rachel Fenichel
9fd4f8edff
Change branch name format
2019-10-18 10:23:55 -07:00
Neil Fraser
8e5797e2bc
Add missing utils.global ( #3286 )
...
Compile is breaking due to the JS environment sweep.
2019-10-18 02:00:31 -07:00
Rachel Fenichel
5507a1eb88
Add task to create a release candidate.
2019-10-17 15:45:43 -07:00
Rachel Fenichel
90f6948c27
Remove unnecessary stash
2019-10-17 10:21:55 -06:00
Rachel Fenichel
17f47ee2cb
Make git-sync-master as well as git-sync-develop
2019-10-16 11:29:54 -06:00
Rachel Fenichel
90f529603e
Review feedback
2019-10-16 11:22:42 -06:00
Rachel Fenichel
07d6f33db9
Rebuild task in gulp.
2019-10-15 15:05:50 -06:00
Sam El-Husseini
a782645851
Add setLocale to the Blockly typescript definition file. ( #3197 )
2019-10-08 11:12:29 -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
Sam El-Husseini
d7a7c7b4d5
Support XML serialization in Node.js ( #3126 )
...
* Support XML serialization in Node.js
2019-10-01 14:40:35 -07:00
Sam El-Husseini
edf3d0cfe2
Don't require everything in uncompressed. ( #3120 )
...
* Don't require everything in uncompressed.
2019-09-27 14:26:10 -07:00
Sam El-Husseini
6a771a8636
Remove old node module, update tests to use the npm one. ( #3111 )
2019-09-27 10:32:52 -07:00
Neil Fraser
a1e3973499
Make block comments an optional module. ( #3053 )
...
Measured as a 5 KB *increase* in code size, but that's because some other commit just landed between my tests. It's like running down an up escalator.
2019-09-19 14:53:28 -07:00
Neil Fraser
84a814cda1
Make mutator an optional module. ( #3048 )
2019-09-19 11:39:55 -07:00
Sam El-Husseini
7d76cafd61
Apply the same patch to the gulp build script.
2019-09-18 13:00:44 -07:00
Sam El-Husseini
99c624db34
Fix Blockly.utils.global when wrapped in a module. ( #3035 )
...
* Fix Blockly.utils.global when wrapped in a module.
2019-09-17 14:07:03 -07:00
Sam El-Husseini
d9fcfdbc07
Blockly entry point ( #3019 )
...
* Move fields and renderers into their own entry point so folks are able to be more selective about which fields and renderers they include in their bundle.
2019-09-16 12:36:02 -07:00
Sam El-Husseini
e339ae26bc
Move the rendering object to live on the workspace_svg ( #3016 )
...
* Move the rendering object onto the workspace allowing the various workspaces to have different renderers.
2019-09-13 14:20:34 -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
Sam El-Husseini
1d1401e00e
Add local build tasks to gulp ( #2895 )
...
* Support compiling from the npm closure compiler and add gulp tasks
2019-08-22 10:04:41 -07:00
Sam El-Husseini
2b26787185
Blockly menus without closure ( #2831 )
...
* Blockly Menu and MenuItem that don't rely on the closure library.
2019-08-16 17:23:14 -07:00
Sam El-Husseini
f118d6de88
No closure toolbox ( #2819 )
...
* Update the toolbox to not rely on closure and instead use the built in Blockly.tree component
2019-08-14 13:48:21 -07:00
Sam El-Husseini
5ada490eca
Cherry pick npm distribution change to develop ( #2785 )
2019-08-07 10:53:53 -07:00
Sam El-Husseini
d2d621aec3
Update typings after removing references to goog.math ( #2743 )
...
* Update typings after removing references to goog.math
2019-07-30 13:19:14 -07:00
Sam El-Husseini
9d593f2cb8
TypeScript Definition file ( #2738 )
...
* Add Typescript definition file for Blockly
2019-07-30 11:17:57 -07:00
Sam El-Husseini
5ce8c68833
Fix node build and add node tests ( #2736 )
...
* Fix node build and add node tests
2019-07-30 11:13:52 -07:00
Neil Fraser
0e82677f27
Create stub for Node contstants.
...
Ironic that Node doesn’t have Node. Not tested.
Fix two missing dependencies.
2019-07-15 14:37:27 -07:00
Neil Fraser
74be35e23d
Rename Blockly.Xml.utils to Blockly.utils.xml
2019-07-08 13:29:43 -07:00
Nicholas Cioli
a5717fb333
upgrade gulp to v4
...
As of NodeJS v12, gulp v3 fails to run at all. This small change
should allow for future compatibility with NodeJS.
2019-06-21 17:43:21 -05:00
Neil Fraser
f196816f62
Move DOMParser and XMLSerializer to Xml.utils
2018-10-16 11:34:10 -07:00
Andrew n marshall
7886d24130
Fixing xml.js: Always throw XML I/O errors; Support parsing in Node ( #1911 )
...
* Improved Blockly.XML comments.
* Support JSDOM as an alternate parser under Node.js
* Throw standard errors instead of goog.asserts.
* Adding textToDomDocument_ and override in gulpfile.
2018-06-12 14:03:10 -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
b37a4bd5b8
Correcting typo in comment ( #1866 )
2018-05-15 14:12:15 -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