| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
|
|
|
| |
we will switch it back when 5.7 rolls around
|
|
|
|
| |
properties)
|
|
|
|
|
| |
setNTP takes a boolean and starts/enables ntpd through rcctl
if true and stops/disables ntpd if false
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
the checksumming function was very ineffecient and was
causing the executable to stall on launch, making dbus
launch it on new PIDs. this caused a very hard to
diagnose bug that would mangle the system time after
several calls to setTime in short succession
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
this determines the proper timezone string (e.g. America/New_York)
by first checking if /etc/localtime is symlinked to a named timezone
in /usr/share/zoneinfo. if not, a warning is thrown and /etc/localtime's
checksum is compared against a previously generated table.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
we are going to include the /etc/os-release changing
functions in here.
|
|
|
|
|
| |
src/polkit-auth.c and its header are seperately built objects, linked
to interfaces, which expose a single, safe auth checking function
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
main() now sets the signal handlers (via function from previous
commit) before establishing the GMainLoop as well as invoke the
proper clean()'s after unref'ing the loop. at this point all four
interfaces are at the same place structurally. builds all cases.
|
|
|
|
|
|
|
| |
this function calls attached the ones from the previous commit to the
GLib runtime properly. since we are working solely in the default context
(in terms on the GMainLoop) we are guaranteed the attached functions will
only run once.
|
|
|
|
|
|
|
|
| |
it prints a message and calls foo_mem_clean(), swiftly and safely
bringing the runtime down before letting the calling thread it was
ready to exit. note, this is handled through GLib which guarantees
it is only fired once, rather than unwrapped signals that can occur
wildly.
|
|
|
|
|
|
|
|
|
|
| |
mem_clean functions previously free()'d our pointer array without
first checking that the name/interface had properly been unexported from
dbus. checking first better guarantees all operations implicating that date
have ceased, and that it is safe to go ahead and stop the GMainLoop before
immediately returning. this causes the code just after the main_loop_begin()
call to start functioning, in our case the actual free() calls (which are now
*absolutley* safe to call)
|
|
|
|
|
|
|
|
|
| |
work that was previously done in foo_on_name_acquired(), such as attaching
the interface to the name, is now done in foo_on_bus_acquired(), as GIO docs
suggest. this fixed a bug with logind failing to export, the name_acquired function
executed executed too late to export a big interface like logind.
fix some minor error msg/consistency stuff in hostnamed, merge across pals. builds
|
|
|
|
|
|
| |
minor variable placement changes. added gboolean dbus_interface_exported,
which due to the guarantees of the name_lost, bus_acquired, and name_acquired
is a reliable source of whether not it is reasonable to try and unexport it
|
|
|
|
| |
minor, builds
|
|
|
|
| |
nessecary for compiler unambiguity. minor, builds
|
| |
|
| |
|
|
|
|
|
| |
it's a good idea to use glib signal handling, most use cases will
be running gnome
|
|
|
|
|
|
| |
genfiles (-gen.{c,h}) should be generated at build time instead of
being included in the repo. remove them & add relevant recipes/pre-reqs
include genfiles in 'clean' recipe
|
|
|
|
|
| |
they now start up and display the proper methods/functions on the
system bus, albeit with no functionality
|
|
|
|
|
|
|
|
|
| |
rewrite scripts/gen-gdbus-interfaces.sh to use ksh (#!/bin/sh) to cut
down on inbox spam, also fixed prior bug where generated files had bad
paths in their #includes. removed namespacing option from gdbus-codegen
as linked objects do not run into naming conflicts as the previous
commits did. regenerate all genfiles (src/interfaces/foo/foo-gen.{c.h})
accordingly.
|
|
|
|
|
|
|
| |
no need to include foo-gen.c as its functionality exists inside linked object
built by makefile in future commit. additionally, make all non-generated
interface files executable with a dummy main() that runs foo_init() after
setting everything up properly with a g_main_loop
|
| |
|
|
|
|
| |
functionality (2) modify gen-gdbus-interfaces to exclude object manager functionality (3) make localed skeleton (4) namespace hostnamed's and localed's bus/name functions properly (5) edit main.c to init localed
|
|
|
|
| |
accordingly
|
| |
|
| |
|
| |
|
| |
|
|
|