4299eb3c0907100fe95d2986984b48d40cc52841 |
|
08-Jul-2015 |
Daniel Erat <derat@google.com> |
Incorporate upstream changes to v1.6.8. Squash upstream commits up to and including the v1.6.8 release (upstream commit 1cad15cc). This repository's changes from upstream are now limited to: - addition of Android.mk, CleanSpec.mk, config.h, and NOTICE files - addition of dbus/dbus-arch-deps.h and removal from dbus/.gitignore (ebae2d21, f022f55d) - WANT_PIDFILE #ifdefs added to bus/bus.c to disable writing dbus-daemon's PID to a file (3100d06a) - TRACE_LOCKS set to 0 in dbus/dbus-connection.c (88a0ffe5) - DBUS_ANDROID_LOG added to dbus/dbus-internals.c to use logcat (7de15def) - ANDROID_MANAGED_SOCKET added to dbus/dbus-sysdeps-unix.c to use an SELinux-managed socket rather than a dbus-daemon-created Unix domain socket (3100d06a) Bug: 22328216 Change-Id: I793ebdf963d9b0740f0da28f1de593d088f08406
/external/dbus/dbus/dbus-marshal-basic.h
|
dbecdeabb20e0ce11121819c63373f0afba57c58 |
|
19-Mar-2010 |
Marcus Brinkmann <marcus.brinkmann@ruhr-uni-bochum.de> |
Consistently include <config.h> in all C source files and never in header files.
/external/dbus/dbus/dbus-marshal-basic.h
|
37019e9d271390fa8c62c1aae62d30bb9068adaa |
|
16-Jul-2009 |
Thiago Macieira <thiago@kde.org> |
Merge branch 'fd-passing' Conflicts: dbus/dbus-connection.c dbus/dbus-message-util.c dbus/dbus-sysdeps-unix.c
|
5baf2f856a9c6625993234855b07680da1c8916f |
|
11-Jul-2009 |
Tobias Mueller <fdo-bugs@cryptobitch.de> |
Bug 21161 - Update the FSF address No comment. Signed-off-by: Colin Walters <walters@verbum.org>
/external/dbus/dbus/dbus-marshal-basic.h
|
ec901d786f6de6e6f870279e2d955f491619c559 |
|
19-May-2009 |
Lennart Poettering <lennart@poettering.net> |
byteswap: make use of glibc specific bytswap primitives glibc knows three bswap_{16|32|64}() calls that internally make use of a gcc extension to implement faster byteswapping. We should make use of it if we can.
/external/dbus/dbus/dbus-marshal-basic.h
|
3801b6de7878074a8e77445bad2a2d093889a3af |
|
22-Apr-2009 |
Lennart Poettering <lennart@poettering.net> |
build-system: get rid of config.h inclusion checks These header files include config.h explicitly anyway. These checks are hence pointless. Of course one could argue that including config.h from header files sucks, but D-Bus generally seems not to have a problem with that, so let's unify this.
/external/dbus/dbus/dbus-marshal-basic.h
|
d012387afef0ba02185ebe27bc6bb15551912e92 |
|
14-Jul-2007 |
Havoc Pennington <hp@redhat.com> |
2007-07-13 Havoc Pennington <hp@redhat.com> * Add indent-tabs-mode: nil to all file headers.
/external/dbus/dbus/dbus-marshal-basic.h
|
54a2e9f7961b4b8afff94bb0c5b756f986965be6 |
|
24-Feb-2005 |
Colin Walters <walters@verbum.org> |
2005-02-24 Colin Walters <walters@verbum.org> * dbus/dbus-signature.c: New file; implements various functions related to type signatures. Includes an interator for parsing, validation functions. (dbus_type_is_basic): Moved here from dbus-marshal-basic.c:_dbus_type_is_basic. (dbus_type_is_container): Moved here from dbus-marshal-basic.c:_dbus_type_is_container. All callers of _dbus_type_is_container and _dbus_type_is_basic updated, and include dbus-signature.h. * dbus/dbus-signature.h: New file; prototypes for the above. * dbus/Makefile.am (DBUS_LIB_SOURCES): Add dbus-signature.c, dbus-signature.h. * dbus/dbus-marshal-basic.c (map_type_char_to_type): New utility function factored out of _dbus_first_type_in_signature. (_dbus_first_type_in_signature_c_str): New function; returns first type code for a type signature character. * dbus/dbus-marshal-basic.h: Prototype _dbus_first_type_in_signature_c_str, handle function moves. * dbus/dbus-marshal-recursive.h: Export _dbus_type_signature_next. * dbus/dbus-marshal-recursive.c (_dbus_type_signature_next): New function; skips to next complete type in type signature. Implemented using previous skip_one_complete_type. Now skip_one_complete_type just delegates to _dbus_type_signature_next. * dbus/dbus-marshal-basic.c (_dbus_type_is_basic): Moved to dbus-signature.c (_dbus_type_is_container): Ditto. * doc/dbus-specification.xml: Update introspection sample to use real type signatures. * dbus/dbus-test.h: Prototype signature test. * dbus/dbus-test.c (dbus_internal_do_not_use_run_tests): Run signature tests. * dbus/dbus-protocol.h (DBUS_ERROR_INVALID_SIGNATURE): New error.
/external/dbus/dbus/dbus-marshal-basic.h
|
3ed9db546e1143bc9aa2d83a6f423fdd81227352 |
|
28-Jan-2005 |
Havoc Pennington <hp@redhat.com> |
2005-01-27 Havoc Pennington <hp@redhat.com> * dbus/dbus-arch-deps.h.in: add 16/32-bit types * configure.in: find the right type for 16 and 32 bit ints as well as 64 * dbus/dbus-protocol.h (DBUS_TYPE_INT16, DBUS_TYPE_UINT16): add the 16-bit types so people don't have to stuff them in 32-bit or byte arrays.
/external/dbus/dbus/dbus-marshal-basic.h
|
fddbc09c4a9125fcb168fb31ff300d4132919ea6 |
|
28-Jan-2005 |
Havoc Pennington <hp@redhat.com> |
2005-01-27 Havoc Pennington <hp@redhat.com> * dbus/dbus-message.c: byteswap the message if you init an iterator to read/write from it * dbus/dbus-marshal-byteswap.c: new file implementing _dbus_marshal_byteswap() * dbus/dbus-marshal-basic.c: add _dbus_swap_array()
/external/dbus/dbus/dbus-marshal-basic.h
|
ad937e16957c76f21b0df79d742cb4c401d2abb9 |
|
17-Jan-2005 |
Havoc Pennington <hp@redhat.com> |
2005-01-17 Havoc Pennington <hp@redhat.com> * Throughout, align variant bodies according to the contained type, rather than always to 8. Should save a fair bit of space in message headers. * dbus/dbus-marshal-validate.c (_dbus_validate_body_with_reason): fix handling of case where p == end * doc/TODO: remove the dbus_bool_t item and variant alignment items
/external/dbus/dbus/dbus-marshal-basic.h
|
62e465339a306fa564b69935da494dad6e1b474a |
|
17-Jan-2005 |
Havoc Pennington <hp@redhat.com> |
2005-01-17 Havoc Pennington <hp@redhat.com> * dbus/dbus-types.h: hardcode dbus_bool_t to 32 bits * Throughout: modify DBUS_TYPE_BOOLEAN to be a 32-bit type instead of an 8-bit type. Now dbus_bool_t is the type to use whenever you are marshaling/unmarshaling a boolean.
/external/dbus/dbus/dbus-marshal-basic.h
|
7bf62e31a3c820852271768fafc04ba95c31a19f |
|
17-Jan-2005 |
Havoc Pennington <hp@redhat.com> |
2005-01-16 Havoc Pennington <hp@redhat.com> This is about it on what can be disabled/deleted from libdbus easily, back below 150K anyhow. Deeper cuts are more work than just turning the code off as I've done here. * dbus/dbus-marshal-basic.c (_dbus_pack_int32): we don't need the signed int convenience funcs * dbus/dbus-internals.c (_dbus_verbose_real): omit when not in verbose mode * dbus/dbus-string-util.c, dbus/dbus-string.c: more breaking things out of libdbus * dbus/dbus-sysdeps.c, dbus/dbus-sysdeps-util.c: same * dbus/dbus-hash.c: purge the TWO_STRINGS crap (well, make it tests-enabled-only, though it should probably be deleted) * dbus/dbus-message-util.c: same stuff * dbus/dbus-auth-util.c: same stuff
/external/dbus/dbus/dbus-marshal-basic.h
|
31988af4089f3793940417535f8eabaae1ac26c8 |
|
16-Jan-2005 |
Havoc Pennington <hp@redhat.com> |
2005-01-16 Havoc Pennington <hp@redhat.com> * Add and fix docs according to Doxygen warnings throughout source. * dbus/dbus-marshal-recursive.c (_dbus_type_reader_array_is_empty): change this to just call array_reader_get_array_len() and make it static * dbus/dbus-message.c (dbus_message_iter_get_element_type): rename from get_array_type (dbus_message_iter_init_append): rename from append_iter_init * dbus/dbus-marshal-recursive.c (_dbus_type_reader_get_element_type): rename from _dbus_type_reader_get_array_type
/external/dbus/dbus/dbus-marshal-basic.h
|
b3416423b1e3c17357833d896c1b7cd684660771 |
|
16-Jan-2005 |
Havoc Pennington <hp@redhat.com> |
2005-01-15 Havoc Pennington <hp@redhat.com> * test/glib/test-profile.c (with_bus_server_filter): fix crash * dbus/dbus-marshal-basic.c (_dbus_unpack_uint32): inline as macro when DBUS_DISABLE_ASSERT (_dbus_marshal_set_basic): be sure we align for the string length * dbus/dbus-marshal-recursive.c (skip_one_complete_type): make this look faster * dbus/dbus-string.c (_dbus_string_get_const_data_len): add an inline macro version (_dbus_string_set_byte): provide inline macro version
/external/dbus/dbus/dbus-marshal-basic.h
|
9c3d566e95c9080f6040c64531b0ccae22bd5d74 |
|
15-Jan-2005 |
Havoc Pennington <hp@redhat.com> |
2005-01-15 Havoc Pennington <hp@redhat.com> * Land the new message args API and type system. This patch is huge, but the public API change is not really large. The set of D-BUS types has changed somewhat, and the arg "getters" are more geared toward language bindings; they don't make a copy, etc. There are also some known issues. See these emails for details on this huge patch: http://lists.freedesktop.org/archives/dbus/2004-December/001836.html http://lists.freedesktop.org/archives/dbus/2005-January/001922.html * dbus/dbus-marshal-*: all the new stuff * dbus/dbus-message.c: basically rewritten * dbus/dbus-memory.c (check_guards): with "guards" enabled, init freed blocks to be all non-nul bytes so using freed memory is less likely to work right * dbus/dbus-internals.c (_dbus_test_oom_handling): add DBUS_FAIL_MALLOC=N environment variable, so you can do DBUS_FAIL_MALLOC=0 to skip the out-of-memory checking, or DBUS_FAIL_MALLOC=10 to make it really, really, really slow and thorough. * qt/message.cpp: port to the new message args API (operator<<): use str.utf8() rather than str.unicode() (pretty sure this is right from the Qt docs?) * glib/dbus-gvalue.c: port to the new message args API * bus/dispatch.c, bus/driver.c: port to the new message args API * dbus/dbus-string.c (_dbus_string_init_const_len): initialize the "locked" flag to TRUE and align_offset to 0; I guess we never looked at these anyhow, but seems cleaner. * dbus/dbus-string.h (_DBUS_STRING_ALLOCATION_PADDING): move allocation padding macro to this header; use it to implement (_DBUS_STRING_STATIC): ability to declare a static string. * dbus/dbus-message.c (_dbus_message_has_type_interface_member): change to return TRUE if the interface is not set. * dbus/dbus-string.[hc]: move the D-BUS specific validation stuff to dbus-marshal-validate.[hc] * dbus/dbus-marshal-basic.c (_dbus_type_to_string): move here from dbus-internals.c * dbus/Makefile.am: cut over from dbus-marshal.[hc] to dbus-marshal-*.[hc] * dbus/dbus-object-tree.c (_dbus_decompose_path): move this function here from dbus-marshal.c
/external/dbus/dbus/dbus-marshal-basic.h
|
5c486a24e50ef731b8f970060ab10e928cd0e7cd |
|
03-Jan-2005 |
Havoc Pennington <hp@redhat.com> |
add a file to hold the validation routines
/external/dbus/dbus/dbus-marshal-basic.h
|
c7e05f9ca4ff7ab0c8499b2059004dd38d2c8784 |
|
03-Jan-2005 |
Havoc Pennington <hp@redhat.com> |
finish off my TODO list for stuff needed to port dbus-message.c. Next step is to do so.
/external/dbus/dbus/dbus-marshal-basic.h
|
b73cc81c6b8b48c629041baac00a76cc94414760 |
|
02-Jan-2005 |
Havoc Pennington <hp@redhat.com> |
clean up the naming of dbus_marshal functions
/external/dbus/dbus/dbus-marshal-basic.h
|
fed88a4b843d8bb11cc486a36ba51441a65c506e |
|
02-Jan-2005 |
Havoc Pennington <hp@redhat.com> |
delete some more noise, put args in consistent order (a big bug trap sadly), and work on the set value stuff some
/external/dbus/dbus/dbus-marshal-basic.h
|
ffd960fc3e59679c9da9a10e5d8521a1c297eb02 |
|
02-Jan-2005 |
Havoc Pennington <hp@redhat.com> |
implement _dbus_type_writer_write_reader() (to copy a block of values) which is the first step toward a sane reimplementation of all that delete/modify and realign nonsense in dbus-message.c
/external/dbus/dbus/dbus-marshal-basic.h
|
441907e73affff202c75564f4c4b968ff37f094b |
|
02-Jan-2005 |
Havoc Pennington <hp@redhat.com> |
add DBusTypeMark
/external/dbus/dbus/dbus-marshal-basic.h
|
10f0f04980108f92931fd59915939f5f75972639 |
|
01-Jan-2005 |
Havoc Pennington <hp@redhat.com> |
chop dbus-marshal-basic in half and move it to be insertion rather than append based
/external/dbus/dbus/dbus-marshal-basic.h
|
daaee020dc47f7da7e2b29f130166cfa3a4acf32 |
|
30-Dec-2004 |
Havoc Pennington <hp@redhat.com> |
- remove DICT type - add SIGNATURE type - fix max name len of 256, should be 255 so it fits in a byte if it's going to be a number near 256 - generalize some of the recursive type marshaling code to share between arrays and variants - just started on implementing variant
/external/dbus/dbus/dbus-marshal-basic.h
|
7debfd9ff56c5c2208372142e494c3e4a2defb23 |
|
28-Dec-2004 |
Havoc Pennington <hp@redhat.com> |
sync busted marshaling work in progress
/external/dbus/dbus/dbus-marshal-basic.h
|
617e73f7631e605fc9ebf6a67042a1f451b97850 |
|
19-Dec-2004 |
Havoc Pennington <hp@redhat.com> |
2004-12-19 Havoc Pennington <hp@redhat.com> * dbus/dbus-string.c (_dbus_string_insert_4_aligned) (_dbus_string_insert_8_aligned): new functions * dbus/dbus-string.c (_dbus_string_alloc_space): new function
/external/dbus/dbus/dbus-marshal-basic.h
|
305a8d4d988a1011982e284e358165d3368067cc |
|
19-Dec-2004 |
Havoc Pennington <hp@redhat.com> |
back up some files I'm working on that don't do anything yet
/external/dbus/dbus/dbus-marshal-basic.h
|