Skip to content

Commit

Permalink
prepared v10.3.5 patch
Browse files Browse the repository at this point in the history
  • Loading branch information
jmoenig committed Dec 23, 2024
1 parent 77aee7e commit ed55169
Show file tree
Hide file tree
Showing 5 changed files with 22 additions and 6 deletions.
8 changes: 8 additions & 0 deletions HISTORY.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,14 @@

## in development:

## 10.3.5:
* **Notable Fixes:**
* disabled some theoretical albeit unsupported programmatical variadic slot settings

### 2024-12-23
* threads: added some guards against assholes
* prepared v10.3.5 patch

## 10.3.4:
* **Notable Changes:**
* added "compress ... by ..." reporter to the Pixels library
Expand Down
4 changes: 2 additions & 2 deletions snap.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@
<script src="src/symbols.js?version=2024-11-24"></script>
<script src="src/widgets.js?version=2024-07-24"></script>
<script src="src/blocks.js?version=2024-12-07"></script>
<script src="src/threads.js?version=2024-12-05"></script>
<script src="src/threads.js?version=2024-12-23"></script>
<script src="src/objects.js?version=2024-12-04"></script>
<script src="src/scenes.js?version=2024-05-28"></script>
<script src="src/gui.js?version=2024-12-18"></script>
<script src="src/gui.js?version=2024-12-23"></script>
<script src="src/paint.js?version=2023-05-24"></script>
<script src="src/lists.js?version=2024-11-14"></script>
<script src="src/byob.js?version=2024-12-18"></script>
Expand Down
4 changes: 2 additions & 2 deletions src/gui.js
Original file line number Diff line number Diff line change
Expand Up @@ -87,11 +87,11 @@ HatBlockMorph*/

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

modules.gui = '2024-December-18';
modules.gui = '2024-December-23';

// Declarations

var SnapVersion = '10.3.4';
var SnapVersion = '10.3.5';

var IDE_Morph;
var ProjectDialogMorph;
Expand Down
10 changes: 9 additions & 1 deletion src/threads.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ CustomHatBlockMorph*/

/*jshint esversion: 11, bitwise: false, evil: true*/

modules.threads = '2024-December-05';
modules.threads = '2024-December-23';

var ThreadManager;
var Process;
Expand Down Expand Up @@ -8594,6 +8594,14 @@ Process.prototype.slotSpec = function (num) {
if (spec === 'upvar' && id > 100) {
return null;
}
if (num > 100 && [
'loop', 'scriptVars', 'receive', 'send', 'elseif'
].includes(spec) && num > 100)
{
// guard against unimaginative metaprogramming fetishist assholes
// badmouthing Snap! "bugs" in the forums
return null;
}
return prefix + '%' + spec;
};

Expand Down
2 changes: 1 addition & 1 deletion sw.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*global self, caches*/
/*jshint esversion: 6*/
var snapVersion = '10.3.4',
var snapVersion = '10.3.5',
cacheName = `snap-pwa-${snapVersion}`,
filesToCache = [
'snap.html',
Expand Down

0 comments on commit ed55169

Please sign in to comment.