aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPTableView.m
Commit message (Collapse)AuthorAgeFilesLines
* Bring outline view branch up to date with trunk (r3203:r3224).stuconnolly2011-03-071-0/+1
|
* Remove old favorites constant.stuconnolly2010-12-191-1/+1
|
* Beforing asking SPTableView's delegate if we can right-click a particular ↵stuconnolly2010-11-011-1/+6
| | | | row, remember to check that the delegate actually implements the method we are using. Fixes an issue when right-clicking an index in the table structure view, spotted by Hans.
* - Split out all of SPExportController's delegate methods to their own category.stuconnolly2010-10-241-1/+0
| | | | | | | | - Prepare for the implementation of PDF and HTML export by hiding the export options box for export types that don't need it. - Fix some spacing issues on the export dialog. - Create a new SPCategoryAdditions header that is included in the apps precompiled header, making all additions available to all classes. - Update strings files.
* Considering nearly every class uses constants, import it via the prefix header.stuconnolly2010-10-191-1/+0
|
* Fix an exception caused by the changes introduced in r2764.stuconnolly2010-10-161-2/+3
|
* Change the connection view's table view to be of type SPTableView so ↵stuconnolly2010-10-151-38/+44
| | | | right-clicking a row results in it being selected first. Also, update SPTableView to prevent right-clicking of table view group headings. Fixes issue #867.
* - Consolidate structure and content row editing cancellation code into a ↵rowanbeentje2010-09-161-1/+7
| | | | | | | | | | single function in each class - Tweak NSTableView subclasses to catch presses of the Escape key and ask the class to abort row editing. This makes Esc key behaviour much more consistent, and allows cancelling/reverting edits made via the mouse (eg checkboxes, dropdowns, enums), or after the cell editing has finished but the row is still selected. - Remove debug - Update localisable strings
* • further improvements for CSV import into new tableBibiko2010-09-031-1/+9
| | | | | | | | | - fixed some RETURN/ENTER logic while editing a table cell - added context menu to table for: -- 'Set all Field Types to:' which sets all types to the current selected one ⌘= -- 'Add Column to Table Target' (not yet implemented) - some minor code issues - added Info button which will come up with a GUI for setting new table encoding and engine (not yet implemented)
* • further progress for CSV import into new tableBibiko2010-09-031-4/+10
| | | | | | - added some GUI validations - in new table mode changed 'type' column into self-learning NSComboBoxCells - fixed issue for closing sheet if user press RETURN, only close it if 'Import' button is enable
* • finished the first implementation of CSV Import into new tableBibiko2010-09-031-0/+10
| | | | note:What else is needed for such an import? table encoding settings? ... has to be discussed
* Rename CustomQuery as SPCustomQuery.stuconnolly2010-07-061-1/+1
|
* Rename TableDocument to SPDatabaseDocument.stuconnolly2010-05-281-3/+3
|
* Rename TablesList to SPTablesList.stuconnolly2010-05-271-2/+2
|
* Initial implementation of tabs:rowanbeentje2010-05-231-4/+8
| | | | | | | | - Addition of PSMTabBar framework - Rework away from a document-based TableDocument - Support tabs throughout the application - Add menu items for creating tabs, and add support for dragging tabs to different windows
* - Ensure any table changes are applied before switching tables as a result ↵rowanbeentje2010-05-191-0/+5
| | | | of a right-click. This should address much of Issue #691, and a number of crashes logged since 0.9.8
* - Fix exceptions when right-clicking on the query favourites list. This ↵rowanbeentje2010-04-201-1/+2
| | | | addresses http://spbug.com/l/133 .
* • CMTextView's colours are set via observer, live changed in editable ↵Bibiko2010-01-301-0/+11
| | | | | | | | textviews • added Preference setting "Table font" in "Table" pane to set the table font/size for all result tables (Content, Custom Query) • added to SPTableView the method setFont: • fixed the initialisation of vars in CMTextView (fixes the displaying of create syntax)
* • If TableDocument is performing a task suppress any context menu in ↵Bibiko2010-01-121-0/+6
| | | | SPTableViews to prevent unstable circumstances
* - Upgrade Sequel Pro to be compiled as a 3-way PPC/i386/x86_64 binary for ↵rowanbeentje2010-01-091-2/+2
| | | | | | | release builds, including a large number of 64bit compatibility upgrades and tweaks - Upgrade RegexKitLite to 3.3
* - When performing threaded data loads, no longer disable the tables and ↵rowanbeentje2009-10-271-0/+6
| | | | instead prevent selection/editing/sorting in code; this prevents the tableviews from going grey during the load and minimises flicker and loss of focussed elements.
* Replace the use of hard coded preference keys with constants to prevent ↵stuconnolly2009-10-171-1/+2
| | | | issues such as the one fixed in revision 1419. All future preference usage should be done so using these constants.
* • further progress on the Content Filter EditorBibiko2009-09-301-0/+4
| | | | | • fixed issue for "Add" a new favorite in SPQueryFavoriteManager: - save pending changes in the query textView in beforehand
* • updated SPQueryFavoriteManager to mange document-based and global query ↵Bibiko2009-09-071-1/+1
| | | | | | | favorites • disabled "Select Active Query" in CMTextView if shown in the favorite manager • code cleaning and simplifications
* - Replaces uses of the deprecated selectRow:byExtendingSelection: with ↵rowanbeentje2009-09-021-1/+1
| | | | selectRowIndexes:byExtendingSelection:
* • fixes for Query Favorite Manager:Bibiko2009-09-011-0/+5
| | | | | | - renamed "Save" button to "Apply Changes" to make it clear what will be done by clicking at it - suppress context menu and selection while right-clicking at a header - while in cell editing ESC will abort the editing (not close the sheet)
* • improved Query Favorite ManagerBibiko2009-08-281-2/+3
| | | | | | | | | | | | - tableView is now a SPTableView for right-click selects item first - corrected tooltips for all buttons and menu items - added short-cut ⌘D for duplicate, ⌫ for remove, and ⌥⎋ for gear menu (which could be the standard for all gear menus?) - remove selected favorite(s) asks the user first - added chance to select and remove more than one favorite - added chance to export selected favorites as SPF file The file structure (format 'query favorites') goes conform with the SPF 'connection' format. To be discussed: Should we add a separate Import Favorites menu or should we do that via the general "Open…" menu item since the SPF format tells SP what to do with that file?
* Fixed keyDown editing of SPTableView and CMCopyTablemltownsend2009-08-281-0/+15
|
* • improvement for hitting RETURN or ENTER to invoke the row edit modeBibiko2009-08-271-11/+0
| | | | | | - fixed that the table is selectable again - hitting ENTER/RETURN are enabled only for TableContent and ask the delegate's tableView:shouldEditTableColumn: method for validation (by doing so a RETURN/ENTER is the same event as a double-click into a table cell for column 0 if table is in non-editing mode)
* Made it so that SPTableView and SPOutlineView will respond to enter or ↵mltownsend2009-08-251-0/+16
| | | | return being hit when a row is selected and go into edit mode.
* • bug fix for issue 363: suppress selecting a table header in TablesList ↵Bibiko2009-08-121-0/+8
| | | | by right-click and context menu
* Source tidy up and missing SVN properties.stuconnolly2009-08-071-1/+1
|
* Merge framework integration branch back to trunk. Summary of changes:stuconnolly2009-07-211-1/+0
| | | | | | | | | | | | | | | - 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.
* • a right-click at a row within a tableView will select that row before ↵Bibiko2009-07-151-0/+50
ordering out the contextual menu if not more than one row is selected