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