Jan Djärv [Fri, 28 Mar 2003 20:33:01 +0000 (20:33 +0000)]
* gtkutil.c (xg_tool_bar_item_expose_callback): Reduce size
of area to be redrawn for better performance.
Juanma Barranquero [Fri, 28 Mar 2003 17:49:49 +0000 (17:49 +0000)]
(iconify-or-deiconify-frame): Define for compatibility with packages
that use it.
Juanma Barranquero [Fri, 28 Mar 2003 17:38:50 +0000 (17:38 +0000)]
(checkdoc-display-status-buffer): Fix docstring.
(checkdoc-interactive, checkdoc-message-interactive): Make them perform spell
checking when appropriate.
(checkdoc-interactive-loop): Fix docstring and a few typos.
(checkdoc-interactive-ispell-loop)
(checkdoc-message-interactive-ispell-loop): New functions.
(checkdoc-next-error): Fix docstring.
(checkdoc-this-string-valid-engine): Fix typo.
(checkdoc-ispell-docstring-engine): Do test for checkdoc-autofix-flag = nil.
Jonathan Yavner [Fri, 28 Mar 2003 16:56:13 +0000 (16:56 +0000)]
*** empty log message ***
Jonathan Yavner [Fri, 28 Mar 2003 16:45:19 +0000 (16:45 +0000)]
No error when marking functions whose body just returns a constant. Handle
screwy top-level macros that create functions and store them as properties of
symbols. Support for CL's function* macro.
Stefan Monnier [Fri, 28 Mar 2003 14:45:30 +0000 (14:45 +0000)]
(xt_action_hook): Unset dragging so the reset does take place.
Stefan Monnier [Fri, 28 Mar 2003 14:25:14 +0000 (14:25 +0000)]
(xm_scroll_callback): Undo a tiny bit of the previous change.
Stefan Monnier [Fri, 28 Mar 2003 14:22:11 +0000 (14:22 +0000)]
(take_vertical_position_into_account): Remove.
(xt_action_hook): Call set_vertical_scroll_bar if needed.
(XM_SB_MIN, XM_SB_RANGE): Remove (min is now set to 0).
(xm_scroll_callback, x_create_toolkit_scroll_bar)
(x_set_toolkit_scroll_bar_thumb): Simplify.
(x_scroll_bar_expose): Only compile if !USE_TOOLKIT_SCROLL_BARS.
(XTread_socket): Remove unused var.
(x_make_frame_invisible): Replace goto with else.
Stefan Monnier [Fri, 28 Mar 2003 14:11:55 +0000 (14:11 +0000)]
(set_vertical_scroll_bar): New fun. Extracted from redisplay_window.
(redisplay_window): Use it.
Andreas Schwab [Thu, 27 Mar 2003 22:40:29 +0000 (22:40 +0000)]
(vc-cvs-parse-entry): Make sure a file with conflicts
is marked as edited.
Richard M. Stallman [Thu, 27 Mar 2003 03:06:16 +0000 (03:06 +0000)]
(update_tool_bar): Recompute tool bar if
update_mode_lines is set. Set w->update_mode_line
only if the tool bar contents actually change.
(update_menu_bar): Undo previous change.
Jan Djärv [Wed, 26 Mar 2003 18:07:46 +0000 (18:07 +0000)]
* gtkutil.c (xg_resize_widgets): Don't call xg_frame_cleared.
(xg_frame_set_char_size): Calculate scroll bar width before frame
width. Call SET_FRAME_GARBAGED and cancel_mouse_face.
(xg_separator_p): Check for all documented separator types.
(xg_update_scrollbar_pos): Variable gheight not needed, use height.
(update_frame_tool_bar): Don't call gdk_window_process_all_updates.
Stefan Monnier [Wed, 26 Mar 2003 16:46:41 +0000 (16:46 +0000)]
*** empty log message ***
Jan Djärv [Wed, 26 Mar 2003 16:13:44 +0000 (16:13 +0000)]
* xdisp.c (update_menu_bar): Set w->update_mode_line to Qt
so tool bar gets updated.
Stefan Monnier [Wed, 26 Mar 2003 15:23:36 +0000 (15:23 +0000)]
(store_symval_forwarding): Re-instate part of the code
that was deleted with too much enthusiasm.
Simon Josefsson [Wed, 26 Mar 2003 11:48:32 +0000 (11:48 +0000)]
Initial revision
Kenichi Handa [Wed, 26 Mar 2003 04:45:38 +0000 (04:45 +0000)]
*** empty log message ***
Kenichi Handa [Wed, 26 Mar 2003 04:42:29 +0000 (04:42 +0000)]
(recode-file-name): New function.
Kenichi Handa [Wed, 26 Mar 2003 01:12:54 +0000 (01:12 +0000)]
*** empty log message ***
John Wiegley [Tue, 25 Mar 2003 20:59:35 +0000 (20:59 +0000)]
2003-03-26 Steve Youngs <youngs@xemacs.org>:
(eshell-plain-locate-behavior): Make the default the return value of
`eshell-under-xemacs-p', ie, nil for GNU/Emacs and non-nil for
XEmacs.
John Wiegley [Tue, 25 Mar 2003 20:59:04 +0000 (20:59 +0000)]
*** empty log message ***
Stefan Monnier [Tue, 25 Mar 2003 16:48:43 +0000 (16:48 +0000)]
(byte-optimize-set): Avoid CLism.
Stefan Monnier [Tue, 25 Mar 2003 16:34:00 +0000 (16:34 +0000)]
(byte-optimize-set): New. Turn `set' into `setq' when applicable.
Stefan Monnier [Tue, 25 Mar 2003 16:30:15 +0000 (16:30 +0000)]
(store_symval_forwarding): Delete special read-only
hack for type == -1, since we now use ->constant instead.
(Fkill_local_variable): Don't use XBUFFER if it can be nil.
Stefan Monnier [Tue, 25 Mar 2003 16:20:38 +0000 (16:20 +0000)]
(overlays_in): Declare static.
(syms_of_buffer) <enable-multibyte-characters>: Use the symbol's
`constant' field rather than the variable's `type' field.
Andreas Schwab [Mon, 24 Mar 2003 22:38:56 +0000 (22:38 +0000)]
.
Andreas Schwab [Mon, 24 Mar 2003 22:38:34 +0000 (22:38 +0000)]
Remove extra TAB in Greek entries.
Andrew Choi [Mon, 24 Mar 2003 19:59:08 +0000 (19:59 +0000)]
Allow building on Mac OS X again after Kim's merging of display code.
Stefan Monnier [Mon, 24 Mar 2003 17:41:43 +0000 (17:41 +0000)]
(define-minor-mode): Use custom-set-minor-mode.
Pass unknown keyword args blindly to defcustom.
Stefan Monnier [Mon, 24 Mar 2003 17:29:20 +0000 (17:29 +0000)]
(easy-menu-add-item): Align the docstring with the code.
John Paul Wallington [Mon, 24 Mar 2003 12:21:02 +0000 (12:21 +0000)]
(easy-menu-add-item): Don't default to the global map.
Kim F. Storm [Mon, 24 Mar 2003 11:01:17 +0000 (11:01 +0000)]
(cua-set-mark): Check pop-global-mark-quick-repeat.
Kim F. Storm [Mon, 24 Mar 2003 11:01:00 +0000 (11:01 +0000)]
typo
Kim F. Storm [Mon, 24 Mar 2003 11:00:39 +0000 (11:00 +0000)]
Rework last change so C-x C-SPC C-SPC does not
repeat pop-global-mark by default.
(pop-global-mark-quick-repeat): New user option.
(set-mark-command): Use it.
Kim F. Storm [Mon, 24 Mar 2003 10:57:09 +0000 (10:57 +0000)]
*** empty log message ***
John Paul Wallington [Mon, 24 Mar 2003 08:53:46 +0000 (08:53 +0000)]
(emerge-show-file-name): Read event irrespective of whether minibuffer
window is resized. Clear minibuffer when done.
John Paul Wallington [Mon, 24 Mar 2003 06:08:32 +0000 (06:08 +0000)]
(customize-create-theme): Rename from
`custom-theme-create'.
John Paul Wallington [Mon, 24 Mar 2003 03:33:53 +0000 (03:33 +0000)]
(redisplay_window): If mini window's buffer is not
empty, then redisplay it like other windows.
John Paul Wallington [Mon, 24 Mar 2003 01:46:29 +0000 (01:46 +0000)]
2003-03-24 Luc Teirlinck <teirllm@mail.auburn.edu>
* cus-edit.el (custom-mode): Make `custom-local-buffer' local.
Peter Breton [Sun, 23 Mar 2003 13:39:14 +0000 (13:39 +0000)]
Add dns-lookup-program wrapper
Kim F. Storm [Sun, 23 Mar 2003 11:38:55 +0000 (11:38 +0000)]
(w32_draw_window_cursor): Fix last change.
Kim F. Storm [Sun, 23 Mar 2003 11:38:33 +0000 (11:38 +0000)]
*** empty log message ***
Kenichi Handa [Sun, 23 Mar 2003 02:22:11 +0000 (02:22 +0000)]
Setup categories for Indian characters.
Kenichi Handa [Sun, 23 Mar 2003 02:08:35 +0000 (02:08 +0000)]
(make_string_from_bytes, make_specified_string):
Prototypes adjusted.
Martin Stjernholm [Sun, 23 Mar 2003 02:07:31 +0000 (02:07 +0000)]
*** empty log message ***
Kenichi Handa [Sun, 23 Mar 2003 02:07:13 +0000 (02:07 +0000)]
(make_string_from_bytes): Add `const' for the arg
CONTENTS.
(make_specified_string): Likewise.
Martin Stjernholm [Sun, 23 Mar 2003 01:58:30 +0000 (01:58 +0000)]
(c-parse-state): Added kludge to avoid an infinite loop when Emacs'
open-paren-in-column-zero rule kicks in and causes the sexp functions
to misbehave.
Jan Djärv [Sun, 23 Mar 2003 01:09:49 +0000 (01:09 +0000)]
Removed one line too many
Jan Djärv [Sun, 23 Mar 2003 01:03:23 +0000 (01:03 +0000)]
* xdisp.c (get_glyph_string_clip_rect): Removed ; at end of #endif
Jan Djärv [Sun, 23 Mar 2003 00:59:23 +0000 (00:59 +0000)]
Finally (?) fix flicker in scroll bar.
Kim F. Storm [Sat, 22 Mar 2003 21:44:38 +0000 (21:44 +0000)]
Cosmetic changes only.
Kim F. Storm [Sat, 22 Mar 2003 21:41:03 +0000 (21:41 +0000)]
Fix long lines.
Stefan Monnier [Sat, 22 Mar 2003 20:54:45 +0000 (20:54 +0000)]
*** empty log message ***
Peter Breton [Sat, 22 Mar 2003 13:19:51 +0000 (13:19 +0000)]
*** empty log message ***
Peter Breton [Sat, 22 Mar 2003 13:00:38 +0000 (13:00 +0000)]
Use fixes to rul-generic-mode, contributed by "Rolf Sandau" <Rolf.Sandau@marconi.com>
Add etc-modules-conf-generic-mode
Peter Breton [Sat, 22 Mar 2003 12:49:03 +0000 (12:49 +0000)]
Remove timestamp
Add dirtrack-cygwin-directory-function
Peter Breton [Sat, 22 Mar 2003 12:43:50 +0000 (12:43 +0000)]
Add file-cache-add-directory-recursively function
Add file-cache-complete function
Add file-cache-display function
Thien-Thi Nguyen [Sat, 22 Mar 2003 01:35:32 +0000 (01:35 +0000)]
Make sure space precedes end-of-line backslashes.
Kim F. Storm [Sat, 22 Mar 2003 01:21:09 +0000 (01:21 +0000)]
(ido-mode): Remove unused NOBIND arg. Fix doc string accordingly.
(ido-define-mode-map): Bind C-l for both file and dir modes.
(ido-wide-find-file, ido-wide-find-dir, ido-make-directory):
Let-bind enable-recursive-minibuffers to t around read-string.
Kim F. Storm [Sat, 22 Mar 2003 01:20:44 +0000 (01:20 +0000)]
*** empty log message ***
Kenichi Handa [Sat, 22 Mar 2003 01:08:45 +0000 (01:08 +0000)]
(setup-default-fontset): Use
indian-font-char-range for specifying ranges of indian-glyph
chars. Setup for AKRUTI fonts.
Kenichi Handa [Sat, 22 Mar 2003 01:07:17 +0000 (01:07 +0000)]
(indian-font-foundry): New variable.
(indian-script-language-alist): New variable.
(indian-font-char-index-table): New variable.
(indian-font-char): New function.
(indian-font-char-range): New function.
(font-ccl-encoder-alist): Add entry for AKRUTI font.
Kim F. Storm [Sat, 22 Mar 2003 00:40:00 +0000 (00:40 +0000)]
(cperl-electric-backspace): Add delete-selection property.
Kim F. Storm [Sat, 22 Mar 2003 00:39:38 +0000 (00:39 +0000)]
*** empty log message ***
Kim F. Storm [Sat, 22 Mar 2003 00:18:12 +0000 (00:18 +0000)]
(cua-set-mark): Doc fixes.
Allow pop-global-mark to be repeated with C-x C-SPC C-SPC...
C-u C-u C-SPC now unconditionally sets the mark.
Kim F. Storm [Sat, 22 Mar 2003 00:17:48 +0000 (00:17 +0000)]
*** empty log message ***
Kim F. Storm [Fri, 21 Mar 2003 23:49:23 +0000 (23:49 +0000)]
(set-mark-command): Doc fixes.
Allow pop-global-mark to be repeated with C-x C-SPC C-SPC...
C-u C-u C-SPC now unconditionally sets the mark.
Kim F. Storm [Fri, 21 Mar 2003 23:48:53 +0000 (23:48 +0000)]
*** empty log message ***
Kim F. Storm [Fri, 21 Mar 2003 23:08:04 +0000 (23:08 +0000)]
Fix compilation with --with-x=no.
Kim F. Storm [Fri, 21 Mar 2003 23:00:21 +0000 (23:00 +0000)]
(STORE_NATIVE_RECT): New macro.
Kim F. Storm [Fri, 21 Mar 2003 22:56:52 +0000 (22:56 +0000)]
* xdisp.c (pixel_to_glyph_coords, glyph_to_pixel_coords):
Add generic versions here. Remove system specific versions
defined elsewhere.
Kim F. Storm [Fri, 21 Mar 2003 22:55:56 +0000 (22:55 +0000)]
(pixel_to_glyph_coords, glyph_to_pixel_coords):
Add prototypes.
Kim F. Storm [Fri, 21 Mar 2003 22:55:37 +0000 (22:55 +0000)]
*** empty log message ***
Kim F. Storm [Fri, 21 Mar 2003 21:48:44 +0000 (21:48 +0000)]
(get_glyph_string_clip_rect): Use FRAME_INTERNAL_BORDER_WIDTH.
Kim F. Storm [Fri, 21 Mar 2003 21:47:46 +0000 (21:47 +0000)]
(struct redisplay_interface): Add active_p argument to
draw_window_cursor member. All uses changed.
Kim F. Storm [Fri, 21 Mar 2003 21:47:09 +0000 (21:47 +0000)]
*** empty log message ***
Kim F. Storm [Fri, 21 Mar 2003 14:23:32 +0000 (14:23 +0000)]
Fix compilation for --with-x=no.
Kim F. Storm [Fri, 21 Mar 2003 14:05:27 +0000 (14:05 +0000)]
(xdisp.c.x): Add dependency on blockinput.h and
files included from it. Add dependency on keymap.h.
Kim F. Storm [Fri, 21 Mar 2003 14:05:12 +0000 (14:05 +0000)]
*** empty log message ***
Kim F. Storm [Fri, 21 Mar 2003 13:52:57 +0000 (13:52 +0000)]
(No_Cursor): Declare as None for X.
(struct mac_output): Replace member cross_cursor by hand_cursor.
Kim F. Storm [Fri, 21 Mar 2003 13:52:48 +0000 (13:52 +0000)]
* xterm.c: Remove consolidated defines and code.
(BETWEEN): Remove unused macro.
(x_draw_vertical_window_border, x_shift_glyphs_for_insert)
(x_define_frame_cursor, x_clear_frame_area)
(x_draw_window_cursor): New X-specific functions for RIF.
(x_redisplay_interface): Add new members.
Kim F. Storm [Fri, 21 Mar 2003 13:52:37 +0000 (13:52 +0000)]
Setup and use hand_cursor instead of cross_cursor.
Kim F. Storm [Fri, 21 Mar 2003 13:52:28 +0000 (13:52 +0000)]
The following changes consolidate code related to writing and
inserting glyphs, exposing frame, the tool bar, the mouse face,
the output cursor, and help echo from xterm.c, w32term.c and
macterm.c into xdisp.c. It also generalizes the use of the
window_part enum instead of using numeric values throughout.
* xdisp.c: Consolidate gui-independent code here.
Include keymap.h.
(Qhelp_echo): Import.
(mouse_autoselect_window, x_stretch_cursor_p): Declare here.
(help_echo_string, help_echo_window, help_echo_object)
(previous_help_echo_string, help_echo_pos): Declare here.
(output_cursor, last_mouse_frame, last_tool_bar_item): Declare here.
(estimate_mode_line_height): Define here. Handle windowing
systems directly (without using estimate_mode_line_height_hook).
(x_y_to_hpos_vpos, get_tool_bar_item, note_tool_bar_highlight):
(update_window_cursor, update_cursor_in_window_tree)
(fast_find_position, fast_find_string_pos)
(note_mode_line_highlight, note_mode_line_or_margin_highlight)
(expose_area, expose_line, expose_overlaps, expose_window)
(expose_window_tree, phys_cursor_in_rect_p): New generic versions;
declared static as they are only used locally in xdisp.c.
(draw_glyphs): Rename from x_draw_glyphs and make static.
(tool_bar_item_info, notice_overwritten_cursor): Make static.
(frame_to_window_pixel_xy, get_glyph_string_clip_rect)
(set_output_cursor, x_cursor_to, handle_tool_bar_click)
(x_write_glyphs, x_insert_glyphs, x_clear_end_of_line):
(x_fix_overlapping_area, draw_phys_cursor_glyph, erase_phys_cursor)
(display_and_set_cursor, x_update_cursor, x_clear_cursor)
(show_mouse_face, clear_mouse_face, cursor_in_mouse_face_p)
(note_mouse_highlight, x_clear_window_mouse_face)
(cancel_mouse_face, x_draw_vertical_border, expose_frame)
(x_intersect_rectangles): New generic functions for use by xdisp.c
and GUI front-ends.
(syms_of_xdisp): Initialize and staticpro help_echo* variables.
Defvar_bool "x-streach-cursor" and "mouse-autoselect-window" here.
Kim F. Storm [Fri, 21 Mar 2003 13:52:14 +0000 (13:52 +0000)]
(window_from_coordinates): Fix prototype.
Kim F. Storm [Fri, 21 Mar 2003 13:52:06 +0000 (13:52 +0000)]
* window.c (enum window_part): Move to dispextern.h.
(coordinates_in_window): Use enum window_part member names
instead of numbers to describe return value.
(struct check_window_data): Change part member to window_part.
(check_window_containing): Return window_part unaltered.
(window_from_coordinates): Change part arg from int to enum
window_part. Allow part arg to be null. All users changed.
Kim F. Storm [Fri, 21 Mar 2003 13:51:52 +0000 (13:51 +0000)]
(struct w32_output): Remove cross_cursor member.
Kim F. Storm [Fri, 21 Mar 2003 13:51:43 +0000 (13:51 +0000)]
* w32term.c: Remove consolidated defines and code.
(BETWEEN): Remove unused macro.
(w32_draw_vertical_window_border, w32_shift_glyphs_for_insert)
(w32_define_frame_cursor, w32_clear_frame_area)
(w32_draw_window_cursor): New W32-specific functions for RIF.
(w32_redisplay_interface): Add new members.
Kim F. Storm [Fri, 21 Mar 2003 13:51:33 +0000 (13:51 +0000)]
(No_Cursor): Define as 0 for W32.
(XRectangle): Add X compatible rectangle type.
(NativeRectangle): Declare as RECT for W32.
(CONVERT_TO_XRECT, CONVERT_FROM_XRECT, STORE_NATIVE_RECT): New macros.
Kim F. Storm [Fri, 21 Mar 2003 13:51:25 +0000 (13:51 +0000)]
Remove setup of cross_cursor (already has hand_cursor).
Kim F. Storm [Fri, 21 Mar 2003 13:51:17 +0000 (13:51 +0000)]
Remove consolidated defines and code.
Kim F. Storm [Fri, 21 Mar 2003 13:51:06 +0000 (13:51 +0000)]
(estimate_mode_line_height): Move to xdisp.c.
Kim F. Storm [Fri, 21 Mar 2003 13:50:50 +0000 (13:50 +0000)]
(Display_Info): Add generic typedef.
Kim F. Storm [Fri, 21 Mar 2003 13:50:39 +0000 (13:50 +0000)]
Remove consolidated defines and code.
(IT_note_mouse_highlight, dos_rawgetc): Use enum window_part.
Kim F. Storm [Fri, 21 Mar 2003 13:50:27 +0000 (13:50 +0000)]
(xdisp.o): Add dependency on keymap.h.
Kim F. Storm [Fri, 21 Mar 2003 13:50:20 +0000 (13:50 +0000)]
(struct mac_output): Replace member cross_cursor by
hand_cursor.
(activate_scroll_bars, deactivate_scroll_bars): Add prototypes.
Kim F. Storm [Fri, 21 Mar 2003 13:50:10 +0000 (13:50 +0000)]
* macterm.c: Remove consolidated defines and code.
(BETWEEN): Remove unused macro.
(mac_draw_vertical_window_border, mac_shift_glyphs_for_insert)
(mac_define_frame_cursor, mac_clear_frame_area)
(mac_draw_window_cursor): New Mac-specific functions for RIF.
(x_redisplay_interface): Add new members.
Kim F. Storm [Fri, 21 Mar 2003 13:49:57 +0000 (13:49 +0000)]
(No_Cursor): Define as 0 for Mac.
(XRectangle): Add X compatible rectangle type.
(NativeRectangle): Declare as Rect for Mac.
(CONVERT_TO_XRECT, CONVERT_FROM_XRECT, STORE_NATIVE_RECT): New macros.
Kim F. Storm [Fri, 21 Mar 2003 13:49:48 +0000 (13:49 +0000)]
(x_set_mouse_color): Setup hand_cursor instead of cross_cursor.
(x_set_cursor_color): Use x_display_and_set_cursor instead of x_display_cursor.
Kim F. Storm [Fri, 21 Mar 2003 13:49:39 +0000 (13:49 +0000)]
(make_lispy_event): Use enum window_part.
Kim F. Storm [Fri, 21 Mar 2003 13:49:31 +0000 (13:49 +0000)]
(mode_line_string, marginal_area_string): Use enum
window_part instead of int in arg list. Users changed.