399 Commits

Author SHA1 Message Date
Matthias Kuhn
bb6fda6cd6 Bump minimum spatialite version to 4.2 2017-11-16 07:57:41 +01:00
Juergen E. Fischer
a1024905bf fix windows warnings 2017-11-07 21:44:54 +01:00
Nyall Dawson
5ebd3983fd FreeBSD has thread_local support 2017-11-07 10:33:05 +10:00
Nyall Dawson
265be41d7c Don't use thread_local on mingw or OpenBSD builds
MingW has broken support for thread_local, so force disabling it
see
https://sourceforge.net/p/mingw-w64/bugs/445/
https://sourceforge.net/p/mingw-w64/bugs/527/
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80816

also OpenBSD has no thread_local support, see https://issues.qgis.org/issues/17351

So on these platforms we fall back to using QThreadStorage.

Fixes #17351
2017-11-06 09:20:12 +10:00
Richard Duivenvoorde
d09331e483 adding WITH_CLANG_TIDY as advanced, so you can build without it even if installed 2017-10-27 14:43:36 +02:00
Tim Sutton
0a615b6022 Update cmake contact to use info@qgis.org instead of my email (#5470) 2017-10-26 22:50:10 +02:00
Larry Shaffer
c66de14055 [auth] Add PKCS8 to PKCS1 key conversion for macOS (deps on libtasn1)
See description of QgsAuthCertUtils::pkcs8PrivateKey.

This fix may be needed on other platforms (untested at this point),
because Qt5 QSslkey class *still* does not directly support creation
using non-PKCS1 PEM- or DER-encoded data, though QCA, whose qca-ossl
plugin is linked to OpenSSL, does support PKCS1 and PKCS8.
2017-10-18 16:07:04 -06:00
Etienne Trimaille
2b742c7daf bump to Qt 5.9 for the 3D 2017-10-11 12:13:19 +02:00
Martin Dobias
041704e572 Require Qt >= 5.8 when 3D support is enabled 2017-09-27 13:58:49 +02:00
Martin Dobias
ba7573a94e GUI for configuration of 3D polygon symbols for vector layers
In the style dock there is a new "3D View" tab - so far working just for polygon layers.
It is possible to select a polygon layer, enable 3D renderer and adjust its properties.
If a 3D Map View is open, it will be immediately updated (if auto-apply is enabled)

Very exciting! :-)
2017-09-15 10:39:07 +02:00
Martin Dobias
675a1ae5bc Import of initial work on QGIS 3D framework from wonder-sk/qgis3d 2017-09-15 10:38:23 +02:00
Larry Shaffer
bd292b5fce Set CMake 3.9 policy for macOS RPATH settings to NEW 2017-09-13 21:56:58 -06:00
Nyall Dawson
9b2e60ee1b Remove use of old CMP0005 CMake policy
Since it's deprecated on newer CMake versions
2017-08-29 13:37:06 +10:00
Juergen E. Fischer
03e0298f49 msvc warning fixes:
* use AUTORCC to avoid locked qrc_images.cpp during build of gui tests
* bump minimum version of cmake to 3.0.0 for AUTORCC
* suppress some warnings in sip bindings
* suppress unreachable warnings and some more
* split sip files in more parts to suppress warning BK4504
* also remove old WITH_INTERNAL_YAML from travis
2017-08-10 00:09:14 +02:00
Juergen E. Fischer
5f87bd8643 msvc: suppress some warnings 2017-08-06 16:29:54 +02:00
Blottiere Paul
5eba29e743 Add libzip as dependency 2017-07-31 11:09:14 +01:00
Radim Blazek
eb6301e023 [GRASS] remove GRASS 6 support 2017-07-12 17:51:03 +02:00
Martin Dobias
a8cceff0fc Make it possible to build just core lib and providers: -DWITH_GUI=FALSE
This is useful in some cases when working on a third party app/script
that only uses qgis_core. For example, I am working on qgis 3D project
and it is useful to be able to build QGIS core lib with custom Qt version
without having to spend too much time building what I do not need.
Also may be useful for QField to simplify the build of QGIS as a dependency
(no QScintilla, Qwt) and avoid bits of code in providers that would not
be used anyway.

No real source code changes, just configuration changes, mainly in providers.
2017-07-07 11:38:03 +02:00
Sandro Santilli
eddf23c381 Make the check rule use xvfb-run, drop check-no-x
I see no reason for anyone wanting to see popping windows during
a `make check` run. Closes #12172.
2017-06-06 12:39:35 +02:00
Denis Rouzaud
fa5bd491fc run code_layout build from top CMakeLists
instead of adding an extra CMakeLists in .ci/travis/code_layout to build API doc, astyle and run tests (indentation, spelling, sip, doc coverage), the top CMakeLists has been adapted to allow not building core libraries and possibly just the static code layout
* astyle has been moved from /src/astyle to /lib/astyle (I would propose to move all external libraries, and possibly add git submodules)
2017-06-05 22:19:20 +02:00
Denis Rouzaud
281daee0ba run Doxygen and doc coverage test on static Travis config 2017-06-05 22:19:20 +02:00
Denis Rouzaud
6575a60ae2 remove useless Python version variable 2017-05-29 15:35:14 +02:00
Matthias Kuhn
d1593caed7 Create a virtual QgsNative base class for platform services
A QgsNative base class is added, that offers default implementations for
a platform interface. These methods can be overridded for the current
platform at compile time to allow specialized handling for integration
with the current system.
2017-05-15 09:15:09 +10:00
Larry Shaffer
f6bd7b3b58 Add OS native interface lib, with objective-c++ interface to Mac Cocoa libraries 2017-05-15 09:15:09 +10:00
Alessandro Pasotti
090d5305e5 [feature][needs-docs] Master Password integration with OS password manager
This PR adds (optional) synchronization of the master password
with the OS password manager (AKA wallet/keychain).

