Re: [Pharo-dev] XMLParser changes

2016-04-27 Thread stepharo
Hi guys I did not understand where are the spaces? Can you show me? Stef (XMLDOMParser parse: ' ') elements first nodes With the release 2.7.4 we get 2 nodes but in release 2.7.6 we get 5 nodes. The 2 previous ones and 3 emp

Re: [Pharo-dev] XMLParser changes

2016-04-27 Thread Norbert Hartl
Stef, if you have foo and then you indent it foo you insert after a newline and spaces or tabs as well as after . In this case the whitespace between and is valid but ignorable. Norbert > Am 27.04.2016 um 09:12 schrieb stepharo : > > Hi guys > > > I did not understand where are

Re: [Pharo-dev] Mocketry names again

2016-04-27 Thread Denis Kudriashov
2016-04-27 0:33 GMT+02:00 Carlos Lombardi : > ... maybe > > #result should beTheResultOf: [mock someMessage]. > #result should not beTheResultOf: [mock anotherMessage]. > It's nice.I think "The" can be omitted: #result should beResultOf: [mock someMessage]. But anyway I use word #return becaus

Re: [Pharo-dev] XMLParser changes

2016-04-27 Thread Cyril Ferlicot Delbecque
On 27/04/2016 09:12, stepharo wrote: > Hi guys > > > I did not understand where are the spaces? > The whitespaces are the line return and tabulation (indent) for the pretty print. > Can you show me? > > Stef > -- Cyril Ferlicot http://www.synectique.eu 165 Avenue Bretagne Lille 59000 F

Re: [Pharo-dev] Logging API discussion

2016-04-27 Thread Norbert Hartl
Denis, > Am 26.04.2016 um 17:28 schrieb Denis Kudriashov : > > Hi Tudor. > > 2016-04-26 15:36 GMT+02:00 Tudor Girba >: > > > Let's think about logging API to log any object in the system. Most natural > > way is just send message #log to object itself: > > > > anO

[Pharo-dev] [pharo-project/pharo-core] 2a4187: 50723

2016-04-27 Thread GitHub
Branch: refs/heads/5.0 Home: https://github.com/pharo-project/pharo-core Commit: 2a4187f4040254cb31d2fc7b5f2f4158a9a296e1 https://github.com/pharo-project/pharo-core/commit/2a4187f4040254cb31d2fc7b5f2f4158a9a296e1 Author: Jenkins Build Server Date: 2016-04-27 (Wed, 27 Apr 2016

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

2016-04-27 Thread GitHub
Branch: refs/tags/50723 Home: https://github.com/pharo-project/pharo-core

Re: [Pharo-dev] Logging API discussion

2016-04-27 Thread Denis Kudriashov
Hi Norbert 2016-04-27 10:43 GMT+02:00 Norbert Hartl : > So assuming the Log class would not contain log levels but SysLog would do > you could easily override #logClass in your domain object and use it this > way > > MyDomainClass class>>#logClass > ^ SysLog > > myDomainObject asLog > warning; >

Re: [Pharo-dev] Logging API discussion

2016-04-27 Thread Denis Kudriashov
2016-04-27 10:43 GMT+02:00 Norbert Hartl : > I must confess I cannot follow you completely. What we were/are talking > about is that the assumption a logging entry needs timestamp, log level and > such is not appropriate. If you have legacy syslog style logging in mind it > appears natural but for

Re: [Pharo-dev] Logging API discussion

2016-04-27 Thread Denis Kudriashov
2016-04-27 14:16 GMT+02:00 Denis Kudriashov : > My problem with such approach is that it forces me to create hierarchy of > log events as subclasses of base log component. > Imaging that my application already provide hierarchy of events but they > have no timestamps. How to log them? Should I use

Re: [Pharo-dev] Logging API discussion

2016-04-27 Thread Robert Withers
I'd like to mention my TraceEvent and TraceMonitor classes, again, as it supports most of what you guys are talking about. I believe I have resolved my package naming, so you can find these classes in the SqueakSource's Cryptography repository in the OCapPresents package. TraceEvent is a singl

