Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
  • 103 commits
  • 16 files changed
  • 0 comments
  • 10 contributors
Apr 09, 2011
Dave DeLong davedelong Added method to validate a SQL statement d8f93d8
Dave DeLong davedelong Added method to retrieve the number of columns in a result set b219b02
Dave DeLong davedelong Added methods to execute a query or update with an NSString-style for…
…mat string
c8ff945
Dave DeLong davedelong Minor method name tweak bd58e67
Dave DeLong davedelong Updated CHANGES document and wrote some documentation 8d38b7e
Apr 30, 2011
August "Gus" Mueller ccgus Merge pull request #11 from davedelong/master.
FMDB: now with more documentation!
c2a13ff
August "Gus" Mueller ccgus Code cleanup, and renamed a method back to what it prevously was, sin…
…ce I don't want to break any existing code.
ee222a9
August "Gus" Mueller ccgus Examples from davedelong c69c9ba
Jun 20, 2011
August "Gus" Mueller ccgus Adding an ignore. a43c195
Jun 22, 2011
August "Gus" Mueller ccgus Changed some methods to properties. Hello 2011. c9c2637
August "Gus" Mueller ccgus Added a warning when you try and use a database that wasn't opened. H…
…acked together based on patches from Drarok Ithaqua
cef9e7b
August "Gus" Mueller ccgus Fixed a problem under GC where leaked statments were keeping a databa…
…se from closing. Patch from Chris Dolan.

    Added + (BOOL)isThreadSafe to FMDatabase.  It'll let you know if the version of SQLite you are running is compiled with it's thread safe options.  THIS DOES NOT MEAN FMDATABASE IS THREAD SAFE.  I haven't done a review of it for this case, so I'm just saying.
