Skip to content

Releases: codeddraig/ffau

Fix Blockly ID escaping

27 Oct 15:55
Compare
Choose a tag to compare

This minor update just prevents Blockly's generators from creating corrupted files.

Add export statement

16 May 17:34
Compare
Choose a tag to compare

Add an export statement to the Ffau class to allow for better integration with frameworks such as React.

Add auto-toolbox

16 May 17:16
89ddab7
Compare
Choose a tag to compare

Added tools to generate toolbox automatically. See README.md for more.

This release does not introduce any breaking changes.

Fix quote escaping and update Blockly

09 Mar 07:25
Compare
Choose a tag to compare

This version of the Ffau fixes a minor code generation issue to do with escaping quotes. It also increments the recommended Blockly commit hash.

Fix RGBA pickers and font names

07 Mar 18:08
Compare
Choose a tag to compare

This version fixes a few minor bugs:

  • RGBA pickers were having some bugs with their escaping system, and this has now been fixed.
  • Previously, spaces weren't supported in the font-family: CSS block (fontfamily). This was annoying if you wanted to use a non-web-compatible font name such as 'Comic Sans MS'. Spaces are now allowed in this block.

Add support for custom arguments in events

01 Feb 17:32
Compare
Choose a tag to compare

The customFunction parameter of Ffau.addEvent can now be passed an array instead, of the format [f, [a, b, c]], where a, b and c are parameters to be called with f. This would have the effect of calling:

f(scope, a, b, c)

(as scope is still passed as the first argument)

This is useful in many cases, especially when the callback function is accessed externally (i.e. not from within the context of the Ffau class, but someone doing ffau.editorCallbackFunction(), in which case arguments cannot be bound to the function without updating it entirely/duplicating it.

Add support for more versatile setting structures

24 Jan 21:12
Compare
Choose a tag to compare
  • Add nice scrollbars to setting menu
  • Neaten up headings/padding for smooth scrolling
  • Add sections to settings + separators

No backwards-incompatible changes, as settings menus still work (and look pretty) without sections, but they can optionally be added.

Patch cleared workspace items being moved to trash

15 Jan 18:41
Compare
Choose a tag to compare

When using reverse coding, the items present on the workspace when it is cleared between each new render of the blocks were previously moved to the trashcan history, quickly cluttering this space. This has now been patched.

Fix <div> behaviour and text generators

14 Dec 12:51
Compare
Choose a tag to compare

Updates generators and block definitions to handle text blocks better.

Update to work with new Blockly deprecation

13 Dec 21:59
Compare
Choose a tag to compare

Updated code to work with changes to Blockly.utils helpers.