| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
variable argument lists of XtVaGetValues and XtVaSetValues.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
(x_set_name): Use x_encode_text.
(x_set_title): Likewise.
|
|
|
|
| |
use that instead of the mouse position. Add parameters DX and DY.
|
| |
|
|
|
|
| |
(syms_of_xfns): Defsubr it.
|
|
|
|
| |
in x_create_frame.
|
|
|
|
| |
differently.
|
| |
|
| |
|
| |
|
|
|
|
| |
(syms_of_xfns): Move `image-types' to xdisp.c.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(enum image_value_type): Add IMAGE_ASCENT_VALUE.
(parse_image_spec): Handle IMAGE_ASCENT_VALUE.
(image_ascent): New function.
(lookup_image): Recognize `:ascent center'.
(xbm_format, xpm_format, pbm_format, png_format, jpeg_format)
(tiff_format, gif_format, gs_format): Use IMAGE_ASCENT_VALUE.
(xbm_load): Don't set image's ascent here.
(xbm_image_p, xpm_image_p, pbm_image_p, png_image_p)
(jpeg_image_p, tiff_image_p, gif_image_p, gs_image_p): Don't
check ascent values here.
(Fimagep, Flookup_image [GLYPH_DEBUG]: Removed.
(syms_of_xfns) [GLYPH_DEBUG]: Don't defsubr removed functions.
(syms_of_xfns): Initialize Qcenter.
|
|
|
|
|
|
|
|
|
|
|
|
| |
(xbm_image_p): Handle case of in-memory XBM files.
(xbm_scan): Rewritten to work on memory buffers instead of files.
(xbm_read_bitmap_data): Renamed from xbm_read_bitmap_file_data.
Work on memory buffers instead of files. If DATA is null test
if buffer looks like an in-memory XBM file.
(xbm_load_image): Renamed from xbm_load_image_file. Work on
memory buffers instead of files.
(xbm_file_p): New function.
(xbm_load): Accept :data DATA where DATA is an in-memory XBM file.
|
|
|
|
|
|
| |
(Fx_create_frame): Set line spacing from resources.
(Qline_spacing): New variable.
(syms_of_xfns): Initialize Qline_spacing.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* xdisp.c (compute_string_pos): Fix order of arguments to
string_pos_nchars_ahead.
(handle_fontified_prop, add_to_log): Pass int, not Lisp_Object, as
count arg to variable-arg routines like Frun_hook_with_args and Fformat.
(back_to_previous_visible_line_start, build_desired_tool_bar_string):
Pass Lisp_Object, not int, to fixed-arg routines like
Fget_char_property and Fmake_string.
(reconsider_clip_changes): Use XINT when comparing integer lisp
objects, or passing them as int arguments.
(mark_window_display_accurate, insert_left_trunc_glyphs, append_space,
extend_face_to_end_of_line): Use make_number when storing or passing
integer values as lisp objects.
(set_cursor_from_row, highlight_trailing_whitespace): Use INTEGERP,
not implicit test against zero, for glyph object.
(try_window_id): Don't use make_number when we want an int value.
* xfaces.c (xlfd_symbolic_value): Make last argument a Lisp_Object, to
be consistent with callers.
(Fbitmap_spec_p): Use XINT to get numeric value of height.
(lface_hash): Apply XFASTINT to lisp values before folding in.
* xfns.c (Fx_show_tip): Use make_number to get lisp objects to fill in window
width and height. Pass an int, not a lisp object, as first arg to Finsert.
|
|
|
|
| |
last, after all its members have been freed.
|
| |
|
|
|
|
| |
(x_set_cursor_type): Use it.
|
|
|
|
|
| |
(x_create_tip_frame): Likewise.
(Fx_close_connection): Free full_name of font_info.
|
|
|
|
|
| |
number of bits per RGB because it's everywhere used as the depth
of the visual.
|
|
|
|
|
|
| |
(create_frame_xic): Remove conditional compilation on
X_I18N_INHIBITED.
(x_kill_gs_process, x_window): Use FRAME_X_VISUAL.
|
| |
|
| |
|
|
|
|
| |
(Fx_focus_frame): New function.
|
|
|
|
| |
orig_height if set.
|
| |
|
|
|
|
|
| |
visual classes.
(visual_classes): New variable.
|
|
|
|
|
|
|
|
|
|
|
|
| |
(lookup_pixel_color, x_laplace, x_build_heuristic_mask)
(png_load): Access colormap of frame using FRAME_X_COLORMAP.
(x_decode_color): Don't handle allocation of white and black
specially.
(x_window) [USE_X_TOOLKIT]: Set XtNvisual, XtNdepth, and
XtNcolormap resources.
(x_window) [!USE_X_TOOLKIT]: Pass colormap to XCreateWindow.
(Fx_create_frame): Initialize color members of x_output structure.
(xpm_load): Pass colormap to XPM lib.
|
| |
|
| |
|
|
|
|
| |
after canceling it.
|
|
|
|
|
|
|
|
|
|
| |
(Fx_show_busy_cursor, Fx_hide_busy_cursor): Removed.
(busy_cursor_atimer, busy_cursor_shown_p, Vbusy_cursor_delay): New
variables.
(DEFAULT_BUSY_CURSOR_DELAY): New define.
(start_busy_cursor, cancel_busy_cursor, show_busy_cursor)
(hide_busy_cursor): New functions.
(syms_of_xfns): DEFVAR_LISP Vbusy_cursor_delay.
|
|
|
|
| |
(x_non_menubar_window_to_frame): Check the busy-cursor window.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
window-relative pixel-positions.
(x_create_im): Removed.
(DEFAULT_STYLE, DEFAULT_FONT): Removed.
(supported_xim_styles): Renamed from supported_styles.
(best_xim_style): Renamed from best_style.
(create_frame_xic): Renamed from xic_create_frame.
(free_frame_xic): Renamed from xic_destroy_frame.
(supported_styles): New variable.
(DEFAULT_STYLE, DEFAULT_FONT): New macros
(xic_create_xfontset, best_style, xic_create_frame)
(xic_destroy_frame, xic_set_preeditarea, xic_set_statusarea)
(xic_set_xfontset): New functions.
|
|
|
|
| |
list.
|
|
|
|
|
|
| |
Check that input style is supported before trying to create an
IC for it.
(x_window): Call x_create_im.
|
|
|
|
|
|
| |
(gif_load): Record the address of the current memory source
in current_gif_memory_src.
(gif_read_from_memory): Use current_gif_memory_src.
|
|
|
|
|
|
|
|
| |
All calls adjusted.
(x_build_heuristic_mask): Likewise.
(xbm_load_image_from_file): Change error output.
(xbm_load, xpm_load, pbm_load, png_load, jpeg_load, tiff_load)
(gif_load, gs_load, x_kill_gs_process): Ditto.
|
|
|
|
|
|
|
|
|
|
|
|
| |
color indices when accessing raster pixels.
(gif_image_p, png_image_p, jpeg_image_p, tiff_image_p): Allow only
one of :file or :data.
(enum pbm_keyword_index): Add PBM_DATA.
(pbm_format): Add :data.
(pbm_image_p): Allow either :file or :data.
(pbm_read_file): New function.
(pbm_scan_number): Rewritten to read from string.
(pbm_load): Support :data.
|
|
|
|
| |
color indices when accessing raster pixels.
|
|
|
|
|
| |
(png_load, tiff_load, jpeg_load, gif_load): Always GCPRO local
variable `file'.
|
|
|
|
| |
forcing them to be on disk. GIF/JPEG/PNG/TIFF currently support this.
|
|
|
|
|
|
|
|
| |
(jpeg_format): Add :data.
(jpeg_image_p): Handle :data.
(our_fill_input_buffer, our_skip_input_data, our_term_source)
(jpeg_memory_src): New functions.
(jpeg_load): Read image from string data.
|
| |
|