From c42c4e7cc0444caf1c43fe80077d30bb6f3091ee Mon Sep 17 00:00:00 2001 From: Moenig Date: Thu, 27 Jul 2023 10:45:33 +0200 Subject: [PATCH] fixed #3239 (a context serialization glitch) --- HISTORY.md | 8 ++++++++ snap.html | 4 ++-- src/gui.js | 4 ++-- src/store.js | 6 +++--- sw.js | 2 +- 5 files changed, 16 insertions(+), 8 deletions(-) diff --git a/HISTORY.md b/HISTORY.md index 7b1cd24b6f..9acddeecdf 100755 --- a/HISTORY.md +++ b/HISTORY.md @@ -2,6 +2,14 @@ ## in development: +## 9.0.2: +* **Notable Fixes:** + * fixed #3239 (a context serialization glitch) + +### 2023-07-27 +* store: fixed #3239 (a context serialization glitch) +* prepared v9.0.2 patch + ## 9.0.1: * **Notable Fixes:** * fixed "play sound until done" blocking glitch diff --git a/snap.html b/snap.html index 083d2c0386..5aa25518f4 100755 --- a/snap.html +++ b/snap.html @@ -20,7 +20,7 @@ - + @@ -30,7 +30,7 @@ - + diff --git a/src/gui.js b/src/gui.js index 5c2adbc6b4..d29198b1fe 100644 --- a/src/gui.js +++ b/src/gui.js @@ -87,11 +87,11 @@ BlockVisibilityDialogMorph, ThreadManager, isString, SnapExtensions, snapEquals // Global stuff //////////////////////////////////////////////////////// -modules.gui = '2023-July-19'; +modules.gui = '2023-July-27'; // Declarations -var SnapVersion = '9.0.1'; +var SnapVersion = '9.0.2'; var IDE_Morph; var ProjectDialogMorph; diff --git a/src/store.js b/src/store.js index f739b686de..78a587c947 100644 --- a/src/store.js +++ b/src/store.js @@ -63,7 +63,7 @@ Project*/ // Global stuff //////////////////////////////////////////////////////// -modules.store = '2023-June-29'; +modules.store = '2023-July-27'; // XML_Serializer /////////////////////////////////////////////////////// /* @@ -2527,11 +2527,11 @@ Context.prototype.toXML = function (serializer) { '%%%' + '%%%%', this.inputs.reduce( - (xml, input) => xml + input.toXML ? + (xml, input) => xml + (input.toXML ? serializer.format( '%', input.toXML(serializer) - ) : serializer.format('$', input), + ) : serializer.format('$', input)), '' ), this.variables ? serializer.store(this.variables) : '', diff --git a/sw.js b/sw.js index aa235808a5..1769163ffc 100644 --- a/sw.js +++ b/sw.js @@ -1,4 +1,4 @@ -var snapVersion = '9.0.1', +var snapVersion = '9.0.2', cacheName = `snap-pwa-${snapVersion}`, filesToCache = [ 'snap.html',