[ANN] [UPDATES] 18 updates for 3.4beta

Scott Wallace scott.wallace at squeakland.org
Thu Dec 19 06:26:45 UTC 2002


Here are the preambles for eighteen updates that have just been 
forwarded to the external 3.4beta update servers.

5139moreFileFixes-nk -- Ned Konz -- 30 November 2002
This is a further attempt to get FileDirectory>>exists to work right 
across platforms.
Unfortunately, this doesn't pass the FileDirectoryTests on the 3.2-6 
Unix VM or the 3.4.0Beta Mac VM. It does on the Windows VM, and I've 
also posted changes to the Unix VM to make it work there.
However, this code should be the correct solution to the problem.

5140NoMacDoubleColon-nk -- Ned Konz -- 4 December 2002
The change set 5131macRelativeFNFix-nk introduced an incorrect result 
for the isAbsolute test on Mac filenames starting with a double 
colon. This change set removes the double colon logic from the 
isAbsolute test.
So with this CS the isAbsolute logic is:
* fileName starts with : -> relative
* fileName starts with the name of a folder under the root -> absolute
* otherwise -> relative

5141acornDirFixes-tpr -- tim at sumeru.stanford.edu -- 3 December 2002
Catch a root directory being used as a path name in directoryExists: 
to prevent recursion. Only affects Acorn machines

5142changeListHelp-sw -- Scott Wallace -- 3 December 2002
Supplies balloon-help for all the items in the change-list menu.
Adds 'select new methods' to the change-list menu, whose choosing 
will result in the selection of only those methods in the file that 
do not currently have in-image counterparts.

5143AVCFix-nk -- Ned Konz -- 19 August 2002
Some change sets that include definitions
of additionsToViewerCategories would not load correctly.
The problem is that a spurious method 
UndefinedObject>>additionsToViewerCategories gets compiled sometimes, 
and then breaks later code.
This CS is a quick patch for this problem.

5144findMethFix-je -- Joern Eyrich -- 4 December 2002
avoid walkback when invoking 'find method...' on a class that has none"

5145prefsHeight-nk -- Ned Konz -- 3 December 2002
Makes sure that all the buttons on the front pane of the Preferences 
panel are visible.
Also adds a little space between a button group.

5146oneBitMVC-BEO -- Bruce ONeel -- 4 December 2002
MVC was broken in one bit mode.

5147macColonAgain-nk -- Ned Konz -- 5 December 2002
The change set 5131macRelativeFNFix-nk introduced an incorrect result 
for the isAbsolute test on Mac filenames starting with a double 
colon. This change set removes the double colon logic from the 
isAbsolute test.
And my prior version (update 5140) was still wrong, as it consulted 
the file system.
With this CS the Mac isAbsolute logic is:
If a path begins with a colon, it is relative.
Otherwise,
   If it contains a colon anywhere, it is absolute and the first component
   is the volume name.
   Otherwise,
     It is relative.

5148WeakKeyAssn-raok -- Dr Richard A. O'Keefe -- 29 November 2002
Since at least Squeak 3.0, WeakKeyAssociation>>key:value:
has ignored its first argument and put the wrong object
in its key WeakArray.  This mistake is still present in
Squeak 3.4.

5149ISO8859-bg -- Boris Gaertner -- 15 November 2002
Jean-Marie Zajac pointed out that accented characters in ISO-8859-1 
encoding are not displayed as expected. Scamper is not 
encoding-aware, but it translates ISO-8859-1 to the encoding that is 
used in Squeak. Unfortunately, due to a subtle bug the translation is 
done twice: first, the entire source is translated, later parsed 
entities are translated again. This change set drops the translation 
of parsed entites. To make it work, it adds the translation of 
character entity references (characters that are written in the form 
&#<integer>; or in the form &<character name>; see sections 5.3.1 and 
5.3.2 of the HTML 4.0 specification.)
Jean-Marie tested a first version and found a new bug, later he 
tested a second version that is seemingly ok. With his test he helped 
me to understand where the real problem was burried. Thanks a lot!

5150UUID-Fix-CdG -- Cees de Groot -- 19 November 2002
This patch tries to make it less likely that the same UUID is generated twice:
- On startup, the default generator is flushed;
- The system tries harder to get a quality random seed, first from /dev/urandom
   (on lots of Unix systems), then from the sound input. If they both fail, it
   generates one based on the millisecond clock and the current date/time

5151DNSerror-ls -- Lex Spoon -- 3 November 2002
This makes several DNS lookup failures to immediately abort the 
surrounding HTTP or FTP request.  Without this changeset, the system 
will try to ask the user whether to try again.  However, this query 
doesn't work when the HTTP code is run from the user interface thread.
Instead of fixing the query, this changeset removes the query.  The 
idea is that, nowadays, these are low-level routines and that a 
higher-level routine should be responsible for asking the user 
whether to retry, anway.

5152ArchiveFixes2-nk -- Ned Konz -- 12 November 2002
This fixes zip archive extraction so that:
- directories are created as needed
- zip members with absolute path names or '..' portions have their 
names cleaned up so they don't cause security problems when extracted
This will allow (for instance) Connectors to install properly from SqueakMap.
I will include the appropriate methods with a new version of the 
SARInstaller code on SqueakMap.

5153RelZipExtractFix-nk -- Ned Konz -- 16 December 2002
Version:			3.4b
16 Dec:
This fixes a problem with re-opening a zip in an ArchiveViewer under 
Windows (by opening zips read-only), as well as fixing extraction 
with subdirectories under Windows.
13 Dec:
This ensures that zip extraction relative to a given directory works 
properly, and should eliminate the infinite recursion noted on the 
Mac.
It lacks AcornFileDirectory>>relativeNameFor: ; this should be added 
if necessary before adding to the update stream.

5154FileListRefactor1-nk -- Ned Konz -- 7 December 2002
This is a minor refactoring of the FileList that puts the services 
query on the class side where it belongs (at least if you want to use 
it for your own FileList, as I did).

5155WeakMessageSend2-nk-rw -- Ned Konz and Rob Withers -- 8 December 2002 (v2)
v2: Eliminated WeakMessageSendError; value* now silently returns nil 
if receiver or arguments have been GC'd.
This defines a simple MessageSend where the receiver and arguments 
are held onto weakly.
And it changes the NuBlue event registration to use the 
WeakMessageSends instead, so that subscribers can be garbage 
collected.

5156revertClassEditFix -- 17 December 2002
Reverts the change made in 5137classEditFix-th which had made it 
difficult to add class-side instance variables.




More information about the Squeak-dev mailing list