aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPSplitView.m
Commit message (Collapse)AuthorAgeFilesLines
* Addition to commit 2735e15bMax2015-01-041-2/+2
|
* Formalize [x release], x = nil; conventionMax2015-01-041-8/+8
| | | | | Take this commit as a proposal to formalize our existing "[x release], x = nil;" convention by introducing a macro for it. Feel free to revert this commit if you see issues with the approch or implementation.
* Change some split view width calculations.Max2014-11-291-5/+28
| | | | | | * Attempt to fix the "<SPSplitView: ...>: the delegate <SPSplitView: ...> was sent -splitView:resizeSubviewsWithOldSize: and left the subview frames in an inconsistent state:" message that has been plaguing my console for some time. * This commit also adds a minimum width on the main area to prevent some strange UI bugs.
* Update URL in source file header to point to GitHub.Stuart Connolly2014-01-261-1/+1
|
* Remove SVN property placeholder.Stuart Connolly2014-01-261-2/+0
|
* - Fix all the Xcode 4.6.2 build warnings, and tweak warning settings to ↵rowanbeentje2013-05-211-2/+2
| | | | enable some more
* Fix more warnings.stuconnolly2013-01-241-1/+1
|
* Fix warnings due to not conforming to 10.6 protocols.stuconnolly2013-01-241-1/+3
|
* - Fix the SPSplitView helper to correctly restore focus to focussed ↵rowanbeentje2012-08-301-1/+1
| | | | | | | | | responders in an expanding view at the end of the animation - On initial launch, and when changing database, ensure that the window focus is set to the table list or the table list filter or the table list as appropriate. This addresses Issue #1437. - Clean up some logic
* - Tweak SPSplitView to support autosave names, extending the default ↵rowanbeentje2012-08-151-0/+49
| | | | | | | autosave behaviour which seems to have problems - Use that to fix the database view splitter/connection view splitter not saving position correctly
* - Remove all BWToolKit elements in the connection view, replacing with ↵rowanbeentje2012-08-011-5/+11
| | | | | | | | | standard equivalents and SPSplitView - Replace the "Add" action menu on the connection view with two buttons for easier use and to avoid having to set up more popup buttons - Improve SPSplitView's handling of delegates set through code - Update localisable strings
* - Tweak SPSplitView to no longer treat non-resizable split view children as ↵rowanbeentje2012-07-301-44/+20
| | | | | | | max/min constraints when dragging the splitview divider. This improves default behaviour and also allow use of the non-resizable split view children to control relative autoresizing when resizing a parent view - Tweak Bundle Editor to no longer require split view delegate controls to control resizing, instead making the first split view child non-resizable in IB
* - Replace the collapsible BWSplitView on the Query pane with a SPSplitView ↵rowanbeentje2012-07-261-9/+19
| | | | | | | | configured from code - Replace the other NSSplitView on the Query pane with an equivalent SPSplitView to allow easier constraint management - Fix SPSplitView collapsible subview resizing to only amend the collapsible subview's autoresizing mask along the axis of the split view, leaving the other axis untouched to avoid problems with subviews not correctly picking up window resize changes when they were collapsed
* Change Sequel Pro's license from GPL (version 2) to MIT.stuconnolly2012-07-251-1/+1
|
* - Replace the main split view in the main view with a SPSplitView, ↵rowanbeentje2012-07-241-2/+11
| | | | | | | | | | replacing the anchored button bar and buttons with normal equivalents. - Make the main split view collapsbile to avoid resize issues with the filter box - Fix problems with additional drag handles in SPSplitView when one of the views was using flipped coordinates - Fix problems with manually dragged uncollapses in SPSplitView - Fix problems instantiating SPSplitView instances on 10.5 (with thanks to schlabberdog)
* - Attempt to address startup exceptions on 10.5 by fixing NSSplitView ↵rowanbeentje2012-07-231-1/+3
| | | | awakeFromNib checks
* - Add a new SPSplitView class, intended to replace all BWSplitViews and so ↵rowanbeentje2012-07-231-0/+1094
allow us to remove BWToolKit. Supports constraints and animated collapsible subviews configured in code, fixes crashes and exceptions if a window is closed while animations are taking place or scheduled to take place. - Replace the two vertical splitters in the table list (the filter splitter, and the table info splitter) with SPSplitView implementations as a test - Add a helper method in the new SPDateAdditions