Hi,
just wanted to inform you about a parse error that is displayed at http://files.squeak.org/1.21/:
This page contains the following errors:
error on line 14 at column 24: error parsing attribute name
Below is a rendering of the page up to the first error.
It appears that this parser struggles about the un-escaped e-mail tag in the preamble.
Best,
Christoph
Has anyone done, considered, noticed, used or otherwise seen any mention oaf a port of Christian Haider's PDFTalk (also known by at least one other name over the years - PDF4Smalltalk - and I think also 'PDF Development') ?
tim
--
tim Rowledge; tim(a)rowledge.org; http://www.rowledge.org/tim
If at first you don't succeed, destroy all evidence that you tried.
A new version of MorphicExtras was added to project The Inbox:
http://source.squeak.org/inbox/MorphicExtras-ct.267.mcz
==================== Summary ====================
Name: MorphicExtras-ct.267
Author: ct
Time: 1 October 2019, 6:14:00.728339 pm
UUID: 40f6b08c-c705-854d-9ec5-c28571b022d3
Ancestors: MorphicExtras-ul.266
Adds SketchMorph examples
This commit is (the first) part of reconstruction of Objectland (also known as "The Worlds of Squeak"). Essential aims of this project are to revive the colorful collection of examples around the capacities of Squeak which was lastly delivered with Squeak 3.7, cast each example into code to provide a rich set of how-to examples to newbies in Squeak, and to integrate it into the ReleaseBuilder. Many further examples are coming soon. Stay tuned!
=============== Diff against MorphicExtras-ul.266 ===============
Item was added:
+ ----- Method: Form class>>extraCook (in category '*MorphicExtras-examples') -----
(excessive size, no diff calculated)
Item was added:
+ ----- Method: Form class>>extraWizard (in category '*MorphicExtras-examples') -----
(excessive size, no diff calculated)
Item was added:
+ ----- Method: SketchMorph class>>extraExampleCook (in category '*MorphicExtras-examples') -----
+ extraExampleCook
+ "SketchMorph extraExampleCook openInWorld"
+
+ ^ (self withForm: Form extraCook)
+ addMouseUpActionWith: 'Form toothpaste: 30';
+ balloonText: 'Click me and then drag the cursor over the screen';
+ yourself!
Item was added:
+ ----- Method: SketchMorph class>>extraExampleWizard (in category '*MorphicExtras-examples') -----
+ extraExampleWizard
+ "SketchMorph extraExampleWizard openInWorld"
+
+ ^ (self withForm: Form extraWizard)
+ addMouseUpActionWith:
+ (MessageSend receiver: Pen new selector: #web);
+ balloonText: 'Click me and then drag the cursor over the screen\(Trust me, I won''t turn you into a toad!!)' withCRs;
+ yourself!
A new version of MorphicExtras was added to project The Inbox:
http://source.squeak.org/inbox/MorphicExtras-ct.274.mcz
==================== Summary ====================
Name: MorphicExtras-ct.274
Author: ct
Time: 1 October 2019, 11:32:45.306339 pm
UUID: bc7c8985-f585-c947-bc21-9e9a0009b9f6
Ancestors: MorphicExtras-ct.270
Add ScorePlayerMorph example
This commit is part of reconstruction of Objectland (also known as "The Worlds of Squeak"). For more information, see: http://forum.world.st/The-Inbox-MorphicExtras-ct-267-mcz-td5104764.html
=============== Diff against MorphicExtras-ct.270 ===============
Item was added:
+ ----- Method: ScorePlayerMorph class>>extraExample (in category '*MorphicExtras-examples') -----
+ extraExample
+ "ScorePlayerMorph extraExample openInHand"
+
+ ^ self on: MIDIScore extraExample!
A new version of MorphicExtras was added to project The Inbox:
http://source.squeak.org/inbox/MorphicExtras-ct.273.mcz
==================== Summary ====================
Name: MorphicExtras-ct.273
Author: ct
Time: 1 October 2019, 11:29:05.323339 pm
UUID: 71c801ed-c4b5-1b40-bb37-e0de9f24b326
Ancestors: MorphicExtras-ct.267
Add RecordingControlsMorph example
Depends on Sound-ct.70.
This commit is part of reconstruction of Objectland (also known as "The Worlds of Squeak"). For more information, see: http://forum.world.st/The-Inbox-MorphicExtras-ct-267-mcz-td5104764.html
=============== Diff against MorphicExtras-ct.267 ===============
Item was added:
+ ----- Method: RecordingControlsMorph class>>extraExample (in category '*MorphicExtras-examples') -----
+ extraExample
+ "RecordingControlsMorph extraExample openInWorld"
+
+ | example |
+ example := self new.
+ example recorder clearRecordedSound.
+ example recorder recordedSound add: SampledSound exampleYesterday.
+ ^ example!
Nicolas Cellier uploaded a new version of Kernel to project The Trunk:
http://source.squeak.org/trunk/Kernel-nice.1270.mcz
==================== Summary ====================
Name: Kernel-nice.1270
Author: nice
Time: 1 October 2019, 9:22:39.460936 pm
UUID: 05ae7bbb-2517-4c6e-a9c0-db89b42742e5
Ancestors: Kernel-mt.1269
In SmallFloat64>>#truncated fallback, don't bother with Infinities and NaN, since all SmallFloat64 are finite, nor with Float fractionPart, since all non-integer Float value fits in SmallInteger in a 64bits image, and thus are already handled by the primitive.
It's legitimate to inject such implementation specific knowledge into this implementation specific class.
Also revise BoxedFloat64>>#truncated, mostly with comments. Dividing by SmallInteger maxVal + 1 / 2 would lead to an infinite loop in a 64bits image, fortunately this branch is unreachable then. Each time I read it, I have the shadow of a doubt ;)
=============== Diff against Kernel-mt.1269 ===============
Item was changed:
----- Method: BoxedFloat64>>truncated (in category 'truncation and round off') -----
truncated
"Answer with a SmallInteger equal to the value of the receiver without
its fractional part. The primitive fails if the truncated value cannot be
represented as a SmallInteger. In that case, the code below will compute
a LargeInteger truncated value.
Essential. See Object documentation whatIsAPrimitive. "
<primitive: 51>
self isFinite ifFalse: [self error: 'Cannot truncate this number'].
+ self abs < 4.503599627370496e15
+ "Float maxExactInteger/2 = (1.0 timesTwoPower: Float precision - 1)"
+ "Every Float bigger than or equal to that has ulp >= 1, thus no fractionPart"
-
- self abs < 2.0e16
ifTrue: ["Fastest way when it may not be an integer"
+ "This branch is unreachable in 64 bits image"
| di df q r |
di := 1 + (SmallInteger maxVal bitShift: -1).
df := di asFloat.
q := self quo: df.
r := self - (q asFloat * df).
^q * di + r truncated]
+ ifFalse: [^ self asTrueFraction. "Extract all bits of the significand and shift if necessary"]
- ifFalse: [^ self asTrueFraction. "Extract all bits of the mantissa and shift if necess"]
!
Item was changed:
----- Method: SmallFloat64>>truncated (in category 'truncation and round off') -----
truncated
"Answer with a SmallInteger equal to the value of the receiver without
its fractional part. The primitive fails if the truncated value cannot be
represented as a SmallInteger. In that case, the code below will compute
a LargeInteger truncated value.
Essential. See Object documentation whatIsAPrimitive. "
<primitive: 551>
+ "Since SmallInteger maxVal highBit >= Float precision, in 64bits image/VM,
+ every Float with ulp < 1 - that is which may have a fractionPart - fits in a SmallInteger.
+ Thus only care of Float with ulp >= 1 which have Integer value."
+ ^ self asTrueFraction
- self isFinite ifFalse: [self error: 'Cannot truncate this number'].
-
- self abs < 2.0e16
- ifTrue: ["Fastest way when it may not be an integer"
- | di df q r |
- di := 1 + (SmallInteger maxVal bitShift: -1).
- df := di asFloat.
- q := self quo: df.
- r := self - (q asFloat * df).
- ^q * di + r truncated]
- ifFalse: [^ self asTrueFraction. "Extract all bits of the mantissa and shift if necess"]
-
!
A new version of MorphicExtras was added to project The Inbox:
http://source.squeak.org/inbox/MorphicExtras-ct.272.mcz
==================== Summary ====================
Name: MorphicExtras-ct.272
Author: ct
Time: 1 October 2019, 8:41:27.291339 pm
UUID: cca75098-d7f2-1244-979f-65da19056be2
Ancestors: MorphicExtras-ct.267
Adds MovingEyeMorph example. This one is rather for fun, but I promise you it will visually upgrade Objectland a lot :-)
Depends on Graphics-ct.422.
This commit is part of reconstruction of Objectland (also known as "The Worlds of Squeak"). For more information, see: http://forum.world.st/The-Inbox-MorphicExtras-ct-267-mcz-td5104764.html
=============== Diff against MorphicExtras-ct.267 ===============
Item was added:
+ ----- Method: MovingEyeMorph class>>extraExampleSqueakIsWatchingYou (in category '*MorphicExtras-examples') -----
+ extraExampleSqueakIsWatchingYou
+ "MovingEyeMorph extraExampleSqueakIsWatchingYou openInHand"
+
+ ^ Form squeakIcon asMorph
+ addMorph: self new spec: (MorphSpec center: 0.39 @ 0.55 extent: 0.1 @ 0.15);
+ addMorph: self new spec: (MorphSpec center: 0.59 @ 0.56 extent: 0.1 @ 0.15);
+ yourself!