1. 11 Oct, 2014 1 commit
  2. 09 Oct, 2014 1 commit
  3. 08 Oct, 2014 4 commits
    • Leo Liu's avatar
      Enhance terpri to allow conditionally output a newline · 2dbd7a37
      Leo Liu authored
      * doc/lispref/streams.texi (Output Functions): Document new argument ENSURE to
      terpri.
      
      * doc/misc/cl.texi (Porting Common Lisp): Remove parse-integer.
      
      * lisp/emacs-lisp/cl-extra.el (cl-fresh-line): New function.
      
      * src/keymap.c (describe_vector_princ):
      * src/keyboard.c (Fcommand_error_default_function): Adapt to change to
      Fterpri.
      
      * src/print.c (printchar_stdout_last): Declare.
      (printchar): Record the last char written to stdout.
      (Fterpri): Add optional argument ENSURE.
      
      * test/automated/print-tests.el: New file.
      (terpri): Tests for terpri.  (Bug#18652)
      2dbd7a37
    • Eli Zaretskii's avatar
      Fix bug #18649 with handling C-g on MS-Windows in -nw sessions. · c35e7762
      Eli Zaretskii authored
       src/w32inevt.c (maybe_generate_resize_event): Pass non-zero as the
       DELAY argument to change_frame_size, so that the frame size
       changes, if any are needed, are delayed until the next redisplay.
       This is to avoid a too early QUIT inside change_frame_size, when
       it calls Lisp in frame_windows_min_size, in case one of the events
       we've read sets the quit-flag.
      c35e7762
    • Eli Zaretskii's avatar
      Accept terminal devices on MS-Windows in APIs that accept frame or display. · d295469e
      Eli Zaretskii authored
       src/w32fns.c (check_x_display_info): Accept terminal objects as
       argument, to follow what xfns.c does.
      d295469e
    • Kenichi Handa's avatar
      Fix bug #18610 with crashes when visiting files with ESC and 8-bit bytes. · a7044030
      Kenichi Handa authored
       src/coding.c (detect_coding_iso_2022): Set coding->rejected
       correctly when an invalid escape sequence is found.
      
       Backported from trunk.
      a7044030
  4. 07 Oct, 2014 3 commits
  5. 06 Oct, 2014 1 commit
    • Stefan Monnier's avatar
      * lisp/term/w32-win.el: Move all code from 32-common-fns.el here. · 3ef041ae
      Stefan Monnier authored
      (gui-select-text, gui-selection-value): Use w32 handlers in the w32
      console as well.
      * lisp/w32-common-fns.el: Remove.
      * lisp/loadup.el: Don't load w32-common-fns.el.
      * w32-fns.elc: Don't require w32-common-fns.
      * src/lisp.mk (lisp): Remove w32-common-fns.elc.
      
      Fixes: debbugs:18629
      3ef041ae
  6. 05 Oct, 2014 8 commits
  7. 04 Oct, 2014 2 commits
    • Jan Djärv's avatar
      Fix Gtk+ tearoff not present on Customize Emacs and not at menu top. · 07e80dac
      Jan Djärv authored
      * gtkutil.c (create_menus): Only add tearoffs to empty menus.
      (xg_update_submenu): Remove has_tearoff_p, pass 1 to create_menus
      for add_tearoff_p.
      07e80dac
    • Martin Rudalics's avatar
      Add documentation for horizontal scroll bars and fix some minor issues. · 3c6ba8b4
      Martin Rudalics authored
      * buffer.c (scroll_bar_width, scroll_bar_height): Fix
      doc-strings.
      * window.c (Fset_window_scroll_bars): Fix doc-string.
      (Fwindow_scroll_bars): Have it return what the doc-string says.
      
      * window.el (window-full-height-p): Make it behave correctly for
      minibuffer window.
      (window-current-scroll-bars): Fix code.
      (fit-frame-to-buffer): Use window-scroll-bar-height instead of
      window-scroll-bars.
      * frame.el (frame-current-scroll-bars): Fix doc-string.
      * scroll-bar.el (toggle-horizontal-scroll-bar): New command.
      
      * frames.texi (Scroll Bars): Describe use of horizontal scroll
      bars.
      
      * display.texi (Scroll Bars): Add description of horizontal scroll
      bars and associated functions.
      * frames.texi (Layout Parameters): Add horizontal scroll bar
      entries.  Remove paragraph on "combined fringe widths".
      * windows.texi (Window Sizes): Describe affects of horizontal
      scroll bars on window layout and sizes.  Fix description of
      window-full-height-p.
      (Resizing Windows): Mention horizontal scroll bar.
      3c6ba8b4
  8. 03 Oct, 2014 5 commits
  9. 02 Oct, 2014 6 commits
    • Eli Zaretskii's avatar
      src/dispnew.c (adjust_decode_mode_spec_buffer): Use 'int' instead of 'ssize_t'. · 253428c4
      Eli Zaretskii authored
      Suggested by Paul Eggert <eggert@cs.ucla.edu>.
      253428c4
    • Eli Zaretskii's avatar
      Fix bug #18584 with assertion violations while scrolling. · 3d900a84
      Eli Zaretskii authored
       src/xdisp.c (move_it_by_lines): Call reseat_1 after moving the
       iterator backwards, to resync the bidi iterator.
      3d900a84
    • Dmitry Antipov's avatar
      * alloc.c (mark_overlay): Assume that overlay boundaries are · 8eb61e52
      Dmitry Antipov authored
      always markers.  Add comment.
      * lread.c (read_internal_start): Use convenient validate_subarray.
      Adjust docstring.
      (Fread_from_string): Adjust docstring.
      8eb61e52
    • Stefan Monnier's avatar
    • Stefan Monnier's avatar
      Consolidate management/ownership of selections. · 31300bee
      Stefan Monnier authored
      * lisp/select.el (gui-get-selection-alist): New method.
      (gui-get-selection): Use it.  Rename from x-get-selection.
      (x-get-selection): Define as obsolete alias.
      (x-get-clipboard): Mark obsolete.
      (gui-get-primary-selection): New function.
      (x-get-selection-value): Mark obsolete.
      (gui-own-selection-alist, gui-disown-selection-alist)
      (gui-selection-owner-p-alist): New methods.
      (gui-set-selection): Use them.  Rename from x-set-selection.
      (x-set-selection): Define as obsolete alias.
      (gui--valid-simple-selection-p): Rename from
      x-valid-simple-selection-p.
      * lisp/w32-common-fns.el (gui-own-selection, gui-disown-selection)
      (gui-selection-owner-p, gui-get-selection): Define for w32.
      (w32-get-selection-value): Rename from x-get-selection-value.
      Use the new gui-last-selected-text.
      * lisp/term/x-win.el (x-get-selection-value): Remove.
      (x-clipboard-yank): Declare obsolete.
      (gui-own-selection, gui-disown-selection, gui-get-selection)
      (gui-selection-owner-p): Define for x.
      * lisp/term/w32-win.el (w32-win-suspend-error): Rename from
      x-win-suspend-error.
      * lisp/term/pc-win.el (w16-get-selection-value): Rename from
      x-get-selection-value.
      (w16-selection-owner-p): Rename from x-selection-owner-p.
      (gui-own-selection, gui-disown-selection, gui-get-selection)
      (gui-selection-owner-p): Define for pc.
      (w16--select-text): New function.
      * lisp/term/ns-win.el (gui-own-selection, gui-disown-selection)
      (gui-get-selection, gui-selection-owner-p): Define for ns.
      * lisp/term.el (term-mouse-paste):
      * lisp/mouse.el (mouse-yank-primary): Use gui-get-primary-selection.
      * src/nsselect.m (ns-own-selection-internal, ns-disown-selection-internal):
      Rename from the "x-" prefix.
      31300bee
    • Glenn Morris's avatar
      ChangeLog whitespace trivia · 801e7c23
      Glenn Morris authored
      801e7c23
  10. 01 Oct, 2014 8 commits
  11. 30 Sep, 2014 1 commit