1. 19 Dec, 2012 7 commits
  2. 18 Dec, 2012 2 commits
  3. 17 Dec, 2012 10 commits
    • Juanma Barranquero's avatar
      8725c076
    • Juanma Barranquero's avatar
      nt/config.nt: Sync with autogen/config.in. · ab1ce024
      Juanma Barranquero authored
      (BSD4_2): Remove.
      ab1ce024
    • Stefan Monnier's avatar
    • Stefan Monnier's avatar
      * src/xdisp.c (select_frame_for_redisplay): Use select_window_1 to · 1e101a4b
      Stefan Monnier authored
      propagate redisplay's scrolling (if any) to the right window.
      (redisplay_internal): Use ensure_selected_frame.
      (display_mode_lines): Complete last fix.
      * src/window.c (select_window_1): New func, extracted from select_window.
      (select_window): Use it.
      * src/window.h (select_window_1): Declare.
      1e101a4b
    • Eli Zaretskii's avatar
      Support Posix ACL APIs on MS-Windows. · 66447e07
      Eli Zaretskii authored
       src/w32.c: Include sddl.h and sys/acl.h.
       (SDDL_REVISION_1): Define if not already defined.
       (g_b_init_get_security_descriptor_dacl)
       (g_b_init_convert_sd_to_sddl, g_b_init_convert_sddl_to_sd)
       (g_b_init_is_valid_security_descriptor)
       (g_b_init_set_file_security): New static flags.
       (globals_of_w32): Initialize them to zero.
       (SetFileSecurity_Name): New string constant.
       (SetFileSecurity_Proc, GetSecurityDescriptorDacl_Proc)
       (ConvertStringSecurityDescriptorToSecurityDescriptor_Proc)
       (ConvertSecurityDescriptorToStringSecurityDescriptor_Proc)
       (IsValidSecurityDescriptor_Proc): New typedefs.
       (get_file_security, get_security_descriptor_owner)
       (get_security_descriptor_group): Set errno to ENOTSUP.
       (set_file_security, get_security_descriptor_dacl)
       (is_valid_security_descriptor, convert_sd_to_sddl)
       (convert_sddl_to_sd, acl_valid, acl_to_text, acl_from_text)
       (acl_free, acl_get_file, acl_set_file): New functions.
       src/fileio.c (Fcopy_file) [WINDOWSNT]: Support copying ACLs.
      
       nt/inc/sys/acl.h: New file.
       nt/inc/ms-w32.h (ENOTSUP): Define if undefined.
       nt/config.nt (HAVE_POSIX_ACL): Define.
      
       doc/lispref/files.texi (File Attributes, Changing Files): Update to include
       MS-Windows support for ACLs.
      66447e07
    • Paul Eggert's avatar
      Don't reraise SIGCHLD, as that can now lose. · 207a7ef0
      Paul Eggert authored
      With the 2012-12-03 fix for Bug#12980 in place, an old workaround
      for some of that bug's symptoms can now cause Emacs to abort.
      Remove the workaround.
      * process.c (wait_reading_process_output): Don't reraise SIGCHLD.
      The bug that caused SIGCHLD to get lost has been fixed, and the
      workaround for it can now cause Emacs to abort.
      
      Fixes: debbugs:13192
      207a7ef0
    • Kevin Ryde's avatar
      * lisp/files.el (auto-save-file-name-p): Use \` and \'. · 19156242
      Kevin Ryde authored
      Fixes: debbugs:13186
      19156242
    • Michael Albinus's avatar
      Add support for preserving ACL entries of files. · 53b6a8b1
      Michael Albinus authored
      * net/tramp.el (tramp-file-name-for-operation): Add `file-acl' and
      `set-file-acl' handlers.
      
      * net/tramp-adb.el (tramp-adb-handle-copy-file): Handle
      PRESERVE-EXTENDED-ATTRIBUTES.
      
      * net/tramp-compat.el (tramp-compat-copy-file): Handle
      PRESERVE-EXTENDED-ATTRIBUTES.
      
      * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add
      `file-acl' and `set-file-acl' handlers.
      (tramp-gvfs-handle-copy-file): Handle
      PRESERVE-EXTENDED-ATTRIBUTES.
      (tramp-gvfs-handle-file-acl, tramp-gvfs-handle-set-file-acl): New
      defuns.
      
      * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add
      `file-acl' and `set-file-acl' handlers.
      (tramp-remote-acl-p, tramp-sh-handle-file-acl)
      (tramp-sh-handle-set-file-acl): New defuns.
      (tramp-sh-handle-copy-file, tramp-do-copy-or-rename-file): Handle
      PRESERVE-EXTENDED-ATTRIBUTES.
      
      * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add
      `file-acl' and `set-file-acl' handlers.
      (tramp-smb-handle-copy-file): Handle PRESERVE-EXTENDED-ATTRIBUTES.
      53b6a8b1
    • Glenn Morris's avatar
      Auto-commit of generated files. · 4cc63c81
      Glenn Morris authored
      4cc63c81
    • Kelly Dean's avatar
      Fix some interactions of make-help-screen and other Help forms (Bug#13190). · 6ae57a67
      Kelly Dean authored
      * help-macro.el (make-help-screen): Instead of switch-to-buffer
      use pop-to-buffer with NORECORD argument t.  As buffer name use
      *Metahelp* with a leading space (Bug#13190).
      6ae57a67
  4. 16 Dec, 2012 7 commits
  5. 15 Dec, 2012 10 commits
  6. 14 Dec, 2012 4 commits
    • Glenn Morris's avatar
      macroexp--warn-and-return message tweak (bug#13132) · a5f74442
      Glenn Morris authored
      * lisp/emacs-lisp/macroexp.el (macroexp--warn-and-return):
      Try to include filename in non-bytecomp warning.
      a5f74442
    • Paul Eggert's avatar
      Spelling fixes. · cccaebd2
      Paul Eggert authored
      My favorite was that the word "dictionary" was misspelled.
      Also, correct the title in the DeRemer & Pennello 1982 citation,
      and add a URL.
      cccaebd2
    • Eli Zaretskii's avatar
      Fix compilation warnings in the Windows build. · 7e90af26
      Eli Zaretskii authored
       src/editfns.c [HAVE_PWD_H]: Include grp.h.
       src/makefile.w32-in ($(BLD)/editfns.$(O)): Add $(NT_INC)/grp.h.
      7e90af26
    • Paul Eggert's avatar
      Fix permissions bugs with setgid directories etc. · 97976f9f
      Paul Eggert authored
      * 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
      97976f9f