aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPDatabaseDocument.m
Commit message (Collapse)AuthorAgeFilesLines
* Make the export dialog a little smarter with regard to the current context. ↵stuconnolly2010-07-251-24/+6
| | | | | | | | | | | For example: If either the table content or custom query editor views are active and there is data available, these options will be selected as the export source ('Filtered' or 'Query Result'). If either of these views are not active then the default source are the currently selected tables. If no tables are currently selected then all tables are checked. Note that in this instance the default export type is SQL where as in the case of filtered or query result export the default type is CSV. Also remove some old export methods. Related to issue #610.
* - Improve thread safety when altering task cancellation staterowanbeentje2010-07-211-0/+6
|
* Tab tweaks:rowanbeentje2010-07-201-5/+6
| | | | | | | | - Sheets now appear positioned underneath the tab bar if visible - Tweak bottom corner drawing for a clearer outline, without highlight overlay - Frontmost tab no longer displays server name in the tab Also fix exception when right-clicking on an index to reset auto-increment.
* Make the 'Export' menu item in the 'File' menu behave more like the export ↵stuconnolly2010-07-151-13/+11
| | | | context menu by checking only the selecting tables. If no tables are selected all of them are checked by default (the same as before). Fixes issue #755.
* As the initial MySQL connection is now threaded, start the current tab's ↵stuconnolly2010-07-071-5/+16
| | | | progress indicator to indicate that it's connecting in the event that the user switches to a different tab. Also preserve the tab's label as 'Connecting...' when switching tabs.
* • fine-tuned scrollView position of Custom Query Result tableBibiko2010-07-071-1/+1
| | | | | | | • resized GUI elements (Run Current, Last Error Mes.) for localisation • centered label for "Query Favorites" and "Query History" - maybe we should think about the appearance these buttons! • increased the min width of Custom Query view by 15px in order to avoid GUI overlappings
* Rename TableDump to SPDataImport and fix export selected tables functionality.stuconnolly2010-07-061-5/+5
|
* Rename CustomQuery as SPCustomQuery.stuconnolly2010-07-061-2/+2
|
* - Make the query info/error display collapsible.stuconnolly2010-07-061-1/+1
| | | | | | | - Add a 'gear menu' with the option to export the current result set as either CSV or XML. (Note, that the collapsiable view currently suffers from the same BWToolKit issue as the table information pane).
* Improve tab functionality, behaviour and interaction.rowanbeentje2010-06-301-1/+1
| | | | | | | | | | | | | | | | | | | | | 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
* • 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
* • save window's vertical divider position in spf files in order to be able ↵Bibiko2010-06-291-5/+15
| | | | | | | | | 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
* • Open Session fileBibiko2010-06-291-1/+0
| | | | | | - 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-281-30/+18
|
* • added 'spfs' as allowed extension for open panelBibiko2010-06-271-2/+4
| | | | • avoid adding of in bundle saved spf files to recent files
* • further progress for open/save sessionBibiko2010-06-251-34/+56
| | | | | | - 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-251-0/+9
| | | | | - remember window position - remember save accessory view settings in spfs file
* Minor interface tweaks.stuconnolly2010-06-251-1/+1
|
* • 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-241-1/+1
| | | | | | fine-tuning comes soon) • added constant "SPBundleFileExtension"
* • replaced @"sql" and @"spf" by their SPConstant definitionsBibiko2010-06-241-19/+65
| | | | | | | • 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-241-28/+103
| | | | | | | 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-211-5/+71
| | | | | | | | (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
* • simplified and unified tab tooltipsBibiko2010-06-181-0/+31
| | | | • 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
* • if a text string is dragged on tab this tab will be selected and the ↵Bibiko2010-06-171-0/+8
| | | | corresponding db doc switches to Custom Query editor to be able eg to drag a query from one tab to another one
* - Convert connection encoding menus to be menu tag based to fix ↵rowanbeentje2010-06-141-57/+87
| | | | | | | | | | 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-141-0/+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.
* Improvements to tab dragging and switching:rowanbeentje2010-06-131-0/+2
| | | | | | | | | - 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
* - Tweak initial window load to select the correct favourite, also applying ↵rowanbeentje2010-06-051-0/+6
| | | | focus correctly
* - Improve progress indicator thread safety, improving stability and fixing ↵rowanbeentje2010-06-051-5/+12
| | | | issues like http://spbug.com/l/334
* - Ensure start/end query notifications are sent on the main thread to avoid ↵rowanbeentje2010-06-011-2/+2
| | | | | | | the interface being updated from the wrong thread on listeners - Add a "Support Files" folder to MCPKit, containing NSNotificationAdditions to support main thread notifications from within MCPKit
* Changed the SPUserManager instance to an allocated instance when the ↵mltownsend2010-05-281-2/+13
| | | | SPUserManager is selected. SPUserManager is released when the user his cancel or apply. This forces the UI to refresh itself.
* Rename TableDocument to SPDatabaseDocument.stuconnolly2010-05-281-0/+4496