aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPDataAdditions.m
Commit message (Collapse)AuthorAgeFilesLines
* - When exporting a query result or filtered table view make sure we're ↵stuconnolly2012-03-201-17/+23
| | | | | | | | including the entire content of BLOBs, not just what we display. Fixes issue #1124. - Move SPTableContent's table view datasource and delegate methods to separate categories in order to reduce it's size.
* - Remove the Colloquy-derived, GPL -[NSData base64EncodingWithLineLength:] ↵rowanbeentje2012-03-181-73/+0
| | | | method, and replace with an equivalent method derived from QSUtilities/PHP, which is MIT/BSD-alike licensed. New method is also at least ten times faster, up to much faster for long strings.
* - Fix compiler warnings for MCPKit - largely typecast relatedrowanbeentje2011-03-021-9/+9
| | | | | | | | | - Fix further compiler warnings, including a couple of bugs - Disable the -wselector warnings (Multiple definition types for selector) as they're currently unsupported in LLVM - Disable the -wconversion warnings (Prototype conversion) warnings as we usually can't affect protocol declaration - Disable the -wstrict-selector-match (Strict selector matching) due to too many false positives
* • fixed memory leak in [SPDataAdditions ↵Bibiko2010-08-241-28/+28
| | | | | | | | | | shortStringRepresentationUsingEncoding] after simplifying the code • fixed NSAutoreleaseNoPool(): SPMainThreadTrampoline autoreleased with no pool in place - leak while canceling a print job - call [self endTask] BEFORE [pool drain] • in SPTableContent set the focus to table after editing a cell by the field editor sheet on main thread - this could fix exception 1481 • some code cosmetics: reduced file sizes
* • overall replacement of:Bibiko2010-08-201-10/+9
| | | | | | | | | [aString appendString:[NSString stringWithFormat:]] by [aString appendFormat:] since it's much more faster • first look at loop where several [aStr appendString:] occur to try to combine them into one appendString or appendFormat since the allocation of memory takes really time Note: I tested all my changes but we should test it further to be sure that I didn't a mistake!
* Tidy up imports and fix 'Reverse Sort Order' when sorting connection ↵stuconnolly2010-03-311-2/+3
| | | | favorites (Thanks Hans).
* • fixed reading encrypted SPF files on the 64bit SP version (for now)Bibiko2010-01-121-4/+5
| | | | | | - make usage of UInt32 instead of NSUInteger for checking whether decryption was successful and for retrieving the correct data size TODO: it should be possible to change it to NSUInteger by applying the correct pointer arithmetics
* - Upgrade Sequel Pro to be compiled as a 3-way PPC/i386/x86_64 binary for ↵rowanbeentje2010-01-091-21/+21
| | | | | | | release builds, including a large number of 64bit compatibility upgrades and tweaks - Upgrade RegexKitLite to 3.3
* Tidy up.stuconnolly2009-11-071-1/+0
|
* • eliminated the deprecated method 'stringWithCString' and simplified the ↵Bibiko2009-09-241-46/+27
| | | | method 'dataToFormattedHexString' a bit (this fixes the issue for broken lines as well - seen under OSX 10.6)
* • further improvements for open/save spf filesBibiko2009-08-241-0/+83
| | | | | | | | | | - added encryption code routine - if encrypted ask for password • added to SPDataAdditions dataEn/DecryptedWithPassword: • tiny fixes for cascading new doc windows - never decrease win size less than minSize - large win width detection now gets rid of all connected monitors • updated credits.rtf
* • further work for open/save connection files (spf)Bibiko2009-08-211-0/+79
| | | | | • added to NSDataAdditions the methods 'compress' and 'decompress' • added libz.dylib to xcode project
* • added to SPDataAdditions:Bibiko2009-06-231-0/+22
| | | | | | - (NSString *) shortStringRepresentationUsingEncoding: --mainly used for displaying large blob data in a tableView • tiny speed improvements for tableView:objectValueForTableColumn and tableView:setObjectValueForTableColumn in Content Browser and Custom Query
* • moved dataToHex as dataToFormattedHexString from TableContent to ↵Bibiko2009-06-231-0/+86
| | | | SPDataAdditions in order to you that method in different classes
* • added: SPDataAdditions.mBibiko2009-06-191-0/+105
- base64EncodingWithLineLength: • improved printing of blobs which contain image data - not it supports PDF preview - set maximum width to 100px or less