32699 Commits

Author SHA1 Message Date
Alexander Bruy
d2b21891d4 [processing] correctly set default value in modeler algorithms (fix #12767) 2016-05-23 17:42:54 +03:00
Nyall Dawson
6ef22eec6e Only show 'case sensitive' checkbox for string fields 2016-05-24 00:26:15 +10:00
Nyall Dawson
1c4811fa12 Add Is Not Null and Is Not Between type search/filters 2016-05-24 00:26:15 +10:00
Nyall Dawson
383fc055ba Don't automatically turn column filter to extended filter
Now fields using text edit widgets will keep the column filter
as the entered text.

Additionally, the extended filter has been improved to always
take the initial filter from the current filter, even if it's
not an extended filter.

(fix #12422)
2016-05-24 00:26:15 +10:00
Nyall Dawson
e00ea61be6 Add missing docs 2016-05-24 00:26:15 +10:00
Nyall Dawson
02c0174d41 Add a "Between" type search/filter in filter form mode
When Between searches are selected, two search widget wrappers
will be created to allow entry of the minimum/maximum allowed
values.
2016-05-24 00:26:15 +10:00
Nyall Dawson
026e352cd9 [FEATURE] Add a search widget wrapper for datetime widgets 2016-05-24 00:26:15 +10:00
Nyall Dawson
6d868598f5 Add an interderminant "empty" state for QgsDateTimeEdit 2016-05-24 00:26:14 +10:00
Nyall Dawson
1e778393c6 Switch Ctrl+F shortcut to switch to filter mode 2016-05-24 00:26:14 +10:00
Nyall Dawson
195b4dee5a [FEATURE] Add search widget wrapper for check box widget 2016-05-24 00:26:14 +10:00
Nyall Dawson
ca5c7e2cd4 [FEATURE] Form based select/filter in attribute table
This commit adds a new mode to the attribute table dialog for searching
and filtering features. When activated (using a button on the toolbar
or by pressng CTRL+F), the dialog will switch to form view and all
widgets are replaced with their search widget wrapper variant.

Alongside each widget is a tool button with options for controlling
the search/filter behaviour for that field, eg "equal to", "not equal
to", "is null", "greater than", etc.., with the options presented
matching themselves to the corresponding field and widget type.

New buttons appear at the bottom of the form for either selecting
matching features (with options for add to selection/remove from
selection/select within current selection) or filtering features
in the table (with options for adding features to a current filter
or further restricting a current filter).

Sponsored by SIGE
2016-05-24 00:26:14 +10:00
Matthias Kuhn
3fcd1fd6a9 Don't crash when trying to sync raster layer for offline editing
Fix #14848
2016-05-23 14:56:33 +02:00
Alexander Bruy
2f5c3a570a [processing] fix expressions handling in ParameterString (fix #14834)
Add initial set of tests for ParameterString
2016-05-23 14:28:10 +03:00
volaya
9074b14a74 [processing] fix to avoid interrupted system call exceptions in mac 2016-05-23 13:25:20 +02:00
Matthias Kuhn
f0527e498d [build] Allow using ninja generator on non-win os'es 2016-05-23 12:42:36 +02:00
Nathan Woodrow
b028c09e82 [build] Add better support for Ninja build system 2016-05-23 12:42:36 +02:00
Alexander Bruy
6207412bf7 [processing] restore CreateConstantRaster algorithm (fix #14860) 2016-05-23 12:41:45 +03:00
Juergen E. Fischer
3809da60fd better fix for 61693b8 2016-05-23 10:45:07 +02:00
Juergen E. Fischer
61693b8d3a [MSVC] add include for M_PI_2 2016-05-23 10:19:14 +02:00
ninsbl
75c76f51f1 [processing] Don't round grass7 extent and resolution to integer
fix #14582
See: https://hub.qgis.org/issues/14582

The commit removes the a-flag when the grass region for raster analysis is set. The a-flag causes in some cases unwanted rounding of raster extend / resolution, and should not be set hardcoded in processing. It is usually used in combination with the "res" option.
For aligning the pixels of the GRASS region to a specific raster, the align option should be used (and not the a-flag). See: https://grass.osgeo.org/grass70/manuals/g.region.html
GRASS 6.4 algs do not use the a-flag either, which explains why this bug appears only for GRASS 7.
2016-05-23 08:49:29 +02:00
Nyall Dawson
726a013222 Flag old composer table classes as deprecated 2016-05-23 14:52:53 +10:00
Nyall Dawson
eb3a34cc92 Fix QgsComposerAttributeTableV2 setting displayed fields under qt5
Also don't run QgsComposerAttributeTable test when disable
deprecated flag is set.
2016-05-23 14:52:46 +10:00
Nyall Dawson
008310d91d Fix warning 2016-05-23 13:09:36 +10:00
Nyall Dawson
fdb6488b97 [expressions] Support date + time = datetime calculations 2016-05-23 07:45:30 +10:00
Nyall Dawson
4ce16e1e31 Fix distorted date time calendar popup 2016-05-23 07:45:24 +10:00
Matthias Kuhn
b18e33c880 [qt5 tests] Fix blacklist 2016-05-22 23:29:20 +02:00
Juergen E. Fischer
84121f2793 fix postgres provider message 2016-05-22 22:46:27 +02:00
Matthias Kuhn
87ac6eaf7b [qt5 tests] Unblacklist more tests 2016-05-22 22:04:52 +02:00
Bas Couwenberg
e888753577 Only require QTWEBKIT for Qt4 when WITH_QTWEBKIT is true. 2016-05-22 21:52:56 +02:00
Matthias Kuhn
50c7970ed4 Use unittest assertXXX methods 2016-05-22 21:52:55 +02:00
Matthias Kuhn
0e96ef3797 [travis] Fix ccache for Qt4 builds 2016-05-22 21:52:55 +02:00
Matthias Kuhn
bbe9664dba [travis] Run Qt5 tests with osgeo4travis in $PATH
This allows running the gdal processing tests and other subprocesses which have
been manually built like server applications.
2016-05-22 21:52:55 +02:00
Matthias Kuhn
dbb24e971e [processing tests] More tolerance in statistics test 2016-05-22 21:52:55 +02:00
Matthias Kuhn
ced7c27dcf [py3] Use __bool__ instead of __nonzero__ 2016-05-22 21:52:55 +02:00
Matthias Kuhn
7e113840cb [qt5 tests] Unblacklist tests 2016-05-22 21:52:55 +02:00
Matthias Kuhn
7f3526be71 [processing tests] Cleanup layer registry before every new test 2016-05-22 21:52:55 +02:00
Nathan
2aa002d986 Fix crash on style dock apply with no layer 2016-05-22 21:27:37 +10:00
Nathan
3ace8e62fd [Style dock] Add support for raster layers 2016-05-22 20:45:24 +10:00
Matthias Kuhn
13f053b7d5 Merge pull request #3084 from nyalldawson/single_click_ediit
Open editor in attribute table on single click
2016-05-22 09:36:01 +02:00
mhugent
b6923758bc Merge pull request #3087 from arnaud-morvan/maptooladdfeature_avoidintersections_nullgeometry
In tool add feature, reject null geometry due to intersection avoidance
2016-05-20 16:53:27 +02:00
arnaud.morvan@camptocamp.com
17fd3d8cb9 Fix in maptool add feature, reject null geometry due to intersection avoidance 2016-05-20 14:40:43 +02:00
Alessandro Pasotti
ff4532c3ac [server] Fix pep8 build error 2016-05-20 11:37:52 +02:00
Alessandro Pasotti
eef0486cd3 [server] Removed debug print from the test 2016-05-20 09:59:57 +02:00
Alessandro Pasotti
10e8807655 [server] Added regression test for #8656
Ref. commit b956874f02a9379
2016-05-20 09:57:17 +02:00
Juergen E. Fischer
5cfcf8468f translation string fixes 2016-05-20 09:23:57 +02:00
Nyall Dawson
8724feb74e Some symbol layer widget fixes:
- Fix broken shapeburst fill widget
- Tweak stretch behaviour of some widgets
2016-05-20 16:33:52 +10:00
Nyall Dawson
88db4f9ad3 Open editor in attribute table on single click 2016-05-20 13:26:36 +10:00
Nyall Dawson
0fcff9f2a0 Allow direct QVariant creation from some QGIS metatypes 2016-05-20 09:48:18 +10:00
Alessandro Pasotti
b956874f02 [server][bugfix] FILTER GetFeatureInfo working again
Fixes #8656
2016-05-19 22:20:56 +02:00
mhugent
bc1aa42f85 Merge pull request #3081 from mhugent/curve_segmentize_parameters
Curve segmentize parameters
2016-05-19 16:29:05 +02:00