Re: [Pharo-dev] cleanup rubric

2015-08-05 Thread Nicolai Hess
2015-08-04 21:29 GMT+02:00 stepharo steph...@free.fr:


 
  Hello all,
  Yes we have both PluggableTextMorph and Rubric so it is a mess.
  Yes Rubric was a fork, so a lot of code is duplicated.
  I would say just wait that all PluggableTextMorph uses are removed
  then we will be able to clean-up things.
  Now, remember that I was not so excited by Rubric  as the default
 editor.
  Rubric is the past, It should be removed asap with all the crap that it
 duplicates.
  I would not invest to much time in cleaning and commenting it.
  Instead, clean, document and implement tests for TxText.

 Really? We move from pluggabletextmorph to rubric, just to move again to
 txtext?


 Yes (it if is far from perfect but) now we decided to introduce rubric
 because
 TxText is not ready
 people need to be able to have line number and other niceties that
 Rubric has.
 Alain told me that it will be probably easier to move from Rub to
 TxText than
 from pluggable to TxText.

 And as one of the guy with franck doing most of the Pluggable - Rubric
 migration we would have preferred to avoid and jump to TxText directly.



OK, so the plan is:
1. replace old with rubric
2. remove old
3. cleanup rubric (maybe)
4. move to txtext

is the 4th step only doable for bloc, or do we want to use txtext in
morphic too?

nicolai






 Stef





Re: [Pharo-dev] cleanup rubric

2015-08-05 Thread Tudor Girba
TxText should only be considered for Bloc. This is where the future is, and
we should invest our effort to build that future.

Doru

On Wed, Aug 5, 2015 at 9:16 AM, Nicolai Hess nicolaih...@web.de wrote:



 2015-08-04 21:29 GMT+02:00 stepharo steph...@free.fr:


 
  Hello all,
  Yes we have both PluggableTextMorph and Rubric so it is a mess.
  Yes Rubric was a fork, so a lot of code is duplicated.
  I would say just wait that all PluggableTextMorph uses are removed
  then we will be able to clean-up things.
  Now, remember that I was not so excited by Rubric  as the default
 editor.
  Rubric is the past, It should be removed asap with all the crap that
 it duplicates.
  I would not invest to much time in cleaning and commenting it.
  Instead, clean, document and implement tests for TxText.

 Really? We move from pluggabletextmorph to rubric, just to move again to
 txtext?


 Yes (it if is far from perfect but) now we decided to introduce rubric
 because
 TxText is not ready
 people need to be able to have line number and other niceties that
 Rubric has.
 Alain told me that it will be probably easier to move from Rub to
 TxText than
 from pluggable to TxText.

 And as one of the guy with franck doing most of the Pluggable - Rubric
 migration we would have preferred to avoid and jump to TxText directly.



 OK, so the plan is:
 1. replace old with rubric
 2. remove old
 3. cleanup rubric (maybe)
 4. move to txtext

 is the 4th step only doable for bloc, or do we want to use txtext in
 morphic too?

 nicolai






 Stef






-- 
www.tudorgirba.com

Every thing has its own flow


Re: [Pharo-dev] Is Metacello in Pharo 5.0 up-to-date? and project locking

2015-08-05 Thread Christophe Demarey

Le 4 août 2015 à 21:08, stepharo a écrit :

 
 Hi,
 
 You can find a recent version of Metacello on the latest Pharo 5.0 image 
 there: https://ci.inria.fr/rmod/job/Metacello-CDrepo
 I already have a pull request opened for that: 
 https://github.com/dalehenrich/metacello-work/pull/351
 
 So does it mean that we have now the latest version within Pharo 50?

I'm working on it but it will come very soon in pharo 50.

smime.p7s
Description: S/MIME cryptographic signature


Re: [Pharo-dev] [Pharo5] Update #200!

2015-08-05 Thread Dimitris Chloupis
Dont know why but all your mails go directly to my spam folder and I am
using Gmail. Anyone else has the same issue ?

Anyway great job guys :)

On Thu, Jul 30, 2015 at 12:07 PM Marcus Denker marcus.den...@inria.fr
wrote:

 Hi,

 Update #200 is done!

 The issue tracker lists 621 closed issues for Pharo5.

 Marcus




[Pharo-dev] GLMPluggableTextMorph - GLMRubPluggableTextMorph

2015-08-05 Thread stepharo

Hi GLM people

it would be cool if you could if you could migrate GLMPluggableTextMorph 
to use Rubric.


Stef



Re: [Pharo-dev] Multiple syntax support in Pharo

2015-08-05 Thread Stephan Eggermont



On 04-08-15 10:08, Clément Bera wrote:

Hello Pharoers,

I'd like to do something a bit crazy and I think it's possible in Pharo
so I'm asking for advises here.

I would like to have packages / hierarchy of classes in Pharo that have
methods written with a different syntax.


I strongly support that.
The PostgresV3 integration in Squeak uses that, and I want that for
ATDD support (Features, Scenarios, Goals, Stakeholders)

Stephan





Re: [Pharo-dev] GLMPluggableTextMorph - GLMRubPluggableTextMorph

