aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPTableContent.m
Commit message (Collapse)AuthorAgeFilesLines
* Fix an issue where checking and then unchecking "Suppress leading ↵Max2016-07-101-1/+1
| | | | | | placeholder" in content filters would not work properly (code did not properly handle @NO vs nil). Issue #2511
* #2414 fix crash hovering mouse over removed table column headerAbhi Beckert2016-06-051-0/+4
|
* Fix a focus loss issue from the previous commit (#2468)Max Lohrmann2016-04-171-0/+5
|
* * Added two helper methods for working with nil/NSNull in arraysMax Lohrmann2016-04-091-23/+38
| | | | | | | * Fixed a case of "Updating UI from background thread" when navigating foreign keys *within* a table * Fixed navigating foreign keys of binary columns causing exceptions if the origin table is not in latin1 and the binary data not "text like" (#2098). * As a consequence binary columns will now use Hex representation when navigating FKs. * Added a new content filter to do "= UNHEX($x)" as an interim solution
* fix various compile warningsAbhi Beckert2016-04-031-1/+1
|
* Merge pull request #2250 from JamesForks/uuid-supportAbhi Beckert2016-03-061-0/+2
|\ | | | | Allows UUID's within text fields.
| * Allows UUID's within text fields. Closes #2245James Brooks2015-10-011-0/+2
| |
* | Add support for CURRENT_TIMESTAMP(n) in default/on update column of ↵Max2015-11-041-11/+12
| | | | | | | | DATETIME/TIMESTAMP fields (part of #2315)
* | * Basic math is hard sometimes (fixes an issue introduced by me in ↵Max2015-10-311-6/+8
| | | | | | | | | | | | | | b2d798ba9282d3acf1a2d65de30849e529d4d255) * Fix an exception that could occur when trying to view a damaged table * Fix a theoretical use-after-free issue by a wrongly structured retain/release in a setter
* | Minimal refactoringMax2015-10-311-11/+11
| |
* | Replace a lot of SPBeginAlertSheet()s with the more concise SPOnewayAlertSheet()Max2015-10-201-22/+44
| | | | | | | | This should also eliminate a few use-after-free crashes
* | Fix one cause a popular crash involving alert dialogs (part of #2297)Max2015-10-201-4/+5
| |
* | Replace some for for() loops with FastEnumeration where i is not neededMax2015-10-041-12/+5
|/ | | | Also has the advantage of causing an exception on concurrent modification
* A little experimenting with #2218Max2015-09-201-3/+4
|
* Attempt at fixing a crash when trying to open the field editor sheet and ↵Max2015-09-101-4/+4
| | | | Accessibility Services are enabled and a certain other Application is running (issue #2220)
* Remove an unbalanced call to -[SPDatabaseDocument endTask] which caused ↵Max2015-07-201-6/+3
| | | | | | misbehaviour if loading a table failed (fixes #2180) Note: I suspect this was a leftover from refactoring but I can't rule out the possibility of a code path where this was desired.
* Fix an issue where LIKE filters were changed to BINARY if reloading a table ↵Max2015-07-181-2/+1
| | | | | | via cmd+R Even though BINARY should only be enabled when holding down ⇧ while doing the search, it actually did react to ctrl,cmd and alt, too. Fixes #2179
* Add some info which might help a bit with debugging threading issuesMax2015-07-021-3/+3
|
* Replace some malloc(a*b) with the safer calloc(a,b) variantMax2015-06-301-3/+4
|
* Fix a popular exception when a user tried to edit a field with a lost ↵Max2015-06-121-26/+47
| | | | connection and then chose "disconnect" when Sequel Pro asks to reconnect (attempt at #2137)
* Setting large auto_increment values (> 1000) could be misinterpreted as ↵Max2015-06-091-1/+1
| | | | decimal values in some cases (fixes #2130)
* Move some complex logic into its own classMax2015-04-221-156/+11
| | | | so it will easier to write some unit tests and refactor some of the code.
* Fixed two case of background thread interacting with UIMax2015-04-221-1/+5
| | | | aka "deleted uncommited CA transaction"
* Remove a hack to support QuickLook on 10.5Max2015-04-021-1/+0
| | | | We don't need that anymore since 10.5 support is gone. Sequel Pro now explicitly links Quartz and doesn't try to guess QuickLook support at runtime.
* Addition to commit 2735e15bMax2015-01-041-27/+24
|
* Formalize [x release], x = nil; conventionMax2015-01-041-11/+11
| | | | | 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.
* Attempt 2 to fix building on 10.7, 10.8Max2014-12-131-4/+0
|
* Replace some NSDictionaries with literalsMax2014-12-131-9/+9
| | | | | | * [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-7/+7
|
* 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.
* Change pagination popover to native typeMax2014-11-281-21/+70
| | | | | | This commit switches our pagination popover to use native NSPopover on 10.7+ making it look more polished and modern. On 10.6 the old style will be used, *however* that one might still suffer from a bug caused by undefined overlapping view drawing behaviour.
* Resolve #1938: In the query console display the database the query was ↵Stuart Connolly2014-08-281-2/+6
| | | | executed in.
* Inverse shift+click sorting for custom queriesMiroslav Zoricak2014-03-051-5/+9
| | | | | Add inverse sorting for custom queries Keep the inverse order while shift+clicking after the first click
* Shift-click to reverse sort order of table columnsMiroslav Zoricak2014-03-041-1/+7
|
* 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
|
* Force a table reload (just the view not the actual data retrieval) whenever ↵Stuart Connolly2014-01-201-1/+6
| | | | the view binary data as hex option is toggled. Fixes #1875.
* Add an option to display binary data as hex, while displaying it in blue to ↵Stuart Connolly2014-01-141-0/+2
| | | | distinguish from string data of similar content.
* Add the XIB support for Multiple Table Content Filters (Issue #63). The ↵rowanbeentje2013-11-101-0/+5
| | | | required code is not committed yet, but committing the updated DBView.xib now avoids future xib conflicts while the code is completed.
* Fixed NSMutableString vs NSString warningsMarius Ursache2013-11-091-1/+1
|
* - Ensure the table row counts are correctly updated when reloading tables - ↵rowanbeentje2013-08-221-0/+2
| | | | this should address Issue #1789 and Issue #1788, and possibly Issue #1787
* Rework table content and custom query data loading and storage for speed ↵rowanbeentje2013-08-131-84/+55
| | | | | | | | | 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.
* - Fix all the Xcode 4.6.2 build warnings, and tweak warning settings to ↵rowanbeentje2013-05-211-3/+2
| | | | enable some more
* * Composite Foreign Keys will now show all columns in Relation view (workaround)dmoagx2013-04-211-1/+1
|
* - If date-type fields are cleared, and allow NULLs, save the cell value as ↵rowanbeentje2013-03-061-2/+2
| | | | NULL; this implements Issue #1638
* - Fix escaping of backlsashes in non-LIKE clauses, addressing string ↵rowanbeentje2013-02-281-12/+21
| | | | matching with the = and RegExp operators - addresses Issue #1563
* Fix remaining 10.6/7 build warnings.stuconnolly2013-02-171-5/+0
|
* Fix more wanrings by creating a protocol that delegates of the copy table ↵stuconnolly2013-02-161-8/+0
| | | | should conform to.
* Changing SP_REFACTOR macro to SP_CODAsqlprodev2013-02-141-115/+115
|
* Changes required to merge Sequel Pro r4011 into Codasqlprodev2013-02-141-2/+9
|