[Pharo-users] state of pharo on tablets

2016-02-10 Thread Peter Uhnák
Hi, does anyone knows what is the current state of Pharo on tablets / state of touchscreen? I'm considering buying a new tablet and I would like to play with Pharo there, if that is currently possible (I've seen some videos, but I am not sure if that was special hardware or whatnot). So are tabl

[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] Spec #focusOrder

2016-02-10 Thread Nicolai Hess
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 OrderedCollection. > > I does not behave

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 OrderedC

Re: [Pharo-users] Spec #focusOrder

2016-02-10 Thread Nicolai Hess
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 do spec manage

Re: [Pharo-users] How to generate "Content-Type: application/octet-stream" with Zinc client

2016-02-10 Thread chicoary
Thanks Sven for your reply. The curl I want reproduce with Zinc is: curl 'http://localhost:5001/api/v0/add?stream-channels=true' \ -H 'content-type: multipart/form-data; boundary=a831rwxi1a3gzaorw1w2z49dlsor' \ -H 'Connection: keep-alive' \ --data-binary $'--a831rwxi1a3gzaorw1w2z49dlsor\r\nConten

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 do

Re: [Pharo-users] How to generate "Content-Type: application/octet-stream" with Zinc client

2016-02-10 Thread Robert Kuszinger
OK. I'm an idiot. This is server code, so, another business Robert Kuszinger ezt írta (időpont: 2016. febr. 10., Sze, 14:15): > Hello! > > Here is a code snippet: > > > At the trivial pülace you can set whatever mime type yout think will work > for you. > I hope this helps. > > Robert > ---

Re: [Pharo-users] How to generate "Content-Type: application/octet-stream" with Zinc client

2016-02-10 Thread Robert Kuszinger
Hello! Here is a code snippet: At the trivial pülace you can set whatever mime type yout think will work for you. I hope this helps. Robert -- sendFile |contents stream | stream := FileStream readOnlyFileNamed: self file. stream b

Re: [Pharo-users] How to generate "Content-Type: application/octet-stream" with Zinc client

2016-02-10 Thread Sven Van Caekenberghe
From your netcat output I inferred that you wanted two content-type headers, but I don't think you do, I guess you just want to control the content-type. When creating a ZnPart based on a file, the content-type is inferred automatically from the filename's extension. The simplest solution is to

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-

[Pharo-users] Huge image

2016-02-10 Thread Davide Varvello via Pharo-users
--- Begin Message --- Guys, I've a bloated image and I don't know why it's so huge and how to shrink it. It happened that my image has grown from 50MB to 440MB in a morning. I've already followed these suggestions https://github.com/pharo-project/pharo-core/wiki/Memory-Hogs and flushing monticello

Re: [Pharo-users] Huge image

2016-02-10 Thread Dale Henrichs
David, I don't have a direct solution, but I have been playing with an analysis technique for solving this particular type of problem: scads of Strings and a need to "make sense of the reference graph". If you look at this example[1], you'll see that there are 202K instances of String (this

Re: [Pharo-users] Rép: How to display Dictionary using TreeModel

2016-02-10 Thread Христина Михайлюк
Thank you very much =) 2016-02-09 23:45 GMT+02:00 julien : > Hi, try something like: > > tm := TreeModel new. > tm roots: yourCollection. > tm hasChildrenBlock: [ :item | item isDictionnary ]. > tm childrenBlock: [ :item | item keysAndValues ]. > > I wrote that from my phone but I think it is wor

Re: [Pharo-users] [Bulk] smalltalk banner or poster for FOSSASIA conference.

2016-02-10 Thread Offray Vladimir Luna Cárdenas
Hi, On 10/02/16 00:46, Martin Bähr wrote: Excerpts from Hernán Morales Durand's message of 2016-02-09 22:39:56 +0100: Last year there was a poster made by Adam a...@234.cz I don't know if that fits your goals, the poster license or if he's still around, maybe you could check with him if there's

Re: [Pharo-users] Huge image

2016-02-10 Thread Davide Varvello via Pharo-users
--- Begin Message --- I don't know why my original message isn't accepted by the list, but it's on forum: http://forum.world.st/Huge-image-td4876854.html Anyway, thanks Dale, I'm going to try your suggestion. Davide Dale Henrichs-3 wrote > David, > > I don't have a direct solution, but I hav