aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPDataAdditions.m
Commit message (Collapse)AuthorAgeFilesLines
* Fix encrypted Session files on 10.6Max2017-04-011-3/+5
|
* Add code to verify that a SSL key file actually contains a usable RSA keyMax2015-10-141-0/+53
|
* Use a better RNG for IV when encrypting session filesMax2015-10-131-4/+6
|
* Replace OpenSSL with Apple's CommonCrypto for session file decryption (fixes ↵Max2015-09-141-13/+45
| | | | | | #2223) This also removes the dependency on OpenSSL.
* Replace OpenSSL for encrypting session files with Apple's CommonCrypto (part ↵Max2015-09-141-20/+80
| | | | of #2223)
* Replace OpenSSL for SHA1 calculation with Apple's CommonCryptoMax2015-09-131-7/+45
| | | | | (The easier half of #2223) Also added some unit tests.
* Replace some malloc(a*b) with the safer calloc(a,b) variantMax2015-06-301-1/+2
|
* Fix memory leaks.Stuart Connolly2014-01-291-0/+1
|
* 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
|
* Tidy up.Stuart Connolly2014-01-131-5/+6
|
* - Address further Release/Distribution build warningsrowanbeentje2013-05-221-1/+1
|
* - Fix all the Xcode 4.6.2 build warnings, and tweak warning settings to ↵rowanbeentje2013-05-211-2/+2
| | | | enable some more
* - Fix truncation of table content BINARY values which are being edited ↵rowanbeentje2013-05-061-1/+1
| | | | | | | in-place, addressing Issue #1702 - Ensure that truncation of data values includes an ellipsis to make it clear when performance-based truncation is occurring
* - Use a short hashed form of the connection path for SSH ControlPath ↵rowanbeentje2012-08-191-0/+17
| | | | | | | settings, to aid length issues with the new sandbox-safe temporary folders being used - Clean up SSH argument code
* Change Sequel Pro's license from GPL (version 2) to MIT.stuconnolly2012-07-251-17/+24
|
* - 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