369 Commits

Author SHA1 Message Date
Rob Ryan
3bee035764 Swift instructions 2014-10-13 15:07:08 -04:00
Rob Ryan
ca84a7cb7e Modified extras
Added `FMDatabaseVariadic` Swift extension for FMDatabase.
Moved InMemoryOnDiskIO
2014-10-13 14:14:42 -04:00
Rob Ryan
298602b44a Add Swift extension
Added extension for variadic renditions of `executeUpdate` and `executeQuery`.
2014-10-13 14:13:27 -04:00
August "Gus" Mueller
f6f96d44bf Merge pull request #306 from nemesis/patch-1
Bump version in README.markdown
2014-10-03 09:48:20 -07:00
Constantin Lungu
fc10e5fe7f Removed an unneeded newline in multiple statements code block 2014-10-03 11:28:43 +03:00
Constantin Lungu
2c1e08ba27 Updated CocoaPods section of README and also trimmed whitespace 2014-10-03 11:26:17 +03:00
Costea Lungu
7c418f7e75 Bump version in README.markdown 2014-10-02 19:25:40 +03:00
August "Gus" Mueller
15b6ebbc55 Merge pull request #302 from stephanheilner/podspec_tagname
Use correct tag version name
2014-09-23 09:14:10 -07:00
Stephan Heilner
3fe3e499e5 Use correct tag version name 2014-09-23 09:54:39 -06:00
August "Gus" Mueller
911279324f Merge pull request #300 from stephanheilner/podspec_update
Created separate FTS subspec which includes custom FM tokenizers
v2.4
2014-09-19 09:10:49 -07:00
Stephan Heilner
425466da5b Instead of using + in the subspec name, created a subsubspec 2014-09-17 10:55:40 -06:00
Stephan Heilner
fc1fc94f45 Created FTS and standalone+FTS subspecs 2014-09-17 10:06:46 -06:00
Stephan Heilner
3347b1c74f Created separate FTS subspec which includes custom FM tokenizers 2014-09-16 15:55:10 -06:00
August Mueller
b2293c16a4 Moved some files around. 2014-09-10 11:08:41 -07:00
Andrew Goodale
cf9e686a8e Added FTS3 source files and tests to FMDB project. 2014-08-28 12:55:56 -06:00
Andrew Goodale
4d5ad5f819 Can now access all the offsets() integers, not just the first.
Fixed byte position issues with custom tokenizers.
2014-08-28 12:55:04 -06:00
Andrew Goodale
0cf527cc4a Merge remote-tracking branch 'ccgus/master' 2014-08-26 13:00:38 -06:00
August Mueller
98be50b188 pedantic 2014-08-25 09:21:12 -07:00
August Mueller
cbb9cda827 sssssh clang, it'll be alright. 2014-08-23 13:15:44 -07:00
August Mueller
e713da239b Move the CocoaPods markers down to the CocoaPods section. 2014-08-13 10:03:19 -07:00
August "Gus" Mueller
d607c84f29 Merge pull request #293 from reiz/master
Adding 2 Badges
2014-08-13 10:01:44 -07:00
Robert Reiz
fe739de09c Add References Badge to Readme 2014-08-11 09:30:37 +02:00
Robert Reiz
22bb96a239 Add Dependency Badge 2014-08-11 09:29:51 +02:00
August Mueller
7eeb72d77b Merge branch 'robertmryan-master' 2014-08-02 14:12:52 -07:00
Andrew Goodale
aa511210e9 Fix offsets for two-word query terms. 2014-07-31 21:15:36 -04:00
robertmryan
e0a807c88e Simplify tests and add objectForColumnName test for the char value 2014-07-31 10:03:56 -04:00
robertmryan
f67190bfe7 Adjust encoding of BOOL and char values
Because `@encode(BOOL)` is the same as `@encode(char)`, the code was applying `BOOL` logic to char values. I’ve moved the `BOOL` logic to the end of the if statements. As it turns out, it will probably never reach that line because the `char` logic will take care of it fine. But it seemed like good defensive programming to keep the `BOOL` logic in there, nonetheless, in case Objective-C ever introduces a different `objCType` encoding for `BOOL`.

