1. 03 Aug, 2012 11 commits
    • Eli Zaretskii's avatar
      Support symlinks on latest versions of MS-Windows. · 6dad7178
      Eli Zaretskii authored
       src/w32.c: Include winioctl.h and aclapi.h.
       (is_symlink, chase_symlinks, enable_privilege, restore_privilege)
       (revert_to_self): Forward declarations of static functions.
       <static BOOL g_b_init_get_security_info>:
       <g_b_init_create_symbolic_link>: New static flags.
       (globals_of_w32): Initialize them to zero.
       (GetSecurityInfo_Proc, CreateSymbolicLink_Proc): New typedefs.
       (map_w32_filename): Improve commentary.  Simplify switch.
       (SYMBOLIC_LINK_FLAG_DIRECTORY): Define if not defined in system
       headers (most versions of MinGW w32api don't).
       (get_security_info, create_symbolic_link)
       (get_file_security_desc_by_handle, is_symlink, chase_symlinks):
       New functions.
       (sys_access, sys_chmod): Call 'chase_symlinks' to resolve symlinks
       in the argument file name.
       (sys_access): Call unc_volume_file_attributes only if
       GetFileAttributes fails with network-related error codes.
       (sys_rename): Diagnose renaming of a symlink when the user doesn't
       have the required privileges.
       (get_file_security_desc_by_name): Renamed from
       get_file_security_desc.
       (stat_worker): New function, with most of the guts of 'stat', and
       with addition of handling of symlinks and support for 'lstat'.  If
       possible, get file's attributes and security information by
       handle, not by name.  Produce S_IFLNK bit for symlinks, when
       called from 'lstat'.
       (stat, lstat): New functions, call 'stat_worker'.
       (symlink, readlink, careadlinkat): Rewritten to create and resolve
       symlinks when the underlying filesystem supports them.
      
       lib/src/ntlib.c (lstat): New function, calls 'stat'.
      
       nt/inc/sys/stat.h (S_IFLNK): Define.
       (S_ISLNK): A non-trivial definition.
       (lstat): Prototype instead of a macro that redirects to 'stat'.
      
       lisp/files.el (file-truename): Don't skip symlink-chasing part on
       windows-nt.  Incorporate the resolution of 8+3 short aliases on
       Windows into the loop that recursively chases symlinks.  Compare
       directory and its parent case-insensitively on MS-Windows and
       MS-DOS.
      
       etc/NEWS: Announce the symlink support on MS-Windows.
      6dad7178
    • Glenn Morris's avatar
      Auto-commit of generated files. · 09486324
      Glenn Morris authored
      09486324
    • Eli Zaretskii's avatar
      Adapt lib/makefile.w32-in to latest gnulib imports. · fddc1855
      Eli Zaretskii authored
       lib/makefile.w32-in (GNULIBOBJS): Add $(BLD)/stat-time.$(O),
       $(BLD)/timespec.$(O), and $(BLD)/u64.$(O).
       (SHA512_H): Don't mention u64.h twice.
       ($(BLD)/stat-time.$(O), ($(BLD)/timespec.$(O), ($(BLD)/u64.$(O)):
       New targets.
      fddc1855
    • Eli Zaretskii's avatar
      Fix a typo in top-level ChangeLog. · bff2a4b8
      Eli Zaretskii authored
      bff2a4b8
    • Chong Yidong's avatar
      Add NEWS entry for last change. · f85f636a
      Chong Yidong authored
      f85f636a
    • Chong Yidong's avatar
      6200f3c4
    • Chong Yidong's avatar
      * sort.el (sort-regexp-fields): Doc fix. · 385b0198
      Chong Yidong authored
      385b0198
    • Tassilo Horn's avatar
      * textmodes/reftex.el (reftex-compile-variables): Make keyvals · b9e74744
      Tassilo Horn authored
      labels regex position point at the expected place.
      b9e74744
    • MON KEY's avatar
      Doc fixes for imap.el. · 41013cb4
      MON KEY authored
      * net/imap.el (imap-interactive-login, imap-authenticate)
      (imap-mailbox-lsub, imap-mailbox-list)
      (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
      (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
      (imap-parse-response): Doc fix.
      41013cb4
    • João Távora's avatar
      Workaround for latex-forward-sexp slowness. · 0ffee616
      João Távora authored
      * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop if
      sexp scanning does not move point.
      
      Fixes: debbugs:5734
      0ffee616
    • Paul Eggert's avatar
      Merge from gnulib. · f35ef0ed
      Paul Eggert authored
      2012-08-02 stat-time, timespec, u64: support naive out-of-dir builds
      f35ef0ed
  2. 02 Aug, 2012 23 commits
  3. 01 Aug, 2012 6 commits
    • Jay Belanger's avatar
      calc.texi (Simplification modes, Conversions) · 1dcac243
      Jay Belanger authored
      (Operating on Selections, Basic Simplifications)
      (Algebraic Simplifications):  Mention "basic" simplifications.
      (Algebraic Entry): Remove mention of default simplifications.
      1dcac243
    • Paul Eggert's avatar
      Use "ASET (a, i, v)" rather than "AREF (a, i) = v". · 4939150c
      Paul Eggert authored
      This how ASET and AREF are supposed to work, and makes
      it easier to think about future improvements.  See
      <http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00026.html>.
      * charset.h (set_charset_attr): New function.
      All lvalue-style uses of CHARSET_DECODER etc. changed to use it.
      * lisp.h (ASET): Rewrite so as not to use AREF in an lvalue style.
      (aref_addr): New function.  All uses of &AREF(...) changed.
      (set_hash_key, set_hash_value, set_hash_next, set_hash_hash)
      (set_hash_index): New functions.  All lvalue-style uses of
      HASH_KEY etc. changed.
      * keyboard.c (set_prop): New function.  All lvalue-style uses
      of PROP changed.
      4939150c
    • Alp Aker's avatar
      * nsterm.m (ns_set_vertical_scroll_bar, ns_redeem_scroll_bar) · 947b2afd
      Alp Aker authored
        (EmacsWindow-accessibilityAttributeValue, EmacsScroller-initFrame:)
        (EmacsScroller-dealloc):  Adjust to use WVAR.  (Bug#12114)
      * nsfns.m (ns_set_name_as_filename): Likewise.
      * nsmenu.m (ns_update_menubar): Likewise.
      * nsselect.m (symbol_to_nsstring): Adjust to use SVAR.
      947b2afd
    • Jay Belanger's avatar
      calc.texi (Simplification modes): Mention "basic" simplification. · 8e7046c3
      Jay Belanger authored
      (The Calc Mode Line): Mention the mode line display for Basic
      simplification mode.
      (Simplify Formulas): Refer to 'algebraic' rather than 'default'
      simplifications.
      (Basic Simplifications): Rename from "Limited Simplifications"
      Replace "limited" by "basic" throughout.
      (Algebraic Simplifications):  Indicate that the algebraic
      simplifications are done by default.
      (Unsafe Simplifications):  Mention `m E'.
      (Simplification of Units): Mention `m U'.
      (Trigonometric/Hyperbolic Functions, Reducing and Mapping,
      Kinds of Declarations, Functions for Declarations):  Mention
      "algebraic simplifications" instead of `a s'.
      8e7046c3
    • Glenn Morris's avatar
      0f6cabdb
    • Glenn Morris's avatar
      Update lib-src config.h dependencies · de7de872
      Glenn Morris authored
      * lib-src/Makefile.in (config_h): New variable.
      Use throughout in place of ../src/config.h.
      de7de872