1. 15 Nov, 2014 5 commits
  2. 14 Nov, 2014 4 commits
  3. 13 Nov, 2014 1 commit
    • Paul Eggert's avatar
      Avoid undefined behavior in color table hashing. · 911ad4a1
      Paul Eggert authored
      * image.c (CT_HASH_RGB) [COLOR_TABLE_SUPPORT]: Remove, replacing with ...
      (ct_hash_rgb) [COLOR_TABLE_SUPPORT]: New function.  All uses changed.
      This function avoids undefined behavior with signed shift overflow.
      911ad4a1
  4. 10 Nov, 2014 1 commit
  5. 09 Nov, 2014 6 commits
  6. 08 Nov, 2014 4 commits
    • Jan Djärv's avatar
      * nsterm.m (ns_set_vertical_scroll_bar): Don't call bar setPosition: unless · d244e9bf
      Jan Djärv authored
      needed (Bug#18757).
      
      Fixes: debbugs:18993
      d244e9bf
    • Jan Djärv's avatar
      Attempt to fix NS hang. Will probably cause merge conflicts. · 86b1c771
      Jan Djärv authored
      * nsterm.m (init): Replace OSX 10.9 check with IMPL_COCOA.
      (run): Ditto.  Only use non-system event loop if OSX version is
      exactly 10.9.
      
      Fixes: debbugs:18993
      86b1c771
    • Martin Rudalics's avatar
      Run `window-configuration-change-hook' only after all faces have been realized. · c936cbbc
      Martin Rudalics authored
      * frame.c (adjust_frame_size): Call x_set_window_size only if
      f->can_x_set_window_size is set.
      (make_frame): Initialize f->can_x_set_window_size and
      f->can_run_window_configuration_change_hook.
      (Fcan_run_window_configuration_change_hook): New function.
      * frame.h (frame): Split `official' into `can_x_set_window_size'
      and `can_run_window_configuration_change_hook'.
      * nsfns.m (Fx_create_frame): Set f->can_x_set_window_size.
      * w32fns.c (Fx_create_frame, x_create_tip_frame): Set
      f->can_x_set_window_size.
      * window.c (run_window_configuration_change_hook): Return
      immediately if either f->can_x_set_window_size or
      f->can_run_window_configuration_change_hook are false.
      (Fset_window_configuration): Instead of f->official set
      f->can_x_set_window_size.
      * xfns.c (Fx_create_frame, x_create_tip_frame): Set
      f->can_x_set_window_size.
      * faces.el (face-set-after-frame-default): Enable running
      `window-configuration-change-hook'.
      c936cbbc
    • Jan Djärv's avatar
      * nsterm.m (EmacsScroller.dealloc): Reinstate, removed at merge · a05fd1fc
      Jan Djärv authored
      cleanup from 2014-11-01.
      
      Fixes: debbugs:18972
      a05fd1fc
  7. 07 Nov, 2014 4 commits
    • Stefan Monnier's avatar
      * src/keyboard.c: Call gui-set-selection instead of x-set-selection. · 3946aeb9
      Stefan Monnier authored
      * src/xdisp.c (window-scroll-functions): Improve docstring.
      3946aeb9
    • Paul Eggert's avatar
      Uniquify the 'size' symbol. · 0e44a2d2
      Paul Eggert authored
      * frame.c (Qsize):
      * w32notify.c (Qsize): Remove.
      * lisp.h (Qsize): New decl.
      * lread.c (Qsize): Now extern.
      * w32notify.c (syms_of_w32notify): No need to defsym.
      0e44a2d2
    • Michael Albinus's avatar
      * callproc.c (encode_current_directory): Support handling of file · 5282dec1
      Michael Albinus authored
      names prepended by "/:".
      
      Fixes: debbugs:18891
      5282dec1
    • Martin Rudalics's avatar
      Improve inhibiting of implied frame resizes. · 1c50b3ad
      Martin Rudalics authored
      * frames.texi (Size and Position): Rewrite description of
      `frame-inhibit-implied-resize'.
      * cus-start.el (frame-resize-pixelwise): Fix group.
      (frame-inhibit-implied-resize): Add entry.
      * dispnew.c (change_frame_size_1): Fix call of
      adjust_frame_size.
      * frame.c (Qsize, Qframe_position, Qframe_outer_size)
      (Qframe_inner_size, Qexternal_border_size, Qtitle_height)
      (Qmenu_bar_external, Qmenu_bar_size, Qtool_bar_external)
      (Qtool_bar_size): New constants.
      (frame_inhibit_resize, adjust_frame_size): New argument to
      handle case where frame_inhibit_implied_resize is a list.
      (Fmake_terminal_frame, Fset_frame_height, Fset_frame_width)
      (Fset_frame_size, x_set_left_fringe, x_set_right_fringe)
      (x_set_right_divider_width, x_set_bottom_divider_width)
      (x_set_vertical_scroll_bars, x_set_horizontal_scroll_bars)
      (x_set_scroll_bar_width, x_set_scroll_bar_height): Update
      callers.
      (frame-inhibit-implied-resize): Rewrite doc-string.
      * frame.h (frame_inhibit_resize, adjust_frame_size): Fix
      external declarations.
      (Qframe_position, Qframe_outer_size)
      (Qframe_inner_size, Qexternal_border_size, Qtitle_height)
      (Qmenu_bar_external, Qmenu_bar_size, Qtool_bar_external)
      (Qtool_bar_size): Extern them.
      * gtkutil.c (FRAME_TOTAL_PIXEL_HEIGHT, FRAME_TOTAL_PIXEL_WIDTH)
      (xg_height_or_width_changed): Remove.
      (xg_frame_set_char_size): Adjust adjust_frame_size calls.
      (menubar_map_cb, xg_update_frame_menubar, free_frame_menubar)
      (tb_size_cb, update_frame_tool_bar, free_frame_tool_bar)
      (xg_change_toolbar_position): Call adjust_frame_size directly.
      * nsfns.m (x_set_internal_border_width, Fx_create_frame): Fix
      calls of adjust_frame_size.
      * w32fns.c (x_set_internal_border_width, x_set_menu_bar_lines)
      (Fx_create_frame, x_create_tip_frame): Adjust adjust_frame_size
      calls.
      (x_set_tool_bar_lines, x_change_tool_bar_height): Make sure that
      frame can get resized when tool-bar-lines parameter changes from
      or to zero.
      (Fw32_frame_menu_bar_size): Return fourth value.
      (Fw32_frame_rect): Block input around system calls
      (Fx_frame_geometry): New function.
      * w32menu.c (set_frame_menubar): Adjust adjust_frame_size call.
      * w32term.c (x_new_font): Adjust adjust_frame_size call.
      * widget.c (EmacsFrameSetCharSize): Adjust frame_inhibit_resize
      call.
      * window.c (Fset_window_configuration): Adjust adjust_frame_size
      call.
      * xfns.c (x_set_menu_bar_lines, x_set_internal_border_width)
      (Fx_create_frame): Adjust adjust_frame_size calls.
      (x_set_tool_bar_lines, x_change_tool_bar_height): Make sure that
      frame can get resized when tool-bar-lines parameter changes from
      or to zero.
      (Fx_frame_geometry): New function.
      * xmenu.c (update_frame_menubar): On Lucid call
      adjust_frame_size with one pixel less height to avoid that
      repeatedly adding/removing the menu bar grows the frame.
      (free_frame_menubar): On Motif arrange to optionally preserve
      the old frame height when removing the menu bar.
      * xterm.c (x_new_font): Adjust adjust_frame_size call.
      1c50b3ad
  8. 06 Nov, 2014 2 commits
  9. 05 Nov, 2014 1 commit
  10. 03 Nov, 2014 2 commits
  11. 02 Nov, 2014 3 commits
    • Jan Djärv's avatar
      Fix memory leak · 860ae452
      Jan Djärv authored
      * nsimage.m (allocInitFromFile:): Initialize bmRep.
      (dealloc): Release bmRep.
      860ae452
    • Jan Djärv's avatar
      * nsimage.m (ImageList, imageListNext, imageListSetNext:) · 65bb8d05
      Jan Djärv authored
      (reference): Remove.
      (allocInitFromFile:): Remove searching ImageList and calling
      reference.
      (dealloc): Remove handling if ImageList.
      
      * nsterm.h (EmacsImage): Remove imageListNext, refCount, reference,
      imageListSetNext, imageListNext.
      
      Fixes: debbugs:18918
      65bb8d05
    • Andreas Schwab's avatar
      Fix incorrect assertion · f26d02a6
      Andreas Schwab authored
      * process.c (catch_child_signal): Fix incorrect assertion.
      f26d02a6
  12. 01 Nov, 2014 4 commits
  13. 31 Oct, 2014 3 commits