Re: [Pharo-users] [ANN] Pharo Launcher 2.0 released!

2020-04-21 Thread Julien Delplanque
Hello Christophe, I just updated my launcher and this new version looks awesome. Thanks a lot for this work. Julien Le 17/04/20 à 18:08, Christophe Demarey a écrit : Hi all, Pharo Launcher 2.0 has just been released! It is available from http://pharo.org/download. This new version introdu

Re: [Pharo-users] Slots vs collections

2020-03-20 Thread Julien Delplanque
Hello, There is a work in progress prototype slot named BooleanSlot in the Slot-Example package built-in the image. I think this slot does what you want. So, the answer is yes, it is possible to do that. But you will need to fix todos left in BooleanSlot methods. Julien Le 20/03/20 à 12:2

Re: [Pharo-users] StringSlice

2020-02-04 Thread Julien Delplanque
Hello Kasper, Looks promising, can help a lot when analyzing Strings. Will try it next time I need such feature. :-) Good work! Julien Le 4/02/20 à 15:25, Kasper Østerbye a écrit : Hi, I was working on parsing longer texts, and my program was extracting substrings which sometimes were rath

[Pharo-users] [ANN] Youtube video explaining how to set-up a Pharo project

2020-01-20 Thread Julien Delplanque
Hello, I recorded myself setting up a Pharo project on Github this afternoon. https://www.youtube.com/watch?v=Wnt3OBhR18I The video shows how to: - Create git repository on Github, make Pharo be aware of it via Iceberg - Set-up the CI - Add CI badge and install script to your README (which w

[Pharo-users] [ANN] Grouper

2019-12-09 Thread Julien Delplanque
Hello, I made a small library that reify grouping (that one does via #groupBy: usually): Grouper https://github.com/juliendelplanque/Grouper It is designed in the same spirit as SortFunction, but for grouping. Quick example: The following code snippet using Grouper: (10 to: 50)groupUsing:

Re: [Pharo-users] Can we auto translate Python to Smalltalk?

2017-06-02 Thread Julien Delplanque
Hello, Actually I did the opposite to be able to use Python 3 libraries from Pharo. It is not complete, but you may want to take a look at it [1]. Using this lib you can craft a Python 3 AST and generate its source code. I guess there is a way to access the AST of a Python program using the A

Re: [Pharo-users] SSL/TLS plugin initailization failed (VM plugin missing ? OS libraries missing ?)

2017-05-14 Thread Julien Delplanque
d that worked before). Something must be different in your case. On 8 May 2017, at 13:36, Marc Hanisch via Pharo-users wrote: From: Marc Hanisch Subject: Re: [Pharo-users] SSL/TLS plugin initailization failed (VM plugin missing ? OS libraries missing ?) Date: 8 May 2017 at 13:36:12 GMT+2 To: A

Re: [Pharo-users] SSL/TLS plugin initailization failed (VM plugin missing ? OS libraries missing ?)

2017-05-09 Thread Julien Delplanque
t in your case. On 8 May 2017, at 13:36, Marc Hanisch via Pharo-users wrote: From: Marc Hanisch Subject: Re: [Pharo-users] SSL/TLS plugin initailization failed (VM plugin missing ? OS libraries missing ?) Date: 8 May 2017 at 13:36:12 GMT+2 To: Any question about pharo is welcome Hello, I hav

Re: [Pharo-users] SSL/TLS plugin initailization failed (VM plugin missing ? OS libraries missing ?)

2017-05-08 Thread Julien Delplanque
Yes, it does but the file is present and normally in the right version. I installed it using the package manager. Julien On 08/05/17 13:21, Sven Van Caekenberghe wrote: On 8 May 2017, at 13:17, Julien Delplanque wrote: Ok, I installed the missing library: yaourt -S lib32-openssl-1.0 now

Re: [Pharo-users] SSL/TLS plugin initailization failed (VM plugin missing ? OS libraries missing ?)

2017-05-08 Thread Julien Delplanque
b000) Each dependency should be satisfied. On 8 May 2017, at 12:43, Julien Delplanque wrote: Hello, I have this error when trying to use the network: "SSL/TLS plugin initialization failed (VM plugin missing ? OS libraries missing ?)" What library could be missing on my operatin

Re: [Pharo-users] SSL/TLS plugin initailization failed (VM plugin missing ? OS libraries missing ?)

2017-05-08 Thread Julien Delplanque
Thank you, Apparently I have one library missing: ldd /usr/share/pharo/vm/libSqueakSSL.so linux-gate.so.1 (0xf77bb000) libssl.so.1.0.0 => not found libc.so.6 => /usr/lib32/libc.so.6 (0xf75ab000) /usr/lib/ld-linux.so.2 (0x565a9000) I'll try to fix this. But I guess other people o