[Pharo-dev] [HELP WANTED] Getting ready for Pharo 5.0 release (CentOS, oldLibC, Nix, ArchLinux, and others)

2016-04-27 Thread Esteban Lorenzano
Hi, I’m trying to get ready the download page for Pharo 5.0… who should happen next monday :) So, I create a download page: http://pharo.org/download-50 and one for linux: http://pharo.org/gnu-linux-installation-50 For linux, I made linux general centos oldLibC but 1) I cannot test them

Re: [Pharo-dev] [HELP WANTED] Getting ready for Pharo 5.0 release (CentOS, oldLibC, Nix, ArchLinux, and others)

2016-04-27 Thread Damien Cassou
Esteban Lorenzano writes: > - ubuntu ppa the ubuntu ppa package is Pharo 4 only as of now > - Nix in nix we have both pharo 4 and pharo 5 VMs. I use both everyday. -- Damien Cassou http://damiencassou.seasidehosting.st "Success is the ability to go from one failure to another without losing

Re: [Pharo-dev] [HELP WANTED] Getting ready for Pharo 5.0 release (CentOS, oldLibC, Nix, ArchLinux, and others)

2016-04-27 Thread Esteban Lorenzano
> On 27 Apr 2016, at 15:31, Damien Cassou wrote: > > Esteban Lorenzano writes: > >> - ubuntu ppa > > the ubuntu ppa package is Pharo 4 only as of now it shouldn’t :) > >> - Nix > > in nix we have both pharo 4 and pharo 5 VMs. I use both everyday. cool :) > > -- > Damien Cassou > http:

[Pharo-dev] Happy with Pharo 5.0 release!

2016-04-27 Thread Mariano Martinez Peck
Hi guys, This is just to let you know I am very happy with Pharo 5.0 upcoming release. I was already used quite a lot for other projects (OSSubprocess etc), but a couple of days ago, I started to develop my client's app (Quuve) and so far so great. It only took me an hour or so to update all my de

Re: [Pharo-dev] [HELP WANTED] Getting ready for Pharo 5.0 release (CentOS, oldLibC, Nix, ArchLinux, and others)

2016-04-27 Thread philippe.b...@highoctane.be
Will do the CentOS 6 thing. And give a shot at CentOS 7. That one may take longer. Phil On Apr 27, 2016 3:26 PM, "Esteban Lorenzano" wrote: > Hi, > > I’m trying to get ready the download page for Pharo 5.0… who should happen > next monday :) > So, I create a download page: > > http://pharo.org/d

Re: [Pharo-dev] [HELP WANTED] Pre-release "First impressions count" round starting

2016-04-27 Thread Hilaire
I guess you can look at my notes I sent previously. It belongs to "First impressions count" category. Hilaire Le 19/04/2016 15:25, Esteban Lorenzano a écrit : > I will start the “first impressions count” round for this release. > For those who don’t know what I’m talking about, is a small cycle

Re: [Pharo-dev] [HELP WANTED] Getting ready for Pharo 5.0 release (CentOS, oldLibC, Nix, ArchLinux, and others)

2016-04-27 Thread Esteban Lorenzano
> On 27 Apr 2016, at 16:15, philippe.b...@highoctane.be > wrote: > > Will do the CentOS 6 thing. > I replicated the jobs that were creating centos vms (I think that’s for 6)… if you can try those, it would be cool :) Esteban > And give a shot at CentOS 7. That one may take longer. > > Phi

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

2016-04-27 Thread GitHub
Branch: refs/tags/50724 Home: https://github.com/pharo-project/pharo-core

[Pharo-dev] [pharo-project/pharo-core] 6abd66: 50724

2016-04-27 Thread GitHub
Branch: refs/heads/5.0 Home: https://github.com/pharo-project/pharo-core Commit: 6abd6627cf05cd6b0c99d71e58100a8763fcd309 https://github.com/pharo-project/pharo-core/commit/6abd6627cf05cd6b0c99d71e58100a8763fcd309 Author: Jenkins Build Server Date: 2016-04-27 (Wed, 27 Apr 2016

Re: [Pharo-dev] Logging API discussion

