1 1998-09-29 SL Baur <steve@altair.xemacs.org>
3 * XEmacs 21.2-beta2 is released.
5 1998-09-27 P. E. Jareth Hein <jareth@camelot.co.jp>
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.
11 1998-09-02 Andy Piper <andyp@parallax.co.uk>
15 * s/cygwin32.h: rearrange declarations to cope with cygwin
16 b20. Include cygwin32/version.h if it exists.
18 1998-09-20 Jonathan Harris <jhar@tardis.ed.ac.uk>
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.
24 font_enum_callback_1() and _2() moved to objects-msw.c.
26 * faces.c (complex_vars_of_faces): Make the mswindows default
27 face font fully specified and provide some fallbacks.
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.
34 New public non-method mswindows_enumerate_fonts() that fills
35 in the supplied mswindows device's font list.
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.
42 1998-09-20 Jonathan Harris <jhar@tardis.ed.ac.uk>
44 * process-nt.c: Define an arbitrary limit, FRAGMENT_CODE_SIZE,
45 on the size of code fragments passed to run_in_other_process.
47 run_in_other_process(): Use FRAGMENT_CODE_SIZE to determine
48 the amount of memory to allocate in the other process.
50 Removed sigkill_code_end(), sigint_code_end() and
51 sig_enable_code_end() since they are now redundant.
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()
57 1998-09-10 Kazuyuki IENAGA <ienaga@jsys.co.jp>
59 * src/s/freebsd.h: Added __ELF__ and compiler/liker flags for
62 * src/unexelf.c: Partially synched with FSF's 20.3.
64 1998-09-10 Hrvoje Niksic <hniksic@srce.hr>
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.
72 1998-09-09 Hrvoje Niksic <hniksic@srce.hr>
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.
80 1998-09-06 Hrvoje Niksic <hniksic@srce.hr>
82 * insdel.c (init_buffer_text): Remove INDIRECT_P parameter.
83 (uninit_buffer_text): Ditto.
85 * buffer.c (Fmake_indirect_buffer): Implement stricter
88 1998-09-04 Hrvoje Niksic <hniksic@srce.hr>
90 * insdel.c (change_function_restore): Reverse order of
91 function-call and assignment.
92 (first_change_hook_restore): Ditto.
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.
100 * extents.h (struct extent_auxiliary): Add before_change_functions
101 and after_change_functions.
103 * insdel.c (signal_before_change): Use it.
104 (signal_after_change): Ditto.
106 * extents.c (report_extent_modification): New function.
108 * insdel.c (signal_before_change): Don't check for Armageddon.
109 (signal_after_change): Ditto.
111 1998-09-11 Gunnar Evermann <Gunnar.Evermann@nats.informatik.uni-hamburg.de>
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.
117 * window.c (Fset_window_start): set start_at_line_beg correctly
118 (Fset_window_buffer): Ditto
120 1998-09-06 Hrvoje Niksic <hniksic@srce.hr>
122 * insdel.c (init_buffer_text): Remove INDIRECT_P parameter.
123 (uninit_buffer_text): Ditto.
125 * buffer.c (Fmake_indirect_buffer): Implement stricter
128 1998-05-14 Jan Vroonhof <vroonhof@math.ethz.ch>
130 * emacs.c (main_1): Removed references to *vars_of_filelock.
132 * lisp.h: Added Fsystem_name.
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).
139 1998-09-06 Jan Vroonhof <vroonhof@math.ethz.ch>
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.
146 1998-08-28 Andy Piper <andyp@parallax.co.uk>
148 * glyphs-eimage.c (png_instantiate_unwind): clean up eimage after use.
150 1998-09-07 Jonathan Harris <jhar@tardis.ed.ac.uk>
152 * fileio.c (file-name-directory, file_name_as_directory):
153 Don't call CORRECT_DIR_SEPS, even when #defined WINDOWSNT.
155 1998-09-02 Andy Piper <andyp@parallax.co.uk>
157 * emacs.c (main_1): init_ralloc() if initialised and we have REL_ALLOC
159 * ralloc.c: uncomment __morecore.
161 1998-09-92 Jonathan Harris <jhar@tardis.ed.ac.uk>
163 * event-msw.c(winsock_writer): Supply a dummy 4th argument to
164 WriteFile() to fix a winsock 1.x bug on Win95.
166 1998-08-28 Hrvoje Niksic <hniksic@srce.hr>
168 * event-Xt.c (emacs_Xt_mapping_action): Check for device being
170 (x_event_to_emacs_event): Ditto.
171 (emacs_Xt_handle_focus_event): Ditto.
172 (emacs_Xt_handle_magic_event): Ditto.
174 * console-x.h (struct x_device): New flag being_deleted.
175 (DEVICE_X_BEING_DELETED): New macro.
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
181 1998-08-27 Hrvoje Niksic <hniksic@srce.hr>
183 * device-x.c (x-seppuku-on-epipe): Removed.
185 1998-08-26 Gunnar Evermann <Gunnar.Evermann@nats.informatik.uni-hamburg.de>
187 * frame-x.c (x_delete_frame): Flush the X output buffer after
188 calling XtDestroyWidget to ensure that the windows are really
191 1998-08-26 Hrvoje Niksic <hniksic@srce.hr>
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.
197 1998-08-26 P. E. Jareth Hein <jareth@camelot.co.jp>
199 * glyphs-eimage.c (gif_instantiate): Fix a crash in handling
200 interlaced GIF files that are smaller than 4 lines high...
202 1998-08-31 Hrvoje Niksic <hniksic@srce.hr>
204 * buffer.c (map_over_sharing_buffers): Deleted.
206 * insdel.c (MAP_INDIRECT_BUFFERS): Move to buffer.h.
208 * buffer.c (Fkill_buffer): Keep indirect_children updated while
211 1998-08-31 Hrvoje Niksic <hniksic@srce.hr>
213 * insdel.c (buffer_insert_string_1): Advance the point bytind in
215 (buffer_delete_range): Ditto.
217 * marker.c (init_buffer_markers): Set point-marker to the value of
218 point in an indirect buffer.
220 1998-08-30 Hrvoje Niksic <hniksic@srce.hr>
222 * undo.c (undo_prelude): Test last-undo-buffer against base
225 * insdel.c (MAP_INDIRECT_BUFFERS): Use it.
227 * buffer.h (BUFFER_BASE_BUFFER): New macro.
229 1998-08-30 Hrvoje Niksic <hniksic@srce.hr>
231 * insdel.c (init_buffer_text): Initialize it here.
233 * line-number.c: Address line_number_cache through buffer->text.
235 * buffer.c (mark_buffer): Mark line number cache.
237 * bufslots.h (line_number_cache): Move to struct buffer_text.
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.
246 * insdel.c (MAP_INDIRECT_BUFFERS): New macro.
248 * buffer.c (Fmake_indirect_buffer): Uncomment.
250 1998-08-31 Hrvoje Niksic <hniksic@srce.hr>
252 * macros.c (Fend_kbd_macro): Remove trailing period from error
254 (Fexecute_kbd_macro): Ditto.
256 1998-08-21 Greg Klanderman <greg@alphatech.com>
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.
263 1998-08-19 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
265 * lread.c (vars_of_lread): Removed `source-directory' variable.
267 1998-08-22 Hrvoje Niksic <hniksic@srce.hr>
269 * fileio.c (Ffile_readable_p): Apply the DOS/Windows logic to
272 1998-08-19 SL Baur <steve@altair.xemacs.org>
274 * dired.c (vars_of_dired): Fix misapplied patch.
276 1998-08-16 Martin Buchholz <martin@xemacs.org>
278 * fns.c (Fremrassq, remrassq_no_quit):
279 A XCAR that should have been an XCDR turned Fremrassq into Fremassq
281 1998-07-17 Didier Verna <verna@inf.enst.fr>
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.
289 1998-08-09 Jonathan Harris <jhar@tardis.ed.ac.uk>
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
295 1998-08-07 Matt Stupple <matts@tibco.com>
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.
303 1998-08-09 Jonathan Harris <jhar@tardis.ed.ac.uk>
305 * menubar-msw.c (displayable_menu_item): take account of menu
306 depth when deciding whether to try to display accelerators.
308 1998-08-04 Andy Piper <andyp@parallax.co.uk>
310 * event-msw.c: use MsgWaitForMultipleObjects if there are no
313 * glyphs-msw.c: fix a couple of potential handle leaks.
315 1998-08-04 P. E. Jareth Hein <jareth@camelot.co.jp>
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.
322 1998-07-20 Martin Buchholz <martin@xemacs.org>
324 * casefiddle.c (casify_object):
325 Change algorithm from O(N**2) to O(N).
329 1998-07-22 Greg Klanderman <greg@alphatech.com>
331 * dired.c (file_name_completion_unwind): don't leak the cons.
333 1998-07-20 Greg Klanderman <greg@alphatech.com>
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.
341 1998-07-29 P. E. Jareth Hein <jareth@camelot.co.jp>
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.
347 1998-07-23 Martin Buchholz <martin@xemacs.org>
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
353 * gui-x.c (menu_name_to_accelerator): tolower wants an `int'
356 1998-07-27 Gunnar Evermann <Gunnar.Evermann@nats.informatik.uni-hamburg.de>
358 * callint.c (Fcall_interactively): GCPRO prompt string before
359 passing it to Fread_key_sequence
361 1998-07-27 SL Baur <steve@altair.xemacs.org>
363 * keymap.c (vars_of_keymap): Initialize Vkey_translation_map and
364 Vvertical_divider_map.
366 * mule-canna.c (vars_of_mule_canna): Initialize every symbol to
367 Qnil or 0, none were initialized prior to this change.
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.
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
424 1998-07-16 Jan Vroonhof <vroonhof@math.ethz.ch>
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.
430 1998-07-19 SL Baur <steve@altair.xemacs.org>
432 * XEmacs 21.2-beta1 is released.
434 1998-07-12 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
436 * eldap.c (Fldap_search_internal): When converting the list of
437 attributes to search Copy the final 0 from Lisp strings to C
439 Check base, not Vldap_default_base as a a string
441 1998-07-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
443 * nt.c: Remove Vstdio_str; already defined in console-stream.c.
445 * unexnt.c: Unconditionally define bss_start and bss_size, and
446 ensure that they don't go in the .bss section.
448 1998-07-17 Olivier Galibert <galibert@pobox.com>
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>
454 1998-07-18 SL Baur <steve@altair.xemacs.org>
456 * glyphs-msw.c (mswindows_resource_normalize): Qresource ->
458 From Jonathan Harris <jhar@tardis.ed.ac.uk>
460 1998-07-12 SL Baur <steve@altair.xemacs.org>
462 * general.c (syms_of_general): Add defsymbol for Qresource.
464 * glyphs-msw.c (vars_of_glyphs_mswindows): Rename Qresource to
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'.
474 * XEmacs 21.0-pre5 is released.
476 1998-07-10 SL Baur <steve@altair.xemacs.org>
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.
482 1998-07-09 SL Baur <steve@altair.xemacs.org>
484 * XEmacs 21.0-pre4 is released.
486 1998-07-01 James N. Potts <jnpotts@plutonium.net>
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.
493 1998-07-09 Jonathan Harris <jhar@tardis.ed.ac.uk>
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.
499 * unexnt.c, ntheap.h:
500 Removed unused find_section() and get_section_size().
503 Fix up the executable's checksum after dumping otherwise the
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.
511 1998-07-09 Jonathan Harris <jhar@tardis.ed.ac.uk>
513 * filelock.c: Removed Vconfigure_lock_directory - already
516 * frame-msw.c: Removed Qinitially_unmapped and Qpopup - already
517 defined in frame.c and general.c respectively.
519 * glyphs-msw.c: Removed Qresource - already defined in
522 1998-07-05 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
524 * eldap.c (Fldap_search_internal): Docstring fixes
526 1998-07-04 Jonathan Harris <jhar@tardis.ed.ac.uk>
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.
533 * s/windowsnt.h: Don't define EMACS_CONFIGURATION here because
534 it is now defined at build-time by the makefile.
536 1998-07-01 James N. Potts <jnpotts@plutonium.net>
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.
543 1998-07-05 Andy Piper <andyp@parallax.co.uk>
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.
549 1998-07-06 Olivier Galibert <galibert@pobox.com>
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.
554 1998-06-29 Kyle Jones <kyle_jones@wonderworks.com>
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.
561 1998-06-24 Jonathan Harris <jhar@tardis.ed.ac.uk>
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.
567 1998-06-24 Adrian Aichner <aichner@ecf.teradyne.com>
569 * process-nt.c (nt_create_process): Try appending the standard
570 executable file extensions to the filename if none supplied.
572 1998-06-29 SL Baur <steve@altair.xemacs.org>
574 * fileio.c (Fsubstitute_in_file_name): Enable double slash notation
576 From Keisuke Mori <ksk@ntts.com>
578 1998-06-24 Andy Piper <andyp@parallax.co.uk>
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.
585 1998-06-29 Kyle Jones <kyle_jones@wonderworks.com>
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
592 1998-06-29 SL Baur <steve@altair.xemacs.org>
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.
603 1998-06-22 Jonathan Harris <jhar@tardis.ed.ac.uk>
605 * event-msw.c: Guard against recursion when freeing
606 FRAME_MSWINDOWS_TARGET_RECT struture in WM_SIZE processing.
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
612 1998-06-27 Hrvoje Niksic <hniksic@srce.hr>
614 * scrollbar.c (vertical_scrollbar_changed_in_window): Ditto.
616 * winslots.h: Rename.
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.
623 1998-06-22 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
625 * unexaix.c: Line number information works correctly again.
627 1998-06-22 Olivier Galibert <galibert@pobox.com>
629 * emacs.c (__sti__iflPNGFile_c___): Added. See comment. Cry.
631 1998-06-21 Martin Buchholz <martin@xemacs.org>
633 * editfns.c (get_home_directory): ANSIfy.
634 XEmacs is compilable under C *and* C++.
635 It's XEmacs, not Xemacs!
637 1998-06-19 Jonathan Harris <jhar@tardis.ed.ac.uk>
639 * console-msw.h: added a list of fonts to device data.
641 * device-msw.c: enumerate list of available fonts in
642 mswindows_init_device. Free list in mswindows_delete_device.
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.
649 1998-06-23 Greg Klanderman <greg@alphatech.com>
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.
655 * redisplay.c (decode_mode_spec): for current-column, show
656 window's point's column, not buffer's point's column.
658 1998-06-23 Andy Piper <andyp@parallax.co.uk>
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
665 * console-msw.h: declare mswindows_enqueue_magic_event.
667 * event-msw.c (mswindows_enqueue_magic_event): make global.
669 1998-06-24 Hrvoje Niksic <hniksic@srce.hr>
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.
675 1998-06-21 Olivier Galibert <galibert@pobox.com>
677 * lisp-disunion.h (XMARKBIT): Have XMARKBIT return something
678 suitable for an int used as a boolean (btw, C sucks.).
680 1998-06-18 Andy Piper <andyp@parallax.co.uk>
682 * object-msw.c: remove warnings.
684 * device-msw.c: #define wrongly named cygwin structure elements.
686 * s/cygwin32.h: define DEMI_BOLD
688 1998-06-19 Jonathan Harris <jhar@tardis.ed.ac.uk>
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.
694 1998-06-19 Jonathan Harris <jhar@tardis.ed.ac.uk>
696 * console-msw.h: added a list of fonts to device data.
698 * device-msw.c: enumerate list of available fonts in
699 mswindows_init_device. Free list in mswindows_delete_device.
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.
706 1998-06-15 Jonathan Harris <jhar@tardis.ed.ac.uk>
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.
713 1998-06-19 David Bush <david.bush@adn.alcatel.com>
715 * editfns.c (Fuser_login_name): Modify to user new function
717 (user_login_name): C only function to avoid Lisp object overhead
718 Returns "unknown" instead of nil in Cygwin environment
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.
724 * lisp.h: Declare user_login_name
726 1998-06-18 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
728 * unexaix.c (make_hdr): Fixed bias computations so debugging info
730 Some other insignificant nitpicks.
732 1998-06-18 Andy Piper <andyp@parallax.co.uk>
734 * toolbar-msw.c (mswindows_output_toolbar): specify ILC_MASK when
735 creating the image list and make sure he bk color is transparent.
737 1998-06-18 Jan Vroonhof <vroonhof@math.ethz.ch>
739 * event-Xt.c (emacs_Xt_remove_timeout): Also remove timeout from
740 completed_timeouts. The timer could have expired.
742 1998-06-17 Andy Piper <andyp@parallax.co.uk>
744 * console-msw.h: move XEMACS_RECT_WH inside frame
745 parameters. define macors to access it.
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.
759 * event-msw.c: in WM_SIZE use mswindows_size_frame_internal rather
760 than duplicated code.
762 1998-06-15 Colin Rafferty <colin@xemacs.org>
764 * Makefile.in.in: Made EXTW_LINK expand properly.
766 1998-06-12 Martin Buchholz <martin@xemacs.org>
768 * redisplay.c (vars_of_redisplay): default value of
769 column-number-start-at-one should be NIL!
771 1998-06-11 Martin Buchholz <martin@xemacs.org>
774 (upcase-initials "fooBar") ==> "FooBar" instead of "Foobar"
776 1998-06-05 Hrvoje Niksic <hniksic@srce.hr>
778 * eldap.c (Fldap_search_internal): Use build_ext_string instead of
779 build_string to avoid crashes under Mule.
781 1998-06-13 Andy Piper <andyp@parallax.co.uk>
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.
786 1998-06-10 Samuel Mikes <smikes@alumni.hmc.edu>
788 * fileio.c (directory-sep-char): Escape backslashes.
790 1998-06-10 Hrvoje Niksic <hniksic@srce.hr>
792 * event-stream.c: Fix docstring reference.
794 1998-06-12 Hrvoje Niksic <hniksic@srce.hr>
796 * alloc.c (make_float): Remove useless initialization of `next'
798 (make_pure_float): Ditto.
800 * lisp.h (struct Lisp_Float): Rename `next' to `__unused__next'.
802 1998-06-08 Kirill M. Katsnelson <kkm@kis.ru>
804 * fileio.c (Fmake_directory_internal): Remove conditionals
805 on WINDOWSNT when calling mkdir.
807 * ntproc.c: Deleted the following unused functions:
808 register_child, reap_subprocess, sys_wait.
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,
815 Merger sys_fopen and sys_open with sysdep.c implementation.
817 * sysdep.c: Removed MS-DOS code.
818 (sys_rename): Deal with Microsoft rename weirdness.
819 (sys_open): Implemented for Windows.
823 1998-06-08 Kirill M. Katsnelson <kkm@kis.ru>
825 * buffer.c (complex_vars_of_buffer): Removed %t description from
828 1998-06-04 Rick Rankin <Rick_Rankin-P15254@email.mot.com>
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).
835 1998-06-04 Kirill M. Katsnelson <kkm@kis.ru>
837 * event-stream.c: Defined Qcancel_mode_internal.
838 (syms_of_event_stream): defsymbol'ed it.
840 * events.h: Externed it.
842 * event-msw.c (mswindows_wnd_proc, WM_CANCELMODE): Added this handler.
844 1998-06-04 Oliver Graf <ograf@fga.de>
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
851 1998-06-03 Kirill M. Katsnelson <kkm@kis.ru>
853 * process-nt.c (signal_cannot_launch): Use signal_simple_error()
856 1998-06-03 Kirill M. Katsnelson <kkm@kis.ru>
858 * dialog-msw.c (button_width): Removed `inline' from the function
861 1998-06-03 Rick Rankin <Rick_Rankin-P15254@email.mot.com>
863 * frame-msw.c: add WS_VISIBLE flag to the first frame created.
864 Note that adding this flag to subsequent frames causes problems.
866 1998-06-03 Gunnar Evermann <Gunnar.Evermann@nats.informatik.uni-hamburg.de>
868 * glyphs-eimage.c (png_instantiate) move 'struct
869 png_memory_storage tbr' out of nested block to avoid dangling
872 1998-06-02 Andy Piper <andyp@parallax.co.uk>
875 * faces.c: rename 3d-object -> gui-element. add toolbar face which
876 inherits from gui-element.
878 * glyphs-msw.c: use DIBitmaps for xbm bitmaps to be consistent
879 with existing code, generate masks correctly.
881 1998-06-03 P. E. Jareth Hein <jareth@camelot-soft.com>
883 * glyphs-eimage.c: Changed included header for gifs to use
884 Gifreader instead of giflib.
886 * glyphs-x.c: removed the image-related functions that were
887 moved into glyphs-eimage.
889 1998-06-02 David Bush <david.bush@adnb.alcatel.com>
891 * glyphs.c (bitmap_to_lisp_data) Define XFree to be free
892 if built without X Windows support.
894 1998-06-02 Hrvoje Niksic <hniksic@srce.hr>
896 * fns.c (Fconcat): Synch docstring with new reality.
898 1998-06-03 SL Baur <steve@altair.xemacs.org>
900 * frame.c: Remove reference to msdos.h (which is going away).
901 Suggested by Hrvoje Niksic and Kirill Katsnelson.
903 1998-06-02 P. E. Jareth Hein <jareth@camelot-soft.com>
905 * glyphs-eimage.c (jpeg_instantiate): Fix handling of
909 1998-05-30 Kirill M. Katsnelson <kkm@kis.ru>
911 * events.h: Fixed commentary about misc-user scrollbar events.
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.
917 1998-05-29 Andy Piper <andyp@parallax.co.uk>
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
924 1998-06-01 SL Baur <steve@altair.xemacs.org>
926 * mule-mcpath.c (mc_chdir): Reverse parameters in call to memcpy.
927 * msdos.c (Frecent_doskeys): Ditto.
929 * unexalpha.c (unexec): Reverse parameters in call to memcpy.
930 Suggested by Reggie Perry <perry@zso.dec.com>
932 * buffer.h: Eliminate size in declaration.
934 1998-06-01 Olivier Galibert <galibert@pobox.com>
936 * unexelfsgi.c (unexec): Cleanup n/nn and remove useless kludge.
938 1998-06-01 Kirill M. Katsnelson <kkm@kis.ru>
940 * gui.c (gui_item_init): Changed the default value for config member
941 from Qunbound to Qnil.
943 1998-06-01 Greg Klanderman <greg@alphatech.com>
945 * indent.c (vmotion_pixels): Don't #define abs().
947 1998-05-30 Kirill M. Katsnelson <kkm@kis.ru>
949 * s/windowsnt.h: Defined popen and pclose to be _popen and _pclose
952 1998-05-30 Andy Piper <andyp@parallax.co.uk>
954 * glyphs.h: add xbm declarations.
956 * console.h: add xbm_instantiate_method device method.
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.
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.
969 * glyphs-msw.c (read_bitmap_data) (NextInt)
970 (read_bitmap_data_from_file): new functions copied from Xmu
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
978 1998-05-30 Kirill M. Katsnelson <kkm@kis.ru>
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
985 * procimpl.h (struct process_methods): Changed semantics of
986 create_process method so it accepts lisp strings instead of
989 * process.c (Fstart_process_internal): Moved building of
990 unix style argv from here to process-unix.c, ...
992 * process-unix.c (unix_create_process): ... right here.
994 * process-nt.c (nt_create_process): Changed this function to
995 support new semantics, so avoided a GC problem.
997 * events.c (Fmake_event): Document misc-user events properties.
998 (Fmake_event): Do not allow arbitrary objects for channel property
1000 (Fmake_event): Change misc-user event validation: it is function
1001 which is required, not button.
1003 * event-msw.c (mswindows_user_event_p): Recognize misc user events as
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.
1013 * console-msw.h: Removed prototype for mswindows_bump_queue().
1014 Added prototype for mswindows_enqueue_misc_user_event().
1016 * menubar-msw.c (mswindows_handle_wm_command): Use
1017 mswindows_enqueue_misc_user_event().
1019 * toolbar-msw.c (mswindows_handle_toolbar_wm_command): Ditto.
1021 * dialog-msw.c (dialog_proc): Ditto.
1023 * scrollbar-msw.c (mswindows_handle_scrollbar_event): Ditto.
1024 (mswindows_handle_scrollbar_event): Use frame, not window, for misc
1025 user events channel.
1027 1998-05-29 Greg Klanderman <greg@alphatech.com>
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.
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
1037 1998-05-30 Kirill M. Katsnelson <kkm@kis.ru>
1039 * toolbar.h: Removed misleading commentary, as Martin suggested.
1041 1998-05-30 Kirill M. Katsnelson <kkm@kis.ru>
1043 * lisp.h: Extern Qactivate_menubar_hook.
1045 * menubar-msw.c (unsafe_handle_wm_initmenu_1): Pass correct value to
1048 1998-05-29 Andy Piper <andyp@parallax.co.uk>
1050 * glyphs-msw.c: use BPLINE macro.
1052 * select-msw.c (mswindows-selection-exists-p)
1053 (mswindows-delete-selection): doc string fixes.
1055 * toolbar-msw.c (mswindows_output_toolbar): make disabled buttons
1056 unpressable. warning elimination.
1058 1998-05-28 Martin Buchholz <martin@xemacs.org>
1060 * alloc.c (dbg_constants):
1063 Remove toolbar_data debugging code, since that lrecord has
1066 Wed May 27, 1998 Darryl Okahata <darrylo@sr.hp.com>
1068 * alloc.c: zap cached value of (user-home-directory), so that
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.
1077 * buffer.h: Added extern entries for initial_directory[] and
1078 init_initial_directory().
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.
1088 * emacs.c: Rearrange NT initialization order so that
1089 environment/registry variables will be properly entered into
1090 Vprocess_enviroment.
1092 * fileio.c: replaced egetenv("HOME") with calls to the new
1093 get_home_directory().
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.
1099 * nt.c: replaced getenv("HOME") with calls to the new
1100 get_home_directory().
1102 * sysfile.h: for WINDOWSNT, #include <direct.h>, to suppress
1103 warnings about getcwd(), etc. not having prototypes.
1105 1998-05-28 Kirill M. Katsnelson <kkm@kis.ru>
1107 * process-nt.c (send_signal): Emulate SIGHUP.
1108 (validate_signal_number): Ditto.
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
1115 1998-05-24 Oliver Graf <ograf@fga.de>
1117 * frame-x.c (cde-start-drag-internal): added filename and multi-
1119 (x_cde_convert_callback) dito
1121 1998-05-26 Oliver Graf <ograf@fga.de>
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
1127 1998-05-25 Hans Guenter Weigand <hgweigand@wiesbaden.netsurf.de>
1134 - add __OpenBSD__ where __NetBSD__ was found.
1135 - TODO: replace platform-specific conditional compilation by
1136 feature tests in configure.in.
1138 1998-05-15 Greg Klanderman <greg@alphatech.com>
1140 * window.c (Fwindow_displayed_text_pixel_height): New function.
1141 (syms_of_window): DEFSUBR it.
1143 * indent.c (Fvertical_motion_pixels): New function - request
1145 (vmotion_pixels): helper.
1146 (syms_of_indent): DEFSUBR.
1147 * lisp.h: declaration for vmotion_pixels().
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
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.
1157 * window.c: rename window-text-pixel-{height,width,edges} to
1158 window-text-area-pixel-*.
1160 1998-05-26 Gunnar Evermann <Gunnar.Evermann@nats.informatik.uni-hamburg.de>
1162 * tooltalk.c (vars_of_tooltalk) added staticpro for
1163 Tooltalk_Message_plist_str and Tooltalk_Pattern_plist_str
1165 1998-05-27 Andy Piper <andyp@parallax.co.uk>
1167 * faces.c: create a new 3d_object_face, make modeline and
1168 vertical_divider faces fallback to this rather than the default.
1170 1998-05-21 Andy Piper <andyp@parallax.co.uk>
1172 * s/cygwin32.h: define charsets for cygwin.
1174 1998-05-25 Andy Piper <andyp@parallax.co.uk>
1176 * toolbar-msw.c (mswindows_output_toolbar): fix up button sizes
1177 and coordinates. resize bitmaps if we have already settled on a
1180 * glyphs-msw.c (xpm_to_eimage): add ';' for mswindows compiler.
1182 1998-05-25 Hrvoje Niksic <hniksic@srce.hr>
1184 * toolbar-msw.c (mswindows_handle_toolbar_wm_command): Ditto.
1186 * menubar-msw.c (mswindows_handle_wm_command): Ditto.
1190 * gui-x.c (popup_selection_callback): Ditto.
1192 * dialog-msw.c (dialog_proc): get_callback -> get_gui_callback.
1194 * gui.c (get_callback): Renamed to get_gui_callback.
1196 1998-05-17 Martin Buchholz <martin@xemacs.org>
1198 * glyphs.h: order rearrangement.
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.
1204 1998-05-24 Martin Buchholz <martin@xemacs.org>
1206 * general.c: multiple definition of `Qicon'. general.c seems
1207 like a good home for Qicon.
1209 1998-05-20 Kirill M. Katsnelson <kkm@kis.ru>
1211 * This patch is to fix compilation warnings under Windows.
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).
1219 * sysfloat.h (logb): Finally, get logb() prototyped.
1221 * sysfile.h: Added Windows specific includes.
1222 Removed old Windows specific code bracketed with #if 0.
1224 * sysdep.h: Added prototype for xrealpath().
1226 * sysdep.c (sys_getpid): Added function, to support '95 negative pids.
1228 * symsinit.h: Added prototypes for syms_of_dired_mswindows,
1229 vars_of_dired_mswindows and init_ntproc (Grrr).
1231 * realpath.c: Added Windows specific include files.
1232 (xrealpath): Conditionalized declaration of some auto variables on
1233 S_IFLNK, to avoid warnings.
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
1243 * nt.h: Added prototypes for set_process_dir and convert_time.
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.
1258 * floatfns.c (Flogb): Casted arguments to unary minus to signed.
1260 * gmalloc.c (morecore): Ditto.
1261 (_free_internal): Ditto.
1263 * lread.c (parse_integer): Ditto.
1265 * dired-msw.c: Added several include files.
1267 * cmdloop.c (Fcommand_loop_1): Added Microsoft C to the Big List
1268 of Compilers to Shut Up.
1270 * callproc.c: Added #includes to suppress warnings under Windows.
1271 (init_callproc): Removed #if0'ed code and unused variables.
1273 1998-05-25 Andy Piper <andyp@parallax.co.uk>
1275 * device-msw.c (mswindows_device_system_metrics): do planes in a
1276 way consistent with X.
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.
1282 * toolbar-msw.c: only resize bitmaps when shrinking. Adjust look
1283 to be closer to X version.
1285 * event-msw.c: use tooltip string directly.
1287 * redisplay-msw.c: reinstate Kirill's bg pixmap change.
1289 * objects-msw.c: frob rgb colors that only Kyle uses.
1291 * dialog-msw.c (button_width): INLINE -> inline.
1293 1998-05-23 SL Baur <steve@altair.xemacs.org>
1295 * getloadavg.c (getloadavg): Fix typo.
1297 1998-05-23 Kirill M. Katsnelson <kkm@kis.ru>
1299 * objects-msw.c (mswindows_initialize_font_instance): Added support
1300 for font character sets.
1301 Replaced 'XXX' with '####' in comments throughout the file.
1303 1998-05-23 Kirill M. Katsnelson <kkm@kis.ru>
1305 * emacs.c (main_1): Added calls to vars_of_dialog_mswindows() and
1306 console_type_create_dialog_mswindows(), to initialize Windows dialog
1309 * symsinit.h: Prototyped the above functions.
1311 * dialog-x.c (x_popup_dialog_box): Moved dialog descriptor consistency
1312 checks to dialog.c...
1314 * dialog.c (Fpopup_dialog_box): ...right here. Added more checks: a
1315 device must support dialog boxes, and the descriptor must supply at
1318 * dialog-msw.c: New file, dialogs for Windows.
1320 1998-05-21 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
1322 * eldap.c (ldap_search_unwind): Return Qnil instead of nothing
1323 (Fldap_search_internal): Removed unused variable `err'
1325 * eldap.h: Moved Lisp_LDAP declaration here instead of using a
1328 1998-05-17 Martin Buchholz <martin@xemacs.org>
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.
1336 * inline.c: Include eldap.h only if HAVE_LDAP.
1337 * inline.c: Don't bother including TT_C_H_PATH, since tooltalk.h
1340 1998-05-21 Kirill M. Katsnelson <kkm@kis.ru>
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.
1346 1998-05-21 Andy Piper <andyp@parallax.co.uk>
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.
1352 1998-05-20 Andy Piper <andyp@parallax.co.uk>
1355 * lisp.h: Qbitmap, Qcursor, Qicon moved here from glyphs-msw.c.
1357 * glyphs-msw.c: change cursor imgae type name to resource. Fix
1360 1998-05-20 Kirill M. Katsnelson <kkm@kis.ru>
1362 * EmacsFrame.c (Xt_StringToScrollBarPlacement): Added support for
1363 {top,bottom}-{left,right} values in addition to
1364 {top,bottom}_{left,right}.
1366 1998-05-18 Hrvoje Niksic <hniksic@srce.hr>
1368 * fileio.c (Fmake_temp_name): Remove unreached code.
1370 * process-nt.c (validate_signal_number): Use
1371 signal_simple_error().
1373 1998-05-19 Martin Buchholz <martin@xemacs.org>
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
1385 1998-05-19 Andy Piper <andyp@parallax.co.uk>
1387 * glyphs-msw.c (mswindows_create_resized_mask)
1388 (mswindows_create_resized_bitmap): new funnctions split out from
1389 mswindows_resize_dibitmap_instance.
1391 * glyphs-msw.h: declare new resize functions.
1393 * toolbar-msw.c (mswindows_output_toolbar): use new bitmap resize
1394 functions so that the original bitmaps are preserved.
1396 * sheap.c: fixup static heap exhausted error to avoid FAQs.
1398 * redisplay-msw.c (mswindows_output_blank): fixup brush from bg
1399 color if we are trying to output 0 depth bg pixmap.
1401 * scrollbar-msw.c: warning elimination.
1403 1998-05-18 Martin Buchholz <martin@xemacs.org>
1405 * frame-x.c (x_update_frame_external_traits): Start preprocessor
1406 directives in column 1.
1408 * search.c (skip_chars): Avoid using xzero with arrays, since some
1409 compilers get confused by the construct &array.
1411 1998-05-18 Kirill M. Katsnelson <kkm@kis.ru>
1414 * objects-msw.c: Changed the charset value for a new font from
1415 "don't care" to "ansi".
1417 * glyphs-msw.c (convert_EImage_to_DIBitmap): Warnings fix.
1419 1998-05-18 Kirill M. Katsnelson <kkm@kis.ru>
1421 * event-msw.c (mswindows_wnd_proc, WM_KEYDOWN): Do not clear shift
1422 modifier on control chars.
1423 Use IsCharAlpha() instead of isaplha().
1425 1998-05-19 Kazuyuki IENAGA <ienaga@jsys.co.jp>
1427 * s/freebsd.h: FreeBSD 2.2.6 now supports setlocale(LC_ALL, "").
1429 1998-05-18 Kirill M. Katsnelson <kkm@kis.ru>
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
1435 (mswindows_finalize_color_instance): Do not delete it then.
1437 * objects-msw.h (struct mswindows_color_instance_data): Removed
1438 brush slot, and corresponding accessor macro.
1440 1998-05-18 Kirill M. Katsnelson <kkm@kis.ru>
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.
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.
1467 * toolbar-x.c (x_output_toolbar): The same change as in
1469 (x_output_toolbar): Ditto.
1470 (x_redraw_exposed_toolbar): Ditto.
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.
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.
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.
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.
1495 1998-05-17 Kirill M. Katsnelson <kkm@kis.ru>
1497 * symsinit.h: Externed syms_of_process_nt()
1499 * emacs.c (main_1): Call syms_of_process_nt()
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.
1509 1998-05-17 Martin Buchholz <martin@xemacs.org>
1511 * window.c (have_undivided_common_edge): Make file-local function
1513 (map_windows): Return 0 if all map functions successful.
1516 * winslots.h: Use unlikely names for local variables in macros to
1517 avoid shadowing warnings.
1519 1998-05-17 Andy Piper <andyp@parallax.co.uk>
1521 * toolbar-msw.c (mswindows_output_toolbar): hash on toolbar width
1522 so that we re-output if the toolbar size has changed.
1524 1998-05-17 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
1526 * s/aix4-2.h (ALIGN_DATA_RELOC): Undefined to support new unexaix.c.
1528 * s/aix3-1.h (ALIGN_DATA_RELOC): Defined to support new unexaix.c.
1530 * unexaix.c: Massive cleanup and support of AIX 4.2 (and hopefully
1533 1998-05-16 Kirill M. Katsnelson <kkm@kis.ru>
1535 * glyphs-msw.c: Defined OEMRESOURCE before including windows.h to
1536 get bitmap manifest constants defined.
1538 * console-msw.h: Include system files in angle brackets, not in
1541 * window.c (specifier_vars_of_window): Fixed a typo in
1542 `vertical-divider-line-width' docstirng.
1544 1998-05-16 Olivier Galibert <galibert@pobox.com>
1546 * line-number.c (delete_invalidate_line_number_cache): Use an
1548 (buffer_line_number): Remove dangerous, plain wrong when using
1549 64bits emacs ints, cast.
1551 * insdel.c (buffer_delete_range): Use an EMACS_INT.
1553 * cmds.c (Fforward_line): Use EMACS_INTs.
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.
1562 * lisp.h: Change scan_buffer to pass EMACS_INTs.
1564 1998-05-16 Hrvoje Niksic <hniksic@srce.hr>
1566 * menubar-msw.c (mswindows_handle_wm_command): Ditto.
1568 * toolbar-msw.c (mswindows_handle_toolbar_wm_command): Ditto.
1570 * gui-x.c (popup_selection_callback): Use it.
1572 * gui.h (get_callback): Declare it.
1574 * gui.c (get_callback): New function.
1576 1998-05-15 SL Baur <steve@altair.xemacs.org>
1578 * window.c (have_undivided_common_edge): Guard scrollbar specific
1580 (window_needs_vertical_divider_1): Ditto.
1582 1998-05-16 Hrvoje Niksic <hniksic@srce.hr>
1584 * emacs.c (decode_path): Eliminate compiler warning.
1585 (Fdecode_path): Renamed to Fsplit_path.
1586 (Fsplit_string_by_char): New function.
1588 1998-05-14 Damon Lipparelli <lipp@primus.com>
1590 * winslots.h: close comment
1592 1998-05-16 Kirill M. Katsnelson <kkm@kis.ru>
1594 * callproc.c: Removed declared and unused variable Qbuffer_file_type.
1596 * bufslots.h: Removed buffer_file_type slot.
1598 * buffer.c (complex_vars_of_buffer): Removed buffer_file_type from
1600 (complex_vars_of_buffer): Removed buffer-file-type variable and
1601 its default reference.
1603 1998-05-15 Kirill M. Katsnelson <kkm@kis.ru>
1605 * faces.c (complex_vars_of_faces): Defined
1606 Vvertical_divider_face.
1607 (vars_of_faces): Staticpro it.
1609 * faces.h: Externed Vvertical_divider_face.
1611 * redisplay-x.c (x_output_vertical_divider): Use
1612 Vvertical_divider_face to draw the divider instead of modeline
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.
1619 1998-05-14 Didier Verna <verna@inf.enst.fr>
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.
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.
1631 * winslots.h: new slots: vertical_specifier _line_width and
1632 _spacing. Plus corrected a comment typo.
1634 1998-05-15 Kirill M. Katsnelson <kkm@kis.ru>
1636 * window.h: Declared window_divider_width().
1638 * console-stream.c (stream_divider_width): Removed method.
1639 (console_type_create_stream): And declaration for it.
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.
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.
1653 * scrollbar.c (update_scrollbar_instance): Use
1654 window_divider_width() instead of divider_width redisplay method.
1656 * console.h (struct console_methods): Removed divider_width_method.
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.
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.
1668 1998-05-15 Andy Piper <andyp@parallax.co.uk>
1670 * toolbar-msw.c: guess toolbar frame size a bit more accurately.
1672 1998-05-15 Andy Piper <andyp@parallax.co.uk>
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.
1683 1998-05-14 Martin Buchholz <martin@xemacs.org>
1685 * sysdep.c (tty_init_sys_modes_on_device): Treat VSUSP just like
1688 * process-unix.c (process_signal_char): Use VSUSP instead of
1689 non-standard VSWTCH. Always prefer VSUSP to VSWTCH.
1691 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
1693 * specifier.c (specifier_instance): Change locale precedence of
1694 instantiation so window locale has higher priority than buffer
1696 (Fspecifier_instance): Reflect this in docstring.
1697 (Fadd_spec_list_to_specifier): Ditto.
1698 (Fadd_spec_to_specifier): Ditto.
1699 (Fremove_specifier): Ditto.
1701 1998-05-15 Kirill M. Katsnelson <kkm@kis.ru>
1703 ** Dialog separation into a device method from Andy Piper
1705 * emacs.c (main_1): Call console_type_create_dialog_x().
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.
1711 * dialog.c (Fpopup_dialog_box): New function.
1712 (syms_of_dialog): Defsubr it.
1714 * console.h (struct console_methods): Declared
1715 popup_dialog_box_method().
1717 * symsinit.h: Defined console_type_create_dialog_{x,mswindows}
1719 1998-05-14 Oliver Graf <ograf@fga.de>
1721 * dragdrop.c (vars_of_dragdrop): dragdrop-protocols created
1722 * frame-x.c (x_cde_transfer_callback): checked for merge errors
1724 1998-05-13 Oliver Graf <ograf@fga.de>
1726 * dragdrop.c (vars_of_dragdrop): provide dragdrop-api
1728 1998-05-15 Kirill M. Katsnelson <kkm@kis.ru>
1730 * console.h (device_metrics): Removed dbcs, input-method-editor
1731 and right-to-left metrics.
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
1739 1998-05-14 Hrvoje Niksic <hniksic@srce.hr>
1741 * line-number.h (mark_line_number_cache): Remove unused
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.
1748 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
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:
1754 * events.c (Fevent_over_divider_p):
1755 * keymap.c (get_relevant_keymaps):
1758 * redisplay.h (OVER_V_DIVIDER): Renamed so from OVER_DIVIDER.
1760 * redisplay.c (pixel_to_glyph_translation): Use OVER_V_DIVIDER.
1762 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
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
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
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.
1781 * winslots.h: Added vertical_divider_draggable_p slot.
1783 * scrollbar.c (vertical_scrollbar_changed_in_window): Implemented.
1784 (specifier_vars_of_scrollbar): Used it in all vertical specifiers.
1786 * frame.c (invalidate_vertical_divider_cache_in_frame): New function.
1788 * frame.h (MARK_FRAME_WINDOWS_STRUCTURE_CHANGED): Call
1789 invalidate_vertical_divider_cache_in_frame().
1792 1998-05-14 Andy Piper <andyp@parallax.co.uk>
1794 * toolbar-msw.c: provide correct parameters to TB_SETROWS.
1796 * glyphs-msw.c (mswindows_initialize_image_instance_mask): size
1797 masks correctly and don't select 0.
1799 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
1801 * winslots.h: New file, declaration of some struct window and
1802 struct saved_window members.
1804 * window.h (struct window): Include it, with required preprocessor
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.
1814 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
1816 * redisplay-msw.c (mswindows_output_vertical_divider): Syntax fix.
1818 1998-05-12 Didier Verna <verna@inf.enst.fr>
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.
1824 1998-05-12 Didier Verna <verna@inf.enst.fr>
1826 * console.h (struct console_methods): the divider_width console
1827 method now requires a struct window * argument.
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.
1834 * console-stream.c (stream_divider_width): pass a struct window *
1837 * redisplay-tty.c (tty_divider_width): ditto.
1839 * window.c (window_right_gutter_width): totdi.
1841 * redisplay.c (generate_modeline): ittod.
1843 * scrollbar.c (update_scrollbar_instance): ttido.
1845 * redisplay-msw.c (mswindows_divider_width): ottid.
1846 WARNING: this enables to compile, but the feature is not functional.
1848 * window.h (struct window): new field
1849 vertical_divider_shadow_thickness.
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
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.
1863 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
1865 * device-msw.c (mswindows_device_system_metrics): Support a deluge
1868 1998-05-12 Oliver Graf <ograf@fga.de>
1870 * frame-x.c (x_cde_transfer_callback): fixed for the new protocol
1871 * event-Xt.c (x_event_to_emacs_event): C++ compability
1873 1998-05-14 Hrvoje Niksic <hniksic@srce.hr>
1875 * emacs.c (Fdecode_path): Default SEPCHAR to value of
1878 1998-05-14 Hrvoje Niksic <hniksic@srce.hr>
1880 * emacs.c (vars_of_emacs): Do it here; change the meaning of
1883 * fileio.c (vars_of_fileio): Don't define Vpath_separator here.
1885 1998-05-14 Hrvoje Niksic <hniksic@srce.hr>
1887 * emacs.c (decode_path_1): New function.
1888 (decode_path): Use it.
1889 (Fdecode_path): Renamed from Fdecode_path_internal; use
1892 1998-05-12 Hrvoje Niksic <hniksic@srce.hr>
1894 * macros.c (Fzap_last_kbd_macro_event): New function.
1895 (Fend_kbd_macro): Remove REMOVE_LAST kludge.
1897 1998-05-10 Andy Piper <andyp@parallax.co.uk>
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.
1905 1998-05-12 Martin Buchholz <martin@xemacs.org>
1907 * inline.c: Include eldap.h
1909 * menubar-x.c (x_update_frame_menubar_internal):
1910 Remove: unused variable `container'
1912 1998-05-11 Martin Buchholz <martin@xemacs.org>
1914 * s/aix4.h: Allow AIX 4.3 XEmacs to compile cleanly.
1915 Unfortunately, the resulting temacs still cannot dump.
1917 * symbols.c (symbol_is_constant):
1918 (verify_ok_for_buffer_local):
1919 -Wswitch Warning suppression - add default case to switches.
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.
1930 Change empty docstrings into no doc strings at all.
1931 Fix bogus FSF-format docstrings.
1934 Standardize docstrings.
1937 Explain problems with matherr.
1939 * glyphs.c: make DEFUNs etags-readable, i.e. single-line
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)
1948 Take new EMACSBOOTSTRAPLOADPATH into account.
1949 Update documentation strings
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
1962 1998-05-12 Didier Verna <verna@inf.enst.fr>
1964 * redisplay.c: removed the scrolling modeline code that didn't
1965 make it for 21.0. To be continued ...
1967 1998-05-13 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
1969 * emacs.c (Fdecode_path_internal): Removed bogus handling of nil
1970 and empty string inputs.
1972 1998-05-12 Hrvoje Niksic <hniksic@srce.hr>
1974 * redisplay-x.c (x_output_vertical_divider): Fixed typo.
1976 1998-05-10 Oliver Graf <ograf@fga.de>
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
1984 1998-05-11 Oliver Graf <ograf@fga.de>
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]
1992 1998-05-12 Kirill M. Katsnelson <kkm@kis.ru>
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
2001 * scrollbar.c (update_scrollbar_instance): Position vertical
2002 scrollbar left to divider if the latter present.
2004 * redisplay.h: Declared OVER_DIVIER constant.
2006 * redisplay.c (pixel_to_glyph_translation): Handle OVER_DIVIDER
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.
2013 * redisplay-tty.c (tty_output_vertical_divider): Uncondiionally
2014 stick the divider to the right window side.
2016 * redisplay-msw.c (mswindows_redisplay_deadbox_maybe): Fixed
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.
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.
2027 * events.c (Fevent_over_divider_p): Added this function.
2029 * events.h: EXFUNed it.
2031 1998-05-12 Kirill M. Katsnelson <kkm@kis.ru>
2033 * toolbar.c (update_frame_toolbars): Re-layout frame windows if
2034 toolbar geometry is suspected to change.
2036 1998-05-11 Jonathan Harris <jhar@tardis.ed.ac.uk>
2040 Condition dnd and dde code on HAVE_DRAGNDROP.
2042 1998-05-11 Hrvoje Niksic <hniksic@srce.hr>
2044 * events.c (format_event_object): Print space as SPC etc.
2046 1998-05-11 Hrvoje Niksic <hniksic@srce.hr>
2048 * print.c (print_internal): In the default case, abort() if
2049 ERROR_CHECK_TYPECHECK.
2051 * fileio.c (Fmake_temp_name): Doc fix.
2053 1998-05-10 Hrvoje Niksic <hniksic@srce.hr>
2055 * xgccache.c (describe_gc_cache): Define only if DEBUG_XEMACS.
2057 * undo.c (Fprimitive_undo): Fixed typo.
2059 1998-05-11 Hrvoje Niksic <hniksic@srce.hr>
2061 * fns.c (concat): Signal error on integer argument.
2063 1998-05-10 Kirill M. Katsnelson <kkm@kis.ru>
2065 * console.h (device_metrics): Prefixed each constatnt with DM_
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
2073 * device-msw.c (mswindows_device_system_metrics): Renamed
2074 device_metrics enum constants.
2075 Return Qunbound instead of Qnil.
2077 * device-tty.c (tty_device_system_metrics): Ditto.
2079 * device-x.c (x_device_system_metrics): Ditto.
2081 1998-05-10 Andy Piper <andyp@parallax.co.uk>
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
2087 * (mswindows_output_dibitmap_region): new function.
2088 * (mswindows_output_dibitmap): output offset pixmaps, blt masks in
2089 the bg color rather than transparently.
2091 * toolbar-msw.c: use masks if they exist.
2093 * glyphs-msw.c: set up masks correctly.
2095 * event-msw.c: typedef SOCKET if cygwin and not msg select().
2097 1998-05-10 Hrvoje Niksic <hniksic@srce.hr>
2099 * regex.c (re_match_2_internal): Check for quit.
2101 1998-05-10 Hrvoje Niksic <hniksic@srce.hr>
2103 * frame.c (Ffocus_frame): New function.