1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-25 15:00:45 -08:00
Commit graph

27923 commits

Author SHA1 Message Date
Chong Yidong
708e05dc7a * keyboard.c (Fset_input_meta_mode): Doc fix.
* dispnew.c (Fsend_string_to_terminal): Doc fix.

* data.c (Fterminal_local_value, Fset_terminal_local_value): Doc
fixes.

* coding.c (Fterminal_coding_system): Doc fix.

* xfns.c (Fx_display_grayscale_p, Fx_display_pixel_width)
(Fx_display_pixel_height, Fx_display_planes)
(Fx_display_color_cells, Fx_server_max_request_size)
(Fx_server_vendor, Fx_server_version, Fx_display_screens)
(Fx_display_mm_height, Fx_display_mm_width)
(Fx_display_backing_store, Fx_display_visual_class)
(Fx_display_save_under, Fx_close_connection, Fx_synchronize): Doc
fixes, replacing "terminal id" with "terminal object".
(check_x_display_info): Handle terminal objects instead of
terminal ids.
2009-04-22 04:32:21 +00:00
Chong Yidong
fdc496e7d1 * term.c (Vsuspend_tty_functions, Vresume_tty_functions): Doc fixes,
replacing "terminal id" with "terminal object".
2009-04-22 03:51:25 +00:00
Chong Yidong
401e9e5757 * term.c (Ftty_display_color_p, Ftty_display_color_cells)
(Ftty_type, Fcontrolling_tty_p, Ftty_no_underline, Fsuspend_tty)
(Fresume_tty): Doc fixes, replacing "terminal id" with "terminal
object".
2009-04-22 03:43:06 +00:00
Chong Yidong
e0c3684aca Minor comment fix. 2009-04-22 03:37:30 +00:00
Juanma Barranquero
5a8f12af67 Add bug reference. 2009-04-21 12:03:46 +00:00
Kenichi Handa
c0a6070d60 (font_score): Check AVGWIDTH too. 2009-04-21 07:30:00 +00:00
Kenichi Handa
908567efed (font_load_for_lface): Cancel previous change. 2009-04-21 06:46:39 +00:00
Kenichi Handa
df80c7f014 (decode_coding_utf_16): Reduce charbuf_end for the
worst case.
(decode_coding_emacs_mule, decode_coding_iso_2022)
(decode_coding_sjis, decode_coding_big5, decode_coding_charset):
Likewise.
2009-04-21 06:36:21 +00:00
Jason Rumney
705af33f7e The following changes fix Bug#3005 for wide glyphs on each platform,
without	reintroducing Bug#1258 for stretch glyphs.

* xterm.c (x_draw_bar_cursor): Limit cursor width differently for
BAR_CURSOR and HBAR_CURSOR.  Calculate width of HBAR_CURSOR using
get_phys_cursor_geometry.

* w32term.c (x_draw_bar_cursor):  Limit cursor width differently
for BAR_CURSOR and HBAR_CURSOR.  Calculate width of HBAR_CURSOR
using get_phys_cursor_geometry.

* nsterm.m (ns_draw_window_cursor): HBAR_CURSOR width already
correctly calculated.
2009-04-19 15:09:25 +00:00
Jan Djärv
dc2933ebde Make Emacs compile when Gtk+ and -DGTK_DISABLE_DEPRECATED is used.
* gtkutil.c (xg_tool_bar_menu_proxy, update_frame_tool_bar): Use
G_CALLBACK instead of GTK_SIGNAL_FUNC which is deprecated.
(xg_initialize): Use g_type_class_ref instead of gtk_type_class which
is deprecated.

