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

27470 commits

Author SHA1 Message Date
Kenichi Handa
6a705b232b (xfont_decode_coding_xlfd): New function.
(xfont_encode_coding_xlfd): New function.
(xfont_list_pattern): Decode XLFD by iso-8859-1.
(xfont_list): Decode and encode XLFD by iso-8859-1.
(xfont_match): Likewise.
(xfont_list_family): Likewise.
(xfont_open): Likewise.
2008-12-19 05:42:14 +00:00
Kenichi Handa
3299c55202 (ftfont_open): Genarate a multibyte string if given
names are utf-8.
2008-12-19 05:39:44 +00:00
Kenichi Handa
2781b4e0a3 (xftfont_open): Genarate a multibyte string if give names are utf-8. 2008-12-19 05:39:19 +00:00
Glenn Morris
5582fbc7bd Format and file name fixes, for AUTHORS. 2008-12-19 03:07:25 +00:00
Glenn Morris
bc7f6511c4 Formatting fix, for AUTHORS. 2008-12-19 03:06:48 +00:00
Glenn Morris
960ba8377d Expand some wild cards, for AUTHORS. 2008-12-19 03:06:29 +00:00
Juanma Barranquero
f013149203 Fix typos and author's names. 2008-12-19 01:50:43 +00:00
Jan Djärv
bfd203253d (xg_frame_resized): Remove check if rows/columns have
changed.
(xg_tool_bar_proxy_callback): Put focus on the frame after we have
clicked on a detached tool bar button.
2008-12-18 18:48:08 +00:00
Jan Djärv
5a13094105 (xg_frame_resized): Remove check if rows/columns have
changed.
2008-12-18 17:45:28 +00:00
Dan Nicolaescu
fd95644b93 * emacs.c (main): Print and error and exit when no data is read
from the pipe.

* startup.el (command-line): Do not mention the server name in
case the user has not mentioned it, print a more explicit message.

* emacsclient.c (start_daemon_and_retry_set_socket): Improve error
checking.
2008-12-18 08:48:26 +00:00
Juanma Barranquero
d483550724 Fix typos. 2008-12-17 15:25:54 +00:00
Jason Rumney
e6eee6aec1 (w32font_has_char): Always return -1. 2008-12-17 14:41:44 +00:00
Kenichi Handa
a35dd56b88 (font_open_entity): Fix previous change. 2008-12-16 11:30:23 +00:00
Dan Nicolaescu
0e3635c29a Include <limits.h>. 2008-12-16 08:04:45 +00:00
Chong Yidong
6136b72f0b (font_update_drivers): Fix mistake in reconstructing the driver list.
(font_clear_cache): Fix format of font cache data.
2008-12-16 03:33:00 +00:00
Chong Yidong
b5356c3948 * font.c (font_update_drivers): Fix mistake in reconstructing the
driver list.

* font.c (font_clear_cache): Fix format of font cache data.
2008-12-16 03:32:46 +00:00
Chong Yidong
75f23946ee (x_free_frame_resources): Remove extraneous call to free_frame_faces. 2008-12-15 01:57:54 +00:00
Chong Yidong
5c629bf654 (xftfont_open): Free Xft font pattern if XftFontOpenPattern fails. 2008-12-15 01:57:40 +00:00
Chong Yidong
e2cbc40157 * xftfont.c (xftfont_open): Free Xft font pattern if
XftFontOpenPattern fails.

* xterm.c (x_free_frame_resources): Remove extraneous call to
free_frame_faces.
2008-12-15 01:57:19 +00:00
Chong Yidong
b3b6105f0d (x_delete_display): Move xim_close_dpy call to x_delete_terminal.
(x_delete_terminal): Call xim_close_dpy.
2008-12-13 22:09:09 +00:00
Chong Yidong
b131d53521 * xterm.c (x_delete_display): Move xim_close_dpy call to
x_delete_terminal.
(x_delete_terminal): Call xim_close_dpy.
2008-12-13 22:08:58 +00:00
Jason Rumney
e6df533648 * w32font.c (intern_font_name): New function.
(add_font_name_to_list, w32_enumfont_pattern_entity): Use it.
(w32font_open_internal, Fx_select_font): Decode font name.
(fill_in_logfont, list_all_matching_fonts): Encode font name.

* w32font.h (intern_font_name): Declare new function.

* w32uniscribe.c (add_opentype_font_name_to_list):
Use intern_font_name.
2008-12-13 17:56:27 +00:00
Chong Yidong
ebbbc028ab (Fdelete_frame): Call free_font_driver_list. 2008-12-13 15:40:34 +00:00
Chong Yidong
9f2554de93 * frame.c (Fdelete_frame): Call free_font_driver_list.
* font.c (free_font_driver_list): Implement missing function.
2008-12-13 15:40:22 +00:00
Chong Yidong
2ed98482b8 (free_font_driver_list): Implement missing function. 2008-12-13 15:39:48 +00:00
Chong Yidong
3d9bec9a6b * font.c (free_font_driver_list): Implement missing function. 2008-12-13 15:39:39 +00:00
Chong Yidong
09fce22308 (struct xim_inst_t): Definition moved to xterm.h.
(xim_initialize): Save pointer to callback function data.
(xim_close_dpy): Free callback function data.  Call XCloseIM,
reverting 2008-11-04 change by David Smith.
(x_term_init): Don't initialize the image cache here; it will be
done in init_frame_faces.  Remove ancient "null_pixel" cruft.
(x_delete_display): Free x_dnd_atoms member.
2008-12-13 05:44:38 +00:00
Chong Yidong
9b011d3b30 (struct xim_inst_t): Definition moved from xterm.c.
(struct x_display_info): Remove unused member null_pixel.  New
member xim_callback_data.
2008-12-13 05:41:55 +00:00
Chong Yidong
bb9038ffc0 (w32_term_init): Don't initialize the image cache here; it will be
done in init_frame_faces.
2008-12-13 05:40:29 +00:00
Chong Yidong
20d68145d2 * w32term.c (w32_term_init): Don't initialize the image cache
here; it will be done in init_frame_faces.

