475 Commits

Author SHA1 Message Date
Nyall Dawson
2164a090db [api break] Remove QRegExp argument from QgsNewNameDialog constructor
Replaced with QgsNewNameDialog::setRegularExpression which accepts
a string argument.

QRegExp is deprecated and removed in qt6.
2021-07-27 14:25:24 +10:00
nirvn
a580968983 Remove QgsApplication::shortNameRegExp altogether, document API break 2021-07-14 10:36:47 +07:00
Denis Rouzaud
fd9fe215c5
fix title in API break (#43521) 2021-06-03 07:09:59 +02:00
Nyall Dawson
c57d7ad6aa Completely remove QgsVectorLayerFeatureIterator::FetchJoinInfo::joinLayer and note in api_break.dox
There's no point in keeping such a dangerous member in the api
2021-06-03 14:26:23 +10:00
vcloarec
9bc6d4df5a update api_break.dox 2021-05-31 13:09:45 +10:00
rldhont
e5e8efea8f [API] Move specific deprecated QgsVectorLayer::setDataSource to QgsMapLayer 2021-04-29 16:42:32 +02:00
rldhont
b60f5a4548 Revert "Revert "[API] Remove specific deprecated QgsVectorLayer::setDataSource""
This reverts commit 2524f9635a3d09c57ccebb78208cc7b3bf8fb9b6.
2021-04-29 16:37:16 +02:00
rldhont
2524f9635a Revert "[API] Remove specific deprecated QgsVectorLayer::setDataSource"
This reverts commit 88c0d3f07db541b1cb6d5cc81f4aabc12741de26.
2021-04-28 15:00:16 +02:00
rldhont
4afa66af30 [API] Unvirtualize layer setDataSource method
Changes in the layer API:
* The setDatasource() methods become non-virtual public method
* The virtual private setDataSourcePrivate() method is defined and the provider setDataSource implementations have been moved to this new virtual method
2021-04-26 17:14:07 +02:00
Bas Couwenberg
371176357b Fix spelling errors.
* cancelation -> cancellation
 * overal      -> overall
2019-02-24 22:39:40 +01:00
Jonathan Willitts
0aae2c1d69 Add missing headings and remove table captions (#8892)
* Add missing headings and ToC anchors

Adds missing headings (and table of contents anchors) for 'Renamed Enum Values' and 'Renamed Methods' tables.

* Removed table captions

Which are redundant due to the headings that the tables sit under
2019-01-17 14:54:10 -05:00
Jonathan Willitts
68994adc1b Add missing api breaking change for setMapTipTemplate() to QgsVectorLayer (#8880)
* Add missing change for QgsVectorLayer

* Update, to include mention of setDisplayExpression
2019-01-17 08:42:30 -05:00
Denis Rouzaud
d9c57cdc96
fix typo 2018-10-01 07:53:51 -04:00
Denis Rouzaud
cacd82e788
Update api_break.dox 2018-10-01 07:13:19 -04:00
Matthias Kuhn
9a85616731 Remove QgsSnapper API change docs. It is ✝ 2018-04-29 07:59:47 +02:00
Nyall Dawson
d830821b13 Remove QgsInterruptionChecker and replace with QgsFeedback use
There's little need for two classes with similar goals here.
2018-02-19 10:18:00 +10:00
nirvn
dd7c168e0b document api break 2018-02-07 13:27:39 +07:00
Denis Rouzaud
3dc3d9d1b2 unite QgsMessageLog::Level and QgsMessageBar::MessageLevel in Qgis::MessageLevel
make enum items lower case
remove unused QgsMessageLog::None and All
2018-02-06 08:56:40 -04:00
nirvn
b5610ea5ba document API change 2018-02-01 09:11:45 +07:00
Harrissou Sant-anna
91a80759bf Fully replace node* by vertex* 2018-01-31 04:51:20 +01:00
Denis Rouzaud
0e7cea2244 QgsGeometryUtils: rename 2 methods
- projPointOnSegment has been renamed to projectPointOnSegment
- getSelfIntersections has been renamed to selfIntersections
2018-01-24 03:38:59 -09:00
Nyall Dawson
64a8bda8cc Rename QgsApplication::composerTemplatePaths to layoutTemplatePaths 2018-01-17 04:58:41 +10:00
Denis Rouzaud
df90feff00 add missing since and complete API brea doc 2018-01-15 21:41:01 -04:00
Matthias Kuhn
168c469b32 Rename QgsGPS prefixed classes to QgsGps 2018-01-15 11:55:23 -04:00
Nyall Dawson
09fbdb1bc2 Drop color button/dialog live update option from API and UI
This options is broken in QGIS 3.0, but in any case has been
mostly made redundant by the live styling dock, and the other
non blocking color pickers which are implemented in most areas
of qgis now.
2018-01-15 12:40:44 +10:00
Nyall Dawson
ded9b0978d Rename QgsVectorLayer::pkAttributeList to primaryKeyAttributes() for consistency 2018-01-15 11:27:22 +10:00
Nyall Dawson
21c8956b18 Drop QgsVectorLayer::pendingFeatureCount()
Use QgsVectorLayer::featureCount() instead.
2018-01-15 11:27:22 +10:00
Nyall Dawson
1da17904b8 Drop QgsVectorLayer::pendingAllAttributesList()
Use QgsVectorLayer::allAttributes() instead.
2018-01-15 11:27:22 +10:00
Nyall Dawson
068d51c3be Drop QgsVectorLayer::pendingFields()
Use QgsVectorLayer::fields() instead.
2018-01-15 11:27:22 +10:00
Nyall Dawson
db906273b5 Drop all composer classes from Python bindings 2018-01-08 13:35:15 +10:00
Matthias Kuhn
ed2f0563eb Document API break 2018-01-05 12:25:44 +01:00
Nyall Dawson
2d43dac0b5 Refine behavior of QgsGeometry equals tests
Before we had two checks - equals() and isGeosEqual() which
performed the exact same check (since equals() called the geos
equality test)

Since the geos equality test is a slow, topological test, which
considers two geometries equal if their component edges overlap,
but disregards ordering of vertices this is not always what we
want. There's also the issue that geos cannot consider m values
when testing the geometries, so two geometries with different
m values would be reported equal.

So, now calling QgsGeometry::equals performs a very fast, strict
equality test where geometries are only equal if the have exactly
the same vertices, type, and order.

And swap most code which was calling the slow geos test to instead
use the fast strict native test.
2018-01-05 09:59:22 +10:00
Nyall Dawson
b904731259 Respect transform context in point locator 2018-01-04 15:04:42 +11:00
Nyall Dawson
8f15cdf680 Respect transform contexts when tracing 2018-01-04 15:04:42 +11:00
Matthias Kuhn
156869379f Instructions for QgsCoordinateTransform::initialize API break 2017-12-24 11:17:28 +01:00
Nyall Dawson
4ff72de62e
Merge pull request #5858 from lbartoletti/segment_intersection
Segment intersection
2017-12-22 21:43:13 +11:00
Nyall Dawson
4643712a1e Fix missing transform contexts for QgsDistanceArea
QgsDistanceArea.setSourceCrs() now requires a QgsTransformContext
argument.
2017-12-20 17:37:46 +10:00
Nyall Dawson
f216b188d6 Move all datum transform related methods to QgsDatumTransform 2017-12-19 08:47:02 +10:00
lbartoletti
c5d9663191
Merge branch 'master' into segment_intersection 2017-12-15 20:42:00 +01:00
Denis Rouzaud
68aef9a426 ask for datum transform update on layer or project crs change
in the case of project crs change, if several transforms are available, pop up a message rather than showing multiple dialogs
2017-12-15 14:16:59 +10:00
Nyall Dawson
69c3debfc0 Nicer API for datum transforms
Instead of using QPairs of ints, use more descriptive structs, also
rename a lot of datum related methods for clarity and add docs
2017-12-15 14:16:59 +10:00
Nyall Dawson
cb693a72f9 Move caching to QgsCoordinateTransform
and remove no longer required QgsCoordinateTransformCache singleton
2017-12-15 14:14:08 +10:00
Nyall Dawson
018bfb49f9 Remove QgsDatumTransformStore
and port usage over to QgsCoordinateTransformContext instead
2017-12-15 14:13:52 +10:00
Nyall Dawson
86d9492372 Remove context-unaware QgsCoordinateTransform constructors from Python bindings
This forces Python code and plugins to become datum transform
aware, and given that upgrading python code is easy (just
add QgsProject.instance() as a new argument to the constructor)
it's relatively painless to force this on PyQGIS users.

Also fix upgrade the easy QgsCoordinateTransform c++ constructors
where the project is available, or where using QgsProject::instance()
is safe to do.

For others, just avoid the deprecated warnings until we can
get access to the correct project instance where the transform
is being constructed.
2017-12-15 14:13:22 +10:00
Nyall Dawson
2edb2d8ac7 Remove unused QgsCoordinateTransform::readXml/writeXml methods
These methods are not used in master and are of questionable
value. Better to serialise the source and dest crs separately
and create the transform when required
2017-12-15 14:11:49 +10:00
lbartoletti
03d8565e2a - Update api_break.dox
- rename isIntersect to isIntersection
- rename inter to intersectionPoint
2017-12-13 14:03:55 +01:00
Etienne Trimaille
5c28ecab8f update HTML data provider metadata (#5700)
* update HTML data provider metadata for grass, gdal and ams

* update HTML data provider metadata for WMS and WCS

* move HTML bullet list to QgsHtmlUtils
2017-12-13 13:29:41 +02:00
Nyall Dawson
ebe16f153f Update API breaks docs 2017-11-29 10:10:59 +10:00
Nathan Woodrow
01d1be9d70 Update API break docs 2017-11-27 14:52:36 +10:00
Alessandro Pasotti
58f559690e Add changed return values to api break 2017-11-24 13:41:25 +01:00