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