aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Improve handling of BIT fields, including:stuconnolly2010-07-154-22/+61
| | | | | | | | | - 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.
* - Clean up automatic reconnection coderowanbeentje2010-07-142-27/+50
| | | | | | - Allow keepalive pings to perform automatic reconnections after a few consecutive failures - Fix a number of keepalive ping bugs, including compatibility with the new threaded connection methods and reconnection timing issues causing keepalive pings to not fire correctly
* Improve handling of network drops, including a new automatic reconnection ↵rowanbeentje2010-07-135-101/+797
| | | | | | | | | | | | | 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".
* Fix a very minor display issue on the export dialog's custom filename view ↵stuconnolly2010-07-121-8/+10
| | | | box by extending the parent tab view's width.
* Finalise Sequel Pro tab style:rowanbeentje2010-07-1211-60/+69
| | | | | | | | - Add custom Safari-style tab close buttons - Tweak margins, especially on the right when a progress indicator is active to avoid doubled margins - Fix tab bar rendering when using font/help etc windows Also update the .strings files to match latest changes
* 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).
* • added to SP's info.plistBibiko2010-07-091-129/+203
| | | | | | - Uniform Type Identifier (UTI) for extensions spf, spfs in order to support QuickLook in future - added plain text QuickLook support for sql files to be able to read them in QL mode
* 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.
* - Extend the LLVM Compiler 1.5 fix from r2444 to all build targets and ↵rowanbeentje2010-07-081-3/+15
| | | | build modes; this restores LLVM Compiler 1.5 as the default compiler for Debug, Release and Distribution builds.
* - Add default socket locations for Mac OS X Server and XAMPP to default ↵rowanbeentje2010-07-081-4/+6
| | | | | | | socket search paths - Reorder socket search paths to favour OS X locations
* Fixed Debug config compile for LLVM Compiler 1.5 by adding linker flag ↵mltownsend2010-07-081-1/+4
| | | | '-lstdc++'. Changed the Release config to use the LLVM GCC 4.2 compiler as adding the '-lstdc++' didn't seem to work. Probably another tick mark setting somewhere in release that needs to be done. But since this isn't used as much as Debug I didn't worry about it to much.
* 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.
* •re-bound SPDatabaseDocument's customQueryTextView outlet with Custom ↵Bibiko2010-07-081-30/+38
| | | | | | Query's text field - solves i759
* - 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-074-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-072-21/+20
| | | | textfields in Table Status view
* • made Comment and CREATE-Syntax textfield the same width in Table Status viewBibiko2010-07-071-3/+3
|
* • made Table Status view localisable and resized GUI elementsBibiko2010-07-072-74/+392
|
* • resized some gui elements for localisationBibiko2010-07-071-8/+145
|
* • resized some gui elements for localisationBibiko2010-07-071-23/+23
|
* • fine-tuned scrollView position of Custom Query Result tableBibiko2010-07-072-11/+892
| | | | | | | • 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 scrollView height and position of Custom Query Result table to ↵Bibiko2010-07-071-5/+7
| | | | display the horizontal scroll bar correctly
* • 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-069-349/+337
|
* Fix various memory leaks as a result of static analysis.stuconnolly2010-07-065-8/+13
|
* Change the export dialog's 'Selected Tables' option to simply 'Tables' and ↵stuconnolly2010-07-064-15/+14
| | | | update strings files.
* Rename CustomQuery as SPCustomQuery.stuconnolly2010-07-0617-1380/+1437
|
* - Make the query info/error display collapsible.stuconnolly2010-07-066-2488/+2851
| | | | | | | - 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
* • resized ContentPaginationView for better localizationBibiko2010-07-061-59/+1142
| | | | - maybe needs to be discussed
* - 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-056-107/+387
| | | | 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-052-5/+19
| | | | 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
* • resized GUI elements for localisation of longer explanationsBibiko2010-07-051-26/+33
|
* • increased width of preferences window plus views by 30px in order to ↵Bibiko2010-07-051-106/+427
| | | | have more space for localisations
* • resized GUI elements for localisation of longer explanationsBibiko2010-07-052-81/+1838
|
* Update XIB strings.stuconnolly2010-07-053-0/+0
|
* • resized GUI elements for localisation of longer explanationsBibiko2010-07-054-60/+1171
|
* Fixed warning about using 'Single Line Mode' working in 10.6 only.mltownsend2010-07-051-20/+881
|
* Changed compiler to LLVM GCC 4.2 to fix compile errors in Xcode 3.2.3mltownsend2010-07-051-3/+3
|
* Simplify the ease at which export filename tokens can be localised as well ↵stuconnolly2010-07-054-24/+451
| | | | 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.