Mercurial > emacs
annotate src/ChangeLog @ 31339:0edf56745df4
*** empty log message ***
author | Gerd Moellmann <gerd@gnu.org> |
---|---|
date | Sat, 02 Sep 2000 21:56:47 +0000 |
parents | bb107d3a3e36 |
children | 8d5c06c62809 |
rev | line source |
---|---|
31333 | 1 2000-09-02 Gerd Moellmann <gerd@gnu.org> |
2 | |
31339 | 3 * xdisp.c (redisplay_mode_lines): New function. |
4 (display_mode_lines): Return number of mode lines displayed. | |
5 (echo_area_display): Use redisplay_mode_lines to draw garbaged | |
6 mode lines. Don't temporarily bind redisplay-dont-pause to t. | |
7 | |
31337 | 8 * emacs.c, callint.c, doc.c, editfns.c: Remove includes of |
9 string.h and strings.h. | |
10 (index) [HAVE_INDEX]: Add prototype. | |
11 | |
31333 | 12 * unexelf.c (SHT_PROGBITS) [__NetBSD__ && !PT_LOAD]: Don't define. |
13 (SHT_MIPS_DEBUG, HDRR) [__NetBSD__ && __mips__]: Define. | |
14 | |
15 * s/netbsd.h [!NO_C_SOURCE]: Include <signal.h>. | |
16 (GC_SETJMP_WORKS, GC_MARK_STACK): Define. | |
17 | |
31316 | 18 2000-09-01 Gerd Moellmann <gerd@gnu.org> |
19 | |
20 * lread.c (read1): Accept `?' as symbol constituent, for | |
21 compatiblity with XEmacs. | |
22 | |
31312
e6b19a60e035
* regex.h (RE_NO_NEWLINE_ANCHOR): New syntax flag.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31308
diff
changeset
|
23 2000-08-31 Stefan Monnier <monnier@cs.yale.edu> |
e6b19a60e035
* regex.h (RE_NO_NEWLINE_ANCHOR): New syntax flag.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31308
diff
changeset
|
24 |
e6b19a60e035
* regex.h (RE_NO_NEWLINE_ANCHOR): New syntax flag.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31308
diff
changeset
|
25 * regex.h (RE_NO_NEWLINE_ANCHOR): New syntax flag. |
e6b19a60e035
* regex.h (RE_NO_NEWLINE_ANCHOR): New syntax flag.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31308
diff
changeset
|
26 (struct re_pattern_buffer): Remove newline_anchor. |
e6b19a60e035
* regex.h (RE_NO_NEWLINE_ANCHOR): New syntax flag.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31308
diff
changeset
|
27 * regex.c: Keep namespace clean for GNU libc by renaming <fun> |
e6b19a60e035
* regex.h (RE_NO_NEWLINE_ANCHOR): New syntax flag.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31308
diff
changeset
|
28 to __<fun> and using `weak_alias (__<fun>, <fun>)'. |
e6b19a60e035
* regex.h (RE_NO_NEWLINE_ANCHOR): New syntax flag.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31308
diff
changeset
|
29 (re_max_failures, fail_stack): Use size_t rather than unsigned. |
e6b19a60e035
* regex.h (RE_NO_NEWLINE_ANCHOR): New syntax flag.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31308
diff
changeset
|
30 (regex_compile): For ^ and $, choose between buffer and line (beg|end) |
e6b19a60e035
* regex.h (RE_NO_NEWLINE_ANCHOR): New syntax flag.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31308
diff
changeset
|
31 depending on the new RE_NO_NEWLINE_ANCHOR syntax flag. |
e6b19a60e035
* regex.h (RE_NO_NEWLINE_ANCHOR): New syntax flag.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31308
diff
changeset
|
32 (print_compiled_pattern, re_search_2, mutually_exclusive_p) |
e6b19a60e035
* regex.h (RE_NO_NEWLINE_ANCHOR): New syntax flag.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31308
diff
changeset
|
33 (re_match_2_internal, re_compile_pattern, re_comp, regcomp): |
e6b19a60e035
* regex.h (RE_NO_NEWLINE_ANCHOR): New syntax flag.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31308
diff
changeset
|
34 Get rid of references to newline_anchor. |
e6b19a60e035
* regex.h (RE_NO_NEWLINE_ANCHOR): New syntax flag.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31308
diff
changeset
|
35 (regcomp): Allocate and precompute a fastmap. |
e6b19a60e035
* regex.h (RE_NO_NEWLINE_ANCHOR): New syntax flag.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31308
diff
changeset
|
36 |
31308 | 37 2000-08-31 Gerd Moellmann <gerd@gnu.org> |
38 | |
39 * lread.c (openp): GCPRO local variable `filename'. | |
40 | |
31300
c4d65bb448a6
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31297
diff
changeset
|
41 2000-08-30 Stefan Monnier <monnier@cs.yale.edu> |
c4d65bb448a6
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31297
diff
changeset
|
42 |
c4d65bb448a6
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31297
diff
changeset
|
43 * regex.h (struct re_pattern_buffer): Use size_t for used/allocated. |
c4d65bb448a6
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31297
diff
changeset
|
44 |
c4d65bb448a6
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31297
diff
changeset
|
45 * regex.c: Merge some changes from GNU libc. Add prototypes. |
c4d65bb448a6
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31297
diff
changeset
|
46 (bcopy, bcmp, REGEX_REALLOCATE, re_match_2_internal): |
c4d65bb448a6
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31297
diff
changeset
|
47 Use memcmp and memcpy instead of bcopy and bcmp. |
c4d65bb448a6
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31297
diff
changeset
|
48 (init_syntax_once): Use ISALNUM. |
c4d65bb448a6
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31297
diff
changeset
|
49 (PUSH_FAILURE_POINT, re_match_2_internal): Remove failure_id. |
c4d65bb448a6
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31297
diff
changeset
|
50 (REG_UNSET_VALUE): Remove. Use NULL instead. |
c4d65bb448a6
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31297
diff
changeset
|
51 (REG_UNSET, re_match_2_internal): Use NULL. |
c4d65bb448a6
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31297
diff
changeset
|
52 (SET_HIGH_BOUND, MOVE_BUFFER_POINTER, ELSE_EXTEND_BUFFER_HIGH_BOUND): |
c4d65bb448a6
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31297
diff
changeset
|
53 New macros. |
c4d65bb448a6
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31297
diff
changeset
|
54 (EXTEND_BUFFER): Use them (to work with BOUNDED_POINTERS). |
c4d65bb448a6
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31297
diff
changeset
|
55 (GET_UNSIGNED_NUMBER): Don't use ISDIGIT. |
c4d65bb448a6
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31297
diff
changeset
|
56 (regex_compile): In handle_interval, return an error rather than try to |
c4d65bb448a6
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31297
diff
changeset
|
57 unfetch the interval if we can't find the closing brace. |
c4d65bb448a6
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31297
diff
changeset
|
58 Obey the RE_NO_GNU_OPS syntax bit. |
c4d65bb448a6
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31297
diff
changeset
|
59 (TOLOWER): New macro. |
c4d65bb448a6
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31297
diff
changeset
|
60 (regcomp): Use it. |
c4d65bb448a6
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31297
diff
changeset
|
61 (regexec): Allocate regs.start and regs.end as one block. |
c4d65bb448a6
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31297
diff
changeset
|
62 |
31293 | 63 2000-08-30 Gerd Moellmann <gerd@gnu.org> |
64 | |
31296 | 65 * xdisp.c (echo_area_display): Check display_completed instead |
66 of calling detect_input_pending. | |
67 | |
31297 | 68 * dispnew.c (update_frame): Only set display_completed here; move |
31296 | 69 the update_begin and update_end calls here from update_frame_1. |
70 (update_frame_1): Don't set display_completed here, don't call | |
71 update_begin/update_end. | |
72 | |
31293 | 73 * xfaces.c (set_font_frame_param): Use Fmodify_frame_parameters |
74 instead of store_frame_param. | |
75 | |
31272 | 76 2000-08-29 Gerd Moellmann <gerd@gnu.org> |
77 | |
78 * dispnew.c (build_frame_matrix_from_leaf_window): If a row of a | |
79 desired window matrix hasn't been displayed, use the current row | |
80 instead. Make sure that only those frame rows are updated for | |
81 which there exists a corresponding enabled desired row. | |
82 | |
31263 | 83 2000-08-29 Miles Bader <miles@gnu.org> |
84 | |
85 * xfaces.c (default_face_vector): New function. | |
86 (Finternal_merge_in_global_face): Use it instead of merge_face_vectors. | |
87 | |
31256 | 88 2000-08-29 Gerd Moellmann <gerd@gnu.org> |
89 | |
90 * lread.c (openp): Prevent temporary string passed to | |
91 Ffile_readable_p from being garbage collected. | |
92 | |
31234 | 93 2000-08-28 Dave Love <fx@gnu.org> |
94 | |
95 * keymap.c (store_in_keymap): Add `static' to declaration. | |
96 | |
31229 | 97 2000-08-28 Gerd Moellmann <gerd@gnu.org> |
98 | |
99 * emacs.c, callint.c, doc.c, editfns.c | |
100 (toplevel) [HAVE_STRING_H]: Include string.h. | |
101 (toplevel) [HAVE_STRINGS_H]: Include strings.h. | |
102 (index): Remove prototypes which might conflict with non-standard | |
103 definitions of index/strchr. | |
104 | |
105 * s/usg5-3.h (index): Define only if not HAVE_INDEX. | |
106 (rindex): Define only if !HAVE_RINDEX. | |
107 | |
108 * s/sco5.h (bcopy, bzero, bcmp): Don't define. | |
109 | |
110 * config.in (HAVE_INDEX, HAVE_RINDEX, HAVE_STRINGS_H): Add undefs. | |
111 | |
31222 | 112 2000-08-28 Miles Bader <miles@gnu.org> |
113 | |
114 * xfaces.c (merge_face_vectors): Clear TO's :font attribute if | |
115 made inconsistent by a font-related attribute in FROM. | |
116 (merge_face_inheritance): Add function comment. | |
117 | |
31216 | 118 2000-08-28 Kenichi Handa <handa@etl.go.jp> |
119 | |
120 * keyboard.c (read_char_minibuf_menu_prompt): Call read_char with | |
121 the 4th arg (PREV_EVENT) Qt to suppress input method. | |
122 | |
31210
c45b6e464f4c
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31203
diff
changeset
|
123 2000-08-27 Stefan Monnier <monnier@cs.yale.edu> |
c45b6e464f4c
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31203
diff
changeset
|
124 |
31214
09f57791137e
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31210
diff
changeset
|
125 * regex.c: Indent cpp directives and remove parens after `defined'. |
09f57791137e
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31210
diff
changeset
|
126 (PTR_TO_OFFSET, POS_AS_IN_BUFFER): Move to a better place. |
09f57791137e
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31210
diff
changeset
|
127 (ISDIGIT, ISCNTRL, ISXDIGIT) [!emacs]: Remove duplicate definition. |
09f57791137e
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31210
diff
changeset
|
128 (regex_compile): Use RE_FRUGAL instead of RE_ALL_GREEDY. |
09f57791137e
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31210
diff
changeset
|
129 (re_compile_pattern): Use size_t for length. |
09f57791137e
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31210
diff
changeset
|
130 (init_syntax_once): Move to a better place. |
09f57791137e
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31210
diff
changeset
|
131 * regex.h: Merge changes from GNU libc. Indent cpp directives. |
09f57791137e
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31210
diff
changeset
|
132 (RE_FRUGAL): Replaces RE_ALL_GREEDY (inverted meaning). |
09f57791137e
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31210
diff
changeset
|
133 |
31210
c45b6e464f4c
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31203
diff
changeset
|
134 * syntax.c (back_comment): Detect cases where a comment-starter is |
c45b6e464f4c
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31203
diff
changeset
|
135 actually inside another comment as in: /* a // b */ c // d \n. |
c45b6e464f4c
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31203
diff
changeset
|
136 Make it clear that `comstart_pos' is unused for nested comments. |
c45b6e464f4c
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31203
diff
changeset
|
137 |
c45b6e464f4c
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31203
diff
changeset
|
138 * keymap.c (store_in_keymap, fix_submap_inheritance): New prototypes. |
c45b6e464f4c
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31203
diff
changeset
|
139 (KEYMAPP): New macro. |
c45b6e464f4c
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31203
diff
changeset
|
140 (Fkeymap_parent, Fset_keymap_parent): Use it. |
c45b6e464f4c
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31203
diff
changeset
|
141 (fix_submap_inheritance): Mark it static. |
c45b6e464f4c
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31203
diff
changeset
|
142 (define_as_prefix, describe_buffer_bindings, describe_command) |
c45b6e464f4c
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31203
diff
changeset
|
143 (describe_translation, describe_map): Complete prototypes. |
c45b6e464f4c
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31203
diff
changeset
|
144 |
c45b6e464f4c
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31203
diff
changeset
|
145 * lisp.h (store_in_keymap, fix_submap_inheritance): Remove. |
c45b6e464f4c
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31203
diff
changeset
|
146 |
c45b6e464f4c
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31203
diff
changeset
|
147 * keyboard.c (menu_bar_item): Detect duplicate entries for all items |
c45b6e464f4c
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31203
diff
changeset
|
148 to better match the key-lookup behavior. |
c45b6e464f4c
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31203
diff
changeset
|
149 |
31203 | 150 2000-08-27 Gerd Moellmann <gerd@gnu.org> |
151 | |
152 * xfaces.c (lface_fully_specified_p): Handle :inherit. | |
153 (Finternal_set_lisp_face_attribute): Fix typo in error message. | |
154 | |
31200 | 155 2000-08-27 Eli Zaretskii <eliz@is.elta.co.il> |
156 | |
157 * Makefile.in (dispnew.o, indent.o, fontset.o, minibuf.o) | |
158 (process.o, scroll.o, sysdep.o): Depend on keyboard.h. | |
159 (xterm.o): Depend on coding.h | |
160 | |
31181 | 161 2000-08-26 Kenichi Handa <handa@etl.go.jp> |
162 | |
163 * cmds.c (internal_self_insert): Delete '#ifdef HAVE_FACES' and | |
164 the corresponding '#endif'. | |
165 | |
31180 | 166 2000-08-26 Miles Bader <miles@gnu.org> |
167 | |
168 * dispextern.h (enum lface_attribute_index): Add LFACE_INHERIT_INDEX. | |
169 * xfaces.c (QCinherit): New variable. | |
170 (syms_of_xfaces): Initialize it. | |
171 (LFACE_INHERIT): New macro. | |
172 (Finternal_get_lisp_face_attribute) | |
173 (merge_face_vector_with_property) | |
174 (Finternal_set_lisp_face_attribute): Deal with :inherit attribute. | |
175 (check_lface_attrs): Allow new types of face height. Check | |
176 inherit attribute. | |
177 (CYCLE_CHECK): New macro. | |
178 (merge_face_inheritance): New function. | |
179 (merge_face_vectors): Merge inherited faces too. Add F and | |
180 CYCLE_CHECK arguments. | |
181 (merge_face_vector_with_property, Finternal_merge_in_global_face) | |
182 (lookup_named_face, lookup_derived_face, realize_named_face) | |
183 (face_at_string_position, face_at_buffer_position): Supply | |
184 new F and CYCLE_CHECK arguments to merge_face_vectors. | |
185 (merge_face_heights): New function. | |
186 (merge_face_vectors, merge_face_vector_with_property) | |
187 (Finternal_set_lisp_face_attribute): Call merge_face_heights to | |
188 handle relative face heights. | |
189 (lface_same_font_attributes_p): Compare heights using EQ. | |
190 | |
31176 | 191 2000-08-26 Kenichi Handa <handa@etl.go.jp> |
192 | |
193 * charset.c (char_to_string): Check the character validity. | |
194 (char_valid_p): If C is not less than MAX_CHAR, be sure to return | |
195 0. | |
196 | |
31172
0ee53ec2081a
(PUSH_FAILURE_COUNT): New macro.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31171
diff
changeset
|
197 2000-08-25 Stefan Monnier <monnier@cs.yale.edu> |
0ee53ec2081a
(PUSH_FAILURE_COUNT): New macro.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31171
diff
changeset
|
198 |
0ee53ec2081a
(PUSH_FAILURE_COUNT): New macro.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31171
diff
changeset
|
199 * regex.c (PUSH_FAILURE_COUNT): New macro. |
0ee53ec2081a
(PUSH_FAILURE_COUNT): New macro.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31171
diff
changeset
|
200 (POP_FAILURE_REG_OR_COUNT): Renamed from POP_FAILURE_REG. |
0ee53ec2081a
(PUSH_FAILURE_COUNT): New macro.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31171
diff
changeset
|
201 Handle popping of a register's or a counter's data. |
0ee53ec2081a
(PUSH_FAILURE_COUNT): New macro.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31171
diff
changeset
|
202 (POP_FAILURE_POINT): Use the new name. |
0ee53ec2081a
(PUSH_FAILURE_COUNT): New macro.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31171
diff
changeset
|
203 (re_match_2_internal): Push counter data on the stack for succeed_n, |
0ee53ec2081a
(PUSH_FAILURE_COUNT): New macro.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31171
diff
changeset
|
204 jump_n and set_number_at and remove misleading dead code in succeed_n. |
0ee53ec2081a
(PUSH_FAILURE_COUNT): New macro.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31171
diff
changeset
|
205 |
31171 | 206 2000-08-25 Gerd Moellmann <gerd@gnu.org> |
207 | |
208 * xdisp.c (redisplay_internal): If considering all windows on all | |
209 frames, update the display for each frame as soon as possible, | |
210 instead of first building all desired matrices for all frames, and | |
211 then updating them all. | |
212 (try_cursor_movement): Handle case that last_cursor.vpos is -1. | |
213 | |
31148 | 214 2000-08-24 Gerd Moellmann <gerd@gnu.org> |
215 | |
31153 | 216 * bytecode.c (mark_byte_stack): Add a comment. |
217 | |
31148 | 218 * frame.h (FRAME_FLAGS_AREA_COLS, FRAME_FLAGS_AREA_WIDTH) |
219 (FRAME_LEFT_FLAGS_AREA_WIDTH): Return 0 unless frame is | |
220 a graphical frame. | |
221 | |
31137 | 222 2000-08-24 Kenichi Handa <handa@etl.go.jp> |
223 | |
31139 | 224 * minibuf.c (do_completion): Always use compare-string, not |
225 string-equal because the latter doesn't pay attention to | |
226 multibyteness of strings. | |
227 | |
31137 | 228 * process.c (create_process): Don't setup raw-text coding here. |
229 (Fopen_network_stream): Don't set coding->src_multibyte and | |
230 coding->dst_multibyte here. | |
231 (read_process_output): For process filter, return unibyte string | |
232 if default-enable-multibyte-characters is nil. | |
233 (send_process): If OBJECT is multibyte text, be sure to encoded it | |
234 by the specified coding system for the process. Otherwise, setup | |
235 raw-text coding. | |
236 (init_process): Don't initialize default-process-coding-system | |
237 here. | |
238 | |
31129 | 239 2000-08-23 Eli Zaretskii <eliz@is.elta.co.il> |
240 | |
241 * buffer.c (syms_of_buffer) <scroll-up-aggressively>: Doc fix. | |
242 <scroll-down-aggressively>: Likewise. | |
243 | |
31121 | 244 2000-08-23 Kenichi Handa <handa@etl.go.jp> |
245 | |
31122 | 246 * coding.c (encode_eol): Fix bug for the case of dst_bytes being |
247 zero. Set coding->produced_char correctly. | |
31121 | 248 |
31120 | 249 2000-08-22 Andrew Innes <andrewi@gnu.org> |
250 | |
251 * makefile.w32-in: New file. | |
252 | |
253 * unexw32.c (unexec): Ignore old_name, and use the actual location | |
254 of the current executable instead. Base new_name on this. | |
255 | |
256 * w32proc.c (create_child): Remove reference to security | |
257 descriptor, which isn't needed and doesn't compile with mingw32. | |
258 | |
259 * w32term.c [USE_CRT_DLL]: Remove unnecessary extern, which screws | |
260 up dllimport attributes. | |
261 (x_update_window_end): Update prototype. | |
262 | |
263 * unexec.c (write_segment) [USE_CRT_DLL]: Remove unnecessary | |
264 extern, which screws up dllimport attributes. | |
265 | |
266 * sysdep.c [USE_CRT_DLL]: Remove unnecessary extern, which screws | |
267 up dllimport attributes. | |
268 | |
269 * strftime.c [USE_CRT_DLL]: Remove unnecessary extern, which | |
270 screws up dllimport attributes. | |
271 | |
272 * process.c [USE_CRT_DLL]: Remove unnecessary extern, which screws | |
273 up dllimport attributes. | |
274 (create_process) [USE_CRT_DLL]: Remove unnecessary extern, which | |
275 screws up dllimport attributes. | |
276 | |
277 * lread.c [USE_CRT_DLL]: Remove unnecessary extern, which screws | |
278 up dllimport attributes. | |
279 | |
280 * keyboard.c [USE_CRT_DLL]: Remove unnecessary extern, which | |
281 screws up dllimport attributes. | |
282 | |
283 * floatfns.c [USE_CRT_DLL]: Remove unnecessary extern, which | |
284 screws up dllimport attributes. | |
285 | |
286 * fileio.c [USE_CRT_DLL]: Remove unnecessary extern, which screws | |
287 up dllimport attributes. | |
288 | |
289 * emacs.c (malloc_initialize_hook) [USE_CRT_DLL]: Remove | |
290 unnecessary extern, which screws up dllimport attributes. | |
291 (main): Ditto. | |
292 | |
293 * editfns.c [USE_CRT_DLL]: Remove unnecessary extern, which screws | |
294 up dllimport attributes. | |
295 | |
296 * dispnew.c (window_change_signal) [USE_CRT_DLL]: Remove | |
297 unnecessary extern, which screws up dllimport attributes. | |
298 | |
299 * callproc.c [USE_CRT_DLL]: Remove unnecessary extern, which | |
300 screws up dllimport attributes. | |
301 | |
302 * buffer.c [USE_CRT_DLL]: Remove unnecessary extern, which screws | |
303 up dllimport attributes. | |
304 | |
305 * w32proc.c (IsValidLocale): Extern missing from mingw32 headers. | |
306 | |
307 * w32bdf.c (search_file_line): | |
308 (set_bdf_font_info): | |
309 (seek_char): | |
310 (w32_get_bdf_glyph): | |
311 (w32_BDF_to_x_font): Fix compile warnings. | |
312 | |
313 * w32menu.c: Include keyboard.h before frame.h. Fix compile | |
314 warnings. | |
315 | |
316 * w32select.c: Include keyboard.h before frame.h. | |
317 | |
318 * w32fns.c (max): Define macro. | |
319 (JOHAB_CHARSET): Define if not known. | |
320 (MOD_ALT, MOD_CONTROL, MOD_SHIFT, MOD_WIN): Define if not known. | |
321 (Fx_show_tip): Synch with X version. | |
322 | |
323 * w32xfns.c: Include keyboard.h before frame.h. | |
324 | |
325 * w32fns.c: Include keyboard.h before frame.h. | |
326 | |
327 * w32term.c: Include keyboard.h before frame.h. | |
328 | |
329 * fontset.c: Include keyboard.h before frame.h. | |
330 | |
331 * w32inevt.c: Include keyboard.h before frame.h. | |
332 (MOUSE_MOVED): Define if not known. | |
333 | |
334 * minibuf.c: Include keyboard.h before frame.h. | |
335 | |
336 * keyboard.c: Include keyboard.h before frame.h. | |
337 | |
338 * indent.c: Include keyboard.h before frame.h. | |
339 | |
340 * dispnew.c: Include keyboard.h before frame.h. | |
341 | |
342 * buffer.c: Include keyboard.h before frame.h. | |
343 | |
344 * alloc.c: Include keyboard.h before frame.h. | |
345 | |
346 * print.c: Include keyboard.h before frame.h. | |
347 | |
348 * process.c: Include keyboard.h before frame.h. | |
349 | |
350 * scroll.c: Include keyboard.h before frame.h. | |
351 | |
352 * sysdep.c: Include keyboard.h before frame.h. | |
353 | |
354 * term.c: Include keyboard.h before frame.h. | |
355 | |
356 * window.c: Include keyboard.h before frame.h. | |
357 | |
358 * xdisp.c: Include keyboard.h before frame.h. | |
359 Separate GLYPH_DEBUG and DEBUG_TRACE_MOVE. | |
360 | |
361 * frame.c: Include keyboard.h before frame.h. | |
362 | |
363 * w32heap.h: Undefine min, max. | |
364 | |
365 * w32gui.h: Undefine min, max. | |
366 | |
367 * unexw32.c: Change PUCHAR to PCHAR. | |
368 (PTR_TO_OFFSET): Cast ptr to unsigned char *. | |
369 (relocate_offset): | |
370 (get_section_info): | |
371 (copy_executable_and_dump_data): Remove unnecessary static defs. | |
372 (copy_executable_and_dump_data): Fix compile warnings. | |
373 | |
374 * sysdep.c (NULL) [WINDOWSNT]: Define NULL if not defined. | |
375 | |
376 * w32console.c (min): Define macro. | |
377 (clear_frame, write_glyphs): Fix compile warning. | |
378 | |
379 * w32proc.c (compare_env): | |
380 (find_child_console): Fix compile warning. | |
381 | |
382 * w32.c (sys_strerror): Use sys_nerr instead of _sys_nerr. Use | |
383 sys_errlist instead of _sys_errlist. | |
384 (get_emacs_configuration_options): New function. | |
385 | |
386 * s/ms-w32.h (sys_nerr): Provide default definition. | |
387 (strdup, strupr, strnicmp, stricmp, tzset, tzname): Map to same | |
388 name with _ prepended. | |
389 (NSIG): Define if not known. | |
390 (get_emacs_configuration): Provide extern declaration. | |
391 (get_emacs_configuration_options): Provide extern declaration. | |
392 (EMACS_CONFIG_OPTIONS): Call get_emacs_configuration_options. | |
393 | |
394 * w32.c (gettimeofday): Use struct timeb, not struct _timeb. | |
395 (map_w32_filename): | |
396 (read_unc_volume): Fix compile warning. | |
397 | |
398 * s/ms-w32.h (_WINSOCK_H): Define to prevent normal winsock | |
399 definitions from being used. | |
400 | |
401 * lisp.h [WINDOWSNT]: Don't declare externs for getenv, ctime and getwd. | |
402 | |
403 * w32.c (unc_volume_file_attributes): | |
404 (open_unc_volume): Make arg const. | |
405 | |
406 * sysdep.c [WINDOWSNT]: Remove extern decl of errno. | |
407 (read_input_waiting): Remove excess parameter. | |
408 | |
409 * w32.c (init_environment): Call _access. | |
410 (check_windows_init_file): Call _close. | |
411 (init_user_info): Call _putenv. | |
412 (init_environment): Call _putenv and _strdup. | |
413 (init_ntproc): Reset volume info cache on startup. | |
414 | |
415 * s/ms-w32.h (malloc, free, realloc, calloc): Rename if | |
416 USE_CRT_DLL is defined, so Emacs can use GNU malloc even though it | |
417 cannot override the CRT malloc. | |
418 | |
419 * makefile.nt (LOCAL_FLAGS): Define USE_CRT_DLL if requested. | |
420 (LINK_FLAGS): Append to original value of LINK_FLAGS. | |
421 | |
422 * w32heap.c [!USE_CRT_DLL]: Don't define _heap_init and _heap_term | |
423 unless we are linking with a static CRT. | |
424 (RVA_TO_PTR): Cast result to unsigned char*. | |
425 | |
426 * w32.c (GetCachedVolumeInformation): Use xmalloc, xfree and xstrdup. | |
427 (add_volume_info): Use xstrdup. | |
428 | |
31107
138c4e88e0fe
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31017
diff
changeset
|
429 2000-08-22 Stefan Monnier <monnier@cs.yale.edu> |
138c4e88e0fe
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31017
diff
changeset
|
430 |
138c4e88e0fe
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31017
diff
changeset
|
431 * minibuf.c (Vcompletion_auto_help): Renamed from `auto_help'. |
138c4e88e0fe
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31017
diff
changeset
|
432 (do_completion, Fminibuffer_complete_word): Use it. |
138c4e88e0fe
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31017
diff
changeset
|
433 (syms_of_minibuf): Turn completion-auto-help into a proper Lisp |
138c4e88e0fe
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31017
diff
changeset
|
434 var so it can take non-boolean values. |
138c4e88e0fe
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31017
diff
changeset
|
435 |
31004 | 436 2000-08-21 Gerd Moellmann <gerd@gnu.org> |
437 | |
31017 | 438 * editfns.c (find_field): Formatting changes. |
439 (toplevel): Some old-style function forward declarations | |
440 changed to prototypes, some new protypes added, some functions | |
441 made static. | |
442 | |
443 * lisp.h (set_time_zone_rule): Add prototype. | |
444 (use_dialog_box): External declaration. | |
445 | |
31014 | 446 * keyboard.c (gen_help_event): Add parameter SIZE. |
447 (kbd_buffer_events_waiting): Slightly rewritten. | |
448 (clear_event): New function. | |
449 (kbd_buffer_get_event): Use it, and clear the input_events of | |
450 HELP_EVENTs. | |
451 (init_keyboard): Remove duplicate creation of kbd_buffer_gcpro and | |
452 don't fill the newly created array with nils. | |
453 (toplevel): Convert some old-style function forward declarations | |
454 to prototypes. | |
455 | |
456 * keyboard.h (gen_help_event): Change prototype. | |
457 | |
458 * xterm.c (XTread_socket): Change calls to gen_help_event. | |
459 | |
460 * w32term.c (w32_read_socket): Change calls to gen_help_event. | |
461 | |
31004 | 462 * eval.c (Fmacroexpand): Doc fix. |
463 | |
30990 | 464 2000-08-20 Jason Rumney <jasonr@gnu.org> |
465 | |
466 * w32term.h (x_display_info_for_display): Remove as this function | |
467 does not exist on W32. | |
468 | |
469 * w32term.c (help_echo_window): New variable. | |
470 (syms_of_w32term): staticpro it. | |
471 (note_mode_line_highlight): Set it. | |
472 (XTextExtents16): Removed as there is no equivalent on W32. | |
473 (x_compute_glyph_string_overhangs): Incomplete body removed, as | |
474 the X way of doing this will not work for W32. | |
475 (w32_intersect_rectangles): Removed. Use IntersectRect API call. | |
476 (x_draw_image_foreground): Avoid drawing outside of the clip area | |
477 when image doesn't have a mask. | |
478 (note_mouse_highlight): Process overlays in the right order of | |
479 priority. Set help_echo_window. | |
480 (x_draw_bar_cursor): If cursor is on an image, draw a box cursor | |
481 because that's more visible for large images. | |
482 | |
483 * w32menu.c (keymap_panes): Pass the keymap's prompt as the pane | |
484 name to single_keymap_panes. | |
485 (w32_menu_show): Set wv->title when dealing with titles. | |
486 (w32_menu_display_help): Call show_help_echo with OBJECT and POS. | |
487 | |
30977 | 488 2000-08-21 Miles Bader <miles@gnu.org> |
489 | |
490 * minibuf.c (do_completion): Try again if we rewrite the input | |
491 string, but no completion was done, so that any completion message | |
492 will be correct. | |
493 | |
30975 | 494 2000-08-20 Gerd Moellmann <gerd@gnu.org> |
495 | |
496 * xfaces.c (lface_equal_p): Compare strings differently. | |
497 (Qtty_color_alist, Vtty_defined_color_alist): New variables. | |
498 (realize_tty_face): Use them. | |
499 (syms_of_xfaces): Initialize new variables. | |
500 (map_tty_color): New function, extracted from realize_tty_face. | |
501 (map_tty_color) [MSDOS || WINDOWSNT]: If using the frame's default | |
502 foreground or background color, store the new color name in the | |
503 realized face; previous code trying to do this had no effect. | |
504 (realize_tty_face): Use map_tty_color. | |
505 (Fclear_face_cache): Set face_change_count and ensure thorough | |
506 redisplay. | |
507 | |
30963 | 508 2000-08-19 Gerd Moellmann <gerd@gnu.org> |
509 | |
30975 | 510 * undo.c (record_first_change, record_marker_adjustment): Don't |
511 use XBUFFER on last_undo_buffer which might not be a buffer. | |
30963 | 512 |
30949 | 513 2000-08-18 Kenichi Handa <handa@etl.go.jp> |
514 | |
515 * coding.c (decode_coding_string): Set members consumed, | |
516 consumed_char, produced, produced_char of *coding correctly. If | |
517 decode_coding doesn't consume any byte, don't try anymore. | |
518 (encode_coding_string): Likewise. | |
519 | |
30944 | 520 2000-08-18 Gerd Moellmann <gerd@gnu.org> |
521 | |
30975 | 522 * lisp.h (CHECK) [ENABLE_CHECKING]: Make both sides of the |
523 conditional have void type, for Standard C compilers. | |
30944 | 524 |
525 * xdisp.c (redisplay_internal): Compare windows for equality with | |
526 EQ, instead of applying XWINDOW to something that might not | |
527 be a window. | |
528 | |
30940 | 529 2000-08-18 Kenichi Handa <handa@etl.go.jp> |
530 | |
531 * fontset.c (Finternal_char_font): Search only the selected frame | |
532 for a window of the current buffer. | |
533 | |
30937 | 534 2000-08-18 Gerd Moellmann <gerd@gnu.org> |
535 | |
30975 | 536 * minibuf.c (do_completion): Use EQ instead of `!=' to compare |
30939 | 537 Lisp_Objects. |
538 | |
30937 | 539 * keyboard.c (kbd_buffer_get_event): Handle the case that the |
540 second half of a HELP_EVENT is found at the start of kbd_buffer. | |
541 | |
30932 | 542 2000-08-18 Miles Bader <miles@gnu.org> |
543 | |
30935 | 544 * lisp.h (Lisp_String): Replace DECLARE_INTERVALS with real decl. |
545 | |
30932 | 546 * editfns.c (save_restriction_save): Rewrite to use markers. |
547 (save_restriction_restore): Rewrite to understand new form of data | |
548 saved by save_restriction_save. | |
549 (Fsave_restriction): Remove cautionary note in doc-string. | |
550 | |
30928 | 551 2000-08-17 Gerd Moellmann <gerd@gnu.org> |
552 | |
553 * fileio.c (build_annotations): Add a comment explaining the | |
554 return value of format-annotate-function. Replace a spurious call | |
555 to Flength with a CONSP test. Call format-annotate-function with | |
556 a fifth arg specifying how many times the function is been called | |
557 in a row, to let it choose temporary buffers appropriately. | |
558 | |
30919 | 559 2000-08-17 Dave Love <fx@gnu.org> |
560 | |
561 * lisp.h: Remove DECLARE_INTERVALS, INITIALIZE_INTERVAL. Don't | |
562 declare make_temp_name twice. | |
563 | |
564 * lread.c: Prototype readevalloop, load_unwind, | |
565 load_descriptor_unwind. | |
566 (unreadpure): Give it an arg. | |
567 | |
568 * unexalpha.c: Prototype fatal_unexec, mark_x, | |
569 update_dynamic_symbols. Declare unexec as void. | |
570 | |
571 * cm.c [HAVE_TERMCAP_H]: Include <termcap.h>. | |
572 [!HAVE_TERMCAP_H]: Prototype tputs, tgoto. | |
573 | |
574 * alloc.c (lisp_malloc): Declare with POINTER_TYPE. | |
575 [SYSTEM_MALLOC]: Make decls in malloc.h conditional on | |
576 DOUG_LEA_MALLOC. | |
577 | |
578 * alloca.c: Use #error. | |
579 [POINTER_TYPE]: Use it. | |
580 | |
581 * eval.c (Fdefvar): Doc fix. | |
582 | |
583 * buffer.c (Fget_buffer_create, Fmake_indirect_buffer): Avoid | |
584 INITIALIZE_INTERVAL. | |
585 | |
586 * buffer.h: Avoid DECLARE_INTERVALS. | |
587 | |
588 * config.in: Add size_t. | |
589 | |
30901 | 590 2000-08-17 Eli Zaretskii <eliz@is.elta.co.il> |
591 | |
592 * w16select.c (set_clipboard_data): If there's not enough memory | |
593 to put text into clipboard, return 1, as Fw16_set_clipboard_data | |
594 expects. In case of other failures, return 3. | |
595 (system_error_msg): New error message. | |
596 (Fw16_set_clipboard_data): If set_clipboard_data returns 3, print | |
597 system_error_msg. | |
598 | |
30849 | 599 2000-08-16 Gerd Moellmann <gerd@gnu.org> |
600 | |
601 * term.c (write_glyphs): Also turn off inverse video after turning | |
602 off other appearances in case TS_exit_attribute_mode is not equal | |
603 to TS_end_standout_mode. | |
604 (insert_glyphs): Turn inverse video on/off for each run of glyphs | |
605 with the same face. | |
606 (turn_off_face): Reset standout_mode only if | |
607 TS_exit_attribute_mode has been output and TS_exit_attribute_mode | |
608 is equal to TS_end_standout_mode. | |
609 | |
30843 | 610 2000-08-16 Kenichi Handa <handa@etl.go.jp> |
611 | |
30846 | 612 * coding.c (encode_coding): Fix the bug of not flushing ISO escape |
613 sequence at the end of the source block. | |
614 | |
30843 | 615 * ccl.c (Fccl_program_p): Docstring modified. |
616 (Fccl_execute): Likewise. | |
617 (Fccl_execute_on_string): Likewise. | |
618 | |
30841 | 619 2000-08-16 Eli Zaretskii <eliz@is.elta.co.il> |
620 | |
621 * msdos.c (IT_write_glyphs): Convert cbp to unsigned char *. | |
622 | |
30830 | 623 2000-08-16 Kenichi Handa <handa@etl.go.jp> |
624 | |
625 The following changes are mainly to fix bugs of | |
626 encode/decode-coding-string failing if encoding/decoding return | |
627 CODING_FINISH_INSUFFICIENT_DST. In addition, delete the global | |
628 variable conversion_buffer. | |
629 | |
630 * ccl.c (CCL_WRITE_CHAR): If CH is eight-bit-control char, | |
631 decrement dst_end to avoid buffer overflow in the later call of | |
632 string_as_multibyte | |
633 | |
634 * coding.h (conversion_buffer_size, conversion_buffer) | |
635 (get_conversion_buffer): Extern deleted. | |
636 | |
637 * coding.c (MINIMUM_CONVERSION_BUFFER_SIZE): Macro deleted. | |
638 (conversion_buffer, conversion_buffer_size): Variables deleted. | |
639 (get_conversion_buffer): Function deleted. | |
640 (struct conversion_buffer): New structure. | |
641 (MAX_ALLOCA): New macro. | |
642 (allocate_conversion_buffer): New macro. | |
643 (extend_conversion_buffer, free_conversion_buffer): New functions. | |
644 (ccl_coding_driver): Set coding->result. | |
645 (decode_coding): Set coding->result to CODING_FINISH_NORMAL if | |
646 this is the last block of source. | |
647 (encode_coding): Likewise. Handle the source block as the last | |
648 one only when the whole source text is consumed. | |
649 (decode_coding_string): Handle the case that the output buffer is | |
650 too small to decode the whole source text. Use | |
651 allocate_conversion_buffer, extend_conversion_buffer and | |
652 free_conversion_buffer, not get_conversion_buffer. | |
653 (encode_coding_string): Likewise. | |
654 (init_coding): Function deleted. | |
655 (init_coding_once): Delete code to initialize | |
656 conversion_buffer_size. | |
657 | |
658 * emacs.c (main): Don't call init_coding. | |
659 | |
660 * msdos.c (IT_write_glyphs): Use a locally declared | |
661 conversion_buffer. | |
662 | |
663 * term.c (write_glyphs): Use a locally declared conversion_buffer. | |
664 (insert_glyphs): Likewise. | |
665 | |
666 * w32console.c (write_glyphs): Use a locally declared | |
667 conversion_buffer. | |
668 | |
30827 | 669 2000-08-15 Eli Zaretskii <eliz@is.elta.co.il> |
670 | |
671 * msdos.c (IT_update_begin): Don't crash if mouse_face_mouse_frame | |
672 member of display_info is NULL. | |
673 | |
30822 | 674 2000-08-15 Gerd Moellmann <gerd@gnu.org> |
675 | |
30825 | 676 * alloc.c (compact_small_strings): Use safe_bcopy, add an |
677 assertion. | |
678 | |
30822 | 679 * term.c (turn_off_face): Reset standout_mode when resetting |
30825 | 680 appearances with capability `me'. |
30822 | 681 (write_glyphs): Switch on inverse video before each face change. |
682 | |
30785 | 683 2000-08-14 Dave Love <fx@gnu.org> |
684 | |
685 * alloc.c [HAVE_UNISTD_H]: Include unistd.h; don't declare sbrk. | |
686 [!HAVE_UNISTD_H]: Use POINTER_TYPE to declare sbrk. | |
687 (lisp_free): Declare and make static. | |
688 | |
689 * window.c: Fix embedded comment. | |
690 (syms_of_window): Fix doc string. | |
691 | |
30781 | 692 2000-08-14 Gerd Moellmann <gerd@gnu.org> |
693 | |
694 * keymap.c (push_key_description): If C without modifiers is < 32, | |
695 make sure to print `C-' before `M-', like in the manual. | |
696 | |
30762 | 697 2000-08-11 Gerd Moellmann <gerd@gnu.org> |
698 | |
699 * fns.c (hashfn_eq, hashfn_eql): Don't handle strings specially | |
700 since they aren't relocated anymore. | |
701 (sxhash_string): Make sure returned hash code fits in a Lisp | |
702 integer. | |
703 | |
704 * xdisp.c (try_cursor_movement): Fix handling of cursor in | |
705 partially visible line which is smaller than the window's | |
706 height. | |
707 | |
30753 | 708 2000-08-11 Kenichi Handa <handa@etl.go.jp> |
709 | |
710 * ccl.c (CCL_READ_CHAR): If source is multibyte, pay attention to | |
711 the multibyte form of eight-bit-control characters. | |
712 (Fccl_execute_on_string): Initialize ccl->multibyte. | |
713 | |
714 * ccl.h (struct ccl_program): New member multibyte. | |
715 | |
716 * coding.c (ccl_coding_driver): Initialize ccl->multibyte. | |
717 | |
30751 | 718 2000-08-11 Kenichi Handa <handa@etl.go.jp> |
719 | |
720 * regex.c (regex_compile) <normal_char>: Pay attention to | |
721 multibyteness. | |
722 (analyse_first) <exactn>: Setup fastmap correctly for | |
723 eight-bit-control characters. | |
724 | |
725 2000-08-11 Kenichi Handa <handa@etl.go.jp> | |
726 | |
727 * termhooks.h (enum event_kind): New member | |
728 multibyte_char_keystroke. | |
729 | |
730 * keyboard.c (make_lispy_event): Handle the new event type | |
731 multibyte_char_keystroke. | |
732 | |
733 * xterm.c: Include coding.h. | |
734 (XTread_socket): Work around a bug of XmbLookupString. If the | |
735 input is from XIM, decode it according to the current locale. In | |
736 that case, generate multibyte_char_keystroke events. | |
737 | |
30746 | 738 2000-08-11 Kenichi Handa <handa@etl.go.jp> |
739 | |
740 * xdisp.c (TRACE_MOVE) [GLYPH_DEBUG]: Delete the last semicolon. | |
741 (TRACE_MOVE) [not GLYPH_DEBUG]: Define dummy. | |
742 | |
30745 | 743 2000-08-10 Gerd Moellmann <gerd@gnu.org> |
744 | |
745 * xdisp.c (trace_move) [GLYPH_DEBUG]: New variable. | |
746 (TRACE_MOVE) [GLYPH_DEBUG]: New macro. | |
747 (move_it_in_display_line_to): Record iterator's ascent and descent | |
748 before producing glyphs, and restore them when we know the glyph | |
749 doesn't fit on the line. | |
750 (move_it_to): Restructured so that it's easier to debug. If | |
751 moving to a vpos, and not moving to an x or character position, | |
752 stop as soon as the specified vpos is reached; don't move further | |
753 into that line because that might change the computed line height. | |
754 (try_cursor_movement): New function, extracted from the cursor | |
755 movement branch of redisplay_window. If ending on a partially | |
756 visible line, don't try to scroll if the cursor line is taller | |
757 than the window. | |
758 (redisplay_window): Use try_cursor_movement. | |
759 | |
760 * window.c (Fwindow_end): Rewritten to not use Fvertical_motion, | |
761 because that function doesn't cope with variable-height lines. | |
762 | |
763 * xterm.c (x_draw_bar_cursor): If cursor is on an image, draw a | |
764 box cursor because that's better visible for large images. | |
765 | |
30737 | 766 2000-08-10 Miles Bader <miles@gnu.org> |
767 | |
768 * w32term.c (note_mouse_highlight): Update calls to overlays_at. | |
769 | |
30729 | 770 2000-08-10 Gerd Moellmann <gerd@gnu.org> |
771 | |
772 * xdisp.c (Vmessages_buffer_name): New variable. | |
773 (message_dolog): Use it. | |
774 (syms_of_xdisp): Initialize it. | |
775 | |
30726 | 776 2000-08-10 Eli Zaretskii <eliz@is.elta.co.il> |
777 | |
778 * msdos.c (IT_note_mouse_highlight): Update the calls to | |
779 overlays_at. | |
780 (toplevel) <kbd_buffer_store_event>: Remove prototype, it's | |
781 redundant now that keyboard.h is included. | |
782 | |
30715 | 783 2000-08-09 Eli Zaretskii <eliz@is.elta.co.il> |
784 | |
785 * keyboard.c (kbd_buffer_events_waiting): New function. | |
786 | |
787 * keyboard.h (kbd_buffer_events_waiting): Add prototype. | |
788 | |
789 * msdos.c: Include keyboard.h. | |
790 (XMenuActivate): Empty no_event events from the event buffer. If | |
791 no events are left after that, call clear_input_pending. | |
792 (mouse_clear_clicks): New function, code moved from mouse_init. | |
793 (mouse_init, XMenuActivate): Call mouse_clear_clicks to force the | |
794 mouse driver to ``forget'' any past clicks. | |
795 | |
796 * Makefile.in (msdos.o): Depend on keyboard.h. | |
797 | |
30708 | 798 2000-08-09 Gerd Moellmann <gerd@gnu.org> |
799 | |
30724 | 800 * lisp.h (input_pending): External declaration. |
801 | |
802 * dispextern.h (Qredisplay_dont_pause): Declare extern. | |
803 | |
804 * xdisp.c (echo_area_display): Display thoroughly if input is | |
805 pending. Bind redisplay-dont-pause to t during the redisplay. | |
806 in case input is pending. | |
807 | |
808 * dispnew.c (Qredisplay_dont_pause): New variable. | |
809 (syms_of_display): Initialize and staticpro it. | |
810 (update_frame_1): Don't interrupt the display for pending input if | |
811 redisplay_dont_pause is set. | |
812 | |
30714 | 813 * dispnew.c (mode_line_string): Declare parameter MODE_LINE_P. |
814 | |
30708 | 815 * xfaces.c (Ftty_suppress_bold_inverse_default_colors): Doc fix. |
816 | |
30702 | 817 2000-08-09 Miles Bader <miles@lsi.nec.co.jp> |
818 | |
819 * callproc.c (Fcall_process): Terminate the unwind-protect around | |
820 the post-read-conversion of coding system. | |
821 | |
30701 | 822 * buffer.c (overlays_at): Add CHANGE_REQ parameter. |
823 (Foverlays_at, Fnext_overlay_change, Fprevious_overlay_change): Use it. | |
824 * buffer.h (overlays_at): Update prototype. | |
825 * xdisp.c (next_overlay_change): Update call to overlays_at. | |
826 * xfaces.c (face_at_buffer_position): Likewise. | |
827 * textprop.c (Fget_char_property): Likewise. | |
828 * xterm.c (note_mouse_highlight): Likewise. | |
829 | |
30685 | 830 * minibuf.c (do_completion): Don't consider a simple change of |
831 case as `completion'. | |
832 | |
30674
9aad40936cfe
*coding.c (find_safe_codings): CHAR_TABLE_SET index must be a lisp object.
Ken Raeburn <raeburn@raeburn.org>
parents:
30672
diff
changeset
|
833 2000-08-08 Ken Raeburn <raeburn@gnu.org> |
9aad40936cfe
*coding.c (find_safe_codings): CHAR_TABLE_SET index must be a lisp object.
Ken Raeburn <raeburn@raeburn.org>
parents:
30672
diff
changeset
|
834 |
30683
386d91b16514
*** empty log message ***
Ken Raeburn <raeburn@raeburn.org>
parents:
30674
diff
changeset
|
835 * keyboard.c (syms_of_keyboard): Initialize |
386d91b16514
*** empty log message ***
Ken Raeburn <raeburn@raeburn.org>
parents:
30674
diff
changeset
|
836 last_point_position_buffer. |
386d91b16514
*** empty log message ***
Ken Raeburn <raeburn@raeburn.org>
parents:
30674
diff
changeset
|
837 * undo.c (record_delete): Make sure last_point_position_buffer is |
386d91b16514
*** empty log message ***
Ken Raeburn <raeburn@raeburn.org>
parents:
30674
diff
changeset
|
838 a buffer before comparing pointers. |
386d91b16514
*** empty log message ***
Ken Raeburn <raeburn@raeburn.org>
parents:
30674
diff
changeset
|
839 |
386d91b16514
*** empty log message ***
Ken Raeburn <raeburn@raeburn.org>
parents:
30674
diff
changeset
|
840 * coding.h (decode_coding_string): Declare. |
386d91b16514
*** empty log message ***
Ken Raeburn <raeburn@raeburn.org>
parents:
30674
diff
changeset
|
841 |
386d91b16514
*** empty log message ***
Ken Raeburn <raeburn@raeburn.org>
parents:
30674
diff
changeset
|
842 * intervals.h (Fprevious_single_char_property_change): Declare. |
386d91b16514
*** empty log message ***
Ken Raeburn <raeburn@raeburn.org>
parents:
30674
diff
changeset
|
843 |
386d91b16514
*** empty log message ***
Ken Raeburn <raeburn@raeburn.org>
parents:
30674
diff
changeset
|
844 * textprop.c (Fprevious_single_char_property_change): Don't do |
386d91b16514
*** empty log message ***
Ken Raeburn <raeburn@raeburn.org>
parents:
30674
diff
changeset
|
845 arithmetic directly on lisp objects. |
386d91b16514
*** empty log message ***
Ken Raeburn <raeburn@raeburn.org>
parents:
30674
diff
changeset
|
846 |
30693 | 847 * editfns.c (find_field): Use EQ, not ==, to compare Lisp |
30683
386d91b16514
*** empty log message ***
Ken Raeburn <raeburn@raeburn.org>
parents:
30674
diff
changeset
|
848 objects. |
386d91b16514
*** empty log message ***
Ken Raeburn <raeburn@raeburn.org>
parents:
30674
diff
changeset
|
849 |
386d91b16514
*** empty log message ***
Ken Raeburn <raeburn@raeburn.org>
parents:
30674
diff
changeset
|
850 * keyboard.h (menu_item_eval_property): Declare. |
386d91b16514
*** empty log message ***
Ken Raeburn <raeburn@raeburn.org>
parents:
30674
diff
changeset
|
851 |
386d91b16514
*** empty log message ***
Ken Raeburn <raeburn@raeburn.org>
parents:
30674
diff
changeset
|
852 * xdisp.c (message_dolog): Save and protect string "*Messages*" to |
386d91b16514
*** empty log message ***
Ken Raeburn <raeburn@raeburn.org>
parents:
30674
diff
changeset
|
853 reuse as buffer name, instead of recreating (and discarding) every |
386d91b16514
*** empty log message ***
Ken Raeburn <raeburn@raeburn.org>
parents:
30674
diff
changeset
|
854 time a message is logged. |
386d91b16514
*** empty log message ***
Ken Raeburn <raeburn@raeburn.org>
parents:
30674
diff
changeset
|
855 (with_echo_area_buffer): Make callback arg A2 a lisp object. |
30693 | 856 (current_message_1, truncate_message_1, set_message_1) |
857 (display_echo_area_1, resize_mini_window_1): Signatures changed. | |
858 (current_message, truncate_echo_area, display_echo_area) | |
859 (resize_echo_area_axactly): Changed calls. | |
30683
386d91b16514
*** empty log message ***
Ken Raeburn <raeburn@raeburn.org>
parents:
30674
diff
changeset
|
860 |
30674
9aad40936cfe
*coding.c (find_safe_codings): CHAR_TABLE_SET index must be a lisp object.
Ken Raeburn <raeburn@raeburn.org>
parents:
30672
diff
changeset
|
861 * coding.c (find_safe_codings): CHAR_TABLE_SET index must be a |
30693 | 862 Lisp object. |
30674
9aad40936cfe
*coding.c (find_safe_codings): CHAR_TABLE_SET index must be a lisp object.
Ken Raeburn <raeburn@raeburn.org>
parents:
30672
diff
changeset
|
863 (Ffind_coding_systems_region_internal): First argument to Fappend |
30693 | 864 must be an integer, not a Lisp object. |
30674
9aad40936cfe
*coding.c (find_safe_codings): CHAR_TABLE_SET index must be a lisp object.
Ken Raeburn <raeburn@raeburn.org>
parents:
30672
diff
changeset
|
865 |
30672 | 866 2000-08-08 Kenichi Handa <handa@etl.go.jp> |
867 | |
868 * charset.c (Fchar_width): Doc fix. | |
869 | |
30671 | 870 2000-08-08 Gerd Moellmann <gerd@gnu.org> |
871 | |
872 * charset.c (Fstring_width): Doc fix. | |
873 | |
30632 | 874 2000-08-07 Gerd Moellmann <gerd@gnu.org> |
875 | |
30708 | 876 * xdisp.c (start_display): When starting display on a continuation |
30654 | 877 line, clear ascent and descent members of the iterator structure; |
878 the height of the continued line does not affect the height of the | |
879 continuation line. | |
880 (make_cursor_line_fully_visible): Do nothing if cursor is on a | |
881 line taller than the window. | |
882 (redisplay_window) <forced window start>: Handle case that the | |
883 middle of the window is not found in any row. | |
884 (dump_glyph_row): Show more information. | |
885 (compute_line_metrics): Use MATRIX_FIRST_TEXT_ROW to determine the | |
886 first text line in a glyph matrix. | |
887 | |
888 * xterm.c (x_draw_image_foreground): Avoid drawing outside | |
889 of the clip area when image doesn't have a mask. | |
890 | |
30639 | 891 * fns.c (sweep_weak_table): Fix survival conditions for |
892 key-or-value and key-and-value weakness. | |
893 | |
894 * .gdbinit (xhashtable): New command. | |
895 | |
30635 | 896 * fns.c (sweep_weak_hash_tables): Fix the code taking unmarked |
897 tables out of the list of all weak hash tables. | |
898 | |
30632 | 899 * xdisp.c (ensure_echo_area_buffers): If a buffer was killed, and |
30633 | 900 a new buffer is created, make sure echo_area_buffer[] references |
901 the new buffer. | |
30632 | 902 |
30629 | 903 2000-08-07 Eli Zaretskii <eliz@is.elta.co.il> |
904 | |
905 * msdos.c (Fmsdos_set_mouse_buttons): Add missing backslashes in | |
906 the doc string. | |
907 | |
30625 | 908 2000-08-07 Kenichi Handa <handa@etl.go.jp> |
909 | |
910 * syntax.c (skip_chars): Fix previous change. Make the handling | |
911 of unibyte string consistent with that of regex search. | |
912 | |
30603 | 913 2000-08-05 Gerd Moellmann <gerd@gnu.org> |
914 | |
30614 | 915 * xmenu.c (popup_get_selection): Use xfree instead of free. |
916 | |
917 * fileio.c (Finsert_file_contents): Use xfree instead of free. | |
918 | |
919 * editfns.c (Ftranspose_regions): Use xfree instead of free. | |
920 | |
921 * callproc.c (child_setup): Use xfree instead of free. | |
922 | |
923 * sysdep.c (opendir, GetTempDirName, run_mac_command): Use xmalloc | |
924 instead of malloc. | |
925 (run_mac_command, closedir): Use `xfree' instead of `free'. | |
926 | |
927 * keymap.c (current_minor_maps): Use xmalloc instead of malloc. | |
928 | |
929 * eval.c (error): Use xfree instead of free. | |
930 | |
30603 | 931 * xfaces.c, xfns.c, w32fns.c: Replace `illegal' with `invalid'. |
932 | |
933 * fns.c: Replace `illegal' with `invalid'. | |
30614 | 934 (Fmake_hash_table, make_hash_table): Allow table size of 0. |
30603 | 935 |
30596
48a9e9f4fd9d
(skip_chars): Fix handling of multibyte<->unibyte conversion.
Kenichi Handa <handa@m17n.org>
parents:
30595
diff
changeset
|
936 2000-08-05 Kenichi Handa <handa@etl.go.jp> |
48a9e9f4fd9d
(skip_chars): Fix handling of multibyte<->unibyte conversion.
Kenichi Handa <handa@m17n.org>
parents:
30595
diff
changeset
|
937 |
48a9e9f4fd9d
(skip_chars): Fix handling of multibyte<->unibyte conversion.
Kenichi Handa <handa@m17n.org>
parents:
30595
diff
changeset
|
938 * syntax.c (skip_chars): Fix handling of multibyte<->unibyte |
48a9e9f4fd9d
(skip_chars): Fix handling of multibyte<->unibyte conversion.
Kenichi Handa <handa@m17n.org>
parents:
30595
diff
changeset
|
939 conversion. |
48a9e9f4fd9d
(skip_chars): Fix handling of multibyte<->unibyte conversion.
Kenichi Handa <handa@m17n.org>
parents:
30595
diff
changeset
|
940 |
30598
e0b06b3efefe
*** empty log message ***
Noah Friedman <friedman@splode.com>
parents:
30596
diff
changeset
|
941 2000-08-04 Noah Friedman <friedman@splode.com> |
e0b06b3efefe
*** empty log message ***
Noah Friedman <friedman@splode.com>
parents:
30596
diff
changeset
|
942 |
e0b06b3efefe
*** empty log message ***
Noah Friedman <friedman@splode.com>
parents:
30596
diff
changeset
|
943 * fns.c (Fmake_hash_table): Add missing `\n\' to end of line in |
e0b06b3efefe
*** empty log message ***
Noah Friedman <friedman@splode.com>
parents:
30596
diff
changeset
|
944 docstring. |
e0b06b3efefe
*** empty log message ***
Noah Friedman <friedman@splode.com>
parents:
30596
diff
changeset
|
945 |
30595 | 946 2000-08-04 Gerd Moellmann <gerd@gnu.org> |
947 | |
948 * syntax.c (skip_chars): Fix typo in error message. | |
949 | |
30588
bfbe4e93bdcf
*** empty log message ***
Andreas Schwab <schwab@suse.de>
parents:
30582
diff
changeset
|
950 2000-08-04 Andreas Schwab <schwab@suse.de> |
bfbe4e93bdcf
*** empty log message ***
Andreas Schwab <schwab@suse.de>
parents:
30582
diff
changeset
|
951 |
bfbe4e93bdcf
*** empty log message ***
Andreas Schwab <schwab@suse.de>
parents:
30582
diff
changeset
|
952 * m/ia64.h: Moved from s/ia64.h. |
bfbe4e93bdcf
*** empty log message ***
Andreas Schwab <schwab@suse.de>
parents:
30582
diff
changeset
|
953 |
30577 | 954 2000-08-04 Kenichi Handa <handa@etl.go.jp> |
955 | |
30582 | 956 * process.c (read_process_output): Big simplification. Handle |
957 composition and post-read-conversion of coding system correctly. | |
958 (send_process): Handle composition correctly. | |
959 | |
960 * callproc.c (Fcall_process): Handle post-read-conversion of | |
961 coding system if any. | |
962 | |
30577 | 963 * coding.c (decode_coding_iso2022): More strict check for handling |
964 single shifting. | |
30582 | 965 (coding_restore_composition): Pay attention to the case that |
966 cmp_data is not set properly (because of invalid code in the | |
967 source text). | |
968 (run_pre_post_conversion_on_str): Include text properties in the | |
969 resulting string. | |
970 (decode_coding_string): Set members of coding correctly. | |
30577 | 971 |
30576 | 972 2000-08-03 Gerd Moellmann <gerd@gnu.org> |
973 | |
974 * s/ia64.h: New file. | |
975 | |
976 * widget.c (set_frame_size, update_wm_hints, EmacsFrameSetValues): | |
977 Use NULL instead of 0 at the end of variable argument list of | |
978 XtVaGetValues and XtVaSetValues, because 0 fails on systems where | |
979 sizeof (int) < sizeof (void *). | |
980 | |
981 * xmenu.c (update_frame_menubar): Use NULL instead of 0 at the end | |
982 of variable argument lists of XtVaGetValues and XtVaSetValues. | |
983 | |
984 * xfns.c (Fx_file_dialog): Use NULL instead of 0 at the end of | |
985 variable argument lists of XtVaGetValues and XtVaSetValues. | |
986 | |
30564 | 987 2000-08-02 Gerd Moellmann <gerd@gnu.org> |
988 | |
989 * alloc.c (lisp_malloc, lisp_free): Use size_t and POINTER_TYPE. | |
990 (xrealloc, xmalloc): Use size_t. Some callers adjusted. | |
991 | |
992 * lisp.h (Fsingle_key_description, xmalloc, xrealloc): Change | |
993 prototype. | |
994 | |
995 * keyboard.c (read_char_minibuf_menu_prompt): Add new parameter | |
996 in call to Fsingle_key_description. | |
997 | |
998 * keymap.c (Fsingle_key_description): Add parameter NO_ANGLES. | |
999 Callers changed. | |
1000 | |
1001 2000-08-02 Colin Walters <walters@cis.ohio-state.edu> | |
1002 | |
1003 * window.c (display_buffer_reuse_frames): New variable. | |
1004 (Fdisplay_buffer): If display_buffer_reuse_frames is set, reuse | |
1005 frames displaying BUFFER. | |
1006 (syms_of_window): Define Lisp variable | |
1007 display-buffer-reuse-frames. | |
1008 | |
30551 | 1009 2000-08-01 Miles Bader <miles@gnu.org> |
1010 | |
1011 * editfns.c (Fconstrain_to_field): Fix the conditions for deciding | |
1012 when to constrain NEW_POS (they were pretty screwed up before). | |
1013 | |
30531 | 1014 2000-07-31 Eli Zaretskii <eliz@is.elta.co.il> |
1015 | |
1016 * msdos.c (run_msdos_command): Save and restore the master | |
1017 environment, for the case that child_setup signals an error. | |
1018 When mirroring slashes in DOS shell commands, don't fail when | |
1019 argv[2] has embedded blanks. | |
30533 | 1020 (Fmsdos_set_mouse_buttons, mouse_setup_buttons): New functions. |
1021 (syms_of_msdos): Defsubr Fmsdos_set_mouse_buttons. | |
1022 (dos_ttraw): Call mouse_setup_buttons. | |
30531 | 1023 |
1024 * callproc.c (child_setup) [MSDOS]: malloc pwd_var instead of | |
1025 using alloca; free it after run_msdos_command returns. | |
1026 | |
30507 | 1027 2000-07-27 Dave Love <fx@gnu.org> |
1028 | |
1029 * s/irix6-5.h (IRIX_FORCE_32_BITS, LD_SWITCH_SYSTEM): Don't | |
1030 define. | |
1031 [_MIPS_SZLONG == 64]: Set up for 64-bit mode -- not currently | |
1032 working. | |
1033 | |
1034 * m/iris4d.h (XUINT, XSET, XUNMARK) [_LP64]: Don't define. | |
1035 | |
30504 | 1036 2000-07-27 Eli Zaretskii <eliz@is.elta.co.il> |
1037 | |
1038 * editfns.c (lisp_time_argument): Fix last change. | |
1039 | |
30502 | 1040 2000-07-27 Gerd Moellmann <gerd@gnu.org> |
1041 | |
30511 | 1042 * fns.c (Fdelete): Make it work on vectors and strings in addition |
1043 to lists. | |
1044 | |
30502 | 1045 * fns.c (Qkey_or_value, Qkey_and_value): New variables. |
1046 (syms_of_fns): Initialize new variables. | |
1047 (sweep_weak_table): Handle weakness `key-or-value' and | |
1048 `key-and-value'. | |
1049 (Fmake_hash_table): Recognize `key-and-value' and `key-or-value' | |
1050 weakness, with t meaning the same as `key-and-value'. | |
1051 | |
30490 | 1052 2000-07-27 Kenichi Handa <handa@etl.go.jp> |
1053 | |
1054 * coding.h (struct coding_system): Member safe_charset deleted. | |
1055 | |
1056 * coding.c (Qsafe_charsets): This variable deleted. | |
1057 (Qsafe_chars, Vchar_coding_system_table, Qchar_coding_system): New | |
1058 variables. | |
1059 (coding_safe_chars): New function. | |
1060 (CODING_SAFE_CHAR_P): New macro. | |
1061 (CHARSET_OK): New arg C. Call CODING_SAFE_CHAR_P instead of | |
1062 checking safe_charsets member of the coding system. Caller | |
1063 changed. | |
1064 (detect_coding_iso2022): New local variable safe_chars. | |
1065 (DECODE_DESIGNATION): Call CODING_SAFE_CHAR_P instead of checking | |
1066 safe_charsets member of the coding system. | |
1067 (decode_coding_iso2022): New local variable safe_chars. | |
1068 (ENCODE_ISO_CHARACTER_DIMENSION1): Don't check unsafe chars here. | |
1069 (ENCODE_ISO_CHARACTER_DIMENSION2): Likewise. | |
1070 (ENCODE_ISO_CHARACTER): Arguments changed. Caller changed. | |
1071 (ENCODE_UNSAFE_CHARACTER): New macro. | |
1072 (encode_coding_iso2022): New local variable safe_chars. Check | |
1073 unsafe chars. | |
1074 (setup_coding_system): Delete the code to initialize | |
1075 coding->safe_charses | |
1076 (intersection, find_safe_codings): New functions. | |
1077 (Ffind_coding_systems_region_internal): New function. | |
1078 (syms_of_coding): Defsubr it. Initialize Qsafe_chars, | |
1079 Qsafe_cding_system. Make Vchar_coding_system_table a Lisp | |
1080 variable and initialize it. | |
1081 | |
1082 * fns.c (char_table_ref_and_index): New function. | |
1083 | |
1084 * lisp.h (char_table_ref_and_index): Add prototype. | |
1085 | |
30480 | 1086 2000-07-26 Sam Steingold <sds@gnu.org> |
1087 | |
1088 * editfns.c (lisp_time_argument): Added third argument `usec'. | |
30511 | 1089 (Ffloat_time): New built-in Lisp function. |
30480 | 1090 |
30473 | 1091 2000-07-26 Gerd Moellmann <gerd@gnu.org> |
1092 | |
30477 | 1093 * dispextern.h (GLYPH_FROM_CHAR_GLYPH): Use CHARACTERBITS bits |
1094 for the character code. | |
1095 | |
1096 * config.in (HAVE_SOUND): Define only for FreeBSD, NetBSD and | |
1097 GNU/Linux. | |
1098 | |
30473 | 1099 * xmenu.c (menu_highlight_callback): Call show_help_echo directly |
1100 if called for a popup menu. | |
1101 (xmenu_show): Store help string in widget values. | |
1102 | |
30466 | 1103 2000-07-26 Dave Love <fx@gnu.org> |
1104 | |
1105 * syswait.h: Move some definitions. | |
1106 (HAVE_SYS_WAIT_H): Undef for HPUX7, Convex. | |
1107 [!HAVE_SYS_WAIT_H]: Define things unconditionally. More | |
1108 perspicuous definitions. | |
1109 (WTERMSIG): Fix bit pattern used. | |
1110 | |
30460 | 1111 2000-07-26 Kenichi Handa <handa@etl.go.jp> |
1112 | |
1113 * print.c (print_object): If vector printing is truncated, print | |
1114 "..." to indicate it as well as the case of list printing. | |
1115 | |
30444 | 1116 2000-07-25 Gerd Moellmann <gerd@gnu.org> |
1117 | |
30449 | 1118 * xdisp.c (next_element_from_display_vector): Improve comments. |
1119 | |
1120 * lisp.h (GLYPH_MASK_CHAR, GLYPH_MASK_FACE): Use 19 bits | |
1121 for the character code, and the rest for the face id as in 20.x. | |
1122 (FAST_GLYPH_FACE, FAST_MAKE_GLYPH): Changed accordingly. | |
1123 | |
1124 * window.c (window_display_table): Cleaned up. | |
1125 | |
30444 | 1126 * syntax.c (Fforward_word): Add last arg nil in call of |
1127 Fconstrain_to_field. | |
1128 | |
30442 | 1129 2000-07-25 Eli Zaretskii <eliz@is.elta.co.il> |
1130 | |
30449 | 1131 * fileio.c (Frename_file) [DOS_NT]: If the file names are |
30442 | 1132 identical but for the letter-case, don't call |
1133 barf_or_query_if_file_exists. | |
1134 | |
30438 | 1135 2000-07-25 Miles Bader <miles@gnu.org> |
1136 | |
1137 * editfns.c (find_field): Honor special `boundary' fields. | |
1138 (Qboundary): New variables. | |
1139 (syms_of_editfns): Initialize Qboundary. | |
1140 (Fconstrain_to_field): Add the INHIBIT-CAPTURE-PROPERTY argument. | |
1141 Use scan_buffer instead of find_before_next_newline, because it | |
1142 allows us to detect the boundary case where there's a newline at | |
1143 the search limit. | |
1144 * lisp.h (Fconstrain_to_field): Update external declaration. | |
1145 | |
30433 | 1146 2000-07-24 Gerd Moellmann <gerd@gnu.org> |
1147 | |
1148 * print.c (temp_output_buffer_setup): Don't call1 Vrun_hooks | |
1149 if that is nil. | |
30438 | 1150 |
30431 | 1151 2000-07-24 Dave Love <fx@gnu.org> |
1152 | |
1153 * s/sunos4-0.h, s/sol2.h: | |
1154 (LIBS_TERMCAP): Move from m/sparc.h. | |
1155 | |
1156 * m/sparc.h (TERMINFO): Moved to system files (probably only | |
1157 relevant for sunos4 judging by its vintage). | |
1158 (BITS_PER_LONG, BITS_PER_EMACS_INT, _LP64): Define conditional on | |
1159 __arch64__. | |
1160 | |
30424 | 1161 2000-07-24 Eli Zaretskii <eliz@is.elta.co.il> |
1162 | |
1163 * xmenu.c (keymap_panes): Pass the keymap's prompt as the pane | |
1164 name to single_keymap_panes. | |
1165 | |
30418 | 1166 2000-07-24 Andreas Schwab <schwab@suse.de> |
1167 | |
1168 * fns.c (Fmakehash): Pass Qeql to Fmake_hash_table if TEST is nil. | |
1169 | |
30415 | 1170 2000-07-24 Gerd Moellmann <gerd@gnu.org> |
1171 | |
1172 * xdisp.c (with_echo_area_buffer): Take additional EMACS_INT | |
1173 parameters instead of using int parameters. Expect FN to accept | |
1174 EMACS_INT parameters. | |
1175 (display_echo_area, resize_echo_area_axactly, current_message) | |
1176 (truncate_echo_area, set_message_1): Call with_echo_area_buffer | |
1177 with new argument list. | |
1178 (resize_mini_window_1): New callback function. | |
1179 (current_message_1, truncate_message_1, set_message_1): Change | |
1180 parameter lists to the new format expected by | |
1181 with_echo_area_buffer. | |
1182 | |
30397 | 1183 2000-07-24 Kenichi Handa <handa@etl.go.jp> |
1184 | |
1185 * fontset.c (fontset_ref): Remove INLINE declaration. | |
1186 (fontset_ref_via_base): Likewise. | |
1187 (Fset_fontset_font): Convert FAMILY and REGISTRY specifications | |
1188 to downcase. | |
1189 | |
30382 | 1190 2000-07-23 Eli Zaretskii <eliz@is.elta.co.il> |
1191 | |
1192 * msdos.c (IT_note_mouse_highlight): Process overlays in the | |
1193 correct order of priority. If help echo was found in an overlay, | |
1194 use that overlay as the object in which the help echo was found. | |
1195 | |
30378 | 1196 2000-07-22 Miles Bader <miles@gnu.org> |
1197 | |
1198 * textprop.c (Fprevious_single_char_property_change): The initial | |
1199 property value should be from the position preceding POSITION, not | |
1200 following it. | |
1201 | |
30377 | 1202 2000-07-22 Eli Zaretskii <eliz@is.elta.co.il> |
1203 | |
1204 * coding.c (syms_of_coding): Doc fix for | |
1205 inhibit-iso-escape-detection. | |
1206 | |
30364 | 1207 2000-07-21 Gerd Moellmann <gerd@gnu.org> |
1208 | |
30372 | 1209 * xterm.c (note_mouse_highlight): Process overlays in the right |
1210 order of priority. | |
30480 | 1211 |
30370 | 1212 * keyboard.c (show_help_echo, gen_help_event): Extend comments. |
1213 | |
1214 * xterm.c (note_mouse_highlight): If help-echo was found in an | |
1215 overlay, use that overlay as the object in which the help was | |
1216 found. | |
1217 | |
30367 | 1218 * window.c (foreach_window_1): Fix typo reversing an if-condition. |
30480 | 1219 |
30364 | 1220 * window.c (foreach_window): Instead of a fake variable argument |
1221 list, take one USER_DATA argument. | |
1222 (foreach_window_1): Likewise, and call callback functions with two | |
1223 args, the window and USER_DATA. | |
1224 (struct check_window_data): New struct. | |
1225 (check_window_containing): Use it. | |
1226 (window_from_coordinates): Set up a struct check_window_data for | |
1227 foreach_window. | |
1228 (add_window_to_list, freeze_window_start): Change parameters | |
1229 according to new calling convention. | |
1230 | |
1231 * window.h (foreach_window): Change prototype. | |
1232 | |
1233 * buffer.c (Fprevious_overlay_change): Avoid memory leak. | |
1234 | |
1235 2000-07-21 Eli Zaretskii <eliz@is.elta.co.il> | |
1236 | |
1237 * xmenu.c (menu_help_callback): Call show_help_echo with | |
1238 additional arguments OBJECT and POS. | |
1239 | |
30355 | 1240 2000-07-21 Kenichi Handa <handa@etl.go.jp> |
1241 | |
30357 | 1242 * data.c (Faset): Allow storing any multibyte character in a |
1243 string. Convert unibyte string to multibyte if necessary. | |
1244 | |
30355 | 1245 * xfns.c (x_encode_text): New function. |
1246 (x_set_name): Use x_encode_text. | |
1247 (x_set_title): Likewise. | |
1248 | |
1249 * xselect.c (lisp_data_to_selection_data): Use x_encode_text. | |
1250 | |
1251 * xterm.h (x_encode_text): Add prototype. | |
1252 | |
30346 | 1253 2000-07-20 Dave Love <fx@gnu.org> |
1254 | |
1255 * ccl.c (Fccl_execute_on_string): Don't check xmalloc return. Use | |
1256 xfree, not free. | |
1257 | |
30342 | 1258 2000-07-20 Eli Zaretskii <eliz@is.elta.co.il> |
1259 | |
1260 * msdos.c (help_echo_window): New variable. | |
1261 (syms_of_msdos): Initialize and staticpro it. | |
1262 (IT_note_mode_line_highlight): Set help_echo_window. | |
1263 (IT_note_mouse_highlight): Ditto. | |
1264 (dos_rawgetc): Store help_echo_window in the second event produced | |
1265 for HELP_EVENTs. | |
1266 | |
1267 * msdos.c (IT_note_mode_line_highlight, IT_note_mouse_highlight): | |
1268 Record the object that generated the help echo and the position of | |
1269 that object in help_echo_object and help_echo_pos. Record that | |
1270 some glyphs in a row are displayed in mouse-face. | |
1271 (IT_update_begin): Don't clear mouse highlight unless one of the | |
1272 enabled glyph rows is marked as being displayed in mouse-face. | |
1273 (dos_rawgetc): Generate 2 events for HELP_EVENT. Pass the object | |
1274 and position recorded in help_echo_object and help_echo_pos to the | |
1275 event queue. | |
1276 (IT_menu_display): Accept a new argument PN: the pane number of | |
1277 the current menu pane. Record the pane number and the item | |
1278 number of the item which has associated help string. | |
1279 (XMenuActivate): Update the prototype for help_callback in | |
1280 function declaration. Call IT_menu_display with the current menu | |
1281 pane number as an additional argument. Call help_callback with | |
1282 two additional arguments: the pane number and the item number of | |
1283 the menu item associated with the help text. | |
1284 (help_echo_object, help_echo_pos): New variables. | |
1285 (syms_of_msdos): Initialize them and staticpro help_echo_object. | |
1286 | |
1287 * msdos.h (XMenuActivate): Update prototype. | |
1288 | |
30318 | 1289 2000-07-19 Gerd Moellmann <gerd@gnu.org> |
1290 | |
30329 | 1291 * xdisp.c (with_echo_area_buffer): Call FN with more arguments. |
1292 Add some more prototypes. | |
1293 | |
1294 * xterm.c, xterm.h: Add some more prototypes. | |
1295 | |
1296 * lisp.h (Fnext_single_char_property_change): Add prototype. | |
1297 | |
1298 * dispnew.c (direct_output_for_insert): Remove confusing | |
1299 outer local variable mouse_face_overwritten_p. | |
1300 (glyph_row_slice_p): Put in #ifdef GLYPH_DEBUG. | |
1301 | |
30318 | 1302 * alloc.c (allocate_string_data): Don't copy old string contents. |
1303 | |
30314 | 1304 2000-07-19 Kenichi Handa <handa@etl.go.jp> |
1305 | |
1306 * coding.c (code_convert_region): Delete text properties before | |
1307 shrinking the conversion region. | |
1308 | |
30303 | 1309 2000-07-18 Gerd Moellmann <gerd@gnu.org> |
1310 | |
30308 | 1311 * dispnew.c (update_text_area): Write the whole row if it |
1312 has mouse-face in it. | |
1313 | |
30305 | 1314 * xfaces.c (face-alternative-font-family-alist): Remove |
1315 DEFVAR_LISP; staticpro instead. | |
1316 | |
30480 | 1317 * xmenu.c (menu_help_callback): Call show_help_echo with |
30303 | 1318 new arguments. |
1319 | |
1320 * keyboard.c (show_help_echo): Add parameter WINDOW. | |
1321 (read_char): Call show_help_echo with window extracted from Lisp | |
1322 help event. | |
1323 (gen_help_event): Add parameter WINDOW. | |
1324 | |
1325 * keyboard.h (show_help_echo, gen_help_event): Change prototypes. | |
1326 | |
1327 * xterm.c (help_echo_window): New variable. | |
1328 (note_mouse_highlight, note_tool_bar_highlight): Set | |
1329 help_echo_window. | |
1330 (XTread_socket): Pass help_echo_window to gen_help_event. | |
1331 (syms_of_xterm): Initialize and staticpro help_echo_window. | |
1332 | |
30298 | 1333 2000-07-18 Dave Love <fx@gnu.org> |
1334 | |
1335 * Makefile.in: Fix dependencies of blockinput.h on atimer.h, | |
1336 systime.h. | |
1337 | |
30290 | 1338 2000-07-18 Gerd Moellmann <gerd@gnu.org> |
1339 | |
30296 | 1340 * alloc.c (allocate_string_data): If string had already data |
1341 assigned, copy old contents to new string data. | |
1342 | |
1343 * coding.c (syms_of_coding): Fix typo in spelling of variable | |
1344 `inhibit-iso-escape-detection'. | |
1345 | |
30290 | 1346 * alloca.c (free) [emacs && EMACS_FREE]: Define as EMACS_FREE. |
1347 | |
1348 * Makefile.in: Add dependencies on dispextern.h. | |
1349 (alloca.o): Don't define malloc and define EMACS_FREE instead of | |
1350 `free'; both can conflict with system header files. | |
1351 | |
30281 | 1352 2000-07-18 Kenichi Handa <handa@etl.go.jp> |
1353 | |
1354 * charset.h (MAKE_CHAR): Return reasonable code even if CHARSET is | |
1355 undefined. | |
1356 | |
30266 | 1357 2000-07-18 Dave Love <fx@gnu.org> |
1358 | |
1359 * window.c (Fwindow_list): Declare arg `window'. | |
1360 | |
30262 | 1361 2000-07-18 Kenichi Handa <handa@etl.go.jp> |
1362 | |
1363 * coding.c (setup_coding_system): Don't override the explicitly | |
1364 specified designations. | |
1365 | |
30245 | 1366 2000-07-15 Miles Bader <miles@gnu.org> |
1367 | |
1368 * editfns.c (char_property_eq, char_property_stickiness): Renamed | |
1369 from `text_property_eq' and `text_property_stickiness', respectively. | |
1370 (find_field, Fconstrain_to_field, char_property_eq) | |
1371 (char_property_stickiness): Changed to call char-property functions | |
1372 instead of text-property-only ones. | |
1373 | |
1374 * textprop.c (Fnext_single_char_property_change): Made a subr (was | |
1375 `next_single_char_property_change'). Do more error checking, and | |
1376 cleanup limit behavior. | |
1377 (Fprevious_single_char_property_change): New function. | |
1378 (syms_of_textprop): Initialize new subrs. | |
1379 | |
1380 * xdisp.c (display_prop_end, invisible_text_between_p): | |
1381 Call Fnext_single_char_property_change instead of | |
1382 next_single_char_property_change. | |
1383 | |
30241 | 1384 2000-07-15 Jason Rumney <jasonr@gnu.org> |
1385 | |
1386 * w32menu.c (w32_menu_show): Call free_menubar_widget_value_tree | |
1387 after menu is finished with. | |
1388 (add_menu_item): Only consider wv->title as a menu title. | |
1389 (w32_menu_display_help): Add OBJECT and POS to show_help_echo. | |
1390 | |
1391 * w32fns.c (w32_wnd_proc) [WM_DRAW_ITEM]: Do not try to draw a | |
1392 null title. | |
1393 (FONT_REGEXP): Remove unused macro, and its sub-components. | |
1394 (syms_of_w32fns): Replace underscore in w32-enable-synthesized-fonts. | |
1395 | |
1396 * w32term.c (help_echo_object, help_echo_pos): New variables. | |
1397 (note_mode_line_highlight): Store additional information about the | |
1398 help-echo in help_echo_object and help_echo_pos. Check both | |
1399 `local-map' and `keymap' properties for changing the cursor | |
1400 (note_mouse_highlight): Store additional information about the | |
1401 help-echo in help_echo_object and help_echo_pos. | |
1402 (note_tool_bar_highlight): Set help_echo_object to nil and | |
1403 help_echo_pos to -1. | |
1404 (w32_read_socket): Use gen_help_event instead of filling | |
1405 input_events manually. | |
1406 (syms_of_w32term): Staticpro help_echo_object. | |
1407 (x_update_window_end): Add parameter MOUSE_FACE_OVERWRITTEN_P. If | |
1408 set, arrange for a mouse-highlight redisplay in | |
1409 XTframe_up_to_date. | |
1410 (x_clear_mouse_face): New function. | |
1411 (w32_redisplay_interface): Add pointer to x_clear_mouse_face. | |
1412 (x_update_window_begin): No need to turn off the mouse | |
1413 highlight here. | |
1414 (show_mouse_face): Set the mouse_face_p flag of glyph rows | |
1415 depending on whether they contain glyphs highlighted in | |
1416 mouse-face. | |
1417 (x_fill_stretch_glyph_string): Consume runs of stretch | |
1418 glyphs instead of a single one. | |
1419 (BUILD_STRETCH_GLYPH_STRING): Call x_fill_stretch_glyph_string | |
1420 with new argument list. | |
1421 (x_set_glyph_string_gc): Make sure the face's GC is valid. | |
1422 (x_append_glyph, x_append_composite_glyph) | |
1423 (x_produce_image_glyph, x_append_stretch_glyph): Accomodate to | |
1424 changes in struct glyph starting 1999-12-27. See comments for | |
1425 xterm.c on 2000-07-05. | |
1426 | |
30235
5a0d447b7eea
check default_face before dereferencing
Sam Steingold <sds@gnu.org>
parents:
30234
diff
changeset
|
1427 2000-07-14 Sam Steingold <sds@gnu.org> |
5a0d447b7eea
check default_face before dereferencing
Sam Steingold <sds@gnu.org>
parents:
30234
diff
changeset
|
1428 |
5a0d447b7eea
check default_face before dereferencing
Sam Steingold <sds@gnu.org>
parents:
30234
diff
changeset
|
1429 * xfaces.c (realize_x_face): Fix the last patch: |
5a0d447b7eea
check default_face before dereferencing
Sam Steingold <sds@gnu.org>
parents:
30234
diff
changeset
|
1430 check `default_face' before dereferencing. |
5a0d447b7eea
check default_face before dereferencing
Sam Steingold <sds@gnu.org>
parents:
30234
diff
changeset
|
1431 |
30229 | 1432 2000-07-14 Dave Love <fx@gnu.org> |
1433 | |
30266 | 1434 * syntax.c (back_comment): Add null default in switch (for pcc). |
30229 | 1435 |
30206 | 1436 2000-07-14 Kenichi Handa <handa@etl.go.jp> |
1437 | |
30210 | 1438 * xfaces.c (realize_x_face): Make fontset using the base of the |
30235
5a0d447b7eea
check default_face before dereferencing
Sam Steingold <sds@gnu.org>
parents:
30234
diff
changeset
|
1439 default_face's fontset, not using the default fontset. |
30210 | 1440 |
30206 | 1441 * coding.c (inhibit_iso_escape_detection): New variable. |
1442 (syms_of_coding): Make it a Lisp variable. | |
1443 (detect_coding_iso2022): If inhibit_iso_escape_detection is | |
1444 nonzero, ignore ISO2022's escape sequence. | |
1445 | |
30203 | 1446 2000-07-14 Gerd Moellmann <gerd@gnu.org> |
1447 | |
30234 | 1448 * alloca.c (malloc) [emacs]: Define as xmalloc. |
1449 | |
30226 | 1450 * xfns.c (Fx_show_tip): If frame parameters contain a position, |
1451 use that instead of the mouse position. Add parameters DX and DY. | |
1452 | |
1453 * dispextern.h (Fx_show_tip): Adjust number of parameters | |
1454 in prototype. | |
1455 | |
30219 | 1456 * keyboard.c (show_help_echo): Add parameters OBJECT and POS. |
1457 if HELP is a function, call it with OBJECT and POS as parameters | |
1458 to get the help to display. | |
1459 (gen_help_event, kbd_buffer_store_help_event): New functions. | |
1460 (kbd_buffer_get_event): Construct the Lisp help-event differently. | |
1461 (read_char): Call show_help_echo with new parameters. | |
1462 | |
30235
5a0d447b7eea
check default_face before dereferencing
Sam Steingold <sds@gnu.org>
parents:
30234
diff
changeset
|
1463 * keyboard.h (gen_help_event, kbd_buffer_store_help_event): |
30219 | 1464 Add prototypes. |
1465 | |
1466 * xterm.c (help_echo_object, help_echo_pos): New variables. | |
1467 (note_mode_line_highlight): Store additional information about the | |
1468 help-echo in help_echo_object and help_echo_pos. Check both | |
1469 `local-map' and `keymap' properties for changing the cursor | |
1470 (note_mouse_highlight): Store additional information about the | |
1471 help-echo in help_echo_object and help_echo_pos. | |
1472 (note_tool_bar_highlight): Set help_echo_object to nil and | |
1473 help_echo_pos to -1. | |
1474 (XTread_socket): Use gen_help_event instead of filling | |
1475 input_events manually. | |
1476 (syms_of_xterm): Staticpro help_echo_object. | |
1477 | |
1478 * xmenu.c (menu_highlight_callback): Use | |
1479 kbd_buffer_store_help_event instead of setting up and input_event | |
1480 structure manually. | |
1481 | |
1482 * xdisp.c (eval_form): GCPRO argument sexpr. | |
1483 (call_function): New function. | |
1484 (handle_single_display_prop): Use call_function and FUNCTIONP | |
1485 instead of checking whether if font_height is a symbol and | |
1486 using eval_form. | |
1487 | |
1488 * eval.c (internal_condition_case_2): New function. | |
1489 | |
1490 * lisp.h (FUNCTIONP): New macro. | |
1491 (internal_condition_case_2, call_function): Add prototypes. | |
1492 | |
30203 | 1493 * xterm.c (construct_mouse_click, x_scroll_bar_to_input_event) |
1494 (x_scroll_bar_handle_click, SET_SAVED_MENU_EVENT, XTread_socket): | |
1495 Always set `arg' member of input_events. | |
1496 (construct_menu_click): Unused function removed. | |
1497 | |
1498 * msdos.c (dos_rawgetc): Always set `arg' member of input_events. | |
1499 | |
1500 * w32term.c (construct_mouse_click, construct_mouse_wheel) | |
1501 (construct_drag_n_drop, x_scroll_bar_handle_click) | |
1502 (w32_read_socket): Always set `arg' member of input_events. | |
1503 | |
1504 * keyboard.c (show_help_echo): Use eval_form. Add comment. | |
1505 | |
1506 * lisp.h (eval_form): Add prototype. | |
1507 | |
1508 * xdisp.c (eval_form): Make it externally visible. | |
1509 | |
30183 | 1510 2000-07-13 Gerd Moellmann <gerd@gnu.org> |
1511 | |
1512 * xterm.c (x_handle_tool_bar_click): Store the frame in the | |
1513 frame_or_window slot of TOOL_BAR_EVENT input events instead of | |
1514 consing. For prefix events, store the frame in the `arg' slot of | |
1515 the event, otherwise store the key there. | |
1516 (XTread_socket): Instead of consing, use the frame_or_window slot | |
1517 of HELP_EVENTs for the frame, and the `arg' slot for the help | |
1518 string. | |
1519 | |
1520 * xmenu.c (menu_highlight_callback): Store help string in the | |
1521 `arg' member of the input event; don't cons. | |
1522 (menubar_selection_callback): Use the `arg' slot of input events | |
1523 to queue additional information, instead of consing. | |
1524 | |
1525 * msdos.c (dos_rawgetc): Adapt to change of HELP_EVENTs. | |
1526 | |
1527 * w32term.c (w32_handle_tool_bar_click): Adapt to changes in | |
1528 TOOL_BAR_EVENTs. | |
1529 (w32_read_socket): Adapt to changes in HELP_EVENTs. | |
1530 | |
1531 * w32menu.c (menubar_selection_callback): Use the `arg' slot of | |
1532 input events to queue additional information, instead of consing. | |
1533 | |
1534 * keyboard.c (kbd_buffer_gcpro): Renamed from | |
1535 kbd_buffer_frame_or_window. Now used for all Lisp objects | |
1536 referenced from the input queue. | |
1537 (kbd_buffer_store_event): Always use structure assignment for | |
1538 copying input events. Record all Lisp objects referenced from | |
1539 events in kbd_buffer_gcpro. | |
1540 (kbd_buffer_get_event): Construct Lisp `help-echo' events | |
1541 differently from input events. Test for prefix menu_bar_events | |
1542 and TOOL_BAR_EVENTs differently. Reset all slots used by an input | |
1543 event in kbd_buffer_gcpro to nil. | |
1544 (make_lispy_event) <TOOL_BAR_EVENT>: Treat an input event whose | |
1545 frame_or_window is equal to its arg member as prefix events. | |
1546 (stuff_buffered_input): Reset all slots in kbd_buffer_gcpro | |
1547 used by an input event to nil. | |
1548 (init_keyboard): Use two times the size of the input queue | |
1549 for kbd_buffer_gcpro. | |
1550 (syms_of_keyboard): Likewise. | |
1551 | |
1552 * emacs.c (handle_USR2_signal, handle_USR1_signal): Use | |
1553 USER_SIGNAL_EVENT. | |
1554 | |
1555 * termhooks.h (struct input_event): Add member `arg'. | |
1556 (MENU_BAR_EVENT): Renamed from menu_bar_event. | |
1557 (USER_SIGNAL_EVENT): Renamed from user_signal. | |
1558 | |
1559 * xfaces.c (ASET): Remove definition. | |
1560 | |
1561 * lisp.h (AREF, ASET, ASIZE): New macros. | |
1562 | |
1563 * fontset.c (AREF, ASIZE): Remove definitions. | |
1564 | |
1565 * fns.c (AREF): Remove definition. | |
30235
5a0d447b7eea
check default_face before dereferencing
Sam Steingold <sds@gnu.org>
parents:
30234
diff
changeset
|
1566 |
30183 | 1567 * composite.c (AREF): Remove definition. |
1568 | |
30163 | 1569 2000-07-12 Gerd Moellmann <gerd@gnu.org> |
1570 | |
30166 | 1571 * dispnew.c (redraw_overlapped_rows): Add missing local. |
1572 (scrolling_window): Remove debug code. | |
1573 | |
30163 | 1574 * xdisp.c (try_window_reusing_current_matrix, try_window_id): |
1575 Before scrolling, turn off a mouse-highlight in the window | |
1576 being scrolled. | |
1577 | |
1578 * xterm.c (x_update_window_end): Add parameter | |
1579 MOUSE_FACE_OVERWRITTEN_P. If set, arrange for a mouse-highlight | |
1580 redisplay in XTframe_up_to_date. | |
1581 (x_clear_mouse_face): New function. | |
1582 (x_redisplay_interface): Add pointer to x_clear_mouse_face. | |
1583 | |
1584 * dispnew.c (make_current): Preserve the mouse_face_p flag of the | |
1585 current glyph row. | |
1586 (update_window_line): Add parameter MOUSE_FACE_OVERWRITTEN_P. Set | |
1587 it when any row is written to that contains glyphs highlighted in | |
1588 mouse-face. | |
1589 (update_window): Call the window update end hook with new | |
1590 parameter MOUSE_FACE_OVERWRITTEN_P. | |
1591 (direct_output_for_insert): Give up if row contains mouse-face. | |
1592 | |
1593 * dispextern.h (struct redisplay_interface): Add parameter | |
1594 MOUSE_FACE_OVERWRITTEN_P to update_window_end_hook function. | |
1595 (clear_mouse_face): New function pointer member. | |
1596 | |
30157
c0ab9f112c0d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
30155
diff
changeset
|
1597 2000-07-11 Stefan Monnier <monnier@cs.yale.edu> |
c0ab9f112c0d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
30155
diff
changeset
|
1598 |
c0ab9f112c0d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
30155
diff
changeset
|
1599 * syntax.c (back_comment): Use one switch rather than a few `if's. |
c0ab9f112c0d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
30155
diff
changeset
|
1600 Obey open_paren_in_column_0_is_defun_start. |
c0ab9f112c0d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
30155
diff
changeset
|
1601 When reverting to the `slow' method, try to nicely handle the case |
c0ab9f112c0d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
30155
diff
changeset
|
1602 of nested comments by checking that the comment-starter we found |
c0ab9f112c0d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
30155
diff
changeset
|
1603 does indeed match the comment-ender. |
c0ab9f112c0d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
30155
diff
changeset
|
1604 (scan_sexps_forward, scan_sexps_forward): |
c0ab9f112c0d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
30155
diff
changeset
|
1605 Ignore excessive opening parenthesis rather than throwing an error. |
c0ab9f112c0d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
30155
diff
changeset
|
1606 |
30155 | 1607 2000-07-11 Gerd Moellmann <gerd@gnu.org> |
1608 | |
1609 * doc.c (Fsubstitute_command_keys): Handle case that a GC | |
1610 in Fwhere_is_internal or get_keymap_1 relocates string contents. | |
1611 | |
1612 * dispnew.c (direct_output_forward_char): Give up if currently | |
1613 displaying a message instead of the minibuffer contents. | |
1614 | |
1615 * xterm.c (x_update_window_begin): No need to turn off the mouse | |
1616 highlight here. | |
1617 (show_mouse_face): Set the mouse_face_p flag of glyph rows | |
1618 depending on whether they contain glyphs highlighted in | |
1619 mouse-face. | |
1620 | |
1621 * dispnew.c (row_equal_p): Add parameter MOUSE_FACE_P. If set, | |
1622 compare the mouse_face_p flags of both rows. | |
1623 | |
1624 * dispextern.h (struct glyph_row): Add flag mouse_face_p. | |
1625 | |
30146 | 1626 2000-07-11 Eli Zaretskii <eliz@is.elta.co.il> |
1627 | |
1628 * keyboard.c (show_help_echo): Accept additional parameter | |
1629 ok_to_overwrite_keystroke_echo. | |
1630 (read_char): Call show_help_echo with a zero | |
1631 ok_to_overwrite_keystroke_echo argument. | |
1632 * keyboard.h (show_help_echo): Update prototype of | |
1633 show_help_echo. | |
1634 * xmenu.c (menu_help_callback): Call show_help_echo with non-zero | |
1635 ok_to_overwrite_keystroke_echo argument. | |
1636 * w32menu.c (w32_menu_display_help): Call show_help_echo with | |
1637 non-zero ok_to_overwrite_keystroke_echo argument. | |
1638 | |
30135 | 1639 2000-07-10 Gerd Moellmann <gerd@gnu.org> |
1640 | |
30140 | 1641 * xdisp.c (try_window_id): If changes are all below what is |
1642 displayed in the window, and point is in the window, we still | |
1643 might have to find point on the display. | |
1644 | |
1645 * xterm.c (x_fill_stretch_glyph_string): Consume runs of stretch | |
1646 glyphs instead of a single one. | |
1647 (BUILD_STRETCH_GLYPH_STRING): Call x_fill_stretch_glyph_string | |
1648 with new argument list. | |
1649 (x_set_glyph_string_gc): Make sure the face's GC is valid. | |
1650 | |
30135 | 1651 * keymap.c (get_keymap_1): Add comment that this function can GC. |
1652 (where_is_internal_2, where_is_internal_1): Add GCPROs, add | |
1653 comment that functions can GC. | |
1654 (Fset_keymap_parent): GCPRO arg KEYMAP. | |
1655 | |
30133 | 1656 2000-07-10 Eli Zaretskii <eliz@is.elta.co.il> |
1657 | |
1658 * msdos.c (XMenuActivate): After exiting the menu, restore the | |
1659 echo area message and erase it. | |
1660 | |
30125 | 1661 2000-07-10 Kenichi Handa <handa@etl.go.jp> |
1662 | |
1663 * fontset.c (Ffontset_info): Make the return value more compatible | |
1664 with that of Emacs 20. | |
1665 | |
30107 | 1666 2000-07-07 Gerd Moellmann <gerd@gnu.org> |
1667 | |
1668 * eval.c (Fsignal): Handle case that backtrace_list is null. | |
1669 | |
30104 | 1670 2000-07-07 Kenichi Handa <handa@etl.go.jp> |
1671 | |
1672 * ccl.c (Fccl_execute): Typo fixed. | |
1673 | |
30096 | 1674 2000-07-06 Gerd Moellmann <gerd@gnu.org> |
1675 | |
30103 | 1676 * window.c (window_loop): Add missing gcpro1 local variable. |
30235
5a0d447b7eea
check default_face before dereferencing
Sam Steingold <sds@gnu.org>
parents:
30234
diff
changeset
|
1677 |
30096 | 1678 * window.c (Fwindow_list): Reverse list at the end. |
1679 (candidate_window_p): Add parameter OWINDOW. ALL_FRAMES nil | |
1680 means allow windows on OWINDOW's frame, only. | |
1681 (window_loop): Simplified; use Fwindow_list. | |
1682 | |
1683 * Makefile.in (TAGS-LISP): Don't pass `$(lispsource)' to make. | |
1684 | |
30085 | 1685 2000-07-05 Gerd Moellmann <gerd@gnu.org> |
1686 | |
1687 * xterm.c (XTread_socket): Increment handling_signal at the start, | |
1688 decrement it at the end. | |
1689 | |
1690 * eval.c (handling_signal): New variable. | |
1691 (Fsignal): Abort if handling_signal is non-zero. | |
1692 | |
1693 * lisp.h (handling_signal): External declaration. | |
30235
5a0d447b7eea
check default_face before dereferencing
Sam Steingold <sds@gnu.org>
parents:
30234
diff
changeset
|
1694 |
30085 | 1695 * s/freebsd.h (WAITTYPE, WRETCODE): Put in #if 0. |
1696 | |
30079
1572612184fc
Sound support for NetBSD through "Linux emulation" support:
Ken Raeburn <raeburn@raeburn.org>
parents:
30076
diff
changeset
|
1697 2000-07-05 Ken Raeburn <raeburn@gnu.org> |
1572612184fc
Sound support for NetBSD through "Linux emulation" support:
Ken Raeburn <raeburn@raeburn.org>
parents:
30076
diff
changeset
|
1698 |
1572612184fc
Sound support for NetBSD through "Linux emulation" support:
Ken Raeburn <raeburn@raeburn.org>
parents:
30076
diff
changeset
|
1699 Sound support for NetBSD through "Linux emulation" support: |
1572612184fc
Sound support for NetBSD through "Linux emulation" support:
Ken Raeburn <raeburn@raeburn.org>
parents:
30076
diff
changeset
|
1700 * config.in (HAVE_SOUNDCARD_H): Undef. |
1572612184fc
Sound support for NetBSD through "Linux emulation" support:
Ken Raeburn <raeburn@raeburn.org>
parents:
30076
diff
changeset
|
1701 (HAVE_SOUND): Define if HAVE_SOUNDCARD_H. |
1572612184fc
Sound support for NetBSD through "Linux emulation" support:
Ken Raeburn <raeburn@raeburn.org>
parents:
30076
diff
changeset
|
1702 * Makefile.in (LIBSOUND): New variable. |
1572612184fc
Sound support for NetBSD through "Linux emulation" support:
Ken Raeburn <raeburn@raeburn.org>
parents:
30076
diff
changeset
|
1703 (LIBES): Include it. |
1572612184fc
Sound support for NetBSD through "Linux emulation" support:
Ken Raeburn <raeburn@raeburn.org>
parents:
30076
diff
changeset
|
1704 * sound.c [HAVE_SOUNDCARD_H]: Include <sys/ioctl.h> and |
1572612184fc
Sound support for NetBSD through "Linux emulation" support:
Ken Raeburn <raeburn@raeburn.org>
parents:
30076
diff
changeset
|
1705 <soundcard.h>. |
1572612184fc
Sound support for NetBSD through "Linux emulation" support:
Ken Raeburn <raeburn@raeburn.org>
parents:
30076
diff
changeset
|
1706 (DEFAULT_SOUND_DEVICE): Define to "/dev/dsp" if not defined |
1572612184fc
Sound support for NetBSD through "Linux emulation" support:
Ken Raeburn <raeburn@raeburn.org>
parents:
30076
diff
changeset
|
1707 elsewhere. |
1572612184fc
Sound support for NetBSD through "Linux emulation" support:
Ken Raeburn <raeburn@raeburn.org>
parents:
30076
diff
changeset
|
1708 (vox_open): Use DEFAULT_SOUND_DEVICE. |
1572612184fc
Sound support for NetBSD through "Linux emulation" support:
Ken Raeburn <raeburn@raeburn.org>
parents:
30076
diff
changeset
|
1709 * s/netbsd.h (DEFAULT_SOUND_DEVICE): Define to /dev/audio. |
1572612184fc
Sound support for NetBSD through "Linux emulation" support:
Ken Raeburn <raeburn@raeburn.org>
parents:
30076
diff
changeset
|
1710 |
30076 | 1711 2000-07-05 Gerd Moellmann <gerd@gnu.org> |
1712 | |
1713 * print.c (print_error_message): If Vsignaling_function is set, | |
1714 show it in *Messages*. | |
1715 | |
1716 * lisp.h (Vsignaling_function): External declaration. | |
1717 | |
1718 * eval.c (Vsignaling_function): New variable. | |
1719 (Fsignal): Compute it. | |
1720 (syms_of_eval): Staticpro it. | |
1721 | |
30069 | 1722 2000-07-05 Dave Love <fx@gnu.org> |
1723 | |
1724 * syswait.h: Use the autoconf recommended approach. Old code | |
1725 #if'd out in case we need to revert. | |
1726 | |
30235
5a0d447b7eea
check default_face before dereferencing
Sam Steingold <sds@gnu.org>
parents:
30234
diff
changeset
|
1727 * config.in (HAVE_SYS_WAIT_H): Added. |
30069 | 1728 |
30067 | 1729 2000-07-05 Andrew Innes <andrewi@gnu.org> |
1730 | |
1731 * vm-limit.c (check_memory_limits) [REL_ALLOC]: Use real_morecore | |
1732 when non-NULL instead of __morecore, to take account of buffer | |
1733 memory. This also solves a problem with spurious memory warnings | |
1734 on Windows. | |
1735 | |
1736 * ralloc.c: Make real_morecore non-static. | |
1737 | |
1738 * eval.c (internal_condition_case): Comment out abort if | |
1739 interrupt_input_blocked is not zero. | |
1740 | |
1741 * makefile.nt: Add support for `bootstrap' and related targets. | |
1742 Include minimal debug info in emacs.exe in release build. | |
1743 Remove all dependencies on lisp.h, and fixup some others. | |
1744 | |
1745 * w32.c (init_environment): Install code from 20.7 for providing | |
1746 default values for environment variables, based on the | |
1747 executable's own location. | |
1748 (map_w32_filename): Handle filenames that are longer than | |
1749 MAX_PATH. | |
1750 (sys_socket): Install socket inheritance bug fix from 20.7. | |
1751 | |
1752 * alloca.c [emacs]: Include lisp.h (needed by atimer.h included | |
1753 here via blockinput.h). | |
1754 | |
30059
6a413a3c9c25
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
30049
diff
changeset
|
1755 2000-07-05 Stefan Monnier <monnier@cs.yale.edu> |
6a413a3c9c25
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
30049
diff
changeset
|
1756 |
30098
54ef6ace438d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
30096
diff
changeset
|
1757 * w32menu.c (w32_menu_display_help): |
54ef6ace438d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
30096
diff
changeset
|
1758 * xmenu.c (menu_help_callback): Use show_help_echo. |
30059
6a413a3c9c25
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
30049
diff
changeset
|
1759 |
6a413a3c9c25
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
30049
diff
changeset
|
1760 * keyboard.h (show_help_echo): Declare. |
6a413a3c9c25
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
30049
diff
changeset
|
1761 |
6a413a3c9c25
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
30049
diff
changeset
|
1762 * keyboard.c (show_help_echo): New function, extracted from read_char. |
6a413a3c9c25
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
30049
diff
changeset
|
1763 Feval its `msg' argument if it's a cons cell. |
6a413a3c9c25
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
30049
diff
changeset
|
1764 (read_char): Use it. |
30118
67bba9343314
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
30107
diff
changeset
|
1765 (follow_key): Pass `autoload' to get_keyelt. |
30059
6a413a3c9c25
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
30049
diff
changeset
|
1766 |
30235
5a0d447b7eea
check default_face before dereferencing
Sam Steingold <sds@gnu.org>
parents:
30234
diff
changeset
|
1767 * xterm.c (note_mode_line_highlight, note_mouse_highlight) |
30059
6a413a3c9c25
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
30049
diff
changeset
|
1768 (note_tool_bar_highlight, XTread_socket): |
30235
5a0d447b7eea
check default_face before dereferencing
Sam Steingold <sds@gnu.org>
parents:
30234
diff
changeset
|
1769 * msdos.c (IT_note_mode_line_highlight, IT_note_mouse_highlight) |
30059
6a413a3c9c25
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
30049
diff
changeset
|
1770 (dos_rawgetc): |
6a413a3c9c25
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
30049
diff
changeset
|
1771 * w32term.c (note_mode_line_highlight, note_mouse_highlight) |
6a413a3c9c25
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
30049
diff
changeset
|
1772 (note_tool_bar_highlight, w32_read_socket): |
6a413a3c9c25
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
30049
diff
changeset
|
1773 Do not gratuitously ignore non-string `help-echo' properties. |
6a413a3c9c25
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
30049
diff
changeset
|
1774 |
30043 | 1775 2000-07-05 Gerd Moellmann <gerd@gnu.org> |
1776 | |
30049 | 1777 * eval.c (Feval): Put check for interrupt_input_block in #if 0. |
1778 | |
30046 | 1779 * window.c (delete_all_subwindows): Reset Vwindow_list. |
1780 | |
30043 | 1781 * xterm.c (x_append_glyph, x_append_composite_glyph) |
1782 (x_produce_image_glyph, x_append_stretch_glyph): Accomodate to | |
1783 changes in struct glyph starting 1999-12-27. Some bit-fields of | |
1784 struct glyph were not set, which made glyphs unequal when compared | |
1785 with GLYPH_EQUAL_P. Redisplay outputs such glyphs, and flickering | |
1786 effects were the result. This also depended on the contents of | |
1787 memory returned by xmalloc. If flickering happens again, activate | |
1788 the code in clear_glyph_row that's in #if 0. If the flickering is | |
1789 gone with that, chances are that it is caused by something | |
1790 similar. | |
1791 | |
1792 * dispnew.c (clear_glyph_row): Add debug code in #if 0. | |
30235
5a0d447b7eea
check default_face before dereferencing
Sam Steingold <sds@gnu.org>
parents:
30234
diff
changeset
|
1793 |
30043 | 1794 * dispextern.h: Add some comments. |
1795 | |
1796 * window.c (add_window_to_list): Add parameter LIST. | |
1797 (window_list): Order list so that, for each frame, windows are | |
1798 in canonical order, and so that frames appear in the list in | |
1799 the order given by Vframe_list. | |
1800 (next_window): Reverse the handling of NEXT_P. | |
1801 | |
30031 | 1802 2000-07-04 Gerd Moellmann <gerd@gnu.org> |
1803 | |
30038 | 1804 * window.c (Vwindow_list): New variable. |
1805 (make_window, delete_window): Set Vwindow_list to nil. | |
1806 (check_window_containing): New function. | |
1807 (window_from_coordinates): Rewritten. | |
1808 (add_window_to_list, window_list, candidate_window_p) | |
1809 (decode_next_window_args, next_window): New functions. | |
1810 (Fnext_window, Fprevious_window): Rewritten in terms of | |
1811 next_window. | |
1812 (Fwindow_list): New function. | |
1813 (Fother_window): Cleaned up. | |
1814 (foreach_window): Add a longer "variable argument list". Let | |
1815 callback function return 0 to indicate that cycling over windows | |
1816 should stop. | |
1817 (foreach_window_1): Likewise. | |
1818 (freeze_window_start): Return int. | |
1819 (init_window): New function. | |
1820 (syms_of_window): Staticpro Vwindow_list and defsubr Swindow_list. | |
1821 | |
1822 * emacs.c (handle_USR1_signal, handle_USR2_signal) Clear | |
1823 input_event with bzero. | |
1824 (main): Call init_window. | |
1825 | |
30031 | 1826 * keymap.c (get_keyelt): Temporarily inhibit GC while evaluating |
1827 a menu filter. | |
1828 | |
30026 | 1829 2000-07-04 Kenichi Handa <handa@etl.go.jp> |
1830 | |
1831 * composite.h (make_composition_value_copy): Extern it. | |
1832 | |
1833 * composite.c (make_composition_value_copy): New function. | |
1834 | |
1835 * editfns.c (Fformat): While copying text properties, make each | |
1836 composition property value a copy. | |
1837 | |
1838 * fns.c (concat): While copying text properties, make each | |
1839 composition property value a copy. | |
1840 | |
29996 | 1841 2000-07-03 Gerd Moellmann <gerd@gnu.org> |
1842 | |
30012 | 1843 * m/macppc.h (LINKER, LD_SWITCH_MACHINE) [LINUX]: Define. |
1844 | |
30235
5a0d447b7eea
check default_face before dereferencing
Sam Steingold <sds@gnu.org>
parents:
30234
diff
changeset
|
1845 * fns.c (sweep_weak_table): Mark only objects that are not |
30008 | 1846 marked already. |
1847 | |
29996 | 1848 * frame.c (next_frame, prev_frame): If MINIBUF is a window, |
1849 include those frames as candidates which have their focus | |
1850 redirected to the minibuffer frame. | |
1851 | |
29992
c1a99b7c6085
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29989
diff
changeset
|
1852 2000-07-03 Stefan Monnier <monnier@cs.yale.edu> |
c1a99b7c6085
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29989
diff
changeset
|
1853 |
c1a99b7c6085
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29989
diff
changeset
|
1854 * fns.c (Fputhash): Return `value' rather than nil. |
c1a99b7c6085
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29989
diff
changeset
|
1855 |
29988 | 1856 2000-06-30 Gerd Moellmann <gerd@gnu.org> |
1857 | |
29989 | 1858 * frame.c (next_frame): Don't check focus redirection in case |
1859 MINIBUF is a window. Doing so excludes frames using MINIBUF | |
29988 | 1860 unless their focus is redirected, which contradicts the |
1861 specification of next-frame, and leads to infinite loops in | |
1862 certain situations when cycling through windows with next-window. | |
1863 | |
29983 | 1864 2000-06-30 Kenichi Handa <handa@etl.go.jp> |
1865 | |
29984 | 1866 * coding.c (code_convert_region): Even if the length of text is |
29983 | 1867 zero, try to convert it if coding->type is coding_type_ccl. |
29984 | 1868 (decode_coding_string, encode_coding_string): Likewise. |
29983 | 1869 |
29972 | 1870 2000-06-28 Gerd Moellmann <gerd@gnu.org> |
1871 | |
29982 | 1872 * xdisp.c (try_window_reusing_current_matrix): Don't try to reuse |
29989 | 1873 the display if windows_or_buffers_changed. |
29982 | 1874 |
1875 * dispnew.c (struct row_entry): New structure. | |
1876 (row_entry_pool, row_entry_pool_size, row_entry_idx, row_table) | |
1877 (row_table_size, old_lines, new_lines, old_lines_size) | |
1878 (new_lines_size, run_pool, runs_size, runs): New variables. | |
1879 (add_row_entry): New function. | |
1880 (scrolling_window): Use data structures allocated with xmalloc and | |
29989 | 1881 held in global variables, instead of allocating them with alloca and |
29982 | 1882 holding them in local variables. Use a larger hash table whose |
1883 size depends on glyph matrix sizes. Don't use bzero to clear the | |
1884 hash table; instead, clear used slots only. | |
1885 | |
1886 * fns.c (next_almost_prime): Make it externally visible. | |
1887 | |
1888 * lisp.h (next_almost_prime): Add prototype. | |
1889 | |
29972 | 1890 * s/isc4-0.h (sigunblock): Define. |
1891 | |
1892 * s/sco5.h (sigunblock): Define. | |
1893 | |
29965 | 1894 2000-06-27 Dave Love <fx@gnu.org> |
1895 | |
1896 * s/osf1.h (C_SWITCH_SYSTEM, LIBS_SYSTEM): Revert last change | |
1897 (moved to osf5-0.h). | |
1898 [!NOT_C_CODE]: Protect string.h stuff. | |
1899 | |
1900 * s/osf5-0.h (C_SWITCH_SYSTEM, WAIT_USE_INT, SYS_SIGLIST_DECLARED) | |
1901 (sys_siglist, NSIG): Definitions moved here from osf1.h. | |
1902 | |
29961 | 1903 2000-06-27 Gerd Moellmann <gerd@gnu.org> |
1904 | |
29989 | 1905 * xdisp.c (resize_mini_window): Subtract the extra line spacing |
29961 | 1906 below the last line from the needed window height. |
1907 | |
29955
7e4b93cdaa3a
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29949
diff
changeset
|
1908 2000-06-26 Stefan Monnier <monnier@cs.yale.edu> |
7e4b93cdaa3a
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29949
diff
changeset
|
1909 |
7e4b93cdaa3a
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29949
diff
changeset
|
1910 * fns.c (Fplist_member): Renamed from Fwidget_plist_member. |
7e4b93cdaa3a
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29949
diff
changeset
|
1911 (Fwidget_get): Use it. |
7e4b93cdaa3a
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29949
diff
changeset
|
1912 (syms_of_fns): Defsubr it. |
7e4b93cdaa3a
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29949
diff
changeset
|
1913 |
29939 | 1914 2000-06-26 Gerd Moellmann <gerd@gnu.org> |
1915 | |
30235
5a0d447b7eea
check default_face before dereferencing
Sam Steingold <sds@gnu.org>
parents:
30234
diff
changeset
|
1916 * xterm.c (xim_initialize) [!USE_XIM]: Don't set up the |
29949 | 1917 display info for XIM. |
1918 (xim_open_dpy): Likewise. | |
1919 (xim_close_dpy): Don't free the display info's XIM. | |
1920 | |
1921 * xfns.c (x_window) [!USE_XIM]: Don't call create_frame_ic. | |
1922 | |
1923 * config.in (USE_XIM): New define. | |
1924 | |
29942 | 1925 * keymap.c (get_keyelt): For menu-items containing a `:filter |
1926 FILTER', apply FILTER to the menu-item's definition to get the | |
1927 real definition to use. | |
1928 | |
1929 * lisp.h (QCfilter): External declaration. | |
1930 | |
29939 | 1931 * xfns.c (Fimage_size): New function. |
1932 (syms_of_xfns): Defsubr it. | |
1933 | |
29933 | 1934 2000-06-26 Andreas Schwab <schwab@suse.de> |
1935 | |
1936 * coding.c (decode_coding_string): Re-fetch STRING_BYTES after | |
1937 Fstring_as_unibyte. | |
1938 | |
29930 | 1939 2000-06-25 Dave Love <fx@gnu.org> |
1940 | |
1941 * term.c [!HAVE_TERMCAP_H]: Declare tputs, tgetent, tgetflag, | |
1942 tgetnum. | |
1943 | |
1944 * Makefile.in (blockinput.h): Depend on atimer.h. | |
1945 (atimer.h): Depend on systime.h. | |
1946 | |
1947 * blockinput.h: Protect against multiple inclusion. Include | |
1948 atimer.h. | |
1949 | |
1950 * atimer.h: Protect against multiple inclusion. Include | |
1951 systime.h. | |
1952 | |
1953 * lisp.h (swap_in_global_binding): Declare. | |
1954 | |
29921
8a4552214d84
* process.c (Fopen_network_stream): Turn off atimers for duration of call to
Ken Raeburn <raeburn@raeburn.org>
parents:
29918
diff
changeset
|
1955 2000-06-24 Ken Raeburn <raeburn@gnu.org> |
8a4552214d84
* process.c (Fopen_network_stream): Turn off atimers for duration of call to
Ken Raeburn <raeburn@raeburn.org>
parents:
29918
diff
changeset
|
1956 |
8a4552214d84
* process.c (Fopen_network_stream): Turn off atimers for duration of call to
Ken Raeburn <raeburn@raeburn.org>
parents:
29918
diff
changeset
|
1957 * process.c (Fopen_network_stream): Turn off atimers for duration |
8a4552214d84
* process.c (Fopen_network_stream): Turn off atimers for duration of call to
Ken Raeburn <raeburn@raeburn.org>
parents:
29918
diff
changeset
|
1958 of call to connect. (Patch from Gerd.) |
8a4552214d84
* process.c (Fopen_network_stream): Turn off atimers for duration of call to
Ken Raeburn <raeburn@raeburn.org>
parents:
29918
diff
changeset
|
1959 |
29916 | 1960 2000-06-23 Dave Love <fx@gnu.org> |
1961 | |
29918 | 1962 * ralloc.c: Maybe include unistd.h |
1963 | |
29916 | 1964 * emacs.c (setgrp): Undefine before defining. |
1965 (malloc_warning, set_time_zone_rule, index): Prototype. | |
1966 | |
1967 * systime.h (EMACS_GET_TIME) [!GETTIMEOFDAY_ONE_ARGUMENT]: Use | |
1968 HAVE_STRUCT_TIMEZONE. | |
1969 | |
1970 * s/osf1.h: Move string.h hack here from alpha.h and make it | |
1971 conditional. | |
1972 (C_SWITCH_SYSTEM): Use _OSF_SOURCE, not -BSD, which clashes with | |
1973 _XOPEN_SOURCE. | |
1974 (WAIT_USE_INT, SYS_SIGLIST_DECLARED, sys_siglist, NSIG): Define. | |
1975 (SOCKLEN_TYPE): Don't define. | |
1976 | |
1977 * m/alpha.h: Remove string.h hack. | |
1978 | |
1979 * s/osf5-0.h: New file. | |
1980 | |
1981 * filelock.c: Use feature tests for fcntl.h, string.h. Don't | |
1982 include time.h, done by systime.h. | |
1983 [__FreeBSD__]: Remove redundant includes. | |
1984 | |
29942 | 1985 * callproc.c (setpgrp): Undefine before defining. |
29916 | 1986 (delete_temp_file): Return Qnil to avoid warning. |
1987 | |
1988 * config.in (HAVE_TERM_H, HAVE_STRUCT_TIMEZONE): Add. | |
1989 | |
1990 * xfaces.c: Include fontset.h dependent on HAVE_WINDOW_SYSTEM, not | |
1991 HAVE_X_WINDOWS. | |
1992 | |
1993 * fontset.h (free_face_fontset): Renamed from fs_free_face_fontset. | |
1994 | |
1995 * composite.h (compose_text): Declare. | |
1996 | |
1997 * xterm.c: Don't include sys/types.h unconditionally. Don't | |
1998 protect its inclusion with !USG (following xmenu.c). | |
1999 | |
29888 | 2000 2000-06-23 Gerd Moellmann <gerd@gnu.org> |
2001 | |
2002 * xfns.c (x_create_tip_frame): Initialize frame's colors like | |
2003 in x_create_frame. | |
2004 | |
29878 | 2005 2000-06-23 Eli Zaretskii <eliz@is.elta.co.il> |
2006 | |
2007 * coding.c (decode_eol_post_ccl): Special handling for undecided | |
2008 and inconsistent EOL types. | |
2009 | |
29860 | 2010 2000-06-22 Gerd Moellmann <gerd@gnu.org> |
2011 | |
29868 | 2012 * xrdb.c (x_load_resources): Add default resource for scroll bar's |
2013 trough color and main window's background color. | |
2014 | |
30235
5a0d447b7eea
check default_face before dereferencing
Sam Steingold <sds@gnu.org>
parents:
30234
diff
changeset
|
2015 * xfns.c (Fx_file_dialog) [HAVE_MOTIF_2_1]: Handle events |
29868 | 2016 differently. |
2017 | |
2018 * xterm.h (Xt_app_con): External declaration. | |
2019 | |
2020 * widget.c (EmacsFrameRealize): Fix typo. | |
30235
5a0d447b7eea
check default_face before dereferencing
Sam Steingold <sds@gnu.org>
parents:
30234
diff
changeset
|
2021 |
29862 | 2022 * widget.c (EmacsFrameRealize): Remove SubstructureRedirectMask. |
2023 | |
29860 | 2024 * xdisp.c (handle_stop): Initialize it->add_overlay_start to zero. |
2025 (handle_invisible_prop): Record the start of invisible text in | |
2026 it->add_overlay_start. | |
2027 (struct overlay_entry): Add member `overlay'. | |
2028 (handle_overlay_change): Simplify. | |
2029 (next_overlay_string): After having processed overlay strings at the | |
2030 end of the buffer, record that fact in | |
2031 it->overlay_strings_at_end_processed_p. | |
2032 (compare_overlay_entries): If before- and after-strings come | |
2033 from the same overlay, let before-strings come first. | |
2034 (RECORD_OVERLAY_STRING): Record the overlay that strings come from. | |
2035 (load_overlay_strings): Take it->add_overlay_start into account | |
2036 when adding overlay strings. | |
2037 | |
2038 * dispextern.h (struct it): Add member add_overlay_start. | |
2039 | |
29852 | 2040 2000-06-22 Dave Love <fx@gnu.org> |
2041 | |
2042 * s/isc3-0.h (C_SWITCH_SYSTEM): Define _XOPEN_SOURCE=500. | |
2043 | |
2044 * s/gnu-linux.h (C_SWITCH_SYSTEM): Don't define _XOPEN_SOURCE here. | |
2045 | |
29846 | 2046 2000-06-22 Kenichi Handa <handa@etl.go.jp> |
2047 | |
2048 * ccl.c (ccl_driver) <CCL_End>: Decrement stack_idx only when it | |
2049 is greater than 0. | |
2050 | |
29843 | 2051 2000-06-21 Dave Love <fx@gnu.org> |
2052 | |
30235
5a0d447b7eea
check default_face before dereferencing
Sam Steingold <sds@gnu.org>
parents:
30234
diff
changeset
|
2053 * Makefile.in (GETLOADAVG_OBJ): Removed -- LIBOBJS does it. |
29843 | 2054 |
29836
f3aaf610f8a9
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29834
diff
changeset
|
2055 2000-06-21 Stefan Monnier <monnier@cs.yale.edu> |
f3aaf610f8a9
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29834
diff
changeset
|
2056 |
f3aaf610f8a9
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29834
diff
changeset
|
2057 * syntax.c (back_comment): Simplify string-parity counting (with |
f3aaf610f8a9
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29834
diff
changeset
|
2058 the added benefit of handling multiple string-styles as long as |
f3aaf610f8a9
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29834
diff
changeset
|
2059 they are not intertwined). |
f3aaf610f8a9
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29834
diff
changeset
|
2060 Jump to the slow code as soon as a comment starter is found in |
f3aaf610f8a9
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29834
diff
changeset
|
2061 a "string_lossage" position. Fixes the case: " /* " /* " */. |
f3aaf610f8a9
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29834
diff
changeset
|
2062 |
29834 | 2063 2000-06-21 Dave Love <fx@gnu.org> |
2064 | |
2065 * Makefile.in: Use GETLOADAVG_LIBS. | |
2066 | |
2067 * config.in: Add HAVE_FCNTL_H, _FILE_OFFSET_BITS, | |
2068 _LARGEFILE_SOURCE, _LARGE_FILES, _XOPEN_SOURCE. | |
2069 | |
29822
d24cc3dc6bbc
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29820
diff
changeset
|
2070 2000-06-20 Stefan Monnier <monnier@cs.yale.edu> |
d24cc3dc6bbc
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29820
diff
changeset
|
2071 |
d24cc3dc6bbc
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29820
diff
changeset
|
2072 * syntax.c (describe_syntax): Recognize the `n'estable bit. |
d24cc3dc6bbc
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29820
diff
changeset
|
2073 (Fforward_comment, scan_lists): |
d24cc3dc6bbc
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29820
diff
changeset
|
2074 Check the comstyle of single-char comment-starters. |
d24cc3dc6bbc
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29820
diff
changeset
|
2075 (scan_sexps_forward): Don't try to recognize `half comment-enders' if |
d24cc3dc6bbc
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29820
diff
changeset
|
2076 we're just at the beginning of the comment (f.ex with (*) ... (*)). |
29824
26ad198aa883
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29822
diff
changeset
|
2077 Check the comstyle of single-char comment-starters. |
26ad198aa883
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29822
diff
changeset
|
2078 Clarify control-flow around the Scomment case. |
29822
d24cc3dc6bbc
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29820
diff
changeset
|
2079 |
29815 | 2080 2000-06-20 Dave Love <fx@gnu.org> |
2081 | |
29824
26ad198aa883
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29822
diff
changeset
|
2082 * fns.c (make_hash_table, maybe_resize_hash_table): |
26ad198aa883
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29822
diff
changeset
|
2083 Cast arg of next_almost_prime. |
29815 | 2084 |
30235
5a0d447b7eea
check default_face before dereferencing
Sam Steingold <sds@gnu.org>
parents:
30234
diff
changeset
|
2085 * tparam.c [emacs]: Include lisp.h. |
29815 | 2086 |
2087 * termcap.c [emacs]: Test HAVE_FCNTL_H, not USG5. Include lisp.h | |
2088 and unistd.h. | |
2089 | |
29814 | 2090 2000-06-20 Gerd Moellmann <gerd@gnu.org> |
2091 | |
29820 | 2092 * keyboard.c (adjust_point_for_property): Check if display |
2093 property should be treated as intangible by looking at its | |
2094 value. | |
2095 | |
30235
5a0d447b7eea
check default_face before dereferencing
Sam Steingold <sds@gnu.org>
parents:
30234
diff
changeset
|
2096 * xdisp.c (single_display_prop_intangible_p) |
29820 | 2097 (display_prop_intangible_p): New functions. |
2098 | |
2099 * dispextern.h (display_prop_intangible_p): Add prototype. | |
2100 | |
2101 * xdisp.c (dump_glyph_row): Show type of glyph->object. | |
30235
5a0d447b7eea
check default_face before dereferencing
Sam Steingold <sds@gnu.org>
parents:
30234
diff
changeset
|
2102 |
29814 | 2103 * s/isc4-0.h (sigblock): Redefined to pass a pointer as second |
2104 argument to sigprocmask. | |
2105 | |
2106 * s/sco5.h (sigblock): Redefined to pass a pointer as second | |
2107 argument to sigprocmask. | |
2108 | |
2109 * syssignal.h (sigblock, sigunblock) [USG5_4]: Set | |
2110 sigprocmask_set, and pass a pointer to it to sigprocmask. | |
2111 | |
2112 * sysdep.c (sigprocmask_set): New variable. | |
2113 | |
2114 * fileio.c (make_temp_name): Don't use `%s' in string passed to | |
2115 report_file_error. | |
2116 | |
29803
3dec4cd5e361
Don't declare xmalloc, xrealloc.
Sam Steingold <sds@gnu.org>
parents:
29802
diff
changeset
|
2117 2000-06-20 Sam Steingold <sds@gnu.org> |
3dec4cd5e361
Don't declare xmalloc, xrealloc.
Sam Steingold <sds@gnu.org>
parents:
29802
diff
changeset
|
2118 |
3dec4cd5e361
Don't declare xmalloc, xrealloc.
Sam Steingold <sds@gnu.org>
parents:
29802
diff
changeset
|
2119 * xrdb.c: Don't declare xmalloc, xrealloc. |
3dec4cd5e361
Don't declare xmalloc, xrealloc.
Sam Steingold <sds@gnu.org>
parents:
29802
diff
changeset
|
2120 |
29802
41e64655279b
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29796
diff
changeset
|
2121 2000-06-20 Stefan Monnier <monnier@cs.yale.edu> |
41e64655279b
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29796
diff
changeset
|
2122 |
41e64655279b
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29796
diff
changeset
|
2123 * regex.c (re_match, re_match_2): Protect calls to alloca (0). |
41e64655279b
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29796
diff
changeset
|
2124 (re_comp): Cast gettext return value to avoid complaints when |
41e64655279b
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29796
diff
changeset
|
2125 !HAVE_LIBINTL. |
41e64655279b
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29796
diff
changeset
|
2126 |
29786 | 2127 2000-06-20 Dave Love <fx@gnu.org> |
2128 | |
29796 | 2129 * m/stride.h, m/mips.h: Don't define HAVE_GETWD, |
2130 HAVE_GETTIMEOFDAY. | |
2131 | |
29815 | 2132 * m/ibmrt-aix.h: Don't declare HAVE_GETTIMEOFDAY, HAVE_VFORK. |
29796 | 2133 |
29824
26ad198aa883
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29822
diff
changeset
|
2134 * m/ibmrs6000.h, m/ibmps2-aix.h, m/dpx2.h: Don't declare HAVE_GETWD. |
29796 | 2135 |
2136 * m/alpha.h: Don't declare xmalloc, xrealloc. | |
2137 | |
29790 | 2138 * s/ux4800.h: Don't declare GETTIMEOFDAY_ONE_ARGUMENT. |
2139 | |
2140 * s/usg5-4-2.h: Don't declare HAVE_GETWD, VFORK_RETURN_TYPE. | |
2141 | |
2142 * s/umips.h: Don't declare HAVE_GETWD, HAVE_GETTIMEOFDAY. | |
2143 | |
2144 * s/cxux.h, s/gnu-linux.h, s/iris3-6.h, s/irix3-3.h: Don't declare | |
2145 HAVE_GETWD. | |
2146 | |
29786 | 2147 * keyboard.h (poll_for_input_1): Declare. |
2148 | |
2149 * getloadavg.c: Don't define NLIST_STRUCT (handled by configure). | |
2150 | |
2151 * alloc.c (xmalloc, xrealloc, xfree): Define using POINTER_TYPE. | |
2152 | |
2153 * doprnt.c: Don't declare xmalloc, xrealloc. | |
2154 | |
2155 * lisp.h (x_set_tool_bar_lines, free_frame_xic, compose_text) | |
2156 (getenv, ctime, getwd): Removed. | |
2157 (xmalloc, xrealloc, xfree): Declare using POINTER_TYPE. | |
2158 | |
2159 * xterm.h: Remove duplicate prototypes. Declare free_frame_xic, | |
2160 x_set_tool_bar_lines. | |
2161 | |
2162 * config.in: Add HAVE_GETWD. Move some definitions above | |
2163 machine/system includes. | |
2164 | |
29766 | 2165 2000-06-20 Kenichi Handa <handa@etl.go.jp> |
2166 | |
29770 | 2167 * s/bsd386.h (HAVE_GETLOADAVG): Define it as 1. |
2168 | |
29766 | 2169 * xfaces.c (font_list): Handle the case that REGISTRY doesn't |
2170 contain information about ENCODING. | |
2171 | |
2172 * fontset.c (FONTSET_ASCII): Use the first element of char table | |
2173 for an ASCII font, not defalt slot. | |
2174 (fontset_ref_via_base): If FONTSET doesn't contain information for | |
2175 C, try the default fontset. | |
2176 (make_fontset): Don't copy the default fontset. | |
2177 (fontset_font_pattern): Likewise. | |
2178 (accumulate_font_info): If ELT is nil, use the corresponding | |
2179 element in the default fontset. | |
2180 | |
29752 | 2181 2000-06-19 Dave Love <fx@gnu.org> |
2182 | |
29758 | 2183 * syntax.c (Fparse_partial_sexp): Doc fix. |
2184 | |
2185 * regex.h: Test PROTOTYPES as well as __STDC__. | |
2186 | |
29752 | 2187 * unexalpha.c: Include errno.h, string.h, unistd.h. Don't declare |
2188 errno, strerror. Put text after #endif in comment. | |
2189 | |
2190 * xdisp.c (dump_glyph_matrix): Add `static' to declaration (for | |
2191 pcc). | |
2192 | |
2193 * xterm.c (x_frame_of_widget): Likewise. | |
2194 | |
29747 | 2195 2000-06-19 Gerd Moellmann <gerd@gnu.org> |
2196 | |
2197 * abbrev.c (syms_of_abbrev): Set buffer_default's abbrev table | |
2198 to Vfundamental_mode_abbrev_table. | |
2199 | |
2200 * alloc.c (mark_object) [GC_CHECK_MARKED_OBJECTS]: Check that no | |
2201 bogus objects are marked. This slows down GC by ~80 percent, but | |
2202 it might be worth trying when debugging GC-related problems. | |
2203 This feature requires conservative stack marking to be enabled. | |
2204 | |
2205 * xterm.c (XTread_socket) <KeyPress>: In case XmbLookupString | |
2206 returns XLookupChars, reset `modifiers' to zero. | |
2207 | |
29738 | 2208 2000-06-19 Dave Love <fx@gnu.org> |
2209 | |
2210 * mktime.c: Unprotoized. | |
2211 | |
30337
5861c80aa795
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
30329
diff
changeset
|
2212 2000-06-19 Richard Stallman <rms@gnu.org> |
29736 | 2213 |
2214 * data.c (set_internal): If variable is frame-local, | |
2215 store the new value immediately into the frame parameter alist. | |
2216 | |
29726
c9430bc1c824
* keyboard.c (follow_key, read_key_sequence): Use XUINT on key value, or checks
Ken Raeburn <raeburn@raeburn.org>
parents:
29720
diff
changeset
|
2217 2000-06-19 Ken Raeburn <raeburn@gnu.org> |
c9430bc1c824
* keyboard.c (follow_key, read_key_sequence): Use XUINT on key value, or checks
Ken Raeburn <raeburn@raeburn.org>
parents:
29720
diff
changeset
|
2218 |
29728
f0f1e1365670
fix jpeg error-handling setup
Ken Raeburn <raeburn@raeburn.org>
parents:
29727
diff
changeset
|
2219 * xfns.c (jpeg_load): Fetch error-handling data first, then fill |
f0f1e1365670
fix jpeg error-handling setup
Ken Raeburn <raeburn@raeburn.org>
parents:
29727
diff
changeset
|
2220 in the custom handler pointer. |
f0f1e1365670
fix jpeg error-handling setup
Ken Raeburn <raeburn@raeburn.org>
parents:
29727
diff
changeset
|
2221 |
29726
c9430bc1c824
* keyboard.c (follow_key, read_key_sequence): Use XUINT on key value, or checks
Ken Raeburn <raeburn@raeburn.org>
parents:
29720
diff
changeset
|
2222 * keyboard.c (follow_key, read_key_sequence): Use XUINT on key |
29727
a1a4b7597a40
*** empty log message ***
Ken Raeburn <raeburn@raeburn.org>
parents:
29726
diff
changeset
|
2223 value, or checks for CHAR_META can fail when Lisp_Object is a |
a1a4b7597a40
*** empty log message ***
Ken Raeburn <raeburn@raeburn.org>
parents:
29726
diff
changeset
|
2224 union type. |
29726
c9430bc1c824
* keyboard.c (follow_key, read_key_sequence): Use XUINT on key value, or checks
Ken Raeburn <raeburn@raeburn.org>
parents:
29720
diff
changeset
|
2225 * keymap.c (get_keyelt): Likewise. |
c9430bc1c824
* keyboard.c (follow_key, read_key_sequence): Use XUINT on key value, or checks
Ken Raeburn <raeburn@raeburn.org>
parents:
29720
diff
changeset
|
2226 |
29720 | 2227 2000-06-19 Kenichi Handa <handa@etl.go.jp> |
2228 | |
2229 * ccl.h (struct ccl_program): New member eol_type. | |
2230 (struct ccl_spec): New member cr_carryover. | |
2231 | |
2232 * ccl.c (CCL_WRITE_CHAR): Convert NL according to ccl->eol_type. | |
2233 (setup_ccl_program): Initialize ccl->eol_type to CODING_EOL_LF. | |
2234 | |
2235 * coding.c (setup_coding_system) <4>: Reset member `cr_carryover'. | |
2236 (ccl_coding_driver): On encoding, initialize ccl->eol_type. | |
2237 (decode_eol_post_ccl): New function. | |
2238 (decode_coding): Don't detect EOL format here for CCL based coding | |
2239 systems. | |
2240 (decode_coding) <coding_type_ccl>: Handle carryovered CR. Call | |
2241 decode_eol_post_ccl after running the CCL program. | |
2242 (code_convert_region): Don't detect EOL format here for CCL based | |
2243 coding systems. | |
2244 (decode_coding_string): Likewise. | |
2245 | |
29717
acaa36b47f50
fix up more Lisp_Object/int conversion issues
Ken Raeburn <raeburn@raeburn.org>
parents:
29712
diff
changeset
|
2246 2000-06-18 Ken Raeburn <raeburn@gnu.org> |
acaa36b47f50
fix up more Lisp_Object/int conversion issues
Ken Raeburn <raeburn@raeburn.org>
parents:
29712
diff
changeset
|
2247 |
acaa36b47f50
fix up more Lisp_Object/int conversion issues
Ken Raeburn <raeburn@raeburn.org>
parents:
29712
diff
changeset
|
2248 * charset.c (update_charset_table): Use XINT on "iso_final_char" |
acaa36b47f50
fix up more Lisp_Object/int conversion issues
Ken Raeburn <raeburn@raeburn.org>
parents:
29712
diff
changeset
|
2249 when treating it as an integer. |
acaa36b47f50
fix up more Lisp_Object/int conversion issues
Ken Raeburn <raeburn@raeburn.org>
parents:
29712
diff
changeset
|
2250 |
acaa36b47f50
fix up more Lisp_Object/int conversion issues
Ken Raeburn <raeburn@raeburn.org>
parents:
29712
diff
changeset
|
2251 * coding.h (encode_coding_string): Declare. |
acaa36b47f50
fix up more Lisp_Object/int conversion issues
Ken Raeburn <raeburn@raeburn.org>
parents:
29712
diff
changeset
|
2252 |
acaa36b47f50
fix up more Lisp_Object/int conversion issues
Ken Raeburn <raeburn@raeburn.org>
parents:
29712
diff
changeset
|
2253 * keyboard.c (read_key_sequence): Use XINT on "pos" when treating |
acaa36b47f50
fix up more Lisp_Object/int conversion issues
Ken Raeburn <raeburn@raeburn.org>
parents:
29712
diff
changeset
|
2254 it as an integer. |
acaa36b47f50
fix up more Lisp_Object/int conversion issues
Ken Raeburn <raeburn@raeburn.org>
parents:
29712
diff
changeset
|
2255 |
acaa36b47f50
fix up more Lisp_Object/int conversion issues
Ken Raeburn <raeburn@raeburn.org>
parents:
29712
diff
changeset
|
2256 * keymap.c (Fwhere_is_internal): Rename argument "keymap" to |
acaa36b47f50
fix up more Lisp_Object/int conversion issues
Ken Raeburn <raeburn@raeburn.org>
parents:
29712
diff
changeset
|
2257 "xkeymap" to avoid shadowing the "enum map_type" value that needs |
acaa36b47f50
fix up more Lisp_Object/int conversion issues
Ken Raeburn <raeburn@raeburn.org>
parents:
29712
diff
changeset
|
2258 to be passed to get_local_map. |
acaa36b47f50
fix up more Lisp_Object/int conversion issues
Ken Raeburn <raeburn@raeburn.org>
parents:
29712
diff
changeset
|
2259 |
acaa36b47f50
fix up more Lisp_Object/int conversion issues
Ken Raeburn <raeburn@raeburn.org>
parents:
29712
diff
changeset
|
2260 * sound.c (Fplay_sound): Don't call make_number on |
acaa36b47f50
fix up more Lisp_Object/int conversion issues
Ken Raeburn <raeburn@raeburn.org>
parents:
29712
diff
changeset
|
2261 Frun_hook_with_args count argument. |
acaa36b47f50
fix up more Lisp_Object/int conversion issues
Ken Raeburn <raeburn@raeburn.org>
parents:
29712
diff
changeset
|
2262 |
acaa36b47f50
fix up more Lisp_Object/int conversion issues
Ken Raeburn <raeburn@raeburn.org>
parents:
29712
diff
changeset
|
2263 * xterm.c (x_send_scroll_bar_event): Fudge lisp object/integer |
acaa36b47f50
fix up more Lisp_Object/int conversion issues
Ken Raeburn <raeburn@raeburn.org>
parents:
29712
diff
changeset
|
2264 for lisp objects in X event structure data field, when lisp |
acaa36b47f50
fix up more Lisp_Object/int conversion issues
Ken Raeburn <raeburn@raeburn.org>
parents:
29712
diff
changeset
|
2265 objects are represented with unions. |
acaa36b47f50
fix up more Lisp_Object/int conversion issues
Ken Raeburn <raeburn@raeburn.org>
parents:
29712
diff
changeset
|
2266 (x_scroll_bar_to_input_event): Ditto. |
acaa36b47f50
fix up more Lisp_Object/int conversion issues
Ken Raeburn <raeburn@raeburn.org>
parents:
29712
diff
changeset
|
2267 |
29697
f24d81dfa064
* xdisp.c (decode_mode_spec): In "no_value" case, do NUL termination of string.
Ken Raeburn <raeburn@raeburn.org>
parents:
29696
diff
changeset
|
2268 2000-06-16 Ken Raeburn <raeburn@gnu.org> |
f24d81dfa064
* xdisp.c (decode_mode_spec): In "no_value" case, do NUL termination of string.
Ken Raeburn <raeburn@raeburn.org>
parents:
29696
diff
changeset
|
2269 |
f24d81dfa064
* xdisp.c (decode_mode_spec): In "no_value" case, do NUL termination of string.
Ken Raeburn <raeburn@raeburn.org>
parents:
29696
diff
changeset
|
2270 * xdisp.c (decode_mode_spec): In "no_value" case, do NUL |
29698
9ad6e18de5f7
* xdisp.c (decode_mode_spec): Fix sense of test whether Vline_number_display_limit is an integer.
Ken Raeburn <raeburn@raeburn.org>
parents:
29697
diff
changeset
|
2271 termination of string. Fix sense of test whether |
9ad6e18de5f7
* xdisp.c (decode_mode_spec): Fix sense of test whether Vline_number_display_limit is an integer.
Ken Raeburn <raeburn@raeburn.org>
parents:
29697
diff
changeset
|
2272 Vline_number_display_limit is an integer. |
29697
f24d81dfa064
* xdisp.c (decode_mode_spec): In "no_value" case, do NUL termination of string.
Ken Raeburn <raeburn@raeburn.org>
parents:
29696
diff
changeset
|
2273 |
29688 | 2274 2000-06-16 Gerd Moellmann <gerd@gnu.org> |
2275 | |
29712 | 2276 * xfaces.c (syms_of_xfaces) [DEBUG_X_COLORS]: Defsubr dump_colors |
2277 only if HAVE_X_WINDOWS. | |
2278 | |
29696 | 2279 * keymap.c (describe_buffer_bindings): Add `\f\n' in front |
2280 of titles. | |
2281 | |
29803
3dec4cd5e361
Don't declare xmalloc, xrealloc.
Sam Steingold <sds@gnu.org>
parents:
29802
diff
changeset
|
2282 * dispnew.c (update_frame_1): Handle case that cursor vpos is |
29688 | 2283 out of bounds. |
2284 | |
29670 | 2285 2000-06-15 Eli Zaretskii <eliz@is.elta.co.il> |
2286 | |
2287 * unexec.c (toplevel): Fix last change, so as not to deprive MSDOS | |
2288 of its headers. | |
2289 | |
29662 | 2290 2000-06-15 Kenichi Handa <handa@etl.go.jp> |
2291 | |
2292 * coding.c (decode_coding_emacs_mule): Always set src_base at the | |
2293 start of the while loop. | |
2294 | |
29661 | 2295 2000-06-15 Gerd Moellmann <gerd@gnu.org> |
2296 | |
29673 | 2297 * atimer.c (alarm_signal_handler): Add forward declaration. |
2298 | |
29661 | 2299 * data.c (set_internal): Remove debug code. |
2300 | |
29637 | 2301 2000-06-14 Gerd Moellmann <gerd@gnu.org> |
2302 | |
29657 | 2303 * Makefile.in (bootstrap-temacs): Add `-I../src'. |
2304 | |
29654 | 2305 * unexec.c (toplevel) [COFF]: Include coff.h. |
2306 | |
2307 * s/lynxos.h: New file. | |
2308 | |
2309 * keymap.c (Fsingle_key_description): Enclose function key and | |
2310 event symbol names in angle brackets. | |
2311 | |
29644 | 2312 * xdisp.c (setup_echo_area_for_printing): Call |
2313 message_log_maybe_newline if message_buf_print is not set. | |
2314 | |
2315 * print.c (printchar, strout): Don't check message_buf_print | |
29803
3dec4cd5e361
Don't declare xmalloc, xrealloc.
Sam Steingold <sds@gnu.org>
parents:
29802
diff
changeset
|
2316 before calling setup_echo_area_for_printing because that |
29644 | 2317 function does something useful even when message_buf_print is |
2318 already set. | |
2319 | |
29637 | 2320 * xdisp.c (message_truncate_lines, Qmessage_truncate_lines): New |
2321 variables. | |
2322 (ensure_echo_area_buffers): Initialize echo buffer's | |
2323 truncate lines setting to nil. | |
2324 (with_echo_area_buffer): Don't set the echo buffer's truncate | |
2325 lines setting here. | |
29644 | 2326 (set_message_1): Set it here instead, based on the value |
29637 | 2327 of message_truncate_lines. |
2328 (resize_mini_window): Handle case that lines are truncated. | |
2329 (syms_of_xdisp): Initialize Qmessage_truncate_lines. DEFVAR_BOOL | |
2330 message-truncate-lines. | |
2331 | |
2332 * keyboard.c (read_char): Bind message-truncate-lines to t | |
2333 while displaying a help-echo. | |
2334 | |
2335 * lisp.h (Qmessage_truncate_lines): External declaration. | |
2336 | |
29620 | 2337 2000-06-13 Gerd Moellmann <gerd@gnu.org> |
2338 | |
29633 | 2339 * xdisp.c (Vline_number_display_limit): Renamed from |
2340 line_number_display_limit. | |
2341 (syms_of_xdisp): Use DEFVAR_LISP for line-number-display-limit. | |
2342 Extend documentation string. Initialize | |
2343 Vline_number_display_limit to nil meaning no limit. | |
2344 (decode_mode_spec): Use Vline_number_display_limit with its new | |
2345 meaning. | |
2346 | |
29620 | 2347 * xterm.c (x_check_font) [GLYPH_DEBUG]: Add prototype. |
2348 | |
30337
5861c80aa795
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
30329
diff
changeset
|
2349 2000-06-13 Richard Stallman <rms@gnu.org> |
29620 | 2350 |
2351 * frame.c (Fmodify_frame_parameters): Doc fix. | |
29803
3dec4cd5e361
Don't declare xmalloc, xrealloc.
Sam Steingold <sds@gnu.org>
parents:
29802
diff
changeset
|
2352 |
29620 | 2353 * xfns.c (x_set_frame_parameters): Comment fix. |
2354 | |
2355 * frame.c (store_frame_param): Call swap_in_global_binding if the | |
2356 variable's current binding was chosen based on this frame. | |
2357 | |
2358 * data.c (swap_in_global_binding): New function. | |
2359 | |
29615 | 2360 2000-06-13 Eli Zaretskii <eliz@is.elta.co.il> |
2361 | |
2362 * msdos.c (IT_write_glyphs): Don't use CODING_REQUIRE_ENCODING | |
2363 macro, instead AND with CODING_REQUIRE_ENCODING_MASK. | |
2364 | |
29612 | 2365 2000-06-13 Eli Zaretskii <eliz@is.elta.co.il> |
2366 | |
2367 * msdos.h (EMACS_MSDOS_H): Renamed from MSDOS_H_. | |
2368 | |
29606 | 2369 2000-06-12 Jason Rumney <jasonr@gnu.org> |
2370 | |
2371 * w32bdf.h (EMACS_W32BDF_H): Renamed from __W32BDF_H__ | |
2372 | |
2373 * w32.h (EMACS_W32_H): Renamed from _NT_H_ | |
2374 | |
2375 * w32gui.h (EMACS_W32GUI_H): Renamed from __W32GUI_H__ | |
2376 | |
2377 * w32inevt.h (EMACS_W32INEVT_H): Renamed from __NTINEVT_H__ | |
2378 | |
29603 | 2379 2000-06-12 Gerd Moellmann <gerd@gnu.org> |
2380 | |
2381 * xfaces.c (Fdump_colors) [DEBUG_X_COLORS]: New function. | |
2382 (syms_of_xfaces): Defsubr Sdump_colors. | |
2383 (x_free_colors): Don't treat b&w specially on default visual. | |
2384 (x_free_dpy_colors): New function. | |
2385 (free_face_colors): Don't check visual class; it's done | |
2386 in x_free_colors. | |
2387 | |
2388 * xterm.c (x_frame_of_widget): New function. | |
2389 (x_alloc_nearest_color_for_widget): Use it. | |
2390 (x_copy_dpy_color): New function. | |
2391 (x_destroy_window): Free various colors. | |
2392 | |
29574 | 2393 2000-06-12 Kenichi Handa <handa@etl.go.jp> |
2394 | |
2395 * ccl.h (EMACS_CCL_H): Renamed from _CCL_H. | |
2396 | |
2397 * charset.h (EMACS_CHARSET_H): Renamed from _CHARSET_H. | |
2398 | |
2399 * coding.h (EMASC_CODING_H): Renamed from _CODING_H. | |
2400 | |
2401 * composite.h (EMACS_COMPOSITE_H): Renamed from _COMPOSITE_H. | |
2402 | |
2403 * fontset.h (EMACS_FONTSET_H): Renamed from _FONTSET_H. | |
2404 | |
29560 | 2405 2000-06-11 Dave Love <fx@gnu.org> |
2406 | |
2407 * systime.h (EMACS_SYSTIME_H): Renamed from _SYSTIME_H. | |
2408 | |
29558 | 2409 2000-06-11 Eli Zaretskii <eliz@is.elta.co.il> |
2410 | |
2411 * msdos.h: Don't use _MSDOS_H_ as a symbol, use MSDOS_H_ instead. | |
2412 | |
29556 | 2413 2000-06-11 Gerd Moellmann <gerd@gnu.org> |
2414 | |
29603 | 2415 * xmenu.c (xmenu_show): Cast second parameter of lw_popup_menu |
29556 | 2416 to `XEvent *'. |
2417 | |
29537 | 2418 2000-06-10 Kenichi Handa <handa@etl.go.jp> |
2419 | |
29545 | 2420 * regex.c (MAKE_CHAR) [!emacs]: Dummy macro for non-Emacs env. |
2421 (regex_compile): Fix the code for handling the case of single byte | |
2422 char and multibyte char being mixed in a range within [...]. | |
2423 | |
29541 | 2424 * fileio.c (Finsert_file_contents): Be sure to setup src_multibyte |
2425 and dst_multibyte members of coding. | |
2426 | |
29537 | 2427 * charset.c (update_charset_table): Update the table |
2428 bytes_by_char_head. | |
2429 (init_charset_once): Initialize elements of bytes_by_char_head to | |
2430 1 except for leading codes for private charases. | |
2431 | |
2432 * charset.h (CHARSET_8_BIT_GRAPHIC): Define as 0x80. | |
2433 (UNIBYTE_STR_AS_MULTIBYTE_P): Fix for an invalid multibyte | |
2434 sequence. | |
2435 | |
29536
4def8a9e785a
* xterm.c (x_connection_closed): If dpyinfo is NULL, don't try to
Ken Raeburn <raeburn@raeburn.org>
parents:
29517
diff
changeset
|
2436 2000-06-09 Ken Raeburn <raeburn@gnu.org> |
4def8a9e785a
* xterm.c (x_connection_closed): If dpyinfo is NULL, don't try to
Ken Raeburn <raeburn@raeburn.org>
parents:
29517
diff
changeset
|
2437 |
4def8a9e785a
* xterm.c (x_connection_closed): If dpyinfo is NULL, don't try to
Ken Raeburn <raeburn@raeburn.org>
parents:
29517
diff
changeset
|
2438 * xterm.c (x_connection_closed): If dpyinfo is NULL, don't try to |
4def8a9e785a
* xterm.c (x_connection_closed): If dpyinfo is NULL, don't try to
Ken Raeburn <raeburn@raeburn.org>
parents:
29517
diff
changeset
|
2439 access the data it doesn't point to. |
4def8a9e785a
* xterm.c (x_connection_closed): If dpyinfo is NULL, don't try to
Ken Raeburn <raeburn@raeburn.org>
parents:
29517
diff
changeset
|
2440 |
29517 | 2441 2000-06-08 Gerd Moellmann <gerd@gnu.org> |
2442 | |
2443 * xterm.c (XTread_socket) <FocusIn>: Queue a FOCUS_IN_EVENT which | |
29556 | 2444 will be translated to a switch-frame event when reading the |
29517 | 2445 event queue. This is necessary because Emacs otherwise won't |
2446 perform a switch-frame to a new frame until some other event, for | |
2447 example a keystroke event, forces it to do so. This has various | |
2448 effects, one visible being that the cursor of a frame created with | |
2449 C-x 5 2 or switched to with a window manager key binding like | |
2450 A-TAB stays hollow because selected_window isn't on the newly | |
2451 focused frame until the switch-frame is performed. | |
2452 | |
2453 * keyboard.c (kbd_buffer_get_event): Handle FOCUS_IN_EVENT by | |
2454 generating a switch-frame event if necessary. | |
2455 | |
2456 * termhooks.h (enum event_kind): Add FOCUS_IN_EVENT. | |
2457 | |
2458 * xdisp.c (handle_fontified_prop): Don't GCPRO local var `pos'; | |
2459 it's an integer. | |
2460 | |
29502 | 2461 2000-06-08 Kenichi Handa <handa@etl.go.jp> |
2462 | |
2463 * fontset.c (Fset_fontset_font): The arg CHARACTER may be a | |
2464 charset. | |
2465 | |
29482 | 2466 2000-06-07 Gerd Moellmann <gerd@gnu.org> |
2467 | |
29489 | 2468 * window.c (displayed_window_lines): Take empty lines at |
2469 the bottom of a window into account. | |
29803
3dec4cd5e361
Don't declare xmalloc, xrealloc.
Sam Steingold <sds@gnu.org>
parents:
29802
diff
changeset
|
2470 |
29487 | 2471 * window.c (displayed_window_lines): New function. |
2472 (Fmove_to_window_line): Use displayed_window_lines to determine | |
2473 the number of lines to move, instead of using the window's height. | |
2474 | |
2475 * lread.c (readevalloop): If READCHARFUN sets point to ZV, arrange | |
2476 to stop reading, even if the form read sets point to a different | |
2477 value when evaluated. | |
2478 | |
29803
3dec4cd5e361
Don't declare xmalloc, xrealloc.
Sam Steingold <sds@gnu.org>
parents:
29802
diff
changeset
|
2479 * xdisp.c (display_line): Fix code deciding in which line to |
29482 | 2480 put the cursor. |
2481 | |
29479 | 2482 2000-06-07 Kenichi Handa <handa@etl.go.jp> |
2483 | |
2484 * fileio.c (e_write): Free composition data if stored in | |
2485 coding->cmp_data. | |
2486 | |
29460 | 2487 2000-06-06 Gerd Moellmann <gerd@gnu.org> |
2488 | |
29475 | 2489 * xdisp.c (display_line): Set row's and iterator's |
2490 starts_in_middle_of_char_p and ends_in_middle_of_char_p flags. | |
2491 Set cursor even if row ends in the middle of a character. | |
2492 (dump_glyph_row): Print values of new flags. | |
2493 (redisplay_window) <cursor movement in unchanged window>: When | |
2494 point has been moved forward, and PT is at the end of the cursor | |
2495 row, don't place the cursor in the next row if the cursor row ends | |
2496 in the middle of a character or at ZV. | |
2497 | |
2498 * dispextern.h (struct it): Add starts_in_middle_of_char_p. | |
2499 (struct glyph_row): Add starts_in_middle_of_char_p and | |
2500 ends_in_middle_of_char_p. | |
2501 (MATRIX_ROW_ENDS_IN_MIDDLE_OF_CHAR_P): Test row's | |
2502 ends_in_middle_of_char_p flag. | |
2503 (MATRIX_ROW_STARTS_IN_MIDDLE_OF_CHAR_P): Likewise. | |
2504 | |
29463 | 2505 * term.c (append_glyph): Revert change of 2000-06-06. |
2506 | |
2507 * xdisp.c (display_line): Revert change of 2000-06-06. Treat | |
2508 padding glyph not fitting on line as whole character not | |
2509 fitting on line. | |
2510 | |
29460 | 2511 * xterm.c (x_produce_glyphs): Don't xassert `it->descent > 0'; |
2512 this isn't true for images with `:ascent 100'. | |
2513 | |
29450 | 2514 2000-06-06 Kenichi Handa <handa@etl.go.jp> |
2515 | |
29457 | 2516 * buffer.c (Fset_buffer_multibyte): Don't make the current buffer |
2517 as modified if it is originally unmodified. | |
2518 | |
29450 | 2519 * term.c (encode_terminal_code): Change the way to check if |
2520 terminal coding does any conversion. | |
2521 (append_glyph): Set glyph->pixel_width correctly. | |
2522 | |
29451 | 2523 * xdisp.c (display_line): While checking line continuation, pay |
2524 attention to a padding glyph. | |
2525 | |
29447 | 2526 2000-06-05 Gerd Moellmann <gerd@gnu.org> |
2527 | |
2528 * xdisp.c (redisplay_window): Always use set_buffer_internal_1. | |
2529 | |
29431 | 2530 2000-06-05 Dave Love <fx@gnu.org> |
2531 | |
29444 | 2532 * xdisp.c: Include fontset.h. |
2533 | |
2534 * xfns.c (x_real_positions): Declare tmp_nchildren as unsigned. | |
2535 | |
2536 * xterm.c (x_calc_absolute_position): Declare nchildren unsigned. | |
2537 | |
2538 * dispnew.c: Conditionally include term.h. | |
2539 | |
2540 * coding.h: Declare code_convert_string_norecord. | |
2541 | |
2542 * frame.h (struct frame): Use volatile unconditionally. | |
2543 | |
2544 * buffer.h: Remove Vbefore_change_function, Vafter_change_function. | |
2545 | |
2546 * xmenu.c (menu_item_selection): Declare volatile unconditionally. | |
2547 | |
2548 * systime.h: Protect against multiple inclusion. | |
2549 (timezone) [USG5_4]: Define as time_t. | |
2550 | |
2551 * lisp.h (DEFUN, EXFUN): Test PROTOTYPES. | |
2552 (Foptimize_char_table, make_temp_name): Declare. | |
2553 | |
2554 * Makefile.in (xdisp.o): Depend on fontset.h. | |
2555 | |
2556 * xterm.c (x_calc_absolute_position): Declare nchildren unsigned. | |
2557 | |
2558 * lisp.h (DEFUN, EXFUN): Test PROTOTYPES. | |
2559 (Foptimize_char_table, make_temp_name): Declare. | |
2560 | |
29803
3dec4cd5e361
Don't declare xmalloc, xrealloc.
Sam Steingold <sds@gnu.org>
parents:
29802
diff
changeset
|
2561 * s/irix4-0.h: |
29431 | 2562 * s/irix5-0.h: |
2563 * s/netbsd.h: Don't define autoconfiscated MATHERR. | |
2564 | |
29397 | 2565 2000-06-02 Dave Love <fx@gnu.org> |
2566 | |
2567 * lread.c (_XOPEN_SOURCE, __EXTENSIONS__): Don't define. | |
2568 | |
29395 | 2569 2000-06-02 Gerd Moellmann <gerd@gnu.org> |
2570 | |
2571 * xfaces.c (realize_x_face): When copying BASE_FACE bitwise to the | |
29447 | 2572 result face, set flags in that face indicating that colors may not |
29395 | 2573 be freed. |
2574 | |
2575 * xterm.c (x_set_mouse_face_gc): If first glyph isn't a character | |
2576 glyph, use the ASCII NUL character to determine the face. | |
2577 | |
29388 | 2578 2000-06-02 Dave Love <fx@gnu.org> |
2579 | |
2580 * sysdep.c: Conditionally include stdlib.h, unistd.h. | |
2581 (VFORK_RETURN_TYPE): Remove. | |
29803
3dec4cd5e361
Don't declare xmalloc, xrealloc.
Sam Steingold <sds@gnu.org>
parents:
29802
diff
changeset
|
2582 |
29388 | 2583 * config.in: Add NO_MATHERR. |
2584 | |
29368 | 2585 2000-06-01 Dave Love <fx@gnu.org> |
2586 | |
29383 | 2587 * cmds.c (internal_self_insert): Don't check |
2588 Vbefore_change_function, Vafter_change_function. | |
2589 | |
2590 * insdel.c (signal_before_change, signal_after_change): Likewise. | |
2591 | |
2592 * buffer.c (Vbefore_change_function, Vafter_change_function): | |
2593 Variables and their initializations deleted. | |
2594 | |
29372 | 2595 * callint.c (Fcall_interactively): Doc fix. |
2596 | |
29368 | 2597 * terminfo.c (ospeed) [HAVE_SPEED_T]: Don't declare extern. |
2598 | |
29343 | 2599 2000-05-31 Dave Love <fx@gnu.org> |
2600 | |
2601 * textprop.c: Revert last change -- duplicated. | |
2602 | |
29338 | 2603 2000-05-31 Gerd Moellmann <gerd@gnu.org> |
2604 | |
2605 * dispnew.c (find_glyph_row_slice, swap_glyphs_in_rows): Put | |
2606 in #if 0. | |
2607 | |
2608 * lisp.h (eassert) [!ENABLE_CHECKING]: Define as `(void) 0'. | |
2609 | |
29331 | 2610 2000-05-31 Jason Rumney <jasonr@gnu.org> |
2611 | |
29334 | 2612 * search.c (Fre_search_forward, Fre_search_backward) |
2613 (Fposix_search_backward, Fposix_search_forward): Fix newlines in docs. | |
2614 | |
29331 | 2615 * w32select.c (Fw32_set_clipboard_data): Change QNil to Qnil. |
2616 | |
29308 | 2617 2000-05-30 Jason Rumney <jasonr@gnu.org> |
2618 | |
2619 * coding.h (ENCODE_SYSTEM, DECODE_SYSTEM) [WINDOWSNT]: New macros. | |
2620 [WINDOWSNT]: Add extern for Vw32_system_coding_system. | |
2621 | |
2622 * dispextern.h (struct glyph) [WINDOWSNT]: Add w32_font_type | |
2623 member. | |
2624 | |
2625 * fileio.c (Fread_file_name) [HAVE_NTGUI]: Use file dialog. | |
2626 (Fread_file_name) [HAVE_NTGUI, USE_MOTIF]: Do not attempt to | |
2627 expand a nil default_filename. | |
2628 | |
2629 * keyboard.c (make_lispy_event) [WINDOWS_NT]: Pass a window | |
2630 pointer to glyph_to_pixel_coords, not a frame. | |
2631 | |
2632 * makefile.nt (w32fns.obj, w32menu.obj): Add charset.h and | |
2633 coding.h to dependencies. | |
2634 | |
2635 * w32bdf.c (w32_load_bdf_font): Initialize font->double_byte_p. | |
2636 | |
2637 * w32console.c (glyph_to_pixel_coords): Change first parameter to | |
2638 window pointer to be consistent with w32term.c and xterm.c. | |
2639 | |
2640 * w32fns.c: Format and doc changes to bring closer to xfns.c. | |
2641 (VIETNAMESE_CHARSET): Define if not defined in system headers. | |
2642 (Qline_spacing, Qcenter): New variables. | |
2643 (Qw32_charset_*, w32_codepage_for_font): Moved from w32term.c. | |
2644 (x_set_line_spacing): New function. | |
2645 (x_set_frame_parameters): Use FRAME_NEW_WIDTH, FRAME_NEW_HEIGHT | |
2646 macros. | |
2647 (x_specified_cursor_type): New function. | |
2648 (x_set_cursor_type): Use it. | |
2649 (x_set_name, x_set_title): Use ENCODE_SYSTEM to encode titlebar | |
2650 and icon strings. | |
2651 (validate_x_resource_name, x_get_resource_string): Measure lengths | |
2652 of external strings in bytes. | |
2653 (w32_wnd_proc) [WM_MEASURE_ITEM]: Avoid calling | |
2654 GetTextExtentPoint32 with NULL title. | |
2655 (Fx_create_frame): Initialize Qline_spacing. | |
2656 (w32_load_system_font): Initialize font->double_byte_p. | |
2657 (x_to_w32_charset): Use Vw32_charset_info_alist. | |
2658 (Image, busy cursor, tooltip functions): Merged changes from | |
2659 xfns.c. Not yet functional on Windows. | |
2660 | |
2661 * w32gui.h (W32FontStruct): Add double_byte_p member. | |
2662 | |
2663 * w32inevt.c (NUM_TRANSLATED_MOUSE_BUTTONS): New constant. | |
2664 (emacs_button_translation): Use it. | |
2665 (do_mouse_event): Allow up to 32 mouse buttons by allowing any bit | |
2666 in `mask' to be set. | |
2667 | |
2668 * w32menu.c (single_submenu, w32_menu_show): Call ENCODE_SYSTEM on | |
2669 menu strings. | |
2670 | |
2671 * w32term.c: Format and doc changes to bring closer to xterm.c. | |
2672 (w32_char_font_type): New enum. | |
2673 (Qw32_charset_*, w32_codepage_for_font): Moved to w32fns.c. | |
2674 (w32_per_char_metric): Use w32_char_font_type instead of unicode_p. | |
2675 (w32_encode_char): New function. | |
2676 (x_encode_char): Removed. | |
2677 (x_get_glyph_and_face_encoding): Use w32_encode_char in place of | |
2678 x_encode_char and w32_font_is_double_byte. | |
2679 (x_produce_image_glyph): Use image_ascent. | |
2680 (x_produce_glyphs): Use new version of w32_per_char_metric and | |
2681 handle NULL return value. Allow extra line spacing. | |
2682 (W32_TEXTOUT): Distinguish between Unicode and DBCS text. | |
2683 (w32_get_glyph_overhangs): Remove unicode_p param. Use | |
2684 w32_font_type member of glyph instead. | |
2685 (x_draw_glyph_string): Draw underline and strike-out for BDF fonts. | |
2686 (fast_find_position): Make sure not to consider rows not visible | |
2687 in the window. | |
2688 (w32_read_socket) [WM_MENUSELECT]: Cannot call | |
2689 w32_menu_display_help with input blocked, as it can abort. | |
2690 (x_display_and_set_cursor): Choose cursor depending | |
2691 on buffer-local value of cursor_type. | |
2692 (x_draw_bar_cursor): Add parameter WIDTH. | |
2693 | |
2694 * w32term.h (CP_DEFAULT): Define. | |
2695 (Fx_display_color_p, Fx_display_grayscale_p, image_ascent): Declare. | |
2696 | |
29302 | 2697 2000-05-30 Gerd Moellmann <gerd@gnu.org> |
2698 | |
2699 * search.c (Fre_search_forward, Fre_search_backward) | |
2700 (Fposix_search_backward, Fposix_search_forward): Doc fix. | |
2701 | |
29298 | 2702 2000-05-30 Kenichi Handa <handa@etl.go.jp> |
2703 | |
2704 * coding.c (detect_coding_iso2022): Fix code for checking | |
2705 CODING_CATEGORY_MASK_ISO_8_2. | |
2706 | |
29297
1c3d15e270b6
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29295
diff
changeset
|
2707 2000-05-29 Stefan Monnier <monnier@cs.yale.edu> |
1c3d15e270b6
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29295
diff
changeset
|
2708 |
1c3d15e270b6
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29295
diff
changeset
|
2709 * regex.c (PREFETCH_NOLIMIT): New function. |
1c3d15e270b6
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29295
diff
changeset
|
2710 (re_match_2_internal): Use it and adjust the end_match_2 logic. |
1c3d15e270b6
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29295
diff
changeset
|
2711 |
29285 | 2712 2000-05-29 Gerd Moellmann <gerd@gnu.org> |
2713 | |
29295 | 2714 * syntax.c (find_defun_start): Move test for |
2715 open_paren_in_column_0_is_defun_start outside of the loop. | |
2716 | |
29292 | 2717 * xdisp.c (redisplay_window): Really switch buffers when |
2718 displaying mode lines, and temporarily set selected_frame to the | |
2719 frame of the window that's redisplayed. | |
2720 | |
29285 | 2721 * xfaces.c (free_realized_faces): Block/unblock input. |
2722 (free_realized_multibyte_face): Ditto. | |
2723 | |
29283 | 2724 2000-05-29 Dave Love <fx@gnu.org> |
2725 | |
2726 * textprop.c (Qkeymap): New variable. | |
2727 (syms_of_textprop): Intern it. | |
2728 | |
2729 * keymap.c: Include intervals.h. | |
2730 (Fkey_binding, Fwhere_is_internal): Deal with `keymap' property. | |
2731 | |
2732 * Makefile.in (keymap.o): Depend on intervals.h. | |
2733 | |
2734 * keyboard.c (menu_bar_items, tool_bar_items) | |
2735 (Fexecute_extended_command): Deal with `keymap' property. | |
2736 (read_key_sequence): Track map from `keymap' property as well as | |
2737 `local_map'. | |
2738 | |
2739 * intervals.c (get_local_map): Extra arg to allow looking for | |
2740 `keymap' too. | |
2741 | |
2742 * intervals.h (map_property): New enum. | |
2743 (get_local_map): Extra arg using it. | |
2744 (Qkeymap): Declare. | |
2745 | |
29285 | 2746 * lisp.h (get_local_map): Don't declare here. |
29283 | 2747 |
29271 | 2748 2000-05-29 Kenichi Handa <handa@etl.go.jp> |
2749 | |
2750 * Makefile.in (callproc.o): Depend on composite.h. | |
2751 | |
2752 * callproc.c: Include composite.h. | |
2753 (Fcall_process): Handle composition correctly. | |
2754 | |
2755 * coding.h (coding_allocate_composition_data): Extern it. | |
2756 (coding_restore_composition): Likewise. | |
2757 | |
2758 * coding.c (DECODE_COMPOSITION_START): If coding->cmp_data is not | |
2759 yet allocated, finish decoding with result | |
2760 CODING_FINISH_INSUFFICIENT_CMP. | |
2761 (coding_allocate_composition_data): Make it non-static. | |
2762 (coding_restore_composition): Likewise. | |
2763 | |
29270 | 2764 2000-05-29 Eli Zaretskii <eliz@is.elta.co.il> |
2765 | |
2766 * charset.c (syms_of_charset): Revert last change. | |
2767 | |
29264 | 2768 2000-05-28 Eli Zaretskii <eliz@is.elta.co.il> |
2769 | |
2770 * term.c (produce_glyphs): Treat characters from the eight-bit-* | |
30196
52c1b7a2e7a5
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
30183
diff
changeset
|
2771 charsets as unibyte, with 1-column screen width. Sent by Kenichi |
52c1b7a2e7a5
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
30183
diff
changeset
|
2772 Handa. |
29264 | 2773 |
29261 | 2774 2000-05-28 Eli Zaretskii <eliz@is.elta.co.il> |
2775 | |
2776 * charset.c (syms_of_charset): Set width of character sets | |
2777 eight-bit-control and eight-bit-graphic to 1 column. | |
2778 | |
29254 | 2779 2000-05-26 Gerd Moellmann <gerd@gnu.org> |
2780 | |
2781 * config.in (HAVE_SPEED_T): New define. | |
2782 | |
2783 * sysdep.c, terminfo.c (ospeed) [HAVE_SPEED_T]: Declare as | |
2784 `extern speed_t'. | |
2785 | |
29248 | 2786 2000-05-26 Dave Love <fx@gnu.org> |
2787 | |
2788 * coding.c (shrink_decoding_region): Initialize eol_conversion. | |
2789 | |
2790 * data.c (Qsubrp, Qmany, Qunevalled): New variables. | |
2791 (Fsubr_arity): New function. | |
2792 (syms_of_data): Install them. | |
2793 | |
29226 | 2794 2000-05-26 Kenichi Handa <handa@etl.go.jp> |
2795 | |
29235 | 2796 * charset.c (init_charset_once): Set the table bytes_by_char_head |
2797 correctly. | |
2798 | |
29230 | 2799 * fontset.c (syms_of_fontset): Adjust the font name for ascii of |
2800 the default fontset to what Emacs uses by default. | |
29235 | 2801 (check_registry_encoding): This function deleted. |
2802 (Fset_fontset_font): Remove the adhoc condition for the default | |
2803 fontset. Allow cons in FONTNAME. | |
2804 | |
2805 * fns.c (map_char_table): Ignore char-table entries for | |
2806 charsets eight-bit-control and eight-bit-graphic. | |
29226 | 2807 |
29198
b3592c1e9ddb
* emacs.c (main): Initialize keyboard syms before initializing
Ken Raeburn <raeburn@raeburn.org>
parents:
29196
diff
changeset
|
2808 2000-05-25 Ken Raeburn <raeburn@gnu.org> |
b3592c1e9ddb
* emacs.c (main): Initialize keyboard syms before initializing
Ken Raeburn <raeburn@raeburn.org>
parents:
29196
diff
changeset
|
2809 |
b3592c1e9ddb
* emacs.c (main): Initialize keyboard syms before initializing
Ken Raeburn <raeburn@raeburn.org>
parents:
29196
diff
changeset
|
2810 * emacs.c (main): Initialize keyboard syms before initializing |
b3592c1e9ddb
* emacs.c (main): Initialize keyboard syms before initializing
Ken Raeburn <raeburn@raeburn.org>
parents:
29196
diff
changeset
|
2811 window code, so face names are available. |
b3592c1e9ddb
* emacs.c (main): Initialize keyboard syms before initializing
Ken Raeburn <raeburn@raeburn.org>
parents:
29196
diff
changeset
|
2812 |
29195
1da5b007c8c5
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29193
diff
changeset
|
2813 2000-05-25 Stefan Monnier <monnier@cs.yale.edu> |
1da5b007c8c5
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29193
diff
changeset
|
2814 |
1da5b007c8c5
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29193
diff
changeset
|
2815 * regex.c (at_begline_loc_p): Also recognize the \\(?:^ case |
1da5b007c8c5
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29193
diff
changeset
|
2816 of an anchor at the beginning of a shy-group. |
1da5b007c8c5
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29193
diff
changeset
|
2817 |
29193 | 2818 2000-05-25 Gerd Moellmann <gerd@gnu.org> |
2819 | |
2820 * xdisp.c (handle_invisible_prop): Don't try to skip over | |
2821 invisible text if end of text is already reached. | |
2822 | |
29183 | 2823 2000-05-25 Dave Love <fx@gnu.org> |
2824 | |
29186 | 2825 * xdisp.c (Fdump_glyph_matrix): Declare the arg. |
2826 | |
29183 | 2827 * coding.c (encode_eol): Add null statement after label. |
2828 | |
29181 | 2829 2000-05-25 Eli Zaretskii <eliz@is.elta.co.il> |
2830 | |
2831 * w16select.c (Fw16_set_clipboard_data): Fix the change from | |
2832 2000-05-20. | |
2833 | |
29173 | 2834 2000-05-25 Kenichi Handa <handa@etl.go.jp> |
2835 | |
29174 | 2836 * ccl.c (ccl_driver): Fix previous change. |
29173 | 2837 |
29169 | 2838 2000-05-25 Kenichi Handa <handa@etl.go.jp> |
2839 | |
29171 | 2840 * coding.c (run_pre_post_conversion_on_str): Set point to the |
2841 beginning of buffer before calling coding->post_read_conversion. | |
2842 (decode_coding_string): Give correct args to | |
2843 run_pre_post_conversion_on_str. | |
2844 (encode_coding_string): Likewise. | |
2845 | |
29169 | 2846 * ccl.c (ccl_driver) <CCL_ReadMultibyteChar2> |
2847 <CCL_WriteMultibyteChar2>: Handle charsets eight-bit-control and | |
2848 eight-bit-graphic correctly. | |
2849 | |
29153 | 2850 2000-05-24 Kenichi HANDA <handa@etl.go.jp> |
2851 | |
2852 * fileio.c (Finsert_file_contents): Even if a file is not found, | |
2853 execute codes for setting up coding system. Call | |
2854 after-insert-file-functions unconditionally. | |
2855 | |
29151 | 2856 2000-05-24 Gerd Moellmann <gerd@gnu.org> |
2857 | |
2858 * callproc.c, emacs.c, sysdep.c (setpgrp): Don't define if USG and | |
2859 BSD_PGRPS are not defined. | |
2860 | |
29142 | 2861 2000-05-24 Kenichi Handa <handa@etl.go.jp> |
2862 | |
2863 * charset.c (update_charset_table): Accept nil in LONG_NAME and | |
2864 DESCRIPTION. | |
2865 (syms_of_charset): Avoid building same strings. | |
2866 | |
29127 | 2867 2000-05-23 Gerd Moellmann <gerd@gnu.org> |
2868 | |
2869 * lread.c (Fload): Add a comment about the meaning of | |
2870 Vuser_init_file being t. | |
2871 | |
2872 * puresize.h (BASE_PURESIZE): Increase to 675000. | |
2873 | |
2874 * s/gnu-linux.h (setpgrp): Don't define it here because this | |
2875 prevents compilation on GNU/Linux systems with glib 2.2. | |
2876 | |
2877 * callproc.c, emacs.c, sysdep.c (setpgrp) [HAVE_SETPGID]: Define | |
2878 as setpgid. | |
29803
3dec4cd5e361
Don't declare xmalloc, xrealloc.
Sam Steingold <sds@gnu.org>
parents:
29802
diff
changeset
|
2879 |
29104 | 2880 2000-05-23 Eli Zaretskii <eliz@is.elta.co.il> |
2881 | |
2882 * Makefile.in (SOME_MACHINE_LISP): Add disp-table.elc, | |
2883 dos-vars.elc, ccl.elc, and codepage.elc, all loaded by the MS-DOS | |
2884 version. | |
2885 (MSDOS_SUPPORT): Add dos-vars.elc, ccl.elc, and codepage.elc. | |
2886 | |
29092 | 2887 2000-05-23 Kenichi Handa <handa@etl.go.jp> |
2888 | |
29100
a941c97dc65b
(skip_chars): FETCH_STRING_CHAR_ADVANCE unconditionally.
Kenichi Handa <handa@m17n.org>
parents:
29096
diff
changeset
|
2889 * syntax.c (skip_chars): Use FETCH_STRING_CHAR_ADVANCE |
a941c97dc65b
(skip_chars): FETCH_STRING_CHAR_ADVANCE unconditionally.
Kenichi Handa <handa@m17n.org>
parents:
29096
diff
changeset
|
2890 unconditionally. |
a941c97dc65b
(skip_chars): FETCH_STRING_CHAR_ADVANCE unconditionally.
Kenichi Handa <handa@m17n.org>
parents:
29096
diff
changeset
|
2891 |
29096 | 2892 * msdos.c (IT_write_glyphs): Set coding->src_multibyte to 1. |
2893 | |
2894 * term.c (encode_terminal_code): Set coding->src_multibyte | |
2895 properly. | |
2896 | |
29092 | 2897 * coding.c (encode_eol): Fix a bug of DOS style EOL encoding. |
2898 | |
29064 | 2899 2000-05-22 Kenichi Handa <handa@etl.go.jp> |
2900 | |
29068
61a23dd336ab
(read_char): Allow character codes 128..255 to be
Kenichi Handa <handa@m17n.org>
parents:
29064
diff
changeset
|
2901 * keyboard.c (read_char): Allow character codes 128..255 to be |
61a23dd336ab
(read_char): Allow character codes 128..255 to be
Kenichi Handa <handa@m17n.org>
parents:
29064
diff
changeset
|
2902 handled by input-method-function. |
61a23dd336ab
(read_char): Allow character codes 128..255 to be
Kenichi Handa <handa@m17n.org>
parents:
29064
diff
changeset
|
2903 |
29064 | 2904 * insdel.c (adjust_markers_for_replace): Fix previous change. |
2905 (adjust_after_replace): If PREV_TEXT is nil, call | |
2906 adjust_markers_for_insert, not adjust_markers_for_replace. | |
2907 | |
29036 | 2908 2000-05-20 NIIBE Yutaka <gniibe@mri.co.jp> |
29803
3dec4cd5e361
Don't declare xmalloc, xrealloc.
Sam Steingold <sds@gnu.org>
parents:
29802
diff
changeset
|
2909 |
29036 | 2910 * s/gnu-linux.h (UNIX98_PTYS) [HAVE_GRANDPT]: Define. |
2911 (PTY_ITERATION, PTY_NAME_SPRINTF, PTY_OPEN, PTY_TTY_NAME_SPRINTF) | |
2912 [HAVE_GRANDPT]: Define. | |
2913 (C_SWITCH_SYSTEM): Add -D_XOPEN_SOURCE. | |
2914 | |
2915 * sysdep.c (setup_pty): Treat case that UNIX98_PTYS is defined | |
2916 like SYSV_PTYS. | |
2917 | |
2918 * config.in (HAVE_GRANDPT, HAVE_GETPT): New defines. | |
2919 | |
2920 * process.c (toplevel) [UNIX98_PTYS]: Include stdlib.h. | |
2921 | |
29028 | 2922 2000-05-20 Kenichi Handa <handa@etl.go.jp> |
2923 | |
2924 The following changes are to handle 8-bit characters in a | |
2925 multibyte buffer/string without facing with byte combining | |
2926 problem. Two new charsets eight-bit-control (for 0x80..0x9F) and | |
2927 eight-bit-graphic (for 0xA0..0xFF) are introduced. | |
2928 | |
2929 * Makefile.in (fns.o): Depend on charset.h. | |
2930 | |
2931 * alloc.c (Fmake_byte_code): If BYTECODE-STRING is multibyte, | |
2932 convert it to unibyte. | |
2933 (make_string): Use parse_str_as_multibyte, not chars_in_text. | |
2934 | |
2935 * buffer.c (advance_to_char_boundary): Don't use DEC_POS to find a | |
2936 apparent char boundary. | |
2937 (Fset_buffer_multibyte): Convert 8-bit characters in the range | |
2938 0x80..0x9F to/from multibyte form. | |
2939 | |
2940 * bytecode.c (Fbyte_code): If arg BYTESTR is multibyte, convert it | |
2941 to unibyte. | |
2942 | |
2943 * callproc.c (Fcall_process): Always encode an argument string if | |
2944 it is multibyte. Setup src_multibyte and dst_multibyte members of | |
2945 process_coding properly. | |
29102 | 2946 |
29028 | 2947 * category.c (Fmodify_category_entry): Use SPLIT_CHAR, not |
2948 SPLIT_NON_ASCII_CHAR. | |
2949 | |
2950 * ccl.c (CCL_WRITE_CHAR): Be sure to write single byte characters | |
2951 as is. | |
2952 (CCL_MAKE_CHAR): Use MAKE_CHAR, not MAKE_NON_ASCII_CHAR. | |
2953 | |
2954 * charset.c (Qeight_bit_control, Qeight_bit_graphic): New | |
2955 variables. | |
2956 (SPLIT_CHARACTER_SEQ): This macro deleted. | |
2957 (SPLIT_MULTIBYTE_SEQ): Assume that multibyte sequence at STR is | |
2958 valid. | |
2959 (CHAR_COMPONENTS_VALID_P): Handle new charsets; eight-bit-control | |
2960 and eight-bit-graphic. | |
2961 (char_to_string): Likewise. Signal an error for too large | |
2962 character code. | |
2963 (char_printable_p): Return 0 for 8-bit characters. | |
2964 (update_charset_table): Update iso_charset_table only when a final | |
2965 character is non-negative. | |
2966 (find_charset_in_text): Renamed from find_charset_in_str. | |
2967 Arguments and return value changed. Callers changed. | |
2968 (Fdefine_charset): Args ISO-FINAL-CHAR and ISO-GRAPHIC-PLANE can | |
2969 be -1 if CHARSET is used only internally. | |
2970 (Fmake_char_internal): Handle new charsets; eight-bit-control and | |
2971 eight-bit-graphic. | |
2972 (Fcharset_after): Simplified. | |
2973 (char_valid_p): Use SPLIT_CHAR, not SPLIT_NON_ASCII_CHAR. | |
2974 (char_bytes): Return 2 for chars of the range 0xA0..0xFF. | |
2975 (multibyte_chars_in_text): Simplified by assuming there's no | |
2976 invalid multibyte sequence. | |
2977 (parse_str_as_multibyte, str_as_multibyte, str_to_multibyte, | |
2978 str_as_unibyte): New functions. | |
2979 (Fstring): Simpified by assuming that byte combining never | |
2980 happens. | |
2981 (init_charset_once): Initialization for | |
2982 LEADING_CODE_8_BIT_CONTROL. | |
2983 (syms_of_charset): Intern and staticpro Qeight_bit_control and | |
2984 Qeight_bit_graphic. Include them in Vcharset_list. Make charsets | |
2985 eight-bit-control and eight-bit-graphic. | |
2986 | |
2987 * charset.h (LEADING_CODE_8_BIT_CONTROL, CHARSET_8_BIT_CONTROL, | |
2988 CHARSET_8_BIT_GRAPHIC): New macros. | |
2989 (SINGLE_BYTE_CHAR_P): Make it faster by using casting. | |
2990 (CHARSET_ISO_GRAPHIC_PLANE): Use XINT instead of XFASTINT. | |
2991 (CHARSET_REVERSE_CHARSET): Likewise. | |
2992 (CHARSET_VALID_P): Handle new charsets; eight-bit-control and | |
2993 eight-bit-graphic. | |
2994 (BYTES_BY_CHAR_HEAD, WIDTH_BY_CHAR_HEAD): Optimize for ASCII. | |
2995 (CHAR_CHARSET, MAKE_CHAR, SPLIT_CHAR, CHAR_BYTES): Likewise. | |
2996 (PARSE_MULTIBYTE_SEQ) [BYTE_COMBINING_DEBUG]: Abort if we | |
2997 encounter an invalid multibyte sequence. | |
2998 (PARSE_MULTIBYTE_SEQ) [not BYTE_COMBINING_DEBUG]: Assume multibyte | |
2999 sequence is always valid. | |
3000 (MAKE_NON_ASCII_CHAR, SPLIT_NON_ASCII_CHAR): These macros Deleted. | |
3001 (UNIBYTE_STR_AS_MULTIBYTE_P, MULTIBYTE_STR_AS_UNIBYTE_P): New | |
3002 macros. | |
3003 (CHAR_STRING): For 8-bit characters, call char_to_string. | |
3004 (INC_POS) [not BYTE_COMBINING_DEBUG]: Faster version. Assume | |
3005 multibyte sequence is always valid. | |
3006 (BUF_INC_POS) [not BYTE_COMBINING_DEBUG]: Likewise. | |
3007 (parse_str_as_multibyte, str_as_multibyte, str_to_multibyte, | |
3008 str_as_unibyte): Extern them. | |
3009 (BCOPY_SHORT): Fix a bug. | |
3010 (CHAR_LEN): This macro deleted. Callers changed to use | |
3011 CHAR_BYTES. | |
3012 (FETCH_STRING_CHAR_ADVANCE): Check multibyteness of STRING. | |
3013 (FETCH_STRING_CHAR_ADVANCE_NO_CHECK): New macro. | |
3014 (FETCH_CHAR_ADVANCE): Check multibyteness of the current buffer. | |
3015 | |
29161 | 3016 * coding.c (ONE_MORE_BYTE, TWO_MORE_BYTES): Set coding->result to |
29028 | 3017 CODING_FINISH_INSUFFICIENT_SRC if there's not enough source. |
3018 (ONE_MORE_CHAR, EMIT_CHAR, EMIT_ONE_BYTE, EMIT_TWO_BYTE, | |
3019 EMIT_BYTES): New macros. | |
3020 (THREE_MORE_BYTES, DECODE_CHARACTER_ASCII, | |
3021 DECODE_CHARACTER_DIMENSION1, DECODE_CHARACTER_DIMENSION2): These | |
3022 macros deleted. | |
3023 (CHECK_CODE_RANGE_A0_FF): This macro deleted. | |
3024 (detect_coding_emacs_mule): Use UNIBYTE_STR_AS_MULTIBYTE_P to | |
3025 check the validity of multibyte sequence. | |
3026 (decode_coding_emacs_mule): New function. | |
3027 (encode_coding_emacs_mule): New macro. | |
3028 (detect_coding_iso2022): Use ONE_MORE_BYTE to fetch a byte from | |
3029 the source. | |
3030 (DECODE_ISO_CHARACTER): Just return a character code. | |
3031 (DECODE_COMPOSITION_START): Set coding->result instead of result. | |
3032 (decode_coding_iso2022, decode_coding_sjis_big5, decode_eol): Use | |
3033 EMIT_CHAR to produced decoded characters. Exit the loop only by | |
3034 macros ONE_MORE_BYTE or EMIT_CHAR. Don't handle the case of last | |
3035 block here. | |
3036 (ENCODE_ISO_CHARACTER): Don't translate character here. Produce | |
3037 only position codes for an invalid character. | |
3038 (encode_designation_at_bol): Return new destination pointer. 5th | |
3039 arg DSTP is changed to DST. | |
3040 (encode_coding_iso2022, decode_coding_sjis_big5): Get a character | |
3041 from the source by ONE_MORE_CHAR. Don't handle the case of last | |
3042 block here. | |
3043 (DECODE_SJIS_BIG5_CHARACTER, ENCODE_SJIS_BIG5_CHARACTER): These | |
3044 macros deleted. | |
3045 (detect_coding_sjis, detect_coding_big5, detect_coding_utf_8, | |
3046 detect_coding_utf_16, detect_coding_ccl): Use ONE_MORE_BYTE and | |
3047 TWO_MORE_BYTES to fetch a byte from the source. | |
3048 (encode_eol): Pay attention to coding->src_multibyte. | |
3049 (detect_coding, detect_eol): Preserve members src_multibyte and | |
3050 dst_multibyte. | |
3051 (DECODING_BUFFER_MAG): Return 2 even for coding_type_raw_text. | |
3052 (encoding_buffer_size): Set magnification to 3 for all coding | |
3053 systems that require encoding. | |
3054 (ccl_coding_driver): For decoding, be sure that the result is | |
3055 valid multibyte sequence. | |
3056 (decode_coding): Initialize coding->errors and coding->result. | |
3057 For emacs-mule, call decode_coding_emacs_mule. For no-conversion | |
3058 and raw-text, always call decode_eol. Handle the case of last | |
3059 block here. If not coding->dst_multibyte, convert the resulting | |
3060 sequence to unibyte. | |
3061 (encode_coding): Initialize coding->errors and coding->result. | |
3062 For emacs-mule, call encode_coding_emacs_mule. For no-conversion | |
3063 and raw-text, always call encode_eol. Handle the case of last | |
3064 block here. | |
3065 (shrink_decoding_region, shrink_encoding_region): Detect cases | |
3066 that we can't skip data more rigidly. | |
3067 (code_convert_region): Setup src_multibyte and dst_multibyte | |
3068 members of coding. For decoding, if the buffer is multibyte, | |
3069 convert the source sequence to unibyte in advance. For encoding, | |
3070 if the buffer is multibyte, convert the resulting sequence to | |
3071 multibyte afterward. | |
3072 (run_pre_post_conversion_on_str): New function. | |
3073 (code_convert_string): Deleted and divided into the following two. | |
3074 (decode_coding_string, encode_coding_string): New functions. | |
3075 (code_convert_string1, code_convert_string_norecord): Call one of | |
3076 above. | |
3077 (Fdecode_sjis_char, Fdecode_big5_char): Use MAKE_CHAR instead of | |
3078 MAKE_NON_ASCII_CHAR. | |
3079 (Fset_terminal_coding_system_internal, | |
3080 Fset_safe_terminal_coding_system_internal): Setup src_multibyte | |
3081 and dst_multibyte members. | |
3082 (init_coding_once): Initialize iso_code_class with new enum | |
3083 ISO_control_0 and ISO_control_1. | |
3084 | |
3085 * coding.h (enum iso_code_class_type): Member ISO_control_code is | |
3086 devided into ISO_control_0 and ISO_control_1. | |
3087 (struct coding_system): New members src_multibyte, dst_multibyte, | |
3088 errors, and result. Delete member fake_multibyte. | |
3089 (CODING_REQUIRE_DECODING): Return 1 if coding->dst_multibyte is | |
3090 nonzero. | |
3091 (CODING_REQUIRE_ENCODING): Return 1 if coding->src_multibyte is | |
3092 nonzero. | |
3093 | |
3094 * data.c (Faref): Use SPLIT_CHAR instead of SPLIT_NON_ASCII_CHAR. | |
3095 (Faset): Likewise. | |
3096 | |
3097 * editfns.c (Fformat): Be sure to convert 8-bit characters to | |
3098 multibyte form. | |
3099 (Ftranspose_region) [BYTE_COMBINING_DEBUG]: Abort if byte | |
3100 combining occurs. | |
3101 (Ftranspose_region): Delete codes for handling byte combining. | |
3102 | |
3103 * fileio.c (Finsert_file_contents): Setup src_multibyte and | |
3104 dst_multibyte members of coding. On handling REPLACE on unibyte | |
3105 buffer, convert the result of decode_coding to unibyte. On | |
3106 inserting into a mutibyte buffer, always call code_convert_region. | |
29161 | 3107 (e_write): Setup coding->src_multibyte according to the |
29028 | 3108 multibyteness of the source (buffer or string). |
3109 | |
3110 * fns.c (concat): Handle 8-bit characters correctly. | |
3111 (Fstring_as_unibyte): Be sure to make all 8-bit characters in | |
3112 unibyte in the result. | |
3113 (Fstring_as_multibyte): Be sure to make all 8-bit characters in | |
3114 valid multibyte form in the result. | |
3115 (map_char_table): Use MAKE_CHAR instead of MAKE_NON_ASCII_CHAR. | |
3116 (Fbase64_encode_region, Fbase64_encode_string): If base64_encode_1 | |
3117 return -1, signal an error. | |
3118 (base64_encode_1): New arg MULTIBYTE. Get each character by | |
3119 CHAR_STRING_AND_LENGTH if MULTIBYTE is nonzero. If a multibyte | |
3120 character is found, return -1. | |
3121 (Fbase64_decode_region): Delete codes for handling byte-combining. | |
3122 Treat each decoded byte as a unibyte character. | |
3123 (Fbase64_decode_string): Return unibyte string. | |
3124 (Fcompare_strings, concat, string_byte_to_char): Use | |
3125 FETCH_STRING_CHAR_ADVANCE_NO_CHECK instead off | |
3126 FETCH_STRING_CHAR_ADVANCE. | |
3127 (Fstring_lessp): Use FETCH_STRING_CHAR_ADVANCE unconditionally. | |
3128 (mapcar1): If SEQ is string, always use FETCH_STRING_CHAR_ADVANCE. | |
3129 | |
3130 * fontset.c (fontset_ref): Use SPLIT_CHAR instead of | |
3131 SPLIT_NON_ASCII_CHAR. | |
3132 (fontset_ref_via_base, fontset_set): Likewise | |
3133 | |
3134 * insdel.c (adjust_markers_for_record_delete): Deleted. | |
3135 (adjust_markers_for_insert): Argument changed. Caller changed. | |
3136 (adjust_markers_for_replace): Likewise. | |
3137 (ADJUST_CHAR_POS, combine_bytes, byte_combining_error, | |
3138 CHECK_BYTE_COMBINING_FOR_INSERT): Deleted. | |
3139 (copy_text): Delete unused local varialbe c_save. For converting | |
3140 to multibyte, be sure to make all 8-bit characters in valid | |
3141 multibyte form. | |
3142 (count_size_as_multibyte): Handle 8-bit characters correctly. | |
3143 (insert_1_both, insert_from_string_1, insert_from_buffer_1, | |
3144 adjust_after_replace, replace_range, del_range_2) | |
3145 [BYTE_COMBINING_DEBUG]: Abort if byte combining occurs. | |
3146 (insert_1_both, insert_from_string_1, insert_from_buffer_1, | |
3147 adjust_after_replace, replace_range, del_range_2) Delete codes for | |
3148 handling byte combining. | |
3149 (adjust_before_replace): Deleted. | |
29803
3dec4cd5e361
Don't declare xmalloc, xrealloc.
Sam Steingold <sds@gnu.org>
parents:
29802
diff
changeset
|
3150 |
29028 | 3151 * keymap.c (Fsingle_key_description): Use SPLIT_CHAR instead of |
3152 SPLIT_NON_ASCII_CHAR. | |
3153 (describe_vector): Use MAKE_CHAR instead of MAKE_NON_ASCII_CHAR. | |
3154 (Faccessible_keymaps): Use FETCH_STRING_CHAR_ADVANCE | |
3155 unconditionally. | |
3156 (Fkey_description): Likewise. | |
3157 | |
3158 * lread.c (read1): On reading multibyte string, be sure to make | |
3159 all 8-bit chararacters in valid multibyte form. | |
3160 (readchar): Use FETCH_STRING_CHAR_ADVANCE unconditionally. | |
3161 | |
3162 * print.c (print_object): Use FETCH_STRING_CHAR_ADVANCE | |
3163 unconditionally. | |
3164 | |
3165 * process.c (Fstart_process): GCPRO current_dir before calling | |
3166 Ffind_operation_coding_system. Encode arguments here. | |
3167 (create_process): Don't encode arguments here. Setup | |
3168 src_multibyte and dst_multibyte members of struct coding. | |
3169 (read_process_output): Setup src_multibyte and dst_multibyte | |
3170 members of struct coding. If the output is to multibyte buffer, | |
3171 always decode the output of the process. Adjust the | |
3172 representation of 8-bit characters to the multibyteness of the | |
3173 output. | |
3174 (send_process): Setup coding->src_multibyte according to the | |
3175 multibyteness of the source. | |
3176 | |
3177 * search.c (wordify): Use FETCH_STRING_CHAR_ADVANCE | |
3178 unconditionally. | |
3179 (Freplace_match): Use FETCH_STRING_CHAR_ADVANCE and | |
3180 FETCH_STRING_CHAR_ADVANCE_NO_CHECK appropriately. | |
3181 | |
3182 * term.c (produce_special_glyphs): Use CHAR_BYTES instead of | |
3183 CHAR_LEN. | |
3184 | |
3185 * w16select.c (Fw16_set_clipboard_data): Setup members | |
3186 src_multibyte and dst_multibyte of coding. Adjusted for the | |
3187 change for find_charset_in_str. | |
3188 (Fw16_get_clipboard_data): Likewise. | |
3189 | |
3190 * w32fns.c (w32_to_x_font): Setup members src_multibyte and | |
3191 dst_multibyte of coding. | |
3192 (x_to_w32_font): Likewise. | |
3193 | |
3194 * w32select.c (Fw32_set_clipboard_data): Setup members | |
3195 src_multibyte and dst_multibyte of coding. Adjusted for the | |
3196 change for find_charset_in_str. | |
3197 (Fw32_get_clipboard_data): Likewise. | |
3198 | |
3199 * xdisp.c (get_next_display_element): Handle 8-bit characters | |
3200 correctly. | |
3201 (next_element_from_display_vector): Use CHAR_BYTES instead of | |
3202 CHAR_LEN. | |
3203 (disp_char_vector): Use SPLIT_CHAR instead of | |
3204 SPLIT_NON_ASCII_CHAR. | |
3205 | |
3206 * xselect.c (selection_data_to_lisp_data): Setup members | |
3207 src_multibyte and dst_multibyte of coding. Adjusted for the | |
3208 change for find_charset_in_str. | |
3209 (lisp_data_to_selection_data): Likewise. | |
3210 | |
28988 | 3211 2000-05-19 Gerd Moellmann <gerd@gnu.org> |
3212 | |
28993 | 3213 * buffer.c (Fbury_buffer): Avoid trouble from burying a killed |
3214 buffer. | |
3215 | |
28988 | 3216 * dispextern.h (Vimage_types): Add extern declaration. |
3217 | |
3218 * xdisp.c (Vimage_types): Moved here from xfns.c. | |
3219 (syms_of_xdisp): Move `image-types' variable here from xfns.c. | |
3220 | |
3221 * xfns.c (Vimages_types): Moved to xdisp.c. | |
3222 (syms_of_xfns): Move `image-types' to xdisp.c. | |
3223 | |
3224 * w32fns.c (Vimage_types): Removed. | |
3225 (syms_of_w32fns): Remove `image-types'. | |
3226 | |
28965 | 3227 2000-05-18 Kenichi Handa <handa@etl.go.jp> |
3228 | |
3229 * fns.c (map_char_table): Pay attention to character number of | |
3230 charset. Check the validity of charset at the first level. For | |
3231 leaf nodes that has nil value, call C_FUNCTION or FUNCTION with | |
3232 the default value. | |
3233 | |
3234 * fontset.c: Include "buffer.h". | |
3235 (fs_load_font): If the face has fontset, record the face ID in | |
3236 that fontset. | |
3237 (Finternal_char_font): New function. | |
3238 (accumulate_font_info): New function. | |
3239 (Ffontset_info): Rewritten for the new fontset implementation. | |
3240 (syms_of_fontset): Register Vdefault_fontset in the first element | |
3241 of Vfontset_table. Include Vdefault_fontset in | |
3242 Vfontset_alias_alist. Declare `internal-char-font' as a Lisp | |
3243 function. | |
3244 | |
28945 | 3245 2000-05-16 Dave Love <fx@gnu.org> |
3246 | |
3247 * m/iris5d.h: Deleted -- unused. | |
3248 | |
28929 | 3249 2000-05-16 Gerd Moellmann <gerd@gnu.org> |
3250 | |
28939 | 3251 * xdisp.c, w32.c, print.c, msdos.c, emacs.c: Use the term |
3252 `invalid' instead of `illegal'. | |
3253 | |
3254 * indent.c (Fmove_to_column): When ending within a tab, insert | |
3255 spaces first so that markers at the end of the tab get adjusted. | |
3256 | |
28931 | 3257 * frame.c (frames_bury_buffer): Don't add a buffer to the frame's |
3258 buffer list that wasn't selected in that frame. | |
3259 | |
28929 | 3260 * filelock.c (get_boot_time): To obtain an 8 char file name, which |
3261 is needed on mescaline, use a 2 char prefix, and call | |
3262 make_temp_name with second arg non-zero. | |
3263 | |
3264 * fileio.c (make_temp_name): New function, extracted from | |
3265 Fmake_temp_name. | |
3266 (Fmake_temp_name): Use it. | |
3267 | |
28921 | 3268 2000-05-15 Eli Zaretskii <eliz@is.elta.co.il> |
3269 | |
3270 * window.c (coordinates_in_window): Subtract 1 when computing | |
3271 right_x. | |
3272 | |
28919 | 3273 2000-05-15 Gerd Moellmann <gerd@gnu.org> |
3274 | |
3275 * Makefile.in (lisp): Add env.elc. | |
3276 | |
3277 * callproc.c (Fgetenv_internal): Renamed from Fgetenv. | |
3278 | |
28887 | 3279 2000-05-12 Gerd Moellmann <gerd@gnu.org> |
3280 | |
3281 * search.c (Freplace_match): Handle case of `\N' in the | |
3282 replacement when there's no group N. | |
3283 | |
28870 | 3284 2000-05-11 Gerd Moellmann <gerd@gnu.org> |
3285 | |
28877 | 3286 * xdisp.c (add_to_log): Don't pass the terminating NUL byte |
3287 of the message to message_dolog. | |
3288 | |
28872 | 3289 * keyboard.c (read_char): Don't clear current message for help |
3290 events; let the code handling help events handle this. Change | |
3291 code detecting help events that should be ignored. | |
3292 | |
28870 | 3293 * xdisp.c (handle_single_display_prop): Don't try to set PT if |
3294 we're interating over a string. | |
3295 | |
28848 | 3296 2000-05-09 Dave Love <fx@gnu.org> |
3297 | |
3298 * fileio.c (Fwrite_region): If APPEND arg is an integer, seek to | |
3299 that offset before writing. Move gcpro region past call of | |
3300 Ffile_regular_p. | |
3301 | |
28820 | 3302 2000-05-04 Dave Love <fx@gnu.org> |
3303 | |
3304 * buffer.c (syms_of_buffer) [auto-fill-function]: Doc fix. | |
3305 | |
28817 | 3306 2000-05-04 Gerd Moellmann <gerd@gnu.org> |
3307 | |
3308 * insdel.c (insert_from_buffer_1): Adjust FROM position by number | |
3309 of inserted characters when BUF equals the current buffer, and PT | |
3310 is in front of or equal to FROM. | |
3311 | |
28795 | 3312 2000-05-03 Gerd Moellmann <gerd@gnu.org> |
3313 | |
28805 | 3314 * xdisp.c (handle_single_display_prop): If display property value |
3315 is invalid, or something not supported on the frame, restore | |
3316 iterator's position to what it was initially. Make sure to return | |
3317 0 for invalid and unsupported property values. | |
3318 | |
28795 | 3319 * xterm.c (x_produce_glyphs) <composite chars>: Handle case |
3320 that x_per_char_metric returns null. | |
3321 | |
28782 | 3322 2000-05-02 Gerd Moellmann <gerd@gnu.org> |
3323 | |
28789 | 3324 * xterm.h (struct face): Add forward declaration. |
3325 (struct image): Ditto. | |
3326 (image_ascent): Add prototype. | |
3327 | |
3328 * xterm.c (x_produce_image_glyph, x_draw_image_foreground) | |
3329 (x_draw_image_relief, x_draw_image_foreground_1): Call function | |
3330 image_ascent instead of using IMAGE_ASCENT. | |
3331 | |
3332 * dispextern.h (DEFAULT_IMAGE_HEIGHT): New macro. | |
3333 (IMAGE_ASCENT): Removed. | |
3334 | |
3335 * xfns.c (Qcenter): New variable. | |
3336 (enum image_value_type): Add IMAGE_ASCENT_VALUE. | |
3337 (parse_image_spec): Handle IMAGE_ASCENT_VALUE. | |
3338 (image_ascent): New function. | |
3339 (lookup_image): Recognize `:ascent center'. | |
3340 (xbm_format, xpm_format, pbm_format, png_format, jpeg_format) | |
3341 (tiff_format, gif_format, gs_format): Use IMAGE_ASCENT_VALUE. | |
3342 (xbm_load): Don't set image's ascent here. | |
3343 (xbm_image_p, xpm_image_p, pbm_image_p, png_image_p) | |
3344 (jpeg_image_p, tiff_image_p, gif_image_p, gs_image_p): Don't | |
3345 check ascent values here. | |
3346 (Fimagep, Flookup_image [GLYPH_DEBUG]: Removed. | |
3347 (syms_of_xfns) [GLYPH_DEBUG]: Don't defsubr removed functions. | |
3348 (syms_of_xfns): Initialize Qcenter. | |
3349 | |
28782 | 3350 * eval.c (Fsignal): If lisp_eval_depth or spepdl_size are near |
3351 to the limits, increase the limits. | |
3352 | |
28765 | 3353 2000-05-01 Kenichi Handa <handa@etl.go.jp> |
3354 | |
3355 * fontset.c (fs_load_font): By default, use 0x00..0x7f for ASCII. | |
3356 Check Vfont_encoding_alist against the full name of the opened | |
3357 font. | |
3358 | |
28755 | 3359 2000-04-28 Gerd Moellmann <gerd@gnu.org> |
3360 | |
3361 * xdisp.c (make_cursor_line_fully_visible): Handle case of rows | |
3362 taller than the window. | |
3363 | |
28752 | 3364 2000-04-28 Kenichi Handa <handa@etl.go.jp> |
3365 | |
3366 * xfaces.c (realize_x_face): Fix the argument of the second | |
3367 xassert. BASE_FACE may not be a face for ASCII. | |
3368 | |
28734 | 3369 2000-04-27 Gerd Moellmann <gerd@gnu.org> |
3370 | |
28748 | 3371 * print.c (print_object): Treat print-length < 0 as nil. |
3372 | |
3373 * Makefile.in (termcapobj): Don't use TERMCAP_OBJ. | |
3374 | |
3375 * s/freebsd.h (TERMCAP_OBJ): Removed. | |
3376 (LIBS_TERMCAP): Don't define for __FreeBSD_version >= 400000. | |
3377 | |
3378 * lread.c (read1): Don't treat period followed by certain | |
3379 characters as symbol start. | |
3380 | |
3381 * xfns.c (slurp_file): New function. | |
3382 (xbm_image_p): Handle case of in-memory XBM files. | |
3383 (xbm_scan): Rewritten to work on memory buffers instead of files. | |
3384 (xbm_read_bitmap_data): Renamed from xbm_read_bitmap_file_data. | |
3385 Work on memory buffers instead of files. If DATA is null test | |
3386 if buffer looks like an in-memory XBM file. | |
3387 (xbm_load_image): Renamed from xbm_load_image_file. Work on | |
3388 memory buffers instead of files. | |
3389 (xbm_file_p): New function. | |
3390 (xbm_load): Accept :data DATA where DATA is an in-memory XBM file. | |
3391 | |
28734 | 3392 * lread.c (end_of_file_error): New function. |
3393 (read1): Call it instead of signaling `end-of-file' directly. | |
3394 | |
29803
3dec4cd5e361
Don't declare xmalloc, xrealloc.
Sam Steingold <sds@gnu.org>
parents:
29802
diff
changeset
|
3395 * print.c (print_error_message): Print data of `end-of-file' |
28734 | 3396 with Fprinc instead of Fprin1. |
3397 | |
28727
1a87cdb8289a
*** empty log message ***
Ken Raeburn <raeburn@raeburn.org>
parents:
28724
diff
changeset
|
3398 2000-04-26 Ken Raeburn <raeburn@gnu.org> |
1a87cdb8289a
*** empty log message ***
Ken Raeburn <raeburn@raeburn.org>
parents:
28724
diff
changeset
|
3399 |
1a87cdb8289a
*** empty log message ***
Ken Raeburn <raeburn@raeburn.org>
parents:
28724
diff
changeset
|
3400 * window.c (freeze_window_start): Check that minibuffer scroll |
1a87cdb8289a
*** empty log message ***
Ken Raeburn <raeburn@raeburn.org>
parents:
28724
diff
changeset
|
3401 window isn't nil before extracting the window structure pointer |
1a87cdb8289a
*** empty log message ***
Ken Raeburn <raeburn@raeburn.org>
parents:
28724
diff
changeset
|
3402 from it. |
1a87cdb8289a
*** empty log message ***
Ken Raeburn <raeburn@raeburn.org>
parents:
28724
diff
changeset
|
3403 |
1a87cdb8289a
*** empty log message ***
Ken Raeburn <raeburn@raeburn.org>
parents:
28724
diff
changeset
|
3404 * undo.c (record_delete): If we hit the end of the undo list, stop |
1a87cdb8289a
*** empty log message ***
Ken Raeburn <raeburn@raeburn.org>
parents:
28724
diff
changeset
|
3405 picking elements apart. |
1a87cdb8289a
*** empty log message ***
Ken Raeburn <raeburn@raeburn.org>
parents:
28724
diff
changeset
|
3406 |
28724 | 3407 2000-04-26 Gerd Moellmann <gerd@gnu.org> |
3408 | |
3409 * xdisp.c (display_line): If lines are continued, restore | |
3410 iterator's ascent/descent information to the values before the | |
3411 first glyph not fitting on the line. | |
3412 | |
28710 | 3413 2000-04-25 Gerd Moellmann <gerd@gnu.org> |
3414 | |
3415 * xdisp.c (try_window_id) <all changes above window start>: Adjust | |
3416 positions in glyph matrix. Don't compute new window end | |
3417 positions. | |
3418 | |
3419 * dispnew.c (increment_matrix_positions): Renamed from | |
3420 increment_glyph_matrix_buffer_positions. | |
3421 (increment_row_positions): Renamed from | |
3422 increment_glyph_row_buffer_positions. | |
3423 | |
3424 * dispextern.h: Change names of renamed functions from dispnew.c | |
3425 in prototypes. | |
3426 | |
28695 | 3427 2000-04-24 Gerd Moellmann <gerd@gnu.org> |
3428 | |
28699 | 3429 * fileio.c (Fdo_auto_save): Create directories for auto-save |
3430 list file if necessary. | |
3431 | |
28695 | 3432 * xdisp.c (init_iterator): Set iterator's extra_line_spacing |
3433 from buffer or frame. | |
3434 (automatic_hscrolling_p): New variable. | |
3435 (hscroll_windows): Scroll windows horizontally only if automatic | |
3436 hscrolling is allowed. | |
3437 (syms_of_xdisp): New variable `automatic-hscrolling'. | |
3438 | |
3439 * frame.h (struct frame): Add member extra_line_spacing. | |
3440 | |
3441 * xfns.c (x_set_line_spacing): New function. | |
3442 (Fx_create_frame): Set line spacing from resources. | |
3443 (Qline_spacing): New variable. | |
3444 (syms_of_xfns): Initialize Qline_spacing. | |
29803
3dec4cd5e361
Don't declare xmalloc, xrealloc.
Sam Steingold <sds@gnu.org>
parents:
29802
diff
changeset
|
3445 |
28695 | 3446 * emacs.c (USAGE2): Add `--line-spacing' and `-lsp'. |
3447 | |
3448 * buffer.c (init_buffer_once): Handle extra_line_spacing. | |
3449 (syms_of_buffer): Add `default-line-spacing' and `line-spacing'. | |
28699 | 3450 (reset_buffer): Don't initialize extra2 and extra3. Initialize |
28695 | 3451 extra_line_spacing from default value. |
3452 (init_buffer_once): Initialize default value of extra_line_spacing. | |
3453 | |
3454 * buffer.h (struct buffer): Add extra_line_spacing, remove extra2 | |
3455 and extra3. | |
3456 | |
3457 * xterm.c (x_produce_glyphs): Remove reference to struct it's | |
3458 prompt_width. Add extra line spacing. | |
3459 | |
3460 * term.c (produce_glyphs): Remove reference to struct it's | |
3461 prompt_width. | |
3462 | |
3463 * dispextern.h (struct it): Remove member prompt_width, add | |
3464 extra_line_spacing. | |
3465 | |
28683 | 3466 2000-04-22 Gerd Moellmann <gerd@gnu.org> |
3467 | |
3468 * dispnew.c (update_frame_line): When writing a whole line, make | |
3469 sure cursor is in the right row afterwards, otherwise a use of | |
3470 capability `ch' in cmgoto might leave the cursor in the row below. | |
3471 | |
28680 | 3472 2000-04-21 Gerd Moellmann <gerd@gnu.org> |
3473 | |
3474 * lisp.h (struct Lisp_Buffer_Cons): Remove. | |
3475 | |
3476 * keyboard.c (timer_check): Fix typo in comment. | |
3477 | |
28675 | 3478 2000-04-21 Kenichi Handa <handa@etl.go.jp> |
3479 | |
3480 * fontset.c (Fset_fontset_font): Fix docstring. Local variable | |
3481 name change: ch -> character. | |
3482 | |
28674 | 3483 2000-04-20 Gerd Moellmann <gerd@gnu.org> |
3484 | |
3485 * keyboard.c (echo_message_buffer): New variable. | |
3486 (echo_now): Set echo_message_buffer to the echo area buffer used | |
3487 to display the echo. | |
3488 (cancel_echoing): Reset echo_message_buffer to nil. | |
3489 (read_char): Code rewritten that handles canceling an echo or | |
3490 echoing a dash, respectively. | |
3491 | |
3492 * fileio.c (Ffile_writable_p) [WINDOWSNT]: Return nil if parent | |
3493 directory doesn't exist. | |
3494 | |
28668 | 3495 2000-04-19 Dave Love <fx@gnu.org> |
3496 | |
3497 * fns.c (syms_of_fns): Defsubr mapc. | |
28756 | 3498 (concat): Don't allow numeric args. |
3499 (Fconcat): Doc change. | |
28668 | 3500 |
28665
e6b28c64d3a5
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28653
diff
changeset
|
3501 2000-04-19 Stefan Monnier <monnier@cs.yale.edu> |
e6b28c64d3a5
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28653
diff
changeset
|
3502 |
e6b28c64d3a5
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28653
diff
changeset
|
3503 * regex.c (re_match_2_internal): Don't shorten the strings anymore, |
e6b28c64d3a5
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28653
diff
changeset
|
3504 instead define end_match(1|2) more carefully. |
e6b28c64d3a5
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28653
diff
changeset
|
3505 Use GET_CHAR_BEFORE_2 for `begline'. |
e6b28c64d3a5
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28653
diff
changeset
|
3506 |
28648 | 3507 2000-04-19 Gerd Moellmann <gerd@gnu.org> |
3508 | |
28653 | 3509 * frame.h (SELECTED_FRAME): Change definition to compile cleanly |
3510 on 64-bit systems where NULL is defined as `0'. | |
3511 | |
3512 * xdisp.c (with_echo_area_buffer): Add more `int' parameters for | |
3513 the `variable argument list' to make it work on Alpha. | |
3514 | |
28648 | 3515 * m/alpha.h (_LP64) [!_LP64]: Define. |
3516 (ORDINARY_LINK): Define for NetBSD. | |
3517 | |
3518 * m/macppc.h (ORDINARY_LINK): Define for NetBSD. | |
29803
3dec4cd5e361
Don't declare xmalloc, xrealloc.
Sam Steingold <sds@gnu.org>
parents:
29802
diff
changeset
|
3519 |
28637 | 3520 2000-04-19 Dave Love <fx@gnu.org> |
3521 | |
28644 | 3522 * s/bsd386.h, s/freebsd.h, s/gnu.h, s/netbsd.h: Revert 2000-04-14 |
3523 change. | |
3524 | |
3525 * Makefile.in (LIBS): Don't use. | |
3526 (GETLOADAVG_OBJ): Define again. | |
3527 (otherobj): Add GETLOADAVG_OBJ. | |
3528 | |
28637 | 3529 * buffer.c (Fmake_indirect_buffer): Escape newline in doc. |
3530 | |
28630 | 3531 2000-04-18 Gerd Moellmann <gerd@gnu.org> |
3532 | |
28634 | 3533 * lread.c (read_filtered_event): Cancel and start busy cursor. |
3534 | |
29803
3dec4cd5e361
Don't declare xmalloc, xrealloc.
Sam Steingold <sds@gnu.org>
parents:
29802
diff
changeset
|
3535 * xterm.c (x_produce_glyphs) <ASCII chars>: Take into account |
28630 | 3536 that the per-character metrics may be null. |
3537 | |
28621 | 3538 2000-04-17 Gerd Moellmann <gerd@gnu.org> |
3539 | |
28626 | 3540 * buffer.c (clone_per_buffer_values): New function. |
3541 (Fmake_indirect_buffer): Add optional argument CLONE. Call | |
3542 clone_per_buffer_values if CLONE is not nil. | |
3543 | |
28621 | 3544 * xfaces.c (Ftty_suppress_bold_inverse_default_colors): Doc fix. |
3545 | |
28610 | 3546 2000-04-16 Dave Love <fx@gnu.org> |
3547 | |
3548 * Makefile.in: Remove obsolete localcpp stuff. | |
3549 (GETLOADAVG_OBJ): Don't define. | |
3550 (obj): Move LIBOBJS... | |
3551 (otherobj): ... to here. | |
3552 (MSDOS_OBJ): Convert to make variable -- preprocessing zapped | |
3553 whitespace-only lines after the continuation (Irix). | |
3554 | |
28598 | 3555 2000-04-14 Gerd Moellmann <gerd@gnu.org> |
3556 | |
3557 * xfns.c (xpm_load) [DEBUG_X_COLORS]: Register colors. | |
3558 | |
3559 * s/freebsd.h (LD_SWITCH_SYSTEM): Add `-L /usr/local/lib'. | |
3560 | |
28595 | 3561 2000-04-14 Dave Love <fx@gnu.org> |
3562 | |
3563 * s/aix3-1.h, s/bsd4-2.h, s/bsd4-3.h, s/cxux.h, s/dgux.h, s/gnu.h: | |
3564 * s/hpux.h, s/iris3-5.h, s/iris3-6.h, s/irix3-3.h, s/rtu.h: | |
3565 * s/unipl5-0.h, s/unipl5-2.h, s/usg5-0.h, s/usg5-2-2.h, s/usg5-2.h: | |
3566 * s/usg5-3.h, s/xenix.h, s/umax.h: Don't define autoconfiscated | |
3567 NLIST_STRUCT. | |
3568 | |
3569 * s/bsd386.h, s/freebsd.h, s/gnu.h, s/netbsd.h: Don't define | |
3570 autoconfiscated HAVE_GETLOADAVG. | |
3571 | |
3572 * s/nextstep.h, s/sco4.h, s/sco5.h: Don't define autoconfiscated | |
3573 BROKEN_MKTIME. | |
3574 | |
28591 | 3575 2000-04-14 Gerd Moellmann <gerd@gnu.org> |
3576 | |
3577 * filelock.c (MAKE_LOCK_NAME): Allocate 2 more bytes. | |
3578 (fill_in_lock_file_name): Avoid existing files that aren't | |
3579 links. | |
3580 | |
28588 | 3581 2000-04-14 Dave Love <fx@gnu.org> |
3582 | |
28598 | 3583 * Makefile.in (LIBS, LIBOBJS): New variable. |
28588 | 3584 (INTERVAL_SRC): Convert to make variable. |
3585 (INTERVAL_OBJ, MKTIME_OBJ, FLOAT_SUPPORT, FACE_SUPPORT) | |
3586 (HAVE_X_WINDOWS, OBJECTS_SYSTEM): Remove. | |
3587 (obj): Substitute INTERVAL_OBJ, add MKTIME_OBJ, GETLOADAVG_OBJ and | |
3588 add LIBOBJS. | |
3589 (SOME_MACHINE_OBJECTS): Remove interval stuff. | |
3590 (lisp): Substitute FACE_SUPPORT, FLOAT_SUP. | |
3591 (shortlisp): Add facemenu, float-sup, frame. | |
3592 (SOME_MACHINE_LISP): Remove them from here. | |
3593 (LIBES): Change unused LDLIBS to autoconf LIBS. | |
3594 | |
3595 * config.in: Add BROKEN_MKTIME, NLIST_STRUCT, NLIST_NAME_UNION. | |
3596 | |
28579 | 3597 2000-04-14 Kenichi Handa <handa@etl.go.jp> |
3598 | |
28580 | 3599 * composite.c (update_compositions): If FROM and TO are not in a |
28579 | 3600 valid range, do nothing. |
3601 | |
28577 | 3602 2000-04-13 Gerd Moellmann <gerd@gnu.org> |
3603 | |
3604 * tparam.c (tparam1): Abort when encountering an unknown | |
3605 `%'-specifier. | |
3606 | |
3607 * s/freebsd.h (TERMCAP_OBJ) [__FreeBSD__ >= 4]: Define as | |
3608 terminfo.o. | |
3609 | |
3610 * Makefile.in (termcapobj) [LIBS_TERMCAP && TERMCAP_OBJ]: Define | |
3611 as TERMCAP_OBJ. | |
3612 | |
28562 | 3613 2000-04-13 Eli Zaretskii <eliz@is.elta.co.il> |
3614 | |
3615 * fileio.c (a_write): Remove redundant semi-colons. | |
3616 (e_write): Return -1 if failed to write all the data. | |
3617 This fixes the changes made at 1999-12-15. | |
3618 | |
28555
976bc44944da
(mapcar1): Test for null vals to support mapc.
Dave Love <fx@gnu.org>
parents:
28554
diff
changeset
|
3619 2000-04-12 Dave Love <fx@gnu.org> |
976bc44944da
(mapcar1): Test for null vals to support mapc.
Dave Love <fx@gnu.org>
parents:
28554
diff
changeset
|
3620 |
976bc44944da
(mapcar1): Test for null vals to support mapc.
Dave Love <fx@gnu.org>
parents:
28554
diff
changeset
|
3621 * fns.c (mapcar1): Test for null vals to support mapc. |
976bc44944da
(mapcar1): Test for null vals to support mapc.
Dave Love <fx@gnu.org>
parents:
28554
diff
changeset
|
3622 (Fmapc): New function. |
976bc44944da
(mapcar1): Test for null vals to support mapc.
Dave Love <fx@gnu.org>
parents:
28554
diff
changeset
|
3623 |
28554 | 3624 2000-04-12 Eli Zaretskii <eliz@is.elta.co.il> |
3625 | |
3626 * msdos.c (NUM_MOUSE_BUTTONS): Define. | |
3627 (IT_frame_up_to_date): Support the buffer local value of | |
3628 cursor-type, if defined. | |
3629 | |
28547 | 3630 2000-04-10 Dave Love <fx@gnu.org> |
3631 | |
3632 * editfns.c (preceding-char, following-char): Doc fix. | |
3633 | |
28546
74440e467c99
* Makefile.in (temacs): Revert 2000-03-12 change.
Ken Raeburn <raeburn@raeburn.org>
parents:
28543
diff
changeset
|
3634 2000-04-10 Ken Raeburn <raeburn@gnu.org> |
74440e467c99
* Makefile.in (temacs): Revert 2000-03-12 change.
Ken Raeburn <raeburn@raeburn.org>
parents:
28543
diff
changeset
|
3635 |
74440e467c99
* Makefile.in (temacs): Revert 2000-03-12 change.
Ken Raeburn <raeburn@raeburn.org>
parents:
28543
diff
changeset
|
3636 * Makefile.in (temacs): Revert 2000-03-12 change. |
74440e467c99
* Makefile.in (temacs): Revert 2000-03-12 change.
Ken Raeburn <raeburn@raeburn.org>
parents:
28543
diff
changeset
|
3637 |
28543 | 3638 2000-04-10 Jason Rumney <jasonr@gnu.org> |
3639 | |
3640 * xfaces.c (realize_face): Change FRAME_X_P to FRAME_WINDOW_P. | |
3641 | |
28538 | 3642 2000-04-10 Gerd Moellmann <gerd@gnu.org> |
3643 | |
28542 | 3644 * xdisp.c (setup_echo_area_for_printing): Choose an echo |
3645 area buffer, if it's not set up yet. | |
3646 | |
28538 | 3647 * indent.c (compute_motion): Set immediate_quit. |
3648 | |
28523 | 3649 2000-04-09 Gerd Moellmann <gerd@gnu.org> |
3650 | |
28530 | 3651 * xfaces.c (tty_suppress_bold_inverse_default_colors_p): New |
3652 variable. | |
3653 (realize_tty_face): Suppress boldness if colors are the inverse of | |
3654 the default colors, and tty_suppress_bold_inverse_default_colors_p | |
3655 is set. | |
3656 (Ftty_suppress_bold_inverse_default_colors): New function. | |
3657 (syms_of_xfaces): Defsubr it. | |
3658 | |
28523 | 3659 * buffer.c (Frestore_buffer_modified_p): New function. |
3660 (syms_of_buffer): Defsubr it. | |
3661 | |
28514
8696fafd68ae
fixing more int/lisp confusion, in coding.* and fontset.c
Ken Raeburn <raeburn@raeburn.org>
parents:
28509
diff
changeset
|
3662 2000-04-08 Ken Raeburn <raeburn@gnu.org> |
8696fafd68ae
fixing more int/lisp confusion, in coding.* and fontset.c
Ken Raeburn <raeburn@raeburn.org>
parents:
28509
diff
changeset
|
3663 |
28515
75bd73426842
* charset.c (Fmake_char_internal): CHAR_COMPONENTS_VALID_P takes a
Ken Raeburn <raeburn@raeburn.org>
parents:
28514
diff
changeset
|
3664 * charset.c (Fmake_char_internal): CHAR_COMPONENTS_VALID_P takes a |
75bd73426842
* charset.c (Fmake_char_internal): CHAR_COMPONENTS_VALID_P takes a
Ken Raeburn <raeburn@raeburn.org>
parents:
28514
diff
changeset
|
3665 charset id (int) argument, not a charset (Lisp_Object). |
75bd73426842
* charset.c (Fmake_char_internal): CHAR_COMPONENTS_VALID_P takes a
Ken Raeburn <raeburn@raeburn.org>
parents:
28514
diff
changeset
|
3666 |
28514
8696fafd68ae
fixing more int/lisp confusion, in coding.* and fontset.c
Ken Raeburn <raeburn@raeburn.org>
parents:
28509
diff
changeset
|
3667 * coding.h (code_convert_string): Declare. |
8696fafd68ae
fixing more int/lisp confusion, in coding.* and fontset.c
Ken Raeburn <raeburn@raeburn.org>
parents:
28509
diff
changeset
|
3668 * coding.c (code_convert_string_norecord): Pass an int, not a lisp |
8696fafd68ae
fixing more int/lisp confusion, in coding.* and fontset.c
Ken Raeburn <raeburn@raeburn.org>
parents:
28509
diff
changeset
|
3669 object, as the fourth argument to code_convert_string. |
8696fafd68ae
fixing more int/lisp confusion, in coding.* and fontset.c
Ken Raeburn <raeburn@raeburn.org>
parents:
28509
diff
changeset
|
3670 |
8696fafd68ae
fixing more int/lisp confusion, in coding.* and fontset.c
Ken Raeburn <raeburn@raeburn.org>
parents:
28509
diff
changeset
|
3671 * fontset.c (make_fontset_for_ascii_face): Use XINT on return |
8696fafd68ae
fixing more int/lisp confusion, in coding.* and fontset.c
Ken Raeburn <raeburn@raeburn.org>
parents:
28509
diff
changeset
|
3672 value. |
8696fafd68ae
fixing more int/lisp confusion, in coding.* and fontset.c
Ken Raeburn <raeburn@raeburn.org>
parents:
28509
diff
changeset
|
3673 (Fset_fontset_font): Use EQ to compare lisp objects. |
8696fafd68ae
fixing more int/lisp confusion, in coding.* and fontset.c
Ken Raeburn <raeburn@raeburn.org>
parents:
28509
diff
changeset
|
3674 |
28507
b6f06a755c7d
make_number/XINT/XUINT conversions; EQ/== fixes; ==Qnil -> NILP
Ken Raeburn <raeburn@raeburn.org>
parents:
28506
diff
changeset
|
3675 2000-04-05 Ken Raeburn <raeburn@gnu.org> |
b6f06a755c7d
make_number/XINT/XUINT conversions; EQ/== fixes; ==Qnil -> NILP
Ken Raeburn <raeburn@raeburn.org>
parents:
28506
diff
changeset
|
3676 |
28509
022a7fd54bfe
* intervals.h (SET_INTERVAL_PARENT): Use INT_LISPLIKE to test for a pointer
Ken Raeburn <raeburn@raeburn.org>
parents:
28508
diff
changeset
|
3677 * intervals.h (SET_INTERVAL_PARENT): Use INT_LISPLIKE to test for |
022a7fd54bfe
* intervals.h (SET_INTERVAL_PARENT): Use INT_LISPLIKE to test for a pointer
Ken Raeburn <raeburn@raeburn.org>
parents:
28508
diff
changeset
|
3678 a pointer that looks like a lisp object. |
022a7fd54bfe
* intervals.h (SET_INTERVAL_PARENT): Use INT_LISPLIKE to test for a pointer
Ken Raeburn <raeburn@raeburn.org>
parents:
28508
diff
changeset
|
3679 (SET_INTERVAL_OBJECT): Don't explicitly compare the object with |
022a7fd54bfe
* intervals.h (SET_INTERVAL_PARENT): Use INT_LISPLIKE to test for a pointer
Ken Raeburn <raeburn@raeburn.org>
parents:
28508
diff
changeset
|
3680 zero, instead see whether it's an integer object, since they can't |
022a7fd54bfe
* intervals.h (SET_INTERVAL_PARENT): Use INT_LISPLIKE to test for a pointer
Ken Raeburn <raeburn@raeburn.org>
parents:
28508
diff
changeset
|
3681 have intervals. |
022a7fd54bfe
* intervals.h (SET_INTERVAL_PARENT): Use INT_LISPLIKE to test for a pointer
Ken Raeburn <raeburn@raeburn.org>
parents:
28508
diff
changeset
|
3682 (GET_INTERVAL_OBJECT): Simply assign to the destination. |
022a7fd54bfe
* intervals.h (SET_INTERVAL_PARENT): Use INT_LISPLIKE to test for a pointer
Ken Raeburn <raeburn@raeburn.org>
parents:
28508
diff
changeset
|
3683 |
28507
b6f06a755c7d
make_number/XINT/XUINT conversions; EQ/== fixes; ==Qnil -> NILP
Ken Raeburn <raeburn@raeburn.org>
parents:
28506
diff
changeset
|
3684 * dispnew.c (allocate_matrices_for_frame_redisplay, |
b6f06a755c7d
make_number/XINT/XUINT conversions; EQ/== fixes; ==Qnil -> NILP
Ken Raeburn <raeburn@raeburn.org>
parents:
28506
diff
changeset
|
3685 direct_output_forward_char): Use X(U)INT and make_number as needed |
b6f06a755c7d
make_number/XINT/XUINT conversions; EQ/== fixes; ==Qnil -> NILP
Ken Raeburn <raeburn@raeburn.org>
parents:
28506
diff
changeset
|
3686 to convert between (unsigned) int values and lisp integers. |
b6f06a755c7d
make_number/XINT/XUINT conversions; EQ/== fixes; ==Qnil -> NILP
Ken Raeburn <raeburn@raeburn.org>
parents:
28506
diff
changeset
|
3687 * keyboard.c (read_key_sequence): Likewise. |
b6f06a755c7d
make_number/XINT/XUINT conversions; EQ/== fixes; ==Qnil -> NILP
Ken Raeburn <raeburn@raeburn.org>
parents:
28506
diff
changeset
|
3688 * lread.c (substitute_object_recurse): Likewise. |
b6f06a755c7d
make_number/XINT/XUINT conversions; EQ/== fixes; ==Qnil -> NILP
Ken Raeburn <raeburn@raeburn.org>
parents:
28506
diff
changeset
|
3689 * fns.c (concat, hash_lookup, hash_remove): Likewise. |
b6f06a755c7d
make_number/XINT/XUINT conversions; EQ/== fixes; ==Qnil -> NILP
Ken Raeburn <raeburn@raeburn.org>
parents:
28506
diff
changeset
|
3690 * minibuf.c (do_completion, Fminibuffer_complete_word, |
b6f06a755c7d
make_number/XINT/XUINT conversions; EQ/== fixes; ==Qnil -> NILP
Ken Raeburn <raeburn@raeburn.org>
parents:
28506
diff
changeset
|
3691 Fminibuffer_completion_help): Likewise. |
b6f06a755c7d
make_number/XINT/XUINT conversions; EQ/== fixes; ==Qnil -> NILP
Ken Raeburn <raeburn@raeburn.org>
parents:
28506
diff
changeset
|
3692 * term.c (produce_special_glyphs): Likewise. |
b6f06a755c7d
make_number/XINT/XUINT conversions; EQ/== fixes; ==Qnil -> NILP
Ken Raeburn <raeburn@raeburn.org>
parents:
28506
diff
changeset
|
3693 |
b6f06a755c7d
make_number/XINT/XUINT conversions; EQ/== fixes; ==Qnil -> NILP
Ken Raeburn <raeburn@raeburn.org>
parents:
28506
diff
changeset
|
3694 * fileio.c (Fwrite_region): Use EQ when comparing lisp objects. |
b6f06a755c7d
make_number/XINT/XUINT conversions; EQ/== fixes; ==Qnil -> NILP
Ken Raeburn <raeburn@raeburn.org>
parents:
28506
diff
changeset
|
3695 * print.c (print_preprocess, print_object): Likewise. |
b6f06a755c7d
make_number/XINT/XUINT conversions; EQ/== fixes; ==Qnil -> NILP
Ken Raeburn <raeburn@raeburn.org>
parents:
28506
diff
changeset
|
3696 |
b6f06a755c7d
make_number/XINT/XUINT conversions; EQ/== fixes; ==Qnil -> NILP
Ken Raeburn <raeburn@raeburn.org>
parents:
28506
diff
changeset
|
3697 * search.c (compile_pattern): Use NILP when checking for nil. |
b6f06a755c7d
make_number/XINT/XUINT conversions; EQ/== fixes; ==Qnil -> NILP
Ken Raeburn <raeburn@raeburn.org>
parents:
28506
diff
changeset
|
3698 |
28508
a68042252425
* lisp.h (make_number) [!NO_UNION_TYPE && __GNUC__ >= 2 && __OPTIMIZE__]:
Ken Raeburn <raeburn@raeburn.org>
parents:
28507
diff
changeset
|
3699 * lisp.h (make_number) [!NO_UNION_TYPE && __GNUC__ >= 2 && |
a68042252425
* lisp.h (make_number) [!NO_UNION_TYPE && __GNUC__ >= 2 && __OPTIMIZE__]:
Ken Raeburn <raeburn@raeburn.org>
parents:
28507
diff
changeset
|
3700 __OPTIMIZE__]: Provide a GNU C macro version that handles |
a68042252425
* lisp.h (make_number) [!NO_UNION_TYPE && __GNUC__ >= 2 && __OPTIMIZE__]:
Ken Raeburn <raeburn@raeburn.org>
parents:
28507
diff
changeset
|
3701 lisp-object unions. |
a68042252425
* lisp.h (make_number) [!NO_UNION_TYPE && __GNUC__ >= 2 && __OPTIMIZE__]:
Ken Raeburn <raeburn@raeburn.org>
parents:
28507
diff
changeset
|
3702 (XSET) [!NO_UNION_TYPE]: Set the value field first, then the type |
a68042252425
* lisp.h (make_number) [!NO_UNION_TYPE && __GNUC__ >= 2 && __OPTIMIZE__]:
Ken Raeburn <raeburn@raeburn.org>
parents:
28507
diff
changeset
|
3703 field, to better cope with ENABLE_CHECKING and calls that modify a |
a68042252425
* lisp.h (make_number) [!NO_UNION_TYPE && __GNUC__ >= 2 && __OPTIMIZE__]:
Ken Raeburn <raeburn@raeburn.org>
parents:
28507
diff
changeset
|
3704 Lisp_Object using its old value. |
a68042252425
* lisp.h (make_number) [!NO_UNION_TYPE && __GNUC__ >= 2 && __OPTIMIZE__]:
Ken Raeburn <raeburn@raeburn.org>
parents:
28507
diff
changeset
|
3705 |
28499 | 3706 2000-04-04 Gerd Moellmann <gerd@gnu.org> |
3707 | |
28506 | 3708 * window.c (compare_window_configurations): Signal an error |
3709 if parameters C1 or C2 aren't window configurations. | |
3710 | |
28499 | 3711 * bytecode.c (Fbyte_code): Add a bunch of BEFORE_POTENTIAL_GC/ |
3712 AFTER_POTENTIAL_GC calls around calls to functions that can | |
3713 signal an error and thus invoke the debugger. | |
3714 | |
28483 | 3715 2000-04-03 Gerd Moellmann <gerd@gnu.org> |
3716 | |
28496 | 3717 * fns.c (Fbase64_decode_region, Fbase64_decode_string): Signal |
3718 an error if decoding fails. | |
3719 | |
28483 | 3720 * keyboard.c (lispy_mouse_names): Variable removed. |
3721 (Vlispy_mouse_stem): New variable. | |
3722 (syms_of_keyboard): Initialize Vlispy_mouse_stem. | |
3723 (make_lispy_event) <mouse_click, scroll_bar_click>: Don't abort | |
3724 for any mouse button number. Increase size of mouse_syms and | |
3725 button_down_location as needed. Call modify_event_symbol with | |
3726 different arguments. | |
3727 (make_lispy_event) <scroll_bar_click> [USE_TOOLKIT_SCROLL_BARS]: | |
3728 Call modify_event_symbol with different arguments. | |
3729 (make_lispy_event) <w32_scroll_bar_click> [WINDOWSNT]: Don't abort | |
3730 for any button number. Call modify_event_symbol with different | |
3731 arguments. | |
3732 (modify_event_symbol): Rename NAME_ALIST to NAME_ALIST_OR_STEM. | |
3733 Accept a string for NAME_ALIST_OR_STEM. | |
3734 | |
3735 * lisp.h (larger_vector): Add prototype. | |
3736 | |
3737 * fns.c (larger_vector): Make externally visible. | |
3738 | |
3739 * termhooks.h (NUM_MOUSE_BUTTONS): Removed. | |
3740 | |
28473
975fe3d8922e
* regex.c (PTR_TO_OFFSET) [!emacs]: Remove.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28472
diff
changeset
|
3741 2000-04-02 Stefan Monnier <monnier@cs.yale.edu> |
975fe3d8922e
* regex.c (PTR_TO_OFFSET) [!emacs]: Remove.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28472
diff
changeset
|
3742 |
975fe3d8922e
* regex.c (PTR_TO_OFFSET) [!emacs]: Remove.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28472
diff
changeset
|
3743 * regex.c (PTR_TO_OFFSET) [!emacs]: Remove. |
975fe3d8922e
* regex.c (PTR_TO_OFFSET) [!emacs]: Remove.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28472
diff
changeset
|
3744 (RE_MULTIBYTE_P, RE_STRING_CHAR_AND_LENGTH): New macros. |
975fe3d8922e
* regex.c (PTR_TO_OFFSET) [!emacs]: Remove.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28472
diff
changeset
|
3745 (GET_CHAR_BEFORE_2): Moved from charset.h plus fixed minor bug when |
975fe3d8922e
* regex.c (PTR_TO_OFFSET) [!emacs]: Remove.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28472
diff
changeset
|
3746 we are between str1 and str2. |
975fe3d8922e
* regex.c (PTR_TO_OFFSET) [!emacs]: Remove.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28472
diff
changeset
|
3747 (MAX_MULTIBYTE_LENGTH, CHAR_STRING) [!emacs]: Provide trivial default. |
975fe3d8922e
* regex.c (PTR_TO_OFFSET) [!emacs]: Remove.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28472
diff
changeset
|
3748 (PATFETCH): Use `TRANSLATE'. |
975fe3d8922e
* regex.c (PTR_TO_OFFSET) [!emacs]: Remove.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28472
diff
changeset
|
3749 (PATFETCH_RAW): Fetch multibyte char if applicable. |
975fe3d8922e
* regex.c (PTR_TO_OFFSET) [!emacs]: Remove.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28472
diff
changeset
|
3750 (PATUNFETCH): Remove. |
975fe3d8922e
* regex.c (PTR_TO_OFFSET) [!emacs]: Remove.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28472
diff
changeset
|
3751 (regex_compile): Rely on PATFETCH to do most of the multibyte magic. |
975fe3d8922e
* regex.c (PTR_TO_OFFSET) [!emacs]: Remove.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28472
diff
changeset
|
3752 When writing a char, write it directly into the pattern buffer rather |
975fe3d8922e
* regex.c (PTR_TO_OFFSET) [!emacs]: Remove.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28472
diff
changeset
|
3753 than going needlessly through a temp char-array. |
975fe3d8922e
* regex.c (PTR_TO_OFFSET) [!emacs]: Remove.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28472
diff
changeset
|
3754 (re_match_2_internal): Similarly, rely on RE_STRING_CHAR to do the |
975fe3d8922e
* regex.c (PTR_TO_OFFSET) [!emacs]: Remove.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28472
diff
changeset
|
3755 multibyte magic and remove the useless `#ifdef emacs'. |
975fe3d8922e
* regex.c (PTR_TO_OFFSET) [!emacs]: Remove.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28472
diff
changeset
|
3756 (bcmp_translate): Don't compare as multibyte chars when in a unibyte |
975fe3d8922e
* regex.c (PTR_TO_OFFSET) [!emacs]: Remove.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28472
diff
changeset
|
3757 buffer. |
975fe3d8922e
* regex.c (PTR_TO_OFFSET) [!emacs]: Remove.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28472
diff
changeset
|
3758 |
975fe3d8922e
* regex.c (PTR_TO_OFFSET) [!emacs]: Remove.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28472
diff
changeset
|
3759 * regex.h (struct re_pattern_buffer): Make field `multibyte' |
975fe3d8922e
* regex.c (PTR_TO_OFFSET) [!emacs]: Remove.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28472
diff
changeset
|
3760 conditional on `emacs'. |
975fe3d8922e
* regex.c (PTR_TO_OFFSET) [!emacs]: Remove.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28472
diff
changeset
|
3761 |
975fe3d8922e
* regex.c (PTR_TO_OFFSET) [!emacs]: Remove.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28472
diff
changeset
|
3762 * charset.h (GET_CHAR_BEFORE_2): Moved to regex.c. |
975fe3d8922e
* regex.c (PTR_TO_OFFSET) [!emacs]: Remove.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28472
diff
changeset
|
3763 |
28469
f66f2b4d5eb7
* alloc.c (MARK_STRING, UNMARK_STRING, STRING_MARKED_P): Expand non-union-type
Ken Raeburn <raeburn@raeburn.org>
parents:
28466
diff
changeset
|
3764 2000-04-01 Ken Raeburn <raeburn@gnu.org> |
f66f2b4d5eb7
* alloc.c (MARK_STRING, UNMARK_STRING, STRING_MARKED_P): Expand non-union-type
Ken Raeburn <raeburn@raeburn.org>
parents:
28466
diff
changeset
|
3765 |
f66f2b4d5eb7
* alloc.c (MARK_STRING, UNMARK_STRING, STRING_MARKED_P): Expand non-union-type
Ken Raeburn <raeburn@raeburn.org>
parents:
28466
diff
changeset
|
3766 * alloc.c (MARK_STRING, UNMARK_STRING, STRING_MARKED_P): Expand |
f66f2b4d5eb7
* alloc.c (MARK_STRING, UNMARK_STRING, STRING_MARKED_P): Expand non-union-type
Ken Raeburn <raeburn@raeburn.org>
parents:
28466
diff
changeset
|
3767 non-union-type versions of XMARK and friends here, because XMARK |
f66f2b4d5eb7
* alloc.c (MARK_STRING, UNMARK_STRING, STRING_MARKED_P): Expand non-union-type
Ken Raeburn <raeburn@raeburn.org>
parents:
28466
diff
changeset
|
3768 and friends won't work on an integer field if NO_UNION_TYPE is not |
f66f2b4d5eb7
* alloc.c (MARK_STRING, UNMARK_STRING, STRING_MARKED_P): Expand non-union-type
Ken Raeburn <raeburn@raeburn.org>
parents:
28466
diff
changeset
|
3769 defined. |
f66f2b4d5eb7
* alloc.c (MARK_STRING, UNMARK_STRING, STRING_MARKED_P): Expand non-union-type
Ken Raeburn <raeburn@raeburn.org>
parents:
28466
diff
changeset
|
3770 (make_number): Define as a function if it's not defined as a |
f66f2b4d5eb7
* alloc.c (MARK_STRING, UNMARK_STRING, STRING_MARKED_P): Expand non-union-type
Ken Raeburn <raeburn@raeburn.org>
parents:
28466
diff
changeset
|
3771 macro. |
f66f2b4d5eb7
* alloc.c (MARK_STRING, UNMARK_STRING, STRING_MARKED_P): Expand non-union-type
Ken Raeburn <raeburn@raeburn.org>
parents:
28466
diff
changeset
|
3772 |
28472
bae9218986ac
* composite.c (run_composite_function): Use NILP when checking for nil.
Ken Raeburn <raeburn@raeburn.org>
parents:
28471
diff
changeset
|
3773 * composite.c (run_composite_function): Use NILP when checking for |
bae9218986ac
* composite.c (run_composite_function): Use NILP when checking for nil.
Ken Raeburn <raeburn@raeburn.org>
parents:
28471
diff
changeset
|
3774 nil. |
bae9218986ac
* composite.c (run_composite_function): Use NILP when checking for nil.
Ken Raeburn <raeburn@raeburn.org>
parents:
28471
diff
changeset
|
3775 (syms_of_composite): Delete local var NARGS, pass an int as first |
bae9218986ac
* composite.c (run_composite_function): Use NILP when checking for nil.
Ken Raeburn <raeburn@raeburn.org>
parents:
28471
diff
changeset
|
3776 argument to Fmake_hash_table. |
bae9218986ac
* composite.c (run_composite_function): Use NILP when checking for nil.
Ken Raeburn <raeburn@raeburn.org>
parents:
28471
diff
changeset
|
3777 |
28471
f3d784d3eb5d
fix error in last log message
Ken Raeburn <raeburn@raeburn.org>
parents:
28470
diff
changeset
|
3778 * editfns.c (text_property_stickiness): Use NILP to test |
f3d784d3eb5d
fix error in last log message
Ken Raeburn <raeburn@raeburn.org>
parents:
28470
diff
changeset
|
3779 Lisp_Object boolean value. |
f3d784d3eb5d
fix error in last log message
Ken Raeburn <raeburn@raeburn.org>
parents:
28470
diff
changeset
|
3780 (Fmessage_or_box): Don't use NILP to test int variable. |
28470
93996c44b23a
* editfns.c (text_property_stickiness, Fmessage_or_box): Use NILP to test
Ken Raeburn <raeburn@raeburn.org>
parents:
28469
diff
changeset
|
3781 (Fformat): Use a temporary variable to avoid ENABLE_CHECKING |
93996c44b23a
* editfns.c (text_property_stickiness, Fmessage_or_box): Use NILP to test
Ken Raeburn <raeburn@raeburn.org>
parents:
28469
diff
changeset
|
3782 problems reading from and changing the same lisp value in an |
93996c44b23a
* editfns.c (text_property_stickiness, Fmessage_or_box): Use NILP to test
Ken Raeburn <raeburn@raeburn.org>
parents:
28469
diff
changeset
|
3783 XSETSTRING call. |
93996c44b23a
* editfns.c (text_property_stickiness, Fmessage_or_box): Use NILP to test
Ken Raeburn <raeburn@raeburn.org>
parents:
28469
diff
changeset
|
3784 |
28466 | 3785 2000-04-01 Gerd Moellmann <gerd@gnu.org> |
3786 | |
3787 * term.c (TN_no_color_video): New variable. | |
3788 (term_init): Intitialize TN_no_color_video. | |
3789 (enum no_color_bit): New enumeration. | |
3790 (MAY_USE_WITH_COLORS_P): New macro. | |
3791 (turn_on_face): Use it to determine if attributes may be used | |
3792 combined with colors. | |
3793 | |
28463
4591d285fb65
* window.c (CURBEG, CURSIZE): Don't overload lisp object lvalues
Ken Raeburn <raeburn@raeburn.org>
parents:
28462
diff
changeset
|
3794 2000-04-01 Ken Raeburn <raeburn@gnu.org> |
4591d285fb65
* window.c (CURBEG, CURSIZE): Don't overload lisp object lvalues
Ken Raeburn <raeburn@raeburn.org>
parents:
28462
diff
changeset
|
3795 |
4591d285fb65
* window.c (CURBEG, CURSIZE): Don't overload lisp object lvalues
Ken Raeburn <raeburn@raeburn.org>
parents:
28462
diff
changeset
|
3796 * window.c (CURBEG, CURSIZE): Don't overload lisp object lvalues |
4591d285fb65
* window.c (CURBEG, CURSIZE): Don't overload lisp object lvalues
Ken Raeburn <raeburn@raeburn.org>
parents:
28462
diff
changeset
|
3797 with int lvalues via casts; instead, just yield lisp object |
4591d285fb65
* window.c (CURBEG, CURSIZE): Don't overload lisp object lvalues
Ken Raeburn <raeburn@raeburn.org>
parents:
28462
diff
changeset
|
3798 lvalues. |
4591d285fb65
* window.c (CURBEG, CURSIZE): Don't overload lisp object lvalues
Ken Raeburn <raeburn@raeburn.org>
parents:
28462
diff
changeset
|
3799 (enlarge_window): Variable sizep now points to Lisp_Object. Use |
4591d285fb65
* window.c (CURBEG, CURSIZE): Don't overload lisp object lvalues
Ken Raeburn <raeburn@raeburn.org>
parents:
28462
diff
changeset
|
3800 proper accessor macros. |
4591d285fb65
* window.c (CURBEG, CURSIZE): Don't overload lisp object lvalues
Ken Raeburn <raeburn@raeburn.org>
parents:
28462
diff
changeset
|
3801 (shrink_window_lowest_first): w->top is Lisp_Object; use XINT. |
4591d285fb65
* window.c (CURBEG, CURSIZE): Don't overload lisp object lvalues
Ken Raeburn <raeburn@raeburn.org>
parents:
28462
diff
changeset
|
3802 (grow_mini_window): Fix typo getting int value of root->height. |
4591d285fb65
* window.c (CURBEG, CURSIZE): Don't overload lisp object lvalues
Ken Raeburn <raeburn@raeburn.org>
parents:
28462
diff
changeset
|
3803 |
28464
cad4cc0508a0
Fix Lisp_Object/int type confusion revealed by making Lisp_Object a union type:
Ken Raeburn <raeburn@raeburn.org>
parents:
28463
diff
changeset
|
3804 * xdisp.c (compute_string_pos): Fix order of arguments to |
cad4cc0508a0
Fix Lisp_Object/int type confusion revealed by making Lisp_Object a union type:
Ken Raeburn <raeburn@raeburn.org>
parents:
28463
diff
changeset
|
3805 string_pos_nchars_ahead. |
cad4cc0508a0
Fix Lisp_Object/int type confusion revealed by making Lisp_Object a union type:
Ken Raeburn <raeburn@raeburn.org>
parents:
28463
diff
changeset
|
3806 (handle_fontified_prop, add_to_log): Pass int, not Lisp_Object, as |
cad4cc0508a0
Fix Lisp_Object/int type confusion revealed by making Lisp_Object a union type:
Ken Raeburn <raeburn@raeburn.org>
parents:
28463
diff
changeset
|
3807 count arg to variable-arg routines like Frun_hook_with_args and |
cad4cc0508a0
Fix Lisp_Object/int type confusion revealed by making Lisp_Object a union type:
Ken Raeburn <raeburn@raeburn.org>
parents:
28463
diff
changeset
|
3808 Fformat. |
28483 | 3809 (back_to_previous_visible_line_start) |
3810 (build_desired_tool_bar_string): Pass Lisp_Object, not int, to | |
28464
cad4cc0508a0
Fix Lisp_Object/int type confusion revealed by making Lisp_Object a union type:
Ken Raeburn <raeburn@raeburn.org>
parents:
28463
diff
changeset
|
3811 fixed-arg routines like Fget_char_property and Fmake_string. |
cad4cc0508a0
Fix Lisp_Object/int type confusion revealed by making Lisp_Object a union type:
Ken Raeburn <raeburn@raeburn.org>
parents:
28463
diff
changeset
|
3812 (reconsider_clip_changes): Use XINT when comparing integer lisp |
cad4cc0508a0
Fix Lisp_Object/int type confusion revealed by making Lisp_Object a union type:
Ken Raeburn <raeburn@raeburn.org>
parents:
28463
diff
changeset
|
3813 objects, or passing them as int arguments. |
28483 | 3814 (mark_window_display_accurate, insert_left_trunc_glyphs) |
3815 (append_space, extend_face_to_end_of_line): Use make_number when | |
28464
cad4cc0508a0
Fix Lisp_Object/int type confusion revealed by making Lisp_Object a union type:
Ken Raeburn <raeburn@raeburn.org>
parents:
28463
diff
changeset
|
3816 storing or passing integer values as lisp objects. |
cad4cc0508a0
Fix Lisp_Object/int type confusion revealed by making Lisp_Object a union type:
Ken Raeburn <raeburn@raeburn.org>
parents:
28463
diff
changeset
|
3817 (set_cursor_from_row, highlight_trailing_whitespace): Use |
cad4cc0508a0
Fix Lisp_Object/int type confusion revealed by making Lisp_Object a union type:
Ken Raeburn <raeburn@raeburn.org>
parents:
28463
diff
changeset
|
3818 INTEGERP, not implicit test against zero, for glyph object. |
cad4cc0508a0
Fix Lisp_Object/int type confusion revealed by making Lisp_Object a union type:
Ken Raeburn <raeburn@raeburn.org>
parents:
28463
diff
changeset
|
3819 (try_window_id): Don't use make_number when we want an int value. |
cad4cc0508a0
Fix Lisp_Object/int type confusion revealed by making Lisp_Object a union type:
Ken Raeburn <raeburn@raeburn.org>
parents:
28463
diff
changeset
|
3820 |
cad4cc0508a0
Fix Lisp_Object/int type confusion revealed by making Lisp_Object a union type:
Ken Raeburn <raeburn@raeburn.org>
parents:
28463
diff
changeset
|
3821 * xfaces.c (xlfd_symbolic_value): Make last argument a |
cad4cc0508a0
Fix Lisp_Object/int type confusion revealed by making Lisp_Object a union type:
Ken Raeburn <raeburn@raeburn.org>
parents:
28463
diff
changeset
|
3822 Lisp_Object, to be consistent with callers. |
cad4cc0508a0
Fix Lisp_Object/int type confusion revealed by making Lisp_Object a union type:
Ken Raeburn <raeburn@raeburn.org>
parents:
28463
diff
changeset
|
3823 (Fbitmap_spec_p): Use XINT to get numeric value of height. |
cad4cc0508a0
Fix Lisp_Object/int type confusion revealed by making Lisp_Object a union type:
Ken Raeburn <raeburn@raeburn.org>
parents:
28463
diff
changeset
|
3824 (lface_hash): Apply XFASTINT to lisp values before folding in. |
cad4cc0508a0
Fix Lisp_Object/int type confusion revealed by making Lisp_Object a union type:
Ken Raeburn <raeburn@raeburn.org>
parents:
28463
diff
changeset
|
3825 |
cad4cc0508a0
Fix Lisp_Object/int type confusion revealed by making Lisp_Object a union type:
Ken Raeburn <raeburn@raeburn.org>
parents:
28463
diff
changeset
|
3826 * xfns.c (Fx_show_tip): Use make_number to get lisp objects to |
cad4cc0508a0
Fix Lisp_Object/int type confusion revealed by making Lisp_Object a union type:
Ken Raeburn <raeburn@raeburn.org>
parents:
28463
diff
changeset
|
3827 fill in window width and height. Pass an int, not a lisp object, |
cad4cc0508a0
Fix Lisp_Object/int type confusion revealed by making Lisp_Object a union type:
Ken Raeburn <raeburn@raeburn.org>
parents:
28463
diff
changeset
|
3828 as first arg to Finsert. |
cad4cc0508a0
Fix Lisp_Object/int type confusion revealed by making Lisp_Object a union type:
Ken Raeburn <raeburn@raeburn.org>
parents:
28463
diff
changeset
|
3829 |
28455 | 3830 2000-04-01 Gerd Moellmann <gerd@gnu.org> |
3831 | |
28462 | 3832 * xfaces.c (realize_basic_faces): Block input while realizing |
3833 the faces. | |
3834 | |
28455 | 3835 * keyboard.c (lispy_mouse_names): Add additional mouse names. |
3836 | |
3837 * termhooks.h (NUM_MOUSE_BUTTONS): Increase to 15. | |
3838 | |
28444 | 3839 2000-03-31 Gerd Moellmann <gerd@gnu.org> |
3840 | |
3841 * xterm.c (x_produce_glyphs): When displaying unibyte text | |
28462 | 3842 or ASCII, handle case that per-char metric is null. |
28444 | 3843 |
28417
4b675266db04
* lisp.h (XCONS, XSTRING, XSYMBOL, XFLOAT, XPROCESS, XWINDOW, XSUBR, XBUFFER):
Ken Raeburn <raeburn@raeburn.org>
parents:
28415
diff
changeset
|
3844 2000-03-30 Ken Raeburn <raeburn@gnu.org> |
4b675266db04
* lisp.h (XCONS, XSTRING, XSYMBOL, XFLOAT, XPROCESS, XWINDOW, XSUBR, XBUFFER):
Ken Raeburn <raeburn@raeburn.org>
parents:
28415
diff
changeset
|
3845 |
28430
f805ef5a2a03
* lisp.h (NO_UNION_TYPE) [ENABLE_CHECKING]: Undef.
Ken Raeburn <raeburn@raeburn.org>
parents:
28417
diff
changeset
|
3846 * lisp.h (NO_UNION_TYPE) [ENABLE_CHECKING]: Undef. |
f805ef5a2a03
* lisp.h (NO_UNION_TYPE) [ENABLE_CHECKING]: Undef.
Ken Raeburn <raeburn@raeburn.org>
parents:
28417
diff
changeset
|
3847 |
28417
4b675266db04
* lisp.h (XCONS, XSTRING, XSYMBOL, XFLOAT, XPROCESS, XWINDOW, XSUBR, XBUFFER):
Ken Raeburn <raeburn@raeburn.org>
parents:
28415
diff
changeset
|
3848 * lisp.h (XCONS, XSTRING, XSYMBOL, XFLOAT, XPROCESS, XWINDOW, |
4b675266db04
* lisp.h (XCONS, XSTRING, XSYMBOL, XFLOAT, XPROCESS, XWINDOW, XSUBR, XBUFFER):
Ken Raeburn <raeburn@raeburn.org>
parents:
28415
diff
changeset
|
3849 XSUBR, XBUFFER): Verify correct object type before returning |
4b675266db04
* lisp.h (XCONS, XSTRING, XSYMBOL, XFLOAT, XPROCESS, XWINDOW, XSUBR, XBUFFER):
Ken Raeburn <raeburn@raeburn.org>
parents:
28415
diff
changeset
|
3850 pointer, using eassert. |
4b675266db04
* lisp.h (XCONS, XSTRING, XSYMBOL, XFLOAT, XPROCESS, XWINDOW, XSUBR, XBUFFER):
Ken Raeburn <raeburn@raeburn.org>
parents:
28415
diff
changeset
|
3851 * frame.h (XFRAME): Likewise. |
4b675266db04
* lisp.h (XCONS, XSTRING, XSYMBOL, XFLOAT, XPROCESS, XWINDOW, XSUBR, XBUFFER):
Ken Raeburn <raeburn@raeburn.org>
parents:
28415
diff
changeset
|
3852 |
4b675266db04
* lisp.h (XCONS, XSTRING, XSYMBOL, XFLOAT, XPROCESS, XWINDOW, XSUBR, XBUFFER):
Ken Raeburn <raeburn@raeburn.org>
parents:
28415
diff
changeset
|
3853 * buffer.c (Frename_buffer, Fset_buffer_multibyte, |
4b675266db04
* lisp.h (XCONS, XSTRING, XSYMBOL, XFLOAT, XPROCESS, XWINDOW, XSUBR, XBUFFER):
Ken Raeburn <raeburn@raeburn.org>
parents:
28415
diff
changeset
|
3854 swap_out_buffer_local_variables, Fmove_overlay): Don't apply |
4b675266db04
* lisp.h (XCONS, XSTRING, XSYMBOL, XFLOAT, XPROCESS, XWINDOW, XSUBR, XBUFFER):
Ken Raeburn <raeburn@raeburn.org>
parents:
28415
diff
changeset
|
3855 XSYMBOL, XBUFFER, etc, to values that may be nil or of the wrong |
4b675266db04
* lisp.h (XCONS, XSTRING, XSYMBOL, XFLOAT, XPROCESS, XWINDOW, XSUBR, XBUFFER):
Ken Raeburn <raeburn@raeburn.org>
parents:
28415
diff
changeset
|
3856 type. |
4b675266db04
* lisp.h (XCONS, XSTRING, XSYMBOL, XFLOAT, XPROCESS, XWINDOW, XSUBR, XBUFFER):
Ken Raeburn <raeburn@raeburn.org>
parents:
28415
diff
changeset
|
3857 * data.c (set_internal): Likewise. |
4b675266db04
* lisp.h (XCONS, XSTRING, XSYMBOL, XFLOAT, XPROCESS, XWINDOW, XSUBR, XBUFFER):
Ken Raeburn <raeburn@raeburn.org>
parents:
28415
diff
changeset
|
3858 * dispextern.h (WINDOW_WANTS_MODELINE_P, |
4b675266db04
* lisp.h (XCONS, XSTRING, XSYMBOL, XFLOAT, XPROCESS, XWINDOW, XSUBR, XBUFFER):
Ken Raeburn <raeburn@raeburn.org>
parents:
28415
diff
changeset
|
3859 WINDOW_WANTS_HEADER_LINE_P): Likewise. |
4b675266db04
* lisp.h (XCONS, XSTRING, XSYMBOL, XFLOAT, XPROCESS, XWINDOW, XSUBR, XBUFFER):
Ken Raeburn <raeburn@raeburn.org>
parents:
28415
diff
changeset
|
3860 * fileio.c (auto_save_1): Likewise. |
4b675266db04
* lisp.h (XCONS, XSTRING, XSYMBOL, XFLOAT, XPROCESS, XWINDOW, XSUBR, XBUFFER):
Ken Raeburn <raeburn@raeburn.org>
parents:
28415
diff
changeset
|
3861 * insdel.c (check_markers): Likewise. |
4b675266db04
* lisp.h (XCONS, XSTRING, XSYMBOL, XFLOAT, XPROCESS, XWINDOW, XSUBR, XBUFFER):
Ken Raeburn <raeburn@raeburn.org>
parents:
28415
diff
changeset
|
3862 * marker.c (buf_charpos_to_bytepos, unchain_marker): Likewise. |
4b675266db04
* lisp.h (XCONS, XSTRING, XSYMBOL, XFLOAT, XPROCESS, XWINDOW, XSUBR, XBUFFER):
Ken Raeburn <raeburn@raeburn.org>
parents:
28415
diff
changeset
|
3863 * undo.c (record_insert): Likewise. |
4b675266db04
* lisp.h (XCONS, XSTRING, XSYMBOL, XFLOAT, XPROCESS, XWINDOW, XSUBR, XBUFFER):
Ken Raeburn <raeburn@raeburn.org>
parents:
28415
diff
changeset
|
3864 * vmsproc.c (child_sig): Likewise. |
4b675266db04
* lisp.h (XCONS, XSTRING, XSYMBOL, XFLOAT, XPROCESS, XWINDOW, XSUBR, XBUFFER):
Ken Raeburn <raeburn@raeburn.org>
parents:
28415
diff
changeset
|
3865 * window.c (unshow_buffer, window_loop): Likewise. |
4b675266db04
* lisp.h (XCONS, XSTRING, XSYMBOL, XFLOAT, XPROCESS, XWINDOW, XSUBR, XBUFFER):
Ken Raeburn <raeburn@raeburn.org>
parents:
28415
diff
changeset
|
3866 * xterm.c (x_erase_phys_cursor): Likewise. |
4b675266db04
* lisp.h (XCONS, XSTRING, XSYMBOL, XFLOAT, XPROCESS, XWINDOW, XSUBR, XBUFFER):
Ken Raeburn <raeburn@raeburn.org>
parents:
28415
diff
changeset
|
3867 |
28415 | 3868 2000-03-30 Gerd Moellmann <gerd@gnu.org> |
3869 | |
3870 * xfns.c (free_image_cache): Free the cache structure itself | |
3871 last, after all its members have been freed. | |
3872 | |
3873 * lisp.h (xstrdup): Add prototype. | |
3874 | |
3875 * alloc.c (xstrdup): Moved here from xfaces.c. | |
3876 (allocating_for_lisp): Variable removed. | |
3877 (lisp_malloc): Block input around the calls to malloc and | |
3878 mem_insert. | |
3879 | |
3880 * xfaces.c (realize_tty_face): Use find_symbol_value instead | |
3881 of Fsymbol_value. | |
3882 (xstrdup): Moved to alloc.c. | |
3883 | |
28406
451721e784a8
Stop assuming interval pointers and lisp objects can be distinguished by
Ken Raeburn <raeburn@raeburn.org>
parents:
28390
diff
changeset
|
3884 2000-03-29 Ken Raeburn <raeburn@gnu.org> |
451721e784a8
Stop assuming interval pointers and lisp objects can be distinguished by
Ken Raeburn <raeburn@raeburn.org>
parents:
28390
diff
changeset
|
3885 |
28407
f15029804aba
* scroll.c (CHECK_BOUNDS): Renamed from CHECK.
Ken Raeburn <raeburn@raeburn.org>
parents:
28406
diff
changeset
|
3886 * scroll.c (CHECK_BOUNDS): Renamed from CHECK. |
f15029804aba
* scroll.c (CHECK_BOUNDS): Renamed from CHECK.
Ken Raeburn <raeburn@raeburn.org>
parents:
28406
diff
changeset
|
3887 |
f15029804aba
* scroll.c (CHECK_BOUNDS): Renamed from CHECK.
Ken Raeburn <raeburn@raeburn.org>
parents:
28406
diff
changeset
|
3888 * emacs.c (main): Fix sense of no-loadup test. |
f15029804aba
* scroll.c (CHECK_BOUNDS): Renamed from CHECK.
Ken Raeburn <raeburn@raeburn.org>
parents:
28406
diff
changeset
|
3889 |
28406
451721e784a8
Stop assuming interval pointers and lisp objects can be distinguished by
Ken Raeburn <raeburn@raeburn.org>
parents:
28390
diff
changeset
|
3890 * config.in (ENABLE_CHECKING): Undef. |
451721e784a8
Stop assuming interval pointers and lisp objects can be distinguished by
Ken Raeburn <raeburn@raeburn.org>
parents:
28390
diff
changeset
|
3891 |
451721e784a8
Stop assuming interval pointers and lisp objects can be distinguished by
Ken Raeburn <raeburn@raeburn.org>
parents:
28390
diff
changeset
|
3892 * lisp.h (struct interval): Replace "parent" field with a union of |
451721e784a8
Stop assuming interval pointers and lisp objects can be distinguished by
Ken Raeburn <raeburn@raeburn.org>
parents:
28390
diff
changeset
|
3893 interval pointer and Lisp_Object; add new bitfield to use as |
451721e784a8
Stop assuming interval pointers and lisp objects can be distinguished by
Ken Raeburn <raeburn@raeburn.org>
parents:
28390
diff
changeset
|
3894 discriminant. Change other flag fields to bitfields. |
451721e784a8
Stop assuming interval pointers and lisp objects can be distinguished by
Ken Raeburn <raeburn@raeburn.org>
parents:
28390
diff
changeset
|
3895 (CHECK): New macro for consistency checking. If ENABLE_CHECKING |
451721e784a8
Stop assuming interval pointers and lisp objects can be distinguished by
Ken Raeburn <raeburn@raeburn.org>
parents:
28390
diff
changeset
|
3896 is defined and the supplied test fails, print a message and |
451721e784a8
Stop assuming interval pointers and lisp objects can be distinguished by
Ken Raeburn <raeburn@raeburn.org>
parents:
28390
diff
changeset
|
3897 abort. |
451721e784a8
Stop assuming interval pointers and lisp objects can be distinguished by
Ken Raeburn <raeburn@raeburn.org>
parents:
28390
diff
changeset
|
3898 (eassert): New macro. Use CHECK to provide an assert-like |
451721e784a8
Stop assuming interval pointers and lisp objects can be distinguished by
Ken Raeburn <raeburn@raeburn.org>
parents:
28390
diff
changeset
|
3899 facility. |
451721e784a8
Stop assuming interval pointers and lisp objects can be distinguished by
Ken Raeburn <raeburn@raeburn.org>
parents:
28390
diff
changeset
|
3900 |
451721e784a8
Stop assuming interval pointers and lisp objects can be distinguished by
Ken Raeburn <raeburn@raeburn.org>
parents:
28390
diff
changeset
|
3901 * intervals.h (NULL_INTERVAL_P): Now applies only to real interval |
451721e784a8
Stop assuming interval pointers and lisp objects can be distinguished by
Ken Raeburn <raeburn@raeburn.org>
parents:
28390
diff
changeset
|
3902 pointers; abort if the value looks like a lisp object. |
451721e784a8
Stop assuming interval pointers and lisp objects can be distinguished by
Ken Raeburn <raeburn@raeburn.org>
parents:
28390
diff
changeset
|
3903 (NULL_INTERVAL_P, NULL_PARENT, HAS_PARENT, HAS_OBJECT, SET_PARENT, |
451721e784a8
Stop assuming interval pointers and lisp objects can be distinguished by
Ken Raeburn <raeburn@raeburn.org>
parents:
28390
diff
changeset
|
3904 SET_OBJECT, INTERVAL_PARENT, GET_INTERVAL_OBJECT, COPY_PARENT): |
451721e784a8
Stop assuming interval pointers and lisp objects can be distinguished by
Ken Raeburn <raeburn@raeburn.org>
parents:
28390
diff
changeset
|
3905 Modify for new interval parent definition. |
451721e784a8
Stop assuming interval pointers and lisp objects can be distinguished by
Ken Raeburn <raeburn@raeburn.org>
parents:
28390
diff
changeset
|
3906 |
451721e784a8
Stop assuming interval pointers and lisp objects can be distinguished by
Ken Raeburn <raeburn@raeburn.org>
parents:
28390
diff
changeset
|
3907 * alloc.c (mark_interval_tree, MARK_INTERVAL_TREE, |
451721e784a8
Stop assuming interval pointers and lisp objects can be distinguished by
Ken Raeburn <raeburn@raeburn.org>
parents:
28390
diff
changeset
|
3908 UNMARK_BALANCE_INTERVALS): Update references that need an |
451721e784a8
Stop assuming interval pointers and lisp objects can be distinguished by
Ken Raeburn <raeburn@raeburn.org>
parents:
28390
diff
changeset
|
3909 addressable lisp object in the interval structure. |
451721e784a8
Stop assuming interval pointers and lisp objects can be distinguished by
Ken Raeburn <raeburn@raeburn.org>
parents:
28390
diff
changeset
|
3910 (die): New function. |
451721e784a8
Stop assuming interval pointers and lisp objects can be distinguished by
Ken Raeburn <raeburn@raeburn.org>
parents:
28390
diff
changeset
|
3911 (suppress_checking): New variable. |
451721e784a8
Stop assuming interval pointers and lisp objects can be distinguished by
Ken Raeburn <raeburn@raeburn.org>
parents:
28390
diff
changeset
|
3912 |
451721e784a8
Stop assuming interval pointers and lisp objects can be distinguished by
Ken Raeburn <raeburn@raeburn.org>
parents:
28390
diff
changeset
|
3913 * intervals.c (interval_start_pos): Just return 0 if there's no |
451721e784a8
Stop assuming interval pointers and lisp objects can be distinguished by
Ken Raeburn <raeburn@raeburn.org>
parents:
28390
diff
changeset
|
3914 parent object. |
451721e784a8
Stop assuming interval pointers and lisp objects can be distinguished by
Ken Raeburn <raeburn@raeburn.org>
parents:
28390
diff
changeset
|
3915 |
28390 | 3916 2000-03-29 Gerd Moellmann <gerd@gnu.org> |
3917 | |
3918 * lread.c (read1): Accept `.' (period) as symbol start like in CL | |
3919 and earlier Emacs versions. | |
3920 | |
3921 * keyboard.c (Ftop_level): Cancel busy-cursor. | |
3922 | |
3923 * eval.c (call_debugger): Cancel busy-cursor. | |
3924 | |
28385 | 3925 2000-03-29 Kenichi Handa <handa@etl.go.jp> |
3926 | |
3927 * search.c (Freplace_match): Adjust multibyteness of the current | |
28386 | 3928 buffer and NEWTEXT. Free allocated memory before signaling an |
3929 error. | |
28385 | 3930 |
28381
0a4fcbb850de
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28379
diff
changeset
|
3931 2000-03-28 Stefan Monnier <monnier@cs.yale.edu> |
0a4fcbb850de
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28379
diff
changeset
|
3932 |
0a4fcbb850de
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28379
diff
changeset
|
3933 * regex.c (analyse_first): New function obtained by ripping out most |
0a4fcbb850de
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28379
diff
changeset
|
3934 of re_compile_fastmap and generalizing it a little bit so that it |
0a4fcbb850de
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28379
diff
changeset
|
3935 can also just return whether a given (sub)pattern can match the empty |
0a4fcbb850de
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28379
diff
changeset
|
3936 string or not. |
0a4fcbb850de
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28379
diff
changeset
|
3937 (regex_compile): Use `analyse_first' to decide whether the loop-check |
0a4fcbb850de
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28379
diff
changeset
|
3938 needs to be done or not for *, +, *? and +? (the loop check is costly |
0a4fcbb850de
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28379
diff
changeset
|
3939 for non-greedy repetition). |
0a4fcbb850de
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28379
diff
changeset
|
3940 (re_compile_fastmap): Delegate the actual work to `analyse_first'. |
0a4fcbb850de
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28379
diff
changeset
|
3941 |
28375 | 3942 2000-03-28 Dave Love <fx@gnu.org> |
3943 | |
28379 | 3944 * s/gnu-linux.h (GC_SETJMP_WORKS): Define for i386, sparc, m68k, |
3945 alpha. | |
3946 | |
28375 | 3947 * alloc.c: Include stdio.h. Test STDC_HEADERS, not __STDC__. |
3948 | |
28373
4f656f055122
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28371
diff
changeset
|
3949 2000-03-27 Stefan Monnier <monnier@cs.yale.edu> |
4f656f055122
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28371
diff
changeset
|
3950 |
4f656f055122
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28371
diff
changeset
|
3951 * regex.c (REGEX_FREE_STACK, RESET_FAIL_STACK): Make them usable as |
4f656f055122
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28371
diff
changeset
|
3952 an expression. |
4f656f055122
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28371
diff
changeset
|
3953 (enum re_opcode_t): Update description of succeed_n. |
4f656f055122
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28371
diff
changeset
|
3954 (PATFETCH): Always define. |
4f656f055122
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28371
diff
changeset
|
3955 (regex_compile): Use lookahead rather than PATUNFETCH (for repetition |
4f656f055122
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28371
diff
changeset
|
3956 operators, char classes, shy-groups and intervals). |
4f656f055122
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28371
diff
changeset
|
3957 Optimize special cases of intervals so as to only use succeed_n and |
4f656f055122
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28371
diff
changeset
|
3958 jump_n when really needed. |
4f656f055122
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28371
diff
changeset
|
3959 (re_compile_fastmap): Simplify handling of jump_n and succeed_n now |
4f656f055122
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28371
diff
changeset
|
3960 that we don't have to handle the special cases any more. |
4f656f055122
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28371
diff
changeset
|
3961 Simplify on_failure_jump handling as well. |
4f656f055122
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28371
diff
changeset
|
3962 |
28371 | 3963 2000-03-28 Jason Rumney <jasonr@gnu.org> |
3964 | |
3965 * lread.c (Fload): Move safe_p definition to above #ifdef DOS_NT. | |
3966 | |
28348 | 3967 2000-03-27 Gerd Moellmann <gerd@gnu.org> |
3968 | |
28366 | 3969 * s/freebsd.h (GC_SETJMP_WORKS): Define. |
3970 | |
3971 * s/msdos.h (GC_SETJMP_WORKS): Define. | |
29803
3dec4cd5e361
Don't declare xmalloc, xrealloc.
Sam Steingold <sds@gnu.org>
parents:
29802
diff
changeset
|
3972 |
28366 | 3973 * alloc.c (mark_maybe_object): New function. |
3974 (mark_memory): Use it. | |
3975 (SETJMP_WILL_LIKELY_WORK, SETJMP_WILL_NOT_WORK): New macros. | |
3976 (setjmp_tested_p, longjmp_done): New variables. | |
3977 (test_setjmp): New function. | |
3978 (mark_stack) [!GC_SETJMP_WORKS]: Call test_setjmp. | |
3979 (init_alloc): Initialize setjmp_tested_p and longjmp_done. | |
3980 | |
28363 | 3981 * xdisp.c (face_before_or_after_it_pos): Pass multibyteness |
3982 to DEC_TEXT_POS and INC_TEXT_POS. | |
3983 | |
3984 * dispnew.c (direct_output_for_insert): Use DEC_TEXT_POS | |
3985 with parameter MULTIBYTE_P. | |
3986 | |
29803
3dec4cd5e361
Don't declare xmalloc, xrealloc.
Sam Steingold <sds@gnu.org>
parents:
29802
diff
changeset
|
3987 * dispextern.h (INC_TEXT_POS, DEC_TEXT_POS): Add parameter |
28363 | 3988 MULTIBYTE_P. |
3989 | |
28359 | 3990 * editfns.c (Fsubst_char_in_region): Don't use INC_POS in unibyte |
28366 | 3991 buffers because it looks for multibyte character byte sequences |
3992 which don't exist in unibyte text. | |
28359 | 3993 |
28357 | 3994 * xterm.h (x_specified_cursor_type, x_copy_color): Add prototypes. |
3995 | |
28368 | 3996 * xfaces.c (register_color, unregister_color, unregister_colors) |
28357 | 3997 [DEBUG_X_COLORS]: New functions. |
3998 (x_free_colors) [DEBUG_X_COLORS]: Unregister colors. | |
3999 | |
4000 * xfns.c (x_set_cursor_color): Get color reference counts right. | |
4001 | |
4002 * xterm.c (x_copy_color): New function. | |
4003 (x_alloc_nearest_color) [DEBUG_X_COLORS]: Call register_color. | |
4004 | |
4005 * buffer.h (MAX_PER_BUFFER_VARS): Renamed from MAX_BUFFER_LOCAL_VARS. | |
4006 (PER_BUFFER_VAR_OFFSET): Renamed from BUFFER_LOCAL_VAR_OFFSET. | |
4007 (PER_BUFFER_VAR_IDX): Renamed from BUFFER_LOCAL_VAR_IDX. | |
4008 (PER_BUFFER_VALUE_P): Renamed from BUFFER_HAS_LOCAL_VALUE_P. | |
4009 (SET_PER_BUFFER_VALUE_P): Renamed from SET_BUFFER_HAS_LOCAL_VALUE_P. | |
4010 (PER_BUFFER_IDX): Renamed from BUFFER_LOCAL_IDX. | |
4011 (PER_BUFFER_DEFAULT): Renamed from BUFFER_LOCAL_DEFAULT_VALUE. | |
4012 (PER_BUFFER_VALUE): Renamed from BUFFER_LOCAL_VALUE. | |
4013 (PER_BUFFER_SYMBOL): Renamed from BUFFER_LOCAL_SYMBOL. | |
4014 (PER_BUFFER_TYPE): Renamed from BUFFER_LOCAL_TYPE. | |
4015 | |
28368 | 4016 * category.c, data.c, syntax.c, print.c, lread.c: Use new macro |
4017 names for handling per-buffer variables. | |
28357 | 4018 |
4019 * buffer.c (buffer_permanent_local_flags): Use MAX_PER_BUFFER_VARS | |
4020 instead of MAX_BUFFER_LOCAL_VARS. | |
4021 (last_per_buffer_idx): Renamed from max_buffer_local_idx. | |
4022 | |
4023 * xfaces.c (lookup_face): Don't assert FACE_SUITABLE_FOR_CHAR_P. | |
4024 | |
28348 | 4025 * xfns.c (x_specified_cursor_type): New function. |
4026 (x_set_cursor_type): Use it. | |
4027 | |
4028 * buffer.h (struct buffer): Add cursor_type. | |
4029 | |
28346
9ef17fa48577
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28335
diff
changeset
|
4030 2000-03-26 Stefan Monnier <monnier@cs.yale.edu> |
9ef17fa48577
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28335
diff
changeset
|
4031 |
9ef17fa48577
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28335
diff
changeset
|
4032 * regex.c (enum re_opcode_t): New opcode on_failure_jump_nastyloop. |
29803
3dec4cd5e361
Don't declare xmalloc, xrealloc.
Sam Steingold <sds@gnu.org>
parents:
29802
diff
changeset
|
4033 (print_partial_compiled_pattern, re_compile_fastmap): Handle new |
28348 | 4034 opcode. |
28346
9ef17fa48577
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28335
diff
changeset
|
4035 (regex_compile): Use on_failure_jump_nastyloop for non-greedy loops. |
9ef17fa48577
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28335
diff
changeset
|
4036 (re_match_2_internal): Add code for on_failure_jump_nastyloop when |
9ef17fa48577
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28335
diff
changeset
|
4037 executing it as well as when popping it off the stack to find infinite |
9ef17fa48577
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28335
diff
changeset
|
4038 loops in non-greedy repetition operators. |
9ef17fa48577
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28335
diff
changeset
|
4039 |
28320 | 4040 2000-03-26 Gerd Moellmann <gerd@gnu.org> |
4041 | |
28335 | 4042 * doc.c (Qfunction_documentation): New variable. |
4043 (syms_of_doc): Initialize Qfunction_documentation. | |
4044 (Fdocumentation): If FUNCTION is a symbol with non-nil | |
4045 `function-documentation' property, return a documentation derived | |
4046 from that. | |
4047 | |
28333 | 4048 * buffer.c (syms_of_buffer): Add default-cursor-type. |
4049 (init_buffer_once): Don't let cursor_type have a local value | |
4050 in every buffer. | |
4051 | |
28323 | 4052 * xterm.c (x_display_and_set_cursor): Choose cursor depending |
4053 on buffer-local value of cursor_type. | |
4054 (x_draw_bar_cursor): Add parameter WIDTH. | |
4055 | |
4056 * buffer.c (reset_buffer): Initialize buffer's cursor_type. | |
4057 (init_buffer_once): Set default cursor_type value to t. | |
4058 Mark cursor_type as local everywhere. | |
4059 (syms_of_buffer): New per-buffer variable cursor-type. | |
4060 | |
28320 | 4061 * buffer.h (struct buffer): Remove member local_var_flags, |
4062 add local_flags. | |
4063 (MAX_BUFFER_LOCAL_VARS): New macro. | |
4064 (BUFFER_LOCAL_VAR_OFFSET, BUFFER_LOCAL_VAR_IDX) | |
4065 (BUFFER_HAS_LOCAL_VALUE_P, SET_BUFFER_HAS_LOCAL_VALUE_P) | |
4066 (BUFFER_LOCAL_IDX, BUFFER_LOCAL_DEFAULT_VALUE, BUFFER_LOCAL_VALUE) | |
4067 (BUFFER_LOCAL_SYMBOL, BUFFER_LOCAL_TYPE): New macros. | |
4068 | |
4069 * print.c (print_object): Use new macros for per-buffer | |
4070 variables. | |
4071 | |
4072 * category.c (Fset_category_table): Use new macros for per-buffer | |
4073 variables. | |
4074 | |
4075 * buffer.c (buffer_permanent_local_flags): Make a char array. | |
4076 (max_buffer_local_idx): New variable. | |
4077 (reset_buffer_local_variables, Fbuffer_local_variables): Rewritten | |
4078 for new handling of per-buffer variables. | |
4079 (buffer_slot_type_mismatch): Use new macros for per-buffer vars. | |
4080 (init_buffer_once): Initialize per-buffer vars differently. | |
4081 Set max_buffer_local_idx. | |
4082 | |
4083 * syntax.c (Fset_syntax_table): Use new macros for per-buffer | |
4084 variables. | |
4085 | |
4086 * lread.c (defvar_per_buffer): Use new macros for per-buffer | |
4087 variables. | |
4088 | |
4089 * data.c (do_symval_forwarding, store_symval_forwarding) | |
4090 (find_symbol_value, set_internal, default_value, Fset_default) | |
4091 (Fkill_local_variable, Flocal_variable_p): Use new macros for | |
4092 per-buffer variables. | |
4093 | |
4094 * Makefile.in (bootstrap-emacs): Use `mv -f' instead of `mv'. | |
4095 | |
28303 | 4096 2000-03-24 Gerd Moellmann <gerd@gnu.org> |
4097 | |
28308 | 4098 * xterm.c (x_term_init): Unblock input around call1 of |
4099 Qvendor_specific_keysyms. | |
4100 | |
28303 | 4101 * syntax.c (open_paren_in_column_0_is_defun_start): New variable. |
4102 (find_defun_start): Consider an open parenthesis in column 0 | |
4103 a defun start only if open_paren_in_column_0_is_defun_start is set. | |
4104 (syms_of_syntax): New variable open-paren-in-column-0-is-defun-start. | |
4105 | |
28298
4ec88f0050a1
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28294
diff
changeset
|
4106 2000-03-24 Stefan Monnier <monnier@cs.yale.edu> |
4ec88f0050a1
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28294
diff
changeset
|
4107 |
4ec88f0050a1
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28294
diff
changeset
|
4108 * eval.c (Fautoload): Add entry in load-history (if after dump). |
4ec88f0050a1
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28294
diff
changeset
|
4109 * lread.c (load-history): Update docstring. |
4ec88f0050a1
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28294
diff
changeset
|
4110 |
28294 | 4111 2000-03-24 Gerd Moellmann <gerd@gnu.org> |
4112 | |
4113 * indent.c (Fvertical_motion): Always use the current buffer. | |
4114 Temporarily change the window's buffer, if necessary. | |
4115 | |
28283 | 4116 2000-03-23 Gerd Moellmann <gerd@gnu.org> |
4117 | |
4118 * xterm.c (fast_find_position): Make sure not to consider rows | |
4119 not visible in the window. | |
4120 | |
28280
6f0261bc95b8
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28276
diff
changeset
|
4121 2000-03-22 Stefan Monnier <monnier@cs.yale.edu> |
6f0261bc95b8
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28276
diff
changeset
|
4122 |
6f0261bc95b8
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28276
diff
changeset
|
4123 * regex.c (enum syntaxcode): Provide default for non-Emacs. |
6f0261bc95b8
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28276
diff
changeset
|
4124 (re_compile_fastmap, re_match_2_internal): Undo Dave's previous fix. |
6f0261bc95b8
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28276
diff
changeset
|
4125 |
28276 | 4126 2000-03-22 Jason Rumney <jasonr@gnu.org> |
4127 | |
4128 * w32menu.c (single_submenu): Set help string to NULL if none. | |
4129 (w32_menu_show): Set help string correctly. | |
4130 (add-menu-item): Set help string in MIIM_DATA for menu item. | |
4131 Load SetMenuItemInfoA explicitly. | |
4132 (w32_menu_display_help): New function. | |
29803
3dec4cd5e361
Don't declare xmalloc, xrealloc.
Sam Steingold <sds@gnu.org>
parents:
29802
diff
changeset
|
4133 |
28276 | 4134 * w32fns.c (w32_wnd_proc): Handle WM_MENUSELECT message. |
4135 (QCdata): Moved to xdisp.c. | |
4136 | |
4137 * w32term.c (w32_read_socket): Handle WM_MENUSELECT message. | |
4138 (Vw32_charset_to_codepage_alist): Removed. | |
4139 (Vw32_charset_info_alist): New variable. | |
4140 (Qw32_charset_[ansi, default, symbol, shiftjis, hangul, gb2312, | |
4141 chinesebig5, oem, easteurope, turkish, baltic, russian, arabic, | |
4142 greek, hebrew, thai, johab, mac, unicode]): New symbols. | |
4143 (x_produce_glyphs): Remove out of date #ifdef 0'd section. Replace | |
4144 with TODO comment. | |
4145 (w32_codepage_for_font): Use Vw32_charset_info_alist. | |
4146 (syms_of_w32term): Remove Vw32_charset_to_codepage_alist. | |
4147 Define Vw32_charset_info_alist and w32_charset symbols. | |
4148 | |
4149 2000-03-22 Jason Rumney <jasonr@gnu.org> | |
4150 | |
4151 * makefile.nt (w32bdf.obj): Update dependencies. | |
4152 | |
4153 * w32bdf.c: Include frame.h and dispextern.h before fontset.h. | |
4154 | |
4155 * w32fns.c: Include fontset.h after dispextern.h. | |
4156 (Fx_create_frame): Do not create fontset. | |
4157 (w32_load_system_font): Doc fix. | |
4158 (Fx_close_connection): Free full_name if it is not shared. | |
4159 | |
4160 * w32term.c: Include fontset.h after dispextern.h. | |
4161 (x_get_glyph_face_and_encoding): New parameter two_byte_p. Callers | |
4162 updated. | |
4163 (w32_per_char_metric): If PCM is invalid, delete and return NULL. | |
4164 (x_get_char_and_face_encoding): Use FACE_FOR_CHAR to get face_id. | |
4165 (w32_font_is_double_byte): New function, needs body. | |
4166 (x_append_glyph): Set glyph->glyph_not_available_p. | |
4167 (x_produce_glyphs): Set it->glyph_not_available_p. Don't set | |
4168 it->charset. If it->multibyte_p is zero and it->c is a multibyte | |
4169 character, convert it to a unibyte character. | |
4170 (struct glyph_string): Delete member `charset'. | |
4171 (W32_TEXTOUT): Temporarily remove charset_dim until another way of | |
4172 calculating it is found. | |
4173 (x_set_mouse_face_gc): Call FACE_FOR_CHAR to get face_id. Handle | |
4174 the case that per char metric is not available correctly. | |
4175 (x_fill_glyph_string): Handle the case that the specific glyph is | |
4176 not available correctly. | |
4177 (BUILD_CHAR_GLYPH_STRINGS): Don't set s->charset. | |
4178 (BUILD_COMPOSITE_GLYPH_STRING): Likewise. | |
4179 (x_new_font): Call FS_LOAD_FONT, not fs_load_font. | |
4180 (x_new_fontset): Call fontset_ascii to get ASCII font name of the | |
4181 fontset. Don't call FS_LOAD_FONT. | |
4182 | |
28269
fd13be8ae190
Changes towards better type safety regarding intervals, primarily
Ken Raeburn <raeburn@raeburn.org>
parents:
28267
diff
changeset
|
4183 2000-03-22 Ken Raeburn <raeburn@gnu.org> |
fd13be8ae190
Changes towards better type safety regarding intervals, primarily
Ken Raeburn <raeburn@raeburn.org>
parents:
28267
diff
changeset
|
4184 |
fd13be8ae190
Changes towards better type safety regarding intervals, primarily
Ken Raeburn <raeburn@raeburn.org>
parents:
28267
diff
changeset
|
4185 * intervals.h (NULL_INTERVAL): Cast to INTERVAL type. |
fd13be8ae190
Changes towards better type safety regarding intervals, primarily
Ken Raeburn <raeburn@raeburn.org>
parents:
28267
diff
changeset
|
4186 (INT_LISPLIKE): New macro. |
fd13be8ae190
Changes towards better type safety regarding intervals, primarily
Ken Raeburn <raeburn@raeburn.org>
parents:
28267
diff
changeset
|
4187 (NULL_INTERVAL_P): Use it. |
fd13be8ae190
Changes towards better type safety regarding intervals, primarily
Ken Raeburn <raeburn@raeburn.org>
parents:
28267
diff
changeset
|
4188 (INTERVAL_HAS_PARENT, INTERVAL_HAS_OBJECT, SET_INTERVAL_PARENT, |
fd13be8ae190
Changes towards better type safety regarding intervals, primarily
Ken Raeburn <raeburn@raeburn.org>
parents:
28267
diff
changeset
|
4189 SET_INTERVAL_OBJECT, INTERVAL_PARENT, COPY_INTERVAL_PARENT, |
fd13be8ae190
Changes towards better type safety regarding intervals, primarily
Ken Raeburn <raeburn@raeburn.org>
parents:
28267
diff
changeset
|
4190 GET_INTERVAL_OBJECT, INTERVAL_PARENT_OR_NULL): New macros. |
fd13be8ae190
Changes towards better type safety regarding intervals, primarily
Ken Raeburn <raeburn@raeburn.org>
parents:
28267
diff
changeset
|
4191 |
fd13be8ae190
Changes towards better type safety regarding intervals, primarily
Ken Raeburn <raeburn@raeburn.org>
parents:
28267
diff
changeset
|
4192 * alloc.c (make_interval, gc_sweep): Use new macros; eliminate all |
fd13be8ae190
Changes towards better type safety regarding intervals, primarily
Ken Raeburn <raeburn@raeburn.org>
parents:
28267
diff
changeset
|
4193 explicit references to "parent" field of struct interval and |
fd13be8ae190
Changes towards better type safety regarding intervals, primarily
Ken Raeburn <raeburn@raeburn.org>
parents:
28267
diff
changeset
|
4194 associated unclean type conversions. |
fd13be8ae190
Changes towards better type safety regarding intervals, primarily
Ken Raeburn <raeburn@raeburn.org>
parents:
28267
diff
changeset
|
4195 * intervals.c (create_root_interval, root_interval, rotate_right, |
fd13be8ae190
Changes towards better type safety regarding intervals, primarily
Ken Raeburn <raeburn@raeburn.org>
parents:
28267
diff
changeset
|
4196 rotate_left, balance_possible_root_interval, split_interval_right, |
fd13be8ae190
Changes towards better type safety regarding intervals, primarily
Ken Raeburn <raeburn@raeburn.org>
parents:
28267
diff
changeset
|
4197 split_interval_left, interval_start_pos, find_interval, |
fd13be8ae190
Changes towards better type safety regarding intervals, primarily
Ken Raeburn <raeburn@raeburn.org>
parents:
28267
diff
changeset
|
4198 next_interval, previous_interval, update_interval, |
fd13be8ae190
Changes towards better type safety regarding intervals, primarily
Ken Raeburn <raeburn@raeburn.org>
parents:
28267
diff
changeset
|
4199 adjust_intervals_for_insertion, delete_node, delete_interval, |
fd13be8ae190
Changes towards better type safety regarding intervals, primarily
Ken Raeburn <raeburn@raeburn.org>
parents:
28267
diff
changeset
|
4200 adjust_intervals_for_deletion, merge_interval_right, |
fd13be8ae190
Changes towards better type safety regarding intervals, primarily
Ken Raeburn <raeburn@raeburn.org>
parents:
28267
diff
changeset
|
4201 merge_interval_left, reproduce_tree, graft_intervals_into_buffer, |
fd13be8ae190
Changes towards better type safety regarding intervals, primarily
Ken Raeburn <raeburn@raeburn.org>
parents:
28267
diff
changeset
|
4202 copy_intervals_to_string): Likewise. |
fd13be8ae190
Changes towards better type safety regarding intervals, primarily
Ken Raeburn <raeburn@raeburn.org>
parents:
28267
diff
changeset
|
4203 * intervals.h (AM_LEFT_CHILD, AM_RIGHT_CHILD, RESET_INTERVAL): |
fd13be8ae190
Changes towards better type safety regarding intervals, primarily
Ken Raeburn <raeburn@raeburn.org>
parents:
28267
diff
changeset
|
4204 Likewise. |
fd13be8ae190
Changes towards better type safety regarding intervals, primarily
Ken Raeburn <raeburn@raeburn.org>
parents:
28267
diff
changeset
|
4205 * syntax.c (update_syntax_table): Likewise. |
fd13be8ae190
Changes towards better type safety regarding intervals, primarily
Ken Raeburn <raeburn@raeburn.org>
parents:
28267
diff
changeset
|
4206 |
fd13be8ae190
Changes towards better type safety regarding intervals, primarily
Ken Raeburn <raeburn@raeburn.org>
parents:
28267
diff
changeset
|
4207 * intervals.c (reproduce_tree_obj): New function, like |
fd13be8ae190
Changes towards better type safety regarding intervals, primarily
Ken Raeburn <raeburn@raeburn.org>
parents:
28267
diff
changeset
|
4208 reproduce_tree but takes a Lisp_Object for the parent. Declare |
fd13be8ae190
Changes towards better type safety regarding intervals, primarily
Ken Raeburn <raeburn@raeburn.org>
parents:
28267
diff
changeset
|
4209 with prototype. |
fd13be8ae190
Changes towards better type safety regarding intervals, primarily
Ken Raeburn <raeburn@raeburn.org>
parents:
28267
diff
changeset
|
4210 (graft_intervals_into_buffer): Use it when appropriate. |
fd13be8ae190
Changes towards better type safety regarding intervals, primarily
Ken Raeburn <raeburn@raeburn.org>
parents:
28267
diff
changeset
|
4211 (reproduce_tree): Declare with prototype. |
fd13be8ae190
Changes towards better type safety regarding intervals, primarily
Ken Raeburn <raeburn@raeburn.org>
parents:
28267
diff
changeset
|
4212 (balance_possible_root_interval): Check that the parent is a lisp |
fd13be8ae190
Changes towards better type safety regarding intervals, primarily
Ken Raeburn <raeburn@raeburn.org>
parents:
28267
diff
changeset
|
4213 object before trying to examine its type. |
fd13be8ae190
Changes towards better type safety regarding intervals, primarily
Ken Raeburn <raeburn@raeburn.org>
parents:
28267
diff
changeset
|
4214 |
28267 | 4215 2000-03-22 Gerd Moellmann <gerd@gnu.org> |
4216 | |
4217 * xfaces.c (lface_same_font_attributes_p): Compare font attributes | |
4218 as strings only if both are known to be strings. | |
4219 | |
4220 * s/openbsd.h (LIBS_TERMCAP): Undef. | |
4221 | |
28262
5fafac497e27
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28255
diff
changeset
|
4222 2000-03-21 Stefan Monnier <monnier@cs.yale.edu> |
5fafac497e27
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28255
diff
changeset
|
4223 |
5fafac497e27
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28255
diff
changeset
|
4224 * regex.c (CHAR_CHARSET, CHARSET_LEADING_CODE_BASE): Add default |
5fafac497e27
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28255
diff
changeset
|
4225 definitions for non-Emacs compilation. |
5fafac497e27
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28255
diff
changeset
|
4226 (enum re_opcode_t): Remove (not)wordchar and move (not)syntaxspec |
5fafac497e27
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28255
diff
changeset
|
4227 outside of `#ifdef emacs'. |
5fafac497e27
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28255
diff
changeset
|
4228 (print_partial_compiled_pattern): Update. |
5fafac497e27
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28255
diff
changeset
|
4229 (regex_compile): Use (not)syntaxspec(Sword) instead of (not)wordchar. |
5fafac497e27
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28255
diff
changeset
|
4230 (re_compile_fastmap): Merge handling of charset and charset_not (for |
5fafac497e27
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28255
diff
changeset
|
4231 emacs and non-emacs compilation as well). |
5fafac497e27
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28255
diff
changeset
|
4232 Similarly for (not)categoryspec and (not)syntaxspec. |
5fafac497e27
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28255
diff
changeset
|
4233 Don't use the fastmap when reaching `anychar' since the added |
5fafac497e27
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28255
diff
changeset
|
4234 complexity is not justified. |
5fafac497e27
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28255
diff
changeset
|
4235 (re_match_2_internal): Merge (not)wordchar (emacs and non-emacs) |
5fafac497e27
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28255
diff
changeset
|
4236 and (not)syntaxspec. Merge (not)categoryspec. |
5fafac497e27
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28255
diff
changeset
|
4237 |
28253 | 4238 2000-03-22 Kenichi Handa <handa@etl.go.jp> |
4239 | |
28255 | 4240 * dispextern.h [!HAVE_WINDOW_SYSTEM] (FACE_SUITABLE_FOR_CHAR_P, |
4241 FACE_FOR_CHAR): Define them differently for the configuration of | |
4242 --without-x. | |
28253 | 4243 |
28242 | 4244 2000-03-21 Dave Love <fx@gnu.org> |
4245 | |
4246 * fontset.c (Fset_fontset_font, Ffontset_font): Fix newlines in | |
4247 doc string. | |
4248 | |
28238 | 4249 2000-03-21 Gerd Moellmann <gerd@gnu.org> |
4250 | |
4251 * xfaces.c (check_lface_attrs) [GLYPH_DEBUG]: Fix syntax error. | |
4252 (lface_fully_specified_p): Don't check contents of | |
4253 LFACE_FONT_INDEX because that attribute is optional. | |
4254 (realize_x_face): Remove now unwarranted xassert. | |
4255 | |
28218 | 4256 2000-03-21 Kenichi HANDA <handa@etl.go.jp> |
4257 | |
28219 | 4258 The following changes are to make font selection based on |
4259 characters, not charset. In addition, they recover fontset | |
4260 facilities while utilizing the new font selection mechanism. | |
28218 | 4261 |
28233 | 4262 * Makefile.in (fontset.o): Depend on dispextern.h. |
4263 | |
4264 * alloc.c (mark_face_cache): Don't mark face->registry. | |
4265 | |
28218 | 4266 * dispextern.h (struct glyph): New member glyph_not_available_p. |
4267 Use 22 bits for face_id. | |
4268 (enum lface_attribute_index): Add LFACE_FONT_INDEX. | |
4269 (struct face): Delete member registry, new member ascii_face. | |
4270 (FACE_SUITABLE_FOR_CHAR_P): Renamed from | |
4271 FACE_SUITABLE_FOR_CHARSET_P. Caller changed. | |
4272 (FACE_FOR_CHAR): Renamed from FACE_FOR_CHARSET. Caller changed. | |
4273 (struct it): Delete member charset, new member | |
4274 glyph_not_available_p. | |
4275 | |
4276 * fontset.h (FONT_NOT_OPENED, FONT_NOT_FOUND): Macros removed. | |
4277 (struct fontset_info, struct fontset_data): Structs removed. | |
4278 (allloc_fontset_data, free_fontset_data, fs_regiser_fontset, | |
4279 Vglobale_fontset_alist, font_idx_temp): Externs removed. | |
4280 (fs_load_font, fs_query_fontset): Adjusted for new argument. | |
4281 (fs_free_face_fontset, fontset_font_pattern, | |
4282 face_suitable_for_char_p, face_for_char, | |
4283 make_fontset_for_ascii_face): Extern them. | |
4284 (FS_LOAD_FONT): Adjusted for the change of fontset implementation. | |
4285 (FS_LOAD_FACE_FONT): New macro. | |
4286 | |
4287 * fontset.c: All codes rewritten or adjusted for the change of | |
4288 fontset implementation. Now fontset is represented by char table. | |
4289 (Vglobal_fontset_alist, font_idx_temp, my_strcasetbl): Variables | |
4290 removed. | |
4291 (my_strcasecmp): Function removed. | |
4292 (Vfontset_table, next_fontset_id, Vdefault_fontset): New | |
4293 variables. | |
4294 (AREF, ASIZE): New macros. | |
4295 (FONTSET_FROM_ID, FONTSET_ID, FONTSET_NAME, FONTSET_FRAME, | |
4296 FONTSET_ASCII, FONTSET_BASE, BASE_FONTSET_P, FONTSET_REF, | |
4297 FONTSET_REF_VIA_BASE, FONTSET_SET): New macros. | |
4298 (fontset_ref, fontset_ref_via_base, fontset_set, make_fontset, | |
4299 fontset_id_valid_p, font_family_registry, fontset_name, | |
4300 fontset_ascii, free_face_fontset, face_suitable_for_char_p, | |
4301 face_for_char, make_fontset_for_ascii_face, fontset_font_pattern): | |
4302 New functions. | |
4303 (fs_load_font): New arg FACE. Caller changed. | |
4304 (fs_query_fontset): Argument changed. Caller changed. | |
4305 (Fquery_fontset): call fs_query_fontset. | |
4306 (fs_register_fontset, alloc_fontset_data, free_fontset_data): | |
4307 Functions removed. | |
4308 (clear_fontset_elements, check_registry_encoding, | |
4309 check_fontset_name): New functions. | |
4310 (syms_of_fontset): Set char-table-extra-slots property of fontset | |
4311 to 3. Staticpro and initialize Vfontset_table and | |
4312 Vdefault_fontset. Defsubr fontset_font and fontset_list. | |
4313 | |
4314 * frame.h (struct frame): Member `fontset_data' removed. | |
4315 (FRAME_FONTSET_DATA): Macro removed. | |
4316 | |
4317 * frame.c (make_frame): Don't allocate f->fontset_data. | |
4318 (Fdelete_frame): Don't free f->fontset_data. | |
4319 | |
28233 | 4320 * msdos.c (XMenuActivate): Args to lookup_derived_face changed. |
4321 | |
28218 | 4322 * xdisp.c (charset_at_position): Function removed. |
4323 (init_iterator): Don't set member charset of struct `it'. | |
4324 (handle_face_prop, reseat_to_string, set_iterator_to_next, | |
4325 next_element_from_display_vector, insert_left_trunc_glyphs): | |
4326 Likewise. | |
4327 (face_before_or_after_it_pos): Call FACE_FOR_CHAR, not | |
4328 FACE_FOR_CHARSET. | |
4329 (get_next_display_element, append_space, | |
4330 extend_face_to_end_of_line): Likewise. | |
4331 | |
4332 * xfaces.c (Qx_charset_registry, Vface_default_registry): | |
4333 Variables removed. | |
4334 (clear_font_table, frame_update_line_height, load_face_font): | |
4335 Adjusted for the change of fontset implementation. | |
4336 (load_face_fontset_font): Function removed. | |
4337 (pixel_point_size): New function. | |
4338 (font_list): Argument type changed. Caller changed. | |
4339 (LFACE_FONT): New macro. | |
4340 (check_lface_attrs): Check attr[LFACE_FONT_INDEX]. | |
4341 (set_lface_from_font_name): Type of arg FONTNAME is changed to | |
4342 Lisp_Object. Determine the font name by actually loading a font | |
4343 by the specified pattern. Set LFACE_FONT (lface) to the specified | |
4344 pattern. Even if a font is not found, don't try alternatives. | |
4345 (Finternal_set_lisp_face_attribute): Handle `font' slot in lface. | |
4346 (set_font_frame_param): If `font' is specified in lface, use it. | |
4347 (Finternal_get_lisp_face_attribute): Handle `font' slot in lface. | |
4348 (lface_same_font_attributes_p): Likewise. | |
4349 (make_realized_face): Arguent changed. Caller changed. Set | |
4350 face->ascii_face to face itself. | |
4351 (free_realized_face): Free face->fontset if face is for ASCII. | |
4352 (face_suitable_for_iso8859_1_p, face_suitable_for_charset_p, | |
4353 deduce_unibyte_registry, x_charset_registry): Functions removed. | |
4354 (free_realized_multibyte_face): New function. | |
4355 (lookup_face, lookup_named_face, lookup_derived_face): Argument | |
4356 changed. Caller changed. | |
4357 (try_font_list): Argument type changed. | |
4358 (face_fontset): Check `font' slot of ATTRS, not `family' slot. | |
4359 (choose_face_font): Argument changed. Handle fontset properly. | |
4360 (choose_face_fontset_font): Function removed. | |
4361 (realize_default_face, realize_named_face): Don't remove the | |
4362 former face here. | |
4363 (realize_face): Argument changed. Caller changed. Remove face | |
4364 with the arg former_face_id in advance. Load font for the new | |
4365 face. | |
4366 (realize_x_face): Argument changed. Caller changed. For a | |
4367 multibyte character, share fontset with base_face. For a single | |
4368 byte character, make a new realized fontset. Don't load a font | |
4369 here. | |
4370 (realize_tty_face): Argument changed. Caller changed. | |
4371 (compute_char_face): Call FACE_FOR_CHAR, not FACE_FOR_CHARSET. | |
4372 (face_at_buffer_position): Don't check multibyte_p for returning | |
4373 DEFAULT_FACE_ID. | |
4374 (face_at_string_position): Call FACE_SUITABLE_FOR_CHAR_P, not | |
4375 FACE_SUITABLE_FOR_CHARSET_P. | |
4376 (syms_of_xfaces): Remove code for Qx_charset_registry and | |
4377 Vface_default_registry. | |
4378 | |
28233 | 4379 * xterm.c: Include fontset.h after dispextern.h. Undo the changes |
4380 related to PER_CHAR_METRIC done by Gerd on 2000-03-03. | |
28218 | 4381 (x_per_char_metric): Don't try FONT->default_char. Even if |
4382 pcm->width is zero, glyph bits may exist. | |
4383 (x_encode_char): Always initialize char2b->byte1. | |
4384 (x_get_char_face_and_encoding): Call FACE_FOR_CHAR to get face_id. | |
4385 (x_get_glyph_face_and_encoding): New arg two_byte_p. Caller | |
4386 changed. | |
4387 (x_append_glyph): Set glyph->glyph_not_available_p. | |
4388 (x_produce_glyphs): Set it->glyph_not_available_p. Don't set | |
4389 it->charset. Handle the case that per char metric is not | |
4390 available. If it->multibyte_p is zero and it->c is a multibyte | |
4391 character, convert it to a unibyte character. | |
4392 (struct glyph_string): Delete member `charset'. | |
4393 (x_set_mouse_face_gc): Call FACE_FOR_CHAR to get face_id. Handle | |
4394 the case that per char metric is not available correctly. | |
4395 (x_fill_glyph_string): Handle the case that the specific glyph is | |
4396 not available correctly. | |
4397 (BUILD_CHAR_GLYPH_STRINGS): Don't set s->charset. | |
4398 (BUILD_COMPOSITE_GLYPH_STRING): Likewise. | |
4399 (x_new_font): Call FS_LOAD_FONT, not fs_load_font. | |
4400 (x_new_fontset): Call fontset_ascii to get ASCII font name of the | |
4401 fontset. Don't call FS_LOAD_FONT. | |
4402 | |
4403 * xfns.c (Fx_create_frame): Don't cal fs_register_fontset. | |
4404 (x_create_tip_frame): Likewise. | |
4405 (Fx_close_connection): Free full_name of font_info. | |
4406 | |
4407 * fns.c (optimize_sub_char_table): New function. | |
4408 (Foptimize_char_table): New function. | |
4409 (syms_of_fns): Defsubr Soptimize_char_table. | |
4410 | |
28209 | 4411 2000-03-20 Gerd Moellmann <gerd@gnu.org> |
4412 | |
4413 * buffer.c (Fset_buffer_modified_p): Set update_mode_lines | |
4414 only if buffer is displayed in some window. | |
4415 | |
4416 * xdisp.c (handle_single_display_prop): Initialize local `value'. | |
4417 (try_window_reusing_current_matrix): Don't call scroll run | |
4418 function if run's current and desired position are the same; | |
4419 this prevents cursor flickering. | |
4420 | |
28204
a71f5d1c6615
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28201
diff
changeset
|
4421 2000-03-19 Stefan Monnier <monnier@cs.yale.edu> |
a71f5d1c6615
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28201
diff
changeset
|
4422 |
a71f5d1c6615
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28201
diff
changeset
|
4423 * regex.h (RE_TRANSLATE. RE_TRANSLATE_P): Moved to regex.c. |
a71f5d1c6615
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28201
diff
changeset
|
4424 |
a71f5d1c6615
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28201
diff
changeset
|
4425 * regex.c (RE_STRING_CHAR): New macro. |
a71f5d1c6615
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28201
diff
changeset
|
4426 (GET_CHAR_AFER_2): Remove. |
a71f5d1c6615
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28201
diff
changeset
|
4427 (RE_TRANSLATE, RE_TRANSLATE_P): New macros moved from regex.h. |
a71f5d1c6615
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28201
diff
changeset
|
4428 (enum re_opcode_t): Remove on_failure_jump_exclusive. |
a71f5d1c6615
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28201
diff
changeset
|
4429 (print_partial_compiled_pattern, re_compile_fastmap) |
a71f5d1c6615
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28201
diff
changeset
|
4430 (re_match_2_internal): Remove on_failure_jump_exclusive. |
a71f5d1c6615
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28201
diff
changeset
|
4431 (regex_compile): Turn optimizable P+ loops into PP*, so that the |
a71f5d1c6615
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28201
diff
changeset
|
4432 optimization only need to work for * (ie. can use of_keep_string_jump). |
a71f5d1c6615
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28201
diff
changeset
|
4433 Remove the special case for .*\n since it is now covered by the general |
a71f5d1c6615
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28201
diff
changeset
|
4434 optimization. |
a71f5d1c6615
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28201
diff
changeset
|
4435 (re_search_2): Don't bother with `room'. |
a71f5d1c6615
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28201
diff
changeset
|
4436 (skip_one_char): New function. |
a71f5d1c6615
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28201
diff
changeset
|
4437 (skip_noops): Simplify since `memory' is not needed any more. |
a71f5d1c6615
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28201
diff
changeset
|
4438 (mutually_exclusive_p): Restructure slightly to use `switch' and |
a71f5d1c6615
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28201
diff
changeset
|
4439 add handling for "all" remaining cases. |
a71f5d1c6615
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28201
diff
changeset
|
4440 (re_match_2_internal): Change on_failure_jump_smart to use |
a71f5d1c6615
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28201
diff
changeset
|
4441 on_failure_keep_string_jump (and redirect the end-of-loop jump) |
a71f5d1c6615
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28201
diff
changeset
|
4442 rather than on_failure_jump_exclusive. |
a71f5d1c6615
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28201
diff
changeset
|
4443 |
28201 | 4444 2000-03-19 Gerd Moellmann <gerd@gnu.org> |
4445 | |
4446 * xfns.c (select_visual): Don't set dpyinfo->n_planes to the | |
4447 number of bits per RGB because it's everywhere used as the depth | |
4448 of the visual. | |
4449 | |
4450 * term.c (calculate_costs): Remove code dealing with X frames. | |
4451 | |
30337
5861c80aa795
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
30329
diff
changeset
|
4452 2000-03-19 Richard M. Stallman <rms@gnu.org> |
28197
aaa6448240eb
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
28194
diff
changeset
|
4453 |
aaa6448240eb
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
28194
diff
changeset
|
4454 * lread.c (syms_of_lread): Doc fix for load-convert-to-unibyte. |
aaa6448240eb
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
28194
diff
changeset
|
4455 |
28194 | 4456 2000-03-18 Gerd Moellmann <gerd@gnu.org> |
4457 | |
4458 * lread.c (read_integer): Unread the last char not consumed. | |
4459 | |
28184 | 4460 2000-03-17 Gerd Moellmann <gerd@gnu.org> |
4461 | |
4462 * xterm.c (x_update_window_cursor): Don't update in frames | |
28194 | 4463 which are in the process of being deleted. |
28184 | 4464 |
28166 | 4465 2000-03-16 Gerd Moellmann <gerd@gnu.org> |
4466 | |
28176 | 4467 * Makefile.in (mostlyclean): Add `*.core'. |
4468 (clean): Add `bootstrap-emacs'. | |
4469 | |
28166 | 4470 * lread.c (read_integer): New function. |
4471 (read1): Support read syntax #o, #x, #b, #r. | |
4472 | |
28164
62db832482e1
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28159
diff
changeset
|
4473 2000-03-15 Stefan Monnier <monnier@cs.yale.edu> |
62db832482e1
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28159
diff
changeset
|
4474 |
28166 | 4475 * regex.c (re_match_2): Fix string shortening (to fit `stop') to |
4476 make sure POINTER_TO_OFFSET gives the same value before and after | |
4477 PREFETCH. Use `dfail' to guarantee "atomic" matching. | |
28164
62db832482e1
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28159
diff
changeset
|
4478 (PTR_TO_OFFSET): Use POINTER_TO_OFFSET. |
62db832482e1
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28159
diff
changeset
|
4479 (debug): Now only active if > 0 rather than if != 0. |
62db832482e1
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28159
diff
changeset
|
4480 (DEBUG_*): Update for the new meaning of `debug'. |
28166 | 4481 (print_partial_compiled_pattern): Add missing `succeed' case. Use |
4482 CHARSET_* macros in the charset(_not) branch. Fix off-by-two bugs | |
4483 in `succeed_n', `jump_n' and `set_number_at'. | |
28164
62db832482e1
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28159
diff
changeset
|
4484 (store_op1, store_op2, insert_op1, insert_op2) |
62db832482e1
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28159
diff
changeset
|
4485 (at_begline_loc_p, at_endline_loc_p): Add prototype. |
28166 | 4486 (group_in_compile_stack): Move to after its arg's types are |
4487 declared and add a prototype. | |
28164
62db832482e1
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28159
diff
changeset
|
4488 (PATFETCH): Define in terms of PATFETCH_RAW. |
28166 | 4489 (GET_UNSIGNED_NUMBER): Add the usual `do { ... } while(0)' |
4490 wrapper. | |
28164
62db832482e1
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28159
diff
changeset
|
4491 (QUIT): Redefine as a nop except for NTemacs. |
28166 | 4492 (regex_compile): Handle intervals {,M} as if it was {0,M}. Fix |
4493 indentation of the greedy-op and shy-group code. | |
28164
62db832482e1
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28159
diff
changeset
|
4494 (at_(beg|end)line_loc_p): Fix argument's types. |
62db832482e1
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28159
diff
changeset
|
4495 (re_compile_fastmap): Ifdef out failure_stack_ptr to shut up gcc. |
62db832482e1
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28159
diff
changeset
|
4496 (re_search_2): Use POS_AS_IN_BUFFER. Simplify `room' computation. |
62db832482e1
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28159
diff
changeset
|
4497 (MATCHING_IN_FIRST_STRING): Remove. |
28166 | 4498 (re_match_2): Use POS_AS_IN_BUFFER. Ifdef out failure_stack_ptr |
4499 to shut up gcc. Use FIRST_STRING_P and POINTER_TO_OFFSET. Use | |
4500 QUIT unconditionally. | |
28164
62db832482e1
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28159
diff
changeset
|
4501 |
28159 | 4502 2000-03-15 Gerd Moellmann <gerd@gnu.org> |
4503 | |
4504 * minibuf.c (Fminibuffer_complete): Set point to ZV if finding | |
4505 a sole completion. | |
4506 | |
4507 * process.c (send_process): Add a hint that the function | |
4508 can call Lisp code to its comment. | |
4509 | |
4510 * lread.c (load_dangerous_libraries): New variable. | |
4511 (Vbytecomp_version_regexp): New variable. | |
4512 (safe_to_load_p): New function. | |
4513 (Fload): Handle files not compiled with Emacs specially. | |
4514 (syms_of_lread): New Lisp variable load-dangerous-libraries. | |
4515 | |
28139 | 4516 2000-03-14 Gerd Moellmann <gerd@gnu.org> |
4517 | |
28147 | 4518 * lisp.h (free_frame_xic) [HAVE_X_I18N]: Add missing semicolon. |
4519 | |
4520 * xterm.c (xim_close_dpy, xim_initialize): Use X11R6-style XIM | |
4521 support functions only if HAVE_X11R6_XIM is defined. | |
4522 (xim_instantiate_callback): Define only if HAVE_X11R6_XIM. | |
4523 | |
4524 * s/sol2.h (INHIBIT_X11R6_XIM): Define. | |
4525 | |
4526 * xfns.c (X_I18N_INHIBITED): Don't define. | |
4527 (create_frame_xic): Remove conditional compilation on | |
4528 X_I18N_INHIBITED. | |
4529 (x_kill_gs_process, x_window): Use FRAME_X_VISUAL. | |
4530 | |
4531 * config.in (HAVE_X_I18N): Moved here from xterm.h. | |
4532 (HAVE_X11R6_XIM): Define. | |
4533 | |
4534 * xterm.h (HAVE_X_I18N) [HAVE_X11R6]: Moved to config.in. | |
4535 | |
28139 | 4536 * xterm.c (x_term_init): Add support for X resource `synchronous'. |
4537 If set, call XSynchronize. | |
4538 | |
28138
d2e19a90c9ef
* regex.c: Declare a new type `re_char' used throughout the code for the
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28137
diff
changeset
|
4539 2000-03-13 Stefan Monnier <monnier@cs.yale.edu> |
d2e19a90c9ef
* regex.c: Declare a new type `re_char' used throughout the code for the
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28137
diff
changeset
|
4540 |
28139 | 4541 * regex.c: Declare a new type `re_char' used throughout the code |
4542 for the string char type. It's `const unsigned char' to match the | |
4543 rest of Emacs. Consistently make sure all pointers to strings use | |
4544 it and make sure all pointers into the pattern use `unsigned | |
4545 char'. | |
28138
d2e19a90c9ef
* regex.c: Declare a new type `re_char' used throughout the code for the
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28137
diff
changeset
|
4546 (re_match_2_internal): Use `PREFETCH+STRING_CHAR' instead of |
28139 | 4547 GET_CHAR_AFTER_2. Also merge wordbound and notwordbound to reduce |
4548 code duplication. | |
28138
d2e19a90c9ef
* regex.c: Declare a new type `re_char' used throughout the code for the
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28137
diff
changeset
|
4549 |
d2e19a90c9ef
* regex.c: Declare a new type `re_char' used throughout the code for the
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28137
diff
changeset
|
4550 * charset.h (GET_CHAR_AFTER_2): Remove. |
d2e19a90c9ef
* regex.c: Declare a new type `re_char' used throughout the code for the
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28137
diff
changeset
|
4551 (GET_CHAR_BEFORE_2): Use unsigned chars, like everywhere else. |
d2e19a90c9ef
* regex.c: Declare a new type `re_char' used throughout the code for the
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28137
diff
changeset
|
4552 |
28133
afb4e92f898d
* Makefile.in (temacs): Evaluate ALL_LDFLAGS into a temporary variable before
Ken Raeburn <raeburn@raeburn.org>
parents:
28122
diff
changeset
|
4553 2000-03-12 Ken Raeburn <raeburn@gnu.org> |
afb4e92f898d
* Makefile.in (temacs): Evaluate ALL_LDFLAGS into a temporary variable before
Ken Raeburn <raeburn@raeburn.org>
parents:
28122
diff
changeset
|
4554 |
afb4e92f898d
* Makefile.in (temacs): Evaluate ALL_LDFLAGS into a temporary variable before
Ken Raeburn <raeburn@raeburn.org>
parents:
28122
diff
changeset
|
4555 * Makefile.in (temacs): Evaluate ALL_LDFLAGS into a temporary |
afb4e92f898d
* Makefile.in (temacs): Evaluate ALL_LDFLAGS into a temporary variable before
Ken Raeburn <raeburn@raeburn.org>
parents:
28122
diff
changeset
|
4556 variable before the invocation of YMF_PASS_LDFLAGS, in case both |
afb4e92f898d
* Makefile.in (temacs): Evaluate ALL_LDFLAGS into a temporary variable before
Ken Raeburn <raeburn@raeburn.org>
parents:
28122
diff
changeset
|
4557 of them try to use backquotes. |
afb4e92f898d
* Makefile.in (temacs): Evaluate ALL_LDFLAGS into a temporary variable before
Ken Raeburn <raeburn@raeburn.org>
parents:
28122
diff
changeset
|
4558 |
28122 | 4559 2000-03-12 Dave Love <fx@gnu.org> |
4560 | |
4561 * unexelf.c: Restore changes of 1999-10-19. | |
4562 (unexec): Don't adjust bss for sbss type SHT_PROGBITS; otherwise | |
4563 fix its type and alignment; copy it from current process. | |
4564 | |
28098 | 4565 2000-03-12 Gerd Moellmann <gerd@gnu.org> |
4566 | |
28120 | 4567 * atimer.c (cancel_atimer): Break out of the loop as soon as timer |
4568 has been found. Fix bug not computing timer's predecessor. | |
4569 | |
29803
3dec4cd5e361
Don't declare xmalloc, xrealloc.
Sam Steingold <sds@gnu.org>
parents:
29802
diff
changeset
|
4570 * fileio.c (Fread_file_name): Handle case that DIR contains a |
28118 | 4571 file name. |
4572 | |
28109 | 4573 * window.c (Fsave_window_excursion): Doc fix. |
4574 | |
28098 | 4575 * xfns.c (x_defined_color): Rewritten to use |
4576 x_allocate_nearest_color. | |
4577 | |
28095 | 4578 2000-03-12 Eli Zaretskii <eliz@is.elta.co.il> |
4579 | |
4580 * msdos.c (vga_installed): New function, code moved from | |
4581 dos_set_window_size. | |
4582 (Qbar, Qcursor_type, outside_cursor): New variables. | |
4583 (syms_of_msdos): Intern and staticpro them. | |
4584 (dos_ttraw) [__DJGPP__ >= 2, !HAVE_X_WINDOWS]: Save the cursor | |
4585 shape used outside Emacs when called for the first time. | |
4586 (dos_ttcooked) [__DJGPP__ >= 2, !HAVE_X_WINDOWS]: Restore the | |
4587 cursor shape used outside Emacs. | |
4588 (msdos_set_cursor_shape, IT_set_cursor_type): New functions. | |
4589 (IT_frame_up_to_date): Call IT_set_cursor_type, in case the cursor | |
4590 type has changed. | |
4591 (IT_set_frame_parameters): Call IT_set_cursor_type if the frame | |
4592 parameters specify the cursor. Make qreverse a global | |
4593 variable (renamed to Qreverse). | |
4594 | |
28073 | 4595 2000-03-09 Gerd Moellmann <gerd@gnu.org> |
4596 | |
4597 * fns.c (Fy_or_n_p): Cancel busy-cursor. | |
4598 | |
28063
f1b33463506d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28060
diff
changeset
|
4599 2000-03-08 Stefan Monnier <monnier@cs.yale.edu> |
f1b33463506d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28060
diff
changeset
|
4600 |
f1b33463506d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28060
diff
changeset
|
4601 This is a big redesign of failure-stack and register handling, prompted |
f1b33463506d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28060
diff
changeset
|
4602 by bugs revealed when trying to add shy-groups. Overall, what happened |
f1b33463506d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28060
diff
changeset
|
4603 is that loops are now structured a little differently, groups can be |
f1b33463506d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28060
diff
changeset
|
4604 shy and the code is a little simpler. |
f1b33463506d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28060
diff
changeset
|
4605 |
f1b33463506d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28060
diff
changeset
|
4606 * regex.h: Update the copyright. |
f1b33463506d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28060
diff
changeset
|
4607 (RE_SHY_GROUPS): New value. |
f1b33463506d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28060
diff
changeset
|
4608 (RE_UNMATCHED_RIGHT_PAREN_ORD): Renumber. |
f1b33463506d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28060
diff
changeset
|
4609 (RE_SYNTAX_EMACS): Add RE_SHY_GROUPS. |
f1b33463506d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28060
diff
changeset
|
4610 |
28073 | 4611 * regex.c (enum re_opcode_t): Remove jump_past_alt, |
4612 maybe_pop_jump, push_dummy_failure and dumy_failure_jump. Add | |
4613 on_failure_jump_(exclusive, loop and smart). Also fix the comment | |
4614 for (start|stop)_memory since they now only take one argument (the | |
4615 second has becomes unnecessary). | |
4616 (print_partial_compiled_pattern): Adjust for changes in | |
4617 re_opcode_t. | |
4618 (print_compiled_pattern): Use %ld to printf long ints and flush to | |
4619 make debugging a little easier. | |
28063
f1b33463506d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28060
diff
changeset
|
4620 (union fail_stack_elt): Make the integer unsigned. |
f1b33463506d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28060
diff
changeset
|
4621 (struct fail_stack_type): Add a `frame' element. |
f1b33463506d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28060
diff
changeset
|
4622 (INIT_FAIL_STACK): Init `frame' as well. |
f1b33463506d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28060
diff
changeset
|
4623 (POP_PATTERN_OP): New macro for re_compile_fastmap. |
f1b33463506d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28060
diff
changeset
|
4624 (DEBUG_PUSH, DEBUG_POP): Remove. |
f1b33463506d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28060
diff
changeset
|
4625 (NUM_REG_ITEMS): Remove. |
f1b33463506d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28060
diff
changeset
|
4626 (NUM_NONREG_ITEMS): Adjust. |
28073 | 4627 (FAILURE_PAT, FAILURE_STR, NEXT_FAILURE_HANDLE) |
4628 (TOP_FAILURE_HANDLE): New macros for the cycle detection. | |
28063
f1b33463506d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28060
diff
changeset
|
4629 (ENSURE_FAIL_STACK): New macro for PUSH_FAILURE_(REG|POINT). |
28073 | 4630 (PUSH_FAILURE_REG, POP_FAILURE_REG, CHECK_INFINITE_LOOP): New |
4631 macros. | |
4632 (PUSH_FAILURE_POINT): Don't push registers any more. The pattern | |
4633 address pushed is not the destination of the jump but the source | |
4634 of it instead. | |
28063
f1b33463506d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28060
diff
changeset
|
4635 (NUM_FAILURE_ITEMS): Remove. |
f1b33463506d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28060
diff
changeset
|
4636 (POP_FAILURE_POINT): Adapt to the new stack structure (i.e. pop |
28073 | 4637 registers before the actual failure point). Don't hardcode any |
4638 meaning for str==NULL anymore. | |
28063
f1b33463506d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28060
diff
changeset
|
4639 (union register_info_type, REG_MATCH_NULL_STRING_P, IS_ACTIVE) |
28073 | 4640 (MATCHED_SOMETHING, EVER_MATCHED_SOMETHING, SET_REGS_MATCHED): |
4641 Remove. | |
28063
f1b33463506d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28060
diff
changeset
|
4642 (REG_UNSET_VALUE): Use NULL (why not?). |
f1b33463506d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28060
diff
changeset
|
4643 (compile_range): Remove declaration since it doesn't exist. |
f1b33463506d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28060
diff
changeset
|
4644 (struct compile_stack_elt_t): Remove inner_group_offset. |
f1b33463506d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28060
diff
changeset
|
4645 (old_reg(start|end), reg_info, reg_dummy, reg_info_dummy): Remove. |
f1b33463506d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28060
diff
changeset
|
4646 (regex_grow_registers): Remove dead code. |
f1b33463506d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28060
diff
changeset
|
4647 (FIXUP_ALT_JUMP): New macro. |
28073 | 4648 (regex_compile): Add shy-groups Change loops to use |
4649 on_failure_jump_smart&jump instead of | |
4650 on_failure_jump&maybe_pop_jump. Change + loops to eliminate the | |
4651 initial (dummy_failure_)jump. Remove c1_base (looks like unused | |
4652 variable to me). Use `jump' instead of `jump_past_alt' and don't | |
4653 bother with push_dummy_failure in alternatives since it is now | |
4654 unnecessary. Use FIXUP_ALT_JUMP. Eliminate a useless `#ifdef | |
4655 emacs' for (re)allocating the stack. | |
4656 (re_compile_fastmap): Remove dead variables i and num_regs. Exit | |
4657 from loop when bufp->can_be_null rather than jumping to `done'. | |
4658 Avoid jumping backwards so as to ensure termination. Use | |
4659 PATTERN_STACK_EMPTY and POP_PATTERN_OP. Improved handling of | |
4660 backreferences. Remove dead code in handling of `anychar'. | |
28063
f1b33463506d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28060
diff
changeset
|
4661 (skip_noops, mutually_exclusive_p): New functions taken from the |
28073 | 4662 handling of `maybe_pop_jump' in re_match_2_internal. Slightly |
4663 improve mutually_exclusive_p to handle ".+\n". | |
4664 (lowest_active_reg, highest_active_reg, | |
4665 NO_(LOWEST|HIGHEST)_ACTIVE_REG) Remove. | |
4666 (re_match_2_internal): Use %p instead of 0x%x when printf'ing | |
4667 ptrs. Don't SET_REGS_MATCHED anymore. Remove many dead | |
4668 variables. Push register (in `start_memory') on the stack rather | |
4669 than storing it in old_reg(start|end). Remove the cycle detection | |
4670 from `stop_memory', replaced by the use of on_failure_jump_loop | |
4671 for greedy loops. Add code for the new on_failure_jump_<foo>. | |
4672 Remove ad-hoc code in `on_failure_jump' to push more registers in | |
4673 the case of a loop. Take out code from `maybe_pop_jump' into | |
4674 separate functions and adapt it to the semantics of | |
4675 `on_failure_jump_smart'. Remove jump_past_alt, dummy_failure_jump | |
4676 and push_dummy_failure. Remove dummy_failure handling and | |
4677 handling of `failures to jump to on_failure_jump' (this last one | |
4678 was already dead code, it seems). | |
4679 (group_match_null_string_p, alt_match_null_string_p) | |
4680 (common_op_match_null_string_p): Remove. | |
28063
f1b33463506d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28060
diff
changeset
|
4681 |
28059 | 4682 2000-03-08 Dave Love <fx@gnu.org> |
4683 | |
28060 | 4684 * config.in: Don't depend on __STDC__ for volatile. |
4685 Add POINTER_TYPE, PTR, PROTOTYPES. | |
4686 | |
28059 | 4687 * hftctl.c, strftime.c: Use PROTOTYPES. |
4688 * eval.c (find_handler_clause): Likewise. | |
4689 | |
4690 * mem-limits.h: Use POINTER_TYPE. | |
4691 | |
4692 * lisp.h (P_): Define based on PROTOTYPES, not __STDC__. | |
4693 (memory_warnings): Declare using POINTER_TYPE. | |
4694 | |
28046 | 4695 2000-03-08 Gerd Moellmann <gerd@gnu.org> |
4696 | |
28051 | 4697 * xfns.c (x_set_cursor_type): If ARG is nil, give frame no cursor. |
4698 | |
28048 | 4699 * xdisp.c (display_echo_area): Temporarily inhibit garbage |
4700 collection. | |
4701 | |
28046 | 4702 * xfns.c: Remove obsolete code in #if 0. |
4703 (Fx_focus_frame): New function. | |
4704 | |
28137 | 4705 2000-03-07 Miyashita Hisashi <himi@bird.scphys.kyoto-u.ac.jp> |
4706 | |
4707 * coding.c (coding_category_name): Add coding-category-utf-8, | |
4708 coding-category-utf-16-be, coding-category-utf-16-le. | |
4709 (UTF_8_1_OCTET_P, UTF_8_EXTRA_OCTET_P, UTF_8_2_OCTET_LEADING_P, | |
4710 UTF_8_3_OCTET_LEADING_P, UTF_8_4_OCTET_LEADING_P, | |
4711 UTF_8_5_OCTET_LEADING_P, UTF_8_6_OCTET_LEADING_P): New macros. | |
4712 (detect_coding_utf_8): New function. | |
4713 (UTF_16_INVALID_P, UTF_16_HIGH_SURROGATE_P | |
4714 UTF_16_LOW_SURROGATE_P): New macros. | |
4715 (detect_coding_utf_16): New function | |
4716 (detect_coding_mask): When priorities are specified, skip any | |
4717 categories that have `nil' coding-system. Fix bug of returning | |
4718 wrong mask when PRIORITIES is specified and detect_coding_XXX() | |
4719 returns a mask not set in PRIORITIES. | |
4720 (detect_eol_type_in_2_octet_form): New function. | |
4721 (detect_eol): selects detect_eol_type_XXX to call according to | |
4722 cooding->category_idx. | |
4723 (detect_coding_system): Remove `nil' coding-system in the result. | |
4724 (Fupdate_coding_systems_internal): Update all coding-categories. | |
4725 | |
4726 * coding.h (CODING_CATEGORY_IDX_UTF_8, | |
4727 CODING_CATEGORY_IDX_UTF_16_BE, CODING_CATEGORY_IDX_UTF_16_LE): New | |
4728 macros. | |
4729 (CODING_CATEGORY_IDX_RAW_TEXT, CODING_CATEGORY_IDX_BINARY, | |
4730 CODING_CATEGORY_IDX_MAX): Adjusted for the above macros. | |
4731 CODING_CATEGORY_IDX_UTF_16_LE. | |
4732 (CODING_CATEGORY_MASK_UTF_8, CODING_CATEGORY_MASK_UTF_16_BE, | |
4733 CODING_CATEGORY_MASK_UTF_16_LE): New macros. | |
4734 (CODING_CATEGORY_MASK_ANY): Include the above macros. | |
4735 (CODING_CATEGORY_MASK_UTF_16_BE_LE): New macro. | |
4736 | |
28026 | 4737 2000-03-07 Gerd Moellmann <gerd@gnu.org> |
4738 | |
28037 | 4739 * doc.c (Fdocumentation_property): If value is not a string, |
4740 and doesn't refer to etc/DOC, evaluate it to obtain a string. | |
4741 | |
28035 | 4742 * xterm.c (x_connection_closed) [USE_X_TOOLKIT]: Don't try to |
4743 close the display with XtCloseDisplay. This caused a bus error | |
4744 on OpenWindows. | |
4745 | |
28027 | 4746 * minibuf.c (Fminibuffer_complete): Move point to ZV when input is |
4747 complete but not unique. | |
28026 | 4748 |
28011 | 4749 2000-03-06 Gerd Moellmann <gerd@gnu.org> |
4750 | |
28014 | 4751 * process.c (send_process): Remove local variable `procname' that |
4752 might become invalid when a GC happens. Instead, access the | |
4753 process name slot directly. | |
4754 | |
28011 | 4755 * xfns.c (x_set_menu_bar_lines_1): Adjust window's orig_top and |
4756 orig_height if set. | |
4757 | |
4758 * frame.c (set_menu_bar_lines_1): Adjust window's orig_top and | |
4759 orig_height if set. | |
4760 | |
28009 | 4761 2000-03-06 Eli Zaretskii <eliz@is.elta.co.il> |
4762 | |
4763 * msdos.c (IT_note_mouse_highlight): Return immediately if frame's | |
4764 glyph matrices have been freed. | |
4765 | |
27995 | 4766 2000-03-05 Gerd Moellmann <gerd@gnu.org> |
4767 | |
28005 | 4768 * Makefile.in (tags): Include ../lwlib/TAGS in TAGS. |
28007 | 4769 (bootstrap-temacs): Set LC_ALL to C like for temacs. |
28005 | 4770 |
4771 * xfns.c (QCdata): Moved to xdisp.c. | |
4772 | |
4773 * xdisp.c (QCdata): Moved here from xfns.c. | |
4774 (syms_of_xdisp): Initialize QCdata. | |
4775 | |
4776 * frame.h (FRAME_INTERNAL_BORDER_WIDTH) [!HAVE_X_WINDOWS]: Define. | |
4777 | |
4778 * window.c (coordinates_in_window): Use | |
4779 FRAME_INTERNAL_BORDER_WIDTH_SAFE instead of | |
4780 FRAME_INTERNAL_BORDER_WIDTH. | |
4781 | |
27995 | 4782 * xdisp.c (try_window_id): Recompute unchanged information if |
28011 | 4783 it is obviously invalid. |
27995 | 4784 |
4785 * xterm.c (x_term_init): Create a colormap if not using the | |
4786 default visual. | |
4787 | |
4788 * xterm.h (select_visual): Change prototype. | |
4789 | |
4790 * xfns.c (select_visual): Rewritten. Recognize user-specified | |
4791 visual classes. | |
4792 (visual_classes): New variable. | |
4793 | |
27989 | 4794 2000-03-04 Gerd Moellmann <gerd@gnu.org> |
4795 | |
4796 * xfns.c (x_defined_color, x_set_mouse_color, lookup_rgb_color) | |
4797 (lookup_pixel_color, x_laplace, x_build_heuristic_mask) | |
4798 (png_load): Access colormap of frame using FRAME_X_COLORMAP. | |
4799 (x_decode_color): Don't handle allocation of white and black | |
4800 specially. | |
4801 (x_window) [USE_X_TOOLKIT]: Set XtNvisual, XtNdepth, and | |
4802 XtNcolormap resources. | |
4803 (x_window) [!USE_X_TOOLKIT]: Pass colormap to XCreateWindow. | |
4804 (Fx_create_frame): Initialize color members of x_output structure. | |
4805 (xpm_load): Pass colormap to XPM lib. | |
4806 | |
4807 * xfaces.c (x_free_colors): Access colormap of frame using | |
4808 FRAME_X_COLORMAP. Be paranoid about freeing black and white | |
4809 when default colormap is used. | |
4810 | |
4811 * xterm.c (x_term_init): Set Colormap member of x_display_info | |
4812 structure. Copy colormap if resource `privateColormap' is | |
4813 specified (PseudoColor only). | |
4814 (x_setup_relief_color): Access colormap of frame using | |
4815 FRAME_X_COLORMAP. | |
4816 | |
4817 * xterm.h (struct x_display_info): Add Colormap member `cmap'. | |
4818 (FRAME_X_COLORMAP, FRAME_X_VISUAL): New macros. | |
4819 | |
27983 | 4820 2000-03-04 Jason Rumney <jasonr@gnu.org> |
4821 | |
4822 * xfaces.c Change many FRAME_X... macros to FRAME_WINDOW... or | |
4823 other non-platform-specific equivalents. | |
27989 | 4824 [WINDOWSNT]: Include w32term.h, fontset.h and define X |
27983 | 4825 specific functions and macros as their w32 equivalents where |
4826 non-platform-specifics are not available. | |
4827 [HAVE_X_WINDOWS]: Change most of these to HAVE_WINDOW_SYSTEM. | |
4828 (x_create_gc, x_free_gc) [WINDOWSNT]: Add W32 versions. | |
4829 (clear_font_table) [WINDOWSNT]: Call w32_unload_font. | |
4830 (frame_update_line_height): Use macros to access f->output_data. | |
4831 (defined_color): Remove FIXME comments; fixed. | |
4832 (x_face_list_fonts, prepare_face_for_display): Put X specifics | |
4833 into #ifdef blocks. Add WINDOWSNT blocks. | |
4834 (Fx_list_fonts): Use macros for accessing font data. | |
4835 (set_lface_from_font_name): Different default fonts for X and | |
4836 WINDOWSNT. | |
4837 (font_scalable_p) [WINDOWSNT]: Treat wildcard XLFD_AVGWIDTH as | |
4838 scalable for backward compatibility. | |
27989 | 4839 (realize_tty_face) [MSDOS]: Do the same for WINDOWSNT. |
27983 | 4840 (syms_of_xfaces) [WINDOWSNT]: Allow scalable fonts by default. |
4841 | |
27989 | 4842 * emacs.c (main) [HAVE_NTGUI]: Call syms_of_xfaces instead of |
27983 | 4843 syms_of_w32faces. |
4844 | |
4845 * makefile.nt (w32faces.obj): Remove. | |
4846 (xfaces.obj): Add. | |
4847 | |
27978 | 4848 2000-03-03 Jason Rumney <jasonr@gnu.org> |
4849 | |
4850 * keyboard.c (make_lispy_event): Call buffer_posn_from_coords with | |
4851 correct parameters. | |
4852 | |
27977
026eb782382e
* unexelf.c (PT_LOAD, SHT_*, SHN_*) [__NetBSD__]: Only provide
Ken Raeburn <raeburn@raeburn.org>
parents:
27976
diff
changeset
|
4853 2000-03-03 Ken Raeburn <raeburn@gnu.org> |
026eb782382e
* unexelf.c (PT_LOAD, SHT_*, SHN_*) [__NetBSD__]: Only provide
Ken Raeburn <raeburn@raeburn.org>
parents:
27976
diff
changeset
|
4854 |
026eb782382e
* unexelf.c (PT_LOAD, SHT_*, SHN_*) [__NetBSD__]: Only provide
Ken Raeburn <raeburn@raeburn.org>
parents:
27976
diff
changeset
|
4855 * unexelf.c (PT_LOAD, SHT_*, SHN_*) [__NetBSD__]: Only provide |
026eb782382e
* unexelf.c (PT_LOAD, SHT_*, SHN_*) [__NetBSD__]: Only provide
Ken Raeburn <raeburn@raeburn.org>
parents:
27976
diff
changeset
|
4856 standard ELF definitions here if the system header does not. |
026eb782382e
* unexelf.c (PT_LOAD, SHT_*, SHN_*) [__NetBSD__]: Only provide
Ken Raeburn <raeburn@raeburn.org>
parents:
27976
diff
changeset
|
4857 |
27976 | 4858 2000-03-03 Gerd Moellmann <gerd@gnu.org> |
4859 | |
4860 * xterm.c (PER_CHAR_METRIC): Removed. | |
4861 (x_per_char_metric_1, x_default_char): New functions. | |
4862 (x_per_char_metric): If font's default char is invalid, return | |
4863 metrics of a suitably chosen usable default char. | |
4864 (x_draw_glyph_string_foreground): If font has an invalid default | |
27989 | 4865 char, replace occurrences of unprintable chars with a suitably |
4866 chosen usable default char. | |
27976 | 4867 |
27965 | 4868 2000-03-02 Gerd Moellmann <gerd@gnu.org> |
4869 | |
27969 | 4870 * xterm.c (note_mouse_highlight): Return quickly if frame's |
4871 glyph matrices have been freed. | |
4872 | |
4873 * dispnew.c (free_glyphs): Block input while freeing matrices. | |
4874 | |
27965 | 4875 * xfns.c (x_clear_image, x_kill_gs_process): Use x_free_colors. |
4876 | |
4877 * xterm.c (x_alloc_lighter_color, x_setup_relief_color): Use | |
4878 x_free_colors. | |
4879 | |
4880 * dispextern.h (x_free_colors): Add prototype. | |
4881 | |
4882 * xfaces.c (x_free_colors): New function. | |
4883 (unload_color, free_face_colors): Use it. | |
4884 | |
27958 | 4885 2000-03-02 Eli Zaretskii <eliz@is.elta.co.il> |
4886 | |
4887 * msdos.h (FRAME_INTERNAL_BORDER_WIDTH): Define to zero. | |
4888 | |
4889 * window.c [MSDOS]: Include msdos.h. | |
4890 | |
27954 | 4891 2000-03-02 Dave Love <fx@gnu.org> |
4892 | |
4893 * m/powerpcle.h, m/sparc.h: Don't set C_OPTIMIZE_SWITCH. | |
4894 | |
4895 * m/mips-siemens.h, m/news-r6.h, m/news-risc.h, m/tekxd88.h: Don't | |
4896 set C_OPTIMIZE_SWITCH for gcc. | |
4897 | |
27942 | 4898 2000-03-02 Kenichi Handa <handa@etl.go.jp> |
4899 | |
4900 * coding.c (coding_save_composition): Be sure to allocate | |
4901 composition data area in coding even if there's no composition in | |
4902 the current run. | |
4903 | |
27938 | 4904 2000-03-01 Jason Rumney <jasonr@gnu.org> |
4905 | |
4906 * w32term.c: Equivalent changes to those made to xterm.c on | |
4907 2000-02-25 and 2000-02-24. | |
4908 | |
4909 * w32fns.c: Equivalent changes to those made to xfns.c on | |
4910 2000-02-25 and 2000-02-21. | |
4911 | |
4912 * sysdep.c: [WINDOWSNT]: Use sys_read and sys_write to ensure | |
4913 correct line-end convention is followed. | |
4914 | |
4915 * w32menu.c [HAVE_BOXES]: Remove #undef. | |
4916 (single_keymap_panes): Remove code for simulating checkmarks. | |
4917 (single_menu_item): Remove notbuttons_ptr argument. Callers changed. | |
4918 Remove code for drawing simulated checkmarks. | |
4919 (w32_menu_show): make unibyte help string correctly. | |
4920 (add_menu_item): draw standard Windows checkmarks. Draw radio | |
4921 buttons as radio buttons if possible. | |
4922 | |
27919 | 4923 2000-03-01 Gerd Moellmann <gerd@gnu.org> |
4924 | |
27927 | 4925 * sysdep.c (start_of_text): Don't define this function for NetBSD |
4926 with ELF. | |
4927 | |
29803
3dec4cd5e361
Don't declare xmalloc, xrealloc.
Sam Steingold <sds@gnu.org>
parents:
29802
diff
changeset
|
4928 * m/pmax.h (START_FILES, CANNOT_DUMP) [__NetBSD__ || __OpenBSD__]: |
27927 | 4929 Don't define. |
4930 (UNEXEC) [__NetBSD__ || __OpenBSD__]: Define to unexelf.o. | |
4931 (LINKER): Don't undef if __NetBSD__ is defined. | |
4932 | |
4933 * m/mips.h (LINKER) [__NetBSD__ || __OpenBSD__]: Don't define. | |
4934 | |
4935 * fileio.c [__NetBSD__]: Define `unix'. | |
4936 | |
27919 | 4937 * xfns.c (start_busy_cursor): Allow floats for busy-cursor-delay. |
4938 | |
27910 | 4939 2000-02-29 Gerd Moellmann <gerd@gnu.org> |
4940 | |
27914 | 4941 * atimer.c (start_atimer): Don't abort when timers are stopped. |
4942 (append_atimer_lists): New function. | |
4943 (cancel_atimer, stop_other_atimers, run_all_atimers): Handle | |
4944 arbitrary lists of stopped and running atimers. | |
4945 | |
27910 | 4946 * atimer.c (cancel_atimer): Handle canceling an atimer when |
4947 some timers are stopped. | |
4948 | |
4949 * xfns.c (cancel_busy_cursor): Set busy_cursor_atimer to null | |
4950 after canceling it. | |
4951 | |
4952 * fns.c (maybe_resize_hash_table): Handle case of new size | |
4953 coming out as being the same as old size. | |
4954 | |
27898 | 4955 2000-02-27 Jason Rumney <jasonr@gnu.org> |
4956 | |
4957 * makefile.nt: Add atimer.h to dependencies. | |
4958 * w32.c (init_environment): Set Vw32_num_mouse_buttons here. | |
4959 * w32console.c: Only disable window system features for dispextern.h | |
4960 (initialize_w32_display): Build a display info for the console. | |
4961 * w32faces.c (tty_defined_color): Apply xfaces.c change from 02-17. | |
4962 * w32fns.c (w32_wnd_proc) [WM_LBUTTON_DOWN, WM_RBUTTON_DOWN, | |
4963 WM_LBUTTON_UP, WM_RBUTTON_UP]: Do not treat 4 or more button mice | |
4964 as 2 button mice. | |
4965 * w32gui.h (struct W32FontStruct): Revert last change after change | |
4966 to xdisp.c. | |
4967 * w32menu.c (single_submenu): Set up help string. | |
4968 [!HAVE_MULTILINGUAL_MENU]: Don't overwrite item_name with descrip. | |
4969 (w32_dialog_show): Set up help string. | |
4970 * w32term.c (w32_display_info_for_display): Remove unused function. | |
4971 (w32_draw_bitmap): Use pre-built bitmaps. | |
4972 (w32_initialize_display_info): New function to initialize parts of | |
4973 display info that are common to both GUI and console frames. | |
4974 (w32_term_init): Use w32_initialize_display_info. Do not set | |
4975 Vw32_num_mouse_buttons here, as it is not called for console | |
4976 frames. Build bitmaps for indicating truncated lines etc. | |
4977 (x_delete_display): Destroy pre-built bitmaps. | |
4978 * xdisp.c (handle_single_display_prop): Use FONT_HEIGHT macro. | |
4979 (echo_area_display): Change HAVE_X_WINDOWS to HAVE_WINDOW_SYSTEM. | |
4980 | |
27886 | 4981 2000-02-27 Dave Love <fx@gnu.org> |
4982 | |
4983 * lisp.h: Add a bunch of prototypes. | |
4984 | |
27878 | 4985 2000-02-26 Kenichi Handa <handa@etl.go.jp> |
4986 | |
27879 | 4987 * keyboard.c (read_char): Set `usec' correctly. |
27878 | 4988 |
27876 | 4989 2000-02-25 Miyashita Hisashi <himi@bird.scphys.kyoto-u.ac.jp> |
4990 | |
4991 * ccl.c (ccl_driver) [CCL_MapMultiple]: When the mapped value is | |
4992 `lambda', set reg[RRR] to the map index. | |
4993 (ccl_driver) [CCL_MapSingle]: When the mapped value is found, set | |
4994 reg[RRR] to 0. Otherwise, set it to -1. | |
4995 | |
27875 | 4996 2000-02-25 Gerd Moellmann <gerd@gnu.org> |
4997 | |
27927 | 4998 * emacs.c (main): Remove code snippet commented out with `//'. |
27875 | 4999 |
30337
5861c80aa795
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
30329
diff
changeset
|
5000 2000-02-25 Richard M. Stallman <rms@gnu.org> |
29803
3dec4cd5e361
Don't declare xmalloc, xrealloc.
Sam Steingold <sds@gnu.org>
parents:
29802
diff
changeset
|
5001 |
27873 | 5002 * fileio.c (Ffile_symlink_p): If result starts with a `/' |
5003 and contains a `:', prepend `/:'. | |
5004 | |
5005 * window.c (select_window_1): If selected_window is nil, | |
5006 don't "swap out" the buffer's point. | |
5007 (Fset_window_configuration): Set selected_window to nil | |
5008 before calling Fselect_window. | |
5009 (unshow_buffer): Don't set point in buffer from window's point | |
5010 if another more recently selected window also shows the buffer. | |
5011 | |
27849 | 5012 2000-02-25 Gerd Moellmann <gerd@gnu.org> |
5013 | |
27868 | 5014 * keyboard.c (recursive_edit_1): Cancel busy-cursor. |
5015 | |
27866 | 5016 * xfns.c (inhibit_busy_cursor, busy_count): Removed. |
5017 (Fx_show_busy_cursor, Fx_hide_busy_cursor): Removed. | |
5018 (busy_cursor_atimer, busy_cursor_shown_p, Vbusy_cursor_delay): New | |
5019 variables. | |
5020 (DEFAULT_BUSY_CURSOR_DELAY): New define. | |
5021 (start_busy_cursor, cancel_busy_cursor, show_busy_cursor) | |
5022 (hide_busy_cursor): New functions. | |
5023 (syms_of_xfns): DEFVAR_LISP Vbusy_cursor_delay. | |
5024 | |
5025 * minibuf.c (read_minibuf): Cancel busy-cursor. | |
5026 | |
5027 * keyboard.c (command_loop_1): Call start_busy_cursor before | |
5028 Fcommand_execute and cancel_busy_cursor after it. | |
5029 (timer_check): Remove busy-cursor code. | |
5030 (Fread_key_sequence, Fread_key_sequence_vector): Start/cancel busy | |
5031 cursor timer. | |
5032 | |
5033 * process.c (wait_reading_process_input): Remove busy-cursor code. | |
5034 | |
5035 * eval.c (Fsignal): Call cancel_busy_cursor instead of | |
5036 Fx_hide_busy_cursor. | |
5037 | |
5038 * dispextern.h (Fx_show_busy_cursor, Fx_hide_busy_cursor): | |
5039 Remove prototyoes. | |
5040 (start_busy_cursor, cancel_busy_cursor): Add prototypes. | |
5041 | |
5042 * lisp.h (Fx_hide_busy_cursor): Remove prototype. | |
5043 | |
5044 * xterm.c (XTread_socket): Remove busy-cursor code. | |
5045 | |
27856 | 5046 * dispnew.c (flush_stdout) [GLYPH_DEBUG]: New function. |
5047 (build_frame_matrix_from_leaf_window): Put code handling | |
5048 glyph row's not being a slice of a frame row in #if 0. | |
5049 (sync_window_with_frame_matrix_rows): New function. | |
5050 (frame_row_to_window): New function. | |
5051 (mirror_line_dance): Handle copies between windows. | |
5052 | |
27853 | 5053 * lread.c (Fload): Use `xfree' instead of `free'. |
5054 (init_obarray): Use `xmalloc' instead of `malloc'. | |
5055 | |
27849 | 5056 * window.c (Fset_window_buffer): Set WINDOW to the window |
5057 after decoding. | |
27851 | 5058 (coordinates_in_window): Take frame's internal border width |
5059 into account. | |
27849 | 5060 |
27847 | 5061 2000-02-24 Gerd Moellmann <gerd@gnu.org> |
5062 | |
5063 * xterm.c (x_display_and_set_cursor): Display cursor of | |
5064 non-selected windows depending on the setting of | |
5065 cursor_in_non_selected_windows. | |
5066 | |
5067 * xdisp.c (cursor_in_non_selected_windows): New variable. | |
5068 (syms_of_xdisp): DEFVAR_BOOL it. | |
5069 | |
27820 | 5070 2000-02-23 Gerd Moellmann <gerd@gnu.org> |
5071 | |
27827 | 5072 * data.c (Fstring_to_number): If number is greater than what |
5073 fits into an integer, return a float. | |
5074 | |
27820 | 5075 * eval.c (specbind): Remove references to |
5076 keyword_symbols_constant_flag. | |
5077 | |
5078 * data.c (keyword_symbols_constant_flag): Removed. | |
5079 (Fmakunbound, set_internal, syms_of_data): Remove references to | |
5080 keyword_symbols_constant_flag. | |
5081 | |
5082 * bytecode.c (Fbyte_code): Remove keyword_symbols_constant_flag. | |
5083 | |
27813 | 5084 2000-02-23 Kenichi Handa <handa@etl.go.jp> |
5085 | |
5086 * syntax.c (multibyte_syntax_as_symbol): New variable. | |
5087 (syms_of_syntax): Declare it as a Lisp variable. | |
5088 (SYNTAX_WITH_MULTIBYTE_CHECK): New macro. | |
5089 (scan_lists): If both sexpflag and multibyte_syntax_as_symbol are | |
5090 nonzero, treat all multibyte characters as symbol. | |
27847 | 5091 (init_syntax_once): Give syntax `word' to all multibyte |
27813 | 5092 characters. |
5093 | |
27801 | 5094 2000-02-22 Eli Zaretskii <eliz@is.elta.co.il> |
5095 | |
27853 | 5096 * frame.c (Fdelete_frame): Don't let echo_area_window remain on |
30196
52c1b7a2e7a5
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
30183
diff
changeset
|
5097 a deleted frame. |
27801 | 5098 |
27799 | 5099 2000-02-21 Gerd Moellmann <gerd@gnu.org> |
5100 | |
5101 * frame.c (Fmouse_position): GCPRO retval instead of x and y. | |
5102 | |
5103 * xfns.c (x_window_to_frame, x_any_window_to_frame) | |
5104 (x_non_menubar_window_to_frame): Check the busy-cursor window. | |
5105 | |
27796 | 5106 2000-02-21 Dave Love <fx@gnu.org> |
5107 | |
5108 * frame.c (Vmouse_position_function): New variable. | |
5109 (Fmouse_position): Use it. | |
5110 (syms_of_frame): Install it. | |
5111 | |
5112 * charset.c (find_charset_in_str): Fix use of `c' instead of `c1'. | |
5113 | |
27790 | 5114 2000-02-20 Gerd Moellmann <gerd@gnu.org> |
5115 | |
5116 * fileio.c (Finsert_file_contents): Unbind the binding of | |
5117 standard-output done by temp_output_buffer_setup. | |
27785 | 5118 |
5119 * eval.c (funcall_lambda): Don't bind Qmocklisp_arguments unless | |
5120 Vmocklisp_arguments is nil. Inline Fcar and Fcdr. | |
5121 (specbind, unbind_to): Handle most common case of non-constant | |
5122 symbol with trivial value specially. | |
5123 | |
5124 * bytecode.c (Fbyte_code) <Bvarset>: Inline most common case. | |
5125 | |
30337
5861c80aa795
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
30329
diff
changeset
|
5126 2000-02-20 Richard M. Stallman <rms@gnu.org> |
27780
72cae205b4f4
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27776
diff
changeset
|
5127 |
72cae205b4f4
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27776
diff
changeset
|
5128 * data.c (Fmake_variable_buffer_local): Doc fix. |
72cae205b4f4
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27776
diff
changeset
|
5129 Init found_for_buffer to 0. |
72cae205b4f4
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27776
diff
changeset
|
5130 (Fmake_variable_frame_local): If the variable has already |
72cae205b4f4
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27776
diff
changeset
|
5131 been buffer-local, set the check_frame field. |
72cae205b4f4
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27776
diff
changeset
|
5132 |
27776 | 5133 2000-02-20 Eli Zaretskii <eliz@is.elta.co.il> |
5134 | |
5135 * msdos.c (IT_write_glyphs): Allocate a larger screen_buf as data | |
5136 produced for CODING_MODE_LAST_BLOCK requires. | |
5137 | |
27767 | 5138 2000-02-18 Dave Love <fx@gnu.org> |
5139 | |
5140 * keyboard.c (echo_keystrokes): Remove declaration. | |
5141 (Vecho_keystrokes) New variable. | |
5142 (read_char, record_menu_key, read_key_sequence): Use it to allow | |
5143 use of float value. | |
5144 (syms_of_keyboard): Change Vecho_keystrokes declaration. | |
5145 | |
5146 * lread.c: Undef feature selection macros before defining. | |
5147 | |
27759 | 5148 2000-02-18 Gerd Moellmann <gerd@gnu.org> |
5149 | |
5150 * data.c (let_shadows_buffer_binding_p): Ignore specbindings | |
5151 for symbols other than the symbol in question. | |
5152 | |
27751 | 5153 2000-02-17 Dave Love <fx@gnu.org> |
5154 | |
5155 * s/sol2.h (C_DEBUG_SWITCH): Define to allow optimization. | |
5156 | |
27747 | 5157 2000-02-17 Gerd Moellmann <gerd@gnu.org> |
5158 | |
27749 | 5159 * emacs.c (main): Use #if GC_MARK_STACK instead of #ifdef. |
5160 | |
27747 | 5161 * alloc.c (enum mem_type): Compile unconditionally. |
5162 | |
27744 | 5163 2000-02-17 Eli Zaretskii <eliz@is.elta.co.il> |
5164 | |
5165 * xfaces.c (tty_defined_color): Don't return faulire indication | |
5166 for unspecified-fg and unspecified-bg pseudo-colors. | |
5167 | |
27726 | 5168 2000-02-17 Gerd Moellmann <gerd@gnu.org> |
5169 | |
27742 | 5170 * alloc.c (mark_object): Don't mark symbol names in pure space. |
5171 (gc_sweep): Don't unmark symbol names in pure space. | |
5172 | |
5173 * lisp.h (GC_USE_GCPROS_AS_BEFORE, GC_MAKE_GCPROS_NOOPS) | |
5174 (GC_MARK_STACK_CHECK_GCPROS, GC_USE_GCPROS_CHECK_ZOMBIES) | |
5175 [GC_MARK_STACK]: New defines. | |
29803
3dec4cd5e361
Don't declare xmalloc, xrealloc.
Sam Steingold <sds@gnu.org>
parents:
29802
diff
changeset
|
5176 (GCPRO1, GCPRO2, GCPRO3, GCPRO4, GCPRO5, UNGCPRO) |
27742 | 5177 [GC_MARK_STACK == GC_MAKE_GCPROS_NOOPS]: Define as no-ops. |
5178 | |
5179 * emacs.c (main) [GC_MARK_STACK]: Initialize stack_base. | |
5180 | |
5181 * buffer.c (Fget_buffer_create, Fmake_indirect_buffer): Use | |
5182 allocate_buffer instead of xmalloc. | |
5183 | |
5184 * alloc.c (toplevel): Include setjmp.h. | |
5185 (PURE_POINTER_P): New define. | |
5186 (enum mem_type) [GC_MARK_STACK]: New enumeration. | |
5187 (Vdead) [GC_MARK_STACK]: New variable. | |
5188 (lisp_malloc): Add parameter TYPE, call mem_insert if | |
5189 GC_MARK_STACK is defined. | |
5190 (allocate_buffer): New function. | |
29803
3dec4cd5e361
Don't declare xmalloc, xrealloc.
Sam Steingold <sds@gnu.org>
parents:
29802
diff
changeset
|
5191 (lisp_free) [GC_MARK_STACK]: Call mem_delete. |
27742 | 5192 (free_float) [GC_MARK_STACK]: Set type to Vdead. |
5193 (free_cons) [GC_MARK_STACK]: Set car to Vdead. | |
5194 (stack_base, mem_root, mem_z) [GC_MARK_STACK]: New variables. | |
5195 (MEM_NIL) [GC_MARK_STACK]: New define. | |
5196 (struct mem_node) [GC_MARK_STACK]: New structure. | |
5197 (mem_init, mem_find, mem_insert, mem_delete, mem_insert_fixup) | |
5198 (mem_delete_fixup, mem_rotate_left, mem_rotate_right) | |
5199 (live_string_p, live_cons_p, live_symbol_p, live_float_p) | |
5200 (live_misc_p, live_vector_p, live_buffer_p, mark_memory) | |
5201 (mark_stack) [GC_MARK_STACK]: New functions. | |
5202 (Fgarbage_collect) [GC_MARK_STACK]: Call mark_stack. | |
5203 (clear_marks): Removed. | |
5204 (gc_sweep): Set free conses' car, free floats' type, free | |
5205 symbols' function to Vdead. Use lisp_free to free buffers. | |
5206 (init_alloc_once): Initialize Vdead. | |
5207 (survives_gc_p): Return non-zero for pure objects. | |
5208 | |
5209 * alloc.c: Add comments throughout the file. | |
5210 | |
27735 | 5211 * atimer.c (stop_other_atimers): Don't call cancel_atimer because |
5212 that unblocks alarms. | |
5213 | |
27729 | 5214 * alloc.c, bytecode.c, data.c, dispnew.c, ecrt0.c, editfns.c, |
5215 emacs.c, floatfns.c, fns.c, lread.c, print.c, config.in, lisp.h, | |
5216 Makefile.in: Remove `LISP_FLOAT_TYPE' and `standalone'. | |
5217 | |
27726 | 5218 * frame.c (make_frame): Set frame initiallly to `garbaged'. |
29803
3dec4cd5e361
Don't declare xmalloc, xrealloc.
Sam Steingold <sds@gnu.org>
parents:
29802
diff
changeset
|
5219 |
27720 | 5220 2000-02-17 Kenichi Handa <handa@etl.go.jp> |
5221 | |
27722 | 5222 * xdisp.c (decode_mode_spec_coding): Delete superfluous code to |
27723 | 5223 avoid infinite error signaling. Allocate sufficient memory for |
27722 | 5224 eol_str in the case that eoltype is Lisp_Int. |
27720 | 5225 |
27719
73926d5a4d9f
(Fforward_comment): Undo the previous change, since cc-mode
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
27710
diff
changeset
|
5226 2000-02-17 Stefan Monnier <monnier@cs.yale.edu> |
73926d5a4d9f
(Fforward_comment): Undo the previous change, since cc-mode
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
27710
diff
changeset
|
5227 |
73926d5a4d9f
(Fforward_comment): Undo the previous change, since cc-mode
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
27710
diff
changeset
|
5228 * syntax.c (Fforward_comment): Undo the previous change, since cc-mode |
73926d5a4d9f
(Fforward_comment): Undo the previous change, since cc-mode
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
27710
diff
changeset
|
5229 depends on the previous behavior. |
73926d5a4d9f
(Fforward_comment): Undo the previous change, since cc-mode
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
27710
diff
changeset
|
5230 |
27710 | 5231 2000-02-16 Gerd Moellmann <gerd@gnu.org> |
5232 | |
5233 * sysdep.c (vfork) [!HAVE_VFORK]: Removed. | |
5234 | |
27707 | 5235 2000-02-15 Gerd Moellmann <gerd@gnu.org> |
5236 | |
5237 * s/freebsd.h (BROKEN_PTY_READ_AFTER_EAGAIN): Define. | |
5238 | |
5239 * process.c (send_process) [BROKEN_PTY_READ_AFTER_EAGAIN]: | |
27710 | 5240 Workaround for FreeBSD bug. Clear output queue after EAGAIN in |
27707 | 5241 write(2). |
5242 | |
27702
50df459c86d1
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27700
diff
changeset
|
5243 2000-02-15 Richard M. Stallman <rms@gnu.org> |
50df459c86d1
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27700
diff
changeset
|
5244 |
50df459c86d1
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27700
diff
changeset
|
5245 * data.c (set_internal): Don't make variable buffer-local |
50df459c86d1
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27700
diff
changeset
|
5246 if within a let-binding for the same buffer. |
50df459c86d1
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27700
diff
changeset
|
5247 (let_shadows_buffer_binding_p): New function. |
50df459c86d1
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27700
diff
changeset
|
5248 |
50df459c86d1
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27700
diff
changeset
|
5249 * eval.c (specbind): For buffer-local value, |
50df459c86d1
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27700
diff
changeset
|
5250 record the current buffer also. |
50df459c86d1
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27700
diff
changeset
|
5251 (unbind_to): Cope with that change. |
50df459c86d1
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27700
diff
changeset
|
5252 |
27700 | 5253 2000-02-15 Gerd Moellmann <gerd@gnu.org> |
5254 | |
5255 * window.c (Fsave_window_excursion): Doc fix. | |
5256 | |
27698
9c61956399b2
(back_comment): Make sure we only consider comment-starters
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
27697
diff
changeset
|
5257 2000-02-15 Stefan Monnier <monnier@cs.yale.edu> |
9c61956399b2
(back_comment): Make sure we only consider comment-starters
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
27697
diff
changeset
|
5258 |
9c61956399b2
(back_comment): Make sure we only consider comment-starters
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
27697
diff
changeset
|
5259 * syntax.c (back_comment): Make sure we only consider comment-starters |
9c61956399b2
(back_comment): Make sure we only consider comment-starters
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
27697
diff
changeset
|
5260 of the relevant style and return -1 in case of a failure to find the |
9c61956399b2
(back_comment): Make sure we only consider comment-starters
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
27697
diff
changeset
|
5261 beginning of the comment. |
9c61956399b2
(back_comment): Make sure we only consider comment-starters
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
27697
diff
changeset
|
5262 (Fforward_comment): If back_comment fails, go back to the position just |
9c61956399b2
(back_comment): Make sure we only consider comment-starters
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
27697
diff
changeset
|
5263 after the comment-end. |
9c61956399b2
(back_comment): Make sure we only consider comment-starters
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
27697
diff
changeset
|
5264 (scan_lists): Add comment describing a very minor bug. |
9c61956399b2
(back_comment): Make sure we only consider comment-starters
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
27697
diff
changeset
|
5265 |
27697
409a708c27b3
(Ftry_completion, Fall_completions): Add a reference to
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
27696
diff
changeset
|
5266 2000-02-14 Stefan Monnier <monnier@cs.yale.edu> |
409a708c27b3
(Ftry_completion, Fall_completions): Add a reference to
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
27696
diff
changeset
|
5267 |
409a708c27b3
(Ftry_completion, Fall_completions): Add a reference to
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
27696
diff
changeset
|
5268 * minibuf.c (Ftry_completion, Fall_completions): Add a reference to |
409a708c27b3
(Ftry_completion, Fall_completions): Add a reference to
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
27696
diff
changeset
|
5269 `completion-regexp-list' in the docstring. |
409a708c27b3
(Ftry_completion, Fall_completions): Add a reference to
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
27696
diff
changeset
|
5270 |
27696 | 5271 2000-02-14 Dave Love <fx@gnu.org> |
5272 | |
5273 * xfaces.c (tty_defined_color): Declare color_idx unsigned long. | |
5274 | |
27692
bb0e45f6ca86
* regex.h (RE_SYNTAX_EMACS): Add RE_CHAR_CLASSES and RE_INTERVALS
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
27689
diff
changeset
|
5275 2000-02-14 Stefan Monnier <monnier@cs.yale.edu> |
bb0e45f6ca86
* regex.h (RE_SYNTAX_EMACS): Add RE_CHAR_CLASSES and RE_INTERVALS
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
27689
diff
changeset
|
5276 |
bb0e45f6ca86
* regex.h (RE_SYNTAX_EMACS): Add RE_CHAR_CLASSES and RE_INTERVALS
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
27689
diff
changeset
|
5277 * regex.h (RE_SYNTAX_EMACS): Add RE_CHAR_CLASSES and RE_INTERVALS |
bb0e45f6ca86
* regex.h (RE_SYNTAX_EMACS): Add RE_CHAR_CLASSES and RE_INTERVALS
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
27689
diff
changeset
|
5278 to Emacs' syntax. Also fix the comment about set/not-set meanings |
bb0e45f6ca86
* regex.h (RE_SYNTAX_EMACS): Add RE_CHAR_CLASSES and RE_INTERVALS
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
27689
diff
changeset
|
5279 since Emacs syntax is not the value 0 any more. |
bb0e45f6ca86
* regex.h (RE_SYNTAX_EMACS): Add RE_CHAR_CLASSES and RE_INTERVALS
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
27689
diff
changeset
|
5280 * search.c (compile_pattern_1): Remove RE_CHAR_CLASSES from the syntax |
bb0e45f6ca86
* regex.h (RE_SYNTAX_EMACS): Add RE_CHAR_CLASSES and RE_INTERVALS
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
27689
diff
changeset
|
5281 since it's now part of RE_SYNTAX_EMACS. |
bb0e45f6ca86
* regex.h (RE_SYNTAX_EMACS): Add RE_CHAR_CLASSES and RE_INTERVALS
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
27689
diff
changeset
|
5282 |
27689 | 5283 2000-02-12 Dave Love <fx@gnu.org> |
5284 | |
5285 * frame.h (SELECTED_FRAME): Use NULL, not 0 to avoid warnings on | |
5286 Alpha. | |
5287 | |
27687 | 5288 2000-02-12 Gerd Moellmann <gerd@gnu.org> |
5289 | |
5290 * xdisp.c (syms_of_xdisp): Doc fix for scroll-conservatively. | |
5291 | |
27680 | 5292 2000-02-12 Dave Love <fx@gnu.org> |
5293 | |
5294 * s/aix3-2.h, s/osf-1.h: Define C_DEBUG_SWITCH for non-gcc. | |
5295 | |
5296 * s/ux4800.h, s/umips.h, s/umax.h, s/sol2.h, s/sco5.h, s/rtu.h: | |
27687 | 5297 * s/ptx4.h, s/umax.h, s/dgux.h, s/bsd4-2.h, s/bsd4-3.h: |
5298 * s/hpux.h: Don't define HAVE_VFORK. | |
27680 | 5299 |
5300 * s/gnu-linux.h: Don't define HAVE_VFORK or HAVE_SYS_SIGLIST. | |
5301 | |
5302 * s/nextstep.h: Don't define HAVE_ALLOCA. | |
5303 | |
5304 * config.in: Add vfork bits. | |
5305 | |
27672 | 5306 2000-02-12 Gerd Moellmann <gerd@gnu.org> |
5307 | |
5308 * process.c (Fopen_network_stream) [POLL_FOR_INPUT]: Register | |
5309 unwind function to undo the effect of stopping atimers. | |
5310 | |
5311 * keyboard.c (bind_polling_period): Stop all timers except | |
5312 poll_timer. | |
5313 | |
5314 * atimer.c (stopped_atimers): New variable. | |
5315 (stop_other_atimers, run_all_atimers, unwind_stop_other_atimers): | |
5316 New functions. | |
5317 | |
5318 * atimer.h (stop_other_atimers, run_all_atimers) | |
5319 (unwind_stop_other_atimers): Add function prototypes. | |
29803
3dec4cd5e361
Don't declare xmalloc, xrealloc.
Sam Steingold <sds@gnu.org>
parents:
29802
diff
changeset
|
5320 |
27672 | 5321 * s/hpux10.h (HAVE_XRMSETDATABASE): Define if not already defined. |
5322 | |
27665
105b01b90125
* Makefile.in (LIBX): Link in tiff library before jpeg, since tiff library may
Ken Raeburn <raeburn@raeburn.org>
parents:
27663
diff
changeset
|
5323 2000-02-11 Ken Raeburn <raeburn@gnu.org> |
105b01b90125
* Makefile.in (LIBX): Link in tiff library before jpeg, since tiff library may
Ken Raeburn <raeburn@raeburn.org>
parents:
27663
diff
changeset
|
5324 |
105b01b90125
* Makefile.in (LIBX): Link in tiff library before jpeg, since tiff library may
Ken Raeburn <raeburn@raeburn.org>
parents:
27663
diff
changeset
|
5325 * Makefile.in (LIBX): Link in tiff library before jpeg, since tiff |
105b01b90125
* Makefile.in (LIBX): Link in tiff library before jpeg, since tiff library may
Ken Raeburn <raeburn@raeburn.org>
parents:
27663
diff
changeset
|
5326 library may depend on jpeg. |
105b01b90125
* Makefile.in (LIBX): Link in tiff library before jpeg, since tiff library may
Ken Raeburn <raeburn@raeburn.org>
parents:
27663
diff
changeset
|
5327 (atimer.o): Depends on atimer.c. |
105b01b90125
* Makefile.in (LIBX): Link in tiff library before jpeg, since tiff library may
Ken Raeburn <raeburn@raeburn.org>
parents:
27663
diff
changeset
|
5328 |
27663 | 5329 2000-02-11 Kenichi Handa <handa@etl.go.jp> |
5330 | |
5331 * insdel.c (del_range_1): Call update_compositions. | |
5332 (del_range_both): Call update_compositions just once.. | |
5333 | |
27660 | 5334 2000-02-10 Dave Love <fx@gnu.org> |
5335 | |
5336 * xfns.c (create_frame_xic): Fix initialization of automatic | |
5337 aggregates for pcc. | |
5338 | |
27648 | 5339 2000-02-09 Kenichi Handa <handa@etl.go.jp> |
5340 | |
5341 * ccl.c (CCL_MAKE_CHAR): New macro. | |
5342 (ccl_driver) <CCL_TranslateCharacter>: Check the validity of | |
5343 registers by CCL_MAKE_CHAR before calling translate_char. | |
5344 <CCL_TranslateCharacterConstTbl> Likewise. | |
5345 | |
27646 | 5346 2000-02-08 Dave Love <fx@gnu.org> |
5347 | |
5348 * lread.c (__EXTENSIONS__): Define. | |
5349 | |
27644 | 5350 2000-02-08 Gerd Moellmann <gerd@gnu.org> |
5351 | |
5352 * puresize.h (BASE_PURESIZE): Increase to 650000. | |
5353 | |
27641 | 5354 2000-02-07 Eli Zaretskii <eliz@is.elta.co.il> |
5355 | |
5356 * msdos.c (XMenuActivate): Turn off the cursor after displaying | |
5357 the help message. | |
5358 | |
27639 | 5359 2000-02-07 Eli Zaretskii <eliz@is.elta.co.il> |
5360 | |
5361 * s/msdos.h (INTERNAL_TERMINAL): Add capabilities se, so, us, ue, | |
5362 md, mh, mb, mr, and me to the fake termcap entry. | |
5363 | |
27635
8344762c0da2
* sound.c (sound_cleanup): Don't call device close routine if pointer is null.
Ken Raeburn <raeburn@raeburn.org>
parents:
27634
diff
changeset
|
5364 2000-02-06 Ken Raeburn <raeburn@gnu.org> |
8344762c0da2
* sound.c (sound_cleanup): Don't call device close routine if pointer is null.
Ken Raeburn <raeburn@raeburn.org>
parents:
27634
diff
changeset
|
5365 |
8344762c0da2
* sound.c (sound_cleanup): Don't call device close routine if pointer is null.
Ken Raeburn <raeburn@raeburn.org>
parents:
27634
diff
changeset
|
5366 * sound.c (sound_cleanup): Don't call device close routine if the |
8344762c0da2
* sound.c (sound_cleanup): Don't call device close routine if pointer is null.
Ken Raeburn <raeburn@raeburn.org>
parents:
27634
diff
changeset
|
5367 function pointer is null. |
8344762c0da2
* sound.c (sound_cleanup): Don't call device close routine if pointer is null.
Ken Raeburn <raeburn@raeburn.org>
parents:
27634
diff
changeset
|
5368 |
27634
6c9ee29e8955
* dispextern.h: Change HAVE_X_WINDOWS to HAVE_WINDOW_SYSTEM,
Andrew Innes <andrewi@gnu.org>
parents:
27620
diff
changeset
|
5369 2000-02-06 Andrew Innes <andrewi@gnu.org> |
6c9ee29e8955
* dispextern.h: Change HAVE_X_WINDOWS to HAVE_WINDOW_SYSTEM,
Andrew Innes <andrewi@gnu.org>
parents:
27620
diff
changeset
|
5370 |
6c9ee29e8955
* dispextern.h: Change HAVE_X_WINDOWS to HAVE_WINDOW_SYSTEM,
Andrew Innes <andrewi@gnu.org>
parents:
27620
diff
changeset
|
5371 * dispextern.h: Change HAVE_X_WINDOWS to HAVE_WINDOW_SYSTEM, |
6c9ee29e8955
* dispextern.h: Change HAVE_X_WINDOWS to HAVE_WINDOW_SYSTEM,
Andrew Innes <andrewi@gnu.org>
parents:
27620
diff
changeset
|
5372 around image definitions and prototypes. |
6c9ee29e8955
* dispextern.h: Change HAVE_X_WINDOWS to HAVE_WINDOW_SYSTEM,
Andrew Innes <andrewi@gnu.org>
parents:
27620
diff
changeset
|
5373 (gamma_correct) [WINDOWSNT]: New prototype. |
6c9ee29e8955
* dispextern.h: Change HAVE_X_WINDOWS to HAVE_WINDOW_SYSTEM,
Andrew Innes <andrewi@gnu.org>
parents:
27620
diff
changeset
|
5374 |
6c9ee29e8955
* dispextern.h: Change HAVE_X_WINDOWS to HAVE_WINDOW_SYSTEM,
Andrew Innes <andrewi@gnu.org>
parents:
27620
diff
changeset
|
5375 * w32term.c (x_make_frame_visible): Replace call to |
6c9ee29e8955
* dispextern.h: Change HAVE_X_WINDOWS to HAVE_WINDOW_SYSTEM,
Andrew Innes <andrewi@gnu.org>
parents:
27620
diff
changeset
|
5376 input_poll_signal with poll_for_input. |
6c9ee29e8955
* dispextern.h: Change HAVE_X_WINDOWS to HAVE_WINDOW_SYSTEM,
Andrew Innes <andrewi@gnu.org>
parents:
27620
diff
changeset
|
5377 |
6c9ee29e8955
* dispextern.h: Change HAVE_X_WINDOWS to HAVE_WINDOW_SYSTEM,
Andrew Innes <andrewi@gnu.org>
parents:
27620
diff
changeset
|
5378 * window.c [WINDOWSNT]: Include w32term.h. |
6c9ee29e8955
* dispextern.h: Change HAVE_X_WINDOWS to HAVE_WINDOW_SYSTEM,
Andrew Innes <andrewi@gnu.org>
parents:
27620
diff
changeset
|
5379 |
6c9ee29e8955
* dispextern.h: Change HAVE_X_WINDOWS to HAVE_WINDOW_SYSTEM,
Andrew Innes <andrewi@gnu.org>
parents:
27620
diff
changeset
|
5380 * xdisp.c [WINDOWSNT]: Include w32term.h. |
6c9ee29e8955
* dispextern.h: Change HAVE_X_WINDOWS to HAVE_WINDOW_SYSTEM,
Andrew Innes <andrewi@gnu.org>
parents:
27620
diff
changeset
|
5381 |
6c9ee29e8955
* dispextern.h: Change HAVE_X_WINDOWS to HAVE_WINDOW_SYSTEM,
Andrew Innes <andrewi@gnu.org>
parents:
27620
diff
changeset
|
5382 * makefile.nt: Add dependencies on w32gui.h. |
6c9ee29e8955
* dispextern.h: Change HAVE_X_WINDOWS to HAVE_WINDOW_SYSTEM,
Andrew Innes <andrewi@gnu.org>
parents:
27620
diff
changeset
|
5383 (OBJ1): Include atimer.obj. |
6c9ee29e8955
* dispextern.h: Change HAVE_X_WINDOWS to HAVE_WINDOW_SYSTEM,
Andrew Innes <andrewi@gnu.org>
parents:
27620
diff
changeset
|
5384 ($(BLD)\atimer.obj): New dependency rule. |
6c9ee29e8955
* dispextern.h: Change HAVE_X_WINDOWS to HAVE_WINDOW_SYSTEM,
Andrew Innes <andrewi@gnu.org>
parents:
27620
diff
changeset
|
5385 |
6c9ee29e8955
* dispextern.h: Change HAVE_X_WINDOWS to HAVE_WINDOW_SYSTEM,
Andrew Innes <andrewi@gnu.org>
parents:
27620
diff
changeset
|
5386 * w32.c (sigmask): New function (does nothing). |
6c9ee29e8955
* dispextern.h: Change HAVE_X_WINDOWS to HAVE_WINDOW_SYSTEM,
Andrew Innes <andrewi@gnu.org>
parents:
27620
diff
changeset
|
5387 (sigunblock): Ditto. |
6c9ee29e8955
* dispextern.h: Change HAVE_X_WINDOWS to HAVE_WINDOW_SYSTEM,
Andrew Innes <andrewi@gnu.org>
parents:
27620
diff
changeset
|
5388 |
6c9ee29e8955
* dispextern.h: Change HAVE_X_WINDOWS to HAVE_WINDOW_SYSTEM,
Andrew Innes <andrewi@gnu.org>
parents:
27620
diff
changeset
|
5389 * frame.c [WINDOWSNT]: Include w32term.h. |
6c9ee29e8955
* dispextern.h: Change HAVE_X_WINDOWS to HAVE_WINDOW_SYSTEM,
Andrew Innes <andrewi@gnu.org>
parents:
27620
diff
changeset
|
5390 |
6c9ee29e8955
* dispextern.h: Change HAVE_X_WINDOWS to HAVE_WINDOW_SYSTEM,
Andrew Innes <andrewi@gnu.org>
parents:
27620
diff
changeset
|
5391 * w32gui.h (struct W32FontStruct): Add ascent and descent slots. |
6c9ee29e8955
* dispextern.h: Change HAVE_X_WINDOWS to HAVE_WINDOW_SYSTEM,
Andrew Innes <andrewi@gnu.org>
parents:
27620
diff
changeset
|
5392 |
6c9ee29e8955
* dispextern.h: Change HAVE_X_WINDOWS to HAVE_WINDOW_SYSTEM,
Andrew Innes <andrewi@gnu.org>
parents:
27620
diff
changeset
|
5393 * lread.c (syms_of_lread): Fix literal newlines. |
6c9ee29e8955
* dispextern.h: Change HAVE_X_WINDOWS to HAVE_WINDOW_SYSTEM,
Andrew Innes <andrewi@gnu.org>
parents:
27620
diff
changeset
|
5394 |
6c9ee29e8955
* dispextern.h: Change HAVE_X_WINDOWS to HAVE_WINDOW_SYSTEM,
Andrew Innes <andrewi@gnu.org>
parents:
27620
diff
changeset
|
5395 * emacs.c (USAGE): Split into USAGE1 and USAGE2, to work-around |
6c9ee29e8955
* dispextern.h: Change HAVE_X_WINDOWS to HAVE_WINDOW_SYSTEM,
Andrew Innes <andrewi@gnu.org>
parents:
27620
diff
changeset
|
5396 the string constant limit (2048 bytes) in MSVC. |
6c9ee29e8955
* dispextern.h: Change HAVE_X_WINDOWS to HAVE_WINDOW_SYSTEM,
Andrew Innes <andrewi@gnu.org>
parents:
27620
diff
changeset
|
5397 (main): Ditto. |
6c9ee29e8955
* dispextern.h: Change HAVE_X_WINDOWS to HAVE_WINDOW_SYSTEM,
Andrew Innes <andrewi@gnu.org>
parents:
27620
diff
changeset
|
5398 |
27620 | 5399 2000-02-05 INOUE Seiichiro <inoue@ainet.or.jp> |
5400 | |
5401 * xterm.c (x_display_and_set_cursor) [HAVE_X_I18N]: Set pre-edit | |
5402 area. | |
5403 (x_display_cursor) [HAVE_X_I18N]: Don't set it here. | |
5404 (XTread_socket) [HAVE_X_I18N]: <KeyPress, KeyRelease>: Don't | |
5405 dispatch the event. | |
5406 | |
27614 | 5407 2000-02-04 Dave Love <fx@gnu.org> |
5408 | |
5409 * fileio.c: Remove some unused vars. | |
5410 (_GNU_SOURCE): Define (for euidaccess). | |
5411 | |
5412 * lread.c (_XOPEN_SOURCE): Declare (for ftello). | |
5413 | |
5414 * minibuf.c (read_minibuf_noninteractive): Remove undeclared | |
5415 gcpro1, gcpro2. | |
5416 (read_minibuf): Deal with allow_props correctly. | |
5417 | |
27594 | 5418 2000-02-03 Eli Zaretskii <eliz@is.elta.co.il> |
5419 | |
5420 * s/msdos.h (SYSTEM_PURESIZE_EXTRA): Enlarge to 60000. | |
5421 | |
27635
8344762c0da2
* sound.c (sound_cleanup): Don't call device close routine if pointer is null.
Ken Raeburn <raeburn@raeburn.org>
parents:
27634
diff
changeset
|
5422 2000-02-03 Ken Raeburn <raeburn@gnu.org> |
27592
5cd59d1800ad
* search.c (compile_pattern): If a cache entry has a nil regexp, fill in that
Ken Raeburn <raeburn@raeburn.org>
parents:
27591
diff
changeset
|
5423 |
5cd59d1800ad
* search.c (compile_pattern): If a cache entry has a nil regexp, fill in that
Ken Raeburn <raeburn@raeburn.org>
parents:
27591
diff
changeset
|
5424 * search.c (compile_pattern): If a cache entry has a nil regexp, |
5cd59d1800ad
* search.c (compile_pattern): If a cache entry has a nil regexp, fill in that
Ken Raeburn <raeburn@raeburn.org>
parents:
27591
diff
changeset
|
5425 fill in that entry instead of clobbering a previously cached |
5cd59d1800ad
* search.c (compile_pattern): If a cache entry has a nil regexp, fill in that
Ken Raeburn <raeburn@raeburn.org>
parents:
27591
diff
changeset
|
5426 string regexp. |
5cd59d1800ad
* search.c (compile_pattern): If a cache entry has a nil regexp, fill in that
Ken Raeburn <raeburn@raeburn.org>
parents:
27591
diff
changeset
|
5427 |
27635
8344762c0da2
* sound.c (sound_cleanup): Don't call device close routine if pointer is null.
Ken Raeburn <raeburn@raeburn.org>
parents:
27634
diff
changeset
|
5428 2000-02-02 Ken Raeburn <raeburn@gnu.org> |
27591
459744c91b53
* puresize.h (BASE_PURESIZE): Increase to 610000.
Ken Raeburn <raeburn@raeburn.org>
parents:
27587
diff
changeset
|
5429 |
459744c91b53
* puresize.h (BASE_PURESIZE): Increase to 610000.
Ken Raeburn <raeburn@raeburn.org>
parents:
27587
diff
changeset
|
5430 * puresize.h (BASE_PURESIZE): Increase to 610000. |
459744c91b53
* puresize.h (BASE_PURESIZE): Increase to 610000.
Ken Raeburn <raeburn@raeburn.org>
parents:
27587
diff
changeset
|
5431 |
27587 | 5432 2000-02-02 Gerd Moellmann <gerd@gnu.org> |
5433 | |
5434 * frame.c (Fframe_parameters): Add GCPRO because tty_color_name | |
5435 can GC. | |
5436 | |
27565 | 5437 2000-02-02 Kenichi Handa <handa@etl.go.jp> |
5438 | |
27567 | 5439 * ccl.c (ccl_driver) <CCL_WriteExprRegister>: Set jump_address |
5440 instead of incrementing ic directly. | |
5441 <CCL_WriteExprConst> Likewise. | |
5442 <ccl_set_expr>: Set ic to jump_address. | |
5443 | |
27565 | 5444 * fileio.c (e_write): Fix the handling of |
5445 CODING_FINISH_INSUFFICIENT_SRC. | |
5446 | |
27561 | 5447 2000-02-01 Dave Love <fx@gnu.org> |
5448 | |
5449 * editfns.c (Fpropertize): Doc fix. | |
5450 | |
5451 * process.c (Fstart_process): Doc fix. | |
5452 | |
5453 * eval.c: Fix various doc strings not to duplicate information | |
5454 from help-manyarg-func-alist. | |
5455 | |
5456 * window.c (Fset_window_margins): Don't make interactive. Doc | |
5457 fix. | |
5458 | |
5459 * doc.c (Vhelp_manyarg_func_alist): New variable. | |
5460 (Fdocumentation): Use it. | |
5461 (syms_of_doc): Define it. | |
5462 | |
27531 | 5463 2000-01-31 Gerd Moellmann <gerd@gnu.org> |
5464 | |
27545 | 5465 * xterm.c (xim_open_dpy): Remove unused local variable. |
5466 | |
27541 | 5467 * emacs.c (USAGE): Use term `display options' instead of `X |
5468 options'. | |
5469 | |
5470 * xdisp.c (Ftrace_to_stderr) [GLYPH_DEBUG]: New function. | |
5471 (syms_of_xdisp) [GLYPH_DEBUG]: Defsubr it. | |
5472 | |
27531 | 5473 * fns.c (sweep_weak_table): New function. |
5474 (sweep_weak_hash_tables): Use it. Keep on marking until there | |
5475 is no more change. | |
5476 | |
27527 | 5477 2000-01-30 Gerd Moellmann <gerd@gnu.org> |
5478 | |
5479 * xterm.c (x_delete_display): Update next_noop_dpyinfo to ensure | |
5480 that XTread_socket does not crash by trying to call XNoOp on a | |
5481 closed display. | |
29803
3dec4cd5e361
Don't declare xmalloc, xrealloc.
Sam Steingold <sds@gnu.org>
parents:
29802
diff
changeset
|
5482 |
27523 | 5483 2000-01-30 Jason Rumney <jasonr@gnu.org> |
5484 | |
5485 * w32inevt.c (get_frame, w32_console_mouse_position, mouse_moved_to): | |
5486 Change selected_frame to SELECTED_FRAME (). | |
5487 (w32_console_mouse_position): Remove #ifndef MULE from around | |
5488 `insist' parameter. | |
5489 | |
5490 * makefile.nt: Remove dosfns.obj. | |
5491 | |
5492 * term.c (term_init) [WINDOWSNT]: Initialize TN_max_colors. | |
5493 | |
5494 * w32fns.c (w32_defined_color): Check for valid frame before | |
5495 applying gamma correction. Eliminate dependency on frame elsewhere. | |
5496 (w32_load_system_font): Switch FIXED_PITCH and VARIABLE_PITCH. | |
5497 (w32_to_x_font): Use resx and resy not height_in and width_in. | |
5498 (x_to_w32_font): Doc fix. | |
5499 (xlfd_strip_height): New function to strip and return font height. | |
5500 (w32_font_match): Compare height separately from rest of xlfd | |
5501 spec, using xlfd_strip_height. | |
5502 | |
5503 * w32term.c (w32_term_init): Swap resx and height_in, resy and | |
5504 width_in. Use w32_defined_color in place of defined_color. | |
5505 | |
5506 * w32faces.c: Merge more of DOS and X specifics in preparation for | |
5507 merge with xfaces.c. | |
5508 (defined_color): Remove FIXME comment. | |
5509 (tty_color_name): Provide w32-specific function. | |
5510 (realize_tty_face): Handle FACE_TTY_DEFAULT*_COLOR specially. | |
5511 | |
5512 * w32console.c (turn_on_face, turn_off_face): Removed. | |
5513 (w32_face_attributes): New function. | |
5514 (Global_variables): Reduce scope where possible. | |
5515 (clear_frame, ins_del_lines, scroll_line): Use char_attr_normal as | |
5516 fill attribute. | |
5517 (hl_mode): Don't modify text attributes. | |
5518 (write_glyphs): Don't do anything if len <= 0. Use | |
5519 w32_face_attributes to get attributes for drawing. Write | |
5520 terminating codes using char_attr_normal. | |
5521 (reset_terminal_modes, set_terminal_modes): Turn off highlight. | |
5522 (update_begin, update_end): Likewise. | |
5523 (vga_stdcolor_name): New function. | |
5524 (initialize_w32_display): Remove char_attr_reverse and char_attr. | |
5525 (Fset_screen_color): Remove char_attr_reverse. | |
5526 | |
27506 | 5527 2000-01-29 Gerd Moellmann <gerd@gnu.org> |
5528 | |
5529 * xfns.c (xic_set_preeditarea): Take window parameter and | |
5530 window-relative pixel-positions. | |
5531 | |
5532 * xterm.c (x_display_cursor): Set XIC pre-edit area only if window | |
5533 is its frame's selected window. | |
5534 (xim_instantiate_callback): Likewise. | |
5535 | |
5536 * xfns.c (x_create_im): Removed. | |
5537 (DEFAULT_STYLE, DEFAULT_FONT): Removed. | |
5538 (supported_xim_styles): Renamed from supported_styles. | |
5539 (best_xim_style): Renamed from best_style. | |
5540 (create_frame_xic): Renamed from xic_create_frame. | |
5541 (free_frame_xic): Renamed from xic_destroy_frame. | |
29803
3dec4cd5e361
Don't declare xmalloc, xrealloc.
Sam Steingold <sds@gnu.org>
parents:
29802
diff
changeset
|
5542 |
27506 | 5543 2000-01-29 INOUE Seiichiro <inoue@ainet.or.jp> |
5544 | |
5545 * xterm.c (XTread_socket) [HAVE_X_I18N]: If event is for none of | |
5546 our frames, call XFilterEvent with 2nd parameter `None'. | |
5547 (XTread_socket) <KeyPress> [HAVE_X_I18N]: Handle XmbLookupString | |
5548 returning XBufferOverflow. | |
5549 (XTread_socket) <ConfigureNotify> [HAVE_X_I18N]: Set XIC status | |
5550 area. | |
5551 (x_display_cursor) [HAVE_X_I18N]: Set XIC pre-edit area. | |
5552 (x_new_fontset) [HAVE_X_I18N]: Create XIC status area fontset. | |
5553 (xim_destroy_callback, xim_open_dpy, xim_instantiate_callback) | |
5554 (xim_initialize, xim_close) | |
5555 [HAVE_X_I18N && HAVE_X11R6]: New functions. | |
5556 (x_destroy_window) [HAVE_X_I18N]: Call xic_destroy_frame. | |
5557 (x_term_init) [HAVE_X_I18N]: Call xim_initialize. | |
5558 (x_delete_display) [HAVE_X_I18N]: Call xim_close. | |
5559 | |
5560 * xterm.h (struct x_display_info) [HAVE_X_I18N]: Add members `xim' | |
5561 and `xim_styles'. | |
5562 (struct x_output) [HAVE_X_I18N]: Remove member `xim', add | |
5563 `xic_style' and `xic_xfs'. | |
5564 (FRAME_MENUBAR_HEIGHT, FRAME_X_XIM, FRAME_X_XIM_STYLES) | |
5565 (FRAME_XIC_STYLE, FRAME_XIC_FONTSET): New macros. | |
5566 (FRAME_XIM): Removed. | |
5567 | |
5568 * xfns.c (supported_styles): New variable. | |
5569 (DEFAULT_STYLE, DEFAULT_FONT): New macros | |
5570 (xic_create_xfontset, best_style, xic_create_frame) | |
5571 (xic_destroy_frame, xic_set_preeditarea, xic_set_statusarea) | |
5572 (xic_set_xfontset): New functions. | |
5573 | |
27491 | 5574 2000-01-28 Dave Love <fx@gnu.org> |
5575 | |
5576 * s/irix6-5.h: Revert last change after change to irix5-0.h. | |
5577 | |
5578 * m/iris4d.h (C_SWITCH_MACHINE): Don't use -G0. | |
5579 | |
27473 | 5580 2000-01-28 Gerd Moellmann <gerd@gnu.org> |
5581 | |
27481 | 5582 * buffer.c (Fother_buffer): Don't call Fset_buffer_major_mode |
5583 for *scratch* if it already existed. | |
5584 | |
27473 | 5585 * emacs.c (USAGE): New macro. |
5586 (main): Use it to display usage information. | |
5587 | |
27464 | 5588 2000-01-27 Eli Zaretskii <eliz@is.elta.co.il> |
5589 | |
5590 Support for the menu-help feature: | |
5591 | |
5592 * msdos.h: Change prototypes of XMenuAddSelection and | |
5593 XMenuActivate. | |
5594 | |
5595 * msdos.c (IT_clear_end_of_line): Print the extent of the cleared | |
5596 part of the line to the termscript file. | |
5597 (IT_clear_to_end): Clear the entire line, not just its beginning. | |
5598 (menu_help_message, prev_menu_help_message): New variables. | |
5599 (IT_menu_make_room): Make room for the help_text member. | |
5600 (IT_menu_display): New argument disp_help; all callers changed. | |
5601 If disp_help is non-zero, store the help text of the active menu | |
5602 item in menu_help_message. | |
5603 (XMenuAddPane): Initialize the help_text member to NULL. | |
5604 (XMenuAddSelection): New argument help_text. Store it in the | |
5605 XMenu structure. | |
5606 (XMenuActivate): New argument help_callback. If the value of | |
5607 menu_help_message has changed since the last time, display the | |
5608 menu help message text while waiting for the mouse to move. Clear | |
5609 the echo area before exiting. | |
5610 (XMenuDestroy): Free the help_text member. | |
5611 | |
27459 | 5612 2000-01-27 Gerd Moellmann <gerd@gnu.org> |
5613 | |
5614 * xmenu.c (xmenu_show) [!USE_X_TOOLKIT]: Pass help to | |
5615 XMenuAddSelection. Pass help callback to XMenuActivate. | |
5616 (menu_help_callback) [!USE_X_TOOLKIT]: New function. | |
5617 | |
27453 | 5618 2000-01-27 Eli Zaretskii <eliz@is.elta.co.il> |
5619 | |
5620 * atimer.c (start_atimer) [!HAVE_SETITIMER]: Use EMACS_SET_SECS | |
5621 and EMACS_SET_USECS. | |
5622 | |
27443 | 5623 2000-01-26 Dave Love <fx@gnu.org> |
5624 | |
27446 | 5625 * editfns.c (Fchar_after, Fchar_before): Doc fix. |
5626 | |
27443 | 5627 * bytecode.c (Fbyte_code): Use {BEFORE,AFTER}_POTENTIAL_GC where |
5628 an error may be signalled. | |
5629 | |
27439 | 5630 2000-01-26 Gerd Moellmann <gerd@gnu.org> |
5631 | |
27441 | 5632 * s/irix6-5.h [__GNUC__ && __GNUC_MINOR__ >= 95]: Undef |
5633 LD_SWITCH_SYSTEM inherited from irix5-0.h. | |
5634 | |
27439 | 5635 * bytecode.c (Fbyte_code) [BYTE_CODE_SAFE]: Fix typo. |
5636 | |
27435 | 5637 2000-01-25 Gerd Moellmann <gerd@gnu.org> |
5638 | |
5639 * charset.c (Fstring): If there is a multibyte char among | |
5640 the args, always return a multibyte string. | |
5641 | |
27433 | 5642 2000-01-25 Gerd Moellmann <gerd@gnu.org> |
5643 | |
5644 * sysdep.c (sys_select): Turn atimers off and on instead of | |
5645 recording and restoring old alarm handler | |
5646 | |
5647 * process.c (toplevel): Include atimer.h. | |
5648 (create_process_1): Rewritten. | |
5649 (create_process): Use atimers instead of alarm. | |
5650 (wait_reading_process_input) [hpux]: Turn atimers off instead | |
5651 of turning off SIGALRM. | |
5652 (wait_reading_process_input): Turn off atimers instead off | |
5653 calling stop_polling. | |
5654 | |
5655 * emacs.c (main): Call init_atimer. | |
5656 | |
5657 * keyboard.c (toplevel): Include systime.h and atimer.h. | |
5658 (polling_for_input): Removed because unused. | |
5659 (input_poll_signal) [POLL_FOR_INPUT]: Removed. | |
5660 (poll_timer): New variable. | |
5661 (poll_for_input, poll_for_input_1): New functions. | |
5662 (start_polling, stop_polling): Rewritten. | |
5663 | |
5664 * keyboard.h (polling_for_input): Removed. | |
29803
3dec4cd5e361
Don't declare xmalloc, xrealloc.
Sam Steingold <sds@gnu.org>
parents:
29802
diff
changeset
|
5665 |
27433 | 5666 * atimer.h, atimer.c: New files. |
5667 | |
5668 * Makefile.in (obj): Add atimer.o. | |
5669 (atimer.o): New target. | |
5670 | |
5671 * blockinput.h (pending_atimers): Add extern declaration. | |
5672 (UNBLOCK_INPUT): Rewritten. Handle pending atimers. | |
5673 | |
5674 * lisp.h (popup_activated_flag): Add extern declaration. | |
5675 | |
5676 * xmenu.c (popup_activated_flag): Make externally visible. | |
5677 (popup_activate_callback) [USE_MOTIF]: Increment | |
5678 popup_activated_flag. | |
5679 (popup_deactivate_callback) [USE_MOTIF]: Decrement it. | |
5680 | |
5681 * xterm.c (toplevel): Include atimer.h. | |
5682 (toolkit_scroll_bar_interaction): New variable. | |
5683 (Fxt_process_timeouts): Removed. | |
5684 (x_process_timeouts): New function. | |
5685 (xt_action_hook): Clear toolkit_scroll_bar_interaction. | |
5686 (x_send_scroll_bar_event): Set toolkit_scroll_bar_interaction. | |
5687 (x_make_frame_visible): Call poll_for_input_1 instead of | |
5688 input_poll_signal. Don't call alarm. | |
5689 (x_initialize): Install timer calling x_process_timeouts. | |
29803
3dec4cd5e361
Don't declare xmalloc, xrealloc.
Sam Steingold <sds@gnu.org>
parents:
29802
diff
changeset
|
5690 |
27413 | 5691 2000-01-24 Dave Love <fx@gnu.org> |
5692 | |
27446 | 5693 * s/irix5-0.h: Don't set LD_SWITCH_SYSTEM -- we use unexelf now. |
27413 | 5694 Don't use -cckr -- apparently not now necessary. |
5695 | |
27410 | 5696 2000-01-24 Eli Zaretskii <eliz@is.elta.co.il> |
5697 | |
5698 * msdos.c (IT_menu_display): Truncate long menu lines at the right | |
5699 screen boundary. | |
5700 | |
27408 | 5701 2000-01-23 Jason Rumney <jasonr@gnu.org> |
5702 | |
5703 * w32fns.c (w32_defined_color): Apply gamma correction before | |
5704 trying to map to the palette. | |
5705 (w32_wnd_proc) [WM_ERASE_BACKGROUND]: Pass device context of frame | |
5706 to w32_clear_rect. | |
5707 | |
5708 * w32term.c (w32_fill_rect): Do not try to deal with NULL hdc | |
5709 here. Callers changed to always pass real device context. | |
5710 (w32_draw_bitmap): Likewise. | |
5711 (w32_get_glyph_overhangs): Likewise. | |
5712 (w32_draw_box_rect): Make use of s->hdc rather than getting a new | |
5713 one. | |
5714 (w32_set_vertical_scroll_bar): Pass correct HWND parameters to | |
5715 pfnSetScrollInfo and SetScrollRange. | |
5716 (x_get_char_face_and_encoding): Don't turn iso8859-1 characters | |
5717 back into MULE characters after decoding them. | |
5718 (x_get_glyph_face_and_encoding): Likewise. | |
5719 (w32_per_char_metric): Use GetCharExtentPoint32W as fallback when | |
5720 GetCharABCWidthsW fails, since this is defined on Windows 9x. | |
5721 (x_produce_glyphs): Calculate per char metrics for a character | |
5722 that we know exists in default font when font_not_found_p is true. | |
5723 | |
27393 | 5724 2000-01-22 Jason Rumney <jasonr@gnu.org> |
5725 | |
5726 * makefile.nt (intervals.obj, composite.obj): New modules. | |
5727 (composite.h): Added as dependency where appropriate. | |
5728 | |
5729 * w32gui.h (XGCValue): New struct for emulating X GCs. | |
5730 | |
5731 * w32term.h (XCharStruct): New struct for emulating X. | |
5732 | |
5733 * w32console.c (turn_on_face, turn_off_face): New functions. | |
5734 (change_line_highlight): New prototype for new redisplay. | |
5735 (write_glyphs): Support multibyte text. Support faces. | |
5736 | |
5737 * w32faces.c: Complete rewrite for new redisplay based on new | |
5738 xfaces.c. | |
5739 | |
5740 * w32fns.c: Use SELECTED_FRAME macro in place of selected_frame | |
5741 throughout. struct frame * in place of FRAME_PTR. | |
5742 Skeleton support for images, toolbars, tooltips from xfns.c. | |
5743 (Fx_create_frame): Use system default for default scroll bar | |
5744 width. | |
5745 (w32_get_arg): Renamed from x_get_arg. | |
5746 (Fx_file_dialog): New function. | |
5747 (w32_list_fonts): Check cache before asking system. | |
5748 (Vw32_enable_synthesized_fonts): New variable. | |
5749 (Vw32_enable_italics): Obsolete, removed. | |
5750 | |
5751 * w32inevt.c (get_frame, w32_console_mouse_position, mouse_moved_to): | |
5752 Use SELECTED_FRAME macro. | |
5753 | |
5754 * w32menu.c: Add skeleton support for help strings on menus. | |
5755 (add_menu_item): Native checkbox and radio support added, but not | |
5756 yet enabled due to bugs. | |
5757 (push_menu_item): Add parameters type, selection and help. | |
5758 Callers updated. | |
5759 Formatting changes to reduce unnecessary diffs with xmenu.c. | |
5760 | |
5761 * w32select.c (Fw32_set_clipboard_data): Update call to | |
5762 find_charset_in_str. | |
5763 | |
5764 * w32term.c: Complete rewrite for new redisplay based on new | |
5765 xterm.c with necessary sections merged back in from old w32term.c. | |
5766 | |
27702
50df459c86d1
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27700
diff
changeset
|
5767 2000-01-21 Richard M. Stallman <rms@gnu.org> |
27390
10e53615a9d2
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27372
diff
changeset
|
5768 |
10e53615a9d2
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27372
diff
changeset
|
5769 * data.c (set_internal): Further fix in same criterion. |
10e53615a9d2
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27372
diff
changeset
|
5770 |
27702
50df459c86d1
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27700
diff
changeset
|
5771 2000-01-20 Richard M. Stallman <rms@gnu.org> |
27372
79d08dbee5fd
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27366
diff
changeset
|
5772 |
79d08dbee5fd
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27366
diff
changeset
|
5773 * data.c (set_internal): Fix the criteria for whether |
79d08dbee5fd
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27366
diff
changeset
|
5774 to swap out the old cached binding. |
79d08dbee5fd
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27366
diff
changeset
|
5775 |
27366 | 5776 2000-01-19 Dave Love <fx@gnu.org> |
5777 | |
5778 * lread.c: (syms_of_lread) [user-init-file]: Doc change. | |
5779 | |
27354 | 5780 2000-01-18 Kenichi Handa <handa@etl.go.jp> |
5781 | |
5782 * regex.c (re_compile_fastmap): While checking a range table for | |
5783 `charset', skip flag bits for a character class correctly. | |
5784 | |
27344 | 5785 2000-01-17 Gerd Moellmann <gerd@gnu.org> |
5786 | |
27347 | 5787 * m/news-risc.h (LD_SWITCH_MACHINE): Define differently for GCC. |
5788 | |
27344 | 5789 * xfns.c (x_window): Call lw_create_widget with new parameter |
5790 list. | |
5791 | |
5792 * widget.c (EmacsFrameSetCharSize): Change size of children first | |
5793 because of problems with main window geometry management under | |
5794 Lesstif. | |
5795 | |
5796 * xmenu.c (enum menu_item_idx): New enumeration replacing defines | |
5797 MENU_ITEMS_ITEM_.*. | |
5798 (MENU_ITEMS_ITEM_HELP): New enumerator. | |
5799 (push_menu_item): Add parameter HELP. Record help in menu_items. | |
5800 (single_menu_item, single_submenu, list_of_items): Call | |
5801 push_menu_item with new parameter. | |
5802 (single_submenu): Set help string in widget value. | |
5803 (menu_highlight_callback): New function. | |
5804 (set_frame_menubar): Call lw_create_widget with new | |
5805 parameter list. | |
5806 (xmenu_show, xdialog_show): Ditto. | |
5807 | |
27316 | 5808 2000-01-13 Gerd Moellmann <gerd@gnu.org> |
5809 | |
5810 * sound.c (Fplay_sound): Improve doc string. | |
5811 | |
27300
baffb2de5ce9
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27299
diff
changeset
|
5812 2000-01-11 Richard M. Stallman <rms@gnu.org> |
27299
1d7b2d2038af
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27291
diff
changeset
|
5813 |
1d7b2d2038af
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27291
diff
changeset
|
5814 * lisp.h (set_internal): Enter the new arg. |
1d7b2d2038af
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27291
diff
changeset
|
5815 |
1d7b2d2038af
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27291
diff
changeset
|
5816 * eval.c (specbind): Record buffer-local variables specially, |
1d7b2d2038af
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27291
diff
changeset
|
5817 indicating which buffer's binding was saved. |
1d7b2d2038af
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27291
diff
changeset
|
5818 (unbind_to): Restore buffer-local variables specially |
1d7b2d2038af
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27291
diff
changeset
|
5819 in the proper buffer. |
1d7b2d2038af
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27291
diff
changeset
|
5820 |
1d7b2d2038af
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27291
diff
changeset
|
5821 * data.c (set_internal): New arg BUF. |
29803
3dec4cd5e361
Don't declare xmalloc, xrealloc.
Sam Steingold <sds@gnu.org>
parents:
29802
diff
changeset
|
5822 |
27299
1d7b2d2038af
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27291
diff
changeset
|
5823 * eval.c (specbind, unbind_to): Pass new arg to set_internal. |
1d7b2d2038af
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27291
diff
changeset
|
5824 * data.c (Fset): Pass new arg to set_internal. |
1d7b2d2038af
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27291
diff
changeset
|
5825 * bytecode.c (Fbyte_code): Pass new arg to set_internal. |
29803
3dec4cd5e361
Don't declare xmalloc, xrealloc.
Sam Steingold <sds@gnu.org>
parents:
29802
diff
changeset
|
5826 |
27291 | 5827 2000-01-11 Gerd Moellmann <gerd@gnu.org> |
5828 | |
5829 * .gdbinit: Adapt to new strings. Add xbacktrace, xreload, | |
5830 xprintsym. | |
5831 | |
27300
baffb2de5ce9
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27299
diff
changeset
|
5832 2000-01-11 Richard M. Stallman <rms@gnu.org> |
27283
f3eca57846e3
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27276
diff
changeset
|
5833 |
f3eca57846e3
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27276
diff
changeset
|
5834 * minibuf.c (Ftry_completion): Doc fix. |
f3eca57846e3
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27276
diff
changeset
|
5835 |
27276 | 5836 2000-01-11 Gerd Moellmann <gerd@gnu.org> |
5837 | |
5838 * keyboard.c (Fclear_this_command_keys): Clear recent_keys | |
5839 vector, too. | |
5840 | |
27273 | 5841 2000-01-11 Andreas Schwab <schwab@suse.de> |
5842 | |
5843 * coding.c (code_convert_region): Initialize total_skip. | |
5844 | |
27244 | 5845 2000-01-08 Dave Love <fx@gnu.org> |
5846 | |
5847 * eval.c (Fuser_variable_p): Check customizability too. | |
5848 | |
27237 | 5849 2000-01-07 Gerd Moellmann <gerd@gnu.org> |
5850 | |
5851 * minibuf.c (Fcompleting_read): Doc fix. | |
5852 | |
27158 | 5853 2000-01-05 Gerd Moellmann <gerd@gnu.org> |
5854 | |
27171 | 5855 * s/freebsd.h (C_SWITCH_SYSTEM): Add -I /usr/local/include and |
5856 -L /usr/local/lib. | |
5857 | |
27158 | 5858 * xfns.c (x_create_im): New function to set IM and IC of a frame. |
5859 Check that input style is supported before trying to create an | |
5860 IC for it. | |
5861 (x_window): Call x_create_im. | |
29803
3dec4cd5e361
Don't declare xmalloc, xrealloc.
Sam Steingold <sds@gnu.org>
parents:
29802
diff
changeset
|
5862 |
27143 | 5863 2000-01-04 Gerd Moellmann <gerd@gnu.org> |
5864 | |
27155 | 5865 * xfns.c (current_gif_memory_src): New variable. |
5866 (gif_load): Record the address of the current memory source | |
5867 in current_gif_memory_src. | |
5868 (gif_read_from_memory): Use current_gif_memory_src. | |
5869 | |
27150 | 5870 * systime.h (EMACS_GET_TIME, EMACS_ADD_TIME, EMACS_SUB_TIME): Give |
5871 macros statement form. | |
5872 | |
27147 | 5873 * sound.c (struct sound): Renamed from struct sound_file. |
5874 (struct sound): Add members `data' and `header_size'. | |
5875 (enum sound_attr): Add SOUND_DATA. | |
5876 (current_sound, current_sound_device): Variables renamed from | |
5877 sound_file and sound_device. | |
5878 (parse_sound): Parse :data. | |
5879 (parse_sound): Handle sound data in strings. | |
5880 (find_sound_type): Function renamed from find_sound_file_type. | |
29803
3dec4cd5e361
Don't declare xmalloc, xrealloc.
Sam Steingold <sds@gnu.org>
parents:
29802
diff
changeset
|
5881 (wav_init, au_init): Fail if sound's header_size is smaller than |
27147 | 5882 needed header size. |
5883 (wav_play, au_play): Play sounds from string data. | |
5884 | |
27143 | 5885 * puresize.h (BASE_PURE_SIZE): Increase to 600000. |
5886 | |
5887 * lisp.h: Add prototype for allocate_string_data. | |
5888 | |
5889 * alloc.c (Fgarbage_collect): Return number of live and free | |
5890 strings. | |
5891 | |
5892 * alloc.c (mark_buffer): Remove code in #if 0. | |
5893 (gc_sweep): Ditto. | |
5894 (UNMARK_BALANCE_INTERVALS): Give the macro statement form. | |
5895 (strings_consed): New variable. | |
5896 (allocate_string): Set it. | |
5897 (syms_of_alloc): Add DEFVAR_INT for strings_consed. | |
5898 (Fmemory_use_counts): Return strings_consed. Use Flist. | |
5899 | |
5900 * alloc.c: General cleanup in comments etc. Remove conditional | |
5901 compilation for `standalone'. | |
5902 | |
5903 * lisp.h (struct Lisp_String): Make DATA member `unsigned char *'. | |
5904 | |
5905 * alloc.c (MARK_STRING, UNMARK_STRING, STRING_MARKED_P): | |
5906 (GC_STRING_BYTES, GC_STRING_CHARS): New macros. | |
5907 (DONT_COPY_FLAG): Removed. | |
5908 (SBLOCK_SIZE, LARGE_STRING_BYTES): New macros. | |
5909 (struct sdata, struct sblock): New | |
5910 (struct string_block): Rewritten. | |
5911 (STRINGS_IN_STRING_BLOCK): New macro. | |
5912 (oldest_sblock, current_sblock, total_strings, total_free_strings) | |
5913 (large_sblocks, string_blocks, string_free_list): New variables. | |
5914 (NEXT_FREE_LISP_STRING, SDATA_OF_STRING, SDATA_SIZE): New macros. | |
5915 (init_strings): Rewritten. | |
5916 (allocate_string, allocate_string_data, compact_small_strings) | |
5917 (free_large_strings, sweep_strings): New functions. | |
5918 (STRING_BLOCK_SIZE, STRING_BLOCK_OUTSIZE) | |
5919 (struct string_block_head, current_string_block) | |
5920 (first_string_block, large_string_blocks, STRING_FULLSIZE) | |
5921 (STRING_PAD): Removed. | |
5922 (make_uninit_multibyte_string, make_pure_string): Rewritten. | |
5923 (Fgarbage_collect): Don't set mark bit in large strings. | |
5924 (mark_object): Mark strings differently. Mark symbol names | |
5925 differently. | |
5926 (survives_gc_p): Test marked strings differently. | |
29803
3dec4cd5e361
Don't declare xmalloc, xrealloc.
Sam Steingold <sds@gnu.org>
parents:
29802
diff
changeset
|
5927 (gc_sweep): Sweep strings differently, unmark strings in |
27143 | 5928 symbol names. |
5929 (compact_strings): Removed. | |
5930 | |
27138 | 5931 2000-01-04 Eli Zaretskii <eliz@is.elta.co.il> |
5932 | |
5933 * xfaces.c (syms_of_xfaces): defsubr Scolor_gray_p and | |
5934 Scolor_supported_p even if HAVE_X_WINDOWS is not defined. | |
5935 | |
27127 | 5936 2000-01-04 Kenichi Handa <handa@etl.go.jp> |
5937 | |
27133 | 5938 * fileio.c (Finsert_file_contents): Signal error if visiting file |
29803
3dec4cd5e361
Don't declare xmalloc, xrealloc.
Sam Steingold <sds@gnu.org>
parents:
29802
diff
changeset
|
5939 in a non-empty buffer. |
27133 | 5940 |
27130 | 5941 * term.c (encode_terminal_code): Fix the previous change. |
27127 | 5942 |
27122 | 5943 2000-01-03 Gerd Moellmann <gerd@gnu.org> |
5944 | |
5945 * xfaces.c (syms_of_xfaces): Change Sface_color_gray_p to | |
5946 Scolor_gray_p, Sface_color_supported_p to Scolor_supported_p. | |
5947 | |
5948 * s/hpux9.h (NO_EDITRES): Define even if HAVE_LIBXMU. | |
5949 | |
27119 | 5950 2000-01-03 Eli Zaretskii <eliz@is.elta.co.il> |
5951 | |
5952 * xdisp.c (handle_single_display_prop) [HAVE_WINDOW_SYSTEM]: No | |
5953 need to test for MSDOS frames. | |
5954 | |
27116 | 5955 2000-01-03 Eli Zaretskii <eliz@is.elta.co.il> |
5956 | |
5957 * dosfns.c (unspecified_colors): Remove. | |
5958 (msdos_stdcolor_idx): Use global variables unspecified_fg and | |
5959 unspecified_bg. | |
5960 (msdos_stdcolor_name): Return strings for unspecified fore- and | |
5961 back-ground colors. | |
5962 | |
5963 * xfaces.c (Qunspecified_fg, Qunspecified_bg): Remove. | |
27680 | 5964 (syms_of_xfaces): Remove their staticpro's. |
27116 | 5965 (tty_color_name): Return Lisp strings for unspecified fore- and |
5966 back-ground colors. | |
5967 (Finternal_set_lisp_face_attribute): Remove the special treatment | |
5968 for Qunspecified_{f,b}g. | |
5969 (realize_default_face): Replace Qunspecified_{f,b}g with a Lisp | |
5970 string. | |
5971 | |
27112 | 5972 2000-01-03 Gerd Moellmann <gerd@gnu.org> |
5973 | |
5974 * xdisp.c (reseat_at_next_visible_line_start): Position before | |
5975 newline only if ending up on a newline. | |
5976 (next_element_from_ellipsis): Return success. Handle case of | |
5977 displaying no ellipsis. Fix case of ellipsis defined in display | |
5978 table. | |
5979 (next_element_from_buffer): Return 0 if next_element_from_ellipsis | |
5980 returns 0. | |
5981 | |
27102 | 5982 2000-01-03 Eli Zaretskii <eliz@is.elta.co.il> |
5983 | |
5984 * xfaces.c (Fcolor_gray_p): Renamed from face-color-gray-p. | |
5985 (Fcolor_supported_p): Renamed from face-color-supported-p. | |
5986 | |
27091 | 5987 2000-01-02 Eli Zaretskii <eliz@is.elta.co.il> |
5988 | |
5989 * xfaces.c (tty_defined_color): Pass frame to tty-color-desc. The | |
5990 list of colors renamed to tty-defined-color-alist. | |
5991 (tty_color_name): Pass the frame to tty-color-by-index. | |
5992 (realize_tty_face): tty-color-alist is now a function which | |
5993 accepts the frame as argument. | |
5994 | |
5995 * term.c (Ftty_display_color_p): Accept an optional argument | |
5996 FRAME. | |
5997 | |
27086 | 5998 2000-01-02 Eli Zaretskii <eliz@is.elta.co.il> |
5999 | |
6000 * term.c (insert_glyphs): Pass glyph, not &glyph, to | |
6001 encode_terminal_code. | |
6002 | |
27084 | 6003 2000-01-02 Eli Zaretskii <eliz@is.elta.co.il> |
6004 | |
6005 * dispnew.c (mode_line_string): Support termcap frames as well. | |
6006 | |
27067 | 6007 2000-01-01 Gerd Moellmann <gerd@gnu.org> |
6008 | |
27082 | 6009 * syntax.c (Fforward_word): Undo previous change. |
6010 | |
6011 * editfns.c (Fconstrain_to_field): Don't constrain if | |
6012 inhibit-field-text-motion is non-nil. | |
6013 (Fline_beginning_position): Undo previous change. | |
6014 (Fline_end_position): Ditto. | |
6015 | |
6016 * syntax.c (Fforward_word): Notice field boundaries only if | |
6017 inhibit-field-text-motion is nil. | |
6018 | |
6019 * lisp.h: Add extern declaration for Vinhibit_field_text_motion. | |
6020 | |
6021 * editfns.c (Vinhibit_field_text_motion): New variable. | |
6022 (inhibit-field-text-motion): New DEFVAR_LISP. | |
6023 (Fline_beginning_position, Fline_end_position): Notice field | |
6024 boundaries only if inhibit-field-text-motion is nil. | |
6025 | |
27072 | 6026 * xfns.c (x_create_x_image_and_pixmap): Remove parameter FILE. |
6027 All calls adjusted. | |
6028 (x_build_heuristic_mask): Likewise. | |
6029 (xbm_load_image_from_file): Change error output. | |
6030 (xbm_load, xpm_load, pbm_load, png_load, jpeg_load, tiff_load) | |
6031 (gif_load, gs_load, x_kill_gs_process): Ditto. | |
6032 | |
27067 | 6033 * xfns.c (gif_load): Avoid sign extension and thus out of bounds |
6034 color indices when accessing raster pixels. | |
27070 | 6035 (gif_image_p, png_image_p, jpeg_image_p, tiff_image_p): Allow only |
6036 one of :file or :data. | |
6037 (enum pbm_keyword_index): Add PBM_DATA. | |
6038 (pbm_format): Add :data. | |
6039 (pbm_image_p): Allow either :file or :data. | |
6040 (pbm_read_file): New function. | |
6041 (pbm_scan_number): Rewritten to read from string. | |
6042 (pbm_load): Support :data. | |
27067 | 6043 |
30727 | 6044 See ChangeLog.8 for earlier changes. |
30994 | 6045 |
6046 ;; Local Variables: | |
31291 | 6047 ;; coding: iso-2022-7bit-unix |
30994 | 6048 ;; End: |