Commit graph

12352 commits

Author SHA1 Message Date
Gerd Moellmann
0a321fcf4e (Fread_file_name): Doc fix. 2000-09-20 16:24:15 +00:00
Gerd Moellmann
3a8a3a66d3 (Fmessage_or_box): Doc fix. 2000-09-20 16:23:54 +00:00
Gerd Moellmann
cd234430cc (Fy_or_n_p, Fyes_or_no_p): Doc fix. 2000-09-20 16:23:27 +00:00
Gerd Moellmann
b7e11c5bb5 *** empty log message *** 2000-09-20 14:07:25 +00:00
Gerd Moellmann
0a695da7ff (xbm_scan): Allow C-style comments. 2000-09-20 13:51:22 +00:00
Gerd Moellmann
8320414c2b *** empty log message *** 2000-09-20 11:22:36 +00:00
Gerd Moellmann
f72c62ad9c (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.
2000-09-20 10:59:45 +00:00
Gerd Moellmann
da1608d959 *** empty log message *** 2000-09-19 16:18:31 +00:00
Jeff Bailey
1c024bdaaa Add warning to top of source files 2000-09-19 15:47:02 +00:00
Gerd Moellmann
001f93f3eb (update_window_line): Make sure to always draw
mode-lines.
2000-09-19 15:18:07 +00:00
Andrew Innes
6badfa25d2 (bootstrap-emacs): Don't change directory. 2000-09-19 13:12:49 +00:00
Kenichi Handa
1b7649bd05 *** empty log message *** 2000-09-19 00:39:37 +00:00
Kenichi Handa
b10d420d0f (UNIBYTE_STR_AS_MULTIBYTE_P): Fix previous change. 2000-09-19 00:33:58 +00:00
Kenichi Handa
a3d8fcf244 (Fccl_execute_on_string): Make multibyte string correctly.
If output buffer is too small, signal an appropriated error.
2000-09-19 00:14:17 +00:00
Kenichi Handa
3a5f42bbb9 *** empty log message *** 2000-09-19 00:13:47 +00:00
Gerd Moellmann
5cefa566fb (x_display_and_set_cursor): Don't show a hollow box
cursor for buffers whose cursor_type is nil.
2000-09-18 21:12:22 +00:00
Dave Love
9f83cf0bd0 (menu_bar_items, tool_bar_items)
(current_active_maps): Remove redundant get_local_map call.
2000-09-18 18:45:34 +00:00
Gerd Moellmann
6fed3546d9 *** empty log message *** 2000-09-18 13:40:30 +00:00
Gerd Moellmann
f9b5db0256 (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.
2000-09-18 13:18:16 +00:00
Gerd Moellmann
dd00328a08 (x_clear_image_1): New function.
(x_clear_image): Use it.
(x_from_xcolors): Use x_clear_image_1; don't free the image's
mask.
2000-09-18 13:17:55 +00:00
Gerd Moellmann
05b1f851b3 *** empty log message *** 2000-09-18 12:25:57 +00:00
Gerd Moellmann
504805ac2f (update_window): Move test for invisible lines
at the top to update_window_line.
(update_window_line): Handle invisible lines here.
2000-09-18 11:39:53 +00:00
Gerd Moellmann
f4779de9e9 (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.
2000-09-18 11:17:46 +00:00
Gerd Moellmann
28c7826c71 (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.
2000-09-18 10:52:08 +00:00
Gerd Moellmann
b74123131b (update_window): Make sure to make desired rows
current even if they are completely invisible at the top
of a window.
2000-09-16 13:39:36 +00:00
Gerd Moellmann
7f8f1edc23 *** empty log message *** 2000-09-15 21:01:39 +00:00
Gerd Moellmann
14819cb379 (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.
2000-09-15 21:01:29 +00:00
Gerd Moellmann
37e4e48286 (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.
2000-09-15 21:01:14 +00:00
Stefan Monnier
0e93ece638 Sort alphabetically and add `Makefile'. 2000-09-15 20:58:45 +00:00
Gerd Moellmann
ebb8f1165d *** empty log message *** 2000-09-15 15:22:07 +00:00
Gerd Moellmann
b243755a13 (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.
2000-09-15 15:19:03 +00:00
Gerd Moellmann
47e351a327 *** empty log message *** 2000-09-15 11:49:22 +00:00
Gerd Moellmann
4a8e312c92 (QCmatrix, QCcolor_adjustment, QCmask, Qemboss)
(Qedge_detection, Qheuristic): New symbols.
(syms_of_xfns): Initialize new symbols.
(lookup_image): Handle `:mask X', `:algorithm emboss', and
`algorithm (edge-detection ...)'.
(xbm_format, xpm_format, pbm_format, png_format, jpeg_format):
(tiff_format, gif_format, gs_format): Add `:mask'.
(XBM_MASK, XPM_MASK, PBM_MASK, PNG_MASK, JPEG_MASK, TIFF_MASK)
(GIF_MASK, GS_MASK): New enumerators.
(x_laplace_read_row, x_laplace_write_row): Functions removed.
(emboss_matrix, laplace_matrix): New variables.
(x_to_xcolors, x_from_xcolors, x_detect_edges, x_emboss)
(x_edge_detection): New functions.
(x_laplace): Rewritten in terms of x_detect_edges.
(x_build_heuristic_mask): If image has a mask, free it.
2000-09-15 11:48:16 +00:00
Andrew Innes
fe83b953b1 *** empty log message *** 2000-09-14 22:00:54 +00:00
Andrew Innes
7bbaaeddf0 Revert to Unix line endings. 2000-09-14 21:59:59 +00:00
Andrew Innes
3021e8160b *** empty log message *** 2000-09-14 21:51:49 +00:00
Andrew Innes
dfaaaafb67 (w32_per_char_metric): Handle non-TrueType fonts. 2000-09-14 21:34:22 +00:00
Andrew Innes
cf498eda60 Standardize indentation somewhat.
(bootstrap-temacs): Use $(ARGQUOTE) instead of literal quotes, to
cater for differences between shells.
2000-09-14 21:32:40 +00:00
Gerd Moellmann
2a32b5ea15 (x_produce_glyphs): If the distance from the current
position to the next tab stop is less than a canonical character
width, use the tab stop after that.
2000-09-14 20:20:51 +00:00
Dave Love
b4331e964a *** empty log message *** 2000-09-14 19:47:28 +00:00
Dave Love
815add8485 (alloc_buffer_text): Fix xmalloc call. 2000-09-14 19:39:11 +00:00
Gerd Moellmann
085536c273 (handle_fontified_prop): While running fontification
functions, bind `fontification-functions' and
`after-change-functions' to nil.
2000-09-14 19:17:36 +00:00
Gerd Moellmann
ef9e43452f *** empty log message *** 2000-09-14 15:15:16 +00:00
Gerd Moellmann
02bb17d31c Remove everything having to do with the use of mmap. 2000-09-14 15:14:28 +00:00
Gerd Moellmann
39c75ccb52 (BUFFER_ALLOC, BUFFER_REALLOC, BUFFER_FREE): Removed.
(enlarge_buffer_text): Add prototype.
2000-09-14 15:14:15 +00:00
Gerd Moellmann
b86af064c5 Move allocation with mmap here, from ralloc.c. Change
conditional compilation on REL_ALLOC_MMAP to USE_MMAP_FOR_BUFFERS.
(mmap_alloc, mmap_free, mmap_realloc) [REL_ALLOC_MMAP]: Renamed
from former r_alloc_* functions in ralloc.c.
(mmap_page_size, mmap_initialized_p) [REL_ALLOC_MMAP]: New
variables.
(MEM_ALIGN) [REL_ALLOC_MMAP]: New macro.
(mmap_init) [REL_ALLOC_MMAP]: New function.
(alloc_buffer_text, enlarge_buffer_text, free_buffer_text): New
functions replacing macros BUFFER_ALLOC, BUFFER_REALLOC, and
BUFFER_FREE.
2000-09-14 15:14:02 +00:00
Gerd Moellmann
71a7bfa7ee (make_gap): Use enlarge_buffer_text. 2000-09-14 15:13:29 +00:00
Gerd Moellmann
a74c5ec1a4 Change conditional compilation on REL_ALLOC_MMAP to
USE_MMAP_FOR_BUFFERS.
2000-09-14 15:13:18 +00:00
Gerd Moellmann
95f784a935 (mallocobj) [SYSTEM_MALLOC]: Don't add ralloc.o. 2000-09-14 15:13:02 +00:00
Gerd Moellmann
67cdbf1682 (USE_MMAP_FOR_BUFFERS): Define instead of REL_ALLOC_MMAP. 2000-09-14 15:12:48 +00:00