marble:earthwings-marble.git
8 years agoMinor speed-up: do not carry out multiplications inside the inner loop. upstream
ariya [Thu, 21 Jan 2010 15:18:49 +0000 (15:18 +0000)]
Minor speed-up: do not carry out multiplications inside the inner loop.

git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/KDE/kdeedu/marble@1078110 283d02a7-25f6-0310-bc7c-ecb5cbfe19da

8 years ago- Disable experimental feature CHEAPHIGH
rahn [Wed, 20 Jan 2010 00:18:04 +0000 (00:18 +0000)]
- Disable experimental feature CHEAPHIGH

git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/KDE/kdeedu/marble@1077347 283d02a7-25f6-0310-bc7c-ecb5cbfe19da

8 years ago- Rename fall-back string to "Configure Marble" to be consistent with
rahn [Wed, 20 Jan 2010 00:13:33 +0000 (00:13 +0000)]
- Rename fall-back string to "Configure Marble" to be consistent with
  the KDE version.

git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/KDE/kdeedu/marble@1077344 283d02a7-25f6-0310-bc7c-ecb5cbfe19da

8 years ago- Quick and dirty High Quality rendering -- about 15-20% faster (at
rahn [Tue, 19 Jan 2010 23:20:03 +0000 (23:20 +0000)]
- Quick and dirty High Quality rendering -- about 15-20% faster (at
  expense of quality). Enable by commenting in the CHEAPHIGH define.

git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/KDE/kdeedu/marble@1077333 283d02a7-25f6-0310-bc7c-ecb5cbfe19da

8 years agoRemove unneeded include directive.
jmhoffmann [Tue, 19 Jan 2010 22:21:27 +0000 (22:21 +0000)]
Remove unneeded include directive.

git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/KDE/kdeedu/marble@1077305 283d02a7-25f6-0310-bc7c-ecb5cbfe19da

8 years agoFix indentation.
jmhoffmann [Tue, 19 Jan 2010 22:19:20 +0000 (22:19 +0000)]
Fix indentation.

git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/KDE/kdeedu/marble@1077304 283d02a7-25f6-0310-bc7c-ecb5cbfe19da

8 years agoMarble depends on Qt >= 4.5, so remove corresponding checks and compatibility code...
jmhoffmann [Tue, 19 Jan 2010 22:17:26 +0000 (22:17 +0000)]
Marble depends on Qt >= 4.5, so remove corresponding checks and compatibility code for previous versions in the source.

git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/KDE/kdeedu/marble@1077302 283d02a7-25f6-0310-bc7c-ecb5cbfe19da

8 years agoCache the d-ptr, leads to runtime savings of roughly 4% when painting.
nienhueser [Tue, 19 Jan 2010 21:31:18 +0000 (21:31 +0000)]
Cache the d-ptr, leads to runtime savings of roughly 4% when painting.

git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/KDE/kdeedu/marble@1077281 283d02a7-25f6-0310-bc7c-ecb5cbfe19da

8 years agoRemove unused and empty method HttpDownloadManager::setActivatedJobsLimit.
jmhoffmann [Tue, 19 Jan 2010 18:47:45 +0000 (18:47 +0000)]
Remove unused and empty method HttpDownloadManager::setActivatedJobsLimit.

git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/KDE/kdeedu/marble@1077231 283d02a7-25f6-0310-bc7c-ecb5cbfe19da

8 years agoRemove unused method HttpDownloadManager::setJobQueueLimit and corresponding data...
jmhoffmann [Tue, 19 Jan 2010 18:47:40 +0000 (18:47 +0000)]
Remove unused method HttpDownloadManager::setJobQueueLimit and corresponding data member.

git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/KDE/kdeedu/marble@1077230 283d02a7-25f6-0310-bc7c-ecb5cbfe19da

8 years agoRemove MarbleModel::setDownloadManager since it is not used anywhere in kde svn.
jmhoffmann [Tue, 19 Jan 2010 18:47:35 +0000 (18:47 +0000)]
Remove MarbleModel::setDownloadManager since it is not used anywhere in kde svn.

git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/KDE/kdeedu/marble@1077229 283d02a7-25f6-0310-bc7c-ecb5cbfe19da

8 years agoUse the lookup table to speedup pixel access of 1 bit colormapped images (frequently...
nienhueser [Tue, 19 Jan 2010 17:55:31 +0000 (17:55 +0000)]
Use the lookup table to speedup pixel access of 1 bit colormapped images (frequently used in OpenStreetMap).

git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/KDE/kdeedu/marble@1077214 283d02a7-25f6-0310-bc7c-ecb5cbfe19da

8 years ago- Make Marble about 5-10% faster for full screen mode and allow for more
rahn [Tue, 19 Jan 2010 16:38:34 +0000 (16:38 +0000)]
- Make Marble about 5-10% faster for full screen mode and allow for more
  tuning in the future.

git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/KDE/kdeedu/marble@1077195 283d02a7-25f6-0310-bc7c-ecb5cbfe19da

8 years agoFix indentation.
jmhoffmann [Tue, 19 Jan 2010 06:09:48 +0000 (06:09 +0000)]
Fix indentation.

git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/KDE/kdeedu/marble@1076945 283d02a7-25f6-0310-bc7c-ecb5cbfe19da

8 years agoRemove obsolete comment about defining INTERLACE.
jmhoffmann [Tue, 19 Jan 2010 06:02:19 +0000 (06:02 +0000)]
Remove obsolete comment about defining INTERLACE.

git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/KDE/kdeedu/marble@1076943 283d02a7-25f6-0310-bc7c-ecb5cbfe19da

8 years agoAbstractDataPluginModel::itemExists() simplified.
jmhoffmann [Tue, 19 Jan 2010 05:46:07 +0000 (05:46 +0000)]
AbstractDataPluginModel::itemExists() simplified.

git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/KDE/kdeedu/marble@1076941 283d02a7-25f6-0310-bc7c-ecb5cbfe19da

8 years agoPass argument by reference instead of by value.
jmhoffmann [Tue, 19 Jan 2010 05:30:59 +0000 (05:30 +0000)]
Pass argument by reference instead of by value.

git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/KDE/kdeedu/marble@1076940 283d02a7-25f6-0310-bc7c-ecb5cbfe19da

8 years agoDeclare constructors which take one argument explicit.
jmhoffmann [Tue, 19 Jan 2010 05:06:14 +0000 (05:06 +0000)]
Declare constructors which take one argument explicit.

git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/KDE/kdeedu/marble@1076939 283d02a7-25f6-0310-bc7c-ecb5cbfe19da

8 years agoUnused slot TileLoader::reloadTile( QString, QString, QString ) removed.
jmhoffmann [Tue, 19 Jan 2010 04:19:10 +0000 (04:19 +0000)]
Unused slot TileLoader::reloadTile( QString, QString, QString ) removed.

git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/KDE/kdeedu/marble@1076929 283d02a7-25f6-0310-bc7c-ecb5cbfe19da

8 years agoGeoPainter::autoMapQuality() simplified.
jmhoffmann [Tue, 19 Jan 2010 02:58:39 +0000 (02:58 +0000)]
GeoPainter::autoMapQuality() simplified.

git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/KDE/kdeedu/marble@1076912 283d02a7-25f6-0310-bc7c-ecb5cbfe19da

8 years agoRemove unnecessary Marble namespace qualifier.
jmhoffmann [Tue, 19 Jan 2010 02:22:38 +0000 (02:22 +0000)]
Remove unnecessary Marble namespace qualifier.

git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/KDE/kdeedu/marble@1076902 283d02a7-25f6-0310-bc7c-ecb5cbfe19da

8 years agoFix MarbleModel::addDownloadPolicies: use argument instead of member variable.
jmhoffmann [Tue, 19 Jan 2010 00:47:13 +0000 (00:47 +0000)]
Fix MarbleModel::addDownloadPolicies: use argument instead of member variable.

git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/KDE/kdeedu/marble@1076878 283d02a7-25f6-0310-bc7c-ecb5cbfe19da

8 years ago- Fix screen corruptions for jmho.
rahn [Mon, 18 Jan 2010 22:44:48 +0000 (22:44 +0000)]
- Fix screen corruptions for jmho.

git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/KDE/kdeedu/marble@1076837 283d02a7-25f6-0310-bc7c-ecb5cbfe19da

8 years ago- Speedup for OSM rendering ....
rahn [Mon, 18 Jan 2010 22:17:53 +0000 (22:17 +0000)]
- Speedup for OSM rendering ....

git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/KDE/kdeedu/marble@1076820 283d02a7-25f6-0310-bc7c-ecb5cbfe19da

8 years agoPython bindings update for Marble.
sedwards [Mon, 18 Jan 2010 07:08:45 +0000 (07:08 +0000)]
Python bindings update for Marble.

git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/KDE/kdeedu/marble@1076405 283d02a7-25f6-0310-bc7c-ecb5cbfe19da

8 years agoAdd default download policy for bulk downloads.
jmhoffmann [Sat, 16 Jan 2010 12:47:06 +0000 (12:47 +0000)]
Add default download policy for bulk downloads.

git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/KDE/kdeedu/marble@1075641 283d02a7-25f6-0310-bc7c-ecb5cbfe19da

8 years agoOSM Namefinder so far only works on earth. Disable it for other planets.
nienhueser [Sat, 16 Jan 2010 11:38:30 +0000 (11:38 +0000)]
OSM Namefinder so far only works on earth. Disable it for other planets.
CCBUG: 181865

git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/KDE/kdeedu/marble@1075583 283d02a7-25f6-0310-bc7c-ecb5cbfe19da

8 years agoAdd the range element from kml (camera distance in meters). Change GeoDataCoordinate...
nienhueser [Thu, 14 Jan 2010 19:54:04 +0000 (19:54 +0000)]
Add the range element from kml (camera distance in meters). Change GeoDataCoordinate* coordinate() method signature to GeoDataCoordinate coordinates(). Implement assignment operator and copy constructor needed because of the d-pointer.

git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/KDE/kdeedu/marble@1074812 283d02a7-25f6-0310-bc7c-ecb5cbfe19da

8 years agoFileLoader: disable .cache file for non "standard placemark" files
tgridel [Thu, 14 Jan 2010 18:27:42 +0000 (18:27 +0000)]
FileLoader: disable .cache file for non "standard placemark" files

git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/KDE/kdeedu/marble@1074768 283d02a7-25f6-0310-bc7c-ecb5cbfe19da

8 years agodead code
tgridel [Thu, 14 Jan 2010 18:27:35 +0000 (18:27 +0000)]
dead code

git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/KDE/kdeedu/marble@1074767 283d02a7-25f6-0310-bc7c-ecb5cbfe19da

8 years agoReplace duplicated code in distanceString() with a function call to distance().
nienhueser [Wed, 13 Jan 2010 19:11:01 +0000 (19:11 +0000)]
Replace duplicated code in distanceString() with a function call to distance().

git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/KDE/kdeedu/marble@1074271 283d02a7-25f6-0310-bc7c-ecb5cbfe19da

8 years agoDownload policies, add DownloadUsage parameter to jobRedirected signal.
jmhoffmann [Tue, 12 Jan 2010 06:33:01 +0000 (06:33 +0000)]
Download policies, add DownloadUsage parameter to jobRedirected signal.

git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/KDE/kdeedu/marble@1073398 283d02a7-25f6-0310-bc7c-ecb5cbfe19da

8 years agoDownloadPolicyKey: remove declaration or operator<, not needed anymore.
jmhoffmann [Tue, 12 Jan 2010 02:56:48 +0000 (02:56 +0000)]
DownloadPolicyKey: remove declaration or operator<, not needed anymore.

git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/KDE/kdeedu/marble@1073374 283d02a7-25f6-0310-bc7c-ecb5cbfe19da

8 years agoAdd missing DownloadUsage parameter and make "refresh map" work again.
jmhoffmann [Tue, 12 Jan 2010 01:54:13 +0000 (01:54 +0000)]
Add missing DownloadUsage parameter and make "refresh map" work again.

git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/KDE/kdeedu/marble@1073361 283d02a7-25f6-0310-bc7c-ecb5cbfe19da

8 years agoHttpDownloadManager::addJob: Remove default value for DownloadUsage parameter
jmhoffmann [Tue, 12 Jan 2010 01:17:21 +0000 (01:17 +0000)]
HttpDownloadManager::addJob: Remove default value for DownloadUsage parameter
to make it more explicit.

git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/KDE/kdeedu/marble@1073352 283d02a7-25f6-0310-bc7c-ecb5cbfe19da

8 years agoChange user agent string for HTTP requests to
jmhoffmann [Mon, 11 Jan 2010 22:04:03 +0000 (22:04 +0000)]
Change user agent string for HTTP requests to
"Mozilla/5.0 (compatible; Marble/<marble-version>; <download-usage>; <plugin-id>)".

This results for example in:
- "Mozilla/5.0 (compatible; Marble/0.9; Browser; QNamNetworkPlugin)"
- "Mozilla/5.0 (compatible; Marble/0.9.1; BulkDownloader; KioNetworkPlugin)"

git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/KDE/kdeedu/marble@1073274 283d02a7-25f6-0310-bc7c-ecb5cbfe19da

8 years agoWhen the MarbleWidget is disabled, disable keyboard and mouse input and draw contents...
nienhueser [Mon, 11 Jan 2010 22:03:58 +0000 (22:03 +0000)]
When the MarbleWidget is disabled, disable keyboard and mouse input and draw contents grayscaled.
CCBUG: 221490

git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/KDE/kdeedu/marble@1073273 283d02a7-25f6-0310-bc7c-ecb5cbfe19da

8 years agoIn the marble DGML files it is now possible to define download policies
jmhoffmann [Mon, 11 Jan 2010 21:06:10 +0000 (21:06 +0000)]
In the marble DGML files it is now possible to define download policies
for different groups of hosts (in practice per map theme) and usage types.
Only usage type for now is "Browse" when browsing the map. For the planned
"download region" feature we need however to distinguish between "Browse"
and "Bulk" download as this affects the number of allowing concurrent
connections.

As download policies for openstreetmap.org this patch also adds these policies

    <downloadPolicy usage="Browse" maximumConnections="20" />
    <downloadPolicy usage="Bulk" maximumConnections="2" />

to openstreetmap.dgml.

Key points:
- In MarbleModel::setMapTheme the HttpDownloadManager is made aware of download
  policies. This was the best place I could find.
- HttpDownloadManager checks if a download policy which is about to be added
  is in place already.
- GeoSceneTexture is no longer copiable which apparently does no harm.
- If a parser error occurs within a download policy element it is ignored.
  In such a case the default download policy will be used.
- HttpDownloadManager::addJob has got a DownloadUsage parameter which is not yet
  used also because the default of DownloadBrowse is sufficient for now.

git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/KDE/kdeedu/marble@1073244 283d02a7-25f6-0310-bc7c-ecb5cbfe19da

8 years agokrazy fix: use QtModule/QClass in include directive.
jmhoffmann [Mon, 11 Jan 2010 07:06:44 +0000 (07:06 +0000)]
krazy fix: use QtModule/QClass in include directive.

git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/KDE/kdeedu/marble@1072850 283d02a7-25f6-0310-bc7c-ecb5cbfe19da

8 years agokrazy fix: use QPointer when showing modal dialogs via exec(), as discussed in http...
jmhoffmann [Mon, 11 Jan 2010 06:26:20 +0000 (06:26 +0000)]
krazy fix: use QPointer when showing modal dialogs via exec(), as discussed in kdedevelopers.org/node/3919

git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/KDE/kdeedu/marble@1072846 283d02a7-25f6-0310-bc7c-ecb5cbfe19da

8 years agokrazy fix: declare d-pointer const.
jmhoffmann [Mon, 11 Jan 2010 06:26:17 +0000 (06:26 +0000)]
krazy fix: declare d-pointer const.

git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/KDE/kdeedu/marble@1072845 283d02a7-25f6-0310-bc7c-ecb5cbfe19da

8 years agoUse QObject's memory management to prevent DownloadQueueSet's from leaking
jmhoffmann [Sun, 10 Jan 2010 21:18:56 +0000 (21:18 +0000)]
Use QObject's memory management to prevent DownloadQueueSet's from leaking
once HttpDownloadManager::addDownloadPolicy is in use.

git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/KDE/kdeedu/marble@1072758 283d02a7-25f6-0310-bc7c-ecb5cbfe19da

8 years ago- Print Preview for KDE and Qt Marble Version
rahn [Sat, 9 Jan 2010 20:39:21 +0000 (20:39 +0000)]
- Print Preview for KDE and Qt Marble Version
- Printing fix.
- Removal of second toolbar menu entry.
- Move of "reload" menu entry a bit higher within the view menu (to
  match the
  place in other applications)

git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/KDE/kdeedu/marble@1072279 283d02a7-25f6-0310-bc7c-ecb5cbfe19da

8 years agofix missing member initialization
nienhueser [Sat, 9 Jan 2010 00:33:10 +0000 (00:33 +0000)]
fix missing member initialization

git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/KDE/kdeedu/marble@1071915 283d02a7-25f6-0310-bc7c-ecb5cbfe19da

8 years ago- Forwardport of 1071883: svgmin'd flags.
rahn [Fri, 8 Jan 2010 23:36:54 +0000 (23:36 +0000)]
- Forwardport of 1071883: svgmin'd flags.

git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/KDE/kdeedu/marble@1071892 283d02a7-25f6-0310-bc7c-ecb5cbfe19da

8 years agoCorrectly restore infobox locking state setting
nienhueser [Fri, 8 Jan 2010 23:11:12 +0000 (23:11 +0000)]
Correctly restore infobox locking state setting

git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/KDE/kdeedu/marble@1071879 283d02a7-25f6-0310-bc7c-ecb5cbfe19da

8 years ago- Getting rid of the Weather monster SVG's for now ... :-(
rahn [Fri, 8 Jan 2010 22:15:20 +0000 (22:15 +0000)]
- Getting rid of the Weather monster SVG's for now ... :-(

git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/KDE/kdeedu/marble@1071846 283d02a7-25f6-0310-bc7c-ecb5cbfe19da

8 years agoFix crash when model is null.
nienhueser [Fri, 8 Jan 2010 21:20:14 +0000 (21:20 +0000)]
Fix crash when model is null.

git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/KDE/kdeedu/marble@1071828 283d02a7-25f6-0310-bc7c-ecb5cbfe19da

8 years ago- More accurate approximation of the scalebar length for flat maps.
rahn [Fri, 8 Jan 2010 00:08:27 +0000 (00:08 +0000)]
- More accurate approximation of the scalebar length for flat maps.
  It takes the latitude in the map's center into account.

git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/KDE/kdeedu/marble@1071424 283d02a7-25f6-0310-bc7c-ecb5cbfe19da

8 years agocenter the zooming on the middle point between the two fingers when doing pinch zoom
mart [Thu, 7 Jan 2010 23:08:30 +0000 (23:08 +0000)]
center the zooming on the middle point between the two fingers when doing pinch zoom

git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/KDE/kdeedu/marble@1071413 283d02a7-25f6-0310-bc7c-ecb5cbfe19da

8 years agoExport class AbstractProjection since it is now used by the CrosshairsPlugin.
jmhoffmann [Thu, 7 Jan 2010 22:19:09 +0000 (22:19 +0000)]
Export class AbstractProjection since it is now used by the CrosshairsPlugin.

git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/KDE/kdeedu/marble@1071389 283d02a7-25f6-0310-bc7c-ecb5cbfe19da

8 years ago- Bumping up version number
rahn [Thu, 7 Jan 2010 22:05:13 +0000 (22:05 +0000)]
- Bumping up version number

git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/KDE/kdeedu/marble@1071371 283d02a7-25f6-0310-bc7c-ecb5cbfe19da

8 years agoIntroduce a focus point (move-invariant point when zooming) in ViewportParams, used...
nienhueser [Thu, 7 Jan 2010 22:04:36 +0000 (22:04 +0000)]
Introduce a focus point (move-invariant point when zooming) in ViewportParams, used by the default input handler and the crosshair plugin to indicate a non screen-centric zoom action to the user.
CCBUG: 177591

git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/KDE/kdeedu/marble@1071370 283d02a7-25f6-0310-bc7c-ecb5cbfe19da

8 years agoCurrent location should be visible independent of navigation mode
nienhueser [Thu, 7 Jan 2010 17:46:23 +0000 (17:46 +0000)]
Current location should be visible independent of navigation mode

git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/KDE/kdeedu/marble@1071185 283d02a7-25f6-0310-bc7c-ecb5cbfe19da

8 years agoQTimer include is needed
nienhueser [Thu, 7 Jan 2010 17:44:57 +0000 (17:44 +0000)]
QTimer include is needed

git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/KDE/kdeedu/marble@1071183 283d02a7-25f6-0310-bc7c-ecb5cbfe19da

8 years agoMarbleGeoDataModel: remove unnecessary include directives.
jmhoffmann [Thu, 7 Jan 2010 01:07:57 +0000 (01:07 +0000)]
MarbleGeoDataModel: remove unnecessary include directives.

git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/KDE/kdeedu/marble@1070924 283d02a7-25f6-0310-bc7c-ecb5cbfe19da

8 years agoMergedLayerDecorator: remove unnecessary include directives.
jmhoffmann [Thu, 7 Jan 2010 01:07:55 +0000 (01:07 +0000)]
MergedLayerDecorator: remove unnecessary include directives.

git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/KDE/kdeedu/marble@1070923 283d02a7-25f6-0310-bc7c-ecb5cbfe19da

8 years agoMarblePlacemarkModel: remove unnecessary include directives.
jmhoffmann [Thu, 7 Jan 2010 01:07:53 +0000 (01:07 +0000)]
MarblePlacemarkModel: remove unnecessary include directives.

git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/KDE/kdeedu/marble@1070922 283d02a7-25f6-0310-bc7c-ecb5cbfe19da

8 years agoMarbleControlBox: remove unnecessary include directives.
jmhoffmann [Thu, 7 Jan 2010 01:07:50 +0000 (01:07 +0000)]
MarbleControlBox: remove unnecessary include directives.

git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/KDE/kdeedu/marble@1070921 283d02a7-25f6-0310-bc7c-ecb5cbfe19da

8 years agoLatLonEdit: remove unnecessary include directive.
jmhoffmann [Thu, 7 Jan 2010 01:07:48 +0000 (01:07 +0000)]
LatLonEdit: remove unnecessary include directive.

git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/KDE/kdeedu/marble@1070920 283d02a7-25f6-0310-bc7c-ecb5cbfe19da

8 years agoNetworkPlugin: remove unnecessary include directive.
jmhoffmann [Thu, 7 Jan 2010 01:07:46 +0000 (01:07 +0000)]
NetworkPlugin: remove unnecessary include directive.

git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/KDE/kdeedu/marble@1070919 283d02a7-25f6-0310-bc7c-ecb5cbfe19da

8 years agoFileViewModel: remove unnecessary include directives from header.
jmhoffmann [Thu, 7 Jan 2010 01:07:43 +0000 (01:07 +0000)]
FileViewModel: remove unnecessary include directives from header.

git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/KDE/kdeedu/marble@1070918 283d02a7-25f6-0310-bc7c-ecb5cbfe19da

8 years agoFileManager: fix include directive.
jmhoffmann [Thu, 7 Jan 2010 01:07:41 +0000 (01:07 +0000)]
FileManager: fix include directive.

git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/KDE/kdeedu/marble@1070917 283d02a7-25f6-0310-bc7c-ecb5cbfe19da

8 years agoFileStoragePolicy: remove unnecessary include directive and forward
jmhoffmann [Thu, 7 Jan 2010 01:07:39 +0000 (01:07 +0000)]
FileStoragePolicy: remove unnecessary include directive and forward
declaration as this is part of the abstract base class api.

git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/KDE/kdeedu/marble@1070916 283d02a7-25f6-0310-bc7c-ecb5cbfe19da

8 years agoAbstractTile: remove unnecessary include directives.
jmhoffmann [Thu, 7 Jan 2010 01:07:37 +0000 (01:07 +0000)]
AbstractTile: remove unnecessary include directives.

git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/KDE/kdeedu/marble@1070915 283d02a7-25f6-0310-bc7c-ecb5cbfe19da

8 years agoAbstractScanlineTextureMapper: sort include directives alphabetically.
jmhoffmann [Thu, 7 Jan 2010 01:07:35 +0000 (01:07 +0000)]
AbstractScanlineTextureMapper: sort include directives alphabetically.

git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/KDE/kdeedu/marble@1070914 283d02a7-25f6-0310-bc7c-ecb5cbfe19da

8 years agoAbstractScanlineTextureMapper: remove unnecessary include directives.
jmhoffmann [Thu, 7 Jan 2010 01:07:32 +0000 (01:07 +0000)]
AbstractScanlineTextureMapper: remove unnecessary include directives.

git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/KDE/kdeedu/marble@1070913 283d02a7-25f6-0310-bc7c-ecb5cbfe19da

8 years agoFix include directive.
jmhoffmann [Thu, 7 Jan 2010 01:07:29 +0000 (01:07 +0000)]
Fix include directive.

git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/KDE/kdeedu/marble@1070912 283d02a7-25f6-0310-bc7c-ecb5cbfe19da

8 years agoAbstractFloatItem: remove unnecessary include directives and forward declarations.
jmhoffmann [Thu, 7 Jan 2010 01:07:27 +0000 (01:07 +0000)]
AbstractFloatItem: remove unnecessary include directives and forward declarations.

git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/KDE/kdeedu/marble@1070911 283d02a7-25f6-0310-bc7c-ecb5cbfe19da

8 years agoMarbleMap: order include directives alphabetically.
jmhoffmann [Thu, 7 Jan 2010 01:07:25 +0000 (01:07 +0000)]
MarbleMap: order include directives alphabetically.

git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/KDE/kdeedu/marble@1070910 283d02a7-25f6-0310-bc7c-ecb5cbfe19da

8 years agoRemove unnecessary include directives.
jmhoffmann [Thu, 7 Jan 2010 01:07:22 +0000 (01:07 +0000)]
Remove unnecessary include directives.

git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/KDE/kdeedu/marble@1070909 283d02a7-25f6-0310-bc7c-ecb5cbfe19da

8 years agoOrder include directives and forward declarations alphabetically.
jmhoffmann [Thu, 7 Jan 2010 01:07:20 +0000 (01:07 +0000)]
Order include directives and forward declarations alphabetically.

git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/KDE/kdeedu/marble@1070908 283d02a7-25f6-0310-bc7c-ecb5cbfe19da

8 years agoRemove unnecessary include directives.
jmhoffmann [Thu, 7 Jan 2010 01:07:17 +0000 (01:07 +0000)]
Remove unnecessary include directives.

git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/KDE/kdeedu/marble@1070907 283d02a7-25f6-0310-bc7c-ecb5cbfe19da

8 years agoAdd script which tries to check if headers are installed unnecessarily.
jmhoffmann [Thu, 7 Jan 2010 00:18:51 +0000 (00:18 +0000)]
Add script which tries to check if headers are installed unnecessarily.

git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/KDE/kdeedu/marble@1070895 283d02a7-25f6-0310-bc7c-ecb5cbfe19da

8 years agoDo not install private headers GeoData*_p.h, AbstractLayer/AbstractLayerInterface...
jmhoffmann [Thu, 7 Jan 2010 00:18:47 +0000 (00:18 +0000)]
Do not install private headers GeoData*_p.h, AbstractLayer/AbstractLayerInterface.h and MapThemeSortFilterProxyModel.h.

git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/KDE/kdeedu/marble@1070894 283d02a7-25f6-0310-bc7c-ecb5cbfe19da

8 years agodead code
tgridel [Wed, 6 Jan 2010 23:09:02 +0000 (23:09 +0000)]
dead code

git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/KDE/kdeedu/marble@1070865 283d02a7-25f6-0310-bc7c-ecb5cbfe19da

8 years agounused header
tgridel [Wed, 6 Jan 2010 23:08:54 +0000 (23:08 +0000)]
unused header

git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/KDE/kdeedu/marble@1070864 283d02a7-25f6-0310-bc7c-ecb5cbfe19da

8 years agoGeodata: gpx track parsing
tgridel [Wed, 6 Jan 2010 23:08:46 +0000 (23:08 +0000)]
Geodata: gpx track parsing

git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/KDE/kdeedu/marble@1070863 283d02a7-25f6-0310-bc7c-ecb5cbfe19da

8 years agoBUG 177591
rahn [Wed, 6 Jan 2010 21:52:39 +0000 (21:52 +0000)]
BUG 177591

Initial fix by Mattias Dalkvist and Dennis Nienhüser. This is neat! :-)

git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/KDE/kdeedu/marble@1070837 283d02a7-25f6-0310-bc7c-ecb5cbfe19da

8 years ago- Native Checkboxes in the LegendBrowser.
rahn [Wed, 6 Jan 2010 00:30:41 +0000 (00:30 +0000)]
- Native Checkboxes in the LegendBrowser.

git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/KDE/kdeedu/marble@1070554 283d02a7-25f6-0310-bc7c-ecb5cbfe19da

8 years agoDo not install internal header ExtDateTime.h.
jmhoffmann [Tue, 5 Jan 2010 22:34:51 +0000 (22:34 +0000)]
Do not install internal header ExtDateTime.h.

git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/KDE/kdeedu/marble@1070533 283d02a7-25f6-0310-bc7c-ecb5cbfe19da

8 years agoUpdated Marble Python API docs.
sedwards [Tue, 5 Jan 2010 19:54:48 +0000 (19:54 +0000)]
Updated Marble Python API docs.

git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/KDE/kdeedu/marble@1070493 283d02a7-25f6-0310-bc7c-ecb5cbfe19da

8 years agoRemoving old Python API docs.
sedwards [Tue, 5 Jan 2010 19:53:45 +0000 (19:53 +0000)]
Removing old Python API docs.

git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/KDE/kdeedu/marble@1070492 283d02a7-25f6-0310-bc7c-ecb5cbfe19da

8 years agoRemove unnecessary include directives.
jmhoffmann [Tue, 5 Jan 2010 17:09:16 +0000 (17:09 +0000)]
Remove unnecessary include directives.

git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/KDE/kdeedu/marble@1070436 283d02a7-25f6-0310-bc7c-ecb5cbfe19da

8 years agoImprove libgps version detection.
jmhoffmann [Tue, 5 Jan 2010 15:53:39 +0000 (15:53 +0000)]
Improve libgps version detection.
The Problem with libgps (gpsd) is that GPSD_API_MAJOR_VERSION might be a little bit misleading:

gpsd version GPSD_API_MAJOR_VERSION
======================================
2.37 n/a
2.38 n/a
2.39 3
2.90 3
svn trunk 4

What we really want to detect here is if we are using version 2.90+.

git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/KDE/kdeedu/marble@1070414 283d02a7-25f6-0310-bc7c-ecb5cbfe19da

8 years agoPython bindings update.
sedwards [Tue, 5 Jan 2010 11:49:55 +0000 (11:49 +0000)]
Python bindings update.

git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/KDE/kdeedu/marble@1070354 283d02a7-25f6-0310-bc7c-ecb5cbfe19da

8 years agoFix memory leak.
jmhoffmann [Tue, 5 Jan 2010 01:08:01 +0000 (01:08 +0000)]
Fix memory leak.

git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/KDE/kdeedu/marble@1070164 283d02a7-25f6-0310-bc7c-ecb5cbfe19da

8 years ago- Choose localized HandBook in the Marble Qt Version
rahn [Mon, 4 Jan 2010 23:34:54 +0000 (23:34 +0000)]
- Choose localized HandBook in the Marble Qt Version
- Don't build OSM Annotation test (since the OSM Annotation plugin is
  not ready for the release).

