1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-02-21 07:30:50 -08:00
Commit graph

14872 commits

Author SHA1 Message Date
Jason Rumney
59ce1461a2 *** empty log message *** 2001-11-25 11:35:13 +00:00
Jason Rumney
0e3fcdef7f (x_create_tip_frame): Set frame's fringes_extra to 0.
(Fx_show_tip): Block input during frame creation.
(Fx_show_tip, Fx_hide_tip): Enable.
2001-11-25 11:03:33 +00:00
Jason Rumney
a9181c148c (FRAME_X_FRINGE_COLS): No fringe on tip frames. 2001-11-25 11:01:10 +00:00
Richard M. Stallman
8727d588f0 *** empty log message *** 2001-11-25 02:42:37 +00:00
Richard M. Stallman
3ba6fd9a10 (Fload): Detect recursive load error for more than 3
nestings of the same file.
(Vrecursive_load_depth_limit): Variable deleted.
(syms_of_lread) <recursive-load-depth-limit>: Variable deleted.
2001-11-25 02:13:13 +00:00
Jason Rumney
cc63037ece *** empty log message *** 2001-11-24 18:11:01 +00:00
Jason Rumney
86ffe5cd55 (prepare_menu_bars) [HAVE_WINDOW_SYSTEM]: Use tip_frame
for all Windowed systems.
2001-11-24 17:51:07 +00:00
Jason Rumney
570d22b035 (compute_tip_xy): Initialize root_x and root_y from
mouse position if either left or top is not specified.
2001-11-24 17:48:40 +00:00
Jason Rumney
bfd6edcc91 (w32_wnd_proc) <WM_MENUSELECT>: Revert last change.
<WM_WINDOWPOSCHANGING>: Let tip frames resize without restriction.
(my_create_tip_window, Fx_show_tip): Adjust size for external border.
(my_create_tip_window): Assign tip_window.
(x_create_tip_frame): Use same defaults as X.
(compute_tip_xy): Remove unused variable.  Use full screen width.
(Fx_show_tip): Do not double height. Call ShowWindow directly.
2001-11-24 17:39:31 +00:00
Jason Rumney
b71b81116a (x_after_update_window_line): Doc fix.
(w32_read_socket): Doc fix.  Avoid SET_FRAME_GARBAGED for tip frames.
<WM_SHOWWINDOW>: Redo mouse highlight when hiding tip frame.
2001-11-24 17:31:06 +00:00
Pavel Janík
f7d40b3b99 Fix typo in comment. 2001-11-24 17:10:39 +00:00
Pavel Janík
2b6f3c2bf3 *** empty log message *** 2001-11-23 17:33:50 +00:00
Eli Zaretskii
deece6f51a (IT_clear_screen): If the frame's faces are not yet
realized, use the initial screen colors to clear the screen.
2001-11-23 17:16:17 +00:00
Pavel Janík
28ff42939f (Fset_text_properties): Remove unused variables `unchanged',
`prev_changed', `s' and `len'.
2001-11-23 08:11:35 +00:00
Pavel Janík
56167cc52c (Freplace_match): Remove unused variable `inslen'. 2001-11-23 07:14:31 +00:00
Pavel Janík
1b944d9cd9 (access_keymap): Remove unused variables c1' and c2'. 2001-11-23 07:04:49 +00:00
Jason Rumney
ca56d9532d (x_window_to_frame): Remove irrelevant TODO comment.
(w32_wnd_proc) <WM_MENUSELECT>: Show help echo directly.
(my_create_tip_window): New function.
(x_create_tip_frame, compute_tip_xy): Adapt for Windows.
(Fx_show_tip, Fx_hide_tip) [TEST_TOOLTIPS]: Adapt for Windows.
2001-11-22 20:44:11 +00:00
Jason Rumney
33399dce78 *** empty log message *** 2001-11-20 22:09:14 +00:00
Jason Rumney
9b58c683a3 (Vw32_system_coding_system) [WINDOWSNT]: Remove.
(ENCODE_SYSTEM, DECODE_SYSTEM) [WINDOWSNT]: Use Vlocale_coding_system.
2001-11-20 22:01:56 +00:00
Jason Rumney
1fa3a2001d (Vw32_system_coding_system): Remove.
(w32_to_x_font, x_to_w32_font): Use Vlocale_coding_system.
2001-11-20 22:00:54 +00:00
Stefan Monnier
6710ea0676 *** empty log message *** 2001-11-19 23:04:35 +00:00
Stefan Monnier
a395ef6aae (describe_syntax): Add dummy arg.
(describe_syntax_1): Update call to describe_vector.
2001-11-19 22:47:32 +00:00
Stefan Monnier
9fd59de765 (describe_category): Add dummy arg.
(describe_category_1): Update call to describe_vector.
2001-11-19 22:46:42 +00:00
Stefan Monnier
d55627cca4 (Fdescribe_vector): Add `describer' parameter.
(describe_command, describe_translation): Add dummy second param.
(describe_map): Call elt_describer with two arguments.
(describe_vector_princ): Add `fun' parameter.
Call it instead of the hardcoded `princ'.
(describe_vector): Add arg `args'.
Pass it as a new second argument to elt_describer.
2001-11-19 22:46:37 +00:00
Stefan Monnier
f0bd0cddbb (describe_vector): Update prototype. 2001-11-19 22:46:29 +00:00
Stefan Monnier
59fac292ee (Fwrite_region): Move choose_write_coding_system to after build_annotations. 2001-11-19 21:50:44 +00:00
Stefan Monnier
9b46de409f *** empty log message *** 2001-11-19 20:55:10 +00:00
Sam Steingold
aff37336ea [!defined MAP_ANON]: Define MAP_ANON to MAP_ANONYMOUS if defined, 0 otherwise.
(MAP_FAILED): Define if not defined and use it for testing mmap failure.
(unexec) [!MAP_ANON]: Use /dev/zero as file to map.
2001-11-19 15:13:45 +00:00
Richard M. Stallman
2ea99a1e34 Comment change. 2001-11-19 14:47:58 +00:00
Stefan Monnier
10c8c918b2 Don't include keymap.h any more.
(keys_of_frame): Remove.
2001-11-19 06:46:41 +00:00
Stefan Monnier
5c98cd304c (keys_of_frame): Remove declaration. 2001-11-19 06:46:01 +00:00
Stefan Monnier
319697b1e6 (main): Don't call `keys_of_frame' any more. 2001-11-19 06:41:44 +00:00
Richard M. Stallman
b9937f07c3 *** empty log message *** 2001-11-19 06:25:47 +00:00
Richard M. Stallman
36974b5ecb (current_column_1): Fix handling of scan_bytes for mb chars. 2001-11-19 06:25:33 +00:00
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