removed some "experimental" markers

snap7
jmoenig 2021-12-09 13:27:01 +01:00
rodzic 931b937558
commit ecbefe7e42
3 zmienionych plików z 19 dodań i 24 usunięć

Wyświetl plik

@ -418,7 +418,7 @@ SyntaxElementMorph.prototype.labelParts = {
'mouse-departed' : ['mouse-departed'], 'mouse-departed' : ['mouse-departed'],
'scrolled-up' : ['scrolled-up'], 'scrolled-up' : ['scrolled-up'],
'scrolled-down' : ['scrolled-down'], 'scrolled-down' : ['scrolled-down'],
'stopped' : ['stopped'] // experimental 'stopped' : ['stopped']
} }
}, },
'%dates': { '%dates': {
@ -3738,7 +3738,7 @@ BlockMorph.prototype.exportResultPic = function () {
} }
}; };
// BlockMorph components - EXPERIMENTAL // BlockMorph syntax analysis
BlockMorph.prototype.components = function (parameterNames = []) { BlockMorph.prototype.components = function (parameterNames = []) {
if (this instanceof ReporterBlockMorph) { if (this instanceof ReporterBlockMorph) {
@ -6046,7 +6046,7 @@ HatBlockMorph.prototype.blockSequence = function () {
return result; return result;
}; };
// HatBlockMorph components - EXPERIMENTAL // HatBlockMorph syntax analysis
HatBlockMorph.prototype.reify = function () { HatBlockMorph.prototype.reify = function () {
// private - assumes that I've already been deep copied // private - assumes that I've already been deep copied
@ -9942,11 +9942,11 @@ InputSlotMorph.prototype.gettablesMenu = function () {
dict['temporary?'] = ['temporary?']; dict['temporary?'] = ['temporary?'];
} }
dict.name = ['name']; dict.name = ['name'];
dict.scripts = ['scripts']; // experimental dict.scripts = ['scripts'];
dict.costume = ['costume']; dict.costume = ['costume'];
dict.costumes = ['costumes']; dict.costumes = ['costumes'];
dict.sounds = ['sounds']; dict.sounds = ['sounds'];
dict.blocks = ['blocks']; // experimental dict.blocks = ['blocks'];
dict['dangling?'] = ['dangling?']; dict['dangling?'] = ['dangling?'];
dict['draggable?'] = ['draggable?']; dict['draggable?'] = ['draggable?'];
dict.width = ['width']; dict.width = ['width'];

Wyświetl plik

@ -11325,9 +11325,6 @@ PaletteHandleMorph.prototype.mouseDoubleClick = function () {
/* /*
I am a dialog morph that lets users take a snapshot using their webcam I am a dialog morph that lets users take a snapshot using their webcam
and use it as a costume for their sprites or a background for the Stage. and use it as a costume for their sprites or a background for the Stage.
NOTE: Currently disabled because of issues with experimental technology
in Safari.
*/ */
// CamSnapshotDialogMorph inherits from DialogBoxMorph: // CamSnapshotDialogMorph inherits from DialogBoxMorph:
@ -11338,7 +11335,7 @@ CamSnapshotDialogMorph.uber = DialogBoxMorph.prototype;
// CamSnapshotDialogMorph settings // CamSnapshotDialogMorph settings
CamSnapshotDialogMorph.prototype.enableCamera = true; // off while experimental CamSnapshotDialogMorph.prototype.enableCamera = true;
CamSnapshotDialogMorph.prototype.enabled = true; CamSnapshotDialogMorph.prototype.enabled = true;
CamSnapshotDialogMorph.prototype.notSupportedMessage = CamSnapshotDialogMorph.prototype.notSupportedMessage =

Wyświetl plik

@ -598,11 +598,11 @@ Process.prototype = {};
Process.prototype.constructor = Process; Process.prototype.constructor = Process;
Process.prototype.timeout = 500; // msecs after which to force yield Process.prototype.timeout = 500; // msecs after which to force yield
Process.prototype.isCatchingErrors = true; Process.prototype.isCatchingErrors = true;
Process.prototype.enableHyperOps = true; // experimental hyper operations Process.prototype.enableHyperOps = true;
Process.prototype.enableLiveCoding = false; // experimental Process.prototype.enableLiveCoding = false; // experimental
Process.prototype.enableSingleStepping = false; // experimental Process.prototype.enableSingleStepping = false;
Process.prototype.enableCompiling = false; // experimental Process.prototype.enableCompiling = false; // experimental
Process.prototype.flashTime = 0; // experimental Process.prototype.flashTime = 0;
Process.prototype.enableJS = false; Process.prototype.enableJS = false;
function Process(topBlock, receiver, onComplete, yieldFirst) { function Process(topBlock, receiver, onComplete, yieldFirst) {
@ -631,8 +631,8 @@ function Process(topBlock, receiver, onComplete, yieldFirst) {
this.exportResult = false; this.exportResult = false;
this.onComplete = onComplete || null; this.onComplete = onComplete || null;
this.procedureCount = 0; this.procedureCount = 0;
this.flashingContext = null; // experimental, for single-stepping this.flashingContext = null; // for single-stepping
this.isInterrupted = false; // experimental, for single-stepping this.isInterrupted = false; // for single-stepping
this.canBroadcast = true; // used to control "when I am stopped" this.canBroadcast = true; // used to control "when I am stopped"
if (topBlock) { if (topBlock) {
@ -1613,7 +1613,7 @@ Process.prototype.evaluateCustomBlock = function () {
outer.variables.parentFrame = block.variables; outer.variables.parentFrame = block.variables;
// block (instance) var support, experimental: // block (instance) var support:
// only splice in block vars if any are defined, because block vars // only splice in block vars if any are defined, because block vars
// can cause race conditions in global block definitions that // can cause race conditions in global block definitions that
// access sprite-local variables at the same time. // access sprite-local variables at the same time.
@ -1899,7 +1899,7 @@ Process.prototype.doDeleteAttr = function (attrName) {
} }
}; };
// experimental message passing primitives // message passing primitives
Process.prototype.doTellTo = function (sprite, context, args) { Process.prototype.doTellTo = function (sprite, context, args) {
this.doRun( this.doRun(
@ -2034,7 +2034,7 @@ Process.prototype.reportListItem = function (index, list) {
return list.at(index); return list.at(index);
}; };
// Process - experimental tabular list ops // Process - tabular list ops
Process.prototype.reportTranspose = function (list) { Process.prototype.reportTranspose = function (list) {
this.assertType(list, 'list'); this.assertType(list, 'list');
@ -4548,7 +4548,7 @@ Process.prototype.parseJSON = function (string) {
return listify(JSON.parse(string)); return listify(JSON.parse(string));
}; };
// Process script components - EXPERIMENTAL // Process syntax analysis
Process.prototype.assemble = function (blocks) { Process.prototype.assemble = function (blocks) {
var first; var first;
@ -5442,8 +5442,7 @@ Process.prototype.reportDirectionTo = function (name) {
Process.prototype.reportBlockAttribute = function (attribute, block) { Process.prototype.reportBlockAttribute = function (attribute, block) {
// hyper-dyadic // hyper-dyadic
// note: specifying strings in the left input only accesses // note: attributes in the left slot
// sprite-local variables. Attributes such as "width", "direction" etc.
// can only be queried via the dropdown menu and are, therefore, not // can only be queried via the dropdown menu and are, therefore, not
// reachable as dyadic inputs // reachable as dyadic inputs
return this.hyperDyadic( return this.hyperDyadic(
@ -5454,7 +5453,6 @@ Process.prototype.reportBlockAttribute = function (attribute, block) {
}; };
Process.prototype.reportBasicBlockAttribute = function (attribute, block) { Process.prototype.reportBasicBlockAttribute = function (attribute, block) {
// experimental - under construction
var choice = this.inputOption(attribute), var choice = this.inputOption(attribute),
expr; expr;
this.assertType(block, ['command', 'reporter', 'predicate']); this.assertType(block, ['command', 'reporter', 'predicate']);
@ -5738,7 +5736,7 @@ Process.prototype.reportObject = function (name) {
}; };
Process.prototype.doSet = function (attribute, value) { Process.prototype.doSet = function (attribute, value) {
// experimental, manipulate sprites' attributes // manipulate sprites' attributes
var name, rcvr, ide; var name, rcvr, ide;
rcvr = this.blockReceiver(); rcvr = this.blockReceiver();
this.assertAlive(rcvr); this.assertAlive(rcvr);
@ -7096,7 +7094,7 @@ Context.prototype.stopMusic = function () {
// Context single-stepping: // Context single-stepping:
Context.prototype.lastFlashable = function () { Context.prototype.lastFlashable = function () {
// for experimental single-stepping when pausing // for single-stepping when pausing
if (this.expression instanceof SyntaxElementMorph && if (this.expression instanceof SyntaxElementMorph &&
!(this.expression instanceof CommandSlotMorph)) { !(this.expression instanceof CommandSlotMorph)) {
return this; return this;
@ -7125,7 +7123,7 @@ Context.prototype.isInCustomBlock = function () {
return false; return false;
}; };
// Context components - EXPERIMENTAL // Context syntax analysis
Context.prototype.components = function () { Context.prototype.components = function () {
var expr = this.expression; var expr = this.expression;