aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKim F. Storm2003-11-27 21:53:51 +0000
committerKim F. Storm2003-11-27 21:53:51 +0000
commit0f6a07a85a4999ffd9a572b0e3de2869e1ef8aa3 (patch)
tree35da4dea59c50520a1dbe9298cf86bae4cc5bc74 /src
parente08f9a0df92ee0d3cbb00126b39cc648553e3e7f (diff)
downloademacs-0f6a07a85a4999ffd9a572b0e3de2869e1ef8aa3.tar.gz
emacs-0f6a07a85a4999ffd9a572b0e3de2869e1ef8aa3.zip
*** empty log message ***
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog52
1 files changed, 52 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 605ed62bc3f..f29fe7403ef 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,55 @@
12003-11-27 Kim F. Storm <storm@cua.dk>
2
3 * dispnew.c (buffer_posn_from_coords): Calculate and return pixel
4 coordinates relative to glyph at posn. If glyph is an image,
5 return that as object at posn. Callers changed.
6 (mode_line_string, marginal_area_string): Calculate and return
7 pixel coordinates relative to glyph. Callers changed.
8
9 * dispextern.h (buffer_posn_from_coords, mode_line_string)
10 (marginal_area_string): Fix prototypes.
11 (window_box_left_offset, window_box_right_offset): Add prototypes.
12
13 * frame.h (get_specified_cursor_type, get_window_cursor_type):
14 Remove prototypes.
15
16 * keyboard.h (EVENT_CLICK_COUNT, POSN_SCROLLBAR_PART): Fix defines.
17
18 * keyboard.c (make_lispy_position): Add x and y coordinates
19 relative to the current glyph as 7th element of position.
20 If glyph is an image, return it in the object element.
21 (read_key_sequence): Skip checks for keymap property in cases
22 where POSN_STRING is not a string (e.g. an image).
23
24 * xdisp.c (Vdisplay_pixels_per_inch): New variable.
25 (Vshow_text_cursor_in_void): New variable.
26 (glyph_to_pixel_coords): Don't use negative hpos.
27 (x_y_to_hpos_vpos): Fix for partially visible first glyph.
28 (append_stretch_glyph): Change ascent arg to be actual value
29 in pixels rather than ratio to height. Callers changed.
30 (calc_pixel_width_or_height): New aux function, implementing
31 pixel based artihmetic for glyph widths and heights.
32 (produce_stretch_glyph): Use calc_pixel_width_or_height for
33 :width, :height, :align-to, and :ascent, thus allowing these to
34 be specified in pixels as well as multiples of characters.
35 Don't produce stretch glyphs with zero width or height.
36 (get_specified_cursor_type): Declare static.
37 (get_window_cursor_type): Declare static. Add glyph arg to be
38 able to know when cursor is on an image; always substitute
39 hollow-box cursor for filled-box cursor on images, to avoid
40 negative images and flicker when blinking the cursor.
41 (display_and_set_cursor): Pass glyph to get_window_cursor_type.
42 (note_mode_line_or_margin_highlight): Use non-text cursor rather
43 than vertical scroll-bar cursor in display margins.
44 (note_mouse_highlight): Use non-text cursor rather than text
45 cursor in fringes and over images in the text area.
46 Use non-text cursor when mouse pointer is outside editable text,
47 i.e. in the void after end-of-line or end-of-buffer; this was
48 already done for W32, but is now standard for all systems --
49 user can toggle show-text-cursor-in-void to get old behaviour.
50 (syms_of_xdisp): DEFVAR_LISP Vshow_text_cursor_in_void and
51 Vdisplay_pixels_per_inch.
52
12003-11-25 Andreas Schwab <schwab@suse.de> 532003-11-25 Andreas Schwab <schwab@suse.de>
2 54
3 * fns.c (internal_equal) <case Lisp_Vectorlike>: Declare size as 55 * fns.c (internal_equal) <case Lisp_Vectorlike>: Declare size as