1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-18 10:16:51 +00:00
Commit Graph

446 Commits

Author SHA1 Message Date
Gerd Moellmann
eb3935300f (x_set_toolkit_scroll_bar_thumb): Fix previous change. 1999-07-29 15:09:42 +00:00
Gerd Moellmann
dcd08bfb64 (x_set_toolkit_scroll_bar_thumb): Don't call
XawScrollbarSetThumb if thumb parameters haven't changed because
that function apparently isn't optimized for this case.
1999-07-27 23:55:28 +00:00
Kenichi Handa
d27f8ca73b (x_find_ccl_program): Add casting. 1999-07-27 01:32:50 +00:00
Gerd Moellmann
b9432a852b (x_setup_relief_color): Don't try smart color allocation
if display is mono.
(x_draw_row_bitmaps): If face has stipple, don't switch
to foreground color for clearing areas, and set the fill style.
1999-07-27 00:02:50 +00:00
Gerd Moellmann
1da3fd719e (x_get_glyph_string_clip_rect): Take internal border
into account for full-width windows.  Don't add scroll bar width
to width of clip rect.
(x_draw_glyph_string_box): Add 1 to right x of full width lines.
(x_set_glyph_string_background_width): Add 1 to background width.
(x_draw_glyphs): Take internal border into account for full-width
lines.
1999-07-26 21:23:07 +00:00
Kenichi Handa
a42f54e697 (x_find_ccl_program): Get compiled CCL code by just
calling setup_coding_system.
1999-07-26 11:57:35 +00:00
Gerd Moellmann
06a2c2193f Display-related functions implemented from scratch. Add toolkit
scroll bars, mouse-sensitive mode line, help-echo, busy-cursor.
(x_calc_absolute_position): Subtract menu bar height
for YNegative, if using X toolkit.
(XTread_socket) [USE_MOTIF] <KeyPress>: Catch events
in scroll bars.
(SET_SAVED_MENU_EVENT): Give it statement form.
(XTflash): Don't flash the toolbar window.
(XTread_socket): Workaround for LessTif popup menus
in case of ButtonPress events.
(XTread_socket): Set inhibit_busy_cursor.
1999-07-21 21:43:52 +00:00
Richard M. Stallman
eea6af04ee (x_display_bar_cursor): Use the cursor-color
to display the bar, not the cursor foreground pixel.
1999-07-10 20:45:46 +00:00
Kenichi Handa
74848a963c (x_load_font): Fix typo (>' -> ='). 1999-05-04 05:45:36 +00:00
Karl Heuer
53ca46578b (x_list_fonts): Fix previous change. 1999-04-26 06:02:19 +00:00
Kenichi Handa
17d85edc86 Trap X errors so that Emacs doesn't die
by them.
1999-04-13 00:51:52 +00:00
Kenichi Handa
07ff4fb3cf (dumpglyphs): Be sure to fill the whole background of
glyphs.
1999-04-05 06:47:41 +00:00
Karl Heuer
bf1b7b30da (XTread_socket) <ConfigureNotify>:
If cursor pos is outside the new frame size, mark cursor as off.
1999-03-15 19:53:32 +00:00
Kenichi Handa
d645aaa442 (x_list_fonts): Trap X errors so that Emacs doesn't die
by them.
(x_load_font): Likewise.
1999-03-15 00:11:22 +00:00
Kenichi Handa
d5749adb29 (x_load_font): For the height of font, if normarl ascent and
descent value are larger than those in max_bounds field, use the
former.
1999-01-30 02:37:14 +00:00
Kenichi Handa
715a159be2 (x_new_fontset): For ASCII font, don't use the font name
returned by x_new_font (the resolved one) but use the font name
set in the fontset specification.
1999-01-30 01:46:35 +00:00
Richard M. Stallman
cf591cc18b (same_x_server): Detect treat ":0" and "unix:0"
as the same.  Treat "myname:0" as the same as those two.
1999-01-24 20:07:05 +00:00
Eli Zaretskii
3e1f7d51ce (dumpglyphs): Don't convert 7-bit ASCII characters via
nonascii-translation-table.
1998-12-21 16:09:29 +00:00
Karl Heuer
a00e91cd76 (XTread_socket): Fix previous change in case F == 0. 1998-11-12 01:57:30 +00:00
Kenichi Handa
861bf815f3 (x_list_fonts): Don't change the value of maxnames. 1998-11-11 03:36:15 +00:00
Karl Heuer
edad46f664 (XTread_socket): ButtonPress clears f->mouse_moved. 1998-11-05 19:17:42 +00:00
Paul Eggert
1decb68022 (XTread_socket): Check the returned value of XmbLookupString more carefully. 1998-10-29 00:16:49 +00:00
Kenichi Handa
a1dfb88a16 Include frame.h before fontset.h. 1998-10-21 11:50:56 +00:00
Kenichi Handa
e1d6d5b93f (x_load_font): If SIZE is 0, don't use a name x_list_font returns. 1998-09-01 02:25:57 +00:00
Kenichi Handa
c63e0d56d5 (dumpglyphs): If Vnonascii_translation_table is non-nil, try
to convert a character less than 160 to multibyteL.
1998-08-31 03:50:17 +00:00
Paul Eggert
71f8198a32 (fixup_locale): New function. For now, it resets
LC_TIME to "C" (reverting the 1998-08-07 change), and also
resets LC_MESSAGES to "C".
(x_term_init): Use it to fix up the locale after setlocale
(LC_ALL, "").
1998-08-27 02:00:35 +00:00
Karl Heuer
7c3c78a3c8 (x_calc_absolute_position): Cast argument to XFree, in
case it was prototyped the old way.
1998-08-26 20:29:59 +00:00
Kenichi Handa
6f6512e8c0 (x_list_fonts): Work-around for the case XGetAtomName
returns a null string.  This happens when dxpc 3.7 is being used.
1998-08-25 03:59:40 +00:00
Richard M. Stallman
e3c55541bd x_display_unibyte_char_with_fontset renamed to
unibyte_display_via_language_environment.
1998-08-15 23:00:07 +00:00
Kenichi Handa
ab29c43b51 (dumpglyphs): If x_display_unibyte_char_with_fontset is
nonzero, convert a unibyte 8-bit char to a multibyte char and
display it by a font listed in the current fontset.
1998-08-15 01:28:14 +00:00
Richard M. Stallman
036bad88d8 (x_term_init): Don't reset LC_TIME to "C", since we
want strftime to be localized.
1998-08-08 22:11:22 +00:00
Richard M. Stallman
a083fd237d (x_list_fonts): Fix previous change. 1998-08-08 02:39:50 +00:00
Richard M. Stallman
2745e6c4cd (x_list_fonts): Call XFreeFont after the new call to XLoadQueryFont.
(fast_find_position): Handle case where position is before
an invisible character, thus not actually listed in charstarts.

