cgeo/c-geo-opensource — pull request #1084 by blafoo (2012-02-02 22:27:48+00:00)
Title: [DON'T MERGE] Stronger use of CacheCache, part 2

This is the successor of 736770b566e45a94070d17752f74fe39d43e6735.

Whereas the first commit has been a small one this one is slightly bigger ,-)

I reworked esp. SearchResult and cgData. The changes include:

- deleted class ParseResult
- new flags for loading/saving/removing caches
- the caches caches is only accessed from cgData anymore
- consistent use of CacheCache and thus minimizing the number of database operations. In the database are stored less caches causing a smaller database, too. That should increase the overall performance.
- method names unified
- removed app as parameter

This commit should solve the following issues

#1076 Live map flashes
#1062 Map location not working
#1059 Offline logs
#1055 Logbook not available
#1050 OC caches not shown

and is (that's what i think) a step toward the idea's from #1079 ORM.

At the moment i am doing the final tests. I'll merge by myself at the weekend as announced in #1052