1 1998-10-15 SL Baur <steve@altair.xemacs.org>
3 * XEmacs 21.2-beta3 is released.
5 1998-10-13 Raymond Toy <toy@rtp.ericsson.se>
7 * runemacs.c (WinMain): If the basename is "rungnuclient.exe", run
8 gnuclient. Otherwise, we run xemacs as we always did. This gets
9 rid of the annoying DOS window when running gnuclient.
11 1998-10-13 Andy Piper <andyp@parallax.co.uk>
13 * dragdrop.c (vars_of_dragdrop): rename HAVE_MSWINDOWS ->
16 1998-10-13 SL Baur <steve@altair.xemacs.org>
18 * process-unix.c (unix_send_process): Set closed flag on writable
19 pipe after SIGPIPE is received and before we call deactivate_process.
21 1998-10-03 Gunnar Evermann <ge204@eng.cam.ac.uk>
23 * window.c (Fset_window_start): respect narrowing when
24 checking wheter start is at the beginning of a line.
25 (Fset_window_buffer): Ditto
26 Fixes repeatable crash in VM.
28 1998-10-09 SL Baur <steve@altair.xemacs.org>
30 * window.c (specifier_vars_of_window): Set default vertical
31 divider width to 1 on ttys.
33 1998-10-08 Martin Buchholz <martin@xemacs.org>
38 Add <stddef.h> to get ptrdiff_t declaration
40 1998-10-07 Jonathan Harris <jhar@tardis.ed.ac.uk>
42 * scrollbar-msw.c: Use the same vertical scrollbar drag hack as
43 is used for Motif or Lucid scrollbars under X.
45 1998-10-08 Pierre Wendling <pw@ebc.vbe.dec.com>
47 * m/alpha.h (UNEXEC): quoted to avoid bad expansion when running
50 1998-10-06 Takeshi Hagiwara <hagiwara@ie.niigata-u.ac.jp>
52 * frame-x.c (x_delete_frame): Fix an argument of XtDestroyWidget.
54 1998-10-05 Andy Piper <andyp@parallax.co.uk>
56 * s/cygwin32.h: more cygwin b20 reorganisation.
58 1998-10-03 Gunnar Evermann <ge204@eng.cam.ac.uk>
60 * window.c (Fset_window_start): Document me.
61 (Fset_window_buffer): Document me.
62 Fixes some sort of repeatable crash.
64 1998-10-01 Raymond Toy <toy@rtp.ericsson.se>
66 * nas.c: Added necessary support functions to be able to handle
67 WAVE files in memory, just like the support for SND files in
70 1998-09-30 SL Baur <steve@altair.xemacs.org>
72 * callproc.c (child_setup): Fix spelling typo.
74 1998-09-29 SL Baur <steve@altair.xemacs.org>
76 * XEmacs 21.2-beta2 is released.
78 1998-09-27 P. E. Jareth Hein <jareth@camelot.co.jp>
80 * regex.c (re_match_2_internal): Add in code to reset lowest_active_reg
81 to prevent memory corruption in the case of jumping out of a series of
82 nested match patterns. This is a rather brute force approach, though.
84 1998-09-02 Andy Piper <andyp@parallax.co.uk>
88 * s/cygwin32.h: rearrange declarations to cope with cygwin
89 b20. Include cygwin32/version.h if it exists.
91 1998-09-20 Jonathan Harris <jhar@tardis.ed.ac.uk>
93 * device-msw.c (mswindows_init_device): Call new
94 mswindows_enumerate_fonts() function in objects-msw.c instead
95 of font_enum_callback_1() to enumerate fonts.
97 font_enum_callback_1() and _2() moved to objects-msw.c.
99 * faces.c (complex_vars_of_faces): Make the mswindows default
100 face font fully specified and provide some fallbacks.
102 * objects-msw.c: font_enum_callback_1() and _2() moved here
103 from objects-msw.c. Obtain the enumerated font's character
104 sets by table lookup instead of using the locale-specific
105 string provided by Windows.
107 New public non-method mswindows_enumerate_fonts() that fills
108 in the supplied mswindows device's font list.
110 mswindows_initialize_font_instance: Use the supplied name
111 variable instead of f->name when signalling errors. Match font
112 weights and character sets using lookup tables which handle
113 spaces instead of by frobbing.
115 1998-09-20 Jonathan Harris <jhar@tardis.ed.ac.uk>
117 * process-nt.c: Define an arbitrary limit, FRAGMENT_CODE_SIZE,
118 on the size of code fragments passed to run_in_other_process.
120 run_in_other_process(): Use FRAGMENT_CODE_SIZE to determine
121 the amount of memory to allocate in the other process.
123 Removed sigkill_code_end(), sigint_code_end() and
124 sig_enable_code_end() since they are now redundant.
126 send_signal() and enable_child_signals(): Don't try to work
127 out the end of the code fragments passed to
128 run_in_other_process()
130 1998-09-10 Kazuyuki IENAGA <ienaga@jsys.co.jp>
132 * src/s/freebsd.h: Added __ELF__ and compiler/liker flags for
135 * src/unexelf.c: Partially synched with FSF's 20.3.
137 1998-09-10 Hrvoje Niksic <hniksic@srce.hr>
139 * insdel.c (signal_after_change): Map across indirect buffers
140 here, and not in the upper-level functions.
141 (signal_first_change): Don't check for Armageddon.
142 (signal_before_change): Map across indirect buffers here.
143 (prepare_to_modify_buffer): ...and here.
145 1998-09-09 Hrvoje Niksic <hniksic@srce.hr>
147 * insdel.c (signal_after_change): Add return value.
148 (buffer_insert_string_1): Use it.
149 (buffer_delete_range): Ditto.
150 (buffer_replace_char): Ditto.
151 (cancel_multiple_change): Map the indirect buffers.
153 1998-09-06 Hrvoje Niksic <hniksic@srce.hr>
155 * insdel.c (init_buffer_text): Remove INDIRECT_P parameter.
156 (uninit_buffer_text): Ditto.
158 * buffer.c (Fmake_indirect_buffer): Implement stricter
161 1998-09-04 Hrvoje Niksic <hniksic@srce.hr>
163 * insdel.c (change_function_restore): Reverse order of
164 function-call and assignment.
165 (first_change_hook_restore): Ditto.
167 * extents.c (mark_extent_auxiliary): Mark them.
168 (Fset_extent_property): Set them.
169 (Fextent_property): Get them.
170 (Fextent_properties): Ditto.
171 (vars_of_extents): Set their default.
173 * extents.h (struct extent_auxiliary): Add before_change_functions
174 and after_change_functions.
176 * insdel.c (signal_before_change): Use it.
177 (signal_after_change): Ditto.
179 * extents.c (report_extent_modification): New function.
181 * insdel.c (signal_before_change): Don't check for Armageddon.
182 (signal_after_change): Ditto.
184 1998-09-11 Gunnar Evermann <Gunnar.Evermann@nats.informatik.uni-hamburg.de>
186 * redisplay.c (redisplay_window): make sure a new starting point
187 is chosen if it somehow got moved from the beginning of the line
188 -- this can happen because Fwiden was called recently.
190 * window.c (Fset_window_start): set start_at_line_beg correctly
191 (Fset_window_buffer): Ditto
193 1998-09-06 Hrvoje Niksic <hniksic@srce.hr>
195 * insdel.c (init_buffer_text): Remove INDIRECT_P parameter.
196 (uninit_buffer_text): Ditto.
198 * buffer.c (Fmake_indirect_buffer): Implement stricter
201 1998-05-14 Jan Vroonhof <vroonhof@math.ethz.ch>
203 * emacs.c (main_1): Removed references to *vars_of_filelock.
205 * lisp.h: Added Fsystem_name.
207 * filelock.c: Replaced by version from FSF 20.2. Now implements
208 locking by using symlinks which is NFS safe. However keep the
209 GCPRO's in lock_file and the calls to callx_in_buffer like our old
210 version (and of course use ansi C, acessor macros, etc).
212 1998-09-06 Jan Vroonhof <vroonhof@math.ethz.ch>
214 * process-unix.c (unix_create_process): Reset SIGHUP handler to
215 SIG_DFL. We now try to conserve any inherted SIG_IGN settings
216 in init_signals_very_early. However these should not be passed
217 on to children attached to the new pty.
219 1998-08-28 Andy Piper <andyp@parallax.co.uk>
221 * glyphs-eimage.c (png_instantiate_unwind): clean up eimage after use.
223 1998-09-07 Jonathan Harris <jhar@tardis.ed.ac.uk>
225 * fileio.c (file-name-directory, file_name_as_directory):
226 Don't call CORRECT_DIR_SEPS, even when #defined WINDOWSNT.
228 1998-09-02 Andy Piper <andyp@parallax.co.uk>
230 * emacs.c (main_1): init_ralloc() if initialised and we have REL_ALLOC
232 * ralloc.c: uncomment __morecore.
234 1998-09-92 Jonathan Harris <jhar@tardis.ed.ac.uk>
236 * event-msw.c(winsock_writer): Supply a dummy 4th argument to
237 WriteFile() to fix a winsock 1.x bug on Win95.
239 1998-08-28 Hrvoje Niksic <hniksic@srce.hr>
241 * event-Xt.c (emacs_Xt_mapping_action): Check for device being
243 (x_event_to_emacs_event): Ditto.
244 (emacs_Xt_handle_focus_event): Ditto.
245 (emacs_Xt_handle_magic_event): Ditto.
247 * console-x.h (struct x_device): New flag being_deleted.
248 (DEVICE_X_BEING_DELETED): New macro.
250 * device-x.c (x_IO_error_handler): Throw to top-level instead of
251 returning. Before doing that, set the being_deleted flag on the
254 1998-08-27 Hrvoje Niksic <hniksic@srce.hr>
256 * device-x.c (x-seppuku-on-epipe): Removed.
258 1998-08-26 Gunnar Evermann <Gunnar.Evermann@nats.informatik.uni-hamburg.de>
260 * frame-x.c (x_delete_frame): Flush the X output buffer after
261 calling XtDestroyWidget to ensure that the windows are really
264 1998-08-26 Hrvoje Niksic <hniksic@srce.hr>
266 * menubar-x.c (my_run_hook): New unused function.
267 (pre_activate_callback): Use run_hook for Qactivate_menubar_hook,
268 since we ignore the results of the contained functions anyway.
270 1998-08-26 P. E. Jareth Hein <jareth@camelot.co.jp>
272 * glyphs-eimage.c (gif_instantiate): Fix a crash in handling
273 interlaced GIF files that are smaller than 4 lines high...
275 1998-08-31 Hrvoje Niksic <hniksic@srce.hr>
277 * buffer.c (map_over_sharing_buffers): Deleted.
279 * insdel.c (MAP_INDIRECT_BUFFERS): Move to buffer.h.
281 * buffer.c (Fkill_buffer): Keep indirect_children updated while
284 1998-08-31 Hrvoje Niksic <hniksic@srce.hr>
286 * insdel.c (buffer_insert_string_1): Advance the point bytind in
288 (buffer_delete_range): Ditto.
290 * marker.c (init_buffer_markers): Set point-marker to the value of
291 point in an indirect buffer.
293 1998-08-30 Hrvoje Niksic <hniksic@srce.hr>
295 * undo.c (undo_prelude): Test last-undo-buffer against base
298 * insdel.c (MAP_INDIRECT_BUFFERS): Use it.
300 * buffer.h (BUFFER_BASE_BUFFER): New macro.
302 1998-08-30 Hrvoje Niksic <hniksic@srce.hr>
304 * insdel.c (init_buffer_text): Initialize it here.
306 * line-number.c: Address line_number_cache through buffer->text.
308 * buffer.c (mark_buffer): Mark line number cache.
310 * bufslots.h (line_number_cache): Move to struct buffer_text.
312 * insdel.c (buffer_insert_string_1): Propagate signals and changes
313 across the children buffers.
314 (buffer_delete_range): Ditto.
315 (buffer_replace_char): Ditto.
319 * insdel.c (MAP_INDIRECT_BUFFERS): New macro.
321 * buffer.c (Fmake_indirect_buffer): Uncomment.
323 1998-08-31 Hrvoje Niksic <hniksic@srce.hr>
325 * macros.c (Fend_kbd_macro): Remove trailing period from error
327 (Fexecute_kbd_macro): Ditto.
329 1998-08-21 Greg Klanderman <greg@alphatech.com>
331 * dired.c (Fuser_name_completion): remove optional 2nd argument.
332 (Fuser_name_completion_1): new function to return uniqueness
333 indication in addition to the user name completion.
334 (user_name_completion): change type of `uniq' argument.
336 1998-08-19 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
338 * lread.c (vars_of_lread): Removed `source-directory' variable.
340 1998-08-22 Hrvoje Niksic <hniksic@srce.hr>
342 * fileio.c (Ffile_readable_p): Apply the DOS/Windows logic to
345 1998-08-19 SL Baur <steve@altair.xemacs.org>
347 * dired.c (vars_of_dired): Fix misapplied patch.
349 1998-08-16 Martin Buchholz <martin@xemacs.org>
351 * fns.c (Fremrassq, remrassq_no_quit):
352 A XCAR that should have been an XCDR turned Fremrassq into Fremassq
354 1998-07-17 Didier Verna <verna@inf.enst.fr>
356 * redisplay-x.c (x_get_gc): returns a GC with a FillStipple fill
357 style as foreground GC for faces that have the `dim' property.
358 (x_output_string): when the `dim' face property is set,
359 ensure the gray pixmap has been created, and get a proper
360 foreground GC to draw the text.
362 1998-08-09 Jonathan Harris <jhar@tardis.ed.ac.uk>
364 * event-msw.c (mswindows_wnd_proc): Workaround for a Win95 bug:
365 Manually track the state of the left and right Ctrl and Alt
368 1998-08-07 Matt Stupple <matts@tibco.com>
370 * ntproc.c: don't wait on char_consumed at thread entry.
371 Additionally, to get the 'process' marked as finished, ensure
372 that the CHILD_ACTIVE macro returns false, so before exiting
373 close char_avail and set it to NULL, and close other handles
374 to reduce handle leak problems.
376 1998-08-09 Jonathan Harris <jhar@tardis.ed.ac.uk>
378 * menubar-msw.c (displayable_menu_item): take account of menu
379 depth when deciding whether to try to display accelerators.
381 1998-08-04 Andy Piper <andyp@parallax.co.uk>
383 * event-msw.c: use MsgWaitForMultipleObjects if there are no
386 * glyphs-msw.c: fix a couple of potential handle leaks.
388 1998-08-04 P. E. Jareth Hein <jareth@camelot.co.jp>
390 * dgif_lib.c gif_io.c gifrlib.h: New files to put GIF
391 *decoding ONLY* back into the core.
392 * glyphs-eimage.c: Change referenced header file for GIF
393 reading to point to the incore version.
395 1998-07-20 Martin Buchholz <martin@xemacs.org>
397 * casefiddle.c (casify_object):
398 Change algorithm from O(N**2) to O(N).
402 1998-07-22 Greg Klanderman <greg@alphatech.com>
404 * dired.c (file_name_completion_unwind): don't leak the cons.
406 1998-07-20 Greg Klanderman <greg@alphatech.com>
408 * dired.c (Fuser_name_completion): new function.
409 (Fuser_name_all_completions): new function.
410 (user_name_completion): new function.
411 (syms_of_dired): 2 new DEFSUBRs.
412 (vars_of_dired): initialize user name cache vars.
414 1998-07-29 P. E. Jareth Hein <jareth@camelot.co.jp>
416 * glyphs-eimage.c (png_instantiate): Add proper handling for background
417 colors taken from the default face. Also correct a thinko in
418 transparency (not alpha) handling.
420 1998-07-23 Martin Buchholz <martin@xemacs.org>
422 * s/decosf4-0.h: Use a perfectly ordinary link. Nuke BSD crap.
423 * unexalpha.c: ANSI C-ize. Clean compiler warnings.
424 * lread.c (Fload_internal): Be very careful with printfs of
426 * gui-x.c (menu_name_to_accelerator): tolower wants an `int'
429 1998-07-27 Gunnar Evermann <Gunnar.Evermann@nats.informatik.uni-hamburg.de>
431 * callint.c (Fcall_interactively): GCPRO prompt string before
432 passing it to Fread_key_sequence
434 1998-07-27 SL Baur <steve@altair.xemacs.org>
436 * keymap.c (vars_of_keymap): Initialize Vkey_translation_map and
437 Vvertical_divider_map.
439 * mule-canna.c (vars_of_mule_canna): Initialize every symbol to
440 Qnil or 0, none were initialized prior to this change.
442 Rename misnamed `V' prefixed integer variables:
443 Vcanna_empty_info, Vcanna_through_info, Vcanna_underline,
444 Vcanna_inhibit_hankakukana, Vcanna_henkan_length, Vcanna_henkan_revPos,
445 Vcanna_henkan_revLen, Vcanna_ichiran_length, Vcanna_ichiran_revPos,
446 Vcanna_ichiran_revLen.
448 Rename misnamed `V' prefixed integer variables and initialize
449 properly in the vars_of routine.
450 Vcanna_mode_AlphaMode, Vcanna_mode_EmptyMode, Vcanna_mode_KigoMode,
451 Vcanna_mode_YomiMode, Vcanna_mode_JishuMode, Vcanna_mode_TankouhoMode,
452 Vcanna_mode_IchiranMode, Vcanna_mode_YesNoMode, Vcanna_mode_OnOffMode,
453 Vcanna_mode_AdjustBunsetsuMode, Vcanna_mode_ChikujiYomiMode,
454 Vcanna_mode_ChikujiTanMode, Vcanna_mode_HenkanMode,
455 Vcanna_mode_HenkanNyuryokuMode, Vcanna_mode_ZenHiraHenkanMode,
456 Vcanna_mode_HanHiraHenkanMode, Vcanna_mode_ZenKataHenkanMode,
457 Vcanna_mode_HanKataHenkanMode, Vcanna_mode_HanKataHenkanMode,
458 Vcanna_mode_ZenAlphaHenkanMode, Vcanna_mode_HanAlphaHenkanMode,
459 Vcanna_mode_ZenHiraKakuteiMode, Vcanna_mode_HanHiraKakuteiMode,
460 Vcanna_mode_ZenKataKakuteiMode, Vcanna_mode_HanKataKakuteiMode,
461 Vcanna_mode_ZenAlphaKakuteiMode, Vcanna_mode_HanAlphaKakuteiMode,
462 Vcanna_mode_HexMode, Vcanna_mode_BushuMode, Vcanna_mode_ExtendMode,
463 Vcanna_mode_RussianMode, Vcanna_mode_GreekMode, Vcanna_mode_LineMode,
464 Vcanna_mode_ChangingServerMode, Vcanna_mode_HenkanMethodMode,
465 Vcanna_mode_DeleteDicMode, Vcanna_mode_TourokuMode,
466 Vcanna_mode_TourokuEmptyMode, Vcanna_mode_TourokuHinshiMode,
467 Vcanna_mode_TourokuDicMode, Vcanna_mode_QuotedInsertMode,
468 Vcanna_mode_BubunMuhenkanMode, Vcanna_mode_MountDicMode,
469 Vcanna_fn_SelfInsert, Vcanna_fn_FunctionalInsert,
470 Vcanna_fn_QuotedInsert, Vcanna_fn_JapaneseMode, Vcanna_fn_AlphaMode,
471 Vcanna_fn_HenkanNyuryokuMode, Vcanna_fn_Forward, Vcanna_fn_Backward,
472 Vcanna_fn_Next, Vcanna_fn_Prev, Vcanna_fn_BeginningOfLine,
473 Vcanna_fn_EndOfLine, Vcanna_fn_DeleteNext, Vcanna_fn_DeletePrevious,
474 Vcanna_fn_KillToEndOfLine, Vcanna_fn_Henkan, Vcanna_fn_Kakutei,
475 Vcanna_fn_Extend, Vcanna_fn_Shrink, Vcanna_fn_AdjustBunsetsu,
476 Vcanna_fn_Quit, Vcanna_fn_ConvertAsHex, Vcanna_fn_ConvertAsBushu,
477 Vcanna_fn_KouhoIchiran, Vcanna_fn_BubunMuhenkan, Vcanna_fn_Zenkaku,
478 Vcanna_fn_Hankaku, Vcanna_fn_ExtendMode, Vcanna_fn_ToUpper,
479 Vcanna_fn_Capitalize, Vcanna_fn_ToLower, Vcanna_fn_Hiragana,
480 Vcanna_fn_Katakana, Vcanna_fn_Romaji, Vcanna_fn_BaseHiragana,
481 Vcanna_fn_BaseKatakana, Vcanna_fn_BaseEisu, Vcanna_fn_BaseZenkaku,
482 Vcanna_fn_BaseHankaku, Vcanna_fn_BaseKana, Vcanna_fn_BaseKakutei,
483 Vcanna_fn_BaseHenkan, Vcanna_fn_BaseHiraKataToggle,
484 Vcanna_fn_BaseZenHanToggle, Vcanna_fn_BaseKanaEisuToggle,
485 Vcanna_fn_BaseKakuteiHenkanToggle, Vcanna_fn_BaseRotateForward,
486 Vcanna_fn_BaseRotateBackward, Vcanna_fn_Touroku, Vcanna_fn_HexMode,
487 Vcanna_fn_BushuMode, Vcanna_fn_KigouMode, Vcanna_fn_Mark,
488 Vcanna_fn_TemporalMode, Vcanna_key_Nfer, Vcanna_key_Xfer,
489 Vcanna_key_Up, Vcanna_key_Left, Vcanna_key_Right, Vcanna_key_Down,
490 Vcanna_key_Insert, Vcanna_key_Rollup, Vcanna_key_Rolldown,
491 Vcanna_key_Home, Vcanna_key_Help, Vcanna_key_KP_Key,
492 Vcanna_key_Shift_Nfer, Vcanna_key_Shift_Xfer, Vcanna_key_Shift_Up,
493 Vcanna_key_Shift_Left, Vcanna_key_Shift_Right, Vcanna_key_Shift_Down,
494 Vcanna_key_Cntrl_Nfer, Vcanna_key_Cntrl_Xfer, Vcanna_key_Cntrl_Up,
495 Vcanna_key_Cntrl_Left, Vcanna_key_Cntrl_Right, Vcanna_key_Cntrl_Down
497 1998-07-16 Jan Vroonhof <vroonhof@math.ethz.ch>
499 * event-Xt.c (x_to_emacs_keysym): Return nil for modifier keysyms.
500 (x_event_to_emacs_event): Let x_to_emacs_keysym check for modifier
501 keys thus no longer considering all keysyms on a key.
503 1998-07-19 SL Baur <steve@altair.xemacs.org>
505 * XEmacs 21.2-beta1 is released.
507 1998-07-12 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
509 * eldap.c (Fldap_search_internal): When converting the list of
510 attributes to search Copy the final 0 from Lisp strings to C
512 Check base, not Vldap_default_base as a a string
514 1998-07-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
516 * nt.c: Remove Vstdio_str; already defined in console-stream.c.
518 * unexnt.c: Unconditionally define bss_start and bss_size, and
519 ensure that they don't go in the .bss section.
521 1998-07-17 Olivier Galibert <galibert@pobox.com>
523 * glyphs-x.c (convert_EImage_to_XImage): Fix previous patch (conv
524 byte order is dependant of the local byte order).
525 From Takeshi Hagiwara <hagiwara@ie.niigata-u.ac.jp>
527 1998-07-18 SL Baur <steve@altair.xemacs.org>
529 * glyphs-msw.c (mswindows_resource_normalize): Qresource ->
531 From Jonathan Harris <jhar@tardis.ed.ac.uk>
533 1998-07-12 SL Baur <steve@altair.xemacs.org>
535 * general.c (syms_of_general): Add defsymbol for Qresource.
537 * glyphs-msw.c (vars_of_glyphs_mswindows): Rename Qresource to
539 (TopLevel): Rename 'resource image format to 'mswindows_resource.
540 (mswindows_resource_validate): Rename.
541 (mswindows_resource_normalize): Rename.
542 (mswindows_resource_possible_dest_types): Rename.
543 (mswindows_resource_instantiate): Rename.
544 (image_instantiator_format_create_glyphs_mswindows): Replace
545 `resource' with `mswindows.resource'.
547 * XEmacs 21.0-pre5 is released.
549 1998-07-10 SL Baur <steve@altair.xemacs.org>
551 * mule-wnnfns.c (Fwnn_open): Correctly trap on misdefined Wnn
552 server type in environment.
553 Use alloca-ed strings instead of tiny fixed size ones.
555 1998-07-09 SL Baur <steve@altair.xemacs.org>
557 * XEmacs 21.0-pre4 is released.
559 1998-07-01 James N. Potts <jnpotts@plutonium.net>
561 * fileio.c: (expand_file_name): under win32: Don't treat names
562 as UNC names if a drive letter has been specified. If a drive
563 has been specified, strip out extra directory-seperators that
564 reportedly cause problems under Win95.
566 1998-07-09 Jonathan Harris <jhar@tardis.ed.ac.uk>
568 * windowsnt.h: Define DUMP_SEPARATE_SECTION when building with
569 MSVC >= 5.0. Put emacs init and zero-init data in a special
570 section of the executable when this is defined.
572 * unexnt.c, ntheap.h:
573 Removed unused find_section() and get_section_size().
576 Fix up the executable's checksum after dumping otherwise the
578 When DUMP_SEPARATE_SECTION is defined, don't need to dump
579 zero-init data separately from init data. Dump emacs data
580 into a special section of the executable.
581 When DUMP_SEPARATE_SECTION not defined, dump .bss up to
582 my_ebss instead of up to the end of bss.
584 1998-07-09 Jonathan Harris <jhar@tardis.ed.ac.uk>
586 * filelock.c: Removed Vconfigure_lock_directory - already
589 * frame-msw.c: Removed Qinitially_unmapped and Qpopup - already
590 defined in frame.c and general.c respectively.
592 * glyphs-msw.c: Removed Qresource - already defined in
595 1998-07-05 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
597 * eldap.c (Fldap_search_internal): Docstring fixes
599 1998-07-04 Jonathan Harris <jhar@tardis.ed.ac.uk>
601 * nt.c (init_environment): Removed unused PRELOAD_WINSOCK,
602 EMACSDOC and TERM variables. Added EMACSDEBUGPATHS,
603 EMACSPACKAGEPATH and INFOPATH variables.
604 Removed unused get_emacs_configuration function.
606 * s/windowsnt.h: Don't define EMACS_CONFIGURATION here because
607 it is now defined at build-time by the makefile.
609 1998-07-01 James N. Potts <jnpotts@plutonium.net>
611 * fileio.c: (expand_file_name): under win32: Don't treat names as
612 UNC names if a drive letter has been specified. If a drive has
613 been specified, strip out extra directory-seperators that
614 reportedly cause problems under Win95.
616 1998-07-05 Andy Piper <andyp@parallax.co.uk>
618 * faces.c (complex_vars_of_faces): for the gui-element face don't
619 fallback to the default face, instead provide reasonable default
620 fallbacks that were previously hardcoded elsewhere.
622 1998-07-06 Olivier Galibert <galibert@pobox.com>
624 * glyphs-x.c (convert_EImage_to_XImage): Fix pixel writing problem
625 when the X server endianness is different than the client's one.
627 1998-06-29 Kyle Jones <kyle_jones@wonderworks.com>
629 * eval.c (run_hook_with_args_in_buffer): Check
630 default (non-buffer-local) value of hook for
631 nil before treating it as a function. Don't initialize
632 the `globals' variable twice.
634 1998-06-24 Jonathan Harris <jhar@tardis.ed.ac.uk>
636 * fileio.c: Don't do directory seperator canonicalisation in
637 substitute-in-file-name because we don't know that the
638 filename refers to a local file.
640 1998-06-24 Adrian Aichner <aichner@ecf.teradyne.com>
642 * process-nt.c (nt_create_process): Try appending the standard
643 executable file extensions to the filename if none supplied.
645 1998-06-29 SL Baur <steve@altair.xemacs.org>
647 * fileio.c (Fsubstitute_in_file_name): Enable double slash notation
649 From Keisuke Mori <ksk@ntts.com>
651 1998-06-24 Andy Piper <andyp@parallax.co.uk>
653 * toolbar-msw.c (mswindows_output_toolbar): only enable masked
654 images if we have masks. This handles the xbm case (have masks)
655 and avoids overuse of resources in the xpm case (generally no masks).
656 Don't output small toolbars.
658 1998-06-29 Kyle Jones <kyle_jones@wonderworks.com>
660 * eval.c (run_hook_with_args_in_buffer): Don't treat
661 the default value of a buffer local hook as a list of
662 hooks unless it is both a cons and the car of that cons
665 1998-06-29 SL Baur <steve@altair.xemacs.org>
667 * extents.c: Email address for Ben Wing is ben@xemacs.org.
668 * process-unix.c: Ditto.
669 * mule-coding.h: Ditto.
670 * mule-coding.c: Ditto.
671 * mule-charset.c: Ditto.
672 * mule-charset.h: Ditto.
673 * file-coding.c: Ditto.
674 * file-coding.h: Ditto.
676 1998-06-22 Jonathan Harris <jhar@tardis.ed.ac.uk>
678 * event-msw.c: Guard against recursion when freeing
679 FRAME_MSWINDOWS_TARGET_RECT struture in WM_SIZE processing.
681 * frame-msw.c: Don't set WS_VISIBLE attribute on first frame.
682 Call ShowWindow twice in init_frame_3 to get round runemacs
685 1998-06-27 Hrvoje Niksic <hniksic@srce.hr>
687 * scrollbar.c (vertical_scrollbar_changed_in_window): Ditto.
689 * winslots.h: Rename.
691 * window.c (specifier_vars_of_window): Renamed
692 vertical-divider-draggable-p to vertical-divider-always-visible-p,
693 as suggested by Ben Wing.
694 (specifier_vars_of_window): Fix docstrings.
696 1998-06-22 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
698 * unexaix.c: Line number information works correctly again.
700 1998-06-22 Olivier Galibert <galibert@pobox.com>
702 * emacs.c (__sti__iflPNGFile_c___): Added. See comment. Cry.
704 1998-06-21 Martin Buchholz <martin@xemacs.org>
706 * editfns.c (get_home_directory): ANSIfy.
707 XEmacs is compilable under C *and* C++.
708 It's XEmacs, not Xemacs!
710 1998-06-19 Jonathan Harris <jhar@tardis.ed.ac.uk>
712 * console-msw.h: added a list of fonts to device data.
714 * device-msw.c: enumerate list of available fonts in
715 mswindows_init_device. Free list in mswindows_delete_device.
717 * objects-msw.c: Added helper function match_font used by
718 mswindows_initialize_font_instance and mswindows_list_fonts.
719 Allow a charset to be specified in a font string, even if
720 previous fields havn't been specified.
722 1998-06-23 Greg Klanderman <greg@alphatech.com>
724 * indent.c (column_at_point): column cache bugfix.
725 Set last_known_column_point to the buffer position for
726 which the column was requested, not buffer's point.
728 * redisplay.c (decode_mode_spec): for current-column, show
729 window's point's column, not buffer's point's column.
731 1998-06-23 Andy Piper <andyp@parallax.co.uk>
733 * menubar-msw.c (mswindows_handle_wm_command): use
734 enqueue_misc_user event rather than
735 mswindows_enqueue_msic_user_event to fix customize problems. Add some
738 * console-msw.h: declare mswindows_enqueue_magic_event.
740 * event-msw.c (mswindows_enqueue_magic_event): make global.
742 1998-06-24 Hrvoje Niksic <hniksic@srce.hr>
744 * line-number.c (LINE_NUMBER_FAR): Reverted to 16384.
745 (buffer_line_number): Use EMACS_INT_MAX instead of random LOTS.
746 (add_position_to_cache): Use EMACS_INT instead of int.
748 1998-06-21 Olivier Galibert <galibert@pobox.com>
750 * lisp-disunion.h (XMARKBIT): Have XMARKBIT return something
751 suitable for an int used as a boolean (btw, C sucks.).
753 1998-06-18 Andy Piper <andyp@parallax.co.uk>
755 * object-msw.c: remove warnings.
757 * device-msw.c: #define wrongly named cygwin structure elements.
759 * s/cygwin32.h: define DEMI_BOLD
761 1998-06-19 Jonathan Harris <jhar@tardis.ed.ac.uk>
763 * redisplay-msw.c: new function mswindows_apply_face_effects.
764 This is called by output_string and output_cursor to display
765 underline and strikeout on faces.
767 1998-06-19 Jonathan Harris <jhar@tardis.ed.ac.uk>
769 * console-msw.h: added a list of fonts to device data.
771 * device-msw.c: enumerate list of available fonts in
772 mswindows_init_device. Free list in mswindows_delete_device.
774 * objects-msw.c: Added helper function match_font used by
775 mswindows_initialize_font_instance and mswindows_list_fonts.
776 Allow a charset to be specified in a font string, even if
777 previous fields havn't been specified.
779 1998-06-15 Jonathan Harris <jhar@tardis.ed.ac.uk>
782 Removed compilation warnings from mswindows_string_to_color.
783 mswindows_list_fonts returns a more general bogus font.
784 New lisp-visible function mswindows-color-list.
786 1998-06-19 David Bush <david.bush@adn.alcatel.com>
788 * editfns.c (Fuser_login_name): Modify to user new function
790 (user_login_name): C only function to avoid Lisp object overhead
791 Returns "unknown" instead of nil in Cygwin environment
793 * fileio.c (Fexpand_file_name): Treat "~" and "~user" as
794 equivalent for current user in Cygwin environment. Use new
795 function user_login_name to get username.
797 * lisp.h: Declare user_login_name
799 1998-06-18 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
801 * unexaix.c (make_hdr): Fixed bias computations so debugging info
803 Some other insignificant nitpicks.
805 1998-06-18 Andy Piper <andyp@parallax.co.uk>
807 * toolbar-msw.c (mswindows_output_toolbar): specify ILC_MASK when
808 creating the image list and make sure he bk color is transparent.
810 1998-06-18 Jan Vroonhof <vroonhof@math.ethz.ch>
812 * event-Xt.c (emacs_Xt_remove_timeout): Also remove timeout from
813 completed_timeouts. The timer could have expired.
815 1998-06-17 Andy Piper <andyp@parallax.co.uk>
817 * console-msw.h: move XEMACS_RECT_WH inside frame
818 parameters. define macors to access it.
820 * frame-msw.c (mswindows_init_frame_1): use new target_rect
821 parameter to intialise desired sizing. (mswindows_init_frame_2):
822 enable and size the frame to something sensible when we get
823 here. (mswindows_set_frame_properites): use new
824 mswindows_size_frame_internal function and size frame if frame
825 parameters not just if init is finished - WM_SIZE happens too
826 early for some specs. (mswindows_size_frame_internal): new
827 function abstracted from mswindows_set_frame_properties.
828 (Vmswindows_use_system_frame_size_defaults):
829 new variable controls whether to allow the system to pick frame
830 size defaults, defaults to nil.
832 * event-msw.c: in WM_SIZE use mswindows_size_frame_internal rather
833 than duplicated code.
835 1998-06-15 Colin Rafferty <colin@xemacs.org>
837 * Makefile.in.in: Made EXTW_LINK expand properly.
839 1998-06-12 Martin Buchholz <martin@xemacs.org>
841 * redisplay.c (vars_of_redisplay): default value of
842 column-number-start-at-one should be NIL!
844 1998-06-11 Martin Buchholz <martin@xemacs.org>
847 (upcase-initials "fooBar") ==> "FooBar" instead of "Foobar"
849 1998-06-05 Hrvoje Niksic <hniksic@srce.hr>
851 * eldap.c (Fldap_search_internal): Use build_ext_string instead of
852 build_string to avoid crashes under Mule.
854 1998-06-13 Andy Piper <andyp@parallax.co.uk>
856 * ntplay.c (play_sound_data_1): don't delete the sound data until
857 the next sound is played and the previous one finished.
859 1998-06-10 Samuel Mikes <smikes@alumni.hmc.edu>
861 * fileio.c (directory-sep-char): Escape backslashes.
863 1998-06-10 Hrvoje Niksic <hniksic@srce.hr>
865 * event-stream.c: Fix docstring reference.
867 1998-06-12 Hrvoje Niksic <hniksic@srce.hr>
869 * alloc.c (make_float): Remove useless initialization of `next'
871 (make_pure_float): Ditto.
873 * lisp.h (struct Lisp_Float): Rename `next' to `__unused__next'.
875 1998-06-08 Kirill M. Katsnelson <kkm@kis.ru>
877 * fileio.c (Fmake_directory_internal): Remove conditionals
878 on WINDOWSNT when calling mkdir.
880 * ntproc.c: Deleted the following unused functions:
881 register_child, reap_subprocess, sys_wait.
883 * nt.c (sys_rename): Ifzeroed this implementation.
884 Deleted the following unused functions:
885 sys_access, sys_chdir, sys_chmod, sys_creat, sys_link, sys_mkdir,
886 sys_mktemp, sys_rmdir, sys_unlink, sys_close, sys_dup, sys_dup2,
888 Merger sys_fopen and sys_open with sysdep.c implementation.
890 * sysdep.c: Removed MS-DOS code.
891 (sys_rename): Deal with Microsoft rename weirdness.
892 (sys_open): Implemented for Windows.
896 1998-06-08 Kirill M. Katsnelson <kkm@kis.ru>
898 * buffer.c (complex_vars_of_buffer): Removed %t description from
901 1998-06-04 Rick Rankin <Rick_Rankin-P15254@email.mot.com>
903 * scrollbar-msw.c: initialize the cbSize element of the
904 SCROLLINFO struct before calling SetScrollInfo. WinNT seems
905 to ignore the value of cbSize, but Win95 (and I presume Win98)
906 appear to want it set to sizeof(SCROLLINFO).
908 1998-06-04 Kirill M. Katsnelson <kkm@kis.ru>
910 * event-stream.c: Defined Qcancel_mode_internal.
911 (syms_of_event_stream): defsymbol'ed it.
913 * events.h: Externed it.
915 * event-msw.c (mswindows_wnd_proc, WM_CANCELMODE): Added this handler.
917 1998-06-04 Oliver Graf <ograf@fga.de>
919 * frame-x.c (x_cde_destroy_callback): free the data
920 (cde-start-drag-internal) corrected root position, 21.1 needs this
921 hardcoded in Button events
922 (offix-start-drag-internal) corrected root position
924 1998-06-03 Kirill M. Katsnelson <kkm@kis.ru>
926 * process-nt.c (signal_cannot_launch): Use signal_simple_error()
929 1998-06-03 Kirill M. Katsnelson <kkm@kis.ru>
931 * dialog-msw.c (button_width): Removed `inline' from the function
934 1998-06-03 Rick Rankin <Rick_Rankin-P15254@email.mot.com>
936 * frame-msw.c: add WS_VISIBLE flag to the first frame created.
937 Note that adding this flag to subsequent frames causes problems.
939 1998-06-03 Gunnar Evermann <Gunnar.Evermann@nats.informatik.uni-hamburg.de>
941 * glyphs-eimage.c (png_instantiate) move 'struct
942 png_memory_storage tbr' out of nested block to avoid dangling
945 1998-06-02 Andy Piper <andyp@parallax.co.uk>
948 * faces.c: rename 3d-object -> gui-element. add toolbar face which
949 inherits from gui-element.
951 * glyphs-msw.c: use DIBitmaps for xbm bitmaps to be consistent
952 with existing code, generate masks correctly.
954 1998-06-03 P. E. Jareth Hein <jareth@camelot-soft.com>
956 * glyphs-eimage.c: Changed included header for gifs to use
957 Gifreader instead of giflib.
959 * glyphs-x.c: removed the image-related functions that were
960 moved into glyphs-eimage.
962 1998-06-02 David Bush <david.bush@adnb.alcatel.com>
964 * glyphs.c (bitmap_to_lisp_data) Define XFree to be free
965 if built without X Windows support.
967 1998-06-02 Hrvoje Niksic <hniksic@srce.hr>
969 * fns.c (Fconcat): Synch docstring with new reality.
971 1998-06-03 SL Baur <steve@altair.xemacs.org>
973 * frame.c: Remove reference to msdos.h (which is going away).
974 Suggested by Hrvoje Niksic and Kirill Katsnelson.
976 1998-06-02 P. E. Jareth Hein <jareth@camelot-soft.com>
978 * glyphs-eimage.c (jpeg_instantiate): Fix handling of
982 1998-05-30 Kirill M. Katsnelson <kkm@kis.ru>
984 * events.h: Fixed commentary about misc-user scrollbar events.
986 * scrollbar-x.c (x_update_vertical_scrollbar_callback): Use frame
987 object as an event channel, instead of window object.
988 (x_update_horizontal_scrollbar_callback): Ditto.
990 1998-05-29 Andy Piper <andyp@parallax.co.uk>
992 * ntplay.c (play_sound_data_1) new function. convert alloca data
993 to malloc if necessary.
994 (play_sound_file): if the file is not in our path then convert to
997 1998-06-01 SL Baur <steve@altair.xemacs.org>
999 * mule-mcpath.c (mc_chdir): Reverse parameters in call to memcpy.
1000 * msdos.c (Frecent_doskeys): Ditto.
1002 * unexalpha.c (unexec): Reverse parameters in call to memcpy.
1003 Suggested by Reggie Perry <perry@zso.dec.com>
1005 * buffer.h: Eliminate size in declaration.
1007 1998-06-01 Olivier Galibert <galibert@pobox.com>
1009 * unexelfsgi.c (unexec): Cleanup n/nn and remove useless kludge.
1011 1998-06-01 Kirill M. Katsnelson <kkm@kis.ru>
1013 * gui.c (gui_item_init): Changed the default value for config member
1014 from Qunbound to Qnil.
1016 1998-06-01 Greg Klanderman <greg@alphatech.com>
1018 * indent.c (vmotion_pixels): Don't #define abs().
1020 1998-05-30 Kirill M. Katsnelson <kkm@kis.ru>
1022 * s/windowsnt.h: Defined popen and pclose to be _popen and _pclose
1025 1998-05-30 Andy Piper <andyp@parallax.co.uk>
1027 * glyphs.h: add xbm declarations.
1029 * console.h: add xbm_instantiate_method device method.
1031 * glyphs.c (check_valid_xbm_inline) (xbm_validate)
1032 (bitmap_to_lisp_data) (xbm_mask_file_munging) (xbm_normalize)
1033 (xbm_possible_dest_types): moved here from glyphs-x.c. use
1034 locate_pixmap_file device method and read_bitmap_data_from_file
1035 instead of XmuReadBitmapDataFromFile.
1036 (xbm_instatntiate): make a device method.
1038 * glyphs-x.c: see glyphs.c changes. (read_bitmap_data_from_file)
1039 new function that just calls XmuReadBitmapDataFromFile.
1040 (x_xbm_instatntiate): device method from xbm_instantiate.
1042 * glyphs-msw.c (read_bitmap_data) (NextInt)
1043 (read_bitmap_data_from_file): new functions copied from Xmu
1045 (xbm_create_bitmap_from_data) from Ben <ben@666.com> convert
1046 inline data to an mswindows bitmap.
1047 (init_image_instance_from_xbm_inline) (xbm_instantiate_1)
1048 (mswindows_xbm_instantiate): mswindows-ized versions of the X
1051 1998-05-30 Kirill M. Katsnelson <kkm@kis.ru>
1053 * window.c (specifier_vars_of_window): Renamed `has_modeline-p' to
1054 `modeline-visible-p'.
1055 Declared specifier lisp variables at the beginning oh the file
1058 * procimpl.h (struct process_methods): Changed semantics of
1059 create_process method so it accepts lisp strings instead of
1062 * process.c (Fstart_process_internal): Moved building of
1063 unix style argv from here to process-unix.c, ...
1065 * process-unix.c (unix_create_process): ... right here.
1067 * process-nt.c (nt_create_process): Changed this function to
1068 support new semantics, so avoided a GC problem.
1070 * events.c (Fmake_event): Document misc-user events properties.
1071 (Fmake_event): Do not allow arbitrary objects for channel property
1072 of misc-user events.
1073 (Fmake_event): Change misc-user event validation: it is function
1074 which is required, not button.
1076 * event-msw.c (mswindows_user_event_p): Recognize misc user events as
1078 (mswindows_enqueue_misc_user_event): Added function.
1079 (mswindows_bump_queue): Removed function.
1080 (mswindows_enqueue_magic_event): Support NULL HWND parameter.
1081 (mswindows_wnd_proc, WM_CLOSE): Use mswindows_enqueue_misc_user_event().
1082 (mswindows_wnd_proc, WM_EXITSIZEMOVE): Ditto.
1083 (emacs_mswindows_handle_magic_event): Handle XM_BUMPQUEUE, by doing
1084 really nothing, which is my personal favorite thing.
1086 * console-msw.h: Removed prototype for mswindows_bump_queue().
1087 Added prototype for mswindows_enqueue_misc_user_event().
1089 * menubar-msw.c (mswindows_handle_wm_command): Use
1090 mswindows_enqueue_misc_user_event().
1092 * toolbar-msw.c (mswindows_handle_toolbar_wm_command): Ditto.
1094 * dialog-msw.c (dialog_proc): Ditto.
1096 * scrollbar-msw.c (mswindows_handle_scrollbar_event): Ditto.
1097 (mswindows_handle_scrollbar_event): Use frame, not window, for misc
1098 user events channel.
1100 1998-05-29 Greg Klanderman <greg@alphatech.com>
1102 * window.c (Fwindow_displayed_text_pixel_height): was relying on
1103 incorrect semantics of vmotion_pixels which has been fixed. don't
1104 use it anymore as it can't easily be used.
1106 * indent.c (vmotion_pixels): fix off by one bug moving up. also
1107 the motion was reported incorrectly if you tried to go past end of
1110 1998-05-30 Kirill M. Katsnelson <kkm@kis.ru>
1112 * toolbar.h: Removed misleading commentary, as Martin suggested.
1114 1998-05-30 Kirill M. Katsnelson <kkm@kis.ru>
1116 * lisp.h: Extern Qactivate_menubar_hook.
1118 * menubar-msw.c (unsafe_handle_wm_initmenu_1): Pass correct value to
1121 1998-05-29 Andy Piper <andyp@parallax.co.uk>
1123 * glyphs-msw.c: use BPLINE macro.
1125 * select-msw.c (mswindows-selection-exists-p)
1126 (mswindows-delete-selection): doc string fixes.
1128 * toolbar-msw.c (mswindows_output_toolbar): make disabled buttons
1129 unpressable. warning elimination.
1131 1998-05-28 Martin Buchholz <martin@xemacs.org>
1133 * alloc.c (dbg_constants):
1136 Remove toolbar_data debugging code, since that lrecord has
1139 Wed May 27, 1998 Darryl Okahata <darrylo@sr.hp.com>
1141 * alloc.c: zap cached value of (user-home-directory), so that
1144 * buffer.c: From init_buffer(), separated out code that
1145 determined the initial directory for the *scratch* buffer, and
1146 put them into a function called "init_initial_directory()".
1147 The initial directory is now available as a global "char *"
1148 called initial_directory.
1150 * buffer.h: Added extern entries for initial_directory[] and
1151 init_initial_directory().
1153 * editfns.c: added new elisp function "user-home-directory",
1154 which basically returns getenv("HOME"), but attempts to use
1155 other values if $HOME isn't set.This may have to be tweaked in
1156 the future as, under Unix, "/" is used if $HOME isn't set (this
1157 probably should be set to the current directory). To support
1158 this, a new C function, "get_home_directory()", now exists,
1159 which returns the "home directory", as a "char *" string.
1161 * emacs.c: Rearrange NT initialization order so that
1162 environment/registry variables will be properly entered into
1163 Vprocess_enviroment.
1165 * fileio.c: replaced egetenv("HOME") with calls to the new
1166 get_home_directory().
1168 * lisp.h: Added function prototypes for uncache_home_directory()
1169 and get_home_directory(), along with lisp prototypes for
1170 Fuser_home_directory() and friends.
1172 * nt.c: replaced getenv("HOME") with calls to the new
1173 get_home_directory().
1175 * sysfile.h: for WINDOWSNT, #include <direct.h>, to suppress
1176 warnings about getcwd(), etc. not having prototypes.
1178 1998-05-28 Kirill M. Katsnelson <kkm@kis.ru>
1180 * process-nt.c (send_signal): Emulate SIGHUP.
1181 (validate_signal_number): Ditto.
1183 * event-msw.c (mswindows_wnd_proc, WM_KEYDOWN): Unconditionally
1184 remove MOD_SHIFT from ASCII characters.
1185 (mswindows_wnd_proc, WM_KEYDOWN): Do not activate the menubar when
1188 1998-05-24 Oliver Graf <ograf@fga.de>
1190 * frame-x.c (cde-start-drag-internal): added filename and multi-
1192 (x_cde_convert_callback) dito
1194 1998-05-26 Oliver Graf <ograf@fga.de>
1196 * frame-x.c: include event-mod.h also with CDE
1197 (x_cde_convert_callback) made the thing working
1198 (cde-start-drag-internal) also debugging
1200 1998-05-25 Hans Guenter Weigand <hgweigand@wiesbaden.netsurf.de>
1207 - add __OpenBSD__ where __NetBSD__ was found.
1208 - TODO: replace platform-specific conditional compilation by
1209 feature tests in configure.in.
1211 1998-05-15 Greg Klanderman <greg@alphatech.com>
1213 * window.c (Fwindow_displayed_text_pixel_height): New function.
1214 (syms_of_window): DEFSUBR it.
1216 * indent.c (Fvertical_motion_pixels): New function - request
1218 (vmotion_pixels): helper.
1219 (syms_of_indent): DEFSUBR.
1220 * lisp.h: declaration for vmotion_pixels().
1222 * indent.c (Fvertical_motion): Add optional third argument PIXELS,
1223 to request returning motion in pixels.
1224 (Fvertical_motion_pixels): Remove, functionality merged into
1226 * window.c (window_scroll): call Fvertical_motion with 3 arguments.
1227 (Fmove_to_window_line): ditto.
1228 * lisp.h: Change declaration for Fvertical_motion.
1230 * window.c: rename window-text-pixel-{height,width,edges} to
1231 window-text-area-pixel-*.
1233 1998-05-26 Gunnar Evermann <Gunnar.Evermann@nats.informatik.uni-hamburg.de>
1235 * tooltalk.c (vars_of_tooltalk) added staticpro for
1236 Tooltalk_Message_plist_str and Tooltalk_Pattern_plist_str
1238 1998-05-27 Andy Piper <andyp@parallax.co.uk>
1240 * faces.c: create a new 3d_object_face, make modeline and
1241 vertical_divider faces fallback to this rather than the default.
1243 1998-05-21 Andy Piper <andyp@parallax.co.uk>
1245 * s/cygwin32.h: define charsets for cygwin.
1247 1998-05-25 Andy Piper <andyp@parallax.co.uk>
1249 * toolbar-msw.c (mswindows_output_toolbar): fix up button sizes
1250 and coordinates. resize bitmaps if we have already settled on a
1253 * glyphs-msw.c (xpm_to_eimage): add ';' for mswindows compiler.
1255 1998-05-25 Hrvoje Niksic <hniksic@srce.hr>
1257 * toolbar-msw.c (mswindows_handle_toolbar_wm_command): Ditto.
1259 * menubar-msw.c (mswindows_handle_wm_command): Ditto.
1263 * gui-x.c (popup_selection_callback): Ditto.
1265 * dialog-msw.c (dialog_proc): get_callback -> get_gui_callback.
1267 * gui.c (get_callback): Renamed to get_gui_callback.
1269 1998-05-17 Martin Buchholz <martin@xemacs.org>
1271 * glyphs.h: order rearrangement.
1273 * device-tty.c (tty_asynch_device_change): Warning suppression.
1274 * device-x.c (x_device_system_metrics): Warning suppression.
1275 Make Doc strings consistent with coding standards.
1277 1998-05-24 Martin Buchholz <martin@xemacs.org>
1279 * general.c: multiple definition of `Qicon'. general.c seems
1280 like a good home for Qicon.
1282 1998-05-20 Kirill M. Katsnelson <kkm@kis.ru>
1284 * This patch is to fix compilation warnings under Windows.
1286 * s/windowsnt.h: Encapsulate getpid with sys_getpid.
1287 Added prototypes for FSF inherited functions, with which XEmacs is
1288 sprinkled thoroughly.
1289 Removed some #if 0 code. Bracketed some more definitions, probably
1290 related to Visual C versions prior to 4 (we do not support them).
1292 * sysfloat.h (logb): Finally, get logb() prototyped.
1294 * sysfile.h: Added Windows specific includes.
1295 Removed old Windows specific code bracketed with #if 0.
1297 * sysdep.h: Added prototype for xrealpath().
1299 * sysdep.c (sys_getpid): Added function, to support '95 negative pids.
1301 * symsinit.h: Added prototypes for syms_of_dired_mswindows,
1302 vars_of_dired_mswindows and init_ntproc (Grrr).
1304 * realpath.c: Added Windows specific include files.
1305 (xrealpath): Conditionalized declaration of some auto variables on
1306 S_IFLNK, to avoid warnings.
1308 * ntproc.c: Disabled some compiler warnings. This file is going to
1309 die, so I have not cleaned it up much.
1310 (set_process_dir): Const parameter.
1311 (Fwin32_short_file_name): Down CHECK_* macros to one argument.
1312 (Fwin32_long_file_name): Ditto.
1313 (Fwin32_set_process_priority): Ditto. Why didn't I remove these
1316 * nt.h: Added prototypes for set_process_dir and convert_time.
1318 * nt.c: More include files.
1319 (getpwnam): Consted char* argument.
1320 (get_emacs_configuration): Const return value.
1321 (opendir): Const argument.
1322 (stat): Casted converstion long->short.
1323 (stat): Removed ad hoc and questionable support for non-MSC compile.
1324 (sys_pipe): Removed unused auto variable.
1325 (_sys_read_ahead): Removed calls to DebPrint.
1326 (sys_read): Ditto, in 2 places.
1327 (term_ntproc): Added unused int parameter to signal handler, to
1328 avoid a warning when compiling a call to signal().
1329 (msw_sigset): Properly return old signandler or NULL instead of void.
1331 * floatfns.c (Flogb): Casted arguments to unary minus to signed.
1333 * gmalloc.c (morecore): Ditto.
1334 (_free_internal): Ditto.
1336 * lread.c (parse_integer): Ditto.
1338 * dired-msw.c: Added several include files.
1340 * cmdloop.c (Fcommand_loop_1): Added Microsoft C to the Big List
1341 of Compilers to Shut Up.
1343 * callproc.c: Added #includes to suppress warnings under Windows.
1344 (init_callproc): Removed #if0'ed code and unused variables.
1346 1998-05-25 Andy Piper <andyp@parallax.co.uk>
1348 * device-msw.c (mswindows_device_system_metrics): do planes in a
1349 way consistent with X.
1351 * glyphs-msw.c (mswindows_initialize_image_instance_mask): don't
1352 use SetPixel, use DIBits functions.
1353 (xpm_to_eimage): frob colors more closely like xpm deos.
1355 * toolbar-msw.c: only resize bitmaps when shrinking. Adjust look
1356 to be closer to X version.
1358 * event-msw.c: use tooltip string directly.
1360 * redisplay-msw.c: reinstate Kirill's bg pixmap change.
1362 * objects-msw.c: frob rgb colors that only Kyle uses.
1364 * dialog-msw.c (button_width): INLINE -> inline.
1366 1998-05-23 SL Baur <steve@altair.xemacs.org>
1368 * getloadavg.c (getloadavg): Fix typo.
1370 1998-05-23 Kirill M. Katsnelson <kkm@kis.ru>
1372 * objects-msw.c (mswindows_initialize_font_instance): Added support
1373 for font character sets.
1374 Replaced 'XXX' with '####' in comments throughout the file.
1376 1998-05-23 Kirill M. Katsnelson <kkm@kis.ru>
1378 * emacs.c (main_1): Added calls to vars_of_dialog_mswindows() and
1379 console_type_create_dialog_mswindows(), to initialize Windows dialog
1382 * symsinit.h: Prototyped the above functions.
1384 * dialog-x.c (x_popup_dialog_box): Moved dialog descriptor consistency
1385 checks to dialog.c...
1387 * dialog.c (Fpopup_dialog_box): ...right here. Added more checks: a
1388 device must support dialog boxes, and the descriptor must supply at
1391 * dialog-msw.c: New file, dialogs for Windows.
1393 1998-05-21 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
1395 * eldap.c (ldap_search_unwind): Return Qnil instead of nothing
1396 (Fldap_search_internal): Removed unused variable `err'
1398 * eldap.h: Moved Lisp_LDAP declaration here instead of using a
1401 1998-05-17 Martin Buchholz <martin@xemacs.org>
1403 * eldap.h: eldap.[ch] should never be used unless HAVE_LDAP is
1404 defined. Therefore there is no need to handle the case when
1405 HAVE_LDAP is undefined. Similarily, there is no reason to have
1406 any code wrapped within `#ifdef emacs', since this code is only
1407 useful within an emacs. This simplifies the code significantly.
1409 * inline.c: Include eldap.h only if HAVE_LDAP.
1410 * inline.c: Don't bother including TT_C_H_PATH, since tooltalk.h
1413 1998-05-21 Kirill M. Katsnelson <kkm@kis.ru>
1415 * unexnt.c (copy_executable_and_dump_data_section): Suppress
1416 printing dump stats when building without DEBUG_XEMACS.
1417 (dump_bss_and_heap): Ditto.
1419 1998-05-21 Andy Piper <andyp@parallax.co.uk>
1421 * gnuclient.c: don't suppress window system if there is no display
1422 and we are running under mswindows. send 'mswindows device type if
1423 we are in this situation.
1425 1998-05-20 Andy Piper <andyp@parallax.co.uk>
1428 * lisp.h: Qbitmap, Qcursor, Qicon moved here from glyphs-msw.c.
1430 * glyphs-msw.c: change cursor imgae type name to resource. Fix
1433 1998-05-20 Kirill M. Katsnelson <kkm@kis.ru>
1435 * EmacsFrame.c (Xt_StringToScrollBarPlacement): Added support for
1436 {top,bottom}-{left,right} values in addition to
1437 {top,bottom}_{left,right}.
1439 1998-05-18 Hrvoje Niksic <hniksic@srce.hr>
1441 * fileio.c (Fmake_temp_name): Remove unreached code.
1443 * process-nt.c (validate_signal_number): Use
1444 signal_simple_error().
1446 1998-05-19 Martin Buchholz <martin@xemacs.org>
1449 * sound.c (vars_of_sound):
1450 * sysdep.c (reset_sigio_on_device):
1451 * window.c (window_bottom_gutter_height):
1452 unexhp9k800.c:258: warning: implicit declaration of function
1453 `calculate_checksum'
1454 sound.c:604: warning: implicit declaration of function `vars_of_hpplay'
1455 sysdep.c:1012: warning: unused variable `owner'
1456 window.c:993: warning: `window_right_toolbar_width' defined but not used
1458 1998-05-19 Andy Piper <andyp@parallax.co.uk>
1460 * glyphs-msw.c (mswindows_create_resized_mask)
1461 (mswindows_create_resized_bitmap): new funnctions split out from
1462 mswindows_resize_dibitmap_instance.
1464 * glyphs-msw.h: declare new resize functions.
1466 * toolbar-msw.c (mswindows_output_toolbar): use new bitmap resize
1467 functions so that the original bitmaps are preserved.
1469 * sheap.c: fixup static heap exhausted error to avoid FAQs.
1471 * redisplay-msw.c (mswindows_output_blank): fixup brush from bg
1472 color if we are trying to output 0 depth bg pixmap.
1474 * scrollbar-msw.c: warning elimination.
1476 1998-05-18 Martin Buchholz <martin@xemacs.org>
1478 * frame-x.c (x_update_frame_external_traits): Start preprocessor
1479 directives in column 1.
1481 * search.c (skip_chars): Avoid using xzero with arrays, since some
1482 compilers get confused by the construct &array.
1484 1998-05-18 Kirill M. Katsnelson <kkm@kis.ru>
1487 * objects-msw.c: Changed the charset value for a new font from
1488 "don't care" to "ansi".
1490 * glyphs-msw.c (convert_EImage_to_DIBitmap): Warnings fix.
1492 1998-05-18 Kirill M. Katsnelson <kkm@kis.ru>
1494 * event-msw.c (mswindows_wnd_proc, WM_KEYDOWN): Do not clear shift
1495 modifier on control chars.
1496 Use IsCharAlpha() instead of isaplha().
1498 1998-05-19 Kazuyuki IENAGA <ienaga@jsys.co.jp>
1500 * s/freebsd.h: FreeBSD 2.2.6 now supports setlocale(LC_ALL, "").
1502 1998-05-18 Kirill M. Katsnelson <kkm@kis.ru>
1504 * objects-msw.c (mswindows_initialize_font_instance): Use ANSI
1505 charset when creating font.
1506 (mswindows_initialize_color_instance): Do not create brush along
1508 (mswindows_finalize_color_instance): Do not delete it then.
1510 * objects-msw.h (struct mswindows_color_instance_data): Removed
1511 brush slot, and corresponding accessor macro.
1513 1998-05-18 Kirill M. Katsnelson <kkm@kis.ru>
1515 * toolbar.c: Removed toolbar_data lrecord implementation.
1516 (mark_frame_toolbar_buttons_dirty): Replase usage of toolbar_data
1517 with toolbar_buttons (via FRAME_TOOLBAR_BUTTONS).
1518 (compute_frame_toolbar_buttons): Ditto.
1519 (CHECK_TOOLBAR): Ditto.
1520 (set_frame_toolbar): Removed allocation of toolbar_data lrecord.
1521 (update_frame_toolbars): Do not check for changed buffer
1522 here. Toolbar information is provided by cached specs in
1523 windows. The check for buffer is eliminated becuase toolbars are
1524 marked changed in set_frame_selected_window() in frame.c
1525 Added check for changed toolbars geometry.
1526 (compute_frame_toolbars_data): Removed unused second parameter;
1527 Adjusted callers of this static function throughout the file.
1528 (init_frame_toolbars): Initialize current_toolbar_size.
1529 (update_frame_toolbars): Use DEVICE_SUPPORTS_TOOLBARS_P instead of
1530 what is its current expansion, for clarity.
1531 (init_frame_toolbars): Ditto.
1532 (init_device_toolbars): Ditto.
1533 (init_global_toolbars): Ditto.
1535 * toolbar.h: Removed definition of toolbar_data lrecord.
1536 Added accessor macros FRAME_TOOLBAR_BUTTONS and
1537 FRAME_CURRENT_TOOLBAR_SIZE.
1538 Added macro DEVICE_SUPPORTS_TOOLBARS_P.
1540 * toolbar-x.c (x_output_toolbar): The same change as in
1542 (x_output_toolbar): Ditto.
1543 (x_redraw_exposed_toolbar): Ditto.
1545 * toolbar-msw.c (mswindows_output_toolbar): Retrieve current
1546 buttons from toolbar_buttons using FRAME_TOOLBAR_BUTTONS macro.
1547 (mswindows_output_toolbar): Ditto.
1548 (mswindows_output_toolbar): Ditto.
1550 * frame.c (mark_frame): Removed marking of arrays, according to
1551 frameslots.h change.
1552 (nuke_all_frame_slots): Ditto.
1553 (set_frame_selected_window): Mark toolbars changed when
1554 last_nonminibuf_window changes.
1556 * frame.h (struct frame): Moved some slots to frameslots.h.
1557 Added current_toolbar_size array.
1558 Changed references from toolbar_data to toolbar_buttons in macros
1559 FRAME_RAW_THEORETICAL_TOOLBAR_VISIBLE,
1560 FRAME_RAW_THEORETICAL_TOOLBAR_SIZE and
1561 FRAME_RAW_THEORETICAL_TOOLBAR_BORDER_WIDTH.
1563 * frameslots.h: Added macro MARKED_SLOT_ARRAY a la winslots.h
1564 Moved arrays of lisp objects here from frame.h: toolbar_size,
1565 toolbar_visible_p, toolbar_border_width.
1566 Removed toolbar_data slot and added toolbar_buttons.
1568 1998-05-17 Kirill M. Katsnelson <kkm@kis.ru>
1570 * symsinit.h: Externed syms_of_process_nt()
1572 * emacs.c (main_1): Call syms_of_process_nt()
1574 * process-nt.c: Quote process arguments by a call to Lisp function
1575 `nt-quote-process-args'.
1576 (syms_of_process_nt): New function.
1577 (nt_send_process): Flush data stream after each write, to avoid
1578 leaving buffered data.
1579 (nt_send_process): When blocked on process output, wait for
1580 process to slurp more for progressively increasing time intervals.
1582 1998-05-17 Martin Buchholz <martin@xemacs.org>
1584 * window.c (have_undivided_common_edge): Make file-local function
1586 (map_windows): Return 0 if all map functions successful.
1589 * winslots.h: Use unlikely names for local variables in macros to
1590 avoid shadowing warnings.
1592 1998-05-17 Andy Piper <andyp@parallax.co.uk>
1594 * toolbar-msw.c (mswindows_output_toolbar): hash on toolbar width
1595 so that we re-output if the toolbar size has changed.
1597 1998-05-17 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
1599 * s/aix4-2.h (ALIGN_DATA_RELOC): Undefined to support new unexaix.c.
1601 * s/aix3-1.h (ALIGN_DATA_RELOC): Defined to support new unexaix.c.
1603 * unexaix.c: Massive cleanup and support of AIX 4.2 (and hopefully
1606 1998-05-16 Kirill M. Katsnelson <kkm@kis.ru>
1608 * glyphs-msw.c: Defined OEMRESOURCE before including windows.h to
1609 get bitmap manifest constants defined.
1611 * console-msw.h: Include system files in angle brackets, not in
1614 * window.c (specifier_vars_of_window): Fixed a typo in
1615 `vertical-divider-line-width' docstirng.
1617 1998-05-16 Olivier Galibert <galibert@pobox.com>
1619 * line-number.c (delete_invalidate_line_number_cache): Use an
1621 (buffer_line_number): Remove dangerous, plain wrong when using
1622 64bits emacs ints, cast.
1624 * insdel.c (buffer_delete_range): Use an EMACS_INT.
1626 * cmds.c (Fforward_line): Use EMACS_INTs.
1628 * search.c (bi_scan_buffer): Change to use EMACS_INTs.
1629 (scan_buffer): Ditto.
1630 (bi_find_next_newline_no_quit): Remove useless cast.
1631 (find_next_newline_no_quit): Ditto.
1632 (find_next_newline): Ditto.
1633 (find_before_next_newline): Use an EMACS_INT.
1635 * lisp.h: Change scan_buffer to pass EMACS_INTs.
1637 1998-05-16 Hrvoje Niksic <hniksic@srce.hr>
1639 * menubar-msw.c (mswindows_handle_wm_command): Ditto.
1641 * toolbar-msw.c (mswindows_handle_toolbar_wm_command): Ditto.
1643 * gui-x.c (popup_selection_callback): Use it.
1645 * gui.h (get_callback): Declare it.
1647 * gui.c (get_callback): New function.
1649 1998-05-15 SL Baur <steve@altair.xemacs.org>
1651 * window.c (have_undivided_common_edge): Guard scrollbar specific
1653 (window_needs_vertical_divider_1): Ditto.
1655 1998-05-16 Hrvoje Niksic <hniksic@srce.hr>
1657 * emacs.c (decode_path): Eliminate compiler warning.
1658 (Fdecode_path): Renamed to Fsplit_path.
1659 (Fsplit_string_by_char): New function.
1661 1998-05-14 Damon Lipparelli <lipp@primus.com>
1663 * winslots.h: close comment
1665 1998-05-16 Kirill M. Katsnelson <kkm@kis.ru>
1667 * callproc.c: Removed declared and unused variable Qbuffer_file_type.
1669 * bufslots.h: Removed buffer_file_type slot.
1671 * buffer.c (complex_vars_of_buffer): Removed buffer_file_type from
1673 (complex_vars_of_buffer): Removed buffer-file-type variable and
1674 its default reference.
1676 1998-05-15 Kirill M. Katsnelson <kkm@kis.ru>
1678 * faces.c (complex_vars_of_faces): Defined
1679 Vvertical_divider_face.
1680 (vars_of_faces): Staticpro it.
1682 * faces.h: Externed Vvertical_divider_face.
1684 * redisplay-x.c (x_output_vertical_divider): Use
1685 Vvertical_divider_face to draw the divider instead of modeline
1688 * redisplay-msw.c (mswindows_output_vertical_divider): Draw
1689 divider face using Vvertical_divider_face background.
1690 Fix drawing spacing gaps around the divider.
1692 1998-05-14 Didier Verna <verna@inf.enst.fr>
1694 * redisplay-x.c (x_output_vertical_divider): removed hard-wired
1695 values for the vertical divider line width and spacing. Use the
1696 cached values from the window structure instead.
1697 (x_divider_width): ditto.
1699 * window.c (specifier_vars_of_window): new specifiers:
1700 vertical-divier -line-width and -spacing.
1701 (vertical_divider_global_width_changed): formerly known as
1702 vertical_divider_shadow_thickness_changed.
1704 * winslots.h: new slots: vertical_specifier _line_width and
1705 _spacing. Plus corrected a comment typo.
1707 1998-05-15 Kirill M. Katsnelson <kkm@kis.ru>
1709 * window.h: Declared window_divider_width().
1711 * console-stream.c (stream_divider_width): Removed method.
1712 (console_type_create_stream): And declaration for it.
1714 * redisplay.c (pixel_to_glyph_translation): Use
1715 window_divider_width() instead of divider_width redisplay method.
1716 (pixel_to_glyph_translation): Fix top divider edge calculation
1717 when scrollbar is on top.
1719 * window.c (window_divider_width): New function, an outphaser for
1720 divider_width redisplay method.
1721 (window_right_gutter_width): Use it.
1722 (specifier_vars_of_window): For vertical-divider-{spacing,line-width}
1723 specifiers, set fallback values differently on TTYs, and document
1724 the behavior of these on TTYs in the docstrings.
1726 * scrollbar.c (update_scrollbar_instance): Use
1727 window_divider_width() instead of divider_width redisplay method.
1729 * console.h (struct console_methods): Removed divider_width_method.
1731 * redisplay-tty.c (tty_divider_width): Removed device method.
1732 (console_type_create_redisplay_tty): Removed definition for it.
1733 (tty_output_vertical_divider): Respect the value returned by
1734 window_divider_width thus divider line width specification.
1736 * redisplay-msw.c (mswindows_divider_width): Removed device method.
1737 (console_type_create_redisplay_mswindows): Removed definition for it.
1738 (mswinodws_output_vertical_divider): Respect the value returned by
1739 window_divider_width thus divider line width specification.
1741 1998-05-15 Andy Piper <andyp@parallax.co.uk>
1743 * toolbar-msw.c: guess toolbar frame size a bit more accurately.
1745 1998-05-15 Andy Piper <andyp@parallax.co.uk>
1747 * glyphs-msw.c: resource loading implementation.
1748 (cursor_normalize): new function.
1749 (cursor_validate): ditto.
1750 (cursor_instantiate): ditto.
1751 (cursor_name_to_resource): ditto.
1752 (cursor_possible_dest_types): ditto.
1753 (check_valid_symbol): ditto.
1754 (check_valid_string_or_int): ditto.
1756 1998-05-14 Martin Buchholz <martin@xemacs.org>
1758 * sysdep.c (tty_init_sys_modes_on_device): Treat VSUSP just like
1761 * process-unix.c (process_signal_char): Use VSUSP instead of
1762 non-standard VSWTCH. Always prefer VSUSP to VSWTCH.
1764 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
1766 * specifier.c (specifier_instance): Change locale precedence of
1767 instantiation so window locale has higher priority than buffer
1769 (Fspecifier_instance): Reflect this in docstring.
1770 (Fadd_spec_list_to_specifier): Ditto.
1771 (Fadd_spec_to_specifier): Ditto.
1772 (Fremove_specifier): Ditto.
1774 1998-05-15 Kirill M. Katsnelson <kkm@kis.ru>
1776 ** Dialog separation into a device method from Andy Piper
1778 * emacs.c (main_1): Call console_type_create_dialog_x().
1780 * dialog-x.c (x_popup_dialog_box): Old Fpopup_dialog_box converted
1781 into this device method.
1782 (console_type_create_dialog_x): New function.
1784 * dialog.c (Fpopup_dialog_box): New function.
1785 (syms_of_dialog): Defsubr it.
1787 * console.h (struct console_methods): Declared
1788 popup_dialog_box_method().
1790 * symsinit.h: Defined console_type_create_dialog_{x,mswindows}
1792 1998-05-14 Oliver Graf <ograf@fga.de>
1794 * dragdrop.c (vars_of_dragdrop): dragdrop-protocols created
1795 * frame-x.c (x_cde_transfer_callback): checked for merge errors
1797 1998-05-13 Oliver Graf <ograf@fga.de>
1799 * dragdrop.c (vars_of_dragdrop): provide dragdrop-api
1801 1998-05-15 Kirill M. Katsnelson <kkm@kis.ru>
1803 * console.h (device_metrics): Removed dbcs, input-method-editor
1804 and right-to-left metrics.
1806 * device.c (Fdevice_system_metric): Ditto.
1807 (Fdevice_system_metrics): Ditto.
1808 (syms_of_device): Ditto.
1809 (Fdevice_system_metric): Swapped DEVICE and METRIC parameters back
1812 1998-05-14 Hrvoje Niksic <hniksic@srce.hr>
1814 * line-number.h (mark_line_number_cache): Remove unused
1817 * line-number.c (LINE_NUMBER_FAR): Increase to 32768.
1818 (get_nearest_line_number): Simplify.
1819 (add_position_to_cache): Make the old marker point nowhere.
1821 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
1823 ** Renamed window-divider-map => vertical-divider-map
1824 and event-over-divider-p => event-over-vertical-divider-p,
1825 in the following files/functions:
1827 * events.c (Fevent_over_divider_p):
1828 * keymap.c (get_relevant_keymaps):
1831 * redisplay.h (OVER_V_DIVIDER): Renamed so from OVER_DIVIDER.
1833 * redisplay.c (pixel_to_glyph_translation): Use OVER_V_DIVIDER.
1835 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
1837 * window.c (vertical_divider_changed_in_window): Renamed so.
1838 (specifier_vars_of_window): Defined Vvertical_divider_draggable_p.
1839 (window_needs_vertical_divider_1): Decide whether we need it based
1840 on the value of the above specifier. If separators are unwanted,
1841 put them only if there's no scrollbar between this window and its
1843 (have_undivided_common_edge): New function, helper for the above.
1844 (window_needs_vertical_divider): Return either a cached value,
1845 or clauclate and cache one.
1846 (invalidate_vertical_divider_cache_in_window): Implemented.
1847 (map_windows): Changed return type to int, return the value from
1850 * window.h: Prototype invalidate_vertical_divider_cache_in_window.
1851 (struct window): Added need_vertical_divider_p and
1852 need_vertical_divider_valid_p.
1854 * winslots.h: Added vertical_divider_draggable_p slot.
1856 * scrollbar.c (vertical_scrollbar_changed_in_window): Implemented.
1857 (specifier_vars_of_scrollbar): Used it in all vertical specifiers.
1859 * frame.c (invalidate_vertical_divider_cache_in_frame): New function.
1861 * frame.h (MARK_FRAME_WINDOWS_STRUCTURE_CHANGED): Call
1862 invalidate_vertical_divider_cache_in_frame().
1865 1998-05-14 Andy Piper <andyp@parallax.co.uk>
1867 * toolbar-msw.c: provide correct parameters to TB_SETROWS.
1869 * glyphs-msw.c (mswindows_initialize_image_instance_mask): size
1870 masks correctly and don't select 0.
1872 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
1874 * winslots.h: New file, declaration of some struct window and
1875 struct saved_window members.
1877 * window.h (struct window): Include it, with required preprocessor
1880 * window.c (mark_window): Ditto.
1881 (allocate_window): Ditto.
1882 (struct saved_window): Ditto.
1883 (mark_window_config): Ditto.
1884 (saved_window_equal): Ditto.
1885 (Fset_window_configuration): Ditto.
1887 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
1889 * redisplay-msw.c (mswindows_output_vertical_divider): Syntax fix.
1891 1998-05-12 Didier Verna <verna@inf.enst.fr>
1893 * redisplay-x.c (x_output_vertical_divider): draw shadows around
1894 the divider line. The shadow thickness is currently
1895 hard-wired. This will probably be turned into a specifier soon.
1897 1998-05-12 Didier Verna <verna@inf.enst.fr>
1899 * console.h (struct console_methods): the divider_width console
1900 method now requires a struct window * argument.
1902 * redisplay-x.c (x_divider_width): ditto. Plus remove
1903 X_DIVIDER_WIDTH, X_DIVIDER_SHADOW_THICKNESS.
1904 (x_output_vertical_divider): give a depressed look when the shadow
1905 thickness is negative.
1907 * console-stream.c (stream_divider_width): pass a struct window *
1910 * redisplay-tty.c (tty_divider_width): ditto.
1912 * window.c (window_right_gutter_width): totdi.
1914 * redisplay.c (generate_modeline): ittod.
1916 * scrollbar.c (update_scrollbar_instance): ttido.
1918 * redisplay-msw.c (mswindows_divider_width): ottid.
1919 WARNING: this enables to compile, but the feature is not functional.
1921 * window.h (struct window): new field
1922 vertical_divider_shadow_thickness.
1924 * window.c (specifier_vars_of_window): new specifier
1925 vertical-divider-shadow-thickness.
1926 (vertical_divider_shadow_thickness_changed): new function to
1927 inform redisplay that the window has changed.
1928 (mark_window): handle new field vertical_divider_shadow_thickness
1930 (allocate_window): ditto.
1931 (saved_window_equal): toddi.
1932 (Fset_window_configuration): totid.
1933 (save_window_save): ttdio.
1934 (struct saved_window): new field vertical_divider_shadow_thickness.
1936 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
1938 * device-msw.c (mswindows_device_system_metrics): Support a deluge
1941 1998-05-12 Oliver Graf <ograf@fga.de>
1943 * frame-x.c (x_cde_transfer_callback): fixed for the new protocol
1944 * event-Xt.c (x_event_to_emacs_event): C++ compability
1946 1998-05-14 Hrvoje Niksic <hniksic@srce.hr>
1948 * emacs.c (Fdecode_path): Default SEPCHAR to value of
1951 1998-05-14 Hrvoje Niksic <hniksic@srce.hr>
1953 * emacs.c (vars_of_emacs): Do it here; change the meaning of
1956 * fileio.c (vars_of_fileio): Don't define Vpath_separator here.
1958 1998-05-14 Hrvoje Niksic <hniksic@srce.hr>
1960 * emacs.c (decode_path_1): New function.
1961 (decode_path): Use it.
1962 (Fdecode_path): Renamed from Fdecode_path_internal; use
1965 1998-05-12 Hrvoje Niksic <hniksic@srce.hr>
1967 * macros.c (Fzap_last_kbd_macro_event): New function.
1968 (Fend_kbd_macro): Remove REMOVE_LAST kludge.
1970 1998-05-10 Andy Piper <andyp@parallax.co.uk>
1972 * redisplay-msw.c (mswindows_output_dibitmap_region): make sure
1973 multiple bitmaps are output vertically as well as horizontally.
1974 * (mswindows_output_dibitmap): don't cope with bitmap boundaries
1975 crossing lines this is handled by
1976 mswindows_output_dibitmap_region.
1978 1998-05-12 Martin Buchholz <martin@xemacs.org>
1980 * inline.c: Include eldap.h
1982 * menubar-x.c (x_update_frame_menubar_internal):
1983 Remove: unused variable `container'
1985 1998-05-11 Martin Buchholz <martin@xemacs.org>
1987 * s/aix4.h: Allow AIX 4.3 XEmacs to compile cleanly.
1988 Unfortunately, the resulting temacs still cannot dump.
1990 * symbols.c (symbol_is_constant):
1991 (verify_ok_for_buffer_local):
1992 -Wswitch Warning suppression - add default case to switches.
1994 * redisplay.c (decode_mode_spec): Remove unused variables,
1995 Replace Fcoding_system_property (codesys, Qmnemonic) with
1996 XCODING_SYSTEM_MNEMONIC (codesys);
1997 Fcoding_system_property is for users.
2003 Change empty docstrings into no doc strings at all.
2004 Fix bogus FSF-format docstrings.
2007 Standardize docstrings.
2010 Explain problems with matherr.
2012 * glyphs.c: make DEFUNs etags-readable, i.e. single-line
2015 if BROKEN_SIGIO, then SIGIO wants to be undefined.
2016 if SIGIO and not SIGPOLL, SIGPOLL wants to be SIGIO.\
2017 Fix the weird resultant interaction (causes windows problems)
2021 Take new EMACSBOOTSTRAPLOADPATH into account.
2022 Update documentation strings
2025 - Adjust for luser's CDPATH being set to something weird.
2026 - Take into account bash 2.02's tendency to print the cwd when
2027 using CDPATH. Always use `cd ./foo' instead of `cd foo'.
2028 - fix the run-temacs target to use $(DUMPENV)
2029 - fix the run-puremacs target to use $(DUMPENV)
2030 - fix the `depend' target to properly $(RM) the right files
2031 - Generate a better TAGS file for XEmacs' lisp code using
2032 hand-crafted regexps.
2033 - Use standard coding conventions for modules/Makefile.in
2035 1998-05-12 Didier Verna <verna@inf.enst.fr>
2037 * redisplay.c: removed the scrolling modeline code that didn't
2038 make it for 21.0. To be continued ...
2040 1998-05-13 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
2042 * emacs.c (Fdecode_path_internal): Removed bogus handling of nil
2043 and empty string inputs.
2045 1998-05-12 Hrvoje Niksic <hniksic@srce.hr>
2047 * redisplay-x.c (x_output_vertical_divider): Fixed typo.
2049 1998-05-10 Oliver Graf <ograf@fga.de>
2051 * event-stream.c (enqueue_misc_user_event_pos): created
2052 * lisp.h (enqueue_misc_user_event_pos): prototype added
2053 * frame-x.c (x_cde_transfer_callback): debug code plus API changes
2054 * emacs.c: call vars_of_dragdrop
2055 * dragdrop.c (vars_of_dragdrop): provide dragdrop
2057 1998-05-11 Oliver Graf <ograf@fga.de>
2059 * frame-x.c (x_cde_transfer_callback): return at correct pos
2060 * event-Xt.c (x_event_to_emacs_event): changed format of drop
2061 object for MIME (see comment in dragdrop.c)
2062 * dragdrop.c: API change documented in comment
2063 removed provide of dragdrop [is provided by dragdrop.el]
2065 1998-05-12 Kirill M. Katsnelson <kkm@kis.ru>
2067 * window.c (window_needs_vertical_divider): Enable vertical
2068 dividers for every non-rightmost window.
2069 (window_left_gutter_width): Left gutter consists of mythical
2070 toolbar and a virtual scrollbar.
2071 (window_right_gutter_width): The right one may have a divider
2074 * scrollbar.c (update_scrollbar_instance): Position vertical
2075 scrollbar left to divider if the latter present.
2077 * redisplay.h: Declared OVER_DIVIER constant.
2079 * redisplay.c (pixel_to_glyph_translation): Handle OVER_DIVIDER
2082 * redisplay-x.c (x_output_vertical_divider): Output divider along
2083 the right side of the window, down to window bottom. Swapped
2084 foreground and background colors so it is visible by default.
2086 * redisplay-tty.c (tty_output_vertical_divider): Uncondiionally
2087 stick the divider to the right window side.
2089 * redisplay-msw.c (mswindows_redisplay_deadbox_maybe): Fixed
2091 (mswindows_divider_width): Ask system for user preferred value.
2092 (mswindows_output_vertical_divider): Always output the divider on
2093 the right side of a window, down to bottom.
2095 * keymap.c (get_relevant_keymaps): Route mouse button events which
2096 happened over a window divider through window-divider-map.
2097 (Fkey_binding): Documented that in the docstring.
2098 Defined the variable Vwindow_divider_map.
2100 * events.c (Fevent_over_divider_p): Added this function.
2102 * events.h: EXFUNed it.
2104 1998-05-12 Kirill M. Katsnelson <kkm@kis.ru>
2106 * toolbar.c (update_frame_toolbars): Re-layout frame windows if
2107 toolbar geometry is suspected to change.
2109 1998-05-11 Jonathan Harris <jhar@tardis.ed.ac.uk>
2113 Condition dnd and dde code on HAVE_DRAGNDROP.
2115 1998-05-11 Hrvoje Niksic <hniksic@srce.hr>
2117 * events.c (format_event_object): Print space as SPC etc.
2119 1998-05-11 Hrvoje Niksic <hniksic@srce.hr>
2121 * print.c (print_internal): In the default case, abort() if
2122 ERROR_CHECK_TYPECHECK.
2124 * fileio.c (Fmake_temp_name): Doc fix.
2126 1998-05-10 Hrvoje Niksic <hniksic@srce.hr>
2128 * xgccache.c (describe_gc_cache): Define only if DEBUG_XEMACS.
2130 * undo.c (Fprimitive_undo): Fixed typo.
2132 1998-05-11 Hrvoje Niksic <hniksic@srce.hr>
2134 * fns.c (concat): Signal error on integer argument.
2136 1998-05-10 Kirill M. Katsnelson <kkm@kis.ru>
2138 * console.h (device_metrics): Prefixed each constatnt with DM_
2140 * device.c: (Fdevice_system_metric): Renamed so from plural form
2141 (metrics); Changed parameters order and added DEFAULT parameter;
2142 Unabbreviated some metric constants; Fixed and untabified doc string.
2143 (Fdevice_system_metrics): Added. Returns a plist of all provided
2146 * device-msw.c (mswindows_device_system_metrics): Renamed
2147 device_metrics enum constants.
2148 Return Qunbound instead of Qnil.
2150 * device-tty.c (tty_device_system_metrics): Ditto.
2152 * device-x.c (x_device_system_metrics): Ditto.
2154 1998-05-10 Andy Piper <andyp@parallax.co.uk>
2156 * redisplay-msw.c: implement background pixmaps (really!). Make
2157 sure bg color is transparent if we have bg pmaps.
2158 * (mswindows_output_string) (mswindows_clear_region): output bg
2160 * (mswindows_output_dibitmap_region): new function.
2161 * (mswindows_output_dibitmap): output offset pixmaps, blt masks in
2162 the bg color rather than transparently.
2164 * toolbar-msw.c: use masks if they exist.
2166 * glyphs-msw.c: set up masks correctly.
2168 * event-msw.c: typedef SOCKET if cygwin and not msg select().
2170 1998-05-10 Hrvoje Niksic <hniksic@srce.hr>
2172 * regex.c (re_match_2_internal): Check for quit.
2174 1998-05-10 Hrvoje Niksic <hniksic@srce.hr>
2176 * frame.c (Ffocus_frame): New function.