Re: [Pharo-users] How to set the server debugger in seaside?

2016-02-04 Thread Johan Brichau
Stef,

You know you can contribute and improve it?

You should remember a bit more the talk of Kim Mackinnon in Cambridge…
This negative way of talking about work of others is not the way to get things 
done. 
I don’t think you would appreciate someone mailing this way about the Pharo 
interface.

In 3.2, the debugger exception handler is the default for development.
There is also the programmatic way of changing this:

(WAAdmin defaultDispatcher handlerAt: ‘YourApp’) exceptionHandler: 
WADebugErrorHandler

cheers
Johan

> On 04 Feb 2016, at 22:42, stepharo  wrote:
> 
> Thanks this is so inintuitive that I forget 5 min after.
> 
> Le 2/2/16 09:56, Cyril Ferlicot Delbecque a écrit :
>> On 02/02/2016 09:47, stepharo wrote:
>>> Hi guys
>>> 
>>> I hate so much this bad configuration interface of seaside.
>>> I lose all the time 20 min to find how to set the debugger.
>>> So I have to do a presentation and I cannot show the debugger.
>>> What a great wonderful experience.
>>> 
>>> How can I configure seaside to get the debugger?
>>> 
>>> Stef
>>> 
>> If I remember well on http://localhost:8080/config add a Filter. Then
>> click on «Configure» next to «WAExceptionFilter». In «Exception Handler»
>> select the debugger.
>> 
> 
> 




Re: [Pharo-users] How to set the server debugger in seaside?

2016-02-04 Thread Stephan Eggermont

On 02/02/16 09:47, stepharo wrote:

Hi guys

I hate so much this bad configuration interface of seaside.
I lose all the time 20 min to find how to set the debugger.
So I have to do a presentation and I cannot show the debugger.
What a great wonderful experience.

How can I configure seaside to get the debugger?


We've added some convenience methods for this, making it easy to deploy 
both production and development, and making it possible to make the 
application the default application.


QCApplication class>registerAt: anApplicationName
^(WAAdmin register: self asApplicationAt: anApplicationName)
preferenceAt: #sessionClass put: self sessionClass;
addLibrary: JQDeploymentLibrary;
addLibrary: JQUiDeploymentLibrary;
yourself

QCApplication class>registerForDevelopmentAt: anApplicationName
| application |
WAAdmin enableDevelopmentTools.
application := self registerAt: anApplicationName.
	application filter configuration at: #exceptionHandler put: 
WADebugErrorHandler.

(self overridesDefaults includes: WAAdmin defaultDispatcher defaultName)
ifTrue: [ WAAdmin defaultDispatcher defaultName: 
anApplicationName ].
^application

QCApplication class>registerForProductionAt: anApplicationName
| application |
application := self registerAt: anApplicationName.
WAAdmin disableDevelopmentTools.
WAAdmin defaultDispatcher defaultName: anApplicationName.
^application




Re: [Pharo-users] How to set the server debugger in seaside?

2016-02-04 Thread Cyril Ferlicot D.
Le 04/02/2016 22:42, stepharo a écrit :
> Thanks this is so inintuitive that I forget 5 min after.
> 
> 
> 

If I don't use seaside for more than a week, I need 5-10min to find it.

Maybe you can set it at the registry like:

MyComponant class>>initialize

(WAAdmin register: self asApplicationAt: 'myApp') exceptionHandler:
WADebugErrorHandler


And remove it for production.

-- 
Cyril Ferlicot

http://www.synectique.eu

165 Avenue Bretagne
Lille 59000 France



signature.asc
Description: OpenPGP digital signature


Re: [Pharo-users] How to set the server debugger in seaside?

2016-02-04 Thread stepharo

Thanks this is so inintuitive that I forget 5 min after.

Le 2/2/16 09:56, Cyril Ferlicot Delbecque a écrit :

On 02/02/2016 09:47, stepharo wrote:

Hi guys

I hate so much this bad configuration interface of seaside.
I lose all the time 20 min to find how to set the debugger.
So I have to do a presentation and I cannot show the debugger.
What a great wonderful experience.

How can I configure seaside to get the debugger?

Stef


If I remember well on http://localhost:8080/config add a Filter. Then
click on «Configure» next to «WAExceptionFilter». In «Exception Handler»
select the debugger.






[Pharo-users] Pharo mooc registration is available

