summaryrefslogtreecommitdiff
path: root/src/ChangeLog
AgeCommit message (Collapse)Author
2001-03-02* ratpoison.h (xmalloc, xrealloc, fatal): Prototype.rcyeske
* main.c (xmalloc): Move here from sbuf.c. (xrealloc): Likewise. (fatal): Likewise. * number.c (find_empty_cell): Use xrealloc, remove error check. (init_numbers): Likewise. * manage.c (get_window_name): Likewise. * main.c (main): Likewise. * list.c (add_to_window_list): Likewise. (add_to_window_list): Likewise. * events.c (handle_key): Likewise. * input.c (keysym_to_string): Likewise. (get_more_input): Use xrealloc, remove error check. * main.c (read_rc_file): Take a file pointer rather than a filename. (read_startup_files): If ~/.ratpoisonrc is not readable try /etc/ratpoisonrc.
2001-03-02* actions.c (cmd_source): Open the file. Error report asrcyeske
appropriate. (cmd_windows): Call current_screen() to find the current screen. (cmd_clock): Show the clock even if no windows are open. (cmd_clock): Use xmalloc, remove error check. (initialize_default_keybindings): Use xmalloc. (cmd_bind): Use xmalloc. (cmd_rename): Use xmalloc, remove error check. (add_keybinding): Use xrealloc. (replace_keybinding): Use xrealloc. * actions.c: Use PRINT_DEBUG instead of fprintf. Put useful error text in calls to message(). (cmd_select): Show the window list if there is no such window number.
2001-03-02* actions.c (cmd_source): Open the file. Error report asrcyeske
appropriate. * main.c (read_rc_file): Take a file pointer rather than a filename. (read_startup_files): If ~/.ratpoisonrc is not readable try /etc/ratpoisonrc. * actions.c: Use PRINT_DEBUG instead of fprintf. Put useful error text in calls to message(). (cmd_select): Show the window list if there is no such window number.
2001-03-02Use PRINT_DEBUG instead of fprintf. Put useful errorrcyeske
text in calls to message(). (cmd_select): Show the window list if there is no such window number.
2001-03-01* manage.c (map_window): calls update_window_information.sabetts
* manage.h (map_window): new prototype. * events.c (new_window): calls update_window_information on new windows. (map_request): calls map_window on managed unmapped windows. (configure_request): removed commented out old crusty code. Updates window's structure based on what bits are set in the event's value_mask. Doesn't honour resize request. Windows are always maximized. (property_notify): doesn't call maximize when WM_NORMAL_HINTS are updated. * manage.c (manage): no longer maps the window, this code is in map_window. (map_window): new function (maximize): no longer sends a synthetic configure event. (scanwins): calls map_window on viewable windows. (update_window_information): renamed from manage. dependant code updated.
2001-02-28* actions.c (cmd_escape): updates the "other" command keybindingsabetts
2001-02-28* manage.h (ungrab_prefix_key): new prototypesabetts
(grab_prefix_key): likewise * manage.c (ungrab_prefix_key): new function * main.c (main): calls initialize_default_keybindings after init_window_list. * data.h (struct rp_action): key is of type KeySym. state is unsigned int. * conf.h (KEY_PREFIX): set to XK_t * actions.h (cmd_escape): new prototype * actions.c (cmd_escape): new function * data.h (struct key): move from actions.h (struct rp_key): rename from struct key. dependant code updated. (prefix_key): new global variable. code dependant on KEY_PREFIX and MODIFIER_PREFIX updated to use this. * actions.c: "maximize" user command calls cmd_maximize (initialize_default_keybindings): initializes prefix_key. Added "escape" command. * manage.c (force_maximize): moved from actions.c (maximize): likewise (maximize_normal): likewise (maximize_transient): likewise * actions.c (cmd_maximize): New function * main.c (handler): Prepends error message with "ERROR: ". Displays error in message bar. Returns 0. * events.c (destroy_window): sets rp_current_window to NULL when there are no more mapped windows. (destroy_window): calls set_current_window and find_window_other directly instead of cmd_other.
2001-02-28* actions.c: "maximize" user command calls cmd_maximizesabetts
* manage.c (force_maximize): moved from actions.c (maximize): likewise (maximize_normal): likewise (maximize_transient): likewise * actions.c (cmd_maximize): New function
2001-02-28* main.c (handler): Prepends error message with "ERROR: ".sabetts
Displays error in message bar. Returns 0. * events.c (destroy_window): sets rp_current_window to NULL when there are no more mapped windows. (destroy_window): calls set_current_window and find_window_other directly instead of cmd_other.
2001-02-27(save_mouse_position): stores the mouse position relativesabetts
to the root window. (set_active_window): warps the mouse relative to the root window.
2001-02-27* actions.h: prototype for force_maximize addedsabetts
* actions.c: the user command "maximize" calls force_maximize (force_maximize): New function
2001-02-26*** empty log message ***rcyeske
2001-02-26added cmd_sourcercyeske
2001-02-24added initialization file support "~/.ratpoisonrc"rcyeske
2001-02-24fix key rebindingrcyeske
2001-02-23* main.c (main): passes return value of find_window_other() tosabetts
set_active_window(). * list.h (remove_from_window_list): removed prototype (find_window_in_list): new prototype (append_to_list): likewise (insert_into_list): likewise (remove_from_list): likewise * list.c: propogated use of rp_unmapped_window_sentinel and rp_mapped_window_sentinel. (find_window_in_list): new function (find_window): calls find_window_in_list to search mapped and unmapped window lists. (remove_from_window_list): removed function (init_window_list): initialized sentinels (find_window_prev): searches only the mapped window list. (find_window_next): likewise (find_window_other): likewise (append_to_list): new function (insert_into_list): new function (remove_from_list): new function * events.c (unmap_notify): Searches only the mapped window list. moves the window from the unmapped window list to the mapped window list. * data.h: removed rp_window_head and rp_window_tail, updated dependant files. Added rp_mapped_window_sentinel and rp_unmapped_window_sentinel globals. * bar.c (update_window_names): loops only through mapped window list.
2001-02-23*** empty log message ***rcyeske
2001-02-22*** empty log message ***rcyeske
2001-02-21fixed generate prefix stupidityrcyeske
2001-02-20removed key_actions table, replaced with set of functionsrcyeske
2001-02-19*** empty log message ***rcyeske
2001-02-19* manage.c (manage): calls sort_window_list_by_numbersabetts
* list.h (sort_window_list_by_number): Added prototype * list.c (swap_list_elements): Added (sort_window_list_by_number): Added * input.c (update_input_window): Added (get_input): calls update_input_window in place of xlib calls. (get_input): exits if realloc fails * conf.h: Added INPUT_WINDOW_SIZE * bar.c (update_window_names): loops through window list from head to tail.
2001-02-18* conf.h: restructured comments. Added #define for AUTO_CLOSE.sabetts
* manage.c (unmanage): kills ratpoison when there are no more windows.
2001-02-17renamed display_msg_in_bar() to message(); it and get_input() no longer take ↵rcyeske
a screen_info param
2001-02-17updated to reflect changesalgernon
2001-02-15added my changesalgernon
2001-02-15*** empty log message ***rcyeske
2001-02-15*** empty log message ***rcyeske
2001-02-15*** empty log message ***rcyeske
2001-02-15*** empty log message ***rcyeske
2001-02-14*** empty log message ***rcyeske
2001-02-12*** empty log message ***rcyeske
2001-02-12*** empty log message ***rcyeske
2001-02-11(set_sig_handler): Addedsabetts
(main): Uses set_sig_handler() instead of signal()
2001-02-11* manage.h (set_state): Added prototypesabetts
* manage.c (send_configure): Now sends the window's x,y,width,height coordinates. (set_state): Added * events.c (map_request): Calls set_state when mapping an unmapped window. * actions.c (maximize_transient): takes an rp_window as the argument. Removed code to handle void *data. Incremental resizing only happens if the maximum size isn't set. Removed actual X maximization code. (maximize): Moved meat to maximize_normal().
2001-02-11*** empty log message ***rcyeske
2001-02-11*** empty log message ***rcyeske
2001-02-11* actions.c (prev_window): display correct message when there isrcyeske
no other window or there are no windows at all. (next_window): display correct message when there is no other window or there are no windows at all. (key_actions): all number keys call goto_window_number with an argument instead of a dedicated function. * actions.c: replaced all user message strings with #define'd messages. * actions.h (goto_window): removed (goto_window_0): removed (goto_window_1): removed (goto_window_2): removed (goto_window_3): removed (goto_window_4): removed (goto_window_5): removed (goto_window_6): removed (goto_window_7): removed (goto_window_8): removed
2001-02-10* communications.c (send_restart, send_kill): Addedsabetts
* ratpoison.h: includes communications.h * main.c (send_restart, send_kill): Moved to communications.c * list.c (get_mouse_root_position): Added (add_to_window_list): Initialize new rp_window fields (save_mouse_position): Added (set_active_window): Added code to save and restore the position of the mouse * events.c (property_notify): Added code to listen for a WM_TRANSIENT_FOR property change. * data.h (struct rp_window): Added transient, transient_for, mouse_x, mouse_y. * actions.c (maximize_transient): Added (maximize): Added code to handle transient windows differently * Makefile.am (ratpoison_SOURCES): Added communications.h and communications.c
2001-02-04*** empty log message ***rcyeske
2001-01-28*** empty log message ***rcyeske
2001-01-02* actions.h (show_clock): added prototypesabetts
* actions.c (show_clock): added
2000-12-15* actions.c (maximize): increment size in hints->width_inc and ↵sabetts
hints->height_inc intervals * manage.c (manage): set the dimension members of the rp_window struct
2000-12-15*** empty log message ***sabetts
2000-12-15*** empty log message ***sabetts
2000-12-15*** empty log message ***sabetts
2000-12-13removed gross tabs from key_actions definition. Addsabetts
C-t space to go to next window.
2000-12-09* data.h (struct rp_window): added x, y, width, height, border;sabetts
* events.c (configure_request): Now honours request, but then maximizes it afterwards. (configure_request): updates the rp_window's geometry fields * manage.c (manage): commented out XMoveResizeWindow call (send_configure): added * actions.h (maximize): added prototype * actions.c (maximize): added
2000-12-09(cook_keycode): updated commentssabetts
2000-12-09* input.c (cook_keycode): properly handle LockMasksabetts
* input.h: added prototype for keysym_to_string * input.c (keysym_to_string): added * bar.c (show_bar): update_window_names(s) is called whether the bar is raised or not. * conf.h: Added BAR_Y_PADDING BAR_X_PADDING * list.c (goto_window_name): return success or failure * list.h: updated prototype for goto_window_name * events.c (handle_key): Added a message indicating an unbound key. * bar.c (display_msg_in_bar): added (update_window_names): uses BAR_X_PADDING instead of `5' (update_window_names): Updated BAR_PADDING to BAR_Y_PADDING * input.c (cook_keycode): mod is now an usigned int (read_key): Ignores modifier keys. Now returns keysym and modifiers. (get_input): Updated BAR_PADDING to BAR_Y_PADDING and BAR_X_PADDING. * events.c (handle_key): uses read_key instead of XMaskEvent to read a key. * actions.c (goto_window_number): window list is displayed on failure. (bye): added (switch_to): added (execute_command): no longer seg faults when no windows exist.