Commit graph

21747 commits

Author SHA1 Message Date
Miles Bader
5432dcf9e0 Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-23
Merge from emacs--devo--0

Patches applied:

 * emacs--devo--0  (patch 113-118)

   - Update from CVS
   - Merge from gnus--rel--5.10

 * gnus--rel--5.10  (patch 38-39)

   - Update from CVS
2006-02-24 08:08:56 +00:00
YAMAMOTO Mitsuharu
5b574e6957 (x_set_toolkit_scroll_bar_thumb): Don't set control
values if control is not visible or values are not changed.
2006-02-23 10:43:32 +00:00
Kenichi Handa
92fb551662 *** empty log message *** 2006-02-23 10:13:23 +00:00
YAMAMOTO Mitsuharu
7889775856 (update_text_area): Avoid needless redraw of rightmost
glyph whose face is extended to the text area end.
2006-02-23 09:07:23 +00:00
Stefan Monnier
acc6289a44 (Fwindow_list): Check `window' before doing XWINDOW.
The default `window' should not be "on a different frame".
2006-02-22 21:01:34 +00:00
Kim F. Storm
78744fc370 (Fvertical_motion): Only try to move back if we can. 2006-02-22 20:29:41 +00:00
Kim F. Storm
c4336e88cc *** empty log message *** 2006-02-22 20:29:24 +00:00
YAMAMOTO Mitsuharu
b6e3efe044 (GC_CLIP_REGION): Remove macro.
(mac_begin_clip, mac_end_clip): Take arg GC instead of REGION.
All uses changed.  Don't do clipping if n_clip_rects is zero.
(mac_set_clip_rectangles): Use xassert instead of abort.  Set
n_clip_rects.  Don't make clip_region empty when number of
clipping rectangles is zero.
(mac_reset_clip_rectangles): Set n_clip_rects directly instead of
calling mac_set_clip_rectangles.
(x_set_toolkit_scroll_bar_thumb): Temporarily hide scroll bar to
avoid multiple redraws.
2006-02-22 08:00:12 +00:00
YAMAMOTO Mitsuharu
e188aa29a9 (digest_single_submenu): Apply 2006-02-19 change for xmenu.c. 2006-02-22 07:59:34 +00:00
YAMAMOTO Mitsuharu
c6c4517778 (struct _XGC) [!MAC_OSX || !USE_ATSUI]: New member n_clip_rects. 2006-02-22 07:59:26 +00:00
Miles Bader
b434f199db Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-21
Merge from emacs--devo--0

Patches applied:

 * emacs--devo--0  (patch 97-112)

   - Update from CVS
   - Merge from erc--emacs--0
   - Update from CVS: src/regex.c (extend_range_table_work_area): Fix typo.
   - Merge from gnus--rel--5.10

 * gnus--rel--5.10  (patch 37)

   - Update from CVS
