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