Hi,
Moving the icons down to the middle row is as simple as changing:
***
codeActionsPragmas
^ #( stackDebuggingActions codeDebuggingActions )
***
***
stackDebuggingActionsPragmas
^ #()
***
in GTGenericStackDebugger.
Best regards,
Henrik
--
Sent from:
Hi,
>Announcer allInstances size. “7124"
Remember that GT implements a lot of Announcer subclasses so to gain a
better picture you should use:
Announcer allSubInstances size.
>clearly, that’s not good.
>a symptom there is something leaking badly in our current development
version.
There has
Hi Marcus,
You can add -p for this error to be ignored:
man mkdir | grep -A 2 parents
-p, --parents
no error if existing, make parent directories as needed
Best regards,
Henrik
--
Sent from: http://forum.world.st/Pharo-Smalltalk-Developers-f1294837.html
Here is a fix.
PositionableStream>>#upToAll: aCollection
"Answer a subcollection from the current access position to the
occurrence
(if any, but not inclusive) of aCollection. If aCollection is not in the
stream, answer the entire rest of the stream."
Hi,
#upTo: works fine.
'test' asFileReference readStreamDo: [ :stream | stream converter:
UTF8TextConverter new; upTo: $e ]. "'ß'"
It looks like PositionableStream>>#upToAll: assumes a 1 to 1 map per item,
and only takes the difference between current position up to the pattern
when found.
Hi Sven,
What you are seeing is most likely a $, vs $. issue.
See BenchmarkResult >>#printFrequenceOn: it uses both decimal and thousand
separators.
If i run this code:
-
| counter |
counter :=
ZnClient new in: [ :client |
client loggingOff.
[ client
>>GLMRubScrolledTextBrick>>withoutMargins uses self margins: but I
cannot find the method.
This is because it is implemented in RubScrollTextMorph.
GLMRubScrolledTextBrick implements #doesNotUnderstand: to send it to the
rubric object.
see:
>>Everyone who used filetree with metadata can tell it is super annoying and
destroys the complete experience.
There has been a fix for this on the issue tracker for some time:
https://pharo.fogbugz.com/f/cases/20251/Write-out-filetree-metadata-in-order
Best regards,
Henrik
--
Sent from:
>> but this is still WIP: for example timestamp needs to go to avoid conflicts.
why/how would this cause conflicts versus other changes?
Fra: Pharo-dev på vegne av Esteban
Lorenzano
Sendt: 9. september
The Link to 236 points to something else that is not #at:at:
in
https://github.com/pharo-project/pharo/commit/00f8cff298cf359b63cee4ab1c0a831829e2354a
Why are new sub dictionaries instansiated as a normal Dictionary instead of
species/class?
I would expect a sub-Dictionary be of the same class
Hi,
I had a look at the Pharo 7.0 today and see metadata for methods (Author and
timestamp) has been removed*, what is the reason for this?
Having the ability to find methods created around the same time and/or by
author is quite useful when fixing bugs in the core libraries.
There is also quite
Are you sure you have the correct version of .sources?.
It has allways been possible to have the .sources at the .exe (I have allways
done it that way), (are you sure that the right vm is started, clicking on an
image might launch a different vm if you have multiple).
What is the output of
A simple way of having a "onlyMe" type is to throw another type of error and
wrap the code execution with an #on:do: catching and resuming Halt.
Here is an example:
---
| cls |
cls := Halt subclass: #CustomHalt.
cls class compile:
Sounds like a good idea, but please implement them as constructors/class side
methods in Halt instead of adding even more methods to Object.
"self haltIfTest -> Halt ifTest"
Best regards,
Henrik
Fra: Pharo-dev på vegne av
default theme coloring ...
but I wonder why it
changes the theme when I manipulate only the comment color?
Is this a bug?
Thanks
T.
Gesendet: Donnerstag, 27. April 2017 um 11:33 Uhr
Von: "Henrik Nergaard" <draag...@outlook.com>
An: "Pharo Development List" <pharo-dev
Tested with a clean 60471 and the correct code theme is used for me (primary
white text color).
What are these values for you:
--
Smalltalk ui theme. "a Pharo3DarkTheme"
SHTextStylerST80 styleTable = Smalltalk ui theme shStyleTable. "true"
SHRBTextStyler styleTable =
Hi Ben,
---
Smalltalk garbageCollect.
Pharo3DarkTheme allInstances first pointersTo collect: [ :each | each class ]
"{ClassVariable. Context. Context. Context. Context. Context. Context. Context.
Context. Context. Context}"
---
>I can't understand where in that method
Hi,
Apperently the number parser cannot parse '2E+2' correctly, is this a bug or a
feature.
('2E+2' asNumber = '2e2' asNumber)
Is there any reason to why parsing numbers with uppercase exponent letter is
not allowed?
(see NumberParser >> #exponentLetters)
The parser has a method named
>to "capitalize" is writing a word with its first letter.
The Smalltalk String is not neccessarily just a word, it could be something
else so the current implementation makes no assumptions of what the string is.
rMilliseconds: 1)
wait]
displayingProgress:[:aClass| 'Processing ',
aClass name].
Phil
On Sun, Feb 5, 2017 at 7:16 PM, Henrik Nergaard
<draag...@outlook.com<mailto:draag...@outlook.com>> wrote:
http://smalltalkhub.com/#!/~Latsa
Writer nextPut: Smalltalk allClasses ] ] ] ] ensure: [ file
> close ].
> ] timeToRun. "0:00:00:00.385"
>
> Which is faster.
>
> Total file size is ~1.2MB.
>
> BTW, we need #readStreamDo: and #writeStreamDo: on File I think, as it
> encourages proper resource m
http://smalltalkhub.com/#!/~Latsabben/GafletFremgangFremviser
-
| ston file|
ston := (1 to: 30) flatCollect: [:ix |STON toStringPretty: Smalltalk
allClasses].
file := (FileStream fileNamed: 'file.ston').
ston whileDisplayingProgress
action: [ :stream | file
Here is an example of using the ast to remove -all- halts from the code if one
or more is encountered during execution.
| haltTypes haltingMethods testCode |
haltTypes := #( halt halt: haltIf: haltIfNil haltOnCount: haltOnce).
llection flatCollect: #something VS (collection
collect: #something) flattened
On 01/12/2017 06:45 AM, Julien Delplanque wrote:
> On 12/01/17 12:32, Henrik Nergaard wrote:
>> Ps. Using a symbol instead of a block reduces performance.
>> [ 1 to: 1e9 do: [ :each | each ] ] timeToRun.
>Shouldn't these two code snippets behave the same way?
#flatCollect: expects that aBlock returns a collection for each element (see
method comment) and only flattens one level, while # flattened expands all sub
collections it finds:
Jan 2017, at 11:46, Henrik Nergaard <draag...@outlook.com> wrote:
>
> And Object/Association >> #tail
>
> Best regards,
> Henrik
>
> -Opprinnelig melding-
> Fra: Pharo-dev [mailto:pharo-dev-boun...@lists.pharo.org] På vegne av Esteban
> Lorenzano
&
And Object/Association >> #tail
Best regards,
Henrik
-Opprinnelig melding-
Fra: Pharo-dev [mailto:pharo-dev-boun...@lists.pharo.org] På vegne av Esteban
Lorenzano
Sendt: 11 January 2017 10:13
Til: Pharo Development List
Emne: Re: [Pharo-dev] Strange DNU
+100
I do not think that there should be restrictions on the number of :: separators.
Modified to allow #A::B::Object etc..
---
isValidGlobalName
self ifEmpty: [ ^ false ].
"reserverd default names"
self = #NameOfSubclass ifTrue: [ ^ false ].
Using floats should not be a problem as BitBlt will round these to integers:
| canvas image |
canvas := FormCanvas extent: 100.1@100.2.
canvas fillColor: Color gray.
image := Smalltalk ui icons iconNamed: #error.
canvas image: image at: 2.5@3.9 sourceRect: (1.2@5.3 extent: 42.1@43.4) rule:
34.
>The timing problem might indeed be resolution dependent: 100us is probably to
>short sometimes.
Time microsecondClockValue gives the time in microseconds, but it does not
guarantee microsecond resolution, on windows the resolution is still in
milliseconds.
--
| col |
col := Array
Change line 3 of RBExtractMethodRefactoring>>extractMethod to something like:
[ extractedParseTree := RBParser parseExpression: extractCode ] on:
SyntaxErrorNotification do: [ :ex| ex debug ].
To bring up a debugger.
Best regards,
Henrik
-Original Message-
From: Pharo-dev
The Set implementation requires the array to have a size > 0.
(Set basicNew initialize: 0) add: #x "Error Zero Devide"
Best regards,
Henrik
-Original Message-
From: Pharo-dev [mailto:pharo-dev-boun...@lists.pharo.org] On Behalf Of
Christophe Demarey
Sent: Thursday, December 1, 2016
Hashed collections keep a portion of the available memory empty (usually 25%)
as a partition mechanism to increase lookup speed.
"Normal array"
| col |
col := Smalltalk allClassesAndTraits asArray.
[ col includes: 8; includes: Morph ] bench. "'366.853 per second'"
"Normal set ~75% load"
| set
SystemNavigation new allLocalCallsOn: 'No change' ofClass: ProtoObject .
"a Set(Delay class>>#delaySchedulerClass:)"
From: Pharo-dev [mailto:pharo-dev-boun...@lists.pharo.org] On Behalf Of Esteban
Lorenzano
Sent: Wednesday, November 30, 2016 12:14 PM
To: Pharo Development List
- Then I miss an important design point. Why datasource returns Morph?
Do you mean from #cellColumn:row: ?
- I do not get why a data source should return UI element. To me it violates
layers.
The datasource is a wrapper/binding between the real object and the view
(table/list) and provides the
Do you mean starting a linux vm via windows-bash with DISPLAY exported to
something like xming, or was something else done?
- fetching packages from github. (tar fail to create files with ':' in them, so
downloading filetree from github fails).
If the image/download path is located within the
Please test new VMs (round one)
2016-11-09 13:28 GMT+01:00 Henrik Nergaard
<henrik.nerga...@uia.no<mailto:henrik.nerga...@uia.no>>:
Got it running on Windows using “Ubuntu on Windows” and Xming server.
There are some failing kernel tests, but no crash so far ;)
You've used the linux
| dct arr |
dct := IdentityDictionary new.
arr := #(
#valueOfProperty:
#valueOfProperty:ifAbsent:
#valueOfProperty:ifAbsentPut:
#setProperty:toValue:
#hasProperty:
).
Morph withAllSubclasses do: [ :class |
class methods do: [ :each |
Every method implemented in the class side includes a literal:
"nil->theMetaClass".
Object class methods collect: [ :cm | cm literals last ].
What is it used for?
Best regards,
Henrik
=stable,VM=vm/lastCompletedBuild/console
From the output:
> Project: XMLParser release-2.8.7 [2.8.7]
Could you try manually loading the latest ConfigurationOfXMLParser from its
repo and using the latest XPath config again, and tell me what platform you're
using (Pharo, Squeak, GS)?
>From: &
Hi,
Trying to load XPath using the latest configuration
(ConfigurationOfXPath-monty.91) gives the following error:
MetacelloProjectSpecLoadError: No version found for #'release-2.8.7' of
ConfigurationOfXMLParser because: The symbolic version #'release-2.8.7' is not
defined in
Rewriting the implementation of #initSelectorTable to:
SelectorTable := WeakSet withAll: (CompiledMethod allInstances collect: [:m | m
selector] as: IdentitySet).
Makes it 20ms faster, so it looks like there is some overhead when using
WeakSet compared to first use a normal set to remove
Probably from the use of critical (mutex), the way #subscriptionsHandling: is
done, and that Announcer is built for X number of announcers and Y number of
subscribers, which means that each announcement the announcer has to filter and
find the correct subscribers.
| ann a |
ann :=
What about something like this?
Best regards,
Henrik
-Original Message-
From: Pharo-dev [mailto:pharo-dev-boun...@lists.pharo.org] On Behalf Of Stephan
Eggermont
Sent: Monday, August 22, 2016 10:36 PM
To: pharo-dev@lists.pharo.org
Subject: Re: [Pharo-dev] Usability issue : the
Hi,
Why is "[ * ] repeat" almost twice as slow as "[ * . true ] whileTrue" ?
--
[
| n |
n := 0.
[
[
n := n + 1.
n > 1 ifTrue: [ Error signal ]
] repeat
] on: Error do: [ :err | ].
]
At the top right corner of the webpage there is a dropdown menu with an entry
“Subscribe”. This enables you to automatically subscribe to cases according to
certain filters, and changes in those will then be notified by mail.
Best regards,
Henrik
From: Pharo-dev
Sunday, August 7, 2016 7:46 PM
To: Pharo Development List <pharo-dev@lists.pharo.org>
Subject: Re: [Pharo-dev] Spec TreeModel get selected items in order
2016-08-07 18:23 GMT+02:00 Nicolai Hess
<nicolaih...@gmail.com<mailto:nicolaih...@gmail.com>>:
2016-08-07 17:53 G
ListModel has that: #selectedItemsSorted, but looking at the tree model
structure I guess the simplest way is to just traverse the whole structure
until the selected nodes are found.
Something like this should do the trick:
--
TreeModel >>
On Windows?
Try:
-
CairoGlyph class removeSelector:#byteAlignment.
CairoGlyph rebuildFieldAccessors .
Best regards,
Henrik
-Original Message-
From: Pharo-dev [mailto:pharo-dev-boun...@lists.pharo.org] On Behalf Of Hilaire
Sent: Tuesday, July 12, 2016 11:00 AM
To:
IIRC the shortcut is not changed, it still is meta+right(+shift). Only the
tooltip was changed to display the system specific key instead of “cmd” so for
Windows/Linux this would be “ctrl”.
Best regards,
Henrik
From: Pharo-dev [mailto:pharo-dev-boun...@lists.pharo.org] On Behalf Of Nicolai
What about
Symbol >>#asIcon
^ Smalltalk ui icons iconNamed: self
Then one can do: "#add asIcon" ?
Best regards,
Henrik
-Original Message-
From: Pharo-dev [mailto:pharo-dev-boun...@lists.pharo.org] On Behalf Of Peter
Uhnak
Sent: Monday, May 30, 2016 4:34 PM
To: Pharo Development
When trying to load the Slice for 17696 from pharo60Inbox I get:
“MessageNotUnderstood: receiver of "dependencies" is nil” when it tries to load
AST-FFI-Pharo50Compatibility.
I think you need to reset the package cache/folder?
You might also I need to do the slice again (without loading the
Not sure where to report zinc bugs… fogzbugz? or is it a separate project?
Any bug found in the standard image regardless of project should be reported on
fogbugz, no?
but this works just fine…
If I do:
| imageStream |
imageStream := (ZnEasy get:
awing is
being called for the full window)
btw, this is not just a rubric problem, it happens if I put a
PluggableTextMorph as well.
cheers!
Esteban
> On 22 May 2016, at 21:28, Henrik Nergaard <henrik.nerga...@uia.no> wrote:
>
> Hi Esteban,
>
> To see the damage live
Pharo-dev [mailto:pharo-dev-boun...@lists.pharo.org] On Behalf Of stepharo
Sent: Sunday, May 22, 2016 9:49 PM
To: Pharo Development List <pharo-dev@lists.pharo.org>
Subject: Re: [Pharo-dev] weird tales about cursors and rectangle invalidations
Le 22/5/16 à 21:28, Henrik Nergaard a écrit :
> Hi E
Hi Esteban,
To see the damage live:
SystemSettings->Tools->Debugging->Flash damaged morphic region.
Redrawing:
Only morphs whose area is within the visible draw region of the canvas (the
damaged area) needs to be redrawn, so if a morph fullbounds is not
intersecting with this area it will
There is a method in SourceFileArray
#localProcessReadStreamAtFileIndex:atPosition:ifPresent:ifAbsent: which uses a
ProccessLocalVariable called ProccessAndSessionLocalSourcesFileArray (see
#localProcessReadOnlyCopy). Changing the last line in
#readStreamAt:ifPresent:ifAbsent: to use this
Catching the Notification stops it from popping up the syntaxErrorDebugger.
'AAA.st' asFileReference readStreamDo: [ :s |
importer := CodeImporter fileStream: s.
[ importer evaluateDeclarations ] on: SyntaxErrorNotification
do: [ :e | …]
].
From: Pharo-dev
hn, Latsabben, and HenrikNergrd is me... (I will create a slice to fix those in
Pharo 6)
Best regards,
Henrik
-Original Message-
From: Pharo-dev [mailto:pharo-dev-boun...@lists.pharo.org] On Behalf Of Esteban
Lorenzano
Sent: Friday, April 29, 2016 10:26 AM
To: Pharo Board
The only thing required for styling is to specify the attributes for the runs
associated with the text.
A simple example:
| text attributes oldRuns clr|
text := (String loremIpsum: 1234) asText.
attributes := Array new: text size.
clr := TextColor color: Color random.
1 to: text size do: [
Hi Sven,
Instead of:
stonProcessSubObjects: block
| didContainStonReferenceAsKey |
didContainStonReferenceAsKey := self stonProcessSubObjects: block
super stonProcessSubObjects: block.
self isHealthy ifFalse: [ self rehash ]..
super
-Original Message-
From: Pharo-dev [mailto:pharo-dev-boun...@lists.pharo.org] On Behalf Of Thierry
Goubier
Sent: Sunday, April 3, 2016 9:52 PM
To: pharo-dev@lists.pharo.org
Subject: Re: [Pharo-dev] [bloc] shape size?
Hi Henrik,
Le 03/04/2016 21:32, Henrik Nergaard a écrit :
>
>A FTTableContainerMorph recreates all its submorphs on every drawOn:.
Not correct.
Submorphs are only recreated when the view of the list has changed
#canRefreshValues, ie if the variable "needsRefreshExposedRows" is set to true.
If this is false nothing will happen in #drawOn:
If changes
>Let me return you the question then: do you do a composition of submorphs if
>you're trying to get a different drawOn:?
>Oh, ok, that's true FastTable does it for the selection... changing background
>color by encapsulating a row in another Morph with the right background color.
Did, not
at 7:24 AM
> From: "Nicolai Hess" <nicolaih...@gmail.com>
> To: "Pharo Development List" <pharo-dev@lists.pharo.org>
> Subject: Re: [Pharo-dev] How to set styler for RubEditingArea?
> Isn't there a xml.-Styler in Moose? How is that implemented?
>
> Am 1
themeChanged is the hook method which is called from World and then by default
recursively traverses the tree.
If you have anything in a morph which is theming dependent, then this method
should be implemented.
Currently it is the morphs job to update its other parts when the theme changed
Isn't there a xml.-Styler in Moose? How is that implemented?
Am 19.03.2016 11:28 vorm. schrieb "Stephan Eggermont"
<step...@stack.nl<mailto:step...@stack.nl>>:
On 19-03-16 10:59, Henrik Nergaard wrote:
There is no way of doing that, RubParagraphDecorator lacks a method to set
styler := aTextStyler.
styler view: self.
Best regards,
Henrik
-Original Message-
From: Pharo-dev [mailto:pharo-dev-boun...@lists.pharo.org] On Behalf Of Henrik
Nergaard
Sent: Saturday, March 19, 2016 11:00 AM
To: Pharo Development List <pharo-dev@lists.pharo.org>
Subject: Re:
There is no way of doing that, RubParagraphDecorator lacks a method to set its
style variable.
If you add that, then you can do something like:
Self is a RubEditingArea
(self decoratorNamed: #shoutStyler) style: yourStyleclass new.
Best regards,
Henrik
-Original Message-
From:
The numbers in that csv from is in float, but with the fraction part is 0.
This is most likely caused by the fact that the precision for timing is in
milliseconds, not microseconds.
Even the #primUTCMicrosecondsClock only updates per millisecond for me.
(Windows).
((1 to: 10) collect: [:n
And changed back again because it is two different cases ;).
Case 7241 is about removing the instance side method #name , which gives you a
generic name of the receiver (by default #printString) where any if its uses is
such that it is really hard to use it for anything like defining a variable
The ShortcutReminder tool includes a button which resets parts of its state
from the settings. The methods used for this can be found under the "settings"
protocol on the instance side.
Best regards,
Henrik
-Original Message-
From: Pharo-dev [mailto:pharo-dev-boun...@lists.pharo.org]
Caused by:
Build 50601
16020 Syntax Highlighting Rubric: First shows non-highlighted text, then color.
Looks slow
https://pharo.fogbugz.com/f/cases/16020
From: Pharo-dev [mailto:pharo-dev-boun...@lists.pharo.org] On Behalf Of Nicolai
Hess
Sent: Tuesday, February 23, 2016 2:41
#traitComposition.
#traitComposition:.
#veryDeepCopyWith:} asSet.
I don't know about the other failures.
> On 20 Feb 2016, at 11:37, Henrik Nergaard <henrik.nerga...@uia.no> wrote:
>
> The
The issue should be unrelated:
https://pharo.fogbugz.com/f/cases/17616/CI-Server-Failing-tests-related-to-Traits-Polymorphism
Best regards,
Henrik
-Original Message-
From: Pharo-dev [mailto:pharo-dev-boun...@lists.pharo.org] On Behalf Of Sven
Van Caekenberghe
Sent: Saturday, February
https://pharo.fogbugz.com/f/cases/17653/GTSpecPreDebugWindow-initializeStackPane-GTSUnitDebugger-MNU-reciever-of-paneNamed-is-nil
-Original Message-
From: Pharo-dev [mailto:pharo-dev-boun...@lists.pharo.org] On Behalf Of Ben
Coman
Sent: Friday, February 19, 2016 6:52 PM
To: Pharo
>Except shift-enter in Finder input field still brings up Spotter.
Spotter is a global key-bind meaning that any user of km-dispatcher
will by default bring up spotter on shift-enter...
Perhaps it would be better to move this to those that actually uses it;
in the WorldMorph
Removing
#(IRPrinterV2 #(visitStoreTemp: visitStoreRemoteTemp:
visitPopIntoLiteralVariable: visitPushTemp: visitReturnLiteral:
visitStoreInstVar: visitStoreLiteralVariable: visitPushLiteralVariable:
visitPushInstVar: visitJump: visitPushLiteral: label: visitPushArray:
visitPopIntoTemp:
:20 PM, Henrik Nergaard <henrik.nerga...@uia.no> wrote:
> That looks like the search field in FastTable; Clicking on another
> class/pressing escape should remove it. (I guess after discarding the changed
> code the keyboard focus went to the code pane, and therefore pressing
>
That looks like the search field in FastTable; Clicking on another
class/pressing escape should remove it. (I guess after discarding the changed
code the keyboard focus went to the code pane, and therefore pressing
opens the search field instead of typing in the code area)
Best regards,
#referencePostion returns the specified center for the morph in global
coordinates.
By default this will be the same as “self bounds origin + (self bounds
extent/2.0)” but can have other depending on what #rotationCenter returns.
#referencePositon: on the other hand do not set a new centre, but
From: Pharo-dev [mailto:pharo-dev-boun...@lists.pharo.org] On Behalf Of Henrik
Nergaard
Sent: Wednesday, January 27, 2016 4:47 PM
To: Pharo Development List <pharo-dev@lists.pharo.org>
Subject: Re: [Pharo-dev] Morphic magician requested. What is referencePosition?
#referencePostion r
What about something like this?
^self species hash hashComposer
add: leftFraction;
add: leftOffset;
add: topFraction;
add: topOffset;
add: rightOffset;
add: bottomFraction;
add: bottomOffset
HashComposer>>#add: anObject
^hash :=
NotificationMorph | NotifierMorph | InformationMorph ?
Best regards,
Henrik
-Original Message-
From: Pharo-dev [mailto:pharo-dev-boun...@lists.pharo.org] On Behalf Of Tudor
Girba
Sent: Friday, January 15, 2016 10:21 PM
To: Pharo Development List
Subject: Re:
-
From: Pharo-dev [mailto:pharo-dev-boun...@lists.pharo.org] On Behalf Of
Ferlicot D. Cyril
Sent: Friday, January 15, 2016 10:32 PM
To: pharo-dev@lists.pharo.org
Subject: Re: [Pharo-dev] Growl setting name
Le 15/01/2016 22:25, Henrik Nergaard a écrit :
> NotificationMorph | NotifierMo
Hi Stef,
Do the error still happen if you merge:
Name: Morphic-Widgets-FastTable-HenrikNergaard.148
Author: HenrikNergaard
Time: 13 January 2016, 3:40:48.807358 pm
UUID: b807ebde-ad62-ce41-977a-e6cdce230e93
Ancestors: Morphic-Widgets-FastTable-CyrilFerlicot.147
?
Best regards,
Henrik
If the prefix is renamed would it be possible to include a delimiter symbol
between whatever prefix name and the object name? (for example underscore).
Then one could change the how a class is viewed in a simple manner (see
attached example).
Best regards,
Henrik
From: Pharo-dev
Somehow it integrated
__
Name: SLICE-Issue-17348-Enhance-shortcut-learnability-tr.2
Author: tr
Time: 8 January 2016, 4:18:55.135106 pm
UUID: 0aa30f76-84f3-0449-acde-172e56ea3615
Ancestors: SLICE-Issue-17348-Enhance-shortcut-learnability-tr.1
Dependencies: Morphic-Base-tr.526
better
http://ws.stfx.eu/3KXXDAJ4EUF6
-Original Message-
From: Pharo-dev [mailto:pharo-dev-boun...@lists.pharo.org] On Behalf Of Stephan
Eggermont
Sent: Saturday, January 9, 2016 3:36 PM
To: pharo-dev@lists.pharo.org
Subject: Re: [Pharo-dev] gtdebugger in pharo 5.0
On 09-01-16 12:39, Dimitris
Like this?
http://smalltalkhub.com/#!/~Latsabben/NumIt
Best regards,
Henrik
-Original Message-
From: Pharo-dev [mailto:pharo-dev-boun...@lists.pharo.org] On Behalf Of stepharo
Sent: Thursday, December 24, 2015 9:58 AM
To: Pharo Development List
Subject: Re:
Here is my take on it.
http://smalltalkhub.com/#!/~Latsabben/GafletFremgangFremviser
Best regards,
Henrik
From: Pharo-dev [mailto:pharo-dev-boun...@lists.pharo.org] On Behalf Of Hernán
Morales Durand
Sent: Tuesday, December 8, 2015 12:28 AM
To: Pharo Development List
Case 17178 added an extra check to the handling of mouse movement to use the
result from asking the event handler by default (if the morph has an event
handler) in the same way as other “handles” methods behaves. The default
behaviour for Morph event handling is that if an event handler is
For the Rubric keybinding; changing the calls using “self model” in
RubSmalltalkEditor>>#modelCurrentSelectedClass to call “self model
interactionModel” instead should make the keybinding work again (at least
changing the one to #selectedBehaviour).
Best regards,
Henrik
From: Pharo-dev
You could use one of those images and rotate it when drawing, changing the
angle by #step.
I attached an example.
Best regards,
Henrik
From: Pharo-dev [mailto:pharo-dev-boun...@lists.pharo.org] On Behalf Of Yuriy
Tymchuk
Sent: Tuesday, November 24, 2015 7:58 PM
To: Pharo Development List
The RubFindReplaceDialogWindow is made and held by RubFindReplaceService ivar
dialog. There is also the ivar textAreaHolder which holds the active text area.
When setting this variable from #textArea: an announcement is created for the
textArea to the RubFindReplaceService, this should probably
delay := [ :msToWait |
| t |
t := Time millisecondClockValue.
[ (Time millisecondClockValue - t) < msToWait ]
whileTrue: [ World doOneCycle ].
].
delay value: 200.
Best regards,
Henrik
-Original Message-
From: Pharo-dev [mailto:pharo-dev-boun...@lists.pharo.org] On Behalf Of
It looks like the taskbarThumbnails might be leaking memory.
When moving the mouse across the taskbar viewing the different thumbnails the
memory usage increases by quite a lot (viewed in the taskmanager (Windows) ).
I made an example script to illustrate the resource usage.
Test scenario: 20
The identityHash should stay the same for any number of changes to the array..
| c1 c2 |
c1 := { #a . #b } asOrderedCollection.
c2 := { #a . #b } asOrderedCollection.
{
c1 hash.
c1 identityHash.
c2 hash.
c2 identityHash .
(c2 add: #c; yourself)
Hi Marco,
Had some fun with the code you posted :D.
This *should* be the equivalent, but with less variables so that you can access
the RBBlockNode.
[ :h :s :v | | chroma rgb |
chroma := s*v.
rgb := { 0 . 0 . 0 }.
rgb
at: h + 60) // 120) \\ 3) + 1) put:
Hi,
Is there a simple way to query a variable to check how many methods that
access it? (just want to know the size)
This works, but it is quite slow.
(Morph whichSelectorsAccess: #owner) size
Morph withAllSubclasses inject: 0 into: [ :sum :class | sum + (class
whichSelectorsAccess: #owner)
1 - 100 of 107 matches
Mail list logo