Hi All,

As requested I made my work into a Universe package (with no dependencies) The current version is 'VersionsBrowser version 0.3.1' in the 'Code Browsing' category. The new VersionsBrowser and ClassCommentVersionsBrowser should work exactly as the before. I would appreciate anyone trying them out.

The new package avoids changing any existing system methods with the following exceptions:
- Date class>>readFrom: which breaks when reading some malformed dates;
- SmalltalkImage>>sourcesName which adds a necessary check for nil;
- The callers of VersionsBrowser within the Smalltalk tools. (It avoid affecting any other MC packages by moving these callers to the '*Tools-Versions' category).

For those who are interested, the experimental source code condensing methods can now be found in the '*Tools-Versions' category in SystemDictionary.

To condense the sources, look at the methods in the 'condensing' category in SystemDictionary:

- #condenseCurrentChanges       
        works the same way condensing the changes file only.

- #condenseCurrentSource
        is my renaming of #condenseSources but otherwise works the same way.

- #archiveSourcesPermanently
This method empties the changes file and condense all of the current sources to a new source file, and moves all of the prior source versions to the permanent master archive. Since we don't want random Squeakers to affect the master archive, this method actually only generate a new permanent archive locally. Once generated locally, it can be copied manually to the actual FTP archive site by someone who has authorization.

- #archiveSourceLocally
This method allows one to create one's own personal methods archive that doesn't affect the permanent master archive.

The VersionsBrowser looks for methods first in the source and changes file, then in the local archive, and then finally in the permanent archive. Method versions from the permanent archive are stored in a local cache if the permanent archive is being remotely accessed.


Thank you to Edgar, Damien, and Colin for helping me offline over the past few weeks.

I look forward to any feedback.

Enjoy!

Maurice

_______________________________________________
V3dot10 mailing list
[email protected]
http://lists.squeakfoundation.org/mailman/listinfo/v3dot10

Reply via email to