aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPContentFilterManager.m
Commit message (Collapse)AuthorAgeFilesLines
* Addition to commit 2735e15bMax2015-01-041-1/+1
|
* Replace some NSDictionaries with literalsMax2014-12-131-8/+8
| | | | | | * [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-3/+3
| | | | 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-3/+3
| | | | | 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 remaining deprecation warnings.Stuart Connolly2014-01-171-1/+1
|
* Fix deprecation warnings.Stuart Connolly2014-01-161-32/+35
|
* 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/+28
| | | | 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-2/+6
|
* Remove useless init and dealloc method comments and perform general tidy up.stuconnolly2013-01-221-7/+9
|
* Make some improvements to the Table Content Filter, particularly for text ↵rowanbeentje2012-12-231-3/+17
| | | | | | | | | fields: - Rename all "IS" entries to "=", to make the intended purpose clearer, and switch the underlying command to use "= BINARY" instead of "LIKE", producing an exact match instead of replicating LIKE functionality. Move LIKE p to just below the = options. This addresses Issue #1441. - Add entries for "matches RegExp" and "does not match RegExp", implementing Issue #1508. - When adding custom filters, add them by default to the Global group if the favourite isn't an on-disk document, addressing filter loss between sessions; this addresses Issue #1381
* Issue 1462: Right click in custom filter editor causes exceptionbamse162012-09-181-2/+2
|
* - Remove all BWToolKit elements from the Content Filter Manager, replacing ↵rowanbeentje2012-08-011-28/+6
| | | | | | | with SPSplitView and equivalents - Update localisable strings
* Change Sequel Pro's license from GPL (version 2) to MIT.stuconnolly2012-07-251-12/+20
|
* tweaks to compile on Xcode 4 / 10.6 SDK for SP_REFACTORsqlprodev2012-03-271-0/+8
|
* - Cleanup: improve compatibility with 10.7 SDK to reduce compiler warningsrowanbeentje2012-02-081-5/+4
|
* Tidy up console/query controller.stuconnolly2011-09-031-0/+1
|
* Fix an exception when removing the only content filter. Fixes exceptions ↵stuconnolly2011-08-071-26/+27
| | | | http://spbug.com/l/2360 and http://spbug.com/l/2453
* * Fixes most parts of #1006 (Translation of file names)dmoagx2011-05-101-2/+2
| | | | * Update strings files
* initial commit of SP_REFACTOR ifdefs, the start of a long quest to separate ↵sqlprodev2011-04-111-3/+13
| | | | UI code from functional code
* * Fix two untranslatable strings #1006dmoagx2011-03-201-1/+1
|
* - Fix more compiler warningsrowanbeentje2011-03-151-2/+2
| | | | | - Tweak README
* fixed compiler warningssqlprodev2011-03-011-0/+1
|
* Tidy up.stuconnolly2010-10-191-4/+0
|
* Considering nearly every class uses constants, import it via the prefix header.stuconnolly2010-10-191-1/+0
|
* Remove use of multiple comments for localized strings.stuconnolly2010-10-191-4/+4
|
* * One label was too short in Content Filter Managerdmoagx2010-09-261-11/+12
| | | | * Changed some NSLocalizedString() comments to be more descriptive - keep in mind that the comment is the only thing that can provide context here.
* • SPTableContentBibiko2010-09-201-135/+189
| | | | | | | | | | | - added at the end of [self loadTableValues] an alert if loading failed • SPContentFilterManager - removed any key bindings for hopefully getting rid of some "mutating method sent to immutable object" exceptions/crashes [1479, 1372, 1310, 295, 1227, 692, 149] - better handling of ESC to cancel the name in-cell editing in table - improved validations - some general code improvements - added/changed comments
* • SPTableContentBibiko2010-09-201-56/+56
| | | | | - avoid replacing of % by %% for user-defined content filters if no argument is required • minor commenting stuff and code cleaning
* • replaced @"sql" and @"spf" by their SPConstant definitionsBibiko2010-06-241-1/+1
| | | | | | | • 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 TableContent to SPTableContent.stuconnolly2010-05-281-1/+1
|
* Rename CMTextView to SPTextView.stuconnolly2010-05-271-1/+1
|
* 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
* General tidy up, with a focus on consolidating more constants in ↵stuconnolly2010-03-241-1/+4
| | | | SPConstants.h/m.
* • added the chance to the user-defined Content Filter Editor to specify ↵Bibiko2010-02-191-1/+6
| | | | whether the leading <field> placeholder should be suppressed or not in order to be able to write a filter like "LENGTH($CURRENT_FIELD)>${}"
* Fix a number of memory leaks, and over-releases, as both a result of manual ↵rowanbeentje2010-02-101-0/+2
| | | | inspection of leaks and Clang static analysis.
* • 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-3/+5
|
* - Upgrade Sequel Pro to be compiled as a 3-way PPC/i386/x86_64 binary for ↵rowanbeentje2010-01-091-9/+9
| | | | | | | 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-4/+14
| | | | | | tableView:writeRows:toPasteboard:] method by [NSTableView tableView:writeRowsWithIndexes:toPasteboard:] • some code cosmetics
* • ContentFilterManagerBibiko2010-01-041-1/+1
| | | | | - reimplemented the display of the conjunction label for two arguments - fixed bug while parsing and storing the number of arguments of each filter definition
* - Work through static analysis of the source, fixing a number of small ↵rowanbeentje2009-12-141-0/+1
| | | | 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.