1. 26 Nov, 2019 1 commit
    • Robert Pluim's avatar
      Extend network-interface-list to return IPv6 and network info · 650a514e
      Robert Pluim authored
      Bug#38218
      
      * src/process.c (Fnetwork_interface_list): Extend argument list to
      allow requesting full network info and/or IPv4/IPv6 info.
      (network_interface_list) [HAVE_GETIFADDRS]: Use getifaddrs to retrieve
      interface IP addresses.
      
      * src/process.h: Update prototype of network_interface_list.
      
      * src/w32.c (g_b_init_get_adapters_addresses): New init flag.
      (globals_of_w32): Initialize it.
      (GetAdaptersAddresses_Proc): New function typedef.
      (get_adapters_addresses): New wrapper function.
      (init_winsock): Load htonl and ntohl.
      (sys_htonl, sys_ntohl): New wrapper functions.
      (network_interface_list): Implement in terms of
      get_adapters_addresses.
      
      * nt/inc/sys/socket.h: Add sys_htonl and sys_ntohl prototypes.
      
      * etc/NEWS: Announce IPv4/IPv6 changes in network-interface-list.
      
      * doc/lispref/processes.texi (Misc Network): Document updated arglist
      and return values for network-interface-list.
      650a514e
  2. 09 Nov, 2019 1 commit
  3. 30 Aug, 2019 1 commit
  4. 21 Aug, 2019 1 commit
  5. 24 Jun, 2019 1 commit
    • Eli Zaretskii's avatar
      Fix MS-Windows build as followup to pdumper executable lookup · 9f5f5ae6
      Eli Zaretskii authored
      * src/w32.c (w32_my_exename): New function.
      * src/w32.h (w32_my_exename): Add prototype.
      * src/emacs.c (load_pdump_find_executable) [WINDOWSNT]: Find
      the actual file name of the program without looking along
      PATH, by calling w32_my_exename.
      
      * nt/mingw-cfg.site (ac_cv_func_canonicalize_file_name)
      (ac_cv_func_realpath, gl_cv_func_realpath_works): Disable
      testing.
      * nt/gnulib-cfg.mk (OMIT_GNULIB_MODULE_canonicalize-lgpl): Set
      to true.
      9f5f5ae6
  6. 12 Jun, 2019 1 commit
  7. 08 Jun, 2019 1 commit
  8. 07 Jun, 2019 2 commits
  9. 31 May, 2019 1 commit
  10. 14 May, 2019 1 commit
  11. 20 Apr, 2019 1 commit
  12. 14 Apr, 2019 1 commit
  13. 11 Apr, 2019 1 commit
  14. 20 Feb, 2019 1 commit
  15. 04 Feb, 2019 1 commit
    • Eli Zaretskii's avatar
      Support (locale-info 'paper) on MS-Windows · f37000ae
      Eli Zaretskii authored
      * src/w32proc.c (LOCALE_IPAPERSIZE): Define if undefined.
      (nl_langinfo): Support _NL_PAPER_WIDTH and _NL_PAPER_HEIGHT
      like glibc does.
      * src/fns.c (Flocale_info): Update the doc string.
      
      * nt/inc/langinfo.h: Add _NL_PAPER_WIDTH and _NL_PAPER_HEIGHT
      to the enumeration.
      (_NL_PAPER_WIDTH, _NL_PAPER_HEIGHT): Define namesake macros.
      * nt/mingw-cfg.site (emacs_cv_langinfo__nl_paper_width): Set
      to 'yes'.
      
      * doc/lispref/nonascii.texi (Locales): Update the
      documentation of 'locale-info' for the argument of 'paper'.
      
      * etc/NEWS: Update the locale-info entry.
      f37000ae
  16. 07 Jan, 2019 1 commit
  17. 01 Jan, 2019 2 commits
  18. 03 Dec, 2018 1 commit
    • Eli Zaretskii's avatar
      Fix WINDOWSNT/DOS_NT build · 2ff9dca1
      Eli Zaretskii authored
      Recent changes in sysdep.c and emacsclient unnecessarily
      removed useful code from DOS_NT builds.  This changeset
      reinstates that code.
      * nt/inc/ms-w32.h (tcdrain): Redirect to _commit.
      (fdatasync): No need to redirect anymore.
      
      * lib-src/emacsclient.c (flush_stdout): Don't avoid calling
      tcdrain on DOS_NT platforms.
      
      * src/sysdep.c (reset_sys_modes): Don't ifdef away the call to
      tcdrain on DOS_NT platforms.
      2ff9dca1
  19. 25 Nov, 2018 2 commits
  20. 12 Nov, 2018 1 commit
  21. 18 Aug, 2018 1 commit
  22. 29 Jul, 2018 1 commit
  23. 28 Jul, 2018 2 commits
  24. 28 May, 2018 1 commit
  25. 30 Apr, 2018 1 commit
  26. 29 Apr, 2018 1 commit
  27. 05 Apr, 2018 1 commit
  28. 12 Jan, 2018 1 commit
  29. 01 Jan, 2018 2 commits
  30. 10 Dec, 2017 1 commit
    • Eli Zaretskii's avatar
      Support dynamic loading of libjansson on MS-Windows · 2b8a1b76
      Eli Zaretskii authored
      * src/json.c [WINDOWSNT]: Define fn_* function pointers to jansson
      functions.
      (json_delete) [WINDOWSNT]: A wrapper around fn_json_delete, needed
      by json_decref.
      (init_json_functions) [WINDOWSNT]: New function.
      (Fjson_serialize, Fjson_insert, Fjson_parse_string)
      (Fjson_parse_buffer) [WINDOWSNT]: Call init_json_functions if
      needed, and record JSON in Vlibrary_cache.
      * src/emacs.c (main): Don't call init_json on WINDOWSNT.
      * src/w32fns.c (syms_of_w32fns): DEFSYM "json".
      
      * lisp/term/w32-win.el (dynamic-library-alist): Add JSON DLL to
      the list.
      
      * configure.ac (HAVE_JSON): Empty JSON_LIBS for MinGW.
      
      * nt/INSTALL.W64:
      * nt/INSTALL: Add information about libjansson.
      2b8a1b76
  31. 26 Nov, 2017 1 commit
  32. 21 Nov, 2017 1 commit
    • Noam Postavsky's avatar
      Update nt/INSTALL.W64 (Bug#28601) · 7ab76031
      Noam Postavsky authored
      * nt/INSTALL.W64 (Download and install MinGW-w64 and MSYS2): Move
      suggestion about modifying PATH to...
      (Test Emacs): ... here.
      (Run configure): Remove the unnecessary setting of PKG_CONFIG_PATH.
      (Troubleshooting): New section, includes suggestion to check
      PKG_CONFIG_PATH.
      7ab76031
  33. 03 Nov, 2017 1 commit
  34. 11 Oct, 2017 1 commit
  35. 02 Oct, 2017 1 commit
    • Paul Eggert's avatar
      Port file-system-info to non-Microsoft · 135bca57
      Paul Eggert authored
      * admin/merge-gnulib (GNULIB_MODULES): Add fsusage.
      * doc/emacs/files.texi (Directories): Remove documentation of
      now-obsolete directory-free-space-program and
      directory-free-space-args.
      * etc/NEWS: Mention change.
      * etc/PROBLEMS: Slow df is no longer a problem.
      * lib/fsusage.c, lib/fsusage.h, m4/fsusage.m4:
      New files, copied from Gnulib.
      * lib/gnulib.mk.in, m4/gnulib-comp.m4: Regenerate.
      * lisp/dired.el (dired-free-space-program)
      (dired-free-space-args): These aliases are now obsolete.
      * lisp/files.el (directory-free-space-program)
      (directory-free-space-args): Now obsolete.
      (get-free-disk-space): Just call file-system-info instead
      of the now-obsolete directory-free-space-program.
      * nt/gnulib-cfg.mk (OMIT_GNULIB_MODULE_fsusage): New macro.
      * src/fileio.c: Include fsusage.h.
      (blocks_to_bytes, Ffile_system_info) [!DOS_NT]: New functions.
      (syms_of_fileio) [!DOS_NT]: Defsubr file-system-info.
      135bca57