summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2008-03-06Merge branch 'master' into vlowther-dynamic-hook-disableVictor Lowther1-48/+10
2008-03-05Split functions.in into functions.in and pm-functions.inVictor Lowther3-5/+3
pm-functions.in contains the functionality that should only be used by the pm-utils frontends (pm-action, pm-is-supported, and pm-powersave). functions.in contains code that is shared between the hooks and the pm-utils frontends. The reason behind splitting this out is to reduce namespace pollution in the hooks.
2008-03-01Merge branch 'vlowther-video-merge' into vlowther-hook-option-processingVictor Lowther1-1/+18
2008-03-01Merge branch 'master' into vlowther-video-mergeVictor Lowther1-1/+18
2008-03-01Add comments in pm-action detailing the steps we are taking.Victor Lowther1-1/+9
2008-03-01Fixed up merge errors merging back with master.Victor Lowther1-2/+4
2008-03-01Merge branch 'master' into vlowther-move-pm-mainVictor Lowther2-5/+1
Conflicts: src/pm-action.in
2008-03-01Cleaned up output for --helpVictor Lowther1-7/+1
Did this by adding a log() function and using that instead of echo when we were just echoing test to get it into the log.
2008-03-01Moved video-specific option processing to 99video.Victor Lowther1-18/+3
2008-03-01first pass at using run-hooks to get help info.Victor Lowther1-15/+8
The output from this will be ugly, if it even works.
2008-03-01Shortened quirk environment varialbe names.Victor Lowther1-30/+17
Also made option handling code in pm-action easier to read.
2008-02-27Added support for DISPLAY_QUIRK_NONE to pm-action.in.Victor Lowther1-0/+3
2008-02-21Added back the comment explaining the trap statement.Victor Lowther1-1/+2
2008-02-16Merge branch 'master' into vlowther-move-pm-mainVictor Lowther5-36/+25
2008-02-16Merge branch 'master' into stabilizatonVictor Lowther5-36/+25
2008-02-16Clean up generated files and put *.in files in the tarball.Michael Biebl2-30/+17
Make sure to clean up all generated files on "make clean". Don't distribute generated files in the dist tarball, only the *.in files. Add generated files to .gitignore. Use consistend naming for the install dirs. Install defaults file as data file. Keep EXTRA_DIST and CLEANFILES in sync.
2008-02-16Consistently use tabs for indentation.Michael Biebl1-4/+4
2008-02-1699video had a missing closing bracket.Michael Biebl2-2/+4
While fixing that I noticed that we use an inconsistent style for function brackets. I chose foo() { } as it seemed to be the most used one. Cheers, Michael
2008-02-16Removed redundant call to exit in pm-is-supported.Victor Lowther1-3/+1
2008-02-16Removed redundant exit call in pm-action.inVictor Lowther1-2/+0
2008-02-13Merge branch 'master' into vlowther-move-pm-mainVictor Lowther4-58/+21
Conflicts: pm/functions.in src/pm-action.in
2008-02-09pm-is-supported.in needs to be tranformed before it can run.Victor Lowther1-0/+0
Update the permissions to reflect that.
2008-02-09No need for extra x's in comparisons in pm-powersave.inVictor Lowther1-1/+1
2008-02-09Should be ${REVERSE}, not {$REVERSE} in pm-action.inVictor Lowther1-1/+1
I am so embarrased.
2008-02-09Minor quotation updates in on_ac_powerVictor Lowther1-3/+3
2008-02-08Merge branch 'master' into vlowther-move-pm-mainVictor Lowther1-2/+3
2008-02-07...and make it check in the case statement too. :|Victor Lowther1-1/+1
2008-02-07Make pm-is-supported translate $ACTION correctly.Victor Lowther1-1/+1
2008-02-07Even simpler modularization of sleep methods.Victor Lowther2-53/+14
This splits the actual functions that perform the sleep/wakeup into a file which is sourced, adds an environment variable which controls which module is sourced, moves the check functions into the sleep module, modifies pm-action and pm-is-supported to take these changes into account, and modifies the automake machinery to take these changes into account.
2008-02-06You know, the original reason pm_main was moved to functions is becauseVictor Lowther1-1/+5
it was shared between pm-suspend and pm-hibernate. Since all those scripts are not symlinks to pm-action, we do not need a pm_main in functions cluttering up the namespace. This patch clones pm-main functionality in pm-action
2008-02-06Ignore generated filesDan Nicholson1-2/+3
2008-02-04Removed executable bits on the *.in files to emphasize theirVictor Lowther3-0/+0
non-executability. Added an executable bit on src/pm-is-supported becaues it is.
2008-02-02Add cleanfiles in Makefile.am, and actually export PM_FUNCTIONS in pm-powersaveVictor Lowther2-1/+3
2008-02-02Use autotools to make pm-action and pm-powersave location independent.Victor Lowther2-2/+2
2008-02-02Renamed pm-powersave in preperation for making it location-independent.Victor Lowther1-0/+0
2008-02-02Renamed pm-action in preperation for making it location independent.Victor Lowther1-0/+0
2008-02-02Modify src/Makefile.am in preperation for making the pm-action scriptsVictor Lowther1-2/+13
location independent.
2008-02-02Update pm-powersave to export the location of pm/functions in PM_FUNCTIONSVictor Lowther1-2/+2
2008-02-02Export location of pm/functions from pm-actionVictor Lowther1-1/+2
2008-01-29Here's a new patch (this time against current git) to enableNigel Cunningham1-2/+3
suspend-to-both support if we have suspend-to-ram and TuxOnIce.
2008-01-29Instead of duplicating the checks in pm-action, simply call pm-is-supported.Michael Biebl1-4/+12
Add also initial support for the --suspend-hybrid command (The actual implementation of do_suspend_hybrid is still tbd).
2008-01-29Patch attached to do the appropriate redirection for pm-powersave.Victor Lowther1-0/+2
2008-01-28This patch modifies the moduleVictor Lowther1-2/+2
unload/reload code to be POSIX compliant, and includes a minor quotation fix in on_ac_power.
2008-01-28remove obsolete .cvsignore filesMichael Biebl1-5/+0
2008-01-28fix the gitignore, oopsRichard Hughes1-2/+2
2008-01-28two more things in gitignoreRichard Hughes1-0/+2
2008-01-28All scripts are now POSIX compliant, change shebang lines to have themVictor Lowther4-4/+4
run under /bin/sh instead of /bin/bash. Also take care of a few more minor fixups.
2008-01-28Simplify parameter expansion in pm-action and pm-is-supported.Victor Lowther2-5/+3
2008-01-28Modified pm-powersave to use the new hook-running infrastructure instead of ↵Victor Lowther1-28/+4
including a duplicate copy of its own.
2008-01-27Set the sort order in functions instead of pm-action.Till Maas1-2/+0