aboutsummaryrefslogtreecommitdiffstats
path: root/src/cgeo/geocaching/cgCache.java
Commit message (Collapse)AuthorAgeFilesLines
* Move sources into the main directorySamuel Tardieu2011-09-161-461/+0
| | | | This prepares the inclusion of tests into the same repository.
* Cache size: using constants, not stringsKarsten Priegnitz2011-09-151-3/+4
|
* Remove trailing whitespace in Javadoc stringsSamuel Tardieu2011-09-151-3/+3
|
* FormattingSammysHP2011-09-141-432/+434
|
* Do not confuse "empty inventory" with "unknown inventory"Samuel Tardieu2011-09-131-3/+5
| | | | | | | | | | | | | The fact that 0 may mean both "empty inventory" and "unknown inventory" will confuse cache refreshing. If a trackback is removed from a cache, refreshing it will show an empty inventory but a count of 1, because the new count would be ignored as if it was undefined. Until we find a better solution to handle inventory in one place instead of two, copy inventory items count from old cache only when we copy inventory content. That should help with issue #344.
* Reinstate null checkSamuel Tardieu2011-09-131-0/+4
| | | | The null check was inadvertently removed during the renaming.
* Rename merge() into more exact gatherMissingFrom()Samuel Tardieu2011-09-131-47/+45
| | | | | | Also, the method no longer returns "this" as chaining calls is not important here. The unused "storage" argument has been removed.
* Remove one instance of getHumanDistance()Samuel Tardieu2011-09-131-1/+1
|
* Replace callers of getHeading() by a direct callSamuel Tardieu2011-09-131-1/+1
|
* fix: don't try to replace NUMBER template in offline loggin mode. Thatbananeweizen2011-09-121-1/+1
| | | | | leads to ugly IOExceptions when being offline.
* Use mixed case for cacheIdSamuel Tardieu2011-09-101-5/+5
|
* Merge branch 'master' into use-geopoint-391Samuel Tardieu2011-09-091-25/+1
|\ | | | | | | | | Conflicts: src/cgeo/geocaching/cgData.java
| * Merge remote branch 'Portree-Kid/database-optimization'Bananeweizen2011-09-091-25/+1
| |\ | | | | | | | | | | | | | | | | | | Conflicts: src/cgeo/geocaching/cgData.java src/cgeo/geocaching/cgeoapplication.java src/cgeo/geocaching/mapcommon/cgeomap.java
| | * Step 1 of Performance Cut down number of selects per cache keith.paterson2011-08-301-25/+1
| | |
* | | Refactoring to use Geopoint for coordinatesSamuel Tardieu2011-09-081-7/+4
|/ / | | | | | | | | | | This uses the new Geopoint immutable class discussed in #58. No more independent longitude or latitude fields -- they are now treated and defined as a consistent pair.
* | typo in interface methodBananeweizen2011-09-081-1/+1
| |
* | remove test only method, make it part of the mock object insteadBananeweizen2011-09-071-5/+0
| |
* | Refactor to address issue #361Gerald Barker2011-09-031-8/+10
| |
* | more refctoring missed in first passGerald Barker2011-09-031-3/+2
| |
* | Update locaal branch to revision 8d040c24bfbb2a12788dGerald Barker2011-09-031-6/+110
|\ \
| * | Additional test datablafoo2011-09-011-0/+25
| | |
| * | Merge remote-tracking branch 'upstream/master' into unittestblafoo2011-08-311-391/+391
| |\ \ | | | | | | | | | | | | | | | | | | | | Conflicts: res/values/strings.xml src/cgeo/geocaching/cgCache.java
| | * | code cleanup: protect abstract class constructors, rewrite long constantBananeweizen2011-08-311-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | literals, optimize string concatenation, move loop variables, remove return value parentheses, remove duplicate semicolons, fulfill equals contract If you get merge conflicts afterwards, you may overwrite any changes of this commit.
| * | | Mergeblafoo2011-08-291-3/+11
| | | |
| * | | Merge conflictblafoo2011-08-291-0/+13
| | | |
| * | | Merge remote-tracking branch 'upstream/master' into unittestblafoo2011-08-291-13/+0
| |\ \ \ | | |/ / | | | | | | | | | | | | Conflicts: src/cgeo/geocaching/cgCache.java
| | * | have log filled with signature also in offline mode, fixes #267Bananeweizen2011-08-281-3/+9
| | |/
| * | Missing importsblafoo2011-08-291-382/+450
| |\ \
| | * | + Testsblafoo2011-08-291-1/+66
| | | | | | | | | | | | | | | | | | | | + javadoc + Constant
| | * | JavaDocblafoo2011-08-261-0/+7
| | |/
| * | Added javadocblafoo2011-08-261-0/+3
| |/
* | First commit of Apache Commons String & Date functions and required, andGerald Barker2011-09-021-19/+21
|/ | | refactor of code to use them.
* first steps towards supporting other cache databases, see also commentsBananeweizen2011-08-221-9/+28
| | | from #259
* enable import of opencaching GPX files, fixes #259bananeweizen2011-08-211-0/+12
|
* better input validation in GPX parser, fixes #244bananeweizen2011-08-201-4/+4
|
* sub menu for offline logging, fixes #232bananeweizen2011-08-191-7/+44
|
* first part of #232, sub menu for state selection is still missingbananeweizen2011-08-191-0/+37
|
* unify code for logging templates in settings and logging menu in loggingbananeweizen2011-08-151-4/+1
| | | | | activity. Inserting a template now also adds whitespace if necessary. fixes #176
* Merge branch 'master' of ↵Bananeweizen2011-08-121-8/+8
|\ | | | | | | https://Bananeweizen@github.com/cgeo/c-geo-opensource.git
| * Remove uses of "== true" and "!= false"Samuel Tardieu2011-08-111-6/+6
| |
| * using `.valueov()` instead of constructor for doubles and floatsFlorian Moesch2011-08-111-2/+2
| |
* | sort event caches by event date, fixes #148Bananeweizen2011-08-111-1/+8
|/
* Personal note displaymucek42011-08-101-0/+4
|
* fix #105: Manual waypoint modifications are lost by RefreshBananeweizen2011-08-071-0/+1
| | | | | | * implement merging for waypoints * prefer non empty fields on merge * prefer old waypoint note if it is longer * always merge cache, if it was already stored
* Merge pull request #84 from rahu/masterc:geo2011-08-011-1/+1
|\ | | | | Display images for logs
| * Display Images from Logs (Issue #40)Ralf Hubert2011-08-011-1/+1
| | | | | | | | | | | | | | | | | | | | - changed db-version to 54 (need table for logimages) - renamed cgSpoiler to cgImage - renamed cgeospoilers to cgeoimages - added setting to store/not store logimages TODO: - draw a pretty icon - maybe translate the new strings
* | cleanupBananeweizen2011-08-011-0/+29
|/ | | | | | * make potentially static methods static * remove unused constants * remove unused imports * move a cache related (otherwise static base) method to the cache class
* - refactoring: less and clearer codeKarsten Priegnitz2011-07-301-0/+1
| | | | | | | | | | - now parsing watchlist state when reading cache details - did some little refactoring in cgData (read/write booleans with inline if) - I introduced a new DB-Version (53). Don't know if I could've put my changes in #52? - I put the watchlist information in a separate box with buttons - screenshots - http://koem.kicks-ass.net/notonwatchlist.png - http://koem.kicks-ass.net/onwatchlist.png
* fix: NullPointerException in cache elevation updateBananeweizen2011-07-241-8/+25
| | | | | fix: wrong parsing of event dates fix: add to calendar only enabled if date has been parsed correctly and is in the future
* First commitmucek42011-07-111-0/+218