#298 Build 1.0.29

brian Fri 18 Jul 2008

The latest build is available and the online documentation has been updated.

New Operators

Added four new operators:

FWT

I've done a lot of work on the FWT:

  • Added WebBrowser widget. Go to the WebBrowser tab in demo, focus on the text field and hit enter. The file menu and toolbar buttons are bound to the browser (using curry operator).
  • Other new widgets: Text, InsetPane, SashPane.
  • Lots of work to nail down how widget children are managed, especially with regard to serialization
  • Designed how prefSize and layout works
  • Started writing pure Fan layout Panes for portability (EdgePane, GridPane, InsetPane)
  • Most things support serialization now. Check out the Text tab in the demo and press the button - the whole app will serialize itself to the text area.
  • Vector graphics include a new Pen and Brush class. Pen is used to define how shapes are stroked. Brush defines how shapes and text is filled. Color implements Brush for solid colors, and there is a new Gradient class. Check out the Graphics tab in the demo.

I'm especially jazzed about how well the serialization and declarative programming work with the FWT.

Misc Changes

  • Previous behavior where you had to manually call toImmutable on a list or map when assigning to a const field is now handled by the compiler. See discussion.
  • Using the x[y] operator now requires the [ to be on the same line as x just like calls - see discussion
  • Fixed function type compatibility for Void - see discussion
  • I finally wrote a specification, portable implementation, and test suite for Str.split (this change is incompatible with the old signature)
  • Added log convenience to Pod and Type - see discussion

Change Log

Build 1.0.29 (18 Jul 08)

  • New isnot operator
  • New null convenience operators: ?: ?. ?->
  • New FWT widgets: WebBrowser, Text, InsetPane, SashPane
  • FWT graphics: Pen, Brush, Gradient
  • FWT serialization support
  • New icons pod
  • Web view priorities
  • Require indexing open bracket on same line
  • Allow |->Int| to fit |->Void|
  • Sys.idHash
  • List.findIndex, indexSame, containsSame, containsAllSame, removeSame
  • Pod.log, Type.log
  • Str.split(Str) => Str.split(Int,Bool)
  • Compiler implicitly generates toImmutable for const List/Map/Type fields

JohnDG Fri 18 Jul 2008

Looks good. Can't wait to check it out.

cbeust Fri 18 Jul 2008

By the way, any update on my feature request?

andy Fri 18 Jul 2008

I'm going to roll out all the Sidewalk updates at once to make it easier - but expect that to be in there.

Login or Signup to reply.