29111 Commits

Author SHA1 Message Date
nirvn
537d195957 [welcome page] add a minmium width to the recent project list 2015-10-13 12:40:40 +07:00
nirvn
06a41ef77f [welcome page] fix recent project list not resizing 2015-10-13 12:26:17 +07:00
Juergen E. Fischer
e193c7c904 debian packaging update (revert GEOS C++ dependency) 2015-10-12 21:39:09 +02:00
Juergen E. Fischer
43c046b264 fix core api header 2015-10-12 20:52:52 +02:00
Juergen E. Fischer
1be64a5e2a fix windows build 2015-10-12 20:52:43 +02:00
Larry Shaffer
482420cfda [auth] Add some more debug output
- Need to migrate many auth debug to QgsDebugMsgLevel with higher level
2015-10-12 09:45:08 -06:00
Larry Shaffer
0164b09d6d [auth] Fix #13550; add auth support to Server; read master password file 2015-10-12 09:45:07 -06:00
mhugent
5f82f1b11e Merge pull request #2365 from manisandro/geom_checker_fixes
Geometry checker fixes
2015-10-12 13:30:13 +02:00
Sandro Mani
c1028efeb0 [Geometry checker] Make self intersection fix create a multilinestring instead of a multicurve since prts are linestrings 2015-10-12 13:23:34 +02:00
Sandro Mani
fdc85bab9e [Geometry checker] Make self intersection fix create a linear polygon if original feature was one 2015-10-12 13:23:34 +02:00
Sandro Mani
01a7674f1c [Geometry checker] Fix memory corruption due to QgsGeometry deleting the passed GeometryV2 pointer when going out of scope 2015-10-12 13:23:34 +02:00
Nyall Dawson
de8b045b26 Fix crash when changing symbol types on windows 2015-10-12 22:13:30 +11:00
Nyall Dawson
ec9fd86d30 Add missing mask from previous commit 2015-10-12 21:57:01 +11:00
Nyall Dawson
b93f2eacbe Follow up c7b9fa, fix failing tests
Looks like there's a label in the test which is placed right on the
boundary of the map, so the geos changes in c7b9fa have shifted it
slightly off the canvas and resulted in it not being drawn.

