Releases: pharo-spec/Spec
Releases · pharo-spec/Spec
v0.8.2
- 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
- Fixes to filtering lists
SpFilteringListPresenter
andSpFilteringSelectableListPresenter
. - 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:
andwhenFocusLostDo:
convenience methods toSpWindowPresenter
. - Added some missing spec builders
- several small bugfixes
v0.8
Spec2-Tools
was moved toNewTools-Methods
,NewTools-ChangeSorter
andNewTools-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/withoutDecorationsSpWindowPresenter>>#centered
andSpWindowPresenter>>#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
- 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 understandsremoveAllFrom:
- 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
SpFilterWithListPresenter
was renamed toSpFilteringListPresenter
.- lists and trees now use
displayIcon:
to answer an icon insteadicons:
. - new presenters
SpPaginatorPresenter
andSpMillerPaginatorPresenter
. - 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
- Organise and comment properly ALL widget presenters (children of
SpAbstractWidgetPresenter
) that are needed to createSpPresenter
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 understandsselectFirst
.- New presenter
SpTreePresenter
. A tree with just one column. SpTreeTablePresenter
now understandsexpandPath:
andexpandRoots
.- 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
- 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
- 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
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
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.