2016-02-04 Thread stepharo



https://www.france-universite-numerique-mooc.fr/courses/inria/41010/session01/about?platform=hootsuite 





Re: [Pharo-users] stupid spur question

2016-02-04 Thread stepharo

Could somene take the time to propose a better class comments?

Stef


Le 2/2/16 15:11, Werner Kassens a écrit :

Hi Clement,
i see, thanks for this answer.
werner

On 02/02/2016 03:07 PM, Clément Bera wrote:

Hello,

Both classes (SmallFloat64 and BoxedFloat64) are present on 32 bits and
64 bits by default right now. The code base is common between 32 and 64
bit images. It is possible to run a 32 bit image without the class
SmallFloat64, but it is not the default behavior. There are no instances
of SmallFloat64 in 32 bits and there can't be any. There are details,
such as the SmallFloat64 class needs to be present to convert a 32 bit
image to 64 bits with the offline converter and if the code base remains
common between 32 and 64 bit images, then the specialObjectsArray will
hold a reference to SmallFloat64 which needs to be updated if one
removes the SmallFloat64 class.

For servers and desktop application it does not really make sense any
more to remove these classes in 32 bits as they represent very few kb
compared to Gb of RAM for laptops and Tb for servers. The Smalltalk
image is already much smaller than let's say, the JVM default runtime.
In addition, most computers are 64 bits now so it usually does not make
sense to release in 32 bits.

On embedded devices, one can consider deploying without classes such as
SmallFloat64 or LargeInteger to minimize the memory footprint. The
support for such feature is not very good currently, but it is getting
slowly better. It could make sense to remove such classes if you are
targeting a connected object with let's say an ARM Cortex-M4. This is
part of a larger problem which consists in making the Pharo Kernel
modular so that we can load only part of it in specific contexts to save
memory or to reduce the system capabilities.


2016-02-02 14:43 GMT+01:00 Werner Kassens mailto:wkass...@libello.com>>:

On 02/02/2016 02:30 PM, Sven Van Caekenberghe wrote:

Maybe those classes could exist in a 32-bit image as empty
subclasses of float ?

that is, what i hope 

werner










Re: [Pharo-users] Spec doc

2016-02-04 Thread stepharo

Hilaire

Spec is not at the level I would like. I feel concerned about it and sad 
as well.

Now I do not have the time to improve it.
What would be is that people provide some snippet showing their use and 
that we collect

that into the draft.

Stef

Le 4/2/16 17:42, Hilaire a écrit :

Hello

I want to evaluate the use of Spec for desktop application.

What are the recommended spec reading?

Is Spec feature complete enough to develop application with complex GUI?
(very subjective question)

Is it intended to remain compatible with future release and modification
of the underneath graphic system?

Thanks

Hilaire





Re: [Pharo-users] Spec doc

2016-02-04 Thread Stephan Eggermont

On 04-02-16 17:42, Hilaire wrote:

Hello

I want to evaluate the use of Spec for desktop application.

What are the recommended spec reading?

Is Spec feature complete enough to develop application with complex GUI?
(very subjective question)


You will probably have to encapsulate a few more Morphic classes and add 
some behaviors to the spec models. In PharoLauncher you can already see 
a few extensions and combinations. In PharoLauncher there is a single 
session called PhlCommandContext and commands that operate on that 
session. You might need to add better form layout.



Is it intended to remain compatible with future release and modification
of the underneath graphic system?


Yes.

Stephan




Re: [Pharo-users] Simple question about Spec

2016-02-04 Thread Ben Coman
On Fri, Feb 5, 2016 at 12:02 AM, Johan Fabry  wrote:
>
>> On Feb 4, 2016, at 11:26, Sven Van Caekenberghe  wrote:
>>
>>>
>>> On 04 Feb 2016, at 15:21, Johan Fabry  wrote:
>>>
>>>
>>> Yes, please do that! I would do it myself but I’m on holiday this month and 
>>> not allowed to touch the computer much ;-)
>>
>> And still you somehow managed to type this message ;-)
>
> It just shows how important Pharo is to me :-P

Is it strange that both drugs and computers are the main domains that
refer to having "users"?



Re: [Pharo-users] Spec doc

2016-02-04 Thread Johan Fabry
Hello Hilaire, 

I think a mail of Sven of last year will answer most of your questions, I quote 
it below.

