1. 21 Jan, 2014 11 commits
  2. 20 Jan, 2014 14 commits
  3. 19 Jan, 2014 8 commits
    • Martin Rudalics's avatar
      ad9eb30a
    • Eli Zaretskii's avatar
      Fix Cygwin w32 build broken by last commit in w32font.c. · 21f95411
      Eli Zaretskii authored
       src/w32font.c (w32_load_unicows_or_gdi32, get_outline_metrics_w)
       (get_text_metrics_w, get_glyph_outline_w, get_char_width_32_w)
       [!WINDOWSNT]: These functions are no longer compiled on Cygwin;
       they are replaced by macros that expand into direct calls to the
       corresponding functions from GDI32.DLL.
       (globals_of_w32font) [WINDOWSNT]: Don't initialize g_b_* static
       variables in the Cygwin build, they are unused.
      21f95411
    • Kenichi Handa's avatar
      merge trunk · 75f3311e
      Kenichi Handa authored
      75f3311e
    • Kenichi Handa's avatar
    • Michael Albinus's avatar
      * eshell/esh-mode.el (eshell-password-prompt-regexp): · 93675500
      Michael Albinus authored
      Use `password-word-equivalents'.
      (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
      to t.  (Bug#5664, Bug#13124)
      93675500
    • Alan Mackenzie's avatar
      Bind open-paren-in-column-0-is-defun-start to nil at some entry points. · e3af763f
      Alan Mackenzie authored
      * progmodes/cc-engine.el (c-invalidate-state-cache-1)
      (c-parse-state-1, c-guess-basic-syntax):  Bind it here.
      * progmodes/cc-mode.el (c-before-change, c-after-change)
      (c-font-lock-fontify-region): Bind it here.
      e3af763f
    • Martin Rudalics's avatar
      In term-window-width call window-text-width instead of window-width (Bug#16470). · 4ff6d92d
      Martin Rudalics authored
      * term.el (term-window-width): Call window-text-width instead of
      window-width (Bug#16470).
      4ff6d92d
    • Paul Eggert's avatar
      update-game-score fixes for -m and integer overflow · d70efef4
      Paul Eggert authored
      * update-game-score.c: Include inttypes.h, stdbool.h.
      (min): New macro, if not already defined.
      (MAX_SCORES, main): Limit the maximum number of scores only from
      limits imposed by the underyling platform, instead of the
      arbitrary value 200.
      (struct score_entry, main, read_score, write_score):
      Scores are now intmax_t, not long.
      (get_user_id): Reject user names containing spaces or newlines,
      as they would mess up the score file.
      Allow uids that don't fit in 'long'.
      Increase the size of the buffer, to avoid overrun in weird cases.
      (get_prefix, main): Use bool for boolean.
      (main): Rewrite expr to avoid possibility of signed integer
      overflow.  Don't allow newlines in data, as this would mess up
      the score file.  Check for memory allocation failure when adding
      the new score, or when unlockint the file.  Implement -m.
      (read_score): Check for integer overflow when reading a score.
      (read_score) [!HAVE_GETDELIM]: Check for integer overflow when
      data gets very long.  Check only for space to delimit names,
      since that's what's done in the HAVE_GETDELIM case.
      (read_scores): New parameter ALLOC.  Change counts to ptrdiff_t.
      All uses changed.  Use push_score to add individual scores;
      that's simpler than repeating its contents.
      (score_compare_reverse): Simplify.
      (push_score): New parameter SIZE.  Change counts to ptrdiff_t.
      All uses changed.  Check for integer overflow of size calculation.
      (sort_scores, write_scores): Change counts to ptrdiff_t.
      (unlock_file): Preserve errno on success, so that storage
      exhaustion is diagnosed correctly.
      
      Fixes: debbugs:16428
      d70efef4
  4. 18 Jan, 2014 7 commits