1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-03 10:31:37 -08:00
Commit graph

27502 commits

Author SHA1 Message Date
Dan Nicolaescu
31e0750eac (struct face): Move lface and hash from the middle
of bitfields.
2008-12-29 04:53:10 +00:00
Dan Nicolaescu
bd7bbf294e (INTERVALS_H): Rename from INTERVAL_SRC, update all users. 2008-12-29 04:01:06 +00:00
Dan Nicolaescu
b5672e7ca4 (INTERVAL_SRC): Also depend on dispextern.h.
(coding.o, dispnew.o, keymap.o, msdos.o): Depend on INTERVAL_SRC
instead of intervals.h.
2008-12-29 03:55:53 +00:00
Andreas Schwab
d704470f14 (map_keymap_char_table_item): Make a copy of KEY if it is a
cons.
2008-12-26 14:43:21 +00:00
Martin Rudalics
54b3386843 * textprop.c (Qminibuffer_prompt): New variable.
(syms_of_textprop): Initialize it.
* callint.c (Fcall_interactively): For `c', `k', and `K' prompt
in minibuffer-prompt face.  (Bug#1662)
2008-12-26 09:39:49 +00:00
Jason Rumney
40b615d6bd (Fbuffer_swap_text): Use POINTER_TYPE. 2008-12-25 10:33:33 +00:00
Jason Rumney
85f967f90d Add bug id for recently fixed bugs. 2008-12-25 01:15:03 +00:00
Jason Rumney
747d9d142f Add comments to explain checks and aborts, to assist future debugging. 2008-12-24 11:37:12 +00:00
Jason Rumney
baae5c2d84 * ralloc.c (r_alloc_reset_variable): New function.
* buffer.c (Fbuffer_swap_text) [REL_ALLOC]: Reset ralloc's internal
record of what points where.
2008-12-24 11:20:32 +00:00
Martin Rudalics
e2749141d6 In comments, write delete_frame instead of Fdelete_frame. 2008-12-23 07:28:06 +00:00
Dan Nicolaescu
a9051c8850 (read_minibuf): Follow the non-interactive case when
running as a daemon, before detaching.
2008-12-22 20:45:52 +00:00
Andreas Schwab
8b1463121e * buffer.c (init_buffer): Use realloc instead of xrealloc.
* gtkutil.c (free_widget_value): Use xfree instead of free.
2008-12-22 09:48:21 +00:00
Martin Rudalics
56f2de103f * frame.c (delete_frame): New function derived from
Fdelete_frame to handle Qnoelisp value for FORCE argument.
Delete last frame iff FORCE equals Qnoelisp.  (Bug#1450)
(Fdelete_frame): Call delete_frame.  Remove line from doc-string
saying that FORCE non-nil doesn't run `delete-frame-functions'.
* frame.h: Extern delete_frame.
* window.c (window_loop):
* terminal.c (delete_terminal):
* xterm.c (x_connection_closed):
* xfns.c (Fx_hide_tip):
* w32fns.c (Fx_hide_tip): Call delete_frame instead of
Fdelete_frame.
2008-12-22 09:40:33 +00:00
Jason Rumney
1fc200d61f (uniscribe_encode_char): Return FONT_INVALID_CHAR
when character maps to .notdef character.
2008-12-21 15:52:26 +00:00
Stefan Monnier
5e252df234 (cmd_error_internal): Don't exit in daemon mode, bug#1310. 2008-12-21 04:13:46 +00:00
Chong Yidong
a90af46f35 Add comment to last change by jhd. 2008-12-20 20:51:23 +00:00
Jason Rumney
99b72cc426 (Fmake_terminal_frame): Raise an error when called from
a graphical frame on Windows.
2008-12-20 16:00:39 +00:00
Jason Rumney
54ea0c877f *** empty log message *** 2008-12-20 15:46:24 +00:00
Jan Djärv
acc49a520a *** empty log message *** 2008-12-20 15:31:27 +00:00
Jason Rumney
972ed2462a (Fexpand_file_name): Do not allow ../ to go beyond the server name in
UNC paths.
2008-12-20 15:17:28 +00:00
Eli Zaretskii
91c85b7062 Add commentary about WINDOWSNT implementation of list_system_processes and
system_process_attributes.
2008-12-20 12:13:54 +00:00
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