Menu

Old Code (SVN) Commit Log


Commit Date  
[r4325] by delphidabbler

Fixed bug introduced into TPascalSourceGen when its IncludeSnippet method was modified to accept a TSnippetID parameter instead a TSnippet: this class was failing to generate source code for snippets not in the database. Fixed included changing Include snippet's parameter to ISnippet and then modifying TPascalSourceGen and all the classes it depends upon to work with ISnippet instances instead of TSnippet.
Also modified code that calls TPascalSourceGen.IncludeSnippet re the parameter changes.

2013-12-15 10:55:05 Tree
[r4324] by delphidabbler

Changed TTestCompileDlg.Execute to take an ISnippet parameter instead of TSnippet and modified TTestCompileDlg accordingly.
Modified TDialogMgr.ShowTestCompileDlg similarly.
Modified TMainForm to pass an ISnippet to TDialogMgr.ShowTestCompileDlg.

2013-12-15 10:27:49 Tree
[r4323] by delphidabbler

Revised TSnippetsChkListMgr to use TSortedCollectionCtrlKVMgr to manage association between ISnippet instance and list box text, and also to sort the text: this is instead of having no sorting and using Objects[] array of list box to store TSnippet instances. As a result some method parameter types have changed from TSnippet to ISnippet.
Modified TSnippetsEditorDlg re change of interface to TSnippetsChkListMgr.

2013-12-15 02:35:58 Tree
[r4322] by delphidabbler

Made TAbstractCollectionCtrlKVMgr.IndexOfKey method public.

2013-12-15 02:15:00 Tree
[r4321] by delphidabbler

Added new CanCompile method to ISnippetBase and its implementation in TSnippetBase.

2013-12-15 01:37:30 Tree
[r4320] by delphidabbler

Removed redundant DuplicateSnippet method from IDatabaseEdit and implementation in _TDatabase.

2013-12-15 01:30:48 Tree
[r4319] by delphidabbler

Changed duplicate snippet dialogue to accept an ISnippet parameter instead of TSnippet and changed method used to update database to use methods of TDatabase instead of IDatabaseEdit interface to _TDatabase.
Updated calling code in TUserDBMgr.DuplicateSnippet method.

2013-12-15 01:29:33 Tree
[r4318] by delphidabbler

Added overloaded IEditableSnippet.UpdateFrom methods and implemented them in TEditableSnippet.

2013-12-15 01:27:15 Tree
[r4317] by delphidabbler

Modified TCodeImportMgr.UpdateDatabase to update database using a editable snippet instead of a snippet data record.

NOTE: There is still a problem in code importing: at present all snippets are added to the database with new IDs - there is no support for updating existing snippets. Linked or synch spaces will be needed to fix this.

2013-12-15 00:54:37 Tree
[r4316] by delphidabbler

Modified TCodeImporter to read data into an editable snippet instead of editable snippet data.

NOTE: there are some problems that will required implementation of linked spaces / synch spaces to solve.

2013-12-15 00:52:16 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.