1. 17 Oct, 2008 1 commit
  2. 15 Sep, 2008 1 commit
  3. 12 Sep, 2008 1 commit
  4. 31 Jul, 2008 1 commit
    • Dan Nicolaescu's avatar
      * s/ms-w32.h (MULTI_KBOARD): Remove. · 69ab3201
      Dan Nicolaescu authored
      * xterm.c:
      * xselect.c:
      * xfns.c:
      * window.c:
      * w32term.c:
      * w32fns.c:
      * terminal.c:
      * termhooks.h:
      * term.c:
      * sysdep.c:
      * keyboard.h:
      * keyboard.c:
      * frame.h:
      * frame.c:
      * frame.c: Remove references to MULTI_KBOARD, it is now the
      default.
      * config.in: Regenerate.
      
      * config.nt (MULTI_KBOARD): Remove.
      
      * configure.in (MULTI_KBOARD): Remove.
      69ab3201
  5. 27 Jul, 2008 1 commit
    • Dan Nicolaescu's avatar
      Remove support for Mac Carbon. · 9e2a2647
      Dan Nicolaescu authored
      * mactoolbox.c:
      * macterm.h:
      * macterm.c:
      * macselect.c:
      * macmenu.c:
      * macgui.h:
      * macfns.c:
      * mac.c: Remove file.
      * s/darwin.h:
      * m/intel386.h:
      * xfaces.c:
      * xdisp.c:
      * window.c:
      * tparam.c:
      * termhooks.h:
      * termcap.c:
      * term.c:
      * syssignal.h:
      * sysselect.h:
      * sysdep.c:
      * process.c:
      * lread.c:
      * lisp.h:
      * keyboard.c:
      * image.c:
      * fringe.c:
      * frame.h:
      * frame.c:
      * fontset.c:
      * font.h:
      * font.c:
      * fns.c:
      * fileio.c:
      * emacs.c:
      * dispnew.c:
      * dispextern.h:
      * config.in:
      * atimer.c:
      * Makefile.in: Remove code for Carbon
      
      * erc.el: Remove code for Carbon.
      
      Remove support for Mac Carbon.
      * term/mac-win.el: Remove file
      * international/mule-cmds.el:
      * version.el:
      * startup.el:
      * simple.el:
      * mwheel.el:
      * mouse.el:
      * loadup.el:
      * isearch.el:
      * info.el:
      * frame.el:
      * faces.el:
      * disp-table.el:
      * cus-start.el:
      * cus-face.el:
      * cus-edit.el:
      * Makefile.in: Remove code for Carbon.
      
      Remove support for Mac Carbon.
      * makefile.w32-in:
      * emacsclient.c: Remove code for Carbon.
      
      * PROBLEMS:
      * MACHINES: Remove mentions of Mac Carbon.
      
      * ns-emacs.texi:
      * faq.texi: Remove mentions of Mac Carbon.
      
      * os.texi:
      * frames.texi:
      * display.texi: Remove mentions of Mac Carbon.
      
      * xresources.texi: Remove mentions of Mac Carbon.
      
      * make-tarball.txt:
      * admin.el:
      * FOR-RELEASE:
      * CPP-DEFINES: Remove mentions of Mac Carbon.
      
      Remove support for Mac Carbon.
      * mac: Remove directory.
      * make-dist:
      * configure.in:
      * README:
      * Makefile.in:
      * INSTALL:  Remove code for Carbon.
      * configure: Regenerate.
      9e2a2647
  6. 15 Jul, 2008 1 commit
  7. 27 Jun, 2008 1 commit
  8. 10 Jun, 2008 1 commit
    • Stefan Monnier's avatar
      * window.c (Vwindow_point_insertion_type): New var. · a1562258
      Stefan Monnier authored
      (set_window_buffer): Use it.
      (syms_of_window): Init and export it to Lisp.
      * progmodes/compile.el (compilation-mode):
      Set window-point-insertion-type.
      (compilation-filter): Don't use insert-before-markers any more.
      * emacs-lisp/trace.el (trace-make-advice):
      Set window-point-insertion-type in the trace buffer.
      * startup.el (normal-top-level): Set window-point-insertion-type in
      *Messages*.
      * net/telnet.el (telnet-mode): Set window-point-insertion-type.
      (telnet-filter): Don't use insert-before-markers any more.
      * comint.el (comint-mode): Set window-point-insertion-type.
      (comint-output-filter): Don't use insert-before-markers any more.
      * button.el (make-text-button): Allow `start' to be a string.
      a1562258
  9. 05 Jun, 2008 3 commits
    • Stefan Monnier's avatar
      * window.el (display-buffer-function, special-display-p) · 87478b52
      Stefan Monnier authored
      (special-display-buffer-names, special-display-regexps)
      (special-display-function, same-window-p, same-window-buffer-names)
      (same-window-regexps, pop-up-frames, display-buffer-reuse-frames)
      (pop-up-frame-function, pop-up-windows)
      (split-window-preferred-function, split-height-threshold)
      (split-width-threshold, window--splittable-p)
      (window--try-to-split-window, window--frame-usable-p)
      (even-window-heights, window--even-window-heights)
      (window--display-buffer-1, window--display-buffer-2, display-buffer)
      (pop-to-buffer): Move from window.c and buffer.c.
      (split-window-preferred-horizontally): Remove.
      * cus-start.el: Remove corresponding declarations.
      
      * window.c (pop_up_windows, pop_up_frames)
      (display_buffer_reuse_frames, Vpop_up_frame_function)
      (Vdisplay_buffer_function, Veven_window_heights)
      (Vspecial_display_buffer_names, Vspecial_display_regexps)
      (Vspecial_display_function, Vsame_window_buffer_names)
      (Vsame_window_regexps, split_height_threshold)
      (Vsplit_window_preferred_function): Move those vars to window.el.
      (display_buffer_1, Fspecial_display_p, Fsame_window_p)
      (Fdisplay_buffer): Move those functions to window.el.
      (syms_of_window): Remove corresponding declarations.
      (display_buffer): New function.
      (temp_output_buffer_show, Fother_window_for_scrolling): Use it.
      * dispnew.c (Flast_nonminibuf_frame): New function.
      * buffer.c (Fpop_to_buffer): Move to window.el.
      87478b52
    • Stefan Monnier's avatar
      * window.c (window_scroll_pixel_based_preserve_x) · c876b227
      Stefan Monnier authored
      (window_scroll_preserve_hpos, window_scroll_preserve_vpos): New vars.
      (window_scroll_pixel_based, window_scroll_line_based):
      Use them to preserve column positions.
      (syms_of_window): Initialize them.
      * indent.c (Fvertical_motion): Extend first arg to allow passing an
      (HPOS . VPOS) pair.
      * xdisp.c (move_it_in_display_line_to): Improve the type of its args.
      (move_it_in_display_line): New wrapper.
      * dispextern.h (move_it_in_display_line): Declare.
      c876b227
    • Juanma Barranquero's avatar
      (Fwindow_parameter): Return VALUE, not (PARAMETER . VALUE). · 927abf37
      Juanma Barranquero authored
      (Fwindow_parameters): Return copy of parameter alist.  Doc fix.
      (Fset_window_parameter): Return VALUE, not parameter alist.  Doc fix.
      927abf37
  10. 04 Jun, 2008 2 commits
  11. 02 Jun, 2008 1 commit
    • Jim Meyering's avatar
      Make "xfree (NULL)" a no-op; remove useless if-before-xfree. · 70fdbb46
      Jim Meyering authored
      * src/alloc.c (xfree): Return right away for a NULL arg.
      * src/lread.c (nosuffix): Remove now-useless if-before-xfree tests.
      * src/gtkutil.c (xg_gtk_scroll_destroy): Likewise.
      * src/mac.c (create_apple_event_from_event_ref): Likewise.
      (create_apple_event_from_drag_ref, cfstring_create_normalized): Likewise.
      * src/doprnt.c (doprnt1): Likewise.
      * src/frame.c (frame): Likewise.
      * src/keyboard.c (wipe_kboard): Likewise.
      * src/macterm.c (x_free_frame_resources, xlfdpat_destroy, XFreePixmap):
      (init_font_name_table, mac_unload_font, x_delete_display): Likewise.
      * src/term.c (tty_default_color_capabilities, maybe_fatal)
      (delete_tty): Likewise.
      * src/w16select.c (string): Likewise.
      * src/w32.c (w32_get_resource, SET_ENV_BUF_SIZE): Likewise.
      * src/w32bdf.c (w32_free_bdf_font): Likewise.
      * src/w32fns.c (w32_unload_font): Likewise.
      * src/w32font.c (w32font_close): Likewise.
      * src/window.c (size_window): Likewise.
      * src/xselect.c (receive_incremental_selection): Likewise.
      * src/xterm.c (x_free_frame_resources, x_delete_display): Likewise.
      * src/mactoolbox.c (create_apple_event_from_drag_ref): Likewise.
      * src/w32.c (stat): Likewise.
      70fdbb46
  12. 14 May, 2008 1 commit
  13. 01 May, 2008 1 commit
    • Martin Rudalics's avatar
      (make_window): Initialize resize_proportionally. · 047aaeb9
      Martin Rudalics authored
      (enlarge_window): Temporarily set resize_proportionally to make
      sure that shrink_windows does scale the window proportionally.
      (shrink_windows): When window has resize_proportionally set try
      to shrink it proportionally by stealing from other windows.
      (struct saved_window, Fset_window_configuration)
      (compare_window_configurations): Handle resize_proportionally.
      (WINDOW_TOTAL_SIZE): New macro.
      (window_min_size, shrink_windows, size_window): Use it.
      (check_min_window_sizes): Removed.  Invalid values of
      window-min-height|width are handled by window_min_size_2 now.
      (size_window, Fsplit_window, enlarge_window)
      (adjust_window_trailing_edge, grow_mini_window): Don't call
      check_min_window_sizes.
      (window_min_size_2, window_min_size_1, window_min_size): New
      argument safe_p for retrieving "safe" minimum sizes.
      (Fdisplay_buffer, Fsplit_window, enlarge_window):
      (adjust_window_trailing_edge, grow_mini_window): Adjust
      arguments of window_min_size... functions.
      (shrink_windows): Argument min_size removed.  New argument
      safe_p allows shrinking windows to their safe minimum sizes.
      Calculate minimum size and decide whether a window shall be
      deleted for each window individually.
      (size_window): When nodelete_p equals 2, tell shrink_windows to
      delete windows only if their new minimum size is no more safe.
      (shrink_window_lowest_first): Call window_min_size_1 to make
      sure to preserve modeline of bottom-most window when resizing
      the minibuffer.
      (Fset_window_configuration, Fcurrent_window_configuration)
      (compare_window_configurations): Do not handle
      window-min-height|width any more.
      (syms_of_window): Clarify window-min-height|width doc-strings.
      047aaeb9
  14. 02 Apr, 2008 1 commit
  15. 31 Mar, 2008 1 commit
  16. 29 Mar, 2008 1 commit
    • Juri Linkov's avatar
      (Fdisplay_buffer): Move call to · 7ae6d1d1
      Juri Linkov authored
      Vsplit_window_preferred_function out of conditions that check
      if window is eligible for vertical splitting.
      When Vsplit_window_preferred_function is non-nil, call it and use
      its non-nil return value as window.  Otherwise, continue doing
      vertical splitting using Fsplit_window with arg horflag=nil.
      (syms_of_window) <Vsplit_window_preferred_function>: Change the
      default value from `split-window' to nil.
      7ae6d1d1
  17. 19 Mar, 2008 1 commit
    • Stefan Monnier's avatar
      (run_funs): New fun. · 6a44ffb3
      Stefan Monnier authored
      (run_window_configuration_change_hook): Use it to run the buffer-local
      and the global part of the hook.
      6a44ffb3
  18. 25 Feb, 2008 1 commit
    • Stefan Monnier's avatar
      (Fdelete_window, Fadjust_window_trailing_edge): · eeca6f6f
      Stefan Monnier authored
      Handle a nil arg.  Use run_window_configuration_change_hook.
      (delete_window, adjust_window_trailing_edge): Don't handle nil any more.
      (Fenlarge_window, Fshrink_window, Fset_window_configuration):
      Use run_window_configuration_change_hook.
      eeca6f6f
  19. 28 Jan, 2008 1 commit
  20. 19 Jan, 2008 1 commit
  21. 08 Jan, 2008 1 commit
  22. 16 Nov, 2007 1 commit
    • Stefan Monnier's avatar
      (struct save_window_data): Move non-lisp data to the end · b05b4e27
      Stefan Monnier authored
      and make it `int' rather than Lisp_Object.
      (Fcurrent_window_configuration): Use ALLOCATE_PSEUDOVECTOR.
      Done wrap/unwrap integer values.
      (Fset_window_configuration, compare_window_configurations):
      Update use of fields to their new types.
      b05b4e27
  23. 26 Oct, 2007 2 commits
  24. 16 Oct, 2007 1 commit
    • Stefan Monnier's avatar
      * xfns.c (Fx_create_frame, Fx_display_list): · 9beb8baa
      Stefan Monnier authored
      * window.c (window_fixed_size_p, enlarge_window, shrink_window_lowest_first):
      * macterm.c (init_font_name_table):
      * macfns.c (Fx_create_frame, Fx_display_list):
      * lread.c (close_load_descs):
      * keyboard.c (read_char_x_menu_prompt):
      * fns.c (Fmember, Fmemql, Fdelete, Fset_char_table_parent):
      * coding.c (code_convert_region_unwind): Test the type of an object
      rather than just !NILP before extracting data from it.
      9beb8baa
  25. 13 Oct, 2007 1 commit
  26. 02 Oct, 2007 3 commits
  27. 21 Sep, 2007 1 commit
  28. 12 Sep, 2007 1 commit
  29. 08 Sep, 2007 1 commit
  30. 07 Sep, 2007 3 commits
  31. 06 Aug, 2007 1 commit
    • Martin Rudalics's avatar
      (window_min_size_2): New function. · 35ea56c9
      Martin Rudalics authored
      (window_min_size_1, size_window, Fdisplay_buffer)
      (Fsplit_window, adjust_window_trailing_edge): Use it to avoid
      windows without mode- or header-lines when window-min-height is
      too small.
      (size_window): Reset nodelete_p after testing it, following an
      earlier note by Kim F. Storm.
      (display_buffer): Do not set split_height_threshold to twice the
      value of window_min_height to avoid changing the value of a
      customizable variable.  Rather explicitly check whether the
      height of the window that shall be splitted is at least as large
      as split_height_threshold.
      (Fwindow_full_width_p): New defun.
      (syms_of_window): Defsubr it.
      (Fdisplay_buffer): Use NILP.
      (Fset_window_scroll_bars): Likewise.
      35ea56c9
  32. 25 Jul, 2007 1 commit