summaryrefslogtreecommitdiff
path: root/src/actions.c
AgeCommit message (Collapse)Author
2017-03-10Print a warning message to stdout if we hit an unknown commandJérémie Courrèges-Anglas
Should help finding typos in config files. (If use startxr, you should probably redirect stdout and stderr to ~/.xsession-errors in your ~/.xinitrc.)
2017-03-10Print a warning if a deprecated command is used.Jérémie Courrèges-Anglas
2017-03-09Unused variableJérémie Courrèges-Anglas
2017-03-09Setting framemsgwait to -1 disables the 'Current frame' message.Jérémie Courrèges-Anglas
2017-02-15Merge branch 'xrandr'Jérémie Courrèges-Anglas
All the hard work on xrandr done by Mathieu OTHACEHE, thanks!
2016-12-01Fix and simplify sfrestoreJérémie Courrèges-Anglas
Use a scratch buffer for each screen, this simplifies a lot allocations and iterations, and allows restoring screens that contain more than one frame.
2016-12-01sfrestore: in case of error, mention the screen number, not its xrandr idJérémie Courrèges-Anglas
2016-12-01sfrestore: partial fix for frame allocation/deallocationJérémie Courrèges-Anglas
There is still a problem with allocation of screens vs frames. A screen can have multiple frames (for now this triggers a segfault).
2016-12-01sselect: print the screen number in case of failureJérémie Courrèges-Anglas
2016-12-01fdump: don't segfault if screen is not foundJérémie Courrèges-Anglas
2016-12-01Fix sfrestoreMathieu OTHACEHE
Use screen numset in sfrestore
2016-12-01Fix sfdumpMathieu OTHACEHE
Use screen numset in sfdump
2016-12-01Fix fdump and sselectMathieu OTHACEHE
Use screen numset in fdump and sselect.
2016-11-23Keep frame undo/redo local to actions.cJérémie Courrèges-Anglas
2016-11-23Reorder to put local variables togetherJérémie Courrèges-Anglas
2016-11-23Move more stuff from actions.h to actions.cJérémie Courrèges-Anglas
2016-11-23Kill more dead decls and functions.Jérémie Courrèges-Anglas
2016-11-23Move some implementation details from actions.h to actions.cJérémie Courrèges-Anglas
2016-11-23Implement a "commands" command to dump all available... commandsJérémie Courrèges-Anglas
2016-11-23Switch rudeness to a settable variableJérémie Courrèges-Anglas
2016-11-22Add a note to keep variables sorted.Jérémie Courrèges-Anglas
2016-11-22Kill "compat" and all support for "deffoo..."Jérémie Courrèges-Anglas
It's been more than 10 years that "compat" has been introduced, people have had enough time to change their config files and scripts.
2016-11-22Sort and insert variables in orderJérémie Courrèges-Anglas
Makes ''ratpoison -c set'' output more readable.
2016-11-22TypoJérémie Courrèges-Anglas
2016-11-22Make 'warp' and 'startupmessage' settable variables.Jérémie Courrèges-Anglas
For consistency with other variables they accept 0 or 1. The 'warp' and 'startup_message' commands stay around and still accept "on" and "off".
2016-11-22Temporarily mark sfrestore as brokenJérémie Courrèges-Anglas
2016-11-22Style nits, typo and non-existing functions.Jérémie Courrèges-Anglas
2016-11-17Add xrandr supportMathieu OTHACEHE
Drop deprecated xinerama support and replace it with xrandr. Signed-off-by: Mathieu OTHACEHE <m.othacehe@gmail.com>
2016-11-11Introduce multiple completion styles.Mathieu OTHACEHE
The default, legacy style is named BASIC. A new completion style named SUBSTRING is added. Use SUBSTRING for window name completion in select command. Use BASIC everywhere else.
2016-06-12Stop embedding build time, it makes builds less reproducible.Jérémie Courrèges-Anglas
2016-02-23Fix select error handling.brainwash
Skip the error message and only show the window list when selecting an used window number in interactive mode.
2015-06-16New settable variable, framemsgwaitJérémie Courrèges-Anglas
Same as "msgwait" for for "Current Frame" messages.
2015-06-16Make msgwait a variable; keep the command for a whileJérémie Courrèges-Anglas
2015-02-05Be more strict about what "dedicate" acceptsJérémie Courrèges-Anglas
No argument or... either 0 or 1. Will perhaps make debugging easier.
2014-06-14Fix sfdump.Jérémie Courrèges-Anglas
One more proof that I should not hack on the multiple screens support. Patch from Joshua Leners.
2014-03-29In read_shellcmd make sure we don't dereference a NULL pointer.Jérémie Courrèges-Anglas
2014-03-24Ensure NULL is treated as a pointer in execl* callsJérémie Courrèges-Anglas
2014-03-24Avoid malloc(0) in add_command.Jérémie Courrèges-Anglas
2014-03-24In frestore flag a frame_read error as appropriate.Jérémie Courrèges-Anglas
* while here kill a stray ';'
2014-03-24Factorize code in cmd_fdump.Jérémie Courrèges-Anglas
2014-03-24Kill code and simplify cmd_numberJérémie Courrèges-Anglas
* cmd_number needs at least one argument * The code that handled the zero argument case was thus unreachable, and was the last user of print_window_information, so kill that function.
2014-03-04Kill last strcpy occurrence.Jérémie Courrèges-Anglas
* replace_keybinding is seldom used, no need to half-optimize it
2014-03-04Simplify read_shellcmd using sbufJérémie Courrèges-Anglas
2014-03-04Use get_homedir anywhere we can.Jérémie Courrèges-Anglas
2014-03-03Refine error messages in cmd_fdump.Jérémie Courrèges-Anglas
2014-03-03Add error checking to set_padding and set_historysize.Jérémie Courrèges-Anglas
2014-03-03Add error checking for various boolean (0|1) settings.Jérémie Courrèges-Anglas
2014-03-03Correct error message in set_barinpadding.Jérémie Courrèges-Anglas
2014-03-03Factorize space for invalid negative args messages in various settings.Jérémie Courrèges-Anglas
2014-03-03Make read_number more strict, returning errors.Jérémie Courrèges-Anglas
* use strtol, and warn about overflow or invalid input.