105 Commits

Author SHA1 Message Date
Peter Petrik
6e2ef1544f push MDAL 0.4.93 RC1 for 3.12 release with fixed bug in reading of reference time 2019-12-14 05:31:53 +10:00
Peter Petrik
4988468e26 update to MDAL 0.4.92, second beta release for QGIS 3.12. it speeds up and optimize memory usage by allowing QGIS to check if driver/dataset uses active flag or not 2019-12-12 08:37:55 +01:00
Nyall Dawson
a9d02dab8b Update poly2tri external library (minor changes only) 2019-12-06 04:51:48 +10:00
Nyall Dawson
a6c563c6cb Update kdbush external module 2019-12-06 04:51:48 +10:00
Nyall Dawson
382098e188 [gps] Don't treat n/a values as '0'
Avoids reporting things like an unavailable heading as a real "0" heading
2019-12-06 04:50:53 +10:00
Nyall Dawson
6b5f983ad6 [gps] Add support for GPHDT heading from true north messages 2019-12-06 04:50:53 +10:00
Nyall Dawson
07915f7af7 [gps] Support GNGSV messages 2019-12-06 04:50:53 +10:00
Nyall Dawson
2234d92be6 [gps] Support GNGSA messages 2019-12-06 04:50:53 +10:00
Nyall Dawson
299c61292b [gps] Support GNGGA nmea messages 2019-12-06 04:50:53 +10:00
Peter Petrik
8aa0c28070 update MDAL to 0.4.91 (alpha release of 0.5.0 for QGIS 3.12) - stacked meshes 3d 2019-12-05 07:08:50 +01:00
Peter Petrik
679e75e13c update MDAL 0.4.0 2019-10-25 17:59:53 +02:00
Juergen E. Fischer
94fa3c44e0 dwg/dxf import:
* fix orientation of TEXT entities
* also clean TEXT strings
* support non-origin-based blocks
* support extrusion
2019-10-25 14:22:53 +02:00
Nyall Dawson
9af5a531b1 [o2] If an o2 auth refresh reply contains an error message, then
the refresh was NOT successful and we need to unlink the auth so
that a new login will be prompted