git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/KDE/kdeedu/marble@1070134 283d02a7-25f6-0310-bc7c-ecb5cbfe19da

8 years agoInitialize the d-pointer with the correct class so that the static_cast later operate...
nienhueser [Mon, 4 Jan 2010 16:04:17 +0000 (16:04 +0000)]
Initialize the d-pointer with the correct class so that the static_cast later operates on the right base.

git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/KDE/kdeedu/marble@1069978 283d02a7-25f6-0310-bc7c-ecb5cbfe19da

8 years agoNo unnecessary framerate calculations and signal emissions. BUG: 215482
nienhueser [Mon, 4 Jan 2010 15:21:13 +0000 (15:21 +0000)]
No unnecessary framerate calculations and signal emissions. BUG: 215482

git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/KDE/kdeedu/marble@1069964 283d02a7-25f6-0310-bc7c-ecb5cbfe19da

8 years agoIf the thread does not stop voluntarily within five seconds, kill it.
nienhueser [Fri, 1 Jan 2010 17:39:20 +0000 (17:39 +0000)]
If the thread does not stop voluntarily within five seconds, kill it.
BUG: 220236

git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/KDE/kdeedu/marble@1068626 283d02a7-25f6-0310-bc7c-ecb5cbfe19da

8 years agoDo not set a guessed GPSD_API_MAJOR_VERSION value if it is not available. Initialize...
nienhueser [Fri, 1 Jan 2010 17:38:21 +0000 (17:38 +0000)]
Do not set a guessed GPSD_API_MAJOR_VERSION value if it is not available. Initialize pointer. Fix call logic for 2.3x (also GPSD_API_MAJOR_VERSION==3)

