348 Commits

Author SHA1 Message Date
Nyall Dawson
44d5a15779 Log lines 2021-08-15 08:24:11 +10:00
Nyall Dawson
ec23c24e18 Move custom libdxfrw logging class to QGIS code, out of copy of libdxfrw 2021-08-15 08:24:11 +10:00
Nyall Dawson
74b0cfd8ec Partially sync some libdxfrw files with library version 2021-08-15 08:24:11 +10:00
Nyall Dawson
f723657204 Resync more code with upstream 2021-08-10 05:13:08 +10:00
Nyall Dawson
507ba861ea Resync some libdxfrw files with upstream
Minor code formatting changes only -- no fixes
2021-08-10 05:13:08 +10:00
Nyall Dawson
50de3d71e7 Add pending upstream fix to remove warning 2021-08-06 06:52:50 +10:00
Nyall Dawson
52b9c02ccf Sync some libdxfrw files with the upstream versions
Syncs some files with their counterparts from https://github.com/LibreCAD/libdxfrw
Basically this undoes the QGIS specific styling applied to these
files and excludes them from the astyle script. Apart from the
whitespace changes there's only very minor code modernization
changes.

But the goal here is to reduce the diffs between us and upstream
so that we can more easily push fixes upstream and pull them
downstream.
2021-08-06 06:52:50 +10:00
Nyall Dawson
537faa5abf Fix indentation issue 2021-08-05 06:59:26 +10:00
Nyall Dawson
c59f656882 Initialize return buffers in GetRawChar8 et al. (Port DWG read fix
from https://github.com/LibreCAD/libdxfrw)

From the upstream message:
GetRawChar8() would return spurious memory contents when the read
failed,leading to weird crashes later in the code.
Seen with older non-Autocad DWG files (that Autodesk DWG Trueview
however accepts with just a warning about their foreign origin)
obtained from RC model plane enthusiasts' free plans archive
aerofred.com, e.g. their "Canadair p5.dwg"

082409c03d
2021-08-05 06:59:26 +10:00
Nyall Dawson
5f38e31047 Update external/libdxfrw/drw_base.h
Co-authored-by: Andrea Giudiceandrea <andreaerdna@libero.it>
2021-07-30 07:48:48 +10:00
Nyall Dawson
33bcebaaa3 Report actual version of unsupported DWG files 2021-07-30 07:48:48 +10:00
Juergen E. Fischer
6964eb21f6 spelling updates 2021-07-23 08:49:26 +02:00
Peter Petrik
6e83672b06
update MDAL 0.8.90 (#43987) 2021-06-30 13:45:22 +02:00
PeterPetrik
25ca993142 MDAL 0.8.1 2021-06-06 10:54:12 +10:00
Denis Rouzaud
2e2e86e28f some fixes 2021-05-19 10:55:44 +02:00
Denis Rouzaud
6496349c7b move qjsonwrapper to external 2021-05-19 10:55:44 +02:00
Juergen E. Fischer
f616be29d3 fix msvc build 2021-05-10 12:29:16 +10:00
plan-do-break-fix
f93b738ac9 typo(fix): corrects common typos in project README files 2021-04-26 19:32:50 +10:00
Juergen E. Fischer
7243cb6f14 untwine: apply hobu/untwine#59 and hobu/untwine@c7f94c1593
(refs #42904)
2021-04-22 22:26:49 +02:00
Maxim Rylov
d322638aca Update odbccpp dependency 2021-04-07 12:49:31 +10:00
Maxim Rylov
bd3d75242e Update odbccpp dependency 2021-04-07 12:49:31 +10:00
Juergen E. Fischer
c5ea4b220c osgeo4w: vc16 updates 2021-04-01 23:39:19 +02:00
Daniel Wendt
9f1cc82446 CMake build fix for qt plugins.
The compile flag prevents the Qt plugins from being loaded in the debug
build. The flag is automatically set by the Qt cmake module for release
builds.
2021-03-29 08:44:04 +10:00
Nyall Dawson
9d01cca0bd Fix warning: loop variable ‘xyz’ of type ‘const string&’ {aka ‘const std::__cxx11::basic_string<char>&’} binds to a temporary warning 2021-03-27 19:02:40 +10:00
Nyall Dawson
99e18d87f5 Revert "Fix a bunch of warnings emitted by gcc11"
This reverts commit d5c36802754383895a685b98036a785f6db35727.
2021-03-27 19:02:40 +10:00
Nyall Dawson
e2bf57ef1f Fix a bunch of warnings emitted by gcc11 2021-03-27 19:02:40 +10:00
Nyall Dawson
d1040b2b2b Avoid cmake noise 2021-03-25 04:48:31 +10:00
t0b3
6f75dcbe89 fix: notification(arg1) is deprecated: Use the 3-args version of notification() instead.
Signed-off-by: t0b3 <thomas.bettler@gmail.com>
2021-03-22 05:30:23 +10:00
Denis Rouzaud
1681dbde9a make ASTYLE with c++17
this fixes the compilation on my system (mac)
2021-03-10 04:11:53 +10:00
Nyall Dawson
301d3379af Modernize cmake capitalization 2021-02-25 11:08:56 +10:00
Nyall Dawson
c4a1bd1e22 Avoid unused variable warning 2021-02-11 06:11:23 +10:00
Nyall Dawson
1f91895b1e Hide more debug noise 2021-01-31 05:42:59 +10:00
Martin Dobias
70dd22392d [untwine] Fix precision issues when indexing
Offset and scale of X/Y/Z dimensions were not written and
some datasets would simply fail to get indexed completely.
Other datasets may have had the data slightly misaligned
after indexing.

References:
https://github.com/hobu/untwine/issues/28
https://github.com/hobu/untwine/issues/46
2021-01-28 16:02:12 +10:00
Peter Petrik
d4f544acbc
fix bug introduced in 4bf57f76e1 (#41187) 2021-01-26 19:55:08 +01:00
Alessandro Pasotti
9818fbe209 Fix MXE build for python bump and EPT 2021-01-19 16:24:56 +01:00
Peter Petrik
93c654c134 mdal 0.8.0 2021-01-15 07:32:05 +10:00
Denis Rouzaud
93a3c6b987
cmake follow up (#41010) 2021-01-14 16:41:57 +01:00
Juergen E. Fischer
6b834f405d remove trailing whitespaces from CMakeLists.txt 2021-01-14 10:11:52 +01:00
Denis Rouzaud
837db503a6
Merge pull request #40990 from 3nids/cmake-tid-gui
[cmake] more target_include_directories
2021-01-13 17:02:28 +01:00
Denis Rouzaud
3db2bc683d [cmake] liddxfrw linked to qgis_core 2021-01-13 09:50:09 +01:00
Denis Rouzaud
e305a98417 [cmake] remove left-over of includes of src/core 2021-01-13 09:50:06 +01:00
Stefan Uhrig
4bf57f76e1 Only build and use odbccpp_static 2021-01-12 21:00:29 +01:00
Maxim Rylov
d4494e5b43 Add odbc-cpp-wrapper library to external folder 2021-01-12 15:57:00 +01:00
Martin Dobias
8e5b036fec Untwine update: fixed warnings and 32-bit build 2021-01-06 20:53:35 +01:00
Martin Dobias
6fed3b3783 Untwine: calculate stats for attributes
Without stats we don't know valid ranges of input data, so let's get them calculated
when the data gets indexed by untwine.
2021-01-05 06:00:22 +10:00
Juergen E. Fischer
82dd4fcbbc fix build on i386 and with older PDALs 2021-01-04 17:21:27 +01:00
Juergen E. Fischer
eb1c7b1a72 fix build 2020-12-23 23:21:24 +01:00
Martin Dobias
b592708506 Update Untwine to the latest main branch
This lowers the required minimum version of PDAL to >= 1.7 which makes
it much easier to use in many linux distributions which are not yet
shipping PDAL 2.2.
2020-12-23 09:43:19 +10:00
Juergen E. Fischer
b28d820b0c fix typos 2020-12-22 00:03:34 +01:00
vcloarec
3dfbcf5046 do not use getenv_s 2020-12-19 08:12:04 +10:00