aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* • reverted changes of refreshing of the Navigator if it is not visibleBibiko2010-08-121-1/+1
| | | | | - this should fix recent crashes/execeptions
* Minor tidy up including the removal of unnecessary imports.stuconnolly2010-08-128-20/+9
|
* Add missing SVN keywords.stuconnolly2010-08-120-0/+0
|
* Various export enhancements and fixes, including:stuconnolly2010-08-1230-638/+1203
| | | | | | | | | | | | - A new SPExportFile class, providing an abstract interface to the handling and creation of export files. - Enables the centralisation of all file/file handle creation logic as well as better support for handling situations where files fail to be created, including files that already exist at the export location. - New SPExportFileHandleStatus constants to support the reporting of file handle creation. - Update SPExporter to use the new file class instead of directly using an instance of SPFileHandle. - Add the necessary logic to deal with files that already exist on disk, by providing the user with 3 options: cancel the export, ignore the files in question or overwrite them. We might want to enhance this to make new files sequential in name to prevent overwriting. Fixes issue #742. - New SPExportFileUtilities category, which centralises all the logic relating to writing export type headers as well as dealing with problems occurred during file/file handle creation. - Improve feedback given on the export progress sheet during export initialisation. - Tidy up and improve comments.
* Column autosizing:rowanbeentje2010-08-121-1/+5
| | | | | | - Handle "(not loaded)" placeholders; this addresses http://spbug.com/l/1420 - Fix row inspection of widely-spaced rows for large, fast-loading tables, ensuring up to maxRows rows are inspected
* • enabled Navigator in the main menu main > ViewBibiko2010-08-121-1/+0
|
* • NavigatorBibiko2010-08-121-11/+18
| | | | | | | - searches only for pattern length greater than 1 - improved connection detection for search if connection itself is selected - improved exceptions handling - improved first display refresh
* • while closing a doc window or quitting the app wait for removing the ↵Bibiko2010-08-121-1/+1
| | | | connection structure data used by the Navigator/Completion List to avoid exceptions or crashes
* • some minor work on NavigatorBibiko2010-08-123-596/+291
| | | | | | | - refresh on first init - sped up sorting a bit - code improvements - removed Quick Access since it can be outsourced (in the future)
* Implement column autosizing for the Content View:rowanbeentje2010-08-124-27/+294
| | | | | | | | - Add automatic column sizing (for columns without saved widths) as part of the value loading process - Rework table updates to be timer based, for time-based and more regular updates. This improves speed and allows tables to update more consistently. This results in overall smoother table loads, faster table loads, and autosizing columns. This partially implements Issues #271 and #272. Column autosizing will likely be tweaked, and this will all also be extended to Custom Query views in a future patch.
* • db schema names à la db.table.field or real numbers like 1.234 are ↵Bibiko2010-08-111-0/+31
| | | | | | | | | treated as one 'word' while navigating/selecting by the keyboard - first patch for solving issue 588 - needs to be tested if this behaviour doesn't disturb other issues Note: it's in some sort tricky since the selection direction isn't caught yet
* • added key stroke CTRL+= to increasing the font size to be consistent ↵Bibiko2010-08-101-1/+1
| | | | with the Mac standard
* • while exporting SQL skip safely non-existing tables (due to encoding ↵Bibiko2010-08-101-195/+199
| | | | problems or others) and write an error message to the file regardless the "Add Error" setting
* • remember user's last setting for "Resetting AUTO_INC" while deletion of ↵Bibiko2010-08-104-5/+13
| | | | all rows in a table
* • Quicklook generatorBibiko2010-08-101-4/+13
| | | | | | - increased default preview height for sql files - increased default preview heigth for spfs files if more than one connection - show for spfs files all windows in reversed order to show the active window on top
* • added first implementation for spfs file QuicklookBibiko2010-08-108-192/+456
|
* Make Credits.rtf localizable.stuconnolly2010-08-092-4/+12
|
* Fix tooltip typo.stuconnolly2010-08-091-21/+47
|
* • Quicklook generatorBibiko2010-08-099-32/+31
| | | | | - improved icon display by choosing an adequate image of of the icns file - set background to white for all different spf files to be consistent
* • SQL file Quicklook generatorBibiko2010-08-093-62/+62
| | | | - sped up HTML rendering for larger files
* • SQL file Quicklook generatorBibiko2010-08-091-62/+86
| | | | | - truncate SQL files larger than 500k - changed encoding detection: try utf-8, if it fails let Cocoa to detect the enc, if it fails fall back to latin1
* • added syntax highlighting for SQL file QuickLook generatorBibiko2010-08-064-23/+86
| | | | - only SQL files with less than 3MB will be syntax highlighted
* • added svn prop Id to GeneratePreview/ThumbnailForURL.mBibiko2010-08-053-266/+170
| | | | | • added SP's SPData/StringAdditions to QuickLook generator to avoid double-coding • cleaned generator code a bit
* - Add an initial Sequel Pro QuickLook plugin, written by bibiko, as a build ↵rowanbeentje2010-08-0413-16/+1291
| | | | dependency
* - Fix menu item and window close issues after a tab is dragged to a new ↵rowanbeentje2010-08-031-1/+2
| | | | window, including for single tabs in windows moved by their tabs
* Improve tab dragging:rowanbeentje2010-08-033-6/+6
| | | | | | - Fix toolbar issues when the last tab is dragged "out of" a window (eg a window is moved via the only tab left inside it) - Fix window positioning flicker when dragging a tab out of its window
* - Make another couple of strings localisable, and tweak layout of CREATE ↵rowanbeentje2010-08-013-23/+1305
| | | | indexes view labels
* - Make a few more strings localizablerowanbeentje2010-08-017-21/+21
|
* - Tweak the layout of the "Add Triggers" sheet, giving labels more space ↵rowanbeentje2010-08-011-60/+69
| | | | for localisation
* - Make SSH titlebar strings and preferences' favourite "Last Used" menu ↵rowanbeentje2010-08-013-3/+3
| | | | item localisable
* - Improve SPDataStorage exceptions by recording the requested location and ↵rowanbeentje2010-08-011-7/+7
| | | | the storage range
* - Replace progress indicator CoreAnimation drawing with manual shadow/fade ↵rowanbeentje2010-07-317-77/+1168
| | | | | | | code; this addresses hangs (see Issue #6677) and also prevents triggering the discrete graphics chip on newer MacBook Pros. - Update localisable strings
* Replace redundant code with newly established methods.stuconnolly2010-07-302-51/+11
|
* - Add support for automatically converting \r and \r\n linebreaks in query ↵rowanbeentje2010-07-295-160/+419
| | | | | | | | syntax to \n. This addresses Issue #652. - Clean up SPSQLParser, and use a few more CFString methods to avoid obj-c messaging in loops - When importing SQL using autodetect, perform a manual SET NAMES if possible to cope with poorly-exported files.
* - Replace core animation fade of task progress window with custom drawing ↵rowanbeentje2010-07-252-24/+31
| | | | code, in an attempt to fix Issue #677. It appears from testing that this is only a partial fix, but does reduce hang frequency.
* 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