1. 04 Aug, 2012 8 commits
    • Eli Zaretskii's avatar
      Fix bug #11959 with startup warnings on MS-Windows about ../site-lisp. · 76151e2c
      Eli Zaretskii authored
       src/w32.c (init_environment): Change the default values of many
       environment variables in dflt_envvars[] to NULL, to avoid pushing
       them into environment when they were not already defined.  Remove
       the code that deletes site-lisp subdirectories from the default
       value of EMACSLOADPATH, as it is no longer needed.
       (check_windows_init_file): Now external, not static.  Use
       Vload_path as is, without adding anything, as this function is now
       called when Vload_path is already set up.
       src/w32.h (check_windows_init_file): Add prototype.
       src/emacs.c (init_cmdargs) [WINDOWSNT]: When running from the build
       directory, ignore the /*/i386/ tail in Vinvocation_directory, for
       compatibility with Posix platforms.
       (main): Move the call to check_windows_init_file to here from
       (decode_env_path) [WINDOWSNT]: Expand the %emacs_dir%/ prefix, if
       any, in the DEFALT argument into the root of the Emacs build or
       installation tree, as appropriate.
       src/callproc.c (init_callproc_1): Call decode_env_path instead of
       doing its equivalent by hand.
       (init_callproc): Replace DOS_NT condition with MSDOS, thus letting
       the code that sets Vexec_path run on MS-Windows.
       src/lread.c (init_lread): Add comments to #ifdef's.
       (PATH_DATA, PATH_DOC): Replace dummy directory names with
       directories relative to %emacs_dir%.
       (PATH_EXEC): Add lib-src/oo-spd/i386 and lib-src/oo/i386, to cater
       to the use case of running un-installed Emacs.
    • Glenn Morris's avatar
      Auto-commit of generated files. · a09508f2
      Glenn Morris authored
    • Eli Zaretskii's avatar
      Fix the MSDOS build as fallout of latest changes. · 6b42bcfc
      Eli Zaretskii authored
       msdos/sedlibmk.inp (allocator.$(OBJEXT), careadlinkat.$(OBJEXT)): Fix
       editing out.
       msdos/sed2v2.inp (IS_DEVICE_SEP): Edit to match ':'.
       (IS_DIRECTORY_SEP, INTERNAL_TERMINAL): Fix Sed command syntax.
       (MSDOS): Define only if undefined, as MSDOS is a built-in macro,
       unless some std= switch to GCC is used.
       src/msdos.c (dos_set_window_size, IT_update_begin)
       (IT_frame_up_to_date, IT_set_frame_parameters): Use FVAR and WVAR
       instead of direct references.
    • Eli Zaretskii's avatar
    • Andreas Schwab's avatar
      * simple.el (list-processes): Doc fix. · 97ad0769
      Andreas Schwab authored
    • Andreas Schwab's avatar
      * simple.el (list-processes--refresh): For a server use :host or · 7fcc0070
      Andreas Schwab authored
      :local as the address.
    • Michal Nazarewicz's avatar
      * lisp/mpc.el: Support password in host argument. · 00340faf
      Michal Nazarewicz authored
      (mpc--proc-connect): Parse and use new password element.
      Set mpc-proc variable instead of returning process.
      (mpc-proc): Adjust accordingly.
    • Paul Eggert's avatar
      Export DEFAULT_REHASH_* to GDB. · 185ee146
      Paul Eggert authored
      Now constants, not macros.
  2. 03 Aug, 2012 17 commits
    • Paul Eggert's avatar
    • Paul Eggert's avatar
      Remove unnecessary casts involving pointers. · 98c6f1e3
      Paul Eggert authored
      These casts are no longer needed now that we assume C89 or later,
      since they involve casting to or from void *.
      * alloc.c (make_pure_string, make_pure_c_string, pure_cons)
      (make_pure_float, make_pure_vector):
      * macros.c (Fstart_kbd_macro):
      * menu.c (find_and_return_menu_selection):
      * minibuf.c (read_minibuf_noninteractive):
      * sysdep.c (closedir):
      * xdisp.c (x_produce_glyphs):
      * xfaces.c (compare_fonts_by_sort_order):
      * xfns.c (x_real_positions, select_visual):
      * xselect.c (x_stop_queuing_selection_requests)
      (x_get_window_property, x_get_window_property_as_lisp_data):
      * xterm.c (x_set_frame_alpha, x_find_modifier_meanings):
      Remove unnecessary pointer casts.
      * alloc.c (record_xmalloc): New function.
      * lisp.h (record_xmalloc): New decl.
      (SAFE_ALLOCA): Now takes just one arg -- the size -- and acts
      more like a function.  This is because the pointer cast is not
      needed.  All uses changed.
      * print.c (print_string, print_error_message): Avoid length recalc.
    • Paul Eggert's avatar
      Improve fix for macroexp crash with debugging. · 8834c57a
      Paul Eggert authored
      * lisp.h (ASET) [ENABLE_CHECKING]: Pay attention to
      ARRAY_MARK_FLAG when checking subscripts, because ASET is
      not supposed to be invoked from the garbage collector.
      See Andreas Schwab in <http://bugs.gnu.org/12118#25>.
      (gc_aset): New function, which is like ASET but can be
      used in the garbage collector.
      (set_hash_key, set_hash_value, set_hash_next, set_hash_hash)
      (set_hash_index): Use it instead of ASET.
    • Glenn Morris's avatar
      configure.ac whitespace trivia · ef834897
      Glenn Morris authored
      (Avoids some trailing whitespace in generated config.h.)
    • Juanma Barranquero's avatar
      * nt/config.nt: Sync with autogen/config.in. · 3fbc4b54
      Juanma Barranquero authored
      (DOS_NT, MSDOS): New macros.
      (WRETCODE, wait3): Remove.
      * nt/inc/ms-w32.h (DOS_NT): Remove; defined in config.nt.
      * lib-src/makefile.w32-in (LOCAL_FLAGS): Remove WINDOWSNT and DOS_NT,
      they are always defined in config.h.
    • Eli Zaretskii's avatar
      Fix whitespace-display-mappings. · 18949c2f
      Eli Zaretskii authored
       lisp/whitespace.el (whitespace-display-mappings): Use Unicode
       codepoints, instead of emacs-mule codepoints.  See
       for the details.
    • 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
       (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
       etc/NEWS: Announce the symlink support on MS-Windows.
    • Glenn Morris's avatar
      Auto-commit of generated files. · 09486324
      Glenn Morris authored
    • 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.
    • Eli Zaretskii's avatar
      Fix a typo in top-level ChangeLog. · bff2a4b8
      Eli Zaretskii authored
    • Chong Yidong's avatar
      Add NEWS entry for last change. · f85f636a
      Chong Yidong authored
    • Chong Yidong's avatar
    • Chong Yidong's avatar
      * sort.el (sort-regexp-fields): Doc fix. · 385b0198
      Chong Yidong authored
    • Tassilo Horn's avatar
      * textmodes/reftex.el (reftex-compile-variables): Make keyvals · b9e74744
      Tassilo Horn authored
      labels regex position point at the expected place.
    • 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.
    • 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
    • Paul Eggert's avatar
      Merge from gnulib. · f35ef0ed
      Paul Eggert authored
      2012-08-02 stat-time, timespec, u64: support naive out-of-dir builds
  3. 02 Aug, 2012 15 commits