1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-11 05:51:21 -08:00
Commit graph

28060 commits

Author SHA1 Message Date
Eli Zaretskii
89ba96f423 (create_tty_output) [MSDOS]: #ifdef away.
(tty_free_frame_resources) [MSDOS]: Add a DOS-specific version.
2009-06-28 19:07:16 +00:00
Chong Yidong
098a1589d9 * xterm.c (x_update_window_begin, x_new_focus_frame)
(x_scroll_bar_handle_click, handle_one_xevent)
(handle_one_xevent, XTread_socket, x_focus_on_frame)
(x_make_frame_visible, x_make_frame_invisible)
(x_wm_set_icon_pixmap, x_initialize): Delete some #ifdef-ed out
code chunks that are now obsolete.
2009-06-28 15:32:20 +00:00
Michael Albinus
78c383195c * dbusbind.c (XD_SYMBOL_TO_DBUS_TYPE): Convert macro into function
xd_symbol_to_dbus_type.  With Solaris 2.11, it was said to compile
for hours, when optimzation is enabled.
(xd_signature, xd_append_arg, xd_retrieve_arg, xd_initialize)
(xd_read_message): Make them static.
2009-06-28 15:22:37 +00:00
Chong Yidong
4189ed40b8 * term.c (turn_on_face): Allow simultaneously bold and dim
terminal faces (Bug#3530).
2009-06-27 21:27:51 +00:00
Chong Yidong
4e23bedbfa * frame.c (x_get_arg): Check if dpyinfo is non-NULL. 2009-06-27 19:50:50 +00:00
Chong Yidong
cd9b5e16ff * xdisp.c (mouse_face_from_buffer_pos): Fix detection of
truncation glyphs (Bug#3686).
2009-06-27 03:50:23 +00:00
Glenn Morris
07cc3c358f Trim to just the stuff applicable to netbsd, since the other platforms
have been removed.
2009-06-27 02:40:34 +00:00
Glenn Morris
4bbbda22da Restore file. 2009-06-27 02:39:28 +00:00
Dan Nicolaescu
2977109422 (--enable-checking): New option. 2009-06-26 23:41:43 +00:00
David Reitter
25c5550f48 nsterm.m (keydown): avoid infinite loop 2009-06-26 18:37:41 +00:00
Kenichi Handa
42d4a64f78 (get_adstyle_property): Call font_intern_prop with 1 as
the arg FORCE_SYMBOL.
2009-06-26 06:16:07 +00:00
Chong Yidong
930fe55bb0 Fix last entry. 2009-06-25 14:28:32 +00:00
Kenichi Handa
a71ccf3ac8 (fontset_find_font): When a usable rfont_def is found
in a fallback font-group, make it the first element of the group.
2009-06-25 08:02:34 +00:00
Chong Yidong
57ebc3fdd2 * emacs-icon.h: Always define gnu_xpm_bits on GTK (bug#3671). 2009-06-24 14:27:47 +00:00
Kenichi Handa
f084f94244 (fontset_get_font_group): Return 0 if no font-group is
set for C.
(fontset_font): Record the availability of a font for C both in
the realized fontset of the current one and the default one.
2009-06-24 04:24:18 +00:00
Chong Yidong
632c203070 Reformat 2009-06-23 ChangeLog entry. 2009-06-23 14:14:13 +00:00
Dan Nicolaescu
2f686c8743 (child_setup_tty): Remove SIGNALS_VIA_CHARACTERS
conditional, it is always defined on AIX.
2009-06-23 07:09:58 +00:00
Miles Bader
666e158e38 Add the recenter-redisplay' variable, and make recenter' use it.
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-1604
2009-06-23 07:07:45 +00:00
Jim Meyering
c6da7cd2b6 Don't dereference NULL upon failed malloc and realloc.
* src/ftfont.c (setup_otf_gstring, ftfont_shape_by_flt): Use xmalloc
and xrealloc (not malloc and realloc), so subsequent heap pointer
dereferences are guaranteed to be valid.
2009-06-23 06:49:20 +00:00
Kenichi Handa
74d7542405 (main): Call init_font (). 2009-06-23 05:53:56 +00:00
Kenichi Handa
59314cafbe (Vfont_log): Extern it.
(FONT_ADD_LOG, FONT_DEFERRED_LOG): New macros.
2009-06-23 05:53:28 +00:00
Kenichi Handa
652b9560dc (font_sort_entities, font_list_entities)
(font_matching_entity, font_open_entity)
(font_close_object): Change font_add_log to FONT_ADD_LOG.
(Vfont_log): Delete static.
(font_log_env_checked): Delete this variable.
(font_add_log): Don't check font_log_env_checked.
(font_deferred_log): Check Vfont_log.
(init_font): New function.
2009-06-23 05:52:59 +00:00
Kenichi Handa
678dca3ddb Change font_add_log to FONT_ADD_LOG. 2009-06-23 05:51:00 +00:00
Kenichi Handa
b23bf85abc (fontset_font): Call FONT_DEFERRED_LOG.
(face_for_char): Don't call font_deferred_log here.
(font_for_char): Likewise.
2009-06-23 05:47:46 +00:00
Chong Yidong
ec7c992608 * xterm.c (xg_default_icon_file): New variable.
(syms_of_xterm): Initialize it to the Emacs SVG icon file.
(x_bitmap_icon): Under GTK, use xg_default_icon_file.
2009-06-22 04:09:14 +00:00
Chong Yidong
9a01ee3357 * w32term.c (x_draw_glyph_string): Use the glyph string's width
rather than its background_width for drawing the overline and
underline (Bug#489).

* xterm.c (x_draw_glyph_string): Use the glyph string's width
rather than its background_width for drawing the overline and
underline (Bug#489).
2009-06-22 02:01:56 +00:00
Chong Yidong
8a668709c2 * xdisp.c (Qbefore_string, Qafter_string): Add externs.
(load_overlay_strings): Remove externs.
(fast_find_position): Function deleted.
(mouse_face_from_buffer_pos): New function, based on
fast_find_position.  Correctly handle before-strings,
display-strings, and after-strings (Bug#1220).
(note_mouse_highlight): Use mouse_face_from_buffer_pos.
2009-06-22 01:53:11 +00:00
Chong Yidong
7024347875 Add "Branch for 23.1" ChangeLog entry. 2009-06-21 14:35:26 +00:00
Chong Yidong
4d4c02d802 * xdisp.c (IT_DISPLAYING_WHITESPACE): Define for
!HAVE_WINDOW_SYSTEM.
(move_it_in_display_line_to, move_it_in_display_line_to)
(display_line): Remove #ifdef HAVE_WINDOW_SYSTEM.
2009-06-21 14:28:27 +00:00
Jason Rumney
46534e1efb (w32_initialize): Add necessary casts to last change. 2009-06-21 13:16:21 +00:00
Jason Rumney
13087e5925 (keyboard_codepage): New static variable.
(w32_read_socket) [WM_INPUTLANGCHANGE]: Update it.
(w32_read_socket) [WM_CHAR]: Use it to decode character
input (bug#3237).
(w32_initialize): Initialize it.
(codepage_for_locale): New function.
2009-06-21 03:34:19 +00:00
Ken Raeburn
4735b74e57 (status_message): Pass Faset index argument as a lisp object, so as to work
with USE_LISP_UNION_TYPE.
2009-06-20 23:23:55 +00:00
Juanma Barranquero
ec7709ba14 Fix typos. 2009-06-19 13:45:19 +00:00
YAMAMOTO Mitsuharu
0e727afa9d (Ffind_coding_systems_region_internal): Cache checked characters. 2009-06-19 08:39:44 +00:00
Kenichi Handa
cf299835b1 (decode_coding_iso_2022): Check MSB of bytes more rigidly. 2009-06-18 10:29:51 +00:00
Andreas Schwab
90f20d9422 (redisplay_internal): Check that the frame is still
live after redisplay of its windows.
(redisplay_windows): Check that the window is still live.
2009-06-18 09:49:05 +00:00
Kenichi Handa
7f1faf1cc2 (detect_coding_utf_16): Fix previous change. 2009-06-17 00:42:17 +00:00
Kenichi Handa
cc13543e84 (detect_coding_utf_16): Fix previous change. 2009-06-16 02:04:25 +00:00
Kenichi Handa
9c6d2887cd (detect_coding_utf_16): Fix the logic of rejecting
UTF-16 by checking the dispersion of Eth and Oth bytes.
2009-06-16 01:17:10 +00:00
Andreas Schwab
977b85f4d9 (detect_coding_utf_16): Fix typo counting odd bytes. 2009-06-15 21:36:44 +00:00
Kenichi Handa
66bd43d1d3 (status_message): Fix previous change. Be sure to
decode a localized string.
2009-06-15 13:21:14 +00:00
YAMAMOTO Mitsuharu
cb5ca9c543 (x_delete_terminal): Put previous change in #if 0 and
add comment explaining why.
2009-06-15 10:50:09 +00:00
Adrian Robert
e41820ee6c (ns_get_covering_families): Retain scriptToFamilies. 2009-06-15 04:34:50 +00:00
David Reitter
5ee6f6296a nsmenu.m (EmacsTooltip: setText): set height of tooltip. 2009-06-14 22:29:15 +00:00
Adrian Robert
4b7f335c11 * nsfont.m (ns_attribute_value): Remove.
(ns_attribute_fvalue): Incorporate code from ns_attribute_value.
	(ns_has_attribute): Shrink the normal range.
	(ns_findfonts): Don't worry about requested spec in determining
	need for synthItal.
2009-06-14 18:58:38 +00:00
Seiji Zenitani
73b26103c8 Remove USE_MAC_TOOLBAR (for Mac Carbon [22.x]) 2009-06-14 06:12:34 +00:00
Glenn Morris
68852c13c3 Mark tiny change. 2009-06-11 05:09:52 +00:00
Kenichi Handa
5753e4da2b (x_get_glyph_overhangs): Fix calculation of right
overhang for the static composition case.
2009-06-11 02:34:57 +00:00
Kenichi Handa
a431c5f4a2 (x_get_glyph_overhangs): Fix calculation of right
overhang for the automatic composition case.
2009-06-11 02:32:30 +00:00
Kenichi Handa
3561b6717a (x_compute_glyph_string_overhangs): Handle the automatic
composition case.
2009-06-11 01:25:40 +00:00