1. 15 Dec, 2014 1 commit
  2. 14 Dec, 2014 3 commits
    • Alan Mackenzie's avatar
      New feature optionally to accelerate auto-repeated scrolling. · 37139317
      Alan Mackenzie authored
      src/xdisp.c: Remove "static" from declaration of
      src/window.c (window_scroll): bind fontification-functions to nil when
      scrolling by whole screens and fast-but-imprecise-scrolling is non-nil.
      (syms_of_window): New DEFVAR_BOOL fast-but-imprecise-scrolling.
      src/lisp.h (bool): Declare Qfontification_functions extern.
      lisp/cus-start.el (all): Add fast-but-imprecise-scrolling.
      doc/emacs/display.texi (Scrolling): fast-but-imprecise-scrolling.
      Describe new variable.
      etc/NEWS: Add entry for fast-but-imprecise-scrolling.
    • Eli Zaretskii's avatar
      Load system's default trusted Certificate Authorities if available. · e99ce632
      Eli Zaretskii authored
       src/gnutls.c (gnutls_certificate_set_x509_system_trust)
       [GNUTLS >= 3.0.20]: Declare for WINDOWSNT.
       [GNUTLS >= 3.0.20]: Load from shared library for WINDOWSNT.
       (fn_gnutls_certificate_set_x509_system_trust) [!WINDOWSNT]: Define
       new macro.
       (Fgnutls_boot) [GNUTLS >= 3.0.20]: Call
       gnutls_certificate_set_x509_system_trust.  Log an error message if
       it fails.
    • Glenn Morris's avatar
  3. 13 Dec, 2014 2 commits
    • Eli Zaretskii's avatar
    • Ted Zlatanov's avatar
      Merge from origin/emacs-24 · 28e0d0c9
      Ted Zlatanov authored
      bd6c4418 * simple.el (password-word-equivalents): Add "passcode", used for numeric secrets like PINs or RSA tokens.
      16d4c1cd A better fix for bug#19346
      82ec808f * .gitignore: Add !lib/std*.in.h, so as to not ignore the .in.h files.
      3cf7629f Git ignore lib/std*.h
      301a4014 Always define `gnutls-available-p' even if GnuTLS is not available.
      d76b9b2a Don't break example string between 2 lines (bug#19257)
      75b4857e Port commit-msg to mawk
      9ac03320 Improve commit-msg messages and autosquash
      0c2f254b Support overflow-newline-into-fringe together with word-wrap (bug#19300)
      935ee05f * net/tramp-sh.el (tramp-get-remote-path): Use a login shell in order to determine `tramp-own-remote-path'.
      c2db9393 python.el: Support interpreter paths with spaces
      d83f3299 ChangeLog fix
      0f9fbb92 Port commit-message checking to FreeBSD 9.
      3db1adac admin/MAINTAINERS: Update my interests and responsibilities.
      6382f241 * .gitignore: Ignore autosave files.
  4. 12 Dec, 2014 1 commit
    • Eli Zaretskii's avatar
      A better fix for bug#19346 · 16d4c1cd
      Eli Zaretskii authored
       src/gnutls.c (Fgnutls_available_p, syms_of_gnutls): Move
       gnutls-available-p out of the HAVE_GNUTLS conditional, and define
       them only once.
  5. 11 Dec, 2014 3 commits
    • Ted Zlatanov's avatar
      Always define `gnutls-available-p' even if GnuTLS is not available. · 301a4014
      Ted Zlatanov authored
      Fixes: debbugs:19346
      * gnutls.c (Fgnutls_available_p syms_of_gnutls): Move later for
      clarity.  Let the availability check return Qnil when the GnuTLS
      integration is not available, instead of erroring out.
      * gnutls.h: Always declare syms_of_gnutls.
      * emacs.c (main): Always include gnutls.h and run syms_of_gnutls.
    • Stefan Monnier's avatar
      Fixes: debbugs:19161 · aeeaf082
      Stefan Monnier authored
      * src/fileio.c: Better preserve window-points during revert.
      (Qget_buffer_window_list): New var.
      (get_window_points_and_markers, restore_window_points): New functions.
      (Finsert_file_contents): Use them to save and restore window-points.
    • Dmitry Antipov's avatar
      Never pass an invalid X connection descriptor to an input reading loop · 3e92b988
      Dmitry Antipov authored
      Fixes: debbugs:19147
      * xterm.c (x_delete_terminal): Call emacs_close for X connection
      descriptor if called from x_connection_closed and always delete
      this descriptor from keyboard waiting set (Bug#19147).
  6. 10 Dec, 2014 3 commits
    • Eli Zaretskii's avatar
      Support overflow-newline-into-fringe together with word-wrap (bug#19300) · 0c2f254b
      Eli Zaretskii authored
       src/xdisp.c (move_it_in_display_line_to, display_line): Don't
       disallow overflow-newline-into-fringe when word-wrap is in
    • 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
       (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.
    • 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.
  7. 09 Dec, 2014 1 commit
  8. 08 Dec, 2014 10 commits
  9. 07 Dec, 2014 1 commit
    • Jan D's avatar
      Fixes: debbugs:19133 · f3a68581
      Jan D authored
      * nsimage.m (setPixmapData): Make bmRep local so class member is not
  10. 05 Dec, 2014 1 commit
    • Eli Zaretskii's avatar
      Reduce memory footprint of struct bidi_it by a factor of 5. · fcc4da3e
      Eli Zaretskii authored
       src/dispextern.h (enum bidi_dir_t): Force NEUTRAL_DIR to be zero.
       (struct bidi_stack): Reduce size by using bit fields and by
       packing sos, override, and isolate_status into a single 8-bit
       byte called 'flags'.
       src/bidi.c (ISOLATE_STATUS, OVERRIDE): New macros.
       (bidi_push_embedding_level): Construct flags from individual
       bits.  Adapt to changes in prev_for_neutral and next_for_neutral
       (bidi_pop_embedding_level): Use ISOLATE_STATUS.  Extract 'sos'
       from flags.  Adapt to changes in prev_for_neutral,
       next_for_neutral, and last_strong members.
       (bidi_line_init): Initialize flags to zero.
       (bidi_resolve_explicit, bidi_resolve_weak, bidi_resolve_brackets)
       (bidi_resolve_neutral): Use ISOLATE_STATUS and OVERRIDE.
  11. 04 Dec, 2014 2 commits
  12. 03 Dec, 2014 1 commit
    • Chris Zheng's avatar
      Fix gnutls.c build on MinGW · 38aaf904
      Chris Zheng authored
      Fixes: debbugs:19231
      * gnutls.c (init_gnutls_functions, gnutls_certificate_details):
      Use gnutls_sign_get_name directly because
      gnutls_sign_algorithm_get_name is a macro on MinGW.
      (init_gnutls_functions): Load missing gnutls_server_name_set.
  13. 02 Dec, 2014 3 commits
    • Eli Zaretskii's avatar
      Allow to search for characters whose bidi directionality was overridden. · dd601050
      Eli Zaretskii authored
       src/bidi.c (bidi_find_first_overridden): New function.
       src/xdisp.c (Fbidi_find_overridden_directionality): New function.
       (syms_of_xdisp): Defsubr it.
       src/dispextern.h (bidi_find_first_overridden): Add prototype.
       doc/lispref/display.texi (Bidirectional Display): Document
       etc/NEWS: Mention 'bidi-find-overridden-directionality'.
    • Jan Djärv's avatar
      Fixes: debbugs:9133 · a92789b1
      Jan Djärv authored
      * nsimage.m (initFromSkipXBM:width:height:flip:length:): Set bmRep
      to nil after release.
    • Jan Djärv's avatar
      More flicker fixes for OSX, related to bug 18757. · d9d38314
      Jan Djärv authored
      * nsfns.m (ns_set_name_as_filename): Don't set represented filename
      at once, call ns_set_represented_filename instead.
      * nsterm.h: Declare ns_set_represented_filename.
      * nsterm.m (represented_filename, represented_frame): New variables.
      (ns_set_represented_filename): New function.
      (sendEvent:): Set represented filename here to avoid flicker,
      related to Bug#18757.
  14. 30 Nov, 2014 1 commit
    • Paul Eggert's avatar
      Port better to AddressSanitizer. · 3517da70
      Paul Eggert authored
      These changes suffice for temacs on x86-64 with GCC 4.9.2 and
      * alloc.c (valid_pointer_p) [ADDRESS_SANITIZER]:
      Return -1 or 0, as the pipe trick doesn't work.
      * alloc.c (relocatable_string_data_p, mark_object, sweep_symbols):
      * data.c (Ffset):
      * print.c (print_object):
      When a pointer-check primitive returns -1, do not assume this
      means the pointer is valid or that the underlying system has failed.
      It could just be that addresses are being sanitized so Emacs can't
      test for pointer validity.
      * lisp.h (defined_GC_CHECK_STRING_BYTES): New constant.
      (USE_STACK_STRING) [GC_CHECK_STRING_BYTES]: Now false, since the
      string validity checker doesn't work on stack-based strings.
  15. 29 Nov, 2014 2 commits
  16. 27 Nov, 2014 2 commits
  17. 26 Nov, 2014 2 commits
  18. 25 Nov, 2014 1 commit