Commit graph

17043 commits

Author SHA1 Message Date
Richard M. Stallman
d147ee841a (Fformat): Translate positions of text properties
in the format string to apply them to the result.
2003-04-09 01:28:44 +00:00
Richard M. Stallman
4773b8ca20 (openp): Get the Qfile_exists_p handler for STRING, not FN. 2003-04-08 17:11:00 +00:00
Richard M. Stallman
cf6d23577d (Finsert_file_contents): Doc fix.
(syms_of_fileio) <after-insert-file-functions>: Doc fix.
2003-04-08 17:09:23 +00:00
Steven Tamm
e8f2574565 mac.c (init_mac_osx_environment): Switch libexec and bin so that self-
cohntained application find libexec files.
2003-04-08 16:11:37 +00:00
Kenichi Handa
7c08684536 *** empty log message *** 2003-04-08 11:28:57 +00:00
Kenichi Handa
7de6cd0aee (coding_system_accept_latin_extra_p): New function.
(find_safe_codings): Pay attention to characters registered in
latin-extra-code-table.
2003-04-08 11:27:28 +00:00
Kenichi Handa
24a948a781 (code_convert_region): Fix last change. 2003-04-08 10:46:31 +00:00
Kenichi Handa
2310d84c27 *** empty log message *** 2003-04-08 07:26:33 +00:00
Kenichi Handa
1c7457e294 (code_convert_region_unwind): Set
Vlast_coding_system_used to the argument.
(code_convert_region): If post-read-conversion function changed
the value of last-coding-sytem, keep the new value in
coding->symbol so that it won't be overridden.
(run_pre_post_conversion_on_str): Likewise.
2003-04-08 07:26:05 +00:00
Thien-Thi Nguyen
39c9a034e3 (md5.o): Add missing dependency info. 2003-04-07 14:14:13 +00:00
Richard M. Stallman
eb67c5d64d *** empty log message *** 2003-04-06 20:42:09 +00:00
Richard M. Stallman
4f06187ff2 (x_handle_selection_request): Move UNGCPRO to very end. 2003-04-06 20:35:06 +00:00
Richard M. Stallman
55a91ea3b5 (verify_bytepos): New function. 2003-04-06 20:33:59 +00:00
Richard M. Stallman
727fec2d40 Add many calls to CHECK_TOTAL_LENGTH.
(set_intervals_multibyte_1): When becoming
multibyte, adjust right and left child sizes to a whole set of
characters.  If an interval gets zero total-length, delete it.
If an interval consists of just its children, delete one of them.
2003-04-06 20:32:52 +00:00
Richard M. Stallman
e5a9c92a9f (CHECK_TOTAL_LENGTH): New macro. 2003-04-06 20:29:13 +00:00
Richard M. Stallman
64ea14d3be Comment change. 2003-04-06 20:28:28 +00:00
Richard M. Stallman
918a23a7d9 (VALIDATE_LISP_STORAGE): Macro deleted. All calls deleted.
(lisp_malloc): Do the work here directly.
2003-04-06 20:27:19 +00:00
Juanma Barranquero
b1f81fc530 (Flength): Return SUB_CHAR_TABLE_ORDINARY_SLOTS for sub char tables. 2003-04-06 13:32:17 +00:00
Richard M. Stallman
c65fd37090 Break the line after the return type in function definition. 2003-04-04 21:15:53 +00:00
Kenichi Handa
aa8b70aef5 (Fformat): Use a copy of FORMAT string so that we can
destructively change "%S" to "%s".
2003-04-04 10:47:26 +00:00
Miles Bader
774666fb43 (choose_face_font): Make sure *NEEDS_OVERSTRIKE is always set. 2003-04-03 01:40:58 +00:00
Dave Love
19c37f01f8 *** empty log message *** 2003-04-01 10:23:35 +00:00
Dave Love
9b8a0941bb (xpm_lookup_color): Grok "opaque". 2003-04-01 10:04:38 +00:00
Kim F. Storm
3e6a560b5b *** empty log message *** 2003-04-01 09:57:22 +00:00
Andrew Choi
2f4b24c371 Fix build on Mac OS X with Carbon. 2003-04-01 01:09:13 +00:00
Kim F. Storm
874ebf3a3e *** empty log message *** 2003-03-31 22:45:30 +00:00
Kim F. Storm
eee66ed58e (frame.o): Add dependency on blockinput.h and files
included from it (atimer.h and systime.h).
2003-03-31 22:41:23 +00:00
Juanma Barranquero
9443fcf690 *** empty log message *** 2003-03-31 21:32:25 +00:00
Juanma Barranquero
0c126b96ba ($(BLD)/frame.$(O)): Add dependency on blockinput.h and files included from it. 2003-03-31 21:31:05 +00:00
Juanma Barranquero
19f093e5ec (x_set_scroll_bar_default_width): Define return value as void. 2003-03-31 21:16:55 +00:00
Juanma Barranquero
6f5a04e1a9 (x_wm_set_icon_position): Define return value as void. 2003-03-31 21:15:51 +00:00
Juanma Barranquero
a17029208a (display_x_get_resource): Use Display_Info argument, not x_display_info. 2003-03-31 21:00:47 +00:00
Kim F. Storm
2731a0ade1 Fix compilation for --with-x=no. 2003-03-31 20:41:41 +00:00
Kim F. Storm
47103c7753 (EMACS_CLASS): Remove. Use generic define.
(struct w32_display_info): Fix type of xrdb member.
(enum FULLSCREEN_*): Remove.
Remove prototypes for generic functions (in frame.h).
2003-03-31 20:36:37 +00:00
Kim F. Storm
f8240bf81d Remove unnecessary extern declarations.
(x_fullscreen_adjust): Remove. Use generic instead.
(x_redisplay_interface): Add x_frame_parm_handlers member.
2003-03-31 20:36:31 +00:00
Kim F. Storm
7c0d3ed81f The following changes consolidates the common code related to
frame-parameter handling from the xfns.c, w32fns.c, and macfns.c
files into frame.c.

