Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/ccgus/fmdb.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-10-06Merge branch 'tiwoc-fix-assign-object-property'HEADmasterAugust Mueller
2022-10-06Quick little test fix by cleaning up where the actual temp dir is.August Mueller
2022-10-06Fix dangling reference warning on assign object propertyDaniel 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-14Merge branch 'tstump-phunware-bugfix/fix_project_file_and_cocoapods_integration'August Mueller
2021-06-12Update project file formatting to match Xcode's auto-formattingTroy Stump
2021-06-12Lower iOS deployment target to 9.0Troy Stump
2021-06-12Update podspec to include the same deployment targets as defined by the ↵Troy Stump
Xcode project
2021-06-12Update all targets to inherit their deployment target(s) from the project's ↵Troy Stump
default deployment target settings
2021-06-12Remove unused project localizationsTroy Stump
2021-06-12Bump project compatibility version to Xcode 12.0Troy Stump
2021-03-25Merge branch 'robertmryan-master'August Mueller
2021-03-25Safari's icon has changed names, so the test was failing.August Mueller
2021-03-25Add typeForColumn functionsRobert 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-30Merge pull request #806 from jamesstout/update_podspecAugust "Gus" Mueller
Update FMDB.podspec
2020-11-30Update FMDB.podspecJames Stout
added osx.deployment_target = '10.11'
2020-11-07Added a privacy doc to help out devs with some questions that Apple is now ↵August Mueller
asking app developers.
2020-10-11Words.August Mueller
2020-10-11Merge pull request #803 from Token-LiMing/patch-1August "Gus" Mueller
Update example code for FMResultSet
2020-10-11Update 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-29Merge pull request #794 from MartinJNash/mjn/update-readme-spmAugust "Gus" Mueller
Added SPM section to README
2020-05-27Added section about importing FMDB via the Swift Package Manager to README.mdMartin Nash
2020-05-12Merge pull request #791 from ccgus/robertmryan/update-documentation2.7.7August "Gus" Mueller
Update header comments & documentation
2020-05-09Update header comments & documentationRobert Ryan
2020-05-08Merge pull request #790 from ccgus/robertmryan/bump-versionAugust "Gus" Mueller
Bump version
2020-05-08Bump versionRobert Ryan
2020-05-08Merge pull request #789 from ccgus/robertmryan/mrc-garbage-valueAugust "Gus" Mueller
Uninitialized object in manual reference counting
2020-05-08Uninitialized object in manual reference countingRobert Ryan
2020-05-08Merge branch 'robertmryan-robertmryan/allow-rebinding'August Mueller
2020-05-06Allow rebinding of values for prepared queriesRobert Ryan
2020-05-06Fix linksRobert Ryan
2020-05-05Changed the value of a loop var to match accessing an array, ultimately to ↵August Mueller
make the compiler be quiet.
2020-05-05Merge branch 'robertmryan-master'August Mueller
2020-05-05Improve FMDBVersionRobert 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-23Version bump for the SPM2.7.6August Mueller
2020-02-22Merge pull request #774 from bamx23/fix-podspecAugust "Gus" Mueller
Fix header_dir path in podspec
2020-02-18fix header_dir path in podspecNikolay Volosatov
2019-12-14Merge pull request #768 from niveus/Check-for-SQLCiphersw01master1612August "Gus" Mueller
Check that we are actually connected to an SQLCipher DB
2019-12-13Change flag to SQLCIPHER_CRYPTOjason
2019-12-13Check that we are actually connected to an SQLCipher dbjason
2019-11-19Merge pull request #762 from Nelyus/swiftpmAugust "Gus" Mueller
Add SPM manifest with a library target
2019-11-18Add SPM manifest with a library targetPierre Monod-Broca
2019-08-21Merge pull request #753 from R4N/sqlcipher-version-capAugust "Gus" Mueller
Adds SQLCipher subspec major version cap which will prevent `pod upda…
2019-08-21Adds 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-19Merge pull request #743 from wix-playground/AddMissingDoplymentTargetsAugust "Gus" Mueller
Add missing OS deployment targets to project targets
2019-06-19Merge pull request #742 from wix-playground/EnableARCinFMDBAugust "Gus" Mueller
Enable ARC in the static FMDB target
2019-06-19Add missing OS deployment targets to project targetsLeo Natan
2019-06-19Enable ARC in the static FMDB targetLeo Natan
2019-04-16Merge pull request #719 from djs66256/masterAugust "Gus" Mueller
Fix errmsg leaks
2019-01-31Documentation update.August Mueller
2019-01-26Merge branch 'rimasm-master'August Mueller