36273 Commits

Author SHA1 Message Date
Harrissou Sant-anna
ee1abdc507 Replace flavour by flavor 2016-12-29 01:53:25 +01:00
Harrissou Sant-anna
8dca115b1c Replace prioritise by prioritize 2016-12-29 01:46:19 +01:00
Harrissou Sant-anna
69af2facde Replace more splitted by split 2016-12-29 01:46:19 +01:00
DelazJ
a56f928f71 Replace unicode by Unicode 2016-12-29 01:46:18 +01:00
DelazJ
c301369ebe Replace cellsize by cell size 2016-12-29 01:46:17 +01:00
DelazJ
d62c2c7f41 Some fixes of favourites --> favorites 2016-12-29 01:46:17 +01:00
Nyall Dawson
cfe42c2f8d Make sure QgsApplication members are initialized to nullptr
Just in case there's unintended dependancies between the
registries
2016-12-29 07:51:00 +10:00
Nyall Dawson
585d9dbff1 Fix tests 2016-12-28 17:43:22 +10:00
Nyall Dawson
9d4adc1c70 Remove some singletons by moving instances to QgsApplication
- QgsColorSchemeRegistry
- QgsDataItemProviderRegistry
- QgsGPSConnectionRegistry
- QgsMessageLog
- QgsPaintEffectRegistry
- QgsPluginLayerRegistry
- QgsRasterRendererRegistry
- QgsRendererRegistry
- QgsSvgCache
- QgsSymbolLayerRegistry
2016-12-28 16:59:03 +10:00
Nyall Dawson
4b1cf807ec Merge pull request #3909 from nyalldawson/select_in_edit_menu
Tweak edit/view menus
2016-12-28 16:11:25 +10:00
nirvn
97215cfae3 [ui] remove minimumSize on select button in select by exp. dialog 2016-12-28 11:36:01 +07:00
Mathieu Pellerin
efaf5ea926 [ui] select by form/expression harmonization and feature parity (#3912) 2016-12-28 11:16:55 +07:00
Larry Shaffer
95ff9a1c4c Update connection to new style for macOS Preferences fix 2016-12-27 21:06:12 -07:00
nirvn
d20579462c [ui] improve search widget ordering 2016-12-28 09:54:05 +07:00
Larry Shaffer
94dd1f4456 Fix macOS Preferences menu hijacking 2016-12-27 19:31:53 -07:00
Nyall Dawson
12a4a9c9bd Remove santa hat easter egg
It made a lot of stressed GIS people smile (and as a bonus
stressed out some unhappy grinches in the process!), but
there's nothing worse than a good easter egg which lives
on too long and gets tired.

RIP santa QGIS... bring on the next easter egg!
2016-12-28 11:21:48 +10:00
Nyall Dawson
4f73c28c5f [FEATURE] Hide Deselected Layers action
Allows you to quickly hide all deselected layers. This is very handy
when you have a large project and want to quickly hide all except
for a couple of layers
2016-12-28 10:50:05 +10:00
Nyall Dawson
c83426e12a [needs-docs] Move Show/Hide Layer actions to View menu
These logically belong in the view menu
2016-12-28 10:50:05 +10:00
Nyall Dawson
cbcad50438 [needs-docs] Move Select submenu from View menu to Edit menu
Selection tools are usually located within the edit menu directly
after the clipboard tools. View menu is usually populated with
actions which affect only the view, rather then editing the
document (project or layer) state.
2016-12-28 10:50:05 +10:00
Alexander Bruy
110ffe2756 Merge pull request #3907 from alexbruy/remove-gdaltools
[FEATURE] replace GDALTools plugin with Processing
2016-12-27 19:18:29 +02:00
nirvn
f3d618a6ed Add between/not between to numerical fields in select by form 2016-12-27 16:20:06 +07:00
nirvn
f5350c9ee6 [ui] Ctrl+F3 shortcut to open select features by expression 2016-12-27 16:08:54 +07:00
Harrissou Sant-anna
90f435d40c [ui] expression icon cleanups (#3908)
* Add expression icon to several buttons for consistency
* Replace mIconExpressionEditorOpen icon with mIconExpresssion
2016-12-27 15:22:50 +07:00
nirvn
407991ed35 [ui] rename the min/max widget group box title
Since there is no more loading involved through
the min/max widget, rename it to:
"Min /max values settings"
2016-12-27 14:45:48 +07:00
nirvn
578e9b8c49 Followup 932de2a: fix missing back icon for sub-panels 2016-12-27 13:56:05 +07:00
Nyall Dawson
51f491e81a Fix build 2016-12-27 14:13:55 +10:00
Nyall Dawson
bc98a326c0 [FEATURE] Add QgsVectorDataProvider::truncate for clearing layers
Adds a new method to QgsVectorDataProvider to truncate the layer.
The base implementation requires DeleteFeatures capability and
is not optimised. Providers can return the FastTruncate capability
and override the base implementation with a provider specific
optimised version. This is done in this commit for the Postgres
and Spatialite providers.
2016-12-27 13:55:42 +10:00
Nyall Dawson
b256075e30 Add a base class implemention for QgsVectorDataProvider::changeFeatures
Previously this method would only succeed for providers which
explicitly implement it. Now, providers which do not implement
changeFeatures but do support both ChangeAttributeValues
and ChangeGeometries capabilities will use a non-optimised
version of changeFeatures which calls changeAttributeValues
and changeGeometries in turn.

This makes QgsVectorDataProvider::changeFeatures easier to use
in scripts - instead of writing manual fallbacks for providers
which do not implement it you can instead safely call this
method regardless of the provider and it will succeed wherever
both the attributes/geometries can be changed.

Also add a provider unit test covering this.
2016-12-27 13:55:42 +10:00
Mathieu Pellerin
901cd290b1 Merge pull request #3887 from nirvn/raster_pseudocolor_move 2016-12-27 10:54:17 +07:00
nirvn
239b342a3f [FEATURE] Raster stretch toolbar actions support for pseudocolor renderer 2016-12-27 10:16:51 +07:00
nirvn
5ece689033 [FEATURE] Implement raster pseudocolor updated extent auto classification 2016-12-27 10:16:51 +07:00
nirvn
181f84b86f [raster] move pseudocolor renderer classification out of gui into core 2016-12-27 10:16:51 +07:00
Nyall Dawson
9c6883711b Enable edit tests for Postgres provider 2016-12-27 13:06:07 +10:00
Harrissou Sant-anna
8ccc5116b6 Remove mActionDiagramProperties.svg icon (#3910) 2016-12-27 09:36:41 +07:00
Nyall Dawson
792fcb5f9e Rename Select by Expression to Select Features by Expression
to match naming of other Select By... tools
2016-12-27 10:24:40 +10:00
Nyall Dawson
14f18bd020 Make Select by Form default instead of By Expression
Since it's more user-friendly for beginners
2016-12-27 10:24:11 +10:00
Nyall Dawson
1f37238de2 Show NULL preview text in expression editor
Makes creating/debugging expressions easier for users
2016-12-27 09:55:17 +10:00
Nyall Dawson
64f8b4dbad Fix incorrect aggregate values returned for empty sets (fix #16008)
Now empty sets return NULL values for invalid statistics
2016-12-27 09:55:17 +10:00
Juergen E. Fischer
6cb5c60c2d fix numeric translation 2016-12-26 23:36:16 +01:00
Juergen E. Fischer
8fb37aa666 indentation fixes 2016-12-26 23:36:16 +01:00
Juergen E. Fischer
e5a4426dce more spelling fixes 2016-12-26 23:36:16 +01:00
Nyall Dawson
c87aad263f Merge pull request #3880 from nyalldawson/oracle_raster
Remove orphaned oracle raster plugin
2016-12-27 08:21:03 +10:00
Nyall Dawson
77ae8a23b6 [FEATURE] Remove orphaned oracle raster plugin
Marked as feature to flag for documentation and changelog
2016-12-27 08:06:06 +10:00
Juergen E. Fischer
a3faa92339 spelling fixes 2016-12-26 22:19:45 +01:00
Even Rouault
1605a833c0 Contrast enhancement in 'updated extent': fix taking into account OTF mode 2016-12-26 19:40:01 +01:00
Alexander Bruy
f40e914b76 [FEATURE] replace GDALTools plugin with Processing
Tagged as feature to not forget mention in docs and changelog
2016-12-26 19:09:32 +02:00
Alexander Bruy
47e5a5fc19 [processing] include start point into service area convex hull 2016-12-26 16:39:58 +02:00
Nikolay Korotkiy
37edf76de0 [i18n] integrate esperanto translation 2016-12-26 01:17:42 +03:00
Juergen E. Fischer
567f9208d1 dxf import: fix text positions and orientation when importing DXF (fixes #16000) 2016-12-24 00:20:22 +01:00
Even Rouault
645f2c82ca Raster renderer GUI: fix switching between renderers, and potential infinite signal notifications.
Fixes https://github.com/qgis/QGIS/pull/3871#commitcomment-20280621, ie switching between
renderers in the raster layer properties dialog or in the style dock result in non optimal
parameters, so better switch to default parameters that would be the ones used when
adding a layer of the new renderer type to the canvas. This issue already existed in 2.18

Also fixes a potential infinite notification cycle when having both the style dock and
layer properties dialog opened, and applying changes in the layer properties dialog.
(related to https://github.com/qgis/QGIS/pull/3871).
2016-12-23 11:52:59 +01:00