1. 17 Jul, 2015 6 commits
  2. 16 Jul, 2015 4 commits
    • Michael Albinus's avatar
      Fix Bug#20943. · fa5a880f
      Michael Albinus authored
      * lisp/autorevert.el (auto-revert-handler): Do not check for
      `buffer-modified-p'.
      
      * lisp/files.el (buffer-stale--default-function): Check for
      `buffer-modified-p'.
      
      * test/automated/auto-revert-tests.el
      (auto-revert-test02-auto-revert-mode-dired): Adapt test.
      fa5a880f
    • Ari Roponen's avatar
      Fix delete-dups bug on long lists · 572cd26f
      Ari Roponen authored
      * lisp/subr.el (delete-dups):
      Don't mistakenly keep some dups when applied to long lists.
      572cd26f
    • Paul Eggert's avatar
      Better heuristic for C stack overflow · a5522abb
      Paul Eggert authored
      Improve the heuristic for distinguishing stack overflows from
      other SIGSEGV causes (Bug#21004).  Corinna Vinschen explained that
      the getrlimit method wasn't portable to Cygwin; see:
      https://www.cygwin.com/ml/cygwin/2015-07/msg00092.html
      Corinna suggested pthread_getattr_np but this also has problems.
      Instead, replace the low-level system stuff with a simple
      heuristic based on known good stack addresses.
      * src/eval.c, src/lisp.h (near_C_stack_top): New function.
      * src/sysdep.c: Don't include <sys/resource.h>.
      (stack_direction): Remove.  All uses removed.
      (stack_overflow): New function.
      (handle_sigsegv): Use it instead of incorrect getrlimit heuristic.
      Make SEGV fatal in non-main threads.
      a5522abb
    • Daiki Ueno's avatar
      epg: Automatically start pinentry server · bd8b5ac7
      Daiki Ueno authored
      * epg-config.el (epg-gpgconf-program): New variable.
      * epg.el (epg--start): Call `pinentry-start' if
      allow-emacs-pinentry is set in ~/.gnupg/gpg-agent.conf.
      bd8b5ac7
  3. 15 Jul, 2015 4 commits
  4. 14 Jul, 2015 2 commits
    • Michael Albinus's avatar
      New autorevert tests. · 894a9067
      Michael Albinus authored
      * test/automated/auto-revert-tests.el: New file.
      894a9067
    • Paul Eggert's avatar
      Clear gcprolist etc. after stack overflow · 2254b6c0
      Paul Eggert authored
      After stack overflow, command_loop calls init_eval, and this needs to
      clear gcprolist and byte_stack_list (Bug#20996).
      * src/alloc.c (init_alloc):
      Move gcprolist and byte_stack_list initialization from here ...
      * src/eval.c (init_eval): ... to here.
      2254b6c0
  5. 13 Jul, 2015 5 commits
    • Xue Fuqiao's avatar
    • YAMAMOTO Mitsuharu's avatar
      Avoid deprecated enums in mac-ct font backend driver · a1f78382
      YAMAMOTO Mitsuharu authored
      * src/macfont.m (mac_font_copy_default_descriptors_for_language)
      (mac_ctfont_get_advance_width_for_glyph)
      (mac_ctfont_get_bounding_rect_for_glyph): Avoid deprecated enums.
      a1f78382
    • YAMAMOTO Mitsuharu's avatar
      Cache font family in mac-ct font backend driver · 455fe1a7
      YAMAMOTO Mitsuharu authored
      * src/macfont.m (macfont_family_cache): New variable.
      (syms_of_macfont): Initialize it.
      (macfont_available_families_cache): New variable.
      (macfont_invalidate_family_cache, macfont_get_family_cache_if_present)
      (macfont_set_family_cache, macfont_invalidate_available_families_cache)
      (macfont_handle_font_change_notification)
      (macfont_init_font_change_handler)
      (macfont_copy_available_families_cache): New functions.
      (macfont_create_family_with_symbol): Use font family caches.
      (macfont_list, macfont_list_family): Use
      macfont_copy_available_families_cache instead of
      mac_font_create_available_families.
      455fe1a7
    • Xue Fuqiao's avatar
      ; Minor doc fix · 64d09655
      Xue Fuqiao authored
      64d09655
    • Dmitry Gutov's avatar
      Show the default value in the prompt · 35ad161d
      Dmitry Gutov authored
      * lisp/progmodes/xref.el: Add `M-?' binding for
      xref-find-references.  Declare functions `grep-read-files' and
      `grep-expand-template'.
      (xref--read-identifier): Show the default value in the prompt.
      35ad161d
  6. 12 Jul, 2015 4 commits
    • Dmitry Gutov's avatar
      When called with prefix argument, ask for file patterns to search as well · 5153d30c
      Dmitry Gutov authored
      * lisp/progmodes/xref.el (xref-find-regexp): When called with
      prefix argument, ask for file patterns to search as well.  When
      prompting for the directory, require an existing one.
      (xref-collect-matches): Add a new argument, FILES.  Use it in the
      above function.
      5153d30c
    • Dmitry Gutov's avatar
      Add `project-ignores' · 62d5d465
      Dmitry Gutov authored
      * lisp/progmodes/project.el (project-ignores): New generic
      function, and an implementation for the	VC project type.
      
      * lisp/progmodes/xref.el (xref--rgrep-command): Split, as a
      variant of rgrep-default-command that handles a generic list of
      ignores.
      (xref-collect-matches): Use it, and pass through to it the value
      of the newly added argument.
      (xref-find-regexp): Handle ignored paths within the project.
      Remove outdated comment.
      
      * lisp/vc/vc.el (vc-default-ignore-completion-table):
      Skip the comments and the empty lines.
      62d5d465
    • Xue Fuqiao's avatar
    • Glenn Morris's avatar
      ; Auto-commit of ChangeLog files. · 59a8e71c
      Glenn Morris authored
      59a8e71c
  7. 11 Jul, 2015 3 commits
  8. 10 Jul, 2015 5 commits
    • Stefan Monnier's avatar
      * lisp/gnus/nnimap.el: Clean up "unused var" warnings · 83d824bc
      Stefan Monnier authored
      (auth-source-creation-prompts): Declare.
      (nnimap-retrieve-headers, nnimap-status-message)
      (nnimap-request-create-group, nnimap-request-delete-group)
      (nnimap-close-group, nnimap-request-move-article)
      (nnimap-request-accept-article, nnimap-request-newgroups)
      (nnimap-request-post, nnimap-dummy-active-number)
      (nnimap-save-mail-spec, nnimap-get-groups): Add _ to unused vars.
      (nnimap-parse-flags): Remove unused var `p'.
      (nnimap-retrieve-group-data-early): Remove unused var `groups'.
      (nnimap-flags-to-marks): Remove unused var `totalp'.
      83d824bc
    • Andy Moreton's avatar
      * src/w32heap.c (DUMPED_HEAP_SIZE): Bump to 20MB. · 8badbad1
      Andy Moreton authored
      Copyright-paperwork-exempt: yes
      8badbad1
    • YAMAMOTO Mitsuharu's avatar
    • Dmitry Gutov's avatar
      Don't check the exit status, it can be misleading · 53cf3cfe
      Dmitry Gutov authored
      * lisp/progmodes/xref.el (xref-collect-matches): Don't check the
      exit status, it can be misleading.
      53cf3cfe
    • Dmitry Gutov's avatar
      Introduce a Project API · f8c720b5
      Dmitry Gutov authored
      * lisp/progmodes/project.el: New file.
      
      * lisp/cedet/ede.el: (project-try-ede): New function.
      (project-root): New implementation.
      
      * lisp/progmodes/elisp-mode.el (emacs-lisp-mode):
      Set project-search-path-function.
      (elisp--xref-find-references): Delegate some logic to
      project-search-path.
      (elisp-search-path): New function.
      (elisp-xref-find): Don't implement `matches' anymore.
      
      * lisp/progmodes/etags.el: Don't implement `matches'.
      Delegate some logic to project-search-path.
      (etags-search-path): New function.
      
      * lisp/progmodes/xref.el (xref-find-function):
      Remove `matches' from the API.
      (xref-find-regexp): Move whatever common logic was in elisp and
      etags implementations, and search the directories returned by
      project-directories and project-search-path.
      f8c720b5
  9. 09 Jul, 2015 7 commits