2015-08-05 Thread Andrei Chis
Hi,

There are GLMPharoMethodPresentation and GLMPharoPlaygroundPresentation
that are supposed to be used to replace GLMPluggableTextMorph.

Cheers,
Andrei

On Wed, Aug 5, 2015 at 1:12 PM, stepharo steph...@free.fr wrote:

 Hi GLM people

 it would be cool if you could if you could migrate GLMPluggableTextMorph
 to use Rubric.

 Stef




Re: [Pharo-dev] Multiple syntax support in Pharo

2015-08-05 Thread p...@highoctane.be
Not to mention the ability to edit JavaScript methods when writing Seaside
apps with some syntax highlighting and no string escaping.

Same story for CSS, images etc. (I think we miss a basic picture editor in
Pharo).

Phil

On Tue, Aug 4, 2015 at 10:58 AM, Stephan Eggermont step...@stack.nl wrote:



 On 04-08-15 10:08, Clément Bera wrote:

 Hello Pharoers,

 I'd like to do something a bit crazy and I think it's possible in Pharo
 so I'm asking for advises here.

 I would like to have packages / hierarchy of classes in Pharo that have
 methods written with a different syntax.


 I strongly support that.
 The PostgresV3 integration in Squeak uses that, and I want that for
 ATDD support (Features, Scenarios, Goals, Stakeholders)

 Stephan






Re: [Pharo-dev] [Pharo5] Update #200!

2015-08-05 Thread p...@highoctane.be
Move them back to forums and it will be fine.

I am using Gmail

Phil

On Wed, Aug 5, 2015 at 12:45 PM, Dimitris Chloupis kilon.al...@gmail.com
wrote:

 Dont know why but all your mails go directly to my spam folder and I am
 using Gmail. Anyone else has the same issue ?

 Anyway great job guys :)

 On Thu, Jul 30, 2015 at 12:07 PM Marcus Denker marcus.den...@inria.fr
 wrote:

 Hi,

 Update #200 is done!

 The issue tracker lists 621 closed issues for Pharo5.

 Marcus




Re: [Pharo-dev] GLMPluggableTextMorph - GLMRubPluggableTextMorph

2015-08-05 Thread Tudor Girba
I guess what Stef is saying is that we should remove completely the
PluggableTextMorph, which is something we can safely do now.

Cheers,
Doru

On Wed, Aug 5, 2015 at 1:23 PM, Andrei Chis chisvasileand...@gmail.com
wrote:

 Hi,

 There are GLMPharoMethodPresentation and GLMPharoPlaygroundPresentation
 that are supposed to be used to replace GLMPluggableTextMorph.

 Cheers,
 Andrei

 On Wed, Aug 5, 2015 at 1:12 PM, stepharo steph...@free.fr wrote:

 Hi GLM people

 it would be cool if you could if you could migrate GLMPluggableTextMorph
 to use Rubric.

 Stef





-- 
www.tudorgirba.com

Every thing has its own flow


Re: [Pharo-dev] [Pharo5] Update #200!

2015-08-05 Thread Christophe Demarey

Le 5 août 2015 à 12:45, Dimitris Chloupis a écrit :

 Dont know why but all your mails go directly to my spam folder and I am using 
 Gmail. Anyone else has the same issue ? 

Maybe related to https://plus.google.com/+LinusTorvalds/posts/DiG9qANf5PA

smime.p7s
Description: S/MIME cryptographic signature


Re: [Pharo-dev] [Pharo5] Update #200!

2015-08-05 Thread Dimitris Chloupis
thanks Phil I have done so. So should be ok from now on

Well in my case it has been worse than Linus case where he found 30% false
positive in my spam folder I had around 20 mails, most from Marcus only 2
were actual spam, so in my case was a 90% :D

I have to agree with Linus Gmail spam filter is kinda disappointing to say
the least. I will regularly check out my spam folder from now on.

On Wed, Aug 5, 2015 at 3:12 PM Christophe Demarey 
christophe.dema...@inria.fr wrote:


 Le 5 août 2015 à 12:45, Dimitris Chloupis a écrit :

  Dont know why but all your mails go directly to my spam folder and I am
 using Gmail. Anyone else has the same issue ?

 Maybe related to https://plus.google.com/+LinusTorvalds/posts/DiG9qANf5PA


Re: [Pharo-dev] [Pharo5] Update #200!

2015-08-05 Thread Peter Uhnák
I've experienced this when the new spam filtering was introduced last
month, but ever since then it seems it has learned.

Peter

On Wed, Aug 5, 2015 at 2:19 PM, Dimitris Chloupis kilon.al...@gmail.com
wrote:

 thanks Phil I have done so. So should be ok from now on

 Well in my case it has been worse than Linus case where he found 30% false
 positive in my spam folder I had around 20 mails, most from Marcus only 2
 were actual spam, so in my case was a 90% :D

 I have to agree with Linus Gmail spam filter is kinda disappointing to say
 the least. I will regularly check out my spam folder from now on.

 On Wed, Aug 5, 2015 at 3:12 PM Christophe Demarey 
 christophe.dema...@inria.fr wrote:


 Le 5 août 2015 à 12:45, Dimitris Chloupis a écrit :

  Dont know why but all your mails go directly to my spam folder and I am
 using Gmail. Anyone else has the same issue ?

 Maybe related to https://plus.google.com/+LinusTorvalds/posts/DiG9qANf5PA




