Nyall Dawson
be5d2979b9
Fix some Clazy detaching container warnings
...
(not all are valid, but at worst this flips some more
Q_FOREACH uses to c++11 for loops)
2017-08-29 18:04:29 +10:00
Martin Dobias
51e7efe218
Replace QString::null by QString() in core (deprecated since Qt 5.9)
2017-06-06 11:36:41 +02:00
Juergen E. Fischer
a10c890383
More QgsSettings updates:
...
* revives WMS
* QgsSettings::clear() added
* section added to QgsSettings::contains()
* type parameter added to sip binding of QgsSettings.value()
* TODO: customization & evis
2017-03-04 02:37:59 +01:00
Denis Rouzaud
40c056cae0
run astyle on src/core
2017-03-03 09:09:37 +01:00
Nyall Dawson
7daa4b591e
Fix a bunch of suggestions from clang-tidy
...
And add a new CLANG_TIDY_EXE cmake option. If this is set to the
path to the clang_tidy executable then a bunch of clang-tidy
checks will be run during compilation.
2017-02-21 08:49:29 +10:00
Nyall Dawson
7619cba438
Fix/avoid Coverity null pointer dereference warnings
2017-02-03 09:28:02 +10:00
Nyall Dawson
48e72999ab
Cleanup QgsProjectProperty headers and docs
2017-01-02 15:20:08 +10:00
Nyall Dawson
89cfa68369
Rename QgsProperty to QgsProjectProperty
...
and QgsPropertyKey/Value to QgsProjectPropertyKey/Value
The QgsProperty names are too generic to be used in this
context
2017-01-02 13:09:20 +10:00
Nyall Dawson
2a34af8bd1
Optimise destructors (pt 2)
2016-12-30 15:48:07 +10:00
Nyall Dawson
4166a3ea62
Fix most clazy qstring-unneeded-heap-allocations warnings
...
By flipping string literals to QStringLiteral/QLatin1String
see
https://woboq.com/blog/qstringliteral.html
2016-10-24 15:26:24 +10:00
Matthias Kuhn
54b953f433
Cleanup and modernize QgsProject code
2016-10-23 20:54:41 +02:00
Juergen E. Fischer
b51e3c7ca6
fix warning
...
(cherry picked from commit cd3adc077eda76f1503ed7d4e29b1b2e41218d47)
2016-10-10 00:47:14 +02:00
Nyall Dawson
4cfacf14e3
Make API more consistent
...
- rename methods with XML to Xml, CRS to Crs, WMS to Wms, ID to Id
- rename methods with SRS to Crs
- rename methods with abbreviations like "dest" to "destination"
- rename methods with abbreviations like "src" to "source"
2016-07-21 08:40:50 +10:00
Matthias Kuhn
9c0a291046
Deprecate QgsProject::dirty( bool ) in favor of QgsProject::setDirty
2016-04-05 14:47:56 +02:00
Nyall Dawson
5ed3d1b73f
Use QString::arg multi argument method to avoid extra heap allocations
2015-10-15 17:51:06 +11:00
Juergen E. Fischer
9752c468c1
indentation update
2015-07-29 11:52:14 +02:00
Denis Rouzaud
9e3183c63f
Revert "sort includes"
...
This reverts commit 2b7d3d3c73b50ba6dc74abec6dd652ff1b87c0ec.
2015-06-10 14:54:47 +02:00
Denis Rouzaud
2b7d3d3c73
sort includes
2015-06-10 13:59:08 +02:00
Nyall Dawson
8ee8fc54d9
Avoid some unnecessary dynamic_casts in QgsProject
...
...fixes Coverity warning
2015-02-18 17:35:47 +11:00
Juergen E. Fischer
190c0511bc
fix most cppcheck warnings and implement suggestions
...
also update and sync some sip interfaces
2014-01-05 16:11:36 +01:00
Juergen E. Fischer
0a1d44fc63
make qgis_app a shared library and fix some more stl warnings with msvc
2013-09-07 00:22:10 +02:00
Juergen E. Fischer
5a6d3cebcc
remove svn Id tags
2011-05-26 23:05:55 +02:00
jef
721cc0f23e
fix crash
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@15160 c8812cc2-4d05-0410-92ff-de0c093fc19c
2011-02-12 16:28:08 +00:00
jef
f19c7aac24
doxygen fixes
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@14319 c8812cc2-4d05-0410-92ff-de0c093fc19c
2010-09-30 22:53:18 +00:00
jef
dd188914cd
reduce debug output noise when not debugging
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@10658 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-04-26 22:56:23 +00:00
jef
4b46398bc4
astyle re-indentation & iostream=>QgsDebugMsg migration cleanup
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@9138 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-08-23 21:37:31 +00:00
jef
31327f51fd
Merged rest of composer branch (9087-9115)
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@9125 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-08-23 09:19:49 +00:00
telwertowski
784ce74d40
Remove use of Qt3 support inline routines which redirect old Qt3 names to new Qt4 names. Remove USE_QT3SUPPORT from top-level CMakeLists and add it to GRASS provider/plugin CMakeLists so that all use of Qt3 names and libraries is limited to these two directories.
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@8630 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-06-09 03:30:50 +00:00
telwertowski
21708a56fb
Remove all use of Qt3 compatibiliy routines except for the GRASS provider/plugin. Automatic casts of QString to char* have also been removed for compatibility with Qt/Mac-Cocoa (64-bit).
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@8406 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-05-07 05:15:58 +00:00
timlinux
451230ed5c
Fixed compiler warnings:
...
- for potentially unintialised vars I set them all to 0, NULL or some similar default
- grass has some warnings for multiple definitions of NDEBUG - Ive disabled warnings on
all files relying on grass headers - and submitted a bug to grass.
git-svn-id: http://svn.osgeo.org/qgis/trunk@7059 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-07-04 15:43:44 +00:00
wonder
46a2d125a2
Merged refactoring branch back to trunk.
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@6415 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-01-09 02:39:15 +00:00
g_j_m
80821514d6
Applied patches r5669, r5668, r5667, r5666, as applied to the
...
lib-refactoring branch, to head. These were signed/unsigned int mods
and boolean comparison mismatches. Many of the changes in these
commits had already been done in head
git-svn-id: http://svn.osgeo.org/qgis/trunk@5681 c8812cc2-4d05-0410-92ff-de0c093fc19c
2006-08-10 10:51:04 +00:00
g_j_m
452f1668bc
Remove lines inside #ifdef QT_VERSION < 0x0400000
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@5608 c8812cc2-4d05-0410-92ff-de0c093fc19c
2006-07-17 05:26:48 +00:00
timlinux
581b0a19b1
Refactored libqgis into two roughly inequal parts.
...
libqgis_core is intended to have non gui code
libqgis_gui is intended to have gui related code
Updated makefiles and code throughout in order for it to build with this new arrangemetn
Code in src/ will be moved into src/gui in a follow up commit
git-svn-id: http://svn.osgeo.org/qgis/trunk@4502 c8812cc2-4d05-0410-92ff-de0c093fc19c
2006-01-08 01:18:20 +00:00