Commit graph

31 commits

Author SHA1 Message Date
Rachel Fenichel
703bd96f7e Allow creation of buttons with developer-designated callbacks 2016-10-31 14:24:00 -07:00
Andrew n marshall
8f3b4bcb5e Replaces calls to window.alert(), window.confirm(), and window.prompt() with Blockly.alert(), Blockly.confirm(), and Blockly.prompt(). These are designed to allow app developers to replace the dialogs with versions that match their own open app, possibly avoiding modal browser dialogs. They each take a callback, so the developer has the opportunity to implement non-modal behavior. 2016-10-20 16:30:40 -07:00
Rachel Fenichel
d2ce081dc4 Move functions for updating variables on a workspace into workspace.js, and some lint 2016-08-17 16:07:50 -07:00
Rachel Fenichel
19722e2350 Use a Blockly.Msg for button text 2016-08-16 16:53:53 -07:00
Rachel Fenichel
775e298c2c Disallow deleting variables that are used in the definition of a function 2016-08-11 17:10:15 -07:00
Rachel Fenichel
cdbfce87de Make disposeUses private 2016-08-09 11:30:32 -07:00
Rachel Fenichel
bf6220cb42 Ask user for confirmation when deleting multiple uses of a variable. 2016-08-09 10:45:26 -07:00
Rachel Fenichel
75e06de477 Use instanceof to distinguish between blocks and workspaces. 2016-07-13 12:50:44 -07:00
Rachel Fenichel
2364aed716 Distinguish between allVariables and allUsedVariables 2016-07-07 15:23:20 -07:00
Rachel Fenichel
9a6cbe1b34 Lint and remove math_change wherever necessary 2016-07-07 14:40:59 -07:00
Rachel Fenichel
5418843c12 Move the change block to the variables category 2016-07-07 14:39:45 -07:00
Rachel Fenichel
13c6c63daa Create variables from the flyout 2016-07-07 14:39:45 -07:00
Rachel Fenichel
ef4882d90d Add variable deletion as dropdown action 2016-07-07 14:39:45 -07:00
Rachel Fenichel
4a81ecb601 Create variable list, and use it for add and rename 2016-07-07 14:38:56 -07:00
Rachel Fenichel
e371da3031 First pass at svg button in flyout 2016-07-07 14:35:30 -07:00
Neil Fraser
57131165b0 Routine recompile 2016-06-03 16:12:59 -07:00
Neil Fraser
02d60a2dbe Group variable rename into same event. 2016-03-06 14:51:03 -08:00
Neil Fraser
6eb652cf70 Fix persistence of logging in playground. 2016-02-29 15:02:05 -08:00
Neil Fraser
b10ef6da48 Allow custom gaps to be specified between toolbox blocks. 2015-10-25 22:20:08 -04:00
Neil Fraser
ffe49a7020 Remove needless use of .call() 2015-08-25 15:09:55 +01:00
Neil Fraser
c9addf7e31 Improve accuracy of goog.require calls. 2015-02-06 15:27:25 -08:00
Neil Fraser
315a5fc762 Remove global workspace references from variable and procedure utilities. 2015-01-12 14:57:00 -08:00
Neil Fraser
0f8d01209c Headless workspaces and blocks. 2014-12-23 11:22:02 -08:00
Neil Fraser
8c3f180669 Procedure blocks no longer destruct with hardcoded parent (no functional change). 2014-12-18 17:26:08 -08:00
Neil Fraser
0a191c1c50 Convert Blockly.Toolbox from a singleton to an instance. 2014-11-29 15:41:27 -08:00
Neil Fraser
6539211104 Change official project URL. 2014-10-07 13:09:55 -07:00
Neil Fraser
7122410373 Changing project location from Google Code to GitHub. 2014-09-08 15:18:02 -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
c7a1b36c86 Automatic commit Wed Jan 22 03:00:07 PST 2014 2014-01-22 03:00:07 -08:00
ellen.spertus
ea211c5080 Manual commit 2013-12-20 16:25:26 -08:00
ellen.spertus
a8acffd81c New initial commit with .svn directories and their contents ignored. 2013-10-30 14:46:03 -07:00