Commit graph

10966 commits

Author SHA1 Message Date
Gerd Moellmann
90ebdb19d1 (QCdata): Moved to xdisp.c. 2000-03-05 20:18:07 +00:00
Gerd Moellmann
847115ada3 (tags): Include ../lwlib/TAGS in TAGS. 2000-03-05 20:16:47 +00:00
Gerd Moellmann
100b3cbbd4 *** empty log message *** 2000-03-05 10:44:01 +00:00
Gerd Moellmann
a6ad00c02a (select_visual): Rewritten. Recognize user-specified
visual classes.
(visual_classes): New variable.
2000-03-05 10:25:26 +00:00
Gerd Moellmann
3997f048b2 (select_visual): Change prototype. 2000-03-05 10:24:19 +00:00
Gerd Moellmann
5ff67d81bc (x_term_init): Create a colormap if not using the
default visual.
2000-03-05 10:23:14 +00:00
Gerd Moellmann
28ee91c0e5 (try_window_id): Recompute unchanged information if
it is invalid.
2000-03-05 10:21:53 +00:00
Gerd Moellmann
64d739c445 *** empty log message *** 2000-03-04 16:04:15 +00:00
Gerd Moellmann
9b2956e2a4 (x_defined_color, x_set_mouse_color, lookup_rgb_color)
(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.
2000-03-04 16:02:15 +00:00
Gerd Moellmann
7353f3a342 (struct x_display_info): Add Colormap member `cmap'.
(FRAME_X_COLORMAP, FRAME_X_VISUAL): New macros.
2000-03-04 16:00:56 +00:00
Gerd Moellmann
43bd1b2bfe (x_term_init): Set Colormap member of x_display_info
structure.  Copy colormap if resource `privateColormap' is
specified (PseudoColor only).
(x_setup_relief_color): Access colormap of frame using
FRAME_X_COLORMAP.
2000-03-04 16:00:03 +00:00
Gerd Moellmann
276104706d (x_free_colors): Access colormap of frame using
FRAME_X_COLORMAP.  Be paranoid about freeing black and white
when default colormap is used.
2000-03-04 15:58:49 +00:00
Jason Rumney
c3cee01337 Change many FRAME_X... macros to FRAME_WINDOW... or other
non-platform-specific equivalents.
[WINDOWSNT]: include w32term.h, fontset.h and define X specific
functions and macros as their w32 equivalents where
non-platform-specifics are not available.
[HAVE_X_WINDOWS]: Change most of these to HAVE_WINDOW_SYSTEM.
(x_create_gc, x_free_gc) [WINDOWSNT]: Add W32 versions.
(clear_font_table) [WINDOWSNT]: Call w32_unload_font.
(frame_update_line_height): Use macros to access f->output_data.
(defined_color): Remove FIXME comments; fixed.
(x_face_list_fonts, prepare_face_for_display): Put X specifics into
#ifdef blocks. Add WINDOWSNT blocks.
(Fx_list_fonts): Use macros for accessing font data.
(set_lface_from_font_name): Different default fonts for X and WINDOWSNT.
(font_scalable_p) [WINDOWSNT]: Treat wildcard XLFD_AVGWIDTH as
scalable for backward compatibility.
(realize_tty_face) [MSDOS]: do the same for WINDOWSNT.
(syms_of_xfaces) [WINDOWSNT]: Allow scalable fonts by default.
2000-03-04 14:56:00 +00:00
Jason Rumney
00150e8a22 [HAVE_NTGUI]: call syms_of_xfaces instead of syms_of_w32faces. 2000-03-04 14:50:45 +00:00
Jason Rumney
1eb156f0a2 (w32faces.obj): Remove.
(xfaces.obj): Add.
2000-03-04 14:49:36 +00:00
Jason Rumney
3cd2f3279a (make_lispy_event): Call buffer_posn_from_coords with correct parameters. 2000-03-03 20:32:33 +00:00
Jason Rumney
807cc41c44 *** empty log message *** 2000-03-03 20:29:08 +00:00
Ken Raeburn
0007072a72 * unexelf.c (PT_LOAD, SHT_*, SHN_*) [__NetBSD__]: Only provide
standard ELF definitions here if the system header does not.
2000-03-03 15:28:34 +00:00
Gerd Moellmann
71a6ba55f5 *** empty log message *** 2000-03-03 14:00:31 +00:00
Gerd Moellmann
e2ef8ee6d5 (PER_CHAR_METRIC): Removed.
(x_per_char_metric_1, x_default_char): New functions.
(x_per_char_metric): If font's default char is invalid, return
metrics of a suitably chosen usable default char.
(x_draw_glyph_string_foreground): If font has an invalid default
char, replace occurrences of that char with a suitably chosen
usable default char.
2000-03-03 13:49:32 +00:00
Gerd Moellmann
42f55fe095 (free_glyphs): Block input while freeing matrices. 2000-03-02 20:11:02 +00:00
Gerd Moellmann
04fff9c055 (note_mouse_highlight): Return quickly if frame's
glyph matrices have been freed.
2000-03-02 20:08:20 +00:00
Gerd Moellmann
900fa1f131 *** empty log message *** 2000-03-02 13:46:46 +00:00
Gerd Moellmann
462d5d4016 (x_clear_image, x_kill_gs_process): Use x_free_colors. 2000-03-02 13:27:51 +00:00
Gerd Moellmann
0d605c6776 (x_alloc_lighter_color, x_setup_relief_color): Use
x_free_colors.
2000-03-02 13:26:21 +00:00
Gerd Moellmann
2ad412d781 (x_free_colors): Add prototype. 2000-03-02 13:24:54 +00:00
Gerd Moellmann
1f847cf8e5 (x_free_colors): New function.
(unload_color, free_face_colors): Use it.
2000-03-02 13:23:42 +00:00
Eli Zaretskii
2f9502922e (FRAME_INTERNAL_BORDER_WIDTH): Define to zero. 2000-03-02 12:27:37 +00:00
Eli Zaretskii
1e3c88855b [MSDOS]: Include msdos.h (for the definition of FRAME_INTERNAL_BORDER_WIDTH). 2000-03-02 12:22:49 +00:00
Dave Love
54d0432002 *** empty log message *** 2000-03-02 10:32:35 +00:00
Dave Love
d0e2c63e28 Terminate comment. 2000-03-02 10:27:35 +00:00
Dave Love
d783311de6 Don't set C_OPTIMIZE_SWITCH for gcc. 2000-03-02 10:23:27 +00:00
Dave Love
789e7334d7 Don't set C_OPTIMIZE_SWITCH. 2000-03-02 10:21:18 +00:00
Kenichi Handa
91bee88126 (coding_save_composition): Be sure to allocate
composition data area in coding even if there's no composition in
the current run.
2000-03-02 06:09:15 +00:00
Kenichi Handa
0ba93ac464 *** empty log message *** 2000-03-02 06:08:38 +00:00
Jason Rumney
a2bc11d4d8 Bring up to date with xterm.c changes of 2000-02-24 and 2000-02-25. 2000-03-01 21:13:15 +00:00
Jason Rumney
f79e6790a1 Bring up to date with xfns.c changes from 2000-02-25 and 2000-02-21. 2000-03-01 21:05:52 +00:00
Jason Rumney
e15b6288db [WINDOWSNT]: Use sys_read and sys_write to ensure correct line-ending
convention is followed.
2000-03-01 20:55:11 +00:00
Jason Rumney
37ad8b6355 [HAVE_BOXES]: Remove #undef.
(single_keymap_panes): Remove code for simulating checkmarks.
(single_menu_item): Remove notbuttons_ptr argument. Callers changed.
Remove code for drawing simulated checkmarks.
(w32_menu_show): make unibyte help string correctly.
(add_menu_item): draw standard Windows checkmarks. Draw radio buttons
as radio buttons if possible.
2000-03-01 20:49:16 +00:00
Gerd Moellmann
2df636f443 *** empty log message *** 2000-03-01 12:56:09 +00:00
Gerd Moellmann
5df5e07ce6 [__NetBSD__]: Define `unix'. 2000-03-01 12:51:03 +00:00
Gerd Moellmann
1e6a9aaf62 (LINKER) [__NetBSD__ || __OpenBSD__]: Don't define. 2000-03-01 12:50:26 +00:00
Gerd Moellmann
18975f4478 (START_FILES, CANNOT_DUMP) [__NetBSD__ || __OpenBSD__]: Don't define.
(UNEXEC) [__NetBSD__ || __OpenBSD__]: Define to unexelf.o.
(LINKER): Don't undef if __NetBSD__ is defined.
2000-03-01 12:50:01 +00:00
Gerd Moellmann
c0c9ac483c (start_of_text): Don't define this function for NetBSD
with ELF.
2000-03-01 12:49:35 +00:00
Gerd Moellmann
72d19d752b *** empty log message *** 2000-03-01 10:29:49 +00:00
Gerd Moellmann
3caa99d35d (start_busy_cursor): Allow floats for busy-cursor-delay. 2000-03-01 10:25:12 +00:00
Gerd Moellmann
50b1039fa7 (start_atimer): Don't abort when timers are stopped.
(append_atimer_lists): New function.
(cancel_atimer, stop_other_atimers, run_all_atimers): Handle
arbitrary lists of stopped and running atimers.
2000-02-29 13:50:23 +00:00
Gerd Moellmann
ed4d05122e *** empty log message *** 2000-02-29 10:16:31 +00:00
Gerd Moellmann
948709770a (cancel_atimer): Handle canceling an atimer when
some timers are stopped.
2000-02-29 09:31:42 +00:00
Gerd Moellmann
99f01f62ed (cancel_busy_cursor): Set busy_cursor_atimer to null
after canceling it.
2000-02-29 09:31:20 +00:00