[Pharo-users] SSL/TLS plugin initailization failed (VM plugin missing ? OS libraries missing ?)

2017-05-08 Thread Julien Delplanque
Hello, I have this error when trying to use the network: "SSL/TLS plugin initialization failed (VM plugin missing ? OS libraries missing ?)" What library could be missing on my operating system? I appears after an update of my operating system I think. I am on Archlinux. Julien

Re: [Pharo-users] Smalltalk syntactic coloration in Spec's TextModel

2017-05-04 Thread Julien Delplanque
Thanks, it works perfectly. Julien On 04/05/17 13:11, Nicolai Hess wrote: 2017-05-04 12:53 GMT+02:00 Julien Delplanque : Thanks, it works. Another question: Is it possible to manage the fact that the code displayed is a method? (ie not having the selector and instance variables causing the

Re: [Pharo-users] Smalltalk syntactic coloration in Spec's TextModel

2017-05-04 Thread Julien Delplanque
:00 Julien Delplanque : Hello, I looked in the mailing list archive but did not found an answer. Is there any way to have Smalltalk syntactic coloration in a TextModel without having to put efforts in it? I mean, if I do: TextModel new isForSmalltalkCode: true; text: (Collection>&g

[Pharo-users] Smalltalk syntactic coloration in Spec's TextModel

2017-05-03 Thread Julien Delplanque
Hello, I looked in the mailing list archive but did not found an answer. Is there any way to have Smalltalk syntactic coloration in a TextModel without having to put efforts in it? I mean, if I do: TextModel new isForSmalltalkCode: true; text: (Collection>>#any) sourceCode; openWit

Re: [Pharo-users] [ANN] Animation package

2016-11-23 Thread Julien Delplanque
Hello, Cool, I'll give a try to add animations to my windows switcher (Mirage [1]). Julien Links: [1]: https://github.com/juliendelplanque/Mirage On 23/11/16 11:49, Thibault Raffaillac wrote: Hello, I am happy to release the Animation package at last! http://smalltalkhub.com/#!/~ThibaultRaf

Re: [Pharo-users] Improving comments cool action

2016-11-20 Thread Julien Delplanque
Great, I'll do it next time it happens to me. Julien On 20/11/16 18:36, stepharo wrote: Le 20/11/16 à 17:36, Julien Delplanque a écrit : Hello, I may be able to help, it already happens to me to see a comment that I could improve but I don't take the time... Thanks this is

Re: [Pharo-users] Improving comments cool action

2016-11-20 Thread Julien Delplanque
Hello, I may be able to help, it already happens to me to see a comment that I could improve but I don't take the time... If someone wants to help, how can he publish his modifications? Do he needs to open an issue and suggest a slice directly? Regards, Julien On 20/11/16 17:26, stepharo wrot

Re: [Pharo-users] Chip-8

2016-11-16 Thread Julien Delplanque
Wow it would be a fun project! I know there was GameBoy [1] emulator but I don't know if it is still working. Julien Links: [1]: http://smalltalkhub.com/#!/~jeanbaptistearnaud/GameBoyEmulator On 16/11/16 11:21, olivier auverlot wrote: Hi, I just read an fun article about Chip-8. Someone

Re: [Pharo-users] CodeGenerator, your opinions?

2016-10-18 Thread Julien Delplanque
Hello, A generator for the visitor design pattern: - Generate methods in visited objects: VisitedObject>>#accept: (with the selector name configurable) - Generate empty methods (or methods with a "self subclassResponsability" if an abstract visitor is generated) called in #accept: methods of Vi

Re: [Pharo-users] Questions

2016-07-28 Thread Julien Delplanque
Hello, Have a look at "NeoCSV" project from the catalog browser. This document [1] may help you as well. There is a dedicated section for NeoCSV. Regards, Julien Links: [1]: http://www.slideshare.net/philippeback/pharo-days-2016-data-formats-and-protocols On 28/07/16 08:30, Alejandro Adg

[Pharo-users] State of Pharo in comparison with the "Pharo vision" document

2016-07-19 Thread Julien Delplanque
Hello everyone, For a university project I need to write a little about Pharo. I found the "Pharo vision" document [1] and I am curious about the actual state of Pharo in comparison with it. I have seen some things on the mailing list but I would like some help to gather the state of each goal d

Re: [Pharo-users] [UFFI] Getting an array of opaque structures filled

2016-07-04 Thread Julien Delplanque
: arrayPtr type: USBDevice size: size. === The problem was that I was using #fromPointer:type:size instead of #fromHandle:type:size:. Thanks again Esteban! Julien On 04/07/16 13:15, Julien Delplanque wrote: On 04/07/16 12:18, Ben Coman wrote: On Mon, Jul 4, 2016 at 4:24 PM, Julien

Re: [Pharo-users] [UFFI] Getting an array of opaque structures filled

2016-07-04 Thread Julien Delplanque
On 04/07/16 12:18, Ben Coman wrote: On Mon, Jul 4, 2016 at 4:24 PM, Julien Delplanque wrote: Hello again Esteban, all others, I am still experiencing strange behaviors with the objects in the external array. I get a lot of NULL pointers and some strange addresses (I guess, I am not a C

Re: [Pharo-users] [UFFI] Getting an array of opaque structures filled

2016-07-04 Thread Julien Delplanque
minute. Esteban On 01 Jul 2016, at 13:56, Julien Delplanque wrote: Ok, now I get a different exception! :-) "MessageNotUnderstood: LUDevice class>>fromHandle:" when executing: "array first." Where LUDevice is defined like this: FFIOpaqueObject subclass: #LUDevic

Re: [Pharo-users] [UFFI] Getting an array of opaque structures filled

2016-07-01 Thread Julien Delplanque
made a mistake… the problem of not being capable of test here :( 1 minute. Esteban On 01 Jul 2016, at 13:56, Julien Delplanque wrote: Ok, now I get a different exception! :-) "MessageNotUnderstood: LUDevice class>>fromHandle:" when executing: "array first." Wher

Re: [Pharo-users] [UFFI] Getting an array of opaque structures filled

2016-07-01 Thread Julien Delplanque
No problem, give me as much version(s) to test as you want. :p Julien On 01/07/16 14:00, Esteban Lorenzano wrote: yes, I made a mistake… the problem of not being capable of test here :( 1 minute. Esteban On 01 Jul 2016, at 13:56, Julien Delplanque wrote: Ok, now I get a different

Re: [Pharo-users] [UFFI] Getting an array of opaque structures filled

2016-07-01 Thread Julien Delplanque
27;' package: 'LibUsb-Kernel' Julien On 01/07/16 13:51, Esteban Lorenzano wrote: I need you to test :) can you execute this: (ConfigurationOfUnifiedFFI project version: #development) load. and then retry your example? thanks, Esteban ps: this became pharo-dev, but well… sti

Re: [Pharo-users] [UFFI] Getting an array of opaque structures filled

2016-07-01 Thread Julien Delplanque
Jul 2016, at 13:30, Julien Delplanque wrote: Ok, the ffi call is done without problem with your method thanks. :) But now that I have the array, when I try to access the first element using: array first. I get a exception saying I need to override a method: "SubclassResponsib

Re: [Pharo-users] [UFFI] Getting an array of opaque structures filled

2016-07-01 Thread Julien Delplanque
ize: size. “you already has the size for the result" … and you should be able to iterate this array normally :) let me know if this works for you… I’m “coding in mail client”, so it can fail :P cheers, Esteban On 01 Jul 2016, at 12:02, Julien Delplanque wrote: Thanks, it works

Re: [Pharo-users] [UFFI] Getting an array of opaque structures filled

2016-07-01 Thread Julien Delplanque
can make libusb_device an alias for your type… that does not matters much, this is just a simplification). if this does not works, if you can provide me code to reproduce it, I can give it a shot and see what happens :) Esteban On 01 Jul 2016, at 11:19, Julien Delplanque wrote: Hello

[Pharo-users] [UFFI] Getting an array of opaque structures filled

2016-07-01 Thread Julien Delplanque
Hello everyone, I have a question about the UFFI API. I have the following function: ssize_t libusb_get_device_list (libusb_context *ctx, libusb_device ***list) where libusb_device is an opaque structure. I made a type mapping "ssize_t" -> "int" and an object inheriting from FFIExternalObject

Re: [Pharo-users] [ANN]Windows previewer / switcher for Pharo

2016-06-30 Thread Julien Delplanque
ows vm for ctrl+number/tab/space... keystrokes) Thank you anyway ! On 28/06/2016 14:51, Julien Delplanque wrote: Also, here is a screenshot (I forgot to attach it to the preceding mail). Julien On 28/06/16 11:06, Julien Delplanque wrote:

Re: [Pharo-users] [ANN]Windows previewer / switcher for Pharo

2016-06-30 Thread Julien Delplanque
+tab working, you need to disable the "hasSpecialCTRLKeyValue"-check (I think this check is not needed anymore, since we changed the windows vm for ctrl+number/tab/space... keystrokes) Thank you anyway ! On 28/06/2016 14:51, Julien Delplanque wrote: Also, here is a screenshot (I forgot to attach it t

[Pharo-users] [ANN]Windows previewer / switcher for Pharo

2016-06-28 Thread Julien Delplanque
Hello, This mail to announce you that I am working on a windows previewer / switcher for Pharo [1]. It is still in early stage of development but it is usable. To install it: |Metacello new repository: 'github://JulienDelplanque/WindowsPreviewer/repository'; baseline: 'WindowsPreviewer'; l

Re: [Pharo-users] [ANN] Smallworlds (Interactive Fiction Framework) v1.0 released

2016-06-23 Thread Julien Delplanque
Cool :) I will give a try. Julien On 23/06/16 15:33, ericvm wrote: New version of Interactive Fiction Framework (https://github.com/ericvm/smallworlds) I think it is mature enough to be used, but of course there might be some rough edges. Contributors, users and testers would be very welcom

Re: [Pharo-users] [UFFI] Call a function where argument type is char ** (argv)

2016-06-01 Thread Julien Delplanque
Hello, I asked a simililar question some days ago, maybe this [1] can help. Regards, Julien Links: [1]: http://forum.world.st/Unified-FFI-pointer-of-String-as-function-parameter-td4898066.html On 31/05/16 16:28, Blondeau Vincent wrote: TL;DR: How to pass as argument an array of Strings (

Re: [Pharo-users] [ANN] LibnotifyBinding: a binding to libnotify 0.7.6 for Pharo

2016-05-30 Thread Julien Delplanque
On 30/05/16 18:02, Esteban Lorenzano wrote: On 30 May 2016, at 16:50, Julien Delplanque wrote: Hello, I took the libnotify [0] binding for Squeak [1], adapted it to use the Pharo UFFI API and enhanced it. It is available here [2] and seems to work well (see attached image). It does not

Re: [Pharo-users] [ANN] LibnotifyBinding: a binding to libnotify 0.7.6 for Pharo

2016-05-30 Thread Julien Delplanque
Good idea, I will have a look at this feature. :-) Julien On 30/05/16 17:07, Denis Kudriashov wrote: Nice. And it would be much nicer if Pharo allows to install it as new notifications backend (instead of morphic one). 2016-05-30 16:50 GMT+02:00 Julien Delplanque : Hello, I took the

