commits | 1 Jun 2012 01:55
Favicon

Daily Commit Log

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

http://lists.squeakfoundation.org/pipermail/packages/2012-May/005356.html

Name: Monticello-bf.510
Ancestors: Monticello-bf.509

- if package is nil, do not try to list version names for it (thanks, cbc)
- ordering by author made insensitive to case
- misc fix: replace an ifNil test by ifEmpty

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

http://lists.squeakfoundation.org/pipermail/packages/2012-May/005357.html

Name: PackageInfo-Base-bf.62
Ancestors: PackageInfo-Base-bf.61

Ignore empty preambles/postscripts

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

http://lists.squeakfoundation.org/pipermail/packages/2012-May/005358.html

Name: PackageInfo-Base-bf.63
Ancestors: PackageInfo-Base-bf.62

Really ignore meaningless scripts (i.e., only default comment, or 'nil' from ancient times, like this
package's postscript)

(Continue reading)

Damien Cassou | 1 Jun 2012 15:44
Picon
Gravatar

[URGENT] ESUG Conference in Gent: Student volunteers and call for presentations

Less than 10 slots left for the ESUG student volunteer program. Apply now!
http://www.esug.org/Conferences/2012/StudentVolunteers

Only 2 weeks left to propose your presentation for ESUG
http://www.esug.org/Conferences/2012/Call-for-Presentations

--

-- 
Damien Cassou
http://damiencassou.seasidehosting.st

"Lambdas are relegated to relative obscurity until Java makes them
popular by not having them." James Iry

commits | 2 Jun 2012 02:00
Favicon

The Trunk: Tools-fbs.410.mcz

Frank Shearar uploaded a new version of Tools to project The Trunk:
http://source.squeak.org/trunk/Tools-fbs.410.mcz

==================== Summary ====================

Name: Tools-fbs.410
Author: fbs
Time: 2 June 2012, 8:51:27.787 pm
UUID: 9a35a890-56aa-4f90-9c6f-ff07f70f2919
Ancestors: Tools-cmm.409

Just a spelling correction: acceptDroppedMorphss -> acceptDroppedMorphs.

=============== Diff against Tools-cmm.409 ===============

Item was changed:
  StringHolder subclass: #Workspace
  	instanceVariableNames: 'bindings acceptDroppedMorphs acceptAction mustDeclareVariables shouldStyle'
  	classVariableNames: 'LookupPools ShouldStyle'
  	poolDictionaries: ''
  	category: 'Tools-Base'!

+ !Workspace commentStamp: 'fbs 6/2/2012 20:46' prior: 0!
- !Workspace commentStamp: 'ls 10/14/2003 12:13' prior: 0!
  A Workspace is a text area plus a lot of support for executable code.  It is a great place to execute top-level
commands to compute something useful, and it is a great place to develop bits of a program before those bits
get put into class methods.

  To open a new workspace, execute:

(Continue reading)

Frank Shearar | 2 Jun 2012 21:53
Picon
Gravatar

Easing into things...

I just committed Tools-fbs.410 to trunk, my first ever direct commit.
It's trivial - a spelling correction in Workspace's class comment.

My question is this: after I commit, do I need to do anything further?
Or, what happens between committing something to trunk, and an update
being available?

frank

Igor Stasenko | 3 Jun 2012 00:23
Picon

Re: Easing into things...

On 2 June 2012 21:53, Frank Shearar <frank.shearar <at> gmail.com> wrote:
> I just committed Tools-fbs.410 to trunk, my first ever direct commit.
> It's trivial - a spelling correction in Workspace's class comment.
>
> My question is this: after I commit, do I need to do anything further?

yes, you should pray that your commit won't break an image and won't
require a rollback :)

> Or, what happens between committing something to trunk, and an update
> being available?
>
nothing.

> frank

--

-- 
Best regards,
Igor Stasenko.

Frank Shearar | 3 Jun 2012 00:48
Picon
Gravatar

Re: Easing into things...

On 2 June 2012 23:23, Igor Stasenko <siguctua <at> gmail.com> wrote:
> On 2 June 2012 21:53, Frank Shearar <frank.shearar <at> gmail.com> wrote:
>> I just committed Tools-fbs.410 to trunk, my first ever direct commit.
>> It's trivial - a spelling correction in Workspace's class comment.
>>
>> My question is this: after I commit, do I need to do anything further?
>
> yes, you should pray that your commit won't break an image and won't
> require a rollback :)

Oh, I knew _that_ part :).

>> Or, what happens between committing something to trunk, and an update
>> being available?
>>
> nothing.

Er, that's good, but also confusing. I guess "update" means "ask the
repo for the latest stuff, and that just downloads the mcds". I will
have to go read some code then, methinks.

Thanks!

frank

>> frank
>
>
> --
> Best regards,
(Continue reading)

Bert Freudenberg | 3 Jun 2012 01:10
Picon
Gravatar

Re: Easing into things...

