aboutsummaryrefslogtreecommitdiffstats
path: root/main/src/cgeo/geocaching/files/LocParser.java
Commit message (Collapse)AuthorAgeFilesLines
* fix NPE in testBananeweizen2014-05-281-2/+6
|
* fix #3920: wrong progress reporting for loc importBananeweizen2014-05-281-2/+3
|
* refactoring: cgData -> DataStoreSamuel Tardieu2013-09-131-2/+2
|
* Fix #2888 - Store loc file owner name correctlycampbeb2013-06-131-3/+3
| | | | loc file has ownerUserId not ownerDisplayName
* fix #2841: *.loc from waymarking not importedBananeweizen2013-06-081-17/+16
|
* Correct log messages to account for refactoringcampbeb2013-06-051-1/+1
|
* Refactoring: rename cgCache into GeocacheSamuel Tardieu2013-02-031-17/+17
|
* fix #2328: Have a wrapper around Matcher to avoid String related memoryBananeweizen2013-01-051-8/+8
| | | issues
* #1987: Not able to import *.loc file from GC.comBananeweizen2012-12-291-12/+17
|
* fix #2211: remove application-database indirectionBananeweizen2012-12-011-2/+2
|
* code cleanup: fix Lint warnings about LocalesBananeweizen2012-11-221-3/+2
|
* Refactoring: keep GeopointParser private to its packageSamuel Tardieu2012-04-211-2/+1
| | | | | | | Geopoint exposes everything GeopointParser can do. By calling a Geopoint constructor instead of a GeopointParser method returning a Geopoint, Eclipse can do more null checks for free (a constuctor can never return a null object).
* refactoring: remove the logging tag from settingsBananeweizen2012-04-121-5/+3
|
* Refactoring: use IWaypoint and cgCache instead of cgCoord objectSamuel Tardieu2012-04-011-63/+65
| | | | | | | | | | | | | | Most of the time, the cgCoord is built from an existing cache or from an existing waypoint. And most of the time, using the IWaypoint interface is fine. We can see a cache as being a waypoint as well, so by making it implement IWaypoint we can manipulate IWaypoint objects every time we were manipulating cgCoord ones without copying. After this refactoring, cgCoord was only used to hold some partial cache information. cgCache can be used instead, and cgCoord is not needed anymore.
* 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.
* Non-reliable coords for Basic Members. Fixes #1285blafoo2012-03-171-0/+1
|
* performance refactoringsBananeweizen2012-03-041-1/+13
| | | | | | * avoid creating message objects, there is a pool * only get GCVotes for filtered caches, not for all * don't use GepointParser in LocParser, we know those are pure floats * String concatenation
* refactoring: don't load caches in loopsBananeweizen2012-03-011-4/+9
|
* refactoring: use underscore in symbolic constantsBananeweizen2012-02-161-1/+1
| | | * otherwise they are not readable
* Changed database handlingblafoo2012-02-081-4/+7
|
* fix #1071: FC with unknown container sizeBananeweizen2012-01-311-1/+1
|
* Search returns reliable coords. Fixes #1031blafoo2012-01-251-1/+0
|
* fix #972: mark non GC caches as reliableBananeweizen2012-01-141-0/+2
|
* Refactored/renamed cgSearch/cgWrapCacheblafoo2011-12-251-4/+3
|
* Fix #903 Rename field "reason" to "listId"blafoo2011-12-191-1/+1
|
* refactoring: reduce boxing/unboxing crazinessBananeweizen2011-12-031-2/+2
|
* Use of CacheType instead of Stringblafoo2011-11-181-1/+1
|
* new: cancel GPX import with back buttonStephan Merker2011-11-091-2/+2
|
* Merge remote branch 'stephanme/importwpt'Bananeweizen2011-11-011-33/+31
|\ | | | | | | | | | | | | Conflicts: main/src/cgeo/geocaching/files/GPXParser.java main/src/cgeo/geocaching/files/LocParser.java tests/src/cgeo/geocaching/files/LocParserTest.java
| * fix #714: Progress bar wrong when importing gpx with waypointsStephan Merker2011-10-301-33/+31
| | | | | | | | | | | | | | - moved file handling from GPXParser to cgeopgxes - streamlined LocParser with GPXParser - removed cache counting in favor of progress bar - added error dialog if import went wrong - fixed stream handling when importing attachement
* | No direct access to fieldsblafoo2011-10-261-31/+29
|/
* Do not use an extra indirection for storing search resultsSamuel Tardieu2011-10-241-3/+2
| | | | | | | | | | What is called search result (or cgSearch) in c:geo is a collection of caches that can or cannot come from a real search. Remove the indirection and the ever-growing hash map that was previously used. This will save memory, especially when using live maps. See discussion in issue #707.
* #310, import GPX from mailBananeweizen2011-10-161-2/+2
| | | | | | * tested with Gmail only, not with other mail clients * uses the GPX activity, so you will see the GPX files of your SD card in the background * some refactorings and cleanups in GPX parser
* support cache type "unknown", fixes #518Bananeweizen2011-10-161-1/+2
| | | | * refactored many places to reference the cache type enum * special icon for "unknown" still missing
* fix #586: manual merge of usability improvement for GPX importStephan Merker2011-10-031-2/+3
| | | | 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-031-4/+4
| | | | | | | | | | * 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...
* new: LOC files importBananeweizen2011-09-191-6/+4
|
* * have static dictionaries in cgBase initialized in static sectionBananeweizen2011-09-191-9/+7
| | | | | | | | | (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
* Move sources into the main directorySamuel Tardieu2011-09-161-0/+177
This prepares the inclusion of tests into the same repository.