aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPQueryFavoriteManager.m
Commit message (Collapse)AuthorAgeFilesLines
* Replace some legacy NSIndexSet enumeration with 10.6+ style ↵Max Lohrmann2017-03-121-11/+4
| | | | -enumerateIndexesUsingBlock:
* fix warningsAbhi Beckert2016-04-101-0/+1
|
* Fix online help URL for query favorites (#2409)Max2016-02-181-1/+1
|
* * Add QuickLook support for "export settings" filesMax2015-11-151-1/+1
| | | | | | * Add MGTemplateEngine to the QL plugin * Reorder the generator code a bit, so it's not one monolithic function * Add constants for some other sfp format types
* Change two magic strings into constantsMax2015-10-101-2/+2
|
* Removing a query favorite via its context menu would cause an exception ↵Max2015-06-291-2/+3
| | | | (fixes #2161)
* Minimal refactoringMax2015-03-091-2/+2
| | | | Replaced some (range.location + range.length) with NSMaxRange(range)
* Addition to commit 2735e15bMax2015-01-041-1/+1
|
* Replace some NSDictionaries with literalsMax2014-12-131-26/+24
| | | | | | * [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-1/+2
| | | | | * (Also changed some outdated URLs) * Replaced [NSApplication sharedApplication] with NSApp
* Replace boxed integers in code with @ literalsMax2014-12-131-1/+1
|
* Reformatting code for modern ObjCMax2014-12-131-2/+2
| | | | | 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
|
* Fix deprecation warnings.Stuart Connolly2014-01-161-16/+19
|
* Remove use of deprecated methods.Stuart Connolly2013-11-301-1/+1
|
* Cleaned up Format string is not a string literal (potentially insecure) errorsMarius Ursache2013-11-091-1/+1
|
* - Alter the content filter manager and the query favourite manager to ↵rowanbeentje2013-03-061-11/+24
| | | | import items from a file into the Global group if the document is untitled, improving import UX and addressing Issue #1616 and Issue #1645. Also select and scroll to the newly imported items for clarity.
* - End editing for deleting content filter or query favourites, addressing ↵rowanbeentje2013-03-051-0/+4
| | | | exceptions and Issue #1648
* Changing SP_REFACTOR macro to SP_CODAsqlprodev2013-02-141-14/+14
|
* Changes required to merge Sequel Pro r4011 into Codasqlprodev2013-02-141-4/+12
|
* Remove useless init and dealloc method comments and perform general tidy up.stuconnolly2013-01-221-8/+14
|
* - If the favourite is not an on-disk document, add any new query favourites ↵rowanbeentje2012-12-171-5/+18
| | | | to the bottom of the Global list if a selection is not active, to address query favorite loss (Issue #1417)
* - Remove all BWToolKit views from the QueryFavoriteManager and ↵rowanbeentje2012-08-031-28/+5
| | | | UserManagerView, replacing with SPSplitViews and standard equivalents
* Change Sequel Pro's license from GPL (version 2) to MIT.stuconnolly2012-07-251-12/+20
|
* Merge outline view branch into trunk.stuconnolly2012-05-021-1/+1
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| * Bring outline view branch up to date with trunk.stuconnolly2012-04-161-5/+76
| |
| * Bring outline view branch up to date with trunk (r3471:r3517).stuconnolly2012-03-181-12/+0
| |
| * Bring outline view branch up to date with trunk (r3471:r3481).stuconnolly2012-02-191-4/+4
| |
| * Bring outlinew view branch up to date with trunk (r3375:3468).stuconnolly2012-01-221-0/+1
| |
| * Bring outline view branch up to date with trunk (r3234:3277).stuconnolly2011-04-221-3/+17
| |
| * Bring outline view branch up to date with trunk (r3235:r3245), which should ↵stuconnolly2011-03-191-3/+4
| | | | | | | | resolve all warnings.
* | Improve query placeholder insertion:rowanbeentje2012-04-111-1/+66
| | | | | | | | | | | | | | - Use menu item tag to insert the snippet, instread of using part of the tooltip; this is safer when localising values - When inserting query placeholders, automatically wrap all the values if not already within a placeholder. This addresses Issue #1313. - When inserting query placeholders, automatically use the lowest unused completion index instead of a fixed value
* | tweaks to compile on Xcode 4 / 10.6 SDK for SP_REFACTORsqlprodev2012-03-271-4/+10
| |
* | * Moves the background color code for SPTextView into the class. Fixes #1073dmoagx2012-03-161-12/+0
| |
* | - Cleanup: improve compatibility with 10.7 SDK to reduce compiler warningsrowanbeentje2012-02-081-4/+4
| |
* | Tidy up console/query controller.stuconnolly2011-09-031-0/+1
| |
* | initial commit of SP_REFACTOR ifdefs, the start of a long quest to separate ↵sqlprodev2011-04-111-3/+17
| | | | | | | | UI code from functional code
* | - Fix more warningsrowanbeentje2011-03-141-3/+4
|/
* - Fix exceptions right-clicking in empty parts of the query favourites ↵rowanbeentje2011-01-101-0/+1
| | | | manager; fixes http://spbug.com/l/1907
* Tidy up.stuconnolly2010-10-191-1/+1
|
* Considering nearly every class uses constants, import it via the prefix header.stuconnolly2010-10-191-1/+0
|
* - Expose a number of help menu items and help buttons to use localisable ↵rowanbeentje2010-07-181-1/+1
| | | | | | | | strings - Tweak MySQL help search to include a localisable language code for results in requested languages This addresses Issue #743
* • replaced @"sql" and @"spf" by their SPConstant definitionsBibiko2010-06-241-2/+2
| | | | | | | • further Save Session progress - store "saved as session accessory view data" globally to support "Save Session" - delete global "saved as session accessory view data" if last SP window will be closed - added to info.plist which tab is currently selected
* Rename CMTextView to SPTextView.stuconnolly2010-05-271-2/+2
|
* Initial implementation of tabs:rowanbeentje2010-05-231-3/+4
| | | | | | | | - 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
* Tidy up imports and fix 'Reverse Sort Order' when sorting connection ↵stuconnolly2010-03-311-0/+1
| | | | favorites (Thanks Hans).
* Manually set the connection favorites button bar delegate to ensure the ↵stuconnolly2010-03-311-1/+1
| | | | split view delegate methods are called.
* • added help button to Query Favorites EditorBibiko2010-03-161-0/+5
|