a545f71
August "Gus" Mueller ccgus Removed a header that wasn't needed. 06b79c1
August "Gus" Mueller ccgus So, this is an attempt to make FMDatabase thread safe. Fun times! 7c2141e
August "Gus" Mueller ccgus Cleaning up a stray NSLog 4d5d989
August "Gus" Mueller ccgus I'm starting to think I'm doing this the wrong way. 8684683
Jun 23, 2011
August "Gus" Mueller ccgus Another stab at doing things and making threads happy. 793c6ef
August "Gus" Mueller ccgus Got the order of things wrong with transactions + a pool. a010ef4
August "Gus" Mueller ccgus Added a note that I'm not to happy about the method names I've added. 358f9c2
August "Gus" Mueller ccgus Bug fixes, doc updates dfd8fb9
August "Gus" Mueller ccgus quick test addition, and documentation updates 507c7f1
August "Gus" Mueller ccgus typo fix. abb40cd
August "Gus" Mueller ccgus doc update 3ec98ec
Jun 24, 2011
August "Gus" Mueller ccgus added support for savepoints (a kind of nested transaction) e2120a6
August "Gus" Mueller ccgus foo 5677245
Jul 14, 2011
August "Gus" Mueller ccgus make sure this value is cast correctly. 30d4780
August "Gus" Mueller ccgus Added parameter support. b6af107
August "Gus" Mueller ccgus Changed FMDatabase's "- (BOOL)update:(NSString*)sql error:(NSError**)…
…outErr bind:(id)bindArgs, ... " to "- (BOOL)update:(NSString*)sql withErrorAndBindings:(NSError**)outErr, ..." as the previous method didn't actually work as advertised in the way it was written. Thanks to @jaekwon for pointing this out.
a3498a3
Jul 15, 2011
August "Gus" Mueller ccgus Importing Foundation instead of Cocoa. 1329039
August "Gus" Mueller ccgus Merge branch 'threadtests' of github.com:ccgus/fmdb into threadtests 9a3709f
Jul 18, 2011
August "Gus" Mueller ccgus Fixed some compiler warnings that show up in a future version of clang. 12d227c
August "Gus" Mueller ccgus Hey, how about some quick tests for that last commit? b7aac2a
August "Gus" Mueller ccgus Took out a leftover debug statement. b057ebf
Jul 21, 2011
August "Gus" Mueller ccgus The setting to crash on errors actually crashes now (by way of callin…
…g abort), instead of throwing an exception.
dc359ce
Aug 02, 2011
August "Gus" Mueller ccgus Quick little test. a6f77c9
Aug 09, 2011
Matt Pakes mpakes Fix several va_arg errors revealed by LLVM GCC 4.2 b85d298
Aug 17, 2011
August "Gus" Mueller ccgus Merge pull request #28 from mpakes/master
Fix for issue #15 - va_arg errors with LLVM GCC 4.2
a80dda5
Aug 19, 2011
August "Gus" Mueller ccgus added a warning as a note to myself to make _pool a weak ivar. 93d4536
Aug 20, 2011
August "Gus" Mueller ccgus Added __weak ivar support for the database pool if you're on 10.7 or …
…later.
ebc0f4e
Aug 31, 2011
August "Gus" Mueller ccgus Edited README.markdown via GitHub 606b29d
August "Gus" Mueller ccgus Edited README.markdown via GitHub 1d82318
Oct 11, 2011
August "Gus" Mueller ccgus Include fixes, and making an exception thrown when a query is used in…
… executeUpdate:
9c5df78
Nov 03, 2011
August "Gus" Mueller ccgus Oh, just a little refactor. 2ae7b82
Nov 04, 2011
August "Gus" Mueller ccgus Sandbox updates. 1c8a0ef
Nov 22, 2011
Vera Tkachenko ivira Fixed cast warnings: explicitly cast strlen result to int 63b12e2
August "Gus" Mueller ccgus Merge pull request #37 from ivira/master
Fix of warning when using sqlite with SQLITE_HAS_CODEC
be9cbd1
Nov 29, 2011
August "Gus" Mueller ccgus Added a new class that works as a queue for queries and updates, inst…
…ead of a pool- which you can still get deadlocked on if you aren't careful.
c0160b3
August "Gus" Mueller ccgus More example 40258d7
August "Gus" Mueller ccgus bugga 3ee000b
August "Gus" Mueller ccgus Added a close method to the database queue 1aea390
August "Gus" Mueller ccgus Added a warning if there are result sets open when using the database…
… queue.
2f0225b
August "Gus" Mueller ccgus Project updates. fc7e1d2
Dec 08, 2011
August "Gus" Mueller ccgus Gotta put a close on a queue as well. Otherwise you'll go boom. e7f91d8
Dec 09, 2011
Sriram Patil Fixed a bug of closed db and did some pool optimizations c850c14
Dec 11, 2011
August "Gus" Mueller ccgus Merge pull request #40 from srirampatil/threadtests
Fixed a db closed bug and resolved some pool overflow issues
e432dbf
August "Gus" Mueller ccgus Whoops, don't want these two files as part of the distribution d710f44
August "Gus" Mueller ccgus Added Sriram Patil to the contributors list, for some good bug catche…
…s he found.
5fa3cdb
Dec 19, 2011
August "Gus" Mueller ccgus Added an access method for the database, so you can do configuration …
…stuff on it.
41146ef
Dec 21, 2011
August "Gus" Mueller ccgus executeUpdate: wasn't returning the correct value when a bad query we…
…nt though.
d9c0b0e
Dec 23, 2011
August "Gus" Mueller ccgus Added some macros so that FMDB can be used in ARC and non-ARC'd proje…
…cts.
c3ec8a3
August "Gus" Mueller ccgus Fixed some formatting issues. f291760
Jan 05, 2012
August "Gus" Mueller ccgus Updated the readme to point to the sqlite faq as well. 473b3f2
Jan 09, 2012
August "Gus" Mueller ccgus Added the ability to make custom sqlite functions from blocks. 5f14e7d
Feb 03, 2012
August "Gus" Mueller ccgus NSAssert fixes for building on older sdks. c18eac4
Feb 06, 2012
August "Gus" Mueller ccgus How the hell did all these tabs get in here… 423fbc7
Feb 07, 2012
August "Gus" Mueller ccgus "Unlike with dispatch_async, no retain is performed on the target queue" 8d63f4d
August "Gus" Mueller ccgus Fixes for ARC 2744837
Feb 08, 2012
August "Gus" Mueller ccgus Fixes for ARC + the latest llvm. e3dfb9d
Feb 09, 2012
August "Gus" Mueller ccgus Added a note to the queue class, about how it would be awesome to use…
… DISPATCH_QUEUE_CONCURRENT + dispatch_barrier_async some day.
626fa9e
Feb 10, 2012
August "Gus" Mueller ccgus Took out FMDatabasePool from the readme, moved those docs to its head…
…er. I really want to discourage its use if possible. Took away -database from FMDatabaseQueue since I've already seen it misused once, and if you really need to get at it, you can do so with the inDatabase: methods.
58c3e70
August "Gus" Mueller ccgus Got rid of the pop and pull from the database pool- too dangerous! Up…
…dated readme and tests.
ab3b78c
Feb 15, 2012
August "Gus" Mueller ccgus Merge branch 'threadtests'
Conflicts:
	README.markdown
	src/FMDatabase.m
