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