summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2013-12-03Bogus cmdret_free call.Jérémie Courrèges-Anglas
2013-11-26Prettify --with-xterm handling.Jérémie Courrèges-Anglas
2013-11-26Prettify --enable-debug handling.Jérémie Courrèges-Anglas
2013-11-26If asked for, use the Electric Fence library.Jérémie Courrèges-Anglas
2013-11-26Assume we have stdarg.h and unistd.h.Jérémie Courrèges-Anglas
2013-11-26Don't check for usleep, useless since Dec. 2004Jérémie Courrèges-Anglas
* see 9cb1a3d. If your system doesn't provide usleep or ratpoison doesn't manage to find it, please report back.
2013-11-26Don't check for getopt(3), we don't use it.Jérémie Courrèges-Anglas
2013-11-22Document the titlechanged hook.Jérémie Courrèges-Anglas
2013-11-22Revert unintended changes in 1ecaccd77c18036d8ff4c137487aa8c5a04d2b36Jérémie Courrèges-Anglas
I'll be more careful when using 'c' in Magit. ;)
2013-11-22Cast char arguments to to*/is* ctype calls to unsigned charJé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-11-21Don't assume getsid succeeds, fixes %p "glitches"Jérémie Courrèges-Anglas
* on eg. OpenBSD you get -1 with errno set to EPERM if you call getsid on a pid no in the same session group as you. This makes the session id check much less useful, and exhibits glitches with %p in winfmt. For now, just bail out if getsid fails...
2013-11-20Cleanup cmd_metaJérémie Courrèges-Anglas
* plug memory leak * consistent indentation * minimize variables scope * kill commented code
2013-11-20In cmd_meta, don't pass stack garbage to XSendEvent.Jérémie Courrèges-Anglas
* zero out the whole struct and explicitely assign CurrentTime (OL) to ev.xkey.time. This should please Firefox when using C-t t.
2013-11-17Use sbuf_chop in fdump() to trim trailing comma.Jérémie Courrèges-Anglas
* those commas shouldn't have been there in the first place. If your scripts rely on this, watch out! * code simplified and variables better named, while here.
2013-11-17Introduce sbuf_chop()Jérémie Courrèges-Anglas
2013-11-17Revert "Added contrib/ratdate.sh and Makefile for building"Jérémie Courrèges-Anglas
This reverts commit 2e7e99fc780c4099861039ebaab0fb8629d7601b. Problems: - no copyright statement - CC BY-ND considered undesirable by myself.
2013-11-17Added contrib/ratdate.sh and Makefile for buildingRob Paisley
ratdate.sh displays the date with a calendar inditacting today's date. Designed to replace ratpoison's default :time command. Suggest rebinding as follows: bind a exec exec ratdate.sh
2013-08-08Plug leak in cmd_sfrestore.Jérémie Courrèges-Anglas
Noticed by Repolho <repolho at zoho dot com>, who came with a different fix.
2013-08-08Cleanup cmd_sfdump.Jérémie Courrèges-Anglas
Better variable names, more readable formatting. Use a fixed buffer for the screen number appended to each frameset.
2013-08-08Consistent formatting in cmd_sfrestore.Jérémie Courrèges-Anglas
2013-08-08Remove useless/untrue comments in cmd_sfrestore.Jérémie Courrèges-Anglas
2013-08-08Better variable names in cmd_sfrestoreJérémie Courrèges-Anglas
2013-08-08In cmd_sfrestore don't pass screen number to frestore.Jérémie Courrèges-Anglas
Noticed by Repolho <repolho at zoho dot com>, who came with a similar fix.
2013-08-08Free buffer used to read history file.Jérémie Courrèges-Anglas
From Repolho <repolho at zoho dot com>, thanks!
2013-08-08Do not leak mem if hook is already present.Jérémie Courrèges-Anglas
From Repolho <repolho at zoho dot com>, thanks!
2013-06-25No path hardcoding when generating bindings.Jérémie Courrèges-Anglas
2013-06-05contrib/sloppy.c: ensure $RATPOISON is setJérémie Courrèges-Anglas
2013-06-05contrib/sloppy.c: no need for grep(1)Jérémie Courrèges-Anglas
2013-06-05contrib/{sloppy,unrat}.c: make this code actually readable...Jérémie Courrèges-Anglas
2013-06-05contrib/{unrat,sloppy}.c: perror(3) makes no sense hereJérémie Courrèges-Anglas
2013-06-05contrib/{unrat,sloppy}.c: main() takes voidJérémie Courrèges-Anglas
2013-06-05contrib/{unrat,sloppy}.c: ansify defaulthandler()Jérémie Courrèges-Anglas
2013-06-05contrib/sloppy.c: include unistd.h for fork(2)Jérémie Courrèges-Anglas
2013-06-04contrib/genrpbindings: correct CL {pre,post}ambleJérémie Courrèges-Anglas
2013-06-04contrib/genrpbindings: use $RATPOISON at runtimeJérémie Courrèges-Anglas
Note: the Common-Lisp bindings now require the asdf-utils package
2013-06-04.gitignore for contrib/Jérémie Courrèges-Anglas
2013-06-04silence compilation warning in src/manage.cJérémie Courrèges-Anglas
2013-06-04contrib/sloppy.c: execl(3) wants a NULL pointerJérémie Courrèges-Anglas
from Ellington Santos, thanks!
2013-06-04fix logic in strtok_wsJérémie Courrèges-Anglas
bug reported by Ellington Santos on the mailing-list, thanks!
2013-05-27Merge "gnumber" feature from |cos|'s repoJérémie Courrèges-Anglas
2013-05-26Check for and use $RATPOISON during runtime when possible.cr/perl_prefer_envvarcos
2013-05-26Adapt group bar to be updated on group number or name change.cr/implement_gnumber-with_winliststylecos
2013-05-26Remove redundant check for NULL.cos
Since add_command() for cmd_gnumber is forcing one (or two) numerical argument, command() will never allow calling the cmd_gnumber() with arg[0] set to NULL.
2013-05-26Added user documentation for gnumber command.cos
2013-05-26Add initial cmd_gnumber implementation.cos
2013-05-26Make group_add_new_group() sort groups numerically.cos
2013-05-26draw_string: only call rp_text_width when neededJérémie Courrèges-Anglas
2013-05-26draw_string: more cleanup and clarificationsJérémie Courrèges-Anglas
rename "update" to "print_reason" and use #defined flags instead of magic numbers
2013-05-26draw_string: document variablesJérémie Courrèges-Anglas
2013-05-26feed draw_partial_string with a string and a lengthJérémie Courrèges-Anglas
makes it easier to call along with rp_text_width