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