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