Age | Commit message (Collapse) | Author | Files | Lines |
|
Comment out EXTRA_DIST += lines in gtk-doc makefiles, we don't need em yet, and it makes automake complain.
I really need to just kill using gtkdocize and write these makefiles by hand.
|
|
|
|
|
|
In autogen.sh, call gtkdocize before automake.
|
|
Adds docs/reference/libohm with basic gtk-doc generation.
|
|
Indicate whether gtk-doc is enabled at end of running configure.
|
|
Add basic gtk-doc generation for ohm-plugin.h
|
|
In preparation for having to cope with gtk-doc's limitations, prefix struct
names with underscore in ohm-plugin.h.
|
|
Last commit missed adding ohm-plugin-internal.h to ohmd_SOURCES in ohmd/Makefile.am, causing make dist to not include it.
|
|
For less abi visibility to plugins and for better docs, strip ohm-plugin.h down
to the bare essentials and make OhmPlugin an opaque pointer. The actual Gobject
definition and the methods used by ohmd are now in ohm-plugin-internal.h.
|
|
Was bring done in _new, which was a little odd.
|
|
Moves g_option_context_free earlier, and calls dbus_shutdown at end. The dbus_shutdown call is not really necessary but lets us know when we're leaking dbus connections. Moving g_option_context_free earlier doesnt help an awful lot as valgrind still reports leaks in the GOptionContext code...
|
|
Removes massif-ohm.sh and valgrind-ohm.sh as no longer needed.
|
|
Adds a --time option to run-ohm.sh to measure startup time.
|
|
Actually free the libhal context if allocated.
Unload the module at the end - we can assume that OhmModule isn't holding onto any data by the time it unloads the plugin.
|
|
Modified ohm-keystore and ohm-manager to unref owned objects in dispose, not finalize.
|
|
Changes the 'interested' hash table to store a GList * in its key rather than GList **, saves a 4 byte alloc that valgrind complained about.
Free up mod_loaded after plugin loading.
|
|
Idle plugin was crashing on destroy if xorg.has_xauthority was 0 for the duration of its running.
|
|
Switches off g_slice and run with a supression file.
|
|
Adds options to run ohmd with electric-fence, checking both underruns and overruns.
|
|
ohm_plugin_free_hal_table was removing items from hal_udis as it iterated them. That's bad, mmkay?
|
|
Fixes a memleak in ohm_module_read_defaults, where module->priv->mod_require
was still being filled with strdups of the requires. (a3d42549 changed the
logic so the results of g_key_file_get_string_list were kept around until the
mod_* lists were empty).
|
|
Gives ohmd two new command line options: --g-fatal-warnings that makes g_warnings fatal and exits, and --g-fatal-critical, which makes g_critical cause a fatal error.
Updates run-ohm.sh to always run with --g-fatal-critical
|
|
Add a SIGINT handler that quits the mainloop. Good for testing exiting..
|
|
Adds options --memcheck and --massif for running ohmd with the corresponding
valgrid tools. Also adds a --help option.
|
|
Updates all the existing plugins to use the new plugin interface.
|
|
This patch converts the plugin interface to use static dats for interested,
requires, provides, suggests and prevents. It defines a set of macros for
plugin authors to use to make declaring these nice and simple.
It also changes OhmPluginInfo to OhmPluginDesc, cutting down the functions a
plugin author needs to export to initialize, destroy and notify - of course,
all optional.
As the keys are all now const data, this cuts down strcpys dramitically so
memory use and fragmentation should be better. This also fixes a few memory
leaks.
|
|
Adds an extra option --debug to run-ohm.sh that runs ohmd in gdb, passing in --no-daemon -- verbose and the remaining flags as the arguments to run with.
|
|
Fix Robs last commit which broke installation on the OLPC
|
|
A typo in plugins/glue/backlight/Makefile.am was causing builds to fail of the backlight plugin.
|
|
mkinstalldirs is no longer needed as of automake 1.8, so removing from dist as we now depend on am 1.10.
|
|
This allows you to use ohmd/run-ohmd.sh to run ohmd uninstalled. It will installed the plugins and config to a temporary directory, a la hal. The install step can be skipped with --skit-plugin-install.
This also cleans up a lot of automake usage and ups automake dependancy to 1.10
|
|
Corrects documentation for ohm_conf_get_keys, ohm_conf_free_keys and
ohm_conf_add_key
|
|
To cut down abi exposure, don't expose key-added and key-change in the class structure.
|
|
For cross compile buildtools, use $(LIBTOOL) rather than executing libtool directly for running dbus-binding-tool.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
non X
|
|
|
|
|
|
|
|
|
|
|