Chong Yidong
5fedada77c
(Fread_buffer): Doc fix.
2008-12-20 10:25:19 +00:00
Chong Yidong
6ea151235e
* minibuf.c (Fread_buffer): Doc fix.
2008-12-20 10:24:41 +00:00
Jason Rumney
b2dab6c8f7
(decode_coding): Clear chars_at_source flag when using charbuf.
2008-12-20 08:01:12 +00:00
Dan Nicolaescu
2d2d05d864
(system_process_attributes): Close fd when done.
2008-12-19 23:38:28 +00:00
Dan Nicolaescu
6d1921bece
(serial_configure): Fix typo.
2008-12-19 23:06:39 +00:00
Dan Nicolaescu
900d51fcda
* process.c: (Flist_system_processes):
...
(Fsystem_process_attributes): Undo previous change, these functions
are duplicated for the benefit of #ifndef subprocesses.
2008-12-19 22:53:15 +00:00
Dan Nicolaescu
9dcbe89bff
* sysdep.c (system_process_attributes): Fix typo.
2008-12-19 22:24:58 +00:00
Dan Nicolaescu
3d7de9fb39
* process.c: (Flist_system_processes):
...
(Fsystem_process_attributes): Fix strange CVS problem, return the
correct value.
2008-12-19 22:19:49 +00:00
Dan Nicolaescu
f4f634e8de
* sysdep.c (system_process_attributes): Add implementation for Solaris.
...
* s/sol2-10.h (HAVE_PROCFS, _STRUCTURED_PROC): New defines.
2008-12-19 20:58:37 +00:00
Dan Nicolaescu
53934c983b
Include alloca.h.
2008-12-19 20:52:15 +00:00
Dan Nicolaescu
06e111a6ef
Reorganize implementation of Flist_system_processes and
...
Fsystem_process_attributes. No functional changes.
* process.c: Don't #include pwd.h, grp.h and limits.h.
(Flist_system_processes): Just call list_system_processes.
(Fsystem_process_attributes): Just call system_process_attributes.
(procfs_list_system_processes, time_from_jiffies)
(ltime_from_jiffies, get_up_time, procfs_ttyname, MAJOR, MINOR)
(procfs_get_total_memory, procfs_system_process_attributes): Move ...
* sysdep.c: ... here. Include pwd.h, grp.h and limits.h.
(list_system_processes): Rename from
procfs_list_system_processes. Enclose in #ifdef HAVE_PROCFS.
Provide a do nothing implementation.
(system_process_attributes): Rename from
procfs_list_system_processes.
(ltime_from_jiffies, get_up_time, procfs_ttyname, MAJOR, MINOR)
(procfs_get_total_memory): Enclose in #ifdef GNU_LINUX.
* w32.c (list_system_processes): Rename from
w32_list_system_processes.
(system_process_attributes): Rename from
w32_system_process_attributes.
* s/gnu-linux.h (LISTPROC, PROCATTR): Remove.
* process.h (w32_list_system_processes)
(w32_system_process_attributes): Remove.
(list_system_processes, system_process_attributes): New
prototypes.
* config.nt (LISTPROC, PROCATTR): Remove.
2008-12-19 19:50:35 +00:00
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