[Pharo-dev] [pharo-project/pharo-core] 8c0186: 50208

2015-08-05 Thread GitHub
  Branch: refs/heads/5.0
  Home:   https://github.com/pharo-project/pharo-core
  Commit: 8c01865d706ec814e34860216fc1da163267ebdc
  
https://github.com/pharo-project/pharo-core/commit/8c01865d706ec814e34860216fc1da163267ebdc
  Author: Jenkins Build Server bo...@pharo-project.org
  Date:   2015-08-05 (Wed, 05 Aug 2015)

  Changed paths:
A Nautilus-GroupManager.package/AGroupContentHasBeenModified.class/README.md
A 
Nautilus-GroupManager.package/AGroupContentHasBeenModified.class/definition.st
R Nautilus-GroupManager.package/AbstractGroup.class/README.md
R Nautilus-GroupManager.package/AbstractGroup.class/class/instance 
creation/cleanUp.st
R Nautilus-GroupManager.package/AbstractGroup.class/class/instance 
creation/named_.st
R Nautilus-GroupManager.package/AbstractGroup.class/class/instance 
creation/new.st
R Nautilus-GroupManager.package/AbstractGroup.class/class/instance 
creation/unsubscribeExistingGroups.st
R Nautilus-GroupManager.package/AbstractGroup.class/definition.st
R 
Nautilus-GroupManager.package/AbstractGroup.class/instance/accessing/beReadOnly.st
R 
Nautilus-GroupManager.package/AbstractGroup.class/instance/accessing/elements.st
R 
Nautilus-GroupManager.package/AbstractGroup.class/instance/accessing/isFillable.st
R 
Nautilus-GroupManager.package/AbstractGroup.class/instance/accessing/isFillable_.st
R 
Nautilus-GroupManager.package/AbstractGroup.class/instance/accessing/name.st
R 
Nautilus-GroupManager.package/AbstractGroup.class/instance/accessing/name_.st
R 
Nautilus-GroupManager.package/AbstractGroup.class/instance/accessing/removable_.st
R Nautilus-GroupManager.package/AbstractGroup.class/instance/announcements 
registration/registerToAnnouncements.st
R Nautilus-GroupManager.package/AbstractGroup.class/instance/announcements 
registration/registerToClassAnnouncements.st
R Nautilus-GroupManager.package/AbstractGroup.class/instance/announcements 
registration/registerToMethodAnnouncements.st
R 
Nautilus-GroupManager.package/AbstractGroup.class/instance/announcements/classRemoved_.st
R 
Nautilus-GroupManager.package/AbstractGroup.class/instance/announcements/methodModified_.st
R 
Nautilus-GroupManager.package/AbstractGroup.class/instance/announcements/methodRemoved_.st
R 
Nautilus-GroupManager.package/AbstractGroup.class/instance/initialization/initialize.st
R 
Nautilus-GroupManager.package/AbstractGroup.class/instance/polymorphism/blocks.st
R 
Nautilus-GroupManager.package/AbstractGroup.class/instance/printing/printOn_.st
R 
Nautilus-GroupManager.package/AbstractGroup.class/instance/private/ifAllowed_.st
R 
Nautilus-GroupManager.package/AbstractGroup.class/instance/private/ifAllowed_ifNot_.st
R 
Nautilus-GroupManager.package/AbstractGroup.class/instance/private/sortBlock.st
R 
Nautilus-GroupManager.package/AbstractGroup.class/instance/private/sortBlock_.st
R 
Nautilus-GroupManager.package/AbstractGroup.class/instance/queries/classes.st
R 
Nautilus-GroupManager.package/AbstractGroup.class/instance/queries/methods.st
R 
Nautilus-GroupManager.package/AbstractGroup.class/instance/queries/methodsFor_.st
R 
Nautilus-GroupManager.package/AbstractGroup.class/instance/queries/methodsFor_categorised_.st
R 
Nautilus-GroupManager.package/AbstractGroup.class/instance/queries/packages.st
R 
Nautilus-GroupManager.package/AbstractGroup.class/instance/queries/protocolsFor_.st
R 
Nautilus-GroupManager.package/AbstractGroup.class/instance/testing/hasClassNamed_.st
R 
Nautilus-GroupManager.package/AbstractGroup.class/instance/testing/isReadOnly.st
R 
Nautilus-GroupManager.package/AbstractGroup.class/instance/testing/removable.st
R Nautilus-GroupManager.package/DynamicClassGroup.class/README.md
R Nautilus-GroupManager.package/DynamicClassGroup.class/definition.st
R 
Nautilus-GroupManager.package/DynamicClassGroup.class/instance/announcements/classRemoved_.st
R 
Nautilus-GroupManager.package/DynamicClassGroup.class/instance/announcements/methodModified_.st
R 
Nautilus-GroupManager.package/DynamicClassGroup.class/instance/announcements/methodRemoved_.st
R 
Nautilus-GroupManager.package/DynamicClassGroup.class/instance/protocol/addClasses_.st
R 
Nautilus-GroupManager.package/DynamicClassGroup.class/instance/queries/classes.st
R 
Nautilus-GroupManager.package/DynamicClassGroup.class/instance/queries/methods.st
R 
Nautilus-GroupManager.package/DynamicClassGroup.class/instance/queries/methodsFor_.st
R 
Nautilus-GroupManager.package/DynamicClassGroup.class/instance/queries/methodsFor_categorised_.st
R 
Nautilus-GroupManager.package/DynamicClassGroup.class/instance/queries/protocolsFor_.st
R 
Nautilus-GroupManager.package/DynamicClassGroup.class/instance/testing/hasClassNamed_.st
R Nautilus-GroupManager.package/DynamicGroup.class/README.md
R Nautilus-GroupManager.package/DynamicGroup.class/class/instance 

