André Spiegel [Thu, 21 Sep 2000 13:21:41 +0000 (13:21 +0000)]
(vc-rcs-workfile-is-newer): New function.
(vc-rcs-state-heuristic): Use it to guess the state of files with
non-strict locking.
(vc-rcs-find-most-recent-rev): Handle the case when a branch has been
set with -b, but not created yet.
(vc-rcs-fetch-master-state): With non-strict locking, compare file
contents in order to find the state.
(vc-rcs-checkin): Allow creation of branches with no changes.
(vc-rcs-unregister, vc-rcs-receive-file,
vc-rcs-set-non-strict-locking): New functions.
(process_sent_to): New variable.
(send_process): Workaround for a crash on sparc-sun-solaris-2.6
with GCC 2.95.2 caused by a parameter being clobbered by longjmp.
Declare more parameters volatile.
Dave Love [Wed, 20 Sep 2000 22:47:50 +0000 (22:47 +0000)]
Some doc fixes.
(iswitchb-mode-map): Define completely initially. Inherit
minibuffer-local-map.
(iswitchb-completion-help) <!iswitchb-xemacs>: Use
fundamental-mode.
(iswitchb-global-map): New variable.
(iswitchb-summaries-to-end): Amalgamate regexps.
(iswitchb-mode): New.
(iswitchb-mode-hook): New variable.
(iswitchb) <defgroup>: Add URL link. Use group `completion', not
`extensions'.
Stefan Monnier [Wed, 20 Sep 2000 22:37:10 +0000 (22:37 +0000)]
* diff-mode.el (diff-add-log-file-name, diff-current-defun): New funs.
(diff-mode): Add support for add-log.el.
(diff-hunk-text): Use char offsets rather than line offsets.
(diff-find-source-location): Replace LINE with line-offset (nil
if not found) and always set POS to a meaningful position.
Adapt to the new char-offsets.
(diff-apply-hunk): Drop support for the unused `select' POPUP.
Adapt to the new diff-find-source-location.
(diff-goto-source): Adapt to the new diff-find-source-location.
Stefan Monnier [Wed, 20 Sep 2000 22:21:52 +0000 (22:21 +0000)]
(add-log-file-name): New function (split out of add-change-log-entry).
(add-change-log-entry): Use it.
Call add-log-file-name-function with the changelog file name if
the current buffer is not associated with any file.
Avoid find-file if the selected window is dedicated.
Stefan Monnier [Wed, 20 Sep 2000 16:56:13 +0000 (16:56 +0000)]
(diff-find-source-location):
Move code from diff-apply-hunk. Return buffer rather than file.
(diff-apply-hunk): Use the new result from diff-find-source-location.
(diff-goto-source): Use the new diff-find-source-location.
(frame-notice-user-settings): Add a last parameter nil
to a call to `append', because the last list passed to `append' is
not copied, and so subsequent calls to assq-delete-all will modify
default-frame-alist.
(xpm_init_color_cache) [ALLOC_XPM_COLORS]: If color
symbols are specified, add color translations to the cache.
(xpm_color_bucket, xpm_cache_color) [ALLOC_XPM_COLORS]: New
functions.
(xpm_lookup_color) [ALLOC_XPM_COLORS]: Use xpm_color_bucket and
xpm_cache_color.
(xpm_load) [ALLOC_XPM_COLORS]: Pass frame and XPM attributes
structures to xpm_init_color_cache.
(fancy-splash-head): If frame's background mode
is `dark', change the black background of the image to gray.
(fancy-splash-screens): Display startup echo area message.
(display-startup-echo-area-message): New function.
(command-line-1): Use it.
Miles Bader [Wed, 20 Sep 2000 07:18:35 +0000 (07:18 +0000)]
Reapply Gerd's change from 2000-09-18, which seems to have gotten lost:
(tool-bar-add-item-from-menu): Like in toolbar-add-item, if image
doesn't have a mask add a `:mask heuristic'.
Miles Bader [Wed, 20 Sep 2000 02:06:45 +0000 (02:06 +0000)]
(custom-face-tag-face, custom-group-tag-face-1)
(custom-group-tag-face, custom-variable-tag-face):
Use relative :height and inherit from `variable-pitch' face instead of
hardwiring :family.
Dave Love [Tue, 19 Sep 2000 17:36:49 +0000 (17:36 +0000)]
Renamed from toolbar.el. Change `toolbar'
to `tool-bar' generally in symbols. Make some items invisible in
`special' major modes.
(tool-bar-add-item-from-menu): Renamed from
toolbar-like-menu-item. Add arg PROPS.
Stefan Monnier [Tue, 19 Sep 2000 16:24:30 +0000 (16:24 +0000)]
Docstring fixes.
(diff-header-face, diff-comment-face): New faces.
(diff-font-lock-keywords): Highlight a bit differently.
(diff-find-source-location): Don't return SPAN any more.
(diff-hunk-text): Don't bother erasing the temp buffer.
(diff-find-text): Drop argument LINE.
(diff-apply-hunk): Update calls to diff-find-text.
(diff-goto-source): Use pop-to-buffer again and don't raise an error.
(fancy-splash-text): New variable.
(fancy-splash-delay, fancy-splash-image): New user-options.
(fancy-splash-insert, fancy-splash-head, fancy-splash-tail)
(fancy-splash-screens): New functions.
(command-line-1): If display has a `display' frame parameter, has
colors, and we have XPM support, show more fancy splash screens.
(x_draw_image_glyph_string): Remove a comment describing
a feature to implement that is already implemented.
(note_mouse_highlight, x_find_ccl_program): Avoid some compiler
warnings.
(clear_image_cache): Clear current matrices of all
frames sharing an image cache. Block input while freeing
images. Fix timestamp comparison.
(x_clear_image): Also free the mask.
(lookup_image): Block input while loading the image so
that we won't get interrupted in a state where the image isn't yet
set up completely.
(xbm_load_image, xbm_load, xpm_load, xpm_load, lookup_rgb_color)
(lookup_pixel_color, x_to_xcolors, x_from_xcolors)
(x_disable_image, x_build_heuristic_mask, pbm_load, png_load)
(jpeg_load, tiff_load, gif_load, gs_load): Don't block/unblock
input.