aboutsummaryrefslogtreecommitdiffstats
path: root/main/src/cgeo/geocaching/StaticMapsProvider.java
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'release' into upstreamSamuel Tardieu2012-05-301-5/+5
|\
| * fixes #1670 : wrong filename for downloaded cache and waypoint static mapsMarco Jacob2012-05-301-5/+5
| |
* | refactoring: clean up leaked interface of static maps providerBananeweizen2012-05-301-17/+35
|/
* Use httpclientandroidlib instead of plain old httpclientSamuel Tardieu2012-05-231-1/+1
|
* Fix #1569: download details preview through StaticMapsProviderMarco Jacob2012-05-161-22/+37
|
* factoring: use constants for map file namesBananeweizen2012-05-131-10/+9
|
* fixes #1512 : deletes all static maps for waypoints of a cache on refreshMarco Jacob2012-05-121-1/+3
|
* refactoring: remove unused codeBananeweizen2012-05-041-10/+0
|
* Merge pull request #1492 from marco-jacob/issue#1465Bananeweizen2012-05-041-0/+10
|\ | | | | Fix for Issue#1465
| * Fixes issue #1465. Cache static maps are displayed right after downloadMarco Jacob2012-05-031-0/+10
| |
* | refactoring: remove some activity contexts from non activity codeBananeweizen2012-05-031-7/+2
|/
* Refactoring: remove redundant initializersSamuel Tardieu2012-04-281-1/+1
| | | | | The initial values were never used as the variables are set in any case before being used.
* no download if http response code differs from 200Marco Jacob2012-04-251-21/+27
|
* Refactoring: remove isValidIndex() and most uses of hasWaypoints()Samuel Tardieu2012-04-221-8/+6
| | | | | | | | | Most of the time, a loop on cgCache#getWaypoints() follows. This method returns an empty collection, so the cgCache#hasWaypoints() test is useless. Also, checking for a valid index is useless as cgCache#getWaypoint() will return null if the index is invalid.
* Refactoring: rename request into getRequestSamuel Tardieu2012-04-171-1/+1
| | | | Those methods only do GET requests.
* Merge branch 'common-network-code' into upstreamSamuel Tardieu2012-04-131-17/+24
|\ | | | | | | | | Conflicts: main/src/cgeo/geocaching/CacheDetailActivity.java
| * Refactoring: use common URL builder methodsSamuel Tardieu2012-04-121-14/+14
| |
| * Cleanup: do not add Content-Type to GET requestSamuel Tardieu2012-04-121-4/+11
| | | | | | | | | | Whatever code requests its presence is probably wrong, as Content-Type describes the type of the body, which is non-existent for a GET request.
* | refactoring: remove the logging tag from settingsBananeweizen2012-04-121-2/+2
|/
* Remove Task type, whose name field is never usedSamuel Tardieu2012-04-111-2/+1
| | | | | Task is only a Runnable with a name field, whose value is never consulted.
* Proxy all logs through cgeo.geocaching.utils.LogSamuel Tardieu2012-03-311-1/+1
| | | | | | | | The behaviour is unchanged, but altering Settings.isDebug() to return false will prevent verbose, debug and info levels messages from being logged. Part of work on #1301.
* refactoring: first part of removing cgBaseBananeweizen2012-03-101-3/+4
| | | | | | | * extract network stuff (non GC related) * extract GC login stuff * move UI related pieces to activities * to do: move parsing and searching to better places, remove cgBase completely afterwards
* fix #1238: Fatal Error while updating stored cachesBananeweizen2012-03-091-1/+1
|
* Merge remote-tracking branch 'marco-jacob/issue#285'Bananeweizen2012-03-051-9/+28
|\ | | | | | | | | Conflicts: main/src/cgeo/geocaching/StaticMapsProvider.java
| * javadoc adapted, PriorityThreadFactory hidden and ThreadPool renamed to ↵Marco Jacob2012-02-241-3/+2
| | | | | | | | BlockingThreadPool
| * import static maps after gpx importMarco Jacob2012-02-241-12/+31
| |
* | new: menu to refresh static maps in static map activityBananeweizen2012-02-171-22/+27
|/
* Added check for static maps.Torsten Keil2012-02-031-0/+33
|
* added explicit download of cache static mapMarco Jacob2012-01-231-0/+5
|
* refactoring due to store wp static maps when addedMarco Jacob2012-01-151-28/+60
|
* merged with cgeo upstreamMarco Jacob2012-01-141-20/+18
|
* corrected marker icon url for static wp mapMarco Jacob2012-01-131-20/+22
|
* added setting and implementation for waypoint static mapMarco Jacob2012-01-111-14/+29
|
* refactoring: clean up code around static mapsBananeweizen2012-01-081-1/+1
|
* refactoring for #908: waypoint list of cache is immutable for clientsBananeweizen2011-12-261-2/+1
| | | | | | and never null * avoids initializations outside of cache * avoids tempering with internal data outside of cache * removes redundant code and null checks
* Use of CacheType instead of Stringblafoo2011-11-181-1/+1
|
* Create directories only when we will write a fileSamuel Tardieu2011-11-161-3/+3
| | | | | | | | The directory structure should not be created when we are trying to read a file, especially if this file is located into the secondary storage area where we look "just in case". This fixes #802.
* Use GeopointFormatter instead of String.format when coordinates are aroundSamuel Tardieu2011-11-091-6/+3
| | | | | | Some predefined formats have been added to fill the needs. This closes issue #769.
* Do not use deprecated methodsSamuel Tardieu2011-11-081-5/+3
|
* No direct access to fieldsblafoo2011-10-261-15/+15
|
* support cache type "unknown", fixes #518Bananeweizen2011-10-161-1/+1
| | | | * refactored many places to reference the cache type enum * special icon for "unknown" still missing
* use WaypointTypekoem2011-10-111-1/+1
|
* Merge remote branch 'upstream/master' into enumskoem2011-10-101-1/+1
|\ | | | | | | | | | | Conflicts: main/src/cgeo/geocaching/cgData.java main/src/cgeo/geocaching/cgeodetail.java
| * Use Apache Commons CollectionUtils instead of reinventing oneSamuel Tardieu2011-10-091-1/+1
| |
* | always use WaypointTypekoem2011-10-081-1/+1
|/
* Reorganize and cleanup the local storage handlingSamuel Tardieu2011-10-061-82/+16
| | | | | | | | | After the HTTP requests cleanup, it was time to rewrite the local storage handling. Code that manipulate files has been placed into a new LocalStorage class. It can locate files on the disk, retrieve web responses and store them, and copy files.
* fix #120: make settings static (no singleton)Bananeweizen2011-10-031-7/+7
| | | | | | | | | | * Settings can no longer be instantiated, everything is static instead. * Most option values are no longer cached in fields. This has been done for clarity during the refactoring. I will add some performance tests afterwards and may re-introduce those fields for caching the option values. Sorry, if anyone gets merge issues afterwards. There was no easier way to implement this...
* Remove unnecessary null checksSamuel Tardieu2011-09-271-27/+22
|
* Move sources into the main directorySamuel Tardieu2011-09-161-0/+190
This prepares the inclusion of tests into the same repository.