In addition to that mail:
- Spec is the standard UI builder for Pharo so it is reasonably complete and 
should be supported in the future.
- The book Sven talks about is very much a work in progress, the URL for now is 
https://ci.inria.fr/pharo-contribution/view/Books/job/PharoBookWorkInProgress/lastSuccessfulBuild/artifact/book-result/Spec/

Here is the original mail by Sven:

> There is an excellent presentation by Johan Fabry did during the last Pharo 
> Days, 'Using Spec to Build a UI'. *MUST WATCH* (the video is not yet fully 
> public, but soon will be, the link should work though):
> 
>  http://youtu.be/OL23s9ZUIR0?list=PL4actYd6bfnz98ngrKALwwStl3C3odEKG
> 
> The slides are also not yet available, but soon will be (the talk is much 
> better that the slides on their own).
> 
> 
> This draft chapter 'Spec: a framework for describing user interfaces' for an 
> upcoming book:
> 
>  
> https://ci.inria.fr/pharo-contribution/view/Books/job/PharoBookWorkInProgress/lastSuccessfulBuild/artifact/Spec/Spec.pier.html
> 
> 
> Look in the image.
> 
> Browse the hierarchy below AbstractWidgetModel in the category 
> Spec-Core-Widgets in Pharo 4, look at the protocols called 'protocol' & 
> 'protocol-events' mainly. Look for references to each class. Trace senders of 
> methods until you arrive at examples. Study the examples, play with them, 
> change them.
> 
> The UI of most tools in Pharo is also implemented using Spec. Browse the 
> hierarchy below ComposableModel to find them. (Komitter, Versionner, Critics, 
> Metacello, the old Eye Inspectors, ..). Watch and learn.
> 
> 
> The cool Spec website:
> 
>  http://spec.st
> 
> 
> Read some cool articles like:
> 
> https://medium.com/concerning-pharo/rediscovering-the-ux-of-the-legendary-hp-35-scientific-pocket-calculator-d1d497ece999
> 
> See the section 'HP35CalculatorModel' for the Spec part.
> 
> 
> The following papers (some older ones refer to API that has changed):
> 
> 'Seamless Composition and Reuse of Customizable User Interfaces with Spec'
> 
>  http://rmod.lille.inria.fr/archives/papers/Ryse13a-SCICO-Spec.pdf
> 
> 'Spec - A Framework for the Specification and Reuse of UIs and their Models'
> 
>  http://rmod.lille.inria.fr/archives/papers/Ryse12b-Spec-IWST12-Final.pdf
> 
> 'Spec – Technical Report'
> 
>  http://rmod.lille.inria.fr/archives/reports/Ryse12a-SpecTechReport.pdf
> 
> 
> Use the image to build a couple of simple UIs using Spec. You will be 
> surprised to learn that it is not that difficult. Just go with the flow, 
> don't try to enforce your world view on it, wait until you are further along.


> On Feb 4, 2016, at 13:42, Hilaire  wrote:
> 
> Hello
> 
> I want to evaluate the use of Spec for desktop application.
> 
> What are the recommended spec reading?
> 
> Is Spec feature complete enough to develop application with complex GUI?
> (very subjective question)
> 
> Is it intended to remain compatible with future release and modification
> of the underneath graphic system?
> 
> Thanks
> 
> Hilaire
> -- 
> Dr. Geo
> http://drgeo.eu
> 
> 
> 



---> 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] Another question about Spec

2016-02-04 Thread Julien Delplanque

Ok, I just tried what you said and it does not always works
since it is possible to drag an item from the list without selecting it...

Julien

On 04/02/16 17:42, Julien Delplanque wrote:

Oh, I realize I didn't read your mail correctly, I'm sorry.

I will try this trick.

Julien

On 04/02/16 16:55, Johan Fabry wrote:
I don’t know the details of drag and drop, but it seems that you get 
the source widget as well as an argument of the block. From there you 
can get the selectedItem, which should be the one that you are 
dragging I suppose. Can you confirm that this works?



On Feb 4, 2016, at 04:38, Julien Delplanque  wrote:

Hey,

I use drag and drop between two lists in a project and I read this 
tutorial [1] to learn how to do it.


My question is: Is there a way to have another object than a String 
as passengers in #acceptDropBlock: (I get passengers the same way as 
in the tutorial i.e sending #passenger to transfer object) like the 
objects really in the list? Because if I use #displayBlock: it 
became difficult to be sure I retrieve the object I dropped in the 
source list...


