55808 Commits

Author SHA1 Message Date
Tamas Szekeres
01112bdd43 fix indentation 2019-06-15 15:16:42 +10:00
Tamas Szekeres
3196b0268f Fix indentation 2019-06-15 15:16:42 +10:00
Tamas Szekeres
7d1b0cb70b Adding test for curve geometries 2019-06-15 15:16:42 +10:00
Tamas Szekeres
2dc40ae039 Fix compoundcurve parser 2019-06-15 15:16:42 +10:00
Tamas Szekeres
68a5d1a994 Fix creating layers with curve geometries 2019-06-15 15:16:42 +10:00
Tamas Szekeres
31162ad128 Fix indentation 2019-06-15 15:16:42 +10:00
Tamas Szekeres
2e398f432d Improve the performance of reading linestrings 2019-06-15 15:16:42 +10:00
Tamas Szekeres
861ab7a9fd Drop function headers from the parser code 2019-06-15 15:16:42 +10:00
Tamas Szekeres
abc392213e Apply 'm' prefix for class member variables instead of the hungarian notations. 2019-06-15 15:16:42 +10:00
Tamas Szekeres
d62bc00528 Remove const qualifiers from public declarations 2019-06-15 15:16:42 +10:00
Tamas Szekeres
58f8e7658c Strip nullptr inequality check 2019-06-15 15:16:42 +10:00
Tamas Szekeres
70ae6362de Rename 'foo' to something meaningful 2019-06-15 15:16:42 +10:00
Tamas Szekeres
95ab580178 Apply lower case to member functions for the mssql driver 2019-06-15 15:16:42 +10:00
Tamas Szekeres
941e3ffd1a Fix indentation issues 2019-06-15 15:16:42 +10:00
Tamas Szekeres
7b69172ede strip extra qualification 2019-06-15 15:16:42 +10:00
Tamas Szekeres
4869499a0a Limit the mssql geography spatial filter to valid coordinates 2019-06-15 15:16:42 +10:00
Tamas Szekeres
38659fbbc2 Rework MSSQL parser to support v2 geometries (fixes #22041) 2019-06-15 15:16:42 +10:00
Nyall Dawson
b25fa7a2e3 Try to fix crash on travis 2019-06-15 15:05:48 +10:00
Nyall Dawson
fbd243be65 [processing] Port map layer selection combobox widget to c++
And:

- fix enable state of selected features only after changing between
map layers with/without selections
- fix state of selected features only when running an algorithm
from the history list, e.g. respect original setting for
selected features only (or not)
- ensure no duplicate changed signals are sent, and correctly
emit changed signals in all applicable circumstances
- handle drag and dropped layers from browser panel (UX fix)
- soak with unit tests
2019-06-15 15:05:48 +10:00
Nyall Dawson
9d82273208 Fix duplicate (and missing) signals from QgsMapLayerComboBox, add tests 2019-06-15 15:05:48 +10:00
Nyall Dawson
334103dd07 [layouts] Always use the correct legend size when rendering legends
No existing known bugs caused by this, but it should be done anyway
and will help make future legend related work less confusing...
2019-06-15 06:59:19 +10:00
Harrissou Sant-anna
f432471537 Capitalize the word 2019-06-15 06:58:58 +10:00
Harrissou Sant-anna
25a82505d5 Use complete word
there's enough place
2019-06-15 06:58:58 +10:00
rldhont
5593bcc382
Merge pull request #30215 from rldhont/server-getcontext-fix-hidden
[Server] GetContext: Fix hidden attribute value based on tree layer visibility
2019-06-14 17:17:59 +02:00
Matthias Kuhn
e3f141c708
Merge pull request #30213 from m-kuhn/no-projection
Allow setting the default for new projects to "no projection"
2019-06-14 16:17:00 +02:00
rldhont
0499a933c1 [Test][Server] GetContext: Fix hidden attribute 2019-06-14 14:35:25 +02:00
rldhont
c24e141c96 [Bugfix][Server] GetContext: Fix hidden attribute value based on tree layer visibility 2019-06-14 14:28:00 +02:00
Matthias Kuhn
7bcfb8e73b Allow selecting "no projection" as default for new projects 2019-06-14 12:35:22 +02:00
Matthias Kuhn
f36b78c8b1 Set more meaningful text for the project default projection selector
Up to now, a default text, referring to "layer" instead of "project" was shown
2019-06-14 12:28:15 +02:00
Matthias Kuhn
84c8cd61ee Show "no CRS" option in dialog when appropriate
The projection selection widget (combobox) has a flag `CrsNotSet` that allows showing an additional entry for selection no CRS.
The projection selection dialog also has this option (setShowNoProjection). However, a dialog started from a widget with the option
set did not have this option set up to now.
2019-06-14 12:28:15 +02:00
Nyall Dawson
5347eb79c6 Clarify acceptable forms for defaultNorthArrow setting 2019-06-14 08:02:34 +07:00
Nyall Dawson
ec8660da0d Replace hardcoded default north arrow path in validity check 2019-06-14 08:02:34 +07:00
Nyall Dawson
5db0965a26 [layouts] Allow default north arrow path to be specified through settings 2019-06-14 08:02:34 +07:00
Nyall Dawson
ad4a38d1c0 [layouts] Improve north arrow export time validity check to also test
for north arrows by checking their default id string
2019-06-14 08:02:34 +07:00
Nyall Dawson
1423ae35d0 Spelling 2019-06-14 08:02:34 +07:00
Nyall Dawson
19be172343 Add missing file 2019-06-14 08:02:34 +07:00
Nyall Dawson
03a8b032c3 Set north arrows ID by default, so that they are identifiable in layout item lists 2019-06-14 08:02:34 +07:00
Nyall Dawson
ab92deee03 [layouts] Warn when exporting a layout with a north arrow not
linked to a map item
2019-06-14 08:02:34 +07:00
Nyall Dawson
0ccc8f15ff [FEATURE][layouts] Add a dedicated toolbar action to create north arrows
This is a shortcut to adding a picture item, setting it to a north arrow
picture, and linking it with a map. The end result is identical, but it's
much easier for new users to understand if we expose it as an explicit
"North Arrow" item.

Even experienced users will likely appreciate the improved workflow,
including automatically linking the picture rotation to a sensible
default map choice (if a map is selected, it's used. If not, the
topmost map item under the newly drawn north arrow is used. If there's
none, the layout's 'reference map' (or biggest map) is used as a
fallback)

Fixes #30162
2019-06-14 08:02:34 +07:00
Larry Shaffer
26c83dac78 [oauth2] Remove call to override cursor during token refresh
Unsafe to work with main GUI thread from background auth threads.
2019-06-14 09:01:10 +10:00
Larry Shaffer
5ede62fd1e [oauth2] Fix token refresh timeout cancellation with singleshot timer
Also, avoid O2 library error by checking for refresh token and URL
2019-06-14 09:01:10 +10:00
Nyall Dawson
78a606188c Expose some more auth manager methods to Python
These methods either
- only wrap QSettings values (so there's no added security gained
by not exposing them -- it's currently easily possible to achieve
the same results via direct QSettings manipulation)

OR

- are required to allow fully automated QGIS deployment/startup
scripts which rely on auth manager functionality
2019-06-14 08:54:44 +10:00
Harrissou Sant-anna
8fdfd7daf8 Add "styles" to the package algorithm tags
and harmonize error message
2019-06-14 06:53:48 +10:00
Alexander Bruy
3a0fb544b3 [processing] fix method name 2019-06-13 15:46:26 +03:00
Alessandro Pasotti
79d90a9ad7
Merge pull request #30192 from elpaso/pg-oid
Use Oid alias instead of unsigned int in PG provider
2019-06-13 14:35:50 +02:00
nirvn
9984dc71f0 [arcgis] Browser and source selector should only return appropriate layer type 2019-06-13 16:41:53 +07:00
Alessandro Pasotti
f82016624b Use Oid alias instead of unsigned int in PG provider
for consistency only, no bytecode changes are expected
2019-06-13 09:26:20 +02:00
Alessandro Pasotti
ffe3c31c5c
Merge pull request #30184 from elpaso/bugfix-gh30041-pg-oid-overflow
An attempt to fix oid overflow in regclass
2019-06-13 08:49:45 +02:00
Matthias Kuhn
586d216735
Merge pull request #30185 from m-kuhn/update_on_split
Update default values with "apply on update" on split
2019-06-13 07:01:21 +02:00
Nyall Dawson
1c5ebe8ebd Spelling 2019-06-13 04:57:37 +10:00