1. 03 Mar, 2014 3 commits
    • Dmitry Antipov's avatar
      Avoid crashes when X fonts are erroneously freed on reused X · 19dae293
      Dmitry Antipov authored
      'Display *' connection data (Bug#16069).  Note that X font
      resources still may be leaked, but currently there is no way
      to completely avoid it.
      * xterm.h (struct x_display_info): New member x_id.  Add comments.
      * xterm.c (x_display_id): New variable.
      (x_term_init): Assign identifier to each opened X connection.
      * xfont.c (struct xfont): New member x_display_id.
      (xfont_open): Initialize it with frame's display id.
      (xfont_close): Check whether font's display id matches the one
      recorded for the given display.  Adjust comment.
      * xftfont.c (struct xftfont_info):
      (xftfont_open, xftfont_close): Exactly as above with xfont stuff.
      19dae293
    • Dmitry Antipov's avatar
      * font.c (toplevel): Adjust comment about font cache layout. · 8c1c7611
      Dmitry Antipov authored
      (font_clear_cache): Fix to match real font cache layout.
      Suggested by <namespace_collision@yahoo.com> in Bug#16069.
      (Fframe_font_cache) [FONT_DEBUG]: New function.
      (syms_of_font) [FONT_DEBUG]: Defsubr it.
      8c1c7611
    • Juanma Barranquero's avatar
      */ChangeLog: Trivial fixes. · 35e951cd
      Juanma Barranquero authored
      35e951cd
  2. 01 Mar, 2014 2 commits
  3. 28 Feb, 2014 3 commits
  4. 27 Feb, 2014 3 commits
    • Martin Rudalics's avatar
      More fixes for mouse glyph calculations (Bug#16647). · 653b6ea3
      Martin Rudalics authored
      More fixes for mouse glyph calculations (Bug#16647).
      * window.c (coordinates_in_window): In intersection of
      horizontal and vertical window dividers prefer the horizontal
      one.  Add some extra parens to last fix.
      (window_relative_x_coord): Return x-coordinate for header and
      mode line too.
      * xdisp.c (remember_mouse_glyph): In text area don't extend
      glyph into mode line to show the vertical drag cursor there
      immediately.  Subdivide mouse glyphs in right fringes to show a
      horizontal drag cursor as soon as we enter the "grabbable width"
      portion.  Handle vertical border case separately.  Do not
      subdivide window divider areas.
      (note_mouse_highlight): On bottom divider of bottommost windows
      show vertical drag cursor only when the minibuffer window can be
      resized.
      653b6ea3
    • Eli Zaretskii's avatar
      Fix bug #16870 with 'box' face in display strings. · 11de63ed
      Eli Zaretskii authored
       src/xdisp.c (pop_it): Restore the it->face_box_p flag which could be
       reset by the face of the object just displayed.  See also bug#76.
       (get_next_display_element): If the string came from a display
       property, examine the box face attribute at it->position, not at
       it->current.pos, since the latter was not updated yet.
       (handle_face_prop): Improve commentary.
      11de63ed
    • Michael Albinus's avatar
      * dbusbind.c (Fdbus__init_bus, Qdbus__init_bus, Sdbus__init_bus): · d8c25f59
      Michael Albinus authored
      Rename from Fdbus_init_bus_1, Qdbus_init_bus_1, Sdbus_init_bus_1.
      d8c25f59
  5. 26 Feb, 2014 1 commit
    • Martin Rudalics's avatar
      Fixes around Bug#16647. · aea124c4
      Martin Rudalics authored
      * xdisp.c (remember_mouse_glyph): Handle ON_RIGHT_DIVIDER and
      ON_BOTTOM_DIVIDER cases.
      * window.c (coordinates_in_window): Return ON_VERTICAL_BORDER
      only if the window has no right divider.
      (Fcoordinates_in_window_p): Fix doc-string.
      aea124c4
  6. 25 Feb, 2014 2 commits
  7. 22 Feb, 2014 2 commits
    • Glenn Morris's avatar
      Misc small frame/window doc · ca58fa73
      Glenn Morris authored
      * src/frame.c (frame-alpha-lower-limit, frame-resize-pixelwise):
      * src/window.c (window-resize-pixelwise): Doc fixes.
      
      * etc/NEWS: Related edits.
      This including unmarking some items marked as ---, where it it not
      clear to me that no doc updates are needed.
      ca58fa73
    • Glenn Morris's avatar
      Bit more doc for process filter and sentinel changes · f33095ed
      Glenn Morris authored
      * src/process.c (Finternal_default_process_filter)
      (Finternal_default_process_sentinel): Doc tweaks.
      
      * doc/lispref/processes.texi: Typo fixes.
      
      * etc/NEWS: Related markup.
      f33095ed
  8. 21 Feb, 2014 3 commits
    • Glenn Morris's avatar
      Some doc updates for default process sentinels and filters not being nil · 458e643b
      Glenn Morris authored
      * doc/lispref/internals.texi (Process Internals):
      * doc/lispref/processes.texi (Deleting Processes, Output from Processes)
      (Process Buffers, Filter Functions, Accepting Output, Sentinels)
      (Network, Network Servers, Network Processes, Serial Ports):
      Filters and sentinels can no longer be nil.
      
      * doc/lispref/elisp.texi (Top): Menu update.
      
      * doc/misc/flymake.texi (Starting the syntax check process): Grammar fix.
      
      * doc/misc/tramp.texi (External packages): Grammar fix.
      Reword for default sentinel not being nil any more.
      
      * src/process.c (Fprocess_buffer, Faccept_process_output)
      (Finternal_default_process_filter, Finternal_default_process_sentinel):
      Doc fixes.
      458e643b
    • Martin Rudalics's avatar
      Fix handling of window-min-height/-width (Bug#16738). · 8dd3e94f
      Martin Rudalics authored
      * window.el (window--dump-window, window--dump-frame): New
      functions.
      (window--min-size-1): Account for window dividers.  When
      window-resize-pixelwise is nil, delay rounding till after the
      sum of the window components has been calculated.
      (window--min-delta-1, window--max-delta-1): When PIXELWISE is
      nil make sure at least one text line and two text columns remain
      fully visible.
      (window-resize): Signal an error when window-resize-apply fails.
      (window--resize-child-windows): Fix calculation of by how many
      pixels a window can still be shrunk via window-new-normal.
      (adjust-window-trailing-edge): Call window--resizable with
      correct TRAIL argument.
      8dd3e94f
    • Paul Eggert's avatar
      Pacify GCC when configuring with --enable-gcc-warnings. · 9901fa1a
      Paul Eggert authored
      * xdisp.c (move_it_in_display_line_to) [lint]:
      Initialize recently-added local.
      9901fa1a
  9. 20 Feb, 2014 4 commits
  10. 19 Feb, 2014 2 commits
  11. 18 Feb, 2014 2 commits
  12. 17 Feb, 2014 1 commit
    • Paul Eggert's avatar
      temacs --daemon fix · 3cb98721
      Paul Eggert authored
      * emacs.c (main): Initialize daemon_pipe[1] here ...
      (syms_of_emacs): ... instead of here.
      
      Fixes: debbugs:16599
      3cb98721
  13. 16 Feb, 2014 1 commit
  14. 14 Feb, 2014 1 commit
  15. 13 Feb, 2014 5 commits
    • Eli Zaretskii's avatar
      Fix crashes in itimers on Windows 9X. · e2607667
      Eli Zaretskii authored
       src/w32proc.c (start_timer_thread): Pass a non-NULL pointer as last
       argument to CreateThread.  This avoids segfaults on Windows 9X.
       Reported by oslsachem <oslsachem@gmail.com>.
      e2607667
    • Paul Eggert's avatar
      Fix subspace record bug on HP-UX 10.20. · d51c175a
      Paul Eggert authored
      * unexhp9k800.c (unexec_error): New function, to simplify the code.
      (check_lseek): New function, to report lseek errors.
      (save_data_space, update_file_ptrs, read_header, write_header)
      (copy_file, copy_rest, unexec): Use these news functions.
      (update_file_ptrs): Don't assume wraparound behavior when
      converting a large size_t value to off_t.
      
      Fixes: debbugs:16717
      d51c175a
    • Dmitry Antipov's avatar
      Fix ChangeLog entry. · ccd5d23b
      Dmitry Antipov authored
      ccd5d23b
    • Dmitry Antipov's avatar
      * composite.c (fill_gstring_header): Pass positions as C integers · 28c16c40
      Dmitry Antipov authored
      and move parameters checking to...
      * composite.c (Fcomposition_get_gstring): ...this function.  Handle
      case when buffer positions are in reversed order and avoid crash
      (Bug#16739).  Adjust docstring.
      * buffer.c (validate_region): Mention current buffer in error message.
      28c16c40
    • Juanma Barranquero's avatar
      Fix typos in Changelogs. · c295fc18
      Juanma Barranquero authored
      c295fc18
  16. 12 Feb, 2014 2 commits
  17. 11 Feb, 2014 2 commits
  18. 10 Feb, 2014 1 commit
    • Paul Eggert's avatar
      Avoid "." at end of error diagnostics. · e41fe0d3
      Paul Eggert authored
      * cmds.c (Fself_insert_command): Reword and avoid "." at end.
      * font.c (Ffont_at):
      * nsfns.m (ns_display_info_for_name):
      * nsselect.m (Fx_own_selection_internal):
      * nsterm.m (performDragOperation:):
      Remove "." from end of diagnostic.
      e41fe0d3