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