summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
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
2008-01-26add the .gitignore files to ignore the build stuffRichard Hughes1-0/+5
2007-12-292007-12-29 Richard Hughes <richard@hughsie.com>Richard Hughes1-6/+4
* pm/functions: * src/pm-powersave: Red Hat Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=302401 (Issue 2 in the bug report) Without the uniq files in the sleep.d or power.d directory may run twice. Also this patch removes a uneccessary -e test in the if statements, the -x test already includes a -e test. Also this patch adds a modeline for vim no to expand tabs, because tabs are used in the files for indentation. From Till Maas <opensource@till.name>, many thanks.
2007-12-292007-12-29 Richard Hughes <richard@hughsie.com>Richard Hughes1-0/+4
* pm/functions: * src/pm-powersave: Red Hat Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=302401 (Issue 1 in the bug report) This patch makes sure that the nullglob option is set. This makes sure that the result of a filename expansion is empty, when the pattern does not match. From Till Maas <opensource@till.name>, many thanks.
2007-12-292007-12-29 Richard Hughes <richard@hughsie.com>Richard Hughes1-1/+1
* src/pm-action: This patch makes pm-action show the filename in help, that was used to invoke it, e.g. pm-suspend From Till Maas <opensource@till.name>, many thanks.
2007-06-18- Add support for "--quirk-reset-brightness" (fixes the Fujitsu Lifebook S7110)Peter Jones1-0/+3
2007-03-14- pm-reset-swap fixes from stefanPeter Jones1-2/+3