Nyall Dawson
f945123b56
Fix leak in QgsSymbolLegendNode
2017-02-08 09:24:15 +10:00
Nyall Dawson
39fa842c15
Fix leak of label engine when start called on single render job multiple times
2017-02-08 09:20:01 +10:00
Nyall Dawson
42ec4e65e1
Fix some leaks in geometry test suite
2017-02-08 07:30:17 +10:00
Nyall Dawson
91d2e4fa7b
Fix leak in QgsGeometry make valid
...
Also swap some GEOS methods to managed versions
2017-02-08 07:29:42 +10:00
Nyall Dawson
c80d84e9d6
Fix jump on uninitialized value
2017-02-08 07:29:26 +10:00
Nyall Dawson
c400326aad
Fix memory leak in geometry snapper
2017-02-08 07:16:40 +10:00
Nyall Dawson
cb1849ffa2
Fix leaks, multiple connects in QgsFileDownloader
2017-02-08 07:07:22 +10:00
Nyall Dawson
826a86752c
Fix large memory leak in vector file writer ( fix #16003 )
...
Every written geometry is being leaked... ouch!
2017-02-08 07:07:22 +10:00
Nyall Dawson
15dcb6fbc2
Fix expressions leaking internal data
2017-02-08 07:07:22 +10:00
Nyall Dawson
aad7c5eaaf
Fix leak in QgsCoordinateReferenceSystem
2017-02-08 07:07:22 +10:00
Nyall Dawson
2555d281d4
[composer] Fix use of uninitialized member (unlikely to occur outside of tests)
2017-02-08 07:07:22 +10:00
Larry Shaffer
4f7caa027f
Fix macOS bundling of server service libraries
2017-02-07 20:46:15 +00:00
Denis Rouzaud
835ffb0fb2
sipdiff also remove nullptr
2017-02-07 16:35:28 +01:00
Denis Rouzaud
02c2886585
sipdiff remove function definitions and Q_OBJECT/ENUM/PROPERTY
2017-02-07 16:26:36 +01:00
Alexander Bruy
44698d4576
[processing] don't quote geometry column name ( fix #16122 )
2017-02-07 16:57:07 +02:00
Alexander Bruy
bb4c8c065f
[processing] fix R syntax highlighting ( fix #16082 )
2017-02-07 16:47:24 +02:00
Alexander Bruy
4963548f4d
[processing] warn user about incorrect input data when calculating
...
mean coordinates using weight field (fix #9084 )
2017-02-07 16:29:27 +02:00
Alexander Bruy
9bd0d7a7bb
strip trailing slash from the help path if necessary ( fix #16156 )
2017-02-07 16:24:08 +02:00
Denis Rouzaud
0dc1257701
make sipdiff available on mac
2017-02-07 14:57:05 +01:00
Juergen E. Fischer
07aa5598f2
fix directory detection in check_spelling.sh when pre-commit hook is linked to prepare-commit.sh
2017-02-07 14:49:43 +01:00
Juergen E. Fischer
e5fd81ffc3
osgeo4w: fix running of python tests
2017-02-07 14:47:07 +01:00
Juergen E. Fischer
5b27d827aa
update scripts/update_ts.sh to use pylupdate5
2017-02-07 14:37:13 +01:00
Alexander Bruy
94a263995b
Merge branch 'processing-makevalid'
2017-02-07 12:52:42 +02:00
Alexander Bruy
d3003de61c
[processing] add tags and short help
2017-02-07 12:52:05 +02:00
Alexander Bruy
91fe2f93c4
explicitly convert geometry to multi
2017-02-07 12:52:04 +02:00
Alexander Bruy
7df04ac7e7
[processing] Fix Geometry algorithm always produces multi-geometry
...
Also added code to handle GeometryCollections
2017-02-07 12:52:04 +02:00
Alexander Bruy
5a5c1bf6e1
test for Processing "fix geometries" algorithm
2017-02-07 12:52:04 +02:00
Alexander Bruy
0293bc76a0
[FEATURE][processing] algorithm to fix invalid geometries using native
...
makeValid() implementation
2017-02-07 12:52:04 +02:00
Harrissou Sant-anna
11f083623c
UI update to the raster & vector save as dialogs ( #4083 )
2017-02-07 17:36:35 +07:00
nirvn
ae74220ecb
fix crash caused by use of std::sort and sort function to conforming to strict weak ordering
2017-02-07 16:40:02 +07:00
Denis Rouzaud
0d1b7dc71d
add missing QScintilla includes
2017-02-07 07:41:43 +01:00
Mathieu Pellerin
6f2045fd84
fix QgsProject::readNumEntry() validity check ( #4112 )
2017-02-07 11:32:23 +07:00
Nyall Dawson
0f5b3fd129
Merge pull request #4110 from nyalldawson/label_cache
...
[FEATURE] Cache labeling result to avoid unnecessary redraws when refreshing canvas
2017-02-07 14:29:32 +10:00
Nyall Dawson
61523c8124
Update label test masks following sort algorithm change
...
std::sort is returning a slightly different sort order when
label z order (or label cost) is equal
Given that the order in these cases is effectively arbitrary
I've updated the test masks to accept either order.
2017-02-07 14:08:02 +10:00
Nyall Dawson
57d6f6d068
Merge pull request #4107 from DelazJ/tips
...
Update Startup tips
2017-02-07 13:25:42 +10:00
Nyall Dawson
f3d53b8de9
Fix inefficient code
2017-02-07 13:03:18 +10:00
Nyall Dawson
a43abeced4
Fix failing test
2017-02-07 12:58:22 +10:00
Nyall Dawson
3ed6f5b72a
Replace deprecated qSort/qStableSort/qGreater/qLess with std:: algs
2017-02-07 12:47:00 +10:00
Nyall Dawson
8408777448
Replace deprecated qSwap with std::swap
2017-02-07 12:33:24 +10:00
Nyall Dawson
337dabea4e
Swap QSharedPointer to std::shared_ptr
2017-02-07 12:32:02 +10:00
Nyall Dawson
aed6c735a6
Swap QScopedPointer to std::unique_ptr
...
Why?
- no benefits to QScopedPointer over std::unique_ptr
- unlike QScopedPointer, std::unique_ptr has no overhead
over regular pointers
- using standard language features makes it more likely that
compilers can optimise this use and static analysers can
correctly handle code using unique_ptrs
- QScopedPointer has an (IMO) uncertain future (given that
Qt is dropping features which have become part of the c++
standard). Better to port now before wider use of QScopedPointer
in the codebase!
2017-02-07 12:08:57 +10:00
Nyall Dawson
a08137f101
Add unit tests for map renderer label caching
2017-02-07 11:24:30 +10:00
Nyall Dawson
9757116a26
Fix crash
2017-02-07 10:07:19 +10:00
Nyall Dawson
d0d9bab0a6
Don't cache labeling if blend modes are used
...
The flattening of the label results to an image blocks
blend modes applying correctly to underlying layers
2017-02-07 10:07:19 +10:00
Nyall Dawson
2b3805eea5
Reuse existing labeling results if cached labels were redrawn
2017-02-07 10:07:19 +10:00
Nyall Dawson
33eb4bc0c4
[FEATURE] Cache labeling result to avoid unnecessary redraws
...
when refreshing canvas
This change allows the labeling results to be cached to an image
following a map render. If the cached label result image can be
reused for the next render then it will be, avoiding the need
to redraw all layers participating in the labeling problem and
resolving the labeling solution.
Basically this means that canvas refreshes as a result of changes
to any NON-LABELED layer are much faster. (Changing a layer which
is part of the labeling solution still requires all labeled
layers to be completely redrawn)
2017-02-07 10:07:19 +10:00
Juergen E. Fischer
9475850f39
* update INSTALL
...
* osgeo4w: search qt5 first and use pyrcc5.bat
2017-02-07 00:58:56 +01:00
Harrissou Sant-anna
bfd18c4a6d
Update Startup tips
2017-02-07 00:03:47 +01:00
Denis Rouzaud
64748aaa89
compile custom widgets on Travis
2017-02-06 13:55:11 +01:00
Denis Rouzaud
d84725fce8
[custom widgets] add missing file widget
2017-02-06 13:30:53 +01:00