1 1998-11-28 SL Baur <steve@altair.xemacs.org>
3 * XEmacs 21.2-beta4 is released.
5 1998-11-27 SL Baur <steve@altair.xemacs.org>
7 * mule-charset.c (complex_vars_of_mule_charset): Fix graphic
8 property in control-1 charset.
9 From Julian Bradfield <jcb@daimi.au.dk>
11 1998-11-26 Jan Vroonhof <vroonhof@math.ethz.ch>
13 * gui-x.c (button_item_to_widget_value): Ignore :key-sequence
17 * gui.c (gui_item_add_keyval_pair): ditto.
19 * menubar-x.c (menu_item_descriptor_to_widget_value_1): Ignore
20 :key-sequence keyword.
22 Support :active for submenus like the Windows code and FSF Emacs.
24 1998-11-27 Hrvoje Niksic <hniksic@srce.hr>
26 * dired.c (make_directory_hash_table): make_string() is OK because
27 readdir() Mule-encapsulates.
29 1998-11-26 Hrvoje Niksic <hniksic@srce.hr>
31 * fns.c (Fbase64_encode_string): Fix docstring.
32 (Fbase64_decode_string): Ditto.
34 1998-11-26 Hrvoje Niksic <hniksic@srce.hr>
36 * editfns.c (Ftranslate_region): Use
37 convert_bufbyte_string_into_emchar_string().
39 1998-11-25 Hrvoje Niksic <hniksic@srce.hr>
41 * editfns.c (Ftranslate_region): Accept vectors and char-tables as
43 (Ftranslate_region): Turn table into an array of Emchars for
46 1998-11-25 Hrvoje Niksic <hniksic@srce.hr>
48 * chartab.c (Freset_char_table): Fix wrong placement of #endif.
50 1998-11-24 Hrvoje Niksic <hniksic@srce.hr>
52 * chartab.c (Freset_char_table): Don't blindly fill chartables of
53 type `char' with nils.
55 * chartab.c (canonicalize_char_table_value): Coerce ints to chars
56 for tables of type `char'.
58 1998-11-26 Didier Verna <verna@inf.enst.fr>
60 * input-method-xlib.c (Initialize_Locale): don't call
61 XtSetLanguageProc. We've done the whole work here.
62 * input-method-xfs.c (Initialize_Locale): ditto.
63 * input-method-motif.c (Initialize_Locale): ditto.
65 1998-11-26 Didier Verna <verna@inf.enst.fr>
67 * process-unix.c (unix_create_process): handle properly
68 Vfile_name_coding_system for converting the program and directory
71 1998-11-27 SL Baur <steve@altair.xemacs.org>
74 From James LewisMoss <dres@ioa.com>
76 1998-11-27 Takeshi Hagiwara <hagiwara@ie.niigata-u.ac.jp>
79 Fix the realpath() problem of UnixWare2.1.3.
80 Patches for NEC's sysv4.2 machine.
82 1998-11-25 Hrvoje Niksic <hniksic@srce.hr>
84 * dired.c (Fdirectory_files): Remove redundant code.
86 1998-11-25 Hrvoje Niksic <hniksic@srce.hr>
88 * fns.c (free_malloced_ptr): New function.
89 (XMALLOC_OR_ALLOCA): New macro.
90 (XMALLOC_UNBIND): Ditto.
91 (Fbase64_encode_region): Use malloc() for large blocks; arrange it
92 to be freed in case of non-local exit.
93 (Fbase64_encode_string): Ditto.
94 (Fbase64_decode_region): Ditto.
95 (Fbase64_decode_string): Ditto.
96 (STORE_BYTE): New macro.
97 (base64_decode_1): Use it.
99 1998-11-25 Hrvoje Niksic <hniksic@srce.hr>
101 * fns.c (base64_value_to_char): Base64 stuff.
103 1998-11-24 Hrvoje Niksic <hniksic@srce.hr>
105 * editfns.c (Fbuffer_substring): New function.
107 * lisp.h: Declare make_string_from_buffer_no_extents().
109 * insdel.c (make_string_from_buffer_1): New function.
110 (make_string_from_buffer_no_extents): Ditto.
112 1998-11-15 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
114 * linuxplay.c: Including <fcntl.h> instead of <sys/fcntl.h> makes
115 sound work on AIX with OSS installed. Linux should still work.
117 1998-11-03 Andy Piper <andyp@parallax.co.uk>
119 * config.h.in: name change for cygwin/version.h
121 * configure.in: check for cygwin/version.h now.
123 * cygwin32.h: track CYGWIN_DLL_VERSION_MAJOR ->
124 CYGWIN_VERSION_DLL_MAJOR name change in cygwin b20.
125 move cygwin32/version.h to cygwin/version.h
127 1998-11-03 Olivier Galibert <galibert@pobox.com>
129 * lisp.h (struct Lisp_Bit_Vector): Fix declaration of bits from
132 1998-10-22 Andy Piper <andyp@parallax.co.uk>
134 * cygwin32.h: track CYGWIN_DLL_VERSION_MAJOR ->
135 CYGWIN_VERSION_DLL_MAJOR name change in cygwin b20.
136 enable BROKEN_SIGIO under b20 to make QUIT work.
138 1998-10-22 Andy Piper <andyp@parallax.co.uk>
140 * frame-msw.c (mswindows_size_frame_internal): force frame sizing
141 to fit within the constraints of the screen size. I.e. make the
142 frame small enough to fit and move it if some of it will be
145 1998-10-19 Greg Klanderman <greg@alphatech.com>
147 * dired.c: conditionalize inclusion of user-name-completion
148 primitives on non-Windows NT. The needed functions don't exist on NT.
150 1998-11-24 SL Baur <steve@altair.xemacs.org>
152 * gifrlib.h: Clean up types for 64 bit compile.
153 * dgif_lib.c (DGifInitRead): Ditto.
154 (MakeSavedImage): Ditto.
155 * emacs.c (decode_path): Ditto.
156 From Steve Carney <carney@pa.dec.com>
158 1998-10-16 William M. Perry <wmperry@aventail.com>
160 * glyphs-msw.c (bitmap_table): Fixed typo in builtin bitmaps
161 (cehckboxes instead of checkboxes).
163 1998-10-15 SL Baur <steve@altair.xemacs.org>
165 * XEmacs 21.2-beta3 is released.
167 1998-10-13 Raymond Toy <toy@rtp.ericsson.se>
169 * runemacs.c (WinMain): If the basename is "rungnuclient.exe", run
170 gnuclient. Otherwise, we run xemacs as we always did. This gets
171 rid of the annoying DOS window when running gnuclient.
173 1998-10-13 Andy Piper <andyp@parallax.co.uk>
175 * dragdrop.c (vars_of_dragdrop): rename HAVE_MSWINDOWS ->
176 HAVE_MS_WINDOWS typo.
178 1998-10-13 SL Baur <steve@altair.xemacs.org>
180 * process-unix.c (unix_send_process): Set closed flag on writable
181 pipe after SIGPIPE is received and before we call deactivate_process.
183 1998-10-03 Gunnar Evermann <ge204@eng.cam.ac.uk>
185 * window.c (Fset_window_start): respect narrowing when
186 checking wheter start is at the beginning of a line.
187 (Fset_window_buffer): Ditto
188 Fixes repeatable crash in VM.
190 1998-10-09 SL Baur <steve@altair.xemacs.org>
192 * window.c (specifier_vars_of_window): Set default vertical
193 divider width to 1 on ttys.
195 1998-10-08 Martin Buchholz <martin@xemacs.org>
200 Add <stddef.h> to get ptrdiff_t declaration
202 1998-10-07 Jonathan Harris <jhar@tardis.ed.ac.uk>
204 * scrollbar-msw.c: Use the same vertical scrollbar drag hack as
205 is used for Motif or Lucid scrollbars under X.
207 1998-10-08 Pierre Wendling <pw@ebc.vbe.dec.com>
209 * m/alpha.h (UNEXEC): quoted to avoid bad expansion when running
212 1998-10-06 Takeshi Hagiwara <hagiwara@ie.niigata-u.ac.jp>
214 * frame-x.c (x_delete_frame): Fix an argument of XtDestroyWidget.
216 1998-10-05 Andy Piper <andyp@parallax.co.uk>
218 * s/cygwin32.h: more cygwin b20 reorganisation.
220 1998-10-03 Gunnar Evermann <ge204@eng.cam.ac.uk>
222 * window.c (Fset_window_start): Document me.
223 (Fset_window_buffer): Document me.
224 Fixes some sort of repeatable crash.
226 1998-10-01 Raymond Toy <toy@rtp.ericsson.se>
228 * nas.c: Added necessary support functions to be able to handle
229 WAVE files in memory, just like the support for SND files in
232 1998-09-30 SL Baur <steve@altair.xemacs.org>
234 * callproc.c (child_setup): Fix spelling typo.
236 1998-09-29 SL Baur <steve@altair.xemacs.org>
238 * XEmacs 21.2-beta2 is released.
240 1998-09-27 P. E. Jareth Hein <jareth@camelot.co.jp>
242 * regex.c (re_match_2_internal): Add in code to reset lowest_active_reg
243 to prevent memory corruption in the case of jumping out of a series of
244 nested match patterns. This is a rather brute force approach, though.
246 1998-09-02 Andy Piper <andyp@parallax.co.uk>
248 * config.h.in: ditto.
250 * s/cygwin32.h: rearrange declarations to cope with cygwin
251 b20. Include cygwin32/version.h if it exists.
253 1998-09-20 Jonathan Harris <jhar@tardis.ed.ac.uk>
255 * device-msw.c (mswindows_init_device): Call new
256 mswindows_enumerate_fonts() function in objects-msw.c instead
257 of font_enum_callback_1() to enumerate fonts.
259 font_enum_callback_1() and _2() moved to objects-msw.c.
261 * faces.c (complex_vars_of_faces): Make the mswindows default
262 face font fully specified and provide some fallbacks.
264 * objects-msw.c: font_enum_callback_1() and _2() moved here
265 from objects-msw.c. Obtain the enumerated font's character
266 sets by table lookup instead of using the locale-specific
267 string provided by Windows.
269 New public non-method mswindows_enumerate_fonts() that fills
270 in the supplied mswindows device's font list.
272 mswindows_initialize_font_instance: Use the supplied name
273 variable instead of f->name when signalling errors. Match font
274 weights and character sets using lookup tables which handle
275 spaces instead of by frobbing.
277 1998-09-20 Jonathan Harris <jhar@tardis.ed.ac.uk>
279 * process-nt.c: Define an arbitrary limit, FRAGMENT_CODE_SIZE,
280 on the size of code fragments passed to run_in_other_process.
282 run_in_other_process(): Use FRAGMENT_CODE_SIZE to determine
283 the amount of memory to allocate in the other process.
285 Removed sigkill_code_end(), sigint_code_end() and
286 sig_enable_code_end() since they are now redundant.
288 send_signal() and enable_child_signals(): Don't try to work
289 out the end of the code fragments passed to
290 run_in_other_process()
292 1998-09-10 Kazuyuki IENAGA <ienaga@jsys.co.jp>
294 * src/s/freebsd.h: Added __ELF__ and compiler/liker flags for
297 * src/unexelf.c: Partially synched with FSF's 20.3.
299 1998-09-10 Hrvoje Niksic <hniksic@srce.hr>
301 * insdel.c (signal_after_change): Map across indirect buffers
302 here, and not in the upper-level functions.
303 (signal_first_change): Don't check for Armageddon.
304 (signal_before_change): Map across indirect buffers here.
305 (prepare_to_modify_buffer): ...and here.
307 1998-09-09 Hrvoje Niksic <hniksic@srce.hr>
309 * insdel.c (signal_after_change): Add return value.
310 (buffer_insert_string_1): Use it.
311 (buffer_delete_range): Ditto.
312 (buffer_replace_char): Ditto.
313 (cancel_multiple_change): Map the indirect buffers.
315 1998-09-06 Hrvoje Niksic <hniksic@srce.hr>
317 * insdel.c (init_buffer_text): Remove INDIRECT_P parameter.
318 (uninit_buffer_text): Ditto.
320 * buffer.c (Fmake_indirect_buffer): Implement stricter
323 1998-09-04 Hrvoje Niksic <hniksic@srce.hr>
325 * insdel.c (change_function_restore): Reverse order of
326 function-call and assignment.
327 (first_change_hook_restore): Ditto.
329 * extents.c (mark_extent_auxiliary): Mark them.
330 (Fset_extent_property): Set them.
331 (Fextent_property): Get them.
332 (Fextent_properties): Ditto.
333 (vars_of_extents): Set their default.
335 * extents.h (struct extent_auxiliary): Add before_change_functions
336 and after_change_functions.
338 * insdel.c (signal_before_change): Use it.
339 (signal_after_change): Ditto.
341 * extents.c (report_extent_modification): New function.
343 * insdel.c (signal_before_change): Don't check for Armageddon.
344 (signal_after_change): Ditto.
346 1998-09-11 Gunnar Evermann <Gunnar.Evermann@nats.informatik.uni-hamburg.de>
348 * redisplay.c (redisplay_window): make sure a new starting point
349 is chosen if it somehow got moved from the beginning of the line
350 -- this can happen because Fwiden was called recently.
352 * window.c (Fset_window_start): set start_at_line_beg correctly
353 (Fset_window_buffer): Ditto
355 1998-09-06 Hrvoje Niksic <hniksic@srce.hr>
357 * insdel.c (init_buffer_text): Remove INDIRECT_P parameter.
358 (uninit_buffer_text): Ditto.
360 * buffer.c (Fmake_indirect_buffer): Implement stricter
363 1998-05-14 Jan Vroonhof <vroonhof@math.ethz.ch>
365 * emacs.c (main_1): Removed references to *vars_of_filelock.
367 * lisp.h: Added Fsystem_name.
369 * filelock.c: Replaced by version from FSF 20.2. Now implements
370 locking by using symlinks which is NFS safe. However keep the
371 GCPRO's in lock_file and the calls to callx_in_buffer like our old
372 version (and of course use ansi C, acessor macros, etc).
374 1998-09-06 Jan Vroonhof <vroonhof@math.ethz.ch>
376 * process-unix.c (unix_create_process): Reset SIGHUP handler to
377 SIG_DFL. We now try to conserve any inherted SIG_IGN settings
378 in init_signals_very_early. However these should not be passed
379 on to children attached to the new pty.
381 1998-08-28 Andy Piper <andyp@parallax.co.uk>
383 * glyphs-eimage.c (png_instantiate_unwind): clean up eimage after use.
385 1998-09-07 Jonathan Harris <jhar@tardis.ed.ac.uk>
387 * fileio.c (file-name-directory, file_name_as_directory):
388 Don't call CORRECT_DIR_SEPS, even when #defined WINDOWSNT.
390 1998-09-02 Andy Piper <andyp@parallax.co.uk>
392 * emacs.c (main_1): init_ralloc() if initialised and we have REL_ALLOC
394 * ralloc.c: uncomment __morecore.
396 1998-09-92 Jonathan Harris <jhar@tardis.ed.ac.uk>
398 * event-msw.c(winsock_writer): Supply a dummy 4th argument to
399 WriteFile() to fix a winsock 1.x bug on Win95.
401 1998-08-28 Hrvoje Niksic <hniksic@srce.hr>
403 * event-Xt.c (emacs_Xt_mapping_action): Check for device being
405 (x_event_to_emacs_event): Ditto.
406 (emacs_Xt_handle_focus_event): Ditto.
407 (emacs_Xt_handle_magic_event): Ditto.
409 * console-x.h (struct x_device): New flag being_deleted.
410 (DEVICE_X_BEING_DELETED): New macro.
412 * device-x.c (x_IO_error_handler): Throw to top-level instead of
413 returning. Before doing that, set the being_deleted flag on the
416 1998-08-27 Hrvoje Niksic <hniksic@srce.hr>
418 * device-x.c (x-seppuku-on-epipe): Removed.
420 1998-08-26 Gunnar Evermann <Gunnar.Evermann@nats.informatik.uni-hamburg.de>
422 * frame-x.c (x_delete_frame): Flush the X output buffer after
423 calling XtDestroyWidget to ensure that the windows are really
426 1998-08-26 Hrvoje Niksic <hniksic@srce.hr>
428 * menubar-x.c (my_run_hook): New unused function.
429 (pre_activate_callback): Use run_hook for Qactivate_menubar_hook,
430 since we ignore the results of the contained functions anyway.
432 1998-08-26 P. E. Jareth Hein <jareth@camelot.co.jp>
434 * glyphs-eimage.c (gif_instantiate): Fix a crash in handling
435 interlaced GIF files that are smaller than 4 lines high...
437 1998-08-31 Hrvoje Niksic <hniksic@srce.hr>
439 * buffer.c (map_over_sharing_buffers): Deleted.
441 * insdel.c (MAP_INDIRECT_BUFFERS): Move to buffer.h.
443 * buffer.c (Fkill_buffer): Keep indirect_children updated while
446 1998-08-31 Hrvoje Niksic <hniksic@srce.hr>
448 * insdel.c (buffer_insert_string_1): Advance the point bytind in
450 (buffer_delete_range): Ditto.
452 * marker.c (init_buffer_markers): Set point-marker to the value of
453 point in an indirect buffer.
455 1998-08-30 Hrvoje Niksic <hniksic@srce.hr>
457 * undo.c (undo_prelude): Test last-undo-buffer against base
460 * insdel.c (MAP_INDIRECT_BUFFERS): Use it.
462 * buffer.h (BUFFER_BASE_BUFFER): New macro.
464 1998-08-30 Hrvoje Niksic <hniksic@srce.hr>
466 * insdel.c (init_buffer_text): Initialize it here.
468 * line-number.c: Address line_number_cache through buffer->text.
470 * buffer.c (mark_buffer): Mark line number cache.
472 * bufslots.h (line_number_cache): Move to struct buffer_text.
474 * insdel.c (buffer_insert_string_1): Propagate signals and changes
475 across the children buffers.
476 (buffer_delete_range): Ditto.
477 (buffer_replace_char): Ditto.
481 * insdel.c (MAP_INDIRECT_BUFFERS): New macro.
483 * buffer.c (Fmake_indirect_buffer): Uncomment.
485 1998-08-31 Hrvoje Niksic <hniksic@srce.hr>
487 * macros.c (Fend_kbd_macro): Remove trailing period from error
489 (Fexecute_kbd_macro): Ditto.
491 1998-08-21 Greg Klanderman <greg@alphatech.com>
493 * dired.c (Fuser_name_completion): remove optional 2nd argument.
494 (Fuser_name_completion_1): new function to return uniqueness
495 indication in addition to the user name completion.
496 (user_name_completion): change type of `uniq' argument.
498 1998-08-19 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
500 * lread.c (vars_of_lread): Removed `source-directory' variable.
502 1998-08-22 Hrvoje Niksic <hniksic@srce.hr>
504 * fileio.c (Ffile_readable_p): Apply the DOS/Windows logic to
507 1998-08-19 SL Baur <steve@altair.xemacs.org>
509 * dired.c (vars_of_dired): Fix misapplied patch.
511 1998-08-16 Martin Buchholz <martin@xemacs.org>
513 * fns.c (Fremrassq, remrassq_no_quit):
514 A XCAR that should have been an XCDR turned Fremrassq into Fremassq
516 1998-07-17 Didier Verna <verna@inf.enst.fr>
518 * redisplay-x.c (x_get_gc): returns a GC with a FillStipple fill
519 style as foreground GC for faces that have the `dim' property.
520 (x_output_string): when the `dim' face property is set,
521 ensure the gray pixmap has been created, and get a proper
522 foreground GC to draw the text.
524 1998-08-09 Jonathan Harris <jhar@tardis.ed.ac.uk>
526 * event-msw.c (mswindows_wnd_proc): Workaround for a Win95 bug:
527 Manually track the state of the left and right Ctrl and Alt
530 1998-08-07 Matt Stupple <matts@tibco.com>
532 * ntproc.c: don't wait on char_consumed at thread entry.
533 Additionally, to get the 'process' marked as finished, ensure
534 that the CHILD_ACTIVE macro returns false, so before exiting
535 close char_avail and set it to NULL, and close other handles
536 to reduce handle leak problems.
538 1998-08-09 Jonathan Harris <jhar@tardis.ed.ac.uk>
540 * menubar-msw.c (displayable_menu_item): take account of menu
541 depth when deciding whether to try to display accelerators.
543 1998-08-04 Andy Piper <andyp@parallax.co.uk>
545 * event-msw.c: use MsgWaitForMultipleObjects if there are no
548 * glyphs-msw.c: fix a couple of potential handle leaks.
550 1998-08-04 P. E. Jareth Hein <jareth@camelot.co.jp>
552 * dgif_lib.c gif_io.c gifrlib.h: New files to put GIF
553 *decoding ONLY* back into the core.
554 * glyphs-eimage.c: Change referenced header file for GIF
555 reading to point to the incore version.
557 1998-07-20 Martin Buchholz <martin@xemacs.org>
559 * casefiddle.c (casify_object):
560 Change algorithm from O(N**2) to O(N).
564 1998-07-22 Greg Klanderman <greg@alphatech.com>
566 * dired.c (file_name_completion_unwind): don't leak the cons.
568 1998-07-20 Greg Klanderman <greg@alphatech.com>
570 * dired.c (Fuser_name_completion): new function.
571 (Fuser_name_all_completions): new function.
572 (user_name_completion): new function.
573 (syms_of_dired): 2 new DEFSUBRs.
574 (vars_of_dired): initialize user name cache vars.
576 1998-07-29 P. E. Jareth Hein <jareth@camelot.co.jp>
578 * glyphs-eimage.c (png_instantiate): Add proper handling for background
579 colors taken from the default face. Also correct a thinko in
580 transparency (not alpha) handling.
582 1998-07-23 Martin Buchholz <martin@xemacs.org>
584 * s/decosf4-0.h: Use a perfectly ordinary link. Nuke BSD crap.
585 * unexalpha.c: ANSI C-ize. Clean compiler warnings.
586 * lread.c (Fload_internal): Be very careful with printfs of
588 * gui-x.c (menu_name_to_accelerator): tolower wants an `int'
591 1998-07-27 Gunnar Evermann <Gunnar.Evermann@nats.informatik.uni-hamburg.de>
593 * callint.c (Fcall_interactively): GCPRO prompt string before
594 passing it to Fread_key_sequence
596 1998-07-27 SL Baur <steve@altair.xemacs.org>
598 * keymap.c (vars_of_keymap): Initialize Vkey_translation_map and
599 Vvertical_divider_map.
601 * mule-canna.c (vars_of_mule_canna): Initialize every symbol to
602 Qnil or 0, none were initialized prior to this change.
604 Rename misnamed `V' prefixed integer variables:
605 Vcanna_empty_info, Vcanna_through_info, Vcanna_underline,
606 Vcanna_inhibit_hankakukana, Vcanna_henkan_length, Vcanna_henkan_revPos,
607 Vcanna_henkan_revLen, Vcanna_ichiran_length, Vcanna_ichiran_revPos,
608 Vcanna_ichiran_revLen.
610 Rename misnamed `V' prefixed integer variables and initialize
611 properly in the vars_of routine.
612 Vcanna_mode_AlphaMode, Vcanna_mode_EmptyMode, Vcanna_mode_KigoMode,
613 Vcanna_mode_YomiMode, Vcanna_mode_JishuMode, Vcanna_mode_TankouhoMode,
614 Vcanna_mode_IchiranMode, Vcanna_mode_YesNoMode, Vcanna_mode_OnOffMode,
615 Vcanna_mode_AdjustBunsetsuMode, Vcanna_mode_ChikujiYomiMode,
616 Vcanna_mode_ChikujiTanMode, Vcanna_mode_HenkanMode,
617 Vcanna_mode_HenkanNyuryokuMode, Vcanna_mode_ZenHiraHenkanMode,
618 Vcanna_mode_HanHiraHenkanMode, Vcanna_mode_ZenKataHenkanMode,
619 Vcanna_mode_HanKataHenkanMode, Vcanna_mode_HanKataHenkanMode,
620 Vcanna_mode_ZenAlphaHenkanMode, Vcanna_mode_HanAlphaHenkanMode,
621 Vcanna_mode_ZenHiraKakuteiMode, Vcanna_mode_HanHiraKakuteiMode,
622 Vcanna_mode_ZenKataKakuteiMode, Vcanna_mode_HanKataKakuteiMode,
623 Vcanna_mode_ZenAlphaKakuteiMode, Vcanna_mode_HanAlphaKakuteiMode,
624 Vcanna_mode_HexMode, Vcanna_mode_BushuMode, Vcanna_mode_ExtendMode,
625 Vcanna_mode_RussianMode, Vcanna_mode_GreekMode, Vcanna_mode_LineMode,
626 Vcanna_mode_ChangingServerMode, Vcanna_mode_HenkanMethodMode,
627 Vcanna_mode_DeleteDicMode, Vcanna_mode_TourokuMode,
628 Vcanna_mode_TourokuEmptyMode, Vcanna_mode_TourokuHinshiMode,
629 Vcanna_mode_TourokuDicMode, Vcanna_mode_QuotedInsertMode,
630 Vcanna_mode_BubunMuhenkanMode, Vcanna_mode_MountDicMode,
631 Vcanna_fn_SelfInsert, Vcanna_fn_FunctionalInsert,
632 Vcanna_fn_QuotedInsert, Vcanna_fn_JapaneseMode, Vcanna_fn_AlphaMode,
633 Vcanna_fn_HenkanNyuryokuMode, Vcanna_fn_Forward, Vcanna_fn_Backward,
634 Vcanna_fn_Next, Vcanna_fn_Prev, Vcanna_fn_BeginningOfLine,
635 Vcanna_fn_EndOfLine, Vcanna_fn_DeleteNext, Vcanna_fn_DeletePrevious,
636 Vcanna_fn_KillToEndOfLine, Vcanna_fn_Henkan, Vcanna_fn_Kakutei,
637 Vcanna_fn_Extend, Vcanna_fn_Shrink, Vcanna_fn_AdjustBunsetsu,
638 Vcanna_fn_Quit, Vcanna_fn_ConvertAsHex, Vcanna_fn_ConvertAsBushu,
639 Vcanna_fn_KouhoIchiran, Vcanna_fn_BubunMuhenkan, Vcanna_fn_Zenkaku,
640 Vcanna_fn_Hankaku, Vcanna_fn_ExtendMode, Vcanna_fn_ToUpper,
641 Vcanna_fn_Capitalize, Vcanna_fn_ToLower, Vcanna_fn_Hiragana,
642 Vcanna_fn_Katakana, Vcanna_fn_Romaji, Vcanna_fn_BaseHiragana,
643 Vcanna_fn_BaseKatakana, Vcanna_fn_BaseEisu, Vcanna_fn_BaseZenkaku,
644 Vcanna_fn_BaseHankaku, Vcanna_fn_BaseKana, Vcanna_fn_BaseKakutei,
645 Vcanna_fn_BaseHenkan, Vcanna_fn_BaseHiraKataToggle,
646 Vcanna_fn_BaseZenHanToggle, Vcanna_fn_BaseKanaEisuToggle,
647 Vcanna_fn_BaseKakuteiHenkanToggle, Vcanna_fn_BaseRotateForward,
648 Vcanna_fn_BaseRotateBackward, Vcanna_fn_Touroku, Vcanna_fn_HexMode,
649 Vcanna_fn_BushuMode, Vcanna_fn_KigouMode, Vcanna_fn_Mark,
650 Vcanna_fn_TemporalMode, Vcanna_key_Nfer, Vcanna_key_Xfer,
651 Vcanna_key_Up, Vcanna_key_Left, Vcanna_key_Right, Vcanna_key_Down,
652 Vcanna_key_Insert, Vcanna_key_Rollup, Vcanna_key_Rolldown,
653 Vcanna_key_Home, Vcanna_key_Help, Vcanna_key_KP_Key,
654 Vcanna_key_Shift_Nfer, Vcanna_key_Shift_Xfer, Vcanna_key_Shift_Up,
655 Vcanna_key_Shift_Left, Vcanna_key_Shift_Right, Vcanna_key_Shift_Down,
656 Vcanna_key_Cntrl_Nfer, Vcanna_key_Cntrl_Xfer, Vcanna_key_Cntrl_Up,
657 Vcanna_key_Cntrl_Left, Vcanna_key_Cntrl_Right, Vcanna_key_Cntrl_Down
659 1998-07-16 Jan Vroonhof <vroonhof@math.ethz.ch>
661 * event-Xt.c (x_to_emacs_keysym): Return nil for modifier keysyms.
662 (x_event_to_emacs_event): Let x_to_emacs_keysym check for modifier
663 keys thus no longer considering all keysyms on a key.
665 1998-07-19 SL Baur <steve@altair.xemacs.org>
667 * XEmacs 21.2-beta1 is released.
669 1998-07-12 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
671 * eldap.c (Fldap_search_internal): When converting the list of
672 attributes to search Copy the final 0 from Lisp strings to C
674 Check base, not Vldap_default_base as a a string
676 1998-07-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
678 * nt.c: Remove Vstdio_str; already defined in console-stream.c.
680 * unexnt.c: Unconditionally define bss_start and bss_size, and
681 ensure that they don't go in the .bss section.
683 1998-07-17 Olivier Galibert <galibert@pobox.com>
685 * glyphs-x.c (convert_EImage_to_XImage): Fix previous patch (conv
686 byte order is dependant of the local byte order).
687 From Takeshi Hagiwara <hagiwara@ie.niigata-u.ac.jp>
689 1998-07-18 SL Baur <steve@altair.xemacs.org>
691 * glyphs-msw.c (mswindows_resource_normalize): Qresource ->
693 From Jonathan Harris <jhar@tardis.ed.ac.uk>
695 1998-07-12 SL Baur <steve@altair.xemacs.org>
697 * general.c (syms_of_general): Add defsymbol for Qresource.
699 * glyphs-msw.c (vars_of_glyphs_mswindows): Rename Qresource to
701 (TopLevel): Rename 'resource image format to 'mswindows_resource.
702 (mswindows_resource_validate): Rename.
703 (mswindows_resource_normalize): Rename.
704 (mswindows_resource_possible_dest_types): Rename.
705 (mswindows_resource_instantiate): Rename.
706 (image_instantiator_format_create_glyphs_mswindows): Replace
707 `resource' with `mswindows.resource'.
709 * XEmacs 21.0-pre5 is released.
711 1998-07-10 SL Baur <steve@altair.xemacs.org>
713 * mule-wnnfns.c (Fwnn_open): Correctly trap on misdefined Wnn
714 server type in environment.
715 Use alloca-ed strings instead of tiny fixed size ones.
717 1998-07-09 SL Baur <steve@altair.xemacs.org>
719 * XEmacs 21.0-pre4 is released.
721 1998-07-01 James N. Potts <jnpotts@plutonium.net>
723 * fileio.c: (expand_file_name): under win32: Don't treat names
724 as UNC names if a drive letter has been specified. If a drive
725 has been specified, strip out extra directory-seperators that
726 reportedly cause problems under Win95.
728 1998-07-09 Jonathan Harris <jhar@tardis.ed.ac.uk>
730 * windowsnt.h: Define DUMP_SEPARATE_SECTION when building with
731 MSVC >= 5.0. Put emacs init and zero-init data in a special
732 section of the executable when this is defined.
734 * unexnt.c, ntheap.h:
735 Removed unused find_section() and get_section_size().
738 Fix up the executable's checksum after dumping otherwise the
740 When DUMP_SEPARATE_SECTION is defined, don't need to dump
741 zero-init data separately from init data. Dump emacs data
742 into a special section of the executable.
743 When DUMP_SEPARATE_SECTION not defined, dump .bss up to
744 my_ebss instead of up to the end of bss.
746 1998-07-09 Jonathan Harris <jhar@tardis.ed.ac.uk>
748 * filelock.c: Removed Vconfigure_lock_directory - already
751 * frame-msw.c: Removed Qinitially_unmapped and Qpopup - already
752 defined in frame.c and general.c respectively.
754 * glyphs-msw.c: Removed Qresource - already defined in
757 1998-07-05 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
759 * eldap.c (Fldap_search_internal): Docstring fixes
761 1998-07-04 Jonathan Harris <jhar@tardis.ed.ac.uk>
763 * nt.c (init_environment): Removed unused PRELOAD_WINSOCK,
764 EMACSDOC and TERM variables. Added EMACSDEBUGPATHS,
765 EMACSPACKAGEPATH and INFOPATH variables.
766 Removed unused get_emacs_configuration function.
768 * s/windowsnt.h: Don't define EMACS_CONFIGURATION here because
769 it is now defined at build-time by the makefile.
771 1998-07-01 James N. Potts <jnpotts@plutonium.net>
773 * fileio.c: (expand_file_name): under win32: Don't treat names as
774 UNC names if a drive letter has been specified. If a drive has
775 been specified, strip out extra directory-seperators that
776 reportedly cause problems under Win95.
778 1998-07-05 Andy Piper <andyp@parallax.co.uk>
780 * faces.c (complex_vars_of_faces): for the gui-element face don't
781 fallback to the default face, instead provide reasonable default
782 fallbacks that were previously hardcoded elsewhere.
784 1998-07-06 Olivier Galibert <galibert@pobox.com>
786 * glyphs-x.c (convert_EImage_to_XImage): Fix pixel writing problem
787 when the X server endianness is different than the client's one.
789 1998-06-29 Kyle Jones <kyle_jones@wonderworks.com>
791 * eval.c (run_hook_with_args_in_buffer): Check
792 default (non-buffer-local) value of hook for
793 nil before treating it as a function. Don't initialize
794 the `globals' variable twice.
796 1998-06-24 Jonathan Harris <jhar@tardis.ed.ac.uk>
798 * fileio.c: Don't do directory seperator canonicalisation in
799 substitute-in-file-name because we don't know that the
800 filename refers to a local file.
802 1998-06-24 Adrian Aichner <aichner@ecf.teradyne.com>
804 * process-nt.c (nt_create_process): Try appending the standard
805 executable file extensions to the filename if none supplied.
807 1998-06-29 SL Baur <steve@altair.xemacs.org>
809 * fileio.c (Fsubstitute_in_file_name): Enable double slash notation
811 From Keisuke Mori <ksk@ntts.com>
813 1998-06-24 Andy Piper <andyp@parallax.co.uk>
815 * toolbar-msw.c (mswindows_output_toolbar): only enable masked
816 images if we have masks. This handles the xbm case (have masks)
817 and avoids overuse of resources in the xpm case (generally no masks).
818 Don't output small toolbars.
820 1998-06-29 Kyle Jones <kyle_jones@wonderworks.com>
822 * eval.c (run_hook_with_args_in_buffer): Don't treat
823 the default value of a buffer local hook as a list of
824 hooks unless it is both a cons and the car of that cons
827 1998-06-29 SL Baur <steve@altair.xemacs.org>
829 * extents.c: Email address for Ben Wing is ben@xemacs.org.
830 * process-unix.c: Ditto.
831 * mule-coding.h: Ditto.
832 * mule-coding.c: Ditto.
833 * mule-charset.c: Ditto.
834 * mule-charset.h: Ditto.
835 * file-coding.c: Ditto.
836 * file-coding.h: Ditto.
838 1998-06-22 Jonathan Harris <jhar@tardis.ed.ac.uk>
840 * event-msw.c: Guard against recursion when freeing
841 FRAME_MSWINDOWS_TARGET_RECT struture in WM_SIZE processing.
843 * frame-msw.c: Don't set WS_VISIBLE attribute on first frame.
844 Call ShowWindow twice in init_frame_3 to get round runemacs
847 1998-06-27 Hrvoje Niksic <hniksic@srce.hr>
849 * scrollbar.c (vertical_scrollbar_changed_in_window): Ditto.
851 * winslots.h: Rename.
853 * window.c (specifier_vars_of_window): Renamed
854 vertical-divider-draggable-p to vertical-divider-always-visible-p,
855 as suggested by Ben Wing.
856 (specifier_vars_of_window): Fix docstrings.
858 1998-06-22 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
860 * unexaix.c: Line number information works correctly again.
862 1998-06-22 Olivier Galibert <galibert@pobox.com>
864 * emacs.c (__sti__iflPNGFile_c___): Added. See comment. Cry.
866 1998-06-21 Martin Buchholz <martin@xemacs.org>
868 * editfns.c (get_home_directory): ANSIfy.
869 XEmacs is compilable under C *and* C++.
870 It's XEmacs, not Xemacs!
872 1998-06-19 Jonathan Harris <jhar@tardis.ed.ac.uk>
874 * console-msw.h: added a list of fonts to device data.
876 * device-msw.c: enumerate list of available fonts in
877 mswindows_init_device. Free list in mswindows_delete_device.
879 * objects-msw.c: Added helper function match_font used by
880 mswindows_initialize_font_instance and mswindows_list_fonts.
881 Allow a charset to be specified in a font string, even if
882 previous fields havn't been specified.
884 1998-06-23 Greg Klanderman <greg@alphatech.com>
886 * indent.c (column_at_point): column cache bugfix.
887 Set last_known_column_point to the buffer position for
888 which the column was requested, not buffer's point.
890 * redisplay.c (decode_mode_spec): for current-column, show
891 window's point's column, not buffer's point's column.
893 1998-06-23 Andy Piper <andyp@parallax.co.uk>
895 * menubar-msw.c (mswindows_handle_wm_command): use
896 enqueue_misc_user event rather than
897 mswindows_enqueue_msic_user_event to fix customize problems. Add some
900 * console-msw.h: declare mswindows_enqueue_magic_event.
902 * event-msw.c (mswindows_enqueue_magic_event): make global.
904 1998-06-24 Hrvoje Niksic <hniksic@srce.hr>
906 * line-number.c (LINE_NUMBER_FAR): Reverted to 16384.
907 (buffer_line_number): Use EMACS_INT_MAX instead of random LOTS.
908 (add_position_to_cache): Use EMACS_INT instead of int.
910 1998-06-21 Olivier Galibert <galibert@pobox.com>
912 * lisp-disunion.h (XMARKBIT): Have XMARKBIT return something
913 suitable for an int used as a boolean (btw, C sucks.).
915 1998-06-18 Andy Piper <andyp@parallax.co.uk>
917 * object-msw.c: remove warnings.
919 * device-msw.c: #define wrongly named cygwin structure elements.
921 * s/cygwin32.h: define DEMI_BOLD
923 1998-06-19 Jonathan Harris <jhar@tardis.ed.ac.uk>
925 * redisplay-msw.c: new function mswindows_apply_face_effects.
926 This is called by output_string and output_cursor to display
927 underline and strikeout on faces.
929 1998-06-19 Jonathan Harris <jhar@tardis.ed.ac.uk>
931 * console-msw.h: added a list of fonts to device data.
933 * device-msw.c: enumerate list of available fonts in
934 mswindows_init_device. Free list in mswindows_delete_device.
936 * objects-msw.c: Added helper function match_font used by
937 mswindows_initialize_font_instance and mswindows_list_fonts.
938 Allow a charset to be specified in a font string, even if
939 previous fields havn't been specified.
941 1998-06-15 Jonathan Harris <jhar@tardis.ed.ac.uk>
944 Removed compilation warnings from mswindows_string_to_color.
945 mswindows_list_fonts returns a more general bogus font.
946 New lisp-visible function mswindows-color-list.
948 1998-06-19 David Bush <david.bush@adn.alcatel.com>
950 * editfns.c (Fuser_login_name): Modify to user new function
952 (user_login_name): C only function to avoid Lisp object overhead
953 Returns "unknown" instead of nil in Cygwin environment
955 * fileio.c (Fexpand_file_name): Treat "~" and "~user" as
956 equivalent for current user in Cygwin environment. Use new
957 function user_login_name to get username.
959 * lisp.h: Declare user_login_name
961 1998-06-18 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
963 * unexaix.c (make_hdr): Fixed bias computations so debugging info
965 Some other insignificant nitpicks.
967 1998-06-18 Andy Piper <andyp@parallax.co.uk>
969 * toolbar-msw.c (mswindows_output_toolbar): specify ILC_MASK when
970 creating the image list and make sure he bk color is transparent.
972 1998-06-18 Jan Vroonhof <vroonhof@math.ethz.ch>
974 * event-Xt.c (emacs_Xt_remove_timeout): Also remove timeout from
975 completed_timeouts. The timer could have expired.
977 1998-06-17 Andy Piper <andyp@parallax.co.uk>
979 * console-msw.h: move XEMACS_RECT_WH inside frame
980 parameters. define macors to access it.
982 * frame-msw.c (mswindows_init_frame_1): use new target_rect
983 parameter to intialise desired sizing. (mswindows_init_frame_2):
984 enable and size the frame to something sensible when we get
985 here. (mswindows_set_frame_properites): use new
986 mswindows_size_frame_internal function and size frame if frame
987 parameters not just if init is finished - WM_SIZE happens too
988 early for some specs. (mswindows_size_frame_internal): new
989 function abstracted from mswindows_set_frame_properties.
990 (Vmswindows_use_system_frame_size_defaults):
991 new variable controls whether to allow the system to pick frame
992 size defaults, defaults to nil.
994 * event-msw.c: in WM_SIZE use mswindows_size_frame_internal rather
995 than duplicated code.
997 1998-06-15 Colin Rafferty <colin@xemacs.org>
999 * Makefile.in.in: Made EXTW_LINK expand properly.
1001 1998-06-12 Martin Buchholz <martin@xemacs.org>
1003 * redisplay.c (vars_of_redisplay): default value of
1004 column-number-start-at-one should be NIL!
1006 1998-06-11 Martin Buchholz <martin@xemacs.org>
1009 (upcase-initials "fooBar") ==> "FooBar" instead of "Foobar"
1011 1998-06-05 Hrvoje Niksic <hniksic@srce.hr>
1013 * eldap.c (Fldap_search_internal): Use build_ext_string instead of
1014 build_string to avoid crashes under Mule.
1016 1998-06-13 Andy Piper <andyp@parallax.co.uk>
1018 * ntplay.c (play_sound_data_1): don't delete the sound data until
1019 the next sound is played and the previous one finished.
1021 1998-06-10 Samuel Mikes <smikes@alumni.hmc.edu>
1023 * fileio.c (directory-sep-char): Escape backslashes.
1025 1998-06-10 Hrvoje Niksic <hniksic@srce.hr>
1027 * event-stream.c: Fix docstring reference.
1029 1998-06-12 Hrvoje Niksic <hniksic@srce.hr>
1031 * alloc.c (make_float): Remove useless initialization of `next'
1033 (make_pure_float): Ditto.
1035 * lisp.h (struct Lisp_Float): Rename `next' to `__unused__next'.
1037 1998-06-08 Kirill M. Katsnelson <kkm@kis.ru>
1039 * fileio.c (Fmake_directory_internal): Remove conditionals
1040 on WINDOWSNT when calling mkdir.
1042 * ntproc.c: Deleted the following unused functions:
1043 register_child, reap_subprocess, sys_wait.
1045 * nt.c (sys_rename): Ifzeroed this implementation.
1046 Deleted the following unused functions:
1047 sys_access, sys_chdir, sys_chmod, sys_creat, sys_link, sys_mkdir,
1048 sys_mktemp, sys_rmdir, sys_unlink, sys_close, sys_dup, sys_dup2,
1049 sys_read, sys_write.
1050 Merger sys_fopen and sys_open with sysdep.c implementation.
1052 * sysdep.c: Removed MS-DOS code.
1053 (sys_rename): Deal with Microsoft rename weirdness.
1054 (sys_open): Implemented for Windows.
1058 1998-06-08 Kirill M. Katsnelson <kkm@kis.ru>
1060 * buffer.c (complex_vars_of_buffer): Removed %t description from
1063 1998-06-04 Rick Rankin <Rick_Rankin-P15254@email.mot.com>
1065 * scrollbar-msw.c: initialize the cbSize element of the
1066 SCROLLINFO struct before calling SetScrollInfo. WinNT seems
1067 to ignore the value of cbSize, but Win95 (and I presume Win98)
1068 appear to want it set to sizeof(SCROLLINFO).
1070 1998-06-04 Kirill M. Katsnelson <kkm@kis.ru>
1072 * event-stream.c: Defined Qcancel_mode_internal.
1073 (syms_of_event_stream): defsymbol'ed it.
1075 * events.h: Externed it.
1077 * event-msw.c (mswindows_wnd_proc, WM_CANCELMODE): Added this handler.
1079 1998-06-04 Oliver Graf <ograf@fga.de>
1081 * frame-x.c (x_cde_destroy_callback): free the data
1082 (cde-start-drag-internal) corrected root position, 21.1 needs this
1083 hardcoded in Button events
1084 (offix-start-drag-internal) corrected root position
1086 1998-06-03 Kirill M. Katsnelson <kkm@kis.ru>
1088 * process-nt.c (signal_cannot_launch): Use signal_simple_error()
1091 1998-06-03 Kirill M. Katsnelson <kkm@kis.ru>
1093 * dialog-msw.c (button_width): Removed `inline' from the function
1096 1998-06-03 Rick Rankin <Rick_Rankin-P15254@email.mot.com>
1098 * frame-msw.c: add WS_VISIBLE flag to the first frame created.
1099 Note that adding this flag to subsequent frames causes problems.
1101 1998-06-03 Gunnar Evermann <Gunnar.Evermann@nats.informatik.uni-hamburg.de>
1103 * glyphs-eimage.c (png_instantiate) move 'struct
1104 png_memory_storage tbr' out of nested block to avoid dangling
1107 1998-06-02 Andy Piper <andyp@parallax.co.uk>
1110 * faces.c: rename 3d-object -> gui-element. add toolbar face which
1111 inherits from gui-element.
1113 * glyphs-msw.c: use DIBitmaps for xbm bitmaps to be consistent
1114 with existing code, generate masks correctly.
1116 1998-06-03 P. E. Jareth Hein <jareth@camelot-soft.com>
1118 * glyphs-eimage.c: Changed included header for gifs to use
1119 Gifreader instead of giflib.
1121 * glyphs-x.c: removed the image-related functions that were
1122 moved into glyphs-eimage.
1124 1998-06-02 David Bush <david.bush@adnb.alcatel.com>
1126 * glyphs.c (bitmap_to_lisp_data) Define XFree to be free
1127 if built without X Windows support.
1129 1998-06-02 Hrvoje Niksic <hniksic@srce.hr>
1131 * fns.c (Fconcat): Synch docstring with new reality.
1133 1998-06-03 SL Baur <steve@altair.xemacs.org>
1135 * frame.c: Remove reference to msdos.h (which is going away).
1136 Suggested by Hrvoje Niksic and Kirill Katsnelson.
1138 1998-06-02 P. E. Jareth Hein <jareth@camelot-soft.com>
1140 * glyphs-eimage.c (jpeg_instantiate): Fix handling of
1144 1998-05-30 Kirill M. Katsnelson <kkm@kis.ru>
1146 * events.h: Fixed commentary about misc-user scrollbar events.
1148 * scrollbar-x.c (x_update_vertical_scrollbar_callback): Use frame
1149 object as an event channel, instead of window object.
1150 (x_update_horizontal_scrollbar_callback): Ditto.
1152 1998-05-29 Andy Piper <andyp@parallax.co.uk>
1154 * ntplay.c (play_sound_data_1) new function. convert alloca data
1155 to malloc if necessary.
1156 (play_sound_file): if the file is not in our path then convert to
1159 1998-06-01 SL Baur <steve@altair.xemacs.org>
1161 * mule-mcpath.c (mc_chdir): Reverse parameters in call to memcpy.
1162 * msdos.c (Frecent_doskeys): Ditto.
1164 * unexalpha.c (unexec): Reverse parameters in call to memcpy.
1165 Suggested by Reggie Perry <perry@zso.dec.com>
1167 * buffer.h: Eliminate size in declaration.
1169 1998-06-01 Olivier Galibert <galibert@pobox.com>
1171 * unexelfsgi.c (unexec): Cleanup n/nn and remove useless kludge.
1173 1998-06-01 Kirill M. Katsnelson <kkm@kis.ru>
1175 * gui.c (gui_item_init): Changed the default value for config member
1176 from Qunbound to Qnil.
1178 1998-06-01 Greg Klanderman <greg@alphatech.com>
1180 * indent.c (vmotion_pixels): Don't #define abs().
1182 1998-05-30 Kirill M. Katsnelson <kkm@kis.ru>
1184 * s/windowsnt.h: Defined popen and pclose to be _popen and _pclose
1187 1998-05-30 Andy Piper <andyp@parallax.co.uk>
1189 * glyphs.h: add xbm declarations.
1191 * console.h: add xbm_instantiate_method device method.
1193 * glyphs.c (check_valid_xbm_inline) (xbm_validate)
1194 (bitmap_to_lisp_data) (xbm_mask_file_munging) (xbm_normalize)
1195 (xbm_possible_dest_types): moved here from glyphs-x.c. use
1196 locate_pixmap_file device method and read_bitmap_data_from_file
1197 instead of XmuReadBitmapDataFromFile.
1198 (xbm_instatntiate): make a device method.
1200 * glyphs-x.c: see glyphs.c changes. (read_bitmap_data_from_file)
1201 new function that just calls XmuReadBitmapDataFromFile.
1202 (x_xbm_instatntiate): device method from xbm_instantiate.
1204 * glyphs-msw.c (read_bitmap_data) (NextInt)
1205 (read_bitmap_data_from_file): new functions copied from Xmu
1207 (xbm_create_bitmap_from_data) from Ben <ben@666.com> convert
1208 inline data to an mswindows bitmap.
1209 (init_image_instance_from_xbm_inline) (xbm_instantiate_1)
1210 (mswindows_xbm_instantiate): mswindows-ized versions of the X
1213 1998-05-30 Kirill M. Katsnelson <kkm@kis.ru>
1215 * window.c (specifier_vars_of_window): Renamed `has_modeline-p' to
1216 `modeline-visible-p'.
1217 Declared specifier lisp variables at the beginning oh the file
1220 * procimpl.h (struct process_methods): Changed semantics of
1221 create_process method so it accepts lisp strings instead of
1224 * process.c (Fstart_process_internal): Moved building of
1225 unix style argv from here to process-unix.c, ...
1227 * process-unix.c (unix_create_process): ... right here.
1229 * process-nt.c (nt_create_process): Changed this function to
1230 support new semantics, so avoided a GC problem.
1232 * events.c (Fmake_event): Document misc-user events properties.
1233 (Fmake_event): Do not allow arbitrary objects for channel property
1234 of misc-user events.
1235 (Fmake_event): Change misc-user event validation: it is function
1236 which is required, not button.
1238 * event-msw.c (mswindows_user_event_p): Recognize misc user events as
1240 (mswindows_enqueue_misc_user_event): Added function.
1241 (mswindows_bump_queue): Removed function.
1242 (mswindows_enqueue_magic_event): Support NULL HWND parameter.
1243 (mswindows_wnd_proc, WM_CLOSE): Use mswindows_enqueue_misc_user_event().
1244 (mswindows_wnd_proc, WM_EXITSIZEMOVE): Ditto.
1245 (emacs_mswindows_handle_magic_event): Handle XM_BUMPQUEUE, by doing
1246 really nothing, which is my personal favorite thing.
1248 * console-msw.h: Removed prototype for mswindows_bump_queue().
1249 Added prototype for mswindows_enqueue_misc_user_event().
1251 * menubar-msw.c (mswindows_handle_wm_command): Use
1252 mswindows_enqueue_misc_user_event().
1254 * toolbar-msw.c (mswindows_handle_toolbar_wm_command): Ditto.
1256 * dialog-msw.c (dialog_proc): Ditto.
1258 * scrollbar-msw.c (mswindows_handle_scrollbar_event): Ditto.
1259 (mswindows_handle_scrollbar_event): Use frame, not window, for misc
1260 user events channel.
1262 1998-05-29 Greg Klanderman <greg@alphatech.com>
1264 * window.c (Fwindow_displayed_text_pixel_height): was relying on
1265 incorrect semantics of vmotion_pixels which has been fixed. don't
1266 use it anymore as it can't easily be used.
1268 * indent.c (vmotion_pixels): fix off by one bug moving up. also
1269 the motion was reported incorrectly if you tried to go past end of
1272 1998-05-30 Kirill M. Katsnelson <kkm@kis.ru>
1274 * toolbar.h: Removed misleading commentary, as Martin suggested.
1276 1998-05-30 Kirill M. Katsnelson <kkm@kis.ru>
1278 * lisp.h: Extern Qactivate_menubar_hook.
1280 * menubar-msw.c (unsafe_handle_wm_initmenu_1): Pass correct value to
1283 1998-05-29 Andy Piper <andyp@parallax.co.uk>
1285 * glyphs-msw.c: use BPLINE macro.
1287 * select-msw.c (mswindows-selection-exists-p)
1288 (mswindows-delete-selection): doc string fixes.
1290 * toolbar-msw.c (mswindows_output_toolbar): make disabled buttons
1291 unpressable. warning elimination.
1293 1998-05-28 Martin Buchholz <martin@xemacs.org>
1295 * alloc.c (dbg_constants):
1298 Remove toolbar_data debugging code, since that lrecord has
1301 Wed May 27, 1998 Darryl Okahata <darrylo@sr.hp.com>
1303 * alloc.c: zap cached value of (user-home-directory), so that
1306 * buffer.c: From init_buffer(), separated out code that
1307 determined the initial directory for the *scratch* buffer, and
1308 put them into a function called "init_initial_directory()".
1309 The initial directory is now available as a global "char *"
1310 called initial_directory.
1312 * buffer.h: Added extern entries for initial_directory[] and
1313 init_initial_directory().
1315 * editfns.c: added new elisp function "user-home-directory",
1316 which basically returns getenv("HOME"), but attempts to use
1317 other values if $HOME isn't set.This may have to be tweaked in
1318 the future as, under Unix, "/" is used if $HOME isn't set (this
1319 probably should be set to the current directory). To support
1320 this, a new C function, "get_home_directory()", now exists,
1321 which returns the "home directory", as a "char *" string.
1323 * emacs.c: Rearrange NT initialization order so that
1324 environment/registry variables will be properly entered into
1325 Vprocess_enviroment.
1327 * fileio.c: replaced egetenv("HOME") with calls to the new
1328 get_home_directory().
1330 * lisp.h: Added function prototypes for uncache_home_directory()
1331 and get_home_directory(), along with lisp prototypes for
1332 Fuser_home_directory() and friends.
1334 * nt.c: replaced getenv("HOME") with calls to the new
1335 get_home_directory().
1337 * sysfile.h: for WINDOWSNT, #include <direct.h>, to suppress
1338 warnings about getcwd(), etc. not having prototypes.
1340 1998-05-28 Kirill M. Katsnelson <kkm@kis.ru>
1342 * process-nt.c (send_signal): Emulate SIGHUP.
1343 (validate_signal_number): Ditto.
1345 * event-msw.c (mswindows_wnd_proc, WM_KEYDOWN): Unconditionally
1346 remove MOD_SHIFT from ASCII characters.
1347 (mswindows_wnd_proc, WM_KEYDOWN): Do not activate the menubar when
1350 1998-05-24 Oliver Graf <ograf@fga.de>
1352 * frame-x.c (cde-start-drag-internal): added filename and multi-
1354 (x_cde_convert_callback) dito
1356 1998-05-26 Oliver Graf <ograf@fga.de>
1358 * frame-x.c: include event-mod.h also with CDE
1359 (x_cde_convert_callback) made the thing working
1360 (cde-start-drag-internal) also debugging
1362 1998-05-25 Hans Guenter Weigand <hgweigand@wiesbaden.netsurf.de>
1369 - add __OpenBSD__ where __NetBSD__ was found.
1370 - TODO: replace platform-specific conditional compilation by
1371 feature tests in configure.in.
1373 1998-05-15 Greg Klanderman <greg@alphatech.com>
1375 * window.c (Fwindow_displayed_text_pixel_height): New function.
1376 (syms_of_window): DEFSUBR it.
1378 * indent.c (Fvertical_motion_pixels): New function - request
1380 (vmotion_pixels): helper.
1381 (syms_of_indent): DEFSUBR.
1382 * lisp.h: declaration for vmotion_pixels().
1384 * indent.c (Fvertical_motion): Add optional third argument PIXELS,
1385 to request returning motion in pixels.
1386 (Fvertical_motion_pixels): Remove, functionality merged into
1388 * window.c (window_scroll): call Fvertical_motion with 3 arguments.
1389 (Fmove_to_window_line): ditto.
1390 * lisp.h: Change declaration for Fvertical_motion.
1392 * window.c: rename window-text-pixel-{height,width,edges} to
1393 window-text-area-pixel-*.
1395 1998-05-26 Gunnar Evermann <Gunnar.Evermann@nats.informatik.uni-hamburg.de>
1397 * tooltalk.c (vars_of_tooltalk) added staticpro for
1398 Tooltalk_Message_plist_str and Tooltalk_Pattern_plist_str
1400 1998-05-27 Andy Piper <andyp@parallax.co.uk>
1402 * faces.c: create a new 3d_object_face, make modeline and
1403 vertical_divider faces fallback to this rather than the default.
1405 1998-05-21 Andy Piper <andyp@parallax.co.uk>
1407 * s/cygwin32.h: define charsets for cygwin.
1409 1998-05-25 Andy Piper <andyp@parallax.co.uk>
1411 * toolbar-msw.c (mswindows_output_toolbar): fix up button sizes
1412 and coordinates. resize bitmaps if we have already settled on a
1415 * glyphs-msw.c (xpm_to_eimage): add ';' for mswindows compiler.
1417 1998-05-25 Hrvoje Niksic <hniksic@srce.hr>
1419 * toolbar-msw.c (mswindows_handle_toolbar_wm_command): Ditto.
1421 * menubar-msw.c (mswindows_handle_wm_command): Ditto.
1425 * gui-x.c (popup_selection_callback): Ditto.
1427 * dialog-msw.c (dialog_proc): get_callback -> get_gui_callback.
1429 * gui.c (get_callback): Renamed to get_gui_callback.
1431 1998-05-17 Martin Buchholz <martin@xemacs.org>
1433 * glyphs.h: order rearrangement.
1435 * device-tty.c (tty_asynch_device_change): Warning suppression.
1436 * device-x.c (x_device_system_metrics): Warning suppression.
1437 Make Doc strings consistent with coding standards.
1439 1998-05-24 Martin Buchholz <martin@xemacs.org>
1441 * general.c: multiple definition of `Qicon'. general.c seems
1442 like a good home for Qicon.
1444 1998-05-20 Kirill M. Katsnelson <kkm@kis.ru>
1446 * This patch is to fix compilation warnings under Windows.
1448 * s/windowsnt.h: Encapsulate getpid with sys_getpid.
1449 Added prototypes for FSF inherited functions, with which XEmacs is
1450 sprinkled thoroughly.
1451 Removed some #if 0 code. Bracketed some more definitions, probably
1452 related to Visual C versions prior to 4 (we do not support them).
1454 * sysfloat.h (logb): Finally, get logb() prototyped.
1456 * sysfile.h: Added Windows specific includes.
1457 Removed old Windows specific code bracketed with #if 0.
1459 * sysdep.h: Added prototype for xrealpath().
1461 * sysdep.c (sys_getpid): Added function, to support '95 negative pids.
1463 * symsinit.h: Added prototypes for syms_of_dired_mswindows,
1464 vars_of_dired_mswindows and init_ntproc (Grrr).
1466 * realpath.c: Added Windows specific include files.
1467 (xrealpath): Conditionalized declaration of some auto variables on
1468 S_IFLNK, to avoid warnings.
1470 * ntproc.c: Disabled some compiler warnings. This file is going to
1471 die, so I have not cleaned it up much.
1472 (set_process_dir): Const parameter.
1473 (Fwin32_short_file_name): Down CHECK_* macros to one argument.
1474 (Fwin32_long_file_name): Ditto.
1475 (Fwin32_set_process_priority): Ditto. Why didn't I remove these
1478 * nt.h: Added prototypes for set_process_dir and convert_time.
1480 * nt.c: More include files.
1481 (getpwnam): Consted char* argument.
1482 (get_emacs_configuration): Const return value.
1483 (opendir): Const argument.
1484 (stat): Casted converstion long->short.
1485 (stat): Removed ad hoc and questionable support for non-MSC compile.
1486 (sys_pipe): Removed unused auto variable.
1487 (_sys_read_ahead): Removed calls to DebPrint.
1488 (sys_read): Ditto, in 2 places.
1489 (term_ntproc): Added unused int parameter to signal handler, to
1490 avoid a warning when compiling a call to signal().
1491 (msw_sigset): Properly return old signandler or NULL instead of void.
1493 * floatfns.c (Flogb): Casted arguments to unary minus to signed.
1495 * gmalloc.c (morecore): Ditto.
1496 (_free_internal): Ditto.
1498 * lread.c (parse_integer): Ditto.
1500 * dired-msw.c: Added several include files.
1502 * cmdloop.c (Fcommand_loop_1): Added Microsoft C to the Big List
1503 of Compilers to Shut Up.
1505 * callproc.c: Added #includes to suppress warnings under Windows.
1506 (init_callproc): Removed #if0'ed code and unused variables.
1508 1998-05-25 Andy Piper <andyp@parallax.co.uk>
1510 * device-msw.c (mswindows_device_system_metrics): do planes in a
1511 way consistent with X.
1513 * glyphs-msw.c (mswindows_initialize_image_instance_mask): don't
1514 use SetPixel, use DIBits functions.
1515 (xpm_to_eimage): frob colors more closely like xpm deos.
1517 * toolbar-msw.c: only resize bitmaps when shrinking. Adjust look
1518 to be closer to X version.
1520 * event-msw.c: use tooltip string directly.
1522 * redisplay-msw.c: reinstate Kirill's bg pixmap change.
1524 * objects-msw.c: frob rgb colors that only Kyle uses.
1526 * dialog-msw.c (button_width): INLINE -> inline.
1528 1998-05-23 SL Baur <steve@altair.xemacs.org>
1530 * getloadavg.c (getloadavg): Fix typo.
1532 1998-05-23 Kirill M. Katsnelson <kkm@kis.ru>
1534 * objects-msw.c (mswindows_initialize_font_instance): Added support
1535 for font character sets.
1536 Replaced 'XXX' with '####' in comments throughout the file.
1538 1998-05-23 Kirill M. Katsnelson <kkm@kis.ru>
1540 * emacs.c (main_1): Added calls to vars_of_dialog_mswindows() and
1541 console_type_create_dialog_mswindows(), to initialize Windows dialog
1544 * symsinit.h: Prototyped the above functions.
1546 * dialog-x.c (x_popup_dialog_box): Moved dialog descriptor consistency
1547 checks to dialog.c...
1549 * dialog.c (Fpopup_dialog_box): ...right here. Added more checks: a
1550 device must support dialog boxes, and the descriptor must supply at
1553 * dialog-msw.c: New file, dialogs for Windows.
1555 1998-05-21 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
1557 * eldap.c (ldap_search_unwind): Return Qnil instead of nothing
1558 (Fldap_search_internal): Removed unused variable `err'
1560 * eldap.h: Moved Lisp_LDAP declaration here instead of using a
1563 1998-05-17 Martin Buchholz <martin@xemacs.org>
1565 * eldap.h: eldap.[ch] should never be used unless HAVE_LDAP is
1566 defined. Therefore there is no need to handle the case when
1567 HAVE_LDAP is undefined. Similarily, there is no reason to have
1568 any code wrapped within `#ifdef emacs', since this code is only
1569 useful within an emacs. This simplifies the code significantly.
1571 * inline.c: Include eldap.h only if HAVE_LDAP.
1572 * inline.c: Don't bother including TT_C_H_PATH, since tooltalk.h
1575 1998-05-21 Kirill M. Katsnelson <kkm@kis.ru>
1577 * unexnt.c (copy_executable_and_dump_data_section): Suppress
1578 printing dump stats when building without DEBUG_XEMACS.
1579 (dump_bss_and_heap): Ditto.
1581 1998-05-21 Andy Piper <andyp@parallax.co.uk>
1583 * gnuclient.c: don't suppress window system if there is no display
1584 and we are running under mswindows. send 'mswindows device type if
1585 we are in this situation.
1587 1998-05-20 Andy Piper <andyp@parallax.co.uk>
1590 * lisp.h: Qbitmap, Qcursor, Qicon moved here from glyphs-msw.c.
1592 * glyphs-msw.c: change cursor imgae type name to resource. Fix
1595 1998-05-20 Kirill M. Katsnelson <kkm@kis.ru>
1597 * EmacsFrame.c (Xt_StringToScrollBarPlacement): Added support for
1598 {top,bottom}-{left,right} values in addition to
1599 {top,bottom}_{left,right}.
1601 1998-05-18 Hrvoje Niksic <hniksic@srce.hr>
1603 * fileio.c (Fmake_temp_name): Remove unreached code.
1605 * process-nt.c (validate_signal_number): Use
1606 signal_simple_error().
1608 1998-05-19 Martin Buchholz <martin@xemacs.org>
1611 * sound.c (vars_of_sound):
1612 * sysdep.c (reset_sigio_on_device):
1613 * window.c (window_bottom_gutter_height):
1614 unexhp9k800.c:258: warning: implicit declaration of function
1615 `calculate_checksum'
1616 sound.c:604: warning: implicit declaration of function `vars_of_hpplay'
1617 sysdep.c:1012: warning: unused variable `owner'
1618 window.c:993: warning: `window_right_toolbar_width' defined but not used
1620 1998-05-19 Andy Piper <andyp@parallax.co.uk>
1622 * glyphs-msw.c (mswindows_create_resized_mask)
1623 (mswindows_create_resized_bitmap): new funnctions split out from
1624 mswindows_resize_dibitmap_instance.
1626 * glyphs-msw.h: declare new resize functions.
1628 * toolbar-msw.c (mswindows_output_toolbar): use new bitmap resize
1629 functions so that the original bitmaps are preserved.
1631 * sheap.c: fixup static heap exhausted error to avoid FAQs.
1633 * redisplay-msw.c (mswindows_output_blank): fixup brush from bg
1634 color if we are trying to output 0 depth bg pixmap.
1636 * scrollbar-msw.c: warning elimination.
1638 1998-05-18 Martin Buchholz <martin@xemacs.org>
1640 * frame-x.c (x_update_frame_external_traits): Start preprocessor
1641 directives in column 1.
1643 * search.c (skip_chars): Avoid using xzero with arrays, since some
1644 compilers get confused by the construct &array.
1646 1998-05-18 Kirill M. Katsnelson <kkm@kis.ru>
1649 * objects-msw.c: Changed the charset value for a new font from
1650 "don't care" to "ansi".
1652 * glyphs-msw.c (convert_EImage_to_DIBitmap): Warnings fix.
1654 1998-05-18 Kirill M. Katsnelson <kkm@kis.ru>
1656 * event-msw.c (mswindows_wnd_proc, WM_KEYDOWN): Do not clear shift
1657 modifier on control chars.
1658 Use IsCharAlpha() instead of isaplha().
1660 1998-05-19 Kazuyuki IENAGA <ienaga@jsys.co.jp>
1662 * s/freebsd.h: FreeBSD 2.2.6 now supports setlocale(LC_ALL, "").
1664 1998-05-18 Kirill M. Katsnelson <kkm@kis.ru>
1666 * objects-msw.c (mswindows_initialize_font_instance): Use ANSI
1667 charset when creating font.
1668 (mswindows_initialize_color_instance): Do not create brush along
1670 (mswindows_finalize_color_instance): Do not delete it then.
1672 * objects-msw.h (struct mswindows_color_instance_data): Removed
1673 brush slot, and corresponding accessor macro.
1675 1998-05-18 Kirill M. Katsnelson <kkm@kis.ru>
1677 * toolbar.c: Removed toolbar_data lrecord implementation.
1678 (mark_frame_toolbar_buttons_dirty): Replase usage of toolbar_data
1679 with toolbar_buttons (via FRAME_TOOLBAR_BUTTONS).
1680 (compute_frame_toolbar_buttons): Ditto.
1681 (CHECK_TOOLBAR): Ditto.
1682 (set_frame_toolbar): Removed allocation of toolbar_data lrecord.
1683 (update_frame_toolbars): Do not check for changed buffer
1684 here. Toolbar information is provided by cached specs in
1685 windows. The check for buffer is eliminated becuase toolbars are
1686 marked changed in set_frame_selected_window() in frame.c
1687 Added check for changed toolbars geometry.
1688 (compute_frame_toolbars_data): Removed unused second parameter;
1689 Adjusted callers of this static function throughout the file.
1690 (init_frame_toolbars): Initialize current_toolbar_size.
1691 (update_frame_toolbars): Use DEVICE_SUPPORTS_TOOLBARS_P instead of
1692 what is its current expansion, for clarity.
1693 (init_frame_toolbars): Ditto.
1694 (init_device_toolbars): Ditto.
1695 (init_global_toolbars): Ditto.
1697 * toolbar.h: Removed definition of toolbar_data lrecord.
1698 Added accessor macros FRAME_TOOLBAR_BUTTONS and
1699 FRAME_CURRENT_TOOLBAR_SIZE.
1700 Added macro DEVICE_SUPPORTS_TOOLBARS_P.
1702 * toolbar-x.c (x_output_toolbar): The same change as in
1704 (x_output_toolbar): Ditto.
1705 (x_redraw_exposed_toolbar): Ditto.
1707 * toolbar-msw.c (mswindows_output_toolbar): Retrieve current
1708 buttons from toolbar_buttons using FRAME_TOOLBAR_BUTTONS macro.
1709 (mswindows_output_toolbar): Ditto.
1710 (mswindows_output_toolbar): Ditto.
1712 * frame.c (mark_frame): Removed marking of arrays, according to
1713 frameslots.h change.
1714 (nuke_all_frame_slots): Ditto.
1715 (set_frame_selected_window): Mark toolbars changed when
1716 last_nonminibuf_window changes.
1718 * frame.h (struct frame): Moved some slots to frameslots.h.
1719 Added current_toolbar_size array.
1720 Changed references from toolbar_data to toolbar_buttons in macros
1721 FRAME_RAW_THEORETICAL_TOOLBAR_VISIBLE,
1722 FRAME_RAW_THEORETICAL_TOOLBAR_SIZE and
1723 FRAME_RAW_THEORETICAL_TOOLBAR_BORDER_WIDTH.
1725 * frameslots.h: Added macro MARKED_SLOT_ARRAY a la winslots.h
1726 Moved arrays of lisp objects here from frame.h: toolbar_size,
1727 toolbar_visible_p, toolbar_border_width.
1728 Removed toolbar_data slot and added toolbar_buttons.
1730 1998-05-17 Kirill M. Katsnelson <kkm@kis.ru>
1732 * symsinit.h: Externed syms_of_process_nt()
1734 * emacs.c (main_1): Call syms_of_process_nt()
1736 * process-nt.c: Quote process arguments by a call to Lisp function
1737 `nt-quote-process-args'.
1738 (syms_of_process_nt): New function.
1739 (nt_send_process): Flush data stream after each write, to avoid
1740 leaving buffered data.
1741 (nt_send_process): When blocked on process output, wait for
1742 process to slurp more for progressively increasing time intervals.
1744 1998-05-17 Martin Buchholz <martin@xemacs.org>
1746 * window.c (have_undivided_common_edge): Make file-local function
1748 (map_windows): Return 0 if all map functions successful.
1751 * winslots.h: Use unlikely names for local variables in macros to
1752 avoid shadowing warnings.
1754 1998-05-17 Andy Piper <andyp@parallax.co.uk>
1756 * toolbar-msw.c (mswindows_output_toolbar): hash on toolbar width
1757 so that we re-output if the toolbar size has changed.
1759 1998-05-17 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
1761 * s/aix4-2.h (ALIGN_DATA_RELOC): Undefined to support new unexaix.c.
1763 * s/aix3-1.h (ALIGN_DATA_RELOC): Defined to support new unexaix.c.
1765 * unexaix.c: Massive cleanup and support of AIX 4.2 (and hopefully
1768 1998-05-16 Kirill M. Katsnelson <kkm@kis.ru>
1770 * glyphs-msw.c: Defined OEMRESOURCE before including windows.h to
1771 get bitmap manifest constants defined.
1773 * console-msw.h: Include system files in angle brackets, not in
1776 * window.c (specifier_vars_of_window): Fixed a typo in
1777 `vertical-divider-line-width' docstirng.
1779 1998-05-16 Olivier Galibert <galibert@pobox.com>
1781 * line-number.c (delete_invalidate_line_number_cache): Use an
1783 (buffer_line_number): Remove dangerous, plain wrong when using
1784 64bits emacs ints, cast.
1786 * insdel.c (buffer_delete_range): Use an EMACS_INT.
1788 * cmds.c (Fforward_line): Use EMACS_INTs.
1790 * search.c (bi_scan_buffer): Change to use EMACS_INTs.
1791 (scan_buffer): Ditto.
1792 (bi_find_next_newline_no_quit): Remove useless cast.
1793 (find_next_newline_no_quit): Ditto.
1794 (find_next_newline): Ditto.
1795 (find_before_next_newline): Use an EMACS_INT.
1797 * lisp.h: Change scan_buffer to pass EMACS_INTs.
1799 1998-05-16 Hrvoje Niksic <hniksic@srce.hr>
1801 * menubar-msw.c (mswindows_handle_wm_command): Ditto.
1803 * toolbar-msw.c (mswindows_handle_toolbar_wm_command): Ditto.
1805 * gui-x.c (popup_selection_callback): Use it.
1807 * gui.h (get_callback): Declare it.
1809 * gui.c (get_callback): New function.
1811 1998-05-15 SL Baur <steve@altair.xemacs.org>
1813 * window.c (have_undivided_common_edge): Guard scrollbar specific
1815 (window_needs_vertical_divider_1): Ditto.
1817 1998-05-16 Hrvoje Niksic <hniksic@srce.hr>
1819 * emacs.c (decode_path): Eliminate compiler warning.
1820 (Fdecode_path): Renamed to Fsplit_path.
1821 (Fsplit_string_by_char): New function.
1823 1998-05-14 Damon Lipparelli <lipp@primus.com>
1825 * winslots.h: close comment
1827 1998-05-16 Kirill M. Katsnelson <kkm@kis.ru>
1829 * callproc.c: Removed declared and unused variable Qbuffer_file_type.
1831 * bufslots.h: Removed buffer_file_type slot.
1833 * buffer.c (complex_vars_of_buffer): Removed buffer_file_type from
1835 (complex_vars_of_buffer): Removed buffer-file-type variable and
1836 its default reference.
1838 1998-05-15 Kirill M. Katsnelson <kkm@kis.ru>
1840 * faces.c (complex_vars_of_faces): Defined
1841 Vvertical_divider_face.
1842 (vars_of_faces): Staticpro it.
1844 * faces.h: Externed Vvertical_divider_face.
1846 * redisplay-x.c (x_output_vertical_divider): Use
1847 Vvertical_divider_face to draw the divider instead of modeline
1850 * redisplay-msw.c (mswindows_output_vertical_divider): Draw
1851 divider face using Vvertical_divider_face background.
1852 Fix drawing spacing gaps around the divider.
1854 1998-05-14 Didier Verna <verna@inf.enst.fr>
1856 * redisplay-x.c (x_output_vertical_divider): removed hard-wired
1857 values for the vertical divider line width and spacing. Use the
1858 cached values from the window structure instead.
1859 (x_divider_width): ditto.
1861 * window.c (specifier_vars_of_window): new specifiers:
1862 vertical-divier -line-width and -spacing.
1863 (vertical_divider_global_width_changed): formerly known as
1864 vertical_divider_shadow_thickness_changed.
1866 * winslots.h: new slots: vertical_specifier _line_width and
1867 _spacing. Plus corrected a comment typo.
1869 1998-05-15 Kirill M. Katsnelson <kkm@kis.ru>
1871 * window.h: Declared window_divider_width().
1873 * console-stream.c (stream_divider_width): Removed method.
1874 (console_type_create_stream): And declaration for it.
1876 * redisplay.c (pixel_to_glyph_translation): Use
1877 window_divider_width() instead of divider_width redisplay method.
1878 (pixel_to_glyph_translation): Fix top divider edge calculation
1879 when scrollbar is on top.
1881 * window.c (window_divider_width): New function, an outphaser for
1882 divider_width redisplay method.
1883 (window_right_gutter_width): Use it.
1884 (specifier_vars_of_window): For vertical-divider-{spacing,line-width}
1885 specifiers, set fallback values differently on TTYs, and document
1886 the behavior of these on TTYs in the docstrings.
1888 * scrollbar.c (update_scrollbar_instance): Use
1889 window_divider_width() instead of divider_width redisplay method.
1891 * console.h (struct console_methods): Removed divider_width_method.
1893 * redisplay-tty.c (tty_divider_width): Removed device method.
1894 (console_type_create_redisplay_tty): Removed definition for it.
1895 (tty_output_vertical_divider): Respect the value returned by
1896 window_divider_width thus divider line width specification.
1898 * redisplay-msw.c (mswindows_divider_width): Removed device method.
1899 (console_type_create_redisplay_mswindows): Removed definition for it.
1900 (mswinodws_output_vertical_divider): Respect the value returned by
1901 window_divider_width thus divider line width specification.
1903 1998-05-15 Andy Piper <andyp@parallax.co.uk>
1905 * toolbar-msw.c: guess toolbar frame size a bit more accurately.
1907 1998-05-15 Andy Piper <andyp@parallax.co.uk>
1909 * glyphs-msw.c: resource loading implementation.
1910 (cursor_normalize): new function.
1911 (cursor_validate): ditto.
1912 (cursor_instantiate): ditto.
1913 (cursor_name_to_resource): ditto.
1914 (cursor_possible_dest_types): ditto.
1915 (check_valid_symbol): ditto.
1916 (check_valid_string_or_int): ditto.
1918 1998-05-14 Martin Buchholz <martin@xemacs.org>
1920 * sysdep.c (tty_init_sys_modes_on_device): Treat VSUSP just like
1923 * process-unix.c (process_signal_char): Use VSUSP instead of
1924 non-standard VSWTCH. Always prefer VSUSP to VSWTCH.
1926 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
1928 * specifier.c (specifier_instance): Change locale precedence of
1929 instantiation so window locale has higher priority than buffer
1931 (Fspecifier_instance): Reflect this in docstring.
1932 (Fadd_spec_list_to_specifier): Ditto.
1933 (Fadd_spec_to_specifier): Ditto.
1934 (Fremove_specifier): Ditto.
1936 1998-05-15 Kirill M. Katsnelson <kkm@kis.ru>
1938 ** Dialog separation into a device method from Andy Piper
1940 * emacs.c (main_1): Call console_type_create_dialog_x().
1942 * dialog-x.c (x_popup_dialog_box): Old Fpopup_dialog_box converted
1943 into this device method.
1944 (console_type_create_dialog_x): New function.
1946 * dialog.c (Fpopup_dialog_box): New function.
1947 (syms_of_dialog): Defsubr it.
1949 * console.h (struct console_methods): Declared
1950 popup_dialog_box_method().
1952 * symsinit.h: Defined console_type_create_dialog_{x,mswindows}
1954 1998-05-14 Oliver Graf <ograf@fga.de>
1956 * dragdrop.c (vars_of_dragdrop): dragdrop-protocols created
1957 * frame-x.c (x_cde_transfer_callback): checked for merge errors
1959 1998-05-13 Oliver Graf <ograf@fga.de>
1961 * dragdrop.c (vars_of_dragdrop): provide dragdrop-api
1963 1998-05-15 Kirill M. Katsnelson <kkm@kis.ru>
1965 * console.h (device_metrics): Removed dbcs, input-method-editor
1966 and right-to-left metrics.
1968 * device.c (Fdevice_system_metric): Ditto.
1969 (Fdevice_system_metrics): Ditto.
1970 (syms_of_device): Ditto.
1971 (Fdevice_system_metric): Swapped DEVICE and METRIC parameters back
1974 1998-05-14 Hrvoje Niksic <hniksic@srce.hr>
1976 * line-number.h (mark_line_number_cache): Remove unused
1979 * line-number.c (LINE_NUMBER_FAR): Increase to 32768.
1980 (get_nearest_line_number): Simplify.
1981 (add_position_to_cache): Make the old marker point nowhere.
1983 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
1985 ** Renamed window-divider-map => vertical-divider-map
1986 and event-over-divider-p => event-over-vertical-divider-p,
1987 in the following files/functions:
1989 * events.c (Fevent_over_divider_p):
1990 * keymap.c (get_relevant_keymaps):
1993 * redisplay.h (OVER_V_DIVIDER): Renamed so from OVER_DIVIDER.
1995 * redisplay.c (pixel_to_glyph_translation): Use OVER_V_DIVIDER.
1997 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
1999 * window.c (vertical_divider_changed_in_window): Renamed so.
2000 (specifier_vars_of_window): Defined Vvertical_divider_draggable_p.
2001 (window_needs_vertical_divider_1): Decide whether we need it based
2002 on the value of the above specifier. If separators are unwanted,
2003 put them only if there's no scrollbar between this window and its
2005 (have_undivided_common_edge): New function, helper for the above.
2006 (window_needs_vertical_divider): Return either a cached value,
2007 or clauclate and cache one.
2008 (invalidate_vertical_divider_cache_in_window): Implemented.
2009 (map_windows): Changed return type to int, return the value from
2012 * window.h: Prototype invalidate_vertical_divider_cache_in_window.
2013 (struct window): Added need_vertical_divider_p and
2014 need_vertical_divider_valid_p.
2016 * winslots.h: Added vertical_divider_draggable_p slot.
2018 * scrollbar.c (vertical_scrollbar_changed_in_window): Implemented.
2019 (specifier_vars_of_scrollbar): Used it in all vertical specifiers.
2021 * frame.c (invalidate_vertical_divider_cache_in_frame): New function.
2023 * frame.h (MARK_FRAME_WINDOWS_STRUCTURE_CHANGED): Call
2024 invalidate_vertical_divider_cache_in_frame().
2027 1998-05-14 Andy Piper <andyp@parallax.co.uk>
2029 * toolbar-msw.c: provide correct parameters to TB_SETROWS.
2031 * glyphs-msw.c (mswindows_initialize_image_instance_mask): size
2032 masks correctly and don't select 0.
2034 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
2036 * winslots.h: New file, declaration of some struct window and
2037 struct saved_window members.
2039 * window.h (struct window): Include it, with required preprocessor
2042 * window.c (mark_window): Ditto.
2043 (allocate_window): Ditto.
2044 (struct saved_window): Ditto.
2045 (mark_window_config): Ditto.
2046 (saved_window_equal): Ditto.
2047 (Fset_window_configuration): Ditto.
2049 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
2051 * redisplay-msw.c (mswindows_output_vertical_divider): Syntax fix.
2053 1998-05-12 Didier Verna <verna@inf.enst.fr>
2055 * redisplay-x.c (x_output_vertical_divider): draw shadows around
2056 the divider line. The shadow thickness is currently
2057 hard-wired. This will probably be turned into a specifier soon.
2059 1998-05-12 Didier Verna <verna@inf.enst.fr>
2061 * console.h (struct console_methods): the divider_width console
2062 method now requires a struct window * argument.
2064 * redisplay-x.c (x_divider_width): ditto. Plus remove
2065 X_DIVIDER_WIDTH, X_DIVIDER_SHADOW_THICKNESS.
2066 (x_output_vertical_divider): give a depressed look when the shadow
2067 thickness is negative.
2069 * console-stream.c (stream_divider_width): pass a struct window *
2072 * redisplay-tty.c (tty_divider_width): ditto.
2074 * window.c (window_right_gutter_width): totdi.
2076 * redisplay.c (generate_modeline): ittod.
2078 * scrollbar.c (update_scrollbar_instance): ttido.
2080 * redisplay-msw.c (mswindows_divider_width): ottid.
2081 WARNING: this enables to compile, but the feature is not functional.
2083 * window.h (struct window): new field
2084 vertical_divider_shadow_thickness.
2086 * window.c (specifier_vars_of_window): new specifier
2087 vertical-divider-shadow-thickness.
2088 (vertical_divider_shadow_thickness_changed): new function to
2089 inform redisplay that the window has changed.
2090 (mark_window): handle new field vertical_divider_shadow_thickness
2092 (allocate_window): ditto.
2093 (saved_window_equal): toddi.
2094 (Fset_window_configuration): totid.
2095 (save_window_save): ttdio.
2096 (struct saved_window): new field vertical_divider_shadow_thickness.
2098 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
2100 * device-msw.c (mswindows_device_system_metrics): Support a deluge
2103 1998-05-12 Oliver Graf <ograf@fga.de>
2105 * frame-x.c (x_cde_transfer_callback): fixed for the new protocol
2106 * event-Xt.c (x_event_to_emacs_event): C++ compability
2108 1998-05-14 Hrvoje Niksic <hniksic@srce.hr>
2110 * emacs.c (Fdecode_path): Default SEPCHAR to value of
2113 1998-05-14 Hrvoje Niksic <hniksic@srce.hr>
2115 * emacs.c (vars_of_emacs): Do it here; change the meaning of
2118 * fileio.c (vars_of_fileio): Don't define Vpath_separator here.
2120 1998-05-14 Hrvoje Niksic <hniksic@srce.hr>
2122 * emacs.c (decode_path_1): New function.
2123 (decode_path): Use it.
2124 (Fdecode_path): Renamed from Fdecode_path_internal; use
2127 1998-05-12 Hrvoje Niksic <hniksic@srce.hr>
2129 * macros.c (Fzap_last_kbd_macro_event): New function.
2130 (Fend_kbd_macro): Remove REMOVE_LAST kludge.
2132 1998-05-10 Andy Piper <andyp@parallax.co.uk>
2134 * redisplay-msw.c (mswindows_output_dibitmap_region): make sure
2135 multiple bitmaps are output vertically as well as horizontally.
2136 * (mswindows_output_dibitmap): don't cope with bitmap boundaries
2137 crossing lines this is handled by
2138 mswindows_output_dibitmap_region.
2140 1998-05-12 Martin Buchholz <martin@xemacs.org>
2142 * inline.c: Include eldap.h
2144 * menubar-x.c (x_update_frame_menubar_internal):
2145 Remove: unused variable `container'
2147 1998-05-11 Martin Buchholz <martin@xemacs.org>
2149 * s/aix4.h: Allow AIX 4.3 XEmacs to compile cleanly.
2150 Unfortunately, the resulting temacs still cannot dump.
2152 * symbols.c (symbol_is_constant):
2153 (verify_ok_for_buffer_local):
2154 -Wswitch Warning suppression - add default case to switches.
2156 * redisplay.c (decode_mode_spec): Remove unused variables,
2157 Replace Fcoding_system_property (codesys, Qmnemonic) with
2158 XCODING_SYSTEM_MNEMONIC (codesys);
2159 Fcoding_system_property is for users.
2165 Change empty docstrings into no doc strings at all.
2166 Fix bogus FSF-format docstrings.
2169 Standardize docstrings.
2172 Explain problems with matherr.
2174 * glyphs.c: make DEFUNs etags-readable, i.e. single-line
2177 if BROKEN_SIGIO, then SIGIO wants to be undefined.
2178 if SIGIO and not SIGPOLL, SIGPOLL wants to be SIGIO.\
2179 Fix the weird resultant interaction (causes windows problems)
2183 Take new EMACSBOOTSTRAPLOADPATH into account.
2184 Update documentation strings
2187 - Adjust for luser's CDPATH being set to something weird.
2188 - Take into account bash 2.02's tendency to print the cwd when
2189 using CDPATH. Always use `cd ./foo' instead of `cd foo'.
2190 - fix the run-temacs target to use $(DUMPENV)
2191 - fix the run-puremacs target to use $(DUMPENV)
2192 - fix the `depend' target to properly $(RM) the right files
2193 - Generate a better TAGS file for XEmacs' lisp code using
2194 hand-crafted regexps.
2195 - Use standard coding conventions for modules/Makefile.in
2197 1998-05-12 Didier Verna <verna@inf.enst.fr>
2199 * redisplay.c: removed the scrolling modeline code that didn't
2200 make it for 21.0. To be continued ...
2202 1998-05-13 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
2204 * emacs.c (Fdecode_path_internal): Removed bogus handling of nil
2205 and empty string inputs.
2207 1998-05-12 Hrvoje Niksic <hniksic@srce.hr>
2209 * redisplay-x.c (x_output_vertical_divider): Fixed typo.
2211 1998-05-10 Oliver Graf <ograf@fga.de>
2213 * event-stream.c (enqueue_misc_user_event_pos): created
2214 * lisp.h (enqueue_misc_user_event_pos): prototype added
2215 * frame-x.c (x_cde_transfer_callback): debug code plus API changes
2216 * emacs.c: call vars_of_dragdrop
2217 * dragdrop.c (vars_of_dragdrop): provide dragdrop
2219 1998-05-11 Oliver Graf <ograf@fga.de>
2221 * frame-x.c (x_cde_transfer_callback): return at correct pos
2222 * event-Xt.c (x_event_to_emacs_event): changed format of drop
2223 object for MIME (see comment in dragdrop.c)
2224 * dragdrop.c: API change documented in comment
2225 removed provide of dragdrop [is provided by dragdrop.el]
2227 1998-05-12 Kirill M. Katsnelson <kkm@kis.ru>
2229 * window.c (window_needs_vertical_divider): Enable vertical
2230 dividers for every non-rightmost window.
2231 (window_left_gutter_width): Left gutter consists of mythical
2232 toolbar and a virtual scrollbar.
2233 (window_right_gutter_width): The right one may have a divider
2236 * scrollbar.c (update_scrollbar_instance): Position vertical
2237 scrollbar left to divider if the latter present.
2239 * redisplay.h: Declared OVER_DIVIER constant.
2241 * redisplay.c (pixel_to_glyph_translation): Handle OVER_DIVIDER
2244 * redisplay-x.c (x_output_vertical_divider): Output divider along
2245 the right side of the window, down to window bottom. Swapped
2246 foreground and background colors so it is visible by default.
2248 * redisplay-tty.c (tty_output_vertical_divider): Uncondiionally
2249 stick the divider to the right window side.
2251 * redisplay-msw.c (mswindows_redisplay_deadbox_maybe): Fixed
2253 (mswindows_divider_width): Ask system for user preferred value.
2254 (mswindows_output_vertical_divider): Always output the divider on
2255 the right side of a window, down to bottom.
2257 * keymap.c (get_relevant_keymaps): Route mouse button events which
2258 happened over a window divider through window-divider-map.
2259 (Fkey_binding): Documented that in the docstring.
2260 Defined the variable Vwindow_divider_map.
2262 * events.c (Fevent_over_divider_p): Added this function.
2264 * events.h: EXFUNed it.
2266 1998-05-12 Kirill M. Katsnelson <kkm@kis.ru>
2268 * toolbar.c (update_frame_toolbars): Re-layout frame windows if
2269 toolbar geometry is suspected to change.
2271 1998-05-11 Jonathan Harris <jhar@tardis.ed.ac.uk>
2275 Condition dnd and dde code on HAVE_DRAGNDROP.
2277 1998-05-11 Hrvoje Niksic <hniksic@srce.hr>
2279 * events.c (format_event_object): Print space as SPC etc.
2281 1998-05-11 Hrvoje Niksic <hniksic@srce.hr>
2283 * print.c (print_internal): In the default case, abort() if
2284 ERROR_CHECK_TYPECHECK.
2286 * fileio.c (Fmake_temp_name): Doc fix.
2288 1998-05-10 Hrvoje Niksic <hniksic@srce.hr>
2290 * xgccache.c (describe_gc_cache): Define only if DEBUG_XEMACS.
2292 * undo.c (Fprimitive_undo): Fixed typo.
2294 1998-05-11 Hrvoje Niksic <hniksic@srce.hr>
2296 * fns.c (concat): Signal error on integer argument.
2298 1998-05-10 Kirill M. Katsnelson <kkm@kis.ru>
2300 * console.h (device_metrics): Prefixed each constatnt with DM_
2302 * device.c: (Fdevice_system_metric): Renamed so from plural form
2303 (metrics); Changed parameters order and added DEFAULT parameter;
2304 Unabbreviated some metric constants; Fixed and untabified doc string.
2305 (Fdevice_system_metrics): Added. Returns a plist of all provided
2308 * device-msw.c (mswindows_device_system_metrics): Renamed
2309 device_metrics enum constants.
2310 Return Qunbound instead of Qnil.
2312 * device-tty.c (tty_device_system_metrics): Ditto.
2314 * device-x.c (x_device_system_metrics): Ditto.
2316 1998-05-10 Andy Piper <andyp@parallax.co.uk>
2318 * redisplay-msw.c: implement background pixmaps (really!). Make
2319 sure bg color is transparent if we have bg pmaps.
2320 * (mswindows_output_string) (mswindows_clear_region): output bg
2322 * (mswindows_output_dibitmap_region): new function.
2323 * (mswindows_output_dibitmap): output offset pixmaps, blt masks in
2324 the bg color rather than transparently.
2326 * toolbar-msw.c: use masks if they exist.
2328 * glyphs-msw.c: set up masks correctly.
2330 * event-msw.c: typedef SOCKET if cygwin and not msg select().
2332 1998-05-10 Hrvoje Niksic <hniksic@srce.hr>
2334 * regex.c (re_match_2_internal): Check for quit.
2336 1998-05-10 Hrvoje Niksic <hniksic@srce.hr>
2338 * frame.c (Ffocus_frame): New function.