Thanks in advance,

Julien

[1]: http://spec.st/docs/drag_n_drop/





---> 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] Spec doc

2016-02-04 Thread Julien Delplanque

Hi,

On 04/02/16 17:42, Hilaire wrote:

Hello

I want to evaluate the use of Spec for desktop application.

What are the recommended spec reading?

I suppose this link: http://spec.st/docs/home/
and the examples in 'Spec-Examples' package.


Is Spec feature complete enough to develop application with complex GUI?
(very subjective question)

I can not really answer this since I only begin with Spec but, right now,
I have difficulties with drag and drop between lists but it may be my fault.


Is it intended to remain compatible with future release and modification
of the underneath graphic system?

Thanks

Hilaire


Julien




Re: [Pharo-users] Another question about Spec

2016-02-04 Thread Julien Delplanque

Oh, I realize I didn't read your mail correctly, I'm sorry.

I will try this trick.

Julien

On 04/02/16 16:55, Johan Fabry wrote:

I don’t know the details of drag and drop, but it seems that you get the source 
widget as well as an argument of the block. From there you can get the 
selectedItem, which should be the one that you are dragging I suppose. Can you 
confirm that this works?


On Feb 4, 2016, at 04:38, Julien Delplanque  wrote:

Hey,

I use drag and drop between two lists in a project and I read this tutorial [1] 
to learn how to do it.

My question is: Is there a way to have another object than a String as 
passengers in #acceptDropBlock: (I get passengers the same way as in the 
tutorial i.e sending #passenger to transfer object) like the objects really in 
the list? Because if I use #displayBlock: it became difficult to be sure I 
retrieve the object I dropped in the source list...

Thanks in advance,

Julien

[1]: http://spec.st/docs/drag_n_drop/





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

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







[Pharo-users] Spec doc

2016-02-04 Thread Hilaire
Hello

I want to evaluate the use of Spec for desktop application.

What are the recommended spec reading?

Is Spec feature complete enough to develop application with complex GUI?
(very subjective question)

Is it intended to remain compatible with future release and modification
of the underneath graphic system?

Thanks

Hilaire
-- 
Dr. Geo
http://drgeo.eu




Re: [Pharo-users] Another question about Spec

2016-02-04 Thread Julien Delplanque

I understand what you say but sadly, it will not work in my case because:
- I use #displayBlock:
- Two or more items may be different objects but the result of the 
display block is the same.


So I can't just use the string to retrieve the item in the list... :(

Julien

On 04/02/16 16:55, Johan Fabry wrote:

I don’t know the details of drag and drop, but it seems that you get the source 
widget as well as an argument of the block. From there you can get the 
selectedItem, which should be the one that you are dragging I suppose. Can you 
confirm that this works?


On Feb 4, 2016, at 04:38, Julien Delplanque  wrote:

Hey,

I use drag and drop between two lists in a project and I read this tutorial [1] 
to learn how to do it.

My question is: Is there a way to have another object than a String as 
passengers in #acceptDropBlock: (I get passengers the same way as in the 
tutorial i.e sending #passenger to transfer object) like the objects really in 
the list? Because if I use #displayBlock: it became difficult to be sure I 
retrieve the object I dropped in the source list...

Thanks in advance,

Julien

[1]: http://spec.st/docs/drag_n_drop/





---> 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] Scrollbar in Spec layout

2016-02-04 Thread Johan Fabry

If I understand correctly, you are adding a lot of labels dynamically to the 
window, and you want a scrollbar to appear to the window, correct?

I am afraid that this scenario is not supported by Spec. Instead you should use 
a list and add items there. Then you will get the scroll bar for free. Note 
that you can configure the list so that nothing can be selected, so the visual 
look will be more or less the same. 

HTH,

