Merge branch 'next-release'
This commit is contained in:
commit
012e94a0ea
124 changed files with 6577 additions and 151 deletions
|
|
@ -749,7 +749,7 @@ DiskDump.outputDisk = function(err, disk, sDiskPath, sOutputFile, fOverwrite, sM
|
|||
} else {
|
||||
var sDirName = path.dirname(sOutputFile);
|
||||
if (!fs.existsSync(sDirName)) mkdirp.sync(sDirName);
|
||||
fs.writeFileSync(sOutputFile, data);
|
||||
fs.writeFileSync(sOutputFile, data.buf || data);
|
||||
DiskDump.logConsole(cbDisk + "-byte disk image saved to " + sOutputFile);
|
||||
}
|
||||
}
|
||||
|
|
@ -2042,7 +2042,7 @@ DiskDump.prototype.buildClusters = function(aFiles, offDisk, cbCluster, iParentC
|
|||
if (!obj.cWritesPending) return;
|
||||
if (!err) {
|
||||
if (fDebug && cb != buf.length) DiskDump.logConsole(file.FILE_NAME + ": initial size (" + cb + ") does not match actual size (" + buf.length + ")");
|
||||
buf.copy(obj.bufDisk, off);
|
||||
buf.copy(obj.bufDisk.buf || obj.bufDisk, off);
|
||||
if (fDebug) DiskDump.logConsole("0x" + str.toHex(off) + ": 0x" + str.toHex(buf.length) + " bytes written for " + file.FILE_PATH);
|
||||
if (obj.sManifestFile) file.FILE_MD5 = crypto.createHash('md5').update(buf).digest('hex');
|
||||
}
|
||||
|
|
|
|||
|
|
@ -387,11 +387,12 @@ Keyboard.SIMCODE = {
|
|||
CMD: Keyboard.KEYCODE.CMD + Keyboard.KEYCODE.ONDOWN,
|
||||
RCMD: Keyboard.KEYCODE.RCMD + Keyboard.KEYCODE.ONDOWN,
|
||||
FF_CMD: Keyboard.KEYCODE.FF_CMD + Keyboard.KEYCODE.ONDOWN,
|
||||
SYSREQ: Keyboard.KEYCODE.ESC + Keyboard.KEYCODE.FAKE,
|
||||
CTRL_C: Keyboard.ASCII.CTRL_C + Keyboard.KEYCODE.FAKE,
|
||||
CTRL_BREAK: Keyboard.KEYCODE.BS + Keyboard.KEYCODE.FAKE,
|
||||
CTRL_ALT_DEL: Keyboard.KEYCODE.DEL + Keyboard.KEYCODE.FAKE,
|
||||
CTRL_ALT_INS: Keyboard.KEYCODE.INS + Keyboard.KEYCODE.FAKE,
|
||||
SYSREQ: Keyboard.KEYCODE.ESC + Keyboard.KEYCODE.FAKE
|
||||
CTRL_ALT_ENTER: Keyboard.KEYCODE.CR + Keyboard.KEYCODE.FAKE
|
||||
};
|
||||
|
||||
/*
|
||||
|
|
@ -591,7 +592,8 @@ Keyboard.CLICKCODES = {
|
|||
'CTRL_C': Keyboard.SIMCODE.CTRL_C,
|
||||
'CTRL_BREAK': Keyboard.SIMCODE.CTRL_BREAK,
|
||||
'CTRL_ALT_DEL': Keyboard.SIMCODE.CTRL_ALT_DEL,
|
||||
'CTRL_ALT_INS': Keyboard.SIMCODE.CTRL_ALT_INS
|
||||
'CTRL_ALT_INS': Keyboard.SIMCODE.CTRL_ALT_INS,
|
||||
'CTRL_ALT_ENTER': Keyboard.SIMCODE.CTRL_ALT_ENTER
|
||||
};
|
||||
|
||||
/**
|
||||
|
|
@ -933,6 +935,7 @@ Keyboard.SIMCODES[Keyboard.SIMCODE.CTRL_C] = Keyboard.SCANCODE.C
|
|||
Keyboard.SIMCODES[Keyboard.SIMCODE.CTRL_BREAK] = Keyboard.SCANCODE.SCROLL_LOCK | (Keyboard.SCANCODE.CTRL << 8);
|
||||
Keyboard.SIMCODES[Keyboard.SIMCODE.CTRL_ALT_DEL] = Keyboard.SCANCODE.NUM_DEL | (Keyboard.SCANCODE.CTRL << 8) | (Keyboard.SCANCODE.ALT << 16);
|
||||
Keyboard.SIMCODES[Keyboard.SIMCODE.CTRL_ALT_INS] = Keyboard.SCANCODE.NUM_INS | (Keyboard.SCANCODE.CTRL << 8) | (Keyboard.SCANCODE.ALT << 16);
|
||||
Keyboard.SIMCODES[Keyboard.SIMCODE.CTRL_ALT_ENTER] = Keyboard.SCANCODE.ENTER | (Keyboard.SCANCODE.CTRL << 8) | (Keyboard.SCANCODE.ALT << 16);
|
||||
|
||||
/**
|
||||
* Commands that can be sent to the Keyboard via the 8042; see sendCmd()
|
||||
|
|
|
|||
|
|
@ -386,7 +386,7 @@
|
|||
<input class="{$APPCLASS}-binding" type="submit" style="{$border}{$fontsize}{$style}" data-value="{{{$type},{$binding}}}" value="{.}"/>
|
||||
</xsl:when>
|
||||
<xsl:when test="@type = 'textarea'">
|
||||
<textarea class="{$APPCLASS}-binding" style="{$border}{$width}{$height}{$style}" data-value="{{{$type},{$binding}}}" readonly="readonly"> </textarea>
|
||||
<textarea class="{$APPCLASS}-binding" style="{$border}{$width}{$height}{$style}" data-value="{{{$type},{$binding}}}" readonly="readonly" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false"> </textarea>
|
||||
</xsl:when>
|
||||
<xsl:when test="@type = 'heading'">
|
||||
<div><xsl:value-of select="."/></div>
|
||||
|
|
|
|||
Loading…
Reference in a new issue