1. 13 Jan, 2013 1 commit
    • Stefan Monnier's avatar
      * lisp/jit-lock.el (jit-lock-debug-mode): New minor mode. · e5b5a34d
      Stefan Monnier authored
      (jit-lock--debug-fontifying): New var.
      (jit-lock--debug-fontify): New function.
      * lisp/subr.el (condition-case-unless-debug): Don't prevent catching the
      error, just let the debbugger run.
      * lisp/emacs-lisp/timer.el (timer-event-handler): Don't prevent debugging
      timer code and don't drop errors silently.
      e5b5a34d
  2. 10 Jan, 2013 1 commit
  3. 08 Jan, 2013 2 commits
  4. 01 Jan, 2013 1 commit
  5. 29 Dec, 2012 5 commits
  6. 27 Dec, 2012 2 commits
  7. 24 Dec, 2012 1 commit
  8. 20 Dec, 2012 1 commit
  9. 19 Dec, 2012 1 commit
  10. 17 Dec, 2012 1 commit
    • 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
  11. 16 Dec, 2012 2 commits
    • Romain Francoise's avatar
      Add support for preserving ACL entries of files. · 7c3d167f
      Romain Francoise authored
      	* 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'.
      7c3d167f
    • Timo Myyrä's avatar
      19b748ad
  12. 15 Dec, 2012 1 commit
  13. 14 Dec, 2012 1 commit
    • 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
  14. 13 Dec, 2012 1 commit
  15. 12 Dec, 2012 1 commit
  16. 10 Dec, 2012 2 commits
    • Eli Zaretskii's avatar
      f282b9f7
    • Rüdiger Sonderfeld's avatar
      Support filesystem notification through inotify on GNU/Linux. · 81606b10
      Rüdiger Sonderfeld authored
       configure.ac (inotify): New option.
       (HAVE_INOTIFY): Test for inotify.
      
       src/termhooks.h (enum event_kind) [HAVE_INOTIFY]: Add
       FILE_NOTIFY_EVENT.
       src/lisp.h (syms_of_inotify) [HAVE_INOTIFY]: Add prototype.
       src/keyboard.c (Qfile_inotify) [HAVE_INOTIFY]: New variable.
       (syms_of_keyboard): DEFSYM it.
       (kbd_buffer_get_event) [HAVE_INOTIFY]: Generate FILE_NOTIFY_EVENT.
       (make_lispy_event): Support FILE_NOTIFY_EVENT by generating
       Qfile_inotify events.
       (keys_of_keyboard) [HAVE_INOTIFY]: Bind file-inotify events in
       special-event-map to inotify-handle-event.
       src/emacs.c (main) [HAVE_INOTIFY]: Call syms_of_inotify.
       src/Makefile.in (base_obj): Add inotify.o.
       src/inotify.c: New file.
      
       lisp/subr.el (inotify-event-p, inotify-handle-event): New functions.
      
       test/automated/inotify-test.el: New test.
      81606b10
  17. 09 Dec, 2012 2 commits
  18. 07 Dec, 2012 3 commits
  19. 04 Dec, 2012 3 commits
  20. 03 Dec, 2012 1 commit
  21. 02 Dec, 2012 1 commit
  22. 30 Nov, 2012 1 commit
  23. 29 Nov, 2012 1 commit
    • Jambunathan K's avatar
      * lisp/icomplete.el: Change separator; add ido-style commands. · cc37e70f
      Jambunathan K authored
      (icomplete-show-key-bindings): Remove custom var.
      (icomplete-get-keys): Remove function.
      (icomplete-forward-completions, icomplete-backward-completions):
      New commands.
      (icomplete-minibuffer-map): New var.
      (icomplete-minibuffer-setup): Use it.
      (icomplete-exhibit): Don't delay if the list of completions is known.
      (icomplete-separator): New custom.
      (icomplete-completions): Use it.
      * lisp/minibuffer.el (completion-all-sorted-completions): Delete duplicates.
      (minibuffer-force-complete-and-exit): New command.
      (minibuffer--complete-and-exit): New function extracted from
      minibuffer-complete-and-exit.
      (minibuffer-complete-and-exit): Use it.
      cc37e70f
  24. 25 Nov, 2012 2 commits
    • Bill Wohler's avatar
      Release MH-E version 8.4. · 6827cac1
      Bill Wohler authored
      * NEWS, MH-E-NEWS: Update for MH-E release 8.4.
      6827cac1
    • Chong Yidong's avatar
      Revamp face-spec-set to be more analogous to setq for faces. · 1c4f115d
      Chong Yidong authored
      * lisp/faces.el (face-spec-set): Change the third arg to specify
      whether this function is being called via defface, customize, or a
      third party.  Set the appropriate symbol properties.  Clear the
      override spec if setting via Custom.  Initialize face if necessary.
      (face-spec-recalc): Allow theme faces to completely replace the
      defface spec, in the same way as custom faces (Bug#8454).
      
      * lisp/cus-edit.el (custom-face-set, custom-face-mark-to-save)
      (custom-face-reset-saved, custom-face-mark-to-reset-standard):
      Simplify by using the new arg to face-spec-set.
      
      * lisp/cus-face.el (custom-declare-face): Move face initialization to
      face-spec-set.
      (custom-theme-set-faces): Don't initialize the face name here, as
      that is now done in face-spec-set.
      
      * lisp/emacs-lisp/lisp-mode.el (eval-defun-1): When evaluating defface,
      reset face-override-spec too, and use custom-declare-face.
      
      Fixes: debbugs:4988
      1c4f115d
  25. 24 Nov, 2012 1 commit
  26. 22 Nov, 2012 1 commit