[Pharo-users] Glamour accordion presentation

2017-07-03 Thread Peter Uhnák
Hi, I'm playing around with Glamour and accordion presentation, however there are couple things I'm struggling with. I have a simple presentation: ``` | browser data| data := { 'First' -> #(1 2 3). 'Second' -> #(a b c). 'Third' -> #(A B C). 'Fourth' -> #(! @ #'#'). }. browser := GLMTabulator ne

Re: [Pharo-users] [Pharo-dev] TechTalk Dates for the rest of 2017

2017-08-21 Thread Peter Uhnák
This should be mentioned on ESUG imho, so people can propose and more people know about the talks. Peter On Mon, Aug 21, 2017 at 7:47 PM, Alexandre Bergel wrote: > > I'm not sure Pharo tech talk is the good place but would love to see > such a presentation. > > > > Maybe you can do a Google or

Re: [Pharo-users] Loading and saving packages to filetree repos

2017-08-25 Thread Peter Uhnák
Apart from the things I mentioned to you on discord (fileout through FileWriter, etc)... another idea came into my mind that could be possibly interesting. Every time a thing (Class, Method, ...) is created/changed/deleted, an event is announced in the system that you can watch for. (e.g. Nautilus

Re: [Pharo-users] Morphic renderer for Pillar?

2017-08-25 Thread Peter Uhnák
> > > Please note the embedded picture. > Only now I've realized that it is an embedded view and not just an opened moose panel, looking forward to this! Peter

[Pharo-users] pillar image in external link (or html a tag)

2017-08-26 Thread Peter Uhnák
Hi, how can I embed an image into an anchor in Pillar? I've tried *+Pharo>https://pharo.org/web/files/pharo.png+>http://pharo.org/* I've also tried to create document by hand and export it, but every single exporter failed on it. doc := PRDocument new add: (PRExternalLink new reference: 'http:

Re: [Pharo-users] Dark Mode

2017-08-27 Thread Peter Uhnák
> Too bad Pharo isn't themable. If you don't know whether it is themable, you can just ask instead of issuing statements. ;) I've also seen Sublimish theme (don't know where the repo is), Dark Metal Theme ( https://github.com/estebanlm/themes ), Kilon has blue-ish theme (I don't think he publishe

Re: [Pharo-users] Copy bitmap to clipboard

2017-08-27 Thread Peter Uhnák
I don't know about other platforms, but on linux the clipboard is implemented in this 8kloc C file https://github.com/pharo-project/pharo-vm/blob/e0ce2d9d78c3c7b37bbc12cd8730c6a15f1f057c/opensmalltalk-vm/platforms/unix/vm-display-X11/sqUnixX11.c e.g. getting the selection https://github.com/pharo-

Re: [Pharo-users] pillar image in external link (or html a tag)

2017-08-27 Thread Peter Uhnák
ou can. I learned this features friday while writing > md text to point to travis. > This is something that we will able to add but for now my focus is not > there. > Stef > > On Sat, Aug 26, 2017 at 10:41 PM, Peter Uhnák wrote: > > Hi, > > > > how can I embed an image

Re: [Pharo-users] Metalinks UI... ?

2017-08-28 Thread Peter Uhnák
Maybe in Nautilus browser? When you right-click on a piece of code, in suggestions you see couple of options to add metalinks that do some particular things. [image: Inline image 1] and then you have a ui for it [image: Inline image 1] You can also enable something similar for when you have you

Re: [Pharo-users] Metalinks UI... ?

2017-08-28 Thread Peter Uhnák
s > to configure a metalink options (target node, metaobject, selector, etc.). > > How can i enable the browser iconswe can see in your images for my own > metalinks ? > > > > Steven. > > Le 2017-08-28 19:04, Peter Uhnák a écrit : > > Maybe in Nautilus browser? >

Re: [Pharo-users] Metalinks UI... ?

2017-08-28 Thread Peter Uhnák
> > > It also enables/adds the browser icons. > They are mentioned at the end of the readme, and placed under the "Utility" tag (of MetaLinks-Toolkit package) when installed, so you could copy the impl. Peter

[Pharo-users] constraining dragging movement of Morph Windows

2017-08-28 Thread Peter Uhnák
Hi, is it possible to somehow "constraint" the movement of windows (Nautilus, Playground, ..., SystemWindow, ...)? E.g. I want for them to only move (or "snap") only at steps of e.g. 20 pixels. So sort of snap-to-20-pixel-grid behavior. Thanks, Peter

Re: [Pharo-users] Dark Mode

2017-08-28 Thread Peter Uhnák
Or you people can just dim your screen instead of staring into a 60W lightbulb... then the theme doesn't matter. On Mon, Aug 28, 2017 at 8:38 PM, Alexandre Bergel wrote: > Ups… I think this FIT file format is for something else… > > Alexandre > -- > _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,

Re: [Pharo-users] [Pillar] Pillar source code of ESUG 2015 presentation? Presentations done with Pillar?

2017-08-29 Thread Peter Uhnák
All Pharo Mooc slides were made in pillar e.g. pillar: https://github.com/SquareBracketAssociates/PharoMooc/blob/master/Slides/Week3/C019-W3S03-Basic-Variables.pillar output: http://rmod-pharo-mooc.lille.inria.fr/MOOC/Slides/Week3/C019-W3S03-Basic-Variables.html#slide-2 ( mooc.pharo.org ) Pete

Re: [Pharo-users] Engineering notation

2017-08-31 Thread Peter Uhnák
Keep in mind that autoformatting will add the space. On Thu, Aug 31, 2017 at 8:54 AM, Marcus Denker wrote: > yes, some people use > > 1halt. > +1halt. ;)

Re: [Pharo-users] Bitbucket CI

2017-09-01 Thread Peter Uhnák
> "Travis support" SmalltalkCI is somewhat more integrated with Travis, so it streamlines usage quite a bit; however the main part of it is still SmalltalkCI, and you should be able to run it on any linux box (even locally). I use it on GitLab ( https://github.com/hpi-swa/smalltalkCI/issues/262 )

Re: [Pharo-users] Bitbucket CI

2017-09-03 Thread Peter Uhnák
I am familiar neither with BuildCI nor pharo-build, nor was I aware that they would be popular/used/ready-to-use as SmalltalkCI On Sun, Sep 3, 2017 at 5:03 AM, Sean P. DeNigris wrote: > Peter Uhnák wrote > > SmalltalkCI... you should be able to run it on any linux box > > T

Re: [Pharo-users] [Pharo-dev] ESUG Pharo GIT BOFs

2017-09-05 Thread Peter Uhnák
I don't see Esteban's talk in the conference schedule. Also, what is BOF shortcut for? P On Tue, Sep 5, 2017 at 9:18 AM, Stéphane Ducasse wrote: > Thursday after the talk of Esteban 16h45 > Please pass the message and join. > Stef > > > > Stéphane D

Re: [Pharo-users] Few days old 6.1 image now leaves window trails?

2017-09-08 Thread Peter Uhnák
This has happen during e.g. failed compilation. Object compile: '^^'. On Fri, Sep 8, 2017 at 3:01 PM, Ben Coman wrote: > > > On Fri, Sep 8, 2017 at 2:46 AM, Tim Mackinnon wrote: > >> Hi there - I’ve been running in a 6.1 64bit image for a few days - doing >> a few experiments at lunch times, d

Re: [Pharo-users] DictionaryValueHolder question

2017-09-12 Thread Peter Uhnák
Hi Rob, this is by omission. Originally CollectionValueHolder didn't have it either until I've introduced ValueAdded/ValueRemoved. So feel free to incorporate it in a meaningful fashion to a DictionaryHolder. Peter On Tue, Sep 12, 2017 at 3:46 AM, Rob Rothwell wrote: > Hello, > > Unlike the Co

Re: [Pharo-users] DictionaryValueHolder question

2017-09-13 Thread Peter Uhnák
On Wed, Sep 13, 2017 at 9:45 AM, Stephane Ducasse wrote: > incomplete > I would use Announcement. > ValueAdded/ValueChanged/ValueRemoved are all announcements. P

Re: [Pharo-users] Pharo 7 license question

2017-09-16 Thread Peter Uhnák
> someone to get a reasonably definitive answer on this question? you would get that only from a copyright layer... and definitive answer only from a judge ;) I don't see how Pharo bootstrap changes anything. If you mean that you can now add library after bootstrap... well you can do that now alr

Re: [Pharo-users] Roasssal not working on Windows with Pharo 6.1

2017-09-23 Thread Peter Uhnák
Do fonts on the system look weird? If you execute 'hello' asText allBold, ' world' asText is the first half bold? Because sometimes Windows just ups and prevents Pharo from loading some libraries, including Font, and in such cases Roassal also doesn't work. But restart (or two) so far as al

Re: [Pharo-users] Force headless mode

2017-09-26 Thread Peter Uhnák
Out of curiosity... how does enforcing headlessness protects code? Wouldn't it be still accessible via e.g. TelePharo, or startup script override, or anything? Peter On Tue, Sep 26, 2017 at 7:04 PM, Sven Van Caekenberghe wrote: > > > On 26 Sep 2017, at 18:06, Cyril Ferlicot > wrote: > > > > On

Re: [Pharo-users] [ Spec ]How can I get input and field with a fixed height?

2017-09-29 Thread Peter Uhnák
You can say `add:height:` in the layout. You also have to add an empty row at the end that will take the remaining of the space, because otherwise the input fields will fill the window. ``` ui := DynamicComposableModel new. ui instantiateModels: #( gameName TextInputFieldModel platform DropListMo

