80 Commits

Author SHA1 Message Date
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
lbartoletti
be8b9113c2 fix perl;add bash 2017-08-07 15:09:03 -04:00
Denis Rouzaud
fa5bd491fc run code_layout build from top CMakeLists
instead of adding an extra CMakeLists in .ci/travis/code_layout to build API doc, astyle and run tests (indentation, spelling, sip, doc coverage), the top CMakeLists has been adapted to allow not building core libraries and possibly just the static code layout
* astyle has been moved from /src/astyle to /lib/astyle (I would propose to move all external libraries, and possibly add git submodules)
2017-06-05 22:19:20 +02:00
Nathan Woodrow
e9cad2cd19 Add ignore for astyle for template folder 2017-04-06 13:19:15 +10:00
Juergen E. Fischer
0bc3c2914c exclude test data from astyling 2017-03-03 15:39:59 +01:00
Matthias Kuhn
77bc28f36c Build astyle 2017-02-24 15:51:27 +01:00
Nyall Dawson
3b30701780 Prepare commit ensures empty line before doxygen block 2016-11-08 08:52:39 +10:00
Nyall Dawson
e75b572b6e [FEATURE] Remove dxf2shp converter plugin
This functionality is available in OGR and there is no longer
a need for a dedicated QGIS plugin to do this task

Marked as feature for documentation + changelog reminder
2016-10-25 09:29:46 +10:00
Juergen E. Fischer
6e66eef1ef add missing copyright headers 2016-06-03 10:33:09 +02:00
Juergen E. Fischer
b1a4ef27da prepare-commit.sh: show progress 2016-03-25 20:29:18 +01:00
Juergen E. Fischer
b5c4d28eba build context help and expression help in build directory and still include it in translations 2016-03-20 16:31:05 +01:00
Juergen E. Fischer
8c918aeaf3 astyle updates cosmetics, temporary file cleanups 2016-03-14 20:38:20 +01:00
Even Rouault
ec0be3ca6c Fix use of wrong variable in astyleit(), introduced in previous commit 2016-02-19 16:29:36 +01:00
Even Rouault
3f330aa667 astyle.sh: make it not touch unmodified files
Currently astyle.sh will rewrite files, even if no change are made.
This causes some editors (for example kate) to believe that the file
has been changed even if it is not the case. Letting the timestamp
untouched is not enough. So make 'flip' and 'unify_includes.pl'
operate on copies, and move the copies as the original file if
differences are found.
2016-02-19 16:19:17 +01:00
Juergen E. Fischer
00d60dbca3 fix warnings 2016-01-18 00:26:59 +01:00
Sebastian Dietrich
dc2282091b Moved the options for the QGISSTYLE tool to a separate file. 2016-01-17 00:20:43 +01:00