1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-28 08:11:05 -08:00
Commit graph

14510 commits

Author SHA1 Message Date
Pavel Janík
a8818eb978 Don't define max. 2001-10-24 06:32:53 +00:00
Pavel Janík
996fee11d7 Don't define max.
(create_process): Remove unused variable `buffer'.
2001-10-24 06:30:19 +00:00
Gerd Moellmann
496e1a5b3d (Finternal_set_lisp_face_attribute): Fix compilation
error.
2001-10-23 18:42:35 +00:00
Eli Zaretskii
5905ae8b23 *** empty log message *** 2001-10-23 17:27:23 +00:00
Eli Zaretskii
96fbd2c612 (Finternal_set_lisp_face_attribute)
[HAVE_WINDOW_SYSTEM]: Don't do anything for QCfont unless the
frame is on a windowed display.
2001-10-23 17:19:21 +00:00
Gerd Moellmann
c51488cde5 *** empty log message *** 2001-10-23 16:16:06 +00:00
Gerd Moellmann
5cb881112a (sync_window_with_frame_matrix_rows): Fix
handling of windows which aren't full-width, fix handling
of marginal areas.
2001-10-23 15:14:53 +00:00
Pavel Janík
fc11dff097 Use more descriptive entries. 2001-10-23 15:09:09 +00:00
Gerd Moellmann
24db49fb9e *** empty log message *** 2001-10-23 14:09:20 +00:00
Gerd Moellmann
990ff03c4d (syms_of_lread)<recursive-load-depth-limit>: Raise to
50.
2001-10-23 14:08:08 +00:00
Eli Zaretskii
f0487f056a *** empty log message *** 2001-10-23 12:46:40 +00:00
Gerd Moellmann
f0a48a01ad (x_draw_glyphs): Remove parameters READ_START and
REAL_END.  Notice if cursor gets overwritten.
(notice_overwritten_cursor): Take X positions as parameters.
(x_draw_phys_cursor_glyph): Save state of w->phys_cursor_on_p
around call to x_draw_glyphs.
2001-10-23 12:05:01 +00:00
Pavel Janík
a50a10a02d (modify-syntax-entry): Fix argument names (use CHAR instead of C) and usage. 2001-10-23 12:01:58 +00:00
Pavel Janík
03195c584d (Fx_show_tip): Remove unused variables buffer', top', left', max_width'
and `max_height'.
2001-10-23 12:00:13 +00:00
Pavel Janík
0628308181 (char-to-string): Fix argument names (use CHAR instead of C) and usage. 2001-10-23 11:58:29 +00:00
Gerd Moellmann
8738febd7b (display_line): For a tab continued to the next line,
set row's ends_in_middle_of_char_p.
2001-10-23 10:02:19 +00:00
Eli Zaretskii
6acf9baf12 [LINUX]: Undef LD_SWITCH_SYSTEM_TEMACS and override
LD_SWITCH_MACHINE_TEMACS with "-Xlinker -znocombreloc".
From Andreas Schwab <schwab@suse.de>.
2001-10-23 09:05:27 +00:00
Gerd Moellmann
653c329be8 (display_line): Fix computation of continuation lines
width for TABs.
2001-10-22 14:53:30 +00:00
Pavel Janík
7ba51063be (build_desired_tool_bar_string): Remove unused variable `Qlaplace'. 2001-10-22 13:24:08 +00:00
Pavel Janík
f958c5ac2f Remove unused code. 2001-10-22 06:26:52 +00:00
Miles Bader
eb3602912a (DEFVAR_LISP, DEFVAR_LISP_NOPRO, DEFVAR_BOOL)
(DEFVAR_INT, DEFVAR_PER_BUFFER, DEFVAR_KBOARD):
Remove `DOC_STRINGS_IN_COMMENTS' cases.
2001-10-22 01:10:13 +00:00
Jason Rumney
98515cf03b (x_erase_phys_cursor): Remove inverse_p. 2001-10-21 21:23:03 +00:00
Jason Rumney
4fdd691b32 *** empty log message *** 2001-10-21 18:49:20 +00:00
Jason Rumney
565153ffd3 Fix formatting for new function. 2001-10-21 18:35:35 +00:00
Gerd Moellmann
6aa97356aa *** empty log message *** 2001-10-21 17:41:43 +00:00
Jason Rumney
42bde733cf (struct w32_output): Use correct spelling of x_compatible.
(w32_display_info): Add mouse_face_overlay.
2001-10-21 16:57:22 +00:00
Eli Zaretskii
93026d88c2 (Fml_if, Fml_provide_prefix_argument)
(Finsert_string): Avoid the multi-line string literals warning.
2001-10-21 16:55:26 +00:00
Jason Rumney
c169b8f145 *** empty log message *** 2001-10-21 16:23:07 +00:00
Miles Bader
c9a95b7902 *** empty log message *** 2001-10-21 15:34:22 +00:00
Miles Bader
6924dda6ad (Fsave_window_excursion): Add usage: string to doc string. 2001-10-21 15:28:03 +00:00
Miles Bader
ab9ffd19d7 (Fwith_output_to_temp_buffer): Add usage: string to doc string. 2001-10-21 15:27:09 +00:00
Miles Bader
38623e24a8 (Ftrack_mouse): Add usage: string to doc string. 2001-10-21 15:23:58 +00:00
Miles Bader
f717af878f (Frun_hooks, Frun_hook_with_args, Frun_hook_with_args_until_failure)
(Frun_hook_with_args_until_success, Ffuncall, For, Fand, Fif, Fcond)
(Fprogn, Fprog1, Fprog2, Fsetq, Fquote, Ffunction, Fdefun, Fdefmacro)
(Fdefvar, Fdefconst, FletX, Flet, Fwhile, Fcatch, Funwind_protect)
(Fcondition_case): Add usage: string to doc string.
2001-10-21 15:22:49 +00:00
Miles Bader
33c2d29f6c (Fsave_excursion, Fsave_current_buffer)
(Fsave_restriction): Add usage: string to doc string.
2001-10-21 15:21:33 +00:00
Miles Bader
512ca171d4 (Vhelp_manyarg_func_alist): Variable removed.
(Fdocumentation): Don't use it.
(syms_of_doc): Don't initialize it.
2001-10-21 15:20:42 +00:00
Miles Bader
a58d71cbdd (Ffind_operation_coding_system): Add usage: string to doc string. 2001-10-21 15:20:20 +00:00
Jason Rumney
9f5a911b46 (remember_mouse_glyph): New function.
(w32_mouse_position): Use it.
(note_mouse_movement): If the mouse moved off the glyph, remember its
new position.

