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