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
Jorge Gustavo Rocha
b85d42cd6f
show version information on std::cout on Windows
2019-06-14 14:31:01 +01: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
Jorge Gustavo Rocha
8e438e6273
output usage() and version() to stdout
2019-06-14 13:05:05 +01: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
Jorge Gustavo Rocha
562bd2411c
Add missing entry to usage; replace QStringList by QString
2019-06-14 00:18:52 +01: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
Jorge Gustavo Rocha
598582e17d
add --version|-v command line option
2019-06-13 19:50:17 +01: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
Nyall Dawson
cf63a7af97
[needs-docs] Allow dragging project layers from legend over map layer comboboxes to select
...
Greatly assists with usability of the combobox with large projects,
especially those with multiple copies of layers with the same name...
2019-06-13 04:57:37 +10:00
Nyall Dawson
d56ddc25fb
Minor refactor of QgsMapLayerProxyModel
2019-06-13 04:57:37 +10:00
Nyall Dawson
760af67d0f
Cleanup handling of QgsMimeDataUtils::Uri corresponding to project layers
...
And add tests
2019-06-13 04:57:37 +10:00
Nyall Dawson
54434a6f41
Allow double-clicking items in data source select dialog to choose them
2019-06-13 04:56:45 +10:00
Nyall Dawson
5bc50ff820
[processing] Fix iterating mode when output is a temporary layer
...
Credit to @volaya for this fix!
Fixes #29340
2019-06-13 02:43:06 +10:00
Alessandro Pasotti
c94310df56
Cast long from count features instead of int
2019-06-12 18:25:17 +02:00
Alessandro Pasotti
c90583c0db
Some more Oid type fixes
2019-06-12 17:08:20 +02:00
Jorge Gustavo Rocha
2243f864bb
Update BUGS
...
Co-Authored-By: Matthias Kuhn <matthias@opengis.ch>
2019-06-12 14:43:13 +01:00
Matthias Kuhn
492ce0c9f1
Recalculate "evaluate on update" default expressions always
...
... no mather what attributes are provided. Default values with evaluate on update
should really just always be calculated.
Fix #30164
Fix #29683
2019-06-12 13:11:38 +02:00
Matthias Kuhn
3113a961c1
Micro optimization
2019-06-12 13:11:38 +02:00
Alessandro Pasotti
ad8c5a6d98
An attempt to fix oid overflow in regclass
...
QGIS was using int to store oids, but oids are 4 byte unsigned ints.
This is an attempt to partially fix #30041
2019-06-12 12:28:52 +02:00
Nyall Dawson
0224b8e4ff
If the first layers loaded into a project is non-valid (e.g. qlrs
...
pointing to a broken path), then defer the default zoom to the layer's extent
until AFTER the layer path is fixed
Avoids the situation where a user:
- loads a broken qlr
- canvas goes to a invalid extent, since the first loaded layer has an invalid extent
- user fixes the layer path, but there's no visible changes -- because the canvas
is pointing to some random location
2019-06-12 18:25:57 +10:00
Matthias Kuhn
a4eb6b0bdc
Merge pull request #30128 from m-kuhn/30118
...
Keep rubberband while attribute dialog is open
2019-06-12 10:00:52 +02:00
Matthias Kuhn
83c8b5bf16
Merge pull request #30173 from olivierdalang/dbmanager_fix_generic_geom
...
[dbmanager] allow to import GEOMETRY tables
2019-06-12 09:54:57 +02:00
Matthias Kuhn
655649a853
Update src/gui/qgsmaptoolcapture.h
2019-06-12 08:27:41 +02:00