aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPPreferencesUpgrade.m
Commit message (Collapse)AuthorAgeFilesLines
* Replace all calls to deprecated method ↵Max2018-01-131-13/+10
| | | | +propertyListFromData:mutabilityOption:format:errorDescription:
* fix various compile warningsAbhi Beckert2016-04-031-1/+2
|
* Add option to sort favorites by colorMax2015-06-211-0/+16
|
* Replace some NSDictionaries with literalsMax2014-12-131-40/+40
| | | | | | * [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).
* Replace boxed integers in code with @ literalsMax2014-12-131-4/+4
|
* Reformatting code for modern ObjCMax2014-12-131-1/+1
| | | | | Replaced all [NSNumber numberWithBool:YES/NO] with the @YES/@NO literals. Also replaced some TRUE/FALSE with their YES/NO counterparts.
* 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
|
* Rework table content and custom query data loading and storage for speed ↵rowanbeentje2013-08-131-1/+5
| | | | | | | | | increases and lower memory usage: - Add a new SPMySQLStreamingResultStore class to SPMySQL.framework. This class acts as both a result set and a data store for the accompanying data, storing the row information in a custom format in a custom malloc zone. - Amend SPDataStorage to wrap the new class, so original result information is stored in the one location in the custom format. Any edited information is handled by SPDataStorage for clean separation - Rework table content and custom query data data stores to use the new class. This significantly speeds up data loading, resulting in faster data loads if they weren't previously network constrained, or lower CPU usage otherwise. The memory usage is also lowered, with the memory overhead for many small cells being enormously reduced.
* - Alter the preferences favourite minimum version to avoid issues with ↵rowanbeentje2013-03-101-7/+13
| | | | | | | previous runs of nightlies, which may partially address Issue #1588 - Remove the old favourites key from the preferences now imports have succeeded
* - Fix a bounds check causing the preferences upgrade routine to fail in ↵rowanbeentje2013-01-291-2/+2
| | | | | | | edge cases, addressing Issue #1547 - Bump the version number to 1.0.1
* - Move the old com.google.code.sequel-pro.plist preference list to the ↵rowanbeentje2013-01-161-0/+12
| | | | trash now that migration to com.sequelpro.SequelPro.plist has completed.
* Small tweak to the bundle identifier migration function to prevent releasing ↵stuconnolly2013-01-121-9/+13
| | | | a null reference. Fixes http://spbug.com/l/3714.
* Enable the removal of the old favorites data in the preferences plist now ↵stuconnolly2013-01-031-4/+2
| | | | that we know it's stable.
* - Display startup release notes (eg post-r3921) to not block startup, ↵rowanbeentje2012-12-161-3/+4
| | | | preventing duplicate "Help" menus - with thanks to Michaël Gallego and schlabberdog
* - Swap around the Custom Query "Run All" and "Run ↵rowanbeentje2012-12-011-0/+57
| | | | | | | | Current/Previous/Selection" shortcuts and positions (Issue #1094) - Tweak the designated requirement to correctly sign the tunnel assistant (Issue #1503) - Add support for important release notes in the version upgrade routines to highlight important issues, and add notes for the button swap and signing change to alert users
* * Please note this revision will re-prompt for access to all KeyChain ↵rowanbeentje2012-11-181-1/+27
| | | | | | | | | | 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
* Change Sequel Pro's license from GPL (version 2) to MIT.stuconnolly2012-07-251-12/+19
|
* - Address favourites saving on quit, which appears to sometimes die during ↵rowanbeentje2012-06-221-38/+40
| | | | | | | 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/+1
|
* Fix memory leaks.stuconnolly2012-05-021-0/+2
|
* Merge outline view branch into trunk.stuconnolly2012-05-021-13/+38
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | Adds support for managing and grouping favorites into folders in the connection view and removes the associated favorites management from the preferences window. NOTE: On first launch your connection favorites will be migrated from Sequel Pro's preference file to a new file in ~/Application Support/Sequel Pro/Data. Your old favorites will remain in the preference file until removed in a future version. Outstanding known issues: - Removing a group node with no child favorites presents a warning about also removing the non-existent favorites. - Starting the application with no favorites, creating a group node then selecting, hides the connection details input. Doesn't support emoty selection. - Setting the name of a connection, adding it to the favorites and then swicthing to a different connection type, screws with the favorite name. - The preservation between launches of whether group nodes are collapsed or not is currently not supported.
| * Fix a bug that caused an exception when launching with empty preferences ↵stuconnolly2011-03-271-1/+1
| | | | | | | | (and thus favorites).
| * Bring outline view branch up to date with trunk (r3235:r3245), which should ↵stuconnolly2011-03-191-4/+4
| | | | | | | | resolve all warnings.
| * Constants.stuconnolly2011-03-121-2/+2
| |
| * Bring outline view branch up to date with trunk (r3203:r3224).stuconnolly2011-03-071-4/+4
| |
| * Bring outline view branch up to date with trunk (r3056:r3162).stuconnolly2011-01-271-2/+5
| |\
| * | Remove old favorites constant.stuconnolly2010-12-191-10/+13
| | |
| * | Apply new favorites outline view patch.stuconnolly2010-12-051-4/+26
| | |
* | | Fix more warnings.stuconnolly2011-03-131-2/+2
| | |
* | | fixed compiler warningssqlprodev2011-03-011-4/+4
| |/ |/|
* | • changed the way to check for available update of Default BundlesBibiko2011-01-031-2/+5
|/ | | | - perform a check only if the revision number is greater as the last recorded one, in other words if an updated version of Sequel Pro was installed and runs for the very first time
* Make sure the root favorite has a name key and value. Also, update string files.stuconnolly2010-11-111-4/+6
|
* More work on the new favorites controller, including loading and saving as ↵stuconnolly2010-11-111-0/+48
| | | | well as the method to migrate existing favorites data. Currently not yet active.
* Rearchitect preferences, including:stuconnolly2010-11-031-0/+300
- Split each preference pane into their own controller (subclass of SPPreferencePane, which is a subclass of NSViewController). - Each preference pane controller conforms to the protocol SPPreferencePaneProtocol to allow the main preference controller to build the toolbar. - Move the preferences upgrade function to it's own file. - Add SPFontPreviewTextField which is based on Colloquy's JVFontPreviewField to allow previewing of the selected font in the tables and editor preference panes. - Update localisable strings files.