aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPDatabaseRename.m
Commit message (Collapse)AuthorAgeFilesLines
* Only switch to the renamed/duplicated database name, if the action was ↵drx7772010-04-291-1/+4
| | | | successful. Caused an existing DB to be selected, after ren/dup failed because it exists.
* Cleanup/simplification: using messageWindow property directly instead of the ↵drx7772010-04-291-8/+4
| | | | getTableWindow method; removed the latter
* Now longer using [NSApp mainWindow] but a reference to the correct window ↵drx7772010-04-291-2/+2
| | | | 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-8/+1
| | | | DatabaseActions classes, thus reducing code duplicates.
* SVN properties.stuconnolly2010-04-281-1/+1
|
* This changeset implements renaming and duplicating databases on a server. ↵drx7772010-04-281-0/+135
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