61 Commits

Author SHA1 Message Date
Peter Petrik
d43f6376eb [MDAL] update MDAL to 0.1.0 (new API) 2018-12-07 15:54:16 +01:00
Nyall Dawson
08abf92922 Explicitly disable debug messages in dwg import
Even preventing their output isn't enough here. There's just
SO many debug msgs throughout this class, that creating and
parsing the debug messages strings (which is done even if
the message level is higher than is output) is enough
to grind the import to a halt on debug enabled builds.
2018-11-10 09:27:06 +10:00
Nyall Dawson
8bf206d221 Make dwg import less debug noisy 2018-11-10 09:27:06 +10:00
Nyall Dawson
87f5c0c0d4 [o2] Avoid a misleading console error output 2018-10-26 07:20:47 +10:00
Alessandro Pasotti
e5ba558617 Fix error return-std-move
std::move should not be used here because
it prevents RVO (copy elision) and it's
considered an anti-pattern.

To fix the original warning the returned
type must match the declared return
type or copy elision will not be possible
(and the warning will be triggered).
2018-10-11 08:33:18 +02:00
Denis Rouzaud
94a7d9db66
fix local variable will be copied despite being returned by name (#8157)
this is an error with clang 7
note: call 'std::move' explicitly to avoid copying
2018-10-10 05:33:54 -08:00
Peter Petrik
618ed2e733 add recognision of ECMWF_ERA to MDAL 2018-10-05 14:22:21 +02:00
Peter Petrik
9acc5c1010 [mesh] update to MDAL 0.0.9 (NetCDF Support) 2018-10-05 14:22:21 +02:00
Larry Shaffer
81f9e6dfec
[opencl] Add FindOpenCLhpp CMake module; vendor cl2.hpp; fixup includes
CL/cl2.hpp, which the OpenCL support is based upon, is not always
included with OpenCL on some platforms, e.g. Mac, or not readily
available as a package. This work adds a CMake module specifically for
finding cl2.hpp, as installed by OpenCL-CLHPP project.

If not found, but standard OpenCL lib and headers are, the vendored
cl2.hpp in external/opencl-clhpp is used, as it needs no compilation.

- Only the cl2.hpp, license and README are vendored from OpenCL-CLHPP.

- Fix up referenced includes in other CMake targets, to ensure the
includes for OpenCL are specifically added (previously, they were
sometimes found in existing include directories of other dependencies).

- Fixup for standard FindOpenCL module not assinging proper framework
headers directory for Mac.
2018-09-30 20:05:12 -06:00
Peter Petrik
74c9925448 update MDAL to 0.0.8 (fix projection issue) 2018-09-24 11:04:50 +02:00
Nyall Dawson
1d8dbda6a1 [win] Fix some warnings 2018-09-17 11:39:45 +10:00
Matthias Kuhn
195539d7d3
Merge pull request #7913 from m-kuhn/filenmode
Fix file mode
2018-09-16 15:21:47 +02:00
Matthias Kuhn
e306aaaaef
Fix file mode 2018-09-16 14:18:39 +02:00
Salvatore Larosa
4ca8b4c29d fix build on osx 2018-09-10 23:12:00 +02:00
Peter Petrik
97c95803c6 update MDAL to 0.0.7 (3di support, projections support, bugfixes) 2018-09-11 06:00:41 +10:00
Juergen E. Fischer
1f918583e8 debian packaging: include Qt53DExtra headers removed on debian/ubuntu 2018-09-05 00:47:15 +02:00
Salvatore Larosa
828061b709 fix build on osx 2018-09-03 22:30:05 +02:00
Peter Petrik
99a6f12ba3 update MDAL to 0.0.6 2018-09-03 19:41:07 +10:00
Juergen E. Fischer
cf728275f1 fix yo-yo warning (followup 5e37e824, 18dbf031, 2ed144ac) 2018-08-09 08:36:55 +02:00
Nyall Dawson
8876270c9f [win] Use native desktop notifications for prettier notifications 2018-08-08 03:51:16 +10:00
Matthias Kuhn
c60efaf039 Remove double semicolon 2018-08-06 11:09:49 +02:00
Matthias Kuhn
ea70bb4265 Add semicolon to clang::fallthrough define 2018-08-06 11:08:12 +02:00
Matthias Kuhn
ebe382870f Add missing semicolon 2018-08-06 10:34:32 +02:00
Matthias Kuhn
00fbd412d8 Fix clang fallthrough for libdxfrw 2018-08-06 10:22:12 +02:00
Salvatore Larosa
02ddffede4 fix build on osx 2018-07-19 19:44:45 +02:00
Peter Petrik
f54a23e3c4 restore fixes for MS build 2018-07-19 11:30:52 +02:00
Peter Petrik
245d6e29ff update MDAL to 0.0.5 2018-07-19 11:30:52 +02:00
Juergen E. Fischer
a5c399e377 fix 97d28d4c6d 2018-07-17 00:33:42 +02:00
Juergen E. Fischer
97d28d4c6d fix warning 2018-07-16 22:37:37 +02:00
Juergen E. Fischer
5d11388d13 fix msvc build 2018-07-16 22:32:11 +02:00
Juergen E. Fischer
6551913aa4 qspatialite: 'update' qt5 port (fixes #19419) 2018-07-16 22:10:57 +02:00
Salvatore Larosa
5a36a33bef fix build on osx 2018-07-16 12:20:59 +02:00
Peter Petrik
14fa499ed3 [mesh] [MDAL] update to 0.0.4: add support for GRIB and XMDF formats 2018-07-16 09:15:16 +02:00
Nyall Dawson
66c17880be Modify kdbush to store feature id alonside point, for optimised storage/retrieval 2018-07-07 10:54:47 +10:00
Nyall Dawson
0df1056dd4 [FEATURE] QgsSpatialIndexKDBush
A very fast static spatial index for 2D points based on a flat KD-tree,
using https://github.com/mourner/kdbush.hpp

Compared to QgsSpatialIndex, this index:
 - supports single point features only (no multipoints)
 - is static (features cannot be added or removed from the index after construction)
 - is much faster!
 - supports true "distance based" searches, i.e. return all points within a radius
from a search point
2018-07-07 10:54:47 +10:00
Nyall Dawson
5ec617366b Revert changes to gmath.h 2018-06-30 09:24:38 +10:00
rossia
53dbca2a35 [FEATURE] GPS acquisition interval and distance threshold options
Adds an acquisition interval parameter and a distance threshold
parameter to the gps plugin in order to keep the cursor still when
the receiver is in static conditions.
2018-06-30 09:24:38 +10:00
Juergen E. Fischer
212cffcab1 Port gps support to QSerialPort (byebye QExtSerialPort) 2018-06-28 17:31:01 +02:00
Alessandro Pasotti
d54f5b2c2c [oauth2] Add o2 library as external 2018-06-25 11:39:52 +02:00
Nyall Dawson
4bb572f4d0 Move licensecheck to external folder 2018-06-04 11:30:32 +10:00
Matthias Kuhn
f33a2d0e6b Fix mdal build warning unused const var 2018-05-25 08:46:01 -04:00
Peter Petrik
bfbc64ce6c update to MDAL 0.0.3 2018-05-16 12:37:23 +02:00
Peter Petrik
1efdbc5c20 fix build errors, use MDAL 0.0.2 (int API) 2018-04-19 16:42:01 +02:00
Peter Petrik
50422a1165 [FEATURE] QgsMeshLayer part 1: Reading raw mesh
Introducting MDAL, QgsMeshLayer, mesh data providers (mesh_memory, mdal)
to read and visualize raw meshes: vertices and faces. Support dragging
2dm files from browser on canvas to visualize 2dm meshes.
Support for QgsMeshLayer in Python API.
2018-04-19 10:50:33 +02:00
Juergen E. Fischer
222e45b838 allow builds with DEBUG macro defined 2018-04-11 23:19:55 +02:00
luz.paz
2a6ae6ac96 Misc. source and comment typos
These need a little more review, so I added them in to a separate PR.
2018-03-12 14:32:17 +11:00
Denis Rouzaud
3205c96af6
Merge pull request #6275 from 3nids/messagelevel
unite QgsMessageLog::Level and QgsMessageBar::MessageLevel in Qgis::MessageLevel
2018-02-06 05:28:17 -09: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
Nyall Dawson
3e1b99be69 Remove a bunch of Qt4 compatibility code 2018-02-06 22:39:42 +11:00
lbartoletti
124e26815d Standardize shebangs (was Usr bin env) (#6229)
* Use portable /usr/bin/env/{perl,python} instead of /usr/bin/{perl,python}

* fix perl;add bash

* Fix indentation using modified scripts

* Revert "fix perl;add bash"

This reverts commit be8b9113c25f7c2fb9c8c9bad556fbca2f0c0ba2.

* python3 everywhere

* more bash

* rebase
change perl

* Linux perl; missing from last PR

* fix doxygen_space

* Use portable /usr/bin/env/{perl,python} instead of /usr/bin/{perl,python}

* fix perl;add bash

* Fix indentation using modified scripts

* Revert "fix perl;add bash"

This reverts commit be8b9113c25f7c2fb9c8c9bad556fbca2f0c0ba2.

* python3 everywhere

* more bash

* rebase
change perl

* fix doxygen_space
2018-02-05 03:38:02 -09:00