GitHub | 4 Aug 12:17 2015

[pharo-project/pharo-core] cdd074: 50207

  Branch: refs/heads/5.0
  Home:   https://github.com/pharo-project/pharo-core
  Commit: cdd074697c6387da1d8fb3131f025837be99bb07
      https://github.com/pharo-project/pharo-core/commit/cdd074697c6387da1d8fb3131f025837be99bb07
  Author: Jenkins Build Server <board@...>
  Date:   2015-08-04 (Tue, 04 Aug 2015)

  Changed paths:
    R AST-Core.package/BIConfigurableFormatter.class/class/accessing/basicCommentFormat.st
    R AST-Core.package/BIConfigurableFormatter.class/class/accessing/basicCommentFormat_.st
    M AST-Core.package/BIConfigurableFormatter.class/class/accessing/cascadedMessageInsideParentheses_.st
    M AST-Core.package/BIConfigurableFormatter.class/class/accessing/formatCommentWithStatements_.st
    M AST-Core.package/BIConfigurableFormatter.class/class/accessing/indentString_.st
    M AST-Core.package/BIConfigurableFormatter.class/class/accessing/indentsForKeywords_.st
    M AST-Core.package/BIConfigurableFormatter.class/class/accessing/keepBlockInMessage_.st
    M AST-Core.package/BIConfigurableFormatter.class/class/accessing/lineUpBlockBrackets_.st
    M AST-Core.package/BIConfigurableFormatter.class/class/accessing/maxLineLength_.st
    M AST-Core.package/BIConfigurableFormatter.class/class/accessing/methodSignatureOnMultipleLines_.st
    M AST-Core.package/BIConfigurableFormatter.class/class/accessing/minimumNewLinesBetweenStatements_.st
    M AST-Core.package/BIConfigurableFormatter.class/class/accessing/multiLineMessages_.st
    M AST-Core.package/BIConfigurableFormatter.class/class/accessing/newLineAfterCascade_.st
    M AST-Core.package/BIConfigurableFormatter.class/class/accessing/newLineBeforeFirstCascade_.st
    M AST-Core.package/BIConfigurableFormatter.class/class/accessing/newLineBeforeFirstKeyword_.st
    M AST-Core.package/BIConfigurableFormatter.class/class/accessing/newLinesAfterMethodComment_.st
    M AST-Core.package/BIConfigurableFormatter.class/class/accessing/newLinesAfterMethodPattern_.st
    M AST-Core.package/BIConfigurableFormatter.class/class/accessing/newLinesAfterTemporaries_.st
    M AST-Core.package/BIConfigurableFormatter.class/class/accessing/numberOfArgumentsForMultiLine_.st
    M AST-Core.package/BIConfigurableFormatter.class/class/accessing/oneLineMessages_.st
    M AST-Core.package/BIConfigurableFormatter.class/class/accessing/periodsAsTerminators_.st
    M AST-Core.package/BIConfigurableFormatter.class/class/accessing/periodsAtEndOfBlock_.st
(Continue reading)

GitHub | 4 Aug 12:17 2015

[pharo-project/pharo-core]

  Branch: refs/tags/50207
  Home:   https://github.com/pharo-project/pharo-core
Clément Bera | 4 Aug 10:08 2015
Picon

Multiple syntax support in Pharo

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 know that syntax coloring and most refactoring tools work on AST. So is it possible, for a given class, to override #parser or #parserClass class side in a similar way that you can override #compiler and #compilerClass, and from then on, the class methods will use this parser instead of RBParser to be parse its methods source code to the AST in the compilation chain and for syntax coloring (hence with full compatibility with the class browser) ?

I am talking about another syntax that would be parsed to the same AST for now, though as the compiler can be changed too, I guess a complete separate compilation chain and AST could work fine if the AST has common APIs with RB for the refactoring browser and syntax coloring.

What do you think ?
Sean P. DeNigris | 4 Aug 05:35 2015

High-Level Overviews of Available Libraries

There are some exciting chapters at SquareBrackets! In fact, there are so
many, it's difficult to put them all into context. Do we have a document
that gives some high-level tradeoffs for e.g. all the persistence options,
or all the web server options? That would be helpful...

-----
Cheers,
Sean
--
View this message in context: http://forum.world.st/High-Level-Overviews-of-Available-Libraries-tp4840876.html
Sent from the Pharo Smalltalk Developers mailing list archive at Nabble.com.

Nicolai Hess | 3 Aug 21:25 2015
Picon