[Pharo-dev] [pharo-project/pharo-core]

2015-08-05 Thread GitHub
  Branch: refs/tags/50208
  Home:   https://github.com/pharo-project/pharo-core


[Pharo-dev] Glamour Magritte Example Broken

2015-08-05 Thread Gareth Cox

Hi all

I've tried to use GLMAnnouncingCollection and found something odd.
When you use it and its passed into a block (such as TableColumn 
computation:) it passes in the whole collection, not each item.
Change the collection to OrderedCollection and it works as expected 
(except you lose the behaviour of GLMAnnouncingCollection).
So, to find out how this is used I go to the examples provided, 
specifically Magritte presentation.

This has the following comment:

self new magritte openOn: GLMMagrittePersonExample sampleData
GLMMagrittePersonExample sampleReset
note, sampleData is *aGLMAnnouncingCollection*

This does not work as expected (or indeed how it used to).
I've looked at this before and done work with Magritte using this 
example with Diego Lont and Stephan Eggermont.

Its definitely become broken since the last time I looked at it.
Can we confirm?

Thanks
--
Gareth Cox
IT Manager/Developer
Inspired Org (PTY) Ltd
email: gar...@inspired.org mailto:gar...@inspired.org






[Pharo-dev] [pharo-project/pharo-core] 7a8afd: 50209

2015-08-05 Thread GitHub
  Branch: refs/heads/5.0
  Home:   https://github.com/pharo-project/pharo-core
  Commit: 7a8afd9f225e8ad36aae91dc64690eb662be2177
  
https://github.com/pharo-project/pharo-core/commit/7a8afd9f225e8ad36aae91dc64690eb662be2177
  Author: Jenkins Build Server bo...@pharo-project.org
  Date:   2015-08-05 (Wed, 05 Aug 2015)

  Changed paths:
M MonticelloGUI.package/MCSaveVersionDialog.class/instance/morphic 
ui/setDefaultFocus.st
M MonticelloGUI.package/MCTool.class/definition.st
A MonticelloGUI.package/MCTool.class/instance/accessing/announcer.st
M MonticelloGUI.package/MCTool.class/instance/morphic ui/textMorph_.st
M Nautilus-GroupManagerUI.package/GroupNode.class/instance/accessing/icon.st
M 
Nautilus.package/PackageTreePackageGroupNodeModel.class/instance/accessing/icon.st
R ScriptLoader50.package/ScriptLoader.class/instance/pharo - 
scripts/script50208.st
A ScriptLoader50.package/ScriptLoader.class/instance/pharo - 
scripts/script50209.st
R ScriptLoader50.package/ScriptLoader.class/instance/pharo - 
updates/update50208.st
A ScriptLoader50.package/ScriptLoader.class/instance/pharo - 
updates/update50209.st
M 
ScriptLoader50.package/ScriptLoader.class/instance/public/commentForCurrentUpdate.st

  Log Message:
  ---
  50209
16085 Removing PluugableTextMorph from MC tools
https://pharo.fogbugz.com/f/cases/16085

16092 Change package group icon 
https://pharo.fogbugz.com/f/cases/16092

http://files.pharo.org/image/50/50209.zip




Re: [Pharo-dev] Google Code Shutdown

2015-08-05 Thread Sean P. DeNigris
Tudor Girba-2 wrote
 But, we could try to mirror the SmalltalkHub repo into GitHub. I do not
 know how to do that, but if someone would like to do it, it would be
 great.

IIRC it's pretty easy. One can use GitFileTree to copy the packages from the
St repo to the GH repo. Maybe someone has a script for this already?...



-
Cheers,
Sean
--
View this message in context: 
http://forum.world.st/Google-Code-Shutdown-tp4814760p4841101.html
Sent from the Pharo Smalltalk Developers mailing list archive at Nabble.com.



Re: [Pharo-dev] GLMPluggableTextMorph - GLMRubPluggableTextMorph

2015-08-05 Thread stepharo


