31948 Commits

Author SHA1 Message Date
Matthias Kuhn
a438bda7b8 Followup ad8ee31: inverted usage of identifyable layer config 2016-03-30 14:21:17 +02:00
Matthias Kuhn
46162f2145 Remove expected failure from test 2016-03-30 13:47:38 +02:00
Nyall Dawson
9104704f59 [composer] Set base stylesheet of composer labels to match the
label font and margins when rendering as HTML.

This allows interactive choice of font, margins and colors and
avoids the need to manually set these with CSS within the
label HTML code.
2016-03-30 19:35:34 +11:00
Nyall Dawson
6526cf5a86 New QgsFontUtils::asCSS method for converting a QFont to a CSS
string representation (as close as possible)
2016-03-30 19:35:34 +11:00
Juergen E. Fischer
567b4be12b fix windows build 2016-03-30 08:59:41 +02:00
Juergen E. Fischer
c9438a4144 use wait cursor when zooming to layers and groups from layer tree 2016-03-30 08:41:14 +02:00
Juergen E. Fischer
1cc82af899 oracle provider: also try sdo_filter on queries 2016-03-30 08:41:14 +02:00
Juergen E. Fischer
d690d721c2 store and restore layer extents in projects 2016-03-30 08:41:14 +02:00
Nyall Dawson
402ee9d4cf Fix missing features when combining FilterExpression requests with
subsets of attributes and the filter expression requires fields
which are not included in the attribute subset

Note: I've only fixed the providers which implement the vector
provider conformance unit tests. Other providers (eg GRASS) should
also implement a similar fix.
2016-03-30 16:31:55 +11:00
Nyall Dawson
62c86f038e Highlight today's date in date time calendar popup 2016-03-30 10:14:31 +11:00
Nyall Dawson
692a17efd6 Merge pull request #2952 from rouault/fix_indentation
Fix indentation in src/app/qgisapp.cpp
2016-03-30 09:37:55 +11:00
Nyall Dawson
4ece916728 Fix layer extent was not invalidated for certain geometry editing
operations (eg move feature, add/delete/move vertex) (fix #14573)
2016-03-30 09:19:14 +11:00
Nyall Dawson
59d4b85c73 Avoid some unnecessary detachments in memory provider
Should speed up the provider slightly and also refs #14559 (I can
no longer reproduce that crash with this change)
2016-03-30 08:28:20 +11:00
Even Rouault
8c3155fbe8 Fix indentation in src/app/qgisapp.cpp
The indentation error was added in
d732d845f1
but went unnoticed in the Travis builds after merge in master.

However my working branch rebased on top of master detected the issue whereas
I never modified this file...
https://travis-ci.org/rouault/Quantum-GIS/jobs/119308048

