Allow Soy-based apps to run Blockly in uncompressed mode.

R=tobyk100@gmail.com

Review URL: https://codereview.appspot.com/12647043

git-svn-id: http://blockly.googlecode.com/svn/trunk@1198 c400ca83-b69d-9dd7-9705-49c6b8615e23
Removed duplicate key-value pairs from <lang>.json files.

Review URL: https://codereview.appspot.com/12677046

git-svn-id: http://blockly.googlecode.com/svn/trunk@1201 c400ca83-b69d-9dd7-9705-49c6b8615e23
Added script dedup_json.py, used to clean up merged json files.
Made minor improvements to existing scripts.

R=neil.fraser@gmail.com

Review URL: https://codereview.appspot.com/12780043

git-svn-id: http://blockly.googlecode.com/svn/trunk@1202 c400ca83-b69d-9dd7-9705-49c6b8615e23
Abstract dialogs (from Puzzle help) into apps/common.  Convert feedback alert in Puzzle to a dialog (adding a status animation).  Convert code alerts to dialogs in all apps.  Add syntax highlighting to code dialogs, Code app, and Block Factory.  Fix layout in Block Factory.  Add notranslate to pages.  Factor out messagos into separate templates.

R=spertus@google.com

Review URL: https://codereview.appspot.com/12765044

git-svn-id: http://blockly.googlecode.com/svn/trunk@1203 c400ca83-b69d-9dd7-9705-49c6b8615e23
Adding robots.txt to reduce log 404 spam.  Add 'one top block' dialog for Maze.  Move dialog CSS to common template.

R=spertus@google.com

Review URL: https://codereview.appspot.com/12805044

git-svn-id: http://blockly.googlecode.com/svn/trunk@1206 c400ca83-b69d-9dd7-9705-49c6b8615e23
Improvements to i18n:
- Renamed apps.start to apps.messages.
- apps/*/template.soy files call apps.start.
- Prepended app name to message span ids.
- Renamed Puzzle.helpOk to Apps.dialogOk.
Generated .js files will be added before committing.
Also fixed some old jslint errors and bug with Maze.restTooltip.

R=neil.fraser@gmail.com

Review URL: https://codereview.appspot.com/12808043

git-svn-id: http://blockly.googlecode.com/svn/trunk@1207 c400ca83-b69d-9dd7-9705-49c6b8615e23
r1190 increased speed by reducing the number of rendering calls.  However, stacked blocks no longer square off their rounded corners properly.  This CL adds back a few extra renders when stacks are connected or generated.

R=spertus@google.com

Review URL: https://codereview.appspot.com/12878043

git-svn-id: http://blockly.googlecode.com/svn/trunk@1208 c400ca83-b69d-9dd7-9705-49c6b8615e23
Fix problem with Sao Paulo when building English-only puzzle.
The quick script listed in puzzle/template.soy does not use en.json.
It uses the message text inlined in template.soy.  Changing that fixed the problem.  We just need to remember to correctly
represent future accented characters and not to back-propagate changes
to en.json to template.soy.

NOTE: Our vcs tools don't like fancy characters in change list descriptions, so I removed the tilde over the "a" in "Sao" from the CL title and description.

R=neil.fraser@gmail.com

Review URL: https://codereview.appspot.com/12868043

git-svn-id: http://blockly.googlecode.com/svn/trunk@1209 c400ca83-b69d-9dd7-9705-49c6b8615e23
Enable easier insertions of read-only Blockly iframes into dialogs.  All that's needed is one line:
<iframe style="height: 200px; width: 100%; border: none;" src="readonly.html?lang={$ij.lang}&xml=%3Cblock+type%3D%22foobar%22%3E%3C%2Fblock%3E"></iframe>
Also, replace alert for 'OneTopBlock' to be a dialog, with dynamic picture of user's blocks all connected.

R=spertus@google.com

Review URL: https://codereview.appspot.com/12864043

git-svn-id: http://blockly.googlecode.com/svn/trunk@1211 c400ca83-b69d-9dd7-9705-49c6b8615e23
Bring i18n scripts in sync.  They are now identical and should be kept identical in the future.
Generated latest version of maze messages while testing.

R=neil.fraser@gmail.com

Review URL: https://codereview.appspot.com/12835044

git-svn-id: http://blockly.googlecode.com/svn/trunk@1212 c400ca83-b69d-9dd7-9705-49c6b8615e23
Make turtle the same colour as pen.

R=neil.fraser@gmail.com

Review URL: https://codereview.appspot.com/12875044

git-svn-id: http://blockly.googlecode.com/svn/trunk@1213 c400ca83-b69d-9dd7-9705-49c6b8615e23
Moved updateCapacity from common.js to maze.js.
Added maze/template.soy changes left out of previous CLs.
Regenerated language files.
Slipped in fixes to json_to_js.py.
Note that apps/<app>/generated/*.js files do not contain messages for all apps,
just the ones used in apps/template.soy and apps/<app>/template.soy.

R=neil.fraser@gmail.com

Review URL: https://codereview.appspot.com/12883044

git-svn-id: http://blockly.googlecode.com/svn/trunk@1214 c400ca83-b69d-9dd7-9705-49c6b8615e23
Upgrade App's dialogs to originate from SVG elements as well as HTML elements.  Make the OneTopBlock dialog appear from the topmost block.  Tweak the timing of the dialog animation.  Add work-around for the missing Australian flag in Puzzle (Chrome bug).  Fix URL parameter decoder to recognize + as an alias for a space.

R=spertus@google.com

Review URL: https://codereview.appspot.com/12901043

git-svn-id: http://blockly.googlecode.com/svn/trunk@1216 c400ca83-b69d-9dd7-9705-49c6b8615e23
Replace individual JavaScript redirects with a centralized redirector served by App Engine.

Review URL: https://codereview.appspot.com/12915043

git-svn-id: http://blockly.googlecode.com/svn/trunk@1217 c400ca83-b69d-9dd7-9705-49c6b8615e23
Restore the ability to use App Engine's cloud storage in non-BlocklyApp pages.  Change the storage-related alerts to dialogs on BlocklyApp pages.  Fix failure to size issue when blocks are loaded.  Fix missing language selector from Plane.  Prevent modal dialog shadow from scrolling with screen.  Minor consistency improvements.

R=spertus@google.com

Review URL: https://codereview.appspot.com/12956043

git-svn-id: http://blockly.googlecode.com/svn/trunk@1220 c400ca83-b69d-9dd7-9705-49c6b8615e23
Replace Maze's next-level confirm with a dialog.  Includes a Pegman animation that tracks the mouse.  Fix code to always be LTR.

R=spertus@google.com

Review URL: https://codereview.appspot.com/13033043

git-svn-id: http://blockly.googlecode.com/svn/trunk@1227 c400ca83-b69d-9dd7-9705-49c6b8615e23
Improve messages in Maze.  Create common CSS file for apps.  Make OK buttons blue.

R=spertus@google.com

Review URL: https://codereview.appspot.com/12782044

git-svn-id: http://blockly.googlecode.com/svn/trunk@1228 c400ca83-b69d-9dd7-9705-49c6b8615e23