Commit c3f9fba8 authored by Juanma Barranquero's avatar Juanma Barranquero
Browse files

*** empty log message ***

parent 446dcd75
2008-05-28 Juanma Barranquero <lekktu@gmail.com>
* coding.c (Fdecode_coding_region, Fencode_coding_region)
(Fencode_coding_string):
(syms_of_coding) <coding-system-for-read, coding-system-for-write>:
<latin-extra-code-table>: Fix typos in docstrings.
(syms_of_coding) <coding-system-alist>: Doc fix.
(syms_of_coding) <translation-table-for-input>: Reflow docstring.
2008-05-28 Kenichi Handa <handa@m17n.org>
* coding.c (encode_coding_raw_text): Fix previous change.
......@@ -6,8 +15,7 @@
2008-05-27 Chong Yidong <cyd@stupidchicken.com>
* xterm.c (x_draw_glyph_string): If a clipmask is specified, use
it.
* xterm.c (x_draw_glyph_string): If a clipmask is specified, use it.
2008-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
......@@ -545,33 +553,29 @@
(font_match_p): Check alternate families.
(font_find_object): Delete it.
(font_check_object): New function.
(font_clear_cache): Adjusted for the change of font-related
objects.
(font_clear_cache): Adjusted for the change of font-related objects.
(font_delete_unmatched): New arg.
(font_list_entities): Call font_driver->list with a spec that
doesn't specify style-related properties.
(font_matching_entity): Arguments changed. Caller changed.
(font_open_entity): Adjusted for the change of font-related
objects.
(font_open_entity): Adjusted for the change of font-related objects.
(font_close_object, font_has_char, font_encode_char)
(font_get_name, font_get_spec): Likewise.
(font_spec_from_name, font_clear_prop, font_update_lface): New
functions.
(font_find_for_lface, font_open_for_lface, font_load_for_lface):
(font_spec_from_name, font_clear_prop, font_update_lface):
New functions.
(font_find_for_lface, font_open_for_lface, font_load_for_lface)
(font_prepare_for_face, font_done_for_face, font_open_by_name)
(font_at): Adjusted for the change of font-related objects.
(font_range): New function.
(Ffontp, Ffont_spec, Ffont_get, Ffont_put, Flist_fonts)
(Ffont_xlfd_name): Adjusted for the change of font-related
objects.
(Ffont_xlfd_name): Adjusted for the change of font-related objects.
(Fcopy_font_spec, Fmerge_font_spec): New function.
(Ffont_family_list): Renamed from list-families.
(Finternal_set_font_style_table): Arguments changed.
(Ffont_fill_gstring, Ffont_shape_text, Fopen_font)
(Ffont_drive_otf, Fquery_font, Ffont_match_p): Adjusted for the
change of font-related objects.
(syms_of_font): Delete "ifdef USE_FONT_BACKEND". DEFSYM new
symboles.
(syms_of_font): Delete "ifdef USE_FONT_BACKEND". DEFSYM new symbols.
* fontset.h (struct font_info): Delete it. Most memnbers go to
struct font.
......@@ -730,8 +734,8 @@
set_lface_from_font_and_fontset. Caller changed. Don't set
LFACE_AVGWIDTH. Use FONT_XXX_FOR_FACE to get a symbol suitable
for face.
(merge_face_vectors): Copy font-spec if necessary. Clear
properties of the font-spec if necessary.
(merge_face_vectors): Copy font-spec if necessary.
Clear properties of the font-spec if necessary.
(merge_face_ref): Clear properties of the font-spec if necessary.
(Finternal_set_lisp_face_attribute): Likewise.
(set_font_frame_param): Use font_load_for_lface to load a
......@@ -745,8 +749,8 @@
Compare fonts by EQ.
(lookup_non_ascii_face): Deleted.
(face_for_font): The 2nd argument changed.
(x_supports_face_attributes_p): Don't check LFACE_AVGWIDTH. Check
atomic font properties by case insensitive.
(x_supports_face_attributes_p): Don't check LFACE_AVGWIDTH.
Check atomic font properties by case insensitive.
(realize_non_ascii_face): Set face->overstrike correctly.
(realize_x_face): Likewise. Check if LFACE_FONT is a font_object.
(dump_realized_face): Get font name from
......@@ -811,12 +815,11 @@
* xterm.c: Throughout the file, delete all USE_FONT_BACKEND
conditionals. Don't check enable_font_backend. Delete all codes
used only when USE_FONT_BACKEND is not defined. Don't include
ccl.h.
used only when USE_FONT_BACKEND is not defined. Don't include ccl.h.
(x_per_char_metric, x_encode_char): Deleted.
(x_set_cursor_gc, x_set_mouse_face_gc): Don't set GCFont.
(x_compute_glyph_string_overhangs): Adjusted for the change of
`struct face'
`struct face'.
(x_draw_glyph_string_foreground)
(x_draw_composite_glyph_string_foreground): Likewise.
(x_draw_glyph_string): Likewise. Use font->underline_position and
......@@ -855,16 +858,14 @@
(w32font_draw): Likewise.
(w32font_list_internal): Return a list, not vector.
(w32font_open_internal): Change the 4th arg to font-object.
Adjusted for the change of struct w32font_info and font-object
format.
Adjusted for the change of struct w32font_info and font-object format.
(add_font_name_to_list): Don't downcase names.
(w32_enumfont_pattern_entity): Make a font-entity by
font_make_entity. Adjusted for the format change of font-entity.
Use FONT_SET_STYLE to set a style-related font property. If a
font is scalable, set avgwidth property to 0. Set font-entity
property by font_put_extra.
(font_matches_spec): Adjusted for the format change of
font-entity.
(font_matches_spec): Adjusted for the format change of font-entity.
(w32_weight_table, w32_decode_weight): New variables.
(w32_encode_weight): New function.
(fill_in_logfont): Adjusted for the format change of font-spec.
......@@ -884,10 +885,9 @@
code by "#ifdef OLD_FONT" and "endif".
* w32uniscribe.c: Delete USE_FONT_BACKEND conditional.
(uniscribe_open): Return value changed to font-object. Adjusted
for the format change of font-object.
(uniscribe_otf_capability): Adjusted for the change of struct
font.
(uniscribe_open): Return value changed to font-object.
Adjusted for the format change of font-object.
(uniscribe_otf_capability): Adjusted for the change of struct font.
(add_opentype_font_name_to_list): Don't downcase names.
(uniscribe_font_driver): Adjusted for the change of struct
font_driver.
......@@ -1095,7 +1095,7 @@
check_min_window_sizes.
(window_min_size_2, window_min_size_1, window_min_size):
New argument safe_p for retrieving "safe" minimum sizes.
(Fdisplay_buffer, Fsplit_window, enlarge_window):
(Fdisplay_buffer, Fsplit_window, enlarge_window)
(adjust_window_trailing_edge, grow_mini_window):
Adjust arguments of window_min_size... functions.
(shrink_windows): Argument min_size removed. New argument
......@@ -1173,7 +1173,7 @@
Likewise.
* mactoolbox.c (Vmac_ts_active_input_buf) [USE_MAC_TSM]: Add extern.
(fast_find_position, x_y_to_hpos_vpos, mac_ax_selected_text_range):
(fast_find_position, x_y_to_hpos_vpos, mac_ax_selected_text_range)
(mac_ax_number_of_characters): Add externs.
(mac_get_selected_range, mac_store_buffer_text_to_unicode_chars)
[USE_MAC_TSM]: Likewise.
......@@ -2804,7 +2804,7 @@
* Makefile.in: Update what RMS says about using autoconf.
(C_COMPILER, COFF_ENCAPSULATE, MAKE_PARALLEL): Remove obsolete variable.
(C_SWITCH_MACHINE_1, C_SWITCH_SYSTEM_1, C_SWITCH_SITE_1):
(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.
......@@ -2867,7 +2867,7 @@
The latter provokes a warning from gcc about the empty else, when
followed by ";". Also, without that trailing semicolon, it would
silently swallow up any following statement.
* syntax.h (SETUP_SYNTAX_TABLE):
* syntax.h (SETUP_SYNTAX_TABLE)
(SETUP_SYNTAX_TABLE_FOR_OBJECT): Likewise.
* buffer.h (DECODE_POSITION): Likewise.
* character.h (FETCH_STRING_CHAR_ADVANCE): Likewise.
......@@ -3884,8 +3884,8 @@
* w32term.c (w32_native_per_char_metric): Swap width and rbearing
calculations for non-Truetype fonts.
(x_draw_glyph_string): Sync with xterm.c.
(x_draw_glyph_string_foreground) [USE_FONT_BACKEND]: Remove
redundant code.
(x_draw_glyph_string_foreground) [USE_FONT_BACKEND]:
Remove redundant code.
(w32_initialize) [USE_FONT_BACKEND]: Call w32font_initialize.
* w32term.h (w32_output_data) [USE_FONT_BACKEND]: Add fontp member.
......@@ -3908,10 +3908,10 @@
2008-02-01 Jason Rumney <jasonr@gnu.org>
* w32term.c [USE_FONT_BACKEND]:
(x_get_font_repertory, note_mouse_movement, x_set_mouse_face_gc):
(x_set_glyph_string_clipping, x_set_glyph_string_clipping_exactly):
(x_draw_glyph_string, x_draw_glyph_string_foreground):
(x_draw_composite_glyph_string_foreground, x_new_fontset2):
(x_get_font_repertory, note_mouse_movement, x_set_mouse_face_gc)
(x_set_glyph_string_clipping, x_set_glyph_string_clipping_exactly)
(x_draw_glyph_string, x_draw_glyph_string_foreground)
(x_draw_composite_glyph_string_foreground, x_new_fontset2)
(x_free_frame_resources): Sync with xterm.c.
2008-02-01 Andreas Schwab <schwab@suse.de>
......@@ -3921,8 +3921,7 @@
2008-02-01 Kenichi Handa <handa@m17n.org>
* font.c (check_otf_features): Define it regardless of
HAVE_LIBOTF.
* font.c (check_otf_features): Define it regardless of HAVE_LIBOTF.
2008-02-01 Kenichi Handa <handa@m17n.org>
......@@ -3938,8 +3937,8 @@
(otf_open): Use lispy otf_list.
(generate_otf_features): Rename from parse_gsub_gpos_spec.
(check_otf_features): New function.
(font_otf_DeviceTable, font_otf_ValueRecord, font_otf_Anchor): New
functinos.
(font_otf_DeviceTable, font_otf_ValueRecord, font_otf_Anchor):
New functions.
(font_drive_otf): New function merging font_otf_gsub and
font_otf_gpos.
(font_open_for_lface): New arg spec. Change argument order.
......@@ -7661,7 +7660,7 @@
(xsubchartable, xcoding, xcharset, xcurbuf): New commands.
* Makefile.in (obj): Add character.o and chartab.o.
(lisp, shortlisp): Remove utf-8.elc:
(lisp, shortlisp): Remove utf-8.elc.
(*.o): For many files, change dependency on charset.h to
character.h, and add dependency on character.h.
(character.o, chartab.o): New targets.
......@@ -10218,8 +10217,7 @@
* xterm.h: Remove declaration for x_fully_uncatch_errors.
(x_output): Remove background_pixel and foreground_pixel fields.
(x_display_info): Add new field TERMINAL. Remove KBOARD field.
(x_delete_device):
(x_session_close): Declare.
(x_delete_device, x_session_close): Declare.
* lread.c: Include setjmp.h. Update declaration of `read_char'.
(read_filtered_event): Call `read_char' with a local
......@@ -10270,7 +10268,7 @@
(syms_of_keymap): Remove DEFVAR for Vfunction_key_map.
(Vkey_translation_map): Remove.
(syms_of_keymap): Remove DEFVAR for key-translation-map.
(Fdescribe_buffer_bindings):
(Fdescribe_buffer_bindings)
(read_key_sequence, init_kboard, syms_of_keyboard, mark_kboards):
Update for terminal-local key-translation-map.
......@@ -10307,9 +10305,9 @@
* coding.c: Include frame.h and termhooks.h.
(terminal_coding, keyboard_coding): Delete.
(Fset_terminal_coding_system_internal):
(Fset_keyboard_coding_system_internal):
(Fkeyboard_coding_system):
(Fset_terminal_coding_system_internal)
(Fset_keyboard_coding_system_internal)
(Fkeyboard_coding_system)
(Fterminal_coding_system): Add a terminal parameter.
Get terminal_coding from the terminal.
(init_coding_once): Don't call setup_coding_system here.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment