aboutsummaryrefslogtreecommitdiffstats
path: root/main/src/cgeo/geocaching/utils
Commit message (Collapse)AuthorAgeFilesLines
* 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
* fix #2034: GPX eport from c:geo can not be imported to c:geoBananeweizen2012-10-021-1/+6
|
* Refactoring: use chained append() callsSamuel Tardieu2012-09-041-1/+1
| | | | | Using chained append() calls is more efficient than building the intermediate string by successive concatenations.
* fix #2013: Template for cache ownerBananeweizen2012-09-011-60/+117
|
* fix #1996: Translate is opening browser instead of translate appBananeweizen2012-09-013-5/+93
|
* Merge pull request #1954 from Buuhuu/masterSamuel Tardieu2012-08-131-2/+3
|\ | | | | Fixed Issue #1915
| * Replace unnecessary replacement of + by %20Buuhuu2012-08-131-1/+1
| |
| * Used Android's Html class to convert HTML formated text to contentual string ↵Buuhuu2012-08-091-2/+3
| | | | | | | | only.
* | refactoring: use non static members in UnknownTagsHandlerBananeweizen2012-08-121-11/+13
| |
* | Add handling for HTML listscampbeb2012-08-091-0/+30
|/
* Warn the user if the description contains a <pre/> tagSamuel Tardieu2012-06-041-6/+8
| | | | | | | | The content of a <pre/> tag is not rendered correctly by a TextView. The user will receive the same warning as the one presented when a <table/> tag is present. See #1719 for an example of a problematic description.
* fix #1658: show today literallyBananeweizen2012-06-011-0/+18
|
* Put angle-related utilities into their own packageSamuel Tardieu2012-06-011-0/+28
| | | | Also, use float instead of double for every angle computation.