aboutsummaryrefslogtreecommitdiffstats
path: root/main/src/cgeo/geocaching/DataStore.java
Commit message (Collapse)AuthorAgeFilesLines
* Upgrade RxJava to version 0.19Samuel Tardieu2014-06-091-2/+2
|
* new: icons in search suggestionsBananeweizen2014-06-011-2/+3
|
* new: show recently opened caches in global searchBananeweizen2014-06-011-159/+170
| | | | | | | Without any search term given, the search suggestions now contain the most recent caches. We should probably add a more explicit UI on the main screen for that, too, as discussed before.
* Load friends logs and own log in parallelSamuel Tardieu2014-05-131-10/+6
|
* fix: don't show suggestion which cannot be foundBananeweizen2014-05-111-1/+1
| | | | | | Until now the owner display text was suggested when searching for the owner. But the online search only searches for the user real name. E.g. when a cache displayed "X and Y" as owner, the real owner is often only "X".
* Revert "Call vacuum when cleaning the database"Samuel Tardieu2014-05-111-4/+0
| | | | | | This reverts commit 5133e107e51e7e97f40644fc9dcad6a9ba42ac28. Fix for #3827.
* Call vacuum when cleaning the databaseSamuel Tardieu2014-05-091-0/+4
|
* Fixes #3698, Archived caches still shown on maprsudev2014-05-031-0/+1
| | | | | | | - filter archived as disabled on map - their waypoints as well - use disabled icon for archived on static maps - filter archived alongside disabled in SearchResult
* Merge remote-tracking branch 'origin/release'Michael Keppler2014-04-281-37/+45
|\ | | | | | | | | Conflicts: main/src/cgeo/geocaching/DataStore.java
| * fix #3750: gracefully handle file system access restrictionsMichael Keppler2014-04-281-37/+46
| |
* | fix #3791: have logs separated from cachesMichael Keppler2014-04-251-4/+8
| |
* | Revert "fix #3759: OOM while loading caches"Samuel Tardieu2014-04-241-58/+56
| | | | | | | | | | | | This reverts commit 2f3e8ddd18303123a1b81995357f27461fa1d586, as the symptom of the out of memory error might not be its cause, and it slows down the loading of lists.
* | Take advantage of RxJava's renewed Android operatorsSamuel Tardieu2014-04-201-4/+5
|/
* fix #3759: OOM while loading cachesSamuel Tardieu2014-04-131-56/+58
| | | | Caches are now loaded by chunks of 50.
* work on #3727: limit the number of waypoints that can be loadedSamuel Tardieu2014-04-131-1/+3
| | | | | | Limit the number of waypoints that can be loaded from the database to two times the number of caches under which the waypoints are not shown anymore.
* Do not use AndroidObservableSamuel Tardieu2014-04-051-4/+3
| | | | This lets us return to an unmodified version of RxJava.
* fix #3716: NPE in getCachedMissingFromSearchSamuel Tardieu2014-04-021-11/+8
|
* fix #3708: NPE in database cleaningSamuel Tardieu2014-03-311-5/+5
| | | | | This happens only when the database is in bad shape, but prevents from seeing the error message.
* Clean obsolete log images information as a temporary measureSamuel Tardieu2014-03-241-0/+5
| | | | | For about one year, log images information will be removed at every start. See issue #3514.
* fix #3514: log images table should be cleanedSamuel Tardieu2014-03-241-1/+1
|
* Upgrade to RxJava 0.17.1 + cgeo patchSamuel Tardieu2014-03-221-1/+1
| | | | | | | | | | There is an ongoing problem with RxJava, discussed at https://github.com/Netflix/RxJava/issues/979 This version includes a patch available at https://github.com/cgeo/RxJava/commit/9ffb27f310d9f454d10d4d03206d8b5a262f6d63 fixup! Upgrade to RxJava 0.17.1
* fix compiler warningsBananeweizen2014-03-191-24/+24
| | | | | * nullness * unnecessary else * wrong javadoc
* refactoring: moveDatabase belongs to DataStoreSamuel Tardieu2014-03-151-23/+48
|
* refactoring: factor out common codeSamuel Tardieu2014-03-061-19/+7
|
* Fix java warningsSamuel Tardieu2014-03-061-2/+2
|
* refactoring: factor out common codeSamuel Tardieu2014-03-051-167/+123
|
* Avoid synchronization if not neededSamuel Tardieu2014-03-051-8/+12
|
* fix #3560: Search bar shall match against ownerBananeweizen2014-01-211-2/+2
|
* fix #3561: remove search suggestions for addressBananeweizen2014-01-211-4/+0
|
* sort search suggestions case insensitiveBananeweizen2014-01-181-10/+4
|
* new: search suggestions for all search fieldsBananeweizen2014-01-141-38/+43
|
* new: search suggestions for caches and trackables while typingBananeweizen2014-01-121-1/+71
|
* Merge branch 'release' into upstreamSamuel Tardieu2014-01-091-2/+2
|\
| * fix #3534: NullPointerException in getInternalStorageBaseSamuel Tardieu2014-01-091-2/+2
| |
* | Remove onTerminate() in applicationSamuel Tardieu2014-01-081-5/+0
| | | | | | | | | | | | | | | | | | | | Not only it is not advised to derive from `Application` as this is often deemed useless, but also the `onTerminate()` method is never called on real devices. Since it causes issues with our tests since it accesses ressources that appear to have been cleaned up already, such as the application context, it is best to remove it entirely.
* | Merge branch 'release' into upstreamSamuel Tardieu2014-01-081-3/+3
|\ \ | |/
| * fix #3527: bad query stringSamuel Tardieu2014-01-081-3/+3
| | | | | | | | | | | | Let's hope that the bad formatting occurring for, at least, very small negative values in `String.format()` with a `null` Locale will not happen with `StringBuilder.append(double)`.
* | Revert "refactoring: remove dead enumeration items and dead code"Samuel Tardieu2014-01-061-0/+29
| | | | | | | | | | | | This reverts commit e2443f151d4d2bcd7574c19dcb3b4aedbd262a75. The enumeration items were used in a range expression.
* | refactoring: remove dead enumeration items and dead codeSamuel Tardieu2014-01-061-29/+0
| |
* | #609: run directory maintenance manuallyBananeweizen2014-01-051-2/+9
| |
* | Merge branch 'release' into upstreamSamuel Tardieu2014-01-051-6/+0
|\ \ | |/
| * work on #2315: do not switch to internal storageSamuel Tardieu2014-01-051-6/+0
| | | | | | | | | | | | Switching to internal storage has the potential for destructing some user data if the user reinserts an absent SD card and reswitches the applicatioon to use it.
* | Merge branch 'release' into upstreamSamuel Tardieu2014-01-051-13/+28
|\ \ | |/
| * work on #2315: preserve corrupted database on SD storageSamuel Tardieu2014-01-051-13/+28
| | | | | | | | Also, switch the DB to internal storage if we could not use external one.
* | Merge branch 'release' into upstreamSamuel Tardieu2014-01-051-1/+14
|\ \ | |/
| * fix #2467: recreate database if it cannot be openedSamuel Tardieu2014-01-051-1/+14
| |
* | fix #3513: do not clean offline logs during background cleanupBananeweizen2014-01-051-0/+29
|/
* fix #3494: EC attributes disappear on refreshSamuel Tardieu2014-01-031-3/+7
| | | | | The lazy loading of attributes appeared after they had been removed from the database.
* #3088: batch the database requests from the live mapBananeweizen2014-01-031-21/+52
|
* refactoring: don't use Iterable when we have a ListSamuel Tardieu2014-01-021-2/+2
|