summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2002-08-31(cmd_bind): malloc the correct amount of memory for keydescsabetts
(cmd_unbind): likewise
2002-07-28* src/main.c (handler): do not report badwindow errors ifsabetts
IGNORE_BADWINDOW is define. * src/conf.h (IGNORE_BADWINDOW): new define
2002-07-06(cmd_help): key descriptions don't run off thesabetts
bottom of the screen.
2002-04-25Ouch. Somehow this got corrupted :(algernon
2002-04-252002-04-25 Gergely Nagy <algernon@debian.org>algernon
* src/actions.c: include <strings.h> include setenv implementation if HAVE_SETENV is not set, OR setenv is not defined (removes a compiler warning on AIX) * src/events.c: include <strings.h> * src/getopt.c: include <strings.h>
2002-03-24* src/actions.c (command): look for the command in the aliasessabetts
before looking in the command list. * src/actions.h (cmd_unalias): new prototype * src/actions.c (user_commands): new command unalias (cmd_unalias): new function
2002-03-13* src/actions.c (cmd_nextscreen): An error message is displayedsabetts
when there is only 1 screen. (cmd_prevscreen): likewise
2002-03-13* src/split.c (set_active_frame): fix to operate properly withsabetts
multiple screens. * src/data.h (struct rp_window_frame): new data member 'number'. * src/actions.h (cmd_prevscreen): new prototype (cmd_nextscreen): likewise * src/actions.c (user_commands): new commands "nextscreen" and "prevscreen" (cmd_nextscreen): new function (cmd_prevscreen): likewise
2002-02-20* src/split.c: include string.hsabetts
* src/sbuf.c: likewise * src/events.c: likewise * src/communications.c: likewise
2002-02-17* src/manage.c (update_normal_hints): fix debugging output to besabetts
more readable. * src/events.c (configure_request): call XSync after granting configure request. (property_notify): maximize the window on receiving a normal hints property change.
2002-02-16accidentally cut somethingsabetts
2002-02-16* src/manage.c (maximize): remove calls to XSelectInput.sabetts
(force_maximize): likewise (unhide_window): likewise (unhide_window_below): likewise * src/events.c (configure_notify): remove function. (configure_request): grant the request, then immediately maximize the window. (delegate_event): ignore ConfigureNotify events. (configure_request): grant the request if ratpoison isn't managing the window.
2002-02-14(cmd_license): redraw the bar if it was visible.sabetts
(cmd_help): likewise
2002-02-14* src/events.c (configure_request): Ignore the configure notifysabetts
event caused by the geometry change if the window is not mapped.
2002-02-14* src/manage.c (maximize_transient): correctly detect when thesabetts
window is bigger than its frame. (maximize): ignore the structure events generated by the maximize (force_maximize): likewise (unhide_window): likewise (unhide_window_below): likewise * src/events.c (configure_notify): Clear up ambiguous debugging output. (configure_request): initialize the changes structure to the window's current attributes.
2002-02-08* src/split.h (find_last_frame): prototype now correctly reflectssabetts
the actual function. * src/events.c (configure_notify): ignore substructurenotify events. Add more debugging statements. * src/actions.c (cmd_focuslast): pass the current screen to the call to find_last_frame.
2002-02-03(cmd_defbarpadding): print an error message ifsabetts
defbarpadding is called interactively without arguments.
2002-02-03(handle_signals): only hide the bar if it timessabetts
out.
2002-02-03(marked_message): Fix text marking bug.sabetts
2002-02-01* src/actions.c (command): bail out if alias recursion gets too deep.sabetts
* src/conf.h (MAX_ALIAS_RECURSIVE_DEPTH): new define * src/bar.c (bar_x): update to work with all X11 gravity values. (bar_y): likewise * src/actions.c (cmd_defbargravity): Rename from cmd_defbarloc. Dependant code updated. (cmd_defbargravity): accept all gravity arguments.
2002-01-27* configure.in: check for the vsnprintf function and stdarg.hsabetts
header. * src/main.c (xvsprintf): Cleaned up to call vsnprintf only in one place. wrap the vsnprintf call with va_copy (or __va_copy) and va_end.
2002-01-26* src/list.c (format_window_name): If res_class or res_name aresabetts
NULL use "None" instead.
2002-01-26(alias_t): rename data structure from cmd_alias tosabetts
avoid a name clash with the function cmd_alias. Dependant code updated.
2002-01-26(set_active_window): Corrected a bug in determiningsabetts
what a maxsize window is. Only one of width or height must be less than the screen width or height for a window to qualify as a maxsize window.
2002-01-24* src/actions.c (cmd_defbgcolor): don't set the background color for key_window.sabetts
(cmd_deffgcolor): don't set the foreground color for key_window.
2002-01-24* src/actions.c (cmd_defbarloc): Read the location argument as asabetts
gravity argument using parse_wingravity.
2002-01-24* src/messages.h (MESSAGE_FRAME_STRING): Pad the string withsabetts
spaces on both sides. * src/main.c (init_screen): Create the frame, input, and bar windows with a border width of defaults.bar_border_width. (init_defaults): initialize defaults.bar_border_width * src/bar.c (bar_x): Incorporate defaults.bar_border_width into calculations. (bar_y): likewise * src/actions.h (cmd_defbarborder): new prototype * src/actions.c (user_commands): new command "defbarborder" (cmd_defbarborder): new function * src/main.c (init_screen): create the help window with a 0 border width.
2002-01-24(init_screen): create the help window with a 0 bordersabetts
width.
2002-01-24* src/actions.c (command): Append to the end of alias command thesabetts
arguments passed in before evaluating the alias.
2002-01-24* src/actions.c (find_alias_index): new functionsabetts
(cmd_alias): When an alias is already in the alias list, replace it with the new alias. * src/events.c (configure_request): do not send a synthetic configure notify event.
2002-01-24(wingravity_to_string): Fix the north gravitysabetts
string to return "n" not "ng".
2002-01-24(wingravity_to_string): Fix the north gravitysabetts
string to return "n" not "ng".
2002-01-24* src/manage.c (send_configure): Change parameters to X11 window,sabetts
x, y, width, height and border. Prototype updated. All callers updated. * src/events.c (configure_request): For the changes variable, fill in geometry parameters not part of the request with the window's geometry. * src/manage.c (update_normal_hints): improve debugging output.
2002-01-24* src/events.c (configure_notify): remove functionsabetts
(delegate_event): add ConfigureNotify to the ignored events list. * src/manage.c (update_normal_hints): improve debugging output.
2002-01-15fixed crash on solarissabetts
2002-01-11(handler): store the error text at the beginning ofsabetts
the string instead of 7 bytes in.
2002-01-10* src/events.c (delegate_event): ignore the CirculateRequest event.sabetts
* src/actions.c (cmd_rename): Allows the user to specify a second argument which is the number of the window whose number will be set to the first argument.
2002-01-08(setenv, unsetenv): new functions, used when the system libc does not have them.algernon
2002-01-02* src/main.c (init_screen): do not select on any events for thesabetts
bar_window and the frame_window. * src/events.h (listen_for_events): new prototype * src/events.c (configure_notify): If the event dimensions don't match the windows, then re-maximize the window. (configure_request): always grant the requests. (delegate_event): Changes to the debugging output. (delegate_event): Don't print debugging messages for events that ratpoison doesn't need to handle. (handle_signals): new function (listen_for_events): new function (handle_events): remove function. Dependant code uses listen_for_events. (get_event): likewise * src/main.c (clean_up): don't map iconized windows.
2002-01-02* src/manage.h (get_state): new prototypesabetts
* src/manage.c (update_normal_hints): print only the hints that are set as debugging output. (scanwins): collect mapped and iconized windows. (get_state): new function * src/main.c (clean_up): don't map iconized windows.
2001-12-21* src/actions.h (cmd_alias): new prototypesabetts
* src/actions.c (user_commands): remove "license" from the unimplemented section. (user_commands): new command "alias" (cmd_alias): new function (command): handle aliases (initialize_default_keybindings): initialize the alias list (struct cmd_alias): new struct (alias_list): new static global (alias_list_size): likewise (alias_list_last): likewise
2001-12-21* src/actions.c (user_commands): remove "license" from thesabetts
unimplemented section.
2001-12-21* src/actions.h (cmd_license): new prototypesabetts
* src/actions.c (cmd_license): new function (user_commands): new command "license" (initialize_default_keybindings): bind "license" to V and C-V
2001-12-21(format_window_name): print unrecognized formattingsabetts
options.
2001-12-21* src/manage.c (unmanage): set the kill_signalled variable.sabetts
* src/actions.c (wingravity_to_string): new function (cmd_gravity): return the current value when data is NULL (cmd_defwingravity): likewise (cmd_deftransgravity): likewise (cmd_defmaxsizegravity): likewise (cmd_msgwait): likewise (cmd_defbarloc): likewise (cmd_defpadding): likewise (cmd_defborder): likewise (cmd_definputwidth): likewise (cmd_defwaitcursor): likewise (cmd_defwinfmt): likewise (cmd_defwinname): likewise (cmd_defbarpadding): likewise (cmd_startup_message): likewise (cmd_rudeness): likewise
2001-12-21* src/sbuf.h (sbuf_printf_concat): new prototypesabetts
(sbuf_printf): likewise * src/sbuf.c (sbuf_printf_concat): new function (sbuf_printf): likewise * src/ratpoison.h: include stdarg.h (xvsprintf): new prototype (xsprintf): likewise * src/main.c (xvsprintf): new function (xsprintf): likewise * src/bar.c: remove include of stdarg.h (marked_message_printf): call xvsprintf.
2001-12-21* src/input.c (input_history): new static globalsabetts
(input_num_history_entries): likewise (get_more_input): cycle through the input history. * src/conf.h (INPUT_PREV_HISTORY_KEY): new define (INPUT_PREV_HISTORY_MODIFIER): likewise (INPUT_NEXT_HISTORY_KEY): likewise (INPUT_NEXT_HISTORY_MODIFIER): likewise (INPUT_MAX_HISTORY): likewise * src/input.c (update_input_window): Draw the cursor in the right place.
2001-12-21added a note about the contributorsabetts
2001-12-21* src/input.c (update_input_window): Draw the cursor in the right place.sabetts
* src/actions.h (cmd_defbarpadding): new prototype * src/actions.c (user_commands): new command entry "defbarpadding" (cmd_defbarpadding): new function
2001-12-21* src/data.h (rp_error_msg): new global externsabetts
* src/main.c (rp_error_msg): new global variable * src/events.c (get_event): If there is an X11 error message to print, print it. * src/main.c (handler): record the error in rp_error_msg