Menu

Old Code (SVN) Commit Log


Commit Date  
[r4443] by delphidabbler

Added method to TDialogMgr to display the Favourites dialogue box.

2013-12-19 19:23:13 Tree
[r4442] by delphidabbler

Major overhaul of Favourites dialogue box. It now gets favourites directly from database (starred snippets) instead of a favourites file.
Favourite snippets are now displayed in a list box instead of a list view. There is no longer a last accessed date associated with each favourite. Favourites are not sorted, but hooks have been left in the code to provide sorting later.
The dialogue box now maintains its own list of snippets instead of using TFavourites and receives notifications of changes in starred snippets by hooking directly into the database change notifications. It no longer needs or uses the TFavourite and TFavouritesManager classes for this purpose.
The action of un-favouriting a snippet is now done useing the notifier instead of via TFavouritesManager.

2013-12-19 17:33:47 Tree
[r4441] by delphidabbler

Reverse merged revision(s) 4439-4438 from branches/parsnip:

Reverted the changes made in r4438 to r4440:
* Support removed for v2 of the Favourites file format
* Legacy database reader now uses custom code to read the legacy favourites file.

I've decided to get favourites for display in favourites dialogue box directly from database and to remove support for displaying and sorting by a last access date. This means that the TFavourites and TFavouritesPersist classes will become redundant.

2013-12-19 14:07:10 Tree
[r4440] by delphidabbler

Modified code that loads favourites to use TFavouritesPersist to do loading instead of using own customised loading code.

2013-12-19 12:52:52 Tree
[r4439] by delphidabbler

Removed unused unit reference.

2013-12-19 12:41:41 Tree
[r4438] by delphidabbler

Updated favourites file format to v2 that doesn't have the "user-defined" field and modified TFavouritesPersist.Save to write the new format.
Modified TFavouritesPersist.Load to be able to load either v1 or v2 format. Furthermore Load no longer checks if the snippet IDs exist in the database.

2013-12-19 12:38:53 Tree
[r4437] by delphidabbler

Fixed bug in legacy file loader where no favourites were being imported because incorrect favourites file watermarks was being tested for.

2013-12-19 11:23:36 Tree
[r4436] by delphidabbler

Fixed bug in database loader that was failing to strip invalid snippet references from a snippets RequiredSnippets and XRefs properties, leading to a database lookup error when the bad reference was converted to a snippet. Did this by stripping invalid references from each snipper in the database after loading.

2013-12-19 11:12:38 Tree
[r4435] by delphidabbler

Removed unnecessary call to fMainDisplayMgr.Refresh.

2013-12-19 02:46:18 Tree
[r4434] by delphidabbler

Added new star to snippet views in details pane to indicate whether the snippet is starred or not: we use a gold start for Starred and a grey star for not starred. The required new images were added to the project and the detail pane's CSS was changed to enable the star to be positioned.

2013-12-19 02:40:06 Tree
Older >
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.