(x_make_frame_visible): Use XGetGeometry to see if
position has been changed by the window manager.  Use
FRAME_OUTER_WINDOW.
1998-08-05 01:42:24 +00:00
Kenichi Handa
9dfb82d5cc (dumpglyphs): After calling ccl_driver, set cp->byte1 to
zero for 1-byte font.
1998-07-19 05:17:35 +00:00
Richard M. Stallman
16f06ce000 (x_list_fonts): Fix prev change: cast result of alloca. 1998-06-27 04:52:31 +00:00
Karl Heuer
01c752b506 (x_list_fonts): Keep alloca usage simple. 1998-06-20 22:17:48 +00:00
Kenichi Handa
a9a5b0a53c (dumpglyphs): Check the case that FACE_FONT (face) is
NULL.  While displaing cursor with non-default face, if the
variable `font' is NULL, don't set GCFont.
1998-06-20 03:01:00 +00:00
Kenichi Handa
09c6077fa6 (x_list_fonts): If SIZE is zero and MAXNAMES is 1, use
XLoadQueryFont instead of XListFonts.
(x_load_fonts): Call x_list_fonts with MAXNAMES 1.
1998-06-16 07:32:05 +00:00
Richard M. Stallman
852bff8fd8 (XTread_socket): Accept Japanese XK keysyms. 1998-06-09 01:55:49 +00:00
Richard M. Stallman
c99babf20d (XTread_socket): Fix second argument of x_any_window_to_frame. 1998-05-25 16:03:58 +00:00
Andreas Schwab
ae79c227e8 Include syssignal.h after lisp.h. 1998-05-04 09:25:21 +00:00
Richard M. Stallman
dbcb258a89 (XTwrite_glyphs): Don't advance cursor X beyond limit.
(XTcursor_to): Likewise.
1998-05-02 06:39:39 +00:00
Richard M. Stallman
d6a1be6453 (x_display_cursor): Use FRAME_CURSOR_X_LIMIT. 1998-04-25 23:08:24 +00:00
Kenichi Handa
a65826769e (x_find_ccl_program): New function. 1998-04-15 07:12:49 +00:00
Andreas Schwab
dfcf069d56 Fix -Wimplicit warnings. 1998-04-14 12:25:56 +00:00
Richard M. Stallman
fc932ac6c7 Use STRING_BYTES and SET_STRING_BYTES. 1998-03-21 07:06:14 +00:00
Richard M. Stallman
2132370622 (XTframe_up_to_date): Check that mouse_face_mouse_frame
is non-null before calling note_mouse_highlight.
(x_destroy_window): If f equals mouse_face_mouse_frame,
clear that, and clear mouse_face_deferred_gc too.
1998-03-02 18:53:21 +00:00
Richard M. Stallman
e361a3c34d (x_load_font): Use string_byte. 1998-01-09 23:22:56 +00:00
Richard M. Stallman
045226c75c (x_display_cursor): Abort if X or Y is out of range. 1997-12-21 01:59:49 +00:00
Kenichi Handa
5e8e68ceec (x_make_frame_visible): Give dummy arg to
input_poll_signal.
1997-11-27 08:32:40 +00:00