aboutsummaryrefslogtreecommitdiffstats
path: root/main/src/cgeo/geocaching/files/GPXParser.java
Commit message (Collapse)AuthorAgeFilesLines
...
* 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.
* Refactoring: remove unnecessary unboxingSamuel Tardieu2012-04-271-1/+1
|
* refactoring of database accessBananeweizen2012-04-231-3/+3
| | | | | | * use only one transaction when saving a cache * rework some methods to always take a collection of objects instead of calling the database multiple times
* Refactoring: replace for loop by for each loopSamuel Tardieu2012-04-221-3/+3
|
* refactoring: renames and encapsulationBananeweizen2012-04-191-3/+3
|
* refactoring: remove the logging tag from settingsBananeweizen2012-04-121-9/+8
|
* Merge remote-tracking branch 'upstream/release' into upstreamSamuel Tardieu2012-04-011-2/+2
|\ | | | | | | | | | | | | | | | | | | Fixes and features have been implemented on the release branch. Merge them early enough to avoid dealing with huge conflicts later. Conflicts: main/src/cgeo/geocaching/Settings.java main/src/cgeo/geocaching/compatibility/Compatibility.java main/src/cgeo/geocaching/maps/CGeoMap.java
| * Fix #1332: uppercase geocode built from name when importing GPXSamuel Tardieu2012-04-011-2/+2
| | | | | | | | | | | | | | | | When importing a GPX file, if no geocode is found matching the expected format, one is built from the cache name. In several places, the geocode is transformed into upper case, which is supposed to be a no-op. Use uppercase when building a geocode from the cache name to ensure it is indeed a no-op.
* | 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.
* Lint: use Double.valueOf(…) instead of new Double(…)Samuel Tardieu2012-03-221-2/+2
| | | | Android Lint v. 17
* fix #1281: .gpx import fails to recognize most caches in TX ChallengeBananeweizen2012-03-201-13/+25
| | | package
* Refactor so all waypoint operations are done through the Cache object.campbeb2012-03-051-1/+1
| | | | Check for editing a waypoint when adding. Save cache after waypoint operations so finalDefined is set correctly.
* Fix #1040, waypoint typesrsudev2012-02-121-1/+1
| | | Additionally introduces flag for 'final defined' in cache lists
* Changed database handlingblafoo2012-02-081-1/+2
|
* fix #972: mark non GC caches as reliableBananeweizen2012-01-141-1/+3
|
* addendum to last commit: NPE for imported caches without any log Bananeweizen2012-01-041-4/+1
|
* refactoring: immutable attributes collectionBananeweizen2011-12-311-4/+1
|
* refactoring for #908: waypoint list of cache is immutable for clientsBananeweizen2011-12-261-7/+6
| | | | | | and never null * avoids initializations outside of cache * avoids tempering with internal data outside of cache * removes redundant code and null checks
* Fix #903 Rename field "reason" to "listId"blafoo2011-12-191-1/+1
|
* fix #890: Non existing waypointBananeweizen2011-12-171-1/+1
|
* Use of Logtype instead of intblafoo2011-12-141-6/+2
|
* refactoring: reduce boxing/unboxing crazinessBananeweizen2011-12-031-4/+4
|
* fix: handle GeoKrety trackables better, fixes #840Bananeweizen2011-11-301-4/+4
|
* Merge remote branch 'blafoo/cachetype'Bananeweizen2011-11-231-2/+2
|\ | | | | | | | | | | | | | | Conflicts: main/src/cgeo/geocaching/cgBase.java main/src/cgeo/geocaching/cgeocaches.java main/src/cgeo/geocaching/filter/cgFilterByType.java main/src/cgeo/geocaching/maps/CachesOverlay.java
| * Use of CacheType instead of Stringblafoo2011-11-181-2/+2
| |
* | fix #821: import timestamps with 7 digits in seconds fractionBananeweizen2011-11-211-1/+1
|/
* Enabled (and fixed) (more) warningsblafoo2011-11-181-0/+1
|
* new: cancel GPX import with back buttonStephan Merker2011-11-091-2/+2
|
* Prevent boolean boxing/unboxingSamuel Tardieu2011-11-091-1/+1
|
* fix GPX import: state field can be emptyBananeweizen2011-11-051-4/+7
|
* new: import caches from unknown source, fixes #720Bananeweizen2011-11-011-4/+14
|
* Merge remote branch 'stephanme/importwpt'Bananeweizen2011-11-011-121/+5
|\ | | | | | | | | | | | | 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-121/+5
| | | | | | | | | | | | | | - 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-84/+71
|/
* Do not use an extra indirection for storing search resultsSamuel Tardieu2011-10-241-5/+4
| | | | | | | | | | 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.
* fix #369: waypoints sorted wronglyBananeweizen2011-10-231-2/+2
|
* fix: parse GPX dates with milliseconds and without time zone correctlyBananeweizen2011-10-221-8/+12
| | | * avoids warning in unit tests
* #310, import GPX from mailBananeweizen2011-10-161-15/+41
| | | | | | * 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
* 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-101-5/+9
| |\ | | | | | | | | | | | | | | | Conflicts: main/src/cgeo/geocaching/cgData.java main/src/cgeo/geocaching/cgeodetail.java
| * | always use WaypointTypekoem2011-10-081-1/+1
| | |
* | | new: have progress bar when importing GPXBananeweizen2011-10-111-8/+10
| |/ |/|
* | Fixed + refactored cgTrackable, added testblafoo2011-10-081-3/+3
| |
* | fix: also handle time stamps containing milli seconds in GPXBananeweizen2011-10-081-2/+6
|/
* 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-031-7/+5
| | | - fixes 587
* fix #586: manual merge of usability improvement for GPX importStephan Merker2011-10-031-2/+6
| | | | 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-13/+13
| | | | | | | | | | * 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...