+2008-02-19 Stefan Monnier <monnier@iro.umontreal.ca>
+
+ * intervals.h (INT_LISPLIKE): Remove. It may misfire.
+ (NULL_INTERVAL_P, SET_INTERVAL_PARENT): Don't use it.
+
+2008-02-18 Jason Rumney <jasonr@gnu.org>
+
+ * w32fns.c (Fw32_shell_execute): Encode parameters.
+
+2008-02-09 Eli Zaretskii <eliz@gnu.org>
+
+ * fileio.c (syms_of_fileio) <insert-default-directory>: Doc fix.
+
+2008-02-05 Juanma Barranquero <lekktu@gmail.com>
+
+ * unexhp9k800.c (read_header): Replace `legal' with `valid'.
+
+2008-02-24 Ulrich Neumerkel <ulrich@complang.tuwien.ac.at> (tiny change)
+
+ * xterm.c (x_set_offset): Don't change the gravity if
+ CHANGE_GRAVITY is -1.
+
+2008-02-23 Chong Yidong <cyd@stupidchicken.com>
+
+ * fileio.c (auto_save_error_occurred): New var.
+ (auto_save_error): Set it.
+ (Fdo_auto_save): Don't overwrite the error message if an auto-save
+ error occurred.
+
+2008-02-23 Eli Zaretskii <eliz@gnu.org>
+
+ * w32.c (globals_of_w32): Add initializations for
+ g_b_init_get_sid_sub_authority and
+ g_b_init_get_sid_sub_authority_count.
+
+2008-02-22 Stefan Monnier <monnier@iro.umontreal.ca>
+
+ * font.c (font_match_xlfd, font_check_xlfd_parse): New funs.
+ (font_parse_xlfd): Use them for sanity check.
+ (Finternal_set_font_style_table): Make sure the table is bijective.
+
+ Consolidate the image_cache to the terminal struct.
+ * termhooks.h (P_): Remove redundant def.
+ (struct terminal): New field `image_cache'.
+ * frame.h (FRAME_IMAGE_CACHE): New macro. Use it everywhere in place
+ of FRAME_X_IMAGE_CACHE.
+ * xterm.h (struct x_display_info): Remove image_cache field.
+ (FRAME_X_IMAGE_CACHE): Remove. Use FRAME_IMAGE_CACHE instead.
+ * w32term.h (struct w32_display_info): Remove image_cache field.
+ (FRAME_X_IMAGE_CACHE): Remove. Use FRAME_IMAGE_CACHE instead.
+ * macterm.h (struct mac_display_info): Remove image_cache field.
+ (FRAME_X_IMAGE_CACHE): Remove. Use FRAME_IMAGE_CACHE instead.
+ * xterm.c (x_term_init):
+ * w32term.c (w32_term_init):
+ * macterm.c (mac_term_init): Set the image_cache in the terminal.
+ * dispextern.h (clear_image_cache, forall_images_in_image_cache):
+ Remove declarations.
+ (clear_image_caches, mark_image_cache): New declarations.
+ * xfaces.c (clear_face_cache):
+ * xdisp.c (redisplay_internal): Use clear_image_caches.
+ * image.c (clear_image_cache): Don't check that a frame is on
+ a window-system before checking if it shares the same cache.
+ (clear_image_caches): New function.
+ (Fclear_image_cache): Use it.
+ (mark_image): Move from allo.c.
+ (mark_image_cache): Move from alloc.c and forall_images_in_image_cache.
+ * alloc.c (mark_image, mark_image_cache): Move to image.c.
+ (mark_object): Don't call mark_image_cache for frames.
+ (mark_terminals): Call mark_image_cache.
+
+ * lisp.h (Fdelete_terminal): Declare.
+
+ * charset.h (CHECK_CHARSET, CHECK_CHARSET_GET_ID)
+ (CHECK_CHARSET_GET_ATTR): Don't use the inexistent return value of
+ wrong_type_argument.
+
+2008-02-22 Kenichi Handa <handa@ni.aist.go.jp>
+
+ * Makefile.in (lisp): Remove devanagari.el, kannada.el,
+ malayalam.el, and tamil.el. Add sinhala.el.
+
+2008-02-21 Stefan Monnier <monnier@iro.umontreal.ca>
+
+ * xterm.c (x_connection_closed): Consolidate identical tests.
+ (x_delete_terminal): Don't crash if called via x_connection_closed.
+
+2008-02-21 Kenichi Handa <handa@ni.aist.go.jp>
+
+ * xdisp.c (decode_mode_spec): New arg string.
+ (display_mode_element): Adjust for the above change.
+
+2008-02-19 Stefan Monnier <monnier@iro.umontreal.ca>
+
+ * callint.c (Fcall_interactively): Use AREF.
+
+2008-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
+
+ * font.c (font_unparse_xlfd): Don't ignore integer pixel size specs.
+
+2008-02-18 Jan Dj\e$(Q)Z\e(Brv <jan.h.d@swipnet.se>
+
+ * xfns.c (Fx_show_tip): Set string to " " if empty.
+
+2008-02-17 Dan Nicolaescu <dann@ics.uci.edu>
+
+ * callint.c (syms_of_callint): Initialize Vmark_even_if_inactive
+ with Qt.
+
+2008-02-17 Kenichi Handa <handa@m17n.org>
+
+ * ftfont.c (ftfont_shape): Return Lispy number.
+
+ * xfaces.c (prepare_face_for_display): Use display_info->font->fid
+ for GCs.
+ (Finternal_set_font_selection_order): Call font_update_sort_order
+ only when enable_font_backend is set.
+ (realize_x_face): Set face->font_info to that of default face only
+ when enable_font_backend is set.
+
+ * xdisp.c (handle_composition_prop): Set it->c to the fist
+ characte of the composed region.
+ (fill_composite_glyph_string): Set base_face->font_info to
+ s->font_info. Get a face for ascii from base_face->ascii_face.
+ (BUILD_COMPOSITE_GLYPH_STRING): Call fill_composite_glyph_string
+ with a face already decided.
+ (x_produce_glyphs): Be sure to set it->ascent and it->descent to
+ non-negative.
+ (x_produce_glyphs): If the composition method is ..._WITH_GLYPH_STRING,
+ call font_prepare_composition unconditionally.
+
+ * xfns.c (x_make_gc): Use the default font id of the frame for GCs.
+
+ * xterm.h (struct x_display_info): New member font.
+
+ * xterm.c (x_set_cursor_gc): Use display_info->font->fid for GCs.
+ (x_set_mouse_face_gc, x_new_font): Likewise.
+ (x_term_init): Setup display_info->font.
+ (x_delete_terminal): Free display_info->font.
+
+ * xfont.c (xfont_draw): Use BLOCK_INPUT and UNBLOCK_INPUT.
+
+ * ftxfont.c (ftxfont_default_fid): Delete it.
+ (ftxfont_open): Set xfont->fid to 0.
+ (ftxfont_end_for_frame): Clear data specific to the frame and the
+ font-driver.
+
+ * xftfont.c (xftfont_default_fid): Delete it.
+ (xftfont_open): Set xfont->fid to 0.
+
+ * fontset.c (FONTSET_OBJLIST): New macro.
+ (fontset_find_font): Update font-object list of the fontset.
+ (free_realized_fontset): New function.
+ (free_face_fontset): Call free_realized_fontset.
+ (Ffont_info): Call font_close_object only when enable_font_backend
+ is set.
+
+ * font.c [HAVE_X_WINDOWS]: Include xterm.h.
+ [HAVE_NTGUI]: Include w32term.h.
+ [MAC_OS]: Include macterm.ch.
+ (font_otf_ValueRecord): Use make_number.
+ (font_finish_cache): Fix handling of reference count.
+ (font_clear_cache): Update num_fonts.
+ (font_open_entity): Update smallest_char_width and
+ smallest_font_height of the frame.
+ (font_close_object): Update num_fonts.
+ (Fclear_font_cache): Fix finding the target cache data.
+
+2008-02-16 Glenn Morris <rgm@gnu.org>
+
+ * fontset.c (Finternal_char_font): Fix compilation warning.
+
+2008-02-16 Eli Zaretskii <eliz@gnu.org>
+
+ * w32.c (init_user_info): Use TOKEN_USER and TOKEN_PRIMARY_GROUP
+ instead of char arrays. Enlarge the size of array passed to
+ get_token_information.
+
+ * font.c (Ffont_fill_gstring, Fget_font_glyphs): Fix compilation
+ warnings.
+
+2008-02-15 Dan Nicolaescu <dann@ics.uci.edu>
+
+ * .gdbinit: Don't set `args', it breaks gdb --args.
+
+2008-02-14 Stefan Monnier <monnier@iro.umontreal.ca>
+
+ * fileio.c (Finsert_file_contents): Adjust offsets when replacing
+ within a narrowed buffer.
+
+2008-02-14 Kenichi Handa <handa@ni.aist.go.jp>
+
+ * coding.c (decode_coding_object, encode_coding_object):
+ Preserve Vdeactivate_mark. Delete unnecessary call of Fcurrent_buffer.
+
+2008-02-12 Stefan Monnier <monnier@iro.umontreal.ca>
+
+ * coding.c (coding_set_destination): Use BEG_BYTE rather than
+ hardcoding 1.
+ (detect_coding_system):
+ * lisp.h (detect_coding_system, chars_in_text, multibyte_chars_in_text)
+ (string_char_to_byte, string_byte_to_char, insert_from_gap):
+ * insdel.c (insert_from_gap):
+ * fns.c (string_char_byte_cache_charpos, string_char_byte_cache_bytepos)
+ (string_char_to_byte, string_byte_to_char, string_make_multibyte)
+ (string_to_multibyte):
+ * character.c (chars_in_text, multibyte_chars_in_text):
+ * fileio.c (Finsert_file_contents): Use EMACS_INT for buffer positions.
+
+ * character.h (FETCH_STRING_CHAR_ADVANCE)
+ (FETCH_STRING_CHAR_AS_MULTIBYTE_ADVANCE)
+ (FETCH_STRING_CHAR_ADVANCE_NO_CHECK): Use SDATA and SREF.
+ (DEC_POS, BUF_DEC_POS): Use BEG_BYTE rather than hardcoding 1.
+
+ * casefiddle.c (casify_region): Only call after-change and composition
+ functions on the part of the region that was changed.
+
+ * keyboard.c (read_avail_input):
+ * frame.c (Fdelete_frame): Call Fdelete_terminal.
+
+2008-02-11 Stefan Monnier <monnier@iro.umontreal.ca>
+
+ * buffer.c (clone_per_buffer_values, reset_buffer_local_variables)
+ (Fbuffer_local_value, Fbuffer_local_variables): Don't forget undo_list.
+
+2008-02-11 Juanma Barranquero <lekktu@gmail.com>
+
+ * w32menu.c (push_submenu_start, push_submenu_end)
+ (push_left_right_boundary, push_menu_pane, push_menu_item):
+ * keyboard.c (read_key_sequence): Don't pass args with side effects
+ to AREF, it fails when compiling with -DENABLE_CHECKING.
+
+2008-02-11 Kenichi Handa <handa@ni.aist.go.jp>
+
+ * Makefile.in (${lispsource}international/charprop.el):
+ Delete this target.
+
+ * search.c (boyer_moore): Fix incorrect synching of the trunk and
+ emacs-unicode-2.
+
+2008-02-11 Stefan Monnier <monnier@iro.umontreal.ca>
+
+ * terminal.c (Fdelete_terminal): Clean up the `force' path.
+
+2008-02-10 Stefan Monnier <monnier@iro.umontreal.ca>
+
+ * frame.c (Qnoelisp): New symbol.
+ (syms_of_frame): Initialize it.
+ (Fdelete_frame): Use it to distinguish a mere `force' passed from
+ someharmles Elisp code, from a strong `force' from x_connection_closed.
+ * frame.h (Qnoelisp): Declare.
+ * xterm.c (x_connection_closed): Pass `noelisp'.
+
+ * lisp.h (struct Lisp_Misc_Any, struct Lisp_Marker)
+ (struct Lisp_Overlay, struct Lisp_Kboard_Objfwd)
+ (struct Lisp_Save_Value, struct Lisp_Free): Use enum Lisp_Misc_Type
+ rather than `int' for the type of `type'.
+
+2008-02-10 Dan Nicolaescu <dann@ics.uci.edu>
+
+ * s/gnu-linux.h: Remove support for non-ELF and linux-1.x.
+
+ * Makefile.in (GNUC): Remove support for gcc-1.x.
+
+2008-02-10 Richard Stallman <rms@gnu.org>
+
+ * lisp.h (ASET): Use AREF, not ASLOT.
+
+2008-02-10 Stefan Monnier <monnier@iro.umontreal.ca>
+
+ * lisp.h (ASET): Check bounds.
+
2008-02-10 Glenn Morris <rgm@gnu.org>
* buffer.c (mode-name): Doc fix.
* s/gnu-linux.h: Remove commented out code.
- * unexec.c: Remove references to obsolete variable
- COFF_ENCAPSULATE.
+ * unexec.c: Remove references to obsolete variable COFF_ENCAPSULATE.
* Makefile.in: Update what RMS says about using autoconf.
- (C_COMPILER):
- (COFF_ENCAPSULATE):
- (MAKE_PARALLEL): Remove obsolete variable.
+ (C_COMPILER, COFF_ENCAPSULATE, MAKE_PARALLEL): Remove obsolete variable.
(C_SWITCH_MACHINE_1, C_SWITCH_SYSTEM_1, C_SWITCH_SITE_1):
(C_SWITCH_X_SITE_1, C_SWITCH_X_MACHINE_1)
(C_SWITCH_X_SYSTEM_1): Move invariant code outside conditional.
* term.c: Include "composite.h".
(encode_terminal_code): Output all components of composition.
Check the size of encode_terminal_src.
- (produce_glyphs): For compostion, call produce_composite_glyph.
+ (produce_glyphs): For composition, call produce_composite_glyph.
(append_composite_glyph, produce_composite_glyph): New functions.
* xdisp.c (x_produce_glyphs): In handling composition, if a font
(syms_of_font): Defsubr Sfont_at.
* xdisp.c (it_props): Move the entry for Qauto_composed to just
- before the entry for Qcompostion.
+ before the entry for Qcomposition.
(handle_auto_composed_prop): Call auto-composition-function with 4 args.
(handle_composition_prop) [USE_FONT_BACKEND]: Set it->face_id from
the font in gstring.
2008-02-01 Kenichi Handa <handa@m17n.org>
- * composite.c (syms_of_composite): Don't make the compostion hash
+ * composite.c (syms_of_composite): Don't make the composition hash
table weak.
* fontset.c (Fset_fontset_font): Fix docstring.