Nyall Dawson
8a2c0e3561
Replace QgsDebugMsg(...) with QgsDebugError(...) and ensure it
...
is ONLY used for error message reporting
Everything else gets bumped to QgsDebugMsg(..., >= 2)
2023-05-20 16:19:17 +10:00
Nyall Dawson
bdaf65efa2
Partially resync drw_entities with libdxfrw copy
...
Mostly indentation changes, with some added bugfixes from upstream!
2021-08-16 05:30:35 +10:00
Nyall Dawson
e205c0dafa
Fix macos build
2021-08-15 10:01:07 +10:00
Nyall Dawson
f14c7a9786
Remove custom QGIS debug code and partially resync with upstream library
...
Allows removing the qgis_core/qt dependancy from embedded libdxfrw copy
2021-08-15 10:01:07 +10:00
Nyall Dawson
7bc76be992
Remove custom QGIS debug code and partially resync with upstream library
2021-08-15 08:24:11 +10:00
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
Denis Rouzaud
93a3c6b987
cmake follow up ( #41010 )
2021-01-14 16:41:57 +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
Denis Rouzaud
eddf6feb45
modernize CMakeLists.txt files
2020-11-12 07:14:46 +10:00
Juergen E. Fischer
8ee86d01a8
remove duplicate trailing ;
2020-09-17 08:12:14 +02:00
Nyall Dawson
9924b15baf
Avoid a bunch of useless string parsing
2020-09-15 05:06:25 +10:00
Matthias Kuhn
9245abeb28
Qt include dirs are sys dirs
2020-08-09 11:35:10 +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
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
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
Juergen E. Fischer
cf728275f1
fix yo-yo warning (followup 5e37e824, 18dbf031, 2ed144ac)
2018-08-09 08:36:55 +02: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
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
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
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
Nyall Dawson
f37c2bf6f6
Revert "[needs-qa]Usr bin env"
2018-01-30 11:33:49 +11:00
lbartoletti
1ce7dbad94
Merge branch 'master' of https://github.com/qgis/QGIS into usr_bin_env
2018-01-29 13:13:03 +01:00
Denis Rouzaud
232d721304
move libdxfrw to external lib directory
2018-01-19 11:56:26 -04:00