aboutsummaryrefslogtreecommitdiffstats
path: root/Source
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* Improve the preservation of the selected output path of exports between ↵stuconnolly2010-07-021-4/+2
| | | | openings of the export dialog.
* Prevent the background colour of the view custom filename format view of the ↵stuconnolly2010-07-021-0/+4
| | | | export dialog from changing when clicked.
* Fix the behaviour of the export dialog when toggling the customise filename ↵stuconnolly2010-07-022-14/+16
| | | | and advanced options views.
* When cancelling an export operation, keep the progress sheet on screen until ↵stuconnolly2010-07-021-4/+12
| | | | all the export files are removed.
* Remove all the old export code and associated UI controls.stuconnolly2010-07-022-2065/+153
|
* • suppress the check for upper-casing if found token is backticked explicitlyBibiko2010-07-011-1/+9
| | | | - this addresses i752 partially
* When editing the results from a custom query, reloading will only be ↵jakob2010-07-011-6/+10
| | | | performed when the "Reload after editing"-preference is selected (addresses #735)
* • after opening spfs file reset tabBar by looking at setting for ↵Bibiko2010-07-012-2/+12
| | | | | | | | | SPAlwaysShowWindowTabBar • fixed CSV Import file display in NSPathControl if SP runs localized - the problem is very likely a bug in [NSPathControl setURL:]; that's why create a new temporary NSPathControl and set the GUI's NSPathControl via [NSPathControl setPathComponentCells:[tempPathControl pathComponentCells]] - this should fix i751 • resized some components in CSV Import sheet to fit for localizations a bit better
* Improve tab functionality, behaviour and interaction.rowanbeentje2010-06-302-15/+42
| | | | | | | | | | | | | | | | | | | | | PSMTabBar general improvements: - Fix a phantom tab appearing in windows a tab was just dragged out of - Add support for a new control usersSafariStyleDragging property; this causes tabs being dragged inside a tab bar to snap to the tab bar, be drawn at full transparency (also no longer darkening the placeholder position), and alters tab ordering within the tab bar to be based on the tab position rather than the mouse position, for a more Mac-like reordering feel. - Add support for dragging items onto the menubar to cancel the drag - Alter the image of the dragged tab to use a tab drawn onto a transparent background instead of snapshotting a rectangle around the tab, improving drag appearance - Allow tabs to be dragged partially off screen and keep their position instead of snapping back fully onto the screen - Improve behaviour when dragging tabs out of and back into tab bars, or into new windows, resizing the tabs in the target tab bar to improve display and no longer intermittently showing close buttons while dragging - Pull windows to the front as tabs are dragged onto their tab bars - Abstract Custom Query Editor text snippet code, adding a delegate method so code could be moved to the SP window manager. Sequel Pro tab styling improvements: - Improve and clean up tab drawing code - Draw background tabs with shadows as appropriate - Improve logic for how background tab edges are drawn, handling edges cases better (active tab in overflow menu etc) and vastly improving drawing when a tab is being dragged (respect placeholder position when stacking tabs, draw edges on either side) Sequel Pro tab behaviour improvements: - Improve show/hide tab bar interaction - Improve window positioning after creating new windows via a drag - Alter tab dragging out of the tab bar to use an image based on the full window appearance - looks better, and fixes issues like the tab bar background not being drawn while dragging