34 Commits

Author SHA1 Message Date
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
Juergen E. Fischer
511e89ca36 - remove CMAKE_BUILD_TYPE from osgeo4w nightly configuration
- rename 'our' astyle to qgisstyle
2012-08-07 17:57:25 +02:00
Juergen E. Fischer
16042f9285 more svn=>git stuff 2011-05-10 22:48:27 +02:00
jef
5be7783dfe add old astyle version, adapt prepare-commit.sh to it and include it in the CODING guide
git-svn-id: http://svn.osgeo.org/qgis/trunk@14597 c8812cc2-4d05-0410-92ff-de0c093fc19c
2010-11-13 15:38:58 +00:00
jef
9598429fcd update identation scripts
git-svn-id: http://svn.osgeo.org/qgis/trunk@9219 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-08-30 15:20:16 +00:00
timlinux
3aa9ebcc0b Updates to api docs and some api consistency cleanups
git-svn-id: http://svn.osgeo.org/qgis/trunk@9213 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-08-30 09:28:54 +00:00
jef
03b077403c don't run qgsloggermig.pl from astyle.pl anymore
git-svn-id: http://svn.osgeo.org/qgis/trunk@9139 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-08-23 22:31:48 +00:00
jef
e935769868 scripts for the astyle re-indentation & iostream=>QgsDebugMsg migration cleanup
git-svn-id: http://svn.osgeo.org/qgis/trunk@9137 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-08-23 20:17:30 +00:00