+2011-09-17 Eli Zaretskii <eliz@gnu.org>
+
+ * xdisp.c (set_cursor_from_row): Don't invoke special treatment of
+ truncated lines if point is covered by a display string. (Bug#9524)
+
+2011-09-16 Paul Eggert <eggert@cs.ucla.edu>
+
+ * xselect.c: Relax test for outgoing X longs (Bug#9498).
+ (cons_to_x_long): New function.
+ (lisp_data_to_selection_data): Use it. Correct the test for
+ short-versus-long data; it was negated. Break out of vector
+ loop, for efficiency, when a long datum is discovered.
+
+2011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
+
+ * eval.c (Fquote): Document its non-consing behavior (bug#9482).
+
+2011-09-16 Eli Zaretskii <eliz@gnu.org>
+
+ * image.c (tiff_handler): Work around a bug in MinGW GCC 3.x (see
+ GCC PR/17406) by declaring this function with external scope.
+
+2011-09-15 Paul Eggert <eggert@cs.ucla.edu>
+
+ * editfns.c (Fformat): Fix bug in text-property fix (Bug#9514).
+ Don't mishandle (length (format "%%")) and (format "%4000s%%" "").
+
+2011-09-15 Andreas Schwab <schwab@linux-m68k.org>
+
+ * editfns.c (Fformat): Correctly handle text properties on "%%".
+
+2011-09-15 Eli Zaretskii <eliz@gnu.org>
+
+ * xterm.c (x_draw_composite_glyph_string_foreground):
+ * w32term.c (x_draw_composite_glyph_string_foreground):
+ * term.c (encode_terminal_code):
+ * composite.c (composition_update_it, get_composition_id):
+ * xdisp.c (get_next_display_element)
+ (fill_composite_glyph_string): Add comments about special meaning
+ of TAB characters in a composition.
+
+2011-09-15 Paul Eggert <eggert@cs.ucla.edu>
+
+ * editfns.c (Fformat): Fix off-by-1 bug for "%%b" (Bug#9514).
+ This occurs when processing a multibyte format.
+ Problem reported by Wolfgang Jenker.
+
+2011-09-15 Johan Bockgård <bojohan@gnu.org>
+
+ * xdisp.c (try_cursor_movement): Only check for exact match if
+ cursor hpos found by set_cursor_from_row is valid. (Bug#9495)
+
+2011-09-14 Paul Eggert <eggert@cs.ucla.edu>
+
+ Remove unused external symbols.
+ * dispextern.h (calc_pixel_width_or_height): Remove decl.
+ * xdisp.c (calc_pixel_width_or_height): Now static.
+ * doprnt.c (exprintf) [! (HAVE_X_WINDOWS && USE_X_TOOLKIT)]: Remove.
+ * indent.c (check_display_width):
+ * w32term.c: Fix comment to match code.
+ * xterm.c, xterm.h (x_catching_errors): Remove.
+
+2011-09-14 Paul Eggert <eggert@cs.ucla.edu>
+
+ * xselect.c: Use signed conversions more consistently (Bug#9498).
+ (selection_data_to_lisp_data): Assume incoming selection data are
+ signed integers, not unsigned. This is to be consistent with
+ outgoing selection data, which was modified to use signed integers
+ in as part of the fix to Bug#9196 in response to Jan D.'s comment
+ in <http://debbugs.gnu.org/cgi/bugreport.cgi?bug=9196#32> that X11
+ expects long, not unsigned long.
+
+2011-09-14 Eli Zaretskii <eliz@gnu.org>
+
+ * xdisp.c (try_window_reusing_current_matrix): Fix incorrect
+ computation of loop end. Reported by Johan Bockgård
+ <bojohan@gnu.org>.
+
+2011-09-13 Chong Yidong <cyd@stupidchicken.com>
+
+ * frame.c (Fother_visible_frames_p): Function deleted.
+
+2011-09-12 Eli Zaretskii <eliz@gnu.org>
+
+ * indent.c (compute_motion): Process display vector front to back
+ rather than the other way around. (Bug#2496)
+
+2011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
+
+ * fileio.c (Finsert_file_contents): Don't assume beg_offset is 0.
+
+2011-09-11 Chong Yidong <cyd@stupidchicken.com>
+
+ * minibuf.c (Fread_from_minibuffer): Doc fix.
+
+2011-09-11 Eli Zaretskii <eliz@gnu.org>
+
+ * xdisp.c (produce_stretch_glyph): Fix a typo made in changes from
+ 2011-08-30T17:32:44Z!eliz@gnu.org. (Bug#9475)
+
+2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
+
+ * fileio.c (Fvisited_file_modtime): Document `(-1 65535)' as a
+ value for non-existent files.
+
+2011-09-11 Eli Zaretskii <eliz@gnu.org>
+
+ * fileio.c (Finsert_file_contents): If the file cannot be opened,
+ set its "size" to -1. This will set the modtime_size field of
+ the corresponding buffer to -1, which is what
+ verify-visited-file-modtime expects for files that do not exist.
+ (Bug#9139)
+
+2011-09-11 Paul Eggert <eggert@cs.ucla.edu>
+
+ * keymap.h (KEY_DESCRIPTION_SIZE, push_key_description): Move decls
+ here ...
+ * lisp.h: ... from here. push_key_description is no longer
+ defined in keyboard.c, so its declaration should not be in
+ lisp.h's "Defined in keyboard.c" section, and KEY_DESCRIPTION_SIZE
+ logically belongs with push_key_description.
+
+2011-09-10 Paul Eggert <eggert@cs.ucla.edu>
+
+ * buffer.h: Include <sys/types.h> instead of <time.h>.
+ Otherwise, off_t wasn't defined on FreeBSD 9.0-BETA2 i386.
+ Problem reported by Herbert J. Skuhra.
+
+2011-09-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
+
+ * xml.c (parse_region): Make the parsing work for
+ non-comment-starting XML files again (bug#9144).
+
+2011-09-10 Andreas Schwab <schwab@linux-m68k.org>
+
+ * image.c (gif_load): Fix calculation of bottom and right corner.
+ (Bug#9468)
+
+2011-09-10 Eli Zaretskii <eliz@gnu.org>
+
+ * xdisp.c (MAX_DISP_SCAN): Decrease to 250. Prevents sluggish
+ redisplay in small windows.
+
+2011-09-09 Eli Zaretskii <eliz@gnu.org>
+
+ * frame.c (x_report_frame_params): Cast to avoid compiler warnings.
+
+2011-09-08 Martin Rudalics <rudalics@gmx.at>
+
+ * window.c (Fset_window_prev_buffers, Fset_window_next_buffers):
+ Operate on live windows only.
+
+2011-09-08 Juanma Barranquero <lekktu@gmail.com>
+
+ * emacs.c (my_heap_start): #ifdef to avoid warnings when unused.
+
+2011-09-07 Eli Zaretskii <eliz@gnu.org>
+
+ * xdisp.c (move_it_in_display_line_to): Call RESTORE_IT on ppos_it
+ only under bidi iteration.
+
+2011-09-07 Jan Djärv <jan.h.d@swipnet.se>
+
+ * gtkutil.c (xg_make_tool_item): Insert comment about eventbox.
+
+2011-09-06 Paul Eggert <eggert@cs.ucla.edu>
+
+ isnan: Fix porting problem to Solaris 10 with bundled gcc.
+ Without this fix, the command to link temacs failed due to an
+ undefined symbol __builtin_isnan. This is because
+ /usr/include/iso/math_c99.h #defines isnan(x) to
+ __builtin_isnan(x), but the bundled gcc, which identifies itself
+ as gcc 3.4.3 (csl-sol210-3_4-branch+sol_rpath), does not have
+ a __builtin_isnan.
+ * floatfns.c (isnan): #undef, and then #define to a clone of
+ what's in data.c.
+ (Fisnan): Always define, since it's always available now.
+ (syms_of_floatfns): Always define isnan at the Lisp level.
+
+2011-09-06 Paul Eggert <eggert@cs.ucla.edu>
+
+ * Makefile.in (gl-stamp): move-if-change now in build-aux (Bug#9169).
+
+2011-09-06 Paul Eggert <eggert@cs.ucla.edu>
+
+ * fileio.c: Fix bugs with large file offsets (Bug#9428).
+ The previous code assumed that file offsets (off_t values) fit in
+ EMACS_INT variables, which is not true on typical 32-bit hosts.
+ The code messed up by falsely reporting buffer overflow in cases
+ such as (insert-file-contents "big" nil 1 2) into an empty buffer
+ when "big" contains more than 2**29 bytes, even though this
+ inserts just one byte and does not overflow the buffer.
+ (Finsert_file_contents): Store file offsets as off_t
+ values, not as EMACS_INT values. Check for overflow when
+ converting between EMACS_INT and off_t. When checking for
+ buffer overflow or for overlap, take the offsets into account.
+ Don't use EMACS_INT for small values where int suffices.
+ When checking for overlap, fix a typo: ZV was used where
+ ZV_BYTE was intended.
+ (Fwrite_region): Don't assume off_t fits into 'long'.
+ * buffer.h (struct buffer.modtime_size): Now off_t, not EMACS_INT.
+
+2011-09-05 Michael Albinus <michael.albinus@gmx.de>
+
+ * dbusbind.c (xd_signature_cat): Rename from signature_cat.
+
2011-09-04 Paul Eggert <eggert@cs.ucla.edu>
sprintf-related integer and memory overflow issues (Bug#9412).
* nsfns.m (as_script, as_result, as_status): New static variables.
(ns_run_ascript): New function.
- (Fns_do_applescript): Set variables as_*. Make an NSApplicationDefined
+ (Fns_do_applescript): Set variables as_*. Make an NSApplicationDefined
event with data2 set to NSAPP_DATA2_RUNASSCRIPT, post it and then start
the event loop. Get status from as_status (Bug#7276).
* xdisp.c: Remove one-slot cache of display string positions.
(compute_display_string_pos): Accept an additional argument
- DISP_PROP_P; callers changed. Scan at most 5K characters forward
+ DISP_PROP_P; callers changed. Scan at most 5K characters forward
for a display string or property. If found, set DISP_PROP_P
non-zero.
(re_exec): Fix return type.
(regexec): Fix type of `ret'. (Bug#9203)
-2011-07-29 Paul Eggert <eggert@cs.ucla.edu>
+2011-07-28 Paul Eggert <eggert@cs.ucla.edu>
* image.c (check_image_size): Use 1024x1024 if unknown frame (Bug#9189).
This is needed if max-image-size is a floating-point number.
underline, overline, and strike-through.
(ns_dumpglyphs_image, ns_dumpglyphs_stretch): Add call to
ns_draw_text_decoration. Change treatment of cursor drawing to
- accomodate underlining, etc.
+ accommodate underlining, etc.
2011-07-28 Eli Zaretskii <eliz@gnu.org>
(Fput_unicode_property_internal): New functions.
(syms_of_chartab): DEFSYM Qchar_code_property_table, defsubr
Sunicode_property_table_internal, Sget_unicode_property_internal,
- and Sput_unicode_property_internal. Defvar_lisp
+ and Sput_unicode_property_internal. Defvar_lisp
char-code-property-alist.
* composite.c (CHAR_COMPOSABLE_P): Adjust for the change of
(store_config_changed_event): Add comment.
(dpyinfo_valid, store_font_name_changed, map_tool_bar_style)
(store_tool_bar_style_changed): New functions.
- (store_monospaced_changed): Add comment. Call dpyinfo_valid.
+ (store_monospaced_changed): Add comment. Call dpyinfo_valid.
(struct xsettings): Move font inside HAVE_XFT.
(GSETTINGS_TOOL_BAR_STYLE, GSETTINGS_FONT_NAME): New defines.
(GSETTINGS_MONO_FONT): Rename from SYSTEM_MONO_FONT.
Check for changes in GSETTINGS_TOOL_BAR_STYLE and GSETTINGS_FONT_NAME
also.
(GCONF_TOOL_BAR_STYLE, GCONF_FONT_NAME): New defines.
- (GCONF_MONO_FONT): Rename from SYSTEM_MONO_FONT. Move inside HAVE_XFT.
+ (GCONF_MONO_FONT): Rename from SYSTEM_MONO_FONT. Move inside HAVE_XFT.
(something_changed_gconfCB): Rename from something_changedCB.
Check for changes in GCONF_TOOL_BAR_STYLE and GCONF_FONT_NAME also.
(parse_settings): Move check for font inside HAVE_XFT.