comparison src/ChangeLog @ 456:e7ef97881643 r21-2-43

Import from CVS: tag r21-2-43
author cvs
date Mon, 13 Aug 2007 11:41:24 +0200
parents d7a9135ec789
children c33ae14dd6d0
comparison
equal deleted inserted replaced
455:5b97c1cd6ed0 456:e7ef97881643
1 2001-01-26 Martin Buchholz <martin@xemacs.org>
2
3 Port pdump to SGI alignment-sensitive environment.
4 Lisp Object sizeof methods now return aligned sizes. Rely on that.
5 Eliminate is_lrecord since Lisp_Objects sizeof methods are now all
6 properly aligned.
7 Define and use aligned reading and writing macros.
8 Use buffered stdio instead of posix i/o for faster dumping.
9 Eliminate kludgy 256 byte space for header.
10 Read and write from dump file using structs for alignment safety.
11 * dumper.c (pdump_align_stream): New.
12 * dumper.c (PDUMP_ALIGN_OUTPUT): New.
13 * dumper.c (PDUMP_READ_ALIGNED): New.
14 * dumper.c (PDUMP_WRITE_ALIGNED): New.
15 * dumper.c (pdump_static_Lisp_Object): New struct.
16 * dumper.c (pdump_static_pointer): New struct.
17 * dumper.c (pdump_entry_list_element): Remove is_lrecord member.
18 * dumper.c (pdump_add_entry): Remove is_lrecord parameter.
19 * dumper.c (pdump_dump_data): Rely on sizeof method alignment.
20 * dumper.c (pdump_allocate_offset): Rely on sizeof method alignment.
21
22 * dumper.c (pdump_backtrace):
23 * dumper.c (pdump_get_indirect_count):
24 * dumper.c (pdump_register_object):
25 * dumper.c (pdump_register_struct):
26 * dumper.c (pdump_reloc_one):
27 * dumper.c (pdump_scan_by_alignment):
28 * dumper.c (pdump_dump_from_root_struct_ptrs):
29 * dumper.c (pdump_dump_opaques):
30 * dumper.c (pdump_dump_rtables):
31 * dumper.c (pdump_dump_from_root_objects):
32 * dumper.c (pdump):
33 * dumper.c (pdump_load_finish):
34 Use aligned reading and writing.
35
36 * dumper.c (pdump_free): Make static.
37 * dumper.c (pdump_hFile): Likewise.
38 * dumper.c (pdump_hMap): Likewise.
39
40 2001-01-26 Martin Buchholz <martin@xemacs.org>
41
42 * XEmacs 21.2.43 "Terspichore" is released.
43
44 2001-01-25 Martin Buchholz <martin@xemacs.org>
45
46 Type fiddling for window_config.saved_windows_count
47 * window.c (struct window_config):
48 Make saved_windows_count member unsigned.
49 * window.c (sizeof_window_config_for_n_windows):
50 Make parameter unsigned.
51 * window.c (mark_window_config):
52 * window.c (window_config_equal):
53 * window.c (free_window_configuration):
54 * window.c (Fset_window_configuration):
55 * window.c (count_windows):
56 * window.c (Fcurrent_window_configuration):
57 * window.c (reinit_vars_of_window):
58 Update all callers and users.
59
60 2001-01-25 Martin Buchholz <martin@xemacs.org>
61
62 Alignment correctness for flexible arrays.
63 * lisp.h (FLEXIBLE_ARRAY_STRUCT_SIZEOF):
64 Make alignment-correct. Add interesting comments.
65 * alloc.c (size_vector):
66 * alloc.c (make_vector_internal):
67 * alloc.c (make_bit_vector_internal):
68 * alloc.c (sweep_bit_vectors_1):
69 * fns.c (size_bit_vector):
70 Update all callers of FLEXIBLE_ARRAY_STRUCT_SIZEOF to add new arg.
71 * window.c (sizeof_window_config_for_n_windows):
72 Use FLEXIBLE_ARRAY_STRUCT_SIZEOF.
73
74 2001-01-24 Martin Buchholz <martin@xemacs.org>
75
76 * lread.c (read1): Rename `fexp', which is #defined in SGI's math.h
77
78 2001-01-23 Andy Piper <andy@xemacs.org>
79
80 * select.c (Fown_selection_internal): pass owned_p
81
82 * select-msw.c (mswindows_own_selection): New Signature.
83
84 * console.h (struct console_methods): add owned_p to
85 _own_selection.
86
87 * select-x.c (x_own_selection): pass owned_p
88 (hack_motif_clipboard_selection): use owned_p
89 (vars_of_select_x): new variable -
90 x_selection_strict_motif_ownership.
91
92 2001-01-23 Martin Buchholz <martin@xemacs.org>
93
94 * specifier.h (specifier_data_offset): Remove pointless parens.
95 * glyphs.h (IMAGE_SPECIFIER_DATA): Likewise.
96
97 2001-01-24 Martin Buchholz <martin@xemacs.org>
98
99 Make Lisp_Object sizeof methods be alignment-correct.
100 pdump must restore objects to the same alignment as the C compiler
101 assumes. It really matters on SGIs.
102 * lstream.c (aligned_sizeof_lstream): New.
103 (sizeof_lstream): Use aligned_sizeof_lstream.
104 (Lstream_new): Likewise.
105 * opaque.c (aligned_sizeof_opaque): New.
106 (sizeof_opaque): Use aligned_sizeof_opaque.
107 (make_opaque): Likewise.
108 * specifier.c (aligned_sizeof_specifier): New.
109 (sizeof_specifier): Use aligned_sizeof_specifier.
110 (make_specifier_internal): Likewise.
111
112 2001-01-23 Martin Buchholz <martin@xemacs.org>
113
114 * lstream.h (struct lstream): Use max_align_t for trailing data.
115 * specifier.h (struct Lisp_Specifier): Likewise.
116
117 2001-01-22 Martin Buchholz <martin@xemacs.org>
118
119 * mule-ccl.c (CCL_Extension): Renamed from CCL_Extention.
120 (CCL_SUCCESS): Kludge to prevent Sun cc compiler warnings.
121 (CCL_SUSPEND): Likewise.
122 (CCL_INVALID_CMD): Likewise.
123 (CCL_CALL_FOR_MAP_INSTRUCTION): Likewise.
124 (ccl_driver): Likewise.
125 (CCL_WRITE_CHAR): Macro hygiene.
126 (CCL_WRITE_STRING): Macro hygiene.
127
128 2001-01-22 Martin Buchholz <martin@xemacs.org>
129
130 Port "portable" dumper to SunOS 4 and HP-UX.
131 * s/aix4.h (AIX4): Move MAP_FAILED definition elsewhere.
132 * emacs.c (main): PDUMP implies no RUN_TIME_REMAP.
133 * dumper.c (pdump_file_get): Define MAP_FAILED if not already defined.
134
135 2001-01-22 Martin Buchholz <martin@xemacs.org>
136
137 * lisp.h (ALIGNOF): A better definition for C++.
138
139 2001-01-20 Martin Buchholz <martin@xemacs.org>
140
141 Macro hygiene.
142 Fix printf warnings: int format, long int arg.
143 * regex.c (DECLARE_DESTINATION): Use DECLARE_NOTHING.
144 (PUSH_FAILURE_POINT): Use correct printf formats.
145 (POP_FAILURE_POINT): Use correct printf formats.
146 Use do {...} while (0)
147
1 2001-01-20 Martin Buchholz <martin@xemacs.org> 148 2001-01-20 Martin Buchholz <martin@xemacs.org>
2 149
3 * XEmacs 21.2.42 "Poseidon" is released. 150 * XEmacs 21.2.42 "Poseidon" is released.
4 151
5 2001-01-20 Martin Buchholz <martin@xemacs.org> 152 2001-01-20 Martin Buchholz <martin@xemacs.org>
594 (looking_at_1): Use case-table. 741 (looking_at_1): Use case-table.
595 (string_match_1): Ditto. 742 (string_match_1): Ditto.
596 (fast_string_match): Ditto. 743 (fast_string_match): Ditto.
597 (search_command): Ditto. 744 (search_command): Ditto.
598 (search_buffer): Separate boyer_moore. Check whether 745 (search_buffer): Separate boyer_moore. Check whether
599 boyer_moore is poosible. 746 boyer_moore is possible.
600 (simple_search): New function. 747 (simple_search): New function.
601 (boyer_moore): Separated from search_buffer. Translate char. 748 (boyer_moore): Separated from search_buffer. Translate char.
602 749
603 2000-11-24 Yoshiki Hayashi <yoshiki@xemacs.org> 750 2000-11-24 Yoshiki Hayashi <yoshiki@xemacs.org>
604 751