* Makefile.in (LIBS_MACHINE): Remove, unused.
[bpt/emacs.git] / src / ChangeLog
index b88211f..9807cd4 100644 (file)
@@ -1,3 +1,234 @@
+2010-04-26  Dan Nicolaescu  <dann@ics.uci.edu>
+
+       * Makefile.in (LIBS_MACHINE): Remove, unused.
+
+       Use autoconf instead of cpp for LIB_MATH.
+       * s/darwin.h (LIB_MATH): Do not define here, move to configure.
+       * s/cygwin.h (LIB_MATH): Likewise.
+       * Makefile.in (LIB_MATH): Do not define with cpp.
+       (LIBES): Use autoconf for LIB_MATH.
+
+2010-04-26  Kenichi Handa  <handa@m17n.org>
+
+       * composite.c (Ffind_composition_internal): Fix the return value
+       for an automatic composition.
+
+2010-04-25  Dan Nicolaescu  <dann@ics.uci.edu>
+
+       Remove all NO_ARG_ARRAY uses.
+       * fns.c (concat2, concat3, nconc2):
+       * eval.c (apply1, call1, call2, call3, call4, call5, call6)
+       (call7): Remove NO_ARG_ARRAY usage, assume it's always true.
+       * m/xtensa.h (NO_ARG_ARRAY):
+       * m/template.h (NO_ARG_ARRAY):
+       * m/sparc.h (NO_ARG_ARRAY):
+       * m/sh3.h (NO_ARG_ARRAY):
+       * m/mips.h (NO_ARG_ARRAY):
+       * m/macppc.h (NO_ARG_ARRAY):
+       * m/iris4d.h (NO_ARG_ARRAY):
+       * m/intel386.h (NO_ARG_ARRAY):
+       * m/ibms390x.h (NO_ARG_ARRAY):
+       * m/ibms390.h (NO_ARG_ARRAY):
+       * m/ibmrs6000.h (NO_ARG_ARRAY):
+       * m/ia64.h (NO_ARG_ARRAY):
+       * m/hp800.h (NO_ARG_ARRAY):
+       * m/arm.h (NO_ARG_ARRAY):
+       * m/amdx86-64.h (NO_ARG_ARRAY):
+       * m/alpha.h (NO_ARG_ARRAY): Remove definition.
+
+2010-04-25  Eli Zaretskii  <eliz@gnu.org>
+
+       * xdisp.c (display_line): Don't assume 2nd call to
+       get_next_display_element cannot return zero.  (Bug#6030)
+       (iterate_out_of_display_property): New function, body from pop_it.
+       (pop_it): Use it.
+
+2010-04-24  Glenn Morris  <rgm@gnu.org>
+
+       * m/amdx86-64.h (START_FILES, LIB_STANDARD) [__OpenBSD__]:
+       For clarity, revert to using fixed /usr/lib rather than $CRT_DIR.
+       (START_FILES, LIB_STANDARD) [__FreeBSD__]: Merge into the generic case,
+       since CRT_DIR defaults to /usr/lib.  Suggested by Dan Nicolaescu.
+
+2010-04-24  Eli Zaretskii  <eliz@gnu.org>
+
+       * xdisp.c (display_line): Use `reseat' instead of `reseat_1', and
+       use `get_next_display_element' and `set_iterator_to_next' to
+       advance to the next character, when looking for the character that
+       begins the next row.
+
+       * .gdbinit: Add a "set Fmake_symbol" line to force GDB to load the
+       definition of "struct Lisp_Symbol".
+
+2010-04-24  Glenn Morris  <rgm@gnu.org>
+
+       * Makefile.in (CRT_DIR): New variable, set by configure.
+       * m/amdx86-64.h, m/ibms390x.h (START_FILES, LIB_STANDARD):
+       Use $CRT_DIR rather than HAVE_LIB64_DIR.  (Bug#5655)
+
+2010-04-23  Dan Nicolaescu  <dann@ics.uci.edu>
+
+       * Makefile.in: Remove C_SWITCH_X_MACHINE, unused.
+
+       * s/cygwin.h (LIBS_DEBUG): Remove, unused.
+
+       Remove redundant flags.
+       * s/freebsd.h (C_SWITCH_SYSTEM):
+       * s/hpux10-20.h (C_SWITCH_X_SYSTEM, LD_SWITCH_X_DEFAULT):
+       * s/netbsd.h (C_SWITCH_SYSTEM):
+       * s/openbsd.h (LD_SWITCH_X_DEFAULT): Remove, configure takes care
+       of these.
+
+       Simplify m/intel386.h.
+       * m/intel386.h (CRT0_DUMMIES): Remove, inline value in the only
+       user: ecrt0.c.
+       (SOLARIS2): Remove LOAD_AVE_TYPE, LOAD_AVE_CVT, LIBS_MACHINE, unused.
+       (USG5_4): Move LOAD_AVE_TYPE, LOAD_AVE_CVT, FSCALE definitions to
+       the only user: s/unixware.h.
+       * ecrt0.c: Remove #ifndef static.  Inline CRT0_DUMMIES definition
+       from m/intel386.h.
+       * s/unixware.h (LOAD_AVE_TYPE, LOAD_AVE_CVT, FSCALE): Definitions
+       moved here from m/intel386.h.
+
+       * m/mips.h: Remove #if 0 code.
+
+2010-04-23  Eli Zaretskii  <eliz@gnu.org>
+
+       Fix display of composed characters from L2R scripts in bidi buffers.
+       * xdisp.c (set_iterator_to_next, next_element_from_composition):
+       After advancing IT past the composition, resync the bidi iterator
+       with IT's position.  (Bug#5977)
+
+2010-04-23  Dan Nicolaescu  <dann@ics.uci.edu>
+
+       * Makefile.in (LD_SWITCH_MACHINE_TEMACS): Remove, unused.
+       (TEMACS_LDFLAGS): Don't use LD_SWITCH_SYSTEM_TEMACS.
+
+2010-04-23  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * gtkutil.c: Include xsettings.h for Ftool_bar_get_system_style.
+
+2010-04-23  Eli Zaretskii  <eliz@gnu.org>
+
+       Support `display' text properties and overlay strings in bidi buffers.
+       * xdisp.c (pop_it): When the stack is popped after displaying
+       from a string, bidi-iterate to exit from the text portion covered
+       by the `display' property or overlay.  (Bug#5988, bug#5920)
+
+2010-04-23  Dan Nicolaescu  <dann@ics.uci.edu>
+
+       * m/macppc.h (LD_SWITCH_SYSTEM_TEMACS): Remove #undef.
+       (LD_SWITCH_MACHINE_TEMACS): Remove, configure sets nocombreloc.
+
+       * s/netbsd.h (LD_SWITCH_SYSTEM_TEMACS): Remove, configure sets nocombreloc.
+       * s/openbsd.h (LD_SWITCH_SYSTEM_TEMACS): Remove.
+
+       Simplify STARTFILES definition.
+       * s/hpux10-20.h (START_FILES): Explicitly define here instead of
+       relying on Makefile.in to define it.
+       * s/cygwin.h (START_FILES): Likewise.
+       * Makefile.in (STARTFILES): Remove conditional code, not needed anymore.
+
+       Clean up Solaris code.
+       * s/sol2-6.h (LD_SWITCH_SYSTEM_TEMACS, C_SWITCH_X_SYSTEM)
+       (LIB_MOTIF): Remove, configure takes care of this.
+       (NOT_USING_MOTIF): Remove, unused.
+       * xrdb.c: Remove #if 0-ed #include.
+       (SYSV): Remove conditional for old SysV.
+       * sysdep.c (closedir): Remove conditional code for Solaris,
+       Solaris has closedir.
+
+2010-04-22  Jan Djärv  <jan.h.d@swipnet.se>
+
+       * xsettings.c (read_and_apply_settings): Check if current_font is
+       NULL before strcmp (Bug#6001).
+
+2010-04-21  Dan Nicolaescu  <dann@ics.uci.edu>
+
+       Clean up HP-UX files.
+       * m/hp800.h (NO_REMAP, VIRT_ADDR_VARIES, DATA_SEG_BITS)
+       (DATA_START, TEXT_START, LOAD_AVE_TYPE, LOAD_AVE_CVT)
+       (LDAV_SYMBOL, index, rindex): Move definitions only used in HP-UX ...
+       * s/hpux10-20.h: ... to the only user, here.
+
+2010-04-21  Eli Zaretskii  <eliz@gnu.org>
+
+       * bidi.c (bidi_find_paragraph_start, bidi_at_paragraph_end): Don't
+       use buffer-local values of paragraph-start and paragraph-separate.
+       <paragraph_start_re, paragraph_separate_re>: Rename from
+       fallback_paragraph_start_re and fallback_paragraph_separate_re.
+       (Bug#5992)
+
+2010-04-21  Jan Djärv  <jan.h.d@swipnet.se>
+
+       * xsettings.c: Qmonospace_font_name, Qtool_bar_style and
+       current_tool_bar_style are new.
+       (store_config_changed_event): Rename from store_font_changed_event.
+       (XSETTINGS_TOOL_BAR_STYLE): New define.
+       (SEEN_FONT, SEEN_TB_STYLE): New enum values.
+       (struct xsettings): Add font and tb_style, set xft stuff inside #ifdef
+       HAVE_XFT.
+       (something_changedCB): store_font_changed_event is now
+       store_config_changed_event
+       (parse_settings): Rename from parse_xft_settings.  Read
+       non-xft xsettings outside #ifdef HAVE_XFT.
+       (read_settings): Renamed from read_xft_settings.
+       (apply_xft_settings): Take current settings as parameter.  Do not
+       call read_(xft)_settings.
+       (read_and_apply_settings): New function.
+       (xft_settings_event): Do non-xft stuff out of HAVE_XFT.  Call
+       read_and_apply_settings if there are settings to be read.
+       (init_xsettings): Renamed from init_xfd_settings.
+       Call read_and_apply_settings unconditionally.
+       (xsettings_initialize): Call init_xsettings.
+       (Ftool_bar_get_system_style): New function.
+       (syms_of_xsettings): Define Qmonospace_font_name and
+       Qtool_bar_style.  Initialize current_tool_bar_style to nil.
+       defsubr Stool_bar_get_system_style. Fprovide on
+       dynamic-setting.
+       Move misplaced HAVE_GCONF
+
+       * xsettings.h (Ftool_bar_get_system_style): Declare.
+
+       * xdisp.c: Vtool_bar_style, tool_bar_max_label_size,
+       Qtext, Qboth, Qboth_horiz are new.
+       (syms_of_xdisp): Intern Qtext, Qboth, Qboth_horiz, DEFVAR
+       Vtool_bar_style, tool_bar_max_label_size.
+
+       * lisp.h: Extern declare Qtext, Qboth, Qboth_horiz.
+
+       * keyboard.c: QClabel is new.
+       (parse_tool_bar_item): Take out QClabel from tool bar items.
+       Try to construct a label if ther is no QClabel.
+       (syms_of_keyboard): Intern :label as QClabel.
+
+       * dispextern.h (tool_bar_item_idx): TOOL_BAR_ITEM_LABEL is new.
+       (Vtool_bar_style, tool_bar_max_label_size, DEFAULT_TOOL_BAR_LABEL_SIZE):
+       New.
+
+       * Makefile.in (SOME_MACHINE_LISP): font-setting.el renamed to
+       dynamic-setting.el.
+
+       * gtkutil.c (xg_tool_bar_menu_proxy): Handle label in tool bar item.
+       (xg_make_tool_item, xg_show_toolbar_item): New function.
+       (update_frame_tool_bar): Take label from TOOL_BAR_ITEM_LABEL.
+       Call xg_make_tool_item to make a tool bar item.
+       Call xg_show_toolbar_item.  Use wtoolbar instead of x->toolbar_widget.
+
+       * xterm.c (x_draw_image_relief): Take Vtool_bar_button_margin
+       into account for toolbars.
+
+2010-04-21  Jan Djärv  <jan.h.d@swipnet.se>
+
+       * data.c (make_blv): Declarations before code (Bug#5993).
+
+2010-04-21  Glenn Morris  <rgm@gnu.org>
+
+       * Makefile.in (DBUS_OBJ, GTK_OBJ, XMENU_OBJ, XOBJ):
+       Define using autoconf, not cpp.
+       (LIBXSM): New variable, set by autoconf.
+       (LIBXT): Use $LIBXSM.
+
 2010-04-21  Dan Nicolaescu  <local_user@dannlt>
 
        Remove NOMULTIPLEJOBS, unused.
 
        * frame.h (FRAME_LINE_TO_PIXEL_Y): Add missing parenthesis.
 
-2010-04-19  Jan Djärv  <jan.h.d@swipnet.se>
-
-       * frame.h (FRAME_TEXT_LINES_TO_PIXEL_HEIGHT): Don't use
-       FRAME_LINE_TO_PIXEL_Y.
-
-       * xterm.c (x_set_window_size_1): Don't add border_width/height to
-       pixelwidth/height.
-
 2010-04-19  Chong Yidong  <cyd@stupidchicken.com>
 
        * xdisp.c (prepare_menu_bars): Don't call ns_set_doc_edited for