I guess what Stef is saying is that we should remove completely the 
PluggableTextMorph, which is something we can safely do now.


Yes because we are removing all use of PluggableTextMorph and subclasses
and this is already a lot of work.


Cheers,
Doru

On Wed, Aug 5, 2015 at 1:23 PM, Andrei Chis 
chisvasileand...@gmail.com mailto:chisvasileand...@gmail.com wrote:


Hi,

There are GLMPharoMethodPresentation
and GLMPharoPlaygroundPresentation that are supposed to be used to
replace GLMPluggableTextMorph.

Cheers,
Andrei

On Wed, Aug 5, 2015 at 1:12 PM, stepharo steph...@free.fr
mailto:steph...@free.fr wrote:

Hi GLM people

it would be cool if you could if you could migrate
GLMPluggableTextMorph to use Rubric.

Stef





--
www.tudorgirba.com http://www.tudorgirba.com

Every thing has its own flow




Re: [Pharo-dev] line endings

2015-08-05 Thread Levente Uzonyi

On Wed, 5 Aug 2015, Sean P. DeNigris wrote:


stepharo wrote

Le 4/8/15 12:09, Sven Van Caekenberghe a écrit :

We should indeed consider doing it, I believe Cuis has done the same.


+1. It's a pain to have e.g. fileouts in vim squished into one massive line
with special characters displayed.


It is but :e ++ff=mac helps.

Levente




stepharo wrote

But we should finish all the change we started :)


+1 also :)



-
Cheers,
Sean
--
View this message in context: 
http://forum.world.st/line-endings-tp4840829p4841106.html
Sent from the Pharo Smalltalk Developers mailing list archive at Nabble.com.



Re: [Pharo-dev] line endings

2015-08-05 Thread stepharo



We should indeed consider doing it, I believe Cuis has done the same.

+1. It's a pain to have e.g. fileouts in vim squished into one massive line
with special characters displayed.


stepharo wrote

But we should finish all the change we started :)

+1 also :)


now if one guy or a bunch of guys send us code then we will integrate it :)





Re: [Pharo-dev] Multiple syntax support in Pharo

2015-08-05 Thread Alain Rastoul

Hi Clement

I think your idea is very interesting under several perspectives, and 
not crazy at all .


Do you have a particular language or project in mind or is it a general 
question ?


Apart of what has been said by others (agree with everything - and I 
didn't know Helvetia, it looks great),

it could be a great  opening for Pharo, very appealing to lot of developers.
IMHO it could be extremely interesting to have Javascript or Groovy 
language support integrated,
Those languages are often used as base scripting systems in various 
tools plus they have lot of users.
(about tools, JS in browsers, nodejs and mongo, Groovy in Gradle, JMeter 
and ElasticSearch,

firsts that came in my mind).
Plus Pivotal stopped Groovy development funding few month ago, however, 
most of them use java interop,

may be a problem?
That may be one of the biggest problem : not the language and the 
compiler but the libraries,

base classes it relies upon and it's semantic.
And as Jan said, targeting for a particular system means a compatibility 
level ,

and myriad of  little details ... that are very importants

About semantics -and just for fun -  let's talk about  ruby
and javascript
https://www.destroyallsoftware.com/talks/wat
:)


Regards,

Alain




[Pharo-dev] Help for #fullscreen window

2015-08-05 Thread Jigyasa Grover
Hi !
I am using *WidgetExamples exampleBuilder* to make an accordion widget. I
open a model *newPluggableWindow* in it, and would like it to be a
fullscreen entity.
I have tried all the methods, *#fullscreen *and *#extent* but in vain. It
would be great if anyone could help.

The code snippet is as :

*printSearchResults*

