Permalink
Commits on May 26, 2017
  1. Update change log

    robertmryan committed May 26, 2017
  2. Merge pull request #584 from robertmryan/master

    2.7 - Audit for nullability
    robertmryan committed on GitHub May 26, 2017
Commits on May 23, 2017
  1. Remove Swift Variadic

    robertmryan committed May 23, 2017
  2. Minor README fixes

    robertmryan committed May 23, 2017
  3. Implement properties

    There were several properties that were implemented as simple getter and setter methods, with no formal property definitions, but with manually defined ivars. In Objective-C this isn't problematic (as the Objective-C "dot" notation is merely syntactic sugar), but it leads to an unintuitive interface for Swift. By shifting these manually implemented getter/setters with manual ivars to properties makes the code a little more intuitive, and leads to more natural looking code in Swift (e.g. rather than `let timeout = db.maxBusyRetryTimeInterval()` and `db.setMaxBusyRetryTimeInterval(value)`, we can just do more natural `let timeout = db.maxBusyRetryTimeoutInterval` and `db.maxBusyRetryTimeInterval = value`. Affected properties include `databasePath`, `maxBusyRetryTimeInterval`, `shouldCacheStatements`, `sqliteHandle`, `hasOpenResultSets`, `lastInsertRowId`, `changes`, `goodConnection`, `columnCount`, `resultDictionary`, `applicationID`, `applicationIDString`, `userVersion`, `countOfCheckedInDatabases`, `countOfCheckedOutDatabases`, and `countOfOpenDatabases`.
    
    Also updated documentation for the file URL based methods.
    
    Also a few deprecated methods have been updated with `__deprecated_msg` so that the app developers have a fighting chance to see what the replacement method should be.
    
    Renamed `isInTransaction`.
    
    Fixed a few nullability definitions, e.g. `stringForColumn` (and all the other similar ones that return pointers), `columnNameForIndex`, etc.
    
    The `objectForColumn` (and the associated subscript operator) now returns `nil` if an invalid column name/index is passed to it. It used to return `NSNull`. I've created unit tests that test that.
    
    Updated README
    robertmryan committed May 23, 2017
Commits on May 20, 2017
  1. Removed ivars from public interfaces

    - Moved into private class extensions.
    - Removed ivars that will be synthesized for us
    - Removed unnecessary synthesize statements
    robertmryan committed May 20, 2017
Commits on Jan 11, 2017
  1. 2.7

    - Audited for nullability;
    - Updated `makeFunctionNamed` and added associated utility `value` and `result` methods;
    - Added URL methods;
    - As adding tests for new methods, expanded test coverage a bit (now over 80% coverage);
    - Updated VFS tests to make sure they unregister;
    robertmryan committed Jan 11, 2017
Commits on Jan 4, 2017
  1. Merge pull request #563 from robertmryan/master

    Update README for Swift 3
    committed on GitHub Jan 4, 2017
  2. Update README for Swift 3

    Notably, in `inTransaction`, in Swift 3:
    
     - the parameters are optionals (because FMDB has not yet been audited for nullability) and
     - `memory` has been replaced with `pointee`.
    robertmryan committed Jan 4, 2017
Commits on Dec 9, 2016
  1. Merge pull request #556 from KrauseFx/patch-1

    Enable syntax highlighting in README
    committed on GitHub Dec 9, 2016
  2. Enable syntax highlighting in README

    KrauseFx committed on GitHub Dec 9, 2016
Commits on Nov 17, 2016
  1. Merge pull request #551 from michalzelinka/master

    Patched minor compilation warning for NDEBUG-defined builds
    committed on GitHub Nov 17, 2016
Commits on Nov 15, 2016
  1. Merge pull request #549 from michalzelinka/master

    Feature-conditional statements for `-finalize` method to opt-out GC methods when using ARC
    committed on GitHub Nov 15, 2016
Commits on Nov 14, 2016
  1. Added feature-conditional statements for `-finalize` method to preven…

    …t use when ARC is available
    
    – this fixes compilation warnings appearing since Xcode 8 due to deprecated Garbage collection support
    michalzelinka committed Nov 14, 2016
Commits on Oct 4, 2016
  1. Merge pull request #539 from robertmryan/master

    Update README
    committed on GitHub Oct 4, 2016
  2. Update README

    1. Remove hard coded `/tmp` folder. At the very least, use `NSTemporaryDirectory`. You can also use `URLForDirectory` with `NSItemReplacementDirectory`, but I agree [with NSHipster says](http://nshipster.com/nstemporarydirectory/) that `NSTemporaryDirectory` is fine.
    2. Comment out `[db release]` because for 99% of users, now, this isn't appropriate. But `nil` the pointer either way (in MRC, eliminate dangling pointer reference, in ARC, remove your strong reference).
    robertmryan committed Oct 4, 2016
Commits on Sep 22, 2016
  1. Merge pull request #536 from robertmryan/master

    Expose `sqlite3_extended_errcode`
    committed on GitHub Sep 22, 2016
  2. Add extended error code

    Expose `sqlite3_extended_errcode` API.
    robertmryan committed Sep 22, 2016
  3. Update comments

    Remove recommendation to use variadic rendition for Swift users. Frankly, the variadic extension should probably be retired.
    robertmryan committed Sep 22, 2016
Commits on Aug 10, 2016
  1. Update README for Swift 3

    robertmryan committed Aug 10, 2016
  2. Updated README for Swift 3

    robertmryan committed Aug 10, 2016
Commits on Jun 8, 2016
  1. Merge pull request #504 from evands/reapply-interrupt

    Re-add the ability to interrupt a query in progress
    committed Jun 8, 2016
  2. Reapplied [cbc4188] (Added interrupt method to cancel/interrupt pendi…

    …ng database operation - Marek Serafin <marek@snowheads.pl>) which was (presumably accidentally) removed in [59f8d63].
    Evan D. Schoenberg, M.D committed Jun 8, 2016
Commits on May 24, 2016
  1. Merge pull request #496 from BennettSmith/master

    Resolves default_subspecs error in podfile.
    committed May 24, 2016
Commits on Apr 6, 2016
  1. Merge pull request #480 from gloubibou/master

    Added support for custom database class and vfsName
    committed Apr 6, 2016
  2. Code formatting

    Replaced tabs with spaces
    Pierre Bernard committed Apr 6, 2016
Commits on Apr 5, 2016
  1. Support for custom database class and vfsName

    Brings API in line with FMDatabaseQueue
    Pierre Bernard committed Apr 5, 2016
  2. Use custom db class when re-opening database

    Re-opening the database did not use custom databaseClass nor vfsName
    Pierre Bernard committed Apr 5, 2016
Commits on Mar 22, 2016
  1. Code cleanup

    committed Mar 22, 2016
Commits on Mar 1, 2016
  1. Cleanup

    committed Mar 1, 2016
Commits on Feb 27, 2016
Commits on Feb 4, 2016
  1. Merge pull request #466 from antons/master

    Improve FTS tokenization performance
    committed Feb 4, 2016