33816 Commits

Author SHA1 Message Date
Marco Hugentobler
93db165ae9 Api doc for parameter 2016-07-15 07:58:50 +02:00
Marco Hugentobler
4d1fbee7f0 Update sip binding 2016-07-14 17:06:22 +02:00
Marco Hugentobler
48da1de1a4 [FEATURE]: pan to current feature in attribute table 2016-07-14 14:51:15 +02:00
Nyall Dawson
b61641dc72 Fix crash in QgsGeometry::unaryUnion with empty geometries 2016-07-14 08:24:47 +10:00
Nyall Dawson
2db7fca7a6 [processing] Add tests for clip algorithm 2016-07-14 08:05:59 +10:00
Sandro Mani
d5869cf5d1 [Geometry snapper] Don't delete vertices if this would result in a degenerate geometry 2016-07-13 23:52:47 +02:00
Nyall Dawson
258c8999ef Merge pull request #3303 from nyalldawson/identify_url
Make links in identify results clickable
2016-07-14 07:17:01 +10:00
Nyall Dawson
7f2bdcf342 Update legend test masks, fix for PyQt5 2016-07-14 07:12:15 +10:00
Matthias Kuhn
c226e57a9b Followup 2675c4248 2016-07-13 14:21:05 +02:00
Matthias Kuhn
2675c4248b Don't warn for "System" codec not found
No need to reload a codec that just has not been found. And no reason to
warn the user because in the end we will return the system codec
obtained by a different method in any case.
2016-07-13 14:01:08 +02:00
Sandro Mani
cfc1a9db35 Merge pull request #3301 from Gustry/qscintilla
add qscintilla to cmakelists
2016-07-13 11:58:08 +02:00
Martin Dobias
76e55ce72e Improve the way how fake events are generated in CAD tools (#3302)
In my custom tool in python, the generated fake event received in cadCanvasMoveEvent()
was actually QMouseEvent instance instead of QgsMapMouseEvent, suggesting something
dodgy going on behind the scenes. The actual reason was that first argument was
QMouseEvent::Move instead of QEvent::MouseMove (not sure why the cast did not work though)

The new approach seems safer as the event goes through the ordinary event processing
2016-07-13 10:24:58 +02:00
Nyall Dawson
5a2031349f Fix use of : in label (violation of HIG) 2016-07-13 17:35:44 +10:00
Nyall Dawson
2f8c6f5207 [composer] Add a checkbox for legends to prevent automatic resizing
A new checkbox has been added to the legend settings to control
whether or not a legend should be automatically resized to fit
its contents.

If unchecked, then the legend will never resize and instead just
stick to whatever size the user has set. Any content which
doesn't fit the size is cropped out.

Refs #10556

On behalf of Faunalia, sponsored by ENEL
2016-07-13 17:35:44 +10:00
Nyall Dawson
4f31ab656e [composer] Fix setting legend content by map not resizing legend
When a legend was set to filter content by map, it wasn't
consistently being resized to fit the legend contents. This caused
issues for atlas exports where legends could grow but never
shrink.

Fix #14707

On behalf of Faunalia, sponsored by ENEL
2016-07-13 17:35:44 +10:00
Nyall Dawson
93f2eec711 [composer] Fix initial size of legend is wrong if symbol size in
map units is used (fix #11921)

On behalf of Faunalia, sponsored by ENEL
2016-07-13 17:35:44 +10:00
Nyall Dawson
05ced6797d Followups and fixes to identify results linking 2016-07-13 16:01:57 +10:00
volaya
19dbd66ff1 Merge pull request #3305 from nyalldawson/processing_get_features
[processing] Allow modification of feature request when using vector.features
2016-07-13 07:40:57 +02:00
Nyall Dawson
9e1ddcb54d [processing] Allow modification of feature request when using
vector.features

Allows for optimising the request through subsets of attributes
or no geometry fetching
2016-07-13 12:06:41 +10:00
Sandro Mani
0075a4bb16 [FEATURE] Make links in feature identify results clickable 2016-07-13 07:45:56 +10:00
Matthias Kuhn
f34c79c04b Use Q_FOREACH 2016-07-12 19:29:54 +02:00
Matthias Kuhn
e49661d7e0 [server] Fix crash in WMS server when... bad things happen
No idea what exactly the reason is, and it was only discovered by
countless hours of printf-debugging. So I'm just pushing the fix
for everyone else who might be affected.
2016-07-12 19:29:10 +02:00
Matthias Kuhn
ae3db0a1bf Fix single process build
A race condition triggered that sometimes the file
output/python/qgis/__init__.py was not created before a python uic
compiler started and therefore the required module could not be
imported.

This leads to errors like

[ 82%] Generating ui_dialogAbout.py
Traceback (most recent call last):
  File "../../../../../scripts/pyuic-wrapper.py", line 26, in <module>
    import qgis.PyQt.uic.pyuic
ImportError: No module named qgis.PyQt.uic.pyuic
python/plugins/GdalTools/tools/CMakeFiles/zzz-GdalTools-2-depend.dir/build.make:117:
recipe for target 'python/plugins/GdalTools/tools/ui_dialogAbout.py'
failed
make[2]: *** [python/plugins/GdalTools/tools/ui_dialogAbout.py] Error 1
CMakeFiles/Makefile2:5074: recipe for target
'python/plugins/GdalTools/tools/CMakeFiles/zzz-GdalTools-2-depend.dir/all'
failed
make[1]: ***
[python/plugins/GdalTools/tools/CMakeFiles/zzz-GdalTools-2-depend.dir/all]
Error 2
Makefile:160: recipe for target 'all' failed
make: *** [all] Error 2
2016-07-12 11:40:00 +02:00
Alessandro Pasotti
e59fda26e6 Merge pull request #3298 from elpaso/offline_editing_tests2
[offline editing] Added insert and update tests
2016-07-12 10:23:47 +02:00
Alessandro Pasotti
b5f02e3d25 [offline editing] Wait for the WFS server to stop 2016-07-12 09:27:43 +02:00
Alessandro Pasotti
b5c0bc9b83 [offline editing] Added insert and update tests 2016-07-12 09:27:43 +02:00
Nyall Dawson
2ccc7e1291 [oracle] Fix potential crash on exit 2016-07-12 16:09:32 +10:00
Nyall Dawson
aaa654fba9 Avoid some unnecessary composer legend updates 2016-07-12 15:40:24 +10:00
Etienne Trimaille
efb2be2a39 add qscintilla to cmakelists 2016-07-12 10:23:57 +07:00
Matthias Kuhn
63f9f718d3 [travis] Report compiler correctly for qt5: clang 2016-07-11 18:26:08 +02:00
Martin Dobias
c5d8cc7fbc Added missing & in setTitle in SIP 2016-07-11 12:46:17 +02:00
Matthias Kuhn
774a823983 [travis] Blacklist failing osx tests 2016-07-11 11:11:23 +02:00
Matthias Kuhn
858808107c [travis] Add GRASS_PREFIX7 to osx build 2016-07-11 11:11:22 +02:00
Matthias Kuhn
d06859a88d [travis] Modernize Mac OSX dependencies 2016-07-11 11:11:22 +02:00
Jürgen Fischer
c895ba3199 Merge pull request #3296 from nirvn/splashscreen_fix
[splashscreen] fix pixelated scaling
2016-07-11 08:29:00 +02:00
Juergen E. Fischer
2efe684d94 fix 39d6e79
(cherry picked from commit 2f9ed29d9a5ec7fa79c7f902f036a81c43b8a2da)
2016-07-11 08:18:00 +02:00
Nyall Dawson
7d822f01c7 Show tooltips for layer style dock labeling tabs 2016-07-11 15:14:45 +10:00
nirvn
de6320279a [splashscreen] fix pixelated scaling 2016-07-11 09:32:02 +07:00
Nyall Dawson
9c85f94a8b Merge pull request #3294 from nyalldawson/brief_test
Add a doxygen test to ensure all classes have a brief description
2016-07-11 11:03:58 +10:00
Nyall Dawson
d3582abbf6 [FEATURE] Mouse wheel over sliders in color dialog to change value by
increments
2016-07-11 10:27:16 +10:00
Nyall Dawson
b08dd47091 Add a doxygen test to ensure all classes have a brief description 2016-07-11 09:28:46 +10:00
Nyall Dawson
4145e337ab Add missing SIP bindings 2016-07-11 08:42:52 +10:00
Nyall Dawson
8828197a03 Fix minor Coverity issues 2016-07-11 08:42:50 +10:00
Nyall Dawson
b94fbc0485 [oracle] Fix minor Coverity issues 2016-07-11 08:07:32 +10:00
Matthias Kuhn
9a917c4b48 Create some properties on QgsProject 2016-07-10 22:14:49 +02:00
Juergen E. Fischer
3da19183dc release.pl: use 99 instead of 999 for premajor minor 2016-07-10 20:53:59 +02:00
Jürgen Fischer
0cff17f966 Merge pull request #3293 from timlinux/fix-osx-build
Fix build issue on OSX caused by minor version of 999
2016-07-10 20:52:08 +02:00
Tim Sutton
3a419c054b Fix build issue on OSX caused by minor version of 999 2016-07-10 19:58:19 +07:00
Juergen E. Fischer
2eee2e5c9c fix typos and debian/copyright 2016-07-10 14:20:07 +02:00
Juergen E. Fischer
daea10c126 support utf-8 encoded release names
(cherry picked from commit c9838ccea481c8ca87c4e1647099cfe78777e795)
2016-07-10 12:09:29 +02:00