*self open. *
*SearchQuick searchQuick: self myString. *
*builder := WidgetExamples exampleBuilder.*
*dialog := (builder newPluggableDialogWindow: 'SEARCH  RESULTS  FOR  ',
myString , '  ').*
*searchResultsAccordion :=  dialog contentMorph:*
*(*
*   dialog newColumn: { *
*dialog newColumn: *
*  (*
*   SearchQuick myResult collect: [ :r |*
*  dialog newRow: {*
*  (*
*(*
* dialog newExpander: r title asString*
*  forAll: { *
* (  dialog newTextEditorFor: (  ValueHolder new contents: r content
asString   )*
*  getText: #contents setText: #contents:  )minHeight: 150.*
*  }*
*  )minWidth:750; minHeight: 10*
*   )*
*  cellInset: 0;*
*  borderStyle: (BorderStyle inset baseColor: dialog paneColor; width: 1)*
*   } *
* ]*
* ) .*
* backBtn := dialog newButtonFor: self action: #backButtonClicked label:
'Back' help: 'Back'.*
* backBtn extent: 750@30.*
* }*
* ); minWidth: World extent x; minHeight: World extent y;*

*  model: nil.*
* searchResultsAccordion position: 0@0.*
* searchResultsAccordion extent: World extent.*
* searchResultsAccordion width: World extent x.*
* searchResultsAccordion height: World extent y.*
*builder newScrollPaneFor: searchResultsAccordion.*
* dialog position: 0@0.*
* dialog  extent: World extent.*
*  builder openModal: dialog.*
* dialog newScrollPaneFor: searchResultsAccordion .*


Regards
Jigyasa


Re: [Pharo-dev] Google Code Shutdown

2015-08-05 Thread Esteban Lorenzano
I use this to keep my VMMaker mirror (as shown in 
https://ci.inria.fr/pharo/view/5.0-VM-Spur/job/Spur-VMMaker-Tracker/configure 
https://ci.inria.fr/pharo/view/5.0-VM-Spur/job/Spur-VMMaker-Tracker/configure):
 


set -e 

eval `ssh-agent`
ssh-add $HOME/.ssh/id_rsa_estebanlm

PACKAGES='VMMaker.oscog'
REPOSITORY=cog

# Clone
git clone -b spur64 g...@github.com:estebanlm/pharo-vm.git $REPOSITORY
cd $REPOSITORY
git config --local user.email esteba...@gmail.com
git config --local user.name Esteban Lorenzano
cd -


# Get Pharo (and prepare it)
wget -O- get.pharo.org/50+vm | bash
./pharo Pharo.image get OSProcess

# Execute sync script
./pharo Pharo.image eval 
| origin destination |

origin := (MCHttpRepository location: 'http://source.squeak.org/VMMaker')
instVarNamed: 'cacheFileNames' put: true;
yourself.
destination := MCFileTreeRepository new
directory: '$REPOSITORY/mc' asFileReference ensureCreateDirectory;
instVarNamed: 'cacheFileNames' put: true;
yourself.
 
#($PACKAGES) do: [ :eachPackageName | 
| infoOrigin infoDest versionNumber newer |

VTermOutputDriver stdout black: 'Updating ', eachPackageName; lf. 

infoOrigin := origin versionInfoFromVersionNamed: eachPackageName.
infoDest := destination versionInfoFromVersionNamed: eachPackageName.
versionNumber := infoDest versionNumber.

newer := (({infoOrigin}, (infoOrigin allAncestors)) 
select: [ :each | 
each versionNumber  versionNumber
or: [ 
each versionNumber = versionNumber 
and: [ each id ~= infoDest id ] ] ])
sorted: [ :a :b | a timeStamp  b timeStamp ].

newer do: [ :each | | summary |
[
VTermOutputDriver stdout green: ('New version: ', each 
name); lf.

VTermOutputDriver stdout  'Store '  each name  ' 
in '  destination description; cr.
destination storeVersion: (origin versionFromFileNamed: 
(each name, '.mcz')).

VTermOutputDriver stdout  'Commit '  each name; cr.
summary := each summary copyReplaceTokens: String cr 
with: String crlf.
OSProcess waitForCommand: '(cd $REPOSITORY; git add -A 
; git commit -m \', summary, '\)' ]
on: Error do: [ :e | 
VTermOutputDriver stdout yellow: ('Warning: ', e 
messageText); lf ] ] ].

VTermOutputDriver stdout  'OK'; cr.


cd $REPOSITORY
git push --force origin spur64
git branch --verbose
cd -

 On 05 Aug 2015, at 16:54, Sean P. DeNigris s...@clipperadams.com wrote:
 
 Tudor Girba-2 wrote
 But, we could try to mirror the SmalltalkHub repo into GitHub. I do not
 know how to do that, but if someone would like to do it, it would be
 great.
 
 IIRC it's pretty easy. One can use GitFileTree to copy the packages from the
 St repo to the GH repo. Maybe someone has a script for this already?...
 
 
 
 -
 Cheers,
 Sean
 --
 View this message in context: 
 http://forum.world.st/Google-Code-Shutdown-tp4814760p4841101.html
 Sent from the Pharo Smalltalk Developers mailing list archive at Nabble.com.
 



Re: [Pharo-dev] Google Code Shutdown

2015-08-05 Thread Esteban Lorenzano
Some explanation: 

- clone gut version into REPOSITORY
- it will iterate list of PACKAGES and for each new version, will flush to disk 
and commit it with same commit message as monticello commit (so I can query 
messages without digging in mcz info)
- it will do a push at the end 

I suppose it can be easily adapted to your needs :)

