summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2010-02-11Fix buildHEADmasterRichard Hughes4-4/+0
2007-09-25update intltool scriptsRob Taylor4-3507/+4
Intltool scripts were failing under newer perl, updated.
2007-09-25version 0.1.2Rob Taylor1-2/+2
Up version to 0.1.2
2007-09-25backlight plugin: inlcude <config.h>Rob Taylor1-0/+4
config.h needed for HAL_SET_BRIGHTNESS_UNSIGNED define.
2007-09-24dpms plugin: fix multiple opening of displayRob Taylor1-8/+8
XOpenDisplay was being called multiple times, overriting previous Display. Changed to listen to xorg.has_xauthority and only open the diplay once availiable.
2007-09-24Support pre hal 0.5.10 org.freedesktop.Hal.Device.LaptopPanel.SetBrightnessRob Taylor2-0/+13
Pre 0.5.10, SetBrightness returned an int32, in newer hal it returns uint32 for consistency. This patch will build the backlight plugin supporting pre 0.5.10 if the libhal installed at buildtime is pre 0.5.10 # Please enter the commit message for your changes. # (Comment lines starting with '#' will not be included) # On branch master # Changes to be committed: # (use "git reset HEAD <file>..." to unstage) # # modified: configure.in # modified: plugins/glue/backlight/ohm-plugin-backlight.c # # Untracked files: # (use "git add <file>..." to include in what will be committed) # # docs/index.html # docs/reference/libohm/html/ # docs/reference/libohm/libohm-decl-list.txt # docs/reference/libohm/libohm-decl.txt # docs/reference/libohm/libohm-overrides.txt # docs/reference/libohm/libohm-sections.txt # docs/reference/libohm/libohm-undocumented.txt # docs/reference/libohm/libohm.types # docs/reference/libohm/tmpl/ # docs/reference/libohm/xml/ # docs/reference/ohm-plugin/html/ # docs/reference/ohm-plugin/ohm-plugin-decl.txt # docs/reference/ohm-plugin/ohm-plugin-undocumented.txt # docs/reference/ohm-plugin/tmpl/ # docs/reference/ohm-plugin/xml/ # gtk-doc.make # local-ohm.patch
2007-09-24add initializing stage to ohm-confRob Taylor3-4/+49
Adds an initializing state to OhmConf in which no key-changed signals are emitted. Any keys changed in this state are flagged as touched. When switched out of initialising state, key-changed signals are emitted for all touched keys. Modifies OhmModule to switch the OhmConf into initalising state when calling the init method of the loaded modules, swithing back to normal when all modules have been initialised.
2007-09-24display policy: add some debug output for state.Rob Taylor1-0/+7
2007-09-24add some debug to backlight pluginRob Taylor1-0/+7
2007-09-23idle glue: remove unnecessary initRob Taylor1-23/+2
No need to check xorg.has_xauthority as we'll get a notify after intialisation.
2007-09-23display policy: handle return from powersave correctlyRob Taylor1-1/+2
When coming back from powersave, set backlight.state=1.
2007-09-23libidletime: debug output for counter value on timeoutsRob Taylor1-0/+1
2007-09-23use int64_to_xsyncvalue and xsyncvalue_to_int64 rather than XSyncValueAdd ↵Rob Taylor1-15/+1
and friends. Removes idletime_xsync_value_add_one, replaced with int64 manipulation.
2007-09-13add --without-xauth configure optionRob Taylor2-6/+26
Allow single-user-devices to be configured --without-xauth, which tells ohm that it can connect to the xserver without needing an .Xauthority.
2007-09-13xorg plugin: first call of plugin_poll_startup handled incorrectlyRob Taylor1-1/+1
In plugin_initialize, the return value of the first call to plugin_poll_startup is handled incorrectly - as plugin_poll_startup is a GSourceFunc, it returns FALSE when it's successful..
2007-09-05add some debug for which plugin changed which keyRob Taylor1-0/+1
2007-09-05add idle.resetRob Taylor3-12/+57
Adds a reset key to the idle plugin. This allows other plugins to reset the state back to 0 and restart the timer. The idle plugin finds the current time idle and uses this as an offset until the xserver signals activity.
2007-09-04don't try to distribute index.html if we can't build it.Rob Taylor1-11/+13
Makes dist and install of index.html dependant on docbook-doc being enabled.
2007-09-03add missing ohm-logo-small.png to EXTRA_DISTRob Taylor1-0/+1
Add missing ohm-logo-small.png to EXTRA_DIST.
2007-09-03install automake, libtoolize and gtkdocize files with copyRob Taylor1-3/+3
Install automake, libtoolize and gtkdocize files with copy rather than symlink. This is for supporting debian package building from a branch off master.
2007-09-03docs/index.html should not be in the repo.Rob Taylor1-500/+0
Removes docs/index.html, which is a generated file.
2007-08-22remove test for OhmConfObj from ohm-test.cRob Taylor1-6/+0
OhmConfObj exists no more, so remove the test.
2007-08-22covert OhmKeystore to use new OhmCOnf key iteratorRob Taylor1-18/+16
Covert OhmKeystore to use new ohm_conf_keys_foreach.
2007-08-22Add ohm_conf_keys_length methodRob Taylor2-3/+10
Adds ohm_conf_keys_length method to OhmConf to return the number of keys stored.
2007-08-22replace ohm_conf_get_keys with ohm_conf_keys_foreach and remove OhmConfobjRob Taylor3-134/+76
Replace the inefficent and abi-messy ohm_conf_get_keys with an g_hash style iterator. Remove OhmConfObj and replace with a small slice-allocated struct.
2007-08-22add configure flags for distcheckRob Taylor1-0/+2
Pass --enable-gtk-doc and --with-xauth-dir=/home/user for distcheck to check documentation building and to pass configure.
2007-08-22add some debug when suspendingRob Taylor1-0/+1
In the suspend policy plugin, add some debug output before suspending for ease of debugging...
2007-08-22fixes for the new idle plugin interfaceRob Taylor2-20/+27
Cope with start case where idle.timeout is 0. Cope with delayed X connection. Timeouts are measured from last activity, not last alarm.
2007-08-22add configure flag for .Xauthorty directory on single-user-devicesRob Taylor2-7/+33
Adds the manditory configure flag --with-xauth-dir= for the directory in which to find a .Xauthority for the xserver instance on single-user-devices, e.g. OLPC and N800. For now configure assumes builds are only for single-user devices. Multiple-user cases will require ConsoleKit integration, and some work on ConsoleKit.
2007-08-22fix dpms plugin to not crash at end if failed to connect to xserverRob Taylor1-2/+4
Fix dpms plugin to not crash at end if failed to connect to xserver.
2007-08-22fix backlight plugin not to crash when no laptop_panels found.Rob Taylor1-7/+9
Fix backlight plugin not to crash when no laptop_panels found.
2007-08-22convert existing policy plugins to use the timeouts policy moduleRob Taylor2-11/+11
Convert suspend and display policy plugins to use the new timouts policy instead of the old idle plugin interface.
2007-08-22allow a plugin to have no defaults ini file.Rob Taylor1-1/+1
Allow a plugin to have no defaults ini file, just output a debug message in this case rather than g_error.
2007-08-22remove idle.ini, no longer needed.Rob Taylor2-8/+0
As idle is now just a mechnism, remove default key settings for timeout.
2007-08-22fix up changes to idle pluginRob Taylor1-5/+14
Fix build errors in idle plugin. Listen for idle.state being set to 0 and if so, reset to the current timeout.
2007-08-22clean out the temp plugin install directory in run-ohm.shRob Taylor1-0/+1
If run-ohm.sh is not invoked with --skip-plugin-install, clean out the temp dir before installing the plugins.
2007-08-22support for a plugin to listen on its own keysRob Taylor3-3/+19
Allow a plugin to listen to changes on a key it sets. A plugin will not be notified when it sets the key itself only when another plugin sets the key.
2007-08-22add 'timeouts' policy module.Rob Taylor5-1/+116
This implements a simple 3 state timeout policy on top of the idle mechanism plugin.
2007-08-22document idle plugin usage.Rob Taylor1-1/+16
Document idle plugin usage.
2007-08-22modify idle plugin to use a generic interfaceRob Taylor2-29/+20
Rather than making the idle plugin implement some policy (3 timeouts, momentary, powersave, powerdown), give it a generic interface that allows an arbitary number of timeouts.
2007-08-20Revert "add the missing gtk-doc.make to fix compile"Richard Hughes1-154/+0
This reverts commit fed7d160407779b774efc5bd2f95a8c7d0a1142b.
2007-08-19add the missing gtk-doc.make to fix compileRichard Hughes1-0/+154
2007-08-17don't pass --enable-gtk-doc in autogen.shRob Taylor1-1/+1
Gtk dock makefile crapness will trip up the unsuspecting, so don't pass it in autogen.sh by default.
2007-08-17add 'none' option for --with-distro configure flagRob Taylor1-1/+3
Adds a 'none' option for the --with-distro configure flag, for distros that wat to handle their own in their packaging.
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.