Re: [Pharo-users] Pharo 7 license question

2017-10-02 Thread Peter Uhnák
On Mon, Oct 2, 2017 at 7:45 PM, Jimmie Houchin wrote: > Back on topic. > > To my understanding, if I should port anything GPL licensed that I needed > from some language to a C library and licensed it GPL. Then I called my new > GPL C library via UFFI. I should have no problems at all. Is that a

[Pharo-users] why are Help topics in the meta-side

2017-10-03 Thread Peter Uhnák
All help topics (subclasses of CustomHelp) have all the content on the class-side. This seems very weird to me, because the class-side should about managing the meta, not containing the content itself. It feels weird. Peter

Re: [Pharo-users] why are Help topics in the meta-side

2017-10-03 Thread Peter Uhnák
On Tue, Oct 3, 2017 at 2:17 PM, H. Hirzel wrote: > This is as if you would ask > > why are specs on the class side? > I can certainly ask that, and there's in fact no reason why it would have to be there (because when the layout is being retrieved, the instance is already available). > You

Re: [Pharo-users] SVG Icons

2017-10-05 Thread Peter Uhnák
Hi, this is not really tested, but you can try to do the following (installation) a) install XMLParser from catalog b) in monticello browser open Pharo/Athens and load latest version of Athens-SVG package (usage) Then you import SVG XML using Converter and paint it on a surface, which you conver

