* config.nt (HAVE_FACES): Remove, unused.
[bpt/emacs.git] / src / ChangeLog
index 41fe657..3cd3caf 100644 (file)
@@ -1,3 +1,335 @@
+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):