1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-02-14 11:42:29 -08:00
Commit graph

20703 commits

Author SHA1 Message Date
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
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
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
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
Stefan Monnier
537407f049 (Fmake_symbol): Comment-out left-over assert from before we added BLOCK_INPUTs. 2006-02-17 16:00:35 +00:00
Juanma Barranquero
5bf3610f7c *** empty log message *** 2006-02-17 15:12:43 +00:00
Juanma Barranquero
a53d44a857 (Fset_window_scroll_bars): Doc fix. 2006-02-17 15:02:30 +00:00
Kenichi Handa
8a39d7dad8 (display_mode_element): Call display_string with correct
PREC arg (which must be a number of characters, not column width).
2006-02-17 12:35:52 +00:00
Kenichi Handa
ed0218e288 *** empty log message *** 2006-02-17 12:35:38 +00:00
Jan Djärv
d8d3d48ce8 Fix entry for 2006-02-14 2006-02-15 09:46:01 +00:00
Jan Djärv
6d45d2a001 Indentation fix 2006-02-15 09:45:31 +00:00
YAMAMOTO Mitsuharu
f036d043ab (set_frame_menubar): Don't call DrawMenuBar. 2006-02-15 08:42:12 +00:00
YAMAMOTO Mitsuharu
052c4ff370 (x_set_menu_bar_lines): Menu bar is always shown on Mac. 2006-02-15 08:41:36 +00:00
YAMAMOTO Mitsuharu
58ec29139a (x_get_arg): Clear out PARAM in ALIST also on Mac. 2006-02-15 08:41:12 +00:00
Richard M. Stallman
9d8f542c7c *** empty log message *** 2006-02-15 01:05:41 +00:00
Richard M. Stallman
5f69492604 (x_get_arg): Clear out all occurrences of PARAM in ALIST. 2006-02-15 01:05:33 +00:00