1 1999-06-11 XEmacs Build Bot <builds@cvs.xemacs.org>
3 * XEmacs 21.2.16 is released
5 1999-06-10 Andy Piper <andy@xemacs.org>
7 * select-msw.c (mswindows_own_selection): only set the clipboard
9 (mswindows_get_foreign_selection): only get the clipboard if
11 (mswindows_disown_selection): only disown the clipboard if asked.
13 1999-06-03 MORIOKA Tomohiko <tomo@etl.go.jp>
15 * file-coding.c (coding_system_from_mask): Use `raw-text' instead
17 (complex_vars_of_mule_coding): Use `raw-text' as the coding-system
18 of coding-category `no-conversion'.
20 1999-06-03 MORIOKA Tomohiko <tomo@etl.go.jp>
22 * file-coding.c (Qraw_text): New variable.
23 (syms_of_mule_coding): Add new symbol `raw-text'.
24 (complex_vars_of_mule_coding): Add new coding-system `raw-text';
25 define coding-system `binary' independently; define coding-system
26 `no-conversion' as an alias for `raw-text'.
28 * file-coding.h (Qraw_text): New variable.
30 1999-05-20 MORIOKA Tomohiko <tomo@etl.go.jp>
32 * mule-charset.c (complex_vars_of_mule_charset): Registry of
33 japanese-jisx0208-1978 should not match with "jisx0208.1983" nor
36 1999-06-08 SL Baur <steve@xemacs.org>
38 * s/decosf4-0.h: Explicitly #undef SYSTEM_MALLOC.
40 1999-06-06 Hrvoje Niksic <hniksic@srce.hr>
42 * fns.c (MIME_LINE_LENGTH): Default to 72, as in mimencode and
44 (base64_decode_1): Signal errors instead of returning -1.
46 1999-06-07 Hrvoje Niksic <hniksic@srce.hr>
48 * mule-charset.c (Fmake_char): Update docstring.
50 1999-06-07 Hrvoje Niksic <hniksic@srce.hr>
52 * fns.c (Fstring_lessp): Actually increment the Bufbyte pointers.
54 1999-06-05 Hrvoje Niksic <hniksic@srce.hr>
56 * fns.c (base64_decode_1): Allow and ignore any non-base64
59 1999-05-27 Olivier Galibert <galibert@pobox.com>
61 * emacs.c (Fdump_emacs): Add clear_message() lost with the removal
62 of report_pure_usage().
64 1999-06-04 Hrvoje Niksic <hniksic@srce.hr>
66 * fns.c (Fstring_lessp): Remove O(n^2) under Mule.
68 1999-06-04 XEmacs Build Bot <builds@cvs.xemacs.org>
70 * XEmacs 21.2.15 is released
72 1999-06-01 Hirokazu FUKUI <fukui@atesoft.advantest.co.jp>
74 * frame.c (Fset_mouse_position):
75 (Fset_mouse_pixel_position):
76 * window.c (Fsplit_window):
77 (Fmove_to_window_line):
78 Fix crash when invoking functions with an already-deleted window
81 * indent.c (vertical_motion_1):
83 (Fvertical_motion_pixels):
84 * window.c (Fwindow_displayed_text_pixel_height):
85 Fix error message when invoking functions with an already-deleted
88 1999-06-01 Jan Vroonhof <vroonhof@math.ethz.ch>
90 * sysdep.c (request_sigio_on_device): Guard against glibc
91 2.1's stub streams implementation.
93 1999-06-03 SL Baur <steve@xemacs.org>
96 * emacs.c: Implement x.y.z version numbers
97 From Jan Vroonhof <vroonhof@math.ethz.ch>
99 1999-05-20 MORIOKA Tomohiko <tomo@etl.go.jp>
101 * mule-charset.c (complex_vars_of_mule_charset): Registry of
102 japanese-jisx0208-1978 should not match with "jisx0208.1983" nor
105 1999-06-03 SL Baur <steve@xemacs.org>
108 * device-x.c: rename session option to wmcommand.
109 From Oliver Graf <ograf@rhein-zeitung.de>
111 1999-05-27 Hrvoje Niksic <hniksic@srce.hr>
113 * fns.c (Fsubstring): Don't traverse the same region twice with
114 charcount_to_bytecount().
116 1999-06-03 SL Baur <steve@steve1.m17n.org>
118 * m/alpha.h (SYSTEM_MALLOC): Fix indented preprocessor directive
121 * s/decosf4-0.h: Defining ORDINARY_LINK here is redundant (and it
122 doesn't really work as is implied by the commentary).
123 Don't define SYSTEM_MALLOC so the old GNU malloc can be used.
125 1999-06-02 SL Baur <steve@steve1.m17n.org>
127 * symsinit.h: Declare vars_of_ntproc.
128 * emacs.c (main_1): Call it.
130 * ntproc.c (syms_of_ntproc): Move variable initializations from
132 (vars_of_ntproc): ... to here [new function].
134 * file-coding.c (syms_of_file_coding): Rename.
135 (vars_of_file_coding): Ditto.
136 (complex_vars_of_file_coding): Ditto.
138 * symsinit.h: Rename *_mule_coding to *_file_coding.
140 * emacs.c (main_1): Call them by the proper name.
142 * device-msw.c (syms_of_device_mswindows): Move variable
143 initializations from here ...
144 (vars_of_device_mswindows): ... to here.
146 * chartab.c (vars_of_chartab): New function.
148 * symsinit.h: New function, vars_of_chartab.
150 * emacs.c (main_1): Call it.
152 * mule-canna.c (syms_of_mule_canna): Move CANNA initialization ...
153 (vars_of_mule_canna): ... to here.
155 * mule-ccl.c (vars_of_mule_ccl): New function. Move variable
156 initializations out of syms_of_mule_ccl.
158 * symsinit.h: Declare new function vars_of_mule_ccl.
160 * emacs.c (main_1): Call it.
162 1999-05-27 Hrvoje Niksic <hniksic@srce.hr>
164 * fns.c (base64_decode_1): Ignore whitespace.
166 1999-05-27 Hrvoje Niksic <hniksic@srce.hr>
168 * mule-charset.c (Fmake_char): Strip the eighth bit off ARG1 and
171 1999-05-21 Andy Piper <andy@xemacs.org>
173 * xselect.c: deleted.
175 * symsinit.h: declare select initialisation.
177 * select.h: new file. declare commonly used select functions and
180 * select.c: new file. generalised from xselect.c.
181 (clean_local_selection_data): moved from xselect.c.
182 (get_local_selection): ditto. device specific pieces called via a
184 (handle_selection_clear): ditto.
185 (Fown_selection_internal): renamed and generalised from
186 Fx_own_selection_internal. moved from xselect.c.
187 (Fdisown_selection_internal): ditto.
188 (Fselection_owner_p): ditto.
189 (Fselection_exists_p): ditto.
190 (Fget_selection_internal): ditto.
191 (syms_of_select): new function. QXXXX values moved from xselect.c
192 (vars_of_select): new function. selection_converter_alist,
193 lost_selection_hooks moved and renamed from xselect.c
195 * select-x.c: renamed from xselect.c.
196 (x_own_selection): converted to device specific. non-X-specific
197 bits moved to select.c.
198 (x_get_foreign_selection): ditto.
199 (x_disown_selection): ditto.
200 (x_selection_exists_p): ditto.
201 (console_type_create_select_x): new function.
203 * select-msw.c (mswindows_own_selection): new device method to set
204 the clipboard when we 'own' the selection.
205 (mswindows_get_foreign_selection): new device method to get the
207 (mswindows_disown_selection): new device method to delete the
208 selection when we 'disown' it.
209 (console_type_create_select_mswindows): new function.
211 * emacs.c (main_1): add select to things to initialise.
213 * console.h (struct console_methods): new console methods for
216 * Makefile.in.in (x_objs): xselect.c renamed to select-x.c
218 1999-05-20 Hrvoje Niksic <hniksic@srce.hr>
220 * print.c (long_to_string): Install a faster version.
222 1999-05-16 Andy Piper <andy@xemacs.org>
224 * ntproc.c (syms_of_ntproc): default
225 win32-start-process-share-console to t.
227 1999-05-14 Hrvoje Niksic <hniksic@srce.hr>
229 * config.h.in: Do it here.
231 * bytecode.c: Don't define ERROR_CHECK_TYPECHECK here.
233 1999-05-14 Andy Piper <andy@xemacs.org>
235 * toolbar-msw.c (mswindows_output_toolbar): hash on something
238 1999-05-14 XEmacs Build Bot <builds@cvs.xemacs.org>
240 * XEmacs 21.2.14 is released
242 1999-05-12 Andy Piper <andy@xemacs.org>
244 * ntproc.c (sys_spawnve): kludge argv[0] in a MS compatible way.
246 1999-05-11 Gunnar Evermann <ge204@eng.cam.ac.uk>
248 * emacs.c (Frun_emacs_from_temacs): (re)alloc natgs+2 entries for
249 run_temacs_argv array -- fixes random memory corruption crash
251 1999-05-12 Jan Vroonhof <vroonhof@math.ethz.ch>
253 * window.c (Fcurrent_window_configuration):
254 Save minibuffer height;
256 * window.c (set_window_configuration): use it.
258 1999-05-10 Robert Pluim <rpluim@bigfoot.com>
260 * lisp.h (NNUNGCPRO): fix typo in name of DEBUG_GCPRO version
262 1999-04-21 Jan Vroonhof <vroonhof@math.ethz.ch>
264 * redisplay.c (redisplay_window): Do not put data
265 in the line start cache if it is not guaranteed to be correct
267 1999-04-02 Jan Vroonhof <vroonhof@math.ethz.ch>
269 * window.c (struct window_config): Removed frame
271 (window_config_equal): No longer compare frame sizes.
272 (Fset_window_configuration): Resize old top window to fit in the
273 current frame directly, no longer use a fake frame resize.
274 (Fcurrent_window_configuration): No longer save frame size
276 1999-05-11 Andy Piper <andy@xemacs.org>
278 * ntproc.c (sys_spawnve): actually assign argv[0] instead of the
281 1999-05-10 Hrvoje Niksic <hniksic@srce.hr>
283 * sysdep.c (init_system_name): If gethostname gives a proper
284 domain name, don't look further for one.
286 1999-05-09 Hrvoje Niksic <hniksic@srce.hr>
288 * symbols.c (Fintern): Avoid frequent XSYMBOL (foo).
289 (Fintern_soft): Accept a symbol argument.
291 1999-05-06 Hrvoje Niksic <hniksic@srce.hr>
293 * symbols.c (Fintern): ...do it here.
295 * lread.c (read_atom): Don't handle keywords here.
297 1999-05-06 Hrvoje Niksic <hniksic@srce.hr>
299 * symbols.c (reject_constant_symbols): Just use SYMBOL_IS_KEYWORD.
301 1999-05-03 Olivier Galibert <galibert@pobox.com>
303 * lisp.h (SYMBOL_IS_KEYWORD): A symbol can be a keyword only if it
304 is interned in the main obarray.
306 1999-04-23 Gunnar Evermann <ge204@eng.cam.ac.uk>
308 * menubar-x.c (pre_activate_callback): set accelerator field in
309 "No menu" entries to nil. Avoid crash in
310 command_builder_operate_menu_accelerator
312 1999-05-03 Olivier Galibert <galibert@pobox.com>
314 * symeval.h (symbol_value_forward_lheader_initializer): Ditto.
316 * lisp.h (DEFUN): Fix lrecord header initialisation.
318 1999-05-02 Andy Piper <andy@xemacs.org>
320 * objects-msw.c (mswindows_font_instance_truename): add a ';'.
322 * ntproc.c (sys_kill): cast using MS mandated defines.
324 1999-04-29 Andy Piper <andy@xemacs.org>
326 * m/intel386.h: remove redundant definitions.
328 * s/mingw32.h: new header for mingw32.
330 * unexnt.c: (open_input_file): function moved to nt.c.
331 (close_file_data): ditto.
332 (rva_to_section): function moved to ntproc.
334 * symsinit.h: declare syms_of_ntproc();
336 * objects-msw.c (mswindows_font_instance_truename): new function.
338 * ntproc.c: remove many warnings.
339 (_sys_read_ahead): moved from nt.c and made static.
340 (rva_to_section): moved from unexnt.c but not defined under
342 (win32_executable_type): implement what we can for mingw32
344 (sys_spawnve): fix bad MULE/GCPRO bug in filename handling.
346 * ntheap.h: remove declarations of functions that are now static.
348 * ntheap.c: support static heap.
350 * nt.h: conditionalise X_OK definition.
352 * nt.c: eliminate many warnings and support mingw32.
353 (open_input_file): function moved from unexnt.c and made static
354 (close_file_data): ditto.
355 (_sys_read_ahead): moved to ntproc.c
357 * emacs.c: make sure syms_of_ntptroc gets called under windows.
359 * console-msw.h: support mingw32.
360 * getloadavg.c: ditto.
367 * config.h.in: dont turn on DEBUG_ENCAPSULATION by default because
368 some systems don't have all of the encapsulated system calls.
370 * callproc.c: warning elimination.
371 * dired-msw.c: ditto.
372 * process-nt.c: ditto.
375 * Makefile.in.in: tweak : and ; for building under mswindows.
377 1999-04-26 Michael Harnois <mharnois@willinet.net>
379 * eldap.c (allocate_ldap): Adapt to the new semantics of
380 alloc_lcrecord_type().
382 1999-03-16 MORIOKA Tomohiko <tomo@etl.go.jp>
384 * file-coding.c (DECODE_HANDLE_END_OF_CONVERSION): fixed.
386 1998-09-04 MORIOKA Tomohiko <morioka@jaist.ac.jp>
388 * Delete mule-coding.c and mule-coding.h because they are not
391 1999-04-22 Gunnar Evermann <ge204@eng.cam.ac.uk>
393 * objects.c (print_font_instance): Check for NILP(f->device),
394 i.e. Vthe_null_font_instance.
395 (font_instance_truename_internal): ditto.
396 (Ffont_instance_properties): ditto.
398 1999-04-22 Olivier Galibert <galibert@pobox.com>
400 * lrecord.h (DECLARE_LRECORD): lrecord_implementation isn't an
403 1999-04-22 Hrvoje Niksic <hniksic@srce.hr>
405 * Makefile.in.in (tests): Don't mention tests explicitly -- makes
406 it easier to add new ones.
408 1999-04-22 Hrvoje Niksic <hniksic@srce.hr>
410 * symbols.c (reject_constant_symbols): Ditto.
411 (init_symbols_once_early): Ditto.
413 * print.c (print_symbol): Don't use ->obarray.
415 * symbols.c (Funintern): Ditto.
417 * alloc.c (Fmake_symbol): Don't set ->obarray.
419 * lisp.h (struct Lisp_Symbol): Removed .obarray field.
421 * symbols.c (init_symbols_once_early): Removed
422 Vpure_uninterned_symbol_table.
423 (Fintern): Don't store to ->obarray field.
425 1999-04-22 Hrvoje Niksic <hniksic@srce.hr>
427 * data.c (vars_of_data): Default debug_issue_ebola_notices to 0.
428 (eq_with_ebola_notice): Remove abracadabra support.
430 1999-04-11 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
432 * eldap.c (Fldap_search_internal): Add a new parameter `withdn' to
433 retrieve the distinguished names of entries
435 1999-03-08 Martin Buchholz <martin@xemacs.org>
437 * lread.c (read_escape): Make hex escapes read only two hex digits.
439 1999-04-05 Olivier Galibert <galibert@pobox.com>
441 * Makefile.in.in: Remove puresize-adjust.h and recursive makes.
442 * make-src-depend: Remove puresize-adjust.h.
443 * src-headers: Remove puresize-adjust.h.
444 * config.h.in: Kill everything purespace/gung-ho related.
446 * dbxrc: Make gung-ho mandatory.
449 * lrecord.h: Make gung-ho mandatory. Remove pure flag and add
450 c_readonly and lisp_readonly. Remove implementation arrays.
451 (C_READONLY_RECORD_HEADER_P): Added.
452 (LISP_READONLY_RECORD_HEADER_P): Added.
453 (SET_C_READONLY_RECORD_HEADER): Added.
454 (SET_LISP_READONLY_RECORD_HEADER): Added.
456 * lisp.h: Kill everything purespace/non gung-ho related.
457 (CHECK_C_WRITEABLE): Added.
458 (CHECK_LISP_WRITEABLE): Added.
460 (LISP_READONLY): Added.
462 * lisp-union.h: Make gung-ho mandatory.
463 * lisp-disunion.h: Ditto.
465 * alloc.c: Kill everything purespace/non gung-ho related. Fix all
466 set_lheader_implementation calls.
468 (lisp_readonly): Added.
469 (make_string_nocopy): Added.
470 (Fpurecopy): Changed to do nothing. Kept the old documentation
471 for reference purposes for the next patches.
472 (sweep_lcrecords_1): Don't free C readonly lcrecords.
473 (sweep_bit_vectors_1): Don't free C readonly bitvectors.
474 (SWEEP_FIXED_TYPE_BLOCK): Don't free C readonly lrecords.
476 * fns.c: Make gung-ho mandatory.
477 (Fput): CHECK_IMPURE -> CHECK_LISP_WRITEABLE.
481 * data.c: Make gung-ho mandatory.
482 (pure_write_error): Removed.
483 (c_write_error): Added.
484 (lisp_write_error): Added.
485 (Fsetcar): CHECK_IMPURE -> CHECK_LISP_WRITEABLE.
489 * symbols.c: Make gung-ho mandatory. make_pure_pname ->
490 make_string or make_string_nocopy. Fix various
493 * lread.c: Remove everything purespace related.
494 (Flocate_file_clear_hashing): purified -> c_readonly.
495 (locate_file): Ditto.
496 (read_atom): make_pure_pname -> make_string.
498 * emacs.c (Frun_emacs_from_temacs): Remove purespace stats
500 (Fdump_emacs): Ditto.
502 * print.c (print_internal): Make gung-ho mandatory.
503 * ntheap.c (sbrk): Ditto.
504 * mem-limits.h (EXCEEDS_LISP_PTR): Ditto
505 * symeval.h (symbol_value_forward_lheader_initializer): Ditto.
507 * sheap.c (more_static_core): Remove puresize-adjust.h from
510 * syntax.c (complex_vars_of_syntax): make_pure_string ->
512 * keymap.c (make_keymap): Fix alloc_lcrecord_type.
513 (vars_of_keymap): make_pure_string -> make_string_nocopy.
514 * events.c (deinitialize_event): Fix set_lheader_implementation.
516 * specifier.c (make_specifier_internal): Fix alloc_lcrecord.
517 * menubar-x.c (set_frame_menubar): Fix alloc_lcrecord_type.
518 * mule-charset.c (make_charset): Ditto.
519 * console.c (allocate_console): Ditto.
520 (complex_vars_of_console): Ditto.
521 * file-coding.c (allocate_coding_system): Ditto.
522 * device.c (allocate_device): Ditto
523 * gui-x.c (gcpro_popup_callbacks): Ditto.
524 * extents.c (allocate_extent_auxiliary): Ditto.
525 (allocate_extent_info): Ditto.
526 (copy_extent): Ditto.
527 * glyphs.c (allocate_image_instance): Ditto.
528 (allocate_glyph): Ditto.
529 * frame.c (allocate_frame_core): Ditto.
530 * database.c (allocate_database): Ditto.
531 * tooltalk.c (make_tooltalk_message): Ditto.
532 (make_tooltalk_pattern): Ditto.
533 * rangetab.c (Fmake_range_table): Ditto.
534 (Fcopy_range_table): Ditto.
535 * process.c (make_process_internal): Ditto.
536 * chartab.c (Fmake_char_table): Ditto.
537 (make_char_table_entry): Ditto.
538 (copy_char_table_entry): Ditto.
539 (Fcopy_char_table): Ditto.
540 * elhash.c (make_general_lisp_hash_table): Ditto.
541 (Fcopy_hash_table): Ditto.
542 * buffer.c (allocate_buffer): Ditto.
543 (complex_vars_of_buffer): Ditto.
544 * event-stream.c (allocate_command_builder): Ditto.
545 * objects.c (Fmake_color_instance): Ditto.
546 (Fmake_font_instance): Ditto.
547 (vars_of_objects): Ditto.
548 * toolbar.c (update_toolbar_button): Ditto.
549 * window.c (allocate_window): Ditto.
550 (make_dummy_parent): Ditto.
551 (Fcurrent_window_configuration): Fix alloc_lcrecord.
552 (vars_of_window): Fix make_lcrecord_list.
553 * faces.c (allocate_face): Fix alloc_lcrecord_type. pure_list ->
555 * lstream.c (Lstream_new): Fix make_lcrecord_list.
556 * opaque.c (make_opaque): Fix alloc_lrecord.
557 (make_opaque_list): Fix alloc_lrecord_type.
559 1999-04-19 Hrvoje Niksic <hniksic@srce.hr>
561 * process.c (Fstart_process_internal): Ditto.
563 * ntproc.c (sys_spawnve): Use Vlisp_EXEC_SUFFIXES when calling
566 * glyphs-x.c (x_locate_pixmap_file): Ditto.
568 * glyphs-msw.c (mswindows_locate_pixmap_file): Fix call to
571 * emodules.c (vars_of_module): New variable Vmodule_extensions.
572 (emodules_load): Use it when calling locate_file().
574 * emacs.c (main_1): Use Vlisp_EXEC_SUFFIXES when calling
577 * callproc.c: Vlisp_EXEC_SUFFIXES: New variable.
578 (vars_of_callproc): Initialize it.
579 (Fcall_process_internal): Use it when calling locate_file().
581 * alloc.c (disksave_object_finalization): Use
582 Flocate_file_clear_hashing().
584 * lread.c (Flocate_file_clear_hashing): Clear all hasing when
585 given `t' as argument.
587 1999-04-18 Hrvoje Niksic <hniksic@srce.hr>
589 * lread.c (locate_file): Expand `pathel' when appropriate.
590 (Flocate_file_clear_hashing): Expand path elements.
591 (Flocate_file_clear_hashing): Use Vlocate_file_hash_table.
593 * dired.c (make_directory_hash_table): Create the hash-table only
594 if the directory open is successful.
596 * lread.c (decode_mode_1): New function.
597 (decode_mode): Ditto.
598 (Flocate_file): Use them.
599 (Flocate_file): Expand FILENAME.
600 (locate_file_map_suffixes): New function.
601 (locate_file_in_directory_mapper): New function.
602 (locate_file_in_directory): Use locate_file_in_directory_mapper()
603 and locate_file_map_suffixes().
604 (locate_file_construct_suffixed_files): Use
605 locate_file_map_suffixes().
606 (locate_file_without_hash): Don't GCPRO path.
607 (Flocate_file_clear_hashing): Use EXTERNAL_LIST_LOOP.
608 (syms_of_lread): Remove Qlocate_file_hash_table.
609 (locate_file_find_directory_hash_table): Use
610 Vlocate_file_hash_table.
611 (locate_file_refresh_hashing): Ditto.
613 * lread.c: Renamed read_objects to Vread_objects.
615 1999-04-16 Olivier Galibert <galibert@pobox.com>
617 * mule-charset.c: Generally resync with fsf 20.3 charset
619 (make_charset): Add long and short name. Use id instead of
621 (Fmake_charset): Ditto.
622 (Fmake_reverse_direction_charset): Ditto.
623 (Fcharset_property): Ditto.
624 (Fcharset_short_name): Added.
625 (Fcharset_long_name): Added.
626 (Fcharset_description): Renamed from charset-doc-string.
627 (syms_of_mule_charset): Synced symbols.
628 (complex_vars_of_mule_charset): Synced charsets.
630 * mule-charset.h: Removed leading byte (uses id instead), added
633 1999-04-15 Hrvoje Niksic <hniksic@srce.hr>
635 * file-coding.c (Fdefine_coding_system_alias): New function.
637 1999-04-08 Olivier Galibert <galibert@pobox.com>
639 * mule-charset.c (complex_vars_of_mule_charset): Allow all iso8859
640 and -ascii fonts for displaying ascii instead of iso8859-1 only.
642 1998-12-14 Hrvoje Niksic <hniksic@srce.hr>
644 * extents.c (set_extent_glyph_1): Make sure that the glyph we
645 attach to the extent is valid.
647 1998-12-12 Hrvoje Niksic <hniksic@srce.hr>
649 * dired.c (user_name_completion): Mule-ize.
650 (user_name_completion): Use xmalloc/xrealloc/xfree.
651 (user_name_completion): Use DO_REALLOC.
652 (user_name_completion): Cut down the number of static variables;
654 (user_name_completion): Username completion is always
657 1998-12-06 Hrvoje Niksic <hniksic@srce.hr>
659 * fns.c (base64_decode_1): Remove COUNTER.
660 (base64_decode_1): Accept CRLF in addition to CR.
661 (base64_decode_1): Disallow a stray character after final EOF; the
662 check was probably a remnant of buggy recode code.
664 1998-12-05 Hrvoje Niksic <hniksic@srce.hr>
666 * fns.c (init_provide_once): Provide `base64'.
668 1998-12-04 Hrvoje Niksic <hniksic@srce.hr>
670 * fns.c (XMALLOC_UNBIND): Include SPECCOUNT argument, for clarity.
671 (Fbase64_encode_region): If buffer is read-only, bail out early.
672 (Fbase64_decode_region): Ditto.
673 (Fbase64_encode_region): Initialize SPECCOUNT to pacify the
675 (Fbase64_encode_string): Ditto.
676 (Fbase64_decode_region): Ditto.
677 (Fbase64_decode_string): Ditto.
679 1998-11-25 Hrvoje Niksic <hniksic@srce.hr>
681 * dired.c (Fdirectory_files): Remove redundant code.
683 1999-03-05 Philip Aston <philipa@parallax.co.uk>
685 * frame-msw.c Make raise-frame restore minimised windows.
687 1999-03-05 Philip Aston <philipa@parallax.co.uk>
689 * device-msw.c: Fix DEFVAR format - Death to phantom quote, and
692 1999-03-05 Philip Aston <philipa@parallax.co.uk>
694 * toolbar-msw.c Consider captions when deciding whether to rebuild
695 toolbar. This fixes the initial toolbar display for those of us
696 who don't like captions. These patches applied by Andy Piper.
698 1999-03-12 XEmacs Build Bot <builds@cvs.xemacs.org>
700 * XEmacs 21.2.13 is released
702 1999-03-12 SL Baur <steve@xemacs.org>
704 * file-coding.c: Guard ucs table initialization with ifdef MULE.
706 1999-03-10 Stephen J. Turnbull <turnbull@sk.tsukuba.ac.jp>
708 * file-coding.c: docstring and comment improvements.
709 (decode_ucs4) flag possible data loss with comment.
711 1999-03-10 Martin Buchholz <martin@xemacs.org>
713 * file-coding.c (Fset_ucs_char): add CHECK_INT, CHECK_CHAR
717 (decode_coding_ucs4):
718 (encode_coding_ucs4):
719 (detect_coding_utf8):
720 (decode_coding_utf8):
722 (encode_coding_utf8):
723 Add CHECK_* macros where needed to avoid crashes.
724 #ifdef out all composite character support using
725 #ifdef ENABLE_COMPOSITE_CHARS
726 Use normal XEmacs coding standards.
728 Remove CODING_STREAM_COMPOSE, CODING_STREAM_DECOMPOSE.
730 1998-09-08 MORIOKA Tomohiko <morioka@jaist.ac.jp>
732 * file-coding.c (make-coding-system): Add description about
734 (detection_state): Modify to implement ucs-4 and utf-8.
735 (detect_coding_type): Likewise.
736 (detect_coding_ucs4): New implementation.
737 (detect_coding_utf8): New implementation.
738 (encode_utf8): fixed.
739 (syms_of_mule_coding): Rename `ucs4' and `utf8' to `ucs-4' and
742 1998-09-08 MORIOKA Tomohiko <morioka@jaist.ac.jp>
744 * file-coding.c (mule_char_to_ucs4): Encode 94x94 chars in ISO
745 2022 registry to private area.
747 1998-09-07 MORIOKA Tomohiko <morioka@jaist.ac.jp>
749 * file-coding.c (encode_utf8): New function.
750 (encode_coding_utf8): New implementation.
752 1998-09-07 MORIOKA Tomohiko <morioka@jaist.ac.jp>
754 * file-coding.c (ucs_to_mule_table): New variable; abolish
756 (mule_to_ucs_table): renamed from `Vmule_to_ucs_table'.
757 (set-ucs-char): New function.
758 (ucs_to_char): New function.
759 (ucs-char): New function.
760 (set-char-ucs): New function.
761 (char-ucs): New function.
762 (decode_ucs4): Use `ucs_to_char'.
763 (complex_vars_of_mule_coding): Abolish `ucs-to-mule-table' and
766 1998-09-06 MORIOKA Tomohiko <morioka@jaist.ac.jp>
768 * chartab.h: EXFUN `Fget_char_table'.
770 * file-coding.c (encode_ucs4): New function.
771 (encode_coding_ucs4): Use `encode_ucs4'.
773 1998-09-06 MORIOKA Tomohiko <morioka@jaist.ac.jp>
775 * file-coding.c (decode_coding_ucs4): New implementation.
777 1998-09-06 MORIOKA Tomohiko <morioka@jaist.ac.jp>
779 * file-coding.c (decode_coding_ucs4): fixed.
781 * file-coding.c (Vmule_to_ucs_table): New variable.
782 (mule_char_to_ucs4): New function.
783 (encode_coding_ucs4): New implementation.
784 (complex_vars_of_mule_coding): Define variable
787 1998-09-06 MORIOKA Tomohiko <morioka@jaist.ac.jp>
789 * file-coding.c (decode_coding_utf8): New implementation.
791 1998-09-06 MORIOKA Tomohiko <morioka@jaist.ac.jp>
793 * file-coding.c (decode_coding_utf8): fixed.
795 1998-09-06 MORIOKA Tomohiko <morioka@jaist.ac.jp>
797 * file-coding.c (Vucs_to_mule_table): New variable.
798 (decode_ucs4): Refer `Vucs_to_mule_table'.
799 (complex_vars_of_mule_coding): Define variable
802 1998-09-04 MORIOKA Tomohiko <morioka@jaist.ac.jp>
804 * file-coding.c (detect_coding_ucs4): New function (not
806 (decode_coding_ucs4): New function.
807 (encode_coding_ucs4): New function (not implemented yet).
808 (detect_coding_utf8): New function (not implemented yet).
809 (decode_coding_utf8): New function.
810 (encode_coding_utf8): New function (not implemented yet).
811 (make-coding-system): New type `ucs4' and `utf8'.
812 (coding-system-type): Likewise.
813 (detection_state): Add `ucs4' and `utf8'.
814 (detect_coding_type): Likewise.
815 (mule_decode): Use `decode_coding_ucs4' and `decode_coding_utf8'.
816 (mule_encode): Use `encode_coding_ucs4' and `encode_coding_utf8'.
817 (decode_ucs4): New function (very incomplete).
818 (syms_of_mule_coding): Add `ucs4' and `utf8'.
820 * file-coding.h: Add definitions for UCS-4 and UTF-8.
822 1999-03-08 Martin Buchholz <martin@xemacs.org>
825 (non_ascii_valid_char_p):
826 (lookup_composite_char):
827 (composite_char_string):
828 (make-composite-char):
829 (composite-char-string):
830 (syms_of_mule_charset):
831 (complex_vars_of_mule_charset):
832 * mule-charset.h (LEADING_BYTE_COMPOSITE):
835 * file-coding.h (CODING_STATE_COMPOSITE):
836 (CODING_STATE_ISO2022_LOCK):
838 (LEADING_BYTE_COMPOSITE):
839 * file-coding.c (struct iso2022_decoder):
843 (encode_coding_iso2022):
844 #ifdef out all composite character support using
845 #ifdef ENABLE_COMPOSITE_CHARS
847 * alloc.c: Define lrecord_coding_system only if ! FILE_CODING
849 1999-03-04 Takeshi YAMADA <yamada@cslab.kecl.ntt.co.jp>
851 * fns.c (Fbase64_encode_string): Calculate `allength' in the same
852 way of `Fbase64_encode_region'.
854 1999-02-18 Katsumi Yamaoka <yamaoka@jpl.org>
856 * fns.c (base64_encode_1): Don't add a newline at the tail.
858 1999-03-08 Andy Piper <andy@xemacs.org>
860 * menubar-msw.c (displayable_menu_item): correct off-by-one &
863 1999-03-07 Martin Buchholz <martin@xemacs.org>
865 * console-stream.h (struct stream_console):
866 * event-unixoid.c (event_stream_unixoid_select_console):
867 (event_stream_unixoid_unselect_console):
868 * print.c (Fexternal_debugging_output):
869 * sysdep.c (reset_one_device):
870 * console-stream.c (stream_init_console):
871 (stream_delete_console):
872 (allocate_stream_console_struct): move into stream_init_console.
873 (free_stream_console_struct): move into stream_delete_console.
874 Use `fd' only for file descriptors.
875 Therefore, rename members of struct stream_console.
877 * systime.h: Unix98 says sys/time.h should define select(), but
878 some systems define that in unistd.h. So include that file always.
880 * glyphs.h (MAYBE_IIFORMAT_METH): Don't use leading `_'. Avoid
881 multiple evaluation of first arg. Do proper do {} while (0) wrapping.
882 (HAS_IIFORMAT_METH_P): Prevent macro from being used in
884 (MAYBE_IIFORMAT_DEVMETH): Use standard internal macro naming convention.
888 Add #include <stdio.h>.
889 Some versions of assert.h use printf() without #include'ing stdio.h
891 * free-hook.c (blocktype): Add gcpro5_type to blocktype.
892 (log_gcpro): Remove unused variable FRAME.
893 (show_gcprohist): Ansify.
896 * frame-x.c (x_delete_frame): Don't use FRAME_X_SHELL_WIDGET(f)
897 after it's just been XtDestroy'ed!
899 1999-02-18 Martin Buchholz <martin@xemacs.org>
901 * opaque.c (print_opaque):
905 Egcs 1.1.1 seems to have a bug where
906 INTP (p->size_or_chain)
907 will crash XEmacs. Fix by introducing intermediate variable.
909 * sound.c (Fdevice_sound_enabled_p): Fix compiler warning.
911 * dired.c (Fdirectory_files):
912 (Ffile_name_completion):
913 (Ffile_name_all_completions):
914 (file_name_completion):
915 - Use `directory' instead of `dirname' to sync with FSF Emacs and
916 avoid compiler warnings.
917 - Fix up docstrings so that C variables match documentation.
919 1999-03-05 Martin Buchholz <martin@xemacs.org>
921 * alloc.c: (garbage_collect_1): Reorg code to make scope of local
922 variables as small as possible to help out the compiler and the maintainer.
924 * alloc.c: (disksave_object_finalization):
925 Set all the *-load-path variables to
926 nil, not just load-path itself. This gets the locate-file hash
927 tables garbage collected BEFORE dump, and has the side effect of
928 preventing crashes on OSF4.0+egcs.
933 - Clean up gdb/dbx debugging support.
934 - Storing an EMACS_INT in an enum is not 64-bit clean!
935 - So change the enum to a set of separate variables.
936 - Add test cases to help debug the debugging support!
937 - Add `lisp-shadows' and `run-temacs' targets for dbx.
938 - Both dbx and gdb have been tested now.
940 1999-03-05 XEmacs Build Bot <builds@cvs.xemacs.org>
942 * XEmacs 21.2.12 is released
944 1999-02-16 Kazuyuki IENAGA <ienaga@jsys.co.jp>
946 * device-x.c: Support to find best visual without flashing.
948 1999-03-02 Paul Keusemann <pkeusem@visi.com>
950 * database.c (berkdb_map): Add flags argument to cursor call (must
951 be 0 according to docs) required for Berkeley DB 2.6.4 and later.
953 1999-03-03 Martin Buchholz <martin@xemacs.org>
957 General cleanup. Get free-hook.c working again.
958 Remove unused functions:
959 make_strings_hash_table, copy_hash, expand_hash_table.
963 Always use new ANSI-style function prototypes.
965 * unexalpha.c (unexec): Never use implicit int.
967 * sgiplay.c (close_sound_file):
969 (restore_audio_port):
974 (write_mulaw_8_chunk):
975 (write_linear_chunk):
976 (write_linear_32_chunk):
977 (initialize_audio_port):
981 (adjust_audio_volume):
982 (get_current_volumes):
984 Always use new ANSI-style function prototypes.
985 Use unistd.h for missing prototypes.
987 * unexelfsgi.c (round_up):
989 (unexec): Always use new ANSI-style function prototypes
991 * elhash.c (struct Lisp_Hash_Table): rename golden to golden_ratio
993 * console.h (struct console_methods): Always use full ANSI prototypes
995 * emacs.c (__sti__iflPNGFile_c___): Always use full ANSI prototypes
997 1999-03-02 Andy Piper <andy@xemacs.org>
999 * event-stream.c (init_event_stream): make sure native mswindows
1000 gets an appropriate event loop.
1002 1999-02-22 Andy Piper <andy@xemacs.org>
1004 * frame-msw.c (mswindows_make_frame_visible): use SW_SHOW rather
1005 than SW_SHOWNORMAL to prevent resizing of maximised frames.
1006 (mswindows_raise_frame): remove comment.
1008 1999-03-01 XEmacs Build Bot <builds@cvs.xemacs.org>
1010 * XEmacs 21.2.11 is released
1012 1999-02-25 SL Baur <steve@xemacs.org>
1014 * mule-charset.c (Qleading_byte): New variable to implement
1015 charset-leading-byte function.
1016 (Fcharset_property): Use it.
1017 (syms_of_mule_charset): Initialize it.
1018 From Kazuyuki IENAGA <ienaga@jsys.co.jp>
1020 1999-02-17 Kazuo Oishi <oishi@ae.agr.yamaguchi-u.ac.jp>
1022 * glyphs-x.c (cononvert_EImage_to_XImage): correct
1023 bytes per pixel counting.
1025 1999-02-15 Andy Piper <andy@xemacs.org>
1027 * s/cygwin32.h (BROKEN_SIGIO): don't define this as it causes
1030 1999-02-16 MORIOKA Tomohiko <morioka@jaist.ac.jp>
1032 * fns.c (Fbase64_encode_string): New optional argument
1035 1999-02-16 Martin Buchholz <martin@xemacs.org>
1037 * gdbinit: Fix up commands to run temacs. Add lisp-shadows command.
1038 * alloc.c (xcalloc): undef xcalloc, just like xmalloc
1040 1999-02-10 Martin Buchholz <martin@xemacs.org>
1042 * s/bsdos4.h: New file. Port to BSDI BSD/OS 4.0.
1043 * xintrinsic.h: Redo CONST support for X11 R4 compatibility.
1045 1999-02-05 XEmacs Build Bot <builds@cvs.xemacs.org>
1047 * XEmacs 21.2.10 is released
1049 1999-02-02 Gleb Arshinov <gleb@cs.stanford.edu>
1051 * process-nt.c (nt_send_process):
1052 Fix for process-send-region/process-send-string breaking when size
1053 of the input > 128 chars: change maximum chunk size for process
1054 stream from 512 to 128, thus guaranteeing that ntpipe_shove_writer
1057 1999-02-02 XEmacs Build Bot <builds@cvs.xemacs.org>
1059 * XEmacs 21.2.9 is released
1061 1999-01-30 Martin Buchholz <martin@xemacs.org>
1063 * bytecode.c (funcall_compiled_function): Call
1064 UNBIND_TO_GCPRO instead of UNBIND_TO_GCPRO_VARIABLES_ONLY.
1066 * backtrace.h (UNBIND_TO_GCPRO_VARIABLES_ONLY):
1067 #ifdef 0 out unused macro.
1069 1999-01-27 Martin Buchholz <martin@xemacs.org>
1071 * gui.c (gui_parse_item_keywords_internal): Make static.
1073 1999-01-21 Andy Piper <andy@xemacs.org>
1075 * glyphs-msw.c: add xface support.
1076 (mswindows_xface_instantiate): new function copied from glyphs-x.c
1077 (image_instantiator_format_create_glyphs_mswindows): do device
1078 specific initialisation for xfaces.
1079 (xbm_create_bitmap_from_data): line data must be padded to a word
1082 * glyphs-x.c (xface_validate): moved to glyphs.c
1083 (xface_normalize): ditto.
1084 (xface_possible_dest_types): ditto.
1085 (image_instantiator_format_create_glyphs_x): do device specific
1086 initialisation for xfaces.
1088 * glyphs.h: declare xface symbol.
1090 * glyphs.c: move generic xface support here.
1091 (xface_validate): moved from glyphs-x.c
1092 (xface_normalize): ditto.
1093 (xface_possible_dest_types): ditto.
1094 (image_instantiator_format_create): xface declarations moved from
1097 1999-01-14 Adrian Aichner <aichner@ecf.teradyne.com>
1099 * event-stream.c (vars_of_event_stream): Fixing documentation.
1101 1999-01-17 Gunnar Evermann <ge204@eng.cam.ac.uk>
1103 * glyphs-eimage.c (gif_instantiate): Correct handling of
1104 interlaced gifs to avoid writing past the end of the eimage
1107 1999-01-13 Hrvoje Niksic <hniksic@srce.hr>
1109 * search.c (Freplace_match): Handle single backslash at end of
1112 1999-01-12 William M. Perry <wmperry@aventail.com>
1114 * eldap.c (Fldap_open): slow down interrupts around ldap_open to
1115 avoid connection errors.
1117 1999-01-12 Andy Piper <andy@xemacs.org>
1119 * redisplay-output.c (redisplay_update_line): backout change that
1120 shouldn't have gone ine.
1122 1999-01-09 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
1124 * eldap.c (vars_of_ldap): Do no provide `ldap' here since it may
1125 collide with ldap.el
1127 1999-01-11 Andy Piper <andy@xemacs.org>
1129 * redisplay.h (DISPLAY_LINE_HEIGHT): new macro.
1130 (DISPLAY_LINE_YPOS): new macro.
1132 * redisplay-msw.c (mswindows_output_string): use it.
1133 (mswindows_output_pixmap): ditto.
1134 (mswindows_output_display_block): ditto.
1136 * redisplay-output.c (redisplay_output_display_block): new
1137 function. just call the devmeth, maybe insert some generic code
1139 (compare_display_blocks): use it.
1140 (output_display_line): ditto.
1141 (redisplay_unmap_subwindows_maybe): new function. potentially
1142 unmap subwindows in the given area.
1144 * glyphs.c (reset_subwindow_cachels): unmap subwindows that we are
1147 1999-01-10 J. Kean Johnston <jkj@sco.com>
1149 * Makefile.in.in: Set value of moduledir
1150 - Changed DUMPENV to include $(MODULEPATH)
1151 - Added install rule to install header files for use by ellcc.
1153 * config.h.in: Added INHIBIT_SITE_MODULES
1154 - Added HAVE__DLERROR
1155 - Added HAVE_DLFCN_H
1156 - Added DLSYM_NEEDS_UNDERSCORE
1160 * emodules.c: New file containing dynamic loading code.
1162 * emodules.h: New file.
1164 * emacs.c: Added variables Vmodule_directory,
1165 Vsite_module_directory, Vconfigure_module_directory and
1166 Vconfigure_site_module_directory.
1167 - (main_1): Added new variable inhibit_site_modules and command
1168 line options `-no-site-modules' and `--no-site-modules'.
1169 - (main_1): Call syms_of_module() instead of syms_of_dll().
1170 - (main_1): Call vars_of_module().
1171 - (vars_of_emacs): Introduce inhibit-site-modules,
1172 module-directory, configure-module-directory,
1173 site-module-directory, and configure-site-module-directory to the
1176 * lisp.h: Declare load_module and list_modules, as well as
1177 Vmodule_directory, Vsite_module_directory,
1178 Vconfigure_module_directory and Vconfigure_site_module_directory.
1180 * paths.h.in: Added PATH_MODULESEARCH and PATH_SITE_MODULES.
1181 - Added correct support for site-lisp directory.
1183 * symbols.c (defsubr): Modified to allow modules to add new subrs
1185 - (defsubr_macro): Same.
1186 - (defvar_magick): Only use purespace when not initialized, so
1187 that loaded modules can still add symbols.
1189 * symsinit.h: Add definitions for syms_of_module(),
1190 vars_of_module(). Removed syms_of_dll().
1192 * sysdll.c: Include dlfcn.h if HAVE_DLFCN_H is defined.
1193 - (dll_variable): Take DLSYM_NEEDS_UNDERSCORE into account.
1194 - (dll_error): use _dlerror() if HAVE__DLERROR is defined.
1196 * s/sco5-shr.h (C_SWITCH_SYSTEM): Correct for modern gcc and
1197 explicitly pass -belf for native cc.
1199 * s/sco5.h (LIB_GCC): Use -print-libgcc-file-name instead of
1200 hard-coding the library name.
1202 1999-01-01 <martin@xemacs.org>
1204 * device-x.c (Fx_set_font_path):
1205 Add proper cast to permit compilation under C++.
1207 * buffer.c (directory_is_current_directory):
1208 Add proper casts to permit compilation under C++.
1210 1998-12-30 Damon Lipparelli <lipp@primus.com>
1212 * event-msw.c (mswindows_wnd_proc):
1213 Fixed failure when building with MSVC 5.
1215 1998-12-29 Martin Buchholz <martin@xemacs.org>
1217 * file-coding.c (decode_coding_iso2022):
1218 - Prevent crash when decoding ISO7/Lock detected files
1219 - the usual martin fiddling
1221 1998-12-29 Jonathan Harris <jhar@tardis.ed.ac.uk>
1225 Fixed failures when building with MSVC.
1226 * unexnt.c (dump_bss_and_heap):
1227 Removed compiler warning by removing bss_data variable.
1229 1998-12-18 Jim Radford <radford@robby.caltech.edu>
1231 * device-x.c (Fx_set_font_path, Fx_get_font_path): New functions
1232 so that packages that distribute their own fonts can access them.
1234 1998-12-28 Andy Piper <andy@xemacs.org>
1236 * glyphs-msw.c (mswindows_button_instantiate): cope with buttons
1237 that have an image provided.
1239 * glyphs.h: add Q_image decl.
1241 * glyphs-widget.c new functionality allowing images in
1243 (check_valid_glyph_or_image): new function to validate
1244 glyphs passed in through :image.
1245 (widget_normalize): new function. convert :image parameters into
1246 real glyphs if not already so.
1247 (widget_instantiate_1): mess with size parameters to be similar to
1249 (syms_of_glyphs_widget): new keyword :image.
1250 (image_instantiator_format_create_glyphs_widget): normalize
1251 buttons and allow :image.
1253 1998-12-27 Andy Piper <andy@xemacs.org>
1255 * frame-msw.c (mswindows_init_frame_1): warning elimination.
1257 * glyphs-widget.c (check_valid_anything): no-op function.
1258 (check_valid_callback): check callbacks in gui_items.
1259 (check_valid_symbol): as it sounds.
1260 (check_valid_string_or_vector): ditto.
1261 (widget_validate): modified for descriptors that are vectors or
1262 sequences of keyword/val pairs.
1263 (widget_instantiate_1): ditto.
1264 (image_instantiator_format_create_glyphs_widget): allow gui_item
1265 keywords in the instantiator.
1267 * gui.c (gui_parse_item_keywords_internal): renamed from
1268 gui_parse_item_keywords but taking error behaviour.
1269 (gui_parse_item_keywords): use it.
1270 (gui_parse_item_keywords_no_errors): ditto.
1271 (gui_item_add_keyval_pair): add Error_behavior flag and only
1272 signal invalid keywords if required.
1274 * gui.h: new gui signatures.
1276 * menubar.c (menu_parse_submenu_keywords): use new
1277 gui_item_add_keyval_pair signature.
1279 * s/cygwin32.h: modify PTY_ITERATION to eliminate warnings.
1281 1998-12-28 Martin Buchholz <martin@xemacs.org>
1283 * XEmacs 21.2.8 is released.
1285 1998-12-28 Martin Buchholz <martin@xemacs.org>
1287 * editfns.c (get_home_directory):
1288 (user-home-directory): Simplify.
1291 * callproc.c (child_setup):
1292 - Environment variables were being passed to inferior processes
1293 using internal encoding.
1294 - Convert to external encoding.
1295 - Rename local var `tem' to better name `tail'.
1296 - Use Flength instead of `manual' calculation.
1298 * buffer.c (kill-buffer):
1300 (set-buffer-major-mode):
1302 - Fix up parameter names to correspond to docstrings.
1303 - Don't use `bufname' when a buffer will do as well.
1304 - Remove one unneeded GCPRO.
1306 * buffer.h (initial_directory):
1307 * buffer.c (init_initial_directory):
1308 - use correct conversions between internal and external format.
1309 (directory_is_current_directory): new function
1310 (init_buffer): convert initial_directory to internal format.
1311 - solve crashes when current working directory is non-ASCII.
1313 * alloc.c (xmalloc):
1316 - remove stupid casts, since XEmacs requires an ANSI C system.
1317 (lrecord_type_index): replace abort() with more readable assert().
1319 (reset_lcrecord_stats): remove.
1320 (sweep_lcrecords_1):
1321 - replace call to reset_lcrecord_stats() with call to xzero().
1323 1998-12-27 Martin Buchholz <martin@xemacs.org>
1325 * process-unix.c (unix_create_process):
1326 - Fix crash invoking program with non-ASCII name.
1327 Try invoking xemacs with SHELL=/bin/sh, then M-x shell.
1328 - Remove unused variable `env'.
1329 - Rename `temp' to better name `save_errno'.
1330 - Reorganize code for clarity. But still too chicken to nuke the
1333 1998-12-24 Martin Buchholz <martin@xemacs.org>
1335 * XEmacs 21.2.7 is released.
1337 1998-12-23 Martin Buchholz <martin@xemacs.org>
1339 * glyphs.c (decode_device_ii_format):
1341 - Use GET_C_STRING_FILENAME_DATA_ALLOCA with char *, not Extbyte *.
1343 * glyphs-x.c (x_subwindow_instantiate):
1344 - A image instance mask was being assigned to a image instance type!
1345 - X_SUBWINDOW_INSTANCE_DATA (ii) is not an lvalue in C++.
1347 * glyphs-msw.c (mswindows_initialize_dibitmap_image_instance):
1349 * glyphs-x.h: Make indentation consistent.
1351 * emacs.c (Fdump_emacs): Remove Steve Martin merge artifacts.
1353 * glyphs-widget.c (check_valid_glyph): Warning suppression.
1355 - #ifdef it out, since it's not actually used yet (FIX THIS!)
1359 Move declarations of decode_device_ii_format and
1360 decode_image_instantiator_format into glyphs.h where they belong.
1362 1998-12-22 Martin Buchholz <martin@xemacs.org>
1364 * frame-x.c (x_delete_frame): Revert part of my changes at the
1365 suggestion of Gunnar Evermann - unfortunately no one really
1366 understands this code.
1368 * callproc.c (init_callproc): code cleanup.
1370 * free-hook.c (malloc):
1375 (block_input_malloc):
1376 (block_input_realloc):
1377 * device-x.c (x_delete_device):
1378 * emacs.c (voodoo_free_hook):
1379 * events.c (print_event):
1381 (CHECK_EVENT_TYPE2):
1382 (CHECK_EVENT_TYPE3):
1383 Use proper prototypes.
1384 Make C_E_T macros a little faster.
1385 Pedantic fiddly little changes. You really don't care.
1387 1998-12-22 Andy Piper <andy@xemacs.org>
1389 * redisplay-output.c (redisplay_clear_region): make sure that
1390 fg/bg colors get set even when we are in the border area.
1392 1998-12-13 Martin Buchholz <martin@xemacs.org>
1394 * console-msw.c: Function definitions follow coding standards
1395 - This prevents e.g. find-tag on Lisp_Event finding DEVENT
1397 1998-12-11 Martin Buchholz <martin@xemacs.org>
1399 * events.h (struct timeout_data):
1400 * event-tty.c (tty_timeout_to_emacs_event):
1401 * event-msw.c (mswindows_wm_timer_callback):
1402 * event-Xt.c (Xt_timeout_to_emacs_event):
1403 * event-msw.c (mswindows_cancel_dispatch_event):
1404 Make sure Lisp_Objects inside events are initialized to Qnil, not
1405 Qnull_pointer, which is now illegal.
1407 1998-12-10 Martin Buchholz <martin@xemacs.org>
1409 * lisp.h: Fix up prototypes to match alloc.c
1411 1998-12-08 Martin Buchholz <martin@xemacs.org>
1413 * windowsnt.h: Remove `support' for using index and rindex
1415 * filelock.c (current_lock_owner):
1416 - Change uses of index -> strchr, rindex -> strrchr
1418 1998-12-07 Martin Buchholz <martin@xemacs.org>
1420 * sysdep.c (set_descriptor_non_blocking):
1421 Since O_NONBLOCK is now always #defined, make use of fcntl
1422 conditional on F_SETFL being defined.
1424 * console-msw.c (DHEADgER):
1433 - max_align_t should not be visible to the user of the
1435 - use Bufbyte instead of char
1436 - parens around (FOOP (obj)) are always redundant.
1437 If they were necessary, we should fix the macro instead.
1438 - Always use string_data(foo) instead of foo->data.
1441 1998-12-06 Martin Buchholz <martin@xemacs.org>
1443 * frame-msw.c (mswindows_init_frame_1):
1444 - use make_lisp_hash_table, not Fmake_hash_table
1448 * alloc.c (make_vector): remove travesty
1452 (make_bit_vector_internal):
1454 (make_bit_vector_from_byte_vector):
1456 - make vector_equal a little faster.
1457 - Don't use variable name `new'.
1458 - Use size_t instead of EMACS_INT.
1459 - usual Martin-style pointless bit-twiddling.
1465 Make mapcar faster. In particular, make
1466 (mapc #'identity long-string)
1467 MUCH faster under Mule.
1468 * tests/automated/lisp-tests.el: Test 'em!
1470 * bytecode.c (Ffetch_bytecode): Fix crash when loading lazy-loaded
1473 1998-12-01 Martin Buchholz <martin@xemacs.org>
1475 * menubar-x.c (menu_item_descriptor_to_widget_value_1): Always use
1476 Qnil, not NULL, to initialize `null' Lisp_Objects.
1478 1998-11-29 Hrvoje Niksic <hniksic@srce.hr>
1480 * specifier.c (display_table_validate): Update.
1482 * redisplay.c (create_text_block): Use them.
1484 * glyphs.c (display_table_entry): New function.
1485 (get_display_tables): Ditto.
1487 1998-12-15 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
1489 * eldap.c (toplevel): Mention that eldap.c compiles with
1491 (Fldap_open): Use `GET_C_STRING_OS_DATA_ALLOCA'
1492 (Fldap_search_internal): Ditto
1494 1998-12-11 Martin Buchholz <martin@xemacs.org>
1496 * event-msw.c (mswindows_cancel_dispatch_event):
1497 Gratuitous code prettification
1500 1998-12-07 Hrvoje Niksic <hniksic@srce.hr>
1502 * fns.c (Fnconc): Fix use of wrong_type_argument().
1504 * floatfns.c (Ffloat): Fix docstring.
1505 (Ffloat): Fix use of wrong_type_argument().
1507 (extract_float): Ditto.
1512 1998-12-06 Martin Buchholz <martin@xemacs.org>
1514 * frame-msw.c (mswindows_init_frame_1):
1515 - use make_lisp_hash_table, not Fmake_hash_table
1519 * alloc.c (make_vector): remove travesty
1523 (make_bit_vector_internal):
1525 (make_bit_vector_from_byte_vector):
1527 - make vector_equal a little faster.
1528 - Don't use variable name `new'.
1529 - Use size_t instead of EMACS_INT.
1530 - usual Martin-style pointless bit-twiddling.
1536 Make mapcar faster. In particular, make
1537 (mapc #'identity long-string)
1538 MUCH faster under Mule.
1539 * tests/automated/lisp-tests.el: Test 'em!
1541 * bytecode.c (Ffetch_bytecode): Fix crash when loading lazy-loaded
1544 1998-12-02 Didier Verna <verna@inf.enst.fr>
1546 * menubar-x.c (menu_item_descriptor_to_widget_value_1): set the
1547 accelerator field to nil for labels.
1549 1998-12-16 Jonathan Harris <jhar@tardis.ed.ac.uk>
1551 * menubar-msw.c (displayable_menu_item):
1552 Escape occurrences of '&' and support occurrences of the
1553 '%_' accelerator indicator in menus.
1555 1998-11-26 Didier Verna <verna@inf.enst.fr>
1557 * dired.c (Fdirectory_files): use make_string instead of
1558 make_ext_string on the filename. The conversion external->internal
1559 format is already done in sys_readdir.
1561 1998-12-15 Gunnar Evermann <ge204@eng.cam.ac.uk>
1563 * glyphs.c (normalize_image_instantiator): GCPRO instantiator
1565 1998-12-16 Jonathan Harris <jhar@tardis.ed.ac.uk>
1568 (Belatedly) added Kirill to list of file's authors.
1569 emacs_mswindows_quit_p: Don't process WM_PAINT messages in
1570 quit checking. WM_PAINT messages cause redisplay, but
1571 windows' states are not necessarily stable when this function
1574 1998-12-17 Andy Piper <andy@xemacs.org>
1576 * strftime.c (zone_name): CONSTify.
1578 1998-12-15 Andy Piper <andy@xemacs.org>
1580 * glyphs-msw.c (mswindows_combo_instantiate): ditto.
1581 (mswindows_widget_property): return Qunbound when no property available.
1582 (mswindows_button_property): ditto.
1583 (mswindows_combo_property): ditto.
1584 (mswindows_widget_set_property): ditto.
1586 * glyphs-widget.c (check_valid_item_list): use properties.
1588 * glyphs.h (struct Lisp_Image_Instance): we have properties now.
1590 * glyphs.c (Fset_image_instance_property): allow setting of arbitrary properties.
1591 (Fimage_instance_property): ditto.
1592 * glyphs-widget.c (widget_property): ditto.
1593 (widget_set_property): ditto.
1595 * frame-msw.c (mswindows_set_frame_pointer): SetCursor() as well
1596 as setting the class cursor so that GC actually changes the
1599 * config.h: don't undef MAIL_USE_POP.
1601 1998-12-13 Andy Piper <andy@xemacs.org>
1604 (image_instantiator_format_create_glyphs_mswindows): line ->
1606 (mswindows_label_instantiate): ditto. Play with window flags.
1607 (image_instantiator_format_create_glyphs_mswindows): ditto.
1608 (vars_of_glyphs_mswindows): provide Qlabel as we support it now.
1610 * glyphs-widget.c (widget_instantiate_1): re-jig autosizing to
1611 cope with lines and labels.
1612 (static_instantiate): use widget_instantiate_1.
1614 (image_instantiator_format_create_glyphs_widget): ditto.
1616 1998-12-10 Andy Piper <andy@xemacs.org>
1618 * Makefile.in.in (objs): add gui.o
1620 1998-12-10 Andy Piper <andy@xemacs.org>
1622 * gui.c: adjust defines of HAVE_POPUPS so that we can build with
1625 1998-12-09 Andy Piper <andy@xemacs.org>
1627 * glyphs.c (finalize_image_instance): mark glyphs changed when an
1628 image instance is removed so that the subwindow cache gets reset
1629 and thus destroyed images get GC'd.
1631 1998-12-08 Andy Piper <andy@xemacs.org>
1633 * gui-msw.c (mswindows_handle_gui_wm_command): call
1634 MARK_SUBWINDOWS_CHANGED.
1636 * glyphs-msw.c (mswindows_finalize_image_instance): make sure
1637 subwindows really get deleted.
1639 * redisplay.c: new variable subwindows_changed[_set].
1640 (redisplay_window): use it.
1641 (redisplay_frame): ditto.
1642 (redisplay_device): ditto.
1643 (redisplay_without_hooks): ditto.
1645 * device.h (MARK_DEVICE_SUBWINDOWS_CHANGED): new macro for
1646 subwindows redisplay as per glyphs equivalent.
1647 * redisplay.h: ditto.
1648 (MARK_SUBWINDOWS_CHANGED): ditto.
1649 (RESET_CHANGED_SET_FLAGS): ditto.
1650 * frame.h (MARK_FRAME_SUBWINDOWS_CHANGED): ditto.
1652 1998-12-07 Andy Piper <andy@xemacs.org>
1654 * frame.c (Fmake_frame): reset subwindow cachels on non-stream
1657 * redisplay.c (redisplay_frame): invalidate subwindow cachels.
1659 * event-msw.c (mswindows_wnd_proc): catch the various WM_CTLCOLOR*
1660 messages and paint widget glyphs as appropriate with their face fg
1663 1998-12-06 Andy Piper <andy@xemacs.org>
1665 * glyphs-msw.c (vars_of_glyphs_mswindows): provide widget types
1666 here rather than in glyphs-widget - do this because we only want
1667 to provide what is really available.
1669 * glyphs.c (Fimage_instance_property): new function to get the
1670 properties of image instances. wires through to console specific
1671 methods and then to widget specific methods.
1672 (Fset_image_instance_property): ditto but for setting widget properties.
1673 (check_valid_face): make extern so that it can be used elsewhere.
1675 * glyphs-widget.c (widget_property): new function. gets the
1676 properties of widgets in general and wires the function through to
1677 widget specific ones.
1678 (widget_set_property): ditto but for setting widget properties.
1680 * glyphs-msw.c (mswindows_combo_instantiate): Add functionality to
1681 add items to the list. Play with window styles a bit to get the
1683 (mswindows_widget_property): break out specific widget properties.
1684 (mswindows_button_property): new function. gets the checked state
1686 (mswindows_combo_property): new function. gets the current
1687 selection in the combo box.
1688 (mswindows_widget_set_property): new function. sets specific
1689 properties of specific widgets.
1691 * glyphs-widget.c (check_valid_item_list): new function. check
1692 that items for a combo-box are just a list of strings.
1693 (combo_validate): new function. check there is an item list.
1694 (widget_instantiate_1): new function. renamed from
1695 widget_instantiate so that we can do slightly different things for
1697 (widget_instantiate): call widget_instantiate_1.
1698 (combo_instantiate): new function to instantiate combo boxes,
1699 defaults height to the pixel height of the number of items in the
1701 (syms_of_glyphs_widget): move widget keywords here.
1702 (image_instantiator_format_create_glyphs_widget): use new combo
1705 1998-12-04 Andy Piper <andy@xemacs.org>
1707 * event-msw.c (mswindows_wnd_proc): mule-ize.
1709 * glyphs.c (pixmap_to_lisp_data): mule-ize.
1711 * glyphs-msw.c (extract_xpm_color_names): mule-ize.
1712 (resource_name_to_resource): ditto.
1713 (mswindows_resource_instantiate): ditto.
1714 (mswindows_widget_instantiate): ditto.
1715 (mswindows_widget_set_property): ditto.
1717 * redisplay-output.c (redisplay_output_subwindow): don't show
1718 subwindows if they are obscured at the edge of the frame, emacs
1719 gets into some sort of redisplay loop otherwise.
1721 * gui.h: prototype gui_item_selected_p.
1723 * gui.c (gui_item_selected_p): new function to determine the
1724 selected state of a gui_item.
1726 * frame.h (struct frame): add subwindows_changed flag.
1728 * redisplay.c (redisplay_frame): call update_frame_subwindows ().
1730 * glyphs.c (update_subwindow): new function to update a
1732 (update_frame_subwindows): new function to update all the
1733 subwindows on a frame.
1735 * console.h (struct console_methods): add update_subwindow.
1737 * glyphs-msw.c (mswindows_widget_property): return selected state
1738 for selected property.
1739 (mswindows_update_subwindow): new function. updates widget glyphs
1740 in redisplay as per menubars or toolbars e.g. selected state.
1741 (console_type_create_glyphs_mswindows): add update_subwindow.
1743 1998-12-03 Andy Piper <andy@xemacs.org>
1745 * console-tty.c (syms_of_console_tty): MULE -> FILE_CODING since
1746 tty coding system things are such.
1748 * glyphs-widget.c (widget_face_font_info): new function for
1749 pulling out height and width metrics for a widget's face.
1750 (widget_text_to_pixel_conversion): calculate pixel sizes of text
1753 * event-msw.c (mswindows_drain_windows_queue): translate messages
1754 that are destined for subwindows. This makes edit fields interact
1755 with the keyboard correctly.
1756 nuke warnings by #ifndef'ing out stuff not required by msg select().
1758 * glyphs.h (INITIALIZE_IMAGE_INSTANTIATOR_FORMAT_NO_SYM): new
1759 macro defining the iiforma without the symbol required by widget.
1760 (INITIALIZE_IMAGE_INSTANTIATOR_FORMAT): use it.
1762 * general.c (syms_of_general): add Qwidget, Qselected.
1764 * faces.c (complex_vars_of_faces): add widget face inheriting from
1767 1998-11-09 Andy Piper <andy@xemacs.org>
1769 * window.h (struct window): add a cache of subwindows on a
1772 * window.c (mark_window): mark the subwindow_instance_cache.
1773 (allocate_window): initialise the subwindow instance_cache.
1775 * toolbar-x.c (x_output_toolbar): call redisplay_clear_region
1776 instead of the devmeth.
1777 (x_clear_toolbar): ditto.
1779 * redisplay-x.c (x_output_display_block): call
1780 redisplay_output_subwindow for subwindows and widgets.
1782 * redisplay-tty.c (tty_output_display_block): add IMAGE_WIDGET to
1783 types to do nothing for.
1785 * lisp.h: declare new widget/subwindow symbols.
1787 * glyphs.c (image_instantiate): cache subwindows on a per-window
1789 (subwindow_possible_dest_types): new function for subwindow dest
1791 (subwindow_instantiate): generic instantiation of a
1792 subwindow. specialised by device multi-methods.
1793 (Fsubwindowp): moved from glyphs-x.c. adapted for glyph-based
1795 (Fimage_instance_subwindow_id): ditto.
1796 (Fresize_subwindow): ditto.
1797 (Fforce_subwindow_map): ditto.
1799 * glyphs-x.c (x_print_image_instance): remove subwindow
1800 stuff. Handled genrically in glyphs.c.
1801 (x_image_instance_equal): ditto.
1802 (x_image_instance_hash): ditto.
1803 (x_finalize_image_instance): delete subwindows when required.
1804 (mark_subwindow) (print_subwindow) (finalize_subwindow)
1805 (subwindow_hash) (Fmake_subwindow): deleted because of new,
1806 glyph-based, subwindow implementation.
1807 (Fsubwindow_height) (Fsubwindow_width) (Fsubwindow_xid): aliased
1809 (Fsubwindowp) (Fresize_subwindow) (Fforce_subwindow_map): moved to
1811 (x_unmap_subwindow): new function to unmap X subwindows.
1812 (x_map_subwindow): new function to map X subwindows.
1813 (x_subwindow_instantiate): new function to instantiate X
1815 (x_resize_subwindow): new function to resize X subwindows.
1816 (console_type_create_glyphs_x): add subwindow functions.
1817 (image_instantiator_format_create_glyphs_x): add device
1818 multi-methods for xpm, xbm and subwindow.
1820 * glyphs.el (subwindow-xid): old alias for new subwindow functions.
1821 (subwindow-width): ditto.
1822 (subwindow-height): ditto.
1824 * glyphs-msw.c (mswindows_widget_instantiate): new function for
1825 generally instantiating ms subwindows. Used by
1826 mswindows_*_instantiate.
1827 (mswindows_edit_instantiate): instantiate an edit field on a
1830 1998-11-04 Andy Piper <andy@xemacs.org>
1832 * symsinit.h: declare new functions.
1834 * redisplay.h: declare new functions.
1836 * redisplay-x.c (x_output_display_block): call
1837 redisplay_clear_region rather than x_clear_region.
1838 (x_output_string): ditto.
1839 (x_output_pixmap): ditto.
1840 (x_clear_to_window_end): ditto.
1841 (x_output_eol_cursor): ditto.
1842 (x_clear_region): only do X specific things. other duties handled
1843 in redisplay_clear_region.
1845 * redisplay-tty.c (tty_clear_region): do tty specific things - some
1846 duties moved to redisplay_clear_region.
1848 * redisplay-output.c (clear_left_border): use
1849 redisplay_clear_region instead of device method.
1850 (clear_right_border): ditto.
1851 (output_display_line): ditto.
1852 (redisplay_output_subwindow): ditto.
1853 (redisplay_clear_top_of_window): ditto.
1854 (redisplay_clear_region): perform duties previously handled by
1855 device methods. call the appropriate device method at the
1856 end. unmap subwindows if necessary.
1858 * redisplay-msw.c (mswindows_output_string): use
1859 redisplay_clear_region instead of mswindows_clear_region.
1860 (mswindows_clear_to_window_end): ditto.
1861 (mswindows_output_display_block): output subwindows when required.
1862 (mswindows_clear_region): only do mswindows specific things,
1863 everything else is now handled in redisplay_clear_region.
1865 * gui.h: add item id hash defines and declare function prototypes.
1867 * gui.c (mark_gui_item): new function for marking gui_items.
1868 (gui_item_hash): generic hash function for generating command ids
1871 * gui-msw.c: new file.
1872 (mswindows_handle_gui_wm_command): new function to handle widget
1875 * glyphs.h (MAYBE_IIFORMAT_DEVMETH): new function for device
1877 (IIFORMAT_HAS_SHARED_METHOD): ditto.
1878 (DEFINE_DEVICE_IIFORMAT): ditto.
1879 (INITIALIZE_DEVICE_IIFORMAT): ditto.
1880 (struct Lisp_Image_Instance): add widget and subwindow data plus
1881 appropriate access functions.
1883 * glyphs.c (decode_device_ii_format): new function for decoding
1884 image instantiator functions based on a device type as well as an
1886 (decode_image_instantiator_format): just call
1887 decode_device_ii_format with nil device.
1888 (add_entry_to_device_ii_format_list): new function for per device
1890 (add_entry_to_image_instantiator_format_list): just call
1891 add_entry_to_device_ii_format_list with nil device.
1892 (check_valid_vector): new function.
1893 (instantiate_image_instantiator): instantiate using per-format
1894 method and then per-format-per-device method (device
1895 multi-methods). signal an error if neither is possible.
1896 (mark_image_instance): cope with subwindows and widgets.
1897 (print_image_instance): ditto.
1898 (image_instance_equal): ditto.
1899 (image_instance_hash): ditto.
1900 (allocate_glyph): ditto.
1901 (glyph_width): ditto.
1902 (glyph_height_internal): ditto.
1903 (xpm_instantiate): removed because of device multi-methods.
1904 (mark_subwindow_cachels): new cachel functions for caching
1905 instantiated subwindows on a per-frame basis. mostly copied from
1906 glyph cachel functions.
1907 (update_subwindow_cachel_data): ditto.
1908 (add_subwindow_cachel): ditto.
1909 (get_subwindow_cachel_index): ditto.
1910 (reset_subwindow_cachels): ditto.
1911 (mark_subwindow_cachels_as_not_updated): ditto.
1912 (unmap_subwindow): generic unmapping of subwindows based on cachel
1914 (map_subwindow): ditto.
1915 (initialize_subwindow_image_instance): generic initialisation of
1917 (syms_of_glyphs): add widget keywords.
1919 * glyphs-x.h (struct x_subwindow_data): convert Lisp_Subwindow to
1922 1998-11-04 Andy Piper <andy@xemacs.org>
1924 * glyphs-widget.c: new file for instantiating widget type glyphs.
1925 (widget_possible_dest_types): new general dest type function for
1927 (widget_validate): ditto.
1928 (initialize_widget_image_instance): ditto
1929 (widget_instantiate): ditto. Sets up fg/bg, gui_item parsing
1930 before handing on control to device multi-methods.
1931 (syms_of_glyphs_widget): new function.
1932 (image_instantiator_format_create_glyphs_widget): new function,
1933 added placeholders for button, edit, combo, scrollbar
1934 (vars_of_glyphs_widget): new function.
1936 * glyphs-msw.h (WIDGET_INSTANCE_MSWINDOWS_HANDLE): new define for
1937 storing window ids of widgets.
1939 * glyphs-msw.c (mswindows_finalize_image_instance): cope with
1940 deletion of widget and subwindow glyphs.
1941 (mswindows_unmap_subwindow): new device function for unmapping
1942 subwindows on a msw frame.
1943 (mswindows_map_subwindow): ditto.
1944 (mswindows_register_image_instance): register instantiated widgets
1945 with the widget hastable.
1946 (mswindows_button_instantiate): instantiate a button type widget
1948 (mswindows_subwindow_instantiate): instanttiate a subwindow on a
1950 (image_instantiator_format_create_glyphs_mswindows): add device
1951 multi-methods for xbm, xpm, subwindow, edit and button.
1953 * frame.h (struct frame): add subwindow_cachels dynarr for caching
1954 information about subwindows visible on the current frame. used by
1955 redisplay_clear_region to unmap subwindows as required.
1957 * frame.c (mark_frame): mark subwindow_cachels.
1958 (allocate_frame_core): instantiate subwindow_cachels.
1960 * frame-msw.c (mswindows_init_frame_1): instntiate and mark the
1963 * event-msw.c (mswindows_wnd_proc): add call to
1964 mswindows_handle_gui_wm_command to handle widget callbacks.
1966 * emacs.c (main_1): add calls to glyphs-widget initialisation
1969 * console.h (struct console_methods): add
1970 unmap/map_subwindow_method for use be redisplay_clear_region to
1971 map and unmap subwindows. Remove xpm and xbm stuff - now dealt
1972 with by image instantiator multi-methods. Add
1973 resize_subwindow_method.
1975 * console-stream.c (stream_clear_region): change signature to
1976 match new generic clear region function.
1978 * Makefile.in.in: add glyphs-widget.o to list of objects.
1980 * console-msw.h (struct mswindows_frame): add widget hashtable for
1981 wiring command ids to callbacks.
1983 1998-12-16 Andy Piper <andy@xemacs.org>
1985 * XEmacs 21.2.6 is released
1987 1998-12-08 Hrvoje Niksic <hniksic@srce.hr>
1989 * md5.c (Fmd5): Correctly initiate string input stream.
1991 * Makefile.in.in (tests): Add md5-tests.el.
1993 1998-12-06 Martin Buchholz <martin@xemacs.org>
1996 * alloc.c (make_vector): remove travesty
2000 (make_bit_vector_internal):
2002 (make_bit_vector_from_byte_vector):
2004 - make vector_equal a little faster.
2005 - Don't use variable name `new'.
2006 - Use size_t instead of EMACS_INT.
2007 - usual Martin-style pointless bit-twiddling.
2013 Make mapcar faster. In particular, make
2014 (mapc #'identity long-string)
2015 MUCH faster under Mule.
2016 * tests/automated/lisp-tests.el: Test 'em!
2018 1998-12-06 Martin Buchholz <martin@xemacs.org>
2020 * bytecode.c (Ffetch_bytecode): Fix crash when loading lazy-loaded
2023 1998-12-13 Martin Buchholz <martin@xemacs.org>
2025 * console-msw.c: Function definitions follow coding standards
2026 - This prevents e.g. find-tag on Lisp_Event finding DEVENT
2028 1998-12-11 Martin Buchholz <martin@xemacs.org>
2030 * events.h (struct timeout_data):
2031 * event-tty.c (tty_timeout_to_emacs_event):
2032 * event-msw.c (mswindows_wm_timer_callback):
2033 * event-Xt.c (Xt_timeout_to_emacs_event):
2034 * event-msw.c (mswindows_cancel_dispatch_event):
2035 Make sure Lisp_Objects inside events are initialized to Qnil, not
2036 Qnull_pointer, which is now illegal.
2038 1998-12-10 Martin Buchholz <martin@xemacs.org>
2040 * lisp.h: Fix up prototypes to match alloc.c
2042 1998-12-09 Andy Piper <andy@xemacs.org>
2044 * glyphs-msw.c (init_image_instance_from_xbm_inline): don't use
2045 XSETINT for assigning lisp objects.
2047 1998-12-07 Martin Buchholz <martin@xemacs.org>
2050 * console-msw.c (DHEADER):
2059 - max_align_t should not be visible to the user of the
2061 - use Bufbyte instead of char
2062 - parens around (FOOP (obj)) are always redundant.
2063 If they were necessary, we should fix the macro instead.
2064 - Always use string_data(foo) instead of foo->data.
2066 1998-12-07 Martin Buchholz <martin@xemacs.org>
2068 * sysdep.c (set_descriptor_non_blocking):
2069 Since O_NONBLOCK is now always #defined, make use of fcntl
2070 conditional on F_SETFL being defined.
2072 1998-12-09 Andy Piper <andy@xemacs.org>
2074 * menubar-msw.c (mswindows_handle_wm_command): add back in checks
2075 that got removed in the merge
2077 1998-11-30 Greg Klanderman <greg@alphatech.com>
2079 * dired.c (vars_of_dired): bugfix for previous conditionalization
2080 of user-name-completion on non- Windows NT.
2082 1998-12-08 Martin Buchholz <martin@xemacs.org>
2084 * windowsnt.h: Remove `support' for using index and rindex
2086 * filelock.c (current_lock_owner):
2087 - Change uses of index -> strchr, rindex -> strrchr
2089 1998-12-06 Martin Buchholz <martin@xemacs.org>
2091 * frame-msw.c (mswindows_init_frame_1):
2092 - use make_lisp_hash_table, not Fmake_hash_table
2095 1998-12-05 XEmacs Build Bot <builds@cvs.xemacs.org>
2097 * XEmacs 21.2.5 is released
2099 1998-11-30 Martin Buchholz <martin@xemacs.org>
2101 * xselect.c (receive_incremental_selection):
2102 * xselect.c (x_get_window_property):
2103 * xmu.c (XmuReadBitmapDataFromFile):
2104 * xmu.c (XmuCursorNameToIndex):
2105 * xgccache.c (describe_gc_cache):
2106 * xgccache.c (gc_cache_lookup):
2107 * xgccache.c (free_gc_cache):
2108 * xgccache.c (make_gc_cache):
2110 * window.c (map_windows_1):
2111 * window.c (Fother_window_for_scrolling):
2112 * window.c (window_scroll):
2113 * window.c (change_window_height):
2114 * window.c (Fsplit_window):
2115 * window.c (window_left_gutter_width):
2116 * window.c (window_modeline_height):
2117 * window.c (invalidate_vertical_divider_cache_in_window):
2118 * window.c (window_needs_vertical_divider_1):
2119 * window.c (update_mirror_internal):
2120 * window.c (SET_LAST_FACECHANGE):
2121 * widget.c (Fwidget_plist_member):
2122 * unexec.c (copy_text_and_data):
2123 * unexcw.c (copy_executable_and_dump_data_section):
2125 * tooltalk.c (struct Lisp_Tooltalk_Pattern):
2126 * tooltalk.c (struct Lisp_Tooltalk_Message):
2127 * toolbar.h (struct toolbar_button):
2128 * toolbar.c (default_toolbar_visible_p_changed_in_window):
2129 * toolbar.c (recompute_overlaying_specifier):
2130 * toolbar.c (toolbar_validate):
2131 * toolbar.c (toolbar_button_at_pixpos):
2132 * toolbar.c (get_toolbar_coords):
2133 * toolbar.c (update_frame_toolbars):
2135 * toolbar-msw.c (mswindows_handle_toolbar_wm_command):
2136 * toolbar-msw.c (mswindows_find_toolbar_pos):
2137 * toolbar-msw.c (mswindows_output_toolbar):
2138 * toolbar-msw.c (mswindows_clear_toolbar):
2147 * sysdep.c (sys_fopen):
2148 * sysdep.c (sys_open):
2149 * sysdep.c (tty_init_sys_modes_on_device):
2150 * sysdep.c (get_eof_char):
2151 * sysdep.c (child_setup_tty):
2152 * sysdep.c (set_descriptor_non_blocking):
2154 * syntax.c (scan_words):
2157 * symeval.h (struct symbol_value_varalias):
2158 * symeval.h (struct symbol_value_forward):
2159 * symbols.c (syms_of_symbols):
2160 * symbols.c (init_symbols_once_early):
2161 * symbols.c (Fbuilt_in_variable_type):
2162 * symbols.c (Fsymbol_value_in_buffer):
2163 * symbols.c (default_value):
2165 * symbols.c (find_symbol_value_quickly):
2166 * symbols.c (store_symval_forwarding):
2167 * symbols.c (set_default_console_slot_variable):
2168 * symbols.c (set_default_buffer_slot_variable):
2169 * symbols.c (verify_ok_for_buffer_local):
2170 * symbols.c (symbol_is_constant):
2171 * symbols.c (oblookup):
2172 * symbols.c (Funintern):
2173 * symbols.c (Fintern):
2174 * symbols.c (check_obarray):
2176 * specifier.h (struct specifier_methods):
2178 * specifier.c (specifier_instance):
2179 * specifier.c (specifier_instance_from_inst_list):
2180 * specifier.c (decode_locale_type):
2181 * specifier.c (specifier_equal):
2182 * specifier.c (finalize_specifier):
2183 * specifier.c (prune_specifiers):
2184 * specifier.c (kill_specifier_buffer_locals):
2185 * sound.c (init_native_sound):
2188 * search.c (Fmatch_data):
2189 * search.c (match_limit):
2190 * search.c (Freplace_match):
2191 * search.c (skip_chars):
2192 * search.c (scan_buffer):
2194 * scrollbar.c (specifier_vars_of_scrollbar):
2195 * scrollbar.c (Fscrollbar_set_hscroll):
2196 * scrollbar.c (vertical_scrollbar_changed_in_window):
2197 * scrollbar.c (release_window_mirror_scrollbars):
2198 * scrollbar.c (free_scrollbar_instance):
2201 * s/msdos.h (O_BINARY):
2203 * s/freebsd.h (LIBS_TERMCAP):
2204 * regex.c (re_match_2_internal):
2205 * regex.c (compile_extended_range):
2206 * regex.c (POP_FAILURE_POINT):
2207 * regex.c (PUSH_FAILURE_POINT):
2208 * redisplay.h (RESET_CHANGED_SET_FLAGS):
2210 * redisplay.h (struct display_line):
2211 * redisplay.h (struct rune):
2212 * redisplay.c (vars_of_redisplay):
2213 * redisplay.c (redisplay_variable_changed):
2214 * redisplay.c (UPDATE_CACHE_RETURN):
2215 * redisplay.c (validate_line_start_cache):
2216 * redisplay.c (mark_redisplay_structs):
2217 * redisplay.c (mark_glyph_block_dynarr):
2218 * redisplay.c (window_line_number):
2219 * redisplay.c (redisplay_frame):
2220 * redisplay.c (redisplay_window):
2221 * redisplay.c (generate_modeline):
2222 * redisplay.c (create_right_glyph_block):
2223 * redisplay.c (create_left_glyph_block):
2224 * redisplay.c (create_text_block):
2226 * redisplay-x.c (x_output_hline):
2227 * redisplay-x.c (x_output_vertical_divider):
2228 * redisplay-tty.c (tty_output_display_block):
2229 * redisplay-output.c (output_display_line):
2230 * redisplay-output.c:
2231 * redisplay-msw.c (mswindows_output_vertical_divider):
2232 * redisplay-msw.c (mswindows_ring_bell):
2233 * redisplay-msw.c (mswindows_output_cursor):
2237 * puresize.h (RAW_PURESIZE):
2238 * profile.c (syms_of_profile):
2239 * profile.c (Fstart_profiling):
2240 * profile.c (sigprof_handler):
2243 * process.c (vars_of_process):
2244 * process.c (read_process_output):
2245 * process.c (get_process):
2247 * process-unix.c (unix_open_multicast_group):
2248 * process-unix.c (unix_get_tty_name):
2249 * process-unix.c (unix_send_process):
2250 * process-unix.c (unix_reap_exited_processes):
2251 * process-unix.c (unix_create_process):
2252 * process-unix.c (unix_init_process_io_handles):
2253 * process-unix.c (allocate_pty):
2255 * process-nt.c (nt_open_network_stream):
2256 * process-nt.c (nt_update_status_if_terminated):
2257 * process-nt.c (nt_finalize_process_data):
2259 * print.c (debug_short_backtrace):
2260 * print.c (debug_backtrace):
2261 * print.c (print_symbol):
2262 * print.c (print_internal):
2263 * print.c (print_cons):
2264 * print.c (Fwrite_char):
2265 * print.c (print_prepare):
2266 * print.c (canonicalize_printcharfun):
2267 * print.c (output_string):
2270 * opaque.c (allocate_managed_opaque):
2272 * offix.c (DndSetData):
2273 * objects.c (face_boolean_create):
2274 * objects.c (font_instantiate):
2275 * objects.c (font_create):
2276 * objects.c (color_create):
2277 * objects.c (finalize_font_instance):
2278 * objects.c (finalize_color_instance):
2280 * objects-x.c (x_font_instance_truename):
2282 * objects-x.c (x_initialize_font_instance):
2283 * objects-x.c (allocate_nearest_color):
2284 * objects-tty.c (tty_initialize_font_instance):
2285 * objects-tty.c (tty_initialize_color_instance):
2286 * objects-msw.c (mswindows_initialize_color_instance):
2287 * ntproc.c (syms_of_ntproc):
2288 * ntproc.c (Fwin32_set_process_priority):
2289 * ntproc.c (sys_spawnve):
2291 * ntheap.c (get_data_end):
2295 * nt.c (generate_inode_val):
2296 * nt.c (sys_rename):
2298 * mule-wnnfns.c (Fwnn_hinsi_number):
2299 * mule-wnnfns.c (Fwnn_yuragi):
2300 * mule-wnnfns.c (Fwnn_common_learn):
2301 * mule-wnnfns.c (Fwnn_suffix_learn):
2302 * mule-wnnfns.c (Fwnn_prefix_learn):
2303 * mule-wnnfns.c (Fwnn_okuri_learn):
2304 * mule-wnnfns.c (Fwnn_complex_conv):
2305 * mule-wnnfns.c (Fwnn_last_is_first):
2306 * mule-wnnfns.c (Fwnn_bmodify_dict_add):
2307 * mule-wnnfns.c (Fwnn_notrans_dict_add):
2308 * mule-wnnfns.c (Fwnn_fiusr_dict_add):
2309 * mule-wnnfns.c (Fwnn_fisys_dict_add):
2310 * mule-wnnfns.c (Fwnn_hinsi_list):
2311 * mule-wnnfns.c (Fwnn_fuzokugo_set):
2312 * mule-wnnfns.c (Fwnn_dict_search):
2313 * mule-wnnfns.c (Fwnn_word_toroku):
2314 * mule-wnnfns.c (Fwnn_hindo_update):
2315 * mule-wnnfns.c (Fwnn_bunsetu_henkou):
2316 * mule-wnnfns.c (Fwnn_kakutei):
2317 * mule-wnnfns.c (Fwnn_begin_henkan):
2318 * mule-wnnfns.c (Fwnn_dict_comment):
2319 * mule-wnnfns.c (Fwnn_dict_add):
2320 * mule-wnnfns.c (Fwnn_open):
2321 * mule-mcpath.c (mc_getcwd):
2322 * mule-coding.c (vars_of_mule_coding):
2323 * mule-coding.c (convert_to_external_format):
2324 * mule-coding.c (encoding_marker):
2325 * mule-coding.c (decoding_marker):
2326 * mule-coding.c (Fcopy_coding_system):
2327 * mule-coding.c (Fmake_coding_system):
2328 * mule-coding.c (Fcoding_system_list):
2329 * mule-coding.c (Ffind_coding_system):
2330 * mule-coding.c (symbol_to_eol_type):
2332 * mule-charset.c (complex_vars_of_mule_charset):
2333 * mule-charset.c (vars_of_mule_charset):
2334 * mule-charset.c (Fset_charset_ccl_program):
2335 * mule-charset.c (struct charset_list_closure):
2336 * mule-charset.c (Ffind_charset):
2337 * mule-charset.c (make_charset):
2338 * mule-charset.c (non_ascii_valid_char_p):
2340 * mule-ccl.c (ccl_driver):
2341 * mule-canna.c (c2mu):
2342 * mule-canna.c (Fcanna_henkan_begin):
2343 * mule-canna.c (Fcanna_parse):
2344 * mule-canna.c (Fcanna_store_yomi):
2345 * mule-canna.c (Fcanna_touroku_string):
2346 * mule-canna.c (Fcanna_initialize):
2348 * menubar.c (menu_parse_submenu_keywords):
2349 * menubar-x.c (make_dummy_xbutton_event):
2350 * menubar-x.c (set_frame_menubar):
2351 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
2354 * menubar-msw.c (mswindows_popup_menu):
2355 * menubar-msw.c (mswindows_update_frame_menubars):
2356 * menubar-msw.c (mswindows_handle_wm_command):
2357 * menubar-msw.c (unsafe_handle_wm_initmenu_1):
2358 * menubar-msw.c (unsafe_handle_wm_initmenupopup_1):
2359 * menubar-msw.c (update_frame_menubar_maybe):
2360 * menubar-msw.c (populate_or_checksum_helper):
2361 * menubar-msw.c (empty_menu):
2364 * marker.c (set_marker_internal):
2365 * marker.c (print_marker):
2368 * lstream.c (lisp_buffer_rewinder):
2369 * lstream.c (mark_lstream):
2371 * lrecord.h (struct lrecord_header):
2372 * lread.c (readevalloop):
2373 * lread.c (locate_file):
2374 * lread.c (locate_file_in_directory):
2375 * lread.c (Flocate_file):
2376 * lread.c (load_force_doc_string_unwind):
2377 * lread.c (ebolify_bytecode_constants):
2382 * linuxplay.c (linux_play_data_or_file):
2383 * linuxplay.c (audio_init):
2386 * keymap.c (describe_map):
2387 * keymap.c (describe_map_mapper):
2388 * keymap.c (Fdescribe_bindings_internal):
2389 * keymap.c (Fsingle_key_description):
2390 * keymap.c (map_keymap_sorted):
2391 * keymap.c (get_relevant_keymaps):
2392 * keymap.c (Flookup_key):
2393 * keymap.c (raw_lookup_key_mapper):
2394 * keymap.c (Fdefine_key):
2395 * keymap.c (Fevent_matches_key_specifier_p):
2396 * keymap.c (key_desc_list_to_event):
2397 * keymap.c (define_key_parser):
2398 * keymap.c (define_key_check_and_coerce_keysym):
2399 * keymap.c (keymap_submaps):
2400 * keymap.c (keymap_store_internal):
2401 * keymap.c (keymap_delete_inverse_internal):
2402 * keymap.c (keymap_store_inverse_internal):
2403 * keymap.c (print_keymap):
2404 * keymap.c (Lisp_Keymap):
2407 * insdel.c (convert_bufbyte_string_into_emchar_dynarr):
2408 * insdel.c (make_gap):
2409 * input-method-xlib.c (get_XIM_input):
2410 * input-method-xlib.c (XIM_init_frame):
2415 * gui-x.c (button_item_to_widget_value):
2416 * gui-x.c (popup_selection_callback):
2417 * glyphs.h (struct image_instantiator_methods):
2418 * glyphs.c (mark_glyph_cachels):
2419 * glyphs.c (Fglyph_type):
2420 * glyphs.c (image_instantiate):
2421 * glyphs.c (image_create):
2422 * glyphs.c (make_image_instance_1):
2423 * glyphs.c (finalize_image_instance):
2425 * glyphs-x.c (finalize_subwindow):
2426 * glyphs-x.c (xface_validate):
2427 * glyphs-x.c (x_locate_pixmap_file):
2428 * glyphs-x.c (convert_EImage_to_XImage):
2430 * glyphs-msw.c (mswindows_resource_instantiate):
2431 * glyphs-msw.c (xpm_to_eimage):
2432 * glyphs-msw.c (convert_EImage_to_DIBitmap):
2433 * glyphs-eimage.c (tiff_instantiate):
2434 * glyphs-eimage.c (png_instantiate):
2435 * glyphs-eimage.c (struct png_error_struct):
2436 * glyphs-eimage.c (gif_memory_storage):
2439 * getloadavg.c (getloadavg):
2442 * free-hook.c (log_gcpro):
2443 * free-hook.c (check_malloc):
2444 * free-hook.c (check_free):
2445 * free-hook.c (ROUND_UP_TO_PAGE):
2447 * frame.h (struct frame):
2449 * frame.c (change_frame_size_1):
2450 * frame.c (allocate_frame_core):
2452 * frame-x.c (x_focus_on_frame):
2453 * frame-x.c (x_init_frame_2):
2454 * frame-x.c (x_popup_frame):
2455 * frame-x.c (xemacs_XtPopup):
2457 * frame-x.c (Foffix_start_drag_internal):
2458 * frame-x.c (x_cde_destroy_callback):
2459 * frame-x.c (x_wm_hack_wm_protocols):
2460 * frame-tty.c (tty_frame_visible_p):
2461 * frame-msw.c (mswindows_make_frame_invisible):
2462 * frame-msw.c (mswindows_after_init_frame):
2463 * frame-msw.c (mswindows_init_frame_1):
2464 * fns.c (syms_of_fns):
2465 * fns.c (Fbase64_decode_string):
2467 * fns.c (Ffillarray):
2468 * fns.c (Fobject_plist):
2470 * fns.c (Fcanonicalize_lax_plist):
2471 * fns.c (Fcanonicalize_plist):
2472 * fns.c (Fplist_remprop):
2473 * fns.c (Fplist_get):
2474 * fns.c (advance_plist_pointers):
2475 * fns.c (internal_plist_put):
2476 * fns.c (Fnreverse):
2479 * fns.c (Fsubstring):
2480 * fns.c (Fbvconcat):
2482 * fns.c (length_with_bytecode_hack):
2483 * fns.c (print_bit_vector):
2485 * floatfns.c (Ffloor):
2487 * floatfns.c (in_float_error):
2488 * fileio.c (Ffile_modes):
2489 * fileio.c (Fexpand_file_name):
2490 * fileio.c (Fmake_temp_name):
2491 * fileio.c (Ffile_name_nondirectory):
2492 * fileio.c (Ffile_name_directory):
2494 * file-coding.c (vars_of_mule_coding):
2495 * file-coding.c (convert_to_external_format):
2496 * file-coding.c (encoding_marker):
2497 * file-coding.c (decoding_marker):
2498 * file-coding.c (Fcopy_coding_system):
2499 * file-coding.c (Fmake_coding_system):
2500 * file-coding.c (struct coding_system_list_closure):
2501 * file-coding.c (Ffind_coding_system):
2502 * file-coding.c (symbol_to_eol_type):
2504 * faces.h (struct face_cachel):
2505 * faces.c (vars_of_faces):
2506 * faces.c (face_property_was_changed):
2507 * faces.c (mark_face_cachels):
2508 * faces.c (temporary_faces_list):
2509 * faces.c (struct face_list_closure):
2511 * extents.h (struct extent):
2512 * extents.c (vars_of_extents):
2513 * extents.c (struct copy_string_extents_1_arg):
2514 * extents.c (add_string_extents_mapper):
2515 * extents.c (Fextent_property):
2516 * extents.c (Fset_extent_property):
2517 * extents.c (symbol_to_glyph_layout):
2518 * extents.c (properties_equal):
2519 * extents.c (print_extent):
2520 * extents.c (print_extent_1):
2521 * extents.c (extent_in_region_p):
2522 * extents.c (gap_array_make_gap):
2524 * events.h (struct Lisp_Event):
2526 * events.c (Fevent_properties):
2527 * events.c (format_event_object):
2528 * events.c (Fmake_event):
2529 * events.c (event_equal):
2530 * events.c (print_event):
2531 * events.c (mark_event):
2532 * event-stream.c ((read-char)
2533 * event-stream.c (vars_of_event_stream):
2534 * event-stream.c (syms_of_event_stream):
2535 * event-stream.c (Fset_recent_keys_ring_size):
2536 * event-stream.c (Fsit_for):
2537 * event-stream.c (Fnext_event):
2538 * event-stream.c (execute_help_form):
2539 * event-stream.c (maybe_kbd_translate):
2541 * event-msw.c (vars_of_event_mswindows):
2542 * event-msw.c (mswindows_wnd_proc):
2543 * event-msw.c (mswindows_need_event):
2544 * event-msw.c (mswindows_drain_windows_queue):
2545 * event-msw.c (mswindows_pump_outstanding_events):
2547 * event-msw.c (slurp_thread):
2548 * event-msw.c (struct ntpipe_slurp_stream):
2549 * event-msw.c (HANDLE_TO_USID):
2550 * event-Xt.c (emacs_Xt_handle_magic_event):
2551 * event-Xt.c (x_event_to_emacs_event):
2552 * event-Xt.c (x_reset_modifier_mapping):
2553 * event-Xt.c (x_reset_key_mapping):
2555 * eval.c (syms_of_eval):
2556 * eval.c (warn_when_safe):
2557 * eval.c (warn_when_safe_lispobj):
2558 * eval.c (Fbacktrace_frame):
2559 * eval.c (Fbacktrace):
2560 * eval.c (top_level_set):
2561 * eval.c (unbind_to_hairy):
2562 * eval.c (specbind_magic):
2563 * eval.c (specbind_unwind_wasnt_local):
2564 * eval.c (call2_trapping_errors):
2565 * eval.c (call1_trapping_errors):
2566 * eval.c (catch_them_squirmers_call2):
2567 * eval.c (call0_trapping_errors):
2568 * eval.c (run_hook_trapping_errors):
2569 * eval.c (catch_them_squirmers_eval_in_buffer):
2570 * eval.c (call4_in_buffer):
2571 * eval.c (call3_in_buffer):
2572 * eval.c (call2_in_buffer):
2573 * eval.c (call1_in_buffer):
2574 * eval.c (call0_in_buffer):
2575 * eval.c (run_hook):
2576 * eval.c (run_hook_with_args_in_buffer):
2579 * eval.c (do_autoload):
2580 * eval.c (un_autoload):
2581 * eval.c (Fautoload):
2582 * eval.c (Finteractive_p):
2583 * eval.c (Fcommand_execute):
2584 * eval.c (signal_quit):
2585 * eval.c (call_with_suspended_errors):
2586 * eval.c (signal_error):
2587 * eval.c (return_from_signal):
2588 * eval.c (Fcall_with_condition_handler):
2589 * eval.c (run_condition_case_handlers):
2590 * eval.c (condition_case_1):
2591 * eval.c (Funwind_protect):
2592 * eval.c (unwind_to_catch):
2593 * eval.c (internal_catch):
2594 * eval.c (Fmacroexpand_internal):
2595 * eval.c (Fuser_variable_p):
2596 * eval.c (Fdefconst):
2598 * eval.c (Ffunction):
2599 * eval.c (signal_call_debugger):
2600 * eval.c (call_debugger):
2603 * emacs.c (sort_args):
2607 * editfns.c (Fencode_time):
2608 * editfns.c (Fdecode_time):
2609 * editfns.c (Fuser_full_name):
2611 * editfns.c (save_excursion_restore):
2614 * doprnt.c (emacs_doprnt_1):
2615 * doc.c (verify_doc_mapper):
2616 * doc.c (Fsnarf_documentation):
2617 * doc.c (Fdocumentation):
2619 * dired.c (user_name_completion):
2620 * dired.c (Fdirectory_files):
2623 * dgif_lib.c (FreeSavedImages):
2624 * dgif_lib.c (DGifGetImageDesc):
2626 * device.h (struct device):
2627 * device.c (Fselect_device):
2628 * device.c (allocate_device):
2630 * device-x.c (Fx_keysym_on_keyboard_p):
2631 * device-x.c (Fx_valid_keysym_name_p):
2632 * device-x.c (x_IO_error_handler):
2633 * device-x.c (x_delete_device):
2634 * device-x.c (x_finish_init_device):
2635 * device-x.c (x_init_device):
2637 * device-msw.c (mswindows_init_device):
2639 * database.c (vars_of_database):
2640 * database.c (Fput_database):
2641 * database.c (Fopen_database):
2642 * database.c (berkdb_remove):
2643 * database.c (berkdb_put):
2644 * database.c (Fdatabasep):
2645 * database.c (print_database):
2647 * data.c (vars_of_data):
2648 * data.c (syms_of_data):
2649 * data.c (init_errors_once_early):
2650 * data.c (prune_weak_lists):
2651 * data.c (finish_marking_weak_lists):
2652 * data.c (print_weak_list):
2654 * data.c (Fstring_to_number):
2655 * data.c (Fnumber_to_string):
2656 * data.c (Findirect_function):
2659 * data.c (Fsubr_interactive):
2661 * data.c (Fkeywordp):
2664 * console.h (CONSOLE_NAME):
2666 * console.c (vars_of_console):
2667 * console.c (Fselect_console):
2669 * console-x.h (DEVICE_X_COLORMAP):
2670 * console-x.h (struct x_device):
2671 * console-x.c (x_device_to_console_connection):
2672 * console-tty.h (CONSOLE_TTY_FINAL_CURSOR_Y):
2673 * console-tty.c (tty_init_console):
2675 * console-msw.h (struct mswindows_frame):
2678 * cmds.c (internal_self_insert):
2679 * cmds.c (Fforward_line):
2680 * cmds.c (Fforward_char):
2683 * chartab.c (mark_char_table_entry):
2685 * casefiddle.c (casify_word):
2686 * callproc.c (child_setup):
2687 * callproc.c (Fcall_process_internal):
2689 * callint.c (Fcall_interactively):
2691 * bytecode.c (execute_rare_opcode):
2692 * bytecode.c (execute_optimized_program):
2695 * buffer.h (BUFFER_REALLOC):
2696 * buffer.h (GET_CHARPTR_INT_DATA_ALLOCA):
2697 * buffer.h (GET_CHARPTR_EXT_DATA_ALLOCA):
2699 * buffer.h (MAP_INDIRECT_BUFFERS):
2700 * buffer.h (CHECK_LIVE_BUFFER):
2701 * buffer.c (init_initial_directory):
2702 * buffer.c (complex_vars_of_buffer):
2703 * buffer.c (vars_of_buffer):
2704 * buffer.c (finish_init_buffer):
2705 * buffer.c (Fget_file_buffer):
2706 * buffer.c (Fbuffer_list):
2707 * buffer.c (mark_buffer):
2708 * balloon_help.c (balloon_help_move_to_pointer):
2709 * balloon_help.c (show_help):
2712 * alloc.c (garbage_collect_1):
2713 * alloc.c (sweep_strings):
2714 * alloc.c (sweep_compiled_functions):
2715 * alloc.c (sweep_bit_vectors_1):
2716 * alloc.c (sweep_vectors_1):
2717 * alloc.c (sweep_lcrecords_1):
2718 * alloc.c (tick_lcrecord_stats):
2719 * alloc.c (pure_string_sizeof):
2720 * alloc.c (mark_conses_in_list):
2721 * alloc.c (mark_object):
2722 * alloc.c (report_pure_usage):
2723 * alloc.c (make_pure_float):
2724 * alloc.c (make_pure_string):
2725 * alloc.c (free_managed_lcrecord):
2726 * alloc.c (mark_string):
2727 * alloc.c (noseeum_make_marker):
2728 * alloc.c (allocate_event):
2729 * alloc.c (Fbit_vector):
2730 * alloc.c (Fvector):
2731 * alloc.c (make_float):
2732 * alloc.c (Fmake_list):
2734 * alloc.c (FREE_FIXED_TYPE_WHEN_NOT_IN_GC):
2735 * alloc.c (PUT_FIXED_TYPE_ON_FREE_LIST):
2736 * alloc.c (DECLARE_FIXED_TYPE_ALLOC):
2737 * alloc.c (dbg_constants):
2738 * alloc.c (gc_record_type_p):
2739 * alloc.c (free_lcrecord):
2740 * alloc.c (xmalloc):
2741 * alloc.c (NOSEEUM_INCREMENT_CONS_COUNTER):
2743 * Makefile.in.in (mostlyclean):
2744 * Makefile.in.in (external_client_xlib_objs_nonshared):
2745 * Makefile.in.in (temacs_link_args):
2746 * Makefile.in.in (release):
2747 * Makefile.in.in (dnd_objs):
2748 * Makefile.in.in (objs):
2749 * Makefile.in.in (PROGNAME):
2750 * EmacsShell.c: cast strings to (XtPointer)
2751 * EmacsFrame.c: cast strings to (XtPointer)
2753 - rewrite basic lisp functions for speed
2754 - rewrite bytecode interpreter for speed
2755 - rewrite list looping constructs for speed and safety using
2757 - use size_t where appropriate.
2758 - new hashtable implementation
2759 - cleanup implementation of opaques
2760 - opaques can now be purecopy'ed
2761 - move some cl functionality into C for speed.
2762 - remove last remaining VMS support
2764 - improve gdb/dbx debugger support
2765 - move pure.c back into alloc.c for performance
2766 - enable report_pure_usage() if --memory-usage-stats
2767 - remove remnants of Energize support (EMACS_BTL, cadillac...)
2768 - don't use symbols with leading `_' or embedded `__'
2769 - globally cleanup duplicated semicolons `;;'
2770 - I give in on %p vs %lx - we use printf("%lx",(long) p)
2772 - globally replace O_NDELAY with O_NONBLOCK.
2773 - globally replace CDISABLE with _POSIX_VDISABLE.
2774 - use O_RDONLY and O_RDWR instead of magic `0' and `2'.
2775 - define (and maybe use!) STDERR_FILENO and friends.
2776 - add support for macros defined in C
2777 - `when', `unless', `not' and `defalias' now defined in C,
2778 so that they are universally available.
2779 - rename defvar_mumble to defvar_magic
2780 - rename RETURN__ to RETURN_SANS_WARNINGS
2781 - use consistent style of initial caps in error messages
2782 - implement last, butlast, nbutlast, copy-list in C.
2783 - provide typedefs for all struct Lisp_foo types
2784 - Lisp_Objects must be initialized to Qnil rather than 0.
2785 - make sure XEmacs runs (slowly) with always_gc == 1;
2786 - fast and safe LOOP_* macros
2787 - change calls to XSETOBJ to XSETFOO
2788 - replace calls to XSETINT by make_int()
2789 - plug up memory leaks
2790 - use style markobj (foo), not silly ((markobj) (foo))
2791 - use XFLOAT_DATA (obj) instead of float_data (XFLOAT (obj))
2793 1998-12-02 P. E. Jareth Hein <jareth@camelot.co.jp>
2795 * unexec.c: Changed a #ifndef statement to fix XEmacs on BSDI 3.0
2797 1998-11-28 SL Baur <steve@altair.xemacs.org>
2799 * XEmacs 21.2-beta4 is released.
2801 1998-11-27 SL Baur <steve@altair.xemacs.org>
2803 * mule-charset.c (complex_vars_of_mule_charset): Fix graphic
2804 property in control-1 charset.
2805 From Julian Bradfield <jcb@daimi.au.dk>
2807 1998-11-26 Jan Vroonhof <vroonhof@math.ethz.ch>
2809 * gui-x.c (button_item_to_widget_value): Ignore :key-sequence
2811 Add stub for :label.
2813 * gui.c (gui_item_add_keyval_pair): ditto.
2815 * menubar-x.c (menu_item_descriptor_to_widget_value_1): Ignore
2816 :key-sequence keyword.
2818 Support :active for submenus like the Windows code and FSF Emacs.
2820 1998-11-27 Hrvoje Niksic <hniksic@srce.hr>
2822 * dired.c (make_directory_hash_table): make_string() is OK because
2823 readdir() Mule-encapsulates.
2825 1998-11-26 Hrvoje Niksic <hniksic@srce.hr>
2827 * fns.c (Fbase64_encode_string): Fix docstring.
2828 (Fbase64_decode_string): Ditto.
2830 1998-11-26 Hrvoje Niksic <hniksic@srce.hr>
2832 * editfns.c (Ftranslate_region): Use
2833 convert_bufbyte_string_into_emchar_string().
2835 1998-11-25 Hrvoje Niksic <hniksic@srce.hr>
2837 * editfns.c (Ftranslate_region): Accept vectors and char-tables as
2839 (Ftranslate_region): Turn table into an array of Emchars for
2842 1998-11-25 Hrvoje Niksic <hniksic@srce.hr>
2844 * chartab.c (Freset_char_table): Fix wrong placement of #endif.
2846 1998-11-24 Hrvoje Niksic <hniksic@srce.hr>
2848 * chartab.c (Freset_char_table): Don't blindly fill chartables of
2849 type `char' with nils.
2851 * chartab.c (canonicalize_char_table_value): Coerce ints to chars
2852 for tables of type `char'.
2854 1998-11-26 Didier Verna <verna@inf.enst.fr>
2856 * input-method-xlib.c (Initialize_Locale): don't call
2857 XtSetLanguageProc. We've done the whole work here.
2858 * input-method-xfs.c (Initialize_Locale): ditto.
2859 * input-method-motif.c (Initialize_Locale): ditto.
2861 1998-11-26 Didier Verna <verna@inf.enst.fr>
2863 * process-unix.c (unix_create_process): handle properly
2864 Vfile_name_coding_system for converting the program and directory
2867 1998-11-27 SL Baur <steve@altair.xemacs.org>
2869 * m/arm.h: New file.
2870 From James LewisMoss <dres@ioa.com>
2872 1998-11-27 Takeshi Hagiwara <hagiwara@ie.niigata-u.ac.jp>
2875 Fix the realpath() problem of UnixWare2.1.3.
2876 Patches for NEC's sysv4.2 machine.
2878 1998-11-25 Hrvoje Niksic <hniksic@srce.hr>
2880 * dired.c (Fdirectory_files): Remove redundant code.
2882 1998-11-25 Hrvoje Niksic <hniksic@srce.hr>
2884 * fns.c (free_malloced_ptr): New function.
2885 (XMALLOC_OR_ALLOCA): New macro.
2886 (XMALLOC_UNBIND): Ditto.
2887 (Fbase64_encode_region): Use malloc() for large blocks; arrange it
2888 to be freed in case of non-local exit.
2889 (Fbase64_encode_string): Ditto.
2890 (Fbase64_decode_region): Ditto.
2891 (Fbase64_decode_string): Ditto.
2892 (STORE_BYTE): New macro.
2893 (base64_decode_1): Use it.
2895 1998-11-25 Hrvoje Niksic <hniksic@srce.hr>
2897 * fns.c (base64_value_to_char): Base64 stuff.
2899 1998-11-24 Hrvoje Niksic <hniksic@srce.hr>
2901 * editfns.c (Fbuffer_substring): New function.
2903 * lisp.h: Declare make_string_from_buffer_no_extents().
2905 * insdel.c (make_string_from_buffer_1): New function.
2906 (make_string_from_buffer_no_extents): Ditto.
2908 1998-11-15 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
2910 * linuxplay.c: Including <fcntl.h> instead of <sys/fcntl.h> makes
2911 sound work on AIX with OSS installed. Linux should still work.
2913 1998-11-03 Andy Piper <andyp@parallax.co.uk>
2915 * config.h.in: name change for cygwin/version.h
2917 * configure.in: check for cygwin/version.h now.
2919 * cygwin32.h: track CYGWIN_DLL_VERSION_MAJOR ->
2920 CYGWIN_VERSION_DLL_MAJOR name change in cygwin b20.
2921 move cygwin32/version.h to cygwin/version.h
2923 1998-11-03 Olivier Galibert <galibert@pobox.com>
2925 * lisp.h (struct Lisp_Bit_Vector): Fix declaration of bits from
2928 1998-10-22 Andy Piper <andyp@parallax.co.uk>
2930 * cygwin32.h: track CYGWIN_DLL_VERSION_MAJOR ->
2931 CYGWIN_VERSION_DLL_MAJOR name change in cygwin b20.
2932 enable BROKEN_SIGIO under b20 to make QUIT work.
2934 1998-10-22 Andy Piper <andyp@parallax.co.uk>
2936 * frame-msw.c (mswindows_size_frame_internal): force frame sizing
2937 to fit within the constraints of the screen size. I.e. make the
2938 frame small enough to fit and move it if some of it will be
2941 1998-10-19 Greg Klanderman <greg@alphatech.com>
2943 * dired.c: conditionalize inclusion of user-name-completion
2944 primitives on non-Windows NT. The needed functions don't exist on NT.
2946 1998-11-24 SL Baur <steve@altair.xemacs.org>
2948 * gifrlib.h: Clean up types for 64 bit compile.
2949 * dgif_lib.c (DGifInitRead): Ditto.
2950 (MakeSavedImage): Ditto.
2951 * emacs.c (decode_path): Ditto.
2952 From Steve Carney <carney@pa.dec.com>
2954 1998-10-16 William M. Perry <wmperry@aventail.com>
2956 * glyphs-msw.c (bitmap_table): Fixed typo in builtin bitmaps
2957 (cehckboxes instead of checkboxes).
2959 1998-10-15 SL Baur <steve@altair.xemacs.org>
2961 * XEmacs 21.2-beta3 is released.
2963 1998-10-13 Raymond Toy <toy@rtp.ericsson.se>
2965 * runemacs.c (WinMain): If the basename is "rungnuclient.exe", run
2966 gnuclient. Otherwise, we run xemacs as we always did. This gets
2967 rid of the annoying DOS window when running gnuclient.
2969 1998-10-13 Andy Piper <andyp@parallax.co.uk>
2971 * dragdrop.c (vars_of_dragdrop): rename HAVE_MSWINDOWS ->
2972 HAVE_MS_WINDOWS typo.
2974 1998-10-13 SL Baur <steve@altair.xemacs.org>
2976 * process-unix.c (unix_send_process): Set closed flag on writable
2977 pipe after SIGPIPE is received and before we call deactivate_process.
2979 1998-10-03 Gunnar Evermann <ge204@eng.cam.ac.uk>
2981 * window.c (Fset_window_start): respect narrowing when
2982 checking wheter start is at the beginning of a line.
2983 (Fset_window_buffer): Ditto
2984 Fixes repeatable crash in VM.
2986 1998-10-09 SL Baur <steve@altair.xemacs.org>
2988 * window.c (specifier_vars_of_window): Set default vertical
2989 divider width to 1 on ttys.
2991 1998-10-08 Martin Buchholz <martin@xemacs.org>
2996 Add <stddef.h> to get ptrdiff_t declaration
2998 1998-10-07 Jonathan Harris <jhar@tardis.ed.ac.uk>
3000 * scrollbar-msw.c: Use the same vertical scrollbar drag hack as
3001 is used for Motif or Lucid scrollbars under X.
3003 1998-10-08 Pierre Wendling <pw@ebc.vbe.dec.com>
3005 * m/alpha.h (UNEXEC): quoted to avoid bad expansion when running
3008 1998-10-06 Takeshi Hagiwara <hagiwara@ie.niigata-u.ac.jp>
3010 * frame-x.c (x_delete_frame): Fix an argument of XtDestroyWidget.
3012 1998-10-05 Andy Piper <andyp@parallax.co.uk>
3014 * s/cygwin32.h: more cygwin b20 reorganisation.
3016 1998-10-01 Raymond Toy <toy@rtp.ericsson.se>
3018 * nas.c: Added necessary support functions to be able to handle
3019 WAVE files in memory, just like the support for SND files in
3022 1998-09-30 SL Baur <steve@altair.xemacs.org>
3024 * callproc.c (child_setup): Fix spelling typo.
3026 1998-09-29 SL Baur <steve@altair.xemacs.org>
3028 * XEmacs 21.2-beta2 is released.
3030 1998-09-27 P. E. Jareth Hein <jareth@camelot.co.jp>
3032 * regex.c (re_match_2_internal): Add in code to reset lowest_active_reg
3033 to prevent memory corruption in the case of jumping out of a series of
3034 nested match patterns. This is a rather brute force approach, though.
3036 1998-09-02 Andy Piper <andyp@parallax.co.uk>
3038 * config.h.in: ditto.
3040 * s/cygwin32.h: rearrange declarations to cope with cygwin
3041 b20. Include cygwin32/version.h if it exists.
3043 1998-09-20 Jonathan Harris <jhar@tardis.ed.ac.uk>
3045 * device-msw.c (mswindows_init_device): Call new
3046 mswindows_enumerate_fonts() function in objects-msw.c instead
3047 of font_enum_callback_1() to enumerate fonts.
3049 font_enum_callback_1() and _2() moved to objects-msw.c.
3051 * faces.c (complex_vars_of_faces): Make the mswindows default
3052 face font fully specified and provide some fallbacks.
3054 * objects-msw.c: font_enum_callback_1() and _2() moved here
3055 from objects-msw.c. Obtain the enumerated font's character
3056 sets by table lookup instead of using the locale-specific
3057 string provided by Windows.
3059 New public non-method mswindows_enumerate_fonts() that fills
3060 in the supplied mswindows device's font list.
3062 mswindows_initialize_font_instance: Use the supplied name
3063 variable instead of f->name when signalling errors. Match font
3064 weights and character sets using lookup tables which handle
3065 spaces instead of by frobbing.
3067 1998-09-20 Jonathan Harris <jhar@tardis.ed.ac.uk>
3069 * process-nt.c: Define an arbitrary limit, FRAGMENT_CODE_SIZE,
3070 on the size of code fragments passed to run_in_other_process.
3072 run_in_other_process(): Use FRAGMENT_CODE_SIZE to determine
3073 the amount of memory to allocate in the other process.
3075 Removed sigkill_code_end(), sigint_code_end() and
3076 sig_enable_code_end() since they are now redundant.
3078 send_signal() and enable_child_signals(): Don't try to work
3079 out the end of the code fragments passed to
3080 run_in_other_process()
3082 1998-09-10 Kazuyuki IENAGA <ienaga@jsys.co.jp>
3084 * src/s/freebsd.h: Added __ELF__ and compiler/liker flags for
3087 * src/unexelf.c: Partially synched with FSF's 20.3.
3089 1998-09-10 Hrvoje Niksic <hniksic@srce.hr>
3091 * insdel.c (signal_after_change): Map across indirect buffers
3092 here, and not in the upper-level functions.
3093 (signal_first_change): Don't check for Armageddon.
3094 (signal_before_change): Map across indirect buffers here.
3095 (prepare_to_modify_buffer): ...and here.
3097 1998-09-09 Hrvoje Niksic <hniksic@srce.hr>
3099 * insdel.c (signal_after_change): Add return value.
3100 (buffer_insert_string_1): Use it.
3101 (buffer_delete_range): Ditto.
3102 (buffer_replace_char): Ditto.
3103 (cancel_multiple_change): Map the indirect buffers.
3105 1998-09-06 Hrvoje Niksic <hniksic@srce.hr>
3107 * insdel.c (init_buffer_text): Remove INDIRECT_P parameter.
3108 (uninit_buffer_text): Ditto.
3110 * buffer.c (Fmake_indirect_buffer): Implement stricter
3113 1998-09-04 Hrvoje Niksic <hniksic@srce.hr>
3115 * insdel.c (change_function_restore): Reverse order of
3116 function-call and assignment.
3117 (first_change_hook_restore): Ditto.
3119 * extents.c (mark_extent_auxiliary): Mark them.
3120 (Fset_extent_property): Set them.
3121 (Fextent_property): Get them.
3122 (Fextent_properties): Ditto.
3123 (vars_of_extents): Set their default.
3125 * extents.h (struct extent_auxiliary): Add before_change_functions
3126 and after_change_functions.
3128 * insdel.c (signal_before_change): Use it.
3129 (signal_after_change): Ditto.
3131 * extents.c (report_extent_modification): New function.
3133 * insdel.c (signal_before_change): Don't check for Armageddon.
3134 (signal_after_change): Ditto.
3136 1998-09-11 Gunnar Evermann <Gunnar.Evermann@nats.informatik.uni-hamburg.de>
3138 * redisplay.c (redisplay_window): make sure a new starting point
3139 is chosen if it somehow got moved from the beginning of the line
3140 -- this can happen because Fwiden was called recently.
3142 * window.c (Fset_window_start): set start_at_line_beg correctly
3143 (Fset_window_buffer): Ditto
3145 1998-09-06 Hrvoje Niksic <hniksic@srce.hr>
3147 * insdel.c (init_buffer_text): Remove INDIRECT_P parameter.
3148 (uninit_buffer_text): Ditto.
3150 * buffer.c (Fmake_indirect_buffer): Implement stricter
3153 1998-05-14 Jan Vroonhof <vroonhof@math.ethz.ch>
3155 * emacs.c (main_1): Removed references to *vars_of_filelock.
3157 * lisp.h: Added Fsystem_name.
3159 * filelock.c: Replaced by version from FSF 20.2. Now implements
3160 locking by using symlinks which is NFS safe. However keep the
3161 GCPRO's in lock_file and the calls to callx_in_buffer like our old
3162 version (and of course use ansi C, acessor macros, etc).
3164 1998-09-06 Jan Vroonhof <vroonhof@math.ethz.ch>
3166 * process-unix.c (unix_create_process): Reset SIGHUP handler to
3167 SIG_DFL. We now try to conserve any inherted SIG_IGN settings
3168 in init_signals_very_early. However these should not be passed
3169 on to children attached to the new pty.
3171 1998-08-28 Andy Piper <andyp@parallax.co.uk>
3173 * glyphs-eimage.c (png_instantiate_unwind): clean up eimage after use.
3175 1998-09-07 Jonathan Harris <jhar@tardis.ed.ac.uk>
3177 * fileio.c (file-name-directory, file_name_as_directory):
3178 Don't call CORRECT_DIR_SEPS, even when #defined WINDOWSNT.
3180 1998-09-02 Andy Piper <andyp@parallax.co.uk>
3182 * emacs.c (main_1): init_ralloc() if initialised and we have REL_ALLOC
3184 * ralloc.c: uncomment __morecore.
3186 1998-09-92 Jonathan Harris <jhar@tardis.ed.ac.uk>
3188 * event-msw.c(winsock_writer): Supply a dummy 4th argument to
3189 WriteFile() to fix a winsock 1.x bug on Win95.
3191 1998-08-28 Hrvoje Niksic <hniksic@srce.hr>
3193 * event-Xt.c (emacs_Xt_mapping_action): Check for device being
3195 (x_event_to_emacs_event): Ditto.
3196 (emacs_Xt_handle_focus_event): Ditto.
3197 (emacs_Xt_handle_magic_event): Ditto.
3199 * console-x.h (struct x_device): New flag being_deleted.
3200 (DEVICE_X_BEING_DELETED): New macro.
3202 * device-x.c (x_IO_error_handler): Throw to top-level instead of
3203 returning. Before doing that, set the being_deleted flag on the
3206 1998-08-27 Hrvoje Niksic <hniksic@srce.hr>
3208 * device-x.c (x-seppuku-on-epipe): Removed.
3210 1998-08-26 Gunnar Evermann <Gunnar.Evermann@nats.informatik.uni-hamburg.de>
3212 * frame-x.c (x_delete_frame): Flush the X output buffer after
3213 calling XtDestroyWidget to ensure that the windows are really
3216 1998-08-26 Hrvoje Niksic <hniksic@srce.hr>
3218 * menubar-x.c (my_run_hook): New unused function.
3219 (pre_activate_callback): Use run_hook for Qactivate_menubar_hook,
3220 since we ignore the results of the contained functions anyway.
3222 1998-08-26 P. E. Jareth Hein <jareth@camelot.co.jp>
3224 * glyphs-eimage.c (gif_instantiate): Fix a crash in handling
3225 interlaced GIF files that are smaller than 4 lines high...
3227 1998-08-31 Hrvoje Niksic <hniksic@srce.hr>
3229 * buffer.c (map_over_sharing_buffers): Deleted.
3231 * insdel.c (MAP_INDIRECT_BUFFERS): Move to buffer.h.
3233 * buffer.c (Fkill_buffer): Keep indirect_children updated while
3236 1998-08-31 Hrvoje Niksic <hniksic@srce.hr>
3238 * insdel.c (buffer_insert_string_1): Advance the point bytind in
3240 (buffer_delete_range): Ditto.
3242 * marker.c (init_buffer_markers): Set point-marker to the value of
3243 point in an indirect buffer.
3245 1998-08-30 Hrvoje Niksic <hniksic@srce.hr>
3247 * undo.c (undo_prelude): Test last-undo-buffer against base
3250 * insdel.c (MAP_INDIRECT_BUFFERS): Use it.
3252 * buffer.h (BUFFER_BASE_BUFFER): New macro.
3254 1998-08-30 Hrvoje Niksic <hniksic@srce.hr>
3256 * insdel.c (init_buffer_text): Initialize it here.
3258 * line-number.c: Address line_number_cache through buffer->text.
3260 * buffer.c (mark_buffer): Mark line number cache.
3262 * bufslots.h (line_number_cache): Move to struct buffer_text.
3264 * insdel.c (buffer_insert_string_1): Propagate signals and changes
3265 across the children buffers.
3266 (buffer_delete_range): Ditto.
3267 (buffer_replace_char): Ditto.
3271 * insdel.c (MAP_INDIRECT_BUFFERS): New macro.
3273 * buffer.c (Fmake_indirect_buffer): Uncomment.
3275 1998-08-31 Hrvoje Niksic <hniksic@srce.hr>
3277 * macros.c (Fend_kbd_macro): Remove trailing period from error
3279 (Fexecute_kbd_macro): Ditto.
3281 1998-08-21 Greg Klanderman <greg@alphatech.com>
3283 * dired.c (Fuser_name_completion): remove optional 2nd argument.
3284 (Fuser_name_completion_1): new function to return uniqueness
3285 indication in addition to the user name completion.
3286 (user_name_completion): change type of `uniq' argument.
3288 1998-08-19 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
3290 * lread.c (vars_of_lread): Removed `source-directory' variable.
3292 1998-08-22 Hrvoje Niksic <hniksic@srce.hr>
3294 * fileio.c (Ffile_readable_p): Apply the DOS/Windows logic to
3297 1998-08-19 SL Baur <steve@altair.xemacs.org>
3299 * dired.c (vars_of_dired): Fix misapplied patch.
3301 1998-08-16 Martin Buchholz <martin@xemacs.org>
3303 * fns.c (Fremrassq, remrassq_no_quit):
3304 A XCAR that should have been an XCDR turned Fremrassq into Fremassq
3306 1998-07-17 Didier Verna <verna@inf.enst.fr>
3308 * redisplay-x.c (x_get_gc): returns a GC with a FillStipple fill
3309 style as foreground GC for faces that have the `dim' property.
3310 (x_output_string): when the `dim' face property is set,
3311 ensure the gray pixmap has been created, and get a proper
3312 foreground GC to draw the text.
3314 1998-08-09 Jonathan Harris <jhar@tardis.ed.ac.uk>
3316 * event-msw.c (mswindows_wnd_proc): Workaround for a Win95 bug:
3317 Manually track the state of the left and right Ctrl and Alt
3320 1998-08-07 Matt Stupple <matts@tibco.com>
3322 * ntproc.c: don't wait on char_consumed at thread entry.
3323 Additionally, to get the 'process' marked as finished, ensure
3324 that the CHILD_ACTIVE macro returns false, so before exiting
3325 close char_avail and set it to NULL, and close other handles
3326 to reduce handle leak problems.
3328 1998-08-09 Jonathan Harris <jhar@tardis.ed.ac.uk>
3330 * menubar-msw.c (displayable_menu_item): take account of menu
3331 depth when deciding whether to try to display accelerators.
3333 1998-08-04 Andy Piper <andyp@parallax.co.uk>
3335 * event-msw.c: use MsgWaitForMultipleObjects if there are no
3338 * glyphs-msw.c: fix a couple of potential handle leaks.
3340 1998-08-04 P. E. Jareth Hein <jareth@camelot.co.jp>
3342 * dgif_lib.c gif_io.c gifrlib.h: New files to put GIF
3343 *decoding ONLY* back into the core.
3344 * glyphs-eimage.c: Change referenced header file for GIF
3345 reading to point to the incore version.
3347 1998-07-20 Martin Buchholz <martin@xemacs.org>
3349 * casefiddle.c (casify_object):
3350 Change algorithm from O(N**2) to O(N).
3354 1998-07-22 Greg Klanderman <greg@alphatech.com>
3356 * dired.c (file_name_completion_unwind): don't leak the cons.
3358 1998-07-20 Greg Klanderman <greg@alphatech.com>
3360 * dired.c (Fuser_name_completion): new function.
3361 (Fuser_name_all_completions): new function.
3362 (user_name_completion): new function.
3363 (syms_of_dired): 2 new DEFSUBRs.
3364 (vars_of_dired): initialize user name cache vars.
3366 1998-07-29 P. E. Jareth Hein <jareth@camelot.co.jp>
3368 * glyphs-eimage.c (png_instantiate): Add proper handling for background
3369 colors taken from the default face. Also correct a thinko in
3370 transparency (not alpha) handling.
3372 1998-07-23 Martin Buchholz <martin@xemacs.org>
3374 * s/decosf4-0.h: Use a perfectly ordinary link. Nuke BSD crap.
3375 * unexalpha.c: ANSI C-ize. Clean compiler warnings.
3376 * lread.c (Fload_internal): Be very careful with printfs of
3378 * gui-x.c (menu_name_to_accelerator): tolower wants an `int'
3381 1998-07-27 Gunnar Evermann <Gunnar.Evermann@nats.informatik.uni-hamburg.de>
3383 * callint.c (Fcall_interactively): GCPRO prompt string before
3384 passing it to Fread_key_sequence
3386 1998-07-27 SL Baur <steve@altair.xemacs.org>
3388 * keymap.c (vars_of_keymap): Initialize Vkey_translation_map and
3389 Vvertical_divider_map.
3391 * mule-canna.c (vars_of_mule_canna): Initialize every symbol to
3392 Qnil or 0, none were initialized prior to this change.
3394 Rename misnamed `V' prefixed integer variables:
3395 Vcanna_empty_info, Vcanna_through_info, Vcanna_underline,
3396 Vcanna_inhibit_hankakukana, Vcanna_henkan_length, Vcanna_henkan_revPos,
3397 Vcanna_henkan_revLen, Vcanna_ichiran_length, Vcanna_ichiran_revPos,
3398 Vcanna_ichiran_revLen.
3400 Rename misnamed `V' prefixed integer variables and initialize
3401 properly in the vars_of routine.
3402 Vcanna_mode_AlphaMode, Vcanna_mode_EmptyMode, Vcanna_mode_KigoMode,
3403 Vcanna_mode_YomiMode, Vcanna_mode_JishuMode, Vcanna_mode_TankouhoMode,
3404 Vcanna_mode_IchiranMode, Vcanna_mode_YesNoMode, Vcanna_mode_OnOffMode,
3405 Vcanna_mode_AdjustBunsetsuMode, Vcanna_mode_ChikujiYomiMode,
3406 Vcanna_mode_ChikujiTanMode, Vcanna_mode_HenkanMode,
3407 Vcanna_mode_HenkanNyuryokuMode, Vcanna_mode_ZenHiraHenkanMode,
3408 Vcanna_mode_HanHiraHenkanMode, Vcanna_mode_ZenKataHenkanMode,
3409 Vcanna_mode_HanKataHenkanMode, Vcanna_mode_HanKataHenkanMode,
3410 Vcanna_mode_ZenAlphaHenkanMode, Vcanna_mode_HanAlphaHenkanMode,
3411 Vcanna_mode_ZenHiraKakuteiMode, Vcanna_mode_HanHiraKakuteiMode,
3412 Vcanna_mode_ZenKataKakuteiMode, Vcanna_mode_HanKataKakuteiMode,
3413 Vcanna_mode_ZenAlphaKakuteiMode, Vcanna_mode_HanAlphaKakuteiMode,
3414 Vcanna_mode_HexMode, Vcanna_mode_BushuMode, Vcanna_mode_ExtendMode,
3415 Vcanna_mode_RussianMode, Vcanna_mode_GreekMode, Vcanna_mode_LineMode,
3416 Vcanna_mode_ChangingServerMode, Vcanna_mode_HenkanMethodMode,
3417 Vcanna_mode_DeleteDicMode, Vcanna_mode_TourokuMode,
3418 Vcanna_mode_TourokuEmptyMode, Vcanna_mode_TourokuHinshiMode,
3419 Vcanna_mode_TourokuDicMode, Vcanna_mode_QuotedInsertMode,
3420 Vcanna_mode_BubunMuhenkanMode, Vcanna_mode_MountDicMode,
3421 Vcanna_fn_SelfInsert, Vcanna_fn_FunctionalInsert,
3422 Vcanna_fn_QuotedInsert, Vcanna_fn_JapaneseMode, Vcanna_fn_AlphaMode,
3423 Vcanna_fn_HenkanNyuryokuMode, Vcanna_fn_Forward, Vcanna_fn_Backward,
3424 Vcanna_fn_Next, Vcanna_fn_Prev, Vcanna_fn_BeginningOfLine,
3425 Vcanna_fn_EndOfLine, Vcanna_fn_DeleteNext, Vcanna_fn_DeletePrevious,
3426 Vcanna_fn_KillToEndOfLine, Vcanna_fn_Henkan, Vcanna_fn_Kakutei,
3427 Vcanna_fn_Extend, Vcanna_fn_Shrink, Vcanna_fn_AdjustBunsetsu,
3428 Vcanna_fn_Quit, Vcanna_fn_ConvertAsHex, Vcanna_fn_ConvertAsBushu,
3429 Vcanna_fn_KouhoIchiran, Vcanna_fn_BubunMuhenkan, Vcanna_fn_Zenkaku,
3430 Vcanna_fn_Hankaku, Vcanna_fn_ExtendMode, Vcanna_fn_ToUpper,
3431 Vcanna_fn_Capitalize, Vcanna_fn_ToLower, Vcanna_fn_Hiragana,
3432 Vcanna_fn_Katakana, Vcanna_fn_Romaji, Vcanna_fn_BaseHiragana,
3433 Vcanna_fn_BaseKatakana, Vcanna_fn_BaseEisu, Vcanna_fn_BaseZenkaku,
3434 Vcanna_fn_BaseHankaku, Vcanna_fn_BaseKana, Vcanna_fn_BaseKakutei,
3435 Vcanna_fn_BaseHenkan, Vcanna_fn_BaseHiraKataToggle,
3436 Vcanna_fn_BaseZenHanToggle, Vcanna_fn_BaseKanaEisuToggle,
3437 Vcanna_fn_BaseKakuteiHenkanToggle, Vcanna_fn_BaseRotateForward,
3438 Vcanna_fn_BaseRotateBackward, Vcanna_fn_Touroku, Vcanna_fn_HexMode,
3439 Vcanna_fn_BushuMode, Vcanna_fn_KigouMode, Vcanna_fn_Mark,
3440 Vcanna_fn_TemporalMode, Vcanna_key_Nfer, Vcanna_key_Xfer,
3441 Vcanna_key_Up, Vcanna_key_Left, Vcanna_key_Right, Vcanna_key_Down,
3442 Vcanna_key_Insert, Vcanna_key_Rollup, Vcanna_key_Rolldown,
3443 Vcanna_key_Home, Vcanna_key_Help, Vcanna_key_KP_Key,
3444 Vcanna_key_Shift_Nfer, Vcanna_key_Shift_Xfer, Vcanna_key_Shift_Up,
3445 Vcanna_key_Shift_Left, Vcanna_key_Shift_Right, Vcanna_key_Shift_Down,
3446 Vcanna_key_Cntrl_Nfer, Vcanna_key_Cntrl_Xfer, Vcanna_key_Cntrl_Up,
3447 Vcanna_key_Cntrl_Left, Vcanna_key_Cntrl_Right, Vcanna_key_Cntrl_Down
3449 1998-07-16 Jan Vroonhof <vroonhof@math.ethz.ch>
3451 * event-Xt.c (x_to_emacs_keysym): Return nil for modifier keysyms.
3452 (x_event_to_emacs_event): Let x_to_emacs_keysym check for modifier
3453 keys thus no longer considering all keysyms on a key.
3455 1998-07-19 SL Baur <steve@altair.xemacs.org>
3457 * XEmacs 21.2-beta1 is released.
3459 1998-07-12 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
3461 * eldap.c (Fldap_search_internal): When converting the list of
3462 attributes to search Copy the final 0 from Lisp strings to C
3464 Check base, not Vldap_default_base as a a string
3466 1998-07-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
3468 * nt.c: Remove Vstdio_str; already defined in console-stream.c.
3470 * unexnt.c: Unconditionally define bss_start and bss_size, and
3471 ensure that they don't go in the .bss section.
3473 1998-07-17 Olivier Galibert <galibert@pobox.com>
3475 * glyphs-x.c (convert_EImage_to_XImage): Fix previous patch (conv
3476 byte order is dependant of the local byte order).
3477 From Takeshi Hagiwara <hagiwara@ie.niigata-u.ac.jp>
3479 1998-07-18 SL Baur <steve@altair.xemacs.org>
3481 * glyphs-msw.c (mswindows_resource_normalize): Qresource ->
3482 Qmswindows_resource.
3483 From Jonathan Harris <jhar@tardis.ed.ac.uk>
3485 1998-07-12 SL Baur <steve@altair.xemacs.org>
3487 * general.c (syms_of_general): Add defsymbol for Qresource.
3489 * glyphs-msw.c (vars_of_glyphs_mswindows): Rename Qresource to
3490 Qmswindows_resource.
3491 (TopLevel): Rename 'resource image format to 'mswindows_resource.
3492 (mswindows_resource_validate): Rename.
3493 (mswindows_resource_normalize): Rename.
3494 (mswindows_resource_possible_dest_types): Rename.
3495 (mswindows_resource_instantiate): Rename.
3496 (image_instantiator_format_create_glyphs_mswindows): Replace
3497 `resource' with `mswindows.resource'.
3499 * XEmacs 21.0-pre5 is released.
3501 1998-07-10 SL Baur <steve@altair.xemacs.org>
3503 * mule-wnnfns.c (Fwnn_open): Correctly trap on misdefined Wnn
3504 server type in environment.
3505 Use alloca-ed strings instead of tiny fixed size ones.
3507 1998-07-09 SL Baur <steve@altair.xemacs.org>
3509 * XEmacs 21.0-pre4 is released.
3511 1998-07-01 James N. Potts <jnpotts@plutonium.net>
3513 * fileio.c: (expand_file_name): under win32: Don't treat names
3514 as UNC names if a drive letter has been specified. If a drive
3515 has been specified, strip out extra directory-seperators that
3516 reportedly cause problems under Win95.
3518 1998-07-09 Jonathan Harris <jhar@tardis.ed.ac.uk>
3520 * windowsnt.h: Define DUMP_SEPARATE_SECTION when building with
3521 MSVC >= 5.0. Put emacs init and zero-init data in a special
3522 section of the executable when this is defined.
3524 * unexnt.c, ntheap.h:
3525 Removed unused find_section() and get_section_size().
3528 Fix up the executable's checksum after dumping otherwise the
3530 When DUMP_SEPARATE_SECTION is defined, don't need to dump
3531 zero-init data separately from init data. Dump emacs data
3532 into a special section of the executable.
3533 When DUMP_SEPARATE_SECTION not defined, dump .bss up to
3534 my_ebss instead of up to the end of bss.
3536 1998-07-09 Jonathan Harris <jhar@tardis.ed.ac.uk>
3538 * filelock.c: Removed Vconfigure_lock_directory - already
3541 * frame-msw.c: Removed Qinitially_unmapped and Qpopup - already
3542 defined in frame.c and general.c respectively.
3544 * glyphs-msw.c: Removed Qresource - already defined in
3547 1998-07-05 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
3549 * eldap.c (Fldap_search_internal): Docstring fixes
3551 1998-07-04 Jonathan Harris <jhar@tardis.ed.ac.uk>
3553 * nt.c (init_environment): Removed unused PRELOAD_WINSOCK,
3554 EMACSDOC and TERM variables. Added EMACSDEBUGPATHS,
3555 EMACSPACKAGEPATH and INFOPATH variables.
3556 Removed unused get_emacs_configuration function.
3558 * s/windowsnt.h: Don't define EMACS_CONFIGURATION here because
3559 it is now defined at build-time by the makefile.
3561 1998-07-01 James N. Potts <jnpotts@plutonium.net>
3563 * fileio.c: (expand_file_name): under win32: Don't treat names as
3564 UNC names if a drive letter has been specified. If a drive has
3565 been specified, strip out extra directory-seperators that
3566 reportedly cause problems under Win95.
3568 1998-07-05 Andy Piper <andyp@parallax.co.uk>
3570 * faces.c (complex_vars_of_faces): for the gui-element face don't
3571 fallback to the default face, instead provide reasonable default
3572 fallbacks that were previously hardcoded elsewhere.
3574 1998-07-06 Olivier Galibert <galibert@pobox.com>
3576 * glyphs-x.c (convert_EImage_to_XImage): Fix pixel writing problem
3577 when the X server endianness is different than the client's one.
3579 1998-06-29 Kyle Jones <kyle_jones@wonderworks.com>
3581 * eval.c (run_hook_with_args_in_buffer): Check
3582 default (non-buffer-local) value of hook for
3583 nil before treating it as a function. Don't initialize
3584 the `globals' variable twice.
3586 1998-06-24 Jonathan Harris <jhar@tardis.ed.ac.uk>
3588 * fileio.c: Don't do directory seperator canonicalisation in
3589 substitute-in-file-name because we don't know that the
3590 filename refers to a local file.
3592 1998-06-24 Adrian Aichner <aichner@ecf.teradyne.com>
3594 * process-nt.c (nt_create_process): Try appending the standard
3595 executable file extensions to the filename if none supplied.
3597 1998-06-29 SL Baur <steve@altair.xemacs.org>
3599 * fileio.c (Fsubstitute_in_file_name): Enable double slash notation
3601 From Keisuke Mori <ksk@ntts.com>
3603 1998-06-24 Andy Piper <andyp@parallax.co.uk>
3605 * toolbar-msw.c (mswindows_output_toolbar): only enable masked
3606 images if we have masks. This handles the xbm case (have masks)
3607 and avoids overuse of resources in the xpm case (generally no masks).
3608 Don't output small toolbars.
3610 1998-06-29 Kyle Jones <kyle_jones@wonderworks.com>
3612 * eval.c (run_hook_with_args_in_buffer): Don't treat
3613 the default value of a buffer local hook as a list of
3614 hooks unless it is both a cons and the car of that cons
3617 1998-06-29 SL Baur <steve@altair.xemacs.org>
3619 * extents.c: Email address for Ben Wing is ben@xemacs.org.
3620 * process-unix.c: Ditto.
3621 * mule-coding.h: Ditto.
3622 * mule-coding.c: Ditto.
3623 * mule-charset.c: Ditto.
3624 * mule-charset.h: Ditto.
3625 * file-coding.c: Ditto.
3626 * file-coding.h: Ditto.
3628 1998-06-22 Jonathan Harris <jhar@tardis.ed.ac.uk>
3630 * event-msw.c: Guard against recursion when freeing
3631 FRAME_MSWINDOWS_TARGET_RECT struture in WM_SIZE processing.
3633 * frame-msw.c: Don't set WS_VISIBLE attribute on first frame.
3634 Call ShowWindow twice in init_frame_3 to get round runemacs
3637 1998-06-27 Hrvoje Niksic <hniksic@srce.hr>
3639 * scrollbar.c (vertical_scrollbar_changed_in_window): Ditto.
3641 * winslots.h: Rename.
3643 * window.c (specifier_vars_of_window): Renamed
3644 vertical-divider-draggable-p to vertical-divider-always-visible-p,
3645 as suggested by Ben Wing.
3646 (specifier_vars_of_window): Fix docstrings.
3648 1998-06-22 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
3650 * unexaix.c: Line number information works correctly again.
3652 1998-06-22 Olivier Galibert <galibert@pobox.com>
3654 * emacs.c (__sti__iflPNGFile_c___): Added. See comment. Cry.
3656 1998-06-21 Martin Buchholz <martin@xemacs.org>
3658 * editfns.c (get_home_directory): ANSIfy.
3659 XEmacs is compilable under C *and* C++.
3660 It's XEmacs, not Xemacs!
3662 1998-06-19 Jonathan Harris <jhar@tardis.ed.ac.uk>
3664 * console-msw.h: added a list of fonts to device data.
3666 * device-msw.c: enumerate list of available fonts in
3667 mswindows_init_device. Free list in mswindows_delete_device.
3669 * objects-msw.c: Added helper function match_font used by
3670 mswindows_initialize_font_instance and mswindows_list_fonts.
3671 Allow a charset to be specified in a font string, even if
3672 previous fields havn't been specified.
3674 1998-06-23 Greg Klanderman <greg@alphatech.com>
3676 * indent.c (column_at_point): column cache bugfix.
3677 Set last_known_column_point to the buffer position for
3678 which the column was requested, not buffer's point.
3680 * redisplay.c (decode_mode_spec): for current-column, show
3681 window's point's column, not buffer's point's column.
3683 1998-06-23 Andy Piper <andyp@parallax.co.uk>
3685 * menubar-msw.c (mswindows_handle_wm_command): use
3686 enqueue_misc_user event rather than
3687 mswindows_enqueue_msic_user_event to fix customize problems. Add some
3690 * console-msw.h: declare mswindows_enqueue_magic_event.
3692 * event-msw.c (mswindows_enqueue_magic_event): make global.
3694 1998-06-24 Hrvoje Niksic <hniksic@srce.hr>
3696 * line-number.c (LINE_NUMBER_FAR): Reverted to 16384.
3697 (buffer_line_number): Use EMACS_INT_MAX instead of random LOTS.
3698 (add_position_to_cache): Use EMACS_INT instead of int.
3700 1998-06-21 Olivier Galibert <galibert@pobox.com>
3702 * lisp-disunion.h (XMARKBIT): Have XMARKBIT return something
3703 suitable for an int used as a boolean (btw, C sucks.).
3705 1998-06-18 Andy Piper <andyp@parallax.co.uk>
3707 * object-msw.c: remove warnings.
3709 * device-msw.c: #define wrongly named cygwin structure elements.
3711 * s/cygwin32.h: define DEMI_BOLD
3713 1998-06-19 Jonathan Harris <jhar@tardis.ed.ac.uk>
3715 * redisplay-msw.c: new function mswindows_apply_face_effects.
3716 This is called by output_string and output_cursor to display
3717 underline and strikeout on faces.
3719 1998-06-19 Jonathan Harris <jhar@tardis.ed.ac.uk>
3721 * console-msw.h: added a list of fonts to device data.
3723 * device-msw.c: enumerate list of available fonts in
3724 mswindows_init_device. Free list in mswindows_delete_device.
3726 * objects-msw.c: Added helper function match_font used by
3727 mswindows_initialize_font_instance and mswindows_list_fonts.
3728 Allow a charset to be specified in a font string, even if
3729 previous fields havn't been specified.
3731 1998-06-15 Jonathan Harris <jhar@tardis.ed.ac.uk>
3734 Removed compilation warnings from mswindows_string_to_color.
3735 mswindows_list_fonts returns a more general bogus font.
3736 New lisp-visible function mswindows-color-list.
3738 1998-06-19 David Bush <david.bush@adn.alcatel.com>
3740 * editfns.c (Fuser_login_name): Modify to user new function
3742 (user_login_name): C only function to avoid Lisp object overhead
3743 Returns "unknown" instead of nil in Cygwin environment
3745 * fileio.c (Fexpand_file_name): Treat "~" and "~user" as
3746 equivalent for current user in Cygwin environment. Use new
3747 function user_login_name to get username.
3749 * lisp.h: Declare user_login_name
3751 1998-06-18 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
3753 * unexaix.c (make_hdr): Fixed bias computations so debugging info
3755 Some other insignificant nitpicks.
3757 1998-06-18 Andy Piper <andyp@parallax.co.uk>
3759 * toolbar-msw.c (mswindows_output_toolbar): specify ILC_MASK when
3760 creating the image list and make sure he bk color is transparent.
3762 1998-06-18 Jan Vroonhof <vroonhof@math.ethz.ch>
3764 * event-Xt.c (emacs_Xt_remove_timeout): Also remove timeout from
3765 completed_timeouts. The timer could have expired.
3767 1998-06-17 Andy Piper <andyp@parallax.co.uk>
3769 * console-msw.h: move XEMACS_RECT_WH inside frame
3770 parameters. define macors to access it.
3772 * frame-msw.c (mswindows_init_frame_1): use new target_rect
3773 parameter to intialise desired sizing. (mswindows_init_frame_2):
3774 enable and size the frame to something sensible when we get
3775 here. (mswindows_set_frame_properites): use new
3776 mswindows_size_frame_internal function and size frame if frame
3777 parameters not just if init is finished - WM_SIZE happens too
3778 early for some specs. (mswindows_size_frame_internal): new
3779 function abstracted from mswindows_set_frame_properties.
3780 (Vmswindows_use_system_frame_size_defaults):
3781 new variable controls whether to allow the system to pick frame
3782 size defaults, defaults to nil.
3784 * event-msw.c: in WM_SIZE use mswindows_size_frame_internal rather
3785 than duplicated code.
3787 1998-06-15 Colin Rafferty <colin@xemacs.org>
3789 * Makefile.in.in: Made EXTW_LINK expand properly.
3791 1998-06-12 Martin Buchholz <martin@xemacs.org>
3793 * redisplay.c (vars_of_redisplay): default value of
3794 column-number-start-at-one should be NIL!
3796 1998-06-11 Martin Buchholz <martin@xemacs.org>
3799 (upcase-initials "fooBar") ==> "FooBar" instead of "Foobar"
3801 1998-06-05 Hrvoje Niksic <hniksic@srce.hr>
3803 * eldap.c (Fldap_search_internal): Use build_ext_string instead of
3804 build_string to avoid crashes under Mule.
3806 1998-06-13 Andy Piper <andyp@parallax.co.uk>
3808 * ntplay.c (play_sound_data_1): don't delete the sound data until
3809 the next sound is played and the previous one finished.
3811 1998-06-10 Samuel Mikes <smikes@alumni.hmc.edu>
3813 * fileio.c (directory-sep-char): Escape backslashes.
3815 1998-06-10 Hrvoje Niksic <hniksic@srce.hr>
3817 * event-stream.c: Fix docstring reference.
3819 1998-06-12 Hrvoje Niksic <hniksic@srce.hr>
3821 * alloc.c (make_float): Remove useless initialization of `next'
3823 (make_pure_float): Ditto.
3825 * lisp.h (struct Lisp_Float): Rename `next' to `__unused__next'.
3827 1998-06-08 Kirill M. Katsnelson <kkm@kis.ru>
3829 * fileio.c (Fmake_directory_internal): Remove conditionals
3830 on WINDOWSNT when calling mkdir.
3832 * ntproc.c: Deleted the following unused functions:
3833 register_child, reap_subprocess, sys_wait.
3835 * nt.c (sys_rename): Ifzeroed this implementation.
3836 Deleted the following unused functions:
3837 sys_access, sys_chdir, sys_chmod, sys_creat, sys_link, sys_mkdir,
3838 sys_mktemp, sys_rmdir, sys_unlink, sys_close, sys_dup, sys_dup2,
3839 sys_read, sys_write.
3840 Merger sys_fopen and sys_open with sysdep.c implementation.
3842 * sysdep.c: Removed MS-DOS code.
3843 (sys_rename): Deal with Microsoft rename weirdness.
3844 (sys_open): Implemented for Windows.
3848 1998-06-08 Kirill M. Katsnelson <kkm@kis.ru>
3850 * buffer.c (complex_vars_of_buffer): Removed %t description from
3853 1998-06-04 Rick Rankin <Rick_Rankin-P15254@email.mot.com>
3855 * scrollbar-msw.c: initialize the cbSize element of the
3856 SCROLLINFO struct before calling SetScrollInfo. WinNT seems
3857 to ignore the value of cbSize, but Win95 (and I presume Win98)
3858 appear to want it set to sizeof(SCROLLINFO).
3860 1998-06-04 Kirill M. Katsnelson <kkm@kis.ru>
3862 * event-stream.c: Defined Qcancel_mode_internal.
3863 (syms_of_event_stream): defsymbol'ed it.
3865 * events.h: Externed it.
3867 * event-msw.c (mswindows_wnd_proc, WM_CANCELMODE): Added this handler.
3869 1998-06-04 Oliver Graf <ograf@fga.de>
3871 * frame-x.c (x_cde_destroy_callback): free the data
3872 (cde-start-drag-internal) corrected root position, 21.1 needs this
3873 hardcoded in Button events
3874 (offix-start-drag-internal) corrected root position
3876 1998-06-03 Kirill M. Katsnelson <kkm@kis.ru>
3878 * process-nt.c (signal_cannot_launch): Use signal_simple_error()
3881 1998-06-03 Kirill M. Katsnelson <kkm@kis.ru>
3883 * dialog-msw.c (button_width): Removed `inline' from the function
3886 1998-06-03 Rick Rankin <Rick_Rankin-P15254@email.mot.com>
3888 * frame-msw.c: add WS_VISIBLE flag to the first frame created.
3889 Note that adding this flag to subsequent frames causes problems.
3891 1998-06-03 Gunnar Evermann <Gunnar.Evermann@nats.informatik.uni-hamburg.de>
3893 * glyphs-eimage.c (png_instantiate) move 'struct
3894 png_memory_storage tbr' out of nested block to avoid dangling
3897 1998-06-02 Andy Piper <andyp@parallax.co.uk>
3900 * faces.c: rename 3d-object -> gui-element. add toolbar face which
3901 inherits from gui-element.
3903 * glyphs-msw.c: use DIBitmaps for xbm bitmaps to be consistent
3904 with existing code, generate masks correctly.
3906 1998-06-03 P. E. Jareth Hein <jareth@camelot-soft.com>
3908 * glyphs-eimage.c: Changed included header for gifs to use
3909 Gifreader instead of giflib.
3911 * glyphs-x.c: removed the image-related functions that were
3912 moved into glyphs-eimage.
3914 1998-06-02 David Bush <david.bush@adnb.alcatel.com>
3916 * glyphs.c (bitmap_to_lisp_data) Define XFree to be free
3917 if built without X Windows support.
3919 1998-06-02 Hrvoje Niksic <hniksic@srce.hr>
3921 * fns.c (Fconcat): Synch docstring with new reality.
3923 1998-06-03 SL Baur <steve@altair.xemacs.org>
3925 * frame.c: Remove reference to msdos.h (which is going away).
3926 Suggested by Hrvoje Niksic and Kirill Katsnelson.
3928 1998-06-02 P. E. Jareth Hein <jareth@camelot-soft.com>
3930 * glyphs-eimage.c (jpeg_instantiate): Fix handling of
3934 1998-05-30 Kirill M. Katsnelson <kkm@kis.ru>
3936 * events.h: Fixed commentary about misc-user scrollbar events.
3938 * scrollbar-x.c (x_update_vertical_scrollbar_callback): Use frame
3939 object as an event channel, instead of window object.
3940 (x_update_horizontal_scrollbar_callback): Ditto.
3942 1998-05-29 Andy Piper <andyp@parallax.co.uk>
3944 * ntplay.c (play_sound_data_1) new function. convert alloca data
3945 to malloc if necessary.
3946 (play_sound_file): if the file is not in our path then convert to
3949 1998-06-01 SL Baur <steve@altair.xemacs.org>
3951 * mule-mcpath.c (mc_chdir): Reverse parameters in call to memcpy.
3952 * msdos.c (Frecent_doskeys): Ditto.
3954 * unexalpha.c (unexec): Reverse parameters in call to memcpy.
3955 Suggested by Reggie Perry <perry@zso.dec.com>
3957 * buffer.h: Eliminate size in declaration.
3959 1998-06-01 Olivier Galibert <galibert@pobox.com>
3961 * unexelfsgi.c (unexec): Cleanup n/nn and remove useless kludge.
3963 1998-06-01 Kirill M. Katsnelson <kkm@kis.ru>
3965 * gui.c (gui_item_init): Changed the default value for config member
3966 from Qunbound to Qnil.
3968 1998-06-01 Greg Klanderman <greg@alphatech.com>
3970 * indent.c (vmotion_pixels): Don't #define abs().
3972 1998-05-30 Kirill M. Katsnelson <kkm@kis.ru>
3974 * s/windowsnt.h: Defined popen and pclose to be _popen and _pclose
3977 1998-05-30 Andy Piper <andyp@parallax.co.uk>
3979 * glyphs.h: add xbm declarations.
3981 * console.h: add xbm_instantiate_method device method.
3983 * glyphs.c (check_valid_xbm_inline) (xbm_validate)
3984 (bitmap_to_lisp_data) (xbm_mask_file_munging) (xbm_normalize)
3985 (xbm_possible_dest_types): moved here from glyphs-x.c. use
3986 locate_pixmap_file device method and read_bitmap_data_from_file
3987 instead of XmuReadBitmapDataFromFile.
3988 (xbm_instatntiate): make a device method.
3990 * glyphs-x.c: see glyphs.c changes. (read_bitmap_data_from_file)
3991 new function that just calls XmuReadBitmapDataFromFile.
3992 (x_xbm_instatntiate): device method from xbm_instantiate.
3994 * glyphs-msw.c (read_bitmap_data) (NextInt)
3995 (read_bitmap_data_from_file): new functions copied from Xmu
3997 (xbm_create_bitmap_from_data) from Ben <ben@666.com> convert
3998 inline data to an mswindows bitmap.
3999 (init_image_instance_from_xbm_inline) (xbm_instantiate_1)
4000 (mswindows_xbm_instantiate): mswindows-ized versions of the X
4003 1998-05-30 Kirill M. Katsnelson <kkm@kis.ru>
4005 * window.c (specifier_vars_of_window): Renamed `has_modeline-p' to
4006 `modeline-visible-p'.
4007 Declared specifier lisp variables at the beginning oh the file
4010 * procimpl.h (struct process_methods): Changed semantics of
4011 create_process method so it accepts lisp strings instead of
4014 * process.c (Fstart_process_internal): Moved building of
4015 unix style argv from here to process-unix.c, ...
4017 * process-unix.c (unix_create_process): ... right here.
4019 * process-nt.c (nt_create_process): Changed this function to
4020 support new semantics, so avoided a GC problem.
4022 * events.c (Fmake_event): Document misc-user events properties.
4023 (Fmake_event): Do not allow arbitrary objects for channel property
4024 of misc-user events.
4025 (Fmake_event): Change misc-user event validation: it is function
4026 which is required, not button.
4028 * event-msw.c (mswindows_user_event_p): Recognize misc user events as
4030 (mswindows_enqueue_misc_user_event): Added function.
4031 (mswindows_bump_queue): Removed function.
4032 (mswindows_enqueue_magic_event): Support NULL HWND parameter.
4033 (mswindows_wnd_proc, WM_CLOSE): Use mswindows_enqueue_misc_user_event().
4034 (mswindows_wnd_proc, WM_EXITSIZEMOVE): Ditto.
4035 (emacs_mswindows_handle_magic_event): Handle XM_BUMPQUEUE, by doing
4036 really nothing, which is my personal favorite thing.
4038 * console-msw.h: Removed prototype for mswindows_bump_queue().
4039 Added prototype for mswindows_enqueue_misc_user_event().
4041 * menubar-msw.c (mswindows_handle_wm_command): Use
4042 mswindows_enqueue_misc_user_event().
4044 * toolbar-msw.c (mswindows_handle_toolbar_wm_command): Ditto.
4046 * dialog-msw.c (dialog_proc): Ditto.
4048 * scrollbar-msw.c (mswindows_handle_scrollbar_event): Ditto.
4049 (mswindows_handle_scrollbar_event): Use frame, not window, for misc
4050 user events channel.
4052 1998-05-29 Greg Klanderman <greg@alphatech.com>
4054 * window.c (Fwindow_displayed_text_pixel_height): was relying on
4055 incorrect semantics of vmotion_pixels which has been fixed. don't
4056 use it anymore as it can't easily be used.
4058 * indent.c (vmotion_pixels): fix off by one bug moving up. also
4059 the motion was reported incorrectly if you tried to go past end of
4062 1998-05-30 Kirill M. Katsnelson <kkm@kis.ru>
4064 * toolbar.h: Removed misleading commentary, as Martin suggested.
4066 1998-05-30 Kirill M. Katsnelson <kkm@kis.ru>
4068 * lisp.h: Extern Qactivate_menubar_hook.
4070 * menubar-msw.c (unsafe_handle_wm_initmenu_1): Pass correct value to
4073 1998-05-29 Andy Piper <andyp@parallax.co.uk>
4075 * glyphs-msw.c: use BPLINE macro.
4077 * select-msw.c (mswindows-selection-exists-p)
4078 (mswindows-delete-selection): doc string fixes.
4080 * toolbar-msw.c (mswindows_output_toolbar): make disabled buttons
4081 unpressable. warning elimination.
4083 1998-05-28 Martin Buchholz <martin@xemacs.org>
4085 * alloc.c (dbg_constants):
4088 Remove toolbar_data debugging code, since that lrecord has
4091 Wed May 27, 1998 Darryl Okahata <darrylo@sr.hp.com>
4093 * alloc.c: zap cached value of (user-home-directory), so that
4096 * buffer.c: From init_buffer(), separated out code that
4097 determined the initial directory for the *scratch* buffer, and
4098 put them into a function called "init_initial_directory()".
4099 The initial directory is now available as a global "char *"
4100 called initial_directory.
4102 * buffer.h: Added extern entries for initial_directory[] and
4103 init_initial_directory().
4105 * editfns.c: added new elisp function "user-home-directory",
4106 which basically returns getenv("HOME"), but attempts to use
4107 other values if $HOME isn't set.This may have to be tweaked in
4108 the future as, under Unix, "/" is used if $HOME isn't set (this
4109 probably should be set to the current directory). To support
4110 this, a new C function, "get_home_directory()", now exists,
4111 which returns the "home directory", as a "char *" string.
4113 * emacs.c: Rearrange NT initialization order so that
4114 environment/registry variables will be properly entered into
4115 Vprocess_enviroment.
4117 * fileio.c: replaced egetenv("HOME") with calls to the new
4118 get_home_directory().
4120 * lisp.h: Added function prototypes for uncache_home_directory()
4121 and get_home_directory(), along with lisp prototypes for
4122 Fuser_home_directory() and friends.
4124 * nt.c: replaced getenv("HOME") with calls to the new
4125 get_home_directory().
4127 * sysfile.h: for WINDOWSNT, #include <direct.h>, to suppress
4128 warnings about getcwd(), etc. not having prototypes.
4130 1998-05-28 Kirill M. Katsnelson <kkm@kis.ru>
4132 * process-nt.c (send_signal): Emulate SIGHUP.
4133 (validate_signal_number): Ditto.
4135 * event-msw.c (mswindows_wnd_proc, WM_KEYDOWN): Unconditionally
4136 remove MOD_SHIFT from ASCII characters.
4137 (mswindows_wnd_proc, WM_KEYDOWN): Do not activate the menubar when
4140 1998-05-24 Oliver Graf <ograf@fga.de>
4142 * frame-x.c (cde-start-drag-internal): added filename and multi-
4144 (x_cde_convert_callback) dito
4146 1998-05-26 Oliver Graf <ograf@fga.de>
4148 * frame-x.c: include event-mod.h also with CDE
4149 (x_cde_convert_callback) made the thing working
4150 (cde-start-drag-internal) also debugging
4152 1998-05-25 Hans Guenter Weigand <hgweigand@wiesbaden.netsurf.de>
4159 - add __OpenBSD__ where __NetBSD__ was found.
4160 - TODO: replace platform-specific conditional compilation by
4161 feature tests in configure.in.
4163 1998-05-15 Greg Klanderman <greg@alphatech.com>
4165 * window.c (Fwindow_displayed_text_pixel_height): New function.
4166 (syms_of_window): DEFSUBR it.
4168 * indent.c (Fvertical_motion_pixels): New function - request
4170 (vmotion_pixels): helper.
4171 (syms_of_indent): DEFSUBR.
4172 * lisp.h: declaration for vmotion_pixels().
4174 * indent.c (Fvertical_motion): Add optional third argument PIXELS,
4175 to request returning motion in pixels.
4176 (Fvertical_motion_pixels): Remove, functionality merged into
4178 * window.c (window_scroll): call Fvertical_motion with 3 arguments.
4179 (Fmove_to_window_line): ditto.
4180 * lisp.h: Change declaration for Fvertical_motion.
4182 * window.c: rename window-text-pixel-{height,width,edges} to
4183 window-text-area-pixel-*.
4185 1998-05-26 Gunnar Evermann <Gunnar.Evermann@nats.informatik.uni-hamburg.de>
4187 * tooltalk.c (vars_of_tooltalk) added staticpro for
4188 Tooltalk_Message_plist_str and Tooltalk_Pattern_plist_str
4190 1998-05-27 Andy Piper <andyp@parallax.co.uk>
4192 * faces.c: create a new 3d_object_face, make modeline and
4193 vertical_divider faces fallback to this rather than the default.
4195 1998-05-21 Andy Piper <andyp@parallax.co.uk>
4197 * s/cygwin32.h: define charsets for cygwin.
4199 1998-05-25 Andy Piper <andyp@parallax.co.uk>
4201 * toolbar-msw.c (mswindows_output_toolbar): fix up button sizes
4202 and coordinates. resize bitmaps if we have already settled on a
4205 * glyphs-msw.c (xpm_to_eimage): add ';' for mswindows compiler.
4207 1998-05-25 Hrvoje Niksic <hniksic@srce.hr>
4209 * toolbar-msw.c (mswindows_handle_toolbar_wm_command): Ditto.
4211 * menubar-msw.c (mswindows_handle_wm_command): Ditto.
4215 * gui-x.c (popup_selection_callback): Ditto.
4217 * dialog-msw.c (dialog_proc): get_callback -> get_gui_callback.
4219 * gui.c (get_callback): Renamed to get_gui_callback.
4221 1998-05-17 Martin Buchholz <martin@xemacs.org>
4223 * glyphs.h: order rearrangement.
4225 * device-tty.c (tty_asynch_device_change): Warning suppression.
4226 * device-x.c (x_device_system_metrics): Warning suppression.
4227 Make Doc strings consistent with coding standards.
4229 1998-05-24 Martin Buchholz <martin@xemacs.org>
4231 * general.c: multiple definition of `Qicon'. general.c seems
4232 like a good home for Qicon.
4234 1998-05-20 Kirill M. Katsnelson <kkm@kis.ru>
4236 * This patch is to fix compilation warnings under Windows.
4238 * s/windowsnt.h: Encapsulate getpid with sys_getpid.
4239 Added prototypes for FSF inherited functions, with which XEmacs is
4240 sprinkled thoroughly.
4241 Removed some #if 0 code. Bracketed some more definitions, probably
4242 related to Visual C versions prior to 4 (we do not support them).
4244 * sysfloat.h (logb): Finally, get logb() prototyped.
4246 * sysfile.h: Added Windows specific includes.
4247 Removed old Windows specific code bracketed with #if 0.
4249 * sysdep.h: Added prototype for xrealpath().
4251 * sysdep.c (sys_getpid): Added function, to support '95 negative pids.
4253 * symsinit.h: Added prototypes for syms_of_dired_mswindows,
4254 vars_of_dired_mswindows and init_ntproc (Grrr).
4256 * realpath.c: Added Windows specific include files.
4257 (xrealpath): Conditionalized declaration of some auto variables on
4258 S_IFLNK, to avoid warnings.
4260 * ntproc.c: Disabled some compiler warnings. This file is going to
4261 die, so I have not cleaned it up much.
4262 (set_process_dir): Const parameter.
4263 (Fwin32_short_file_name): Down CHECK_* macros to one argument.
4264 (Fwin32_long_file_name): Ditto.
4265 (Fwin32_set_process_priority): Ditto. Why didn't I remove these
4268 * nt.h: Added prototypes for set_process_dir and convert_time.
4270 * nt.c: More include files.
4271 (getpwnam): Consted char* argument.
4272 (get_emacs_configuration): Const return value.
4273 (opendir): Const argument.
4274 (stat): Casted converstion long->short.
4275 (stat): Removed ad hoc and questionable support for non-MSC compile.
4276 (sys_pipe): Removed unused auto variable.
4277 (_sys_read_ahead): Removed calls to DebPrint.
4278 (sys_read): Ditto, in 2 places.
4279 (term_ntproc): Added unused int parameter to signal handler, to
4280 avoid a warning when compiling a call to signal().
4281 (msw_sigset): Properly return old signandler or NULL instead of void.
4283 * floatfns.c (Flogb): Casted arguments to unary minus to signed.
4285 * gmalloc.c (morecore): Ditto.
4286 (_free_internal): Ditto.
4288 * lread.c (parse_integer): Ditto.
4290 * dired-msw.c: Added several include files.
4292 * cmdloop.c (Fcommand_loop_1): Added Microsoft C to the Big List
4293 of Compilers to Shut Up.
4295 * callproc.c: Added #includes to suppress warnings under Windows.
4296 (init_callproc): Removed #if0'ed code and unused variables.
4298 1998-05-25 Andy Piper <andyp@parallax.co.uk>
4300 * device-msw.c (mswindows_device_system_metrics): do planes in a
4301 way consistent with X.
4303 * glyphs-msw.c (mswindows_initialize_image_instance_mask): don't
4304 use SetPixel, use DIBits functions.
4305 (xpm_to_eimage): frob colors more closely like xpm deos.
4307 * toolbar-msw.c: only resize bitmaps when shrinking. Adjust look
4308 to be closer to X version.
4310 * event-msw.c: use tooltip string directly.
4312 * redisplay-msw.c: reinstate Kirill's bg pixmap change.
4314 * objects-msw.c: frob rgb colors that only Kyle uses.
4316 * dialog-msw.c (button_width): INLINE -> inline.
4318 1998-05-23 SL Baur <steve@altair.xemacs.org>
4320 * getloadavg.c (getloadavg): Fix typo.
4322 1998-05-23 Kirill M. Katsnelson <kkm@kis.ru>
4324 * objects-msw.c (mswindows_initialize_font_instance): Added support
4325 for font character sets.
4326 Replaced 'XXX' with '####' in comments throughout the file.
4328 1998-05-23 Kirill M. Katsnelson <kkm@kis.ru>
4330 * emacs.c (main_1): Added calls to vars_of_dialog_mswindows() and
4331 console_type_create_dialog_mswindows(), to initialize Windows dialog
4334 * symsinit.h: Prototyped the above functions.
4336 * dialog-x.c (x_popup_dialog_box): Moved dialog descriptor consistency
4337 checks to dialog.c...
4339 * dialog.c (Fpopup_dialog_box): ...right here. Added more checks: a
4340 device must support dialog boxes, and the descriptor must supply at
4343 * dialog-msw.c: New file, dialogs for Windows.
4345 1998-05-21 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
4347 * eldap.c (ldap_search_unwind): Return Qnil instead of nothing
4348 (Fldap_search_internal): Removed unused variable `err'
4350 * eldap.h: Moved Lisp_LDAP declaration here instead of using a
4353 1998-05-17 Martin Buchholz <martin@xemacs.org>
4355 * eldap.h: eldap.[ch] should never be used unless HAVE_LDAP is
4356 defined. Therefore there is no need to handle the case when
4357 HAVE_LDAP is undefined. Similarily, there is no reason to have
4358 any code wrapped within `#ifdef emacs', since this code is only
4359 useful within an emacs. This simplifies the code significantly.
4361 * inline.c: Include eldap.h only if HAVE_LDAP.
4362 * inline.c: Don't bother including TT_C_H_PATH, since tooltalk.h
4365 1998-05-21 Kirill M. Katsnelson <kkm@kis.ru>
4367 * unexnt.c (copy_executable_and_dump_data_section): Suppress
4368 printing dump stats when building without DEBUG_XEMACS.
4369 (dump_bss_and_heap): Ditto.
4371 1998-05-21 Andy Piper <andyp@parallax.co.uk>
4373 * gnuclient.c: don't suppress window system if there is no display
4374 and we are running under mswindows. send 'mswindows device type if
4375 we are in this situation.
4377 1998-05-20 Andy Piper <andyp@parallax.co.uk>
4380 * lisp.h: Qbitmap, Qcursor, Qicon moved here from glyphs-msw.c.
4382 * glyphs-msw.c: change cursor imgae type name to resource. Fix
4385 1998-05-20 Kirill M. Katsnelson <kkm@kis.ru>
4387 * EmacsFrame.c (Xt_StringToScrollBarPlacement): Added support for
4388 {top,bottom}-{left,right} values in addition to
4389 {top,bottom}_{left,right}.
4391 1998-05-18 Hrvoje Niksic <hniksic@srce.hr>
4393 * fileio.c (Fmake_temp_name): Remove unreached code.
4395 * process-nt.c (validate_signal_number): Use
4396 signal_simple_error().
4398 1998-05-19 Martin Buchholz <martin@xemacs.org>
4401 * sound.c (vars_of_sound):
4402 * sysdep.c (reset_sigio_on_device):
4403 * window.c (window_bottom_gutter_height):
4404 unexhp9k800.c:258: warning: implicit declaration of function
4405 `calculate_checksum'
4406 sound.c:604: warning: implicit declaration of function `vars_of_hpplay'
4407 sysdep.c:1012: warning: unused variable `owner'
4408 window.c:993: warning: `window_right_toolbar_width' defined but not used
4410 1998-05-19 Andy Piper <andyp@parallax.co.uk>
4412 * glyphs-msw.c (mswindows_create_resized_mask)
4413 (mswindows_create_resized_bitmap): new funnctions split out from
4414 mswindows_resize_dibitmap_instance.
4416 * glyphs-msw.h: declare new resize functions.
4418 * toolbar-msw.c (mswindows_output_toolbar): use new bitmap resize
4419 functions so that the original bitmaps are preserved.
4421 * sheap.c: fixup static heap exhausted error to avoid FAQs.
4423 * redisplay-msw.c (mswindows_output_blank): fixup brush from bg
4424 color if we are trying to output 0 depth bg pixmap.
4426 * scrollbar-msw.c: warning elimination.
4428 1998-05-18 Martin Buchholz <martin@xemacs.org>
4430 * frame-x.c (x_update_frame_external_traits): Start preprocessor
4431 directives in column 1.
4433 * search.c (skip_chars): Avoid using xzero with arrays, since some
4434 compilers get confused by the construct &array.
4436 1998-05-18 Kirill M. Katsnelson <kkm@kis.ru>
4439 * objects-msw.c: Changed the charset value for a new font from
4440 "don't care" to "ansi".
4442 * glyphs-msw.c (convert_EImage_to_DIBitmap): Warnings fix.
4444 1998-05-18 Kirill M. Katsnelson <kkm@kis.ru>
4446 * event-msw.c (mswindows_wnd_proc, WM_KEYDOWN): Do not clear shift
4447 modifier on control chars.
4448 Use IsCharAlpha() instead of isaplha().
4450 1998-05-19 Kazuyuki IENAGA <ienaga@jsys.co.jp>
4452 * s/freebsd.h: FreeBSD 2.2.6 now supports setlocale(LC_ALL, "").
4454 1998-05-18 Kirill M. Katsnelson <kkm@kis.ru>
4456 * objects-msw.c (mswindows_initialize_font_instance): Use ANSI
4457 charset when creating font.
4458 (mswindows_initialize_color_instance): Do not create brush along
4460 (mswindows_finalize_color_instance): Do not delete it then.
4462 * objects-msw.h (struct mswindows_color_instance_data): Removed
4463 brush slot, and corresponding accessor macro.
4465 1998-05-18 Kirill M. Katsnelson <kkm@kis.ru>
4467 * toolbar.c: Removed toolbar_data lrecord implementation.
4468 (mark_frame_toolbar_buttons_dirty): Replase usage of toolbar_data
4469 with toolbar_buttons (via FRAME_TOOLBAR_BUTTONS).
4470 (compute_frame_toolbar_buttons): Ditto.
4471 (CHECK_TOOLBAR): Ditto.
4472 (set_frame_toolbar): Removed allocation of toolbar_data lrecord.
4473 (update_frame_toolbars): Do not check for changed buffer
4474 here. Toolbar information is provided by cached specs in
4475 windows. The check for buffer is eliminated becuase toolbars are
4476 marked changed in set_frame_selected_window() in frame.c
4477 Added check for changed toolbars geometry.
4478 (compute_frame_toolbars_data): Removed unused second parameter;
4479 Adjusted callers of this static function throughout the file.
4480 (init_frame_toolbars): Initialize current_toolbar_size.
4481 (update_frame_toolbars): Use DEVICE_SUPPORTS_TOOLBARS_P instead of
4482 what is its current expansion, for clarity.
4483 (init_frame_toolbars): Ditto.
4484 (init_device_toolbars): Ditto.
4485 (init_global_toolbars): Ditto.
4487 * toolbar.h: Removed definition of toolbar_data lrecord.
4488 Added accessor macros FRAME_TOOLBAR_BUTTONS and
4489 FRAME_CURRENT_TOOLBAR_SIZE.
4490 Added macro DEVICE_SUPPORTS_TOOLBARS_P.
4492 * toolbar-x.c (x_output_toolbar): The same change as in
4494 (x_output_toolbar): Ditto.
4495 (x_redraw_exposed_toolbar): Ditto.
4497 * toolbar-msw.c (mswindows_output_toolbar): Retrieve current
4498 buttons from toolbar_buttons using FRAME_TOOLBAR_BUTTONS macro.
4499 (mswindows_output_toolbar): Ditto.
4500 (mswindows_output_toolbar): Ditto.
4502 * frame.c (mark_frame): Removed marking of arrays, according to
4503 frameslots.h change.
4504 (nuke_all_frame_slots): Ditto.
4505 (set_frame_selected_window): Mark toolbars changed when
4506 last_nonminibuf_window changes.
4508 * frame.h (struct frame): Moved some slots to frameslots.h.
4509 Added current_toolbar_size array.
4510 Changed references from toolbar_data to toolbar_buttons in macros
4511 FRAME_RAW_THEORETICAL_TOOLBAR_VISIBLE,
4512 FRAME_RAW_THEORETICAL_TOOLBAR_SIZE and
4513 FRAME_RAW_THEORETICAL_TOOLBAR_BORDER_WIDTH.
4515 * frameslots.h: Added macro MARKED_SLOT_ARRAY a la winslots.h
4516 Moved arrays of lisp objects here from frame.h: toolbar_size,
4517 toolbar_visible_p, toolbar_border_width.
4518 Removed toolbar_data slot and added toolbar_buttons.
4520 1998-05-17 Kirill M. Katsnelson <kkm@kis.ru>
4522 * symsinit.h: Externed syms_of_process_nt()
4524 * emacs.c (main_1): Call syms_of_process_nt()
4526 * process-nt.c: Quote process arguments by a call to Lisp function
4527 `nt-quote-process-args'.
4528 (syms_of_process_nt): New function.
4529 (nt_send_process): Flush data stream after each write, to avoid
4530 leaving buffered data.
4531 (nt_send_process): When blocked on process output, wait for
4532 process to slurp more for progressively increasing time intervals.
4534 1998-05-17 Martin Buchholz <martin@xemacs.org>
4536 * window.c (have_undivided_common_edge): Make file-local function
4538 (map_windows): Return 0 if all map functions successful.
4541 * winslots.h: Use unlikely names for local variables in macros to
4542 avoid shadowing warnings.
4544 1998-05-17 Andy Piper <andyp@parallax.co.uk>
4546 * toolbar-msw.c (mswindows_output_toolbar): hash on toolbar width
4547 so that we re-output if the toolbar size has changed.
4549 1998-05-17 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
4551 * s/aix4-2.h (ALIGN_DATA_RELOC): Undefined to support new unexaix.c.
4553 * s/aix3-1.h (ALIGN_DATA_RELOC): Defined to support new unexaix.c.
4555 * unexaix.c: Massive cleanup and support of AIX 4.2 (and hopefully
4558 1998-05-16 Kirill M. Katsnelson <kkm@kis.ru>
4560 * glyphs-msw.c: Defined OEMRESOURCE before including windows.h to
4561 get bitmap manifest constants defined.
4563 * console-msw.h: Include system files in angle brackets, not in
4566 * window.c (specifier_vars_of_window): Fixed a typo in
4567 `vertical-divider-line-width' docstirng.
4569 1998-05-16 Olivier Galibert <galibert@pobox.com>
4571 * line-number.c (delete_invalidate_line_number_cache): Use an
4573 (buffer_line_number): Remove dangerous, plain wrong when using
4574 64bits emacs ints, cast.
4576 * insdel.c (buffer_delete_range): Use an EMACS_INT.
4578 * cmds.c (Fforward_line): Use EMACS_INTs.
4580 * search.c (bi_scan_buffer): Change to use EMACS_INTs.
4581 (scan_buffer): Ditto.
4582 (bi_find_next_newline_no_quit): Remove useless cast.
4583 (find_next_newline_no_quit): Ditto.
4584 (find_next_newline): Ditto.
4585 (find_before_next_newline): Use an EMACS_INT.
4587 * lisp.h: Change scan_buffer to pass EMACS_INTs.
4589 1998-05-16 Hrvoje Niksic <hniksic@srce.hr>
4591 * menubar-msw.c (mswindows_handle_wm_command): Ditto.
4593 * toolbar-msw.c (mswindows_handle_toolbar_wm_command): Ditto.
4595 * gui-x.c (popup_selection_callback): Use it.
4597 * gui.h (get_callback): Declare it.
4599 * gui.c (get_callback): New function.
4601 1998-05-15 SL Baur <steve@altair.xemacs.org>
4603 * window.c (have_undivided_common_edge): Guard scrollbar specific
4605 (window_needs_vertical_divider_1): Ditto.
4607 1998-05-16 Hrvoje Niksic <hniksic@srce.hr>
4609 * emacs.c (decode_path): Eliminate compiler warning.
4610 (Fdecode_path): Renamed to Fsplit_path.
4611 (Fsplit_string_by_char): New function.
4613 1998-05-14 Damon Lipparelli <lipp@primus.com>
4615 * winslots.h: close comment
4617 1998-05-16 Kirill M. Katsnelson <kkm@kis.ru>
4619 * callproc.c: Removed declared and unused variable Qbuffer_file_type.
4621 * bufslots.h: Removed buffer_file_type slot.
4623 * buffer.c (complex_vars_of_buffer): Removed buffer_file_type from
4625 (complex_vars_of_buffer): Removed buffer-file-type variable and
4626 its default reference.
4628 1998-05-15 Kirill M. Katsnelson <kkm@kis.ru>
4630 * faces.c (complex_vars_of_faces): Defined
4631 Vvertical_divider_face.
4632 (vars_of_faces): Staticpro it.
4634 * faces.h: Externed Vvertical_divider_face.
4636 * redisplay-x.c (x_output_vertical_divider): Use
4637 Vvertical_divider_face to draw the divider instead of modeline
4640 * redisplay-msw.c (mswindows_output_vertical_divider): Draw
4641 divider face using Vvertical_divider_face background.
4642 Fix drawing spacing gaps around the divider.
4644 1998-05-14 Didier Verna <verna@inf.enst.fr>
4646 * redisplay-x.c (x_output_vertical_divider): removed hard-wired
4647 values for the vertical divider line width and spacing. Use the
4648 cached values from the window structure instead.
4649 (x_divider_width): ditto.
4651 * window.c (specifier_vars_of_window): new specifiers:
4652 vertical-divier -line-width and -spacing.
4653 (vertical_divider_global_width_changed): formerly known as
4654 vertical_divider_shadow_thickness_changed.
4656 * winslots.h: new slots: vertical_specifier _line_width and
4657 _spacing. Plus corrected a comment typo.
4659 1998-05-15 Kirill M. Katsnelson <kkm@kis.ru>
4661 * window.h: Declared window_divider_width().
4663 * console-stream.c (stream_divider_width): Removed method.
4664 (console_type_create_stream): And declaration for it.
4666 * redisplay.c (pixel_to_glyph_translation): Use
4667 window_divider_width() instead of divider_width redisplay method.
4668 (pixel_to_glyph_translation): Fix top divider edge calculation
4669 when scrollbar is on top.
4671 * window.c (window_divider_width): New function, an outphaser for
4672 divider_width redisplay method.
4673 (window_right_gutter_width): Use it.
4674 (specifier_vars_of_window): For vertical-divider-{spacing,line-width}
4675 specifiers, set fallback values differently on TTYs, and document
4676 the behavior of these on TTYs in the docstrings.
4678 * scrollbar.c (update_scrollbar_instance): Use
4679 window_divider_width() instead of divider_width redisplay method.
4681 * console.h (struct console_methods): Removed divider_width_method.
4683 * redisplay-tty.c (tty_divider_width): Removed device method.
4684 (console_type_create_redisplay_tty): Removed definition for it.
4685 (tty_output_vertical_divider): Respect the value returned by
4686 window_divider_width thus divider line width specification.
4688 * redisplay-msw.c (mswindows_divider_width): Removed device method.
4689 (console_type_create_redisplay_mswindows): Removed definition for it.
4690 (mswinodws_output_vertical_divider): Respect the value returned by
4691 window_divider_width thus divider line width specification.
4693 1998-05-15 Andy Piper <andyp@parallax.co.uk>
4695 * toolbar-msw.c: guess toolbar frame size a bit more accurately.
4697 1998-05-15 Andy Piper <andyp@parallax.co.uk>
4699 * glyphs-msw.c: resource loading implementation.
4700 (cursor_normalize): new function.
4701 (cursor_validate): ditto.
4702 (cursor_instantiate): ditto.
4703 (cursor_name_to_resource): ditto.
4704 (cursor_possible_dest_types): ditto.
4705 (check_valid_symbol): ditto.
4706 (check_valid_string_or_int): ditto.
4708 1998-05-14 Martin Buchholz <martin@xemacs.org>
4710 * sysdep.c (tty_init_sys_modes_on_device): Treat VSUSP just like
4713 * process-unix.c (process_signal_char): Use VSUSP instead of
4714 non-standard VSWTCH. Always prefer VSUSP to VSWTCH.
4716 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
4718 * specifier.c (specifier_instance): Change locale precedence of
4719 instantiation so window locale has higher priority than buffer
4721 (Fspecifier_instance): Reflect this in docstring.
4722 (Fadd_spec_list_to_specifier): Ditto.
4723 (Fadd_spec_to_specifier): Ditto.
4724 (Fremove_specifier): Ditto.
4726 1998-05-15 Kirill M. Katsnelson <kkm@kis.ru>
4728 ** Dialog separation into a device method from Andy Piper
4730 * emacs.c (main_1): Call console_type_create_dialog_x().
4732 * dialog-x.c (x_popup_dialog_box): Old Fpopup_dialog_box converted
4733 into this device method.
4734 (console_type_create_dialog_x): New function.
4736 * dialog.c (Fpopup_dialog_box): New function.
4737 (syms_of_dialog): Defsubr it.
4739 * console.h (struct console_methods): Declared
4740 popup_dialog_box_method().
4742 * symsinit.h: Defined console_type_create_dialog_{x,mswindows}
4744 1998-05-14 Oliver Graf <ograf@fga.de>
4746 * dragdrop.c (vars_of_dragdrop): dragdrop-protocols created
4747 * frame-x.c (x_cde_transfer_callback): checked for merge errors
4749 1998-05-13 Oliver Graf <ograf@fga.de>
4751 * dragdrop.c (vars_of_dragdrop): provide dragdrop-api
4753 1998-05-15 Kirill M. Katsnelson <kkm@kis.ru>
4755 * console.h (device_metrics): Removed dbcs, input-method-editor
4756 and right-to-left metrics.
4758 * device.c (Fdevice_system_metric): Ditto.
4759 (Fdevice_system_metrics): Ditto.
4760 (syms_of_device): Ditto.
4761 (Fdevice_system_metric): Swapped DEVICE and METRIC parameters back
4764 1998-05-14 Hrvoje Niksic <hniksic@srce.hr>
4766 * line-number.h (mark_line_number_cache): Remove unused
4769 * line-number.c (LINE_NUMBER_FAR): Increase to 32768.
4770 (get_nearest_line_number): Simplify.
4771 (add_position_to_cache): Make the old marker point nowhere.
4773 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
4775 ** Renamed window-divider-map => vertical-divider-map
4776 and event-over-divider-p => event-over-vertical-divider-p,
4777 in the following files/functions:
4779 * events.c (Fevent_over_divider_p):
4780 * keymap.c (get_relevant_keymaps):
4783 * redisplay.h (OVER_V_DIVIDER): Renamed so from OVER_DIVIDER.
4785 * redisplay.c (pixel_to_glyph_translation): Use OVER_V_DIVIDER.
4787 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
4789 * window.c (vertical_divider_changed_in_window): Renamed so.
4790 (specifier_vars_of_window): Defined Vvertical_divider_draggable_p.
4791 (window_needs_vertical_divider_1): Decide whether we need it based
4792 on the value of the above specifier. If separators are unwanted,
4793 put them only if there's no scrollbar between this window and its
4795 (have_undivided_common_edge): New function, helper for the above.
4796 (window_needs_vertical_divider): Return either a cached value,
4797 or clauclate and cache one.
4798 (invalidate_vertical_divider_cache_in_window): Implemented.
4799 (map_windows): Changed return type to int, return the value from
4802 * window.h: Prototype invalidate_vertical_divider_cache_in_window.
4803 (struct window): Added need_vertical_divider_p and
4804 need_vertical_divider_valid_p.
4806 * winslots.h: Added vertical_divider_draggable_p slot.
4808 * scrollbar.c (vertical_scrollbar_changed_in_window): Implemented.
4809 (specifier_vars_of_scrollbar): Used it in all vertical specifiers.
4811 * frame.c (invalidate_vertical_divider_cache_in_frame): New function.
4813 * frame.h (MARK_FRAME_WINDOWS_STRUCTURE_CHANGED): Call
4814 invalidate_vertical_divider_cache_in_frame().
4817 1998-05-14 Andy Piper <andyp@parallax.co.uk>
4819 * toolbar-msw.c: provide correct parameters to TB_SETROWS.
4821 * glyphs-msw.c (mswindows_initialize_image_instance_mask): size
4822 masks correctly and don't select 0.
4824 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
4826 * winslots.h: New file, declaration of some struct window and
4827 struct saved_window members.
4829 * window.h (struct window): Include it, with required preprocessor
4832 * window.c (mark_window): Ditto.
4833 (allocate_window): Ditto.
4834 (struct saved_window): Ditto.
4835 (mark_window_config): Ditto.
4836 (saved_window_equal): Ditto.
4837 (Fset_window_configuration): Ditto.
4839 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
4841 * redisplay-msw.c (mswindows_output_vertical_divider): Syntax fix.
4843 1998-05-12 Didier Verna <verna@inf.enst.fr>
4845 * redisplay-x.c (x_output_vertical_divider): draw shadows around
4846 the divider line. The shadow thickness is currently
4847 hard-wired. This will probably be turned into a specifier soon.
4849 1998-05-12 Didier Verna <verna@inf.enst.fr>
4851 * console.h (struct console_methods): the divider_width console
4852 method now requires a struct window * argument.
4854 * redisplay-x.c (x_divider_width): ditto. Plus remove
4855 X_DIVIDER_WIDTH, X_DIVIDER_SHADOW_THICKNESS.
4856 (x_output_vertical_divider): give a depressed look when the shadow
4857 thickness is negative.
4859 * console-stream.c (stream_divider_width): pass a struct window *
4862 * redisplay-tty.c (tty_divider_width): ditto.
4864 * window.c (window_right_gutter_width): totdi.
4866 * redisplay.c (generate_modeline): ittod.
4868 * scrollbar.c (update_scrollbar_instance): ttido.
4870 * redisplay-msw.c (mswindows_divider_width): ottid.
4871 WARNING: this enables to compile, but the feature is not functional.
4873 * window.h (struct window): new field
4874 vertical_divider_shadow_thickness.
4876 * window.c (specifier_vars_of_window): new specifier
4877 vertical-divider-shadow-thickness.
4878 (vertical_divider_shadow_thickness_changed): new function to
4879 inform redisplay that the window has changed.
4880 (mark_window): handle new field vertical_divider_shadow_thickness
4882 (allocate_window): ditto.
4883 (saved_window_equal): toddi.
4884 (Fset_window_configuration): totid.
4885 (save_window_save): ttdio.
4886 (struct saved_window): new field vertical_divider_shadow_thickness.
4888 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
4890 * device-msw.c (mswindows_device_system_metrics): Support a deluge
4893 1998-05-12 Oliver Graf <ograf@fga.de>
4895 * frame-x.c (x_cde_transfer_callback): fixed for the new protocol
4896 * event-Xt.c (x_event_to_emacs_event): C++ compability
4898 1998-05-14 Hrvoje Niksic <hniksic@srce.hr>
4900 * emacs.c (Fdecode_path): Default SEPCHAR to value of
4903 1998-05-14 Hrvoje Niksic <hniksic@srce.hr>
4905 * emacs.c (vars_of_emacs): Do it here; change the meaning of
4908 * fileio.c (vars_of_fileio): Don't define Vpath_separator here.
4910 1998-05-14 Hrvoje Niksic <hniksic@srce.hr>
4912 * emacs.c (decode_path_1): New function.
4913 (decode_path): Use it.
4914 (Fdecode_path): Renamed from Fdecode_path_internal; use
4917 1998-05-12 Hrvoje Niksic <hniksic@srce.hr>
4919 * macros.c (Fzap_last_kbd_macro_event): New function.
4920 (Fend_kbd_macro): Remove REMOVE_LAST kludge.
4922 1998-05-10 Andy Piper <andyp@parallax.co.uk>
4924 * redisplay-msw.c (mswindows_output_dibitmap_region): make sure
4925 multiple bitmaps are output vertically as well as horizontally.
4926 * (mswindows_output_dibitmap): don't cope with bitmap boundaries
4927 crossing lines this is handled by
4928 mswindows_output_dibitmap_region.
4930 1998-05-12 Martin Buchholz <martin@xemacs.org>
4932 * inline.c: Include eldap.h
4934 * menubar-x.c (x_update_frame_menubar_internal):
4935 Remove: unused variable `container'
4937 1998-05-11 Martin Buchholz <martin@xemacs.org>
4939 * s/aix4.h: Allow AIX 4.3 XEmacs to compile cleanly.
4940 Unfortunately, the resulting temacs still cannot dump.
4942 * symbols.c (symbol_is_constant):
4943 (verify_ok_for_buffer_local):
4944 -Wswitch Warning suppression - add default case to switches.
4946 * redisplay.c (decode_mode_spec): Remove unused variables,
4947 Replace Fcoding_system_property (codesys, Qmnemonic) with
4948 XCODING_SYSTEM_MNEMONIC (codesys);
4949 Fcoding_system_property is for users.
4955 Change empty docstrings into no doc strings at all.
4956 Fix bogus FSF-format docstrings.
4959 Standardize docstrings.
4962 Explain problems with matherr.
4964 * glyphs.c: make DEFUNs etags-readable, i.e. single-line
4967 if BROKEN_SIGIO, then SIGIO wants to be undefined.
4968 if SIGIO and not SIGPOLL, SIGPOLL wants to be SIGIO.\
4969 Fix the weird resultant interaction (causes windows problems)
4973 Take new EMACSBOOTSTRAPLOADPATH into account.
4974 Update documentation strings
4977 - Adjust for luser's CDPATH being set to something weird.
4978 - Take into account bash 2.02's tendency to print the cwd when
4979 using CDPATH. Always use `cd ./foo' instead of `cd foo'.
4980 - fix the run-temacs target to use $(DUMPENV)
4981 - fix the run-puremacs target to use $(DUMPENV)
4982 - fix the `depend' target to properly $(RM) the right files
4983 - Generate a better TAGS file for XEmacs' lisp code using
4984 hand-crafted regexps.
4985 - Use standard coding conventions for modules/Makefile.in
4987 1998-05-12 Didier Verna <verna@inf.enst.fr>
4989 * redisplay.c: removed the scrolling modeline code that didn't
4990 make it for 21.0. To be continued ...
4992 1998-05-13 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
4994 * emacs.c (Fdecode_path_internal): Removed bogus handling of nil
4995 and empty string inputs.
4997 1998-05-12 Hrvoje Niksic <hniksic@srce.hr>
4999 * redisplay-x.c (x_output_vertical_divider): Fixed typo.
5001 1998-05-10 Oliver Graf <ograf@fga.de>
5003 * event-stream.c (enqueue_misc_user_event_pos): created
5004 * lisp.h (enqueue_misc_user_event_pos): prototype added
5005 * frame-x.c (x_cde_transfer_callback): debug code plus API changes
5006 * emacs.c: call vars_of_dragdrop
5007 * dragdrop.c (vars_of_dragdrop): provide dragdrop
5009 1998-05-11 Oliver Graf <ograf@fga.de>
5011 * frame-x.c (x_cde_transfer_callback): return at correct pos
5012 * event-Xt.c (x_event_to_emacs_event): changed format of drop
5013 object for MIME (see comment in dragdrop.c)
5014 * dragdrop.c: API change documented in comment
5015 removed provide of dragdrop [is provided by dragdrop.el]
5017 1998-05-12 Kirill M. Katsnelson <kkm@kis.ru>
5019 * window.c (window_needs_vertical_divider): Enable vertical
5020 dividers for every non-rightmost window.
5021 (window_left_gutter_width): Left gutter consists of mythical
5022 toolbar and a virtual scrollbar.
5023 (window_right_gutter_width): The right one may have a divider
5026 * scrollbar.c (update_scrollbar_instance): Position vertical
5027 scrollbar left to divider if the latter present.
5029 * redisplay.h: Declared OVER_DIVIER constant.
5031 * redisplay.c (pixel_to_glyph_translation): Handle OVER_DIVIDER
5034 * redisplay-x.c (x_output_vertical_divider): Output divider along
5035 the right side of the window, down to window bottom. Swapped
5036 foreground and background colors so it is visible by default.
5038 * redisplay-tty.c (tty_output_vertical_divider): Uncondiionally
5039 stick the divider to the right window side.
5041 * redisplay-msw.c (mswindows_redisplay_deadbox_maybe): Fixed
5043 (mswindows_divider_width): Ask system for user preferred value.
5044 (mswindows_output_vertical_divider): Always output the divider on
5045 the right side of a window, down to bottom.
5047 * keymap.c (get_relevant_keymaps): Route mouse button events which
5048 happened over a window divider through window-divider-map.
5049 (Fkey_binding): Documented that in the docstring.
5050 Defined the variable Vwindow_divider_map.
5052 * events.c (Fevent_over_divider_p): Added this function.
5054 * events.h: EXFUNed it.
5056 1998-05-12 Kirill M. Katsnelson <kkm@kis.ru>
5058 * toolbar.c (update_frame_toolbars): Re-layout frame windows if
5059 toolbar geometry is suspected to change.
5061 1998-05-11 Jonathan Harris <jhar@tardis.ed.ac.uk>
5065 Condition dnd and dde code on HAVE_DRAGNDROP.
5067 1998-05-11 Hrvoje Niksic <hniksic@srce.hr>
5069 * events.c (format_event_object): Print space as SPC etc.
5071 1998-05-11 Hrvoje Niksic <hniksic@srce.hr>
5073 * print.c (print_internal): In the default case, abort() if
5074 ERROR_CHECK_TYPECHECK.
5076 * fileio.c (Fmake_temp_name): Doc fix.
5078 1998-05-10 Hrvoje Niksic <hniksic@srce.hr>
5080 * xgccache.c (describe_gc_cache): Define only if DEBUG_XEMACS.
5082 * undo.c (Fprimitive_undo): Fixed typo.
5084 1998-05-11 Hrvoje Niksic <hniksic@srce.hr>
5086 * fns.c (concat): Signal error on integer argument.
5088 1998-05-10 Kirill M. Katsnelson <kkm@kis.ru>
5090 * console.h (device_metrics): Prefixed each constatnt with DM_
5092 * device.c: (Fdevice_system_metric): Renamed so from plural form
5093 (metrics); Changed parameters order and added DEFAULT parameter;
5094 Unabbreviated some metric constants; Fixed and untabified doc string.
5095 (Fdevice_system_metrics): Added. Returns a plist of all provided
5098 * device-msw.c (mswindows_device_system_metrics): Renamed
5099 device_metrics enum constants.
5100 Return Qunbound instead of Qnil.
5102 * device-tty.c (tty_device_system_metrics): Ditto.
5104 * device-x.c (x_device_system_metrics): Ditto.
5106 1998-05-10 Andy Piper <andyp@parallax.co.uk>
5108 * redisplay-msw.c: implement background pixmaps (really!). Make
5109 sure bg color is transparent if we have bg pmaps.
5110 * (mswindows_output_string) (mswindows_clear_region): output bg
5112 * (mswindows_output_dibitmap_region): new function.
5113 * (mswindows_output_dibitmap): output offset pixmaps, blt masks in
5114 the bg color rather than transparently.
5116 * toolbar-msw.c: use masks if they exist.
5118 * glyphs-msw.c: set up masks correctly.
5120 * event-msw.c: typedef SOCKET if cygwin and not msg select().
5122 1998-05-10 Hrvoje Niksic <hniksic@srce.hr>
5124 * regex.c (re_match_2_internal): Check for quit.
5126 1998-05-10 Hrvoje Niksic <hniksic@srce.hr>
5128 * frame.c (Ffocus_frame): New function.