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