57 Commits

Author SHA1 Message Date
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
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
Juergen E. Fischer
facfe6ec2c integrate sorting of includes into astyle.sh/astyle-all.sh/prepare-commit.sh 2015-06-10 13:12:24 +02:00
Juergen E. Fischer
173ee45405 fix windows build 2015-05-16 21:35:00 +02:00
Juergen E. Fischer
10e09bc76b add override support to qgisstyle
include pep8 call in indentation run for python code
2015-02-11 13:49:07 +01:00
Juergen E. Fischer
198d8fe58f fix warnings and extra semicolons 2015-02-07 13:54:46 +01:00
Juergen E. Fischer
841af773e3 remove (outdated) internal spatialite 2015-01-04 16:18:01 +01:00
Juergen E. Fischer
d4f64d9bde indentation update and typo fixes 2014-11-13 23:13:13 +01:00
Juergen E. Fischer
647504306c indentation update 2014-07-13 17:16:24 +02:00
Juergen E. Fischer
1691014069 Remove sqlanywhere plugin and provider (implements #10840) 2014-07-08 08:38:29 +02:00
Juergen E. Fischer
a168b9031b sip sync and indentation update 2014-05-24 20:37:36 +02:00
Radim Blazek
5f2a6a75fe QgsMalloc, QgsCalloc, QgsFree 2012-10-09 11:34:51 +02:00
Juergen E. Fischer
e7f40bdea4 add more copyrights 2012-10-06 13:32:08 +02:00