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