summaryrefslogtreecommitdiff
path: root/dbus/dbus-macros.h
Commit message (Collapse)AuthorAgeFilesLines
* Add _DBUS_GNUC_WARN_UNUSED_RESULT, similar to GLib'sSimon McVittie2013-05-081-1/+9
| | | | | | | Bug: https://bugs.freedesktop.org/show_bug.cgi?id=54972 Signed-off-by: Simon McVittie <simon.mcvittie@collabora.co.uk> Reviewed-by: Ralf Habacker <ralf.habacker@freenet.de> Reviewed-by: Alban Crequy <alban.crequy@collabora.co.uk>
* Annotate dbus_malloc*() functions with __attribute__ malloc and ↵Cristian Rodríguez2011-01-051-0/+14
| | | | | | | | | | | | | | | | | | | | __attribute__ alloc_size This improves optimization as well catches buffer overflows at compile time. code like: foo = dbus_malloc(2); strcpy(foo, "epicfail"); will emit: "warning ... will always overflow the destination buffer..." Signed-off-by: Cristian Rodríguez <cristian.rodriguez@opensuse.org> Reviewed-by: Thiago Macieira <thiago@kde.org> Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk> Bug: https://bugs.freedesktop.org/show_bug.cgi?id=32710
* Make the windows binaries and build match the linux one with cmake buildsystem.unknown2010-03-221-1/+3
| | | | | This is performed by including the files from the client lib in the internal one and by removing the linking to dbus-1 for targets using the internal library.
* Do not use DBUS_WIN in a public header file, use _WIN32.Marcus Brinkmann2010-03-191-1/+1
|
* Decorated public exported functions with DBUS_EXPORT macro, reviewed by ↵Ralf Habacker2010-03-161-0/+17
| | | | Colin Walters.
* DBusPipe related unix compile fixRalf Habacker2009-12-181-0/+18
|
* Bug 21161 - Update the FSF addressTobias Mueller2009-07-101-1/+1
| | | | | | No comment. Signed-off-by: Colin Walters <walters@verbum.org>
* As per Havoc's review, rename DBUS_GNUC_EXTENSION to _DBUS_GNUC_EXTENSION.Simon McVittie2007-10-111-4/+5
| | | | Also update ChangeLog.
* Add macro DBUS_GNUC_EXTENSION (the same as GLib's G_GNUC_EXTENSION)Simon McVittie2007-10-111-0/+12
| | | | Part of a fix for bug 717.
* 2007-07-13 Havoc Pennington <hp@redhat.com>Havoc Pennington2007-07-141-1/+1
| | | | * Add indent-tabs-mode: nil to all file headers.
* * dbus/dbus-macros.h, dbus/dbus-message.c, dbus/dbus-message.h: renamed ↵Ralf Habacker2007-06-171-4/+6
| | | | DBUS_GNUC_DEPRECATED to DBUS_DEPRECATED and extended to msvc compiler
* 2006-10-21 Havoc Pennington <hp@redhat.com>Havoc Pennington2006-10-211-0/+26
| | | | | | | * dbus/dbus-macros.h: add DBUS_GNUC_DEPRECATED macro * dbus/dbus-message.h: mark dbus_message_iter_get_array_len() as DBUS_GNUC_DEPRECATED
* * dbus/dbus-macros.h: Revert the addition of stddef.hJohn (J5) Palmieri2006-08-101-2/+0
| | | | as we should not be adding it to library headers
* * forgot to save the dbus/dbus-macros.h file for a previous checkinJohn (J5) Palmieri2006-08-101-0/+2
|
* * s/D-BUS/D-Bus/gJohn (J5) Palmieri2006-08-031-2/+2
|
* * dbus/dbus-macros.h: correct DOxygen end of section (s/}@/@})John (J5) Palmieri2005-12-191-1/+1
|
* 2004-08-09 Havoc Pennington <hp@redhat.com>Havoc Pennington2004-08-101-1/+1
| | | | | * COPYING: switch to Academic Free License version 2.1 instead of 2.0, to resolve complaints about patent termination clause.
* 2003-12-02 Richard Hult <richard@imendio.com>Richard Hult2003-12-021-1/+1
| | | | | * Update AFL version to 2.0 throughout the source files to reflect the update that was done a while ago.
* 2002-11-23 Havoc Pennington <hp@pobox.com>Havoc Pennington2002-11-231-0/+43
| | | | | | | | | | | | | | | | | | | | | * configure.in: pile on more warning flags if using gcc * Doxyfile.in (EXTRACT_STATIC): set to NO, so we don't have to document static functions * configure.in: add summary to end of configure so it looks nice and attractive * dbus/dbus-hash.c: finish implementation and write unit tests and docs * configure.in: add --enable-tests to enable unit tests * dbus/dbus-test.c: test program to run unit tests for all files in dbus/*, initially runs a test for dbus-hash.c * dbus/dbus-internals.h: file to hold some internal utility stuff
* 2002-11-21 Havoc Pennington <hp@redhat.com>Havoc Pennington2002-11-211-0/+53
* dbus/Makefile.am (INCLUDES): define DBUS_COMPILATION so we can allow ourselves to include files directly, instead of having to use dbus.h * dbus/dbus.h: fill in * dbus/dbus-message.h: sketch out a sample header file. Include griping if you include it directly instead of via dbus.h * dbus/dbus-macros.h: new file with macros for extern "C", TRUE/FALSE, NULL, etc. * doc/file-boilerplate.c: put include guards in here