Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

5.0.0-alpha1 #1624

Merged
merged 246 commits into from
Oct 21, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
246 commits
Select commit Hold shift + click to select a range
2c2a803
GitBook Example
gitbook-bot Jul 4, 2016
29b5d48
Updates README.md
agrosner Apr 9, 2017
3d8a2b6
Updates README.md
agrosner Apr 9, 2017
c90df66
Updates README.md
agrosner Apr 9, 2017
0da62c2
Updates README.md
agrosner Apr 9, 2017
14e9236
Updates README.md
agrosner Apr 26, 2017
4bbe08b
Updates README.md
agrosner Apr 26, 2017
d0e7948
Updates including-in-project.md
agrosner Apr 26, 2017
d83377e
Updates including-in-project.md
agrosner Apr 26, 2017
586c6a7
Updates including-in-project.md
agrosner Apr 26, 2017
b449b06
Updates including-in-project.md
agrosner Apr 26, 2017
91af03a
Updates proguard.md
agrosner Apr 26, 2017
99d26a9
Updates proguard.md
agrosner Apr 26, 2017
29cd3f7
Updates chapter1.md
agrosner Apr 26, 2017
c1cc5b8
Updates chapter1.md
agrosner Apr 26, 2017
93ea812
Updates chapter1.md
agrosner Apr 26, 2017
5c71c1a
Updates chapter1.md
agrosner Apr 26, 2017
fd53854
Updates chapter1.md
agrosner Apr 26, 2017
dc17090
Updates chapter1.md
agrosner Apr 26, 2017
38b726c
Updates chapter1.md
agrosner Apr 26, 2017
a0a9db3
Updates chapter1.md
agrosner Apr 26, 2017
cba60a9
Updates chapter1.md
agrosner Apr 26, 2017
1f174db
Updates chapter1.md
agrosner Apr 26, 2017
aaca0c0
Updates chapter1.md
agrosner Apr 26, 2017
bf2aaae
Updates chapter1.md
agrosner Apr 26, 2017
31f1856
Updates chapter1.md
agrosner Apr 26, 2017
88c5251
Updates chapter1.md
agrosner Apr 26, 2017
5dd8393
Updates chapter1.md
agrosner Apr 26, 2017
52c3b1a
Updates chapter1.md
agrosner Apr 26, 2017
33e6a53
Updates chapter1.md
agrosner Apr 26, 2017
9716c55
Updates chapter1.md
agrosner Apr 26, 2017
c1f39bd
Updates chapter1.md
agrosner Apr 26, 2017
f80f712
Updates chapter1.md
agrosner Apr 26, 2017
16e4bde
Updates chapter1.md
agrosner Apr 26, 2017
5e82429
Updates chapter1.md
agrosner Apr 26, 2017
3e1a98a
[book] add usage docs to book.
Apr 26, 2017
913c970
[book] rename usage docs.
Apr 26, 2017
a7bb4bc
[book] fix links.
Apr 26, 2017
0227ac1
Creates advanced-usage/cac.md
agrosner Apr 26, 2017
fe6ae45
[book] make some pages nestedd in advanced.
Apr 26, 2017
5eaa6f0
[book] promote RXJava and Kotlin to top level.
Apr 26, 2017
acbf59e
remove unnecessary file folder.
Apr 26, 2017
efb7f1f
[links] fix symbolic links here.
Apr 26, 2017
4ae0494
[links] fix rest of relative links to readmes.
Apr 26, 2017
99495e3
Deletes RXSupport.md
agrosner May 11, 2017
6220651
Fix compile errors in retrieval docs
aarmea May 19, 2017
1e795c7
Update dead link in Retrieval
aarmea Jul 7, 2017
321e0fe
Merge pull request #3 from aarmea/patch-2
agrosner Jul 17, 2017
6973c03
Merge pull request #1 from aarmea/patch-1
agrosner Jul 17, 2017
2ddb639
[kotlin] adding in kotlin examples throughout the documentation.
Jul 20, 2017
b7028ac
[kotlin] more examples in kotlin. add reference for ColumnMap
Jul 20, 2017
c2bc988
[5.0] converting lib to kotlin.
agrosner Oct 22, 2017
2f2aee2
[5.0] convert list package to kotlin. remove caching mechanisms from …
agrosner Oct 22, 2017
c82c9b0
[5.0] convert more dbflow packages to kotlin.
agrosner Oct 23, 2017
adbe52c
[5.0] convert more dbflow packages to kotlin.
agrosner Oct 23, 2017
1c28fe6
[5.0] convert more of the sql language package to kotlin. update to l…
agrosner Nov 22, 2017
5292f61
[5.0] move core to kotlin.
agrosner Nov 22, 2017
66f14f2
[5.0] move kotlin extensions into main dbflow project. working on fix…
agrosner Nov 23, 2017
d7f4a8b
[5.0] finish compilation. now compiles. fix tests with updated methods.
agrosner Nov 23, 2017
2b61e9b
[5.0] fixing broken tests. add kotlin functions as substitute for som…
agrosner Nov 23, 2017
665472d
[5.0] pass all tests.
agrosner Nov 23, 2017
a5da0b2
[5.0] begin removing QueryBuilder in favor of StringBuilder and exten…
agrosner Nov 23, 2017
b7bdccc
[5.0] finish removing querybuilder.
agrosner Nov 23, 2017
fd76322
[5.0] remove kotlin extensions.
agrosner Nov 23, 2017
f18aea1
[5.0] sqlutils moved to kotlin package funcs and java support.
agrosner Nov 23, 2017
8e4dbac
[5.0] convert more remaining java classes.
agrosner Nov 23, 2017
725f135
[5.0] remove nondatabasewrapper methods by storing wrapper in sql cla…
agrosner Nov 24, 2017
1a55cca
[5.0] finish conversion from using wrapper directly.
agrosner Nov 24, 2017
ed42bd5
[5.0] use wrapper everywhere in db and fix compilation.
agrosner Nov 24, 2017
7ef1e7e
[5.0] fix broken unit tests.
agrosner Nov 24, 2017
218d568
[5.0] add a coroutine for db transaction of a modelqueriable.
agrosner Nov 24, 2017
a94d79f
[5.0] make databasedefinition a databasewrapper, simplify kotlin exte…
agrosner Nov 25, 2017
de495da
[5.0] ITransaction now return a result, allowing QueryTransaction now…
agrosner Nov 25, 2017
d0913e4
[5.0] transact method should be simpler with extension on database de…
agrosner Nov 25, 2017
22daf41
[5.0] remove modeladapter usage in query/cursor lists.
agrosner Nov 26, 2017
85d0f51
[5.0] fix content uris so that they can work with 8.0 changes. Will a…
agrosner Nov 26, 2017
d02458b
[5.0] fix content uris so that they can work with 8.0 changes. added …
agrosner Nov 26, 2017
a087a8a
[5.0] removing extension of flowquerylist on flowcontent observer sin…
agrosner Nov 26, 2017
fa2d757
[5.0] instead of requiring through DB config, require contentResolver…
agrosner Nov 26, 2017
c491780
[5.0] fix test for content resolver.
agrosner Nov 26, 2017
37cd670
[5.0] convert sqlcipher to kotlin.
agrosner Nov 26, 2017
2d148b2
[5.0] remove non-database wrapper methods from adapter classes.
agrosner Nov 27, 2017
3c3b530
[5.0] remove non-wrapper methods from savers.
agrosner Nov 27, 2017
e0b3513
[5.0] cleanup modeladapter. replace singleton notifyDistributor with …
agrosner Nov 27, 2017
e1d5565
[5.0] more kotlin syntax on modelsaver.
agrosner Nov 27, 2017
a9d1a4d
[5.0] remove deprecated methods from modelsaver.
agrosner Nov 27, 2017
6607db1
[5.0] update gradle plugin, drastically simplify logic for model save…
agrosner Nov 27, 2017
2eec6c4
[5.0] model adapter methods now return values for multiple objects op…
agrosner Nov 27, 2017
80b0b8a
[5.0] cache modeladapter in modelsaver.
agrosner Nov 27, 2017
4715367
[5.0] move Action out of Model into ChangeAction.
agrosner Nov 27, 2017
78324c7
[5.0] revert unnecessary overrides.
agrosner Nov 27, 2017
7dc6f52
[5.0] simplified project package structure.
agrosner Nov 27, 2017
fad36e7
[5.0] fix compilation errors in APT. add infix modifiers to app IOper…
agrosner Nov 27, 2017
5747a55
[5.0] make IConditional methods infix and remove unneeded extension m…
agrosner Nov 27, 2017
32813f3
[5.0] FastStoreModelTransaction now uses kotlin fn under the hood and…
agrosner Nov 27, 2017
9a49270
[5.0] fast store model transaction now returns the list operated on. …
agrosner Nov 27, 2017
b9793a2
[RX] move packages into proper hierarchy. add transaction funs for RX.
agrosner Nov 28, 2017
940c050
[RX] add rx1 transaction extensions.
agrosner Nov 28, 2017
0a2b5e8
[processor] add method for more consolidated handling of annotations.
agrosner Nov 28, 2017
18f6ff5
[processor] apply kotlin stdlib consolidations. add inline method for…
agrosner Nov 28, 2017
6d1df62
[properties] remove extension on properties since operator has same m…
agrosner Nov 28, 2017
a444082
[kotlin] replace usages where possible of java construction with kotl…
agrosner Nov 28, 2017
22f93a3
[query] fold in extension functions into class definition for operato…
Dec 1, 2017
d7e2199
[coroutines] make coroutines a separate artifact.
agrosner Dec 3, 2017
5b4087d
remove usage2 as submodule. will add back as subtree.
agrosner Dec 3, 2017
1cffed7
Add 'usage2/' from commit 'b7028acd1bf6f8250b7496afdb2ad57bf5b14a00'
agrosner Dec 3, 2017
beb755b
moved packages to com.raizlabs.dbflow5
agrosner Dec 3, 2017
b87ca4c
fix compile. fix package moving.
agrosner Dec 3, 2017
8c6da15
[saver] more efficient use of save on single object.
agrosner Dec 3, 2017
8b0401a
[doc] update readme main for kotlin. add execute transaction method t…
agrosner Dec 3, 2017
89f5641
[doc] make kotlin preferred first.
agrosner Dec 3, 2017
7bf7e53
[doc] make kotlin preferred first.
agrosner Dec 4, 2017
20a4a38
[config] add KClass methods for kotlin.
agrosner Dec 4, 2017
4a9bb87
[property] convert IProperty into Kotlin.
agrosner Dec 4, 2017
97844a0
[gitbook] use version plugin with tags to display versioning.
Dec 4, 2017
8ba3c55
[caching] move cache methods into own separate cache adapter. This mo…
Dec 4, 2017
2190a61
[caching] remove need for creating caching columns array. instead jus…
Dec 4, 2017
742cc94
[model] rename getModelClass to getTable. Dont generate ContentValues…
Dec 4, 2017
de5698f
[database] use DatabaseDefinition directly instead of wrapper where p…
Dec 4, 2017
ff75852
[database] add standalone extension inline methods that accept a KCLa…
Dec 4, 2017
62b0cbe
[model] create new instance of model inside loadFromCursor in order t…
Dec 4, 2017
1b7c6eb
[content] return 1 if insert succeeds.
Dec 4, 2017
8ab44a2
[cursorlist] rename cursor() to cursor property.
Dec 4, 2017
5a9fd36
[cursor] erase usages of Cursor and replace with FlowCursor.
Dec 4, 2017
a125110
[database] make custom SQLiteException that mirrors Android one. have…
Dec 4, 2017
ef21e08
[database] remove most existences of Android-specific classes from ma…
Dec 4, 2017
d558532
[database] remove more java imports. add an execute transaction async…
Dec 4, 2017
d77c425
[database] rename methods.
Dec 4, 2017
fc3353b
[lib] optimize imports and fix code style.
Dec 4, 2017
b2f5ea1
[dependencies] consolidate like-dependencies into project extension v…
Dec 4, 2017
25087f8
[deps] update rx 1 and 2.
Dec 4, 2017
258881f
[db] add support android SQLite support library to provide compatibil…
Dec 4, 2017
61155b8
[db] add support AndroidSQLiteOpenHelper. not fully implemented yet.
Dec 4, 2017
4dcff1b
[db] remove support lib for db. dont need it. add query method back.
Dec 5, 2017
3aebf54
[db] fix compile. throw exception from SQLCipher that it is not suppo…
Dec 5, 2017
d2b75f3
[db] now db must extend DBFlowDatabase and be marked abstract. This a…
Dec 5, 2017
7cbeeb1
[db] remove more global dbflow context usage to two base classes. rem…
Dec 5, 2017
c3edb6b
[db] fix compile.
Dec 5, 2017
c1a81fa
[db] replace FlowManager with extensions in internal lib.
Dec 5, 2017
540601f
[db] dont require database config specified just yet.
agrosner Dec 8, 2017
0f74c4d
[models] remove instanceadapter since now we construct object within …
agrosner Dec 8, 2017
67a0e5c
[processor] rename package to provider to match other uses.
agrosner Dec 8, 2017
9c819fb
[lib] move java to kotlin dirs. remove explicit apply of java plugin …
agrosner Dec 8, 2017
85abc49
[lib] make sources working again. remove and fix most warnings in lib…
agrosner Dec 8, 2017
19e317d
[lib] remove javadoc commented out task.keep sources as full.
agrosner Dec 8, 2017
7feb728
[paging] add paging lib as separate artifact.
agrosner Dec 11, 2017
8138586
[paging] properly propagate the indexes into lists for paging. add te…
Dec 11, 2017
c832a0e
[paging] close cursor list when done.
Dec 11, 2017
11d4175
[paging] code cleanup. make test use uneven numbers to test proper pa…
Dec 11, 2017
a97de32
[paging] add cloneability to sqlite queries so we can copy instance w…
Dec 11, 2017
0b48c04
[docs] update readme with different wording, new artifacts and version.
Dec 11, 2017
d171c8a
[caching] rewrite caching docs with Kotlin priority. Add back ability…
Dec 11, 2017
6d7aaac
[docs] update docs for coroutines and kotlin in databases / getting s…
Dec 11, 2017
fc4790e
Merge branch 'develop' into 5.0
agrosner Dec 17, 2017
a5bd002
Merge branch 'develop' into 5.0
agrosner Dec 17, 2017
e62df09
remove merged folder that existed.
agrosner Dec 17, 2017
78da97e
[db] replace wrapper extension required on query until end. this is t…
agrosner Dec 17, 2017
9d3b432
[processor] remove extra null check on TypeConverter since data passe…
agrosner Dec 18, 2017
12af84f
[notifier] dont make tabelregister inner.
agrosner Dec 18, 2017
89c5326
[rx] create maybe and observable transactions for better RX2 support.
agrosner Dec 18, 2017
7e6c834
[processor] adding in default value blocks for foreign key and object…
agrosner Dec 18, 2017
f5f6d9c
[processor] properly warn of primitive column use in default values b…
agrosner Dec 18, 2017
6ff1309
Merge branch 'develop' into 5.0
agrosner Dec 18, 2017
0a29608
[tests] fix compile and file packages.
agrosner Dec 18, 2017
88aefe0
[column map] fix compile on objects that have typeconvertible
agrosner Dec 18, 2017
a5b6572
[type converter] now supported in column maps for specific fields.
agrosner Dec 19, 2017
341c6da
Merge branch 'develop' into 5.0
agrosner Dec 20, 2017
48bf889
[kotlin] update to kotlin 1.2.10
agrosner Dec 20, 2017
32628e1
[kotlin] fix a lot of warnings. move annotation array types to literals.
agrosner Dec 20, 2017
0bd4687
[one to many] remove variable private param as its no longer used
agrosner Dec 20, 2017
183a512
[kotlin] more code style improvments.
agrosner Dec 20, 2017
027ca4b
optimize more imports.
agrosner Dec 20, 2017
1c1919f
[kotlin] code cleanup by removing !! assertions where possible.
agrosner Dec 21, 2017
db6dd1f
[kotlin] run reformat.
agrosner Dec 21, 2017
85174f8
[string query] fix it so it works on all methods as expected with bin…
agrosner Dec 22, 2017
fc80ee4
[transaction] make transaction use kotlin funcs instead of SAM interf…
agrosner Dec 22, 2017
4ed483b
[cursor] dont release cursor on close.
agrosner Dec 22, 2017
0e4f4ea
[statement] make DatabaseStatement implement closeable. ensure statem…
agrosner Dec 28, 2017
5b96611
Merge branch 'develop' into 5.0
agrosner Dec 28, 2017
799952a
[sql] use wrapper in methods required as param. fix broken test compi…
agrosner Dec 28, 2017
1c2e0a3
[tests] fix compile for trigger tests.
agrosner Dec 28, 2017
842ea59
[content] add note about generating content values in listener class.
agrosner Dec 28, 2017
7f67bee
[sql] insert now accepts varg of columns in statement constructor. be…
agrosner Dec 28, 2017
6264deb
[sql] by default all fields are now found. @Column is no longer requi…
agrosner Dec 29, 2017
20025b6
[sql] cleanup code.
agrosner Dec 30, 2017
3a8bba9
[processor] bug fixes in tests. if a field is referenced by one to ma…
agrosner Dec 30, 2017
a608747
[processor] turn on all fields for other types of models.
agrosner Dec 30, 2017
f039478
code cleanup. remove db class separator from annotation completely.
agrosner Dec 31, 2017
3e9c797
[cache] simplify implementation of modellrucache. fix some string for…
agrosner Dec 31, 2017
229cc44
[rx] make observable transaction rather a single result. fix issue wh…
agrosner Dec 31, 2017
b53d6b0
[rx] switch tests to use rx2. switch implementation away from rx adap…
agrosner Dec 31, 2017
8893325
[cursor list] fully optimize cursor list to only iterate through part…
agrosner Dec 31, 2017
05eae24
[cursor list] add closeable to iterator. simplify implementation of F…
agrosner Dec 31, 2017
3a367d7
[query] add constrain method to transformable so its shared in differ…
agrosner Dec 31, 2017
db24bc7
[rx] drastically simplify implementation of rx use by not recreating …
agrosner Dec 31, 2017
277f609
[rx] can cancel flowable. add completion handler to transactions.
agrosner Dec 31, 2017
b0c1265
[rx] cleanup !! ops.
agrosner Dec 31, 2017
67038ec
fix compile in transaction changes.
Jan 5, 2018
b5a76e8
[query] remove cursorresult from query. prefer use of FlowCursorList …
agrosner Jan 7, 2018
77d2ffa
[query] finish removing cursorresult as use of queries.
agrosner Jan 7, 2018
3b63e85
[rx] properly complete the maybe.
agrosner Jan 7, 2018
163e6a2
[properties] properly return Property type from subclasses when calli…
agrosner Jan 7, 2018
45a6c21
[setup] update to 3.1.0-beta1 of gradle plugin. update to 1.2.21 of k…
agrosner Feb 11, 2018
65e5452
[setup] update to 3.1.0-beta2 of gradle plugin.
agrosner Feb 11, 2018
2b7897b
[setup] update dependencies to latest version.
agrosner Apr 15, 2018
870ef1f
[inserts] drastically simplified insert queries by placing nullif in …
agrosner Apr 15, 2018
93cdd03
simplify existence and model saver uses.
agrosner Apr 15, 2018
4ba7310
simplify model adapter implementation. save now uses insert or replac…
agrosner Apr 15, 2018
7e78e36
simplify model adapter implementation. save now uses insert or replac…
agrosner Apr 16, 2018
7249b86
[test] fix test to properly test updating coroutine.
agrosner Apr 16, 2018
f0993d5
[operator] fix issue where operator appending did not append to value…
agrosner Apr 16, 2018
999fcf1
[sql] integrate more infix extensions right into the class directly i…
agrosner Apr 16, 2018
e16457d
[tests] fixing broken tests.
agrosner Apr 16, 2018
938e24d
Merge pull request #1 from agrosner/5.0
agrosner May 24, 2018
97d777f
[structure] remove rx1 artifact. rename rx2 to reactive-streams.
agrosner May 24, 2018
ceb209d
[structure] remove rx1 artifact. rename rx2 to reactive-streams.
agrosner May 24, 2018
d7a1b8f
[structure] rename top level directories to simpler naming.
agrosner May 24, 2018
a4f4bd7
[readme] rename dbflow-tests to tests. update readme with changes.
agrosner May 24, 2018
ccc410a
[db] replace manual func with typealias
agrosner May 24, 2018
9c305b3
[db] invalidate datasource when db changes.
agrosner May 24, 2018
9a86f34
[db] invalidate datasource when db changes.
agrosner May 24, 2018
712e86b
move every project into com.dbflow5 subpackages. move content provide…
agrosner May 24, 2018
953b09a
fix accidental test removal. move content provider classes into separ…
agrosner May 24, 2018
083d002
[tests] fix calculation looop.
agrosner May 24, 2018
b944e8d
[kotlin] update kotlin to 1.2.41
agrosner May 28, 2018
dc4358d
[deps] update dependencies to latest except android sdk.
agrosner Sep 26, 2018
08ad2dc
[Coroutines] use invokeOnCancellation instead.
agrosner Sep 26, 2018
bd1fef8
Update README.md
Oct 15, 2018
a9d6217
Merge pull request #1623 from Raizlabs/readme-maintainer-update
agrosner Oct 15, 2018
cbc30e7
Merge branch 'develop' of https://github.com/agrosner/DBFlow into dev…
agrosner Oct 15, 2018
fb3739c
[Versions] update to androidx dependencies. update to use new robolec…
agrosner Oct 20, 2018
773d395
[Documentation] update to kotlin usage.
agrosner Oct 20, 2018
cc6e7c0
[Documentation] update to kotlin usage for some of the files. rework …
agrosner Oct 21, 2018
b03d9e5
[Database] replace usage of executeTransactionAsync to begin version …
agrosner Oct 21, 2018
4c94a74
[Delete] remove static methods, and require use of SQLite file.
agrosner Oct 21, 2018
cab52b6
[Insert] add kotlin pair method handling.
agrosner Oct 21, 2018
727093d
[Query] add default arg for orderby to ascending = true.
agrosner Oct 21, 2018
62d8aee
[Insert] fix compile from changes of adding pair to insert class dire…
agrosner Oct 21, 2018
912b697
[Process] convert process function into a single method interface. re…
agrosner Oct 21, 2018
3105540
[Coroutines] dont use deprecated method.
agrosner Oct 21, 2018
252a388
[Transactions] updated doc to latest api.
agrosner Oct 21, 2018
cfc5d46
GitBook: [develop] 60 pages modified
agrosner Oct 21, 2018
04cd2ef
[Doc] remove kotlin support as lib is not kotlin.
agrosner Oct 21, 2018
153ce67
Merge branch 'develop' of https://github.com/agrosner/DBFlow into dev…
agrosner Oct 21, 2018
58c6a1f
GitBook: [develop] 9 pages modified
agrosner Oct 21, 2018
cee64f0
[Doc] update compile to implementation.
agrosner Oct 21, 2018
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
4 changes: 4 additions & 0 deletions .github/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# .github