b2047f9
August "Gus" Mueller ccgus Lots of questions about the temp database creation- so I'm pointing t…
…o the sqlite docs in the readme for this.
8831f61
August "Gus" Mueller ccgus Random code and documentation cleanup. 0cfca84
Feb 21, 2012
August "Gus" Mueller ccgus Fixed a little bug in the docs. ba22f34
Mar 19, 2012
August "Gus" Mueller ccgus Added support for unsigned long long int values. 87748d1
Mar 22, 2012
August "Gus" Mueller ccgus blah 355a591
August "Gus" Mueller ccgus Fixing some conflicts. 5160fc0
August "Gus" Mueller ccgus deprecated resultDict, and added resultDictionary (which is now case …
…sensitive)
347cf12
August "Gus" Mueller ccgus Fixed a problem with getTableSchema: not working with table names tha…
…t start with a number.
a887a6f
Mar 25, 2012
August "Gus" Mueller ccgus Suppressing some clang warnings for deprecated methods. ceef9e7
Apr 05, 2012
August "Gus" Mueller ccgus Added an attach database test. ccee9b6
Apr 27, 2012
August "Gus" Mueller ccgus Quick update on a little test. c226e8e
May 07, 2012
Oleksandr Dodatko dodikk fixed error domain behaviour f0bf7d2
Oleksandr Dodatko dodikk Merge remote-tracking branch 'origin/master' fd13226
May 09, 2012
August "Gus" Mueller ccgus Quick unicode test to quell my paranoia. 9c749a9
May 10, 2012
August "Gus" Mueller ccgus Added a template function to help people write bugs. 40639ab
August "Gus" Mueller ccgus Added a section on reporting bugs. 8e69bff
May 11, 2012
August "Gus" Mueller ccgus Merge pull request #68 from EmbeddedSources/master
Fixed errors handling
78784e3
August "Gus" Mueller ccgus Code cleanup 46614e2
May 25, 2012
August "Gus" Mueller ccgus Deprecated columnExists:columnName: in favor of columnExists:inTableW…
…ithName:
eef8842
August "Gus" Mueller ccgus Merge branch 'master' of github.com:ccgus/fmdb into threadtests 00ed465
August "Gus" Mueller ccgus Damn warnings. 5d87488
Jun 01, 2012
August "Gus" Mueller ccgus Changed up the behavior of binding empty NSData objects ([NSData data…
…]). It will now insert an empty value, rather than a null value- which is consistent with [NSMutableData data] and empty strings (see ccgus#73 for a discussion on this).  Thanks to Jens Alfke for pointing this out!
8666d8f
Jun 17, 2012
August "Gus" Mueller ccgus Fixed a bunch of warnings that would come up with certain compiler op…
…tions.
8fba9b8
August "Gus" Mueller ccgus Merge branch 'master' of github.com:ccgus/fmdb f0904b4
Jun 29, 2012
August "Gus" Mueller ccgus Cleaned up the docs to not mention a private API. (Instead of pointin…
…g to "update:withErrorAndBindings:", I should really clean up that method and then document it.)
d065d5e
Jul 04, 2012
August "Gus" Mueller ccgus pragmas are confusing. 1777d2e
Jul 23, 2012
August "Gus" Mueller ccgus Marked the properties as atomic, since that is what they were by defa…
…ult.
de5bff4
Aug 05, 2012
Geoffrey Foster g-Off neither Mac OS X 10.8 and iOS 6 require a dispatch_release under ARC aef763e
Aug 08, 2012
August "Gus" Mueller ccgus Merge pull request #89 from g-Off/master
Won't compile with ARC on OS X 10.8 and iOS 6 with dispatch_release
5890f1a
August "Gus" Mueller ccgus Notes and SDK changes. 3d7eaf6
Oct 12, 2012
Mike Grossheim Merge remote-tracking branch 'upstream/master'
Conflicts:
	src/FMResultSet.m
b38f510