aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPAppController.m
Commit message (Collapse)AuthorAgeFilesLines
* * Fix a case of "background thread updating UI" (may affect some crashes ↵Max Lohrmann2017-04-221-1/+1
| | | | when importing CSVs)
* Update source code compatibilityMax2017-03-311-2/+10
| | | | | | * 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
* Replace some legacy NSIndexSet enumeration with 10.6+ style ↵Max Lohrmann2017-03-121-4/+2
| | | | -enumerateIndexesUsingBlock:
* Fix #2457: Use system font as default for table content, not Lucida Grande.Stuart Connolly2017-01-071-1/+9
|
* #2482 decode percent escaped characters in handleEventWithURL.Abhi Beckert2016-04-221-1/+8
|
* fix various compile warningsAbhi Beckert2016-04-031-2/+2
|
* * Change window creation to use a create-and-get model instead of ↵Max2015-11-051-442/+415
| | | | | | | create-then-get as that did cause problems on 10.11 in some cases (#2294) * Split a huuuuge method into many smaller methods * Updated some code to use methods that are already there
* Fix an exception on 10.11 when trying to install an SP update while a save ↵Max2015-11-011-0/+3
| | | | dialog is displayed (may have afftected other modal dialogs)
* That looks like it isn't used anymoreMax2015-10-211-1/+0
|
* Fix bundle commands no longer working in popup field editor (and possibly ↵Max2015-10-211-3/+3
| | | | | | other cases) (#2299) Replacing some [NSApp mainWindow] with their actually intended calls [NSApp keyWindow] and [view window]
* Replace a lot of SPBeginAlertSheet()s with the more concise SPOnewayAlertSheet()Max2015-10-201-15/+31
| | | | This should also eliminate a few use-after-free crashes
* Add mysql:// URL handler (fixes #1681)Max2015-10-141-1/+43
|
* Fix a rare exception when opening a session via "Open Recent"Max2015-06-231-1/+1
|
* Changes by Andreas Beier to integrate with into MAMPAbhi Beckert2015-05-161-1/+51
|
* Fix a compiler warningMax2015-01-101-3/+3
|
* Addition to commit 2735e15bMax2015-01-041-8/+8
|
* Formalize [x release], x = nil; conventionMax2015-01-041-6/+6
| | | | | 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-17/+18
| | | | | | * [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-4/+4
| | | | Note: [NSArray arrayWithObjects:...,nil] is left unchanged as that could possibly cause a NPE if converted to @[]
* Add cast for [NSApp delegate]Max2014-12-131-6/+6
| | | | | * (Also changed some outdated URLs) * Replaced [NSApplication sharedApplication] with NSApp
* Replace boxed integers in code with @ literalsMax2014-12-131-6/+6
|
* Fix a error that prevents building in Xcode6b4Max2014-07-281-4/+4
|
* Fix file opening due to my own stupid mistake!. Fixes #1909.Stuart Connolly2014-05-291-55/+100
|
* 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
|
* Fixes for previous commit.Stuart Connolly2013-11-241-6/+6
|
* Fix deprecation warnings.Stuart Connolly2013-11-241-55/+52
|
* Cleaned up Format string is not a string literal (potentially insecure) errorsMarius Ursache2013-11-091-10/+10
|
* Allow opened SQL files to be saved back to the original file, addressing ↵rowanbeentje2013-09-081-84/+16
| | | | | | | | | Issue #1805: - Add new menu item for "Save Query", making the existing item "Save Query As" as an alternate - Track the opened SQL file and used encoding to be able to easily save the same file again - Standardise encoding detection to use the UniversalDetector framework and use that for opened SQL files where the encoding menu is not used
* - Add .sql files opened via File > Open to the Recent Files menu for Issue ↵rowanbeentje2013-09-031-0/+2
| | | | #1011 (note that File > Import files are *not* currently added)
* - Address further Release/Distribution build warningsrowanbeentje2013-05-221-7/+7
|
* Minor tidy up.stuconnolly2013-02-171-1/+1
|
* Fix more warnings.stuconnolly2013-02-021-3/+3
|
* Move the flex parsing function definitions to their own file so they're not ↵stuconnolly2013-01-251-11/+1
| | | | duplicated in multiple places.
* Fix more warnings.stuconnolly2013-01-251-0/+1
|
* Fix more warnings.stuconnolly2013-01-251-4/+4
|
* Fix warnings due to not conforming to 10.6 protocols.stuconnolly2013-01-241-0/+1
|
* * Please note this revision will re-prompt for access to all KeyChain ↵rowanbeentje2012-11-181-0/+3
| | | | | | | | | | passwords * - Change the bundle identifier from com.google.code.sequel-pro to com.sequelpro.SequelPro - Change the code signing process to use a new identity and requirement, to add Developer ID support on 10.7+ but to also maintain functionality on 10.5+ - Add a preference migration routine to copy the old application defaults to the new bundle identifier's defaults - Re-order the default keys to alphabetical to more easily locate values
* Useless comment.stuconnolly2012-10-161-3/+0
|
* Fix selector warning.stuconnolly2012-10-071-54/+65
|
* Issue 1470: [REQ] Support for bundling default Themesbamse162012-10-051-0/+53
| | | | | | Themes will be copied from Default Themes to ~/Library/Application Support/Sequel Pro/Themes, only if a theme with the same name does not exist in that folder.
* Change Sequel Pro's license from GPL (version 2) to MIT.stuconnolly2012-07-251-12/+21
|
* Add a new SPAppController SPWindowManagement.stuconnolly2012-07-071-128/+20
|
* - Fix issues opening new windows when Sequel Pro is opened in the ↵rowanbeentje2012-06-231-19/+12
| | | | | | | background, eg as a result of an application quarantine dialog. This addresses Issue #1375. - Fix exceptions and multiple errors when opening locked or encrypted session files where opening is cancelled.
* Further improvements to further address Issue #1332:rowanbeentje2012-06-231-16/+28
| | | | | | | - Ensure that favourites are saved synchronously on exit to avoid background threads being killed - Improve logging on favourite rename error - Only save favourites on exit if a connection window is open
* - Address favourites saving on quit, which appears to sometimes die during ↵rowanbeentje2012-06-221-3/+0
| | | | | | | preference serialisation, causing Issue #1332. Reworking the order of commands ensure this is performed more safely. - Move upgrade routine to only be called on version upgrades, tweak order of calls
* Fix more gcc warnings.stuconnolly2012-05-091-1/+3
|
* Move the BASH command code from the string additions category to remove the ↵stuconnolly2012-05-071-11/+15
| | | | dependency on SP specific code and all the tests to build successfully.
* Add support for saving the state of the connection favorites outline view.stuconnolly2012-05-031-18/+31
|
* Bring outline view branch up to date with trunk.stuconnolly2012-04-161-5/+10
|