*** empty log message ***
[bpt/emacs.git] / src / ChangeLog
CommitLineData
0af912f0
JD
12003-02-23 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se>
2
3 * keyboard.c (cancel_hourglass_unwind): New function.
4 (command_loop_1): Cancel hourglass with unwind-protect.
5
120d0a23
RS
62003-02-23 Richard M. Stallman <rms@gnu.org>
7
8 * callint.c (fix_command): New subroutine, from Fcall_interactively.
9 Detect (when ... (region-beginning)) etc.
10 (Fcall_interactively): Call fix_command.
11 (Qif, Qwhen): New variables.
12 (syms_of_callint): Init and staticpro them.
13
14 * regex.c (print_partial_compiled_pattern): Output to stderr.
15
4ece81a6
KG
162003-02-23 Kai Gro\e,A_\e(Bjohann <kai.grossjohann@uni-duisburg.de>
17
18 * dired.c (directory_files_internal): Don't expand directory.
19 (Fdirectory_files, Fdirectory_files_and_attributes): Do it here
20 instead. From Lars Hansen <larsh@math.ku.dk>.
21
e52bd6b7
SM
222003-02-22 Stefan Monnier <monnier@cs.yale.edu>
23
24 * fns.c (string_to_multibyte): Remove unused var i.
25 (Flanginfo): Fix int/Lisp_Object mixup.
26 (void_call2): New fun.
27 (Fmap_char_table): Use it in place of call2.
28
29 * xfaces.c (x_face_list_fonts): Fix int/Lisp_Object mixup.
30
31 * macros.c (Fstart_kbd_macro): Remove redundant assignment.
32
33 * keymap.c (copy_keymap_1): Make it static.
34
35 * alloc.c (Fgarbage_collect): Don't use XSETFLOAT.
36
c33ef7c4
JB
372003-02-22 David Ponce <david@dponce.com>
38
39 * lread.c (Fload): Don't check STRING_MULTIBYTE.
40
16782258
JD
412003-02-21 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se>
42
43 * process.h: Removed subtty field from struct Lisp_Process.
44
45 * process.c (create_process): Remove setting of subtty.
46 (emacs_get_tty_pgrp): New function.
e52bd6b7
SM
47 (Fprocess_running_child_p, process_send_signal):
48 Call emacs_get_tty_pgrp instead of ioctl.
16782258
JD
49 (process_send_signal): Call EMACS_KILLPG if ioctl TIOCSIGSEND fails.
50
3abeca61
KG
512003-02-21 Kai Gro\e,A_\e(Bjohann <kai.grossjohann@uni-duisburg.de>
52
53 * keymap.c (Fdefine_key): Doc fix.
54
92a8ce63
JB
552003-02-21 Juanma Barranquero <lektu@terra.es>
56
57 Port of patch for RC by Klaus Zeitler <kzeitler@lucent.com>.
58
59 * s/hpux10.h: Define POLL_INTERRUPTED_SYS_CALL, not
60 POLLING_PROBLEM_IN_SELECT.
61
62 * s/hpux11.h: Include hpux10-20.h instead of hpux10.h.
63 Delete #undef of POLLING_PROBLEM_IN_SELECT.
64
65 * s/hpux10-20.h: New file.
66
e52bd6b7
SM
67 * process.c (wait_reading_process_input):
68 Use POLL_INTERRUPTED_SYS_CALL, not POLLING_PROBLEM_IN_SELECT.
92a8ce63 69
20f1ef2e
KH
702003-02-20 Kenichi Handa <handa@m17n.org>
71
32d0a9dc
KH
72 * fontset.c (check_fontset_name): If NAME is nil, return the
73 default fontset.
74 (override_font_info): New function.
e52bd6b7 75 (Fset_fontset_font): Document that NAME nil means the default fontset.
32d0a9dc
KH
76 (Ffontset_info): If FONTSET is not the default fontset, merge
77 FONTSET onto the copy of the default fontset, and work on that
78 copy. Document that NAME nil means the default fontset.
79 (Ffontset_font): Document that NAME nil means the default fontset.
80
20f1ef2e
KH
81 * process.c (setup_process_coding_systems): If the process's
82 in/out descriptor is -1, do nothing.
83
77d1daf2
AS
842003-02-19 Andreas Schwab <schwab@suse.de>
85
e52bd6b7
SM
86 * lisp.h (Fcancel_kbd_macro_events, Fstring_to_multibyte):
87 Add prototypes.
77d1daf2 88
f9a45bb3
KH
892003-02-19 Kenichi Handa <handa@m17n.org>
90
91 * xfaces.c (try_alternative_families): Try all scalable fonts if
92 Vscalable_fonts_allowed is not Qt.
93
72ecb43c
JD
942003-02-19 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se>
95
96 * xfaces.c (x_face_list_fonts): Set *pfonts to 0 if no fonts found.
97
ee5be7c3
JD
982003-02-18 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se>
99
100 * xterm.c (x_list_fonts): If maxnames is less than 0, get all font
101 names.
102
103 * xfaces.c (x_face_list_fonts): Allocate struct font_name here.
e52bd6b7 104 (sorted_font_list): Move allocation of struct font_name to
ee5be7c3
JD
105 x_face_list_fonts.
106 (Fx_font_family_list): Set font-list-limit to -1 to get all font names.
107 (Fx_list_fonts): Set maxnames to -1 to get all font names.
108
4cd519a7
KS
1092003-02-18 Kim F. Storm <storm@cua.dk>
110
068f9882
KS
111 * lread.c (read1): Fix last change.
112 "`" is not always special. Allow "?" after a character constant.
4cd519a7 113
7290a344
AC
1142003-02-18 Andrew Choi <akochoi@shaw.ca>
115
116 * unexmacosx.c (copy_data_segment): Also copy __cfstring section.
117
1f7fa69b
AS
1182003-02-18 Andreas Schwab <schwab@suse.de>
119
120 * window.c (window_scroll_pixel_based): Move outside a
121 multi-glyph character before setting new window start.
122
123 * xdisp.c (in_display_vector_p): New function.
124 * dispextern.h (in_display_vector_p): Declare.
125
23e21195
KS
1262003-02-18 Kim F. Storm <storm@cua.dk>
127
128 * lread.c (read1): Fix and relax read syntax.
129 Recognize "[", ";", "#", and "?" after a dotted-pair dot.
130 Only recognize "," after dotted-pair dot if inside backquote.
131 Never include "`" or "," (inside backquote) in a symbol.
132 Allow dotted-pair dot after a character constant.
133 Allow "`" and "," (inside backquote) after a character constant.
92a8ce63 134
f098b121
JD
1352003-02-17 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se>
136
137 * gtkutil.c (xg_tool_bar_expose_callback): New function.
138 (xg_create_tool_bar): Force style of tool bar to be horizontal with
139 icons. Set name of tool bar to emacs-toolbar.
140 (update_frame_tool_bar): Connect expose event to
141 xg_tool_bar_expose_callback.
142
63020c46
RS
1432003-02-17 Richard M. Stallman <rms@gnu.org>
144
145 * keyboard.c (this_command_key_count_reset): New variable.
146 Initiatize to 0 where this_command_key_count is set.
147 (read_char): Save and restore this_command_key_count_reset
148 around input method code.
149 (read_char): If this_command_key_count_reset, echo reread commands.
150 (Freset_this_command_lengths): Set this_command_key_count_reset to 1.
151
fb4452cc
KH
1522003-02-17 Kenichi Handa <handa@m17n.org>
153
154 * fns.c (string_to_multibyte): Always return a multibyte string.
155
bd11cc09
JR
1562003-02-16 Jason Rumney <jasonr@gnu.org>
157
e52bd6b7
SM
158 * w32fns.c (w32_list_bdf_fonts, w32_list_fonts):
159 Negative max_fonts parameter means list all.
bd11cc09 160
4cdf4bde
DL
1612003-02-14 Dave Love <fx@gnu.org>
162
163 * fns.c (Flanginfo): Doc fix.
164
023b93f6
KS
1652003-02-13 Kim F. Storm <storm@cua.dk>
166
37cd4238
KS
167 * lread.c (read_escape): Interpret \s as a SPACE character, except
168 for \s-X in a character constant which still is the super modifier.
169 (read1): Signal an `invalid read syntax' error if a character
170 constant is immediately followed by a digit or symbol character.
171
140a6b7e
KS
172 * search.c (Fmatch_data): Doc fix. Explicitly state that
173 match-data is undefined if last search failed.
174
023b93f6
KS
175 * keymap.c (Fcommand_remapping): Renamed from Fremap_command.
176 All uses changed.
177
7d5c86e5
JB
1782003-02-12 Juanma Barranquero <lektu@terra.es>
179
180 * eval.c (Fdefmacro): Fix typo.
181
295fff2c
KS
1822003-02-12 Kim F. Storm <storm@cua.dk>
183
184 * macros.c (Fstart_kbd_macro): If appending, and last keyboard
185 macro is a string, convert meta modifiers in string when copying
186 the string into a vector.
187
60f3202d
KS
1882003-02-11 Kim F. Storm <storm@cua.dk>
189
190 * keymap.c (Fremap_command): Return nil if arg is not a symbol.
191
61cb0b53
KH
1922003-02-11 Kenichi Handa <handa@m17n.org>
193
194 * Makefile.in (lisp, shortlisp): Add malayalam.el and tamil.el.
195
7392e23c
KS
1962003-02-10 Kim F. Storm <storm@cua.dk>
197
198 * process.c: Doc fixes.
199 (syms_of_process): Add `:' prefix to QCfilter_multibyte.
200
ce4254bd
KH
2012003-02-10 Kenichi Handa <handa@m17n.org>
202
9c7a329a
KH
203 * fns.c (Fstring_to_multibyte): Fix typo in the docstring.
204
ce4254bd
KH
205 * process.c (QCfilter_multibyte): New variable.
206 (setup_process_coding_systems): New function.
e52bd6b7
SM
207 (Fset_process_buffer, Fset_process_filter):
208 Call setup_process_coding_systems.
ce4254bd
KH
209 (Fstart_process): Initialize the member `filter_multibyte' of
210 struct Lisp_Process.
211 (create_process): Call setup_process_coding_systems.
212 (Fmake_network_process): New keyward `:filter-multibyte'.
213 Initialize the member `filter_multibyte' of struct Lisp_Process.
214 Call setup_process_coding_systems.
215 (server_accept_connection): Call setup_process_coding_systems.
216 (read_process_output): If the process has a filter, decide the
217 multibyteness of a string to given to the filter by
218 `filter_multibyte' member of the process. If the process doesn't
219 have a filter and the result of conversion is unibyte, use
220 Fstring_to_multibyte (not Fstring_make_multibyte) to get the
221 multibyte form.
222 (Fset_process_coding_system): Call setup_process_coding_systems.
223 (Fset_process_filter_multibyte): New function.
224 (Fprocess_filter_multibyte_p): New function.
225 (syms_of_process): Intern and staticpro QCfilter_multibyte.
226 Defsubr Sset_process_filter_multibyte and
227 Sprocess_filter_multibyte_p.
228
229 * process.h (struct Lisp_Process): New member filter_multibyte.
230
231 * lisp.h (setup_process_coding_systems): Add prototype.
232
233 * buffer.c (Fset_buffer_multibyte): If the current buffer has a
234 process, update coding systems for the process.
235
b08d5f59
KH
2362003-02-09 Kenichi Handa <handa@m17n.org>
237
238 * fns.c (string_to_multibyte): New function.
239 (Fstring_to_multibyte): New function.
240 (syms_of_fns): Defsubr it.
241
0dfd93c0
AS
2422003-02-08 Andreas Schwab <schwab@suse.de>
243
244 * Makefile.in (EXEEXT): Define to @EXEEXT@ and use this variable
245 instead of the substitution.
246
7b76ca1c
JD
2472003-02-08 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se>
248
249 * xterm.c (x_make_frame_visible): Call gtk_window_deiconify.
250
251 * xmenu.c (menu_position_func): Adjust menu popup position so that
252 the menu is fully visible.
7b76ca1c 253
2436a4e4
JD
2542003-02-07 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se>
255
256 * xterm.c (x_text_icon, x_raise_frame, x_lower_frame)
e52bd6b7
SM
257 (x_make_frame_invisible, x_wm_set_icon_position):
258 Use FRAME_OUTER_WINDOW instead of ifdef X_TOOLKIT/else/endif.
2436a4e4
JD
259
260 * xfns.c (x_set_name, x_set_title): Ditto.
261
37d1e680
RS
2622003-02-04 Richard M. Stallman <rms@gnu.org>
263
264 * keyboard.c (echo_now): Update before_command_echo_length.
265 (Freset_this_command_lengths): Reset this_command_key_count etc.
266 immediately rather than arranging to do it later.
267 (before_command_key_count_1, before_command_echo_length_1)
268 (before_command_restore_flag): Vars deleted.
269 (add_command_key): Don't handle before_command_restore_flag.
270 (read_char, record_menu_key): Don't update before_command_key_count or
271 before_command_echo_length.
272 (read_char): Don't handle before_command_restore_flag.
273
274 * keyboard.c (command_loop_1): Don't call adjust_point_for_property
275 in direct-output clauses if it wouldn't be called in the ordinary case.
276
578846a3
KS
2772003-02-04 Kim F. Storm <storm@cua.dk>
278
279 * keyboard.c (syms_of_keyboard) <this-original-command>: Doc fix.
280
49853a4d
JD
2812003-02-02 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se>
282
283 * gtkutil.c (remove_from_container): Copying list is not needed.
284 (xg_update_menubar, xg_update_menu_item, xg_update_submenu)
285 (xg_modify_menubar_widgets, update_frame_tool_bar): Call g_list_free
286 on list returned from gtk_container_get_children to avoid memory leak.
287
8b53dc06
JR
2882003-02-01 Jason Rumney <jasonr@gnu.org>
289
5d54d177
JR
290 * w32fns.c (w32_create_pixmap_from_bitmap_data): Use alloca for
291 local malloc.
292 [HAVE_XPM]: Avoid clashes with XColor, XImage and Pixel
293 definitions in xpm.h.
294 (init_xpm_functions): New function.
295 (xpm_load): Sync with xfns.c. Adapt for Windows version of libXpm.
296 (init_external_image_libraries): Try to load libXpm.dll.
297
8b53dc06
JR
298 * fileio.c (Fcopy_file) [WINDOWSNT]: Reverse logic for setting
299 timestamp.
300
b222e415
DL
3012003-01-31 Dave Love <fx@gnu.org>
302
303 * syntax.c (Fskip_chars_forward)
304 (open-paren-in-column-0-is-defun-start): Doc fix.
305
c60ee5e7
JB
3062003-01-31 Joe Buehler <jhpb@draco.hekimian.com>
307
308 * fileio.c: Support // at start of name for Cygwin (just added proper
309 preprocessor tests).
310
311 * keyboard.c: Port to Cygwin (just added proper preprocessor tests).
312
313 * Makefile.in: Use @EXEEXT@ for Cygwin.
314
315 * mem-limits.h: Added ifdef to define BSD4_2 for Cygwin.
316
317 * s/cygwin.h: Added for Cygwin port.
318
53b37591
JB
3192003-01-31 Juanma Barranquero <lektu@terra.es>
320
321 * w32fns.c (DrawText): Kludge to avoid a redefinition on Windows
322 when including gif_lib.h.
fe929957
JB
323 (init_gif_functions, init_tiff_functions): New functions.
324 (gif_load, tiff_load): Sync with xfns.c version. Adjust colors for
325 Windows. Disable color table lookups. Call library functions
53b37591 326 through pointers determined at runtime.
fe929957
JB
327 (init_external_image_libraries): Try to load libungif.dll and
328 libtiff.dll.
53b37591 329
45415a8f
KH
3302003-01-31 Kenichi Handa <handa@m17n.org>
331
332 * xdisp.c (SKIP_GLYPHS): New macro.
e52bd6b7 333 (set_cursor_from_row): Skip all glyphs that comes from overlay string.
45415a8f 334
a97e4138
JD
3352003-01-30 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se>
336
e52bd6b7 337 * gtkutil.c (free_frame_tool_bar): Remove debug printf.
a97e4138 338
6eed9bed
DL
3392003-01-30 Dave Love <fx@gnu.org>
340
341 * alloc.c (Vgc_elapsed, gcs_done): New variables.
342 (Fgarbage_collect): Use them.
343 (init_alloc, syms_of_alloc): Set them up.
344
100dcd40
JB
3452003-01-30 Juanma Barranquero <lektu@terra.es>
346
347 * w32fns.c (init_external_image_libraries): Add missing operator.
348
fbd852af
JR
3492003-01-29 Jason Rumney <jasonr@gnu.org>
350
351 * w32fns.c (init_external_image_libraries): Allow jpeg-62.dll as
352 an alternative name for jpeg.dll.
353
8a2d8020
KH
3542003-01-29 Kenichi Handa <handa@m17n.org>
355
356 * xdisp.c (set_cursor_from_row): Pay attention to string display
357 properties.
358
058c18c7
AC
3592003-01-28 Benjamin Riefenstahl <Benjamin.Riefenstahl@epost.de>
360
361 * macterm.c (keycode_to_xkeysym_table): Add <tab>, <backspace>,
362 <escape>.
363 (keycode_to_xkeysym_table): Reformat and add more comments.
364 (XTread_socket): Drop special case for backspace.
365
385f11cf
AC
3662003-01-28 Andrew Choi <akochoi@shaw.ca>
367
368 * macfns.c (x_to_mac_color): Correct the order for parsing the RGB
369 values in old-style RGB specs.
370
c922a224
JB
3712003-01-27 Juanma Barranquero <lektu@terra.es>
372
373 * w32fns.c (init_external_image_libraries): Try alternate names for the
374 jpeg dll.
375
0a1d6de0
JD
3762003-01-27 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se>
377
378 * gtkutil.c (create_dialog, xg_separator_p)
379 (xg_item_label_same_p, xg_update_menu_item): Check for NULL string
380 before calling strcmp or strlen.
381
a97e4138 3822003-01-26 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se>
1d1885fc
JD
383
384 * gtkutil.c (update_frame_tool_bar): Call prepare_image_for_display
385 and handle image load failure.
386
28908312
JR
3872003-01-26 Jason Rumney <jasonr@gnu.org>
388
389 * w32fns.c (init_jpeg_functions, jpeg_resync_to_restart_wrapper):
390 New functions.
391 (jpeg_load): Sync with xfns.c version. Adjust colors for Windows.
392 Disable color table lookups. Call jpeg library functions
393 through pointers determined at runtime.
394 (init_external_image_libraries): Try to load jpeg.dll.
395
84e47416
RS
3962003-01-25 Richard M. Stallman <rms@gnu.org>
397
398 * lisp.h: Declare format2 instead of format1.
399
400 * fileio.c (barf_or_query_if_file_exists):
401 Call format2 instead of format1.
402
403 * editfns.c (format2): New function, replaces format1
404 but takes exactly two Lisp Objects as format args.
405
406 * buffer.c (Fkill_buffer): Call format2 instead of format1.
407
a97e4138 4082003-01-25 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se>
1fcfb866
JD
409
410 * xterm.h: Change to return value of x_dispatch_event to int.
411
412 * xterm.c (x_filter_event): New function.
413 (event_handler_gdk, XTread_socket): Call x_filter_event.
414 (x_dispatch_event): Change to return value of finish.
415 (event_handler_gdk): Use return value from x_dispatch_event.
416
417 * xfns.c (x_window): Call create_frame_xic for GTK version to
418 initialize input methods.
419
420 * gtkutil.h: Add (void) prototypes.
421
422 * gtkutil.c (create_menus): Remove code that puts the help menu to
423 the right.
424
54eefef1
JR
4252003-01-25 Jason Rumney <jasonr@gnu.org>
426
427 * w32fns.c (XPutPixel): Handle monochrome images; used for masks.
428 [HAVE_PNG]: Sync with xfns.c version.
429 (png_load): Adjust colors for Windows. Use Windows
430 bitmaps. Disable color table lookups.
c262430d
JR
431 (DEF_IMGLIB_FN, LOAD_IMGLIB_FN): New macros.
432 (init_png_functions): New function.
433 (png_read_from_memory, png_load): Call png library functions
434 through pointers determined at runtime.
435 (QCloader, QCbounding_box, QCpt_width, QCpt_height): Declare.
436 (init_external_image_libraries): New function.
437 (init_xfns): Call it.
54eefef1 438
1a9e275b
AS
4392003-01-24 Andreas Schwab <schwab@suse.de>
440
441 * minibuf.c (Fminibuffer_message): Verify type of parameter.
442
a97e4138 4432003-01-24 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se>
81e302ef
JD
444
445 * gtkutil.c (xg_initialize): Initialize id_to_widget here instead
446 of static initializer.
447
422eec7e
DL
4482003-01-24 Dave Love <fx@gnu.org>
449
450 * s/gnu-linux.h (GC_SETJMP_WORKS, GC_MARK_STACK): Define for more
451 architectures.
452
453 * alloc.c (mark_stack) [!GC_LISP_OBJECT_ALIGNMENT && __GNUC__]:
454 Use __alignof__.
455
2a026b04
KH
4562003-01-24 Kenichi Handa <handa@m17n.org>
457
458 * keyboard.c (adjust_point_for_property): New second arg MODIFIED.
e52bd6b7 459 It it is nonzero, don't pretend that an invisible area doesn't exist.
2a026b04
KH
460 (command_loop_1): Call adjust_point_for_property with proper
461 second arg.
462
a18bb28d
JR
4632003-01-22 Jason Rumney <jasonr@gnu.org>
464
465 Sync changes with xterm.c and xfns.c.
466
467 * w32term.c (x_draw_glyph_string_foreground)
468 (x_draw_composite_glyph_string_foreground): Implement overstriking.
469
470 * w32term.c (x_write_glyphs): Clear phys_cursor_on_p if current
471 phys_cursor's hpos is overwritten. This is still not completely
472 correct, as it doesn't really make sense to use hpos at all to
473 get the cursor glyph (as that is relative to the width of the
474 characters on the line, which may have changed during the update).
475
476 * w32term.c (notice_overwritten_cursor): Handle the special case
477 of the cursor being in the first blank non-text line at the
478 end of a window.
479
480 * w32term.c (x_draw_hollow_cursor, x_draw_bar_cursor)
481 (x_draw_phys_cursor_glyph): Set phys_cursor_width here.
482 Compute from the x position returned by x_draw_glyphs.
483
484 (x_display_and_set_cursor): Don't set phys_cursor_width here,
485 except for NO_CURSOR and system caret, to make phys_cursor_width
486 contain what its name suggests.
487 (notice_overwritten_cursor): Consider the cursor image erased if
488 the output area intersects the cursor image in y-direction.
489
490 * w32term.c (note_mode_line_or_margin_highlight): Renamed from
491 note_mode_line_highlight and extended.
492
493 * w32term.c (last_window): New variable.
494 (w32_read_socket) <WM_MOUSEMOVE>: Generate SELECT_WINDOW_EVENTs.
495 (note_mouse_movement): Remove reimplemented code in #if 0.
496
497 * w32fns.c (x_set_cursor_type): Set cursor_type_changed,
498 not update_mode_lines, and always set it to 1.
499
ac6e47ef
JR
5002003-01-21 Jason Rumney <jasonr@gnu.org>
501
502 * w32fns.c (IDC_HAND): Define it if system headers don't.
503
5042003-01-21 KOBAYASHI Yasuhiro <kobayays@otsukakj.co.jp>
505
506 * w32term.h (struct w32_output): New member hand_cursor.
507 (WM_EMACS_SETCURSOR): New message definition.
508
509 * w32term.c (note_mode_line_highlight): Delete #if 0 to enable
510 function w32_define_cursor.
511 (note_mouse_highlight): Initialize, setup cursor accoding to mouse
512 position, change member name output_data.x to output_data.w32 and
513 add function w32_define_cursor.
514 (show_mouse_face): Delete #if 0 to enable function w32_define_cursor
515 and change member name output_data.x to output_data.w32.
e52bd6b7
SM
516 (w32_initialize_display_info):
517 Setup dpyinfo->vertical_scroll_bar_cursor.
ac6e47ef
JR
518
519 * w32fns.c (Vx_hand_shape): New variable.
520 (w32_wnd_proc): Add message entries for WM_SETCURSOR and
521 WM_EMACS_SETCURSOR.
522 (x-create-frame): Setup Cursor types.
523
ceb39a17
JB
5242003-01-21 David Ponce <david@dponce.com>
525
ac6e47ef
JR
526 * w32term.c (w32_encode_char): For DIM=1 charset, set
527 ccl->reg[2] to -1 before calling ccl_driver. (Sync. with xterm.c
528 x_encode_char change by Kenichi Handa <handa@m17n.org> on
ceb39a17 529 2002-09-30.)
ac6e47ef
JR
530 (w32_draw_relief_rect): Declare all args.
531 (w32_define_cursor): New.
532
533 * w32fns.c (w32_load_cursor): New function.
534 (w32_init_class): Use it.
535 (x_put_x_image): Declare all args.
536
46cf0bed
JB
5372003-01-21 Richard Dawe <rich@phekda.freeserve.co.uk> (tiny change)
538
539 * Makefile.in (ALL_CFLAGS): Include MYCPPFLAGS, not MYCPPFLAG.
540
a97e4138 5412003-01-21 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se>
e8794476
JD
542
543 * gtkutil.c: Must include stdio.h before termhooks.h
544
83fc9c63
DL
5452003-01-21 Dave Love <fx@gnu.org>
546
547 * alloc.c (Fgc_status): Print zombie list.
548 (mark_maybe_object) [GC_MARK_STACK==GC_USE_GCPROS_CHECK_ZOMBIES]:
549 Fix assignment of zombies.
550 (Fgarbage_collect) [GC_MARK_STACK==GC_USE_GCPROS_CHECK_ZOMBIES]:
551 Don't take car of non-cons.
552
553 * s/sol2-5.h (GC_SETJMP_WORKS, GC_MARK_STACK): Define.
554
555 * s/sunos4-0.h (GC_SETJMP_WORKS, GC_MARK_STACK): Define.
556
fe04b8c8
JR
5572003-01-20 David Ponce <david@dponce.com>
558
559 * w32menu.c (digest_single_submenu): Declare all args.
560
561 Sync with 2002-12-23 Richard M. Stallman <rms@gnu.org>
562 changes in xmenu.c:
563
564 (parse_single_submenu): Use individual keymap's prompt
565 string as pane name, if there is one.
566 (set_frame_menubar): Save menu_items_n_panes from each call to
567 parse_single_submenu and use it when calling digest_single_submenu.
568
539e69a9
ST
5692003-01-20 Steven Tamm <steventamm@mac.com>
570
571 * macterm.c (XTread_socket): Checks for valid, visible window
572 before sending a scroll-wheel event.
573
675d000f
RS
5742003-01-20 Richard M. Stallman <rms@gnu.org>
575
576 * xdisp.c (redisplay_window): If mini window's buffer is not
577 a minibuffer, then redisplay it like other windows.
578
a97e4138 5792003-01-20 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se>
22174d10
JD
580
581 * gtkutil.c (xg_create_frame_widgets): Check if there is an
582 external tool bar before setting tool bar height.
583
77d1daf2 5842003-01-19 Ja
3c02a6f5 585
77d1daf2
AS
586 * w32fns.c (w32_defined_color): Adjust RGB values for Emacs.
587 (x_from_xcolors): Adjust RGB values for W32.
588 (image_background, image_background_transparent)
589 (postprocess_image, x_to_xcolors, x_disable_image)
590 (x_build_heuristic_mask): Adapt for W32 and enable.
591 (x_create_x_image_and_pixmap): Mark images with palettes as such.
592 (xbm_load): Remove unused variable.
cd7df9c0 593
77d1daf2 5942002-11-14 Richard M. Stallman <rms@gnu.org>
cd7df9c0 595
77d1daf2 596 * buffer.c (syms_of_buffer): Doc fix.
56210ecd 597
77d1daf2 5982002-11-14 Dave Love <fx@gnu.org>
56210ecd 599
77d1daf2 600 * alloc.c (SETJMP_WILL_NOT_WORK): Add note.
56210ecd 601
77d1daf2
AS
602 * xterm.c (x_draw_relief_rect, x_draw_box_rect, x_update_cursor):
603 * xmenu.c (unuse_menu_items, digest_single_submenu):
604 * xfns.c (x_put_x_image):
605 * xdisp.c (message2_nolog, set_message):
606 * undo.c (record_point):
607 * terminfo.c (tparam):
608 * syntax.c (scan_sexps_forward):
609 * scroll.c (calculate_scrolling, calculate_direct_scrolling):
610 * composite.c (update_compositions):
611 * cm.c (calccost, cmgoto):
612 * charset.c (c_string_width): Declare all args (per C99).
6df8b9fe 613
77d1daf2 614 * frame.h (get_specified_cursor_type, get_window_cursor_type): Declare.
6df8b9fe 615
77d1daf2
AS
616 * lisp.h (get_specified_cursor_type, get_window_cursor_type):
617 Don't declare.
292ddc31 618
77d1daf2 619 * emacs.c (main) [!VMS]: Avoid third arg.
292ddc31 620
77d1daf2
AS
621 * fns.c (Fcopy_sequence): Doc fix.
622 (Fmap_char_table): Cast `call2'.
292ddc31 623
77d1daf2 6242002-11-14 Francesco Potorti` <pot@gnu.org>
63e4e4c6 625
77d1daf2 626 * s/sol2-8.h: New file.
63e4e4c6 627
77d1daf2 6282002-11-14 Kim F. Storm <storm@cua.dk>
63e4e4c6 629
77d1daf2
AS
630 * buffer.c (syms_of_buffer) <mode-line-format>: Document symbol
631 dependency on `risky-local-variable' and the :propertize form.
7ed16567 632
77d1daf2 6332002-11-12 Stefan Monnier <monnier@cs.yale.edu>
7ed16567 634
77d1daf2 635 * fns.c (Fmap_char_table): Don't use map_char_table's function arg.
e833850f 636
77d1daf2
AS
637 * syntax.c (scan_sexps_forward): Undo last patch.
638 Use a more obvious fix: check eob before updating the syntax table.
e833850f 639
77d1daf2 6402002-11-09 Stefan Monnier <monnier@cs.yale.edu>
817cb127 641
77d1daf2
AS
642 * syntax.c (scan_sexps_forward): Update syntax table before reading
643 a char rather than after so we don't update the table past eob.
817cb127 644
77d1daf2 6452002-11-09 Dave Love <fx@gnu.org>
3e8cf2ea 646
77d1daf2 647 * buffer.c (Fset_buffer_major_mode): Fix last change.
3e8cf2ea 648
77d1daf2 649 * regex.c (regexec): Fix pmatch declaration.
3e8cf2ea 650
77d1daf2 651 * cmds.c (Fself_insert_command): Apply Vtranslation_table_for_input.
3e8cf2ea 652
77d1daf2
AS
653 * keyboard.c (command_loop_1): Apply Vtranslation_table_for_input
654 to self-inserting characters.
655 (syms_of_keyboard) <keyboard-translate-table>: Doc fix.
2c10f029 656
77d1daf2
AS
657 * coding.c (Vtranslation_table_for_input): New.
658 (syms_of_coding): DEFVAR it.
94e8ffca 659
77d1daf2 6602002-11-08 Juanma Barranquero <lektu@terra.es>
94e8ffca 661
e52bd6b7 662 * w32term.c (w32_draw_fringe_bitmap): Remove unused variable window.
2c10f029 663
77d1daf2 6642002-11-08 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
b8a76c6c 665
e52bd6b7 666 * process.c (Fformat_network_address): Remove unused locals p,
77d1daf2 667 cp, and i.
b8a76c6c 668
77d1daf2 6692002-11-06 Dave Love <fx@gnu.org>
3a8d0899 670
77d1daf2
AS
671 * buffer.c (Qset_buffer_major_mode_hook): New.
672 (Fset_buffer_major_mode): Use it.
3a8d0899 673
77d1daf2 6742002-11-06 Richard M. Stallman <rms@gnu.org>
4abc7470 675
77d1daf2
AS
676 * xterm.c (x_term_init): Use turn_on_atimers, not start_polling
677 and stop_polling.
4abc7470 678
77d1daf2
AS
679 * process.c (wait_reading_process_input):
680 Test POLLING_PROBLEM_IN_SELECT, not hpux.
681 Avoid initialization for auto Lisp_Object var.
b809d662 682
77d1daf2 683 * s/hpux11.h (POLLING_PROBLEM_IN_SELECT): Add #undef.
b809d662 684
77d1daf2 685 * s/hpux10.h (POLLING_PROBLEM_IN_SELECT): Defined.
bf338245 686
77d1daf2 6872002-11-05 Richard M. Stallman <rms@gnu.org>
bf338245 688
77d1daf2 689 * s/sol2-5.h (BROKEN_SIGIO): Turn off the #undef.
bf338245 690
77d1daf2
AS
691 * callint.c (Fcall_interactively): New local filter_specs.
692 (Fcall_interactively): Check for progn as well as let.
693 Add a gcpro.
694 (Qprogn): New variable.
695 (syms_of_callint): Staticpro and init Qprogn.
bf338245 696
77d1daf2 6972002-11-04 John Paul Wallington <jpw@shootybangbang.com>
e833850f 698
77d1daf2 699 * lread.c (Feval_buffer): Doc fix.
c4af2bce 700
77d1daf2 7012002-11-04 Dave Love <fx@gnu.org>
c4af2bce 702
77d1daf2
AS
703 * keyboard.c (read_char): Always translate iff
704 Vkeyboard_translate_table is a char table and c is valid.
00e3ab56 705
77d1daf2
AS
706 * xterm.c (XTread_socket): Check Lisp types for Vx_keysym_table
707 and fix C types.
00e3ab56 708
77d1daf2 7092002-11-03 Stefan Monnier <monnier@cs.yale.edu>
f387e1fd 710
77d1daf2 711 * xdisp.c (single_display_prop_intangible_p): Strings are intangible.
f387e1fd 712
77d1daf2 713 * editfns.c (get_pos_property): Don't hardcode Qfield.
f387e1fd 714
77d1daf2
AS
715 * keyboard.c (adjust_point_for_property): Handle `display' prop on
716 overlays. Also handle `invisible' prop.
8c6d74c6 717
77d1daf2 7182002-11-02 Stefan Monnier <monnier@cs.yale.edu>
e833850f 719
77d1daf2
AS
720 * coding.c (decode_coding_emacs_mule, decode_coding_iso2022)
721 (decode_coding_sjis_big5, decode_eol): Allow lone \r in DOS EOL.
8c6d74c6 722
77d1daf2 7232002-11-01 Andreas Schwab <schwab@suse.de>
e833850f 724
77d1daf2 725 * editfns.c (Fmessage): Revert last change to properly handle %%.
8c6d74c6 726
77d1daf2 7272002-11-01 Stefan Monnier <monnier@cs.yale.edu>
8c6d74c6 728
77d1daf2
AS
729 * xmenu.c (unuse_menu_items): New fun.
730 (menu_items_inuse): New var.
731 (syms_of_xmenu): Initialize it.
732 (init_menu_items): Use it to detect re-entrance.
733 (Fx_popup_menu, Fx_popup_dialog, set_frame_menubar): Reset when done.
734 (Fx_popup_menu): Remove spurious XSETFRAME.
8c6d74c6 735
77d1daf2 736 * editfns.c (find_field): Make an exception for nil fields.
8c6d74c6 737
77d1daf2 7382002-11-01 Dave Love <fx@gnu.org>
8c6d74c6 739
77d1daf2 740 * m/gec63.h: Deleted.
8c6d74c6 741
77d1daf2 7422002-10-31 Dave Love <fx@gnu.org>
8c6d74c6 743
77d1daf2
AS
744 * xterm.c (XTread_socket): Fix last change.
745 (xaw_scroll_callback): Cast call_data to long to avoid warning.
8c6d74c6 746
77d1daf2 7472002-10-31 Stefan Monnier <monnier@cs.yale.edu>
8c6d74c6 748
77d1daf2 749 * process.c (Fformat_network_address): Fix int/Lisp_Object mixup.
8c6d74c6 750
77d1daf2 7512002-10-30 Stefan Monnier <monnier@cs.yale.edu>
8c6d74c6 752
77d1daf2
AS
753 * editfns.c (overlays_around, get_pos_property): New funs.
754 (find_field): Use them.
755 Also be careful not to modify POS before its last use.
756 (Fmessage): Don't Fformat if there's nothing to format.
8c609cff 757
77d1daf2 7582002-10-30 Dave Love <fx@gnu.org>
8c609cff 759
77d1daf2
AS
760 * process.c [HAVE_SYS_WAIT]: Include sys/wait.h.
761 [HAVE_PTY_H]; Include pty.h.
b37113a1 762
77d1daf2 763 * lread.c (Fload) <!load_dangerous_libraries>: Close fd.
b37113a1 764
77d1daf2
AS
765 * xterm.c (Qeql): Declare.
766 (Vx_keysym_table): New.
767 (syms_of_xterm): Initialize it.
768 (XTread_socket): Use it. Deal with ASCII keysyms.
769 (XSetIMValues) [HAVE_X11R6]: Prototype.
fa634a5e 770
77d1daf2
AS
771 * keyboard.c (lispy_accent_codes, lispy_accent_keys): Extended.
772 (lispy_kana_keys): Comment out.
773 (make_lispy_event) [XK_kana_A]: Comment out.
774 (modify_event_symbol) <sizeof (long) == sizeof (EMACS_INT)>:
775 Fix sprintf call.
fa634a5e 776
77d1daf2
AS
777 * s/osf5-0.h (C_SWITCH_SYSTEM): Revert last change (fixed by
778 regexp.h change).
779 (TERMINFO, LIBS_TERMCAP): Define.
ce0669d4 780
77d1daf2
AS
781 * s/usg5-4.h (bcopy, bzero): Define conditional on HAVE_BCOPY.
782 (bcmp): Define conditional on HAVE_BCMP.
783 (NO_SIOCTL_H): Don't define.
784 (TIOCSIGSEND): Don't make conditional on IRIX6.
ce0669d4 785
77d1daf2
AS
786 * s/sol2-5.h: Don't include strings.h.
787 (bcopy, bzero, bcmp) [HAVE_BCOPY]: Don't undef.
2308af15 788
77d1daf2
AS
789 * s/irix6-0.h (IRIX6): Don't define.
790 (bcopy, bcmp, bzero): Don't undef.
2308af15 791
77d1daf2
AS
792 * s/irix6-5.h: Don't include strings.h.
793 (IRIX6): Don't define.
794 (bcopy, bcmp, bzero): Don't undef.
2155ecf3 795
77d1daf2 796 * syntax.c (Fforward_comment): Doc fix.
2155ecf3 797
77d1daf2 7982002-10-29 Kim F. Storm <storm@cua.dk>
2155ecf3 799
77d1daf2
AS
800 * process.c (Fsignal_process): Allow PROCESS to be specified by
801 name in addition to pid (as integer or string).
2155ecf3 802
77d1daf2 8032002-10-28 Harald Maier <Harald.Maier.BW@t-online.de> (tiny change)
61f1d295 804
77d1daf2
AS
805 * w32heap.c: Don't redefine _heap_init and _heap_term on MSVC 7 build
806 environments.
61f1d295 807
77d1daf2 8082002-10-27 Kim F. Storm <storm@cua.dk>
0b17a217 809
77d1daf2 810 * xterm.c (note_mouse_highlight): Don't use mouse-face if hidden.
0b17a217 811
77d1daf2 812 * w32term.c (note_mouse_highlight): Don't use mouse-face if hidden.
0b17a217 813
77d1daf2 814 * msdos.c (IT_note_mouse_highlight): Don't use mouse-face if hidden.
402e4f8b 815
77d1daf2 816 * macterm.c (note_mouse_highlight): Don't use mouse-face if hidden.
402e4f8b 817
77d1daf2 8182002-10-26 Richard M. Stallman <rms@gnu.org>
f02cac82 819
77d1daf2 820 * editfns.c (Fformat): Detect invalid format letters for floats.
f02cac82 821
77d1daf2 8222002-10-25 Kenichi Handa <handa@m17n.org>
f02cac82 823
77d1daf2
AS
824 * xfns.c (x_set_name): Encode by Qcompound_text unconditionally.
825 (x_set_title): Likewise.
f02cac82 826
77d1daf2 8272002-10-25 Juanma Barranquero <lektu@terra.es>
f02cac82 828
77d1daf2
AS
829 * macgui.h:
830 * w32gui.h: Remove definition of XColor.
f02cac82 831
77d1daf2 832 * dispextern.h [!HAVE_X_WINDOWS]: Define XColor.
f02cac82 833
77d1daf2 8342002-10-24 Kim F. Storm <storm@cua.dk>
f02cac82 835
77d1daf2
AS
836 * xdisp.c (get_window_cursor_type): New arg ACTIVE_CURSOR.
837 Callers changed (supply dummy arg).
f02cac82 838
77d1daf2 839 * lisp.h (get_window_cursor_type): Update prototype.
1a590729 840
77d1daf2
AS
841 * w32term.c (x_display_and_set_cursor): Get active_cursor from
842 get_window_cursor_type to track system caret.
1a590729 843
77d1daf2 8442002-10-24 Kim F. Storm <storm@cua.dk>
f02cac82 845
77d1daf2
AS
846 * process.c (Fformat_network_address): New function.
847 (syms_of_process): Defsubr it.
848 (list_processes_1): Use it to format :local/:remote address if
849 service/host is not set; before emacs would crash in that case.
850 (Fmake_network_process): Don't use Ffind_operation_coding_system
851 to setup coding system if host or service is not set.
2308af15 852
77d1daf2 8532002-10-23 Juanma Barranquero <lektu@terra.es>
9785d95b 854
77d1daf2 855 Patch suggested by Jay Finger <jay_finger@hotmail.com>.
9785d95b 856
77d1daf2
AS
857 * w32term.c (w32_term_init): Pass XColor to w32_define_color, not
858 COLORREF.
9785d95b 859
77d1daf2
AS
860 * macgui.h:
861 * w32gui.h: Add definition of XColor.
9785d95b 862
77d1daf2
AS
863 * macfns.c:
864 * w32fns.c:
865 * xfaces.c: Remove definition of XColor.
2308af15 866
77d1daf2 8672002-10-22 Stefan Monnier <monnier@cs.yale.edu>
2308af15 868
77d1daf2 869 * xfns.c (x_set_name, x_set_title): `icon.value' has unsigned char.
9785d95b 870
77d1daf2
AS
871 * window.c (window_loop): For GET_LRU_WINDOW and GET_LARGEST_WINDOW>,
872 Only ignore truly dedicated windows. For UNSHOW_BUFFER, delete the
873 window if it is dedicated.
874 (Fshrink_window): Add preserve_before as was done for enlarge_window.
875 (Vspecial_display_function): Update docstring.
9785d95b 876
77d1daf2
AS
877 * buffer.c (assoc_ignore_text_properties, Fother_buffer, Fkill_buffer)
878 (call_overlay_mod_hooks): Use CONSP and XCAR/XCDR.
879 (Fget_buffer_create, advance_to_char_boundary): Use BEG and BEG_BYTE;
9785d95b 880
77d1daf2 8812002-10-21 Stefan Monnier <monnier@cs.yale.edu>
9785d95b 882
77d1daf2
AS
883 * casefiddle.c (casify_region): Don't treat a prefix char as part
884 of a word when at the beginning.
9785d95b 885
77d1daf2 8862002-10-17 Juanma Barranquero <lektu@terra.es>
9785d95b 887
77d1daf2 888 * lread.c (syms_of_lread): Fix typos.
9785d95b 889
77d1daf2 8902002-10-17 Dave Love <fx@gnu.org>
9785d95b 891
77d1daf2 892 * Makefile.in (TEMACS_LDFLAGS): Add trailing comment.
9785d95b 893
77d1daf2 8942002-10-16 Richard M. Stallman <rms@gnu.org>
9785d95b 895
77d1daf2 896 * fileio.c (Fcopy_file): Fix backward test of KEEP_TIME.
9785d95b 897
77d1daf2 8982002-10-14 Juanma Barranquero <lektu@terra.es>
2308af15 899
77d1daf2
AS
900 * w16select.c (syms_of_win16select): Fix docstring for
901 `selection-coding-system'.
b6da19ef 902
77d1daf2 903 * w32select.c (syms_of_w32select): Likewise.
b6da19ef 904
77d1daf2 9052002-10-14 Stefan Monnier <monnier@cs.yale.edu>
b6da19ef 906
77d1daf2
AS
907 * syntax.c (scan_lists): Don't get fooled by a symbol ending with
908 a backslash-quoted char.
909 (scan_lists, scan_sexps_forward): Pacify the compiler.
b6da19ef 910
77d1daf2 9112002-10-13 Richard M. Stallman <rms@gnu.org>
bfcf6dbe 912
77d1daf2 913 * window.c (window_scroll): Set immediate_quit.
bfcf6dbe 914
77d1daf2
AS
915 * print.c (print): When backquote form is the car of a list,
916 output in old style. Use old_backquote_output to output all
917 comma forms inside it in old style too.
2c568af5 918
77d1daf2 919 * buffer.h (struct buffer): Move `undo_list' down below `name'.
2c568af5 920
77d1daf2 9212002-10-11 Markus Rost <rost@math.ohio-state.edu>
b8c6225c 922
77d1daf2
AS
923 * emacs.c (syms_of_emacs) <kill-emacs-hook>: Doc fix (not run in
924 batch mode).
b8c6225c 925
77d1daf2 926 * lread.c (Fload): Doc fix (load-suffixes).
706ddb8f 927
77d1daf2 9282002-10-10 Steven Tamm <steventamm@mac.com>
706ddb8f 929
77d1daf2
AS
930 * macterm.c (syms_of_macterm, mac_get_mouse_btn):
931 Reverse functionality of mac-wheel-button-is-mouse-2 to be correct.
932 Also switch the default to Qnil from Qt.
96720f09 933
77d1daf2 9342002-10-08 Kenichi Handa <handa@m17n.org>
96720f09 935
77d1daf2
AS
936 * coding.c (code_convert_region): When we need more GAP for
937 conversion, pay attention to the case that coding->produced is not
938 greater than coding->consumed.
e5ae1c49 939
77d1daf2 9402002-10-07 Richard M. Stallman <rms@gnu.org>
e5ae1c49 941
77d1daf2 942 * unexelf.c (unexec): Redo 9/16 change, but only if IRIX6_5.
2eb46b2d 943
77d1daf2 9442002-10-06 Andrew Choi <akochoi@shaw.ca>
2eb46b2d 945
77d1daf2
AS
946 * macmenu.c (mac_menu_show): Add j to count menu items; match
947 menu_item_selection to it to find selected item.
b11f1d8a 948
77d1daf2 9492002-10-06 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se>
b11f1d8a 950
77d1daf2
AS
951 * xterm.c (XTread_socket): Fix from 2002-10-03 didn't cover all
952 cases. The correct fix is to pass ReparentNotify to Xt.
953 The shell widget interprets ConfigureNotify differently depending
954 on if it has been reparented or not.
d8528226 955
77d1daf2 9562002-10-05 Markus Rost <rost@math.ohio-state.edu>
d8528226 957
77d1daf2 958 * editfns.c (Fformat_time_string): Doc fix.
a4ac5b17 959
77d1daf2 9602002-10-05 John Paul Wallington <jpw@shootybangbang.com>
a4ac5b17 961
77d1daf2 962 * fns.c (Flength): Doc fix.
ac42d7b9 963
77d1daf2 9642002-10-04 Stefan Monnier <monnier@cs.yale.edu>
ac42d7b9 965
77d1daf2
AS
966 * keyboard.c (keyremap): New struct.
967 (read_key_sequence): Use it: globally replace keytran_foo with
968 keytran.foo and fkey_foo with fkey.foo. Rename temp vars
969 keytran_next and fkey_next to just `next'.
85cce843 970
77d1daf2 9712002-10-04 Steven Tamm <steventamm@mac.com>
85cce843 972
77d1daf2
AS
973 * macterm.c (keycode_to_xkeysym_table): Change return to be
974 treated like an X keysym.
0d4d26a7 975
77d1daf2 9762002-10-03 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se>
0d4d26a7 977
77d1daf2
AS
978 * xterm.c (XTread_socket): For ConfigureNotify, with x and y == 0,
979 and USE_MOTIF, call XTranslateCoordinates to get the real x and y.
980 This is to also handle x/y changes that occur because of a resize.
b11f1d8a 981
77d1daf2 9822002-10-02 John Paul Wallington <jpw@shootybangbang.com>
0d4d26a7 983
77d1daf2
AS
984 * frame.c (Vdelete_frame_functions): New variable.
985 (syms_of_frame): Initialize and defvar it.
986 (Fdelete_frame): Use it instead of delete-frame-hook. Don't run
987 it when frame's `tooltip' parameter is non-nil.
b11f1d8a 988
77d1daf2 989 * xfns.c (x_create_tip_frame): Set `tooltip' frame parameter to t.
0d4d26a7 990
77d1daf2 991 * w32fns.c (x_create_tip_frame): Likewise.
9252f7bc 992
77d1daf2 993 * macfns.c (x_create_tip_frame): Likewise.
9252f7bc 994
77d1daf2 9952002-09-30 Kenichi Handa <handa@m17n.org>
9252f7bc 996
77d1daf2
AS
997 * xterm.c (x_encode_char): For DIM=1 charset, set ccl->reg[2] to
998 -1 before calling ccl_driver.
9252f7bc 999
77d1daf2
AS
1000 * coding.c (decode_coding_emacs_mule): Check coding->cmp_data.
1001 Only when it is non-nil, handle composition sequence.
1002 (setup_coding_system) <0>: Don't force composition handling.
9252f7bc 1003
77d1daf2 1004 * Makefile.in (lisp, shortlisp): Add utf-16.elc
9252f7bc 1005
77d1daf2 10062002-09-29 Richard M. Stallman <rms@gnu.org>
9252f7bc 1007
77d1daf2
AS
1008 * search.c (Freplace_match): Adjust match data for the substitution
1009 just made in the buffer.
bfa261c0 1010
77d1daf2
AS
1011 * xdisp.c (STOP_POLLING, RESUME_POLLING): New macros.
1012 (redisplay_internal): Use them. Do RESUME_POLLING at end of function.
bfa261c0 1013
77d1daf2 10142002-09-27 Richard M. Stallman <rms@gnu.org>
c5992177 1015
77d1daf2
AS
1016 * keyboard.c (STOP_POLLING, RESUME_POLLING): New macros.
1017 (read_char): Use them. Do all exits thru the end of the function.
c5992177 1018
77d1daf2 10192002-09-27 Kenichi Handa <handa@etl.go.jp>
c5992177 1020
77d1daf2
AS
1021 * xfaces.c (try_font_list): Pay attention to the case that FAMILY
1022 is nil.
c5992177 1023
77d1daf2 10242002-09-26 Richard M. Stallman <rms@gnu.org>
02d588e2 1025
77d1daf2 1026 * regex.h (__restrict_arr): Don't define if already defined.
02d588e2 1027
77d1daf2
AS
1028 * coding.c (run_pre_post_conversion_on_str):
1029 Save and restore Vdeactivate_mark.
451e2697 1030
77d1daf2 10312002-09-26 John Paul Wallington <jpw@shootybangbang.com>
451e2697 1032
77d1daf2 1033 * minibuf.c (Fminibufferp): Add an optional `buffer' argument.
72742a99 1034
77d1daf2 10352002-09-26 Kenichi Handa <handa@etl.go.jp>
72742a99 1036
77d1daf2
AS
1037 * xfaces.c (try_font_list): New arg PREFER_FACE_FAMILY. If it is
1038 nonzero, try face's family at first. Otherwise try FAMILY at first.
1039 (choose_face_font): If C is a single byte char or latin-1, call
1040 try_font_list with PREFER_FACE_FAMILY 1.
72742a99 1041
77d1daf2 10422002-09-21 Richard M. Stallman <rms@gnu.org>
72742a99 1043
77d1daf2
AS
1044 * window.c (select_window_1): Don't select frame.
1045 Set frame's selected window only when frame itself is selected.
1046 (Fselect_window): Doc fix.
40e6ff95 1047
77d1daf2 10482002-09-18 Kim F. Storm <storm@cua.dk>
40e6ff95 1049
77d1daf2
AS
1050 * process.c (make-network-process): Doc fix (there is no
1051 network-server-log-function hook).
c02138c6 1052
77d1daf2 10532002-09-18 Richard M. Stallman <rms@gnu.org>
c02138c6 1054
77d1daf2
AS
1055 * print.c (print): Clear out the unused parts of Vprint_number_table.
1056 (syms_of_print): Doc fix for `print-number-table'.
0e47bbf7 1057
77d1daf2 1058 * unexelf.c (unexec): Undo previous change.
0e47bbf7 1059
77d1daf2 10602002-09-17 Andreas Schwab <schwab@suse.de>
44129dcb 1061
77d1daf2 1062 * m/alpha.h [LINUX]: Don't define DATA_START.
44129dcb 1063
77d1daf2 10642002-09-16 Dave Love <fx@gnu.org>
f707342d 1065
77d1daf2
AS
1066 * unexelf.c (unexec): Deal with .got, reinstating change from
1067 25-08-1999.
f707342d 1068
77d1daf2 10692002-09-13 Richard M. Stallman <rms@gnu.org>
1637fd2c 1070
77d1daf2 1071 * s/sol2-6.h (UNEXEC): Comment out definition.
1637fd2c 1072
77d1daf2 1073 * unexsol.c (unexec): Don't downcase first letter of error msg.
1637fd2c 1074
77d1daf2 1075 * xfaces.c (Fcolor_supported_p): Just one arg is required.
540c2788 1076
77d1daf2 10772002-09-12 Markus Rost <rost@math.ohio-state.edu>
6b2fd6ea 1078
77d1daf2 1079 * unexsol.c: Include buffer.h, charset.h, coding.h.
6b2fd6ea 1080
77d1daf2 10812002-09-11 Richard M. Stallman <rms@gnu.org>
6b2fd6ea 1082
77d1daf2
AS
1083 * unexsol.c: Don't use report_file_error; do it by hand
1084 using dlerror.
540c2788 1085
77d1daf2
AS
1086 * process.c (wait_reading_process_input, both versions):
1087 Before calling turn_on_atimers, call stop_polling.
8cc03716 1088
77d1daf2 1089 * emacs.c (syms_of_emacs) <command-line-args>: Doc fix.
8cc03716 1090
77d1daf2
AS
1091 * xdisp.c (try_scrolling): If after make_cursor_line_fully_visible
1092 we go to too_near_end, call clear_glyph_matrix.
1093 (redisplay_window): After make_cursor_line_fully_visible,
1094 call clear_glyph_matrix and bypass `goto done'.
4042a81a 1095
77d1daf2
AS
1096 * xfns.c (x_report_frame_params): If FRAME_SCROLL_BAR_PIXEL_WIDTH is 0
1097 and we have non-toolkit scroll bars, return nil for scroll-bar-width.
4042a81a 1098
77d1daf2 10992002-09-10 Richard M. Stallman <rms@gnu.org>
4042a81a 1100
77d1daf2
AS
1101 * fileio.c (Fdo_auto_save): Catch error making directory.
1102 Only call push_message if we need to.
1103 At the same time, make an unwind-protect to pop it.
1104 Rename local message_p to old_message_p.
1105 (do_auto_save_make_dir, do_auto_save_eh): New functions.
1106 (do_auto_save_unwind): Don't call pop_message.
be4ee72f 1107
77d1daf2
AS
1108 local_request 1.
1109 (syms_of_xselect): Intern and staticpro QUTF8_STRING.
be4ee72f 1110
77d1daf2 1111 * xterm.c (x_term_init): Initialize dpyinfo->Xatom_UTF8_STRING.
82122254 1112
77d1daf2 1113 * xterm.h (struct x_display_info): New member Xatom_UTF8_STRING.
82122254 1114
77d1daf2 11152002-08-13 Richard M. Stallman <rms@gnu.org>
c1ee53bc 1116
77d1daf2
AS
1117 * minibuf.c (Fminibufferp): New function.
1118 (syms_of_minibuf): Defsubr it.
1119 (Fminibuffer_prompt_end): Handle non-minibuffers specially.
c1ee53bc 1120
77d1daf2 11212002-08-13 Gerd Moellmann <gerd.moellmann@t-online.de>
c1ee53bc 1122
77d1daf2 1123 * coding.c (Funencodable_char_position): Lisp_Object/int mixup.
5598c32e 1124
77d1daf2 11252002-08-12 Richard M. Stallman <rms@gnu.org>
5598c32e 1126
77d1daf2
AS
1127 * syswait.h: Only the include of sys/wait.h tests HAVE_SYS_WAIT_H.
1128 [!VMS] (WCOREDUMP, WEXITSTATUS, WIFEXITED, WIFSTOPPED, WIFSIGNALED)
1129 (WSTOPSIG, WTERMSIG): Define each one independently if not defined
1130 already.
5598c32e 1131
77d1daf2 1132 * buffer.c (syms_of_buffer) <fill-column>: Doc fix.
5598c32e 1133
77d1daf2 11342002-08-11 Andrew Choi <akochoi@shaw.ca>
97b14e22 1135
77d1daf2
AS
1136 * macterm.c (XTmouse_position): Check wp with is_emacs_window.
1137 (Vmac_pass_command_to_system): New variable.
1138 (Vmac_pass_control_to_system): New variable.
1139 (do_mouse_moved): Check wp with is_emacs_window.
1140 (XTread_socket): Check window_ptr with is_emacs_window.
1141 Call FrontNonFloatingWindow instead of FrontWindow. Send keydown
1142 events back to Mac Toolbox for processing, depending on values of
1143 Vmac_pass_command_to_system and Vmac_pass_control_to_system.
1144 (syms_of_macterm): DEFVAR_LISP Vmac_pass_command_to_system and
1145 Vmac_pass_control_to_system.
97b14e22 1146
77d1daf2 11472002-08-10 Kenichi Handa <handa@etl.go.jp>
516eea8e 1148
77d1daf2
AS
1149 * coding.c (unencodable_char_position): New function.
1150 (Funencodable_char_position): New function.
1151 (syms_of_coding): Defsubr Funencodable_char_position.
516eea8e 1152
77d1daf2 11532002-08-10 Andrew Choi <akochoi@shaw.ca>
04dbfa08 1154
77d1daf2 1155 * mac.c (sys_select) [MAC_OSX]: New function.
04dbfa08 1156
77d1daf2
AS
1157 * macterm.c (MakeMeTheFrontProcess): New function.
1158 (mac_initialize): Call MakeMeTheFrontProcess.
b4aebae3 1159
77d1daf2 1160 * s/darwin.h: Define select to sys_select.
b4aebae3 1161
77d1daf2 11622002-08-09 Richard M. Stallman <rms@gnu.org>
1998560a 1163
77d1daf2 1164 * keyboard.c (make_lispy_event): Test WINDOWSNT, not WINDOWS_NT.
d824beee 1165
77d1daf2 11662002-08-09 Gerd Moellmann <gerd.moellmann@t-online.de>
d824beee 1167
77d1daf2
AS
1168 * xdisp.c (forward_to_next_line_start): Return 0 when reaching the
1169 end of the buffer.
d824beee 1170
77d1daf2 11712002-08-08 Ken Raeburn <raeburn@mit.edu>
d824beee 1172
77d1daf2 1173 * coding.c (Ffind_operation_coding_system): Fix Lisp_Object/int mixup.
d824beee 1174
77d1daf2 1175 * puresize.h (BASE_PURESIZE): Increase to 910000.
d824beee 1176
77d1daf2 11772002-08-08 Kenichi Handa <handa@etl.go.jp>
d824beee 1178
77d1daf2
AS
1179 * coding.c (Ffind_operation_coding_system): For write-region, if
1180 VISIT is a filename, make it the target.
d824beee 1181
77d1daf2 11822002-08-07 Richard M. Stallman <rms@gnu.org>
d824beee 1183
77d1daf2
AS
1184 * alloc.c (mark_object): Detect long lists for debugging.
1185 (mark_object_loop_halt): New variable.
d824beee 1186
77d1daf2 1187 * s/hpux10.h (C_SWITCH_SYSTEM): #undef it.
d824beee 1188
77d1daf2 1189 * data.c (Fmake_variable_frame_local): Doc fix.
1998560a 1190
77d1daf2 11912002-08-01 David Ponce <david@dponce.com>
1998560a 1192
77d1daf2
AS
1193 * w32menu.c (local_heap, local_alloc, local_free): New macros.
1194 (malloc_widget_value, free_widget_value)
1195 (w32_free_submenu_strings): Use them.
1998560a 1196
77d1daf2
AS
1197 (push_submenu_start, push_submenu_end, push_left_right_boundary)
1198 (push_menu_pane, push_menu_item, single_keymap_panes)
1199 (single_menu_item, Fx_popup_menu, menubar_selection_callback)
1200 (single_submenu, set_frame_menubar)
1201 (w32_menu_show, w32_dialog_show): Use AREF, ASET, ASIZE.
8704a6ab 1202
77d1daf2
AS
1203 (Fx_popup_menu): Don't show pop up menu until preceding one is
1204 actually cleaned up. Moved UNGCPRO outside #ifdef HAVE_MENUS block.
8704a6ab 1205
77d1daf2
AS
1206 * w32menu.c: Changes adapted from xmenu.c
1207 (set_frame_menubar): First parse all submenus,
1208 then make widget_value trees from them.
1209 Don't allocate any widget_value objects
1210 until we are done with the parsing.
1211 (parse_single_submenu): New function.
1212 (digest_single_submenu): New function.
1213 (single_submenu): Function deleted, replaced by those two.
6ae2cd57 1214
77d1daf2 12152002-08-04 Andrew Choi <akochoi@shaw.ca>
6ae2cd57 1216
77d1daf2
AS
1217 * macterm.c (XTread_socket): Check that FrontNonFloatingWindow
1218 returns a valid window pointer before proceeding for keyDown and
1219 autoKey events.
6ae2cd57 1220
77d1daf2 12212002-08-03 Andrew Choi <akochoi@shaw.ca>
3582b6a3 1222
77d1daf2
AS
1223 * macterm.c (USE_CARBON_EVENTS): New macro.
1224 (macCtrlKey, macShiftKey, macMetaKey, macAltKey): New macros.
1225 (x_iconify_frame): Call CollapseWindow.
1226 (Vmac_reverse_ctrl_meta): New variable.
1227 (Vmac_wheel_button_is_mouse_2): New variable.
1228 (init_mac_drag_n_drop): New function.
1229 (mac_do_receive_drag): New function.
1230 (mac_handle_service_event): New function.
1231 (init_service_handler): New function.
1232 (mac_to_emacs_modifiers): New function.
1233 (mac_event_to_emacs_modifiers): New function.
1234 (mac_get_mouse_btn): New function.
1235 (mac_convert_event_ref): New function.
1236 (XTread_socket) [USE_CARBON_EVENTS]: Call ReceiveNextEvent,
1237 SendEventToEventTarget, mac_event_to_emacs_modifiers, and
1238 mac_get_mouse_btn.
1239 (mac_initialize): Call init_mac_drag_n_drop and init_service_handler.
f60ae425 1240
77d1daf2
AS
1241 * keyboard.c: Define Qmouse_wheel, mouse_wheel_syms, and
1242 lispy_mouse_wheel_names for MAC_OSX as well as for WINDOWS_NT.
1243 (kbd_buffer_get_event): Set used_mouse_menu for MENU_BAR_EVENT and
1244 TOOL_BAR_EVENT for MAC_OS as well.
1245 (make_lispy_event): Handle MOUSE_WHEEL_EVENT for MAC_OSX as well
1246 as for WINDOWS_NT.
1247 (syms_of_keyboard): Initialize Qmouse_wheel for MAC_OSX.
f60ae425 1248
77d1daf2 1249 * termhooks.h (event_kind): Define MOUSE_WHEEL_EVENT also for MAC_OSX.
f60ae425 1250
77d1daf2 12512002-08-03 Gerd Moellmann <gerd.moellmann@t-online.de>
f60ae425 1252
77d1daf2
AS
1253 * xdisp.c (forward_to_next_line_start): Fix a condition that
1254 lead to a newline being skipped.
3582b6a3 1255
77d1daf2 12562002-08-02 Andrew Choi <akochoi@shaw.ca>
f60ae425 1257
77d1daf2 1258 * mac.c (syms_of_mac): Defsubr Sx_selection_exists_p.
f60ae425 1259
77d1daf2 12602002-08-01 Richard M. Stallman <rms@gnu.org>
f60ae425 1261
77d1daf2 1262 * Makefile.in (SOME_MACHINE_OBJECTS): Add fontset.o.
a0f0878d 1263
77d1daf2 12642002-07-31 Andrew Choi <akochoi@shaw.ca>
517f42a0 1265
77d1daf2 1266 * macfns.c: #undef init_process before #define-ing it.
517f42a0 1267
77d1daf2
AS
1268 * s/darwin.h: Define MAC_OS, SYMS_SYSTEM, and OTHER_FILES only if
1269 HAVE_CARBON is defined.
517f42a0 1270
77d1daf2 12712002-07-31 Richard M. Stallman <rms@gnu.org>
a0f0878d 1272
77d1daf2
AS
1273 * xmenu.c (set_frame_menubar): First parse all submenus,
1274 then make widget_value trees from them.
1275 Don't allocate any widget_value objects
1276 until we are done with the parsing.
1277 (parse_single_submenu): New function.
1278 (digest_single_submenu): New function.
1279 (single_submenu): Function deleted, replaced by those two.
a0f0878d 1280
77d1daf2 12812002-07-30 Juanma Barranquero <lektu@terra.es>
aab83f91 1282
77d1daf2
AS
1283 * w32proc.c (syms_of_ntproc): Fix docstring of
1284 `w32-get-true-file-attributes'.
aab83f91 1285
77d1daf2 12862002-07-28 Richard M. Stallman <rms@gnu.org>
aab83f91 1287
77d1daf2
AS
1288 * s/hpux8.h (HPUX8): Define this before including hpux.h.
1289 (HAVE_SYS_WAIT_H): #define deleted; we let Autoconf decide.
a4478a76 1290
77d1daf2 1291 * s/hpux.h (HAVE_SYS_WAIT_H): The #undef is conditional on HPUX8.
a4478a76 1292
77d1daf2
AS
1293 * keyboard.c (make_lispy_event):
1294 Use #ifdef to test USE_TOOLKIT_SCROLL_BARS.
1295 Explicitly clear up_modifier in event->modifiers.
a4478a76 1296
77d1daf2 12972002-07-27 Richard M. Stallman <rms@gnu.org>
03670a65 1298
77d1daf2 1299 * xterm.h (FRAME_CURSOR_WIDTH): New macro.
03670a65 1300
77d1daf2
AS
1301 * xterm.c (x_display_and_set_cursor): Check FRAME_CURSOR_WIDTH
1302 for bar cursor.
59daa29a 1303
77d1daf2 13042002-07-26 Kenichi Handa <handa@etl.go.jp>
59daa29a 1305
77d1daf2
AS
1306 * coding.c (detect_coding_iso2022): While checking a byte sequence
1307 for CODING_CATEGORY_MASK_ISO_8_2, if we read one extra byte, check
1308 it in the normal loop.
59daa29a 1309
77d1daf2 13102002-07-24 Gerd Moellmann <gerd.moellmann@t-online.de>
59daa29a 1311
77d1daf2
AS
1312 * xterm.c (expose_overlaps): New function.
1313 (expose_window): Use it to fix the display of overlapping rows.
59daa29a 1314
77d1daf2 1315 * xdisp.c (unwind_redisplay): Clear redisplay_updating_p.
59daa29a 1316
77d1daf2 13172002-07-23 Ken Raeburn <raeburn@gnu.org>
59daa29a 1318
77d1daf2
AS
1319 * lisp.h (XPNTR): Use NO_UNION_TYPE version for union as well,
1320 since it only depends on XUINT.
3947677c 1321
77d1daf2
AS
1322 * m/alpha.h (BITS_PER_LONG, BITS_PER_EMACS_INT, EMACS_INT,
1323 EMACS_UINT, SPECIAL_EMACS_INT, DATA_SEG_BITS,
1324 PNTR_COMPARISON_TYPE, VALBITS, MARKBIT, XINT, XUINT, XPNTR):
1325 Macros deleted.
3947677c 1326
77d1daf2
AS
1327 * mem-limits.h (start_of_data): If DATA_START is defined, prefer
1328 its value over other approaches.
1329 * sysdep.c (start_of_data): Don't define the function if a macro
1330 form has been defined.
8a8e19a3 1331
77d1daf2 13322002-07-23 Gerd Moellmann <gerd.moellmann@t-online.de>
8a8e19a3 1333
77d1daf2
AS
1334 * xdisp.c (redisplay_updating_p): New variable.
1335 (init_iterator): Don't free realized faces when
1336 redisplay_updating_p is set.
1337 (redisplay_internal): Set redisplay_updating_p while updating
1338 the display.
8a8e19a3 1339
77d1daf2 13402002-07-23 Richard M. Stallman <rms@gnu.org>
8a8e19a3 1341
77d1daf2 1342 * editfns.c (Fmessage): Treat "" like nil.
8a8e19a3 1343
77d1daf2 13442002-07-23 Kenichi Handa <handa@etl.go.jp>
4f1b1854 1345
77d1daf2
AS
1346 * xdisp.c (face_before_or_after_it_pos):
1347 Call FETCH_MULTIBYTE_CHAR with byte postion, not char position.
4f1b1854 1348
77d1daf2 13492002-07-22 Juanma Barranquero <lektu@terra.es>
4f1b1854 1350
77d1daf2
AS
1351 * callproc.c (init_callproc) [DOS_NT]:
1352 Initialize Vshared_game_score_directory to nil.
1353 (syms_of_callproc) [DOS_NT]: Likewise.
4f1b1854 1354
77d1daf2 13552002-07-22 Gerd Moellmann <gerd.moellmann@t-online.de>
5cb6905d 1356
77d1daf2 1357 * xdisp.c (display_line): Replace an abort with xassert.
5cb6905d 1358
77d1daf2 13592002-07-21 Richard M. Stallman <rms@gnu.org>
437dfb9f 1360
77d1daf2
AS
1361 * xdisp.c (redisplay_window): Don't test BEG_UNCHANGED
1362 and END_UNCHANGED when setting buffer_unchanged_p.
1363 Use current_matrix_up_to_date_p to decide whether to use
1364 try_cursor_movement.
437dfb9f 1365
77d1daf2 1366 * config.in (HAVE_SHARED_GAME_DIR): Undef deleted.
9f696a00 1367
77d1daf2 1368 * epaths.in (PATH_GAME): New macro, edited by ../Makefile.in.
9f696a00 1369
77d1daf2
AS
1370 * callproc.c (init_callproc): Set up Vshared_game_score_directory.
1371 Set to nil if dir does not exist.
1372 (syms_of_callproc): Init unconditionally and simply.
d57966d7 1373
77d1daf2 1374 * buffer.c (Fbuffer_list): Doc fix.
d57966d7 1375
77d1daf2 13762002-07-21 Ken Raeburn <raeburn@gnu.org>
d57966d7 1377
77d1daf2 1378 * sysdep.c (end_of_text, end_of_data): Unused functions deleted.
74779f52 1379
77d1daf2
AS
1380 * buffer.c (mmap_realloc): When shrinking, make sure number of
1381 pages to unmap is rounded towards zero.
74779f52 1382
77d1daf2
AS
1383 * m/mips-siemens.h (XSETUINT, XSETPNTR): Unused macros deleted.
1384 (XSETINT): Deleted.
a474d59c 1385
77d1daf2
AS
1386 * m/att3b.h (XINT): Don't define.
1387 (VALBITS, VALMASK, XTYPE): Deleted.
1388 (DATA_SEG_BITS): Define.
1389 * m/gec63.h (VALBITS, VALAMASK, XTYPE, XSETTYPE, XPNTR, XSET,
1390 ARRAY_MARK_FLAG): Deleted.
1391 (DATA_SEG_BITS): Define.
1392 * m/pfa50.h (VALBITS, VALMASK, XTYPE): Deleted.
1393 (DATA_SEG_BITS): Define.
a474d59c 1394
77d1daf2 13952002-07-20 Richard M. Stallman <rms@gnu.org>
fbb70ad9 1396
77d1daf2
AS
1397 * print.c (print_error_message): New args CONTEXT and CALLER.
1398 Calls changed.
fbb70ad9 1399
77d1daf2 1400 * lisp.h (print_error_message): Declare new args.
2d10309f 1401
77d1daf2
AS
1402 * keyboard.c (cmd_error_internal): Pass Vsignaling_function
1403 and CONTEXT to print_error_message, don't print them here.
1404 For a Quit, don't use Vsignaling_function.
1405 Call message_log_maybe_newline.
2d10309f 1406
77d1daf2 1407 * Makefile.in (xsmfns.o): Don't depend on lisp.h.
2d10309f 1408
77d1daf2 14092002-07-20 Kim F. Storm <storm@cua.dk>
7f2cddf3 1410
77d1daf2 1411 * xdisp.c (redisplay_window): Test MODIFF to set buffer_unchanged_p.
0b1e6b54 1412
77d1daf2 14132002-07-19 Ken Raeburn <raeburn@gnu.org>
7f2cddf3 1414
77d1daf2
AS
1415 * bytecode.c (struct byte_stack): Pointers into byte string now
1416 point to const.
1417 * callproc.c (Fcall_process): Make NEW_ARGV array hold pointer to
1418 const.
1419 * charset.h (BCOPY_SHORT): Source pointer now points to const.
1420 * coding.c (encode_eol, detect_coding, detect_eol):
1421 (decode_coding, encode_coding, detect_coding_system):
1422 Source strings now treated as const.
1423 (decode_coding_string, encode_coding_string): Use STRING_COPYIN to
1424 modify Lisp string contents.
1425 * coding.h (decode_coding, encode_coding, detect_coding,
1426 detect_eol): Declarations updated.
1427 * composite.c (compose_chars_in_text): Treat Lisp string contents
1428 as const.
1429 * dispnew.c (safe_bcopy): Source pointer now points to const.
1430 * lisp.h (STRING_COPYIN): New macro.
1431 (detect_coding_system, safe_bcopy, temp_output_buffer_setup):
1432 (internal_with_output_to_temp_buffer): Declarations updated.
1433 * print.c (temp_output_buffer_setup):
1434 (internal_with_output_to_temp_buffer): Buffer name argument is now
1435 pointer to const.
1436 * sound.c (struct sound_device): Function pointer field "write"
1437 buffer argument now points to const.
1438 (vox_write): Buffer argument points to const.
1439 * syntax.c (Fstring_to_syntax, skip_chars): Treat Lisp string
1440 contents as const.
1441 * sysdep.c (emacs_write): Buffer pointer now const.
1442 * term.c (encode_terminal_code): Buffer pointer now const.
1443 * xfaces.c (may_use_scalable_font_p): Argument now points to const.
1444 (x_face_list_fonts, x_update_menu_appearance):
1445 (hash_string_case_insensitive): Treat Lisp string contents as const.
7f2cddf3 1446
77d1daf2 14472002-07-19 Juanma Barranquero <lektu@terra.es>
e17144de 1448
77d1daf2
AS
1449 * fileio.c (Ffile_name_as_directory): Fix argument name in docstring.
1450 (file_name_as_directory): Use literal '/' instead of DIRECTORY_SEP.
e17144de 1451
77d1daf2 1452 * xdisp.c (syms_of_xdisp): Remove redundant deprecation info.
6637c996 1453
77d1daf2 1454 * fileio.c (syms_of_fileio): Likewise.
44368f8f 1455
77d1daf2 14562002-07-18 Richard M. Stallman <rms@gnu.org>
f884b6f4 1457
77d1daf2 1458 * data.c (Fdefalias): Doc fix.
6637c996 1459
77d1daf2 14602002-07-17 Dave Love <fx@gnu.org>
6637c996 1461
77d1daf2 1462 * intervals.h (text_property_stickiness): Use P_.
6637c996 1463
77d1daf2
AS
1464 * ccl.c: Remove `emacs' conditionals.
1465 (ccl_backtrace_table): Fix size spec.
1466 (ccl_driver): Fix type errors.
453c5510 1467
77d1daf2 14682002-07-16 Ken Raeburn <raeburn@gnu.org>
453c5510 1469
77d1daf2
AS
1470 * alloc.c (xstrdup, make_string, make_unibyte_string)
1471 (make_multibyte_string, build_string): String pointer args now
1472 point to const.
1473 * charset.c (find_charset_in_text, c_string_width):
1474 (chars_in_text, multibyte_chars_in_text, parse_str_as_multibyte):
1475 * fileio.c (report_file_error):
1476 * insdel.c (copy_text, count_size_as_multibyte, insert_1):
1477 (count_combining_before, count_combining_after, insert_1_both):
1478 (insert, insert_and_inherit, insert_string):
1479 (insert_before_markers, insert_before_markers_and_inherit):
1480 * lread.c (intern, oblookup, hash_string):
1481 * minibuf.c (temp_echo_area_glyphs):
1482 * search.c (fast_c_string_match_ignore_case):
1483 * sysdep.c (emacs_open, set_file_times):
1484 * xfaces.c (xstricmp):
1485 * xdisp.c (store_frame_title, string_char_and_length):
1486 (message_dolog, message2, message2_nolog, set_message): Likewise.
1487 (set_message_1): Cast message string argument to const pointer.
1488 * editfns.c (general_insert_function): Insertion function now
1489 takes pointer to const for input data.
1490 * charset.h (find_charset_in_text, c_string_width):
1491 (parse_str_as_multibyte): Declarations updated.
1492 * dispextern.h (xstricmp): Declaration updated.
1493 * lisp.h (chars_in_text, multibyte_chars_in_text, copy_text):
1494 (count_size_as_multibyte, count_combining_before):
1495 (count_combining_after, insert_1, insert_1_both, message_dolog):
1496 (insert, insert_and_inherit, insert_before_markers)
1497 (insert_before_markers_and_inherit, set_message, message2):
1498 (message2_dolog, build_string, make_string, make_unibyte_string):
1499 (make_multibyte_string, intern, oblookup, report_file_error):
1500 (fast_c_string_match_ignore_case, temp_echo_area_glyphs):
1501 (emacs_open, xstrdup): Declarations updated.
1502 * systime.h (set_file_times): Declaration updated.
d1d070e3 1503
77d1daf2
AS
1504 * charset.c (find_charset_in_text, lisp_string_width): Use const
1505 for pointer to lisp string data.
1506 * charset.h (FETCH_STRING_CHAR_ADVANCE):
1507 (FETCH_STRING_CHAR_ADVANCE_NO_CHECK):
1508 * coding.c (Ffind_coding_systems_region_interval):
1509 * fileio.c (Ffile_name_directory, Ffile_name_nondirectory):
1510 (Fmake_directory_internal, Fdelete_directory):
1511 (Ffile_name_absolute_p, Fwrite_region, double_dollars):
1512 * fontset.c (font_family_registry, fs_query_fontset):
1513 (list_fontsets):
1514 * frame.c (Fframe_parameter):
1515 * keyboard.c (cmd_error_internal):
1516 * keymap.c (Fdescribe_buffer_bindings):
1517 * lread.c (complete_filename_p, openp):
1518 * minibuf.c (Fminibuffer_complete_word):
1519 * xdisp.c (string_pos_nchars_ahead, init_from_display_pos):
1520 (face_before_or_after_it_pos, next_element_from_string):
1521 (get_overlay_arrow_glyph_row, display_mode_element):
1522 (decode_mode_spec_coding):
1523 * xterm.c (same_x_server): Likewise.
d1d070e3 1524
77d1daf2
AS
1525 * buffer.c (reset_buffer_local_variables): Delete "#if 0"
1526 settings of non-existent fields.
9ec1bdb6 1527
77d1daf2
AS
1528 * editfns.c (Fstring_to_char): Don't use XSTRING/XSETSTRING to
1529 copy a lisp value.
9ec1bdb6 1530
77d1daf2
AS
1531 * lread.c (Fintern_soft): Use string macros instead of
1532 Lisp_String fields.
1533 * keyboard.c (echo_char, parse_modifiers_uncached):
1534 (parse_solitary_modifier, Fexecute_extended_command): Likewise.
1535 * textprop.c (validate_interval_range, interval_of): Likewise.
308dd672 1536
77d1daf2 1537 * fontset.c (Fset_fontset_font): Use SDATA instead of XSTRING()->data.
edde72f6 1538
77d1daf2
AS
1539 * charset.h (FETCH_STRING_CHAR_ADVANCE)
1540 (FETCH_STRING_CHAR_ADVANCE_NO_CHECK): Use SBYTES instead of
1541 XSTRING()->size_byte.
308dd672 1542
77d1daf2
AS
1543 * lisp.h (SDATA, SREF): Produce rvalue.
1544 (SSET): New macro.
1545 * alloc.c (make_event_array): Use SSET for storing into a string.
1546 * buffer.c (Fother_buffer): Use SREF when retrieving a byte from
1547 a string.
1548 * casefiddle.c (casify_object): Use SSET.
1549 * charset.h (FETCH_STRING_CHAR_ADVANCE)
1550 (FETCH_STRING_CHAR_ADVANCE_NO_CHECK): Use SDATA when getting
1551 address of string contents.
1552 * data.c (Faref): Use SDATA.
1553 (Faset): Use SDATA, SSET.
1554 * dired.c (directory_files_internal): Use SSET.
1555 * fileio.c (Fmake_symbolic_link, Fexpand_file_name): Use SSET.
1556 (Fread_file_name): Use SREF, SSET.
1557 * fns.c (concat): Use SSET.
1558 (concat, Fdelete): Use SDATA.
1559 * insdel.c (insert_from_string_1): Use SDATA.
1560 * keyboard.c (Fevent_convert_list): Use SREF.
1561 * lread.c (Fload): Use SDATA, SSET.
1562 * macfns.c (validate_x_resource_name): Use SSET.
1563 * process.c (status_message): Use SSET.
1564 * search.c (wordify): Use SDATA.
1565 (Freplace_match): Use SREF.
1566 * w32fns.c (validate_x_resource_name): Use SSET.
1567 * xfns.c (validate_x_resource_name): Use SSET.
1568 * xterm.c (x_catch_errors, x_clear_errors): Use SSET.
3c1e6b46 1569
77d1daf2 15702002-07-16 Richard M. Stallman <rms@gnu.org>
03950b5b 1571
77d1daf2 1572 * s/hpux11.h (USG_SUBTTY_WORKS): Defined.
3c1e6b46 1573
77d1daf2
AS
1574 * xdisp.c (reconsider_clip_changes):
1575 Don't test prevent_redisplay_optimizations_p.
1576 (redisplay_internal): Test prevent_redisplay_optimizations_p
1577 along with clip_changed in some cases.
1578 (try_window_id): Likewise.
1579 (redisplay_window): New local var buffer_unchanged_p.
c1e11810 1580
77d1daf2 1581 * keyboard.c (cmd_error) [HAVE_X_WINDOWS]: Maybe call cancel_houglass.
c1e11810 1582
77d1daf2
AS
1583 * process.c (create_process): Test USG_SUBTTY_WORKS.
1584 (process_send_signal): Clean up handling of GID.
1585 Detect errors in ioctls meant to set GID.
1996baee 1586
77d1daf2
AS
1587 * window.c (temp_output_buffer_show):
1588 Don't set prevent_redisplay_optimizations_p.
1996baee 1589
77d1daf2 15902002-07-15 Juanma Barranquero <lektu@terra.es>
0065bb74 1591
77d1daf2 1592 * eval.c (Fdefvaralias): Add docstring argument.
0065bb74 1593
77d1daf2 15942002-07-15 Ken Raeburn <raeburn@gnu.org>
0065bb74 1595
77d1daf2
AS
1596 * lisp.h (STRING_INTERVALS): Produce rvalue.
1597 (STRING_SET_INTERVALS): New macro.
1598 * buffer.c (Fget_buffer_create, Fmake_indirect_buffer): Use it.
1599 * fns.c (Fstring_as_multibyte): Likewise.
1600 * intervals.c (balance_possible_root_interval, delete_interval)
1601 (create_root_interval, copy_intervals_to_string): Likewise.
1602 * textprop.c (set_text_properties): Likewise. Use NULL_INTERVAL
1603 instead of 0.
b5cb6072 1604
77d1daf2 16052002-07-14 Ken Raeburn <raeburn@gnu.org>
b5cb6072 1606
77d1daf2
AS
1607 * lisp.h (STRING_SET_CHARS): New macro.
1608 (SCHARS, SBYTES): Produce rvalues.
1609 * dired.c (directory_files_internal): Use STRING_SET_CHARS.
1610 * fns.c (concat): Likewise.
1611 * lread.c (read_vector): Likewise.
15fff01d 1612
77d1daf2
AS
1613 * lisp.h (SMBP): Deleted. All uses changed to STRING_MULTIBYTE.
1614 (STRING_SET_UNIBYTE): New macro.
1615 (SET_STRING_BYTES): Deleted. Callers (all of which supplied a
1616 length of -1) changed to use STRING_SET_UNIBYTE.
1617 * abbrev.c, alloc.c, buffer.c, bytecode.c, callint.c, callproc.c,
1618 casefiddle.c, category.c, ccl.c, charset.c, charset.h, coding.c,
1619 composite.c, data.c, dired.c, dispnew.c, disptab.h, doc.c,
1620 dosfns.c, editfns.c, emacs.c, eval.c, fileio.c, filelock.c, fn.c,
1621 fontset.c, frame.c, indent.c, insdel.c, intervals.c, keyboard.c,
1622 keymap.c, lread.c, mac.c, macfns.c, macmenu.c, macterm.c,
1623 minibuf.c, msdos.c, print.c, process.c, search.c, sound.c,
1624 sunfns.c, syntax.c, syntax.h, sysdep.c, textprop.c, undo.c,
1625 w16select.c, w32.c, w32fns.c, w32menu.c, w32proc.c, w32select.c,
1626 w32term.c, window.c, xdisp.c, xfaces.c, xfns.c, xmenu.c,
1627 xselect.c, xsmfns.c, xterm.c: Most uses of XSTRING combined with
1628 STRING_BYTES or indirection changed to SCHARS, SBYTES,
1629 STRING_INTERVALS, SREF, SDATA; explicit size_byte references left
1630 unchanged for now.
0065bb74 1631
77d1daf2 16322002-07-13 Kim F. Storm <storm@cua.dk>
0d8466cc 1633
77d1daf2 1634 * keyboard.c (command_loop_1): Invert check on Vmemory_full.
15fff01d 1635
77d1daf2 16362002-07-12 Richard M. Stallman <rms@gnu.org>
2fae9111 1637
77d1daf2 1638 * fileio.c (Fwrite_region): Doc fix.
2d6c1fc0 1639
77d1daf2 1640 * print.c (print_error_message): Don't handle Vsignaling_function here.
07025a55 1641
77d1daf2
AS
1642 * keyboard.c (cmd_error_internal): Handle Vsignaling_function here.
1643 (command_loop_1): Avoid certain actions after memory-full error.
07025a55 1644
77d1daf2
AS
1645 * eval.c (Fsignal): Don't call cancel_hourglass.
1646 For a memory-full error, don't call Vsignal_hook_function
1647 and don't set Vsignaling_function.
07025a55 1648
77d1daf2 1649 * process.c (process_send_signal): Add abort call.
3a232704 1650
77d1daf2 16512002-07-11 Markus Rost <rost@math.ohio-state.edu>
539e92ad 1652
77d1daf2 1653 * keymap.c (Fkey_binding): Fix typo.
3a232704 1654
77d1daf2 16552002-07-11 Richard M. Stallman <rms@gnu.org>
0cb8bb48 1656
77d1daf2
AS
1657 * alloc.c (Vmemory_full): New variable.
1658 (Vmemory_signal_data): Renamed from memory_signal_data.
1659 Uses changed.
1660 (syms_of_alloc): Defvar them.
1661 (memory_full, buffer_memory_full): Set Vmemory_full.
539e92ad 1662
77d1daf2
AS
1663 * lisp.h (Vmemory_full): Add declaration.
1664 (current_column, indented_beyond_p): Change declaration.
4e02881b 1665
77d1daf2
AS
1666 * indent.c (last_known_column): Declare as double, not float.
1667 (current_column, current_column_1, string_display_width)
1668 (position_indentation): Return `double'.
1669 (indented_beyond_p): Arg `column' is `double'. Callers changed.
4e02881b 1670
77d1daf2
AS
1671 * xdisp.c (message_dolog): Do nothing if Vmemory_full is non-nil.
1672 (back_to_previous_visible_line_start)
1673 (reseat_at_next_visible_line_start, next_element_from_buffer):
1674 Use `double', not `float', when calling indented_beyond_p.
1ab964d7 1675
77d1daf2 1676 * s/hpux11.h (BROKEN_SA_RESTART): Defined.
1ab964d7 1677
77d1daf2 1678 * sysdep.c (sys_signal): Test BROKEN_SA_RESTART.
749f499f 1679
77d1daf2 16802002-07-11 Juanma Barranquero <lektu@terra.es>
749f499f 1681
77d1daf2
AS
1682 * alloc.c, buffer.c, bytecode.c, callint.c, callproc.c, coding.c,
1683 * composite.c, dired.c, dispnew.c, editfns.c, emacs.c, eval.c,
1684 * fileio.c, fns.c, insdel.c, keyboard.c, keymap.c, lread.c, macfns.c,
1685 * macmenu.c, macros.c, minibuf.c, print.c, process.c, sound.c,
1686 * textprop.c, w32fns.c, w32menu.c, window.c, xfaces.c, xfns.c,
1687 * xmenu.c, xselect.c, xterm.c: Use SPECPDL_INDEX wherever makes sense.
b5d9aaba 1688
77d1daf2 16892002-07-10 Juanma Barranquero <lektu@terra.es>
3a232704 1690
77d1daf2
AS
1691 * lisp.h (SPECPDL_INDEX): Rename from BINDING_STACK_SIZE. All callers
1692 changed.
d0fd26dd 1693
77d1daf2 16942002-07-09 Stefan Monnier <monnier@cs.yale.edu>
b4c45162 1695
77d1daf2
AS
1696 * data.c (Fdefalias): Add an optional `docstring' argument.
1697 (set_internal, Fsetq_default): Use XCAR/XCDR.
d0fd26dd 1698
77d1daf2
AS
1699 * composite.c (HASH_VALUE, HASH_KEY):
1700 * ccl.c (HASH_VALUE): Remove (it's in lisp.h now).
c95eaa61 1701
77d1daf2 17022002-07-09 Kenichi Handa <handa@etl.go.jp>
c95eaa61 1703
77d1daf2 1704 * callproc.c (Fcall_process): Fix previous change.
c95eaa61 1705
77d1daf2 17062002-07-07 Stefan Monnier <monnier@cs.yale.edu>
c95eaa61 1707
77d1daf2
AS
1708 * minibuf.c (Ftry_completion, Fall_completions, Ftest_completion):
1709 Add support for hash-tables.
1710 (Ftry_completion): Return t even if the string appears multiple times.
c95eaa61 1711
77d1daf2
AS
1712 * fns.c (Fnconc): Use XCDR.
1713 (Fprovide): Use CONSP and XCDR.
1714 (HASH_KEY, HASH_VALUE, HASH_NEXT, HASH_HASH, HASH_INDEX)
1715 (HASH_TABLE_SIZE): Delete: moved to lisp.h.
1716 (Fmake_hash_table): Accept `:size nil'.
1717 (Fmakehash): Delete: moved to subr.el.
1718 (syms_of_fns): Don't defsubr makehash.
c95eaa61 1719
77d1daf2
AS
1720 * lisp.h (HASH_KEY, HASH_VALUE, HASH_NEXT, HASH_HASH, HASH_INDEX)
1721 (HASH_TABLE_SIZE): Move from fns.c.
c95eaa61 1722
77d1daf2 17232002-07-07 Richard M. Stallman <rms@gnu.org>
c95eaa61 1724
77d1daf2
AS
1725 * xdisp.c (make_cursor_line_fully_visible): Don't try short scrolls.
1726 Instead just return 0 when there is something to be done.
1727 (try_scrolling): If make_cursor_line_fully_visible returns 0,
1728 retry scrolling as if cursor were off the bottom.
1729 (try_cursor_movement): If make_cursor_line_fully_visible returns 0,
1730 return CURSOR_MOVEMENT_MUST_SCROLL.
1731 (redisplay_window): If make_cursor_line_fully_visible returns 0,
1732 go to try_to_scroll.
c95eaa61 1733
77d1daf2
AS
1734 * buffer.c (Fbuffer_local_value): Store current value into its binding
1735 so we get the up-to-date value for the binding that is loaded.
c95eaa61 1736
77d1daf2 1737 * eval.c (Fdefmacro): Doc fix.
31877e0a 1738
77d1daf2 17392002-07-05 Dave Love <fx@gnu.org>
31877e0a 1740
77d1daf2
AS
1741 * keyboard.c (read_key_sequence): Set initial_idleness_start_time
1742 correctly.
e2c3786a 1743
77d1daf2
AS
1744 * ccl.c (Vtranslation_hash_table_vector, GET_HASH_TABLE)
1745 (HASH_VALUE, CCL_LookupIntConstTbl, CCL_LookupCharConstTbl): New.
1746 (ccl_driver): Add cases for CCL_LookupIntConstTbl,
1747 CCL_LookupCharConstTbl.
1748 (syms_of_ccl): Defvar translation-hash-table-vector.
e2c3786a 1749
77d1daf2 17502002-07-05 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
c513fc03 1751
77d1daf2 1752 * xdisp.c: Remove unused variable `face'.
bf794306 1753
77d1daf2 17542002-07-04 Juanma Barranquero <lektu@terra.es>
bf794306 1755
77d1daf2
AS
1756 * keyboard.c (post_command_idle_hook): Remove redundant (and inexact)
1757 obsolescence information.
bf794306 1758
77d1daf2 17592002-07-03 Andrew Choi <akochoi@shaw.ca>
62582985 1760
77d1daf2
AS
1761 * macterm.c (x_list_fonts): Fix comment. Cache fonts matching
1762 pattern. Search cache first.
1763 (init_font_name_table): Also add entry for jisx0201.1976-0 coding
1764 for Japanese font.
1765 (XLoadQueryFont): Use it.
c513fc03 1766
77d1daf2 17672002-07-02 Richard M. Stallman <rms@gnu.org>
3509a04c 1768
77d1daf2 1769 * keymap.c (Fdefine_key): Doc fix.
3509a04c 1770
77d1daf2 1771 * xterm.c (x_term_init): Turn off polling around XtOpenDisplay.
3509a04c 1772
77d1daf2 17732002-07-02 Juanma Barranquero <lektu@terra.es>
3509a04c 1774
77d1daf2 1775 * keymap.c (syms_of_keymap): Fix typo.
1e9a6186 1776
77d1daf2 17772002-07-01 Andrew Choi <akochoi@shaw.ca>
1e9a6186 1778
77d1daf2 1779 * s/darwin.h: Define POSIX_SIGNALS.
e4e34e31 1780
77d1daf2
AS
1781 * macterm.c (do_ae_open_documents) [MAC_OSX]: Call FSpMakeFSRef
1782 and FSRefMakePath to convert FSSpec returned with Apple Event to
1783 Posix pathname.
1784 (mac_initialize) [TARGET_API_MAC_CARBON]:
1785 Call init_required_apple_events and disable the `Quit' menu item
1786 provided automatically by the Carbon Toolbox.
e4e34e31 1787
77d1daf2 17882002-07-01 Dave Love <fx@gnu.org>
4521d1fc 1789
77d1daf2
AS
1790 * keyboard.c (kbd_buffer_store_event): Fix interrupt_signal decl
1791 for K&R.
7c75be36 1792
77d1daf2 1793 * xterm.c: Fix prototype for K&R.
4521d1fc 1794
77d1daf2 1795 * term.c (costs_set): Declare static, non-initialized for pcc.
4521d1fc 1796
77d1daf2 17972002-07-01 Richard M. Stallman <rms@gnu.org>
4521d1fc 1798
77d1daf2
AS
1799 * keyboard.c (timer_last_idleness_start_time): New variable.
1800 (timer_start_idle): Set that.
1801 (read_key_sequence): Use that to reset timer_idleness_start_time
1802 to previous value.
93dec019 1803
77d1daf2 1804 * window.c (Frecenter): With arg, set optional_new_start.
93dec019 1805
77d1daf2 1806 * xdisp.c (redisplay_internal): Make optional_new_start really work.
905cc05a 1807
77d1daf2
AS
1808 * minibuf.c (Fminibuffer_complete_and_exit): Move to end of
1809 buffer for completion.
2ed06289 1810
77d1daf2 18112002-06-29 Ken Raeburn <raeburn@gnu.org>
0e79d667 1812
77d1daf2 1813 * xdisp.c (store_mode_line_string): Lisp_Object/int mixup.
0e79d667 1814
77d1daf2 18152002-06-28 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se>
905cc05a 1816
77d1daf2
AS
1817 * keyboard.c (readable_filtered_events): New function that filters
1818 FOCUS_IN_EVENT depending on parameter.
1819 (readable_events): Calls readable_filtered_events, not filtering
1820 FOCUS_IN_EVENT.
1821 (get_filtered_input_pending): New function, filtering parameter passed
1822 to readable_filtered_events.
1823 (get_input_pending): Calls get_filtered_input_pending, not filtering
1824 FOCUS_IN_EVENT.
1825 (Finput_pending_p): Calls get_filtered_input_pending, DO filter
1826 FOCUS_IN_EVENT.
82a7ab23 1827
77d1daf2 1828 * xterm.h (struct x_output): Add focus_state.
d75bec6a 1829
77d1daf2
AS
1830 * xterm.c (x_focus_changed): New function.
1831 (x_detect_focus_change): New function.
1832 (XTread_socket): Call x_detect_focus_change for FocusIn/FocusOut
1833 EnterNotify and LeaveNotify to track X focus changes.
52dcb476 1834
77d1daf2 18352002-06-28 Andreas Schwab <schwab@suse.de>
82a7ab23 1836
77d1daf2 1837 * lisp.h: Remove duplicate declaration of code_convert_string_norecord.
82a7ab23 1838
77d1daf2 18392002-06-27 Kim F. Storm <storm@cua.dk>
82a7ab23 1840
77d1daf2
AS
1841 * xdisp.c: (mode_line_string_list, mode_line_string_face)
1842 (mode_line_string_face_prop): New variables.
1843 (store_mode_line_string): New function.
1844 (display_mode_element): Use store_mode_line_string to
1845 add mode-line string elements to mode_line_string_list
1846 when mode_line_string_list is non-nil.
1847 (Fformat_mode_line): Now returns propertized string by
1848 default. New arg NO-PROPS to ignore properties.
1849 (decode_mode_spec): Only add two dashes for %- in propertized
1850 mode-line string.
1851 (syms_of_xdisp): Init and staticpro mode_line_string_list.
4d0fa4f3 1852
77d1daf2 18532002-06-27 Stefan Monnier <monnier@cs.yale.edu>
4d0fa4f3 1854
77d1daf2 1855 * minibuf.c (minibuffer_completion_contents): Add return type.
493faf20 1856
77d1daf2 18572002-06-27 Juanma Barranquero <lektu@terra.es>
493faf20 1858
77d1daf2 1859 * charset.c (Fchar_bytes): Remove obsolescence info from docstring.
4971e491 1860
77d1daf2 18612002-06-26 Juanma Barranquero <lektu@terra.es>
4971e491 1862
77d1daf2 1863 * fileio.c (read_file_name_cleanup): Add missing return.
4971e491 1864
77d1daf2 18652002-06-26 Richard M. Stallman <rms@gnu.org>
d911a0fa 1866
77d1daf2 1867 * window.c (Frecenter): Don't set force_start flag.
d911a0fa 1868
77d1daf2
AS
1869 * minibuf.c (do_completion, Fminibuffer_complete_word)
1870 (Fminibuffer_completion_help): Complete just the text before point.
1871 (minibuffer_completion_contents): New function.
d911a0fa 1872
77d1daf2 1873 * buffer.c (Fbury_buffer): Use frames_discard_buffer.
201c831a 1874
77d1daf2 1875 * frame.c (frames_bury_buffer): Function deleted.
201c831a 1876
77d1daf2 18772002-06-25 Miles Bader <miles@gnu.org>
201c831a 1878
77d1daf2
AS
1879 * callint.c (Fcall_interactively): When checking to see if doprnt hit
1880 the end of callint_message, allow for a terminating '\0'.
34e39c95 1881
77d1daf2 18822002-06-24 Juanma Barranquero <lektu@terra.es>
34e39c95 1883
77d1daf2 1884 * w32select.c: Include composite.h
d77fbc16 1885
77d1daf2 1886 * w16select.c: Likewise.
d77fbc16 1887
77d1daf2 18882002-06-24 Kenichi Handa <handa@etl.go.jp>
61e3b944 1889
77d1daf2
AS
1890 * callproc.c (Fcall_process): If code detection is necessary,
1891 call detect_coding directly here.
61e3b944 1892
77d1daf2 1893 * coding.c (detect_eol): Preserve coding->cmp_data.
61e3b944 1894
77d1daf2
AS
1895 * w16select.c (Fw16_get_clipboard_data):
1896 * w32fns.c (w32_to_x_font):
1897 * w32select.c (Fw32_get_clipboard_data):
1898 * xselect.c (selection_data_to_lisp_data):
1899 * xterm.c (XTread_socket): Disable composition handling.
70da46c3 1900
77d1daf2 19012002-06-24 Stefan Monnier <monnier@cs.yale.edu>
70da46c3 1902
77d1daf2 1903 * print.c (temp_output_buffer_setup): Kill all local variables.
8af01033 1904
77d1daf2 19052002-06-22 Stefan Monnier <monnier@cs.yale.edu>
8af01033 1906
77d1daf2 1907 * lread.c (Fread): Remove redundant and imprecise declaration.
7363986a 1908
77d1daf2 1909 * xfns.c (check_x_display_info): Use check_x_frame.
7363986a 1910
77d1daf2
AS
1911 * .gdbinit (xprintsym): Use the new `xname' field.
1912 (xsymbol): Use it.
d9e6c4b1 1913
77d1daf2 19142002-06-22 Jason Rumney <jasonr@gnu.org>
d20fc48a 1915
77d1daf2
AS
1916 * w32fns.c (file_dialog_callback): New function.
1917 (Fx_file_dialog): Allow selecting directories as well as files.
d9e6c4b1 1918
77d1daf2 19192002-06-21 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
f1a85b89 1920
77d1daf2
AS
1921 * m/pmax.h (START_FILES): Define START_FILES for NetBSD and
1922 OpenBSD. Add support for mipseb-*-netbsd* machines.
f1a85b89 1923
77d1daf2 19242002-06-17 Andrew Choi <akochoi@shaw.ca>
3a62677f 1925
77d1daf2
AS
1926 * macterm.c (mac_scroll_area): Set foreground and backcolor to
1927 black and white before scrolling. Restore frame background and
1928 foreground color after scrolling.
1929 (do_window_update): Call XClearWindow before calling expose_frame.
1930 (make_mac_frame): Don't set FRAME_BACKGROUND_PIXEL and
1931 FRAME_FOREGROUND_PIXEL of frame.
72244db2 1932
77d1daf2
AS
1933 * macterm.c (XTread_socket): If Vmac_command_key_is_meta is nil,
1934 test Mac command key as <ALT> key.
3a62677f 1935
77d1daf2 19362002-06-17 Stefan Monnier <monnier@cs.yale.edu>
3a62677f 1937
77d1daf2 1938 * window.c (Fset_window_configuration): Lisp_Object/int mixup.
3a62677f 1939
77d1daf2
AS
1940 * keyboard.c (read_key_sequence): Be more careful with first_unbound.
1941 Lookup keys in function-key-map immediately so that key-translation-map
1942 can be applied earlier.
1943 Remove function_key_possible and key_translation_possible, replaced
1944 by checking `keytran_start < t'.
3a62677f 1945
77d1daf2 1946 * .gdbinit (xsymbol): Use the new `xname' field.
9d113d9d 1947
77d1daf2 19482002-06-17 Andrew Choi <akochoi@shaw.ca>
b8523839 1949
77d1daf2
AS
1950 * macterm.c (XTread_socket): If Vmac_command_key_is_meta is nil,
1951 test Mac command key as <ALT> key.
9464dea4 1952
77d1daf2
AS
1953 * mac.c (do_applescript): Call initialize_applescript if necessary
1954 when first called. Dispose of result_desc only when there is no error.
1955 (Fdo_applescript): Use %d format specifier instead of %ld.
9d113d9d 1956
77d1daf2 19572002-06-16 Andrew Choi <akochoi@shaw.ca>
70ec1377 1958
77d1daf2
AS
1959 * macterm.c (XTread_socket): Call FrontNonFloatingWindow instead
1960 of FrontWindow for cases keyDown and autoKey.
70ec1377 1961
77d1daf2
AS
1962 * fontset.c (syms_of_fontset) [MAC_OS]: Set ASCII font of
1963 Vdefault_fontset to Monaco with mac-roman coding.
92f7dd37 1964
77d1daf2
AS
1965 * mac.c, macfns.c, macmenu.c, macterm.c: Undefine and redefine
1966 init_process before and after inclusion of Carbon/Carbon.h, resp.
92f7dd37 1967
77d1daf2
AS
1968 * macterm.c (x_new_font): Set font for normal_gc, reverse_gc, and
1969 cursor_gc.
1970 (add_font_name_table_entry): New function.
1971 (init_font_name_table): Use add_font_name_table_entry; add italic,
1972 bold, and bold-italic entries for truetype fonts.
c93674bb 1973
77d1daf2
AS
1974 * xfaces.c (init_frame_faces) [MAC_OS]: Call realize_basic_faces
1975 for Mac too.
1976 (try_font_list) [MAC_OS]: If no font matches given registry, try
1977 fonts with any registry matching face_family.
1978 (realize_x_face) [MAC_OS]: Remove old ad-hoc fix to load font here.
c93674bb 1979
77d1daf2
AS
1980 * s/darwin.h: If autoconf detects the Ncurses library, define
1981 LIBS_TERMCAP to -lncurses to use it.
59b59892 1982
77d1daf2 19832002-06-16 Eli Zaretskii <eliz@is.elta.co.il>
59b59892 1984
77d1daf2 1985 * strftime.c [__hpux]: Include sys/_mbstate_t.h.
c6ea2775 1986
77d1daf2 19872002-06-15 Richard M. Stallman <rms@gnu.org>
c6ea2775 1988
77d1daf2
AS
1989 * window.c (Fset_window_configuration): Explicitly preserve
1990 the point value that new_current_buffer had at the start.
91175673 1991
77d1daf2 19922002-06-14 Juanma Barranquero <lektu@terra.es>
91175673 1993
77d1daf2
AS
1994 * composite.c (Fcompose_region_internal, Fcompose_string_internal):
1995 Fix typos.
91175673 1996
77d1daf2 19972002-06-14 Kim F. Storm <storm@cua.dk>
e0fead5d 1998
77d1daf2
AS
1999 * insdel.c (insert_1_both, insert_from_string_1)
2000 (insert_from_buffer_1): Recalculate END_UNCHANGED in case the
2001 insert happened in the end_unchanged region. Otherwise, the
2002 redisplay may be confused and duplicate the last line in the
2003 buffer [seen after save-buffer when require-final-newline==t].
e0fead5d 2004
77d1daf2 20052002-06-13 Jason Rumney <jasonr@gnu.org>
e0fead5d 2006
77d1daf2
AS
2007 * w32.c (init_environment): Remove EMACSLOCKDIR.
2008 (stat): Swap _S_IFDIR and _S_IFREG.
c186cdb3 2009
77d1daf2 20102002-06-13 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
c186cdb3 2011
77d1daf2
AS
2012 * keyboard.c, macterm.c, macmenu.c, msdos.c, sysdep.c
2013 * termhooks.h, xmenu.c, xsmfns.c, xterm.h, xterm.c, w32term.c,
2014 * w32menu.c, w32inevt.c: Rename enum event_kind as follows:
2015 ascii_keystroke to ASCII_KEYSTROKE_EVENT, multibyte_char_keystroke
2016 to MULTIBYTE_CHAR_KEYSTROKE_EVENT, non_ascii_keystroke to
2017 NON_ASCII_KEYSTROKE_EVENT, timer_event to TIMER_EVENT, mouse_click
2018 to MOUSE_CLICK_EVENT, mouse_wheel to MOUSE_WHEEL_EVENT,
2019 language_change_event to LANGUAGE_CHANGE_EVENT, scroll_bar_click
2020 to SCROLL_BAR_CLICK_EVENT, w32_scroll_bar_click to
2021 W32_SCROLL_BAR_CLICK_EVENT, selection_request_event to
2022 SELECTION_REQUEST_EVENT, selection_clear_event to
2023 SELECTION_CLEAR_EVENT, buffer_sw
c186cdb3 2024
77d1daf2 20252002-04-01 Stefan Monnier <monnier@cs.yale.edu>
c186cdb3 2026
77d1daf2 2027 * region-cache.c (new_region_cache): Use BEG.
58cfce98 2028
77d1daf2
AS
2029 * marker.c (buf_charpos_to_bytepos, buf_bytepos_to_charpos):
2030 Use BEG and BEG_BYTE.
58cfce98 2031
77d1daf2
AS
2032 * doc.c (get_doc_string): Return nil if the location is wrong.
2033 (reread_doc_file): New fun.
2034 (Fdocumentation, Fdocumentation_property):
2035 Call it if get_doc_string fails.
2036 (Fsnarf_documentation): Make it work for a dumped Emacs.
62854fe2 2037
77d1daf2
AS
2038 * charset.h (DEC_POS, BUF_DEC_POS): Use BEG_BYTE.
2039 Bound the search with MAX_MULTIBYTE_LENGTH to avoid pathological case.
62854fe2 2040
77d1daf2 2041 * charset.c (Fstring): Allow 0 arguments.
656f46bb 2042
77d1daf2 2043 * xterm.c (XTread_socket): Fix int/Lisp_Object confusion.
656f46bb 2044
77d1daf2
AS
2045 * process.c (DATAGRAM_CONN_P, list_processes_1)
2046 (Fprocess_datagram_address, Fset_process_datagram_address)
2047 (Fset_network_process_options, server_accept_connection):
2048 Fix some int/Lisp_Object confusions (thank you union types).
656f46bb 2049
77d1daf2 20502002-04-01 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
036e218d 2051
77d1daf2 2052 * msdos.c: Rename x_autoselect_window_p to autoselect_window_p.
036e218d 2053
77d1daf2
AS
2054 * w32term.c: Likewise.
2055 (note_mouse_movement): Put code for x_autoselect_window_p in #if 0.
7ddb2c16 2056
77d1daf2
AS
2057 * keyboard.c (Qselect_window): New symbol.
2058 (head_table): Use it.
2059 (keys_of_keyboard): Bound select-window event to handle-select-window.
2060 (kbd_buffer_get_event): Make a Lisp event from SELECT_WINDOW_EVENT.
7ddb2c16 2061
77d1daf2
AS
2062 * xterm.c: Rename x_autoselect_window_p to autoselect_window_p.
2063 (last_window): New variable.
2064 (XTread_socket): Generate SELECT_WINDOW_EVENTs.
2065 (note_mouse_movement): Remove reimplemented code in #if 0.
2066 (XTread_socket): Generate SELECT_WINDOW_EVENTs only for
2067 Emacs windows.
ace9b298 2068
77d1daf2 2069 * termhooks.h (enum event_kind): New event type `SELECT_WINDOW_EVENT'.
90647b07 2070
77d1daf2 20712002-03-31 Gerd Moellmann <gerd@gnu.org>
90647b07 2072
77d1daf2
AS
2073 * xterm.c (x_get_char_face_and_encoding): Add parameter DISPLAY_P.
2074 Callers changed.
ace9b298 2075
77d1daf2 20762002-03-30 Richard M. Stallman <rms@gnu.org>
ace9b298 2077
77d1daf2
AS
2078 * window.c (window_scroll_pixel_based): Exit the move_it_by_lines
2079 loop whenever it stops making progress.
ace9b298 2080
77d1daf2 2081 * widget.c (set_frame_size): Don't call change_frame_size.
9fbc32aa 2082
77d1daf2 20832002-03-30 Gerd Moellmann <gerd@gnu.org>
036e218d 2084
77d1daf2
AS
2085 * dispnew.c (direct_output_for_insert):
2086 Call mark_window_display_accurate.
9fbc32aa 2087
77d1daf2 20882002-03-29 Jason Rumney <jasonr@gnu.org>
9fbc32aa 2089
77d1daf2 2090 * w32term.c (w32_draw_relief_rect): Fix calculations of line lengths.
9fbc32aa 2091
77d1daf2 20922002-03-29 Eli Zaretskii <eliz@is.elta.co.il>
9fbc32aa 2093
77d1daf2 2094 * Makefile.in (lread.o): Depend on coding.h.
9fbc32aa 2095
77d1daf2
AS
2096 * lread.c (openp, Fload): Encode the file name before passing it
2097 to `stat', `access', and `emacs_open'.
2098 (openp): GCPRO the encoded file name. Don't recompute Lisp
2099 strings unnecessarily.
9fbc32aa 2100
77d1daf2 21012002-03-29 Kim F. Storm <storm@cua.dk>
9fbc32aa 2102
77d1daf2 2103 * fns.c (Flax_plist_put): Doc fix.
9fbc32aa 2104
77d1daf2 21052002-03-28 Miles Bader <miles@gnu.org>
0142178a 2106
77d1daf2 2107 * process.c (DATAGRAM_CONN_P): Make sure PROC is really a process.
0142178a 2108
77d1daf2 21092002-03-27 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
d4824a5d 2110
77d1daf2
AS
2111 * process.c (set-network-process-options): Add usage.
2112 (make-network-process): Doc fix.
d4824a5d 2113
77d1daf2 21142002-03-26 Eli Zaretskii <eliz@is.elta.co.il>
b1356234 2115
77d1daf2 2116 * emacs.c (Fdump_emacs): Fix a typo in "command-line-processed".
b1356234 2117
77d1daf2 21182002-03-26 Richard M. Stallman <rms@gnu.org>
3ce081f5 2119
77d1daf2
AS
2120 * fns.c (Fsubstring_no_properties): New function.
2121 (Flax_plist_get, Flax_plist_put): New functions.
2122 (syms_of_fns): defsubr them.
99e380ee 2123
77d1daf2
AS
2124 * xdisp.c (update_menu_bar): Test only update_mode_lines;
2125 don't test or alter w->update_mode_line.
3ce081f5 2126
77d1daf2 2127 * window.c (Fdisplay_buffer): Doc fix.
66458f32 2128
77d1daf2 21292002-03-24 Richard M. Stallman <rms@gnu.org>
66458f32 2130
77d1daf2 2131 * regex.c (GET_UNSIGNED_NUMBER): Give proper error for spaces.
66458f32 2132
77d1daf2 21332002-03-24 Gerd Moellmann <gerd@gnu.org>
59a86c99 2134
77d1daf2
AS
2135 * eval.c (Qdeclare, Vmacro_declaration_function): New variables.
2136 (Fdefmacro): Handle `(declare ...)'.
2137 (syms_of_eval) <Qdeclare>: Initialize and staticpro.
2138 (syms_of_eval) <Vmacro_declaration_function>: DEFVAR_LISP.
59a86c99 2139
77d1daf2 21402002-03-24 Jason Rumney <jasonr@gnu.org>
eb77a5f4 2141
77d1daf2
AS
2142 * w32fns.c (xbm_scan, xbm_load_image, xbm_read_bitmap_data)
2143 (xbm_file_p): Add prototypes.
2144 (xbm_format, xbm_image_p): Sync with xfns.c.
2145 (reflect_byte): New function.
2146 (xbm_read_bitmap_data): Sync with xfns.c, adapt for Windows.
2147 (xbm_load_image): Create bitmaps with a depth of 1.
2148 (init_xfns): Enable XBM images.
eb77a5f4 2149
77d1daf2 21502002-03-23 Jason Rumney <jasonr@gnu.org>
eb77a5f4 2151
77d1daf2
AS
2152 * w32term.c (w32_handle_tool_bar_click): Detect up and down events
2153 correctly. Do not pass up_modifier to keyboard buffer.
eb77a5f4 2154
77d1daf2 2155 * w32fns.c [HAVE_IMAGES, HAVE_PBM]: Remove conditionals.
bb313871 2156
77d1daf2 21572002-03-22 Stefan Monnier <monnier@cs.yale.edu>
bb313871 2158
77d1daf2
AS
2159 * Makefile.in (bootstrapclean): New target.
2160 (bootstrap-temacs, bootstrap-doc): Remove.
2161 (bootstrap-emacs): Use a bog-standard `temacs'.
2162 Don't bother to build a DOC file.
55b43a63 2163
77d1daf2 2164 * sysdep.c (wait_for_termination): Use sigsuspend rather than sigpause.
6052529b 2165
77d1daf2
AS
2166 * emacs.c (main): Handle --unibyte, --multibyte, and --no-loadup
2167 in temacs even if !CANNOT_DUMP.
2168 (standard_args): Keep --no-loadup even if !CANNOT_DUMP.
3ce081f5 2169
77d1daf2 2170 * alloc.c (check_pure_size): Only output a warning.
3ce081f5 2171
77d1daf2 21722002-03-22 Jason Rumney <jasonr@gnu.org>
3ce081f5 2173
77d1daf2
AS
2174 * w32fns.c (Fx_create_frame): Enable tool-bar when images are
2175 supported.
3ce081f5 2176
77d1daf2
AS
2177 * w32term.c (zv_bits): Declare as short, for word alignment.
2178 (w32_read_socket) <WM_XBUTTONUP>: Fix last change.
2179 (syms_of_w32term): Define x-use-underline-position-properties.
55b43a63 2180
77d1daf2
AS
2181 * w32fns.c (x_set_cursor_color): Set cursor_gc as well.
2182 (clear_image_cache): Block input, fix logic, clear matrices in
2183 all frames that share this cache.
111ed14e 2184
77d1daf2 21852002-03-22 Eli Zaretskii <eliz@is.elta.co.il>
9fabb2f5 2186
77d1daf2
AS
2187 * emacs.c (main): Update the Copyright year in the blurb printed
2188 by "emacs --version".
9fabb2f5 2189
77d1daf2 2190 * xdisp.c (message_with_string): Fix syntax of a call to GCPRO2.
9fabb2f5 2191
77d1daf2
AS
2192 * xterm.c (XTread_socket): If XK_ISO_Lock and
2193 XK_ISO_Last_Group_Lock are defined, handle keysyms between
2194 XK_ISO_Lock and XK_ISO_Last_Group_Lock similarly to Mode_switch.
111ed14e 2195
77d1daf2 21962002-03-21 Kim F. Storm <storm@cua.dk>
2fa0eedf 2197
77d1daf2
AS
2198 * keyboard.c (menu_bar_items): Mostly undo 2002-02-20 patch, so
2199 menu-bar bindings in keymap and local-map properties _are_ used.
2200 But try keymap property first in accordance with 2002-01-03 patch.
2201 Added comment describing why this is not always reliable.
2202 (tool_bar_items): Ditto for tool-bar.
d1420435 2203
77d1daf2 22042002-03-21 Jason Rumney <jasonr@gnu.org>
2fa0eedf 2205
77d1daf2 2206 * w32fns.c (x_clear_image_1): Disable color table code.
ebcbef4e 2207
77d1daf2 22082002-03-21 Kim F. Storm <storm@cua.dk>
5c131048 2209
77d1daf2
AS
2210 * lisp.h (DEFUN) [USE_NONANSI_DEFUN]: The 2001-10-17 patch
2211 removed the wrong version of the DEFUN macro; fixed it.
5c131048 2212
77d1daf2
AS
2213 * fns.c (Ffeaturep): Allow subfeature to be a list (test using
2214 Fmember rather than Fmemq).
2215 (Fprovide): Check that subfeatures is a list.
5c131048 2216
77d1daf2
AS
2217 * process.c (QCfeature, QCdatagram): Removed variables.
2218 (QCtype, Qdatagram): New variables.
2219 (network_process_featurep): Removed function.
2220 (Fmake_network_process): Removed :feature check.
2221 Use :type 'datagram instead of :datagram t to create a datagram
2222 socket. This allows us to add other connection types (e.g. raw
2223 sockets) later in a consistent manner.
2224 (init_process) [subprocess, HAVE_SOCKETS]: Provide list of
2225 supported subfeatures for feature make-network-process.
2226 (syms_of_process) [subprocess]: Remove QCfeature and QCdatagram.
2227 Intern and staticpro QCtype and Qdatagram.
2228 (syms_of_process) [!subprocess]: Intern and staticpro QCtype.
96d276c3 2229
77d1daf2
AS
2230 * xfns.c: (QCtype): Remove duplicate declaration and
2231 initialization (is now declared in process.c).
6108b49c 2232
77d1daf2
AS
2233 * w32fns.c: (QCtype): Remove duplicate declaration and
2234 initialization (is now declared in process.c).
96d276c3 2235
77d1daf2 22362002-03-21 Richard M. Stallman <rms@gnu.org>
5eea19a4 2237
77d1daf2
AS
2238 * regex.c (DISCARD_FAILURE_REG_OR_COUNT): New macro.
2239 (CHECK_INFINITE_LOOP): Use DISCARD_FAILURE_REG_OR_COUNT
2240 when jumping to `fail' to avoid undoing reg changes in the
2241 last iteration of the loop.
2242 (GET_UNSIGNED_NUMBER): Skip spaces around the number.
5eea19a4 2243
77d1daf2
AS
2244 * Makefile.in (dispnew.o, sysdep.o, xdisp.o, xselect.o, alloc.o):
2245 Depend on process.h.
5eea19a4 2246
77d1daf2 22472002-03-20 Jason Rumney <jasonr@gnu.org>
5eea19a4 2248
77d1daf2
AS
2249 Most of the following changes are still conditional on HAVE_IMAGES
2250 which is not set by default on Windows.
438e57dd 2251
77d1daf2 2252 * emacs.c (main) [WINDOWSNT]: Call init_xfns.
438e57dd 2253
77d1daf2
AS
2254 * w32fns.c (x_set_cursor_color): Set foreground of cursor, not frame.
2255 (Fimage_size, Fimage_mask_p, XPutPixel): New functions.
2256 (four_corners_best, x_clear_image_1, x_clear_image)
2257 (x_alloc_image_color, postprocess_image)
2258 (x_create_x_image_and_pixmap, x_destroy_x_image, xbm_load_image)
2259 (x_from_x_colors, x_disable_image, pbm_load): Adapt for Windows.
2260 (init_xfns, syms_of_w32fns): Initialize image functions and constants.
c88e5347 2261
77d1daf2 2262 * w32gui.h (struct XImage): Define.
c88e5347 2263
77d1daf2
AS
2264 * w32term.c (w32_read_socket) <WM_XBUTTONUP>: Use XFASTINT to
2265 extract mouse co-ordinates.
59ce1461 2266
77d1daf2 22672002-03-20 Jason Rumney <jasonr@gnu.org>
59ce1461 2268
77d1daf2
AS
2269 * w32.c (init_winsock): Dynamically load new server and UDP
2270 socket functions.
2271 (socket_to_fd): New function.
2272 (sys_socket): Use it.
2273 (sys_setsockopt, sys_listen, sys_getsockname, sys_accept)
2274 (sys_recvfrom, sys_sendto): New wrapper functions.
59ce1461 2275
77d1daf2
AS
2276 * process.c (QCfamily, QCfilter): Remove duplicate declaration
2277 and initialization.
8727d588 2278
77d1daf2 2279 * makefile.w32-in (LIBS): Remove $(WSOCK32).
8727d588 2280
77d1daf2 22812002-03-20 Eli Zaretskii <eliz@is.elta.co.il>
cc63037e 2282
77d1daf2
AS
2283 * process.c (conv_sockaddr_to_lisp, conv_lisp_to_sockaddr):
2284 Don't use "sun" as a variable, it's a predefined constant on Sun
2285 machines.
cc63037e 2286
77d1daf2 22872002-03-20 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
cc63037e 2288
77d1daf2 2289 * bytecode.c (Fbyte_code): Revert last change.
cc63037e 2290
77d1daf2 22912002-03-19 Kim F. Storm <storm@cua.dk>
cc63037e 2292
77d1daf2
AS
2293 * makefile.w32-in (LIBS): Add $(WSOCK32).
2294 From David Ponce <dponce@voila.fr>.
deece6f5 2295
77d1daf2 22962002-03-18 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
deece6f5 2297
77d1daf2
AS
2298 * process.c (wait_reading_process_input): Move variables `pname'
2299 and `pnamelen' down where they are used.
1b944d9c 2300
77d1daf2
AS
2301 * bytecode.c (Fbyte_code): Discard unused computed value to
2302 prevent gcc warning.
28ff4293 2303
77d1daf2 2304 * lisp.h (Fplist_member): Add prototype.
a395ef6a 2305
77d1daf2 23062002-03-18 Kim F. Storm <storm@cua.dk>
a395ef6a 2307
77d1daf2
AS
2308 * config.in: Add HAVE_SENDTO, HAVE_RECVFROM, HAVE_SETSOCKOPT,
2309 HAVE_GETSOCKOPT, HAVE_GETPEERNAME, HAVE_GETSOCKNAME, and HAVE_SYS_UN_H.
9b46de40 2310
77d1daf2
AS
2311 * process.c: Define HAVE_LOCAL_SOCKETS based on HAVE_SYS_UN_H.
2312 Remove explicit GNU_LINUX settings for datagram support.
9b46de40 2313
77d1daf2 23142002-03-18 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
9b46de40 2315
77d1daf2
AS
2316 * process.c (Fmake_network_process): Remove unused variable `sa'.
2317 Doc fix. Add usage:.
2318 (set_socket_options): Remove unused variables `optnum' and `opttype'.
aff37336 2319
77d1daf2 23202002-03-17 Richard M. Stallman <rms@gnu.org>
aff37336 2321
77d1daf2
AS
2322 * xdisp.c (cursor_type_changed): New variable.
2323 (redisplay_internal): Redisplay all windows if cursor_type_changed.
2324 Clear it when clearing windows_or_buffers_changed.
2325 (try_cursor_movement, redisplay_window, try_window_id)
2326 (try_window_reusing_current_matrix): Test cursor_type_changed
2327 along with windows_or_buffers_changed.
b9937f07 2328
77d1daf2 2329 * window.h (cursor_type_changed): New variable.
b9937f07 2330
77d1daf2
AS
2331 * xfns.c (x_set_cursor_type): Set cursor_type_changed,
2332 not update_mode_lines, and always set it to 1.
2cd23960 2333
77d1daf2
AS
2334 * xdisp.c (clear_garbaged_frames): Don't set windows_or_buffers_changed
2335 if no frames needed redrawing.
2cd23960 2336
77d1daf2 23372002-03-17 Kim F. Storm <storm@cua.dk>
2cd23960 2338
77d1daf2
AS
2339 The following changes add support for network server processes,
2340 datagram connections, and local (unix) sockets.
2cd23960 2341
77d1daf2
AS
2342 * process.h (struct Lisp_Process): New member log.
2343 Doc fix: Member command used to indicate stopped network process.
2344 Doc fix: Member childp contains plist for network process.
2345 Doc fix: Member kill_without_query is inverse of query-on-exit flag.
a4184c1c 2346
77d1daf2
AS
2347 * process.c (Qlocal, QCname, QCbuffer, QChost, QCservice, QCfamily)
2348 (QClocal, QCremote, QCserver, QCdatagram, QCnowait, QCnoquery,QCstop)
2349 (QCcoding, QCoptions, QCfilter, QCsentinel, QClog, QCfeature):
2350 New variables.
2351 (NETCONN1_P): New macro.
2352 (DATAGRAM_SOCKETS): New conditional symbol.
2353 (datagram_address): New array.
2354 (DATAGRAM_CONN_P, DATAGRAM_CHAN_P): New macros.
2355 (status_message): Use concat3.
2356 (Fprocess_status): Add `listen' status to doc string. Return `stop'
2357 for a stopped network process.
2358 (Fset_process_buffer): Update contact plist for network process.
2359 (Fset_process_filter): Ditto. Don't enable input for stopped
2360 network processes. Server must listen, even if filter is t.
2361 (Fset_process_query_on_exit_flag, Fprocess_query_on_exit_flag):
2362 New functions.
2363 (Fprocess_kill_without_query): Removed. Now defined in simple.el.
2364 (Fprocess_contact): Added KEY argument. Handle datagrams.
2365 (list_processes_1): Optionally show only processes with the query
2366 on exit flag set. Dynamically adjust column widths. Omit tty
2367 column if not needed. Report stopped network processes.
2368 Identify server and datagram network processes.
2369 (Flist_processes): New optional arg `query-only'.
2370 (conv_sockaddr_to_lisp, get_lisp_to_sockaddr_size)
2371 (conv_lisp_to_sockaddr, set_socket_options)
2372 (network_process_featurep, unwind_request_sigio): New helper functions.
2373 (Fprocess_datagram_address, Fset_process_datagram_address):
2374 (Fset_network_process_options): New lisp functions.
2375 (Fopen_network_stream): Removed. Now defined in simple.el.
2376 (Fmake_network_process): New lisp function. Code is based on previous
2377 Fopen_network_stream, but heavily reworked with new property list based
2378 argument list, support for datagrams, server processes, and local
2379 sockets in addition to old client-only functionality.
2380 (server_accept_connection): New function.
2381 (wait_reading_process_input): Use it to handle incoming connects.
2382 Do not enable input on a new connection if process is stopped.
2383 (read_process_output): Handle datagram sockets. Use 2k buffer for them.
2384 (send_process): Handle datagram sockets.
2385 (Fstop_process, Fcontinue_process): Apply to network processes. A stopped
2386 network process is indicated by setting command field to t .
2387 (Fprocess_send_eof): No-op if datagram connection.
2388 (Fstatus_notify): Don't read input for a stream server socket or a
2389 stopped network process.
2390 (init_process): Initialize datagram_address array.
2391 (syms_of_process): Intern and staticpro new variables, defsubr new
2392 functions.
a4184c1c 2393
77d1daf2 23942002-03-16 Jason Rumney <jasonr@gnu.org>
f6fa0866 2395
77d1daf2
AS
2396 * w32fns.c (w32_to_all_x_charsets): Return correct type in
2397 startup case.
f6fa0866 2398
77d1daf2 23992002-03-16 Richard M. Stallman <rms@gnu.org>
f4ca4b00 2400
77d1daf2
AS
2401 * xdisp.c (redisplay_internal, redisplay_windows):
2402 Use list_of_error to call internal_condition_case_1.
2403 (safe_eval, safe_call): Pass Qt to internal_condition_case_{1,2}
2404 so as to catch all errors with no possibility of debugger redisplay.
2405 (list_of_error): New variable.
2406 (syms_of_xdisp): Init and staticpro it.
f4ca4b00 2407
77d1daf2 2408 * print.c (print_object): Delete `\ ' from printed rep of frame.
f4e25f94 2409
77d1daf2 24102002-03-15 Eli Zaretskii <eliz@is.elta.co.il>
f4e25f94 2411
77d1daf2
AS
2412 * msdos.c (dos_rawgetc): Disable the x-autoselect-window feature,
2413 until its implementation is fixed.
91c153e2 2414
77d1daf2 24152002-03-14 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
91c153e2 2416
77d1daf2 2417 * xfns.c (png_load): Remove unused variable `gamma_str'.
65b7d3e7 2418
77d1daf2 24192002-03-14 Richard M. Stallman <rms@gnu.org>
65b7d3e7 2420
77d1daf2 2421 * xfns.c (x_real_positions): Handle failure in XQueryTree.
6b5f6311 2422
77d1daf2 24232002-03-14 Miles Bader <miles@gnu.org>
6b5f6311 2424
77d1daf2
AS
2425 * intervals.c (adjust_for_invis_intang): New function.
2426 (set_point_both): Use `adjust_for_invis_intang' to do most of the
2427 work for dealing with invisible+intangible regions. Do so before
2428 and after both forward and backward movements, to handle both
2429 front-sticky and rear-sticky cases.
2430 * textprop.c (text_property_stickiness): Function moved here from
2431 `editfns.c'.
2432 * intervals.h (text_property_stickiness): New declaration.
2433 * editfns.c (char_property_eq): Function removed.
2434 (text_property_stickiness): Function moved to `textprop.c'.
be676094 2435
77d1daf2 24362002-03-13 Jason Rumney <jasonr@gnu.org>
be676094 2437
77d1daf2 2438 * config.in: Add STRFTIME_NO_POSIX2.
032a857d 2439
77d1daf2
AS
2440 * strftime.c (my_strftime) [STRFTIME_NO_POSIX2]: Handle %h, %EX
2441 and %OX when underlying strftime does not.
032a857d 2442
77d1daf2 24432002-03-13 Stefan Monnier <monnier@cs.yale.edu>
032a857d 2444
77d1daf2
AS
2445 * xterm.c (x_set_toolkit_scroll_bar_thumb) <USE_MOTIF>:
2446 Use a fixed-size thumb (based on an ad-hoc estimate of 30 chars per
2447 line) to avoid annoying flicker.
2448 (xm_scroll_callback): Get rid of the now unnecessary kludge.
2449 (XTread_socket): Mark it static.
032a857d 2450
77d1daf2 2451 * xdisp.c (display_mode_element): Fix int/Lisp_Object mixup.
b6270150 2452
77d1daf2 24532002-03-13 Kim F. Storm <storm@cua.dk>
b6270150 2454
77d1daf2 2455 * puresize.h (BASE_PURESIZE): Increase to 775000.
792e5cbd 2456
77d1daf2 24572002-03-12 Juanma Barranquero <lektu@terra.es>
98cbb9fa 2458
77d1daf2 2459 * editfns.c (syms_of_editfns): Fix typo.
98cbb9fa 2460
77d1daf2 24612002-03-12 Gerd Moellmann <gerd@gnu.org>
98cbb9fa 2462
77d1daf2
AS
2463 * xsmfns.c: Include stdio.h because termhooks.h needs it.
2464 Include termopt.h for interrupt_input.
98cbb9fa 2465
77d1daf2 24662002-03-11 Andreas Schwab <schwab@suse.de>
792e5cbd 2467
77d1daf2 2468 * coding.c (syms_of_coding) <file-coding-system-alist>: Doc fix.
fa336b91 2469
77d1daf2 24702002-03-11 Gerd Moellmann <gerd@gnu.org>
fa336b91 2471
77d1daf2
AS
2472 * xterm.c (note_mouse_movement): Put code for
2473 x_autoselect_window_p in #if 0.
fa336b91 2474
77d1daf2
AS
2475 * lread.c (Fload): Don't assume that message_with_string uses the
2476 string it is given like a C string.
077907d4 2477
60a653f1 24782002-03-10 Jan D. <Jan.Djarv@mbox200.swipnet.se>
aa2af83a 2479
60a653f1
JD
2480 * xterm.h: Extern declare x_session_check_input () and
2481 x_session_initialize ().
2482
2483 * xterm.c: Added calls to x_session_check_input () and
2484 x_session_initialize ().
2485
2486 * termhooks.h (enum event_kind): Added save_session_event.
2487
2488 * keyboard.c: Added Emacs event save_session_event.
2489
2490 * emacs.c (main): Added call to syms_of_xsmfns ().
2491
2492 * lisp.h: Extern declare syms_of_xsmfns ().
2493
2494 * config.in: Added HAVE_X_SM
2495
2496 * Makefile.in: Added test for HAVE_X_SM and added new file xsmfns.c
2497
2498 * xsmfns.c: New file for X session management.
2499
25002002-03-09 Jason Rumney <jasonr@gnu.org>
2501
2502 * fileio.c (Fcopy_file) [WINDOWS_NT]: Ensure file is not
2503 read-only when setting modified time.
2504
25052002-03-08 Gerd Moellmann <gerd@gnu.org>
2506
2507 * xdisp.c (move_it_vertically_backward): At the end of the
2508 function, when moving forward by lines, treat terminal frames
2509 specially.
2510
2511 * keyboard.c (echo_char): Make sure to add a separator between
2512 keys even if echo_dash hasn't been called.
2513
2514 * xdisp.c: Use new string macros.
2515 (update_echo_area): Pass number of bytes to message3 instead of
2516 number of chars.
2517 (set_message_1): Don't access a string's size_byte directly.
2518 (decode_mode_spec_coding): Use number of bytes of eoltype string
2519 instead number of chars.
2520
2521 * lisp.h (SREF, SDATA, SCHARS, SBYTES, SMBP): New macros.
2522
25232002-03-08 Juanma Barranquero <lektu@terra.es>
2524
2525 * w32fns.c (Fx_display_color_cells): Force 24+ bit color depths to
2526 24-bit.
2527
25282002-03-06 Jason Rumney <jasonr@gnu.org>
2529
2530 * w32term.c (x_draw_hollow_cursor): Draw same size as block cursor.
2531
25322002-03-06 Gerd Moellmann <gerd@gnu.org>
2533
2534 * keyboard.c (echo_prompt, echo_char, echo_dash, echo_now)
2535 (cancel_echoing, echo_length, echo_truncate): Changed to
2536 work with new kboard definition.
2537 (echo_now): Use message3_nolog instead of message2_nolog.
2538
2539 * alloc.c (mark_kboards): Mark echo_string.
2540
2541 * keyboard.h (ECHOBUFSIZE): Removed.
2542 (struct kboard): Member echoptr removed, member echobuf renamed
2543 to echo_string.
2544
2545 * xdisp.c (message_with_string): Use Fformat instead of doprnt and
2546 message3 instead of message2 to display the message using STRING's
2547 text properties.
2548
25492002-03-05 Andreas Schwab <schwab@suse.de>
2550
2551 * xdisp.c (hscroll_margin): Change to EMACS_INT.
2552
25532002-03-05 Per Abrahamsen <abraham@dina.kvl.dk>
2554
2555 * frame.c (default-frame-alist): Explain that setting it doesn't
2556 affect existing frames.
2557
25582002-03-05 Stefan Monnier <monnier@cs.yale.edu>
2559
2560 * indent.c (skip_invisible): Fix my brain fart.
2561
2562 * dispnew.c (sit_for): Don't wait if executing a kbd macro.
2563
25642002-03-04 Stefan Monnier <monnier@cs.yale.edu>
2565
2566 * dosfns.c, dosfns.h, dispnew.c, dispextern.h, commands.h, charset.c,
2567 * alloc.c, abbrev.c, emacs.c, eval.c, keyboard.c, keyboard.h,
2568 * lisp.h, lread.c, sysdep.c, termcap.c, termchar.h, w32term.c,
2569 * window.c, xdisp.c, xselect.c, xterm.c: Change defvar_int definition
2570 and variables to use EMACS_INT instead of just int.
2571
2572 * buffer.c (syms_of_buffer): Allow non-string `mode-name'.
2573
25742002-03-04 Eli Zaretskii <eliz@is.elta.co.il>
2575
2576 * sysdep.c (sys_subshell) [MSDOS]: If PWD is set in the
2577 environment, pass it down with corrected value.
2578
25792002-03-04 Pavel Jan\e,Bm\e(Bk <Pavel@Janik.cz>
2580
2581 * lread.c (read_filtered_event): Do not call start_hourglass
2582 before returning.
2583
25842002-03-04 Juanma Barranquero <lektu@terra.es>
2585
2586 * w32term.c (x_display_and_set_cursor): Fix typo.
2587
25882002-03-03 Richard M. Stallman <rms@gnu.org>
2589
2590 * fileio.c (Fmake_temp_name): Doc fix.
2591
25922002-03-03 Gary Wong <gtw@gnu.org>
2593
2594 * termcap.c [!emacs]: Replace ospeed for building standalone
2595 libtermcap, for binary compatibility.
2596
2597 * tparam.c [!emacs]: Move #define of bcopy to after string.h.
2598
25992002-03-03 Richard M. Stallman <rms@gnu.org>
2600
2601 * xrdb.c (file_p): Rename arg `path' to `filename'.
2602
2603 * abbrev.c (Fexpand_abbrev): Increment plist as use count
2604 only if it is an integer.
2605
2606 * xfns.c (png_load): Set screen_gamma based on f->gamma.
2607 If png_get_sRGB gives an answer, call png_set_gamma
2608 using the default image gamma value.
2609
2610 * lread.c (read1): When reading from a file, default string to
2611 multibyte only if it has some multibyte characters.
2612
2613 * print.c (print_object): Output multibyte chars 128...255
2614 using \x even if ! print_escape_multibyte.
2615
2616 * xdisp.c (display_mode_element): Move the places where
2617 bytepos, charpos, this, and lisp_string are set.
2618 Use lisp_string to set bytepos.
2619
2620 * xdisp.c (redisplay_internal):
2621 Call clear_image_cache only if HAVE_WINDOW_SYSTEM.
2622
2623 * xdisp.c (display_mode_element): Merge properties specified with
2624 :propertize onto those that come with the string.
2625
26262002-03-03 Eli Zaretskii <eliz@is.elta.co.il>
2627
2628 * xdisp.c (syms_of_xdisp) <auto-hscroll-mode>: Renamed from
2629 automatic-hscrolling. Users changed.
2630 <hscroll-margin>: Renamed from automatic-hscroll-margin.
2631 Users changed.
2632 <hscroll-step>: Renamed from automatic-hscroll-step. Users changed.
2633
26342002-03-02 Eli Zaretskii <eliz@is.elta.co.il>
2635
2636 * buffer.c (syms_of_buffer) <buffer-file-coding-system>: Doc fix.
2637
26382002-03-02 Kim F. Storm <storm@cua.dk>
2639
2640 * window.c (Fminibuffer_selected_window): New function.
2641 (syms_of_window): Defsubr it.
2642
26432002-03-01 Kim F. Storm <storm@cua.dk>
2644
2645 * window.h (struct window): New member phys_cursor_width.
2646
2647 * window.c (make_window, replace_window): Init phys_cursor_width.
2648
2649 * xterm.c (x_display_and_set_cursor): Blink box cursor using
2650 hollow box cursor. Blink bar cursor using 1 pixel wide bar.
2651
2652 * w32term.c (x_display_and_set_cursor): Blink box cursor using
2653 hollow box cursor. Blink bar cursor using 1 pixel wide bar.
2654
2655 * lisp.h (GCPRO6): New macro.
2656
2657 * process.c (Fopen_network_stream): Use GCPRO6.
2658
26592002-03-01 Kim F. Storm <storm@cua.dk>
2660
2661 * process.c (Qconnect, Qfailed): New variables.
2662 (syms_of_process): Intern and staticpro them.
2663 (Fprocess_status): Document connect and failed return values.
2664 [NON_BLOCKING_CONNECT]: New conditional.
2665 (connect_wait_mask, num_pending_connects): New variables.
2666 (status_message): Convert Qfailed status.
2667 (Fopen_network_stream): Added support for non-blocking connect.
2668 New optional args: filter, sentinel, non_blocking. Doc updated.
2669 [HAVE_GETADDRINFO, !HAVE_GETADDRINFO]: Merged common code.
2670 (deactivate_process): Handle pending non-blocking connect.
2671 (wait_reading_process_input): Poll for status of non-blocking
2672 connects. Exec sentinel directly when connect succeeds.
2673 (status_notify): Don't read process output if not yet connected.
2674
26752002-02-28 Kim F. Storm <storm@cua.dk>
2676
2677 * window.c: (minibuf_selected_window): Renamed from
2678 Vminibuf_selected_window. Users changed.
2679 (syms_of_window): Staticpro it.
2680
26812002-02-26 Kim F. Storm <storm@cua.dk>
2682
2683 The following changes add a new Vminibuf_selected_window variable
2684 which is similar to Vminibuf_scroll_window, but which is only set
2685 on entry to the minibuffer (from a non-minibuffer window):
2686
2687 * window.c: (Vminibuf_selected_window): New variable.
2688 (struct save_window_data): New member minibuf_selected_window.
2689 (Fset_window_configuration): Restore Vminibuf_selected_window.
2690 (Fcurrent_window_configuration): Save Vminibuf_selected_window.
2691 Set minibuf_scroll_window member to nil if minibuf_level is 0.
2692 (compare_window_configurations): Compare minibuf_selected_window.
2693
2694 * window.h: (Vminibuf_selected_window): Declare extern.
2695
2696 * minibuf.c (read_minibuf): Set Vminibuf_selected_window on first
2697 entry to minibuffer or on entry from a non-minibuffer window.
2698
2699 * dispextern.h (CURRENT_MODE_LINE_FACE_ID_3): Compare with
2700 Vminibuf_selected_window instead of Vminibuf_scroll_window.
2701
2702 * xdisp.c (init_iterator): Compare with Vminibuf_selected_window
2703 instead of Vminibuf_scroll_window when deciding in which window
2704 the region should be highlighted. Consequently, the region remains
2705 highlighteded even when a completion buffer is also displayed.
2706
27072002-02-26 Eli Zaretskii <eliz@is.elta.co.il>
2708
2709 * fileio.c (Fsubstitute_in_file_name): Fix the change from
2710 2002-02-08.
2711
2712 * xselect.c (Qcompound_text_with_extensions): Renamed from
2713 Qcompound_text_no_extensions.
2714 (lisp_data_to_selection_data, syms_of_xselect): Use the new name.
2715
27162002-02-26 Juanma Barranquero <lektu@terra.es>
2717
2718 * w32proc.c (syms_of_ntproc): Doc fix.
2719
27202002-02-24 Pavel Jan\e,Bm\e(Bk <Pavel@Janik.cz>
2721
2722 * intervals.h: Include "dispextern.h" unconditionally.
2723
27242002-02-24 Jason Rumney <jasonr@gnu.org>
2725
2726 * Makefile.in (WINNT_SUPPORT) [WINDOWSNT]: Add w32-vars.elc
2727 and disp-table.elc.
2728 (lisp): Add emacs-lisp/backquote.elc.
2729
27302002-02-24 Kim F. Storm <storm@cua.dk>
2731
2732 * keymap.c (Flookup_key): Fixed problem in 2001-12-28 patch:
2733 The validation of the event type was too strict as it didn't
2734 allow string events; buffer names are used in bindings for
2735 menu-bar-select-buffer (see `menu-bar-update-buffers').
2736
27372002-02-23 Kim F. Storm <storm@cua.dk>
2738
2739 The following changes rework my patch of 2002-02-06 which
2740 added command remapping by entering the commands directly into
2741 the keymaps. Now, command remapping uses an explicit `remap'
2742 prefix in the keymaps, i.e. [remap COMMAND].
2743
2744 * keymap.c (Qremap, remap_command_vector): New variables.
2745 (is_command_symbol): Removed function.
2746 (Fdefine_key): No longer accept a symbol for KEY.
2747 Added validation of [remap COMMAND] argument for KEY.
2748 The DEF is no longer required to be a symbol when remapping a command.
2749 (Fremap_command): New function to remap command through keymaps.
2750 (Flookup_key): Perform command remapping initiated by
2751 Fremap_command directly for speed.
2752 (Fkey_binding): Use Fremap_command for command remapping.
2753 (where_is_internal): Handle new command remapping representation.
2754 (syms_of_keymap): Intern Qremap, initialize remap_command_vector,
2755 staticpro them. Defsubr Fremap_command.
2756
2757 * keymap.h (Fremap_command): Declare extern.
2758 (is_command_symbol): Remove extern.
2759
2760 * keyboard.c (command_loop_1): Use Fremap_command for command
2761 remapping; now try command remapping for all symbols.
2762
27632002-02-23 Eli Zaretskii <eliz@is.elta.co.il>
2764
2765 * coding.h (run_pre_post_conversion_on_str): Add prototype.
2766
27672002-02-23 Jason Rumney <jasonr@gnu.org>
2768
2769 * w32select.c (Fw32_set_clipboard_data): Run pre-write-conversion
2770 on the string before encoding it.
2771 (Fw32_get_clipboard_data): Run post-read-conversion on the string
2772 after decoding it.
2773
2774 * w32fns.c (w32_wnd_proc) <WM_TIMER>: Fix last change.
2775
27762002-02-23 Pavel Jan\e,Bm\e(Bk <Pavel@Janik.cz>
2777
2778 * w32term.c (enter_timestamp): Remove unused static variable to
2779 prevent warning.
2780
2781 * xterm.c (enter_timestamp): Put in #if 0 to prevent warning.
2782
27832002-02-23 Eli Zaretskii <eliz@is.elta.co.il>
2784
2785 * w16select.c (Fw16_get_clipboard_data): Fix last change.
2786
2787 * xselect.c (selection_data_to_lisp_data): Fix last change.
2788
27892002-02-22 Jason Rumney <jasonr@gnu.org>
2790
2791 * w32term.h (struct w32_output): New member menu_command_in_progress.
2792
2793 * w32menu.c (menubar_selection_callback): Free the menu and
2794 clear the menu_command_in_progress flag.
2795
2796 * w32fns.c (mouse_move_timer, mouse_button_timer): Initialize.
2797 (menu_free_timer): New variable.
2798 (MENU_FREE_ID, MENU_FREE_DELAY): New constants.
2799 (w32_wnd_proc) <WM_TIMER>: Handle menu_free_timer.
2800 <WM_EXITMENULOOP>: Delay before freeing menu. Do nothing if a
2801 menu command is in progress.
2802 <WM_COMMAND>: Set the menu_command_in_progress flag.
2803 Kill any menu_free_timer that is running.
2804
2805 * w32term.c (w32_text_out): Renamed from W32_TEXTOUT.
2806 Call ExtTextOutA rather than ExtTextOut.
2807
28082002-02-22 Eli Zaretskii <eliz@gnu.org>
2809
2810 * puresize.h (BASE_PURESIZE): Increase to 755000.
2811
28122002-02-22 Eli Zaretskii <eliz@is.elta.co.il>
2813
2814 * w16select.c (Fw16_set_clipboard_data): Run pre-write-conversion
2815 on the string before encoding it.
2816 (Fw16_get_clipboard_data): Run post-read-conversion on the string
2817 after decoding it.
2818
28192002-02-22 Eli Zaretskii <eliz@is.elta.co.il>
2820
2821 Support for ICCCM Extended Segments in X selections:
2822
2823 * xselect.c <Qcompound_text_no_extensions>: New variable.
2824 (syms_of_xselect): Intern and staticpro it.
2825 (selection_data_to_lisp_data): Run post-read-conversion on decoded
2826 selection text.
2827 (lisp_data_to_selection_data): If next-selection-coding-system is
2828 compound-text-no-extensions, set the type of selection to be
2829 compound-text.
2830
2831 * xterm.h (x_encode_text): Update prototype.
2832
2833 * xfns.c (x_encode_text): Accept additional arg SELECTIONP; all
2834 callers changed. If SELECTIONP is non-zero, run the
2835 pre-write-conversion function before encoding the selection text.
2836
28372002-02-21 Kim F. Storm <storm@cua.dk>
2838
2839 * frame.c (syms_of_frame): Change mouse-highlight default to t.
2840
2841 * keyboard.c (kbd_buffer_get_event) [WINDOWSNT]:
2842 Correct composing of language-change event.
2843
28442002-02-20 Kim F. Storm <storm@cua.dk>
2845
2846 * keyboard.c (menu_bar_items): Don't include keymap or local-map
2847 bindings at PT when building menu (the menu is not updated often
2848 enough for this to work reliable).
2849 (tool_bar_items): Likewise.
2850 (current_active_maps): Removed unused (and buggy) function.
2851
28522002-02-20 Pavel Jan\e,Bm\e(Bk <Pavel@Janik.cz>
2853
2854 * xfns.c (gif_load): Use correct width and height for GIF images.
2855
28562002-02-19 Eli Zaretskii <eliz@is.elta.co.il>
2857
2858 * floatfns.c (Fatan): Accept an optional second arg and call
2859 atan2 if passed 2 args.
2860
28612002-02-18 Jason Rumney <jasonr@gnu.org>
2862
2863 * w32term.c (glyph_rect): Determine the row and glyph more precisely.
2864
28652002-02-17 Jason Rumney <jasonr@gnu.org>
2866
2867 * w32term.c (x_autoselect_window_p): New variable.
2868 (syms_of_w32term): DEFVAR_BOOL and initialize it.
2869 (note_mouse_movement): Use it.
2870
2871 * w32fns.c (w32_load_system_font): Never set fonts_changed_p to zero.
2872
2873 * w32bdf.c (w32_load_bdf_font): Maybe set fonts_changed_p.
2874
2875 * w32fns.c (Qfullscreen, Qfullwidth, Qfullheight, Qfullboth):
2876 New variables.
2877 (syms_of_w32fns): Intern and staticpro them.
2878 (x_frame_parms) <"fullscreen">: New parameter.
2879 (x_fullscreen_move, x_set_fullscreen): New functions.
2880 (x_set_frame_parameters): Support Qfullscreen.
2881 (x_real_positions): Save x/y_pixels_diff frame params.
2882 (x_figure_window_size): Support full-screen frames.
2883 (Fx_create_frame): Default the fullscreen parameter.
2884
2885 * w32term.c (x_check_fullscreen, x_check_fullscreen_move)
2886 (x_fullscreen_adjust): New functions.
2887 (w32_read_socket) <WM_WINDOWPOSCHANGED>: Don't resize to
2888 fullscreen. Call x_check_fullscreen_move, and set the
2889 want_fullscreen member of output_data.w32
2890 <WM_ACTIVATE, WM_ACTIVATEAPP>: Call x_check_fullscreen.
2891
2892 * w32term.h: New enum for FULLSCREEN_* constants.
2893 (struct w32_output): New members want_fullscreen, x_pixels_diff,
2894 y_pixels_diff, x_pixels_outer_diff, and y_pixels_outer_diff.
2895 (x-fullscreen-adjust): New prototype.
2896
28972002-02-17 Kim F. Storm <storm@cua.dk>
2898
2899 * frame.c: (Vmouse_highlight): New variable.
2900 (syms_of_frame): DEFVAR_LISP it.
2901
2902 * frame.h: (Vmouse_highlight): Declare extern.
2903
2904 * xterm.h (struct x_display_info): Add mouse_face_hidden.
2905
2906 * xterm.c (disable_mouse_highlight): Removed variable.
2907 (note_mouse_highlight): Don't highlight if Vmouse_highlight is nil.
2908 (show_mouse_face): Don't show highlight if mouse_face_hidden is set.
2909 (XTread_socket): Turn mouse_face_hidden off after mouse movement,
2910 and on after keyboard input.
2911 (x_term_init): Initialize mouse_face_hidden.
2912
2913 * msdos.h (struct display_info): Add mouse_face_hidden.
2914
2915 * msdos.c (disable_mouse_highlight): Removed variable.
2916 (show_mouse_face): Don't show highlight if mouse_face_hidden is set.
2917 (IT_note_mouse_highlight): Don't highlight if Vmouse_highlight is nil.
2918 (internal_terminal_init): Initialize mouse_face_hidden.
2919 (dos_rawgetc): Turn mouse_face_hidden off after mouse movement,
2920 and on after keyboard input.
2921
2922 * w32term.h (struct w32_display_info): Add mouse_face_hidden.
2923
2924 * w32term.c (disable_mouse_highlight): Removed variable.
2925 (note_mouse_highlight): Disable highlight if Vmouse_highlight is nil.
2926 (show_mouse_face): Don't show highlight if mouse_face_hidden is set.
2927 (w32_read_socket): Turn mouse_face_hidden off after mouse movement,
2928 and on after keyboard input.
2929 (w32_initialize_display_info): Initialize mouse_face_hidden.
2930
29312002-02-16 Eli Zaretskii <eliz@is.elta.co.il>
2932
2933 * msdos.c (last_mouse_window): New variable.
2934 (dos_rawgetc): Fix last change--if the mouse is in the same window
2935 as recorded in last_mouse_window, don't select this window.
2936
2937 * Makefile.in (lisp, shortlisp): Use cus-start.elc, not cus-start.el.
2938
2939 * msdos.c (x_autoselect_window_p): New variable.
2940 (syms_of_msdos): Defvar it.
2941 (dos_rawgetc): If x_autoselect_window_p is set, select the window
2942 in which the last mouse movement occured, unless it is already
2943 selected.
077907d4 2944
77d1daf2
AS
2945 * xdisp.c (automatic_hscroll_margin, Vautomatic_hscroll_step):
2946 New variables.
2947 (syms_of_xdisp): DEVFAR them.
2948 (hscroll_window_tree): Use automatic_hscroll_margin and
2949 Vautomatic_hscroll_step to compute the amount of window scrolling.
1756e2fb 2950
77d1daf2 29512002-02-16 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
1756e2fb 2952
77d1daf2
AS
2953 * xterm.c (x-autoselect-window): New variable.
2954 (note_mouse_movement): Use it.
06e8f738 2955
77d1daf2 2956 * keyboard.c: Do not include "systime.h" twice.
06e8f738 2957
77d1daf2 29582002-02-15 Andreas Schwab <schwab@suse.de>
fa336b91 2959
77d1daf2 2960 * puresize.h (BASE_PURESIZE): Increase to 9/5.
fa336b91 2961
77d1daf2 2962 * alloc.c (NSTATICS): Increase to 1280.
fa336b91 2963
77d1daf2 29642002-02-15 Kai Gro\e,A_\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
fa336b91 2965
77d1daf2 2966 * alloc.c (NSTATICS): Bump to 1026.
fa336b91 2967
77d1daf2
AS
2968 * xterm.c (Vx_alt_keysym, Vx_hyper_keysym, Vx_meta_keysym)
2969 (Vx_super_keysym): New variables.
2970 (syms_of_xterm): DEFVAR_LISP them.
2971 (x_x_to_emacs_modifiers, x_emacs_to_x_modifiers): Use the
2972 variables to determine which keys to use for the various modifiers.
fa336b91 2973
77d1daf2 29742002-02-13 Kim F. Storm <storm@cua.dk>
fa336b91 2975
77d1daf2
AS
2976 * window.c: (Vmode_line_in_non_selected_windows): Removed.
2977 (mode_line_in_non_selected_windows): New variable.
2978 (syms_of_window): DEFVAR_BOOL it.
fa336b91 2979
77d1daf2
AS
2980 * dispextern.h (CURRENT_MODE_LINE_FACE_ID_3):
2981 Use mode_line_in_non_selected_windows.
2982 (mode_line_in_non_selected_windows): Declare extern.
2983 (Vmode_line_in_non_selected_windows): Removed extern.
fa336b91 2984
77d1daf2 29852002-02-13 Richard M. Stallman <rms@gnu.org>
fa336b91 2986
77d1daf2
AS
2987 * keyboard.c (Fthis_command_keys, Fthis_command_keys_vector)
2988 (Fthis_single_command_keys, Fthis_single_command_raw_keys)
2989 (Fclear_this_command_keys): Doc fixes.
fa336b91 2990
77d1daf2
AS
2991 * xfaces.c (Finternal_make_lisp_face, Finternal_copy_lisp_face)
2992 (update_face_from_frame_parameter): Increment face_change_count
2993 and windows_or_buffers_changed to force redisplay using changed faces.
fa336b91 2994
77d1daf2
AS
2995 * xdisp.c (QCpropertize): New variable.
2996 (mode_line_proptrans_alist): New variable.
2997 (display_mode_element): New arg PROPS; all calls changed.
2998 Implement this, for strings.
2999 Handle literal output of strings by sharing the
3000 main-line code for strings, using local var `literal'.
3001 Handle :propertize feature.
3002 (syms_of_xdisp): Initialze and staticpro QCpropertize and
3003 mode_line_proptrans_alist.
06e8f738 3004
77d1daf2 30052002-02-11 Kim F. Storm <storm@cua.dk>
06e8f738 3006
77d1daf2
AS
3007 * window.c: (Vmode_line_in_non_selected_windows): New variable.
3008 (syms_of_window): DEFVAR_LISP it.
9ce647f4 3009
77d1daf2
AS
3010 * dispextern.h (CURRENT_MODE_LINE_FACE_ID_3): New macro.
3011 (CURRENT_MODE_LINE_FACE_ID): Use it.
3012 (Vmode_line_in_non_selected_windows): Declare extern.
9ce647f4 3013
77d1daf2
AS
3014 * xdisp.c (display_mode_lines): Use CURRENT_MODE_LINE_FACE_ID_3
3015 to get mode line face.
9b784ab8 3016
77d1daf2 30172002-02-11 Eli Zaretskii <eliz@is.elta.co.il>
9f7e52b4 3018
77d1daf2
AS
3019 * msdos.c (Vx_bitmap_file_path, x_stretch_cursor_p): Remove these
3020 variables; cus-start.el doesn't need them anymore.
9f7e52b4 3021
77d1daf2 30222002-02-09 Kim F. Storm <storm@cua.dk>
9f7e52b4 3023
77d1daf2
AS
3024 * insdel.c (make_gap_smaller): Preserve BEG_UNCHANGED during gap
3025 reduction. This fixes a display problem where stray newlines were
3026 inserted in the window (corrected by C-l). Clarified code (IMHO).
fa336b91 3027
77d1daf2 30282002-02-09 Eli Zaretskii <eliz@is.elta.co.il>
34e5d0af 3029
77d1daf2 3030 * dispextern.h (CURRENT_MODE_LINE_FACE_ID): Fix last change.
9b784ab8 3031
77d1daf2 3032 * xdisp.c (display_mode_lines): Fix last change.
89512fcd 3033
77d1daf2 30342002-02-09 Jason Rumney <jasonr@gnu.org>
89512fcd 3035
77d1daf2
AS
3036 * w32fns.c (enum_font_cb2): Don't let charsets unknown to Windows
3037 match each other.
3038 (w32_load_system_font): Prevent Cleartype fonts from loading.
3039 (Fx_show_tip): Ensure tip frames are above other topmost windows.
7d18891d 3040
77d1daf2 30412002-02-09 Kim F. Storm <storm@cua.dk>
d2936d21 3042
77d1daf2
AS
3043 * dispextern.h (CURRENT_MODE_LINE_FACE_ID): New macro.
3044 (CURRENT_MODE_LINE_HEIGHT): Use it.
3045 (enum face_id): Add MODE_LINE_INACTIVE_FACE_ID.
7d18891d 3046
77d1daf2
AS
3047 * xdisp.c (window_box_height): Use CURRENT_MODE_LINE_FACE_ID.
3048 (pos_visible_p, handle_face_prop): Likewise.
3049 (display_mode_lines): Likewise, but for the real selected window.
3050 (init_iterator) [row == NULL]: Handle MODE_LINE_INACTIVE_FACE_ID.
7d18891d 3051
77d1daf2
AS
3052 * xfaces.c (Qmode_line_inactive): New face variable for mode-line
3053 in non-selected windows.
3054 (realize_basic_faces): Realize it.
3055 (syms_of_term): Intern and staticpro it.
7d18891d 3056
77d1daf2 30572002-02-08 Kim F. Storm <storm@cua.dk>
7d18891d 3058
77d1daf2
AS
3059 * alloc.c (SETJMP_WILL_LIKELY_WORK, SETJMP_WILL_NOT_WORK):
3060 Changed mail addresses to emacs-devel@gnu.org.
7d18891d 3061
77d1daf2 30622002-02-08 Eli Zaretskii <eliz@is.elta.co.il>
7d18891d 3063
77d1daf2
AS
3064 * fileio.c (Fsubstitute_in_file_name): If the file name includes
3065 ~user, and there's no such user, don't discard everything before ~user.
7d18891d 3066
77d1daf2 3067 * floatfns.c (Fround): Doc fix.
7d18891d 3068
77d1daf2 30692002-02-08 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
7d18891d 3070
77d1daf2 3071 * sysdep.c (init_system_name): Put unused variable `p' in #if 0.
7d18891d 3072
77d1daf2 30732002-02-07 Stefan Monnier <monnier@cs.yale.edu>
7d18891d 3074
77d1daf2 3075 * lisp.h (Fx_file_dialog): Add extern decl (used in fileio.c).
7d18891d 3076
77d1daf2 30772002-02-07 Kim F. Storm <storm@cua.dk>
7d18891d 3078
77d1daf2
AS
3079 * keymap.c (where_is_internal): Only check whether definition is
3080 remapped if it fulfills is_command_symbol.
9474c847 3081
77d1daf2 30822002-02-07 Andreas Schwab <schwab@suse.de>
9474c847 3083
77d1daf2 3084 * s/gnu-linux.h (GC_LISP_OBJECT_ALIGNMENT): Define to 2 for m68k.
e3059a5d 3085
77d1daf2 3086 * alloc.c (mark_stack): Don't assume sizeof (Lisp_Object) is 4.
e3059a5d 3087
77d1daf2 30882002-02-06 Kim F. Storm <storm@cua.dk>
e3059a5d 3089
77d1daf2
AS
3090 * keymap.c (Fdefine_key): Allow symbol as KEY argument for
3091 defining command remapping. Doc updated.
3092 (Flookup_key): Remap command through keymap if KEY is a symbol.
3093 (is_command_symbol): New function.
3094 (Fkey_binding): Use it. New optional argument NO-REMAP.
3095 Doc updated. Callers changed. Perform command remapping via
3096 recursive call unless that arg is non-nil.
3097 (where_is_internal): New argument no_remap. Callers changed.
3098 Call recursively to find original key bindings for a remapped
3099 comand unless that arg is non-nil.
3100 (Fwhere_is_internal): New optional argument NO-REMAP.
3101 Doc updated. Callers changed. Pass arg to where_is_internal.
b3700ae7 3102
77d1daf2
AS
3103 * keymap.h (Fkey_binding, Fwhere_is_internal): Update prototype.
3104 (is_command_symbol): Added prototype.
b3700ae7 3105
77d1daf2
AS
3106 * keyboard.c (Vthis_original_command): New variable.
3107 (syms_of_keyboard): DEFVAR_LISP it.
3108 (command_loop_1): Set it, and perform command remapping.
eae936e2 3109
77d1daf2 31102002-02-06 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
4bb962be 3111
77d1daf2 3112 * keyboard.c (recursive_edit_1): Call cancel_hourglass unconditionally.
ddb67bdc 3113
77d1daf2 31142002-02-06 Jason Rumney <jasonr@gnu.org>
3467c402 3115
77d1daf2 3116 * w32term.c (w32_native_per_char_metric): Disable 2002-01-20 change.
3467c402 3117
77d1daf2 31182002-02-06 Eli Zaretskii <eliz@is.elta.co.il>
6e1b91d7 3119
77d1daf2 3120 * charset.c (get_charset_id): Use if-else instead of ?:.
1c1d3d69 3121
77d1daf2 31222002-02-06 Richard M. Stallman <rms@gnu.org>
1c1d3d69 3123
77d1daf2 3124 * filelock.c (S_ISLNK): Define if not defined.
b6f4c7ba 3125
77d1daf2 31262002-02-03 Richard M. Stallman <rms@gnu.org>
b6f4c7ba 3127
77d1daf2 3128 * fileio.c (Fdo_auto_save): Improve "auto save disabled" msg.
b6f4c7ba 3129
77d1daf2
AS
3130 * lread.c (read1): Redesign strategy for force_multibyte and
3131 force_singlebyte. Now is_multibyte records whether read_buffer
3132 is multibyte. Encountering any multibyte character makes it so.
a89f435d 3133
77d1daf2 31342002-02-02 Stefan Monnier <monnier@cs.yale.edu>
a89f435d 3135
77d1daf2
AS
3136 * term.c (term_get_fkeys_1): If `k0' and `k;' are both specified and
3137 with the same sequence, map that sequence to f10 rather than f0.
a4cd0cd7 3138
77d1daf2 31392002-02-03 Andreas Schwab <schwab@suse.de>
eafb659a 3140
77d1daf2
AS
3141 * s/gnu-linux.h: Check for __mc68000__ instead of __m68k__, the
3142 latter never being defined on GNU/Linux.
eafb659a 3143
77d1daf2 31442002-02-02 Eli Zaretskii <eliz@is.elta.co.il>
a4cd0cd7 3145
77d1daf2
AS
3146 * xfaces.c (realize_default_face): Don't set the weight and slant of
3147 the default face to Qnormal, unless these attributes are unspecified.
a4cd0cd7 3148
77d1daf2 31492002-02-02 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
a4cd0cd7 3150
77d1daf2
AS
3151 * keyboard.c (command_loop_1) [HAVE_X_WINDOWS]:
3152 Call cancel_hourglass unconditionally.
a4cd0cd7 3153
77d1daf2
AS
3154 * eval.c (Fsignal): Remove duplicated declaration of
3155 the variable `display_hourglass_p'.
a4cd0cd7 3156
77d1daf2 31572002-01-31 Richard M. Stallman <rms@gnu.org>
91823618 3158
77d1daf2 3159 * editfns.c (region_limit): Nicer error message.
91823618 3160
77d1daf2
AS
3161 * coding.c (decode_composition_emacs_mule):
3162 Give up if NCOMPONENT gets too large to index `component'.
86928dfb 3163
77d1daf2
AS
3164 * callint.c (check_mark): New arg to specify clearer error message.
3165 Callers changed.
86928dfb 3166
77d1daf2 31672002-01-27 Richard M. Stallman <rms@gnu.org>
40ef1eda 3168
77d1daf2 3169 * minibuf.c (Fcompleting_read): Doc fix.
ab8469eb 3170
77d1daf2 31712002-01-27 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
a78e0303 3172
77d1daf2
AS
3173 * minibuf.c (Fread_from_minibuffer, Fread_command, Fread_function)
3174 (Fread_variable, Fread_buffer, minibuffer-completion-confirm):
3175 Fix doc-strings.
40ef1eda 3176
77d1daf2 31772002-01-26 Richard M. Stallman <rms@gnu.org>
fabf4a91 3178
77d1daf2 3179 * buffer.c (syms_of_buffer): Doc fixes for scroll-...-aggressively.
0c99b139 3180
77d1daf2
AS
3181 * xdisp.c (try_scrolling): Exchange uses of scroll_down_aggressively
3182 and scroll_up_aggressively.
0c99b139 3183
77d1daf2 31842002-01-26 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
830ddd77 3185
77d1daf2 3186 * keyboard.c (parse_tool_bar_item): Remove duplicated prototypes.
830ddd77 3187
77d1daf2 31882002-01-25 Stefan Monnier <monnier@cs.yale.edu>
55c6d645 3189
77d1daf2
AS
3190 * textprop.c (Fnext_property_change, Fnext_single_property_change)
3191 (Fprevious_property_change, Fprevious_single_property_change):
3192 Stay within the narrowed-buffer boundaries.
55c6d645 3193
77d1daf2 31942002-01-25 Eli Zaretskii <eliz@is.elta.co.il>
5de38842 3195
77d1daf2
AS
3196 * term.c (Ftty_display_color_cells): New function.
3197 (syms_of_term): Defsubr it.
3198 (Ftty_display_color_cells, Ftty_display_color_p): Change the
3199 argument name to DISPLAY. Doc fix.
7a4564a4 3200
77d1daf2
AS
3201 * dispextern.h: Add prototype for set_tty_color_mode and
3202 tty_setup_colors.
5de38842 3203
77d1daf2 32042002-01-24 Jason Rumney <jasonr@gnu.org>
4fa23df5 3205
77d1daf2
AS
3206 * w32term.c (x_scroll_run): Use ScrollWindowEx in place of BitBlt.
3207 If region left to draw is not what was expected, mark the frame as
3208 garbaged.
4fa23df5 3209
77d1daf2
AS
3210 * w32fns.c (w32_wnd_proc) <WM_PAINT>: Initialize update_rect.
3211 Combine the regions returned by BeginPaint and GetUpdateRect.
7a6a97d7 3212
77d1daf2 32132002-01-23 Jason Rumney <jasonr@gnu.org>
c191d13c 3214
77d1daf2
AS
3215 * w32term.c (x_update_window_begin): Only hide caret if
3216 w32_use_visible_system_caret is set.
3217 (x_update_window_end): Only show caret if
3218 w32_use_visible_system_caret is set.
3219 (syms_of_w32term): Handle SystemParametersInfo call failing.
7a6a97d7 3220
77d1daf2 3221 * w32fns.c (syms_of_w32fns): Initialize w32_visible_system_caret_hwnd.
44dc78e0 3222
77d1daf2 32232002-01-22 Richard M. Stallman <rms@gnu.org>
44dc78e0 3224
77d1daf2
AS
3225 * unexelf.c (unexec): Define n so as to cause compilation error
3226 for the code where people have often written n instead of nn.
17893c65 3227
77d1daf2 3228 * .gdbinit (hookpost-run): Defined.
4d994a79 3229
77d1daf2 32302002-01-22 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se>
d5360cc7 3231
77d1daf2 3232 * xfns.c (x_set_frame_parameters): Typo in previous fix corrected.
d5360cc7 3233
77d1daf2 32342002-01-21 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se>
d5360cc7 3235
77d1daf2
AS
3236 * xfns.c (x_set_frame_parameters): Just call x_fullscreen_adjust
3237 if fullscreen is being set.
96238a5a 3238
77d1daf2 32392002-01-21 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
96238a5a 3240
77d1daf2
AS
3241 * minibuf.c (Fminibuffer_contents)
3242 (Fminibuffer_contents_no_properties, Fread_from_minibuffer)
3243 (Fread_string, Fread_no_blanks_input, Fcompleting_read): Doc fixes.
d9d54213 3244
77d1daf2 32452002-01-21 Richard M. Stallman <rms@gnu.org>
d9d54213 3246
77d1daf2 3247 * window.c (check_frame_size): Fix minimum height calculation.
b116830b 3248
77d1daf2 32492002-01-20 Ken Raeburn <raeburn@gnu.org>
b116830b 3250
77d1daf2
AS
3251 * dispextern.h (WINDOW_WANTS_MODELINE_P): Use XFASTINT on window
3252 height before comparison.
3253 (WINDOW_WANTS_HEADER_LINE_P): Likewise.
3297e2a1 3254
77d1daf2 32552002-01-20 Jason Rumney <jasonr@gnu.org>
3297e2a1 3256
77d1daf2
AS
3257 * w32term.c (w32_system_caret_width): Remove.
3258 (w32_use_visible_system_caret): New user flag.
3259 (syms_of_w32term): DEFVAR_BOOL it. Initialize based on whether
3260 Windows reports a screen reader running.
3261 (x_update_window_begin): Hide the system caret.
3262 (x_update_window_end): Show the system caret.
3263 (x_display_and_set_cursor): Don't draw a cursor when
3264 w32_use_visible_system_caret is set. Do not adjust width.
6fb8339c 3265
77d1daf2
AS
3266 * w32fns.c (w32_visible_system_caret_hwnd): New static variable.
3267 (w32_wnd_proc) <WM_KILL_FOCUS, WM_EMACS_DESTROY_CARET>: Set it.
3268 <WM_EMACS_TRACK_CARET>: Arrange for system caret to be visible if
3269 the user requests it. Use system default width when creating.
3270 <WM_EMACS_HIDE_CARET, WM_EMACS_SHOW_CARET>: Handle new messages.
6fb8339c 3271
77d1daf2
AS
3272 * w32term.h (WM_EMACS_SHOW_CARET, WM_EMACS_HIDE_CARET):
3273 New window messages.
7dd73b78 3274
77d1daf2 32752002-01-20 Richard M. Stallman <rms@gnu.org>
7dd73b78 3276
77d1daf2 3277 * window.c (MIN_SAFE_WINDOW_HEIGHT): Value now 1.
982f6c7e 3278
77d1daf2 32792002-01-20 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
d31053f9 3280
77d1daf2 3281 * doprnt.c (doprnt1): Fix typos in error call.
d31053f9 3282
77d1daf2 32832002-01-20 Eli Zaretskii <eliz@is.elta.co.il>
d31053f9 3284
77d1daf2 3285 * unexelf.c (unexec) [__sgi]: Support the .got sections.
d31053f9 3286
77d1daf2 32872002-01-20 Jason Rumney <jasonr@gnu.org>
d31053f9 3288
77d1daf2
AS
3289 * w32term.c (w32_native_per_char_metric): Don't trust the metrics
3290 that Windows returns. If a double check fails, try to guess how
3291 ExtTextOut is going to act.
982f6c7e 3292
77d1daf2
AS
3293 * w32fns.c (w32_load_system_font, w32_to_x_charset): Use strnicmp
3294 in place of stricmp.
3295 (w32_list_synthesized_fonts): Removed.
3296 (w32_to_all_x_charsets, enum_font_maybe_add_to_list): New functions.
3297 (struct enumfont_t): New element; list.
3298 (enum_font_cb2): List all style and charset variations of a font.
3299 (Fw32_select_font): New optional argument; include_proportional.
3300 Exclude vertical fonts. Exclude proportional fonts unless
3301 include_proportional is non-nil.
3302 (w32_enable_synthesized_fonts): Change to a boolean.
3303 (Fw32_send_sys_command): Doc fix.
830047fd 3304
77d1daf2 33052002-01-19 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
b116830b 3306
77d1daf2
AS
3307 * dispnew.c (update_frame): Move the variable `tem' to the block
3308 where it is used.
830047fd 3309
77d1daf2 33102002-01-19 Jason Rumney <jasonr@gnu.org>
b116830b 3311
77d1daf2
AS
3312 * w32fns.c (Fx_create_frame): Bind redisplay-dont-pause around
3313 call to face-set-after-frame-default.
2df5238c 3314
77d1daf2 33152002-01-18 Richard M. Stallman <rms@gnu.org>
4e397688 3316
77d1daf2
AS
3317 * dispextern.h (WINDOW_WANTS_MODELINE_P): Check window height > 1.
3318 (WINDOW_WANTS_HEADER_LINE_P): Check window height provides room.
48b0f3ae 3319
77d1daf2 33202002-01-17 Richard M. Stallman <rms@gnu.org>
2df5238c 3321
77d1daf2
AS
3322 * window.c (enlarge_window): When exceeding size of parent,
3323 directly delete all the siblings instead of trying to resize it.
3ecaf7e5 3324
77d1daf2 33252002-01-17 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
3ecaf7e5 3326
77d1daf2 3327 * term.c (set_tty_color_mode): Remove unused variable `tem'.
3ecaf7e5 3328
77d1daf2 33292002-01-16 Henrik Enberg <henrik@enberg.org>
3ecaf7e5 3330
77d1daf2 3331 * lread.c (init_lread): Move the installed-lisp dirs later in the path.
8db2e33b 3332
77d1daf2 33332002-01-16 Kim F. Storm <storm@cua.dk>
8db2e33b 3334
77d1daf2
AS
3335 * xterm.c (x_erase_phys_cursor): Don't erase cursor if cursor row
3336 is invisible. This can happen if cursor is on top line of a
3337 window, and we switch to a buffer with a header line.
aed29b97 3338
77d1daf2 3339 * w32term.c (x_erase_phys_cursor): Ditto.
aed29b97 3340
77d1daf2 33412002-01-16 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
aed29b97 3342
77d1daf2
AS
3343 * xterm.c (XTread_socket) [!USE_X_TOOLKIT]: Compute the value of
3344 `dont_resize' only when used.
6cb16f95 3345
77d1daf2 3346 * xdisp.c: Remove forgotten extern declaration of `Qimage'.
1b1acc13 3347
77d1daf2 33482002-01-15 Eli Zaretskii <eliz@is.elta.co.il>
020f9b38 3349
77d1daf2
AS
3350 * xdisp.c (display_mode_element): When computing charpos, depend
3351 on multibyteness of elt, not the text in field.
020f9b38 3352
77d1daf2 33532002-01-15 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
6cb16f95 3354
77d1daf2
AS
3355 * buffer.c (Fkill_all_local_variables):
3356 Increment `update_mode_lines' only once.
6cb16f95 3357
77d1daf2 33582002-01-14 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
6cb16f95 3359
77d1daf2
AS
3360 * lisp.h (adjust_after_replace_noundo)
3361 (Fupdate_coding_systems_internal): Add prototypes.
6cb16f95 3362
77d1daf2 3363 * sound.c (Fplay_sound): Initialize header_size also for :data case.
7e9d3c2f 3364
77d1daf2 33652002-01-14 Eli Zaretskii <eliz@is.elta.co.il>
7e9d3c2f 3366
77d1daf2
AS
3367 Support for the --color command-line argument and tty-color-mode
3368 frame parameter:
7e9d3c2f 3369
77d1daf2
AS
3370 * term.c (tty_default_color_capabilities, tty_setup_colors)
3371 (set_tty_color_mode): New functions.
3372 (term_init): Call tty_default_color_capabilities.
3373 (Qtty_color_mode_alist): New variable.
3374 (syms_of_term): Intern and staticpro it.
e6bff182 3375
77d1daf2
AS
3376 * frame.c (store_frame_param): Call set_tty_color_mode for termcap
3377 frames.
3378 (do_switch_frame): For termcap frames, switch the tty
3379 color mode as specified by the frame's parameters.
3380 (Qtty_color_mode): New variable.
3381 (syms_of_frame): Intern and staticpro it.
e6bff182 3382
77d1daf2
AS
3383 * emacs.c (USAGE2): Add the --color option.
3384 (standard_args): Ditto.
9ba48103 3385
77d1daf2 33862002-01-13 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se>
9ba48103 3387
77d1daf2
AS
3388 * xterm.h (struct x_output): New members want_fullscreen,
3389 x_pixels_diff, y_pixels_diff, x_pixels_outer_diff, and
3390 y_pixels_outer_diff.
3391 New enum for FULLSCREEN_* constants.
3392 (FRAME_OUTER_WINDOW): Handle the case where output_data.x->widget
3393 is NULL.
3394 (x_fullscreen_adjust): Add prototype.
9ba48103 3395
77d1daf2
AS
3396 * emacs.c (USAGE2): Add the new full-screen arguments.
3397 (standard_args): Ditto.
9ba48103 3398
77d1daf2
AS
3399 * xfns.c (Qfullscreen, Qfullwidth, Qfullheight, Qfullboth):
3400 New variables.
3401 (syms_of_xfns): Intern and staticpro them.
3402 (x_frame_parms) <"fullscreen">: New parameter.
3403 (x_fullscreen_move, x_set_fullscreen): New functions.
3404 (x_set_frame_parameters): Support for Qfullscreen.
3405 (x_real_positions): More accurate computation of the frame position.
3406 (x_figure_window_size): Support full-screen frames.
3407 (Fx_create_frame): Default the fullscreen parameter.
c22e59e1 3408
77d1daf2
AS
3409 * xterm.c (x_check_fullscreen, x_fullscreen_adjust): New functions.
3410 (XTread_socket) <Expose>: Call x_check_fullscreen.
3411 <ConfigureNotify>: Don't resize to fullscreen.
3412 Call x_check_fullscreen_move, and set the want_fullscreen member of
3413 output_data.x.
c22e59e1 3414
77d1daf2 34152002-01-13 Jason Rumney <jasonr@gnu.org>
9271ed2c 3416
77d1daf2
AS
3417 * w32term.h (WM_XBUTTONDOWN, WM_XBUTTONUP): New window messages
3418 for mice with more than 3 buttons.
e6bff182 3419
77d1daf2
AS
3420 * w32term.c (parse_button): New parameter xbutton. Callers changed.
3421 (w32_read_socket): Handle new "XBUTTON" messages.
e6bff182 3422
77d1daf2 3423 * w32fns.
9271ed2c
RS
3424 bindings along with or instead of the buffer local map.
3425 Make the overriding maps override what they should.
3426
f00691a3 34272001-11-01 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
8b8bd9c6
PJ
3428
3429 * window.c (grow_mini_window): Fix typo in comment.
3430
27188d11
GM
34312001-11-01 Gerd Moellmann <gerd@gnu.org>
3432
7b49b9d2
GM
3433 * xterm.c (x_scroll_bar_create): Check for width and height > 0.
3434 (XTset_vertical_scroll_bar): Likewise.
3435
43f7c3ea
GM
3436 * xfns.c (x_build_heuristic_mask): Use four_corners_best
3437 instead of IMAGE_BACKGROUND.
c22e59e1 3438
b350c2e5
GM
3439 * xfns.c (four_corners_best): Reindent.
3440
c22e59e1 3441 * xfaces.c (Finternal_set_lisp_face_attribute_from_resource):
27188d11
GM
3442 Handle :box so that it is possible to specify sexprs.
3443
bf00d461
EZ
34442001-10-31 Eli Zaretskii <eliz@is.elta.co.il>
3445
3446 * s/hpux11.h: New file.
3447
f00691a3 34482001-10-31 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
4e10df59 3449
2b209b97
PJ
3450 * emacs.c (USAGE1): Show command line option --no-window-system
3451 instead of --no-windows in usage.
3452 (standard_args): Rename --no-windows to --no-window-system.
3453 (bug_reporting_address): Follow Emacs coding conventions.
3454
9dbc9081
PJ
3455 * eval.c (Fcommandp): Doc fix.
3456 Change doc-string comments to `new style' [w/`doc:' keyword].
3457
4e10df59
PJ
3458 * frame.c (Fframe_live_p): Doc fix.
3459
3460 * buffer.c (selective-display-ellipses): Doc fix.
3461
dd387b25
GM
34622001-10-31 Gerd Moellmann <gerd@gnu.org>
3463
fe957e65
GM
3464 * lread.c (to_multibyte): Fix computation of new read_buffer_size.
3465
dd387b25
GM
3466 * xfaces.c (realize_x_face): If C is not a single-byte character,
3467 set the face's colors_copied_bitwise_p instead of the defaulted_p
3468 members which have a different meaning.
3469 (free_face_colors): Do nothing for a face whose colors have been
3470 copied bitwise.
3471
c22e59e1 3472 * dispextern.h (struct face) <colors_copied_bitwise_p>: New member.
dd387b25 3473
f00691a3 34742001-10-31 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
2e1280f8 3475
687784e8
PJ
3476 * marker.c, mocklisp.c: Change doc-string comments to `new style'
3477 [w/`doc:' keyword].
2e1280f8 3478
b9d9a9b9
GM
34792001-10-31 Gerd Moellmann <gerd@gnu.org>
3480
3481 * fns.c (require_unwind): Return Lisp_Object.
3482
f00691a3 34832001-10-31 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
48400103 3484
fa1361cb
PJ
3485 * keyboard.c (lucid-menu-bar-dirty-flag): Doc fix.
3486 (last-input-char): Revert doc-string to be the same as the
3487 doc-string of `last-input-event'.
3488
6c465a15 3489 * xdisp.c: Fix typos in comments.
48400103 3490
eafa3196
GM
34912001-10-31 Gerd Moellmann <gerd@gnu.org>
3492
3493 * window.c (grow_mini_window): Handle case that the root
3494 window is already smaller than the nominal mininum height.
3495
747d3f2a
SM
34962001-10-30 Stefan Monnier <monnier@cs.yale.edu>
3497
bf9bb76f
SM
3498 * emacs.c (main): Don't call keys_of_macros any more.
3499
3500 * lisp.h (keys_of_macros): Remove.
3501
3502 * macros.c (keys_of_macros): Remove.
3503
747d3f2a
SM
3504 * xfaces.c (Fface_attribute_relative_p): Declare args.
3505
5e905a57
JR
35062001-10-30 Jason Rumney <jasonr@gnu.org>
3507
3508 * w32fns.c (w32_to_x_charset): Increase size of XLFD charset buffer.
3509 (enum_font_cb2): Ignore fonts with vertical orientation.
3510
3a426197
RS
35112001-10-30 Richard M. Stallman <rms@gnu.org>
3512
3513 * keyboard.c (Finput_pending_p): Doc fix.
3514
a742d646
GM
35152001-10-30 Gerd Moellmann <gerd@gnu.org>
3516
259cf6bc
GM
3517 * xterm.c (x_after_update_window_line): Don't run the code
3518 clearing in borders for rows whose visible height is 0.
3519
3f99f948
GM
3520 * xdisp.c (clear_garbaged_frames): Redraw the frame only if its
3521 resized_p flag is set. If not set, use the much less flickering
3522 method previously used.
3523
3524 * dispnew.c (change_frame_size_1): Set frame's resized_p.
3525
3526 * frame.h (struct frame) <resized_p>: New member.
3527
b4a3be43
GM
3528 * lread.c (to_multibyte): Ensure read_buffer is at least twice
3529 as large as the number of bytes to convert.
747d3f2a 3530
a742d646
GM
3531 * lread.c (to_multibyte): New function.
3532 (read1): Use it.
3533
cacbb9e9
EZ
35342001-10-30 Eli Zaretskii <eliz@is.elta.co.il>
3535
3536 * msdos.h (FRAME_LINE_HEIGHT): Define (it's used by xmenu.c).
3537
99cb6b2f
GM
35382001-10-30 Gerd Moellmann <gerd@gnu.org>
3539
327f42ee 3540 * xterm.c (x_draw_relief_rect): Correct bottom relief by 1 pixel.
747d3f2a
SM
3541 (x_set_glyph_string_background_width): Set extends_to_end_of_line_p
3542 if the row's fill_line_p is set and drawing the last glyph with
3543 DRAW_IMAGE_{RAISED,SUNKEN}.
327f42ee 3544
99cb6b2f
GM
3545 * xdisp.c (clear_garbaged_frames): Call Fredraw_frame.
3546
8e8223e2
SM
35472001-10-29 Stefan Monnier <monnier@cs.yale.edu>
3548
3549 * xmenu.c: Include coding.h and charset.h.
3550 (Fx_popup_menu): Use FRAME_PTR and FRAME_FONT and FRAME_LINE_HEIGHT.
3551 (Fx_popup_dialog): Use FRAME_PTR and enum scroll_bar_part.
3552 (single_submenu, xmenu_show): Use ENCODE_SYSTEM.
3553 Explicitly set wv->help. Use `TRUE' rather than `True'.
3554 (menu_help_callback): Use empty_string.
3555
3556 * w32menu.c (Fx_popup_menu): Explicitly init f, xpos, and ypos.
3557 (Fx_popup_dialog): Explicitly init f.
3558 (w32_menu_display_help): Use empty_string.
3559
4d083a8f
RS
35602001-10-29 Richard M. Stallman <rms@gnu.org>
3561
b2304472
RS
3562 * fns.c (Frequire): Detect recursive try to require the same
3563 feature 3 or more levels deep, and get error.
3564 (require_unwind): New subroutine.
3565 (require_nesting_list): New variable.
3566 (syms_of_fns): Init and staticpro it.
3567
4d083a8f
RS
3568 * print.c (print_object): Clarify indication of insertion type.
3569
2fe41216
EZ
35702001-10-29 Eli Zaretskii <eliz@is.elta.co.il>
3571
90480000
EZ
3572 * coding.c (syms_of_coding): Document that locale-coding-system is
3573 used for decoding input on X.
3574
2fe41216
EZ
3575 * window.c (Fscroll_left, Fscroll_right): Doc fix.
3576
f00691a3 35772001-10-29 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
74e79967
PJ
3578
3579 * keyboard.c (Finput_pending_p): Fix typo in doc-string.
3580 (echo-area-clear-hook): Properly DEFVAR_LISP and staticpro it.
3581
60ebcfe8
GM
35822001-10-29 Gerd Moellmann <gerd@gnu.org>
3583
9a7bdceb
GM
3584 * xterm.c (x_display_and_set_cursor): If cursor_in_echo_area,
3585 use NO_CURSOR if cursor_in_non_selected_windows is false.
3586
3f08fcd2
GM
3587 * xfaces.c (Fface_font): Use UNSPECIFIEDP instead of NILP for
3588 the slant attribute if FRAME is t.
3589
0ccfdad2
GM
3590 * xfns.c (x_set_internal_border_width): Set frame garbaged
3591 when X window doesn't exist yet.
3592
ef253080
GM
3593 * xterm.c (x_after_update_window_line): Clear internal border
3594 in different circumstances.
b116830b 3595
60ebcfe8
GM
3596 * xterm.c (XTread_socket) <KeyPress>: Don't use
3597 STRING_CHAR_AND_LENGTH if nchars == nbytes. From Kenichi Handa
3598 <handa@etl.go.jp>.
3599
73d25f9c
EZ
36002001-10-28 Eli Zaretskii <eliz@is.elta.co.il>
3601
3602 * m/ibms390.h: New file. From Adam Thornton
3603 <athornton@sinenomine.net>.
3604
cac1daf0
GM
36052001-10-28 Gerd Moellmann <gerd@gnu.org>
3606
053b3256 3607 * xfns.c (x_build_heuristic_mask): Use x_alloc_image_color.
b116830b 3608
cac1daf0
GM
3609 * xfns.c (x_build_heuristic_mask): Fix a bug not incrementing
3610 a loop counter.
3611
f00691a3 36122001-10-28 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
13b1a09c 3613
186486eb
PJ
3614 * emacs.c: Use argv[0] instead of emacs when -t was specified.
3615
4707d2d0
PJ
3616 * keyboard.c: Change doc-string comments to `new style' [w/`doc:'
3617 keyword].
3618 Fix typos in comments.
b116830b 3619
d883731c
PJ
3620 * emacs.c (bug_reporting_address): New function.
3621 Use it when displaying usage message.
3622
04012254
PJ
3623 * minibuf.c (read_minibuf): Remove unused external declaration of
3624 variable `Qread_only'.
3625
13b1a09c
PJ
3626 * keymap.c (access_keymap): Remove unused variable `charset'.
3627
5bbf4378
MB
36282001-10-28 Miles Bader <miles@gnu.org>
3629
3630 * xfaces.c (merge_face_heights): Handle TO being relative as well.
3631 Remove #ifdef'd-out code.
3632 (Fface_attribute_relative_p, Fmerge_face_attribute): New functions.
3633 (syms_of_xfaces): Initialize them.
3634
1ce1e4ee
JR
36352001-10-27 Jason Rumney <jasonr@gnu.org>
3636
3637 * w32fns.c (w32_wnd_proc) <WM_KILLFOCUS>: Destroy the system caret.
3638 <WM_EMACS_DESTROY_CARET, WM_EMACS_TRACK_CARET>: Track cursor
3639 position using the system caret.
3640
3641 * w32term.c (w32_system_caret_hwnd, w32_system_caret_width)
3642 (w32_system_caret_height, w32_system_caret_x)
3643 (w32_system_caret_y): New variables for tracking system caret.
3644 (w32_initialize): Initialize them.
c2d53558 3645 (x_display_and_set_cursor): Make system caret follow the active cursor.
1ce1e4ee 3646
c2d53558
SM
3647 * w32term.h (WM_EMACS_TRACK_CARET, WM_EMACS_DESTROY_CARET):
3648 New messages types.
1ce1e4ee
JR
3649
3650 * w32term.c (note_mouse_highlight): Clear old help_echo.
3651
f00691a3 36522001-10-27 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
4e30ce42 3653
bb4600a4
PJ
3654 * xterm.c: Fix typo in a comment.
3655
7db35a48
PJ
3656 * emacs.c: Fix typos in comments.
3657 Remove unnecessary spaces.
3658 Change doc-string comments to `new style' [w/`doc:' keyword].
3659 (USAGE2): Fix typos in usage string.
3660
a7248e4f
PJ
3661 * xterm.c: Fix typo in a comment.
3662
4e30ce42
PJ
3663 * lisp.h: (gdb_lisp_params): Remove code in #if 0 which is now in
3664 emacs.c.
3665
62725a92
GM
36662001-10-27 Gerd Moellmann <gerd@gnu.org>
3667
798dbe1f 3668 * xdisp.c (move_it_vertically_backward): Use 2/3 line_height
c2d53558 3669 instead of 1/2 line_height in the heuristic for skipping
798dbe1f
GM
3670 farther backward when target_y was not reached.
3671
62725a92
GM
3672 * sound.c (sound_perror): Unblock SIGIO, turn on atimers.
3673 Display errno only if non-zero.
3674 (sound_warning): New function.
3675 (vox_configure): Don't treat failing to set sample rate as error.
3676 (various places): Improve error messages.
3677
d4e34d24
EZ
36782001-10-26 Eli Zaretskii <eliz@is.elta.co.il>
3679
944e6f60
EZ
3680 * fileio.c (Faccess_file): Run the argument filename through
3681 Fexpand_file_name, before using it.
3682
d4e34d24
EZ
3683 * dispnew.c (syms_of_display) <visible-bell>: Add a reference to
3684 ring-bell-function. Suggested by Alf-Ivar Holm <alfh@ifi.uio.no>
3685
38d2af0c
GM
36862001-10-26 Gerd Moellmann <gerd@gnu.org>
3687
da80a8d5
GM
3688 * insdel.c (insert_1_both): Do nothing if NCHARS == 0.
3689
38d2af0c
GM
3690 * xterm.c (XTset_vertical_scroll_bar) [!USE_TOOLKIT_SCROLL_BARS]:
3691 Fix clearing in the case of scroll bars on the right.
c2d53558 3692
45de4a6f 36932001-10-26 Juanma Barranquero <lektu@terra.es>
56f508dd
EZ
3694
3695 * w32gui.h (XImage): Add a dummy typedef.
3696
fbd5ceb2
GM
36972001-10-26 Gerd Moellmann <gerd@gnu.org>
3698
c2d53558 3699 * xfns.c (XScreenNumberOfScreen): Fix struct to pointer comparison.
fbd5ceb2 3700
b23236fb
EZ
37012001-10-25 Eli Zaretskii <eliz@is.elta.co.il>
3702
3703 * frame.c (Fframe_parameter): Fix last change.
3704
5d991fc4
EZ
3705 * fileio.c: Revert last change (which removed old commented-out
3706 version of expand-file-name). Add a comment that explains why
3707 this old version should not be removed.
3708
879eadc3
GM
37092001-10-25 Gerd Moellmann <gerd@gnu.org>
3710
75700ff2
GM
3711 * frame.c (Fframe_parameter): Fix a bug whereby some
3712 ``artificial'' frame parameters, like `minibuffer' were not
3713 obtained by calling Fframe_parameters.
3714
dfe92a6a
GM
3715 * xterm.c (show_mouse_face): Clean up. Recognize overwritten
3716 cursor differently.
3717
879eadc3
GM
3718 * xdisp.c (move_it_vertically_backward): Compute line height
3719 differently. Add heuristic to try to be more compatible to 20.x.
3720
e1010ebe
SM
37212001-10-25 Stefan Monnier <monnier@cs.yale.edu>
3722
d73a471b
SM
3723 * lisp.h (make_fixnum_or_float): Coerce double to int explicitly.
3724
d6da5a06
GM
3725 * editfns.c (text_property_stickiness): Fix Lisp_Object used as
3726 boolean.
e1010ebe 3727
f66bd220
MB
37282001-10-25 Miles Bader <miles@gnu.org>
3729
3730 * xfns.c (png_load): Make sure SPECIFIED_BG is a string.
3731 BG is a pointer to a structure, not a structure.
3732 (gif_format, png_format): Add missing commas.
3733
d436d538
RS
37342001-10-24 Richard M. Stallman <rms@gnu.org>
3735
3736 * xfaces.c (Fface_attributes_as_vector): New function.
c2d53558 3737 (syms_of_xfaces): Defsubr it.
d436d538 3738
f00691a3 37392001-10-24 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
075c507b
PJ
3740
3741 * dispnew.c (sync_window_with_frame_matrix_rows): Remove unused
3742 variable `area'.
3743
f00691a3 37442001-10-25 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
d492b584 3745
c2d53558 3746 * search.c (scan_newline): Remove unused variable `selective_display'.
d492b584 3747
e2a57b34
MB
37482001-10-25 Miles Bader <miles@gnu.org>
3749
3750 * dispextern.h (struct image): Add `background',
3751 `background_valid', and `background_transparent' fields.
3752 (image_background, image_background_transparent): New declarations.
3753 (IMAGE_BACKGROUND, IMAGE_BACKGROUND_TRANSPARENT): New macros.
3754 * xfns.c (image_background, image_background_transparent)
3755 (four_corners_best): New functions.
c2d53558 3756 (xpm_format, png_format, jpeg_format, tiff_format, gif_format)
e2a57b34
MB
3757 (gs_format): Add `:background' entry.
3758 (lookup_image): Set IMG's background color if specified.
3759 (pbm_load, xbm_load_image, png_load): Set IMG's background field
3760 when appropriate.
3761 (x_clear_image_1): Reset `background_valid' and
3762 `background_transparent_valid' fields.
3763 (x_build_heuristic_mask): Use IMAGE_BACKGROUND instead of
3764 calculating it here. Set IMG's background_transparent field.
3765 (enum xpm_keyword_index): Add XPM_BACKGROUND.
3766 (enum png_keyword_index): Add PNG_BACKGROUND.
3767 (enum jpeg_keyword_index): Add JPEG_BACKGROUND.
3768 (enum tiff_keyword_index): Add TIFF_BACKGROUND.
3769 (enum gif_keyword_index): Add GIF_BACKGROUND.
3770 (enum gs_keyword_index): Add GS_BACKGROUND.
c2d53558 3771 (pbm_load, png_load, jpeg_load, tiff_load, gif_load):
e2a57b34
MB
3772 Pre-calculate image background color where necessary.
3773 * xterm.c (x_setup_relief_colors): Use `IMAGE_BACKGROUND' and
3774 `IMAGE_BACKGROUND_TRANSPARENT' to calculate the correct background
3775 color to use for image glyph reliefs.
3776
b547b6e8
GM
37772001-10-24 Gerd Moellmann <gerd@gnu.org>
3778
d9e3b8c6
GM
3779 * xterm.c (x_draw_glyphs): Don't check for cursor overwriting
3780 in full-width rows.
c2d53558 3781
b547b6e8
GM
3782 * xterm.c (XTset_vertical_scroll_bar) [!USE_TOOLKIT_SCROLL_BARS]:
3783 Fix clearing of area not covered by scroll bar.
3784
f00691a3 37852001-10-24 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
2beb36f9
PJ
3786
3787 * xterm.c: (x_insert_glyphs): Remove unused variables `real_end'
3788 and `real_start'.
c2d53558 3789 (x_draw_image_foreground): Remove unused variables `mask' and `xgcv'.
2beb36f9
PJ
3790 (glyph_rect): Remove unused variable `area'.
3791
76cb5e06
GM
37922001-10-24 Gerd Moellmann <gerd@gnu.org>
3793
bdbdebff 3794 * xdisp.c: Change #ifdef GLYPH_DEBUG to #if.
c2d53558
SM
3795
3796 * xdisp.c (try_window_reusing_current_matrix): Use row_containing_pos.
3797 (row_containing_pos): Take additional argument DY.
3798 Treat rows ending in middle of char differently.
62e33982
GM
3799 (display_line): Handle tabs on window systems differently.
3800
3801 * xterm.c, w32term.c (fast_find_position): Call row_containing_pos
3802 with additional argument.
3803
3804 * dispextern.h (row_containing_pos): Adjust prototype.
3805
76cb5e06
GM
3806 * xdisp.c (inhibit_try_window_id, inhibit_try_window_reusing)
3807 (inhibit_try_cursor_movement) [GLYPH_DEBUG]: New variables.
3808 (try_window_id, try_window_reusing_current_matrix)
3809 (try_cursor_movement) [GLYPH_DEBUG]: Don't run if inhibited.
6c465a15 3810 (syms_of_xdisp) [GLYPH_DEBUG]: DEFVAR_BOOL the variables.
76cb5e06 3811
f00691a3 38122001-10-24 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
996fee11 3813
c9e60620
PJ
3814 * xmenu.c: Spell the name of Emacs properly (GNU Emacs instead of
3815 gnuemacs).
3816 (HAVE_BOXES): Fix typo in comment.
3817 (push_menu_pane): Fix typo in comment.
3818
3b552d56
PJ
3819 * xdisp.c: (display_prop_string_p): Remove unused local declaration
3820 of `Qwhen'.
3821 (single_display_prop_string_p): Remove unused local declarations
3822 of `Qwhen' and `Qmargin'.
3823 (string_buffer_position): Remove unused variable `around'.
3824 (store_frame_title): Remove unused variable `width'.
3825
15c565ac
PJ
3826 * window.c: Don't define max.
3827 (coordinates_in_window): Remove unused variable `uy'.
3828
a8818eb9
PJ
3829 * widget.c: Don't define max.
3830
996fee11
PJ
3831 * process.c: Don't define max.
3832 (create_process): Remove unused variable `buffer'.
3833
496e1a5b
GM
38342001-10-23 Gerd Moellmann <gerd@gnu.org>
3835
c2d53558 3836 * xfaces.c (Finternal_set_lisp_face_attribute): Fix compilation error.
496e1a5b 3837
5905ae8b
EZ
38382001-10-23 Eli Zaretskii <eliz@is.elta.co.il>
3839
3840 * xfaces.c (Finternal_set_lisp_face_attribute)
3841 [HAVE_WINDOW_SYSTEM]: Don't do anything for QCfont unless the
3842 frame is on a windowed display.
3843
24db49fb
GM
38442001-10-23 Gerd Moellmann <gerd@gnu.org>
3845
c2d53558
SM
3846 * dispnew.c (sync_window_with_frame_matrix_rows):
3847 Fix handling of windows which aren't full-width, fix handling
c51488cd
GM
3848 of marginal areas.
3849
c2d53558 3850 * lread.c (syms_of_lread) <recursive-load-depth-limit>: Raise to 50.
24db49fb 3851
f0487f05
EZ
38522001-10-23 Andreas Schwab <schwab@suse.de>
3853
3854 * m/macppc.h [LINUX]: Undef LD_SWITCH_SYSTEM_TEMACS and override
3855 LD_SWITCH_MACHINE_TEMACS with "-Xlinker -znocombreloc".
3856
f0a48a01
GM
38572001-10-23 Gerd Moellmann <gerd@gnu.org>
3858
c2d53558 3859 * xterm.c (x_draw_glyphs): Remove parameters READ_START and
f0a48a01
GM
3860 REAL_END. Notice if cursor gets overwritten.
3861 (notice_overwritten_cursor): Take X positions as parameters.
3862 (x_draw_phys_cursor_glyph): Save state of w->phys_cursor_on_p
3863 around call to x_draw_glyphs.
3864
f00691a3 38652001-10-23 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
a50a10a0 3866
fc11dff0
PJ
3867 * syntax.c (modify-syntax-entry): Fix argument names (use CHAR
3868 instead of C) and usage.
a50a10a0 3869
fc11dff0
PJ
3870 * editfns.c (char-to-string): Fix argument names (use CHAR instead
3871 of C) and usage.
a50a10a0
PJ
3872
3873 * xfns.c (Fx_show_tip): Remove unused variables `buffer', `top',
3874 `left', `max_width' and `max_height'.
3875
8738febd
GM
38762001-10-23 Gerd Moellmann <gerd@gnu.org>
3877
3878 * xdisp.c (display_line): For a tab continued to the next line,
3879 set row's ends_in_middle_of_char_p.
3880
653c329b
GM
38812001-10-22 Gerd Moellmann <gerd@gnu.org>
3882
3883 * xdisp.c (display_line): Fix computation of continuation lines
3884 width for TABs.
3885
f00691a3 38862001-10-22 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
f958c5ac 3887
7ba51063
PJ
3888 * xdisp.c (build_desired_tool_bar_string): Remove unused variable
3889 `Qlaplace'.
3890
f958c5ac
PJ
3891 * fileio.c: Remove unused code.
3892
eb360291
MB
38932001-10-22 Miles Bader <miles@gnu.org>
3894
3895 * lisp.h (DEFVAR_LISP, DEFVAR_LISP_NOPRO, DEFVAR_BOOL)
3896 (DEFVAR_INT, DEFVAR_PER_BUFFER, DEFVAR_KBOARD):
3897 Remove `DOC_STRINGS_IN_COMMENTS' cases.
3898
98515cf0
JR
38992001-10-21 Jason Rumney <jasonr@gnu.org>
3900
3901 * w32term.c (x_erase_phys_cursor): Remove inverse_p again.
3902
93026d88
EZ
39032001-10-21 Eli Zaretskii <eliz@is.elta.co.il>
3904
3905 * mocklisp.c (Fml_if, Fml_provide_prefix_argument)
3906 (Finsert_string): Avoid the multi-line string literals warning.
3907
c9a95b79
MB
39082001-10-22 Miles Bader <miles@gnu.org>
3909
3910 * doc.c (Vhelp_manyarg_func_alist): Variable removed.
3911 (Fdocumentation): Don't use it.
3912 (syms_of_doc): Don't initialize it.
3913
3914 * keyboard.c (Ftrack_mouse): Add usage: string to doc string.
3915 * print.c (Fwith_output_to_temp_buffer): Likewise.
3916 * window.c (Fsave_window_excursion): Likewise.
c2d53558 3917 * editfns.c (Fsave_excursion, Fsave_current_buffer)
c9a95b79 3918 (Fsave_restriction): Likewise.
c2d53558
SM
3919 * eval.c (Frun_hooks, Frun_hook_with_args)
3920 (Frun_hook_with_args_until_failure)
3921 (Frun_hook_with_args_until_success, Ffuncall, For, Fand, Fif)
3922 (Fcond, Fprogn, Fprog1, Fprog2, Fsetq, Fquote, Ffunction, Fdefun)
3923 (Fdefmacro, Fdefvar, Fdefconst, FletX, Flet, Fwhile, Fcatch)
c9a95b79
MB
3924 (Funwind_protect, Fcondition_case): Likewise.
3925 * coding.c (Ffind_operation_coding_system): Likewise.
3926 * keyboard.c (Ftrack_mouse): Likewise.
3927
a3b10252
MB
39282001-10-21 Miles Bader <miles@gnu.org>
3929
c2d53558 3930 * fns.c (Fappend, Fconcat, Fvconcat, Fnconc, Fwidget_apply)
a3b10252
MB
3931 (Fmake_hash_table): Add usage: string to doc string.
3932 * editfns.c (Finsert, Finsert_and_inherit, Finsert_before_markers)
c2d53558 3933 (Fmessage, Fmessage_box, Fmessage_or_box, Fpropertize, Fformat)
a3b10252
MB
3934 (Fencode_time, Finsert_and_inherit_before_markers): Likewise.
3935 * mocklisp.c (Finsert_string, Fml_if, Fml_provide_prefix_argument)
3936 (Fml_prefix_argument_loop): Likewise.
3937
f00691a3 39382001-10-21 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
c6f73eec 3939
c2d53558 3940 * fileio.c (Finsert_file_contents): Remove unused variable `gap_size'.
888ebd13 3941
c6f73eec
PJ
3942 * sysdep.c (init_sys_modes): Change doc-string comments to `new
3943 style' [w/`doc:' keyword].
3944
3945 * data.c, fileio.c, indent.c, print.c, search.c, sound.c,
3946 * sunfns.c, textprop.c, undo.c, xselect.c: Change doc-string
3947 comments to `new style' [w/`doc:' keyword].
3948
3cf3436e
JR
39492001-10-21 Jason Rumney <jasonr@gnu.org>
3950
3951 * w32fns.c (Fx_file_dialog): Pass a filter to GetOpenFileName.
3952
c169b8f1
JR
3953 * w32term.c (remember_mouse_glyph): New function.
3954 (w32_mouse_position): Use it.
3955 (note_mouse_movement): If the mouse moved off the glyph, remember
3956 its new position.
c2d53558 3957
4fdd691b
JR
3958 * w32term.h (struct w32_output): Correct spelling of x_compatible.
3959 (w32_display_info): Add mouse_face_overlay.
3960
c169b8f1
JR
3961 * w32term.c (notice_overwritten_cursor): Renamed from
3962 note_overwritten_text_cursor. Rewritten to take glyph widths into
3963 account.
3964 (x_y_to_hpos_vpos): Add parameter BUFFER_ONLY_P.
3965 (fast_find_string_pos): New function.
3966 (fast_find_position): Return the correct vpos. Add parameter
3967 STOP. In the final row, stop before glyphs having STOP as object.
3968 Don't consider glyphs that are not from a buffer.
3969 (fast_find_position) [0]: Add a presumably more correct version
3970 for after 21.1.
3971 (expose_window_tree, expose_frame): Don't compute intersections here.
3972 (expose_window): Do it here instead.
3973 (expose_window_tree, expose_window, expose_line): Return 1 when
3974 overwriting mouse-face.
3975 (expose_window): If W is the window currently being updated, mark
3976 the frame garbaged.
3977 (expose_frame): If mouse-face was overwritten, redo it.
3978 (x_use_underline_position_properties): New variable.
3979 (syms_of_xterm): DEFVAR_BOOL it.
3980 (x_draw_glyph_string): Add comment to use it in future.
3981 (x_draw_glyph_string): Restore clipping after drawing box.
3982 Fix a computation of the underline position.
3983 (w32_get_glyph_string_clip_rect): Minor cleanup.
3984 (x_fill_stretch_glyph_string): Remove an assertion.
3985 (x_produce_glyphs): Don't convert multibyte characters
3986 to unibyte characters in unibyte buffers.
3987 (cursor_in_mouse_face_p): New function.
3988 (x_draw_stretch_glyph_string): Use it to choose a different GC
3989 when drawing a cursor within highlighted text. Don't draw
3990 background again if it has already been drawn.
3991 (x_draw_glyph_string_box): Don't draw a full-width
3992 box just because the glyph row's full_width_p flag is set.
3993 (x_draw_glyphs): Fix computation of rightmost x for
3994 full-width rows.
3995 (x_dump_glyph_string): Put in #if GLYPH_DEBUG.
3996 (w32_draw_relief_rect): Extend left shadow to the bottom and left;
3997 change bottom shadow accordingly. Some cleanup.
3998 (x_update_window_end): Handle overwritten mouse face
3999 also for tool bar windows.
4000 (show_mouse_face): Set the glyph row's mouse_face_p flag also when
4001 DRAW is DRAW_IMAGE_RAISED.
4002 (clear_mouse_face): Return 1 if text with mouse face was
2c568af5
SM
4003 actually redrawn. Make the function static.
4004 Reset dpyinfo->mouse_face_overlay otherwise note_mouse_highlight might
c169b8f1
JR
4005 optimize away highlighting if we pass over that same overlay again.
4006 (note_mouse_highlight): Call mouse_face_overlay_overlaps
4007 to detect a case where we have to highlight a different region
4008 despite not having left the currently highlighted region.
4009 Set mouse_face_overlay in the x_display_info. Avoid changing the
4010 mouse pointer shape when show_mouse_face has already done it, or
4011 there is no need. Handle mouse-face and help-echo in strings.
4012 (glyph_rect): New function.
4013 (w32_mouse_position): Use it to raise the threshold for mouse
4014 movement event generation.
4015 (w32_initialize_display_info): Initialize the x_display_info's
4016 mouse_face_overlay.
4017 (w32_set_vertical_scroll_bar): Don't clear a zero height
4018 or width area.
4019 (w32_set_vertical_scroll_bar, x_scroll_bar_create): Don't configure
4020 a widget to zero height.
4021
3cf3436e 4022 * w32menu.c (single_submenu, w32_menu_show) [!HAVE_MULTILINGUAL_MENU]:
4fdd691b 4023 Protect unibyte strings created by replacing their multibyte
3cf3436e
JR
4024 equivalents in menu_items.
4025 (w32_menu_show): Don't overwrite an item's name with its key
4026 description in case the description is a multibyte string.
4027 (single_submenu): Some cleanup.
4028
4029 * w32fns.c (x_laplace_read_row, x_laplace_write_row): Removed.
4030 (postprocess_image): New function.
4031 (lookup_image): Call it for all image types except PostScript.
4032 (x_kill_gs_process): Call postprocess_image.
4033 (tiff_error_handler, tiff_warning_handler): New functions.
4034 (tiff_load): Install them as handlers.
4035 (x_kill_gs_process): Recognize if someone has cleared the image
4036 cache under us.
4037 (valid_image_p): Protect better against invalid image
4038 specifications. Previous code could signal an error.
4039 (Fx_hide_tip, Fshow_tip): Doc fix.
4040 (Fv_max_tooltip_size): New variable.
4041 (syns_of_xfns): DEFVAR_LISP it.
4042 (Fx_show_tip): Add parameter TEXT. Set the tip frame's root
4043 window buffer to *tip* right after creating the frame. Set frame's
4044 window_width. Use a maximum tooltip size specified by
4045 Vx_max_tooltip_size, if that has valid contents.
4046 (compute_tip_xy): Add parameters WIDTH and HEIGHT.
4047 Make sure the tooltip is completely visible.
4048 (x_create_tip_frame): Set tooltip buffer's truncate-lines to nil.
4049 (Fx_create_frame): Adjust the frame's height for presence
4050 of the tool bar before calling x_figure_window_size.
4051 (x_set_tool_bar_lines): Clear the tool bar window's current matrix
4052 when the window gets smaller.
4053 (x_set_foreground_color): Set frame's cursor_pixel.
4054 (x_set_foreground_color, x_set_background_color): Cleaned up.
4055 (x_set_font): Handle case of x_new_fontset returning the same name
4056 as before, although there was a change in fontsets.
4057
386ca361
MB
40582001-10-21 Miles Bader <miles@gnu.org>
4059
c2d53558 4060 * data.c (Fplus, Fminus, Fmax, Ftimes, Fquo, Flogand, Flogior)
386ca361
MB
4061 (Flogxor): Add usage: string to doc string.
4062 * charset.c (Fstring): Likewise.
4063 * callproc.c (Fcall_process_region, Fcall_process): Likewise.
4064 * alloc.c (Fmake_byte_code, Fvector, Flist): Likewise.
4065
f00691a3 40662001-10-21 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
14ff1ee0 4067
03be2694
PJ
4068 * buffer.c: Reindent DEFUNs and DEFVARs with doc: keywords.
4069
4070 * alloc.c: Reindent DEFUNs with doc: keywords.
4071
4072 * abbrev.c (Finsert_abbrev_table_description): Reindent.
4073
14ff1ee0
PJ
4074 * frame.c: Change doc-string comments to `new style' [w/`doc:'
4075 keyword].
4076
2f147815 4077See ChangeLog.9 for earlier changes.
6922b018
KH
4078
4079;; Local Variables:
49b3bd82 4080;; coding: iso-2022-7bit
6922b018 4081;; End:
2a34a036 4082
2f147815 4083 Copyright (C) 2001, 2002 Free Software Foundation, Inc.
2a34a036
GM
4084 Copying and distribution of this file, with or without modification,
4085 are permitted provided the copyright notice and this notice are preserved.