1. 06 Nov, 2009 1 commit
    • Dan Nicolaescu's avatar
      * xterm.c (syms_of_xterm): · d67b4f80
      Dan Nicolaescu authored
      * xselect.c (syms_of_xselect):
      * xmenu.c (syms_of_xmenu):
      * xfns.c (syms_of_xfns):
      * xfaces.c (syms_of_xfaces):
      * xdisp.c (syms_of_xdisp):
      * window.c (syms_of_window):
      * w32fns.c (syms_of_w32fns):
      * undo.c (syms_of_undo):
      * textprop.c (syms_of_textprop):
      * terminal.c (syms_of_terminal):
      * syntax.c (syms_of_syntax):
      * sound.c (syms_of_sound):
      * search.c (syms_of_search):
      * print.c (syms_of_print):
      * minibuf.c (syms_of_minibuf):
      * macros.c (syms_of_macros):
      * keymap.c (syms_of_keymap, initial_define_key)
      (initial_define_lispy_key):
      * keyboard.c (syms_of_keyboard):
      * insdel.c (syms_of_insdel):
      * image.c (syms_of_image):
      * fringe.c (syms_of_fringe):
      * frame.c (syms_of_frame):
      * fontset.c (syms_of_fontset):
      * fns.c (syms_of_fns):
      * fns.c (syms_of_fns):
      * fileio.c (syms_of_fileio):
      * fileio.c (syms_of_fileio):
      * eval.c (syms_of_eval):
      * doc.c (syms_of_doc):
      * dispnew.c (syms_of_display):
      * dired.c (syms_of_dired):
      * dbusbind.c (syms_of_dbusbind):
      * data.c (syms_of_data):
      * composite.c (syms_of_composite):
      * coding.c (syms_of_coding):
      * cmds.c (syms_of_cmds):
      * charset.c (define_charset_internal, syms_of_character):
      * ccl.c (syms_of_ccl):
      * category.c (syms_of_category, init_category_once):
      * casetab.c (syms_of_casetab):
      * casefiddle.c (syms_of_casefiddle):
      * callint.c (syms_of_callint):
      * bytecode.c (syms_of_bytecode):
      * buffer.c (keys_of_buffer, syms_of_buffer):
      * alloc.c (syms_of_alloc):
      * process.c (syms_of_process, init_process):
      * lread.c (syms_of_lread, init_obarray):
      * font.c (build_style_table):
      * emacs.c (syms_of_emacs, main): Replace calls to intern with
      intern_c_string, calls to make_pure_string with
      make_pure_c_string.  Use pure_cons instead of Fcons.
      
      * process.c (socket_options): Make it const.
      (set_socket_option, init_process): Use a const pointer.
      
      * lread.c (intern_c_string): New function.
      (defvar_kboard, defvar_lisp, defvar_lisp_nopro, defvar_bool)
      (defvar_int): Uset it.  Make the name const char*.
      
      * font.c (struct table_entry): Remove unused member.  Make NAMES
      constant.
      (weight_table, slant_table, width_table): Make constant.
      
      * emacs.c (struct standard_args): Make name and longname constant.
      d67b4f80
  2. 26 Oct, 2009 1 commit
  3. 23 Oct, 2009 1 commit
  4. 19 Oct, 2009 1 commit
    • Dan Nicolaescu's avatar
      * alloc.c: Do not define struct catchtag. · d7306fe6
      Dan Nicolaescu authored
      * eval.c: Move struct catchtag definition ...
      * lisp.h: ... here.
      
      * image.c: Move png.h #include earlier to avoid warnings.
      
      * xterm.c:
      * xsmfns.c:
      * xselect.c:
      * xrdb.c:
      * xmenu.c:
      * xftfont.c:
      * xfont.c:
      * xfns.c:
      * xfaces.c:
      * xdisp.c:
      * window.c:
      * widget.c:
      * w32xfns.c:
      * w32uniscribe.c:
      * w32term.c:
      * w32select.c:
      * w32reg.c:
      * w32proc.c:
      * w32menu.c:
      * w32inevt.c:
      * w32heap.c:
      * w32font.c:
      * w32fns.c:
      * w32console.c:
      * w32.c:
      * w16select.c:
      * vm-limit.c:
      * unexsol.c:
      * unexec.c:
      * unexcw.c:
      * unexaix.c:
      * undo.c:
      * tparam.c:
      * textprop.c:
      * terminfo.c:
      * terminal.c:
      * termcap.c:
      * term.c:
      * syntax.c:
      * sound.c:
      * sheap.c:
      * search.c:
      * scroll.c:
      * region-cache.c:
      * regex.c:
      * ralloc.c:
      * process.c:
      * print.c:
      * msdos.c:
      * minibuf.c:
      * menu.c:
      * marker.c:
      * macros.c:
      * keymap.c:
      * keyboard.c:
      * intervals.c:
      * insdel.c:
      * indent.c:
      * gtkutil.c:
      * ftxfont.c:
      * ftfont.c:
      * fringe.c:
      * frame.c:
      * fontset.c:
      * font.c:
      * fns.c:
      * floatfns.c:
      * filelock.c:
      * fileio.c:
      * emacs.c:
      * editfns.c:
      * dosfns.c:
      * doprnt.c:
      * doc.c:
      * dispnew.c:
      * dired.c:
      * dbusbind.c:
      * data.c:
      * composite.c:
      * coding.c:
      * cmds.c:
      * cm.c:
      * chartab.c:
      * charset.c:
      * character.c:
      * ccl.c:
      * category.c:
      * casetab.c:
      * casefiddle.c:
      * callproc.c:
      * callint.c:
      * bytecode.c:
      * buffer.c:
      * atimer.c: Include setjmp.h.  (Bug#4643)
      
      * xlwmenu.c:
      * lwlib.c:
      * lwlib-utils.c:
      * lwlib-Xm.c:
      * lwlib-Xlw.c:
      * lwlib-Xaw.c: Include setjmp.h.
      d7306fe6
  5. 03 Oct, 2009 1 commit
  6. 23 Jun, 2009 1 commit
  7. 08 Jan, 2009 1 commit
  8. 30 Dec, 2008 1 commit
  9. 22 Dec, 2008 1 commit
    • Martin Rudalics's avatar
      * frame.c (delete_frame): New function derived from · 56f2de10
      Martin Rudalics authored
      Fdelete_frame to handle Qnoelisp value for FORCE argument.
      Delete last frame iff FORCE equals Qnoelisp.  (Bug#1450)
      (Fdelete_frame): Call delete_frame.  Remove line from doc-string
      saying that FORCE non-nil doesn't run `delete-frame-functions'.
      * frame.h: Extern delete_frame.
      * window.c (window_loop):
      * terminal.c (delete_terminal):
      * xterm.c (x_connection_closed):
      * xfns.c (Fx_hide_tip):
      * w32fns.c (Fx_hide_tip): Call delete_frame instead of
      Fdelete_frame.
      56f2de10
  10. 20 Nov, 2008 1 commit
  11. 14 Nov, 2008 1 commit
  12. 02 Nov, 2008 1 commit
    • Martin Rudalics's avatar
      (select_frame_norecord): New function. · c6932ecd
      Martin Rudalics authored
      (run_window_configuration_change_hook): Use it and call
      Fselect_frame with NORECORD set.
      (Fselect_window): Pass NORECORD to Fselect_frame.
      (Fset_window_configuration): Handle NORECORD argument in call of
      do_switch_frame.
      c6932ecd
  13. 31 Oct, 2008 1 commit
  14. 29 Oct, 2008 1 commit
  15. 28 Oct, 2008 1 commit
  16. 27 Oct, 2008 1 commit
  17. 26 Oct, 2008 1 commit
  18. 25 Oct, 2008 1 commit
  19. 22 Oct, 2008 1 commit
  20. 19 Oct, 2008 1 commit
    • Martin Rudalics's avatar
      (Fwindow_dedicated_p, Fset_window_dedicated_p): · aac0c6e3
      Martin Rudalics authored
      Mention kill-buffer in doc-string.
      (Fset_window_buffer): Reinsert tem check removed in last commit.
      (Fenlarge_window, Fshrink_window): Have argument names and
      doc-string follow Elisp manual more closely.
      aac0c6e3
  21. 18 Oct, 2008 1 commit
    • Martin Rudalics's avatar
      (Fwindow_width, Fset_window_start) · d653c8cc
      Martin Rudalics authored
      (Fwindow_parameters, Fwindow_parameter, Fset_window_parameter)
      (Fdelete_windows_on, Freplace_buffer_in_windows): Make
      doc-strings follow code and Elisp manual more closely.
      (Fwindow_dedicated_p): Make window argument optional.
      (Fset_window_dedicated_p): Rename argument "arg" to "flag".
      (Fset_window_buffer): Respect any non-nil dedicated value for
      window.  Rename "buffer" argument to "buffer_or_name".
      d653c8cc
  22. 17 Oct, 2008 1 commit
  23. 15 Sep, 2008 1 commit
  24. 12 Sep, 2008 1 commit
  25. 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
  26. 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
  27. 15 Jul, 2008 1 commit
  28. 27 Jun, 2008 1 commit
  29. 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
  30. 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
  31. 04 Jun, 2008 2 commits
  32. 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
  33. 14 May, 2008 1 commit
  34. 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
  35. 02 Apr, 2008 1 commit
  36. 31 Mar, 2008 1 commit
  37. 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