95 Commits

Author SHA1 Message Date
Nyall Dawson
487ade952d Use gdal_minmax_element.hpp for optimised min/max element retrieval 2024-11-05 11:07:54 +11:00
Nyall Dawson
cd60bb8f2d Port doxygen_space to python 2024-08-30 05:47:31 +10:00
Matthias Kuhn
867f39dc34 Fix using astyle on wsl 2024-05-01 06:19:53 +02:00
Nyall Dawson
294de8599e Skip formatting check on PDF4QT lib 2024-01-15 11:00:02 +10:00
Martin Dobias
b9b9fe8214 Add tinygltf (2.8.10) to external libs
This is a simple header-only library that allows reading GLTF files
containing 3D graphics content. This will be useful for 3D tiles support.

The library does not have any dependencies other than nlohmann's json
which we already have in the "external" directory.
2023-07-13 08:45:13 +10:00
Juergen E. Fischer
d802294787 more housekeeping after qtermwidget removal (followup bf1a8ffd68c4) 2023-07-02 22:17:09 +02:00
Alexander Bruy
bc6a937933 add pdal_wrench as an external dependency 2023-03-22 16:04:01 +01:00
uclaros
37437b0599 ignore stderr when checking astyle version 2022-09-26 09:32:23 +10:00
Loïc Bartoletti
a72ffafb8f Have to use g prefix for gnu tools also on *BSD 2022-03-17 08:18:45 +10:00
Martin Dobias
02d5809d66 Update lazperf to post 3.0.0 to avoid already fixed warnings 2022-03-11 23:02:26 +01:00
Nyall Dawson
d9ea5d5d3d Drop unused context_help files 2022-02-23 15:15:07 +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
Maxim Rylov
365b9da5dd Skip external/odbccpp in astyle.sh 2021-01-13 11:20:07 +01:00
Peter Petrik
221bd2f68f
untwine pdalprovider integration (#40404)
[pointclouds] untwine pdalprovider integration
2020-12-15 14:25:09 +01:00
Nyall Dawson
c7a6e6bd15 Embed a copy of laz-perf, and use if system laz-perf is not found
Laz-perf is a relatively "underground" library, and is not packaged
for many major distributions. Its also tiny and trivial to include with
the other external libraries.

This avoids requiring users who want point cloud support to have to
compile their own laz-perf
2020-11-09 06:27:05 +01:00
Juergen E. Fischer
8ee86d01a8 remove duplicate trailing ; 2020-09-17 08:12:14 +02:00
Juergen E. Fischer
b304e3843a fix installation and some other followup cleanups to dcd017a655f 2020-06-10 12:25:29 +02:00
Martin Dobias
4b362b3a5b Silence warning, avoid indentation on generated MVT files 2020-03-26 21:57:18 +01:00
Martin Dobias
f43bd8c09b Move the generated code for MVT to a directory in external/ 2020-03-26 21:23:51 +01:00
Martin Dobias
8105ad1fe5 Initial work on vector tile layer support 2020-03-25 13:27:11 +01:00
Vincent Cloarec
27a70eab7c
[FEATURE] mesh simplification (#34532)
[FEATURE] fix #31575 mesh layer speed rendering improvements (LOD)

As mesh layer could have millions of triangles, rendering could be very slow, especially when all the triangles are displayed in the view whereas triangles are too small to be viewed.

For those situations QGIS has an option to simplify the mesh. Simplification leads to one or more simplified mesh that represents levels of detail (LOD). When rendering the mesh, the appropriate level of detail is chosen to have an adequate rendering depending on the view.
2020-02-25 08:05:49 +01:00
Etienne Trimaille
b378f3f84c
add information about flip and autopep8 for the prehook script 2020-01-16 15:13:06 +01:00
Nyall Dawson
da5cd52162 [pal] Bring back refined upstream version of superliminal rtree index
Turns out this index is MUCH (magnitudes) faster for use in pal. So
grab an updated version of the upstream library and place in external libs,
and use this for indices in pal.

(we should probably investigate whether this is faster for snapping and
other index use too!)
2019-12-15 10:18:47 +10:00
Nyall Dawson
1e9709cf5b Don't try to style poly2tri library 2019-12-06 04:51:48 +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
Nyall Dawson
9b04a29116 Support WSL shells in astyle script 2018-11-12 09:30:42 +10:00
Juergen E. Fischer
1f918583e8 debian packaging: include Qt53DExtra headers removed on debian/ubuntu 2018-09-05 00:47:15 +02:00
Nyall Dawson
8876270c9f [win] Use native desktop notifications for prettier notifications 2018-08-08 03:51:16 +10:00
Denis Rouzaud
970fc4f39f add objective-c files to astyle 2018-08-03 08:50:32 +02: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
Juergen E. Fischer
11faa58ef6 clean more last traces 2018-06-28 23:30:32 +02:00
Alessandro Pasotti
5d724fca44 Do not astyle o2 library 2018-06-25 11:40:38 +02:00
Nyall Dawson
262a01f53c Supress dos2unix output 2018-06-08 11:00:25 +10:00
Nyall Dawson
e5e966bb7a Fix some shellcheck warnings in astyle scripts 2018-06-04 18:50:24 +10:00
Matthias Kuhn
09f17d9952 SC2006: Use $(..) instead of legacy ... 2018-06-01 08:24:38 +10:00
Denis Rouzaud
034c3f0d75 Revert "Merge pull request #5461 from m-kuhn/less_temp_files"
This reverts commit cfad3aa560c2d11e5271fc2ac64d82aba9f7b5a0, reversing
changes made to cdca7084c44d9d12d2ee835afff8577222262764.
2018-05-28 09:28:58 -04:00
Matthias Kuhn
cfad3aa560
Merge pull request #5461 from m-kuhn/less_temp_files
Cleanup temporary files in prepare-commit.sh
2018-05-08 10:35:15 +02:00
Juergen E. Fischer
41b6ae6d58 fix astyle version check
(cherry picked from commit dee284fe974560a3c9723e35123a02c7c9d30b8a)
2018-04-24 21:56:15 +02: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
Nyall Dawson
e5ab743d6d Revert "Linux perl; missing from last PR"
This reverts commit d2244b4a79311b4f0d56b68bc2d0a0108cc0fca4.
2018-01-30 11:32:55 +11:00
Loïc Bartoletti
d2244b4a79 Linux perl; missing from last PR 2018-01-30 08:43:58 +11:00
lbartoletti
59c2ab45a0 more bash 2018-01-17 21:28:10 +01:00
lbartoletti
c033b3401c Revert "fix perl;add bash"
This reverts commit be8b9113c25f7c2fb9c8c9bad556fbca2f0c0ba2.
2018-01-15 16:08:08 +01:00
lbartoletti
f2a0c77952 Merge branch 'usr_bin_env' of https://github.com/lbartoletti/QGIS into usr_bin_env 2018-01-15 15:59:08 +01:00
Larry Shaffer
4bdfaa5f95
Fix astyle version check for macOS
Hard to emulate natural version sorting on macOS. Just use numeric.
https://stackoverflow.com/questions/21394536
2017-11-09 17:54:30 -07:00
Juergen E. Fischer
5a316a6a5e silence astyle version check 2017-11-03 09:58:07 +01:00
Matthias Kuhn
48f26e5858 Fix astyle version check for 3.0 2017-10-30 08:21:33 +01:00
Matthias Kuhn
c48e0069ae Allow using system astyle 2017-10-30 07:25:09 +01:00
Matthias Kuhn
a606c4685f
Cleanup temporary files in prepare-commit.sh 2017-10-26 15:39:23 +02:00