aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPQueryFavoriteManager.m
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* • Favorite Query Editor Bibiko2010-03-081-0/+9
| | | | - added the possibility to insert defined placeholder via a popup button similar to Content Filter Editor to give an hint to user what's possible
* • SPQueryFavoriteManagerBibiko2010-01-281-1/+1
| | | | | - changed regex for validation of the entered tab trigger to "(?i)[^[:L:]0-9]+" since "(?i)[^\\w0-9]+" doesn't work if SP runs in 32bit mode. - It seems that the new RegexKitLite has a problem to expand \w correctly if it is used like [^\w]
* • added possibility to add a query favorite by user-definable alphanumeric ↵Bibiko2010-01-241-3/+17
| | | | | | | | | tab trigger; eg if tab trigger is set to "sel" sel⇥ will insert the first query which has the defined the tab trigger • preparations to insert programmable query favorites - eg "SELECT ${*} FROM ${Table}" -- after insertion "SELECT * FROM Table" the '*' is highlighted to change, press ⇥ to select the next snippet 'Table'; ⇧⇥ selects the previous snippet; the snippet selection follows the user input - Note: not yet active
* • removed from each open panel:Bibiko2010-01-151-1/+1
| | | | | | [panel setResolvesAliases:YES] For some reasons it could happen that the panel didn't response to dragging files into it correctly and sometimes SP crashed after selecting a directory in its sidebar. By removing "resolve aliases" the panel seems to work properly. This has to be verified by further tests.
* removed/refactored three instances of calling a method of untyped (id) objectsBibiko2010-01-091-4/+6
|
* - Upgrade Sequel Pro to be compiled as a 3-way PPC/i386/x86_64 binary for ↵rowanbeentje2010-01-091-8/+8
| | | | | | | release builds, including a large number of 64bit compatibility upgrades and tweaks - Upgrade RegexKitLite to 3.3
* • replaced the (10.4) deprecated [NSTableView ↵Bibiko2010-01-041-20/+24
| | | | | | tableView:writeRows:toPasteboard:] method by [NSTableView tableView:writeRowsWithIndexes:toPasteboard:] • some code cosmetics
* Random source tidy up changes.stuconnolly2009-12-181-5/+4
|
* - Work through static analysis of the source, fixing a number of small ↵rowanbeentje2009-12-141-0/+3
| | | | memory leaks and fixing a couple of over-releases
* Convert a bunch of #define'd constants to extern's, including preference ↵stuconnolly2009-12-111-7/+7
| | | | toolbar identifiers, pasteboard drag types and file extensions.