aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPWindowController.m
Commit message (Collapse)AuthorAgeFilesLines
* Add Sparkle to credits.stuconnolly2011-07-101-16/+12
|
* Add the ability to double click a tab to duplicate the connection in a new ↵stuconnolly2011-05-091-3/+17
| | | | tab (equivalent to the 'Open Database in New Tab' menu item). Implements issue #1040.
* Add tab context menu.stuconnolly2011-05-081-2/+16
|
* - Fix more compiler warningsrowanbeentje2011-03-151-5/+6
| | | | | - Tweak README
* fixed compiler warningssqlprodev2011-03-011-1/+3
|
* Add a new category to SPDatabaseDocument, allowing code cleanup and moving ↵rowanbeentje2010-11-031-1/+1
| | | | | | | | | | | central functionality out of SPTablesList: - Centralise control over table loading, moving it away from SPTablesList and into SPDatabaseDocument and the new SPDatabaseViewController category - Centralise control over the main tab view, moving control away from SPTablesList and into SPDatabaseDocument and the new SPDatabaseViewController category - Simplify and clean up view loading logic - Improve thread safety - Update localisable strings
* Considering nearly every class uses constants, import it via the prefix header.stuconnolly2010-10-191-2/+2
|
* More work on tab creation target and actionavenjamin2010-09-151-3/+3
|
* Add ability to double click the empty area of the tab bar to create a new tab.avenjamin2010-09-151-0/+1
| | | | - Slightly limited in that the addTabButton's target and action must be set for it to work.
* • made usage of SPBeginWaitingAlertSheet while closing a spf file for ↵Bibiko2010-08-191-4/+8
| | | | | | | readability of that spf file • suppress if a window with one tab will be closed that [... parentTabShouldClose] method will be called twice via closeTab: - this issue could be the reason for recent crashes/exception esp. of the NSNavigator (should be investigated further)
* - 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-031-1/+2
| | | | | | - 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
* - Fix tab bars in windows with only one tab not disappearing after dragging ↵rowanbeentje2010-07-031-5/+2
| | | | | | | a tab past/through them, by using PSMTabBar notifications instead of our own notifications; also fix PSMTabBar notification ordering. - When a tab drag starts, reorder all windows in front of other applications
* Improve tab functionality, behaviour and interaction.rowanbeentje2010-06-301-14/+41
| | | | | | | | | | | | | | | | | | | | | PSMTabBar general improvements: - Fix a phantom tab appearing in windows a tab was just dragged out of - Add support for a new control usersSafariStyleDragging property; this causes tabs being dragged inside a tab bar to snap to the tab bar, be drawn at full transparency (also no longer darkening the placeholder position), and alters tab ordering within the tab bar to be based on the tab position rather than the mouse position, for a more Mac-like reordering feel. - Add support for dragging items onto the menubar to cancel the drag - Alter the image of the dragged tab to use a tab drawn onto a transparent background instead of snapshotting a rectangle around the tab, improving drag appearance - Allow tabs to be dragged partially off screen and keep their position instead of snapping back fully onto the screen - Improve behaviour when dragging tabs out of and back into tab bars, or into new windows, resizing the tabs in the target tab bar to improve display and no longer intermittently showing close buttons while dragging - Pull windows to the front as tabs are dragged onto their tab bars - Abstract Custom Query Editor text snippet code, adding a delegate method so code could be moved to the SP window manager. Sequel Pro tab styling improvements: - Improve and clean up tab drawing code - Draw background tabs with shadows as appropriate - Improve logic for how background tab edges are drawn, handling edges cases better (active tab in overflow menu etc) and vastly improving drawing when a tab is being dragged (respect placeholder position when stacking tabs, draw edges on either side) Sequel Pro tab behaviour improvements: - Improve show/hide tab bar interaction - Improve window positioning after creating new windows via a drag - Alter tab dragging out of the tab bar to use an image based on the full window appearance - looks better, and fixes issues like the tab bar background not being drawn while dragging
* Add option to toggle the tab bar visibility.avenjamin2010-06-301-1/+18
| | | | | - Only applies when one tab is present. - Saves last used state to preferences.
* • made SP more robust against fast closing of tabs and windowsBibiko2010-06-291-2/+2
| | | | • setHideForSingleTab:YES after opening spfs session
* • Open Session fileBibiko2010-06-291-0/+4
| | | | | | - set [tabbar setHideForSingleTab:NO] if window has more than one tab in order to avoid issues while animated fading-in of the tabbar - assign initial keyboard short-cut ^⌥⌘S for Save Session (needs to be discussed) - still hidden
* • initial support for open a spfs session file (works rudimentary - ↵Bibiko2010-06-241-0/+13
| | | | | | fine-tuning comes soon) • added constant "SPBundleFileExtension"
* • replaced @"sql" and @"spf" by their SPConstant definitionsBibiko2010-06-241-0/+6
| | | | | | | • further Save Session progress - store "saved as session accessory view data" globally to support "Save Session" - delete global "saved as session accessory view data" if last SP window will be closed - added to info.plist which tab is currently selected
* • simplified and unified tab tooltipsBibiko2010-06-181-27/+4
| | | | • added tooltips for tab's overflow menu
* - Further improve appearance of Sequel Pro tab style (still hidden): fixed ↵rowanbeentje2010-06-171-3/+3
| | | | | | | drawing glitches, improved spacing, improved edge drawing - Enable tab switch commands even when documents are working
* • added Window menu item "Move Tab to New Window"Bibiko2010-06-161-13/+82
| | | | - it moves the SPDatabaseDocument of the currently selected tab to a new window
* Initial stage of re styling the tab bar to actually look half decent.avenjamin2010-06-141-1/+1
| | | | | - Change line 373 of PSMTabBarControl to "SequelPro" to see new tabs. - The drawing of the tab edges needs to be redone on the very edge of each tab instead of being inset by a number pixels to resolve a few issues.
* • reverted to previous approach to display tooltips for unselected tab ↵Bibiko2010-06-141-2/+29
| | | | | | view items, since it doesn't work - added the MySQL version to these tooltips if enabled in the prefs
* - Fix a crash when dragging/closing tabs after tab drags, caused by not ↵rowanbeentje2010-06-141-1/+2
| | | | updating the document's parent window controller after drags from window to window
* • simplified tooltips for tabsBibiko2010-06-141-23/+6
| | | | | • preparations for "Move Tab to New Window" action menu action • display Select Next/Previous Tab menu items also under Main Menu > Window to be consistent
* • if tab view item is dragged out of a tab bar set the correct window titleBibiko2010-06-141-0/+3
|
* Improvements to tab dragging and switching:rowanbeentje2010-06-131-5/+71
| | | | | | | | | - Attempt to preserve toolbar visibility settings - Fix dragging on previously background tabs - When dragging a tab, show the tab bar in all windows to that windows containing a single tab can be added to - Fix window sizing when creating new windows via a tab drag - Improve window representation when dragging a tab off a window, and fix placement when creating a new window following mouse release
* - Add support for tearing tabs off a window, into a new window containing ↵rowanbeentje2010-06-131-3/+55
| | | | | | | the dragged tab - Fix SPWindowController memory leak
* - Fix a regression in r2308 causing problems when dragging a tab from one ↵rowanbeentje2010-06-121-2/+1
| | | | window to another
* - Fix menu validation by forwarding SPWindowController requests to the ↵rowanbeentje2010-06-121-24/+31
| | | | | | | frontmost document - Track the frontmost document in a window to simplify code
* • avoid exception for showing tooltip if tab will be closed by checking ↵Bibiko2010-06-121-1/+6
| | | | tab index against number of tabs
* • added tooltip for tab view titlesBibiko2010-06-121-1/+43
| | | | | - for selected tab view item show tooltip only if title is truncated - for unselected tab view items show the full display title as tooltip
* • Select Next/Previous Tab now cycles through available tabs if it's ↵Bibiko2010-06-111-13/+14
| | | | called for the last/first tab
* • add to Main Menu > View > :Bibiko2010-06-111-0/+43
| | | | | | | | - Select Next Tab ^⇥ - Select Previous ^⇧⇥ and menu validation to be able to navigate through available tabs by using the keyboard.
* Rename TableDocument to SPDatabaseDocument.stuconnolly2010-05-281-17/+17
|
* - Add support for progress indicator in tabsrowanbeentje2010-05-241-1/+46
| | | | | | - Hide Navigator menu option again - Remove accidentally committed debug
* Initial implementation of tabs:rowanbeentje2010-05-231-0/+372
- Addition of PSMTabBar framework - Rework away from a document-based TableDocument - Support tabs throughout the application - Add menu items for creating tabs, and add support for dragging tabs to different windows