summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2007-08-17Comment out EXTRA_DIST += lines in gtk-doc makefiles.Rob Taylor2-2/+2
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.
2007-08-16Add missing ohm-plugin-docs.sgmlRob Taylor1-0/+10
2007-08-16ohm-plugin fixRob Taylor1-1/+1
2007-08-16call gtkdocize before automakeRob Taylor1-2/+3
In autogen.sh, call gtkdocize before automake.
2007-08-16gtk-doc for libohmRob Taylor5-2/+91
Adds docs/reference/libohm with basic gtk-doc generation.
2007-08-16output whether gtk-doc is enabled at end of configureRob Taylor1-0/+1
Indicate whether gtk-doc is enabled at end of running configure.
2007-08-16gtk-doc for Ohm plugin interfaceRob Taylor8-0/+151
Add basic gtk-doc generation for ohm-plugin.h
2007-08-15prefix struct names with underscore in public apiRob Taylor2-9/+11
In preparation for having to cope with gtk-doc's limitations, prefix struct names with underscore in ohm-plugin.h.
2007-08-13add ohm-plugin-internal.h to ohmd_SOURCESRob Taylor1-0/+1
Last commit missed adding ohm-plugin-internal.h to ohmd_SOURCES in ohmd/Makefile.am, causing make dist to not include it.
2007-08-13split ohm-plugin.h into ohm-plugin.h and ohm-plugin-internal.hRob Taylor4-48/+75
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.
2007-08-13initialise plugin's conf in initRob Taylor1-1/+1
Was bring done in _new, which was a little odd.
2007-08-08try to free up some more memoryRob Taylor1-1/+3
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...
2007-08-08remove unneeded scriptsRob Taylor2-22/+0
Removes massif-ohm.sh and valgrind-ohm.sh as no longer needed.
2007-08-08add --time option to run-ohm.shRob Taylor1-3/+10
Adds a --time option to run-ohm.sh to measure startup time.
2007-08-04fix valgrind warnings in OhmPluginRob Taylor1-1/+6
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.
2007-08-04unref owned objects in dispose, not finalizeRob Taylor2-9/+46
Modified ohm-keystore and ohm-manager to unref owned objects in dispose, not finalize.
2007-08-04fix valgrind warnings in OhmModuleRob Taylor1-24/+17
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.
2007-08-04Fix crasher on destroy in plugin-idleRob Taylor1-2/+3
Idle plugin was crashing on destroy if xorg.has_xauthority was 0 for the duration of its running.
2007-08-04make run-ohm.sh's valgrind running more usefulRob Taylor2-2/+760
Switches off g_slice and run with a supression file.
2007-08-03add --efence and --underfence options to run-ohm.shRob Taylor3-0/+14
Adds options to run ohmd with electric-fence, checking both underruns and overruns.
2007-08-03fix crasher in ohmd/ohm-plugin.cRob Taylor1-1/+0
ohm_plugin_free_hal_table was removing items from hal_udis as it iterated them. That's bad, mmkay?
2007-08-03fix memleak in OhmModuleRob Taylor1-1/+1
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).
2007-08-03add command line options for --g-fatal-warnings and --g-fatal-criticalRob Taylor2-2/+18
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
2007-08-03add SIGINT handler to ohmdRob Taylor1-2/+14
Add a SIGINT handler that quits the mainloop. Good for testing exiting..
2007-08-03make run-ohm.sh more capableRob Taylor1-4/+25
Adds options --memcheck and --massif for running ohmd with the corresponding valgrid tools. Also adds a --help option.
2007-08-01update plugins to new plugin interfaceRob Taylor12-406/+203
Updates all the existing plugins to use the new plugin interface.
2007-08-01change plugin interface to be more efficientRob Taylor4-327/+248
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.
2007-08-01add --debug option to run-ohm.shRob Taylor1-1/+8
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.
2007-07-25fix loading of the plugin conf directory when installed properlyRichard Hughes2-13/+18
Fix Robs last commit which broke installation on the OLPC
2007-07-23fix type in backlight plugin Makefile.amRob Taylor1-1/+1
A typo in plugins/glue/backlight/Makefile.am was causing builds to fail of the backlight plugin.
2007-07-23remove mkinstalldirs from EXTRA_DISTRob Taylor1-2/+1
mkinstalldirs is no longer needed as of automake 1.8, so removing from dist as we now depend on am 1.10.
2007-07-23allow running of ohmd uninstalledRob Taylor19-233/+109
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
2007-07-23Correct some documentation of OhmConf.Rob Taylor1-8/+20
Corrects documentation for ohm_conf_get_keys, ohm_conf_free_keys and ohm_conf_add_key
2007-07-23Don't expose signals in class structure of OhmConfRob Taylor2-8/+2
To cut down abi exposure, don't expose key-added and key-change in the class structure.
2007-07-23Use $(LIBTOOL) rather then executing libtool directlyRob Taylor1-2/+2
For cross compile buildtools, use $(LIBTOOL) rather than executing libtool directly for running dbus-binding-tool.
2007-07-18Turn DPMS off (put the DCON to sleep) when going into suspendChris Ball1-0/+7
2007-07-18Fix DCON switching; open X display, don't always reset backlight.state = 1Chris Ball2-2/+6
2007-07-18The xrandr semantics are inverted -- flip themChris Ball1-2/+2
2007-07-13it is possible to be set in coldplugRichard Hughes1-2/+2
2007-07-13make the idle.timer_ values public, we'll want to change them in the sessionRichard Hughes1-3/+3
2007-07-13require xorg if using the displayRichard Hughes4-2/+4
2007-07-13only connect idletime when X is upRichard Hughes1-10/+51
2007-07-13add an xorg plugin to detect when X is up and to set XAUTHORITYRichard Hughes7-1/+147
2007-07-13add ohm-get-key for shell scriptsRichard Hughes4-2/+88
2007-07-13don't assume we can do gdk_init, fixes a segfault on boot when running under ↵Richard Hughes2-5/+36
non X
2007-07-13don't unref ctx if not allocatedRichard Hughes1-1/+1
2007-07-13try to reconnect if X is not started up with ohm startsRichard Hughes2-16/+75
2007-07-13add a session setter for testingRichard Hughes3-1/+88
2007-07-12suggest xrandr in backlightRichard Hughes1-0/+1
2007-07-12watch the hal device for either a property changed _or_ a device conditionRichard Hughes1-2/+4