1. 04 Nov, 2011 1 commit
    • Eli Zaretskii's avatar
      Fix documentation per bug #9949. · 89bd5ee1
      Eli Zaretskii authored
       src/window.c (Fwindow_body_size): Mention in the doc string that the
       return value is in frame's canonical units.
       lisp/window.el (window-body-height, window-body-width): Mention in
       the doc string that the return values are in frame's canonical
       units.
       doc/lispref/windows.texi (Window Sizes): Mention in the doc string that the
       return values of `window-body-height' and `window-body-width' are
       in frame's canonical units.
      89bd5ee1
  2. 03 Nov, 2011 4 commits
  3. 01 Nov, 2011 3 commits
  4. 30 Oct, 2011 4 commits
    • Eli Zaretskii's avatar
      Fix random crashes while scrolling backwards. · c2ff3c02
      Eli Zaretskii authored
       src/xdisp.c (try_cursor_movement): Make sure ROW isn't decremented
       past the beginning of the current glyph matrix.
      c2ff3c02
    • Jan Djärv's avatar
      Fix bug 9869. · 6e56383b
      Jan Djärv authored
      xterm.c: Include X11/Xproto.h if HAVE_GTK3.
      (x_error_handler): Ignore BadMatch for X_SetInputFocus for
      HAVE_GTK3 (Bug#9869).
      6e56383b
    • Jan Djärv's avatar
      * gtkutil.c (xg_win_to_widget, xg_event_is_for_menubar): Initialize · 3b574623
      Jan Djärv authored
      type to GDK_NOTHING so valgrind does not complain.
      
      Fixes: debbugs:9901
      3b574623
    • Jan Djärv's avatar
      Fix hang after C-z in gnome-shell. · b77a6a7f
      Jan Djärv authored
      * xterm.c: Declare x_handle_net_wm_state to return int.
      (handle_one_xevent): Check if we are iconified but don't have
      _NET_WM_STATE_HIDDEN.  If do, treat as deiconify.
      (get_current_wm_state): Return non-zero if not hidden,
      check for _NET_WM_STATE_HIDDEN (Bug#9893).
      (do_ewmh_fullscreen): Ignore return value from get_current_wm_state.
      (x_handle_net_wm_state): Return what get_current_wm_state returns.
      (x_term_init): Initialize dpyinfo->Xatom_net_wm_state_hidden.
      
      * xterm.h (x_display_info): Add Xatom_net_wm_state_hidden (Bug#9893).
      b77a6a7f
  5. 29 Oct, 2011 8 commits
  6. 28 Oct, 2011 6 commits
  7. 27 Oct, 2011 4 commits
  8. 26 Oct, 2011 3 commits
  9. 25 Oct, 2011 3 commits
  10. 20 Oct, 2011 3 commits
    • Eli Zaretskii's avatar
      src/bidi.c: Fix a typo in a comment. · 55622b93
      Eli Zaretskii authored
      55622b93
    • Eli Zaretskii's avatar
      Improve the speedup of bidi display introduced in 2011-10-18T16:56:09Z!eliz@gnu.org for bug#9771. · 7b5d6677
      Eli Zaretskii authored
       src/dispextern.h (struct bidi_it): New member next_en_type.
       src/bidi.c (bidi_line_init): Initialize the next_en_type member.
       (bidi_resolve_explicit_1): When next_en_pos is valid for the
       current character, check also for next_en_type being WEAK_EN.
       (bidi_resolve_weak): Don't enter the expensive loop if the current
       position is before next_en_pos.  Record the bidi type of the first
       non-ET, non-BN character we find, in addition to its position.
       (bidi_level_of_next_char): Invalidate next_en_type when
       next_en_pos is over-stepped.
      7b5d6677
    • Paul Eggert's avatar
      Time zone name fixes for non-ASCII locales (Bug#641, Bug#9794) · 7da0b018
      Paul Eggert authored
      * configure.in (AC_STRUCT_TM, AC_STRUCT_TIMEZONE, HAVE_TM_GMTOFF):
      Remove; no longer needed, now that we defer to strftime for time
      zone names.
      * src/editfns.c: Rewrite current-time-zone so that it invokes
      the equivalent of (format-time-string "%Z") to get the time zone name.
      This fixes a bug when the time zone name contains characters that
      need converting from the system time locale to Emacs internal format.
      This fixes a shortcoming that I introduced in my 1999-10-19 patch:
      that patch fixed format-time-string to do the conversion, but
      I forgot to fix current-time-zone.
      (format_time_string): New function, containing most of
      what Fformat_time_string used to contain.
      (Fformat_time_string): Rewrite in terms of format_time_string.
      This doesn't change this function's behavior.
      (current-time-zone): Rewrite to use format_time_string.
      This fixes the bug reported by Michael Schierl in
      <http://lists.gnu.org/archive/html/emacs-devel/2007-06/msg00334.html>.
      Jason Rumney's 2007-06-07 change worked around this bug, but
      didn't fix it.
      * src/systime.h (tzname, timezone): Remove no-longer-used declarations.
      7da0b018
  11. 19 Oct, 2011 1 commit
    • Eli Zaretskii's avatar
      Followup to 2011-10-19T09:48:35Z!eliz@gnu.org. · 12b32963
      Eli Zaretskii authored
       src/xdisp.c (try_window_reusing_current_matrix): If a line ends in a display
       vector or the next line starts in a display vector, continue
       redrawing the window even though the character position of
       start_row was reached.
      
      Fixes: debbugs:9771
      12b32963