Nyall Dawson
d75eaff573
Fixes to arrow line symbology:
...
- Fix crash in Python bindings caused by subsymbol ownership
- Make symbol work correctly with categorised and graduated
renderers
2016-05-05 16:56:20 +10:00
Even Rouault
52de4fb9ba
Use consistently dataSourceUri() with QgsOgrConnPool (follow up of https://github.com/qgis/QGIS/pull/3057 )
2016-05-04 22:33:17 +02:00
Even Rouault
02be0cb4d1
QgsOgrProvider::addAttributes(): call invalidateConnections() for MapInfo
2016-05-04 22:00:31 +02:00
Even Rouault
8ea447065c
Move QgsOgrConnPool::instance()->unref() from QgsOgrProvider::close() to destructor, since we can open()/close() several times
2016-05-04 22:00:31 +02:00
Even Rouault
338b835888
Un-blacklist PyQgsOGRProvider for QT5 tests
2016-05-04 22:00:31 +02:00
Even Rouault
ed08ffb2aa
Fix style in previous commit regarding comparisons against nullptr
2016-05-04 22:00:31 +02:00
Even Rouault
dc18b5b36b
[BUGFIX / FEATURE] [OGR] Allow concurrent edition of Shapefiles and Tabfiles in QGIS & MapInfo
...
- Closes https://hub.qgis.org/issues/14378
- Adds new virtual methods in QgsDataProvider(): enterUpdateMode() and leaveUpdateMode()
and implement them in the OGR provider. Limited to shapefiles and tabfiles
- Implements QgsOGRProvider:reloadData()
- Robustify OGR provider methods so they don't crash if dataset re-opening fails.
2016-05-04 22:00:30 +02:00
Sandro Mani
ca74cc0732
Merge pull request #3057 from manisandro/ogrpool_datasourceuri
...
Consistently use datasource instead of filepath when ref/unref-ing
2016-05-04 20:53:18 +02:00
Sandro Mani
f2618884fd
Also use datasource instead of filepath when ref/unref-ing and invalidating.
2016-05-04 16:02:59 +02:00
Juergen E. Fischer
919c54ef5f
release.pl: don't created branches from tag names
2016-05-04 13:20:10 +02:00
Nyall Dawson
99e5352d00
Fix coverity uninitialized member warnings
2016-05-04 19:37:03 +10:00
Nyall Dawson
d8dc02d7e7
Fix more uncaught exceptions in QgsOgcUtils
2016-05-04 19:36:50 +10:00
Matthias Kuhn
3de068894d
[travis] Fix warnings about invalid ccache options
...
https://travis-ci.org/qgis/QGIS/jobs/127438282#L731
2016-05-04 09:50:25 +02:00
Even Rouault
75cfb32683
[GDAL provider] Use GDALAutoCreateWarpedVRT() when the dataset has only RPC
2016-05-03 19:49:51 +02:00
Matthias Kuhn
871208922d
Fixes for actions in attribute table
...
* Initialize datastructure in vector layer configuration dialog
* Fix hidden widget if shown in last column
2016-05-03 11:14:50 +02:00
Matthias Kuhn
c1687abc80
Replace calls to deprecated assertEquals
method
2016-05-03 09:18:27 +02:00
Nyall Dawson
4335a77b7b
[FEATURE][multiedit] Add shortcut to modify attributes of selected
...
features to edit menu
Workflow:
- enter edit mode, select multiple features
- select Edit -> Modify Attributes of Selected Features
- edit attributes using feature form, click OK or Cancel
2016-05-03 15:06:41 +10:00
Martin Dobias
98e9ae14f5
Fix show/hide labels tool with postgres (followup 0232819)
2016-05-03 10:43:40 +08:00
Nyall Dawson
ccebd83aa4
Standardise format of initializer lists
2016-05-03 09:38:04 +10:00
Nyall Dawson
cad3a5aecc
Correctly set initial tab in label style dock
2016-05-03 08:17:01 +10:00
Nyall Dawson
cba82658e4
[composer] Fix invalid signal connection
2016-05-03 08:01:35 +10:00
Matthias Kuhn
a6c88c1166
Add different widget style
2016-05-02 18:25:58 +02:00
Matthias Kuhn
8b4cb049ae
Allow controlling action visibility on attribute table
2016-05-02 18:25:58 +02:00
Matthias Kuhn
c5d00f09d0
Handle item flags for action column
2016-05-02 18:25:58 +02:00
Matthias Kuhn
e57edc335c
Doxygen fix
2016-05-02 18:25:58 +02:00
Matthias Kuhn
7c1fb36390
Fix attribute table column "resync after change"
2016-05-02 18:25:58 +02:00
Matthias Kuhn
f03a94f650
Fix crash
2016-05-02 18:25:58 +02:00
Matthias Kuhn
4730047696
Make string translatable
2016-05-02 18:25:58 +02:00
Matthias Kuhn
c369aabac4
Doxygen and sip bindings
2016-05-02 18:25:57 +02:00
Matthias Kuhn
dd88fa99f3
[feature] New configuration options for attribute table
...
* Allow reordering the attribute table columns
* Allow adding a new column to trigger an action to the attribute table
2016-05-02 18:25:57 +02:00
Matthias Kuhn
aa9010e8ed
Limit ccache size to 150M
2016-05-02 18:25:57 +02:00
Matthias Kuhn
1827546986
Add new properties short name and show in attribute table to actions
2016-05-02 18:25:57 +02:00
Matthias Kuhn
54ec3b4d67
Refactor attribute action dialog
...
The attribute action dialog had some UX flaws that an action was edited
in the same dialog as the action list lives. When changing the active
icon without applying changes, all changes have been lost. This fixes
this behavior by using a separate dialog to change action properties.
2016-05-02 18:25:57 +02:00
Matthias Kuhn
6c0732bc93
Indentation fix
2016-05-02 18:25:57 +02:00
Matthias Kuhn
2faaf1cd9c
Rename QgsAttributeAction to QgsActionManager
...
The original name was not representative for the scope of the class
and misleading at best.
The class manages actions for a given layer and it's not a single action
like the former name suggested.
There is a typedef introduced to keep it in the API until we can remove
it with QGIS 3.
2016-05-02 18:25:57 +02:00
Matthias Kuhn
ff4ad50809
Rename QgsFilterTableFields to QgsOrganizeTableColumns
2016-05-02 18:25:57 +02:00
Stéphane Brunner
d4ccc77f27
Add a possibility to hide a column in the attribute table
2016-05-02 18:25:56 +02:00
Harrissou Sant-anna
af73c3dd58
replace icon
2016-05-02 17:22:47 +02:00
Matthias Kuhn
d9865522a2
Followup 875edb0, fix typo
2016-05-02 17:02:37 +02:00
Matthias Kuhn
875edb0adc
Improve snapping API documentation
2016-05-02 17:01:22 +02:00
Piers Titus van der Torren
3360b829d7
change comment to remove inadequate @deprecated
2016-05-02 16:17:35 +02:00
Nyall Dawson
90d116c6f5
[cad] Fix invalid coordinates when x/y snapping is enabled and
...
subsequent segments are parallel
2016-05-02 21:50:40 +10:00
Nyall Dawson
3a543e4fb8
Doxygen fixes
2016-05-02 21:50:40 +10:00
Nyall Dawson
e53cb6ef3c
[FEATURE][cad] Implement "repeating" locking mode for constraints
...
When enabled, repeating locks are not automatically cleared when
a new point is added. They are handy when the same constraint
must be repeated for multiple points (eg adding vertices
which are always 50 meters apart)
(fix #12605 )
2016-05-02 21:50:40 +10:00
Nyall Dawson
bd305885c2
[cad] update constraint when user changes values in widgets while
...
constraint is locked
The previous behaviour was that the constraint had to be "relocked"
if the user manually altered the constraint value in the text
widgets. Now users can edit the constraint value after already
locking the constraint.
2016-05-02 21:50:40 +10:00
Nyall Dawson
5654886933
New class QgsFocusWatcher for easier handling of focus events
...
Usually QObjects must subclass and override methods like focusOutEvent
to handle focus events. Using this class as an event filter avoids
the need to subclass objects and the focus events can be directly
caught using the emitted signals.
2016-05-02 21:50:40 +10:00
Even Rouault
61735390d7
Fix PyQt import to qgis.pyQt in test_qgsnewgeopackagelayerdialog.py
2016-05-02 12:45:02 +02:00
Nyall Dawson
afdb6c78c0
Merge pull request #3031 from rouault/gpkg_improvements
...
GeoPackage support related improvements
2016-05-02 18:35:28 +10:00
Nyall Dawson
563d75c1ec
Followup febe30, fix crash
2016-05-02 12:48:55 +10:00
Nyall Dawson
febe30d991
[expressions] Fix fetching joined column refs when expression is
...
not prepared (fix #14746 )
2016-05-02 12:03:39 +10:00