61 Commits

Author SHA1 Message Date
Martin Dobias
8814e40635 Move altitude binding/clamping enums to Qgs3DTypes + add culling mode in Python 2018-10-14 16:32:24 +02:00
Denis Rouzaud
970fc4f39f add objective-c files to astyle 2018-08-03 08:50:32 +02:00
Nyall Dawson
821241ea26 Avoid prepare-commit script leaving temporary .diff files 2018-06-29 08:54:13 +10:00
Juergen E. Fischer
11faa58ef6 clean more last traces 2018-06-28 23:30:32 +02:00
Nyall Dawson
2104b563d6 Fix some SC2086 warnings 2018-06-21 15:33:29 +10:00
Nyall Dawson
5b375a2edf Fix SC2188 warnings 2018-06-21 15:33:29 +10:00
Denis Rouzaud
408979ceb5 fix prepare-commit for python additions 2018-06-20 11:21:25 -08: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
Denis Rouzaud
6301f9b6f3 [sipify] write helpers in core.__init__.py for Q_ENUM
whenever reading a Q_ENUM macro, sipify will create a helper in the core module:
BaseClass.EnumType.parentClass = lamda: BaseClass

this will allow to use the meta object to access the QMetaEnum of the object
2018-05-17 22:54:18 -04:00
Denis Rouzaud
395e864b68 fix prepare-commit after moving sip files 2018-05-14 20:56:53 -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
Denis Rouzaud
d424222493 fix prepare-commit for sipify 2018-01-18 20:24:29 -04:00
Nathan Woodrow
7037c2936b Add PWD to prepare-commit
Running using non Cygwin git (Faster on Win) will return a differnt path format
to cygwin style. So just make sure scripts is in path so everything else
works.
2017-12-11 13:55:10 +10:00
Matthias Kuhn
a606c4685f
Cleanup temporary files in prepare-commit.sh 2017-10-26 15:39:23 +02:00
Matthias Kuhn
5261a9a5df Disable spell check in prepare-commit.sh
The spell check slows down the pre-commit hook a lot. Spell checking
will still be done on travis.
2017-10-24 11:15:27 +02:00
Martin Dobias
675a1ae5bc Import of initial work on QGIS 3D framework from wonder-sk/qgis3d 2017-09-15 10:38:23 +02:00
Juergen E. Fischer
177a017afe prepare-commit.sh: when run as pre-commit hook use /dev/tty. And don't
generally complain about trailing whitespaces as we have cases where
that's fine (and hence are excluded from astyle).
2017-08-06 16:29:54 +02:00
Denis Rouzaud
54c6291378 script to write include SIP files 2017-06-28 10:45:51 +02:00
Juergen E. Fischer
51fde8e08f spelling fixes 2017-06-27 10:34:12 +02:00
Juergen E. Fischer
0923f56cef make prepare-commit.sh work with git-new-workdir 2017-05-18 21:59:11 +02:00
Denis Rouzaud
5112428a29 handle server sipify in prepare-commit 2017-05-01 11:45:43 +02:00
Denis Rouzaud
5d5bb34383 prepare-commit: do not exist if indentation fails to go on with sipify 2017-05-01 00:48:19 +02:00
Matthias Kuhn
8493194336 Autoapply sipify in prepare-commit.sh 2017-04-28 13:42:30 +02:00
Matthias Kuhn
6681766cbb Mac compatibility for prepare-commit.sh 2017-04-02 23:37:17 +02:00
Matthias Kuhn
25f137053d Add whitespace check to prepare-commit.sh 2017-04-01 19:10:59 +02:00
Denis Rouzaud
4322c87c1e sipify scripts fixes
* fix prepare-commit.sh when SIP file is not created yet
* raise an error if header doesn't have EXPORT macro for class definition
* sipdiff can generate the SIP file on demand
2017-03-30 16:10:05 +02:00
Denis Rouzaud
f1d9d22a95 sipify: adds test to prepare-commit and adapt sipdiff
add missing macros to Doxyfile.in
2017-03-30 15:13:01 +02:00
Denis Rouzaud
4c3968b9aa more spelling fixes 2017-01-20 15:06:09 +01:00
Denis Rouzaud
e69263ba2c [spellcheck] improved script 2017-01-20 15:06:09 +01:00
Stéphane Brunner
454383518a don't apply the spell check on all the file if no changes (#4031)
Before that:

$time git commit --amend 2> log
real    7m19.811s
user    49m14.012s
sys     0m16.668s

$ls -lh log
-rw-rw-r-- 1 sbrunner sbrunner 1,8M janv. 20 14:05 log
2017-01-20 14:52:12 +01:00
Denis Rouzaud
46f786eb52 add interactive mode to spell checking (allow direct replace or ignore) 2017-01-12 20:29:08 +01:00
Denis Rouzaud
1090e8b7da fix prepare commit 2016-12-15 16:22:25 +01:00
Denis Rouzaud
90fc0bb226 use Travis to look for spelling errors
use silver searcher for faster search (instead of grep)
2016-12-15 15:26:36 +01: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
aef3dd4da4 remove svn references from prepare-commit.sh and make it work from anywhere in the repository 2016-05-26 17:17:24 +02:00
Juergen E. Fischer
b1a4ef27da prepare-commit.sh: show progress 2016-03-25 20:29:18 +01:00
Juergen E. Fischer
1a817e58a6 run remove_temporary_files.sh in prepare-commit.sh 2016-02-02 18:39:50 +01:00
Juergen E. Fischer
25437c10c6 indentation update 2015-09-19 11:17:42 +02:00
Juergen E. Fischer
624f16cc2c indentation update 2015-08-16 11:56:27 +02:00
Juergen E. Fischer
831983f45d prepare-commit.sh: pass sip and py files to astyle.sh 2015-08-16 11:49:16 +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
841af773e3 remove (outdated) internal spatialite 2015-01-04 16:18:01 +01:00
Juergen E. Fischer
701f4644d0 prepare-commit.sh: fix script directory detection 2014-11-13 20:46:19 +01:00
Juergen E. Fischer
9cb157a7e5 prepare-commit.sh: remove executable bit from source files and exit successfully if nothing modified 2014-11-13 10:00:48 +01:00
Sandro Mani
fa157843a1 Use readlink -f to determine source directory 2014-10-05 13:46:46 +02:00
Juergen E. Fischer
cb7f7bfd8b indentation update 2013-02-07 01:09:39 +01:00
Juergen E. Fischer
63cc49be61 fix warnings brought up by clang 2013-02-02 17:06:22 +01:00
Juergen E. Fischer
762120e08f prepare-commit.sh: remove trailing blanks from python files 2013-01-12 23:36:00 +01:00
Juergen E. Fischer
2fc799b98c [FEATURE] add oracle provider 2013-01-09 16:47:01 +01:00
Juergen E. Fischer
7b4a9b68a3 add copyright notices 2012-10-04 19:36:43 +02:00