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