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.
Miles Bader [Mon, 18 Sep 2000 08:18:36 +0000 (08:18 +0000)]
(diff-hunk-text):
Add new optional arg LINE-OFFSET, and return a cons if it's non-nil.
(diff-apply-hunk):
Try to jump to the exact line in the source text corresponding to the
position of point in the in the hunk.
Dave Love [Sun, 17 Sep 2000 17:06:00 +0000 (17:06 +0000)]
(calendar-mode-line-format): Make fields
mouse-sensitive.
(calendar-read-date, calendar-read-date, calendar-window-list):
Unquote lambda.
(calendar-month-name): Use aref, not sref.
Miles Bader [Sun, 17 Sep 2000 16:21:42 +0000 (16:21 +0000)]
(Info-fontify-node):
Make a few cleanups.
Add extra `help-echo' and `local-map' props to node xrefs.
Use header-specific faces for node-names & xrefs.
(Info-use-header-line, Info-header-line):
New variables.
(info-header, info-header-xref, info-header-node):
New faces.
(Info-setup-header-line):
New function.
(Info-select-node):
Call Info-setup-header-line when enabled.
(Info-extract-pointer):
Work even if the header line is hidden.
Stefan Monnier [Sun, 17 Sep 2000 01:00:09 +0000 (01:00 +0000)]
(lm-get-header-re): Allow spaces between the header and the colon.
(lm-header-prefix): Cleanup the regexp.
(lm-header): Allow $ in non-RCS headers.
(lm-header-multiline): Put the strings back into order.
Stop at an empty line. Don't require two space chars if the
line is clearly not another header line.
(lookup_image): Build mask before applying an algorithm.
Recognize algorithm `disabled'.
(cross_disabled_images): New variable.
(COLOR_INTENSITY): New macro.
(x_detect_edges): Use COLOR_INTENSITY.
(x_disable_image): New function.
(syms_of_xfns): DEFVAR_BOOL cross_disabled_images.
(build_desired_tool_bar_string): For a toolbar item in
disabled state, don't apply an image transformation algorithm if
the user specified an image for the disabled state. Use
`:algorthm disabled' for creating a disabled item's image if the
user hasn't specified an image.
Dave Love [Fri, 15 Sep 2000 17:22:25 +0000 (17:22 +0000)]
Sync with maintainer's current version with changes
for Emacs, but avoid runtime cl and levents.
(toplevel): Change autoloads and compilation requires.
(strokes-version, strokes-bug-address, strokes-lift): Values
changed.
(strokes-xpm-header, strokes-insinuated): New variable.
(strokes): Add :link.
(strokes-mode): Customized.
(strokes-while-inhibiting-garbage-collector): New macro.
(strokes-remassoc): Avoid remove-if.
(strokes-fix-button2-command): Don't use ad-do-it.
(strokes-insinuate): New function.
(strokes-button-press-event-p, strokes-button-release-event-p):
New functions, used instead of non-`strokes-' versions..
(strokes-mouse-event-p): Rewritten.
(strokes-event-closest-point): Avoid event-point.
(strokes-get-grid-position): Avoid cdadr, caadr
(strokes-read-stroke, strokes-read-complex-stroke): Avoid levents
functions.
(strokes-help): Use with-output-to-temp-buffer.
(strokes-window-configuration-changed-p): New function.
(strokes-update-window-configuration): Use buffer-live-p,
strokes-window-configuration-changed-p.
(strokes-mode): Use strokes-insinuate. Alter mouse bindings.
(strokes-char-face): New face.
(strokes-char-table, strokes-base64-chars): New variable.
(strokes-xpm-for-stroke, strokes-list-strokes)
(strokes-xpm-char-on-p, strokes-xpm-char-bit-p)
(strokes-xpm-encode-length-as-string, strokes-xpm-decode-char)
(strokes-xpm-to-compressed-string, strokes-decode-buffer)
(strokes-encode-buffer, strokes-xpm-for-compressed-string)
(strokes-compose-complex-stroke, strokes-alphabetic-lessp): New
functions.
(ALLOC_XPM_COLORS): Define if we can use Emacs' color
allocation functions with the XPM lib.
(struct xpm_cached_color) [ALLOC_XPM_COLORS]: New structure.
(XPM_COLOR_CACHE_BUCKETS) [ALLOC_XPM_COLORS]: New macro.
(xpm_color_cache) [ALLOC_XPM_COLORS]: New variable.
(xpm_init_color_cache, xpm_free_color_cache, xpm_lookup_color)
(xpm_alloc_color, xpm_free_colors) [ALLOC_XPM_COLORS]: New
functions.
(xpm_load) [ALLOC_XPM_COLORS]: Use Emacs' own color allocation
functions, if possible, because these handle color allocation
failure more gracefully.
(Fimage_mask_p): New function.
Andrew Innes [Thu, 14 Sep 2000 21:51:16 +0000 (21:51 +0000)]
Standardize indentation somewhat.
Add bootstrap support.
Pass $(MFLAGS) when invoking make recursively.
Add shell-specific variants of top-level targets that invoke make
recursively in other directories, and add necessary computed
dependencies.
Andrew Innes [Thu, 14 Sep 2000 21:40:59 +0000 (21:40 +0000)]
Change to DOS line endings.
Simplify the generation of makefiles (don't need to generate
various top-level targets that invoke make in other directories).