[Pharo-users] [ANN] Bugfixes for Metacello github .zip issues

2016-07-29 Thread Dale Henrichs
For additional details see the pull request[4]. Bugfixes 1. Issue #405[1] : Github .zip download not downloaded to |/tmp| as expected ... Pharo-5.0 (& 6.0) 2. Issue #406[2]

Re: [Pharo-users] Programmatic generation of new class

2016-07-29 Thread Brad Selfridge
I forgot to mention that I'm working in Pharo 4.0. I changed the "package:" parameter to "category:" and it worked like a charm. I guess that I need to move up to Pharo 5.0 pretty soon. - Brad Selfridge -- View this message in context: http://forum.world.st/Programmatic-generation-of-new-c

Re: [Pharo-users] OpenGLES2 binding available!

2016-07-29 Thread Thibault Raffaillac
+1 for your analysis! > One of the biggest issue of OpenGL is related with vsync, which is an > operation that can block all of the Pharo processes. It does indeed, but is one way to sync with display rate (until we get threaded FFI of course then a thread can handle the wait). Currently we hav

Re: [Pharo-users] switching to metadata-less gitfiletree

2016-07-29 Thread Peter Uhnak
On Fri, Jul 29, 2016 at 06:58:02PM +0200, Thierry Goubier wrote: > Hi Peter, > > Le 29/07/2016 à 18:05, Peter Uhnak a écrit : > > Hi, > > > > I've followed this thread > > http://forum.world.st/How-do-I-convert-a-FileTree-project-to-Metadataless-GitFileTree-project-td4903920i20.html > > to switch

Re: [Pharo-users] Programmatic generation of new class

2016-07-29 Thread Clément Bera
On old versions of Pharo you need to use: #subclass:instanceVariableNames:classVariableNames:poolDictionaries:package: That might be it. On Fri, Jul 29, 2016 at 6:14 PM, Peter Uhnak wrote: > Can you show the full trace? Because I am regularly doing something > similar without any problems. > In

Re: [Pharo-users] switching to metadata-less gitfiletree

2016-07-29 Thread Thierry Goubier
Hi Peter, Le 29/07/2016 à 18:05, Peter Uhnak a écrit : Hi, I've followed this thread http://forum.world.st/How-do-I-convert-a-FileTree-project-to-Metadataless-GitFileTree-project-td4903920i20.html to switch to metadata less format, Specifically: 1. change `.filetree` file, 2. load the repo to

Re: [Pharo-users] Programmatic generation of new class

2016-07-29 Thread Ben Coman
On Fri, Jul 29, 2016 at 10:05 PM, Brad Selfridge wrote: > I'm trying to programmatically generate a new class, but am getting the > following error: > > DynamicDescriptorSystem class(Object)>>doesNotUnderstand: > #subclass:instanceVariableNames:classVariableNames:package: > > This is the method th

Re: [Pharo-users] Programmatic generation of new class

2016-07-29 Thread Peter Uhnak
Can you show the full trace? Because I am regularly doing something similar without any problems. In fact if I copy/paste your code (and just change the classes that I have) it works fine. Btw. did you override such methods in your system? Peter On Fri, Jul 29, 2016 at 07:05:04AM -0700, Brad S

Re: [Pharo-users] Programmatic generation of new class

2016-07-29 Thread Blondeau Vincent
Hi, The parentheses are not useful here: the unary message send (asSymbol) is made before the keyword one (subclass:instanceVariableNames:classVariableNames:package☺ I tried : Object subclass: 'Foo' asSymbol instanceVariableNames: '' classVariableNames: '' package: 'AAA' asString On a fresh P

[Pharo-users] switching to metadata-less gitfiletree

2016-07-29 Thread Peter Uhnak
Hi, I've followed this thread http://forum.world.st/How-do-I-convert-a-FileTree-project-to-Metadataless-GitFileTree-project-td4903920i20.html to switch to metadata less format, Specifically: 1. change `.filetree` file, 2. load the repo to a clean image 3. make a change to each package and comm

Re: [Pharo-users] Programmatic generation of new class

2016-07-29 Thread Mark Bratcher
Try putting parentheses around `aDescriptorSystemClassName asSymbol`: descriptorSystem := DynamicDescriptorSystem subclass: (aDescriptorSystemClassName asSymbol) instanceVariableNames: '' classVariableNames: ''

[Pharo-users] Programmatic generation of new class

2016-07-29 Thread Brad Selfridge
I'm trying to programmatically generate a new class, but am getting the following error: DynamicDescriptorSystem class(Object)>>doesNotUnderstand: #subclass:instanceVariableNames:classVariableNames:package: This is the method that I'm trying to execute: buildNewDescriptorSystemUsing: aDescript

Re: [Pharo-users] "self problem" with Ghost (virus)

2016-07-29 Thread Denis Kudriashov
Thank's Ben. 2016-07-29 13:11 GMT+02:00 Ben Coman : > > Your use of that last term to describe this indicates > GHObjectInterceptor might be a reasonable alternative. Though perhaps > that sounds like its intercepting Objects when its intercepting > Messages. So maybe GHMessageInterceptor(??)

Re: [Pharo-users] "self problem" with Ghost (virus)

2016-07-29 Thread Ben Coman
On Thu, Jul 28, 2016 at 10:21 PM, Denis Kudriashov wrote: > > 2016-07-28 12:56 GMT+02:00 Esteban Lorenzano : >> >> I do not like either the “virus” name. >> not just because is negative in a subjective way… also it hides what it >> does inside a fantasy name, and that IMO is negative to self disco