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

461 Commits

Author SHA1 Message Date
Gerd Moellmann
045dee35ff Change
`top-line' and `top_line' to `header-line' and `header_line'.
Likewise for similar spellings.
1999-09-05 16:39:19 +00:00
Gerd Moellmann
9ea173e830 Change spelling of toolbar' to tool_bar' or `tool-bar'.
Likewise for upper-case etc.
1999-09-05 15:49:07 +00:00
Gerd Moellmann
92857db0fa (XTset_vertical_scroll_bar) [!USE_TOOLKIT_SCROLL_BARS]:
Fix reference to renamed variable.
1999-09-05 12:13:41 +00:00
Gerd Moellmann
80c32bcc71 (XTset_vertical_scroll_bar): Block input when clearing
under newly created scroll bar.
(expose_window): If window is not yet fully initialized, do
nothing.  This can happen when toolkit scroll bars are used and a
window is split.  Reconfiguring the scroll bars will generate an
expose for a newly created window.
(x_alloc_nearest_color_for_widget) [USE_X_TOOLKIT]:
New.  Allocate color for lwlib widgets.
(x_alloc_nearest_color): Change parameter list include the
frame on which to allocate colors.  Gamma-correct colors.
(x_alloc_lighter_color): Call x_alloc_lighter_color with new
parameter list.
1999-09-03 18:50:00 +00:00
Gerd Moellmann
3c6ede7b91 (x_scroll_bar_create): Don't clear under scroll bar
here.
(XTset_vertical_scroll_bar): Clarify position computations.  Clear
under newly created scroll bar.  Put toolkit scroll bars in the
middle of the area reserved for the scroll bar.
1999-09-03 12:43:32 +00:00
Gerd Moellmann
110859fc3c Remove unused bitmaps.
(continued_bits, continuation_bits, overlay_bits): Change images.
(x_draw_vertical_border): Use FRAME_X_RIGHT_FLAGS_AREA_WIDTH
instead of FRAME_X_FLAGS_AREA_WIDTH.
(x_after_update_window_line): Ditto.
(x_draw_bitmap): Likewise.
(x_draw_row_bitmaps): Likewise.
(x_draw_glyph_string_box): Likewise.
(x_draw_glyphs): Likewise.
(x_scroll_run): Likewise.
(expose_window_tree): Likewise.
(note_mode_line_highlight): Likewise.
(XTset_vertical_scroll_bar): Likewise.
(x_clip_to_row): Likewise.
(x_set_window_size): Likewise.
1999-08-30 23:14:36 +00:00
Gerd Moellmann
714dc26c77 (expose_window_tree): Fix typo CANON_Y_UNIT to
CANON_X_UNIT.
1999-08-24 19:25:11 +00:00
Gerd Moellmann
7d1e984f8f Call change_frame_size and do_pending_window_change with
new parameter.
(x_scroll_bar_create) [USE_TOOLKIT_SCROLL_BARS]: Clear
under scroll bar widget.
1999-08-21 19:31:13 +00:00
Gerd Moellmann
e90dbbd17e (XTset_vertical_scroll_bar): Fix previous change. Clear
under scroll bar with width FRAME_SCROLL_BAR_COLS.
1999-08-19 13:56:14 +00:00
Gerd Moellmann
6fb13182e0 (expose_area): If row extends face to end of line,
write the whole line.
1999-08-17 13:02:04 +00:00
Gerd Moellmann
a7aeb2dec3 (x_draw_glyph_string_box): Use the background width
of the glyph string for the width of the box.
1999-08-17 00:38:28 +00:00
Gerd Moellmann
fe6f39d99b (XTset_vertical_scroll_bar) [USE_TOOLKIT_SCROLL_BARS]:
Simplify clearing "under" scroll bar.
1999-08-15 22:01:01 +00:00
Gerd Moellmann
9b4a7047ab (x_display_and_set_cursor): If cursor_in_echo_area,
show hollow box cursor for windows other than echo_area_window,
show normal cursor for echo_area_window.
1999-08-06 15:05:34 +00:00
Gerd Moellmann
66ac4b0e5f (x_draw_phys_cursor_glyph): Redraw overlaps.
(x_fix_overlapping_area): New.
(x_redisplay_interface): Add x_fix_overlapping_area.
(x_draw_glyphs): Add parameter overlaps_p.
(struct glyph_string): Add member for_overlaps_p.
(x_get_glyph_string_clip_rect): If glyph string draws foreground
of overlapping rows, clip to window bottom.
(x_fill_glyph_string): Add parameter overlaps_p.
(x_fill_composite_glyph_string): Ditto.
(BUILD_GLYPH_STRINGS): Ditto.
(BUILD_CHAR_GLYPH_STRINGS): Ditto.
(x_draw_glyph_string): Don't draw anything but the foreground
if glyph string draws row overlaps.
(x_append_glyph): Set glyph flag overlaps_vertically_p.
(x_produce_image_glyph): Compute iterator's physical
ascent and descent.
(x_produce_stretch_glyph): Ditto.
(x_produce_glyphs): Ditto.
1999-08-06 13:59:59 +00:00
Richard M. Stallman
fddd5cebcc (x_set_window_size): When calling change_frame_size, specify 1 for DELAY. 1999-08-02 00:00:14 +00:00
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