1. 12 Dec, 2014 6 commits
  2. 11 Dec, 2014 6 commits
  3. 10 Dec, 2014 12 commits
    • Glenn Morris's avatar
      * lisp/let-alist.el: Cosmetic changes. · 7b244600
      Glenn Morris authored
      7b244600
    • Glenn Morris's avatar
      ChangeLog fixes · 98582c00
      Glenn Morris authored
      98582c00
    • Artur Malabarba's avatar
      Add let-alist macro and package. · a5b477aa
      Artur Malabarba authored
      * let-alist.el: Add new package and macro.
      a5b477aa
    • Eli Zaretskii's avatar
      Fix out-of-memory condition in display of long bracketed lines (bug#19322) · f3e16cbb
      Eli Zaretskii authored
       src/bidi.c (BIDI_CACHE_MAX_ELTS_PER_SLOT): New macro.
       (bidi_cache_max_elts): New global variable.
       (bidi_shelve_header_size): Add the sizeof bidi_cache_max_elts.
       (bidi_cache_shrink, bidi_initialize): Reset bidi_cache_max_elts to
       its initial value.
       (bidi_cache_search): Handle overflown cache.  Improve commentary.
       (bidi_cache_ensure_space): Limit allocations to the current value
       of bidi_cache_max_elts.  Force xpalloc not to over-allocate.  If
       less than a full BIDI_CACHE_CHUNK is left to the limit, decrease
       the increment to not exceed the limit.
       (bidi_cache_iterator_state): Now returns non-zero if succeeded to
       cache, zero otherwise (meaning the cache overflowed).  In the
       latter case, set bidi_cache_last_idx to -1.
       (bidi_peek_at_next_level): Handle overflown cache.
       (bidi_push_it): Increase the cache limit for iterating the new
       object.
       (bidi_pop_it): Decrease the cache limit back to previous value.
       (bidi_shelve_cache): Shelve the current value of the cache limit.
       (bidi_unshelve_cache): Restore the value of cache limit.
       (bidi_find_bracket_pairs): If the cache overflows while looking
       for the paired bracket, give up and let bidi_resolve_neutrals
       process the bracket as a simple neutral.
       (bidi_find_other_level_edge): If the cache overflows, fall back on
       Plan B, which effectively stops the reordering and restarts it on
       the next character (after resetting the cache).
       (bidi_move_to_visually_next): When the cache overflows, reset it
       after processing the last cached character.
      f3e16cbb
    • Eric S. Raymond's avatar
      Righteous featurectomy of vc-keep-workfiles - always do it. · 8bc7ac5c
      Eric S. Raymond authored
      * vc/vc-dispatcher.el, vc/vc-hooks.el, vc/vc-rcs.el, vc/vc-sccs.el,
      vc/vc.el: Righteous featurectomy of vc-keep-workfiles, it's a
      shoot-self-in-foot archaism.  Workfiles are always kept.
      8bc7ac5c
    • Rasmus Pank Roulund's avatar
      (ange-ftp-switches-ok): Disallow flags causing trouble with ls over ftp. · bdc373bf
      Rasmus Pank Roulund authored
      Fixes: debbugs:19192
      
      * net/ange-ftp.el (ange-ftp-switches-ok): Disallow flags causing
      trouble with ls over ftp.  These flags result in ls returning no
      output, causing Tramp-breakage.
      bdc373bf
    • Andreas Schwab's avatar
      * files.el (file-tree-walk): Use file-name-as-directory · 94a3f764
      Andreas Schwab authored
      unconditionally.
      94a3f764
    • Michael Albinus's avatar
      * automated/vc-tests.el (vc-test--register): Check, that the file · 5c9a98bf
      Michael Albinus authored
      still exists after register and unregister operations.
      5c9a98bf
    • Paul Eggert's avatar
      Fix glitches in gnutls.c, mostly memory-related · 99be7508
      Paul Eggert authored
      * gnutls.c: Sort macro definitions by name.
      (fn_gnutls_transport_set_errno): Omit unreachable definition.
      (fn_gnutls_x509_crt_get_signature): Omit unused symbol.
      (gnutls_hex_string): Arg is now unsigned char *, to avoid a cast.
      Prefer ptrdiff_t for sizes.  Check for arithmetic overflow when
      calculating string length.  Use make_uninit_string, to avoid
      copying the string.  Cast the char, not the pointer.
      (gnutls_certificate_details): Use xmalloc and xfree, not malloc
      and free.  Work even for dates past the year 9999.  Use void *
      for buffers, to avoid casts.
      99be7508
    • Lars Magne Ingebrigtsen's avatar
      Speed up directory-files-recursively · c9e3deff
      Lars Magne Ingebrigtsen authored
      * files.el (directory-files-recursively): Use
      `file-name-all-completions' instead of `directory-files' for
      greater speed.
      c9e3deff
    • Lars Magne Ingebrigtsen's avatar
    • Paul Eggert's avatar
      Fix misspellings like "an unibyte buffer" · cc857dd0
      Paul Eggert authored
      cc857dd0
  4. 09 Dec, 2014 16 commits