aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPTableCopy.m
Commit message (Collapse)AuthorAgeFilesLines
* Disable ID generation during duplicate databaseMax2014-09-181-0/+14
| | | | Should fix #1978
* Update URL in source file header to point to GitHub.Stuart Connolly2014-01-261-1/+1
|
* Remove SVN property placeholder.Stuart Connolly2014-01-261-2/+0
|
* Change Sequel Pro's license from GPL (version 2) to MIT.stuconnolly2012-07-251-12/+20
|
* Rename database action class.stuconnolly2012-05-041-1/+0
|
* Add initial support of moving views when renaming a database. Currently not ↵stuconnolly2012-05-041-17/+23
| | | | hooked up yet. Part of issue #1235.
* Merge outline view branch into trunk.stuconnolly2012-05-021-12/+14
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | Adds support for managing and grouping favorites into folders in the connection view and removes the associated favorites management from the preferences window. NOTE: On first launch your connection favorites will be migrated from Sequel Pro's preference file to a new file in ~/Application Support/Sequel Pro/Data. Your old favorites will remain in the preference file until removed in a future version. Outstanding known issues: - Removing a group node with no child favorites presents a warning about also removing the non-existent favorites. - Starting the application with no favorites, creating a group node then selecting, hides the connection details input. Doesn't support emoty selection. - Setting the name of a connection, adding it to the favorites and then swicthing to a different connection type, screws with the favorite name. - The preservation between launches of whether group nodes are collapsed or not is currently not supported.
| * 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-3/+4
| |
* | - Clean up SPMySQL and QueryKit inclusion and search methods, which should ↵rowanbeentje2012-03-271-4/+0
| | | | | | | | | | | | | | fix nightly builds - Fix warnings
* | tweaks to compile on Xcode 4 / 10.6 SDK for SP_REFACTORsqlprodev2012-03-271-0/+4
| |
* | Warning: this branch commit is largely untested, and known to throw ↵rowanbeentje2012-02-231-3/+4
| | | | | | | | | | | | | | | | | | | | | | | | exceptions as database structure retrieval is currently missing! Further work on SPMySQLFramework integration: - Improve SPMySQL framework build settings including correct ppc builds and a Distribution configuration for the build distributions to match - Add new convenience querying and result methods to the framework - Amend Sequel Pro source to use the new SPMySQL.framework methods everywhere, replacing MCPKit methods where they differ and improving some functions - Remove MCPKit from the source - Fix a number of warnings on Release-style builds
* | * Fixes a spacing issue in Duplicate DB Sheetdmoagx2011-07-061-7/+29
|/ | | | | * Fixes a case were for string == NULL was checked instead of [string length] == 0 (fixes #1103) * Fixes a logic error while copying databases and adds ability to copy InnoDB tables with foreign key checks (fixes #1111)
* Various improvements to server capability/version checking, including:stuconnolly2010-10-071-6/+2
| | | | | | | | | | | | | - Add a new ServerSupport class, for which an instance is created upon each new connection and is then subsequently accessible via SPDatabaseDocument. - Replace the majority of manual version checking with calls to properties in the above new class. - Improve the user manager's compatibility with MySQL 3 and 4 servers. Fixes issue #811 Other changes include: - Disable the encoding popup button when adding a new table or database to servers running pre MySQL 4.1 as it only contains one option, 'Default'. - Fix various potential memory leaks discovered during static analysis. - General tidy up and comments.
* Fix various potential memory leaks and general warnings as a result of ↵stuconnolly2010-08-191-1/+5
| | | | static analysis.
* Tidy up database renaming and copying by removing the use of alert dialogs ↵stuconnolly2010-08-131-56/+31
| | | | within loops to prevent locking up the main thread. These operations ideally should also be threaded.
* Minor tidy up including the removal of unnecessary imports.stuconnolly2010-08-121-1/+0
|
* Fix various memory leaks as a result of static analysis.stuconnolly2010-07-061-3/+4
|
* - A database with views caused copy DB to crash. Thus, views are for the ↵drx7772010-05-101-28/+21
| | | | | | | | time being not copied, until handling them gets implemented. It is logged to the console for the users convenience. - Only copy content if the table could be recreated successfully - Corrected selector from [self getTableWindow] to messageWindow. - Removed disabled code section
* Rework alert sheets:rowanbeentje2010-05-091-4/+4
| | | | | | | - 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-6/+2
| | | | 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-7/+1
| | | | DatabaseActions classes, thus reducing code duplicates.
* removing debug output (NSLog calls)drx7772010-04-291-2/+0
|
* * removed SPDatabaseCopyTest testCopyDatabaseTables which is out of place heredrx7772010-04-281-5/+5
| | | | | | | | | * 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)
* SVN properties.stuconnolly2010-04-281-1/+1
|
* This changeset implements renaming and duplicating databases on a server. ↵drx7772010-04-281-0/+151
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