aboutsummaryrefslogtreecommitdiffstats
path: root/main/src/cgeo/geocaching/files
Commit message (Collapse)AuthorAgeFilesLines
* Merge remote-tracking branch 'koem/enums' into upstreamSamuel Tardieu2011-10-131-1/+1
|\ | | | | | | | | Conflicts: main/src/cgeo/geocaching/maps/CGeoMap.java
| * use WaypointTypekoem2011-10-111-1/+1
| |
| * Merge remote branch 'upstream/master' into enumskoem2011-10-103-6/+20
| |\ | | | | | | | | | | | | | | | Conflicts: main/src/cgeo/geocaching/cgData.java main/src/cgeo/geocaching/cgeodetail.java
| * | always use WaypointTypekoem2011-10-081-1/+1
| | |
* | | fix progress counting for GPX importBananeweizen2011-10-121-4/+3
| | |
* | | new: have progress bar when importing GPXBananeweizen2011-10-113-10/+59
| |/ |/|
* | Use isEmpty() and isNotEmpty() from CollectionUtilsSamuel Tardieu2011-10-091-1/+2
| |
* | Remove comparisons to booleansSamuel Tardieu2011-10-091-0/+9
| |
* | Fixed + refactored cgTrackable, added testblafoo2011-10-081-3/+3
| |
* | fix: also handle time stamps containing milli seconds in GPXBananeweizen2011-10-081-2/+6
|/
* Move local storage directory name into LocalStorageSamuel Tardieu2011-10-081-2/+6
|
* Use the File type for handling directory listsSamuel Tardieu2011-10-071-4/+2
| | | | | This is consistent which what it done in other parts of the code.
* Further factor stream to stream copyingSamuel Tardieu2011-10-061-16/+16
|
* Reorganize and cleanup the local storage handlingSamuel Tardieu2011-10-061-0/+217
| | | | | | | | | 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 #360: don't load cache description, except when needed in detailsBananeweizen2011-10-031-4/+3
| | | | | view This saves 1.6 MB RAM for 500 caches on my device.
* Made some public methods package privateStephan Merker2011-10-032-9/+13
| | | - fixes 587
* fix #586: manual merge of usability improvement for GPX importStephan Merker2011-10-034-19/+28
| | | | I hope I got it right. I had to apply this as patch, as my Eclipse didn't want to merge this pull request by any means.
* fix #120: make settings static (no singleton)Bananeweizen2011-10-033-22/+21
| | | | | | | | | | * 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...
* fix compile errors after merging #544 (tests still to be fixed)bananeweizen2011-09-291-2/+0
|
* Merge pull request #544 from stephanme/importwptBananeweizen2011-09-291-25/+116
|\ | | | | Import waypoints file from pocket query
| * Improved getWaypointsFileForGpx()Stephan Merker2011-09-281-4/+5
| |
| * Import waypoint file together with cache gpx file if existsStephan Merker2011-09-271-47/+64
| | | | | | | | | | - get rid of DB accesses and cache tweaking during parsing - caches are written once together with waypoints into DB
| * performance improvement for importing waypointsStephan Merker2011-09-251-14/+17
| | | | | | | | | | | | | | | | | | - caches are stored in result map instead of list for fast lookup by geocode - importing waypoints returns now the number of updated caches instead of number of imported waypoints - fix: cache with multiple waypoints was returned multiple times in result list - order of import result collection is not guaranteed
| * map waypoint type pocket query waypoints file to WaypointTypeStephan Merker2011-09-251-2/+19
| | | | | | ... so that proper icons are shown for waypoints
| * Import waypoints file from pocket queryStephan Merker2011-09-251-1/+54
| | | | | | | | | | Waypoints are merged to cache based on waypoint name. Therefore caches must be imported before waypoints.
* | Do not modify parameters when possibleSamuel Tardieu2011-09-291-5/+4
| |
* | Remove latitudeString and longitudeString fieldsSamuel Tardieu2011-09-281-3/+0
|/ | | | Those fields can be resynthesized if needed from the cache coordinates.
* new: LOC files importBananeweizen2011-09-191-6/+4
|
* * have static dictionaries in cgBase initialized in static sectionBananeweizen2011-09-195-72/+87
| | | | | | | | | (necessary for some unit tests) * have singleton of application instance, allows removing all the "app" fields everywhere afterwards * refactor GPX parser to be independent of c:geo application classes, so it can be tested much easier * new unit tests for different GPX versions and sources * new unit tests for LOC file parsing
* Do not abuse String.indexOf()Samuel Tardieu2011-09-161-3/+3
|
* Move sources into the main directorySamuel Tardieu2011-09-166-0/+1311
This prepares the inclusion of tests into the same repository.