Skip to content

Latest commit

 

History

History
123 lines (72 loc) · 2.71 KB

CHANGELOG.md

File metadata and controls

123 lines (72 loc) · 2.71 KB

0.13.2

  • Use a frame rate to control how often refresh() is called. Set UI.framesPerSecond to control the rate. It defaults to 60, instead of running as fast as possible as it did before.

0.13.1

  • Migrate to Dart 3.0.

0.13.0

  • Make Screen.ui non-nullable and throw if the screen is not bound to a UI.

0.12.0

  • Migrate to null safety.

0.11.4

  • Translate key codes for numpad keys.

0.11.3

  • Fix concurrent modification error when screens are pushed or popped from within update().

0.11.2

  • Add Screen.resize() and call it when the UserInterface gets bound to a terminal with a different size.

0.11.1

  • Add more key codes to KeyCode.

0.11.0

  • Don't resize the canvas given to RetroTerminal.

  • Allow controlling the scaling for RetroTerminal.

  • Don't require double-sized source images for RetroTerminal. Instead, it uses imageSmoothingEnabled to ensure pixels don't get fuzzy when drawing from the font canvas.

    This is a breaking change because it means custom font images, which used to have to be double-sized, should no longer be.

0.10.0

  • Update to Dart 2. Remove new and const keywords.

0.9.0

  • keyUp() events.

0.8.0

  • Change Color.blend() to take a value from (0, 1.0) instead of a percent.
  • Add Color.add().

0.7.0

  • Fill in the rest of the character codes to CharCode.
  • Add Color.blend() and store colors as RGB.
  • Add foreColor, backColor, and fill() to Terminal.

0.6.0

  • Split into two libraries. The core malison library does not import "dart:html" and can be used in command-line applications. It's not useful outside of the web, but it lets you test code in a "headless" fashion that uses malison on the standalone VM.

0.5.1

  • Get rid of implicit casts and dynamic.

0.5.0

  • Add type parameters to UserInterface, KeyBindings, and Screen so that the bound objects can be precisely typed.

0.4.3

  • Make strong mode clean.

0.4.2

  • Widen constraint on piecemeal.

0.4.1

  • Fix semicolon handling on Firefox.

0.4.0

  • Add constants to CharCode for every character in code page 437.
  • Make constants lowerCamelCase.

0.3.0

  • Automatically create a canvas if not given one.
  • Allow creating a UserInterface without an initial terminal.
  • Add an example app.

0.2.1

  • Fix bad assert in Screen._bind().

0.2.0

  • Redo key input handling. Instead of a (mostly broken) Keyboard class, it exposes raw key down events as they happen and also allows user-defined key bindings.

  • Refactor UserInterface and clean up how opaque/transparent screens are handled.

  • Remove (useless) write() method.

  • Handle semicolon keyCode difference between Firefox (59) and Chrome (186).