There must be some shortcoming or subtelty in the working of scripts/verify-indentation.sh
2016-03-29 20:49:07 +02:00
Juergen E. Fischer
f7c28f60ef txt2doc run (followup 9b198f1) 2016-03-29 20:25:30 +02:00
Matthias Kuhn
755b5b69ce Merge pull request #2950 from rouault/INSTALL_note_about_msinttypes
INSTALL: mention not to install msinttypes package in OSGeo4W
2016-03-29 17:03:32 +02:00
Alexander Bruy
26df41f950 Merge pull request #2945 from sept-en/master
[processing] fixed UI bug with invalid button width in Modeler algorithm dialogs
2016-03-29 16:48:33 +03:00
Matthias Kuhn
944db6d2be Fix llvm apt repository 2016-03-29 15:41:20 +02:00
Even Rouault
9b198f1f1b INSTALL: mention not to install msinttypes package in OSGeo4W 2016-03-29 14:27:35 +02:00
Nathan Woodrow
956d54a7b9 Don't need to be told the sqlite db has been created
Will show up in browser right away
2016-03-29 22:10:05 +10:00
Nathan Woodrow
d732d845f1 Ignore remove legend entries dialog with shift help 2016-03-29 22:10:03 +10:00
Matthias Kuhn
631a7fd9d3 WMS provider with Qt5 sends STYLES=& instead of STYLES& 2016-03-29 12:53:43 +02:00
Matthias Kuhn
ad8ee31df8 Allow sorting identifyable and readonly layers by checkbox 2016-03-29 08:29:00 +02:00
Matthias Kuhn
b1aa20b50c Add QgsTableWidgetItem for easier sorting of checkbox tables 2016-03-29 08:29:00 +02:00
Matthias Kuhn
ae7b657da3 Add a new filter for WritableLayers to QgsMapLayerProxyModel 2016-03-29 08:27:53 +02:00
Matthias Kuhn
93e73ac66f Make readOnly mode of vector layers configurable 2016-03-29 08:27:53 +02:00
Matthias Kuhn
1c59eff12d [Feature] Save readonly mode of vector layers in project 2016-03-29 08:27:53 +02:00
Matthias Kuhn
d06c4f8f31 Make QgsMapLayerProxyModel::exceptedLayers a property 2016-03-29 08:27:53 +02:00
Matthias Kuhn
54219c571f Centralize handling of non-identifiable layers in QgsProject 2016-03-29 08:27:53 +02:00
Matthias Kuhn
fbc2a4ee7a Fix locale problems in PyQgsAppStartup test 2016-03-29 08:20:44 +02:00
Matthias Kuhn
0cc7ae0ff4 Inlcude PyQgsAppStartup test on Qt5 2016-03-29 08:20:43 +02:00
Matthias Kuhn
a129f190b8 Improve debug output of app startup test 2016-03-29 08:20:43 +02:00
Matthias Kuhn
e133b42896 Enable console with Python3 / PyQt5 2016-03-29 08:20:43 +02:00
Nyall Dawson
a4ed8e03e6 Fix field calc bar error when setting to field name with spaces 2016-03-29 11:24:54 +11:00
Nyall Dawson
53b493c6e6 Fix stats dock not working with field names with spaces (fix #14541) 2016-03-29 11:12:27 +11:00
Nyall Dawson
af8c1667df Fix QgsFieldExpressionWidget reporting field names with spaces as
invalid, add tests
2016-03-29 11:04:49 +11:00
Septen
bf83f4ebd0 [processing]Fixed UI bug with invalid button width. 2016-03-27 23:02:45 +04:00
Juergen E. Fischer
4e60dafb13 disable symbol visiblity flags for globe plugin on release builds on trusty
(cherry picked from commit 1bb98d6db932b0d1d7db0d34eb06fae144c523cf)
2016-03-27 20:02:26 +02:00
Matthias Kuhn
3eb7f39281 Geometry testing, reduce default precision 2016-03-27 13:31:15 +02:00
Matthias Kuhn
7709f3f001 Copyable output of testing environment variables 2016-03-27 13:31:14 +02:00
Anita Graser
b8d1fb6fc9 added buffer tests 2016-03-27 13:31:14 +02:00
Matthias Kuhn
e922ba37fb Merge pull request #2942 from rouault/missing_sqlite3_include_tests_analysis
Add missing SQLITE3_INCLUDE_DIR in tests/src/analysis/CMakeLists.txt
2016-03-27 11:00:27 +02:00
Matthias Kuhn
060019cbb4 Merge pull request #2947 from rouault/minmax_longlong
Make QgsVectorDataProvider::fillMinMaxCache() handle LongLong
2016-03-27 10:57:41 +02:00
Juergen E. Fischer
fbf4d675ca de-plenk more 2016-03-25 23:08:32 +01:00
Juergen E. Fischer
962726cf66 de-plenk exclamation marks 2016-03-25 22:50:50 +01:00
Juergen E. Fischer
e1d3dd5ff6 geometry checker: refine dialog (implement #14572) 2016-03-25 22:34:06 +01:00
Juergen E. Fischer
b1a4ef27da prepare-commit.sh: show progress 2016-03-25 20:29:18 +01:00
Even Rouault
6ac13988b1 Make QgsVectorDataProvider::fillMinMaxCache() handle LongLong
The code currently fallbacks to dealing with LongLong fields as
strings, which breaks the ProviderTestCase testMinValue() and
testMaxValue() tests, if we change the definition of the tests
of the memory provider to use a int8 field for the cnt field.

======================================================================
FAIL: testMaxValue (__main__.TestPyQgsMemoryProviderIndexed)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/even/qgis-git/Quantum-GIS.clean/tests/src/python/providertestbase.py", line 349, in testMaxValue
    self.assertEqual(self.provider.maximumValue(1), 400)
AssertionError: u'400' != 400

======================================================================
FAIL: testMinValue (__main__.TestPyQgsMemoryProviderIndexed)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/even/qgis-git/Quantum-GIS.clean/tests/src/python/providertestbase.py", line 345, in testMinValue
    self.assertEqual(self.provider.minimumValue(1), -200)
AssertionError: u'-200' != -200
2016-03-25 17:48:52 +01:00
Alexander Bruy
428ec00e5b fix typo 2016-03-25 16:21:06 +02:00
Alexander Bruy
619356ea1c [processing] add OPTIMIZE_SIZE option to gdalwarp (fix #5651) 2016-03-25 15:37:20 +02:00