30063 Commits

Author SHA1 Message Date
Matthias Kuhn
7e6f423e42
Merge pull request #6403 from signedav/new_multiselect
Horizontal space at value relation widget at multiple selection
2018-04-04 08:12:09 +02:00
Nyall Dawson
d5617b8025 [processing] Allow QgsVectorLayerSelectedFeatureSource to
create expression context scopes

Allows algorithms which require the underlying layer scope
to operate correctly when running in selected features only
mode.

Fixes #17170
2018-04-04 05:27:32 +10:00
Nyall Dawson
8326510e0e [processing] If an exception occurs while processing a feature
in a feature-based algorithm, don't try to continue processing
remaining features

Avoids multiple error dialogs appearing for every feature
in a layer...
2018-04-04 05:27:32 +10:00
Nyall Dawson
615cb6ca71 [needs-docs] In merge features dialog, if a layer has default
values/default value clauses present, then use these as the
initial value for the merged feature

Otherwise the dialog defaulted to skipping these attributes
or taking a value from an existing feature, which meant
that it could violate constraints on the backend.

Users can still easily overwrite these values if desired.

Fixes #18397
2018-04-04 05:27:12 +10:00
Nyall Dawson
001796dd09 Fix merge attribute dialog picks wrong field values when fields are hidden 2018-04-04 05:27:12 +10:00
Nyall Dawson
adf5d793c7 In merge attributes dialog, don't show editor widgets in table
This was originally done to allow the table to show mapped values
such as value maps/relations. But it creates the false impression
that these values are editable, since the editor widgets are
not read only.

Instead, use the field formatter to create a value representation
string and make the body of the table read-only instead.
2018-04-04 05:27:12 +10:00
Alessandro Pasotti
1ff91ceb83
Merge pull request #6690 from elpaso/fix-android-build
Fix android build with osgeo4a
2018-04-03 17:19:29 +02:00
rldhont
24737be1b8 [BUGFIX][Server] Enhance cleaning propertyname and searching by propertyname 2018-04-03 17:18:04 +02:00
David
c8504cd446 move includes into cpp and insert forward declaration 2018-04-03 17:13:43 +02:00
Alessandro Pasotti
e702bd4a11 Keep native nodiscard 2018-04-03 14:41:12 +02:00
Juergen E. Fischer
e7d587f423 restore ico/tif/png nuked by fcacb0db7c 2018-04-03 12:24:21 +02:00
Nyall Dawson
08d30c3b9f [processing] Add method for algorithms to preprocess parameter values
Allows algorithms to pre-processes a set of parameters, allowing the
algorithm to clean their values.

