* Makefile.in (LIBS_MACHINE): Remove, unused.
[bpt/emacs.git] / src / ChangeLog
index 4925c74..9807cd4 100644 (file)
@@ -1,5 +1,561 @@
+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.
+       * s/template.h (NOMULTIPLEJOBS):
+       * s/msdos.h (NOMULTIPLEJOBS): Remove, unused.
+
+       Simplify LD_SWITCH_SYSTEM_TEMACS usage.
+       * s/freebsd.h (LD_SWITCH_SYSTEM_TEMACS):
+       * s/gnu-linux.h (LD_SWITCH_SYSTEM_TEMACS): Remove, configure
+       detects -znocombreloc and passes it to the linker
+       * s/hpux10-20.h (LD_SWITCH_SYSTEM_TEMACS): Remove, empty.
+
+2010-04-21  Glenn Morris  <rgm@gnu.org>
+
+       * Makefile.in (LIBSELINUX_LIBS): Move out of #ifdef.
+
+2010-04-21  Karel Klíč  <kklic@redhat.com>
+
+       * Makefile.in (LIBSELINUX_LIBS): New.
+       (LIBES): Add $LIBSELINUX_LIBS.
+       * eval.c, lisp.h (call7): New function.
+       * fileio.c [HAVE_LIBSELINUX]: Include selinux headers.
+       (Ffile_selinux_context, Fset_file_selinux_context):
+       New functions.
+       (Fcopy_file): New parameter preserve-selinux-context.
+       (Frename_file): Preserve selinux context when renaming by copy-file.
+
+2010-04-21  Juanma Barranquero  <lekktu@gmail.com>
+           Eli Zaretskii  <eliz@gnu.org>
+
+       Don't depend on cm.c or termcap.c on Windows, use stubs.
+       * makefile.w32-in (OBJ1): Remove cm.$(O) and termcap.$(O).
+       ($(BLD)/cm.$(O), $(BLD)/termcap.$(O)): Remove.
+       * w32console.c (current_tty, cost): New vars; lifted from cm.c.
+       (evalcost, cmputc, cmcheckmagic, cmcostinit, cmgoto, Wcm_clear)
+       (sys_tputs, sys_tgetstr): New stubs.
+       * s/ms-w32.h (chcheckmagic, cmcostinit, cmgoto, cmputc, Wcm_clear)
+       (tputs, tgetstr): New; define to sys_*.
+
+2010-04-20  Juanma Barranquero  <lekktu@gmail.com>
+
+       * buffer.c (syms_of_buffer) <bidi-display-reordering>: Doc fix.
+
+2010-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * data.c (Fmake_variable_buffer_local, Fmake_local_variable):
+       Just signal a warning rather than an error when inside a let.
+       (Fmake_variable_frame_local): Add the same test.
+
+       * font.c (syms_of_font): Make the style table vars read-only.
+
+       * buffer.h (struct buffer): Remove unused var `direction_reversed'.
+       * buffer.c (init_buffer_once, syms_of_buffer): Remove its initialization.
+
+       * bidi.c (bidi_initialize): Simplify fallback_paragraph_*_re init.
+
+2010-04-20  Eli Zaretskii  <eliz@gnu.org>
+
+       Fix R2L paragraph display on TTY.
+
+       * xdisp.c (unproduce_glyphs): New function.
+       (display_line): Use it when produced glyphs are discarded from R2L
+       glyph rows.
+       (append_composite_glyph): In R2L rows, prepend the glyph rather
+       than appending it.
+
+       * term.c (append_composite_glyph): In R2L rows, prepend the glyph
+       rather than append it.  Set up the resolved_level and bidi_type
+       attributes of the appended glyph.
+       (produce_special_glyphs): Mirror the backslash continuation
+       character in R2L lines.
+
+       Implement display of R2L paragraphs in GUI sessions.
+
+       * xdisp.c [HAVE_WINDOW_SYSTEM]: Add prototype for
+       append_stretch_glyph.
+       (set_cursor_from_row) <cursor_x>: Remove unused variable.  Fix
+       off-by-one error in computing x at end of text in the row.
+       (append_stretch_glyph): In reversed row, prepend the glyph rather
+       than append it.  Set resolved_level and bidi_type of the glyph.
+       (extend_face_to_end_of_line): If the row is reversed, prepend a
+       stretch glyph whose width is such that the rightmost glyph will be
+       drawn at the right margin of the window.  Fix off-by-one error on
+       TTY frames in testing whether a line needs face extension.  Fix
+       face extension at ZV.  If this is the last glyph row, use
+       DEFAULT_FACE_ID, to avoid painting the rest of the window with the
+       region face.
+       (set_cursor_from_row, display_line): Use
+       MATRIX_ROW_CONTINUATION_LINE_P instead of testing value of
+       row->continuation_lines_width.
+       (next_element_from_buffer): Don't call bidi_paragraph_init if we
+       are at ZV.  Fixes a crash when reseated to ZV by
+       try_window_reusing_current_matrix.
+       (display_and_set_cursor, erase_phys_cursor): Handle negative HPOS,
+       which happens with R2L glyph rows.  Fixes a crash when inserting a
+       character at end of an R2L line.
+       (set_cursor_from_row): Don't be fooled by truncated rows: don't
+       treat them as having zero-width characters.  Improve comments.
+       Don't reverse pos_before and pos_after for reversed glyph rows.
+       Set cursor.x to negative value when the cursor might be on the
+       left fringe.
+       (IT_OVERFLOW_NEWLINE_INTO_FRINGE): For R2L lines, consider the
+       left fringe, not the right one.
+       (notice_overwritten_cursor, draw_phys_cursor_glyph)
+       (erase_phys_cursor): For reversed cursor_row, support cursor on
+       the left fringe.
+
+       * fringe.c (update_window_fringes): For R2L rows, swap the bitmaps
+       of continuation indicators on the fringes.
+       (draw_fringe_bitmap): For reversed glyph rows, allow cursor on the
+       left fringe.
+
+       * w32term.c (w32_draw_window_cursor): For reversed glyph rows,
+       draw cursor on the left fringe.
+
+       * xterm.c (x_draw_window_cursor): For reversed glyph rows, draw
+       cursor on the left fringe.
+
+       * dispnew.c (update_text_area): Handle reversed desired rows when
+       the cursor is on the left fringe.
+       (set_window_cursor_after_update): Limit cursor's hpos by -1 from
+       below, not by 0, for when the cursor is on the left fringe.
+
+2010-04-20  Jan Djärv  <jan.h.d@swipnet.se>
+
+       * gtkutil.c (xg_event_is_for_scrollbar): Check if grabbed
+       widget is a scrollbar.
+
+2010-04-20  Kenichi Handa  <handa@m17n.org>
+
+       * charset.c (char_charset): Consider Vcharset_non_preferred_head
+       only when the arg CHARSET_LIST is nil.
+
+2010-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       Make variable forwarding explicit rather the using special values.
+       Basically, this makes the structure of buffer-local values and object
+       forwarding explicit in the type of Lisp_Symbols rather than use
+       special Lisp_Objects for that.  This tends to lead to slightly more
+       verbose code, but is more C-like, simpler, and makes it easier to make
+       sure we handled all cases, among other things by letting the compiler
+       help us check it.
+       * lisp.h (enum Lisp_Misc_Type, union Lisp_Misc):
+       Removing forwarding objects.
+       (enum Lisp_Fwd_Type, enum symbol_redirect, union Lisp_Fwd): New types.
+       (struct Lisp_Symbol): Make the various forms of variable-forwarding
+       explicit rather than hiding them inside Lisp_Object "values".
+       (XFWDTYPE): New macro.
+       (XINTFWD, XBOOLFWD, XOBJFWD, XKBOARD_OBJFWD): Redefine.
+       (XBUFFER_LOCAL_VALUE): Remove.
+       (SYMBOL_VAL, SYMBOL_ALIAS, SYMBOL_BLV, SYMBOL_FWD, SET_SYMBOL_VAL)
+       (SET_SYMBOL_ALIAS, SET_SYMBOL_BLV, SET_SYMBOL_FWD): New macros.
+       (SYMBOL_VALUE, SET_SYMBOL_VALUE): Remove.
+       (struct Lisp_Intfwd, struct Lisp_Boolfwd, struct Lisp_Objfwd)
+       (struct Lisp_Buffer_Objfwd, struct Lisp_Kboard_Objfwd):
+       Remove the Lisp_Misc_* header.
+       (struct Lisp_Buffer_Local_Value): Redefine.
+       (BLV_FOUND, SET_BLV_FOUND, BLV_VALUE, SET_BLV_VALUE): New macros.
+       (struct Lisp_Misc_Any): Add filler to get the right size.
+       (struct Lisp_Free): Use struct Lisp_Misc_Any rather than struct
+       Lisp_Intfwd.
+       (DEFVAR_LISP, DEFVAR_LISP_NOPRO, DEFVAR_BOOL, DEFVAR_INT)
+       (DEFVAR_KBOARD): Allocate a forwarding object.
+       * data.c (do_blv_forwarding, store_blv_forwarding): New macros.
+       (let_shadows_global_binding_p): New function.
+       (union Lisp_Val_Fwd): New type.
+       (make_blv): New function.
+       (swap_in_symval_forwarding, indirect_variable, do_symval_forwarding)
+       (store_symval_forwarding, swap_in_global_binding, Fboundp)
+       (swap_in_symval_forwarding, find_symbol_value, Fset)
+       (let_shadows_buffer_binding_p, set_internal, default_value)
+       (Fset_default, Fmake_variable_buffer_local, Fmake_local_variable)
+       (Fkill_local_variable, Fmake_variable_frame_local)
+       (Flocal_variable_p, Flocal_variable_if_set_p)
+       (Fvariable_binding_locus):
+       * xdisp.c (select_frame_for_redisplay):
+       * lread.c (Fintern, Funintern, init_obarray, defvar_int)
+       (defvar_bool, defvar_lisp_nopro, defvar_lisp, defvar_kboard):
+       * frame.c (store_frame_param):
+       * eval.c (Fdefvaralias, Fuser_variable_p, specbind, unbind_to):
+       * bytecode.c (Fbyte_code) <varref, varset>: Adapt to the new symbol
+       value structure.
+       * buffer.c (PER_BUFFER_SYMBOL): Move from buffer.h.
+       (clone_per_buffer_values): Only adjust markers into the current buffer.
+       (reset_buffer_local_variables): PER_BUFFER_IDX is never -2.
+       (Fbuffer_local_value, set_buffer_internal_1)
+       (swap_out_buffer_local_variables):
+       Adapt to the new symbol value structure.
+       (DEFVAR_PER_BUFFER): Allocate a Lisp_Buffer_Objfwd object.
+       (defvar_per_buffer): Take a new arg for the fwd object.
+       (buffer_lisp_local_variables): Return a proper alist (different fix
+       for bug#4138).
+       * alloc.c (Fmake_symbol): Use SET_SYMBOL_VAL.
+       (Fgarbage_collect): Don't handle buffer_defaults specially.
+       (mark_object): Handle new symbol value structure rather than the old
+       special Lisp_Misc_* objects.
+       (gc_sweep) <symbols>: Free also the buffer-local-value objects.
+       * term.c (set_tty_color_mode):
+       * bidi.c (bidi_initialize): Don't access the ->value field directly.
+       * buffer.h (PER_BUFFER_VAR_OFFSET): Don't bother with
+       a buffer_local_flags.
+       * print.c (print_object): Get rid of impossible forwarding objects.
+
+2010-04-19  Eli Zaretskii  <eliz@gnu.org>
+
+       * bidi.c (bidi_get_type, bidi_get_category)
+       (bidi_at_paragraph_end, bidi_resolve_weak, bidi_resolve_neutral)
+       (bidi_type_of_next_char, bidi_level_of_next_char):
+       Declare static.  Use `INLINE' rather than `inline'.
+
+2010-04-19  Juanma Barranquero  <lekktu@gmail.com>
+
+       * dired.c (Ffile_attributes): Fix typo in docstring.
+
+2010-04-19  Adrian Robert  <Adrian.B.Robert@gmail.com>
+
+       * nsmenu.m (EmacsDialog-runDialogAt:): Declare ret as
+       NSInteger (Bug#5811).
+
+2010-04-19  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
+
+       * s/darwin.h (PTY_ITERATION, PTY_NAME_SPRINTF, PTY_TTY_NAME_SPRINTF)
+       (PTY_OPEN): New defines.  Use openpty (Bug#726, Bug#5819).
+
+2010-04-19  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
+
+       * frame.h (FRAME_LINE_TO_PIXEL_Y): Add missing parenthesis.
+
+2010-04-19  Chong Yidong  <cyd@stupidchicken.com>
+
+       * xdisp.c (prepare_menu_bars): Don't call ns_set_doc_edited for
+       terminal frames (Bug#5837).
+
+2010-04-19  Eli Zaretskii  <eliz@gnu.org>
+
+       * .gdbinit (xsubchartable): New command.
+
+2010-04-19  Eli Zaretskii  <eliz@gnu.org>
+
+       * xdisp.c (display_line): Don't write beyond the last glyph row in
+       the desired matrix.  Fixes a crash in "emacs -nw" (bug#5972), see
+       http://lists.gnu.org/archive/html/emacs-devel/2010-04/msg00075.html
+       and
+       http://lists.gnu.org/archive/html/emacs-devel/2010-04/msg00213.html
+
+2010-04-18  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * alloc.c (Fpurecopy): Hash-cons if requested.
+       (syms_of_alloc): Update purify-flag docstring.
+
+2010-04-18  Jan Djärv  <jan.h.d@swipnet.se>
+
+       * gtkutil.c (xg_set_geometry): Set size in geometry string also.
+       (x_wm_set_size_hint): Set USER_POS in hint_flags (Bug#5968).
+
+2010-04-17  Eli Zaretskii  <eliz@gnu.org>
+
+       Fix a crash when an NSM character is inserted at BEGV.
+
+       * bidi.c (bidi_init_it): Fix initialization of bidi_it->prev.
+       (bidi_resolve_weak): Don't use prev.type_after_w1 if it is
+       NEUTRAL_B or UNKNOWN_BT.
+
+2010-04-16  Eli Zaretskii  <eliz@gnu.org>
+
+       * xdisp.c (set_cursor_from_row): Don't consider possibility of
+       other rows with cursor unless they are different from this row and
+       this row is part of a continued line.  (Bug#5943)
+
+2010-04-16  Dan Nicolaescu  <dann@ics.uci.edu>
+
+       * s/freebsd.h: Restore osreldate.h include.
+       Suggested by Naohiro Aota.
+
+2010-04-16  Jan Djärv  <jan.h.d@swipnet.se>
+
+       * xmenu.c (apply_systemfont_to_menu): *childs was incorrectly used.
+
+2010-04-16  Ken Brown  <kbrown@cornell.edu>  (tiny change)
+
+       * s/cygwin.h: Avoid linking against static libgcc.
+
+2010-04-15  Juri Linkov  <juri@jurta.org>
+
+       * window.c: Add Qscroll_command.
+       Remove Vscroll_preserve_screen_position_commands.
+       (window_scroll_pixel_based, window_scroll_line_based): Check the
+       `scroll-command' property on the last command instead of searching
+       the last command in Vscroll_preserve_screen_position_commands.
+       (syms_of_window): Initialize and staticpro `Qscroll_command'.
+       Put Qscroll_command property on Qscroll_up and Qscroll_down.
+       (scroll-preserve-screen-position): Doc fix.
+       (Vscroll_preserve_screen_position_commands): Remove variable.
+
+2010-04-15  Dan Nicolaescu  <dann@ics.uci.edu>
+
+       * xdisp.c (message): Do not use NO_ARG_ARRAY.
+
+2010-04-14  Dan Nicolaescu  <dann@ics.uci.edu>
+
+       Reduce cpp use in Makefile.in.
+       * Makefile.in (DBUS_CFLAGS, DBUS_LIBS, GCONF_CFLAGS, GCONF_LIBS)
+       (LIBSOUND, CFLAGS_SOUND, RSVG_LIBS, RSVG_CFLAGS, INTERVALS_H)
+       (GETLOADAVG_LIBS, RUN_TEMACS): Move to the autoconf section.
+       (ORDINARY_LINK): Remove, defined in src/s/gnu.h.
+       (CRT0_COMPILE): Remove, inline it in the only user.
+
+2010-04-14  Juri Linkov  <juri@jurta.org>
+
+       * window.c (keys_of_window): Rebind `C-v' from `scroll-up' to
+       `scroll-up-command' and `M-v' from `scroll-down' to
+       `scroll-down-command'.
+
+2010-04-14  Juri Linkov  <juri@jurta.org>
+
+       * window.c (Vscroll_preserve_screen_position_commands): New variable
+       with the default value as the list of Qscroll_down and Qscroll_up.
+       (window_scroll_pixel_based, window_scroll_line_based): Search the
+       last command in the list Vscroll_preserve_screen_position_commands
+       instead of comparing with Qscroll_up and Qscroll_down.
+
 2010-04-13  Jan Djärv  <jan.h.d@swipnet.se>
 
+       * gtkutil.c (xg_set_geometry): Set geometry for PPosition also.
+       (x_wm_set_size_hint): Dont set position flags, gtk_window_parse_geometry
+       does that.
+
        * xfns.c (Fx_create_frame, x_create_tip_frame): Set default border width
        to zero.
 
 
 2010-04-12  Dan Nicolaescu  <dann@ics.uci.edu>
 
-       * Makefile.in (C_SWITCH_SYSTEM,C_SWITCH_MACHINE,C_SWITCH_X_SITE): Undefine.
+       * Makefile.in (C_SWITCH_SYSTEM,C_SWITCH_MACHINE,C_SWITCH_X_SITE):
+       Undefine.
 
 2010-04-11  Dan Nicolaescu  <dann@ics.uci.edu>
 
        (parse_xft_settings): Also check for XSETTINGS_FONT_NAME and save that
        in current_font.
        (init_gconf): Read value of SYSTEM_FONT and save it in current_font.
-       (Ffont_get_system_normal_font, xsettings_get_system_normal_font): New
-       functions.
-       (syms_of_xsettings): Initialize current_font. defsubr
-       Sfont_get_system_normal_font.
+       (Ffont_get_system_normal_font, xsettings_get_system_normal_font):
+       New functions.
+       (syms_of_xsettings): Initialize current_font.
+       defsubr Sfont_get_system_normal_font.
 
        * xsettings.h (Ffont_get_system_normal_font,
        xsettings_get_system_normal_font): Declare.
        (gif_load): Put GIF extension data to the property
        `Qextension_data'.
 
+2010-04-05  Chong Yidong  <cyd@stupidchicken.com>
+
+       * xdisp.c (prepare_menu_bars): Don't call ns_set_doc_edited for
+       terminal frames (Bug#5837).
+
 2010-03-31  Chong Yidong  <cyd@stupidchicken.com>
 
        * nsfns.m (ns_set_doc_edited): Remove unused arg OLDVAL.
        * xterm.h: Rename x_non_menubar_window_to_frame to
        x_menubar_window_to_frame.
 
-       * xterm.c: Remove declarations also in xterm.h
+       * xterm.c: Remove declarations also in xterm.h.
        (XTmouse_position): Do not return valid positions
        for clicks in the menubar and the toolbar for Gtk+.
 
 2009-07-04  Eli Zaretskii  <eliz@gnu.org>
 
        Emulation of `getloadavg' on MS-Windows.
-       * w32.c: Include float.h
+       * w32.c: Include float.h.
        (g_b_init_get_native_system_info, g_b_init_get_system_times)
        (GetNativeSystemInfo_Proc, GetSystemTimes_Proc): Declare.
        (get_native_system_info, get_system_times): New functions.
 2008-07-10  Dan Nicolaescu  <dann@ics.uci.edu>
 
        * fileio.c:
-       * sysdep.c
+       * sysdep.c:
        * systty.h:
        * m/ibmrs6000.h:
        * m/iris4d.h: