aboutsummaryrefslogtreecommitdiffstats
path: root/Interfaces
Commit message (Collapse)AuthorAgeFilesLines
* - Change MCPStreamingResult to use a safer streaming mode by default - ↵rowanbeentje2009-08-201-22/+108
| | | | | | | download all results as fast as possible from the server, to avoid blocking, but do so in a background thread to allow results processing to start as soon as data is available. Many thanks to Hans-Jörg Bibiko for assistance with this. - Add an option to the SQL export dialog to allow selection of the full-streaming method, with a warning that it may block table UPDATES/INSERTS.
* - The add, rename and copy table sheets should not block the main thread ↵stuconnolly2009-08-181-24/+34
| | | | | | | | (part of issue #357). - Improve the consistency of destructive confirmation dialogs by making the remove field and index dialogs default button 'Cancel' with a key equivalent of return. - Disable the remove field button when the currently selected table only has one field, removing the need for the extra check (and subsequent dialog) when the user attempts to remove a field.
* User manager tweaks:rowanbeentje2009-08-151-30/+83
| | | | | | | - Don't select the mysql database - make selections directly from the table where appropriate - Tweak REVOKE syntax to use FROM instead of TO - Rename "create temporary table" permission to "create temporary tables" so it saves correctly
* • added to the SPFieldEditorController's text editor view its own ↵Bibiko2009-08-141-1/+1
| | | | | | | | | undoManager which runs in the same modal run loop - RETURN or a ' ' forms a undo group - undo groups will be formed after 5 run loops (to form longer block while writing quickly) Note: Has to be tested and fine-tuned if necessary
* Change SPUserManager to a subclass of NSWindowController which actually ↵mltownsend2009-08-131-6/+6
| | | | fixed some memory issues.
* Added "New Connection" to dock menu.avenjamin2009-08-131-5/+53
|
* - Rework TableContent row count fetching, loading it in the correct ↵rowanbeentje2009-08-131-17/+36
| | | | | | | | locations, and correcting the logic for fetching the count of rows so that the query is not used where not necessary. - Update the Table Info pane and tab with a new row count if one is known - this addresses Issue #141 - This reverts r1090, and so needs to be discussed with stuart02 - the rest of the row logic changes may have fixed the 'larger issue' described there?
* Fix problem with opening and reopening connectionsmltownsend2009-08-111-1/+9
|
* • bug quick-fixBibiko2009-08-111-27/+27
| | | | | | - the new menu item "Tools" was inserted in between "Database" and "Table"; this cause some assertion errors since we change the menu "Table" according to the settings of TableList TODO The identification inside the MainMenu should be done via using Tags instead of counting!
* Stupid Interface Builder and menusmltownsend2009-08-111-3/+3
|
* User Manager featuremltownsend2009-08-112-2/+3859
|
* • in Table Content the button status of "edit spreadsheet or sheet-like" ↵Bibiko2009-08-112-57/+35
| | | | | | | | | will be saved in the Prefs • font settings in the Field Editor Sheet will be saved in the Prefs • improved max text length checking while using other InputManager (eg Japanese etc.) - still a bit under construction Note: each Beep() wil be replaced by a tooltip soon.
* • added field name to Field Editor SheetBibiko2009-08-081-23/+169
| | | | | | - initial support (not yet finished) Note: maybe add information about field type, max length as attributed string
* Rename MainController to SPAppController.stuconnolly2009-08-081-37/+28
|
* Rename print accessory XIB.stuconnolly2009-08-071-0/+0
|
* - Fix "Add to favorites" behaviour when the user has no favourites (This ↵rowanbeentje2009-08-071-2/+2
| | | | | | | addresses Issue #354) - Improve favorites saving including names with anonymous users
* Re-order the view menu items to match that of the default toolbar items. ↵stuconnolly2009-08-071-9/+11
| | | | Fixes issue #359.
* - Fix a memory leak when filtering the server variablesstuconnolly2009-08-071-7/+63
| | | | | | - Fix a memory leak in MCPResult.m's stringFromCString: - Display the number of server variables being display when a filter is being applied
* - Fixed dimensions of Content Tableavenjamin2009-08-071-206/+127
| | | | - Added Copy, Copy with Column Names, Copy as SQL Insert to Content Table contextual menu.
* New export menu item should be hidden.stuconnolly2009-08-061-1/+2
|
* New shortcuts:stuconnolly2009-08-061-273/+162
| | | | | | | - Shift+Cmd+A to add the current connection to your favourites if it doesn't already exist - Shift+Cmd+I to invoke importing - Shift+Cmd+S to display the create table syntax panel
* • enabled "Open" menu item to open SQL filesBibiko2009-08-061-8/+7
| | | | | - lastSqlFileEncoding will be stored in the Preference.plist - to open SPF files not yet supported
* • added encoding popup list as accessory view for Open spf or sql filesBibiko2009-08-062-12/+219
| | | | | - renamed menu item to Open - if sql file is selected encoding popup list is enabled otherwise not since spf will be encoded in UTF-8
* • initial support for open/save connection files (*.spf)Bibiko2009-08-041-3/+59
| | | | | | | | | - Open/Save menu items are hidden • initial support for drag&drop files *.spf and *.sql to SP's icon or double-click at *.sql or *.spf files in Finder - SP starts if not already running - sql files will be executed in the Custom Query if at least one connection is open - spf files not yet supported -
* • changed keyboard navigationBibiko2009-08-041-13/+197
| | | | | - set focus to Table List filter field after selecting a database - TAB key in Table List filter field sets focus to Table List for selection/navigation
* - Add a placeholder hint in the SSH password field to indicate public keys ↵rowanbeentje2009-08-041-27/+43
| | | | are used if available
* • add Menu Item "Insert NULL value" SHIFT+CTRL+NBibiko2009-08-031-4/+213
| | | | | | | - it inserts the value set in the preferences • a NULL value will be displayed greyed in the Custom Query result • make usage of NSArrayObjectAtIndex() in TableContent for tableView:willDisplayCell - and negated the NULL checking for column (is NULL allowed)
* - Implement live filtering of the server variables table viewstuconnolly2009-08-031-10/+134
| | | | | | - Update the save variables button to save the current filtered variables if necessary - Remove old/unused NSSplitView code
* In the field editor sheet:stuconnolly2009-08-031-19/+141
| | | | | | - Make some of the QuickLook format menuitem name's uppercase. - Run both the save and open panels as sheets to prevent blocking the entire app.
* - Upgrade version string to 0.9.6rowanbeentje2009-08-021-1/+1
|
* - Add a tooltip to the table information pane toggle buttonrowanbeentje2009-08-021-16/+8
| | | | | | | - Change the "[Show/Hide] Console" button in the toolbar to a "Console" button, which shows or brings the console window to the front - Update the default toolbar state to reflect recent additions - Reset everyone's toolbars to ensure that normal users will have the new icons available and visible
* - Fix an errant NSLog in TableSourcerowanbeentje2009-08-011-18/+24
| | | | | | - Improve and make consistent state saving in TableContent; now saves filters and scroll position mor reliably on refresh/edit, and supports remembering and restoring which rows were selected - Significantly improve table history - only create entries for tables switches or filters, only remember 50 items, and save view/filters/scroll position/selections in table content view
* Put the table content filter in a split view so the field name drop down and ↵stuconnolly2009-08-011-293/+374
| | | | search field can be resized. Addresses issue #339.
* Update the properties of the record count textfield on the CSV mapping ↵stuconnolly2009-07-311-10/+21
| | | | import sheet so it correctly resizes and truncates as appropriate.
* • Favorite Preferences - Favorite name issues fixed:Bibiko2009-07-311-29/+209
| | | | | | | - Trap and control the 'name' field of the new added favorite. If the user pressed 'Add Favorite' the 'name' field is set to "New Favorite". If the user do not change the 'name' field or the user deletes the field content it will be set to user@host automatically. This also fixes the issue for empty names. - focus is set to 'Host' field after "Add Favorite" - focus is set to 'Name' field after "Duplicate Favorite"
* Decrease the size of the software update frequency popup button in the ↵stuconnolly2009-07-311-12/+13
| | | | preferences.
* - Hide advanced query logging options for the time being as they are still ↵rowanbeentje2009-07-311-38/+55
| | | | non-functional
* - Update the 'this table does not support relations' to be a little more ↵stuconnolly2009-07-301-26/+24
| | | | | | | informative. - Increase the size of the table selection NSPopupButton on the CSV import field mapping panel.
* - Add an initial barebones version of the history controller, with a basic ↵rowanbeentje2009-07-301-27/+164
| | | | toolbar item to navigate backwards and forwards. TBC!
* - Added Splitview delegate method to hide the drag handle on the Table Info ↵avenjamin2009-07-291-5/+13
| | | | pane and Filter view.
* Improve TablesList significantly:rowanbeentje2009-07-281-282/+490
| | | | | | | | - If there are twenty or more tables, show a table quicksearch/filter at the top of the list, and update the rest of the code to match. This addresses issue #178. - Select tables and views alphabetically by user's current locale (instead of default MySQL "A B C a b c") - When adding or duplicating tables, insert them at the correct point - Fix a number of minor display bugs caused by incorrect interaction with the tables list caches
* - Add keyboard shortcuts for Add and Delete buttons in Table Relations panerowanbeentje2009-07-261-160/+81
| | | | | | | | - Remove hidden, non-implemented menu in create table relation add dialog to improve tabbing through fields in the popup - Add cancel shortcut in the table relation add dialog - Prevent table relations table cells from being edited, as edit support isn't present yet - clean up tooltips to fix references to Indexes
* - Tweak table information panel to show scrollbars if it's resized to a ↵rowanbeentje2009-07-262-25/+105
| | | | | | | | position that would hide content - Store collapse state of table information panel in preferences - Apply a double fix for BWSplitView/NSSplitView+BWAnchoredButtonBar not informing delegates of resizes - correctly inform original BWSplitView delegates of resizes, and allow BWAnchoredButtonBar registered delegates to recieve the original split view resize notifications. This fixes database menu resizing in synch with splitview resizing for improved/consistent look and feel.
* - For custom query result columns which map to SQL fields, check the column ↵rowanbeentje2009-07-241-184/+45
| | | | | | | width memory to set column widths - Save custom query result columns back to the master column width store for columns witch map to SQL fields
* Merge framework integration branch back to trunk. Summary of changes:stuconnolly2009-07-211-23/+91
| | | | | | | | | | | | | | | - Includes all custom code from subclasses CMMCPConnection and CMMCPResult, meaning they have subsequently been removed from the project. - All previous Sequel Pro specific code in the above subclasses has been removed in favour of the delegate (currently set to TableDocumet) informing the framework of such information. - All references to CMMCPConnection and CMMCPResult have subsequently been changed to MCPConnection and MCPResult. - Framework includes MySQL 5.1.36 client libraries and source headers. - Framework is now built as a 4-way (32/64 bit, i386/PPC arch) binary. - All import references to <MCPKit_bundled/MCPKit_bundled.h> have been changed to <MCPKit/MCPKit.h>. - New script 'build-mysql-client.sh' can be used to build the MySQL client libraries from the MySQL source. See the script's header for a list of available options or run it with no arguments to display it's usage. Note that there are still a few changes to be made to the framework with regard to removing Sequel Pro specific calls to the delegate. These however can be made later on as they have no effect on functionality and are merely design changes. Also, note that any future development done on the framework should be made to be as 'generic' as possible, with no Sequel Pro specific references. This should allow the framework to be integrated into another project without the need for SP specific code.
* • fixed: FieldEditorSheet remembers the last sheet size for 'normal' text ↵Bibiko2009-07-181-3/+1
| | | | fields and blob data field variably
* Update copyright year.stuconnolly2009-07-181-2/+1
|
* • changed in Custom Query:Bibiko2009-07-171-1/+5
| | | | | - make usage of SPFieldEditor for displaying result data field (incl. blob data) - set to non-editable yet
* • Field Editor Sheet classBibiko2009-07-171-5/+39
| | | | | | - added the feature to set "isEditable"; according to "isEditable" GUI elements will be hidden or renamed - if no blob data reduce the minimal sheet size since no segment or quicklook control is needed
* • applied the new class SPFieldEditorController to TableContentBibiko2009-07-172-1253/+38
| | | | • deleted in DBVview.xib Field Editor Sheet (out-sourced)