[Pharo-users] [ANN] LibnotifyBinding: a binding to libnotify 0.7.6 for Pharo

2016-05-30 Thread Julien Delplanque
Hello, I took the libnotify [0] binding for Squeak [1], adapted it to use the Pharo UFFI API and enhanced it. It is available here [2] and seems to work well (see attached image). It does not cover all libnotify possibilities (see the README on github) but it is already usable to display not

Re: [Pharo-users] Unified FFI: pointer of String as function parameter

2016-05-30 Thread Julien Delplanque
On 30/05/16 11:44, Esteban Lorenzano wrote: On 30 May 2016, at 11:39, Julien Delplanque wrote: I just did it, it works directly except for 2 little mistakes (for people who are interested): The class method to override in StringValueHolder is #typeDecl and not #typeDesc. To get the actual

Re: [Pharo-users] Unified FFI: pointer of String as function parameter

2016-05-30 Thread Julien Delplanque
. self callToMyFunction: str. pharoString := str value readString. looks like too much steps for just economise the “pointeAt: 1” part, but is useful when you have lots of this calls :) cheers, Esteban On 30 May 2016, at 10:56, Julien Delplanque wrote: Hello everyone, I have a C function to cal

Re: [Pharo-users] Unified FFI: pointer of String as function parameter

2016-05-30 Thread Julien Delplanque
Thanks for the fast answer. :-) On 30/05/16 11:14, Esteban Lorenzano wrote: this is not the easiest part of FFI :) this is the simplest way: str := ExternalAddress new. “This will point to NULL” self callToMyFunction: str. pharoString := (str pointerAt: 1) readString. callToMyFunction: str

[Pharo-users] Unified FFI: pointer of String as function parameter

2016-05-30 Thread Julien Delplanque
Hello everyone, I have a C function to call from Pharo that looks like this: int my_function(char ** parameter); This function fill the pointer on the String given as parameter. How can I use this from pharo Unified FFI? I mean, how to get a pharo String filled by this function? Thanks in a

Re: [Pharo-users] Get a String during the execution

2016-05-18 Thread Julien Delplanque
alentin 2016-05-18 15:05 GMT+02:00 Julien Delplanque : Hello Valentin, You should check the World>>#openModal: message. I think this is what you are looking for. :-) Regards, Julien On 18/05/16 14:08, Valentin Ryckewaert wrote: Hi ! I'm trying to make a method able to ask the u

Re: [Pharo-users] Get a String during the execution