git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/KDE/kdeedu/marble@1068625 283d02a7-25f6-0310-bc7c-ecb5cbfe19da

8 years agoPositionTracking derives from QObject and as such must not be destructed with delete...
nienhueser [Fri, 1 Jan 2010 16:58:53 +0000 (16:58 +0000)]
PositionTracking derives from QObject and as such must not be destructed with delete. Instead, pass ourself as owner at construction time and let QObject handle the destruction.
CCBUG: 220236

git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/KDE/kdeedu/marble@1068592 283d02a7-25f6-0310-bc7c-ecb5cbfe19da

8 years agoFix compiliatin for libgps < 2.90. libgps sets GPSD_API_MAJOR_VERSION=3 for both...
nienhueser [Fri, 1 Jan 2010 16:33:24 +0000 (16:33 +0000)]
Fix compiliatin for libgps < 2.90. libgps sets GPSD_API_MAJOR_VERSION=3 for both version 2.3x and 2.90. Check whether WATCH_ENABLE and POLICY_SET are defined to distinguish both.
BUG: 220489

git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/KDE/kdeedu/marble@1068583 283d02a7-25f6-0310-bc7c-ecb5cbfe19da

8 years agoFix indendation.
jmhoffmann [Tue, 29 Dec 2009 08:27:41 +0000 (08:27 +0000)]
Fix indendation.

