1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-02-20 15:10:37 -08:00
Commit graph

14888 commits

Author SHA1 Message Date
Jason Rumney
2cd2396094 (w32_menu_show, push_menu_pane): Doc fixes. 2001-11-18 22:01:13 +00:00
Jason Rumney
a05e2bae0d (x_set_frame_parameters): Avoid infinite recursion for
some items.
(x_set_internal_border_width): Set frame garbaged when window
doesn't exist yet.
(Fx_create_frame): Accept zero tool_bar_button_relief.
(x_clear_image_1, four_corners_best, image_background)
(image_background_transparent): New functions.
(xpm_format, png_format, jpeg_format, tiff_format, gif_format)
(gs_format): Add `:background' entry.
(lookup_image): Set IMG's background color if specified.
(pbm_load, xbm_load_image, png_load): Set IMG's background field
when appropriate.
(x_clear_image_1): Reset `background_valid' and
`background_transparent_valid' fields.
(x_build_heuristic_mask): Use IMAGE_BACKGROUND instead of
calculating it here.  Set IMG's background_transparent field.
(enum xpm_keyword_index): Add XPM_BACKGROUND.
(enum png_keyword_index): Add PNG_BACKGROUND.
(enum jpeg_keyword_index): Add JPEG_BACKGROUND.
(enum tiff_keyword_index): Add TIFF_BACKGROUND.
(enum gif_keyword_index): Add GIF_BACKGROUND.
(enum gs_keyword_index): Add GS_BACKGROUND.
(pbm_load, png_load, jpeg_load, tiff_load, gif_load):
Pre-calculate image background color where necessary.
(x_create_x_image_and_pixmap, xbm_load, gs_load): Use
display info's n_cbits entry for screen depth.
(Fx_show_tip): Remove unused variables `buffer', `top',
`left', `max_width' and `max_height'.
2001-11-18 21:57:18 +00:00
Jason Rumney
6ff3e5e3cd (note_mouse_highlight): Fix type of variable `ignore'.
(x_draw_bar_cursor): If the background color of the glyph under
the cursor equals the frame's cursor color, use the glyph's
foreground color for drawing the bar cursor.
(x_after_update_window_line): Clear internal border in different
circumstances.
(w32_set_vertical_scroll_bar): Check for width and height > 0.
(w32_draw_relief_rect): Correct relief by 1 pixel.
(x_set_glyph_string_background_width): Set
extends_to_end_of_line_p if the row's fill_line_p is set and
drawing the last glyph with DRAW_IMAGE_{RAISED,SUNKEN}.
(x_display_and_set_cursor): If cursor_in_echo_area, use NO_CURSOR
if cursor_in_non_selected_windows is false.
(show_mouse_face): Clean up.  Recognize overwritten cursor
differently.
(x_draw_glyphs): Remove parameters REAL_START and REAL_END.
Notice if cursor gets overwritten.
(notice_overwritten_cursor): Renamed from
note_overwritten_text_cursor.  Rewritten to take glyph widths
into account, and to take X positions as parameters.
(x_draw_phys_cursor_glyph): Save state of w->phys_cursor_on_p
around call to x_draw_glyphs.
(x_setup_relief_colors): Use `IMAGE_BACKGROUND' and
`IMAGE_BACKGROUND_TRANSPARENT' to calculate the correct background
color to use for image glyph reliefs.
(x_draw_image_relief): Accept zero tool_bar_button_relief.
(glyph_rect): Remove unused variable `area'.
2001-11-18 21:53:11 +00:00
Gerd Moellmann
a4184c1c43 (BASE_PURESIZE): Increase to 750000. 2001-11-18 11:00:08 +00:00
Pavel Janík
f6fa086675 (Fframe_live_p): Doc fix. 2001-11-18 10:02:38 +00:00
Pavel Janík
ea904403d4 *** empty log message *** 2001-11-18 08:37:52 +00:00
Richard M. Stallman
f4ca4b00b5 *** empty log message *** 2001-11-18 06:54:59 +00:00
Richard M. Stallman
b14bc55ea7 (message_dolog_marker1, message_dolog_marker2)
(message_dolog_marker3): New static variables hold three markers.
(syms_of_xdisp): Initialize and staticpro them.
(message_dolog): Use message_dolog_marker1..3 instead of
allocating markers each time.  Unchain them when done.
2001-11-18 06:54:50 +00:00
Richard M. Stallman
b5a4bb222b Comment change. 2001-11-18 06:52:56 +00:00
Richard M. Stallman
f4e25f94e7 (Fsnarf_documentation): Doc fix. 2001-11-17 22:40:47 +00:00
Andreas Schwab
91c153e21f (note_mouse_highlight): Fix type of variable `ignore'. 2001-11-17 21:41:54 +00:00
Richard M. Stallman
65b7d3e7a7 (Fwrite_region): Avoid initializer for Lisp_Object. 2001-11-17 21:08:52 +00:00
Jason Rumney
9f0de4e301 (notice_overwritten_cursor): Take care of end < 0 case. 2001-11-17 18:09:27 +00:00
Jason Rumney
6b5f631198 *** empty log message *** 2001-11-17 17:58:51 +00:00
Gerd Moellmann
be67609465 (tool_bar_item_info): Avoid calling Fget_text_property
with invalid position.
2001-11-17 10:46:45 +00:00
Richard M. Stallman
032a857de1 *** empty log message *** 2001-11-17 04:01:46 +00:00
Richard M. Stallman
aa147f3b1b Comment change. 2001-11-17 03:49:52 +00:00
Richard M. Stallman
3bddb27298 Delete conditionals for HPUX7, ISC 4.1, and convex. 2001-11-17 03:49:13 +00:00
Richard M. Stallman
fc3b70c887 (HAVE_SYS_WAIT_H): Add #undef. 2001-11-17 03:48:21 +00:00
Richard M. Stallman
d7782c7145 (HAVE_SYS_WAIT_H): Define it. 2001-11-17 03:47:10 +00:00
Stefan Monnier
b6270150cf *** empty log message *** 2001-11-17 01:25:10 +00:00
Stefan Monnier
236a12f2d9 (build_annotations): Split off the tail.
(build_annotations_2): New fun.  Extracted from build_annotations.
(Fwrite_region): Split the call to build_annotations into two
calls to build_annotations and build_annotations_2.
2001-11-17 01:24:01 +00:00
Pavel Janík
98cbb9fa39 *** empty log message *** 2001-11-16 22:54:22 +00:00
Pavel Janík
86e9de5f07 (x_update_cursor): Remove duplicated prototype. 2001-11-16 22:52:53 +00:00
Pavel Janík
b81b3da346 (waiting_for_input): Remove unnecessary prototype. 2001-11-16 22:52:13 +00:00
Pavel Janík
61851c0e95 (wait_for_kbd_input) [VMS]: Do not call clear_waiting_for_input with
argument.
2001-11-16 22:50:51 +00:00
Pavel Janík
c43fc1b91a (clear_waiting_for_input): Remove duplicated prototype. 2001-11-16 22:50:09 +00:00
Pavel Janík
792e5cbdd1 *** empty log message *** 2001-11-16 18:40:10 +00:00
Pavel Janík
be24eadf24 (Ftimes): Doc fix.
(Fquo): Likewise.
(Frem): Likewise.
(Fmod): Likewise.
2001-11-16 18:19:58 +00:00
Stefan Monnier
fa336b9179 *** empty log message *** 2001-11-16 14:59:44 +00:00
Stefan Monnier
7c82a4a922 (choose_write_coding_system): New fun, extracted from Fwrite_region.
(Fwrite_region): Use it.
2001-11-16 14:49:20 +00:00
Eli Zaretskii
aa2af83a83 *** empty log message *** 2001-11-16 14:28:23 +00:00
Eli Zaretskii
e88fd71235 Add #undef HAVE_COFF_H. 2001-11-16 14:25:54 +00:00
Eli Zaretskii
077907d49f Don't include coff.h unless HAVE_COFF_H is defined. 2001-11-16 14:24:55 +00:00
Eli Zaretskii
1756e2fba6 *** empty log message *** 2001-11-16 14:05:06 +00:00
Eli Zaretskii
6d12ed9ff1 (HAVE_SYS_WAIT_H): Undef for ISC 4.1. Reported by
Andrew Wiseman <a.wiseman@btclick.com>.
2001-11-16 14:03:07 +00:00
Kim F. Storm
06e8f73800 Fringe cleanup. 2001-11-16 13:21:09 +00:00
Kim F. Storm
3f332ef33d Fringe cleanup.
Comment fixes. Use renamed symbols.
(fringe_bitmap_type): Renamed from bitmap_type.
(NO_FRINGE_BITMAP): Renamed from NO_BITMAP.
(x_draw_fringe_bitmap): Renamed from x_draw_bitmap.
(x_draw_row_fringe_bitmaps): Renamed from x_draw_row_bitmaps.
2001-11-16 13:20:18 +00:00
Kim F. Storm
f76e1b5f70 Fringe cleanup.
Comment fixes. Use renamed symbols.
(fringes_extra): Renamed from flags_areas_extra.
(FRAME_FRINGE_BITMAP_WIDTH): Renamed from FRAME_FLAGS_BITMAP_WIDTH.
(FRAME_FRINGE_BITMAP_HEIGHT): Renamed from FRAME_FLAGS_BITMAP_HEIGHT.
(FRAME_X_FRINGE_COLS): Renamed from FRAME_X_FLAGS_AREA_COLS.
(FRAME_X_FRINGE_WIDTH): Renamed from FRAME_X_FLAGS_AREA_WIDTH.
(FRAME_X_LEFT_FRINGE_WIDTH): Renamed from FRAME_X_LEFT_FLAGS_AREA_WIDTH.
(FRAME_X_RIGHT_FRINGE_WIDTH): Renamed from
FRAME_X_RIGHT_FLAGS_AREA_WIDTH.
2001-11-16 13:19:19 +00:00
Kim F. Storm
a0a1947c5a Fringe cleanup.
Use renamed symbols.
2001-11-16 13:18:38 +00:00
Kim F. Storm
4e50fa8b56 Fringe cleanup.
(realize_basic_faces): Use FRINGE_FACE_ID.
2001-11-16 13:09:54 +00:00
Kim F. Storm
b46952ae88 Fringe cleanup.
Comment fixes. Use renamed symbols.
2001-11-16 13:09:11 +00:00
Kim F. Storm
81d189fdcb Fringe cleanup.
Comment fixes. Use renamed symbols.
(coordinates-in-window-p): Doc fix.
2001-11-16 13:08:08 +00:00
Kim F. Storm
33c34beaa5 Fringe cleanup.
Comment fixes. Use renamed symbols.
(fringe_bitmap_type): Renamed from bitmap_type.
(NO_FRINGE_BITMAP): Renamed from NO_BITMAP.
(w32_draw_fringe_bitmap): Renamed from w32_draw_bitmap.
(x_draw_row_fringe_bitmaps): Renamed from x_draw_row_bitmaps.
2001-11-16 13:06:02 +00:00
Kim F. Storm
377df9e21d Fringe cleanup.
Comment fix.
2001-11-16 13:04:02 +00:00
Kim F. Storm
986f10ad21 Fringe cleanup.
(FRAME_FRINGE_COLS): Renamed from FRAME_FLAGS_AREA_COLS.
(FRAME_FRINGE_WIDTH): Renamed from FRAME_FLAGS_AREA_WIDTH.
(FRAME_LEFT_FRINGE_WIDTH): Renamed from FRAME_LEFT_FLAGS_AREA_WIDTH.
2001-11-16 13:02:53 +00:00
Kim F. Storm
228a208564 Fringe cleanup.
Comment fix. Use renamed symbols.
2001-11-16 13:02:02 +00:00
Kim F. Storm
afb7aabb3f Fringe cleanup.
(FRINGE_FACE_ID): Renamed from BITMAP_AREA_FACE_ID.
Comments fixed. Use renamed symbols.
2001-11-16 13:01:09 +00:00
Stefan Monnier
2901f1d1c5 (max_specpdl_size, max_lisp_eval_depth): Use EMACS_INT.
(funcall_lambda, run_hook_with_args): Make static and add prototype.
(ml_apply, find_handler_clause): Add prototype.
2001-11-16 11:43:41 +00:00
Jason Rumney
6f665da949 (add-menu-item): Make help_echo and radio buttons
work for most menu items.  From David Ponce
<david.ponce@wanadoo.fr>.
2001-11-15 22:53:54 +00:00