wrong syntax highlighting in debugger


recent pharo 50 has wrong syntax highlighting. This is caused
by my fix for issue 15773.

I am working on that

nicolai
Peter Uhnák | 3 Aug 20:57 2015
Picon

line endings

Why does Pharo save everything with CR line endings? Literally nobody uses that.

Peter
Alexandre Bergel | 3 Aug 17:28 2015

open street map example

Hi!

Some of you have an interest in visualizing graphs on top of open street maps. 
Together with Hilaire we made a small example:

-=-=-=-=-=-=-=-=-=-=-=-=
| v map data b d whiteBackground london elementsAndEdges | 
v := RTView new.
v <at> RTDraggableView.
map := RTOSM new.
v add: map element.

"Place to set the data and center the camera"
london := 51.507222 <at> -0.1275.
    
"Some arbitrary data"
data := ((1 to: 500) collect: [ :i | 50 atRandom - 25 ]) cumsum.

"We build the graph"
b := RTGrapher new.
b extent: 100 <at> 30.
d := RTData new.
d noDot.
d connectColor: Color red.
d points: data.

b add: d.
b axisY 
labelFontHeight: 6;
color: Color red; 
    title: 'Sale'.

b axisX color: Color red; noTick; title: 'country'.
b build.
elementsAndEdges := b view elements, b view edges.

"We create a white background"
whiteBackground := (RTRoundedBox new color: Color white trans; borderRadius: 10) element.
v add: whiteBackground.
v addAll: elementsAndEdges.
RTNest new on: whiteBackground nest: elementsAndEdges.
whiteBackground translateTo: (map latLonToRoassal: london).

v canvas camera translateTo: (map latLonToRoassal: london).
v canvas camera noInitializationWhenOpen.
v canvas camera scale: 1.5.
v
-=-=-=-=-=-=-=-=-=-=-=-=

Cheers,
Alexandre
-- 
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.



Christophe Demarey | 3 Aug 16:24 2015
Picon
Picon

TestRunner>>#allSelectedTestSuites does not select tests from abstract classes

Hi,

Before opening a bug entry, I would like to know if there are situations where we do not want to select test
methods from abstract classes?
I have an example where a super class also has tests (common behavior with children) even if it is abstract.
I do not see why to restrict test methods on concrete classes.

Thanks,
Christophe

GitHub | 3 Aug 15:55 2015

[pharo-project/pharo-core] 4417a7: 50206

  Branch: refs/heads/5.0
  Home:   https://github.com/pharo-project/pharo-core
  Commit: 4417a7875a30c421fe9e3ea96a98718389d48c87
      https://github.com/pharo-project/pharo-core/commit/4417a7875a30c421fe9e3ea96a98718389d48c87
  Author: Jenkins Build Server <board@...>
  Date:   2015-08-03 (Mon, 03 Aug 2015)

  Changed paths:
    M Monticello-Tests.package/MCRepositoryTest.class/instance/tests/testCanCreateFiletreeRepositoryFromUrl.st
    R ScriptLoader50.package/ScriptLoader.class/instance/pharo - scripts/script50205.st
    A ScriptLoader50.package/ScriptLoader.class/instance/pharo - scripts/script50206.st
    R ScriptLoader50.package/ScriptLoader.class/instance/pharo - updates/update50205.st
    A ScriptLoader50.package/ScriptLoader.class/instance/pharo - updates/update50206.st
    M ScriptLoader50.package/ScriptLoader.class/instance/public/commentForCurrentUpdate.st
    M Tool-Diff.package/DiffMorph.class/instance/actions/calibrateScrollbar.st

  Log Message:
  -----------
  50206
15990 Failing tests testCanCreateFiletreeRepositoryFromUrl (on windows)
	https://pharo.fogbugz.com/f/cases/15990

16088 Fix DiffMorph when called from Komitter  
	https://pharo.fogbugz.com/f/cases/16088

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

GitHub | 3 Aug 15:55 2015

[pharo-project/pharo-core]

  Branch: refs/tags/50206
  Home:   https://github.com/pharo-project/pharo-core
Esteban Lorenzano | 3 Aug 15:21 2015
Picon

Windows users, please test!

I made a new SLICE trying to fix the FT2 crash problem windows (and I think also linux?) are experiencing… can you please merge the SLICE for: 


and test a bit… and inform any new problems? 

I’m not a windows user but I tested the solution some time in a virtual image… but we all know that’s limited :)

thanks!
Esteban



Gmane