Re: [Pharo-users] BaselineOf's and Loose Dependencies

2016-03-30 Thread Sean P. DeNigris
I had to think about this for a while. Let me see if I can summarize where we
are:
- I wanted to translate the pre-BaselineOf workflow of "specify loose
dependencies generally (e.g. #stable) in the #baselineXyz: method, and
precisely in the #versionAbc: method" to "specify loose dependencies
generally in the BaselineOf, and precisely in the ConfigurationOf"
- You're saying that I can't (or shouldn't?) do that, but should instead
specify them generally in the dev branch, and pin them down each time I
release, so I would:
  1. Commit dev with the specific versions
  2. Merge into master
  3. Commit dev again with the general project versions to continue my work

Does that all sound accurate?

Two things to note that I'm not sure were clear:
- I have no control over the other projects and assume they do not use the
#releaseXyz discipline
- I do not generally use issue branches for projects that I work on alone
because IMHO it adds much complexity to the workflow

Thanks!



-
Cheers,
Sean
--
View this message in context: 
http://forum.world.st/BaselineOf-s-and-Loose-Dependencies-tp4885749p4887415.html
Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.



Re: [Pharo-users] Additional Pomodoro features

2016-03-30 Thread Stephan Eggermont

Cleaned up, and a demo:
https://vimeo.com/160902072

Stephan




[Pharo-users] Spec ListModel synchronization

2016-03-30 Thread Rob Rothwell
Hello,

It's been a while since I tried out Pharo.  I always struggled with Morphic
UI's, but I noticed Spec and there seemed to be enough examples floating
around that I thought I'd give it another try.

Is Spec "here to stay?"  Is it worthwhile to figure it out?  It seems like
with the developing possibilities of OSWindow-SDL2, one might use Spec to
compose native widgets as well.

My main question is about synchronizing domain changes with a Spec UI.

For example, if I create an empty list of items:

aList := OrderedCollection new.


And create and open a ListModel that uses that list:

aListModel := ListModel new

items: aList;

openWithSpec;

yourself.


I get a nice empty list.

If I add an item to my list:

aList add: 1.


Then I need to update the list with another:

aListModel items: aList.

To see it show up.

Alternatively (this seems wrong), I can add an item to the ListModel
listItems directly:

aListModel items: (aListModel listItems add: 1; yourself).


Is that basically what you need to do to maintain synchronization between
your domain list and the Spec UI representation of that list, or am I
missing something?

Thank you,

Rob


Re: [Pharo-users] Spec ListModel synchronization

2016-03-30 Thread Johan Fabry
Hi Bob,

to answer your 2 questions briefly:

Yes, Spec is here to stay for good, and the idea is that it can compose any 
kind of widgets, so with a bridge to OSWindow-SDL2 that should work as well.

When changing items in the list, you need to inform the widget of that. To do 
that you need to call the updateList method on your ListModel instance. So in 
your example:

aList add: 1.
aListModel updateList.

HTH,

> On Mar 30, 2016, at 13:19, Rob Rothwell  wrote:
> 
> Hello,
> 
> It's been a while since I tried out Pharo.  I always struggled with Morphic 
> UI's, but I noticed Spec and there seemed to be enough examples floating 
> around that I thought I'd give it another try.
> 
> Is Spec "here to stay?"  Is it worthwhile to figure it out?  It seems like 
> with the developing possibilities of OSWindow-SDL2, one might use Spec to 
> compose native widgets as well.
> 
> My main question is about synchronizing domain changes with a Spec UI.
> 
> For example, if I create an empty list of items:
> 
> aList := OrderedCollection new.
> 
> And create and open a ListModel that uses that list:
> 
> aListModel := ListModel new
> items: aList;
> openWithSpec;
> yourself.
> 
> I get a nice empty list.
> 
> If I add an item to my list:
> 
> aList add: 1.
> 
> Then I need to update the list with another:
> 
> aListModel items: aList.
> 
> To see it show up.
> 
> Alternatively (this seems wrong), I can add an item to the ListModel 
> listItems directly:
> 
> aListModel items: (aListModel listItems add: 1; yourself).
> 
> Is that basically what you need to do to maintain synchronization between 
> your domain list and the Spec UI representation of that list, or am I missing 
> something?
> 
> Thank you,
> 
> Rob



---> Save our in-boxes! http://emailcharter.org <---

Johan Fabry   -   http://pleiad.cl/~jfabry
PLEIAD and RyCh labs  -  Computer Science Department (DCC)  -  University of 
Chile



Re: [Pharo-users] Tables in Pillar

2016-03-30 Thread Esteban A. Maringolo
Was this fixed, considered for a roadmap (if there is one), etc?

Regards!



--
View this message in context: 
http://forum.world.st/Tables-in-Pillar-tp4808143p4887468.html
Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.



Re: [Pharo-users] Spec ListModel synchronization

2016-03-30 Thread Stephan Eggermont

In Pharo5, you can download Ancestry from the Catalog browser,
that provides an example of this. https://vimeo.com/158063568

Stephan