aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPCustomQuery.h
Commit message (Collapse)AuthorAgeFilesLines
* merging SP_REFACTOR branch with trunksqlprodev2011-05-191-2/+11
|
* - Fix a number of warnings for DBView.xib by moving some 10.6-only code ↵rowanbeentje2011-05-081-4/+3
| | | | | | | 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-0/+22
| | | | UI code from functional code
* Fix more compiler warnings, including a few bugsrowanbeentje2011-03-071-0/+1
|
* - Fix more compiler warningsrowanbeentje2011-03-041-1/+4
|
* • fixed issue to highlight the correct current query after undoing, i.e. ↵Bibiko2011-01-141-0/+3
| | | | | | | do not using the cache • added SP_SELECTED_TEXT_RANGE shell variable for Bundle support of scope Input Text • added 'insertText', 'setText', 'setSelectedTextRange' JavaScript functions to window.system bridge
* • fixed several issues for validation and other stuff while editing of ↵Bibiko2011-01-111-1/+1
| | | | MySQL data tables if user re-ordered columns
* • 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
* - Show and hide the custom query info area based on whether custom query ↵rowanbeentje2010-12-041-0/+2
| | | | | | | | | | errors occurred, starting off hidden - Add "errors"/"no errors" prefix to the custom query status area - Add an import cancelled line to the import error list when stopping imports after errors - Fix custom query error highlighting by scrolling to the error - Update localisable strings
* • started to implement auto-completion for aliasesBibiko2010-11-041-1/+1
| | | | | - first sketch should work for 90% of all cases - fine-tuning will follow soon - this follows issue 880
* • convert the Field Editor Sheet into a document-modal sheet, i.e. now the ↵Bibiko2010-10-291-1/+5
| | | | | | | | 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-2/+0
|
* • further improvements for in cell editing in CustomQuery tablesBibiko2010-08-271-2/+3
| | | | | | | | - 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 • for TableContent fixed tooltip display - note: improvements as for CustomQuery follow soon
* • removed onMainThread for [Content/CustomTable makeFirstResponder] to ↵Bibiko2010-08-261-0/+5
| | | | | | | | | 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
* • outsourced control:textView:doCommandBySelector: stuff to SPCopyTable ↵Bibiko2010-08-241-3/+4
| | | | | | | | | | since we need that for Content and Custom Query table; only class specific stuff like ESC trapping will handled in the actual class • enabled in cell editing for Custom Query tables - also added spreadsheet button to Custom Query status bar • fixed ESC trapping: F5 can be used for completion • simplified [SPCopyTable keyDown:] for trapping ENTER/RETURN key • some code cosmetics
* • added context menu for Copy, Copy with Header, Copy as SQL Insert to ↵Bibiko2010-08-241-1/+1
| | | | Custom Query table
* • added SPBeginWaitingAlertSheet() routine which offers the chance to ↵Bibiko2010-08-191-0/+1
| | | | | | display an alert sheet which waits for the change in the didEndSelector method of a passed class NSInteger variable • applied the SPBeginWaitingAlertSheet routine to Pref > Editor's check for unsaved color themes and in SPCustomQuery's sheet about Stop/Continue/Run All if a query failed after executing "Run All"
* Rename CMCopyTable to SPCopyTable.stuconnolly2010-08-191-2/+2
|
* - Apply column autosizing improvements to custom query loadingrowanbeentje2010-08-161-0/+9
| | | | | | | | - 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)
* Rename CustomQuery as SPCustomQuery.stuconnolly2010-07-061-0/+236