Skip to content

Commit

Permalink
prepared v10.1.5 patch
Browse files Browse the repository at this point in the history
  • Loading branch information
jmoenig committed Oct 15, 2024
1 parent c5b30ba commit a0448ad
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 8 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.1.5:
* **Notable Fixes:**
* fixed broadcasting and sending messages with data

### 2024-09-15
* threads: fixed broadcasting with data
* prepared v10.1.5 patch

## 10.1.4:
* **Notable Fixes:**
* fixed a dictionary lookup glitch for primitive block palettes
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-09-13"></script>
<script src="src/widgets.js?version=2024-07-24"></script>
<script src="src/blocks.js?version=2024-10-11"></script>
<script src="src/threads.js?version=2024-10-13"></script>
<script src="src/threads.js?version=2024-10-15"></script>
<script src="src/objects.js?version=2024-10-13"></script>
<script src="src/scenes.js?version=2024-05-28"></script>
<script src="src/gui.js?version=2024-10-13"></script>
<script src="src/gui.js?version=2024-10-15"></script>
<script src="src/paint.js?version=2023-05-24"></script>
<script src="src/lists.js?version=2024-09-16"></script>
<script src="src/byob.js?version=2024-10-10"></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 @@ BlockVisibilityDialogMorph, ThreadManager, isString, SnapExtensions, snapEquals

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

modules.gui = '2024-October-13';
modules.gui = '2024-October-15';

// Declarations

var SnapVersion = '10.1.4';
var SnapVersion = '10.1.5';

var IDE_Morph;
var ProjectDialogMorph;
Expand Down
9 changes: 6 additions & 3 deletions src/threads.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ StagePickerMorph, CustomBlockDefinition, CommentMorph*/

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

modules.threads = '2024-October-13';
modules.threads = '2024-October-15';

var ThreadManager;
var Process;
Expand Down Expand Up @@ -1055,8 +1055,11 @@ Process.prototype.evaluateMultiSlot = function (multiSlot, argCount) {
}
}
}
if (inputs.length) {
// format the inputs as 2D table
if (inputs.length &&
!['%receive', '%send'].includes(multiSlot.elementSpec)
) {
// format the inputs as 2D table, unless it's a "built-in"
// group, e.g. for broadcast, scene changes etc.
ans = new List(inputs);
inputs = this.reportNumbers(1, ans.length()).reshape(
new List([0, multiSlot.slotSpec.length])
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.1.4',
var snapVersion = '10.1.5',
cacheName = `snap-pwa-${snapVersion}`,
filesToCache = [
'snap.html',
Expand Down

0 comments on commit a0448ad

Please sign in to comment.