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