9382 Commits

Author SHA1 Message Date
Immortalin fae638c48b Fix indentation 2015-11-14 22:35:09 +08:00
Immortalin 5efe2dd71f fixed npm closure library issue 2015-11-14 22:23:40 +08:00
Immortalin 2cc62bff3d cleaned up merge 2015-11-14 21:56:05 +08:00
Blake Bourque 8977ebf46f Changes needed to make headless work. 2015-11-14 21:47:49 +08:00
Immortalin f0e2c72db5 Fix potential error due to naming 2015-11-14 19:24:58 +08:00
Immortalin e1d06cd336 Merge pull request #2 from google/master
Sync with main repository
2015-11-14 19:16:58 +08:00
Neil Fraser 00ba0acf40 Clean up build file from previous PR. 2015-11-13 21:11:24 -08:00
Neil Fraser 41610c3996 Merge pull request #207 from Immortalin/master
Add support for google closure library
2015-11-13 21:03:14 -08:00
Immortalin ad7ec48e70 Add support for google closure library
When the closure library is installed by npm, it is named "google-closure-library", however it is named "closure-library" in build.py. When both blockly and closure are installed by npm, they are in the same folder so theoretically theoretically blockly should be able to build. Formatting and indentation might be a bit off as I edited this using the github editor. 

This ```python
search_paths = calcdeps.ExpandDirectories(
      ["core", os.path.join(os.path.pardir, "closure-library")])
``` might need further revision to account for the additional naming. Maybe a try statement?
2015-11-11 21:28:44 +08:00
Immortalin 0ae4678c5c Merge pull request #1 from google/master
Update with main repository
2015-11-11 20:57:12 +08:00
Neil Fraser b4a5c2834c Merge pull request #206 from trodi/type-data
improve type annotations
2015-11-10 22:14:26 -08:00
Troy McKinnon 11906b7535 improve type annotations 2015-11-10 17:28:46 -06:00
Neil Fraser c7753d4e35 Merge pull request #205 from mingzeke/master
Fixed toolbox categories don't support touch. Issue #202.
2015-11-09 14:43:03 -08:00
Ke, Mingze ff6d06a735 Fixed toolbox categories don't support touch. Issue #202. 2015-11-09 18:08:13 +08:00
Neil Fraser 0b02c693fd Routine recompile. 2015-10-25 23:51:24 -07:00
Neil Fraser 11ef9f2988 Add hook for clicking on trashcan. 2015-10-25 23:50:20 -07:00
Neil Fraser b10ef6da48 Allow custom gaps to be specified between toolbox blocks. 2015-10-25 22:20:08 -04:00
Neil Fraser d07d103f1d Allow top-level shadow blocks via XML.
This is a terrible idea, but I generally allow developers wide latitude
in foot-shooting.
2015-10-24 23:53:07 -04:00
Neil Fraser ec99c95718 Speed up unhiding of workspace with large numbers of blocks. 2015-10-24 23:53:07 -04:00
Neil Fraser 2f30034983 Fix infinity in Python, PHP, and Dart. 2015-10-24 23:53:07 -04:00
Siebrand Mazeland 0aa1da6dd4 Localisation updates from https://translatewiki.net. 2015-10-22 11:31:45 +02:00
Neil Fraser f29e94adaa Routine recompile. 2015-10-21 21:58:55 -04:00
Neil Fraser 1026d353ce Allow blocks in toolbox to be disabled individually. 2015-10-21 15:21:51 -07:00
Neil Fraser a485e63df2 Allow zooming of non-scrolling workspaces. 2015-10-21 14:38:39 -07:00
Neil Fraser dcd463b550 Add 'startScale' and remove 'enabled' options on zoom. 2015-10-21 13:25:02 -07:00
Neil Fraser 54ffdc5926 Don't allow shadow blocks to be deleted. 2015-10-21 12:58:52 -07:00
Carlos Galarza a9d4ba4c8d Add zoomToFit method to Workspaces 2015-10-15 17:51:52 -05:00
Neil Fraser 17ead475b9 Don't mistakenly animate deletion of whole stack. 2015-10-14 22:06:13 -07:00
Neil Fraser 9b26d0d260 De-shadow blocks that have been edited. 2015-10-14 18:20:53 -07:00
Neil Fraser ded524ff3a Add tabbing between text fields. 2015-10-14 16:23:23 -07:00
Neil Fraser c83faa3314 Fix colours on collapsed categories. 2015-10-14 15:00:32 -07:00
Neil Fraser 3d2e9b3a17 Move category colours to be on left. 2015-10-14 14:02:09 -07:00
Siebrand Mazeland 452d318fb5 Localisation updates from https://translatewiki.net. 2015-10-14 12:53:57 +02:00
Neil Fraser 4468959909 Fix extra whitespace in shadow XML. Issue #196. 2015-10-12 22:25:00 -07:00
Neil Fraser b503dd7d80 Add shadow blocks and category colours to code demo. 2015-10-12 21:00:29 -07:00
Neil Fraser 59cadcb2d7 Add optional colour tabs on toolbox categories. 2015-10-12 17:30:41 -07:00
Neil Fraser 4dffad0dad Improve 'clean up' spacing. 2015-10-12 16:14:03 -07:00
Neil Fraser 879cacbb8d Add 'clean up blocks' command to workspace menu. 2015-10-09 19:22:22 -07:00
Neil Fraser a6ea38db4a Stop shadow from reappearing when one block replaces another. Issue #193 2015-10-09 16:04:19 -07:00
Neil Fraser b5844c45e2 Fix images on blocks that are created collaped. Issue #190. 2015-10-09 15:32:21 -07:00
Neil Fraser 701ae603b7 Fix headless connections. 2015-10-09 13:53:14 -07:00
Neil Fraser 29262cb441 Merge pull request #189 from kencheung/clone-refactoring-svg
Refactor duplicated callback function for collapse and expand options
2015-10-09 13:31:08 -07:00
Neil Fraser 799835943a Shadow Blocks 2015-10-06 18:09:27 -07:00
Neil Fraser 1140a6ccf2 Simplify XML parser. 2015-10-05 16:08:44 -07:00
Ken Cheung 18bac530d8 Refactor duplicated callback function for collapse and expand options 2015-10-05 21:26:16 +08:00
Neil Fraser 8fb16b61a3 Simplify Block factory init. 2015-10-04 17:41:59 -07:00
Neil Fraser 90e3ccb2b7 Add Blockly.BlockSvg.START_HAT option. 2015-10-04 07:15:18 -07:00
Neil Fraser b992957390 Merge pull request #187 from Grahack/patch-2
Typo: evironment -> environment.
2015-10-03 15:08:08 -07:00
Prof Gra d489c132db Typo: evironment -> environment. 2015-10-03 22:56:10 +02:00
Neil Fraser c413fa1678 Fix JS and PHP list/text blocks.
The length and is_empty blocks can take either text or lists.
2015-10-03 07:45:16 -07:00