summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2011-04-14dbus_bus_add_match: improve error documentation.HEADmasterWill Thompson1-3/+9
It's simply not true that the only possible error is a lack of resources in the bus.
2011-04-12Merge branch 'dbus-1.4'Simon McVittie1-1/+1
2011-04-12When uploading docs, use rsync -p to set permissionsSimon McVittie1-1/+1
It turns out that rsync --chmod means "pretend the source files had already had this chmod operation applied to them", and not "chmod the destination files" like you'd expect. As a result, the -p (--perms) option is also needed, so that rsync will "preserve" the modified permissions. Otherwise, the docs will not be group-writeable as intended, and only the person who made the previous upload will be able to upload them next time. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=36130 Reviewed-by: Will Thompson <will.thompson@collabora.co.uk>
2011-04-11Development version: 1.5.1, dbus-specification 0.17Simon McVittie2-3/+3
2011-04-11Prepare 1.5.0Simon McVittie3-7/+22
- D-Bus Specification 0.16 - libtool 9:0:6
2011-04-08Merge branch 'dbus-1.4'Simon McVittie4-24/+40
Conflicts: NEWS
2011-04-08development versionSimon McVittie2-1/+6
2011-04-08Prepare version 1.4.8Simon McVittie2-3/+13
2011-04-08activation: Strip out code to compare by Exec=Colin Walters1-18/+4
In commit: 075945f6 (John (J5) Palmieri 2005-07-14 20:44:15 +0000 some code was added to compare services by Exec key. The changelog is not pariticularly informative as to why this was added. But while debugging other code, we noticed this. Comparing by Exec key is not in the specification, and triggered a problem where while converting services to use systemd for activation, a change was made to use Exec=/bin/false and simply rely on systemd to activate. While I think it was broken for the service files to be changed to Exec=/bin/false, we shouldn't be doing something here that's not in the spec either. Reviewed-by: Will Thompson <will.thompson@collabora.co.uk> Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk> Bug: https://bugs.freedesktop.org/show_bug.cgi?id=35750
2011-04-07oops, fix XML mis-nestingSimon McVittie1-0/+1
2011-04-07list which parts of the Desktop Entry spec apply to service filesSven Herzberg1-3/+22
Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk> Bug: https://bugs.freedesktop.org/show_bug.cgi?id=19159
2011-04-07Merge branch 'arg0namespace-24317'Simon McVittie6-71/+627
Reviewed-by: David Zeuthen <davidz@redhat.com> Bug: https://bugs.freedesktop.org/show_bug.cgi?id=24317 Bug: https://bugs.freedesktop.org/show_bug.cgi?id=31818 Bug: https://bugs.freedesktop.org/show_bug.cgi?id=34870
2011-04-07Merge branch 'dbus-1.4'Simon McVittie2-94/+90
2011-04-07Mention dbus-specification.xml's separate versioning in HACKINGSimon McVittie1-1/+6
2011-04-07Check parsing (or otherwise) of path_namespace in match rulesSimon McVittie1-0/+18
2011-04-07Remove support for trailing "." on arg0namespaceSimon McVittie2-64/+11
2011-04-07Rename path_prefix to path_namespace and disallow trailing '/'Simon McVittie3-119/+64
Also disallow having both path and path_namespace in the same match rule (it wouldn't make sense, path is more specific than path_namespace). As per IRC discussion with davidz and wjt. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=34870
2011-04-07Document when arg0namespace was added, for completenessSimon McVittie1-0/+7
2011-04-07Document when argNpath was added, for completenessSimon McVittie1-0/+9
2011-04-07specification: fix versioningSimon McVittie1-4/+4
We've added things since 0.15, so this isn't still 0.15.
2011-04-07path_prefix: anchor matches at path-component boundaries, and give examplesSimon McVittie2-5/+40
It seems wrong that path_prefix="/foo" matches /foobar, and it isn't difficult or expensive to check.
2011-04-07Add path_prefix match ruleDavid Zeuthen3-1/+192
Add a new path_prefix match rule that can be used for efficient implementations of the org.freedesktop.DBus.ObjectManager interface (see bug 34869). https://bugs.freedesktop.org/show_bug.cgi?id=34870 Signed-off-by: David Zeuthen <davidz@redhat.com>
2011-04-07re-word description of arg0namespaceSimon McVittie1-2/+6
It's unclear at first reading whether "may contain only one element" means "elements >= 1, as an exception to the usual rule that elements >= 2" (which is what was intended), or "elements == 1". "Like a bus name or interface name" is a little ambiguous because they have different syntactic restrictions: specifically allow any valid bus name, which also allows all interface names.
2011-04-07signals.h: rename argument in declaration to match implementationSimon McVittie1-1/+1
2011-04-07Merge remote-tracking branch 'wjt/arg0namespace' into arg0namespace-24317Simon McVittie5-53/+448
2011-04-07Break up the monster conditional in config-parser so gcov can copeSimon McVittie2-94/+90
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=10887 Reviewed-by: Colin Walters <walters@verbum.org>
2011-03-14Update NEWS for masterSimon McVittie1-0/+6
2011-03-14Merge branch 'dbus-1.4'Simon McVittie1-0/+4
2011-03-14Update NEWSSimon McVittie1-0/+4
2011-03-14Merge branch 'dbus-1.4', rejecting all changesSimon McVittie0-0/+0
This commit changes nothing, but means that merge tracking won't try to apply the reversion of d1d395774435..09c9d6406b75f to master in future.
2011-03-14Revert merge of master (dbus-1.5) into dbus-1.4Simon McVittie13-304/+167
This reverts commits d1d395774435..09c9d6406b75f, keeping Lennart's addition of UnknownInterface etc.
2011-03-11connection: hook UnknownObject and UnknownInterface up where appropriateLennart Poettering4-6/+16
This makes use of UnknownInterface and UnknownObject where appropriate in the D-Bus core. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=34527 Reviewed-By: Simon McVittie <simon.mcvittie@collabora.co.uk>
2011-03-10protocol: introduce four new errorsLennart Poettering1-1/+9
UnknownInterface, UnknownObject, UnknownProperty and PropertyReadOnly, as discussed on the ML. The first two are already used by various bindings, such as the Qt and Java binding, but have never been made official. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=34527 Reviewed-by: David Zeuthen <davidz@redhat.com> Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
2011-03-10Make dbus_type_is_valid into public APISimon McVittie8-50/+57
This is just as useful for bindings as dbus_signature_validate, and I think it's a good design principle to say that anything checked in a _dbus_return_if_fail should be something the caller could check for themselves. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=20496 Reviewed-by: Will Thompson <will.thompson@collabora.co.uk>
2011-03-10Merge branch 'dbus-1.4'Simon McVittie7-13/+71
2011-03-10add doxygen.stamp to .gitignoreSimon McVittie1-0/+1
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=35182 Reviewed-by: Will Thompson <will.thompson@collabora.co.uk>
2011-03-10_dbus_marshal_write_fixed_multi: remove obsolete FIXME commentSimon McVittie1-2/+0
As far as I can tell, we've never accepted out-of-range booleans and canonicalized them, ever since this was first committed in 2004. If sent, they'd be considered to be invalid by recipients, so they're unambiguously an error. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=35182 Reviewed-by: Will Thompson <will.thompson@collabora.co.uk>
2011-03-10dbus_message_iter_append_basic: remove misleading documentationSimon McVittie1-4/+0
This function specifically doesn't support Unix fds and is documented as such. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=35182 Reviewed-by: Will Thompson <will.thompson@collabora.co.uk>
2011-03-10Implement uninstallation and cleanup for Doxygen docs, fixing distcheckSimon McVittie1-0/+8
Reviewed-by: Will Thompson <will.thompson@collabora.co.uk>
2011-03-10Merge branch 'validate-when-sending-16338' into dbus-1.4Simon McVittie3-0/+52
Reviewed-by: Will Thompson <will.thompson@collabora.co.uk>
2011-03-10dbus_type_is_basic etc.: it is an error to pass in bad typecodesSimon McVittie1-7/+10
Previously, the comments said "this function will crash", but that's not strictly true (checks can be disabled or made non-fatal). Their behaviour is undefined if you do that, though. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=20496 Reviewed-by: Will Thompson <will.thompson@collabora.co.uk>
2011-03-10Require specific user action to compile without 64-bit supportSimon McVittie1-4/+42
The D-Bus type system isn't implementable without 64-bit support, although for historical reasons we have some sort of semi-working support for platforms with no 64-bit integers. Let's find out whether any practically relevant platform still lacks these types... (GLib appears to have required 64-bit integer types since 2001.) Bug: https://bugs.freedesktop.org/show_bug.cgi?id=35114 Reviewed-by: Lennart Poettering <lennart@poettering.net>
2011-03-10Merge branch 'dbus-1.4'Simon McVittie1-1/+1
2011-03-10autogen: add -I m4 to aclocal pathLennart Poettering1-1/+1
This fixes 2b5959882a403cddba754b37b58bdc49bff01f90 which forgot to add m4/ to the command line of aclocal but moved scripts there.
2011-03-08Merge branch 'dbus-1.4'Simon McVittie1-2/+7
2011-03-08Update NEWSSimon McVittie1-2/+7
2011-03-07Merge branch 'dbus-1.4'Simon McVittie4-9/+10
2011-03-07Fix some more stray occurrences of ELEMENT_TYPESimon McVittie1-2/+2
2011-03-07Do not use the name ELEMENT_TYPEAndre Heinecke3-7/+8
On Windows Systems ELEMENT_TYPE is already defined in Winioctl.h this header is included indirectly in dbus-sysdeps.h. By avoiding the use of the Name ELEMENT_TYPE it is ensured that config-parser-common.h can be included together with dbus-sysdeps.h Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
2011-03-04dbus_message_iter_append_fixed_array: add a check for valid booleansSimon McVittie1-0/+13
The reasoning is the same as for dbus_message_iter_append_basic. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=16338 Reviewed-by: Cosimo Alfarano <cosimo.alfarano@collabora.co.uk>