aboutsummaryrefslogtreecommitdiffstats
path: root/main/src/cgeo/geocaching/geopoint
Commit message (Collapse)AuthorAgeFilesLines
* Revert "Merge branch 'issue-374' into upstream"Samuel Tardieu2012-06-071-6/+0
| | | | | This reverts commit 8f265e5057f255352784643e10b44e69744a4cf2, reversing changes made to 79a0ad18f555acf4deb26f15eea739a64e11669b.
* Merge branch 'issue-374' into upstreamSamuel Tardieu2012-06-071-0/+6
|\
| * New format: LAT_LON_DECDEGREE_RAWSamuel Tardieu2012-06-071-0/+6
| | | | | | | | | | | | | | This is the simplest unambiguous form to store a latitude/longitude data even if the locale changes. Part of work on issue #374.
* | Merge branch 'issue-1722' into upstreamSamuel Tardieu2012-06-056-264/+276
|\ \ | |/
| * Fix #1722: do not use BigDecimal in computationsSamuel Tardieu2012-06-056-264/+276
| |
* | refactoring: have more physical units code in one placeBananeweizen2012-06-032-49/+73
|/
* Refactoring: add missing override annotationsSamuel Tardieu2012-05-231-0/+2
| | | | This was requested by SammysHP.
* refactoring: remove some of the TODOsBananeweizen2012-05-061-2/+0
|
* fix #1459: Refactoring navigation menuBananeweizen2012-05-051-2/+2
|
* Display distance immediately in cache detailsSamuel Tardieu2012-05-011-6/+6
| | | | | | | The distance initially displayed only used the cache getDistance() which might not be available. The real distance is now computed if needed. See issue #1468.
* Fix: check that coordinates are not nullSamuel Tardieu2012-04-251-1/+1
| | | | | | Do as the comment says and accept (and skip) points with null coordinates. Bug found by chance during a test run while the website was down.
* Refactoring: fix Javadoc for GeopointSamuel Tardieu2012-04-222-5/+5
|
* Refactoring: keep GeopointParser private to its packageSamuel Tardieu2012-04-212-27/+27
| | | | | | | 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).
* Add more tests for getHumanDistance()Samuel Tardieu2012-04-201-30/+34
|
* Fix small distances handling in imperial unitsSamuel Tardieu2012-04-201-8/+11
| | | | | Before this change, 123.45 meters translate to "0.08 mi" instead of the more readable "450 ft" which it now uses for human consumption.
* Refactoring: cleanup control flowSamuel Tardieu2012-04-202-21/+20
|
* Refactoring: do not get through an extra Geopoint when not requiredSamuel Tardieu2012-04-201-4/+4
|
* Refactoring: remove unused Viewport constructorSamuel Tardieu2012-04-201-4/+0
|
* Refactoring: move Direction out of GeopointSamuel Tardieu2012-04-206-179/+200
| | | | Directions deserve their own package to make it clearer of who use them.
* Refactoring: use viewports where appropriateSamuel Tardieu2012-04-201-47/+0
|
* Add optional table parameter to Viewport#sqlWhere()Samuel Tardieu2012-04-201-6/+9
|
* Make Geopoint parcelableSamuel Tardieu2012-04-161-2/+36
|
* A viewport contains points, not coordinatesSamuel Tardieu2012-04-141-12/+16
| | | | Make the methods accept ICoordinates instances.
* Add new Viewport method and builderSamuel Tardieu2012-04-141-0/+47
|
* Refactoring: rename isInViewport() to contains()Samuel Tardieu2012-04-141-4/+10
| | | | This is a better name from the point of a viewport.
* Revert "refactoring: use locale free format method for numbers"Bananeweizen2012-04-141-2/+2
| | | | This reverts commit 5c535e5d1841d78334f6a3d15ac6edb85449a18f.
* refactoring: use locale free format method for numbersBananeweizen2012-04-141-2/+2
|
* refactoring: remove the logging tag from settingsBananeweizen2012-04-121-2/+1
|
* Refactoring: temporarily rewrite redundant code waiting for it to disappearSamuel Tardieu2012-04-121-34/+9
| | | | | | This code which manipulates viewports as separate int coordinates should disappear and use the proper types. This requires a large rewrite of CGeoMap.
* Refactoring: cleanup and add methods to ViewportSamuel Tardieu2012-04-121-9/+67
|
* Refactoring: remove int based Geopoint and Viewport constructorsSamuel Tardieu2012-04-122-16/+2
| | | | | Those were source of errors, and have no legitimate reason to be used in our current code base as this changeset shows.
* fix #1394: Red Circles around Event CachesBananeweizen2012-04-121-1/+3
|
* Implements cache for live-map tilesrsudev2012-04-121-4/+19
|
* Implement equals() and hashCode() for GeopointSamuel Tardieu2012-04-111-12/+17
|
* Waypoint and caches both have coordinates, add ICoordinates interfaceSamuel Tardieu2012-04-111-3/+8
| | | | | Geopoint obviously implements ICoordinates. Also, getLongitude() and getLatitude() were only used in tests, remove them.
* Proxy all logs through cgeo.geocaching.utils.LogSamuel Tardieu2012-03-312-2/+2
| | | | | | | | 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.
* Optimization - Avoid use of internal getters.campbeb2012-03-181-7/+7
| | | | See http://developer.android.com/guide/practices/design/performance.html#internal_get_set
* fix #1116: Cache count on live-map unreliableBananeweizen2012-03-111-15/+30
|
* refactoring: first part of removing cgBaseBananeweizen2012-03-101-1/+38
| | | | | | | * 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
* refactoring: move constants and classes to the packages they belong toBananeweizen2012-03-043-7/+13
|
* Moved methods to better fitting classesblafoo2012-02-291-0/+59
|
* Live Map. Closes #1121blafoo2012-02-231-0/+8
|
* refactoring: code cleanupBananeweizen2012-02-212-0/+43
| | | | | * move human distance code to own class * remove warning suppression * fix several compiler warnings
* Added exception handling for NumberFormatExceptionTorsten Keil2012-02-171-7/+22
|
* Implementation for issue #1120Torsten Keil2012-02-172-23/+234
| | | | | | | - see ticket for more details Conflicts: main/src/cgeo/geocaching/cgeowaypointadd.java
* refactoring: don't suppress warnings on method levelBananeweizen2012-02-141-1/+0
|
* Improved thread handling in live mapblafoo2012-02-131-0/+4
|
* Fix #936: Parsing of decimal-seconds with comma as separator failsSammysHP2012-01-031-7/+7
|
* #922: Deleting of automatic generated waypointsBananeweizen2012-01-011-17/+25
|
* fix #920: WPs created from Personal Notes not correctBananeweizen2011-12-311-10/+21
|