Skip to content

Releases: pharo-spec/Spec

v0.8.2

11 Feb 22:50
Compare
Choose a tag to compare
  • all presenters can now be styled (not just widgets as before).
  • lists/trees/tables: activation happens also on enter (not just double click).
  • applications now have icon providers to answer icons by application
  • start documenting layouts (box layout)
  • bugfixes

v0.8.1

05 Jan 20:07
Compare
Choose a tag to compare
  • Fixes to filtering lists SpFilteringListPresenter and SpFilteringSelectableListPresenter.
  • Some changes to enhance Spec<->Morph interaction when using SpMorphPresenter.
  • In tables and trees, adding methods updateItemsKeepingSelection:/updateRootsKeepingSelection: that will prevent an activation to be triggered when refreshing the elements of a list/tree.
  • tree and tree table refactored to extract common behavior.
  • add whenFocusReceivedo: and whenFocusLostDo: convenience methods to SpWindowPresenter.
  • Added some missing spec builders
  • several small bugfixes

v0.8

01 Dec 21:15
Compare
Choose a tag to compare
  • Spec2-Tools was moved to NewTools-Methods, NewTools-ChangeSorter and NewTools-KeymapBrowser.
  • SpCodePresenter commands now are delegating functionality to the presenter (this allow better handling of them).
  • output transmissions now can be composed, to allow a single activation to trigger to different child presenters.
  • SpWindowPresenter now understands withDecorations/withoutDecorations
  • SpWindowPresenter>>#centered and SpWindowPresenter>>#centerRelativeTo: now work correctly
  • Modal dialogs now close on ESC correctly, even when focus is in a text field/area.
  • SpBoxLayout homogeneous property now works correctly.
  • several style modifications.
  • several bugfixes

v0.7.6

11 Nov 11:15
Compare
Choose a tag to compare
  • several enhancements and bugfixes to SpPopoverPresenter.
  • in SpStyle, introduced the concept of environment variables. Now we can define EnvirontmentFont and EnvironmentColor to reference environment defined variables.
  • fixed usage of minWidth/minHeight in styles.
  • fix #960
  • fixed in how SpBoxLayout calculates widths and heights, allowing the toolbar to take its real place.
  • fixed alignments in SpBoxLayout (hAlign* and vAlign* options now work properly).
  • added SpToolbarPopoverButtonPresenter.
  • SpMillerColumnPresenter now understands removeAllFrom:
  • in tables, fixed the usage of showColumnHeaders (now it show headers even if headers are nil).
  • in tables, fixed image columns with fixed widths (now calculate correctly the width).
  • SpCodePresenter commands use new selector extractor.

v0.7.5

28 Oct 14:03
Compare
Choose a tag to compare
  • SpFilterWithListPresenter was renamed to SpFilteringListPresenter.
  • lists and trees now use displayIcon: to answer an icon instead icons:.
  • new presenters SpPaginatorPresenter and SpMillerPaginatorPresenter.
  • Add decoration attributes to SpStringTableColumn : displayColor:, displayBackgroundColor:, displayBold:, displayItalic:, displayUnderline:. API may still change, but this is the easiest to not mess with the Gtk backend.
  • several fixes to SpMillerColumnPresenter.
  • fixes #952
  • fixes #940
  • fixes #954
  • fixes #929
  • fixes #871
  • ... and several other bugfixes

v0.7.4

13 Oct 19:46
Compare
Choose a tag to compare
  • Organise and comment properly ALL widget presenters (children of SpAbstractWidgetPresenter) that are needed to create SpPresenter compositions.
  • Add missing examples for all widget presenters.
  • Presenter comments are now implemented through a microdown template, showing interesting sections and pointing to correct API to use (along with examples).
  • SpAbstractWidgetPresenter hierarchy now understands selectFirst.
  • New presenter SpTreePresenter. A tree with just one column.
  • SpTreeTablePresenter now understands expandPath: and expandRoots.
  • Added SpLinkTableColumn to add links to tables (and trees).
  • New utility presenter: SpListWithFilterPresenter.
  • Fixed alignment of cells on SpGridLayout.
  • SpGridLayout axis constraints now understand alignment (because sometimes you want to align a whole column, not just a cell).
  • Several fixes on commands for Pharo interaction.
  • Lots of small bugfixes.

v0.7.3

08 Sep 21:13
Compare
Choose a tag to compare
  • fix a leak on dialogs, which were not being removed from the windows list in application
  • enhance demo of SpNotebookPresenter
  • made string columns not sortable by default
  • fix IconStyler usage
  • fix SpCodePresenter>>#overridingContextMenu
  • enhance comments and organisation (WIP)

v0.7.2

28 Jul 14:00
Compare
Choose a tag to compare
  • text presenters now can inform when a selection has changed
  • text presenters now can define wrap/not wrap
  • text presenters now can set #cursorPositionIndex:
  • styles can now change a text color
  • code presenter now can show a nice error popover when compiler errors happen
  • box layout now can replace presenters (#replace:with)
  • Fixed default focus order in dialogs, since it was not working fine.
  • Fixed window close event (now it should happen always that a window is closed, no matter the way it is closed).

v0.7.1

23 Jul 08:45
Compare
Choose a tag to compare

Bugfixes

  • tree table presenter: it was not reacting to "activate on single click"
  • dialogs: ensure open a dialog centered on topWindow works even when there is no "topWindow" defined.
  • code presenter: fix interaction models (they were a mess and with some misunderstood concepts).
  • code presenter: fix accept/cancel commands (that will appear if there are submit/reset events defined).
  • "dynamic" package was broken and it does not has sense now: moved all broken stuff into a single package (Spec-Dynamic) that will not be loaded (and probably needs to be removed)

v0.7.0

05 Jul 08:32
Compare
Choose a tag to compare

General

  • add comments to Transmission, Style and Application
  • added a hook to rebuild layouts
  • style: do not calculate font each time there is a call to it.
  • refactor on SpCodePresenter: instead a matrix to complete (doItContext, doItReceiver, etc.) now there is a hierarchy of "InteractionModels"the user can extend and use.
  • #iconNamed: moved to SpApplication.
  • Text: create the concept of userActionDuring: to avoid multiple actualisations when changing selection, text, etc. all at once.
  • Remove tests for Pharo 8 since it is not supported anymore.
  • Window: add vocabulary: isMinimized/isMaximized
  • ToolBar was renamed as Toolbar.
  • Lots of cleanups on dependencies to be able to split Spec2 from Morphic.

Bugfixes

  • fix a problem in popover which was not abswering correct "lines"to print.
  • sometimes we ask to center a widnow to its parent, but there is no parent. In that cases, center to world.
  • fix problems in the Style merge algorithm\
  • List: fixed problems with selection and sorting.
  • Application was leaking windows. Not anymore.