Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

October 2019 release candidate (Q3 2019) #3165

Merged
merged 651 commits into from
Oct 14, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
651 commits
Select commit Hold shift + click to select a range
e7f10e7
minor rendering fix (#2919)
samelhusseini Aug 27, 2019
0251340
Add test block that breaks renderer.
NeilFraser Aug 27, 2019
e063ae5
Simplify statement input height computation logic.
Aug 27, 2019
25a41fd
Adding drop shadow into statement input height computation.
Aug 28, 2019
8beb060
Merge pull request #2924 from moniika/moniika-statement-input-alignment
Aug 28, 2019
a27e059
Fixes shift clicking on block (#2927)
alschmiedt Aug 29, 2019
cc16bd4
Disconnect child block before trying to connect (#2928)
alschmiedt Aug 29, 2019
bc50143
Remove special case for spacer after statement
rachel-fenichel Aug 29, 2019
6243b00
Merge pull request #2934 from rachel-fenichel/spacer_after_statement
rachel-fenichel Aug 29, 2019
72d73f7
Fix cursor rendering (#2932)
alschmiedt Aug 29, 2019
c069316
Debug configurability
rachel-fenichel Aug 29, 2019
3b81cb3
Merge pull request #2935 from rachel-fenichel/spacer_after_statement
rachel-fenichel Aug 29, 2019
aa8f468
Add `connectedBlockBounds` option; set quieter defaults
rachel-fenichel Aug 30, 2019
03b1e7f
Fixes toolbox and menu dropdown on mobile. (#2931)
samelhusseini Aug 30, 2019
8c51172
Merge pull request #2936 from rachel-fenichel/debug_more_options
rachel-fenichel Aug 30, 2019
4b4b14d
Update insert to use new moveAndConnect method (#2940)
alschmiedt Aug 30, 2019
6050456
Fix bug in base renderer, not respecting the bottom row's overhang Y …
samelhusseini Aug 30, 2019
dd9257e
Field Text transformation methods (#2930)
samelhusseini Aug 31, 2019
d3fea64
Fix width on dummy row.
rachel-fenichel Aug 31, 2019
4dfb03a
Make statement inputs store their actual width. (#2944)
rachel-fenichel Aug 31, 2019
06a8823
Render round right corners in zelos. (#2938)
samelhusseini Aug 31, 2019
a6d9341
Localisation updates from https://translatewiki.net.
translatewiki Sep 3, 2019
ff64170
Merge pull request #2947 from rachel-fenichel/pad_dummies
rachel-fenichel Sep 3, 2019
ab4b16e
Field pitch remaining fixes that were missed in previous PR. (#2957)
samelhusseini Sep 3, 2019
96378f9
Fix slight offset in statement input connection X location. (#2953)
samelhusseini Sep 3, 2019
189c561
Rendering type checker (#2950)
samelhusseini Sep 3, 2019
5dc45be
Reset default renderer to geras. (#2960)
rachel-fenichel Sep 3, 2019
e620b1f
Action list (#2959)
alschmiedt Sep 3, 2019
77e3663
Add jsconfig for intellisense (#2962)
samelhusseini Sep 3, 2019
dc8d273
Add a build debug npm script for convenience (#2961)
samelhusseini Sep 3, 2019
e8a3964
Rename the pitch field (#2965)
samelhusseini Sep 4, 2019
8ce619e
Renaming base util to global as that's all it's used for. (#2958)
samelhusseini Sep 4, 2019
6e8d200
Refactors modify and add tests (#2955)
alschmiedt Sep 4, 2019
73d0b70
Add a spacer before and after a statement input and place use it to r…
samelhusseini Sep 4, 2019
135ab79
Use ascender/descender naming for top and bottom rows; tweak position…
rachel-fenichel Sep 4, 2019
b4ac23d
Remove useless variable.
rachel-fenichel Sep 4, 2019
e35f4d5
More cleanup.
rachel-fenichel Sep 4, 2019
4e5f03e
Merge pull request #2969 from rachel-fenichel/top_bottom_rows
rachel-fenichel Sep 4, 2019
581705c
Create a Renderer base class and extend it for each type of renderer
rachel-fenichel Sep 5, 2019
87e7be9
Cleanup
rachel-fenichel Sep 5, 2019
da6d28b
More cleanup
rachel-fenichel Sep 5, 2019
43944f7
Merge pull request #2970 from rachel-fenichel/renderer_object
rachel-fenichel Sep 5, 2019
2ffe71f
Remove references to dark path offset; fix highlights while dragging'
rachel-fenichel Sep 5, 2019
77c6344
Reset renderer
rachel-fenichel Sep 5, 2019
e8f328a
Fix enable accessibility (#2968)
alschmiedt Sep 5, 2019
dc1f285
Merge pull request #2971 from rachel-fenichel/dark_path
rachel-fenichel Sep 5, 2019
a7b560d
Revert "Mark Blockly.Constants.Colour and .Lists depreacted. (#1797)"
RoboErikG Sep 5, 2019
e48c60f
Use strings instead of arrays for highlight paths
rachel-fenichel Sep 5, 2019
261040a
Add jsdoc
rachel-fenichel Sep 5, 2019
ffd1a15
Merge pull request #2973 from rachel-fenichel/highlight_path
rachel-fenichel Sep 5, 2019
e96acf4
Add dark path offset in geras info.
rachel-fenichel Sep 5, 2019
cd2d595
Merge pull request #2974 from rachel-fenichel/block_height
rachel-fenichel Sep 6, 2019
f2595b9
Localisation updates from https://translatewiki.net.
translatewiki Sep 6, 2019
4c8e28c
Dynamic output shapes (#2980)
samelhusseini Sep 6, 2019
8e0a0e8
Localisation updates from https://translatewiki.net.
translatewiki Sep 9, 2019
22fdf2a
Update npm readme to use correct path for the Javascript generator (#…
samelhusseini Sep 9, 2019
4a80889
Enter accessibility (#2982)
alschmiedt Sep 9, 2019
4b17234
Alphabetize requires
rachel-fenichel Sep 10, 2019
7a068f8
Merge pull request #2996 from rachel-fenichel/alphabetize
rachel-fenichel Sep 10, 2019
042ddb0
Added hideChaff calls to the custom fields demo.
BeksOmega Sep 11, 2019
09d2a16
Fix travis by running browser tests in headless mode (#3001)
samelhusseini Sep 12, 2019
8ab51c8
Remove closure base file dependency (#2976)
samelhusseini Sep 12, 2019
fb74181
Add Object values helper method to fix IE (#3005)
samelhusseini Sep 12, 2019
f717add
Block annotations (#2997)
rachel-fenichel Sep 12, 2019
6f4476c
Textarea Field, Multiline Block (from acbart) (#2663)
rachel-fenichel Sep 12, 2019
ec07a36
Update cursor api (#3002)
alschmiedt Sep 12, 2019
f0dd5d8
Localisation updates from https://translatewiki.net.
translatewiki Sep 12, 2019
b26f50a
Fixing x positioning of blocks with output connections in vertical fl…
Sep 10, 2019
a12a47e
Fixing require ordering and bug in horizontal layout computation.
Sep 11, 2019
82e9344
Merge pull request #3003 from moniika/moniika-misaligned-flyout
Sep 12, 2019
90a10e5
Fix logic in shouldStartNewRow_ and between row padding in geras.
Sep 12, 2019
8a00ed9
Remove duplicate check and undo changes in debugger render.
Sep 12, 2019
7f2a1ae
Merge pull request #3006 from moniika/moniika-dummy-input
Sep 12, 2019
f3f3329
Fix configure method (#2915)
samelhusseini Sep 13, 2019
d6cb6b9
Remove last @export tag (#3010)
NeilFraser Sep 13, 2019
bf31b41
Delete orphaned file.
NeilFraser Sep 13, 2019
23caa12
Error is a constructor, ‘new’ is not required.
NeilFraser Sep 13, 2019
e43e19d
Remove three functions deprecated in 2015
NeilFraser Sep 13, 2019
5650fe5
Typos.
NeilFraser Sep 13, 2019
e258815
Merge pull request #3011 from google/fraser-delete
samelhusseini Sep 13, 2019
b517f3d
Fix typo in readme (#3015)
jasperpilgrim Sep 13, 2019
fc420b7
Support for registering renderers and switching between them (#3013)
samelhusseini Sep 13, 2019
e339ae2
Move the rendering object to live on the workspace_svg (#3016)
samelhusseini Sep 13, 2019
c2b13e8
Localisation updates from https://translatewiki.net.
translatewiki Sep 16, 2019
af81239
Number Field Configuration (#2985)
BeksOmega Sep 16, 2019
8b9816a
Text Field Config (#2986)
BeksOmega Sep 16, 2019
b149aab
Image Field Config (#2983)
BeksOmega Sep 16, 2019
e05e26a
Fixed insertFieldAt (#2939)
BeksOmega Sep 16, 2019
02e5b77
Adding checkboxes for debug rendering options to playground.
Sep 13, 2019
53cb811
Addressing PR comments.
Sep 16, 2019
7718590
Renderers define which paths a block has. (#2981)
rachel-fenichel Sep 16, 2019
2c98eca
Update APIs and Add New Cursor Look (#3009)
alschmiedt Sep 16, 2019
d9fcfdb
Blockly entry point (#3019)
samelhusseini Sep 16, 2019
5cb2031
Test commit
samelhusseini Sep 16, 2019
ff33d92
Fix compile test.
NeilFraser Sep 16, 2019
bbd7636
Test commit
NeilFraser Sep 16, 2019
92eea22
Label Field Config (#2984)
BeksOmega Sep 16, 2019
550c137
Removing foreach usage.
Sep 17, 2019
51fedc6
Fix compiled test. (#3030)
NeilFraser Sep 17, 2019
94dd4e6
htmlFor > for
Sep 17, 2019
e551db4
Merge pull request #3017 from moniika/moniika-debug-render-checkmarks
Sep 17, 2019
d9fd214
Simplify build script (#3020)
NeilFraser Sep 17, 2019
9004346
Remove moving on the workspace (#3029)
alschmiedt Sep 17, 2019
99c624d
Fix Blockly.utils.global when wrapped in a module. (#3035)
samelhusseini Sep 17, 2019
8fae041
Check if a type exists before testing instanceof (#3031)
samelhusseini Sep 17, 2019
8b3d48b
Update demo (#3033)
alschmiedt Sep 18, 2019
0add3a5
Add require statements to all block files.
NeilFraser Sep 17, 2019
63dd911
Use regular expressions to simplify removals.
NeilFraser Sep 18, 2019
7d76caf
Apply the same patch to the gulp build script.
samelhusseini Sep 18, 2019
c524980
Cache dynamic dropdown options (#3036)
samelhusseini Sep 18, 2019
ebdaf4d
Remove now unneeded requires from compile test.
NeilFraser Sep 18, 2019
ec34698
Make trashcan and zoomcontrols optional modules. (#3043)
NeilFraser Sep 18, 2019
093467a
Added More Procedure Unit Tests (#2630)
BeksOmega Sep 18, 2019
a8a8c32
Changed multiline field to use new configuration (#3044)
BeksOmega Sep 18, 2019
22cf08d
Don't insert disabled blocks from the flyout. (#3046)
samelhusseini Sep 18, 2019
585e860
Localisation updates from https://translatewiki.net.
translatewiki Sep 19, 2019
d82a0ae
Fixed scrolling the trashcan flyout with mouse. (#3045)
BeksOmega Sep 19, 2019
3d06e7e
Creating cursordrawer in renderer.
Sep 17, 2019
c533a0d
Setting cursor and marker directly in Workspace and adding check to s…
Sep 18, 2019
60e6b8c
style and doc updates.
Sep 19, 2019
97268e6
Merge pull request #3037 from moniika/moniika-cursorDrawerOnRenderer
Sep 19, 2019
84a814c
Make mutator an optional module. (#3048)
NeilFraser Sep 19, 2019
abb5ae6
Add key map demo (#3042)
alschmiedt Sep 19, 2019
8003426
Cleanup compile warnings (#3050)
alschmiedt Sep 19, 2019
57c8e3d
Rendering: Fix setting the path in RTL (#3047)
samelhusseini Sep 19, 2019
a1e3973
Make block comments an optional module. (#3053)
NeilFraser Sep 19, 2019
6516363
Change setLocation to setCurNode (#3051)
alschmiedt Sep 19, 2019
1c3db25
Added angle field config (#3038)
BeksOmega Sep 19, 2019
cb56405
Merge toolbox navigation (#3054)
samelhusseini Sep 19, 2019
8e22e45
Fix inserting into middle of stack from flyout (#3058)
alschmiedt Sep 20, 2019
823c1c9
Make toolbox an optional module.
NeilFraser Sep 19, 2019
be24605
Strip 200 lines of unreachable code
NeilFraser Sep 20, 2019
28953d8
Simplify Blockly.utils.IdGenerator
NeilFraser Sep 20, 2019
fb17b02
Remove unused CSS classes.
NeilFraser Sep 20, 2019
02fc5bf
Remove empty span from toolbox.
NeilFraser Sep 20, 2019
0726e4a
Removed unreachable functions from Blockly.Component
NeilFraser Sep 20, 2019
9e5df62
Fixed comment ownership. (#2923)
BeksOmega Sep 20, 2019
a8af9fe
Move populate for topRow and bottomRow to info (#3057)
Sep 20, 2019
e053084
Changed dropdown field to use new configuration. (#3061)
BeksOmega Sep 20, 2019
a14ac35
Adding checks for whether to add elem spacer on row ends (#3060)
Sep 20, 2019
e22ad7f
Update README with new npm instructions. (#3059)
samelhusseini Sep 20, 2019
23b31c7
Cursor rtl (#3062)
alschmiedt Sep 20, 2019
9318c37
Handle blockly actions on the dropdown fields. (#3064)
samelhusseini Sep 20, 2019
5609cda
Copying values to insertion marker fields directly. (#3063)
Sep 20, 2019
7653785
Add missing require for utils.colour
NeilFraser Sep 21, 2019
56e7a46
Add more missing dependencies
NeilFraser Sep 21, 2019
b0e7003
Quick hack to solve circular dependencies
NeilFraser Sep 21, 2019
c16ea62
A bunch of small bug fixes (#3067)
alschmiedt Sep 23, 2019
f3b4fc0
Fix interaction between mouse and keyboard (#3070)
alschmiedt Sep 23, 2019
593383e
Changed variable field to use configuration (#3065)
BeksOmega Sep 23, 2019
494487b
Mark fields as dirty when the workspace becomes visible. (#3072)
samelhusseini Sep 23, 2019
fb334fe
Remove ‘dir’ insertion from uncompressed.js
NeilFraser Sep 22, 2019
f550eb0
Uncomment requires
NeilFraser Sep 23, 2019
b84cda2
Strip out more bloat from toolbox (#3068)
NeilFraser Sep 23, 2019
21c5698
Moving DARK_PATH_OFFSET to geras only. (#3066)
Sep 23, 2019
ddb8e46
Make flyouts be optional modules.
NeilFraser Sep 24, 2019
6e76b6f
Make flyout buttons be an optional module.
NeilFraser Sep 24, 2019
76af463
Removing require for Blockly.FlyoutButton
NeilFraser Sep 24, 2019
303a841
Adding check for pushing last row with only empty dummy input. (#3081)
Sep 24, 2019
a036602
Code cleanup, drop some CSS.
NeilFraser Sep 25, 2019
e1e9513
Disconnect child block always for block.dispose(/* healStack */ true)…
Sep 25, 2019
2c757ae
Cleanup navigation file (#3074)
alschmiedt Sep 25, 2019
e69db13
Add a test for built file size (#3075)
RoboErikG Sep 25, 2019
269f0dc
Enable eslint rule spaced-comment
rachel-fenichel Sep 25, 2019
06d65b8
Merge pull request #3092 from rachel-fenichel/lint_spacing
rachel-fenichel Sep 26, 2019
75cf614
Break CSS into modules. (#3084)
NeilFraser Sep 26, 2019
6ef8403
Prevent dataset IDs from being renamed
NeilFraser Sep 26, 2019
ddb04a3
Partial code review of nav (#3091)
NeilFraser Sep 26, 2019
244bbe5
More navigation cleanup (#3100)
alschmiedt Sep 26, 2019
a57c7ff
Clean up fields by passing the right type in fromJson (#3095)
samelhusseini Sep 26, 2019
8619ad1
Re-enable block delete test. (#3088)
Sep 26, 2019
22e79ae
Updating behavior of register functions and adding unregister. (#3085)
Sep 26, 2019
b587ad7
Fix changing category color in multi playground (#3103)
alschmiedt Sep 26, 2019
870824b
Workspace theme (#3093)
samelhusseini Sep 26, 2019
35424f2
Angle field touch fixes (#3079)
samelhusseini Sep 27, 2019
6a771a8
Remove old node module, update tests to use the npm one. (#3111)
samelhusseini Sep 27, 2019
4ed3295
Make generator an optional module (#3105)
NeilFraser Sep 27, 2019
6650ecf
Make dynamic variables be an optional module.
NeilFraser Sep 26, 2019
872aa45
More straightening out of dependencies.
NeilFraser Sep 26, 2019
40e0d55
Removing obsolete TODO comment. (#3104)
Sep 27, 2019
f4136fd
Adding test and updating TODO. (#3102)
Sep 27, 2019
328f2c3
Removing deprecated renderMode reference in playground. (#3107)
Sep 27, 2019
fc2c730
Make workspace comments an optional module, remove from this release.…
samelhusseini Sep 27, 2019
b701475
Simplify trashcan code (#3110)
NeilFraser Sep 27, 2019
a2e6cff
Block comments from XML not fatal
NeilFraser Sep 27, 2019
0e1a4b6
Remove blockRendering.Debug, thrasos, and zelos from default requires.js
rachel-fenichel Sep 27, 2019
41e5914
el.style is readonly in strict mode IE. Fixing crash in IE. (#3119)
samelhusseini Sep 27, 2019
b5a076d
Add theme requires (#3114)
alschmiedt Sep 27, 2019
371a7c5
Merge branch 'develop' into remove_debug
rachel-fenichel Sep 27, 2019
548d80e
Merge pull request #3118 from rachel-fenichel/remove_debug
rachel-fenichel Sep 27, 2019
27f554c
Strip out unused Closure functions (#3121)
NeilFraser Sep 27, 2019
edf3d0c
Don't require everything in uncompressed. (#3120)
samelhusseini Sep 27, 2019
468b673
Fix bugs (#3108)
alschmiedt Sep 27, 2019
1baf7d1
Added a bunch of connection related tests.
BeksOmega Aug 18, 2019
d5e9e4c
Removed TODO.
BeksOmega Sep 27, 2019
d26d220
Merge pull request #3123 from BeksOmega/tests/Connections
rachel-fenichel Sep 27, 2019
afbb2cc
Moved all database related code out of headless and into rendered.
BeksOmega Aug 18, 2019
229dd69
Fixed review comments.
BeksOmega Sep 30, 2019
c782889
Localisation updates from https://translatewiki.net.
translatewiki Oct 1, 2019
ae5c752
Merge pull request #3125 from BeksOmega/fixes/MoveDbToRendered
rachel-fenichel Oct 1, 2019
d7a7c7b
Support XML serialization in Node.js (#3126)
samelhusseini Oct 1, 2019
ecf69d8
Use row height for spacer height.
rachel-fenichel Oct 1, 2019
1a46136
Merge pull request #3129 from rachel-fenichel/spacer_height
rachel-fenichel Oct 2, 2019
6b78417
Bound element position based on height of the row
rachel-fenichel Oct 2, 2019
f22603f
Call onHide before clearing content (#3131)
samelhusseini Oct 2, 2019
1236660
Actually make WS comments optional (#3130)
samelhusseini Oct 2, 2019
d7cc808
Merge pull request #3134 from rachel-fenichel/bugfix/3098
rachel-fenichel Oct 2, 2019
99ce193
Base renderer next / prev connection fixes. (#3135)
samelhusseini Oct 2, 2019
d28e897
Add a sample renderer instance. (#3136)
samelhusseini Oct 2, 2019
31a2544
Rename sample renderer to minimalist (#3137)
samelhusseini Oct 2, 2019
b46a4fe
Bring our license format up to date (#3127)
NeilFraser Oct 2, 2019
c6b8cd6
Update newly added licenses.
NeilFraser Oct 2, 2019
eb5f1cc
Fix 6 warnings in components/ (#3141)
samelhusseini Oct 2, 2019
79bedca
Element -> SVGElement (#3140)
rachel-fenichel Oct 2, 2019
7ed4767
Remove block_render_svg
rachel-fenichel Oct 2, 2019
668731b
add visibility annotations
rachel-fenichel Oct 2, 2019
771d6a1
Merge pull request #3143 from rachel-fenichel/remove_block_render_svg
rachel-fenichel Oct 2, 2019
77e64b3
Remove unused nulls in disposal
rachel-fenichel Oct 3, 2019
78dc82f
Misc cleanup: annotations, and flyoutButton disposal.
rachel-fenichel Oct 3, 2019
05e9cf1
Signs are hard.
rachel-fenichel Oct 3, 2019
f9e54b0
Merge pull request #3146 from rachel-fenichel/sign_error
rachel-fenichel Oct 3, 2019
f5909c9
Restore require variables to blockly.js (#3145)
NeilFraser Oct 3, 2019
735a72c
mutation / compose fn annotations (#3149)
samelhusseini Oct 3, 2019
c5e691b
Update workspace_svg.js
rachel-fenichel Oct 3, 2019
f2812df
Merge pull request #3147 from rachel-fenichel/misc_cleanup
rachel-fenichel Oct 3, 2019
e92bae1
Download screenshot in playground (#3148)
samelhusseini Oct 3, 2019
fba98fc
Move the dropdown field into the dropdown div. (#3122)
samelhusseini Oct 3, 2019
e5ec726
Fix type, caught by typings
samelhusseini Oct 3, 2019
7839512
When collapsed, toString was referencing text_. Using getText instead…
samelhusseini Oct 3, 2019
d0772ad
Fix compiler warnings related to fields. (#3144)
samelhusseini Oct 3, 2019
e4cc221
Fix compiler warnings related to events. (#3151)
samelhusseini Oct 3, 2019
80aac24
Make bumpNeighbours public. (#3156)
samelhusseini Oct 4, 2019
bc68167
Removed Object.assign() from turtle demo (#3157)
BeksOmega Oct 4, 2019
8934613
Fix UMD build in IE11 (#3158)
samelhusseini Oct 4, 2019
74ecb94
Remove last instance of Object.assign (#3161)
samelhusseini Oct 4, 2019
a9c0dcf
Rebuild
rachel-fenichel Oct 4, 2019
3ea43a2
Merge pull request #3162 from rachel-fenichel/rebuild_10_04_19
rachel-fenichel Oct 4, 2019
7d83cc5
Rebuild typings: (#3163)
samelhusseini Oct 4, 2019
7fe78a3
Merge branch 'master' into merge_master
samelhusseini Oct 4, 2019
0484b66
Merge pull request #3164 from samelhusseini/merge_master
rachel-fenichel Oct 4, 2019
51ff00b
Re-added resizeBubble_ call. Fixed resizeBubble_ JSDoc. (#3173)
BeksOmega Oct 7, 2019
101bf3d
Fix capitalization (#3182) (#3189)
alschmiedt Oct 7, 2019
60d69b9
Add support for setting the direction in RTL. (#3192)
samelhusseini Oct 8, 2019
cbf8b4b
Add setLocale to the Blockly typescript definition file. (#3197)
samelhusseini Oct 8, 2019
6ff3ff2
Set correct defaults for Fields (#3179) (#3195)
RoboErikG Oct 8, 2019
032dfa7
Version of #3199 for release
rachel-fenichel Oct 8, 2019
b8ce62d
Merge pull request #3200 from rachel-fenichel/cp_3199
rachel-fenichel Oct 8, 2019
31db570
Fix #2811 (#3205) (#3207)
samelhusseini Oct 9, 2019
52a6992
Remove multi-line comments to avoid escaping (#3231) (#3232)
RoboErikG Oct 14, 2019
ae11174
Rebuild
rachel-fenichel Oct 14, 2019
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
6 changes: 3 additions & 3 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
*_compressed*.js
*_uncompressed*.js
blockly_node_javascript_en.js
gulpfile.js
/msg/*
/core/css.js
/core/utils/global.js
/tests/blocks/*
/tests/compile/*
/tests/jsunit/*
/tests/generators/*
/tests/mocha/run_mocha_tests_in_browser.js
/tests/screenshot/*
/tests/test_runner.js
/tests/workspace_svg/*
/generators/*
/demos/*
/accessible/*
/appengine/*
/externs/*
/closure/*
14 changes: 12 additions & 2 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,10 @@
"_comment": "Blockly uses single quotes except for JSON blobs, which must use double quotes.",
"quotes": ["off"],
"semi": ["error", "always"],
"_comment": "Blockly doesn't have space before function paren",
"_comment": "Blockly doesn't have space before function paren when defining functions",
"space-before-function-paren": ["error", "never"],
"_comment": "Blocklydoesn't have space before function paren when calling functions",
"func-call-spacing": ["error", "never"],
"space-infix-ops": ["error"],
"_comment": "Blockly uses 'use strict' in files",
"strict": ["off"],
Expand All @@ -64,7 +66,15 @@
"_comment": "Closure style allows redeclarations",
"no-redeclare": ["off"],
"valid-jsdoc": ["error", {"requireReturn": false}],
"no-console": ["off"]
"no-console": ["off"],
"no-multi-spaces": ["error", { "ignoreEOLComments": true }],
"operator-linebreak": ["error", "after"],
"spaced-comment": ["error", "always", {
"block": {
"balanced": true
},
"exceptions": ["*"]
}]
},
"env": {
"browser": true
Expand Down
8 changes: 6 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,15 +1,19 @@
blockly_node_javascript_en.js
node_modules
npm-debug.log
build-debug.log
.DS_Store
.settings
.project
*.gz
*.pyc
*.komodoproject
/nbproject/private/

tests/compile/main_compressed.js
tests/compile/*compiler*.jar
tests/screenshot/outputs/*
local_build/*compiler*.jar
local_build/local_*_compressed.js
dist/
chromedriver
typings/tmp/*
dist/
14 changes: 5 additions & 9 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,28 +1,24 @@
language: node_js
os: linux
dist: trusty
dist: xenial
node_js:
- 8
- 10
addons:
chrome: stable
firefox: latest
apt:
packages:
- google-chrome-stable
# TODO (#2114): reenable osx build.
# - os: osx
# node_js: stable
# osx_image: xcode8.3
# addons:
# firefox: latest

env:
- TRAVIS_CI=true
before_script:
# Symlink closure library used by test/jsunit
- ln -s $(npm root)/google-closure-library ../closure-library
- export DISPLAY=:99.0
- if [ "${TRAVIS_OS_NAME}" == "linux" ]; then ( tests/scripts/setup_linux_env.sh ) fi
- if [ "${TRAVIS_OS_NAME}" == "osx" ]; then ( tests/scripts/setup_osx_env.sh ) fi
- sleep 2

script:
- tests/run_all_tests.sh
- npm run test:run
27 changes: 26 additions & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

Apache License
Version 2.0, January 2011
Version 2.0, January 2004
http://www.apache.org/licenses/

TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
Expand Down Expand Up @@ -175,3 +175,28 @@
of your accepting any such warranty or additional liability.

END OF TERMS AND CONDITIONS

APPENDIX: How to apply the Apache License to your work.

To apply the Apache License to your work, attach the following
boilerplate notice, with the fields enclosed by brackets "[]"
replaced with your own identifying information. (Don't include
the brackets!) The text should be enclosed in the appropriate
comment syntax for the file format. We also recommend that a
file or class name and description of purpose be included on the
same "printed page" as the copyright notice for easier
identification within third-party archives.

Copyright [yyyy] [name of copyright owner]

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
13 changes: 8 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ blocks together to build programs. All code is free and open source.

![](https://developers.google.com/blockly/images/sample.png)

Blockly has an active [developer forum](https://groups.google.com/forum/#!forum/blockly). Please drop by and say hello. Show us your prototypes early; collectively we have a lot of experience and can offer hints which will save you time. We actively monitor the forums and typically respond to questions within 2 working days.
Blockly has an active [developer forum](https://groups.google.com/forum/#!forum/blockly). Please drop by and say hello. Show us your prototypes early; collectively we have a lot of experience and can offer hints which will save you time. We actively monitor the forums and typically respond to questions within 2 working days.

Help us focus our development efforts by telling us [what you are doing with
Blockly](https://developers.google.com/blockly/registration). The questionnaire only takes
Blockly](https://developers.google.com/blockly/registration). The questionnaire only takes
a few minutes and will help us better support the Blockly community.

Cross-browser Testing Platform and Open Source <3 Provided by [Sauce Labs](https://saucelabs.com)
Expand All @@ -20,9 +20,12 @@ Want to contribute? Great! First, read [our guidelines for contributors](https:/

## Releases

We release by pushing the latest code to the master branch, followed by updating our [docs](developers.google.com/blockly) and [demo pages](https://blockly-demo.appspot.com). We typically release a new version of Blockly once a quarter (every 3 months). If there are breaking bugs, such as a crash when performing a standard action or a rendering issue that makes Blockly unusable, we will cherry-pick fixes to master between releases to fix them. The [releases page](https://github.com/google/blockly/releases) has a list of all releases.
We release by pushing the latest code to the master branch, followed by updating our [docs](https://developers.google.com/blockly) and [demo pages](https://blockly-demo.appspot.com). We typically release a new version of Blockly once a quarter (every 3 months). If there are breaking bugs, such as a crash when performing a standard action or a rendering issue that makes Blockly unusable, we will cherry-pick fixes to master between releases to fix them. The [releases page](https://github.com/google/blockly/releases) has a list of all releases.

Releases are tagged by the release date (YYYYMMDD) with a leading '1.' and a trailing '.0' in case we ever need a major or minor version (such as [1.20190419.0](https://github.com/google/blockly/tree/1.20190419.0)). If you're using npm, a specific release can be installed by using its tag: `npm install git://github.com/google/blockly.git#1.20181219.0`
Releases are tagged by the release date (YYYYMMDD) with a leading '2.' and a trailing '.0' in case we ever need a major or minor version (such as [2.20190722.1](https://github.com/google/blockly/tree/2.20190722.1)). If you're using npm, you can install the ``blockly`` package on npm:
```bash
npm install blockly
```

### New APIs

Expand All @@ -42,7 +45,7 @@ There are two main branches for Blockly.

## Issues and Milestones

We typically triage all bugs within 2 working days, which includes adding any appropriate labels and assigning it to a milestone. Please keep in mind, we are a small team so even feature reqeusts that everyone agrees on may not be prioritized.
We typically triage all bugs within 2 working days, which includes adding any appropriate labels and assigning it to a milestone. Please keep in mind, we are a small team so even feature requests that everyone agrees on may not be prioritized.

### Milestones

Expand Down
5 changes: 1 addition & 4 deletions appengine/storage.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
/**
* @license
* Visual Blocks Editor
*
* Copyright 2012 Google Inc.
* https://developers.google.com/blockly/
* Copyright 2012 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
3 changes: 1 addition & 2 deletions appengine/storage.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
"""Blockly Demo: Storage

Copyright 2012 Google Inc.
https://developers.google.com/blockly/
Copyright 2012 Google LLC

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
Loading