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