aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fix for issue#699mltownsend2010-05-231-3/+7
|
* - Fix an issue when truncating tables using the right-click menu, by ↵rowanbeentje2010-05-225-42/+46
| | | | | | | | improving the truncation reload code and by removing a problem in TableContent tracking the active table name. This addresses Issue #700 and a number of crash reports. - Rename SPHistoryView* constants to SPTableView* constants and use them more widely rather than hard-coded tab indexes - Fix a problem preventing history navigation if a triggers view was the previous item in the history
* Fields in Resources tab of User Manager actually will persist now.mltownsend2010-05-215-47/+87
|
* - Fix a singleton proprty release in SPGrowlController's -release method; ↵rowanbeentje2010-05-191-4/+1
| | | | avoids overrelease and memory trampling. Thanks to Towny for spotting this; addresses Issue #692 and http://spbug.com/l/411
* - Ensure any table changes are applied before switching tables as a result ↵rowanbeentje2010-05-191-0/+5
| | | | of a right-click. This should address much of Issue #691, and a number of crashes logged since 0.9.8
* Change filesize units to base 2 rather than base 10. Fixes issue #690. Patch ↵stuconnolly2010-05-184-10/+10
| | | | provided by Max Lohrmann, thanks Max!.
* Review queryDbStructureWithUserInfo:rowanbeentje2010-05-152-169/+127
| | | | | | | | - Remove extra call when changing databases, avoiding double calls - Fix an error if the document has had no encoding set yet (addresses http://spbug.com/l/200) - Tweak db struture querying to work on MySQL 3 and 4.0 - Rework function to remove duplicated logic, and to address a number of valueForUndefinedKey: exceptions logged via the bug tracker
* Fix for Issue#656. The setExtensionHidden: method should not be called and ↵mltownsend2010-05-111-1/+2
| | | | setCanSelectedHiddenExtension:should be set to YES.
* - Correctly append tabs to binary/data cells when copying as tab-separated ↵rowanbeentje2010-05-111-1/+3
| | | | rows. This addresses Issue #681
* - Turn off app open panel setAllowMultipleSelection: changes, defaulting to ↵rowanbeentje2010-05-112-35/+668
| | | | | | | NO. This disallows opening multiple .spfs at one time, but fixes file deselection on .sql/non-.sql changes and possible crashes (logs 235, 242, and 310) - Fix label overlapping encoding menu in open panel accessory view, preventing half the menu from being clicked
* - Corrected reloading of list of databases and list of tables; formerly, ↵drx7772010-05-101-4/+2
| | | | only the db list was reloaded, keeping the list of tables from the previously selected database
* - 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
* - Check return status when capturing query error message strings - this ↵rowanbeentje2010-05-091-2/+4
| | | | addresses http://spbug.com/l/250
* - Fix a problem caused when trying to run custom queries terminated by a ↵rowanbeentje2010-05-091-0/+4
| | | | partial letterform, eg an unapplied accent. (Addresses http://spbug.com/l/260)
* - In the CSV import field mapper controller, retain the primary key field ↵rowanbeentje2010-05-091-1/+3
| | | | to fix an autorelease crash. (Addresses http://spbug.com/l/266 )
* - Update task progress spinner to draw on the main thread rather than a ↵rowanbeentje2010-05-093-30/+106
| | | | | | | | background thread; should fix a number of issues logged by the crash reporter - Update indicator code to merged master incorporating our changes, reworked and improved
* Rework alert sheets:rowanbeentje2010-05-0927-521/+603
| | | | | | | - 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
* Fix for Issue#667mltownsend2010-05-081-5/+20
|
* - Don't update table row count if table content is limited AND filtered; ↵rowanbeentje2010-05-041-1/+1
| | | | this addresses Issue #666
* Added 'Add Host' to Locazable.stringsmltownsend2010-05-043-2/+2
|
* Fixed crash issue #181 on log.sequelpro.commltownsend2010-05-041-10/+41
|
* • fixed formatting issues for entering a new auto_increment value in ↵Bibiko2010-05-041-10/+24
| | | | | | Table Info tab (this fixes i663) • improved behaviour if setting of the auto_increment value failed for some reasons
* - Added OCMock.framework for unittests using mock objectsdrx7772010-05-0314-4/+224
|
* Trim whitespace and newline characters from a table's comment returned by ↵stuconnolly2010-05-031-1/+2
| | | | SPTableData to ensure that it erroneously changed because of a failed string comparison.
* - Fix quoting of various fields, including usernames and passwordsrowanbeentje2010-05-034-46/+81
| | | | | | | | - Restore ability to edit passwords - Fix the "Refresh" gear menu item not being connected to the action - Add support in code for renaming users - previously interface changes weren't saved - Fix user deletion support, including non-existant hosts. This addresses Issue #653.
* Prefill duplicate database name field with current database name.stuconnolly2010-05-031-1/+1
|
* Fix errors count calculation when removing multiple table rows. Caused by ↵stuconnolly2010-05-031-9/+13
| | | | [MCPConnection affectedRows] returning -1. Fixes issue #654.
* Review trigger fetching and storage:rowanbeentje2010-05-019-202/+289
| | | | | | | - Trigger queries are no longer made for MySQL < 5.0.2 - Trigger loading has been deferred until the trigger tab is active, reducing queries when switching tables and thus increasing overall responsiveness - Export triggers in MySQL dumps even if the Table Content switch is unchecked
* Perform additional index bounds checking before attempting to remove a table ↵stuconnolly2010-04-301-1/+5
| | | | field. Fixes exception http://spbug.com/l/100.
* Changed a couple of 'int' to NSIntegermltownsend2010-04-291-2/+2
|
* Perform index range checking before attempting to remove a table index. ↵stuconnolly2010-04-291-2/+6
| | | | Fixes exception http://spbug.com/l/164.
* For add/rename/duplicate DB: check new name input for an existing db name ↵drx7772010-04-291-3/+3
| | | | and disable OK button if it does.
* Changed appearance of copy/rename DB to match that of copyTable. drx7772010-04-293-142/+131
| | | | | Added the to be copied/renamed database name to the name input sheet. Added necessary outlets. Added the current db name as preset value in the rename input field. Renamed databaseNewSheet to databaseCopySheet and copyOnlyStructureButton to copyDatabaseDataButton and inverted behaviour of the button.
* Disable copy/rename database in menu, if no database is selecteddrx7772010-04-291-1/+3
|
* Disables copy/rename confirmation buttons in copy/rename sheet if no name is ↵drx7772010-04-292-17/+13
| | | | provided
* Only switch to the renamed/duplicated database name, if the action was ↵drx7772010-04-295-13/+21
| | | | 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-294-25/+9
| | | | getTableWindow method; removed the latter
* Now longer using [NSApp mainWindow] but a reference to the correct window ↵drx7772010-04-297-19/+12
| | | | for message sheets. It could have caused messages appearing in the wrong window.
* Added class SPDBActionCommons providing common functionality to all derived ↵drx7772010-04-2911-93/+108
| | | | DatabaseActions classes, thus reducing code duplicates.
* removing debug output (NSLog calls)drx7772010-04-291-2/+0
|
* Duplicate/Rename DB: catch an unnecessary error message on canceling input ↵drx7772010-04-291-2/+6
| | | | sheet by checking the returnCode of the sheet.
* Missed a few files in previous commit.stuconnolly2010-04-290-0/+0
|
* It would help if I actually used the correct keyword myself when setting SVN ↵stuconnolly2010-04-292-2/+2
| | | | properties.
* Attempt to fix SVN poperties.stuconnolly2010-04-290-0/+0
|
* - Fix CFRunLoopWakeUp crashes seen on 10.5.8 with SSH connections by ↵rowanbeentje2010-04-281-0/+4
| | | | running the run loop after disconnection to flush calls
* * removed SPDatabaseCopyTest testCopyDatabaseTables which is out of place heredrx7772010-04-289-46/+145
| | | | | | | | | * 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)
* Menu item reordering.stuconnolly2010-04-281-22/+80
|
* SVN properties.stuconnolly2010-04-2810-10/+10
|
* This changeset implements renaming and duplicating databases on a server. ↵drx7772010-04-2823-54/+2239
| | | | | | | | | | | | | | | | | | | 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
* Added myself to the list of devs, testing svn commit accessdrx7772010-04-281-3/+6
|