Re: [Pharo-users] Creating a BaselineOf from a ConfigurationOf>>#baselineXyz:

2017-06-06 Thread Nicolai Hess
Hi Sean, 2017-06-04 5:48 GMT+02:00 Sean P. DeNigris : > I'm trying to write a rewrite rule, but can't quite get it. > > I first want to remove `spec blessing: #baseline.` > > I tried the following with no effect: > > RBParseTreeRewriter new > replace: '`@expr blessing: `#lit' >

Re: [Pharo-users] Traits, method flatten

2017-06-08 Thread Nicolai Hess
2017-06-08 6:00 GMT+02:00 Sean P. DeNigris : > HilaireFernandes wrote > > I made another attempt to > > persist this time with filetree://. The net result is the same, the > > Traits logic is lost in the classes using the Traits: all traits methods > > are duplicated !! > > I just got burned by th

Re: [Pharo-users] Rewriting question

2017-06-12 Thread Nicolai Hess
2017-06-10 21:16 GMT+02:00 werner kassens : > On 06/10/2017 04:07 PM, werner kassens wrote: > >> On 06/10/2017 03:37 PM, werner kassens wrote: >> >>> Hi, >>> >>> i have a private rewriting rule. unfortunately it shows up in the lower >>> pane of the SystemBrowser which makes no sense at all, since

Re: [Pharo-users] Autoformatting in SystemBrowser

2017-06-17 Thread Nicolai Hess
Can you check your sources or changes files. Maybe they are missing or corrupted. Am 17.06.2017 11:35 vorm. schrieb "Marc Hanisch via Pharo-users" < pharo-users@lists.pharo.org>: > > > -- Weitergeleitete Nachricht -- > From: Marc Hanisch > To: Any question about pharo is welcome

Re: [Pharo-users] Morph layout changes in P4, P5 or P6

2017-06-17 Thread Nicolai Hess
2017-06-17 19:35 GMT+02:00 Hilaire : > Found, it is the Layout protocol. It seems to behave differently, at least: > > LayoutFrame fractions: fractionsOrNil offsets: offsetsOrNil > > does not behave the same > > Le 17/06/2017 à 18:40, Hilaire a écrit : > > I think the changes originated mo

Re: [Pharo-users] Regression with PNGReaderWriter in P6

2017-06-18 Thread Nicolai Hess
2017-06-18 14:01 GMT+02:00 Hilaire : > The code bellow decodes the PNG picture just fine in P3, in P6 it can't! > > I suspect changes in PNGReaderWriter>>nextImage > However the version shows no history of edit :( > > One should add this code below in a test for PNG. > > > PNGReadWriter createAFor

Re: [Pharo-users] WrapAthen, World coordinate?

2017-06-18 Thread Nicolai Hess
Done: 20166 wrong cliprect on transformed athens canvas Although I don't know how we handle fixes for Athens, as the current repository and in-image version already diverged again. 2017-06-19 8:15 GMT+02:00

Re: [Pharo-users] P6: How to get focus for mouse wheel event

2017-06-20 Thread Nicolai Hess
2017-06-20 14:14 GMT+02:00 Hilaire : > Hi, > > With Dr. Geo under P6 I have a usability regression with the > GeneralScrollPane of the File thumbnail dialog: > > This dialog does not have any more the focus when open by default. > > It is a problem when the user wants to browse with mouse wheel th

Re: [Pharo-users] P6: How to get focus for mouse wheel event

2017-06-21 Thread Nicolai Hess
seMouseFocus: self ]. ^ super handleFocusEvent: anEvent I guess, this will swallow the first scroll event, but all following are handled by the scroll pane. We should fix the openModal: method, to only change the mouse focus if the active focus holder isn't nil. > Le 20/06/2017 à 2

Re: [Pharo-users] Autoformatting in SystemBrowser

2017-06-21 Thread Nicolai Hess
2017-06-21 11:57 GMT+02:00 Marc Hanisch via Pharo-users < pharo-users@lists.pharo.org>: > > > -- Weitergeleitete Nachricht -- > From: Marc Hanisch > To: Any question about pharo is welcome > Cc: > Bcc: > Date: Wed, 21 Jun 2017 11:57:53 +0200 > Subject: Re: [Pharo-users] Autoforma

Re: [Pharo-users] Custom Glamour browser for Dr. Geo scripting

2017-07-01 Thread Nicolai Hess
2017-06-30 9:55 GMT+02:00 Hilaire : > I extended the browser definition with: > > browser transmit > from: #scripts; > from: #categories; > to: #methods; > when: [ :a :b | a isMeta not ]; > andShow: [:a | self methodsIn: a ]. > browser transmit >

Re: [Pharo-users] Glamour: update presenter with new text

2017-07-05 Thread Nicolai Hess
2017-07-05 19:43 GMT+02:00 Juraj Kubelka : > I think the issue is how to update a browser when a method is modified. > There is a script: > > -=-=-=-=- > browser := GLMTabulator new > column: #one; > column: #two; > column: #three; > yourself. > browser transmit to: #one; andShow: [ :composite | >

Re: [Pharo-users] The method Form>>rotateBy: slows down if applied several times to the same form

