1. 14 Dec, 2014 1 commit
  2. 13 Dec, 2014 2 commits
    • Eli Zaretskii's avatar
      c081fe29
    • 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.
      
      Conflicts:
      	ChangeLog
      	lisp/progmodes/python.el
      	src/gnutls.c
      28e0d0c9
  3. 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.
      16d4c1cd
  4. 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.
      301a4014
    • 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.
      aeeaf082
    • 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).
      3e92b988
  5. 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
       effect.
      0c2f254b
    • 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
    • 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
  6. 09 Dec, 2014 1 commit
  7. 08 Dec, 2014 10 commits
  8. 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
      set.
      f3a68581
  9. 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
       members.
       (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.
      fcc4da3e
  10. 04 Dec, 2014 2 commits
  11. 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.
      38aaf904
  12. 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
       'bidi-find-overridden-directionality'.
      
       etc/NEWS: Mention 'bidi-find-overridden-directionality'.
      dd601050
    • 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.
      a92789b1
    • 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.
      d9d38314
  13. 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
      -fsanitize=address.
      * 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.
      3517da70
  14. 29 Nov, 2014 2 commits
  15. 27 Nov, 2014 2 commits
  16. 26 Nov, 2014 2 commits
  17. 25 Nov, 2014 4 commits