Denis Rouzaud
8ef8efa7fb
include nlohmann/json_fwd.hpp in core source headers ( #32294 )
...
the file was manually added later to the installted headers, but not on mac
it is not possible to install a file in a Headers subfolder within a framework if the original header is not in the same cmake current directory
installing a header in a subdirectory is achieved by setting the MACOSX_PACKAGE_LOCATION property of the source file
but setting a property can only be achieved if it is in the same cmake directory (from the docs: Source file properties are visible only to targets added in the same directory [0])
[0] https://cmake.org/cmake/help/latest/command/set_source_files_properties.html
2019-10-18 09:08:12 +02:00
Julien Cabieces
e4da0ac8c9
Revert "Merge pull request #31374 from troopa81/parallelize_snap_caching"
...
This reverts commit 87b1aa9a5d6efb279693aea68dc2dcb5b51b3e86
2019-10-18 14:50:33 +10:00
Denis Rouzaud
2406837650
replace deprecated in by deprecated since ( #32260 )
2019-10-15 15:56:54 +02:00
Denis Rouzaud
758d7cff4a
run sipify to update deprecation annotations
2019-10-15 13:17:38 +02:00
signedav
172956adb7
Merge pull request #32158 from signedav/null-strings-datetime
...
Null representation in QgsDateTimeEdit on getting focus
2019-10-11 21:20:32 +02:00
Sandro Santilli
76b39de1b8
Add ENABLE_SAGA_TESTS cmake config, default to off, enable in ci ( #32199 )
...
* Add ENABLE_SAGA_TESTS cmake config, default to off, enable in ci
Closes #32143
* Update python/plugins/processing/tests/CMakeLists.txt
Co-Authored-By: Harrissou Sant-anna <delazj@gmail.com>
2019-10-11 11:26:33 +02:00
rldhont
6625c7ba62
[Bugfix] Get remote SVG synchronously - in the server context
2019-10-11 14:08:17 +10:00
Clemens Raffler
9e9ade3903
[processing] Port of Create Grid algorithm to C++
...
MUCH faster grid creation vs the Python implementation
2019-10-10 09:33:59 +10:00
Nyall Dawson
023ba1968e
[processing] Drop precision of attribute check for create grid test results
2019-10-10 08:55:20 +10:00
ThiesVanLoon
93a52b47f7
Bug fix resolving issue 32172
...
The 'upload' parameter value 'to_attr' should not involve a closing bracket
https://github.com/qgis/QGIS/issues/32172
2019-10-09 13:39:34 +02:00
Nyall Dawson
6e26963908
Cleanup QgsMapLayerRenderer api
...
Make associated QgsRenderContext a base class member, since all
renderer subclasses require this
2019-10-09 16:36:18 +10:00
Nyall Dawson
f45540d175
Fix export to geopdf skips raster and mesh layers
...
Fixes #32148
2019-10-09 16:36:18 +10:00
Nyall Dawson
3112332227
Rename variable for clarity
2019-10-09 15:01:51 +10:00
Nyall Dawson
cb06519d16
[api] Add API to indicate that individual layers may be loaded without any
...
CRS validation, regardless of the user's settings
This avoids hacks put in place in other parts of QGIS code or in plugins
to temporarily deactivate the CRS validation prompt, providing a supported,
stable method to indicate that when loading a particular layer no CRS
validation is required.
2019-10-09 15:01:51 +10:00
Even Rouault
a491117c88
Merge pull request #32162 from rouault/fix_29212_followup_revived
...
Application options: defer disabling of drivers after application restart (relates to #29212 )
2019-10-08 20:34:39 +02:00
Even Rouault
d7f5bd0ea3
Application options: defer disabling of drivers after application restart (relates to #29212 )
...
This is a follow-up of https://github.com/qgis/QGIS/pull/31772
Driver de-registration is now defered after application restart to avoid
any risk of potential crashes if a dataset using a disabled driver was
already in use.
2019-10-08 20:31:39 +02:00
Even Rouault
4762e6ae06
OGR sublayers: add a 'Description' column in the GUI
...
Some OAPIF/WFS3 datasets uses UUID as the layer name, so this is highly
impractical for the user. However they publish a user friendly name in
the TITLE metadata, so use that.
2019-10-07 19:46:36 +02:00
David Signer
1df5213da6
if the lineEdit contains the Null Representation it should replace the text with the current date
2019-10-07 17:20:47 +02:00
nirvn
23cc659a05
[projects] Add signals for background color and selection color change
2019-10-07 15:47:30 +07:00
nirvn
6bc83965a8
[projects] Serve selection color through a proper API
2019-10-07 15:47:30 +07:00
nirvn
5863f63ae1
[projects] Serve default canvas background color through a proper API
2019-10-07 15:47:30 +07:00
Matthias Kuhn
ea510e83ef
Update python/plugins/db_manager/db_plugins/plugin.py
...
Co-Authored-By: Alessandro Pasotti <elpaso@itopen.it>
2019-10-07 09:18:34 +02:00
Alexandre Neto
54d3c64c19
Update tests
2019-10-07 09:07:45 +10:00
Alexandre Neto
28b24bda51
Better approach for preferredFormat
2019-10-07 09:07:45 +10:00
Alexandre Neto
6918f230b8
Checks is gpkg is available for writing
2019-10-07 09:07:45 +10:00
Alexandre Neto
9f3ed88145
Makes GPKG prefered input format for OGR algs #Fixes 29097
2019-10-07 09:07:45 +10:00
Nyall Dawson
d5749f8713
Deprecated QgsGeometry::createPolylineFromQPolygonF and
...
QgsGeometry::createPolygonFromQPolygonF
These were internal details which should never have been exposed
to public API
2019-10-07 07:03:34 +10:00
Nyall Dawson
8f40c8d1c5
Add QgsLineString::fromQPolygonF
2019-10-07 07:03:34 +10:00
Matthias Kuhn
f3dd5150c7
[db_manager] Detect CRS in advanced add layer
2019-10-06 18:43:57 +02:00
Matthias Kuhn
2555e6420c
Initialize variable
2019-10-06 18:43:57 +02:00
Matthias Kuhn
c9133ee75d
Update python/plugins/db_manager/db_plugins/plugin.py
...
Co-Authored-By: Nyall Dawson <nyall.dawson@gmail.com>
2019-10-06 18:43:57 +02:00
Matthias Kuhn
da31655549
Update python/plugins/db_manager/db_plugins/plugin.py
...
Co-Authored-By: Nyall Dawson <nyall.dawson@gmail.com>
2019-10-06 18:43:57 +02:00
Matthias Kuhn
fd9cc9354f
Fix python warning
2019-10-06 18:43:57 +02:00
Matthias Kuhn
54354406d0
[db_manager] Allow selecting geometry type in context menu
...
When a layer has a generic "GEOMETRY" type, it will only be listed once in the db_manager
but with an additional context menu entry for advanced properties, where one can select
the geometry type and the CRS.
Fix #32119
References #30787
2019-10-06 18:43:47 +02:00
Borys Jurgiel
8de7f3aae3
Merge pull request #32100 from borysiasty/fix_dash_in_zip_filenames
...
[Plugin installer] Fix handling zip file names with a dash as a version suffix separator
2019-10-05 16:26:21 +02:00
Nyall Dawson
eb59842f31
C++ API for generating random points inside geometry
...
Adds an optimised c++ method for generating random points inside
a polygon geometry, using a tessellation based approach to
avoid the inefficiencies of the brute force filtered-random-points-within-extent
approach.
2019-10-05 12:13:14 +10:00
Borys Jurgiel
5c1cc4a40d
[Plugin installer] properly handle zip file names with a dash as a version suffix separator
2019-10-04 22:17:51 +02:00
Nyall Dawson
d0ed374662
Add QgsProject flag to avoid loading print layouts when reading a project file
...
Speeds up project read time when these aren't needed, and also potentially
avoids issues caused by non-thread-safety in layouts (since some items rely
on classes which can only be used in the main thread e.g. QWebPage)
2019-10-04 05:10:45 +10:00
Denis Rouzaud
97435d38ee
Merge pull request #32095 from 3nids/from_init_python_url_v2
...
allow to use remote content for init code file path in attribute form
2019-10-03 17:48:12 +02:00
Alessandro Pasotti
0c5f67787c
Merge pull request #32088 from NaturalGIS/change_confusing_dbmanager_option_name
...
change confusing parameter name in DB Manager
2019-10-03 12:23:30 +02:00
Nyall Dawson
387272d441
QgsProject documentation improvements
2019-10-03 20:12:28 +10:00
Nyall Dawson
e7e41e1cb9
Add stable api for setting/retrieving project custom scales
...
Previously this was all done through raw project key manipulation,
but there's a use case for exposing this nicely for use by plugins.
2019-10-03 14:15:19 +10:00
lbartoletti
bb523ebfb3
one wmore deprecated method
2019-10-03 13:33:46 +10:00
lbartoletti
76654511f7
fix build
2019-10-03 13:33:46 +10:00
lbartoletti
aa99f89caf
deprecate methods in qgsvectorlayereditutils. Better deprecated dox.
2019-10-03 13:33:46 +10:00
lbartoletti
b75518fa15
update dox
2019-10-03 13:33:46 +10:00
lbartoletti
31e416c4a9
rename QgsPointSequence QgsMapToolCapture::points() const; to QgsPointSequence QgsMapToolCapture::pointsZM() const;
2019-10-03 13:33:46 +10:00
lbartoletti
c1421455b8
fix dox and tests
2019-10-03 13:33:46 +10:00
lbartoletti
738e052b87
fix qgsgeometry
2019-10-03 13:33:46 +10:00
lbartoletti
2e529e1bd9
deprecate addTopologicalPoints methods with QgsPointXY
...
deprecate other methods
2019-10-03 13:33:46 +10:00