annotate msdos/sed2.inp @ 94938:5752d7154afc

Throughout the file, delete all USE_FONT_BACKEND conditionals. Don't check enable_font_backend. Delete all codes used only when USE_FONT_BACKEND is not defined. Use FONT_XXX_NAME_NUMERIC instead of face_numeric_xxx. (QCfoundry, QCadstyle, QCregistry, QCspacing, QCsize, QCavgwidth) (Qp): Extern them. (clear_font_table, load_face_font, xlfd_lookup_field_contents): Deleted. (struct font_name): Deleted. (xlfd_numeric_value, xlfd_symbolic_value): Deleted. (compare_fonts_by_sort_order): New function. (xlfd_numeric_slant, xlfd_symbolic_slant, xlfd_numeric_weight) (xlfd_symbolic_weight, xlfd_numeric_swidth, xlfd_symbolic_swidth): Deleted. (Fx_family_fonts): Use font_list_entities, and sort fonts by compare_fonts_by_sort_order. (Fx_font_family_list): Call Ffont_family_list. (face_numeric_value, face_numeric_weight, face_numeric_slant) (face_numeric_swidth, face_symbolic_value, face_symbolic_weight) (face_symbolic_slant, face_symbolic_swidth) (split_font_name_into_vector, build_font_name_from_vector) (xlfd_fixed_p, xlfd_point_size, pixel_point_size) (font_rescale_ratio, split_font_name, build_font_name) (free_font_names, sort_fonts, x_face_list_fonts) (face_font_available_p, sorted_font_list, cmp_font_names) (font_list_1, concat_font_list, font_list, remove_duplicates): Deleted. (Fx_list_fonts): Use Ffont_list. (LFACE_AVGWIDTH): Deleted. (check_lface_attrs): Don't check LFACE_AVGWIDTH. Check LFACE_FONT by FONTP. (lface_fully_specified_p): Don't check LFACE_AVGWIDTH. (set_lface_from_font_name): Delete it. (set_lface_from_font): Renamed from set_lface_from_font_and_fontset. Caller changed. Don't set LFACE_AVGWIDTH. Use FONT_XXX_FOR_FACE to get a symbol suitable for face. (merge_face_vectors): Copy font-spec if necessary. Clear properties of the font-spec if necessary. (merge_face_ref): Clear properties of the font-spec if necessary. (Finternal_set_lisp_face_attribute): Likewise. (set_font_frame_param): Use font_load_for_lface to load a font-object, and call Fmodify_frame_parameters with it. (x_update_menu_appearance): Don't check LFACE_AVGWIDTH. Get XLFD font name by Ffont_xlfd_name. (Finternal_lisp_face_attribute_values): Don't check QCweight, QCslant, and QCwidth. (Fface_font): Get a font name from font->props[FONT_NAME_INDEX]. (lface_same_font_attributes_p): Don't check LFACE_AVGWIDTH. Compare fonts by EQ. (lookup_non_ascii_face): Deleted. (face_for_font): The 2nd argument changed. (x_supports_face_attributes_p): Don't check LFACE_AVGWIDTH. Check atomic font properties by case insensitive. (realize_non_ascii_face): Set face->overstrike correctly. (realize_x_face): Likewise. Check if LFACE_FONT is a font_object. (dump_realized_face): Get font name from font->props[FONT_NAME_INDEX]. Don't print font_info_id.
author Kenichi Handa <handa@m17n.org>
date Wed, 14 May 2008 01:41:52 +0000
parents 319d87609e42
children 606f2d163a64 dc97fcf1ed7e
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
7204
6e219f77e69e We have bcmp. Configuration is "msdos". Get rid of ^Ms.
Richard M. Stallman <rms@gnu.org>
parents: 5219
diff changeset
1 # -sed2.inp-------------------------------------------------------------
7230
0dc95caa2188 Identify the file being patched as src/...
Richard M. Stallman <rms@gnu.org>
parents: 7204
diff changeset
2 # Configuration script for src/config.h
7204
6e219f77e69e We have bcmp. Configuration is "msdos". Get rid of ^Ms.
Richard M. Stallman <rms@gnu.org>
parents: 5219
diff changeset
3 # ----------------------------------------------------------------------
36461
a4fb0c9be609 Add copyright notices for all files. README is a new file, mainly
Eli Zaretskii <eliz@gnu.org>
parents: 33776
diff changeset
4 #
75249
4ad431d8e164 Update copyright for years from Emacs 21 to present (mainly adding
Glenn Morris <rgm@gnu.org>
parents: 68648
diff changeset
5 # Copyright (C) 1993, 1994, 1995, 1996, 1997, 1999, 2000, 2001, 2002,
79742
319d87609e42 Add 2008 to copyright years.
Glenn Morris <rgm@gnu.org>
parents: 75249
diff changeset
6 # 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
36461
a4fb0c9be609 Add copyright notices for all files. README is a new file, mainly
Eli Zaretskii <eliz@gnu.org>
parents: 33776
diff changeset
7 #
a4fb0c9be609 Add copyright notices for all files. README is a new file, mainly
Eli Zaretskii <eliz@gnu.org>
parents: 33776
diff changeset
8 # This file is part of GNU Emacs.
a4fb0c9be609 Add copyright notices for all files. README is a new file, mainly
Eli Zaretskii <eliz@gnu.org>
parents: 33776
diff changeset
9 #
a4fb0c9be609 Add copyright notices for all files. README is a new file, mainly
Eli Zaretskii <eliz@gnu.org>
parents: 33776
diff changeset
10 # This file is free software; as a special exception, the author gives
a4fb0c9be609 Add copyright notices for all files. README is a new file, mainly
Eli Zaretskii <eliz@gnu.org>
parents: 33776
diff changeset
11 # unlimited permission to copy and/or distribute it, with or without
a4fb0c9be609 Add copyright notices for all files. README is a new file, mainly
Eli Zaretskii <eliz@gnu.org>
parents: 33776
diff changeset
12 # modifications, as long as this notice is preserved.
a4fb0c9be609 Add copyright notices for all files. README is a new file, mainly
Eli Zaretskii <eliz@gnu.org>
parents: 33776
diff changeset
13 #
a4fb0c9be609 Add copyright notices for all files. README is a new file, mainly
Eli Zaretskii <eliz@gnu.org>
parents: 33776
diff changeset
14 # This program is distributed in the hope that it will be useful,
a4fb0c9be609 Add copyright notices for all files. README is a new file, mainly
Eli Zaretskii <eliz@gnu.org>
parents: 33776
diff changeset
15 # but WITHOUT ANY WARRANTY; without even the implied warranty of
a4fb0c9be609 Add copyright notices for all files. README is a new file, mainly
Eli Zaretskii <eliz@gnu.org>
parents: 33776
diff changeset
16 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
a4fb0c9be609 Add copyright notices for all files. README is a new file, mainly
Eli Zaretskii <eliz@gnu.org>
parents: 33776
diff changeset
17 #
a4fb0c9be609 Add copyright notices for all files. README is a new file, mainly
Eli Zaretskii <eliz@gnu.org>
parents: 33776
diff changeset
18 # ----------------------------------------------------------------------
7204
6e219f77e69e We have bcmp. Configuration is "msdos". Get rid of ^Ms.
Richard M. Stallman <rms@gnu.org>
parents: 5219
diff changeset
19 /^#undef LISP_FLOAT_TYPE *$/s/undef/define/
6e219f77e69e We have bcmp. Configuration is "msdos". Get rid of ^Ms.
Richard M. Stallman <rms@gnu.org>
parents: 5219
diff changeset
20 /^#undef GNU_MALLOC *$/s/undef/define/
6e219f77e69e We have bcmp. Configuration is "msdos". Get rid of ^Ms.
Richard M. Stallman <rms@gnu.org>
parents: 5219
diff changeset
21 /^#undef REL_ALLOC *$/s/undef/define/
15005
4d6af48d7446 Under DJGPP v2, use <sys/config.h> instead of most of config.h.in.
Richard M. Stallman <rms@gnu.org>
parents: 14259
diff changeset
22 /^#undef HAVE_SYS_SELECT/i\
12133
e7d81d04043b Define STDC_HEADERS.
Karl Heuer <kwzh@gnu.org>
parents: 9572
diff changeset
23 /^#undef STDC_HEADERS *$/s/undef/define/
7204
6e219f77e69e We have bcmp. Configuration is "msdos". Get rid of ^Ms.
Richard M. Stallman <rms@gnu.org>
parents: 5219
diff changeset
24 /^#undef HAVE_SYS_TIMEB_H *$/s/undef/define/
6e219f77e69e We have bcmp. Configuration is "msdos". Get rid of ^Ms.
Richard M. Stallman <rms@gnu.org>
parents: 5219
diff changeset
25 /^#undef HAVE_SYS_TIME_H *$/s/undef/define/
6e219f77e69e We have bcmp. Configuration is "msdos". Get rid of ^Ms.
Richard M. Stallman <rms@gnu.org>
parents: 5219
diff changeset
26 # /^#undef HAVE_UNISTD_H *$/s/undef/define/
6e219f77e69e We have bcmp. Configuration is "msdos". Get rid of ^Ms.
Richard M. Stallman <rms@gnu.org>
parents: 5219
diff changeset
27 /^#undef HAVE_GETTIMEOFDAY *$/s/undef/define/
6e219f77e69e We have bcmp. Configuration is "msdos". Get rid of ^Ms.
Richard M. Stallman <rms@gnu.org>
parents: 5219
diff changeset
28 /^#undef HAVE_GETHOSTNAME *$/s/undef/define/
6e219f77e69e We have bcmp. Configuration is "msdos". Get rid of ^Ms.
Richard M. Stallman <rms@gnu.org>
parents: 5219
diff changeset
29 /^#undef HAVE_DUP2 *$/s/undef/define/
6e219f77e69e We have bcmp. Configuration is "msdos". Get rid of ^Ms.
Richard M. Stallman <rms@gnu.org>
parents: 5219
diff changeset
30 /^#undef HAVE_TM_ZONE *$/s/undef/define/
14259
c52f7f0d5fd5 (LOCALTIME_CACHE, HAVE_TZSET): Define these.
Karl Heuer <kwzh@gnu.org>
parents: 12991
diff changeset
31 /^#undef LOCALTIME_CACHE *$/s/undef/define/
c52f7f0d5fd5 (LOCALTIME_CACHE, HAVE_TZSET): Define these.
Karl Heuer <kwzh@gnu.org>
parents: 12991
diff changeset
32 /^#undef HAVE_TZSET *$/s/undef/define/
7204
6e219f77e69e We have bcmp. Configuration is "msdos". Get rid of ^Ms.
Richard M. Stallman <rms@gnu.org>
parents: 5219
diff changeset
33 /^#undef TM_IN_SYS_TIME *$/s/undef/define/
6e219f77e69e We have bcmp. Configuration is "msdos". Get rid of ^Ms.
Richard M. Stallman <rms@gnu.org>
parents: 5219
diff changeset
34 /^#undef TIME_WITH_SYS_TIME *$/s/undef/define/
6e219f77e69e We have bcmp. Configuration is "msdos". Get rid of ^Ms.
Richard M. Stallman <rms@gnu.org>
parents: 5219
diff changeset
35 /^#undef HAVE_RENAME *$/s/undef/define/
6e219f77e69e We have bcmp. Configuration is "msdos". Get rid of ^Ms.
Richard M. Stallman <rms@gnu.org>
parents: 5219
diff changeset
36 /^#undef HAVE_CLOSEDIR *$/s/undef/define/
6e219f77e69e We have bcmp. Configuration is "msdos". Get rid of ^Ms.
Richard M. Stallman <rms@gnu.org>
parents: 5219
diff changeset
37 /^#undef HAVE_RANDOM *$/s/undef/define/
6e219f77e69e We have bcmp. Configuration is "msdos". Get rid of ^Ms.
Richard M. Stallman <rms@gnu.org>
parents: 5219
diff changeset
38 /^#undef HAVE_MKDIR *$/s/undef/define/
6e219f77e69e We have bcmp. Configuration is "msdos". Get rid of ^Ms.
Richard M. Stallman <rms@gnu.org>
parents: 5219
diff changeset
39 /^#undef HAVE_RMDIR *$/s/undef/define/
6e219f77e69e We have bcmp. Configuration is "msdos". Get rid of ^Ms.
Richard M. Stallman <rms@gnu.org>
parents: 5219
diff changeset
40 /^#undef HAVE_BCMP *$/s/undef/define/
6e219f77e69e We have bcmp. Configuration is "msdos". Get rid of ^Ms.
Richard M. Stallman <rms@gnu.org>
parents: 5219
diff changeset
41 /^#undef HAVE_BCOPY *$/s/undef/define/
6e219f77e69e We have bcmp. Configuration is "msdos". Get rid of ^Ms.
Richard M. Stallman <rms@gnu.org>
parents: 5219
diff changeset
42 /^#undef HAVE_FREXP *$/s/undef/define/
6e219f77e69e We have bcmp. Configuration is "msdos". Get rid of ^Ms.
Richard M. Stallman <rms@gnu.org>
parents: 5219
diff changeset
43 /^#undef HAVE_FTIME *$/s/undef/define/
15005
4d6af48d7446 Under DJGPP v2, use <sys/config.h> instead of most of config.h.in.
Richard M. Stallman <rms@gnu.org>
parents: 14259
diff changeset
44 /^#undef HAVE_MKTIME *$/s/undef/define/
8249
6a072f705d7d (HAVE_STRERROR): Define.
Richard M. Stallman <rms@gnu.org>
parents: 8197
diff changeset
45 /^#undef HAVE_STRERROR *$/s/undef/define/
12991
00db8b604656 Define STDC_HEADERS.
Richard M. Stallman <rms@gnu.org>
parents: 12135
diff changeset
46 /^#undef HAVE_TIMEVAL *$/s/undef/define/
7204
6e219f77e69e We have bcmp. Configuration is "msdos". Get rid of ^Ms.
Richard M. Stallman <rms@gnu.org>
parents: 5219
diff changeset
47 s/^#define USER_FULL_NAME .*$/#define USER_FULL_NAME (getenv ("NAME"))/
6e219f77e69e We have bcmp. Configuration is "msdos". Get rid of ^Ms.
Richard M. Stallman <rms@gnu.org>
parents: 5219
diff changeset
48 s/^#undef STACK_DIRECTION *$/#define STACK_DIRECTION -1/
19333
af9d0a7cd7cd EMACS_CONFIGURATION: Set to i386-pc-msdosdjgpp.
Eli Zaretskii <eliz@gnu.org>
parents: 18836
diff changeset
49 s/^#undef EMACS_CONFIGURATION *$/#define EMACS_CONFIGURATION "i386-pc-msdosdjgpp"/
9572
b36d5e88cccc *** empty log message ***
Morten Welinder <terra@diku.dk>
parents: 8249
diff changeset
50 s/^#undef EMACS_CONFIG_OPTIONS *$/#define EMACS_CONFIG_OPTIONS "-"/
7204
6e219f77e69e We have bcmp. Configuration is "msdos". Get rid of ^Ms.
Richard M. Stallman <rms@gnu.org>
parents: 5219
diff changeset
51 s!^#undef config_opsysfile *$!#define config_opsysfile "s/msdos.h"!
8197
d6a441681fb4 Use "m/intel386" instead of "m/dos386.h".
Richard M. Stallman <rms@gnu.org>
parents: 7596
diff changeset
52 s!^#undef config_machfile *$!#define config_machfile "m/intel386.h"!
28135
fc8364eb65b1 Add PROTOTYPES and POINTER_TYPE, per the new config.in.
Eli Zaretskii <eliz@gnu.org>
parents: 27448
diff changeset
53 s/^#undef PROTOTYPES *$/#define PROTOTYPES 1/
fc8364eb65b1 Add PROTOTYPES and POINTER_TYPE, per the new config.in.
Eli Zaretskii <eliz@gnu.org>
parents: 27448
diff changeset
54 s/^#undef POINTER_TYPE *$/#define POINTER_TYPE void/
52401
695cf19ef79e Add arch taglines
Miles Bader <miles@gnu.org>
parents: 44632
diff changeset
55
695cf19ef79e Add arch taglines
Miles Bader <miles@gnu.org>
parents: 44632
diff changeset
56 # arch-tag: 31840234-109a-41ab-a675-7a3844978299