Sync with xterm.c:
(notice_overwritten_cursor): Renamed from note_overwritten_text_cursor.
Rewritten to take glyph widths into account.
(x_y_to_hpos_vpos): Add parameter BUFFER_ONLY_P.
(fast_find_string_pos): New function.
(fast_find_position): Return the correct vpos.  Add parameter STOP.
In the final row, stop before glyphs having STOP as object.
Don't consider glyphs that are not from a buffer.
(fast_find_position) [0]: Add a presumably more correct version for after 21.1.
(expose_window_tree, expose_frame): Don't compute intersections here.
(expose_window): Do it here instead.
(expose_window_tree, expose_window, expose_line): Return 1 when
overwriting mouse-face.
(expose_window): If W is the window currently being updated, mark
the frame garbaged.
(expose_frame): If mouse-face was overwritten, redo it.
(x_use_underline_position_properties): New variable.
(syms_of_xterm): DEFVAR_BOOL it.
(x_draw_glyph_string): Add comment to use it in future.
(x_draw_glyph_string): Restore clipping after drawing box.
Fix a computation of the underline position.
(w32_get_glyph_string_clip_rect): Minor cleanup.
(x_fill_stretch_glyph_string): Remove an assertion.
(x_produce_glyphs): Don't convert multibyte characters
to unibyte characters in unibyte buffers.
(cursor_in_mouse_face_p): New function.
(x_draw_stretch_glyph_string): Use it to choose a different GC
when drawing a cursor within highlighted text.  Don't draw
background again if it has already been drawn.
(x_draw_glyph_string_box): Don't draw a full-width
box just because the glyph row's full_width_p flag is set.
(x_draw_glyphs): Fix computation of rightmost x for full-width rows.
(x_dump_glyph_string): Put in #if GLYPH_DEBUG.
(w32_draw_relief_rect): Extend left shadow to the bottom and left;
change bottom shadow accordingly. Some cleanup.
(x_update_window_end): Handle overwritten mouse face
also for tool bar windows.
(show_mouse_face): Set the glyph row's mouse_face_p flag also when
DRAW is DRAW_IMAGE_RAISED.
(clear_mouse_face): Return 1 if text with mouse face was
actually redrawn.  Make the function static.  Reset
dpyinfo->mouse_face_overlay otherwise note_mouse_highlight might
optimize away highlighting if we pass over that same overlay again.
(note_mouse_highlight): Call mouse_face_overlay_overlaps
to detect a case where we have to highlight a different region
despite not having left the currently highlighted region.
Set mouse_face_overlay in the x_display_info.  Avoid changing the
mouse pointer shape when show_mouse_face has already done it, or
there is no need.  Handle mouse-face and help-echo in strings.
(glyph_rect): New function.
(w32_mouse_position): Use it to raise the threshold for mouse
movement event generation.
(w32_initialize_display_info): Initialize the x_display_info's
mouse_face_overlay.
(w32_set_vertical_scroll_bar): Don't clear a zero height or width area.
(w32_set_vertical_scroll_bar, x_scroll_bar_create): Don't configure
a widget to zero height.
2001-10-21 15:20:03 +00:00
Miles Bader
a3b10252a6 *** empty log message *** 2001-10-21 14:44:58 +00:00
Miles Bader
e02cec3393 (Finsert_string, Fml_if, Fml_provide_prefix_argument)
(Fml_prefix_argument_loop): Add usage: string to doc string.
2001-10-21 14:20:44 +00:00
Miles Bader
4bf8e2a32e (Fappend, Fconcat, Fvconcat, Fnconc, Fwidget_apply, Fmake_hash_table):
Add usage: string to doc string.
2001-10-21 14:19:57 +00:00
Miles Bader
4bfbe194ac (Finsert, Finsert_and_inherit, Finsert_before_markers, Fmessage)
(Fmessage_box, Fmessage_or_box, Fpropertize, Fformat, Fencode_time)
(Finsert_and_inherit_before_markers): Add usage: string to doc string.
2001-10-21 14:18:44 +00:00
Pavel Janík
888ebd132e (Finsert_file_contents): Remove unused variable `gap_size'. 2001-10-21 13:28:46 +00:00
Pavel Janík
c6f73eec53 *** empty log message *** 2001-10-21 12:23:10 +00:00
Pavel Janík
8c1a1077c0 Change doc-string comments to new style' [w/doc:' keyword]. 2001-10-21 12:13:46 +00:00
Pavel Janík
dfe45eff10 (delete-exited-processes): Change doc-string comments to new style' [w/doc:' keyword]. 2001-10-21 12:08:54 +00:00
Jason Rumney
3cf3436ebc (Fx_file_dialog): Pass a filter to GetOpenFileName.
Sync with xfns.c:
(x_laplace_read_row, x_laplace_write_row): Removed.
(postprocess_image): New function.
(lookup_image): Call it for all image types except PostScript.
(x_kill_gs_process): Call postprocess_image.
(tiff_error_handler, tiff_warning_handler): New functions.
(tiff_load): Install them as handlers.
(x_kill_gs_process): Recognize if someone has cleared the image
cache under us.
(valid_image_p): Protect better against invalid image
specifications.  Previous code could signal an error.
(Fx_hide_tip, Fshow_tip): Doc fix.
(Fv_max_tooltip_size): New variable.
(syns_of_xfns): DEFVAR_LISP it.
(Fx_show_tip): Add parameter TEXT.  Set the tip frame's root
window buffer to *tip* right after creating the frame. Set frame's
window_width.  Use a maximum tooltip size specified by
Vx_max_tooltip_size, if that has valid contents.
(compute_tip_xy): Add parameters WIDTH and HEIGHT.
Make sure the tooltip is completely visible.
(x_create_tip_frame): Set tooltip buffer's truncate-lines to nil.
(Fx_create_frame): Adjust the frame's height for presence
of the tool bar before calling x_figure_window_size.
(x_set_tool_bar_lines): Clear the tool bar window's current matrix
when the window gets smaller.
(x_set_foreground_color): Set frame's cursor_pixel.
(x_set_foreground_color, x_set_background_color): Cleaned up.
(x_set_font): Handle case of x_new_fontset returning the same name
as before, although there was a change in fontsets.
2001-10-21 11:45:21 +00:00
Jason Rumney
292508513c (single_submenu, w32_menu_show) [!HAVE_MULTILINGUAL_MENU]:
Protect unibyte stings created by replacing their multibyte
equivalents in menu_items.
(w32_menu_show): Don't overwrite an item's name with its key
description in case the description is a multibyte string.
(single_submenu): Some cleanup.
2001-10-21 10:54:17 +00:00
Miles Bader
386ca3619c *** empty log message *** 2001-10-21 10:25:36 +00:00
Miles Bader
f44fba9ec2 (Fplus, Fminus, Fmax, Ftimes, Fquo, Flogand, Flogior, Flogxor):
Add usage: string to doc string.
2001-10-21 10:00:33 +00:00
Miles Bader
5f5d497ee4 (Fstring): Add usage: string to doc string. 2001-10-21 09:59:56 +00:00