aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPFieldEditorController.m
Commit message (Collapse)AuthorAgeFilesLines
* Fix octal formatting by Andreas BeierAbhi Beckert2015-05-161-3/+3
|
* Replaced some magic numbers with an enumMax2015-04-021-16/+22
|
* Converted some setters to equivalent @propertysMax2015-04-021-40/+4
|
* Remove a hack to support QuickLook on 10.5Max2015-04-021-104/+29
| | | | We don't need that anymore since 10.5 support is gone. Sequel Pro now explicitly links Quartz and doesn't try to guess QuickLook support at runtime.
* Addition to commit 2735e15bMax2015-01-041-8/+6
|
* Formalize [x release], x = nil; conventionMax2015-01-041-1/+1
| | | | | Take this commit as a proposal to formalize our existing "[x release], x = nil;" convention by introducing a macro for it. Feel free to revert this commit if you see issues with the approch or implementation.
* Replace some NSDictionaries with literalsMax2014-12-131-1/+1
| | | | | | * [NSDictionary dictionary] → @{} * [NSDictionary dictionaryWithObject:forKey:] can safely be replaced. object==nil would have already thrown a NPE in the past. * Also replaced some (hopefully safe) NSArray initializers (ie. their objects should always exist).
* Change [NSArray arrayWithObject:] to @[] literalMax2014-12-131-2/+1
| | | | Note: [NSArray arrayWithObjects:...,nil] is left unchanged as that could possibly cause a NPE if converted to @[]
* Add a hidden preference to control the size of the UI's monospaced font.Stuart Connolly2014-05-261-2/+4
|
* Specify clang, not GCC.Stuart Connolly2014-01-261-5/+0
|
* Update URL in source file header to point to GitHub.Stuart Connolly2014-01-261-1/+1
|
* Remove SVN property placeholder.Stuart Connolly2014-01-261-2/+0
|
* Fix remaining deprecation warnings.Stuart Connolly2014-01-171-13/+11
|
* Add an option to display binary data as hex, while displaying it in blue to ↵Stuart Connolly2014-01-141-45/+74
| | | | distinguish from string data of similar content.
* - Address further Release/Distribution build warningsrowanbeentje2013-05-221-28/+28
|
* - Fix all the Xcode 4.6.2 build warnings, and tweak warning settings to ↵rowanbeentje2013-05-211-6/+6
| | | | enable some more
* Changing SP_REFACTOR macro to SP_CODAsqlprodev2013-02-141-26/+26
|
* Remove useless init and dealloc method comments and perform general tidy up.stuconnolly2013-01-221-2/+3
|
* - Add linebreak display in the database processes list, preventing display ↵rowanbeentje2012-08-061-2/+0
| | | | | | | of truncated queries for clarity (Issue #1407) - If SHOW FULL PROCESSLIST isn't on, and the query appears to be truncated (length == 100), add a trailing ellipsis to suggest more content
* Change Sequel Pro's license from GPL (version 2) to MIT.stuconnolly2012-07-251-12/+21
|
* Tweak edit sheet sizing.stuconnolly2012-05-081-2/+2
|
* Make sure we resize the table content's edit sheet if it's opened with a ↵stuconnolly2012-05-081-20/+25
| | | | size greater than the current screen. Fixes issue #680.
* - Rework edit sheet find/replace handling; instead of altering the main ↵rowanbeentje2012-04-241-12/+5
| | | | 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.
* - Clean up SPMySQL and QueryKit inclusion and search methods, which should ↵rowanbeentje2012-03-271-4/+0
| | | | | | | fix nightly builds - Fix warnings
* tweaks to compile on Xcode 4 / 10.6 SDK for SP_REFACTORsqlprodev2012-03-271-9/+17
|
* Warning: this branch commit is largely untested, and known to throw ↵rowanbeentje2012-02-231-3/+4
| | | | | | | | | | | | 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
* - Cleanup: improve compatibility with 10.7 SDK to reduce compiler warningsrowanbeentje2012-02-081-14/+13
|
* 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