> On Feb 3, 2016, at 09:49, LE Xuan Sang  wrote:
> 
> Hello,
> 
> Here goes an example snapshot of my problem.
> 
> Cheer,
> 
> Sang
> 
> 
>> Date: Wed, 3 Feb 2016 16:59:01 +0800
>> From: Ben Coman 
>> To: Any question about pharo is welcome 
>> Subject: Re: [Pharo-users] Scrollbar in Spec layout
>> Message-ID:
>>  
>> Content-Type: text/plain; charset=UTF-8
>> 
>> On Wed, Feb 3, 2016 at 4:45 PM, LE Xuan Sang  wrote:
>>> Hello,
>>> 
>>> I use Spec (Pharo 4) to develop my GUI application.  In my Spec layout, one 
>>> of the columns has a large amount of rows (dynamic content indeed). So i 
>>> need it to be scrollable. Does anyone knows how to add a scrollbar to that 
>>> column?
>>> 
>>> Thanks,
>>> 
>>> LE Sang
>> 
>> I'm not sure if I'm the one to help you, but could you post a snapshot?
>> cheers -ben
>> 
>> 
> 



---> 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] Another question about Spec

2016-02-04 Thread Johan Fabry

I don’t know the details of drag and drop, but it seems that you get the source 
widget as well as an argument of the block. From there you can get the 
selectedItem, which should be the one that you are dragging I suppose. Can you 
confirm that this works?

> On Feb 4, 2016, at 04:38, Julien Delplanque  wrote:
> 
> Hey,
> 
> I use drag and drop between two lists in a project and I read this tutorial 
> [1] to learn how to do it.
> 
> My question is: Is there a way to have another object than a String as 
> passengers in #acceptDropBlock: (I get passengers the same way as in the 
> tutorial i.e sending #passenger to transfer object) like the objects really 
> in the list? Because if I use #displayBlock: it became difficult to be sure I 
> retrieve the object I dropped in the source list...
> 
> Thanks in advance,
> 
> Julien
> 
> [1]: http://spec.st/docs/drag_n_drop/
> 
> 



---> 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] Simple question about Spec

2016-02-04 Thread Johan Fabry

> On Feb 4, 2016, at 11:26, Sven Van Caekenberghe  wrote:
> 
>> 
>> On 04 Feb 2016, at 15:21, Johan Fabry  wrote:
>> 
>> 
>> Yes, please do that! I would do it myself but I’m on holiday this month and 
>> not allowed to touch the computer much ;-)
> 
> And still you somehow managed to type this message ;-)

It just shows how important Pharo is to me :-P

---> 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] Image Cleaner no longer useful?

2016-02-04 Thread Marcus Denker
Hello,

Sorry for the late answer.

I think there are multiple problems…

1) slowness. This is strange that unloading packages is so slow. This looks 
like a bug to me.

2) image size in Pharo5: We have a bug right now that images *never* shrink. 
This means that if you save
an image once with 80MB, even if the GC cleans up, the saved image stays 80MB.

We should fix both….

> On 25 Jan 2016, at 13:32, Maximiliano Tabacman via Pharo-users 
>  wrote:
> 
> 
> From: Maximiliano Tabacman 
> Subject: Image Cleaner no longer useful?
> Date: 25 January 2016 at 13:31:28 GMT+1
> To: "pharo-users@lists.pharo.org" 
> Reply-To: Maximiliano Tabacman 
> 
> 
> Hi, and sorry if this has already been discussed.
> 
> In Pharo 3, I used to be able to do:
> 
> ImageCleaner cleanUpForProduction
> 
> and that would correctly remove a lot of unneeded code in the image when 
> preparing for a productive release.
> Then I would save the cleaned image, and since it had been cleaned, it would 
> be smaller than the original development image (say from 60 mb to 25 mb).
> This process would take about 2-3 minutes.
> 
> Then, in Pharo 4 it seems some changes were made here, since the same process 
> took a lot more, like 20 minutes.
> 
> When I first tried Pharo 5, I was happy to see that it was again down to 2-3 
> minutes.
> 
> And here comes my question...
> Why is it that since some 2 months ago (maybe more), the Pharo 5 images once 
> again require like 20 minutes to complete the cleanUpForProduction process?
> 
> Also, and this is the most relevant to me, it no longer reduces the image 
> size.
> So if I want to release a Pharo 5 version based on the latest images, I would 
> be shipping a product that is more than twice the size of previous public 
> versions of my software!
> 
> Thanks for any insights into this. If it is a known bug, I would like to know 
> if there is any workaround, or alternative objects that I should be using for 
> the process.
> Also, if it would help for me to run any tests in particular to share and 
> help in fixing this, please let me know.
> 
> 



Re: [Pharo-users] Simple question about Spec

2016-02-04 Thread Julien Delplanque

Ok, its done here [1], I hope I followed the procedure correctly. :)

Julien

