- Mar 16, 2013
-
-
deuce authored
-
rswindell authored
slightly improved JSDOC descriptions. Updated JSDOC description of the 'js' object to be more general.
-
deuce authored
-
deuce authored
-
deuce authored
-
deuce authored
This is to deal with the fact that when you concatenate JS strings, the JS engine simply notes that they are concatenated, but keeps all the original strings around until something flattens them. This code: for(;;) { str += ascii(random(256)); log(str.length); } Fails when str reaches about 256KiB then crashes with out of memory but this code: for(;;) { str += ascii(random(256)); log(str.length); } Reaches a size of 4MB without stopping. Any time you actually paw through the string, it gets flattened, but when you do a bunch of concatenation, manually flattening can be a Good Thing.
-
deuce authored
Try to recv() Content-Length bytes when specified, and 1024 bytes at a time when not. Call js.gc() after each recv(). The gc() call fixes the "out of memory" error which occured on HTTP pages over about 128KiB and makes reading web pages considerably faster.
-
- Mar 14, 2013
- Mar 13, 2013
- Mar 12, 2013
-
-
echicken authored
- Mar 05, 2013
-
-
deuce authored
-
mcmlxxix authored
-
mcmlxxix authored
use frame attributes for "normal" text input, send inputline attributes property with frame.write (to retain "normal" attributes during backspace)
-
echicken authored
-
mcmlxxix authored
-
mcmlxxix authored
-
mcmlxxix authored
-
echicken authored
I should probably just rewrite this thing at some point.
-
- Mar 01, 2013
-
-
mcmlxxix authored
added frame.write(str,attr) method (behaves like console.write). updated inputline to use frame.write() instead of frame.putmsg()
-
mcmlxxix authored
-
mcmlxxix authored
todo: possibly add support for P_SAVEATTR and other flags
-
mcmlxxix authored
-
mcmlxxix authored
-
echicken authored
-
mcmlxxix authored
-
- Feb 28, 2013
-
-
mcmlxxix authored
-
mcmlxxix authored
update documentation. TODO: give child objects first dibs on event handling, thus better facilitating command overrides, bitch.
-
mcmlxxix authored
accept instanceof LayoutView as Layout.current setter parameter (and ViewTab for LayoutView.current setter).
-
mcmlxxix authored
added onKeyPress[key]() event handler to Layout, LayoutView, and ViewTab objects. generally for use with hotkeys, but should work for strings. undefined by default.
-
deuce authored
-
- Feb 27, 2013
-
-
mcmlxxix authored
no longer populate data to fit frame size. added frame.insertLine(y) and frame.deleteLine(y) methods
-
- Feb 26, 2013
-
-
echicken authored
New scoreboard, updated weapons, player can now choose and name their ship via a flashy rotating sprite ship chooser thingy dealio type thing and stuff.
-
- Feb 19, 2013
- Feb 18, 2013