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

27461 commits

Author SHA1 Message Date
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
Kenichi Handa
7b6494787a (fc_charset_table): Add "unicode-sip".
(ftfont_spec_pattern): Lookup fc_charset_table for the regisry
Qunicode_sip.
2008-12-10 06:01:44 +00:00
Juanma Barranquero
2133e2d138 * coding.c (QCdefault_char): Rename from QCdefalut_char.
(Fcoding_system_put): Use QCdefault_char.
  (syms_of_coding): Set QCdefault_char, not QCdefalut_char.
2008-12-10 01:04:19 +00:00
Juanma Barranquero
4ccfa1c0d1 Fix typos. 2008-12-10 00:53:33 +00:00
Chong Yidong
9743ac48dd (syms_of_xftfont): Fix typo. 2008-12-09 23:54:29 +00:00
Chong Yidong
74d819ebdb * xftfont.c (syms_of_xftfont): Fix typo. 2008-12-09 23:54:20 +00:00
Chong Yidong
dc9cc5743b (Fbuffer_swap_text): Signal error if swapping a dead buffer. 2008-12-09 23:08:05 +00:00
Chong Yidong
9af886ee0f * buffer.c (Fbuffer_swap_text): Signal error if swapping a dead
buffer.
2008-12-09 23:07:56 +00:00
Dan Nicolaescu
7c19d3aedb (main): Close daemon_pipe on exec. 2008-12-08 16:22:40 +00:00
Chong Yidong
d31eee5ecc (encode_terminal_code): Free any previous memory blocks
before calling xmalloc for encode_terminal_src or
encode_terminal_dst.
(maybe_fatal): Buffer argument deleted.  Don't free buffer here.
All callers changed.
(init_tty): Store termcap data and string buffers in new struct
tty members termcap_term_buffer and termcap_strings_buffer.
(delete_tty): Free them.
(syms_of_term): Initialize encode_terminal_src and
encode_terminal_dst.
2008-12-08 14:44:30 +00:00