aboutsummaryrefslogtreecommitdiffstats
path: root/src/cgeo/geocaching/cgBase.java
Commit message (Collapse)AuthorAgeFilesLines
* Move sources into the main directorySamuel Tardieu2011-09-161-4809/+0
| | | | This prepares the inclusion of tests into the same repository.
* Factor out logs loading to avoid dirty exception throwingSamuel Tardieu2011-09-161-74/+87
|
* Remove now useless parameters to search-by-GC querySamuel Tardieu2011-09-161-3/+0
|
* Change spoilers pattern due to web site changeSamuel Tardieu2011-09-161-1/+1
| | | | Fixes #474.
* Merge branch 'release_20110915' into upstreamSamuel Tardieu2011-09-151-1/+1
|\
| * URL for log images has changed, update itSamuel Tardieu2011-09-151-1/+1
| | | | | | | | Noticed in #470.
* | Merge branch 'release_20110915' into upstreamSamuel Tardieu2011-09-151-1/+1
|\ \ | |/
| * Request 35 logs as we did beforeSamuel Tardieu2011-09-151-1/+1
| |
* | Merge pull request #463 from samueltardieu/use-geopoint-parserSamuel Tardieu2011-09-151-112/+0
|\ \ | | | | | | Use geopoint parser
| * | Use GeopointParser to parse coordinatesSamuel Tardieu2011-09-151-112/+0
| | |
* | | Merge branch 'release_20110915' into upstreamSamuel Tardieu2011-09-151-44/+49
|\ \ \ | |/ / |/| / | |/
| * Retrieve logs using the new JSON geocaching.com formatSamuel Tardieu2011-09-151-44/+49
| |
* | Cache size: using constants, not stringsKarsten Priegnitz2011-09-151-11/+18
|/
* Gather all cookies handling in one placeSamuel Tardieu2011-09-151-111/+5
| | | | | | | | | Cookies handling is now done in the CookieJar static class through properly synchronized methods. Moreover, the information is cached for efficiency, as cookie string needed to be built for every HTTP request. Fix for #444.
* Remove trailing whitespace in Javadoc stringsSamuel Tardieu2011-09-151-11/+11
|
* FormattingSammysHP2011-09-141-4886/+4898
|
* Remove one instance of getHumanDistance()Samuel Tardieu2011-09-131-11/+3
|
* Replace callers of getRadialDistance() by a direct callSamuel Tardieu2011-09-131-4/+0
|
* Replace callers of getHeading() by a direct callSamuel Tardieu2011-09-131-4/+0
|
* Replace callers of getDistance() by a direct callSamuel Tardieu2011-09-131-8/+0
|
* Merge branch 'new-locus-api' into upstreamSamuel Tardieu2011-09-131-71/+19
|\
| * Merge commit 'upstream/master'Karsten Priegnitz2011-09-121-22/+12
| |\
| * \ Merge commit 'upstream/master'Karsten Priegnitz2011-09-121-177/+117
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/cgeo/geocaching/apps/cache/navi/LocusApp.java src/cgeo/geocaching/apps/cachelist/LocusCacheListApp.java
| * | | calling Locus - dates and empty waypointsKarsten Priegnitz2011-09-111-14/+1
| | | |
| * | | Merge commit 'upstream/master'Karsten Priegnitz2011-09-091-21/+17
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: AndroidManifest.xml
| * | | | use of new Locus APIKarsten Priegnitz2011-09-091-73/+33
| | | | |
* | | | | #420: have options menu for searching own caches. Avoid wrong error logbananeweizen2011-09-121-6/+8
| |_|_|/ |/| | | | | | | if no cache is found.
* | | | Factor distance parser into its own class and static methodSamuel Tardieu2011-09-101-22/+12
| |_|/ |/| | | | | | | | | | | | | | | | | Also, match against one regexp to increase efficiency. Named constants have been used instead of hardcoded ones to convert various lengths to kilometers.
* | | Use mixed case for cacheIdSamuel Tardieu2011-09-101-5/+5
| | |
* | | Neither buffer nor connection can be nullSamuel Tardieu2011-09-101-6/+2
| | | | | | | | | | | | | | | connection has been dereferenced a few lines above and buffer is initialized at the beginning of the for loop.
* | | Use Geopoint instead of latitude/longitudeSamuel Tardieu2011-09-101-16/+18
| | | | | | | | | | | | | | | There were a few remaining places where latitude and longitude were stored as uncorrelated entities.
* | | Use Geopoint instead of latitude/longitude pairSamuel Tardieu2011-09-101-5/+3
| | |
* | | Remove dead stores to the caches variableSamuel Tardieu2011-09-101-12/+7
| | | | | | | | | | | | | | | | | | Those dead stores of newly created objects are overwritten later and never used. The constructor has no useful side effect, so those dead stores can be removed.
* | | Mark some fields as finalSamuel Tardieu2011-09-101-13/+13
| | |
* | | Do not round() integer values as this is a no-opSamuel Tardieu2011-09-101-2/+2
| | |
* | | Merge branch 'master' into use-geopointSamuel Tardieu2011-09-101-20/+36
|\ \ \ | | | | | | | | | | | | | | | | | | | | Conflicts: src/cgeo/geocaching/StaticMapsProvider.java src/cgeo/geocaching/cgeo.java
| * \ \ Merge remote branch 'gezb/301_fixes'Bananeweizen2011-09-101-20/+36
| |\ \ \ | | |_|/ | |/| | | | | | | | | | | | | | Conflicts: src/cgeo/geocaching/cgBase.java src/cgeo/geocaching/cgeoapplication.java
| | * | More errors found in refactor for #301Gerald Barker2011-09-041-14/+13
| | | |
| | * | add braces to the for and if in cgBase.isEmpty() to make it moreGerald Barker2011-09-041-2/+4
| | | | | | | | | | | | readable
| | * | Fixes to errors made while refactoring for #301Gerald Barker2011-09-041-8/+23
| | | |
* | | | Merge branch 'master' into use-geopoint-391Samuel Tardieu2011-09-091-18/+13
|\ \ \ \ | |/ / / | | | | | | | | | | | | Conflicts: src/cgeo/geocaching/cgData.java
| * | | Use localized date and time format for historySamuel Tardieu2011-09-081-0/+12
| | | | | | | | | | | | | | | | This fixes #7 (reopened issue).
| * | | Remove ancient parameter from documentationSamuel Tardieu2011-09-081-4/+0
| | | |
| * | | Do not try alternative pattern if primary one succeedsSamuel Tardieu2011-09-081-14/+1
| | | | | | | | | | | | | | | | Also, remove useless try/catch block.
* | | | Refactoring to use Geopoint for coordinatesSamuel Tardieu2011-09-081-100/+33
|/ / / | | | | | | | | | | | | | | | 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.
* | | fix: trim short descriptionBananeweizen2011-09-071-4/+4
| |/ |/|
* | Use UUID instead of Long as a unique idSamuel Tardieu2011-09-061-11/+12
| | | | | | | | | | The previously used id was not necessarily unique. The UUID class in java.util has been designed for this purpose.
* | Remove never-read field errorRetrieveSamuel Tardieu2011-09-061-1/+0
| |
* | Merge pull request #362 from gezb/361mucek42011-09-051-192/+115
|\ \ | |/ |/| Refactor to address issue #361
| * Refactor to address issue #361Gerald Barker2011-09-031-192/+115
| |