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