Esteban

 On 05 Aug 2015, at 17:37, Esteban Lorenzano esteba...@gmail.com wrote:
 
 I use this to keep my VMMaker mirror (as shown in 
 https://ci.inria.fr/pharo/view/5.0-VM-Spur/job/Spur-VMMaker-Tracker/configure 
 https://ci.inria.fr/pharo/view/5.0-VM-Spur/job/Spur-VMMaker-Tracker/configure):
  
 
 
 set -e 
 
 eval `ssh-agent`
 ssh-add $HOME/.ssh/id_rsa_estebanlm
 
 PACKAGES='VMMaker.oscog'
 REPOSITORY=cog
 
 # Clone
 git clone -b spur64 g...@github.com:estebanlm/pharo-vm.git $REPOSITORY
 cd $REPOSITORY
 git config --local user.email esteba...@gmail.com 
 mailto:esteba...@gmail.com
 git config --local user.name Esteban Lorenzano
 cd -
 
 
 # Get Pharo (and prepare it)
 wget -O- get.pharo.org/50+vm http://get.pharo.org/50+vm | bash
 ./pharo Pharo.image get OSProcess
 
 # Execute sync script
 ./pharo Pharo.image eval 
 | origin destination |
 
 origin := (MCHttpRepository location: 'http://source.squeak.org/VMMaker' 
 http://source.squeak.org/VMMaker')
   instVarNamed: 'cacheFileNames' put: true;
   yourself.
 destination := MCFileTreeRepository new
   directory: '$REPOSITORY/mc' asFileReference ensureCreateDirectory;
   instVarNamed: 'cacheFileNames' put: true;
   yourself.
  
 #($PACKAGES) do: [ :eachPackageName | 
   | infoOrigin infoDest versionNumber newer |
   
   VTermOutputDriver stdout black: 'Updating ', eachPackageName; lf. 
   
   infoOrigin := origin versionInfoFromVersionNamed: eachPackageName.
   infoDest := destination versionInfoFromVersionNamed: eachPackageName.
   versionNumber := infoDest versionNumber.
   
   newer := (({infoOrigin}, (infoOrigin allAncestors)) 
   select: [ :each | 
   each versionNumber  versionNumber
   or: [ 
   each versionNumber = versionNumber 
   and: [ each id ~= infoDest id ] ] ])
   sorted: [ :a :b | a timeStamp  b timeStamp ].
   
   newer do: [ :each | | summary |
   [
   VTermOutputDriver stdout green: ('New version: ', each 
 name); lf.
   
   VTermOutputDriver stdout  'Store '  each name  ' 
 in '  destination description; cr.
   destination storeVersion: (origin versionFromFileNamed: 
 (each name, '.mcz')).
   
   VTermOutputDriver stdout  'Commit '  each name; cr.
   summary := each summary copyReplaceTokens: String cr 
 with: String crlf.
   OSProcess waitForCommand: '(cd $REPOSITORY; git add -A 
 ; git commit -m \', summary, '\)' ]
   on: Error do: [ :e | 
   VTermOutputDriver stdout yellow: ('Warning: ', e 
 messageText); lf ] ] ].
 
 VTermOutputDriver stdout  'OK'; cr.
 
 
 cd $REPOSITORY
 git push --force origin spur64
 git branch --verbose
 cd -
 
 On 05 Aug 2015, at 16:54, Sean P. DeNigris s...@clipperadams.com 
 mailto:s...@clipperadams.com wrote:
 
 Tudor Girba-2 wrote
 But, we could try to mirror the SmalltalkHub repo into GitHub. I do not
 know how to do that, but if someone would like to do it, it would be
 great.
 
 IIRC it's pretty easy. One can use GitFileTree to copy the packages from the
 St repo to the GH repo. Maybe someone has a script for this already?...
 
 
 
 -
 Cheers,
 Sean
 --
 View this message in context: 
 http://forum.world.st/Google-Code-Shutdown-tp4814760p4841101.html 
 http://forum.world.st/Google-Code-Shutdown-tp4814760p4841101.html
 Sent from the Pharo Smalltalk Developers mailing list archive at Nabble.com 
 http://nabble.com/.
 
 



Re: [Pharo-dev] line endings

2015-08-05 Thread Sean P. DeNigris
Levente Uzonyi-2 wrote
 It is but :e ++ff=mac helps.

I usually use the baffling `:%s/\r/\r/g`



-
Cheers,
Sean
--
View this message in context: 
http://forum.world.st/line-endings-tp4840829p4841123.html
Sent from the Pharo Smalltalk Developers mailing list archive at Nabble.com.



Re: [Pharo-dev] Multiple syntax support in Pharo

2015-08-05 Thread Alain Rastoul

addendum:
Some times ago, I played a bit with a cool Prolog implementation in Squeak

IIRC, it had some features you are looking for: IDE integration, 
compiler, runtime and semantics.
I'm not sure it is this one, it was several years ago, but googling a 
bit I found

http://map.squeak.org/package/cb6c7afe-d517-470f-8857-d764ef321725
http://www.zogotounga.net/comp/squeak/prolog.htm
owner MarkusDenker, ... mmm I think I've already seen that name ? ... ;)
may be worth have a look too.

And of course there is Newspeak (way cool too), I think Eliot is 
maintaining the vm  (?) and  may be you could have some support from him?


Regards,

Alain




Re: [Pharo-dev] line endings

2015-08-05 Thread Richard Sargent
VisualWorks uses CR. I suspect that is because the original Smalltalk-80 did
so. (I don't know what Squeak does. Is it CR, too?)




--
View this message in context: 
http://forum.world.st/line-endings-tp4840829p4841133.html
Sent from the Pharo Smalltalk Developers mailing list archive at Nabble.com.



Re: [Pharo-dev] [Pharo-users] Modern Events Touch and Gestures in Pharo.

2015-08-05 Thread Ben Coman
Will touch events framework move us away from simulating mouse
scrollwheel using keyboard events, making these such issues
redundant...
https://pharo.fogbugz.com/default.asp?5296
?
cheers -ben

On Thu, Jul 2, 2015 at 6:33 AM, Merwan Ouddane merwanoudd...@gmail.com wrote:
 On 30/06/2015 22:35, J.F. Rick wrote:

 Awesome! There's a reasonable chance that I can contribute to this (or at
 least utilize it), depending on what contracts I get. If I do get that in
 the near future, who do I contact about contributing?

 I will maintain it for a while, if you have any suggestions or questions,
 don't hesitate :)


 Cheers,

 Jeff

 On Tue, Jun 30, 2015 at 1:18 PM stepharo steph...@free.fr wrote:

 Thanks Thales for the sponsoring.

 https://youtu.be/eNrbH8A5nyY

 Stef and the rmod team





Re: [Pharo-dev] line endings

2015-08-05 Thread Norbert Hartl

 Am 05.08.2015 um 17:47 schrieb Sean P. DeNigris s...@clipperadams.com:
 
 Levente Uzonyi-2 wrote
 It is but :e ++ff=mac helps.
 
 I usually use the baffling `:%s/\r/\r/g`
 
I think you leave off the leading g

I use :%s/ctrl-v/ctrl-v/

But annoying, yes.

Norbert
 
 
 -
 Cheers,
 Sean
 --
 View this message in context: 
 http://forum.world.st/line-endings-tp4840829p4841123.html
 Sent from the Pharo Smalltalk Developers mailing list archive at Nabble.com.
 




Re: [Pharo-dev] [Pharo-users] Help for #fullscreen window

2015-08-05 Thread Thierry Goubier
Hi jigyasa,

You have an openFullScreen method somewhere, which really opens full screen
(and makes it hard to close;) ).

