Call `select' for interrupted `connect' rather than creating new socket (Bug#5173).
[bpt/emacs.git] / src / ChangeLog
index 7277400..870c805 100644 (file)
@@ -1,3 +1,354 @@
+2010-03-25  Helmut Eller  <eller.helmut@gmail.com>
+
+       * process.c (Fmake_network_process): Call `select' for interrupted
+       `connect' rather than creating new socket (Bug#5173).
+
+2010-03-24  Jan Djärv  <jan.h.d@swipnet.se>
+
+       * frame.c (x_get_arg): Handle RES_TYPE_BOOLEAN_NUMBER (bug #5736).
+
+       * xfns.c (Fx_create_frame): Make menuBar a RES_TYPE_BOOLEAN_NUMBER.
+
+       * dispextern.h (resource_types): RES_TYPE_BOOLEAN_NUMBER is new.
+
+2010-03-24  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
+
+       * xfns.c (Fx_create_frame) [USE_LUCID]: Add BLOCK_INPUT around
+       XLoadQueryFont.
+
+2010-03-24  Kenichi Handa  <handa@m17n.org>
+
+       * coding.c (decode_coding_ccl): Fix previous change for the
+       multibyte case.
+       (encode_coding_ccl): Don't setup ccl program here.  Fix for the
+       case that the output buffer is fullfilled.
+       (encode_coding): Setup ccl program here.
+
+2010-03-24  Andreas Politz  <politza@fh-trier.de>  (tiny change)
+
+       * editfns.c (Fformat): Account for string precision when computing
+       field width (Bug#5710).
+
+2010-03-23  Dan Nicolaescu  <dann@ics.uci.edu>
+
+       * s/gnu-linux.h (LIBS_SYSTEM): Remove, same as default.
+
+       Simplify LIBS_MACHINE definitions.
+       * m/hp800.h (LIBS_MACHINE): Remove, same as default.
+       * m/iris4d.h (LIBS_MACHINE): Likewise.
+       * m/ibmrs6000.h (LIBS_MACHINE): Rename to LIBS_SYSTEM and move ...
+       * s/aix4-2.h (LIBS_SYSTEM): ... here.
+       * s/netbsd.h: Remove commented out code.
+
+2010-03-22  Dan Nicolaescu  <dann@ics.uci.edu>
+
+       Remove dead code dealing with POSIX_SIGNALS.
+       * atimer.c (set_alarm): Remove dead code, all USG systems define
+       POSIX_SIGNALS.
+       * data.c (arith_error): Likewise.
+       * keyboard.c (input_available_signal, handle_user_signal)
+       (interrupt_signal): Likewise.
+       * process.c (sigchld_handler): Likewise.
+       (create_process): Remove if 0 code.  Remove HPUX conditional when
+       !defined (POSIX_SIGNALS), it cannot be true.
+       * syssignal.h: Remove USG5_4 and USG conditionals when
+       !POSIX_SIGNALS, they cannot be true.
+
+       * keyboard.c (Fset_input_interrupt_mode): Remove code depending on
+       NO_SOCK_SIGIO, not used anymore.
+
+2010-03-21  Dan Nicolaescu  <dann@ics.uci.edu>
+
+       * m/vax.h (BSD_SYSTEM, BSD4_2): Remove conditionals, we only
+       support vax on BSDs.
+
+       * m/ibmrs6000.h (ORDINARY_LINK): Move definition ...
+       * s/aix4-2.h (ORDINARY_LINK): ... here.
+
+2010-03-21  Andreas Schwab  <schwab@linux-m68k.org>
+
+       * Makefile.in (abs_builddir): Define.
+       (bootstrap_exe): Use it.
+       (VPATH): Use $(srcdir) instead of @srcdir@.
+
+2010-03-20  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * Makefile.in (bootstrap_exe): Use an absolute name.
+
+2010-03-20  Dan Nicolaescu  <dann@ics.uci.edu>
+
+       Remove support for old GNU/Linux using libc version 5.
+       * m/alpha.h (LINUX_SBRK_BUG): Remove definition.
+       * emacs.c (main): Remove code depending on LINUX_SBRK_BUG.
+
+       Consolidate redundant definitions in s/bsd-common.h.
+       * s/bsd-common.h (BSD4_2, TABDLY, TAB3, HAVE_TERMIOS, NO_TERMIO)
+       (LIBS_DEBUG, SYSV_SYSTEM_DIR, UNEXEC, NARROWPROTO, BSD_PGRPS)
+       (LDAV_SYMBOL, KERNEL_FILE): Define (or undefine) here instead of
+       doing it in all files that include this one.
+       * s/gnu.h (BSD4_2, TABDLY, TAB3, HAVE_TERMIOS, NO_TERMIO)
+       (LIBS_DEBUG, SYSV_SYSTEM_DIR, UNEXEC, NARROWPROTO, BSD_PGRPS)
+       (LDAV_SYMBOL, KERNEL_FILE): Remove.
+       * s/freebsd.h (BSD4_2, TABDLY, TAB3, HAVE_TERMIOS, NO_TERMIO)
+       (LIBS_DEBUG, SYSV_SYSTEM_DIR, UNEXEC, NARROWPROTO, BSD_PGRPS)
+       (LDAV_SYMBOL, KERNEL_FILE): Remove.
+       * s/netbsd.h (BSD4_2, TABDLY, TAB3, HAVE_TERMIOS, NO_TERMIO)
+       (LIBS_DEBUG, SYSV_SYSTEM_DIR, UNEXEC, NARROWPROTO, BSD_PGRPS)
+       (LDAV_SYMBOL, KERNEL_FILE): Remove.
+
+       Consolidate redundant definitions.
+       * s/usg5-4.h (sigsetmask, PTY_TTY_NAME_SPRINTF): Do not define,
+       it's undefined in all files that include this one.
+       (POSIX_SIGNALS): Define here instead of doing it in all files that
+       include this one.
+       * s/irix6-5.h (sigsetmask, PTY_TTY_NAME_SPRINTF): Do not undef.
+       (POSIX_SIGNALS): Do not define.
+       * s/sol2-6.h (sigsetmask, PTY_TTY_NAME_SPRINTF): Do not undef.
+       (POSIX_SIGNALS): Do not define.
+       * s/unixware.h (sigsetmask, PTY_TTY_NAME_SPRINTF): Do not undef.
+       (POSIX_SIGNALS): Do not define.
+
+       Remove support for old UNIX System V systems.
+       * s/unixware.h: Add the contents of s/usg-5-4-2.h.
+       * s/usg-5-4-2.h: Remove.
+
+       Remove support for Solaris on PPC and for old versions.
+       * s/sol2-6.h: Add the contents of s/sol-2.3.h, s/sol-2.4.h, s/sol-2.5.h.
+       (LD_SWITCH_SYSTEM, USE_MMAP_FOR_BUFFERS): Remove #defines/#undef
+       that cancel each other.
+       * s/sol2-3.h:
+       * s/sol2-4.h:
+       * s/sol2-5.h: Remove.
+       * m/ibmrs6000.h: Remove code for USG5_4, this file is only used on AIX.
+       (NO_REMAP): Remove, unused.
+       (UNEXEC): Move definition ...
+       * s/aix4-2.h (UNEXEC): ... here.
+
+       * s/openbsd.h: Remove support for non-ELF and for systems that do
+       not support shared libraries.
+       * s/netbsd.h:
+       * s/freebsd.h: Likewise.
+
+2010-03-20  Dan Nicolaescu  <dann@ics.uci.edu>
+
+       Remove non-working support for lynxos 3.0.
+       * s/lynxos.h: Remove file.
+
+       * unexec.c (unexec, adjust_lnnoptrs): Do not depend on
+       COFF_BSD_SYMBOLS, nothing defines it anymore.
+
+2010-03-20  Dan Nicolaescu  <dann@ics.uci.edu>
+
+       Remove obsolete uses of HAVE_SHM.
+       * emacs.c (standard_args):
+       (Fdump_emacs):
+       (syms_of_emacs): Remove code depending on HAVE_SHM.
+
+       * alloc.c: Remove HAVE_SHM dependent definition.
+
+       * Makefile.in (RUN_TEMACS): Do not depend on HAVE_SHM.
+
+2010-03-18  Glenn Morris  <rgm@gnu.org>
+
+       * emacs.c (USAGE4): Hard-code bug address.
+       (REPORT_EMACS_BUG_ADDRESS, REPORT_EMACS_BUG_PRETEST_ADDRESS): Remove.
+       (bug_reporting_address): Remove.
+       (main): Don't call bug_reporting_address.
+
+       * Makefile.in (XFT_LIBS, LIBXPM, LIBJPEG, LIBPNG, LIBTIFF, LIBGIF)
+       (LIBGPM, LIBRESOLV): Set using autoconf rather than cpp.
+
+2010-03-15  Chong Yidong  <cyd@stupidchicken.com>
+
+       * xfns.c (Fx_create_frame):
+       * frame.c (Vdefault_frame_scroll_bars): Put non-GTK X scroll-bars
+       on left.
+
+2010-03-13  Andreas Politz  <politza@fh-trier.de>  (tiny change)
+
+       * editfns.c (Fformat): Account for string precision when computing
+       field width (Bug#5710).
+
+2010-03-12  Chong Yidong  <cyd@stupidchicken.com>
+
+       * xfns.c (Fx_create_frame): Set default to Qright.
+
+       * frame.c (Vdefault_frame_scroll_bars): Set default to Qright for
+       all window systems.
+
+2010-03-12  Eli Zaretskii  <eliz@gnu.org>
+
+       These changes remove termcap.c from the build on Posix platforms.
+       * Makefilie.in (termcapobj): Move termcap.o from here...
+       (MSDOS_OBJ): ...to here.
+       (termcapobj) [!LIBS_TERMCAP]: Remove specialized value, as it is
+       now identical to when LIBS_TERMCAP is defined.
+
+       * term.c: Remove (ifdef'ed away) inclusion of termcap.h.
+
+       * cm.c: Remove (ifdef'ed away) inclusion of termcap.h.
+
+       * config.in: Regenerated.  (See top-level ChangeLog.)
+
+2010-03-10  Chong Yidong  <cyd@stupidchicken.com>
+
+       * Branch for 23.2.
+
+2010-03-10  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       Cleanup setup of gl_state in various parts of the code.
+       * syntax.h (SETUP_BUFFER_SYNTAX_TABLE): New macro.
+       (SETUP_SYNTAX_TABLE, SETUP_SYNTAX_TABLE_FOR_OBJECT):
+       * syntax.c (find_defun_start, Fchar_syntax, Fmatching_paren)
+       (skip_chars):
+       * regex.c (regex_compile): Use it.
+       (re_compile_pattern): Don't set gl_state.current_syntax_table since
+       it's now set in regex_compile when/if we need it.
+
+2010-03-05  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       Make it possible to C-g in a tight bytecode loop again (bug#5680).
+       * lisp.h (ELSE_PENDING_SIGNALS): New macro.
+       (QUIT): Use it to consolidate code and remove redundancy.
+       * bytecode.c (BYTE_CODE_QUIT): Use it as well.
+
+       * regex.c (regex_compile): Setup gl_state as well.
+
+       * syntax.c (skip_chars): Setup gl_state (bug#3823).
+       (in_classes): Use CONSP before XCAR/XCDR.
+
+2010-03-03  Chong Yidong  <cyd@stupidchicken.com>
+
+       * keymap.c (Fwhere_is_internal): Use Fequal to compare
+       definitions, so that keyboard macros are correctly handled
+       (Bug#5481).
+
+2010-03-02  Eli Zaretskii  <eliz@gnu.org>
+
+       * coding.c (decode_coding_emacs_mule): Fixup pointers to buffer
+       text that could be relocated inside the call to emacs_mule_char.
+       (emacs_mule_char): Use CODING_DECODE_CHAR instead of DECODE_CHAR.
+       (CODING_DECODE_CHAR): Add a comment describing its purpose.
+
+2010-03-02  Kenichi Handa  <handa@m17n.org>
+
+       * character.c (parse_str_as_multibyte): Fix handling of the
+       multibyte form of raw-bytes.
+       (str_as_multibyte): Likewise.
+
+       * buffer.c (Fset_buffer_multibyte): Fix handling of the multibyte
+       form of raw-bytes.
+
+2010-02-28  Chong Yidong  <cyd@stupidchicken.com>
+
+       * charset.c (load_charset_map_from_file)
+       (load_charset_map_from_vector): Zero out allocated
+       charset_map_entries before using them.
+
+2010-02-27  Andreas Schwab  <schwab@linux-m68k.org>
+
+       * w32uniscribe.c (uniscribe_check_otf): Fix length check.
+
+2010-02-27  Chong Yidong  <cyd@stupidchicken.com>
+
+       * font.c (font_parse_fcname): Recognize "Book", "Condensed",
+       "Medium", and "Semi-Condensed" keywords in GTK names (Bug#5646).
+
+2010-02-26  Kenichi Handa  <handa@m17n.org>
+
+       * ftfont.c (ftfont_get_open_type_spec): Fix parsing of otf_spec.
+
+       * xdisp.c (reseat_to_string): Fix previous change.
+
+2010-02-26  David Reitter  <david.reitter@gmail.com>
+
+       * nsfont.m (nsfont_draw): ns_antialias_text should be a
+       Lisp_Object (Bug#4736).
+
+2010-02-25  Kenichi Handa  <handa@m17n.org>
+
+       * xdisp.c (reseat_to_string): Fix previous change (bug#5609).
+
+2010-02-24  Jan Djärv  <jan.h.d@swipnet.se>
+
+       * xterm.c (XTflash): Move declarations before statements.
+
+       * gtkutil.c (xg_get_gdk_display): Remove (unused).
+       (xg_get_pixbuf_from_pix_and_mask, xg_create_frame_widgets)
+       (xg_toggle_notify_cb, xg_set_toolkit_scroll_bar_thumb)
+       (xg_create_tool_bar): Remove unused variables.
+       (x_wm_set_size_hint): Move declarations before statements.
+       (xg_create_frame_widgets): Remove variable grav,
+
+2010-02-21  Chong Yidong  <cyd@stupidchicken.com>
+
+       * m/arm.h: Define the LIB_GCC flag to be -lgcc_s (Bug#5518).
+
+2010-02-18  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * term.c (fatal): Add a final \n if needed (bug#5596).
+
+2010-02-18  Chong Yidong  <cyd@stupidchicken.com>
+
+       * nsterm.m (ns_ring_bell): Revert last change (Bug#5569).
+
+2010-02-18  Glenn Morris  <rgm@gnu.org>
+
+       * callint.c (Finteractive): Doc fix.
+
+2010-02-18  Kazuhiro Ito  <kzhr@d1.dion.ne.jp>  (tiny change)
+
+       * coding.c (record_conversion_result):
+       Handle CODING_RESULT_INSUFFICIENT_DST.
+       (decode_coding_object): Record CODING_RESULT_INSUFFICIENT_MEM on
+       memory allocation error.
+
+2010-02-17  Kenichi Handa  <handa@m17n.org>
+
+       * coding.c (decode_coding_ccl): Don't setup ccl program here.
+       Fix for the case that the output buffer is fullfilled.
+       (decode_coding): Setup ccl program here.  Keep looping when the
+       decoder stopped because the output buffer is
+       fullfilled (bug#5534).
+
+       * ccl.c (ccl_driver): Never reset ic to CCL_HEADER_MAIN.
+
+2010-02-13  Jan Djärv  <jan.h.d@swipnet.se>
+
+       * xterm.c (x_clear_frame_area): Call gtk_widget_queue_draw if USE_GTK,
+       bug #5571.
+       (XTflash): Use Gdk-routines if USE_GTK so scroll bars don't get
+       overdrawn.
+
+2010-02-10  Jan Djärv  <jan.h.d@swipnet.se>
+
+       * xsmfns.c (x_session_initialize): Move initialization of ice_fd and
+       doing_interact here.
+       (ice_connection_closed): New function.
+       (x_session_check_input, smc_die_CB, ice_io_error_handler)
+       (ice_conn_watch_CB, x_session_close): Call ice_connection_closed.
+       (x_session_check_input): Call IceCloseConnection if IceProcessMessages
+       returns I/O error.
+       (ice_conn_watch_CB): Call add_keyboard_wait_descriptor on ice_fd,
+       bug #5512.
+
+2010-02-08  Francis Devereux  <francis@devrx.org>  (tiny change)
+
+       * nsfont.m (nsfont_open): The system's value for the font descent
+       is negative, so round it down to avoid clipping.
+
+2010-02-06  Chong Yidong  <cyd@stupidchicken.com>
+
+       * charset.c (load_charset_map_from_file)
+       (load_charset_map_from_vector): Fix last change to use SAFE_ALLOCA
+       instead of xmalloc (Bug#5526).  Suggested by Vivek Dasmohapatra.
+
+2010-02-05  Chong Yidong  <cyd@stupidchicken.com>
+
+       * charset.c (load_charset_map_from_file): Allocate large
+       charset_map_entries structure on the heap rather than the stack.
+       (Bug#5526).
+
 2010-01-31  Kenichi Handa  <handa@m17n.org>
 
        * font.c (font_parse_xlfd): If FONT is a font-entity and pixel
 2010-01-25  Jan Djärv  <jan.h.d@swipnet.se>
 
        * xfns.c (Fx_create_frame): If frame height is too big, try
-       sizes 24 and 10. Bug #3643.
+       sizes 24 and 10.  Bug #3643.
 
 2010-01-24  Stefan Monnier  <monnier@iro.umontreal.ca>
 
        * xfns.c (x_get_current_desktop, x_get_desktop_workarea): New functions.
        (Fx_create_frame): Call x_get_current_desktop and x_get_desktop_workarea
        to find out usable size of the desktop.  Don't make frames larger than
-       this. Bug #3643.
+       this.  Bug #3643.
 
 2010-01-15  Kenichi Handa  <handa@m17n.org>
 
 
 2010-01-08  Jan Djärv  <jan.h.d@swipnet.se>
 
-       * dispnew.c (change_frame_size_1): newwidth == FRAME_COLS  (f) must
+       * dispnew.c (change_frame_size_1): newwidth == FRAME_COLS (f) must
        also be true before we can return early (bug #5339).
 
 2010-01-06  David Reitter  <david.reitter@gmail.com>
 
        * xterm.c (x_new_font): Move code for setting rows/cols before
        resizing ...
-       (x_set_window_size): ... to here. bug #2568.
+       (x_set_window_size): ... to here.  Bug #2568.
 
        * gtkutil.c (xg_clear_under_internal_border): New function.
        (xg_frame_resized, xg_frame_set_char_size):
        Fix printf format.
        (ns_query_color): Use CGFloat where appropriate.
        (EmacsView<NSTextInput>, EmacsScroller): Fix method signatures.
-       (EmacsScroller-mouseDown:) Use long format in printf, and cast
+       (EmacsScroller-mouseDown:): Use long format in printf, and cast
        argument.
 
        * config.in (NS_HAVE_NSINTEGER): Drop.
 
 2009-02-12  Stefan Monnier  <monnier@iro.umontreal.ca>
 
-       * keyboard.c (adjust_point_for_property): Allow stopping betwen two
+       * keyboard.c (adjust_point_for_property): Allow stopping between two
        invisible areas.
 
 2009-02-12  Jason Rumney  <jasonr@gnu.org>