prepared v7.3.1 emergency patch

snap8
Jens Mönig 2022-03-16 09:30:23 +01:00
rodzic e7b12175e7
commit 14f9b3319f
6 zmienionych plików z 28 dodań i 20 usunięć

Wyświetl plik

@ -8,16 +8,20 @@
* **Notable Changes:** * **Notable Changes:**
* moved "append", "reshape", "combinations" blocks down one group in the palette * moved "append", "reshape", "combinations" blocks down one group in the palette
* **Notable Fixes:** * **Notable Fixes:**
* guard against broken SVG costumes when loading a project
* fixed an edge case for slot type inferral * fixed an edge case for slot type inferral
* fixed variadic AND/OR reporters library, thanks, Brian! * fixed variadic AND/OR reporters library, thanks, Brian!
* **Documentation Updates:** * **Documentation Updates:**
* **Translation Updates:** * **Translation Updates:**
* German * German
## 7.3.1:
* **Notable Fix:**
* guard against broken SVG costumes when loading a project
### 2022-03-16 ### 2022-03-16
* objects, threads: reformulated the zero-costume-width fix addressing a costume-loading issue * objects, threads: reformulated the zero-costume-width fix addressing a costume-loading issue
* German translation update for new error message * German translation update for new error message
* prepared v7.3.1 emergency patch
### 2022-03-15 ### 2022-03-15
* blocks, store, gui: deserialize new format for exported scripts * blocks, store, gui: deserialize new format for exported scripts

Wyświetl plik

@ -20,7 +20,7 @@
<script src="src/threads.js?version=2022-03-16"></script> <script src="src/threads.js?version=2022-03-16"></script>
<script src="src/objects.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/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/paint.js?version=2021-07-05"></script>
<script src="src/lists.js?version=2022-02-07"></script> <script src="src/lists.js?version=2022-02-07"></script>
<script src="src/byob.js?version=2022-03-14"></script> <script src="src/byob.js?version=2022-03-14"></script>

Wyświetl plik

@ -161,7 +161,7 @@ CostumeIconMorph, SoundIconMorph, SVG_Costume*/
// Global stuff //////////////////////////////////////////////////////// // Global stuff ////////////////////////////////////////////////////////
modules.blocks = '2022-March-15'; modules.blocks = '2022-March-16';
var SyntaxElementMorph; var SyntaxElementMorph;
var BlockMorph; var BlockMorph;
@ -3313,7 +3313,7 @@ BlockMorph.prototype.userMenu = function () {
} }
); );
} }
menu.addLine(); // +++ menu.addLine();
menu.addItem( menu.addItem(
"script pic...", "script pic...",
() => { () => {
@ -3339,11 +3339,14 @@ BlockMorph.prototype.userMenu = function () {
'save a picture of both\nthis script and its result' 'save a picture of both\nthis script and its result'
); );
} }
if (this.world().currentKey === 16) { // +++ shift
menu.addItem( menu.addItem(
'export script', 'export script',
() => top.exportScript(), () => top.exportScript(),
'download this script\nas an XML file' 'download this script\nas an XML file',
new Color(100, 0, 0)
); );
}
if (proc) { if (proc) {
if (vNames.length) { if (vNames.length) {
menu.addLine(); menu.addLine();

Wyświetl plik

@ -86,11 +86,12 @@ BlockVisibilityDialogMorph, ThreadManager*/
// Global stuff //////////////////////////////////////////////////////// // Global stuff ////////////////////////////////////////////////////////
modules.gui = '2022-March-15'; modules.gui = '2022-March-16';
// Declarations // Declarations
var SnapVersion = '7.4.0-dev'; // +++ var SnapVersion = '7.4.0-dev';
var SnapVersion = '7.3.1';
var IDE_Morph; var IDE_Morph;
var ProjectDialogMorph; var ProjectDialogMorph;

Wyświetl plik

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

2
sw.js
Wyświetl plik

@ -1,4 +1,4 @@
var snapVersion = '7.4.0-dev', var snapVersion = '7.3.1', // +++ '7.4.0-dev',
cacheName = 'snap-pwa', cacheName = 'snap-pwa',
filesToCache = [ filesToCache = [
'snap.html', 'snap.html',