Update test mask images so this label is optional.
2015-10-12 21:56:31 +11:00
Nyall Dawson
f9559003d4 Really fix #13545
I'm not sure what sip voodoo is preventing the bindings from
calling methods in the base class, so for QGIS <3.0 I've aliased
all the new signatures and will rename them back for 3.0
2015-10-12 21:56:30 +11:00
Nyall Dawson
ae85376614 Fix refining rule based renderer using expression (fix #10815) 2015-10-12 21:01:09 +11:00
mhugent
c7b9fa646b Merge pull request #2353 from manisandro/geos_snap
Replace GEOS C++ dependency with hand-rolled snap-to-grid implementation
2015-10-12 10:50:36 +02:00
Salvatore Larosa
4d351756cb [ui] save geometry dialog for the symbol selector dialog 2015-10-12 10:04:32 +02:00
Radim Blazek
6f5f672acd [GRASS] hide save layer edits action 2015-10-12 09:57:05 +02:00
Salvatore Larosa
1e958d25b5 Merge pull request #2364 from arnaud-morvan/processing-fix-field-calculator
[Processing] fixup! Include parameterselection dropdown contents in processing translation
2015-10-12 09:44:09 +02:00
Nyall Dawson
160f172b42 Flip some QStrings to QLatin1String where they may be faster 2015-10-12 18:38:45 +11:00
Nyall Dawson
52f0b5b612 Bump acceptable doc coverage 2015-10-12 18:38:37 +11:00
Nyall Dawson
1aefa17fbd Update TestQgsLabelingEngineV2 to use render checker, reenable on Travis 2015-10-12 18:38:29 +11:00
arnaud.morvan@camptocamp.com
7e2ffd46d8 fixup! Include parameterselection dropdown contents in processing translations 2015-10-12 09:30:25 +02:00
Nyall Dawson
ecbd691ca4 Followup 8e2b791, add unit test 2015-10-12 09:14:20 +11:00
Juergen E. Fischer
15af5a1170 attribute editing: don't allow editing without ChangeAttributeValues capability 2015-10-11 23:48:20 +02:00
Nyall Dawson
84dade97f6 Fix potential crash in vector gradient dialog info button
Note that this doesn't seem to be actually utilised by any
of the preinstalled gradients, but if users have created
a gradient with info then clicking the button would have
crashed QGIS.

Identified by clazy.
2015-10-12 08:40:51 +11:00
Nyall Dawson
f9231df1f1 Followup a721752, also fix svg marker fill cannot be used with
categorised or graduated renderers
2015-10-12 07:49:41 +11:00
Nyall Dawson
06c2190e3d Remove default outline-width param from included SVGs if
default value is non 0

using the monstrosity:
zerowidth='!0'; grep -R -rl -P "\"param\(outline-width\) (?${zerowidth})(.*?)\"" | xargs sed -i -b 's/\(param(outline-width)\)[^"]*"/\1\"/g'

(fix #10908)
2015-10-12 07:49:41 +11:00
Nyall Dawson
be6faef0fc Remove default outline param from included SVG files if default is #000
using:
grep -R -rl \"param\(outline\)[[:space:]]*#000\" | xargs sed -i -b 's/\(param(outline)\)\s*#000"/\1\"/g'

(refs #10908)
2015-10-12 07:49:41 +11:00
Nyall Dawson
66e6f399c4 Remove default fill param from included SVG files if default is #FFF
using:
grep -R -rl \"param\(fill\)[[:space:]]*#FFF\" | xargs sed -i -b 's/\(param(fill)\)\s*#FFF"/\1\"/g'

(refs #10908)
2015-10-12 07:49:41 +11:00
Juergen E. Fischer
8e2b791092 case-sensitivity of vector layer field (fixes #13032)
* fieldNameIndex: resort to case-insensitive lookup only if
  case-sensitive lookup has no match
* file writer: fix handling of fields that only differ by case
2015-10-11 22:42:28 +02:00
Juergen E. Fischer
d277dd6784 clear cached wkb after reshape (fixes #13052) 2015-10-11 21:53:48 +02:00
Nyall Dawson
a784d6bc3d If svg files with params do not have a default value set, then don't
reset the fill/border color and border width when changing svg
marker/svg fill SVG files

This change makes the behaviour consistent between the svg marker
symbol and the other marker symbols. Additionally, svg files
which have customisable colors and NO default values set will
be shaded in gray fill/black outline in the svg selector widget,
to follow the same behaviour as the other marker symbol selectors.

Note that this change has NO EFFECT unless the svg files are
modified to remove the default param value, so there will be no
change for users' custom symbols. A follow up commit will need
to remove the default param values from the preinstalled SVG
files though. If you want to test in the meantime, I've modified
just the first two symbols in the accomodation group to make
this change for testing.

(refs #10908)
2015-10-11 23:00:01 +11:00
Nyall Dawson
1bd2a69f9b Fix svg marker colors not correctly restored from project 2015-10-11 22:13:22 +11:00
Nyall Dawson
3aa6c4f012 Fix fill and outline color for svg markers sometimes enabled
when SVG file does not support parameters
2015-10-11 21:55:09 +11:00
Nyall Dawson
9287ee7d40 [console] Move run button earlier in console editor toolbar
Otherwise on small screens the run button is hidden away in the
overflow menu, which isn't ideal given its importance
2015-10-11 16:36:10 +11:00
Juergen E. Fischer
cf0fe9a99c fix warnings 2015-10-10 22:25:13 +02:00
Juergen E. Fischer
b65d962260 also fix #10747 for 2.5D points 2015-10-10 22:01:11 +02:00
Nyall Dawson
beb4ffc16b Followup 80ccb39, also disable test on OSX 2015-10-10 23:14:11 +11:00
Nyall Dawson
11be4447c3 Fix curved labels ignore line orientation placement flag (fix #5778) 2015-10-10 23:13:23 +11:00
Nyall Dawson
5f2d98caa4 Merge pull request #2361 from m-kuhn/fix13549
Cleanup symbol definition widgets when switching between symbol layers
2015-10-10 23:02:38 +11:00
Matthias Kuhn
b82c146cdb Cleanup symbol definition widgets when switching between symbol layers
Fix #13549
2015-10-10 14:01:26 +02:00
Nyall Dawson
80ccb39ae5 More test mask updates. Also disable qgis_labelingenginev2 on Travis
qgis_labelingenginev2 needs to be refactored to use QgsRenderChecker.
Directly comparing the two images is too fragile due and is failing
on Travis.
2015-10-10 22:07:39 +11:00
Nyall Dawson
71498c7c0f Fix uninitialized variables in advanced digitizing dock which meant
that sometimes advanced digitising tools would be activated
unexpectedly.

(Coverity... I'm disappointed. Stop slacking off! I've fixed 1000s
of these warnings you flagged yet you missed the ones which trigerred
actual real bugs)
2015-10-10 21:26:20 +11:00
Nyall Dawson
0da9306159 Fix snapping options dialog not correctly initialised when loading projects 2015-10-10 21:26:14 +11:00
Nyall Dawson
b69e076a51 Fix some leaks 2015-10-10 21:26:08 +11:00
Nyall Dawson
4eb53d366a Update test mask images 2015-10-10 21:21:21 +11:00
Nyall Dawson
16f700a56c Fix svg outline widths are incorrectly scaled (fix #11522)
SVG outline width sizes were not correctly calculated, and were
set to a constant value regardless of the rendered size of the svg
image. This meant that:
1. the rendered outline width was effectively randomly scaled
2. the width would change as the symbol size was modified

This change has some large flow on effects, eg:

- the large outline widths required to render an outline in <2.12
will now be drawn in their correct sizes, eg massive outlines. Projects
will need to be updated to reflect this.
- the default outline width set for the provided svg symbols (1 mm)
is much too large, so the symbols look bad with the default width.
This size needs to be modified in all the (~300 svg marker images)
- On the plus side, the long standing issue where most of the svg
symbols were rendered with white fill on white background and an
almost invisible black border is now fixed (refs #10908, #8538)
2015-10-10 20:27:57 +11:00
Nyall Dawson
a721752ced Allow coloring of svg markers when used with graduated/categorised renderers (fix #11658) 2015-10-10 15:26:08 +11:00