2017-07-10 Thread Nicolai Hess
2017-07-04 23:54 GMT+02:00 Matteo via Pharo-users < pharo-users@lists.pharo.org>: > > > -- Weitergeleitete Nachricht -- > From: Matteo > To: "Pharo is welcome (ML)" > Cc: > Bcc: > Date: Tue, 4 Jul 2017 23:54:06 +0200 > Subject: The method Form>>rotateBy: slows down if applied sev

Re: [Pharo-users] The method Form>>rotateBy: slows down if applied several times to the same form

2017-07-15 Thread Nicolai Hess
2017-07-11 20:59 GMT+02:00 Matteo : > > > On 10/07/17 21:54, Nicolai Hess wrote: > > > > 2017-07-04 23:54 GMT+02:00 Matteo via Pharo-users < > pharo-users@lists.pharo.org>: > >> >> >> -- Weitergeleitete Nachricht -- >> Fr

Re: [Pharo-users] How to run a window in full-screen mode?

2017-07-17 Thread Nicolai Hess
2017-07-17 15:50 GMT+02:00 Luke Gorrie : > Hoi! > > I am looking for a way to run a window in full-screen mode in Pharo. That > is it should maximize, beyond the bounds that the expand button usually > takes, and it should automatically resize when the world does. > > I'm thinking of the GTInspect

Re: [Pharo-users] could not find module vm-display-X11

2017-07-19 Thread Nicolai Hess
Looks like libgl is the issue Am 19.07.2017 9:47 vorm. schrieb "Hilaire" : > Hi, > > It does not work on a new installed system. It is related to the installed > system, other report it to me with the same system > > Le 19/07/2017 à 00:01, Alistair Grant a écrit : > > Is this something that was

Re: [Pharo-users] Pharo 6, scrolling with 2 fingers on a Mac trackpad is very erratic

2017-07-23 Thread Nicolai Hess
2017-07-23 17:41 GMT+02:00 Tim Mackinnon : > Hi - I’m wondering if anyone else has noticed that in Pharo 6, when you > scroll on a MacBook trackpad with 2 fingers, that strange things happen, > particularly if you do it quickly. > > For example, in a system browser if you expand the configurations

Re: [Pharo-users] Issue with the --headless option on Windows 10

2017-07-26 Thread Nicolai Hess
2017-07-26 11:53 GMT+02:00 Sven Van Caekenberghe : > > > On 25 Jul 2017, at 19:46, Cyril Ferlicot D. > wrote: > > > > Le 25/07/2017 à 19:37, Sven Van Caekenberghe a écrit : > >> Hi, > >> > >> User Herby Vojčík seems to have an issue with the --headless option on > Windows 10 > >> > >> https://pha

Re: [Pharo-users] Issue with the --headless option on Windows 10

2017-07-26 Thread Nicolai Hess
2017-07-26 12:09 GMT+02:00 : > > > On July 26, 2017 11:53:41 AM GMT+02:00, Sven Van Caekenberghe < > s...@stfx.eu> wrote: > > > >> On 25 Jul 2017, at 19:46, Cyril Ferlicot D. > > wrote: > >> > >> Le 25/07/2017 à 19:37, Sven Van Caekenberghe a écrit : > >>> Hi, > >>> > >>> User Herby Vojčík seems t

Re: [Pharo-users] Issue with the --headless option on Windows 10

2017-07-26 Thread Nicolai Hess
2017-07-26 13:08 GMT+02:00 Herby Vojčík : > Nicolai Hess wrote: > >> >> >> 2017-07-26 12:09 GMT+02:00 mailto:he...@mailbox.sk>>: >> >> >> >> On July 26, 2017 11:53:41 AM GMT+02:00, Sven Van Caekenberghe >> mailto:s...@stfx.eu&

Re: [Pharo-users] Issue with the --headless option on Windows 10

2017-07-26 Thread Nicolai Hess
2017-07-26 13:16 GMT+02:00 Herby Vojčík : > Nicolai Hess wrote: > >> >> >> 2017-07-26 13:08 GMT+02:00 Herby Vojčík > <mailto:he...@mailbox.sk>>: >> >> Nicolai Hess wrote: >> >> >> >> 2017-07-26 12:0

Re: [Pharo-users] Loading PharoJS Re: PharoJS

2017-08-16 Thread Nicolai Hess
Hi Pierce 2017-06-25 13:07 GMT+02:00 Pierce Ng : > Just tried loading PharoJS with this snippet: > > Gofer it > smalltalkhubUser: 'noury' project: 'PharoJS'; > configuration; > loadStable > > Loaded cleanly on a fresh 32-bit Pharo-50772 image. Ran almost half the > tests > during wh

Re: [Pharo-users] Pharo 6.1 debugger - suggestions break once, does funny things?

2017-09-12 Thread Nicolai Hess
2017-09-11 1:26 GMT+02:00 Tim Mackinnon : > While I’m on a debugger trip… anyone else also notice that the > Suggestions, Break once debug option acts weirdly? I seem to get a debugger > but it halts several lines after where I have said, and if I start stepping > the debugger seems to jump to fun

Re: [Pharo-users] Iceberg and proxy