[1]: 
https://pharo.fogbugz.com/f/cases/17528/Missing-activate-message-in-WindowModel


On 04/02/16 15:26, Sven Van Caekenberghe wrote:

On 04 Feb 2016, at 15:21, Johan Fabry  wrote:


Yes, please do that! I would do it myself but I’m on holiday this month and not 
allowed to touch the computer much ;-)

And still you somehow managed to type this message ;-)


On Feb 4, 2016, at 09:10, Stephan Eggermont  wrote:

On 04-02-16 08:28, Julien Delplanque wrote:

To match my needs, I simply added an extension to WindowModel with the
message #activate.

Just create an issue and fix it in place and put a slice in the inbox.
You will not be the only one needing it.

Stephan







---> 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] Simple question about Spec

2016-02-04 Thread Julien Delplanque
Ok, it will be a good occasion to learn the contribution process *shame 
on me*.


Julien

On 04/02/16 13:10, Stephan Eggermont wrote:

On 04-02-16 08:28, Julien Delplanque wrote:

To match my needs, I simply added an extension to WindowModel with the
message #activate.


Just create an issue and fix it in place and put a slice in the inbox.
You will not be the only one needing it.

Stephan








Re: [Pharo-users] Simple question about Spec

2016-02-04 Thread Sven Van Caekenberghe

> On 04 Feb 2016, at 15:21, Johan Fabry  wrote:
> 
> 
> Yes, please do that! I would do it myself but I’m on holiday this month and 
> not allowed to touch the computer much ;-)

And still you somehow managed to type this message ;-)

>> On Feb 4, 2016, at 09:10, Stephan Eggermont  wrote:
>> 
>> On 04-02-16 08:28, Julien Delplanque wrote:
>>> To match my needs, I simply added an extension to WindowModel with the
>>> message #activate.
>> 
>> Just create an issue and fix it in place and put a slice in the inbox.
>> You will not be the only one needing it.
>> 
>> Stephan
>> 
>> 
>> 
>> 
> 
> 
> 
> ---> 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] Simple question about Spec

2016-02-04 Thread Johan Fabry

Yes, please do that! I would do it myself but I’m on holiday this month and not 
allowed to touch the computer much ;-)

> On Feb 4, 2016, at 09:10, Stephan Eggermont  wrote:
> 
> On 04-02-16 08:28, Julien Delplanque wrote:
>> To match my needs, I simply added an extension to WindowModel with the
>> message #activate.
> 
> Just create an issue and fix it in place and put a slice in the inbox.
> You will not be the only one needing it.
> 
> Stephan
> 
> 
> 
> 



---> 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] Simple question about Spec

2016-02-04 Thread Stephan Eggermont

On 04-02-16 08:28, Julien Delplanque wrote:

To match my needs, I simply added an extension to WindowModel with the
message #activate.


Just create an issue and fix it in place and put a slice in the inbox.
You will not be the only one needing it.

Stephan





Re: [Pharo-users] XML verification using an external XSD file - possible yet in Pharo?

2016-02-04 Thread monty


> Sent: Thursday, February 04, 2016 at 4:31 AM
> From: stepharo 
> To: "Any question about pharo is welcome" 
> Subject: Re: [Pharo-users] XML verification using an external XSD file - 
> possible yet in Pharo?
>
> Hi paul
> 
> monty told me that his XML parser is validating.

It is but only against DTDs at the moment, not XSDs or RELAX NG.

> Stef
> 
> Le 2/2/16 23:53, PAUL DEBRUICKER a écrit :
> > Hi -
> >
> > Is there a way to validate XML files with an external XML schema file (XSD 
> > file) in Pharo ?
> >
> > Something like xerces (http://xerces.apache.org/) or xmllint 
> > (http://xmlsoft.org/xmllint.html) provide?
> >
> >
> > Thanks
> >
> > Paul
> >
> 
> 
>



Re: [Pharo-users] XML verification using an external XSD file - possible yet in Pharo?

2016-02-04 Thread stepharo

Hi paul

monty told me that his XML parser is validating.

Stef

Le 2/2/16 23:53, PAUL DEBRUICKER a écrit :

Hi -

Is there a way to validate XML files with an external XML schema file (XSD 
file) in Pharo ?

Something like xerces (http://xerces.apache.org/) or xmllint 
(http://xmlsoft.org/xmllint.html) provide?


Thanks

Paul