Menu

Old Code (SVN) Commit Log


Commit Date  
[r367] by delphidabbler

Made further changes to TMainForm.SnippetsChangeHandler:
* Added handler for Snippets' evBeforeDeleteCategory event that clears history list and overview pane.
* Removed clearing of history list from other handlers since this is now taken care of when handling evBeforeDeleteCategory and evBeforeDeleteRoutine.
* Groped together identical event handlers in case statement.

2009-09-24 08:58:01 Tree
[r366] by delphidabbler

* Added two new event kinds: evBeforeCategoryDelete, called just before a category is deleted (freed) along with a reference to the category being freed and evAfterCategoryDelete which is triggered immediately after the category is freed.
* Modified TSnippets.InternalDeleteCategory to trigger the two new events before and after the category is freed.

2009-09-24 08:54:48 Tree
[r365] by delphidabbler

Removed unused IsEqual methods from the ISearch interface and all the classes that implement it.

2009-09-24 08:36:35 Tree
[r364] by delphidabbler

Corrected bug in TRoutineList.IsEqual that was causing it to return opposite of required value in most cases.

2009-09-24 08:32:03 Tree
[r363] by delphidabbler

* Removed unused nested function from TOverviewFrame.Redisplay.
* Added some explanatory comments.

2009-09-24 01:32:52 Tree
[r362] by delphidabbler

Fixed bug where TSnipKindGrouping and TAlphaGrouping were always including whole database in groups when a selection had been made via one of the searches. Populate methods of both classes were iterating across Snippets.Routines instead of using the provided SnippetList.

2009-09-24 01:29:16 Tree
[r361] by delphidabbler

Version numbers updated to 3.4.0.159, ready for next release.

2009-09-24 00:38:10 Tree
[r360] by delphidabbler

Changed TUserDBBackup.Restore to ensure the file stream used to read the backup file is closed when the file has been read. This was causing the file to be locked open, preventing subsequent write accesses.

2009-09-24 00:29:42 Tree
[r359] by delphidabbler

* Added two new event kinds: evBeforeRoutineDelete, called just before a snippet is deleted (freed) along with a reference to the snippet being freed and evAfterRoutineDelete which is triggered immediately after the snippet is freed.
* Modified TSnippets.InternalDeleteRoutine to trigger the two new events before and after the snippet is freed.

2009-09-24 00:23:49 Tree
[r358] by delphidabbler

Added handler for Snippets' evBeforeRoutineDelete event to TMainForm.SnippetsChangeHandler that clears history list and overview pane. This is to try to overcome the "invalid cast" error due to dangling references to deleted routines. This event is called before the actual snippet object is freed, so references to the snippet are valid here.

2009-09-24 00:18:41 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.