git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/KDE/kdeedu/marble@1067203 283d02a7-25f6-0310-bc7c-ecb5cbfe19da

8 years ago- use mDebug instead of qWarning since for now we only have the default download...
jmhoffmann [Sat, 26 Dec 2009 08:56:54 +0000 (08:56 +0000)]
- use mDebug instead of qWarning since for now we only have the default download policy
- add hostname and usage to debug output
- order include files alphabetically

git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/KDE/kdeedu/marble@1066167 283d02a7-25f6-0310-bc7c-ecb5cbfe19da

8 years agoWhen calculating how much space is needed for the status bar label,
jmhoffmann [Thu, 24 Dec 2009 06:02:37 +0000 (06:02 +0000)]
When calculating how much space is needed for the status bar label,
use the translated version, otherwise the space might be not enough.
CCMAIL: rahn@kde.org

git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/KDE/kdeedu/marble@1065682 283d02a7-25f6-0310-bc7c-ecb5cbfe19da

8 years agoThe weather plugin also displays negative temperatures now.
jmhoffmann [Thu, 24 Dec 2009 05:42:07 +0000 (05:42 +0000)]
The weather plugin also displays negative temperatures now.

git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/KDE/kdeedu/marble@1065680 283d02a7-25f6-0310-bc7c-ecb5cbfe19da

8 years agoGPSD_API_MAJOR_VERSION is not defined if GPSD_API_MAJOR_VERSION == 2.
bholst [Wed, 23 Dec 2009 20:27:26 +0000 (20:27 +0000)]
GPSD_API_MAJOR_VERSION is not defined if GPSD_API_MAJOR_VERSION == 2.
Setting it manually.

git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/KDE/kdeedu/marble@1065611 283d02a7-25f6-0310-bc7c-ecb5cbfe19da

8 years agoMake automatic tile updates work again.
jmhoffmann [Wed, 23 Dec 2009 05:53:52 +0000 (05:53 +0000)]
Make automatic tile updates work again.

git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/KDE/kdeedu/marble@1065340 283d02a7-25f6-0310-bc7c-ecb5cbfe19da