2017-10-04 Thread Nicolai Hess
2017-10-03 20:58 GMT+02:00 Guillermo Polito : > Well, LGitFetchOptions has a proxy options property of type LGitProxyOptions, > and this one a property type of type LGitProxyTypeEnum. I did not try it > but maybe it should look something like: > > fetchOptions prim_proxy_opts prim_type: LGitProxyT

Re: [Pharo-users] [Ann] PharoLauncher v1.0.1 released!

2017-10-07 Thread Nicolai Hess
Just starting pharolauncher on windows still does not work (if you put it into the default "program" folder). On start, it tries to create a local direcitory "pharo-local" and does not have the permission to do so. You need to start it with admin-rights. 2017-10-06 22:43 GMT+02:00 Gabriel Cotelli

Re: [Pharo-users] [Ann] PharoLauncher v1.0.1 released!

2017-10-07 Thread Nicolai Hess
2017-10-07 9:38 GMT+02:00 Nicolai Hess : > Just starting pharolauncher on windows still does not work (if you put it > into the default "program" folder). > On start, it tries to create a local direcitory "pharo-local" and does not > have the permission to do so. &

Re: [Pharo-users] Behold Pharo: The Modern Smalltalk

2017-10-12 Thread Nicolai Hess
2017-10-12 9:28 GMT+02:00 Dimitris Chloupis : > > > >> This is what Smalltalk gives you for free. >> > Sorrry for being rude but I wll use the two usually heavily annoying word, > at least for me :D > > It depends > > See there is a problem for Python here. Ideology. > > The zen of python has been

Re: [Pharo-users] Behold Pharo: The Modern Smalltalk

2017-10-13 Thread Nicolai Hess
Am 13.10.2017 5:50 PM schrieb "Andrew Glynn" : I can't remember ever using API docs in *any* language, dynamic or not. They give you the method signatures, but if you have, say, methodX(int, int, String), how are you supposed to guess what ints and what String the method actually needs, Isn't th

Re: [Pharo-users] Behold Pharo: The Modern Smalltalk

2017-10-13 Thread Nicolai Hess
; > Date: Fri, 13 Oct 2017 18:39:59 +0200 > Subject: Re: [Pharo-users] Behold Pharo: The Modern Smalltalk > To: Any question about pharo is welcome > Reply-to: Any question about pharo is welcome us...@lists.pharo.org> > From: Nicolai Hess > > > Am 13.10.2017 5:50 PM schrieb "A

Re: [Pharo-users] Using a TreePresenter

2017-12-10 Thread Nicolai Hess
2017-11-27 20:40 GMT+01:00 Prof. Andrew P. Black : > I'm trying to use a (subclass of a) TreePresenter that is populated with > FileReferences. I see that the current selection is, reasonably enough, a > TreeNodePresenter, so I'm assuming that to *set* a selection > programatically, I'm going to h

Re: [Pharo-users] Athens error

2017-12-26 Thread Nicolai Hess
Running your drgeo.image on a recent linux pharo 64 bit vm gives this error message first: /home/nicolai/devel/pharo/Pharo7.0-32bit-52a28a8.sources. With pharo 7, every (bootstrapped)image needs its own sources file? 2017-12-26 11:59 GMT+01:00 Hilaire : > Just make a drgeo build with latest im

Re: [Pharo-users] Breakpoints in Pharo

2017-12-27 Thread Nicolai Hess
Works for me too (on windows). But sometimes, a change and accept of the current method, does not removes the "Breakpoint"-Icon. So, it looks like there is a breakpoint, but isn't anymore and the code of course does not trigger the debugger. The icon vanishes, if I unselect and select the current m

Re: [Pharo-users] Breakpoints in Pharo

2017-12-27 Thread Nicolai Hess
2017-12-27 10:49 GMT+01:00 Denis Kudriashov : > > 2017-12-27 10:37 GMT+01:00 Nicolai Hess : > >> Works for me too (on windows). >> But sometimes, a change and accept of the current method, does not >> removes the "Breakpoint"-Icon. >> So, it looks like t

Re: [Pharo-users] Is there a way to set form colours using a 'fuzzy' option?

2017-12-28 Thread Nicolai Hess
You can draw a new form with copybits and use your own color mapping. First, I thought there would be a bitblt operation that you could use without explicit calculating the color mapping, a paint operation that would convert a gray-value to an alpha value. But I could find it. In this special cas

Re: [Pharo-users] Running headless on Windows

2017-12-29 Thread Nicolai Hess
2017-12-29 3:07 GMT+01:00 Andrei Stebakov : > Pierce, I tried all of those "no display" options, the result is the same > > On Dec 28, 2017 8:37 PM, "Pierce Ng" wrote: > >> On Wed, Dec 27, 2017 at 04:58:39PM +0100, Cyril Ferlicot D. wrote: >> > On 12/27/2017 04:39 PM, Andrei Stebakov wrote: >> >

Re: [Pharo-users] How to declare a do:[] loop for a matrix to read and acces its elements?

