Commit Graph

34 Commits

Author SHA1 Message Date
Sam El-Husseini 5acf8e49ba Rename soy whitelist (#3974) 2020-06-17 10:59:30 -07:00
Monica Kozbial ce6dd329a8 Fix plane demo bug. (#3774)
* Fix plane demo bug.
2020-03-27 09:29:20 -07:00
Monica Kozbial a9223b0b22 Typo fixes. (#3769) 2020-03-25 15:47:27 -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
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 52b6ce18a5 Fix unit tests 2019-07-08 13:29:43 -07:00
Neil Fraser e01f7865d2 Update to latest Closure Template jars, recompile.
There was a small chance that the existing Soy jar files contained a denial of service vulnerability.  Not that this affects Blockly in any way.
https://buganizer.corp.google.com/issues/123937301
2019-02-05 22:12:34 -08:00
ImgBotApp 583dfea6dd [ImgBot] optimizes images
*Total -- 61.18kb -> 44.41kb (27.42%)

/demos/headless/icon.png -- 4.26kb -> 1.80kb (57.72%)
/demos/interpreter/icon.png -- 3.13kb -> 1.71kb (45.13%)
/tests/media/g.png -- 1.14kb -> 0.66kb (42.17%)
/tests/media/50px.png -- 1.55kb -> 0.93kb (40.31%)
/demos/graph/icon.png -- 1.72kb -> 1.03kb (40.01%)
/tests/media/30px.png -- 1.10kb -> 0.67kb (39.4%)
/media/sprites.png -- 4.05kb -> 2.53kb (37.41%)
/tests/media/m.png -- 1.02kb -> 0.65kb (36.49%)
/tests/media/c.png -- 0.84kb -> 0.59kb (29.21%)
/tests/media/b.png -- 0.75kb -> 0.55kb (26.79%)
/demos/accessible/icon.png -- 1.38kb -> 1.01kb (26.69%)
/demos/generator/icon.png -- 3.52kb -> 2.61kb (25.64%)
/tests/media/a.png -- 0.76kb -> 0.57kb (25.45%)
/demos/fixed/icon.png -- 2.06kb -> 1.57kb (24.08%)
/tests/media/d.png -- 0.72kb -> 0.55kb (23.58%)
/demos/resizable/icon.png -- 3.18kb -> 2.47kb (22.27%)
/demos/toolbox/icon.png -- 2.76kb -> 2.16kb (21.83%)
/demos/rtl/icon.png -- 3.07kb -> 2.41kb (21.46%)
/tests/media/200px.png -- 2.11kb -> 1.67kb (21.06%)
/appengine/apple-touch-icon.png -- 3.93kb -> 3.15kb (19.78%)
/demos/code/icon.png -- 3.95kb -> 3.19kb (19.44%)
/demos/blockfactory_old/icon.png -- 4.34kb -> 3.55kb (18.17%)
/demos/maxBlocks/icon.png -- 1.96kb -> 1.61kb (17.87%)
/tests/media/k.png -- 0.60kb -> 0.50kb (16.18%)
/demos/plane/icon.png -- 3.32kb -> 2.80kb (15.63%)
/demos/storage/icon.png -- 3.19kb -> 2.71kb (14.99%)
/media/quote0.png -- 0.78kb -> 0.75kb (3.14%)
2018-09-23 13:31:54 -07:00
Rachel Fenichel 6092e4c517 Calls to getAllBlocks should pass a value for _ordered_ 2018-09-13 16:06:19 -07:00
Neil Fraser 4cb4b42f8d Use named properties on Msg. 2018-04-27 11:50:51 -07:00
Neil Fraser a3b26c4ea7 Add source code link to custom dialog demo.
Fix typos.
2018-03-19 12:04:46 -07:00
Neil Fraser d6d8b8eb97 Remove obsolete webkit CSS prefixes. 2016-08-03 18:33:18 -07:00
Hasso Tepper b94dff049e Add Estonian translations to the code and plane demos (#505) 2016-07-26 17:20:54 -07:00
Neil Fraser 93125fd1e6 Make it easy to disable unconnected blocks. 2016-06-21 04:31:45 -07:00
Neil Fraser 83c04c474a Merge branch 'master' into develop 2016-04-15 23:46:06 -07:00
Neil Fraser 5a6ef5a6e3 Merge pull request #235 from pjkui/patch-2
fixed an translation error
2016-04-14 16:50:23 -07:00
Neil Fraser bb2214581c Corrections to ms. 2016-04-08 18:40:20 -07:00
Neil Fraser 4e42a1b78e Swap order of arguments on domToWorkspace. 2016-04-04 18:31:41 -07:00
Neil Fraser 05fc1ad91b Add workspace.clearUndo 2016-03-25 19:03:18 -07:00
Quinn Pan 920566c9b4 fixed an translation error
change "簡體中文" to "简体中文"
2016-01-13 20:09:56 +08:00
Neil Fraser 80f36f0629 Clean up for demo apps. 2016-01-08 13:58:18 -08:00
Neil Fraser be70863b07 Clean plane coordinates. Fix RTL alignment. 2015-07-28 12:09:52 -07:00
carlosperate 7612964a51 Change plane demo readme cli quotation marks for better compatibility. 2015-07-27 02:24:25 +01:00
carlosperate 195389a6e0 Increase the plane svg height and move the text to a second row. 2015-07-27 00:08:23 +01:00
Neil Fraser e0f90e6e33 Adding more type documentation. 2015-07-13 15:03:22 -07:00
Neil Fraser 6fdab711b2 Fix several RTL bugs. 2015-05-19 12:02:49 -07:00
Neil Fraser 3ff69d47fe Inject can now take an ID. Also, fix unit tests. 2015-04-29 20:26:04 -07:00
Neil Fraser 89d1aafd5b Update demos to use non-deprecated workspace calls. 2015-04-28 15:07:33 -07:00
Blake Bourque dd58c2a776 Make the "seats =" block not deletable.
If this block is removed, the puzzle cannot be completed. THis will make a good example users can be pointed to for a use example of setDeletable(boolean).
2015-01-28 16:07:30 -05:00
Neil Fraser 90c58d51db Fix Plane demo. 2015-01-15 15:35:41 -08:00
Neil Fraser a8414a0ecb Remove unneeded HTML attributes (Google style guide). 2014-12-02 18:22:46 -08:00
Neil Fraser ab133cb539 Move Code app to demos directory. 2014-11-20 15:37:12 -08:00
Neil Fraser db1360e423 Add momentary highlighting to Plane's language menu. 2014-11-19 00:04:26 -08:00
Neil Fraser 8d53788810 Move Plane app to demos. 2014-11-18 22:21:00 -08:00