| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
create-then-get as that did cause problems on 10.11 in some cases (#2294)
* Split a huuuuge method into many smaller methods
* Updated some code to use methods that are already there
|
|
|
|
| |
Caused by a use-after-free of an unretained ivar
|
|
|
|
| |
(This also affects PSMSequelProTabStyle, but see the comment there why it is left unchanged)
|
|
|
|
|
|
| |
When the last selected favorite was "Quick Connect" with SSH, on the next launch SSH would be re-selected, but the fields other than SSH Host would be cut off.
This was caused by a race condition between our window setup code and Cocoas window restoration code. Solved by disabling window restoration for now (didn't really work for us anyway).
|
| |
|
| |
|
|
|
|
|
|
| |
Directly assigning to _controlView of a NSActionCell is private and not allowed by Mac App Store.
An _customControlView is used to replace _controlView in PSMTabBarCell to avoid direct assigning to _controlView.
This should be the last private API to remove before going to Mac App Store.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
REVIEW **
Known issues:
* There might be additional colors be shown when dragging tabs between windows
* The color set might need fine tuning
* Coloring of items in the favorite outline view is not yet handled
|
|
|
|
| |
enable some more
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
fixing Show Toolbar/Hide Toolbar menu item title not being updated correctly - addresses Issue #1521
- When the toolbar is hidden, draw a line in the window to cover up the bottom border of the window's title bar, improving appearance
- Improve tab appearance when toolbar is hidden
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
- Add a new -destroyAnimations method to the tab bar and call it when tearing down the parent SPWindowController; this prevents animations redrawing the document after window close, fixing a number of crashes.
- Improve the logic for collapsing and uncollapsing the tab bar as tabs are added and removed, fixing height calculation errors leading to Issue #1082
- Improve tab bar draw when animating in the Sequel Pro tab style
|
|
|
|
|
|
|
|
|
|
|
|
| |
exceptions as database structure retrieval is currently missing!
Further work on SPMySQLFramework integration:
- Improve SPMySQL framework build settings including correct ppc builds and a Distribution configuration for the build distributions to match
- Add new convenience querying and result methods to the framework
- Amend Sequel Pro source to use the new SPMySQL.framework methods everywhere, replacing MCPKit methods where they differ and improving some functions
- Remove MCPKit from the source
- Fix a number of warnings on Release-style builds
|
|
|
|
|
|
|
|
|
|
|
| |
the main window only; hide SSH/SSL status when entering fullscreen mode, to prevent drawing issues
- Lion compatibility improvement: update tab colours under 10.7 to match system styles
- Lion compatibility improvement: fix issues dragging tabs out of windows and into other tab bars
- Lion compatibility improvement: fix QuickLook issues under 10.7, including windows which couldn't be closed, fullscreened, or crashes
- Fix exceptions in the bundle controller when using tab switching keys
- Lion compatibility improvement: use overlay scrollers where possible
|
| |
|
|
|
|
| |
tab (equivalent to the 'Open Database in New Tab' menu item). Implements issue #1040.
|
| |
|
|
|
|
|
| |
- Tweak README
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
| |
|
|
|
|
| |
- Slightly limited in that the addTabButton's target and action must be set for it to work.
|
|
|
|
|
|
|
| |
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)
|
|
|
|
| |
window, including for single tabs in windows moved by their tabs
|
|
|
|
|
|
| |
- 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
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
| |
- Only applies when one tab is present.
- Saves last used state to preferences.
|
|
|
|
| |
• setHideForSingleTab:YES after opening spfs session
|
|
|
|
|
|
| |
- 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
|
|
|
|
|
|
| |
fine-tuning comes soon)
• added constant "SPBundleFileExtension"
|
|
|
|
|
|
|
| |
• 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
|
|
|
|
| |
• added tooltips for tab's overflow menu
|
|
|
|
|
|
|
| |
drawing glitches, improved spacing, improved edge drawing
- Enable tab switch commands even when documents are working
|
|
|
|
| |
- it moves the SPDatabaseDocument of the currently selected tab to a new window
|
|
|
|
|
| |
- 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.
|
|
|
|
|
|
| |
view items, since it doesn't work
- added the MySQL version to these tooltips if enabled in the prefs
|
|
|
|
| |
updating the document's parent window controller after drags from window to window
|
|
|
|
|
| |
• 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
|
| |
|
|
|
|
|
|
|
|
|
| |
- 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
|
|
|
|
|
|
|
| |
the dragged tab
- Fix SPWindowController memory leak
|
|
|
|
| |
window to another
|