Tobias Pape uploaded a new version of Graphics to project The Trunk:
http://source.squeak.org/trunk/Graphics-topa.347.mcz
==================== Summary ====================
Name: Graphics-topa.347
Author: topa
Time: 13 June 2016, 3:37:35.948509 pm
UUID: a8993135-9c6f-4daf-9f2b-75f5eb4f9fb2
Ancestors: Graphics-topa.346
(Oops. Use 30% smaller PNGs)
=============== Diff against Graphics-topa.346 ===============
Item was changed:
----- Method: StrikeFont class>>dejaVuSansBold12Form (in category 'dejaVu font data') -----
(excessive size, no diff calculated)
Item was changed:
----- Method: StrikeFont class>>dejaVuSansBold14Form (in category 'dejaVu font data') -----
(excessive size, no diff calculated)
Item was changed:
----- Method: StrikeFont class>>dejaVuSansBold17Form (in category 'dejaVu font data') -----
(excessive size, no diff calculated)
Item was changed:
----- Method: StrikeFont class>>dejaVuSansBold20Form (in category 'dejaVu font data') -----
(excessive size, no diff calculated)
Item was changed:
----- Method: StrikeFont class>>dejaVuSansBold7Form (in category 'dejaVu font data') -----
(excessive size, no diff calculated)
Item was changed:
----- Method: StrikeFont class>>dejaVuSansBold9Form (in category 'dejaVu font data') -----
(excessive size, no diff calculated)
Item was changed:
----- Method: StrikeFont class>>dejaVuSansBoldDark12Form (in category 'dejaVu font data') -----
(excessive size, no diff calculated)
Item was changed:
----- Method: StrikeFont class>>dejaVuSansBoldDark14Form (in category 'dejaVu font data') -----
(excessive size, no diff calculated)
Item was changed:
----- Method: StrikeFont class>>dejaVuSansBoldDark17Form (in category 'dejaVu font data') -----
(excessive size, no diff calculated)
Item was changed:
----- Method: StrikeFont class>>dejaVuSansBoldDark20Form (in category 'dejaVu font data') -----
(excessive size, no diff calculated)
Item was changed:
----- Method: StrikeFont class>>dejaVuSansBoldDark7Form (in category 'dejaVu font data') -----
(excessive size, no diff calculated)
Item was changed:
----- Method: StrikeFont class>>dejaVuSansBoldDark9Form (in category 'dejaVu font data') -----
(excessive size, no diff calculated)
Item was changed:
----- Method: StrikeFont class>>dejaVuSansBoldOblique12Form (in category 'dejaVu font data') -----
(excessive size, no diff calculated)
Item was changed:
----- Method: StrikeFont class>>dejaVuSansBoldOblique14Form (in category 'dejaVu font data') -----
(excessive size, no diff calculated)
Item was changed:
----- Method: StrikeFont class>>dejaVuSansBoldOblique17Form (in category 'dejaVu font data') -----
(excessive size, no diff calculated)
Item was changed:
----- Method: StrikeFont class>>dejaVuSansBoldOblique20Form (in category 'dejaVu font data') -----
(excessive size, no diff calculated)
Item was changed:
----- Method: StrikeFont class>>dejaVuSansBoldOblique7Form (in category 'dejaVu font data') -----
(excessive size, no diff calculated)
Item was changed:
----- Method: StrikeFont class>>dejaVuSansBoldOblique9Form (in category 'dejaVu font data') -----
(excessive size, no diff calculated)
Item was changed:
----- Method: StrikeFont class>>dejaVuSansBoldObliqueDark12Form (in category 'dejaVu font data') -----
(excessive size, no diff calculated)
Item was changed:
----- Method: StrikeFont class>>dejaVuSansBoldObliqueDark14Form (in category 'dejaVu font data') -----
(excessive size, no diff calculated)
Item was changed:
----- Method: StrikeFont class>>dejaVuSansBoldObliqueDark17Form (in category 'dejaVu font data') -----
(excessive size, no diff calculated)
Item was changed:
----- Method: StrikeFont class>>dejaVuSansBoldObliqueDark20Form (in category 'dejaVu font data') -----
(excessive size, no diff calculated)
Item was changed:
----- Method: StrikeFont class>>dejaVuSansBoldObliqueDark7Form (in category 'dejaVu font data') -----
(excessive size, no diff calculated)
Item was changed:
----- Method: StrikeFont class>>dejaVuSansBoldObliqueDark9Form (in category 'dejaVu font data') -----
(excessive size, no diff calculated)
Item was changed:
----- Method: StrikeFont class>>dejaVuSansBook12Form (in category 'dejaVu font data') -----
(excessive size, no diff calculated)
Item was changed:
----- Method: StrikeFont class>>dejaVuSansBook14Form (in category 'dejaVu font data') -----
(excessive size, no diff calculated)
Item was changed:
----- Method: StrikeFont class>>dejaVuSansBook17Form (in category 'dejaVu font data') -----
(excessive size, no diff calculated)
Item was changed:
----- Method: StrikeFont class>>dejaVuSansBook20Form (in category 'dejaVu font data') -----
(excessive size, no diff calculated)
Item was changed:
----- Method: StrikeFont class>>dejaVuSansBook7Form (in category 'dejaVu font data') -----
(excessive size, no diff calculated)
Item was changed:
----- Method: StrikeFont class>>dejaVuSansBook9Form (in category 'dejaVu font data') -----
(excessive size, no diff calculated)
Item was changed:
----- Method: StrikeFont class>>dejaVuSansBookDark12Form (in category 'dejaVu font data') -----
(excessive size, no diff calculated)
Item was changed:
----- Method: StrikeFont class>>dejaVuSansBookDark14Form (in category 'dejaVu font data') -----
(excessive size, no diff calculated)
Item was changed:
----- Method: StrikeFont class>>dejaVuSansBookDark17Form (in category 'dejaVu font data') -----
(excessive size, no diff calculated)
Item was changed:
----- Method: StrikeFont class>>dejaVuSansBookDark20Form (in category 'dejaVu font data') -----
(excessive size, no diff calculated)
Item was changed:
----- Method: StrikeFont class>>dejaVuSansBookDark7Form (in category 'dejaVu font data') -----
(excessive size, no diff calculated)
Item was changed:
----- Method: StrikeFont class>>dejaVuSansBookDark9Form (in category 'dejaVu font data') -----
(excessive size, no diff calculated)
Item was changed:
----- Method: StrikeFont class>>dejaVuSansOblique12Form (in category 'dejaVu font data') -----
(excessive size, no diff calculated)
Item was changed:
----- Method: StrikeFont class>>dejaVuSansOblique14Form (in category 'dejaVu font data') -----
(excessive size, no diff calculated)
Item was changed:
----- Method: StrikeFont class>>dejaVuSansOblique17Form (in category 'dejaVu font data') -----
(excessive size, no diff calculated)
Item was changed:
----- Method: StrikeFont class>>dejaVuSansOblique20Form (in category 'dejaVu font data') -----
(excessive size, no diff calculated)
Item was changed:
----- Method: StrikeFont class>>dejaVuSansOblique7Form (in category 'dejaVu font data') -----
(excessive size, no diff calculated)
Item was changed:
----- Method: StrikeFont class>>dejaVuSansOblique9Form (in category 'dejaVu font data') -----
(excessive size, no diff calculated)
Item was changed:
----- Method: StrikeFont class>>dejaVuSansObliqueDark12Form (in category 'dejaVu font data') -----
(excessive size, no diff calculated)
Item was changed:
----- Method: StrikeFont class>>dejaVuSansObliqueDark14Form (in category 'dejaVu font data') -----
(excessive size, no diff calculated)
Item was changed:
----- Method: StrikeFont class>>dejaVuSansObliqueDark17Form (in category 'dejaVu font data') -----
(excessive size, no diff calculated)
Item was changed:
----- Method: StrikeFont class>>dejaVuSansObliqueDark20Form (in category 'dejaVu font data') -----
(excessive size, no diff calculated)
Item was changed:
----- Method: StrikeFont class>>dejaVuSansObliqueDark7Form (in category 'dejaVu font data') -----
(excessive size, no diff calculated)
Item was changed:
----- Method: StrikeFont class>>dejaVuSansObliqueDark9Form (in category 'dejaVu font data') -----
(excessive size, no diff calculated)
Item was changed:
(PackageInfo named: 'Graphics') postscript: '
" Reset DejaVu to current version "
+ StrikeFont initialize'!
- StrikeFont initialize.'!
Marcel Taeumel uploaded a new version of Morphic to project The Trunk:
http://source.squeak.org/trunk/Morphic-mt.1177.mcz
==================== Summary ====================
Name: Morphic-mt.1177
Author: mt
Time: 12 June 2016, 8:19:42.040624 am
UUID: 0d1a9fef-1e4b-3541-88a5-e3e70b161a0b
Ancestors: Morphic-mt.1176
Fixes small regression where key-down, key-stroke, and key-up events where mapped to scroll-by-keyboard via CTRL+up/down arrow. This only affects you if you disabled the preference "Synthesize Mouse Wheel Events from Keyboard Events".
=============== Diff against Morphic-mt.1176 ===============
Item was changed:
----- Method: ScrollPane>>filterEvent:for: (in category 'event filtering') -----
filterEvent: aKeyboardEvent for: morphOrNil
"See #initialize. This filter should be installed as keyboard event filter during the capture phase."
+
+ aKeyboardEvent isKeystroke
+ ifFalse: [^ aKeyboardEvent].
+
-
^ aKeyboardEvent
wasIgnored: (self scrollByKeyboard: aKeyboardEvent);
yourself!
Marcel Taeumel uploaded a new version of Morphic to project The Trunk:
http://source.squeak.org/trunk/Morphic-mt.1176.mcz
==================== Summary ====================
Name: Morphic-mt.1176
Author: mt
Time: 11 June 2016, 11:12:09.425012 am
UUID: c5d33955-e9e9-0c4b-a0c4-7427c3050cc0
Ancestors: Morphic-mt.1175
Fixes a bug with duplicate handling of morphic drop events. This bug has been there for a long time but showed itself only recently because we recently fixed event bubbling for drop events and focus events.
Thanks to Tim (R.) for pointing out this bug during his efforts to port Scratch 1.4 to Squeak Trunk.
=============== Diff against Morphic-mt.1175 ===============
Item was changed:
----- Method: Morph>>handleDropMorph: (in category 'events-processing') -----
handleDropMorph: anEvent
"Handle a dropping morph."
| aMorph localPt |
+ anEvent wasHandled ifTrue: [^ self]. "Not interested"
aMorph := anEvent contents.
"Do a symmetric check if both morphs like each other"
((self wantsDroppedMorph: aMorph event: anEvent) "I want her"
and: [aMorph wantsToBeDroppedInto: self]) "she wants me"
ifFalse: [aMorph removeProperty: #undoGrabCommand.
^ self].
anEvent wasHandled: true.
"Transform the morph into the receiver's coordinate frame. This is currently incomplete since it only takes the offset into account where it really should take the entire transform."
localPt := (self transformedFrom: anEvent hand world) "full transform down"
globalPointToLocal: aMorph referencePosition.
aMorph referencePosition: localPt.
self acceptDroppingMorph: aMorph event: anEvent.
aMorph justDroppedInto: self event: anEvent.
!
Marcel Taeumel uploaded a new version of Tools to project The Trunk:
http://source.squeak.org/trunk/Tools-mt.704.mcz
==================== Summary ====================
Name: Tools-mt.704
Author: mt
Time: 11 June 2016, 9:52:26.607012 am
UUID: 12f40ef5-bf69-0b4d-8587-0d9a622b4195
Ancestors: Tools-cmm.703
Speed-up the code browser if icons or balloon helps are disabled for message lists. Browser >> #messageList is an expensive call.
=============== Diff against Tools-cmm.703 ===============
Item was changed:
----- Method: Browser>>messageHelpAt: (in category 'message list') -----
messageHelpAt: anIndex
"Show the first n lines of the sources code of the selected message."
+ Preferences balloonHelpInMessageLists ifFalse: [^ nil].
self messageList size < anIndex ifTrue: [^ nil].
^ self messageHelpFor: (self messageList at: anIndex)
!
Item was changed:
----- Method: Browser>>messageIconAt: (in category 'message list') -----
messageIconAt: anIndex
+ self class showMessageIcons ifFalse: [^ nil].
^ self messageIconFor: (self messageList at: anIndex ifAbsent: [^nil])!
Tobias Pape uploaded a new version of Graphics to project The Trunk:
http://source.squeak.org/trunk/Graphics-topa.345.mcz
==================== Summary ====================
Name: Graphics-topa.345
Author: topa
Time: 10 June 2016, 11:27:12.891768 am
UUID: 007198b9-883b-4eda-b957-aa32a0e670b8
Ancestors: Graphics-topa.344
let install handle font reset
=============== Diff against Graphics-topa.344 ===============
Item was changed:
----- Method: StrikeFont class>>initialize (in category 'class initialization') -----
initialize
+ StrikeFont
+ installDejaVuDark;
+ installDejaVu!
- StrikeFont installDejaVu!
Item was changed:
(PackageInfo named: 'Graphics') postscript: '
" Reset DejaVu to current version "
+ StrikeFont initialize'!
- StrikeFont
- installDejaVuDark;
- installDejaVu.'!
Marcel Taeumel uploaded a new version of Morphic to project The Trunk:
http://source.squeak.org/trunk/Morphic-mt.1174.mcz
==================== Summary ====================
Name: Morphic-mt.1174
Author: mt
Time: 10 June 2016, 10:05:39.530157 am
UUID: c42f6aaa-7a24-d54a-85a7-7a2216238672
Ancestors: Morphic-mt.1173
Removes unused filter-event inst-vars from HandMorph, which I did not intended to commit in the first place.
=============== Diff against Morphic-mt.1173 ===============
Item was changed:
Morph subclass: #HandMorph
+ instanceVariableNames: 'mouseFocus keyboardFocus eventListeners mouseListeners keyboardListeners eventCaptureFilters mouseCaptureFilters keyboardCaptureFilters mouseClickState mouseOverHandler lastMouseEvent targetOffset damageRecorder cacheCanvas cachedCanvasHasHoles temporaryCursor temporaryCursorOffset hardwareCursor hasChanged savedPatch userInitials lastEventBuffer genieGestureProcessor keyboardInterpreter'
- instanceVariableNames: 'mouseFocus keyboardFocus eventListeners mouseListeners keyboardListeners eventFilters mouseFilters keyboardFilters eventCaptureFilters mouseCaptureFilters keyboardCaptureFilters mouseClickState mouseOverHandler lastMouseEvent targetOffset damageRecorder cacheCanvas cachedCanvasHasHoles temporaryCursor temporaryCursorOffset hardwareCursor hasChanged savedPatch userInitials lastEventBuffer genieGestureProcessor keyboardInterpreter'
classVariableNames: 'CompositionWindowManager DoubleClickTime DragThreshold EventStats NewEventRules NormalCursor PasteBuffer ShowEvents'
poolDictionaries: 'EventSensorConstants'
category: 'Morphic-Kernel'!
!HandMorph commentStamp: '<historical>' prior: 0!
The cursor may be thought of as the HandMorph. The hand's submorphs hold anything being carried by dragging.
There is some minimal support for multiple hands in the same world.!
Item was changed:
+ (PackageInfo named: 'Morphic') postscript: 'HandMorph allInstancesDo: [:ea | ea initForEvents]. "Fixes the event handling that occurs in the same control flow after loading this code."
+
+ SystemWindow allSubInstancesDo: [:ea |
- (PackageInfo named: 'Morphic') postscript: 'SystemWindow allSubInstancesDo: [:ea |
ea initializeKeyboardShortcuts.
HandMorph allInstancesDo: [:hand | hand removeKeyboardListener: ea]].
PasteUpMorph allSubInstancesDo: [:ea |
ea initializeKeyboardShortcuts.
HandMorph allInstancesDo: [:hand | hand removeKeyboardListener: ea]].
DockingBarMorph allSubInstancesDo: [:ea |
HandMorph allInstancesDo: [:hand | hand removeKeyboardListener: ea]].'!
Marcel Taeumel uploaded a new version of Morphic to project The Trunk:
http://source.squeak.org/trunk/Morphic-mt.1173.mcz
==================== Summary ====================
Name: Morphic-mt.1173
Author: mt
Time: 9 June 2016, 6:07:00.171737 pm
UUID: b06fd718-929f-a048-9edb-bd777dcced92
Ancestors: Morphic-mt.1172
Fixes a bug where pop-up menus in active background windows where occluded by the window after the mouse-down if such windows also do raise on any mouse down.
=============== Diff against Morphic-mt.1172 ===============
Item was changed:
----- Method: SystemWindow>>beKeyWindowIfNeeded: (in category 'top window') -----
beKeyWindowIfNeeded: evt
"Make me the new key window if needed. Ensure that the focus look matches the keyboard focus."
(self isKeyWindow not
and: [self class windowsRaiseOnClick
or: [self windowDecorations anySatisfy: [:morph | morph bounds containsPoint: evt position]] ])
+ ifFalse: [
+ "Just ensure the correct look after the event."
+ self updateFocusLookForKeyboardFocus]
+ ifTrue: [
+ "We are the new key window at the front etc."
+ self beKeyWindow.
+ "There may have been a pop-up menu spawned. We do not want to occlude that."
+ evt hand mouseFocus ifNotNil: [:morph |
+ morph owner = self world ifTrue: [morph comeToFront]].
+ evt hand balloonHelpList do: [:morph |
+ morph comeToFront]]!
- ifTrue: [self beKeyWindow]
- ifFalse: [self updateFocusLookForKeyboardFocus].!