|
Merge c-dispatcher branch, adds a lightweight dispatcher which raises
configuration modules on demand, reducing memory use during inactivity
and allowing the development of modules in other languages than Perl.
2006-10-24 Carlos Garnacho <carlosg@gnome.org>
* dispatcher/dispatcher.c: exit() on SIGTERM.
2006-10-24 Carlos Garnacho <carlosg@gnome.org>
Continued work on the dispatcher, I think it's now feature complete
enough to work.
* StbObject.pm: base object for s-t-b services, does all
initialization and common stuff.
* GroupsConfig.pm, HostsConfig.pm, IfacesConfig.pm, NFSConfig.pm,
NTPConfig.pm, SMBConfig.pm, ServicesConfig.pm, TimeConfig.pm,
UsersConfig.pm: inherit from StbObject, keep message format in a
variable to avoid duplicates.
* Utils/Platform.pm: move DBus code to Platform.pm.
* Platform.pm: added, new DBus object.
* Utils/Backend.pm: ensure system and platform.
* Init/Services.pm: code improvements for archlinux
* dispatcher/dispatcher.c: Add license, make it raise it's own private
session bus to spawn configuration modules, cache platform and return
it when asked, create a copy of the message to pass around (seems to
be necessary by design)
* services/*: added, used to raise configuration modules.
* configure.in, Makefile.am: added services directory stuff.
2006-10-13 Carlos Garnacho <carlosg@gnome.org>
* dispatcher/dispatcher.c (daemonize): added, function to make the
dispatcher become a daemon.
2006-10-12 Carlos Garnacho <carlosg@gnome.org>
beginnings of a really lightweight dispatcher written in C, this way
the modules will only be loaded when necessary, reducing memory usage
and allowing to develop modules in other languages than Perl.
* dispatcher/dispatcher.c, Makefile.am: added, first draft of the
dispatcher, it already forwards messages and sends replies back and
tries to raise modules in the session bus
* Makefile.am: add the dispatcher directory.
* configure.in: require GLib to build the dispatcher, maybe this dep
could be dropped at some point in the future, if I don't feel too
lazy...
* Utils/Backend.pm: remove --no-daemon and --session-bus parameters,
should be no longer needed. Add --disable-shutdown for testing
purposes, as modules are supposed to shutdown automatically after some
inactivity. Add --module parameter to raise a configuration module.
* GroupsConfig.pm, HostsConfig.pm, IfacesConfig.pm, NFSConfig.pm,
NTPConfig.pm, SMBConfig.pm, ServicesConfig.pm, TimeConfig.pm,
UsersConfig.pm: create the DBus object by themselves.
* SystemToolsBackends.pl.in: do not create all the DBus objects, just
the one we want to raise, this way the script becomes a loader for
services instead of a service itself.
|
|
* Merged the waiting-the-dbus branch into HEAD
* configure.in, Makefile.am, autogen.sh: bump to 1.9.0, do not use
translations (no longer needed) and fix references to the new .pc file
* GroupsConfig.pm, HostsConfig.pm, IfacesConfig.pm, NFSConfig.pm,
NTPConfig.pm, SMBConfig.pm, ServicesConfig.pm, ServicesList.pm,
SharesList.pm, SystemToolsBackends.pl.in, TimeConfig.pm,
UsersConfig.pm, org.freedesktop.SystemToolsBackends.service.in,
system-tools-backends-2.0.pc.in, test-backends, Init/Services.pm,
Init/ServicesList.pm, Network/Hosts.pm, Network/Ifaces.pm,
Shares/Exports.pm, Shares/NFS.pm, Shares/SMB.pm, Time/NTP.pm,
Time/TimeDate.pm, Users/Groups.pm, Users/Shells.pm, Users/Users.pm,
Utils/Backend.pm, Utils/File.pm, Utils/Monitor.pm, Utils/Parse.pm,
Utils/Platform.pm, Utils/Replace.pm, Utils/Report.pm, Utils/Util.pm,
Utils/XML.pm: Added/refactored files, replace the functionality in
the older *.pl.in files
* boot-conf.in, boot-grub.pl.in, boot-lilo.pl.in, boot-yaboot.pl.in,
boot.pl.in, file.pl.in, general.pl.in, network-conf.in, network.pl.in,
parse.pl.in, platform.pl.in, replace.pl.in, report.pl.in,
service-list.pl.in, service.pl.in, services-conf.in, share.pl.in,
shares-conf.in, system-tools-backends.pc.in, time-conf.in,
users-conf.in, util.pl.in, xml.pl.in: Functional removed files,
they've been replaced with the files above.
* add_amp.sh, debug.pl.in, dhcpd-conf.in, dhcpd.pl.in, disks-conf.in,
display-conf.in, filesys.pl.in, font-conf.in, font.pl.in,
gen-reportcode-list.sh, guess_system.sh, hardware-conf.in,
internetsharing-conf.in, ishare.pl.in, media.pl.in, memory-conf.in,
mouse-conf.in, option.pl, package-conf.in, partition.pl.in,
perldoc.pl, print-conf.in, print.pl.in, process.pl.in,
removable-media.pl.in, rhprinterdb2gstxml.pl, test.pl,
tokenizer.pl.in, type1inst, x.pl.in: Bunch of unused files (or used in
unstable tools), if/when they prove their usefulness, they'll be added
back, but for now they'd better be in the Attic.
|