comparison src/ChangeLog @ 5015:d95c102a96d3

cleanups for specifier font stages, from ben-unicode-internal (preparation for eliminating shadowed warnings) -------------------- ChangeLog entries follow: -------------------- src/ChangeLog addition: 2010-02-08 Ben Wing <ben@xemacs.org> * faces.c: * faces.c (face_property_matching_instance): * faces.c (ensure_face_cachel_contains_charset): * faces.h (FACE_FONT): * lisp.h: * lisp.h (enum font_specifier_matchspec_stages): * objects-msw.c: * objects-msw.c (mswindows_font_spec_matches_charset): * objects-msw.c (mswindows_find_charset_font): * objects-tty.c: * objects-tty.c (tty_font_spec_matches_charset): * objects-tty.c (tty_find_charset_font): * objects-xlike-inc.c: * objects-xlike-inc.c (XFUN): * objects-xlike-inc.c (xft_find_charset_font): * objects.c: * objects.c (font_instantiate): * objects.c (FROB): * specifier.c: * specifier.c (charset_matches_specifier_tag_set_p): * specifier.c (call_charset_predicate): * specifier.c (define_specifier_tag): * specifier.c (Fdefine_specifier_tag): * specifier.c (setup_charset_initial_specifier_tags): * specifier.c (specifier_instance_from_inst_list): * specifier.c (FROB): * specifier.c (vars_of_specifier): * specifier.h: Rename the specifier-font-matching stages in preparation for eliminating shadowed warnings, some other related fixes from ben-unicode-internal. 1. Rename raw enums: initial -> STAGE_INITIAL final -> STAGE_FINAL impossible -> NUM_MATCHSPEC_STAGES 2. Move `enum font_specifier_matchspec_stages' from specifier.h to lisp.h. 3. Whitespace changes to match coding standards. 4. Eliminate unused second argument STAGE in charset predicates that don't use it -- the code that calls the charset predicates is now smart enough to supply the right number of arguments automatically. 5. Add some long(ish) comments and authorial notices, esp. in objects.c. 6. In specifier.c, change Vcharset_tag_lists from a vector over leading bytes to a hash table over charsets. This change is unnecessary currently but doesn't hurt and will be required when we merge in Unicode-internal. 7. In specifier.c, extract out the code that calls charset predicates into a function call_charset_predicate().
author Ben Wing <ben@xemacs.org>
date Mon, 08 Feb 2010 16:51:25 -0600
parents c2e0c3af5fe3
children 2ade80e8c640
comparison
equal deleted inserted replaced
5014:c2e0c3af5fe3 5015:d95c102a96d3
1 2010-02-08 Ben Wing <ben@xemacs.org>
2
3 * faces.c:
4 * faces.c (face_property_matching_instance):
5 * faces.c (ensure_face_cachel_contains_charset):
6 * faces.h (FACE_FONT):
7 * lisp.h:
8 * lisp.h (enum font_specifier_matchspec_stages):
9 * objects-msw.c:
10 * objects-msw.c (mswindows_font_spec_matches_charset):
11 * objects-msw.c (mswindows_find_charset_font):
12 * objects-tty.c:
13 * objects-tty.c (tty_font_spec_matches_charset):
14 * objects-tty.c (tty_find_charset_font):
15 * objects-xlike-inc.c:
16 * objects-xlike-inc.c (XFUN):
17 * objects-xlike-inc.c (xft_find_charset_font):
18 * objects.c:
19 * objects.c (font_instantiate):
20 * objects.c (FROB):
21 * specifier.c:
22 * specifier.c (charset_matches_specifier_tag_set_p):
23 * specifier.c (call_charset_predicate):
24 * specifier.c (define_specifier_tag):
25 * specifier.c (Fdefine_specifier_tag):
26 * specifier.c (setup_charset_initial_specifier_tags):
27 * specifier.c (specifier_instance_from_inst_list):
28 * specifier.c (FROB):
29 * specifier.c (vars_of_specifier):
30 * specifier.h:
31 Rename the specifier-font-matching stages in preparation for
32 eliminating shadowed warnings, some other related fixes from
33 ben-unicode-internal.
34
35 1. Rename raw enums:
36 initial -> STAGE_INITIAL
37 final -> STAGE_FINAL
38 impossible -> NUM_MATCHSPEC_STAGES
39 2. Move `enum font_specifier_matchspec_stages' from
40 specifier.h to lisp.h.
41 3. Whitespace changes to match coding standards.
42 4. Eliminate unused second argument STAGE in charset predicates
43 that don't use it -- the code that calls the charset predicates
44 is now smart enough to supply the right number of arguments
45 automatically.
46 5. Add some long(ish) comments and authorial notices, esp. in
47 objects.c.
48 6. In specifier.c, change Vcharset_tag_lists from a vector over
49 leading bytes to a hash table over charsets. This change is
50 unnecessary currently but doesn't hurt and will be required
51 when we merge in Unicode-internal.
52 7. In specifier.c, extract out the code that calls charset predicates
53 into a function call_charset_predicate().
54
1 2010-02-08 Ben Wing <ben@xemacs.org> 55 2010-02-08 Ben Wing <ben@xemacs.org>
2 56
3 * emacs.c: 57 * emacs.c:
4 * emacs.c (assert_failed): 58 * emacs.c (assert_failed):
5 Fix comments about when inhibit_non_essential_printing_operations 59 Fix comments about when inhibit_non_essential_printing_operations