dbus/test/data/equiv-config-files/basic basic-1.conf, NONE,
1.1 basic-2.conf, NONE, 1.1
Jon Trowbridge
trow at pdx.freedesktop.org
Fri Apr 9 12:50:31 PDT 2004
- Previous message: dbus/bus bus.c, 1.48, 1.49 config-loader-expat.c, 1.8,
1.9 config-loader-libxml.c, 1.4, 1.5 config-parser.c, 1.27,
1.28 config-parser.h, 1.13, 1.14
- Next message: dbus/test/data/equiv-config-files/basic/basic.d basic.conf, NONE,
1.1
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvs/dbus/dbus/test/data/equiv-config-files/basic
In directory pdx:/tmp/cvs-serv5664/test/data/equiv-config-files/basic
Added Files:
basic-1.conf basic-2.conf
Log Message:
2004-04-09 Jon Trowbridge <trow at ximian.com>
* 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.
--- NEW FILE: basic-1.conf ---
<!DOCTYPE busconfig PUBLIC "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
"http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
<busconfig>
<user>mybususer</user>
<listen>unix:path=/foo/bar</listen>
<listen>tcp:port=1234</listen>
<includedir>basic.d</includedir>
<servicedir>/usr/share/foo</servicedir>
<include ignore_missing="yes">nonexistent.conf</include>
<policy context="default">
<allow user="*"/>
</policy>
<limit name="max_incoming_bytes">5000</limit>
<limit name="max_outgoing_bytes">5000</limit>
<limit name="max_message_size">300</limit>
<limit name="activation_timeout">5000</limit>
<limit name="auth_timeout">6000</limit>
<limit name="max_completed_connections">50</limit>
<limit name="max_incomplete_connections">80</limit>
<limit name="max_connections_per_user">64</limit>
<limit name="max_pending_activations">64</limit>
<limit name="max_services_per_connection">256</limit>
</busconfig>
--- NEW FILE: basic-2.conf ---
<!DOCTYPE busconfig PUBLIC "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
"http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
<busconfig>
<include>basic-1.conf</include>
</busconfig>
- Previous message: dbus/bus bus.c, 1.48, 1.49 config-loader-expat.c, 1.8,
1.9 config-loader-libxml.c, 1.4, 1.5 config-parser.c, 1.27,
1.28 config-parser.h, 1.13, 1.14
- Next message: dbus/test/data/equiv-config-files/basic/basic.d basic.conf, NONE,
1.1
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the dbus-commit
mailing list