From 1be757afe42b15a2803d2ef9be18f0e9754cf37b Mon Sep 17 00:00:00 2001 From: jmoenig Date: Tue, 4 May 2021 18:08:35 +0200 Subject: [PATCH 1/4] new dev version --- HISTORY.md | 3 +++ snap.html | 4 ++-- src/gui.js | 4 ++-- 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/HISTORY.md b/HISTORY.md index 7ddef7e1..78699b0a 100755 --- a/HISTORY.md +++ b/HISTORY.md @@ -2,6 +2,9 @@ ## in development: +### 2021-05-04 +* new dev version + ## 6.8.0 * **New Features:** * first-class colors, sorta, in the new "Colors" library, thanks, Brian! diff --git a/snap.html b/snap.html index 0d02d594..c7230ed3 100755 --- a/snap.html +++ b/snap.html @@ -3,7 +3,7 @@ - Snap! 6.8.0 Build Your Own Blocks + Snap! 6.8.1 - dev - Build Your Own Blocks @@ -11,7 +11,7 @@ - + diff --git a/src/gui.js b/src/gui.js index b006e746..61e1aa24 100644 --- a/src/gui.js +++ b/src/gui.js @@ -78,7 +78,7 @@ Animation, BoxMorph, BlockEditorMorph, BlockDialogMorph, Note, ZERO, BLACK*/ // Global stuff //////////////////////////////////////////////////////// -modules.gui = '2021-May-03'; +modules.gui = '2021-May-04'; // Declarations @@ -4353,7 +4353,7 @@ IDE_Morph.prototype.aboutSnap = function () { module, btn1, btn2, btn3, btn4, licenseBtn, translatorsBtn, world = this.world(); - aboutTxt = 'Snap! 6.8.0\nBuild Your Own Blocks\n\n' + aboutTxt = 'Snap! 6.8.1 - dev -\nBuild Your Own Blocks\n\n' + 'Copyright \u24B8 2008-2021 Jens M\u00F6nig and ' + 'Brian Harvey\n' + 'jens@moenig.org, bh@cs.berkeley.edu\n\n' From 860af47a458eb579c880e49c78efece290b7af9d Mon Sep 17 00:00:00 2001 From: jmoenig Date: Tue, 4 May 2021 18:40:05 +0200 Subject: [PATCH 2/4] fixed "peeling off" niladic custom block instances from prototype templates --- HISTORY.md | 1 + src/byob.js | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/HISTORY.md b/HISTORY.md index 78699b0a..b75ae3b6 100755 --- a/HISTORY.md +++ b/HISTORY.md @@ -4,6 +4,7 @@ ### 2021-05-04 * new dev version +* gui: fixed "peeling off" niladic custom block instances from prototype templates ## 6.8.0 * **New Features:** diff --git a/src/byob.js b/src/byob.js index f9cffb7c..7004fb07 100644 --- a/src/byob.js +++ b/src/byob.js @@ -106,7 +106,7 @@ WatcherMorph, XML_Serializer, SnapTranslator*/ // Global stuff //////////////////////////////////////////////////////// -modules.byob = '2021-April-20'; +modules.byob = '2021-May-04'; // Declarations @@ -663,6 +663,7 @@ CustomCommandBlockMorph.prototype.reactToTemplateCopy = function () { if (this.isPrototype) { def = this.definition; this.isPrototype = false; + this.setSpec(' '); this.refresh(); this.refreshDefaults(def); } From 3dddd12cf8d5be282a6b819139c02be87add2c33 Mon Sep 17 00:00:00 2001 From: jmoenig Date: Tue, 4 May 2021 18:42:18 +0200 Subject: [PATCH 3/4] prepared patch --- HISTORY.md | 5 +++++ snap.html | 2 +- src/gui.js | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/HISTORY.md b/HISTORY.md index b75ae3b6..91d578a9 100755 --- a/HISTORY.md +++ b/HISTORY.md @@ -2,9 +2,14 @@ ## in development: +## 6.8.1 +* **Notable Fixes:** +fixed peeling off niladic custom block instances from prototype templates + ### 2021-05-04 * new dev version * gui: fixed "peeling off" niladic custom block instances from prototype templates +* prepared patch ## 6.8.0 * **New Features:** diff --git a/snap.html b/snap.html index c7230ed3..ac344640 100755 --- a/snap.html +++ b/snap.html @@ -3,7 +3,7 @@ - Snap! 6.8.1 - dev - Build Your Own Blocks + Snap! 6.8.1 Build Your Own Blocks diff --git a/src/gui.js b/src/gui.js index 61e1aa24..bd10eb4a 100644 --- a/src/gui.js +++ b/src/gui.js @@ -4353,7 +4353,7 @@ IDE_Morph.prototype.aboutSnap = function () { module, btn1, btn2, btn3, btn4, licenseBtn, translatorsBtn, world = this.world(); - aboutTxt = 'Snap! 6.8.1 - dev -\nBuild Your Own Blocks\n\n' + aboutTxt = 'Snap! 6.8.1\nBuild Your Own Blocks\n\n' + 'Copyright \u24B8 2008-2021 Jens M\u00F6nig and ' + 'Brian Harvey\n' + 'jens@moenig.org, bh@cs.berkeley.edu\n\n' From 21a681fc3cf89194164ddf470a4f958e9d57d656 Mon Sep 17 00:00:00 2001 From: jmoenig Date: Tue, 4 May 2021 18:44:39 +0200 Subject: [PATCH 4/4] formatted release notes --- HISTORY.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/HISTORY.md b/HISTORY.md index 91d578a9..fb832653 100755 --- a/HISTORY.md +++ b/HISTORY.md @@ -4,7 +4,7 @@ ## 6.8.1 * **Notable Fixes:** -fixed peeling off niladic custom block instances from prototype templates + * fixed peeling off niladic custom block instances from prototype templates ### 2021-05-04 * new dev version