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
Sebastian Dietrich
95fa866816
make astyle force every statement into a separate line
2015-12-21 01:18:50 +01:00
Juergen E. Fischer
595f24e40d
astyle.sh: skip E265 (block comments should start with '# ')
2015-12-11 00:15:06 +01:00
Juergen E. Fischer
a8765a3a23
avoid duplicate qgisstyle run
2015-10-20 23:07:06 +02:00
Matthias Kuhn
76ccf71537
Remove utf-8 BOM in astyle.sh
2015-09-14 16:19:15 +02:00
Matthias Kuhn
26e9783023
Don't change date when dos2unix'ing files
2015-09-11 12:02:24 +02:00
Juergen E. Fischer
b39055b39c
indentation update (now including autopep8)
2015-08-22 14:29:41 +02:00
Juergen E. Fischer
97c8e1ab57
scripts: run python scripts through autopep8
2015-08-22 13:30:57 +02:00
Matthias Kuhn
33d46d332b
Fix dos2unix as flip alternative
2015-08-19 16:45:33 +02:00
Matthias Kuhn
f8dd490861
Support dos2unix as flip alternative
2015-08-16 21:12:05 +02:00
Juergen E. Fischer
624f16cc2c
indentation update
2015-08-16 11:56:27 +02:00
Juergen E. Fischer
3094297f51
also fix doxygen comments in sip files
2015-06-30 09:44:41 +02:00
Juergen E. Fischer
49286b304d
unify_includes.pl:
...
* renamed from sort_includes.pl
* don't destroy order just remove duplicate includes
* run after astyle
2015-06-10 14:44:03 +02:00