* m/alpha.h (LINUX_SBRK_BUG):
[bpt/emacs.git] / src / ChangeLog
index 90b18d1..005540b 100644 (file)
@@ -1,3 +1,801 @@
+2008-07-23  Jason Rumney  <jasonr@gnu.org>
+
+        * w32font.c (w32_enumfont_pattern_entity): Return height consistent
+        with opened font.
+        (w32font_open): Set font type to gdi.
+
+        * w32uniscribe.c (uniscribe_open): Set font type to uniscribe.
+
+2008-07-23  Dan Nicolaescu  <dann@ics.uci.edu>
+
+       * s/usg5-4.h (ADDR_CORRECT): Remove, unused.
+       * unexaix.c (ADDR_CORRECT): Remove conditional, the only user
+       defines it.
+       * unexec.c (ADDR_CORRECT): Define unconditionally.
+
+       * m/ibmrs6000.h (C_SWITCH_MACHINE): Remove.
+
+       * unexec.c: Remove code depending on !COFF and USG, the file is
+       not used for such systems.
+
+       * s/netbsd.h (A_TEXT_OFFSET, A_TEXT_SEEK):
+       * s/freebsd.h (A_TEXT_OFFSET, A_TEXT_SEEK): Remove, unused.
+       (LD_SWITCH_SYSTEM_1): Remove, update users.
+
+       * s/darwin.h (DATA_END):
+       * m/intel386.h (DATA_END):
+       * m/ibmrs6000.h (DATA_END):
+       * m/alpha.h (DATA_END): Remove, unused.
+
+       * config.in: Regenerate.
+       * s/ms-w32.h (subprocesses): Define unconditionally.
+       * s/template.h (subprocesses): Update comment.
+       * s/vms.h (subprocesses):
+       * s/usg5-4.h (subprocesses):
+       * s/hpux10-20.h (subprocesses):
+       * s/gnu-linux.h (subprocesses):
+       * s/cygwin.h (subprocesses):
+       * s/bsd-common.h (subprocesses):
+       * s/aix4-2.h (subprocesses):
+       * s/darwin.h (subprocesses): Do not define, defined by default now.
+
+       * Makefile.in (C_SWITCH_SITE, LD_SWITCH_SITE): Remove, unused.
+       Remove all references.
+       (temacs): Add GNUStep specific ld flags.
+
+       * nsterm.m (syms_of_nsterm): Provide ns, not ns-windowing,
+       similarly to what X does.
+
+2008-07-22  Adrian Robert  <Adrian.B.Robert@gmail.com>
+
+       * nsfns.m (x-list-fonts): Remove.
+       (syms_of_nsfns): Drop the x-list-fonts declaration.
+       * nsterm.m: Get rid of remaining "//" comments.
+
+2008-07-22  Chong Yidong  <cyd@stupidchicken.com>
+
+       * xselect.c (Fx_rotate_cut_buffers_internal): Doc fix.
+
+       * nsselect.m (Fns_selection_exists_p, Fns_selection_owner_p)
+       (Fx_get_selection_internal, Fns_rotate_cut_buffers_internal)
+       (Fns_own_selection_internal, Fx_disown_selection_internal)
+       (Fns_get_cut_buffer_internal, Fns_store_cut_buffer_internal):
+
+       * nsmenu.m (Fns_reset_menu, Fx_popup_menu): Change to use 'doc: /*
+       ... */' style of docstrings.  Doc fixes.
+
+2008-07-22  Dan Nicolaescu  <dann@ics.uci.edu>
+
+       * terminfo.c (UP, BC, PC): Undo previous change.
+
+       * nsfns.m: Rename ns prefixed functions/variables to the
+       corresponding x versions.  Update references.
+
+2008-07-22  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * syntax.c (char_quoted): Check "charpos > beg" before decrementing.
+
+2008-07-22  Dan Nicolaescu  <dann@ics.uci.edu>
+
+       * nsfns.m (x_set_menu_bar_lines, x_set_tool_bar_lines):
+       Remove forwarding functions.
+       (ns_set_menu_bar_lines): Rename to x_set_menu_bar_lines, make
+       non-static.
+       (ns_set_tool_bar_lines): Rename to x_set_tool_bar_lines, make
+       non-static.
+       (ns_frame_parm_handlers): Use the new names.
+       (syms_of_nsfns): Move to the end of file.
+
+       * nsterm.m (syms_of_nsterm): Move to the end of file.
+
+       * dispnew.c (init_display): Remove code for X10.
+
+2008-07-22  Jason Rumney  <jasonr@gnu.org>
+
+       * w32proc.c (Fw32_long_file_name): Don't append dir separator to
+       bare drive.
+
+2008-07-22  Adrian Robert  <Adrian.B.Robert@gmail.com>
+
+       * nsgui.h:
+       * nsfont.m:
+       * nsmenu.m:
+       * nsterm.m: Change PENDINGS to FIXME / TODO / XXX.
+
+2008-07-22  Adrian Robert  <Adrian.B.Robert@gmail.com>
+
+       * nsterm.m (syms_of_nsterm): Remove debugging println.
+
+2008-07-22  David Reitter  <david.reitter@gmail.com>
+
+       * nsfns.m (do_applescript, F_do_applescript): NS version of the
+       Carbon implementation of the same functionality: execute arbitrary
+       AppleScript code.
+
+2008-07-21  Adrian Robert  <Adrian.B.Robert@gmail.com>
+
+       * nsfns.m (Fx_create_frame, Fx_read_file_name, Fx_get_resource)
+       (Fx_set_resource, Fx_set_alpha, Fx_server_max_request_size)
+       (Fx_server_vendor, Fx_server_version, Fx_display_screens)
+       (Fx_display_mm_height, Fx_display_mm_width)
+       (Fx_display_backing_store, Fx_display_visual_class)
+       (Fx_display_save_under, Fx_open_connection)
+       (Fx_close_connection, Fx_hide_emacs, Fx_font_name)
+       (Fx_list_colors, Fx_perform_service, Fx_color_defined_p)
+       (Fx_color_values, Fxw_display_color_p, Fx_display_grayscale_p)
+       (Fx_display_pixel_width, Fx_display_pixel_height)
+       (Fx_display_usable_bounds, Fx_display_planes)
+       (Fx_display_color_cells, Vns_icon_type_alist): Change to use 'doc: /*
+       ... */' style of docstrings.
+
+2008-07-21  Dan Nicolaescu  <dann@ics.uci.edu>
+
+       * m/mips.h (LOAD_AVE_TYPE, LOAD_AVE_CVT): Do not define, not used
+       on this platform.
+       (mips):
+       * m/iris4d.h (mips): Do not define.
+       * sysdep.c (init_sys_modes): Use __mips__ instead of mips.
+
+       * m/ibmrs6000.h (LD_SWITCH_SITE): Remove.
+
+       * image.c:
+       * nsfns.m:
+       * nsselect.m:
+       * nsterm.h:
+       * nsterm.m: Rename ns prefixed functions/variables to the
+       corresponding x versions.  Update references.
+
+       * m/ibms390x.h (NO_REMAP): Do not undefine.
+
+       * m/amdx86-64.h: Use SOLARIS2 instead of sun.
+
+2008-07-21  Chong Yidong  <cyd@stupidchicken.com>
+
+       * nsfns.m: Change NS to Nextstep in docstrings and error messages.
+       (Fns_create_frame, Fns_read_file_name, Fns_get_resource)
+       (Fns_set_resource, Fns_set_alpha, Fns_server_max_request_size)
+       (Fns_server_vendor, Fns_server_version, Fns_display_screens)
+       (Fns_display_mm_height, Fns_display_mm_width)
+       (Fns_display_backing_store, Fns_display_visual_class)
+       (Fns_display_save_under, Fns_open_connection)
+       (Fns_close_connection, Fns_hide_emacs, Fns_font_name)
+       (Fns_list_colors, Fns_perform_service, Fns_color_defined_p)
+       (Fns_color_values, Fxw_display_color_p, Fx_display_grayscale_p)
+       (Fns_display_pixel_width, Fns_display_pixel_height)
+       (Fns_display_usable_bounds, Fx_display_planes)
+       (Fns_display_color_cells, Vns_icon_type_alist): Doc fixes.
+
+2008-07-21  Ami Fischman  <ami@fischman.org>  (tiny change)
+
+       * print.c (print_object): Check print_depth before searching for
+       circularities.
+
+2008-07-21  Michael Albinus  <michael.albinus@gmx.de>
+
+       * dbusbind.c (Fdbus_register_signal): Use sprintf + strcat instead
+       only sprintf.
+
+2008-07-21  Kenichi Handa  <handa@m17n.org>
+
+       * ftfont.c (adjust_anchor): Check if DetalValue is not NULL.
+
+2008-07-20  Andreas Schwab  <schwab@suse.de>
+
+       * syntax.c (find_start_pos, find_start_value)
+       (find_start_value_byte, find_start_begv, find_defun_start)
+       (back_comment, scan_sexps_forward): Use EMACS_INT for buffer
+       positions.
+
+2008-07-20  Dan Nicolaescu  <dann@ics.uci.edu>
+
+       * s/sol2-3.h: Insert contents of s/sol2.h.
+       (LD_SWITCH_SYSTEM): Remove redundant definition.
+       * s/sol2.h: Remove, unused.
+
+2008-07-20  Adrian Robert  <Adrian.B.Robert@gmail.com>
+
+       * nsterm.m (ns_get_color): Recognize HSB,AHSB be synonyms for
+       HSV,AHSV.
+
+2008-07-20  Adrian Robert  <Adrian.B.Robert@gmail.com>
+
+       * Makefile.in (ns_appdir): Fix typo in find command.
+
+2008-07-20  Dan Nicolaescu  <dann@ics.uci.edu>
+
+       * m/intel386.h (NO_REMAP): Do no define for USG, not used.
+
+       * s/usg5-4.h (LIBS_SYSTEM): Remove, system for which this was
+       added not supported anymore.
+
+       * s/usg5-4-2.h (LIBS_SYSTEM):
+       * s/sol2.h (LIBS_SYSTEM): Do not undefine.
+
+       * s/netbsd.h (GETPGRP_NO_ARG, N_TRELOFF):
+       * s/lynxos.h (GETPGRP_NO_ARG):
+       * s/hpux10-20.h (NO_SIOCTL_H):
+       * s/gnu.h (GETPGRP_NO_ARG):
+       * s/gnu-linux.h (NO_SIOCTL_H):
+       * s/freebsd.h (GETPGRP_NO_ARG, N_TRELOFF):
+       * s/cygwin.h (GETPGRP_NO_ARG):
+       * s/irix6-5.h (LIBS_SYSTEM, GETPGRP_NO_ARG): Remove, unused.
+       (C_DEBUG_SWITCH): Remove duplicate definition.
+
+       * m/ibms390.h: Remove boilerplate comments.
+
+       * sysdep.c (closedir): Use SOLARIS2 instead of sun && USG5_4.
+
+       * process.c (HAVE_SERIAL): Consolidate ifdefs.
+       (wait_reading_process_output): Remove code for SunOS, platform not
+       supported anymore.  Use SOLARIS2 instead of sun.
+
+2008-07-19  Adrian Robert  <Adrian.B.Robert@gmail.com>
+
+       * font.c (font_open_by_name): Under NS, default lface height to zero.
+       (font_open_for_lface): Under NS, set size based on frame fontsize.
+       * nsterm.m (EmacsView-changeFont:): Remove some commented code.
+       * frame.c (x_set_frame_parameters): Remove HAVE_NS ifdef.
+
+2008-07-19  Adrian Robert  <Adrian.B.Robert@gmail.com>
+
+       * nsterm.m (ns_antialias_text, ns_use_qd_smoothing)
+       (ns_use_system_highlight_color): Switch these from DEFVAR_BOOL to
+       DEFVAR_LISP and change all code accordingly to use Qt/Qnil instead of
+       YES/NO.
+       * nsterm.h (prevUseHighlightColor): Make a Lisp_Object.
+       * nsfont.m (nsfont_draw): Treat ns_use_qd_smoothing as Lisp_Object.
+       * Makefile.in (clean): Clear out build destination dir.
+
+2008-07-19  Adrian Robert  <Adrian.B.Robert@gmail.com>
+
+       * Makefile.in (nsgui.h-related dependencies): Remove abbrev, xfns,
+       xterm, xselect.
+       * lisp.h: Remove declaration of hash_remove.
+       * nsgui.h: Remove redefinitions of hash_remove.
+       * fns.c (hash_remove): Rename to hash_remove_from_table.
+
+2008-07-19  Adrian Robert  <Adrian.B.Robert@gmail.com>
+
+       * nsfont.m (nsfont_fmember_to_entity, nsfont_make_fontset_for_font):
+       strdup() the family UTF8String before modifying it.  Patch due to
+       Seiji Zenitani.
+
+2008-07-19  Adrian Robert  <Adrian.B.Robert@gmail.com>
+
+       * nsfns.m (ns_set_background_color): Apply patch from Chong Yidong to
+       fix crash.
+       * nsterm.m (ns_maybe_dumpglyphs_background): Compare result from
+       NS_FACE_BACKGROUND with 0 instead of nil.
+       * nsfont.m (nsfont_draw): Same.
+
+2008-07-18  Chong Yidong  <cyd@stupidchicken.com>
+
+       * Makefile.in (SOME_MACHINE_LISP): Remove ns-carbon-compat.elc.
+
+2008-07-18  Dan Nicolaescu  <dann@ics.uci.edu>
+
+       * puresize.h (BASE_PURESIZE): Increase to 1240000.
+
+2008-07-17  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
+
+       * gtkutil.c: Include <config.h> instead of "config.h".
+
+       * lisp.h (Foverlay_buffer): Add EXFUN.
+
+       * process.c (create_process) [!WINDOWSNT && FD_CLOEXEC]: Wait for
+       child process to complete child_setup.  Undo 2005-09-21 change.
+
+       * s/darwin.h: Mention setsid after vfork.
+
+2008-07-17  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
+
+       * Makefile.in (frame.o, keyboard.o, xdisp.o, xfaces.o):
+       Depend on macgui.h.
+
+       * macfns.c (Fx_server_version): Don't use gestaltSystemVersionMajor,
+       gestaltSystemVersionMinor, or gestaltSystemVersionBugFix.
+
+       * macterm.c (keycode_to_xkeysym_table): Add entries for f17, f18,
+       and f19.
+       [MAC_OSX] (fn_keycode_to_keycode_table): Likewise.
+
+       * macterm.h (gestaltSystemVersionMajor, gestaltSystemVersionMinor)
+       (gestaltSystemVersionBugFix) [MAC_OS_X_VERSION_MAX_ALLOWED < 1040]:
+       Remove enumerators.
+
+       * mactoolbox.c [USE_MAC_TSM] (mac_handle_text_input_event):
+       Check if FACE_FROM_ID returns NULL.
+
+2008-07-17  David Robinow  <drobinow@gmail.com>  (tiny change)
+
+       * w32inevt.c (change_frame_size): Remove extern declaration.
+       (resize_event, maybe_generate_resize_event): Pass SAFE arg to
+       change_frame_size.
+
+2008-07-17  Adrian Robert  <Adrian.B.Robert@gmail.com>
+
+       * getloadavg.c: Revert last change (2008-07-15).
+
+2008-07-17  Adrian Robert  <Adrian.B.Robert@gmail.com>
+
+       * Makefile.in: Replace emacsapp, emacsbindir, emacsappsrc variables
+       set here with ns_appdir, ns_appresdir, ns_appbindir, ns_appsrc) set
+       from configure.
+
+2008-07-17  Dan Nicolaescu  <dann@ics.uci.edu>
+
+       * s/sol2.h:
+       * s/sol2-4.h: Reorganize conditionals.
+
+       * ecrt0.c: Remove code depending on m68000, not used anymore.
+
+       * fns.c (hash_remove): Make static.
+       * lisp.h (hash_remove): Don't prototype.
+
+       * m/ibmrs6000.h:
+       * m/ibms390x.h:
+       * m/macppc.h: Remove boilerplate comments.
+
+       * m/sparc.h (A_TEXT_OFFSET, A_TEXT_SEEK): Remove, only used on
+       Solaris, which does not need them.
+
+       * m/vax.h: Remove comments about unsupported systems.
+
+       * s/darwin.h: Reorganize ifdefs.
+
+2008-07-17  Adrian Robert  <Adrian.B.Robert@gmail.com>
+
+       * config.in:
+       * dispextern.h:
+       * frame.c:
+       * image.c:
+       * nsfns.m:
+       * nsfont.m:
+       * nsgui.h:
+       * nsmenu.m:
+       * nsterm.h:
+       * nsterm.m:
+       * s/darwin.h:
+       * xdisp.c: Change most cases of PENDING to TODO, some to FIXME or XXX.
+
+2008-07-17  Andreas Schwab  <schwab@suse.de>
+
+       * s/cygwin.h (LIB_STANDARD_LIBSRC): Don't define.
+
+2008-07-17  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       Use SDATA.  Follow coding convention of placing operators at
+       beginning of next line rather than end of previous line, and placing
+       spaces around infix operators.
+
+       * Makefile.in: Undef LIB_STANDARD before defining it to silence warning
+       in case it was defined already.
+       USE @GNUSTEP_MAKEFILES@ rather than envvars.
+       * nsterm.m (ns_term_init): Pass Qt and Qnil rather than YES/NO to
+       ns_default.
+       (applicationShouldTerminate, setValuesFromPanel): Use EQ to compare
+       Lisp_Objects.
+       * nsterm.h (Fx_display_grayscale_p, Fx_display_planes)
+       (ns_defined_color, ns_color_to_lisp): Declare.
+       * nsselect.m (ns_handle_selection_request, ns_handle_selection_clear)
+       (Fns_own_selection_internal): Make the big ugly hack more explicit, so
+       it's accepted even with USE_LISP_UNION_TYPE.
+       * nsmenu.m (ns_update_menubar): Use EQ to compare Lisp_Objects.
+       (update_frame_tool_bar): Remove apparently obsolete tests for
+       non-integerness of f->tool_bar_lines.
+       (windowShouldClose, addButton, clicked, runDialogAt): Make the big ugly
+       hack more explicit, so it's accepted even with USE_LISP_UNION_TYPE.
+       * nsfont.m (nsfont_driver): Use just 0 rather than an invalid cast.
+       (nsfont_open): Don't confuse NULL for Qnil.
+       * nsfns.m (ns_implicitly_set_icon_type): Use EQ to compare Lisp_Objects.
+       * menu.h (find_and_call_menu_selection):
+       * menu.c (find_and_call_menu_selection): Use just int for vector size.
+       (find_and_return_menu_selection): Always return something.
+       * frame.h: Include dispextern.h for Display_Info.
+       (display_x_get_resource): Declare.
+
+2008-07-16  Adrian Robert  <Adrian.B.Robert@gmail.com>
+
+       * syntax.c: Remove stdio.h include accidentally introduced in
+       Emacs.app commit.
+       * Makefile.in: Change GNUSTEP to NS_IMPL_GNUSTEP, COCOA to
+       NS_IMPL_COCOA.
+       * keyboard.c (handle_async_input, input_available_signal): Remove
+       BSD4_1 conditional code, introduced accidentally in Emacs.app commit.
+
+2008-07-16  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * nsterm.m (lisp_to_mod): Use parse_solitary_modifier instead.
+       (ns_lisp_to_color): Don't mess with internal Lisp data fields.
+       (ns_term_init, ns_term_shutdown, initFrameFromEmacs, ns_list_fonts):
+       Use SDATA.
+
+       * keymap.c: Remove all NS-specific code.
+       (where_is_preferred_modifier, Vwhere_is_preferred_modifier): New vars.
+       (preferred_sequence_p): Rename from ascii_sequence_p; pay attention to
+       where_is_preferred_modifier, return a different value depending on how
+       preferred is the binding.
+       (where_is_internal): Adjust accordingly.
+       (Fwhere_is_internal): Refresh where_is_preferred_modifier.
+       Adjust to new preferred_sequence_p.
+       (syms_of_keymap): Declare `where-is-preferred-modifier'.
+       * keyboard.c (parse_solitary_modifier): Not static any more.
+       * keyboard.h (parse_solitary_modifier): Declare.
+
+2008-07-16  Andreas Schwab  <schwab@suse.de>
+
+       * Makefile.in (SOME_MACHINE_LISP): Remove easy-mmode, fix spelling
+       of easymenu.
+
+2008-07-16  Chong Yidong  <cyd@stupidchicken.com>
+
+       * xdisp.c (move_it_in_display_line): Account for word wrap, so
+       that we don't move off the line.
+
+2008-07-16  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * keyboard.c (Qsuper): Remove.
+       (parse_menu_item): Don't call where_is_internal specially for NS.
+
+2008-07-16  Dan Nicolaescu  <dann@ics.uci.edu>
+
+       * s/gnu-linux.h: Remove boilerplate comments.
+
+       * m/alpha.h (__ELF__): Consolidate conditions.
+
+       * m/m68k.h (linux): Use GNU_LINUX instead.
+       Remove boilerplate comments.
+
+       * m/intel386.h: Undo reactoring from previous change.
+       (LIB_STANDARD): All systems that define USG define LIB_STANDARD
+       too, remove dead code.
+       (linux): Use GNU_LINUX instead.
+
+2008-07-16  Jason Rumney  <jasonr@gnu.org>
+
+       * w32gui.h: Repeat 26 June changes lost by last change.
+
+2008-07-16  Dan Nicolaescu  <dann@ics.uci.edu>
+
+       * systty.h: Remove code for Aix on 386, unsupported platform.
+
+       * s/ms-w32.h: Remove boilerplate comments.
+       (fcloseall, fgetchar, flushall, fputchar, getw, putw): Remove, unused.
+
+       * s/gnu-linux.h (TERM): Remove support.
+       (HAVE_SYSVIPC): Remove, unused.
+       (A_TEXT_OFFSET, A_TEXT_SEEK, ADJUST_EXEC_HEADER): Remove, not used
+       for this system.
+
+       * process.c: Remove support for IRIS, unused.
+       Remove support for TERM, not relevant anymore.
+
+       * unexalpha.c (DEFAULT_ENTRY_ADDRESS): Remove, replace the only
+       used with the definition.
+
+       * s/aix4-2.h (static): Do not undef.
+
+       * m/ibmrs6000.h: Remove code depending on USG5_4, this file is
+       only used on Aix.
+       (HAVE_SYSVIPC): Remove, unused.
+
+       * m/hp800.h (CANNOT_DUMP): Do not undef.
+
+       * m/alpha.h: Fix comment.
+
+       * s/usg5-4.h (HAVE_SYSVIPC): Remove, unused.
+       (USG_SHARED_LIBRARIES): Remove, only used in unexec.c which is not
+       used by this configuration.
+       * emacs.c: Remove code depending on USG_SHARED_LIBRARIES.
+       * unexec.c: Remove code depending on HPUX and
+       USG_SHARED_LIBRARIES, not used with this file.  Remove code
+       depending on IRIS, unused.  Remove if 0-ed code.
+
+       * s/template.h: Remove comments about static.
+
+       * sysdep.c: Remove code depending on NEED_PTEM_H, unused.
+       Remove if 0-ed code.
+       (baud_convert): Don't depend on BAUD_CONVERT, all definitions the
+       were the same as the default.
+       * s/vms.h (BAUD_CONVERT): Remove, same as the default.
+       Remove boilerplate comments.
+       * s/hpux10-20.h (BAUD_CONVERT): Remove, same as the default.
+       (HAVE_SYSVIPC): Remove, unused.
+       (LD_SWITCH_SYSTEM_TEMACS): Simplify, hp9000s700 not supported anymore.
+
+       * m/ia64.h (PNTR_COMPARISON_TYPE): Remove, same as the default.
+       Remove boilerplate comments.
+       * m/amdx86-64.h (PNTR_COMPARISON_TYPE): Remove, same as the default.
+       Remove boilerplate comments.
+       * m/ibms390x.h (PNTR_COMPARISON_TYPE): Remove, same as the default.
+       Remove boilerplate comments.
+       * lisp.h (PNTR_COMPARISON_TYPE): Define it unconditionally.
+
+       * m/intel386.h (DATA_SEG_BITS): Remove definitions, only used on
+       USG systems which do not use DATA_SEG_BITS.
+       Refactor code.  Remove boilerplate comments.
+
+       * m/ibms390.h:
+       * m/m68k.h:
+       * s/bsd-common.h:
+       * s/cygwin.h:
+       * s/darwin.h:
+       * s/freebsd.h:
+       * s/gnu.h:
+       * s/msdos.h: Remove boilerplate comments.
+
+       * m/iris4d.h: Remove boilerplate comments and code for systems that
+        do not use this file.
+       (IRIS_4D): Remove, unused.
+
+       * m/mips.h: Remove boilerplate comments and code for systems that
+        do not use this file.
+       (SIGN_EXTEND_CHAR):
+       * m/arm.h (SIGN_EXTEND_CHAR): Remove, unused.
+       * unexmips.c: Remove file, unused.
+
+       * editfns.c (Fuser_full_name): Replace the only use of
+       USER_FULL_NAME with its value.
+       * config.in: Regenerate.
+
+2008-07-16  David Reitter  <david.reitter@gmail.com>
+
+       * Makefile.in: Add ns-win, ns-carbon-compat, easy-mmode and
+       easy-menu to SOME_MACHINE_LISP for the new NeXTstep port.
+
+2008-07-16  Glenn Morris  <rgm@gnu.org>
+
+       * emacs.c (system-type): Doc fix.
+
+2008-07-15  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * keyboard.c (parse_menu_item): Don't use cachelist, even under NS.
+       If the cache doesn't work, let's fix it, rather than work around it.
+
+2008-07-15  Adrian Robert  <Adrian.B.Robert@gmail.com>
+
+       * Makefile.in: Correct additions for nsfont.o in last commit.
+       * nsfont.m: New file (forgot last commit).
+
+2008-07-15  Adrian Robert  <Adrian.B.Robert@gmail.com>
+
+       Changes and additions for NeXTstep windowing system (Cocoa and
+       GNUstep) support.
+
+       * Makefile.in:
+       * config.in: Support defines and build commands for NS port.
+       * blockinput.h (BLOCK_INPUT, UNBLOCK_INPUT, TOTALLY_UNBLOCK_INPUT)
+       (UNBLOCK_INPUT_TO): Don't use under NS unless EXPERIMENTAL_CONTROL_G.
+       * callproc.c (set_initial_environment): Initialize
+       Vprocess_environment under CANNOT_DUMP (fixes crash when
+       batch-compiling for bootstrap, due to Chris Hall).
+       * dispextern.h: Include nsgui.h and add needed typedefs under NS
+       windowing.
+       (struct face): Add synth_ital field.
+       * dispnew.c: Include nsterm.h when compiling under NS windowing.
+       (init_display): Initialize Vinitial_window_system to "ns" when so
+       compiled.
+       * emacs.c: Include GSConfig.h when compiling under GNUstep.
+       (display_arg): Use under NS.
+       (main): Under NS, allocate autorelease pool and handle command line
+       args.  Move syms_of_xmenu() call under #ifdef HAVE_X_WINDOWS.
+       (standard_args): Add NS-specific args.
+       (shut_down_emacs): Shut down NS terminal if compiled under NS.
+       * font.c (DEFAULT_ENCODING): New variable.
+       (font_find_for_lface): Use it.
+       (syms_of_font): Load syms_of_nsfont under NS.
+       * font.h: Declare nsfont_driver when compiled under NS.
+       * fontset.c: When compiling under NS, include nsterm.h.
+       (fontset_from_font): Autoconstruct fontset under NS.
+       * frame.c (various): Under NS, include nsterm.h, add Qns window system
+       symbol, document and use it.
+       (make_initial_frame): Call init_frame_faces(f) in CANNOT_DUMP case --
+       patch to fix crash due to different init order, due to Chris Hall and
+       Yamamoto Mitsuharu.
+       (do_switch_frame): When for_deletion under Cocoa, add
+       Fraise_frame(Qnil).
+       (x_set_frame_parameters): Ensure font attribute changes are picked up.
+       (x_get_arg): Allow "yes" and "no" as boolean values.
+       (syms_of_frame): Declare Qns.  Init Vdefault_frame_scroll_bars to
+       Qright under Cocoa.
+       (focus-follows-mouse): Default to 0 under NS.
+       * frame.h (enum output_method): Add output_ns.
+       (external_tool_bar, external_menu_bar, FRAME_EXTERNAL_TOOLBAR)
+       (FRAME_EXTERNAL_MENU_BAR): Use under NS.
+       (FRAME_WINDOW_P): NS-specific definition.
+       * fringe.c (max_used_fringe_bitmap): Make public.
+       * getloadavg.c (mach/mach.h): Include it under NeXT descendant OS's.
+       (getloadavg): Use NeXT code under descendant OS's.
+       * image.c (includes and header section, x_create_bitmap_from_data)
+       (x_create_bitmap_from_file, free_bitmap_record, image_background)
+       (image_background_transparent, x_clear_image_1)
+       (x_create_x_image_and_pixmap, x_destroy_x_image, x_put_x_image)
+       (Create_Pixmap_From_Bitmap_Data, xpm_load_image, lookup_rgb_color)
+       (x_to_xcolors, x_from_xcolors, x_disable_image)
+       (x_build_heuristic_mask, syms_of_image): Add NS support parallel to
+       other GUIs, including XPM support using code originally written for
+       Carbon GUI.
+       (png_load, jpeg_load, tiff_load, gif_load): Add implementations
+       using NS API.
+       (image_ascent): Use font metrics macros instead of direct struct field
+       access.
+       * keyboard.c (includes): Add nsterm.h when compiling under NS.
+       (kbd_buffer_get_event): Handle NS as other GUI windowing systems.
+       Also, handle NS as GTK for menu bar purposes.
+       (make_lispy_event): Handle NS as other GUI windowing systems, and as X
+       toolkit where they differ.
+       (parse_menu_item): Prefer keybindings using 'super' modifier.  Also,
+       use cachelist, still needed under NS.
+       * keyboard.h (ENCODE_MENU_STRING, XtPointer, Boolean): Handle as NTGUI.
+       (struct widget_value): Define it here for menu.c.
+       * keymap.c (includes): Include modifier internals.
+       (lisp_to_mod, modifier_sequence_p): New functions, compiled only under
+       NS.
+       (where_is_internal, Fwhere_is_internal): When compiled under NS, add
+       support for preferring sequences using certain modifiers, specified by
+       the FIRSTONLY argument.
+       * lisp.h (hash_remove): Rename to avoid name clash when compiling
+       under NS GNUstep implementation.
+       (USE_LSB_TAG): Use it under Cocoa when compiling under NS.
+       * lread.c (init_lread): Treat NS as HAVE_CARBON for turn_off_warning.
+       * menu.c: Include nsterm.h under NS.
+       (single_menu_item, parse_single_submenu, xmalloc_widget_value)
+       (free_menubar_widget_tree_value, update_submenu_strings)
+       (find_and_call_menu_selection): Treat NS as X and NT.
+       (find_and_return_menu_selection): New function, used for popup menus.
+       * nsgui.h:
+       * nsterm.h:
+       * nsfns.m:
+       * nsimage.m:
+       * nsmenu.m:
+       * nsselect.m:
+       * nsterm.m: New files.
+       * process.c (wait_reading_process_output): Under NS, call ns_select()
+       instead of plain select().
+       * syntax.c (char_quoted): Under NS, avoid a crash when called near
+       beginning of buffer.
+       * sysselect.h (init_process): Rename when compiling under Cocoa to
+       avoid name conflict.
+       * termhooks.h (display_info): Add ns_display_info to union.
+       * terminal.c (Fterminal_live_p): Add ns to terminal types.
+       * terminfo.c (UP, BC, PC): Don't declare when compiling under NS in
+       COCOA environment.
+       * unexnext.c: Update to work with mach API on Mac OS X, and to use new
+       unexec() signature.  (Note, this will dump, but the resulting file
+       crashes; unexosx is used instead; keeping around for reference and
+       possible aid in getting dump working under GNUstep.)
+       * w32gui.h (button_type, widget_value): Remove definitions (now in
+       keyboard.h).
+       * window.c: Include nsterm.h when compiling under NS.
+       * xdisp.c (includes): Include nsterm.h when compiling under NS.
+       (set_frame_menubar, update_menu_bar, display_menu_bar): Handle NS as
+       other GUI windowing systems.
+       (update_tool_bar, redisplay_tool_bar, redisplay_window): Handle NS as
+       GTK.
+       (x_consider_frame_title): Under NS, set icon type and frame
+       modified-state indicator; use ns_set_name_as_filename() when using
+       formatted title.
+       (update_window_cursor): Make public when compiling under NS.
+       (display_hourglass_p, syms_of_xdisp, hourglass_shown_p)
+       (hourglass_atimer, Vhourglass_delay
+       * xfaces.c (header section, init_frame_faces, clear_font_table)
+       (defined_color, unload_color, x_face_list_fonts)
+       (prepare_face_for_display): Add NS support parallel to other GUIs.
+       Emulate GCs like other non-X GUIs.
+       (split_font_name): Don't lowercase font name under NS.
+       (merge_face_ref, Finternal_set_lisp_face_attribute): Support stippling
+       under NS.
+       * s/darwin.h: Add support for compilation under NS.
+
+2008-07-15  Jason Rumney  <jasonr@gnu.org>
+
+       * w32fns.c (Fx_create_frame): Remove duplicate unwind_protect.
+       (w32_show_hourglass): Rename from show_hourglass.
+       (w32_hide_hourglass): Rename from hide_hourglass.
+       (DEFAULT_HOURGLASS_DELAY): Revert from last change.
+       (Vhourglass_delay): Declare extern.
+       (hourglass_started): Remove.
+
+       * xdisp.c (Vhourglass_delay): Remove static.
+       (hourglass_started, start_hourglass, cancel_hourglass):
+       Don't include these versions on WINDOWSNT.
+
+2008-07-15  Adrian Robert  <Adrian.B.Robert@gmail.com>
+
+       * dispextern.h (hourglass_shown_p, hourglass_atimer): New extern
+       variables (formerly in xfns.c).
+       (show_hourglass, hide_hourglass): New prototypes (same).
+       * xdisp.c (display_hourglass_p, hourglass_shown_p, hourglass_atimer)
+       (Vhourglass_delay, DEFAULT_HOURGLASS_DELAY): New variables (formerly
+       in xfns.c).
+       (syms_of_xdisp): Declare/initialize display-hourglass,
+       hourglass-delay.  Initialize hourglass_atimer, hourglass_shown_p.
+       (hourglass_started, start_hourglass, cancel_hourglass): New functions,
+       formerly in xfns.c.
+       * xfns.c (display_hourglass_p, hourglass_atimer, hourglass_shown_p)
+       (Vhourglass_delay, DEFAULT_HOURGLASS_DELAY, hourglass_started)
+       (start_hourglass, cancel_hourglass): Remove.
+       (show_hourglass, hide_hourglass): Remove prototypes and static
+       modifiers.
+       (syms_of_xfns): Remove display-hourglass, hourglass-delay,
+       hourglass_atimer, hourglass_shown_p declaration/initialization.
+       * macfns.c (display_hourglass_p, hourglass_atimer, hourglass_shown_p)
+       (Vhourglass_delay, DEFAULT_HOURGLASS_DELAY, hourglass_started)
+       (start_hourglass, cancel_hourglass): Remove.
+       (show_hourglass, hide_hourglass): Remove prototypes and static
+       modifiers.
+       (syms_of_macfns): Remove display-hourglass, hourglass-delay,
+       hourglass_atimer, hourglass_shown_p declaration/initialization.
+       * w32fns.c (display_hourglass_p, Vhourglass_delay)
+       (DEFAULT_HOURGLASS_DELAY): Remove.
+       (syms_of_w32fns): Remove display-hourglass, hourglass-delay,
+       hourglass_shown_p declaration/initialization.
+
+2008-07-14  Jason Rumney  <jasonr@gnu.org>
+
+       * w32fns.c (w32_get_arg): Remove wrapper function.
+       (w32_createwindow, x_icon, x_create_tip_frame): Use x_get_arg
+       directly.
+       (Fx_create_frame): Sync with xfns.c.  Use x_get_arg directly.
+
+2008-07-14  Kenichi Handa  <handa@m17n.org>
+
+       * xfont.c (xfont_open): Add workaround for X's bug.
+
+2008-07-14  Emanuele Giaquinta  <emanuele.giaquinta@gmail.com>  (tiny change)
+
+       * fontset.c: Include <stdio.h> unconditionally.
+
+2008-07-13  Michael Albinus  <michael.albinus@gmx.de>
+
+       * dbusbind.c (Fdbus_register_signal): Allow also signal arguments
+       for filtering.
+
+2008-07-13  Dan Nicolaescu  <dann@ics.uci.edu>
+
+       * s/vms.h: Use __GNUC__ instead of _GNUC_.
+
+       * m/macppc.h:
+       * m/alpha.h: Use GNU_LINUX instead of LINUX.  Reorganize conditionals.
+
+       * m/ibms390x.h (XINT, XUINT): Don't define, same as the default
+       (SPECIAL_EMACS_INT):
+       * m/ia64.h (SPECIAL_EMACS_INT):
+       * m/amdx86-64.h (SPECIAL_EMACS_INT):
+       * s/gnu.h (NLIST_STRUCT):
+       * aix4-2.h (X11R5_INHIBIT_I18N):
+       * s/gnu-linux.h (LINUX):
+       * s/msdos.h (HAVE_FACES):
+       * s/ms-w32.h (HAVE_FACES): Don't define, unused.
+
+       * systty.h:
+       * sysdep.c (setup_pty): Don't depend on SYSV_PTYS, it is not used
+       anymore.
+
+2008-07-12  Dan Nicolaescu  <dann@ics.uci.edu>
+
+       * syswait.h: Remove old if 0 code.  Do not define WAITTYPE, it was
+       always defined as int.
+
+       * s/netbsd.h (HAVE_UNION_WAIT, HAVE_WAIT_HEADER, WAIT_USE_INT):
+       * s/gnu.h (HAVE_WAIT_HEADER, WAIT_USE_INT, HAVE_UNION_WAIT):
+       * s/gnu-linux.h (HAVE_WAIT_HEADER):
+       * s/freebsd.h (HAVE_WAIT_HEADER):
+       * s/bsd-common.h (HAVE_UNION_WAIT):
+       * s/aix4-2.h (HAVE_WAIT_HEADER):
+       * m/mips.h (HAVE_UNION_WAIT):
+       * s/usg5-4.h (HAVE_WAIT_HEADER, WAITTYPE): Do not define, not used.
+       (COFF, static): Do not define, they are undefined later in the file.
+
+       * process.c (update_status): Don't use a union.
+       (status_convert):
+       (sigchld_handler): Use int instead of WAITTYPE.
+
+2008-07-12  Chong Yidong  <cyd@stupidchicken.com>
+
+       * indent.c (Fvertical_motion): Restore hscroll before moving to
+       goal column.
+
 2008-07-11  Dan Nicolaescu  <dann@ics.uci.edu>
 
        * lisp.h: Remove left over code.
 
 2008-07-10  Chong Yidong  <cyd@stupidchicken.com>
 
-       * xdisp.c (move_it_to): Backtrack if past the edge of a wrapped
-       line.
+       * xdisp.c (move_it_to): Backtrack if past the edge of a wrapped line.
 
 2008-07-10  Dan Nicolaescu  <dann@ics.uci.edu>
 
        Add hfont member.
        (FONT_COMPAT): Remove obsolete macro.
 
-       * w32font.c (w32font_close): Remove compat code. Delete hfont member.
+       * w32font.c (w32font_close): Remove compat code.  Delete hfont member.
        (w32font_encode_char, w32font_text_extents): Use new hfont member.
-       (w32font_open_internal): Remove compat code. Set new hfont member.
+       (w32font_open_internal): Remove compat code.  Set new hfont member.
        (Fx_select_font): Use new hfont member.
 
        * w32uniscribe.c (uniscribe_otf_capability, uniscribe_shape)
        replacing truncate_partial_width_windows.
        (init_iterator): If Vtruncate_partial_width_windows is an integer,
        truncate only if the window width is below that integer.
-       (start_display. resize_mini_window, produce_stretch_glyph)
+       (start_display, resize_mini_window, produce_stretch_glyph)
        (display_string, move_it_in_display_line_to): Use line_wrap.
        (back_to_previous_visible_line_start, reseat_1): Reset
        string_from_display_prop_p.