aboutsummaryrefslogtreecommitdiffstats
path: root/main/src/cgeo/geocaching/geopoint/Viewport.java
Commit message (Collapse)AuthorAgeFilesLines
* refactoring: remove unused codeBananeweizen2014-01-111-24/+2
|
* fix failing testBananeweizen2014-01-111-2/+2
|
* refactoring: avoid excessive object creation in viewport calculationBananeweizen2014-01-111-16/+28
|
* fix #3527: bad query stringSamuel Tardieu2014-01-081-6/+6
| | | | | | Let's hope that the bad formatting occurring for, at least, very small negative values in `String.format()` with a `null` Locale will not happen with `StringBuilder.append(double)`.
* refactoring: some nullness cleanupsMichael Keppler2013-12-261-5/+9
|
* code cleanupBananeweizen2012-12-151-1/+4
| | | * some CodePro Analytix findings
* Add extra documentation for null parameterSamuel Tardieu2012-09-031-1/+1
| | | | See #1957 for discussion.
* Fix for null coordsrunehl2012-08-141-2/+3
|
* fix #1459: Refactoring navigation menuBananeweizen2012-05-051-2/+2
|
* 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: cleanup control flowSamuel Tardieu2012-04-201-9/+9
|
* 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: use viewports where appropriateSamuel Tardieu2012-04-201-47/+0
|
* Add optional table parameter to Viewport#sqlWhere()Samuel Tardieu2012-04-201-6/+9
|
* 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.
* 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-121-3/+2
| | | | | Those were source of errors, and have no legitimate reason to be used in our current code base as this changeset shows.
* Implements cache for live-map tilesrsudev2012-04-121-4/+19
|
* 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 #1116: Cache count on live-map unreliableBananeweizen2012-03-111-15/+30
|
* Moved methods to better fitting classesblafoo2012-02-291-0/+59
|
* Live Map. Closes #1121blafoo2012-02-231-0/+8
|
* refactoring: code cleanupBananeweizen2012-02-211-0/+1
| | | | | * move human distance code to own class * remove warning suppression * fix several compiler warnings
* Improved thread handling in live mapblafoo2012-02-131-0/+4
|
* Add new Viewport type to encompass Viewport informationSamuel Tardieu2011-11-091-0/+35
Also, remove unused reason parameter.