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