diff options
| author | Karoly Lorentey | 2005-02-28 15:15:44 +0000 |
|---|---|---|
| committer | Karoly Lorentey | 2005-02-28 15:15:44 +0000 |
| commit | ab455350da7728b0f8e1daf92c084092d8a04c29 (patch) | |
| tree | a954961cc3edbabe78e45503a82645ebd5210d7f /src | |
| parent | 047ba4c2fb052fb5187226fe5589a1be9d36b687 (diff) | |
| parent | dbaba2d2955aee0f475ad92fab2755314aa3f48a (diff) | |
| download | emacs-ab455350da7728b0f8e1daf92c084092d8a04c29.tar.gz emacs-ab455350da7728b0f8e1daf92c084092d8a04c29.zip | |
Merged from miles@gnu.org--gnu-2005 (patch 31-33, 129-141)
Patches applied:
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-129
Update from CVS
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-130
Update from CVS
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-131
Update from CVS
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-132
Update from CVS
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-133
Merge from gnus--rel--5.10
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-134
Update from CVS
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-135
Update from CVS
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-136
Update from CVS
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-137
Update from CVS
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-138
Update from CVS
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-139
Merge from gnus--rel--5.10
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-140
Update from CVS
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-141
Update from CVS
* miles@gnu.org--gnu-2005/gnus--rel--5.10--patch-31
Merge from emacs--cvs-trunk--0
* miles@gnu.org--gnu-2005/gnus--rel--5.10--patch-32
Merge from emacs--cvs-trunk--0
* miles@gnu.org--gnu-2005/gnus--rel--5.10--patch-33
Update from CVS
git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-302
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 16 | ||||
| -rw-r--r-- | src/buffer.c | 2 | ||||
| -rw-r--r-- | src/dispextern.h | 2 | ||||
| -rw-r--r-- | src/gtkutil.c | 6 | ||||
| -rw-r--r-- | src/xdisp.c | 31 |
5 files changed, 37 insertions, 20 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 23074668343..56833a341a4 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,19 @@ | |||
| 1 | 2005-02-27 Jan Dj,Ad(Brv <jan.h.d@swipnet.se> | ||
| 2 | |||
| 3 | * gtkutil.c (xg_resize_outer_widget): Removed unneeded call to | ||
| 4 | gtk_window_resize and x_wm_set_size_hint. | ||
| 5 | |||
| 6 | 2005-02-25 Kim F. Storm <storm@cua.dk> | ||
| 7 | |||
| 8 | * dispextern.h (OVERLAY_STRING_CHUNK_SIZE): Increase from 3 to 16. | ||
| 9 | |||
| 10 | * xdisp.c (init_from_display_pos): Don't read past end of | ||
| 11 | it->overlay_strings array. | ||
| 12 | |||
| 13 | 2005-02-25 Stephan Stahl <stahl@eos.franken.de> (tiny change) | ||
| 14 | |||
| 15 | * buffer.c (syms_of_buffer): Fix typo. | ||
| 16 | |||
| 1 | 2005-02-23 Lute Kamstra <lute@gnu.org> | 17 | 2005-02-23 Lute Kamstra <lute@gnu.org> |
| 2 | 18 | ||
| 3 | * buffer.c (Foverlay_buffer): Doc fix. | 19 | * buffer.c (Foverlay_buffer): Doc fix. |
diff --git a/src/buffer.c b/src/buffer.c index 3394e1dead2..8738466abd1 100644 --- a/src/buffer.c +++ b/src/buffer.c | |||
| @@ -5673,7 +5673,7 @@ arrow bitmaps. | |||
| 5673 | 5673 | ||
| 5674 | If value is a symbol `left' or `right', both angle and arrow bitmaps | 5674 | If value is a symbol `left' or `right', both angle and arrow bitmaps |
| 5675 | are displayed in the left or right fringe, resp. Any other value | 5675 | are displayed in the left or right fringe, resp. Any other value |
| 5676 | that doesn't look like an alist means displat the angle bitmaps in | 5676 | that doesn't look like an alist means display the angle bitmaps in |
| 5677 | the left fringe but no arrows. | 5677 | the left fringe but no arrows. |
| 5678 | 5678 | ||
| 5679 | You can exercise more precise control by using an alist as the | 5679 | You can exercise more precise control by using an alist as the |
diff --git a/src/dispextern.h b/src/dispextern.h index 77dba7bb09e..5401fecedd5 100644 --- a/src/dispextern.h +++ b/src/dispextern.h | |||
| @@ -1882,7 +1882,7 @@ struct it | |||
| 1882 | 1882 | ||
| 1883 | /* Vector of overlays to process. Overlay strings are processed | 1883 | /* Vector of overlays to process. Overlay strings are processed |
| 1884 | OVERLAY_STRING_CHUNK_SIZE at a time. */ | 1884 | OVERLAY_STRING_CHUNK_SIZE at a time. */ |
| 1885 | #define OVERLAY_STRING_CHUNK_SIZE 3 | 1885 | #define OVERLAY_STRING_CHUNK_SIZE 16 |
| 1886 | Lisp_Object overlay_strings[OVERLAY_STRING_CHUNK_SIZE]; | 1886 | Lisp_Object overlay_strings[OVERLAY_STRING_CHUNK_SIZE]; |
| 1887 | 1887 | ||
| 1888 | /* Total number of overlay strings to process. This can be > | 1888 | /* Total number of overlay strings to process. This can be > |
diff --git a/src/gtkutil.c b/src/gtkutil.c index c291b44f5a2..6dcba3036c0 100644 --- a/src/gtkutil.c +++ b/src/gtkutil.c | |||
| @@ -556,12 +556,6 @@ xg_resize_outer_widget (f, columns, rows) | |||
| 556 | int columns; | 556 | int columns; |
| 557 | int rows; | 557 | int rows; |
| 558 | { | 558 | { |
| 559 | gtk_window_resize (GTK_WINDOW (FRAME_GTK_OUTER_WIDGET (f)), | ||
| 560 | FRAME_PIXEL_WIDTH (f), FRAME_TOTAL_PIXEL_HEIGHT (f)); | ||
| 561 | |||
| 562 | /* base_height is now changed. */ | ||
| 563 | x_wm_set_size_hint (f, 0, 0); | ||
| 564 | |||
| 565 | /* If we are not mapped yet, set geometry once again, as window | 559 | /* If we are not mapped yet, set geometry once again, as window |
| 566 | height now have changed. */ | 560 | height now have changed. */ |
| 567 | if (! GTK_WIDGET_MAPPED (FRAME_GTK_OUTER_WIDGET (f))) | 561 | if (! GTK_WIDGET_MAPPED (FRAME_GTK_OUTER_WIDGET (f))) |
diff --git a/src/xdisp.c b/src/xdisp.c index 671b20683e8..5e17a7e3ca5 100644 --- a/src/xdisp.c +++ b/src/xdisp.c | |||
| @@ -2534,7 +2534,10 @@ init_from_display_pos (it, w, pos) | |||
| 2534 | after-string. */ | 2534 | after-string. */ |
| 2535 | init_iterator (it, w, charpos, bytepos, NULL, DEFAULT_FACE_ID); | 2535 | init_iterator (it, w, charpos, bytepos, NULL, DEFAULT_FACE_ID); |
| 2536 | 2536 | ||
| 2537 | for (i = 0; i < it->n_overlay_strings; ++i) | 2537 | /* This only scans the current chunk -- it should scan all chunks. |
| 2538 | However, OVERLAY_STRING_CHUNK_SIZE has been increased from 3 in 21.1 | ||
| 2539 | to 16 in 22.1 to make this a lesser problem. */ | ||
| 2540 | for (i = 0; i < it->n_overlay_strings && i < OVERLAY_STRING_CHUNK_SIZE; ++i) | ||
| 2538 | { | 2541 | { |
| 2539 | const char *s = SDATA (it->overlay_strings[i]); | 2542 | const char *s = SDATA (it->overlay_strings[i]); |
| 2540 | const char *e = s + SBYTES (it->overlay_strings[i]); | 2543 | const char *e = s + SBYTES (it->overlay_strings[i]); |
| @@ -5841,9 +5844,9 @@ move_it_in_display_line_to (it, to_charpos, to_x, op) | |||
| 5841 | ((op & MOVE_TO_POS) != 0 \ | 5844 | ((op & MOVE_TO_POS) != 0 \ |
| 5842 | && BUFFERP (it->object) \ | 5845 | && BUFFERP (it->object) \ |
| 5843 | && IT_CHARPOS (*it) >= to_charpos \ | 5846 | && IT_CHARPOS (*it) >= to_charpos \ |
| 5844 | && (it->method == GET_FROM_BUFFER || \ | 5847 | && (it->method == GET_FROM_BUFFER \ |
| 5845 | (it->method == GET_FROM_DISPLAY_VECTOR && \ | 5848 | || (it->method == GET_FROM_DISPLAY_VECTOR \ |
| 5846 | it->dpvec + it->current.dpvec_index + 1 >= it->dpend))) | 5849 | && it->dpvec + it->current.dpvec_index + 1 >= it->dpend))) |
| 5847 | 5850 | ||
| 5848 | 5851 | ||
| 5849 | while (1) | 5852 | while (1) |
| @@ -20772,8 +20775,10 @@ fast_find_position (w, charpos, hpos, vpos, x, y, stop) | |||
| 20772 | 20775 | ||
| 20773 | /* If whole rows or last part of a row came from a display overlay, | 20776 | /* If whole rows or last part of a row came from a display overlay, |
| 20774 | row_containing_pos will skip over such rows because their end pos | 20777 | row_containing_pos will skip over such rows because their end pos |
| 20775 | equals the start pos of the overlay or interval. Backtrack if we | 20778 | equals the start pos of the overlay or interval. |
| 20776 | have a STOP object and previous row's end glyph came from STOP. */ | 20779 | |
| 20780 | Move back if we have a STOP object and previous row's | ||
| 20781 | end glyph came from STOP. */ | ||
| 20777 | if (!NILP (stop)) | 20782 | if (!NILP (stop)) |
| 20778 | { | 20783 | { |
| 20779 | struct glyph_row *prev; | 20784 | struct glyph_row *prev; |
| @@ -20781,11 +20786,11 @@ fast_find_position (w, charpos, hpos, vpos, x, y, stop) | |||
| 20781 | && MATRIX_ROW_END_CHARPOS (prev) == charpos | 20786 | && MATRIX_ROW_END_CHARPOS (prev) == charpos |
| 20782 | && prev->used[TEXT_AREA] > 0) | 20787 | && prev->used[TEXT_AREA] > 0) |
| 20783 | { | 20788 | { |
| 20784 | end = prev->glyphs[TEXT_AREA]; | 20789 | struct glyph *beg = prev->glyphs[TEXT_AREA]; |
| 20785 | glyph = end + prev->used[TEXT_AREA]; | 20790 | glyph = beg + prev->used[TEXT_AREA]; |
| 20786 | while (--glyph >= end | 20791 | while (--glyph >= beg |
| 20787 | && INTEGERP (glyph->object)); | 20792 | && INTEGERP (glyph->object)); |
| 20788 | if (glyph < end | 20793 | if (glyph < beg |
| 20789 | || !EQ (stop, glyph->object)) | 20794 | || !EQ (stop, glyph->object)) |
| 20790 | break; | 20795 | break; |
| 20791 | row = prev; | 20796 | row = prev; |
| @@ -22814,8 +22819,10 @@ Bind this around calls to `message' to let it take effect. */); | |||
| 22814 | message_truncate_lines = 0; | 22819 | message_truncate_lines = 0; |
| 22815 | 22820 | ||
| 22816 | DEFVAR_LISP ("menu-bar-update-hook", &Vmenu_bar_update_hook, | 22821 | DEFVAR_LISP ("menu-bar-update-hook", &Vmenu_bar_update_hook, |
| 22817 | doc: /* Normal hook run for clicks on menu bar, before displaying a submenu. | 22822 | doc: /* Normal hook run to update the menu bar definitions. |
| 22818 | Can be used to update submenus whose contents should vary. */); | 22823 | Redisplay runs this hook before it redisplays the menu bar. |
| 22824 | This is used to update submenus such as Buffers, | ||
| 22825 | whose contents depend on various data. */); | ||
| 22819 | Vmenu_bar_update_hook = Qnil; | 22826 | Vmenu_bar_update_hook = Qnil; |
| 22820 | 22827 | ||
| 22821 | DEFVAR_BOOL ("inhibit-menubar-update", &inhibit_menubar_update, | 22828 | DEFVAR_BOOL ("inhibit-menubar-update", &inhibit_menubar_update, |