summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* | | Rename DBUS_ERROR_INITIALIZER to DBUS_ERROR_INIT per Havoc's reviewSimon McVittie2007-10-112-3/+3
| | |
* | | Add DBUS_ERROR_INITIALIZER macroSimon McVittie2007-10-112-1/+25
| |/ |/|
* | Update ChangeLogSimon McVittie2007-10-111-0/+7
| |
* | .gitignore: ignore vi swapfilesSimon McVittie2007-10-111-0/+1
| |
* | dbus-launch: convert C++-style comment to C-style, add {} for claritySimon McVittie2007-10-111-2/+4
| |
* | dbus/dbus-server-socket.c: remove unused variable if disabling assertionsSimon McVittie2007-10-111-1/+1
| |
* | dbus/dbus-marshal-validate.c: get rid of empty statementsSimon McVittie2007-10-111-6/+6
| |
* | As per Havoc's review, rename DBUS_GNUC_EXTENSION to _DBUS_GNUC_EXTENSION.Simon McVittie2007-10-113-8/+15
| | | | | | | | Also update ChangeLog.
* | dbus/dbus-arch-deps.h.in: also use DBUS_GNUC_EXTENSION for ↵Simon McVittie2007-10-111-2/+2
| | | | | | | | DBUS_INT64_CONSTANT and UINT64 equivalent
* | Use DBUS_GNUC_EXTENSION to avoid -ansi -pedantic warnings about use of long ↵Simon McVittie2007-10-111-2/+2
| | | | | | | | long. (#717)
* | 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.
* Merge branch 'master' of ssh://git.freedesktop.org/git/dbus/dbusSimon McVittie2007-10-102-10/+29
|\
| * Fix env exports for better portability (#9280)John (J5) Palmieri2007-10-091-4/+7
| |
| * Document syntax for container types in dbus-send man file (#9553)John (J5) Palmieri2007-10-091-6/+22
| | | | | | | | * Patch from Jack Spaar <jspaar at users.sourceforge.net>
* | Update ChangeLogSimon McVittie2007-10-101-0/+13
| |
* | Bring .gitignore files up to date; add *.o, *~ etc. to top-level .gitignoreSimon McVittie2007-10-107-6/+19
| | | | | | | | | | CVS ignores these automatically, so they weren't in the .cvsignore when Ryan converted the repository.
* | Fix indentation in _dbus_object_tree_register declaration as per Havoc's reviewSimon McVittie2007-10-101-1/+1
| |
* | _dbus_object_tree_register: don't duplicate check for NULL and use new ↵Simon McVittie2007-10-101-5/+4
| | | | | | | | DBUS_ERROR_OBJECT_PATH_IN_USE error, both as per Havoc's review
* | Add error o.fd.D.Error.ObjectPathInUse (DBUS_ERROR_OBJECT_PATH_IN_USE)Simon McVittie2007-10-102-0/+4
| |
* | Add dbus_connection_try_register_object_path and ↵Simon McVittie2007-10-104-24/+171
|/ | | | dbus_connection_try_register_fallback, to make object path registration less painful for bindings
* Improve description of allowed variant signatures (#10185)Simon McVittie2007-10-092-3/+6
| | | | Patch based on one from Kristoffer Lundén, amended as per Havoc's comment.
* doc/dbus-specification.xml: Clarify description of DBUS_COOKIE_SHA1 (#10184).Simon McVittie2007-10-092-10/+12
| | | | Patch from Kristoffer Lundén.
* Merge branch 'master' of ssh://git.freedesktop.org/git/dbus/dbusSimon McVittie2007-10-098-22/+48
|\
| * fd.o bug #11678 Don't error out if compiler does not support vararg macrosJohn (J5) Palmieri2007-10-031-1/+1
| | | | | | | | | | | | * _dbus_verbose is the only function that does this so make it a noop if vararg macros are not supported * https://bugs.freedesktop.org/show_bug.cgi?id=11678
| * fd.o bug #12429 Reverse check to setpcap and only init audit if we were rootJohn (J5) Palmieri2007-10-032-8/+5
| | | | | | | | | | | | | | | | | | * patch by Dan Walsh <dwalsh@redhat.com> * https://bugs.freedesktop.org/show_bug.cgi?id=12429 * Reverse we_were_root check to setpcap if we were root. Also only init audit if we were root. So error dbus message will not show up when policy reload happens. dbus -session will no longer try to send audit message, only system will.
| * fd.o bug #11872 improve linker test for --gc-sectionsJohn (J5) Palmieri2007-10-031-2/+5
| | | | | | | | * patch by Tim Mooney <enchanter at users.sourceforge.net>
| * fd.o bug #11872 fix clearenv for systems that do not have itJohn (J5) Palmieri2007-10-032-2/+14
| | | | | | | | * patch from Brian Cameron <brian.cameron at sun.com>
| * fd.o bug #12547 remove superfluous ifJohn (J5) Palmieri2007-10-031-4/+3
| | | | | | | | * also convert tabs to spaces
| * Correctly implement -fPIC and -fPIEJohn (J5) Palmieri2007-10-033-5/+20
| | | | | | | | | | | | | | | | * For security reasons we want possition independent code for libraries and possition independent executable for executables * before we were just enabling -fPIC * now we correctly enable -fPIC and -PIE for libdbus and the bus respectively * propper LD_FLAGS are set for each also
* | doc/dbus-specification.xml: Specifically forbid empty structs (#7969)Simon McVittie2007-10-092-1/+10
|/
* Add argument path matching support. Bug #11066.Ryan Lortie2007-09-205-37/+152
| | | | | | | | | | | | | | | | | | 2007-09-20 Ryan Lortie <desrt@desrt.ca> * dbus/signals.c (struct DBusMatchRule, bus_match_rule_new, bus_match_rule_set_arg, bus_match_rule_parse_arg_match, match_rule_matches): Add support for parsing and matching on arg0path='/some/path' type rules. * dbus/signals.h (bus_match_rule_set_arg): change to take const DBusString instead of const char * for the string to match against. * dbus/dbus-bus.c: add a quick note to dbus_bus_add_match documentation about the path matching. * doc/dbus-specification.xml: add a more detailed description of the changes here.
* Add support for compacting DBusStrings to release wasted memory.Ryan Lortie2007-09-206-19/+130
| | | | | | | | | | | | | | | | | 2007-09-19 Ryan Lortie <desrt@desrt.ca> * dbus/dbus-string.[ch] (compact, _dbus_string_compact, _dbus_string_lock): new compact function to free up allocated memory that is no longer used. * dbus/dbus-message.c (load_message): call _dbus_string_compact on the message loader buffer. * dbus/dbus-transport-socket.c (do_reading, do_writing): call _dbus_string_compact on the incoming/outgoing "encoded" buffers. * dbus/dbus-string-util.c (_dbus_string_test): add a few tests for string compacting.
* HACKING: add more explicit git branch/tag instructionsRyan Lortie2007-09-132-7/+13
|
* migrate from cvs to git (cvs2svn -> git-svnimport).Ryan Lortie2007-09-1313-45/+27
| | | | | | | | | | | 2007-09-13 Ryan Lortie <desrt@desrt.ca> migrate from cvs to git (cvs2svn -> git-svnimport). * HACKING: update release/branch/tag instructions * */.cvsignore: rename to .gitignore also, clean up tags and branch names to conform to HACKING
* 2007-08-17 William Jon McCann <mccann@jhu.edu>Havoc Pennington2007-08-172-0/+6
| | | | * update-dbus-docs.sh: upload DTD to server
* 2007-08-17 Havoc Pennington <hp@redhat.com>Havoc Pennington2007-08-176-135/+160
| | | | | | | | | | | | | | | * tools/dbus-launch-x11.c (set_address_in_x11): fix from Michael Lorenz to use long not int with XChangeProperty format 32 * dbus/dbus-sysdeps-util-unix.c (_dbus_write_pid_to_file_and_pipe): factor this out, and use the same code in _dbus_become_daemon (where the parent writes the pid file and to the pid pipe) and in bus_context_new (where the daemon writes its own pid file and to its own pid pipe) * bus/bus.c (bus_context_new): close the pid pipe after we print to it. Also, don't write the pid to the pipe twice when we fork, someone reported this bug a long time ago.
* 2007-08-03 Havoc Pennington <hp@redhat.com>Havoc Pennington2007-08-035-2/+175
| | | | | | | | | | | | * configure.in: add major/minor/micro version number AC_SUBST * dbus/dbus-arch-deps.h.in (DBUS_MAJOR_VERSION, DBUS_MINOR_VERSION, DBUS_MICRO_VERSION, DBUS_VERSION_STRING, DBUS_VERSION): collection of macros to get version of library we are compiled against. * dbus/dbus-misc.c (dbus_get_version): new function, to get version of library we are linked against at runtime.
* 2007-07-30 Havoc Pennington <hp@redhat.com>Havoc Pennington2007-07-302-4/+18
| | | | | | | * bus/activation-helper.c (check_bus_name): don't use _dbus_check_valid_bus_name() which is only around with --enable-checks, instead use _dbus_validate_bus_name(). Bug #11766 from Diego <diego@pemas.net>
* 2007-07-27 Havoc Pennington <hp@redhat.com>Havoc Pennington2007-07-272-1/+5
| | | | * configure.in: post-release version bump
* 2007-07-27 Havoc Pennington <hp@redhat.com>dbus-1.1.2Havoc Pennington2007-07-275-3/+40
| | | | * release 1.1.2
* 2007-07-26 Havoc Pennington <hp@redhat.com>Havoc Pennington2007-07-268-36/+65
| | | | | | | | | | | | | | | * bus/config-parser-trivial.c (check_return_values): disable a test that hardcoded the bus user's name * bus/dispatch.c (bus_dispatch_test_conf): remove the "if (!use_launcher)" around the tests, they were only failing because we didn't pass through all the expected errors from the helper. * bus/activation-exit-codes.h (BUS_SPAWN_EXIT_CODE_CHILD_SIGNALED): add a code for child segfaulting (BUS_SPAWN_EXIT_CODE_GENERIC_FAILURE): make "1" be a generic failure code, so if a third party launch helper were written it could just always return 1 on failure.
* fix whitespaceHavoc Pennington2007-07-261-121/+121
|
* Switch over to using getaddrinfo for TCP clients & servers to enable IPv6Daniel P. Berrange2007-07-2510-242/+465
|
* 2007-07-24 Havoc Pennington <hp@redhat.com>Havoc Pennington2007-07-2410-40/+132
| | | | | | | | | | | | | | | | | | | | | | | | | | | * configure.in: add AM_PROG_CC_C_O to allow per-target CPPFLAGS * bus/dispatch.c (bus_dispatch_test_conf): Fix up setting TEST_LAUNCH_HELPER_CONFIG to include the full path, and enable test shell_fail_service_auto_start when use_launcher==TRUE * bus/activation-helper-bin.c (convert_error_to_exit_code): pass through the INVALID_ARGS error so the test suite works * bus/activation.c (handle_activation_exit_error): return DBUS_ERROR_NO_MEMORY if we get BUS_SPAWN_EXIT_CODE_NO_MEMORY * dbus/dbus-spawn.c (_dbus_babysitter_get_child_exit_status): return only the exit code of the child, not the entire thingy from waitpid(), and make the return value indicate whether the child exited normally (with a status code) * bus/bus.c (process_config_first_time_only): _dbus_strdup works on NULL so no need to check (process_config_every_time): move servicehelper init here, so we reload it on HUP or config file change * bus/Makefile.am (install-data-hook): remove comment because Emacs make mode seems to be grumpy about it
* 2007-07-24 Richard Hughes <richard@hughsie.com>Richard Hughes2007-07-243-1/+115
| | | | | | | | * bus/Makefile.am: * bus/test-system.c: (die), (check_memleaks), (test_pre_hook), (test_post_hook), (main): Add back the test-system.c file - not sure now this got ignored in the diff. I blame git.
* 2007-07-24 Richard Hughes <richard@hughsie.com>Richard Hughes2007-07-242-3/+14
| | | | | | | | | | | | * configure.in: Use ustar to generate the tarball; this fixes the make distcheck problem when the data files do not fit in the archive: tar: dbus-1.1.2/test/data/valid-service-files/org.freedesktop.DBus. TestSuiteShellEchoServiceFail.service.in: file name is too long (max 99); not dumped We have to have the 'long' names as the service helper matches by filename rather than by the name in the service file.
* 2007-07-24 Richard Hughes <richard@hughsie.com>Richard Hughes2007-07-2418-7/+129
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * configure.in: * test/Makefile.am: * test/data/invalid-service-files-system/org.freedesktop.DBus.TestS uiteNoExec.service.in: * test/data/invalid-service-files-system/org.freedesktop.DBus.TestS uiteNoService.service.in: * test/data/invalid-service-files-system/org.freedesktop.DBus.TestS uiteNoUser.service.in: * test/data/valid-config-files-system/debug-allow-all-fail.conf.in: * test/data/valid-config-files-system/debug-allow-all-pass.conf.in: * test/data/valid-config-files/debug-allow-all-sha1.conf.in: * test/data/valid-config-files/debug-allow-all.conf.in: * test/data/valid-service-files-system/org.freedesktop.DBus.TestSui teEchoService.service.in: * test/data/valid-service-files-system/org.freedesktop.DBus.TestSui teSegfaultService.service.in: * test/data/valid-service-files-system/org.freedesktop.DBus.TestSui teShellEchoServiceFail.service.in: * test/data/valid-service-files-system/org.freedesktop.DBus.TestSui teShellEchoServiceSuccess.service.in: * test/data/valid-service-files/debug-echo.service.in: * test/data/valid-service-files/debug-segfault.service.in: * test/data/valid-service-files/debug-shell-echo-fail.service.in: * test/data/valid-service-files/debug-shell-echo-success.service.in: * test/data/valid-service-files/org.freedesktop.DBus.TestSuiteEchoS ervice.service.in: * test/data/valid-service-files/org.freedesktop.DBus.TestSuiteSegfa ultService.service.in: * test/data/valid-service-files/org.freedesktop.DBus.TestSuiteShell EchoServiceFail.service.in: * test/data/valid-service-files/org.freedesktop.DBus.TestSuiteShell EchoServiceSuccess.service.in: Add the data files needed by the system activation unit checks.
* 2007-07-24 Richard Hughes <richard@hughsie.com>Richard Hughes2007-07-242-16/+534
| | | | | | | | | | | * bus/dispatch.c: (check_segfault_service_no_auto_start), (check_launch_service_file_missing), (check_launch_service_user_missing), (check_launch_service_exec_missing), (check_launch_service_service_missing), (bus_dispatch_test_conf), (bus_dispatch_test_conf_fail), (bus_dispatch_test): Add unit tests for system activation. Most are copied from the session activation tests, but some didn't apply when using a laucher.
* 2007-07-24 Richard Hughes <richard@hughsie.com>Richard Hughes2007-07-242-2/+61
| | | | | * bus/activation.c: (bus_activation_activate_service): If the bus uses a service-laucher, then use the setuid laucher.
* 2007-07-24 Richard Hughes <richard@hughsie.com>Richard Hughes2007-07-242-2/+24
| | | | | * configure.in: Add the needed library exports for the new laucher.