I also added a unit test for `BOOL` and `char` values.
2014-07-31 09:57:37 -04:00
Andrew Goodale
ff97584fff Stop word tokenizer needs to ignore prefix queries.
Fixed a warning under 64-bit builds.
2014-07-26 09:26:43 -04:00
Andrew Goodale
48a822a9a0 Improved string buffer handling
Handle NULL input string.
Remove extra buffer allocation.
2014-07-07 22:34:54 -04:00
August "Gus" Mueller
25fb1fc568 Merge pull request #281 from DaleJefferson/master
Fix typo, should be FMDB.h not .m
2014-07-03 09:16:07 -07:00
Dale Jefferson
7cfb889412 Fix typo, should be FMDB.h not .m 2014-07-03 14:40:44 +01:00
August Mueller
287cff6905 Added some warnings, and fixed some warnings. 2014-06-25 09:45:33 -07:00
August "Gus" Mueller
02152a125d Merge pull request #278 from scelis/fix_block_warnings
Fix CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF warnings
2014-06-25 09:43:47 -07:00
Sebastian Celis
fe0bbbcd9e Fix CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF warnings. 2014-06-23 14:52:33 -05:00
August Mueller
000944faca blah 2014-06-13 10:09:50 -07:00
August Mueller
355a4e64c3 Updated readme pointing to other projects using FMDB, as well as a support section telling everyone to send me all their money. 2014-06-13 10:08:50 -07:00
August "Gus" Mueller
545d3b7855 Merge pull request #272 from robertmryan/master
Use `dataWithBytes` instead of `memcpy`
2014-06-08 14:28:20 -07:00
Rob Ryan
aada6f6549 Use dataWithBytes instead of memcpy 2014-06-03 18:23:57 -04:00
August "Gus" Mueller
251fe3029e Merge pull request #271 from aryounce/patch-1
Added cast to fix warning on 32-bit builds.
2014-05-31 14:22:42 -07:00
A. R. Younce
32bb710845 Added cast to fix warning on 32-bit builds.
The call to memcpy in -dataForColumnIndex: was being passed an int (it accepts a size_t, ie: long on some platforms). This generated a warning in Xcode 5 when building (in my instance) for the iPad.
2014-05-31 14:52:53 -04:00
Andrew Goodale
2962886457 Implemented accessor for offsets() in a result set. 2014-05-30 15:48:29 -04:00
Andrew Goodale
c35fa77245 Exposed method to run FTS commands. 2014-05-29 15:02:24 -04:00
August "Gus" Mueller
ca68a5f880 Merge pull request #269 from robertmryan/master
Update documentation for executeQueryWithFormat and executeUpdateWithFormat
2014-05-26 14:28:49 -07:00
robertmryan
94c1ba93d8 Update documentation for executeQueryWithFormat and executeUpdateWithFormat 2014-05-25 22:41:50 -04:00
August Mueller
b0a6cf625f Updates to the readme. 2014-05-13 12:24:35 -07:00
August "Gus" Mueller
97c1366ac2 Merge pull request #266 from rlaferla/master
Update FMDatabase.m
2014-05-13 09:46:29 -07:00
Robert La Ferla
653d82a5f0 Update FMDatabase.m
Added trace of dictionary parameters in executeUpdate and executeQuery.
2014-05-13 01:46:57 -04:00
August "Gus" Mueller
af39ee6dfa Merge pull request #265 from GalacticMegacorp/requires-arc
Require ARC when using via CocoaPods.
2014-05-08 10:53:16 -07:00
Hilton Campbell
9c1747cb18 Require ARC when using via CocoaPods. 2014-05-07 16:15:08 -06:00
August "Gus" Mueller
e052477dc8 Merge pull request #260 from robertmryan/master
Fix minor typos
v2.3
2014-05-03 20:20:58 -07:00