Re: [Pharo-users] STON wtf parsing

2015-07-05 Thread Peter Uhnák
Ok but how does the parser knows whether the input is multiexpression or an error? I mean it stops parsing in the middle of the string which seems really weird to me. Peter On Sun, Jul 5, 2015 at 3:28 PM, Sven Van Caekenberghe wrote: > Hi Peter, > > > On 05 Jul 2015, at 14:36,

[Pharo-users] Clearing objects from .changes

2015-07-06 Thread Peter Uhnák
Is it possible to remove all references to a class after it has been removed everywhere? For example I can delete all classes of package 'Roassal2-Builder-Grapher' ~ pkg := RPackageOrganizer default packageNamed: 'Roassal2'. grapherTag := pkg classTags detect: [ :e

Re: [Pharo-users] Clearing objects from .changes

2015-07-06 Thread Peter Uhnák
gt; > << I create a new more compact changes files with a single version of each > method in the image. >> > > > On 06 Jul 2015, at 11:08, Peter Uhnák wrote: > > > > Is it possible to remove all references to a class after it has been > removed everyw

Re: [Pharo-users] Kivy

2015-07-06 Thread Peter Uhnák
> > > In addition the widgets as such might be rendered differently for > > different platforms (in Smalltalk in one of the GUI frameworks, an > > example was Squeak Morphic and MVC ) or outside (e.g. Kivy). > > > > @Hilaire, what do you think is outstanding of special about Kivy? > > > > I think t

Re: [Pharo-users] Kivy

2015-07-06 Thread Peter Uhnák
> > http://scg.unibe.ch/archive/phd/renggli-phd.pdf Argh where do you find the time to read all these papers, and books, and everything? :-( There must be some dark sorcery involved.

Re: [Pharo-users] Request to put up my under-development application for automated build

2015-07-09 Thread Peter Uhnák
As I've been through this just a week ago... 1. register for CI https://ci.inria.fr/ 2. request participation in pharo-contribution 3. _read documentation_ 4. https://ci.inria.fr/pharo-contribution/job/JobTemplate/ (4b. get inspired by configuration of other projects if needed) 5. ??? 6. profit

Re: [Pharo-users] Request to put up my under-development applicationfor automated build

2015-07-13 Thread Peter Uhnák
That's because you requested "Pharo" and not "pharo-contribution" (should have been the latter). Peter On Mon, Jul 13, 2015 at 2:36 PM, Jigyasa Grover wrote: > YES, I did receive an email stating :- > > *"Hi Jigyasa Grover, > Your request to join the project Pharo has been accepted ! > > Regard

Re: [Pharo-users] Request to put up my under-development applicationfor automated build

2015-07-13 Thread Peter Uhnák
Um... I don't know. I didn't have such problems. Maybe try logging out and back? Apart from that I cannot help. :( So hopefully someone who knows what's going on will read this, or you can write to ci-inria mailing list. Peter On Mon, Jul 13, 2015 at 2:56 PM, Jigyasa Grover wrote: > *Access Den

Re: [Pharo-users] Rectangle center rounding

2015-07-18 Thread Peter Uhnák
The discussion was that Rectangle is used by Morphic which uses integer coordinates so rounding is required. I think the idea was to split the two classes? Peter On Sat, Jul 18, 2015 at 9:50 AM, Stephan Eggermont wrote: > On 17/07/15 18:16, Jan Blizničenko wrote: > >> Shouldn't the rounded meth

Re: [Pharo-users] Where do I find Bloc and how do I load it?

2015-07-18 Thread Peter Uhnák
Bloc & Brick http://ws.stfx.eu/F4DRC0CVSDII Peter On Sat, Jul 18, 2015 at 10:58 PM, H. Hirzel wrote: > Hello > > Where do I find Bloc and how do I load it? > > http://smalltalkhub.com/#!/~Bloc:-( > > Regards > > Hannes > >

[Pharo-users] GitFileTree browsing changes doesn't work in Pharo 5

2015-07-18 Thread Peter Uhnák
Hi, when I wanted to see package changes in Pharo 5 (with GitFileTree from MetaRepoFor5.0 / loadDevelopment) it died on MCMczReader class>>canReadFileNamed: fileName because "fileName" is actually instance of GitFileTreePackageEntry is it broken, or did I break something? Thanks, Peter

Re: [Pharo-users] GitFileTree browsing changes doesn't work in Pharo 5

2015-07-18 Thread Peter Uhnák
> > Can you wait until tomorrow? Sure. Interestingly enough committing still works. Peter

Re: [Pharo-users] Separate compilation with Pillar?

2015-07-19 Thread Peter Uhnák
I think that the biggest hurdle is LaTeX... so for example I disabled latex exports (since I was interested from 95% only in HTML), and enabled them only for the final product. Peter On Sun, Jul 19, 2015 at 1:41 PM, Ferlicot D. Cyril wrote: > Le 19/07/2015 11:00, Alexandre Bergel a écrit : > >

Re: [Pharo-users] Rectangle center rounding

2015-07-19 Thread Peter Uhnák
On Thu, Apr 30, 2015 at 9:52 PM, stepharo wrote: > The best would be to have ScaledRectangle but with all vector graphics > operations. > and independent from Rectangle just reimplementing the right part of the > rectangle API. >

Re: [Pharo-users] GitFileTree browsing changes doesn't work in Pharo 5

2015-07-19 Thread Peter Uhnák
Excellent! Works like magic. Thank you for looking into this. :) Peter On Sun, Jul 19, 2015 at 6:14 PM, Thierry Goubier wrote: > Le 19/07/2015 16:09, Peter Uhnák a écrit : > >> 1. downloaded a fresh Pharo (#50174) >> 2. ConfigurationOfGitFileTree loadDevelopment (stabl

[Pharo-users] where to report Telescope bugs?

2015-07-20 Thread Peter Uhnák
Hi, where do I report Telescope bugs? I downloaded latest TL via Pharo Launcher (build #192), but any opening/closing interaction doesn't work. 1. run TLDemos>>exampleCompositeExploringHierarchy 2. click on "+" 3. error MNU SubscriptionRegistry>>subscriptionsDo: Also does this "Work in progress

Re: [Pharo-users] where to report Telescope bugs?

2015-07-20 Thread Peter Uhnák
Btw subscriptionsDo: is added by Roassal2Spec package, which is not loaded into the CI build Also load script here http://rmod.inria.fr/web/software/telescope says its LeoPerard/Telescope while the CI loads Moose/Telescope. Peter On Mon, Jul 20, 2015 at 6:34 PM, Peter Uhnák wrote: >

Re: [Pharo-users] where to report Telescope bugs?

2015-07-20 Thread Peter Uhnák
> > Also does this "Work in progress" >> http://rmod.inria.fr/web/software/telescope/tutorial-visualization-developer >> mean that someone is actually working on it, or that it is planned >> someday = I just use the source code for the foreseeable future (or maybe >> if you have some internal docs

[Pharo-users] (Money) accounting soft in Pharo?

2015-07-21 Thread Peter Uhnák
Hi, is there any (double-entry) accounting software in Pharo? (Think GnuCash/KMyMoney/...) Peter

Re: [Pharo-users] Class side vs instance side

2015-07-23 Thread Peter Uhnák
Cache of the mapping is just an implementation detail. I was referring to the instance of the ==MyRectangle== object; so I am more interested in this from outside perspective --- other objects that will have to use the API... So whether I would call [[[ "class-side methods" MyRectangle oppositeSi

Re: [Pharo-users] Spec with Roassal

2015-07-23 Thread Peter Uhnák
Hi, this has nothing to do with Spec and all to do with Roassal. Roassal uses it's own update mechanism, which you haven't called. view elements when: TRMouseClick do: [ :e | e element color: Color red. "<-- this is unrelated, but don't access trachelShapes directly if Roassal provides API for

Re: [Pharo-users] [OT] Bill Gross: The single biggest reason why startups succeed

2015-07-23 Thread Peter Uhnák
On Thu, Jul 23, 2015 at 4:51 PM, Esteban A. Maringolo wrote: > When I talk to "new programmers" (20-25 years old), almost all of them > don't get attracted by it. > Why? I couldn't tell. Mainly because they can't use the few tools/patterns > they already learnt how to, barely, use. > As someone

[Pharo-users] gitfiletree metadata

2015-07-23 Thread Peter Uhnák
Hi, it seems that I managed to completely fuck up my gitfiletree metadata... e.g.: Ancestors: DynaCASE-PeterUhnak.148, DynaCASE-PeterUhnak.93, DynaCASE-PeterUhnak.144, DynaCASE-PeterUhnak.146, DynaCASE-PeterUhnak.92, DynaCASE-PeterUhnak.142, DynaCASE-PeterUhnak.140, DynaCASE-PeterUhnak.138, DynaC

Re: [Pharo-users] gitfiletree metadata

2015-07-23 Thread Peter Uhnák
already committed. And if I commit it again, only metadata will change (because it was already committed), but the dirty flag will disappear. I have no idea under what circumstances this happens, I thought that maybe I am in different commit... but monticello browser says that I am at the latest o

Re: [Pharo-users] gitfiletree metadata

2015-07-24 Thread Peter Uhnák
> > Check which versions are bold when you open the package. Because when I > use gitfiletree it usually shows me that the latest few versions are not > loaded (they are in bold) but I am anyway on the latest one. As I've said, it shows me that I am on the latest version. Maybe this happens to

Re: [Pharo-users] gitfiletree metadata

2015-07-24 Thread Peter Uhnák
> > >> Sorry for the lack of support on windows. You'll have to wait for >>> libcgit. >> >> >> Is there an estimated timeline when this will be? (weeks, months, years, >> ...?) >> > > I don't know; the lib has been included in the Pharo vm for a long time, > and I remember talks about having it fo

Re: [Pharo-users] gitfiletree metadata

2015-07-24 Thread Peter Uhnák
> Alex, would you be able to show something with Roassal? It would be really > nice to see the overall git history graph overlaid with the graph of the > history of the selected package. > Interesting that if someone else needs it I have no problem writing Roassal scripts etc, but when I need it I

Re: [Pharo-users] gitfiletree metadata

2015-07-24 Thread Peter Uhnák
On Fri, Jul 24, 2015 at 1:13 PM, Thierry Goubier wrote: > > > 2015-07-24 13:04 GMT+02:00 Peter Uhnák : > >> >> Alex, would you be able to show something with Roassal? It would be >>> really nice to see the overall git history graph overlaid with the graph o

Re: [Pharo-users] gitfiletree metadata

2015-07-24 Thread Peter Uhnák
> > I'm not sure how is Pharo 4 related (I do all dev in 5 now). > I should update DynaCASE docs, if that's where you got that impression...

Re: [Pharo-users] gitfiletree metadata

2015-07-24 Thread Peter Uhnák
On Fri, Jul 24, 2015 at 1:24 PM, Thierry Goubier wrote: > > > 2015-07-24 13:19 GMT+02:00 Peter Uhnák : > >> I'm not sure how is Pharo 4 related (I do all dev in 5 now). >>> >> >> I should update DynaCASE docs, if that's where you got that i

[Pharo-users] deprecating classes

2015-07-24 Thread Peter Uhnák
Hi, is there a mechanism for deprecating whole classes? For example there's class RTResizEable that has been replaced by RTResizable (without extra "e") class. But if I don't want to break people's code I would like to tell them that they should use something else. I could mark every method with

Re: [Pharo-users] Personal wiki / information manager

2015-07-24 Thread Peter Uhnák
But Pier is in the browser, no? On Fri, Jul 24, 2015 at 7:06 PM, stepharo wrote: > Hi > > You have pier http://piercms.com > Esteban is thinking about doing a minipier. > > Stef > > Le 24/7/15 15:26, Bystroushaak a écrit : > > Hello. >> >> Is there any software projects/libraries for personal w

Re: [Pharo-users] gitfiletree metadata

2015-07-24 Thread Peter Uhnák
On Fri, Jul 24, 2015 at 10:47 AM, Peter Uhnák wrote: > Check which versions are bold when you open the package. Because when I >> use gitfiletree it usually shows me that the latest few versions are not >> loaded (they are in bold) but I am anyway on the latest one. > > >

[Pharo-users] saving text files from inspector

2015-07-24 Thread Peter Uhnák
Hi, it seems that I cannot save text files from inspector, only if they are smalltalk (.st) files, in which case a different text editor tab (Script, instead of Contents) is opened up. Is this an oversight or an intention? Thanks, Peter

Re: [Pharo-users] saving text files from inspector

2015-07-24 Thread Peter Uhnák
On Fri, Jul 24, 2015 at 10:44 PM, Tudor Girba wrote: > The problem is that if you have a larger text file (let's say 100Mb), > Rubric still takes too long to open. Thus, we cannot show the whole file, > and because of that, we also cannot provide complete editing options. This > will change with

[Pharo-users] Catalog Browser documentation

2015-07-25 Thread Peter Uhnák
Hi, is there somewhere documentation for Catalog Browser? Specifically what everything it offers for configurations... I've seen on class side methods #catalogKeywords, #catalogDescription but since I've haven't found docs (maybe Updated Pharo Book can have?) I don't know what else it offers. Th

Re: [Pharo-users] Personal wiki / information manager

2015-07-27 Thread Peter Uhnák
I think that we would need some better support for text rendering for Pillar to be usable inside Pharo --- that's reason why I gave up on this long ago and am still using html (and js) for myself... and also because of clickable links. Kasper Østerbye did this some time ago ​(original thread http

Re: [Pharo-users] GitFileTree Warning on Pharo 5

2015-07-27 Thread Peter Uhnák
This has been fixed some time ago, but is still in dev branch, so #loadDevelopment should do the trick. Peter On Mon, Jul 27, 2015 at 9:50 PM, Dimitris Chloupis wrote: > I try to install GitFileTree on Pharo and I get this warning > > This package depends on the following classes: StringHolder

[Pharo-users] Announcments vs Events schism

2015-07-27 Thread Peter Uhnák
Hi, is there a good reason why not just rename Announcement to Event since everyone is calling it that anyways? Everybody (almost irrespective of language) understands what an event, whilst Announcement is a new vocabulary. Most people when subclassing will anyways do Announcement subclass: MyEv

Re: [Pharo-users] GitFileTree Warning on Pharo 5

2015-07-27 Thread Peter Uhnák
through conf browser ? >> >> I'll do that. >> >> I'm camping at the moment, so I'm not supposed to do Pharo coding ;) >> >> Thierry >> >> > >> > On Mon, Jul 27, 2015 at 10:58 PM Peter Uhnák wrote: >> >> >>

Re: [Pharo-users] Roassal examples

2015-07-28 Thread Peter Uhnák
On Tue, Jul 28, 2015 at 3:20 PM, Tudor Girba wrote: > Hi, > > Thanks for testing. > > The book is developed on top of the latest Moose (that is version 6.0) so, > perhaps some of the code will not work Moose 5.1. Could you check also with > the latest Moose? > This is not entirely correct since

[Pharo-users] Pillar and Beamer

2015-07-29 Thread Peter Uhnák
Hi, there was a presentation (or show us your project) about Pillar and (LaTeX/)Beamer at ESUG if I am not mistaken. However I don't think there are videos available from the uni, so is more information available somewhere? Thanks, Peter

Re: [Pharo-users] AST visualization with Roassal

2015-07-30 Thread Peter Uhnák
> > I think it's because somewhere in roassal > objects (in this case ast nodes) are compared by value. Pretty much; there is test for equality RTGroup>>elementFromModel: anObject ^ self detect: [ :el | el model = anObject ] ifNone: [ nil ] and equality is more often than not wanted. So so

Re: [Pharo-users] Create maps from an SVG file in Roassal

2015-07-31 Thread Peter Uhnák
On Fri, Jul 31, 2015 at 6:31 PM, François Stephany < tulipe.mouta...@gmail.com> wrote: > Hi there, > > I'm trying to import an SVG file describing the provinces of Belgium in > Roassal. > I've cleaned an SVG file found on wikipedia and trying to import it. > > I'm trying to imitate the way it is d

[Pharo-users] Pillar automatic anchors

2015-07-31 Thread Peter Uhnák
Hi, I would like to resolve this issue: Automatic section anchors: Each section title should automatically generate an implicit hyperlink target (aka, anchor) pointing to the section. The text of the hyperlink target (the "reference name") is the same as that of the section title. however since I

Re: [Pharo-users] Pillar automatic anchors

2015-07-31 Thread Peter Uhnák
On Fri, Jul 31, 2015 at 10:20 PM, Damien Cassou wrote: > Hi Peter, > > Peter Uhnák writes: > > > I would like to resolve this issue: > > Automatic section anchors: Each section title should automatically > generate > > an implicit hyperlink target (aka, anc

Re: [Pharo-users] Create maps from an SVG file in Roassal

2015-08-01 Thread Peter Uhnák
This is Athens-SVG btw (not loaded by default in Pharo, but available in Athens repository). I think Stef mentioned it several times in regards to RTSVGPath. Peter On Sat, Aug 1, 2015 at 11:32 AM, Peter Uhnák wrote: > Hi François, > > I don't think it's worth fi

Re: [Pharo-users] Download only metainfo about mcz when selected

2015-08-01 Thread Peter Uhnák
You can also right click on the package in Monticello Browser (in the left pane), and then select "View History". I wonder why this is not available directly from MCFileRepositoryInspector... Peter On Sun, Jul 19, 2015 at 11:52 AM, Jan Blizničenko wrote: > Thank you, then it seems fastest way

Re: [Pharo-users] Create maps from an SVG file in Roassal

2015-08-01 Thread Peter Uhnák
Hi François, I don't think it's worth fixing in the current implementation, however there is already available SVG importer into Pharo, so I'll try to find a way how to adapt it. It should support regular SVG (circle, rectangle, ...), not just path. Peter On Fri, Jul 31, 2015 at 11:42 PM, Franço

Re: [Pharo-users] Download only metainfo about mcz when selected

2015-08-01 Thread Peter Uhnák
On Sat, Aug 1, 2015 at 1:41 PM, Thierry Goubier wrote: > > Le 1 août 2015 11:39 AM, "Peter Uhnák" a écrit : > > > > You can also right click on the package in Monticello Browser (in the > left pane), and then select "View History". > > Hi Peter

Re: [Pharo-users] Create maps from an SVG file in Roassal

2015-08-01 Thread Peter Uhnák
Hmm, maybe Athens-SVG will not be so simple, because it's paint-only so I would still have to write a lot of stuff around. But maybe we could grab the SVG path lexer that's there (and is better than in Roassal) and use it to simplify and improve current implementation, so even multi-coordinate com

Re: [Pharo-users] Comparison for SequencableCollection

2015-08-02 Thread Peter Uhnák
> > (a b c) = (b a c) if a = b (a b c) < (b a c) if a < b > The semantics are well defined. Since you mentioned JavaScript, you should know that you can't compare arrays with ==, because it does object comparison. No. Sorted collection maintains order of its elements, and I'm talking > about or

Re: [Pharo-users] Comparison for SequencableCollection

2015-08-02 Thread Peter Uhnák
On Sun, Aug 2, 2015 at 6:44 PM, webwarrior wrote: > > On 02.08.2015 19:02, Peter Uhnák [via Smalltalk] wrote: > > > (a b c) = (b a c) if a = b > > > > (a b c) < (b a c) if a < b > > The semantics are well defined. > > > > > >

Re: [Pharo-users] Pillar automatic anchors

2015-08-03 Thread Peter Uhnák
> > Hi Petter! > > I begun a transformer some time ago. His name is "PRAnchorOfSection" > that inherit from "PRNodeTransformer". > For now this transformer is not enable because we need to check some > problems. > Yeah, I started studying this. > For example this works bad if we put a link insid

[Pharo-users] Pillar hyperref and refs numbering

2015-08-03 Thread Peter Uhnák
Hi, I have two questions: 1. Would it be possible to add \usepackage{hyperref} to Pillar pdf output? Because currently all links are invisible (well, not invisible but they look like regular text so if the). So if you have sentence like "Then create a directory named "pharo-vm" and unzip the VM

[Pharo-users] PharoByExample Announcements chapter

2015-08-03 Thread Peter Uhnák
Hi, shouldn't there be Announcements chapter in the new PharoByExampleUpdated book? Because I don't see it there and I think it should be there, since currently I don't see any authoritative source of information for people about Announcements. Thanks, Peter

Re: [Pharo-users] direct image code exchange

2015-08-06 Thread Peter Uhnák
On PharoDays, there was a demo of GTChatter ( https://youtu.be/Nmcou_5um2s?t=22m18s ), but it was just prototype, I don't think it's currently being developed. But maybe it could serve as a bases for code sharing between images/users. If anything you could simply push your code to http://ws.stfx.e

Re: [Pharo-users] direct image code exchange

2015-08-07 Thread Peter Uhnák
Although this would work better for scripts than classes. (Unless you could push fileouts through GTChatter). Peter On Fri, Aug 7, 2015 at 8:58 AM, Peter Uhnák wrote: > On PharoDays, there was a demo of GTChatter ( > https://youtu.be/Nmcou_5um2s?t=22m18s ), but it was just prototype, I &

[Pharo-users] string write stream

2015-08-08 Thread Peter Uhnák
What is better? String new writeStream or WriteStream on: String new or WriteStream on: '' by popularity '' is the winner, however apparently not everyone is happy with that https://pharo.fogbugz.com/f/cases/15260/WriteStream-on-new-string ~~ f := Find

[Pharo-users] Proper way to retrieve Monticello repositories

2015-08-08 Thread Peter Uhnák
Hi, what is the proper way to retrieve Monticello repositories? I've always simply queried the system for instances... e.g. MCSmalltalkhubRepository allInstances detect: But is there some manager or something? (Akin to RPackageOrganizer default) Also it's interesting that both Pharo50 and Pharo

Re: [Pharo-users] Proper way to retrieve Monticello repositories

2015-08-08 Thread Peter Uhnák
On Sat, Aug 8, 2015 at 1:44 PM, Peter Uhnák wrote: > Hi, > > what is the proper way to retrieve Monticello repositories? > > I've always simply queried the system for instances... > e.g. MCSmalltalkhubRepository allInstances detect: > > But is there some m

[Pharo-users] gettings real senders

2015-08-08 Thread Peter Uhnák
So there's method CompiledMethod>>senders, but the problem is that it just looks for the message symbol and not class. so for example: ~ (WriteStream>>on:) senders ~ will also include Object>>asBrick Object>>asBrick ^ GLMMorphBrick on: self asMorph because

Re: [Pharo-users] Debugging announcements

2015-08-10 Thread Peter Uhnák
You can inspect Announcer and then there's "Announcements" tab, however I don't think there's unified view. On Mon, Aug 10, 2015 at 4:30 PM, Ben Coman wrote: > How are Announcements currently debugged? I vaguely remember I was > once able to use AnnouncementSpy [1], but that seems not in Pharo5

Re: [Pharo-users] Debugging announcements

2015-08-10 Thread Peter Uhnák
I remembered reading this some time ago http://www.humane-assessment.com/stories/rogue-announcements/ Maybe it will be of help. Peter On Mon, Aug 10, 2015 at 10:01 PM, stepharo wrote: > to me this is a problem to debug and identify all these event system based > on registration. > > Le 10/8/15

Re: [Pharo-users] gettings real senders

2015-08-10 Thread Peter Uhnák
course, a class side search would be nice. > > On Sat, Aug 8, 2015 at 10:07 PM, Ben Coman wrote: > >> On Sun, Aug 9, 2015 at 3:25 AM, Peter Uhnák wrote: >> > So there's method CompiledMethod>>senders, >> > but the probl

[Pharo-users] Spreadsheet editor

2015-08-11 Thread Peter Uhnák
Hi, since there has been talk about Tabular/DOCX, is there any project aimed at actually editing tables/spreadsheets inside Pharo? There's Spreadsheet by Torsten, but that seems to be an abandoned proof-of-concept. Peter

Re: [Pharo-users] UUIDs

2015-08-11 Thread Peter Uhnák
The UUIDGenerator has unnecessarily heavy-handed implementation, however it does adhere to the RFC specs as far as I could tell. Which also means that it's definitely usable across images and platforms. If anything, the weak point would be the random number generator, not UUID. And at least on uni

Re: [Pharo-users] UUIDs

2015-08-11 Thread Peter Uhnák
> > btw2, UUID actually uses MD5 and SHA, but on a smaller input than full > file contents. > Pharo implements version 4, which uses purely random bits; not MD5/SHA/MAC. > > btw3, I love turtles all the way down, but given that crypto > algorithms are CPU bound and Pharo will be single-CPU for s

Re: [Pharo-users] Removing default OK/CANCEL buttons from PluggableDialogWindow

2015-08-16 Thread Peter Uhnák
Ok/Cancel buttons are intrinsic to Dialog window. Without them it's hardly a dialog. So why not use StandardWindow instead? Peter On Sun, Aug 16, 2015 at 11:39 AM, Jigyasa Grover wrote: > Hi ! > I am using *PluggableDialogWindow* to display search results for my first > Pharo application namely

Re: [Pharo-users] Chinese Character Data

2015-08-17 Thread Peter Uhnák
On Tue, Aug 18, 2015 at 4:17 AM, Sean P. DeNigris wrote: > Can I e.g. paste Chinese characters from a web page and save as data? I > don't > need to be able to use Chinese characters for code. I see pasting creates a > wide string but the characters do not display. I assume this is because my > f

Re: [Pharo-users] Notepad type window to keep text notes?

2015-08-18 Thread Peter Uhnák
TextModel new openWithSpec but you would need to facilitate saving yourself... On Wed, Aug 19, 2015 at 7:53 AM, H. Hirzel wrote: > Hello > > There is the Playground for to use with Smalltalk code snippets. > Syntax highlighting is used. > > Where can I find a notepad type window to keep text no

Re: [Pharo-users] Ecstatic

2015-09-01 Thread Peter Uhnák
> > [1] https://gist.github.com/cobyism/4730490 This is what Guille recommended me some time ago when I was starting with Ecstatic and that's what I'm still using. Peter

Re: [Pharo-users] Writing [[[ in a class comment

2015-09-04 Thread Peter Uhnák
Thanks for pointing this out, I didn't even notice it's adding spaces... should be easy to fix automatically though. Also I vaguely remember that this used to be hard-coded somewhere, but I have no idea where it's in Rubric. Maybe its worth to add an issue to Pharo's issue tracker. Peter On Fri,

Re: [Pharo-users] Loading external Icons

2015-09-06 Thread Peter Uhnák
http://smalltalkhub.com/#!/~peteruhnak/IconFactory I think it is also loadable from Catalog Browser. Peter On Sun, Sep 6, 2015 at 9:07 PM, Offray Vladimir Luna Cárdenas < off...@riseup.net> wrote: > Hi, > > I'm trying to get a more beauty and familiar interface for my grafoscopio > project usin

Re: [Pharo-users] Loading external Icons

2015-09-07 Thread Peter Uhnák
> > > I've never seen this either. How many/how big are the files you are loading? It stores the icons as methods, so if you have 100 MB image it will take a lot (~133 MB) of space. Peter

Re: [Pharo-users] Having a look at Git+Pharo

2015-09-09 Thread Peter Uhnák
> > - a discussion about moving a smalltalkhub repository to git while > preserving history I've migrated some time ago http://forum.world.st/moving-to-git-and-preserving-monticello-history-td4806386.html some (if not all) of the issues were resolved iirc, however since I didn't need to mi

[Pharo-users] Observing changes of regular attributes

2015-09-09 Thread Peter Uhnák
Hi, is there a mechanism for observing a change of regular variables? Normally I would use ValueHolder (or fire announcements manually), but this assumes I can change the code. For example imagine a method of someone else's package ~~~ FAMIXNamedEntity>>name: aString name := aStr

Re: [Pharo-users] Observing changes of regular attributes

2015-09-10 Thread Peter Uhnák
On Wed, Sep 9, 2015 at 10:04 PM, Marcus Denker wrote: > Hello, > > The idea of Reflectivity is to be just that: a way to “hook” into code > without changing the source… this is a similar use case like > the one described yesterday: > > link := MetaLink new > metaObject: MyNotifyer; >

[Pharo-users] Adding custom context to a debugger

2015-09-10 Thread Peter Uhnák
Hi, is it possible to add custom context to a debugger? ​ I would like to add a reference to the highlighted area. I am assuming that since SpecDebugger doesn't provide plugin support I would have to modify the source code? Thanks, Peter

Re: [Pharo-users] Spec: Where to find an example using a TreeModel

2015-09-10 Thread Peter Uhnák
Hi, are you looking for something in particular? Because in TreeModel class-side there are four examples ready to go. [*] Peter, the problem about running out of space while loading icons with > IconFactory was solved if I don't use cache. Still is strange because icons > are small and few in my

Re: [Pharo-users] Modify AST to send a message on Character nodes

2015-09-12 Thread Peter Uhnák
If you don't want to manually operate on AST, you can use Mark's Rewrite Tool ( http://screencast.com/t/LCEl0hFl , https://medium.com/@peteruhnak/using-rewrite-tool-for-fixing-deprecated-code-12a595b291d8 ) As for ASTs I would be also curious about the answer, as this seems like it should be a sim

Re: [Pharo-users] Modify AST to send a message on Character nodes

2015-09-12 Thread Peter Uhnák
> > | rewriter | > rewriter := RBParseTreeRewriter new > replace: ' `#aLiteral `{:node | node value isCharacter}' > with: '`#aLiteral aMessage'; yourself. > rewriter executeTree: (RBParser parseExpression: 'Array with: $a > asciiValue with: $b with: #c with: d'). > rewriter tree formattedCo

Re: [Pharo-users] Ecstatic ETSite>>generateHtml file copy philosphy

2015-09-14 Thread Peter Uhnák
On Mon, Sep 14, 2015 at 6:31 PM, Ben Coman wrote: > I am having a look into Ecstatic.. > > What is the philosophy behind the comment in ETSite>>generateHtml ... > > "We copy all input files into the output directory to not make the > input dirty. > We copy all because the site will need

Re: [Pharo-users] Ecstatic ETSite>>generateHtml file copy philosphy

2015-09-14 Thread Peter Uhnák
> > I am looking into Ecstatic to generate a static web site from Pillar > files hosted on GitHub Pages. This is rather easy as Ecstatic was built just for that, so there is no need to change Pillar for it. this https://guillep.github.io/ecstatic/install.html and this https://gist.github.com/cob

[Pharo-users] XML Viewer and XML syntax highlighting

2015-09-17 Thread Peter Uhnák
Hi, do we have some nice(r) XML viewer? GTInspector provides tree extension, however I find it often worse than looking at the raw contents (mainly because the tree view doesn't break lines) So my question is: do we have something better? And second (if we don't have something better): How woul

[Pharo-users] GTDebugger create method

2015-09-17 Thread Peter Uhnák
Hi, does GTDebugger support creation of new methods? Also not having tooltips on the buttons isn't entirely helpful. Thanks, Peter

Re: [Pharo-users] GTDebugger create method

2015-09-17 Thread Peter Uhnák
, > Andrei > > On Thu, Sep 17, 2015 at 2:19 PM, Peter Uhnák wrote: > >> Hi, >> >> does GTDebugger support creation of new methods? >> >> Also not having tooltips on the buttons isn't entirely helpful. >> >> >> Thanks, >> Peter >> > >

[Pharo-users] String vs Symbol use cases

2015-09-17 Thread Peter Uhnák
Are there some best practices regarding using strings and symbols? For example I am processing XML and I might query it via xpath... myDocument xPath: 'entity/@name', or myDocument xPath: #'entity/@name' or myDocument / 'entity' @ 'name' or myDocument / #entity @ #name. So does it make sen

Re: [Pharo-users] String vs Symbol use cases

2015-09-17 Thread Peter Uhnák
> > You are here defining a small api to formulate xpath queries, which is > great. Nono, this is XPath library by Hernan (available from Catalog Browser), I'm just using it.

[Pharo-users] XPath (was String vs Symbol use cases)

2015-09-17 Thread Peter Uhnák
Hi monty, thanks for your answers. The original question wasn't really aimed at XPath, it was just an example, however you raise some important points which I should keep in mind. Now for the XPath itself, I seem to have run into a bug Imagine xml ~

Re: [Pharo-users] Spec: Where to find an example using a TreeModel

2015-09-18 Thread Peter Uhnák
Hi Offray, > http://mutabit.com/deltas/repos.fossil/grafoscopio/dir?name=Common/Icons&ci=tip is this still alive? Because all links at mutabit.com are 404ing Thanks, Peter

[Pharo-users] Drawing underlined text on AthensCanvas

2015-09-18 Thread Peter Uhnák
Hi, is it currently possible to draw underlined text onto AthensCanvas? |font view| font := TextStyle defaultFont. font := font emphasized: TextEmphasis underlined emphasisCode. "<- underline does NOT work" "font := font emphasized: TextEmphasis bold emphasisCode." "<

Re: [Pharo-users] Drawing underlined text on AthensCanvas

2015-09-19 Thread Peter Uhnák
Never mind, apparently I have to draw the underline manually. On Sat, Sep 19, 2015 at 3:38 AM, Peter Uhnák wrote: > Hi, > > is it currently possible to draw underlined text onto AthensCanvas? > > > |font view| > font := TextStyle defaul

[Pharo-users] RTStyledLabel

2015-09-19 Thread Peter Uhnák
Hi, I've added RTStyledLabel which supports TextEmphasis. RTGeneralExample>>styledLabel ~~ | v shape el all | v := RTView new. (shape := RTStyledLabel new) color: Color black. #(normal italic bold underlined struckOut) do: [ :each | el := shape emphasis: (TextEmphasis perform

Re: [Pharo-users] Spec: Where to find an example using a TreeModel

2015-09-20 Thread Peter Uhnák
le to boot, so I'm moving to > debian and used this as an opportunity to bring some order. Rewrite rules > for the server are not enable yet. The new working address is this: > > http://mutabit.com/repos.fossil/grafoscopio/dir?name=Common/Icons&ci=tip > > Cheers, &

[Pharo-users] externalizing Magritte descriptions and partial forms

2015-09-20 Thread Peter Uhnák
Hi, I'm trying to wrap my head around Magritte but I am failing hard... Imagine I have object with three attributes. ~~~ Object subclass: #Person instanceVariableNames: 'name age email' ~~~ Now the normal way would be to add magritte descriptions...

Re: [Pharo-users] externalizing Magritte descriptions and partial forms

2015-09-21 Thread Peter Uhnák
Thank you Stephan, I think the image is becoming much clearer. However I still don't understand how SRP applies here: > Person>>asNameMagritteMorph > ^(self magritteDescription select: [:each | each label = 'Name']) > asMorphOn: self Surely this is responsibility of the tool that needs i

[Pharo-users] Displaying custom Magritte view on FAMIX model

2015-09-21 Thread Peter Uhnák
Hi, I would like to build custom magritte view for a FAMIX model, however it seems that Fame/Metanool are somehow interfering with it.. Imagine a simple model (a class with an attribute): ~~~ cls := FAMIXClass new name: 'Something'. (attr := FAMIXAttribute new) name: 'myA

Re: [Pharo-users] A keyboard controlled code editor, how difficult would that be?

2015-09-21 Thread Peter Uhnák
On Mon, Sep 21, 2015 at 8:57 PM, Stephan Eggermont wrote: > When experienced (non-smalltalk) developers come to Pharo, they often > complain about the (perceived) lack of keyboard control. Spotter has made it > easy to open new browsers and inspectors, but navigating between all the > open windows

Re: [Pharo-users] A keyboard controlled code editor, how difficult would that be?

2015-09-21 Thread Peter Uhnák
On Mon, Sep 21, 2015 at 9:05 PM, Andrew Glynn wrote: > I'm not sure that those developers will ever be happy with Smallltalk. > Unless you can do everything in VI and compile on the command line, they > feel there's something wrong. Perhaps you need to widen your perspective. Just because there a

<    1   2   3   4   5   6   7   8   >