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