22 Commits

Author SHA1 Message Date
Juergen E. Fischer
a90be95f7b sip sync 2016-02-14 03:50:49 +01:00
Nyall Dawson
c3a57434d9 Fix clazy 'pass small and trivially-copyable type by value' warnings 2016-02-02 19:47:21 +11:00
Nyall Dawson
24d9c65494 Fix more classes which violate the rule-of-three
Also remove some empty destructors
2016-01-26 14:24:45 +11:00
Juergen E. Fischer
ae52aabd70 more spelling fixes 2016-01-24 20:16:28 +01:00
Nyall Dawson
9cc9d424ce Add extra check for deprecations to documentation test
This check tests that if a function has been declared deprecated
with either Q_DECL_DEPRECATED or has a @deprecated Doxygen note
then it MUST have both the Q_DECL_DEPRECATD and @deprecated note.

It's important that both are used, as Q_DECL_DEPRECATED allows
throwing a warning if that method is used in code, while the
@deprecated doxygen note gives an indication to devs/PyQGIS users
of why it's deprecated and what should be used instead.

Ideally we'd also test for SIP /Deprecated/ tags, but I can't
find any reliable way to do this.
2015-12-07 21:55:36 +11:00
Juergen E. Fischer
9752c468c1 indentation update 2015-07-29 11:52:14 +02:00
Juergen E. Fischer
0593ef6a26 rename new QgsSnapper::snapPoint method to snapMapPoint and restore python name
of deprecated old version (fixes #12153)
2015-02-09 01:15:07 +01:00
Juergen E. Fischer
abd4a04399 sip update 2015-02-03 02:21:52 +01:00
Juergen E. Fischer
c4c131ef75 sip sync 2014-05-27 23:32:42 +02:00
Martin Dobias
5a4f8d07a0 Change "added/deprecated in 2.1" notes to 2.4 for stuff related to threading 2014-02-21 17:33:09 +07:00
Martin Dobias
2bece090f5 Update Python bindings to match changes in core/gui libraries. 2013-12-05 18:27:45 +07:00
Juergen E. Fischer
3854086d47 sip update 2013-06-23 16:00:24 +02:00
Juergen E. Fischer
71c5d4cff9 sip fixes 2012-09-26 17:56:27 +02:00
Juergen E. Fischer
f3cb57b1eb SIP bindings update:
- update methods of existing classes
- add comment to methods missing in the sip bindings
- split up collective sip files into single files and use
  same directory structure in python/ as in src/
- add a lot of missing classes (some might not make sense because of
  missing python methods in those classes)
- remove some non-existing methods from the header files
- add scripts/sipdiff
- replace some usages of std::vector and std::set with QVector/QSet
2012-09-24 02:42:57 +02:00
jef
cbf1a50bd6 fix common typos
git-svn-id: http://svn.osgeo.org/qgis/trunk@12528 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-12-20 12:29:07 +00:00
wonder
2b08dfda2b Added possibility to express tolerances for digitising also in pixels in addition to map units. Patch contributed by Richard Kostecky.
git-svn-id: http://svn.osgeo.org/qgis/trunk@10478 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-04-05 16:46:13 +00:00
wonder
e9f6cecda8 PyQGIS: fixed QgsSnapper / QgsMapCanvasSnapper bindings
git-svn-id: http://svn.osgeo.org/qgis/trunk@9671 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-11-19 20:03:30 +00:00
wonder
43bf222968 - QgsSnapper: use one list of QgsSnapper::SnapLayer structs rather than three separate lists
- PyQGIS: finished QgsSnapper binding, added QgsMapCanvasSnapper


git-svn-id: http://svn.osgeo.org/qgis/trunk@9657 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-11-17 17:20:21 +00:00
timlinux
adc0124db6 API tidy ups for qgssnapper
git-svn-id: http://svn.osgeo.org/qgis/trunk@9542 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-10-24 23:22:44 +00:00
timlinux
fb674886b7 renamed misnamed QgsMapRender (verb) to QgsMapRenderer (noun) as part of cleanups for 1.0.0 release. Updated all related dependencies. Also removed some spurious debug messages
git-svn-id: http://svn.osgeo.org/qgis/trunk@8997 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-08-05 21:11:58 +00:00
mhugent
b849af0745 Fix for bug #1096 Snapping to currently moved vertex should be suppressed
git-svn-id: http://svn.osgeo.org/qgis/trunk@8477 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-05-21 05:59:04 +00:00
wonder
3264ac5289 Fixes compilation of bindings, added wrapper for QgsSnapper.
git-svn-id: http://svn.osgeo.org/qgis/trunk@7893 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-01-09 21:54:36 +00:00