A set of new menu items has been added in the options ->
authentication -> utilities to manage the new behavior.

Notifications are handled by the message bar unless the
password r/w operation is triggered from a modal dialog,
in this case the notifications will be routed through
the recently exposed QgisApp::showSystemNotification
that uses the OS tray notifications.

This new feature requires libqt5keychain, and was tested
with v. 0.5+
2017-04-11 15:00:29 +02:00
Chris Mayo
d50930c638 Add option to select building Georeferencer plugin
If selected require GSL to be installed
2017-03-04 17:23:32 +01:00
Matthias Kuhn
2b8487d28b Indentation fix 2017-02-24 11:10:11 +01:00
Andreas Sturmlechner
f9a064310a Don't link to QtWebKit when it's disabled 2017-02-24 11:10:11 +01:00
Denis Rouzaud
ccfbaf82f0 run spelling and indentation test on another Travis build (#4180) 2017-02-23 20:08:34 +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
Juergen E. Fischer
74df8754f9 remove standalone browser 2017-02-20 15:14:00 +01:00
Matthias Kuhn
35d9b83aa5 Merge pull request #4138 from nyalldawson/touch
Rework map touch tool
2017-02-16 12:00:16 +01:00
Matthias Kuhn
dccf010a13 Fix building with -DWITH_BINDINGS=OFF 2017-02-14 16:24:02 +01:00
Nyall Dawson
c26ed69c6b Rework map touch tool
Qt5 allows runtime detection of touch devices. This commit reworks
the current touch map tool by pulling its behavior into the normal
pan tool when a touch device is detected.

It avoids the need for a seperate map tool for touch interaction,
and also avoids having this tool always appear on the Windows
builds (regardless of the presence of a touch device)
2017-02-12 15:06:24 +10:00
Juergen E. Fischer
6a56cb0dd0 updates and fixes for windows qt5/py3 build 2017-01-24 01:25:59 +01:00
Denis Rouzaud
0a63d1f2c2 [spellcheck] properly look into various cases and add more fixes" 2017-01-16 16:39:20 +01:00
Denis Rouzaud
6c74e4ea5d spelling fixes 2017-01-12 22:01:50 +01:00
David Marteau
891e163c71 Fix DEFAULT_SERVER_MODULE_SUBDIR in CMakeLists.txt 2017-01-10 14:34:17 +01:00
David Marteau
689f3b1ab2 Expose QgsServerInterface to service modules
* Instanciate QgsServerInterface even if HAVE_SERVER_PYTHON_PLUGINS is
      not defined
    * Pass QgsServerInterface in module registration methods.
    * Add QgsServer initialisation test

 #Please enter the commit message for your changes. Lines starting
2017-01-10 14:34:16 +01:00
David Marteau
89859ef1b6 Server refactoring: Added sample native service module; fixed typo 2017-01-10 14:34:16 +01:00
Matthias Kuhn
6c1677d0a5 Remove *_EXPORT leftovers 2017-01-05 00:12:11 +01:00
Matthias Kuhn
2f35e16e2b Add qgis_customwidgets with CUSTOMWIDGETS_EXPORT macro 2017-01-05 00:12:11 +01:00
Matthias Kuhn
1693140b1c Add qgis_server with SERVER_EXPORT macro 2017-01-05 00:12:11 +01:00
Matthias Kuhn
38a8ddacd9 Add qgis_app.h with APP_EXPORT macro 2017-01-05 00:12:11 +01:00
Matthias Kuhn
d006784ded Add qgis_analysis.h with ANALYSIS_EXPORT macro 2017-01-05 00:12:11 +01:00
Matthias Kuhn
2306c1136a Add qgis_python.h with PYTHON_EXPORT macro 2017-01-05 00:12:11 +01:00
Matthias Kuhn
4c1f178ac9 Add qgis_gui.h with GUI_EXPORT macro 2017-01-05 00:12:11 +01:00
Matthias Kuhn
0302719cf0 Add qgis_core.h to with CORE_EXPORT macro
This removes complexity from the compiler flags because defines
happen in a file.
2017-01-05 00:12:11 +01:00
Larry Shaffer
5df9cbc964 Remove Python framework options/finding for Mac; add Homebrew support
Instead of finding Python interpreter, library and framework on Mac,
rely upon the reported paths of the interpreter (executable) to decipher
whether a framework is being used, then ensure any such framework has
its versioned subdirectory Headers used for includes and the base
Python library used directly in linking. This removes ambiguity in
framework searching, allowing just the PYTHON_EXECUTABLE (user-defined
or from FindPythonInterp module) to control which Python is used.
2016-11-20 15:30:12 -07:00
Matthias Kuhn
fba53db785 Followup a6a4f2ed: clean pre-cxx-11 garbage 2016-10-20 14:55:18 +02:00