1. 08 Sep, 2016 1 commit
    • Paul Eggert's avatar
      Update from gnulib · 12a7e0f8
      Paul Eggert authored
      This incorporates:
      2016-09-07 flexmember: new macro FLEXALIGNOF
      2016-09-07 flexmember: port better to GCC + valgrind
      2016-08-18 Port modules to use getprogname explicitly
      2016-09-02 manywarnings: add -fno-common
      * admin/merge-gnulib (GNULIB_TOOL_FLAGS): Don’t avoid flexmember,
      since time_rz now uses part of it.  Instead, remove m4/flexmember.m4.
      * configure.ac (AC_C_FLEXIBLE_ARRAY_MEMBER): Define away,
      since Emacs assumes C99 and therefore removes m4/flexmember.m4.
      * lib/euidaccess.c, lib/group-member.c, lib/time_rz.c:
      * m4/manywarnings.m4: Copy from gnulib.
      * lib/flexmember.h: New file, from gnulib.
      * lib/gnulib.mk, m4/gnulib-comp.m4: Regenerate.
      12a7e0f8
  2. 03 Aug, 2016 1 commit
    • Paul Eggert's avatar
      Require GnuTLS 2.12.2 or later · 64edd14c
      Paul Eggert authored
      * configure.ac, etc/NEWS: Require GnuTLS 2.12.2 or later,
      instead of merely 2.6.6 or later (Bug#23982#20).
      * src/gnutls.c (init_gnutls_functions, emacs_gnutls_handshake)
      [WINDOWSNT]: Don’t bother with gnutls_check_version or
      gnutls_transport_set_lowat, as they are no longer needed now that
      we require gnutls 2.12.2 or later.
      64edd14c
  3. 24 Jul, 2016 2 commits
  4. 15 Jul, 2016 1 commit
    • Paul Eggert's avatar
      Port to glibc 2.24 (pre-release) + ppc64 · e95b0231
      Paul Eggert authored
      Inspired by a suggestion by Florian Weimer in:
      https://sourceware.org/ml/libc-alpha/2016-07/msg00425.html
      * configure.ac (HAVE_PERSONALITY_ADDR_NO_RANDOMIZE):
      Rename from HAVE_PERSONALITY_LINUX32, and check for
      ADDR_NO_RANDOMIZE (the crucial thing) instead of for LINUX32.
      All uses changed.
      * src/emacs.c (main) [HAVE_PERSONALITY_ADDR_NO_RANDOMIZE]:
      Use ADDR_NO_RANDOMIZE from personality.h rather than inventing the
      flag ourselves.  Just set that flag, rather than also setting the
      persona.  When doing it, avoid functions like putenv that may
      allocate memory.
      e95b0231
  5. 14 Jul, 2016 1 commit
  6. 04 Jul, 2016 1 commit
    • Dmitry Antipov's avatar
      Cleanup XEditRes hack · e3ae3c44
      Dmitry Antipov authored
      * configure.ac [USE_X_TOOLKIT]: Define X_TOOLKIT_EDITRES if
      _XEditResCheckMessages is declared in X11/Xmu/Editres.h and may be
      linked with -lXmu.  This should work with any non-ancient Xmu library.
      * xfns.c (toplevel): Remove old cruft.
      (x_window) [USE_X_TOOLKIT]: Use X_TOOLKIT_EDITRES.
      * xterm.c (toplevel): Remove old cruft.
      (handle_one_xevent): Use X_TOOLKIT_EDITRES.
      * xterm.h (toplevel): Include X11/Xmu/Editres.h if X_TOOLKIT_EDITRES.
      e3ae3c44
  7. 14 Jun, 2016 1 commit
    • Ken Brown's avatar
      Remove system-specific -I switch from Cygwin-w32 build · 61cfd6ac
      Ken Brown authored
      Suggested by Eli Zaretskii in discussion of bug#18302.
      
      * src/image.c [HAVE_NTGUI]: Remove the unused macro
      PIXEL_ALREADY_TYPEDEFED.  On Cygwin, include "noX/xpm.h" instead of
      "X11/xpm.h".
      
      * configure.ac [CYGWIN && HAVE_W32]: Change the xpm test to use
      "noX/xpm.h".  Don't add a -I switch to CPPFLAGS.
      61cfd6ac
  8. 10 Jun, 2016 2 commits
    • NicolasPetton's avatar
      Bump version to 25.0.95 · e18ee60b
      NicolasPetton authored
      * README:
      * configure.ac:
      * lisp/ldefs-boot.el:
      * msdos/sed2v2.inp: Bump Emacs version to 25.0.95.
      e18ee60b
    • Paul Eggert's avatar
      Prefer getsockopt to getpeername on non-MS-Windows · 07b77b8e
      Paul Eggert authored
      * admin/CPP-DEFINES: Remove HAVE_GETPEERNAME.
      * configure.ac: Don’t check for getpeername.
      * src/process.c (wait_reading_process_output) [!WINDOWSNT]:
      Use getsockopt even if not GNU/Linux, as the platforms where
      getsockopt used to hang are no doubt long dead.
      07b77b8e
  9. 08 Jun, 2016 1 commit
  10. 07 Jun, 2016 1 commit
    • Paul Eggert's avatar
      Port --enable-gcc-warnings to clang 3.7.0 · 2f9d5473
      Paul Eggert authored
      * configure.ac: Add -Wno-tautological-compare to avoid bogus
      warnings about 0 <= rlim.rlim_max.  Remove flags that no longer
      seem to be needed, at least in Fedora 23 x86-64.
      2f9d5473
  11. 30 May, 2016 1 commit
    • Paul Eggert's avatar
      Port --enable-gcc-warnings to Cygwin, FreeBSD · cb379cbb
      Paul Eggert authored
      These platforms have a bug where _Noreturn is empty when 'lint' is
      defined.  Problem reported by Ken Brown (Bug#23640).
      * configure.ac (GCC_LINT): Rename from 'lint'.
      * src/conf_post.h (IF_LINT): Use GCC_LINT, not just 'lint’.
      cb379cbb
  12. 21 May, 2016 1 commit
    • Eli Zaretskii's avatar
      Fix compiler warnings in the MinGW build · cb5af792
      Eli Zaretskii authored
      * configure.ac [mingw32]: Don't add -Wpointer-sign, and add
      -Wno-pointer-sign, to keep the noise level down.
      
      * nt/mingw-cfg.site (gl_cv_warn_c__Wredundant_decls): Disable
      -Wredundant-decls, as that produces a lot of noise due to
      redeclaration of time-related functions by gnulib.
      * nt/runemacs.c (set_user_model_id): Fix argument type of
      'SetCurrentProcessExplicitAppUserModelID'.
      
      * src/image.c (x_create_bitmap_from_file) [HAVE_NTGUI]: Don't
      declare 'dpyinfo', as it is unused.
      (xpm_load): Fix warnings about pointer signedness.
      * src/w32proc.c (IsValidLocale, init_winsock): Remove redundant
      prototypes.
      (sys_spawnve): Avoid warnings about discarding 'const' qualifier.
      (sys_select): Provide prototype.
      (g_b_init_compare_string_w): Move declaration to file scope.
      * src/w32heap.c (dumped_data_commit): Now static.
      (FREEABLE_P): Avoid warnings about pointer comparison with integer.
      (mmap_realloc): Cast to 'char *' for arithmetics on void pointers.
      * src/w32console.c (ctrl_c_handler, sys_tputs, sys_tgetstr)
      (evalcost, cmputc, cmcheckmagic, cmcostinit, cmgoto, Wcm_clear):
      Provide prototypes.
      * src/w32.c (globals_of_w32, conv_sockaddr_to_lisp): Remove
      redundant prototypes.
      (w32_get_internal_run_time, map_w32_filename): Provide prototype.
      (init_environment, sys_ctime): Avoid warnings about discarding
      'const' qualifier.
      Include utimens.h.
      (sys_ctime, sys_chdir, sys_creat, sys_fopen, sys_mkdir)
      (sys_open, sys_rename, sys_rmdir, is_slow_fs, term_winsock)
      (sys_close, sys_dup2, sys_read, sys_write, sys_localtime): Provide
      prototypes.
      (sys_rename_replace): Use %d to avoid compiler warnings.
      (_wsa_errlist): Make the message text 'const char *', to avoid
      compilation warnings.
      (dynlib_reset_last_error): Move prototype to file scope.
      (w32_get_resource): First argument is now 'const char *'.
      * src/w32uniscribe.c (syms_of_w32uniscribe): Provide prototype.
      (otf_features): Second argument is no 'const char *'.
      * src/w32term.c (free_frame_menubar, x_wm_set_size_hint)
      (x_set_window_size): Remove redundant prototypes.
      (XChangeGC, XGetGCValues, w32_draw_underwave)
      (w32_draw_rectangle, w32_shift_glyphs_for_insert, x_mouse_leave)
      (x_calc_absolute_position, x_destroy_window): Now static.
      (menubar_selection_callback): Move prototype to file scope.
      * src/w32font.c (g_b_init_get_glyph_outline_w): Remove redundant
      declaration.
      (w32_to_x_charset): Fix warnings about discarding 'const' qualifier.
      (w32font_full_name): Fix warnings about implicit conversion of
      'float' to 'double'.
      * src/w32reg.c (w32_get_rdb_resource): Fix warnings about
      discarding 'const' qualifier.
      * src/w32menu.c (syms_of_w32menu, globals_of_w32menu)
      (set_frame_menubar): Remove redundant prototypes.
      (menubar_selection_callback, w32_menu_display_help): Provide
      prototypes.
      (simple_dialog_show): Avoid warnings about discarding 'const'
      qualifier.
      * src/w32fns.c (syms_of_w32fns, globals_of_w32fns)
      (free_frame_menubar, w32_strerror, x_set_menu_bar_lines)
      (x_set_tool_bar_lines, x_set_internal_border_width): Remove
      redundant prototypes.
      (current_popup_menu): Remove redundant declaration.
      (colormap_t): Member 'name' is now 'const char *'.
      (add_system_logical_colors_to_map): Fix signed/unsigned warnings.
      (x_decode_color, x_set_border_pixel)
      (x_clear_under_internal_border, x_set_name, hook_w32_key)
      (reset_w32_kbdhook_state, deliver_wm_chars, w32_backtrace): Now
      static.
      (w32_load_cursor, w32_key_to_modifier, map_keypad_keys)
      (w32_msg_worker, w32_last_error): Provide prototypes.
      (funhook, lookup_vk_code): Avoid warnings about missing
      parentheses.
      (x_default_font_parameter, Fw32_notification_notify): Avoid
      warnings about discarding 'const' qualifier.
      (Fx_create_frame): Avoid warnings about empty body of 'else'.
      (x_screen_planes): Ifdef away unused function.
      (Fx_show_tip): Remove unused variables.
      (Fw32_battery_status): Avoid warnings about implicit promotion
      from float to double.
      (Fw32_notification_notify): Initialize 'timeout'.
      * src/profiler.c (profiler_cpu_running) [HAVE_ITIMERSPEC]: Only
      define the TIMER_SETTIME_RUNNING value if it will be used.
      * src/w32notify.c (send_notifications): Ifdef away an empty if
      clause.  Remove unused variable.
      (watch_end, watch_completion): Provide prototypes.
      * src/sound.c (sound_warning) [WINDOWSNT]: Don't define: unused.
      * src/callproc.c (child_setup, getenv_internal_1) [WINDOWSNT]: Fix
      warning with pointer signedness.
      * src/gnutls.c (gnutls_x509_crt_get_signature)
      (gnutls_alert_send_appropriate) [WINDOWSNT]: Don't define, and
      don't load them from the GnuTLS library, as they are no longer
      used.
      * src/process.c (DATAGRAM_CHAN_P) [!DATAGRAM_SOCKETS]: Don't
      define, as it's unused.
      * src/unexw32.c (open_input_file, open_output_file)
      (close_file_data): Remove redundant prototypes.
      (_start): provide prototype.
      (mainCRTStartup): Move prototype to file level.
      (find_section): Use type-cast to shut up compiler warnings.
      (offset_to_section, relocate_offset): Now static.
      (find_section): First argument is now a 'const char *'.
      (offset_to_section): Ifdef away, as it's unused.
      * src/w32heap.h (find_section): Adjust prototype.
      * src/dynlib.c (dynlib_reset_last_error): Provide prototype.
      * src/dired.c (directory_files_internal_w32_unwind): Avoid
      warnings about missing prototypes.
      (is_slow_fs) [WINDOWSNT]: Provide prototype at file level.
      (directory_files_internal) [WINDOWSNT]: Fix warnings about pointer
      signedness.
      * src/fileio.c (Ffile_writable_p, Ffile_regular_p) [WINDOWSNT]:
      Fix warnings about pointer signedness.
      * src/filelock.c (WTMP_FILE) [WINDOWSNT]: Don't define, it's
      unused.
      * src/sysdep.c (_getpid): Remove redundant prototype.
      (sys_subshell) [DOS_NT]: Don't define 'status', it's unused.
      [!MSDOS]: Don't define 'st', it's unused.
      (init_sys_modes) [DOS_NT]: Don't define 'terminal', it's unused.
      (str_collate) [WINDOWSNT]: Avoid warnings about pointer signedness.
      * src/keyboard.c (tty_read_avail_input) [WINDOWSNT]: Don't define
      n_to_read, as it is not used.
      (MAX_ENCODED_BYTES) [WINDOWSNT]: Don't define, as it's unused.
      * src/w32font.h (syms_of_w32font): Remove redundant prototype.
      * src/xfaces.c (x_display_info) [HAVE_NTGUI]: Remove unused macro.
      * src/term.c (init_tty) [DOS_NT]: Ifdef away variables that are
      not used by DOS_NT builds, to avoid compiler warnings.
      * src/menu.c (current_popup_menu) [HAVE_NTGUI]: Remove redundant
      declaration.
      * src/dispnew.c (init_display) [WINDOWSNT]: Use type-cast to shut
      up compiler warnings.
      * src/w32term.h (x_set_window_size, x_get_focus_frame)
      (x_make_frame_visible, x_make_frame_invisible, x_iconify_frame)
      (x_set_frame_alpha, x_activate_menubar, x_bitmap_icon)
      (x_free_frame_resources, x_real_positions)
      (display_x_get_resource): Remove redundant prototypes.
      
      * lib-src/ntlib.c (sys_ctime, sys_fopen, sys_chdir, mkostemp)
      (sys_rename, gettimeofday): Provide prototypes.
      * lib-src/ntlib.h (getuid, geteuid, mkostemp): Remove redundant
      declarations.
      * lib-src/emacsclient.c (w32_getenv): Argument is now 'const char *'.
      (xstrdup, w32_get_resource, w32_window_app, w32_execvp, ttyname)
      (close_winsock, initialize_sockets, w32_set_user_model_id)
      (w32_find_emacs_process, w32_give_focus) [WINDOWSNT]: Add
      prototypes.
      (w32_get_resource) [WINDOWSNT]: Fix a warning about signedness
      difference.
      (w32_set_user_model_id): Update prototype of
      SetCurrentProcessExplicitAppUserModelID to avoid compiler
      warnings.
      (start_daemon_and_retry_set_socket) [WINDOWSNT]: Use type-cast to
      shut up compiler warnings.
      * lib-src/etags.c (MAXPATHLEN) [WINDOWSNT]: Remove unused macro.
      cb5af792
  13. 18 May, 2016 1 commit
    • Paul Eggert's avatar
      Port --enable-gcc-warnings to GCC 6.1 · 374f6a5f
      Paul Eggert authored
      * configure.ac (WERROR_CFLAGS): Omit -Wunused-const-variable=2.
      * lib-src/etags.c (LOOKING_AT, LOOKING_AT_NOCASE):
      Omit test whether pointer plus a constant equals a null pointer.
      * src/alloc.c (compact_small_strings):
      Avoid pointer arithmetic on null pointers.
      * src/alloc.c (mark_face_cache):
      * src/fontset.c (free_realized_fontsets, Fset_fontset_font):
      * src/fringe.c (draw_fringe_bitmap_1)
      (Fset_fringe_bitmap_face):
      * src/macfont.m (macfont_draw):
      * src/msdos.c (IT_set_face, IT_clear_screen):
      * src/nsfont.m (nsfont_draw):
      * src/nsterm.h (FRAME_DEFAULT_FACE):
      * src/nsterm.m (ns_draw_window_cursor)
      (ns_draw_vertical_window_border, ns_draw_window_divider)
      (ns_dumpglyphs_box_or_relief)
      (ns_maybe_dumpglyphs_background, ns_dumpglyphs_image)
      (ns_dumpglyphs_stretch):
      * src/w32term.c (w32_draw_vertical_window_border)
      (w32_draw_window_divider, x_set_mouse_face_gc):
      * src/xdisp.c (estimate_mode_line_height, init_iterator)
      (handle_face_prop, handle_single_display_spec, pop_it)
      (CHAR_COMPOSED_P, get_next_display_element)
      (next_element_from_display_vector, extend_face_to_end_of_line)
      (fill_gstring_glyph_string,BUILD_COMPOSITE_GLYPH_STRING):
      * src/xfaces.c (Finternal_merge_in_global_face, Fface_font)
      (lookup_named_face):
      * src/xterm.c (x_draw_vertical_window_border)
      (x_draw_window_divider, x_set_mouse_face_gc):
      Prefer FACE_OPT_FROM_ID to FACE_FROM_ID when the result might be null.
      * src/xterm.c (try_window_id):
      Redo loop to convince GCC 6.1 that it is null pointer safe.
      (x_color_cells):
      Use eassume as necessary to pacify GCC 6.1.
      * src/dispextern.h (FACE_FROM_ID, IMAGE_FROM_ID): Now returns non-null.
      (FACE_OPT_FROM_ID, IMAGE_OPT_FROM_ID): New macro, with the old
      behavior of the non-_OPT macro, to be used when the result
      might be a null pointer.
      * src/dispnew.c (buffer_posn_from_coords, marginal_area_string)
      [HAVE_WINDOW_SYSTEM]:
      * src/intervals.h (INTERVAL_WRITABLE_P):
      * src/term.c (turn_off_face):
      * src/xdisp.c (get_glyph_face_and_encoding, fill_image_glyph_string)
      (produce_image_glyph, produce_xwidget_glyph):
      * src/xfaces.c (lookup_named_face):
      Remove unnecessary test for null pointer.
      * src/keyboard.c (read_char): Suppress bogus -Wclobbered warning.
      * src/process.c (would_block): New function.
      (server_accept_connection, wait_reading_process_output, send_process):
      Use it.
      * src/xdisp.c (get_window_cursor_type, note_mouse_highlight):
      Prefer IMAGE_OPT_FROM_ID to IMAGE_FROM_ID when the result
      might be null.
      374f6a5f
  14. 17 May, 2016 1 commit
  15. 27 Apr, 2016 1 commit
    • Paul Eggert's avatar
      Port dumping to NetBSD with PaX · 734fb3ac
      Paul Eggert authored
      Problem reported by Thomas Klausner (Bug#23371).
      * configure.ac (PAXCTL_dumped, PAXCTL_notdumped): New vars.
      Set them to setfattr and/or paxctl commands appropriate for
      GNU/Linux and/or NetBSD; the latter prefers paxctl +a.  Search
      for paxctl only if setfattr is not found.
      * src/Makefile.in (PAXCTL_dumped, PAXCTL_notdumped):
      New vars, replacing PAXCTL_if_present and SETFATTR_if_present.
      All uses changed.
      734fb3ac
  16. 22 Apr, 2016 1 commit
  17. 21 Apr, 2016 1 commit
  18. 20 Apr, 2016 1 commit
  19. 18 Apr, 2016 1 commit
    • Paul Eggert's avatar
      Minor fixups for external socket launching · 531c9a43
      Paul Eggert authored
      * configure.ac (HAVE_LIBSYSTEMD): Change earliest version to 222.
      * doc/emacs/misc.texi (Emacs Server):
      * etc/NEWS: Spelling and doc fixes.
      * src/emacs.c (main) [HAVE_LIBSYSTEMD]:
      Check for sd_is_socket returning positive, not zero.
      * src/process.c (external_sock_fd): Instead of initializing here ...
      (init_process_emacs): ... initialize it here, so that it does the
      right thing after dump/restore.
      (connect_network_socket): Simplify socket_to_use test.
      531c9a43
  20. 17 Apr, 2016 1 commit
  21. 16 Apr, 2016 2 commits
    • Glenn Morris's avatar
    • Matthew Leach's avatar
      Add external socket launching support · e390b7b5
      Matthew Leach authored
      * src/process.c (connect_network_socket): Allow a pre-allocated socket
      descriptor to be used if passed to Emacs, avoiding the call to
      'socket' and 'bind'.
      (Fmake_network_process): Allow users to pass ':use-external-socket' in
      the parameter plist to use any sockets that have been passed to Emacs.
      (wait_reading_process_output): Call 'socket' and 'bind' every time.
      (syms_of_process): New symbol ':use-external-socket'.
      (set_external_socket_descriptor): New function.
      (external_sock_fd): New variable.
      * src/lisp.h: (set_external_socket_descriptor): New declaration.
      * src/emacs.c (main): Call 'sd_listen_fds' to read the number of sockets
      passed and call 'set_external_socket_descriptor' to set the external
      socket.
      * src/Makefile.in: Add libsystemd library and C flags to the Emacs
      compilation options.
      
      * configure.ac: Add new default-on option "systemd" and check for
      libsystemd at configure time.
      
      * lisp/server.el (server-start): Set ':use-external-socket' to 't' when
      calling 'make-network-process'.
      
      * etc/NEWS: Document new socket-passing functionality and the configure
      option to disable systemd interaction.
      
      * doc/emacs/misc.texi (Emacs Server): Document systemd socket passing
      functionality and provide systemd unit examples.
      * doc/lispref/processes.texi (Network Processes): Document new
      'make-network-process' option ':use-external-socket'.
      e390b7b5
  22. 15 Apr, 2016 1 commit
  23. 13 Apr, 2016 1 commit
    • Paul Eggert's avatar
      Do not require that .git be a directory · 1aebe991
      Paul Eggert authored
      Problem reportyed by Phillip Lord.
      * admin/update_autogen, autogen.sh, build-aux/gitlog-to-emacslog:
      * configure.ac, make-dist:
      Do not require that .git be a directory, as 'git worktree' makes
      it a file and not a directory.
      1aebe991
  24. 05 Apr, 2016 2 commits
    • Paul Eggert's avatar
      ; Spelling fix · e2c117a2
      Paul Eggert authored
      e2c117a2
    • Paul Eggert's avatar
      Enable GCC warnings in developer builds · 5baecbc0
      Paul Eggert authored
      However, do not fail; just issue the warnings.  Add an option
      --enable-gcc-warnings=warn-only to configure, to implement this.
      * INSTALL, etc/NEWS: Document this.
      * configure.ac (gl_GCC_VERSION_IFELSE): New macro, from coreutils.
      (gl_gcc_warnings, WERROR_CFLAGS): Use it to add new option.
      Don’t treat --with-x-toolkit=no as a special case when configuring
      warnings.
      5baecbc0
  25. 15 Mar, 2016 1 commit
    • Paul Eggert's avatar
      Port to clang 3.7.0 on x86-64 · 7950e1dd
      Paul Eggert authored
      * configure.ac: Use AS_IF so that gl_WARN_ADD’s prerequisites are
      not done conditionally.  This helps clang, which needs
      -Wunknown-warning-option later when configured with warnings.
      * src/editfns.c (invalid_time): Now _Noreturn, since clang isn’t
      smart enough to figure this out on its own if warnings are enabled.
      (lisp_time_struct): Redo for clarity, and to pacify clang.
      * src/xfns.c (x_real_pos_and_offsets) [USE_XCB]: Don’t use
      uninitialized locals.  This avoids undefined behavior and pacifies
      clang.
      7950e1dd
  26. 10 Mar, 2016 2 commits
    • Ken Raeburn's avatar
      Don't use XRANDR 1.3 extensions if the server doesn't support them. · 8b8a6ad3
      Ken Raeburn authored
      * src/xterm.h (struct x_display_info): Add fields to save XRANDR
      version number.
      * src/xfns.c (x_get_monitor_attributes): Save the version numbers
      after querying the X server.
      (x_get_monitor_attributes_xrandr): Don't use XRRGetOutputPrimary or
      XRRGetScreenResourcesCurrent if the server doesn't support at least
      RANDR version 1.3.  Conditionalize the code blocks on compiling
      against library version 1.3 or better, rather than feature tests for
      each function.
      * configure.ac: Stop testing for those two functions.
      8b8a6ad3
    • Paul Eggert's avatar
      Rework C source files to avoid ^( · 7352c6c6
      Paul Eggert authored
      Work around Bug#22884 by rewording comments and strings to avoid ‘(’
      at the start of a line unless it starts a function.  This change
      is a short-term hack; in the longer run we plan to fix cc-mode’s
      performance for C files that have ‘(’ at the start of a line in a
      comment or string.
      7352c6c6
  27. 08 Mar, 2016 1 commit
    • Paul Eggert's avatar
      Assume getaddrinfo in C code · 59c7a5d7
      Paul Eggert authored
      * admin/CPP-DEFINES, configure.ac: Remove HAVE_GETADDRINFO, HAVE_H_ERRNO.
      All uses removed.
      * doc/lispref/processes.texi (Network, Network Processes), etc/NEWS:
      Say that port numbers can be integer strings.
      * lib-src/pop.c (h_errno) [!WINDOWSNT && !HAVE_H_ERRNO]: Remove decl.
      (socket_connection): Assume HAVE_GETADDRINFO.
      * lisp/mpc.el (mpc--proc-connect):
      * lisp/net/network-stream.el (open-network-stream):
      It’s now OK to use integer strings as port numbers.
      * src/process.c (conv_numerical_to_lisp) [!HAVE_GETADDRINFO]: Remove.
      (Fmake_network_process): Assume HAVE_GETADDRINFO.
      59c7a5d7
  28. 07 Mar, 2016 1 commit
    • Paul Eggert's avatar
      Remove support for IRIX · 6bc8689c
      Paul Eggert authored
      The IRIX port wasn’t really working anyway, and the code was
      getting in the way of other changes (e.g., getaddrinfo fixes).
      IRIX’s supplier dropped support for IRIX in 2013.
      * admin/CPP-DEFINES:
      * configure.ac (opsys):
      * doc/lispref/os.texi (System Environment):
      * etc/MACHINES, etc/PROBLEMS:
      * lisp/find-dired.el (find-grep-options):
      * lisp/lpr.el (lpr-lp-system):
      * lisp/ls-lisp.el (ls-lisp-emulation):
      * lisp/mail/rmail.el (rmail-spool-directory):
      * lisp/net/net-utils.el (ping-program-options):
      * lisp/progmodes/gud.el (gud-irix-p, gud-dbx-use-stopformat-p):
      * lisp/progmodes/ps-mode.el (ps-mode-print-function):
      * src/conf_post.h [IRIX6_5]:
      * src/emacs.c (Vsystem_type):
      * src/filelock.c (get_boot_time_1):
      * src/process.c (process_send_signal):
      * src/unexelf.c (unexec):
      Omit IRIX-specific code and/or documentation.
      * configure.ac (NON_GCC_TEST_OPTIONS, IRIX6_5, PREFER_VSUSP):
      Remove.  All uses removed.
      * etc/NEWS: Document the change.
      6bc8689c
  29. 02 Mar, 2016 3 commits
    • Paul Eggert's avatar
      Deterministic build improvements · 65f69265
      Paul Eggert authored
      * configure.ac (BUILD_DETAILS): Rename from DETERMINISTIC_DUMP,
      and negate its sense.  Use it via AC_SUBST, not AC_DEFINE,
      and have its value be either empty or --no-build-details.
      All uses changed.  Change option to --disable-build-details.
      * doc/lispref/cmdargs.texi (Initial Options):
      Document --no-build-details.
      * doc/lispref/internals.texi (Building Emacs):
      * etc/NEWS:
      Document --disable-build-details.
      * doc/lispref/intro.texi (Version Info): Say that
      emacs-build-time can be nil.
      * lisp/erc/erc-compat.el (erc-emacs-build-time):
      Now nil if details are omitted.
      * lisp/erc/erc.el (erc-cmd-SV):
      * lisp/version.el (emacs-build-time):
      Now nil if no build details.
      (emacs-version):
      Output build time only if build details.
      * src/Makefile.in (BUILD_DETAILS): New macro.
      (temacs, bootstrap-emacs): Use it.
      * src/emacs.c (build_details): New var.
      (standard_args, main): Support --no-build-details.
      (Vdeterministic_dump): Remove; all uses replaced
      by !build_details.
      (syms_of_emacs): Set Vbuild_details to a boolean, not
      to a Lisp_Object.
      * src/lisp.h (build_details): New decl.
      * src/sysdep.c (init_system_name): When !build_details,
      set system-name to nil, not to "elided".
      65f69265
    • Philipp Stephani's avatar
      Remove build system name from deterministic dumps · d5a18a93
      Philipp Stephani authored
      * configure.ac (DETERMINISTIC_DUMP): New configuration option.
      * lisp/version.el (emacs-build-time): Add a comment to make the
      build time deterministic if requested.
      (emacs-build-system): Make variable deterministic if requested.
      * src/emacs.c (main): Initialize `deterministic-dump' from the
      configuration option.
      (syms_of_emacs): New constant `deterministic-dump'.
      * src/sysdep.c (init_system_name): Use a constant
      if a deterministic dump is requested.
      d5a18a93
    • NicolasPetton's avatar
      Bump version to 25.0.92 · 041a140d
      NicolasPetton authored
      * README:
      * configure.ac:
      * msdos/sed2v2.inp: Bump version to 25.0.92.
      041a140d
  30. 29 Feb, 2016 1 commit
    • Paul Eggert's avatar
      Stop calling res_init · 93bf7d52
      Paul Eggert authored
      Emacs shouldn’t need to call res_init any more, now that nscd or
      equivalent is everywhere.  On modern systems, calling res_init
      simply slows Emacs down.  On ancient systems lacking nscd Emacs
      will still work well enough with this change; it’s just that it
      won’t respond to changes in /etc/resolv.conf.
      * configure.ac (HAVE_RES_INIT): Remove.  Worry about -lresolv only
      when configured --with-hesiod.  Hesiod is still used; see, e.g.:
      https://soylentnews.org/meta/article.pl?sid=15/07/13/0255214
      * src/Makefile.in (LIBRESOLV): Remove.  All uses removed.
      93bf7d52
  31. 26 Feb, 2016 1 commit
    • Paul Eggert's avatar
      --enable-gcc-warnings now uses -Wjump-misses-init · e35f99f2
      Paul Eggert authored
      When configuring with --enable-gcc-warnings, also enable
      -Wjump-misses-init, as it’s confusing to use a goto to skip over
      an initialization.  Fix the few places in the code that run afoul
      of this warning.
      * configure.ac (WERROR_CFLAGS): Add -Wjump-misses-init.
      * src/doc.c (Fsubstitute_command_keys):
      * src/image.c (svg_load_image):
      * src/regex.c (re_match_2_internal):
      * src/xdisp.c (redisplay_internal, redisplay_window):
      Don’t jump over initialization.
      e35f99f2
  32. 13 Feb, 2016 1 commit
  33. 11 Feb, 2016 1 commit