aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPFieldEditorController.h
Commit message (Collapse)AuthorAgeFilesLines
* Changing SP_REFACTOR macro to SP_CODAsqlprodev2013-02-141-1/+1
|
* Fix warnings due to not conforming to 10.6 protocols.stuconnolly2013-01-241-4/+1
|
* Change Sequel Pro's license from GPL (version 2) to MIT.stuconnolly2012-07-251-13/+21
|
* Make sure we resize the table content's edit sheet if it's opened with a ↵stuconnolly2012-05-081-1/+0
| | | | size greater than the current screen. Fixes issue #680.
* - Rework edit sheet find/replace handling; instead of altering the main ↵rowanbeentje2012-04-241-1/+2
| | | | window's firstResponder, which only worked under certain NSTextView focus conditions, allow the field edit sheet to become the main window. This fixes issues with the Find/Replace dialog not fully working correctly in the edit sheet.
* Warning: this branch commit is largely untested, and known to throw ↵rowanbeentje2012-02-231-1/+0
| | | | | | | | | | | | exceptions as database structure retrieval is currently missing! Further work on SPMySQLFramework integration: - Improve SPMySQL framework build settings including correct ppc builds and a Distribution configuration for the build distributions to match - Add new convenience querying and result methods to the framework - Amend Sequel Pro source to use the new SPMySQL.framework methods everywhere, replacing MCPKit methods where they differ and improving some functions - Remove MCPKit from the source - Fix a number of warnings on Release-style builds
* - Review changes made in r3376 and revert a number of regressionsrowanbeentje2011-08-141-3/+2
|
* merged latest SP_REFACTOR changessqlprodev2011-08-021-2/+3
|
* - Rework a number of protocol defintions when refactoring to fix IB ↵rowanbeentje2011-06-211-3/+2
| | | | compilation warnings
* merging SP_REFACTOR branch with trunksqlprodev2011-05-191-0/+2
|
* 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/+6
| | | | UI code from functional code
* - Fix more warningsrowanbeentje2011-03-141-0/+4
|
* - Fix more compiler warningsrowanbeentje2011-03-041-3/+3
|
* • Bundle commandsBibiko2010-12-091-0/+4
| | | | - added the shell vars for edited field info as well if Field Editor sheet is used
* • minor code cleaning and comment stuffBibiko2010-11-021-0/+1
|
* • convert the Field Editor Sheet into a document-modal sheet, i.e. now the ↵Bibiko2010-10-291-3/+7
| | | | | | | | sheet doesn't block the entire app - fixed various layout issues - fixed some tiny memory leaks • fixed tiny memory leak in MCPStreamingResult
* • Field Editor sheetBibiko2010-10-291-0/+2
| | | | | | | | - fixed some inconsistencies regarding window - first humble trials to get rid of the Find Panel inside the editTextView -- it seems that the problem is that NSTextFinder internally validates all buttons against [[NSApp mainWindow] firstResponder] == NSTextView ; in our case the [[NSApp mainWindow] firstResponder] is the calling SPCopyTable object -- set a possible visible Find Panel to [textFinderPanel setWorksWhenModal:YES] inside the modal session ; by doing so the controls are available via keyboard and mouse but NOT the buttons -- work on it will be continued
* Tidy up.stuconnolly2010-10-191-4/+3
|
* • improved field editor sheet to support geometry fieldsBibiko2010-10-091-0/+2
| | | | | - additionally it shows the image - image can be saved as pdf if image is displayed via Save button; if text is selected the wkt string will be saved
* • added comments conforming to the new SP doc generatorBibiko2010-09-161-1/+8
|
* • BIT Field Sheet Editor now can handle NULL valuesBibiko2010-09-161-0/+4
| | | | • Field Editor Sheet field name label also displays NOT NULL if set
* • further progress on the BIT field sheet editorBibiko2010-09-151-3/+1
|
* • some further bit field editing preparationsBibiko2010-09-151-3/+96
| | | | | | • re-enabled length checking while editing in FieldEditorSheet • FieldEditorSheet now shows field type declaration • some preparations for BINARY editing in FieldEditorSheet
* Initial implementation of tabs:rowanbeentje2010-05-231-1/+1
| | | | | | | | - 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
* - Upgrade Sequel Pro to be compiled as a 3-way PPC/i386/x86_64 binary for ↵rowanbeentje2010-01-091-3/+3
| | | | | | | release builds, including a large number of 64bit compatibility upgrades and tweaks - Upgrade RegexKitLite to 3.3
* Tidy up.stuconnolly2009-11-071-3/+0
|
* • marked 'sequel-pro-print-template.html' as localizableBibiko2009-09-271-0/+2
| | | | | | | | | | | | • outsourced default QuickLook types into a localizable plist - prepared SP preferences and SP code to allow the user to add own QL types • prepared a localizable 'ContentFilter.plist' [not yet implemented fully] - this plist will held the default filter operators - this approach will give the user the chance to add own filters • removed three tiny memory leaks Note: In MCPResult.m variable 'MCPYear0000' was stored retained. Why? I removed it and couldn't encounter any problems.
* • re-enabled field editor's QuickLook for 10.6Bibiko2009-09-251-7/+9
| | | | | | | | | - This is up to now a kind of a 'hack' since SP will be compiled against SDK10.5 but if SP runs on 10.6 it'll use code from a 10.6 framework. - Under 10.6 full screen mode is available and QL does run in its own run loop ie now it's non-modal - Changed the way of removing temp files; now all files will be deleted while closing the sheet to fix issues if the user double-click at the QL item and the called app was too slow - this ended up in getting the message 'File not found' - Changed default container extension for images since 'pict' isn't support under 64bit 10.6; now SP makes usage of 'icns' • outsourced QuickLook types (show as pull down menu) to SP's preference plist. (up to now only 'power users' can change that type list via a Property List editor) • enhanced the caching behaviour of the sheet editor in terms of triggering a refresh if the text content was changed (this fixes the issue that it could happen that binary data were interpreted as text data)
* • SPFieldEditorSheetBibiko2009-08-271-0/+1
| | | | | | - 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
* • further improvement to SPFieldEditor's undo managerBibiko2009-08-141-0/+1
| | | | - try to trap the speed of typing better to create larger undo groups
* • minor changes to SPTooltipBibiko2009-08-141-0/+3
| | | | • 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-0/+3
| | | | | | | | | 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-0/+2
| | | | | | | | | | | 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
* • added to Custom Query table editing max text length validationBibiko2009-08-101-0/+1
| | | | | • 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-0/+3
| | | | | | • 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/+4
| | | | | | - initial support (not yet finished) Note: maybe add information about field type, max length as attributed string
* • corrected SVN propertiesBibiko2009-08-061-1/+1
|
* Merge framework integration branch back to trunk. Summary of changes:stuconnolly2009-07-211-3/+2
| | | | | | | | | | | | | | | - 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.
* • Field Editor Sheet classBibiko2009-07-171-1/+4
| | | | | | - 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-0/+3
| | | | by alternating the temporary file name
* • applied the new class SPFieldEditorController to TableContentBibiko2009-07-171-6/+2
| | | | • deleted in DBVview.xib Field Editor Sheet (out-sourced)
* • some further progress on outsourcing the Field Editor sheet for Content ↵Bibiko2009-07-161-0/+73
and Custom Query Tab