aboutsummaryrefslogtreecommitdiffstats
path: root/Source
Commit message (Collapse)AuthorAgeFilesLines
* When opening the add index sheet make sure we're using the correct table ↵stuconnolly2012-04-301-7/+14
| | | | reload call, so the correct validation is done. Fixes issue #1292.
* Add index sheet improvements:stuconnolly2012-04-302-25/+59
| | | | | | - FULLTEXT index type should only be available for MyISAM tables - Index prefix lengths are ignored when specified for FULLTEXT indexes so don't require one (fixes issue #1306)
* - Rework edit sheet find/replace handling; instead of altering the main ↵rowanbeentje2012-04-245-30/+40
| | | | window's firstResponder, which only worked under certain NSTextView focus conditions, allow the field edit sheet to become the main window. This fixes issues with the Find/Replace dialog not fully working correctly in the edit sheet.
* - Add the enter key and right arrow key to the list of keys that will ↵rowanbeentje2012-04-191-1/+1
| | | | select the current autocompletion suggestion if the suggestion list is open, rather than performing their default actions. This addresses Issue #1321.
* - Fix localisation of export tokens, preventing duplication of strings to ↵rowanbeentje2012-04-191-11/+17
| | | | be translated causing translation faults; this addresses Issue #1322.
* - Improve table change engine confirmation dialog by ordering out the sheet ↵rowanbeentje2012-04-191-0/+1
| | | | once it's dismissed to prevent issues when errors occur
* - Fix a number of small memory leaksrowanbeentje2012-04-143-0/+5
|
* - Fix crashes on use of custom query autocompletion when the database ↵rowanbeentje2012-04-141-2/+3
| | | | structure is still being retrieved
* - Manually handle some SPFileHandle memory management to significantly ↵rowanbeentje2012-04-124-21/+34
| | | | | | | improve memory usage during large exports, particularly improving memory which appeared to never be reclaimed - Fix some minor memory leaks throughout the application
* Improve query placeholder insertion:rowanbeentje2012-04-111-1/+66
| | | | | | | - Use menu item tag to insert the snippet, instread of using part of the tooltip; this is safer when localising values - When inserting query placeholders, automatically wrap all the values if not already within a placeholder. This addresses Issue #1313. - When inserting query placeholders, automatically use the lowest unused completion index instead of a fixed value
* - Alter table trigger export to only occur if the table structure export is ↵rowanbeentje2012-04-111-43/+46
| | | | enabled for a table, instead of for all tables
* Add SPWindowControllerDelegate category.stuconnolly2012-04-093-374/+471
|
* - Alphabetically sort table engines, addressing Issue #1316rowanbeentje2012-04-092-4/+18
| | | | | - If a table has no rows, don't show the data loss warning when altering table engine
* Localize user manager dialogs.stuconnolly2012-04-072-12/+11
|
* - Fix process list filtering to handle new NSNumber id/time formatting ↵rowanbeentje2012-04-071-2/+2
| | | | (change mode for sorting, iirc). This addresses Issue #1315.
* Tidy up and remove commented out code.stuconnolly2012-04-074-193/+127
|
* PSMTabBar improvements:rowanbeentje2012-04-021-0/+3
| | | | | | | - Add a new -destroyAnimations method to the tab bar and call it when tearing down the parent SPWindowController; this prevents animations redrawing the document after window close, fixing a number of crashes. - Improve the logic for collapsing and uncollapsing the tab bar as tabs are added and removed, fixing height calculation errors leading to Issue #1082 - Improve tab bar draw when animating in the Sequel Pro tab style
* Tidy up.stuconnolly2012-04-014-12/+11
|
* Remove unused IBOutlet.stuconnolly2012-04-011-9/+12
|
* Remove unused method.stuconnolly2012-04-011-22/+0
|
* Improve the availability of the table name token on the custom export ↵stuconnolly2012-04-017-135/+310
| | | | | | | | | | filename selection. It's now no longer available during the following situations: - Exporting more than one table during an SQL export - Exporting more than one table during a CSV or XML, but only if the export to multiple files is not checked
* - Correctly localise table column header tooltips, improving Issue #1006rowanbeentje2012-03-311-0/+2
|
* #ifdef'ing out references to frameworks that are not used in SP_REFACTOR buildssqlprodev2012-03-2911-1/+39
|
* - If no table encoding is set on a table, fall back to the database ↵rowanbeentje2012-03-291-1/+4
| | | | encoding if available, instead of directly to Latin1. This improves compatibility with MySQL <4.1 servers set to use an encoding other than latin1, and fixes incorrect encoding detection where tables are set to inherit from the database. This should address Issue #1308.
* - Fix an exception when refreshing the navigator viewrowanbeentje2012-03-281-5/+5
|
* Refresh the database drop down menu before selecting the new database after ↵stuconnolly2012-03-282-75/+99
| | | | a rename to prevent a secondary thread using the database list while it's being modified on the main thread. Fixes log reports http://spbug.com/l/2294
* Replaced ivar accidentally removed from SP_REFACTOR buildsqlprodev2012-03-282-3/+3
|
* User manager code tidy up.stuconnolly2012-03-283-63/+68
|
* - Clean up SPMySQL and QueryKit inclusion and search methods, which should ↵rowanbeentje2012-03-2742-108/+28
| | | | | | | fix nightly builds - Fix warnings
* tweaks to compile on Xcode 4 / 10.6 SDK for SP_REFACTORsqlprodev2012-03-2729-43/+295
|
* - Fix incorrect queries when building up an export by removing the ↵rowanbeentje2012-03-271-5/+7
| | | | additional semicolons. This addresses Issue #1311.
* silence compiler warning about id return typesqlprodev2012-03-261-3/+3
|
* - Tidy up user manager code.stuconnolly2012-03-264-285/+354
| | | | | - Potential framework header build fix.
* Add support for renaming users on MySQL versions less than 5.0.2 by directly ↵stuconnolly2012-03-253-33/+113
| | | | updating the mysql.user table. Fixes issue #1285.
* - Fix exceptions caused when resizing custom query columns which don't map ↵rowanbeentje2012-03-241-3/+3
| | | | to underlying table columns on certain 5.0.x MySQL versions
* Don't close the user manager after the user dismisses the errors sheet.stuconnolly2012-03-241-4/+0
|
* Remember to release the errors string even if we don't use it when applying ↵stuconnolly2012-03-241-0/+2
| | | | user manager changes.
* Fix layout issues when resizing the user manager's errors sheet.stuconnolly2012-03-241-0/+4
|
* Simply queries executed by user manager.stuconnolly2012-03-241-17/+13
|
* - Fix an exception when attempting to preserve the selection in a table ↵rowanbeentje2012-03-245-14/+25
| | | | | | | | with a primary key with multiple columns of which the first of which is a blob or binary type - Clean up NSNull comparisons and add comments - Clear the selection when filtering a table, allowing reselection to look a little more consistent
* - Alter the import field mapper controller to support multiple primary keys ↵rowanbeentje2012-03-222-6/+10
| | | | in its current syntax builder by using the improved getter.
* - Rework SPTableData PRIMARY KEY and UNIQUE KEY parsing to use SPSQLParser ↵rowanbeentje2012-03-229-123/+199
| | | | | | | | | | instead of regexes - Support multiple primary keys in the SPTableData parse - If possible, use primary keys to preserve table content selection instead of row indexes - Improve SPTableData primary keys method to use cached value instead of using another query - Preserve selection when filtering tables if appropriate
* - Fix a possible race condition exception when switching between tables ↵rowanbeentje2012-03-212-4/+8
| | | | when th structure view was active, the collation column was visible, and fields had custom collations
* Update error message.stuconnolly2012-03-201-1/+1
|
* - Fix error message being displayed when changing a table's storage engine ↵stuconnolly2012-03-201-4/+5
| | | | even though no error actually occurred. Fixes issue #1304.
* - When exporting a query result or filtered table view make sure we're ↵stuconnolly2012-03-2012-989/+1274
| | | | | | | | including the entire content of BLOBs, not just what we display. Fixes issue #1124. - Move SPTableContent's table view datasource and delegate methods to separate categories in order to reduce it's size.
* - When cancelling a sort on the table content view, don't display an error ↵rowanbeentje2012-03-201-1/+1
| | | | message
* - When refreshing the table content view, preserve column widths for ↵rowanbeentje2012-03-201-0/+12
| | | | columns which keep the same name, fixing flickering when refreshing (addresses issue #1279)
* - Fix exceptions when using Show Optimized Field Type in the Structure pane ↵rowanbeentje2012-03-201-0/+1
| | | | contextual menu
* - Fix crashes caused by using SPBundleHTMLOutputController windows, closing ↵rowanbeentje2012-03-203-8/+12
| | | | them, and then triggering bundle reloads (eg via right-clicking)