25 changes: 10 additions & 15 deletions .github/CONTRIBUTING.md → .github/contributing.md
Original file line number Diff line number Diff line change
@@ -1,30 +1,25 @@
Contributing Guidelines
--------------------------------------------------
# CONTRIBUTING

## Contributing Guidelines

This document provides general guidelines about how to contribute to the project. Keep in mind these important things before you start contributing.

## Reporting issues

* Use [github issues](https://github.com/Raizlabs/DBFlow/issues) to report a bug.
* Use [github issues](https://github.com/agrosner/DBFlow/issues) to report a bug.
* Before creating a new issue:
* Make sure you are using the [latest release](https://github.com/Raizlabs/DBFlow/releases).
* Check if the issue was [already reported or fixed](https://github.com/Raizlabs/DBFlow/issues?utf8=%E2%9C%93&q=is%3Aissue). Notice that it may not be released yet.
* Make sure you are using the [latest release](https://github.com/agrosner/DBFlow/releases).
* Check if the issue was [already reported or fixed](https://github.com/agrosner/DBFlow/issues?utf8=&q=is%3Aissue). Notice that it may not be released yet.
* If you found a match add the github "+1" reaction brief comment. This helps prioritize the issues addressing the most common and critical ones first. If possible, add additional information to help us reproduce, and find the issue. Please use your best judgement.
* Reporting issues:
* Please include the following information to help maintainers to fix the problem faster:
* Android version you are targeting.
* Full console output of stack trace or code compilation error.
* Any other additional detail you think it would be useful to understand and solve the problem.


## Pull requests

I welcome and encourage all pull requests. It usually will take me within 24-48 hours to respond to any issue or request. Here are some basic rules to follow to ensure timely addition of your request:
1. Match coding style (braces, spacing, etc.) This is best achieved using CMD+Option+L (Reformat code) on Mac (not sure for Windows) with Android Studio defaults.
2. If its a feature, bugfix, or anything please only change code to what you specify.
3. Please keep PR titles easy to read and descriptive of changes, this will make them easier to merge :)
4. Pull requests _must_ be made against `develop` branch. Any other branch (unless specified by the maintainers) will get rejected.

I welcome and encourage all pull requests. It usually will take me within 24-48 hours to respond to any issue or request. Here are some basic rules to follow to ensure timely addition of your request: 1. Match coding style \(braces, spacing, etc.\) This is best achieved using CMD+Option+L \(Reformat code\) on Mac \(not sure for Windows\) with Android Studio defaults. 2. If its a feature, bugfix, or anything please only change code to what you specify. 3. Please keep PR titles easy to read and descriptive of changes, this will make them easier to merge :\) 4. Pull requests _must_ be made against `develop` branch. Any other branch \(unless specified by the maintainers\) will get rejected.

### Suggested git workflow to contribute

Expand All @@ -39,12 +34,12 @@ I welcome and encourage all pull requests. It usually will take me within 24-48
9. Push your branch into your forked remote repository.
10. Create a new pull request adding any useful comment.


### Feature proposal

We would love to hear your ideas and make discussions about it.

* Use github issues to make feature proposals.
* We use `type: feature request` label to mark all [feature request issues](https://github.com/Raizlabs/DBFlow/labels/type%3A%20feature%20request).
* We use `type: feature request` label to mark all [feature request issues](https://github.com/agrosner/DBFlow/labels/type%3A%20feature%20request).
* Before submitting your proposal make sure there is no similar feature request. If you find a match, feel free to join the discussion or just or just act with a reaction if you think the feature is worth implementing.
* Be as specific as possible providing a precise explanation of the feature so anyone can understand the problem and the benefits of solving it.
* Be as specific as possible providing a precise explanation of the feature so anyone can understand the problem and the benefits of solving it.

105 changes: 55 additions & 50 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,93 +1,98 @@
# README

![Image](https://github.com/agrosner/DBFlow/blob/develop/dbflow_banner.png?raw=true)

[![JitPack.io](https://img.shields.io/badge/JitPack.io-4.2.3-red.svg?style=flat)](https://jitpack.io/#Raizlabs/DBFlow) [![Android Weekly](http://img.shields.io/badge/Android%20Weekly-%23129-2CB3E5.svg?style=flat)](http://androidweekly.net/issues/issue-129) [![Android Arsenal](https://img.shields.io/badge/Android%20Arsenal-DBFlow-brightgreen.svg?style=flat)](https://android-arsenal.com/details/1/1134)
[![JitPack.io](https://img.shields.io/badge/JitPack.io-5.0.0alpha1-red.svg?style=flat)](https://jitpack.io/#Raizlabs/DBFlow) [![Android Weekly](http://img.shields.io/badge/Android%20Weekly-%23129-2CB3E5.svg?style=flat)](http://androidweekly.net/issues/issue-129) [![Android Arsenal](https://img.shields.io/badge/Android%20Arsenal-DBFlow-brightgreen.svg?style=flat)](https://android-arsenal.com/details/1/1134)

DBFlow is fast, efficient, and feature-rich Kotlin database library built on SQLite for Android. DBFlow utilizes annotation processing to generate SQLite boilerplate for you and provides a powerful SQLite query language that makes using SQLite a joy.

DBFlow is built from a collection of some of the best features of many database libraries. Don't let an ORM or library get in your way, let the code you write in your applications be the best as possible.

Supports:

**Kotlin:** Built using the language, the library is super-concise, null-safe and efficient.

**Coroutines:** Adds coroutine support for queries.

A robust, powerful, and very simple ORM android database library with **annotation processing**.
**RX Java:** Enable applications to be reactive by listening to DB changes and ensuring your subscribers are up-to-date.

The library is built on speed, performance, and approachability. It not only eliminates most boiler-plate code for dealing with databases, but also provides a powerful and simple API to manage interactions.
**Paging:** Android architecture component paging library support for queries via `QueryDataSource`.

Let DBFlow make SQL code _flow_ like a _steady_ stream so you can focus on writing amazing apps.
**SQLCipher:** Easy database encryption support in this library.

# Why Use DBFlow
DBFlow is built from a collection of the best features of many database libraries in the most efficient way possible. Also, it is built to not only make it _significantly_ easier to deal with databases on Android, but also to provide extensibility. Don't let an ORM or library get in your way, let the code you write in your applications be the best as possible.
- **Extensibility**: No restrictions on inheritance of your table classes. They can be plain POJOs, no subclass required, but as a convenience we recommend using `BaseModel`. You can extend non-`Model` classes in different packages and use them as your DB tables. Also you can subclass other tables to join the `@Column` together, and again they can be in different packages.
- **Speed**: Built with java's annotation processing code generation, there's almost zero runtime performance hit by using this library (only reflection is creation of the main, generated database module's constructor). This library saves hours of boilerplate code and maintenance by generating the code for you. With powerful model caching (multiple primary key `Model` too), you can surpass the speed of SQLite by reusing where possible. We have support for lazy-loading relationships on-demand such as `@ForeignKey` or `@OneToMany` that make queries happen super-fast.
- **SQLite Query Flow**: The queries in this library adhere as closely as possible to SQLite native queries. `select(name, screenSize).from(Android.class).where(name.is("Nexus 5x")).and(version.is(6.0)).querySingle()`
- **Open Source**: This library is fully open source and contributions are not only welcomed, but encouraged.
- **Robust**: We support `Trigger`, `ModelView`, `Index`, `Migration`, built-in ways to manage database access, and many more features. SQLCipher, RXJava, and more!
- **Multiple Databases, Multiple Modules**: we seamlessly support multiple database files, database modules using DBFlow in other dependencies, simultaneously.
- **Built On SQLite**: SQLite is the most widely used database engine in world and using it as your base, you are not tied to a limited set of platforms or libraries.
**SQLite Query Language:** Enabling autocompletion on sqlite queries combined with Kotlin language features means SQLite-like syntax.

# Changelog
## Changelog

Changes exist in the [releases tab](https://github.com/Raizlabs/DBFlow/releases).

# Usage Docs
## Usage Docs

For more detailed usage, check out it out [here](https://agrosner.gitbooks.io/dbflow/content/)

# Including in your project
## Including in your project

```groovy
Add jitpack.io to your project's repositories:

```groovy
allProjects {
repositories {
google()
// required to find the project's artifacts
// place last
maven { url "https://www.jitpack.io" }
}
}
```

Add the library to the project-level build.gradle, using the apt plugin to enable Annotation Processing:
Add artifacts to your project:

```groovy
apply plugin: 'kotlin-kapt' // only required for kotlin consumers.

apply plugin: 'kotlin-kapt' // required for kotlin.

def dbflow_version = "4.2.4"
// or dbflow_version = "develop-SNAPSHOT" for grabbing latest dependency in your project on the develop branch
def dbflow_version = "5.0.0-alpha1"
// or 10-digit short-hash of a specific commit. (Useful for bugs fixed in develop, but not in a release yet)

dependencies {

// if Java use this. If using Kotlin do NOT use this.
annotationProcessor "com.github.Raizlabs.DBFlow:dbflow-processor:${dbflow_version}"

// Use if Kotlin user.
kapt "com.github.Raizlabs.DBFlow:dbflow-processor:${dbflow_version}"
kapt "com.github.agrosner.dbflow:processor:${dbflow_version}"

compile "com.github.Raizlabs.DBFlow:dbflow-core:${dbflow_version}"
compile "com.github.Raizlabs.DBFlow:dbflow:${dbflow_version}"
// Annotation Processor
// if only using Java, use this. If using Kotlin do NOT use this.
annotationProcessor "com.github.agrosner.dbflow:processor:${dbflow_version}"


// core set of libraries
compile "com.github.agrosner.dbflow:core:${dbflow_version}"
compile "com.github.agrosner.dbflow:lib:${dbflow_version}"

// sql-cipher database encryption (optional)
compile "com.github.Raizlabs.DBFlow:dbflow-sqlcipher:${dbflow_version}"
compile "com.github.agrosner.dbflow:sqlcipher:${dbflow_version}"
compile "net.zetetic:android-database-sqlcipher:${sqlcipher_version}@aar"

// kotlin extensions
compile "com.github.Raizlabs.DBFlow:dbflow-kotlinextensions:${dbflow_version}"

// RXJava 1 support
compile "com.github.Raizlabs.DBFlow:dbflow-rx:${dbflow_version}"
// RXJava 2 support
compile "com.github.agrosner.dbflow:reactive-streams:${dbflow_version}"

// RXJava 1 Kotlin Extensions Support
compile "com.github.Raizlabs.DBFlow:dbflow-rx-kotlinextensions:${dbflow_version}"
// Kotlin Coroutines
compile "com.github.agrosner.dbflow:coroutines:${dbflow_version}"

// RXJava 2 support
compile "com.github.Raizlabs.DBFlow:dbflow-rx2:${dbflow_version}"
// Android Architecture Components Paging Library Support
compile "com.github.agrosner.dbflow:paging:${dbflow_version}"

// RXJava 2 Kotlin Extensions Support
compile "com.github.Raizlabs.DBFlow:dbflow-rx2-kotlinextensions:${dbflow_version}"
// adds generated content provider annotations + support.
compile "com.github.agrosner.dbflow:contentprovider:${dbflow_version}"

}

```

# Pull Requests
I welcome and encourage all pull requests. Please read over these guidelines to ensure smooth PR attention:
1. Match coding style (braces, spacing, etc.) This is best achieved using **Reformat Code** shortcut, <kbd>command</kbd>+<kbd>option</kbd>+<kbd>L</kbd> on Mac and <kbd>Ctrl</kbd>+<kbd>Alt</kbd>+<kbd>L</kbd> on Windows, with Android Studio defaults.
2. If its a feature, bugfix, or anything please only change code to what you specify.
3. Please keep PR titles easy to read and descriptive of changes, this will make them easier to merge :)
4. Pull requests _must_ be made against `develop` branch. Any other branch (unless specified by the maintainers) will get rejected.
5. Have fun!
## Pull Requests

I welcome and encourage all pull requests. Here are some basic rules to follow to ensure timely addition of your request: 1. Match coding style \(braces, spacing, etc.\) This is best achieved using **Reformat Code** shortcut, command+option+L on Mac and Ctrl+Alt+L on Windows, with Android Studio defaults. 2. If its a feature, bugfix, or anything please only change code to what you specify. 3. Please keep PR titles easy to read and descriptive of changes, this will make them easier to merge :\) 4. Pull requests _must_ be made against `develop` branch. Any other branch \(unless specified by the maintainers\) will get **rejected**. 5. Have fun!

## Maintainer

Originally created by [Raizlabs](https://www.raizlabs.com), a [Rightpoint](https://www.rightpoint.com) company

Maintained by [agrosner](https://github.com/agrosner) \([@agrosner](https://www.twitter.com/agrosner)\)

# Maintained By
[agrosner](https://github.com/agrosner) ([@agrosner](https://www.twitter.com/agrosner))
32 changes: 32 additions & 0 deletions SUMMARY.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# Table of contents

* [README](README.md)
* [GettingStarted](gettingstarted.md)
* [Usage Docs](usage2/README.md)
* [Including In Project](usage2/including-in-project.md)
* [Proguard](usage2/proguard.md)
* [Main Usage](usage2/usage/README.md)
* [Databases](usage2/usage/databases.md)
* [Models](usage2/usage/models.md)
* [Migrations](usage2/usage/migrations.md)
* [Views](usage2/usage/modelviews.md)
* [Relationships](usage2/usage/relationships.md)
* [Storing Data](usage2/usage/storingdata.md)
* [Retrieval](usage2/usage/retrieval.md)
* [SQLite Query Language](usage2/usage/sqlitewrapperlanguage.md)
* [TypeConverters](usage2/usage/typeconverters.md)
* [Observability](usage2/usage/observability.md)
* [RXJavaSupport](usage2/rxjavasupport.md)
* [Advanced Usage](usage2/advanced-usage/README.md)
* [Caching](usage2/advanced-usage/caching.md)
* [ListBasedQueries](usage2/advanced-usage/listbasedqueries.md)
* [MultipleModules](usage2/advanced-usage/multiplemodules.md)
* [QueryModels](usage2/advanced-usage/querymodels.md)
* [Indexing](usage2/advanced-usage/indexing.md)
* [SQLCipher](usage2/advanced-usage/sqlciphersupport.md)
* [ContentProviderGeneration](usage2/contentprovidergeneration.md)
* [Migration4Guide](usage2/migration4guide.md)
* [ISSUE\_TEMPLATE](issue_template.md)
* [.github](.github/README.md)
* [CONTRIBUTING](.github/contributing.md)

43 changes: 0 additions & 43 deletions android-artifacts.gradle

This file was deleted.

30 changes: 0 additions & 30 deletions bintray_upload.gradle

This file was deleted.

28 changes: 24 additions & 4 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,13 +1,33 @@
buildscript {
ext.kotlin_version = '1.1.51'
ext {
kotlin_version = '1.2.71'
target_sdk = 28
min_sdk = 7
min_sdk_rx = 15
sql_cipher_min = 7
arch_min = 14

deps = [
kotlin : "org.jetbrains.kotlin:kotlin-stdlib:${kotlin_version}",
sql_cipher : "net.zetetic:android-database-sqlcipher:3.5.9@aar",
rx2 : 'io.reactivex.rxjava2:rxjava:2.2.2',
coroutines : "org.jetbrains.kotlinx:kotlinx-coroutines-core:0.26.1",
javapoet : 'com.squareup:javapoet:1.11.1',
kpoet : 'com.github.agrosner:KPoet:1.0.0',
javax_annotation : 'org.glassfish:javax.annotation:10.0-b28',
junit : 'junit:junit:4.12',
paging : "android.arch.paging:runtime:1.0.0",
support_annotations: "androidx.annotation:annotation:1.0.0",
]
}
repositories {
jcenter()
google()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.0.1'
classpath 'com.github.dcendents:android-maven-gradle-plugin:2.0'
classpath 'com.getkeepsafe.dexcount:dexcount-gradle-plugin:0.7.3'
classpath 'com.android.tools.build:gradle:3.3.0-beta01'
classpath 'com.github.dcendents:android-maven-gradle-plugin:2.1'
classpath 'com.getkeepsafe.dexcount:dexcount-gradle-plugin:0.8.4'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
}
}
Expand Down
File renamed without changes.
19 changes: 19 additions & 0 deletions contentprovider-annotations/build.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
apply plugin: 'kotlin'

project.ext.artifactId = bt_name

targetCompatibility = JavaVersion.VERSION_1_8
sourceCompatibility = JavaVersion.VERSION_1_8

dependencies {
compile deps.kotlin
compile project(':core')
}

apply from: '../kotlin-artifacts.gradle'

compileKotlin {
kotlinOptions {
apiVersion = "1.2"
}
}
3 changes: 3 additions & 0 deletions contentprovider-annotations/gradle.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
bt_name=contentprovider-annotations
bt_packaging=jar
bt_artifact_id=contentprovider-annotations
Loading