aboutsummaryrefslogtreecommitdiffstats
path: root/ChangeLog (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* | Merge from emacs-24; up to 2012-12-19T13:01:16Z!michael.albinus@gmx.dePaul Eggert2013-02-141-0/+5
|\ \ | |/
| * Fix AIX port.Paul Eggert2013-02-141-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * configure.ac (DATA_START, DATA_SEG_BITS): Set to 0x20000000 on AIX. (GC_MARK_STACK): Do not set to GC_USE_GCPROS_AS_BEFORE, as that runs afoul of some other bug in Emacs, and the default value GC_MAKE_GCPROS_NOOPS has been tested and works. * src/lisp.h (XPNTR) [!USE_LSB_TAG && DATA_SEG_BITS]: Fix bug introduced in 2012-07-27 change. DATA_SEG_BITS, if set, was #undeffed earlier, so it cannot be used as a macro here. Use the constant and not the macro. Tested on AIX. * src/unexaix.c: Revert 2013-02-11 and 2013-02-12 changes to this file. They're almost surely OK but we're just before a release so we should avoid changes unless they're clearly needed. Instead, make the following minor change: (ADDR_CORRECT): New macro. Fixes: debbugs:13650
* | MS-Windows followup for 2013-02-11T23:37:18Z!eggert@cs.ucla.edu.Eli Zaretskii2013-02-121-0/+5
| | | | | | | | | | | | | | lib/makefile.w32-in (GNULIBOBJS): Add $(BLD)/memrchr.$(O). ($(BLD)/memrchr.$(O)): New dependency. nt/inc/ms-w32.h: Add prototype for memrchr.
* | Tune by using memchr and memrchr.Paul Eggert2013-02-111-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * .bzrignore: Add string.h. * admin/merge-gnulib (GNULIB_MODULES): Add memrchr. * lib/gnulib.mk, m4/gnulib-comp.m4: Regenerate. * lib/memrchr.c, lib/string.in.h, m4/memrchr.m4, m4/string_h.m4: New files, from gnulib. * src/doc.c (Fsnarf_documentation): * src/fileio.c (Fsubstitute_in_file_name): * src/search.c (find_newline, scan_newline): * src/xdisp.c (pos_visible_p, display_count_lines): Use memchr and memrchr rather than scanning byte-by-byte. * src/search.c (find_newline): Rename from scan_buffer. Omit first arg TARGET, as it's always '\n'. All callers changed.
* | Merge from gnulib.Paul Eggert2013-02-111-0/+6
| |
* | ChangeLog for previousGlenn Morris2013-02-101-0/+4
| |
* | * configure.ac (emacs_config_options): Strip out the (internal) argumentsGlenn Morris2013-02-091-0/+5
| | | | | | | | --no-create and --no-recursion.
* | Merge from gnulib.Paul Eggert2013-02-081-0/+11
| |
* | Use fdopendir, fstatat and readlinkat, for efficiency.Paul Eggert2013-01-311-0/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | On my host, this speeds up directory-files-and-attributes by a factor of 3, when applied to Emacs's src directory. These functions are standardized by POSIX and are common these days; fall back on a (slower) gnulib implementation if the host is too old to supply them. * .bzrignore: Add lib/dirent.h. * lib/Makefile.am (libgnu_a_SOURCES): Add openat-die.c, save-cwd.c. * lib/careadlinkat.c, lib/careadlinkat.h: Merge from gnulib, incorporating: 2013-01-29 careadlinkat: do not provide careadlinkatcwd. * lib/gnulib.mk, m4/gnulib-comp.m4: Regenerate. * lib/dirent.in.h, lib/fdopendir.c, lib/fstatat.c, lib/openat-priv.h: * lib/openat-proc.c, lib/openat.h, m4/dirent_h.m4, m4/fdopendir.m4: * m4/fstatat.m4: New files, from gnulib. * lib/openat-die.c, lib/save-cwd.c, lib/save-cwd.h: New files. These last three are specific to Emacs and are not copied from gnulib. They are simpler than the gnulib versions and are tuned for Emacs. * admin/merge-gnulib (GNULIB_MODULES): Add fdopendir, fstatat, readlinkat. (GNULIB_TOOL_FLAGS): Do not avoid at-internal, openat-h. Avoid dup, open, opendir. * nt/inc/sys/stat.h (fstatat): * nt/inc/unistd.h (readlinkat): New decls. * src/conf_post.h (GNULIB_SUPPORT_ONLY_AT_FDCWD): Remove. * src/dired.c: Include <fcntl.h>. (open_directory): New function, which uses open and fdopendir rather than opendir. DOS_NT platforms still use opendir, though. (directory_files_internal, file_name_completion): Use it. (file_attributes): New function, with most of the old Ffile_attributes. (directory_files_internal, Ffile_attributes): Use it. (file_attributes, file_name_completion_stat): First arg is now fd, not dir name. All uses changed. Use fstatat rather than lstat + stat. (file_attributes): Use emacs_readlinkat rather than Ffile_symlink_p. * src/fileio.c: Include <allocator.h>, <careadlinkat.h>. (emacs_readlinkat): New function, with much of the old Ffile_symlink_p, but with an fd argument for speed. It uses readlinkat rather than careadlinkatcwd, so that it need not assume the working directory. (Ffile_symlink_p): Use it. * src/filelock.c (current_lock_owner): Use emacs_readlinkat rather than emacs_readlink. * src/lisp.h (emacs_readlinkat): New decl. (READLINK_BUFSIZE, emacs_readlink): Remove. * src/sysdep.c: Do not include <allocator.h>, <careadlinkat.h>. (emacs_norealloc_allocator, emacs_readlink): Remove. This stuff is moved to fileio.c. * src/w32.c (fstatat, readlinkat): New functions. (careadlinkat): Don't check that fd == AT_FDCWD. (careadlinkatcwd): Remove; no longer needed. Fixes: debbugs:13539
* | Move lisp/calc/README* to etc/CALC-NEWSGlenn Morris2013-01-311-0/+4
| | | | | | | | | | | | | | | | | | | | * make-dist: Only README files exist in lisp/ now, not README*. * doc/misc/calc.texi (Help Commands): Mention etc/CALC-NEWS. * etc/CALC-NEWS: Move here from lisp/calc/README, README.prev. * lisp/calc/README, lisp/calc/README.prev: Rename/merge to etc/CALC-NEWS.
* | * .bzrignore: add lib-src/blessmail.Giorgos Keramidas2013-01-231-0/+4
| |
* | Merge from gnulib.Paul Eggert2013-01-221-0/+5
| |
* | Merge from emacs-24; up to 2012-12-11T09:51:12Z!dmantipov@yandex.ruGlenn Morris2013-01-191-0/+5
|\ \ | |/
| * * Makefile.in (install-arch-indep): Put back a chmodGlenn Morris2013-01-151-0/+5
| | | | | | | | that was removed 2012-05-19. (Bug#13430)
* | Merge from gnulib.Paul Eggert2013-01-161-0/+6
| |
* | * configure.ac: Document that --enable-gcc-warnings emits errors.Paul Eggert2013-01-151-0/+5
| | | | | | | | Fixes: debbugs:13448
* | Merge from emacs-24; up to 2012-12-10T20:27:33Z!eggert@cs.ucla.eduGlenn Morris2013-01-131-0/+4
|\ \ | |/
| * * make-dist: Add options for xz compression and no compression.Glenn Morris2013-01-091-0/+4
| |
* | Enable conservative stack scanning for all architectures.Paul Eggert2013-01-111-0/+7
| | | | | | | | | | | | Suggested by Stefan Monnier in <http://lists.gnu.org/archive/html/emacs-devel/2013-01/msg00183.html>. * configure.ac (GC_MARK_STACK): Remove.
* | * lib/getopt_.h: Remove trailing CRs that crept in.Paul Eggert2013-01-111-0/+4
| |
* | lib/getopt_.h: Regenerate.Eli Zaretskii2013-01-111-0/+4
| |
* | Merge from gnulib.Paul Eggert2013-01-091-0/+5
| |
* | Merge from emacs-24; up to 2012-12-06T20:16:38Z!monnier@iro.umontreal.caGlenn Morris2013-01-041-0/+4
|\ \ | |/
| * Add htmlfontify manual to build processGlenn Morris2013-01-041-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | * doc/misc/Makefile.in (INFO_TARGETS, DVI_TARGETS, PDF_TARGETS): Add htmlfontify. (htmlfontify, $(buildinfodir)/htmlfontify$(INFO_EXT)) (htmlfontify.dvi, htmlfontify.pdf): New targets. * doc/misc/makefile.w32-in (INFO_TARGETS, DVI_TARGETS, clean): Add htmlfontify. ($(infodir)/htmlfontify$(INFO_EXT), htmlfontify.dvi): New targets. * info/dir: Add htmlfontify.
* | Merge from gnulib.Paul Eggert2013-01-031-0/+11
| | | | | | | | | | | | | | | | | | | | | | This incorporates: 2013-01-04 stdio: remove now-unnecessary stdio.c 2013-01-04 fprintftime: depend on stdio, not ignore-value 2013-01-04 fwrite: silence __wur only for older glibc versions 2013-01-04 fwrite: silence __wur without using inline * lib/stdio.c: Remove. * lib/stdio.in.h, lib/strftime.c: Update from gnulib. * lib/gnulib.mk, m4/gnulib-comp.m4: Regenerate.
* | Merge from gnulib.Paul Eggert2013-01-021-0/+5
| |
* | Merge from emacs-24; up to 2012-12-06T01:39:03Z!monnier@iro.umontreal.caPaul Eggert2013-01-021-1/+1
|\ \ | |/
| * Update copyright notices for 2013.Paul Eggert2013-01-011-1/+1
| |
* | Silence Gtk deprecation warnings by default.Jan Djärv2012-12-301-0/+3
| | | | | | | | | | | | * configure.ac: New enable: --enable-gtk-deprecation-warnings, default off. (HAVE_GTK3): If above enable is off, add -DGDK_DISABLE_DEPRECATION_WARNINGS to GTK_CFLAGS.
* | Check for deprecated gtk tearoff menu item in configure.Jan Djärv2012-12-301-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * configure.ac: Check for GtkHandlebox. Check for GtkTearoffMenuItem. * src/gtkutil.c (TOOLBAR_TOP_WIDGET): New macro. (xg_pack_tool_bar): Use TOOLBAR_TOP_WIDGET, condition out use of handlebox_widget. Set toolbar_in_hbox to false/true, set toolbar_is_packed to true. (xg_update_tool_bar_sizes): Use widget returned by TOOLBAR_TOP_WIDGET. (update_frame_tool_bar): Check toolbar_is_packed for packing. Show all on TOOLBAR_TOP_WIDGET. (free_frame_tool_bar): Check toolbar_is_packed. Use widget returned by TOOLBAR_TOP_WIDGET. (xg_change_toolbar_position): Use widget returned by TOOLBAR_TOP_WIDGET. Check toolbar_is_packed. (xg_have_tear_offs, tearoff_remove, tearoff_activate): Condition on HAVE_GTK_TEAROFF_MENU_ITEM_NEW. (xg_have_tear_offs): When ! HAVE_GTK_TEAROFF_MENU_ITEM_NEW, return false. (create_menus): Create tearoff only if HAVE_GTK_TEAROFF_MENU_ITEM_NEW. (xg_update_menubar): Update title only if HAVE_GTK_TEAROFF_MENU_ITEM_NEW. (xg_update_submenu): Skip tearoff only if HAVE_GTK_TEAROFF_MENU_ITEM_NEW. (xg_initialize): Initialize xg_detached_menus only if HAVE_GTK_TEAROFF_MENU_ITEM_NEW.
* | Check for deprecated gtk_handle_box in configure.Jan Djärv2012-12-301-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * configure.ac: Check for GtkHandlebox. * src/gtkutil.c (TOOLBAR_TOP_WIDGET): New macro. (xg_pack_tool_bar): Use TOOLBAR_TOP_WIDGET, condition out use of handlebox_widget. Set toolbar_in_hbox to false/true, set toolbar_is_packed to true. (xg_update_tool_bar_sizes): Use widget returned by TOOLBAR_TOP_WIDGET. (update_frame_tool_bar): Check toolbar_is_packed for packing. Show all on TOOLBAR_TOP_WIDGET. (free_frame_tool_bar): Check toolbar_is_packed. Use widget returned by TOOLBAR_TOP_WIDGET. (xg_change_toolbar_position): Use widget returned by TOOLBAR_TOP_WIDGET. Check toolbar_is_packed. * src/xterm.h (struct x_output): Surround handlebox_widget with #ifdef HAVE_GTK_HANDLE_BOX_NEW. toolbar_is_packed is new, toolbar_in_hbox is bool.
* | Merge from emacs-24; up to 2012-12-05T00:13:56Z!yamaoka@jpl.orgGlenn Morris2012-12-301-0/+6
|\ \ | |/
| * Properly configure GNUstep librariesAndreas Schwab2012-12-291-0/+6
| | | | | | | | | | | | | | | | | | | | | | * configure.ac (TEMACS_LDFLAGS2): Don't define. (LIBS_GNUSTEP): Set for GNUstep and substitute. (LD_SWITCH_SYSTEM_TEMACS): Don't set for GNUstep. * src/Makefile.in (TEMACS_LDFLAGS2): Remove. (LIBS_GNUSTEP): Define. (LIBES): Add $(LIBS_GNUSTEP). (temacs$(EXEEXT)): Use $(LDFLAGS) instead of $(TEMACS_LDFLAGS2).
* | configure.ac fix for double quotes in configure command-lineGlenn Morris2012-12-271-0/+6
| | | | | | | | | | | | | | | | * configure.ac (emacs_config_options): New. Use $@ rather than undocumented $ac_configure_args. Replace any embedded double quotes. Fixes: debbugs:13274
* | Merge from emacs-24; up to 2012-12-03T21:07:47Z!eggert@cs.ucla.eduGlenn Morris2012-12-271-0/+5
|\ \ | |/
| * Fixes: debbugs:13222Andreas Schwab2012-12-241-0/+5
| | | | | | | | * configure.ac (SIGNALS_VIA_CHARACTERS): Also define for darwin.
* | Revert static checking of stack smashing.Paul Eggert2012-12-251-0/+7
| | | | | | | | | | | | * configure.ac (WARN_CFLAGS): Omit -Wstack-protector when configured with --enable-gcc-warnings. -Wstack-protector causes diagnostics to be issued on Ubuntu 12.10 x86-64.
* | Merge from gnulib.Paul Eggert2012-12-231-0/+7
| |
* | Merge from emacs-24; up to 2012-12-01T13:25:13Z!cyd@gnu.orgGlenn Morris2012-12-211-0/+4
|\ \ | |/
| * * Makefile.in (install-arch-dep): Ignore chmod errors (tiny change)Akinori MUSHA2012-12-191-0/+4
| | | | | | | | Fixes: debbugs:13233
* | Add support for preserving ACL entries of files.Romain Francoise2012-12-161-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * configure.ac (acl): New option. (HAVE_POSIX_ACL): Test for POSIX ACL support. This is typically provided by libacl on GNU/Linux. * fileio.c (Ffile_acl, Fset_file_acl): New functions. (Fcopy_file): Change last arg to `preserve_extended_attributes' and copy ACL entries of file in addition to SELinux context if set. (syms_of_fileio): Add `file-acl' and `set-file-acl'. * Makefile.in (LIBACL_LIBS): New macro. (LIBES): Use it. * files.el (file-extended-attributes) (set-file-extended-attributes): New functions. (backup-buffer): Use them to handle both SELinux context and ACL entries. (backup-buffer-copy): Work with an alist of extended attributes, rather than an SELinux context. (basic-save-buffer-2): Ditto. * files.texi (File Attributes): Document ACL support and new `file-acl' function. (Changing Files): Mention argument name change of `copy-file' and document new function `set-file-acl'.
* | Fix permissions bugs with setgid directories etc.Paul Eggert2012-12-141-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * configure.ac (BSD4_2): Remove; no longer needed. * admin/CPP-DEFINES (BSD4_2): Remove. * doc/lispintro/emacs-lisp-intro.texi (Files List): directory-files-and-attributes now outputs t for attribute that's now a placeholder. * doc/lispref/files.texi (Testing Accessibility): Document GROUP arg of file-ownership-preserved-p. (File Attributes): Document that 9th element is now just a placeholder. * doc/lispref/os.texi (User Identification): Document new functions group-gid, group-real-gid. * etc/NEWS: Document changes to file-attributes, file-ownership-preserved-p. Mention new functions group-gid, group-real-gid. * lisp/files.el (backup-buffer): Don't rely on 9th output of file-attributes, as it's now a placeholder. Instead, use the new optional arg of file-ownership-preserved-p. (file-ownership-preserved-p): New optional arg GROUP. Fix mishandling of setuid directories that would cause this function to return t when it should have returned nil. Document what happens if the file does not exist, and when it's not known whether the ownership will be preserved. * lisp/net/tramp-sh.el (tramp-sh-handle-file-ownership-preserved-p): Likewise. (tramp-get-local-gid): Use group-gid for integer, as that's faster and more reliable. * src/dired.c (Ffile_attributes): Return t as the 9th attribute, to mark it as a placeholder. The old value was often wrong. The only user of this attribute has been changed to use file-ownership-preserved-p instead, with its new group arg. * src/editfns.c (Fgroup_gid, Fgroup_real_gid): New functions. Fixes: debbugs:13125
* | Merge from emacs-24; up to 2012-11-30T04:44:52Z!cyd@gnu.orgGlenn Morris2012-12-121-0/+9
|\ \ | |/
| * Add wisent manual to build processGlenn Morris2012-12-121-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * doc/misc/wisent.texi: Small edits. Set copyright to FSF, update license to GFDL 1.3+. * doc/misc/Makefile.in (INFO_TARGETS, DVI_TARGETS, PDF_TARGETS): Add wisent. (wisent, $(buildinfodir)/wisent$(INFO_EXT), wisent.dvi, wisent.pdf): New targets. * doc/misc/makefile.w32-in (INFO_TARGETS, DVI_TARGETS, clean): Add wisent. ($(infodir)/wisent$(INFO_EXT), wisent.dvi): New targets. * info/dir: wisent.
| * Add bovine manual to build processGlenn Morris2012-12-121-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * doc/misc/bovine.texi: Small edits. Set copyright to FSF, update license to GFDL 1.3+, remove empty index. * doc/misc/Makefile.in (INFO_TARGETS, DVI_TARGETS, PDF_TARGETS): Add bovine. (bovine, $(buildinfodir)/bovine$(INFO_EXT), bovine.dvi, bovine.pdf): New targets. * doc/misc/makefile.w32-in (INFO_TARGETS, DVI_TARGETS, clean): Add bovine. ($(infodir)/bovine$(INFO_EXT), bovine.dvi): New targets. * info/dir: Add bovine.
| * * Makefile.in (install-info): Use `${MAKE} -s' for echo-info.Andreas Schwab2012-12-121-0/+5
| | | | | | | | (uninstall): Likewise.
| * Add srecode manual to build processGlenn Morris2012-12-121-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * doc/misc/srecode.texi: Small edits. Set copyright to FSF, add explicit GFDL 1.3+ license, fix up index. * doc/misc/Makefile.in (INFO_TARGETS, DVI_TARGETS, PDF_TARGETS): Add srecode. (srecode, $(buildinfodir)/srecode$(INFO_EXT), srecode.dvi) (srecode.pdf): New targets. * doc/misc/makefile.w32-in (INFO_TARGETS, DVI_TARGETS, clean): Add srecode. ($(infodir)/srecode$(INFO_EXT), srecode.dvi): New targets. * info/dir: Add srecode.
| * Fix for install-info in non-English locales (tiny change)Nicolas Avrutin2012-12-111-0/+5
| | | | | | | | | | | | | | * Makefile.in (install-info, uninstall): Ensure make's messages about changing directories are in English. Fixes: debbugs:13142
| * Move fix for bug#12993 to trunkDaniel Colascione2012-12-101-6/+0
| |
* | Merge from gnulib for 'inline', incorporating:Paul Eggert2012-12-111-0/+6
| | | | | | | | | | | | | | 2012-12-11 extern-inline: avoid incompatibility with Darwin Libc * m4/extern-inline.m4: Update from gnulib. Fixes: debbugs:13040