(w32_get_arg): Remove wrapper function.
[bpt/emacs.git] / src / ChangeLog
index a61e3e4..85b81de 100644 (file)
+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-11  Andreas Schwab  <schwab@suse.de>
+
+       * lisp.h: Fix logic in last change.
+
+       * menu.h: New file.
+       * menu.c: Include it.
+       * xmenu.c: Likewise.
+       * Makefile.in: Update dependencies.
+
+2008-07-11  Kenichi Handa  <handa@m17n.org>
+
+       * fontset.c (fontset_from_font): Cancel the previous change.
+
+2008-07-11  Dan Nicolaescu  <dann@ics.uci.edu>
+
+       * lisp.h:
+       * w32heap.c:
+       * emacs.c:
+       * alloc.c: Replace all references of NO_UNION_TYPE with
+       USE_LISP_UNION_TYPE.
+
+       * m/xtensa.h (NO_UNION_TYPE):
+       * m/vax.h (NO_UNION_TYPE):
+       * m/template.h (NO_UNION_TYPE):
+       * m/sparc.h (NO_UNION_TYPE):
+       * m/mips.h (NO_UNION_TYPE):
+       * m/macppc.h (NO_UNION_TYPE):
+       * m/m68k.h (NO_UNION_TYPE):
+       * m/iris4d.h (NO_UNION_TYPE):
+       * m/intel386.h (NO_UNION_TYPE):
+       * m/ibms390x.h (NO_UNION_TYPE):
+       * m/ibms390.h (NO_UNION_TYPE):
+       * m/ibmrs6000.h (NO_UNION_TYPE):
+       * m/ia64.h (NO_UNION_TYPE):
+       * m/hp800.h (NO_UNION_TYPE):
+       * m/arm.h (NO_UNION_TYPE):
+       * m/amdx86-64.h (NO_UNION_TYPE):
+       * m/alpha.h (NO_UNION_TYPE): Remove definition, all platform were
+       defining it the same.
+
+2008-07-10  Chong Yidong  <cyd@stupidchicken.com>
+
+       * xdisp.c (move_it_to): Backtrack if past the edge of a wrapped
+       line.
+
+2008-07-10  Dan Nicolaescu  <dann@ics.uci.edu>
+
+       * src/fileio.c:
+       * src/sysdep.c
+       * src/systty.h:
+       * src/m/ibmrs6000.h:
+       * src/m/iris4d.h:
+       * src/s/aix4-2.h:
+       * src/s/freebsd.h:
+       * src/s/gnu-linux.h:
+       * src/s/hpux10-20.h:
+       * src/s/hpux11.h:
+       * src/s/netbsd.h:
+       * src/s/sol2-3.h:
+       * src/s/sol2-4.h:
+       * src/s/sol2.h:
+       * src/s/usg5-4.h:
+       * src/s/vms.h: Remove references to unused variables.
+
+2008-07-10  Andreas Schwab  <schwab@suse.de>
+
+       * ftfont.c (ftfont_resolve_generic_family): Remove foundry from
+       pattern before matching the generic family.
+
+2008-07-10  Dan Nicolaescu  <dann@ics.uci.edu>
+
+       * unexec.c:
+       * s/vms.h:
+       * s/usg5-4-2.h:
+       * s/sol2-5.h:
+       * s/freebsd.h:
+       * s/darwin.h: Remove dead code.
+
+       * m/template.h:
+       * m/sparc.h:
+       * m/mips.h:
+       * m/m68k.h:
+       * m/iris4d.h:
+       * m/intel386.h:
+       * m/ibms390x.h:
+       * m/ibms390.h:
+       * m/ia64.h:
+       * m/hp800.h:
+       * m/arm.h:
+       * m/amdx86-64.h: Remove dead code and references to unused
+       and compiler defined symbols.
+
+       * unexmips.c:
+       * unexelf.c: Remove references to desupported systems.
+
+       * m/powermac.h: Remove file, it is now identical to m/macppc.h.
+
+       * m/powermac.h: Remove boilerplate comments.
+       (NO_REMAP): Remove unused definition.
+
+       * m/macppc.h (UNEXEC, NO_TERMIO): Don't define, the s/ files
+       define them.
+
+2008-07-10  Kenichi Handa  <handa@m17n.org>
+
+       * xfont.c (xfont_open): Log the reason of failure.
+
+2008-07-09  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * fontset.c (fontset_get_font_group):
+       * font.c (font_check_otf): Specify argument types.
+
+2008-07-09  Kenichi Handa  <handa@m17n.org>
+
+       * coding.c (detect_coding_utf_8): Set detect_info->found only when
+       non-ASCII char is found.
+
+       * fontset.c (fontset_compare_rfontdef): Fix plus/minus.
+       (reorder_font_vector): Change the arg preferred_family to font.
+       Prefer the spec matching with font.
+       (fontset_get_font_group): New function.
+       (fontset_find_font): Change the format of an element of a realized
+       fontset.  Use fontset_get_font_group.
+       (fontset_font): Try the current fontset, the default fontset, the
+       fallbacks of the current fonset, and the fallbacks of the default
+       fontset in this order.
+       (face_for_char): Delete the shortcut to use the current font.
+       (fontset_from_font): Don't set fonts for Latin in the fontset.
+
+       * font.h (font_make_object, font_match_p): Adjust prototypes.
+
+       * ftfont.h [FT_BDF_H]: Include FT_BDF_H.
+
+       * font.c (font_make_object): New arg entity and pixelsize.
+       (font_check_otf_features, font_check_otf): New functions.
+       (font_match_p): Check :lang, :script, and :otf properties.
+
+       * xfont.c (xfont_open): Adjust it for the change of
+       font_make_object.
+       (xfont_text_extents): Fix initial setting of metrics.
+
+       * ftfont.c (struct ftfont_info): New member index, delete member
+       fc_charset_idx.  Make the member order compatible with struct
+       xftfont_info.
+       (fc_charset_table): Change charset names to registry names.
+       (ftfont_pattern_entity): Delete the args registry and
+       fc_charset_idx.  Change the value of :font-entity property
+       to (FONTNAME . INDEX).  Always set :registry property to
+       `iso10646-1'.
+       (struct ftfont_cache_data): New struct.
+       (ftfont_lookup_cache): New arg for_face.
+       (ftfont_get_fc_charset, ftfont_get_otf): New functions.
+       (ftfont_driver): Set the member otf_capability.
+       (ftfont_get_charset): Adjust it for the change of
+       fc_charset_table.
+       (OTF_TAG_SYM): New macro.
+       (ftfont_spec_pattern): Delete the arg fc_charset_idx.  Adjust it
+       for the change of fc_charset_table.
+       (ftfont_list): Adjust it for the change of ftfont_spec_pattern and
+       ftfont_pattern_entity.  Add FC_INDEX to objset.
+       (ftfont_match): Adjust it for the change of ftfont_spec_pattern
+       and ftfont_pattern_entity.
+       (ftfont_open): Adjust it for the change of ftfont_lookup_cache,
+       font_make_object, struct ftfont_info.
+       (ftfont_has_char): Use ftfont_get_fc_charset.
+       (ftfont_otf_features, ftfont_otf_capability): New functions.
+       (ftfont_shape): Use ftfont_get_otf.
+       (ftfont_text_extents): Fix initial setting of metrics.
+
+       * xftfont.c (struct xftfont_info): New member ft_size.  Make the
+       member order compatible with struct ftfont_info.
+       (xftfont_open): Add FC_CHARSET to the pattern.  Set
+       xftfont_info->ft_size.  Don't unlock the face.  Check BDF
+       properties if appropriate.
+       (xftfont_close): Unlock the face.
+       (xftfont_anchor_point, xftfont_shape): Deleted.
+       (syms_of_xftfont): Don't set members anchor_point and shape of
+       xftfont_driver.
+
+       * w32uniscribe.c (uniscribe_open): Adjust it for the change of
+       font_make_object.
+
+       * w32font.c (w32font_open): Adjust it for the change of
+       font_make_object.
+       (w32font_open_internal): Don't set properties of font_object here.
+
+2008-07-08  Chong Yidong  <cyd@stupidchicken.com>
+
+       * macfns.c (x_create_tip_frame):
+       * w32fns.c (x_create_tip_frame):
+       * xfns.c (x_create_tip_frame): Pass parameter argument to
+       face-set-after-frame-default.
+
+       * xfaces.c (Finternal_merge_in_global_face): Save merged
+       attributes for the default face back into the face vector.
+
+2008-07-08  Andreas Schwab  <schwab@suse.de>
+
+       * fontset.h: Declare fontset_from_font.  Don't declare
+       new_fontset_from_font and fontset_from_font_name.
+       * xterm.c: Include "fontset.h".
+       * Makefile.in (xterm.o): Update dependencies.
+
+2008-07-08  Glenn Morris  <rgm@gnu.org>
+
+       * m/sparc.h: Define __sparc__ rather than sparc.  (Bug#507.)
+       * alloc.c, ecrt0.c: Use __sparc__ rather than sparc.
+
+2008-07-07  Chong Yidong  <cyd@stupidchicken.com>
+
+       * frame.c (Qinhibit_face_set_after_frame_default): Var deleted.
+       (x_set_frame_parameters): Don't bind it.
+
+2008-07-07  Juanma Barranquero  <lekktu@gmail.com>
+
+       * w32fns.c (map_w32_filename): Declare extern.
+
+2008-07-07  Jason Rumney  <jasonr@gnu.org>
+
+       * w32term.c (WS_EX_LAYERED): Define if not already.
+
+2008-07-06  Chong Yidong  <cyd@stupidchicken.com>
+
+       * xfaces.c (set_font_frame_param): Don't try to set the font
+       parameter if it is still unspecified in the lface.
+
+2008-07-05  Chong Yidong  <cyd@stupidchicken.com>
+
+       * xfaces.c (Finternal_merge_in_global_face): Don't realize default
+       face if it didn't already exist.
+
+       * xdisp.c (try_window_id): Give up if word-wrapping is on.
+
+2008-07-05  Andreas Schwab  <schwab@suse.de>
+
+       * xdisp.c (get_it_property): Move out of HAVE_WINDOW_SYSTEM section.
+
+2008-07-05  Chong Yidong  <cyd@stupidchicken.com>
+
+       * xdisp.c (IT_OVERFLOW_NEWLINE_INTO_FRINGE): Turn it off if
+       word-wrapping.
+       (IT_DISPLAYING_WHITESPACE): New macro.
+       (move_it_in_display_line_to): Handle MOVE_TO_X requests properly
+       when word-wrapping.  Simplify word-wrapping logic.  Use correct
+       pixel positions when saving copies of the iterator.
+       (display_line): Use proper wrap point if the last character on a
+       line was preceded by whitespace.
+
+2008-07-04  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * Makefile.in (${etc}DOC): Depend on ${lisp} rather than ${shortlisp}.
+
+2008-07-04  Kenichi Handa  <handa@m17n.org>
+
+       * fns.c (Fstring_to_unibyte): Delete the arg ACCEPT-LATIN-1.
+
+       * lisp.h: EXFUN adjusted for the change of Fstring_to_unibyte.
+
+2008-07-02  Jason Rumney  <jasonr@gnu.org>
+
+       * xfns.c (syms_of_xfns): Only define x-select-font when both
+       HAVE_FREETYPE and USE_GTK
+
+       * xdisp.c (next_element_from_display_vector): Move assignment out
+       of if statement.
+
+2008-07-02  Toru Tsuneyoshi  <t_tuneyosi@hotmail.com>
+
+       * lisp.h (Qdelete_file, Qdelete_directory): Declare extern.
+
+       * fileio.c (delete_by_moving_to_trash, Qmove_file_to_trash): New vars.
+       (syms_of_fileio): Initialize and export them.
+       (Fdelete_directory, Fdelete_file): Optionally delete via trash.
+
+       * w32fns.c (FOF_NO_CONNECTED_ELEMENTS): Define if not already.
+       (Fsystem_move_file_to_trash): New function.
+       (syms_of_w32fns): Export it to lisp.
+
+2008-07-01  Jason Rumney  <jasonr@gnu.org>
+
+       * w32font.c (w32font_text_extents): Don't count overhang as part
+       of width.
+
+2008-06-30  Miles Bader  <miles@gnu.org>
+
+       * dispextern.h (struct glyph, struct it, struct iterator_stack_entry):
+       Add `avoid_cursor_p' field.
+
+       * xdisp.c (push_it, pop_it): Save/restore avoid_cursor_p field.
+       (set_cursor_from_row): Skip glyphs with avoid_cursor_p set.
+       (append_glyph, append_composite_glyph, produce_image_glyph)
+       (append_stretch_glyph): Initialize avoid_cursor_p.
+       (get_it_property): Rename from `get_line_height_property'.
+       (x_produce_glyphs): Use get_it_property.
+       (handle_line_prefix, push_display_prop): New functions.
+       (display_line, move_it_in_display_line_to): Handle line/wrap prefixes.
+       (Vwrap_prefix, Qwrap_prefix, Vline_prefix, Qline_prefix):
+       New variables.
+       (syms_of_xdisp): Initialize them.
+
+2008-06-30  Kenichi Handa  <handa@m17n.org>
+
+       * xftfont.c (xftfont_open): Don't call FcConfigSubstitute and
+       XftDefaultSubstitute (they are called in XftFontMatch).
+       (xftfont_open): Fix args to ftfont_font_format.
+
+       * ftfont.c (fc_charset_table): New member lang.
+       (ftfont_resolve_generic_family): New arg pattern.
+       (ftfont_spec_pattern): Check fc_cahrset_table[]->lang.
+       (ftfont_list): Call ftfont_resolve_generic_family with `pattern'.
+       (ftfont_open): Fix args to ftfont_font_format.
+       (ftfont_font_format): New arg filename.
+
+2008-06-30  Chong Yidong  <cyd@stupidchicken.com>
+
+       * xfaces.c (Finternal_merge_in_global_face): If default face was
+       modified, realize it again.  Update the font face attribute.
+
+2008-06-29  Jason Rumney  <jasonr@gnu.org>
+
+       * w32term.c (x_set_frame_alpha): Fix logic.
+
+2008-06-29  Kenichi Handa  <handa@m17n.org>
+
+       * fontset.c (Finternal_char_font): Return font-object instead of
+       font-name.
+
+       * composite.c (get_composition_id): Fix the width calculation for TAB.
+
+2008-06-29  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * indent.c (Fvertical_motion): Properly handle float column arg.
+
+2008-06-28  Jason Rumney  <jasonr@gnu.org>
+
+       * w32term.c (pfnGetFontUnicodeRanges): Remove unused function pointer.
+       (pfnSetLayeredWindowAttributes): New function pointer.
+       (w32_initialize): Initialize it when supported.
+       (x_set_frame_alpha): New function.
+
+       * w32fns.c (Fx_create_frame): Initialize frame parameter `alpha'.
+       (w32_frame_parm_handlers): Set alpha handler.
+
+       * frame.c (x_set_alpha) [HAVE_NTGUI]: Call x_set_frame_alpha.
+
+2008-06-27  Jason Rumney  <jasonr@gnu.org>
+
+       * w32fns.c (x_to_w32_font, w32_to_x_font, x_to_w32_weight)
+       (w32_to_x_weight, w32_to_all_x_charsets): Remove obsolete functions.
+       (w32_to_x_charset, x_to_w32_charset)
+       (Qw32_charset_ansi, Qw32_charset_symbol, Qw32_charset_default)
+       (Qw32_charset_shiftjis, Qw32_charset_hangeul, Qw32_charset_johab)
+       (Qw32_charset_chinesebig5, Qw32_charset_gb2312, Qw32_charset_oem)
+       (Qw32_charset_easteurope, Qw32_charset_turkish, Qw32_charset_baltic)
+       (Qw32_charset_russian, Qw32_charset_arabic, Qw32_charset_greek)
+       (Qw32_charset_hebrew, Qw32_charset_vietnamese, Qw32_charset_thai)
+       (Qw32_charset_mac, Vw32_charset_info_alist): Move to w32font.c.
+       (Qw32_charset_unicode): Remove.
+       (syms_of_w32fns): Update for above changes.
+
+       * w32font.c (w32_to_x_charset, x_to_w32_charset)
+       (Qw32_charset_ansi, Qw32_charset_symbol, Qw32_charset_default)
+       (Qw32_charset_shiftjis, Qw32_charset_hangeul, Qw32_charset_johab)
+       (Qw32_charset_chinesebig5, Qw32_charset_gb2312, Qw32_charset_oem)
+       (Qw32_charset_easteurope, Qw32_charset_turkish, Qw32_charset_baltic)
+       (Qw32_charset_russian, Qw32_charset_arabic, Qw32_charset_greek)
+       (Qw32_charset_hebrew, Qw32_charset_vietnamese, Qw32_charset_thai)
+       (Qw32_charset_mac, Vw32_charset_info_alist): Move from w32fns.c.
+       (syms_of_w32font): Update for above changes.
+
+2008-06-27  Dan Nicolaescu  <dann@ics.uci.edu>
+
+       * s/usg5-4.h: Fix previous change: keep the correct branch of a
+       removed #if.
+       (USG_SHARED_LIBRARIES): Remove duplicate definition.
+
+2008-06-26  Juanma Barranquero  <lekktu@gmail.com>
+           Eli Zaretskii  <eliz@gnu.org>
+
+       * makefile.w32-in (LOCAL_FLAGS):
+       Don't include WINDOWSNT, DOS_NT and _UCHAR_T.
+
+       * sysdep.c (_spawnlp, _getpid):
+       Declare with explicit _cdecl instead of _CRTAPI1.
+
+       * editfns.c (Fget_internal_run_time):
+       Check for WINDOWSNT with #ifdef, not #if.
+
+2008-06-26  Jason Rumney  <jasonr@gnu.org>
+
+       * w32font.h (FONT_HANDLE, FONT_TEXTMETRIC): New macros.
+
+       * w32term.c (x_draw_glyph_string_foreground)
+       (x_draw_composite_glyph_string_foreground): Sync with xterm.c.
+       Use FONT_HANDLE macro.
+       (x_draw_glyph_string): Use FONT_TEXTMETRIC macro.
+
+       * w32uniscribe.c (uniscribe_otf_capability, uniscribe_shape)
+       (uniscribe_encode_char): Use FONT_HANDLE macro.
+
+       * w32font.c (Fx_select_font): Use FONT_HANDLE macro.
+       (w32font_text_extents): Use precast w32_font.
+       (w32font_close): Free cached metrics.
+       (w32font_open_internal): Allocate space for name on stack.
+
+2008-06-26  Chong Yidong  <cyd@stupidchicken.com>
+
+       * xdisp.c (extend_face_to_end_of_line): Fix last change.
+
+2008-06-26  Jason Rumney  <jasonr@gnu.org>
+
+       * w32term.h (FONT_AVG_WIDTH): Remove obsolete macro.
+       (CP_8BIT, CP_UNICODE, CP_UNKNOWN): Remove obsolete constants.
+
+2008-06-26  Juanma Barranquero  <lekktu@gmail.com>
+
+       * Makefile.in (SOME_MACHINE_OBJECTS): Remove w32bdf.o.
+
+2008-06-26  Jason Rumney  <jasonr@gnu.org>
+
+       * w32bdf.c, w32bdf.h: Remove obsolete files.
+
+       * makefile.w32-in: Remove refs to w32bdf.h and w32bdf.c.
+
+       * w32gui.h: Don't include w32bdf.h.
+       (XCharStruct, enum w32_char_font_type, W32FontStruct):
+       Remove obsolete font support.
+
+       * w32font.h (struct w32font_info): Remove compat_w32_font.
+       Add hfont member.
+       (FONT_COMPAT): Remove obsolete macro.
+
+       * 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.
+       (Fx_select_font): Use new hfont member.
+
+       * w32uniscribe.c (uniscribe_otf_capability, uniscribe_shape)
+       (uniscribe_encode_char): Use new hfont member.
+
+       * w32term.c (x_draw_glyph_string_foreground)
+       (x_draw_composite_glyph_string_foreground): Use new hfont member.
+       (x_draw_glyph_string): Use metrics in w32font_info.
+
+2008-06-26  Kenichi Handa  <handa@m17n.org>
+
+       * xdisp.c (handle_auto_composed_prop): Fix for the terminal case.
+
+2008-06-26  Dan Nicolaescu  <dann@ics.uci.edu>
+
+       * unexnext.c:
+       * m/ews4800.h:
+       * m/hp9000s300.h:
+       * m/ibm370aix.h:
+       * m/mips-siemens.h:
+       * m/ncr386.h:
+       * m/next.h:
+       * m/pmax.h:
+       * m/powerpcle.h:
+       * m/tandem-s2.h:
+       * s/386bsd.h:
+       * s/bsd386.h:
+       * s/bsd4-1.h:
+       * s/bsd4-2.h:
+       * s/bsdos2-1.h:
+       * s/bsdos2.h:
+       * s/bsdos3.h:
+       * s/bsdos4.h:
+       * s/nextstep.h:
+       * s/ultrix4-3.h:
+       * s/usg5-0.h:
+       * s/usg5-2-2.h:
+       * s/usg5-2.h:
+       * s/usg5-4-3.h:
+       * s/ux4800.h:
+       * s/uxpds.h:
+       * s/uxpv.h: Remove support for obsolete systems.
+       * s/hpux.h, s/hpux10.h, s/hpux8.h, s/hpux9.h, s/hpux9shr.h:
+       Remove, insert contents in s/hpux-10.20.h
+       * s/aix3-1.h, s/aix3-2-5.h, s/aix3-2.h, s/aix4-1.h, s/aix4.h:
+       Remove, insert contents in s/aix-4.2.h
+       * s/usg5-3.h: Remove, insert contents in s/usg5-4.h.
+       * s/bsd4-3.h: Rename to ..
+       * s/bsd-common.h: ... this.
+       * src/data.c:
+       * src/doc.c:
+       * src/ecrt0.c:
+       * src/emacs.c:
+       * src/fileio.c:
+       * src/floatfns.c:
+       * src/keyboard.c:
+       * src/mem-limits.h:
+       * src/print.c:
+       * src/process.c:
+       * src/sysdep.c:
+       * src/syssignal.h:
+       * src/systty.h:
+       * src/syswait.h:
+       * src/term.c:
+       * src/unexec.c:
+       * src/unexelf.c:
+       * src/unexhp9k800.c:
+       * src/m/hp800.h:
+       * src/m/ibmrs6000.h:
+       * src/m/mips.h:
+       * src/m/vax.h:
+       * src/s/darwin.h:
+       * src/s/freebsd.h:
+       * src/s/gnu.h:
+       * src/s/ms-w32.h:
+       * src/s/msdos.h:
+       * src/s/netbsd.h:
+       * src/s/template.h: Remove references to obsolete variables.
+
+       * Makefile.in: Add dependencies for all unexec files.
+       (admindir): Remove unused variable.
+       (UNEXEC_SRC): Remove references.
+
+2008-06-25  Chong Yidong  <cyd@stupidchicken.com>
+
+       * xfns.c (x_default_font_parameter): If Xft is available, first
+       try Monospace-12 for the default font.
+
+2008-06-25  Jason Rumney  <jasonr@gnu.org>
+
+       * xdisp.c (get_glyph_face_and_encoding): Encode invalid glyphs as 0.
+
+2008-06-25  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * bytecode.c (Fbyte_code): Disable debugging code that doesn't compile.
+
+       * buffer.c (syms_of_buffer): Remove default-word-wrap.
+
+2008-06-25  Juanma Barranquero  <lekktu@gmail.com>
+
+       * xdisp.c (syms_of_xdisp) <truncate-partial-width-windows>: Doc fix.
+       <scroll-conservatively>: Fix typo in docstring.
+
+       * xselect.c (Fx_send_client_event): Doc fix.
+
+2008-06-25  Kenichi Handa  <handa@m17n.org>
+
+       * xfaces.c (Fx_list_fonts): Call Flist_fonts with the arg PREFER.
+
+       * font.c (font_parse_fcname): Remove unused variables.
+       (font_sort_entites): Delete the arg SPEC.  Caller changed.
+       Fix for the case of ! best_only.
+       (font_delete_unmatched): Check DPI and AVGWIDTH too.
+
+       * lisp.h (Fstring_to_unibyte): EXFUN it.
+
+       * character.h (str_to_unibyte): Extern it.
+
+       * character.c (str_to_unibyte): New function.
+
+       * fns.c (Fstring_to_unibyte): New function.
+       (syms_of_fns): Defsubr it.
+
+2008-06-24  Kenichi Handa  <handa@m17n.org>
+
+       * font.c (font_score): Even if the PIXEL_SIZE is the same, check
+       DPI too.
+       (font_sort_entites): Setup prefer_prop[FONT_DPI_INDEX] too.
+
+2008-06-24  Andreas Schwab  <schwab@suse.de>
+
+       * Makefile.in (${lispsource}loaddefs.el): Rename from
+       ../lisp/loaddefs.el.
+       (bootstrap-clean): Do what distclean does but don't remove
+       Makefile.
+       (distclean): Depend on bootstrap-clean and remove Makefile.
+
+2008-06-24  Chong Yidong  <cyd@stupidchicken.com>
+
+       * buffer.h (struct buffer): New member word_wrap.
+
+       * buffer.c (syms_of_buffer): New variables default-word-wrap and
+       word-wrap.
+       (init_buffer_once): Initialize them.
+
+       * dispextern.h (struct it): Replace bool truncate_lines_p with a
+       line_wrap enum possessing three possible values.
+
+       * termopts.h: Replace truncate_partial_width_windows with
+       Vtruncate_partial_width_windows.
+
+       * dispnew.c (direct_output_for_insert): Avoid direct output when
+       inserting a space with word wrap on.
+
+       * indent.c (compute_motion): Obey integer values of
+       truncate-partial-width-windows.
+
+       * xdisp.c (Vtruncate_partial_width_windows): New Lisp_Object,
+       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)
+       (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.
+       (display_line): Extend default face to end of line when wrapping.
+
+2008-06-24  Kim F. Storm  <storm@cua.dk>
+
+       * xdisp.c (display_line, move_it_in_display_line_to): Add ability
+       to wrap continued lines at word boundaries.
+
+2008-06-24  Jason Rumney  <jasonr@gnu.org>
+
+       * font.c (Ffont_face_attributes): Multiply pixel size before point
+       conversion to avoid multiplying rounding error.
+
+2008-06-23  Jason Rumney  <jasonr@gnu.org>
+
+       * w32term.c (x_draw_glyph_string_background)
+       (x_draw_glyph_string): Remove old bdf font code.
+
+       * w32term.h (FONT_TYPE_FOR_UNIBYTE, FONT_TYPE_FOR_MULTIBYTE): Remove.
+
 2008-06-22  Kenichi Handa  <handa@m17n.org>
 
        * font.c (font_find_for_lface): Try the adstyle specified in
        the property of LFACE_FONT of LFACE (if any).
 
 2008-06-21  Seiji Zenitani  <zenitani@mac.com>
-            Ryo Yoshitake  <ryo@shiftmode.net>
+           Ryo Yoshitake  <ryo@shiftmode.net>
 
        * xterm.c (x_set_frame_alpha): Add x_catch_errors for bug#437.
 
 
 2008-06-18  Andreas Schwab  <schwab@suse.de>
 
-       * font.c (Ffont_face_attributes): Only define if
-       HAVE_WINDOW_SYSTEM.
+       * font.c (Ffont_face_attributes): Only define if HAVE_WINDOW_SYSTEM.
        (syms_of_font): Only defsubr if HAVE_WINDOW_SYSTEM.
 
 2008-06-18  Jason Rumney  <jasonr@gnu.org>
 
 2008-06-17  Naohiro Aota  <nao.aota@gmail.com>  (tiny change)
 
-       * fontset.c (fontset_pattern_regexp): Escape some reg-expr
-       characters.
+       * fontset.c (fontset_pattern_regexp): Escape some reg-expr characters.
 
 2008-06-16  Juanma Barranquero  <lekktu@gmail.com>
 
        (w32font_driver): Adjusted for the change of struct font_driver.
 
        * w32term.h: Throughout the file, delete all USE_FONT_BACKEND
-       conditionals.  Don't check enable_font_backend. Surround non-used
+       conditionals.  Don't check enable_font_backend.  Surround non-used
        code by "#ifdef OLD_FONT" and "endif".
        (FONT_WIDTH, FONT_HEIGHT, FONT_BASE, FONT_DESCENT)
        (FONT_AVG_WIDTH): Adjusted for the change of struct font.
 
 2008-02-01  Dave Love  <fx@gnu.org>
 
-       * xterm.c (XTread_socket): Fix changes for defined keysyms.  Add
-       XK_ISO... case.
+       * xterm.c (XTread_socket): Fix changes for defined keysyms.
+       Add XK_ISO... case.
        (xaw_scroll_callback): Revert last change.
 
 2008-02-01  Kenichi Handa  <handa@m17n.org>
@@ -12588,6 +13274,7 @@ See ChangeLog.10 for earlier changes.
 ;; Local Variables:
 ;; coding: utf-8
 ;; add-log-time-zone-rule: t
+;; bug-reference-url-format: "http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=%s"
 ;; End:
 
     Copyright (C) 2007, 2008  Free Software Foundation, Inc.