| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- 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.
|
|
|
|
| |
static analysis.
|
|
|
|
| |
within loops to prevent locking up the main thread. These operations ideally should also be threaded.
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
- 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
|
|
|
|
| |
getTableWindow method; removed the latter
|
|
|
|
| |
for message sheets. It could have caused messages appearing in the wrong window.
|
|
|
|
| |
DatabaseActions classes, thus reducing code duplicates.
|
| |
|
|
|
|
|
|
|
|
|
| |
* 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)
|
| |
|
|
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
|