summaryrefslogtreecommitdiff
path: root/tools
Commit message (Collapse)AuthorAgeFilesLines
* Merge 'master' into telepathy-glib-0.24 (the branch has only fixes)Alexander Akulich2021-01-264-30/+32
|\
| * Sort generated types and adjust expected accordinglyJakub KulĂ­k2020-05-191-1/+1
| |
| * tools/glib-gtypes-generator.py: Sort generated typesAlexander Akulich2019-12-121-3/+3
| |
| * Port tools/manager-file.py to Python 3Alexey Andreyev2019-12-121-17/+18
| |
| * Port make-release-mail.py to Python 3Alexander Akulich2019-12-121-5/+5
| |
| * xincludator.py: Fix behaviour on LANG=CAlexander Akulich2019-09-251-4/+5
| | | | | | | | | | Use UTF-8 encoding instead of 'None', because spec XMLs contain non-ASCII symbols, such as copyright sign.
| * stop hardcoding python's path in .py scriptsGuillaume Desmottes2014-05-0812-12/+12
|/ | | | https://bugs.freedesktop.org/show_bug.cgi?id=76495
* Don't leak method call results (regression in 0.23.1)Simon McVittie2014-03-182-3/+24
| | | | | | | | | | | Commit 7ffbde3f used common code for two blocks that were not actually the same. dbus-glib method calls give the caller a new reference to the results, whereas dbus-glib signals do not. As a result, the method-call case needs to either free the results, or get them freed by giving ownership to the GValueArray. I chose to give ownership. Reviewed-by: Guillaume Desmottes
* maintainer-prepare-release: do "git tag" in srcdirtelepathy-glib-0.23.1Simon McVittie2014-02-041-1/+1
|
* Stop calling g_type_init()Simon McVittie2014-01-071-1/+0
| | | | | | | | It was deprecated in GLib 2.36, and we already have a hard dependency on that version. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=71048 Reviewed-by: Guillaume Desmottes <guillaume.desmottes@collabora.co.uk>
* codegen: factor out copy_into_gvalueSimon McVittie2013-10-292-62/+29
| | | | | | | | I needed this for TpExportable (which is still work in progress), but it's already a small code reduction. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=59024 Reviewed-by: Guillaume Desmottes <guillaume.desmottes@collabora.co.uk>
* glib-client-gen.py: ignore GValueArray deprecation warningsSimon McVittie2013-09-261-0/+10
| | | | | | | Yes we know we have GValueArrays. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=69849 Reviewed-by: Xavier Claessens <xavier.claessens@collabora.co.uk>
* Port unit tests to g_test_dbus_up/downXavier Claessens2013-09-262-108/+0
| | | | https://bugs.freedesktop.org/show_bug.cgi?id=55761
* Use AC_PROG_MKDIR_P instead of deprecated AM_PROG_MKDIR_PSimon McVittie2013-06-111-1/+1
| | | | | | | | | | This means we define MKDIR_P instead of mkdir_p - adjust. Strictly speaking this requires Autoconf 2.59d, but 2.60 is hardly a new innovation (it was released in 2006). Signed-off-by: Simon McVittie <simon.mcvittie@collabora.co.uk> Reviewed-by: Xavier Claessens <xavier.claessens@collabora.co.uk> Bug: https://bugs.freedesktop.org/show_bug.cgi?id=65517
* Merge branch 'telepathy-glib-0.20' and update NEWSSimon McVittie2013-04-041-0/+6
|\ | | | | | | | | | | Conflicts: NEWS configure.ac
| * with-session-bus.sh: clear DBUS_STARTER_*Simon McVittie2013-04-041-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | telepathy-glib prefers to use DBUS_BUS_STARTER, for the benefit of Telepathy components that are (or might be) service-activatable. The actual terminal part of gnome-terminal 3.8 is an activatable service, so when run from there, we pick up the real session bus' address via DBUS_STARTER_ADDRESS. We don't want that. (Yes, it's DBUS_STARTER_ADDRESS, not DBUS_STARTER_BUS_ADDRESS. The reference implementation and the D-Bus Specification both say so.) Bug: https://bugs.freedesktop.org/show_bug.cgi?id=63119 Signed-off-by: Simon McVittie <simon.mcvittie@collabora.co.uk> Reviewed-by: Xavier Claessens <xavier.claessens@collabora.co.uk>
* | Make the code generation tools work under either Python 2 or 3Simon McVittie2013-01-0313-120/+129
|/ | | | | | | | They have been verified to produce identical output in _gen. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=56758 Signed-off-by: Simon McVittie <simon.mcvittie@collabora.co.uk> Reviewed-by: Xavier Claessens <xavier.claessens@collabora.co.uk>
* Do not include single headers in codegenXavier Claessens2012-09-101-5/+3
| | | | | | | Headers to use is caller's choice, like that tp-glib internal can use single headers while extensions can use global header. This also move command line headers to generated .h instead of .c
* TpProxy: Deprecate _borrow_ functions and replace them by _get_Xavier Claessens2012-09-051-0/+4
| | | | | | New transfer and naming policy has been discussed in https://bugs.freedesktop.org/show_bug.cgi?id=39189 and is documented there: http://telepathy.freedesktop.org/wiki/Style/TelepathyGLib
* lcov: add a holding page for lcov reportsJonny Lamb2012-08-301-0/+1
| | | | | | When lcov fails on the buildbot let's upload /something/. Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
* Make sure "make -j3 maintainer-foo" workstelepathy-glib-0.19.3Xavier Claessens2012-07-051-3/+12
|
* check-c-style: don't check if GError are initializedGuillaume Desmottes2012-05-091-7/+0
| | | | | It just leads us to writing insanity like: GError *error /* badger */;
* Add multiple-inclusion guards to generated client-side codeSimon McVittie2012-05-071-1/+12
| | | | | Reviewed-by: Xavier Claessens <xavier.claessens@collabora.co.uk> Bug: https://bugs.freedesktop.org/show_bug.cgi?id=49384
* merge the various "fatal warnings or not?" optionsSimon McVittie2012-04-131-1/+1
| | | | | | | | I've kept --disable-Werror (it's from a reusable macro for -Werror), but distributors should now use --disable-fatal-warnings to control all the potentially-fatal checks simultaneously. Reviewed-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
* Merge branch 'telepathy-glib-0.18', rejecting non-fatal g-ir-scanner warningsSimon McVittie2012-04-131-2/+1
|\ | | | | | | | | Conflicts: NEWS
| * Codegen: fix comment line start leftover.Alban Browaeys2012-04-131-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | Generated telepathy-glib/_gen/telepathy-enums-gtk-doc.h from: /usr/bin/python ../tools/c-constants-gen.py Tp _gen/stable-spec.xml _gen/telepathy-enums has incorrect comment. Fix it with the same remedy as in 5c58330c32f39a9dd6aaaef37f54461922cf6124 "many fixes to documentation comments" ie remove the newline between '*' and identifier. Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk> Bug: https://bugs.freedesktop.org/show_bug.cgi?id=48363
| * Fix gtk-doc comments for auto-generated constants headersStef Walter2012-04-121-1/+1
| | | | | | | | | | Bug: https://bugs.freedesktop.org/show_bug.cgi?id=48592 Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
* | Merge branch 'telepathy-glib-0.18', rejecting 0.18-specific changesSimon McVittie2012-04-121-1/+1
|\ \ | |/ | | | | | | | | | | | | | | Conflicts: NEWS telepathy-glib/base-connection.c telepathy-glib/dbus-properties-mixin.c telepathy-glib/presence-mixin.c tools/c-constants-gen.py
| * Fix doc comments for recent stricter gtk-docStef Walter2012-04-122-2/+1
| | | | | | | | | | | | | | | | | | | | * Build fails with new gtk-doc (1.18.1) which seems to be stricter than previous versions. [Also fixes g-ir-scanner warnings, which were what was actually fatal. -smcv] Bug: https://bugs.freedesktop.org/show_bug.cgi?id=48592 Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
* | Generate TP_NUM_foo for every generated enumSimon McVittie2012-04-121-4/+14
| | | | | | | | | | | | Unlike NUM_TP_foo, these are introspectable. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=46470
* | many fixes to documentation commentsJonny Lamb2012-04-061-2/+1
|/ | | | | | | | fd.o#48363 was opened which complains about lots of documentation problems (which g-ir-scanner finds). While I was at it I did some grepping to find yet more problems. Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
* improve the mtime-transferring hack in tools/Simon McVittie2012-03-091-8/+8
| | | | | | | | | | | | | | | | | The point of this stuff is to rebuild generated code when, for instance, libtpcodegen.py has changed, without every rule that uses glib-something-gen.py having to know to depend on libtpcodegen.py as well. To do that, we propagate newer mtime from Python library code to Python executables, using touch(1). If building out-of-tree, we need to touch the file in srcdir, rather than creating an empty file in the builddir. The rules that depend on glib-something-gen.py specifically depend on the version in the $(srcdir), so in an out-of-tree build, if we aren't careful to act on the version in the srcdir, editing libtpcodegen.py won't actually cause a rebuild. Reviewed-by: Xavier Claessens <xavier.claessens@collabora.co.uk>
* Codegen: write temporary files first, and rename them into placeSimon McVittie2012-03-098-35/+80
| | | | | Bug: https://bugs.freedesktop.org/show_bug.cgi?id=36398 Reviewed-by: Xavier Claessens <xavier.claessens@collabora.co.uk>
* glib-interfaces-gen: generate self-contained header filesSimon McVittie2012-03-071-0/+1
| | | | | Bug: https://bugs.freedesktop.org/show_bug.cgi?id=46835 Reviewed-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
* Stop generating lists of signals marshallers altogetherSimon McVittie2012-03-012-58/+0
| | | | | Bug: https://bugs.freedesktop.org/show_bug.cgi?id=46523 Reviewed-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
* Generate code that uses g_cclosure_marshal_generic()Simon McVittie2012-03-012-7/+5
| | | | | | | | | | | I'm using the symbol explicitly in the generated code, because if someone copies the tools into another project but forgets to increase the GLib dependency, failing to compile with a missing symbol is a much nicer failure mode than failing to work at runtime. (Also, I haven't checked whether dbus-glib copes gracefully with NULL as a marshaller.) Bug: https://bugs.freedesktop.org/show_bug.cgi?id=46523 Reviewed-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
* Fix out-of-tree releasesSimon McVittie2012-02-201-3/+5
|
* Add coding style check for g_hash_table_destroy and g_array_free usageXavier Claessens2011-11-161-0/+13
|
* Update make-release-mail.py from the Gabble.Will Thompson2011-11-111-2/+11
|
* tests: add --enable-installed-testsAlban Crequy2011-11-041-0/+10
| | | | | | | | | | | This configure option makes it possible to install the tests in /usr/lib/telepathy-glib-tests and run them without the sources. The dbus configuration moved to tests/dbus/dbus-installed for the installed tests and is duplicated into tests/dbus/dbus-uninstalled for the uninstalled tests. https://bugs.freedesktop.org/show_bug.cgi?id=41455
* codegen: add a whitelist of tp_cli_*_run_* methodsWill Thompson2011-10-101-11/+22
| | | | | | | | | | | We have to generate a bunch of (deprecated) tp_cli_*_run_* methods, for backwards-compatibility. But there's no reason to add any *more* every time we define a new channel interface. So here, we generate a list of methods we need to generate for backwards compatibility (based on their being listed in the documentation), and modify the code generator to refuse to generate any _run_ method not named in that file.
* ginterface-gen: set PropertiesChanged annotation flagsWill Thompson2011-09-061-0/+22
| | | | This will be tested shortly.
* Add skip annotation for NUM_FOOXavier Claessens2011-08-171-1/+1
| | | | g-i now understands it (GNOME bug #652712)
* Update the release mail automation script to contain the Git URLDebarshi Ray2011-07-071-0/+3
| | | | | [This is 02ad9c4 in Gabble.] Signed-off-by: Will Thompson <will.thompson@collabora.co.uk>
* glib-client-gen.py: try to add the enum type when documenting guint argsJonny Lamb2011-05-021-5/+24
| | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
* with-session-bus.sh: set DBUS_SESSION_BUS_PID, like dbus-launch doesSimon McVittie2011-03-151-0/+2
| | | | | | | This isn't directly useful for Telepathy, but is useful if you're debugging the dbus-daemon itself. Reviewed-by: Will Thompson <will.thompson@collabora.co.uk>
* maintainer-make-release: check for gtk-doc at the startWill Thompson2011-02-011-0/+5
| | | | | | | | Previously, the release process only failed when we got to making distcheck. Instead it should blow up right away, at the same time as we're checking for uncommited changes and so on. Reviewed-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
* maintainer-prepare-release: remove redundant 'make check'Will Thompson2011-02-011-1/+1
| | | | | | | | Jonny was upset that running `make maintainer-make-release` ran both 'check' and 'distcheck'. We think that just running the build before making distcheck should be enough. Reviewed-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
* with-session-bus.sh: only print debug if VERBOSE_TESTS is setJonny Lamb2011-01-131-3/+7
| | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
* c-constants-gen.py: add magic gir rune when generating flags enumGuillaume Desmottes2010-12-171-1/+1
|