aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPFieldEditorController.m
Commit message (Collapse)AuthorAgeFilesLines
* • SPFieldEditorSheetBibiko2009-08-271-2/+2
| | | | | | - ESC and ENTER will close a non-editable sheet * SPTooltip - first check if tooltip should be closed and then forward the current event (this fixes an issue if a tooltip is shown while a modal window appears which could block the closing of the tooltip
* • fixed in FieldEditorSheet:Bibiko2009-08-201-0/+4
| | | | - ensure that all changes made in editTextView are returned (eg for the case one enters as last character a 'ü' which was typed via ⌥uu and presses OK - the last typed u was ignored)
* • further improvement to SPFieldEditor's undo managerBibiko2009-08-141-23/+31
| | | | - try to trap the speed of typing better to create larger undo groups
* • minor changes to SPTooltipBibiko2009-08-141-22/+31
| | | | • some work on the SPFieldEditor's undo manager (has to be continued)
* • added to the SPFieldEditorController's text editor view its own ↵Bibiko2009-08-141-5/+56
| | | | | | | | | 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
* • SPFieldEditor sheet now runs in a NSModalSession run loop to allow the ↵Bibiko2009-08-121-14/+32
| | | | | | | | | | | execution of code in NSDefaultRunLoopMode (including showing Tooltips) - improved max text length checking while inserting a text chunk if a selection is given (now it truncates it correctly) - instead of using NSBeep() while text length checking a Tooltip will be shown • fine-tuned SPTooltip: • max text validation in TableContent (cell editing) shows now a tooltip if text too long Note: Tooltip messages are tentative so far
* • in Table Content the button status of "edit spreadsheet or sheet-like" ↵Bibiko2009-08-111-16/+55
| | | | | | | | | 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 to Custom Query table editing max text length validationBibiko2009-08-101-2/+12
| | | | | • SPFieldEditorController: - improved textViewDidChangeSelection: to eg saves to correct rendered glyph after inserting a non-base char + base char if this combination was typed as last glyph before pressing the OK button (otherwise foo¨ will be saved instead of fooü)
* • added to the FieldEditorSheet a max text length validationBibiko2009-08-101-1/+47
| | | | | | • added the max text length validation for the TableContent while editing in the FieldEditorSheet • reinvoked the validation of the max text length for TableContent editing while editing in a cell • fixed in TableContent: prevent the editing of data cells in gray if the cell displays the gray NULL value
* • added field name to Field Editor SheetBibiko2009-08-081-1/+2
| | | | | | - initial support (not yet finished) Note: maybe add information about field type, max length as attributed string
* Rename MainController to SPAppController.stuconnolly2009-08-081-1/+1
|
* • corrected SVN propertiesBibiko2009-08-061-1/+1
|
* In addition to fn+return give the OK button in the content edit sheet the ↵stuconnolly2009-08-051-2/+3
| | | | key equivalent cmd+return. Implements #321.
* In the field editor sheet:stuconnolly2009-08-031-68/+87
| | | | | | - 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.
* 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.
* • changed in Custom Query:Bibiko2009-07-171-6/+7
| | | | | - make usage of SPFieldEditor for displaying result data field (incl. blob data) - set to non-editable yet
* • Field Editor Sheet classBibiko2009-07-171-2/+22
| | | | | | - 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
* • fixed: caching of QuickLook preview in Field Editor sheet is suppressed ↵Bibiko2009-07-171-17/+25
| | | | by alternating the temporary file name
* • fixed inField Editor Sheet:Bibiko2009-07-171-2/+6
| | | | - if textView was changed update hexView (if demanded) according to the correct data type
* • applied the new class SPFieldEditorController to TableContentBibiko2009-07-171-41/+61
| | | | • deleted in DBVview.xib Field Editor Sheet (out-sourced)
* • some further progress on outsourcing the Field Editor sheet for Content ↵Bibiko2009-07-161-0/+569
and Custom Query Tab