27547 Commits

Author SHA1 Message Date
Nyall Dawson
e108febb5e Clean up diagram tests
- Consolidate tests to single file
- Don't use composition for testing
2015-06-18 21:03:42 +10:00
Martin Dobias
e646647713 Make QgsMapCanvas.snapToCurrentLayer() work again (fixes #12631)
The snapper was called with screen coords instead of map coords
(due to implicit conversion QPoint->QgsPoint)
2015-06-18 18:02:00 +08:00
Nyall Dawson
34cbbde218 [georef] Fix crash when closing georeferencer window while editing
GCP list item
2015-06-18 19:48:07 +10:00
Nyall Dawson
ca7848808e [georef] Fix blank PDF for generated PDF map (fix #4311) 2015-06-18 19:48:06 +10:00
Martin Dobias
0c5352fad6 Remove invalid/crashing QgsComposerHtml constructor (fixes #12009) 2015-06-18 16:30:50 +08:00
Matthias Kuhn
99c16bbb84 Set features valid before adding in QgsMapToolAddFeature
Fixes a bug where features have been duplicated instead of edited, especially
annoying with memory layers.

See
http://gis.stackexchange.com/questions/150326/problem-with-memory-storage-type-in-pyqgis-when-updating-with-auto-form
2015-06-18 09:47:33 +02:00
Martin Dobias
be031c451d Fix snapping test failing on 32-bit platforms (hopefully)
The discrepancy between the results seems to come from floating point
arithmetics (-mfpmath option in GCC) which defaults to different values:
- '387' for i386
- 'sse' for x86-64

The 387 coprocessor temporarily uses 80-bit precision
so the results of arithmetic operations may be a bit different
2015-06-18 15:35:06 +08:00
Juergen E. Fischer
0a643ce670 layer context menu: disable/enable 'Filter...' entry instead of leaving it out if layer is editable 2015-06-18 09:13:22 +02:00
Nathan Woodrow
012f322d96 Fix #11971 - Fix display of MS SQL layers with z and m values
Funded by TechnoglogyOne, Australia
2015-06-18 17:04:15 +10:00
Nyall Dawson
f7e312b75a Standardise padding for browser directory properties widget 2015-06-18 16:25:42 +10:00
Nyall Dawson
bfcc0cbf47 Add some spacing to new name dialog 2015-06-18 16:25:42 +10:00
Nyall Dawson
75b1309921 More test mask images 2015-06-18 16:25:42 +10:00
Nyall Dawson
075d6f2ad5 Handled malformed xml generated by Doxygen for QgsDocCoverage test 2015-06-18 16:25:42 +10:00
Nyall Dawson
6deb520ff1 Make raster blend modes tests more robust 2015-06-18 16:25:42 +10:00
Martin Dobias
40acaa051a Deprecate QgsRasterLayer::setDrawingStyle() (fixes #12635) 2015-06-18 12:47:45 +08:00
Martin Dobias
646b445bf7 Fix locking logic with X,Y locked and soft locks to angle (fixes #12940) 2015-06-18 11:54:36 +08:00
Martin Dobias
b81933ee56 Fixed fish and alcohol SVG files (fixes #12948)
Both SVGs had an extra path out of specified bounds which was getting
clipped out when rendering to canvas, but not in other places.
2015-06-18 11:14:38 +08:00
Nathan Woodrow
e1d2735f85 Merge pull request #2149 from slarosa/func_sel_first_item
[expression] autoselect first item in function list
2015-06-18 09:03:28 +10:00
Nyall Dawson
1bdb426115 [georef] Improve behaviour for selecting map and report filename 2015-06-18 08:41:06 +10:00
Nyall Dawson
c4f0d31fbb [georef] Correctly restore paper size when opening settings dialog 2015-06-18 08:40:30 +10:00
Nyall Dawson
1d6086c02e [composer] Add shape items to layout menu (fix #12982) 2015-06-18 08:10:51 +10:00
Nyall Dawson
4e663fe8f8 [georef] Save/restore window positions 2015-06-18 08:00:32 +10:00
Nyall Dawson
049436ef83 [georef] Modernise georeferencer UI
- Standardise capitalisation and formatting of strings
- Remove use of old style icons
- Use QgsDoubleSpinBox and QgsProjectionSelectionWidgets
- Rework dialogs for usability
2015-06-18 08:00:32 +10:00
Juergen E. Fischer
d3df4edaed oracle provider: reassign feature id after inserting new features (fixes #12690) 2015-06-17 17:13:28 +02:00
Salvatore Larosa
395d630486 [expression] autoselect first item in function list 2015-06-17 14:43:17 +02:00
Juergen E. Fischer
a7860422bc scripts/scandeps.pl: include cmake-curses-gui in dependencies as INSTALL mentions otherwise optional ccmake
[ci skip]
2015-06-17 12:31:25 +02:00
Nyall Dawson
b561c6bc0b More mask images for labeling tests 2015-06-17 19:26:22 +10:00
Matthias Kuhn
3dbe7f5e0c Decouple composer table tests 2015-06-17 09:29:30 +02:00
Matthias Kuhn
27fb4dc1ed generate_test_mak_image.py: guess mask image name if not specified 2015-06-17 09:29:29 +02:00
Matthias Kuhn
fb7d0d2e18 Fix some tests on Fedora 2015-06-17 09:29:29 +02:00
Juergen E. Fischer
2798ab0241 dxf export:
* fix handing of areas with holes when exporting SVGs
* fix block, hatch and polyline ownership
2015-06-16 23:08:25 +02:00
Matthias Kuhn
03c61b34d4 Make UniqueValues autocompleter case insensitive 2015-06-16 21:24:22 +02:00
Matthias Kuhn
8342739b37 Expressions: preserve brackets for right-associative operators
Fixes #11475
2015-06-16 19:46:26 +02:00
Denis Rouzaud
a518e9f639 [fix #11475] expressions: add left and right associavity for dump of binary operators
complete test for left associativity
2015-06-16 19:07:45 +02:00
Matthias Kuhn
0bf1135244 Fix QgsExpression::dump() for functions without params and for "NOT IN"
And add tests to check if dump() creates an expression that produces the same
result as the original expression.
2015-06-16 18:58:39 +02:00
Larry Shaffer
538969960b Update GetInfo dates in app and browser plists for Mac 2015-06-16 09:36:22 -06:00
Matthias Kuhn
ee8ff3acb5 Followup 00276e2be, remove double translations in french 2015-06-16 17:24:25 +02:00
Matthias Kuhn
fd50ecd0e7 Revert "Be more verbose with debug info on travis"
This reverts commit 3d5de9ee2532c73010a502b13369e14a3036c896.

Runs unreliable on travis...
2015-06-16 15:47:03 +02:00
Matthias Kuhn
3d5de9ee25 Be more verbose with debug info on travis 2015-06-16 14:35:11 +02:00
Nyall Dawson
2458eaf8cc Fix symbol size when adding breaks to histogram for graduated size
renderer (fix #12952)
2015-06-16 21:54:18 +10:00
Nyall Dawson
d8b7796952 Add some more test mask images 2015-06-16 21:36:05 +10:00
Nyall Dawson
a378627bfa Allow remote urls for generate_test_mask_image.py 2015-06-16 21:36:05 +10:00
Nyall Dawson
cf2fa39691 [effects] Initially populate effects with a default list of effects
Default list shows a number of common effects like drop shadows,
but they are disabled. This allows users to easily enable them
just by checking them in the list. End result is a more user
friendly and familiar effects interface.

Advanced users can still reorder, add/remove effects as before.
2015-06-16 21:30:53 +10:00
Nyall Dawson
e57c59b289 Add some test mask to get label tests to pass in vivid 2015-06-16 20:56:00 +10:00
Nyall Dawson
d7835b8e61 Enable PyQgsPalLabelingServer test on travis 2015-06-16 20:55:45 +10:00
Nyall Dawson
170d96b0bc Labeling test fixes
- Remove outdated osx reference images
- Update expected PAL server images
- Add some mask images for server
2015-06-16 20:55:34 +10:00
Nyall Dawson
d50798cc4c Server labeling test fixes 2015-06-16 20:55:03 +10:00
Nathan Woodrow
9f0ea0c2fd MSSQL: Show message if geometry_columns not found
Funded by TechnologyOne, Australia
2015-06-16 14:53:50 +10:00
Matthias Kuhn
8153baf4af Be less strict on QgsMapToPixel convenience constructor in debug mode 2015-06-16 01:27:27 +02:00
DelazJ
78fa6970fa Update vertex size spinbox step in editing mode
fixes #12943

Set the step of vertex marker size spinbox in Settings menu > Options > Digitizing to 1 instead of 2
2015-06-16 00:56:17 +02:00