Decker 1.10


Decker v1.10 is a maintenance release with multiple bugfixes, enhanced control over events, and which deprecates card inheritance.

Fixes (Web)

  • Corrected an issue which caused Itch.io embeds (or iframe embeds in general) not to receive keyboard input in some situations.

Fixes (Native)

  • Creating a New Deck will now consistently clear the working filename, preventing spurious overwrites.

Fixes (Native and Web)

  • Corrected inconsistencies in the reserved keyword lists of the JS and C Lil interpreters.
  • Pasting or importing text containing curly quotes ("smart quotes") will now straighten them. While Lil and Decker do not (by design) support Unicode text, this update will make it possible to strip and convert UTF-8 input in a more robust fashion going forward.
  • The "Edit -> Paste as New Canvas" menu item now creates a locked canvas by default, preventing common workflow errors.

New Features

  • The Deck, Card, and widget interfaces all now support a ".event[name args...]" function, which allows a script to inject an event into the target. Not only can this be used to simulate normal system-produced events like "click" or "view", it can also trigger user-defined events with arbitrary names and argument lists. When an event is injected with "event[]", it behaves exactly like a system-produced event, including bindings for "me" and the appropriate contextual bindings.

Breaking Changes

  • Lilt previously provided a set of specialized event injector routines for automated interaction with decks, like "button.click[]". These are all superseded by the more general "event[]" function.
  • This release deprecates Card Inheritance, including the overloads of "deck.add[]" for creating child cards and the "card.parent" property. Parent/Child cards proved to be far too rigid for most applications, and nonetheless lead to a large degree of complexity in the Decker DOM. Removing this functionality clears the way for a better, more general re-use mechanism in the future.

Files

Decker-1.10-mac.zip 1.8 MB
Jan 06, 2023
Decker-1.10-win.zip 1.6 MB
Jan 06, 2023
lilt-1.10 APE executable 896 kB
Jan 06, 2023

Get Decker

Download NowName your own price

Leave a comment

Log in with itch.io to leave a comment.