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
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
Denis Rouzaud
6f5161a6f0
spelling fix
2017-02-06 11:48:47 +01:00
Mathieu Pellerin
d99faecf3e
[ui] make layer rendering collapsed by default ( #4108 )
2017-02-06 11:31:01 +07:00
Nyall Dawson
c1b5da4726
Clear cached map renders if dependent layer is removed
2017-02-06 11:35:46 +10:00
Nyall Dawson
aa392dc23a
Add method to retrieve dependent layers for map renderer cached images
2017-02-06 11:27:42 +10:00
Juergen E. Fischer
748acc6790
osgeo4w: packaging fixes
2017-02-06 01:30:59 +01:00
Nyall Dawson
737c92ddbb
Fix logically dead code identified by Coverity
2017-02-06 10:16:44 +10:00
Nyall Dawson
a80cca0fb3
Fix indentation
2017-02-06 09:28:15 +10:00
Nyall Dawson
48e5c09b89
Fix a lot of memory leaks when fetching provider libraries
2017-02-06 08:51:35 +10:00
Nyall Dawson
4f7d9cddfe
Merge pull request #4064 from jgrocha/delete-style-from-db-provider-postgis
...
Delete style from db provider postgis
2017-02-06 08:34:24 +10:00
Nyall Dawson
6ca2cc18ef
Fix label font size unit from 2.x projects incorrectly restored ( fix #16143 )
2017-02-06 08:32:32 +10:00
Jorge Gustavo Rocha
20eea32952
Replaced QLibrary * with more safer QScopedPointer
2017-02-05 22:03:13 +00:00
Jorge Gustavo Rocha
8b36ad5b90
Updated Qt connections to the new style qgis/QGIS-Enhancement-Proposals#77
...
Changed isDeleteStyleFromDBSupported to isDeleteStyleFromDbSupported
2017-02-05 19:35:47 +00:00
Nyall Dawson
c5546b0357
Allow conversion of QgsPropertyTransfomers to expressions (when possible)
2017-02-05 20:19:12 +10:00
Nyall Dawson
ac55f396dd
Fix reading project properties fails if any child element
...
has a tag named "properties"
2017-02-05 19:58:51 +10:00
Nyall Dawson
be9e93d671
Refactor internals of QgsPropertyOverrideButton
2017-02-05 15:16:48 +10:00
Nyall Dawson
54089ff710
Follow up 4a3871, fix broken data defined properties
...
(definitions are often accessed before a QgsSymboLayer/etc
is constructed)
2017-02-05 14:27:26 +10:00
Nyall Dawson
fa8189a53c
Tweak property definitions for size type properties
2017-02-05 14:27:14 +10:00
Juergen E. Fischer
2c65a66587
revert more of ab0345
2017-02-04 21:22:48 +01:00
Juergen E. Fischer
e20bbd515c
translation string fixes
2017-02-04 20:44:44 +01:00
Juergen E. Fischer
4a387130b5
fix initial crash on windows
2017-02-04 20:25:34 +01:00
Nyall Dawson
4f20979d39
Partially revert ab0345
2017-02-04 21:43:19 +10:00
Nyall Dawson
a0cb64520a
Merge pull request #4095 from nyalldawson/label_engine_layers
...
Use weak layer pointers in labeling engine
2017-02-04 15:03:20 +10:00
Nyall Dawson
11150dde3e
Add additional curvepolygon with compound curve to reference geometry tests
2017-02-04 14:57:29 +10:00
Nyall Dawson
ab03453136
[processing] Rename 'export/add geometry columns' alg + add tags for discoverability
2017-02-04 14:56:54 +10:00
rldhont
cb9314af67
Merge pull request #4100 from rldhont/bugfix_dbmanager_detect_query_layer
...
[BUGFIX][DB Manager] Detect query layer like providers do
2017-02-03 11:30:58 +01:00
matteo
74c65c8e74
[processing] qgis voronoi test
2017-02-03 11:28:09 +01:00
Nyall Dawson
7619cba438
Fix/avoid Coverity null pointer dereference warnings
2017-02-03 09:28:02 +10:00
Nyall Dawson
f84508a35d
Fix Coverity uninitialized member warnings
2017-02-03 07:11:12 +10:00
rldhont
2a77ba76f4
[BUGFIX][DB Manager] Detect query layer like providers do
...
In postgres provider, a query layer is detected as a table starting with `(` and ending with `)`.
2017-02-02 14:21:42 +01:00
Alexander Bruy
5939ae23e7
Merge pull request #4076 from volaya/remove_processing_providers
...
[FEATURE][processing] removed otb and lidartools providers
Tagged as feature to not forget mention this in changelog and docs
2017-02-02 10:56:56 +02:00
Alexander Bruy
95091d9342
Merge pull request #4062 from alexbruy/raster-provider
...
Use native QGIS raster API instead of GDAL API in zonal statistics
2017-02-02 10:54:03 +02:00
Denis Rouzaud
02b7a551d5
do not run spell check on Travis if no files were edited (only deleted)
2017-02-02 08:32:06 +01:00
Nyall Dawson
1d118e9671
Merge pull request #4016 from nyalldawson/template_error
...
Avoid startup error when project template folder does not exist
2017-02-02 16:46:03 +10:00
Denis Rouzaud
fbcf62499d
remove old designer folder
...
I guess that the intention is parlty solved by the custom widgets
2017-02-02 07:19:25 +01:00
Nyall Dawson
46404f73d9
Merge pull request #4081 from ghtmtt/rename_sql
...
[processing] rename execute sql output
2017-02-02 14:24:48 +10:00
Borys Jurgiel
c30eb9e084
Merge pull request #4097 from alexbruy/plugin-from-zip
...
[FEATURE] allow installing plugins from local ZIP packages
2017-02-01 18:11:38 +01:00
Alexander Bruy
afe85ca39e
[FEATURE] allow installing plugins from local ZIP packages
...
This may be useful for users who have plugin packages, so they
don't need to extract them manually.
2017-02-01 17:31:09 +02:00
Alessandro Pasotti
e6b38aff4f
Revert "Merge pull request #4087 from elpaso/resource-sharing-plugin"
...
This reverts commit db0fa9ff5b7421262304ce6fb5f6e832db1baa57, reversing
changes made to aaa8c4e492d135210cd989b5e3131384954badd1.
2017-02-01 15:17:17 +01:00