summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Added mono documentation.Owen Fraser-Green2004-05-1539-0/+4168
|
* Added documentation directoryOwen Fraser-Green2004-05-151-0/+2
|
* create a process for committing patches that doesn't bottleneck on HavocHavoc Pennington2004-05-111-0/+35
|
* * updated the invalid test cases to include theJohn (J5) Palmieri2004-05-1116-2/+67
| | | | | | missing PATH header field which is required * updated the spec documentation to indicate that INTERFACE, MEMBER, and PATH are all required fields
* * Fixed python bindings by defining all need parameter and variable typesJohn (J5) Palmieri2004-05-102-64/+135
|
* mention removing version number from daemon nameHavoc Pennington2004-05-071-1/+3
|
* Modified version of the patch by Jeff Snyder jeff at caffeinated.me.ukZack Rusin2004-05-041-2/+4
| | | | Thanks
* small compile fixHarald Fernengel2004-05-031-0/+2
|
* Removed test-dbus-sharp.exe from all target.Owen Fraser-Green2004-05-022-1/+5
|
* Handle empty iterators properly!Owen Fraser-Green2004-05-013-9/+9
|
* Handle empty iterators.Owen Fraser-Green2004-05-014-32/+45
|
* The Requires field didn't really work out.Owen Fraser-Green2004-04-301-1/+0
|
* Modified dbus-sharp.pc to include Libs and Requires fieldOwen Fraser-Green2004-04-302-2/+8
|
* Committing Haralds stuff together with some of my backlog for connection.Zack Rusin2004-04-272-19/+53
|
* 2004-04-25 Kristian Høgsberg <krh@redhat.com>Kristian Høgsberg2004-04-255-9/+15
| | | | | * test/data/valid-messages/standard-*.message: Update message test scripts to new header field names.
* * Fixed buffer overflow cause by not incrementingJohn (J5) Palmieri2004-04-232-3/+11
| | | | | the times_we_did_each_thing counter array to reflect the number of random mutation functions we have.
* * rename HEADER_FIELD_SERVICE -> HEADER_FIELD_DESTINATIONJohn (J5) Palmieri2004-04-227-26/+41
| | | | | and HEADER_FIELD_SENDER_SERVICE -> HEADER_FIELD_SENDER for both dbus-protocol.h and in the spec
* 2004-04-21 Kristian Høgsberg <krh@redhat.com>Kristian Høgsberg2004-04-216-6/+59
| | | | | | | | | | * dbus/dbus-server-unix.c (unix_finalize): Don't unref unix_server->watch here, it is unreffed in disconnect. (_dbus_server_new_for_tcp_socket): convert NULL host to "localhost" here so we don't append NULL to address. * dbus/dbus-server.c (_dbus_server_test): Add test case for various addresses, including tcp with no explicit host.
* * dbus/dbus-message.c (decode_header_data, decode_string_field):Olivier Andrieu2004-04-214-6/+21
| | | | | | | | | | | | fix incorrect setting of .name_offset in the HeaderField (it was off by two bytes, positioned right after the name and typecode) * bus/bus.c (bus_context_new, bus_context_unref): test before calling dbus_server_free_data_slot and _dbus_user_database_unref in case of an error. * tools/Makefile.am: add $(DBUS_GLIB_TOOL_LIBS), xml libs needed by libdbus-gtool.
* 2004-04-19 Kristian Høgsberg <krh@redhat.com>Kristian Høgsberg2004-04-193-74/+27
| | | | | * dbus/dbus-transport-unix.c (unix_do_iteration): Rewrite to use _dbus_poll() instead of select().
* 2004-04-15 Jon Trowbridge <trow@ximian.com>Jon Trowbridge2004-04-164-114/+283
| | | | | | | | | | | | | | | | | | | | | | | | | | * bus/main.c (signal_handler): Reload the configuration files on SIGHUP. (main): Set up our SIGHUP handler. * bus/bus.c (struct BusContext): Store the config file, user and fork flag in the BusContext. (process_config_first_time_only): Added. Contains the code (previously in bus_context_new) for setting up the BusContext from the BusConfigParser that should only be run the first time the config files are read. (process_config_every_time): Added. Contains the code (previously in bus_context_new) for setting up the BusContext from the BusConfigParser that should be run every time the config files are read. (load_config): Added. Builds a BusConfigParser from the config files and passes the resulting structure off to process_config_first_time_only (assuming this is the first time) and process_config_every_time. (bus_context_new): All of the config-related code has been moved to process_config_first_time_only and process_config_every_time. Now this function just does the non-config-related initializations and calls load_config. (bus_context_reload_config): Added.
* 2004-04-15 Olivier Andrieu <oliv__a@users.sourceforge.net>Olivier Andrieu2004-04-157-5/+211
| | | | | | | | | | | | | | * bus/driver.c (bus_driver_handle_get_service_owner): implement a GetServiceOwner method. * doc/dbus-specification.xml: document it. * dbus/dbus-errors.h: add a 'ServiceHasNoOwner' error. * glib/dbus-gproxy.c (dbus_gproxy_new_for_service_owner): implement, using the bus GetServiceOwner method. * test/glib/test-dbus-glib.c: use dbus_gproxy_new_for_service_owner so that we can receive the signal.
* 2004-04-14 Olivier Andrieu <oliv__a@users.sourceforge.net>Olivier Andrieu2004-04-132-0/+14
| | | | | * test/glib/test-dbus-glib.c (timed_exit): fail the test after a few seconds.
* 2004-04-13 Michael Meeks <michael@ximian.com>Michael Meeks2004-04-132-41/+86
| | | | | | * glib/dbus-gobject.c (handle_introspect): split out (introspect_properties): this. (handle_introspect): implement this.
* 2004-04-13 Michael Meeks <michael@ximian.com>Michael Meeks2004-04-133-1/+16
| | | | | | | * test/glib/Makefile.am: use the absolute path so the bus daemon's chdir ("/") doesn't kill us dead. * configure.in: subst ABSOLUTE_TOP_BUILDDIR
* 2004-04-12 Jon Trowbridge <trow@ximian.com>Jon Trowbridge2004-04-137-9/+90
| | | | | | | | | | | | | | | * bus/config-parser.c (struct BusConfigParser): Added included_files field. (seen_include): Added. Checks whether or not a file has already been included by any parent BusConfigParser. (bus_config_parser_new): Copy the parent's included_files. (include_file): Track which files have been included, and fail on circular inclusions. (process_test_valid_subdir): Changed printf to report if we are testing valid or invalid conf files. (all_are_equiv): Changed printf to be a bit clearer about what we are actually doing. (bus_config_parser_test): Test invalid configuration files.
* 2004-04-09 Jon Trowbridge <trow@ximian.com>Jon Trowbridge2004-04-0912-58/+533
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * bus/config-parser.c (bus_config_parser_new): Added a 'parent' argument. If non-null, the newly-constructed BusConfigParser will be initialized with the parent's BusLimits instead of the default values. (include_file): When including a config file, pass in the current parser as the parent and then copy the BusLimits from the included BusConfigParser pack to the current parser. (process_test_valid_subdir): Renamed from process_test_subdir. (process_test_equiv_subdir): Added. Walks through a directory, descending into each subdirectory and loading the config files it finds there. If any subdirectory contains two config files that don't produce identical BusConfigParser structs, fail. For now, the BusConfigParser's BusPolicies are not compared. (bus_config_parser_test): Call both process_test_valid_subdir and process_test_equiv_subdir. * bus/config-loader-libxml.c (bus_config_load): Take a parent argument and pass it along to the call to bus_config_parser_new. Also made a few small changes to allow this code to compile. * bus/config-loader-expat.c (bus_config_load): Take a parent argument and pass it along to the call to bus_config_parser_new. * bus/bus.c (bus_context_new): Load the config file with a NULL parent argument.
* Made proxy DLL names uniqueOwen Fraser-Green2004-04-033-9/+10
|
* hushMichael Meeks2004-03-291-0/+1
|
* 2004-03-29 Michael Meeks <michael@ximian.com>Michael Meeks2004-03-295-180/+153
| | | | | | | | | | | * glib/dbus-gobject.c (set_object_property): split out / re-work, use the property type, and not the message type(!) (get_object_property): ditto. * glib/dbus-gvalue.c (dbus_gvalue_demarshal), (dbus_gvalue_marshal): make this code re-usable, needed for signals too, also on both proxy and server side. Re-write for more efficiency / readability.
* 2004-03-29 Michael Meeks <michael@ximian.com>Michael Meeks2004-03-295-3/+55
| | | | | | | | | | * dbus/dbus-message.c (dbus_message_new_error_printf): impl. * dbus/dbus-connection.c (dbus_connection_unregister_object_path): fix warning. * configure.in: fix no-mono-installed situation.
* hush.Michael Meeks2004-03-294-0/+16
|
* 2004-03-27 Havoc Pennington <hp@redhat.com>Havoc Pennington2004-03-273-22/+43
| | | | | | | | | | Patch from Timo Teräs: * tools/dbus-send.c (main): if --print-reply, assume type is method call; support boolean type args * dbus/dbus-connection.c (dbus_connection_send_with_reply): fix a bunch of memleak and logic bugs
* Added signal support.Owen Fraser-Green2004-03-2610-114/+552
|
* Added support for enumerations with marshalling to/from their underlying ↵Owen Fraser-Green2004-03-255-2/+41
| | | | system type (Byte, Int32, UInt32, Int64, UInt64)
* Modified to support char type.Owen Fraser-Green2004-03-241-0/+11
|
* Fixed bug preventing creating multiple proxy objects of the same type.Owen Fraser-Green2004-03-241-33/+37
|
* Made all DBusTypes take Service in the constructor because Array also needed ↵Owen Fraser-Green2004-03-2416-54/+48
| | | | it in the case of an array of OBJECT_PATH objects.
* Changed Suits method to not look recursively for Interface attributesOwen Fraser-Green2004-03-241-1/+1
|
* Added InterfaceProxy to Mono bindings to avoid having to generate a proxy ↵Owen Fraser-Green2004-03-2311-194/+303
| | | | for every registered object. Also added object_path functions to dbus-message.
* Added dbus-sharp.pc generationOwen Fraser-Green2004-03-231-0/+1
|
* First checkin of the Mono bindings.Owen Fraser-Green2004-03-2344-337/+3646
|
* 2004-03-21 Havoc Pennington <hp@redhat.com>Havoc Pennington2004-03-212-2/+4
| | | | * test/test-service.c (main): remove debug spew
* * dbus/dbus-marshal.c (_dbus_marshal_validate_arg): accept emptyOlivier Andrieu2004-03-216-17/+86
| | | | | | | | | | | | arrays * dbus/dbus-message.h, bus/dbus-message.c (dbus_message_iter_init) (dbus_message_iter_init_array_iterator) (dbus_message_iter_init_dict_iterator): return a dbus_bool_t to indicate whether the iterator is empty * dbus/dbus-pending-call.c, dbus/dbus-server.c: silence compiler warnings
* 2004-03-19 Havoc Pennington <hp@redhat.com>dbus-0.21Havoc Pennington2004-03-196-4/+46
| | | | | | | | | | | | | | * NEWS: 0.21 updates * configure.in: 0.21 * doc/Makefile.am: add all XMLTO usage to DBUS_XML_DOCS_ENABLED * python/Makefile.am: change to avoid dist of dbus_bindings.c so you don't need pyrex to make dist * qt/Makefile.am (libdbus_qt_1_la_SOURCES): add integrator.h to sources; run moc
* 2004-03-18 Richard Hult <richard@imendio.com>Richard Hult2004-03-182-0/+22
| | | | | * dbus/dbus-message.c (dbus_message_get_auto_activation) (dbus_message_set_auto_activation): Add doxygen docs.
* 2004-03-16 Richard Hult <richard@imendio.com>Richard Hult2004-03-1610-32/+738
| | | | | | | | | | | | | | | | | | * bus/activation.c: (bus_activation_service_created), (bus_activation_send_pending_auto_activation_messages), (bus_activation_activate_service): * bus/activation.h: * bus/dispatch.c: (bus_dispatch), (check_nonexistent_service_auto_activation), (check_service_auto_activated), (check_segfault_service_auto_activation), (check_existent_service_auto_activation), (bus_dispatch_test): * bus/driver.c: (bus_driver_handle_activate_service): * bus/services.c: (bus_registry_acquire_service): * dbus/dbus-message.c: (dbus_message_set_auto_activation), (dbus_message_get_auto_activation): * dbus/dbus-message.h: * dbus/dbus-protocol.h: Implement auto-activation.
* 2004-03-12 Olivier Andrieu <oliv__a@users.sourceforge.net>Olivier Andrieu2004-03-123-1/+17
| | | | | | | | * dbus/dbus-marshal.c (_dbus_marshal_get_arg_end_pos): fix a bug with CUSTOM types. * dbus/dbus-message.c (message_iter_test, _dbus_message_test): add a unit test for this bug (used to fail).
* 2004-03-12 Mikael Hallendal <micke@imendio.com>Mikael Hallendal2004-03-122-8/+64
| | | | | | | | * bus/activation.c: (babysitter_watch_callback): notify all pending activations waiting for the same exec that the activation failed. (bus_activation_activate_service): shortcut the activation if we already waiting for the same executable to start up.
* 2004-03-12 Mikael Hallendal <micke@imendio.com>Mikael Hallendal2004-03-126-78/+831
| | | | | | | | | | | | | | | | * bus/activation.c: - Added service file reloading. Each service files directory is kept in an hash table in BusActivation and each BusActivationEntry knows what .service-file it was read from. So when you try to activate a service the bus will check if it's been updated, removed or if new .service-files has been installed. - Test code at the bottom for the service file reloading. * bus/test-main.c: (main): * bus/test.h: - added service reloading test. * dbus/dbus-sysdeps.c: * dbus/dbus-sysdeps.h: (_dbus_delete_directory): Added.