forked from ccgus/fmdb
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
12 changed files
with
2,290 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
If you are using fmdb in your project, I'd love to hear about it. Let me | ||
know at [email protected]. | ||
|
||
In short, this is the MIT License. | ||
|
||
Copyright (c) 2008 Flying Meat Inc. | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy | ||
of this software and associated documentation files (the "Software"), to deal | ||
in the Software without restriction, including without limitation the rights | ||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
copies of the Software, and to permit persons to whom the Software is | ||
furnished to do so, subject to the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be included in | ||
all copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN | ||
THE SOFTWARE. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
FMDB | ||
==== | ||
|
||
This is an Objective-C wrapper around SQLite: http://sqlite.org/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,79 @@ | ||
.\"Modified from man(1) of FreeBSD, the NetBSD mdoc.template, and mdoc.samples. | ||
.\"See Also: | ||
.\"man mdoc.samples for a complete listing of options | ||
.\"man mdoc for the short list of editing options | ||
.\"/usr/share/misc/mdoc.template | ||
.Dd 5/11/06 \" DATE | ||
.Dt fmdb 1 \" Program name and manual section number | ||
.Os Darwin | ||
.Sh NAME \" Section Header - required - don't modify | ||
.Nm fmdb, | ||
.\" The following lines are read in generating the apropos(man -k) database. Use only key | ||
.\" words here as the database is built based on the words here and in the .ND line. | ||
.Nm Other_name_for_same_program(), | ||
.Nm Yet another name for the same program. | ||
.\" Use .Nm macro to designate other names for the documented program. | ||
.Nd This line parsed for whatis database. | ||
.Sh SYNOPSIS \" Section Header - required - don't modify | ||
.Nm | ||
.Op Fl abcd \" [-abcd] | ||
.Op Fl a Ar path \" [-a path] | ||
.Op Ar file \" [file] | ||
.Op Ar \" [file ...] | ||
.Ar arg0 \" Underlined argument - use .Ar anywhere to underline | ||
arg2 ... \" Arguments | ||
.Sh DESCRIPTION \" Section Header - required - don't modify | ||
Use the .Nm macro to refer to your program throughout the man page like such: | ||
.Nm | ||
Underlining is accomplished with the .Ar macro like this: | ||
.Ar underlined text . | ||
.Pp \" Inserts a space | ||
A list of items with descriptions: | ||
.Bl -tag -width -indent \" Begins a tagged list | ||
.It item a \" Each item preceded by .It macro | ||
Description of item a | ||
.It item b | ||
Description of item b | ||
.El \" Ends the list | ||
.Pp | ||
A list of flags and their descriptions: | ||
.Bl -tag -width -indent \" Differs from above in tag removed | ||
.It Fl a \"-a flag as a list item | ||
Description of -a flag | ||
.It Fl b | ||
Description of -b flag | ||
.El \" Ends the list | ||
.Pp | ||
.\" .Sh ENVIRONMENT \" May not be needed | ||
.\" .Bl -tag -width "ENV_VAR_1" -indent \" ENV_VAR_1 is width of the string ENV_VAR_1 | ||
.\" .It Ev ENV_VAR_1 | ||
.\" Description of ENV_VAR_1 | ||
.\" .It Ev ENV_VAR_2 | ||
.\" Description of ENV_VAR_2 | ||
.\" .El | ||
.Sh FILES \" File used or created by the topic of the man page | ||
.Bl -tag -width "/Users/joeuser/Library/really_long_file_name" -compact | ||
.It Pa /usr/share/file_name | ||
FILE_1 description | ||
.It Pa /Users/joeuser/Library/really_long_file_name | ||
FILE_2 description | ||
.El \" Ends the list | ||
.\" .Sh DIAGNOSTICS \" May not be needed | ||
.\" .Bl -diag | ||
.\" .It Diagnostic Tag | ||
.\" Diagnostic informtion here. | ||
.\" .It Diagnostic Tag | ||
.\" Diagnostic informtion here. | ||
.\" .El | ||
.Sh SEE ALSO | ||
.\" List links in ascending order by section, alphabetically within a section. | ||
.\" Please do not reference files that do not exist without filing a bug report | ||
.Xr a 1 , | ||
.Xr b 1 , | ||
.Xr c 1 , | ||
.Xr a 2 , | ||
.Xr b 2 , | ||
.Xr a 3 , | ||
.Xr b 3 | ||
.\" .Sh BUGS \" Document known, unremedied bugs | ||
.\" .Sh HISTORY \" Document history if command behaves in a unique manner |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,259 @@ | ||
// !$*UTF8*$! | ||
{ | ||
archiveVersion = 1; | ||
classes = { | ||
}; | ||
objectVersion = 45; | ||
objects = { | ||
|
||
/* Begin PBXBuildFile section */ | ||
8DD76F9C0486AA7600D96B5E /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 08FB779EFE84155DC02AAC07 /* Foundation.framework */; }; | ||
8DD76F9F0486AA7600D96B5E /* fmdb.1 in CopyFiles */ = {isa = PBXBuildFile; fileRef = C6859EA3029092ED04C91782 /* fmdb.1 */; }; | ||
CC50F2CD0DF9183600E4AAAE /* FMDatabaseAdditions.m in Sources */ = {isa = PBXBuildFile; fileRef = CC50F2CB0DF9183600E4AAAE /* FMDatabaseAdditions.m */; }; | ||
CCBEBDAC0DF5DE1A003DDD08 /* libsqlite3.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = CCBEBDAB0DF5DE1A003DDD08 /* libsqlite3.dylib */; }; | ||
CCC24EC10A13E34D00A6D3E3 /* FMDatabase.h in CopyFiles */ = {isa = PBXBuildFile; fileRef = CCC24EBA0A13E34D00A6D3E3 /* FMDatabase.h */; }; | ||
CCC24EC20A13E34D00A6D3E3 /* FMDatabase.m in Sources */ = {isa = PBXBuildFile; fileRef = CCC24EBB0A13E34D00A6D3E3 /* FMDatabase.m */; }; | ||
CCC24EC50A13E34D00A6D3E3 /* fmdb.m in Sources */ = {isa = PBXBuildFile; fileRef = CCC24EBE0A13E34D00A6D3E3 /* fmdb.m */; }; | ||
CCC24EC60A13E34D00A6D3E3 /* FMResultSet.h in CopyFiles */ = {isa = PBXBuildFile; fileRef = CCC24EBF0A13E34D00A6D3E3 /* FMResultSet.h */; }; | ||
CCC24EC70A13E34D00A6D3E3 /* FMResultSet.m in Sources */ = {isa = PBXBuildFile; fileRef = CCC24EC00A13E34D00A6D3E3 /* FMResultSet.m */; }; | ||
/* End PBXBuildFile section */ | ||
|
||
/* Begin PBXCopyFilesBuildPhase section */ | ||
8DD76F9E0486AA7600D96B5E /* CopyFiles */ = { | ||
isa = PBXCopyFilesBuildPhase; | ||
buildActionMask = 8; | ||
dstPath = /usr/share/man/man1/; | ||
dstSubfolderSpec = 0; | ||
files = ( | ||
8DD76F9F0486AA7600D96B5E /* fmdb.1 in CopyFiles */, | ||
CCC24EC10A13E34D00A6D3E3 /* FMDatabase.h in CopyFiles */, | ||
CCC24EC60A13E34D00A6D3E3 /* FMResultSet.h in CopyFiles */, | ||
); | ||
runOnlyForDeploymentPostprocessing = 1; | ||
}; | ||
/* End PBXCopyFilesBuildPhase section */ | ||
|
||
/* Begin PBXFileReference section */ | ||
08FB779EFE84155DC02AAC07 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = /System/Library/Frameworks/Foundation.framework; sourceTree = "<absolute>"; }; | ||
32A70AAB03705E1F00C91783 /* fmdb_Prefix.pch */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = fmdb_Prefix.pch; sourceTree = "<group>"; }; | ||
8DD76FA10486AA7600D96B5E /* fmdb */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = fmdb; sourceTree = BUILT_PRODUCTS_DIR; }; | ||
C6859EA3029092ED04C91782 /* fmdb.1 */ = {isa = PBXFileReference; lastKnownFileType = text.man; path = fmdb.1; sourceTree = "<group>"; }; | ||
CC50F2CB0DF9183600E4AAAE /* FMDatabaseAdditions.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = FMDatabaseAdditions.m; path = src/FMDatabaseAdditions.m; sourceTree = "<group>"; }; | ||
CC50F2CC0DF9183600E4AAAE /* FMDatabaseAdditions.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = FMDatabaseAdditions.h; path = src/FMDatabaseAdditions.h; sourceTree = "<group>"; }; | ||
CC8C138A0E3135C400FBE1E7 /* CHANGES_AND_TODO_LIST.txt */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = CHANGES_AND_TODO_LIST.txt; sourceTree = "<group>"; }; | ||
CC8C138B0E3135C400FBE1E7 /* LICENSE.txt */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = LICENSE.txt; sourceTree = "<group>"; }; | ||
CC8C138C0E3135C400FBE1E7 /* CONTRIBUTORS.txt */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = CONTRIBUTORS.txt; sourceTree = "<group>"; }; | ||
CCBEBDAB0DF5DE1A003DDD08 /* libsqlite3.dylib */ = {isa = PBXFileReference; lastKnownFileType = "compiled.mach-o.dylib"; name = libsqlite3.dylib; path = /usr/lib/libsqlite3.dylib; sourceTree = "<absolute>"; }; | ||
CCC24EBA0A13E34D00A6D3E3 /* FMDatabase.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = FMDatabase.h; path = src/FMDatabase.h; sourceTree = "<group>"; }; | ||
CCC24EBB0A13E34D00A6D3E3 /* FMDatabase.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = FMDatabase.m; path = src/FMDatabase.m; sourceTree = "<group>"; }; | ||
CCC24EBE0A13E34D00A6D3E3 /* fmdb.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = fmdb.m; path = src/fmdb.m; sourceTree = "<group>"; }; | ||
CCC24EBF0A13E34D00A6D3E3 /* FMResultSet.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = FMResultSet.h; path = src/FMResultSet.h; sourceTree = "<group>"; }; | ||
CCC24EC00A13E34D00A6D3E3 /* FMResultSet.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = FMResultSet.m; path = src/FMResultSet.m; sourceTree = "<group>"; }; | ||
/* End PBXFileReference section */ | ||
|
||
/* Begin PBXFrameworksBuildPhase section */ | ||
8DD76F9B0486AA7600D96B5E /* Frameworks */ = { | ||
isa = PBXFrameworksBuildPhase; | ||
buildActionMask = 2147483647; | ||
files = ( | ||
8DD76F9C0486AA7600D96B5E /* Foundation.framework in Frameworks */, | ||
CCBEBDAC0DF5DE1A003DDD08 /* libsqlite3.dylib in Frameworks */, | ||
); | ||
runOnlyForDeploymentPostprocessing = 0; | ||
}; | ||
/* End PBXFrameworksBuildPhase section */ | ||
|
||
/* Begin PBXGroup section */ | ||
08FB7794FE84155DC02AAC07 /* fmdb */ = { | ||
isa = PBXGroup; | ||
children = ( | ||
CC8C138B0E3135C400FBE1E7 /* LICENSE.txt */, | ||
CC8C138A0E3135C400FBE1E7 /* CHANGES_AND_TODO_LIST.txt */, | ||
CC8C138C0E3135C400FBE1E7 /* CONTRIBUTORS.txt */, | ||
08FB7795FE84155DC02AAC07 /* Source */, | ||
C6859EA2029092E104C91782 /* Documentation */, | ||
08FB779DFE84155DC02AAC07 /* External Frameworks and Libraries */, | ||
1AB674ADFE9D54B511CA2CBB /* Products */, | ||
); | ||
name = fmdb; | ||
sourceTree = "<group>"; | ||
}; | ||
08FB7795FE84155DC02AAC07 /* Source */ = { | ||
isa = PBXGroup; | ||
children = ( | ||
CC50F2CB0DF9183600E4AAAE /* FMDatabaseAdditions.m */, | ||
CC50F2CC0DF9183600E4AAAE /* FMDatabaseAdditions.h */, | ||
CCC24EBA0A13E34D00A6D3E3 /* FMDatabase.h */, | ||
CCC24EBB0A13E34D00A6D3E3 /* FMDatabase.m */, | ||
CCC24EBF0A13E34D00A6D3E3 /* FMResultSet.h */, | ||
CCC24EC00A13E34D00A6D3E3 /* FMResultSet.m */, | ||
32A70AAB03705E1F00C91783 /* fmdb_Prefix.pch */, | ||
CCC24EBE0A13E34D00A6D3E3 /* fmdb.m */, | ||
); | ||
name = Source; | ||
sourceTree = "<group>"; | ||
}; | ||
08FB779DFE84155DC02AAC07 /* External Frameworks and Libraries */ = { | ||
isa = PBXGroup; | ||
children = ( | ||
CCBEBDAB0DF5DE1A003DDD08 /* libsqlite3.dylib */, | ||
08FB779EFE84155DC02AAC07 /* Foundation.framework */, | ||
); | ||
name = "External Frameworks and Libraries"; | ||
sourceTree = "<group>"; | ||
}; | ||
1AB674ADFE9D54B511CA2CBB /* Products */ = { | ||
isa = PBXGroup; | ||
children = ( | ||
8DD76FA10486AA7600D96B5E /* fmdb */, | ||
); | ||
name = Products; | ||
sourceTree = "<group>"; | ||
}; | ||
C6859EA2029092E104C91782 /* Documentation */ = { | ||
isa = PBXGroup; | ||
children = ( | ||
C6859EA3029092ED04C91782 /* fmdb.1 */, | ||
); | ||
name = Documentation; | ||
sourceTree = "<group>"; | ||
}; | ||
/* End PBXGroup section */ | ||
|
||
/* Begin PBXNativeTarget section */ | ||
8DD76F960486AA7600D96B5E /* fmdb */ = { | ||
isa = PBXNativeTarget; | ||
buildConfigurationList = 1DEB927408733DD40010E9CD /* Build configuration list for PBXNativeTarget "fmdb" */; | ||
buildPhases = ( | ||
8DD76F990486AA7600D96B5E /* Sources */, | ||
8DD76F9B0486AA7600D96B5E /* Frameworks */, | ||
8DD76F9E0486AA7600D96B5E /* CopyFiles */, | ||
); | ||
buildRules = ( | ||
); | ||
dependencies = ( | ||
); | ||
name = fmdb; | ||
productInstallPath = "$(HOME)/bin"; | ||
productName = fmdb; | ||
productReference = 8DD76FA10486AA7600D96B5E /* fmdb */; | ||
productType = "com.apple.product-type.tool"; | ||
}; | ||
/* End PBXNativeTarget section */ | ||
|
||
/* Begin PBXProject section */ | ||
08FB7793FE84155DC02AAC07 /* Project object */ = { | ||
isa = PBXProject; | ||
buildConfigurationList = 1DEB927808733DD40010E9CD /* Build configuration list for PBXProject "fmdb" */; | ||
compatibilityVersion = "Xcode 3.1"; | ||
hasScannedForEncodings = 1; | ||
mainGroup = 08FB7794FE84155DC02AAC07 /* fmdb */; | ||
projectDirPath = ""; | ||
projectRoot = ""; | ||
targets = ( | ||
8DD76F960486AA7600D96B5E /* fmdb */, | ||
); | ||
}; | ||
/* End PBXProject section */ | ||
|
||
/* Begin PBXSourcesBuildPhase section */ | ||
8DD76F990486AA7600D96B5E /* Sources */ = { | ||
isa = PBXSourcesBuildPhase; | ||
buildActionMask = 2147483647; | ||
files = ( | ||
CCC24EC20A13E34D00A6D3E3 /* FMDatabase.m in Sources */, | ||
CCC24EC50A13E34D00A6D3E3 /* fmdb.m in Sources */, | ||
CCC24EC70A13E34D00A6D3E3 /* FMResultSet.m in Sources */, | ||
CC50F2CD0DF9183600E4AAAE /* FMDatabaseAdditions.m in Sources */, | ||
); | ||
runOnlyForDeploymentPostprocessing = 0; | ||
}; | ||
/* End PBXSourcesBuildPhase section */ | ||
|
||
/* Begin XCBuildConfiguration section */ | ||
1DEB927508733DD40010E9CD /* Debug */ = { | ||
isa = XCBuildConfiguration; | ||
buildSettings = { | ||
COPY_PHASE_STRIP = NO; | ||
GCC_DYNAMIC_NO_PIC = NO; | ||
GCC_ENABLE_FIX_AND_CONTINUE = YES; | ||
GCC_MODEL_TUNING = G5; | ||
GCC_OPTIMIZATION_LEVEL = 0; | ||
GCC_PRECOMPILE_PREFIX_HEADER = YES; | ||
GCC_PREFIX_HEADER = fmdb_Prefix.pch; | ||
INSTALL_PATH = "$(HOME)/bin"; | ||
LIBRARY_SEARCH_PATHS = ( | ||
"$(LIBRARY_SEARCH_PATHS)", | ||
"$(SRCROOT)/sqlite", | ||
); | ||
PRODUCT_NAME = fmdb; | ||
ZERO_LINK = YES; | ||
}; | ||
name = Debug; | ||
}; | ||
1DEB927608733DD40010E9CD /* Release */ = { | ||
isa = XCBuildConfiguration; | ||
buildSettings = { | ||
ARCHS = ( | ||
ppc, | ||
i386, | ||
); | ||
GCC_GENERATE_DEBUGGING_SYMBOLS = NO; | ||
GCC_MODEL_TUNING = G5; | ||
GCC_PRECOMPILE_PREFIX_HEADER = YES; | ||
GCC_PREFIX_HEADER = fmdb_Prefix.pch; | ||
INSTALL_PATH = "$(HOME)/bin"; | ||
LIBRARY_SEARCH_PATHS = ( | ||
"$(LIBRARY_SEARCH_PATHS)", | ||
"$(SRCROOT)/sqlite", | ||
); | ||
PRODUCT_NAME = fmdb; | ||
}; | ||
name = Release; | ||
}; | ||
1DEB927908733DD40010E9CD /* Debug */ = { | ||
isa = XCBuildConfiguration; | ||
buildSettings = { | ||
ARCHS = i386; | ||
GCC_WARN_ABOUT_RETURN_TYPE = YES; | ||
GCC_WARN_UNUSED_VARIABLE = YES; | ||
PREBINDING = NO; | ||
SDKROOT = macosx10.5; | ||
}; | ||
name = Debug; | ||
}; | ||
1DEB927A08733DD40010E9CD /* Release */ = { | ||
isa = XCBuildConfiguration; | ||
buildSettings = { | ||
GCC_WARN_ABOUT_RETURN_TYPE = YES; | ||
GCC_WARN_UNUSED_VARIABLE = YES; | ||
PREBINDING = NO; | ||
SDKROOT = macosx10.5; | ||
}; | ||
name = Release; | ||
}; | ||
/* End XCBuildConfiguration section */ | ||
|
||
/* Begin XCConfigurationList section */ | ||
1DEB927408733DD40010E9CD /* Build configuration list for PBXNativeTarget "fmdb" */ = { | ||
isa = XCConfigurationList; | ||
buildConfigurations = ( | ||
1DEB927508733DD40010E9CD /* Debug */, | ||
1DEB927608733DD40010E9CD /* Release */, | ||
); | ||
defaultConfigurationIsVisible = 0; | ||
defaultConfigurationName = Release; | ||
}; | ||
1DEB927808733DD40010E9CD /* Build configuration list for PBXProject "fmdb" */ = { | ||
isa = XCConfigurationList; | ||
buildConfigurations = ( | ||
1DEB927908733DD40010E9CD /* Debug */, | ||
1DEB927A08733DD40010E9CD /* Release */, | ||
); | ||
defaultConfigurationIsVisible = 0; | ||
defaultConfigurationName = Release; | ||
}; | ||
/* End XCConfigurationList section */ | ||
}; | ||
rootObject = 08FB7793FE84155DC02AAC07 /* Project object */; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
// | ||
// Prefix header for all source files of the 'fmdb' target in the 'fmdb' project. | ||
// | ||
|
||
#ifdef __OBJC__ | ||
#import <Foundation/Foundation.h> | ||
#endif |
Oops, something went wrong.