Skip to content

Commit

Permalink
prepared v7.3.1 emergency patch
Browse files Browse the repository at this point in the history
  • Loading branch information
jmoenig committed Mar 16, 2022
1 parent e7b1217 commit 14f9b33
Show file tree
Hide file tree
Showing 6 changed files with 28 additions and 20 deletions.
6 changes: 5 additions & 1 deletion HISTORY.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,20 @@
* **Notable Changes:**
* moved "append", "reshape", "combinations" blocks down one group in the palette
* **Notable Fixes:**
* guard against broken SVG costumes when loading a project
* fixed an edge case for slot type inferral
* fixed variadic AND/OR reporters library, thanks, Brian!
* **Documentation Updates:**
* **Translation Updates:**
* German

## 7.3.1:
* **Notable Fix:**
* guard against broken SVG costumes when loading a project

### 2022-03-16
* objects, threads: reformulated the zero-costume-width fix addressing a costume-loading issue
* German translation update for new error message
* prepared v7.3.1 emergency patch

### 2022-03-15
* blocks, store, gui: deserialize new format for exported scripts
Expand Down
2 changes: 1 addition & 1 deletion snap.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
<script src="src/threads.js?version=2022-03-16"></script>
<script src="src/objects.js?version=2022-03-16"></script>
<script src="src/scenes.js?version=2022-03-03"></script>
<script src="src/gui.js?version=2022-03-15"></script>
<script src="src/gui.js?version=2022-03-16"></script>
<script src="src/paint.js?version=2021-07-05"></script>
<script src="src/lists.js?version=2022-02-07"></script>
<script src="src/byob.js?version=2022-03-14"></script>
Expand Down
17 changes: 10 additions & 7 deletions src/blocks.js
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ CostumeIconMorph, SoundIconMorph, SVG_Costume*/

// Global stuff ////////////////////////////////////////////////////////

modules.blocks = '2022-March-15';
modules.blocks = '2022-March-16';

var SyntaxElementMorph;
var BlockMorph;
Expand Down Expand Up @@ -3313,7 +3313,7 @@ BlockMorph.prototype.userMenu = function () {
}
);
}
menu.addLine();
// +++ menu.addLine();
menu.addItem(
"script pic...",
() => {
Expand All @@ -3339,11 +3339,14 @@ BlockMorph.prototype.userMenu = function () {
'save a picture of both\nthis script and its result'
);
}
menu.addItem(
'export script',
() => top.exportScript(),
'download this script\nas an XML file'
);
if (this.world().currentKey === 16) { // +++ shift
menu.addItem(
'export script',
() => top.exportScript(),
'download this script\nas an XML file',
new Color(100, 0, 0)
);
}
if (proc) {
if (vNames.length) {
menu.addLine();
Expand Down
5 changes: 3 additions & 2 deletions src/gui.js
Original file line number Diff line number Diff line change
Expand Up @@ -86,11 +86,12 @@ BlockVisibilityDialogMorph, ThreadManager*/

// Global stuff ////////////////////////////////////////////////////////

modules.gui = '2022-March-15';
modules.gui = '2022-March-16';

// Declarations

var SnapVersion = '7.4.0-dev';
// +++ var SnapVersion = '7.4.0-dev';
var SnapVersion = '7.3.1';

var IDE_Morph;
var ProjectDialogMorph;
Expand Down
16 changes: 8 additions & 8 deletions src/objects.js
Original file line number Diff line number Diff line change
Expand Up @@ -2792,14 +2792,14 @@ SpriteMorph.prototype.blockTemplates = function (
blocks.push('-');
blocks.push(block('doForEach'));
blocks.push('-');
blocks.push(block('reportConcatenatedLists'));
blocks.push(block('reportReshape'));
// +++ blocks.push(block('reportCrossproduct'));
blocks.push('-');
blocks.push(block('doAddToList'));
blocks.push(block('doDeleteFromList'));
blocks.push(block('doInsertInList'));
blocks.push(block('doReplaceInList'));
blocks.push('-');
blocks.push(block('reportConcatenatedLists'));
blocks.push(block('reportReshape'));
blocks.push(block('reportCrossproduct'));

if (SpriteMorph.prototype.showingExtensions) {
blocks.push('=');
Expand Down Expand Up @@ -9197,14 +9197,14 @@ StageMorph.prototype.blockTemplates = function (
blocks.push('-');
blocks.push(block('doForEach'));
blocks.push('-');
blocks.push(block('reportConcatenatedLists'));
blocks.push(block('reportReshape'));
// +++ blocks.push(block('reportCrossproduct'));
blocks.push('-');
blocks.push(block('doAddToList'));
blocks.push(block('doDeleteFromList'));
blocks.push(block('doInsertInList'));
blocks.push(block('doReplaceInList'));
blocks.push('-');
blocks.push(block('reportConcatenatedLists'));
blocks.push(block('reportReshape'));
blocks.push(block('reportCrossproduct'));

if (SpriteMorph.prototype.showingExtensions) {
blocks.push('=');
Expand Down
2 changes: 1 addition & 1 deletion sw.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
var snapVersion = '7.4.0-dev',
var snapVersion = '7.3.1', // +++ '7.4.0-dev',
cacheName = 'snap-pwa',
filesToCache = [
'snap.html',
Expand Down

0 comments on commit 14f9b33

Please sign in to comment.