1. 24 Sep, 2014 1 commit
    • Eli Zaretskii's avatar
      Fix bug #18528 with crashes at startup during frameset restoration. · a45a7f5d
      Eli Zaretskii authored
       src/w32term.c (w32_read_socket): Don't use frame dimensions for
       resizing if GetClientRect returned an empty (0, 0, 0, 0)
       rectangle.  Check the return value of GetClientRect, and don't use
       the results if it didn't succeed.
       src/dispnew.c (change_frame_size_1): Recompute the frame dimensions
       in columns and lines after correcting the pixel dimensions in
       check_frame_size.
       (adjust_decode_mode_spec_buffer): Add assertion to avoid passing
       negative values to xrealloc.
      a45a7f5d
  2. 22 Sep, 2014 1 commit
  3. 21 Sep, 2014 1 commit
  4. 19 Sep, 2014 2 commits
  5. 18 Sep, 2014 5 commits
  6. 16 Sep, 2014 4 commits
    • Eli Zaretskii's avatar
      Fix display of hollow-box and hbar cursors on r2L lines. · 534f1f7c
      Eli Zaretskii authored
       src/xterm.c (x_draw_hollow_cursor, x_draw_bar_cursor):
       src/w32term.c (x_draw_hollow_cursor, x_draw_bar_cursor): In R2L
       lines, draw the hollow-box and hbar cursors on the right side of
       cursor-glyph.  Thanks to Martin Rudalics <rudalics@gmx.at> for
       testing on X.
      534f1f7c
    • Eli Zaretskii's avatar
      Fix block cursor display in R2L lines. · c20b4c2d
      Eli Zaretskii authored
       src/xterm.c (x_draw_stretch_glyph_string):
       src/w32term.c (x_draw_stretch_glyph_string): Fix a thinko that
       caused the block cursor to disappear on a TAB in R2L lines in
       every window except the leftmost one.  Reported by Martin Rudalics
       <rudalics@gmx.at>.
      c20b4c2d
    • Dmitry Antipov's avatar
      Prefer ptrdiff_t to int and avoid integer overflows. · 005aff70
      Dmitry Antipov authored
      * fileio.c (make_temp_name):
      * font.c (font_parse_family_registry): Avoid integer
      overflow on string size calculation.
      * data.c (Faset): Likewise for byte index.
      005aff70
    • Dmitry Antipov's avatar
      Always use matched specpdl entry to record call arguments (Bug#18473). · ccb767d6
      Dmitry Antipov authored
      * lisp.h (record_in_backtrace): Adjust prototype.
      * eval.c (record_in_backtrace): Return current specpdl level.
      (set_backtrace_args, set_backtrace_nargs): Merge.  Adjust all users.
      (eval_sub, Ffuncall): Record call arguments in matched specpdl
      entry and use that entry in call to backtrace_debug_on_exit.
      (apply_lambda): Likewise.  Get current specpdl level as 3rd arg.
      (do_debug_on_call): Get current specpdl level as 2nd arg.
      ccb767d6
  7. 15 Sep, 2014 2 commits
    • Eli Zaretskii's avatar
      src/dispextern.h: Commentary fix. · 2d83441c
      Eli Zaretskii authored
      2d83441c
    • Eli Zaretskii's avatar
      Fix display of R2L lines in partial-width windows. · 6b682d2b
      Eli Zaretskii authored
       src/xdisp.c (init_iterator): Don't use it->bidi_p before it is
       assigned the correct value.
       (extend_face_to_end_of_line): Account for truncation and
       continuation glyphs in R2L rows when one of the fringes is not
       displayed.
       (display_line): Don't assign negative X offset to a row if we are
       going to produce a truncation glyph for it.  When handling
       truncated R2L rows, consider the width of the left fringe instead
       of the right one.
       (produce_special_glyphs): Fix bogus assignments.
      6b682d2b
  8. 14 Sep, 2014 2 commits
  9. 13 Sep, 2014 2 commits
    • Eli Zaretskii's avatar
      Fix expansion and encoding of sound file names on MS-Windows. · a6cc335a
      Eli Zaretskii authored
       src/sound.c (Fplay_sound_internal): Encode the sound file name in
       the ANSI codepage.  Expand it against data-directory, as per docs,
       not against the current directory.  No need to make a local copy
       of the file name; pass the encoded file name directly to
       do_play_sound.  (Bug#18463)
       src/w32.c (ansi_encode_filename): If w32_get_short_filename returns
       NULL, and the file name is not encodable in ANSI codepage, return
       the string with "?" replacement characters, which will fail the
       caller.  This avoids returning a random value in that case.
      a6cc335a
    • Eli Zaretskii's avatar
      Resurrect sound support on MS-Windows that was lost in transition. · e868e853
      Eli Zaretskii authored
       configure.ac (HAVE_SOUND): Check for mmsystem.h header that
       defines the sound stuff on MS-Windows.  (Bug#18463)
      e868e853
  10. 12 Sep, 2014 1 commit
  11. 11 Sep, 2014 2 commits
  12. 10 Sep, 2014 1 commit
  13. 09 Sep, 2014 6 commits
  14. 08 Sep, 2014 1 commit
  15. 07 Sep, 2014 1 commit
  16. 05 Sep, 2014 1 commit
  17. 04 Sep, 2014 4 commits
  18. 03 Sep, 2014 2 commits
  19. 02 Sep, 2014 1 commit