aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* During a CSV export if the user selects the tab as the separator update the ↵stuconnolly2010-07-253-10/+49
| | | | extension to be .tsv
* Tidy up SPExportController by splitting out all filename related methods to ↵stuconnolly2010-07-2514-195/+250
| | | | a new category SPExportFilenameUtilities.
* Make the export dialog a little smarter with regard to the current context. ↵stuconnolly2010-07-254-26/+50
| | | | | | | | | | | For example: If either the table content or custom query editor views are active and there is data available, these options will be selected as the export source ('Filtered' or 'Query Result'). If either of these views are not active then the default source are the currently selected tables. If no tables are currently selected then all tables are checked. Note that in this instance the default export type is SQL where as in the case of filtered or query result export the default type is CSV. Also remove some old export methods. Related to issue #610.
* - Fix positioning bug when using Import From Clipboardrowanbeentje2010-07-2512-251/+1429
| | | | | - Add controllable encoding support when importing CSV and SQL files, including a new default "Autodetect" option. Add UniversalDetector framework to support encoding autodetection. This should address Issue #720.
* - 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-2415-343/+704
| | | | | | | | | | | | | | | | | | 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.
* Add the BWToolkit.ibplugin to the Resources directory of ↵rowanbeentje2010-07-21201-0/+1431
| | | | | | | | | | BWToolkitFramework.framework - Removed via builds scripts, so not included in the final product - Allows loading .xibs using BWToolkit items without purposefully installing the .ibplugin beforehand - Allows us to update the .ibplugin as we update the framework versions, to keep them in sync Should allow people to load the Sequel Pro .xcodeproj and start building it more easily.
* - 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-202-8/+9
| | | | | | | | - 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-195-184/+204
| | | | | | | | | 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-1811-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-174-96/+131
| | | | | | | - 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.
* Localisation improvements:rowanbeentje2010-07-163-993/+383
| | | | | | | - Tweak custom query button widgets and spacing - Improve User Manager layout, particularly for button and label widths - Update connection error dialog strings file to remove Retry
* 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-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.