Age | Commit message (Collapse) | Author | |
---|---|---|---|
2022-10-06 | Merge branch 'tiwoc-fix-assign-object-property'HEADmaster | August Mueller | |
2022-10-06 | Quick little test fix by cleaning up where the actual temp dir is. | August Mueller | |
2022-10-06 | Fix dangling reference warning on assign object property | Daniel Seither | |
This doesn't change the behavior, it just silences this compiler warning when using FMDB in a project that has the -Wobjc-property-assign-on-object-type warning flag. https://clang.llvm.org/docs/AutomaticReferenceCounting.html#property-declarations The alternative would have been to make this a weak property, but this would have been a behavior change, and after reading the discussion https://github.com/ccgus/fmdb/issues/522, I gather that this is something that shouldn't be done in FMDB without bumping the major version number. | |||
2021-06-14 | Merge branch 'tstump-phunware-bugfix/fix_project_file_and_cocoapods_integration' | August Mueller | |
2021-06-12 | Update project file formatting to match Xcode's auto-formatting | Troy Stump | |
2021-06-12 | Lower iOS deployment target to 9.0 | Troy Stump | |
2021-06-12 | Update podspec to include the same deployment targets as defined by the ↵ | Troy Stump | |
Xcode project | |||
2021-06-12 | Update all targets to inherit their deployment target(s) from the project's ↵ | Troy Stump | |
default deployment target settings | |||
2021-06-12 | Remove unused project localizations | Troy Stump | |
2021-06-12 | Bump project compatibility version to Xcode 12.0 | Troy Stump | |
2021-03-25 | Merge branch 'robertmryan-master' | August Mueller | |
2021-03-25 | Safari's icon has changed names, so the test was failing. | August Mueller | |
2021-03-25 | Add typeForColumn functions | Robert Ryan | |
* Add `typeForColumn` and `typeForColumnIndex` methods and tests * Update warnings in `dataForColumn` and `dataForColumnIndex` to describe SQLite behavior re zero-length blobs * Bump version to 2.7.8 This should permit accurate handling of zero-length BLOBs, e.g., in Swift: ```swift let fileURL = URL(fileURLWithPath: NSTemporaryDirectory()) .appendingPathComponent("test.sqlite") do { let db = FMDatabase(url: fileURL) db.open() try db.executeUpdate("CREATE TABLE test (data BLOB)", values: nil) let data = "foo".data(using: .utf8)! let sql = "INSERT INTO test (data) VALUES (?)" try db.executeUpdate(sql, values: [data]) try db.executeUpdate(sql, values: [Data()]) try db.executeUpdate(sql, values: [NSNull()]) let rs = try db.executeQuery("SELECT * FROM test", values: nil) while rs.next() { let type = rs.type(forColumnIndex: 0) switch type { case .blob: if let data = rs.data(forColumnIndex: 0) { print("blob with \(data.count) bytes") } else { print("blob but no data") } case .null: print("Null") default: print("type is \(type)") } } } catch { print(error) } ``` That will produce: ``` blob with 3 bytes blob but no data Null ``` | |||
2020-11-30 | Merge pull request #806 from jamesstout/update_podspec | August "Gus" Mueller | |
Update FMDB.podspec | |||
2020-11-30 | Update FMDB.podspec | James Stout | |
added osx.deployment_target = '10.11' | |||
2020-11-07 | Added a privacy doc to help out devs with some questions that Apple is now ↵ | August Mueller | |
asking app developers. | |||
2020-10-11 | Words. | August Mueller | |
2020-10-11 | Merge pull request #803 from Token-LiMing/patch-1 | August "Gus" Mueller | |
Update example code for FMResultSet | |||
2020-10-11 | Update example code for FMResultSet | 尊敬的伊露维塔 | |
We recently discovered _sqlite3DbMallocRawNN crash, MACH_Exception EXC_BAD_ACCESS KERN_INVALID_ADDRESS fault_address:0x3037646236307474. And we find a commit: 7da3c812cdddd6f5da1df31e7751ef3e56dacd6b. This commit update documentation for FMResultSet. I suggest to update example code for FMResultSet. If the user did not read the newest documentation, they can read example code and avoid making mistakes. | |||
2020-05-29 | Merge pull request #794 from MartinJNash/mjn/update-readme-spm | August "Gus" Mueller | |
Added SPM section to README | |||
2020-05-27 | Added section about importing FMDB via the Swift Package Manager to README.md | Martin Nash | |
2020-05-12 | Merge pull request #791 from ccgus/robertmryan/update-documentation2.7.7 | August "Gus" Mueller | |
Update header comments & documentation | |||
2020-05-09 | Update header comments & documentation | Robert Ryan | |
2020-05-08 | Merge pull request #790 from ccgus/robertmryan/bump-version | August "Gus" Mueller | |
Bump version | |||
2020-05-08 | Bump version | Robert Ryan | |
2020-05-08 | Merge pull request #789 from ccgus/robertmryan/mrc-garbage-value | August "Gus" Mueller | |
Uninitialized object in manual reference counting | |||
2020-05-08 | Uninitialized object in manual reference counting | Robert Ryan | |
2020-05-08 | Merge branch 'robertmryan-robertmryan/allow-rebinding' | August Mueller | |
2020-05-06 | Allow rebinding of values for prepared queries | Robert Ryan | |
2020-05-06 | Fix links | Robert Ryan | |
2020-05-05 | Changed the value of a loop var to match accessing an array, ultimately to ↵ | August Mueller | |
make the compiler be quiet. | |||
2020-05-05 | Merge branch 'robertmryan-master' | August Mueller | |
2020-05-05 | Improve FMDBVersion | Robert Ryan | |
- Previously, `FMDBVersion` would break if any component exceeded 9. - With this change, it doesn't break until any component exceeds 15, at which point it will max out at 0xf for that component and log an error. - Added documentation suggesting FMDBUserVersion with NSNumericSearch option. - Added unit tests for proper version number checking. - While unit testing, I noticed that `testBoolInsert` was attempting `[NSNumber numberWithBool:12]`, which is not valid. Replaced with `YES`. | |||
2020-04-23 | Version bump for the SPM2.7.6 | August Mueller | |
2020-02-22 | Merge pull request #774 from bamx23/fix-podspec | August "Gus" Mueller | |
Fix header_dir path in podspec | |||
2020-02-18 | fix header_dir path in podspec | Nikolay Volosatov | |
2019-12-14 | Merge pull request #768 from niveus/Check-for-SQLCiphersw01master1612 | August "Gus" Mueller | |
Check that we are actually connected to an SQLCipher DB | |||
2019-12-13 | Change flag to SQLCIPHER_CRYPTO | jason | |
2019-12-13 | Check that we are actually connected to an SQLCipher db | jason | |
2019-11-19 | Merge pull request #762 from Nelyus/swiftpm | August "Gus" Mueller | |
Add SPM manifest with a library target | |||
2019-11-18 | Add SPM manifest with a library target | Pierre Monod-Broca | |
2019-08-21 | Merge pull request #753 from R4N/sqlcipher-version-cap | August "Gus" Mueller | |
Adds SQLCipher subspec major version cap which will prevent `pod upda… | |||
2019-08-21 | Adds SQLCipher subspec major version cap which will prevent `pod update` ↵ | Micah Moore | |
from updating beyond the current major version until explicitly changed in pod subspec. | |||
2019-06-19 | Merge pull request #743 from wix-playground/AddMissingDoplymentTargets | August "Gus" Mueller | |
Add missing OS deployment targets to project targets | |||
2019-06-19 | Merge pull request #742 from wix-playground/EnableARCinFMDB | August "Gus" Mueller | |
Enable ARC in the static FMDB target | |||
2019-06-19 | Add missing OS deployment targets to project targets | Leo Natan | |
2019-06-19 | Enable ARC in the static FMDB target | Leo Natan | |
2019-04-16 | Merge pull request #719 from djs66256/master | August "Gus" Mueller | |
Fix errmsg leaks | |||
2019-01-31 | Documentation update. | August Mueller | |
2019-01-26 | Merge branch 'rimasm-master' | August Mueller | |