Even Rouault
9ae156970a
QgsVectorLayer::writeSymbology(): fix crash when called with invalid data provider
2016-10-25 10:28:53 +02:00
Even Rouault
a70d42802f
QgsVectorLayer::loadNamedStyle(): make it work with non database URI
...
Such as OGR GPKG
2016-10-25 10:28:53 +02:00
Even Rouault
e237963274
SIP QgsVectorLayer: fix signatures for output parameter
...
saveStyleToDatabase() and getStyleFromDatabase() should define errMsg as
output parameter
And loadNamedStyle() also for theResultFlag.
2016-10-25 10:28:53 +02:00
Paolo Cavallini
7470b55bbd
Enable CROP_TO_CUTLINE by default
...
Fixes https://hub.qgis.org/issues/15750
Please backport it where appropriate.
2016-10-25 08:57:31 +02:00
Nyall Dawson
72e4cf7db0
Fix a qt warning message on startup
2016-10-25 12:30:23 +10:00
Nyall Dawson
f195e9400f
Make welcome page layout align with other panels + docks
2016-10-25 12:22:52 +10:00
Nyall Dawson
0b35ccefa9
Update qt5 build instructions for Fedora
2016-10-25 12:14:22 +10:00
Nyall Dawson
b2587b7bf3
[FEATURE] Remove zonal stats plugin
...
This is now fully exposed via processing, which is the logical
place for this feature to reside.
One less c++ plugin is a good thing!
(marked as feature so we remember to mention this in changelog!)
2016-10-25 09:30:18 +10:00
Nyall Dawson
e75b572b6e
[FEATURE] Remove dxf2shp converter plugin
...
This functionality is available in OGR and there is no longer
a need for a dedicated QGIS plugin to do this task
Marked as feature for documentation + changelog reminder
2016-10-25 09:29:46 +10:00
Nyall Dawson
1367fd09fc
Prepare commit converts single line doxygen block format
...
Flips single line doxygen comments to use the proper single line
format:
/*!< comment */ to //!< Comment
and
/** comment */ to //! Comment
2016-10-25 09:17:39 +10:00
Nyall Dawson
3ef8e6afca
Minor doxygen improvements
2016-10-25 08:54:01 +10:00
Nyall Dawson
af55c022b2
Followup 4166a3, don't use QStringLiteral in definitions
...
Causes linker errors in some random cases
2016-10-25 08:34:00 +10:00
Even Rouault
794c8f3c85
[DB_Manager GPKG] Fix creating and changing default values of columns
2016-10-24 17:41:49 +02:00
Even Rouault
f84826d58d
[DB_Manager GPKG] Fix logic inversion in GDAL 1.X vs GDAL 2.X cases
2016-10-24 17:01:58 +02:00
Matthias Kuhn
cc0ada9f11
Add a hyperlink to the processing tests readme
2016-10-24 14:37:28 +02:00
Harrissou Sant-anna
8f13d4e242
typo fix
2016-10-24 14:33:22 +02:00
Sandro Santilli
96e7883b13
Add more links to test-relted README files
2016-10-24 11:43:36 +02:00
Sandro Santilli
31cd7a81a3
Add link to processing test document
2016-10-24 11:20:22 +02:00
Even Rouault
af236c4ef8
Merge pull request #3628 from rouault/dbmanager_gpkg
...
[DBManager] Add dedicated GeoPackage plugin
2016-10-24 10:33:03 +02:00
Alexander Bruy
72229c1c2b
Merge pull request #3658 from nirvn/processing_modeler_mousewheel
...
[processing] fix modeleter mouse wheel zoom under qt5
2016-10-24 10:17:32 +03:00
Nyall Dawson
bb9e276d59
Merge pull request #3660 from nyalldawson/qstringallc
...
Fix literal QString construction for Qt5/c++11
2016-10-24 16:27:28 +10:00
Nyall Dawson
4166a3ea62
Fix most clazy qstring-unneeded-heap-allocations warnings
...
By flipping string literals to QStringLiteral/QLatin1String
see
https://woboq.com/blog/qstringliteral.html
2016-10-24 15:26:24 +10:00
Nyall Dawson
f6a344c2c1
Add QgsTextFormatPanelWidget for text format control inside panel
2016-10-24 12:02:00 +10:00
Nyall Dawson
8fa8167d7b
Add a simple dialog for configuring text formatting
2016-10-24 12:02:00 +10:00
Nyall Dawson
4282474c26
Respect render context antialiasing setting in text renderer
2016-10-24 12:02:00 +10:00
Nyall Dawson
76c12ba94c
Split QgsLabelingGui off into QgsTextFormatWidget
...
New widget allows for setting just the formatting properties
of text
2016-10-24 12:02:00 +10:00
Nyall Dawson
169b367c5b
[FEATURE] Allow label font size in mm/pixels
...
And all other label sizes (eg buffer size) now accept sizes in
pixels too
2016-10-24 12:02:00 +10:00
Nyall Dawson
25b3c63370
Remove unused QgsLabelPreview class
2016-10-24 12:02:00 +10:00
Nyall Dawson
0b88de2487
New widget QgsTextPreview for previewing all formatting for QgsTextRenderer
...
Switch the labeling gui to use this widget, which has the benefits:
- previews all label settings, including shadow and background
- previews at a specified scale, so that any sizes using map units
will be correct
2016-10-24 12:02:00 +10:00
Nyall Dawson
e3517c6f4c
Fix text renderer not respecting min/max mm scale for map units ( fix #14698 )
2016-10-24 12:02:00 +10:00
Nyall Dawson
a5356011fc
Test masks
2016-10-24 12:02:00 +10:00
Nyall Dawson
e820da3c20
Fix unit handling for labeling dialog
2016-10-24 12:02:00 +10:00
Nyall Dawson
08143475ed
[FEATURE] QgsTextRenderer class for rich text rendering
...
Moves all the drawing code out of labeling into a new class
which just handles rendering text. This allows other parts
of the code to utilise all the advanced formatting options
that labeling supports, eg rendering text with shadows,
buffers and backgrounds.
2016-10-24 12:02:00 +10:00
Nyall Dawson
074ae4219d
Restore separate handling of label component opacity
...
...in a way that avoids unnecessary detachments of the
settings objects
2016-10-24 12:02:00 +10:00
Nyall Dawson
5495f20589
Minor refactor of label drawing
...
Remove use of scale factors from PAL layer settings and use
render context factors directly
2016-10-24 12:02:00 +10:00
Nyall Dawson
aac2622816
Remove option to show label shadow rectangles from GUI
...
...and instead just make it #ifdef out
2016-10-24 12:02:00 +10:00
Nyall Dawson
4d5e7536d9
Flip QgsPalLayerSettings to use QgsTextRenderer classes
2016-10-24 12:02:00 +10:00
Nyall Dawson
5f241d6288
Implicitly shared text settings classes
2016-10-24 12:02:00 +10:00
Nyall Dawson
687c66f5d6
Add Points as valid render unit (for font sizes)
2016-10-24 12:02:00 +10:00
Nyall Dawson
796711031b
Merge pull request #3663 from nyalldawson/clazy3
...
Clazy qt5 optimisations - round 2
2016-10-24 11:59:54 +10:00
Nyall Dawson
2fab1b8bbe
Fix doxygen warnings/missing docs
2016-10-24 11:42:02 +10:00
Nyall Dawson
b4e310120f
Fix bad snapping signal names
2016-10-24 11:25:00 +10:00
Nyall Dawson
5eb875d63b
[processing] Add algorithm to strip null geometries
2016-10-24 11:24:37 +10:00
Nyall Dawson
2fb8695dbe
Use isEmpty() rather than size() to check for empty lists
2016-10-24 10:36:24 +10:00
Nyall Dawson
44289084e9
Optimise passing of variables by ref/value
2016-10-24 10:36:23 +10:00
Nyall Dawson
8a742e9445
Fix some clazy container-inside-loop warnings
...
From the clazy docs:
"Finds places defining containers inside loops. Defining them
outside the loop and using resize(0) will save memory allocations."
2016-10-24 10:36:23 +10:00
Nyall Dawson
bdc39ff659
Fix clazy reserve-candidates suggestions
...
Avoids repeated memory allocations
2016-10-24 10:36:22 +10:00
Nyall Dawson
904b004de9
Fix clazy missing-typeinfo warnings
...
From the clazy docs:
"Suggests usage of Q_PRIMITIVE_TYPE or Q_MOVABLE_TYPE in cases where
you're using QList<T> and sizeof(T) > sizeof(void*) or using
QVector<T>, unless they already have a type info classification."
2016-10-24 10:36:22 +10:00
Nyall Dawson
3272964f58
Fix classes which violate the rule-of-three
...
(identified using clazy analyser)
2016-10-24 10:36:22 +10:00
Nyall Dawson
12a7bb34e8
[processing] Fix qgis zonal stats algorithm
2016-10-24 08:41:16 +10:00