1. 30 Jan, 2016 13 commits
    • NicolasPetton's avatar
      * etc/AUTHORS: Update the AUTHORS file · 875577bc
      NicolasPetton authored
      875577bc
    • NicolasPetton's avatar
      ; ChangeLog fixes · e6b7b6d8
      NicolasPetton authored
      * ChangeLog.2: Auto-update of the ChangeLog file, as well as entry
        fixes.
      e6b7b6d8
    • NicolasPetton's avatar
      authors.el updates · eea0a235
      NicolasPetton authored
      * admin/authors.el (authors-renamed-files-alist): Additions.
      eea0a235
    • NicolasPetton's avatar
      Make it possible to run make change-history on emacs-25 · a4ab2a56
      NicolasPetton authored
      * Makefile.in: Check if the current branch is emacs-25 instead of
        master.
      a4ab2a56
    • lu4nx's avatar
      Support Go language in 'etags' · 40a85fba
      lu4nx authored
      * lib-src/etags.c <Ruby_help>: Fix documentation of Ruby tags.
      <Go_help>: New help.
      <Go_suffixes>: New variable.
      (Go_functions): New function.
      <lang_names>: Add entry for Go.  (Bug#22370)
      
      * doc/emacs/maintaining.texi (Tag Syntax): Document Go support.
      * doc/man/etags.1: Mention Go support.
      
      * etc/NEWS: Mention Go support.
      
      * test/etags/go-src/test.go:
      * test/etags/go-src/test1.go: New test files.
      * test/etags/Makefile (GOSRC): New variable.
      (SRCS): Add $(GOSRC).
      * test/etags/ETAGS.good_1:
      * test/etags/ETAGS.good_2:
      * test/etags/ETAGS.good_3:
      * test/etags/ETAGS.good_4:
      * test/etags/ETAGS.good_5:
      * test/etags/ETAGS.good_6:
      * test/etags/CTAGS.good: Adapt to addition of Go tests.
      40a85fba
    • Eli Zaretskii's avatar
      Improve Ruby support in 'etags' · 25b79d7b
      Eli Zaretskii authored
      * lib-src/etags.c (Ruby_functions): Tag constants.  Don't tag
      singleton classes.  Remove class qualifiers from tags generated
      for method and constant names.  (Bug#22241)
      
      * doc/emacs/maintaining.texi (Tag Syntax): Mention that constants
      are tagged by etags in Ruby.
      
      * etc/NEWS: Mention that constants are tagged by etags in Ruby.
      
      * test/etags/ruby-src/test1.ruby: Add more tests.
      * test/etags/ETAGS.good_1:
      * test/etags/ETAGS.good_2:
      * test/etags/ETAGS.good_3:
      * test/etags/ETAGS.good_4:
      * test/etags/ETAGS.good_5:
      * test/etags/ETAGS.good_6:
      * test/etags/CTAGS.good: Adapt to the changes in etags and in Ruby
      tests.
      25b79d7b
    • Eli Zaretskii's avatar
      Adjust etags test results to changes in copyright years · ccc3b3cd
      Eli Zaretskii authored
      * test/etags/CTAGS.good:
      * test/etags/ETAGS.good_1:
      * test/etags/ETAGS.good_2:
      * test/etags/ETAGS.good_3:
      * test/etags/ETAGS.good_4:
      * test/etags/ETAGS.good_5:
      * test/etags/ETAGS.good_6: Adjust to shift in characters and
      in line numbers.
      ccc3b3cd
    • Andreas Schwab's avatar
      df5ae7dd
    • Dmitry Gutov's avatar
      Don't fiddle with DEFAULT · a089d6a2
      Dmitry Gutov authored
      * lisp/progmodes/project.el (project--completing-read-strict):
      Don't change DEFAULT, whether is has any matches in
      COLLECTION, or not.
      a089d6a2
    • Eli Zaretskii's avatar
      Document xwidget commands and functions · ef760b89
      Eli Zaretskii authored
      * doc/lispref/display.texi (Xwidgets): New section, describes some
      of the xwidget primitives.
      * doc/lispref/display.texi (Display): Update the chapter menu.
      * doc/emacs/misc.texi (Embedded WebKit Widgets): New section.
      * doc/emacs/emacs.texi (Top): Update the master menu to include
      the xwidget node.
      ef760b89
    • Lars Ingebrigtsen's avatar
      Build fix for shr.el · 05f1f0db
      Lars Ingebrigtsen authored
      * shr.el (seq): Require.
      05f1f0db
    • Dmitry Gutov's avatar
      Improve project-find-file yet again! · 2b87dea0
      Dmitry Gutov authored
      * lisp/progmodes/project.el (project--completing-read-strict):
      New function.
      (project-find-file-in): Use it.
      (project-file-completion-table): Move the default
      implementation inside the cl-defgeneric form.
      (http://lists.gnu.org/archive/html/emacs-devel/2016-01/msg01720.html)
      2b87dea0
    • Dmitry Gutov's avatar
      Don't pass DIR to 'hg status' · 06083cf4
      Dmitry Gutov authored
      * lisp/vc/vc-hg.el (vc-hg-dir-status-files):
      Don't pass DIR to 'hg status' (bug#22481).
      06083cf4
  2. 29 Jan, 2016 10 commits
    • Stephen Leake's avatar
      Fix typo in previous commits · 545ad84a
      Stephen Leake authored
      * lisp/progmodes/project.el (project-find-file-in):
      * lisp/vc/vc-mtn.el (vc-mtn-find-ignore-file): Fix typo in previous
      commit.
      545ad84a
    • Stephen Leake's avatar
      Improve project-find-file · 7deeab6f
      Stephen Leake authored
      * lisp/progmodes/project.el (project-file-completion-table): New.
      (project-find-file, project-or-external-find-file): Default to filename
      at point.
      (project-file-completion-table): New, split out from
      project--find-file-in.
      (project-find-file-in): Renamed from project--find-file-in, use
      project-file-completion-table.
      
      * lisp/progmodes/xref.el (ede-minor-mode): New declaration.
      (xref--find-ignores-arguments): Add doc string.
      7deeab6f
    • Stephen Leake's avatar
      Implement vc-mtn-find-ignore-file, fix some doc strings · a71560b0
      Stephen Leake authored
      * lisp/cedet/cedet-global.el (cedet-gnu-global-root): Improve doc string.
      
      * lisp/cedet/ede/locate.el (initialize-instance): Improve doc string.
      
      * lisp/vc/vc-git.el (vc-git-find-ignore-file): Fix doc string.
      
      * lisp/vc/vc-mtn.el (vc-mtn-find-ignore-file): New function.
      a71560b0
    • Vincent Belaïche's avatar
      Correct a whole bunch of bugs coming with renamed cell relocation. · 9421b948
      Vincent Belaïche authored
      This is the same change as commit on master branch. See
      http://git.savannah.gnu.org/cgit/emacs.git/commit/?id=badcd38aa86ed7973f2be2743c405710973a0bdd
      
      * lisp/ses.el (ses-localvars): rename variable
      `ses--renamed-cell-symb-list' into `ses--in-killing-named-cell-list'
      and adjust the comment about it.
      (ses-plist-delq): new defun.
      (ses--ses-buffer-list): new defvar.
      (ses--unbind-cell-name): new defun.
      (ses-relocate-symbol): Do not relocate symbol when it is a named cell.
      (ses-relocate-formula): Undo change of
      2011-12-27T19:30:39Z!vincentb1@users.sourceforge.net that was
      preventing relocation for named cell --- now doing this is delegated
      to function `ses-relocate-symbol'.
      (ses-relocate-range): In docstring, undo change of
      2016-01-03T07:31:52Z!johnw@newartisans.com, `ses-range' must remain
      lower case as it is not a variable.
      (ses-relocate-all): Cell name relocation : 1) check that cell is a
      renamed cell by testing `ses-cell' property to :ses-named, rather than
      comparing name to corresponding standard name. Set rowcol of renamed
      cell into the hashmap --- `ses-cell' property must not be used for
      that as the same name can be used for different locations in different
      SES sheets ; 2) use `local-variable-if-set-p' rather than `boundp' and
      `local-variable-p' to check if cell name is already in use in this
      sheet or needs initialisation.
      (ses-relocate-all): Cell value relocation : 1) like for name
      relocation use the `ses-cell' property rather than comparing actual
      name to corresponding standard name. 2) Correct bug introduced in
      2011-12-27T19:30:39Z!vincentb1@users.sourceforge.net, as the test was
      made the other way round than the intention --- ie value relocation
      was disabled for standard cell, not for renamed cell as was the
      intention.
      (ses-relocate-all): Add loop for unbinding deleted renamed cells
      names.
      (ses-killbuffer-hook): new defun.
      (ses-mode): Add the ses--ses-buffer-list maintenance mechanism ---
      kill buffer hook, plus pushing current buffer if new in list.
      (ses-delete-row, ses-delete-column): Collect deleted renamed cells
      into `ses--in-killing-named-cell-list'.
      (ses-rename-cell): Remove update of variable
      `ses--renamed-cell-symb-list', this variable is renamed to
      `ses--in-killing-named-cell-list', and its setting is done in
      functions `ses-delete-row' and , `ses-delete-column' now.
      (ses-rename-cell): Make cell new name a buffer local variable.
      (ses-rename-cell): Change correction of
      2015-12-30T23:10:37Z!vincentb1@users.sourceforge.net concerning
      computation of the range over which `cursor-intangible' property was
      to be updated. This correction was ok for non spilling cells, but not
      for cells spilling over following blank cells. Simply use
      `next-single-property-change' rather than computing the end column
      from column widths.
      9421b948
    • Andreas Schwab's avatar
      Re-enable checks in member, memql, delete to complain about non-lists · f524e8b7
      Andreas Schwab authored
      	* fns.c (Fmember, Fmemql, Fdelete): Revert 2007-10-16 change.
      f524e8b7
    • Martin Rudalics's avatar
      c:/emacs-git/next/ChangeLog · c32cc606
      Martin Rudalics authored
      c32cc606
    • Eli Zaretskii's avatar
      Minor improvements to 'pcase' documentation · d7a93efd
      Eli Zaretskii authored
      * doc/lispref/control.texi (Pattern matching case statement):
      Improve the documentation of 'pcase' per comments.  See two
      discussion threads on emacs-devel@gnu.org for the details:
      http://lists.gnu.org/archive/html/emacs-devel/2016-01/msg01335.html
      http://lists.gnu.org/archive/html/emacs-devel/2016-01/msg01336.html.
      d7a93efd
    • Glenn Morris's avatar
      ; * lisp/textmodes/table.el: Comment tweak. · 7257815d
      Glenn Morris authored
      7257815d
    • Glenn Morris's avatar
      Don't use eval to quieten prolog.el compilation. · e94983f6
      Glenn Morris authored
      * lisp/progmodes/prolog.el (pltrace-on, pltrace-off): Declare.
      (prolog-enable-sicstus-sd, prolog-disable-sicstus-sd): Don't use eval.
      e94983f6
    • Glenn Morris's avatar
      Mark some risky prolog variables. · 59e39ccf
      Glenn Morris authored
      * lisp/progmodes/prolog.el (prolog-system-version)
      (prolog-keywords, prolog-types, prolog-mode-specificators)
      (prolog-determinism-specificators, prolog-directives)
      (prolog-program-name, prolog-program-switches)
      (prolog-consult-string, prolog-compile-string)
      (prolog-eof-string, prolog-prompt-regexp, prolog-help-function):
      Mark anything processed by prolog-find-value-by-system as risky.
      59e39ccf
  3. 28 Jan, 2016 4 commits
  4. 27 Jan, 2016 4 commits
    • Glenn Morris's avatar
      8e5046a6
    • Glenn Morris's avatar
      * lisp/xwidget.el (xwidget-webkit-browse-url): Give explicit error · 82bf438c
      Glenn Morris authored
      if not compiled with xwidgets.
      82bf438c
    • Paul Eggert's avatar
      C-u C-x = example doc fix · bc0903d7
      Paul Eggert authored
      * doc/emacs/mule.texi (International Chars):
      Adjust example to match current behavior of C-u C-x =.
      bc0903d7
    • Paul Eggert's avatar
      malloc.h hygiene · b88e9cde
      Paul Eggert authored
      This attempts to future-proof Emacs a bit against possible glibc
      changes, by having Emacs use <malloc.h> declarations rather than
      coding them up by hand.  Problem noted by Florian Weimer in:
      https://sourceware.org/ml/libc-alpha/2016-01/msg00777.html
      Implement this mainly by moving malloc.h-related functions from
      emacs.c (which does not include <malloc.h>) to alloc.c (which does).
      * src/alloc.c (my_heap_start) [DOUG_LEA_MALLOC || GNU_LINUX]:
      New function.
      The remaining changes to this file apply only if DOUG_LEA_MALLOC.
      (alloc_unexec_pre, alloc_unexec_post): New functions.
      (malloc_initialize_hook): Use my_heap_start and alloc_unexec_post.
      (__MALLOC_HOOK_VOLATILE): New macro, if not already defined.
      (__malloc_initialize_hook): Use it.
      (malloc_state_ptr, malloc_initialize_hook, __malloc_initialize_hook):
      Move here from ...
      * src/emacs.c: ... here.
      (malloc_get_state, malloc_set_state): Remove extern decls.
      (my_heap_start) [DOUG_LEA_MALLOC || GNU_LINUX]: Remove static var.
      All uses changed to similarly-named new function.
      (Fdump_emacs): Use new functions alloc_unexec_pre, alloc_unexec_post.
      * src/lisp.h (my_heap_start, alloc_unexec_pre, alloc_unexec_post):
      New decls.
      b88e9cde
  5. 26 Jan, 2016 6 commits
    • Eli Zaretskii's avatar
      ; Fix a typo in the user manual · cf170023
      Eli Zaretskii authored
      * doc/emacs/anti.texi (Antinews): Fix typo.  Reported by Lele
      Gaifax <lele@metapensiero.it>.
      cf170023
    • Eli Zaretskii's avatar
    • Paul Eggert's avatar
      Remove never-set var handle_user_signal_hook · b4c7b510
      Paul Eggert authored
      * src/keyboard.c, src/keyboard.h (handle_user_signal_hook):
      Remove never-set var.  All uses removed.
      b4c7b510
    • K. Handa's avatar
      Backport:fix previous change of src/ftfont.c (ftfont_shape_by_flt) · ad879b7f
      K. Handa authored
      * src/ftfont.c (ftfont_shape_by_flt): Fix previous change.  Access the
      second glyph only when there are enough glyphs.
      
      (cherry picked from commit 98357570)
      ad879b7f
    • K. Handa's avatar
      support rendering of wider range of combinging characters by ftfont backend · 4a3db0f7
      K. Handa authored
      * lisp/language/hebrew.el (hebrew-shape-gstring): If the font backend
      supports rendering of combining characters, call
      font-shape-gstring.
      
      * src/font.c (Ffont_get): Handle `combining-capability' property.
      (syms_of_font): New symbol ":combining-capability'.
      
      * src/font.h (struct font_driver): New member combining_capability.
      
      * src/ftfont.c: Include "category.h".
      (ftfont_driver): Initialize combining_capability to
      ftfont_combining_capability.
      (ftfont_shape_by_flt): If OTF is null, try to find a suitable
      FLT in advance.
      (ftfont_combining_capability): New function.
      
      (cherry picked from commit 536f48e9)
      4a3db0f7
    • Anders Lindgren's avatar
      Fixed NextStep fullscreen issue (bug#22468) · 60902756
      Anders Lindgren authored
      When in fullscreen mode, `[screen visibleFrame]' sometimes
      includes, sometimes excludes the menu bar. This could cause
      a frame to be placed too low when in fullscreen mode.
      
      * src/nsterm.m (ns_menu_bar_should_be_hidden): Trace.
      (constrain_frame_rect): New parameter, isFullscreen, when true don't
      query the height of the menu bar.
      (ns_constrain_all_frames): Pass `false' (isFullscreen) to
      `constrain_frame_rect'.
      ([EmacsView initFrameFromEmacs:]): Trace.
      ([EmacsView isFullscreen]): Trace.
      ([EmacsWindow constrainFrameRect:toScreen:]): Pass fullscreen
      state to `constrain_frame_rect'.
      60902756
  6. 25 Jan, 2016 3 commits
    • Artur Malabarba's avatar
      * lisp/files.el: Use a fixed file name for the second dir-locals file · da976cff
      Artur Malabarba authored
      (dir-locals-file): Revert to its original fixed value.
      (dir-locals-file-2): New const.
      (dir-locals--all-files): Don't use `file-name-all-completions'.
      Instead, just check for the 2 dir-locals files and return a list
      of the ones that exit (if any).
      
      * etc/NEWS: Document the change.
      
      * doc/emacs/custom.texi (Directory Variables): Document the change.
      
      * doc/lispref/variables.texi (Directory Local Variables): Update
      accordingly.
      da976cff
    • Artur Malabarba's avatar
      * lisp/files-x.el (modify-dir-local-variable): Small rewrite · 914fb99d
      Artur Malabarba authored
      Change a variable name to be more meaningful, and reorder some of
      the code with no change in behaviour.
      914fb99d
    • Artur Malabarba's avatar
      * lisp/files.el (dir-locals-find-file): Refactor return values · 777c712c
      Artur Malabarba authored
      Returning a cache remains unchanged, but the case of returning a
      file (or pattern) is now changed to return the contaning
      directory.
      
      (dir-locals-read-from-file): Rename to `dir-locals-read-from-dir'
      and make obsolete.
      (dir-locals-read-from-dir): Simplify accordingly.
      (hack-dir-local-variables): Simplify accordingly and rename a
      variable.
      777c712c