34 Commits

Author SHA1 Message Date
Nyall Dawson
49b426d951 Make doxygen_space script convert multiline //! comments
Because:
- the /** format is much more prevalent throughout QGIS
- sipify works correctly with /**
2017-10-06 07:55:52 +10:00
Nyall Dawson
31c1ae1c6a Add missing QStringLiterals 2017-09-25 17:12:03 +10:00
Nyall Dawson
2716127969 Remove more unnecessary destructors, flip empty constructors to =default 2017-09-11 21:25:29 +10:00
Nyall Dawson
8c64d80a07 (q)floor -> std::floor 2017-08-25 03:12:36 +10:00
Nyall Dawson
32326ab5df Replace "python" with "Python" in docs 2017-04-03 08:33:56 +10:00
Denis Rouzaud
dccf8c9e13 run astyle on src/app 2017-03-03 09:09:37 +01:00
Denis Rouzaud
7812d4fb17 remove the-prefix from source code
this might result in variables having the same name as some methods
2017-02-21 18:14:58 +01:00
Nyall Dawson
d19e70700f Ensure all pointer variables are initialized to nullptr 2017-02-18 20:23:18 +10:00
Nyall Dawson
b5480633e4 Standardise names for static variables
All non-const variables are prefixed with "s", all const
statics are ALL_CAPS
2017-01-14 16:40:24 +10:00
Matthias Kuhn
38a8ddacd9 Add qgis_app.h with APP_EXPORT macro 2017-01-05 00:12:11 +01:00
Nyall Dawson
af55c022b2 Followup 4166a3, don't use QStringLiteral in definitions
Causes linker errors in some random cases
2016-10-25 08:34:00 +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
Nyall Dawson
c6df096c38 Followup c49b5b7, more fixes 2015-10-07 18:32:24 +11: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
Borys Jurgiel
039ae69507 [Plugin Manager] Make appropriate methods const 2013-06-10 20:55:08 +02:00
Borys Jurgiel
f54d979106 [Plugin Manager] Maximum major, minor and bugfix version is 99.99.99. Be consistent with this constraint. 2013-06-10 11:16:01 +02:00
Borys Jurgiel
5c50e2a6c0 Check qgsMaximumVersion also when loading plugin to QgsPluginRegistry 2013-06-09 23:07:47 +02:00
Borys Jurgiel
fa9d79fab3 [Plugin Manager] remove the old plugin_installer plugin 2013-06-05 21:32:12 +10:00
Borys Jurgiel
55fd57ee25 New Plugin Manager 2013-06-05 21:32:08 +10:00
Juergen E. Fischer
5a6d3cebcc remove svn Id tags 2011-05-26 23:05:55 +02:00
timlinux
76a09b2546 [FEATURE] Added option to load c++ plugins from user specified directories. Requires application restart to activate.
git-svn-id: http://svn.osgeo.org/qgis/trunk@15250 c8812cc2-4d05-0410-92ff-de0c093fc19c
2011-02-23 21:10:52 +00:00
jef
39b28ed518 automatic indentation update (r10457-r10488)
git-svn-id: http://svn.osgeo.org/qgis/trunk@10489 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-04-06 18:46:07 +00:00
mhugent
846a43c658 Merge vector overlay branch (diagram plugin)
git-svn-id: http://svn.osgeo.org/qgis/trunk@10484 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-04-06 11:53:45 +00:00
jef
6fbda00825 automatic indentation update (r9447-r9780)
git-svn-id: http://svn.osgeo.org/qgis/trunk@9781 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-12-13 11:07:45 +00:00
wonder
f5e577c2e3 Allow loading only compatible plugins, i.e. plugins implementing qgisMinimumVersion() metadata.
Incompatible plugins are disabled and can't be selected in plugin manager.

Example of new metadata: (plugin's __init__.py)

def qgisMinimumVersion():
  return "1.0"


git-svn-id: http://svn.osgeo.org/qgis/trunk@9652 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-11-17 15:35:45 +00:00
wonder
e151de86a9 Moved plugin loading from QgisApp to QgsPluginRegistry
git-svn-id: http://svn.osgeo.org/qgis/trunk@9630 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-11-12 21:38:12 +00:00
jef
5fb69d1ad0 automatic indentation update (r9447-r9610)
git-svn-id: http://svn.osgeo.org/qgis/trunk@9611 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-11-09 10:34:03 +00:00
wonder
4ff166a3a4 - QgsPluginRegistry - metadata stored in QMap
- address plugins by their unique name:
  - library's basename for c++ plugins
  - module name for python plugins
(before plugins were addressed by their name, causing ambiguity)

- general cleanups in plugin handling



git-svn-id: http://svn.osgeo.org/qgis/trunk@9526 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-10-23 13:39:22 +00:00
jef
5a68ac12b0 automatic indentation update (r9447-r9517)
git-svn-id: http://svn.osgeo.org/qgis/trunk@9518 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-10-22 08:56:03 +00:00
wonder
43f259626a Call unload() on QGIS exit also for python plugins.
git-svn-id: http://svn.osgeo.org/qgis/trunk@9511 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-10-21 17:54:10 +00:00
jef
299c535702 unload plugins on quit (fixes #808)
git-svn-id: http://svn.osgeo.org/qgis/trunk@9249 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-09-02 18: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
telwertowski
acdbb66ac4 Change all remaining Qt include filenames from qxxx.h to QXxx and adjust other Qt include statements as necessary. (GRASS provider/plugin not changed since it hasn't been updated from Qt3 to Qt4 yet.)
git-svn-id: http://svn.osgeo.org/qgis/trunk@8439 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-05-15 02:01:03 +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