aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPFieldEditorController.m
Commit message (Collapse)AuthorAgeFilesLines
* Bring outline view branch up to date with trunk (r3471:r3517).stuconnolly2012-03-181-3/+4
|
* Bring outline view branch up to date with trunk (r3471:r3481).stuconnolly2012-02-191-14/+13
|
* Bring outlinew view branch up to date with trunk (r3375:3468).stuconnolly2012-01-221-35/+93
|
* Bring outline view branch up to date with trunk (r3279:r3306).stuconnolly2011-05-141-2/+2
|
* Fix broken build after merge with trunk.stuconnolly2011-04-241-1/+1
|
* Bring outline view branch up to date with trunk (r3234:3277).stuconnolly2011-04-221-4/+32
|
* Bring outline view branch up to date with trunk (r3235:r3245), which should ↵stuconnolly2011-03-191-39/+48
| | | | resolve all warnings.
* • fixed bug if user invokes Quicklook inside the OpenPanel of the Field ↵Bibiko2011-01-141-1/+4
| | | | Editor Sheet
* • Bundle commandsBibiko2010-12-091-0/+2
| | | | - added the shell vars for edited field info as well if Field Editor sheet is used
* • minor code cleaning and comment stuffBibiko2010-11-021-207/+214
|
* • Custom and Content table in-cell editingBibiko2010-10-301-2/+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
* • enabled Find Panel inside Field Editor Sheet's textViewBibiko2010-10-291-0/+9
| | | | | | | | - to enable Find Panel in such a NSTextView which will be displayed in a sheet one has to do the following: * [main problem is that Find Panel validates its buttons against [[NSApp mainWindow] firstResponder] == NSTextView] * subclass the NSTextView and add the methods becomeFirstResponder and resignFirstResponder which has to return YES * since the last first responder remains the first mainWindow responder status one has to set [[NSApp mainWindow] makeFirstResponder:theTextView] directly after displaying the sheet • corrected SPUserManager message in (IBAction)removeHost:
* • removed forgotten debug logBibiko2010-10-291-1/+0
|
* • convert the Field Editor Sheet into a document-modal sheet, i.e. now the ↵Bibiko2010-10-291-134/+101
| | | | | | | | 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-13/+35
| | | | | | | | - 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
* - Split out all of SPExportController's delegate methods to their own category.stuconnolly2010-10-241-4/+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.
* Tidy up.stuconnolly2010-10-191-2/+2
|
* Considering nearly every class uses constants, import it via the prefix header.stuconnolly2010-10-191-1/+0
|
* • fixed issue to show/hide the Quicklook GUI item in the Field Editor SheetBibiko2010-10-161-1/+1
| | | | | • attempt to solve the issue of storing ENUM fields in Content View correctly if the user interacts with the mouse on the comboxes for different rows - this addresses the issues 865 and 833
* • improved field editor sheet to support geometry fieldsBibiko2010-10-091-16/+62
| | | | | - 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-34/+158
|
* • BIT Field Sheet Editor now can handle NULL valuesBibiko2010-09-161-4/+61
| | | | • Field Editor Sheet field name label also displays NOT NULL if set
* • finished and enabled the new BIT field editor sheetBibiko2010-09-161-51/+141
|
* • further progress on the BIT field sheet editorBibiko2010-09-151-20/+81
|
* • some further bit field editing preparationsBibiko2010-09-151-203/+288
| | | | | | • 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-2/+2
| | | | | | | | - 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
* Review usage of notifications, afterDelay: and waitUntilDone:NO calls:rowanbeentje2010-04-121-0/+1
| | | | | | | - Add more calls to deregister watchers to fix crashes to closing threads or objects - Fix a couple of memory leaks - Alter a few calls to be performed on main thread (afterDelay: operates on the thread is is called on) - this fixed database reloading after import and field/index deletion error sheets
* General tidy up, with a focus on consolidating more constants in ↵stuconnolly2010-03-241-0/+1
| | | | SPConstants.h/m.
* Following a manual code review, fix some local variables overriding global ↵rowanbeentje2010-03-151-1/+2
| | | | variables, a few leaks, and additional nil setting/checking to prevent overreleases or releases of random areas of memory.
* removed/refactored three instances of calling a method of untyped (id) objectsBibiko2010-01-091-1/+1
|
* - Upgrade Sequel Pro to be compiled as a 3-way PPC/i386/x86_64 binary for ↵rowanbeentje2010-01-091-9/+9
| | | | | | | release builds, including a large number of 64bit compatibility upgrades and tweaks - Upgrade RegexKitLite to 3.3
* - Fix saving of files or images added to the SPFieldEditorrowanbeentje2009-12-041-2/+2
| | | | | | - Fix a couple of memory leaks in the SPFieldEditor - Fix a crash caused by attempted reselection of databases after disconnection if no database was selected
* • remember the spell checker status in the blob field editorBibiko2009-11-191-1/+6
| | | | | | - status can be toggled by right-click in the text view and go to submenu "Spelling and Grammar" > "Check Spelling while Typing" Note: up to now "Check Spelling while Typing" wont' be checked in the GUI if it's enabled → TODO (maybe related to the "sheet issue")
* Updates to the 'use monospaced font' preference, making it a lot more ↵stuconnolly2009-11-141-12/+9
| | | | consistent across all table views. Also includes live updating when the preference is changed as well as its implementation in the query console, process list and variables table views.
* Tidy up.stuconnolly2009-11-071-2/+0
|
* Replace the use of hard coded preference keys with constants to prevent ↵stuconnolly2009-10-171-8/+9
| | | | issues such as the one fixed in revision 1419. All future preference usage should be done so using these constants.
* • fixed three further typos for: objectForKey:@"NullValue"Bibiko2009-10-161-4/+6
| | | | • allow to enter the NULL value string even if the cell/field's maximal length is set to less then the actual NULL value string length (eg varchar(3) and NULL value string is @"NULL")
* • marked 'sequel-pro-print-template.html' as localizableBibiko2009-09-271-6/+31
| | | | | | | | | | | | • 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-79/+182
| | | | | | | | | - 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)
* • fixed bug for exporting tables as XML: now the very last row will be ↵Bibiko2009-09-111-3/+7
| | | | | | written to file [ this fixes issue 404 ] • FieldEditorSheet: if string cell content is "NULL" select the entire string for convenience
* • 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