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