aboutsummaryrefslogtreecommitdiffstats
path: root/Source
Commit message (Collapse)AuthorAgeFilesLines
* Simplify the ease at which export filename tokens can be localised as well ↵stuconnolly2010-07-052-14/+13
| | | | as how they are updated with respect to the selected export type.
* Revert a change made in r2390 that removed the didEndSelector of the import ↵stuconnolly2010-07-051-0/+8
| | | | errors sheet. Fixes log http://spbug.com/l/1050.
* - Replace forward slashes with hyphens in export filenames generated from ↵stuconnolly2010-07-051-5/+35
| | | | | | | the use of custom tokens to accommodate dates which include them. - Ensure that the displayed custom export filename includes the default extension.
* • localisation issuesBibiko2010-07-052-65/+65
| | | | | | - made "This table currently does not support relations..." localisable - resized some nib elements for longer translations - replaced [[NSApp mainMenu] itemWithTitle:@"Table"] by [[NSApp mainMenu] itemWithTag:SPMainMenuTable] for dynamic title changes
* - Fix localisation support for NSTabViews - previously only the first tab ↵rowanbeentje2010-07-051-0/+10
| | | | in each tabview was localised
* Localisation support improvements:rowanbeentje2010-07-042-0/+140
| | | | | | - Add support for localizing table column header cell strings - Add support for automatically translating nibs loaded via the combination of [[NSNib alloc] init...] and [NSNib instantiateNibWithOwner:topLevelObjects:]. This loading method is required for various non-document based setups or dynamic loading.
* Various improvements to default connection favorites handling, including:stuconnolly2010-07-034-105/+141
| | | | | | | | | - Updating the default favorite popup button to reflect the sorted order of the favorites tableview. - A new icon indicating the default favorite in the favorites tableview. - A new 'Make Default' menu item in the favorites tableview context menu. (Outstanding issue: Incorrect default favorite being selected upon launch because the sorting of favorites on the connection screen and preferences are independent of each other).
* Disable manual reordering of favourites in the preferences for the time ↵stuconnolly2010-07-031-2/+2
| | | | being as it's currently broken (related to issue #655).
* - Fix tab bars in windows with only one tab not disappearing after dragging ↵rowanbeentje2010-07-032-6/+17
| | | | | | | 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
* When reordering a timestamp field ensure the query is correctly constructed ↵stuconnolly2010-07-021-5/+10
| | | | when it allows NULL values. Fixes issue #753. Also, improve the error message displayed when a field cannot be moved.
* Localise the custom export filename tokens.stuconnolly2010-07-021-15/+13
|
* Improve the preservation of the selected output path of exports between ↵stuconnolly2010-07-021-4/+2
| | | | openings of the export dialog.
* Prevent the background colour of the view custom filename format view of the ↵stuconnolly2010-07-021-0/+4
| | | | export dialog from changing when clicked.
* Fix the behaviour of the export dialog when toggling the customise filename ↵stuconnolly2010-07-022-14/+16
| | | | and advanced options views.
* When cancelling an export operation, keep the progress sheet on screen until ↵stuconnolly2010-07-021-4/+12
| | | | all the export files are removed.
* Remove all the old export code and associated UI controls.stuconnolly2010-07-022-2065/+153
|
* • 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