aboutsummaryrefslogtreecommitdiffstats
path: root/main/src/cgeo/geocaching/utils
Commit message (Collapse)AuthorAgeFilesLines
* Implements #750, use preference activitykoem2013-07-093-5/+5
|
* fix #2937: Merging of personal note not OKBananeweizen2013-07-051-2/+2
|
* Fixes #2923, Menu slow to open in cache detailsrsudev2013-06-272-2/+20
| | | | Removed costly scan of installed packages for launchable apps
* new: only show streetview menu if availableBananeweizen2013-06-211-2/+21
|
* refactoring: minor cleanup in utils classesBananeweizen2013-06-1514-18/+55
|
* fix #2877: empty trackables pageBananeweizen2013-06-131-0/+3
|
* refactoring: remove duplicated code, add testsBananeweizen2013-06-081-27/+25
|
* Correct log messages to account for refactoringcampbeb2013-06-052-4/+4
|
* refactoring: avoid more compiler warningsBananeweizen2013-05-301-2/+2
|
* refactoring: make periodic handler use weak referencesSamuel Tardieu2013-05-251-11/+22
| | | | | | | | | | | PeriodicHandler now uses weak references to keep a link to the looper that requested it. This way, it will not prevent the source from being garbage collected even though a delayed message may be queued in the handler. Also, at the next iteration, the periodic handler will notice that its starter looper has been garbage collected and will stop itself if it has not been already.
* doc: enhance containsHtml() descriptionSamuel Tardieu2013-05-231-3/+4
|
* #1348: use buffered ioBananeweizen2013-05-111-2/+5
|
* refactoring: make handler abstractBananeweizen2013-05-101-6/+16
| | | | * needs overridden methods * add documentation
* fixes #2533 - added image scalingMarco Jacob2013-04-281-1/+37
| | | | | | | | modifications suggested by Bananeweizen next recommended changes and scaling now on leaving ImageSelectActivity fixed wrong spelling
* refactoring: make API of AsyncTaskWithProgress more explicitBananeweizen2013-04-071-20/+79
|
* #1798: refactoring, extract common asynctask with progressBananeweizen2013-03-291-0/+80
|
* Fixes #2538 - German Umlauts in image caption and descriptionkoem2013-03-181-26/+0
| | | | | | | changes: * post requests are done with UTF-8 now * deleted conversion of non latin characters * deleted corresponding test method and class
* Fixes #2538 - German umlauts for image uploadkoem2013-03-131-1/+1
|
* code cleanupBananeweizen2013-02-242-1/+6
| | | | | | * rename several lower case classes * more strict visibility modifiers * Lint warnings * style warnings
* ImageUpload - fine-tuningrsudev2013-02-181-2/+2
| | | | | | Removed test code and comments Some error-handling Localizability
* Merge remote-tracking branch 'campbeb/fix6a' into 6brsudev2013-02-181-0/+25
|\ | | | | | | | | Conflicts: main/src/cgeo/geocaching/connector/gc/GCParser.java
| * Convert non-Latin characters in uploaded text to HTML equivalentscampbeb2013-01-191-0/+25
| | | | | | | | Add new HtmlUtil function for this as it needs to occur in multiple places
* | Use a standard Callable interface for lazy initialized listsSamuel Tardieu2013-02-031-19/+24
| |
* | Restrict LazyInitializedList to the List interfaceSamuel Tardieu2013-02-031-9/+0
| | | | | | | | | | This way, we can use various types of list at various places without specifically needing a LazyInitializedList.
* | Make LazyInitializedList<E> a List<E>Samuel Tardieu2013-02-031-49/+13
| |
* | Refactoring: rename cgCache into GeocacheSamuel Tardieu2013-02-031-6/+6
| |
* | Merge branch 'release' into upstreamSamuel Tardieu2013-01-231-0/+24
|\ \
| * | fix #2317: NPE while backuping dataSamuel Tardieu2013-01-231-0/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The previous fix for #2317 was incomplete, as the dependency of the CentralBackupAgent onto Settings caused a NPE because Settings static initializations require that an application has been created, which is apparently not the case when a backup is launched by the OS. The preference name has been isolated into a no-dependency package so that the CentralBackupAgent does not depend on an application existing anymore.
* | | Do not hardcode "/sdcard/" to make lint happySamuel Tardieu2013-01-191-1/+3
| | |
* | | New facility for logging large textual data while developingSamuel Tardieu2013-01-191-0/+32
| | |
* | | Use XML serializer to generate proper XMLSamuel Tardieu2013-01-161-0/+41
| | | | | | | | | | | | Do not cook up XML by hand when proper methods exist.
* | | Merge remote-tracking branch 'origin/release'Bananeweizen2013-01-131-8/+11
|\ \ \ | |/ / | | / | |/ |/| Conflicts: main/src/cgeo/geocaching/maps/CGeoMap.java
* | refactoring: use exception object in logggingBananeweizen2013-01-121-3/+3
| |
* | Do not depend on mapsforge in non-maps related classesSamuel Tardieu2013-01-101-0/+20
| | | | | | | | | | | | This feels like an inversion of dependencies to depend on mapsforge in non-maps related classes. As closeQuietly() is useful, we can import it into our utility class without requiring this dependency.
* | Refactoring: rename cgTrackable into TrackableSamuel Tardieu2013-01-071-5/+5
| |
* | fix #2328: Have a wrapper around Matcher to avoid String related memoryBananeweizen2013-01-051-0/+91
| | | | | | issues
* | Merge branch 'release' into upstreamSamuel Tardieu2013-01-011-0/+13
|\ \ | |/
| * fix #2316: race condition in LeastRecentlyUsedSetSamuel Tardieu2013-01-011-0/+13
| | | | | | | | | | | | removeAll() must be synchronized as well. Otherwise, the documentation states that it uses a (unsynchronized) iterator to perform the removal, which causes race conditions.
* | code cleanup: remove debug codeBananeweizen2012-12-261-1/+1
| | | | | | * fixed some more issues of Findbugs and CodePro
* | Refactoring: remove unnecessary enum qualifiersSamuel Tardieu2012-12-181-1/+1
| |
* | Refactoring: clone() overrides could need CloneNotSupportedExceptionSamuel Tardieu2012-12-181-1/+1
| |
* | Refactoring: narrow scope of variablesSamuel Tardieu2012-12-181-8/+4
| |
* | #2083: target level 17 changesBananeweizen2012-11-193-12/+12
|/ | | | | * set level 17 as target in manifest (level 4 still supported) * refactor compatibility classes * move deprecated code into compatibility classes
* fix #2167: Not possible to open OP cachesBananeweizen2012-11-181-2/+10
|
* refactoring: lazy initialized listsBananeweizen2012-11-181-5/+28
| | | | * change more users to only take Iterable interface * return unmodifiable list only
* #1973: better thread safetyBananeweizen2012-11-111-2/+6
|
* fix #1973: Logs gone after online loggingBananeweizen2012-11-111-0/+68
|
* Implements #1676, custom themesrsudev2012-11-031-0/+64
| | | | | | - Adds the selection of a base folder for map themes to settings - Reworks the map menu to allow selection of a custom theme - Implements a reusable version of listDir to get a list of files
* fix #1991: TB: Last activity wrong in case last activity is todayBananeweizen2012-10-051-2/+2
|
* #2034: additional unit testBananeweizen2012-10-021-1/+1
| | | * replace control character by space instead of empty string