This method is automatically called after users enter parameters, e.g.
via the algorithm dialog. This method should NOT be called manually
by algorithms.
2018-04-03 18:36:39 +10:00
nirvn
a93daf1437 [processing] Throw exception when combining clip geometry fails in clip alg 2018-04-03 15:32:08 +07:00
Nyall Dawson
b18aaae014 Fix Coverity null pointer dereference warning 2018-04-03 16:35:32 +10:00
Nyall Dawson
b22b62f177 Fix Coverity null pointer dereference warning 2018-04-03 16:35:32 +10:00
Nyall Dawson
cd39885cd8 Remove unimplemented setData method from QgsReportSectionModel 2018-04-03 16:35:32 +10:00
Nyall Dawson
20c5e5415d Fix some clazy warnings 2018-04-03 16:35:32 +10:00
Nyall Dawson
d5d553f284 Fix Coverity unreachable code warning 2018-04-03 16:35:32 +10:00
Nyall Dawson
0099b6ec5f Fix Coverity unchecked return value warning 2018-04-03 16:35:32 +10:00
Nyall Dawson
a3605b5316 Fix Coverity null pointer dererence warning 2018-04-03 16:35:32 +10:00
Nyall Dawson
7b0cf28ecb Fix Coverity null-pointer dererence warnings 2018-04-03 16:35:32 +10:00
Nyall Dawson
e2d75d5516 Fix Coverity large argument passed by value warning 2018-04-03 16:35:32 +10:00
Nyall Dawson
eb39579837 Fix some Coverity use-after-free warnings 2018-04-03 16:35:32 +10:00
Nyall Dawson
cf905c9f32 Fix some Coverity uninitialized member warnings 2018-04-03 16:35:32 +10:00
Nyall Dawson
2b04c813ba Fix some Coverity null pointer dereference warnings 2018-04-03 16:35:32 +10:00
Nyall Dawson
fdace2690e Another try at fixing Doxygen warnings 2018-04-03 11:21:35 +10:00
Nyall Dawson
497fa4f04e Fix crash when opening layout manager dialog 2018-04-03 10:39:12 +10:00
Nyall Dawson
e1db9d4898 Fix doxygen warnings 2018-04-03 10:26:46 +10:00
Nyall Dawson
3eeb1b54e7 Spelling 2018-04-03 10:11:27 +10:00
Nyall Dawson
cd052d3ba3 Fix incorrect calculation of raster layer units per pixel x/y 2018-04-03 09:50:16 +10:00
Nyall Dawson
1bf1058210 Followup fcacb0d, fix doxygen tests
Also:
- move doxygen comments to header files so that they get included
in Python docstrings
- remove duplicate doxygen implemented in both header and footer
- remove some redundant doxygen for overridden methods
- add some missing docs
2018-04-03 09:49:00 +10:00
Juergen E. Fischer
fcacb0db7c doxygen fixes 2018-04-02 22:48:40 +02:00
Salvatore Larosa
ca4bfb148d
Merge pull request #6704 from slarosa/filter_values_qb
[FEATURE][needs-docs] add filter line edit to query builder
2018-04-02 22:11:30 +02:00
Salvatore Larosa
1e5fe12d8c show search icon in expression builder widget 2018-04-02 22:10:22 +02:00
Juergen E. Fischer
a04d5533c4 fix translation string 2018-04-02 17:51:02 +02:00
Juergen E. Fischer
7d48179223 [FEATURE] add zoom to related feature in forms 2018-04-02 17:07:39 +02:00
Salvatore Larosa
5810236c19 show search icon in filter line edit 2018-04-02 10:07:40 +02:00
nirvn
d98af7a1e3 Mark project as dirty when changing CRS of layers 2018-04-02 10:20:49 +07:00
Harrissou Sant-anna
27527a55c4 Add ellipsis to buttons label 2018-04-02 13:18:39 +10:00
Harrissou Sant-anna
76bbadbcd5 Fix indentation 2018-04-02 13:18:39 +10:00
Harrissou Sant-anna
f723fb7209 Fix indentation 2018-04-02 13:18:39 +10:00
Harrissou Sant-anna
035b3a7787 [needs-docs] Refactoring layout Manager dialog 2018-04-02 13:18:39 +10:00
Andreas Sturmlechner
f6292d6442 Fix build with Qt-5.11 (missing headers)
(forward-port from 30a8c0f4746891ff8583ac5dc81e2ce9d7157f30)
2018-04-02 11:24:48 +10:00
Nyall Dawson
1fa7e2160c Fix string capitalization, missing ellipsis 2018-04-02 11:23:05 +10:00
Nyall Dawson
ff2ee0bc6f Use QgsTemporaryCursorOverride in layout designer 2018-04-02 10:23:54 +10:00
Nyall Dawson
83f5486681 Support canceling network content fetching tasks 2018-04-02 08:42:21 +10:00
Nyall Dawson
149ccf2729 Fix intermediate 100% download progress reports caused by redirects 2018-04-02 08:42:21 +10:00
Nyall Dawson
e2f09fa662 Add a QgsTask for fetching network content
Provides a simple method for fetching remote HTTP
content in a QgsTask. Utilises QgsNetworkContentFetcher so
Url redirects and progress reports are automatically handled.
2018-04-02 08:42:21 +10:00
Nyall Dawson
bcf57c3356 Add method for QgsNetworkContentFetcher to fetch using request instead of url 2018-04-02 08:42:21 +10:00
Salvatore Larosa
1a74b0a021 fix warning 2018-03-30 11:22:32 +02:00