aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPFieldEditorController.m
Commit message (Collapse)AuthorAgeFilesLines
* When editing a FLOAT field in the field editor, don't include the decimal ↵stuconnolly2012-01-161-27/+64
| | | | place when checking against the maxium allowed characters. Fixes issue #1237
* - Lion compatibility improvement: add support for fullscreen windows, on ↵rowanbeentje2011-08-161-3/+6
| | | | | | | | | | | the main window only; hide SSH/SSL status when entering fullscreen mode, to prevent drawing issues - Lion compatibility improvement: update tab colours under 10.7 to match system styles - Lion compatibility improvement: fix issues dragging tabs out of windows and into other tab bars - Lion compatibility improvement: fix QuickLook issues under 10.7, including windows which couldn't be closed, fullscreened, or crashes - Fix exceptions in the bundle controller when using tab switching keys - Lion compatibility improvement: use overlay scrollers where possible
* merged latest SP_REFACTOR changessqlprodev2011-08-021-2/+8
|
* * Small fix from last commit: Field Editor sheet could be resized too smalldmoagx2011-06-201-2/+2
|
* merging SP_REFACTOR branch with trunksqlprodev2011-05-191-2/+14
|
* • improve BIT field type supportBibiko2011-05-051-2/+2
| | | | | | | | - caught some more exceptional cases - re-factored byte to bit conversion (really do not know why the old code wasn't working anymore); this should fix i1042 - disabled unisgned/zerofill check boxes in Structure for BIT - insert correct default BIT field default value if any after adding a new row -- this works for 5.5 but for MySQL 5.0.x it seems that providing a default value is a MySQL bug (further checks are needed)
* Fix warnings and comments.stuconnolly2011-04-291-1/+1
|
* SP_REFACTOR: Workaround for naming conflict with ↵sqlprodev2011-04-141-38/+7
| | | | 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-9/+68
| | | | UI code from functional code
* - Fix more warningsrowanbeentje2011-03-141-39/+48
|
* • 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.