28160 Commits

Author SHA1 Message Date
Matthias Kuhn
9fc1b48bf3 Replace str() with unicode() and some PEP 8 2015-08-16 20:58:43 +02:00
Juergen E. Fischer
624f16cc2c indentation update 2015-08-16 11:56:27 +02:00
Juergen E. Fischer
831983f45d prepare-commit.sh: pass sip and py files to astyle.sh 2015-08-16 11:49:16 +02:00
Nyall Dawson
371e124f4d Followup 19a833c, fix data defined composition evaluation
Thanks to Coverity!
2015-08-16 16:29:10 +10:00
Nyall Dawson
6703fd32a5 Cosmetic coverity fixes 2015-08-16 16:15:36 +10:00
Nyall Dawson
42d5b9b2aa Python exceptions for invalid keys in QgsFields methods (fix #13221) 2015-08-16 16:08:04 +10:00
Nyall Dawson
e800419c9d Fix edit button always edits first virtual field (fix #13214) 2015-08-16 16:08:04 +10:00
Matthias Kuhn
abf2398880 Rule based renderer: empty rule matches all
Fix #13218
2015-08-15 09:26:50 +02:00
Nyall Dawson
67a7d1397f Fix doxygen warning 2015-08-15 08:25:43 +10:00
Nyall Dawson
7f7c1a0084 [pal] Make only draw labels which fit in polygon work for perimeter
labeling position
2015-08-14 20:33:04 +10:00
Nyall Dawson
9f10dbebb4 Revert 3fdef5e
Was causing too many issues for the small perfomance gain it may
have gained
2015-08-14 20:33:04 +10:00
Nyall Dawson
fec5d5ef7d [pal] Catch GEOS exceptions 2015-08-14 20:33:04 +10:00
Denis Rouzaud
480a0f17c3 Don't send expressions with special fields to provider 2015-08-14 11:39:27 +02:00
Juergen E. Fischer
fee5da9071 fix typos 2015-08-13 22:52:01 +02:00
Juergen E. Fischer
4cf3fcc3c1 move qgis.server import to QgsPythonUtilsImpl::initServerPython 2015-08-13 17:57:18 +02:00
Juergen E. Fischer
ac89dc0e73 * update QgsSymbolV2 sip bindings
* fix a crash when setRotationField (now deprecated) is used on a fresh
  QgsCategorizedSymbolRendererV2
2015-08-13 17:48:56 +02:00
Nathan Woodrow
40500d6080 Merge pull request #2243 from michaelkirk/feature/crs_help
Fix #13213 - Feature/crs help
2015-08-13 10:46:37 +10:00
Michael Kirk
446410ee78 update CRS docs: find button replaced by filter 2015-08-12 17:33:26 -07:00
Michael Kirk
424efcce8a context help for projection selector 2015-08-12 17:33:26 -07:00
Michael Kirk
ce8cef8b80 tab is called "identify layers" 2015-08-12 17:33:25 -07:00
Michael Kirk
7aa5622548 reformatting project properties help, no copy changes 2015-08-12 16:47:26 -07:00
Nyall Dawson
e9ff061f05 Cleanup composer label atlas handling 2015-08-13 08:35:47 +10:00
Nyall Dawson
19a833c23d Clean atlas interface - avoid storage of pointer to atlas feature 2015-08-13 08:35:43 +10:00
Matthias Kuhn
d32f3340ae Fix typo 2015-08-12 21:38:14 +02:00
Nyall Dawson
6415a75b51 Cleanup travis scripts 2015-08-12 23:39:02 +10:00
Nyall Dawson
6da3492692 Disable PyQgsServer test on OSX Travis
Test fails with
Fatal Python error: PyThreadState_Get: no current thread
CMake Error at PyQgsServer.cmake:22 (MESSAGE):
  Test failed: Child aborted
2015-08-12 23:38:52 +10:00
Nyall Dawson
a89550ac48 Update label server test mask images for OSX 2015-08-12 23:38:42 +10:00
Nyall Dawson
baef365720 Add additional dependencies for OSX build 2015-08-12 23:36:29 +10:00
Nyall Dawson
61f60e408f Fix some warnings on OSX build 2015-08-12 23:36:18 +10:00
Nyall Dawson
a477b3a9a2 Enable multi-os builds for travis 2015-08-12 23:36:07 +10:00
Matthias Kuhn
d8d9ba1f3f Fix indentation, followup 8ab69e9 2015-08-12 15:12:53 +02:00
Matthias Kuhn
8ab69e9386 with edit(layer) raises an error if the commit fails 2015-08-12 14:55:36 +02:00
Matthias Kuhn
f64783493e PyQgis: Move NULL and edit to qgis.core 2015-08-12 13:50:06 +02:00
Matthias Kuhn
35fc2902f3 [FEATURE] Add with edit(layer): to python
Example:

    with edit(layer):
        f=layer.getFeatures().next()
        f[0]=5
        layer.updateFeature(f)

This will automatically call commitChanges() in the end.
If any exception occurs, it will rollBack() all the changes.
2015-08-12 13:41:23 +02:00
Juergen E. Fischer
45d4dbe144 spatialite provider: improve filterFids() 2015-08-11 22:34:36 +02:00
Nyall Dawson
3898d840bd Custom properties for QgsComposition and QgsComposerObject 2015-08-11 20:32:14 +10:00
Nyall Dawson
2ef2414c9a [composer] Ensure geographic longitude values are wrapped in decimal
grid annotations
2015-08-10 21:52:06 +10:00
Nyall Dawson
cd7592df60 Fix memory leaks in geometry expression functions 2015-08-10 11:25:19 +10:00
Nyall Dawson
1a91ae8fd1 If user clicks cancel while browsing for file then don't clear
the existing filename in the vector open file dialog
2015-08-10 10:32:14 +10:00
William Kyngesburye
b42616210a find bundled GRASS on OS X 2015-08-08 15:17:49 -05:00
Nathan Woodrow
9acc475197 Move python console toolbar to top. More uniform with rest of UI 2015-08-08 23:09:20 +10:00
Nyall Dawson
e991b64861 [pal] Followup 3fdef5e, restore previous behaviour for labels with
length greater than line length
2015-08-08 20:14:47 +10:00
Nyall Dawson
d8da4b8037 Followup 71e7aab, add unit tests 2015-08-08 15:54:19 +10:00
Nyall Dawson
ce0eb2b69e Cleanup QgsVectorLayer tests 2015-08-08 15:54:15 +10:00
Alessandro Pasotti
dabe7d36ae Merge pull request #2239 from elpaso/move-conversions-sip
Moved QMultiMap<int, TYPE2*> to conversion.sip
2015-08-07 16:30:02 +02:00
Juergen E. Fischer
71e7aabbde vector layer: ignore non-existing fields in min/max/uniqueValues (fixes #13194) 2015-08-07 16:05:52 +02:00
elpaso
e48b6e8910 Moved QMultiMap<int, TYPE2*> to conversion.sip 2015-08-07 09:26:14 +02:00
Matthias Kuhn
6bbc9d5753 Don't strip "-prefixes from QgsDataDefined fields
followup 1e6483c
The field should not be provided with an expression format but plain
2015-08-07 08:02:14 +02:00
Nyall Dawson
ae0a532c9e Avoid use of QgsDataDefined::expressionOrField for rotationField values
Maintains behaviour of < 2.10 API
2015-08-07 09:15:26 +10:00
Nyall Dawson
933069dcb7 Improve point rotation tool support for renderers to allow use
with rule based renderer

fixes #12917, #12123 and refs #5001
2015-08-07 09:06:47 +10:00