aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPFieldEditorController.m
Commit message (Collapse)AuthorAgeFilesLines
* Merge remote-tracking branch 'origin/mergeclasses'Max2018-01-201-7/+3
|\ | | | | | | | | | | | | Conflicts: Source/SPQueryControllerInitializer.m Source/SPQueryDocumentsController.m Source/SPQueryFavoriteManager.m
| * merge some smaller classes (part of #2789)Max2018-01-201-7/+3
| |
* | Replace all calls to deprecated method ↵Max2018-01-131-10/+20
|/ | | | +propertyListFromData:mutabilityOption:format:errorDescription:
* Update source code compatibilityMax2017-03-311-7/+0
| | | | | | * Remove forward SDK declaration for 10.8 and below (since that is the minimum required development SDK) * Fix one case where a method unconditionally required a 10.9+ runtime * Move all of the forward/backward hacks into their own file
* Fix an erroneous if condition (#2688)Max2017-02-121-1/+1
| | | | In some rare cases this could have resulted in an unexpected „No data was updated“ error message
* Merge branch 'master' of https://github.com/sequelpro/sequelproMax Lohrmann2017-02-121-0/+1
|\
| * Fix a minor memory leakMax2017-02-121-0/+1
| |
* | * Add a JSON formatterMax Lohrmann2017-02-121-3/+23
|/ | | | * MySQL JSON type columns are now automatically formatted when opening them in the Field Editor
* Fix display of column type in FieldEditorController for JSON type (part of ↵Max2017-02-091-1/+2
| | | | #2199)
* Fix an issue on 10.7+ introduced in ce33534Max2015-07-121-3/+0
| | | | This removes a IMHO useless makeFirstResponder: call. In all cases where [NSApp mainWindow] == usedSheet (< 10.7) the call right above it would already handle it. On the other hand if [NSApp mainWindow] != usedSheet (10.7+) the call would fail anyways because in that case editTextView is not even a subview of the main window.
* Disable "smart" substitutions for field editor sheet (fixes #2154)Max2015-06-231-0/+3
|
* Use find bar in field editor on 10.7+Max2015-06-191-3/+19
| | | | This will IMHO obliberate the need for the field editor to become a main window and avoid the UI clash from #2148
* 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