| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
instead of silently ignoring parameter names on signals when the
number of parameters doesn't match our expectations.
https://bugzilla.gnome.org/show_bug.cgi?id=697623
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=699856
|
|
|
|
|
|
| |
This isn't how subsections work
https://bugzilla.gnome.org/show_bug.cgi?id=699856
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=699856
|
|
|
|
|
|
| |
It's called a sections file, not a section file.
https://bugzilla.gnome.org/show_bug.cgi?id=699856
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=699856
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=699856
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=699856
|
|
|
|
|
|
| |
Whoops!
https://bugzilla.gnome.org/show_bug.cgi?id=699856
|
|
|
|
|
|
|
| |
The transformer doesn't need the annotations, so why are
we giving it to it?
https://bugzilla.gnome.org/show_bug.cgi?id=699854
|
|
|
|
|
|
| |
They're useless if we can just access the dict directly.
https://bugzilla.gnome.org/show_bug.cgi?id=688897
|
|
|
|
|
|
|
|
| |
It's not available on 32 bit architectures, which is
a pain for our testing because we can't easily make
Regress architecture independent.
This reverts commit ca93f8474c9f6ca184d0b5806a4e459ad3dcd132.
|
|
|
|
|
|
| |
because we'll add more related code to collections later on
https://bugzilla.gnome.org/show_bug.cgi?id=699536
|
|
|
|
|
|
|
|
|
| |
line is a unicode() instance, xml.sax.saxutils.escape() does
nothing more than call a couple of replace() methods on said
unicode() instance so it makes little sense to encode line
into a str() and decode the escaped result back into a unicode().
https://bugzilla.gnome.org/show_bug.cgi?id=699533
|
|
|
|
|
|
|
|
|
|
| |
The ast.Namespace.names instance attribute is an OrderedDict
which itself is a specialised dict() subclass. There are any
number of ways to test if a dict() is empty or not. Creating
a copy of it's keys by iterating over them just to count the
number of items in the copy is not the most elegant way though.
https://bugzilla.gnome.org/show_bug.cgi?id=699533
|
|
|
|
|
|
| |
No need for two variables...
https://bugzilla.gnome.org/show_bug.cgi?id=699533
|
|
|
|
|
|
|
| |
Enables us to to use a more effecient list membership test
instead of testing the end of some string multiple times.
https://bugzilla.gnome.org/show_bug.cgi?id=699533
|
|
|
|
|
|
|
|
|
|
|
| |
_apply_annotations2_function() is only ever called by
_pass_read_annotations2() so there's no need to go and
hide what's being done behind an extra method call.
Also change the 'if not something; return' into a more
readable 'if something: do something'...
https://bugzilla.gnome.org/show_bug.cgi?id=697622
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
This is a hack, but all we really want to do is ignore them for
now.
See https://mail.gnome.org/archives/gtk-devel-list/2013-May/msg00013.html
https://bugzilla.gnome.org/show_bug.cgi?id=699722
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=699532
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=699532
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=699532
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=699531
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=699531
|
|
|
|
|
|
| |
This fixes a compiler warning when using -Wmissing-format-attribute.
https://bugzilla.gnome.org/show_bug.cgi?id=698521
|
| |
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=699442
|
|
|
|
|
|
| |
Just because they both start with 'cl'.
https://bugzilla.gnome.org/show_bug.cgi?id=698090
|
| |
|
| |
|
|
|
|
|
|
| |
It's breaking the gjs test suite
https://bugzilla.gnome.org/show_bug.cgi?id=698698
|
|
|
|
|
|
|
|
| |
Nobody is really known to still use g-i with python 2.5, support
for 2.5 gets broken every now and then in the tree because nobody
is paying much attention any more so just drop it.
https://bugzilla.gnome.org/show_bug.cgi?id=698617
|
|
|
|
|
|
|
|
| |
a09072bd1f75dfc7497ed599e03e331bff411fd4 introduced new symbols in
tests/scanner/regress.[ch] but was missing the expected generated
documentation.
https://bugzilla.gnome.org/show_bug.cgi?id=698616
|
|
|
|
|
|
|
|
|
|
| |
- Configure with --enable-doctool when running "make distcheck"
- Remove $(top_builddir)/.make-check-passed as the pre-commit hook
using this was removed in de84ea0cf212c251e099f456bb675492f664e93d
- Fix CLEANFILES + manual rm invocations
- Fix running warning tests uninstalled (VPATH build issue)
https://bugzilla.gnome.org/show_bug.cgi?id=697669
|
|
|
|
|
|
|
| |
${enable_tests} was removed in f5631640751b5a998b3616db78dd5dcd9ee62126
so there's nothing left to report about...
https://bugzilla.gnome.org/show_bug.cgi?id=697669
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
In the spirit of c9708af2 also parse and ignore
__asm [whitespace] volatile
__asm__ [whitespace] volatile
__volatile
__volatile__
Ignoring __volatile is cosmetic, but the __asm cases avoid an unwanted
VOLATILE token. Extension of
https://bugzilla.gnome.org/show_bug.cgi?id=678794
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=698438
|
|
|
|
| |
See https://bugzilla.redhat.com/920595
|
|
|
|
|
|
|
| |
As seen in xlib.gir at least; this is something we should probably ban
though.
https://bugzilla.gnome.org/697759
|
|
|
|
|
|
|
| |
vala generates this, and we need to honor it now that we're using the
c:prefix as an optimization when searching for gtypes.
https://bugzilla.gnome.org/697759
|
|
|
|
|
|
|
|
|
|
| |
For example, GTK+ has over 15.000 comment blocks (/* ... */)
of which only about 5.000 are GTK-Doc comment blocks (/** ... */).
No need to store and parse those +-10.000 comment blocks
just to find out we don't care about them anyway.
https://bugzilla.gnome.org/show_bug.cgi?id=697625
|
|
|
|
|
|
| |
mktemp was deprecated in Python 2.3...
https://bugzilla.gnome.org/show_bug.cgi?id=697624
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=697621
|
|
|
|
|
|
|
| |
The XML specification clearly states it's xml:space
http://www.w3.org/TR/xml/#sec-white-space
https://bugzilla.gnome.org/show_bug.cgi?id=628739
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
g-ir-scanner can be a bit on the slow side. While true we
now do a bit more work parsing GTK-Doc comment blocks and
more is still to come, one of the biggest hotspots besides
what's going on in _giscanner.SourceScanner() comes from
the OrderedDict implementations we have been using.
For example, time needed to build Gtk-3.0.gir on a relatively
slow machine using "python2 -m cProfile -o $prefix/bin/g-ir-scanner ...":
1) Our original DictMixin sublass:
92,79867 seconds
2) Python's collections.OrderedDict class:
88,65786 seconds
3) Larosa/Foord implementation from http://www.voidspace.org.uk/python/odict.html :
71,64323 seconds
4) SqlAlchemy's implementation:
66,12449 seconds
Looks like we have a clear winner with the SqlAclchemy
implementation, which comes in at around 20 seconds
without profiling on the same machine. Not bad.
https://bugzilla.gnome.org/show_bug.cgi?id=697620
|
|
|
|
|
|
| |
use the documented __exit__ signature instead
https://bugzilla.gnome.org/show_bug.cgi?id=697619
|
|
|
|
|
|
| |
It's more readable and as an added bonus Python 3 compatible.
https://bugzilla.gnome.org/show_bug.cgi?id=697616
|