On 03.06.2012, at 00:48, Frank Shearar <frank.shearar <at> gmail.com> wrote:

> I guess "update" means "ask the
> repo for the latest stuff, and that just downloads the mcds".

Basically, yes.

Before that though, it makes sure all update config maps were loaded in order. But you can ignore that part
unless you have changes that affect multiple packages, which must be updated in a specific order. Or if you
need to ensure that a specific version was loaded before a newer version is safe to apply.

- Bert -

commits | 2 Jun 2012 02:00
Favicon

The Trunk: KernelTests-nice.222.mcz

Nicolas Cellier uploaded a new version of KernelTests to project The Trunk:
http://source.squeak.org/trunk/KernelTests-nice.222.mcz

==================== Summary ====================

Name: KernelTests-nice.222
Author: nice
Time: 22 May 2012, 10:59:50.142 pm
UUID: bf545579-1414-4840-b6b3-a846c58251b5
Ancestors: KernelTests-nice.221

Provides tests for Fraction readFrom:

=============== Diff against KernelTests-nice.221 ===============

Item was added:
+ ----- Method: FractionTest>>testFractionReading (in category 'tests - printing') -----
+ testFractionReading
+ 	"Numerator literal syntax"
+ 	self assert: (Fraction readFrom: '4') equals: 4.
+ 	self assert: (Fraction readFrom: '45') equals: 45.
+ 	self assert: (Fraction readFrom: '-45') equals: -45.
+ 	self assert: (Fraction readFrom: '4e2') equals: 400.
+ 	self assert: (Fraction readFrom: '33e-2') equals: 33/100.
+ 	self assert: (Fraction readFrom: '4r123') equals: 1 * 4 + 2 * 4 + 3.
+ 	self assert: (Fraction readFrom: '-4r123e5') equals: 1 * 4 + 2 * 4 + 3 * (4 raisedTo: 5) negated.
+ 	
+ 	"Numerator/Denominator literals syntax"
+ 	self assert: (Fraction readFrom: '23/17') equals: 23/17.
+ 	self assert: (Fraction readFrom: '-122/17') equals: -122/17.
(Continue reading)

commits | 2 Jun 2012 02:00
Favicon

The Trunk: Kernel-nice.692.mcz

Nicolas Cellier uploaded a new version of Kernel to project The Trunk:
http://source.squeak.org/trunk/Kernel-nice.692.mcz

==================== Summary ====================

Name: Kernel-nice.692
Author: nice
Time: 22 May 2012, 10:58:15.58 pm
UUID: 11e38193-788b-4aa2-8480-a04d6afb2ec5
Ancestors: Kernel-nice.691

Let Fraction readFrom: '1/2' and Fraction readFrom: '0.1' answer the expected fractions.
The sign, if any, must be attached to numerator.

=============== Diff against Kernel-nice.691 ===============

Item was added:
+ ----- Method: ExtendedNumberParser>>nextFraction (in category 'parsing-public') -----
+ nextFraction
+ 	| numerator denominator numberOfTrailingZeroInIntegerPart |
+ 	base := 10.
+ 	neg := self peekSignIsMinus.
+ 	(integerPart := self nextUnsignedIntegerOrNilBase: base)
+ 		ifNil: [numberOfTrailingZeroInIntegerPart := 0]
+ 		ifNotNil: [
+ 			numberOfTrailingZeroInIntegerPart := nDigits - lastNonZero.
+ 			(sourceStream peekFor: $r)
+ 				ifTrue: ["<base>r<integer>"
+ 					(base := integerPart) < 2
+ 						ifTrue: [
(Continue reading)

commits | 2 Jun 2012 02:00
Favicon

The Trunk: Kernel-nice.693.mcz

Nicolas Cellier uploaded a new version of Kernel to project The Trunk:
http://source.squeak.org/trunk/Kernel-nice.693.mcz

==================== Summary ====================

Name: Kernel-nice.693
Author: nice
Time: 3 June 2012, 1:36:01.517 am
UUID: e88d4aab-9e87-4e64-82cd-0475d919faa5
Ancestors: Kernel-eem.692, Kernel-nice.692

Merge nice.692 (reading Fraction from Stream)
add a comment to the postscript just to force a rehashAll.

=============== Diff against Kernel-eem.692 ===============

Item was removed:
- (PackageInfo named: 'Kernel') preamble: ''!

Item was added:
+ ----- Method: ExtendedNumberParser>>nextFraction (in category 'parsing-public') -----
+ nextFraction
+ 	| numerator denominator numberOfTrailingZeroInIntegerPart |
+ 	base := 10.
+ 	neg := self peekSignIsMinus.
+ 	(integerPart := self nextUnsignedIntegerOrNilBase: base)
+ 		ifNil: [numberOfTrailingZeroInIntegerPart := 0]
+ 		ifNotNil: [
+ 			numberOfTrailingZeroInIntegerPart := nDigits - lastNonZero.
+ 			(sourceStream peekFor: $r)
(Continue reading)


Gmane