Commit Graph

34 Commits

Author SHA1 Message Date
Neil Fraser
488539f636 Update storage.py to use ndb instead of db.
Back-ports from Blockly Games:
* db is old and busted, ndb is the new hotness (there’s no known
difference, just pointless API churn).
* Use SHA1 which is consistent, rather than Python’s hash() which has
started changing between executions.  This stops duplicate programs
from being stored.
* Restructure so that storage.py can be used as a library, with
xmlToKey and keyToXml being callable by external programs.
* Use print function compatible with Python 3.
2018-04-25 13:39:00 -07:00
Neil Fraser
35f7357878 Strip coordinates from storage of single block stacks.
When loading, place blocks with no coordinates at 10,10 instead of 0,0.
2018-04-05 14:04:06 -07:00
Neil Fraser
b296ffebd0 Stop storing IDs on every block in our datastore. 2018-03-27 13:56:01 -07:00
Neil Fraser
5efc148c4a Reduce number of Closure files in App Engine upload. 2017-01-15 19:52:34 -08:00
Andrew n marshall
592b2e1a51 Updating URLs to reflect new docs. (#418)
* Updating URLs to reflect new docs. Removing -blockly in URLs.

* Rebuilt.
2016-06-14 10:15:35 -07:00
Neil Fraser
4e42a1b78e Swap order of arguments on domToWorkspace. 2016-04-04 18:31:41 -07:00
Rodrigo Queiro
a5d3f340e5 Add a Lua code generator
This is based on the JS generator, with a lot of inspiration from Ellen
Spertus's blockly-lua: https://github.com/espertus/blockly-lua

All unit tests pass with Lua 5.3.2.
2016-03-10 10:24:25 +01:00
Neil Fraser
e0f90e6e33 Adding more type documentation. 2015-07-13 15:03:22 -07:00
daarond
6809e9b49e Merge remote-tracking branch 'googleblockly/master'
Conflicts:
	blockly_uncompressed.js
2015-05-15 16:58:22 -05:00
daarond
ced61e5c58 updating demos 2015-05-14 17:09:19 -05:00
Neil Fraser
2a9993e5f3 Fix cloud storage (issue 100) 2015-05-13 22:45:51 -07:00
Neil Fraser
e6032ac093 Fix Block Factory save links (issue 95). 2015-05-04 10:45:24 -07:00
Neil Fraser
89d1aafd5b Update demos to use non-deprecated workspace calls. 2015-04-28 15:07:33 -07:00
Neil Fraser
17961f7f58 Support multiple Blockly instances. 2015-04-28 13:51:25 -07:00
Neil Fraser
f899b5bed7 Lint cleanup. 2015-04-03 16:07:25 -07:00
Neil Fraser
626a29a5ca Allow colour fields to set custom colours. 2015-04-02 15:36:01 -07:00
Neil Fraser
6e14380fd2 Fix redirect on Code demo. 2014-11-20 17:23:05 -08:00
Neil Fraser
ab133cb539 Move Code app to demos directory. 2014-11-20 15:37:12 -08:00
Neil Fraser
8d53788810 Move Plane app to demos. 2014-11-18 22:21:00 -08:00
Neil Fraser
17d86eaf2b Redirect Maze and Turtle to Blockly Games. Redirect Graph to demos. 2014-11-12 14:56:25 -08:00
Neil Fraser
ca966979a4 Fix Block Factory when types are saved. 2014-11-11 14:06:02 -08:00
Neil Fraser
f5108ba043 Move closure-library-read-only to closure-library (due to the Closure project's move). 2014-10-29 22:51:12 -07:00
Neil Fraser
6909e38fc8 Move Block Factory from apps to demos. Add icons to demos. 2014-10-16 16:58:32 -07:00
Neil Fraser
6748e43d30 Remove Puzzle app (now in Blockly Games). 2014-10-15 17:02:22 -07:00
Neil Fraser
6539211104 Change official project URL. 2014-10-07 13:09:55 -07:00
Neil Fraser
8c252abae4 Updating wiki help URLs. 2014-09-19 22:14:51 -07:00
Neil Fraser
7122410373 Changing project location from Google Code to GitHub. 2014-09-08 15:18:02 -07:00
Neil Fraser
d998a1c8ec Update to latest version. 2014-09-08 14:26:52 -07:00
ellen.spertus
6ee38cdec3 Automatic commit Tue Jan 28 03:00:09 PST 2014 2014-01-28 03:00:09 -08:00
ellen.spertus
08f4022b38 Automatic commit Sat Jan 11 03:00:02 PST 2014 2014-01-11 03:00:02 -08:00
ellen.spertus
5dd5a49d36 Automatic commit Sat Jan 4 03:00:02 PST 2014 2014-01-04 03:00:02 -08:00
ellen.spertus
e30b7c1774 Automatic commit Wed Nov 27 03:00:02 PST 2013 2013-11-27 03:00:02 -08:00
ellen.spertus
08e5254196 Manual commit 2013-11-25 17:33:36 -08:00
ellen.spertus
a8acffd81c New initial commit with .svn directories and their contents ignored. 2013-10-30 14:46:03 -07:00