summaryrefslogtreecommitdiff
path: root/misc
Commit message (Collapse)AuthorAgeFilesLines
* tests: Update misc/pep8.py to 1.4.6Dieter Verfaillie2013-10-081-62/+78
| | | | | Updated from: https://raw.github.com/jcrocholl/pep8/1.4.6/pep8.py
* gir: Add gmodule-2.0.cRico Tzschichholz2013-09-131-0/+5
| | | | | Grab annotions from gmodule like we do for glib and gio. This result in a properly generated and documented GModule-2.0.gir.
* tests: Update misc/pep8.py to 1.4.5Dieter Verfaillie2013-05-071-433/+1451
| | | | | | | | | | | | | | | | | Version in our tree is a wee bit outdated. For example, later work will introduce an utf8 encoded python source file which our old pep8.py does not yet understand (yeah, it really was *that* ancient)... Updated from: https://raw.github.com/jcrocholl/pep8/1.4.5/pep8.py Takes 552c1f1525e37a30376790151c1ba437776682c5, f941537d1c0a40f0906490ed160db6c79af572d3, 5a4afe2a77d0ff7d9fea13dd93c3304a6ca993de and a17f157e19bd6792c00321c8020dca5e5a281f45 into account... https://bugzilla.gnome.org/show_bug.cgi?id=699535
* Remove the insane pre-commit hookJasper St. Pierre2013-02-011-86/+0
| | | | | | I'm sick and tired of this. https://bugzilla.gnome.org/show_bug.cgi?id=693040
* update-glib-annotations: Set required environment variablesColin Walters2012-04-171-0/+5
| | | | Assume srcdir=builddir, so users don't have to set this.
* Don't extract annotations from headersJohan Dahlin2012-04-051-16/+0
| | | | | | The headers are already parsed as they are passed in to g-ir-scanner. This avoids quite a few warnings triggered with the new annotation parser.
* update-glib-annotations.py: reduce code duplicationDieter Verfaillie2012-04-051-63/+55
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=672254
* Add a make-check check to pre-commit hookJohan Dahlin2011-08-291-0/+16
|
* update-glib-annotations.py: Attempt to make work for srcdir!=builddirColin Walters2011-07-221-15/+24
| | | | | | | This doesn't quite work yet because we need to know from glib which files are in srcdir and which are in builddir. Also add some debugging prints.
* update-glib-annotations.py: Merge annotation extraction scriptsColin Walters2011-06-233-64/+94
|
* update-glib-annotations.py: new scriptColin Walters2011-06-071-0/+28
|
* misc: rewrite extract-gio-sources.sh to use gio-public-headers.txtColin Walters2011-06-072-10/+28
| | | | | | | Rather than maintaining our own exclusion list, grab the text file generated by commit ab0e9dbfa76e056f875e969c0d7b6e133ec75431 in glib. Also it is now Python for sanity.
* misc: rewrite extract-gobject-sources.sh to use gobject-public-headers.txtColin Walters2011-06-072-12/+26
| | | | | | | Rather than maintaining our own exclusion list, grab the text file generated by commit ab0e9dbfa76e056f875e969c0d7b6e133ec75431 in glib. Also it is now Python for sanity.
* Fix misc/extract-gobject-sources.sh.Pavel Holejsovsky2010-12-191-2/+5
| | | | | g-ir-annotation-tool is in builddir root now. Also avoid feeding problematic and not-GI-useful headers to it.
* Update path to g-ir-annotation-tool in extract-gio-sources.sh.Pavel Holejsovsky2010-12-161-1/+1
|
* Add a script to import gobject annotationsJohan Dahlin2010-09-241-0/+9
|
* Add a script to extract gio annotationsJohan Dahlin2010-09-241-0/+10
|
* [pep8] Skip emacs backup filesJohan Dahlin2010-09-061-0/+3
|
* pep8: Update to 99 length linesColin Walters2010-08-311-1/+1
| | | | | 69 is just too short for a compiler with long error messages and nested code.
* Add a pre-commit hook and enforce itJohan Dahlin2010-08-171-0/+70
|
* Fix pep8.py and its invocation.Chris Rivera2009-05-281-1/+1
| | | | | | | | | | pep8.py:input_file() normally returns the number of errors found in a given file, but it returns an empty dict if the file is excluded. Change it to return 0 instead. config.py is auto-generated with a prefix that may be longer than 80 characters. Exclude config.py in the pep8.py check. This fixes 4042.
* Disable blank line check, it works differently under Python 2.5 from 2.6Johan Dahlin2009-01-031-28/+0
| | | | | | | | | | | 2009-01-03 Johan Dahlin <jdahlin@async.com.br> * misc/pep8.py: Disable blank line check, it works differently under Python 2.5 from 2.6 and was rather annoying from the start. svn path=/trunk/; revision=999
* Make pyflakes.py conform to pep8.pyJohan Dahlin2008-08-141-27/+56
| | | | svn path=/trunk/; revision=371
* Add pyflakes.py and run it in make check. Update the source code to fixJohan Dahlin2008-08-141-0/+513
| | | | | | | | | | | | | | | | | 2008-08-14 Johan Dahlin <johan@gnome.org> * giscanner/girwriter.py: * giscanner/glibast.py: * giscanner/glibtransformer.py: * giscanner/transformer.py: * misc/pyflakes.py: * tests/Makefile.am: Add pyflakes.py and run it in make check. Update the source code to fix the errors reported by pyflakes. svn path=/trunk/; revision=370
* add a pep8 scriptJohan Dahlin2008-08-101-0/+867
svn path=/trunk/; revision=343