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