aboutsummaryrefslogtreecommitdiffstats
path: root/Source
Commit message (Collapse)AuthorAgeFilesLines
...
* • added SPBeginWaitingAlertSheet() routine which offers the chance to ↵Bibiko2010-08-195-51/+140
| | | | | | display an alert sheet which waits for the change in the didEndSelector method of a passed class NSInteger variable • applied the SPBeginWaitingAlertSheet routine to Pref > Editor's check for unsaved color themes and in SPCustomQuery's sheet about Stop/Continue/Run All if a query failed after executing "Run All"
* • added SPFileManagerAdditionsBibiko2010-08-196-4/+193
| | | | | | | | - [(NSString*)applicationSupportDirectoryForSubDirectory:error:] Return the application support folder of the current application for 'subDirectory'. If this folder doesn't exist it will be created. If 'subDirectory' == nil it only returns the application support folder of the current application. • added SPThemesSupportFolder constant
* Rename CMCopyTable to SPCopyTable.stuconnolly2010-08-198-16/+16
|
* • fixed issue if SP's theme support folder or saved theme file resp. was ↵Bibiko2010-08-191-0/+28
| | | | removed while SP's Editor Preferences window is open
* • double-click in Finder on a 'spTheme' file installs this theme in SP's ↵Bibiko2010-08-191-4/+31
| | | | | | support folder • fixed opening of other file types by checking lower cased strings
* • fixed: reset new name to @"" for saving a themeBibiko2010-08-191-0/+1
|
* • added Edit Theme List to Editor Prefs for renaming/deleting/duplicating ↵Bibiko2010-08-192-13/+132
| | | | | | | | themes • fixed some issues for saving a theme note: since it isn't a frequently used feature this should be enough
* • convert alert about unsaved color theme to a waiting sheetBibiko2010-08-182-5/+47
|
* • added Query Editor color theme manager to the Editor PrefBibiko2010-08-184-199/+418
| | | | | | - themes can be saved/loaded in/from ~/Library/Application Support/Sequel Pro/Themes by using the gear menu items in the Editor Pref - rearrange the GUI - Edit Theme List follows soon
* • Editor color setting in Pref pane displays the color names using the ↵Bibiko2010-08-172-3/+23
| | | | | | | Editor's font - added some logic for closing the NSColorPanel - some GUI tweaks
* Revert the change made in r2536 which prevented the use of exporting the ↵stuconnolly2010-08-172-109/+107
| | | | selected tables. We'll need to find another way to fix the original issue of not showing procs and functions in CSV and XML exports as well as preserving the user's selection when switching between export types.
* • improved SPColorWellCellBibiko2010-08-171-13/+27
| | | | | | - supports the displaying of colors with alpha values (as triangles) - size is set via parent frame with inset 0.5 - modified the border to match the NSColorWell look (not yet finished)
* • initial commit to set the Editor's colors by using a table approach ↵Bibiko2010-08-174-15/+240
| | | | | | containing SPColorWellCells - further improvements will follow soon
* • fixed logic for auto-completion inside quotesBibiko2010-08-161-10/+9
| | | | | • re-enabled autoHelp
* 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