2016-05-18 Thread Julien Delplanque
Hello Valentin, You should check the World>>#openModal: message. I think this is what you are looking for. :-) Regards, Julien On 18/05/16 14:08, Valentin Ryckewaert wrote: Hi ! I'm trying to make a method able to ask the user to write something which will be used in the method. During my m

Re: [Pharo-users] Presenting Pharo in Greece

2016-05-13 Thread Julien Delplanque
Hello Dimitris, Is this http://c2.com/cgi-bin/wiki?SmalltalkSyntaxInaPostcard what you're looking for? Good luck for your presentation. Julien On 13/05/16 10:32, Dimitris Chloupis wrote: thanks any idea where i can get the card that contains the pharo syntax ? On Fri, May 13, 2016 at 10:33

Re: [Pharo-users] FFI documentation

2016-05-06 Thread Julien Delplanque
Super cool! This is exactly what I needed. Thanks a lot! Julien On 06/05/16 21:18, Alexandre Bergel wrote: Hi Julien! Esteban L. wrote a chapter on it: https://ci.inria.fr/pharo-contribution/view/Books/job/PharoBookWorkInProgress/lastSuccessfulBuild/artifact/book-result/UnifiedFFI/UnifiedFFI

[Pharo-users] FFI documentation

2016-05-06 Thread Julien Delplanque
Hello, Let's say I would like to create a binding to ncurses library. Is there any documentation on how to do it properly? Or at least do you have any advice to do it the right way? I have no real knowledge on how the unified ffi work. So any documentation is welcome. Thanks in advance. :) Jul

Re: [Pharo-users] [ANN] Pharo Astares Distribution

2016-05-05 Thread Julien Delplanque
Really cool, I like this idea of different distributions providing different flavor of a development environment! Julien On 03/05/16 22:01, Torsten Bergmann wrote: Hi, I summarized some of the goodies that I wrote like - DesktopManager - QuickAccess - HubCap - WebBrowser - MessageF

Re: [Pharo-users] [ANN] Genetic Algorithm is available from the Catalog

2016-04-25 Thread Julien Delplanque
Cool! On 25/04/16 16:10, Alexandre Bergel wrote: Hi! I did a bit of programming… A genetic algorithm is available from the Catalog. Cheers, Alexandre

Re: [Pharo-users] [ANN] Arff generator for Pharo

2016-04-25 Thread Julien Delplanque
argh, here take my +1 for this mail :p On 25/04/16 14:08, Damien Pollet wrote: So, ARFF is the file format… I propose that an OO modeling of it should be named the Attribute-Relation Graph Hierarchy :D On 25 April 2016 at 13:37, Julien Delplanque wrote: Hello everyone, For a university

Re: [Pharo-users] [ANN] Arff generator for Pharo

2016-04-25 Thread Julien Delplanque
...@highoctane.be wrote: Hello Julien, I am curious to know how much faster/slower you can do this vs people using other languages. So? Phil On Mon, Apr 25, 2016 at 1:37 PM, Julien Delplanque wrote: Hello everyone, For a university project in ''Datamining and Datawarehousing''

[Pharo-users] [ANN] Arff generator for Pharo

2016-04-25 Thread Julien Delplanque
Hello everyone, For a university project in ''Datamining and Datawarehousing'', I have to convert data stored as text files in different formats to the Weka[1] ARFF format[2]. I did it with Pharo of course! :) So, I wrote this little project [3] to share what I have done with you, just in c

Re: [Pharo-users] About Traits

2016-04-22 Thread Julien Delplanque
On 22/04/16 17:04, Hilaire wrote: Hi Julien, Le 22/04/2016 16:45, Julien Delplanque a écrit : Hello, I have a question about Trait. Is it ok, in the design point of view, to use them to force an object to implement an interface? Why not using a parent abstract class for that, with

[Pharo-users] About Traits

2016-04-22 Thread Julien Delplanque
Hello, I have a question about Trait. Is it ok, in the design point of view, to use them to force an object to implement an interface? Like that it would be possible to check (via an #assert: for example) if a class provides the interface required. I read some things I found on the net abo

Re: [Pharo-users] [ANN] OS-Linux-CentOS

2016-04-01 Thread Julien Delplanque
Hello, This is nice :) I have a question: Why do CentOS and Ubuntu classes do inherit from UnixSystem? #contentsOf: and #system: message have the same implementation. Cheers, Julien On 31/03/16 18:31, Torsten Bergmann wrote: Hi, the OS-xxx series with (so far) - OS-Windows - OS-Linu

[Pharo-users] [Spec] CheckBoxModel>>enabled: does not work?

2016-03-26 Thread Julien Delplanque
Hello, I am trying to disable a CheckBoxModel using #enabled: method does not works. Any idea? Regards, Julien

Re: [Pharo-users] RFC Minecraft Server

