aboutsummaryrefslogtreecommitdiffstats
path: root/Source
Commit message (Collapse)AuthorAgeFilesLines
* 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
* - Alter the behaviour of the return key in structure view, making it ↵rowanbeentje2010-06-121-6/+16
| | | | consistent with the Content view and triggering a row save
* - Update the nib localisation postprocessor to output strings files in the ↵rowanbeentje2010-06-121-1/+1
| | | | | | | original format they were read using - Convert the .strings files to UTF16
* - Implement the Wil shipley/Golden % Braeburn localisation method for ↵rowanbeentje2010-06-122-0/+279
| | | | | | | | .xibs; add a build stage to Release/Dist builds which generates .strings files for each nib, and swizzle nib loading to automatically translate strings based on any localised .strings files - Fix the genstring stage of the build script and move it to Release/Dist builds only - Update Localizable.strings to match latest code
* • avoid exception for showing tooltip if tab will be closed by checking ↵Bibiko2010-06-121-1/+6
| | | | tab index against number of tabs
* • added tooltip for tab view titlesBibiko2010-06-121-1/+43
| | | | | - for selected tab view item show tooltip only if title is truncated - for unselected tab view items show the full display title as tooltip
* • Select Next/Previous Tab now cycles through available tabs if it's ↵Bibiko2010-06-111-13/+14
| | | | called for the last/first tab
* • add to Main Menu > View > :Bibiko2010-06-112-0/+45
| | | | | | | | - Select Next Tab ^⇥ - Select Previous ^⇧⇥ and menu validation to be able to navigate through available tabs by using the keyboard.
* Exporter fixes:stuconnolly2010-06-102-10/+10
| | | | | | | - Correctly disable exporting custom query results as SQL and enable for all other formats. - Fix CSV exports when exporting from a source other than the selected tables. - Correctly export custom query results instead of all tables as a result of a missing IB connection.
* Exporter enhancements, including:stuconnolly2010-06-095-116/+221
| | | | | | | | - Move the custom filename options view to a drop down view on the main exporter dialog. - Change the export data source matrix to a popup button. - Fix the export button being enabled when no tables are selected to be exported. - Various interface validation fixes.
* - Fix incorrect non-reset after structure editing which results in an ↵rowanbeentje2010-06-091-2/+10
| | | | unchanged row, resulting in subsequent editing errors and exceptions in addRowToDb
* When cancelling an export remove all files already written to disk.stuconnolly2010-06-074-8/+40
|
* A number of exporter improvements:rowanbeentje2010-06-077-137/+144
| | | | | | | | | | | | - Improve interface validation on the SQL view, including fixing no-content toggling - Fix the export of views to correctly construct placeholder tables and fix view syntax export (this addresses Issue #707) - Fix logic controlling Stored Procedure and Function export - fix hangs and allow correct export - Handle permission errors when retrieving Stored Pro/Function syntax - Improve export of linebreaks in CSV quoted cells for improved Excel compatibility - SQL export now retrieves table syntax as it progresses through the tables - more accurate progress bar and removes initial pause when exporting lots of tables - Alter filename construction to use centralised filename string: fixes end export Growl notification - Improve dump comments
* On the XML export dialog add the option to specify the placeholder of ↵stuconnolly2010-06-065-6/+28
| | | | exported NULL values. Fixes issue #718.
* - Exporter: SQL select/deselect all will now toggle structure/drop table if ↵rowanbeentje2010-06-062-2/+26
| | | | | | | | those are enabled - Exporter: SQL export now correctly excludes structure/drop table if the global structure/drop toggles are disabled - Exporter: Save exporter window size
* - Tweak initial window load to select the correct favourite, also applying ↵rowanbeentje2010-06-052-3/+9
| | | | focus correctly
* - Improve progress indicator thread safety, improving stability and fixing ↵rowanbeentje2010-06-053-5/+17
| | | | issues like http://spbug.com/l/334
* - Ensure SPTableInfo reloads occur on the main thread, fixing a number of ↵rowanbeentje2010-06-052-5/+11
| | | | logged exceptions for beyond-bound index accesses
* Update the translation feedback URL to point to the new feedback page. The ↵stuconnolly2010-06-041-1/+1
| | | | menuitem should be enabled when we actually start including localisations.
* Fix for array index issues when deleting users, sometimes.mltownsend2010-06-021-3/+5
|