This commit was generated by cvs2svn to compensate for changes in r5670,
[chise/xemacs-chise.git.1] / src / ChangeLog
1 1998-07-19  SL Baur  <steve@altair.xemacs.org>
2
3         * XEmacs 21.2-beta1 is released.
4
5 1998-07-12  Oscar Figueiredo  <Oscar.Figueiredo@di.epfl.ch>
6
7         * eldap.c (Fldap_search_internal): When converting the list of
8         attributes to search Copy the final 0 from Lisp strings to C
9         strings.
10         Check base, not Vldap_default_base as a a string
11
12 1998-07-13  Jonathan Harris  <jhar@tardis.ed.ac.uk>
13
14         * nt.c: Remove Vstdio_str; already defined in console-stream.c.
15
16         * unexnt.c: Unconditionally define bss_start and bss_size, and
17           ensure that they don't go in the .bss section.
18
19 1998-07-17  Olivier Galibert  <galibert@pobox.com>
20
21         * glyphs-x.c (convert_EImage_to_XImage):  Fix previous patch (conv
22         byte order is dependant  of  the local  byte order).
23         From Takeshi Hagiwara <hagiwara@ie.niigata-u.ac.jp>
24
25 1998-07-18  SL Baur  <steve@altair.xemacs.org>
26
27         * glyphs-msw.c (mswindows_resource_normalize): Qresource ->
28         Qmswindows_resource.
29         From Jonathan Harris <jhar@tardis.ed.ac.uk>
30
31 1998-07-12  SL Baur  <steve@altair.xemacs.org>
32
33         * general.c (syms_of_general): Add defsymbol for Qresource.
34
35         * glyphs-msw.c (vars_of_glyphs_mswindows): Rename Qresource to
36         Qmswindows_resource.
37         (TopLevel): Rename 'resource image format to 'mswindows_resource.
38         (mswindows_resource_validate): Rename.
39         (mswindows_resource_normalize): Rename.
40         (mswindows_resource_possible_dest_types): Rename.
41         (mswindows_resource_instantiate): Rename.
42         (image_instantiator_format_create_glyphs_mswindows): Replace
43         `resource' with `mswindows.resource'.
44
45         * XEmacs 21.0-pre5 is released.
46
47 1998-07-10  SL Baur  <steve@altair.xemacs.org>
48
49         * mule-wnnfns.c (Fwnn_open): Correctly trap on misdefined Wnn
50         server type in environment.
51         Use alloca-ed strings instead of tiny fixed size ones.
52
53 1998-07-09  SL Baur  <steve@altair.xemacs.org>
54
55         * XEmacs 21.0-pre4 is released.
56
57 1998-07-01  James N. Potts  <jnpotts@plutonium.net>
58
59         * fileio.c: (expand_file_name): under win32: Don't treat names
60         as UNC names if a drive letter has been specified.  If a drive
61         has been specified, strip out extra directory-seperators that
62         reportedly cause problems under Win95.
63
64 1998-07-09  Jonathan Harris  <jhar@tardis.ed.ac.uk>
65
66         * windowsnt.h: Define DUMP_SEPARATE_SECTION when building with
67           MSVC >= 5.0. Put emacs init and zero-init data in a special
68           section of the executable when this is defined.
69
70         * unexnt.c, ntheap.h:
71           Removed unused find_section() and get_section_size().
72
73         * unexnt.c:
74           Fix up the executable's checksum after dumping otherwise the
75           profiler complains.
76           When DUMP_SEPARATE_SECTION is defined, don't need to dump
77           zero-init data separately from init data. Dump emacs data
78           into a special section of the executable.
79           When DUMP_SEPARATE_SECTION not defined, dump .bss up to
80           my_ebss instead of up to the end of bss.
81
82 1998-07-09  Jonathan Harris  <jhar@tardis.ed.ac.uk>
83
84         * filelock.c: Removed Vconfigure_lock_directory - already
85           defined in emacs.c.
86
87         * frame-msw.c: Removed Qinitially_unmapped and Qpopup - already
88           defined in frame.c and general.c respectively.
89
90         * glyphs-msw.c: Removed Qresource - already defined in
91           general.c.
92
93 1998-07-05  Oscar Figueiredo  <Oscar.Figueiredo@di.epfl.ch>
94
95         * eldap.c (Fldap_search_internal): Docstring fixes
96
97 1998-07-04  Jonathan Harris  <jhar@tardis.ed.ac.uk>
98
99         * nt.c (init_environment): Removed unused PRELOAD_WINSOCK,
100           EMACSDOC and TERM variables. Added EMACSDEBUGPATHS,
101           EMACSPACKAGEPATH and INFOPATH variables.
102           Removed unused get_emacs_configuration function.
103
104         * s/windowsnt.h: Don't define EMACS_CONFIGURATION here because
105           it is now defined at build-time by the makefile.
106
107 1998-07-01  James N. Potts  <jnpotts@plutonium.net>
108
109         * fileio.c: (expand_file_name): under win32: Don't treat names as
110         UNC names if a drive letter has been specified.  If a drive has
111         been specified, strip out extra directory-seperators that
112         reportedly cause problems under Win95.
113
114 1998-07-05  Andy Piper  <andyp@parallax.co.uk>
115
116         * faces.c (complex_vars_of_faces): for the gui-element face don't
117         fallback to the default face, instead provide reasonable default
118         fallbacks that were previously hardcoded elsewhere.
119
120 1998-07-06  Olivier Galibert  <galibert@pobox.com>
121
122         * glyphs-x.c (convert_EImage_to_XImage): Fix pixel writing problem
123         when the X server endianness is different than the client's one.
124
125 1998-06-29  Kyle Jones  <kyle_jones@wonderworks.com>
126
127         * eval.c (run_hook_with_args_in_buffer): Check
128           default (non-buffer-local) value of hook for
129           nil before treating it as a function.  Don't initialize 
130           the `globals' variable twice.
131
132 1998-06-24  Jonathan Harris  <jhar@tardis.ed.ac.uk>
133
134         * fileio.c: Don't do directory seperator canonicalisation in
135           substitute-in-file-name because we don't know that the
136           filename refers to a local file.
137
138 1998-06-24  Adrian Aichner  <aichner@ecf.teradyne.com>
139
140         * process-nt.c (nt_create_process): Try appending the standard
141           executable file extensions to the filename if none supplied.
142
143 1998-06-29  SL Baur  <steve@altair.xemacs.org>
144
145         * fileio.c (Fsubstitute_in_file_name): Enable double slash notation
146         for cygwin32.
147         From Keisuke Mori <ksk@ntts.com>
148
149 1998-06-24  Andy Piper  <andyp@parallax.co.uk>
150
151         * toolbar-msw.c (mswindows_output_toolbar): only enable masked
152         images if we have masks. This handles the xbm case (have masks)
153         and avoids overuse of resources in the xpm case (generally no masks).
154         Don't output small toolbars.
155
156 1998-06-29  Kyle Jones  <kyle_jones@wonderworks.com>
157
158         * eval.c (run_hook_with_args_in_buffer): Don't treat
159           the default value of a buffer local hook as a list of
160           hooks unless it is both a cons and the car of that cons 
161           is not Qlambda.
162
163 1998-06-29  SL Baur  <steve@altair.xemacs.org>
164
165         * extents.c: Email address for Ben Wing is ben@xemacs.org.
166         * process-unix.c: Ditto.
167         * mule-coding.h: Ditto.
168         * mule-coding.c: Ditto.
169         * mule-charset.c: Ditto.
170         * mule-charset.h: Ditto.
171         * file-coding.c: Ditto.
172         * file-coding.h: Ditto.
173
174 1998-06-22  Jonathan Harris  <jhar@tardis.ed.ac.uk>
175
176         * event-msw.c: Guard against recursion when freeing
177           FRAME_MSWINDOWS_TARGET_RECT struture in WM_SIZE processing.
178
179         * frame-msw.c: Don't set WS_VISIBLE attribute on first frame.
180           Call ShowWindow twice in init_frame_3 to get round runemacs
181           weirdness.
182
183 1998-06-27  Hrvoje Niksic  <hniksic@srce.hr>
184
185         * scrollbar.c (vertical_scrollbar_changed_in_window): Ditto.
186
187         * winslots.h: Rename.
188
189         * window.c (specifier_vars_of_window): Renamed
190         vertical-divider-draggable-p to vertical-divider-always-visible-p, 
191         as suggested by Ben Wing.
192         (specifier_vars_of_window): Fix docstrings.
193
194 1998-06-22  Michael Sperber [Mr. Preprocessor]  <sperber@informatik.uni-tuebingen.de>
195
196         * unexaix.c: Line number information works correctly again.
197
198 1998-06-22  Olivier Galibert  <galibert@pobox.com>
199
200         * emacs.c (__sti__iflPNGFile_c___): Added. See comment. Cry.
201
202 1998-06-21  Martin Buchholz  <martin@xemacs.org>
203
204         * editfns.c (get_home_directory): ANSIfy.
205         XEmacs is compilable under C *and* C++.
206         It's XEmacs, not Xemacs!
207
208 1998-06-19  Jonathan Harris  <jhar@tardis.ed.ac.uk>
209
210         * console-msw.h: added a list of fonts to device data.
211
212         * device-msw.c: enumerate list of available fonts in
213           mswindows_init_device. Free list in mswindows_delete_device.
214
215         * objects-msw.c: Added helper function match_font used by
216           mswindows_initialize_font_instance and mswindows_list_fonts.
217           Allow a charset to be specified in a font string, even if
218           previous fields havn't been specified.
219
220 1998-06-23  Greg Klanderman  <greg@alphatech.com>
221
222         * indent.c (column_at_point): column cache bugfix.
223         Set last_known_column_point to the buffer position for
224         which the column was requested, not buffer's point.
225
226         * redisplay.c (decode_mode_spec): for current-column, show 
227         window's point's column, not buffer's point's column.
228
229 1998-06-23  Andy Piper  <andyp@parallax.co.uk>
230
231         * menubar-msw.c (mswindows_handle_wm_command): use
232         enqueue_misc_user event rather than
233         mswindows_enqueue_msic_user_event to fix customize problems. Add some
234         checks that X does.
235
236         * console-msw.h: declare mswindows_enqueue_magic_event.
237
238         * event-msw.c (mswindows_enqueue_magic_event): make global.
239
240 1998-06-24  Hrvoje Niksic  <hniksic@srce.hr>
241
242         * line-number.c (LINE_NUMBER_FAR): Reverted to 16384.
243         (buffer_line_number): Use EMACS_INT_MAX instead of random LOTS.
244         (add_position_to_cache): Use EMACS_INT instead of int.
245
246 1998-06-21  Olivier Galibert  <galibert@pobox.com>
247
248         * lisp-disunion.h (XMARKBIT): Have XMARKBIT return something
249         suitable for an int used as a boolean (btw, C sucks.).
250
251 1998-06-18  Andy Piper  <andyp@parallax.co.uk>
252
253         * object-msw.c: remove warnings.
254
255         * device-msw.c: #define wrongly named cygwin structure elements.
256
257         * s/cygwin32.h: define DEMI_BOLD
258
259 1998-06-19  Jonathan Harris  <jhar@tardis.ed.ac.uk>
260
261         * redisplay-msw.c: new function mswindows_apply_face_effects.
262           This is called by output_string and output_cursor to display
263           underline and strikeout on faces.
264
265 1998-06-19  Jonathan Harris  <jhar@tardis.ed.ac.uk>
266
267         * console-msw.h: added a list of fonts to device data.
268
269         * device-msw.c: enumerate list of available fonts in
270           mswindows_init_device. Free list in mswindows_delete_device.
271
272         * objects-msw.c: Added helper function match_font used by
273           mswindows_initialize_font_instance and mswindows_list_fonts.
274           Allow a charset to be specified in a font string, even if
275           previous fields havn't been specified.
276
277 1998-06-15  Jonathan Harris  <jhar@tardis.ed.ac.uk>
278
279         * objects-msw.c:
280           Removed compilation warnings from mswindows_string_to_color.
281           mswindows_list_fonts returns a more general bogus font.
282           New lisp-visible function mswindows-color-list.
283
284 1998-06-19  David Bush <david.bush@adn.alcatel.com>
285
286         * editfns.c (Fuser_login_name): Modify to user new function
287         user_login_name.
288         (user_login_name): C only function to avoid Lisp object overhead
289         Returns "unknown" instead of nil in Cygwin environment
290
291         * fileio.c (Fexpand_file_name): Treat "~" and "~user" as
292         equivalent for current user in Cygwin environment. Use new
293         function user_login_name to get username.
294
295         * lisp.h: Declare user_login_name
296
297 1998-06-18  Michael Sperber [Mr. Preprocessor]  <sperber@informatik.uni-tuebingen.de>
298
299         * unexaix.c (make_hdr): Fixed bias computations so debugging info
300         works again.
301         Some other insignificant nitpicks.
302
303 1998-06-18  Andy Piper  <andyp@parallax.co.uk>
304
305         * toolbar-msw.c (mswindows_output_toolbar): specify ILC_MASK when
306         creating the image list and make sure he bk color is transparent.
307
308 1998-06-18  Jan Vroonhof  <vroonhof@math.ethz.ch>
309
310         * event-Xt.c (emacs_Xt_remove_timeout): Also remove timeout from
311         completed_timeouts. The timer could have expired.
312
313 1998-06-17  Andy Piper  <andyp@parallax.co.uk>
314
315         * console-msw.h: move XEMACS_RECT_WH inside frame
316         parameters. define macors to access it.
317
318         * frame-msw.c (mswindows_init_frame_1): use new target_rect
319         parameter to intialise desired sizing. (mswindows_init_frame_2):
320         enable and size the frame to something sensible when we get
321         here. (mswindows_set_frame_properites): use new
322         mswindows_size_frame_internal function and size frame if frame
323         parameters not just if init is finished - WM_SIZE happens too
324         early for some specs. (mswindows_size_frame_internal): new
325         function abstracted from mswindows_set_frame_properties. 
326         (Vmswindows_use_system_frame_size_defaults):
327         new variable controls whether to allow the system to pick frame
328         size defaults, defaults to nil.
329
330         * event-msw.c: in WM_SIZE use mswindows_size_frame_internal rather
331         than duplicated code.
332
333 1998-06-15  Colin Rafferty <colin@xemacs.org>
334
335         * Makefile.in.in: Made EXTW_LINK expand properly.
336
337 1998-06-12  Martin Buchholz  <martin@xemacs.org>
338
339         * redisplay.c (vars_of_redisplay): default value of
340         column-number-start-at-one should be NIL!
341
342 1998-06-11  Martin Buchholz  <martin@xemacs.org>
343
344         * casefiddle.c:
345         (upcase-initials "fooBar") ==> "FooBar" instead of "Foobar"
346
347 1998-06-05  Hrvoje Niksic  <hniksic@srce.hr>
348
349         * eldap.c (Fldap_search_internal): Use build_ext_string instead of 
350         build_string to avoid crashes under Mule.
351
352 1998-06-13  Andy Piper  <andyp@parallax.co.uk>
353
354         * ntplay.c (play_sound_data_1): don't delete the sound data until
355         the next sound is played and the previous one finished.
356
357 1998-06-10  Samuel Mikes  <smikes@alumni.hmc.edu>
358
359         * fileio.c (directory-sep-char): Escape backslashes.
360
361 1998-06-10  Hrvoje Niksic  <hniksic@srce.hr>
362
363         * event-stream.c: Fix docstring reference.
364
365 1998-06-12  Hrvoje Niksic  <hniksic@srce.hr>
366
367         * alloc.c (make_float): Remove useless initialization of `next'
368         field.
369         (make_pure_float): Ditto.
370
371         * lisp.h (struct Lisp_Float): Rename `next' to `__unused__next'.
372
373 1998-06-08  Kirill M. Katsnelson  <kkm@kis.ru>
374
375         * fileio.c (Fmake_directory_internal): Remove conditionals
376         on WINDOWSNT when calling mkdir.
377
378         * ntproc.c: Deleted the following unused functions:
379         register_child, reap_subprocess, sys_wait.
380
381         * nt.c (sys_rename): Ifzeroed this implementation.
382         Deleted the following unused functions:
383         sys_access, sys_chdir, sys_chmod, sys_creat, sys_link, sys_mkdir,
384         sys_mktemp, sys_rmdir, sys_unlink, sys_close, sys_dup, sys_dup2,
385         sys_read, sys_write.
386         Merger sys_fopen and sys_open with sysdep.c implementation.
387
388         * sysdep.c: Removed MS-DOS code.
389         (sys_rename): Deal with Microsoft rename weirdness.
390         (sys_open): Implemented for Windows.
391         (sys_fopen): Ditto.
392         (sys_mkdir): Ditto.
393
394 1998-06-08  Kirill M. Katsnelson  <kkm@kis.ru>
395
396         * buffer.c (complex_vars_of_buffer): Removed %t description from
397         the docstring.
398
399 1998-06-04  Rick Rankin  <Rick_Rankin-P15254@email.mot.com>
400
401         * scrollbar-msw.c: initialize the cbSize element of the
402         SCROLLINFO struct before calling SetScrollInfo. WinNT seems
403         to ignore the value of cbSize, but Win95 (and I presume Win98)
404         appear to want it set to sizeof(SCROLLINFO).
405
406 1998-06-04  Kirill M. Katsnelson  <kkm@kis.ru>
407
408         * event-stream.c: Defined Qcancel_mode_internal.
409         (syms_of_event_stream): defsymbol'ed it.
410
411         * events.h: Externed it.
412
413         * event-msw.c (mswindows_wnd_proc, WM_CANCELMODE): Added this handler.
414
415 1998-06-04  Oliver Graf <ograf@fga.de>
416
417         * frame-x.c (x_cde_destroy_callback): free the data
418         (cde-start-drag-internal) corrected root position, 21.1 needs this
419         hardcoded in Button events
420         (offix-start-drag-internal) corrected root position
421
422 1998-06-03  Kirill M. Katsnelson  <kkm@kis.ru>
423
424         * process-nt.c (signal_cannot_launch): Use signal_simple_error()
425         instead of error().
426
427 1998-06-03  Kirill M. Katsnelson  <kkm@kis.ru>
428
429         * dialog-msw.c (button_width): Removed `inline' from the function
430         declaration.
431
432 1998-06-03  Rick Rankin  <Rick_Rankin-P15254@email.mot.com>
433
434         * frame-msw.c: add WS_VISIBLE flag to the first frame created.
435         Note that adding this flag to subsequent frames causes problems.
436
437 1998-06-03  Gunnar Evermann  <Gunnar.Evermann@nats.informatik.uni-hamburg.de>
438
439         * glyphs-eimage.c (png_instantiate) move 'struct
440         png_memory_storage tbr' out of nested block to avoid dangling
441         reference
442
443 1998-06-02  Andy Piper  <andyp@parallax.co.uk>
444
445         * faces.h:
446         * faces.c: rename 3d-object -> gui-element. add toolbar face which
447         inherits from gui-element.
448
449         * glyphs-msw.c: use DIBitmaps for xbm bitmaps to be consistent
450         with existing code, generate masks correctly.
451
452 1998-06-03  P. E. Jareth Hein  <jareth@camelot-soft.com>
453
454         * glyphs-eimage.c: Changed included header for gifs to use
455         Gifreader instead of giflib.
456
457         * glyphs-x.c: removed the image-related functions that were
458         moved into glyphs-eimage.
459
460 1998-06-02  David Bush  <david.bush@adnb.alcatel.com>
461
462         * glyphs.c (bitmap_to_lisp_data) Define XFree to be free
463         if built without X Windows support.
464
465 1998-06-02  Hrvoje Niksic  <hniksic@srce.hr>
466
467         * fns.c (Fconcat): Synch docstring with new reality.
468
469 1998-06-03  SL Baur  <steve@altair.xemacs.org>
470
471         * frame.c: Remove reference to msdos.h (which is going away).
472         Suggested by Hrvoje Niksic and Kirill Katsnelson.
473
474 1998-06-02  P. E. Jareth Hein  <jareth@camelot-soft.com>
475
476         * glyphs-eimage.c (jpeg_instantiate): Fix handling of
477         grayscale images/
478
479
480 1998-05-30  Kirill M. Katsnelson  <kkm@kis.ru>
481
482         * events.h: Fixed commentary about misc-user scrollbar events.
483
484         * scrollbar-x.c (x_update_vertical_scrollbar_callback): Use frame
485         object as an event channel, instead of window object.
486         (x_update_horizontal_scrollbar_callback): Ditto.
487
488 1998-05-29  Andy Piper  <andyp@parallax.co.uk>
489
490         * ntplay.c (play_sound_data_1) new function. convert alloca data
491         to malloc if necessary.
492         (play_sound_file): if the file is not in our path then convert to
493         data and play.
494
495 1998-06-01  SL Baur  <steve@altair.xemacs.org>
496
497         * mule-mcpath.c (mc_chdir): Reverse parameters in call to memcpy.
498         * msdos.c (Frecent_doskeys): Ditto.
499
500         * unexalpha.c (unexec): Reverse parameters in call to memcpy.
501         Suggested by Reggie Perry <perry@zso.dec.com>
502
503         * buffer.h: Eliminate size in declaration.
504
505 1998-06-01  Olivier Galibert  <galibert@pobox.com>
506
507         * unexelfsgi.c (unexec): Cleanup n/nn and remove useless kludge.
508
509 1998-06-01  Kirill M. Katsnelson  <kkm@kis.ru>
510
511         * gui.c (gui_item_init): Changed the default value for config member
512         from Qunbound to Qnil.
513
514 1998-06-01  Greg Klanderman  <greg@alphatech.com>
515
516         * indent.c (vmotion_pixels): Don't #define abs().
517
518 1998-05-30  Kirill M. Katsnelson  <kkm@kis.ru>
519
520         * s/windowsnt.h: Defined popen and pclose to be _popen and _pclose
521         respectively.
522
523 1998-05-30  Andy Piper  <andyp@parallax.co.uk>
524
525         * glyphs.h: add xbm declarations.
526
527         * console.h: add xbm_instantiate_method device method.
528
529         * glyphs.c (check_valid_xbm_inline) (xbm_validate)
530         (bitmap_to_lisp_data) (xbm_mask_file_munging) (xbm_normalize)
531         (xbm_possible_dest_types): moved here from glyphs-x.c. use
532         locate_pixmap_file device method and read_bitmap_data_from_file
533         instead of XmuReadBitmapDataFromFile.
534         (xbm_instatntiate): make a device method.
535
536         * glyphs-x.c: see glyphs.c changes. (read_bitmap_data_from_file)
537         new function that just calls XmuReadBitmapDataFromFile.
538         (x_xbm_instatntiate): device method from xbm_instantiate.
539
540         * glyphs-msw.c (read_bitmap_data) (NextInt)
541         (read_bitmap_data_from_file): new functions copied from Xmu
542         sources. 
543         (xbm_create_bitmap_from_data) from Ben <ben@666.com> convert
544         inline data to an mswindows bitmap.
545         (init_image_instance_from_xbm_inline) (xbm_instantiate_1)
546         (mswindows_xbm_instantiate): mswindows-ized versions of the X
547         functions.
548
549 1998-05-30  Kirill M. Katsnelson  <kkm@kis.ru>
550
551         * window.c (specifier_vars_of_window): Renamed `has_modeline-p' to
552         `modeline-visible-p'.
553         Declared specifier lisp variables at the beginning oh the file
554         as static.
555
556         * procimpl.h (struct process_methods): Changed semantics of
557         create_process method so it accepts lisp strings instead of
558         char pointers.
559
560         * process.c (Fstart_process_internal): Moved building of
561         unix style argv from here to process-unix.c, ...
562
563         * process-unix.c (unix_create_process): ... right here.
564
565         * process-nt.c (nt_create_process): Changed this function to
566         support new semantics, so avoided a GC problem.
567
568         * events.c (Fmake_event): Document misc-user events properties.
569         (Fmake_event): Do not allow arbitrary objects for channel property
570         of misc-user events.
571         (Fmake_event): Change misc-user event validation: it is function
572         which is required, not button.
573
574         * event-msw.c (mswindows_user_event_p): Recognize misc user events as
575         user events.
576         (mswindows_enqueue_misc_user_event): Added function.
577         (mswindows_bump_queue): Removed function.
578         (mswindows_enqueue_magic_event): Support NULL HWND parameter.
579         (mswindows_wnd_proc, WM_CLOSE): Use mswindows_enqueue_misc_user_event().
580         (mswindows_wnd_proc, WM_EXITSIZEMOVE): Ditto.
581         (emacs_mswindows_handle_magic_event): Handle XM_BUMPQUEUE, by doing
582         really nothing, which is my personal favorite thing.
583
584         * console-msw.h: Removed prototype for mswindows_bump_queue().
585         Added prototype for mswindows_enqueue_misc_user_event().
586
587         * menubar-msw.c (mswindows_handle_wm_command): Use
588         mswindows_enqueue_misc_user_event(). 
589
590         * toolbar-msw.c (mswindows_handle_toolbar_wm_command): Ditto.
591
592         * dialog-msw.c (dialog_proc): Ditto.
593
594         * scrollbar-msw.c (mswindows_handle_scrollbar_event): Ditto.
595          (mswindows_handle_scrollbar_event): Use frame, not window, for misc
596         user events channel.
597
598 1998-05-29  Greg Klanderman  <greg@alphatech.com>
599
600         * window.c (Fwindow_displayed_text_pixel_height): was relying on
601         incorrect semantics of vmotion_pixels which has been fixed.  don't 
602         use it anymore as it can't easily be used.
603
604         * indent.c (vmotion_pixels): fix off by one bug moving up.  also
605         the motion was reported incorrectly if you tried to go past end of 
606         buffer.
607
608 1998-05-30  Kirill M. Katsnelson  <kkm@kis.ru>
609
610         * toolbar.h: Removed misleading commentary, as Martin suggested.
611
612 1998-05-30  Kirill M. Katsnelson  <kkm@kis.ru>
613
614         * lisp.h: Extern Qactivate_menubar_hook.
615
616         * menubar-msw.c (unsafe_handle_wm_initmenu_1): Pass correct value to
617         run_hook ().
618
619 1998-05-29  Andy Piper  <andyp@parallax.co.uk>
620
621         * glyphs-msw.c: use BPLINE macro.
622
623         * select-msw.c (mswindows-selection-exists-p)
624         (mswindows-delete-selection): doc string fixes.
625
626         * toolbar-msw.c (mswindows_output_toolbar): make disabled buttons
627         unpressable. warning elimination.
628
629 1998-05-28  Martin Buchholz  <martin@xemacs.org>
630
631         * alloc.c (dbg_constants): 
632         * dbxrc:
633         * gdbinit:
634         Remove toolbar_data debugging code, since that lrecord has
635         also been removed. 
636
637 Wed May 27, 1998  Darryl Okahata  <darrylo@sr.hp.com>
638
639         * alloc.c: zap cached value of (user-home-directory), so that
640           it's not undumped.
641
642         * buffer.c: From init_buffer(), separated out code that
643           determined the initial directory for the *scratch* buffer, and
644           put them into a function called "init_initial_directory()".
645           The initial directory is now available as a global "char *"
646           called initial_directory.
647
648         * buffer.h: Added extern entries for initial_directory[] and
649           init_initial_directory().
650
651         * editfns.c: added new elisp function "user-home-directory",
652         which basically returns getenv("HOME"), but attempts to use
653         other values if $HOME isn't set.This may have to be tweaked in
654         the future as, under Unix, "/" is used if $HOME isn't set (this
655         probably should be set to the current directory).  To support
656         this, a new C function, "get_home_directory()", now exists,
657         which returns the "home directory", as a "char *" string.
658
659         * emacs.c: Rearrange NT initialization order so that
660         environment/registry variables will be properly entered into
661         Vprocess_enviroment.
662
663         * fileio.c: replaced egetenv("HOME") with calls to the new
664           get_home_directory().
665
666         * lisp.h: Added function prototypes for uncache_home_directory() 
667           and get_home_directory(), along with lisp prototypes for
668           Fuser_home_directory() and friends.
669
670         * nt.c: replaced getenv("HOME") with calls to the new
671           get_home_directory().
672
673         * sysfile.h: for WINDOWSNT, #include <direct.h>, to suppress
674           warnings about getcwd(), etc. not having prototypes.
675
676 1998-05-28  Kirill M. Katsnelson  <kkm@kis.ru>
677
678         * process-nt.c (send_signal): Emulate SIGHUP.
679         (validate_signal_number): Ditto.
680
681         * event-msw.c (mswindows_wnd_proc, WM_KEYDOWN): Unconditionally
682         remove MOD_SHIFT from ASCII characters.
683         (mswindows_wnd_proc, WM_KEYDOWN): Do not activate the menubar when 
684         F10 is pressed.
685
686 1998-05-24  Oliver Graf <ograf@fga.de>
687
688         * frame-x.c (cde-start-drag-internal): added filename and multi-
689         data transfers
690         (x_cde_convert_callback) dito
691
692 1998-05-26  Oliver Graf <ograf@fga.de>
693
694         * frame-x.c: include event-mod.h also with CDE
695         (x_cde_convert_callback) made the thing working
696         (cde-start-drag-internal) also debugging
697
698 1998-05-25  Hans Guenter Weigand  <hgweigand@wiesbaden.netsurf.de>
699
700         * m/sparc.h:
701         * getloadavg.c:
702         * malloc.c:
703         * unexec.c:
704         * mem-limits.h:
705           - add __OpenBSD__ where __NetBSD__ was found.
706           - TODO: replace platform-specific conditional compilation by
707             feature tests in configure.in.
708
709 1998-05-15  Greg Klanderman  <greg@alphatech.com>
710
711         * window.c (Fwindow_displayed_text_pixel_height): New function.
712         (syms_of_window): DEFSUBR it.
713
714         * indent.c (Fvertical_motion_pixels): New function - request
715         movement in pixels.
716         (vmotion_pixels): helper.
717         (syms_of_indent): DEFSUBR.
718         * lisp.h: declaration for vmotion_pixels().
719
720         * indent.c (Fvertical_motion): Add optional third argument PIXELS, 
721         to request returning motion in pixels.
722         (Fvertical_motion_pixels): Remove, functionality merged into
723         Fvertical_motion. 
724         * window.c (window_scroll): call Fvertical_motion with 3 arguments.
725         (Fmove_to_window_line): ditto.
726         * lisp.h: Change declaration for Fvertical_motion.
727
728         * window.c: rename window-text-pixel-{height,width,edges} to
729         window-text-area-pixel-*.
730
731 1998-05-26  Gunnar Evermann  <Gunnar.Evermann@nats.informatik.uni-hamburg.de>
732
733         * tooltalk.c (vars_of_tooltalk) added staticpro for
734         Tooltalk_Message_plist_str and Tooltalk_Pattern_plist_str
735
736 1998-05-27  Andy Piper  <andyp@parallax.co.uk>
737                 
738         * faces.c: create a new 3d_object_face, make modeline and
739         vertical_divider faces fallback to this rather than the default.
740
741 1998-05-21  Andy Piper  <andyp@parallax.co.uk>
742
743         * s/cygwin32.h: define charsets for cygwin.
744
745 1998-05-25  Andy Piper  <andyp@parallax.co.uk>
746
747         * toolbar-msw.c (mswindows_output_toolbar): fix up button sizes
748         and coordinates. resize bitmaps if we have already settled on a
749         different size.
750
751         * glyphs-msw.c (xpm_to_eimage): add ';' for mswindows compiler.
752
753 1998-05-25  Hrvoje Niksic  <hniksic@srce.hr>
754
755         * toolbar-msw.c (mswindows_handle_toolbar_wm_command): Ditto.
756
757         * menubar-msw.c (mswindows_handle_wm_command): Ditto.
758
759         * gui.h: Ditto.
760
761         * gui-x.c (popup_selection_callback): Ditto.
762
763         * dialog-msw.c (dialog_proc): get_callback -> get_gui_callback.
764
765         * gui.c (get_callback): Renamed to get_gui_callback.
766
767 1998-05-17  Martin Buchholz  <martin@xemacs.org>
768
769         * glyphs.h: order rearrangement.
770
771         * device-tty.c (tty_asynch_device_change): Warning suppression.
772         * device-x.c (x_device_system_metrics): Warning suppression.
773         Make Doc strings consistent with coding standards.
774
775 1998-05-24  Martin Buchholz  <martin@xemacs.org>
776
777         * general.c: multiple definition of `Qicon'.  general.c seems
778           like a good home for Qicon.
779
780 1998-05-20  Kirill M. Katsnelson  <kkm@kis.ru>
781
782         * This patch is to fix compilation warnings under Windows.
783
784         * s/windowsnt.h: Encapsulate getpid with sys_getpid.
785         Added prototypes for FSF inherited functions, with which XEmacs is 
786         sprinkled thoroughly.
787         Removed some #if 0 code. Bracketed some more definitions, probably 
788         related to Visual C versions prior to 4 (we do not support them).
789
790         * sysfloat.h (logb): Finally, get logb() prototyped.
791
792         * sysfile.h: Added Windows specific includes.
793         Removed old Windows specific code bracketed with #if 0.
794
795         * sysdep.h: Added prototype for xrealpath().
796
797         * sysdep.c (sys_getpid): Added function, to support '95 negative pids.
798
799         * symsinit.h: Added prototypes for syms_of_dired_mswindows,
800         vars_of_dired_mswindows and init_ntproc (Grrr).
801
802         * realpath.c: Added Windows specific include files.
803         (xrealpath): Conditionalized declaration of some auto variables on 
804         S_IFLNK, to avoid warnings.
805
806         * ntproc.c: Disabled some compiler warnings. This file is going to 
807         die, so I have not cleaned it up much.
808         (set_process_dir): Const parameter.
809         (Fwin32_short_file_name): Down CHECK_* macros to one argument.
810         (Fwin32_long_file_name): Ditto.
811         (Fwin32_set_process_priority): Ditto. Why didn't I remove these
812         three functions?
813
814         * nt.h: Added prototypes for set_process_dir and convert_time.
815
816         * nt.c: More include files.
817         (getpwnam): Consted char* argument.
818         (get_emacs_configuration): Const return value.
819         (opendir): Const argument.
820         (stat): Casted converstion long->short.
821         (stat): Removed ad hoc and questionable support for non-MSC compile.
822         (sys_pipe): Removed unused auto variable.
823         (_sys_read_ahead): Removed calls to DebPrint.
824         (sys_read): Ditto, in 2 places.
825         (term_ntproc): Added unused int parameter to signal handler, to
826         avoid a warning when compiling a call to signal().
827         (msw_sigset): Properly return old signandler or NULL instead of void.
828
829         * floatfns.c (Flogb): Casted arguments to unary minus to signed.
830
831         * gmalloc.c (morecore): Ditto.
832         (_free_internal): Ditto.
833
834         * lread.c (parse_integer): Ditto.
835
836         * dired-msw.c: Added several include files.
837
838         * cmdloop.c (Fcommand_loop_1): Added Microsoft C to the Big List
839         of Compilers to Shut Up.
840
841         * callproc.c: Added #includes to suppress warnings under Windows.
842         (init_callproc): Removed #if0'ed code and unused variables.
843
844 1998-05-25  Andy Piper  <andyp@parallax.co.uk>
845
846         * device-msw.c (mswindows_device_system_metrics): do planes in a
847         way consistent with X.
848
849         * glyphs-msw.c (mswindows_initialize_image_instance_mask): don't
850         use SetPixel, use DIBits functions.
851         (xpm_to_eimage): frob colors more closely like xpm deos.
852
853         * toolbar-msw.c: only resize bitmaps when shrinking. Adjust look
854         to be closer to X version.
855
856         * event-msw.c: use tooltip string directly.
857
858         * redisplay-msw.c: reinstate Kirill's bg pixmap change.
859
860         * objects-msw.c: frob rgb colors that only Kyle uses.
861
862         * dialog-msw.c (button_width): INLINE -> inline.
863
864 1998-05-23  SL Baur  <steve@altair.xemacs.org>
865
866         * getloadavg.c (getloadavg): Fix typo.
867
868 1998-05-23  Kirill M. Katsnelson  <kkm@kis.ru>
869
870         * objects-msw.c (mswindows_initialize_font_instance): Added support
871         for font character sets.
872         Replaced 'XXX' with '####' in comments throughout the file.
873
874 1998-05-23  Kirill M. Katsnelson  <kkm@kis.ru>
875
876         * emacs.c (main_1): Added calls to vars_of_dialog_mswindows() and
877         console_type_create_dialog_mswindows(), to initialize Windows dialog
878         support.
879
880         * symsinit.h: Prototyped the above functions.
881
882         * dialog-x.c (x_popup_dialog_box): Moved dialog descriptor consistency 
883         checks to dialog.c...
884
885         * dialog.c (Fpopup_dialog_box): ...right here. Added more checks: a
886         device must support dialog boxes, and the descriptor must supply at
887         least one button.
888
889         * dialog-msw.c: New file, dialogs for Windows.
890
891 1998-05-21  Oscar Figueiredo  <Oscar.Figueiredo@di.epfl.ch>
892
893         * eldap.c (ldap_search_unwind): Return Qnil instead of nothing
894         (Fldap_search_internal): Removed unused variable `err'
895
896         * eldap.h: Moved Lisp_LDAP declaration here instead of using a
897         forward declaration
898
899 1998-05-17  Martin Buchholz  <martin@xemacs.org>
900
901         * eldap.h: eldap.[ch] should never be used unless HAVE_LDAP is
902         defined.  Therefore there is no need to handle the case when
903         HAVE_LDAP is undefined.  Similarily, there is no reason to have
904         any code wrapped within `#ifdef emacs', since this code is only
905         useful within an emacs.  This simplifies the code significantly.
906
907         * inline.c: Include eldap.h only if HAVE_LDAP.
908         * inline.c: Don't bother including TT_C_H_PATH, since tooltalk.h
909         already does that.
910
911 1998-05-21  Kirill M. Katsnelson  <kkm@kis.ru>
912
913         * unexnt.c (copy_executable_and_dump_data_section): Suppress
914         printing dump stats when building without DEBUG_XEMACS.
915         (dump_bss_and_heap): Ditto.
916
917 1998-05-21  Andy Piper  <andyp@parallax.co.uk>
918
919         * gnuclient.c: don't suppress window system if there is no display
920         and we are running under mswindows. send 'mswindows device type if
921         we are in this situation.
922
923 1998-05-20  Andy Piper  <andyp@parallax.co.uk>
924
925         * general.c:
926         * lisp.h: Qbitmap, Qcursor, Qicon moved here from glyphs-msw.c.
927
928         * glyphs-msw.c: change cursor imgae type name to resource. Fix
929         some nits.
930
931 1998-05-20  Kirill M. Katsnelson  <kkm@kis.ru>
932
933         * EmacsFrame.c (Xt_StringToScrollBarPlacement):  Added support for
934         {top,bottom}-{left,right} values in addition to
935         {top,bottom}_{left,right}. 
936
937 1998-05-18  Hrvoje Niksic  <hniksic@srce.hr>
938
939         * fileio.c (Fmake_temp_name): Remove unreached code.
940
941         * process-nt.c (validate_signal_number): Use
942         signal_simple_error().
943
944 1998-05-19  Martin Buchholz  <martin@xemacs.org>
945
946         * unexhp9k800.c: 
947         * sound.c (vars_of_sound): 
948         * sysdep.c (reset_sigio_on_device): 
949         * window.c (window_bottom_gutter_height): 
950         unexhp9k800.c:258: warning: implicit declaration of function
951         `calculate_checksum'
952         sound.c:604: warning: implicit declaration of function `vars_of_hpplay'
953         sysdep.c:1012: warning: unused variable `owner'
954         window.c:993: warning: `window_right_toolbar_width' defined but not used
955
956 1998-05-19  Andy Piper  <andyp@parallax.co.uk>
957
958         * glyphs-msw.c (mswindows_create_resized_mask)
959         (mswindows_create_resized_bitmap): new funnctions split out from
960         mswindows_resize_dibitmap_instance.
961
962         * glyphs-msw.h: declare new resize functions.
963
964         * toolbar-msw.c (mswindows_output_toolbar): use new bitmap resize
965         functions so that the original bitmaps are preserved.
966
967         * sheap.c: fixup static heap exhausted error to avoid FAQs.
968
969         * redisplay-msw.c (mswindows_output_blank): fixup brush from bg
970         color if we are trying to output 0 depth bg pixmap.
971
972         * scrollbar-msw.c: warning elimination.
973
974 1998-05-18  Martin Buchholz  <martin@xemacs.org>
975
976         * frame-x.c (x_update_frame_external_traits): Start preprocessor
977         directives in column 1.
978
979         * search.c (skip_chars): Avoid using xzero with arrays, since some 
980         compilers get confused by the construct &array.
981
982 1998-05-18  Kirill M. Katsnelson  <kkm@kis.ru>
983
984         * objects-msw.h:
985         * objects-msw.c: Changed the charset value for a new font from
986         "don't care" to "ansi".
987
988         * glyphs-msw.c (convert_EImage_to_DIBitmap): Warnings fix.
989
990 1998-05-18  Kirill M. Katsnelson  <kkm@kis.ru>
991
992         * event-msw.c (mswindows_wnd_proc, WM_KEYDOWN): Do not clear shift
993         modifier on control chars.
994         Use IsCharAlpha() instead of isaplha().
995
996 1998-05-19  Kazuyuki IENAGA <ienaga@jsys.co.jp>
997
998         * s/freebsd.h: FreeBSD 2.2.6 now supports setlocale(LC_ALL, "").
999
1000 1998-05-18  Kirill M. Katsnelson  <kkm@kis.ru>
1001
1002         * objects-msw.c (mswindows_initialize_font_instance): Use ANSI
1003         charset when creating font. 
1004         (mswindows_initialize_color_instance): Do not create brush along
1005         with a color.
1006         (mswindows_finalize_color_instance): Do not delete it then.
1007
1008         * objects-msw.h (struct mswindows_color_instance_data): Removed
1009         brush slot, and corresponding accessor macro.
1010
1011 1998-05-18  Kirill M. Katsnelson  <kkm@kis.ru>
1012
1013         * toolbar.c: Removed toolbar_data lrecord implementation.
1014         (mark_frame_toolbar_buttons_dirty): Replase usage of toolbar_data
1015         with toolbar_buttons (via FRAME_TOOLBAR_BUTTONS).
1016         (compute_frame_toolbar_buttons): Ditto.
1017         (CHECK_TOOLBAR): Ditto.
1018         (set_frame_toolbar): Removed allocation of toolbar_data lrecord.
1019         (update_frame_toolbars): Do not check for changed buffer
1020         here. Toolbar information is provided by cached specs in
1021         windows. The check for buffer is eliminated becuase toolbars are
1022         marked changed in set_frame_selected_window() in frame.c
1023         Added check for changed toolbars geometry.
1024         (compute_frame_toolbars_data): Removed unused second parameter;
1025         Adjusted callers of this static function throughout the file.
1026         (init_frame_toolbars): Initialize current_toolbar_size.
1027         (update_frame_toolbars): Use DEVICE_SUPPORTS_TOOLBARS_P instead of 
1028         what is its current expansion, for clarity.
1029         (init_frame_toolbars): Ditto.
1030         (init_device_toolbars): Ditto.
1031         (init_global_toolbars): Ditto.
1032
1033         * toolbar.h: Removed definition of toolbar_data lrecord.
1034         Added accessor macros FRAME_TOOLBAR_BUTTONS and
1035         FRAME_CURRENT_TOOLBAR_SIZE.
1036         Added macro DEVICE_SUPPORTS_TOOLBARS_P.
1037
1038         * toolbar-x.c (x_output_toolbar): The same change as in
1039         toolbar-msw.c
1040         (x_output_toolbar): Ditto.
1041         (x_redraw_exposed_toolbar): Ditto.
1042
1043         * toolbar-msw.c (mswindows_output_toolbar): Retrieve current
1044         buttons from toolbar_buttons using FRAME_TOOLBAR_BUTTONS macro.
1045         (mswindows_output_toolbar): Ditto.
1046         (mswindows_output_toolbar): Ditto.
1047
1048         * frame.c (mark_frame): Removed marking of arrays, according to
1049         frameslots.h change.
1050         (nuke_all_frame_slots): Ditto.
1051         (set_frame_selected_window): Mark toolbars changed when
1052         last_nonminibuf_window changes.
1053
1054         * frame.h (struct frame): Moved some slots to frameslots.h.
1055         Added current_toolbar_size array.
1056         Changed references from toolbar_data to toolbar_buttons in macros
1057         FRAME_RAW_THEORETICAL_TOOLBAR_VISIBLE,
1058         FRAME_RAW_THEORETICAL_TOOLBAR_SIZE and
1059         FRAME_RAW_THEORETICAL_TOOLBAR_BORDER_WIDTH.
1060
1061         * frameslots.h: Added macro MARKED_SLOT_ARRAY a la winslots.h
1062         Moved arrays of lisp objects here from frame.h: toolbar_size,
1063         toolbar_visible_p, toolbar_border_width.
1064         Removed toolbar_data slot and added toolbar_buttons.
1065
1066 1998-05-17  Kirill M. Katsnelson  <kkm@kis.ru>
1067
1068         * symsinit.h: Externed syms_of_process_nt()
1069
1070         * emacs.c (main_1): Call syms_of_process_nt()
1071
1072         * process-nt.c: Quote process arguments by a call to Lisp function 
1073         `nt-quote-process-args'.
1074         (syms_of_process_nt): New function.
1075         (nt_send_process): Flush data stream after each write, to avoid
1076         leaving buffered data.
1077         (nt_send_process): When blocked on process output, wait for
1078         process to slurp more for progressively increasing time intervals.
1079
1080 1998-05-17  Martin Buchholz  <martin@xemacs.org>
1081
1082         * window.c (have_undivided_common_edge): Make file-local function
1083         static.
1084         (map_windows): Return 0 if all map functions successful.
1085         Fix typos.
1086
1087         * winslots.h: Use unlikely names for local variables in macros to
1088         avoid shadowing warnings.
1089
1090 1998-05-17  Andy Piper  <andyp@parallax.co.uk>
1091
1092         * toolbar-msw.c (mswindows_output_toolbar): hash on toolbar width
1093         so that we re-output if the toolbar size has changed.
1094
1095 1998-05-17  Michael Sperber [Mr. Preprocessor]  <sperber@informatik.uni-tuebingen.de>
1096
1097         * s/aix4-2.h (ALIGN_DATA_RELOC): Undefined to support new unexaix.c. 
1098
1099         * s/aix3-1.h (ALIGN_DATA_RELOC): Defined to support new unexaix.c.
1100
1101         * unexaix.c: Massive cleanup and support of AIX 4.2 (and hopefully
1102         greater).
1103
1104 1998-05-16  Kirill M. Katsnelson  <kkm@kis.ru>
1105
1106         * glyphs-msw.c: Defined OEMRESOURCE before including windows.h to
1107         get bitmap manifest constants defined.
1108
1109         * console-msw.h: Include system files in angle brackets, not in
1110         quotes.
1111
1112         * window.c (specifier_vars_of_window): Fixed a typo in
1113         `vertical-divider-line-width' docstirng.
1114
1115 1998-05-16  Olivier Galibert  <galibert@pobox.com>
1116
1117         * line-number.c (delete_invalidate_line_number_cache): Use an
1118         EMACS_INT.
1119         (buffer_line_number): Remove dangerous, plain wrong when using
1120         64bits emacs ints, cast.
1121
1122         * insdel.c (buffer_delete_range): Use an EMACS_INT.
1123
1124         * cmds.c (Fforward_line): Use EMACS_INTs.
1125
1126         * search.c (bi_scan_buffer): Change to use EMACS_INTs.
1127         (scan_buffer): Ditto.
1128         (bi_find_next_newline_no_quit): Remove useless cast.
1129         (find_next_newline_no_quit): Ditto.
1130         (find_next_newline): Ditto.
1131         (find_before_next_newline): Use an EMACS_INT.
1132
1133         * lisp.h: Change scan_buffer to pass EMACS_INTs.
1134
1135 1998-05-16  Hrvoje Niksic  <hniksic@srce.hr>
1136
1137         * menubar-msw.c (mswindows_handle_wm_command): Ditto.
1138
1139         * toolbar-msw.c (mswindows_handle_toolbar_wm_command): Ditto.
1140
1141         * gui-x.c (popup_selection_callback): Use it.
1142
1143         * gui.h (get_callback): Declare it.
1144
1145         * gui.c (get_callback): New function.
1146
1147 1998-05-15  SL Baur  <steve@altair.xemacs.org>
1148
1149         * window.c (have_undivided_common_edge): Guard scrollbar specific
1150         stuff.
1151         (window_needs_vertical_divider_1): Ditto.
1152
1153 1998-05-16  Hrvoje Niksic  <hniksic@srce.hr>
1154
1155         * emacs.c (decode_path): Eliminate compiler warning.
1156         (Fdecode_path): Renamed to Fsplit_path.
1157         (Fsplit_string_by_char): New function.
1158
1159 1998-05-14  Damon Lipparelli  <lipp@primus.com>
1160
1161         * winslots.h: close comment
1162
1163 1998-05-16  Kirill M. Katsnelson  <kkm@kis.ru>
1164
1165         * callproc.c: Removed declared and unused variable Qbuffer_file_type.
1166
1167         * bufslots.h: Removed buffer_file_type slot.
1168
1169         * buffer.c (complex_vars_of_buffer): Removed buffer_file_type from 
1170         buffer local flags.
1171         (complex_vars_of_buffer): Removed buffer-file-type variable and
1172         its default reference.
1173
1174 1998-05-15  Kirill M. Katsnelson  <kkm@kis.ru>
1175
1176         * faces.c (complex_vars_of_faces): Defined
1177         Vvertical_divider_face.
1178         (vars_of_faces): Staticpro it.
1179
1180         * faces.h: Externed Vvertical_divider_face.
1181
1182         * redisplay-x.c (x_output_vertical_divider): Use
1183         Vvertical_divider_face to draw the divider instead of modeline
1184         face.
1185
1186         * redisplay-msw.c (mswindows_output_vertical_divider): Draw
1187         divider face using Vvertical_divider_face background.
1188         Fix drawing spacing gaps around the divider.
1189
1190 1998-05-14  Didier Verna  <verna@inf.enst.fr>
1191
1192         * redisplay-x.c (x_output_vertical_divider): removed hard-wired
1193         values for the vertical divider line width and spacing. Use the
1194         cached values from the window structure instead.
1195         (x_divider_width): ditto.
1196
1197         * window.c (specifier_vars_of_window): new specifiers:
1198         vertical-divier -line-width and -spacing. 
1199         (vertical_divider_global_width_changed): formerly known as
1200         vertical_divider_shadow_thickness_changed. 
1201
1202         * winslots.h: new slots: vertical_specifier _line_width and
1203         _spacing. Plus corrected a comment typo.
1204
1205 1998-05-15  Kirill M. Katsnelson  <kkm@kis.ru>
1206
1207         * window.h: Declared window_divider_width().
1208
1209         * console-stream.c (stream_divider_width): Removed method.
1210         (console_type_create_stream): And declaration for it.
1211
1212         * redisplay.c (pixel_to_glyph_translation): Use
1213         window_divider_width() instead of divider_width redisplay method. 
1214         (pixel_to_glyph_translation): Fix top divider edge calculation
1215         when scrollbar is on top.
1216
1217         * window.c (window_divider_width): New function, an outphaser for
1218         divider_width redisplay method.
1219         (window_right_gutter_width): Use it.
1220         (specifier_vars_of_window): For vertical-divider-{spacing,line-width}
1221         specifiers, set fallback values differently on TTYs, and document
1222         the behavior of these on TTYs in the docstrings.
1223         
1224         * scrollbar.c (update_scrollbar_instance): Use
1225         window_divider_width() instead of divider_width redisplay method.
1226
1227         * console.h (struct console_methods): Removed divider_width_method.
1228
1229         * redisplay-tty.c (tty_divider_width): Removed device method.
1230         (console_type_create_redisplay_tty): Removed definition for it.
1231         (tty_output_vertical_divider): Respect the value returned by
1232         window_divider_width thus divider line width specification.
1233
1234         * redisplay-msw.c (mswindows_divider_width): Removed device method.
1235         (console_type_create_redisplay_mswindows): Removed definition for it.
1236         (mswinodws_output_vertical_divider): Respect the value returned by
1237         window_divider_width thus divider line width specification.
1238
1239 1998-05-15  Andy Piper  <andyp@parallax.co.uk>
1240
1241         * toolbar-msw.c: guess toolbar frame size a bit more accurately.
1242
1243 1998-05-15  Andy Piper  <andyp@parallax.co.uk>
1244
1245         * glyphs-msw.c: resource loading implementation.
1246         (cursor_normalize): new function.
1247         (cursor_validate): ditto.
1248         (cursor_instantiate): ditto.
1249         (cursor_name_to_resource): ditto.
1250         (cursor_possible_dest_types): ditto.
1251         (check_valid_symbol): ditto.
1252         (check_valid_string_or_int): ditto.
1253
1254 1998-05-14  Martin Buchholz  <martin@xemacs.org>
1255
1256         * sysdep.c (tty_init_sys_modes_on_device): Treat VSUSP just like
1257         VINTR and VQUIT.
1258
1259         * process-unix.c (process_signal_char): Use VSUSP instead of
1260         non-standard VSWTCH.  Always prefer VSUSP to VSWTCH.
1261
1262 1998-05-14  Kirill M. Katsnelson  <kkm@kis.ru>
1263
1264         * specifier.c (specifier_instance): Change locale precedence of
1265         instantiation so window locale has higher priority than buffer
1266         locale.
1267         (Fspecifier_instance): Reflect this in docstring.
1268         (Fadd_spec_list_to_specifier): Ditto.
1269         (Fadd_spec_to_specifier): Ditto.
1270         (Fremove_specifier): Ditto.
1271
1272 1998-05-15  Kirill M. Katsnelson  <kkm@kis.ru>
1273
1274         ** Dialog separation into a device method from Andy Piper
1275
1276         * emacs.c (main_1): Call console_type_create_dialog_x().
1277
1278         * dialog-x.c (x_popup_dialog_box): Old Fpopup_dialog_box converted 
1279         into this device method.
1280         (console_type_create_dialog_x): New function.
1281
1282         * dialog.c (Fpopup_dialog_box): New function.
1283         (syms_of_dialog): Defsubr it.
1284
1285         * console.h (struct console_methods): Declared
1286         popup_dialog_box_method(). 
1287
1288         * symsinit.h: Defined console_type_create_dialog_{x,mswindows}
1289
1290 1998-05-14  Oliver Graf <ograf@fga.de>
1291
1292         * dragdrop.c (vars_of_dragdrop): dragdrop-protocols created
1293         * frame-x.c (x_cde_transfer_callback): checked for merge errors
1294
1295 1998-05-13  Oliver Graf <ograf@fga.de>
1296
1297         * dragdrop.c (vars_of_dragdrop): provide dragdrop-api
1298
1299 1998-05-15  Kirill M. Katsnelson  <kkm@kis.ru>
1300
1301         * console.h (device_metrics): Removed dbcs, input-method-editor
1302         and right-to-left metrics.
1303
1304         * device.c (Fdevice_system_metric): Ditto.
1305         (Fdevice_system_metrics): Ditto.
1306         (syms_of_device): Ditto.
1307         (Fdevice_system_metric): Swapped DEVICE and METRIC parameters back
1308         again.
1309
1310 1998-05-14  Hrvoje Niksic  <hniksic@srce.hr>
1311
1312         * line-number.h (mark_line_number_cache): Remove unused
1313         declaration.
1314
1315         * line-number.c (LINE_NUMBER_FAR): Increase to 32768.
1316         (get_nearest_line_number): Simplify.
1317         (add_position_to_cache): Make the old marker point nowhere.
1318
1319 1998-05-14  Kirill M. Katsnelson  <kkm@kis.ru>
1320
1321         ** Renamed window-divider-map => vertical-divider-map
1322         and event-over-divider-p => event-over-vertical-divider-p,
1323         in the following files/functions:
1324         * events.h: 
1325         * events.c (Fevent_over_divider_p): 
1326         * keymap.c (get_relevant_keymaps): 
1327         (vars_of_keymap): 
1328
1329         * redisplay.h (OVER_V_DIVIDER): Renamed so from OVER_DIVIDER.
1330
1331         * redisplay.c (pixel_to_glyph_translation): Use OVER_V_DIVIDER.
1332
1333 1998-05-14  Kirill M. Katsnelson  <kkm@kis.ru>
1334
1335         * window.c (vertical_divider_changed_in_window): Renamed so.
1336         (specifier_vars_of_window): Defined Vvertical_divider_draggable_p.
1337         (window_needs_vertical_divider_1): Decide whether we need it based
1338         on the value of the above specifier. If separators are unwanted,
1339         put them only if there's no scrollbar between this window and its
1340         right neighbor.
1341         (have_undivided_common_edge): New function, helper for the above.
1342         (window_needs_vertical_divider): Return either a cached value,
1343         or clauclate and cache one.
1344         (invalidate_vertical_divider_cache_in_window): Implemented.
1345         (map_windows): Changed return type to int, return the value from
1346         MAPFUN.
1347
1348         * window.h: Prototype invalidate_vertical_divider_cache_in_window.
1349         (struct window): Added need_vertical_divider_p and
1350         need_vertical_divider_valid_p. 
1351
1352         * winslots.h: Added vertical_divider_draggable_p slot.
1353
1354         * scrollbar.c (vertical_scrollbar_changed_in_window): Implemented.
1355         (specifier_vars_of_scrollbar): Used it in all vertical specifiers.
1356
1357         * frame.c (invalidate_vertical_divider_cache_in_frame): New function.
1358
1359         * frame.h (MARK_FRAME_WINDOWS_STRUCTURE_CHANGED): Call
1360         invalidate_vertical_divider_cache_in_frame().
1361         Prototype it.
1362
1363 1998-05-14  Andy Piper  <andyp@parallax.co.uk>
1364
1365         * toolbar-msw.c: provide correct parameters to TB_SETROWS.
1366
1367         * glyphs-msw.c (mswindows_initialize_image_instance_mask): size
1368         masks correctly and don't select 0.
1369
1370 1998-05-14  Kirill M. Katsnelson  <kkm@kis.ru>
1371
1372         * winslots.h: New file, declaration of some struct window and
1373         struct saved_window members.
1374
1375         * window.h (struct window): Include it, with required preprocessor
1376         magic.
1377
1378         * window.c (mark_window): Ditto.
1379         (allocate_window): Ditto.
1380         (struct saved_window): Ditto.
1381         (mark_window_config): Ditto.
1382         (saved_window_equal): Ditto.
1383         (Fset_window_configuration): Ditto.
1384
1385 1998-05-14  Kirill M. Katsnelson  <kkm@kis.ru>
1386
1387         * redisplay-msw.c (mswindows_output_vertical_divider): Syntax fix.
1388
1389 1998-05-12  Didier Verna  <verna@inf.enst.fr>
1390
1391         * redisplay-x.c (x_output_vertical_divider): draw shadows around
1392         the divider line. The shadow thickness is currently
1393         hard-wired. This will probably be turned into a specifier soon.
1394
1395 1998-05-12  Didier Verna  <verna@inf.enst.fr>
1396
1397         * console.h (struct console_methods): the divider_width console
1398         method now requires a struct window * argument.
1399
1400         * redisplay-x.c (x_divider_width): ditto. Plus remove
1401         X_DIVIDER_WIDTH, X_DIVIDER_SHADOW_THICKNESS.
1402         (x_output_vertical_divider): give a depressed look when the shadow
1403         thickness is negative.
1404
1405         * console-stream.c (stream_divider_width): pass a struct window *
1406         argument. 
1407
1408         * redisplay-tty.c (tty_divider_width): ditto.
1409
1410         * window.c (window_right_gutter_width): totdi.
1411
1412         * redisplay.c (generate_modeline): ittod.
1413
1414         * scrollbar.c (update_scrollbar_instance): ttido.
1415         
1416         * redisplay-msw.c (mswindows_divider_width): ottid. 
1417         WARNING: this enables to compile, but the feature is not functional.
1418
1419         * window.h (struct window): new field
1420         vertical_divider_shadow_thickness. 
1421
1422         * window.c (specifier_vars_of_window): new specifier
1423         vertical-divider-shadow-thickness.
1424         (vertical_divider_shadow_thickness_changed): new function to
1425         inform redisplay that the window has changed.
1426         (mark_window): handle new field vertical_divider_shadow_thickness
1427         from struct window.
1428         (allocate_window): ditto.
1429         (saved_window_equal): toddi.
1430         (Fset_window_configuration): totid.
1431         (save_window_save): ttdio.
1432         (struct saved_window): new field vertical_divider_shadow_thickness.
1433
1434 1998-05-14  Kirill M. Katsnelson  <kkm@kis.ru>
1435
1436         * device-msw.c (mswindows_device_system_metrics): Support a deluge
1437         of metrics.
1438
1439 1998-05-12  Oliver Graf <ograf@fga.de>
1440
1441         * frame-x.c (x_cde_transfer_callback): fixed for the new protocol
1442         * event-Xt.c (x_event_to_emacs_event): C++ compability
1443
1444 1998-05-14  Hrvoje Niksic  <hniksic@srce.hr>
1445
1446         * emacs.c (Fdecode_path): Default SEPCHAR to value of
1447         path-separator.
1448
1449 1998-05-14  Hrvoje Niksic  <hniksic@srce.hr>
1450
1451         * emacs.c (vars_of_emacs): Do it here; change the meaning of
1452         Vpath_separator.
1453
1454         * fileio.c (vars_of_fileio): Don't define Vpath_separator here.
1455
1456 1998-05-14  Hrvoje Niksic  <hniksic@srce.hr>
1457
1458         * emacs.c (decode_path_1): New function.
1459         (decode_path): Use it.
1460         (Fdecode_path): Renamed from Fdecode_path_internal; use
1461         decode_path_1.
1462
1463 1998-05-12  Hrvoje Niksic  <hniksic@srce.hr>
1464
1465         * macros.c (Fzap_last_kbd_macro_event): New function.
1466         (Fend_kbd_macro): Remove REMOVE_LAST kludge.
1467
1468 1998-05-10  Andy Piper  <andyp@parallax.co.uk>
1469
1470         * redisplay-msw.c (mswindows_output_dibitmap_region): make sure
1471         multiple bitmaps are output vertically as well as horizontally.  
1472         * (mswindows_output_dibitmap): don't cope with bitmap boundaries
1473         crossing lines this is handled by
1474         mswindows_output_dibitmap_region.
1475
1476 1998-05-12  Martin Buchholz  <martin@xemacs.org>
1477
1478         * inline.c: Include eldap.h
1479
1480         * menubar-x.c (x_update_frame_menubar_internal): 
1481         Remove: unused variable `container'
1482
1483 1998-05-11  Martin Buchholz  <martin@xemacs.org>
1484
1485         * s/aix4.h: Allow AIX 4.3 XEmacs to compile cleanly.
1486         Unfortunately, the resulting temacs still cannot dump.
1487
1488         * symbols.c (symbol_is_constant): 
1489         (verify_ok_for_buffer_local): 
1490         -Wswitch Warning suppression - add default case to switches.
1491
1492         * redisplay.c (decode_mode_spec): Remove unused variables,
1493         Replace Fcoding_system_property (codesys, Qmnemonic) with
1494         XCODING_SYSTEM_MNEMONIC (codesys);
1495         Fcoding_system_property is for users.
1496
1497         * buffer.c:
1498         * fileio.c:
1499         * lread.c:
1500         * xselect.c:
1501         Change empty docstrings into no doc strings at all.
1502         Fix bogus FSF-format docstrings.
1503
1504         * extents.c:
1505         Standardize docstrings.
1506
1507         * floatfns.c:
1508         Explain problems with matherr.
1509
1510         * glyphs.c:  make DEFUNs etags-readable, i.e. single-line
1511
1512         * syssignal.h:
1513         if BROKEN_SIGIO, then SIGIO wants to be undefined.
1514         if SIGIO and not SIGPOLL, SIGPOLL wants to be SIGIO.\
1515         Fix the weird resultant interaction (causes windows problems)
1516
1517         * gdbinit:
1518         * dbxrc:
1519         Take new EMACSBOOTSTRAPLOADPATH into account.
1520         Update documentation strings
1521
1522         * Makefile.in.in:
1523         - Adjust for luser's CDPATH being set to something weird.
1524         - Take into account bash 2.02's tendency to print the cwd when
1525           using CDPATH.  Always use `cd ./foo' instead of `cd foo'.
1526         - fix the run-temacs target to use $(DUMPENV)
1527         - fix the run-puremacs target to use $(DUMPENV)
1528         - fix the `depend' target to properly $(RM) the right files
1529         - Generate a better TAGS file for XEmacs' lisp code using
1530           hand-crafted regexps.
1531         - Use standard coding conventions for modules/Makefile.in
1532
1533 1998-05-12  Didier Verna  <verna@inf.enst.fr>
1534
1535         * redisplay.c: removed the scrolling modeline code that didn't
1536         make it for 21.0. To be continued ... 
1537
1538 1998-05-13  Michael Sperber [Mr. Preprocessor]  <sperber@informatik.uni-tuebingen.de>
1539
1540         * emacs.c (Fdecode_path_internal): Removed bogus handling of nil
1541         and empty string inputs.
1542
1543 1998-05-12  Hrvoje Niksic  <hniksic@srce.hr>
1544
1545         * redisplay-x.c (x_output_vertical_divider): Fixed typo.
1546
1547 1998-05-10  Oliver Graf <ograf@fga.de>
1548
1549         * event-stream.c (enqueue_misc_user_event_pos): created
1550         * lisp.h (enqueue_misc_user_event_pos): prototype added
1551         * frame-x.c (x_cde_transfer_callback): debug code plus API changes
1552         * emacs.c: call vars_of_dragdrop
1553         * dragdrop.c (vars_of_dragdrop): provide dragdrop
1554
1555 1998-05-11  Oliver Graf <ograf@fga.de>
1556
1557         * frame-x.c (x_cde_transfer_callback): return at correct pos
1558         * event-Xt.c (x_event_to_emacs_event): changed format of drop
1559         object for MIME (see comment in dragdrop.c)
1560         * dragdrop.c: API change documented in comment
1561         removed provide of dragdrop [is provided by dragdrop.el]
1562
1563 1998-05-12  Kirill M. Katsnelson  <kkm@kis.ru>
1564
1565         * window.c (window_needs_vertical_divider): Enable vertical
1566         dividers for every non-rightmost window.
1567         (window_left_gutter_width): Left gutter consists of mythical
1568         toolbar and a virtual scrollbar.
1569         (window_right_gutter_width): The right one may have a divider
1570         also.
1571
1572         * scrollbar.c (update_scrollbar_instance): Position vertical
1573         scrollbar left to divider if the latter present.
1574
1575         * redisplay.h: Declared OVER_DIVIER constant.
1576
1577         * redisplay.c (pixel_to_glyph_translation): Handle OVER_DIVIDER
1578         case.
1579
1580         * redisplay-x.c (x_output_vertical_divider): Output divider along
1581         the right side of the window, down to window bottom. Swapped
1582         foreground and background colors so it is visible by default.
1583
1584         * redisplay-tty.c (tty_output_vertical_divider): Uncondiionally
1585         stick the divider to the right window side.
1586
1587         * redisplay-msw.c (mswindows_redisplay_deadbox_maybe): Fixed
1588         deadbox painting.
1589         (mswindows_divider_width): Ask system for user preferred value.
1590         (mswindows_output_vertical_divider): Always output the divider on
1591         the right side of a window, down to bottom.
1592
1593         * keymap.c (get_relevant_keymaps): Route mouse button events which 
1594         happened over a window divider through window-divider-map.
1595         (Fkey_binding): Documented that in the docstring.
1596         Defined the variable Vwindow_divider_map.
1597
1598         * events.c (Fevent_over_divider_p): Added this function.
1599
1600         * events.h: EXFUNed it.
1601
1602 1998-05-12  Kirill M. Katsnelson  <kkm@kis.ru>
1603
1604         * toolbar.c (update_frame_toolbars): Re-layout frame windows if
1605         toolbar geometry is suspected to change.
1606
1607 1998-05-11  Jonathan Harris  <jhar@tardis.ed.ac.uk>
1608
1609         * src/device-msw.c
1610         * src/event-msw.c
1611         Condition dnd and dde code on HAVE_DRAGNDROP.
1612
1613 1998-05-11  Hrvoje Niksic  <hniksic@srce.hr>
1614
1615         * events.c (format_event_object): Print space as SPC etc.
1616
1617 1998-05-11  Hrvoje Niksic  <hniksic@srce.hr>
1618
1619         * print.c (print_internal): In the default case, abort() if
1620         ERROR_CHECK_TYPECHECK.
1621
1622         * fileio.c (Fmake_temp_name): Doc fix.
1623
1624 1998-05-10  Hrvoje Niksic  <hniksic@srce.hr>
1625
1626         * xgccache.c (describe_gc_cache): Define only if DEBUG_XEMACS.
1627
1628         * undo.c (Fprimitive_undo): Fixed typo.
1629
1630 1998-05-11  Hrvoje Niksic  <hniksic@srce.hr>
1631
1632         * fns.c (concat): Signal error on integer argument.
1633
1634 1998-05-10  Kirill M. Katsnelson  <kkm@kis.ru>
1635
1636         * console.h (device_metrics): Prefixed each constatnt with DM_
1637
1638         * device.c: (Fdevice_system_metric): Renamed so from plural form
1639         (metrics); Changed parameters order and added DEFAULT parameter;
1640         Unabbreviated some metric constants; Fixed and untabified doc string.
1641         (Fdevice_system_metrics): Added. Returns a plist of all provided
1642         metrics. 
1643
1644         * device-msw.c (mswindows_device_system_metrics): Renamed
1645         device_metrics enum constants.
1646         Return Qunbound instead of Qnil.
1647
1648         * device-tty.c (tty_device_system_metrics): Ditto.
1649
1650         * device-x.c (x_device_system_metrics): Ditto.
1651
1652 1998-05-10  Andy Piper  <andyp@parallax.co.uk>
1653
1654         * redisplay-msw.c: implement background pixmaps (really!). Make
1655         sure bg color is transparent if we have bg pmaps.
1656         * (mswindows_output_string) (mswindows_clear_region): output bg
1657         pmap if required.
1658         * (mswindows_output_dibitmap_region): new function.
1659         * (mswindows_output_dibitmap): output offset pixmaps, blt masks in
1660         the bg color rather than transparently.
1661
1662         * toolbar-msw.c: use masks if they exist.
1663
1664         * glyphs-msw.c: set up masks correctly.
1665
1666         * event-msw.c: typedef SOCKET if cygwin and not msg select().
1667
1668 1998-05-10  Hrvoje Niksic  <hniksic@srce.hr>
1669
1670         * regex.c (re_match_2_internal): Check for quit.
1671
1672 1998-05-10  Hrvoje Niksic  <hniksic@srce.hr>
1673
1674         * frame.c (Ffocus_frame): New function.
1675