From: Bernard D. <bde...@or...> - 2008-02-27 18:47:14
|
Hi all, I have just committed to the SVN repository a series of files corresponding to the new Filesets mechanism. This is meant to work with AlphaX 8.2a2d2 or greater exclusiveley. The files have been committed in branch "branch-8_2a1d". Here are a few notes explaining what has changed. The filesets menu has been revamped in order to use the new menu syntax. The underlying filesets mechanism has been modified accordingly. The transition should be transparent. Once you update from the SVN repository, you MUST rebuild the indices. Alpha will certainly propose automatically to do so : don't skip this phase. Then quit and relaunch AlphaX. You might want at this point to rebuild all your filesets but it is not required. To do so, choose "Rebuild All Filesets" in the "Manage Filesets" submenu. Here are now a few explanation concerning the internal changes. The double cache system has been removed. The old mechanism used to cache the contents of a fileset in two locations: as a preference in the arrdefs.tcl file, as a "menu script" in a cache on disk (found in the PREFS folder : $PREFS/Cache/FilesetMenu-3.0). This was problematic because one cache used to mask the other and made some operations impossible. The new system uses only the cache on disk. This cache is now named FilesetMenu-4.0 instead of FilesetMenu-3.0 in order not to destroy the old style menu scripts which might still be used by older versions of Alpha. The format used in this cache is now simply a list of lists ratehr than a script to evaluate. The submenus of the Filsesets menu corresponding to the various filesets are built only when they are opened for the first time. This is done by reading the info found in the cache. When you do this for the first time, the cache will be empty (unless you chose to rebuild all the filesets as explained above) so the menus will be built directly. The new system is faster and more efficient. It is not confused by submenus having the same name. The launch time of Alpha is now approximately of 1.7 seconds on my machine (an Intel Core Duo). In the same time you should notice a huge reduction of the size of the arrdefs.tcl file in the Preferences folder. Mine has been cut down from 1.8 Mb to 72 k (the values depend on how many filesets you had previously and how big they were). I have tried to make the transition as smooth and transparent as possible and I have tested this new system successfully on my machine during the last few weeks but please report any problems you might encounter. Cheers, Bernard |