aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPDatabaseInfo.m
Commit message (Collapse)AuthorAgeFilesLines
* Bring outline view branch up to date with trunk.stuconnolly2012-04-161-1/+1
|
* Bring outline view branch up to date with trunk (r3471:r3517).stuconnolly2012-03-181-30/+3
|
* Tidy up database renaming and copying by removing the use of alert dialogs ↵stuconnolly2010-08-131-13/+15
| | | | within loops to prevent locking up the main thread. These operations ideally should also be threaded.
* Rework alert sheets:rowanbeentje2010-05-091-1/+1
| | | | | | | - Change MCPConnection.m to no longer use a reference to tableWindow to attach sheets - instead use a delate error display method if available - Rework TableSource and TableContent sheetDidEnd methods into per-task methods rather than overloading contextInfo - Rework SPAlertSheets to perform actions on the main thread, with the loss of (unused) support for a didDismissSelector. This addresses a number of crashes logged by the crash reporter
* Cleanup/simplification: using messageWindow property directly instead of the ↵drx7772010-04-291-5/+1
| | | | getTableWindow method; removed the latter
* Now longer using [NSApp mainWindow] but a reference to the correct window ↵drx7772010-04-291-1/+1
| | | | for message sheets. It could have caused messages appearing in the wrong window.
* Added class SPDBActionCommons providing common functionality to all derived ↵drx7772010-04-291-6/+1
| | | | DatabaseActions classes, thus reducing code duplicates.
* It would help if I actually used the correct keyword myself when setting SVN ↵stuconnolly2010-04-291-1/+1
| | | | properties.
* * removed SPDatabaseCopyTest testCopyDatabaseTables which is out of place heredrx7772010-04-281-3/+19
| | | | | | | | | * minor restructuring of SPTableCopy for readability and debuggability * corrected wrong default copyright header on some files * SPCopyTableTest: removed testCopyTableFromTo since it is integrated in testCopyTableFromToWithData; * SPCopyTableTest: fixed test to reflect two queries table creation (show create and create) instead of create like (<4.1 compatibility)
* This changeset implements renaming and duplicating databases on a server. ↵drx7772010-04-281-0/+66
Details as follows: * altered MCPConnection listTablesFromDB:like: to return NSArray * altered MCPConnection listFieldsFromTable:like: to use backtick quoted strings for table and fieldnames * added MCPConnection listTablesFromDB for a complete table list * added SPStringAdditions.h to various files to prevent warnings * added sheets for duplicate/rename DB in DBView.xib * added duplicate/rename menu items to MainMenu.xib * added outlets in TableDocument: databaseNewSheet databaseRenameSheet databaseCopyNameField databaseRenameNameField copyOnlyStructureButton copyDatabaseButton renameDatabaseButton * added methods in TableDocument: getConnection, copyDatabase, renameDatabase, _copyDatabase, _renameDatabase * added OCMock Framework for object mocking in tests * added group Others/DatabaseActions