Changes
=======

Version 0.4.0 -- 2012/07/30
---------------------------

* Added Panel, SplitView, OutlineView, ListView, Toolbar, SegmentedControl, SearchField, Slider
  and NumberFormatter.
* Added Layouts.
* Added support for many, many, many new attributes, constants and types.
* Now generates a ".h" to go alongside the generated unit.
* Added Property and its subclasses, an easier way to add support for new attributes, even the
  complex ones.
* It's now possible to override margins in layout method calls.
* Added support for bindings with the new ``View.bind()`` method.
* Added the new ``defaults`` global variable, which can be used to bind to user defaults.
* Constants accessed with ``const`` can now be bitwise OR-ed.
* Generated code is now formatted to look a bit better and be easier to debug.
* Added new constants for menu shortcuts for special keys (arrows, enter etc.).
* Added support for UI script arguments.


Version 0.3.1 -- 2012/07/20
---------------------------

* Pushed down the `action` attribute from `Button` to `Control`.
* `RadioButtons` is now a `Control` subclass.
* Made window recalculate its view loop after having generated its children.

Version 0.3.0 -- 2012/07/09
---------------------------

* Added RadioButtons, TableView, TabView, TextView, ImageView and ProgressIndicator.
* Added support for string localization.
* Added TextField.alignment and TextField.textColor.
* Added Button.keyEquivalent.
* Added canClose, canResize and canMinimize to Window.
* Added a Control subclass.
* View can now be directly instantiated in UI scripts (They're like "Custom Views" in IB).
* `xibless run` can now be run on script for which the result is a View.
* Improved layout system.
* Window origin is now supplied in terms of screen proportions rather than absolute positions.
* Fixed 'id' ownerclass in main function prototype generation and added the "ownerimport" global
  variable in the UI script.
* Escape newlines in string code generation.
* Added documentation for Button.buttonType and Button.bezelStyle and added a demo for a button
  with a different bezel style.
* Fixed the most glaring memory leaks.
* Fixed a bug where attributes like class-level default fonts wouldn't be generated when generating
  more than one UI script in the same python session.
* Windows are not released when closed by default.
* Added support for circular references (a window setting one of its properties to an item that
  required that window before being created, for example, initialFirstResponder). We previously
  couldn't generate code for such bindings.
* Made the `align` argument in `View.packRelativeTo()` optional.

Version 0.2.0 -- 2012/06/28
---------------------------

* Added Sphinx documentation
* Added the ``xibless run`` command for quick UI previews.
* Added Combobox and Popup.

Version 0.1.0 -- 2012/06/25
---------------------------

* Initial pre-alpha release