Thierry
Le 5 août 2015 5:30 PM, Jigyasa Grover grover.jigya...@gmail.com a
écrit :

 Hi !
 I am using *WidgetExamples exampleBuilder* to make an accordion widget. I
 open a model *newPluggableWindow* in it, and would like it to be a
 fullscreen entity.
 I have tried all the methods, *#fullscreen *and *#extent* but in vain. It
 would be great if anyone could help.

 The code snippet is as :

 *printSearchResults*

 *self open. *
 *SearchQuick searchQuick: self myString. *
 *builder := WidgetExamples exampleBuilder.*
 *dialog := (builder newPluggableDialogWindow: 'SEARCH  RESULTS  FOR  ',
 myString , '  ').*
 *searchResultsAccordion :=  dialog contentMorph:*
 *(*
 *   dialog newColumn: { *
 *dialog newColumn: *
 *  (*
 *   SearchQuick myResult collect: [ :r |*
 *  dialog newRow: {*
 *  (*
 *(*
 * dialog newExpander: r title asString*
 *  forAll: { *
 * (  dialog newTextEditorFor: (  ValueHolder new contents: r content
 asString   )*
 *  getText: #contents setText: #contents:  )minHeight: 150.*
 *  }*
 *  )minWidth:750; minHeight: 10*
 *   )*
 *  cellInset: 0;*
 *  borderStyle: (BorderStyle inset baseColor: dialog paneColor; width: 1)*
 *   } *
 * ]*
 * ) .*
 * backBtn := dialog newButtonFor: self action: #backButtonClicked label:
 'Back' help: 'Back'.*
 * backBtn extent: 750@30.*
 * }*
 * ); minWidth: World extent x; minHeight: World extent y;*

 *  model: nil.*
 * searchResultsAccordion position: 0@0.*
 * searchResultsAccordion extent: World extent.*
 * searchResultsAccordion width: World extent x.*
 * searchResultsAccordion height: World extent y.*
 *builder newScrollPaneFor: searchResultsAccordion.*
 * dialog position: 0@0.*
 * dialog  extent: World extent.*
 *  builder openModal: dialog.*
 * dialog newScrollPaneFor: searchResultsAccordion .*


 Regards
 Jigyasa



Re: [Pharo-dev] [Pharo-users] Modern Events Touch and Gestures in Pharo.

2015-08-05 Thread stepharo



Le 5/8/15 19:00, Ben Coman a écrit :

Will touch events framework move us away from simulating mouse
scrollwheel using keyboard events, making these such issues
redundant...


We hope.
The idea is to get away from the past :)

Stef


https://pharo.fogbugz.com/default.asp?5296
?
cheers -ben

On Thu, Jul 2, 2015 at 6:33 AM, Merwan Ouddane merwanoudd...@gmail.com wrote:

On 30/06/2015 22:35, J.F. Rick wrote:

Awesome! There's a reasonable chance that I can contribute to this (or at
least utilize it), depending on what contracts I get. If I do get that in
the near future, who do I contact about contributing?

I will maintain it for a while, if you have any suggestions or questions,
don't hesitate :)


Cheers,

Jeff

On Tue, Jun 30, 2015 at 1:18 PM stepharo steph...@free.fr wrote:

Thanks Thales for the sponsoring.

https://youtu.be/eNrbH8A5nyY

Stef and the rmod team