0e2805ac3c8ae91a7793337f09dc381ec571b3f1
[chise/xemacs-chise.git.1] / src / ChangeLog
1 1999-06-22  XEmacs Build Bot <builds@cvs.xemacs.org>
2
3         * XEmacs 21.2.17 is released
4
5 1999-06-13  Oscar Figueiredo  <oscar@xemacs.org>
6
7         * config.h.in (HAVE_LDAP_SET_OPTION): New define
8         (HAVE_LDAP_GET_LDERRNO): Ditto
9         (HAVE_LDAP_RESULT2ERROR): Ditto
10         (HAVE_LDAP_PARSE_RESULT): Ditto
11         (HAVE_UMICH_LDAP): Removed
12         (HAVE_NS_LDAP): Removed
13
14         * eldap.h (struct Lisp_LDAP): Removed the `livep' member as  
15         suggested by Olivier Galibert
16         (CHECK_LIVE_LDAP): Test on `ld' instead of `livep'
17
18         * eldap.c: Take the removal of `livep' into account in all the
19         necessary functions
20         (signal_ldap_error): Take two additional parameters
21         Added new finer compilation conditions in order to use
22         ldap_parse_result or ldap_result2error if available
23         (Fldap_open): Conform to this new API
24         (Fldap_search_internal): Ditto
25
26 1999-06-17  SL Baur  <steve@miho.m17n.org>
27
28         * data.c (struct int_or_double): Should use EMACS_INT not int.
29
30 1999-06-16  Norbert Koch  <n.koch@eai-delta.de>
31
32         * redisplay-msw.c: Run 'ccl_driver' with 'CCL_MODE_ENCODING' as in 
33         redisplay-x.c
34
35 1999-06-12  MORIOKA Tomohiko  <tomo@etl.go.jp>
36
37         * redisplay-x.c (separate_textual_runs): Run `ccl_driver' with
38         `CCL_MODE_ENCODING'.
39
40         * file-coding.c (mule_decode): Run `ccl_driver' with
41         `CCL_MODE_DECODING'.
42         (mule_encode): Run `ccl_driver' with `CCL_MODE_ENCODING'.
43
44         * mule-ccl.c (CCL_WRITE_CHAR): Refer `conversion_mode'.
45         (ccl_driver): Add new argument `conversion_mode'.
46         (Fccl_execute): Run `ccl_driver' with `CCL_MODE_ENCODING'.
47         (Fccl_execute_on_string): Likewise [perhaps it is better to add
48         new optional argument].
49
50         * mule-ccl.h (CCL_MODE_ENCODING): New macro.
51         (CCL_MODE_DECODING): New macro.
52         (ccl_driver): Add new argument `conversion_mode'.
53
54 1999-06-15  SL Baur  <steve@miho.m17n.org>
55
56         * mule-charset.c (Fsplit_char): New subr.
57         (Fchar_octet): delete.
58         (syms_of_mule_charset): DEFSUBR it.
59
60 1999-06-13  Andy Piper  <andy@xemacs.org>
61
62         * menubar.h: update declarations involving gui_items.
63
64         * lisp.h: declare Lisp_Gui_Item.
65
66         * glyphs.h (struct Lisp_Image_Instance): update type of gui_item.
67
68         * glyphs.c (mark_image_instance): modify for new lisp-based gui_items.
69         (print_image_instance): ditto.
70         (image_instance_equal): ditto.
71         (image_instance_hash): ditto.
72
73         * event-msw.c (mswindows_need_event): assert badly_p status.
74         (mswindows_wnd_proc): modify WM_NOTIFY handling to cope with
75         callbacks in tree-view and tab-control widgets.
76         (emacs_mswindows_next_event): modify use of
77         mswindows_dequeue_dispatch_event.
78
79         * dialog-msw.c (mswindows_popup_dialog_box): modify for new
80         lisp-based gui_items.
81
82         * glyphs-msw.c (mswindows_update_subwindow): update use of
83         gui_items.
84         (mswindows_register_gui_item): new function.
85         (mswindows_register_gui_item): fix to use lisp gui_items.
86         (mswindows_widget_instantiate): ditto.
87         (mswindows_button_instantiate): ditto.
88         (add_tree_item): new function to recursively add tree view
89         elements.
90         (add_tree_item_list): ditto.
91         (mswindows_tree_instantiate): new function. instantiate tree view
92         controls.
93         (add_tab_item): new function to add tabs to a tab control.
94         (mswindows_tab_instantiate): new function. instantiate tab
95         controls.
96         (image_instantiator_format_create_glyphs_mswindows): add tree view
97         and tab controls.
98         (vars_of_glyphs_mswindows): ditto.
99
100         * glyphs-widget.c (check_valid_item_list_1): allow nested lists in
101         item lists.
102         (check_valid_item_list): ditto.
103         (initialize_widget_image_instance): fix to use new lisp gui_item.
104         (widget_instantiate_1): allow the setting of default textwidth in
105         characters.
106         (widget_instantiate): change to use new widget_instantiate_1
107         signature.
108         (combo_instantiate): ditto.
109         (static_instantiate): ditto.
110         (tab_instantiate): new function for tab widgets.
111         (image_instantiator_format_create_glyphs_widget): add tab and tree
112         view widgets.
113
114         * menubar-msw.c (displayable_menu_item): convert to use lisp
115         gui_items.
116         (populate_menu_add_item): ditto.
117         (populate_or_checksum_helper): ditto.
118
119         * menubar.c (menu_parse_submenu_keywords): convert to use lisp
120         gui_items.
121         (Fmenu_find_real_submenu): ditto.
122
123         * gui.h (struct Lisp_Gui_Item): make gui_item a lisp oebjct.
124
125         * gui.c (gui_item_add_keyval_pair): gui_items are now lisp
126         objects, convert functions that use them accordingly.
127         (gui_item_init): ditto.
128         (gui_item_active_p): ditto.
129         (gui_item_selected_p): ditto.
130         (gui_item_included_p): ditto.
131         (gui_item_display_flush_left): ditto.
132         (gui_item_display_flush_right): ditto.
133         (mark_gui_item): ditto.
134         (allocate_gui_item): new function to create a gui_item.
135         (make_gui_item_from_keywords_internal): ditto. create and return a
136         gui_item as well as setting keywords.
137         (gui_parse_item_keywords): ditto.
138         (gui_parse_item_keywords_no_errors): ditto.
139         (gui_add_item_keywords_to_plist): new function, not yet used.
140         (gui_item_hash): new function.
141         (gui_item_id_hash): use gui_item_hash.
142         (gui_item_equal): new function.
143         (print_gui_item): new function.
144
145 1999-06-11  XEmacs Build Bot <builds@cvs.xemacs.org>
146
147         * XEmacs 21.2.16 is released
148
149 1999-06-10  Andy Piper  <andy@xemacs.org>
150
151         * select-msw.c (mswindows_own_selection): only set the clipboard
152         if asked.
153         (mswindows_get_foreign_selection): only get the clipboard if
154         asked.
155         (mswindows_disown_selection): only disown the clipboard if asked.
156
157 1999-06-03  MORIOKA Tomohiko  <tomo@etl.go.jp>
158
159         * file-coding.c (coding_system_from_mask): Use `raw-text' instead
160         of `no-conversion'.
161         (complex_vars_of_mule_coding): Use `raw-text' as the coding-system
162         of coding-category `no-conversion'.
163
164 1999-06-03  MORIOKA Tomohiko  <tomo@etl.go.jp>
165
166         * file-coding.c (Qraw_text): New variable.
167         (syms_of_mule_coding): Add new symbol `raw-text'.
168         (complex_vars_of_mule_coding): Add new coding-system `raw-text';
169         define coding-system `binary' independently; define coding-system
170         `no-conversion' as an alias for `raw-text'.
171
172         * file-coding.h (Qraw_text): New variable.
173
174 1999-06-08  SL Baur  <steve@xemacs.org>
175
176         * s/decosf4-0.h: Explicitly #undef SYSTEM_MALLOC.
177
178 1999-06-06  Hrvoje Niksic  <hniksic@srce.hr>
179
180         * fns.c (MIME_LINE_LENGTH): Default to 72, as in mimencode and
181         base64.el.
182         (base64_decode_1): Signal errors instead of returning -1.
183
184 1999-06-07  Hrvoje Niksic  <hniksic@srce.hr>
185
186         * mule-charset.c (Fmake_char): Update docstring.
187
188 1999-06-07  Hrvoje Niksic  <hniksic@srce.hr>
189
190         * fns.c (Fstring_lessp): Actually increment the Bufbyte pointers.
191
192 1999-06-05  Hrvoje Niksic  <hniksic@srce.hr>
193
194         * fns.c (base64_decode_1): Allow and ignore any non-base64
195         characters in input.
196
197 1999-05-27  Olivier Galibert  <galibert@pobox.com>
198
199         * emacs.c (Fdump_emacs): Add clear_message() lost with the removal
200         of report_pure_usage().
201
202 1999-06-04  Hrvoje Niksic  <hniksic@srce.hr>
203
204         * fns.c (Fstring_lessp): Remove O(n^2) under Mule.
205
206 1999-06-04  XEmacs Build Bot <builds@cvs.xemacs.org>
207
208         * XEmacs 21.2.15 is released
209
210 1999-06-01  Hirokazu FUKUI  <fukui@atesoft.advantest.co.jp>
211
212         * frame.c (Fset_mouse_position):
213         (Fset_mouse_pixel_position):
214         * window.c (Fsplit_window):
215         (Fmove_to_window_line):
216         Fix crash when invoking functions with an already-deleted window
217         argument.
218
219         * indent.c (vertical_motion_1):
220         (vmotion_pixels):
221         (Fvertical_motion_pixels):
222         * window.c (Fwindow_displayed_text_pixel_height):
223         Fix error message when invoking functions with an already-deleted
224         window argument.
225
226 1999-06-01  Jan Vroonhof  <vroonhof@math.ethz.ch>
227
228         * sysdep.c (request_sigio_on_device): Guard against glibc
229         2.1's stub streams implementation.
230
231 1999-06-03  SL Baur  <steve@xemacs.org>
232
233         * config.h.in:
234         * emacs.c:  Implement x.y.z version numbers
235         From Jan Vroonhof <vroonhof@math.ethz.ch>
236
237 1999-05-20  MORIOKA Tomohiko  <tomo@etl.go.jp>
238
239         * mule-charset.c (complex_vars_of_mule_charset): Registry of
240         japanese-jisx0208-1978 should not match with "jisx0208.1983" nor
241         "jisc6226.1983".
242
243 1999-06-03  SL Baur  <steve@xemacs.org>
244
245         * frame-x.c:
246         * device-x.c: rename session option to wmcommand.
247         From Oliver Graf <ograf@rhein-zeitung.de>
248
249 1999-05-27  Hrvoje Niksic  <hniksic@srce.hr>
250
251         * fns.c (Fsubstring): Don't traverse the same region twice with
252         charcount_to_bytecount().
253
254 1999-06-03  SL Baur  <steve@steve1.m17n.org>
255
256         * m/alpha.h (SYSTEM_MALLOC): Fix indented preprocessor directive
257         garbage.
258
259         * s/decosf4-0.h: Defining ORDINARY_LINK here is redundant (and it
260         doesn't really work as is implied by the commentary).
261         Don't define SYSTEM_MALLOC so the old GNU malloc can be used.
262
263 1999-06-02  SL Baur  <steve@steve1.m17n.org>
264
265         * symsinit.h: Declare vars_of_ntproc.
266         * emacs.c (main_1): Call it.
267
268         * ntproc.c (syms_of_ntproc): Move variable initializations from
269         here ...
270         (vars_of_ntproc): ... to here [new function].
271
272         * file-coding.c (syms_of_file_coding): Rename.
273         (vars_of_file_coding): Ditto.
274         (complex_vars_of_file_coding): Ditto.
275
276         * symsinit.h: Rename *_mule_coding to *_file_coding.
277
278         * emacs.c (main_1): Call them by the proper name.
279
280         * device-msw.c (syms_of_device_mswindows): Move variable
281         initializations from here ...
282         (vars_of_device_mswindows): ... to here.
283
284         * chartab.c (vars_of_chartab): New function.
285
286         * symsinit.h: New function, vars_of_chartab.
287
288         * emacs.c (main_1): Call it.
289
290         * mule-canna.c (syms_of_mule_canna): Move CANNA initialization ...
291         (vars_of_mule_canna): ... to here.
292
293         * mule-ccl.c (vars_of_mule_ccl): New function.  Move variable
294         initializations out of syms_of_mule_ccl.
295
296         * symsinit.h: Declare new function vars_of_mule_ccl.
297
298         * emacs.c (main_1): Call it.
299
300 1999-05-27  Hrvoje Niksic  <hniksic@srce.hr>
301
302         * fns.c (base64_decode_1): Ignore whitespace.
303
304 1999-05-27  Hrvoje Niksic  <hniksic@srce.hr>
305
306         * mule-charset.c (Fmake_char): Strip the eighth bit off ARG1 and
307         ARG2.
308
309 1999-05-21  Andy Piper  <andy@xemacs.org>
310         
311         * xselect.c: deleted.
312         
313         * symsinit.h: declare select initialisation.
314
315         * select.h: new file. declare commonly used select functions and
316         variables.
317
318         * select.c: new file. generalised from xselect.c.
319         (clean_local_selection_data): moved from xselect.c.
320         (get_local_selection): ditto. device specific pieces called via a
321         devmeth.
322         (handle_selection_clear): ditto.
323         (Fown_selection_internal): renamed and generalised from
324         Fx_own_selection_internal. moved from xselect.c.
325         (Fdisown_selection_internal): ditto.
326         (Fselection_owner_p): ditto.
327         (Fselection_exists_p): ditto.
328         (Fget_selection_internal): ditto.
329         (syms_of_select): new function. QXXXX values moved from xselect.c
330         (vars_of_select): new function. selection_converter_alist,
331         lost_selection_hooks moved and renamed from xselect.c
332
333         * select-x.c: renamed from xselect.c.
334         (x_own_selection): converted to device specific. non-X-specific
335         bits moved to select.c.
336         (x_get_foreign_selection): ditto.
337         (x_disown_selection): ditto.
338         (x_selection_exists_p): ditto.
339         (console_type_create_select_x): new function.
340
341         * select-msw.c (mswindows_own_selection): new device method to set
342         the clipboard when we 'own' the selection.
343         (mswindows_get_foreign_selection): new device method to get the
344         clipboard.
345         (mswindows_disown_selection): new device method to delete the
346         selection when we 'disown' it.
347         (console_type_create_select_mswindows): new function.
348
349         * emacs.c (main_1): add select to things to initialise.
350
351         * console.h (struct console_methods): new console methods for
352         selection.
353
354         * Makefile.in.in (x_objs): xselect.c renamed to select-x.c
355
356 1999-05-20  Hrvoje Niksic  <hniksic@srce.hr>
357
358         * print.c (long_to_string): Install a faster version.
359
360 1999-05-16  Andy Piper  <andy@xemacs.org>
361
362         * ntproc.c (syms_of_ntproc): default
363         win32-start-process-share-console to t.
364
365 1999-05-14  Hrvoje Niksic  <hniksic@srce.hr>
366
367         * config.h.in: Do it here.
368
369         * bytecode.c: Don't define ERROR_CHECK_TYPECHECK here.
370
371 1999-05-14  Andy Piper  <andy@xemacs.org>
372
373         * toolbar-msw.c (mswindows_output_toolbar): hash on something
374         hashable.
375
376 1999-05-14  XEmacs Build Bot <builds@cvs.xemacs.org>
377
378         * XEmacs 21.2.14 is released
379
380 1999-05-12  Andy Piper  <andy@xemacs.org>
381
382         * ntproc.c (sys_spawnve): kludge argv[0] in a MS compatible way.
383
384 1999-05-11  Gunnar Evermann  <ge204@eng.cam.ac.uk>
385
386         * emacs.c (Frun_emacs_from_temacs): (re)alloc natgs+2 entries for
387         run_temacs_argv array -- fixes random memory corruption crash
388
389 1999-05-12  Jan Vroonhof  <vroonhof@math.ethz.ch>
390
391         * window.c (Fcurrent_window_configuration):
392         Save minibuffer height;
393
394         * window.c (set_window_configuration): use it.
395
396 1999-05-10  Robert Pluim  <rpluim@bigfoot.com>
397
398         * lisp.h (NNUNGCPRO): fix typo in name of DEBUG_GCPRO version
399
400 1999-04-21  Jan Vroonhof  <vroonhof@math.ethz.ch>
401
402         * redisplay.c (redisplay_window): Do not put data
403         in the line start cache if it is not guaranteed to be correct
404
405 1999-04-02  Jan Vroonhof  <vroonhof@math.ethz.ch>
406
407         * window.c (struct window_config): Removed frame
408         size members.
409         (window_config_equal): No longer compare frame sizes.
410         (Fset_window_configuration): Resize old top window to fit in the
411         current frame directly, no longer use a fake frame resize.
412         (Fcurrent_window_configuration): No longer save frame size
413
414 1999-05-11  Andy Piper  <andy@xemacs.org>
415
416         * ntproc.c (sys_spawnve): actually assign argv[0] instead of the
417         first character.
418
419 1999-05-10  Hrvoje Niksic  <hniksic@srce.hr>
420
421         * sysdep.c (init_system_name): If gethostname gives a proper
422         domain name, don't look further for one.
423
424 1999-05-09  Hrvoje Niksic  <hniksic@srce.hr>
425
426         * symbols.c (Fintern): Avoid frequent XSYMBOL (foo).
427         (Fintern_soft): Accept a symbol argument.
428
429 1999-05-06  Hrvoje Niksic  <hniksic@srce.hr>
430
431         * symbols.c (Fintern): ...do it here.
432
433         * lread.c (read_atom): Don't handle keywords here.
434
435 1999-05-06  Hrvoje Niksic  <hniksic@srce.hr>
436
437         * symbols.c (reject_constant_symbols): Just use SYMBOL_IS_KEYWORD.
438
439 1999-05-03  Olivier Galibert  <galibert@pobox.com>
440
441         * lisp.h (SYMBOL_IS_KEYWORD): A symbol can be a keyword only if it
442         is interned in the main obarray.
443
444 1999-04-23  Gunnar Evermann  <ge204@eng.cam.ac.uk>
445         
446         * menubar-x.c (pre_activate_callback): set accelerator field in
447         "No menu" entries to nil. Avoid crash in
448         command_builder_operate_menu_accelerator
449
450 1999-05-03  Olivier Galibert  <galibert@pobox.com>
451
452         * symeval.h (symbol_value_forward_lheader_initializer): Ditto.
453
454         * lisp.h (DEFUN): Fix lrecord header initialisation.
455
456 1999-05-02  Andy Piper  <andy@xemacs.org>
457
458         * objects-msw.c (mswindows_font_instance_truename): add a ';'.
459
460         * ntproc.c (sys_kill): cast using MS mandated defines.
461
462 1999-04-29  Andy Piper  <andy@xemacs.org>
463
464         * m/intel386.h: remove redundant definitions.
465
466         * s/mingw32.h: new header for mingw32.
467         
468         * unexnt.c: (open_input_file): function moved to nt.c.
469         (close_file_data): ditto.
470         (rva_to_section): function moved to ntproc.
471
472         * symsinit.h: declare syms_of_ntproc();
473         
474         * objects-msw.c (mswindows_font_instance_truename): new function.
475
476         * ntproc.c: remove many warnings.
477         (_sys_read_ahead): moved from nt.c and made static.
478         (rva_to_section): moved from unexnt.c but not defined under
479         mingw32.
480         (win32_executable_type): implement what we can for mingw32
481         headers.
482         (sys_spawnve): fix bad MULE/GCPRO bug in filename handling.
483
484         * ntheap.h: remove declarations of functions that are now static.
485         
486         * ntheap.c: support static heap.
487
488         * nt.h: conditionalise X_OK definition.
489
490         * nt.c: eliminate many warnings and support mingw32.
491         (open_input_file): function moved from unexnt.c and made static
492         (close_file_data): ditto.
493         (_sys_read_ahead): moved to ntproc.c
494
495         * emacs.c: make sure syms_of_ntptroc gets called under windows.
496         
497         * console-msw.h: support mingw32.
498         * getloadavg.c: ditto.
499         * ntplay.c: ditto.
500         * sysdep.c: ditto.
501         * sysdir.h: ditto.
502         * systime.h: ditto.
503         * systty.h: ditto.
504
505         * config.h.in: dont turn on DEBUG_ENCAPSULATION by default because
506         some systems don't have all of the encapsulated system calls.
507         
508         * callproc.c: warning elimination.
509         * dired-msw.c: ditto.
510         * process-nt.c: ditto.
511         * realpath.c: ditto.
512         
513         * Makefile.in.in: tweak : and ; for building under mswindows.
514         
515 1999-04-26  Michael Harnois  <mharnois@willinet.net>
516
517         * eldap.c (allocate_ldap): Adapt to the new semantics of
518         alloc_lcrecord_type().
519
520 1999-03-16  MORIOKA Tomohiko  <tomo@etl.go.jp>
521
522         * file-coding.c (DECODE_HANDLE_END_OF_CONVERSION): fixed.
523
524 1998-09-04  MORIOKA Tomohiko  <morioka@jaist.ac.jp>
525
526         * Delete mule-coding.c and mule-coding.h because they are not
527         used.
528
529 1999-04-22  Gunnar Evermann  <ge204@eng.cam.ac.uk>
530
531         * objects.c (print_font_instance): Check for NILP(f->device),
532         i.e. Vthe_null_font_instance.
533         (font_instance_truename_internal): ditto.
534         (Ffont_instance_properties): ditto.
535
536 1999-04-22  Olivier Galibert  <galibert@pobox.com>
537
538         * lrecord.h (DECLARE_LRECORD): lrecord_implementation isn't an
539         array anymore.
540
541 1999-04-22  Hrvoje Niksic  <hniksic@srce.hr>
542
543         * Makefile.in.in (tests): Don't mention tests explicitly -- makes
544         it easier to add new ones.
545
546 1999-04-22  Hrvoje Niksic  <hniksic@srce.hr>
547
548         * symbols.c (reject_constant_symbols): Ditto.
549         (init_symbols_once_early): Ditto.
550
551         * print.c (print_symbol): Don't use ->obarray.
552
553         * symbols.c (Funintern): Ditto.
554
555         * alloc.c (Fmake_symbol): Don't set ->obarray.
556
557         * lisp.h (struct Lisp_Symbol): Removed .obarray field.
558
559         * symbols.c (init_symbols_once_early): Removed
560         Vpure_uninterned_symbol_table.
561         (Fintern): Don't store to ->obarray field.
562
563 1999-04-22  Hrvoje Niksic  <hniksic@srce.hr>
564
565         * data.c (vars_of_data): Default debug_issue_ebola_notices to 0.
566         (eq_with_ebola_notice): Remove abracadabra support.
567
568 1999-04-11  Oscar Figueiredo  <Oscar.Figueiredo@di.epfl.ch>
569
570         * eldap.c (Fldap_search_internal): Add a new parameter `withdn' to
571         retrieve the distinguished names of entries
572
573 1999-03-08  Martin Buchholz  <martin@xemacs.org>
574
575         * lread.c (read_escape): Make hex escapes read only two hex digits.
576
577 1999-04-05  Olivier Galibert  <galibert@pobox.com>
578
579         * Makefile.in.in: Remove puresize-adjust.h and recursive makes.
580         * make-src-depend: Remove puresize-adjust.h.
581         * src-headers: Remove puresize-adjust.h.
582         * config.h.in: Kill everything purespace/gung-ho related.
583
584         * dbxrc: Make gung-ho mandatory.
585         * gdbinit: Ditto.
586
587         * lrecord.h: Make gung-ho mandatory.  Remove pure flag and add
588         c_readonly and lisp_readonly.  Remove implementation arrays.
589         (C_READONLY_RECORD_HEADER_P): Added.
590         (LISP_READONLY_RECORD_HEADER_P): Added.
591         (SET_C_READONLY_RECORD_HEADER): Added.
592         (SET_LISP_READONLY_RECORD_HEADER): Added.
593
594         * lisp.h: Kill everything purespace/non gung-ho related.
595         (CHECK_C_WRITEABLE): Added.
596         (CHECK_LISP_WRITEABLE): Added.
597         (C_READONLY): Added.
598         (LISP_READONLY): Added.
599
600         * lisp-union.h: Make gung-ho mandatory.
601         * lisp-disunion.h: Ditto.
602
603         * alloc.c: Kill everything purespace/non  gung-ho related. Fix all
604         set_lheader_implementation calls.
605         (c_readonly): Added.
606         (lisp_readonly): Added.
607         (make_string_nocopy): Added.
608         (Fpurecopy):  Changed to do  nothing.   Kept the old documentation
609         for reference purposes for the next patches.
610         (sweep_lcrecords_1): Don't free C readonly lcrecords.
611         (sweep_bit_vectors_1): Don't free C readonly bitvectors.
612         (SWEEP_FIXED_TYPE_BLOCK): Don't free C readonly lrecords.
613
614         * fns.c: Make gung-ho mandatory.
615         (Fput): CHECK_IMPURE -> CHECK_LISP_WRITEABLE.
616         (Fremprop): Ditto.
617         (Ffillarray): Ditto.
618
619         * data.c: Make gung-ho mandatory.
620         (pure_write_error): Removed.
621         (c_write_error): Added.
622         (lisp_write_error): Added.
623         (Fsetcar): CHECK_IMPURE -> CHECK_LISP_WRITEABLE.
624         (Fsetcdr): Ditto.
625         (Faset): Ditto.
626
627         * symbols.c: Make gung-ho mandatory.  make_pure_pname ->
628                   make_string or make_string_nocopy.  Fix various
629                   alloc_lcrecord_type.
630         
631         * lread.c: Remove everything purespace related.
632         (Flocate_file_clear_hashing): purified -> c_readonly.
633         (locate_file): Ditto.
634         (read_atom): make_pure_pname -> make_string.
635
636         * emacs.c (Frun_emacs_from_temacs): Remove purespace stats
637                   reporting.
638         (Fdump_emacs): Ditto.
639
640         * print.c (print_internal): Make gung-ho mandatory.
641         * ntheap.c (sbrk): Ditto.
642         * mem-limits.h (EXCEEDS_LISP_PTR): Ditto
643         * symeval.h (symbol_value_forward_lheader_initializer): Ditto.
644
645         * sheap.c (more_static_core): Remove puresize-adjust.h from
646                   message.
647
648         * syntax.c (complex_vars_of_syntax): make_pure_string ->
649                   make_string_nocopy.
650         * keymap.c (make_keymap): Fix alloc_lcrecord_type.
651         (vars_of_keymap): make_pure_string -> make_string_nocopy.
652         * events.c (deinitialize_event): Fix set_lheader_implementation.
653         (zero_event): Ditto.
654         * specifier.c (make_specifier_internal): Fix alloc_lcrecord.
655         * menubar-x.c (set_frame_menubar): Fix alloc_lcrecord_type.
656         * mule-charset.c (make_charset): Ditto.
657         * console.c (allocate_console): Ditto.
658         (complex_vars_of_console): Ditto.
659         * file-coding.c (allocate_coding_system): Ditto.
660         * device.c (allocate_device): Ditto
661         * gui-x.c (gcpro_popup_callbacks): Ditto.
662         * extents.c (allocate_extent_auxiliary): Ditto.
663         (allocate_extent_info): Ditto.
664         (copy_extent): Ditto.
665         * glyphs.c (allocate_image_instance): Ditto.
666         (allocate_glyph): Ditto.
667         * frame.c (allocate_frame_core): Ditto.
668         * database.c (allocate_database): Ditto.
669         * tooltalk.c (make_tooltalk_message): Ditto.
670         (make_tooltalk_pattern): Ditto.
671         * rangetab.c (Fmake_range_table): Ditto.
672         (Fcopy_range_table): Ditto.
673         * process.c (make_process_internal): Ditto.
674         * chartab.c (Fmake_char_table): Ditto.
675         (make_char_table_entry): Ditto.
676         (copy_char_table_entry): Ditto.
677         (Fcopy_char_table): Ditto.
678         * elhash.c (make_general_lisp_hash_table): Ditto.
679         (Fcopy_hash_table): Ditto.
680         * buffer.c (allocate_buffer): Ditto.
681         (complex_vars_of_buffer): Ditto.
682         * event-stream.c (allocate_command_builder): Ditto.
683         * objects.c (Fmake_color_instance): Ditto.
684         (Fmake_font_instance): Ditto.
685         (vars_of_objects): Ditto.
686         * toolbar.c (update_toolbar_button): Ditto.
687         * window.c (allocate_window): Ditto.
688         (make_dummy_parent): Ditto.
689         (Fcurrent_window_configuration): Fix alloc_lcrecord.
690         (vars_of_window): Fix make_lcrecord_list.
691         * faces.c (allocate_face): Fix alloc_lcrecord_type. pure_list ->
692                   Flist.
693         * lstream.c (Lstream_new): Fix make_lcrecord_list.
694         * opaque.c (make_opaque): Fix alloc_lrecord.
695         (make_opaque_list): Fix alloc_lrecord_type.
696
697 1999-04-19  Hrvoje Niksic  <hniksic@srce.hr>
698
699         * process.c (Fstart_process_internal): Ditto.
700
701         * ntproc.c (sys_spawnve): Use Vlisp_EXEC_SUFFIXES when calling
702         locate_file().
703
704         * glyphs-x.c (x_locate_pixmap_file): Ditto.
705
706         * glyphs-msw.c (mswindows_locate_pixmap_file): Fix call to
707         locate_file().
708
709         * emodules.c (vars_of_module): New variable Vmodule_extensions.
710         (emodules_load): Use it when calling locate_file().
711
712         * emacs.c (main_1): Use Vlisp_EXEC_SUFFIXES when calling
713         locate_file().
714
715         * callproc.c: Vlisp_EXEC_SUFFIXES: New variable.
716         (vars_of_callproc): Initialize it.
717         (Fcall_process_internal): Use it when calling locate_file().
718
719         * alloc.c (disksave_object_finalization): Use
720         Flocate_file_clear_hashing().
721
722         * lread.c (Flocate_file_clear_hashing): Clear all hasing when
723         given `t' as argument.
724
725 1999-04-18  Hrvoje Niksic  <hniksic@srce.hr>
726
727         * lread.c (locate_file): Expand `pathel' when appropriate.
728         (Flocate_file_clear_hashing): Expand path elements.
729         (Flocate_file_clear_hashing): Use Vlocate_file_hash_table.
730
731         * dired.c (make_directory_hash_table): Create the hash-table only
732         if the directory open is successful.
733
734         * lread.c (decode_mode_1): New function.
735         (decode_mode): Ditto.
736         (Flocate_file): Use them.
737         (Flocate_file): Expand FILENAME.
738         (locate_file_map_suffixes): New function.
739         (locate_file_in_directory_mapper): New function.
740         (locate_file_in_directory): Use locate_file_in_directory_mapper()
741         and locate_file_map_suffixes().
742         (locate_file_construct_suffixed_files): Use
743         locate_file_map_suffixes().
744         (locate_file_without_hash): Don't GCPRO path.
745         (Flocate_file_clear_hashing): Use EXTERNAL_LIST_LOOP.
746         (syms_of_lread): Remove Qlocate_file_hash_table.
747         (locate_file_find_directory_hash_table): Use
748         Vlocate_file_hash_table.
749         (locate_file_refresh_hashing): Ditto.
750
751         * lread.c: Renamed read_objects to Vread_objects.
752
753 1999-04-16  Olivier Galibert  <galibert@pobox.com>
754
755         * mule-charset.c: Generally resync with fsf 20.3 charset
756         interface.
757         (make_charset): Add long and short name.  Use id instead of
758         leading byte.
759         (Fmake_charset): Ditto.
760         (Fmake_reverse_direction_charset): Ditto.
761         (Fcharset_property): Ditto.
762         (Fcharset_short_name): Added.
763         (Fcharset_long_name): Added.
764         (Fcharset_description): Renamed from charset-doc-string.
765         (syms_of_mule_charset): Synced symbols.
766         (complex_vars_of_mule_charset): Synced charsets.
767
768         * mule-charset.h: Removed leading byte (uses id instead), added
769         short and long name.
770
771 1999-04-15  Hrvoje Niksic  <hniksic@srce.hr>
772
773         * file-coding.c (Fdefine_coding_system_alias): New function.
774
775 1999-04-08  Olivier Galibert  <galibert@pobox.com>
776
777         * mule-charset.c (complex_vars_of_mule_charset): Allow all iso8859
778         and -ascii fonts for displaying ascii instead of iso8859-1 only.
779
780 1998-12-14  Hrvoje Niksic  <hniksic@srce.hr>
781
782         * extents.c (set_extent_glyph_1): Make sure that the glyph we
783         attach to the extent is valid.
784
785 1998-12-12  Hrvoje Niksic  <hniksic@srce.hr>
786
787         * dired.c (user_name_completion): Mule-ize.
788         (user_name_completion): Use xmalloc/xrealloc/xfree.
789         (user_name_completion): Use DO_REALLOC.
790         (user_name_completion): Cut down the number of static variables;
791         use a structure.
792         (user_name_completion): Username completion is always
793         case-sensitive.
794
795 1998-12-06  Hrvoje Niksic  <hniksic@srce.hr>
796
797         * fns.c (base64_decode_1): Remove COUNTER.
798         (base64_decode_1): Accept CRLF in addition to CR.
799         (base64_decode_1): Disallow a stray character after final EOF; the 
800         check was probably a remnant of buggy recode code.
801
802 1998-12-05  Hrvoje Niksic  <hniksic@srce.hr>
803
804         * fns.c (init_provide_once): Provide `base64'.
805
806 1998-12-04  Hrvoje Niksic  <hniksic@srce.hr>
807
808         * fns.c (XMALLOC_UNBIND): Include SPECCOUNT argument, for clarity.
809         (Fbase64_encode_region): If buffer is read-only, bail out early.
810         (Fbase64_decode_region): Ditto.
811         (Fbase64_encode_region): Initialize SPECCOUNT to pacify the
812         compiler.
813         (Fbase64_encode_string): Ditto.
814         (Fbase64_decode_region): Ditto.
815         (Fbase64_decode_string): Ditto.
816
817 1998-11-25  Hrvoje Niksic  <hniksic@srce.hr>
818
819         * dired.c (Fdirectory_files): Remove redundant code.
820
821 1999-03-05  Philip Aston  <philipa@parallax.co.uk>
822
823         * frame-msw.c Make raise-frame restore minimised windows.
824
825 1999-03-05  Philip Aston  <philipa@parallax.co.uk>
826
827         * device-msw.c: Fix DEFVAR format - Death to phantom quote, and
828         add magic newline.
829
830 1999-03-05  Philip Aston  <philipa@parallax.co.uk>
831
832         * toolbar-msw.c Consider captions when deciding whether to rebuild
833         toolbar. This fixes the initial toolbar display for those of us
834         who don't like captions. These patches applied by Andy Piper.
835
836 1999-03-12  XEmacs Build Bot <builds@cvs.xemacs.org>
837
838         * XEmacs 21.2.13 is released
839
840 1999-03-12  SL Baur  <steve@xemacs.org>
841
842         * file-coding.c: Guard ucs table initialization with ifdef MULE.
843
844 1999-03-10  Stephen J. Turnbull  <turnbull@sk.tsukuba.ac.jp>
845
846         * file-coding.c:  docstring and comment improvements.
847         (decode_ucs4)  flag possible data loss with comment.
848
849 1999-03-10  Martin Buchholz  <martin@xemacs.org>
850
851         * file-coding.c (Fset_ucs_char): add CHECK_INT, CHECK_CHAR
852         (ucs_to_char):
853         (Fucs_char):
854         (Fset_char_ucs):
855         (decode_coding_ucs4):
856         (encode_coding_ucs4):
857         (detect_coding_utf8):
858         (decode_coding_utf8):
859         (encode_utf8):
860         (encode_coding_utf8):
861         Add CHECK_* macros where needed to avoid crashes.
862         #ifdef out all composite character support using
863         #ifdef ENABLE_COMPOSITE_CHARS
864         Use normal XEmacs coding standards.
865         Fix docstrings.
866         Remove CODING_STREAM_COMPOSE, CODING_STREAM_DECOMPOSE.
867
868 1998-09-08  MORIOKA Tomohiko  <morioka@jaist.ac.jp>
869
870         * file-coding.c (make-coding-system): Add description about
871         `ucs-4' and `utf-8'.
872         (detection_state): Modify to implement ucs-4 and utf-8.
873         (detect_coding_type): Likewise.
874         (detect_coding_ucs4): New implementation.
875         (detect_coding_utf8): New implementation.
876         (encode_utf8): fixed.
877         (syms_of_mule_coding): Rename `ucs4' and `utf8' to `ucs-4' and
878         `utf-8'.
879
880 1998-09-08  MORIOKA Tomohiko  <morioka@jaist.ac.jp>
881
882         * file-coding.c (mule_char_to_ucs4): Encode 94x94 chars in ISO
883         2022 registry to private area.
884
885 1998-09-07  MORIOKA Tomohiko  <morioka@jaist.ac.jp>
886
887         * file-coding.c (encode_utf8): New function.
888         (encode_coding_utf8): New implementation.
889
890 1998-09-07  MORIOKA Tomohiko  <morioka@jaist.ac.jp>
891
892         * file-coding.c (ucs_to_mule_table): New variable; abolish
893         `Vucs_to_mule_table'
894         (mule_to_ucs_table): renamed from `Vmule_to_ucs_table'.
895         (set-ucs-char): New function.
896         (ucs_to_char): New function.
897         (ucs-char): New function.
898         (set-char-ucs): New function.
899         (char-ucs): New function.
900         (decode_ucs4): Use `ucs_to_char'.
901         (complex_vars_of_mule_coding): Abolish `ucs-to-mule-table' and
902         `mule-to-ucs-table'.
903
904 1998-09-06  MORIOKA Tomohiko  <morioka@jaist.ac.jp>
905
906         * chartab.h: EXFUN `Fget_char_table'.
907
908         * file-coding.c (encode_ucs4): New function.
909         (encode_coding_ucs4): Use `encode_ucs4'.
910
911 1998-09-06  MORIOKA Tomohiko  <morioka@jaist.ac.jp>
912
913         * file-coding.c (decode_coding_ucs4): New implementation.
914
915 1998-09-06  MORIOKA Tomohiko  <morioka@jaist.ac.jp>
916
917         * file-coding.c (decode_coding_ucs4): fixed.
918
919         * file-coding.c (Vmule_to_ucs_table): New variable.
920         (mule_char_to_ucs4): New function.
921         (encode_coding_ucs4): New implementation.
922         (complex_vars_of_mule_coding): Define variable
923         `mule-to-ucs-table'.
924
925 1998-09-06  MORIOKA Tomohiko  <morioka@jaist.ac.jp>
926
927         * file-coding.c (decode_coding_utf8): New implementation.
928
929 1998-09-06  MORIOKA Tomohiko  <morioka@jaist.ac.jp>
930
931         * file-coding.c (decode_coding_utf8): fixed.
932
933 1998-09-06  MORIOKA Tomohiko  <morioka@jaist.ac.jp>
934
935         * file-coding.c (Vucs_to_mule_table): New variable.
936         (decode_ucs4): Refer `Vucs_to_mule_table'.
937         (complex_vars_of_mule_coding): Define variable
938         `ucs-to-mule-table'.
939
940 1998-09-04  MORIOKA Tomohiko  <morioka@jaist.ac.jp>
941
942         * file-coding.c (detect_coding_ucs4): New function (not
943         implemented yet).
944         (decode_coding_ucs4): New function.
945         (encode_coding_ucs4): New function (not implemented yet).
946         (detect_coding_utf8): New function (not implemented yet).
947         (decode_coding_utf8): New function.
948         (encode_coding_utf8): New function (not implemented yet).
949         (make-coding-system): New type `ucs4' and `utf8'.
950         (coding-system-type): Likewise.
951         (detection_state): Add `ucs4' and `utf8'.
952         (detect_coding_type): Likewise.
953         (mule_decode): Use `decode_coding_ucs4' and `decode_coding_utf8'.
954         (mule_encode): Use `encode_coding_ucs4' and `encode_coding_utf8'.
955         (decode_ucs4): New function (very incomplete).
956         (syms_of_mule_coding): Add `ucs4' and `utf8'.
957
958         * file-coding.h: Add definitions for UCS-4 and UTF-8.
959
960 1999-03-08  Martin Buchholz  <martin@xemacs.org>
961
962         * mule-charset.c:
963         (non_ascii_valid_char_p):
964         (lookup_composite_char):
965         (composite_char_string):
966         (make-composite-char):
967         (composite-char-string):
968         (syms_of_mule_charset): 
969         (complex_vars_of_mule_charset): 
970         * mule-charset.h (LEADING_BYTE_COMPOSITE):
971         (CHAR_LEADING_BYTE):
972         (MAKE_CHAR):
973         * file-coding.h (CODING_STATE_COMPOSITE):
974         (CODING_STATE_ISO2022_LOCK):
975         (iso_esc_flag):
976         (LEADING_BYTE_COMPOSITE):
977         * file-coding.c (struct iso2022_decoder):
978         (decoding_closer):
979         (reset_iso2022):
980         (parse_iso2022_esc):
981         (encode_coding_iso2022):
982         #ifdef out all composite character support using 
983         #ifdef ENABLE_COMPOSITE_CHARS 
984
985         * alloc.c: Define lrecord_coding_system only if ! FILE_CODING
986
987 1999-03-04  Takeshi YAMADA <yamada@cslab.kecl.ntt.co.jp>
988
989         * fns.c (Fbase64_encode_string): Calculate `allength' in the same
990         way of `Fbase64_encode_region'.
991
992 1999-02-18  Katsumi Yamaoka   <yamaoka@jpl.org>
993
994         * fns.c (base64_encode_1): Don't add a newline at the tail.
995
996 1999-03-08  Andy Piper  <andy@xemacs.org>
997
998         * menubar-msw.c (displayable_menu_item): correct off-by-one &
999         handling.
1000
1001 1999-03-07  Martin Buchholz  <martin@xemacs.org>
1002
1003         * console-stream.h (struct stream_console):
1004         * event-unixoid.c (event_stream_unixoid_select_console):
1005         (event_stream_unixoid_unselect_console):
1006         * print.c (Fexternal_debugging_output):
1007         * sysdep.c (reset_one_device):
1008         * console-stream.c (stream_init_console):
1009         (stream_delete_console):
1010         (allocate_stream_console_struct): move into stream_init_console.
1011         (free_stream_console_struct): move into stream_delete_console.
1012         Use `fd' only for file descriptors.
1013         Therefore, rename members of struct stream_console.
1014
1015         * systime.h: Unix98 says sys/time.h should define select(), but
1016         some systems define that in unistd.h.  So include that file always.
1017
1018         * glyphs.h (MAYBE_IIFORMAT_METH): Don't use leading `_'.  Avoid
1019         multiple evaluation of first arg.  Do proper do {} while (0) wrapping.
1020         (HAS_IIFORMAT_METH_P): Prevent macro from being used in
1021         non-boolean context
1022         (MAYBE_IIFORMAT_DEVMETH): Use standard internal macro naming convention.
1023
1024         * EmacsShell.c:
1025         * balloon_help.c:
1026         Add #include <stdio.h>.
1027         Some versions of assert.h use printf() without #include'ing stdio.h
1028
1029         * free-hook.c (blocktype): Add gcpro5_type to blocktype.
1030         (log_gcpro): Remove unused variable FRAME.
1031         (show_gcprohist): Ansify.
1032         Comment the #endif's
1033
1034         * frame-x.c (x_delete_frame): Don't use FRAME_X_SHELL_WIDGET(f)
1035         after it's just been XtDestroy'ed!
1036
1037 1999-02-18  Martin Buchholz  <martin@xemacs.org>
1038
1039         * opaque.c (print_opaque):
1040         (sizeof_opaque):
1041         (equal_opaque):
1042         (hash_opaque):
1043         Egcs 1.1.1 seems to have a bug where
1044         INTP (p->size_or_chain)
1045         will crash XEmacs.  Fix by introducing intermediate variable.
1046
1047         * sound.c (Fdevice_sound_enabled_p): Fix compiler warning.
1048
1049         * dired.c (Fdirectory_files):
1050         (Ffile_name_completion):
1051         (Ffile_name_all_completions):
1052         (file_name_completion):
1053         - Use `directory' instead of `dirname' to sync with FSF Emacs and
1054         avoid compiler warnings.
1055         - Fix up docstrings so that C variables match documentation.
1056
1057 1999-03-05  Martin Buchholz  <martin@xemacs.org>
1058
1059         * alloc.c: (garbage_collect_1): Reorg code to make scope of local
1060         variables as small as possible to help out the compiler and the maintainer.
1061
1062         * alloc.c: (disksave_object_finalization):
1063         Set all the *-load-path variables to
1064         nil, not just load-path itself.  This gets the locate-file hash
1065         tables garbage collected BEFORE dump, and has the side effect of
1066         preventing crashes on OSF4.0+egcs.
1067
1068         * alloc.c:
1069         * gdbinit:
1070         * dbxrc:
1071         - Clean up gdb/dbx debugging support.
1072         - Storing an EMACS_INT in an enum is not 64-bit clean!
1073         - So change the enum to a set of separate variables.
1074         - Add test cases to help debug the debugging support!
1075         - Add `lisp-shadows' and `run-temacs' targets for dbx.
1076         - Both dbx and gdb have been tested now.
1077
1078 1999-03-05  XEmacs Build Bot <builds@cvs.xemacs.org>
1079
1080         * XEmacs 21.2.12 is released
1081
1082 1999-02-16  Kazuyuki IENAGA  <ienaga@jsys.co.jp>
1083
1084         * device-x.c: Support to find best visual without flashing.
1085
1086 1999-03-02  Paul Keusemann  <pkeusem@visi.com>
1087
1088         * database.c (berkdb_map): Add flags argument to cursor call (must
1089           be 0 according to docs) required for Berkeley DB 2.6.4 and later.
1090
1091 1999-03-03  Martin Buchholz  <martin@xemacs.org>
1092
1093         * hash.c:
1094         * hash.h:
1095         General cleanup.  Get free-hook.c working again.
1096         Remove unused functions:
1097         make_strings_hash_table, copy_hash, expand_hash_table.
1098
1099         * malloc.c:
1100         * mem-limits.h:
1101         Always use new ANSI-style function prototypes.
1102
1103         * unexalpha.c (unexec): Never use implicit int.
1104
1105         * sgiplay.c (close_sound_file):
1106         (play_sound_file):
1107         (restore_audio_port):
1108         (play_sound_data):
1109         (audio_initialize):
1110         (play_internal):
1111         (drain_audio_port):
1112         (write_mulaw_8_chunk):
1113         (write_linear_chunk):
1114         (write_linear_32_chunk):
1115         (initialize_audio_port):
1116         (open_audio_port):
1117         (set_channels):
1118         (set_output_format):
1119         (adjust_audio_volume):
1120         (get_current_volumes):
1121         (parse_snd_header):
1122         Always use new ANSI-style function prototypes.
1123         Use unistd.h for missing prototypes.
1124
1125         * unexelfsgi.c (round_up):
1126         (find_section):
1127         (unexec): Always use new ANSI-style function prototypes
1128
1129         * elhash.c (struct Lisp_Hash_Table): rename golden to golden_ratio
1130
1131         * console.h (struct console_methods): Always use full ANSI prototypes
1132
1133         * emacs.c (__sti__iflPNGFile_c___): Always use full ANSI prototypes
1134
1135 1999-03-02  Andy Piper  <andy@xemacs.org>
1136
1137         * event-stream.c (init_event_stream): make sure native mswindows
1138         gets an appropriate event loop.
1139
1140 1999-02-22  Andy Piper  <andy@xemacs.org>
1141
1142         * frame-msw.c (mswindows_make_frame_visible): use SW_SHOW rather
1143         than SW_SHOWNORMAL to prevent resizing of maximised frames.
1144         (mswindows_raise_frame): remove comment.
1145
1146 1999-03-01  XEmacs Build Bot <builds@cvs.xemacs.org>
1147
1148         * XEmacs 21.2.11 is released
1149
1150 1999-02-25  SL Baur  <steve@xemacs.org>
1151
1152         * mule-charset.c (Qleading_byte): New variable to implement
1153         charset-leading-byte function.
1154         (Fcharset_property): Use it.
1155         (syms_of_mule_charset): Initialize it.
1156         From Kazuyuki IENAGA <ienaga@jsys.co.jp>
1157
1158 1999-02-17  Kazuo Oishi <oishi@ae.agr.yamaguchi-u.ac.jp>
1159
1160         * glyphs-x.c (cononvert_EImage_to_XImage): correct
1161         bytes per pixel counting.
1162
1163 1999-02-15  Andy Piper  <andy@xemacs.org>
1164
1165         * s/cygwin32.h (BROKEN_SIGIO): don't define this as it causes
1166         major lockups.
1167
1168 1999-02-16  MORIOKA Tomohiko  <morioka@jaist.ac.jp>
1169
1170         * fns.c (Fbase64_encode_string): New optional argument
1171         `NO_LINE_BREAK'.
1172
1173 1999-02-16  Martin Buchholz  <martin@xemacs.org>
1174
1175         * gdbinit:  Fix up commands to run temacs.  Add lisp-shadows command.
1176         * alloc.c (xcalloc):  undef xcalloc, just like xmalloc
1177
1178 1999-02-10  Martin Buchholz  <martin@xemacs.org>
1179
1180         * s/bsdos4.h: New file.  Port to BSDI BSD/OS 4.0.
1181         * xintrinsic.h:  Redo CONST support for X11 R4 compatibility.
1182
1183 1999-02-05  XEmacs Build Bot <builds@cvs.xemacs.org>
1184
1185         * XEmacs 21.2.10 is released
1186
1187 1999-02-02  Gleb Arshinov  <gleb@cs.stanford.edu>
1188
1189         * process-nt.c (nt_send_process):
1190         Fix for process-send-region/process-send-string breaking when size
1191         of the input > 128 chars: change maximum chunk size for process
1192         stream from 512 to 128, thus guaranteeing that ntpipe_shove_writer
1193         succeeds.
1194
1195 1999-02-02  XEmacs Build Bot <builds@cvs.xemacs.org>
1196
1197         * XEmacs 21.2.9 is released
1198
1199 1999-01-30  Martin Buchholz  <martin@xemacs.org>
1200
1201         * bytecode.c (funcall_compiled_function): Call
1202         UNBIND_TO_GCPRO instead of UNBIND_TO_GCPRO_VARIABLES_ONLY.
1203
1204         * backtrace.h (UNBIND_TO_GCPRO_VARIABLES_ONLY):
1205         #ifdef 0 out unused macro.
1206
1207 1999-01-27  Martin Buchholz  <martin@xemacs.org>
1208
1209         * gui.c (gui_parse_item_keywords_internal): Make static.
1210
1211 1999-01-21  Andy Piper  <andy@xemacs.org>
1212
1213         * glyphs-msw.c: add xface support.
1214         (mswindows_xface_instantiate): new function copied from glyphs-x.c
1215         (image_instantiator_format_create_glyphs_mswindows): do device
1216         specific initialisation for xfaces.
1217         (xbm_create_bitmap_from_data): line data must be padded to a word
1218         boundary.
1219
1220         * glyphs-x.c (xface_validate): moved to glyphs.c
1221         (xface_normalize): ditto.
1222         (xface_possible_dest_types): ditto.
1223         (image_instantiator_format_create_glyphs_x): do device specific
1224         initialisation for xfaces.
1225
1226         * glyphs.h: declare xface symbol.
1227
1228         * glyphs.c: move generic xface support here.
1229         (xface_validate): moved from glyphs-x.c
1230         (xface_normalize): ditto.
1231         (xface_possible_dest_types): ditto.
1232         (image_instantiator_format_create): xface declarations moved from
1233         glyphs-x.c.
1234
1235 1999-01-14  Adrian Aichner  <aichner@ecf.teradyne.com>
1236
1237         * event-stream.c (vars_of_event_stream): Fixing documentation.
1238
1239 1999-01-17  Gunnar Evermann  <ge204@eng.cam.ac.uk>
1240
1241         * glyphs-eimage.c (gif_instantiate): Correct handling of
1242         interlaced gifs to avoid writing past the end of the eimage
1243         buffer.
1244
1245 1999-01-13  Hrvoje Niksic  <hniksic@srce.hr>
1246
1247         * search.c (Freplace_match): Handle single backslash at end of
1248         NEWTEXT correctly.
1249
1250 1999-01-12  William M. Perry  <wmperry@aventail.com>
1251
1252         * eldap.c (Fldap_open): slow down interrupts around ldap_open to
1253           avoid connection errors.
1254
1255 1999-01-12  Andy Piper  <andy@xemacs.org>
1256
1257         * redisplay-output.c (redisplay_update_line): backout change that
1258         shouldn't have gone ine.
1259
1260 1999-01-09  Oscar Figueiredo  <Oscar.Figueiredo@di.epfl.ch>
1261
1262         * eldap.c (vars_of_ldap): Do no provide `ldap' here since it may
1263         collide with ldap.el
1264
1265 1999-01-11  Andy Piper  <andy@xemacs.org>
1266
1267         * redisplay.h (DISPLAY_LINE_HEIGHT): new macro.
1268         (DISPLAY_LINE_YPOS): new macro.
1269
1270         * redisplay-msw.c (mswindows_output_string): use it.
1271         (mswindows_output_pixmap): ditto.
1272         (mswindows_output_display_block): ditto.
1273
1274         * redisplay-output.c (redisplay_output_display_block): new
1275         function. just call the devmeth, maybe insert some generic code
1276         here later.
1277         (compare_display_blocks): use it.
1278         (output_display_line): ditto.
1279         (redisplay_unmap_subwindows_maybe): new function. potentially
1280         unmap subwindows in the given area.
1281
1282         * glyphs.c (reset_subwindow_cachels): unmap subwindows that we are
1283         resetting.
1284
1285 1999-01-10  J. Kean Johnston  <jkj@sco.com>
1286
1287         * Makefile.in.in: Set value of moduledir
1288         - Changed DUMPENV to include $(MODULEPATH)
1289         - Added install rule to install header files for use by ellcc.
1290
1291         * config.h.in: Added INHIBIT_SITE_MODULES
1292         - Added HAVE__DLERROR
1293         - Added HAVE_DLFCN_H
1294         - Added DLSYM_NEEDS_UNDERSCORE
1295
1296         * dll.c: Removed.
1297
1298         * emodules.c: New file containing dynamic loading code.
1299
1300         * emodules.h: New file.
1301
1302         * emacs.c: Added variables Vmodule_directory,
1303         Vsite_module_directory, Vconfigure_module_directory and
1304         Vconfigure_site_module_directory.
1305         - (main_1): Added new variable inhibit_site_modules and command
1306         line options `-no-site-modules' and `--no-site-modules'.
1307         - (main_1): Call syms_of_module() instead of syms_of_dll().
1308         - (main_1): Call vars_of_module().
1309         - (vars_of_emacs): Introduce inhibit-site-modules,
1310         module-directory, configure-module-directory,
1311         site-module-directory, and configure-site-module-directory to the
1312         Lisp reader.
1313
1314         * lisp.h: Declare load_module and list_modules, as well as
1315         Vmodule_directory, Vsite_module_directory,
1316         Vconfigure_module_directory and Vconfigure_site_module_directory.
1317
1318         * paths.h.in: Added PATH_MODULESEARCH and PATH_SITE_MODULES.
1319         - Added correct support for site-lisp directory.
1320
1321         * symbols.c (defsubr): Modified to allow modules to add new subrs
1322         after dump time.
1323         - (defsubr_macro): Same.
1324         - (defvar_magick): Only use purespace when not initialized, so
1325         that loaded modules can still add symbols.
1326
1327         * symsinit.h: Add definitions for syms_of_module(),
1328         vars_of_module().  Removed syms_of_dll().
1329
1330         * sysdll.c: Include dlfcn.h if HAVE_DLFCN_H is defined.
1331         - (dll_variable): Take DLSYM_NEEDS_UNDERSCORE into account.
1332         - (dll_error): use _dlerror() if HAVE__DLERROR is defined.
1333
1334         * s/sco5-shr.h (C_SWITCH_SYSTEM): Correct for modern gcc and
1335         explicitly pass -belf for native cc.
1336
1337         * s/sco5.h (LIB_GCC): Use -print-libgcc-file-name instead of
1338         hard-coding the library name.
1339
1340 1999-01-01    <martin@xemacs.org>
1341
1342         * device-x.c (Fx_set_font_path):
1343         Add proper cast to permit compilation under C++.
1344
1345         * buffer.c (directory_is_current_directory):
1346         Add proper casts to permit compilation under C++.
1347
1348 1998-12-30  Damon Lipparelli  <lipp@primus.com>
1349
1350         * event-msw.c (mswindows_wnd_proc):
1351           Fixed failure when building with MSVC 5.
1352
1353 1998-12-29  Martin Buchholz  <martin@xemacs.org>
1354
1355         * file-coding.c (decode_coding_iso2022):
1356         - Prevent crash when decoding ISO7/Lock detected files
1357         - the usual martin fiddling
1358
1359 1998-12-29  Jonathan Harris  <jhar@tardis.ed.ac.uk>
1360
1361         * event-msw.c:
1362           glyphs-msw.c:
1363           Fixed failures when building with MSVC.
1364         * unexnt.c (dump_bss_and_heap):
1365           Removed compiler warning by removing bss_data variable.
1366
1367 1998-12-18  Jim Radford  <radford@robby.caltech.edu>
1368
1369         * device-x.c (Fx_set_font_path, Fx_get_font_path): New functions
1370         so that packages that distribute their own fonts can access them.
1371
1372 1998-12-28  Andy Piper  <andy@xemacs.org>
1373
1374         * glyphs-msw.c (mswindows_button_instantiate): cope with buttons
1375         that have an image provided.
1376
1377         * glyphs.h: add Q_image decl.
1378
1379         * glyphs-widget.c new functionality allowing images in
1380         widgets.
1381         (check_valid_glyph_or_image): new function to validate
1382         glyphs passed in through :image.
1383         (widget_normalize): new function. convert :image parameters into
1384         real glyphs if not already so.
1385         (widget_instantiate_1): mess with size parameters to be similar to
1386         :image if provided.
1387         (syms_of_glyphs_widget): new keyword :image.
1388         (image_instantiator_format_create_glyphs_widget): normalize
1389         buttons and allow :image.
1390
1391 1998-12-27  Andy Piper  <andy@xemacs.org>
1392
1393         * frame-msw.c (mswindows_init_frame_1): warning elimination.
1394
1395         * glyphs-widget.c (check_valid_anything): no-op function.
1396         (check_valid_callback): check callbacks in gui_items.
1397         (check_valid_symbol): as it sounds.
1398         (check_valid_string_or_vector): ditto.
1399         (widget_validate): modified for descriptors that are vectors or
1400         sequences of keyword/val pairs.
1401         (widget_instantiate_1): ditto.
1402         (image_instantiator_format_create_glyphs_widget): allow gui_item
1403         keywords in the instantiator.
1404
1405         * gui.c (gui_parse_item_keywords_internal): renamed from
1406         gui_parse_item_keywords but taking error behaviour.
1407         (gui_parse_item_keywords): use it.
1408         (gui_parse_item_keywords_no_errors): ditto.
1409         (gui_item_add_keyval_pair): add Error_behavior flag and only
1410         signal invalid keywords if required.
1411
1412         * gui.h: new gui signatures.
1413
1414         * menubar.c (menu_parse_submenu_keywords): use new
1415         gui_item_add_keyval_pair signature.
1416
1417         * s/cygwin32.h: modify PTY_ITERATION to eliminate warnings.
1418
1419 1998-12-28  Martin Buchholz <martin@xemacs.org>
1420
1421         * XEmacs 21.2.8 is released.
1422
1423 1998-12-28  Martin Buchholz  <martin@xemacs.org>
1424
1425         * editfns.c (get_home_directory):
1426         (user-home-directory): Simplify.
1427
1428
1429         * callproc.c (child_setup):
1430         - Environment variables were being passed to inferior processes
1431           using internal encoding.
1432         - Convert to external encoding.
1433         - Rename local var `tem' to better name `tail'.
1434         - Use Flength instead of `manual' calculation.
1435
1436         * buffer.c (kill-buffer):
1437         (record-buffer):
1438         (set-buffer-major-mode):
1439         (current-buffer):
1440         - Fix up parameter names to correspond to docstrings.
1441         - Don't use `bufname' when a buffer will do as well.
1442         - Remove one unneeded GCPRO.
1443
1444         * buffer.h (initial_directory):
1445         * buffer.c (init_initial_directory):
1446         - use correct conversions between internal and external format.
1447         (directory_is_current_directory): new function
1448         (init_buffer): convert initial_directory to internal format.
1449         - solve crashes when current working directory is non-ASCII.
1450
1451         * alloc.c (xmalloc):
1452         (xcalloc):
1453         (xrealloc):
1454         - remove stupid casts, since XEmacs requires an ANSI C system.
1455         (lrecord_type_index): replace abort() with more readable assert().
1456
1457         (reset_lcrecord_stats): remove.
1458         (sweep_lcrecords_1):
1459         - replace call to reset_lcrecord_stats() with call to xzero().
1460
1461 1998-12-27  Martin Buchholz  <martin@xemacs.org>
1462
1463         * process-unix.c (unix_create_process):
1464         - Fix crash invoking program with non-ASCII name.
1465           Try invoking xemacs with SHELL=/bin/sh, then M-x shell.
1466         - Remove unused variable `env'.
1467         - Rename `temp' to better name `save_errno'.
1468         - Reorganize code for clarity.  But still too chicken to nuke the
1469           BSD 4.2 support.
1470
1471 1998-12-24  Martin Buchholz <martin@xemacs.org>
1472
1473         * XEmacs 21.2.7 is released.
1474
1475 1998-12-23  Martin Buchholz  <martin@xemacs.org>
1476
1477         * glyphs.c (decode_device_ii_format):
1478         - Fix indentation.
1479         - Use GET_C_STRING_FILENAME_DATA_ALLOCA with char *, not Extbyte *.
1480
1481         * glyphs-x.c (x_subwindow_instantiate):
1482         - A image instance mask was being assigned to a image instance type!
1483         - X_SUBWINDOW_INSTANCE_DATA (ii) is not an lvalue in C++.
1484
1485         * glyphs-msw.c (mswindows_initialize_dibitmap_image_instance):
1486         Fix indentation.
1487         * glyphs-x.h: Make indentation consistent.
1488
1489         * emacs.c (Fdump_emacs): Remove Steve Martin merge artifacts.
1490
1491         * glyphs-widget.c (check_valid_glyph): Warning suppression.
1492         - Make it static
1493         - #ifdef it out, since it's not actually used yet (FIX THIS!)
1494
1495         * glyphs-widget.c:
1496         * glyphs.h:
1497         Move declarations of decode_device_ii_format and
1498         decode_image_instantiator_format into glyphs.h where they belong.
1499
1500 1998-12-22  Martin Buchholz  <martin@xemacs.org>
1501
1502         * frame-x.c (x_delete_frame): Revert part of my changes at the
1503         suggestion of Gunnar Evermann - unfortunately no one really
1504         understands this code.
1505
1506         * callproc.c (init_callproc): code cleanup.
1507
1508         * free-hook.c (malloc):
1509         (check_malloc):
1510         (__free_hook):
1511         (__malloc_hook):
1512         (__realloc_hook):
1513         (block_input_malloc):
1514         (block_input_realloc):
1515         * device-x.c (x_delete_device):
1516         * emacs.c (voodoo_free_hook):
1517         * events.c (print_event):
1518         (CHECK_EVENT_TYPE):
1519         (CHECK_EVENT_TYPE2):
1520         (CHECK_EVENT_TYPE3):
1521         Use proper prototypes.
1522         Make C_E_T macros a little faster.
1523         Pedantic fiddly little changes.  You really don't care.
1524
1525 1998-12-22  Andy Piper  <andy@xemacs.org>
1526
1527         * redisplay-output.c (redisplay_clear_region): make sure that
1528         fg/bg colors get set even when we are in the border area.
1529
1530 1998-12-13  Martin Buchholz  <martin@xemacs.org>
1531
1532         * console-msw.c: Function definitions follow coding standards
1533         - This prevents e.g. find-tag on Lisp_Event finding DEVENT
1534
1535 1998-12-11  Martin Buchholz  <martin@xemacs.org>
1536
1537         * events.h (struct timeout_data):
1538         * event-tty.c (tty_timeout_to_emacs_event):
1539         * event-msw.c (mswindows_wm_timer_callback):
1540         * event-Xt.c (Xt_timeout_to_emacs_event):
1541         * event-msw.c (mswindows_cancel_dispatch_event):
1542         Make sure Lisp_Objects inside events are initialized to Qnil, not
1543         Qnull_pointer, which is now illegal.
1544
1545 1998-12-10  Martin Buchholz  <martin@xemacs.org>
1546
1547         * lisp.h: Fix up prototypes to match alloc.c
1548
1549 1998-12-08  Martin Buchholz  <martin@xemacs.org>
1550
1551         * windowsnt.h: Remove `support' for using index and rindex
1552
1553         * filelock.c (current_lock_owner):
1554         - Change uses of index -> strchr, rindex -> strrchr
1555
1556 1998-12-07  Martin Buchholz  <martin@xemacs.org>
1557
1558         * sysdep.c (set_descriptor_non_blocking):
1559         Since O_NONBLOCK is now always #defined, make use of fcntl
1560         conditional on F_SETFL being defined.
1561
1562         * console-msw.c (DHEADgER):
1563         (DOPAQUE_DATA):
1564         (DEVENT):
1565         (DCONS):
1566         (DCONSCDR):
1567         (DSTRING):
1568         (DVECTOR):
1569         (DSYMBOL):
1570         (DSYMNAME):
1571         - max_align_t should not be visible to the user of the
1572           XOPAQUE_DATA macro.
1573         - use Bufbyte instead of char
1574         - parens around (FOOP (obj)) are always redundant.
1575           If they were necessary, we should fix the macro instead.
1576         - Always use string_data(foo) instead of foo->data.
1577
1578
1579 1998-12-06  Martin Buchholz  <martin@xemacs.org>
1580
1581         * frame-msw.c (mswindows_init_frame_1):
1582         - use make_lisp_hash_table, not Fmake_hash_table
1583         - include elhash.h
1584
1585         * lisp.h:
1586         * alloc.c (make_vector): remove travesty
1587         (Fmake_vector):
1588         (make_pure_vector):
1589         (pure_cons):
1590         (make_bit_vector_internal):
1591         (make_bit_vector):
1592         (make_bit_vector_from_byte_vector):
1593         (Fmake_bit_vector):
1594         - make vector_equal a little faster.
1595         - Don't use variable name `new'.
1596         - Use size_t instead of EMACS_INT.
1597         - usual Martin-style pointless bit-twiddling.
1598
1599         * fns.c (mapcar1):
1600         (Fmapconcat):
1601         (Fmapcar):
1602         (Fmapvector):
1603         Make mapcar faster.  In particular, make
1604           (mapc #'identity long-string)
1605         MUCH faster under Mule.
1606         * tests/automated/lisp-tests.el: Test 'em!
1607
1608         * bytecode.c (Ffetch_bytecode): Fix crash when loading lazy-loaded
1609         bytecode.
1610
1611 1998-12-01  Martin Buchholz  <martin@xemacs.org>
1612
1613         * menubar-x.c (menu_item_descriptor_to_widget_value_1): Always use
1614         Qnil, not NULL, to initialize `null' Lisp_Objects.
1615
1616 1998-11-29  Hrvoje Niksic  <hniksic@srce.hr>
1617
1618         * specifier.c (display_table_validate): Update.
1619
1620         * redisplay.c (create_text_block): Use them.
1621
1622         * glyphs.c (display_table_entry): New function.
1623         (get_display_tables): Ditto.
1624
1625 1998-12-15  Oscar Figueiredo  <Oscar.Figueiredo@di.epfl.ch>
1626
1627         * eldap.c (toplevel): Mention that eldap.c compiles with
1628         OpenLDAP libs
1629         (Fldap_open): Use `GET_C_STRING_OS_DATA_ALLOCA'
1630         (Fldap_search_internal): Ditto
1631
1632 1998-12-11  Martin Buchholz  <martin@xemacs.org>
1633
1634         * event-msw.c (mswindows_cancel_dispatch_event):
1635         Gratuitous code prettification
1636
1637
1638 1998-12-07  Hrvoje Niksic  <hniksic@srce.hr>
1639
1640         * fns.c (Fnconc): Fix use of wrong_type_argument().
1641
1642         * floatfns.c (Ffloat): Fix docstring.
1643         (Ffloat): Fix use of wrong_type_argument().
1644         (Fabs): Ditto.
1645         (extract_float): Ditto.
1646         (Fceiling): Ditto.
1647         (Fround): Ditto.
1648         (Ftruncate): Ditto.
1649
1650 1998-12-06  Martin Buchholz  <martin@xemacs.org>
1651
1652         * frame-msw.c (mswindows_init_frame_1):
1653         - use make_lisp_hash_table, not Fmake_hash_table
1654         - include elhash.h
1655
1656         * lisp.h:
1657         * alloc.c (make_vector): remove travesty
1658         (Fmake_vector):
1659         (make_pure_vector):
1660         (pure_cons):
1661         (make_bit_vector_internal):
1662         (make_bit_vector):
1663         (make_bit_vector_from_byte_vector):
1664         (Fmake_bit_vector):
1665         - make vector_equal a little faster.
1666         - Don't use variable name `new'.
1667         - Use size_t instead of EMACS_INT.
1668         - usual Martin-style pointless bit-twiddling.
1669
1670         * fns.c (mapcar1):
1671         (Fmapconcat):
1672         (Fmapcar):
1673         (Fmapvector):
1674         Make mapcar faster.  In particular, make
1675           (mapc #'identity long-string)
1676         MUCH faster under Mule.
1677         * tests/automated/lisp-tests.el: Test 'em!
1678
1679         * bytecode.c (Ffetch_bytecode): Fix crash when loading lazy-loaded
1680         bytecode.
1681
1682 1998-12-02  Didier Verna  <verna@inf.enst.fr>
1683
1684         * menubar-x.c (menu_item_descriptor_to_widget_value_1): set the
1685         accelerator field to nil for labels.
1686
1687 1998-12-16  Jonathan Harris  <jhar@tardis.ed.ac.uk>
1688
1689         * menubar-msw.c (displayable_menu_item):
1690           Escape occurrences of '&' and support occurrences of the
1691          '%_' accelerator indicator in menus.
1692
1693 1998-11-26  Didier Verna  <verna@inf.enst.fr>
1694
1695         * dired.c (Fdirectory_files): use make_string instead of
1696         make_ext_string on the filename. The conversion external->internal
1697         format is already done in sys_readdir.
1698
1699 1998-12-15  Gunnar Evermann  <ge204@eng.cam.ac.uk>
1700
1701         * glyphs.c (normalize_image_instantiator): GCPRO instantiator
1702
1703 1998-12-16  Jonathan Harris  <jhar@tardis.ed.ac.uk>
1704
1705         * event-msw.c
1706           (Belatedly) added Kirill to list of file's authors.
1707           emacs_mswindows_quit_p: Don't process WM_PAINT messages in
1708           quit checking. WM_PAINT messages cause redisplay, but
1709           windows' states are not necessarily stable when this function
1710           gets called.
1711
1712 1998-12-17  Andy Piper  <andy@xemacs.org>
1713
1714         * strftime.c (zone_name): CONSTify.
1715
1716 1998-12-15  Andy Piper  <andy@xemacs.org>
1717
1718         * glyphs-msw.c (mswindows_combo_instantiate): ditto.
1719         (mswindows_widget_property): return Qunbound when no property available.
1720         (mswindows_button_property): ditto.
1721         (mswindows_combo_property): ditto.
1722         (mswindows_widget_set_property): ditto.
1723
1724         * glyphs-widget.c (check_valid_item_list): use properties.
1725
1726         * glyphs.h (struct Lisp_Image_Instance): we have properties now.
1727
1728         * glyphs.c (Fset_image_instance_property): allow setting of arbitrary properties.
1729         (Fimage_instance_property): ditto.
1730         * glyphs-widget.c (widget_property): ditto.
1731         (widget_set_property): ditto.
1732
1733         * frame-msw.c (mswindows_set_frame_pointer): SetCursor() as well
1734         as setting the class cursor so that GC actually changes the
1735         cursor.
1736
1737         * config.h: don't undef MAIL_USE_POP.
1738
1739 1998-12-13  Andy Piper  <andy@xemacs.org>
1740
1741         * glyphs-msw.c
1742         (image_instantiator_format_create_glyphs_mswindows): line ->
1743         label.
1744         (mswindows_label_instantiate): ditto. Play with window flags.
1745         (image_instantiator_format_create_glyphs_mswindows): ditto.
1746         (vars_of_glyphs_mswindows): provide Qlabel as we support it now.
1747
1748         * glyphs-widget.c (widget_instantiate_1): re-jig autosizing to
1749         cope with lines and labels.
1750         (static_instantiate): use widget_instantiate_1.
1751         line -> label.
1752         (image_instantiator_format_create_glyphs_widget): ditto.
1753
1754 1998-12-10  Andy Piper  <andy@xemacs.org>
1755
1756         * Makefile.in.in (objs): add gui.o
1757
1758 1998-12-10  Andy Piper  <andy@xemacs.org>
1759
1760         * gui.c: adjust defines of HAVE_POPUPS so that we can build with
1761         no window system.
1762
1763 1998-12-09  Andy Piper  <andy@xemacs.org>
1764
1765         * glyphs.c (finalize_image_instance): mark glyphs changed when an
1766         image instance is removed so that the subwindow cache gets reset
1767         and thus destroyed images get GC'd.
1768
1769 1998-12-08  Andy Piper  <andy@xemacs.org>
1770
1771         * gui-msw.c (mswindows_handle_gui_wm_command): call
1772         MARK_SUBWINDOWS_CHANGED.
1773
1774         * glyphs-msw.c (mswindows_finalize_image_instance): make sure
1775         subwindows really get deleted.
1776
1777         * redisplay.c: new variable subwindows_changed[_set].
1778         (redisplay_window): use it.
1779         (redisplay_frame): ditto.
1780         (redisplay_device): ditto.
1781         (redisplay_without_hooks): ditto.
1782
1783         * device.h (MARK_DEVICE_SUBWINDOWS_CHANGED): new macro for
1784         subwindows redisplay as per glyphs equivalent.
1785         * redisplay.h: ditto.
1786         (MARK_SUBWINDOWS_CHANGED): ditto.
1787         (RESET_CHANGED_SET_FLAGS): ditto.
1788         * frame.h (MARK_FRAME_SUBWINDOWS_CHANGED): ditto.
1789
1790 1998-12-07  Andy Piper  <andy@xemacs.org>
1791
1792         * frame.c (Fmake_frame): reset subwindow cachels on non-stream
1793         frames.
1794
1795         * redisplay.c (redisplay_frame): invalidate subwindow cachels.
1796
1797         * event-msw.c (mswindows_wnd_proc): catch the various WM_CTLCOLOR*
1798         messages and paint widget glyphs as appropriate with their face fg
1799         & bg.
1800
1801 1998-12-06  Andy Piper  <andy@xemacs.org>
1802
1803         * glyphs-msw.c (vars_of_glyphs_mswindows): provide widget types
1804         here rather than in glyphs-widget - do this because we only want
1805         to provide what is really available.
1806
1807         * glyphs.c (Fimage_instance_property): new function to get the
1808         properties of image instances. wires through to console specific
1809         methods and then to widget specific methods.
1810         (Fset_image_instance_property): ditto but for setting widget properties.
1811         (check_valid_face): make extern so that it can be used elsewhere.
1812
1813         * glyphs-widget.c (widget_property): new function. gets the
1814         properties of widgets in general and wires the function through to
1815         widget specific ones.
1816         (widget_set_property): ditto but for setting widget properties.
1817
1818         * glyphs-msw.c (mswindows_combo_instantiate): Add functionality to
1819         add items to the list. Play with window styles a bit to get the
1820         desired effect.
1821         (mswindows_widget_property): break out specific widget properties.
1822         (mswindows_button_property): new function. gets the checked state
1823         of a button.
1824         (mswindows_combo_property): new function. gets the current
1825         selection in the combo box.
1826         (mswindows_widget_set_property): new function. sets specific
1827         properties of specific widgets.
1828
1829         * glyphs-widget.c (check_valid_item_list): new function. check
1830         that items for a combo-box are just a list of strings.
1831         (combo_validate): new function. check there is an item list.
1832         (widget_instantiate_1): new function. renamed from
1833         widget_instantiate so that we can do slightly different things for
1834         other widgets.
1835         (widget_instantiate): call widget_instantiate_1.
1836         (combo_instantiate): new function to instantiate combo boxes,
1837         defaults height to the pixel height of the number of items in the
1838         box.
1839         (syms_of_glyphs_widget): move widget keywords here.
1840         (image_instantiator_format_create_glyphs_widget): use new combo
1841         functions.
1842
1843 1998-12-04  Andy Piper  <andy@xemacs.org>
1844
1845         * event-msw.c (mswindows_wnd_proc): mule-ize.
1846
1847         * glyphs.c (pixmap_to_lisp_data): mule-ize.
1848
1849         * glyphs-msw.c (extract_xpm_color_names): mule-ize.
1850         (resource_name_to_resource): ditto.
1851         (mswindows_resource_instantiate): ditto.
1852         (mswindows_widget_instantiate): ditto.
1853         (mswindows_widget_set_property): ditto.
1854
1855         * redisplay-output.c (redisplay_output_subwindow): don't show
1856         subwindows if they are obscured at the edge of the frame, emacs
1857         gets into some sort of redisplay loop otherwise.
1858
1859         * gui.h: prototype gui_item_selected_p.
1860
1861         * gui.c (gui_item_selected_p): new function to determine the
1862         selected state of a gui_item.
1863
1864         * frame.h (struct frame): add subwindows_changed flag.
1865
1866         * redisplay.c (redisplay_frame): call update_frame_subwindows ().
1867
1868         * glyphs.c (update_subwindow): new function to update a
1869         subwindow's state.
1870         (update_frame_subwindows): new function to update all the
1871         subwindows on a frame.
1872
1873         * console.h (struct console_methods): add update_subwindow.
1874
1875         * glyphs-msw.c (mswindows_widget_property): return selected state
1876         for selected property.
1877         (mswindows_update_subwindow): new function. updates widget glyphs
1878         in redisplay as per menubars or toolbars e.g. selected state.
1879         (console_type_create_glyphs_mswindows): add update_subwindow.
1880
1881 1998-12-03  Andy Piper  <andy@xemacs.org>
1882
1883         * console-tty.c (syms_of_console_tty): MULE -> FILE_CODING since
1884         tty coding system things are such.
1885
1886         * glyphs-widget.c (widget_face_font_info): new function for
1887         pulling out height and width metrics for a widget's face.
1888         (widget_text_to_pixel_conversion): calculate pixel sizes of text
1889         for widgets.
1890
1891         * event-msw.c (mswindows_drain_windows_queue): translate messages
1892         that are destined for subwindows. This makes edit fields interact
1893         with the keyboard correctly.
1894         nuke warnings by #ifndef'ing out stuff not required by msg select().
1895
1896         * glyphs.h (INITIALIZE_IMAGE_INSTANTIATOR_FORMAT_NO_SYM): new
1897         macro defining the iiforma without the symbol required by widget.
1898         (INITIALIZE_IMAGE_INSTANTIATOR_FORMAT): use it.
1899
1900         * general.c (syms_of_general): add Qwidget, Qselected.
1901
1902         * faces.c (complex_vars_of_faces): add widget face inheriting from
1903         gui-element face.
1904
1905 1998-11-09  Andy Piper  <andy@xemacs.org>
1906
1907         * window.h (struct window): add a cache of subwindows on a
1908         per-window basis.
1909
1910         * window.c (mark_window): mark the subwindow_instance_cache.
1911         (allocate_window): initialise the subwindow instance_cache.
1912
1913         * toolbar-x.c (x_output_toolbar): call redisplay_clear_region
1914         instead of the devmeth.
1915         (x_clear_toolbar): ditto.
1916
1917         * redisplay-x.c (x_output_display_block): call
1918         redisplay_output_subwindow for subwindows and widgets.
1919
1920         * redisplay-tty.c (tty_output_display_block): add IMAGE_WIDGET to
1921         types to do nothing for.
1922
1923         * lisp.h: declare new widget/subwindow symbols.
1924
1925         * glyphs.c (image_instantiate): cache subwindows on a per-window
1926         basis.
1927         (subwindow_possible_dest_types): new function for subwindow dest
1928         types.
1929         (subwindow_instantiate): generic instantiation of a
1930         subwindow. specialised by device multi-methods.
1931         (Fsubwindowp): moved from glyphs-x.c. adapted for glyph-based
1932         subwindows.
1933         (Fimage_instance_subwindow_id): ditto.
1934         (Fresize_subwindow): ditto.
1935         (Fforce_subwindow_map): ditto.
1936
1937         * glyphs-x.c (x_print_image_instance): remove subwindow
1938         stuff. Handled genrically in glyphs.c.
1939         (x_image_instance_equal): ditto.
1940         (x_image_instance_hash): ditto.
1941         (x_finalize_image_instance): delete subwindows when required.
1942         (mark_subwindow) (print_subwindow) (finalize_subwindow)
1943         (subwindow_hash) (Fmake_subwindow): deleted because of new,
1944         glyph-based, subwindow implementation.
1945         (Fsubwindow_height) (Fsubwindow_width) (Fsubwindow_xid): aliased
1946         in glyphs.el
1947         (Fsubwindowp) (Fresize_subwindow) (Fforce_subwindow_map): moved to
1948         glyphs.c.
1949         (x_unmap_subwindow): new function to unmap X subwindows.
1950         (x_map_subwindow): new function to map X subwindows.
1951         (x_subwindow_instantiate): new function to instantiate X
1952         subwindows.
1953         (x_resize_subwindow): new function to resize X subwindows.
1954         (console_type_create_glyphs_x): add subwindow functions.
1955         (image_instantiator_format_create_glyphs_x): add device
1956         multi-methods for xpm, xbm and subwindow.
1957
1958         * glyphs.el (subwindow-xid): old alias for new subwindow functions.
1959         (subwindow-width): ditto.
1960         (subwindow-height): ditto.
1961
1962         * glyphs-msw.c (mswindows_widget_instantiate): new function for
1963         generally instantiating ms subwindows. Used by
1964         mswindows_*_instantiate.
1965         (mswindows_edit_instantiate): instantiate an edit field on a
1966         mswindows frame.
1967
1968 1998-11-04  Andy Piper  <andy@xemacs.org>
1969
1970         * symsinit.h: declare new functions.
1971
1972         * redisplay.h: declare new functions.
1973
1974         * redisplay-x.c (x_output_display_block): call
1975         redisplay_clear_region rather than x_clear_region.
1976         (x_output_string): ditto.
1977         (x_output_pixmap): ditto.
1978         (x_clear_to_window_end): ditto.
1979         (x_output_eol_cursor): ditto.
1980         (x_clear_region): only do X specific things. other duties handled
1981         in redisplay_clear_region.
1982
1983         * redisplay-tty.c (tty_clear_region): do tty specific things - some
1984         duties moved to redisplay_clear_region.
1985
1986         * redisplay-output.c (clear_left_border): use
1987         redisplay_clear_region instead of device method.
1988         (clear_right_border): ditto.
1989         (output_display_line): ditto.
1990         (redisplay_output_subwindow): ditto.
1991         (redisplay_clear_top_of_window): ditto.
1992         (redisplay_clear_region): perform duties previously handled by
1993         device methods. call the appropriate device method at the
1994         end. unmap subwindows if necessary.
1995
1996         * redisplay-msw.c (mswindows_output_string): use
1997         redisplay_clear_region instead of mswindows_clear_region.
1998         (mswindows_clear_to_window_end): ditto.
1999         (mswindows_output_display_block): output subwindows when required.
2000         (mswindows_clear_region): only do mswindows specific things,
2001         everything else is now handled in redisplay_clear_region.
2002
2003         * gui.h: add item id hash defines and declare function prototypes.
2004
2005         * gui.c (mark_gui_item): new function for marking gui_items.
2006         (gui_item_hash): generic hash function for generating command ids
2007         for gui_items.
2008
2009         * gui-msw.c: new file.
2010         (mswindows_handle_gui_wm_command): new function to handle widget
2011         callbacks.
2012
2013         * glyphs.h (MAYBE_IIFORMAT_DEVMETH): new function for device
2014         multi-methods.
2015         (IIFORMAT_HAS_SHARED_METHOD): ditto.
2016         (DEFINE_DEVICE_IIFORMAT): ditto.
2017         (INITIALIZE_DEVICE_IIFORMAT): ditto.
2018         (struct Lisp_Image_Instance): add widget and subwindow data plus
2019         appropriate access functions.
2020
2021         * glyphs.c (decode_device_ii_format): new function for decoding
2022         image instantiator functions based on a device type as well as an
2023         image format.
2024         (decode_image_instantiator_format): just call
2025         decode_device_ii_format with nil device.
2026         (add_entry_to_device_ii_format_list): new function for per device
2027         method instances.
2028         (add_entry_to_image_instantiator_format_list): just call
2029         add_entry_to_device_ii_format_list with nil device.
2030         (check_valid_vector): new function.
2031         (instantiate_image_instantiator): instantiate using per-format
2032         method and then per-format-per-device method (device
2033         multi-methods). signal an error if neither is possible.
2034         (mark_image_instance): cope with subwindows and widgets.
2035         (print_image_instance): ditto.
2036         (image_instance_equal): ditto.
2037         (image_instance_hash): ditto.
2038         (allocate_glyph): ditto.
2039         (glyph_width): ditto.
2040         (glyph_height_internal): ditto.
2041         (xpm_instantiate): removed because of device multi-methods.
2042         (mark_subwindow_cachels): new cachel functions for caching
2043         instantiated subwindows on a per-frame basis. mostly copied from
2044         glyph cachel functions.
2045         (update_subwindow_cachel_data): ditto.
2046         (add_subwindow_cachel): ditto.
2047         (get_subwindow_cachel_index): ditto.
2048         (reset_subwindow_cachels): ditto.
2049         (mark_subwindow_cachels_as_not_updated): ditto.
2050         (unmap_subwindow): generic unmapping of subwindows based on cachel
2051         data.
2052         (map_subwindow): ditto.
2053         (initialize_subwindow_image_instance): generic initialisation of
2054         subwindow data.
2055         (syms_of_glyphs): add widget keywords.
2056
2057         * glyphs-x.h (struct x_subwindow_data): convert Lisp_Subwindow to
2058         x_subwindow_data.
2059
2060 1998-11-04  Andy Piper  <andy@xemacs.org>
2061
2062         * glyphs-widget.c: new file for instantiating widget type glyphs.
2063         (widget_possible_dest_types): new general dest type function for
2064         widgets.
2065         (widget_validate): ditto.
2066         (initialize_widget_image_instance): ditto
2067         (widget_instantiate): ditto. Sets up fg/bg, gui_item parsing
2068         before handing on control to device multi-methods.
2069         (syms_of_glyphs_widget): new function.
2070         (image_instantiator_format_create_glyphs_widget): new function,
2071         added placeholders for button, edit, combo, scrollbar
2072         (vars_of_glyphs_widget): new function.
2073
2074         * glyphs-msw.h (WIDGET_INSTANCE_MSWINDOWS_HANDLE): new define for
2075         storing window ids of widgets.
2076
2077         * glyphs-msw.c (mswindows_finalize_image_instance): cope with
2078         deletion of widget and subwindow glyphs.
2079         (mswindows_unmap_subwindow): new device function for unmapping
2080         subwindows on a msw frame.
2081         (mswindows_map_subwindow): ditto.
2082         (mswindows_register_image_instance): register instantiated widgets
2083         with the widget hastable.
2084         (mswindows_button_instantiate): instantiate a button type widget
2085         on an msw frame.
2086         (mswindows_subwindow_instantiate): instanttiate a subwindow on a
2087         mswindows frame.
2088         (image_instantiator_format_create_glyphs_mswindows): add device
2089         multi-methods for xbm, xpm, subwindow, edit and button.
2090
2091         * frame.h (struct frame): add subwindow_cachels dynarr for caching
2092         information about subwindows visible on the current frame. used by
2093         redisplay_clear_region to unmap subwindows as required.
2094
2095         * frame.c (mark_frame): mark subwindow_cachels.
2096         (allocate_frame_core): instantiate subwindow_cachels.
2097
2098         * frame-msw.c (mswindows_init_frame_1): instntiate and mark the
2099         widget hashtable.
2100
2101         * event-msw.c (mswindows_wnd_proc): add call to
2102         mswindows_handle_gui_wm_command to handle widget callbacks.
2103
2104         * emacs.c (main_1): add calls to glyphs-widget initialisation
2105         routines.
2106
2107         * console.h (struct console_methods): add
2108         unmap/map_subwindow_method for use be redisplay_clear_region to
2109         map and unmap subwindows. Remove xpm and xbm stuff - now dealt
2110         with by image instantiator multi-methods. Add
2111         resize_subwindow_method.
2112
2113         * console-stream.c (stream_clear_region): change signature to
2114         match new generic clear region function.
2115
2116         * Makefile.in.in: add glyphs-widget.o to list of objects.
2117
2118         * console-msw.h (struct mswindows_frame): add widget hashtable for
2119         wiring command ids to callbacks.
2120
2121 1998-12-16  Andy Piper  <andy@xemacs.org>
2122
2123         * XEmacs 21.2.6 is released
2124
2125 1998-12-08  Hrvoje Niksic  <hniksic@srce.hr>
2126
2127         * md5.c (Fmd5): Correctly initiate string input stream.
2128
2129         * Makefile.in.in (tests): Add md5-tests.el.
2130
2131 1998-12-06  Martin Buchholz  <martin@xemacs.org>
2132
2133         * lisp.h:
2134         * alloc.c (make_vector): remove travesty
2135         (Fmake_vector):
2136         (make_pure_vector):
2137         (pure_cons):
2138         (make_bit_vector_internal):
2139         (make_bit_vector):
2140         (make_bit_vector_from_byte_vector):
2141         (Fmake_bit_vector):
2142         - make vector_equal a little faster.
2143         - Don't use variable name `new'.
2144         - Use size_t instead of EMACS_INT.
2145         - usual Martin-style pointless bit-twiddling.
2146
2147         * fns.c (mapcar1):
2148         (Fmapconcat):
2149         (Fmapcar):
2150         (Fmapvector):
2151         Make mapcar faster.  In particular, make
2152           (mapc #'identity long-string)
2153         MUCH faster under Mule.
2154         * tests/automated/lisp-tests.el: Test 'em!
2155
2156 1998-12-06  Martin Buchholz  <martin@xemacs.org>
2157
2158         * bytecode.c (Ffetch_bytecode): Fix crash when loading lazy-loaded
2159         bytecode.
2160
2161 1998-12-13  Martin Buchholz  <martin@xemacs.org>
2162
2163         * console-msw.c: Function definitions follow coding standards
2164         - This prevents e.g. find-tag on Lisp_Event finding DEVENT
2165
2166 1998-12-11  Martin Buchholz  <martin@xemacs.org>
2167
2168         * events.h (struct timeout_data):
2169         * event-tty.c (tty_timeout_to_emacs_event):
2170         * event-msw.c (mswindows_wm_timer_callback):
2171         * event-Xt.c (Xt_timeout_to_emacs_event):
2172         * event-msw.c (mswindows_cancel_dispatch_event):
2173         Make sure Lisp_Objects inside events are initialized to Qnil, not
2174         Qnull_pointer, which is now illegal.
2175
2176 1998-12-10  Martin Buchholz  <martin@xemacs.org>
2177
2178         * lisp.h: Fix up prototypes to match alloc.c
2179
2180 1998-12-09  Andy Piper  <andy@xemacs.org>
2181
2182         * glyphs-msw.c (init_image_instance_from_xbm_inline): don't use
2183         XSETINT for assigning lisp objects.
2184
2185 1998-12-07  Martin Buchholz  <martin@xemacs.org>
2186
2187         * opaque.h:
2188         * console-msw.c (DHEADER):
2189         (DOPAQUE_DATA):
2190         (DEVENT):
2191         (DCONS):
2192         (DCONSCDR):
2193         (DSTRING):
2194         (DVECTOR):
2195         (DSYMBOL):
2196         (DSYMNAME):
2197         - max_align_t should not be visible to the user of the
2198           XOPAQUE_DATA macro.
2199         - use Bufbyte instead of char
2200         - parens around (FOOP (obj)) are always redundant.
2201           If they were necessary, we should fix the macro instead.
2202         - Always use string_data(foo) instead of foo->data.
2203
2204 1998-12-07  Martin Buchholz  <martin@xemacs.org>
2205
2206         * sysdep.c (set_descriptor_non_blocking):
2207         Since O_NONBLOCK is now always #defined, make use of fcntl
2208         conditional on F_SETFL being defined.
2209
2210 1998-12-09  Andy Piper  <andy@xemacs.org>
2211
2212         * menubar-msw.c (mswindows_handle_wm_command): add back in checks
2213         that got removed in the merge
2214
2215 1998-11-30  Greg Klanderman  <greg@alphatech.com>
2216
2217         * dired.c (vars_of_dired): bugfix for previous conditionalization
2218         of user-name-completion on non- Windows NT.
2219
2220 1998-12-08  Martin Buchholz  <martin@xemacs.org>
2221
2222         * windowsnt.h: Remove `support' for using index and rindex
2223
2224         * filelock.c (current_lock_owner):
2225         - Change uses of index -> strchr, rindex -> strrchr
2226
2227 1998-12-06  Martin Buchholz  <martin@xemacs.org>
2228
2229         * frame-msw.c (mswindows_init_frame_1):
2230         - use make_lisp_hash_table, not Fmake_hash_table
2231         - include elhash.h
2232
2233 1998-12-05  XEmacs Build Bot <builds@cvs.xemacs.org>
2234
2235         * XEmacs 21.2.5 is released
2236
2237 1998-11-30  Martin Buchholz  <martin@xemacs.org>
2238
2239         * xselect.c (receive_incremental_selection):
2240         * xselect.c (x_get_window_property):
2241         * xmu.c (XmuReadBitmapDataFromFile):
2242         * xmu.c (XmuCursorNameToIndex):
2243         * xgccache.c (describe_gc_cache):
2244         * xgccache.c (gc_cache_lookup):
2245         * xgccache.c (free_gc_cache):
2246         * xgccache.c (make_gc_cache):
2247         * window.h:
2248         * window.c (map_windows_1):
2249         * window.c (Fother_window_for_scrolling):
2250         * window.c (window_scroll):
2251         * window.c (change_window_height):
2252         * window.c (Fsplit_window):
2253         * window.c (window_left_gutter_width):
2254         * window.c (window_modeline_height):
2255         * window.c (invalidate_vertical_divider_cache_in_window):
2256         * window.c (window_needs_vertical_divider_1):
2257         * window.c (update_mirror_internal):
2258         * window.c (SET_LAST_FACECHANGE):
2259         * widget.c (Fwidget_plist_member):
2260         * unexec.c (copy_text_and_data):
2261         * unexcw.c (copy_executable_and_dump_data_section):
2262         * tooltalk.doc:
2263         * tooltalk.c (struct Lisp_Tooltalk_Pattern):
2264         * tooltalk.c (struct Lisp_Tooltalk_Message):
2265         * toolbar.h (struct toolbar_button):
2266         * toolbar.c (default_toolbar_visible_p_changed_in_window):
2267         * toolbar.c (recompute_overlaying_specifier):
2268         * toolbar.c (toolbar_validate):
2269         * toolbar.c (toolbar_button_at_pixpos):
2270         * toolbar.c (get_toolbar_coords):
2271         * toolbar.c (update_frame_toolbars):
2272         * toolbar-x.c:
2273         * toolbar-msw.c (mswindows_handle_toolbar_wm_command):
2274         * toolbar-msw.c (mswindows_find_toolbar_pos):
2275         * toolbar-msw.c (mswindows_output_toolbar):
2276         * toolbar-msw.c (mswindows_clear_toolbar):
2277         * toolbar-msw.c:
2278         * systty.h:
2279         * syssignal.h:
2280         * sysproc.h:
2281         * sysfile.h:
2282         * sysdll.c:
2283         * sysdep.h:
2284         * sysdep.c (rmdir):
2285         * sysdep.c (sys_fopen):
2286         * sysdep.c (sys_open):
2287         * sysdep.c (tty_init_sys_modes_on_device):
2288         * sysdep.c (get_eof_char):
2289         * sysdep.c (child_setup_tty):
2290         * sysdep.c (set_descriptor_non_blocking):
2291         * syntax.h:
2292         * syntax.c (scan_words):
2293         * syntax.c:
2294         * symsinit.h:
2295         * symeval.h (struct symbol_value_varalias):
2296         * symeval.h (struct symbol_value_forward):
2297         * symbols.c (syms_of_symbols):
2298         * symbols.c (init_symbols_once_early):
2299         * symbols.c (Fbuilt_in_variable_type):
2300         * symbols.c (Fsymbol_value_in_buffer):
2301         * symbols.c (default_value):
2302         * symbols.c (Fset):
2303         * symbols.c (find_symbol_value_quickly):
2304         * symbols.c (store_symval_forwarding):
2305         * symbols.c (set_default_console_slot_variable):
2306         * symbols.c (set_default_buffer_slot_variable):
2307         * symbols.c (verify_ok_for_buffer_local):
2308         * symbols.c (symbol_is_constant):
2309         * symbols.c (oblookup):
2310         * symbols.c (Funintern):
2311         * symbols.c (Fintern):
2312         * symbols.c (check_obarray):
2313         * sunplay.c:
2314         * specifier.h (struct specifier_methods):
2315         * specifier.h:
2316         * specifier.c (specifier_instance):
2317         * specifier.c (specifier_instance_from_inst_list):
2318         * specifier.c (decode_locale_type):
2319         * specifier.c (specifier_equal):
2320         * specifier.c (finalize_specifier):
2321         * specifier.c (prune_specifiers):
2322         * specifier.c (kill_specifier_buffer_locals):
2323         * sound.c (init_native_sound):
2324         * sound.c:
2325         * signal.c (alarm):
2326         * search.c (Fmatch_data):
2327         * search.c (match_limit):
2328         * search.c (Freplace_match):
2329         * search.c (skip_chars):
2330         * search.c (scan_buffer):
2331         * search.c:
2332         * scrollbar.c (specifier_vars_of_scrollbar):
2333         * scrollbar.c (Fscrollbar_set_hscroll):
2334         * scrollbar.c (vertical_scrollbar_changed_in_window):
2335         * scrollbar.c (release_window_mirror_scrollbars):
2336         * scrollbar.c (free_scrollbar_instance):
2337         * scrollbar-x.c:
2338         * scrollbar-msw.c:
2339         * s/msdos.h (O_BINARY):
2340         * s/linux.h:
2341         * s/freebsd.h (LIBS_TERMCAP):
2342         * regex.c (re_match_2_internal):
2343         * regex.c (compile_extended_range):
2344         * regex.c (POP_FAILURE_POINT):
2345         * regex.c (PUSH_FAILURE_POINT):
2346         * redisplay.h (RESET_CHANGED_SET_FLAGS):
2347         * redisplay.h:
2348         * redisplay.h (struct display_line):
2349         * redisplay.h (struct rune):
2350         * redisplay.c (vars_of_redisplay):
2351         * redisplay.c (redisplay_variable_changed):
2352         * redisplay.c (UPDATE_CACHE_RETURN):
2353         * redisplay.c (validate_line_start_cache):
2354         * redisplay.c (mark_redisplay_structs):
2355         * redisplay.c (mark_glyph_block_dynarr):
2356         * redisplay.c (window_line_number):
2357         * redisplay.c (redisplay_frame):
2358         * redisplay.c (redisplay_window):
2359         * redisplay.c (generate_modeline):
2360         * redisplay.c (create_right_glyph_block):
2361         * redisplay.c (create_left_glyph_block):
2362         * redisplay.c (create_text_block):
2363         * redisplay.c:
2364         * redisplay-x.c (x_output_hline):
2365         * redisplay-x.c (x_output_vertical_divider):
2366         * redisplay-tty.c (tty_output_display_block):
2367         * redisplay-output.c (output_display_line):
2368         * redisplay-output.c:
2369         * redisplay-msw.c (mswindows_output_vertical_divider):
2370         * redisplay-msw.c (mswindows_ring_bell):
2371         * redisplay-msw.c (mswindows_output_cursor):
2372         * redisplay-msw.c:
2373         * rangetab.c:
2374         * ralloc.c:
2375         * puresize.h (RAW_PURESIZE):
2376         * profile.c (syms_of_profile):
2377         * profile.c (Fstart_profiling):
2378         * profile.c (sigprof_handler):
2379         * profile.c:
2380         * procimpl.h:
2381         * process.c (vars_of_process):
2382         * process.c (read_process_output):
2383         * process.c (get_process):
2384         * process.c:
2385         * process-unix.c (unix_open_multicast_group):
2386         * process-unix.c (unix_get_tty_name):
2387         * process-unix.c (unix_send_process):
2388         * process-unix.c (unix_reap_exited_processes):
2389         * process-unix.c (unix_create_process):
2390         * process-unix.c (unix_init_process_io_handles):
2391         * process-unix.c (allocate_pty):
2392         * process-unix.c:
2393         * process-nt.c (nt_open_network_stream):
2394         * process-nt.c (nt_update_status_if_terminated):
2395         * process-nt.c (nt_finalize_process_data):
2396         * process-nt.c:
2397         * print.c (debug_short_backtrace):
2398         * print.c (debug_backtrace):
2399         * print.c (print_symbol):
2400         * print.c (print_internal):
2401         * print.c (print_cons):
2402         * print.c (Fwrite_char):
2403         * print.c (print_prepare):
2404         * print.c (canonicalize_printcharfun):
2405         * print.c (output_string):
2406         * print.c:
2407         * opaque.h:
2408         * opaque.c (allocate_managed_opaque):
2409         * opaque.c:
2410         * offix.c (DndSetData):
2411         * objects.c (face_boolean_create):
2412         * objects.c (font_instantiate):
2413         * objects.c (font_create):
2414         * objects.c (color_create):
2415         * objects.c (finalize_font_instance):
2416         * objects.c (finalize_color_instance):
2417         * objects.c:
2418         * objects-x.c (x_font_instance_truename):
2419         * objects-x.c:
2420         * objects-x.c (x_initialize_font_instance):
2421         * objects-x.c (allocate_nearest_color):
2422         * objects-tty.c (tty_initialize_font_instance):
2423         * objects-tty.c (tty_initialize_color_instance):
2424         * objects-msw.c (mswindows_initialize_color_instance):
2425         * ntproc.c (syms_of_ntproc):
2426         * ntproc.c (Fwin32_set_process_priority):
2427         * ntproc.c (sys_spawnve):
2428         * ntproc.c:
2429         * ntheap.c (get_data_end):
2430         * nt.c (period):
2431         * nt.c:
2432         * nt.c (stat):
2433         * nt.c (generate_inode_val):
2434         * nt.c (sys_rename):
2435         * nas.c:
2436         * mule-wnnfns.c (Fwnn_hinsi_number):
2437         * mule-wnnfns.c (Fwnn_yuragi):
2438         * mule-wnnfns.c (Fwnn_common_learn):
2439         * mule-wnnfns.c (Fwnn_suffix_learn):
2440         * mule-wnnfns.c (Fwnn_prefix_learn):
2441         * mule-wnnfns.c (Fwnn_okuri_learn):
2442         * mule-wnnfns.c (Fwnn_complex_conv):
2443         * mule-wnnfns.c (Fwnn_last_is_first):
2444         * mule-wnnfns.c (Fwnn_bmodify_dict_add):
2445         * mule-wnnfns.c (Fwnn_notrans_dict_add):
2446         * mule-wnnfns.c (Fwnn_fiusr_dict_add):
2447         * mule-wnnfns.c (Fwnn_fisys_dict_add):
2448         * mule-wnnfns.c (Fwnn_hinsi_list):
2449         * mule-wnnfns.c (Fwnn_fuzokugo_set):
2450         * mule-wnnfns.c (Fwnn_dict_search):
2451         * mule-wnnfns.c (Fwnn_word_toroku):
2452         * mule-wnnfns.c (Fwnn_hindo_update):
2453         * mule-wnnfns.c (Fwnn_bunsetu_henkou):
2454         * mule-wnnfns.c (Fwnn_kakutei):
2455         * mule-wnnfns.c (Fwnn_begin_henkan):
2456         * mule-wnnfns.c (Fwnn_dict_comment):
2457         * mule-wnnfns.c (Fwnn_dict_add):
2458         * mule-wnnfns.c (Fwnn_open):
2459         * mule-mcpath.c (mc_getcwd):
2460         * mule-coding.c (vars_of_mule_coding):
2461         * mule-coding.c (convert_to_external_format):
2462         * mule-coding.c (encoding_marker):
2463         * mule-coding.c (decoding_marker):
2464         * mule-coding.c (Fcopy_coding_system):
2465         * mule-coding.c (Fmake_coding_system):
2466         * mule-coding.c (Fcoding_system_list):
2467         * mule-coding.c (Ffind_coding_system):
2468         * mule-coding.c (symbol_to_eol_type):
2469         * mule-coding.c:
2470         * mule-charset.c (complex_vars_of_mule_charset):
2471         * mule-charset.c (vars_of_mule_charset):
2472         * mule-charset.c (Fset_charset_ccl_program):
2473         * mule-charset.c (struct charset_list_closure):
2474         * mule-charset.c (Ffind_charset):
2475         * mule-charset.c (make_charset):
2476         * mule-charset.c (non_ascii_valid_char_p):
2477         * mule-charset.c:
2478         * mule-ccl.c (ccl_driver):
2479         * mule-canna.c (c2mu):
2480         * mule-canna.c (Fcanna_henkan_begin):
2481         * mule-canna.c (Fcanna_parse):
2482         * mule-canna.c (Fcanna_store_yomi):
2483         * mule-canna.c (Fcanna_touroku_string):
2484         * mule-canna.c (Fcanna_initialize):
2485         * minibuf.c:
2486         * menubar.c (menu_parse_submenu_keywords):
2487         * menubar-x.c (make_dummy_xbutton_event):
2488         * menubar-x.c (set_frame_menubar):
2489         * menubar-x.c (menu_item_descriptor_to_widget_value_1):
2490         * menubar-x.c:
2491         * menubar-msw.h:
2492         * menubar-msw.c (mswindows_popup_menu):
2493         * menubar-msw.c (mswindows_update_frame_menubars):
2494         * menubar-msw.c (mswindows_handle_wm_command):
2495         * menubar-msw.c (unsafe_handle_wm_initmenu_1):
2496         * menubar-msw.c (unsafe_handle_wm_initmenupopup_1):
2497         * menubar-msw.c (update_frame_menubar_maybe):
2498         * menubar-msw.c (populate_or_checksum_helper):
2499         * menubar-msw.c (empty_menu):
2500         * menubar-msw.c:
2501         * md5.c:
2502         * marker.c (set_marker_internal):
2503         * marker.c (print_marker):
2504         * malloc.c:
2505         * make-src-depend:
2506         * lstream.c (lisp_buffer_rewinder):
2507         * lstream.c (mark_lstream):
2508         * lrecord.h:
2509         * lrecord.h (struct lrecord_header):
2510         * lread.c (readevalloop):
2511         * lread.c (locate_file):
2512         * lread.c (locate_file_in_directory):
2513         * lread.c (Flocate_file):
2514         * lread.c (load_force_doc_string_unwind):
2515         * lread.c (ebolify_bytecode_constants):
2516         * lread.c:
2517         * lisp.h:
2518         * lisp-union.h:
2519         * lisp-disunion.h:
2520         * linuxplay.c (linux_play_data_or_file):
2521         * linuxplay.c (audio_init):
2522         * line-number.c:
2523         * keymap.h:
2524         * keymap.c (describe_map):
2525         * keymap.c (describe_map_mapper):
2526         * keymap.c (Fdescribe_bindings_internal):
2527         * keymap.c (Fsingle_key_description):
2528         * keymap.c (map_keymap_sorted):
2529         * keymap.c (get_relevant_keymaps):
2530         * keymap.c (Flookup_key):
2531         * keymap.c (raw_lookup_key_mapper):
2532         * keymap.c (Fdefine_key):
2533         * keymap.c (Fevent_matches_key_specifier_p):
2534         * keymap.c (key_desc_list_to_event):
2535         * keymap.c (define_key_parser):
2536         * keymap.c (define_key_check_and_coerce_keysym):
2537         * keymap.c (keymap_submaps):
2538         * keymap.c (keymap_store_internal):
2539         * keymap.c (keymap_delete_inverse_internal):
2540         * keymap.c (keymap_store_inverse_internal):
2541         * keymap.c (print_keymap):
2542         * keymap.c (Lisp_Keymap):
2543         * keymap.c:
2544         * intl.c:
2545         * insdel.c (convert_bufbyte_string_into_emchar_dynarr):
2546         * insdel.c (make_gap):
2547         * input-method-xlib.c (get_XIM_input):
2548         * input-method-xlib.c (XIM_init_frame):
2549         * imgproc.c:
2550         * hash.h:
2551         * hash.c:
2552         * gui.c:
2553         * gui-x.c (button_item_to_widget_value):
2554         * gui-x.c (popup_selection_callback):
2555         * glyphs.h (struct image_instantiator_methods):
2556         * glyphs.c (mark_glyph_cachels):
2557         * glyphs.c (Fglyph_type):
2558         * glyphs.c (image_instantiate):
2559         * glyphs.c (image_create):
2560         * glyphs.c (make_image_instance_1):
2561         * glyphs.c (finalize_image_instance):
2562         * glyphs.c:
2563         * glyphs-x.c (finalize_subwindow):
2564         * glyphs-x.c (xface_validate):
2565         * glyphs-x.c (x_locate_pixmap_file):
2566         * glyphs-x.c (convert_EImage_to_XImage):
2567         * glyphs-msw.c:
2568         * glyphs-msw.c (mswindows_resource_instantiate):
2569         * glyphs-msw.c (xpm_to_eimage):
2570         * glyphs-msw.c (convert_EImage_to_DIBitmap):
2571         * glyphs-eimage.c (tiff_instantiate):
2572         * glyphs-eimage.c (png_instantiate):
2573         * glyphs-eimage.c (struct png_error_struct):
2574         * glyphs-eimage.c (gif_memory_storage):
2575         * glyphs-eimage.c:
2576         * gifrlib.h:
2577         * getloadavg.c (getloadavg):
2578         * getloadavg.c:
2579         * gdbinit:
2580         * free-hook.c (log_gcpro):
2581         * free-hook.c (check_malloc):
2582         * free-hook.c (check_free):
2583         * free-hook.c (ROUND_UP_TO_PAGE):
2584         * free-hook.c:
2585         * frame.h (struct frame):
2586         * frame.h:
2587         * frame.c (change_frame_size_1):
2588         * frame.c (allocate_frame_core):
2589         * frame.c:
2590         * frame-x.c (x_focus_on_frame):
2591         * frame-x.c (x_init_frame_2):
2592         * frame-x.c (x_popup_frame):
2593         * frame-x.c (xemacs_XtPopup):
2594         * frame-x.c:
2595         * frame-x.c (Foffix_start_drag_internal):
2596         * frame-x.c (x_cde_destroy_callback):
2597         * frame-x.c (x_wm_hack_wm_protocols):
2598         * frame-tty.c (tty_frame_visible_p):
2599         * frame-msw.c (mswindows_make_frame_invisible):
2600         * frame-msw.c (mswindows_after_init_frame):
2601         * frame-msw.c (mswindows_init_frame_1):
2602         * fns.c (syms_of_fns):
2603         * fns.c (Fbase64_decode_string):
2604         * fns.c (Fnconc):
2605         * fns.c (Ffillarray):
2606         * fns.c (Fobject_plist):
2607         * fns.c (Fget):
2608         * fns.c (Fcanonicalize_lax_plist):
2609         * fns.c (Fcanonicalize_plist):
2610         * fns.c (Fplist_remprop):
2611         * fns.c (Fplist_get):
2612         * fns.c (advance_plist_pointers):
2613         * fns.c (internal_plist_put):
2614         * fns.c (Fnreverse):
2615         * fns.c (Fremassq):
2616         * fns.c (Felt):
2617         * fns.c (Fsubstring):
2618         * fns.c (Fbvconcat):
2619         * fns.c (Flength):
2620         * fns.c (length_with_bytecode_hack):
2621         * fns.c (print_bit_vector):
2622         * fns.c:
2623         * floatfns.c (Ffloor):
2624         * floatfns.c:
2625         * floatfns.c (in_float_error):
2626         * fileio.c (Ffile_modes):
2627         * fileio.c (Fexpand_file_name):
2628         * fileio.c (Fmake_temp_name):
2629         * fileio.c (Ffile_name_nondirectory):
2630         * fileio.c (Ffile_name_directory):
2631         * file-coding.h:
2632         * file-coding.c (vars_of_mule_coding):
2633         * file-coding.c (convert_to_external_format):
2634         * file-coding.c (encoding_marker):
2635         * file-coding.c (decoding_marker):
2636         * file-coding.c (Fcopy_coding_system):
2637         * file-coding.c (Fmake_coding_system):
2638         * file-coding.c (struct coding_system_list_closure):
2639         * file-coding.c (Ffind_coding_system):
2640         * file-coding.c (symbol_to_eol_type):
2641         * file-coding.c:
2642         * faces.h (struct face_cachel):
2643         * faces.c (vars_of_faces):
2644         * faces.c (face_property_was_changed):
2645         * faces.c (mark_face_cachels):
2646         * faces.c (temporary_faces_list):
2647         * faces.c (struct face_list_closure):
2648         * faces.c:
2649         * extents.h (struct extent):
2650         * extents.c (vars_of_extents):
2651         * extents.c (struct copy_string_extents_1_arg):
2652         * extents.c (add_string_extents_mapper):
2653         * extents.c (Fextent_property):
2654         * extents.c (Fset_extent_property):
2655         * extents.c (symbol_to_glyph_layout):
2656         * extents.c (properties_equal):
2657         * extents.c (print_extent):
2658         * extents.c (print_extent_1):
2659         * extents.c (extent_in_region_p):
2660         * extents.c (gap_array_make_gap):
2661         * extents.c:
2662         * events.h (struct Lisp_Event):
2663         * events.h:
2664         * events.c (Fevent_properties):
2665         * events.c (format_event_object):
2666         * events.c (Fmake_event):
2667         * events.c (event_equal):
2668         * events.c (print_event):
2669         * events.c (mark_event):
2670         * event-stream.c ((read-char)
2671         * event-stream.c (vars_of_event_stream):
2672         * event-stream.c (syms_of_event_stream):
2673         * event-stream.c (Fset_recent_keys_ring_size):
2674         * event-stream.c (Fsit_for):
2675         * event-stream.c (Fnext_event):
2676         * event-stream.c (execute_help_form):
2677         * event-stream.c (maybe_kbd_translate):
2678         * event-stream.c:
2679         * event-msw.c (vars_of_event_mswindows):
2680         * event-msw.c (mswindows_wnd_proc):
2681         * event-msw.c (mswindows_need_event):
2682         * event-msw.c (mswindows_drain_windows_queue):
2683         * event-msw.c (mswindows_pump_outstanding_events):
2684         * event-msw.c:
2685         * event-msw.c (slurp_thread):
2686         * event-msw.c (struct ntpipe_slurp_stream):
2687         * event-msw.c (HANDLE_TO_USID):
2688         * event-Xt.c (emacs_Xt_handle_magic_event):
2689         * event-Xt.c (x_event_to_emacs_event):
2690         * event-Xt.c (x_reset_modifier_mapping):
2691         * event-Xt.c (x_reset_key_mapping):
2692         * event-Xt.c:
2693         * eval.c (syms_of_eval):
2694         * eval.c (warn_when_safe):
2695         * eval.c (warn_when_safe_lispobj):
2696         * eval.c (Fbacktrace_frame):
2697         * eval.c (Fbacktrace):
2698         * eval.c (top_level_set):
2699         * eval.c (unbind_to_hairy):
2700         * eval.c (specbind_magic):
2701         * eval.c (specbind_unwind_wasnt_local):
2702         * eval.c (call2_trapping_errors):
2703         * eval.c (call1_trapping_errors):
2704         * eval.c (catch_them_squirmers_call2):
2705         * eval.c (call0_trapping_errors):
2706         * eval.c (run_hook_trapping_errors):
2707         * eval.c (catch_them_squirmers_eval_in_buffer):
2708         * eval.c (call4_in_buffer):
2709         * eval.c (call3_in_buffer):
2710         * eval.c (call2_in_buffer):
2711         * eval.c (call1_in_buffer):
2712         * eval.c (call0_in_buffer):
2713         * eval.c (run_hook):
2714         * eval.c (run_hook_with_args_in_buffer):
2715         * eval.c (Fapply):
2716         * eval.c (Feval):
2717         * eval.c (do_autoload):
2718         * eval.c (un_autoload):
2719         * eval.c (Fautoload):
2720         * eval.c (Finteractive_p):
2721         * eval.c (Fcommand_execute):
2722         * eval.c (signal_quit):
2723         * eval.c (call_with_suspended_errors):
2724         * eval.c (signal_error):
2725         * eval.c (return_from_signal):
2726         * eval.c (Fcall_with_condition_handler):
2727         * eval.c (run_condition_case_handlers):
2728         * eval.c (condition_case_1):
2729         * eval.c (Funwind_protect):
2730         * eval.c (unwind_to_catch):
2731         * eval.c (internal_catch):
2732         * eval.c (Fmacroexpand_internal):
2733         * eval.c (Fuser_variable_p):
2734         * eval.c (Fdefconst):
2735         * eval.c (Fdefvar):
2736         * eval.c (Ffunction):
2737         * eval.c (signal_call_debugger):
2738         * eval.c (call_debugger):
2739         * eval.c:
2740         * emacs.c (main):
2741         * emacs.c (sort_args):
2742         * emacs.c (main_1):
2743         * elhash.h:
2744         * elhash.c:
2745         * editfns.c (Fencode_time):
2746         * editfns.c (Fdecode_time):
2747         * editfns.c (Fuser_full_name):
2748         * editfns.c:
2749         * editfns.c (save_excursion_restore):
2750         * ecrt0.c:
2751         * dynarr.c:
2752         * doprnt.c (emacs_doprnt_1):
2753         * doc.c (verify_doc_mapper):
2754         * doc.c (Fsnarf_documentation):
2755         * doc.c (Fdocumentation):
2756         * dll.c:
2757         * dired.c (user_name_completion):
2758         * dired.c (Fdirectory_files):
2759         * dialog-x.c:
2760         * dialog-msw.c:
2761         * dgif_lib.c (FreeSavedImages):
2762         * dgif_lib.c (DGifGetImageDesc):
2763         * device.h:
2764         * device.h (struct device):
2765         * device.c (Fselect_device):
2766         * device.c (allocate_device):
2767         * device.c:
2768         * device-x.c (Fx_keysym_on_keyboard_p):
2769         * device-x.c (Fx_valid_keysym_name_p):
2770         * device-x.c (x_IO_error_handler):
2771         * device-x.c (x_delete_device):
2772         * device-x.c (x_finish_init_device):
2773         * device-x.c (x_init_device):
2774         * device-x.c:
2775         * device-msw.c (mswindows_init_device):
2776         * dbxrc:
2777         * database.c (vars_of_database):
2778         * database.c (Fput_database):
2779         * database.c (Fopen_database):
2780         * database.c (berkdb_remove):
2781         * database.c (berkdb_put):
2782         * database.c (Fdatabasep):
2783         * database.c (print_database):
2784         * database.c:
2785         * data.c (vars_of_data):
2786         * data.c (syms_of_data):
2787         * data.c (init_errors_once_early):
2788         * data.c (prune_weak_lists):
2789         * data.c (finish_marking_weak_lists):
2790         * data.c (print_weak_list):
2791         * data.c (Fmod):
2792         * data.c (Fstring_to_number):
2793         * data.c (Fnumber_to_string):
2794         * data.c (Findirect_function):
2795         * data.c (Fsetcdr):
2796         * data.c (Ffloatp):
2797         * data.c (Fsubr_interactive):
2798         * data.c (Farrayp):
2799         * data.c (Fkeywordp):
2800         * data.c (Fnull):
2801         * data.c:
2802         * console.h (CONSOLE_NAME):
2803         * console.h:
2804         * console.c (vars_of_console):
2805         * console.c (Fselect_console):
2806         * console.c:
2807         * console-x.h (DEVICE_X_COLORMAP):
2808         * console-x.h (struct x_device):
2809         * console-x.c (x_device_to_console_connection):
2810         * console-tty.h (CONSOLE_TTY_FINAL_CURSOR_Y):
2811         * console-tty.c (tty_init_console):
2812         * console-tty.c:
2813         * console-msw.h (struct mswindows_frame):
2814         * conslots.h:
2815         * config.h.in:
2816         * cmds.c (internal_self_insert):
2817         * cmds.c (Fforward_line):
2818         * cmds.c (Fforward_char):
2819         * cmds.c:
2820         * cmdloop.c:
2821         * chartab.c (mark_char_table_entry):
2822         * chartab.c:
2823         * casefiddle.c (casify_word):
2824         * callproc.c (child_setup):
2825         * callproc.c (Fcall_process_internal):
2826         * callproc.c:
2827         * callint.c (Fcall_interactively):
2828         * bytecode.h:
2829         * bytecode.c (execute_rare_opcode):
2830         * bytecode.c (execute_optimized_program):
2831         * bytecode.c:
2832         * bufslots.h:
2833         * buffer.h (BUFFER_REALLOC):
2834         * buffer.h (GET_CHARPTR_INT_DATA_ALLOCA):
2835         * buffer.h (GET_CHARPTR_EXT_DATA_ALLOCA):
2836         * buffer.h:
2837         * buffer.h (MAP_INDIRECT_BUFFERS):
2838         * buffer.h (CHECK_LIVE_BUFFER):
2839         * buffer.c (init_initial_directory):
2840         * buffer.c (complex_vars_of_buffer):
2841         * buffer.c (vars_of_buffer):
2842         * buffer.c (finish_init_buffer):
2843         * buffer.c (Fget_file_buffer):
2844         * buffer.c (Fbuffer_list):
2845         * buffer.c (mark_buffer):
2846         * balloon_help.c (balloon_help_move_to_pointer):
2847         * balloon_help.c (show_help):
2848         * balloon_help.c:
2849         * backtrace.h:
2850         * alloc.c (garbage_collect_1):
2851         * alloc.c (sweep_strings):
2852         * alloc.c (sweep_compiled_functions):
2853         * alloc.c (sweep_bit_vectors_1):
2854         * alloc.c (sweep_vectors_1):
2855         * alloc.c (sweep_lcrecords_1):
2856         * alloc.c (tick_lcrecord_stats):
2857         * alloc.c (pure_string_sizeof):
2858         * alloc.c (mark_conses_in_list):
2859         * alloc.c (mark_object):
2860         * alloc.c (report_pure_usage):
2861         * alloc.c (make_pure_float):
2862         * alloc.c (make_pure_string):
2863         * alloc.c (free_managed_lcrecord):
2864         * alloc.c (mark_string):
2865         * alloc.c (noseeum_make_marker):
2866         * alloc.c (allocate_event):
2867         * alloc.c (Fbit_vector):
2868         * alloc.c (Fvector):
2869         * alloc.c (make_float):
2870         * alloc.c (Fmake_list):
2871         * alloc.c (Flist):
2872         * alloc.c (FREE_FIXED_TYPE_WHEN_NOT_IN_GC):
2873         * alloc.c (PUT_FIXED_TYPE_ON_FREE_LIST):
2874         * alloc.c (DECLARE_FIXED_TYPE_ALLOC):
2875         * alloc.c (dbg_constants):
2876         * alloc.c (gc_record_type_p):
2877         * alloc.c (free_lcrecord):
2878         * alloc.c (xmalloc):
2879         * alloc.c (NOSEEUM_INCREMENT_CONS_COUNTER):
2880         * abbrev.c:
2881         * Makefile.in.in (mostlyclean):
2882         * Makefile.in.in (external_client_xlib_objs_nonshared):
2883         * Makefile.in.in (temacs_link_args):
2884         * Makefile.in.in (release):
2885         * Makefile.in.in (dnd_objs):
2886         * Makefile.in.in (objs):
2887         * Makefile.in.in (PROGNAME):
2888         * EmacsShell.c: cast strings to (XtPointer)
2889         * EmacsFrame.c: cast strings to (XtPointer)
2890         - mega patch
2891         - rewrite basic lisp functions for speed
2892         - rewrite bytecode interpreter for speed
2893         - rewrite list looping constructs for speed and safety using
2894           tortoise/hare.
2895         - use size_t where appropriate.
2896         - new hashtable implementation
2897         - cleanup implementation of opaques
2898         - opaques can now be purecopy'ed
2899         - move some cl functionality into C for speed.
2900         - remove last remaining VMS support
2901         - spelling fixes
2902         - improve gdb/dbx debugger support
2903         - move pure.c back into alloc.c for performance
2904         - enable report_pure_usage() if --memory-usage-stats
2905         - remove remnants of Energize support (EMACS_BTL, cadillac...)
2906         - don't use symbols with leading `_' or embedded `__'
2907         - globally cleanup duplicated semicolons `;;'
2908         - I give in on %p vs %lx - we use printf("%lx",(long) p)
2909           globally.
2910         - globally replace O_NDELAY with O_NONBLOCK.
2911         - globally replace CDISABLE with _POSIX_VDISABLE.
2912         - use O_RDONLY and O_RDWR instead of magic `0' and `2'.
2913         - define (and maybe use!) STDERR_FILENO and friends.
2914         - add support for macros defined in C
2915         - `when', `unless', `not' and `defalias' now defined in C,
2916           so that they are universally available.
2917         - rename defvar_mumble to defvar_magic
2918         - rename RETURN__ to RETURN_SANS_WARNINGS
2919         - use consistent style of initial caps in error messages
2920         - implement last, butlast, nbutlast, copy-list in C.
2921         - provide typedefs for all struct Lisp_foo types
2922         - Lisp_Objects must be initialized to Qnil rather than 0.
2923         - make sure XEmacs runs (slowly) with always_gc == 1;
2924         - fast and safe LOOP_* macros
2925         - change calls to XSETOBJ to XSETFOO
2926         - replace calls to XSETINT by make_int()
2927         - plug up memory leaks
2928         - use style markobj (foo), not silly ((markobj) (foo))
2929         - use XFLOAT_DATA (obj) instead of float_data (XFLOAT (obj))
2930
2931 1998-12-02  P. E. Jareth Hein  <jareth@camelot.co.jp>
2932
2933         * unexec.c: Changed a #ifndef statement to fix XEmacs on BSDI 3.0
2934
2935 1998-11-28  SL Baur  <steve@altair.xemacs.org>
2936
2937         * XEmacs 21.2-beta4 is released.
2938
2939 1998-11-27  SL Baur  <steve@altair.xemacs.org>
2940
2941         * mule-charset.c (complex_vars_of_mule_charset): Fix graphic
2942         property in control-1 charset.
2943         From Julian Bradfield <jcb@daimi.au.dk>
2944
2945 1998-11-26  Jan Vroonhof  <vroonhof@math.ethz.ch>
2946
2947         * gui-x.c (button_item_to_widget_value): Ignore :key-sequence
2948         keyword.
2949         Add stub for :label.
2950
2951         * gui.c (gui_item_add_keyval_pair): ditto.
2952
2953         * menubar-x.c (menu_item_descriptor_to_widget_value_1): Ignore
2954         :key-sequence keyword.
2955         Add stub for:label.
2956         Support :active for submenus like the Windows code and FSF Emacs.
2957
2958 1998-11-27  Hrvoje Niksic  <hniksic@srce.hr>
2959
2960         * dired.c (make_directory_hash_table): make_string() is OK because
2961         readdir() Mule-encapsulates.
2962
2963 1998-11-26  Hrvoje Niksic  <hniksic@srce.hr>
2964
2965         * fns.c (Fbase64_encode_string): Fix docstring.
2966         (Fbase64_decode_string): Ditto.
2967
2968 1998-11-26  Hrvoje Niksic  <hniksic@srce.hr>
2969
2970         * editfns.c (Ftranslate_region): Use
2971         convert_bufbyte_string_into_emchar_string().
2972
2973 1998-11-25  Hrvoje Niksic  <hniksic@srce.hr>
2974
2975         * editfns.c (Ftranslate_region): Accept vectors and char-tables as
2976         well as strings.
2977         (Ftranslate_region): Turn table into an array of Emchars for
2978         larger regions.
2979
2980 1998-11-25  Hrvoje Niksic  <hniksic@srce.hr>
2981
2982         * chartab.c (Freset_char_table): Fix wrong placement of #endif.
2983
2984 1998-11-24  Hrvoje Niksic  <hniksic@srce.hr>
2985
2986         * chartab.c (Freset_char_table): Don't blindly fill chartables of
2987         type `char' with nils.
2988
2989         * chartab.c (canonicalize_char_table_value): Coerce ints to chars
2990         for tables of type `char'.
2991
2992 1998-11-26  Didier Verna  <verna@inf.enst.fr>
2993
2994         * input-method-xlib.c (Initialize_Locale): don't call
2995         XtSetLanguageProc. We've done the whole work here.
2996         * input-method-xfs.c (Initialize_Locale): ditto.
2997         * input-method-motif.c (Initialize_Locale): ditto.
2998
2999 1998-11-26  Didier Verna  <verna@inf.enst.fr>
3000
3001         * process-unix.c (unix_create_process): handle properly
3002         Vfile_name_coding_system for converting the program and directory
3003         names.
3004
3005 1998-11-27  SL Baur  <steve@altair.xemacs.org>
3006
3007         * m/arm.h: New file.
3008         From James LewisMoss <dres@ioa.com>
3009
3010 1998-11-27  Takeshi Hagiwara  <hagiwara@ie.niigata-u.ac.jp>
3011
3012         * m/mips-nec.h:
3013         Fix the realpath() problem of UnixWare2.1.3.
3014         Patches for NEC's sysv4.2 machine.
3015
3016 1998-11-25  Hrvoje Niksic  <hniksic@srce.hr>
3017
3018         * dired.c (Fdirectory_files): Remove redundant code.
3019
3020 1998-11-25  Hrvoje Niksic  <hniksic@srce.hr>
3021
3022         * fns.c (free_malloced_ptr): New function.
3023         (XMALLOC_OR_ALLOCA): New macro.
3024         (XMALLOC_UNBIND): Ditto.
3025         (Fbase64_encode_region): Use malloc() for large blocks; arrange it
3026         to be freed in case of non-local exit.
3027         (Fbase64_encode_string): Ditto.
3028         (Fbase64_decode_region): Ditto.
3029         (Fbase64_decode_string): Ditto.
3030         (STORE_BYTE): New macro.
3031         (base64_decode_1): Use it.
3032
3033 1998-11-25  Hrvoje Niksic  <hniksic@srce.hr>
3034
3035         * fns.c (base64_value_to_char): Base64 stuff.
3036
3037 1998-11-24  Hrvoje Niksic  <hniksic@srce.hr>
3038
3039         * editfns.c (Fbuffer_substring): New function.
3040
3041         * lisp.h: Declare make_string_from_buffer_no_extents().
3042
3043         * insdel.c (make_string_from_buffer_1): New function.
3044         (make_string_from_buffer_no_extents): Ditto.
3045
3046 1998-11-15  Michael Sperber [Mr. Preprocessor]  <sperber@informatik.uni-tuebingen.de>
3047
3048         * linuxplay.c: Including <fcntl.h> instead of <sys/fcntl.h> makes
3049         sound work on AIX with OSS installed.  Linux should still work.
3050
3051 1998-11-03  Andy Piper  <andyp@parallax.co.uk>
3052
3053         * config.h.in: name change for cygwin/version.h
3054
3055         * configure.in: check for cygwin/version.h now.
3056
3057         * cygwin32.h: track CYGWIN_DLL_VERSION_MAJOR ->
3058         CYGWIN_VERSION_DLL_MAJOR name change in cygwin b20.
3059         move cygwin32/version.h to cygwin/version.h
3060
3061 1998-11-03  Olivier Galibert  <galibert@pobox.com>
3062
3063         * lisp.h  (struct  Lisp_Bit_Vector): Fix declaration of  bits from
3064         int to long.
3065
3066 1998-10-22  Andy Piper  <andyp@parallax.co.uk>
3067
3068         * cygwin32.h: track CYGWIN_DLL_VERSION_MAJOR ->
3069         CYGWIN_VERSION_DLL_MAJOR name change in cygwin b20.
3070         enable BROKEN_SIGIO under b20 to make QUIT work.
3071
3072 1998-10-22  Andy Piper  <andyp@parallax.co.uk>
3073
3074         * frame-msw.c (mswindows_size_frame_internal): force frame sizing
3075         to fit within the constraints of the screen size. I.e. make the
3076         frame small enough to fit and move it if some of it will be
3077         off-screen.
3078
3079 1998-10-19  Greg Klanderman  <greg@alphatech.com>
3080
3081         * dired.c: conditionalize inclusion of user-name-completion
3082         primitives on non-Windows NT.  The needed functions don't exist on NT.
3083
3084 1998-11-24  SL Baur  <steve@altair.xemacs.org>
3085
3086         * gifrlib.h: Clean up types for 64 bit compile.
3087         * dgif_lib.c (DGifInitRead): Ditto.
3088         (MakeSavedImage): Ditto.
3089         * emacs.c (decode_path): Ditto.
3090         From Steve Carney <carney@pa.dec.com>
3091
3092 1998-10-16  William M. Perry  <wmperry@aventail.com>
3093
3094         * glyphs-msw.c (bitmap_table): Fixed typo in builtin bitmaps
3095           (cehckboxes instead of checkboxes).
3096
3097 1998-10-15  SL Baur  <steve@altair.xemacs.org>
3098
3099         * XEmacs 21.2-beta3 is released.
3100
3101 1998-10-13  Raymond Toy  <toy@rtp.ericsson.se>
3102
3103         * runemacs.c (WinMain): If the basename is "rungnuclient.exe", run
3104         gnuclient.  Otherwise, we run xemacs as we always did.  This gets
3105         rid of the annoying DOS window when running gnuclient.
3106
3107 1998-10-13  Andy Piper  <andyp@parallax.co.uk>
3108
3109         * dragdrop.c (vars_of_dragdrop): rename HAVE_MSWINDOWS ->
3110         HAVE_MS_WINDOWS typo.
3111
3112 1998-10-13  SL Baur  <steve@altair.xemacs.org>
3113
3114         * process-unix.c (unix_send_process): Set closed flag on writable
3115         pipe after SIGPIPE is received and before we call deactivate_process.
3116
3117 1998-10-03  Gunnar Evermann  <ge204@eng.cam.ac.uk>
3118
3119         * window.c (Fset_window_start): respect narrowing when
3120         checking wheter start is at the beginning of a line.
3121         (Fset_window_buffer): Ditto
3122         Fixes repeatable crash in VM.
3123
3124 1998-10-09  SL Baur  <steve@altair.xemacs.org>
3125
3126         * window.c (specifier_vars_of_window): Set default vertical
3127         divider width to 1 on ttys.
3128
3129 1998-10-08  Martin Buchholz  <martin@xemacs.org>
3130
3131         * alloc.c:
3132         * unexec.c:
3133         * malloc.c:
3134         Add <stddef.h> to get ptrdiff_t declaration
3135
3136 1998-10-07  Jonathan Harris  <jhar@tardis.ed.ac.uk>
3137
3138         * scrollbar-msw.c: Use the same vertical scrollbar drag hack as
3139           is used for Motif or Lucid scrollbars under X.
3140
3141 1998-10-08  Pierre Wendling  <pw@ebc.vbe.dec.com>
3142
3143         * m/alpha.h (UNEXEC): quoted to avoid bad expansion when running
3144         `configure'
3145
3146 1998-10-06  Takeshi Hagiwara  <hagiwara@ie.niigata-u.ac.jp>
3147
3148         * frame-x.c (x_delete_frame): Fix an argument of XtDestroyWidget.
3149
3150 1998-10-05  Andy Piper  <andyp@parallax.co.uk>
3151
3152         * s/cygwin32.h: more cygwin b20 reorganisation.
3153
3154 1998-10-01  Raymond Toy  <toy@rtp.ericsson.se>
3155
3156         * nas.c: Added necessary support functions to be able to handle
3157         WAVE files in memory, just like the support for SND files in
3158         memory.
3159
3160 1998-09-30  SL Baur  <steve@altair.xemacs.org>
3161
3162         * callproc.c (child_setup): Fix spelling typo.
3163
3164 1998-09-29  SL Baur  <steve@altair.xemacs.org>
3165
3166         * XEmacs 21.2-beta2 is released.
3167
3168 1998-09-27  P. E. Jareth Hein  <jareth@camelot.co.jp>
3169
3170         * regex.c (re_match_2_internal): Add in code to reset lowest_active_reg
3171         to prevent memory corruption in the case of jumping out of a series of
3172         nested match patterns. This is a rather brute force approach, though.
3173
3174 1998-09-02  Andy Piper  <andyp@parallax.co.uk>
3175
3176         * config.h.in: ditto.
3177
3178         * s/cygwin32.h: rearrange declarations to cope with cygwin
3179         b20. Include cygwin32/version.h if it exists.
3180
3181 1998-09-20  Jonathan Harris  <jhar@tardis.ed.ac.uk>
3182
3183         * device-msw.c (mswindows_init_device): Call new
3184           mswindows_enumerate_fonts() function in objects-msw.c instead
3185           of font_enum_callback_1() to enumerate fonts.
3186
3187           font_enum_callback_1() and _2() moved to objects-msw.c.
3188
3189         * faces.c (complex_vars_of_faces): Make the mswindows default
3190           face font fully specified and provide some fallbacks.
3191
3192         * objects-msw.c: font_enum_callback_1() and _2() moved here
3193           from objects-msw.c. Obtain the enumerated font's character
3194           sets by table lookup instead of using the locale-specific
3195           string provided by Windows.
3196
3197           New public non-method mswindows_enumerate_fonts() that fills
3198           in the supplied mswindows device's font list.
3199
3200           mswindows_initialize_font_instance: Use the supplied name
3201           variable instead of f->name when signalling errors. Match font
3202           weights and character sets using lookup tables which handle
3203           spaces instead of by frobbing.
3204
3205 1998-09-20  Jonathan Harris  <jhar@tardis.ed.ac.uk>
3206
3207         * process-nt.c: Define an arbitrary limit, FRAGMENT_CODE_SIZE,
3208           on the size of code fragments passed to run_in_other_process.
3209
3210           run_in_other_process(): Use FRAGMENT_CODE_SIZE to determine
3211           the amount of memory to allocate in the other process.
3212
3213           Removed sigkill_code_end(), sigint_code_end() and
3214           sig_enable_code_end() since they are now redundant.
3215
3216           send_signal() and enable_child_signals(): Don't try to work
3217           out the end of the code fragments passed to
3218           run_in_other_process()
3219
3220 1998-09-10  Kazuyuki IENAGA  <ienaga@jsys.co.jp>
3221
3222         * src/s/freebsd.h: Added __ELF__ and compiler/liker flags for
3223         FreeBSD-current.
3224
3225         * src/unexelf.c: Partially synched with FSF's 20.3.
3226
3227 1998-09-10  Hrvoje Niksic  <hniksic@srce.hr>
3228
3229         * insdel.c (signal_after_change): Map across indirect buffers
3230         here, and not in the upper-level functions.
3231         (signal_first_change): Don't check for Armageddon.
3232         (signal_before_change): Map across indirect buffers here.
3233         (prepare_to_modify_buffer): ...and here.
3234
3235 1998-09-09  Hrvoje Niksic  <hniksic@srce.hr>
3236
3237         * insdel.c (signal_after_change): Add return value.
3238         (buffer_insert_string_1): Use it.
3239         (buffer_delete_range): Ditto.
3240         (buffer_replace_char): Ditto.
3241         (cancel_multiple_change): Map the indirect buffers.
3242
3243 1998-09-06  Hrvoje Niksic  <hniksic@srce.hr>
3244
3245         * insdel.c (init_buffer_text): Remove INDIRECT_P parameter.
3246         (uninit_buffer_text): Ditto.
3247
3248         * buffer.c (Fmake_indirect_buffer): Implement stricter
3249         error-checking.
3250
3251 1998-09-04  Hrvoje Niksic  <hniksic@srce.hr>
3252
3253         * insdel.c (change_function_restore): Reverse order of
3254         function-call and assignment.
3255         (first_change_hook_restore): Ditto.
3256
3257         * extents.c (mark_extent_auxiliary): Mark them.
3258         (Fset_extent_property): Set them.
3259         (Fextent_property): Get them.
3260         (Fextent_properties): Ditto.
3261         (vars_of_extents): Set their default.
3262
3263         * extents.h (struct extent_auxiliary): Add before_change_functions
3264         and after_change_functions.
3265
3266         * insdel.c (signal_before_change): Use it.
3267         (signal_after_change): Ditto.
3268
3269         * extents.c (report_extent_modification): New function.
3270
3271         * insdel.c (signal_before_change): Don't check for Armageddon.
3272         (signal_after_change): Ditto.
3273
3274 1998-09-11  Gunnar Evermann  <Gunnar.Evermann@nats.informatik.uni-hamburg.de>
3275
3276         * redisplay.c (redisplay_window): make sure a new starting point
3277         is chosen if it somehow got moved from the beginning of the line
3278         -- this can happen because Fwiden was called recently.
3279
3280         * window.c (Fset_window_start): set start_at_line_beg correctly
3281         (Fset_window_buffer): Ditto
3282
3283 1998-09-06  Hrvoje Niksic  <hniksic@srce.hr>
3284
3285         * insdel.c (init_buffer_text): Remove INDIRECT_P parameter.
3286         (uninit_buffer_text): Ditto.
3287
3288         * buffer.c (Fmake_indirect_buffer): Implement stricter
3289         error-checking.
3290
3291 1998-05-14  Jan Vroonhof  <vroonhof@math.ethz.ch>
3292
3293         * emacs.c (main_1): Removed references to *vars_of_filelock.
3294
3295         * lisp.h: Added Fsystem_name.
3296
3297         * filelock.c: Replaced by version from FSF 20.2. Now implements
3298         locking by using symlinks which is NFS safe. However keep the
3299         GCPRO's in lock_file and the calls to callx_in_buffer like our old
3300         version (and of course use ansi C, acessor macros, etc).
3301
3302 1998-09-06  Jan Vroonhof  <vroonhof@math.ethz.ch>
3303
3304         * process-unix.c (unix_create_process): Reset SIGHUP handler to
3305         SIG_DFL. We now try to conserve any inherted SIG_IGN settings
3306         in init_signals_very_early. However these should not be passed
3307         on to children attached to the new pty.
3308
3309 1998-08-28  Andy Piper  <andyp@parallax.co.uk>
3310
3311         * glyphs-eimage.c (png_instantiate_unwind): clean up eimage after use.
3312
3313 1998-09-07  Jonathan Harris  <jhar@tardis.ed.ac.uk>
3314
3315         * fileio.c (file-name-directory, file_name_as_directory):
3316           Don't call CORRECT_DIR_SEPS, even when #defined WINDOWSNT.
3317
3318 1998-09-02  Andy Piper  <andyp@parallax.co.uk>
3319
3320         * emacs.c (main_1): init_ralloc() if initialised and we have REL_ALLOC
3321
3322         * ralloc.c: uncomment __morecore.
3323
3324 1998-09-92  Jonathan Harris  <jhar@tardis.ed.ac.uk>
3325
3326         * event-msw.c(winsock_writer): Supply a dummy 4th argument to
3327           WriteFile() to fix a winsock 1.x bug on Win95.
3328
3329 1998-08-28  Hrvoje Niksic  <hniksic@srce.hr>
3330
3331         * event-Xt.c (emacs_Xt_mapping_action): Check for device being
3332         deleted.
3333         (x_event_to_emacs_event): Ditto.
3334         (emacs_Xt_handle_focus_event): Ditto.
3335         (emacs_Xt_handle_magic_event): Ditto.
3336
3337         * console-x.h (struct x_device): New flag being_deleted.
3338         (DEVICE_X_BEING_DELETED): New macro.
3339
3340         * device-x.c (x_IO_error_handler): Throw to top-level instead of
3341         returning.  Before doing that, set the being_deleted flag on the
3342         device.
3343
3344 1998-08-27  Hrvoje Niksic  <hniksic@srce.hr>
3345
3346         * device-x.c (x-seppuku-on-epipe): Removed.
3347
3348 1998-08-26  Gunnar Evermann  <Gunnar.Evermann@nats.informatik.uni-hamburg.de>
3349
3350         * frame-x.c (x_delete_frame): Flush the X output buffer after
3351         calling XtDestroyWidget to ensure that the windows are really
3352         killed right now.
3353
3354 1998-08-26  Hrvoje Niksic  <hniksic@srce.hr>
3355
3356         * menubar-x.c (my_run_hook): New unused function.
3357         (pre_activate_callback): Use run_hook for Qactivate_menubar_hook,
3358         since we ignore the results of the contained functions anyway.
3359
3360 1998-08-26  P. E. Jareth Hein  <jareth@camelot.co.jp>
3361
3362         * glyphs-eimage.c (gif_instantiate): Fix a crash in handling
3363         interlaced GIF files that are smaller than 4 lines high...
3364
3365 1998-08-31  Hrvoje Niksic  <hniksic@srce.hr>
3366
3367         * buffer.c (map_over_sharing_buffers): Deleted.
3368
3369         * insdel.c (MAP_INDIRECT_BUFFERS): Move to buffer.h.
3370
3371         * buffer.c (Fkill_buffer): Keep indirect_children updated while
3372         killing them.
3373
3374 1998-08-31  Hrvoje Niksic  <hniksic@srce.hr>
3375
3376         * insdel.c (buffer_insert_string_1): Advance the point bytind in
3377         all the buffers.
3378         (buffer_delete_range): Ditto.
3379
3380         * marker.c (init_buffer_markers): Set point-marker to the value of
3381         point in an indirect buffer.
3382
3383 1998-08-30  Hrvoje Niksic  <hniksic@srce.hr>
3384
3385         * undo.c (undo_prelude): Test last-undo-buffer against base
3386         buffer.
3387
3388         * insdel.c (MAP_INDIRECT_BUFFERS): Use it.
3389
3390         * buffer.h (BUFFER_BASE_BUFFER): New macro.
3391
3392 1998-08-30  Hrvoje Niksic  <hniksic@srce.hr>
3393
3394         * insdel.c (init_buffer_text): Initialize it here.
3395
3396         * line-number.c: Address line_number_cache through buffer->text.
3397
3398         * buffer.c (mark_buffer): Mark line number cache.
3399
3400         * bufslots.h (line_number_cache): Move to struct buffer_text.
3401
3402         * insdel.c (buffer_insert_string_1): Propagate signals and changes
3403         across the children buffers.
3404         (buffer_delete_range): Ditto.
3405         (buffer_replace_char): Ditto.
3406         (gap_left): Ditto.
3407         (gap_right): Ditto.
3408
3409         * insdel.c (MAP_INDIRECT_BUFFERS): New macro.
3410
3411         * buffer.c (Fmake_indirect_buffer): Uncomment.
3412
3413 1998-08-31  Hrvoje Niksic  <hniksic@srce.hr>
3414
3415         * macros.c (Fend_kbd_macro): Remove trailing period from error
3416         message.
3417         (Fexecute_kbd_macro): Ditto.
3418
3419 1998-08-21  Greg Klanderman  <greg@alphatech.com>
3420
3421         * dired.c (Fuser_name_completion): remove optional 2nd argument.
3422         (Fuser_name_completion_1): new function to return uniqueness
3423         indication in addition to the user name completion.
3424         (user_name_completion): change type of `uniq' argument.
3425
3426 1998-08-19  Michael Sperber [Mr. Preprocessor]  <sperber@informatik.uni-tuebingen.de>
3427
3428         * lread.c (vars_of_lread): Removed `source-directory' variable.
3429
3430 1998-08-22  Hrvoje Niksic  <hniksic@srce.hr>
3431
3432         * fileio.c (Ffile_readable_p): Apply the DOS/Windows logic to
3433         Cygwin.
3434
3435 1998-08-19  SL Baur  <steve@altair.xemacs.org>
3436
3437         * dired.c (vars_of_dired): Fix misapplied patch.
3438
3439 1998-08-16  Martin Buchholz  <martin@xemacs.org>
3440
3441         * fns.c (Fremrassq, remrassq_no_quit):
3442         A XCAR that should have been an XCDR turned Fremrassq into Fremassq
3443
3444 1998-07-17  Didier Verna  <verna@inf.enst.fr>
3445
3446         * redisplay-x.c (x_get_gc): returns a GC with a FillStipple fill
3447         style as foreground GC for faces that have the `dim' property.
3448         (x_output_string): when the `dim' face property is set,
3449         ensure the gray pixmap has been created, and get a proper
3450         foreground GC to draw the text.
3451
3452 1998-08-09  Jonathan Harris  <jhar@tardis.ed.ac.uk>
3453
3454         * event-msw.c (mswindows_wnd_proc): Workaround for a Win95 bug:
3455           Manually track the state of the left and right Ctrl and Alt
3456           modifiers.
3457
3458 1998-08-07 Matt Stupple <matts@tibco.com>
3459
3460         * ntproc.c: don't wait on char_consumed at thread entry.
3461         Additionally, to get the 'process' marked as finished, ensure
3462         that the CHILD_ACTIVE macro returns false, so before exiting
3463         close char_avail and set it to NULL, and close other handles
3464         to reduce handle leak problems.
3465
3466 1998-08-09  Jonathan Harris  <jhar@tardis.ed.ac.uk>
3467
3468         * menubar-msw.c (displayable_menu_item): take account of menu
3469           depth when deciding whether to try to display accelerators.
3470
3471 1998-08-04  Andy Piper  <andyp@parallax.co.uk>
3472
3473         * event-msw.c: use MsgWaitForMultipleObjects if there are no
3474         subprocesses.
3475
3476         * glyphs-msw.c: fix a couple of potential handle leaks.
3477
3478 1998-08-04  P. E. Jareth Hein  <jareth@camelot.co.jp>
3479
3480         * dgif_lib.c gif_io.c gifrlib.h: New files to put GIF
3481           *decoding ONLY* back into the core.
3482         * glyphs-eimage.c: Change referenced header file for GIF
3483           reading to point to the incore version.
3484
3485 1998-07-20  Martin Buchholz  <martin@xemacs.org>
3486
3487         * casefiddle.c (casify_object):
3488         Change algorithm from O(N**2) to O(N).
3489         Code cleanup.
3490         Doc string cleanup.
3491
3492 1998-07-22  Greg Klanderman  <greg@alphatech.com>
3493
3494         * dired.c (file_name_completion_unwind): don't leak the cons.
3495
3496 1998-07-20  Greg Klanderman  <greg@alphatech.com>
3497
3498         * dired.c (Fuser_name_completion): new function.
3499         (Fuser_name_all_completions): new function.
3500         (user_name_completion): new function.
3501         (syms_of_dired): 2 new DEFSUBRs.
3502         (vars_of_dired): initialize user name cache vars.
3503
3504 1998-07-29  P. E. Jareth Hein  <jareth@camelot.co.jp>
3505
3506         * glyphs-eimage.c (png_instantiate): Add proper handling for background
3507         colors taken from the default face.  Also correct a thinko in
3508         transparency (not alpha) handling.
3509
3510 1998-07-23  Martin Buchholz  <martin@xemacs.org>
3511
3512         * s/decosf4-0.h:  Use a perfectly ordinary link.  Nuke BSD crap.
3513         * unexalpha.c: ANSI C-ize.  Clean compiler warnings.
3514         * lread.c (Fload_internal):  Be very careful with printfs of
3515         size_t's
3516         * gui-x.c (menu_name_to_accelerator): tolower wants an `int'
3517         argument.
3518
3519 1998-07-27  Gunnar Evermann  <Gunnar.Evermann@nats.informatik.uni-hamburg.de>
3520
3521         * callint.c (Fcall_interactively): GCPRO prompt string before
3522         passing it to Fread_key_sequence
3523
3524 1998-07-27  SL Baur  <steve@altair.xemacs.org>
3525
3526         * keymap.c (vars_of_keymap): Initialize Vkey_translation_map and
3527         Vvertical_divider_map.
3528
3529         * mule-canna.c (vars_of_mule_canna): Initialize every symbol to
3530         Qnil or 0, none were initialized prior to this change.
3531
3532         Rename misnamed `V' prefixed integer variables:
3533         Vcanna_empty_info, Vcanna_through_info, Vcanna_underline,
3534         Vcanna_inhibit_hankakukana, Vcanna_henkan_length, Vcanna_henkan_revPos,
3535         Vcanna_henkan_revLen, Vcanna_ichiran_length, Vcanna_ichiran_revPos,
3536         Vcanna_ichiran_revLen.
3537
3538         Rename misnamed `V' prefixed integer variables and initialize
3539         properly in the vars_of routine.
3540         Vcanna_mode_AlphaMode, Vcanna_mode_EmptyMode, Vcanna_mode_KigoMode,
3541         Vcanna_mode_YomiMode, Vcanna_mode_JishuMode, Vcanna_mode_TankouhoMode,
3542         Vcanna_mode_IchiranMode, Vcanna_mode_YesNoMode, Vcanna_mode_OnOffMode,
3543         Vcanna_mode_AdjustBunsetsuMode, Vcanna_mode_ChikujiYomiMode,
3544         Vcanna_mode_ChikujiTanMode, Vcanna_mode_HenkanMode,
3545         Vcanna_mode_HenkanNyuryokuMode, Vcanna_mode_ZenHiraHenkanMode,
3546         Vcanna_mode_HanHiraHenkanMode, Vcanna_mode_ZenKataHenkanMode,
3547         Vcanna_mode_HanKataHenkanMode, Vcanna_mode_HanKataHenkanMode,
3548         Vcanna_mode_ZenAlphaHenkanMode, Vcanna_mode_HanAlphaHenkanMode,
3549         Vcanna_mode_ZenHiraKakuteiMode, Vcanna_mode_HanHiraKakuteiMode,
3550         Vcanna_mode_ZenKataKakuteiMode, Vcanna_mode_HanKataKakuteiMode,
3551         Vcanna_mode_ZenAlphaKakuteiMode, Vcanna_mode_HanAlphaKakuteiMode,
3552         Vcanna_mode_HexMode, Vcanna_mode_BushuMode, Vcanna_mode_ExtendMode,
3553         Vcanna_mode_RussianMode, Vcanna_mode_GreekMode, Vcanna_mode_LineMode,
3554         Vcanna_mode_ChangingServerMode, Vcanna_mode_HenkanMethodMode,
3555         Vcanna_mode_DeleteDicMode, Vcanna_mode_TourokuMode,
3556         Vcanna_mode_TourokuEmptyMode, Vcanna_mode_TourokuHinshiMode,
3557         Vcanna_mode_TourokuDicMode, Vcanna_mode_QuotedInsertMode,
3558         Vcanna_mode_BubunMuhenkanMode, Vcanna_mode_MountDicMode,
3559         Vcanna_fn_SelfInsert, Vcanna_fn_FunctionalInsert,
3560         Vcanna_fn_QuotedInsert, Vcanna_fn_JapaneseMode, Vcanna_fn_AlphaMode,
3561         Vcanna_fn_HenkanNyuryokuMode, Vcanna_fn_Forward, Vcanna_fn_Backward,
3562         Vcanna_fn_Next, Vcanna_fn_Prev, Vcanna_fn_BeginningOfLine,
3563         Vcanna_fn_EndOfLine, Vcanna_fn_DeleteNext, Vcanna_fn_DeletePrevious,
3564         Vcanna_fn_KillToEndOfLine, Vcanna_fn_Henkan, Vcanna_fn_Kakutei,
3565         Vcanna_fn_Extend, Vcanna_fn_Shrink, Vcanna_fn_AdjustBunsetsu,
3566         Vcanna_fn_Quit, Vcanna_fn_ConvertAsHex, Vcanna_fn_ConvertAsBushu,
3567         Vcanna_fn_KouhoIchiran, Vcanna_fn_BubunMuhenkan, Vcanna_fn_Zenkaku,
3568         Vcanna_fn_Hankaku, Vcanna_fn_ExtendMode, Vcanna_fn_ToUpper,
3569         Vcanna_fn_Capitalize, Vcanna_fn_ToLower, Vcanna_fn_Hiragana,
3570         Vcanna_fn_Katakana, Vcanna_fn_Romaji, Vcanna_fn_BaseHiragana,
3571         Vcanna_fn_BaseKatakana, Vcanna_fn_BaseEisu, Vcanna_fn_BaseZenkaku,
3572         Vcanna_fn_BaseHankaku, Vcanna_fn_BaseKana, Vcanna_fn_BaseKakutei,
3573         Vcanna_fn_BaseHenkan, Vcanna_fn_BaseHiraKataToggle,
3574         Vcanna_fn_BaseZenHanToggle, Vcanna_fn_BaseKanaEisuToggle,
3575         Vcanna_fn_BaseKakuteiHenkanToggle, Vcanna_fn_BaseRotateForward,
3576         Vcanna_fn_BaseRotateBackward, Vcanna_fn_Touroku, Vcanna_fn_HexMode,
3577         Vcanna_fn_BushuMode, Vcanna_fn_KigouMode, Vcanna_fn_Mark,
3578         Vcanna_fn_TemporalMode, Vcanna_key_Nfer, Vcanna_key_Xfer,
3579         Vcanna_key_Up, Vcanna_key_Left, Vcanna_key_Right, Vcanna_key_Down,
3580         Vcanna_key_Insert, Vcanna_key_Rollup, Vcanna_key_Rolldown,
3581         Vcanna_key_Home, Vcanna_key_Help, Vcanna_key_KP_Key,
3582         Vcanna_key_Shift_Nfer, Vcanna_key_Shift_Xfer, Vcanna_key_Shift_Up,
3583         Vcanna_key_Shift_Left, Vcanna_key_Shift_Right, Vcanna_key_Shift_Down,
3584         Vcanna_key_Cntrl_Nfer, Vcanna_key_Cntrl_Xfer, Vcanna_key_Cntrl_Up,
3585         Vcanna_key_Cntrl_Left, Vcanna_key_Cntrl_Right, Vcanna_key_Cntrl_Down
3586
3587 1998-07-16  Jan Vroonhof  <vroonhof@math.ethz.ch>
3588
3589         * event-Xt.c (x_to_emacs_keysym): Return nil for modifier keysyms.
3590         (x_event_to_emacs_event): Let x_to_emacs_keysym check for modifier
3591         keys thus no longer considering all keysyms on a key.
3592
3593 1998-07-19  SL Baur  <steve@altair.xemacs.org>
3594
3595         * XEmacs 21.2-beta1 is released.
3596
3597 1998-07-12  Oscar Figueiredo  <Oscar.Figueiredo@di.epfl.ch>
3598
3599         * eldap.c (Fldap_search_internal): When converting the list of
3600         attributes to search Copy the final 0 from Lisp strings to C
3601         strings.
3602         Check base, not Vldap_default_base as a a string
3603
3604 1998-07-13  Jonathan Harris  <jhar@tardis.ed.ac.uk>
3605
3606         * nt.c: Remove Vstdio_str; already defined in console-stream.c.
3607
3608         * unexnt.c: Unconditionally define bss_start and bss_size, and
3609           ensure that they don't go in the .bss section.
3610
3611 1998-07-17  Olivier Galibert  <galibert@pobox.com>
3612
3613         * glyphs-x.c (convert_EImage_to_XImage):  Fix previous patch (conv
3614         byte order is dependant  of  the local  byte order).
3615         From Takeshi Hagiwara <hagiwara@ie.niigata-u.ac.jp>
3616
3617 1998-07-18  SL Baur  <steve@altair.xemacs.org>
3618
3619         * glyphs-msw.c (mswindows_resource_normalize): Qresource ->
3620         Qmswindows_resource.
3621         From Jonathan Harris <jhar@tardis.ed.ac.uk>
3622
3623 1998-07-12  SL Baur  <steve@altair.xemacs.org>
3624
3625         * general.c (syms_of_general): Add defsymbol for Qresource.
3626
3627         * glyphs-msw.c (vars_of_glyphs_mswindows): Rename Qresource to
3628         Qmswindows_resource.
3629         (TopLevel): Rename 'resource image format to 'mswindows_resource.
3630         (mswindows_resource_validate): Rename.
3631         (mswindows_resource_normalize): Rename.
3632         (mswindows_resource_possible_dest_types): Rename.
3633         (mswindows_resource_instantiate): Rename.
3634         (image_instantiator_format_create_glyphs_mswindows): Replace
3635         `resource' with `mswindows.resource'.
3636
3637         * XEmacs 21.0-pre5 is released.
3638
3639 1998-07-10  SL Baur  <steve@altair.xemacs.org>
3640
3641         * mule-wnnfns.c (Fwnn_open): Correctly trap on misdefined Wnn
3642         server type in environment.
3643         Use alloca-ed strings instead of tiny fixed size ones.
3644
3645 1998-07-09  SL Baur  <steve@altair.xemacs.org>
3646
3647         * XEmacs 21.0-pre4 is released.
3648
3649 1998-07-01  James N. Potts  <jnpotts@plutonium.net>
3650
3651         * fileio.c: (expand_file_name): under win32: Don't treat names
3652         as UNC names if a drive letter has been specified.  If a drive
3653         has been specified, strip out extra directory-seperators that
3654         reportedly cause problems under Win95.
3655
3656 1998-07-09  Jonathan Harris  <jhar@tardis.ed.ac.uk>
3657
3658         * windowsnt.h: Define DUMP_SEPARATE_SECTION when building with
3659           MSVC >= 5.0. Put emacs init and zero-init data in a special
3660           section of the executable when this is defined.
3661
3662         * unexnt.c, ntheap.h:
3663           Removed unused find_section() and get_section_size().
3664
3665         * unexnt.c:
3666           Fix up the executable's checksum after dumping otherwise the
3667           profiler complains.
3668           When DUMP_SEPARATE_SECTION is defined, don't need to dump
3669           zero-init data separately from init data. Dump emacs data
3670           into a special section of the executable.
3671           When DUMP_SEPARATE_SECTION not defined, dump .bss up to
3672           my_ebss instead of up to the end of bss.
3673
3674 1998-07-09  Jonathan Harris  <jhar@tardis.ed.ac.uk>
3675
3676         * filelock.c: Removed Vconfigure_lock_directory - already
3677           defined in emacs.c.
3678
3679         * frame-msw.c: Removed Qinitially_unmapped and Qpopup - already
3680           defined in frame.c and general.c respectively.
3681
3682         * glyphs-msw.c: Removed Qresource - already defined in
3683           general.c.
3684
3685 1998-07-05  Oscar Figueiredo  <Oscar.Figueiredo@di.epfl.ch>
3686
3687         * eldap.c (Fldap_search_internal): Docstring fixes
3688
3689 1998-07-04  Jonathan Harris  <jhar@tardis.ed.ac.uk>
3690
3691         * nt.c (init_environment): Removed unused PRELOAD_WINSOCK,
3692           EMACSDOC and TERM variables. Added EMACSDEBUGPATHS,
3693           EMACSPACKAGEPATH and INFOPATH variables.
3694           Removed unused get_emacs_configuration function.
3695
3696         * s/windowsnt.h: Don't define EMACS_CONFIGURATION here because
3697           it is now defined at build-time by the makefile.
3698
3699 1998-07-01  James N. Potts  <jnpotts@plutonium.net>
3700
3701         * fileio.c: (expand_file_name): under win32: Don't treat names as
3702         UNC names if a drive letter has been specified.  If a drive has
3703         been specified, strip out extra directory-seperators that
3704         reportedly cause problems under Win95.
3705
3706 1998-07-05  Andy Piper  <andyp@parallax.co.uk>
3707
3708         * faces.c (complex_vars_of_faces): for the gui-element face don't
3709         fallback to the default face, instead provide reasonable default
3710         fallbacks that were previously hardcoded elsewhere.
3711
3712 1998-07-06  Olivier Galibert  <galibert@pobox.com>
3713
3714         * glyphs-x.c (convert_EImage_to_XImage): Fix pixel writing problem
3715         when the X server endianness is different than the client's one.
3716
3717 1998-06-29  Kyle Jones  <kyle_jones@wonderworks.com>
3718
3719         * eval.c (run_hook_with_args_in_buffer): Check
3720           default (non-buffer-local) value of hook for
3721           nil before treating it as a function.  Don't initialize
3722           the `globals' variable twice.
3723
3724 1998-06-24  Jonathan Harris  <jhar@tardis.ed.ac.uk>
3725
3726         * fileio.c: Don't do directory seperator canonicalisation in
3727           substitute-in-file-name because we don't know that the
3728           filename refers to a local file.
3729
3730 1998-06-24  Adrian Aichner  <aichner@ecf.teradyne.com>
3731
3732         * process-nt.c (nt_create_process): Try appending the standard
3733           executable file extensions to the filename if none supplied.
3734
3735 1998-06-29  SL Baur  <steve@altair.xemacs.org>
3736
3737         * fileio.c (Fsubstitute_in_file_name): Enable double slash notation
3738         for cygwin32.
3739         From Keisuke Mori <ksk@ntts.com>
3740
3741 1998-06-24  Andy Piper  <andyp@parallax.co.uk>
3742
3743         * toolbar-msw.c (mswindows_output_toolbar): only enable masked
3744         images if we have masks. This handles the xbm case (have masks)
3745         and avoids overuse of resources in the xpm case (generally no masks).
3746         Don't output small toolbars.
3747
3748 1998-06-29  Kyle Jones  <kyle_jones@wonderworks.com>
3749
3750         * eval.c (run_hook_with_args_in_buffer): Don't treat
3751           the default value of a buffer local hook as a list of
3752           hooks unless it is both a cons and the car of that cons
3753           is not Qlambda.
3754
3755 1998-06-29  SL Baur  <steve@altair.xemacs.org>
3756
3757         * extents.c: Email address for Ben Wing is ben@xemacs.org.
3758         * process-unix.c: Ditto.
3759         * mule-coding.h: Ditto.
3760         * mule-coding.c: Ditto.
3761         * mule-charset.c: Ditto.
3762         * mule-charset.h: Ditto.
3763         * file-coding.c: Ditto.
3764         * file-coding.h: Ditto.
3765
3766 1998-06-22  Jonathan Harris  <jhar@tardis.ed.ac.uk>
3767
3768         * event-msw.c: Guard against recursion when freeing
3769           FRAME_MSWINDOWS_TARGET_RECT struture in WM_SIZE processing.
3770
3771         * frame-msw.c: Don't set WS_VISIBLE attribute on first frame.
3772           Call ShowWindow twice in init_frame_3 to get round runemacs
3773           weirdness.
3774
3775 1998-06-27  Hrvoje Niksic  <hniksic@srce.hr>
3776
3777         * scrollbar.c (vertical_scrollbar_changed_in_window): Ditto.
3778
3779         * winslots.h: Rename.
3780
3781         * window.c (specifier_vars_of_window): Renamed
3782         vertical-divider-draggable-p to vertical-divider-always-visible-p,
3783         as suggested by Ben Wing.
3784         (specifier_vars_of_window): Fix docstrings.
3785
3786 1998-06-22  Michael Sperber [Mr. Preprocessor]  <sperber@informatik.uni-tuebingen.de>
3787
3788         * unexaix.c: Line number information works correctly again.
3789
3790 1998-06-22  Olivier Galibert  <galibert@pobox.com>
3791
3792         * emacs.c (__sti__iflPNGFile_c___): Added. See comment. Cry.
3793
3794 1998-06-21  Martin Buchholz  <martin@xemacs.org>
3795
3796         * editfns.c (get_home_directory): ANSIfy.
3797         XEmacs is compilable under C *and* C++.
3798         It's XEmacs, not Xemacs!
3799
3800 1998-06-19  Jonathan Harris  <jhar@tardis.ed.ac.uk>
3801
3802         * console-msw.h: added a list of fonts to device data.
3803
3804         * device-msw.c: enumerate list of available fonts in
3805           mswindows_init_device. Free list in mswindows_delete_device.
3806
3807         * objects-msw.c: Added helper function match_font used by
3808           mswindows_initialize_font_instance and mswindows_list_fonts.
3809           Allow a charset to be specified in a font string, even if
3810           previous fields havn't been specified.
3811
3812 1998-06-23  Greg Klanderman  <greg@alphatech.com>
3813
3814         * indent.c (column_at_point): column cache bugfix.
3815         Set last_known_column_point to the buffer position for
3816         which the column was requested, not buffer's point.
3817
3818         * redisplay.c (decode_mode_spec): for current-column, show
3819         window's point's column, not buffer's point's column.
3820
3821 1998-06-23  Andy Piper  <andyp@parallax.co.uk>
3822
3823         * menubar-msw.c (mswindows_handle_wm_command): use
3824         enqueue_misc_user event rather than
3825         mswindows_enqueue_msic_user_event to fix customize problems. Add some
3826         checks that X does.
3827
3828         * console-msw.h: declare mswindows_enqueue_magic_event.
3829
3830         * event-msw.c (mswindows_enqueue_magic_event): make global.
3831
3832 1998-06-24  Hrvoje Niksic  <hniksic@srce.hr>
3833
3834         * line-number.c (LINE_NUMBER_FAR): Reverted to 16384.
3835         (buffer_line_number): Use EMACS_INT_MAX instead of random LOTS.
3836         (add_position_to_cache): Use EMACS_INT instead of int.
3837
3838 1998-06-21  Olivier Galibert  <galibert@pobox.com>
3839
3840         * lisp-disunion.h (XMARKBIT): Have XMARKBIT return something
3841         suitable for an int used as a boolean (btw, C sucks.).
3842
3843 1998-06-18  Andy Piper  <andyp@parallax.co.uk>
3844
3845         * object-msw.c: remove warnings.
3846
3847         * device-msw.c: #define wrongly named cygwin structure elements.
3848
3849         * s/cygwin32.h: define DEMI_BOLD
3850
3851 1998-06-19  Jonathan Harris  <jhar@tardis.ed.ac.uk>
3852
3853         * redisplay-msw.c: new function mswindows_apply_face_effects.
3854           This is called by output_string and output_cursor to display
3855           underline and strikeout on faces.
3856
3857 1998-06-19  Jonathan Harris  <jhar@tardis.ed.ac.uk>
3858
3859         * console-msw.h: added a list of fonts to device data.
3860
3861         * device-msw.c: enumerate list of available fonts in
3862           mswindows_init_device. Free list in mswindows_delete_device.
3863
3864         * objects-msw.c: Added helper function match_font used by
3865           mswindows_initialize_font_instance and mswindows_list_fonts.
3866           Allow a charset to be specified in a font string, even if
3867           previous fields havn't been specified.
3868
3869 1998-06-15  Jonathan Harris  <jhar@tardis.ed.ac.uk>
3870
3871         * objects-msw.c:
3872           Removed compilation warnings from mswindows_string_to_color.
3873           mswindows_list_fonts returns a more general bogus font.
3874           New lisp-visible function mswindows-color-list.
3875
3876 1998-06-19  David Bush <david.bush@adn.alcatel.com>
3877
3878         * editfns.c (Fuser_login_name): Modify to user new function
3879         user_login_name.
3880         (user_login_name): C only function to avoid Lisp object overhead
3881         Returns "unknown" instead of nil in Cygwin environment
3882
3883         * fileio.c (Fexpand_file_name): Treat "~" and "~user" as
3884         equivalent for current user in Cygwin environment. Use new
3885         function user_login_name to get username.
3886
3887         * lisp.h: Declare user_login_name
3888
3889 1998-06-18  Michael Sperber [Mr. Preprocessor]  <sperber@informatik.uni-tuebingen.de>
3890
3891         * unexaix.c (make_hdr): Fixed bias computations so debugging info
3892         works again.
3893         Some other insignificant nitpicks.
3894
3895 1998-06-18  Andy Piper  <andyp@parallax.co.uk>
3896
3897         * toolbar-msw.c (mswindows_output_toolbar): specify ILC_MASK when
3898         creating the image list and make sure he bk color is transparent.
3899
3900 1998-06-18  Jan Vroonhof  <vroonhof@math.ethz.ch>
3901
3902         * event-Xt.c (emacs_Xt_remove_timeout): Also remove timeout from
3903         completed_timeouts. The timer could have expired.
3904
3905 1998-06-17  Andy Piper  <andyp@parallax.co.uk>
3906
3907         * console-msw.h: move XEMACS_RECT_WH inside frame
3908         parameters. define macors to access it.
3909
3910         * frame-msw.c (mswindows_init_frame_1): use new target_rect
3911         parameter to intialise desired sizing. (mswindows_init_frame_2):
3912         enable and size the frame to something sensible when we get
3913         here. (mswindows_set_frame_properites): use new
3914         mswindows_size_frame_internal function and size frame if frame
3915         parameters not just if init is finished - WM_SIZE happens too
3916         early for some specs. (mswindows_size_frame_internal): new
3917         function abstracted from mswindows_set_frame_properties.
3918         (Vmswindows_use_system_frame_size_defaults):
3919         new variable controls whether to allow the system to pick frame
3920         size defaults, defaults to nil.
3921
3922         * event-msw.c: in WM_SIZE use mswindows_size_frame_internal rather
3923         than duplicated code.
3924
3925 1998-06-15  Colin Rafferty <colin@xemacs.org>
3926
3927         * Makefile.in.in: Made EXTW_LINK expand properly.
3928
3929 1998-06-12  Martin Buchholz  <martin@xemacs.org>
3930
3931         * redisplay.c (vars_of_redisplay): default value of
3932         column-number-start-at-one should be NIL!
3933
3934 1998-06-11  Martin Buchholz  <martin@xemacs.org>
3935
3936         * casefiddle.c:
3937         (upcase-initials "fooBar") ==> "FooBar" instead of "Foobar"
3938
3939 1998-06-05  Hrvoje Niksic  <hniksic@srce.hr>
3940
3941         * eldap.c (Fldap_search_internal): Use build_ext_string instead of
3942         build_string to avoid crashes under Mule.
3943
3944 1998-06-13  Andy Piper  <andyp@parallax.co.uk>
3945
3946         * ntplay.c (play_sound_data_1): don't delete the sound data until
3947         the next sound is played and the previous one finished.
3948
3949 1998-06-10  Samuel Mikes  <smikes@alumni.hmc.edu>
3950
3951         * fileio.c (directory-sep-char): Escape backslashes.
3952
3953 1998-06-10  Hrvoje Niksic  <hniksic@srce.hr>
3954
3955         * event-stream.c: Fix docstring reference.
3956
3957 1998-06-12  Hrvoje Niksic  <hniksic@srce.hr>
3958
3959         * alloc.c (make_float): Remove useless initialization of `next'
3960         field.
3961         (make_pure_float): Ditto.
3962
3963         * lisp.h (struct Lisp_Float): Rename `next' to `__unused__next'.
3964
3965 1998-06-08  Kirill M. Katsnelson  <kkm@kis.ru>
3966
3967         * fileio.c (Fmake_directory_internal): Remove conditionals
3968         on WINDOWSNT when calling mkdir.
3969
3970         * ntproc.c: Deleted the following unused functions:
3971         register_child, reap_subprocess, sys_wait.
3972
3973         * nt.c (sys_rename): Ifzeroed this implementation.
3974         Deleted the following unused functions:
3975         sys_access, sys_chdir, sys_chmod, sys_creat, sys_link, sys_mkdir,
3976         sys_mktemp, sys_rmdir, sys_unlink, sys_close, sys_dup, sys_dup2,
3977         sys_read, sys_write.
3978         Merger sys_fopen and sys_open with sysdep.c implementation.
3979
3980         * sysdep.c: Removed MS-DOS code.
3981         (sys_rename): Deal with Microsoft rename weirdness.
3982         (sys_open): Implemented for Windows.
3983         (sys_fopen): Ditto.
3984         (sys_mkdir): Ditto.
3985
3986 1998-06-08  Kirill M. Katsnelson  <kkm@kis.ru>
3987
3988         * buffer.c (complex_vars_of_buffer): Removed %t description from
3989         the docstring.
3990
3991 1998-06-04  Rick Rankin  <Rick_Rankin-P15254@email.mot.com>
3992
3993         * scrollbar-msw.c: initialize the cbSize element of the
3994         SCROLLINFO struct before calling SetScrollInfo. WinNT seems
3995         to ignore the value of cbSize, but Win95 (and I presume Win98)
3996         appear to want it set to sizeof(SCROLLINFO).
3997
3998 1998-06-04  Kirill M. Katsnelson  <kkm@kis.ru>
3999
4000         * event-stream.c: Defined Qcancel_mode_internal.
4001         (syms_of_event_stream): defsymbol'ed it.
4002
4003         * events.h: Externed it.
4004
4005         * event-msw.c (mswindows_wnd_proc, WM_CANCELMODE): Added this handler.
4006
4007 1998-06-04  Oliver Graf <ograf@fga.de>
4008
4009         * frame-x.c (x_cde_destroy_callback): free the data
4010         (cde-start-drag-internal) corrected root position, 21.1 needs this
4011         hardcoded in Button events
4012         (offix-start-drag-internal) corrected root position
4013
4014 1998-06-03  Kirill M. Katsnelson  <kkm@kis.ru>
4015
4016         * process-nt.c (signal_cannot_launch): Use signal_simple_error()
4017         instead of error().
4018
4019 1998-06-03  Kirill M. Katsnelson  <kkm@kis.ru>
4020
4021         * dialog-msw.c (button_width): Removed `inline' from the function
4022         declaration.
4023
4024 1998-06-03  Rick Rankin  <Rick_Rankin-P15254@email.mot.com>
4025
4026         * frame-msw.c: add WS_VISIBLE flag to the first frame created.
4027         Note that adding this flag to subsequent frames causes problems.
4028
4029 1998-06-03  Gunnar Evermann  <Gunnar.Evermann@nats.informatik.uni-hamburg.de>
4030
4031         * glyphs-eimage.c (png_instantiate) move 'struct
4032         png_memory_storage tbr' out of nested block to avoid dangling
4033         reference
4034
4035 1998-06-02  Andy Piper  <andyp@parallax.co.uk>
4036
4037         * faces.h:
4038         * faces.c: rename 3d-object -> gui-element. add toolbar face which
4039         inherits from gui-element.
4040
4041         * glyphs-msw.c: use DIBitmaps for xbm bitmaps to be consistent
4042         with existing code, generate masks correctly.
4043
4044 1998-06-03  P. E. Jareth Hein  <jareth@camelot-soft.com>
4045
4046         * glyphs-eimage.c: Changed included header for gifs to use
4047         Gifreader instead of giflib.
4048
4049         * glyphs-x.c: removed the image-related functions that were
4050         moved into glyphs-eimage.
4051
4052 1998-06-02  David Bush  <david.bush@adnb.alcatel.com>
4053
4054         * glyphs.c (bitmap_to_lisp_data) Define XFree to be free
4055         if built without X Windows support.
4056
4057 1998-06-02  Hrvoje Niksic  <hniksic@srce.hr>
4058
4059         * fns.c (Fconcat): Synch docstring with new reality.
4060
4061 1998-06-03  SL Baur  <steve@altair.xemacs.org>
4062
4063         * frame.c: Remove reference to msdos.h (which is going away).
4064         Suggested by Hrvoje Niksic and Kirill Katsnelson.
4065
4066 1998-06-02  P. E. Jareth Hein  <jareth@camelot-soft.com>
4067
4068         * glyphs-eimage.c (jpeg_instantiate): Fix handling of
4069         grayscale images/
4070
4071
4072 1998-05-30  Kirill M. Katsnelson  <kkm@kis.ru>
4073
4074         * events.h: Fixed commentary about misc-user scrollbar events.
4075
4076         * scrollbar-x.c (x_update_vertical_scrollbar_callback): Use frame
4077         object as an event channel, instead of window object.
4078         (x_update_horizontal_scrollbar_callback): Ditto.
4079
4080 1998-05-29  Andy Piper  <andyp@parallax.co.uk>
4081
4082         * ntplay.c (play_sound_data_1) new function. convert alloca data
4083         to malloc if necessary.
4084         (play_sound_file): if the file is not in our path then convert to
4085         data and play.
4086
4087 1998-06-01  SL Baur  <steve@altair.xemacs.org>
4088
4089         * mule-mcpath.c (mc_chdir): Reverse parameters in call to memcpy.
4090         * msdos.c (Frecent_doskeys): Ditto.
4091
4092         * unexalpha.c (unexec): Reverse parameters in call to memcpy.
4093         Suggested by Reggie Perry <perry@zso.dec.com>
4094
4095         * buffer.h: Eliminate size in declaration.
4096
4097 1998-06-01  Olivier Galibert  <galibert@pobox.com>
4098
4099         * unexelfsgi.c (unexec): Cleanup n/nn and remove useless kludge.
4100
4101 1998-06-01  Kirill M. Katsnelson  <kkm@kis.ru>
4102
4103         * gui.c (gui_item_init): Changed the default value for config member
4104         from Qunbound to Qnil.
4105
4106 1998-06-01  Greg Klanderman  <greg@alphatech.com>
4107
4108         * indent.c (vmotion_pixels): Don't #define abs().
4109
4110 1998-05-30  Kirill M. Katsnelson  <kkm@kis.ru>
4111
4112         * s/windowsnt.h: Defined popen and pclose to be _popen and _pclose
4113         respectively.
4114
4115 1998-05-30  Andy Piper  <andyp@parallax.co.uk>
4116
4117         * glyphs.h: add xbm declarations.
4118
4119         * console.h: add xbm_instantiate_method device method.
4120
4121         * glyphs.c (check_valid_xbm_inline) (xbm_validate)
4122         (bitmap_to_lisp_data) (xbm_mask_file_munging) (xbm_normalize)
4123         (xbm_possible_dest_types): moved here from glyphs-x.c. use
4124         locate_pixmap_file device method and read_bitmap_data_from_file
4125         instead of XmuReadBitmapDataFromFile.
4126         (xbm_instatntiate): make a device method.
4127
4128         * glyphs-x.c: see glyphs.c changes. (read_bitmap_data_from_file)
4129         new function that just calls XmuReadBitmapDataFromFile.
4130         (x_xbm_instatntiate): device method from xbm_instantiate.
4131
4132         * glyphs-msw.c (read_bitmap_data) (NextInt)
4133         (read_bitmap_data_from_file): new functions copied from Xmu
4134         sources.
4135         (xbm_create_bitmap_from_data) from Ben <ben@666.com> convert
4136         inline data to an mswindows bitmap.
4137         (init_image_instance_from_xbm_inline) (xbm_instantiate_1)
4138         (mswindows_xbm_instantiate): mswindows-ized versions of the X
4139         functions.
4140
4141 1998-05-30  Kirill M. Katsnelson  <kkm@kis.ru>
4142
4143         * window.c (specifier_vars_of_window): Renamed `has_modeline-p' to
4144         `modeline-visible-p'.
4145         Declared specifier lisp variables at the beginning oh the file
4146         as static.
4147
4148         * procimpl.h (struct process_methods): Changed semantics of
4149         create_process method so it accepts lisp strings instead of
4150         char pointers.
4151
4152         * process.c (Fstart_process_internal): Moved building of
4153         unix style argv from here to process-unix.c, ...
4154
4155         * process-unix.c (unix_create_process): ... right here.
4156
4157         * process-nt.c (nt_create_process): Changed this function to
4158         support new semantics, so avoided a GC problem.
4159
4160         * events.c (Fmake_event): Document misc-user events properties.
4161         (Fmake_event): Do not allow arbitrary objects for channel property
4162         of misc-user events.
4163         (Fmake_event): Change misc-user event validation: it is function
4164         which is required, not button.
4165
4166         * event-msw.c (mswindows_user_event_p): Recognize misc user events as
4167         user events.
4168         (mswindows_enqueue_misc_user_event): Added function.
4169         (mswindows_bump_queue): Removed function.
4170         (mswindows_enqueue_magic_event): Support NULL HWND parameter.
4171         (mswindows_wnd_proc, WM_CLOSE): Use mswindows_enqueue_misc_user_event().
4172         (mswindows_wnd_proc, WM_EXITSIZEMOVE): Ditto.
4173         (emacs_mswindows_handle_magic_event): Handle XM_BUMPQUEUE, by doing
4174         really nothing, which is my personal favorite thing.
4175
4176         * console-msw.h: Removed prototype for mswindows_bump_queue().
4177         Added prototype for mswindows_enqueue_misc_user_event().
4178
4179         * menubar-msw.c (mswindows_handle_wm_command): Use
4180         mswindows_enqueue_misc_user_event().
4181
4182         * toolbar-msw.c (mswindows_handle_toolbar_wm_command): Ditto.
4183
4184         * dialog-msw.c (dialog_proc): Ditto.
4185
4186         * scrollbar-msw.c (mswindows_handle_scrollbar_event): Ditto.
4187          (mswindows_handle_scrollbar_event): Use frame, not window, for misc
4188         user events channel.
4189
4190 1998-05-29  Greg Klanderman  <greg@alphatech.com>
4191
4192         * window.c (Fwindow_displayed_text_pixel_height): was relying on
4193         incorrect semantics of vmotion_pixels which has been fixed.  don't
4194         use it anymore as it can't easily be used.
4195
4196         * indent.c (vmotion_pixels): fix off by one bug moving up.  also
4197         the motion was reported incorrectly if you tried to go past end of
4198         buffer.
4199
4200 1998-05-30  Kirill M. Katsnelson  <kkm@kis.ru>
4201
4202         * toolbar.h: Removed misleading commentary, as Martin suggested.
4203
4204 1998-05-30  Kirill M. Katsnelson  <kkm@kis.ru>
4205
4206         * lisp.h: Extern Qactivate_menubar_hook.
4207
4208         * menubar-msw.c (unsafe_handle_wm_initmenu_1): Pass correct value to
4209         run_hook ().
4210
4211 1998-05-29  Andy Piper  <andyp@parallax.co.uk>
4212
4213         * glyphs-msw.c: use BPLINE macro.
4214
4215         * select-msw.c (mswindows-selection-exists-p)
4216         (mswindows-delete-selection): doc string fixes.
4217
4218         * toolbar-msw.c (mswindows_output_toolbar): make disabled buttons
4219         unpressable. warning elimination.
4220
4221 1998-05-28  Martin Buchholz  <martin@xemacs.org>
4222
4223         * alloc.c (dbg_constants):
4224         * dbxrc:
4225         * gdbinit:
4226         Remove toolbar_data debugging code, since that lrecord has
4227         also been removed.
4228
4229 Wed May 27, 1998  Darryl Okahata  <darrylo@sr.hp.com>
4230
4231         * alloc.c: zap cached value of (user-home-directory), so that
4232           it's not undumped.
4233
4234         * buffer.c: From init_buffer(), separated out code that
4235           determined the initial directory for the *scratch* buffer, and
4236           put them into a function called "init_initial_directory()".
4237           The initial directory is now available as a global "char *"
4238           called initial_directory.
4239
4240         * buffer.h: Added extern entries for initial_directory[] and
4241           init_initial_directory().
4242
4243         * editfns.c: added new elisp function "user-home-directory",
4244         which basically returns getenv("HOME"), but attempts to use
4245         other values if $HOME isn't set.This may have to be tweaked in
4246         the future as, under Unix, "/" is used if $HOME isn't set (this
4247         probably should be set to the current directory).  To support
4248         this, a new C function, "get_home_directory()", now exists,
4249         which returns the "home directory", as a "char *" string.
4250
4251         * emacs.c: Rearrange NT initialization order so that
4252         environment/registry variables will be properly entered into
4253         Vprocess_enviroment.
4254
4255         * fileio.c: replaced egetenv("HOME") with calls to the new
4256           get_home_directory().
4257
4258         * lisp.h: Added function prototypes for uncache_home_directory()
4259           and get_home_directory(), along with lisp prototypes for
4260           Fuser_home_directory() and friends.
4261
4262         * nt.c: replaced getenv("HOME") with calls to the new
4263           get_home_directory().
4264
4265         * sysfile.h: for WINDOWSNT, #include <direct.h>, to suppress
4266           warnings about getcwd(), etc. not having prototypes.
4267
4268 1998-05-28  Kirill M. Katsnelson  <kkm@kis.ru>
4269
4270         * process-nt.c (send_signal): Emulate SIGHUP.
4271         (validate_signal_number): Ditto.
4272
4273         * event-msw.c (mswindows_wnd_proc, WM_KEYDOWN): Unconditionally
4274         remove MOD_SHIFT from ASCII characters.
4275         (mswindows_wnd_proc, WM_KEYDOWN): Do not activate the menubar when
4276         F10 is pressed.
4277
4278 1998-05-24  Oliver Graf <ograf@fga.de>
4279
4280         * frame-x.c (cde-start-drag-internal): added filename and multi-
4281         data transfers
4282         (x_cde_convert_callback) dito
4283
4284 1998-05-26  Oliver Graf <ograf@fga.de>
4285
4286         * frame-x.c: include event-mod.h also with CDE
4287         (x_cde_convert_callback) made the thing working
4288         (cde-start-drag-internal) also debugging
4289
4290 1998-05-25  Hans Guenter Weigand  <hgweigand@wiesbaden.netsurf.de>
4291
4292         * m/sparc.h:
4293         * getloadavg.c:
4294         * malloc.c:
4295         * unexec.c:
4296         * mem-limits.h:
4297           - add __OpenBSD__ where __NetBSD__ was found.
4298           - TODO: replace platform-specific conditional compilation by
4299             feature tests in configure.in.
4300
4301 1998-05-15  Greg Klanderman  <greg@alphatech.com>
4302
4303         * window.c (Fwindow_displayed_text_pixel_height): New function.
4304         (syms_of_window): DEFSUBR it.
4305
4306         * indent.c (Fvertical_motion_pixels): New function - request
4307         movement in pixels.
4308         (vmotion_pixels): helper.
4309         (syms_of_indent): DEFSUBR.
4310         * lisp.h: declaration for vmotion_pixels().
4311
4312         * indent.c (Fvertical_motion): Add optional third argument PIXELS,
4313         to request returning motion in pixels.
4314         (Fvertical_motion_pixels): Remove, functionality merged into
4315         Fvertical_motion.
4316         * window.c (window_scroll): call Fvertical_motion with 3 arguments.
4317         (Fmove_to_window_line): ditto.
4318         * lisp.h: Change declaration for Fvertical_motion.
4319
4320         * window.c: rename window-text-pixel-{height,width,edges} to
4321         window-text-area-pixel-*.
4322
4323 1998-05-26  Gunnar Evermann  <Gunnar.Evermann@nats.informatik.uni-hamburg.de>
4324
4325         * tooltalk.c (vars_of_tooltalk) added staticpro for
4326         Tooltalk_Message_plist_str and Tooltalk_Pattern_plist_str
4327
4328 1998-05-27  Andy Piper  <andyp@parallax.co.uk>
4329
4330         * faces.c: create a new 3d_object_face, make modeline and
4331         vertical_divider faces fallback to this rather than the default.
4332
4333 1998-05-21  Andy Piper  <andyp@parallax.co.uk>
4334
4335         * s/cygwin32.h: define charsets for cygwin.
4336
4337 1998-05-25  Andy Piper  <andyp@parallax.co.uk>
4338
4339         * toolbar-msw.c (mswindows_output_toolbar): fix up button sizes
4340         and coordinates. resize bitmaps if we have already settled on a
4341         different size.
4342
4343         * glyphs-msw.c (xpm_to_eimage): add ';' for mswindows compiler.
4344
4345 1998-05-25  Hrvoje Niksic  <hniksic@srce.hr>
4346
4347         * toolbar-msw.c (mswindows_handle_toolbar_wm_command): Ditto.
4348
4349         * menubar-msw.c (mswindows_handle_wm_command): Ditto.
4350
4351         * gui.h: Ditto.
4352
4353         * gui-x.c (popup_selection_callback): Ditto.
4354
4355         * dialog-msw.c (dialog_proc): get_callback -> get_gui_callback.
4356
4357         * gui.c (get_callback): Renamed to get_gui_callback.
4358
4359 1998-05-17  Martin Buchholz  <martin@xemacs.org>
4360
4361         * glyphs.h: order rearrangement.
4362
4363         * device-tty.c (tty_asynch_device_change): Warning suppression.
4364         * device-x.c (x_device_system_metrics): Warning suppression.
4365         Make Doc strings consistent with coding standards.
4366
4367 1998-05-24  Martin Buchholz  <martin@xemacs.org>
4368
4369         * general.c: multiple definition of `Qicon'.  general.c seems
4370           like a good home for Qicon.
4371
4372 1998-05-20  Kirill M. Katsnelson  <kkm@kis.ru>
4373
4374         * This patch is to fix compilation warnings under Windows.
4375
4376         * s/windowsnt.h: Encapsulate getpid with sys_getpid.
4377         Added prototypes for FSF inherited functions, with which XEmacs is
4378         sprinkled thoroughly.
4379         Removed some #if 0 code. Bracketed some more definitions, probably
4380         related to Visual C versions prior to 4 (we do not support them).
4381
4382         * sysfloat.h (logb): Finally, get logb() prototyped.
4383
4384         * sysfile.h: Added Windows specific includes.
4385         Removed old Windows specific code bracketed with #if 0.
4386
4387         * sysdep.h: Added prototype for xrealpath().
4388
4389         * sysdep.c (sys_getpid): Added function, to support '95 negative pids.
4390
4391         * symsinit.h: Added prototypes for syms_of_dired_mswindows,
4392         vars_of_dired_mswindows and init_ntproc (Grrr).
4393
4394         * realpath.c: Added Windows specific include files.
4395         (xrealpath): Conditionalized declaration of some auto variables on
4396         S_IFLNK, to avoid warnings.
4397
4398         * ntproc.c: Disabled some compiler warnings. This file is going to
4399         die, so I have not cleaned it up much.
4400         (set_process_dir): Const parameter.
4401         (Fwin32_short_file_name): Down CHECK_* macros to one argument.
4402         (Fwin32_long_file_name): Ditto.
4403         (Fwin32_set_process_priority): Ditto. Why didn't I remove these
4404         three functions?
4405
4406         * nt.h: Added prototypes for set_process_dir and convert_time.
4407
4408         * nt.c: More include files.
4409         (getpwnam): Consted char* argument.
4410         (get_emacs_configuration): Const return value.
4411         (opendir): Const argument.
4412         (stat): Casted converstion long->short.
4413         (stat): Removed ad hoc and questionable support for non-MSC compile.
4414         (sys_pipe): Removed unused auto variable.
4415         (_sys_read_ahead): Removed calls to DebPrint.
4416         (sys_read): Ditto, in 2 places.
4417         (term_ntproc): Added unused int parameter to signal handler, to
4418         avoid a warning when compiling a call to signal().
4419         (msw_sigset): Properly return old signandler or NULL instead of void.
4420
4421         * floatfns.c (Flogb): Casted arguments to unary minus to signed.
4422
4423         * gmalloc.c (morecore): Ditto.
4424         (_free_internal): Ditto.
4425
4426         * lread.c (parse_integer): Ditto.
4427
4428         * dired-msw.c: Added several include files.
4429
4430         * cmdloop.c (Fcommand_loop_1): Added Microsoft C to the Big List
4431         of Compilers to Shut Up.
4432
4433         * callproc.c: Added #includes to suppress warnings under Windows.
4434         (init_callproc): Removed #if0'ed code and unused variables.
4435
4436 1998-05-25  Andy Piper  <andyp@parallax.co.uk>
4437
4438         * device-msw.c (mswindows_device_system_metrics): do planes in a
4439         way consistent with X.
4440
4441         * glyphs-msw.c (mswindows_initialize_image_instance_mask): don't
4442         use SetPixel, use DIBits functions.
4443         (xpm_to_eimage): frob colors more closely like xpm deos.
4444
4445         * toolbar-msw.c: only resize bitmaps when shrinking. Adjust look
4446         to be closer to X version.
4447
4448         * event-msw.c: use tooltip string directly.
4449
4450         * redisplay-msw.c: reinstate Kirill's bg pixmap change.
4451
4452         * objects-msw.c: frob rgb colors that only Kyle uses.
4453
4454         * dialog-msw.c (button_width): INLINE -> inline.
4455
4456 1998-05-23  SL Baur  <steve@altair.xemacs.org>
4457
4458         * getloadavg.c (getloadavg): Fix typo.
4459
4460 1998-05-23  Kirill M. Katsnelson  <kkm@kis.ru>
4461
4462         * objects-msw.c (mswindows_initialize_font_instance): Added support
4463         for font character sets.
4464         Replaced 'XXX' with '####' in comments throughout the file.
4465
4466 1998-05-23  Kirill M. Katsnelson  <kkm@kis.ru>
4467
4468         * emacs.c (main_1): Added calls to vars_of_dialog_mswindows() and
4469         console_type_create_dialog_mswindows(), to initialize Windows dialog
4470         support.
4471
4472         * symsinit.h: Prototyped the above functions.
4473
4474         * dialog-x.c (x_popup_dialog_box): Moved dialog descriptor consistency
4475         checks to dialog.c...
4476
4477         * dialog.c (Fpopup_dialog_box): ...right here. Added more checks: a
4478         device must support dialog boxes, and the descriptor must supply at
4479         least one button.
4480
4481         * dialog-msw.c: New file, dialogs for Windows.
4482
4483 1998-05-21  Oscar Figueiredo  <Oscar.Figueiredo@di.epfl.ch>
4484
4485         * eldap.c (ldap_search_unwind): Return Qnil instead of nothing
4486         (Fldap_search_internal): Removed unused variable `err'
4487
4488         * eldap.h: Moved Lisp_LDAP declaration here instead of using a
4489         forward declaration
4490
4491 1998-05-17  Martin Buchholz  <martin@xemacs.org>
4492
4493         * eldap.h: eldap.[ch] should never be used unless HAVE_LDAP is
4494         defined.  Therefore there is no need to handle the case when
4495         HAVE_LDAP is undefined.  Similarily, there is no reason to have
4496         any code wrapped within `#ifdef emacs', since this code is only
4497         useful within an emacs.  This simplifies the code significantly.
4498
4499         * inline.c: Include eldap.h only if HAVE_LDAP.
4500         * inline.c: Don't bother including TT_C_H_PATH, since tooltalk.h
4501         already does that.
4502
4503 1998-05-21  Kirill M. Katsnelson  <kkm@kis.ru>
4504
4505         * unexnt.c (copy_executable_and_dump_data_section): Suppress
4506         printing dump stats when building without DEBUG_XEMACS.
4507         (dump_bss_and_heap): Ditto.
4508
4509 1998-05-21  Andy Piper  <andyp@parallax.co.uk>
4510
4511         * gnuclient.c: don't suppress window system if there is no display
4512         and we are running under mswindows. send 'mswindows device type if
4513         we are in this situation.
4514
4515 1998-05-20  Andy Piper  <andyp@parallax.co.uk>
4516
4517         * general.c:
4518         * lisp.h: Qbitmap, Qcursor, Qicon moved here from glyphs-msw.c.
4519
4520         * glyphs-msw.c: change cursor imgae type name to resource. Fix
4521         some nits.
4522
4523 1998-05-20  Kirill M. Katsnelson  <kkm@kis.ru>
4524
4525         * EmacsFrame.c (Xt_StringToScrollBarPlacement):  Added support for
4526         {top,bottom}-{left,right} values in addition to
4527         {top,bottom}_{left,right}.
4528
4529 1998-05-18  Hrvoje Niksic  <hniksic@srce.hr>
4530
4531         * fileio.c (Fmake_temp_name): Remove unreached code.
4532
4533         * process-nt.c (validate_signal_number): Use
4534         signal_simple_error().
4535
4536 1998-05-19  Martin Buchholz  <martin@xemacs.org>
4537
4538         * unexhp9k800.c:
4539         * sound.c (vars_of_sound):
4540         * sysdep.c (reset_sigio_on_device):
4541         * window.c (window_bottom_gutter_height):
4542         unexhp9k800.c:258: warning: implicit declaration of function
4543         `calculate_checksum'
4544         sound.c:604: warning: implicit declaration of function `vars_of_hpplay'
4545         sysdep.c:1012: warning: unused variable `owner'
4546         window.c:993: warning: `window_right_toolbar_width' defined but not used
4547
4548 1998-05-19  Andy Piper  <andyp@parallax.co.uk>
4549
4550         * glyphs-msw.c (mswindows_create_resized_mask)
4551         (mswindows_create_resized_bitmap): new funnctions split out from
4552         mswindows_resize_dibitmap_instance.
4553
4554         * glyphs-msw.h: declare new resize functions.
4555
4556         * toolbar-msw.c (mswindows_output_toolbar): use new bitmap resize
4557         functions so that the original bitmaps are preserved.
4558
4559         * sheap.c: fixup static heap exhausted error to avoid FAQs.
4560
4561         * redisplay-msw.c (mswindows_output_blank): fixup brush from bg
4562         color if we are trying to output 0 depth bg pixmap.
4563
4564         * scrollbar-msw.c: warning elimination.
4565
4566 1998-05-18  Martin Buchholz  <martin@xemacs.org>
4567
4568         * frame-x.c (x_update_frame_external_traits): Start preprocessor
4569         directives in column 1.
4570
4571         * search.c (skip_chars): Avoid using xzero with arrays, since some
4572         compilers get confused by the construct &array.
4573
4574 1998-05-18  Kirill M. Katsnelson  <kkm@kis.ru>
4575
4576         * objects-msw.h:
4577         * objects-msw.c: Changed the charset value for a new font from
4578         "don't care" to "ansi".
4579
4580         * glyphs-msw.c (convert_EImage_to_DIBitmap): Warnings fix.
4581
4582 1998-05-18  Kirill M. Katsnelson  <kkm@kis.ru>
4583
4584         * event-msw.c (mswindows_wnd_proc, WM_KEYDOWN): Do not clear shift
4585         modifier on control chars.
4586         Use IsCharAlpha() instead of isaplha().
4587
4588 1998-05-19  Kazuyuki IENAGA <ienaga@jsys.co.jp>
4589
4590         * s/freebsd.h: FreeBSD 2.2.6 now supports setlocale(LC_ALL, "").
4591
4592 1998-05-18  Kirill M. Katsnelson  <kkm@kis.ru>
4593
4594         * objects-msw.c (mswindows_initialize_font_instance): Use ANSI
4595         charset when creating font.
4596         (mswindows_initialize_color_instance): Do not create brush along
4597         with a color.
4598         (mswindows_finalize_color_instance): Do not delete it then.
4599
4600         * objects-msw.h (struct mswindows_color_instance_data): Removed
4601         brush slot, and corresponding accessor macro.
4602
4603 1998-05-18  Kirill M. Katsnelson  <kkm@kis.ru>
4604
4605         * toolbar.c: Removed toolbar_data lrecord implementation.
4606         (mark_frame_toolbar_buttons_dirty): Replase usage of toolbar_data
4607         with toolbar_buttons (via FRAME_TOOLBAR_BUTTONS).
4608         (compute_frame_toolbar_buttons): Ditto.
4609         (CHECK_TOOLBAR): Ditto.
4610         (set_frame_toolbar): Removed allocation of toolbar_data lrecord.
4611         (update_frame_toolbars): Do not check for changed buffer
4612         here. Toolbar information is provided by cached specs in
4613         windows. The check for buffer is eliminated becuase toolbars are
4614         marked changed in set_frame_selected_window() in frame.c
4615         Added check for changed toolbars geometry.
4616         (compute_frame_toolbars_data): Removed unused second parameter;
4617         Adjusted callers of this static function throughout the file.
4618         (init_frame_toolbars): Initialize current_toolbar_size.
4619         (update_frame_toolbars): Use DEVICE_SUPPORTS_TOOLBARS_P instead of
4620         what is its current expansion, for clarity.
4621         (init_frame_toolbars): Ditto.
4622         (init_device_toolbars): Ditto.
4623         (init_global_toolbars): Ditto.
4624
4625         * toolbar.h: Removed definition of toolbar_data lrecord.
4626         Added accessor macros FRAME_TOOLBAR_BUTTONS and
4627         FRAME_CURRENT_TOOLBAR_SIZE.
4628         Added macro DEVICE_SUPPORTS_TOOLBARS_P.
4629
4630         * toolbar-x.c (x_output_toolbar): The same change as in
4631         toolbar-msw.c
4632         (x_output_toolbar): Ditto.
4633         (x_redraw_exposed_toolbar): Ditto.
4634
4635         * toolbar-msw.c (mswindows_output_toolbar): Retrieve current
4636         buttons from toolbar_buttons using FRAME_TOOLBAR_BUTTONS macro.
4637         (mswindows_output_toolbar): Ditto.
4638         (mswindows_output_toolbar): Ditto.
4639
4640         * frame.c (mark_frame): Removed marking of arrays, according to
4641         frameslots.h change.
4642         (nuke_all_frame_slots): Ditto.
4643         (set_frame_selected_window): Mark toolbars changed when
4644         last_nonminibuf_window changes.
4645
4646         * frame.h (struct frame): Moved some slots to frameslots.h.
4647         Added current_toolbar_size array.
4648         Changed references from toolbar_data to toolbar_buttons in macros
4649         FRAME_RAW_THEORETICAL_TOOLBAR_VISIBLE,
4650         FRAME_RAW_THEORETICAL_TOOLBAR_SIZE and
4651         FRAME_RAW_THEORETICAL_TOOLBAR_BORDER_WIDTH.
4652
4653         * frameslots.h: Added macro MARKED_SLOT_ARRAY a la winslots.h
4654         Moved arrays of lisp objects here from frame.h: toolbar_size,
4655         toolbar_visible_p, toolbar_border_width.
4656         Removed toolbar_data slot and added toolbar_buttons.
4657
4658 1998-05-17  Kirill M. Katsnelson  <kkm@kis.ru>
4659
4660         * symsinit.h: Externed syms_of_process_nt()
4661
4662         * emacs.c (main_1): Call syms_of_process_nt()
4663
4664         * process-nt.c: Quote process arguments by a call to Lisp function
4665         `nt-quote-process-args'.
4666         (syms_of_process_nt): New function.
4667         (nt_send_process): Flush data stream after each write, to avoid
4668         leaving buffered data.
4669         (nt_send_process): When blocked on process output, wait for
4670         process to slurp more for progressively increasing time intervals.
4671
4672 1998-05-17  Martin Buchholz  <martin@xemacs.org>
4673
4674         * window.c (have_undivided_common_edge): Make file-local function
4675         static.
4676         (map_windows): Return 0 if all map functions successful.
4677         Fix typos.
4678
4679         * winslots.h: Use unlikely names for local variables in macros to
4680         avoid shadowing warnings.
4681
4682 1998-05-17  Andy Piper  <andyp@parallax.co.uk>
4683
4684         * toolbar-msw.c (mswindows_output_toolbar): hash on toolbar width
4685         so that we re-output if the toolbar size has changed.
4686
4687 1998-05-17  Michael Sperber [Mr. Preprocessor]  <sperber@informatik.uni-tuebingen.de>
4688
4689         * s/aix4-2.h (ALIGN_DATA_RELOC): Undefined to support new unexaix.c.
4690
4691         * s/aix3-1.h (ALIGN_DATA_RELOC): Defined to support new unexaix.c.
4692
4693         * unexaix.c: Massive cleanup and support of AIX 4.2 (and hopefully
4694         greater).
4695
4696 1998-05-16  Kirill M. Katsnelson  <kkm@kis.ru>
4697
4698         * glyphs-msw.c: Defined OEMRESOURCE before including windows.h to
4699         get bitmap manifest constants defined.
4700
4701         * console-msw.h: Include system files in angle brackets, not in
4702         quotes.
4703
4704         * window.c (specifier_vars_of_window): Fixed a typo in
4705         `vertical-divider-line-width' docstirng.
4706
4707 1998-05-16  Olivier Galibert  <galibert@pobox.com>
4708
4709         * line-number.c (delete_invalidate_line_number_cache): Use an
4710         EMACS_INT.
4711         (buffer_line_number): Remove dangerous, plain wrong when using
4712         64bits emacs ints, cast.
4713
4714         * insdel.c (buffer_delete_range): Use an EMACS_INT.
4715
4716         * cmds.c (Fforward_line): Use EMACS_INTs.
4717
4718         * search.c (bi_scan_buffer): Change to use EMACS_INTs.
4719         (scan_buffer): Ditto.
4720         (bi_find_next_newline_no_quit): Remove useless cast.
4721         (find_next_newline_no_quit): Ditto.
4722         (find_next_newline): Ditto.
4723         (find_before_next_newline): Use an EMACS_INT.
4724
4725         * lisp.h: Change scan_buffer to pass EMACS_INTs.
4726
4727 1998-05-16  Hrvoje Niksic  <hniksic@srce.hr>
4728
4729         * menubar-msw.c (mswindows_handle_wm_command): Ditto.
4730
4731         * toolbar-msw.c (mswindows_handle_toolbar_wm_command): Ditto.
4732
4733         * gui-x.c (popup_selection_callback): Use it.
4734
4735         * gui.h (get_callback): Declare it.
4736
4737         * gui.c (get_callback): New function.
4738
4739 1998-05-15  SL Baur  <steve@altair.xemacs.org>
4740
4741         * window.c (have_undivided_common_edge): Guard scrollbar specific
4742         stuff.
4743         (window_needs_vertical_divider_1): Ditto.
4744
4745 1998-05-16  Hrvoje Niksic  <hniksic@srce.hr>
4746
4747         * emacs.c (decode_path): Eliminate compiler warning.
4748         (Fdecode_path): Renamed to Fsplit_path.
4749         (Fsplit_string_by_char): New function.
4750
4751 1998-05-14  Damon Lipparelli  <lipp@primus.com>
4752
4753         * winslots.h: close comment
4754
4755 1998-05-16  Kirill M. Katsnelson  <kkm@kis.ru>
4756
4757         * callproc.c: Removed declared and unused variable Qbuffer_file_type.
4758
4759         * bufslots.h: Removed buffer_file_type slot.
4760
4761         * buffer.c (complex_vars_of_buffer): Removed buffer_file_type from
4762         buffer local flags.
4763         (complex_vars_of_buffer): Removed buffer-file-type variable and
4764         its default reference.
4765
4766 1998-05-15  Kirill M. Katsnelson  <kkm@kis.ru>
4767
4768         * faces.c (complex_vars_of_faces): Defined
4769         Vvertical_divider_face.
4770         (vars_of_faces): Staticpro it.
4771
4772         * faces.h: Externed Vvertical_divider_face.
4773
4774         * redisplay-x.c (x_output_vertical_divider): Use
4775         Vvertical_divider_face to draw the divider instead of modeline
4776         face.
4777
4778         * redisplay-msw.c (mswindows_output_vertical_divider): Draw
4779         divider face using Vvertical_divider_face background.
4780         Fix drawing spacing gaps around the divider.
4781
4782 1998-05-14  Didier Verna  <verna@inf.enst.fr>
4783
4784         * redisplay-x.c (x_output_vertical_divider): removed hard-wired
4785         values for the vertical divider line width and spacing. Use the
4786         cached values from the window structure instead.
4787         (x_divider_width): ditto.
4788
4789         * window.c (specifier_vars_of_window): new specifiers:
4790         vertical-divier -line-width and -spacing.
4791         (vertical_divider_global_width_changed): formerly known as
4792         vertical_divider_shadow_thickness_changed.
4793
4794         * winslots.h: new slots: vertical_specifier _line_width and
4795         _spacing. Plus corrected a comment typo.
4796
4797 1998-05-15  Kirill M. Katsnelson  <kkm@kis.ru>
4798
4799         * window.h: Declared window_divider_width().
4800
4801         * console-stream.c (stream_divider_width): Removed method.
4802         (console_type_create_stream): And declaration for it.
4803
4804         * redisplay.c (pixel_to_glyph_translation): Use
4805         window_divider_width() instead of divider_width redisplay method.
4806         (pixel_to_glyph_translation): Fix top divider edge calculation
4807         when scrollbar is on top.
4808
4809         * window.c (window_divider_width): New function, an outphaser for
4810         divider_width redisplay method.
4811         (window_right_gutter_width): Use it.
4812         (specifier_vars_of_window): For vertical-divider-{spacing,line-width}
4813         specifiers, set fallback values differently on TTYs, and document
4814         the behavior of these on TTYs in the docstrings.
4815
4816         * scrollbar.c (update_scrollbar_instance): Use
4817         window_divider_width() instead of divider_width redisplay method.
4818
4819         * console.h (struct console_methods): Removed divider_width_method.
4820
4821         * redisplay-tty.c (tty_divider_width): Removed device method.
4822         (console_type_create_redisplay_tty): Removed definition for it.
4823         (tty_output_vertical_divider): Respect the value returned by
4824         window_divider_width thus divider line width specification.
4825
4826         * redisplay-msw.c (mswindows_divider_width): Removed device method.
4827         (console_type_create_redisplay_mswindows): Removed definition for it.
4828         (mswinodws_output_vertical_divider): Respect the value returned by
4829         window_divider_width thus divider line width specification.
4830
4831 1998-05-15  Andy Piper  <andyp@parallax.co.uk>
4832
4833         * toolbar-msw.c: guess toolbar frame size a bit more accurately.
4834
4835 1998-05-15  Andy Piper  <andyp@parallax.co.uk>
4836
4837         * glyphs-msw.c: resource loading implementation.
4838         (cursor_normalize): new function.
4839         (cursor_validate): ditto.
4840         (cursor_instantiate): ditto.
4841         (cursor_name_to_resource): ditto.
4842         (cursor_possible_dest_types): ditto.
4843         (check_valid_symbol): ditto.
4844         (check_valid_string_or_int): ditto.
4845
4846 1998-05-14  Martin Buchholz  <martin@xemacs.org>
4847
4848         * sysdep.c (tty_init_sys_modes_on_device): Treat VSUSP just like
4849         VINTR and VQUIT.
4850
4851         * process-unix.c (process_signal_char): Use VSUSP instead of
4852         non-standard VSWTCH.  Always prefer VSUSP to VSWTCH.
4853
4854 1998-05-14  Kirill M. Katsnelson  <kkm@kis.ru>
4855
4856         * specifier.c (specifier_instance): Change locale precedence of
4857         instantiation so window locale has higher priority than buffer
4858         locale.
4859         (Fspecifier_instance): Reflect this in docstring.
4860         (Fadd_spec_list_to_specifier): Ditto.
4861         (Fadd_spec_to_specifier): Ditto.
4862         (Fremove_specifier): Ditto.
4863
4864 1998-05-15  Kirill M. Katsnelson  <kkm@kis.ru>
4865
4866         ** Dialog separation into a device method from Andy Piper
4867
4868         * emacs.c (main_1): Call console_type_create_dialog_x().
4869
4870         * dialog-x.c (x_popup_dialog_box): Old Fpopup_dialog_box converted
4871         into this device method.
4872         (console_type_create_dialog_x): New function.
4873
4874         * dialog.c (Fpopup_dialog_box): New function.
4875         (syms_of_dialog): Defsubr it.
4876
4877         * console.h (struct console_methods): Declared
4878         popup_dialog_box_method().
4879
4880         * symsinit.h: Defined console_type_create_dialog_{x,mswindows}
4881
4882 1998-05-14  Oliver Graf <ograf@fga.de>
4883
4884         * dragdrop.c (vars_of_dragdrop): dragdrop-protocols created
4885         * frame-x.c (x_cde_transfer_callback): checked for merge errors
4886
4887 1998-05-13  Oliver Graf <ograf@fga.de>
4888
4889         * dragdrop.c (vars_of_dragdrop): provide dragdrop-api
4890
4891 1998-05-15  Kirill M. Katsnelson  <kkm@kis.ru>
4892
4893         * console.h (device_metrics): Removed dbcs, input-method-editor
4894         and right-to-left metrics.
4895
4896         * device.c (Fdevice_system_metric): Ditto.
4897         (Fdevice_system_metrics): Ditto.
4898         (syms_of_device): Ditto.
4899         (Fdevice_system_metric): Swapped DEVICE and METRIC parameters back
4900         again.
4901
4902 1998-05-14  Hrvoje Niksic  <hniksic@srce.hr>
4903
4904         * line-number.h (mark_line_number_cache): Remove unused
4905         declaration.
4906
4907         * line-number.c (LINE_NUMBER_FAR): Increase to 32768.
4908         (get_nearest_line_number): Simplify.
4909         (add_position_to_cache): Make the old marker point nowhere.
4910
4911 1998-05-14  Kirill M. Katsnelson  <kkm@kis.ru>
4912
4913         ** Renamed window-divider-map => vertical-divider-map
4914         and event-over-divider-p => event-over-vertical-divider-p,
4915         in the following files/functions:
4916         * events.h:
4917         * events.c (Fevent_over_divider_p):
4918         * keymap.c (get_relevant_keymaps):
4919         (vars_of_keymap):
4920
4921         * redisplay.h (OVER_V_DIVIDER): Renamed so from OVER_DIVIDER.
4922
4923         * redisplay.c (pixel_to_glyph_translation): Use OVER_V_DIVIDER.
4924
4925 1998-05-14  Kirill M. Katsnelson  <kkm@kis.ru>
4926
4927         * window.c (vertical_divider_changed_in_window): Renamed so.
4928         (specifier_vars_of_window): Defined Vvertical_divider_draggable_p.
4929         (window_needs_vertical_divider_1): Decide whether we need it based
4930         on the value of the above specifier. If separators are unwanted,
4931         put them only if there's no scrollbar between this window and its
4932         right neighbor.
4933         (have_undivided_common_edge): New function, helper for the above.
4934         (window_needs_vertical_divider): Return either a cached value,
4935         or clauclate and cache one.
4936         (invalidate_vertical_divider_cache_in_window): Implemented.
4937         (map_windows): Changed return type to int, return the value from
4938         MAPFUN.
4939
4940         * window.h: Prototype invalidate_vertical_divider_cache_in_window.
4941         (struct window): Added need_vertical_divider_p and
4942         need_vertical_divider_valid_p.
4943
4944         * winslots.h: Added vertical_divider_draggable_p slot.
4945
4946         * scrollbar.c (vertical_scrollbar_changed_in_window): Implemented.
4947         (specifier_vars_of_scrollbar): Used it in all vertical specifiers.
4948
4949         * frame.c (invalidate_vertical_divider_cache_in_frame): New function.
4950
4951         * frame.h (MARK_FRAME_WINDOWS_STRUCTURE_CHANGED): Call
4952         invalidate_vertical_divider_cache_in_frame().
4953         Prototype it.
4954
4955 1998-05-14  Andy Piper  <andyp@parallax.co.uk>
4956
4957         * toolbar-msw.c: provide correct parameters to TB_SETROWS.
4958
4959         * glyphs-msw.c (mswindows_initialize_image_instance_mask): size
4960         masks correctly and don't select 0.
4961
4962 1998-05-14  Kirill M. Katsnelson  <kkm@kis.ru>
4963
4964         * winslots.h: New file, declaration of some struct window and
4965         struct saved_window members.
4966
4967         * window.h (struct window): Include it, with required preprocessor
4968         magic.
4969
4970         * window.c (mark_window): Ditto.
4971         (allocate_window): Ditto.
4972         (struct saved_window): Ditto.
4973         (mark_window_config): Ditto.
4974         (saved_window_equal): Ditto.
4975         (Fset_window_configuration): Ditto.
4976
4977 1998-05-14  Kirill M. Katsnelson  <kkm@kis.ru>
4978
4979         * redisplay-msw.c (mswindows_output_vertical_divider): Syntax fix.
4980
4981 1998-05-12  Didier Verna  <verna@inf.enst.fr>
4982
4983         * redisplay-x.c (x_output_vertical_divider): draw shadows around
4984         the divider line. The shadow thickness is currently
4985         hard-wired. This will probably be turned into a specifier soon.
4986
4987 1998-05-12  Didier Verna  <verna@inf.enst.fr>
4988
4989         * console.h (struct console_methods): the divider_width console
4990         method now requires a struct window * argument.
4991
4992         * redisplay-x.c (x_divider_width): ditto. Plus remove
4993         X_DIVIDER_WIDTH, X_DIVIDER_SHADOW_THICKNESS.
4994         (x_output_vertical_divider): give a depressed look when the shadow
4995         thickness is negative.
4996
4997         * console-stream.c (stream_divider_width): pass a struct window *
4998         argument.
4999
5000         * redisplay-tty.c (tty_divider_width): ditto.
5001
5002         * window.c (window_right_gutter_width): totdi.
5003
5004         * redisplay.c (generate_modeline): ittod.
5005
5006         * scrollbar.c (update_scrollbar_instance): ttido.
5007
5008         * redisplay-msw.c (mswindows_divider_width): ottid.
5009         WARNING: this enables to compile, but the feature is not functional.
5010
5011         * window.h (struct window): new field
5012         vertical_divider_shadow_thickness.
5013
5014         * window.c (specifier_vars_of_window): new specifier
5015         vertical-divider-shadow-thickness.
5016         (vertical_divider_shadow_thickness_changed): new function to
5017         inform redisplay that the window has changed.
5018         (mark_window): handle new field vertical_divider_shadow_thickness
5019         from struct window.
5020         (allocate_window): ditto.
5021         (saved_window_equal): toddi.
5022         (Fset_window_configuration): totid.
5023         (save_window_save): ttdio.
5024         (struct saved_window): new field vertical_divider_shadow_thickness.
5025
5026 1998-05-14  Kirill M. Katsnelson  <kkm@kis.ru>
5027
5028         * device-msw.c (mswindows_device_system_metrics): Support a deluge
5029         of metrics.
5030
5031 1998-05-12  Oliver Graf <ograf@fga.de>
5032
5033         * frame-x.c (x_cde_transfer_callback): fixed for the new protocol
5034         * event-Xt.c (x_event_to_emacs_event): C++ compability
5035
5036 1998-05-14  Hrvoje Niksic  <hniksic@srce.hr>
5037
5038         * emacs.c (Fdecode_path): Default SEPCHAR to value of
5039         path-separator.
5040
5041 1998-05-14  Hrvoje Niksic  <hniksic@srce.hr>
5042
5043         * emacs.c (vars_of_emacs): Do it here; change the meaning of
5044         Vpath_separator.
5045
5046         * fileio.c (vars_of_fileio): Don't define Vpath_separator here.
5047
5048 1998-05-14  Hrvoje Niksic  <hniksic@srce.hr>
5049
5050         * emacs.c (decode_path_1): New function.
5051         (decode_path): Use it.
5052         (Fdecode_path): Renamed from Fdecode_path_internal; use
5053         decode_path_1.
5054
5055 1998-05-12  Hrvoje Niksic  <hniksic@srce.hr>
5056
5057         * macros.c (Fzap_last_kbd_macro_event): New function.
5058         (Fend_kbd_macro): Remove REMOVE_LAST kludge.
5059
5060 1998-05-10  Andy Piper  <andyp@parallax.co.uk>
5061
5062         * redisplay-msw.c (mswindows_output_dibitmap_region): make sure
5063         multiple bitmaps are output vertically as well as horizontally.
5064         * (mswindows_output_dibitmap): don't cope with bitmap boundaries
5065         crossing lines this is handled by
5066         mswindows_output_dibitmap_region.
5067
5068 1998-05-12  Martin Buchholz  <martin@xemacs.org>
5069
5070         * inline.c: Include eldap.h
5071
5072         * menubar-x.c (x_update_frame_menubar_internal):
5073         Remove: unused variable `container'
5074
5075 1998-05-11  Martin Buchholz  <martin@xemacs.org>
5076
5077         * s/aix4.h: Allow AIX 4.3 XEmacs to compile cleanly.
5078         Unfortunately, the resulting temacs still cannot dump.
5079
5080         * symbols.c (symbol_is_constant):
5081         (verify_ok_for_buffer_local):
5082         -Wswitch Warning suppression - add default case to switches.
5083
5084         * redisplay.c (decode_mode_spec): Remove unused variables,
5085         Replace Fcoding_system_property (codesys, Qmnemonic) with
5086         XCODING_SYSTEM_MNEMONIC (codesys);
5087         Fcoding_system_property is for users.
5088
5089         * buffer.c:
5090         * fileio.c:
5091         * lread.c:
5092         * xselect.c:
5093         Change empty docstrings into no doc strings at all.
5094         Fix bogus FSF-format docstrings.
5095
5096         * extents.c:
5097         Standardize docstrings.
5098
5099         * floatfns.c:
5100         Explain problems with matherr.
5101
5102         * glyphs.c:  make DEFUNs etags-readable, i.e. single-line
5103
5104         * syssignal.h:
5105         if BROKEN_SIGIO, then SIGIO wants to be undefined.
5106         if SIGIO and not SIGPOLL, SIGPOLL wants to be SIGIO.\
5107         Fix the weird resultant interaction (causes windows problems)
5108
5109         * gdbinit:
5110         * dbxrc:
5111         Take new EMACSBOOTSTRAPLOADPATH into account.
5112         Update documentation strings
5113
5114         * Makefile.in.in:
5115         - Adjust for luser's CDPATH being set to something weird.
5116         - Take into account bash 2.02's tendency to print the cwd when
5117           using CDPATH.  Always use `cd ./foo' instead of `cd foo'.
5118         - fix the run-temacs target to use $(DUMPENV)
5119         - fix the run-puremacs target to use $(DUMPENV)
5120         - fix the `depend' target to properly $(RM) the right files
5121         - Generate a better TAGS file for XEmacs' lisp code using
5122           hand-crafted regexps.
5123         - Use standard coding conventions for modules/Makefile.in
5124
5125 1998-05-12  Didier Verna  <verna@inf.enst.fr>
5126
5127         * redisplay.c: removed the scrolling modeline code that didn't
5128         make it for 21.0. To be continued ...
5129
5130 1998-05-13  Michael Sperber [Mr. Preprocessor]  <sperber@informatik.uni-tuebingen.de>
5131
5132         * emacs.c (Fdecode_path_internal): Removed bogus handling of nil
5133         and empty string inputs.
5134
5135 1998-05-12  Hrvoje Niksic  <hniksic@srce.hr>
5136
5137         * redisplay-x.c (x_output_vertical_divider): Fixed typo.
5138
5139 1998-05-10  Oliver Graf <ograf@fga.de>
5140
5141         * event-stream.c (enqueue_misc_user_event_pos): created
5142         * lisp.h (enqueue_misc_user_event_pos): prototype added
5143         * frame-x.c (x_cde_transfer_callback): debug code plus API changes
5144         * emacs.c: call vars_of_dragdrop
5145         * dragdrop.c (vars_of_dragdrop): provide dragdrop
5146
5147 1998-05-11  Oliver Graf <ograf@fga.de>
5148
5149         * frame-x.c (x_cde_transfer_callback): return at correct pos
5150         * event-Xt.c (x_event_to_emacs_event): changed format of drop
5151         object for MIME (see comment in dragdrop.c)
5152         * dragdrop.c: API change documented in comment
5153         removed provide of dragdrop [is provided by dragdrop.el]
5154
5155 1998-05-12  Kirill M. Katsnelson  <kkm@kis.ru>
5156
5157         * window.c (window_needs_vertical_divider): Enable vertical
5158         dividers for every non-rightmost window.
5159         (window_left_gutter_width): Left gutter consists of mythical
5160         toolbar and a virtual scrollbar.
5161         (window_right_gutter_width): The right one may have a divider
5162         also.
5163
5164         * scrollbar.c (update_scrollbar_instance): Position vertical
5165         scrollbar left to divider if the latter present.
5166
5167         * redisplay.h: Declared OVER_DIVIER constant.
5168
5169         * redisplay.c (pixel_to_glyph_translation): Handle OVER_DIVIDER
5170         case.
5171
5172         * redisplay-x.c (x_output_vertical_divider): Output divider along
5173         the right side of the window, down to window bottom. Swapped
5174         foreground and background colors so it is visible by default.
5175
5176         * redisplay-tty.c (tty_output_vertical_divider): Uncondiionally
5177         stick the divider to the right window side.
5178
5179         * redisplay-msw.c (mswindows_redisplay_deadbox_maybe): Fixed
5180         deadbox painting.
5181         (mswindows_divider_width): Ask system for user preferred value.
5182         (mswindows_output_vertical_divider): Always output the divider on
5183         the right side of a window, down to bottom.
5184
5185         * keymap.c (get_relevant_keymaps): Route mouse button events which
5186         happened over a window divider through window-divider-map.
5187         (Fkey_binding): Documented that in the docstring.
5188         Defined the variable Vwindow_divider_map.
5189
5190         * events.c (Fevent_over_divider_p): Added this function.
5191
5192         * events.h: EXFUNed it.
5193
5194 1998-05-12  Kirill M. Katsnelson  <kkm@kis.ru>
5195
5196         * toolbar.c (update_frame_toolbars): Re-layout frame windows if
5197         toolbar geometry is suspected to change.
5198
5199 1998-05-11  Jonathan Harris  <jhar@tardis.ed.ac.uk>
5200
5201         * src/device-msw.c
5202         * src/event-msw.c
5203         Condition dnd and dde code on HAVE_DRAGNDROP.
5204
5205 1998-05-11  Hrvoje Niksic  <hniksic@srce.hr>
5206
5207         * events.c (format_event_object): Print space as SPC etc.
5208
5209 1998-05-11  Hrvoje Niksic  <hniksic@srce.hr>
5210
5211         * print.c (print_internal): In the default case, abort() if
5212         ERROR_CHECK_TYPECHECK.
5213
5214         * fileio.c (Fmake_temp_name): Doc fix.
5215
5216 1998-05-10  Hrvoje Niksic  <hniksic@srce.hr>
5217
5218         * xgccache.c (describe_gc_cache): Define only if DEBUG_XEMACS.
5219
5220         * undo.c (Fprimitive_undo): Fixed typo.
5221
5222 1998-05-11  Hrvoje Niksic  <hniksic@srce.hr>
5223
5224         * fns.c (concat): Signal error on integer argument.
5225
5226 1998-05-10  Kirill M. Katsnelson  <kkm@kis.ru>
5227
5228         * console.h (device_metrics): Prefixed each constatnt with DM_
5229
5230         * device.c: (Fdevice_system_metric): Renamed so from plural form
5231         (metrics); Changed parameters order and added DEFAULT parameter;
5232         Unabbreviated some metric constants; Fixed and untabified doc string.
5233         (Fdevice_system_metrics): Added. Returns a plist of all provided
5234         metrics.
5235
5236         * device-msw.c (mswindows_device_system_metrics): Renamed
5237         device_metrics enum constants.
5238         Return Qunbound instead of Qnil.
5239
5240         * device-tty.c (tty_device_system_metrics): Ditto.
5241
5242         * device-x.c (x_device_system_metrics): Ditto.
5243
5244 1998-05-10  Andy Piper  <andyp@parallax.co.uk>
5245
5246         * redisplay-msw.c: implement background pixmaps (really!). Make
5247         sure bg color is transparent if we have bg pmaps.
5248         * (mswindows_output_string) (mswindows_clear_region): output bg
5249         pmap if required.
5250         * (mswindows_output_dibitmap_region): new function.
5251         * (mswindows_output_dibitmap): output offset pixmaps, blt masks in
5252         the bg color rather than transparently.
5253
5254         * toolbar-msw.c: use masks if they exist.
5255
5256         * glyphs-msw.c: set up masks correctly.
5257
5258         * event-msw.c: typedef SOCKET if cygwin and not msg select().
5259
5260 1998-05-10  Hrvoje Niksic  <hniksic@srce.hr>
5261
5262         * regex.c (re_match_2_internal): Check for quit.
5263
5264 1998-05-10  Hrvoje Niksic  <hniksic@srce.hr>
5265
5266         * frame.c (Ffocus_frame): New function.
5267