655559ac64e089e27cda9e6e2818da7ec006a1c6
[chise/xemacs-chise.git.1] / src / ChangeLog
1 1998-12-05  XEmacs Build Bot <builds@cvs.xemacs.org>
2
3         * XEmacs 21.2.5 is released
4
5 1998-11-30  Martin Buchholz  <martin@xemacs.org>
6
7         * xselect.c (receive_incremental_selection):
8         * xselect.c (x_get_window_property):
9         * xmu.c (XmuReadBitmapDataFromFile):
10         * xmu.c (XmuCursorNameToIndex):
11         * xgccache.c (describe_gc_cache):
12         * xgccache.c (gc_cache_lookup):
13         * xgccache.c (free_gc_cache):
14         * xgccache.c (make_gc_cache):
15         * window.h:
16         * window.c (map_windows_1):
17         * window.c (Fother_window_for_scrolling):
18         * window.c (window_scroll):
19         * window.c (change_window_height):
20         * window.c (Fsplit_window):
21         * window.c (window_left_gutter_width):
22         * window.c (window_modeline_height):
23         * window.c (invalidate_vertical_divider_cache_in_window):
24         * window.c (window_needs_vertical_divider_1):
25         * window.c (update_mirror_internal):
26         * window.c (SET_LAST_FACECHANGE):
27         * widget.c (Fwidget_plist_member):
28         * unexec.c (copy_text_and_data):
29         * unexcw.c (copy_executable_and_dump_data_section):
30         * tooltalk.doc:
31         * tooltalk.c (struct Lisp_Tooltalk_Pattern):
32         * tooltalk.c (struct Lisp_Tooltalk_Message):
33         * toolbar.h (struct toolbar_button):
34         * toolbar.c (default_toolbar_visible_p_changed_in_window):
35         * toolbar.c (recompute_overlaying_specifier):
36         * toolbar.c (toolbar_validate):
37         * toolbar.c (toolbar_button_at_pixpos):
38         * toolbar.c (get_toolbar_coords):
39         * toolbar.c (update_frame_toolbars):
40         * toolbar-x.c:
41         * toolbar-msw.c (mswindows_handle_toolbar_wm_command):
42         * toolbar-msw.c (mswindows_find_toolbar_pos):
43         * toolbar-msw.c (mswindows_output_toolbar):
44         * toolbar-msw.c (mswindows_clear_toolbar):
45         * toolbar-msw.c:
46         * systty.h:
47         * syssignal.h:
48         * sysproc.h:
49         * sysfile.h:
50         * sysdll.c:
51         * sysdep.h:
52         * sysdep.c (rmdir):
53         * sysdep.c (sys_fopen):
54         * sysdep.c (sys_open):
55         * sysdep.c (tty_init_sys_modes_on_device):
56         * sysdep.c (get_eof_char):
57         * sysdep.c (child_setup_tty):
58         * sysdep.c (set_descriptor_non_blocking):
59         * syntax.h:
60         * syntax.c (scan_words):
61         * syntax.c:
62         * symsinit.h:
63         * symeval.h (struct symbol_value_varalias):
64         * symeval.h (struct symbol_value_forward):
65         * symbols.c (syms_of_symbols):
66         * symbols.c (init_symbols_once_early):
67         * symbols.c (Fbuilt_in_variable_type):
68         * symbols.c (Fsymbol_value_in_buffer):
69         * symbols.c (default_value):
70         * symbols.c (Fset):
71         * symbols.c (find_symbol_value_quickly):
72         * symbols.c (store_symval_forwarding):
73         * symbols.c (set_default_console_slot_variable):
74         * symbols.c (set_default_buffer_slot_variable):
75         * symbols.c (verify_ok_for_buffer_local):
76         * symbols.c (symbol_is_constant):
77         * symbols.c (oblookup):
78         * symbols.c (Funintern):
79         * symbols.c (Fintern):
80         * symbols.c (check_obarray):
81         * sunplay.c:
82         * specifier.h (struct specifier_methods):
83         * specifier.h:
84         * specifier.c (specifier_instance):
85         * specifier.c (specifier_instance_from_inst_list):
86         * specifier.c (decode_locale_type):
87         * specifier.c (specifier_equal):
88         * specifier.c (finalize_specifier):
89         * specifier.c (prune_specifiers):
90         * specifier.c (kill_specifier_buffer_locals):
91         * sound.c (init_native_sound):
92         * sound.c:
93         * signal.c (alarm):
94         * search.c (Fmatch_data):
95         * search.c (match_limit):
96         * search.c (Freplace_match):
97         * search.c (skip_chars):
98         * search.c (scan_buffer):
99         * search.c:
100         * scrollbar.c (specifier_vars_of_scrollbar):
101         * scrollbar.c (Fscrollbar_set_hscroll):
102         * scrollbar.c (vertical_scrollbar_changed_in_window):
103         * scrollbar.c (release_window_mirror_scrollbars):
104         * scrollbar.c (free_scrollbar_instance):
105         * scrollbar-x.c:
106         * scrollbar-msw.c:
107         * s/msdos.h (O_BINARY):
108         * s/linux.h:
109         * s/freebsd.h (LIBS_TERMCAP):
110         * regex.c (re_match_2_internal):
111         * regex.c (compile_extended_range):
112         * regex.c (POP_FAILURE_POINT):
113         * regex.c (PUSH_FAILURE_POINT):
114         * redisplay.h (RESET_CHANGED_SET_FLAGS):
115         * redisplay.h:
116         * redisplay.h (struct display_line):
117         * redisplay.h (struct rune):
118         * redisplay.c (vars_of_redisplay):
119         * redisplay.c (redisplay_variable_changed):
120         * redisplay.c (UPDATE_CACHE_RETURN):
121         * redisplay.c (validate_line_start_cache):
122         * redisplay.c (mark_redisplay_structs):
123         * redisplay.c (mark_glyph_block_dynarr):
124         * redisplay.c (window_line_number):
125         * redisplay.c (redisplay_frame):
126         * redisplay.c (redisplay_window):
127         * redisplay.c (generate_modeline):
128         * redisplay.c (create_right_glyph_block):
129         * redisplay.c (create_left_glyph_block):
130         * redisplay.c (create_text_block):
131         * redisplay.c:
132         * redisplay-x.c (x_output_hline):
133         * redisplay-x.c (x_output_vertical_divider):
134         * redisplay-tty.c (tty_output_display_block):
135         * redisplay-output.c (output_display_line):
136         * redisplay-output.c:
137         * redisplay-msw.c (mswindows_output_vertical_divider):
138         * redisplay-msw.c (mswindows_ring_bell):
139         * redisplay-msw.c (mswindows_output_cursor):
140         * redisplay-msw.c:
141         * rangetab.c:
142         * ralloc.c:
143         * puresize.h (RAW_PURESIZE):
144         * profile.c (syms_of_profile):
145         * profile.c (Fstart_profiling):
146         * profile.c (sigprof_handler):
147         * profile.c:
148         * procimpl.h:
149         * process.c (vars_of_process):
150         * process.c (read_process_output):
151         * process.c (get_process):
152         * process.c:
153         * process-unix.c (unix_open_multicast_group):
154         * process-unix.c (unix_get_tty_name):
155         * process-unix.c (unix_send_process):
156         * process-unix.c (unix_reap_exited_processes):
157         * process-unix.c (unix_create_process):
158         * process-unix.c (unix_init_process_io_handles):
159         * process-unix.c (allocate_pty):
160         * process-unix.c:
161         * process-nt.c (nt_open_network_stream):
162         * process-nt.c (nt_update_status_if_terminated):
163         * process-nt.c (nt_finalize_process_data):
164         * process-nt.c:
165         * print.c (debug_short_backtrace):
166         * print.c (debug_backtrace):
167         * print.c (print_symbol):
168         * print.c (print_internal):
169         * print.c (print_cons):
170         * print.c (Fwrite_char):
171         * print.c (print_prepare):
172         * print.c (canonicalize_printcharfun):
173         * print.c (output_string):
174         * print.c:
175         * opaque.h:
176         * opaque.c (allocate_managed_opaque):
177         * opaque.c:
178         * offix.c (DndSetData):
179         * objects.c (face_boolean_create):
180         * objects.c (font_instantiate):
181         * objects.c (font_create):
182         * objects.c (color_create):
183         * objects.c (finalize_font_instance):
184         * objects.c (finalize_color_instance):
185         * objects.c:
186         * objects-x.c (x_font_instance_truename):
187         * objects-x.c:
188         * objects-x.c (x_initialize_font_instance):
189         * objects-x.c (allocate_nearest_color):
190         * objects-tty.c (tty_initialize_font_instance):
191         * objects-tty.c (tty_initialize_color_instance):
192         * objects-msw.c (mswindows_initialize_color_instance):
193         * ntproc.c (syms_of_ntproc):
194         * ntproc.c (Fwin32_set_process_priority):
195         * ntproc.c (sys_spawnve):
196         * ntproc.c:
197         * ntheap.c (get_data_end):
198         * nt.c (period):
199         * nt.c:
200         * nt.c (stat):
201         * nt.c (generate_inode_val):
202         * nt.c (sys_rename):
203         * nas.c:
204         * mule-wnnfns.c (Fwnn_hinsi_number):
205         * mule-wnnfns.c (Fwnn_yuragi):
206         * mule-wnnfns.c (Fwnn_common_learn):
207         * mule-wnnfns.c (Fwnn_suffix_learn):
208         * mule-wnnfns.c (Fwnn_prefix_learn):
209         * mule-wnnfns.c (Fwnn_okuri_learn):
210         * mule-wnnfns.c (Fwnn_complex_conv):
211         * mule-wnnfns.c (Fwnn_last_is_first):
212         * mule-wnnfns.c (Fwnn_bmodify_dict_add):
213         * mule-wnnfns.c (Fwnn_notrans_dict_add):
214         * mule-wnnfns.c (Fwnn_fiusr_dict_add):
215         * mule-wnnfns.c (Fwnn_fisys_dict_add):
216         * mule-wnnfns.c (Fwnn_hinsi_list):
217         * mule-wnnfns.c (Fwnn_fuzokugo_set):
218         * mule-wnnfns.c (Fwnn_dict_search):
219         * mule-wnnfns.c (Fwnn_word_toroku):
220         * mule-wnnfns.c (Fwnn_hindo_update):
221         * mule-wnnfns.c (Fwnn_bunsetu_henkou):
222         * mule-wnnfns.c (Fwnn_kakutei):
223         * mule-wnnfns.c (Fwnn_begin_henkan):
224         * mule-wnnfns.c (Fwnn_dict_comment):
225         * mule-wnnfns.c (Fwnn_dict_add):
226         * mule-wnnfns.c (Fwnn_open):
227         * mule-mcpath.c (mc_getcwd):
228         * mule-coding.c (vars_of_mule_coding):
229         * mule-coding.c (convert_to_external_format):
230         * mule-coding.c (encoding_marker):
231         * mule-coding.c (decoding_marker):
232         * mule-coding.c (Fcopy_coding_system):
233         * mule-coding.c (Fmake_coding_system):
234         * mule-coding.c (Fcoding_system_list):
235         * mule-coding.c (Ffind_coding_system):
236         * mule-coding.c (symbol_to_eol_type):
237         * mule-coding.c:
238         * mule-charset.c (complex_vars_of_mule_charset):
239         * mule-charset.c (vars_of_mule_charset):
240         * mule-charset.c (Fset_charset_ccl_program):
241         * mule-charset.c (struct charset_list_closure):
242         * mule-charset.c (Ffind_charset):
243         * mule-charset.c (make_charset):
244         * mule-charset.c (non_ascii_valid_char_p):
245         * mule-charset.c:
246         * mule-ccl.c (ccl_driver):
247         * mule-canna.c (c2mu):
248         * mule-canna.c (Fcanna_henkan_begin):
249         * mule-canna.c (Fcanna_parse):
250         * mule-canna.c (Fcanna_store_yomi):
251         * mule-canna.c (Fcanna_touroku_string):
252         * mule-canna.c (Fcanna_initialize):
253         * minibuf.c:
254         * menubar.c (menu_parse_submenu_keywords):
255         * menubar-x.c (make_dummy_xbutton_event):
256         * menubar-x.c (set_frame_menubar):
257         * menubar-x.c (menu_item_descriptor_to_widget_value_1):
258         * menubar-x.c:
259         * menubar-msw.h:
260         * menubar-msw.c (mswindows_popup_menu):
261         * menubar-msw.c (mswindows_update_frame_menubars):
262         * menubar-msw.c (mswindows_handle_wm_command):
263         * menubar-msw.c (unsafe_handle_wm_initmenu_1):
264         * menubar-msw.c (unsafe_handle_wm_initmenupopup_1):
265         * menubar-msw.c (update_frame_menubar_maybe):
266         * menubar-msw.c (populate_or_checksum_helper):
267         * menubar-msw.c (empty_menu):
268         * menubar-msw.c:
269         * md5.c:
270         * marker.c (set_marker_internal):
271         * marker.c (print_marker):
272         * malloc.c:
273         * make-src-depend:
274         * lstream.c (lisp_buffer_rewinder):
275         * lstream.c (mark_lstream):
276         * lrecord.h:
277         * lrecord.h (struct lrecord_header):
278         * lread.c (readevalloop):
279         * lread.c (locate_file):
280         * lread.c (locate_file_in_directory):
281         * lread.c (Flocate_file):
282         * lread.c (load_force_doc_string_unwind):
283         * lread.c (ebolify_bytecode_constants):
284         * lread.c:
285         * lisp.h:
286         * lisp-union.h:
287         * lisp-disunion.h:
288         * linuxplay.c (linux_play_data_or_file):
289         * linuxplay.c (audio_init):
290         * line-number.c:
291         * keymap.h:
292         * keymap.c (describe_map):
293         * keymap.c (describe_map_mapper):
294         * keymap.c (Fdescribe_bindings_internal):
295         * keymap.c (Fsingle_key_description):
296         * keymap.c (map_keymap_sorted):
297         * keymap.c (get_relevant_keymaps):
298         * keymap.c (Flookup_key):
299         * keymap.c (raw_lookup_key_mapper):
300         * keymap.c (Fdefine_key):
301         * keymap.c (Fevent_matches_key_specifier_p):
302         * keymap.c (key_desc_list_to_event):
303         * keymap.c (define_key_parser):
304         * keymap.c (define_key_check_and_coerce_keysym):
305         * keymap.c (keymap_submaps):
306         * keymap.c (keymap_store_internal):
307         * keymap.c (keymap_delete_inverse_internal):
308         * keymap.c (keymap_store_inverse_internal):
309         * keymap.c (print_keymap):
310         * keymap.c (Lisp_Keymap):
311         * keymap.c:
312         * intl.c:
313         * insdel.c (convert_bufbyte_string_into_emchar_dynarr):
314         * insdel.c (make_gap):
315         * input-method-xlib.c (get_XIM_input):
316         * input-method-xlib.c (XIM_init_frame):
317         * imgproc.c:
318         * hash.h:
319         * hash.c:
320         * gui.c:
321         * gui-x.c (button_item_to_widget_value):
322         * gui-x.c (popup_selection_callback):
323         * glyphs.h (struct image_instantiator_methods):
324         * glyphs.c (mark_glyph_cachels):
325         * glyphs.c (Fglyph_type):
326         * glyphs.c (image_instantiate):
327         * glyphs.c (image_create):
328         * glyphs.c (make_image_instance_1):
329         * glyphs.c (finalize_image_instance):
330         * glyphs.c:
331         * glyphs-x.c (finalize_subwindow):
332         * glyphs-x.c (xface_validate):
333         * glyphs-x.c (x_locate_pixmap_file):
334         * glyphs-x.c (convert_EImage_to_XImage):
335         * glyphs-msw.c:
336         * glyphs-msw.c (mswindows_resource_instantiate):
337         * glyphs-msw.c (xpm_to_eimage):
338         * glyphs-msw.c (convert_EImage_to_DIBitmap):
339         * glyphs-eimage.c (tiff_instantiate):
340         * glyphs-eimage.c (png_instantiate):
341         * glyphs-eimage.c (struct png_error_struct):
342         * glyphs-eimage.c (gif_memory_storage):
343         * glyphs-eimage.c:
344         * gifrlib.h:
345         * getloadavg.c (getloadavg):
346         * getloadavg.c:
347         * gdbinit:
348         * free-hook.c (log_gcpro):
349         * free-hook.c (check_malloc):
350         * free-hook.c (check_free):
351         * free-hook.c (ROUND_UP_TO_PAGE):
352         * free-hook.c:
353         * frame.h (struct frame):
354         * frame.h:
355         * frame.c (change_frame_size_1):
356         * frame.c (allocate_frame_core):
357         * frame.c:
358         * frame-x.c (x_focus_on_frame):
359         * frame-x.c (x_init_frame_2):
360         * frame-x.c (x_popup_frame):
361         * frame-x.c (xemacs_XtPopup):
362         * frame-x.c:
363         * frame-x.c (Foffix_start_drag_internal):
364         * frame-x.c (x_cde_destroy_callback):
365         * frame-x.c (x_wm_hack_wm_protocols):
366         * frame-tty.c (tty_frame_visible_p):
367         * frame-msw.c (mswindows_make_frame_invisible):
368         * frame-msw.c (mswindows_after_init_frame):
369         * frame-msw.c (mswindows_init_frame_1):
370         * fns.c (syms_of_fns):
371         * fns.c (Fbase64_decode_string):
372         * fns.c (Fnconc):
373         * fns.c (Ffillarray):
374         * fns.c (Fobject_plist):
375         * fns.c (Fget):
376         * fns.c (Fcanonicalize_lax_plist):
377         * fns.c (Fcanonicalize_plist):
378         * fns.c (Fplist_remprop):
379         * fns.c (Fplist_get):
380         * fns.c (advance_plist_pointers):
381         * fns.c (internal_plist_put):
382         * fns.c (Fnreverse):
383         * fns.c (Fremassq):
384         * fns.c (Felt):
385         * fns.c (Fsubstring):
386         * fns.c (Fbvconcat):
387         * fns.c (Flength):
388         * fns.c (length_with_bytecode_hack):
389         * fns.c (print_bit_vector):
390         * fns.c:
391         * floatfns.c (Ffloor):
392         * floatfns.c:
393         * floatfns.c (in_float_error):
394         * fileio.c (Ffile_modes):
395         * fileio.c (Fexpand_file_name):
396         * fileio.c (Fmake_temp_name):
397         * fileio.c (Ffile_name_nondirectory):
398         * fileio.c (Ffile_name_directory):
399         * file-coding.h:
400         * file-coding.c (vars_of_mule_coding):
401         * file-coding.c (convert_to_external_format):
402         * file-coding.c (encoding_marker):
403         * file-coding.c (decoding_marker):
404         * file-coding.c (Fcopy_coding_system):
405         * file-coding.c (Fmake_coding_system):
406         * file-coding.c (struct coding_system_list_closure):
407         * file-coding.c (Ffind_coding_system):
408         * file-coding.c (symbol_to_eol_type):
409         * file-coding.c:
410         * faces.h (struct face_cachel):
411         * faces.c (vars_of_faces):
412         * faces.c (face_property_was_changed):
413         * faces.c (mark_face_cachels):
414         * faces.c (temporary_faces_list):
415         * faces.c (struct face_list_closure):
416         * faces.c:
417         * extents.h (struct extent):
418         * extents.c (vars_of_extents):
419         * extents.c (struct copy_string_extents_1_arg):
420         * extents.c (add_string_extents_mapper):
421         * extents.c (Fextent_property):
422         * extents.c (Fset_extent_property):
423         * extents.c (symbol_to_glyph_layout):
424         * extents.c (properties_equal):
425         * extents.c (print_extent):
426         * extents.c (print_extent_1):
427         * extents.c (extent_in_region_p):
428         * extents.c (gap_array_make_gap):
429         * extents.c:
430         * events.h (struct Lisp_Event):
431         * events.h:
432         * events.c (Fevent_properties):
433         * events.c (format_event_object):
434         * events.c (Fmake_event):
435         * events.c (event_equal):
436         * events.c (print_event):
437         * events.c (mark_event):
438         * event-stream.c ((read-char)
439         * event-stream.c (vars_of_event_stream):
440         * event-stream.c (syms_of_event_stream):
441         * event-stream.c (Fset_recent_keys_ring_size):
442         * event-stream.c (Fsit_for):
443         * event-stream.c (Fnext_event):
444         * event-stream.c (execute_help_form):
445         * event-stream.c (maybe_kbd_translate):
446         * event-stream.c:
447         * event-msw.c (vars_of_event_mswindows):
448         * event-msw.c (mswindows_wnd_proc):
449         * event-msw.c (mswindows_need_event):
450         * event-msw.c (mswindows_drain_windows_queue):
451         * event-msw.c (mswindows_pump_outstanding_events):
452         * event-msw.c:
453         * event-msw.c (slurp_thread):
454         * event-msw.c (struct ntpipe_slurp_stream):
455         * event-msw.c (HANDLE_TO_USID):
456         * event-Xt.c (emacs_Xt_handle_magic_event):
457         * event-Xt.c (x_event_to_emacs_event):
458         * event-Xt.c (x_reset_modifier_mapping):
459         * event-Xt.c (x_reset_key_mapping):
460         * event-Xt.c:
461         * eval.c (syms_of_eval):
462         * eval.c (warn_when_safe):
463         * eval.c (warn_when_safe_lispobj):
464         * eval.c (Fbacktrace_frame):
465         * eval.c (Fbacktrace):
466         * eval.c (top_level_set):
467         * eval.c (unbind_to_hairy):
468         * eval.c (specbind_magic):
469         * eval.c (specbind_unwind_wasnt_local):
470         * eval.c (call2_trapping_errors):
471         * eval.c (call1_trapping_errors):
472         * eval.c (catch_them_squirmers_call2):
473         * eval.c (call0_trapping_errors):
474         * eval.c (run_hook_trapping_errors):
475         * eval.c (catch_them_squirmers_eval_in_buffer):
476         * eval.c (call4_in_buffer):
477         * eval.c (call3_in_buffer):
478         * eval.c (call2_in_buffer):
479         * eval.c (call1_in_buffer):
480         * eval.c (call0_in_buffer):
481         * eval.c (run_hook):
482         * eval.c (run_hook_with_args_in_buffer):
483         * eval.c (Fapply):
484         * eval.c (Feval):
485         * eval.c (do_autoload):
486         * eval.c (un_autoload):
487         * eval.c (Fautoload):
488         * eval.c (Finteractive_p):
489         * eval.c (Fcommand_execute):
490         * eval.c (signal_quit):
491         * eval.c (call_with_suspended_errors):
492         * eval.c (signal_error):
493         * eval.c (return_from_signal):
494         * eval.c (Fcall_with_condition_handler):
495         * eval.c (run_condition_case_handlers):
496         * eval.c (condition_case_1):
497         * eval.c (Funwind_protect):
498         * eval.c (unwind_to_catch):
499         * eval.c (internal_catch):
500         * eval.c (Fmacroexpand_internal):
501         * eval.c (Fuser_variable_p):
502         * eval.c (Fdefconst):
503         * eval.c (Fdefvar):
504         * eval.c (Ffunction):
505         * eval.c (signal_call_debugger):
506         * eval.c (call_debugger):
507         * eval.c:
508         * emacs.c (main):
509         * emacs.c (sort_args):
510         * emacs.c (main_1):
511         * elhash.h:
512         * elhash.c:
513         * editfns.c (Fencode_time):
514         * editfns.c (Fdecode_time):
515         * editfns.c (Fuser_full_name):
516         * editfns.c:
517         * editfns.c (save_excursion_restore):
518         * ecrt0.c:
519         * dynarr.c:
520         * doprnt.c (emacs_doprnt_1):
521         * doc.c (verify_doc_mapper):
522         * doc.c (Fsnarf_documentation):
523         * doc.c (Fdocumentation):
524         * dll.c:
525         * dired.c (user_name_completion):
526         * dired.c (Fdirectory_files):
527         * dialog-x.c:
528         * dialog-msw.c:
529         * dgif_lib.c (FreeSavedImages):
530         * dgif_lib.c (DGifGetImageDesc):
531         * device.h:
532         * device.h (struct device):
533         * device.c (Fselect_device):
534         * device.c (allocate_device):
535         * device.c:
536         * device-x.c (Fx_keysym_on_keyboard_p):
537         * device-x.c (Fx_valid_keysym_name_p):
538         * device-x.c (x_IO_error_handler):
539         * device-x.c (x_delete_device):
540         * device-x.c (x_finish_init_device):
541         * device-x.c (x_init_device):
542         * device-x.c:
543         * device-msw.c (mswindows_init_device):
544         * dbxrc:
545         * database.c (vars_of_database):
546         * database.c (Fput_database):
547         * database.c (Fopen_database):
548         * database.c (berkdb_remove):
549         * database.c (berkdb_put):
550         * database.c (Fdatabasep):
551         * database.c (print_database):
552         * database.c:
553         * data.c (vars_of_data):
554         * data.c (syms_of_data):
555         * data.c (init_errors_once_early):
556         * data.c (prune_weak_lists):
557         * data.c (finish_marking_weak_lists):
558         * data.c (print_weak_list):
559         * data.c (Fmod):
560         * data.c (Fstring_to_number):
561         * data.c (Fnumber_to_string):
562         * data.c (Findirect_function):
563         * data.c (Fsetcdr):
564         * data.c (Ffloatp):
565         * data.c (Fsubr_interactive):
566         * data.c (Farrayp):
567         * data.c (Fkeywordp):
568         * data.c (Fnull):
569         * data.c:
570         * console.h (CONSOLE_NAME):
571         * console.h:
572         * console.c (vars_of_console):
573         * console.c (Fselect_console):
574         * console.c:
575         * console-x.h (DEVICE_X_COLORMAP):
576         * console-x.h (struct x_device):
577         * console-x.c (x_device_to_console_connection):
578         * console-tty.h (CONSOLE_TTY_FINAL_CURSOR_Y):
579         * console-tty.c (tty_init_console):
580         * console-tty.c:
581         * console-msw.h (struct mswindows_frame):
582         * conslots.h:
583         * config.h.in:
584         * cmds.c (internal_self_insert):
585         * cmds.c (Fforward_line):
586         * cmds.c (Fforward_char):
587         * cmds.c:
588         * cmdloop.c:
589         * chartab.c (mark_char_table_entry):
590         * chartab.c:
591         * casefiddle.c (casify_word):
592         * callproc.c (child_setup):
593         * callproc.c (Fcall_process_internal):
594         * callproc.c:
595         * callint.c (Fcall_interactively):
596         * bytecode.h:
597         * bytecode.c (execute_rare_opcode):
598         * bytecode.c (execute_optimized_program):
599         * bytecode.c:
600         * bufslots.h:
601         * buffer.h (BUFFER_REALLOC):
602         * buffer.h (GET_CHARPTR_INT_DATA_ALLOCA):
603         * buffer.h (GET_CHARPTR_EXT_DATA_ALLOCA):
604         * buffer.h:
605         * buffer.h (MAP_INDIRECT_BUFFERS):
606         * buffer.h (CHECK_LIVE_BUFFER):
607         * buffer.c (init_initial_directory):
608         * buffer.c (complex_vars_of_buffer):
609         * buffer.c (vars_of_buffer):
610         * buffer.c (finish_init_buffer):
611         * buffer.c (Fget_file_buffer):
612         * buffer.c (Fbuffer_list):
613         * buffer.c (mark_buffer):
614         * balloon_help.c (balloon_help_move_to_pointer):
615         * balloon_help.c (show_help):
616         * balloon_help.c:
617         * backtrace.h:
618         * alloc.c (garbage_collect_1):
619         * alloc.c (sweep_strings):
620         * alloc.c (sweep_compiled_functions):
621         * alloc.c (sweep_bit_vectors_1):
622         * alloc.c (sweep_vectors_1):
623         * alloc.c (sweep_lcrecords_1):
624         * alloc.c (tick_lcrecord_stats):
625         * alloc.c (pure_string_sizeof):
626         * alloc.c (mark_conses_in_list):
627         * alloc.c (mark_object):
628         * alloc.c (report_pure_usage):
629         * alloc.c (make_pure_float):
630         * alloc.c (make_pure_string):
631         * alloc.c (free_managed_lcrecord):
632         * alloc.c (mark_string):
633         * alloc.c (noseeum_make_marker):
634         * alloc.c (allocate_event):
635         * alloc.c (Fbit_vector):
636         * alloc.c (Fvector):
637         * alloc.c (make_float):
638         * alloc.c (Fmake_list):
639         * alloc.c (Flist):
640         * alloc.c (FREE_FIXED_TYPE_WHEN_NOT_IN_GC):
641         * alloc.c (PUT_FIXED_TYPE_ON_FREE_LIST):
642         * alloc.c (DECLARE_FIXED_TYPE_ALLOC):
643         * alloc.c (dbg_constants):
644         * alloc.c (gc_record_type_p):
645         * alloc.c (free_lcrecord):
646         * alloc.c (xmalloc):
647         * alloc.c (NOSEEUM_INCREMENT_CONS_COUNTER):
648         * abbrev.c:
649         * Makefile.in.in (mostlyclean):
650         * Makefile.in.in (external_client_xlib_objs_nonshared):
651         * Makefile.in.in (temacs_link_args):
652         * Makefile.in.in (release):
653         * Makefile.in.in (dnd_objs):
654         * Makefile.in.in (objs):
655         * Makefile.in.in (PROGNAME):
656         * EmacsShell.c: cast strings to (XtPointer)
657         * EmacsFrame.c: cast strings to (XtPointer)
658         - mega patch
659         - rewrite basic lisp functions for speed
660         - rewrite bytecode interpreter for speed
661         - rewrite list looping constructs for speed and safety using
662           tortoise/hare. 
663         - use size_t where appropriate.
664         - new hashtable implementation
665         - cleanup implementation of opaques
666         - opaques can now be purecopy'ed
667         - move some cl functionality into C for speed.
668         - remove last remaining VMS support
669         - spelling fixes
670         - improve gdb/dbx debugger support
671         - move pure.c back into alloc.c for performance
672         - enable report_pure_usage() if --memory-usage-stats
673         - remove remnants of Energize support (EMACS_BTL, cadillac...)
674         - don't use symbols with leading `_' or embedded `__'
675         - globally cleanup duplicated semicolons `;;'
676         - I give in on %p vs %lx - we use printf("%lx",(long) p)
677           globally.
678         - globally replace O_NDELAY with O_NONBLOCK.
679         - globally replace CDISABLE with _POSIX_VDISABLE.
680         - use O_RDONLY and O_RDWR instead of magic `0' and `2'.
681         - define (and maybe use!) STDERR_FILENO and friends.
682         - add support for macros defined in C
683         - `when', `unless', `not' and `defalias' now defined in C, 
684           so that they are universally available.
685         - rename defvar_mumble to defvar_magic
686         - rename RETURN__ to RETURN_SANS_WARNINGS
687         - use consistent style of initial caps in error messages
688         - implement last, butlast, nbutlast, copy-list in C.
689         - provide typedefs for all struct Lisp_foo types
690         - Lisp_Objects must be initialized to Qnil rather than 0.
691         - make sure XEmacs runs (slowly) with always_gc == 1;
692         - fast and safe LOOP_* macros
693         - change calls to XSETOBJ to XSETFOO
694         - replace calls to XSETINT by make_int()
695         - plug up memory leaks
696         - use style markobj (foo), not silly ((markobj) (foo))
697         - use XFLOAT_DATA (obj) instead of float_data (XFLOAT (obj))
698
699 1998-12-02  P. E. Jareth Hein  <jareth@camelot.co.jp>
700
701         * unexec.c: Changed a #ifndef statement to fix XEmacs on BSDI 3.0
702
703 1998-11-28  SL Baur  <steve@altair.xemacs.org>
704
705         * XEmacs 21.2-beta4 is released.
706
707 1998-11-27  SL Baur  <steve@altair.xemacs.org>
708
709         * mule-charset.c (complex_vars_of_mule_charset): Fix graphic
710         property in control-1 charset.
711         From Julian Bradfield <jcb@daimi.au.dk>
712
713 1998-11-26  Jan Vroonhof  <vroonhof@math.ethz.ch>
714
715         * gui-x.c (button_item_to_widget_value): Ignore :key-sequence
716         keyword.
717         Add stub for :label.
718
719         * gui.c (gui_item_add_keyval_pair): ditto.
720
721         * menubar-x.c (menu_item_descriptor_to_widget_value_1): Ignore
722         :key-sequence keyword.
723         Add stub for:label.
724         Support :active for submenus like the Windows code and FSF Emacs.
725
726 1998-11-27  Hrvoje Niksic  <hniksic@srce.hr>
727
728         * dired.c (make_directory_hash_table): make_string() is OK because 
729         readdir() Mule-encapsulates.
730
731 1998-11-26  Hrvoje Niksic  <hniksic@srce.hr>
732
733         * fns.c (Fbase64_encode_string): Fix docstring.
734         (Fbase64_decode_string): Ditto.
735
736 1998-11-26  Hrvoje Niksic  <hniksic@srce.hr>
737
738         * editfns.c (Ftranslate_region): Use
739         convert_bufbyte_string_into_emchar_string().
740
741 1998-11-25  Hrvoje Niksic  <hniksic@srce.hr>
742
743         * editfns.c (Ftranslate_region): Accept vectors and char-tables as 
744         well as strings.
745         (Ftranslate_region): Turn table into an array of Emchars for
746         larger regions.
747
748 1998-11-25  Hrvoje Niksic  <hniksic@srce.hr>
749
750         * chartab.c (Freset_char_table): Fix wrong placement of #endif.
751
752 1998-11-24  Hrvoje Niksic  <hniksic@srce.hr>
753
754         * chartab.c (Freset_char_table): Don't blindly fill chartables of
755         type `char' with nils.
756
757         * chartab.c (canonicalize_char_table_value): Coerce ints to chars
758         for tables of type `char'.
759
760 1998-11-26  Didier Verna  <verna@inf.enst.fr>
761
762         * input-method-xlib.c (Initialize_Locale): don't call
763         XtSetLanguageProc. We've done the whole work here.
764         * input-method-xfs.c (Initialize_Locale): ditto.
765         * input-method-motif.c (Initialize_Locale): ditto.
766
767 1998-11-26  Didier Verna  <verna@inf.enst.fr>
768
769         * process-unix.c (unix_create_process): handle properly
770         Vfile_name_coding_system for converting the program and directory
771         names. 
772
773 1998-11-27  SL Baur  <steve@altair.xemacs.org>
774
775         * m/arm.h: New file.
776         From James LewisMoss <dres@ioa.com>
777
778 1998-11-27  Takeshi Hagiwara  <hagiwara@ie.niigata-u.ac.jp>
779
780         * m/mips-nec.h:
781         Fix the realpath() problem of UnixWare2.1.3.
782         Patches for NEC's sysv4.2 machine.
783
784 1998-11-25  Hrvoje Niksic  <hniksic@srce.hr>
785
786         * dired.c (Fdirectory_files): Remove redundant code.
787
788 1998-11-25  Hrvoje Niksic  <hniksic@srce.hr>
789
790         * fns.c (free_malloced_ptr): New function.
791         (XMALLOC_OR_ALLOCA): New macro.
792         (XMALLOC_UNBIND): Ditto.
793         (Fbase64_encode_region): Use malloc() for large blocks; arrange it 
794         to be freed in case of non-local exit.
795         (Fbase64_encode_string): Ditto.
796         (Fbase64_decode_region): Ditto.
797         (Fbase64_decode_string): Ditto.
798         (STORE_BYTE): New macro.
799         (base64_decode_1): Use it.
800
801 1998-11-25  Hrvoje Niksic  <hniksic@srce.hr>
802
803         * fns.c (base64_value_to_char): Base64 stuff.
804
805 1998-11-24  Hrvoje Niksic  <hniksic@srce.hr>
806
807         * editfns.c (Fbuffer_substring): New function.
808
809         * lisp.h: Declare make_string_from_buffer_no_extents().
810
811         * insdel.c (make_string_from_buffer_1): New function.
812         (make_string_from_buffer_no_extents): Ditto.
813
814 1998-11-15  Michael Sperber [Mr. Preprocessor]  <sperber@informatik.uni-tuebingen.de>
815
816         * linuxplay.c: Including <fcntl.h> instead of <sys/fcntl.h> makes
817         sound work on AIX with OSS installed.  Linux should still work.
818
819 1998-11-03  Andy Piper  <andyp@parallax.co.uk>
820
821         * config.h.in: name change for cygwin/version.h
822
823         * configure.in: check for cygwin/version.h now.
824
825         * cygwin32.h: track CYGWIN_DLL_VERSION_MAJOR ->
826         CYGWIN_VERSION_DLL_MAJOR name change in cygwin b20.
827         move cygwin32/version.h to cygwin/version.h
828
829 1998-11-03  Olivier Galibert  <galibert@pobox.com>
830
831         * lisp.h  (struct  Lisp_Bit_Vector): Fix declaration of  bits from
832         int to long.
833
834 1998-10-22  Andy Piper  <andyp@parallax.co.uk>
835
836         * cygwin32.h: track CYGWIN_DLL_VERSION_MAJOR ->
837         CYGWIN_VERSION_DLL_MAJOR name change in cygwin b20.
838         enable BROKEN_SIGIO under b20 to make QUIT work.
839
840 1998-10-22  Andy Piper  <andyp@parallax.co.uk>
841
842         * frame-msw.c (mswindows_size_frame_internal): force frame sizing
843         to fit within the constraints of the screen size. I.e. make the
844         frame small enough to fit and move it if some of it will be
845         off-screen.
846
847 1998-10-19  Greg Klanderman  <greg@alphatech.com>
848
849         * dired.c: conditionalize inclusion of user-name-completion
850         primitives on non-Windows NT.  The needed functions don't exist on NT.
851
852 1998-11-24  SL Baur  <steve@altair.xemacs.org>
853
854         * gifrlib.h: Clean up types for 64 bit compile.
855         * dgif_lib.c (DGifInitRead): Ditto.
856         (MakeSavedImage): Ditto.
857         * emacs.c (decode_path): Ditto.
858         From Steve Carney <carney@pa.dec.com>
859
860 1998-10-16  William M. Perry  <wmperry@aventail.com>
861
862         * glyphs-msw.c (bitmap_table): Fixed typo in builtin bitmaps
863           (cehckboxes instead of checkboxes).
864
865 1998-10-15  SL Baur  <steve@altair.xemacs.org>
866
867         * XEmacs 21.2-beta3 is released.
868
869 1998-10-13  Raymond Toy  <toy@rtp.ericsson.se>
870
871         * runemacs.c (WinMain): If the basename is "rungnuclient.exe", run
872         gnuclient.  Otherwise, we run xemacs as we always did.  This gets
873         rid of the annoying DOS window when running gnuclient.
874
875 1998-10-13  Andy Piper  <andyp@parallax.co.uk>
876
877         * dragdrop.c (vars_of_dragdrop): rename HAVE_MSWINDOWS ->
878         HAVE_MS_WINDOWS typo.
879
880 1998-10-13  SL Baur  <steve@altair.xemacs.org>
881
882         * process-unix.c (unix_send_process): Set closed flag on writable
883         pipe after SIGPIPE is received and before we call deactivate_process.
884
885 1998-10-03  Gunnar Evermann  <ge204@eng.cam.ac.uk>
886
887         * window.c (Fset_window_start): respect narrowing when
888         checking wheter start is at the beginning of a line.
889         (Fset_window_buffer): Ditto
890         Fixes repeatable crash in VM.
891
892 1998-10-09  SL Baur  <steve@altair.xemacs.org>
893
894         * window.c (specifier_vars_of_window): Set default vertical
895         divider width to 1 on ttys.
896
897 1998-10-08  Martin Buchholz  <martin@xemacs.org>
898
899         * alloc.c:
900         * unexec.c:
901         * malloc.c:
902         Add <stddef.h> to get ptrdiff_t declaration
903
904 1998-10-07  Jonathan Harris  <jhar@tardis.ed.ac.uk>
905
906         * scrollbar-msw.c: Use the same vertical scrollbar drag hack as 
907           is used for Motif or Lucid scrollbars under X.
908
909 1998-10-08  Pierre Wendling  <pw@ebc.vbe.dec.com>
910
911         * m/alpha.h (UNEXEC): quoted to avoid bad expansion when running
912         `configure'
913
914 1998-10-06  Takeshi Hagiwara  <hagiwara@ie.niigata-u.ac.jp>
915
916         * frame-x.c (x_delete_frame): Fix an argument of XtDestroyWidget.
917
918 1998-10-05  Andy Piper  <andyp@parallax.co.uk>
919
920         * s/cygwin32.h: more cygwin b20 reorganisation.
921
922 1998-10-03  Gunnar Evermann  <ge204@eng.cam.ac.uk>
923
924         * window.c (Fset_window_start): Document me.
925         (Fset_window_buffer): Document me.
926         Fixes some sort of repeatable crash.
927
928 1998-10-01  Raymond Toy  <toy@rtp.ericsson.se>
929
930         * nas.c: Added necessary support functions to be able to handle
931         WAVE files in memory, just like the support for SND files in
932         memory.
933
934 1998-09-30  SL Baur  <steve@altair.xemacs.org>
935
936         * callproc.c (child_setup): Fix spelling typo.
937
938 1998-09-29  SL Baur  <steve@altair.xemacs.org>
939
940         * XEmacs 21.2-beta2 is released.
941
942 1998-09-27  P. E. Jareth Hein  <jareth@camelot.co.jp>
943
944         * regex.c (re_match_2_internal): Add in code to reset lowest_active_reg
945         to prevent memory corruption in the case of jumping out of a series of
946         nested match patterns. This is a rather brute force approach, though.
947
948 1998-09-02  Andy Piper  <andyp@parallax.co.uk>
949
950         * config.h.in: ditto.
951
952         * s/cygwin32.h: rearrange declarations to cope with cygwin
953         b20. Include cygwin32/version.h if it exists.
954
955 1998-09-20  Jonathan Harris  <jhar@tardis.ed.ac.uk>
956
957         * device-msw.c (mswindows_init_device): Call new
958           mswindows_enumerate_fonts() function in objects-msw.c instead
959           of font_enum_callback_1() to enumerate fonts.
960
961           font_enum_callback_1() and _2() moved to objects-msw.c. 
962
963         * faces.c (complex_vars_of_faces): Make the mswindows default 
964           face font fully specified and provide some fallbacks.
965
966         * objects-msw.c: font_enum_callback_1() and _2() moved here
967           from objects-msw.c. Obtain the enumerated font's character
968           sets by table lookup instead of using the locale-specific
969           string provided by Windows.
970
971           New public non-method mswindows_enumerate_fonts() that fills
972           in the supplied mswindows device's font list.
973
974           mswindows_initialize_font_instance: Use the supplied name
975           variable instead of f->name when signalling errors. Match font
976           weights and character sets using lookup tables which handle
977           spaces instead of by frobbing.
978
979 1998-09-20  Jonathan Harris  <jhar@tardis.ed.ac.uk>
980
981         * process-nt.c: Define an arbitrary limit, FRAGMENT_CODE_SIZE,
982           on the size of code fragments passed to run_in_other_process.
983
984           run_in_other_process(): Use FRAGMENT_CODE_SIZE to determine
985           the amount of memory to allocate in the other process.
986
987           Removed sigkill_code_end(), sigint_code_end() and
988           sig_enable_code_end() since they are now redundant.
989
990           send_signal() and enable_child_signals(): Don't try to work
991           out the end of the code fragments passed to 
992           run_in_other_process()
993
994 1998-09-10  Kazuyuki IENAGA  <ienaga@jsys.co.jp>
995
996         * src/s/freebsd.h: Added __ELF__ and compiler/liker flags for
997         FreeBSD-current.
998
999         * src/unexelf.c: Partially synched with FSF's 20.3.
1000
1001 1998-09-10  Hrvoje Niksic  <hniksic@srce.hr>
1002
1003         * insdel.c (signal_after_change): Map across indirect buffers
1004         here, and not in the upper-level functions.
1005         (signal_first_change): Don't check for Armageddon.
1006         (signal_before_change): Map across indirect buffers here.
1007         (prepare_to_modify_buffer): ...and here.
1008
1009 1998-09-09  Hrvoje Niksic  <hniksic@srce.hr>
1010
1011         * insdel.c (signal_after_change): Add return value.
1012         (buffer_insert_string_1): Use it.
1013         (buffer_delete_range): Ditto.
1014         (buffer_replace_char): Ditto.
1015         (cancel_multiple_change): Map the indirect buffers.
1016
1017 1998-09-06  Hrvoje Niksic  <hniksic@srce.hr>
1018
1019         * insdel.c (init_buffer_text): Remove INDIRECT_P parameter.
1020         (uninit_buffer_text): Ditto.
1021
1022         * buffer.c (Fmake_indirect_buffer): Implement stricter
1023         error-checking.
1024
1025 1998-09-04  Hrvoje Niksic  <hniksic@srce.hr>
1026
1027         * insdel.c (change_function_restore): Reverse order of
1028         function-call and assignment.
1029         (first_change_hook_restore): Ditto.
1030
1031         * extents.c (mark_extent_auxiliary): Mark them.
1032         (Fset_extent_property): Set them.
1033         (Fextent_property): Get them.
1034         (Fextent_properties): Ditto.
1035         (vars_of_extents): Set their default.
1036
1037         * extents.h (struct extent_auxiliary): Add before_change_functions
1038         and after_change_functions.
1039
1040         * insdel.c (signal_before_change): Use it.
1041         (signal_after_change): Ditto.
1042
1043         * extents.c (report_extent_modification): New function.
1044
1045         * insdel.c (signal_before_change): Don't check for Armageddon.
1046         (signal_after_change): Ditto.
1047
1048 1998-09-11  Gunnar Evermann  <Gunnar.Evermann@nats.informatik.uni-hamburg.de>
1049
1050         * redisplay.c (redisplay_window): make sure a new starting point
1051         is chosen if it somehow got moved from the beginning of the line
1052         -- this can happen because Fwiden was called recently.
1053
1054         * window.c (Fset_window_start): set start_at_line_beg correctly
1055         (Fset_window_buffer): Ditto
1056
1057 1998-09-06  Hrvoje Niksic  <hniksic@srce.hr>
1058
1059         * insdel.c (init_buffer_text): Remove INDIRECT_P parameter.
1060         (uninit_buffer_text): Ditto.
1061
1062         * buffer.c (Fmake_indirect_buffer): Implement stricter
1063         error-checking.
1064
1065 1998-05-14  Jan Vroonhof  <vroonhof@math.ethz.ch>
1066
1067         * emacs.c (main_1): Removed references to *vars_of_filelock.
1068
1069         * lisp.h: Added Fsystem_name.
1070
1071         * filelock.c: Replaced by version from FSF 20.2. Now implements
1072         locking by using symlinks which is NFS safe. However keep the
1073         GCPRO's in lock_file and the calls to callx_in_buffer like our old 
1074         version (and of course use ansi C, acessor macros, etc).
1075
1076 1998-09-06  Jan Vroonhof  <vroonhof@math.ethz.ch>
1077
1078         * process-unix.c (unix_create_process): Reset SIGHUP handler to
1079         SIG_DFL. We now try to conserve any inherted SIG_IGN settings
1080         in init_signals_very_early. However these should not be passed 
1081         on to children attached to the new pty.
1082
1083 1998-08-28  Andy Piper  <andyp@parallax.co.uk>
1084
1085         * glyphs-eimage.c (png_instantiate_unwind): clean up eimage after use.
1086
1087 1998-09-07  Jonathan Harris  <jhar@tardis.ed.ac.uk>
1088
1089         * fileio.c (file-name-directory, file_name_as_directory):
1090           Don't call CORRECT_DIR_SEPS, even when #defined WINDOWSNT. 
1091
1092 1998-09-02  Andy Piper  <andyp@parallax.co.uk>
1093
1094         * emacs.c (main_1): init_ralloc() if initialised and we have REL_ALLOC
1095
1096         * ralloc.c: uncomment __morecore.
1097
1098 1998-09-92  Jonathan Harris  <jhar@tardis.ed.ac.uk>
1099
1100         * event-msw.c(winsock_writer): Supply a dummy 4th argument to
1101           WriteFile() to fix a winsock 1.x bug on Win95.
1102
1103 1998-08-28  Hrvoje Niksic  <hniksic@srce.hr>
1104
1105         * event-Xt.c (emacs_Xt_mapping_action): Check for device being
1106         deleted.
1107         (x_event_to_emacs_event): Ditto.
1108         (emacs_Xt_handle_focus_event): Ditto.
1109         (emacs_Xt_handle_magic_event): Ditto.
1110
1111         * console-x.h (struct x_device): New flag being_deleted.
1112         (DEVICE_X_BEING_DELETED): New macro.
1113
1114         * device-x.c (x_IO_error_handler): Throw to top-level instead of
1115         returning.  Before doing that, set the being_deleted flag on the
1116         device.
1117
1118 1998-08-27  Hrvoje Niksic  <hniksic@srce.hr>
1119
1120         * device-x.c (x-seppuku-on-epipe): Removed.
1121
1122 1998-08-26  Gunnar Evermann  <Gunnar.Evermann@nats.informatik.uni-hamburg.de>
1123
1124         * frame-x.c (x_delete_frame): Flush the X output buffer after
1125         calling XtDestroyWidget to ensure that the windows are really
1126         killed right now. 
1127
1128 1998-08-26  Hrvoje Niksic  <hniksic@srce.hr>
1129
1130         * menubar-x.c (my_run_hook): New unused function.
1131         (pre_activate_callback): Use run_hook for Qactivate_menubar_hook,
1132         since we ignore the results of the contained functions anyway.
1133
1134 1998-08-26  P. E. Jareth Hein  <jareth@camelot.co.jp>
1135
1136         * glyphs-eimage.c (gif_instantiate): Fix a crash in handling
1137         interlaced GIF files that are smaller than 4 lines high...
1138
1139 1998-08-31  Hrvoje Niksic  <hniksic@srce.hr>
1140
1141         * buffer.c (map_over_sharing_buffers): Deleted.
1142
1143         * insdel.c (MAP_INDIRECT_BUFFERS): Move to buffer.h.
1144
1145         * buffer.c (Fkill_buffer): Keep indirect_children updated while
1146         killing them.
1147
1148 1998-08-31  Hrvoje Niksic  <hniksic@srce.hr>
1149
1150         * insdel.c (buffer_insert_string_1): Advance the point bytind in
1151         all the buffers.
1152         (buffer_delete_range): Ditto.
1153
1154         * marker.c (init_buffer_markers): Set point-marker to the value of 
1155         point in an indirect buffer.
1156
1157 1998-08-30  Hrvoje Niksic  <hniksic@srce.hr>
1158
1159         * undo.c (undo_prelude): Test last-undo-buffer against base
1160         buffer.
1161
1162         * insdel.c (MAP_INDIRECT_BUFFERS): Use it.
1163
1164         * buffer.h (BUFFER_BASE_BUFFER): New macro.
1165
1166 1998-08-30  Hrvoje Niksic  <hniksic@srce.hr>
1167
1168         * insdel.c (init_buffer_text): Initialize it here.
1169
1170         * line-number.c: Address line_number_cache through buffer->text.
1171
1172         * buffer.c (mark_buffer): Mark line number cache.
1173
1174         * bufslots.h (line_number_cache): Move to struct buffer_text.
1175
1176         * insdel.c (buffer_insert_string_1): Propagate signals and changes
1177         across the children buffers.
1178         (buffer_delete_range): Ditto.
1179         (buffer_replace_char): Ditto.
1180         (gap_left): Ditto.
1181         (gap_right): Ditto.
1182
1183         * insdel.c (MAP_INDIRECT_BUFFERS): New macro.
1184
1185         * buffer.c (Fmake_indirect_buffer): Uncomment.
1186
1187 1998-08-31  Hrvoje Niksic  <hniksic@srce.hr>
1188
1189         * macros.c (Fend_kbd_macro): Remove trailing period from error
1190         message.
1191         (Fexecute_kbd_macro): Ditto.
1192
1193 1998-08-21  Greg Klanderman  <greg@alphatech.com>
1194
1195         * dired.c (Fuser_name_completion): remove optional 2nd argument.
1196         (Fuser_name_completion_1): new function to return uniqueness
1197         indication in addition to the user name completion.
1198         (user_name_completion): change type of `uniq' argument.
1199
1200 1998-08-19  Michael Sperber [Mr. Preprocessor]  <sperber@informatik.uni-tuebingen.de>
1201
1202         * lread.c (vars_of_lread): Removed `source-directory' variable.
1203
1204 1998-08-22  Hrvoje Niksic  <hniksic@srce.hr>
1205
1206         * fileio.c (Ffile_readable_p): Apply the DOS/Windows logic to
1207         Cygwin.
1208
1209 1998-08-19  SL Baur  <steve@altair.xemacs.org>
1210
1211         * dired.c (vars_of_dired): Fix misapplied patch.
1212
1213 1998-08-16  Martin Buchholz  <martin@xemacs.org>
1214
1215         * fns.c (Fremrassq, remrassq_no_quit):
1216         A XCAR that should have been an XCDR turned Fremrassq into Fremassq
1217
1218 1998-07-17  Didier Verna  <verna@inf.enst.fr>
1219
1220         * redisplay-x.c (x_get_gc): returns a GC with a FillStipple fill
1221         style as foreground GC for faces that have the `dim' property.
1222         (x_output_string): when the `dim' face property is set,
1223         ensure the gray pixmap has been created, and get a proper
1224         foreground GC to draw the text.
1225
1226 1998-08-09  Jonathan Harris  <jhar@tardis.ed.ac.uk>
1227
1228         * event-msw.c (mswindows_wnd_proc): Workaround for a Win95 bug:
1229           Manually track the state of the left and right Ctrl and Alt
1230           modifiers.
1231
1232 1998-08-07 Matt Stupple <matts@tibco.com>
1233
1234         * ntproc.c: don't wait on char_consumed at thread entry. 
1235         Additionally, to get the 'process' marked as finished, ensure
1236         that the CHILD_ACTIVE macro returns false, so before exiting
1237         close char_avail and set it to NULL, and close other handles
1238         to reduce handle leak problems.
1239
1240 1998-08-09  Jonathan Harris  <jhar@tardis.ed.ac.uk>
1241
1242         * menubar-msw.c (displayable_menu_item): take account of menu
1243           depth when deciding whether to try to display accelerators.
1244
1245 1998-08-04  Andy Piper  <andyp@parallax.co.uk>
1246
1247         * event-msw.c: use MsgWaitForMultipleObjects if there are no
1248         subprocesses.
1249
1250         * glyphs-msw.c: fix a couple of potential handle leaks.
1251
1252 1998-08-04  P. E. Jareth Hein  <jareth@camelot.co.jp>
1253
1254         * dgif_lib.c gif_io.c gifrlib.h: New files to put GIF
1255           *decoding ONLY* back into the core.
1256         * glyphs-eimage.c: Change referenced header file for GIF
1257           reading to point to the incore version.
1258
1259 1998-07-20  Martin Buchholz  <martin@xemacs.org>
1260
1261         * casefiddle.c (casify_object): 
1262         Change algorithm from O(N**2) to O(N).
1263         Code cleanup.
1264         Doc string cleanup.
1265
1266 1998-07-22  Greg Klanderman  <greg@alphatech.com>
1267
1268         * dired.c (file_name_completion_unwind): don't leak the cons.
1269
1270 1998-07-20  Greg Klanderman  <greg@alphatech.com>
1271
1272         * dired.c (Fuser_name_completion): new function.
1273         (Fuser_name_all_completions): new function.
1274         (user_name_completion): new function.
1275         (syms_of_dired): 2 new DEFSUBRs.
1276         (vars_of_dired): initialize user name cache vars.
1277
1278 1998-07-29  P. E. Jareth Hein  <jareth@camelot.co.jp>
1279
1280         * glyphs-eimage.c (png_instantiate): Add proper handling for background
1281         colors taken from the default face.  Also correct a thinko in
1282         transparency (not alpha) handling.
1283
1284 1998-07-23  Martin Buchholz  <martin@xemacs.org>
1285
1286         * s/decosf4-0.h:  Use a perfectly ordinary link.  Nuke BSD crap.
1287         * unexalpha.c: ANSI C-ize.  Clean compiler warnings.
1288         * lread.c (Fload_internal):  Be very careful with printfs of
1289         size_t's
1290         * gui-x.c (menu_name_to_accelerator): tolower wants an `int'
1291         argument.
1292
1293 1998-07-27  Gunnar Evermann  <Gunnar.Evermann@nats.informatik.uni-hamburg.de>
1294
1295         * callint.c (Fcall_interactively): GCPRO prompt string before
1296         passing it to Fread_key_sequence
1297
1298 1998-07-27  SL Baur  <steve@altair.xemacs.org>
1299
1300         * keymap.c (vars_of_keymap): Initialize Vkey_translation_map and
1301         Vvertical_divider_map.
1302
1303         * mule-canna.c (vars_of_mule_canna): Initialize every symbol to
1304         Qnil or 0, none were initialized prior to this change.
1305
1306         Rename misnamed `V' prefixed integer variables:
1307         Vcanna_empty_info, Vcanna_through_info, Vcanna_underline,
1308         Vcanna_inhibit_hankakukana, Vcanna_henkan_length, Vcanna_henkan_revPos,
1309         Vcanna_henkan_revLen, Vcanna_ichiran_length, Vcanna_ichiran_revPos,
1310         Vcanna_ichiran_revLen.
1311
1312         Rename misnamed `V' prefixed integer variables and initialize
1313         properly in the vars_of routine.
1314         Vcanna_mode_AlphaMode, Vcanna_mode_EmptyMode, Vcanna_mode_KigoMode,
1315         Vcanna_mode_YomiMode, Vcanna_mode_JishuMode, Vcanna_mode_TankouhoMode,
1316         Vcanna_mode_IchiranMode, Vcanna_mode_YesNoMode, Vcanna_mode_OnOffMode,
1317         Vcanna_mode_AdjustBunsetsuMode, Vcanna_mode_ChikujiYomiMode,
1318         Vcanna_mode_ChikujiTanMode, Vcanna_mode_HenkanMode,
1319         Vcanna_mode_HenkanNyuryokuMode, Vcanna_mode_ZenHiraHenkanMode,
1320         Vcanna_mode_HanHiraHenkanMode, Vcanna_mode_ZenKataHenkanMode,
1321         Vcanna_mode_HanKataHenkanMode, Vcanna_mode_HanKataHenkanMode,
1322         Vcanna_mode_ZenAlphaHenkanMode, Vcanna_mode_HanAlphaHenkanMode,
1323         Vcanna_mode_ZenHiraKakuteiMode, Vcanna_mode_HanHiraKakuteiMode,
1324         Vcanna_mode_ZenKataKakuteiMode, Vcanna_mode_HanKataKakuteiMode,
1325         Vcanna_mode_ZenAlphaKakuteiMode, Vcanna_mode_HanAlphaKakuteiMode,
1326         Vcanna_mode_HexMode, Vcanna_mode_BushuMode, Vcanna_mode_ExtendMode,
1327         Vcanna_mode_RussianMode, Vcanna_mode_GreekMode, Vcanna_mode_LineMode,
1328         Vcanna_mode_ChangingServerMode, Vcanna_mode_HenkanMethodMode,
1329         Vcanna_mode_DeleteDicMode, Vcanna_mode_TourokuMode,
1330         Vcanna_mode_TourokuEmptyMode, Vcanna_mode_TourokuHinshiMode,
1331         Vcanna_mode_TourokuDicMode, Vcanna_mode_QuotedInsertMode,
1332         Vcanna_mode_BubunMuhenkanMode, Vcanna_mode_MountDicMode,
1333         Vcanna_fn_SelfInsert, Vcanna_fn_FunctionalInsert,
1334         Vcanna_fn_QuotedInsert, Vcanna_fn_JapaneseMode, Vcanna_fn_AlphaMode,
1335         Vcanna_fn_HenkanNyuryokuMode, Vcanna_fn_Forward, Vcanna_fn_Backward,
1336         Vcanna_fn_Next, Vcanna_fn_Prev, Vcanna_fn_BeginningOfLine,
1337         Vcanna_fn_EndOfLine, Vcanna_fn_DeleteNext, Vcanna_fn_DeletePrevious,
1338         Vcanna_fn_KillToEndOfLine, Vcanna_fn_Henkan, Vcanna_fn_Kakutei,
1339         Vcanna_fn_Extend, Vcanna_fn_Shrink, Vcanna_fn_AdjustBunsetsu,
1340         Vcanna_fn_Quit, Vcanna_fn_ConvertAsHex, Vcanna_fn_ConvertAsBushu,
1341         Vcanna_fn_KouhoIchiran, Vcanna_fn_BubunMuhenkan, Vcanna_fn_Zenkaku,
1342         Vcanna_fn_Hankaku, Vcanna_fn_ExtendMode, Vcanna_fn_ToUpper,
1343         Vcanna_fn_Capitalize, Vcanna_fn_ToLower, Vcanna_fn_Hiragana,
1344         Vcanna_fn_Katakana, Vcanna_fn_Romaji, Vcanna_fn_BaseHiragana,
1345         Vcanna_fn_BaseKatakana, Vcanna_fn_BaseEisu, Vcanna_fn_BaseZenkaku,
1346         Vcanna_fn_BaseHankaku, Vcanna_fn_BaseKana, Vcanna_fn_BaseKakutei,
1347         Vcanna_fn_BaseHenkan, Vcanna_fn_BaseHiraKataToggle,
1348         Vcanna_fn_BaseZenHanToggle, Vcanna_fn_BaseKanaEisuToggle,
1349         Vcanna_fn_BaseKakuteiHenkanToggle, Vcanna_fn_BaseRotateForward,
1350         Vcanna_fn_BaseRotateBackward, Vcanna_fn_Touroku, Vcanna_fn_HexMode,
1351         Vcanna_fn_BushuMode, Vcanna_fn_KigouMode, Vcanna_fn_Mark,
1352         Vcanna_fn_TemporalMode, Vcanna_key_Nfer, Vcanna_key_Xfer,
1353         Vcanna_key_Up, Vcanna_key_Left, Vcanna_key_Right, Vcanna_key_Down,
1354         Vcanna_key_Insert, Vcanna_key_Rollup, Vcanna_key_Rolldown,
1355         Vcanna_key_Home, Vcanna_key_Help, Vcanna_key_KP_Key,
1356         Vcanna_key_Shift_Nfer, Vcanna_key_Shift_Xfer, Vcanna_key_Shift_Up,
1357         Vcanna_key_Shift_Left, Vcanna_key_Shift_Right, Vcanna_key_Shift_Down,
1358         Vcanna_key_Cntrl_Nfer, Vcanna_key_Cntrl_Xfer, Vcanna_key_Cntrl_Up,
1359         Vcanna_key_Cntrl_Left, Vcanna_key_Cntrl_Right, Vcanna_key_Cntrl_Down
1360
1361 1998-07-16  Jan Vroonhof  <vroonhof@math.ethz.ch>
1362
1363         * event-Xt.c (x_to_emacs_keysym): Return nil for modifier keysyms.
1364         (x_event_to_emacs_event): Let x_to_emacs_keysym check for modifier 
1365         keys thus no longer considering all keysyms on a key.
1366
1367 1998-07-19  SL Baur  <steve@altair.xemacs.org>
1368
1369         * XEmacs 21.2-beta1 is released.
1370
1371 1998-07-12  Oscar Figueiredo  <Oscar.Figueiredo@di.epfl.ch>
1372
1373         * eldap.c (Fldap_search_internal): When converting the list of
1374         attributes to search Copy the final 0 from Lisp strings to C
1375         strings.
1376         Check base, not Vldap_default_base as a a string
1377
1378 1998-07-13  Jonathan Harris  <jhar@tardis.ed.ac.uk>
1379
1380         * nt.c: Remove Vstdio_str; already defined in console-stream.c.
1381
1382         * unexnt.c: Unconditionally define bss_start and bss_size, and
1383           ensure that they don't go in the .bss section.
1384
1385 1998-07-17  Olivier Galibert  <galibert@pobox.com>
1386
1387         * glyphs-x.c (convert_EImage_to_XImage):  Fix previous patch (conv
1388         byte order is dependant  of  the local  byte order).
1389         From Takeshi Hagiwara <hagiwara@ie.niigata-u.ac.jp>
1390
1391 1998-07-18  SL Baur  <steve@altair.xemacs.org>
1392
1393         * glyphs-msw.c (mswindows_resource_normalize): Qresource ->
1394         Qmswindows_resource.
1395         From Jonathan Harris <jhar@tardis.ed.ac.uk>
1396
1397 1998-07-12  SL Baur  <steve@altair.xemacs.org>
1398
1399         * general.c (syms_of_general): Add defsymbol for Qresource.
1400
1401         * glyphs-msw.c (vars_of_glyphs_mswindows): Rename Qresource to
1402         Qmswindows_resource.
1403         (TopLevel): Rename 'resource image format to 'mswindows_resource.
1404         (mswindows_resource_validate): Rename.
1405         (mswindows_resource_normalize): Rename.
1406         (mswindows_resource_possible_dest_types): Rename.
1407         (mswindows_resource_instantiate): Rename.
1408         (image_instantiator_format_create_glyphs_mswindows): Replace
1409         `resource' with `mswindows.resource'.
1410
1411         * XEmacs 21.0-pre5 is released.
1412
1413 1998-07-10  SL Baur  <steve@altair.xemacs.org>
1414
1415         * mule-wnnfns.c (Fwnn_open): Correctly trap on misdefined Wnn
1416         server type in environment.
1417         Use alloca-ed strings instead of tiny fixed size ones.
1418
1419 1998-07-09  SL Baur  <steve@altair.xemacs.org>
1420
1421         * XEmacs 21.0-pre4 is released.
1422
1423 1998-07-01  James N. Potts  <jnpotts@plutonium.net>
1424
1425         * fileio.c: (expand_file_name): under win32: Don't treat names
1426         as UNC names if a drive letter has been specified.  If a drive
1427         has been specified, strip out extra directory-seperators that
1428         reportedly cause problems under Win95.
1429
1430 1998-07-09  Jonathan Harris  <jhar@tardis.ed.ac.uk>
1431
1432         * windowsnt.h: Define DUMP_SEPARATE_SECTION when building with
1433           MSVC >= 5.0. Put emacs init and zero-init data in a special
1434           section of the executable when this is defined.
1435
1436         * unexnt.c, ntheap.h:
1437           Removed unused find_section() and get_section_size().
1438
1439         * unexnt.c:
1440           Fix up the executable's checksum after dumping otherwise the
1441           profiler complains.
1442           When DUMP_SEPARATE_SECTION is defined, don't need to dump
1443           zero-init data separately from init data. Dump emacs data
1444           into a special section of the executable.
1445           When DUMP_SEPARATE_SECTION not defined, dump .bss up to
1446           my_ebss instead of up to the end of bss.
1447
1448 1998-07-09  Jonathan Harris  <jhar@tardis.ed.ac.uk>
1449
1450         * filelock.c: Removed Vconfigure_lock_directory - already
1451           defined in emacs.c.
1452
1453         * frame-msw.c: Removed Qinitially_unmapped and Qpopup - already
1454           defined in frame.c and general.c respectively.
1455
1456         * glyphs-msw.c: Removed Qresource - already defined in
1457           general.c.
1458
1459 1998-07-05  Oscar Figueiredo  <Oscar.Figueiredo@di.epfl.ch>
1460
1461         * eldap.c (Fldap_search_internal): Docstring fixes
1462
1463 1998-07-04  Jonathan Harris  <jhar@tardis.ed.ac.uk>
1464
1465         * nt.c (init_environment): Removed unused PRELOAD_WINSOCK,
1466           EMACSDOC and TERM variables. Added EMACSDEBUGPATHS,
1467           EMACSPACKAGEPATH and INFOPATH variables.
1468           Removed unused get_emacs_configuration function.
1469
1470         * s/windowsnt.h: Don't define EMACS_CONFIGURATION here because
1471           it is now defined at build-time by the makefile.
1472
1473 1998-07-01  James N. Potts  <jnpotts@plutonium.net>
1474
1475         * fileio.c: (expand_file_name): under win32: Don't treat names as
1476         UNC names if a drive letter has been specified.  If a drive has
1477         been specified, strip out extra directory-seperators that
1478         reportedly cause problems under Win95.
1479
1480 1998-07-05  Andy Piper  <andyp@parallax.co.uk>
1481
1482         * faces.c (complex_vars_of_faces): for the gui-element face don't
1483         fallback to the default face, instead provide reasonable default
1484         fallbacks that were previously hardcoded elsewhere.
1485
1486 1998-07-06  Olivier Galibert  <galibert@pobox.com>
1487
1488         * glyphs-x.c (convert_EImage_to_XImage): Fix pixel writing problem
1489         when the X server endianness is different than the client's one.
1490
1491 1998-06-29  Kyle Jones  <kyle_jones@wonderworks.com>
1492
1493         * eval.c (run_hook_with_args_in_buffer): Check
1494           default (non-buffer-local) value of hook for
1495           nil before treating it as a function.  Don't initialize 
1496           the `globals' variable twice.
1497
1498 1998-06-24  Jonathan Harris  <jhar@tardis.ed.ac.uk>
1499
1500         * fileio.c: Don't do directory seperator canonicalisation in
1501           substitute-in-file-name because we don't know that the
1502           filename refers to a local file.
1503
1504 1998-06-24  Adrian Aichner  <aichner@ecf.teradyne.com>
1505
1506         * process-nt.c (nt_create_process): Try appending the standard
1507           executable file extensions to the filename if none supplied.
1508
1509 1998-06-29  SL Baur  <steve@altair.xemacs.org>
1510
1511         * fileio.c (Fsubstitute_in_file_name): Enable double slash notation
1512         for cygwin32.
1513         From Keisuke Mori <ksk@ntts.com>
1514
1515 1998-06-24  Andy Piper  <andyp@parallax.co.uk>
1516
1517         * toolbar-msw.c (mswindows_output_toolbar): only enable masked
1518         images if we have masks. This handles the xbm case (have masks)
1519         and avoids overuse of resources in the xpm case (generally no masks).
1520         Don't output small toolbars.
1521
1522 1998-06-29  Kyle Jones  <kyle_jones@wonderworks.com>
1523
1524         * eval.c (run_hook_with_args_in_buffer): Don't treat
1525           the default value of a buffer local hook as a list of
1526           hooks unless it is both a cons and the car of that cons 
1527           is not Qlambda.
1528
1529 1998-06-29  SL Baur  <steve@altair.xemacs.org>
1530
1531         * extents.c: Email address for Ben Wing is ben@xemacs.org.
1532         * process-unix.c: Ditto.
1533         * mule-coding.h: Ditto.
1534         * mule-coding.c: Ditto.
1535         * mule-charset.c: Ditto.
1536         * mule-charset.h: Ditto.
1537         * file-coding.c: Ditto.
1538         * file-coding.h: Ditto.
1539
1540 1998-06-22  Jonathan Harris  <jhar@tardis.ed.ac.uk>
1541
1542         * event-msw.c: Guard against recursion when freeing
1543           FRAME_MSWINDOWS_TARGET_RECT struture in WM_SIZE processing.
1544
1545         * frame-msw.c: Don't set WS_VISIBLE attribute on first frame.
1546           Call ShowWindow twice in init_frame_3 to get round runemacs
1547           weirdness.
1548
1549 1998-06-27  Hrvoje Niksic  <hniksic@srce.hr>
1550
1551         * scrollbar.c (vertical_scrollbar_changed_in_window): Ditto.
1552
1553         * winslots.h: Rename.
1554
1555         * window.c (specifier_vars_of_window): Renamed
1556         vertical-divider-draggable-p to vertical-divider-always-visible-p, 
1557         as suggested by Ben Wing.
1558         (specifier_vars_of_window): Fix docstrings.
1559
1560 1998-06-22  Michael Sperber [Mr. Preprocessor]  <sperber@informatik.uni-tuebingen.de>
1561
1562         * unexaix.c: Line number information works correctly again.
1563
1564 1998-06-22  Olivier Galibert  <galibert@pobox.com>
1565
1566         * emacs.c (__sti__iflPNGFile_c___): Added. See comment. Cry.
1567
1568 1998-06-21  Martin Buchholz  <martin@xemacs.org>
1569
1570         * editfns.c (get_home_directory): ANSIfy.
1571         XEmacs is compilable under C *and* C++.
1572         It's XEmacs, not Xemacs!
1573
1574 1998-06-19  Jonathan Harris  <jhar@tardis.ed.ac.uk>
1575
1576         * console-msw.h: added a list of fonts to device data.
1577
1578         * device-msw.c: enumerate list of available fonts in
1579           mswindows_init_device. Free list in mswindows_delete_device.
1580
1581         * objects-msw.c: Added helper function match_font used by
1582           mswindows_initialize_font_instance and mswindows_list_fonts.
1583           Allow a charset to be specified in a font string, even if
1584           previous fields havn't been specified.
1585
1586 1998-06-23  Greg Klanderman  <greg@alphatech.com>
1587
1588         * indent.c (column_at_point): column cache bugfix.
1589         Set last_known_column_point to the buffer position for
1590         which the column was requested, not buffer's point.
1591
1592         * redisplay.c (decode_mode_spec): for current-column, show 
1593         window's point's column, not buffer's point's column.
1594
1595 1998-06-23  Andy Piper  <andyp@parallax.co.uk>
1596
1597         * menubar-msw.c (mswindows_handle_wm_command): use
1598         enqueue_misc_user event rather than
1599         mswindows_enqueue_msic_user_event to fix customize problems. Add some
1600         checks that X does.
1601
1602         * console-msw.h: declare mswindows_enqueue_magic_event.
1603
1604         * event-msw.c (mswindows_enqueue_magic_event): make global.
1605
1606 1998-06-24  Hrvoje Niksic  <hniksic@srce.hr>
1607
1608         * line-number.c (LINE_NUMBER_FAR): Reverted to 16384.
1609         (buffer_line_number): Use EMACS_INT_MAX instead of random LOTS.
1610         (add_position_to_cache): Use EMACS_INT instead of int.
1611
1612 1998-06-21  Olivier Galibert  <galibert@pobox.com>
1613
1614         * lisp-disunion.h (XMARKBIT): Have XMARKBIT return something
1615         suitable for an int used as a boolean (btw, C sucks.).
1616
1617 1998-06-18  Andy Piper  <andyp@parallax.co.uk>
1618
1619         * object-msw.c: remove warnings.
1620
1621         * device-msw.c: #define wrongly named cygwin structure elements.
1622
1623         * s/cygwin32.h: define DEMI_BOLD
1624
1625 1998-06-19  Jonathan Harris  <jhar@tardis.ed.ac.uk>
1626
1627         * redisplay-msw.c: new function mswindows_apply_face_effects.
1628           This is called by output_string and output_cursor to display
1629           underline and strikeout on faces.
1630
1631 1998-06-19  Jonathan Harris  <jhar@tardis.ed.ac.uk>
1632
1633         * console-msw.h: added a list of fonts to device data.
1634
1635         * device-msw.c: enumerate list of available fonts in
1636           mswindows_init_device. Free list in mswindows_delete_device.
1637
1638         * objects-msw.c: Added helper function match_font used by
1639           mswindows_initialize_font_instance and mswindows_list_fonts.
1640           Allow a charset to be specified in a font string, even if
1641           previous fields havn't been specified.
1642
1643 1998-06-15  Jonathan Harris  <jhar@tardis.ed.ac.uk>
1644
1645         * objects-msw.c:
1646           Removed compilation warnings from mswindows_string_to_color.
1647           mswindows_list_fonts returns a more general bogus font.
1648           New lisp-visible function mswindows-color-list.
1649
1650 1998-06-19  David Bush <david.bush@adn.alcatel.com>
1651
1652         * editfns.c (Fuser_login_name): Modify to user new function
1653         user_login_name.
1654         (user_login_name): C only function to avoid Lisp object overhead
1655         Returns "unknown" instead of nil in Cygwin environment
1656
1657         * fileio.c (Fexpand_file_name): Treat "~" and "~user" as
1658         equivalent for current user in Cygwin environment. Use new
1659         function user_login_name to get username.
1660
1661         * lisp.h: Declare user_login_name
1662
1663 1998-06-18  Michael Sperber [Mr. Preprocessor]  <sperber@informatik.uni-tuebingen.de>
1664
1665         * unexaix.c (make_hdr): Fixed bias computations so debugging info
1666         works again.
1667         Some other insignificant nitpicks.
1668
1669 1998-06-18  Andy Piper  <andyp@parallax.co.uk>
1670
1671         * toolbar-msw.c (mswindows_output_toolbar): specify ILC_MASK when
1672         creating the image list and make sure he bk color is transparent.
1673
1674 1998-06-18  Jan Vroonhof  <vroonhof@math.ethz.ch>
1675
1676         * event-Xt.c (emacs_Xt_remove_timeout): Also remove timeout from
1677         completed_timeouts. The timer could have expired.
1678
1679 1998-06-17  Andy Piper  <andyp@parallax.co.uk>
1680
1681         * console-msw.h: move XEMACS_RECT_WH inside frame
1682         parameters. define macors to access it.
1683
1684         * frame-msw.c (mswindows_init_frame_1): use new target_rect
1685         parameter to intialise desired sizing. (mswindows_init_frame_2):
1686         enable and size the frame to something sensible when we get
1687         here. (mswindows_set_frame_properites): use new
1688         mswindows_size_frame_internal function and size frame if frame
1689         parameters not just if init is finished - WM_SIZE happens too
1690         early for some specs. (mswindows_size_frame_internal): new
1691         function abstracted from mswindows_set_frame_properties. 
1692         (Vmswindows_use_system_frame_size_defaults):
1693         new variable controls whether to allow the system to pick frame
1694         size defaults, defaults to nil.
1695
1696         * event-msw.c: in WM_SIZE use mswindows_size_frame_internal rather
1697         than duplicated code.
1698
1699 1998-06-15  Colin Rafferty <colin@xemacs.org>
1700
1701         * Makefile.in.in: Made EXTW_LINK expand properly.
1702
1703 1998-06-12  Martin Buchholz  <martin@xemacs.org>
1704
1705         * redisplay.c (vars_of_redisplay): default value of
1706         column-number-start-at-one should be NIL!
1707
1708 1998-06-11  Martin Buchholz  <martin@xemacs.org>
1709
1710         * casefiddle.c:
1711         (upcase-initials "fooBar") ==> "FooBar" instead of "Foobar"
1712
1713 1998-06-05  Hrvoje Niksic  <hniksic@srce.hr>
1714
1715         * eldap.c (Fldap_search_internal): Use build_ext_string instead of 
1716         build_string to avoid crashes under Mule.
1717
1718 1998-06-13  Andy Piper  <andyp@parallax.co.uk>
1719
1720         * ntplay.c (play_sound_data_1): don't delete the sound data until
1721         the next sound is played and the previous one finished.
1722
1723 1998-06-10  Samuel Mikes  <smikes@alumni.hmc.edu>
1724
1725         * fileio.c (directory-sep-char): Escape backslashes.
1726
1727 1998-06-10  Hrvoje Niksic  <hniksic@srce.hr>
1728
1729         * event-stream.c: Fix docstring reference.
1730
1731 1998-06-12  Hrvoje Niksic  <hniksic@srce.hr>
1732
1733         * alloc.c (make_float): Remove useless initialization of `next'
1734         field.
1735         (make_pure_float): Ditto.
1736
1737         * lisp.h (struct Lisp_Float): Rename `next' to `__unused__next'.
1738
1739 1998-06-08  Kirill M. Katsnelson  <kkm@kis.ru>
1740
1741         * fileio.c (Fmake_directory_internal): Remove conditionals
1742         on WINDOWSNT when calling mkdir.
1743
1744         * ntproc.c: Deleted the following unused functions:
1745         register_child, reap_subprocess, sys_wait.
1746
1747         * nt.c (sys_rename): Ifzeroed this implementation.
1748         Deleted the following unused functions:
1749         sys_access, sys_chdir, sys_chmod, sys_creat, sys_link, sys_mkdir,
1750         sys_mktemp, sys_rmdir, sys_unlink, sys_close, sys_dup, sys_dup2,
1751         sys_read, sys_write.
1752         Merger sys_fopen and sys_open with sysdep.c implementation.
1753
1754         * sysdep.c: Removed MS-DOS code.
1755         (sys_rename): Deal with Microsoft rename weirdness.
1756         (sys_open): Implemented for Windows.
1757         (sys_fopen): Ditto.
1758         (sys_mkdir): Ditto.
1759
1760 1998-06-08  Kirill M. Katsnelson  <kkm@kis.ru>
1761
1762         * buffer.c (complex_vars_of_buffer): Removed %t description from
1763         the docstring.
1764
1765 1998-06-04  Rick Rankin  <Rick_Rankin-P15254@email.mot.com>
1766
1767         * scrollbar-msw.c: initialize the cbSize element of the
1768         SCROLLINFO struct before calling SetScrollInfo. WinNT seems
1769         to ignore the value of cbSize, but Win95 (and I presume Win98)
1770         appear to want it set to sizeof(SCROLLINFO).
1771
1772 1998-06-04  Kirill M. Katsnelson  <kkm@kis.ru>
1773
1774         * event-stream.c: Defined Qcancel_mode_internal.
1775         (syms_of_event_stream): defsymbol'ed it.
1776
1777         * events.h: Externed it.
1778
1779         * event-msw.c (mswindows_wnd_proc, WM_CANCELMODE): Added this handler.
1780
1781 1998-06-04  Oliver Graf <ograf@fga.de>
1782
1783         * frame-x.c (x_cde_destroy_callback): free the data
1784         (cde-start-drag-internal) corrected root position, 21.1 needs this
1785         hardcoded in Button events
1786         (offix-start-drag-internal) corrected root position
1787
1788 1998-06-03  Kirill M. Katsnelson  <kkm@kis.ru>
1789
1790         * process-nt.c (signal_cannot_launch): Use signal_simple_error()
1791         instead of error().
1792
1793 1998-06-03  Kirill M. Katsnelson  <kkm@kis.ru>
1794
1795         * dialog-msw.c (button_width): Removed `inline' from the function
1796         declaration.
1797
1798 1998-06-03  Rick Rankin  <Rick_Rankin-P15254@email.mot.com>
1799
1800         * frame-msw.c: add WS_VISIBLE flag to the first frame created.
1801         Note that adding this flag to subsequent frames causes problems.
1802
1803 1998-06-03  Gunnar Evermann  <Gunnar.Evermann@nats.informatik.uni-hamburg.de>
1804
1805         * glyphs-eimage.c (png_instantiate) move 'struct
1806         png_memory_storage tbr' out of nested block to avoid dangling
1807         reference
1808
1809 1998-06-02  Andy Piper  <andyp@parallax.co.uk>
1810
1811         * faces.h:
1812         * faces.c: rename 3d-object -> gui-element. add toolbar face which
1813         inherits from gui-element.
1814
1815         * glyphs-msw.c: use DIBitmaps for xbm bitmaps to be consistent
1816         with existing code, generate masks correctly.
1817
1818 1998-06-03  P. E. Jareth Hein  <jareth@camelot-soft.com>
1819
1820         * glyphs-eimage.c: Changed included header for gifs to use
1821         Gifreader instead of giflib.
1822
1823         * glyphs-x.c: removed the image-related functions that were
1824         moved into glyphs-eimage.
1825
1826 1998-06-02  David Bush  <david.bush@adnb.alcatel.com>
1827
1828         * glyphs.c (bitmap_to_lisp_data) Define XFree to be free
1829         if built without X Windows support.
1830
1831 1998-06-02  Hrvoje Niksic  <hniksic@srce.hr>
1832
1833         * fns.c (Fconcat): Synch docstring with new reality.
1834
1835 1998-06-03  SL Baur  <steve@altair.xemacs.org>
1836
1837         * frame.c: Remove reference to msdos.h (which is going away).
1838         Suggested by Hrvoje Niksic and Kirill Katsnelson.
1839
1840 1998-06-02  P. E. Jareth Hein  <jareth@camelot-soft.com>
1841
1842         * glyphs-eimage.c (jpeg_instantiate): Fix handling of
1843         grayscale images/
1844
1845
1846 1998-05-30  Kirill M. Katsnelson  <kkm@kis.ru>
1847
1848         * events.h: Fixed commentary about misc-user scrollbar events.
1849
1850         * scrollbar-x.c (x_update_vertical_scrollbar_callback): Use frame
1851         object as an event channel, instead of window object.
1852         (x_update_horizontal_scrollbar_callback): Ditto.
1853
1854 1998-05-29  Andy Piper  <andyp@parallax.co.uk>
1855
1856         * ntplay.c (play_sound_data_1) new function. convert alloca data
1857         to malloc if necessary.
1858         (play_sound_file): if the file is not in our path then convert to
1859         data and play.
1860
1861 1998-06-01  SL Baur  <steve@altair.xemacs.org>
1862
1863         * mule-mcpath.c (mc_chdir): Reverse parameters in call to memcpy.
1864         * msdos.c (Frecent_doskeys): Ditto.
1865
1866         * unexalpha.c (unexec): Reverse parameters in call to memcpy.
1867         Suggested by Reggie Perry <perry@zso.dec.com>
1868
1869         * buffer.h: Eliminate size in declaration.
1870
1871 1998-06-01  Olivier Galibert  <galibert@pobox.com>
1872
1873         * unexelfsgi.c (unexec): Cleanup n/nn and remove useless kludge.
1874
1875 1998-06-01  Kirill M. Katsnelson  <kkm@kis.ru>
1876
1877         * gui.c (gui_item_init): Changed the default value for config member
1878         from Qunbound to Qnil.
1879
1880 1998-06-01  Greg Klanderman  <greg@alphatech.com>
1881
1882         * indent.c (vmotion_pixels): Don't #define abs().
1883
1884 1998-05-30  Kirill M. Katsnelson  <kkm@kis.ru>
1885
1886         * s/windowsnt.h: Defined popen and pclose to be _popen and _pclose
1887         respectively.
1888
1889 1998-05-30  Andy Piper  <andyp@parallax.co.uk>
1890
1891         * glyphs.h: add xbm declarations.
1892
1893         * console.h: add xbm_instantiate_method device method.
1894
1895         * glyphs.c (check_valid_xbm_inline) (xbm_validate)
1896         (bitmap_to_lisp_data) (xbm_mask_file_munging) (xbm_normalize)
1897         (xbm_possible_dest_types): moved here from glyphs-x.c. use
1898         locate_pixmap_file device method and read_bitmap_data_from_file
1899         instead of XmuReadBitmapDataFromFile.
1900         (xbm_instatntiate): make a device method.
1901
1902         * glyphs-x.c: see glyphs.c changes. (read_bitmap_data_from_file)
1903         new function that just calls XmuReadBitmapDataFromFile.
1904         (x_xbm_instatntiate): device method from xbm_instantiate.
1905
1906         * glyphs-msw.c (read_bitmap_data) (NextInt)
1907         (read_bitmap_data_from_file): new functions copied from Xmu
1908         sources. 
1909         (xbm_create_bitmap_from_data) from Ben <ben@666.com> convert
1910         inline data to an mswindows bitmap.
1911         (init_image_instance_from_xbm_inline) (xbm_instantiate_1)
1912         (mswindows_xbm_instantiate): mswindows-ized versions of the X
1913         functions.
1914
1915 1998-05-30  Kirill M. Katsnelson  <kkm@kis.ru>
1916
1917         * window.c (specifier_vars_of_window): Renamed `has_modeline-p' to
1918         `modeline-visible-p'.
1919         Declared specifier lisp variables at the beginning oh the file
1920         as static.
1921
1922         * procimpl.h (struct process_methods): Changed semantics of
1923         create_process method so it accepts lisp strings instead of
1924         char pointers.
1925
1926         * process.c (Fstart_process_internal): Moved building of
1927         unix style argv from here to process-unix.c, ...
1928
1929         * process-unix.c (unix_create_process): ... right here.
1930
1931         * process-nt.c (nt_create_process): Changed this function to
1932         support new semantics, so avoided a GC problem.
1933
1934         * events.c (Fmake_event): Document misc-user events properties.
1935         (Fmake_event): Do not allow arbitrary objects for channel property
1936         of misc-user events.
1937         (Fmake_event): Change misc-user event validation: it is function
1938         which is required, not button.
1939
1940         * event-msw.c (mswindows_user_event_p): Recognize misc user events as
1941         user events.
1942         (mswindows_enqueue_misc_user_event): Added function.
1943         (mswindows_bump_queue): Removed function.
1944         (mswindows_enqueue_magic_event): Support NULL HWND parameter.
1945         (mswindows_wnd_proc, WM_CLOSE): Use mswindows_enqueue_misc_user_event().
1946         (mswindows_wnd_proc, WM_EXITSIZEMOVE): Ditto.
1947         (emacs_mswindows_handle_magic_event): Handle XM_BUMPQUEUE, by doing
1948         really nothing, which is my personal favorite thing.
1949
1950         * console-msw.h: Removed prototype for mswindows_bump_queue().
1951         Added prototype for mswindows_enqueue_misc_user_event().
1952
1953         * menubar-msw.c (mswindows_handle_wm_command): Use
1954         mswindows_enqueue_misc_user_event(). 
1955
1956         * toolbar-msw.c (mswindows_handle_toolbar_wm_command): Ditto.
1957
1958         * dialog-msw.c (dialog_proc): Ditto.
1959
1960         * scrollbar-msw.c (mswindows_handle_scrollbar_event): Ditto.
1961          (mswindows_handle_scrollbar_event): Use frame, not window, for misc
1962         user events channel.
1963
1964 1998-05-29  Greg Klanderman  <greg@alphatech.com>
1965
1966         * window.c (Fwindow_displayed_text_pixel_height): was relying on
1967         incorrect semantics of vmotion_pixels which has been fixed.  don't 
1968         use it anymore as it can't easily be used.
1969
1970         * indent.c (vmotion_pixels): fix off by one bug moving up.  also
1971         the motion was reported incorrectly if you tried to go past end of 
1972         buffer.
1973
1974 1998-05-30  Kirill M. Katsnelson  <kkm@kis.ru>
1975
1976         * toolbar.h: Removed misleading commentary, as Martin suggested.
1977
1978 1998-05-30  Kirill M. Katsnelson  <kkm@kis.ru>
1979
1980         * lisp.h: Extern Qactivate_menubar_hook.
1981
1982         * menubar-msw.c (unsafe_handle_wm_initmenu_1): Pass correct value to
1983         run_hook ().
1984
1985 1998-05-29  Andy Piper  <andyp@parallax.co.uk>
1986
1987         * glyphs-msw.c: use BPLINE macro.
1988
1989         * select-msw.c (mswindows-selection-exists-p)
1990         (mswindows-delete-selection): doc string fixes.
1991
1992         * toolbar-msw.c (mswindows_output_toolbar): make disabled buttons
1993         unpressable. warning elimination.
1994
1995 1998-05-28  Martin Buchholz  <martin@xemacs.org>
1996
1997         * alloc.c (dbg_constants): 
1998         * dbxrc:
1999         * gdbinit:
2000         Remove toolbar_data debugging code, since that lrecord has
2001         also been removed. 
2002
2003 Wed May 27, 1998  Darryl Okahata  <darrylo@sr.hp.com>
2004
2005         * alloc.c: zap cached value of (user-home-directory), so that
2006           it's not undumped.
2007
2008         * buffer.c: From init_buffer(), separated out code that
2009           determined the initial directory for the *scratch* buffer, and
2010           put them into a function called "init_initial_directory()".
2011           The initial directory is now available as a global "char *"
2012           called initial_directory.
2013
2014         * buffer.h: Added extern entries for initial_directory[] and
2015           init_initial_directory().
2016
2017         * editfns.c: added new elisp function "user-home-directory",
2018         which basically returns getenv("HOME"), but attempts to use
2019         other values if $HOME isn't set.This may have to be tweaked in
2020         the future as, under Unix, "/" is used if $HOME isn't set (this
2021         probably should be set to the current directory).  To support
2022         this, a new C function, "get_home_directory()", now exists,
2023         which returns the "home directory", as a "char *" string.
2024
2025         * emacs.c: Rearrange NT initialization order so that
2026         environment/registry variables will be properly entered into
2027         Vprocess_enviroment.
2028
2029         * fileio.c: replaced egetenv("HOME") with calls to the new
2030           get_home_directory().
2031
2032         * lisp.h: Added function prototypes for uncache_home_directory() 
2033           and get_home_directory(), along with lisp prototypes for
2034           Fuser_home_directory() and friends.
2035
2036         * nt.c: replaced getenv("HOME") with calls to the new
2037           get_home_directory().
2038
2039         * sysfile.h: for WINDOWSNT, #include <direct.h>, to suppress
2040           warnings about getcwd(), etc. not having prototypes.
2041
2042 1998-05-28  Kirill M. Katsnelson  <kkm@kis.ru>
2043
2044         * process-nt.c (send_signal): Emulate SIGHUP.
2045         (validate_signal_number): Ditto.
2046
2047         * event-msw.c (mswindows_wnd_proc, WM_KEYDOWN): Unconditionally
2048         remove MOD_SHIFT from ASCII characters.
2049         (mswindows_wnd_proc, WM_KEYDOWN): Do not activate the menubar when 
2050         F10 is pressed.
2051
2052 1998-05-24  Oliver Graf <ograf@fga.de>
2053
2054         * frame-x.c (cde-start-drag-internal): added filename and multi-
2055         data transfers
2056         (x_cde_convert_callback) dito
2057
2058 1998-05-26  Oliver Graf <ograf@fga.de>
2059
2060         * frame-x.c: include event-mod.h also with CDE
2061         (x_cde_convert_callback) made the thing working
2062         (cde-start-drag-internal) also debugging
2063
2064 1998-05-25  Hans Guenter Weigand  <hgweigand@wiesbaden.netsurf.de>
2065
2066         * m/sparc.h:
2067         * getloadavg.c:
2068         * malloc.c:
2069         * unexec.c:
2070         * mem-limits.h:
2071           - add __OpenBSD__ where __NetBSD__ was found.
2072           - TODO: replace platform-specific conditional compilation by
2073             feature tests in configure.in.
2074
2075 1998-05-15  Greg Klanderman  <greg@alphatech.com>
2076
2077         * window.c (Fwindow_displayed_text_pixel_height): New function.
2078         (syms_of_window): DEFSUBR it.
2079
2080         * indent.c (Fvertical_motion_pixels): New function - request
2081         movement in pixels.
2082         (vmotion_pixels): helper.
2083         (syms_of_indent): DEFSUBR.
2084         * lisp.h: declaration for vmotion_pixels().
2085
2086         * indent.c (Fvertical_motion): Add optional third argument PIXELS, 
2087         to request returning motion in pixels.
2088         (Fvertical_motion_pixels): Remove, functionality merged into
2089         Fvertical_motion. 
2090         * window.c (window_scroll): call Fvertical_motion with 3 arguments.
2091         (Fmove_to_window_line): ditto.
2092         * lisp.h: Change declaration for Fvertical_motion.
2093
2094         * window.c: rename window-text-pixel-{height,width,edges} to
2095         window-text-area-pixel-*.
2096
2097 1998-05-26  Gunnar Evermann  <Gunnar.Evermann@nats.informatik.uni-hamburg.de>
2098
2099         * tooltalk.c (vars_of_tooltalk) added staticpro for
2100         Tooltalk_Message_plist_str and Tooltalk_Pattern_plist_str
2101
2102 1998-05-27  Andy Piper  <andyp@parallax.co.uk>
2103                 
2104         * faces.c: create a new 3d_object_face, make modeline and
2105         vertical_divider faces fallback to this rather than the default.
2106
2107 1998-05-21  Andy Piper  <andyp@parallax.co.uk>
2108
2109         * s/cygwin32.h: define charsets for cygwin.
2110
2111 1998-05-25  Andy Piper  <andyp@parallax.co.uk>
2112
2113         * toolbar-msw.c (mswindows_output_toolbar): fix up button sizes
2114         and coordinates. resize bitmaps if we have already settled on a
2115         different size.
2116
2117         * glyphs-msw.c (xpm_to_eimage): add ';' for mswindows compiler.
2118
2119 1998-05-25  Hrvoje Niksic  <hniksic@srce.hr>
2120
2121         * toolbar-msw.c (mswindows_handle_toolbar_wm_command): Ditto.
2122
2123         * menubar-msw.c (mswindows_handle_wm_command): Ditto.
2124
2125         * gui.h: Ditto.
2126
2127         * gui-x.c (popup_selection_callback): Ditto.
2128
2129         * dialog-msw.c (dialog_proc): get_callback -> get_gui_callback.
2130
2131         * gui.c (get_callback): Renamed to get_gui_callback.
2132
2133 1998-05-17  Martin Buchholz  <martin@xemacs.org>
2134
2135         * glyphs.h: order rearrangement.
2136
2137         * device-tty.c (tty_asynch_device_change): Warning suppression.
2138         * device-x.c (x_device_system_metrics): Warning suppression.
2139         Make Doc strings consistent with coding standards.
2140
2141 1998-05-24  Martin Buchholz  <martin@xemacs.org>
2142
2143         * general.c: multiple definition of `Qicon'.  general.c seems
2144           like a good home for Qicon.
2145
2146 1998-05-20  Kirill M. Katsnelson  <kkm@kis.ru>
2147
2148         * This patch is to fix compilation warnings under Windows.
2149
2150         * s/windowsnt.h: Encapsulate getpid with sys_getpid.
2151         Added prototypes for FSF inherited functions, with which XEmacs is 
2152         sprinkled thoroughly.
2153         Removed some #if 0 code. Bracketed some more definitions, probably 
2154         related to Visual C versions prior to 4 (we do not support them).
2155
2156         * sysfloat.h (logb): Finally, get logb() prototyped.
2157
2158         * sysfile.h: Added Windows specific includes.
2159         Removed old Windows specific code bracketed with #if 0.
2160
2161         * sysdep.h: Added prototype for xrealpath().
2162
2163         * sysdep.c (sys_getpid): Added function, to support '95 negative pids.
2164
2165         * symsinit.h: Added prototypes for syms_of_dired_mswindows,
2166         vars_of_dired_mswindows and init_ntproc (Grrr).
2167
2168         * realpath.c: Added Windows specific include files.
2169         (xrealpath): Conditionalized declaration of some auto variables on 
2170         S_IFLNK, to avoid warnings.
2171
2172         * ntproc.c: Disabled some compiler warnings. This file is going to 
2173         die, so I have not cleaned it up much.
2174         (set_process_dir): Const parameter.
2175         (Fwin32_short_file_name): Down CHECK_* macros to one argument.
2176         (Fwin32_long_file_name): Ditto.
2177         (Fwin32_set_process_priority): Ditto. Why didn't I remove these
2178         three functions?
2179
2180         * nt.h: Added prototypes for set_process_dir and convert_time.
2181
2182         * nt.c: More include files.
2183         (getpwnam): Consted char* argument.
2184         (get_emacs_configuration): Const return value.
2185         (opendir): Const argument.
2186         (stat): Casted converstion long->short.
2187         (stat): Removed ad hoc and questionable support for non-MSC compile.
2188         (sys_pipe): Removed unused auto variable.
2189         (_sys_read_ahead): Removed calls to DebPrint.
2190         (sys_read): Ditto, in 2 places.
2191         (term_ntproc): Added unused int parameter to signal handler, to
2192         avoid a warning when compiling a call to signal().
2193         (msw_sigset): Properly return old signandler or NULL instead of void.
2194
2195         * floatfns.c (Flogb): Casted arguments to unary minus to signed.
2196
2197         * gmalloc.c (morecore): Ditto.
2198         (_free_internal): Ditto.
2199
2200         * lread.c (parse_integer): Ditto.
2201
2202         * dired-msw.c: Added several include files.
2203
2204         * cmdloop.c (Fcommand_loop_1): Added Microsoft C to the Big List
2205         of Compilers to Shut Up.
2206
2207         * callproc.c: Added #includes to suppress warnings under Windows.
2208         (init_callproc): Removed #if0'ed code and unused variables.
2209
2210 1998-05-25  Andy Piper  <andyp@parallax.co.uk>
2211
2212         * device-msw.c (mswindows_device_system_metrics): do planes in a
2213         way consistent with X.
2214
2215         * glyphs-msw.c (mswindows_initialize_image_instance_mask): don't
2216         use SetPixel, use DIBits functions.
2217         (xpm_to_eimage): frob colors more closely like xpm deos.
2218
2219         * toolbar-msw.c: only resize bitmaps when shrinking. Adjust look
2220         to be closer to X version.
2221
2222         * event-msw.c: use tooltip string directly.
2223
2224         * redisplay-msw.c: reinstate Kirill's bg pixmap change.
2225
2226         * objects-msw.c: frob rgb colors that only Kyle uses.
2227
2228         * dialog-msw.c (button_width): INLINE -> inline.
2229
2230 1998-05-23  SL Baur  <steve@altair.xemacs.org>
2231
2232         * getloadavg.c (getloadavg): Fix typo.
2233
2234 1998-05-23  Kirill M. Katsnelson  <kkm@kis.ru>
2235
2236         * objects-msw.c (mswindows_initialize_font_instance): Added support
2237         for font character sets.
2238         Replaced 'XXX' with '####' in comments throughout the file.
2239
2240 1998-05-23  Kirill M. Katsnelson  <kkm@kis.ru>
2241
2242         * emacs.c (main_1): Added calls to vars_of_dialog_mswindows() and
2243         console_type_create_dialog_mswindows(), to initialize Windows dialog
2244         support.
2245
2246         * symsinit.h: Prototyped the above functions.
2247
2248         * dialog-x.c (x_popup_dialog_box): Moved dialog descriptor consistency 
2249         checks to dialog.c...
2250
2251         * dialog.c (Fpopup_dialog_box): ...right here. Added more checks: a
2252         device must support dialog boxes, and the descriptor must supply at
2253         least one button.
2254
2255         * dialog-msw.c: New file, dialogs for Windows.
2256
2257 1998-05-21  Oscar Figueiredo  <Oscar.Figueiredo@di.epfl.ch>
2258
2259         * eldap.c (ldap_search_unwind): Return Qnil instead of nothing
2260         (Fldap_search_internal): Removed unused variable `err'
2261
2262         * eldap.h: Moved Lisp_LDAP declaration here instead of using a
2263         forward declaration
2264
2265 1998-05-17  Martin Buchholz  <martin@xemacs.org>
2266
2267         * eldap.h: eldap.[ch] should never be used unless HAVE_LDAP is
2268         defined.  Therefore there is no need to handle the case when
2269         HAVE_LDAP is undefined.  Similarily, there is no reason to have
2270         any code wrapped within `#ifdef emacs', since this code is only
2271         useful within an emacs.  This simplifies the code significantly.
2272
2273         * inline.c: Include eldap.h only if HAVE_LDAP.
2274         * inline.c: Don't bother including TT_C_H_PATH, since tooltalk.h
2275         already does that.
2276
2277 1998-05-21  Kirill M. Katsnelson  <kkm@kis.ru>
2278
2279         * unexnt.c (copy_executable_and_dump_data_section): Suppress
2280         printing dump stats when building without DEBUG_XEMACS.
2281         (dump_bss_and_heap): Ditto.
2282
2283 1998-05-21  Andy Piper  <andyp@parallax.co.uk>
2284
2285         * gnuclient.c: don't suppress window system if there is no display
2286         and we are running under mswindows. send 'mswindows device type if
2287         we are in this situation.
2288
2289 1998-05-20  Andy Piper  <andyp@parallax.co.uk>
2290
2291         * general.c:
2292         * lisp.h: Qbitmap, Qcursor, Qicon moved here from glyphs-msw.c.
2293
2294         * glyphs-msw.c: change cursor imgae type name to resource. Fix
2295         some nits.
2296
2297 1998-05-20  Kirill M. Katsnelson  <kkm@kis.ru>
2298
2299         * EmacsFrame.c (Xt_StringToScrollBarPlacement):  Added support for
2300         {top,bottom}-{left,right} values in addition to
2301         {top,bottom}_{left,right}. 
2302
2303 1998-05-18  Hrvoje Niksic  <hniksic@srce.hr>
2304
2305         * fileio.c (Fmake_temp_name): Remove unreached code.
2306
2307         * process-nt.c (validate_signal_number): Use
2308         signal_simple_error().
2309
2310 1998-05-19  Martin Buchholz  <martin@xemacs.org>
2311
2312         * unexhp9k800.c: 
2313         * sound.c (vars_of_sound): 
2314         * sysdep.c (reset_sigio_on_device): 
2315         * window.c (window_bottom_gutter_height): 
2316         unexhp9k800.c:258: warning: implicit declaration of function
2317         `calculate_checksum'
2318         sound.c:604: warning: implicit declaration of function `vars_of_hpplay'
2319         sysdep.c:1012: warning: unused variable `owner'
2320         window.c:993: warning: `window_right_toolbar_width' defined but not used
2321
2322 1998-05-19  Andy Piper  <andyp@parallax.co.uk>
2323
2324         * glyphs-msw.c (mswindows_create_resized_mask)
2325         (mswindows_create_resized_bitmap): new funnctions split out from
2326         mswindows_resize_dibitmap_instance.
2327
2328         * glyphs-msw.h: declare new resize functions.
2329
2330         * toolbar-msw.c (mswindows_output_toolbar): use new bitmap resize
2331         functions so that the original bitmaps are preserved.
2332
2333         * sheap.c: fixup static heap exhausted error to avoid FAQs.
2334
2335         * redisplay-msw.c (mswindows_output_blank): fixup brush from bg
2336         color if we are trying to output 0 depth bg pixmap.
2337
2338         * scrollbar-msw.c: warning elimination.
2339
2340 1998-05-18  Martin Buchholz  <martin@xemacs.org>
2341
2342         * frame-x.c (x_update_frame_external_traits): Start preprocessor
2343         directives in column 1.
2344
2345         * search.c (skip_chars): Avoid using xzero with arrays, since some 
2346         compilers get confused by the construct &array.
2347
2348 1998-05-18  Kirill M. Katsnelson  <kkm@kis.ru>
2349
2350         * objects-msw.h:
2351         * objects-msw.c: Changed the charset value for a new font from
2352         "don't care" to "ansi".
2353
2354         * glyphs-msw.c (convert_EImage_to_DIBitmap): Warnings fix.
2355
2356 1998-05-18  Kirill M. Katsnelson  <kkm@kis.ru>
2357
2358         * event-msw.c (mswindows_wnd_proc, WM_KEYDOWN): Do not clear shift
2359         modifier on control chars.
2360         Use IsCharAlpha() instead of isaplha().
2361
2362 1998-05-19  Kazuyuki IENAGA <ienaga@jsys.co.jp>
2363
2364         * s/freebsd.h: FreeBSD 2.2.6 now supports setlocale(LC_ALL, "").
2365
2366 1998-05-18  Kirill M. Katsnelson  <kkm@kis.ru>
2367
2368         * objects-msw.c (mswindows_initialize_font_instance): Use ANSI
2369         charset when creating font. 
2370         (mswindows_initialize_color_instance): Do not create brush along
2371         with a color.
2372         (mswindows_finalize_color_instance): Do not delete it then.
2373
2374         * objects-msw.h (struct mswindows_color_instance_data): Removed
2375         brush slot, and corresponding accessor macro.
2376
2377 1998-05-18  Kirill M. Katsnelson  <kkm@kis.ru>
2378
2379         * toolbar.c: Removed toolbar_data lrecord implementation.
2380         (mark_frame_toolbar_buttons_dirty): Replase usage of toolbar_data
2381         with toolbar_buttons (via FRAME_TOOLBAR_BUTTONS).
2382         (compute_frame_toolbar_buttons): Ditto.
2383         (CHECK_TOOLBAR): Ditto.
2384         (set_frame_toolbar): Removed allocation of toolbar_data lrecord.
2385         (update_frame_toolbars): Do not check for changed buffer
2386         here. Toolbar information is provided by cached specs in
2387         windows. The check for buffer is eliminated becuase toolbars are
2388         marked changed in set_frame_selected_window() in frame.c
2389         Added check for changed toolbars geometry.
2390         (compute_frame_toolbars_data): Removed unused second parameter;
2391         Adjusted callers of this static function throughout the file.
2392         (init_frame_toolbars): Initialize current_toolbar_size.
2393         (update_frame_toolbars): Use DEVICE_SUPPORTS_TOOLBARS_P instead of 
2394         what is its current expansion, for clarity.
2395         (init_frame_toolbars): Ditto.
2396         (init_device_toolbars): Ditto.
2397         (init_global_toolbars): Ditto.
2398
2399         * toolbar.h: Removed definition of toolbar_data lrecord.
2400         Added accessor macros FRAME_TOOLBAR_BUTTONS and
2401         FRAME_CURRENT_TOOLBAR_SIZE.
2402         Added macro DEVICE_SUPPORTS_TOOLBARS_P.
2403
2404         * toolbar-x.c (x_output_toolbar): The same change as in
2405         toolbar-msw.c
2406         (x_output_toolbar): Ditto.
2407         (x_redraw_exposed_toolbar): Ditto.
2408
2409         * toolbar-msw.c (mswindows_output_toolbar): Retrieve current
2410         buttons from toolbar_buttons using FRAME_TOOLBAR_BUTTONS macro.
2411         (mswindows_output_toolbar): Ditto.
2412         (mswindows_output_toolbar): Ditto.
2413
2414         * frame.c (mark_frame): Removed marking of arrays, according to
2415         frameslots.h change.
2416         (nuke_all_frame_slots): Ditto.
2417         (set_frame_selected_window): Mark toolbars changed when
2418         last_nonminibuf_window changes.
2419
2420         * frame.h (struct frame): Moved some slots to frameslots.h.
2421         Added current_toolbar_size array.
2422         Changed references from toolbar_data to toolbar_buttons in macros
2423         FRAME_RAW_THEORETICAL_TOOLBAR_VISIBLE,
2424         FRAME_RAW_THEORETICAL_TOOLBAR_SIZE and
2425         FRAME_RAW_THEORETICAL_TOOLBAR_BORDER_WIDTH.
2426
2427         * frameslots.h: Added macro MARKED_SLOT_ARRAY a la winslots.h
2428         Moved arrays of lisp objects here from frame.h: toolbar_size,
2429         toolbar_visible_p, toolbar_border_width.
2430         Removed toolbar_data slot and added toolbar_buttons.
2431
2432 1998-05-17  Kirill M. Katsnelson  <kkm@kis.ru>
2433
2434         * symsinit.h: Externed syms_of_process_nt()
2435
2436         * emacs.c (main_1): Call syms_of_process_nt()
2437
2438         * process-nt.c: Quote process arguments by a call to Lisp function 
2439         `nt-quote-process-args'.
2440         (syms_of_process_nt): New function.
2441         (nt_send_process): Flush data stream after each write, to avoid
2442         leaving buffered data.
2443         (nt_send_process): When blocked on process output, wait for
2444         process to slurp more for progressively increasing time intervals.
2445
2446 1998-05-17  Martin Buchholz  <martin@xemacs.org>
2447
2448         * window.c (have_undivided_common_edge): Make file-local function
2449         static.
2450         (map_windows): Return 0 if all map functions successful.
2451         Fix typos.
2452
2453         * winslots.h: Use unlikely names for local variables in macros to
2454         avoid shadowing warnings.
2455
2456 1998-05-17  Andy Piper  <andyp@parallax.co.uk>
2457
2458         * toolbar-msw.c (mswindows_output_toolbar): hash on toolbar width
2459         so that we re-output if the toolbar size has changed.
2460
2461 1998-05-17  Michael Sperber [Mr. Preprocessor]  <sperber@informatik.uni-tuebingen.de>
2462
2463         * s/aix4-2.h (ALIGN_DATA_RELOC): Undefined to support new unexaix.c. 
2464
2465         * s/aix3-1.h (ALIGN_DATA_RELOC): Defined to support new unexaix.c.
2466
2467         * unexaix.c: Massive cleanup and support of AIX 4.2 (and hopefully
2468         greater).
2469
2470 1998-05-16  Kirill M. Katsnelson  <kkm@kis.ru>
2471
2472         * glyphs-msw.c: Defined OEMRESOURCE before including windows.h to
2473         get bitmap manifest constants defined.
2474
2475         * console-msw.h: Include system files in angle brackets, not in
2476         quotes.
2477
2478         * window.c (specifier_vars_of_window): Fixed a typo in
2479         `vertical-divider-line-width' docstirng.
2480
2481 1998-05-16  Olivier Galibert  <galibert@pobox.com>
2482
2483         * line-number.c (delete_invalidate_line_number_cache): Use an
2484         EMACS_INT.
2485         (buffer_line_number): Remove dangerous, plain wrong when using
2486         64bits emacs ints, cast.
2487
2488         * insdel.c (buffer_delete_range): Use an EMACS_INT.
2489
2490         * cmds.c (Fforward_line): Use EMACS_INTs.
2491
2492         * search.c (bi_scan_buffer): Change to use EMACS_INTs.
2493         (scan_buffer): Ditto.
2494         (bi_find_next_newline_no_quit): Remove useless cast.
2495         (find_next_newline_no_quit): Ditto.
2496         (find_next_newline): Ditto.
2497         (find_before_next_newline): Use an EMACS_INT.
2498
2499         * lisp.h: Change scan_buffer to pass EMACS_INTs.
2500
2501 1998-05-16  Hrvoje Niksic  <hniksic@srce.hr>
2502
2503         * menubar-msw.c (mswindows_handle_wm_command): Ditto.
2504
2505         * toolbar-msw.c (mswindows_handle_toolbar_wm_command): Ditto.
2506
2507         * gui-x.c (popup_selection_callback): Use it.
2508
2509         * gui.h (get_callback): Declare it.
2510
2511         * gui.c (get_callback): New function.
2512
2513 1998-05-15  SL Baur  <steve@altair.xemacs.org>
2514
2515         * window.c (have_undivided_common_edge): Guard scrollbar specific
2516         stuff.
2517         (window_needs_vertical_divider_1): Ditto.
2518
2519 1998-05-16  Hrvoje Niksic  <hniksic@srce.hr>
2520
2521         * emacs.c (decode_path): Eliminate compiler warning.
2522         (Fdecode_path): Renamed to Fsplit_path.
2523         (Fsplit_string_by_char): New function.
2524
2525 1998-05-14  Damon Lipparelli  <lipp@primus.com>
2526
2527         * winslots.h: close comment
2528
2529 1998-05-16  Kirill M. Katsnelson  <kkm@kis.ru>
2530
2531         * callproc.c: Removed declared and unused variable Qbuffer_file_type.
2532
2533         * bufslots.h: Removed buffer_file_type slot.
2534
2535         * buffer.c (complex_vars_of_buffer): Removed buffer_file_type from 
2536         buffer local flags.
2537         (complex_vars_of_buffer): Removed buffer-file-type variable and
2538         its default reference.
2539
2540 1998-05-15  Kirill M. Katsnelson  <kkm@kis.ru>
2541
2542         * faces.c (complex_vars_of_faces): Defined
2543         Vvertical_divider_face.
2544         (vars_of_faces): Staticpro it.
2545
2546         * faces.h: Externed Vvertical_divider_face.
2547
2548         * redisplay-x.c (x_output_vertical_divider): Use
2549         Vvertical_divider_face to draw the divider instead of modeline
2550         face.
2551
2552         * redisplay-msw.c (mswindows_output_vertical_divider): Draw
2553         divider face using Vvertical_divider_face background.
2554         Fix drawing spacing gaps around the divider.
2555
2556 1998-05-14  Didier Verna  <verna@inf.enst.fr>
2557
2558         * redisplay-x.c (x_output_vertical_divider): removed hard-wired
2559         values for the vertical divider line width and spacing. Use the
2560         cached values from the window structure instead.
2561         (x_divider_width): ditto.
2562
2563         * window.c (specifier_vars_of_window): new specifiers:
2564         vertical-divier -line-width and -spacing. 
2565         (vertical_divider_global_width_changed): formerly known as
2566         vertical_divider_shadow_thickness_changed. 
2567
2568         * winslots.h: new slots: vertical_specifier _line_width and
2569         _spacing. Plus corrected a comment typo.
2570
2571 1998-05-15  Kirill M. Katsnelson  <kkm@kis.ru>
2572
2573         * window.h: Declared window_divider_width().
2574
2575         * console-stream.c (stream_divider_width): Removed method.
2576         (console_type_create_stream): And declaration for it.
2577
2578         * redisplay.c (pixel_to_glyph_translation): Use
2579         window_divider_width() instead of divider_width redisplay method. 
2580         (pixel_to_glyph_translation): Fix top divider edge calculation
2581         when scrollbar is on top.
2582
2583         * window.c (window_divider_width): New function, an outphaser for
2584         divider_width redisplay method.
2585         (window_right_gutter_width): Use it.
2586         (specifier_vars_of_window): For vertical-divider-{spacing,line-width}
2587         specifiers, set fallback values differently on TTYs, and document
2588         the behavior of these on TTYs in the docstrings.
2589         
2590         * scrollbar.c (update_scrollbar_instance): Use
2591         window_divider_width() instead of divider_width redisplay method.
2592
2593         * console.h (struct console_methods): Removed divider_width_method.
2594
2595         * redisplay-tty.c (tty_divider_width): Removed device method.
2596         (console_type_create_redisplay_tty): Removed definition for it.
2597         (tty_output_vertical_divider): Respect the value returned by
2598         window_divider_width thus divider line width specification.
2599
2600         * redisplay-msw.c (mswindows_divider_width): Removed device method.
2601         (console_type_create_redisplay_mswindows): Removed definition for it.
2602         (mswinodws_output_vertical_divider): Respect the value returned by
2603         window_divider_width thus divider line width specification.
2604
2605 1998-05-15  Andy Piper  <andyp@parallax.co.uk>
2606
2607         * toolbar-msw.c: guess toolbar frame size a bit more accurately.
2608
2609 1998-05-15  Andy Piper  <andyp@parallax.co.uk>
2610
2611         * glyphs-msw.c: resource loading implementation.
2612         (cursor_normalize): new function.
2613         (cursor_validate): ditto.
2614         (cursor_instantiate): ditto.
2615         (cursor_name_to_resource): ditto.
2616         (cursor_possible_dest_types): ditto.
2617         (check_valid_symbol): ditto.
2618         (check_valid_string_or_int): ditto.
2619
2620 1998-05-14  Martin Buchholz  <martin@xemacs.org>
2621
2622         * sysdep.c (tty_init_sys_modes_on_device): Treat VSUSP just like
2623         VINTR and VQUIT.
2624
2625         * process-unix.c (process_signal_char): Use VSUSP instead of
2626         non-standard VSWTCH.  Always prefer VSUSP to VSWTCH.
2627
2628 1998-05-14  Kirill M. Katsnelson  <kkm@kis.ru>
2629
2630         * specifier.c (specifier_instance): Change locale precedence of
2631         instantiation so window locale has higher priority than buffer
2632         locale.
2633         (Fspecifier_instance): Reflect this in docstring.
2634         (Fadd_spec_list_to_specifier): Ditto.
2635         (Fadd_spec_to_specifier): Ditto.
2636         (Fremove_specifier): Ditto.
2637
2638 1998-05-15  Kirill M. Katsnelson  <kkm@kis.ru>
2639
2640         ** Dialog separation into a device method from Andy Piper
2641
2642         * emacs.c (main_1): Call console_type_create_dialog_x().
2643
2644         * dialog-x.c (x_popup_dialog_box): Old Fpopup_dialog_box converted 
2645         into this device method.
2646         (console_type_create_dialog_x): New function.
2647
2648         * dialog.c (Fpopup_dialog_box): New function.
2649         (syms_of_dialog): Defsubr it.
2650
2651         * console.h (struct console_methods): Declared
2652         popup_dialog_box_method(). 
2653
2654         * symsinit.h: Defined console_type_create_dialog_{x,mswindows}
2655
2656 1998-05-14  Oliver Graf <ograf@fga.de>
2657
2658         * dragdrop.c (vars_of_dragdrop): dragdrop-protocols created
2659         * frame-x.c (x_cde_transfer_callback): checked for merge errors
2660
2661 1998-05-13  Oliver Graf <ograf@fga.de>
2662
2663         * dragdrop.c (vars_of_dragdrop): provide dragdrop-api
2664
2665 1998-05-15  Kirill M. Katsnelson  <kkm@kis.ru>
2666
2667         * console.h (device_metrics): Removed dbcs, input-method-editor
2668         and right-to-left metrics.
2669
2670         * device.c (Fdevice_system_metric): Ditto.
2671         (Fdevice_system_metrics): Ditto.
2672         (syms_of_device): Ditto.
2673         (Fdevice_system_metric): Swapped DEVICE and METRIC parameters back
2674         again.
2675
2676 1998-05-14  Hrvoje Niksic  <hniksic@srce.hr>
2677
2678         * line-number.h (mark_line_number_cache): Remove unused
2679         declaration.
2680
2681         * line-number.c (LINE_NUMBER_FAR): Increase to 32768.
2682         (get_nearest_line_number): Simplify.
2683         (add_position_to_cache): Make the old marker point nowhere.
2684
2685 1998-05-14  Kirill M. Katsnelson  <kkm@kis.ru>
2686
2687         ** Renamed window-divider-map => vertical-divider-map
2688         and event-over-divider-p => event-over-vertical-divider-p,
2689         in the following files/functions:
2690         * events.h: 
2691         * events.c (Fevent_over_divider_p): 
2692         * keymap.c (get_relevant_keymaps): 
2693         (vars_of_keymap): 
2694
2695         * redisplay.h (OVER_V_DIVIDER): Renamed so from OVER_DIVIDER.
2696
2697         * redisplay.c (pixel_to_glyph_translation): Use OVER_V_DIVIDER.
2698
2699 1998-05-14  Kirill M. Katsnelson  <kkm@kis.ru>
2700
2701         * window.c (vertical_divider_changed_in_window): Renamed so.
2702         (specifier_vars_of_window): Defined Vvertical_divider_draggable_p.
2703         (window_needs_vertical_divider_1): Decide whether we need it based
2704         on the value of the above specifier. If separators are unwanted,
2705         put them only if there's no scrollbar between this window and its
2706         right neighbor.
2707         (have_undivided_common_edge): New function, helper for the above.
2708         (window_needs_vertical_divider): Return either a cached value,
2709         or clauclate and cache one.
2710         (invalidate_vertical_divider_cache_in_window): Implemented.
2711         (map_windows): Changed return type to int, return the value from
2712         MAPFUN.
2713
2714         * window.h: Prototype invalidate_vertical_divider_cache_in_window.
2715         (struct window): Added need_vertical_divider_p and
2716         need_vertical_divider_valid_p. 
2717
2718         * winslots.h: Added vertical_divider_draggable_p slot.
2719
2720         * scrollbar.c (vertical_scrollbar_changed_in_window): Implemented.
2721         (specifier_vars_of_scrollbar): Used it in all vertical specifiers.
2722
2723         * frame.c (invalidate_vertical_divider_cache_in_frame): New function.
2724
2725         * frame.h (MARK_FRAME_WINDOWS_STRUCTURE_CHANGED): Call
2726         invalidate_vertical_divider_cache_in_frame().
2727         Prototype it.
2728
2729 1998-05-14  Andy Piper  <andyp@parallax.co.uk>
2730
2731         * toolbar-msw.c: provide correct parameters to TB_SETROWS.
2732
2733         * glyphs-msw.c (mswindows_initialize_image_instance_mask): size
2734         masks correctly and don't select 0.
2735
2736 1998-05-14  Kirill M. Katsnelson  <kkm@kis.ru>
2737
2738         * winslots.h: New file, declaration of some struct window and
2739         struct saved_window members.
2740
2741         * window.h (struct window): Include it, with required preprocessor
2742         magic.
2743
2744         * window.c (mark_window): Ditto.
2745         (allocate_window): Ditto.
2746         (struct saved_window): Ditto.
2747         (mark_window_config): Ditto.
2748         (saved_window_equal): Ditto.
2749         (Fset_window_configuration): Ditto.
2750
2751 1998-05-14  Kirill M. Katsnelson  <kkm@kis.ru>
2752
2753         * redisplay-msw.c (mswindows_output_vertical_divider): Syntax fix.
2754
2755 1998-05-12  Didier Verna  <verna@inf.enst.fr>
2756
2757         * redisplay-x.c (x_output_vertical_divider): draw shadows around
2758         the divider line. The shadow thickness is currently
2759         hard-wired. This will probably be turned into a specifier soon.
2760
2761 1998-05-12  Didier Verna  <verna@inf.enst.fr>
2762
2763         * console.h (struct console_methods): the divider_width console
2764         method now requires a struct window * argument.
2765
2766         * redisplay-x.c (x_divider_width): ditto. Plus remove
2767         X_DIVIDER_WIDTH, X_DIVIDER_SHADOW_THICKNESS.
2768         (x_output_vertical_divider): give a depressed look when the shadow
2769         thickness is negative.
2770
2771         * console-stream.c (stream_divider_width): pass a struct window *
2772         argument. 
2773
2774         * redisplay-tty.c (tty_divider_width): ditto.
2775
2776         * window.c (window_right_gutter_width): totdi.
2777
2778         * redisplay.c (generate_modeline): ittod.
2779
2780         * scrollbar.c (update_scrollbar_instance): ttido.
2781         
2782         * redisplay-msw.c (mswindows_divider_width): ottid. 
2783         WARNING: this enables to compile, but the feature is not functional.
2784
2785         * window.h (struct window): new field
2786         vertical_divider_shadow_thickness. 
2787
2788         * window.c (specifier_vars_of_window): new specifier
2789         vertical-divider-shadow-thickness.
2790         (vertical_divider_shadow_thickness_changed): new function to
2791         inform redisplay that the window has changed.
2792         (mark_window): handle new field vertical_divider_shadow_thickness
2793         from struct window.
2794         (allocate_window): ditto.
2795         (saved_window_equal): toddi.
2796         (Fset_window_configuration): totid.
2797         (save_window_save): ttdio.
2798         (struct saved_window): new field vertical_divider_shadow_thickness.
2799
2800 1998-05-14  Kirill M. Katsnelson  <kkm@kis.ru>
2801
2802         * device-msw.c (mswindows_device_system_metrics): Support a deluge
2803         of metrics.
2804
2805 1998-05-12  Oliver Graf <ograf@fga.de>
2806
2807         * frame-x.c (x_cde_transfer_callback): fixed for the new protocol
2808         * event-Xt.c (x_event_to_emacs_event): C++ compability
2809
2810 1998-05-14  Hrvoje Niksic  <hniksic@srce.hr>
2811
2812         * emacs.c (Fdecode_path): Default SEPCHAR to value of
2813         path-separator.
2814
2815 1998-05-14  Hrvoje Niksic  <hniksic@srce.hr>
2816
2817         * emacs.c (vars_of_emacs): Do it here; change the meaning of
2818         Vpath_separator.
2819
2820         * fileio.c (vars_of_fileio): Don't define Vpath_separator here.
2821
2822 1998-05-14  Hrvoje Niksic  <hniksic@srce.hr>
2823
2824         * emacs.c (decode_path_1): New function.
2825         (decode_path): Use it.
2826         (Fdecode_path): Renamed from Fdecode_path_internal; use
2827         decode_path_1.
2828
2829 1998-05-12  Hrvoje Niksic  <hniksic@srce.hr>
2830
2831         * macros.c (Fzap_last_kbd_macro_event): New function.
2832         (Fend_kbd_macro): Remove REMOVE_LAST kludge.
2833
2834 1998-05-10  Andy Piper  <andyp@parallax.co.uk>
2835
2836         * redisplay-msw.c (mswindows_output_dibitmap_region): make sure
2837         multiple bitmaps are output vertically as well as horizontally.  
2838         * (mswindows_output_dibitmap): don't cope with bitmap boundaries
2839         crossing lines this is handled by
2840         mswindows_output_dibitmap_region.
2841
2842 1998-05-12  Martin Buchholz  <martin@xemacs.org>
2843
2844         * inline.c: Include eldap.h
2845
2846         * menubar-x.c (x_update_frame_menubar_internal): 
2847         Remove: unused variable `container'
2848
2849 1998-05-11  Martin Buchholz  <martin@xemacs.org>
2850
2851         * s/aix4.h: Allow AIX 4.3 XEmacs to compile cleanly.
2852         Unfortunately, the resulting temacs still cannot dump.
2853
2854         * symbols.c (symbol_is_constant): 
2855         (verify_ok_for_buffer_local): 
2856         -Wswitch Warning suppression - add default case to switches.
2857
2858         * redisplay.c (decode_mode_spec): Remove unused variables,
2859         Replace Fcoding_system_property (codesys, Qmnemonic) with
2860         XCODING_SYSTEM_MNEMONIC (codesys);
2861         Fcoding_system_property is for users.
2862
2863         * buffer.c:
2864         * fileio.c:
2865         * lread.c:
2866         * xselect.c:
2867         Change empty docstrings into no doc strings at all.
2868         Fix bogus FSF-format docstrings.
2869
2870         * extents.c:
2871         Standardize docstrings.
2872
2873         * floatfns.c:
2874         Explain problems with matherr.
2875
2876         * glyphs.c:  make DEFUNs etags-readable, i.e. single-line
2877
2878         * syssignal.h:
2879         if BROKEN_SIGIO, then SIGIO wants to be undefined.
2880         if SIGIO and not SIGPOLL, SIGPOLL wants to be SIGIO.\
2881         Fix the weird resultant interaction (causes windows problems)
2882
2883         * gdbinit:
2884         * dbxrc:
2885         Take new EMACSBOOTSTRAPLOADPATH into account.
2886         Update documentation strings
2887
2888         * Makefile.in.in:
2889         - Adjust for luser's CDPATH being set to something weird.
2890         - Take into account bash 2.02's tendency to print the cwd when
2891           using CDPATH.  Always use `cd ./foo' instead of `cd foo'.
2892         - fix the run-temacs target to use $(DUMPENV)
2893         - fix the run-puremacs target to use $(DUMPENV)
2894         - fix the `depend' target to properly $(RM) the right files
2895         - Generate a better TAGS file for XEmacs' lisp code using
2896           hand-crafted regexps.
2897         - Use standard coding conventions for modules/Makefile.in
2898
2899 1998-05-12  Didier Verna  <verna@inf.enst.fr>
2900
2901         * redisplay.c: removed the scrolling modeline code that didn't
2902         make it for 21.0. To be continued ... 
2903
2904 1998-05-13  Michael Sperber [Mr. Preprocessor]  <sperber@informatik.uni-tuebingen.de>
2905
2906         * emacs.c (Fdecode_path_internal): Removed bogus handling of nil
2907         and empty string inputs.
2908
2909 1998-05-12  Hrvoje Niksic  <hniksic@srce.hr>
2910
2911         * redisplay-x.c (x_output_vertical_divider): Fixed typo.
2912
2913 1998-05-10  Oliver Graf <ograf@fga.de>
2914
2915         * event-stream.c (enqueue_misc_user_event_pos): created
2916         * lisp.h (enqueue_misc_user_event_pos): prototype added
2917         * frame-x.c (x_cde_transfer_callback): debug code plus API changes
2918         * emacs.c: call vars_of_dragdrop
2919         * dragdrop.c (vars_of_dragdrop): provide dragdrop
2920
2921 1998-05-11  Oliver Graf <ograf@fga.de>
2922
2923         * frame-x.c (x_cde_transfer_callback): return at correct pos
2924         * event-Xt.c (x_event_to_emacs_event): changed format of drop
2925         object for MIME (see comment in dragdrop.c)
2926         * dragdrop.c: API change documented in comment
2927         removed provide of dragdrop [is provided by dragdrop.el]
2928
2929 1998-05-12  Kirill M. Katsnelson  <kkm@kis.ru>
2930
2931         * window.c (window_needs_vertical_divider): Enable vertical
2932         dividers for every non-rightmost window.
2933         (window_left_gutter_width): Left gutter consists of mythical
2934         toolbar and a virtual scrollbar.
2935         (window_right_gutter_width): The right one may have a divider
2936         also.
2937
2938         * scrollbar.c (update_scrollbar_instance): Position vertical
2939         scrollbar left to divider if the latter present.
2940
2941         * redisplay.h: Declared OVER_DIVIER constant.
2942
2943         * redisplay.c (pixel_to_glyph_translation): Handle OVER_DIVIDER
2944         case.
2945
2946         * redisplay-x.c (x_output_vertical_divider): Output divider along
2947         the right side of the window, down to window bottom. Swapped
2948         foreground and background colors so it is visible by default.
2949
2950         * redisplay-tty.c (tty_output_vertical_divider): Uncondiionally
2951         stick the divider to the right window side.
2952
2953         * redisplay-msw.c (mswindows_redisplay_deadbox_maybe): Fixed
2954         deadbox painting.
2955         (mswindows_divider_width): Ask system for user preferred value.
2956         (mswindows_output_vertical_divider): Always output the divider on
2957         the right side of a window, down to bottom.
2958
2959         * keymap.c (get_relevant_keymaps): Route mouse button events which 
2960         happened over a window divider through window-divider-map.
2961         (Fkey_binding): Documented that in the docstring.
2962         Defined the variable Vwindow_divider_map.
2963
2964         * events.c (Fevent_over_divider_p): Added this function.
2965
2966         * events.h: EXFUNed it.
2967
2968 1998-05-12  Kirill M. Katsnelson  <kkm@kis.ru>
2969
2970         * toolbar.c (update_frame_toolbars): Re-layout frame windows if
2971         toolbar geometry is suspected to change.
2972
2973 1998-05-11  Jonathan Harris  <jhar@tardis.ed.ac.uk>
2974
2975         * src/device-msw.c
2976         * src/event-msw.c
2977         Condition dnd and dde code on HAVE_DRAGNDROP.
2978
2979 1998-05-11  Hrvoje Niksic  <hniksic@srce.hr>
2980
2981         * events.c (format_event_object): Print space as SPC etc.
2982
2983 1998-05-11  Hrvoje Niksic  <hniksic@srce.hr>
2984
2985         * print.c (print_internal): In the default case, abort() if
2986         ERROR_CHECK_TYPECHECK.
2987
2988         * fileio.c (Fmake_temp_name): Doc fix.
2989
2990 1998-05-10  Hrvoje Niksic  <hniksic@srce.hr>
2991
2992         * xgccache.c (describe_gc_cache): Define only if DEBUG_XEMACS.
2993
2994         * undo.c (Fprimitive_undo): Fixed typo.
2995
2996 1998-05-11  Hrvoje Niksic  <hniksic@srce.hr>
2997
2998         * fns.c (concat): Signal error on integer argument.
2999
3000 1998-05-10  Kirill M. Katsnelson  <kkm@kis.ru>
3001
3002         * console.h (device_metrics): Prefixed each constatnt with DM_
3003
3004         * device.c: (Fdevice_system_metric): Renamed so from plural form
3005         (metrics); Changed parameters order and added DEFAULT parameter;
3006         Unabbreviated some metric constants; Fixed and untabified doc string.
3007         (Fdevice_system_metrics): Added. Returns a plist of all provided
3008         metrics. 
3009
3010         * device-msw.c (mswindows_device_system_metrics): Renamed
3011         device_metrics enum constants.
3012         Return Qunbound instead of Qnil.
3013
3014         * device-tty.c (tty_device_system_metrics): Ditto.
3015
3016         * device-x.c (x_device_system_metrics): Ditto.
3017
3018 1998-05-10  Andy Piper  <andyp@parallax.co.uk>
3019
3020         * redisplay-msw.c: implement background pixmaps (really!). Make
3021         sure bg color is transparent if we have bg pmaps.
3022         * (mswindows_output_string) (mswindows_clear_region): output bg
3023         pmap if required.
3024         * (mswindows_output_dibitmap_region): new function.
3025         * (mswindows_output_dibitmap): output offset pixmaps, blt masks in
3026         the bg color rather than transparently.
3027
3028         * toolbar-msw.c: use masks if they exist.
3029
3030         * glyphs-msw.c: set up masks correctly.
3031
3032         * event-msw.c: typedef SOCKET if cygwin and not msg select().
3033
3034 1998-05-10  Hrvoje Niksic  <hniksic@srce.hr>
3035
3036         * regex.c (re_match_2_internal): Check for quit.
3037
3038 1998-05-10  Hrvoje Niksic  <hniksic@srce.hr>
3039
3040         * frame.c (Ffocus_frame): New function.
3041