aboutsummaryrefslogtreecommitdiffstats
path: root/Source
Commit message (Collapse)AuthorAgeFilesLines
...
* - Fix a bug in the bz2 changes causing the first three bytes to be skipped ↵rowanbeentje2010-07-241-0/+1
| | | | when reading uncompressed files
* In addition to Gzip compression support when exporting SQL dumps add the ↵stuconnolly2010-07-2413-176/+369
| | | | | | | | | | | | | | | | | | ability to use Bzip2 compression. Other changes include: + Enable the use of export compression (Gzip and Bzip2) for all export formats. + Move the compression options in the export dialog to the 'Advanced' export settings view. + Simplify the setting of common exporter properties (e.g. the connection, use of compression). + Fix a potential memory leak in the dot exporter. + Update the data importer to recognise Bzip2 compressed files. + Fix several display issues on export dialog. + Restore the default .csv file extension of CSV exports. + Correctly update the default export filename when selecting a output compression type. The addition of Bzip2 compression support implements issue #688.
* - Improve thread safety when altering task cancellation staterowanbeentje2010-07-211-0/+6
|
* Tweak table triggers loading to only proceed for MySQL > 5; this finishes ↵rowanbeentje2010-07-201-1/+3
| | | | the work started in r2201 and should address Issue #748.
* Tab tweaks:rowanbeentje2010-07-201-5/+6
| | | | | | | | - Sheets now appear positioned underneath the tab bar if visible - Tweak bottom corner drawing for a clearer outline, without highlight overlay - Frontmost tab no longer displays server name in the tab Also fix exception when right-clicking on an index to reset auto-increment.
* - Clean up SPDataImport, removing unused methods and cleaning up order and ↵rowanbeentje2010-07-192-184/+189
| | | | | | | | | methods - Improve error handling when the connecting dies during import (previous the sheet would stay open) - Fix localised strings for error messages (label and text the wrong way round) - Improve comments
* - Further tweak new table encodings to improve default-utf8 behaviourrowanbeentje2010-07-181-1/+2
|
* - Fix table creation to use the selected encoding instead of always using ↵rowanbeentje2010-07-181-1/+2
| | | | utf8 (broken in r2325)
* - Expose a number of help menu items and help buttons to use localisable ↵rowanbeentje2010-07-1810-29/+23
| | | | | | | | strings - Tweak MySQL help search to include a localisable language code for results in requested languages This addresses Issue #743
* Tweak structure view index collapsing:rowanbeentje2010-07-172-2/+24
| | | | | | | - Make the minimum index view size a little smaller - Add a button to reveal the indexes subview when it is collapsed. This button is hidden when te index view is not collapsed. This addresses Issue #746
* - Tweak custom query autocompletion to no longer show a key-capturing ↵rowanbeentje2010-07-171-2/+6
| | | | invisible empty autocomplete when no autocomplete matches are found
* Export redesign (#610) CSV filename tweaks:rowanbeentje2010-07-171-2/+4
| | | | | | - Don't forcibly include the table name if only exporting a single table, even if the multiple tables checkbox is ticked - Fix additional _null files exported for Filtered Result exports when the multiple tables checkbox is ticked. Also addresses leaking write threads for those files.
* Make the 'Export' menu item in the 'File' menu behave more like the export ↵stuconnolly2010-07-154-23/+12
| | | | context menu by checking only the selecting tables. If no tables are selected all of them are checked by default (the same as before). Fixes issue #755.
* Improve handling of BIT fields, including:stuconnolly2010-07-153-19/+29
| | | | | | | | | - Exporting BIT fields properly in SQL dumps using b'x' notation. - Properly handling editing of BIT fields in both the content and custom query results views. - Correctly display BIT fields in the content view, where binary values are zero-padded to the specified length of the field. (Note, that the new BIT handling logic has only been added to MCPKit's MCPStreamingResult and MCPResult as the latter does not keep a record of the field's length which the new functionality depends on. Needs to be discussed).
* - Don't localize table types when duplicating tables - used as part of ↵rowanbeentje2010-07-151-4/+6
| | | | queries. This addresses Issue #762.
* Improve handling of network drops, including a new automatic reconnection ↵rowanbeentje2010-07-131-8/+7
| | | | | | | | | | | | | attempt, as well as improved handling of networks not present. This addresses Issue #657. In MCPKit: - Disable MySQL automatic reconnection, and add our own reconnection code for greater consistency - If no network is available, delay reconnects by a short period to allow the network to come back up - Improved handling of proxy disconnects In SPSSHTunnel: - Improved handling of SSH tunnel disconnects, improving automatic reconnection via MCPKit and fixing potential memory/logic tramping. Also remove the "Retry" button from the Disconnected dialog, leaving only the choices "Reconnect" or "Disconnect".
* Added support for edit triggers. Doubleclick on a row and the Add trigger ↵bamse162010-07-112-5/+92
| | | | | | | | | | | | | | pops up with all the fields prepopulated. Edit works as 'DROP' old trigger and then 'CREATE' new trigger (since MySQL doesn't have support for 'ALTER' trigger). In case of error while adding the new trigger, when you add a new trigger, all the info from the original trigger is preserved. (Don't know if this is the best solution).
* When searching for the location of the user's Desktop as the default ↵stuconnolly2010-07-091-1/+1
| | | | location of exports, change the search domain to NSAllDomainsMask to accommodate home directories which are not on the startup volume.
* - When a window is first opened, tell the tab it has become frontmost after ↵rowanbeentje2010-07-091-1/+2
| | | | the window has drawn. This addresses odd Exposé artifacts when first setup (Issue #758), as well as toolbar drawing issues when a tab is dragged into a new window.
* On the export dialog, for the displayed custom filename don't attempt to ↵stuconnolly2010-07-081-1/+3
| | | | append a file extension for CSV exports.
* Given that the user can now decide how often a new INSERT statement is ↵stuconnolly2010-07-081-2/+6
| | | | created when performing an SQL dump, replace the use of stringWithFormat: with appendString: for a potential speed improvement.
* - Roll back most of r2430, replacing it with an at-source fix to the manual ↵rowanbeentje2010-07-072-9/+4
| | | | | | | collapse via code which was originally causing the problem. Also apply the same fix to SPCustomQuery.m. (Note that this also identifies a probable cause of views going slightly out-of-view if views are collapsed and expanded a lot - the autoResizesSubviews property is disabled and re-enabled in BWToolKit surrounding a collapse, but this is done using a timer with the exact time interval as the corresponding collapse/expand frame resize. This sets up a race condition, where if the timer fires before the animation completes, the internal view will be slightly clipped. May require a BWToolKit fix)
* As the initial MySQL connection is now threaded, start the current tab's ↵stuconnolly2010-07-073-6/+40
| | | | progress indicator to indicate that it's connecting in the event that the user switches to a different tab. Also preserve the tab's label as 'Connecting...' when switching tabs.
* Further improvements to the threaded initial MySQL connection, which was ↵stuconnolly2010-07-071-34/+86
| | | | accidently committed in r2426.
* • avoid exceptions if user tries to print the Table Status data of Views, ↵Bibiko2010-07-071-22/+37
| | | | Procs, or Funcs (maybe it's needed to improve the display or to skip it)
* • forgotten to remove placeholders and default values resp. of data ↵Bibiko2010-07-071-9/+9
| | | | textfields in Table Status view
* • made Table Status view localisable and resized GUI elementsBibiko2010-07-071-10/+10
|
* • fine-tuned scrollView position of Custom Query Result tableBibiko2010-07-071-1/+1
| | | | | | | • resized GUI elements (Run Current, Last Error Mes.) for localisation • centered label for "Query Favorites" and "Query History" - maybe we should think about the appearance these buttons! • increased the min width of Custom Query view by 15px in order to avoid GUI overlappings
* • fixed issue if connection window is opened with collapsed Table ↵Bibiko2010-07-071-0/+10
| | | | | | Information that the view wasn't displayed correctly after opening - the point is here probably a bug in BWToolkit that the collapsable subview forgets its setting for "setAutoresizesSubviews:YES" after collapsing
* Rename TableDump to SPDataImport and fix export selected tables functionality.stuconnolly2010-07-066-13/+13
|
* Fix various memory leaks as a result of static analysis.stuconnolly2010-07-065-8/+13
|
* Rename CustomQuery as SPCustomQuery.stuconnolly2010-07-0613-122/+194
|
* - Make the query info/error display collapsible.stuconnolly2010-07-065-22/+64
| | | | | | | - Add a 'gear menu' with the option to export the current result set as either CSV or XML. (Note, that the collapsiable view currently suffers from the same BWToolKit issue as the table information pane).
* - Correctly fix localisation of NSTabViewItem tooltips, restoring 10.5 ↵rowanbeentje2010-07-061-1/+1
| | | | compatibility; this corrects the "fix" in r2422, and addresses Issue #757
* - Fix compatibility with <10.6 by checking whether NSTabViewItems support ↵rowanbeentje2010-07-051-1/+2
| | | | tooltips before amending. This addresses http://spbug.com/l/1052
* - Fix localisation of NSTextField labels - broken in r2418rowanbeentje2010-07-051-0/+4
| | | | | - Add localisation support for NSSegmentedControl segment tooltips
* Enable manual sorting of connection favourites in the preferences, which ↵stuconnolly2010-07-054-57/+98
| | | | will disable automatic sorting. Also, connection favourites sort order in the preferences and the connection view should now be in sync. Needs thoroughly tested. Fixes issue #655.
* Fix the resizing of the export dialog when the sheet is already ↵stuconnolly2010-07-051-0/+14
| | | | accommodating all available space. Also, change the cancel button's shortcut to escape. Thanks Hans.
* - Add support for localising menu item tooltipsrowanbeentje2010-07-051-0/+21
| | | | | - Add support for localising NSTextView value bindings' no selection placeholders, nil placeholders, not applicable placeholders and multiple selection placeholders
* Simplify the ease at which export filename tokens can be localised as well ↵stuconnolly2010-07-052-14/+13
| | | | as how they are updated with respect to the selected export type.
* Revert a change made in r2390 that removed the didEndSelector of the import ↵stuconnolly2010-07-051-0/+8
| | | | errors sheet. Fixes log http://spbug.com/l/1050.
* - Replace forward slashes with hyphens in export filenames generated from ↵stuconnolly2010-07-051-5/+35
| | | | | | | the use of custom tokens to accommodate dates which include them. - Ensure that the displayed custom export filename includes the default extension.
* • localisation issuesBibiko2010-07-052-65/+65
| | | | | | - made "This table currently does not support relations..." localisable - resized some nib elements for longer translations - replaced [[NSApp mainMenu] itemWithTitle:@"Table"] by [[NSApp mainMenu] itemWithTag:SPMainMenuTable] for dynamic title changes
* - Fix localisation support for NSTabViews - previously only the first tab ↵rowanbeentje2010-07-051-0/+10
| | | | in each tabview was localised
* Localisation support improvements:rowanbeentje2010-07-042-0/+140
| | | | | | - Add support for localizing table column header cell strings - Add support for automatically translating nibs loaded via the combination of [[NSNib alloc] init...] and [NSNib instantiateNibWithOwner:topLevelObjects:]. This loading method is required for various non-document based setups or dynamic loading.
* Various improvements to default connection favorites handling, including:stuconnolly2010-07-034-105/+141
| | | | | | | | | - Updating the default favorite popup button to reflect the sorted order of the favorites tableview. - A new icon indicating the default favorite in the favorites tableview. - A new 'Make Default' menu item in the favorites tableview context menu. (Outstanding issue: Incorrect default favorite being selected upon launch because the sorting of favorites on the connection screen and preferences are independent of each other).
* Disable manual reordering of favourites in the preferences for the time ↵stuconnolly2010-07-031-2/+2
| | | | being as it's currently broken (related to issue #655).
* - Fix tab bars in windows with only one tab not disappearing after dragging ↵rowanbeentje2010-07-032-6/+17
| | | | | | | a tab past/through them, by using PSMTabBar notifications instead of our own notifications; also fix PSMTabBar notification ordering. - When a tab drag starts, reorder all windows in front of other applications
* When reordering a timestamp field ensure the query is correctly constructed ↵stuconnolly2010-07-021-5/+10
| | | | when it allows NULL values. Fixes issue #753. Also, improve the error message displayed when a field cannot be moved.
* Localise the custom export filename tokens.stuconnolly2010-07-021-15/+13
|