Fixes connections to ESRI portal fail after refresh token expires
on the server
2019-09-12 04:12:59 +10:00
Juergen E. Fischer
650f79617c fix windows build (includes update to inja.hpp 57ac9b93725cb) 2019-08-07 18:03:56 +02:00
Alessandro Pasotti
92ac7a2e93
[server] Server api and WFS3 (#10016)
Implementation of OGC API and WFS3 core draft specification
2019-08-06 16:38:21 +02:00
Alessandro Pasotti
063d29b256
Add NMEA GST Message for GPSInformation.Accuracies (#30274)
* Update sentence.h

* Update sentence.h

* Update sentence.h

* Update sentence.c

* Update parse.h

* Update parse.h

* Update sentence.h

* Update parse.c

* Update qgsnmeaconnection.cpp

* Update qgsnmeaconnection.cpp

* Update qgsnmeaconnection.cpp

* Update info.h

* Update qgsnmeaconnection.h

* Update qgsnmeaconnection.h

* Update parse.c

* Update parse.c

* Update parse.c

- Corrected Buffer Sizecomparison to 6
- defined Variable for buffer_size

* Astyle

* Fix docstrings
2019-06-25 09:41:29 +02:00
Nyall Dawson
49731f21ec Add note about new nmea upstream 2019-06-24 19:29:02 +10:00
Peter Petrik
f33ebc8100 update to MDAL 0.3.3 2019-05-28 06:14:34 +10:00
Nyall Dawson
9cde65457b Ensure correct thread locale QgsNetworkAccessManager is used during
o2 requests

Otherwise the main thread manager is always used, resulting in
lots of warnings and potential crashes
2019-05-12 15:00:25 +10:00
Nyall Dawson
ba8f8e3f07 [o2] A new refresh_token is not a mandatory part of the response
after requesting a refresh

The server will always return a new access_token, but returning
a new refresh_token is optional
2019-05-12 15:00:25 +10:00
Alessandro Pasotti
9a612d4e19
Merge pull request #9832 from elpaso/qjson-nlohmann
Fast (and beautiful) json serializing
2019-05-10 11:33:10 +02:00
Peter Petrik
435b594bbc update to MDAL 0.3.2 2019-05-07 08:52:34 +02:00
Alessandro Pasotti
63711510b6 Dear Qt, I love you but ...
... you are too slow and QJson API is so ugly.

Now using this wonderful json lib:
https://github.com/nlohmann/json

Results in release mode (QJson tests are not shown but
QJson was even slower than string concat).

PASS   : TestQgsJsonUtils::testExportAttributesJson(Use json)
RESULT : TestQgsJsonUtils::testExportAttributesJson():"Use json":
     0.0022 msecs per iteration (total: 75, iterations: 32768)
PASS   : TestQgsJsonUtils::testExportAttributesJson(Use old string concat)
RESULT : TestQgsJsonUtils::testExportAttributesJson():"Use old string concat":
     0.0032 msecs per iteration (total: 54, iterations: 16384)
PASS   : TestQgsJsonUtils::testExportFeatureJson(Use json)
RESULT : TestQgsJsonUtils::testExportFeatureJson():"Use json":
     0.011 msecs per iteration (total: 96, iterations: 8192)
PASS   : TestQgsJsonUtils::testExportFeatureJson(Use old string concat)
RESULT : TestQgsJsonUtils::testExportFeatureJson():"Use old string concat":
     0.015 msecs per iteration (total: 64, iterations: 4096)
PASS   : TestQgsJsonUtils::testExportGeomToJson(Use json)
RESULT : TestQgsJsonUtils::testExportGeomToJson():"Use json":
     0.76 msecs per iteration (total: 98, iterations: 128)
PASS   : TestQgsJsonUtils::testExportGeomToJson(Use old string concat)
RESULT : TestQgsJsonUtils::testExportGeomToJson():"Use old string concat":
     0.85 msecs per iteration (total: 55, iterations: 64)
PASS   : TestQgsJsonUtils::cleanupTestCase()
2019-04-18 17:04:30 +02:00
Peter Petrik
f742044392 update MDAL 0.3.1 2019-04-18 09:52:40 +02:00
Nyall Dawson
cd9fc06f51 Silence cmake CMP0048 warning 2019-03-28 09:46:56 +10:00
Juergen E. Fischer
a7a851727c mdal: fix typo 2019-03-19 20:48:24 +01:00
Peter Petrik
de80192f53 upgrade MDAL to 0.3.0 2019-03-19 08:06:04 +01:00
Juergen E. Fischer
5d9cbe9aca compile QTSignal statically (fixes #21514) 2019-03-09 15:28:18 +01:00
Denis Rouzaud
05756e5386 fix building on Mac
not sure if this is the right way to fix this 
seen here https://github.com/boostorg/process/issues/55#issuecomment-435853519 and mostly here https://github.com/boostorg/process/issues/55#issuecomment-450444271
2019-03-07 14:58:27 +01:00
Juergen E. Fischer
fe5b399294 disable qt-unix-signals on windows (fixes build) 2019-03-06 09:08:46 +01:00
Richard Duivenvoorde
1be124069a libQTSignal not copied to install dir 2019-03-06 02:03:23 +10:00
Nyall Dawson
620db06324 Add external qt-unix-signals library
This library, original taken from https://github.com/sijk/qt-unix-signals
(but a maintained fork exists at https://github.com/nyalldawson/qt-unix-signals),
handles unix signal watching using the Qt libraries.

It allows for detection of signals like SIGINT and SIGTERM,
and allows Qt applications to respond gracefully to these.

Included in external libraries for use in QGIS terminal
applications.
2019-03-05 18:43:02 +10:00
Peter Petrik
b981c8a895 update to MDAL 0.2.0 (friendly release for QGIS 3.6) 2019-02-20 16:51:06 +01:00
Juergen E. Fischer
fd15c3e5b6 dwg import: handle wrong hatch interpretation (refs #20392) 2019-02-19 19:56:40 +01:00
Juergen E. Fischer
e1562a7f13 dwg import: support dxf encoding (fixes #15999) 2019-02-19 19:56:40 +01:00
Juergen E. Fischer
92e7faab66 dwg/dxf import: fix angle and alignment handing of (m)texts 2019-02-19 19:56:40 +01:00
Juergen E. Fischer
6090a932c2 dwg import: less noisy debugging 2019-02-19 19:56:40 +01:00
Juergen E. Fischer
3aa2d9ff9b dwg import: catch spline misinterpretation (fixes #20392) 2019-02-19 19:56:40 +01:00
Juergen E. Fischer
fec20ae0e2 dwg import: less noisy noise reduction 2019-02-19 19:56:40 +01:00
Peter Petrik
967893a637 [MDAL] update to 0.1.5, improve speed 2019-01-24 16:24:46 +01:00
Peter Petrik
928a559aa9 update MDAL to 0.1.4 (RC1 for QGIS 3.6) 2019-01-23 09:51:35 +11:00
Peter Petrik
e163caf754 update to MDAL 0.1.3 (mesh calculator API) 2019-01-14 12:32:36 +01:00
Peter Petrik
8b542c8aa4 Update to MDAL 0.1.2 2018-12-17 12:01:17 +01:00
Peter Petrik
7dc73790e0 MDAL 0.1.1, fix some minor build/memory issues 2018-12-07 15:54:16 +01:00
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