Commit graph

27193 commits

Author SHA1 Message Date
Chong Yidong
e69a00b749 (Finternal_set_lisp_face_attribute): If the font is to be updated,
clear its average width field too.
2008-10-14 04:08:08 +00:00
Chong Yidong
40c89b5f65 * xfaces.c (Finternal_set_lisp_face_attribute): If the font is to
be updated, clear its average width field too.
2008-10-14 04:07:54 +00:00
Andreas Schwab
990a73f049 * ftfont.c (ftfont_shape_by_flt): Make static.
* ftfont.h (ftfont_shape_by_flt): Don't declare.
2008-10-12 12:50:00 +00:00
Andreas Schwab
f6d52a3393 Don't include <m17n-flt.h>. 2008-10-12 12:49:14 +00:00
Eli Zaretskii
d64d5ff59e (SYSTEM_PURESIZE_EXTRA): Decrease to 10000. 2008-10-10 08:55:41 +00:00
Eli Zaretskii
02ab7130d5 (make_terminal_frame) [MSDOS]: Remove unused #ifdef'ed away code. 2008-10-09 17:35:27 +00:00
Chong Yidong
91d227d92d (update_text_area): Avoid looping due to large glyph
overhangs (bug#1070).
2008-10-09 16:41:17 +00:00
Chong Yidong
07753818b2 * dispnew.c (update_text_area): Avoid looping due to large glyph
overhangs (bug#1070).
2008-10-09 16:41:10 +00:00
Kenichi Handa
ea217c11e5 (face_for_char): If face->fontset is negative, just return ascii_face. 2008-10-09 12:19:38 +00:00
Kenichi Handa
c576d6dc9e (font_delete_unmatched): Fix previous change. Don't
reject an entity if DPI and AVGWIDTH of an entity are 0.
2008-10-09 12:12:33 +00:00
Martin Rudalics
1bf7273525 (Fraise_frame): On text-only terminals select frame in
order to make it visible.  (Bug#1061)
2008-10-09 08:26:33 +00:00
Chong Yidong
f3d295514c (fontset_find_font): Check frame validity. 2008-10-08 22:59:02 +00:00
Chong Yidong
edc3ecf397 * fontset.c (fontset_find_font): Check frame validity. 2008-10-08 22:58:55 +00:00
Chong Yidong
c1ffddfc86 (xg_display_open): Reset default display if none exists.
(xg_display_close): Allow Emacs to close all displays (bug#985).
2008-10-07 17:46:48 +00:00
Chong Yidong
5762590b5c * gtkutil.c (xg_display_open): Reset default display if none exists.
(xg_display_close): Allow Emacs to close all displays (bug#985).
2008-10-07 17:46:18 +00:00
Andreas Schwab
766f52ec49 Add comment for last change. 2008-10-07 08:06:10 +00:00
Andreas Schwab
ef874e3d24 (sys_signal): Always set SA_RESTART when
noninteractively.
2008-10-06 21:27:44 +00:00
Chong Yidong
c1e4ceb7d7 (Vbefore_init_time, Vafter_init_time): Declare. 2008-10-06 16:17:24 +00:00
Chong Yidong
3e5fc571bd (x_wm_set_size_hint): Return immediately if called during
initialization.
2008-10-06 16:17:14 +00:00
Chong Yidong
90503d9633 (Vbefore_init_time, Vafter_init_time): Moved from startup.el. 2008-10-06 16:16:56 +00:00
Chong Yidong
8cc11c8cba * emacs.c (Vbefore_init_time, Vafter_init_time): Moved from
startup.el.

* lisp.h: (Vbefore_init_time, Vafter_init_time): Declare.

* gtkutil.c (x_wm_set_size_hint): Return immediately if called
during initialization.
2008-10-06 16:16:43 +00:00
Glenn Morris
d1a5744de0 Fix case of "GNUstep". 2008-10-04 18:54:20 +00:00
Eli Zaretskii
7d2f1216b7 (update_frame): Flush termscript for MSDOS frames as well as for TTY.
(Fopen_termscript): Allow opening a termscript on MSDOS frames as well as
on a TTY.
2008-10-04 15:27:56 +00:00
Eli Zaretskii
6dfab00d57 (redisplay_internal): If frame switched, redisplay the whole thing on MSDOS
frames as well as on a TTY.
2008-10-04 15:24:05 +00:00
Eli Zaretskii
7ab9884799 (init_sys_modes): Set FRAME_GARBAGED_P for MSDOS frames as well as for TTY. 2008-10-04 14:53:46 +00:00
Eli Zaretskii
12c01aefce (EMACS_TIME_CMP): Cast EMACS_SECS values to `long'. 2008-10-04 13:15:01 +00:00
Eli Zaretskii
48e482e616 (change_frame_size_1): Set FrameRows and FrameCols for MSDOS frames as well. 2008-10-04 09:22:56 +00:00
Adrian Robert
2da2fd38fb * menu.c (find_and_return_menu_selection) Add cast. 2008-10-04 01:20:43 +00:00
Adrian Robert
52e858e558 * menu.c (find_and_return_menu_selection) Add cast. 2008-10-03 19:09:22 +00:00
Adrian Robert
46b0ebed94 * image.c (x_clear_image_1): Under NS, call ns_free_indexed_color with correct arguments. 2008-10-03 18:23:43 +00:00
Glenn Morris
598898a721 (USAGE1): Add --daemon. 2008-10-03 07:06:46 +00:00
Eli Zaretskii
b63a740b3b (procfs_system_process_attributes): Multiply `pcpu' by 100, so it's in
percents as advertised.
2008-10-02 20:04:58 +00:00
Adrian Robert
c8c057ded8 * nsterm.h (ns_cursor_types, ns_output.desired_cursor_color)(ns_output.current_cursor, ns_output.desired_cursor) (ns_output.last_inactive, FRAME_CURSOR, FRAME_NEW_CURSOR) (FRAME_NEW_CURSOR_COLOR,): Remove. * nsfns.m (ns_set_cursor_color): Use FRAME_CURSOR_COLOR. (ns_lisp_to_cursor_type, ns_cursor_type_to_lisp): Use core emacs enumeration (HOLLOW_BOX_CURSOR, etc.). * nsterm.m (ns_frame_rehighlight): Remove commented code. (draw_window_cursor): Simplify code. (EmacsView-windowDidBecomeKey:,-windowDidResignKey:): Don't change cursor type. In latter, call rehighlight instead of doing updates manually. (EmacsPrefsController-setPanelFromValues,-setValuesFromPanel): Use core emacs cursor types. * xdisp.c (draw_glyphs): Don't call notice_overwritten_cursor() under NS. 2008-10-02 13:57:39 +00:00
Martin Rudalics
2a7bb8823c (Faccept_process_output): Fix doc-string. 2008-10-02 08:04:54 +00:00
Dan Nicolaescu
65f451d083 * gmalloc.c (__sbrk): Also define for uClibc.
* s/gnu-linux.h (GNU_LIBRARY_PENDING_OUTPUT_COUNT): Add definition
for uClibc.
2008-10-02 02:58:01 +00:00
Adrian Robert
8d0e382ee4 * nsfont.m (nsfont_spec_to_traits): Use UnXX masks only for non-normal styles. (nsfont_open): Reenable the cache. 2008-10-01 17:15:16 +00:00
Kenichi Handa
819ab95f72 (font_matching_entity): Reflect ATTRS in font selection.
(font_find_for_lface) [HAVE_NS]: Don't ignore case.
2008-10-01 12:37:28 +00:00
Juanma Barranquero
183080b610 Fix typos. 2008-10-01 09:12:37 +00:00
Stefan Monnier
cecfdea64b (Fsend_string_to_terminal): Don't try to send a string to a suspended terminal. 2008-09-30 22:06:15 +00:00
Michael Albinus
0ef5099349 * dbusbind.c (xd_signature): Use strcat instead of sprintf. 2008-09-30 21:05:16 +00:00
Eli Zaretskii
bdeb0411a2 (MSDOS_SUPPORT): Remove ccl.elc and codepage.elc. 2008-09-30 19:00:24 +00:00
Chong Yidong
56eb03e831 (move_it_to): Don't advance the iterator if the last tab in a
continued line coincides with a line beginning.
2008-09-30 16:54:41 +00:00
Chong Yidong
f44452f892 * xdisp.c (move_it_to): Don't advance the iterator if the last tab
in a continued line coincides with a line beginning.
2008-09-30 16:54:25 +00:00
Adrian Robert
1bc98b35df * nsfont.m (nsfont_trait_distance): Fix bug. (nsfont_list): Return a list rather than a vector (syncs with Handa changes of 2008-05-14). (nsfont_open): Improve logging. 2008-09-30 01:03:00 +00:00
Andreas Schwab
79f66be1b9 (syms_of_keyboard) <input-decode-map>: Doc fix. 2008-09-29 21:31:20 +00:00
Martin Rudalics
c73ae4aedf (Fchar_resolve_modifiers): Rewrite Elisp function
name as char-resolve-modifiers.
Reported by: Markus Triska <markus.triska@gmx.at>
2008-09-28 08:42:27 +00:00
Dan Nicolaescu
d6ef42b908 (init_display): Return earlier when running as a
daemon.
2008-09-28 01:58:26 +00:00
Adrian Robert
81cfe31c4d * nsfont.m (nsfont_draw): Fix up composition rendering. 2008-09-27 19:07:15 +00:00
Eli Zaretskii
9d7518593c (Fcomposition_get_gstring, Fcompose_region_internal, Fcompose_string_internal)
(Ffind_composition_internal): Doc fix.
(syms_of_composite) <compose-chars-after-function>: Doc fix.
(syms_of_composite) <auto-composition-function>: Doc fix.
(syms_of_composite) <composition-function-table>: Doc fix.
2008-09-27 13:10:56 +00:00
Eli Zaretskii
20200aaada (struct glyph) <union cmp>: Fix a typo in a comment. 2008-09-27 10:52:10 +00:00