summaryrefslogtreecommitdiff
path: root/tools
AgeCommit message (Collapse)AuthorFilesLines
2010-12-19Guard all QLatin1String string constant macro expansions from unwanted ↵Olli Salli1-1/+1
XYZQLatin1String errors
2010-12-06Add two additional tp-glib O(not a lot) "possibly lost" suppressionsOlli Salli1-0/+19
2010-12-05Make the QDBus not calling dbus_shutdown suppression even less specificOlli Salli1-13/+6
2010-12-05Ignore tp-glib BaseConnectionManager legacy protocol object leakOlli Salli1-0/+11
2010-12-05Add more tp-qt4 specific suppressionsOlli Salli1-0/+20
2010-12-05Add valgrind suppressions (mostly from tp-glib)Olli Salli2-0/+400
2010-11-16Actually make maintainer-upload-release workOlli Salli1-1/+3
2010-11-10Merge branch '0_5_0_fdo_28797'Andre Moreira Magalhaes (andrunko)1-7/+22
Reviewed-by: Olli Salli (oggis) <olli.salli@collabora.co.uk>
2010-11-10qt4-client-gen.py: Make staticInterfaceName() return a QLatin1String.Andre Moreira Magalhaes (andrunko)1-4/+4
2010-11-10qt4-client-gen.py: Make the autogenerated interfaces actually use the timeout.Andre Moreira Magalhaes (andrunko)1-5/+8
2010-11-10qt4-constants-gen.py: Use singular or value-prefix for flag enum names and ↵Andre Moreira Magalhaes (andrunko)1-2/+9
fallback to name - 's' if singular or value-prefix are not defined and name ends with 's'.
2010-11-09Fix fd.o#27204 - Codegen erroneously uses enums' value-prefix as the name ↵Andre Moreira Magalhaes (andrunko)1-2/+5
for the C++ enum.
2010-11-09Implement fd.o#28797 - generated client code should be able to set a ↵Andre Moreira Magalhaes (andrunko)1-0/+12
non-default timeout.
2010-11-08Do not generate synchronous getter/setters for properties.Andre Moreira Magalhaes (andrunko)1-71/+2
2010-11-08Properly indent enums.Andre Moreira Magalhaes (andrunko)1-5/+4
2010-11-08Added padding for all enums.Andre Moreira Magalhaes (andrunko)1-2/+12
2010-11-05Remove extra blank line from auto generated methods.Andre Moreira Magalhaes (andrunko)1-1/+0
2010-11-04Fine-tune generated interface requestAllProperties documentationOlli Salli1-2/+2
2010-11-04Have the property request API in AbstractInterface take QStrings instead of ↵Olli Salli1-2/+2
C strings
2010-11-04Make new async interface property getters const-qualifiedOlli Salli1-2/+2
2010-11-04Don't accidentally make the new props api privateOlli Salli1-2/+2
2010-11-04Generate a requestAllProperties() to retrieve all the DBus propertiesMarco Barisione1-0/+15
The method is generated only if there are properties on the interface and returns a PendingVariantMap*.
2010-11-04Generate asynchronous setters for DBus propertiesMarco Barisione1-0/+22
The new setters are named setPropertyFoo, where Foo is the property name, and return a Tp::PendingOperation. They will completely replace synchronous setters after the API break.
2010-11-04Generate asynchronous getters for DBus propertiesMarco Barisione1-1/+30
The new getters are named requestPropertyFoo, where Foo is the property name, and return a Tp::PendingVariant. They will replace completely the synchronous getters after the API break.
2010-11-01Use _deprecated_ instead of __deprecated_.Andre Moreira Magalhaes (andrunko)1-6/+6
2010-10-29qt4-client-gen.py: Renamed deprecated autogenerated methods starting with __ ↵Andre Moreira Magalhaes (andrunko)1-6/+7
to start with __deprecated_. From the 2003 C++ Standard: Each name that contains a double underscore (__) or begins with an underscore followed by an uppercase letter (2.11) is reserved to the implementation for any use.
2010-10-29qt4-client-gen.py: Properly deprecated interface property getters/setters.Andre Moreira Magalhaes (andrunko)1-5/+19
2010-10-29qt4-constants-gen.py: Improved docs for new macros expanding to QLatin1String.Andre Moreira Magalhaes (andrunko)1-2/+4
2010-10-27Changed defines to have TP_QT4 as prefix and kept old params in ↵Andre Moreira Magalhaes (andrunko)1-32/+13
qt4-constants-gen.py unmodified, adding a new define-prefix param.
2010-10-27Added new constants for iface and error names that define both a ↵Andre Moreira Magalhaes (andrunko)1-3/+60
QLatin1String version and a char * version using the same prefix.
2010-10-11Don't ignore the namespace in libqt4codegen's binding_from_decl()Marco Barisione2-2/+9
Ignoring the namespace means that the codegen thinks the spec is broken when we use external types: the type "Foo" is expected to be provided, while the spec actually provides "Tp::Foo".
2010-10-11libqt4codegen: get the Tp type of external types from the name attributeMarco Barisione1-1/+1
In the spec the Telepathy type is the value of the "name" attribute of "<tp:external-type/>", but we were trying to use the non-existing "tp:type" attribute. Fixes: fd.o#30223 - telepathy-qt4's codegen doesn't deal with tp:external-type properly
2010-10-08qt4-types-gen: improve broken spec error reporting.Will Thompson1-9/+71
This is partly just me being a bit OCD, but it makes the error output way easier to read. Previously, if the generator hit (for instance) an undefined type, it'd spit out: GEN _gen/types-body.hpp Traceback (most recent call last): File "../../../tools/qt4-types-gen.py", line 490, in <module> Generator(dict(options))() File "../../../tools/qt4-types-gen.py", line 171, in __call__ self.provide_all() File "../../../tools/qt4-types-gen.py", line 312, in provide_all assert not self.required_custom, 'These required types were not provided by the spec: ' + ', '.join(self.required_custom) AssertionError: These required types were not provided by the spec: CurrencyAmount But now it produces: GEN _gen/types.h Your spec is broken, dear developer! The following types were used, but not provided by the spec or by <tp:external-type/> declarations in all.xml: CurrencyAmount A more informative error, and 100% less backtrace cruft. Of course, it'd be better if we could report the locations where the unknown types were used, but that seems to be non-trivial.
2010-09-30Have make lcov-check build all the dependencies (hence all the tests) before ↵Dario Freddi1-13/+0
running
2010-09-20cmake: Removing the autotools build system filesDario Freddi6-139/+0
2010-09-20cmake: Some random fixes to messages, fix the version generation, and add ↵Dario Freddi1-3/+5
some goodies to the maintainer check target
2010-09-20cmake: Small fix to tools, add comments to various targets, and add an ↵Dario Freddi1-8/+10
ENABLE_CPACK switch
2010-09-20cmake: Add lcov compiler coverage through a new variable, ↵Dario Freddi1-0/+13
ENABLE_COMPILER_COVERAGE, turned off by default
2010-09-20cmake: Implement distcheck correctly, and fix a pair of bugs spotted through itDario Freddi1-5/+10
2010-09-20cmake: Make make dist behave like autotools' make dist, and port all the ↵Dario Freddi1-0/+100
tools target to CMake as well
2010-08-23tools/manager-file.py: Updated from latest tp-glib version.Andre Moreira Magalhaes (andrunko)1-3/+7
2010-08-23Modify repeat-tests.sh to be able to run any command instead of just make ↵Olli Salli1-4/+4
targets This is useful for running individual tests by directly invoking the test executable.
2010-08-21Remove --verbose from check-valgrind, we're not particularly interested in ↵Olli Salli1-1/+0
overtly verbose symbol binding info etc This has no effect on the verbosity of reporting the actual memory errors.
2010-08-20Add a script to automatically re-run tests for a number of timesOlli Salli1-0/+23
2010-06-29Added valgrind support when running tests.Andre Moreira Magalhaes (andrunko)1-0/+12
2010-05-26Update with-session-bus.sh from telepathy-glib, fixing a bashismSimon McVittie1-1/+11
Reviewed-by: Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> Bug: https://bugs.freedesktop.org/show_bug.cgi?id=28258
2010-04-15qt4-constants-gen: correctly handle UTF-8Will Thompson1-17/+19
I documented an error code with a Unicode ellipsis and Python got upset.
2010-04-06Fixing compilation (more specific, moc generation). The current code ↵Dario Freddi1-0/+5
triggered QTBUG #2151, where a QObject having some Q_PROPERTYs and not declared as a metatype generated a faulty moc, breaking compilation. The issue is not completely solved: building with more than one batch job still breaks. I'll be on that later. Signed-off-by: Dario Freddi <dario.freddi@collabora.co.uk> Reviewed-by: Andre Moreira Magalhaes (andrunko) <andre.magalhaes@collabora.co.uk>
2010-02-26Added support for generating code for draft interfaces.Andre Moreira Magalhaes (andrunko)1-19/+7
The classes that want to implement draft interfaces should use future-* to do so and update future-*.xml accordingly. Patch from Simon McVittie (smcv) <simon.mcvittie@collabora.co.uk>
2010-02-26Added glib gen tools so we can generate code for glib regression tests ↵Andre Moreira Magalhaes (andrunko)7-0/+1620
extensions. Patch from Simon McVittie (smcv) <simon.mcvittie@collabora.co.uk>