5198 Commits

Author SHA1 Message Date
Denis Rouzaud
bfe35c26ea [postgres] use pg_type rather than information_schema.domain_constraints to retrieve domain
otherwise there is no warranty to retrieve the correct constraint as its name is not unique
2018-02-11 17:29:18 -04:00
Denis Rouzaud
781b587090 add test for postgres domains 2018-02-10 15:27:06 -04:00
nirvn
715677ee5d move getValues, getDoubleValues to vector layer utils source file 2018-02-07 13:27:39 +07:00
Denis Rouzaud
3205c96af6
Merge pull request #6275 from 3nids/messagelevel
unite QgsMessageLog::Level and QgsMessageBar::MessageLevel in Qgis::MessageLevel
2018-02-06 05:28:17 -09:00
Denis Rouzaud
3dc3d9d1b2 unite QgsMessageLog::Level and QgsMessageBar::MessageLevel in Qgis::MessageLevel
make enum items lower case
remove unused QgsMessageLog::None and All
2018-02-06 08:56:40 -04:00
Nyall Dawson
3e1b99be69 Remove a bunch of Qt4 compatibility code 2018-02-06 22:39:42 +11:00
lbartoletti
124e26815d Standardize shebangs (was Usr bin env) (#6229)
* Use portable /usr/bin/env/{perl,python} instead of /usr/bin/{perl,python}

* fix perl;add bash

* Fix indentation using modified scripts

* Revert "fix perl;add bash"

This reverts commit be8b9113c25f7c2fb9c8c9bad556fbca2f0c0ba2.

* python3 everywhere

* more bash

* rebase
change perl

* Linux perl; missing from last PR

* fix doxygen_space

* Use portable /usr/bin/env/{perl,python} instead of /usr/bin/{perl,python}

* fix perl;add bash

* Fix indentation using modified scripts

* Revert "fix perl;add bash"

This reverts commit be8b9113c25f7c2fb9c8c9bad556fbca2f0c0ba2.

* python3 everywhere

* more bash

* rebase
change perl

* fix doxygen_space
2018-02-05 03:38:02 -09:00
Alessandro Pasotti
7bf0a7f714
Merge pull request #6251 from elpaso/bugfix-17975-server-layer-groups-order
[bugfix][server] WMS respect order of grouped layers
2018-02-05 09:24:37 +01:00
Nyall Dawson
4287ce489d [layouts] Fix rotated items move when refreshing layout
Fixes #18037
2018-02-05 13:45:14 +11:00
Nyall Dawson
345dd0c376 [layouts] Fix items disappear in designer with 90 or 270 degree
rotation

Caused by Qt bug 66185

Fixes #18027
2018-02-05 12:36:18 +11:00
Mathieu Pellerin
a66a4dbd83
use a QMimeData clipboard object to paste features as HTML table (#6243) 2018-02-03 10:54:07 +07:00
Alessandro Pasotti
5c5ef3b6de
Merge pull request #6246 from elpaso/rangeformatter
[bugfix] Range formatter for doubles and ints
2018-02-02 14:25:28 +01:00
Alessandro Pasotti
31de32420d Tests for range field formatter 2018-02-02 12:51:49 +01:00
Alessandro Pasotti
50d378fa81 Update tests for WMS grouped layers order 2018-02-02 11:07:51 +01:00
Nyall Dawson
252dbdcc48 Fix clazy unnecessary unnecessary container allocation warnings 2018-02-02 19:52:01 +11:00
Nyall Dawson
b2b500d5b2 Fix clazy QFileInfo::exists warnings 2018-02-02 19:52:01 +11:00
Nyall Dawson
16e98f205a Default to a dark gray instead of black for symbol outlines
Avoiding the very high constrast pure black results in cartographically
more pleasing styles, so it's nice to do this by default.

This should result in nicer looking maps being created in QGIS
when users don't do any manual style tweaks.
2018-02-02 15:59:13 +10:00
Alessandro Pasotti
0eeea76292
Merge pull request #6237 from elpaso/commas-dots-fieldvalidator
[bugfix][attrtable] Convert comma to dot for floating point input
2018-02-01 07:53:23 +01:00
Alessandro Pasotti
f3f0eb0035
Merge pull request #6236 from elpaso/double-linedit-default-widget
[bugfix] Lower priority of range widget for doubles
2018-02-01 07:53:04 +01:00
Nyall Dawson
247ea02ae7 Update tests 2018-02-01 13:02:59 +11:00
Nyall Dawson
6c5276cea5 Fix test 2018-02-01 13:02:59 +11:00
Nyall Dawson
6fa362b5a2 Fix value map search widget doesn't work for null/not null searches
before an initial value is picked

Refs #17986
2018-02-01 12:29:44 +11:00
Nyall Dawson
70fc32b784 Spelling 2018-02-01 07:53:54 +11:00
Nyall Dawson
fc68bb25d7 [processing] Allow case-different duplicate parameter names
But always prefer case-exact matches for parameter names. Turns
out the grass provider requires use of parameters with the same
name but different case, so we need to be able to handle this.
2018-02-01 07:53:54 +11:00
Alessandro Pasotti
cc1625c83e [bugfix][attrtable] Convert comma to dot for floating point input
This fixes an unreported bug that without detecting an
invalid input when using a comma as a decimal separator
silently converts the entered value to NULL.

Since locale support in QGIS is in its early stages
we convert commas to dots within the validator,
this is common practice in almost all web applications
where you can enter a comma instead of a dot and
the conversion appears while you digit.

This comes with brand new tests for QgsFieldValidator.

Bonus: small fix in sipify.
2018-01-31 12:50:14 +01:00
Alessandro Pasotti
2263237d20 Update test for editorwidgetregistry 2018-01-31 10:29:59 +01:00
Mathieu Pellerin
ad5a8697b6
Merge pull request #6140 from DelazJ/nodeEditor 2018-01-31 15:53:29 +07:00
Nyall Dawson
a9c6267332 Fix virtual layers using a where filter which has field names which
must be quoted

E.g. field names with special characters or which duplicate a
QGIS expression function name
2018-01-31 19:12:41 +11:00
Alessandro Pasotti
73293e8e9c
Merge pull request #6209 from elpaso/double-range-precision
[bugfix] Allow precision config for doubles in range widget
2018-01-31 08:32:20 +01:00
Nyall Dawson
6ec4d08272 [layouts] Correctly restore dpi from 2.x compositions 2018-01-31 16:46:12 +11:00
Harrissou Sant-anna
91a80759bf Fully replace node* by vertex* 2018-01-31 04:51:20 +01:00
Alessandro Pasotti
1194c78495
Merge pull request #6228 from elpaso/server-wfs-epsg-bbox
[server][bugfix][wfs] Allow CRS in BBOX
2018-01-30 17:56:34 +01:00
Alessandro Pasotti
26a51bada0 Strip timeStamp from reference XML for tests 2018-01-30 17:29:40 +01:00
Alessandro Pasotti
1f2109a51f [server][bugfix][wfs] Allow CRS in BBOX
Fixes #17977 - QGIS server 2.99 doesn't handles BBOX parameter on WFS request
2018-01-30 17:02:08 +01:00
Alessandro Pasotti
63d063f37d Update the tests with QgsField precision values
Now that they are honored
2018-01-30 09:07:45 +01:00
Mathieu Pellerin
eb42afed9b
add trandform context to QgsBearingUtils::bearingTrueNorth 2018-01-30 13:26:36 +07:00
Nyall Dawson
0a9f019f27 Indentation 2018-01-30 15:59:57 +10:00
Nyall Dawson
eba7e7b8b4 Fix QgsRasterFileWriter::driverForExtension and extensionsForFormat
were skipping non-creatable datasets

And indicate in the docs that read-only datasets are also considered
2018-01-30 12:19:28 +11:00
Nyall Dawson
f37c2bf6f6 Revert "[needs-qa]Usr bin env" 2018-01-30 11:33:49 +11:00
Denis Rouzaud
856442249c
Merge pull request #6072 from lbartoletti/usr_bin_env
[needs-qa]Usr bin env
2018-01-29 06:17:32 -09:00
Alessandro Pasotti
a420d0410a
Merge pull request #6185 from elpaso/bugfix-17878-range-widgets-nulls
[bugfix] Fix minimum values for range widgets
2018-01-29 13:15:40 +01:00
lbartoletti
1ce7dbad94 Merge branch 'master' of https://github.com/qgis/QGIS into usr_bin_env 2018-01-29 13:13:03 +01:00
Nyall Dawson
cf3014ccf2 Fix QgsPathResolver resolving older style relative links (without
any ./ or ../ prefix)
2018-01-29 20:51:36 +11:00
Alessandro Pasotti
d717a078fb [bugfix] Tests for double range widget limits 2018-01-29 10:44:58 +01:00
Blottiere Paul
aed6608095 Add test 2018-01-29 07:17:33 +00:00
Nyall Dawson
070e137c3d Update config format in search widget test 2018-01-29 17:36:37 +11:00
Nyall Dawson
234bc1a472 Fix value map widget broken when used as search widget
Fixes #17986
2018-01-29 17:36:37 +11:00
Nyall Dawson
fb8f3e9e4a [layouts] Fix restoration of rotated item positions
Fixes #17982
2018-01-29 12:25:53 +11:00
Juergen E. Fischer
7e20fe4cdc make converting to multi geometries to fullfil provider geometry
constraints the last step and use earlier conversions (fixes #17643)
2018-01-28 00:51:25 +01:00
Alessandro Pasotti
698befa9dd [gpkg] Add test for gpkg subsetstring don't unlock mutex twice
I wanted to add the test for gpkg subsetstring even if
it was not bugged, while testing that, I hit an assert
in Qt core that pointed me to double unlocked locks.
2018-01-25 15:16:53 +01:00