2016-03-12 Thread Julien Delplanque
It would be awesome but sounds like a (very) big project. I would provide help if I was not already suffocating under too much projects... :-( Julien On 12/03/16 18:38, Ben Coman wrote: I'm not ready to do this yet, but just surveying interest. I'm thinking of creating a Minecraft server us

Re: [Pharo-users] Problems/Suggestions with Pharo IDE

2016-03-12 Thread Julien Delplanque
Hi Clement, On 12/03/16 10:42, Clément Dumazy wrote: - I can't copy/paste from Google Chrome (on ubuntu 14.04) while I could copy/paste from other software like Gedit or Firefox. I had the same problem. There is a little trick to resolve this: [1] (second message). Sadly, there are s

Re: [Pharo-users] Is there a way to display Spec widgets in a ListModel?

2016-03-02 Thread Julien Delplanque
-td4741608.html#a4747231 On 02/03/16 21:31, Johan Fabry wrote: I never tried anything like this, I do not think it is possible. What you are trying to do seems strange to me, what is the use case you want to implement? On Mar 2, 2016, at 17:06, Julien Delplanque wrote: Hi everyone, I can&#

Re: [Pharo-users] Is there a way to display Spec widgets in a ListModel?

2016-03-02 Thread Julien Delplanque
, what is the use case you want to implement? On Mar 2, 2016, at 17:06, Julien Delplanque wrote: Hi everyone, I can't find how to display Spec widgets in a ListModel, is it possible? I would like to have a list model holding, at each row, a TextModel and a ButtonModel. Thanks in ad

[Pharo-users] Is there a way to display Spec widgets in a ListModel?

2016-03-02 Thread Julien Delplanque
Hi everyone, I can't find how to display Spec widgets in a ListModel, is it possible? I would like to have a list model holding, at each row, a TextModel and a ButtonModel. Thanks in advance, Julien

Re: [Pharo-users] A Spec widget to hold non-editable multi-lines text?

2016-02-27 Thread Julien Delplanque
:30, Julien Delplanque a écrit : Nice, can't wait to read it :) Julien On 25/02/16 10:58, Peter Uhnák wrote: I'm sure it's documented somewhere… in any case new Spec documentation is emerging so let's not forget to make sure it's there. Peter On Thu, Feb 25,

Re: [Pharo-users] A Spec widget to hold non-editable multi-lines text?

2016-02-25 Thread Julien Delplanque
Nice, can't wait to read it :) Julien On 25/02/16 10:58, Peter Uhnák wrote: I'm sure it's documented somewhere… in any case new Spec documentation is emerging so let's not forget to make sure it's there. Peter On Thu, Feb 25, 2016 at 10:49 AM, Julien Delplanque wrot

Re: [Pharo-users] A Spec widget to hold non-editable multi-lines text?

2016-02-25 Thread Julien Delplanque
Indeed but I mean, I was not able to deduce the fact that to have a widget holding not-editable multi-line text I have to use TextInputFieldModel and use #enabled: message... But maybe there is already documentation about that? Julien On 25/02/16 09:58, Peter Uhnák wrote: Maybe this should

Re: [Pharo-users] A Spec widget to hold non-editable multi-lines text?

2016-02-24 Thread Julien Delplanque
24, 2016, at 13:24, Julien Delplanque wrote: > > > > Hello, > > > > I wonder if there is a Spec widget to hold non-editable multi-line text? > > > > There is TextInputFieldModel but the text is editable. > > > > Thanks in advance, > > &g

[Pharo-users] A Spec widget to hold non-editable multi-lines text?

2016-02-24 Thread Julien Delplanque
Hello, I wonder if there is a Spec widget to hold non-editable multi-line text? There is TextInputFieldModel but the text is editable. Thanks in advance, Julien

[Pharo-users] Strange behavior of Pragma>>#allNamed:in:

2016-02-23 Thread Julien Delplanque
Hi, I experience a strange behavior with Pragma>>#allNamed:in: When I use Pragma allNamed: #myPragma in: MyClass It works as expected. But when instead of hard-coding "MyClass" I use "self class" in an method (instance side), Pragma allNamed: #myPragma in: self class returns an empty arra

Re: [Pharo-users] Spec #focusOrder

2016-02-10 Thread Julien Delplanque
On 10/02/16 14:09, Julien Delplanque wrote: On 10/02/16 14:00, Nicolai Hess wrote: 2016-02-10 13:15 GMT+01:00 Julien Delplanque : On 10/02/16 12:48, Nicolai Hess wrote: 2016-02-10 12:20 GMT+01:00 Julien Delplanque : Hi, I am trying to manage the focus order of my widget that uses sub

Re: [Pharo-users] Spec #focusOrder

2016-02-10 Thread Julien Delplanque
On 10/02/16 14:00, Nicolai Hess wrote: 2016-02-10 13:15 GMT+01:00 Julien Delplanque : On 10/02/16 12:48, Nicolai Hess wrote: 2016-02-10 12:20 GMT+01:00 Julien Delplanque : Hi, I am trying to manage the focus order of my widget that uses sub-widgets with their #focusOrder defined. How

Re: [Pharo-users] Spec #focusOrder

2016-02-10 Thread Julien Delplanque
On 10/02/16 12:48, Nicolai Hess wrote: 2016-02-10 12:20 GMT+01:00 Julien Delplanque : Hi, I am trying to manage the focus order of my widget that uses sub-widgets with their #focusOrder defined. How do spec manage nested focus order? I see in the implementation that it is simply an

[Pharo-users] Spec #focusOrder

2016-02-10 Thread Julien Delplanque
Hi, I am trying to manage the focus order of my widget that uses sub-widgets with their #focusOrder defined. How do spec manage nested focus order? I see in the implementation that it is simply an OrderedCollection. I does not behave as I expected, when I add my sub-widgets to the focus or

Re: [Pharo-users] Simple question about Spec

2016-02-09 Thread Julien Delplanque
e, an implementation for WindowModel>>#activate could be self changed: #activate with: #() and this needs another change in MorphicWindowAdapter>>#activate self widgetDo: [ :w | w activate ] what do you think? Le 3/2/16 13:35, Julien Delplanque a écrit : Ok I f

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 0

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 w

Re: [Pharo-users] Another question about Spec

2016-02-04 Thread Julien Delplanque
lectedItem, 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 w

Re: [Pharo-users] Another question about Spec

2016-02-04 Thread Julien Delplanque
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 i

Re: [Pharo-users] Simple question about Spec

2016-02-04 Thread Julien Delplanque
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

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

[Pharo-users] Another question about Spec

2016-02-03 Thread Julien Delplanque
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 trans

Re: [Pharo-users] Simple question about Spec

2016-02-03 Thread Julien Delplanque
To match my needs, I simply added an extension to WindowModel with the message #activate. So I do not need to do "myWidget window window activate". Julien On 04/02/16 08:17, stepharo wrote: I do not like the API :) Le 3/2/16 13:35, Julien Delplanque a écrit : Ok I found ho

Re: [Pharo-users] Create type(class) dynamically

2016-02-03 Thread Julien Delplanque
Hi, You can create a class programatically using: ParentClass subclass: #ClassName instanceVariableNames: 'instVar1 instVar2' classVariableNames: '' category: 'APackage' Then you can add method using: ClassName compile: 'helloWorld ^''Hello world!''' for example. I don't know

Re: [Pharo-users] Simple question about Spec

2016-02-03 Thread Julien Delplanque
a morph. Thanks a lot for the help! Julien On 03/02/16 13:16, Sven Van Caekenberghe wrote: window activate ? On 03 Feb 2016, at 13:03, Julien Delplanque wrote: On 03/02/16 12:33, Stephan Eggermont wrote: On 03-02-16 12:14, Julien Delplanque wrote: Hello, I can't find the answer by

Re: [Pharo-users] Simple question about Spec

2016-02-03 Thread Julien Delplanque
On 03/02/16 13:14, Stephan Eggermont wrote: On 03-02-16 12:59, Julien Delplanque wrote: I looked at WindowModel and, because of your mail, also at WorldModel but I still do not find how to put the window on top of all the others... There is openWorldWithSpec as used in PharoLauncher

Re: [Pharo-users] Simple question about Spec

2016-02-03 Thread Julien Delplanque
On 03/02/16 12:33, Stephan Eggermont wrote: On 03-02-16 12:14, Julien Delplanque wrote: Hello, I can't find the answer by browsing classes comments nor methods so I ask the question here :). Is it possible to put a WindowModel on top of all other windows opened? If it is, how? I'

Re: [Pharo-users] Simple question about Spec

2016-02-03 Thread Julien Delplanque
On 03/02/16 12:33, Stephan Eggermont wrote: On 03-02-16 12:14, Julien Delplanque wrote: Hello, I can't find the answer by browsing classes comments nor methods so I ask the question here :). Is it possible to put a WindowModel on top of all other windows opened? If it is, how? I&

[Pharo-users] Simple question about Spec

2016-02-03 Thread Julien Delplanque
Hello, I can't find the answer by browsing classes comments nor methods so I ask the question here :). Is it possible to put a WindowModel on top of all other windows opened? If it is, how? Thanks in advance, Julien

[Pharo-users] Smalltalkhub is down?

2016-02-02 Thread Julien Delplanque
Hey, I can not access smalltalkhub neither from an image nor from a web browser. Also, if I ping the server it does not responds. Anyone experiencing the same thing? Julien

Re: [Pharo-users] A Turing Machine simulator written in Pharo

2016-01-14 Thread Julien Delplanque
No problem, I will do that. :) Julien On 14/01/16 16:33, Sven Van Caekenberghe wrote: Julien, On 14 Jan 2016, at 15:42, Julien Delplanque wrote: Hey everyone, I had a course named "Calculabilty and Complexity" last year and I implemented a Turing Machine simulator using Pharo j

