aboutsummaryrefslogtreecommitdiffstats
path: root/main/src/cgeo/geocaching/cgeonavigate.java
Commit message (Collapse)AuthorAgeFilesLines
* Refactoring: remove redundant variableSamuel Tardieu2012-12-161-2/+1
|
* code cleanup: fix Lint warnings about LocalesBananeweizen2012-11-221-1/+1
|
* Refactoring: make some fields localSamuel Tardieu2012-09-041-4/+2
| | | | | Some fields are only used in one method and can be transformed into local variables.
* fix #1893: remove go4cacheBananeweizen2012-08-261-12/+0
|
* Merge remote-tracking branch 'campbeb/fix315' into upstreamSamuel Tardieu2012-06-111-1/+24
|\
| * Display cache and waypoint information on compasscampbeb2012-06-081-1/+24
| | | | | | | | | | | | | | | | | | For caches: displays difficulty, terrain, and size. For waypoints: displays waypoint type. For direct navigation: displays nothing. Also includes some refactoring in the code used do display information about caches and waypoints.
* | refactoring: have more physical units code in one placeBananeweizen2012-06-031-17/+9
|/
* Do not send direction updates more often than neededSamuel Tardieu2012-05-201-26/+8
| | | | This will help with issue #1604.
* Always start GeoData provider from UI threadSamuel Tardieu2012-05-141-64/+55
|
* Merge remote-tracking branch 'SammysHP/icons'Bananeweizen2012-04-301-5/+5
|\ | | | | | | | | Conflicts: main/src/cgeo/geocaching/apps/cachelist/CacheListAppFactory.java
| * Import Android drawables (from API version 8)SammysHP2012-04-271-5/+5
| | | | | | See #852 for reason. This will increase the apk size by 82 KiB.
* | Make direction an observable propertySamuel Tardieu2012-04-301-47/+18
| |
* | 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.
* | Remove Now from methods of IGeoDataSamuel Tardieu2012-04-271-14/+14
| |
* | Use the IGeoData interface and Observer pattern to update locationSamuel Tardieu2012-04-271-73/+49
|/
* Refactoring: cleanup control flowSamuel Tardieu2012-04-201-21/+6
|
* Refactoring: now that Geopoint is parcelable, use it in bundlesSamuel Tardieu2012-04-161-5/+3
|
* refactoring: remove the logging tag from settingsBananeweizen2012-04-121-2/+2
|
* Remove unused methodsSamuel Tardieu2012-04-111-17/+0
| | | | Those methods have been flagged as unused by proguard.
* Refactoring: use IWaypoint and cgCache instead of cgCoord objectSamuel Tardieu2012-04-011-4/+4
| | | | | | | | | | | | | | 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.
* Fix #828: do not use an extra thread to update the dataSamuel Tardieu2012-03-241-44/+13
| | | | | There is no need to create an extra thread just to signal a handler. The handler can signal itself periodically by using delayed messages.
* performance refactoringsBananeweizen2012-03-041-1/+1
| | | | | | * 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: move constants and classes to the packages they belong toBananeweizen2012-03-041-1/+2
|
* Refactoring to use common constant for ft per meter and usage of StringUtilsTorsten Keil2012-03-031-1/+1
|
* refactoring: code cleanupBananeweizen2012-02-211-2/+3
| | | | | * move human distance code to own class * remove warning suppression * fix several compiler warnings
* fix #1110: onPrepareOptionsMenu compatible with Android 3.0Bananeweizen2012-02-171-2/+2
|
* fix #368: turn off stand-by mode in list viewBananeweizen2012-01-241-4/+1
|
* refactoring: move more widget related classes into own packageBananeweizen2012-01-141-2/+3
|
* Implementation for #868Torsten Keil2012-01-011-1/+3
|
* performance: faster opening of lists (~20%), better scrollingBananeweizen2011-12-181-3/+3
| | | | | | | * avoid duplicate distance calculation in distance sorter * avoid String.format() wherever possible * avoid lookups with constant values in database * avoid reinitializing database all the time
* refactoring: minor cleanups using CodePro AnalytixBananeweizen2011-12-071-1/+1
|
* refactoring: more boxing/unboxing cleanupBananeweizen2011-12-041-7/+3
|
* refactoring: reduce boxing/unboxing crazinessBananeweizen2011-12-031-1/+1
|
* refactoring of cgGeo.java, see #355Bananeweizen2011-11-301-10/+10
| | | | * pure refactoring, no functional changes (even if the code looks very different now)
* first refactoring of cgGeo, see #355Bananeweizen2011-11-291-2/+2
| | | | | * removes mainly unnecessary variables and methods of cgGeo * next refactoring will remove all cgGeo/cgDirection instances in activies
* use an enum instead of magic constants for location providersbananeweizen2011-11-261-8/+1
|
* fix: delay forced compass update until bearing is available, see #355bananeweizen2011-11-261-15/+17
| | | | * most changes are pure refactorings (rename, move) to make it more easy to debug
* Use of CacheType instead of Stringblafoo2011-11-181-1/+1
|
* Remove Format.LAT_LON_DECMINUTE_PIPESammysHP2011-11-171-6/+4
| | | This format is used often in c:geo, but is not very common outside of it. Usually coordinates are written without the pipe.
* wrong code send to Go4Cache API when using compassBananeweizen2011-11-131-12/+13
|
* String.format needs no Locale argument to get the default oneSamuel Tardieu2011-11-091-4/+3
|
* Use GeopointFormatter instead of String.format when coordinates are aroundSamuel Tardieu2011-11-091-3/+2
| | | | | | Some predefined formats have been added to fill the needs. This closes issue #769.
* Use a separate and unique thread for Go4CacheSamuel Tardieu2011-11-071-2/+2
| | | | | | | This change creates a new Go4Cache thread which is started only when the user opts in in sending their position to go4cache.com. Instead of creating a new thread for every update, the same thread is reused and orders are given through a one-position queue.
* Get rid of deprecated methods related to coordinatesSamuel Tardieu2011-11-071-3/+4
|
* Use existing method to render altitudeSamuel Tardieu2011-11-071-6/+1
|
* Merge remote branch 'remotes/blafoo692/issue692'rsudev2011-10-311-3/+3
|\ | | | | | | | | | | | | | | | | | | | | Conflicts: main/src/cgeo/geocaching/apps/cache/navi/InternalMap.java main/src/cgeo/geocaching/cgBase.java main/src/cgeo/geocaching/cgCache.java main/src/cgeo/geocaching/cgData.java main/src/cgeo/geocaching/cgeoapplication.java main/src/cgeo/geocaching/cgeodetail.java main/src/cgeo/geocaching/maps/CGeoMap.java
| * No direct access to fieldsblafoo2011-10-261-3/+3
| |
* | show waypoint name as map title when navigating to waypointbananeweizen2011-10-281-1/+1
|/
* fix #703: exception in show on mapBananeweizen2011-10-231-4/+23
| | | | | * includes fixes for some other exceptions * refactored navigation activity invocation * icon is still not correct (generic instead of correct type)