37301 Commits

Author SHA1 Message Date
Nyall Dawson
74381b85fa Add signal when a map theme changes, add tests 2017-03-08 16:56:05 +10:00
Larry Shaffer
72cc2ee988 Remove macOS standalone browser icon install
[ci skip]
2017-03-07 17:06:32 -07:00
Sandro Mani
33d6b51bea Merge pull request #4232 from manisandro/geomchecker
Geometry checker: Add self-contact check
2017-03-07 19:39:49 +01:00
Sandro Mani
db138ff8bc [Geometry checker] Fix duplicate code in QgsGeometrySelfIntersectionCheckError::isEqual
These checks are already performed by QgsGeometryCheckError::isEqual
2017-03-07 19:08:26 +01:00
Sandro Mani
cad9e469bb [Geometry checker] Add self-contact check 2017-03-07 19:08:26 +01:00
Tom Kralidis
97545901ca Merge pull request #4228 from tomkralidis/metasearch-http-basicauth
add support for HTTP Basic authentication
2017-03-07 07:13:04 -05:00
Tom Kralidis
d672361597 add support for HTTP Basic authentication (http://hub.qgis.org/issues/16298) 2017-03-07 06:56:07 -05:00
Denis Rouzaud
e23dcc8fef [spell check] avoid multiple replace by adding prev and next char to sed replace command 2017-03-07 11:20:48 +01:00
Denis Rouzaud
e7ea37dbb6 Revert "spell check: replace only words"
This reverts commit 0d7f697572e646500e002b53053cea0a1c201fd9.
2017-03-07 09:55:13 +01:00
Juergen E. Fischer
0d7f697572 spell check: replace only words 2017-03-07 09:43:47 +01:00
Nyall Dawson
cc0007c380 Use a checkbox instead of tree item for "no projection" option
Makes this option more visible and easier to associate with the
old "OTF off" option
2017-03-07 10:33:25 +10:00
Matthias Kuhn
7dbe4943d6 Notify about QgsProject::crs changes 2017-03-06 18:06:11 +01:00
Matthias Kuhn
c1ede008ea [Feature] Path prefix for attachment widget can be defined by expression 2017-03-06 16:30:02 +01:00
Matthias Kuhn
ac53a3d569 [Feature] Conditional styles for relation reference widget 2017-03-06 13:02:16 +01:00
Matthias Kuhn
53a60673fe Qt5 connections 2017-03-06 13:02:16 +01:00
Denis Rouzaud
a188cee0d6 fix typo 2017-03-06 11:44:20 +01:00
Juergen E. Fischer
09f83c266c spelling fix 2017-03-06 11:08:04 +01:00
Juergen E. Fischer
0d76dff305 spelling fixes 2017-03-06 11:03:28 +01:00
Alessandro Pasotti
99f859e2ac QgsSettings: removed lower(), now it's case sensistive 2017-03-06 10:51:54 +01:00
rldhont
9bb7681b86 Merge pull request #4124 from pblottiere/security
add unit tests for sql injection
2017-03-06 08:55:08 +01:00
Tom Kralidis
b9a0ba1e28 Merge pull request #4226 from tomkralidis/metasearch-fixes-master
MetaSearch: minor fixes for QGIS 3 compat
2017-03-05 21:57:28 -05:00
Tom Kralidis
6ce208c776 MetaSearch: minor fixes for QGIS 3 compat 2017-03-05 21:43:29 -05:00
Nathan Woodrow
c2b365c70e [FEATURE] Add system tray notifcation for finished tasks.
Should work on all platforms and only shows when application is hidden.
2017-03-06 09:31:42 +10:00
Matthias Kuhn
5fd933e7e5 [travis] Fold successful tests and some noise 2017-03-05 20:12:40 +01:00
Matthias Kuhn
633c258def [travis] Less noise when downloading deps 2017-03-05 20:12:40 +01:00
Tom Kralidis
ee984c57eb [MetaSearch] update release vresion 2017-03-05 08:45:39 -05:00
Tom Kralidis
7886454c13 Merge pull request #4224 from tomkralidis/metasearch-fixes-master
Metasearch fixes master
2017-03-05 08:04:56 -05:00
Tom Kralidis
6822d6b1d0 MetaSearch: fix help URL (http://hub.qgis.org/issues/16176) 2017-03-05 07:42:27 -05:00
Tom Kralidis
19e60158b4 MetaSearch: clean OWS URL when adding from search (http://hub.qgis.org/issues/16261) 2017-03-05 07:41:17 -05:00
Juergen E. Fischer
5a962e8d4e translation string fixes 2017-03-05 11:37:57 +01:00
Juergen E. Fischer
c77172ed3d fix more flake8 warnings 2017-03-05 10:21:24 +01:00
Juergen E. Fischer
f00a87cb8a update translation strings 2017-03-05 10:21:24 +01:00
Nyall Dawson
5a543e44de Merge pull request #4209 from nyalldawson/postgres_queue_size2
Dynamically adjust postgres feature queue size
2017-03-05 14:01:35 +10:00
Nyall Dawson
9a747de6db Merge pull request #4164 from nyalldawson/cache_upgrade
Improvements to attribute table performance
2017-03-05 13:00:58 +10:00
Nyall Dawson
346bfe499f Update for QgsSettings 2017-03-05 12:45:30 +10:00
Nyall Dawson
d4b16551f9 Update indentation, fix build 2017-03-05 12:27:28 +10:00
Nyall Dawson
ccf8e6cdcb Indentation 2017-03-05 12:14:58 +10:00
Nyall Dawson
ae5a3d3113 Use correct stats in attribute table dialog title
On behalf of Faunalia, sponsored by ENEL
2017-03-05 12:09:16 +10:00
Nyall Dawson
5342a12c72 Remove special handling for attribute table "show visible" initial state
This is no longer required as the show visible option now always
uses provider side filters
2017-03-05 12:09:15 +10:00
Nyall Dawson
6cd97d8bcb Avoid unnecessary reloads layer for attribute table
On behalf of Faunalia, sponsored by ENEL
2017-03-05 12:06:17 +10:00
Nyall Dawson
e1d80b5bbb Unvert "Ensure that full cache flag is cleared when invalid"
This is required - when the cache is invalidated it requires
a full rebuild (eg due to a new attribute being added) in order
to have complete information.

Since this could be a very lengthy process, it's not safe to
immediately rebuild the full cache. Instead, clear the full
cache flag and require users of this class to handle
responsive cache rebuilding by listening to the invalidated()
signal from the cache.
2017-03-05 12:04:05 +10:00
Nyall Dawson
1d504ea376 Revert 38f4a6f 2017-03-05 12:02:48 +10:00
Nyall Dawson
4d8f886b38 Move partial responsibility for filtering attribute table to
dual view master model

This avoids requiring the table to load ALL features when the
table is set to just display selected or visible features

Dramatically improves load time of the attribute table when
working with large layers, so long as the table is set to
display selected features or visible features by default

On behalf of Faunalia, sponsored by ENEL
2017-03-05 12:02:48 +10:00
Nyall Dawson
8a050deda9 Fix attribute table always fetches geometries for features
On behalf of Faunalia, sponsored by ENEL
2017-03-05 12:01:47 +10:00
Nyall Dawson
36f190ca0b Ensure that full cache flag is cleared when invalid
On behalf of Faunalia, sponsored by ENEL
2017-03-05 12:01:47 +10:00
Nyall Dawson
acaf97c79c Add (failing) test to ensure that attribute table doesn't fetch
geometry by default

(because performance)

On behalf of Faunalia, sponsored by ENEL
2017-03-05 12:01:47 +10:00
Nyall Dawson
dadd6133e0 Ensure both attribute table cache & master model request respect
geometry fetching

If request needs geometry but cache isn't fetching it then cache
is bypassed. This is a performance hit, so ensure that cache
and request are always in sync wrt to fetching geoms.

On behalf of Faunalia, sponsored by ENEL
2017-03-05 12:01:46 +10:00
Nyall Dawson
5b0e84a38e Flip some connects to new style 2017-03-05 12:01:46 +10:00
Nyall Dawson
361399c0e2 Small cleanup to QgsDualView - don't use cache to access layer 2017-03-05 11:58:29 +10:00
Nyall Dawson
11c444466c Clear existing cache when QgsVectorLayerCache is set to cache geom
Any features inside the cache must be cleared, because they
won't necessarily have the feature's geometry cached

On behalf of Faunalia, sponsored by ENEL
2017-03-05 11:53:24 +10:00