Re: [Pharo-users] A Turing Machine simulator written in Pharo

2016-01-14 Thread Julien Delplanque
:) On 14/01/16 16:05, stepharo wrote: Thanks I never got any lecture on this machine so I will read it :) But there is no explanation about the mathematical model (there is too much things to say), just how to simulate it... :) Le 14/1/16 15:42, Julien Delplanque a écrit : Hey everyone, I

[Pharo-users] A Turing Machine simulator written in Pharo

2016-01-14 Thread Julien Delplanque
Hey everyone, I had a course named "Calculabilty and Complexity" last year and I implemented a Turing Machine simulator using Pharo just to see how easy/hard it would be (it was quite easy :) ). I also wrote a little thing on medium about it [1] (I just took half an hour to review it and I

Re: [Pharo-users] Small steps in a keyboard driven IDE

2015-12-14 Thread Julien Delplanque
Cool. I'll give it a try soon. On 11/12/15 20:32, Stephan Eggermont wrote: https://vimeo.com/148637679 Added a class view that shows the methods. Dragging them out opens a method card, Shift-RightArrow adds a method card below the class card. Ctrl-- makes a method card use smaller text, Ctrl-+

Re: [Pharo-users] Magritte Tutorial [Draft]

2015-12-13 Thread Julien Delplanque
Thank you, I was actually looking for tutorials about it. Julien On 13/12/15 11:18, stepharo wrote: Hi guys Here is the ci of the magritte tutorial that I'm revising and collecting material for https://ci.inria.fr/pharo-contribution/view/Books/job/Magritte/lastSuccessfulBuild/artifact/book-

[Pharo-users] Python's argparse like CommandlineHandler?

2015-11-26 Thread Julien Delplanque
Hello, Is there a way to specify: - The "type" of command line arguments. - The default value if none is given. - That an argument is obligatory or optional? A bit like argparse does in Python, if you know it. Julien

[Pharo-users] Modify Pillar's pillarPostExport.sh script from pillar.conf?

2015-11-25 Thread Julien Delplanque
Hi, I am generating LaTeX using Pillar and I would like the 'pillarPostExport.sh' to compile my bibliography. So, the default 'pillarPostExport.sh' do: ... pdflatex output.tex pdflatex output.tex ... And I would like it to do: ... pdflatex output.tex bibtex biblio pdflatex output.tex pdflate

Re: [Pharo-users] Basic versioning of GitHub repositories from within Pharo

2015-11-23 Thread Julien Delplanque
Awesome, I'll use it soon :) On 23/11/15 16:25, Skip Lentz wrote: Hi everyone, As part of my internship I am creating bindings to the GitHub API in Pharo. As a prototype and demo, I have created a small tool last week to do some basic versioning, namely checking out a version, committing a ver

Re: [Pharo-users] [ANN] Mathex 0.3 is out! How hard would it be to give the possibility to use it with Pillar?

2015-10-27 Thread Julien Delplanque
Nice, I'll take time to implement this feature as soon as I can :). On 26/10/15 14:37, Damien Cassou wrote: Julien Delplanque writes: On 22/10/15 17:56, Damien Cassou wrote: Julien Delplanque writes: I wonder how hard it would be to give the possibility to write Mathex directly i

Re: [Pharo-users] [ANN] Mathex 0.3 is out! How hard would it be to give the possibility to use it with Pillar?

2015-10-22 Thread Julien Delplanque
On 22/10/15 17:56, Damien Cassou wrote: Julien Delplanque writes: I wonder how hard it would be to give the possibility to write Mathex directly inside Pillar? Mathex provide pdf/png generation under Linux, so it is possible to create images for non-LaTeX Pillar's exportation. what

[Pharo-users] [ANN] Mathex 0.3 is out! How hard would it be to give the possibility to use it with Pillar?

2015-10-19 Thread Julien Delplanque
Hi all, I just released Mathex 0.3, you can look at the release note here [1] if you want. :) I wonder how hard it would be to give the possibility to write Mathex directly inside Pillar? Mathex provide pdf/png generation under Linux, so it is possible to create images for non-LaTeX Pillar's exp

  1   2   >