aboutsummaryrefslogtreecommitdiffstats
path: root/Source
Commit message (Collapse)AuthorAgeFilesLines
* • suppress the check for upper-casing if found token is backticked explicitlyBibiko2010-07-011-1/+9
| | | | - this addresses i752 partially
* When editing the results from a custom query, reloading will only be ↵jakob2010-07-011-6/+10
| | | | performed when the "Reload after editing"-preference is selected (addresses #735)
* • after opening spfs file reset tabBar by looking at setting for ↵Bibiko2010-07-012-2/+12
| | | | | | | | | SPAlwaysShowWindowTabBar • fixed CSV Import file display in NSPathControl if SP runs localized - the problem is very likely a bug in [NSPathControl setURL:]; that's why create a new temporary NSPathControl and set the GUI's NSPathControl via [NSPathControl setPathComponentCells:[tempPathControl pathComponentCells]] - this should fix i751 • resized some components in CSV Import sheet to fit for localizations a bit better
* Improve tab functionality, behaviour and interaction.rowanbeentje2010-06-302-15/+42
| | | | | | | | | | | | | | | | | | | | | 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-304-2/+22
| | | | | - Only applies when one tab is present. - Saves last used state to preferences.
* • fixed DBViewSplitter's grabber bounds for splitView:splitView ↵Bibiko2010-06-301-1/+2
| | | | additionalEffectiveRectOfDividerAtIndex:
* • fixed tablesList's searchField width after collapsing tablesList's viewBibiko2010-06-301-0/+17
| | | | • set minimum width of right view (Structure, Content, etc.) in order to avoid irreversible GUI overlaps
* Preserve the selected output path of exports between openings of the export ↵stuconnolly2010-06-301-5/+5
| | | | dialog.
* Add tooltips to the export dialog's tableview.stuconnolly2010-06-301-1/+4
|
* • forgot to remove debug logsBibiko2010-06-291-2/+0
|
* • save window's vertical divider position in spf files in order to be able ↵Bibiko2010-06-294-5/+38
| | | | | | | | | to restore it • do not save tabs or a single window if connectionController is shown • added comments • added to SPTableContent method "tablesListWidth" to retrieve tablesList's view width
* • made SP more robust against fast closing of tabs and windowsBibiko2010-06-293-3/+6
| | | | • setHideForSingleTab:YES after opening spfs session
* • Open Session fileBibiko2010-06-294-1/+8
| | | | | | - 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
* • allow restoring of a spf file if no table was selected while saving the ↵Bibiko2010-06-281-26/+30
| | | | spf file
* • added to SPconnectionDelegate method "keychainPasswordForSSHConnection"Bibiko2010-06-282-30/+42
|
* • added 'spfs' as allowed extension for open panelBibiko2010-06-272-4/+6
| | | | • avoid adding of in bundle saved spf files to recent files
* • further progress for open/save sessionBibiko2010-06-252-45/+67
| | | | | | - improved remembering of save accessory view settings - if spfs file was saved encrypted ask for it while opening only once • fixed typo while remembering the save accessory view setting for "Remember Query Editor content
* • further progress for open/save sessionBibiko2010-06-252-10/+23
| | | | | - remember window position - remember save accessory view settings in spfs file
* Minor interface tweaks.stuconnolly2010-06-251-1/+1
|
* Fix call to showErrorSheetWith: which should be made against ↵stuconnolly2010-06-251-2/+2
| | | | SPTableStructure. Fixes logs http://spbug.com/875, http://spbug.com/876 and http://spbug.com/910.
* • fixed issue for saving spf files of ssh connectionsBibiko2010-06-241-3/+19
| | | | | - retrieve the ssh password from keychain • allow to save empty passwords in spf files
* • initial support for open a spfs session file (works rudimentary - ↵Bibiko2010-06-246-3/+113
| | | | | | fine-tuning comes soon) • added constant "SPBundleFileExtension"
* • replaced @"sql" and @"spf" by their SPConstant definitionsBibiko2010-06-2412-39/+115
| | | | | | | • 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
* • further progress to support "Save Session" (all opened windows plus ↵Bibiko2010-06-244-29/+119
| | | | | | | including tabs connections) - loop through all windows and for each window through all tabs and save all untitled doc within the bundle named via UUIDs and all opened spf files • added the SPStringAddition method +[NSString stringWithNewUUID] which returns a new UUID string
* • if user opens a spf file which does not contain connection data display ↵Bibiko2010-06-221-1/+8
| | | | the spf file format (like 'query favorites' etc.) in a message window at least.
* • initial preparations to support the storage of the entire SP session ↵Bibiko2010-06-213-8/+100
| | | | | | | | (all windows including tabs) • added file extension 'spfs' as SP bundle Note: The idea is to save inside the given spfs bundle a file 'Info.list' which contains the entire structure (which window, which tabs, selected items, etc.; each single connection is saved as separate spf file - if untitled inside the bundle in the sub-folder 'Contents' or if not the absolute path to a already saved spf file). This should insure that the user can open a single spf file in SP or as part of a spfs bundle session without loosing having two different spf file for the same connection. - Comments are welcome
* • fixed issue for Import from ClipboardBibiko2010-06-181-5/+1
| | | | - there's no need to check the passed path for clipboard content
* Fix CSV exporting by correctly setting the filename when exporting to ↵stuconnolly2010-06-181-2/+6
| | | | multiple files.
* • simplified and unified tab tooltipsBibiko2010-06-183-27/+36
| | | | • added tooltips for tab's overflow menu
* Enable the "Sequel Pro" tab style by default, and include the following fixes:rowanbeentje2010-06-181-1/+3
| | | | | | | | - Fix display of the overflow menu - Improve tab spacing and internal layout - Improve tab names for documents to correctly show the database for background documents in additional cases - Update strings files
* • open a SPF file in a new tab if the tab bar of the front most document ↵Bibiko2010-06-171-5/+16
| | | | is visible otherwise open it in a new window
* • if a text string is dragged on tab this tab will be selected and the ↵Bibiko2010-06-172-0/+9
| | | | corresponding db doc switches to Custom Query editor to be able eg to drag a query from one tab to another one
* - 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-162-14/+83
| | | | - it moves the SPDatabaseDocument of the currently selected tab to a new window
* Revert a change made in r2320 that required an explicit name when adding new ↵stuconnolly2010-06-151-26/+6
| | | | index.
* • several fixes for index table in Structure viewBibiko2010-06-153-6/+23
| | | | | | | - fixed binding for removeIndexButton - moved indexTable's tableViewSelectionDidChange: delegate to SPIndexController to fix enabling/disabling of the removeIndexButton - fixed issue to blank the index table for multiple selected tables
* - Convert connection encoding menus to be menu tag based to fix ↵rowanbeentje2010-06-147-65/+211
| | | | | | | | | | localisation errors - Add database encoding retrieval support for MySQL 4.1 - Convert the add table and add database sheets to use encoding menus derived from server supported encodings - Re-layout preferences with larger labels to aid localisation - Fix preference resizing in non-Favorite tabs
* Initial stage of re styling the tab bar to actually look half decent.avenjamin2010-06-142-1/+2
| | | | | - 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.
* Split the management of a table's indexes (adding and removing) to its own ↵stuconnolly2010-06-144-443/+733
| | | | controller and XIB in preparation for the UI redesign.
* • 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-142-23/+7
| | | | | • 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-132-5/+73
| | | | | | | | | - 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
* - Fix SQLexporter known issue from r2311, and fix compilation against the ↵rowanbeentje2010-06-132-4/+3
| | | | 10.5 SDK
* Remove NSLog() debug.stuconnolly2010-06-131-3/+1
|
* Exporter ehancements:stuconnolly2010-06-136-112/+149
| | | | | | | - Make sure the export button is disabled when the global structure, content and drop options are enabled, but the desellect all button is checked. - Replace the export dialog toolbar with a tabview, reducing the dialogs overall size. - Add the option to SQL dumps to specify when a new INSERT statement should be created, either after a certain amount of data or after a specific number of rows (defaults to every 250KiB). Known issue: incorrect VALUES clause generation of last row when creating a new INSERT after a specific number of rows.
* - Add support for tearing tabs off a window, into a new window containing ↵rowanbeentje2010-06-132-4/+56
| | | | | | | 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-122-24/+33
| | | | | | | frontmost document - Track the frontmost document in a window to simplify code