2018-01-15 Thread Nicolai Hess
2018-01-15 15:29 GMT+01:00 Photon : > Hello folks, > > I am trying since yesterday to make a game of life implemenation work. It > looks all ok so far but in can`t figure out the final steps. I think I get > the logic I have to use and if I imagine the code in C++ for example it > would be pretty

Re: [Pharo-users] How to declare a do:[] loop for a matrix to read and acces its elements?

2018-01-15 Thread Nicolai Hess
2018-01-15 18:04 GMT+01:00 Photon : > when I call the countNeighbours method i get an error: the block wants two > arguments but I pass only one. > This is probally because i want to pass x y but only really pass x wich > ends > up being a cell and not the index. > > I still have trouble thinking

Re: [Pharo-users] [Vm-dev] Running headless on Windows

2018-01-18 Thread Nicolai Hess
uld support that. It will keep Windows administrators happy and we >>>> would integrate with >>>> the whole ecosystem (for instance you can start/stop a service using >>>> Windows scripting for >>>> doing backups, etc.) right out of the box. >>>>

Re: [Pharo-users] How can I outsource instance data ?

2018-01-18 Thread Nicolai Hess
2018-01-18 0:24 GMT+01:00 Photon : > Hello, > > I am messing around with an ordered collection of a class wich contains a > matrix. As it the size grew I started to wonder if my code was something > one > should not do or if one would maybe outsource some data. > I don`t know if it`s just in the R

Re: [Pharo-users] Controlling the Pharo window

2014-09-22 Thread Nicolai Hess
NB? on Windows: NBWin32Window getActiveWindow moveWindowX:10 y:10 width:500 height:150 2014-09-22 9:59 GMT+02:00 kilon alios : > Is there a way to move the pharo window around, resize it and generally > control it ? >

Re: [Pharo-users] Controlling the Pharo window

2014-09-22 Thread Nicolai Hess
Another solution could be the HostWindowPlugin. Look at DisplayScreen class >> hostWindow This could be platform independent but I don't know if it works on all platforms: 12231 DisplayScreen hostWindowTitle: not working on Linux (ubuntu) 2014-0

Re: [Pharo-users] FFI examples on Linux don't work

2014-09-22 Thread Nicolai Hess
2014-09-22 18:10 GMT+02:00 p...@highoctane.be : > I've been able to reproduce this. > > Well, my CentOS thing requires me for some reason to put > /usr/lib/libX11.so.6 in the module name (doing these kind of things looks > like usual for lib names with FFI from what I saw from old Squeak threads).

Re: [Pharo-users] Ridiculous we are

2014-09-22 Thread Nicolai Hess
There is a similar issue for windows 13127 can not (always) read permissions for directoryentries on a path with nonascii characters 2014-09-22 23:21 GMT+02:00 Hilaire : > Le 22/09/2014 23:14, p...@highoctane.be a écrit : > > Also, sometimes things

Re: [Pharo-users] FFI examples on Linux don't work

2014-09-22 Thread Nicolai Hess
This is really my point, I sometimes need to pass NULL. >> Annick >> >> Le 22 sept. 2014 à 21:22, Nicolai Hess a écrit : >> >> >> 2014-09-22 18:10 GMT+02:00 p...@highoctane.be : >> >>> I've been able to reproduce this. >>> >>> W

Re: [Pharo-users] [ANN] I stop maintaining the Ubuntu packages

2014-09-24 Thread Nicolai Hess
Count me in. I still have a ubuntu installation. Don't know what I have to do, but I'll try it. 2014-09-24 9:41 GMT+02:00 Damien Cassou : > Dear all, > > I've recently switched my Linux distribution from Ubuntu to NixOS. > This means I can no longer maintain the Ubuntu packages and their PPA > (h

Re: [Pharo-users] FFI on Linux again

2014-09-25 Thread Nicolai Hess
Am 25.09.2014 17:25 schrieb "Annick Fron" : > > Hi, > > I Have tried the following code on Linux , but the call breaks. Is it because of the X11Window structure missing or else ? > > Annick > > testGetOurWindowLocation >"self new testGetOurWindowLocation" > >| display ourWindow aParent

Re: [Pharo-users] How to set a white background with Spec ?

2014-09-26 Thread Nicolai Hess
Changes on a widget attributes can be defined when it is build. To hook into this, use #whenBuiltDo: |t| t:= TextModel new. t whenBuiltDo:[:a | a widget color: Color gray]. t openWithSpec. 2014-09-26 15:51 GMT+02:00 Johan Fabry : > > I have not tried this, I just browsed the documentation, b

Re: [Pharo-users] How to create a package via code correctly ?

2014-10-04 Thread Nicolai Hess
2014-10-04 8:45 GMT+02:00 Esteban Lorenzano : > (RPackage named: 'ABC') register. > > or > > RPackageOrganizer default registerPackage: (RPackage named: 'ABC’). > > or > > RPackageOrganizer default registerPackageNamed: ‘ABC’. > > the 3 ways work (just tested). > If you are not succeeding probably

Re: [Pharo-users] Trouble opening large files

2014-10-14 Thread Nicolai Hess
2014-10-14 6:38 GMT+02:00 Evan Donahue : > Hi, thanks for the reply. > > The response is the same: "MessageNotUnderstood: > False>>humanReadableSIByteSize." > > This happens both to print-it as well as to do-it-and-go. Running the > command on the neighboring "wiki.torrent" torrent file yields the

Re: [Pharo-users] Trouble opening large files

2014-10-14 Thread Nicolai Hess
d be using to build the vm for > the pharo40 image I have been pulling of get.pharo.org? > > Thank you, > Evan > > On Tue, Oct 14, 2014 at 3:02 PM, Nicolai Hess wrote: > >> Rebuild pharo vm with D_FILE_OFFSET_BITS=64 option: >> Reading list directories with (very) l

Re: [Pharo-users] FFI syntax

2014-10-16 Thread Nicolai Hess
Yes, for pharo this is easy. For squeak, it took me some time to get it "working" (at least the tests are green, examples do not work). 2014-10-16 8:49 GMT+02:00 Torsten Bergmann : > >I can not even find up to date information on how to *install* current > >working FFI > > In Pharo 3.0 open the

Re: [Pharo-users] Meaning of icons in Nautilus

2014-10-18 Thread Nicolai Hess
2014-10-18 4:57 GMT+02:00 nacho <0800na...@gmail.com>: > Hi there! > I was wondering about the meaning of some of the icons in Nautilus. > I know C stands for Class T for Trait but there are some that I don't know. > For instance those classes that have three dots (orange, green and yellow). > Als

Re: [Pharo-users] Meaning of icons in Nautilus

2014-10-18 Thread Nicolai Hess
t find Icons in the Help Browser. > I'm using Pharo 3.0 > Thanks! > > > *Lic. Ignacio Sniechowski, MBA* > *Prosavic SRL* > > > > > > > > > > > > > > > > > > > > > > > > > > On Sat, Oct 18, 2014 at 6:38 A

Re: [Pharo-users] How to force FFI to load a library

2014-10-22 Thread Nicolai Hess
2014-10-22 14:50 GMT+02:00 Annick Fron : > Hi, > > I have one library which depends from another one. > How can I force pharo to load the dependent library ? > > Annick > > I don't think it is necessary to force pharo to load the libraries. AFAIR the VM on linux uses dlopen() to load a module and

Re: [Pharo-users] Athens do not work on Image 40316+

2014-10-22 Thread Nicolai Hess
2014-10-23 0:16 GMT+02:00 Jan Blizničenko : > Hello > > On image 40315 everything working. > On image 40316-40320 (latest) parts of Athens do not work, tried by running > Athens Tutorial and Roassal 2, which are both based on Athens. > Problem is on both Windows and Linux (unable to test on any Ma

Re: [Pharo-users] Athens do not work on Image 40316+

2014-10-23 Thread Nicolai Hess
2014-10-23 8:50 GMT+02:00 Jan Blizničenko : > Nicolai Hess wrote > > I think you can skip the first part: "ConfigurationOfAthens loadVersion: > > '2.0'." > > because Athens is already in the image and the version on smalltalkhub is > > not > &g

Re: [Pharo-users] Athens do not work on Image 40316+

2014-10-23 Thread Nicolai Hess
2014-10-23 10:04 GMT+02:00 Jan B. : > Ok, I give up, it seems like gods just don't like me. I'm gonna stick with > 40315. > Never give up! Be sure you have a valid PharoV30.sources file. > > Thanks for your time > Jan > > > > -- > View this message in context: > http://forum.world.st/Athens

Re: [Pharo-users] Slow at browsing

2014-10-25 Thread Nicolai Hess
Maybe this one: 12535 To many updates on the methods list 2014-10-25 12:06 GMT+02:00 Thierry Goubier : > Hi Hilaire, > > maybe profiling could show something. Nautilus could benefit from some > love in making it faster :) > > I know that my browser,

Re: [Pharo-users] AST tokens question

2014-10-28 Thread Nicolai Hess
2014-10-27 19:36 GMT+01:00 Mark Rizun : > Hi all, > > Trying to understand here how tokens are used in AST. > So far I can not see any order in usage of tokens. > For instance, why RBValueNode doesn't have token? Is it haow it's supposed > to be? > RBValueNode is an abstract class. > > Cheers,

Re: [Pharo-users] Zoomable & Infinitely scrollable PasteupMorph

2014-11-02 Thread Nicolai Hess
2014-11-02 15:22 GMT+01:00 Thierry Goubier : > Le 02/11/2014 15:15, stepharo a écrit : > >> >> I gave up on zoomability (with the idea to revisit after Athens is >>> integrated), >>> >> >> Athens is integrated. Now if the community does not help redefining the >> drawnOn: methods using athens the

Re: [Pharo-users] Bug? in Filein

2014-11-02 Thread Nicolai Hess
2014-10-31 0:11 GMT+01:00 José Comesaña : > I see. But WATestError it is in the same package it is "Fileing", on line > 3284 and is referenced many times before. I am sorry I have not enough > knowledge about the internals to do more debugging. > > Seems to be a lack of coordination between FileOu

Re: [Pharo-users] Bug? in Filein

2014-11-02 Thread Nicolai Hess
Actually it is a bug in FileOUT! 14377 <https://pharo.fogbugz.com/default.asp?14377> FileOut creates invalid comment entries for classes with class side methods 2014-11-02 17:42 GMT+01:00 Nicolai Hess : > 2014-10-31 0:11 GMT+01:00 José Comesaña : > >> I see. But WATestError

Re: [Pharo-users] Bug? in Filein

2014-11-04 Thread Nicolai Hess
Fixed and integrated (pharo 40350) I'll open another issue for backporting to pharo3 2014-11-02 22:24 GMT+01:00 Nicolai Hess : > Actually it is a bug in FileOUT! > > 14377 <https://pharo.fogbugz.com/default.asp?14377> > FileOut creates invalid comment entries for classes

Re: [Pharo-users] Bug? in Filein

2014-11-05 Thread Nicolai Hess
14405 <https://pharo.fogbugz.com/default.asp?14405> (backport pharo3) FileOut creates invalid comment entries for classes with class side methods fix in pharo3inbox 2014-11-04 22:51 GMT+01:00 Nicolai Hess : > Fixed and integrated (pharo 40350) > I'll open another issue for back

Re: [Pharo-users] FileBrowser confusion

2014-11-06 Thread Nicolai Hess
2014-11-06 23:25 GMT+01:00 Tudor Girba : > Hi, > > > On Thu, Nov 6, 2014 at 10:50 PM, Peter Uhnák wrote: > >> > It is indeed known that Pharo cannot open files larger than 4GB (even >> that after you setup the VM specifically). >> It seems like Pharo bug >> >> 1. FileReference>>gtInspectorItemsIn

[Pharo-users] question on syntax "negate numbers"

2014-11-08 Thread Nicolai Hess
Old compiler refuses to accept this code: - 4 @ -5 ^-- nothing more expected Opal compiler does just fine: - 4 @ -5 -> (-4@ -5) who is right?

Re: [Pharo-users] question on syntax "negate numbers"

2014-11-21 Thread Nicolai Hess
2014-11-10 12:47 GMT+01:00 Werner Kassens : > >3 @ - 5 is what I object to (and Opal allows) > with this i have no problems, it follows simple obvious rules as long as > one knows that #@ cant be an unary operator. > >is 4 - 5 two literals, or is it two literals separated by the - operator ? > bu

Re: [Pharo-users] question on syntax "negate numbers"

2014-11-22 Thread Nicolai Hess
2014-11-22 13:23 GMT+01:00 Werner Kassens : > >Thanks for all the answers, > >so, for better portability, maybe we should dissallow opals current > behavior > >and only accept "-5" and not "- 5" as negative numbers? > > Hi Nicolai, > perhaps. if you mean portability pharo->otherLanguage certainly.

Re: [Pharo-users] layout and other potential class-side variables

2014-11-23 Thread Nicolai Hess
2014-11-23 15:15 GMT+01:00 Peter Uhnák : > So I accidentally assigned some content to 'layout' variable in class side > and realized much later that it has overridden some Slot's FixedLayout. > > Looking up the inheritance chain (Object & ProtoObject) I couldn't find > anything so I don't know whe

Re: [Pharo-users] TextModel arrows controls

2014-11-24 Thread Nicolai Hess
2014-11-24 18:29 GMT+01:00 Mark Rizun : > Hello! > > I stumbled on a strange problem, when was using TextModel widget. > The problem is that I can't control I-beam pointer with arrow keys inside > of > TextModel. > They just do not work. Maybe I have to set some methods? > No other methods are ne

Re: [Pharo-users] Emergency evaluator and GTGenericStackDebugger

2014-12-07 Thread Nicolai Hess
Hi, what image do you use? If it is pharo4, you can open the settings (World menu>System>Settings) and disable GT playground and inspector (Glamorous Toolkit settings) 2014-12-07 6:08 GMT+01:00 Edward Povazan : > Hello, > > I’ve been using Pharo for a while as my playground for trying things

Re: [Pharo-users] modifying the compiler adding an alias for :=

2014-12-10 Thread Nicolai Hess
2014-12-10 13:32 GMT+01:00 Erik Itter : > Thanks, tried > > scanSpecialCharacter > | character | > currentCharacter = $: > ifTrue: [ > self step. > ^ currentCharacter = $= > ifTrue: [ > self step. > RB

Re: [Pharo-users] Problem with Spec icon

2014-12-14 Thread Nicolai Hess
2014-12-14 20:26 GMT+01:00 Tommaso Dal Sasso : > > I have a weird behavior building an interface with Spec. > > I have a window built with Spec, and I want to add a button that shows a > dialog with some text. > To display the dialog I use the following line: > > UIManager default longMessage: 'a t

Re: [Pharo-users] Problem with Spec icon

2014-12-14 Thread Nicolai Hess
2014-12-14 22:14 GMT+01:00 Tommaso Dal Sasso : > > > On 14/12/14 21:44, stepharo wrote: > >> I got the same problem when I put an Halt pressing on any button leads to >> the opening of the same UI. >> I wonder if there is not an interaction between spec and the UI modal >> opening. >> I read the co

Re: [Pharo-users] Problem with Spec icon

2014-12-14 Thread Nicolai Hess
2014-12-14 23:52 GMT+01:00 Tommaso Dal Sasso : > > > On 14/12/14 22:59, Nicolai Hess wrote: > >> 2014-12-14 22:14 GMT+01:00 Tommaso Dal Sasso > <mailto:tommaso.dalsa...@gmail.com>>: >> >> >> On 14/12/14 21:44, stepharo wrote: >> >>

Re: [Pharo-users] Question about Morphic in Pharo 4

2014-12-19 Thread Nicolai Hess
Spec is all about *composing* models. If you want a GUI with many UI elements and try to build this with a single model, spec won't be much help. 2014-12-19 20:54 GMT+01:00 kilon alios : > > "Can you help me understand?" > > sure take this simple example I want to add a button for choosing > backg

Re: [Pharo-users] Spec: "pluggable" widgets / label-input layout?

2014-12-20 Thread Nicolai Hess
2014-12-20 5:49 GMT+01:00 Daniel Lyons : > Supposing I have a domain model, Activity, which looks like this: > > Object subclass: #Activity > instanceVariableNames: 'title cost' > classVariableNames: '' > category: 'PERT' > > Then I have the expected accessors for title and

Re: [Pharo-users] Spec: "pluggable" widgets / label-input layout?

2014-12-20 Thread Nicolai Hess
The spec part of your question: 2014-12-20 5:49 GMT+01:00 Daniel Lyons : > Supposing I have a domain model, Activity, which looks like this: > > Object subclass: #Activity > instanceVariableNames: 'title cost' > classVariableNames: '' > category: 'PERT' > > Then I have the

Re: [Pharo-users] Question about Morphic in Pharo 4

2014-12-20 Thread Nicolai Hess
This is how I would do it. (see attachement) What do you say? Is it clearer now what I meant with compose and reusable models? I am curios how would a pure morphic based solution look like. As it is just a simple dialog, I think the pure morphic version would be similar (in code size) and of cour

Re: [Pharo-users] How to open the Settings style dialog?

2014-12-20 Thread Nicolai Hess
2014-12-15 17:15 GMT+01:00 Rafael Luque : > Hi all, > > I was reading about the Settings framework (Deep Into Pharo, chapter 5) > and I don't find the way to popup the style dialog shown in Figure 5.11 in > page 71 ( > https://books.google.es/books?id=Qki8BQAAQBAJ&lpg=PA68&dq=pharo%20the%20style%2

Re: [Pharo-users] CrossMorph in PBE and compositing bug

2014-12-27 Thread Nicolai Hess
2014-12-27 4:10 GMT+01:00 Edward Povazan : > Thanks. It does work to add a little alpha to the colour, but is there no > other way? > If I want a solid colour, then what? I should be able to say “this is a > weird shaped morph, not a rectangle”, but not seeing it. > > -Ed > Hi Edward There are tw

Re: [Pharo-users] Problem with bugtracker

2015-01-05 Thread Nicolai Hess
Hi Mark, I reviewed some of your changes for that issue, but it was difficult, because you made some new changes and it wasn't clear when it is ready or what was the original error and if it is solved now. you can set the state to "resolved" again and wait for the monkey to do the validation agai

Re: [Pharo-users] Code highlight

2015-01-19 Thread Nicolai Hess
2015-01-19 14:36 GMT+01:00 Mark Rizun : > Hi everyione, > > When one selects piece of code in any code editor pane, every other same > piece is highlighted with less bright color. > I'm using spec to build a UI and would like to know which event is > responsible for this highlihts. > This is in T

Re: [Pharo-users] Centering a Label with Spec

2015-01-21 Thread Nicolai Hess
Hi Piotr, like you already found out, you can use whenBuiltDo: But instead of using #hResizing: , which is not explicit in specs api you can call the method hShrinkWrap (look in AbstractMorphicAdapter, protocol 'protocol'). Here is a small example with centering a label: | ui layout | ui :

pharo-users@lists.pharo.org

2015-01-24 Thread Nicolai Hess
Hi Piotr 2015-01-24 20:24 GMT+01:00 Piotr Klibert : > Haha, ok, that's not exactly the answer I was hoping for, but well, I > can't say it was a complete surprise ;-) > > I'll try grokking drag&drop implementation in Pharo next week and > doing something with it. In my app I'm going to have one

Re: [Pharo-users] pharo _looks_ good, but can be improved ...

2015-01-25 Thread Nicolai Hess
Am 25.01.2015 16:20 schrieb "Esteban Lorenzano" : > > But next year we will have an Athens based UI, so the performance will improve dramatically :) Yes? What? Bloc or morphic on top of athens ? And what makes you think, Athens is fast er? > Real problem is to invest time (and talent) to improve

Re: [Pharo-users] Pharo Sound of Silence

2015-01-25 Thread Nicolai Hess
on what platform ? linux , mac or windows? 2015-01-25 17:55 GMT+01:00 Evan Donahue : > Hello, > > I'm trying to get sounds working in Pharo and I seem to be unable to > locate a combination of PharoExtras/Sound and image/vm version that add up > to audible sound. > > The best I've done so far is

Re: [Pharo-users] UI framework&design options

2015-01-25 Thread Nicolai Hess
2015-01-25 18:52 GMT+01:00 Sebastian Heidbrink : > Okay, I am new to the UI implementations and options in the Pharo > world and I am really confused. > > So, am I right to say. > - Polymorph is no more really the way to go? > - Spec is the official way to go right now? > - Roassal2 is the wa

Re: [Pharo-users] Pharo Sound of Silence

2015-01-25 Thread Nicolai Hess
I don't know exaclty why we don't build the pulse audio plugin for pharo. But you can take a squeak vm (Squeak-4.3-all-in-one) for example and copy the Squeak-4.3-All-in-One/Contents/Linux-i686/lib/squeak/4.4.7-2357/so.vm-sound-pulse in your pharo-vm directory pharo-vm/vm-sound-pulse after that, s

Re: [Pharo-users] Making the halo around windows preview more contrasted

2015-01-26 Thread Nicolai Hess
2015-01-07 18:20 GMT+01:00 Offray Vladimir Luna Cárdenas : > Hi all, > > As usual, when I put the mouse over the name of a window, a small preview > appears with a grey allow with the full name of the window, but letters are > white surrounded by a pale grey making the full name really difficult

Re: [Pharo-users] Pharo Sound of Silence

2015-01-26 Thread Nicolai Hess
2015-01-26 11:45 GMT+01:00 Xavier MESSNER : > Hi, > > I have written a chapter which explain how to have sound in Pharo. > You can read it here > < > https://github.com/SquareBracketAssociates/PharoReadyForReviews/tree/master/Sound > > > . > > In fact all you have to do is to disable pulse-audio

Re: [Pharo-users] Pharo Sound of Silence

2015-01-26 Thread Nicolai Hess
2015-01-26 17:10 GMT+01:00 Xavier MESSNER : > Hi, > > > > We should discuss how to solve this. Neither "copy the squeak plugin", > nor > > "disabe pulse-audio", > > is a good solution. > > The two methods can be used. But I think the best is not to use the plugin. > If the plugin is changing and i

Re: [Pharo-users] Waiting object

2015-01-27 Thread Nicolai Hess
2015-01-27 19:46 GMT+01:00 Laura Risani : > Hi all, > > I need an object/method like this one > > Waiting>> wait : seconds > "i take the flow control during 'seconds' without halting image morphs > stepping/handling (as Delay>>wait: does) and then return to the sender " > Hi Laura, Delay>>wait:

Re: [Pharo-users] Implementing text navigation shortcuts

2015-01-29 Thread Nicolai Hess
2015-01-29 23:06 GMT+01:00 Laura Risani : > Hi all, > > I like to implement a keyboard shortcut for, while editing any text, move > the text pointer to the next position after $: . > > Seems that the base of all text editing is the class > #TextMorphForEditView. I see there there is an instance va

Re: [Pharo-users] Code completion differences at browser and workspace

2015-01-29 Thread Nicolai Hess
2015-01-29 22:06 GMT+01:00 Laura Risani : > Hi all, > > I've noticed that the code completition tool shows a different list if > brought up at a workspace or at a system browser. Particulary workspace's > completition list is broader than browser's one. > > For instance if while writting a method

Re: [Pharo-users] New versions of the Pharo Launcher for Windows and MacOS

2015-01-30 Thread Nicolai Hess
2015-01-30 14:57 GMT+01:00 Martin Bähr : > Excerpts from Damien Cassou's message of 2015-01-20 14:58:58 +0100: > > http://www.smalltalkhub.com/#!/~Pharo/PharoLauncher > > is this a good place to bug you with feature requests? > > i'd like to see a cache of the downloaded images so that i can creat

Re: [Pharo-users] Supply named temporaries to Compiler>>#evaluate:...

2015-02-04 Thread Nicolai Hess
2015-02-04 18:48 GMT+01:00 Sean P. DeNigris : > I want to be able to evaluate a string like '2 + arg1' and supply anObject > for arg1 to the compiler. > > I naively tried: > | aContext | > aContext := thisContext copy > tempNamed: 'arg1' put: 1; > yourself. > Compiler evaluate: '2

Re: [Pharo-users] Canvas Transform Goes Haywire if Scaled

2015-02-05 Thread Nicolai Hess
2015-02-05 6:29 GMT+01:00 Sean P. DeNigris : > The following works as I expect: > > morph := Morph new > topLeft: 200@400; > openInWorld. > > outputRect := morph fullBounds. > canvas := Display defaultCanvasClass extent: outputRect extent > d

Re: [Pharo-users] RadarMorph (was Re: Canvas Transform Goes Haywire if Scaled)

2015-02-05 Thread Nicolai Hess
2015-02-05 19:06 GMT+01:00 Sean P. DeNigris : > Nicolai Hess wrote > > What do you want to achieve? > > I've created an infinite desktop a la Self. To make things manageable, I'm > currently writing a RadarView (also just like Self) to show a map of all > the &g

Re: [Pharo-users] Relationship between Morph and Canvas

2015-02-06 Thread Nicolai Hess
Hi Nacho, 2015-02-06 22:32 GMT+01:00 nacho <0800na...@gmail.com>: > Hi, > I've been digging and inspecting all the classes related to Morphic. But > there's something that I don't happen to figure out. > Morph has a method > drawOn: aCanvas > aCanvas fillRectangle: self bounds fillStyle:

  1   2   3   4   5   >