1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-07 12:20:39 -08:00
Commit graph

18000 commits

Author SHA1 Message Date
Stefan Monnier
f52a3ca37e (Finteractive_form): Rename from Fsubr_interactive_form.
Extend to handle all kinds of functions.
2004-03-29 00:48:32 +00:00
Kim F. Storm
be21b92592 (syms_of_xdisp): Include `void-variable' in list_of_error
to catch errors in calc_pixel_width_or_height during redisplay.
2004-03-26 00:33:18 +00:00
Kim F. Storm
6fc4c9c950 *** empty log message *** 2004-03-26 00:32:56 +00:00
Kim F. Storm
b17856dd34 *** empty log message *** 2004-03-25 23:52:28 +00:00
Masatake YAMATO
abdb9b8306 * insdel.c (adjust_markers_for_insert): Call fix_start_end_in_overlays.
* buffer.c (fix_start_end_in_overlays): Rename fix_overlays_in_range.
* editfns.c (Ftranspose_regions): Likewise.
* lisp.h (top_level): Likewise.
2004-03-25 18:05:29 +00:00
Jan Djärv
e8a84b6c3a * xterm.c (handle_one_xevent): Do not pass key press events to
GTK.
2004-03-20 16:11:23 +00:00
Richard M. Stallman
c2c81360f7 Delete previous change. 2004-03-20 01:10:19 +00:00
Richard M. Stallman
36a3fd05cf *** empty log message *** 2004-03-20 01:09:45 +00:00
Kim F. Storm
ab24c1278d *** empty log message *** 2004-03-19 21:10:52 +00:00
Kim F. Storm
4540d74ccd (move_it_in_display_line_to): Fix MOVE_TO_POS case when
to_charpos corresponds to newline in right fringe.  Use local
BUFFER_POS_REACHED_P macro.
2004-03-19 20:32:39 +00:00
Jan Djärv
992126decd xdisp.c (calc_pixel_width_or_height): Add ifdef HAVE_WINDOW_SYSTEM
to compile on non-window system.
2004-03-19 13:57:08 +00:00
Kim F. Storm
da06e4d71b (Qcenter): Declare here.
(syms_of_xdisp): intern and staticpro it.
(handle_single_display_prop): Allow space display property on all
platforms.
(display_mode_line): Set mode_line_p before displaying line.
(calc_pixel_width_or_height): Declare extern.  Add separate :align-to
handling.  Remove complex cases for fringes and scroll-bars.
Add left, right, and center alignment positions. Add text (area)
width/height.  Return width or height for image specs.
(produce_stretch_glyph): Improve handling of :align-to.  Is now
relative to left of text area by default, but other base offsets
can be specified -- also for text lines.
2004-03-19 00:43:16 +00:00
Kim F. Storm
f46c2affad (produce_glyphs): Handle IT_STRETCH.
(produce_stretch_glyph): New function to handle space width and
align-to display properties on non-window systems.
2004-03-19 00:42:48 +00:00
Kim F. Storm
e1dfec150b (Qcenter): Move to xdisp.c. 2004-03-19 00:42:37 +00:00
Kim F. Storm
7ee8103edd (calc_pixel_width_or_height): Add prototype. 2004-03-19 00:42:24 +00:00
Kim F. Storm
45dbfc84ec *** empty log message *** 2004-03-19 00:41:56 +00:00
Stefan Monnier
372641015e *** empty log message *** 2004-03-18 02:59:33 +00:00
Stefan Monnier
72d967dd1a (Fread_file_name): Set completion-ignore-case for case-insensitive systems. 2004-03-18 02:58:45 +00:00
Masatake YAMATO
73bc43da2e (note_mode_line_or_margin_highlight): Accept HEADER_LINE when keymap and cursor are setup. 2004-03-16 13:12:03 +00:00
Steven Tamm
9062aa8928 * Makefile.in (XMENU_OBJ): Do not include xmenu.o if
HAVE_CARBON is defined.
2004-03-14 18:43:56 +00:00
Kim F. Storm
e61d86f7b9 (x_find_image_file): Remove prototype. 2004-03-14 00:28:46 +00:00
Kim F. Storm
c640aa9b33 (x_find_image_file): Make extern. 2004-03-14 00:28:35 +00:00
Kim F. Storm
f27823c657 (x_find_image_file): Add prototype. 2004-03-14 00:28:01 +00:00
Kim F. Storm
e4b1b5ab00 *** empty log message *** 2004-03-14 00:27:38 +00:00
Eli Zaretskii
5109b06a47 *** empty log message *** 2004-03-13 13:13:14 +00:00
Eli Zaretskii
c8e35ff020 (XMENU_OBJ): Include xmenu.o if HAVE_MENUS is defined. 2004-03-13 12:56:53 +00:00
Eli Zaretskii
67fd74d84f (main): Call syms_of_xmenu only if HAVE_MENUS is defined. 2004-03-13 12:55:41 +00:00
Richard M. Stallman
e69cfac29e *** empty log message *** 2004-03-12 10:16:20 +00:00
Richard M. Stallman
6054c58214 (internal_equal): New arg PROPS controls comparing
text properties.  All callers changed.
(Fequal_including_properties): New function.
(syms_of_fns): defsubr it.
2004-03-12 10:07:36 +00:00
Kim F. Storm
45034953f4 *** empty log message *** 2004-03-11 22:48:33 +00:00
Kim F. Storm
ed627ef5a7 * macterm.h (x_list_fonts, x_get_font_info, x_load_font)
(x_query_font, x_find_ccl_program, x_set_window_size)
(x_make_frame_visible, mac_initialize, XCreatePixmap)
(XCreatePixmapFromBitmapData, XFreePixmap, XSetForeground)
(mac_draw_line_to_pixmap): Add prototypes.
2004-03-11 22:43:49 +00:00
Kim F. Storm
6321121d3f (XTread_socket): Fix mouse click on tool bar. 2004-03-11 22:43:32 +00:00
Kim F. Storm
671be7897e (x_list_fonts, x_get_font_info, x_load_font)
(x_query_font, x_find_ccl_program, x_set_window_size)
(x_make_frame_visible, mac_initialize, XCreatePixmap)
(XCreatePixmapFromBitmapData, XFreePixmap, XSetForeground)
(mac_draw_line_to_pixmap): Move prototypes to macterm.h.
2004-03-11 22:43:18 +00:00
Kim F. Storm
75fd7da16a (XImagePtr, XImagePtr_or_DC): Move typedefs to dispextern.h. 2004-03-11 22:43:06 +00:00
Kim F. Storm
0ccb519d36 * dispextern.h (XImagePtr, XImagePtr_or_DC): Add typedefs.
(image_background, image_background_transparent): Fix prototypes.
2004-03-11 22:42:47 +00:00
Kim F. Storm
d9a4b477b0 Move image related prototypes from xfns.c section to image.c.
Condition them by HAVE_WINDOW_SYSTEM rather than HAVE_X_WINDOWS.
2004-03-11 11:17:27 +00:00
Kim F. Storm
d3ab1cf1fc *** empty log message *** 2004-03-11 11:16:52 +00:00
Kim F. Storm
37de9f5143 Typo 2004-03-11 11:08:44 +00:00
Kim F. Storm
a12d3d8700 (XOBJ): Consolidate into one list. Add fringe.o.
Move gtkutil.o to new GTK_OBJ list.
(XMENU_OBJ) [HAVE_MENUS]: Move declaration to proper place.
(GTK_OBJ) [USE_GTK]: New declaration.
(obj): Add $(GTK_OBJ) to list.
2004-03-11 11:05:55 +00:00
Steven Tamm
5243c06a3a * image.c [MAC_OSX]: Include sys/stat.h
* macfns.c (syms_of_macfns): Remove definitions of things now
	defined in image.c
2004-03-11 05:56:41 +00:00
Miles Bader
1b9f8ceccc Add arch tagline 2004-03-11 05:45:22 +00:00
Kim F. Storm
c0f97789bf Image consolidation. 2004-03-11 00:31:31 +00:00
Kim F. Storm
3cdbfa1922 Image consolidation:
(XOBJ, MAC_OBJ): Add image.o.
(image.o): Add dependencies.
2004-03-11 00:29:25 +00:00
Kim F. Storm
175ca1f4cb Image consolidation:
(x_bitmap_height, x_bitmap_width, x_bitmap_pixmap)
(x_reference_bitmap, x_create_bitmap_from_data)
(x_create_bitmap_from_file, x_destroy_bitmap)
(x_create_bitmap_mask): Move prototypes from dispextern.h.
(gamma_correct) [MAC_OS]: Add prototype.
2004-03-11 00:29:12 +00:00
Kim F. Storm
6e7e181dfc Image consolidation:
(main) [HAVE_WINDOW_SYSTEM]: Add calls to syms_of_image
and init_image.  Remove call to init_xfns.
2004-03-11 00:28:46 +00:00
Kim F. Storm
4ef0d4d03e New file (image.c) for Image consolidation:
(COLOR_TABLE_SUPPORT): New define to control whether
color table support is available (X only).
(Bitmap_Record): Common name for x_bitmap_record,
w32_bitmap_record, and mac_bitmap_record.
(XImagePtr): Common name for pointer to XImage or equivalent.
(XImagePtr_or_DC): New type to simplify code sharing; equivalent
to XImagePtr on X+MAC, and to HDC on W32.
(GET_PIXEL): Wrapper for XGetPixel or equivalent.
(NO_PIXMAP): Common name for "None" or equivalent.
(PNG_BG_COLOR_SHIFT): Bits to shift PNG background colors.
(RGB_PIXEL_COLOR): Common type for an integer "pixel color" value.
(PIX_MASK_RETAIN, PIX_MASK_DRAW): Portability macros (from macfns.c).
(FRAME_X_VISUAL, x_defined_color, DefaultDepthOfScreen): Define
with suitable equivalents on W32 and MAC for code sharing.
(XDrawLine): Define on MAC for code sharing.
(Destroy_Image, Free_Pixmap): Wrappers for code sharing.
(IF_LIB_AVAILABLE): Macro to simplify code sharing.
(Vx_bitmap_file_path, Vimage_cache_eviction_delay)
(x_bitmap_height, x_bitmap_width, x_bitmap_pixmap)
(x_reference_bitmap, x_create_bitmap_from_data)
(x_create_bitmap_from_file, x_destroy_bitmap)
(x_destroy_all_bitmaps, x_create_bitmap_mask)
(XGetImage, XPutPixel, XGetPixel, XDestroyImage)
(QCascent, QCmargin, QCrelief, QCconversion, QCcolor_symbols)
(QCheuristic_mask, QCindex, QCmatrix, QCcolor_adjustment, QCmask)
(Qlaplace, Qemboss, Qedge_detection, Qheuristic, Qcenter)
(define_image_type, lookup_image_type, valid_image_p)
(image_error, enum image_value_type, struct image_keyword)
(parse_image_spec, image_spec_value, Fimage_size, Fimage_mask_p)
(make_image, free_image, prepare_image_for_display, image_ascent)
(four_corners_best, image_background, image_background_transparent)
(x_clear_image_1,  x_clear_image, x_alloc_image_color)
(make_image_cache, free_image_cache, clear_image_cache)
(Fclear_image_cache, postprocess_image, lookup_image, cache_image)
(forall_images_in_image_cache, x_create_x_image_and_pixmap)
(x_destroy_x_image, x_put_x_image, x_find_image_file, slurp_file)
(find_image_fsspec, image_load_qt_1, image_load_quicktime)
(init_image_func_pointer, image_load_quartz2d)
(struct ct_color, init_color_table, free_color_table)
(lookup_rgb_color, lookup_pixel_color, colors_in_color_table)
(cross_disabled_images, x_to_xcolors, x_from_xcolors)
(x_detect_edges, x_emboss, x_laplace, x_edge_detection)
(x_disable_image, x_build_heuristic_mask)
(XBM support, XPM support, PBM support, PNG support, JPEG support)
(TIFF support, GIF support, Ghostscript support): Consolidate image
code from xfns.c, w32fns.c, and macfns.c.
(syms_of_image): Consolidate image related symbol setup here.
(init_image): Consolidate image related initializations here.
2004-03-11 00:28:24 +00:00
Kim F. Storm
49b2acfd63 Image consolidation:
(syms_of_image, init_image): Add protoypes.
(init_xfns): Remove prototype.
2004-03-11 00:27:33 +00:00
Kim F. Storm
8dd5ac07f4 Image consolidation:
(Vx_bitmap_file_path, Vimage_cache_eviction_delay)
(x_bitmap_height, x_bitmap_width, x_bitmap_pixmap)
(x_reference_bitmap, x_create_bitmap_from_data)
(x_create_bitmap_from_file, x_destroy_bitmap)
(x_destroy_all_bitmaps, x_create_bitmap_mask)
(XGetImage, XPutPixel, XGetPixel, XDestroyImage)
(QCascent, QCmargin, QCrelief, QCconversion, QCcolor_symbols)
(QCheuristic_mask, QCindex, QCmatrix, QCcolor_adjustment, QCmask)
(Qlaplace, Qemboss, Qedge_detection, Qheuristic, Qcenter)
(define_image_type, lookup_image_type, valid_image_p)
(image_error, enum image_value_type, struct image_keyword)
(parse_image_spec, image_spec_value, Fimage_size, Fimage_mask_p)
(make_image, free_image, prepare_image_for_display, image_ascent)
(four_corners_best, image_background, image_background_transparent)
(x_clear_image_1,  x_clear_image, x_alloc_image_color)
(make_image_cache, free_image_cache, clear_image_cache)
(Fclear_image_cache, postprocess_image, lookup_image, cache_image)
(forall_images_in_image_cache, x_create_x_image_and_pixmap)
(x_destroy_x_image, x_put_x_image, x_find_image_file, slurp_file)
(find_image_fsspec, image_load_qt_1, image_load_quicktime)
(init_image_func_pointer, image_load_quartz2d)
(struct ct_color, init_color_table, free_color_table)
(lookup_rgb_color, lookup_pixel_color, colors_in_color_table)
(cross_disabled_images, x_to_xcolors, x_from_xcolors)
(x_detect_edges, x_emboss, x_laplace, x_edge_detection)
(x_disable_image, x_build_heuristic_mask)
(XBM support, XPM support, PBM support, PNG support, JPEG support)
(TIFF support, GIF support, Ghostscript support): Merge with image
code from xfns.c and macfns.c into image.c.
(syms_of_xfns): Move image related symbols to image.c.
(init_external_image_libraries, init_xfns): Remove; initialization
moved to init_image in image.c.
2004-03-11 00:27:13 +00:00
Kim F. Storm
79af19c406 Image consolidation:
(struct mac_bitmap_record): Add file member.  Not
currently used, but simplifies code sharing.
2004-03-11 00:26:50 +00:00
Kim F. Storm
25abe3d4f6 Image consolidation:
(OBJ1): Add image.o.
($(BLD)/image.$(O)): Add dependencies.
2004-03-11 00:26:37 +00:00