Andrew Plotkin

Results 107 issues of Andrew Plotkin

These follow the changes in https://github.com/erkyrath/glkote/issues/46 , https://github.com/erkyrath/quixe/issues/48 . In zvm.js, the lines: // The Quixe API expects the start function to be named init this.init = this.start; ...must be...

enhancement

I needed to be able to periodically check stuff in the background and (if necessary) interrupt the read, print, and restart the read. This PR supports that.

>>> toml.dumps({"a": "\x01"}) Traceback (most recent call last): File "", line 1, in File "/usr/local/lib/python3.7/site-packages/toml/encoder.py", line 47, in dumps addtoretval, sections = encoder.dump_sections(o, "") File "/usr/local/lib/python3.7/site-packages/toml/encoder.py", line 209, in dump_sections...

component: encoder
type: bug
syntax: strings

Stack trace: ``` 0 CoreFoundation 0x00007ff8032261ba __exceptionPreprocess + 242 1 libobjc.A.dylib 0x00007ff802d4c42b objc_exception_throw + 48 2 CoreFoundation 0x00007ff8033003ea -[__NSCFString characterAtIndex:].cold.1 + 0 3 CoreFoundation 0x00007ff80326adf5 mutateError + 121 4 CoreFoundation...

Noted in this thread: https://intfiction.org/t/release-along-with-parchment-interpreter/61411/20 Testing in https://eblong.com/zarf/glulx/quixe/quixe/play-remote.html?story=stories/Advent.ulx.js : If the input focus is off the input line, hitting a normal key (e.g. space bar) refocuses and enters the key....

This should give good compression. Better than the current "write out numbers in ASCII" plan. See https://github.com/qntm/base32768 .

Currently, every module in the Glk JS ecosystem is a global object (window.GlkOte, window.Dialog, window.Quixe, etc). We would like to support the possibility of more than one. It should be...

Because it's basically stdio. See https://github.com/erkyrath/lectrote/issues/107.

(And return true on gestalt_GraphicsCharInput.) Once this works, we can allow RemGlk to support it and test the feature end-to-end.

It should give more storage capacity than localStorage. We'll still want to fall back to localStorage if IndexedDB isn't available.