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