Age | Commit message (Collapse) | Author | |
---|---|---|---|
2016-07-28 | Prompt on interactive quit when confirmquit is true.cr/add_confirmquit | cos | |
Quitting a window manager is a very special and dangerous operation compared to exiting an editor, a web browser or something else with a command syntax very similar to ratpoison's. This commit adds some protection for those (us) who occasionally unintentionally types quit at the wrong prompt. | |||
2014-03-29 | Detect XKB support at build and runtime. | Jérémie Courrèges-Anglas | |
2014-03-24 | read_startup_files doesn't mangle its argument. | Jérémie Courrèges-Anglas | |
2014-03-24 | Don't dup args passed on the cli, we don't mangle them. | Jérémie Courrèges-Anglas | |
2014-03-04 | get_homedir(), checks HOME and the password database | Jérémie Courrèges-Anglas | |
* ensures that the resulting home directory isn't the empty string (else returns NULL) | |||
2014-02-20 | Detect pwd.h and getpwuid. | Jérémie Courrèges-Anglas | |
2014-02-20 | If HOME is not set in the env., fallback to the passwd entry. | Jérémie Courrèges-Anglas | |
* No attempt to detect pwd.h / getpwuid, not sure if needed. | |||
2014-02-20 | Mark the X socket as to be closed on exec. | Jérémie Courrèges-Anglas | |
* Avoids leaking a descriptor, and potential problems described in the comp.windows.x FAQ. | |||
2014-02-20 | Change set_close_on_exec to take a file descriptor. | Jérémie Courrèges-Anglas | |
* Since it's easier to get a fd from a FILE * rather than the other way around. | |||
2014-01-04 | Kill init_globals(). | Jérémie Courrèges-Anglas | |
* selection has static storage and is thus correctly initialized. | |||
2014-01-03 | Get rid of useless casts of xmalloc/realloc return value. | Jérémie Courrèges-Anglas | |
2014-01-03 | if (ptr) free(ptr) is not a good idiom. | Jérémie Courrèges-Anglas | |
2014-01-03 | Open $sysconfdir/ratpoisonrc, don't hardcode /etc. | Jérémie Courrèges-Anglas | |
2014-01-03 | Be more verbose about failures in read_startup_files(). | Jérémie Courrèges-Anglas | |
* If we fail with errno set to something != ENOENT then an error message should probably be printed. | |||
2014-01-03 | Better error checking for -f configfile. | Jérémie Courrèges-Anglas | |
* make read_startup_files() return whether it succeeded. A failure is when the user passed a specific config file, but we couldn't load it. * in main() exit if read_startup_files() failed. | |||
2014-01-03 | Report bugs to PACKAGE_BUGREPORT. | Jérémie Courrèges-Anglas | |
2014-01-03 | In str_comp() make len and i size_t. | Jérémie Courrèges-Anglas | |
2014-01-03 | Typo in comment. | Jérémie Courrèges-Anglas | |
2014-01-03 | Tiny xmalloc/realloc/strdup cleanup. | Jérémie Courrèges-Anglas | |
* kill "register" * compare pointers against NULL * separate declarations and code | |||
2014-01-03 | FD_CLOEXEC is only used in set_close_on_exec(). | Jérémie Courrèges-Anglas | |
2013-11-22 | Cast char arguments to to*/is* ctype calls to unsigned char | Jérémie Courrèges-Anglas | |
* those functions expect an int whose value is between -1 and 255. Cast to unsigned char so that sign extension when promoting to int doesn't bite us. | |||
2013-06-04 | fix logic in strtok_ws | Jérémie Courrèges-Anglas | |
bug reported by Ellington Santos on the mailing-list, thanks! | |||
2013-04-13 | read_rc_file: use getline(3) instead of emulating it | Jérémie Courrèges-Anglas | |
2013-04-10 | main: in case XOpenDisplay fails, use exit not return | Jérémie Courrèges-Anglas | |
* this is consistent with surrounding code, and helps code analyzers not to barf about possible memory leaks | |||
2013-04-10 | strtok_ws: account for erroneous usage | Jérémie Courrèges-Anglas | |
* if s and last are both NULL then we'll get a fatal error; instead of waiting for the segfault, display an error message and call abort() | |||
2013-04-10 | main: free display and alt_rcfile | Jérémie Courrèges-Anglas | |
* otherwise specifying -d or -f more than once would lead to a memory leak | |||
2013-04-07 | In strtok_ws() use "last", not "pointer" for the static variable | Jérémie Courrèges-Anglas | |
* since X11/Xdefs.h may define it too. Found by -Wshadow. Bonus: "last" carries more meaning. | |||
2013-02-22 | make ratpoison -c provide a useful exit status | Jérémie Courrèges-Anglas | |
* properly define the way the wm may give feedback to ratpoison -c; see communications.c:receive_command_result() * follow this protocol in events.c:receive_command() * modify receive_command_result() to return an int (which is the mirror of the struct cmdret "success" member used on the wm side) * pass that error status back to main.c; exit with an error status if any of the commands we sent failed | |||
2013-02-13 | move xa_string initialisation before first use | Bernhard R. Link | |
otherwise ratpoison -c no longer works | |||
2013-02-06 | make TEXT atoms global variables | Jérémie Courrèges-Anglas | |
* (events.c) extract xa_compound_text from selection_request(), make it a global * introduce xa_string (same as XA_STRING) and rename utf8_string to xa_utf8_string, for consistency | |||
2013-02-06 | introduce defaults.utf8_locale | Jérémie Courrèges-Anglas | |
* use nl_langinfo() to detect if locale codeset is UTF-8 | |||
2009-07-15 | silence unused variables and unused parameters warnings | Bernhard R. Link | |
2009-07-15 | do not shadow identifiers (silencing gcc's -Wshadow warnings) | Bernhard R. Link | |
2009-07-04 | fix inverted text when using xftwinliststyle-row_broken | Shawn Betts | |
Now the inverted rectangle is drawn first and the text overtop in the bg color. | |||
2009-04-30 | fix 'set fgcolor' for xft. Change screen's ft_font and color slots to ↵ | Shawn Betts | |
xft_font and xft_color. | |||
2009-01-16 | set _net_wm_name for the root window to ratpoison | Bernhard R. Link | |
2009-01-16 | Move screen activation code to new (de)activate_screen functions, | Bernhard R. Link | |
making sure _NET atoms are reset after tmpwm and deleted when exiting. | |||
2008-10-22 | make history expansion an option (switched off by default) | Bernhard R. Link | |
2008-10-22 | add 'set historysize' and 'set historycompaction' (defaulting to true) to ↵ | Bernhard R. Link | |
compact history | |||
2008-10-22 | move all HAVE_HISTORY into history.c | Bernhard R. Link | |
2008-10-10 | allow window border color to be set seperately for focused and unfocused windows | Kipling Inscore | |
2008-06-22 | make xstrdup argument const char* | Bernhard R. Link | |
2008-06-20 | support the netwm dialog window type | Shawn | |
2008-06-16 | update copyright notice | Shawn Betts | |
2008-05-25 | don't free defaults.font when xft is enabled | Shawn | |
2008-05-24 | Add xft support | Midare Kiyura | |
2007-08-14 | src/main.c (xvsprintf): limit memory allocation to 200K when vsnprintf ↵ | brl | |
return -1. | |||
2007-07-18 | free more stuff at termination time to make valgrind output better readable | brl | |
2007-05-07 | (init_defaults): only load the backup font when the | sabetts | |
default font fails. | |||
2007-05-04 | * src/main.c (init_defaults): if the default font fails, use the | sabetts | |
backup font. * src/conf.h (BACKUP_FONT): new define |