Nyall Dawson
7f2fac15dc
Add some more test mask images
...
Also some debugging info for tests failing on certain platforms.
2015-02-19 16:24:11 +11:00
Nyall Dawson
74d08462a2
Update tab order in dialogs
2015-02-19 16:24:01 +11:00
Nyall Dawson
6e4768367f
Remove use of deprecated register keyword
2015-02-19 16:23:50 +11:00
Nyall Dawson
b45d3843cf
Fix include in coding docs
2015-02-19 07:24:46 +11:00
Nyall Dawson
854c0b8bab
Allow use of masks for unit test control images
...
Masks set which pixels in the control image should be tested and
an optional tolerance for each pixel. This is done via the colors
in the mask image - white pixels are ignored, black must be an
exact match, and gray levels represent the maximum color component
deviation for that pixel.
This should replace the fragile anomaly images, in that a single
control image with a suitable mask will not be susceptible to
antialiasing differences, etc.
A new script (scripts/generate_test_mask_image.py) is included which
either creates a new mask or modifies an existing mask to handle
an acceptable rendered image.
Ultimately, masking along with multi render checks for specific
platform differences should be flexible enough to meet our needs.
2015-02-19 07:23:57 +11:00
Juergen E. Fischer
bf56457a71
postgres provider: also use fieldExpression used to retrieve values in
...
minimumValue/maximumValue/uniqueValues
2015-02-18 18:32:19 +01:00
Juergen E. Fischer
4321c0960b
server: keep NULL values on featureinfo
2015-02-18 18:32:18 +01:00
Larry Shaffer
9a75c9e113
Add C++11 -Wno-deprecated-register only to clang versions with support
2015-02-18 10:28:33 -07:00
Juergen E. Fischer
39d37650ca
defer readMapLayer signal for layers with joins to let editor widgets pickup joined fields
2015-02-18 14:55:37 +01:00
Nyall Dawson
342a0cbdfb
Add comments for every intentional case fall-through
...
Improves code maintainability/readability
2015-02-18 21:25:04 +11:00
Nyall Dawson
0df6dee839
Fix warning
2015-02-18 20:19:11 +11:00
Juergen E. Fischer
1e97b62cf9
coverity fixes
2015-02-18 09:25:16 +01:00
Juergen E. Fischer
fc22bf19b1
identation update
2015-02-18 08:37:00 +01:00
Jürgen Fischer
1f0f39b4e5
Merge pull request #1909 from nirvn/memorylayer_uid_fix
...
[memory layer] improve data source uid to be unique across different sessions
2015-02-18 08:24:13 +01:00
Juergen E. Fischer
b6dd1e4119
fix string truncation with spatialite and memory layers (followup 065d190d)
2015-02-18 08:18:45 +01:00
Martin Dobias
d8083b96ef
Fix #12139 - added features saved in reversed order
2015-02-18 13:59:39 +07:00
Nyall Dawson
8ee8fc54d9
Avoid some unnecessary dynamic_casts in QgsProject
...
...fixes Coverity warning
2015-02-18 17:35:47 +11:00
Nyall Dawson
b0657b0fbc
Fix unchecked return values
2015-02-18 17:35:47 +11:00
Nyall Dawson
d4f509f7a2
Avoid some mixing enum types warnings
2015-02-18 17:35:47 +11:00
Nyall Dawson
7c4de560a6
Avoid null dereference
2015-02-18 17:35:47 +11:00
Nyall Dawson
e952fe8437
Fix some uncaught transform exceptions
2015-02-18 17:35:47 +11:00
Nyall Dawson
05c07f2bf7
Fix wfs features not adding to spatial index
2015-02-18 17:35:47 +11:00
Nyall Dawson
3c71498c3e
Add some missing /TransferThis/ to sip bindings for QObject parents
2015-02-18 17:35:47 +11:00
Martin Dobias
f301cb8001
Fix #11785 - WFS failed to determine geometry column
2015-02-18 12:14:03 +07:00
nirvn
b1bc3cd77b
[memory layer] improve data source uid to be unique across different sessions
2015-02-18 08:42:37 +07:00
Sandro Mani
69c58e9eec
Consistently set parent on composer child dialogs
2015-02-18 10:49:38 +11:00
Sandro Mani
a0e2fe1f99
Also handle WhiteToBlack case in QgsSingleBandGrayRenderer::legendSymbologyItems
2015-02-18 10:24:33 +11:00
Salvatore Larosa
f6a1b7e202
[pyqgis-console] fix missing import in compile apis script
2015-02-17 23:43:02 +01:00
Salvatore Larosa
4061173609
[pyqgis-console] prepared api file update
2015-02-17 23:43:02 +01:00
Juergen E. Fischer
1c3472ab2b
fix freebsd build ( fixes #12105 )
2015-02-17 22:40:30 +01:00
Juergen E. Fischer
b087853148
identify results: consider plain/text wms response and gml attributes as utf-8
2015-02-17 22:25:00 +01:00
Juergen E. Fischer
e748281667
processing: add uuid parameter to memory: outputs (followup f64730e)
2015-02-17 21:41:26 +01:00
Nyall Dawson
58a68b605f
Sync mersenne-twister with upstream
...
Includes fixes for out-of-bounds read and incorrect generation
of numbers
2015-02-18 07:18:34 +11:00
Juergen E. Fischer
e2dd504377
processing: fix unused variable error
2015-02-17 21:02:40 +01:00
alexbruy
1b0fb48012
Merge pull request #1904 from gioman/fix_ogr2ogr_clip
...
[processing] ogr clip by polygon: clip polygon layer name must be declared to avoid issues with postgis and spatialite layers
2015-02-17 20:21:41 +02:00
Juergen E. Fischer
da0822c588
server: add charset utf-8 to content type of responses in text/ format
2015-02-17 18:27:38 +01:00
Juergen E. Fischer
0954a20373
server: also load layers referenced in value relations (followup ceceebdf9)
2015-02-17 18:26:20 +01:00
Martin Dobias
70a0a6e3af
Fix #12151 - fix cached composer map image when zoomed in a lot
...
The map was being rendered with wrong parameters when width or height
exceeded 5000 pixels.
2015-02-17 20:38:54 +07:00
Matthias Kuhn
b3a4acedfd
Merge pull request #1893 from rutsky/patch-2
...
add missing dot at the end of sentence
2015-02-17 14:25:04 +01:00
Juergen E. Fischer
f64730e8d1
workaround to create unique memory layer data sources ( fixes #12206 )
2015-02-17 14:07:13 +01:00
Martin Dobias
255cbd2c2a
Fix #11965 - improve performance of selectedFeatures()
...
The slowness of merge / split features tools was caused by the change in the logic
in selectedFeatures(): instead of fetching individual features one by one by ID,
the whole layer is traversed. Such approach makes sense when many features are selected,
but with few features there is considerable delay when dealing with big layers.
The implementation is not ideal, but for some common cases the performance is much better.
Merging of features now does not request selected features when not necessary.
When rendering, avoid using layer's extent() method that may force expensive
calculation of layer's extent.
2015-02-17 19:53:19 +07:00
Martin Dobias
ffd7f8a85d
Fix #12050 - possible crash on launch
...
Do not allow infinite recursion setExtent() -> setCenter() -> setExtent()
2015-02-17 18:19:19 +07:00
Martin Dobias
8eab61d9a0
Fix #12215 - missing icons in fTools and GdalTools
2015-02-17 17:24:57 +07:00
Nyall Dawson
ca86763690
Avoid large parameter passed by value
2015-02-17 17:05:16 +11:00
Nyall Dawson
cf4c7c6027
Avoid uninitialized member in legend renderer
2015-02-17 17:05:16 +11:00
Nyall Dawson
dc77d5812c
Hide logically dead code
2015-02-17 17:05:16 +11:00
Juergen E. Fischer
ceceebdf9b
server getfeatureinfo: delegate value representation to editor widgets ( fixes #12210 )
2015-02-16 21:14:36 +01:00
Juergen E. Fischer
6e773504aa
dxf export: fix encoding for japanese (take II; followup ce0fd7a)
2015-02-16 18:02:29 +01:00
Matthias Kuhn
96732bb91c
Merge pull request #1901 from m-kuhn/fixrendering
...
Fix rendering position in incremental rendering
2015-02-16 12:49:29 +01:00
Juergen E. Fischer
b3bd32ff96
server getfeatureinfo: restore quoting in plain/text format
2015-02-16 11:10:25 +01:00