aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPTableContent.h
Commit message (Collapse)AuthorAgeFilesLines
* - Fix a number of warnings for DBView.xib by moving some 10.6-only code ↵rowanbeentje2011-05-081-3/+2
| | | | | | | from a #ifndef SP_REFACTOR/#else/#endif to just a #ifdef SP_REFACTOR/<protocol declaration>/#endif, and remarking a few items as IBOutlets - Update localisable strings
* SP_REFACTOR: Workaround for naming conflict with ↵sqlprodev2011-04-141-2/+0
| | | | postNotificationOnMainThread: which also exists in TCMPortMapper.framework; NSUserDefaults access now permitted in SP_REFACTOR blocks for a few prefs keys
* initial commit of SP_REFACTOR ifdefs, the start of a long quest to separate ↵sqlprodev2011-04-111-2/+16
| | | | UI code from functional code
* Fix more compiler warnings, including a few bugsrowanbeentje2011-03-071-2/+5
|
* - Fix more compiler warningsrowanbeentje2011-03-041-2/+2
|
* • fixed minor issue for filterTable approach in ContentBibiko2011-01-241-0/+2
| | | | - prepared some stuff for table state history
* • fixed several issues for validation and other stuff while editing of ↵Bibiko2011-01-111-1/+1
| | | | MySQL data tables if user re-ordered columns
* - When saving rows in the table content view, only include those fields ↵rowanbeentje2010-12-131-1/+1
| | | | | | | | which have altered values in the UPDATE query, improving speed and reducing the chance of issues when copying queries or altering rapidly changing tables. This addresses Issue #527; thanks to Tobias Mollstam for contributing a patch which prompted this update. - Rename SPTableContent's "addRowToDB" to "saveRowToTable" for clarity, and clean up the code for speed and clarity - Correctly save numeric fields as NULL if the value is blanked
* • Bundle command supportBibiko2010-12-071-0/+1
| | | | | - fixed issue for commands without assigning a key equivalent - output table meta data about type, type grouping, length, auto_inc, PRI key etc. for Data Table scope commands and sequelpro url scheme command ExecuteQuery
* • sequelpro url scheme supportBibiko2010-11-221-1/+2
| | | | | | | • added commands: SelectDocumentView, ReloadContentTableWithWHEREClause • fixed typos • tried to queue incoming commands
* • Custom and Content table in-cell editingBibiko2010-10-301-0/+6
| | | | - a possible given selection done inside the edited cell will be passed to the field editor sheet for convenience since one often forgets that the field editor sheet mode is active
* • convert the Field Editor Sheet into a document-modal sheet, i.e. now the ↵Bibiko2010-10-291-1/+3
| | | | | | | | sheet doesn't block the entire app - fixed various layout issues - fixed some tiny memory leaks • fixed tiny memory leak in MCPStreamingResult
* Tidy up.stuconnolly2010-10-191-1/+0
|
* • some further work on Filter TableBibiko2010-10-011-0/+1
|
* • some very minor code, commenting, and tiny speed improvement stuffBibiko2010-09-301-0/+3
|
* • Filter TableBibiko2010-09-291-1/+1
| | | | | - minor GUI improvements - try to fix issue 1654
* • Filter Table - Set Default OperatorBibiko2010-09-291-1/+5
| | | | - added the chance to define the unmarked default operator
* • Filter TableBibiko2010-09-291-3/+3
| | | | | | | - added "Search while Typing" - added some keyboard short-cuts - fixed some minor issues - Filter Table is now a normal NSWindow
* • enabled Filter Table approach (Content View > ⌘F) for testingBibiko2010-09-281-1/+2
|
* • some progress on the filter table approachBibiko2010-09-281-1/+14
|
* • some progress on the filter table approachBibiko2010-09-271-1/+1
|
* • initial sketch approach to allow to write complex WHERE clauses by ↵Bibiko2010-09-271-2/+16
| | | | | | using a table approach - not yet activated
* - Fix incomplete argument logic when deleting multiple rows without indexes ↵rowanbeentje2010-09-051-0/+1
| | | | | | | | (now rolled into argumentForRow: for centralised logic), addressing Issue #791 - Update table row count at bottom of window when deleting rows in the content view - Update localisable strings
* • further improvements for in cell editing of view data in TableContent tablesBibiko2010-08-271-2/+2
| | | | | | | - simplified code - reduced number of queries for edit status - WHERE argument to identify first try to avoid using blob data for speed, if field is not identified with ignoring blob data then use blob data as well
* • removed onMainThread for [Content/CustomTable makeFirstResponder] to ↵Bibiko2010-08-261-0/+4
| | | | | | | | | avoid the trampoline exceptions • unified error message while cell editing • in Custom Query table cell editing errors are displayed as tooltips and added these message if edit event comes from the keyboard • fixed: check edit status in Content Tables only for views to avoid unnecessary queries • used [SPCustomQuery fieldEditStatusForRow:andColumn:] consequently to simplify code
* • first preparations to allow in cell editing in Custom Query (not yet ↵Bibiko2010-08-221-0/+3
| | | | | | | | | | active) • view data editing - disable add/duplicate/remove row for views - first improvements for editing navigation via keyboard - after editing avoid relaodTable instead use loadTableValues - outsourced: (NSInteger)fieldEditStatusForRow:andColumn: since it will be used for keyboard editing navigation
* • implemented the editing of views in Content WindowBibiko2010-08-211-0/+5
| | | | | | - the editing is field based as for Custom Query editing - shouldEditRow checks if the clicked field can be identified unambiguously - CAUTION: This must be tested heavily before releasing!! Esp. any kind of threading issues and progress spinner stuff for slower connections
* Rename CMCopyTable to SPCopyTable.stuconnolly2010-08-191-2/+2
|
* - Apply column autosizing improvements to custom query loadingrowanbeentje2010-08-161-1/+1
| | | | | | | | - Move Table Content progress tracking onto the main thread's load timer - Improve thread safety when autosizing - Improve autosize to not contrain wide columns as much in tables where all columns can be shown, or if the column is double-clicked to size. (This completes work on Issue #271 and Issue #272)
* Implement column autosizing for the Content View:rowanbeentje2010-08-121-0/+7
| | | | | | | | - Add automatic column sizing (for columns without saved widths) as part of the value loading process - Rework table updates to be timer based, for time-based and more regular updates. This improves speed and allows tables to update more consistently. This results in overall smoother table loads, faster table loads, and autosizing columns. This partially implements Issues #271 and #272. Column autosizing will likely be tweaked, and this will all also be extended to Custom Query views in a future patch.
* • save window's vertical divider position in spf files in order to be able ↵Bibiko2010-06-291-0/+1
| | | | | | | | | 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
* Rename TableDocument to SPDatabaseDocument.stuconnolly2010-05-281-1/+1
|
* Rename TableContent to SPTableContent.stuconnolly2010-05-281-0/+173