2016-04-27 Thread Tudor Girba
Hi, > On Apr 27, 2016, at 10:43 AM, Norbert Hartl wrote: > > Denis, > >> Am 26.04.2016 um 17:28 schrieb Denis Kudriashov : >> >> Hi Tudor. >> >> 2016-04-26 15:36 GMT+02:00 Tudor Girba : >> >> > Let's think about logging API to log any object in the system. Most >> > natural way is just se

[Pharo-dev] Command Line Arguments

2016-04-27 Thread blake watson
Hi-- I've seen this come up several times (and it's in "Deep") but I can't seem to actually make Command Line Arguments work. If I do (this is under Windows, but I set up a fresh Linux just to ensure it wasn't a Windows quirk): Pharo.exe Pharo4.0image 99 Pharo comes up with "Command line handle

Re: [Pharo-dev] [Pharo 5] Gettext

2016-04-27 Thread stepharo
Hi hilaire Do you have some examples/doc/text how you do the internationalisation in DrGeo because I will start to need that? Stef Le 25/4/16 à 12:20, Hilaire a écrit : I open a new topic. It looks there are some issues with Gettext. I saw Johan is working on it, may be he can tell us a b

[Pharo-dev] Maintainer of pharo-contribution/job/PharoBookWorkInProgress CI

2016-04-27 Thread Esteban A. Maringolo
Hi, Who is the maintainer of PharoBookWorkInProgress contribution job? It is failing since several builds ago, and apparently it has to do with a missing font in the LaTeX to PDF conversion. https://ci.inria.fr/pharo-contribution/job/PharoBookWorkInProgress/ Regards! Esteban A. Maringolo

Re: [Pharo-dev] Command Line Arguments

2016-04-27 Thread philippe.b...@highoctane.be
there should be a handler name in there. Like in pharo-ui Pharo.image st somefile.st st is the handler. as is eval or config or your own. Check subclasses of CommandLineHandler including class side. Phil On Apr 27, 2016 6:50 PM, "blake watson" wrote: > Hi-- > > I've seen this come up several

Re: [Pharo-dev] Happy with Pharo 5.0 release!

2016-04-27 Thread stepharo
Thanks mariano But it is not out yet :) And yes this is great to see all the good energy that went into Pharo 50. Stef Le 27/4/16 à 16:09, Mariano Martinez Peck a écrit : Hi guys, This is just to let you know I am very happy with Pharo 5.0 upcoming release. I was already used quite a lot for

Re: [Pharo-dev] Logging API discussion

2016-04-27 Thread stepharo
what I can tell you is that I do not like the API I did for extending Log in SystemLogger. I will try to read your long email. Now I have the impression that wrapping an object in the log could be a way to offer extensibility. Le 26/4/16 à 15:26, Denis Kudriashov a écrit : Hello. I resume

Re: [Pharo-dev] Logging API discussion

2016-04-27 Thread stepharo
This type of usage should be discouraged in my opinion. We should instead encourage people to use typed logging signals, like we should also discourage people from using self error: ‘a magic string here’. > But when we log some information we usually want to log it

Re: [Pharo-dev] Command Line Arguments

2016-04-27 Thread Esteban Lorenzano
pharo Pharo.image --list will give you the command lines available, then pharo Pharo.image aCommand --help will give you the subcommands possible in your case, you want something like this: pharo Pharo.image eval “99 factorial” cheers, Esteban ps: this questions are more for the pharo

Re: [Pharo-dev] Logging API discussion

2016-04-27 Thread stepharo
I must confess I cannot follow you completely. What we were/are talking about is that the assumption a logging entry needs timestamp, log level and such is not appropriate. If you have legacy syslog style logging in mind it appears natural but for a lot of use cases it is not. Even if you cou

Re: [Pharo-dev] Logging API discussion

2016-04-27 Thread stepharo
Le 27/4/16 à 13:01, Denis Kudriashov a écrit : Hi Norbert 2016-04-27 10:43 GMT+02:00 Norbert Hartl >: So assuming the Log class would not contain log levels but SysLog would do you could easily override #logClass in your domain object and use it this wa

Re: [Pharo-dev] Logging API discussion

