32551 Commits

Author SHA1 Message Date
Even Rouault
328eaade33 [OGR provider] Use QgsSQLiteExpressionCompiler for SQLite and GPKG drivers 2016-04-26 11:46:20 +02:00
Even Rouault
5ed41e38da Move QgsSpatiaLiteExpressionCompiler class to core as QgsSQLiteExpressionCompiler so it can be reused by the OGR provider as well 2016-04-26 11:46:19 +02:00
Nyall Dawson
eed4ee6411 Fix crash in relation reference widget (fix #14732) 2016-04-26 19:31:35 +10:00
volaya
f01c57af6a Merge pull request #3032 from NaturalGIS/processing_remove_wrong_raster_clip_parameter
remove wrong gdal_translate parameter
2016-04-26 08:38:30 +02:00
volaya
ff85bfe461 [processing] print full stacktrace to log when a provider cannot be loaded 2016-04-26 08:35:32 +02:00
volaya
2535c0a9c1 [processing] better expression context building 2016-04-26 08:33:57 +02:00
Larry Shaffer
b3a0d9d146 Revert "[processing] Extra check to ensure GRASS folder setting not already None"
This reverts commit 36a820e51657bf0c3069e1fd287d6b452a3cd1e0.
2016-04-25 21:27:45 -06:00
Larry Shaffer
36a820e516 [processing] Extra check to ensure GRASS folder setting not already None
- Update to 5131e93; not sure why ProcessingConfig.getSetting returning
  None sets folder = None instead of '' (on the previous line on Win)
2016-04-25 18:52:44 -06:00
Even Rouault
847e41619c test_provider_ogr_gpkg.py: fix crash by keeping a reference to the feature object so that the geometry object isn't invalid 2016-04-26 00:32:01 +02:00
Even Rouault
b4698ada73 test_provider_ogr_gpkg.py: compare geometry by wkb, and use @unittest.expectedFailure decorator 2016-04-25 23:33:27 +02:00
Giovanni Manghi
a4b2cde5bb more GDAL a_nodata fixes, for sake of uniformity 2016-04-25 22:09:42 +01:00
Giovanni Manghi
ba2601ff45 remove wrong gdal_translate parameter 2016-04-25 21:41:43 +01:00
Giovanni Manghi
fb5921250b set nodata parameter as optional in GDAL clip by extent 2016-04-25 21:22:27 +01:00
Nyall Dawson
4c029975b8 Revert "Fix label map unit scale range for font size and buffer"
This reverts commit 72714e6f5edb41aca84e361a46ffc4fd6d4523d5.
2016-04-26 06:15:29 +10:00
Even Rouault
aa2014de5d Fix crash in testqgsogrutils with QT5 where QTextCodec::codecForName( "System" ) returns null 2016-04-25 20:20:25 +02:00
Hugo Mercier
181c0c4e12 Minor fixes in intersection removal for the reshape tool 2016-04-25 17:43:57 +02:00
arnaud.morvan@camptocamp.com
44cccfc0c6 Avoid intersections in reshape tool 2016-04-25 17:30:59 +02:00
Even Rouault
8e7691a036 [OGR provider] Expose OGR FID as first attribute when it is meaningful
Useful for GPKG and other database based drivers

- For OGR drivers that have GetFIDColumn() != '', expose it as a QGIS
  field.
- When creating features, use the value potentially provided in this
  first field, as the feature id to force to OGR. Disallow changing it
  in changeAttributeValues()
2016-04-25 17:05:55 +02:00
Even Rouault
0c62441927 [BUGFIX] [OGR provider] Free OGR feature in changeAttributeValues() to avoid memory leak 2016-04-25 16:56:14 +02:00
Juergen E. Fischer
b758a8c1b4 osgeo4w: add qt plugin directories to browser 2016-04-25 16:26:37 +02:00
Juergen E. Fischer
aca62153c2 run 2to3 only with Qt5 2016-04-25 15:58:40 +02:00
Nyall Dawson
72714e6f5e Fix label map unit scale range for font size and buffer
Refs #14698, but other label size parameters are still
ignoring scale ranges
2016-04-25 22:49:32 +10:00
volaya
e9a3089670 [processing] more complete scope for expressions in outputs 2016-04-25 14:21:16 +02:00
volaya
7805c64208 [processing] added variables to scope when inputing value of a ParameterNumber 2016-04-25 14:21:15 +02:00
volaya
e55b280fa9 [processing] minor ui fixes in input panels 2016-04-25 14:21:14 +02:00
volaya
ac0bff32bf [processing] added support for expressions in some input params and outputs 2016-04-25 14:21:13 +02:00
Nyall Dawson
3322bcb2b3 Fix map unit scale parameters were not always saved for labeling
Refs #14698 - all settings are now saved but the size range in mm
is not yet respected during rendering
2016-04-25 21:46:13 +10:00
Juergen E. Fischer
a7c3861c16 fix leading comment 2016-04-25 09:32:19 +02:00
Juergen E. Fischer
b3bf4a11ac dxf export:
* output 3D geometries
* more adaptions to labeling changes
2016-04-25 01:49:53 +02:00
Juergen E. Fischer
2bd20de9c3 fix warnings 2016-04-25 01:17:17 +02:00
Werner Macho
24b259af28 Merge pull request #3027 from Cracert/trans2
Add Polish translators
2016-04-24 22:26:25 +02:00
Robert Szczepanek
ee5548b27a Add Polish translators 2016-04-24 22:15:29 +02:00
Richard Duivenvoorde
0cd5f6afce [NEEDS-DOCS] test, please ignore 2016-04-24 16:45:20 +02:00
Matthias Kuhn
d9ee8758b3 Blacklist broken tests 2016-04-23 21:29:55 +02:00
Matthias Kuhn
8e9641b8b6 Update blacklist 2016-04-23 21:09:21 +02:00
Matthias Kuhn
da0682d730 Add difference image 2016-04-23 21:09:21 +02:00
Matthias Kuhn
adf42dab54 Python3 compat fix for composerhtml test 2016-04-23 21:09:20 +02:00
Matthias Kuhn
c0a2be775e Enable QtWebKit with Qt5 tests 2016-04-23 21:09:20 +02:00
Matthias Kuhn
99ab6e3a9d Disable internal yaml 2016-04-23 21:09:20 +02:00
Even Rouault
1ba2bc0fa9 [OGR provider] Report curve geometry types. Do geometry type conversions when needed on feature creation/modification 2016-04-23 19:36:17 +02:00
Even Rouault
6c21b1c97c QgsVectorFileWriter::initMetaData(): add layer creation options for GPKG 2016-04-23 19:36:17 +02:00
Even Rouault
3ba86d48a9 Add a 'Layer / Create Layer / Create GeoPackage layer' menu item 2016-04-23 19:36:16 +02:00
Matthias Kuhn
caab3b3db5 Add dependency of port-plugin-xxx on staged-xxx 2016-04-23 16:38:05 +02:00
Nyall Dawson
fdd68963c7 [postgres] Improved handling of DOMAIN type fields
- show correct domain type as field type name
- correctly determine length and precision of domain types
- expose bpchar field type as 'character' to users, as postgres only
uses 'bpchar' internally and refers to bpchar as character in the
front end
2016-04-22 17:37:51 +10:00
Nyall Dawson
647f322146 Consolidate all qvariant sort methods to use qgsVariantLessThan,
make sure qgsVariantLessThan incorporates all functionality from
other duplicate implementations, and add tests

(fixes #14671)
2016-04-22 17:20:43 +10:00
nirvn
7290e8cac1 properly save/restore font marker outline join style 2016-04-22 17:18:45 +10:00
Alessandro Pasotti
f045492ed5 [bugfix] offline editing converting offline twice
Fixes #10537: Converting offline twice within the same
instance causing unusable offline state.

The problem was due to spatialite connection not being
invalidated.  When the new offline layer is re-created
the provider connection doesn't pick the latest commits.

Funded by Boundless
2016-04-22 00:48:46 -06:00
Nyall Dawson
3a89da0a4e Merge pull request #3017 from nirvn/font_marker_outline
[FEATURE] add outline settings to font markers
2016-04-22 12:42:14 +10:00
nirvn
9735c13e33 [FEATURE] add outline settings to font markers 2016-04-22 09:09:00 +07:00
Nyall Dawson
90613ca5d3 One more xenial test mask update 2016-04-22 07:07:08 +10:00