summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2001-09-21add split.shsabetts
2001-09-21initial revisionsabetts
2001-09-21*** empty log message ***sabetts
2001-09-21*** empty log message ***sabetts
2001-09-21* src/split.h (find_frame_up): new prototypesabetts
(find_frame_down): likewise (find_frame_left): likewise (find_frame_right): likewise * src/split.c (find_frame_up): new function (find_frame_down): likewise (find_frame_left): likewise (find_frame_right): likewise * src/manage.c (move_window): use x11 gravity constants to denote gravity. * src/main.c (ratpoison_longopts): remove --kill and --restart. Dependant code updated. (init_defaults): use x11 gravity constants to denote gravity. (main): only display the startup message if defaults.startup_message is on. * src/list.c (update_window_gravity): rename from update_window_position. dependant code updated * src/events.c (client_msg): don't test for restart or kill client messages. (client_msg): properly handle iconify requests. (get_event): kill and restart the process here. * src/data.h (TOP_LEFT): remove define (TOP_CENTER): likewise (TOP_RIGHT): likewise (CENTER_LEFT): likewise (CENTER_CENTER): likewise (CENTER_RIGHT): likewise (BOTTOM_LEFT): likewise (BOTTOM_CENTER): likewise (BOTTOM_RIGHT): likewise (struct rp_window): rename field to position to gravity. (struct rp_defaults): rename win_pos to win_gravity, trans_pos to trans_gravity and maxsize_pos to maxsize_gravity. (rp_restart): remove global variable (rp_kill): likewise * src/communications.h (send_kill): remove prototype (send_restart): likewise * src/communications.c (send_restart): remove function. obsolete. (send_kill): likewise * src/bar.c (bar_x): Use X11 gravity constants to denote location. (bar_y): likewise * src/actions.h (cmd_focusup): new prototype (cmd_focusdown): likewise (cmd_focusleft): likewise (cmd_focusright): likewise (cmd_startup_message): likewise (cmd_restart): likewise * src/actions.c (cmd_quit): just set the kill_signalled variable. (parse_wingravity): use compass directions to describe the gravity (parse_wingravity): renamed from parse_winpos. dependant code updated. (cmd_gravity): renamed from cmd_pos. dependant code updated. (cmd_defwingravity): renamed from cmd_defwinpos. dependant code updated. (cmd_deftransgravity): renamed from cmd_deftranspos. dependant code updated. (cmd_defmaxsizegravity): renamed from cmd_defmaxsizepos. dependant code updated. (cmd_focusup): new function (cmd_focusdown): likewise (cmd_focusleft): likewise (cmd_focusright): likewise (cmd_restart): likewise (cmd_startup_message): likewise (user_commands): new commands "focusup" "focusdown" "focusright" "focusleft" "startup_message" "restart".
2001-09-18(window_name): make sure the default window name issabetts
not NULL. In this case return win's user_name field which is never NULL.
2001-09-18Thank you comments for patchessabetts
2001-09-18* src/actions.c(cmd_defwinpos): abort if data is NULLsabetts
(cmd_deftranspos): likewise (cmd_defmaxsizepos): likewise (cmd_defmaxsizepos): Use the correct command name in call to message. (cmd_deftranspos): likewise (cmd_defwinpos): likewise
2001-09-18* src/actions.c(user_commands)[0]: remove "lastmsg" from the list.sabetts
2001-09-18* src/actions.h (cmd_info): new prototypesabetts
(cmd_lastmsg): likewise * src/bar.h (show_last_message): new prototype * src/bar.c: new static globals last_msg, lash_mark_start, and last_mark_end. (marked_message): Store the message in last_msg. (show_last_message): new function * src/actions.c (cmd_info): new function (cmd_lastmsg): likewise (user_commands): new commands "info" and "lastmsg" (initialize_default_keybindings): Add key bindings for "info" and "lastmsg".
2001-09-18* src/actions.h (cmd_unsetenv): new prototypesabetts
* src/actions.c (cmd_unsetenv): new function (user_commands): new "unsetenv" command
2001-09-18* src/ratpoison.h (xstrdup): new prototypesabetts
* src/main.c (xstrdup): new function. All calls to strdup replaced with calls to xstrdup. (main): Keep a list of all commands pasted in through the -c command-line option. (main): execute all commands pasted in through the -c command-line option. * src/actions.h (cmd_chdir): new prototype * src/actions.c (cmd_clock): rename to cmd_time. Dependant code updated. (user_commands): rename "clock" command to "time". (cmd_chdir): new function (user_commands): new command "chdir".
2001-09-18(cmd_clock): rename to cmd_time. Dependant codesabetts
updated. (user_commands): rename "clock" command to "time".
2001-09-17* src/actions.c (update_all_gcs): new functionsabetts
(cmd_deffont): update the graphics contexts. * src/actions.c (spawn): Only call setsid if it exists. (spawn): Only call setpgid if it exists. (spawn): if setpgid doesn't exist, try setpgrp.
2001-09-16winfmt escape code updatedsabetts
2001-09-16(format_window_name): Use 2 character escape codes,sabetts
like printf. Dependant code updated.
2001-09-16* configure.in: check for setpgrp.sabetts
* src/actions.c (spawn): if setpgid doesn't exist, try setpgrp.
2001-09-16* configure.in: check for setsid and setpgid functions. Addsabetts
contrib/Makefile to AC_OUTPUT. * Makefile.am (SUBDIRS): add contrib
2001-09-16movedsabetts
2001-09-15(spawn): set the process group ID and session IDsabetts
for the spawned process.
2001-09-13new newssabetts
2001-09-13updated to reflect code changessabetts
2001-09-13(command): Gobble the whitespace between thesabetts
command and the argument list. Code that did this in specific commands has been removed. (cmd_setenv): new function (cmd_meta): rename from cmd_generate. All dependant code updated. (cmd_redisplay): rename from cmd_maximize. All dependant code updated. (initialize_default_keybindings): bind "redisplay" to C-t l and C-t c-l. (cmd_msgwait): rename from cmd_defbartimeout. All dependant code updated.
2001-09-13unbind the key if no command is passed to the 'bind' command.sabetts
2001-09-13* src/actions.c (command): Gobble the whitespace between thesabetts
command and the argument list. Code that did this in specific commands has been removed. * src/input.c (update_input_window): Draw a cheap-o cursor
2001-09-09(MAXSIZE_WINDOWS_ARE_TRANSIENTS): definedsabetts
2001-09-09formatting fixupssabetts
2001-09-09typossabetts
2001-09-09new commandssabetts
2001-09-09* src/split.c (set_active_frame): give the key_window focus whensabetts
no window has focus. (blank_frame): give the key_window focus. * src/main.c (init_screen): don't listen for keystrokes on the root window. (main): give the key_window focus in the case that no window has focus.
2001-09-09* src/bar.c (marked_message): use the screen_info fg_color andsabetts
bg_color to create the inverse GC. * src/actions.h (cmd_deffgcolor): new prototype (cmd_defbgcolor): new prototype * src/actions.c (cmd_defbartimeout): merge the 2 ifs. (cmd_defbartimeout): verify that the number is positive. (cmd_defborder): likewise (cmd_defwinname): gobble leading whitespace. Use strings as arguments, not numbers. (cmd_windows): Use the argument as a window format string in non-interactive mode. (cmd_windows): if data is NULL use the default format string. (user_commands): new commands deffgcolor, defbgcolor. (update_gc): new function (cmd_deffgcolor): likewise (cmd_defbgcolor): likewise
2001-09-09(cmd_windows): if data is NULL use the default format string.sabetts
2001-09-09*** empty log message ***sabetts
2001-09-09(cmd_defbartimeout): merge the 2 ifs.sabetts
(cmd_defbartimeout): verify that the number is positive. (cmd_defborder): likewise (cmd_defwinname): gobble leading whitespace. Use strings as arguments, not numbers.
2001-09-09*** empty log message ***sabetts
2001-09-09fixed versionsabetts
2001-09-09* src/list.h (update_window_position): new prototypesabetts
(window_name): new prototype (get_window_list): update prototype * src/events.c (grab_rat): Don't wrap in an #ifdef (ungrab_rat): likewise (handle_key): record if the rat is grabbed and only ungrab it at the end if it was first grabbed. * src/actions.h (cmd_pos): new prototype (cmd_defwinpos): new prototype (cmd_deftranspos): new prototype (cmd_defmaxsizepos): new prototype (cmd_defbartimeout): new prototype (cmd_defbarloc): new prototype (cmd_deffont): new prototype (cmd_defpadding): new prototype (cmd_defborder): new prototype (cmd_definputwidth): new prototype (cmd_defwaitcursor): new prototype (cmd_defwinfmt): new prototype (cmd_defwinname): new prototype * src/messages.h (MESSAGE_FRAME_STRING): new message * src/manage.c (get_wmname): renamed from get_window_name (get_class_hints): new function (get_res_name): likewise (get_res_class): likewise (update_window_name): update the window's wm_name, res_name, and res_class fields. (update_window_name): calls functions get_wmname, get_res_name, get_res_class. (update_window_name): Don't crop the window name. (update_window_information): call update_window_position. (move_window): new function (maximize_transient): only set the window's width and height fields. (maximize_normal): likewise (maximize): call move_window (force_maximize): likewise (force_maximize): if the window has resize hints, resize it 1 resize unit. * src/main.c: new global variable, defaults. remove static variable, font, and move to defaults. Dependant code updated. (init_defaults): new function (main): call init_defaults. (init_screen): initialize the screen's fg_color to black and bg_color to white. * src/list.c (free_window): free the fields user_name, res_name, res_class, and wm_name. (update_window_position): new function (window_name): new function. Code accessing a window's name uses this function. All code updated. (add_to_window_list): call update_window_position (add_to_window_list): initialize wm_name, res_name, and res_class for the new window. (format_window_name): new function (get_window_list): Add parameter fmt. All callers updated. (get_window_list): call format_window_name. * src/conf.h: move Configuration variables to the global variable, defaults. Dependant code updated. * src/data.h (TOP_LEFT): new define (TOP_CENTER): likewise (TOP_RIGHT): likewise (CENTER_LEFT): likewise (CENTER_CENTER): likewise (CENTER_RIGHT): likewise (BOTTOM_LEFT): likewise (BOTTOM_CENTER): likewise (BOTTOM_RIGHT): likewise (struct rp_window): new fields user_name, wm_name, res_name, res_class, position. (struct rp_window): remove field name. Replaced with user_name. Dependant code updated. (struct screen_info): remove field font. dependant code updated. (struct screen_info): new fields fg_color, bg_color. (struct rp_defaults): new struct (defaults): new global * src/actions.c (parse_winpos): new function (cmd_pos): likewise (cmd_defwinpos): likewise (cmd_deftranspos): likewise (cmd_defmaxsizepos): likewise (cmd_defbartimeout): likewise (cmd_defbarloc): likewise (cmd_deffont): likewise (cmd_defpadding): likewise (cmd_defborder): likewise (cmd_definputwidth): likewise (cmd_defwaitcursor): likewise (cmd_defwinfmt): likewise (cmd_defwinname): likewise (user_commands): New commands defbarloc, defbartimeout, defborder, deffont, defintputwidth, defmaxsizepos, defpadding, deftranspos, defwaitcursor, defwinfmt, defwinname, defwinpos.
2001-09-07Use AC_CHECK_FUNCS to check for getopt andsabetts
getopt_long.
2001-09-06updated to reflect changesalgernon
2001-09-06(EXTRA_DIST): added ratpoison-mode.elalgernon
2001-09-06initial checkinalgernon
2001-09-06the maximise bug is not fixed, according to Shawnalgernon
2001-09-06fixed the escape command docssabetts
2001-09-06updated to reflect changesalgernon
2001-09-06change escape ^a to escape C-a, to reflect the new key naming schemealgernon
2001-09-06bring it up to date, and add %doc stuffalgernon
2001-09-06Updated to version 1.0.0algernon
2001-09-06numlock, caps lock, and scroll lock are ignored for the prefix key.sabetts
2001-09-06* src/main.c (show_welcome_message): If the help key is bound to ?sabetts
then print ? instead of `question'. * src/main.c (show_welcome_message): new function (main): call show_welcome_message to show the welcome message.
2001-09-06remove the bit about the rc file parsing taking up 320 bytessabetts