2016-04-27 Thread stepharo
Le 27/4/16 à 14:16, Denis Kudriashov a écrit : 2016-04-27 10:43 GMT+02:00 Norbert Hartl >: I must confess I cannot follow you completely. What we were/are talking about is that the assumption a logging entry needs timestamp, log level and such is not appr

[Pharo-dev] About PharoInProgress book

2016-04-27 Thread stepharo
Hi I tried to fix the build on jenkins but I failed. I do not know how to fix it. I do not know how to fix. Probably the changes in Pillar broke it. Now since Damien will quit our team, I wonder what will be the future of pillar, may be markdown and for me LaTeX Stef ./AWS.tex:40: LaTeX

Re: [Pharo-dev] About PharoInProgress book

2016-04-27 Thread Esteban A. Maringolo
I sent an email this morning about this issue, apparently it has to do with a missing font. Esteban A. Maringolo 2016-04-27 16:50 GMT-03:00 stepharo : > Hi > > I tried to fix the build on jenkins but I failed. I do not know how to fix > it. > > I do not know how to fix. Probably the changes in P

Re: [Pharo-dev] Command Line Arguments

2016-04-27 Thread blake watson
Phil, Estevan-- I think part of what confused me is that there's no printout at all under Windows, so Pharo opens and says "Yep, that worked." But there's no actual output anywhere. >>ps: this questions are more for the pharo-users list than pharo-dev :) Duly noted. For some reason, I thought th

Re: [Pharo-dev] Mocketry names again

2016-04-27 Thread Carlos Lombardi
Hi again, ok, just to have coherence between the names for the two possible outcomes of a method, you could use #beReturnedBy instead of #beReturnedFrom: . You would have #beReturnedBy: and #beRaisedBy: On Wed, Apr 27, 2016 at 10:00 AM, Denis Kudriashov wrote: > > 2016-04-27 0:33 GMT+02:00 Ca

Re: [Pharo-dev] Command Line Arguments

2016-04-27 Thread Cyril Ferlicot D.
Le 27/04/2016 22:51, blake watson a écrit : > Phil, Estevan-- > > I think part of what confused me is that there's no printout at all > under Windows, so Pharo opens and says "Yep, that worked." But there's > no actual output anywhere. Hi, This is because stdin/stdout/stderr stream does not work

[Pharo-dev] STON - a little suggestion

2016-04-27 Thread Carlos Lombardi
Hi, I want to use STON to enable the backup a graph of objects pertaining to an application. Some of the objects in this graph include, in their state, a Map that is not supported by STON. To write these objects, I would like to write via the standard procedure all the instance variables unless th

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

2016-04-27 Thread GitHub
Branch: refs/tags/50725 Home: https://github.com/pharo-project/pharo-core

[Pharo-dev] [pharo-project/pharo-core] ac14c7: 50725

2016-04-27 Thread GitHub
Branch: refs/heads/5.0 Home: https://github.com/pharo-project/pharo-core Commit: ac14c752c7e6bc68792f0363fce68a423682bb8d https://github.com/pharo-project/pharo-core/commit/ac14c752c7e6bc68792f0363fce68a423682bb8d Author: Jenkins Build Server Date: 2016-04-28 (Thu, 28 Apr 2016

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

2016-04-27 Thread GitHub
Branch: refs/tags/50726 Home: https://github.com/pharo-project/pharo-core

[Pharo-dev] [pharo-project/pharo-core] 691635: 50726

2016-04-27 Thread GitHub
Branch: refs/heads/5.0 Home: https://github.com/pharo-project/pharo-core Commit: 6916359c22b2bb246ac14e94ca25c2275b6e027e https://github.com/pharo-project/pharo-core/commit/6916359c22b2bb246ac14e94ca25c2275b6e027e Author: Jenkins Build Server Date: 2016-04-28 (Thu, 28 Apr 2016

Re: [Pharo-dev] [Pharo 5] Gettext

2016-04-27 Thread Hilaire
Here are the overall process http://pharo.gemtalksystems.com/book/LanguageAndLibraries/Localisation For Dr. Geo I have bit more to decide which font to load at start up depending on the locale (This is where Pharo5's locale refactoring break it) but you should not need it for European languages.