* xfns.c (Qauto_raise, Qauto_lower, ...): Remove vars for frame
parameters now defined in frame.h and frame.c.
(Vx_resource_name): Remove. Use generic var.
(enum x_frame_parms): Remove (bogus, unused enum).
(check_x_display_info): Make non-static (for frame.c).
(struct x_frame_parm_table, x_frame_parms): Remove.
(init_x_parm_symbols, x_set_frame_parameters, x_report_frame_params)
(x_set_line_spacing, x_set_screen_gamma, x_icon_type, x_set_font)
(x_set_border_width, x_set_internal_border_width, x_set_visibility)
(x_change_window_heights, x_set_autoraise, x_set_autolower)
(x_set_vertical_scroll_bars, x_set_scroll_bar_width)
(validate_x_resource_name, Fx_get_resource, x_get_resource_string)
(x_default_parameter, Fx_parse_geometry, x_figure_window_size):
Remove.  Use generic functions instead.
(enum resource_types): Remove.
(x_set_scroll_bar_default_width): New global function (for frame.c).
(Fx_create_frame): Depend on x_figure_window_size to add space for
toolbar and setup size_hint_flags.
(x_frame_parm_handlers): New table for redisplay_interface.
(syms_of_xfns): Don't intern/staticpro removed vars.
2003-03-31 20:36:21 +00:00
Kim F. Storm
b5bcda6db2 Remove extern decl for frame parameter vars. 2003-03-31 20:36:05 +00:00
Kim F. Storm
92a373e30f (change_window_heights): Add prototype. 2003-03-31 20:35:57 +00:00
Kim F. Storm
cdbc7fec13 Remove extern decl for frame parameter vars.
(change_window_heights): New generic function;
replaces x_change_window_heights.  All users changed.
2003-03-31 20:35:51 +00:00
Kim F. Storm
abdb2fa0bb (EMACS_CLASS): Remove. Use generic define.
(struct w32_display_info): Fix type of xrdb member.
(enum FULLSCREEN_*): Remove.
(x_fullscreen_adjust): Remove prototype.
2003-03-31 20:35:43 +00:00
Kim F. Storm
ccbf77bb5b Remove unnecessary extern declarations.
(x_fullscreen_adjust): Remove. Use generic instead.
(x_redisplay_interface): Add w32_frame_parm_handlers member.
2003-03-31 20:35:36 +00:00
Kim F. Storm
5a152aa0ad (x_get_string_resource): Use XrmDatabase. 2003-03-31 20:35:24 +00:00
Kim F. Storm
574bdd83ed (XrmDatabase): New (dummy) typedef. 2003-03-31 20:35:17 +00:00
Kim F. Storm
6d9063478a * w32fns.c (Qauto_raise, Qauto_lower, ...): Remove vars for frame
parameters now defined in frame.h and frame.c.
(Vx_resource_name): Remove. Use generic var.
(enum x_frame_parms): Remove (bogus, unused enum).
(check_x_display_info): Make non-static (for frame.c).
(struct x_frame_parm_table, x_frame_parms): Remove.
(init_x_parm_symbols, x_set_frame_parameters, x_report_frame_params)
(x_set_line_spacing, x_set_screen_gamma, x_icon_type, x_set_font)
(x_set_border_width, x_set_internal_border_width, x_set_visibility)
(x_change_window_heights, x_set_autoraise, x_set_autolower)
(x_set_vertical_scroll_bars, x_set_scroll_bar_width)
(validate_x_resource_name, Fx_get_resource, x_get_resource_string)
(x_default_parameter, Fx_parse_geometry, x_figure_window_size):
Remove.  Use generic functions instead.
(enum resource_types): Remove.
(x_set_scroll_bar_default_width): New global function (for frame.c).
(Fx_create_frame): Depend on x_figure_window_size to add space for
toolbar and setup size_hint_flags.
(w32_frame_parm_handlers): New table for redisplay_interface.
(syms_of_w32fns): Don't intern/staticpro removed vars.
2003-03-31 20:35:09 +00:00
Kim F. Storm
c900f29192 (EMACS_CLASS): Remove.
(struct mac_display_info): Add xrdb member.
(struct mac_output): Add want_fullscreen member.
2003-03-31 20:34:56 +00:00
Kim F. Storm
88cd462dc6 Remove unnecessary extern declarations.
(x_redisplay_interface): Add mac_frame_parm_handlers member.
2003-03-31 20:34:48 +00:00
Kim F. Storm
42556ca4fc (Qauto_raise, Qauto_lower, ...): Remove vars for frame
parameters now defined in frame.h and frame.c.
(Vx_resource_name): Remove. Use generic var.
(check_x_display_info): Make non-static (for frame.c).
(struct x_frame_parm_table, x_frame_parms): Remove.
(init_x_parm_symbols, x_set_frame_parameters, x_report_frame_params)
(x_set_line_spacing, x_set_screen_gamma, x_icon_type, x_set_font)
(x_set_border_width, x_set_internal_border_width, x_set_visibility)
(x_change_window_heights, x_set_autoraise, x_set_autolower)
(x_set_vertical_scroll_bars, x_set_scroll_bar_width)
(validate_x_resource_name, Fx_get_resource, x_get_resource_string)
(x_default_parameter, Fx_parse_geometry, x_figure_window_size):
Remove.  Use generic functions instead.
(enum resource_types): Remove.
(x_set_scroll_bar_default_width): New global function (for frame.c).
(mac_frame_parm_handlers): New table for redisplay_interface.
(syms_of_macfns): Don't intern/staticpro removed vars.
2003-03-31 20:34:30 +00:00
Kim F. Storm
5e02ce1187 (Qauto_raise, Qauto_lower, ...): Declare extern all frame
parameter related vars defined in frame.c.
(EMACS_CLASS): Define here.
(enum FULLSCREEN_*): Define here.
(x_set_scroll_bar_default_width, x_wm_set_icon_position)
(x_set_offset, x_new_font, x_new_fontset): Add prototypes.
(x_fullscreen_adjust, x_set_frame_parameters, x_report_frame_params)
(x_set_fullscreen, x_set_line_spacing, x_set_screen_gamma, x_set_font)
(x_set_fringe_width, x_set_border_width, x_set_internal_border_width)
(x_set_visibility, x_set_autoraise, x_set_autolower)
(x_set_unsplittable, x_set_vertical_scroll_bars)
(x_set_scroll_bar_width, x_icon_type, validate_x_resource_name)
(x_figure_window_size): Add prototypes.
2003-03-31 20:34:17 +00:00
Kim F. Storm
972f4259c1 Include blockinput.h.
(Vx_resource_name, Vx_resource_class, Qx_frame_parameter)
(Qx_resource_name, Qface_set_after_frame_default): Define vars here.
(Qauto_raise, Qauto_lower, ...): Define all frame parameter
related vars here.
(struct frame_parm_table, frame_parms): New table for describing
frame parameters and their associated Q-variable.
The order of the parameters corresponds to the sequence of the
frame_parm_handlers table in redisplay_interface.
(x_fullscreen_move, x_set_frame_parameters)
(x_report_frame_params, x_set_fullscreen, x_set_line_spacing)
(x_set_screen_gamma, x_set_font, x_set_fringe_width)
(x_set_border_width, x_set_internal_border_width, x_set_visibility)
(x_set_autoraise, x_set_autolower, x_set_unsplittable)
(x_set_vertical_scroll_bars, x_set_scroll_bar_width, x_icon_type):
Generic functions for processing of frame parameters.
(validate_x_resource_name, xrdb_get_resource, Fx_get_resource)
(display_x_get_resource, x_get_resource_string): Functions for
generic access to X resources.
(x_get_arg, x_frame_get_arg, x_frame_get_and_record_arg)
(x_default_parameter, Fx_parse_geometry): Functions for generic
access to frame parameters.
(x_figure_window_size): Generic calculation of frame size. Fixed
to add space needed for tool bar.  Also setup size_hint_flags.
(syms_of_frame): Intern and staticpro frame parameter variables.
Defvar_lisp Vx_resource_class and Vx_resource_name here.
Defsubr Sx_get_resource and Sx_parse_geometry.
2003-03-31 20:33:58 +00:00
Kim F. Storm
e6b3aecd0a (frame_parm_handler): New typedef.
(struct redisplay_interface): New member frame_parm_handlers.
(enum resource_types): Move declaration here.
(x_get_arg, x_frame_get_arg, x_frame_get_and_record_arg)
(x_default_parameter): Add prototypes.
2003-03-31 20:33:14 +00:00