| Commit message (Collapse) | Author | Age | Files | Lines |
| ... | |
| | | |
|
| | | |
|
| | | |
|
| |/
|
|
|
| |
* prefer StringUtils.replace over String.replaceAll
* have new test to verify this change
* remove cgBase instance from LogTemplates
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
| |
zip name format: 1234567_query.zip
contains:
- 1234567_query.gpx
- 1234567_query-wpts.gpx
PQ number has at least 7 digits.
|
| |
|
|
| |
- accepts zip files named like 123467.zip
- imports cache and waypoint files contained in zip
|
| |\
| |
| |
| |
| |
| |
| | |
Conflicts:
tests/src/cgeo/geocaching/files/GPXImporterTest.java
tests/src/cgeo/geocaching/files/GPXParserTest.java
tests/src/cgeo/geocaching/files/LocParserTest.java
|
| | | |
|
| | | |
|
| | |
| |
| |
| |
| |
| | |
* no more public fields, use constructor instead
* allow null values for fields
* image activity startup moved to activity for better encapsulation of
fields
|
| |/
|
|
|
|
|
| |
* tests for enumerations
* initial OKAPI client and connector factory test
* refactored enum lookups to disallow null values
* refactored resource based tests to have one class for reading test
resources
|
| |
|
|
|
|
|
| |
Google maps may return coordinates outside of our comfort zone. Also,
we need to deal with viewports encompassing the 180° meridian.
This fixes #771.
|
| | |
|
| |\
| |
| |
| |
| | |
Conflicts:
tests/src/cgeo/geocaching/cgeoApplicationTest.java
|
| | |
| |
| |
| |
| |
| |
| |
| | |
Conflicts:
main/src/cgeo/geocaching/GCConstants.java
+ fix for ../tests/src/cgeo/geocaching/cgeoApplicationTest.java
|
| | |
| |
| |
| |
| |
| | |
The test will consider that the handler has received all its messages
if nothing happen during 200 milliseconds or if 10 messages have been
received (in case there is a messages storm).
|
| | |
| |
| |
| |
| | |
This avoids reinitializing the object (which needs a context to get
localized strings) at every launch of a list or map activity.
|
| | | |
|
| |\ \
| | |
| | |
| | |
| | | |
Conflicts:
- main/res/values-fr/strings.xml
|
| | | | |
|
| |/ /
| |
| | |
Part of it: Add a method to convert the geocode to the id with a base31-conversion (with Groundspeak-alphabet).
|
| | | |
|
| | | |
|
| | |
| |
| |
| |
| |
| | |
* split import into 2 activies (files and mails)
* move non activity stuff into new class
* split tests accordingly
* fix manifest
|
| | | |
|
| |\ \
| | |
| | |
| | |
| | |
| | |
| | | |
Conflicts:
main/src/cgeo/geocaching/files/GPXParser.java
main/src/cgeo/geocaching/files/LocParser.java
tests/src/cgeo/geocaching/files/LocParserTest.java
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | | |
- 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
|
| | | |
| | |
| | |
| | | |
- refactored import classes in cgeogpxes so that they can be tested
|
| | | | |
|
| |/ / |
|
| | |
| |
| |
| | |
This closes #685.
|
| |/
|
|
|
|
|
|
|
|
| |
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.
|
| | |
|
| | |
|
| |
|
|
| |
* log performance results as info only
* avoid some BufferedReader warnings
|
| | |
|
| |
|
|
|
| |
Also, add a new "loading elevation data" step in progress dialog.
This closes #701.
|
| |
|
|
| |
* will now work with future changes of GC in the string numbers
* avoids warning in unit tests
|
| | |
|
| | |
|
| |
|
|
| |
Part of fix for #670.
|
| |
|
|
|
|
|
| |
* bad side effect of performance optimizations in parsing, reverted that
* refactored parseCache to be static (to be able to write a test)
* moved some map initializations to static code (to allow unit test
without app)
* fixed missing trim for owner name
|
| |
|
|
|
|
| |
* 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
|
| |
|
|
| |
* refactored many places to reference the cache type enum
* special icon for "unknown" still missing
|
| |\
| |
| |
| |
| |
| |
| |
| |
| | |
Conflicts:
main/src/cgeo/geocaching/cgBase.java
reapplied:
13206cb835eb22aa49b198b892dcd7cf71f4ac82
c5d43adaa9db1db877ea084551db74faa048a7e1
|