aboutsummaryrefslogtreecommitdiffstats
path: root/Source
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix release and dist builds.stuconnolly2010-08-162-9/+5
|
* • auto-completion in Query Editor now detects whether the caret is inside ↵Bibiko2010-08-162-1/+14
| | | | quotes or not in order to come up with the correct suggestions
* • added opacity slider to color palette Bibiko2010-08-161-0/+1
|
* • added chance to export/import the color theme of the Query Editor in ↵Bibiko2010-08-167-3/+407
| | | | | | | | | | | Prefs > Editor > Gear menu as normal plist file - file extension is spTheme - can also import TextMate theme tmTheme files directly • added the chance to set the selection color in the Query Editor • fixed code for setting the insertion point color • changed the way how the query highlight color will be drawn - now it also supports colors with an alpha value
* - Apply column autosizing improvements to custom query loadingrowanbeentje2010-08-167-62/+237
| | | | | | | | - Move Table Content progress tracking onto the main thread's load timer - Improve thread safety when autosizing - Improve autosize to not contrain wide columns as much in tables where all columns can be shown, or if the column is double-clicked to size. (This completes work on Issue #271 and Issue #272)
* On the export dialog make sure the tables list is refreshed when switching ↵stuconnolly2010-08-151-4/+4
| | | | export types to ensure procs and functions are only included for SQL exports.
* • forgotten to commit missing changes to commit 2534Bibiko2010-08-152-0/+15
|
* Improve export menu item validation by disabling export as XML and CSV when ↵Bibiko2010-08-151-6/+16
| | | | only multiple procs and/or functions are selected
* Improve export menu item validation by disabling export as XML and CSV when ↵stuconnolly2010-08-151-1/+12
| | | | either a proc or function is selected.
* • made SP more robust against issues which are caused by different table ↵Bibiko2010-08-151-9/+34
| | | | name encodings
* Ensure that the XML file header is written when performing an XML export of ↵stuconnolly2010-08-141-0/+2
| | | | the current filtered result.
* Fix the display and updating of the export progress sheet when performing an ↵stuconnolly2010-08-142-8/+11
| | | | XML export. Caused by the incorrect implementation of XML export delegate methods as well as a missing call to one of them during the export process.
* Tidy up database renaming and copying by removing the use of alert dialogs ↵stuconnolly2010-08-138-175/+156
| | | | within loops to prevent locking up the main thread. These operations ideally should also be threaded.
* • fixed bug while closing a tab to remove the connection from NavigatorBibiko2010-08-133-5/+55
| | | | • FIRST implementation to allow to drag a table from the Navigator to the connection window's table list to copy this table with content (it works but needs to be improved!)
* • NavigatorBibiko2010-08-132-10/+58
| | | | | - speed up tree display by caching the sort order of dictionary keys (only for more than 50) - this speeds up the entire Navigator GUI response enormously - fix the fighting refresh calls in sync mode if user double-clicked at an item in the Navigator which ended up in an unstable tree display
* • NavigatorBibiko2010-08-133-84/+12
| | | | | | | - make usage of only one tree - fixed "Button"-dummy - fixed refreshing of the tree data for first invocation - fixed tiny bits for possible crashes/exceptions due to threading
* • 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
|
* Various export enhancements and fixes, including:stuconnolly2010-08-1229-638/+1183
| | | | | | | | | | | | - 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
* • 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-122-18/+31
| | | | | | | - 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-103-5/+11
| | | | 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-101-0/+141
|
* • Quicklook generatorBibiko2010-08-091-2/+29
| | | | | - 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-091-54/+58
| | | | - 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-061-5/+70
| | | | - only SQL files with less than 3MB will be syntax highlighted
* • added svn prop Id to GeneratePreview/ThumbnailForURL.mBibiko2010-08-052-264/+146
| | | | | • 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-043-0/+651
| | | | 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-032-1/+3
| | | | | | - 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-011-2/+2
| | | | indexes view labels
* - Make a few more strings localizablerowanbeentje2010-08-016-21/+21
|
* - Make SSH titlebar strings and preferences' favourite "Last Used" menu ↵rowanbeentje2010-08-012-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-313-6/+46
| | | | | | | 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-294-160/+367
| | | | | | | | 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-252-1/+18
| | | | extension to be .tsv
* Tidy up SPExportController by splitting out all filename related methods to ↵stuconnolly2010-07-2513-195/+244
| | | | 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-252-25/+80
| | | | | - 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.