* xterm.h (struct xim_inst_t): Definition moved from xterm.c.
(struct x_display_info): Remove unused member null_pixel.  New
member xim_callback_data.

* xterm.c (struct xim_inst_t): Definition moved to xterm.h.
(xim_initialize): Save pointer to callback function data.
(xim_close_dpy): Free callback function data.  Call XCloseIM,
reverting 2008-11-04 change by David Smith.
(x_term_init): Don't initialize the image cache here; it will be
done in init_frame_faces.  Remove ancient "null_pixel" cruft.
(x_delete_display): Free x_dnd_atoms member.
2008-12-13 05:39:41 +00:00
Chong Yidong
91c37b7e41 Update commentary. 2008-12-13 05:39:20 +00:00
Kenichi Handa
55e4177003 (font_rescale_ratio): Moved from xfaces.c. Argument
type changed.  Handle a font-spec too.
(font_score): Check Vface_font_rescale_alist.
(font_open_entity): Likewise.
2008-12-13 03:29:47 +00:00
Kenichi Handa
96f9306b8b (font_rescale_ratio): Moved to font.c. 2008-12-13 03:29:30 +00:00
Chong Yidong
3b18571d2c (Fx_wm_set_size_hint): Check if the frame is an X frame. 2008-12-13 01:21:17 +00:00
Chong Yidong
8d5b496470 * xfns.c (Fx_wm_set_size_hint): Check if the frame is an X frame. 2008-12-13 01:20:43 +00:00
Jason Rumney
d5272e33cc (x_display_info_for_name, Fx_open_connection): Set
Vwindow_system_version to the real w32 major version.
2008-12-12 15:34:46 +00:00
Dan Nicolaescu
97c6058a7a (init_tty): Move setting the terminal name before the
potential user: maybe_fatal.
2008-12-12 00:54:31 +00:00
Chong Yidong
9f215d25e0 (tty_free_frame_resources): Renamed from delete_tty_output; all
callers changed.  Call free_frame_faces to free the face cache.
2008-12-11 20:38:36 +00:00
Chong Yidong
ec4e88d751 * term.c (tty_free_frame_resources): Renamed from delete_tty_output;
all callers changed.  Call free_frame_faces to free the face cache.
2008-12-11 20:38:26 +00:00
Jason Rumney
8ec71e2341 (fill_in_logfont): Don't assume symbol script means SYMBOL_CHARSET. 2008-12-11 14:58:04 +00:00
Jason Rumney
b4233ec94b (uniscribe_encode_char): Increase glyph buffer size for surrogates. 2008-12-11 13:02:52 +00:00
Juanma Barranquero
011a014396 Move decoding of locale info from Lisp to C.
* src/w32proc.c (Fw32_get_locale_info): Decode long form of locale name.

* lisp/w32-fns.el (w32-list-locales): Revert part of 2008-10-17 change;
  decoding of long locale info is now done in `w32-get-locale-info'.
2008-12-11 09:40:44 +00:00
Juanma Barranquero
3c309f345b * process.c (Fsystem_process_attributes, syms_of_process):
Fix typo in name of Ssystem_process_attributes.
  Reported by Ulrich Mueller <ulm@kph.uni-mainz.de>.
2008-12-11 08:46:35 +00:00
Juanma Barranquero
fedc6ab555 * syntax.c (Fmodify_syntax_entry): Doc fix. 2008-12-11 01:49:46 +00:00
Juanma Barranquero
ba3de0e8f9 * font.c (Ffont_spec): Move usage to end of docstring. 2008-12-10 19:25:26 +00:00
Juanma Barranquero
e3eea1fca2 Fix whitespace breakage by bug#870 (and it wasn't even me, this time). 2008-12-10 16:31:26 +00:00
Jason Rumney
2db5c0e6a3 Improve comments for last change. 2008-12-10 16:21:39 +00:00
Jason Rumney
9d32f81899 (add_font_entity_to_list): Limit unicode-sip fonts to those that
contain characters beyond the bmp.
2008-12-10 16:10:36 +00:00
Jason Rumney
174f1c745d (Qcham): New symbol.
(font_supported_scripts): Add cham, and comments for other new
scripts in bitfield from OpenType spec.
2008-12-10 15:37:46 +00:00
Juanma Barranquero
2ae37cf085 Fix typos. 2008-12-10 10:44:34 +00:00