Daily Commit Log

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Daily Commit Log

commits-2
Changes to Trunk (http://source.squeak.org/trunk.html) in the last 24 hours:

http://lists.squeakfoundation.org/pipermail/packages/2009-November/001844.html

Name: Morphic-kb.241
Ancestors: Morphic-kb.240

 - added preamble to unscubscribe TheWorldMainDockingBar from system change notifications.
 - added 2px vertical padding to MenuItemMorph in minHeight
 - refactored the building of TheWorldMainDockingBar
 - added a stub for Help menu
 - played a bit with the Windows menu: now you can close a window from there.

=============================================

http://lists.squeakfoundation.org/pipermail/packages/2009-November/001845.html

Name: Morphic-kb.242
Ancestors: Morphic-kb.241

 - Refactored updating menus:
   - Removed subMenuUpdater from MenuItemMorph
   - Hijacked UpdatingMenuMorph
   - Added #updateMenu to MenuMorph with an empty body
   - Added updateMenu call to activation methods:
     - UpdatingMenuMorph >> activate:
     - DockingBarMorph >> activeSubmenu:
     - MenuMorph >> activeSubmenu:
   - Changed MenuItemMorph updating submenu mechanism
 - Poked with Windows menu

=============================================

http://lists.squeakfoundation.org/pipermail/packages/2009-November/001846.html

Name: Morphic-kb.243
Ancestors: Morphic-kb.242

 - fix: #releaseSelection: prevented clearing the selection of MenuMorph when disappearing. This caused at least some of the glitches.
 - refactored TheWorldMainDockingBar to build a DockingBarMorph without blocks, but with tragets, selectors and arguments.

=============================================

http://lists.squeakfoundation.org/pipermail/packages/2009-November/001847.html

Name: Collections-ar.204
Ancestors: Collections-ul.202, Collections-ul.203

Merging Collections-ul.200, Collections-ul.201, Collections-ul.202, Collections-ul.203:

- moved #like: from HashedCollection to Set
- HashedCollection doesn't implmenet #do: anymore, implementation is moved to Set >> #do: and Dictionary >> #associationsDo:
- Dictionary >> #do: sends #valuesDo:
- Set >> collect: sends #do: to self, instead of it's array. This enables one to change the way enumeration methods work, by reimplementing only #do: in subclasses.
- minor enhancement in #scanForEmptySlotFor: in identity based hashedcollections.
- added missing #yourself sends to #copyEmpty implementors
- removed #noCheckAdd: implementations since they were private
- other cosmetic changes, like isNil ifTrue: replaced by ifNil:, etc.
- added a class comment to WeakSet (this is required to avoid the failure of ClassTestCase)
- a fix for the bug in WeakSet >> #includes:
- removed HashedCollection >> #do: because it was the same as in Collection


=============================================

http://lists.squeakfoundation.org/pipermail/packages/2009-November/001848.html

Name: CollectionsTests-ul.115
Ancestors: CollectionsTests-nice.114

- added a new class: WeakSetTest with a test: #testIncludes which (besides the common inclusion testing) demonstrates a bug in WeakSet >> #includes:

=============================================

http://lists.squeakfoundation.org/pipermail/packages/2009-November/001849.html

Name: Kernel-ul.303
Ancestors: Kernel-nice.300

- removed MethodDictionary >> #do: because it should be the same as Dictionary >> #do:

Load Collections-ul.200 before this package!

=============================================

http://lists.squeakfoundation.org/pipermail/packages/2009-November/001850.html

Name: Collections-ar.205
Ancestors: Collections-ar.204

Collection>>ifEmpty: and Collection>>ifNotEmpty: should behave like #ifNil: and return self unless the condition is met. Makes collection manipulation easier, for example
        port := ((hostname copyAfter: $:) ifEmpty:['80']) asInteger
instead of
        portString:= hostname copyAfter: $:.
        portString ifEmpty:[portString := '80'].
        port := portString asInteger.
etc.


=============================================

http://lists.squeakfoundation.org/pipermail/packages/2009-November/001851.html

Name: CollectionsTests-ar.116
Ancestors: CollectionsTests-ul.115

Updated tests for ifEmpty: / ifNotEmpty:.

=============================================

http://lists.squeakfoundation.org/pipermail/packages/2009-November/001852.html

Name: Collections-ul.205
Ancestors: Collections-ar.204

A proposal to solve the issues with #collect:.

=============================================

http://lists.squeakfoundation.org/pipermail/packages/2009-November/001853.html

Name: Morphic-kb.244
Ancestors: Morphic-kb.243

 - Fixed glitches of MenuMorph and DockingBarMorph. Now menu items loose selection on mouse leave except when the mouse moves towards their submenu. Docking bar items loose selection only if another item is selected, or the docking bar looses focus.
 - Removed the border of the docking bar, and adapted DockingBarItemMorph >> adjacentTo to it. We need to recreate the DockingBarMorph for this to take effect.
 - Labels of the items in the Windows menu are contracted to 50 characters.

=============================================

http://lists.squeakfoundation.org/pipermail/packages/2009-November/001854.html

Name: CollectionsTests-dtl.117
Ancestors: CollectionsTests-ar.116

Add tests to document current behavior of String>>beginsWith: and String>>endsWith:

Other dialects (VW) may treat these differently for empty strings, e.g.:

'abc' beginsWith: ''
'abc' endsWith: ''

=============================================