aboutsummaryrefslogtreecommitdiffstats
path: root/main/src/cgeo/geocaching/sorting
Commit message (Collapse)AuthorAgeFilesLines
* Minor cleanupsSamuel Tardieu2014-05-141-4/+2
|
* fix remaining warnings or document themMichael Keppler2014-04-191-2/+3
|
* Handle history list differently than other listsSamuel Tardieu2014-03-272-0/+4
| | | | | History list cannot be sorted. Using the same comparator as other lists will make us lose the chosen sorting order (see #3519).
* Update to RxJava 0.17.0-RC2Samuel Tardieu2014-02-181-1/+1
|
* Use RxJava.Action1 instead of our RunnableWithArgumentSamuel Tardieu2014-01-113-7/+8
|
* refactoring: typo, imports, stringutilsBananeweizen2014-01-112-7/+5
|
* Simplify comparison implementationSamuel Tardieu2014-01-1017-76/+36
| | | | | | | | | | | This was triggered by issue #3532. The comparator interface could return the following facts simultaneously A == B, A == C, B < C if A could not be compared to others. Now we will have A placed after B and C in any case. Also, since most comparators can compare all caches, the defalut is true and can be overriden if needed.
* refactoring: remove duplicate codeBananeweizen2013-12-193-23/+4
|
* refactoring: remove code duplicationBananeweizen2013-12-173-26/+20
|
* Added a popularity ratio filter to filter on favorites per find.KiwiStone2013-11-041-3/+2
| | | | | Removed the constraint that only caches > 9 finds are handled and also applied this change to the popularity ratio comparator.
* - Added new comparator to handle popularity ratiosKiwiStone2013-10-252-0/+57
| | | | | | - Added required resource strings - Added teh new comparator to the user interface option
* refactoring: cgeoapplication -> CgeoApplicationSamuel Tardieu2013-09-131-2/+2
|
* refactoring: cgData -> DataStoreSamuel Tardieu2013-09-131-2/+2
|
* refactoring: findbugs cleanupBananeweizen2013-08-261-1/+3
| | | * don't catch raw exceptions
* enhancement: make the distance comparator work with approximate distanceSamuel Tardieu2013-05-191-9/+5
| | | | Part of work on #2733.
* fix: do not reset the distance in the distance comparatorSamuel Tardieu2013-05-181-4/+1
| | | | | | | | The distance comparator should not override a distance that can have been obtained from the website and that we are unable to recompute locally (because we don't know the cache coordinates for example). Part of work on #2733.
* fix #2493: Replace "GC-Code" by "Geocode"Bananeweizen2013-02-231-2/+2
|
* Refactoring: rename cgCache into GeocacheSamuel Tardieu2013-02-0318-59/+59
|
* change wording from "GC code" to "geo code"Bananeweizen2013-02-011-1/+1
|
* refactoring: use exception object in logggingBananeweizen2013-01-121-1/+1
|
* fix #1747: sort in reverse orderBananeweizen2012-12-122-1/+39
|
* fix #2211: remove application-database indirectionBananeweizen2012-12-011-5/+3
|
* Merge remote-tracking branch 'campbeb/fix1746'Bananeweizen2012-06-092-3/+3
|\ | | | | | | | | Conflicts: main/src/cgeo/geocaching/sorting/ComparatorUserInterface.java
| * Allow sorting by date logged in listscampbeb2012-06-092-2/+3
| |
* | fix #1746: Sort by found/log-dateBananeweizen2012-06-091-8/+9
|/
* new: sorting by date sorts by distance for equal datesBananeweizen2012-05-311-3/+14
| | | * much better for simultaneous events on the same date
* refactoring: have sorting UI in its own classBananeweizen2012-05-312-8/+120
| | | * simplifies cache list code
* Remove JavaDoc @author tag.SammysHP2012-05-234-12/+0
| | | Files are edited by many people, also all editors are visible in the log.
* fix #1479: option to delete old cachesBananeweizen2012-05-011-0/+23
|
* refactoring: rename log typ enums for easier code completion andBananeweizen2012-05-011-1/+1
| | | reading
* Refactoring: use simpler comparaisonsSamuel Tardieu2012-04-289-79/+29
|
* Fix warnings introduced by earlier commitsSamuel Tardieu2012-04-271-3/+0
|
* Remove methods calling only the superclass methodSamuel Tardieu2012-04-271-9/+0
|
* Refactoring: remove unnecessary unboxingSamuel Tardieu2012-04-221-1/+1
|
* refactoring: remove the logging tag from settingsBananeweizen2012-04-121-2/+1
|
* 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.
* New EventDateComparator class used for list of only event caches. Fixcampbeb2012-01-161-0/+23
| | | #982
* Comparator must allow for objects to be equalcampbeb2012-01-071-0/+3
|
* performance: faster opening of lists (~20%), better scrollingBananeweizen2011-12-181-17/+19
| | | | | | | * 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
* Use of Logtype instead of intblafoo2011-12-141-2/+2
|
* refactoring: CacheListAdapter (and some other minor things)Bananeweizen2011-12-111-2/+2
|
* refactoring: more boxing/unboxing cleanupBananeweizen2011-12-044-17/+9
|
* refactoring: reduce boxing/unboxing crazinessBananeweizen2011-12-033-3/+3
|
* refactoring: remove duplicated getterBananeweizen2011-11-191-2/+2
|
* Remove redundant super interfacesSamuel Tardieu2011-11-092-4/+2
|
* No direct access to fieldsblafoo2011-10-2614-45/+45
|
* #671, cache normalized name for sortingBananeweizen2011-10-191-28/+1
|
* fix #671, performance of name sortingBananeweizen2011-10-181-3/+14
|
* new: sort cache series numerically correct when sorting by nameBananeweizen2011-10-151-0/+16
|
* fix #120: make settings static (no singleton)Bananeweizen2011-10-031-2/+2
| | | | | | | | | | * 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...