Re: [Pharo-users] Creating a new method

2017-10-06 Thread Peter Uhnák
What I often do is that I write a test and then I just execute the code. When it runs into the non-existent method, the debugger offers a button "create" method. Alternatively I do open a second browser (clicking on "scoped" in the current one or like that (or doubleclicking on a method to get the

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

2017-10-06 Thread Peter Uhnák
+1.0.1 :-) > Pharo Launcher files (images, VMs) are now considered as user Documents (easier to find). Consequently, they are now stored in the standard documents folder, i.e. > *$HOME/Pharo* This seems like a step backwards. The expected location is $XDG_DATA_HOME/Pharo . Is it possible to chang

[Pharo-users] using mocketry to mock subcall

2017-10-07 Thread Peter Uhnák
Hi, maybe I am missing something fundamental, because this seems like an obvious scenario I have a class Something with two methods Something>>askForName ^ UIManager default request: 'Name' Something>>name ^ self askForName , ' suffix' Now I want to mock out askForName, so I can run it automat

Re: [Pharo-users] FileReference#entries caching?

2017-10-07 Thread Peter Uhnák
On Sat, Oct 7, 2017 at 1:02 PM, Steven R. Baker wrote: > Is it cached or something? How do I guarantee that I'm *definitely* > getting the current state of the directory on disk? This looks extremely strange, I've never seen that inspecting files/directories would be somehow "out of sync" with

Re: [Pharo-users] Can't find Cairo

2017-10-08 Thread Peter Uhnák
Make sure you have the same image and lib version (64bit vs 32bit). The paths where Pharo looks are described in CairoLibrary class. CairoLibrary>>unix32ModuleName "On different flavors of linux the path to library may differ depending on OS distro or whether system is 32 or 64 bit. Packages such

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

2017-10-09 Thread Peter Uhnák
> > why a step backwards? > Pharo images are not *data* in the sense is intended for XDG_DATA_HOME. > In practice, an image is more like a document Pharo can read… data files > are configurations, etc. an app needs to work properly in the local > environment. > Pharo images instead, are modifiable/

Re: [Pharo-users] SpecColumnLayout not behaving as expected

2017-10-17 Thread Peter Uhnák
Because it is the other way around: in the block ([ :col | ... ]) you are describing the content of the column. So what you are actually doing is you create a Column (SpecColumnLayout), inside which you create another column (newColumn), and to that column you add two rows (add:, add:). On Tue, O

Re: [Pharo-users] SpecColumnLayout not behaving as expected

2017-10-18 Thread Peter Uhnák
-Steven > > > > On 17/10/17 18:00, Peter Uhnák wrote: > > Because it is the other way around: in the block ([ :col | ... ]) you are > describing the content of the column. > > So what you are actually doing is you create a Column (SpecColumnLayout), > inside which yo

[Pharo-users] Cannot update GLMTabulator containing list with Separators

2017-10-18 Thread Peter Uhnák
Hi, apparently it is not possible to update a GLMTabulator if it contains a list pane with separators. Tested in P6 & P7. ``` data := { { #one. #two. #three } asOrderedCollection. { #alpha. #beta } asOrderedCollection } asOrderedCollection. browser := GLMTabulator new. browser column: #list; co

[Pharo-users] iceberg - changing non-code files in the same commit as code

2017-10-18 Thread Peter Uhnák
Hi, this is maybe a bit advanced use case from Iceberg perspective, but quite basic from git perspective. Use case: In the same commit where code has changed I want to update text file CHANGELOG.md. Right now I need to modify the file after the commit and then amend it (so it is in the same comm

Re: [Pharo-users] using mocketry to mock subcall

2017-10-20 Thread Peter Uhnák
gt; s stub askFor... > > 7 окт. 2017 г. 9:18 пользователь "Peter Uhnák" > написал: > > Hi, >> >> maybe I am missing something fundamental, because this seems like an >> obvious scenario >> >> I have a class Something with two met

Re: [Pharo-users] using mocketry to mock subcall

2017-10-20 Thread Peter Uhnák
b askForName willReturn: 'new'. > > Something askForName should be: 'new' > > > > 2017-10-20 13:58 GMT+02:00 Peter Uhnák : > >> Thanks Denis, that did the trick. >> >> But I thought that I can also mock at the class level (at least it was &

Re: [Pharo-users] Dynamically changing code in a safe way

2017-10-24 Thread Peter Uhnák
> Why the assignment of the new code is delayed until the end of the bloc execution? The assignment is performed immediately, but the old code is still being executed. Once the value was sent to the block, the block started executing and is no longer under the control of the HotSwapping object. O

[Pharo-users] Passing context class with GTSpotter

2017-11-03 Thread Peter Uhnák
Hi, I'm extending Spotter and wonder how I can achieve the following. I have some domain model, for the sake of example let's imagine Item" and "Container" classes; where "Container" can contain other Items or Containers. Then I have a custom Spotter wrapper class that shows the initial Spotter

[Pharo-users] CodeCity in Pharo 6?

2017-11-04 Thread Peter Uhnák
Hi, I've tried installing Code City in Pharo6, and apart from the fixing the Configurations, there is a dependency on NBOpenGL, which doesn't play well with P6 ... complains about missing NB (which is understandable considering NB was replaced with UFFI)... So the question is... is this project s

Re: [Pharo-users] CodeCity in Pharo 6?

2017-11-05 Thread Peter Uhnák
Good to know, thanks! Peter On Sat, Nov 4, 2017 at 9:15 PM, Tudor Girba wrote: > It’s not maintained. > > Doru > > > > On Nov 4, 2017, at 8:46 PM, Peter Uhnák wrote: > > > > Hi, > > > > I've tried installing Code City in Pharo6, and apar

Re: [Pharo-users] Adding an Iceberg repository at startup

2017-11-10 Thread Peter Uhnák
You can create repositories programatically. repo := IceRepositoryCreator new location: '/home/user/.../'; subdirectory: 'codeSubdirectory'; createRepository. repo register. On Fri, Nov 10, 2017 at 1:11 PM, Mariano Martinez Peck < marianop...@gmail.com> wrote: > I would also like th

[Pharo-users] RewriteTool maintained?

2017-11-11 Thread Peter Uhnák
Hi, has Mark Rizun's Rewrite Tool been abandoned? Thanks, Peter

[Pharo-users] Why is compile: breaking my image?

2017-11-11 Thread Peter Uhnák
This applies to P61 (for some time) and P7. Object compile: '^'. Syntax Error popup -> close now you have two morphic UI processes running and World starts to get corrupted with artifacts around. (and it also in one case manage to actually corrupt the image to the point that I was no longer able

Re: [Pharo-users] Why is compile: breaking my image?

2017-11-11 Thread Peter Uhnák
Never mind... I see now what is broken and I'll try to fix it (assuming my P7 image won't corrupt itself due to FreeType before I manage to push the changes... heh) On Sat, Nov 11, 2017 at 3:43 PM, Peter Uhnák wrote: > This applies to P61 (for some time) and P7. >

[Pharo-users] RB refactoring rewrite variable to a symbol

2017-11-11 Thread Peter Uhnák
Hi, how can I rewrite a(n instance) variable to a symbol? E.g. [IN] something: aSomething something := aSomething [OUT] something: aSomething self write: aSomething into: #something I can capute the input just fine... ``@var := ``@arg but I have no idea how to convert the var into a s

Re: [Pharo-users] RB refactoring rewrite variable to a symbol

2017-11-13 Thread Peter Uhnák
t: {arg. aMethod selector}). > ^ super checkMethod: aMethod > not too elegant, but it works. you could strip ":" from the method > selector and do something similar. > werner > > On 11/11/2017 05:17 PM, Peter Uhnák wrote: > > Hi, > > > > how can I rewri

Re: [Pharo-users] Why is compile: breaking my image?

2017-11-13 Thread Peter Uhnák
process, but doesn't terminate. Peter On Mon, Nov 13, 2017 at 9:42 PM, Guillermo Polito wrote: > Can you share what was the original problem and how you fixed it? > > On Sat, Nov 11, 2017 at 4:44 PM, Sven Van Caekenberghe > wrote: > >> >> >> > On 11 Nov 2

Re: [Pharo-users] Timespan translateToUTC problematic

2017-11-16 Thread Peter Uhnák
I find the concept of translating TZ of a Date silly. The real bug imho should be that it prints both time and TZ this is Date, not DateAndTime. Peter On Thu, Nov 16, 2017 at 8:23 PM, Pavel Krivanek wrote: > I openend an issue: https://pharo.fogbugz.com/f/cases/20700/ > translateToUTC-does-

Re: [Pharo-users] Bloc installation on Linux [WAS: Re: About implementing a "Mini Pillar" in-image renderer for Pharo ...]

2017-11-16 Thread Peter Uhnák
> Please also note that the rendering on Linux is not using Moz2D so it will not be as beautiful as in pictures. The reason for this is that there are external dependencies that are required and we would need help to figure that setup. Note that cairo is not shipped with linux Pharo either. So you

Re: [Pharo-users] Timespan translateToUTC problematic

2017-11-17 Thread Peter Uhnák
#x27;s purpose when you have a class that does exactly what you want and was built for that purpose. Peter On Fri, Nov 17, 2017 at 12:09 PM, Prof. Andrew P. Black wrote: > > On 17 Nov 2017, at 08:49 , Peter Uhnák wrote: > > I find the concept of translating TZ of a Date silly. The re

Re: [Pharo-users] I love the launcher!!!!

2017-11-24 Thread Peter Uhnák
Hi Herby, normally people use different images for their different projects, different versions, trying things, etc. Which means we end up with many locations on disk, and it can be hard to track. So PharoLauncher is a nice tool where you can download fresh image just by clicking, and you see the

Re: [Pharo-users] How do you store and manage small programs?

2017-11-25 Thread Peter Uhnák
re Script Manager "We would recommend users to switch to QuickAccess which is a better script manager than this tool." QuickAccess here's a video and everything https://pharoweekly.wordpress.com/2015/11/06/quickaccess/ For QA I also have a startup script that installs it on first startup, and the

Re: [Pharo-users] Removing instance variables doesn't recompile the methods

2017-11-27 Thread Peter Uhnák
As far as I know this has been a _feature_ for a very long time. Automatic recompiling methods is not the best idea, because: 1) you compile a method with temp var "hello" that uses inst var "world" 2) you add a inst var "hello" 3) you remove "world" 4) trying to recompile the method will fail, be

[Pharo-users] reusing ZnClient session

2017-11-28 Thread Peter Uhnák
Hi, I have a scenario where I need to login to some web app and then reuse the session/cookies in further requests. The basic approach (as presented in Enterprise Pharo book) works just fine client := ZnClient new. client url: 'http://example.com/login'; formAt: 'username' put: 'john@acme.c

Re: [Pharo-users] files.pharo.org downloads => needs testers

2017-11-28 Thread Peter Uhnák
What is the relationship between this and http://mirror.pharo.org? Considering you are already working around these servers, would it be possible to add HTTPS? On Tue, Nov 28, 2017 at 5:43 PM, Christophe Demarey < christophe.dema...@inria.fr> wrote: > Hi all, > > We set up 2 new servers to repl

Re: [Pharo-users] reusing ZnClient session

2017-11-28 Thread Peter Uhnák
t; > > On 28 Nov 2017, at 10:42, Peter Uhnák wrote: > > > > Hi, > > > > I have a scenario where I need to login to some web app and then reuse > the session/cookies in further requests. > > > > The basic approach (as presented in Enterprise Pharo book

Re: [Pharo-users] files.pharo.org downloads => needs testers

2017-11-29 Thread Peter Uhnák
Czech Republic I've tried several different files, because my observations over the past months was that some downloads were fast and some slow... randomly. The script is the same as everyone, I've just changed the target. The order is same - files2, inria, files. In case of 60/60520.zip I do no

Re: [Pharo-users] tonel how to

2017-12-01 Thread Peter Uhnák
Hi, Iceberg will autodetect the format, or you can use monticello with "tonel://" scheme (in P61 you will need newest iirc metacello). If you want to convert a repo (or create a separate repo in tonel format so you can try it out), I have a migration tool https://github.com/peteruhnak/tonel-migra

[Pharo-users] valueUnpreemptively breaks coverage with ZnClient

2017-12-02 Thread Peter Uhnák
After much digging as to why my tests are timing out even though running directly was always fine... I found out that TestRunner's coverageRun is using #valueUnpreemptively to run all tests. The problem is that one of the tests is retrieving something over network, and that apparently doesn't go w

Re: [Pharo-users] [Moose-dev] feenk log

2017-12-05 Thread Peter Uhnák
Great work guys! Even though I don't have much time to work with Bloc yet, every time I play with it, I find it really enjoyable. :) Also +1 for draggable elements, another thing to tick of my "must have" list. :) Peter

Re: [Pharo-users] REST client hints

2017-12-05 Thread Peter Uhnák
With ZnClient you can also dynamically extend paths (#addPath:), specify parameters (#formAt:put:, #queryAt:put:), provide raw #contents:, etc. But what would be nice is to convert the responses to some domain objects. So e.g. when I query trello for all lists, I would like to get as a result not

[Pharo-users] dependent magritte descriptions

2017-12-06 Thread Peter Uhnák
Hi, I'm trying to get dependent magritte descriptions, but it seems like this is not something that can be done in the descriptions: Imagine a class Contact with "city" and "country" descriptions. I would like to populate the city description based on the currently selected country ~

Re: [Pharo-users] dependent magritte descriptions

2017-12-06 Thread Peter Uhnák
spec Form instead of using magritte... Peter On Wed, Dec 6, 2017 at 1:58 PM, Andreas Brodbeck wrote: > Am 06.12.17 um 11:34 schrieb Peter Uhnák: > > Hi, > > > > I'm trying to get dependent magritte descriptions, but it seems like this > > is not somet

Re: [Pharo-users] Learning Morphic

2017-12-23 Thread Peter Uhnák
If what you are doing is an experiment or you want to play around with it, I would also recommend trying Bloc. https://github.com/pharo-graphics/Bloc On Sat, Dec 23, 2017 at 10:36 AM, Stephane Ducasse wrote: > Hello Doug > > You pushed me to try and I rescued an implementation for the old Squeak

Re: [Pharo-users] in-image pharo user objet ?

2017-12-28 Thread Peter Uhnák
> When contributing it is associated to licence so I just find the actual model a bit weak. I don't think that this is the case anymore. Pharo itself (and more and more pharo projects) are moving to git, so the Author string is not really used outside of the given image --- the author is based on

Re: [Pharo-users] A playground for Markdown?

2017-12-30 Thread Peter Uhnák
> I have argued time and again and in length about Markdown support in Pharo > Check the pillar markdown parser (not fully working). Jan Kurs made an extensive petitparser for CommonMark with tests and everything... it is not complete but it had support for most common stuff. So the best approach

Re: [Pharo-users] A playground for Markdown?

2017-12-30 Thread Peter Uhnák
> > On Sat, Dec 30, 2017 at 10:15 PM, Stephane Ducasse > wrote: > >> Jan Kurs made an extensive petitparser for CommonMark with tests and > >> everything... it is not complete but it had support for most common > stuff. > >> So the best approach would be two write a visitor on top of this parser >

[Pharo-users] calypso modularity

2018-01-20 Thread Peter Uhnák
Hi, how modular is Calypso in respect to: * taking the UI apart and compositing it in a different manner * reusing parts of it in a different place/application (e.g. just the code editor, or just the method list, ...) * using alternative abstractions to just package/class/protocol/method * e.g.

Re: [Pharo-users] Copy/past doesn't work sometimes in Chrome semifixed

2014-10-14 Thread Peter Uhnák
; while using pharo. > > Thanks for your answers. > > On 31/07/14 10:44, Peter Uhnák wrote: > > It seems that the Chromium issue is most likely a result of them > switching > > from GTK to Aura, since it broke in version 35 (when Aura was > introduced). > &g

Re: [Pharo-users] Pharo program examples

2014-10-23 Thread Peter Uhnák
Hi, > a simple calculation program for any purposes This reminded me of a calculator and this https://medium.com/@svenvc/rediscovering-the-ux-of-the-legendary-hp-35-scientific-pocket-calculator-d1d497ece999 > A file archieve perhaps or so ? What about the Compression package? But if you want in

[Pharo-users] using pillar and/or pillarhub

2014-10-27 Thread Peter Uhnák
Hi, I wanted to experiment with Pillar however I'm not sure what to use to edit it. I was expecting some kind of editor with preview directly in Pharo but there is nothing. The next best thing I found was PillarHub based on Ace editor, however it depends on Mozilla Persona. Is such thing needed? I

Re: [Pharo-users] using pillar and/or pillarhub

2014-10-28 Thread Peter Uhnák
o export to Pillar > files. Why meta-tag or code when you can design ? ;) > > On Tue, Oct 28, 2014 at 12:38 AM, stepharo wrote: > >> >> On 27/10/14 17:28, Peter Uhnák wrote: >> >>> Hi, >>> >>> I wanted to experiment with Pillar however I

[Pharo-users] FileBrowser confusion

2014-11-06 Thread Peter Uhnák
Is anyone actually using FileBrowser? Because either no one does or I doing something wrong. My problem is that it is very uncomfortable to navigate filesystem. There is no way to quickly navigate to common folders (like roots of system drives and home directory). Also hidden files/folders are sho

Re: [Pharo-users] FileBrowser confusion

2014-11-06 Thread Peter Uhnák
nd perhaps something good will come out of it. Peter On Thu, Nov 6, 2014 at 4:41 PM, p...@highoctane.be wrote: > On Thu, Nov 6, 2014 at 3:55 PM, Peter Uhnák wrote: > >> Is anyone actually using FileBrowser? Because either no one does or I >> doing something wrong. >>

Re: [Pharo-users] FileBrowser confusion

2014-11-06 Thread Peter Uhnák
o it and it is very handy. Peter On Thu, Nov 6, 2014 at 10:09 PM, Tudor Girba wrote: > Hi, > > > On Thu, Nov 6, 2014 at 7:49 PM, Peter Uhnák wrote: > >> I checked out the file browser GT Inspector (I hope that is what you were >> referring to), unfortunately it&#

Re: [Pharo-users] FileBrowser confusion

2014-11-06 Thread Peter Uhnák
want to have is regular FileOpen/FileClose dialog. 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>&

Re: [Pharo-users] FileBrowser confusion

2014-11-06 Thread Peter Uhnák
am) wrong. On Thu, Nov 6, 2014 at 10:58 PM, Peter Uhnák wrote: > > What do you mean by a lot? > another problem I had was with privileges ... it shows folder of a root > but when I click it it throws DirectoryDoesNotExist and not > PermissionDenied (or something); but this is negli

Re: [Pharo-users] FileBrowser confusion

2014-11-06 Thread Peter Uhnák
gt; text field. Why? From what I understood the way to build what I want would be a combination of GLM* browsers you mentioned above and in such configuration I do not see why would I need to hook up the default browsers. Thanks, Peter On Fri, Nov 7, 2014 at 12:04 AM, Nicolai Hess wrote: > 2014-1

Re: [Pharo-users] next sttep after the example tutorial

2014-11-07 Thread Peter Uhnák
Well for start there is this http://pharo.org/documentation (books Pharo By Example + Deep into Pharo + Pharo for the Enterprise) and this http://pharo.gemtalksystems.com/ As far as expertise goes you can probably become an expert by writing a book about Pharo. :) Peter On Fri, Nov 7, 2014 at 6

Re: [Pharo-users] next sttep after the example tutorial

2014-11-07 Thread Peter Uhnák
>> >> By expert I mean I can write and test most of the programms and know very >> well how pharo works. >> >> Roelof >> >> >> Peter Uhnák schreef op 7-11-2014 18:12: >> >> Well for start there is this http://pharo.org/documentation (book

Re: [Pharo-users] Is there a way to store workspace 'gists' in Pharo?

2014-11-10 Thread Peter Uhnák
There is also ScriptManager http://smalltalkhub.com/#!/~TorstenBergmann/ScriptManager but I do not know if it works with GTPlaygrounds and it seems to have some issues with Morphic? Peter On Mon, Nov 10, 2014 at 3:56 PM, Tudor Girba wrote: > If you work with Pharo 4, they should already be save

Re: [Pharo-users] Building 64-bit pharo VM

2014-11-19 Thread Peter Uhnák
Hi Evan, if the sole purpose of building it yourself is large file support you don't need 64-bit build. There is an open issue for LFS https://pharo.fogbugz.com/f/cases/14250/Enable-large-file-support-on-linux however you can simply add the flag to the cmake file and build it as 32bit. There is a

Re: [Pharo-users] Named edges and nodes in a Roassal graph

2014-11-22 Thread Peter Uhnák
Check out RTRoassalExample>>exampleArrowedAndLabelledLine , it should demonstrate the functionality for both elements and edges. You can also use TRConstraint, but that is a tad bit more advanced. Peter

Re: [Pharo-users] Named edges and nodes in a Roassal graph

2014-11-22 Thread Peter Uhnák
It seems there is an issue with the arrow head, I'll try to investigate it for now try running it without it === v := RTView new. e1 := (RTEllipse new size: 20) elementOn: 'hello'. e2 := (RTEllipse new size: 20) elementOn: 'world'. e1 @ RTDraggable. e2 @ RTDraggable. l

Re: [Pharo-users] Named edges and nodes in a Roassal graph

2014-11-22 Thread Peter Uhnák
;this uses the model of edge2" "Decimos que dispocisión van a tener los elementos en la vista. En este caso se van a disponer de manera circular" RTCircleLayout on: { e1 . e2 . e3 . e4 }. "Abrimos la vista" vista open On Sun, Nov 23, 2014 at 1:43 AM, Peter Uhnák wrote: &

Re: [Pharo-users] Named edges and nodes in a Roassal graph

2014-11-22 Thread Peter Uhnák
> > Would be nice to have tools for all Roassal visualizations like export as > svg. Some demos have them, some other don't, so other casual **users** has > a bigger learning curve to adopt what they are seeing and use it in another > context. Roassal supports PNG, SVG and HTML export. What do you

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

2014-11-23 Thread 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 where is this coming from or how it is added there. B

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

2014-11-23 Thread Peter Uhnák
Aha I wasn't aware of that, thank you. Peter

Re: [Pharo-users] Named edges and nodes in a Roassal graph

2014-11-23 Thread Peter Uhnák
ffray Vladimir Luna Cárdenas < off...@riseup.net> wrote: > Hi, > > El 22/11/14 a las #4, Peter Uhnák escribió: > >> Would be nice to have tools for all Roassal visualizations like >> export as >> >> svg. Some demos have them, some other don'

Re: [Pharo-users] Pharo and X11 primary selection (aka middle mouse button paste)

2015-01-20 Thread Peter Uhnák
Hi, try setting the encoding of pharo to unicode when launching from command line and see if that fixes your problem: --textenc UTF-8 The default encoding is not unicode which messes pasting from some applications (e.g. Google Chrome 35+). As far as middle mouse button pasting goes I do not belie

Re: [Pharo-users] Pharo and X11 primary selection (aka middle mouse button paste)

2015-01-21 Thread Peter Uhnák
Hi, there are several things at play here as far as I was able to find out. I was researching this issue when I was frustrated with pasting from Chrome and was able to figure at out at least a temporarily solution. Here's my original post http://forum.world.st/Re-Copy-past-doesn-t-work-sometimes-

Re: [Pharo-users] Pharo and X11 primary selection (aka middle mouse button paste)

2015-01-24 Thread Peter Uhnák
> > Please add an issue. > added https://pharo.fogbugz.com/f/cases/14790/Add-support-for-primary-selection-middle-mouse-pasting

[Pharo-users] Editable text field inside Roassal/Trachel Canvas

2015-02-01 Thread Peter Uhnák
Hi, is it possible to embed (any) editable text field inside Roassal? I managed to add the editor morph inside Trachel's athens canvas, however there is no way I can access it... my guess is that TRMorph takes all the events, or drawing the morph on the canvas destroys something. I tried it with

Re: [Pharo-users] spotter preview

2015-02-03 Thread Peter Uhnák
> > The keybindings are: > - trigger Spotter with Shift+Enter. > - toggle preview with Cmd+P (or Alt+P on Windows/Linux) > It would be great to have all the keybindings (also moving inside the Spotter) written somewhere in one place (for all platforms) so one doesn't need to go scavenge blogs and

Re: [Pharo-users] Custom DND Drop Action?

2015-02-04 Thread Peter Uhnák
On Wed, Feb 4, 2015 at 5:53 PM, Sean P. DeNigris wrote: > Never mind. I found #handleDropMorph:, which I missed the first time > because > Thanks! You saved me a search. :) > it is not in the dropping/grabbing protocol, but is instead in > events-processing. Maybe it should be moved? This is m

  1   2   3   4   5   6   7   8   >