Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
65 commits
Select commit Hold shift + click to select a range
cce5c05
Merge pull request #1 from tictocplanet/add-observers
heeyong Mar 11, 2015
ee23a54
When an update fails for an object, we should be more explicit about …
WitKurowski Mar 22, 2015
69a6083
Added support for objects created and given IDs from a remote source.
WitKurowski Mar 22, 2015
ffbc73c
Added support for specifying the order and/or limit of a query.
WitKurowski Mar 25, 2015
0f41ca6
The API should not accept null "limit" Integer values from outside si…
WitKurowski Mar 25, 2015
62878ed
Update .gitignore
heeyong Mar 26, 2015
4ea228b
Merge pull request #2 from heeyong/master
WitKurowski Mar 27, 2015
ec889c0
Target API level 22.
WitKurowski Mar 31, 2015
2035eb8
Merge branch 'master' of https://github.com/tictocplanet/database-lib…
WitKurowski Mar 31, 2015
0af4d9e
Added the ability to replace all existing stored objects of a particu…
WitKurowski Mar 31, 2015
42bce56
Added a version field to DatabaseObject so that we can determine whet…
WitKurowski Apr 1, 2015
278ae77
Change Android library project to java project
heeyong Apr 2, 2015
64c7d2c
Merge remote-tracking branch 'origin/master'
heeyong Apr 2, 2015
276cf95
Android target version of any submodule refereced by SDK module shoul…
heeyong Apr 2, 2015
7f2d1ec
Enable the Manager.replace(List<T>) method to handle DatabaseObjects …
WitKurowski Apr 2, 2015
b9b821d
Merge pull request #3 from heeyong/master
WitKurowski Apr 2, 2015
75b60ce
Improved the comments on the version field in DatabaseObject.
WitKurowski Apr 3, 2015
7c0902c
Added more helpful exception comments to make troubleshooting easier.
WitKurowski Apr 3, 2015
3262ec7
Allow a replacement to occur for a subset of the saved database objects.
WitKurowski Apr 3, 2015
95c45c3
Merge branch 'master' of https://github.com/tictocplanet/database-lib…
WitKurowski Apr 3, 2015
949baa2
The diamond operator is not available in Java 1.6.
WitKurowski Apr 3, 2015
07606ba
Columns are generally defined within the Contract class.
WitKurowski Apr 3, 2015
92b55c8
Added the ability to specify where-clause conditions for deletions.
WitKurowski Apr 4, 2015
4544089
Added the ability to get the number of rows in a database table, as w…
WitKurowski Apr 5, 2015
c0b90c3
Changed the deletion of list of DatabaseObjects to be a batch process.
WitKurowski Apr 7, 2015
18d5c01
Added the ability to delete all DatabaseObjects associated with a Man…
WitKurowski Apr 7, 2015
855eab4
The diamond operator is not available in Java 1.6.
WitKurowski Apr 7, 2015
53e5eb7
Listening to changes made to a particular table caused too many notif…
WitKurowski Apr 9, 2015
593e294
Send out a notification change for the root content URI when a delete…
WitKurowski Apr 9, 2015
c665ea7
Adjusted the naming to reflect that an object and its ID can be manag…
WitKurowski Apr 9, 2015
c84f9cd
Deletions and updates could be applied to an entire table rather than…
WitKurowski Apr 9, 2015
b489220
DatabaseObjects that are managed externally should only cause a chang…
WitKurowski Apr 14, 2015
9f3ba60
DatabaseObjects being deleted individually, rather than as a batch, w…
WitKurowski Apr 15, 2015
2ae285a
We need to be able to update the version for locally managed Database…
WitKurowski Apr 15, 2015
ff8af70
[Fixes PT #92572066] Add automatic passing of changed data into the M…
WitKurowski Apr 15, 2015
c71ff08
[Fixes PT #92570866] Remove duplicate change notifications done in Si…
WitKurowski Apr 15, 2015
743572b
[Fixes PT #92570978] Ensure that deletions, inserts, or updates done …
WitKurowski Apr 16, 2015
b36d2cd
[Fixes PT #92667020] Properly notify ContentObservers of deletions.
WitKurowski Apr 17, 2015
ab376a7
[Fixes PT #92667422] Change the ContentObservers to differentiate bet…
WitKurowski Apr 17, 2015
c51a1a4
[Fixes PT #92740338] Allow content observer listeners to listen to no…
WitKurowski Apr 17, 2015
748ebe3
[Fixes PT #92745540] Rename the Manager.registerForUpdates() to regis…
WitKurowski Apr 17, 2015
26b9a0f
[Fixes PT #92745540] Rename Manager.unregisterForUpdates() to unregis…
WitKurowski Apr 18, 2015
cf17923
[Fixes PT #92853390] Handle attempted unregistering of an OnChangeLis…
WitKurowski Apr 20, 2015
4a7dc2c
[Fixes PT #92875482] Change the database operation in Manager.onChang…
WitKurowski Apr 21, 2015
fe4d1f3
[Fixes PT #93252366] ContentObserver updates are not sent out with a …
WitKurowski Apr 25, 2015
943a93a
[Fixes PT #93503694] Allow SimpleIdWrapper IDs to be null.
WitKurowski Apr 29, 2015
7d34483
[Fixes PT #93504034] Add version management logic to Manager.performU…
WitKurowski Apr 29, 2015
3f8f982
[Fixes PT #94136458] Remove ContentObserver functionality.
WitKurowski May 7, 2015
a6e8ffa
Fixed the comment for Manager.delete(T).
WitKurowski Jun 1, 2015
869cac4
[Fixes PT #95839714] Improve the performance of SimpleContentProvider…
WitKurowski Jun 2, 2015
fc17c4e
[Fixes PT #97260000] Handle concurrent calls to Manager.save(T) more …
WitKurowski Jun 18, 2015
d5c6875
Fixed the comment for Manager.replace(List<T>, String, List<String>).
WitKurowski Jun 19, 2015
e07d1b1
Fixed the return comment for performUpdate(T).
WitKurowski Jun 19, 2015
b5a1c02
Changed Manager.save(List<T>) to be much more efficient, which also i…
WitKurowski Jun 20, 2015
01d75f1
[Fixes PT #97448398] Add the ability to apply updates to stored objec…
WitKurowski Jun 20, 2015
5ffd305
[Fixes PT #97491174] Add a way to specify column names to use for a G…
WitKurowski Jun 22, 2015
3da294f
[Fixes PT #100083272] Return the added/modified objects from both Man…
WitKurowski Jul 29, 2015
e1064c9
Combine the categorization in Manager.replace(List<T>, String, List<S…
WitKurowski Aug 6, 2015
37aa683
[Fixed PT #100795270] Separate the logic for versions being externall…
WitKurowski Aug 7, 2015
02b6e61
The IdWrapper classes are no longer used.
WitKurowski Aug 7, 2015
6e5d8ab
Even if an object is saved properly, it may be asynchronously deleted…
WitKurowski Aug 15, 2015
83ff120
[Fixed PT #101552814] Remove the call to Manager.get(Uri) from Manage…
WitKurowski Aug 19, 2015
9e81e36
We want SQLExceptions to be thrown when an insert fails.
WitKurowski Sep 28, 2015
01b4514
The categorize(List<T>, List<T>) and save(List<T>) are written simply…
WitKurowski Nov 2, 2015
994f2c1
Attempting to update an already deleted object caused a NullPointerEx…
WitKurowski Nov 3, 2015
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
51 changes: 51 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,54 @@
/.idea/libraries
.DS_Store
/build

########################################################################################################
### From https://github.com/github/gitignore/blob/master/Global/JetBrains.gitignore
########################################################################################################
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm

*.iml

## Directory-based project format:
.idea/
# if you remove the above rule, at least ignore the following:

# User-specific stuff:
# .idea/workspace.xml
# .idea/tasks.xml
# .idea/dictionaries

# Sensitive or high-churn files:
# .idea/dataSources.ids
# .idea/dataSources.xml
# .idea/sqlDataSources.xml
# .idea/dynamic.xml
# .idea/uiDesigner.xml

# Gradle:
# .idea/gradle.xml
# .idea/libraries

# Mongo Explorer plugin:
# .idea/mongoSettings.xml

## File-based project format:
*.ipr
*.iws

## Plugin-specific files:

# IntelliJ
/out/

# mpeltonen/sbt-idea plugin
.idea_modules/

# JIRA plugin
atlassian-ide-plugin.xml

# Crashlytics plugin (for Android Studio and IntelliJ)
com_crashlytics_export_strings.xml
crashlytics.properties
crashlytics-build.properties

1 change: 0 additions & 1 deletion .idea/.name

This file was deleted.

23 changes: 0 additions & 23 deletions .idea/compiler.xml

This file was deleted.

3 changes: 0 additions & 3 deletions .idea/copyright/profiles_settings.xml

This file was deleted.

5 changes: 0 additions & 5 deletions .idea/encodings.xml

This file was deleted.

18 changes: 0 additions & 18 deletions .idea/gradle.xml

This file was deleted.

23 changes: 0 additions & 23 deletions .idea/misc.xml

This file was deleted.

10 changes: 0 additions & 10 deletions .idea/modules.xml

This file was deleted.

5 changes: 0 additions & 5 deletions .idea/scopes/scope_settings.xml

This file was deleted.

7 changes: 0 additions & 7 deletions .idea/vcs.xml

This file was deleted.

91 changes: 0 additions & 91 deletions DatabaseLibrary/DatabaseLibrary.iml

This file was deleted.

23 changes: 5 additions & 18 deletions DatabaseLibrary/build.gradle
Original file line number Diff line number Diff line change
@@ -1,22 +1,9 @@
apply plugin: 'com.android.library'
apply plugin: 'java'

android {
compileSdkVersion 21
buildToolsVersion "21.1.2"

defaultConfig {
minSdkVersion 8
targetSdkVersion 21
}

buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'
}
}
}
sourceCompatibility = 1.6
targetCompatibility = 1.6

dependencies {
compile 'com.android.support:support-v4:21.0.3'
compile 'com.google.android:android:2.3.3'
compile 'org.apache.commons:commons-lang3:3.4'
}
16 changes: 0 additions & 16 deletions DatabaseLibrary/src/main/AndroidManifest.xml

This file was deleted.

Loading