Changeset 4373

Show
Ignore:
Timestamp:
09/19/06 18:36:43 (2 years ago)
Author:
morris
Message:

Fix bug where the chat action indicator was not cleared when scrolling to the bottom of a window

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • wire/trunk/NEWS

    r4197 r4373  
    11NEWS 
    22==== 
     3 
     41.1.2 
     5- Clear the chat action indicator when scrolling to the bottom of a window 
    36 
    471.1.1 
  • wire/trunk/configure

    r4258 r4373  
    11#! /bin/sh 
    22# Guess values for system-dependent variables and create Makefiles. 
    3 # Generated by GNU Autoconf 2.59 for wire 1.1.1
     3# Generated by GNU Autoconf 2.59 for wire 1.1.2
    44# 
    55# Report bugs to <axel@zankasoftware.com>. 
     
    270270PACKAGE_NAME='wire' 
    271271PACKAGE_TARNAME='wire' 
    272 PACKAGE_VERSION='1.1.1
    273 PACKAGE_STRING='wire 1.1.1
     272PACKAGE_VERSION='1.1.2
     273PACKAGE_STRING='wire 1.1.2
    274274PACKAGE_BUGREPORT='axel@zankasoftware.com' 
    275275 
     
    782782  # This message is too long to be a string in the A/UX 3.1 sh. 
    783783  cat <<_ACEOF 
    784 \`configure' configures wire 1.1.1 to adapt to many kinds of systems. 
     784\`configure' configures wire 1.1.2 to adapt to many kinds of systems. 
    785785 
    786786Usage: $0 [OPTION]... [VAR=VALUE]... 
     
    843843if test -n "$ac_init_help"; then 
    844844  case $ac_init_help in 
    845      short | recursive ) echo "Configuration of wire 1.1.1:";; 
     845     short | recursive ) echo "Configuration of wire 1.1.2:";; 
    846846   esac 
    847847  cat <<\_ACEOF 
     
    967967if $ac_init_version; then 
    968968  cat <<\_ACEOF 
    969 wire configure 1.1.1 
     969wire configure 1.1.2 
    970970generated by GNU Autoconf 2.59 
    971971 
     
    981981running configure, to aid debugging if configure makes a mistake. 
    982982 
    983 It was created by wire $as_me 1.1.1, which was 
     983It was created by wire $as_me 1.1.2, which was 
    984984generated by GNU Autoconf 2.59.  Invocation command line was 
    985985 
     
    14061406 
    14071407cat >>confdefs.h <<\_ACEOF 
    1408 #define WR_VERSION "1.1.1
     1408#define WR_VERSION "1.1.2
    14091409_ACEOF 
    14101410 
     
    14211421 
    14221422# These are used in the Makefile 
    1423 WR_VERSION=1.1.1 
     1423WR_VERSION=1.1.2 
    14241424 
    14251425 
     
    69436943cat >&5 <<_CSEOF 
    69446944 
    6945 This file was extended by wire $as_me 1.1.1, which was 
     6945This file was extended by wire $as_me 1.1.2, which was 
    69466946generated by GNU Autoconf 2.59.  Invocation command line was 
    69476947 
     
    70037003cat >>$CONFIG_STATUS <<_ACEOF 
    70047004ac_cs_version="\\ 
    7005 wire config.status 1.1.1 
     7005wire config.status 1.1.2 
    70067006configured by $0, generated by GNU Autoconf 2.59, 
    70077007  with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" 
  • wire/trunk/configure.in

    r4258 r4373  
    11# Process this file with autoconf to produce a configure script 
    2 AC_INIT([wire], [1.1.1], [axel@zankasoftware.com]) 
     2AC_INIT([wire], [1.1.2], [axel@zankasoftware.com]) 
    33AC_PREREQ([2.57]) 
    44AC_CONFIG_SRCDIR([config.h.in]) 
  • wire/trunk/wire/terminal.c

    r4028 r4373  
    252252        wi_terminal_buffer_pageup(wr_current_window->buffer); 
    253253 
     254        wr_window_update_status(wr_current_window); 
     255 
    254256        wr_draw_header(); 
    255257        wr_draw_divider(); 
     
    262264        wi_terminal_clear_screen(wr_terminal); 
    263265        wi_terminal_buffer_pagedown(wr_current_window->buffer); 
     266         
     267        wr_window_update_status(wr_current_window); 
    264268 
    265269        wr_draw_header(); 
     
    274278        wi_terminal_buffer_home(wr_current_window->buffer); 
    275279 
     280        wr_window_update_status(wr_current_window); 
     281 
    276282        wr_draw_header(); 
    277283        wr_draw_divider(); 
     
    284290        wi_terminal_clear_screen(wr_terminal); 
    285291        wi_terminal_buffer_end(wr_current_window->buffer); 
     292 
     293        wr_window_update_status(wr_current_window); 
    286294 
    287295        wr_draw_header(); 
  • wire/trunk/wire/windows.c

    r4197 r4373  
    247247#pragma mark - 
    248248 
     249void wr_window_update_status(wr_window_t *window) { 
     250        uint32_t                line, lines; 
     251         
     252        line = wi_terminal_buffer_current_line(window->buffer); 
     253        lines = wi_terminal_buffer_lines(window->buffer); 
     254 
     255        if(line == lines) 
     256                window->status = WR_WINDOW_STATUS_IDLE; 
     257} 
     258 
     259 
     260 
    249261wr_window_t * wr_window_with_chat(wr_cid_t cid) { 
    250262        wi_list_node_t  *node; 
  • wire/trunk/wire/windows.h

    r4028 r4373  
    121121void                                                                    wr_windows_show_window(wr_window_t *); 
    122122 
     123void                                                                    wr_window_update_status(wr_window_t *); 
    123124wr_window_t *                                                   wr_window_with_chat(wr_cid_t); 
    124125wr_window_t *                                                   wr_window_with_user(wr_user_t *);