Peter Uhnák wrote
at least from my naive view it should belong to both (and
protocols don't work like tags).
I agree. Maybe that will be Pharo's next fun enhancement!
-
Cheers,
Sean
--
View this message in context:
http://forum.world.st/Custom-DND-Drop-Action-tp4803667p4803694.html
Sent
How do I accept a dropped Morph, but do something other than the default
add-as-submorph? I want to drop a Morph into a TextMorph and have it be
automatically converted into a TextAnchor, but instead it becomes a submorph
and takes over all available space so the contents of the TextMorph can not
Never mind. I found #handleDropMorph:, which I missed the first time because
it is not in the dropping/grabbing protocol, but is instead in
events-processing. Maybe it should be moved?
-
Cheers,
Sean
--
View this message in context:
On Wed, Feb 4, 2015 at 1:47 PM, S Krish krishnamachari.sudha...@gmail.com
wrote:
http://book.seaside.st/book/advanced/restful/getting-started
Thank you!
https://skrishnamachari.wordpress.com/wp-admin/post.php?post=252action=edit
have now a small update that allows asynch calls ( MQ
http://book.seaside.st/book/advanced/restful/getting-started
https://skrishnamachari.wordpress.com/wp-admin/post.php?post=252action=edit
have now a small update that allows asynch calls ( MQ like.. ) and hope to
fuse some part of this to Teapot to make it fully capable:
http://sparkjava.com/ ..
Am 04.02.2015 um 13:54 schrieb Tudor Girba tu...@tudorgirba.com:
Hi,
Hmm. I cannot reproduce your problem. I do this:
- Shift+Enter - Spotter is opened without preview
- Cmd+P - preview is opened
- Esc
- Shift+Enter - Spotter is opened with preview
- Cmd+P - preview is closed
-
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 + arg1' in: aContext to: nil
which didn't even come close to
On Wed, Feb 4, 2015 at 5:53 PM, Sean P. DeNigris s...@clipperadams.com
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
If the app is useful I will go on with the development. I have following
roadmap in my mind:
* REST API so review can be created automatically
* Mail notifications
* List of reviewers
* Review state like approved, denied, minimum number of approves need to
for review to pass
* Comment linked to a
There is a Jenkins build for Pharo done by Jean-Baptiste Arnaud. The usability
is mainly hindered by the windowing system, which is VERY slow. On the
raspberry, there is the possibility to replace X11 by wayland, and I read
wrappers should exist to move from one to the other. Wayland can use
Am 03.02.2015 um 13:25 schrieb Marcus Denker marcus.den...@inria.fr:
On 02 Feb 2015, at 22:02, Tudor Girba tu...@tudorgirba.com
mailto:tu...@tudorgirba.com wrote:
Hi,
The Glamorous Team is happy to present a new feature in Spotter: preview
(you toggle it with Cmd+p). We think this
Better on this list.
Message transféré
Sujet : [Pharo-dev] why smalltalk is the best system to support
object-oriented thinking :)
Date : Tue, 03 Feb 2015 21:15:39 +0100
De :stepharo steph...@free.fr
Répondre à :Pharo Development List pharo-...@lists.pharo.org
Pour
On Wed, Feb 4, 2015 at 12:49 AM, Laura Risani laura.ris...@gmail.com
wrote:
Hi all,
The official image i've downloaded weighted about 40 MB. Now its size is
about 200 MB. What is the explanation? Is this normal or have i done
something wrong?
I haven't been using globals, just downloaded
On 04 Feb 2015, at 09:46, Marcus Denker marcus.den...@inria.fr wrote:
On 04 Feb 2015, at 09:33, Sven Van Caekenberghe s...@stfx.eu wrote:
Hi Mike,
I just tried your application and it works well. Simple but effective.
One question: Could we benefit from that for daily review of
Hi Nacho,
The red box with two crossing yellow lines indicates that you made a
mistake in the drawOn: method.
Whenever that happens, here is a tip that might help you. If you can't
easily spot your error, you can debug it by evaluating:
aBall drawOn: Display getCanvas.
This will bring up the
Hi,
I have the following question:
I want to draw a bouncing ball.
First thing I do is create a class:
EllipseMorph subclass: #Ball
instanceVariableNames: 'position'
classVariableNames: ''
category: 'PBE-BouncingBall'
Then an initialization method that mostly do a super
Hi,
Select any of that 5 items and use CMD (Alt on windows,linux)+Shift+Right.
Of course shortcuts in spotter are not very obvious, so we are planning to
add hints and have all actions to present as buttons in UI
Cheers,
Alex
On Wed, Feb 4, 2015 at 7:11 PM, Sean P. DeNigris
Thank you both of you!
I will continue with my Morphic explorations
Nacho
-
Nacho
Smalltalker apprentice.
Buenos Aires, Argentina.
--
View this message in context:
http://forum.world.st/Question-on-Morphic-drawOn-method-tp4803695p4803734.html
Sent from the Pharo Smalltalk Users
alt+shift+left click should bring on the halo , the claw like icon has a
menu with the debuger as an entry you can trigger to see whats wrong. You
can also inspect the morph too and play around with it, very useful even
when you got no errors.
On Wed, Feb 4, 2015 at 9:33 PM, nacho
Spotter is showing me Classes 5/26. How do I see the remaining 21?
-
Cheers,
Sean
--
View this message in context:
http://forum.world.st/Spotter-How-to-see-more-beyond-tp4803696.html
Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.
Hello Nacho,
It is even simpler as you seems to imagine.
First you don't need to subclass EllipseMorph if all you want is a ball,
then you don't need the position attribute, Morph always knows about
positionning.
Then, the #drawOn: method is to do the drawing, you don't need to
subclass as long
Sean P. DeNigris wrote
Maybe it should be moved?
Ouch! #acceptDroppingMorph:event: was the message I really wanted, but it
was in the 'layout' protocol! That's just mean ;)
-
Cheers,
Sean
--
View this message in context:
http://forum.world.st/Custom-DND-Drop-Action-tp4803667p4803724.html
2015-02-04 18:48 GMT+01:00 Sean P. DeNigris s...@clipperadams.com:
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
Great! Thanks.
It works perfectly in Pharo 3 but not in Pharo 4.
I thought that the drawOn: aCanvas was mandatory.
I'm so lost in morphic.
Trying to understand the logic of it slowly.
Unfortunately there seems to be little documentation and a lot of what is
there does not work in Pharo 3 or 4.
HilaireFernandes wrote
First you don't need to subclass EllipseMorph...
100 to: 50 by: -1 do: [ :x |
aBall
height: x;
bottom: 200 - x.
World doOneCycle]
Of course you can have the best of both worlds by using Morphic stepping in
your subclass, like:
EllipseMorph
nacho wrote
I'm so lost in morphic.
Trying to understand the logic of it slowly.
Unfortunately there seems to be little documentation and a lot of what is
there does not work in Pharo 3 or 4.
I use Pharo By Example for most straightforward Morphic questions. It shows
the nuts-and-bolts very
On Wed, Feb 4, 2015 at 4:04 AM, olivier auverlot olivier.auver...@gmail.com
wrote:
Zinc + Seaside REST is a very good solution that I use every days ;-)
Hi Olivier,
Is there some documentation, post or example about that?
Thanks,
Olivier
2015-02-04 7:13 GMT+01:00 S Krish
Hi,
Hmm. I cannot reproduce your problem. I do this:
- Shift+Enter - Spotter is opened without preview
- Cmd+P - preview is opened
- Esc
- Shift+Enter - Spotter is opened with preview
- Cmd+P - preview is closed
- Shift+Enter - Spotter is opened without preview
Does this not work for you in this
---BeginMessage---
Thanks you all for the answers!
-Cam
On Wed, Feb 4, 2015 at 2:04 AM, olivier auverlot olivier.auver...@gmail.com
wrote:
Zinc + Seaside REST is a very good solution that I use every days ;-)
Olivier
2015-02-04 7:13 GMT+01:00 S Krish krishnamachari.sudha...@gmail.com:
Excellent talk. I was particularly happy with the hammer illustration on
slide 8.
--Trygve
On 04.02.2015 10:43, stepharo wrote:
Better on this list.
Message transféré
Sujet : [Pharo-dev] why smalltalk is the best system to support
object-oriented thinking :)
Date : Tue,
Le 03/02/2015 17:49, Laura Risani a écrit :
The official image i've downloaded weighted about 40 MB. Now its size
is about 200 MB. What is the explanation? Is this normal or have i
done something wrong?
You may want to try World menuSystemDo image clean up
Hilaire
--
Dr. Geo -
On Feb 4, 2015, at 2:05 AM, Cameron Sanders via Pharo-users
pharo-users@lists.pharo.org wrote:
Date: February 4, 2015 at 2:05:21 AM GMT-2
Subject: REST approach?
From: Cameron Sanders camsand...@aol.com
To: Any question about pharo is welcome pharo-users@lists.pharo.org
Our app
Hi,
We are trying to transform programs (from Delphi to Java). We already
have source and target ASTs and we would like to write the
transformation itself. We are wondering if we could use SmaCC to do that
but we are not able to figure out how. The documentation is not clear
on the fact that it
Please distribute widely
23rd International Smalltalk Joint Conference - Call for Contributions
Brescia, Italy
from 13 to 17 July 2015
http://www.esug.org/Conferences/2015/
This call includes:
Developer Forum
Smalltalk Technology Award
Hi Jean-Christophe,
Yes, SmaCC has the infrastructure for doing that, in text form (match an
ast subtree, produce a string) and linked to SmaCC produced ASTs (I believe
by using a GLR parser to generate multiple matches on an input pattern).
Using text is a deliberate design decision [1], as far
35 matches
Mail list logo