* configure.in (HAVE_GTK_FILE_SELECTION, HAVE_GTK_FILE_CHOOSER): Check
if it is declared in gtk.h.
2009-04-19 10:53:15 +00:00
Andreas Schwab
973e784949 (font_put_frame_data): Use xfree instead of free. 2009-04-18 13:29:59 +00:00
Juanma Barranquero
314d66f446 * w32font.c (Qja, Qko): Remove declarations.
(syms_of_w32font): Don't DEFSYM them.
2009-04-17 19:04:49 +00:00
Chong Yidong
cf70255861 * font.c (Qja, Qko): Move definitions here from ftfont.c.
* font.h (Qja, Qko): Extern them.
* ftfont.c (Qja, Qko): Remove declarations.
* xfont.c (Qja, Qko): Remove declarations.
2009-04-17 18:38:00 +00:00
Kenichi Handa
bde257485d (Ftranslate_region_internal): Use Fconcat to make a
string from a vector to handle Latin-1 characters correctly.
2009-04-17 02:15:17 +00:00
Kenichi Handa
b50504f535 (ftfont_pattern_entity): Return a newly allocated
entity even if the cache hits.
2009-04-17 00:56:39 +00:00
Andreas Schwab
e7deaab0bc * search.c: Use EMACS_INT for buffer positions. Add prototypes.
* lisp.h: Adjust prototypes.
2009-04-16 16:01:14 +00:00
Andreas Schwab
6340c70eb3 Add bug reference. 2009-04-16 09:32:26 +00:00
Andreas Schwab
f4646fffc2 (boyer_moore): Use zero as marker value for a possible
match instead of depending on overflow behavior.
2009-04-16 09:30:45 +00:00
Chong Yidong
0a0e7d4973 * keyboard.c (adjust_point_for_property): Disable 2009-02-12
change (Bug#3003).
2009-04-16 03:58:44 +00:00
Kenichi Handa
bd0af90dca (xfont_has_char): Special handling of ja' and ko' adstyle. 2009-04-16 01:39:36 +00:00
Kenichi Handa
b840b299b9 (xftfont_has_char): Special handling of ja' and ko' adstyle. 2009-04-16 01:38:35 +00:00
Kenichi Handa
d778210526 (Qja, Qko): Don't make them static.
(enum ftfont_cache_for): New enum.
(fc_charset_table): Undo the previous change.
(ftfont_get_latin1_charset): Delete it.
(ftfont_pattern_entity): Check cache by ftfont_lookup_cache.  Set
FONT_SIZE_INDEX of the entity to 0 for a scalable font.  For a
non-scarable font, try to get AVERAGE_WIDTH.
(ftfont_lookup_cache): Argument FOR-FACE is changed to CACHE_FOR.
Change ft_face_cache from a list of a hash-table.  Don't check
`ja' and `ko' adstyle here.
(ftfont_get_fc_charset): Call ftfont_lookup_cache with
FTFONT_CACHE_FOR_CHARET.
(ftfont_get_charset): Undo the previous change.
(ftfont_open): Call ftfont_lookup_cache with
FTFONT_CACHE_FOR_FACE.
(ftfont_close): Likewise.
(ftfont_has_char): Special handling of `ja' and `ko' adstyle.
2009-04-16 01:38:07 +00:00
Kenichi Handa
c9477f014b (font_sort_entites): Change the meaning of the arg
BEST-ONLY.  Don't optimize for VEC of lenght 1.
(font_select_entity): Just return the value of font_sort_entites.
2009-04-16 01:32:44 +00:00
Kenichi Handa
89dc9a8ed9 (merge_face_vectors): Reflect font properties in
to[LFACE_FONT_INDEX] to the other face attributes.  Don't call
font_clear_prop if a face attribute doesn't change.
2009-04-16 01:08:24 +00:00
Kenichi Handa
3c908a5774 (charset_ksc5601): Extern it. 2009-04-16 01:05:10 +00:00
Kenichi Handa
d32320c43d (charset_ksc5601): New variable.
(Fdefine_charset_internal): Set charset_ksc5601.
(init_charset_once): Initialize charset_ksc5601 to -1.
2009-04-16 01:04:27 +00:00
Stefan Monnier
febb8abad4 (match-data): Refer to set-match-data' rather than store-match-data'. 2009-04-15 17:06:34 +00:00
Dan Nicolaescu
d65859c36e * fileio.c (history_delete_duplicates): Remove unused declaration.
* callint.c (history_delete_duplicates): New declaration.
(Fcall_interactively): Remove command history duplicates when
history_delete_duplicates is true.
2009-04-15 00:08:23 +00:00
Eli Zaretskii
3ba010e58f (syms_of_buffer) <line-spacing>: Doc fix. 2009-04-14 13:58:35 +00:00
Kenichi Handa
06f19b9126 (Ffont_info): Fix docstring. Fix the second element of
the returned value.
2009-04-14 12:41:33 +00:00
Chong Yidong
d78df08059 Fix last change. 2009-04-14 02:28:45 +00:00
Chong Yidong
2cce8bfc54 * xdisp.c (Vwrap_prefix, Vline_prefix): Reflow docstrings. 2009-04-14 02:28:25 +00:00
Kenichi Handa
d156542d90 (xfont_has_char): The font has C if C is ASCII and the
encoding charset is ascii_compatible.
2009-04-14 01:27:02 +00:00
Kenichi Handa
3620330b86 (Fdefine_charset_internal): Make charset
ascii-compatible if the method is CHARSET_METHOD_OFFSET, the
code_offset is 0, and covers all ASCII characters.
2009-04-14 01:24:52 +00:00
Stefan Monnier
86fa089ec0 * nsselect.m (symbol_to_nsstring, clean_local_selection_data)
(ns_string_to_pasteboard_internal):
* nsmenu.m (process_dialog):
* nsimage.m (ns_load_image): Use SDATA and ASET where appropriate.
* nsfont.m (nsfont_open): Use XHASH to make it compile with LISP_UNION.
* lisp.h (Fx_load_color_file): Declare.
2009-04-13 18:45:12 +00:00
Kenichi Handa
a8a3728b90 (get_adstyle_property): Fix previous change. 2009-04-13 12:41:33 +00:00
Kenichi Handa
99c4d65db7 (Qja, Qko): New variables.
(fc_charset_table): Delete uniquifier data for iso8859-1.
(ftfont_get_latin1_charset): New function.
(get_adstyle_property): New function.
(ftfont_pattern_entity): Set FONT_ADSTYLE_INDEX of entity for
bitmap fonts.
(ftfont_lookup_cache): Handle the case that KEY is a font-entity.
Delete iso-8859-1 range from the charset of fonts whose adstyle is
`ko' or `ja'.
(ftfont_get_fc_charset): Call ftfont_lookup_cache with ENTITY.
(ftfont_get_charset): For iso8859-1, call
ftfont_get_latin1_charset.
(ftfont_list): Don't refuse a font spec with non-nil `adstyle'
property.
(ftfont_open): Call ftfont_lookup_cache with ENTITY.
(syms_of_ftfont): DEFSYM Qja and Qko.
2009-04-13 12:33:13 +00:00
Kenichi Handa
7395a3b327 (font_delete_unmatched): Preserve the order of list
elements.
(font_select_entity): Suppress the code to optimize for the same
kind of fonts.
(font_load_for_lface): Get a font that supports at least ASCII
characters.
2009-04-13 12:33:02 +00:00
Stefan Monnier
98a326f7ef Remove `tiny change' for Nikolaj Schumacher. 2009-04-10 04:25:43 +00:00
Kenichi Handa
12b5576566 (map_charset_chars): For a charset of `superset'
method, fix calculation of code range.
2009-04-09 03:47:40 +00:00
Kenichi Handa
483670b590 (font_put_extra): If VAL is nil, delete the slot for PROP
from the list of extra properties.
(font_clear_prop): Be sure to delete `:name' font property.
2009-04-09 02:40:51 +00:00
YAMAMOTO Mitsuharu
b4b2c2cafc (redraw_overlapping_rows): Fix detection of
overlapping for topmost and bottommost rows.
2009-04-08 10:30:51 +00:00
Kenichi Handa
57d3b93bd5 (ftfont_text_extents): Fix calculation of metrics->descent. 2009-04-08 01:32:21 +00:00
Jason Rumney
472c36097b (x_set_font): Avoid C99 mid-block variable declaration. 2009-04-06 14:54:36 +00:00
Kenichi Handa
ab193662d5 (ftxfont_draw_backgrond): Fix args to XFillRectangle. 2009-04-06 11:11:36 +00:00
Kenichi Handa
bc981e4e5a (xftfont_open): Fix setting font->underline_thickness. 2009-04-06 11:08:56 +00:00
Kenichi Handa
0c26f026c8 (ftfont_open): Fix checking of the return value of
FT_Load_Char.  Fix setting font->underline_thickness.
2009-04-06 07:57:46 +00:00
Chong Yidong
e173bbce45 * terminal.c (Fterminal_name, Fdelete_terminal, Fterminal_name)
(Fterminal_parameters, Fterminal_parameter)
(Fset_terminal_parameter): In doc string, refer to terminal
objects rather than terminal ids.
2009-04-04 15:26:03 +00:00
Juanma Barranquero
6af84d777e Fix typos. 2009-04-04 11:32:49 +00:00
Eli Zaretskii
693a2698d9 (system_process_attributes) [SYSTEM_MALLOC]: Don't call ret_lim_data.
(Bug#2867)
2009-04-04 09:43:21 +00:00