XEmacs 21.2.4
[chise/xemacs-chise.git.1] / src / ChangeLog
1 1998-11-28  SL Baur  <steve@altair.xemacs.org>
2
3         * XEmacs 21.2-beta4 is released.
4
5 1998-11-27  SL Baur  <steve@altair.xemacs.org>
6
7         * mule-charset.c (complex_vars_of_mule_charset): Fix graphic
8         property in control-1 charset.
9         From Julian Bradfield <jcb@daimi.au.dk>
10
11 1998-11-26  Jan Vroonhof  <vroonhof@math.ethz.ch>
12
13         * gui-x.c (button_item_to_widget_value): Ignore :key-sequence
14         keyword.
15         Add stub for :label.
16
17         * gui.c (gui_item_add_keyval_pair): ditto.
18
19         * menubar-x.c (menu_item_descriptor_to_widget_value_1): Ignore
20         :key-sequence keyword.
21         Add stub for:label.
22         Support :active for submenus like the Windows code and FSF Emacs.
23
24 1998-11-27  Hrvoje Niksic  <hniksic@srce.hr>
25
26         * dired.c (make_directory_hash_table): make_string() is OK because 
27         readdir() Mule-encapsulates.
28
29 1998-11-26  Hrvoje Niksic  <hniksic@srce.hr>
30
31         * fns.c (Fbase64_encode_string): Fix docstring.
32         (Fbase64_decode_string): Ditto.
33
34 1998-11-26  Hrvoje Niksic  <hniksic@srce.hr>
35
36         * editfns.c (Ftranslate_region): Use
37         convert_bufbyte_string_into_emchar_string().
38
39 1998-11-25  Hrvoje Niksic  <hniksic@srce.hr>
40
41         * editfns.c (Ftranslate_region): Accept vectors and char-tables as 
42         well as strings.
43         (Ftranslate_region): Turn table into an array of Emchars for
44         larger regions.
45
46 1998-11-25  Hrvoje Niksic  <hniksic@srce.hr>
47
48         * chartab.c (Freset_char_table): Fix wrong placement of #endif.
49
50 1998-11-24  Hrvoje Niksic  <hniksic@srce.hr>
51
52         * chartab.c (Freset_char_table): Don't blindly fill chartables of
53         type `char' with nils.
54
55         * chartab.c (canonicalize_char_table_value): Coerce ints to chars
56         for tables of type `char'.
57
58 1998-11-26  Didier Verna  <verna@inf.enst.fr>
59
60         * input-method-xlib.c (Initialize_Locale): don't call
61         XtSetLanguageProc. We've done the whole work here.
62         * input-method-xfs.c (Initialize_Locale): ditto.
63         * input-method-motif.c (Initialize_Locale): ditto.
64
65 1998-11-26  Didier Verna  <verna@inf.enst.fr>
66
67         * process-unix.c (unix_create_process): handle properly
68         Vfile_name_coding_system for converting the program and directory
69         names. 
70
71 1998-11-27  SL Baur  <steve@altair.xemacs.org>
72
73         * m/arm.h: New file.
74         From James LewisMoss <dres@ioa.com>
75
76 1998-11-27  Takeshi Hagiwara  <hagiwara@ie.niigata-u.ac.jp>
77
78         * m/mips-nec.h:
79         Fix the realpath() problem of UnixWare2.1.3.
80         Patches for NEC's sysv4.2 machine.
81
82 1998-11-25  Hrvoje Niksic  <hniksic@srce.hr>
83
84         * dired.c (Fdirectory_files): Remove redundant code.
85
86 1998-11-25  Hrvoje Niksic  <hniksic@srce.hr>
87
88         * fns.c (free_malloced_ptr): New function.
89         (XMALLOC_OR_ALLOCA): New macro.
90         (XMALLOC_UNBIND): Ditto.
91         (Fbase64_encode_region): Use malloc() for large blocks; arrange it 
92         to be freed in case of non-local exit.
93         (Fbase64_encode_string): Ditto.
94         (Fbase64_decode_region): Ditto.
95         (Fbase64_decode_string): Ditto.
96         (STORE_BYTE): New macro.
97         (base64_decode_1): Use it.
98
99 1998-11-25  Hrvoje Niksic  <hniksic@srce.hr>
100
101         * fns.c (base64_value_to_char): Base64 stuff.
102
103 1998-11-24  Hrvoje Niksic  <hniksic@srce.hr>
104
105         * editfns.c (Fbuffer_substring): New function.
106
107         * lisp.h: Declare make_string_from_buffer_no_extents().
108
109         * insdel.c (make_string_from_buffer_1): New function.
110         (make_string_from_buffer_no_extents): Ditto.
111
112 1998-11-15  Michael Sperber [Mr. Preprocessor]  <sperber@informatik.uni-tuebingen.de>
113
114         * linuxplay.c: Including <fcntl.h> instead of <sys/fcntl.h> makes
115         sound work on AIX with OSS installed.  Linux should still work.
116
117 1998-11-03  Andy Piper  <andyp@parallax.co.uk>
118
119         * config.h.in: name change for cygwin/version.h
120
121         * configure.in: check for cygwin/version.h now.
122
123         * cygwin32.h: track CYGWIN_DLL_VERSION_MAJOR ->
124         CYGWIN_VERSION_DLL_MAJOR name change in cygwin b20.
125         move cygwin32/version.h to cygwin/version.h
126
127 1998-11-03  Olivier Galibert  <galibert@pobox.com>
128
129         * lisp.h  (struct  Lisp_Bit_Vector): Fix declaration of  bits from
130         int to long.
131
132 1998-10-22  Andy Piper  <andyp@parallax.co.uk>
133
134         * cygwin32.h: track CYGWIN_DLL_VERSION_MAJOR ->
135         CYGWIN_VERSION_DLL_MAJOR name change in cygwin b20.
136         enable BROKEN_SIGIO under b20 to make QUIT work.
137
138 1998-10-22  Andy Piper  <andyp@parallax.co.uk>
139
140         * frame-msw.c (mswindows_size_frame_internal): force frame sizing
141         to fit within the constraints of the screen size. I.e. make the
142         frame small enough to fit and move it if some of it will be
143         off-screen.
144
145 1998-10-19  Greg Klanderman  <greg@alphatech.com>
146
147         * dired.c: conditionalize inclusion of user-name-completion
148         primitives on non-Windows NT.  The needed functions don't exist on NT.
149
150 1998-11-24  SL Baur  <steve@altair.xemacs.org>
151
152         * gifrlib.h: Clean up types for 64 bit compile.
153         * dgif_lib.c (DGifInitRead): Ditto.
154         (MakeSavedImage): Ditto.
155         * emacs.c (decode_path): Ditto.
156         From Steve Carney <carney@pa.dec.com>
157
158 1998-10-16  William M. Perry  <wmperry@aventail.com>
159
160         * glyphs-msw.c (bitmap_table): Fixed typo in builtin bitmaps
161           (cehckboxes instead of checkboxes).
162
163 1998-10-15  SL Baur  <steve@altair.xemacs.org>
164
165         * XEmacs 21.2-beta3 is released.
166
167 1998-10-13  Raymond Toy  <toy@rtp.ericsson.se>
168
169         * runemacs.c (WinMain): If the basename is "rungnuclient.exe", run
170         gnuclient.  Otherwise, we run xemacs as we always did.  This gets
171         rid of the annoying DOS window when running gnuclient.
172
173 1998-10-13  Andy Piper  <andyp@parallax.co.uk>
174
175         * dragdrop.c (vars_of_dragdrop): rename HAVE_MSWINDOWS ->
176         HAVE_MS_WINDOWS typo.
177
178 1998-10-13  SL Baur  <steve@altair.xemacs.org>
179
180         * process-unix.c (unix_send_process): Set closed flag on writable
181         pipe after SIGPIPE is received and before we call deactivate_process.
182
183 1998-10-03  Gunnar Evermann  <ge204@eng.cam.ac.uk>
184
185         * window.c (Fset_window_start): respect narrowing when
186         checking wheter start is at the beginning of a line.
187         (Fset_window_buffer): Ditto
188         Fixes repeatable crash in VM.
189
190 1998-10-09  SL Baur  <steve@altair.xemacs.org>
191
192         * window.c (specifier_vars_of_window): Set default vertical
193         divider width to 1 on ttys.
194
195 1998-10-08  Martin Buchholz  <martin@xemacs.org>
196
197         * alloc.c:
198         * unexec.c:
199         * malloc.c:
200         Add <stddef.h> to get ptrdiff_t declaration
201
202 1998-10-07  Jonathan Harris  <jhar@tardis.ed.ac.uk>
203
204         * scrollbar-msw.c: Use the same vertical scrollbar drag hack as 
205           is used for Motif or Lucid scrollbars under X.
206
207 1998-10-08  Pierre Wendling  <pw@ebc.vbe.dec.com>
208
209         * m/alpha.h (UNEXEC): quoted to avoid bad expansion when running
210         `configure'
211
212 1998-10-06  Takeshi Hagiwara  <hagiwara@ie.niigata-u.ac.jp>
213
214         * frame-x.c (x_delete_frame): Fix an argument of XtDestroyWidget.
215
216 1998-10-05  Andy Piper  <andyp@parallax.co.uk>
217
218         * s/cygwin32.h: more cygwin b20 reorganisation.
219
220 1998-10-03  Gunnar Evermann  <ge204@eng.cam.ac.uk>
221
222         * window.c (Fset_window_start): Document me.
223         (Fset_window_buffer): Document me.
224         Fixes some sort of repeatable crash.
225
226 1998-10-01  Raymond Toy  <toy@rtp.ericsson.se>
227
228         * nas.c: Added necessary support functions to be able to handle
229         WAVE files in memory, just like the support for SND files in
230         memory.
231
232 1998-09-30  SL Baur  <steve@altair.xemacs.org>
233
234         * callproc.c (child_setup): Fix spelling typo.
235
236 1998-09-29  SL Baur  <steve@altair.xemacs.org>
237
238         * XEmacs 21.2-beta2 is released.
239
240 1998-09-27  P. E. Jareth Hein  <jareth@camelot.co.jp>
241
242         * regex.c (re_match_2_internal): Add in code to reset lowest_active_reg
243         to prevent memory corruption in the case of jumping out of a series of
244         nested match patterns. This is a rather brute force approach, though.
245
246 1998-09-02  Andy Piper  <andyp@parallax.co.uk>
247
248         * config.h.in: ditto.
249
250         * s/cygwin32.h: rearrange declarations to cope with cygwin
251         b20. Include cygwin32/version.h if it exists.
252
253 1998-09-20  Jonathan Harris  <jhar@tardis.ed.ac.uk>
254
255         * device-msw.c (mswindows_init_device): Call new
256           mswindows_enumerate_fonts() function in objects-msw.c instead
257           of font_enum_callback_1() to enumerate fonts.
258
259           font_enum_callback_1() and _2() moved to objects-msw.c. 
260
261         * faces.c (complex_vars_of_faces): Make the mswindows default 
262           face font fully specified and provide some fallbacks.
263
264         * objects-msw.c: font_enum_callback_1() and _2() moved here
265           from objects-msw.c. Obtain the enumerated font's character
266           sets by table lookup instead of using the locale-specific
267           string provided by Windows.
268
269           New public non-method mswindows_enumerate_fonts() that fills
270           in the supplied mswindows device's font list.
271
272           mswindows_initialize_font_instance: Use the supplied name
273           variable instead of f->name when signalling errors. Match font
274           weights and character sets using lookup tables which handle
275           spaces instead of by frobbing.
276
277 1998-09-20  Jonathan Harris  <jhar@tardis.ed.ac.uk>
278
279         * process-nt.c: Define an arbitrary limit, FRAGMENT_CODE_SIZE,
280           on the size of code fragments passed to run_in_other_process.
281
282           run_in_other_process(): Use FRAGMENT_CODE_SIZE to determine
283           the amount of memory to allocate in the other process.
284
285           Removed sigkill_code_end(), sigint_code_end() and
286           sig_enable_code_end() since they are now redundant.
287
288           send_signal() and enable_child_signals(): Don't try to work
289           out the end of the code fragments passed to 
290           run_in_other_process()
291
292 1998-09-10  Kazuyuki IENAGA  <ienaga@jsys.co.jp>
293
294         * src/s/freebsd.h: Added __ELF__ and compiler/liker flags for
295         FreeBSD-current.
296
297         * src/unexelf.c: Partially synched with FSF's 20.3.
298
299 1998-09-10  Hrvoje Niksic  <hniksic@srce.hr>
300
301         * insdel.c (signal_after_change): Map across indirect buffers
302         here, and not in the upper-level functions.
303         (signal_first_change): Don't check for Armageddon.
304         (signal_before_change): Map across indirect buffers here.
305         (prepare_to_modify_buffer): ...and here.
306
307 1998-09-09  Hrvoje Niksic  <hniksic@srce.hr>
308
309         * insdel.c (signal_after_change): Add return value.
310         (buffer_insert_string_1): Use it.
311         (buffer_delete_range): Ditto.
312         (buffer_replace_char): Ditto.
313         (cancel_multiple_change): Map the indirect buffers.
314
315 1998-09-06  Hrvoje Niksic  <hniksic@srce.hr>
316
317         * insdel.c (init_buffer_text): Remove INDIRECT_P parameter.
318         (uninit_buffer_text): Ditto.
319
320         * buffer.c (Fmake_indirect_buffer): Implement stricter
321         error-checking.
322
323 1998-09-04  Hrvoje Niksic  <hniksic@srce.hr>
324
325         * insdel.c (change_function_restore): Reverse order of
326         function-call and assignment.
327         (first_change_hook_restore): Ditto.
328
329         * extents.c (mark_extent_auxiliary): Mark them.
330         (Fset_extent_property): Set them.
331         (Fextent_property): Get them.
332         (Fextent_properties): Ditto.
333         (vars_of_extents): Set their default.
334
335         * extents.h (struct extent_auxiliary): Add before_change_functions
336         and after_change_functions.
337
338         * insdel.c (signal_before_change): Use it.
339         (signal_after_change): Ditto.
340
341         * extents.c (report_extent_modification): New function.
342
343         * insdel.c (signal_before_change): Don't check for Armageddon.
344         (signal_after_change): Ditto.
345
346 1998-09-11  Gunnar Evermann  <Gunnar.Evermann@nats.informatik.uni-hamburg.de>
347
348         * redisplay.c (redisplay_window): make sure a new starting point
349         is chosen if it somehow got moved from the beginning of the line
350         -- this can happen because Fwiden was called recently.
351
352         * window.c (Fset_window_start): set start_at_line_beg correctly
353         (Fset_window_buffer): Ditto
354
355 1998-09-06  Hrvoje Niksic  <hniksic@srce.hr>
356
357         * insdel.c (init_buffer_text): Remove INDIRECT_P parameter.
358         (uninit_buffer_text): Ditto.
359
360         * buffer.c (Fmake_indirect_buffer): Implement stricter
361         error-checking.
362
363 1998-05-14  Jan Vroonhof  <vroonhof@math.ethz.ch>
364
365         * emacs.c (main_1): Removed references to *vars_of_filelock.
366
367         * lisp.h: Added Fsystem_name.
368
369         * filelock.c: Replaced by version from FSF 20.2. Now implements
370         locking by using symlinks which is NFS safe. However keep the
371         GCPRO's in lock_file and the calls to callx_in_buffer like our old 
372         version (and of course use ansi C, acessor macros, etc).
373
374 1998-09-06  Jan Vroonhof  <vroonhof@math.ethz.ch>
375
376         * process-unix.c (unix_create_process): Reset SIGHUP handler to
377         SIG_DFL. We now try to conserve any inherted SIG_IGN settings
378         in init_signals_very_early. However these should not be passed 
379         on to children attached to the new pty.
380
381 1998-08-28  Andy Piper  <andyp@parallax.co.uk>
382
383         * glyphs-eimage.c (png_instantiate_unwind): clean up eimage after use.
384
385 1998-09-07  Jonathan Harris  <jhar@tardis.ed.ac.uk>
386
387         * fileio.c (file-name-directory, file_name_as_directory):
388           Don't call CORRECT_DIR_SEPS, even when #defined WINDOWSNT. 
389
390 1998-09-02  Andy Piper  <andyp@parallax.co.uk>
391
392         * emacs.c (main_1): init_ralloc() if initialised and we have REL_ALLOC
393
394         * ralloc.c: uncomment __morecore.
395
396 1998-09-92  Jonathan Harris  <jhar@tardis.ed.ac.uk>
397
398         * event-msw.c(winsock_writer): Supply a dummy 4th argument to
399           WriteFile() to fix a winsock 1.x bug on Win95.
400
401 1998-08-28  Hrvoje Niksic  <hniksic@srce.hr>
402
403         * event-Xt.c (emacs_Xt_mapping_action): Check for device being
404         deleted.
405         (x_event_to_emacs_event): Ditto.
406         (emacs_Xt_handle_focus_event): Ditto.
407         (emacs_Xt_handle_magic_event): Ditto.
408
409         * console-x.h (struct x_device): New flag being_deleted.
410         (DEVICE_X_BEING_DELETED): New macro.
411
412         * device-x.c (x_IO_error_handler): Throw to top-level instead of
413         returning.  Before doing that, set the being_deleted flag on the
414         device.
415
416 1998-08-27  Hrvoje Niksic  <hniksic@srce.hr>
417
418         * device-x.c (x-seppuku-on-epipe): Removed.
419
420 1998-08-26  Gunnar Evermann  <Gunnar.Evermann@nats.informatik.uni-hamburg.de>
421
422         * frame-x.c (x_delete_frame): Flush the X output buffer after
423         calling XtDestroyWidget to ensure that the windows are really
424         killed right now. 
425
426 1998-08-26  Hrvoje Niksic  <hniksic@srce.hr>
427
428         * menubar-x.c (my_run_hook): New unused function.
429         (pre_activate_callback): Use run_hook for Qactivate_menubar_hook,
430         since we ignore the results of the contained functions anyway.
431
432 1998-08-26  P. E. Jareth Hein  <jareth@camelot.co.jp>
433
434         * glyphs-eimage.c (gif_instantiate): Fix a crash in handling
435         interlaced GIF files that are smaller than 4 lines high...
436
437 1998-08-31  Hrvoje Niksic  <hniksic@srce.hr>
438
439         * buffer.c (map_over_sharing_buffers): Deleted.
440
441         * insdel.c (MAP_INDIRECT_BUFFERS): Move to buffer.h.
442
443         * buffer.c (Fkill_buffer): Keep indirect_children updated while
444         killing them.
445
446 1998-08-31  Hrvoje Niksic  <hniksic@srce.hr>
447
448         * insdel.c (buffer_insert_string_1): Advance the point bytind in
449         all the buffers.
450         (buffer_delete_range): Ditto.
451
452         * marker.c (init_buffer_markers): Set point-marker to the value of 
453         point in an indirect buffer.
454
455 1998-08-30  Hrvoje Niksic  <hniksic@srce.hr>
456
457         * undo.c (undo_prelude): Test last-undo-buffer against base
458         buffer.
459
460         * insdel.c (MAP_INDIRECT_BUFFERS): Use it.
461
462         * buffer.h (BUFFER_BASE_BUFFER): New macro.
463
464 1998-08-30  Hrvoje Niksic  <hniksic@srce.hr>
465
466         * insdel.c (init_buffer_text): Initialize it here.
467
468         * line-number.c: Address line_number_cache through buffer->text.
469
470         * buffer.c (mark_buffer): Mark line number cache.
471
472         * bufslots.h (line_number_cache): Move to struct buffer_text.
473
474         * insdel.c (buffer_insert_string_1): Propagate signals and changes
475         across the children buffers.
476         (buffer_delete_range): Ditto.
477         (buffer_replace_char): Ditto.
478         (gap_left): Ditto.
479         (gap_right): Ditto.
480
481         * insdel.c (MAP_INDIRECT_BUFFERS): New macro.
482
483         * buffer.c (Fmake_indirect_buffer): Uncomment.
484
485 1998-08-31  Hrvoje Niksic  <hniksic@srce.hr>
486
487         * macros.c (Fend_kbd_macro): Remove trailing period from error
488         message.
489         (Fexecute_kbd_macro): Ditto.
490
491 1998-08-21  Greg Klanderman  <greg@alphatech.com>
492
493         * dired.c (Fuser_name_completion): remove optional 2nd argument.
494         (Fuser_name_completion_1): new function to return uniqueness
495         indication in addition to the user name completion.
496         (user_name_completion): change type of `uniq' argument.
497
498 1998-08-19  Michael Sperber [Mr. Preprocessor]  <sperber@informatik.uni-tuebingen.de>
499
500         * lread.c (vars_of_lread): Removed `source-directory' variable.
501
502 1998-08-22  Hrvoje Niksic  <hniksic@srce.hr>
503
504         * fileio.c (Ffile_readable_p): Apply the DOS/Windows logic to
505         Cygwin.
506
507 1998-08-19  SL Baur  <steve@altair.xemacs.org>
508
509         * dired.c (vars_of_dired): Fix misapplied patch.
510
511 1998-08-16  Martin Buchholz  <martin@xemacs.org>
512
513         * fns.c (Fremrassq, remrassq_no_quit):
514         A XCAR that should have been an XCDR turned Fremrassq into Fremassq
515
516 1998-07-17  Didier Verna  <verna@inf.enst.fr>
517
518         * redisplay-x.c (x_get_gc): returns a GC with a FillStipple fill
519         style as foreground GC for faces that have the `dim' property.
520         (x_output_string): when the `dim' face property is set,
521         ensure the gray pixmap has been created, and get a proper
522         foreground GC to draw the text.
523
524 1998-08-09  Jonathan Harris  <jhar@tardis.ed.ac.uk>
525
526         * event-msw.c (mswindows_wnd_proc): Workaround for a Win95 bug:
527           Manually track the state of the left and right Ctrl and Alt
528           modifiers.
529
530 1998-08-07 Matt Stupple <matts@tibco.com>
531
532         * ntproc.c: don't wait on char_consumed at thread entry. 
533         Additionally, to get the 'process' marked as finished, ensure
534         that the CHILD_ACTIVE macro returns false, so before exiting
535         close char_avail and set it to NULL, and close other handles
536         to reduce handle leak problems.
537
538 1998-08-09  Jonathan Harris  <jhar@tardis.ed.ac.uk>
539
540         * menubar-msw.c (displayable_menu_item): take account of menu
541           depth when deciding whether to try to display accelerators.
542
543 1998-08-04  Andy Piper  <andyp@parallax.co.uk>
544
545         * event-msw.c: use MsgWaitForMultipleObjects if there are no
546         subprocesses.
547
548         * glyphs-msw.c: fix a couple of potential handle leaks.
549
550 1998-08-04  P. E. Jareth Hein  <jareth@camelot.co.jp>
551
552         * dgif_lib.c gif_io.c gifrlib.h: New files to put GIF
553           *decoding ONLY* back into the core.
554         * glyphs-eimage.c: Change referenced header file for GIF
555           reading to point to the incore version.
556
557 1998-07-20  Martin Buchholz  <martin@xemacs.org>
558
559         * casefiddle.c (casify_object): 
560         Change algorithm from O(N**2) to O(N).
561         Code cleanup.
562         Doc string cleanup.
563
564 1998-07-22  Greg Klanderman  <greg@alphatech.com>
565
566         * dired.c (file_name_completion_unwind): don't leak the cons.
567
568 1998-07-20  Greg Klanderman  <greg@alphatech.com>
569
570         * dired.c (Fuser_name_completion): new function.
571         (Fuser_name_all_completions): new function.
572         (user_name_completion): new function.
573         (syms_of_dired): 2 new DEFSUBRs.
574         (vars_of_dired): initialize user name cache vars.
575
576 1998-07-29  P. E. Jareth Hein  <jareth@camelot.co.jp>
577
578         * glyphs-eimage.c (png_instantiate): Add proper handling for background
579         colors taken from the default face.  Also correct a thinko in
580         transparency (not alpha) handling.
581
582 1998-07-23  Martin Buchholz  <martin@xemacs.org>
583
584         * s/decosf4-0.h:  Use a perfectly ordinary link.  Nuke BSD crap.
585         * unexalpha.c: ANSI C-ize.  Clean compiler warnings.
586         * lread.c (Fload_internal):  Be very careful with printfs of
587         size_t's
588         * gui-x.c (menu_name_to_accelerator): tolower wants an `int'
589         argument.
590
591 1998-07-27  Gunnar Evermann  <Gunnar.Evermann@nats.informatik.uni-hamburg.de>
592
593         * callint.c (Fcall_interactively): GCPRO prompt string before
594         passing it to Fread_key_sequence
595
596 1998-07-27  SL Baur  <steve@altair.xemacs.org>
597
598         * keymap.c (vars_of_keymap): Initialize Vkey_translation_map and
599         Vvertical_divider_map.
600
601         * mule-canna.c (vars_of_mule_canna): Initialize every symbol to
602         Qnil or 0, none were initialized prior to this change.
603
604         Rename misnamed `V' prefixed integer variables:
605         Vcanna_empty_info, Vcanna_through_info, Vcanna_underline,
606         Vcanna_inhibit_hankakukana, Vcanna_henkan_length, Vcanna_henkan_revPos,
607         Vcanna_henkan_revLen, Vcanna_ichiran_length, Vcanna_ichiran_revPos,
608         Vcanna_ichiran_revLen.
609
610         Rename misnamed `V' prefixed integer variables and initialize
611         properly in the vars_of routine.
612         Vcanna_mode_AlphaMode, Vcanna_mode_EmptyMode, Vcanna_mode_KigoMode,
613         Vcanna_mode_YomiMode, Vcanna_mode_JishuMode, Vcanna_mode_TankouhoMode,
614         Vcanna_mode_IchiranMode, Vcanna_mode_YesNoMode, Vcanna_mode_OnOffMode,
615         Vcanna_mode_AdjustBunsetsuMode, Vcanna_mode_ChikujiYomiMode,
616         Vcanna_mode_ChikujiTanMode, Vcanna_mode_HenkanMode,
617         Vcanna_mode_HenkanNyuryokuMode, Vcanna_mode_ZenHiraHenkanMode,
618         Vcanna_mode_HanHiraHenkanMode, Vcanna_mode_ZenKataHenkanMode,
619         Vcanna_mode_HanKataHenkanMode, Vcanna_mode_HanKataHenkanMode,
620         Vcanna_mode_ZenAlphaHenkanMode, Vcanna_mode_HanAlphaHenkanMode,
621         Vcanna_mode_ZenHiraKakuteiMode, Vcanna_mode_HanHiraKakuteiMode,
622         Vcanna_mode_ZenKataKakuteiMode, Vcanna_mode_HanKataKakuteiMode,
623         Vcanna_mode_ZenAlphaKakuteiMode, Vcanna_mode_HanAlphaKakuteiMode,
624         Vcanna_mode_HexMode, Vcanna_mode_BushuMode, Vcanna_mode_ExtendMode,
625         Vcanna_mode_RussianMode, Vcanna_mode_GreekMode, Vcanna_mode_LineMode,
626         Vcanna_mode_ChangingServerMode, Vcanna_mode_HenkanMethodMode,
627         Vcanna_mode_DeleteDicMode, Vcanna_mode_TourokuMode,
628         Vcanna_mode_TourokuEmptyMode, Vcanna_mode_TourokuHinshiMode,
629         Vcanna_mode_TourokuDicMode, Vcanna_mode_QuotedInsertMode,
630         Vcanna_mode_BubunMuhenkanMode, Vcanna_mode_MountDicMode,
631         Vcanna_fn_SelfInsert, Vcanna_fn_FunctionalInsert,
632         Vcanna_fn_QuotedInsert, Vcanna_fn_JapaneseMode, Vcanna_fn_AlphaMode,
633         Vcanna_fn_HenkanNyuryokuMode, Vcanna_fn_Forward, Vcanna_fn_Backward,
634         Vcanna_fn_Next, Vcanna_fn_Prev, Vcanna_fn_BeginningOfLine,
635         Vcanna_fn_EndOfLine, Vcanna_fn_DeleteNext, Vcanna_fn_DeletePrevious,
636         Vcanna_fn_KillToEndOfLine, Vcanna_fn_Henkan, Vcanna_fn_Kakutei,
637         Vcanna_fn_Extend, Vcanna_fn_Shrink, Vcanna_fn_AdjustBunsetsu,
638         Vcanna_fn_Quit, Vcanna_fn_ConvertAsHex, Vcanna_fn_ConvertAsBushu,
639         Vcanna_fn_KouhoIchiran, Vcanna_fn_BubunMuhenkan, Vcanna_fn_Zenkaku,
640         Vcanna_fn_Hankaku, Vcanna_fn_ExtendMode, Vcanna_fn_ToUpper,
641         Vcanna_fn_Capitalize, Vcanna_fn_ToLower, Vcanna_fn_Hiragana,
642         Vcanna_fn_Katakana, Vcanna_fn_Romaji, Vcanna_fn_BaseHiragana,
643         Vcanna_fn_BaseKatakana, Vcanna_fn_BaseEisu, Vcanna_fn_BaseZenkaku,
644         Vcanna_fn_BaseHankaku, Vcanna_fn_BaseKana, Vcanna_fn_BaseKakutei,
645         Vcanna_fn_BaseHenkan, Vcanna_fn_BaseHiraKataToggle,
646         Vcanna_fn_BaseZenHanToggle, Vcanna_fn_BaseKanaEisuToggle,
647         Vcanna_fn_BaseKakuteiHenkanToggle, Vcanna_fn_BaseRotateForward,
648         Vcanna_fn_BaseRotateBackward, Vcanna_fn_Touroku, Vcanna_fn_HexMode,
649         Vcanna_fn_BushuMode, Vcanna_fn_KigouMode, Vcanna_fn_Mark,
650         Vcanna_fn_TemporalMode, Vcanna_key_Nfer, Vcanna_key_Xfer,
651         Vcanna_key_Up, Vcanna_key_Left, Vcanna_key_Right, Vcanna_key_Down,
652         Vcanna_key_Insert, Vcanna_key_Rollup, Vcanna_key_Rolldown,
653         Vcanna_key_Home, Vcanna_key_Help, Vcanna_key_KP_Key,
654         Vcanna_key_Shift_Nfer, Vcanna_key_Shift_Xfer, Vcanna_key_Shift_Up,
655         Vcanna_key_Shift_Left, Vcanna_key_Shift_Right, Vcanna_key_Shift_Down,
656         Vcanna_key_Cntrl_Nfer, Vcanna_key_Cntrl_Xfer, Vcanna_key_Cntrl_Up,
657         Vcanna_key_Cntrl_Left, Vcanna_key_Cntrl_Right, Vcanna_key_Cntrl_Down
658
659 1998-07-16  Jan Vroonhof  <vroonhof@math.ethz.ch>
660
661         * event-Xt.c (x_to_emacs_keysym): Return nil for modifier keysyms.
662         (x_event_to_emacs_event): Let x_to_emacs_keysym check for modifier 
663         keys thus no longer considering all keysyms on a key.
664
665 1998-07-19  SL Baur  <steve@altair.xemacs.org>
666
667         * XEmacs 21.2-beta1 is released.
668
669 1998-07-12  Oscar Figueiredo  <Oscar.Figueiredo@di.epfl.ch>
670
671         * eldap.c (Fldap_search_internal): When converting the list of
672         attributes to search Copy the final 0 from Lisp strings to C
673         strings.
674         Check base, not Vldap_default_base as a a string
675
676 1998-07-13  Jonathan Harris  <jhar@tardis.ed.ac.uk>
677
678         * nt.c: Remove Vstdio_str; already defined in console-stream.c.
679
680         * unexnt.c: Unconditionally define bss_start and bss_size, and
681           ensure that they don't go in the .bss section.
682
683 1998-07-17  Olivier Galibert  <galibert@pobox.com>
684
685         * glyphs-x.c (convert_EImage_to_XImage):  Fix previous patch (conv
686         byte order is dependant  of  the local  byte order).
687         From Takeshi Hagiwara <hagiwara@ie.niigata-u.ac.jp>
688
689 1998-07-18  SL Baur  <steve@altair.xemacs.org>
690
691         * glyphs-msw.c (mswindows_resource_normalize): Qresource ->
692         Qmswindows_resource.
693         From Jonathan Harris <jhar@tardis.ed.ac.uk>
694
695 1998-07-12  SL Baur  <steve@altair.xemacs.org>
696
697         * general.c (syms_of_general): Add defsymbol for Qresource.
698
699         * glyphs-msw.c (vars_of_glyphs_mswindows): Rename Qresource to
700         Qmswindows_resource.
701         (TopLevel): Rename 'resource image format to 'mswindows_resource.
702         (mswindows_resource_validate): Rename.
703         (mswindows_resource_normalize): Rename.
704         (mswindows_resource_possible_dest_types): Rename.
705         (mswindows_resource_instantiate): Rename.
706         (image_instantiator_format_create_glyphs_mswindows): Replace
707         `resource' with `mswindows.resource'.
708
709         * XEmacs 21.0-pre5 is released.
710
711 1998-07-10  SL Baur  <steve@altair.xemacs.org>
712
713         * mule-wnnfns.c (Fwnn_open): Correctly trap on misdefined Wnn
714         server type in environment.
715         Use alloca-ed strings instead of tiny fixed size ones.
716
717 1998-07-09  SL Baur  <steve@altair.xemacs.org>
718
719         * XEmacs 21.0-pre4 is released.
720
721 1998-07-01  James N. Potts  <jnpotts@plutonium.net>
722
723         * fileio.c: (expand_file_name): under win32: Don't treat names
724         as UNC names if a drive letter has been specified.  If a drive
725         has been specified, strip out extra directory-seperators that
726         reportedly cause problems under Win95.
727
728 1998-07-09  Jonathan Harris  <jhar@tardis.ed.ac.uk>
729
730         * windowsnt.h: Define DUMP_SEPARATE_SECTION when building with
731           MSVC >= 5.0. Put emacs init and zero-init data in a special
732           section of the executable when this is defined.
733
734         * unexnt.c, ntheap.h:
735           Removed unused find_section() and get_section_size().
736
737         * unexnt.c:
738           Fix up the executable's checksum after dumping otherwise the
739           profiler complains.
740           When DUMP_SEPARATE_SECTION is defined, don't need to dump
741           zero-init data separately from init data. Dump emacs data
742           into a special section of the executable.
743           When DUMP_SEPARATE_SECTION not defined, dump .bss up to
744           my_ebss instead of up to the end of bss.
745
746 1998-07-09  Jonathan Harris  <jhar@tardis.ed.ac.uk>
747
748         * filelock.c: Removed Vconfigure_lock_directory - already
749           defined in emacs.c.
750
751         * frame-msw.c: Removed Qinitially_unmapped and Qpopup - already
752           defined in frame.c and general.c respectively.
753
754         * glyphs-msw.c: Removed Qresource - already defined in
755           general.c.
756
757 1998-07-05  Oscar Figueiredo  <Oscar.Figueiredo@di.epfl.ch>
758
759         * eldap.c (Fldap_search_internal): Docstring fixes
760
761 1998-07-04  Jonathan Harris  <jhar@tardis.ed.ac.uk>
762
763         * nt.c (init_environment): Removed unused PRELOAD_WINSOCK,
764           EMACSDOC and TERM variables. Added EMACSDEBUGPATHS,
765           EMACSPACKAGEPATH and INFOPATH variables.
766           Removed unused get_emacs_configuration function.
767
768         * s/windowsnt.h: Don't define EMACS_CONFIGURATION here because
769           it is now defined at build-time by the makefile.
770
771 1998-07-01  James N. Potts  <jnpotts@plutonium.net>
772
773         * fileio.c: (expand_file_name): under win32: Don't treat names as
774         UNC names if a drive letter has been specified.  If a drive has
775         been specified, strip out extra directory-seperators that
776         reportedly cause problems under Win95.
777
778 1998-07-05  Andy Piper  <andyp@parallax.co.uk>
779
780         * faces.c (complex_vars_of_faces): for the gui-element face don't
781         fallback to the default face, instead provide reasonable default
782         fallbacks that were previously hardcoded elsewhere.
783
784 1998-07-06  Olivier Galibert  <galibert@pobox.com>
785
786         * glyphs-x.c (convert_EImage_to_XImage): Fix pixel writing problem
787         when the X server endianness is different than the client's one.
788
789 1998-06-29  Kyle Jones  <kyle_jones@wonderworks.com>
790
791         * eval.c (run_hook_with_args_in_buffer): Check
792           default (non-buffer-local) value of hook for
793           nil before treating it as a function.  Don't initialize 
794           the `globals' variable twice.
795
796 1998-06-24  Jonathan Harris  <jhar@tardis.ed.ac.uk>
797
798         * fileio.c: Don't do directory seperator canonicalisation in
799           substitute-in-file-name because we don't know that the
800           filename refers to a local file.
801
802 1998-06-24  Adrian Aichner  <aichner@ecf.teradyne.com>
803
804         * process-nt.c (nt_create_process): Try appending the standard
805           executable file extensions to the filename if none supplied.
806
807 1998-06-29  SL Baur  <steve@altair.xemacs.org>
808
809         * fileio.c (Fsubstitute_in_file_name): Enable double slash notation
810         for cygwin32.
811         From Keisuke Mori <ksk@ntts.com>
812
813 1998-06-24  Andy Piper  <andyp@parallax.co.uk>
814
815         * toolbar-msw.c (mswindows_output_toolbar): only enable masked
816         images if we have masks. This handles the xbm case (have masks)
817         and avoids overuse of resources in the xpm case (generally no masks).
818         Don't output small toolbars.
819
820 1998-06-29  Kyle Jones  <kyle_jones@wonderworks.com>
821
822         * eval.c (run_hook_with_args_in_buffer): Don't treat
823           the default value of a buffer local hook as a list of
824           hooks unless it is both a cons and the car of that cons 
825           is not Qlambda.
826
827 1998-06-29  SL Baur  <steve@altair.xemacs.org>
828
829         * extents.c: Email address for Ben Wing is ben@xemacs.org.
830         * process-unix.c: Ditto.
831         * mule-coding.h: Ditto.
832         * mule-coding.c: Ditto.
833         * mule-charset.c: Ditto.
834         * mule-charset.h: Ditto.
835         * file-coding.c: Ditto.
836         * file-coding.h: Ditto.
837
838 1998-06-22  Jonathan Harris  <jhar@tardis.ed.ac.uk>
839
840         * event-msw.c: Guard against recursion when freeing
841           FRAME_MSWINDOWS_TARGET_RECT struture in WM_SIZE processing.
842
843         * frame-msw.c: Don't set WS_VISIBLE attribute on first frame.
844           Call ShowWindow twice in init_frame_3 to get round runemacs
845           weirdness.
846
847 1998-06-27  Hrvoje Niksic  <hniksic@srce.hr>
848
849         * scrollbar.c (vertical_scrollbar_changed_in_window): Ditto.
850
851         * winslots.h: Rename.
852
853         * window.c (specifier_vars_of_window): Renamed
854         vertical-divider-draggable-p to vertical-divider-always-visible-p, 
855         as suggested by Ben Wing.
856         (specifier_vars_of_window): Fix docstrings.
857
858 1998-06-22  Michael Sperber [Mr. Preprocessor]  <sperber@informatik.uni-tuebingen.de>
859
860         * unexaix.c: Line number information works correctly again.
861
862 1998-06-22  Olivier Galibert  <galibert@pobox.com>
863
864         * emacs.c (__sti__iflPNGFile_c___): Added. See comment. Cry.
865
866 1998-06-21  Martin Buchholz  <martin@xemacs.org>
867
868         * editfns.c (get_home_directory): ANSIfy.
869         XEmacs is compilable under C *and* C++.
870         It's XEmacs, not Xemacs!
871
872 1998-06-19  Jonathan Harris  <jhar@tardis.ed.ac.uk>
873
874         * console-msw.h: added a list of fonts to device data.
875
876         * device-msw.c: enumerate list of available fonts in
877           mswindows_init_device. Free list in mswindows_delete_device.
878
879         * objects-msw.c: Added helper function match_font used by
880           mswindows_initialize_font_instance and mswindows_list_fonts.
881           Allow a charset to be specified in a font string, even if
882           previous fields havn't been specified.
883
884 1998-06-23  Greg Klanderman  <greg@alphatech.com>
885
886         * indent.c (column_at_point): column cache bugfix.
887         Set last_known_column_point to the buffer position for
888         which the column was requested, not buffer's point.
889
890         * redisplay.c (decode_mode_spec): for current-column, show 
891         window's point's column, not buffer's point's column.
892
893 1998-06-23  Andy Piper  <andyp@parallax.co.uk>
894
895         * menubar-msw.c (mswindows_handle_wm_command): use
896         enqueue_misc_user event rather than
897         mswindows_enqueue_msic_user_event to fix customize problems. Add some
898         checks that X does.
899
900         * console-msw.h: declare mswindows_enqueue_magic_event.
901
902         * event-msw.c (mswindows_enqueue_magic_event): make global.
903
904 1998-06-24  Hrvoje Niksic  <hniksic@srce.hr>
905
906         * line-number.c (LINE_NUMBER_FAR): Reverted to 16384.
907         (buffer_line_number): Use EMACS_INT_MAX instead of random LOTS.
908         (add_position_to_cache): Use EMACS_INT instead of int.
909
910 1998-06-21  Olivier Galibert  <galibert@pobox.com>
911
912         * lisp-disunion.h (XMARKBIT): Have XMARKBIT return something
913         suitable for an int used as a boolean (btw, C sucks.).
914
915 1998-06-18  Andy Piper  <andyp@parallax.co.uk>
916
917         * object-msw.c: remove warnings.
918
919         * device-msw.c: #define wrongly named cygwin structure elements.
920
921         * s/cygwin32.h: define DEMI_BOLD
922
923 1998-06-19  Jonathan Harris  <jhar@tardis.ed.ac.uk>
924
925         * redisplay-msw.c: new function mswindows_apply_face_effects.
926           This is called by output_string and output_cursor to display
927           underline and strikeout on faces.
928
929 1998-06-19  Jonathan Harris  <jhar@tardis.ed.ac.uk>
930
931         * console-msw.h: added a list of fonts to device data.
932
933         * device-msw.c: enumerate list of available fonts in
934           mswindows_init_device. Free list in mswindows_delete_device.
935
936         * objects-msw.c: Added helper function match_font used by
937           mswindows_initialize_font_instance and mswindows_list_fonts.
938           Allow a charset to be specified in a font string, even if
939           previous fields havn't been specified.
940
941 1998-06-15  Jonathan Harris  <jhar@tardis.ed.ac.uk>
942
943         * objects-msw.c:
944           Removed compilation warnings from mswindows_string_to_color.
945           mswindows_list_fonts returns a more general bogus font.
946           New lisp-visible function mswindows-color-list.
947
948 1998-06-19  David Bush <david.bush@adn.alcatel.com>
949
950         * editfns.c (Fuser_login_name): Modify to user new function
951         user_login_name.
952         (user_login_name): C only function to avoid Lisp object overhead
953         Returns "unknown" instead of nil in Cygwin environment
954
955         * fileio.c (Fexpand_file_name): Treat "~" and "~user" as
956         equivalent for current user in Cygwin environment. Use new
957         function user_login_name to get username.
958
959         * lisp.h: Declare user_login_name
960
961 1998-06-18  Michael Sperber [Mr. Preprocessor]  <sperber@informatik.uni-tuebingen.de>
962
963         * unexaix.c (make_hdr): Fixed bias computations so debugging info
964         works again.
965         Some other insignificant nitpicks.
966
967 1998-06-18  Andy Piper  <andyp@parallax.co.uk>
968
969         * toolbar-msw.c (mswindows_output_toolbar): specify ILC_MASK when
970         creating the image list and make sure he bk color is transparent.
971
972 1998-06-18  Jan Vroonhof  <vroonhof@math.ethz.ch>
973
974         * event-Xt.c (emacs_Xt_remove_timeout): Also remove timeout from
975         completed_timeouts. The timer could have expired.
976
977 1998-06-17  Andy Piper  <andyp@parallax.co.uk>
978
979         * console-msw.h: move XEMACS_RECT_WH inside frame
980         parameters. define macors to access it.
981
982         * frame-msw.c (mswindows_init_frame_1): use new target_rect
983         parameter to intialise desired sizing. (mswindows_init_frame_2):
984         enable and size the frame to something sensible when we get
985         here. (mswindows_set_frame_properites): use new
986         mswindows_size_frame_internal function and size frame if frame
987         parameters not just if init is finished - WM_SIZE happens too
988         early for some specs. (mswindows_size_frame_internal): new
989         function abstracted from mswindows_set_frame_properties. 
990         (Vmswindows_use_system_frame_size_defaults):
991         new variable controls whether to allow the system to pick frame
992         size defaults, defaults to nil.
993
994         * event-msw.c: in WM_SIZE use mswindows_size_frame_internal rather
995         than duplicated code.
996
997 1998-06-15  Colin Rafferty <colin@xemacs.org>
998
999         * Makefile.in.in: Made EXTW_LINK expand properly.
1000
1001 1998-06-12  Martin Buchholz  <martin@xemacs.org>
1002
1003         * redisplay.c (vars_of_redisplay): default value of
1004         column-number-start-at-one should be NIL!
1005
1006 1998-06-11  Martin Buchholz  <martin@xemacs.org>
1007
1008         * casefiddle.c:
1009         (upcase-initials "fooBar") ==> "FooBar" instead of "Foobar"
1010
1011 1998-06-05  Hrvoje Niksic  <hniksic@srce.hr>
1012
1013         * eldap.c (Fldap_search_internal): Use build_ext_string instead of 
1014         build_string to avoid crashes under Mule.
1015
1016 1998-06-13  Andy Piper  <andyp@parallax.co.uk>
1017
1018         * ntplay.c (play_sound_data_1): don't delete the sound data until
1019         the next sound is played and the previous one finished.
1020
1021 1998-06-10  Samuel Mikes  <smikes@alumni.hmc.edu>
1022
1023         * fileio.c (directory-sep-char): Escape backslashes.
1024
1025 1998-06-10  Hrvoje Niksic  <hniksic@srce.hr>
1026
1027         * event-stream.c: Fix docstring reference.
1028
1029 1998-06-12  Hrvoje Niksic  <hniksic@srce.hr>
1030
1031         * alloc.c (make_float): Remove useless initialization of `next'
1032         field.
1033         (make_pure_float): Ditto.
1034
1035         * lisp.h (struct Lisp_Float): Rename `next' to `__unused__next'.
1036
1037 1998-06-08  Kirill M. Katsnelson  <kkm@kis.ru>
1038
1039         * fileio.c (Fmake_directory_internal): Remove conditionals
1040         on WINDOWSNT when calling mkdir.
1041
1042         * ntproc.c: Deleted the following unused functions:
1043         register_child, reap_subprocess, sys_wait.
1044
1045         * nt.c (sys_rename): Ifzeroed this implementation.
1046         Deleted the following unused functions:
1047         sys_access, sys_chdir, sys_chmod, sys_creat, sys_link, sys_mkdir,
1048         sys_mktemp, sys_rmdir, sys_unlink, sys_close, sys_dup, sys_dup2,
1049         sys_read, sys_write.
1050         Merger sys_fopen and sys_open with sysdep.c implementation.
1051
1052         * sysdep.c: Removed MS-DOS code.
1053         (sys_rename): Deal with Microsoft rename weirdness.
1054         (sys_open): Implemented for Windows.
1055         (sys_fopen): Ditto.
1056         (sys_mkdir): Ditto.
1057
1058 1998-06-08  Kirill M. Katsnelson  <kkm@kis.ru>
1059
1060         * buffer.c (complex_vars_of_buffer): Removed %t description from
1061         the docstring.
1062
1063 1998-06-04  Rick Rankin  <Rick_Rankin-P15254@email.mot.com>
1064
1065         * scrollbar-msw.c: initialize the cbSize element of the
1066         SCROLLINFO struct before calling SetScrollInfo. WinNT seems
1067         to ignore the value of cbSize, but Win95 (and I presume Win98)
1068         appear to want it set to sizeof(SCROLLINFO).
1069
1070 1998-06-04  Kirill M. Katsnelson  <kkm@kis.ru>
1071
1072         * event-stream.c: Defined Qcancel_mode_internal.
1073         (syms_of_event_stream): defsymbol'ed it.
1074
1075         * events.h: Externed it.
1076
1077         * event-msw.c (mswindows_wnd_proc, WM_CANCELMODE): Added this handler.
1078
1079 1998-06-04  Oliver Graf <ograf@fga.de>
1080
1081         * frame-x.c (x_cde_destroy_callback): free the data
1082         (cde-start-drag-internal) corrected root position, 21.1 needs this
1083         hardcoded in Button events
1084         (offix-start-drag-internal) corrected root position
1085
1086 1998-06-03  Kirill M. Katsnelson  <kkm@kis.ru>
1087
1088         * process-nt.c (signal_cannot_launch): Use signal_simple_error()
1089         instead of error().
1090
1091 1998-06-03  Kirill M. Katsnelson  <kkm@kis.ru>
1092
1093         * dialog-msw.c (button_width): Removed `inline' from the function
1094         declaration.
1095
1096 1998-06-03  Rick Rankin  <Rick_Rankin-P15254@email.mot.com>
1097
1098         * frame-msw.c: add WS_VISIBLE flag to the first frame created.
1099         Note that adding this flag to subsequent frames causes problems.
1100
1101 1998-06-03  Gunnar Evermann  <Gunnar.Evermann@nats.informatik.uni-hamburg.de>
1102
1103         * glyphs-eimage.c (png_instantiate) move 'struct
1104         png_memory_storage tbr' out of nested block to avoid dangling
1105         reference
1106
1107 1998-06-02  Andy Piper  <andyp@parallax.co.uk>
1108
1109         * faces.h:
1110         * faces.c: rename 3d-object -> gui-element. add toolbar face which
1111         inherits from gui-element.
1112
1113         * glyphs-msw.c: use DIBitmaps for xbm bitmaps to be consistent
1114         with existing code, generate masks correctly.
1115
1116 1998-06-03  P. E. Jareth Hein  <jareth@camelot-soft.com>
1117
1118         * glyphs-eimage.c: Changed included header for gifs to use
1119         Gifreader instead of giflib.
1120
1121         * glyphs-x.c: removed the image-related functions that were
1122         moved into glyphs-eimage.
1123
1124 1998-06-02  David Bush  <david.bush@adnb.alcatel.com>
1125
1126         * glyphs.c (bitmap_to_lisp_data) Define XFree to be free
1127         if built without X Windows support.
1128
1129 1998-06-02  Hrvoje Niksic  <hniksic@srce.hr>
1130
1131         * fns.c (Fconcat): Synch docstring with new reality.
1132
1133 1998-06-03  SL Baur  <steve@altair.xemacs.org>
1134
1135         * frame.c: Remove reference to msdos.h (which is going away).
1136         Suggested by Hrvoje Niksic and Kirill Katsnelson.
1137
1138 1998-06-02  P. E. Jareth Hein  <jareth@camelot-soft.com>
1139
1140         * glyphs-eimage.c (jpeg_instantiate): Fix handling of
1141         grayscale images/
1142
1143
1144 1998-05-30  Kirill M. Katsnelson  <kkm@kis.ru>
1145
1146         * events.h: Fixed commentary about misc-user scrollbar events.
1147
1148         * scrollbar-x.c (x_update_vertical_scrollbar_callback): Use frame
1149         object as an event channel, instead of window object.
1150         (x_update_horizontal_scrollbar_callback): Ditto.
1151
1152 1998-05-29  Andy Piper  <andyp@parallax.co.uk>
1153
1154         * ntplay.c (play_sound_data_1) new function. convert alloca data
1155         to malloc if necessary.
1156         (play_sound_file): if the file is not in our path then convert to
1157         data and play.
1158
1159 1998-06-01  SL Baur  <steve@altair.xemacs.org>
1160
1161         * mule-mcpath.c (mc_chdir): Reverse parameters in call to memcpy.
1162         * msdos.c (Frecent_doskeys): Ditto.
1163
1164         * unexalpha.c (unexec): Reverse parameters in call to memcpy.
1165         Suggested by Reggie Perry <perry@zso.dec.com>
1166
1167         * buffer.h: Eliminate size in declaration.
1168
1169 1998-06-01  Olivier Galibert  <galibert@pobox.com>
1170
1171         * unexelfsgi.c (unexec): Cleanup n/nn and remove useless kludge.
1172
1173 1998-06-01  Kirill M. Katsnelson  <kkm@kis.ru>
1174
1175         * gui.c (gui_item_init): Changed the default value for config member
1176         from Qunbound to Qnil.
1177
1178 1998-06-01  Greg Klanderman  <greg@alphatech.com>
1179
1180         * indent.c (vmotion_pixels): Don't #define abs().
1181
1182 1998-05-30  Kirill M. Katsnelson  <kkm@kis.ru>
1183
1184         * s/windowsnt.h: Defined popen and pclose to be _popen and _pclose
1185         respectively.
1186
1187 1998-05-30  Andy Piper  <andyp@parallax.co.uk>
1188
1189         * glyphs.h: add xbm declarations.
1190
1191         * console.h: add xbm_instantiate_method device method.
1192
1193         * glyphs.c (check_valid_xbm_inline) (xbm_validate)
1194         (bitmap_to_lisp_data) (xbm_mask_file_munging) (xbm_normalize)
1195         (xbm_possible_dest_types): moved here from glyphs-x.c. use
1196         locate_pixmap_file device method and read_bitmap_data_from_file
1197         instead of XmuReadBitmapDataFromFile.
1198         (xbm_instatntiate): make a device method.
1199
1200         * glyphs-x.c: see glyphs.c changes. (read_bitmap_data_from_file)
1201         new function that just calls XmuReadBitmapDataFromFile.
1202         (x_xbm_instatntiate): device method from xbm_instantiate.
1203
1204         * glyphs-msw.c (read_bitmap_data) (NextInt)
1205         (read_bitmap_data_from_file): new functions copied from Xmu
1206         sources. 
1207         (xbm_create_bitmap_from_data) from Ben <ben@666.com> convert
1208         inline data to an mswindows bitmap.
1209         (init_image_instance_from_xbm_inline) (xbm_instantiate_1)
1210         (mswindows_xbm_instantiate): mswindows-ized versions of the X
1211         functions.
1212
1213 1998-05-30  Kirill M. Katsnelson  <kkm@kis.ru>
1214
1215         * window.c (specifier_vars_of_window): Renamed `has_modeline-p' to
1216         `modeline-visible-p'.
1217         Declared specifier lisp variables at the beginning oh the file
1218         as static.
1219
1220         * procimpl.h (struct process_methods): Changed semantics of
1221         create_process method so it accepts lisp strings instead of
1222         char pointers.
1223
1224         * process.c (Fstart_process_internal): Moved building of
1225         unix style argv from here to process-unix.c, ...
1226
1227         * process-unix.c (unix_create_process): ... right here.
1228
1229         * process-nt.c (nt_create_process): Changed this function to
1230         support new semantics, so avoided a GC problem.
1231
1232         * events.c (Fmake_event): Document misc-user events properties.
1233         (Fmake_event): Do not allow arbitrary objects for channel property
1234         of misc-user events.
1235         (Fmake_event): Change misc-user event validation: it is function
1236         which is required, not button.
1237
1238         * event-msw.c (mswindows_user_event_p): Recognize misc user events as
1239         user events.
1240         (mswindows_enqueue_misc_user_event): Added function.
1241         (mswindows_bump_queue): Removed function.
1242         (mswindows_enqueue_magic_event): Support NULL HWND parameter.
1243         (mswindows_wnd_proc, WM_CLOSE): Use mswindows_enqueue_misc_user_event().
1244         (mswindows_wnd_proc, WM_EXITSIZEMOVE): Ditto.
1245         (emacs_mswindows_handle_magic_event): Handle XM_BUMPQUEUE, by doing
1246         really nothing, which is my personal favorite thing.
1247
1248         * console-msw.h: Removed prototype for mswindows_bump_queue().
1249         Added prototype for mswindows_enqueue_misc_user_event().
1250
1251         * menubar-msw.c (mswindows_handle_wm_command): Use
1252         mswindows_enqueue_misc_user_event(). 
1253
1254         * toolbar-msw.c (mswindows_handle_toolbar_wm_command): Ditto.
1255
1256         * dialog-msw.c (dialog_proc): Ditto.
1257
1258         * scrollbar-msw.c (mswindows_handle_scrollbar_event): Ditto.
1259          (mswindows_handle_scrollbar_event): Use frame, not window, for misc
1260         user events channel.
1261
1262 1998-05-29  Greg Klanderman  <greg@alphatech.com>
1263
1264         * window.c (Fwindow_displayed_text_pixel_height): was relying on
1265         incorrect semantics of vmotion_pixels which has been fixed.  don't 
1266         use it anymore as it can't easily be used.
1267
1268         * indent.c (vmotion_pixels): fix off by one bug moving up.  also
1269         the motion was reported incorrectly if you tried to go past end of 
1270         buffer.
1271
1272 1998-05-30  Kirill M. Katsnelson  <kkm@kis.ru>
1273
1274         * toolbar.h: Removed misleading commentary, as Martin suggested.
1275
1276 1998-05-30  Kirill M. Katsnelson  <kkm@kis.ru>
1277
1278         * lisp.h: Extern Qactivate_menubar_hook.
1279
1280         * menubar-msw.c (unsafe_handle_wm_initmenu_1): Pass correct value to
1281         run_hook ().
1282
1283 1998-05-29  Andy Piper  <andyp@parallax.co.uk>
1284
1285         * glyphs-msw.c: use BPLINE macro.
1286
1287         * select-msw.c (mswindows-selection-exists-p)
1288         (mswindows-delete-selection): doc string fixes.
1289
1290         * toolbar-msw.c (mswindows_output_toolbar): make disabled buttons
1291         unpressable. warning elimination.
1292
1293 1998-05-28  Martin Buchholz  <martin@xemacs.org>
1294
1295         * alloc.c (dbg_constants): 
1296         * dbxrc:
1297         * gdbinit:
1298         Remove toolbar_data debugging code, since that lrecord has
1299         also been removed. 
1300
1301 Wed May 27, 1998  Darryl Okahata  <darrylo@sr.hp.com>
1302
1303         * alloc.c: zap cached value of (user-home-directory), so that
1304           it's not undumped.
1305
1306         * buffer.c: From init_buffer(), separated out code that
1307           determined the initial directory for the *scratch* buffer, and
1308           put them into a function called "init_initial_directory()".
1309           The initial directory is now available as a global "char *"
1310           called initial_directory.
1311
1312         * buffer.h: Added extern entries for initial_directory[] and
1313           init_initial_directory().
1314
1315         * editfns.c: added new elisp function "user-home-directory",
1316         which basically returns getenv("HOME"), but attempts to use
1317         other values if $HOME isn't set.This may have to be tweaked in
1318         the future as, under Unix, "/" is used if $HOME isn't set (this
1319         probably should be set to the current directory).  To support
1320         this, a new C function, "get_home_directory()", now exists,
1321         which returns the "home directory", as a "char *" string.
1322
1323         * emacs.c: Rearrange NT initialization order so that
1324         environment/registry variables will be properly entered into
1325         Vprocess_enviroment.
1326
1327         * fileio.c: replaced egetenv("HOME") with calls to the new
1328           get_home_directory().
1329
1330         * lisp.h: Added function prototypes for uncache_home_directory() 
1331           and get_home_directory(), along with lisp prototypes for
1332           Fuser_home_directory() and friends.
1333
1334         * nt.c: replaced getenv("HOME") with calls to the new
1335           get_home_directory().
1336
1337         * sysfile.h: for WINDOWSNT, #include <direct.h>, to suppress
1338           warnings about getcwd(), etc. not having prototypes.
1339
1340 1998-05-28  Kirill M. Katsnelson  <kkm@kis.ru>
1341
1342         * process-nt.c (send_signal): Emulate SIGHUP.
1343         (validate_signal_number): Ditto.
1344
1345         * event-msw.c (mswindows_wnd_proc, WM_KEYDOWN): Unconditionally
1346         remove MOD_SHIFT from ASCII characters.
1347         (mswindows_wnd_proc, WM_KEYDOWN): Do not activate the menubar when 
1348         F10 is pressed.
1349
1350 1998-05-24  Oliver Graf <ograf@fga.de>
1351
1352         * frame-x.c (cde-start-drag-internal): added filename and multi-
1353         data transfers
1354         (x_cde_convert_callback) dito
1355
1356 1998-05-26  Oliver Graf <ograf@fga.de>
1357
1358         * frame-x.c: include event-mod.h also with CDE
1359         (x_cde_convert_callback) made the thing working
1360         (cde-start-drag-internal) also debugging
1361
1362 1998-05-25  Hans Guenter Weigand  <hgweigand@wiesbaden.netsurf.de>
1363
1364         * m/sparc.h:
1365         * getloadavg.c:
1366         * malloc.c:
1367         * unexec.c:
1368         * mem-limits.h:
1369           - add __OpenBSD__ where __NetBSD__ was found.
1370           - TODO: replace platform-specific conditional compilation by
1371             feature tests in configure.in.
1372
1373 1998-05-15  Greg Klanderman  <greg@alphatech.com>
1374
1375         * window.c (Fwindow_displayed_text_pixel_height): New function.
1376         (syms_of_window): DEFSUBR it.
1377
1378         * indent.c (Fvertical_motion_pixels): New function - request
1379         movement in pixels.
1380         (vmotion_pixels): helper.
1381         (syms_of_indent): DEFSUBR.
1382         * lisp.h: declaration for vmotion_pixels().
1383
1384         * indent.c (Fvertical_motion): Add optional third argument PIXELS, 
1385         to request returning motion in pixels.
1386         (Fvertical_motion_pixels): Remove, functionality merged into
1387         Fvertical_motion. 
1388         * window.c (window_scroll): call Fvertical_motion with 3 arguments.
1389         (Fmove_to_window_line): ditto.
1390         * lisp.h: Change declaration for Fvertical_motion.
1391
1392         * window.c: rename window-text-pixel-{height,width,edges} to
1393         window-text-area-pixel-*.
1394
1395 1998-05-26  Gunnar Evermann  <Gunnar.Evermann@nats.informatik.uni-hamburg.de>
1396
1397         * tooltalk.c (vars_of_tooltalk) added staticpro for
1398         Tooltalk_Message_plist_str and Tooltalk_Pattern_plist_str
1399
1400 1998-05-27  Andy Piper  <andyp@parallax.co.uk>
1401                 
1402         * faces.c: create a new 3d_object_face, make modeline and
1403         vertical_divider faces fallback to this rather than the default.
1404
1405 1998-05-21  Andy Piper  <andyp@parallax.co.uk>
1406
1407         * s/cygwin32.h: define charsets for cygwin.
1408
1409 1998-05-25  Andy Piper  <andyp@parallax.co.uk>
1410
1411         * toolbar-msw.c (mswindows_output_toolbar): fix up button sizes
1412         and coordinates. resize bitmaps if we have already settled on a
1413         different size.
1414
1415         * glyphs-msw.c (xpm_to_eimage): add ';' for mswindows compiler.
1416
1417 1998-05-25  Hrvoje Niksic  <hniksic@srce.hr>
1418
1419         * toolbar-msw.c (mswindows_handle_toolbar_wm_command): Ditto.
1420
1421         * menubar-msw.c (mswindows_handle_wm_command): Ditto.
1422
1423         * gui.h: Ditto.
1424
1425         * gui-x.c (popup_selection_callback): Ditto.
1426
1427         * dialog-msw.c (dialog_proc): get_callback -> get_gui_callback.
1428
1429         * gui.c (get_callback): Renamed to get_gui_callback.
1430
1431 1998-05-17  Martin Buchholz  <martin@xemacs.org>
1432
1433         * glyphs.h: order rearrangement.
1434
1435         * device-tty.c (tty_asynch_device_change): Warning suppression.
1436         * device-x.c (x_device_system_metrics): Warning suppression.
1437         Make Doc strings consistent with coding standards.
1438
1439 1998-05-24  Martin Buchholz  <martin@xemacs.org>
1440
1441         * general.c: multiple definition of `Qicon'.  general.c seems
1442           like a good home for Qicon.
1443
1444 1998-05-20  Kirill M. Katsnelson  <kkm@kis.ru>
1445
1446         * This patch is to fix compilation warnings under Windows.
1447
1448         * s/windowsnt.h: Encapsulate getpid with sys_getpid.
1449         Added prototypes for FSF inherited functions, with which XEmacs is 
1450         sprinkled thoroughly.
1451         Removed some #if 0 code. Bracketed some more definitions, probably 
1452         related to Visual C versions prior to 4 (we do not support them).
1453
1454         * sysfloat.h (logb): Finally, get logb() prototyped.
1455
1456         * sysfile.h: Added Windows specific includes.
1457         Removed old Windows specific code bracketed with #if 0.
1458
1459         * sysdep.h: Added prototype for xrealpath().
1460
1461         * sysdep.c (sys_getpid): Added function, to support '95 negative pids.
1462
1463         * symsinit.h: Added prototypes for syms_of_dired_mswindows,
1464         vars_of_dired_mswindows and init_ntproc (Grrr).
1465
1466         * realpath.c: Added Windows specific include files.
1467         (xrealpath): Conditionalized declaration of some auto variables on 
1468         S_IFLNK, to avoid warnings.
1469
1470         * ntproc.c: Disabled some compiler warnings. This file is going to 
1471         die, so I have not cleaned it up much.
1472         (set_process_dir): Const parameter.
1473         (Fwin32_short_file_name): Down CHECK_* macros to one argument.
1474         (Fwin32_long_file_name): Ditto.
1475         (Fwin32_set_process_priority): Ditto. Why didn't I remove these
1476         three functions?
1477
1478         * nt.h: Added prototypes for set_process_dir and convert_time.
1479
1480         * nt.c: More include files.
1481         (getpwnam): Consted char* argument.
1482         (get_emacs_configuration): Const return value.
1483         (opendir): Const argument.
1484         (stat): Casted converstion long->short.
1485         (stat): Removed ad hoc and questionable support for non-MSC compile.
1486         (sys_pipe): Removed unused auto variable.
1487         (_sys_read_ahead): Removed calls to DebPrint.
1488         (sys_read): Ditto, in 2 places.
1489         (term_ntproc): Added unused int parameter to signal handler, to
1490         avoid a warning when compiling a call to signal().
1491         (msw_sigset): Properly return old signandler or NULL instead of void.
1492
1493         * floatfns.c (Flogb): Casted arguments to unary minus to signed.
1494
1495         * gmalloc.c (morecore): Ditto.
1496         (_free_internal): Ditto.
1497
1498         * lread.c (parse_integer): Ditto.
1499
1500         * dired-msw.c: Added several include files.
1501
1502         * cmdloop.c (Fcommand_loop_1): Added Microsoft C to the Big List
1503         of Compilers to Shut Up.
1504
1505         * callproc.c: Added #includes to suppress warnings under Windows.
1506         (init_callproc): Removed #if0'ed code and unused variables.
1507
1508 1998-05-25  Andy Piper  <andyp@parallax.co.uk>
1509
1510         * device-msw.c (mswindows_device_system_metrics): do planes in a
1511         way consistent with X.
1512
1513         * glyphs-msw.c (mswindows_initialize_image_instance_mask): don't
1514         use SetPixel, use DIBits functions.
1515         (xpm_to_eimage): frob colors more closely like xpm deos.
1516
1517         * toolbar-msw.c: only resize bitmaps when shrinking. Adjust look
1518         to be closer to X version.
1519
1520         * event-msw.c: use tooltip string directly.
1521
1522         * redisplay-msw.c: reinstate Kirill's bg pixmap change.
1523
1524         * objects-msw.c: frob rgb colors that only Kyle uses.
1525
1526         * dialog-msw.c (button_width): INLINE -> inline.
1527
1528 1998-05-23  SL Baur  <steve@altair.xemacs.org>
1529
1530         * getloadavg.c (getloadavg): Fix typo.
1531
1532 1998-05-23  Kirill M. Katsnelson  <kkm@kis.ru>
1533
1534         * objects-msw.c (mswindows_initialize_font_instance): Added support
1535         for font character sets.
1536         Replaced 'XXX' with '####' in comments throughout the file.
1537
1538 1998-05-23  Kirill M. Katsnelson  <kkm@kis.ru>
1539
1540         * emacs.c (main_1): Added calls to vars_of_dialog_mswindows() and
1541         console_type_create_dialog_mswindows(), to initialize Windows dialog
1542         support.
1543
1544         * symsinit.h: Prototyped the above functions.
1545
1546         * dialog-x.c (x_popup_dialog_box): Moved dialog descriptor consistency 
1547         checks to dialog.c...
1548
1549         * dialog.c (Fpopup_dialog_box): ...right here. Added more checks: a
1550         device must support dialog boxes, and the descriptor must supply at
1551         least one button.
1552
1553         * dialog-msw.c: New file, dialogs for Windows.
1554
1555 1998-05-21  Oscar Figueiredo  <Oscar.Figueiredo@di.epfl.ch>
1556
1557         * eldap.c (ldap_search_unwind): Return Qnil instead of nothing
1558         (Fldap_search_internal): Removed unused variable `err'
1559
1560         * eldap.h: Moved Lisp_LDAP declaration here instead of using a
1561         forward declaration
1562
1563 1998-05-17  Martin Buchholz  <martin@xemacs.org>
1564
1565         * eldap.h: eldap.[ch] should never be used unless HAVE_LDAP is
1566         defined.  Therefore there is no need to handle the case when
1567         HAVE_LDAP is undefined.  Similarily, there is no reason to have
1568         any code wrapped within `#ifdef emacs', since this code is only
1569         useful within an emacs.  This simplifies the code significantly.
1570
1571         * inline.c: Include eldap.h only if HAVE_LDAP.
1572         * inline.c: Don't bother including TT_C_H_PATH, since tooltalk.h
1573         already does that.
1574
1575 1998-05-21  Kirill M. Katsnelson  <kkm@kis.ru>
1576
1577         * unexnt.c (copy_executable_and_dump_data_section): Suppress
1578         printing dump stats when building without DEBUG_XEMACS.
1579         (dump_bss_and_heap): Ditto.
1580
1581 1998-05-21  Andy Piper  <andyp@parallax.co.uk>
1582
1583         * gnuclient.c: don't suppress window system if there is no display
1584         and we are running under mswindows. send 'mswindows device type if
1585         we are in this situation.
1586
1587 1998-05-20  Andy Piper  <andyp@parallax.co.uk>
1588
1589         * general.c:
1590         * lisp.h: Qbitmap, Qcursor, Qicon moved here from glyphs-msw.c.
1591
1592         * glyphs-msw.c: change cursor imgae type name to resource. Fix
1593         some nits.
1594
1595 1998-05-20  Kirill M. Katsnelson  <kkm@kis.ru>
1596
1597         * EmacsFrame.c (Xt_StringToScrollBarPlacement):  Added support for
1598         {top,bottom}-{left,right} values in addition to
1599         {top,bottom}_{left,right}. 
1600
1601 1998-05-18  Hrvoje Niksic  <hniksic@srce.hr>
1602
1603         * fileio.c (Fmake_temp_name): Remove unreached code.
1604
1605         * process-nt.c (validate_signal_number): Use
1606         signal_simple_error().
1607
1608 1998-05-19  Martin Buchholz  <martin@xemacs.org>
1609
1610         * unexhp9k800.c: 
1611         * sound.c (vars_of_sound): 
1612         * sysdep.c (reset_sigio_on_device): 
1613         * window.c (window_bottom_gutter_height): 
1614         unexhp9k800.c:258: warning: implicit declaration of function
1615         `calculate_checksum'
1616         sound.c:604: warning: implicit declaration of function `vars_of_hpplay'
1617         sysdep.c:1012: warning: unused variable `owner'
1618         window.c:993: warning: `window_right_toolbar_width' defined but not used
1619
1620 1998-05-19  Andy Piper  <andyp@parallax.co.uk>
1621
1622         * glyphs-msw.c (mswindows_create_resized_mask)
1623         (mswindows_create_resized_bitmap): new funnctions split out from
1624         mswindows_resize_dibitmap_instance.
1625
1626         * glyphs-msw.h: declare new resize functions.
1627
1628         * toolbar-msw.c (mswindows_output_toolbar): use new bitmap resize
1629         functions so that the original bitmaps are preserved.
1630
1631         * sheap.c: fixup static heap exhausted error to avoid FAQs.
1632
1633         * redisplay-msw.c (mswindows_output_blank): fixup brush from bg
1634         color if we are trying to output 0 depth bg pixmap.
1635
1636         * scrollbar-msw.c: warning elimination.
1637
1638 1998-05-18  Martin Buchholz  <martin@xemacs.org>
1639
1640         * frame-x.c (x_update_frame_external_traits): Start preprocessor
1641         directives in column 1.
1642
1643         * search.c (skip_chars): Avoid using xzero with arrays, since some 
1644         compilers get confused by the construct &array.
1645
1646 1998-05-18  Kirill M. Katsnelson  <kkm@kis.ru>
1647
1648         * objects-msw.h:
1649         * objects-msw.c: Changed the charset value for a new font from
1650         "don't care" to "ansi".
1651
1652         * glyphs-msw.c (convert_EImage_to_DIBitmap): Warnings fix.
1653
1654 1998-05-18  Kirill M. Katsnelson  <kkm@kis.ru>
1655
1656         * event-msw.c (mswindows_wnd_proc, WM_KEYDOWN): Do not clear shift
1657         modifier on control chars.
1658         Use IsCharAlpha() instead of isaplha().
1659
1660 1998-05-19  Kazuyuki IENAGA <ienaga@jsys.co.jp>
1661
1662         * s/freebsd.h: FreeBSD 2.2.6 now supports setlocale(LC_ALL, "").
1663
1664 1998-05-18  Kirill M. Katsnelson  <kkm@kis.ru>
1665
1666         * objects-msw.c (mswindows_initialize_font_instance): Use ANSI
1667         charset when creating font. 
1668         (mswindows_initialize_color_instance): Do not create brush along
1669         with a color.
1670         (mswindows_finalize_color_instance): Do not delete it then.
1671
1672         * objects-msw.h (struct mswindows_color_instance_data): Removed
1673         brush slot, and corresponding accessor macro.
1674
1675 1998-05-18  Kirill M. Katsnelson  <kkm@kis.ru>
1676
1677         * toolbar.c: Removed toolbar_data lrecord implementation.
1678         (mark_frame_toolbar_buttons_dirty): Replase usage of toolbar_data
1679         with toolbar_buttons (via FRAME_TOOLBAR_BUTTONS).
1680         (compute_frame_toolbar_buttons): Ditto.
1681         (CHECK_TOOLBAR): Ditto.
1682         (set_frame_toolbar): Removed allocation of toolbar_data lrecord.
1683         (update_frame_toolbars): Do not check for changed buffer
1684         here. Toolbar information is provided by cached specs in
1685         windows. The check for buffer is eliminated becuase toolbars are
1686         marked changed in set_frame_selected_window() in frame.c
1687         Added check for changed toolbars geometry.
1688         (compute_frame_toolbars_data): Removed unused second parameter;
1689         Adjusted callers of this static function throughout the file.
1690         (init_frame_toolbars): Initialize current_toolbar_size.
1691         (update_frame_toolbars): Use DEVICE_SUPPORTS_TOOLBARS_P instead of 
1692         what is its current expansion, for clarity.
1693         (init_frame_toolbars): Ditto.
1694         (init_device_toolbars): Ditto.
1695         (init_global_toolbars): Ditto.
1696
1697         * toolbar.h: Removed definition of toolbar_data lrecord.
1698         Added accessor macros FRAME_TOOLBAR_BUTTONS and
1699         FRAME_CURRENT_TOOLBAR_SIZE.
1700         Added macro DEVICE_SUPPORTS_TOOLBARS_P.
1701
1702         * toolbar-x.c (x_output_toolbar): The same change as in
1703         toolbar-msw.c
1704         (x_output_toolbar): Ditto.
1705         (x_redraw_exposed_toolbar): Ditto.
1706
1707         * toolbar-msw.c (mswindows_output_toolbar): Retrieve current
1708         buttons from toolbar_buttons using FRAME_TOOLBAR_BUTTONS macro.
1709         (mswindows_output_toolbar): Ditto.
1710         (mswindows_output_toolbar): Ditto.
1711
1712         * frame.c (mark_frame): Removed marking of arrays, according to
1713         frameslots.h change.
1714         (nuke_all_frame_slots): Ditto.
1715         (set_frame_selected_window): Mark toolbars changed when
1716         last_nonminibuf_window changes.
1717
1718         * frame.h (struct frame): Moved some slots to frameslots.h.
1719         Added current_toolbar_size array.
1720         Changed references from toolbar_data to toolbar_buttons in macros
1721         FRAME_RAW_THEORETICAL_TOOLBAR_VISIBLE,
1722         FRAME_RAW_THEORETICAL_TOOLBAR_SIZE and
1723         FRAME_RAW_THEORETICAL_TOOLBAR_BORDER_WIDTH.
1724
1725         * frameslots.h: Added macro MARKED_SLOT_ARRAY a la winslots.h
1726         Moved arrays of lisp objects here from frame.h: toolbar_size,
1727         toolbar_visible_p, toolbar_border_width.
1728         Removed toolbar_data slot and added toolbar_buttons.
1729
1730 1998-05-17  Kirill M. Katsnelson  <kkm@kis.ru>
1731
1732         * symsinit.h: Externed syms_of_process_nt()
1733
1734         * emacs.c (main_1): Call syms_of_process_nt()
1735
1736         * process-nt.c: Quote process arguments by a call to Lisp function 
1737         `nt-quote-process-args'.
1738         (syms_of_process_nt): New function.
1739         (nt_send_process): Flush data stream after each write, to avoid
1740         leaving buffered data.
1741         (nt_send_process): When blocked on process output, wait for
1742         process to slurp more for progressively increasing time intervals.
1743
1744 1998-05-17  Martin Buchholz  <martin@xemacs.org>
1745
1746         * window.c (have_undivided_common_edge): Make file-local function
1747         static.
1748         (map_windows): Return 0 if all map functions successful.
1749         Fix typos.
1750
1751         * winslots.h: Use unlikely names for local variables in macros to
1752         avoid shadowing warnings.
1753
1754 1998-05-17  Andy Piper  <andyp@parallax.co.uk>
1755
1756         * toolbar-msw.c (mswindows_output_toolbar): hash on toolbar width
1757         so that we re-output if the toolbar size has changed.
1758
1759 1998-05-17  Michael Sperber [Mr. Preprocessor]  <sperber@informatik.uni-tuebingen.de>
1760
1761         * s/aix4-2.h (ALIGN_DATA_RELOC): Undefined to support new unexaix.c. 
1762
1763         * s/aix3-1.h (ALIGN_DATA_RELOC): Defined to support new unexaix.c.
1764
1765         * unexaix.c: Massive cleanup and support of AIX 4.2 (and hopefully
1766         greater).
1767
1768 1998-05-16  Kirill M. Katsnelson  <kkm@kis.ru>
1769
1770         * glyphs-msw.c: Defined OEMRESOURCE before including windows.h to
1771         get bitmap manifest constants defined.
1772
1773         * console-msw.h: Include system files in angle brackets, not in
1774         quotes.
1775
1776         * window.c (specifier_vars_of_window): Fixed a typo in
1777         `vertical-divider-line-width' docstirng.
1778
1779 1998-05-16  Olivier Galibert  <galibert@pobox.com>
1780
1781         * line-number.c (delete_invalidate_line_number_cache): Use an
1782         EMACS_INT.
1783         (buffer_line_number): Remove dangerous, plain wrong when using
1784         64bits emacs ints, cast.
1785
1786         * insdel.c (buffer_delete_range): Use an EMACS_INT.
1787
1788         * cmds.c (Fforward_line): Use EMACS_INTs.
1789
1790         * search.c (bi_scan_buffer): Change to use EMACS_INTs.
1791         (scan_buffer): Ditto.
1792         (bi_find_next_newline_no_quit): Remove useless cast.
1793         (find_next_newline_no_quit): Ditto.
1794         (find_next_newline): Ditto.
1795         (find_before_next_newline): Use an EMACS_INT.
1796
1797         * lisp.h: Change scan_buffer to pass EMACS_INTs.
1798
1799 1998-05-16  Hrvoje Niksic  <hniksic@srce.hr>
1800
1801         * menubar-msw.c (mswindows_handle_wm_command): Ditto.
1802
1803         * toolbar-msw.c (mswindows_handle_toolbar_wm_command): Ditto.
1804
1805         * gui-x.c (popup_selection_callback): Use it.
1806
1807         * gui.h (get_callback): Declare it.
1808
1809         * gui.c (get_callback): New function.
1810
1811 1998-05-15  SL Baur  <steve@altair.xemacs.org>
1812
1813         * window.c (have_undivided_common_edge): Guard scrollbar specific
1814         stuff.
1815         (window_needs_vertical_divider_1): Ditto.
1816
1817 1998-05-16  Hrvoje Niksic  <hniksic@srce.hr>
1818
1819         * emacs.c (decode_path): Eliminate compiler warning.
1820         (Fdecode_path): Renamed to Fsplit_path.
1821         (Fsplit_string_by_char): New function.
1822
1823 1998-05-14  Damon Lipparelli  <lipp@primus.com>
1824
1825         * winslots.h: close comment
1826
1827 1998-05-16  Kirill M. Katsnelson  <kkm@kis.ru>
1828
1829         * callproc.c: Removed declared and unused variable Qbuffer_file_type.
1830
1831         * bufslots.h: Removed buffer_file_type slot.
1832
1833         * buffer.c (complex_vars_of_buffer): Removed buffer_file_type from 
1834         buffer local flags.
1835         (complex_vars_of_buffer): Removed buffer-file-type variable and
1836         its default reference.
1837
1838 1998-05-15  Kirill M. Katsnelson  <kkm@kis.ru>
1839
1840         * faces.c (complex_vars_of_faces): Defined
1841         Vvertical_divider_face.
1842         (vars_of_faces): Staticpro it.
1843
1844         * faces.h: Externed Vvertical_divider_face.
1845
1846         * redisplay-x.c (x_output_vertical_divider): Use
1847         Vvertical_divider_face to draw the divider instead of modeline
1848         face.
1849
1850         * redisplay-msw.c (mswindows_output_vertical_divider): Draw
1851         divider face using Vvertical_divider_face background.
1852         Fix drawing spacing gaps around the divider.
1853
1854 1998-05-14  Didier Verna  <verna@inf.enst.fr>
1855
1856         * redisplay-x.c (x_output_vertical_divider): removed hard-wired
1857         values for the vertical divider line width and spacing. Use the
1858         cached values from the window structure instead.
1859         (x_divider_width): ditto.
1860
1861         * window.c (specifier_vars_of_window): new specifiers:
1862         vertical-divier -line-width and -spacing. 
1863         (vertical_divider_global_width_changed): formerly known as
1864         vertical_divider_shadow_thickness_changed. 
1865
1866         * winslots.h: new slots: vertical_specifier _line_width and
1867         _spacing. Plus corrected a comment typo.
1868
1869 1998-05-15  Kirill M. Katsnelson  <kkm@kis.ru>
1870
1871         * window.h: Declared window_divider_width().
1872
1873         * console-stream.c (stream_divider_width): Removed method.
1874         (console_type_create_stream): And declaration for it.
1875
1876         * redisplay.c (pixel_to_glyph_translation): Use
1877         window_divider_width() instead of divider_width redisplay method. 
1878         (pixel_to_glyph_translation): Fix top divider edge calculation
1879         when scrollbar is on top.
1880
1881         * window.c (window_divider_width): New function, an outphaser for
1882         divider_width redisplay method.
1883         (window_right_gutter_width): Use it.
1884         (specifier_vars_of_window): For vertical-divider-{spacing,line-width}
1885         specifiers, set fallback values differently on TTYs, and document
1886         the behavior of these on TTYs in the docstrings.
1887         
1888         * scrollbar.c (update_scrollbar_instance): Use
1889         window_divider_width() instead of divider_width redisplay method.
1890
1891         * console.h (struct console_methods): Removed divider_width_method.
1892
1893         * redisplay-tty.c (tty_divider_width): Removed device method.
1894         (console_type_create_redisplay_tty): Removed definition for it.
1895         (tty_output_vertical_divider): Respect the value returned by
1896         window_divider_width thus divider line width specification.
1897
1898         * redisplay-msw.c (mswindows_divider_width): Removed device method.
1899         (console_type_create_redisplay_mswindows): Removed definition for it.
1900         (mswinodws_output_vertical_divider): Respect the value returned by
1901         window_divider_width thus divider line width specification.
1902
1903 1998-05-15  Andy Piper  <andyp@parallax.co.uk>
1904
1905         * toolbar-msw.c: guess toolbar frame size a bit more accurately.
1906
1907 1998-05-15  Andy Piper  <andyp@parallax.co.uk>
1908
1909         * glyphs-msw.c: resource loading implementation.
1910         (cursor_normalize): new function.
1911         (cursor_validate): ditto.
1912         (cursor_instantiate): ditto.
1913         (cursor_name_to_resource): ditto.
1914         (cursor_possible_dest_types): ditto.
1915         (check_valid_symbol): ditto.
1916         (check_valid_string_or_int): ditto.
1917
1918 1998-05-14  Martin Buchholz  <martin@xemacs.org>
1919
1920         * sysdep.c (tty_init_sys_modes_on_device): Treat VSUSP just like
1921         VINTR and VQUIT.
1922
1923         * process-unix.c (process_signal_char): Use VSUSP instead of
1924         non-standard VSWTCH.  Always prefer VSUSP to VSWTCH.
1925
1926 1998-05-14  Kirill M. Katsnelson  <kkm@kis.ru>
1927
1928         * specifier.c (specifier_instance): Change locale precedence of
1929         instantiation so window locale has higher priority than buffer
1930         locale.
1931         (Fspecifier_instance): Reflect this in docstring.
1932         (Fadd_spec_list_to_specifier): Ditto.
1933         (Fadd_spec_to_specifier): Ditto.
1934         (Fremove_specifier): Ditto.
1935
1936 1998-05-15  Kirill M. Katsnelson  <kkm@kis.ru>
1937
1938         ** Dialog separation into a device method from Andy Piper
1939
1940         * emacs.c (main_1): Call console_type_create_dialog_x().
1941
1942         * dialog-x.c (x_popup_dialog_box): Old Fpopup_dialog_box converted 
1943         into this device method.
1944         (console_type_create_dialog_x): New function.
1945
1946         * dialog.c (Fpopup_dialog_box): New function.
1947         (syms_of_dialog): Defsubr it.
1948
1949         * console.h (struct console_methods): Declared
1950         popup_dialog_box_method(). 
1951
1952         * symsinit.h: Defined console_type_create_dialog_{x,mswindows}
1953
1954 1998-05-14  Oliver Graf <ograf@fga.de>
1955
1956         * dragdrop.c (vars_of_dragdrop): dragdrop-protocols created
1957         * frame-x.c (x_cde_transfer_callback): checked for merge errors
1958
1959 1998-05-13  Oliver Graf <ograf@fga.de>
1960
1961         * dragdrop.c (vars_of_dragdrop): provide dragdrop-api
1962
1963 1998-05-15  Kirill M. Katsnelson  <kkm@kis.ru>
1964
1965         * console.h (device_metrics): Removed dbcs, input-method-editor
1966         and right-to-left metrics.
1967
1968         * device.c (Fdevice_system_metric): Ditto.
1969         (Fdevice_system_metrics): Ditto.
1970         (syms_of_device): Ditto.
1971         (Fdevice_system_metric): Swapped DEVICE and METRIC parameters back
1972         again.
1973
1974 1998-05-14  Hrvoje Niksic  <hniksic@srce.hr>
1975
1976         * line-number.h (mark_line_number_cache): Remove unused
1977         declaration.
1978
1979         * line-number.c (LINE_NUMBER_FAR): Increase to 32768.
1980         (get_nearest_line_number): Simplify.
1981         (add_position_to_cache): Make the old marker point nowhere.
1982
1983 1998-05-14  Kirill M. Katsnelson  <kkm@kis.ru>
1984
1985         ** Renamed window-divider-map => vertical-divider-map
1986         and event-over-divider-p => event-over-vertical-divider-p,
1987         in the following files/functions:
1988         * events.h: 
1989         * events.c (Fevent_over_divider_p): 
1990         * keymap.c (get_relevant_keymaps): 
1991         (vars_of_keymap): 
1992
1993         * redisplay.h (OVER_V_DIVIDER): Renamed so from OVER_DIVIDER.
1994
1995         * redisplay.c (pixel_to_glyph_translation): Use OVER_V_DIVIDER.
1996
1997 1998-05-14  Kirill M. Katsnelson  <kkm@kis.ru>
1998
1999         * window.c (vertical_divider_changed_in_window): Renamed so.
2000         (specifier_vars_of_window): Defined Vvertical_divider_draggable_p.
2001         (window_needs_vertical_divider_1): Decide whether we need it based
2002         on the value of the above specifier. If separators are unwanted,
2003         put them only if there's no scrollbar between this window and its
2004         right neighbor.
2005         (have_undivided_common_edge): New function, helper for the above.
2006         (window_needs_vertical_divider): Return either a cached value,
2007         or clauclate and cache one.
2008         (invalidate_vertical_divider_cache_in_window): Implemented.
2009         (map_windows): Changed return type to int, return the value from
2010         MAPFUN.
2011
2012         * window.h: Prototype invalidate_vertical_divider_cache_in_window.
2013         (struct window): Added need_vertical_divider_p and
2014         need_vertical_divider_valid_p. 
2015
2016         * winslots.h: Added vertical_divider_draggable_p slot.
2017
2018         * scrollbar.c (vertical_scrollbar_changed_in_window): Implemented.
2019         (specifier_vars_of_scrollbar): Used it in all vertical specifiers.
2020
2021         * frame.c (invalidate_vertical_divider_cache_in_frame): New function.
2022
2023         * frame.h (MARK_FRAME_WINDOWS_STRUCTURE_CHANGED): Call
2024         invalidate_vertical_divider_cache_in_frame().
2025         Prototype it.
2026
2027 1998-05-14  Andy Piper  <andyp@parallax.co.uk>
2028
2029         * toolbar-msw.c: provide correct parameters to TB_SETROWS.
2030
2031         * glyphs-msw.c (mswindows_initialize_image_instance_mask): size
2032         masks correctly and don't select 0.
2033
2034 1998-05-14  Kirill M. Katsnelson  <kkm@kis.ru>
2035
2036         * winslots.h: New file, declaration of some struct window and
2037         struct saved_window members.
2038
2039         * window.h (struct window): Include it, with required preprocessor
2040         magic.
2041
2042         * window.c (mark_window): Ditto.
2043         (allocate_window): Ditto.
2044         (struct saved_window): Ditto.
2045         (mark_window_config): Ditto.
2046         (saved_window_equal): Ditto.
2047         (Fset_window_configuration): Ditto.
2048
2049 1998-05-14  Kirill M. Katsnelson  <kkm@kis.ru>
2050
2051         * redisplay-msw.c (mswindows_output_vertical_divider): Syntax fix.
2052
2053 1998-05-12  Didier Verna  <verna@inf.enst.fr>
2054
2055         * redisplay-x.c (x_output_vertical_divider): draw shadows around
2056         the divider line. The shadow thickness is currently
2057         hard-wired. This will probably be turned into a specifier soon.
2058
2059 1998-05-12  Didier Verna  <verna@inf.enst.fr>
2060
2061         * console.h (struct console_methods): the divider_width console
2062         method now requires a struct window * argument.
2063
2064         * redisplay-x.c (x_divider_width): ditto. Plus remove
2065         X_DIVIDER_WIDTH, X_DIVIDER_SHADOW_THICKNESS.
2066         (x_output_vertical_divider): give a depressed look when the shadow
2067         thickness is negative.
2068
2069         * console-stream.c (stream_divider_width): pass a struct window *
2070         argument. 
2071
2072         * redisplay-tty.c (tty_divider_width): ditto.
2073
2074         * window.c (window_right_gutter_width): totdi.
2075
2076         * redisplay.c (generate_modeline): ittod.
2077
2078         * scrollbar.c (update_scrollbar_instance): ttido.
2079         
2080         * redisplay-msw.c (mswindows_divider_width): ottid. 
2081         WARNING: this enables to compile, but the feature is not functional.
2082
2083         * window.h (struct window): new field
2084         vertical_divider_shadow_thickness. 
2085
2086         * window.c (specifier_vars_of_window): new specifier
2087         vertical-divider-shadow-thickness.
2088         (vertical_divider_shadow_thickness_changed): new function to
2089         inform redisplay that the window has changed.
2090         (mark_window): handle new field vertical_divider_shadow_thickness
2091         from struct window.
2092         (allocate_window): ditto.
2093         (saved_window_equal): toddi.
2094         (Fset_window_configuration): totid.
2095         (save_window_save): ttdio.
2096         (struct saved_window): new field vertical_divider_shadow_thickness.
2097
2098 1998-05-14  Kirill M. Katsnelson  <kkm@kis.ru>
2099
2100         * device-msw.c (mswindows_device_system_metrics): Support a deluge
2101         of metrics.
2102
2103 1998-05-12  Oliver Graf <ograf@fga.de>
2104
2105         * frame-x.c (x_cde_transfer_callback): fixed for the new protocol
2106         * event-Xt.c (x_event_to_emacs_event): C++ compability
2107
2108 1998-05-14  Hrvoje Niksic  <hniksic@srce.hr>
2109
2110         * emacs.c (Fdecode_path): Default SEPCHAR to value of
2111         path-separator.
2112
2113 1998-05-14  Hrvoje Niksic  <hniksic@srce.hr>
2114
2115         * emacs.c (vars_of_emacs): Do it here; change the meaning of
2116         Vpath_separator.
2117
2118         * fileio.c (vars_of_fileio): Don't define Vpath_separator here.
2119
2120 1998-05-14  Hrvoje Niksic  <hniksic@srce.hr>
2121
2122         * emacs.c (decode_path_1): New function.
2123         (decode_path): Use it.
2124         (Fdecode_path): Renamed from Fdecode_path_internal; use
2125         decode_path_1.
2126
2127 1998-05-12  Hrvoje Niksic  <hniksic@srce.hr>
2128
2129         * macros.c (Fzap_last_kbd_macro_event): New function.
2130         (Fend_kbd_macro): Remove REMOVE_LAST kludge.
2131
2132 1998-05-10  Andy Piper  <andyp@parallax.co.uk>
2133
2134         * redisplay-msw.c (mswindows_output_dibitmap_region): make sure
2135         multiple bitmaps are output vertically as well as horizontally.  
2136         * (mswindows_output_dibitmap): don't cope with bitmap boundaries
2137         crossing lines this is handled by
2138         mswindows_output_dibitmap_region.
2139
2140 1998-05-12  Martin Buchholz  <martin@xemacs.org>
2141
2142         * inline.c: Include eldap.h
2143
2144         * menubar-x.c (x_update_frame_menubar_internal): 
2145         Remove: unused variable `container'
2146
2147 1998-05-11  Martin Buchholz  <martin@xemacs.org>
2148
2149         * s/aix4.h: Allow AIX 4.3 XEmacs to compile cleanly.
2150         Unfortunately, the resulting temacs still cannot dump.
2151
2152         * symbols.c (symbol_is_constant): 
2153         (verify_ok_for_buffer_local): 
2154         -Wswitch Warning suppression - add default case to switches.
2155
2156         * redisplay.c (decode_mode_spec): Remove unused variables,
2157         Replace Fcoding_system_property (codesys, Qmnemonic) with
2158         XCODING_SYSTEM_MNEMONIC (codesys);
2159         Fcoding_system_property is for users.
2160
2161         * buffer.c:
2162         * fileio.c:
2163         * lread.c:
2164         * xselect.c:
2165         Change empty docstrings into no doc strings at all.
2166         Fix bogus FSF-format docstrings.
2167
2168         * extents.c:
2169         Standardize docstrings.
2170
2171         * floatfns.c:
2172         Explain problems with matherr.
2173
2174         * glyphs.c:  make DEFUNs etags-readable, i.e. single-line
2175
2176         * syssignal.h:
2177         if BROKEN_SIGIO, then SIGIO wants to be undefined.
2178         if SIGIO and not SIGPOLL, SIGPOLL wants to be SIGIO.\
2179         Fix the weird resultant interaction (causes windows problems)
2180
2181         * gdbinit:
2182         * dbxrc:
2183         Take new EMACSBOOTSTRAPLOADPATH into account.
2184         Update documentation strings
2185
2186         * Makefile.in.in:
2187         - Adjust for luser's CDPATH being set to something weird.
2188         - Take into account bash 2.02's tendency to print the cwd when
2189           using CDPATH.  Always use `cd ./foo' instead of `cd foo'.
2190         - fix the run-temacs target to use $(DUMPENV)
2191         - fix the run-puremacs target to use $(DUMPENV)
2192         - fix the `depend' target to properly $(RM) the right files
2193         - Generate a better TAGS file for XEmacs' lisp code using
2194           hand-crafted regexps.
2195         - Use standard coding conventions for modules/Makefile.in
2196
2197 1998-05-12  Didier Verna  <verna@inf.enst.fr>
2198
2199         * redisplay.c: removed the scrolling modeline code that didn't
2200         make it for 21.0. To be continued ... 
2201
2202 1998-05-13  Michael Sperber [Mr. Preprocessor]  <sperber@informatik.uni-tuebingen.de>
2203
2204         * emacs.c (Fdecode_path_internal): Removed bogus handling of nil
2205         and empty string inputs.
2206
2207 1998-05-12  Hrvoje Niksic  <hniksic@srce.hr>
2208
2209         * redisplay-x.c (x_output_vertical_divider): Fixed typo.
2210
2211 1998-05-10  Oliver Graf <ograf@fga.de>
2212
2213         * event-stream.c (enqueue_misc_user_event_pos): created
2214         * lisp.h (enqueue_misc_user_event_pos): prototype added
2215         * frame-x.c (x_cde_transfer_callback): debug code plus API changes
2216         * emacs.c: call vars_of_dragdrop
2217         * dragdrop.c (vars_of_dragdrop): provide dragdrop
2218
2219 1998-05-11  Oliver Graf <ograf@fga.de>
2220
2221         * frame-x.c (x_cde_transfer_callback): return at correct pos
2222         * event-Xt.c (x_event_to_emacs_event): changed format of drop
2223         object for MIME (see comment in dragdrop.c)
2224         * dragdrop.c: API change documented in comment
2225         removed provide of dragdrop [is provided by dragdrop.el]
2226
2227 1998-05-12  Kirill M. Katsnelson  <kkm@kis.ru>
2228
2229         * window.c (window_needs_vertical_divider): Enable vertical
2230         dividers for every non-rightmost window.
2231         (window_left_gutter_width): Left gutter consists of mythical
2232         toolbar and a virtual scrollbar.
2233         (window_right_gutter_width): The right one may have a divider
2234         also.
2235
2236         * scrollbar.c (update_scrollbar_instance): Position vertical
2237         scrollbar left to divider if the latter present.
2238
2239         * redisplay.h: Declared OVER_DIVIER constant.
2240
2241         * redisplay.c (pixel_to_glyph_translation): Handle OVER_DIVIDER
2242         case.
2243
2244         * redisplay-x.c (x_output_vertical_divider): Output divider along
2245         the right side of the window, down to window bottom. Swapped
2246         foreground and background colors so it is visible by default.
2247
2248         * redisplay-tty.c (tty_output_vertical_divider): Uncondiionally
2249         stick the divider to the right window side.
2250
2251         * redisplay-msw.c (mswindows_redisplay_deadbox_maybe): Fixed
2252         deadbox painting.
2253         (mswindows_divider_width): Ask system for user preferred value.
2254         (mswindows_output_vertical_divider): Always output the divider on
2255         the right side of a window, down to bottom.
2256
2257         * keymap.c (get_relevant_keymaps): Route mouse button events which 
2258         happened over a window divider through window-divider-map.
2259         (Fkey_binding): Documented that in the docstring.
2260         Defined the variable Vwindow_divider_map.
2261
2262         * events.c (Fevent_over_divider_p): Added this function.
2263
2264         * events.h: EXFUNed it.
2265
2266 1998-05-12  Kirill M. Katsnelson  <kkm@kis.ru>
2267
2268         * toolbar.c (update_frame_toolbars): Re-layout frame windows if
2269         toolbar geometry is suspected to change.
2270
2271 1998-05-11  Jonathan Harris  <jhar@tardis.ed.ac.uk>
2272
2273         * src/device-msw.c
2274         * src/event-msw.c
2275         Condition dnd and dde code on HAVE_DRAGNDROP.
2276
2277 1998-05-11  Hrvoje Niksic  <hniksic@srce.hr>
2278
2279         * events.c (format_event_object): Print space as SPC etc.
2280
2281 1998-05-11  Hrvoje Niksic  <hniksic@srce.hr>
2282
2283         * print.c (print_internal): In the default case, abort() if
2284         ERROR_CHECK_TYPECHECK.
2285
2286         * fileio.c (Fmake_temp_name): Doc fix.
2287
2288 1998-05-10  Hrvoje Niksic  <hniksic@srce.hr>
2289
2290         * xgccache.c (describe_gc_cache): Define only if DEBUG_XEMACS.
2291
2292         * undo.c (Fprimitive_undo): Fixed typo.
2293
2294 1998-05-11  Hrvoje Niksic  <hniksic@srce.hr>
2295
2296         * fns.c (concat): Signal error on integer argument.
2297
2298 1998-05-10  Kirill M. Katsnelson  <kkm@kis.ru>
2299
2300         * console.h (device_metrics): Prefixed each constatnt with DM_
2301
2302         * device.c: (Fdevice_system_metric): Renamed so from plural form
2303         (metrics); Changed parameters order and added DEFAULT parameter;
2304         Unabbreviated some metric constants; Fixed and untabified doc string.
2305         (Fdevice_system_metrics): Added. Returns a plist of all provided
2306         metrics. 
2307
2308         * device-msw.c (mswindows_device_system_metrics): Renamed
2309         device_metrics enum constants.
2310         Return Qunbound instead of Qnil.
2311
2312         * device-tty.c (tty_device_system_metrics): Ditto.
2313
2314         * device-x.c (x_device_system_metrics): Ditto.
2315
2316 1998-05-10  Andy Piper  <andyp@parallax.co.uk>
2317
2318         * redisplay-msw.c: implement background pixmaps (really!). Make
2319         sure bg color is transparent if we have bg pmaps.
2320         * (mswindows_output_string) (mswindows_clear_region): output bg
2321         pmap if required.
2322         * (mswindows_output_dibitmap_region): new function.
2323         * (mswindows_output_dibitmap): output offset pixmaps, blt masks in
2324         the bg color rather than transparently.
2325
2326         * toolbar-msw.c: use masks if they exist.
2327
2328         * glyphs-msw.c: set up masks correctly.
2329
2330         * event-msw.c: typedef SOCKET if cygwin and not msg select().
2331
2332 1998-05-10  Hrvoje Niksic  <hniksic@srce.hr>
2333
2334         * regex.c (re_match_2_internal): Check for quit.
2335
2336 1998-05-10  Hrvoje Niksic  <hniksic@srce.hr>
2337
2338         * frame.c (Ffocus_frame): New function.
2339