2006-02-22 06:54:10 +00:00
Kenichi Handa
9d826e0eaf *** empty log message *** 2006-02-22 06:52:00 +00:00
Kenichi Handa
ba3d6aab23 (map_charset_chars): Fix for ascii-compatible charset
made by a mapping table.
2006-02-22 06:51:02 +00:00
Kim F. Storm
a1b24e137f (draw_fringe_bitmap): Fix overlay-arrow display. 2006-02-21 23:19:40 +00:00
Kim F. Storm
6f62a45eec *** empty log message *** 2006-02-21 23:19:31 +00:00
Andreas Schwab
8ea094cffa Fix indentation. 2006-02-21 12:58:58 +00:00
Kenichi Handa
3df3a5b06b (fill_composite_glyph_string): Check s->face is NULL or
not.
(BUILD_COMPOSITE_GLYPH_STRING): If C is TAB, set s->face to NULL.
(x_produce_glyphs): If CH is TAB, set cmp->offsets properly.
2006-02-21 11:45:17 +00:00
Kenichi Handa
3eb4417872 (x_draw_composite_glyph_string_foreground): Check
s->face is NULL or not.
2006-02-21 11:42:19 +00:00
Kim F. Storm
a4b7b036d2 (syms_of_fringe) <fringe-bitmaps>: Doc fix. 2006-02-21 09:42:16 +00:00
Kim F. Storm
dd9959dab8 *** empty log message *** 2006-02-21 09:41:20 +00:00
Jan Djärv
a8f4bdc694 * xfns.c (Fx_file_dialog, Motif and GTK): DECODE_FILE before
returning it.
2006-02-21 08:37:33 +00:00
Juanma Barranquero
9866a438cc *** empty log message *** 2006-02-21 08:34:23 +00:00
Juanma Barranquero
68a33afa3c (horizontal_bar_bits): Rename from `horisontal_bar_bits'.
(standard_bitmaps): Use it.
2006-02-21 08:11:07 +00:00
YAMAMOTO Mitsuharu
9fb446e3f1 (mac_draw_string_common): Remove arg MODE. New arg
BG_WIDTH.  All uses changed.  Draw background if BG_WIDTH is not zero.
(mac_draw_image_string, mac_draw_image_string_16): New arg BG_WIDTH.
[USE_CG_TEXT_DRAWING] (mac_draw_image_string_cg): Rename from
mac_draw_string_cg.  New arg BG_WIDTH.  All uses changed.  Draw
background if BG_WIDTH is not zero.  Use float constants as
divisors instead of double.  Use alloca instead of xmalloc/xfree.
(x_draw_glyph_string_background, x_draw_glyph_string_foreground)
[!MAC_OS8 || USE_ATSUI]: Background may be drawn using
mac_draw_image_string* functions.
(XLoadQueryFont) [MAC_OS8 && USE_ATSUI]: Don't adjust heights of
some fonts when srcCopy text transfer mode might be used.
(mac_begin_clip, mac_end_clip): Check if region is empty.
(mac_set_clip_rectangles): When resetting clip region, make it
empty instead of disposing of it.
2006-02-21 08:10:04 +00:00
Kim F. Storm
49af2995e0 *** empty log message *** 2006-02-20 22:31:16 +00:00
Kim F. Storm
d76c7a77e2 Add fringe.elc to WINDOW_SUPPORT. 2006-02-20 22:16:00 +00:00
Kim F. Storm
7840b33201 (enum fringe_bitmap_type): Remove. Change all uses
to use `int'.
(NO_FRINGE_BITMAP, UNDEF_FRINGE_BITMAP, MAX_STANDARD_FRINGE_BITMAPS):
Define explicitly.
(Qtruncation, Qcontinuation, Qempty_line, Qtop_bottom)
(Qhollow_small): New variables.
(syms_of_fringe): Intern and staticpro them.
(question_mark_bits): Rename from unknown_bits.
(left_curly_arrow_bits): Rename from continuation_bits.
(right_curly_arrow_bits): Rename from continued_bits.
(left_triangle_bits): Rename from ov_bits.
(right_triangle_bits): Added.
(filled_rectangle_bits): Rename from filled_box_cursor_bits.
(hollow_rectangle_bits): Rename from hollow_box_cursor_bits.
(filled_square_bits): Added.
(vertical_bar_bits): Rename from bar_cursor_bits.
(horisontal_bar_bits): Rename from hbar_cursor_bits.
(empty_line_bits): Rename from zv_bits.
(standard_bitmaps): Update to use new names.
(draw_fringe_bitmap_1): Make static.
(get_logical_cursor_bitmap, get_logical_fringe_bitmap): New functions
to map from logical cursors and indicators to physical bitmaps.
(draw_fringe_bitmap): Resolve fringe cursor and	overlay-arrow
bitmaps using symbol names instead of bitmap numbers.
(update_window_fringes): Use logical indicator symbol names
instead of bitmap numbers for logical.  Add bitmap cache.
(LEFT_FRINGE, RIGHT_FRINGE): New helper macros.
2006-02-20 22:14:22 +00:00
Kim F. Storm
856c2c7397 (struct buffer): New members fringe_indicator_alist and
fringe_cursor_alist.
2006-02-20 22:14:12 +00:00
Kim F. Storm
c6a46372a3 (init_buffer_once): Set dummy default values for
fringe-indicator-alist and fringe-cursor-alist.  The proper
default values are set by pre-loading fringe.el.
(syms_of_buffer): defvar_per_buffer new fringe-indicator-alist and
fringe-cursor-alist buffer-local variables and defvar_lisp_nopro
correspondig default- variables.
2006-02-20 22:14:06 +00:00
Chong Yidong
a073faa64c * regex.c: Revert 2006-02-19 change.
Redefine malloc -> xmalloc, realloc -> xrealloc as in Emacs case.
2006-02-20 16:44:09 +00:00
Chong Yidong
a77f947b23 * regex.c (xmalloc, xrealloc): Define these when not linked to
Emacs.
2006-02-20 16:25:21 +00:00
Kenichi Handa
1dc6c31bcc (x_draw_glyph_string): Fix previous change for the case of overhang
strinding over multiple glyphs.
2006-02-20 11:16:28 +00:00
Kenichi Handa
178669286b *** empty log message *** 2006-02-20 07:08:20 +00:00
Kenichi Handa
1dd7164578 (x_set_glyph_string_clipping_exactly): New function.
(x_draw_glyph_string): Fix drawing of right_overhang and
left_overhang around/on cursor.
2006-02-20 07:07:50 +00:00
Kenichi Handa
81a1768362 (draw_glyphs): Fix inclusion of right_overwriting
glyphs.
2006-02-20 05:01:03 +00:00
Kenichi Handa
5b203baab7 (produce_glyphs): Sync to HEAD. 2006-02-20 04:30:12 +00:00
Kenichi Handa
7829662582 *** empty log message *** 2006-02-20 04:30:00 +00:00
Luc Teirlinck
2f90d2bc9d *** empty log message *** 2006-02-20 03:53:56 +00:00
Luc Teirlinck
4aea1d4bd7 (extend_range_table_work_area): Fix typo. 2006-02-20 03:48:53 +00:00
Richard M. Stallman
7b1d7d664b (regex_compile): Call xmalloc and xrealloc.
(regcomp): Use xmalloc.
2006-02-20 01:19:15 +00:00
Richard M. Stallman
5eeafdc912 (x_catch_errors): Use xmalloc. 2006-02-20 01:18:43 +00:00
Richard M. Stallman
8a169494f0 (extend_range_table_work_area): Call xmalloc and xrealloc. 2006-02-20 01:15:42 +00:00
Richard M. Stallman
6d304eed7f (malloc_widget_value): Use xmalloc. 2006-02-20 01:14:07 +00:00
Richard M. Stallman
5498b6af64 *** empty log message *** 2006-02-20 00:00:31 +00:00
Richard M. Stallman
933f22f4f4 [HAVE_GETRLIMIT]: Include sys/resource.h.
(check_memory_limits) [HAVE_GETRLIMIT]: Use getrlimit.
2006-02-20 00:00:18 +00:00
Richard M. Stallman
e33c22a563 (digest_single_submenu): When pane_string is empty, do initialize save_wv. 2006-02-19 23:41:31 +00:00
YAMAMOTO Mitsuharu
4f2f32146a (update_menu_bar) [MAC_OS]: Don't set
w->update_mode_line if arg F is not the selected frame.
2006-02-19 07:33:40 +00:00
YAMAMOTO Mitsuharu
0f745bcf79 (popup_activated_flag, submenu_id)
(next_menubar_widget_id): Remove variables.
(initialize_frame_menubar): Remove function.
(pop_down_menu, mac_menu_show): Simplify save value.
(dispose_menus): New function.
(pop_down_menu, fill_menubar): Use it.
(fill_submenu): Remove function.  All uses changed to fill_menu.
(add_menu_item): Remove args SUBMENU and FORCE_DISABLE.  New arg
POS.  Don't call SetMenuItemHierarchicalID here.
(fill_menu): Add arg SUBMENU_ID.  Return submenu_id that is to be
used next.  Call SetMenuItemHierarchicalID here.
(fill_menubar): Add arg DEEP_P.  All uses changed.  Clean up menu
objects if needed.  Reuse existing menu bar titles if possible.
(set_frame_menubar): Don't clean up menu objects here.
2006-02-19 07:33:13 +00:00
Chong Yidong
da7520dea4 * window.c (window_min_size_1): Ensure room for the scroll bar and
fringes.
2006-02-18 22:17:09 +00:00
Romain Francoise
a9c18b842e (BASE_PURESIZE): Increment to 1200000. 2006-02-17 19:58:17 +00:00