aboutsummaryrefslogtreecommitdiffstats
path: root/src/cgeo/geocaching/cgBase.java
Commit message (Collapse)AuthorAgeFilesLines
...
* Remove uses of "== true" and "!= false"Samuel Tardieu2011-08-111-73/+73
|
* Generate date and times according to system-wide settingsSamuel Tardieu2011-08-111-4/+50
|
* using `.valueov()` instead of constructor for doubles and floatsFlorian Moesch2011-08-111-35/+35
|
* * remove duplicated app, settings, pref, res, base fields in allBananeweizen2011-08-101-35/+34
| | | | | | | | | activies * remove cgWarning class, it is no longer needed * convert many non static methods to static methods, to ease removing the no longer needed fields afterwards If you have trouble merging after you fetch these changes, I'm happy to help.
* Personal note displaymucek42011-08-101-9/+35
|
* * have common base classes for cgeo related activities to encapsulateBananeweizen2011-08-101-35/+0
| | | | | | | | | the related code * move several methods from base to the activities classes * remove all duplicated goHome(), goManual() methods * remove instance variable "activity", which is only a this-pointer (all triggered by issue #98) If you have trouble merging afterwards, I'm happy to help.
* Drastically reduce memory usage by avoiding Java to create (sub)copiesBananeweizen2011-08-081-36/+48
| | | | | | | | | | of very large Strings during regular expression matching in cache parsing. The added String copy constructor must remain in code, even if it looks superfluous on first look! remove circular reference to cache in private static (non final) class to avoid getting additional garbage collector root objects fix #100
* add half star voting, fixes #107Bananeweizen2011-08-071-36/+7
|
* parse guid from owner link, fixes #112bananeweizen2011-08-071-2/+2
|
* Merge branch 'master' of https://github.com/cgeo/c-geo-opensourceRainer2011-08-021-128/+34
|\ | | | | | | | | Conflicts: src/cgeo/geocaching/cgeospoilers.java
| * Merge pull request #84 from rahu/masterc:geo2011-08-011-3/+28
| |\ | | | | | | Display images for logs
| | * some changes after code-discussionRalf Hubert2011-08-011-1/+1
| | |
| | * Display Images from Logs (Issue #40)Ralf Hubert2011-08-011-3/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - changed db-version to 54 (need table for logimages) - renamed cgSpoiler to cgImage - renamed cgeospoilers to cgeoimages - added setting to store/not store logimages TODO: - draw a pretty icon - maybe translate the new strings
| * | cleanupBananeweizen2011-08-011-125/+6
| |/ | | | | | | | | | | * make potentially static methods static * remove unused constants * remove unused imports * move a cache related (otherwise static base) method to the cache class
* | Removed google analyticsRainer2011-08-021-57/+3
|/
* fixes #50, fixes #68Bananeweizen2011-07-311-9/+9
| | | | | * remove lookahead in pattern matching (still need to evaluate performance of fix) * avoid loops if matching fails
* Merge branch 'master' ofBananeweizen2011-07-311-1/+100
|\ | | | | | | | | | | | | | | https://Bananeweizen@github.com/cgeo/c-geo-opensource.git Conflicts: src/cgeo/geocaching/cgeocaches.java src/cgeo/geocaching/cgeopoint.java
| * redone unwanted changeKarsten Priegnitz2011-07-301-1/+1
| |
| * I did some more changes and I think it's ok now. Please review.Karsten Priegnitz2011-07-301-9/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - refactoring: less and clearer code - now parsing watchlist state when reading cache details - did some little refactoring in cgData (read/write booleans with inline if) - I introduced a new DB-Version (53). Don't know if I could've put my changes in #52? - now storing in the database if cache is on watchlist or not - I put the watchlist information in a separate box with buttons - mucek told me to move it between offline and attributes - screenshots - http://koem.kicks-ass.net/issue3_de_adding.png - http://koem.kicks-ass.net/issue3_de_noton.png - http://koem.kicks-ass.net/issue3_de_on.png - http://koem.kicks-ass.net/issue3_de_removing.png - http://koem.kicks-ass.net/issue3_en_noton.png - http://koem.kicks-ass.net/issue3_en_on.png
| * - refactoring: less and clearer codeKarsten Priegnitz2011-07-301-31/+20
| | | | | | | | | | | | | | | | | | | | - now parsing watchlist state when reading cache details - did some little refactoring in cgData (read/write booleans with inline if) - I introduced a new DB-Version (53). Don't know if I could've put my changes in #52? - I put the watchlist information in a separate box with buttons - screenshots - http://koem.kicks-ass.net/notonwatchlist.png - http://koem.kicks-ass.net/onwatchlist.png
| * Merge commit 'upstream/master'Karsten Priegnitz2011-07-301-18/+50
| |\ | | | | | | | | | | | | | | | Conflicts: src/cgeo/geocaching/cgBase.java
| | * Fix NumberFormatException in finds-number-parsingSammysHP2011-07-281-1/+1
| | |
| * | commit before merge upstream/masterKarsten Priegnitz2011-07-301-93/+104
| | |
| * | refactoring and javadocKarsten Priegnitz2011-07-241-42/+44
| | |
| * | Implemented watchlist add/remove in cache detail view.Karsten Priegnitz2011-07-241-0/+99
| | |
* | | * move app invocation code into factoriesBananeweizen2011-07-311-272/+1
| |/ |/| | | | | | | | | | | * have static methods in cgBase * fix NullPointerException in cache list context menu * fix wrong "move" context menu in cache list * have all navigation options in cache list context menu
* | fix: NullPointerException in cache elevation updateBananeweizen2011-07-241-4/+36
| | | | | | | | | | fix: wrong parsing of event dates fix: add to calendar only enabled if date has been parsed correctly and is in the future
* | several bugs/problems found with static code analysis:Bananeweizen2011-07-241-10/+10
| | | | | | | | | | | | | | | | | | * avoid boxing and unboxing for primitive coercion * use Arrays.toString() on arrays instead of Object.toString() * use static valueOf() method for numbers instead of constructor * don't concatenate Strings in a loop * no-op casting (int-float-int) * infinite recursive loop * nullpointer dereferences
* | use 16 K as size for new BufferedReaders. The constructor withoutBananeweizen2011-07-241-44/+48
|/ | | | | default size is deprecated and leads to warnings in logCat. 16 K was choosen because typical c:geo requests are at least 12 K (but in most cases they are larger).
* First commitmucek42011-07-111-0/+5828