1 1999-06-12 MORIOKA Tomohiko <tomo@etl.go.jp>
3 * redisplay-x.c (separate_textual_runs): Run `ccl_driver' with
6 * file-coding.c (mule_decode): Run `ccl_driver' with
8 (mule_encode): Run `ccl_driver' with `CCL_MODE_ENCODING'.
10 * mule-ccl.c (CCL_WRITE_CHAR): Refer `conversion_mode'.
11 (ccl_driver): Add new argument `conversion_mode'.
12 (Fccl_execute): Run `ccl_driver' with `CCL_MODE_ENCODING'.
13 (Fccl_execute_on_string): Likewise [perhaps it is better to add
14 new optional argument].
16 * mule-ccl.h (CCL_MODE_ENCODING): New macro.
17 (CCL_MODE_DECODING): New macro.
18 (ccl_driver): Add new argument `conversion_mode'.
20 1999-06-03 MORIOKA Tomohiko <tomo@etl.go.jp>
22 * file-coding.c (coding_system_from_mask): Use `raw-text' instead
24 (complex_vars_of_mule_coding): Use `raw-text' as the coding-system
25 of coding-category `no-conversion'.
27 1999-06-03 MORIOKA Tomohiko <tomo@etl.go.jp>
29 * file-coding.c (Qraw_text): New variable.
30 (syms_of_mule_coding): Add new symbol `raw-text'.
31 (complex_vars_of_mule_coding): Add new coding-system `raw-text';
32 define coding-system `binary' independently; define coding-system
33 `no-conversion' as an alias for `raw-text'.
35 * file-coding.h (Qraw_text): New variable.
37 1999-05-20 MORIOKA Tomohiko <tomo@etl.go.jp>
39 * mule-charset.c (complex_vars_of_mule_charset): Registry of
40 japanese-jisx0208-1978 should not match with "jisx0208.1983" nor
43 1999-06-08 SL Baur <steve@xemacs.org>
45 * s/decosf4-0.h: Explicitly #undef SYSTEM_MALLOC.
47 1999-06-06 Hrvoje Niksic <hniksic@srce.hr>
49 * fns.c (MIME_LINE_LENGTH): Default to 72, as in mimencode and
51 (base64_decode_1): Signal errors instead of returning -1.
53 1999-06-07 Hrvoje Niksic <hniksic@srce.hr>
55 * mule-charset.c (Fmake_char): Update docstring.
57 1999-06-07 Hrvoje Niksic <hniksic@srce.hr>
59 * fns.c (Fstring_lessp): Actually increment the Bufbyte pointers.
61 1999-06-05 Hrvoje Niksic <hniksic@srce.hr>
63 * fns.c (base64_decode_1): Allow and ignore any non-base64
66 1999-05-27 Olivier Galibert <galibert@pobox.com>
68 * emacs.c (Fdump_emacs): Add clear_message() lost with the removal
69 of report_pure_usage().
71 1999-06-04 Hrvoje Niksic <hniksic@srce.hr>
73 * fns.c (Fstring_lessp): Remove O(n^2) under Mule.
75 1999-06-04 XEmacs Build Bot <builds@cvs.xemacs.org>
77 * XEmacs 21.2.15 is released
79 1999-06-01 Hirokazu FUKUI <fukui@atesoft.advantest.co.jp>
81 * frame.c (Fset_mouse_position):
82 (Fset_mouse_pixel_position):
83 * window.c (Fsplit_window):
84 (Fmove_to_window_line):
85 Fix crash when invoking functions with an already-deleted window
88 * indent.c (vertical_motion_1):
90 (Fvertical_motion_pixels):
91 * window.c (Fwindow_displayed_text_pixel_height):
92 Fix error message when invoking functions with an already-deleted
95 1999-06-01 Jan Vroonhof <vroonhof@math.ethz.ch>
97 * sysdep.c (request_sigio_on_device): Guard against glibc
98 2.1's stub streams implementation.
100 1999-06-03 SL Baur <steve@xemacs.org>
103 * emacs.c: Implement x.y.z version numbers
104 From Jan Vroonhof <vroonhof@math.ethz.ch>
106 1999-05-20 MORIOKA Tomohiko <tomo@etl.go.jp>
108 * mule-charset.c (complex_vars_of_mule_charset): Registry of
109 japanese-jisx0208-1978 should not match with "jisx0208.1983" nor
112 1999-06-03 SL Baur <steve@xemacs.org>
115 * device-x.c: rename session option to wmcommand.
116 From Oliver Graf <ograf@rhein-zeitung.de>
118 1999-05-27 Hrvoje Niksic <hniksic@srce.hr>
120 * fns.c (Fsubstring): Don't traverse the same region twice with
121 charcount_to_bytecount().
123 1999-06-03 SL Baur <steve@steve1.m17n.org>
125 * m/alpha.h (SYSTEM_MALLOC): Fix indented preprocessor directive
128 * s/decosf4-0.h: Defining ORDINARY_LINK here is redundant (and it
129 doesn't really work as is implied by the commentary).
130 Don't define SYSTEM_MALLOC so the old GNU malloc can be used.
132 1999-06-02 SL Baur <steve@steve1.m17n.org>
134 * symsinit.h: Declare vars_of_ntproc.
135 * emacs.c (main_1): Call it.
137 * ntproc.c (syms_of_ntproc): Move variable initializations from
139 (vars_of_ntproc): ... to here [new function].
141 * file-coding.c (syms_of_file_coding): Rename.
142 (vars_of_file_coding): Ditto.
143 (complex_vars_of_file_coding): Ditto.
145 * symsinit.h: Rename *_mule_coding to *_file_coding.
147 * emacs.c (main_1): Call them by the proper name.
149 * device-msw.c (syms_of_device_mswindows): Move variable
150 initializations from here ...
151 (vars_of_device_mswindows): ... to here.
153 * chartab.c (vars_of_chartab): New function.
155 * symsinit.h: New function, vars_of_chartab.
157 * emacs.c (main_1): Call it.
159 * mule-canna.c (syms_of_mule_canna): Move CANNA initialization ...
160 (vars_of_mule_canna): ... to here.
162 * mule-ccl.c (vars_of_mule_ccl): New function. Move variable
163 initializations out of syms_of_mule_ccl.
165 * symsinit.h: Declare new function vars_of_mule_ccl.
167 * emacs.c (main_1): Call it.
169 1999-05-27 Hrvoje Niksic <hniksic@srce.hr>
171 * fns.c (base64_decode_1): Ignore whitespace.
173 1999-05-27 Hrvoje Niksic <hniksic@srce.hr>
175 * mule-charset.c (Fmake_char): Strip the eighth bit off ARG1 and
178 1999-05-21 Andy Piper <andy@xemacs.org>
180 * xselect.c: deleted.
182 * symsinit.h: declare select initialisation.
184 * select.h: new file. declare commonly used select functions and
187 * select.c: new file. generalised from xselect.c.
188 (clean_local_selection_data): moved from xselect.c.
189 (get_local_selection): ditto. device specific pieces called via a
191 (handle_selection_clear): ditto.
192 (Fown_selection_internal): renamed and generalised from
193 Fx_own_selection_internal. moved from xselect.c.
194 (Fdisown_selection_internal): ditto.
195 (Fselection_owner_p): ditto.
196 (Fselection_exists_p): ditto.
197 (Fget_selection_internal): ditto.
198 (syms_of_select): new function. QXXXX values moved from xselect.c
199 (vars_of_select): new function. selection_converter_alist,
200 lost_selection_hooks moved and renamed from xselect.c
202 * select-x.c: renamed from xselect.c.
203 (x_own_selection): converted to device specific. non-X-specific
204 bits moved to select.c.
205 (x_get_foreign_selection): ditto.
206 (x_disown_selection): ditto.
207 (x_selection_exists_p): ditto.
208 (console_type_create_select_x): new function.
210 * select-msw.c (mswindows_own_selection): new device method to set
211 the clipboard when we 'own' the selection.
212 (mswindows_get_foreign_selection): new device method to get the
214 (mswindows_disown_selection): new device method to delete the
215 selection when we 'disown' it.
216 (console_type_create_select_mswindows): new function.
218 * emacs.c (main_1): add select to things to initialise.
220 * console.h (struct console_methods): new console methods for
223 * Makefile.in.in (x_objs): xselect.c renamed to select-x.c
225 1999-05-20 Hrvoje Niksic <hniksic@srce.hr>
227 * print.c (long_to_string): Install a faster version.
229 1999-05-16 Andy Piper <andy@xemacs.org>
231 * ntproc.c (syms_of_ntproc): default
232 win32-start-process-share-console to t.
234 1999-05-14 Hrvoje Niksic <hniksic@srce.hr>
236 * config.h.in: Do it here.
238 * bytecode.c: Don't define ERROR_CHECK_TYPECHECK here.
240 1999-05-14 Andy Piper <andy@xemacs.org>
242 * toolbar-msw.c (mswindows_output_toolbar): hash on something
245 1999-05-14 XEmacs Build Bot <builds@cvs.xemacs.org>
247 * XEmacs 21.2.14 is released
249 1999-05-12 Andy Piper <andy@xemacs.org>
251 * ntproc.c (sys_spawnve): kludge argv[0] in a MS compatible way.
253 1999-05-11 Gunnar Evermann <ge204@eng.cam.ac.uk>
255 * emacs.c (Frun_emacs_from_temacs): (re)alloc natgs+2 entries for
256 run_temacs_argv array -- fixes random memory corruption crash
258 1999-05-12 Jan Vroonhof <vroonhof@math.ethz.ch>
260 * window.c (Fcurrent_window_configuration):
261 Save minibuffer height;
263 * window.c (set_window_configuration): use it.
265 1999-05-10 Robert Pluim <rpluim@bigfoot.com>
267 * lisp.h (NNUNGCPRO): fix typo in name of DEBUG_GCPRO version
269 1999-04-21 Jan Vroonhof <vroonhof@math.ethz.ch>
271 * redisplay.c (redisplay_window): Do not put data
272 in the line start cache if it is not guaranteed to be correct
274 1999-04-02 Jan Vroonhof <vroonhof@math.ethz.ch>
276 * window.c (struct window_config): Removed frame
278 (window_config_equal): No longer compare frame sizes.
279 (Fset_window_configuration): Resize old top window to fit in the
280 current frame directly, no longer use a fake frame resize.
281 (Fcurrent_window_configuration): No longer save frame size
283 1999-05-11 Andy Piper <andy@xemacs.org>
285 * ntproc.c (sys_spawnve): actually assign argv[0] instead of the
288 1999-05-10 Hrvoje Niksic <hniksic@srce.hr>
290 * sysdep.c (init_system_name): If gethostname gives a proper
291 domain name, don't look further for one.
293 1999-05-09 Hrvoje Niksic <hniksic@srce.hr>
295 * symbols.c (Fintern): Avoid frequent XSYMBOL (foo).
296 (Fintern_soft): Accept a symbol argument.
298 1999-05-06 Hrvoje Niksic <hniksic@srce.hr>
300 * symbols.c (Fintern): ...do it here.
302 * lread.c (read_atom): Don't handle keywords here.
304 1999-05-06 Hrvoje Niksic <hniksic@srce.hr>
306 * symbols.c (reject_constant_symbols): Just use SYMBOL_IS_KEYWORD.
308 1999-05-03 Olivier Galibert <galibert@pobox.com>
310 * lisp.h (SYMBOL_IS_KEYWORD): A symbol can be a keyword only if it
311 is interned in the main obarray.
313 1999-04-23 Gunnar Evermann <ge204@eng.cam.ac.uk>
315 * menubar-x.c (pre_activate_callback): set accelerator field in
316 "No menu" entries to nil. Avoid crash in
317 command_builder_operate_menu_accelerator
319 1999-05-03 Olivier Galibert <galibert@pobox.com>
321 * symeval.h (symbol_value_forward_lheader_initializer): Ditto.
323 * lisp.h (DEFUN): Fix lrecord header initialisation.
325 1999-05-02 Andy Piper <andy@xemacs.org>
327 * objects-msw.c (mswindows_font_instance_truename): add a ';'.
329 * ntproc.c (sys_kill): cast using MS mandated defines.
331 1999-04-29 Andy Piper <andy@xemacs.org>
333 * m/intel386.h: remove redundant definitions.
335 * s/mingw32.h: new header for mingw32.
337 * unexnt.c: (open_input_file): function moved to nt.c.
338 (close_file_data): ditto.
339 (rva_to_section): function moved to ntproc.
341 * symsinit.h: declare syms_of_ntproc();
343 * objects-msw.c (mswindows_font_instance_truename): new function.
345 * ntproc.c: remove many warnings.
346 (_sys_read_ahead): moved from nt.c and made static.
347 (rva_to_section): moved from unexnt.c but not defined under
349 (win32_executable_type): implement what we can for mingw32
351 (sys_spawnve): fix bad MULE/GCPRO bug in filename handling.
353 * ntheap.h: remove declarations of functions that are now static.
355 * ntheap.c: support static heap.
357 * nt.h: conditionalise X_OK definition.
359 * nt.c: eliminate many warnings and support mingw32.
360 (open_input_file): function moved from unexnt.c and made static
361 (close_file_data): ditto.
362 (_sys_read_ahead): moved to ntproc.c
364 * emacs.c: make sure syms_of_ntptroc gets called under windows.
366 * console-msw.h: support mingw32.
367 * getloadavg.c: ditto.
374 * config.h.in: dont turn on DEBUG_ENCAPSULATION by default because
375 some systems don't have all of the encapsulated system calls.
377 * callproc.c: warning elimination.
378 * dired-msw.c: ditto.
379 * process-nt.c: ditto.
382 * Makefile.in.in: tweak : and ; for building under mswindows.
384 1999-04-26 Michael Harnois <mharnois@willinet.net>
386 * eldap.c (allocate_ldap): Adapt to the new semantics of
387 alloc_lcrecord_type().
389 1999-03-16 MORIOKA Tomohiko <tomo@etl.go.jp>
391 * file-coding.c (DECODE_HANDLE_END_OF_CONVERSION): fixed.
393 1998-09-04 MORIOKA Tomohiko <morioka@jaist.ac.jp>
395 * Delete mule-coding.c and mule-coding.h because they are not
398 1999-04-22 Gunnar Evermann <ge204@eng.cam.ac.uk>
400 * objects.c (print_font_instance): Check for NILP(f->device),
401 i.e. Vthe_null_font_instance.
402 (font_instance_truename_internal): ditto.
403 (Ffont_instance_properties): ditto.
405 1999-04-22 Olivier Galibert <galibert@pobox.com>
407 * lrecord.h (DECLARE_LRECORD): lrecord_implementation isn't an
410 1999-04-22 Hrvoje Niksic <hniksic@srce.hr>
412 * Makefile.in.in (tests): Don't mention tests explicitly -- makes
413 it easier to add new ones.
415 1999-04-22 Hrvoje Niksic <hniksic@srce.hr>
417 * symbols.c (reject_constant_symbols): Ditto.
418 (init_symbols_once_early): Ditto.
420 * print.c (print_symbol): Don't use ->obarray.
422 * symbols.c (Funintern): Ditto.
424 * alloc.c (Fmake_symbol): Don't set ->obarray.
426 * lisp.h (struct Lisp_Symbol): Removed .obarray field.
428 * symbols.c (init_symbols_once_early): Removed
429 Vpure_uninterned_symbol_table.
430 (Fintern): Don't store to ->obarray field.
432 1999-04-22 Hrvoje Niksic <hniksic@srce.hr>
434 * data.c (vars_of_data): Default debug_issue_ebola_notices to 0.
435 (eq_with_ebola_notice): Remove abracadabra support.
437 1999-04-11 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
439 * eldap.c (Fldap_search_internal): Add a new parameter `withdn' to
440 retrieve the distinguished names of entries
442 1999-03-08 Martin Buchholz <martin@xemacs.org>
444 * lread.c (read_escape): Make hex escapes read only two hex digits.
446 1999-04-05 Olivier Galibert <galibert@pobox.com>
448 * Makefile.in.in: Remove puresize-adjust.h and recursive makes.
449 * make-src-depend: Remove puresize-adjust.h.
450 * src-headers: Remove puresize-adjust.h.
451 * config.h.in: Kill everything purespace/gung-ho related.
453 * dbxrc: Make gung-ho mandatory.
456 * lrecord.h: Make gung-ho mandatory. Remove pure flag and add
457 c_readonly and lisp_readonly. Remove implementation arrays.
458 (C_READONLY_RECORD_HEADER_P): Added.
459 (LISP_READONLY_RECORD_HEADER_P): Added.
460 (SET_C_READONLY_RECORD_HEADER): Added.
461 (SET_LISP_READONLY_RECORD_HEADER): Added.
463 * lisp.h: Kill everything purespace/non gung-ho related.
464 (CHECK_C_WRITEABLE): Added.
465 (CHECK_LISP_WRITEABLE): Added.
467 (LISP_READONLY): Added.
469 * lisp-union.h: Make gung-ho mandatory.
470 * lisp-disunion.h: Ditto.
472 * alloc.c: Kill everything purespace/non gung-ho related. Fix all
473 set_lheader_implementation calls.
475 (lisp_readonly): Added.
476 (make_string_nocopy): Added.
477 (Fpurecopy): Changed to do nothing. Kept the old documentation
478 for reference purposes for the next patches.
479 (sweep_lcrecords_1): Don't free C readonly lcrecords.
480 (sweep_bit_vectors_1): Don't free C readonly bitvectors.
481 (SWEEP_FIXED_TYPE_BLOCK): Don't free C readonly lrecords.
483 * fns.c: Make gung-ho mandatory.
484 (Fput): CHECK_IMPURE -> CHECK_LISP_WRITEABLE.
488 * data.c: Make gung-ho mandatory.
489 (pure_write_error): Removed.
490 (c_write_error): Added.
491 (lisp_write_error): Added.
492 (Fsetcar): CHECK_IMPURE -> CHECK_LISP_WRITEABLE.
496 * symbols.c: Make gung-ho mandatory. make_pure_pname ->
497 make_string or make_string_nocopy. Fix various
500 * lread.c: Remove everything purespace related.
501 (Flocate_file_clear_hashing): purified -> c_readonly.
502 (locate_file): Ditto.
503 (read_atom): make_pure_pname -> make_string.
505 * emacs.c (Frun_emacs_from_temacs): Remove purespace stats
507 (Fdump_emacs): Ditto.
509 * print.c (print_internal): Make gung-ho mandatory.
510 * ntheap.c (sbrk): Ditto.
511 * mem-limits.h (EXCEEDS_LISP_PTR): Ditto
512 * symeval.h (symbol_value_forward_lheader_initializer): Ditto.
514 * sheap.c (more_static_core): Remove puresize-adjust.h from
517 * syntax.c (complex_vars_of_syntax): make_pure_string ->
519 * keymap.c (make_keymap): Fix alloc_lcrecord_type.
520 (vars_of_keymap): make_pure_string -> make_string_nocopy.
521 * events.c (deinitialize_event): Fix set_lheader_implementation.
523 * specifier.c (make_specifier_internal): Fix alloc_lcrecord.
524 * menubar-x.c (set_frame_menubar): Fix alloc_lcrecord_type.
525 * mule-charset.c (make_charset): Ditto.
526 * console.c (allocate_console): Ditto.
527 (complex_vars_of_console): Ditto.
528 * file-coding.c (allocate_coding_system): Ditto.
529 * device.c (allocate_device): Ditto
530 * gui-x.c (gcpro_popup_callbacks): Ditto.
531 * extents.c (allocate_extent_auxiliary): Ditto.
532 (allocate_extent_info): Ditto.
533 (copy_extent): Ditto.
534 * glyphs.c (allocate_image_instance): Ditto.
535 (allocate_glyph): Ditto.
536 * frame.c (allocate_frame_core): Ditto.
537 * database.c (allocate_database): Ditto.
538 * tooltalk.c (make_tooltalk_message): Ditto.
539 (make_tooltalk_pattern): Ditto.
540 * rangetab.c (Fmake_range_table): Ditto.
541 (Fcopy_range_table): Ditto.
542 * process.c (make_process_internal): Ditto.
543 * chartab.c (Fmake_char_table): Ditto.
544 (make_char_table_entry): Ditto.
545 (copy_char_table_entry): Ditto.
546 (Fcopy_char_table): Ditto.
547 * elhash.c (make_general_lisp_hash_table): Ditto.
548 (Fcopy_hash_table): Ditto.
549 * buffer.c (allocate_buffer): Ditto.
550 (complex_vars_of_buffer): Ditto.
551 * event-stream.c (allocate_command_builder): Ditto.
552 * objects.c (Fmake_color_instance): Ditto.
553 (Fmake_font_instance): Ditto.
554 (vars_of_objects): Ditto.
555 * toolbar.c (update_toolbar_button): Ditto.
556 * window.c (allocate_window): Ditto.
557 (make_dummy_parent): Ditto.
558 (Fcurrent_window_configuration): Fix alloc_lcrecord.
559 (vars_of_window): Fix make_lcrecord_list.
560 * faces.c (allocate_face): Fix alloc_lcrecord_type. pure_list ->
562 * lstream.c (Lstream_new): Fix make_lcrecord_list.
563 * opaque.c (make_opaque): Fix alloc_lrecord.
564 (make_opaque_list): Fix alloc_lrecord_type.
566 1999-04-19 Hrvoje Niksic <hniksic@srce.hr>
568 * process.c (Fstart_process_internal): Ditto.
570 * ntproc.c (sys_spawnve): Use Vlisp_EXEC_SUFFIXES when calling
573 * glyphs-x.c (x_locate_pixmap_file): Ditto.
575 * glyphs-msw.c (mswindows_locate_pixmap_file): Fix call to
578 * emodules.c (vars_of_module): New variable Vmodule_extensions.
579 (emodules_load): Use it when calling locate_file().
581 * emacs.c (main_1): Use Vlisp_EXEC_SUFFIXES when calling
584 * callproc.c: Vlisp_EXEC_SUFFIXES: New variable.
585 (vars_of_callproc): Initialize it.
586 (Fcall_process_internal): Use it when calling locate_file().
588 * alloc.c (disksave_object_finalization): Use
589 Flocate_file_clear_hashing().
591 * lread.c (Flocate_file_clear_hashing): Clear all hasing when
592 given `t' as argument.
594 1999-04-18 Hrvoje Niksic <hniksic@srce.hr>
596 * lread.c (locate_file): Expand `pathel' when appropriate.
597 (Flocate_file_clear_hashing): Expand path elements.
598 (Flocate_file_clear_hashing): Use Vlocate_file_hash_table.
600 * dired.c (make_directory_hash_table): Create the hash-table only
601 if the directory open is successful.
603 * lread.c (decode_mode_1): New function.
604 (decode_mode): Ditto.
605 (Flocate_file): Use them.
606 (Flocate_file): Expand FILENAME.
607 (locate_file_map_suffixes): New function.
608 (locate_file_in_directory_mapper): New function.
609 (locate_file_in_directory): Use locate_file_in_directory_mapper()
610 and locate_file_map_suffixes().
611 (locate_file_construct_suffixed_files): Use
612 locate_file_map_suffixes().
613 (locate_file_without_hash): Don't GCPRO path.
614 (Flocate_file_clear_hashing): Use EXTERNAL_LIST_LOOP.
615 (syms_of_lread): Remove Qlocate_file_hash_table.
616 (locate_file_find_directory_hash_table): Use
617 Vlocate_file_hash_table.
618 (locate_file_refresh_hashing): Ditto.
620 * lread.c: Renamed read_objects to Vread_objects.
622 1999-04-16 Olivier Galibert <galibert@pobox.com>
624 * mule-charset.c: Generally resync with fsf 20.3 charset
626 (make_charset): Add long and short name. Use id instead of
628 (Fmake_charset): Ditto.
629 (Fmake_reverse_direction_charset): Ditto.
630 (Fcharset_property): Ditto.
631 (Fcharset_short_name): Added.
632 (Fcharset_long_name): Added.
633 (Fcharset_description): Renamed from charset-doc-string.
634 (syms_of_mule_charset): Synced symbols.
635 (complex_vars_of_mule_charset): Synced charsets.
637 * mule-charset.h: Removed leading byte (uses id instead), added
640 1999-04-15 Hrvoje Niksic <hniksic@srce.hr>
642 * file-coding.c (Fdefine_coding_system_alias): New function.
644 1999-04-08 Olivier Galibert <galibert@pobox.com>
646 * mule-charset.c (complex_vars_of_mule_charset): Allow all iso8859
647 and -ascii fonts for displaying ascii instead of iso8859-1 only.
649 1998-12-14 Hrvoje Niksic <hniksic@srce.hr>
651 * extents.c (set_extent_glyph_1): Make sure that the glyph we
652 attach to the extent is valid.
654 1998-12-12 Hrvoje Niksic <hniksic@srce.hr>
656 * dired.c (user_name_completion): Mule-ize.
657 (user_name_completion): Use xmalloc/xrealloc/xfree.
658 (user_name_completion): Use DO_REALLOC.
659 (user_name_completion): Cut down the number of static variables;
661 (user_name_completion): Username completion is always
664 1998-12-06 Hrvoje Niksic <hniksic@srce.hr>
666 * fns.c (base64_decode_1): Remove COUNTER.
667 (base64_decode_1): Accept CRLF in addition to CR.
668 (base64_decode_1): Disallow a stray character after final EOF; the
669 check was probably a remnant of buggy recode code.
671 1998-12-05 Hrvoje Niksic <hniksic@srce.hr>
673 * fns.c (init_provide_once): Provide `base64'.
675 1998-12-04 Hrvoje Niksic <hniksic@srce.hr>
677 * fns.c (XMALLOC_UNBIND): Include SPECCOUNT argument, for clarity.
678 (Fbase64_encode_region): If buffer is read-only, bail out early.
679 (Fbase64_decode_region): Ditto.
680 (Fbase64_encode_region): Initialize SPECCOUNT to pacify the
682 (Fbase64_encode_string): Ditto.
683 (Fbase64_decode_region): Ditto.
684 (Fbase64_decode_string): Ditto.
686 1998-11-25 Hrvoje Niksic <hniksic@srce.hr>
688 * dired.c (Fdirectory_files): Remove redundant code.
690 1999-03-05 Philip Aston <philipa@parallax.co.uk>
692 * frame-msw.c Make raise-frame restore minimised windows.
694 1999-03-05 Philip Aston <philipa@parallax.co.uk>
696 * device-msw.c: Fix DEFVAR format - Death to phantom quote, and
699 1999-03-05 Philip Aston <philipa@parallax.co.uk>
701 * toolbar-msw.c Consider captions when deciding whether to rebuild
702 toolbar. This fixes the initial toolbar display for those of us
703 who don't like captions. These patches applied by Andy Piper.
705 1999-03-12 XEmacs Build Bot <builds@cvs.xemacs.org>
707 * XEmacs 21.2.13 is released
709 1999-03-12 SL Baur <steve@xemacs.org>
711 * file-coding.c: Guard ucs table initialization with ifdef MULE.
713 1999-03-10 Stephen J. Turnbull <turnbull@sk.tsukuba.ac.jp>
715 * file-coding.c: docstring and comment improvements.
716 (decode_ucs4) flag possible data loss with comment.
718 1999-03-10 Martin Buchholz <martin@xemacs.org>
720 * file-coding.c (Fset_ucs_char): add CHECK_INT, CHECK_CHAR
724 (decode_coding_ucs4):
725 (encode_coding_ucs4):
726 (detect_coding_utf8):
727 (decode_coding_utf8):
729 (encode_coding_utf8):
730 Add CHECK_* macros where needed to avoid crashes.
731 #ifdef out all composite character support using
732 #ifdef ENABLE_COMPOSITE_CHARS
733 Use normal XEmacs coding standards.
735 Remove CODING_STREAM_COMPOSE, CODING_STREAM_DECOMPOSE.
737 1998-09-08 MORIOKA Tomohiko <morioka@jaist.ac.jp>
739 * file-coding.c (make-coding-system): Add description about
741 (detection_state): Modify to implement ucs-4 and utf-8.
742 (detect_coding_type): Likewise.
743 (detect_coding_ucs4): New implementation.
744 (detect_coding_utf8): New implementation.
745 (encode_utf8): fixed.
746 (syms_of_mule_coding): Rename `ucs4' and `utf8' to `ucs-4' and
749 1998-09-08 MORIOKA Tomohiko <morioka@jaist.ac.jp>
751 * file-coding.c (mule_char_to_ucs4): Encode 94x94 chars in ISO
752 2022 registry to private area.
754 1998-09-07 MORIOKA Tomohiko <morioka@jaist.ac.jp>
756 * file-coding.c (encode_utf8): New function.
757 (encode_coding_utf8): New implementation.
759 1998-09-07 MORIOKA Tomohiko <morioka@jaist.ac.jp>
761 * file-coding.c (ucs_to_mule_table): New variable; abolish
763 (mule_to_ucs_table): renamed from `Vmule_to_ucs_table'.
764 (set-ucs-char): New function.
765 (ucs_to_char): New function.
766 (ucs-char): New function.
767 (set-char-ucs): New function.
768 (char-ucs): New function.
769 (decode_ucs4): Use `ucs_to_char'.
770 (complex_vars_of_mule_coding): Abolish `ucs-to-mule-table' and
773 1998-09-06 MORIOKA Tomohiko <morioka@jaist.ac.jp>
775 * chartab.h: EXFUN `Fget_char_table'.
777 * file-coding.c (encode_ucs4): New function.
778 (encode_coding_ucs4): Use `encode_ucs4'.
780 1998-09-06 MORIOKA Tomohiko <morioka@jaist.ac.jp>
782 * file-coding.c (decode_coding_ucs4): New implementation.
784 1998-09-06 MORIOKA Tomohiko <morioka@jaist.ac.jp>
786 * file-coding.c (decode_coding_ucs4): fixed.
788 * file-coding.c (Vmule_to_ucs_table): New variable.
789 (mule_char_to_ucs4): New function.
790 (encode_coding_ucs4): New implementation.
791 (complex_vars_of_mule_coding): Define variable
794 1998-09-06 MORIOKA Tomohiko <morioka@jaist.ac.jp>
796 * file-coding.c (decode_coding_utf8): New implementation.
798 1998-09-06 MORIOKA Tomohiko <morioka@jaist.ac.jp>
800 * file-coding.c (decode_coding_utf8): fixed.
802 1998-09-06 MORIOKA Tomohiko <morioka@jaist.ac.jp>
804 * file-coding.c (Vucs_to_mule_table): New variable.
805 (decode_ucs4): Refer `Vucs_to_mule_table'.
806 (complex_vars_of_mule_coding): Define variable
809 1998-09-04 MORIOKA Tomohiko <morioka@jaist.ac.jp>
811 * file-coding.c (detect_coding_ucs4): New function (not
813 (decode_coding_ucs4): New function.
814 (encode_coding_ucs4): New function (not implemented yet).
815 (detect_coding_utf8): New function (not implemented yet).
816 (decode_coding_utf8): New function.
817 (encode_coding_utf8): New function (not implemented yet).
818 (make-coding-system): New type `ucs4' and `utf8'.
819 (coding-system-type): Likewise.
820 (detection_state): Add `ucs4' and `utf8'.
821 (detect_coding_type): Likewise.
822 (mule_decode): Use `decode_coding_ucs4' and `decode_coding_utf8'.
823 (mule_encode): Use `encode_coding_ucs4' and `encode_coding_utf8'.
824 (decode_ucs4): New function (very incomplete).
825 (syms_of_mule_coding): Add `ucs4' and `utf8'.
827 * file-coding.h: Add definitions for UCS-4 and UTF-8.
829 1999-03-08 Martin Buchholz <martin@xemacs.org>
832 (non_ascii_valid_char_p):
833 (lookup_composite_char):
834 (composite_char_string):
835 (make-composite-char):
836 (composite-char-string):
837 (syms_of_mule_charset):
838 (complex_vars_of_mule_charset):
839 * mule-charset.h (LEADING_BYTE_COMPOSITE):
842 * file-coding.h (CODING_STATE_COMPOSITE):
843 (CODING_STATE_ISO2022_LOCK):
845 (LEADING_BYTE_COMPOSITE):
846 * file-coding.c (struct iso2022_decoder):
850 (encode_coding_iso2022):
851 #ifdef out all composite character support using
852 #ifdef ENABLE_COMPOSITE_CHARS
854 * alloc.c: Define lrecord_coding_system only if ! FILE_CODING
856 1999-03-04 Takeshi YAMADA <yamada@cslab.kecl.ntt.co.jp>
858 * fns.c (Fbase64_encode_string): Calculate `allength' in the same
859 way of `Fbase64_encode_region'.
861 1999-02-18 Katsumi Yamaoka <yamaoka@jpl.org>
863 * fns.c (base64_encode_1): Don't add a newline at the tail.
865 1999-03-08 Andy Piper <andy@xemacs.org>
867 * menubar-msw.c (displayable_menu_item): correct off-by-one &
870 1999-03-07 Martin Buchholz <martin@xemacs.org>
872 * console-stream.h (struct stream_console):
873 * event-unixoid.c (event_stream_unixoid_select_console):
874 (event_stream_unixoid_unselect_console):
875 * print.c (Fexternal_debugging_output):
876 * sysdep.c (reset_one_device):
877 * console-stream.c (stream_init_console):
878 (stream_delete_console):
879 (allocate_stream_console_struct): move into stream_init_console.
880 (free_stream_console_struct): move into stream_delete_console.
881 Use `fd' only for file descriptors.
882 Therefore, rename members of struct stream_console.
884 * systime.h: Unix98 says sys/time.h should define select(), but
885 some systems define that in unistd.h. So include that file always.
887 * glyphs.h (MAYBE_IIFORMAT_METH): Don't use leading `_'. Avoid
888 multiple evaluation of first arg. Do proper do {} while (0) wrapping.
889 (HAS_IIFORMAT_METH_P): Prevent macro from being used in
891 (MAYBE_IIFORMAT_DEVMETH): Use standard internal macro naming convention.
895 Add #include <stdio.h>.
896 Some versions of assert.h use printf() without #include'ing stdio.h
898 * free-hook.c (blocktype): Add gcpro5_type to blocktype.
899 (log_gcpro): Remove unused variable FRAME.
900 (show_gcprohist): Ansify.
903 * frame-x.c (x_delete_frame): Don't use FRAME_X_SHELL_WIDGET(f)
904 after it's just been XtDestroy'ed!
906 1999-02-18 Martin Buchholz <martin@xemacs.org>
908 * opaque.c (print_opaque):
912 Egcs 1.1.1 seems to have a bug where
913 INTP (p->size_or_chain)
914 will crash XEmacs. Fix by introducing intermediate variable.
916 * sound.c (Fdevice_sound_enabled_p): Fix compiler warning.
918 * dired.c (Fdirectory_files):
919 (Ffile_name_completion):
920 (Ffile_name_all_completions):
921 (file_name_completion):
922 - Use `directory' instead of `dirname' to sync with FSF Emacs and
923 avoid compiler warnings.
924 - Fix up docstrings so that C variables match documentation.
926 1999-03-05 Martin Buchholz <martin@xemacs.org>
928 * alloc.c: (garbage_collect_1): Reorg code to make scope of local
929 variables as small as possible to help out the compiler and the maintainer.
931 * alloc.c: (disksave_object_finalization):
932 Set all the *-load-path variables to
933 nil, not just load-path itself. This gets the locate-file hash
934 tables garbage collected BEFORE dump, and has the side effect of
935 preventing crashes on OSF4.0+egcs.
940 - Clean up gdb/dbx debugging support.
941 - Storing an EMACS_INT in an enum is not 64-bit clean!
942 - So change the enum to a set of separate variables.
943 - Add test cases to help debug the debugging support!
944 - Add `lisp-shadows' and `run-temacs' targets for dbx.
945 - Both dbx and gdb have been tested now.
947 1999-03-05 XEmacs Build Bot <builds@cvs.xemacs.org>
949 * XEmacs 21.2.12 is released
951 1999-02-16 Kazuyuki IENAGA <ienaga@jsys.co.jp>
953 * device-x.c: Support to find best visual without flashing.
955 1999-03-02 Paul Keusemann <pkeusem@visi.com>
957 * database.c (berkdb_map): Add flags argument to cursor call (must
958 be 0 according to docs) required for Berkeley DB 2.6.4 and later.
960 1999-03-03 Martin Buchholz <martin@xemacs.org>
964 General cleanup. Get free-hook.c working again.
965 Remove unused functions:
966 make_strings_hash_table, copy_hash, expand_hash_table.
970 Always use new ANSI-style function prototypes.
972 * unexalpha.c (unexec): Never use implicit int.
974 * sgiplay.c (close_sound_file):
976 (restore_audio_port):
981 (write_mulaw_8_chunk):
982 (write_linear_chunk):
983 (write_linear_32_chunk):
984 (initialize_audio_port):
988 (adjust_audio_volume):
989 (get_current_volumes):
991 Always use new ANSI-style function prototypes.
992 Use unistd.h for missing prototypes.
994 * unexelfsgi.c (round_up):
996 (unexec): Always use new ANSI-style function prototypes
998 * elhash.c (struct Lisp_Hash_Table): rename golden to golden_ratio
1000 * console.h (struct console_methods): Always use full ANSI prototypes
1002 * emacs.c (__sti__iflPNGFile_c___): Always use full ANSI prototypes
1004 1999-03-02 Andy Piper <andy@xemacs.org>
1006 * event-stream.c (init_event_stream): make sure native mswindows
1007 gets an appropriate event loop.
1009 1999-02-22 Andy Piper <andy@xemacs.org>
1011 * frame-msw.c (mswindows_make_frame_visible): use SW_SHOW rather
1012 than SW_SHOWNORMAL to prevent resizing of maximised frames.
1013 (mswindows_raise_frame): remove comment.
1015 1999-03-01 XEmacs Build Bot <builds@cvs.xemacs.org>
1017 * XEmacs 21.2.11 is released
1019 1999-02-25 SL Baur <steve@xemacs.org>
1021 * mule-charset.c (Qleading_byte): New variable to implement
1022 charset-leading-byte function.
1023 (Fcharset_property): Use it.
1024 (syms_of_mule_charset): Initialize it.
1025 From Kazuyuki IENAGA <ienaga@jsys.co.jp>
1027 1999-02-17 Kazuo Oishi <oishi@ae.agr.yamaguchi-u.ac.jp>
1029 * glyphs-x.c (cononvert_EImage_to_XImage): correct
1030 bytes per pixel counting.
1032 1999-02-15 Andy Piper <andy@xemacs.org>
1034 * s/cygwin32.h (BROKEN_SIGIO): don't define this as it causes
1037 1999-02-16 MORIOKA Tomohiko <morioka@jaist.ac.jp>
1039 * fns.c (Fbase64_encode_string): New optional argument
1042 1999-02-16 Martin Buchholz <martin@xemacs.org>
1044 * gdbinit: Fix up commands to run temacs. Add lisp-shadows command.
1045 * alloc.c (xcalloc): undef xcalloc, just like xmalloc
1047 1999-02-10 Martin Buchholz <martin@xemacs.org>
1049 * s/bsdos4.h: New file. Port to BSDI BSD/OS 4.0.
1050 * xintrinsic.h: Redo CONST support for X11 R4 compatibility.
1052 1999-02-05 XEmacs Build Bot <builds@cvs.xemacs.org>
1054 * XEmacs 21.2.10 is released
1056 1999-02-02 Gleb Arshinov <gleb@cs.stanford.edu>
1058 * process-nt.c (nt_send_process):
1059 Fix for process-send-region/process-send-string breaking when size
1060 of the input > 128 chars: change maximum chunk size for process
1061 stream from 512 to 128, thus guaranteeing that ntpipe_shove_writer
1064 1999-02-02 XEmacs Build Bot <builds@cvs.xemacs.org>
1066 * XEmacs 21.2.9 is released
1068 1999-01-30 Martin Buchholz <martin@xemacs.org>
1070 * bytecode.c (funcall_compiled_function): Call
1071 UNBIND_TO_GCPRO instead of UNBIND_TO_GCPRO_VARIABLES_ONLY.
1073 * backtrace.h (UNBIND_TO_GCPRO_VARIABLES_ONLY):
1074 #ifdef 0 out unused macro.
1076 1999-01-27 Martin Buchholz <martin@xemacs.org>
1078 * gui.c (gui_parse_item_keywords_internal): Make static.
1080 1999-01-21 Andy Piper <andy@xemacs.org>
1082 * glyphs-msw.c: add xface support.
1083 (mswindows_xface_instantiate): new function copied from glyphs-x.c
1084 (image_instantiator_format_create_glyphs_mswindows): do device
1085 specific initialisation for xfaces.
1086 (xbm_create_bitmap_from_data): line data must be padded to a word
1089 * glyphs-x.c (xface_validate): moved to glyphs.c
1090 (xface_normalize): ditto.
1091 (xface_possible_dest_types): ditto.
1092 (image_instantiator_format_create_glyphs_x): do device specific
1093 initialisation for xfaces.
1095 * glyphs.h: declare xface symbol.
1097 * glyphs.c: move generic xface support here.
1098 (xface_validate): moved from glyphs-x.c
1099 (xface_normalize): ditto.
1100 (xface_possible_dest_types): ditto.
1101 (image_instantiator_format_create): xface declarations moved from
1104 1999-01-14 Adrian Aichner <aichner@ecf.teradyne.com>
1106 * event-stream.c (vars_of_event_stream): Fixing documentation.
1108 1999-01-17 Gunnar Evermann <ge204@eng.cam.ac.uk>
1110 * glyphs-eimage.c (gif_instantiate): Correct handling of
1111 interlaced gifs to avoid writing past the end of the eimage
1114 1999-01-13 Hrvoje Niksic <hniksic@srce.hr>
1116 * search.c (Freplace_match): Handle single backslash at end of
1119 1999-01-12 William M. Perry <wmperry@aventail.com>
1121 * eldap.c (Fldap_open): slow down interrupts around ldap_open to
1122 avoid connection errors.
1124 1999-01-12 Andy Piper <andy@xemacs.org>
1126 * redisplay-output.c (redisplay_update_line): backout change that
1127 shouldn't have gone ine.
1129 1999-01-09 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
1131 * eldap.c (vars_of_ldap): Do no provide `ldap' here since it may
1132 collide with ldap.el
1134 1999-01-11 Andy Piper <andy@xemacs.org>
1136 * redisplay.h (DISPLAY_LINE_HEIGHT): new macro.
1137 (DISPLAY_LINE_YPOS): new macro.
1139 * redisplay-msw.c (mswindows_output_string): use it.
1140 (mswindows_output_pixmap): ditto.
1141 (mswindows_output_display_block): ditto.
1143 * redisplay-output.c (redisplay_output_display_block): new
1144 function. just call the devmeth, maybe insert some generic code
1146 (compare_display_blocks): use it.
1147 (output_display_line): ditto.
1148 (redisplay_unmap_subwindows_maybe): new function. potentially
1149 unmap subwindows in the given area.
1151 * glyphs.c (reset_subwindow_cachels): unmap subwindows that we are
1154 1999-01-10 J. Kean Johnston <jkj@sco.com>
1156 * Makefile.in.in: Set value of moduledir
1157 - Changed DUMPENV to include $(MODULEPATH)
1158 - Added install rule to install header files for use by ellcc.
1160 * config.h.in: Added INHIBIT_SITE_MODULES
1161 - Added HAVE__DLERROR
1162 - Added HAVE_DLFCN_H
1163 - Added DLSYM_NEEDS_UNDERSCORE
1167 * emodules.c: New file containing dynamic loading code.
1169 * emodules.h: New file.
1171 * emacs.c: Added variables Vmodule_directory,
1172 Vsite_module_directory, Vconfigure_module_directory and
1173 Vconfigure_site_module_directory.
1174 - (main_1): Added new variable inhibit_site_modules and command
1175 line options `-no-site-modules' and `--no-site-modules'.
1176 - (main_1): Call syms_of_module() instead of syms_of_dll().
1177 - (main_1): Call vars_of_module().
1178 - (vars_of_emacs): Introduce inhibit-site-modules,
1179 module-directory, configure-module-directory,
1180 site-module-directory, and configure-site-module-directory to the
1183 * lisp.h: Declare load_module and list_modules, as well as
1184 Vmodule_directory, Vsite_module_directory,
1185 Vconfigure_module_directory and Vconfigure_site_module_directory.
1187 * paths.h.in: Added PATH_MODULESEARCH and PATH_SITE_MODULES.
1188 - Added correct support for site-lisp directory.
1190 * symbols.c (defsubr): Modified to allow modules to add new subrs
1192 - (defsubr_macro): Same.
1193 - (defvar_magick): Only use purespace when not initialized, so
1194 that loaded modules can still add symbols.
1196 * symsinit.h: Add definitions for syms_of_module(),
1197 vars_of_module(). Removed syms_of_dll().
1199 * sysdll.c: Include dlfcn.h if HAVE_DLFCN_H is defined.
1200 - (dll_variable): Take DLSYM_NEEDS_UNDERSCORE into account.
1201 - (dll_error): use _dlerror() if HAVE__DLERROR is defined.
1203 * s/sco5-shr.h (C_SWITCH_SYSTEM): Correct for modern gcc and
1204 explicitly pass -belf for native cc.
1206 * s/sco5.h (LIB_GCC): Use -print-libgcc-file-name instead of
1207 hard-coding the library name.
1209 1999-01-01 <martin@xemacs.org>
1211 * device-x.c (Fx_set_font_path):
1212 Add proper cast to permit compilation under C++.
1214 * buffer.c (directory_is_current_directory):
1215 Add proper casts to permit compilation under C++.
1217 1998-12-30 Damon Lipparelli <lipp@primus.com>
1219 * event-msw.c (mswindows_wnd_proc):
1220 Fixed failure when building with MSVC 5.
1222 1998-12-29 Martin Buchholz <martin@xemacs.org>
1224 * file-coding.c (decode_coding_iso2022):
1225 - Prevent crash when decoding ISO7/Lock detected files
1226 - the usual martin fiddling
1228 1998-12-29 Jonathan Harris <jhar@tardis.ed.ac.uk>
1232 Fixed failures when building with MSVC.
1233 * unexnt.c (dump_bss_and_heap):
1234 Removed compiler warning by removing bss_data variable.
1236 1998-12-18 Jim Radford <radford@robby.caltech.edu>
1238 * device-x.c (Fx_set_font_path, Fx_get_font_path): New functions
1239 so that packages that distribute their own fonts can access them.
1241 1998-12-28 Andy Piper <andy@xemacs.org>
1243 * glyphs-msw.c (mswindows_button_instantiate): cope with buttons
1244 that have an image provided.
1246 * glyphs.h: add Q_image decl.
1248 * glyphs-widget.c new functionality allowing images in
1250 (check_valid_glyph_or_image): new function to validate
1251 glyphs passed in through :image.
1252 (widget_normalize): new function. convert :image parameters into
1253 real glyphs if not already so.
1254 (widget_instantiate_1): mess with size parameters to be similar to
1256 (syms_of_glyphs_widget): new keyword :image.
1257 (image_instantiator_format_create_glyphs_widget): normalize
1258 buttons and allow :image.
1260 1998-12-27 Andy Piper <andy@xemacs.org>
1262 * frame-msw.c (mswindows_init_frame_1): warning elimination.
1264 * glyphs-widget.c (check_valid_anything): no-op function.
1265 (check_valid_callback): check callbacks in gui_items.
1266 (check_valid_symbol): as it sounds.
1267 (check_valid_string_or_vector): ditto.
1268 (widget_validate): modified for descriptors that are vectors or
1269 sequences of keyword/val pairs.
1270 (widget_instantiate_1): ditto.
1271 (image_instantiator_format_create_glyphs_widget): allow gui_item
1272 keywords in the instantiator.
1274 * gui.c (gui_parse_item_keywords_internal): renamed from
1275 gui_parse_item_keywords but taking error behaviour.
1276 (gui_parse_item_keywords): use it.
1277 (gui_parse_item_keywords_no_errors): ditto.
1278 (gui_item_add_keyval_pair): add Error_behavior flag and only
1279 signal invalid keywords if required.
1281 * gui.h: new gui signatures.
1283 * menubar.c (menu_parse_submenu_keywords): use new
1284 gui_item_add_keyval_pair signature.
1286 * s/cygwin32.h: modify PTY_ITERATION to eliminate warnings.
1288 1998-12-28 Martin Buchholz <martin@xemacs.org>
1290 * XEmacs 21.2.8 is released.
1292 1998-12-28 Martin Buchholz <martin@xemacs.org>
1294 * editfns.c (get_home_directory):
1295 (user-home-directory): Simplify.
1298 * callproc.c (child_setup):
1299 - Environment variables were being passed to inferior processes
1300 using internal encoding.
1301 - Convert to external encoding.
1302 - Rename local var `tem' to better name `tail'.
1303 - Use Flength instead of `manual' calculation.
1305 * buffer.c (kill-buffer):
1307 (set-buffer-major-mode):
1309 - Fix up parameter names to correspond to docstrings.
1310 - Don't use `bufname' when a buffer will do as well.
1311 - Remove one unneeded GCPRO.
1313 * buffer.h (initial_directory):
1314 * buffer.c (init_initial_directory):
1315 - use correct conversions between internal and external format.
1316 (directory_is_current_directory): new function
1317 (init_buffer): convert initial_directory to internal format.
1318 - solve crashes when current working directory is non-ASCII.
1320 * alloc.c (xmalloc):
1323 - remove stupid casts, since XEmacs requires an ANSI C system.
1324 (lrecord_type_index): replace abort() with more readable assert().
1326 (reset_lcrecord_stats): remove.
1327 (sweep_lcrecords_1):
1328 - replace call to reset_lcrecord_stats() with call to xzero().
1330 1998-12-27 Martin Buchholz <martin@xemacs.org>
1332 * process-unix.c (unix_create_process):
1333 - Fix crash invoking program with non-ASCII name.
1334 Try invoking xemacs with SHELL=/bin/sh, then M-x shell.
1335 - Remove unused variable `env'.
1336 - Rename `temp' to better name `save_errno'.
1337 - Reorganize code for clarity. But still too chicken to nuke the
1340 1998-12-24 Martin Buchholz <martin@xemacs.org>
1342 * XEmacs 21.2.7 is released.
1344 1998-12-23 Martin Buchholz <martin@xemacs.org>
1346 * glyphs.c (decode_device_ii_format):
1348 - Use GET_C_STRING_FILENAME_DATA_ALLOCA with char *, not Extbyte *.
1350 * glyphs-x.c (x_subwindow_instantiate):
1351 - A image instance mask was being assigned to a image instance type!
1352 - X_SUBWINDOW_INSTANCE_DATA (ii) is not an lvalue in C++.
1354 * glyphs-msw.c (mswindows_initialize_dibitmap_image_instance):
1356 * glyphs-x.h: Make indentation consistent.
1358 * emacs.c (Fdump_emacs): Remove Steve Martin merge artifacts.
1360 * glyphs-widget.c (check_valid_glyph): Warning suppression.
1362 - #ifdef it out, since it's not actually used yet (FIX THIS!)
1366 Move declarations of decode_device_ii_format and
1367 decode_image_instantiator_format into glyphs.h where they belong.
1369 1998-12-22 Martin Buchholz <martin@xemacs.org>
1371 * frame-x.c (x_delete_frame): Revert part of my changes at the
1372 suggestion of Gunnar Evermann - unfortunately no one really
1373 understands this code.
1375 * callproc.c (init_callproc): code cleanup.
1377 * free-hook.c (malloc):
1382 (block_input_malloc):
1383 (block_input_realloc):
1384 * device-x.c (x_delete_device):
1385 * emacs.c (voodoo_free_hook):
1386 * events.c (print_event):
1388 (CHECK_EVENT_TYPE2):
1389 (CHECK_EVENT_TYPE3):
1390 Use proper prototypes.
1391 Make C_E_T macros a little faster.
1392 Pedantic fiddly little changes. You really don't care.
1394 1998-12-22 Andy Piper <andy@xemacs.org>
1396 * redisplay-output.c (redisplay_clear_region): make sure that
1397 fg/bg colors get set even when we are in the border area.
1399 1998-12-13 Martin Buchholz <martin@xemacs.org>
1401 * console-msw.c: Function definitions follow coding standards
1402 - This prevents e.g. find-tag on Lisp_Event finding DEVENT
1404 1998-12-11 Martin Buchholz <martin@xemacs.org>
1406 * events.h (struct timeout_data):
1407 * event-tty.c (tty_timeout_to_emacs_event):
1408 * event-msw.c (mswindows_wm_timer_callback):
1409 * event-Xt.c (Xt_timeout_to_emacs_event):
1410 * event-msw.c (mswindows_cancel_dispatch_event):
1411 Make sure Lisp_Objects inside events are initialized to Qnil, not
1412 Qnull_pointer, which is now illegal.
1414 1998-12-10 Martin Buchholz <martin@xemacs.org>
1416 * lisp.h: Fix up prototypes to match alloc.c
1418 1998-12-08 Martin Buchholz <martin@xemacs.org>
1420 * windowsnt.h: Remove `support' for using index and rindex
1422 * filelock.c (current_lock_owner):
1423 - Change uses of index -> strchr, rindex -> strrchr
1425 1998-12-07 Martin Buchholz <martin@xemacs.org>
1427 * sysdep.c (set_descriptor_non_blocking):
1428 Since O_NONBLOCK is now always #defined, make use of fcntl
1429 conditional on F_SETFL being defined.
1431 * console-msw.c (DHEADgER):
1440 - max_align_t should not be visible to the user of the
1442 - use Bufbyte instead of char
1443 - parens around (FOOP (obj)) are always redundant.
1444 If they were necessary, we should fix the macro instead.
1445 - Always use string_data(foo) instead of foo->data.
1448 1998-12-06 Martin Buchholz <martin@xemacs.org>
1450 * frame-msw.c (mswindows_init_frame_1):
1451 - use make_lisp_hash_table, not Fmake_hash_table
1455 * alloc.c (make_vector): remove travesty
1459 (make_bit_vector_internal):
1461 (make_bit_vector_from_byte_vector):
1463 - make vector_equal a little faster.
1464 - Don't use variable name `new'.
1465 - Use size_t instead of EMACS_INT.
1466 - usual Martin-style pointless bit-twiddling.
1472 Make mapcar faster. In particular, make
1473 (mapc #'identity long-string)
1474 MUCH faster under Mule.
1475 * tests/automated/lisp-tests.el: Test 'em!
1477 * bytecode.c (Ffetch_bytecode): Fix crash when loading lazy-loaded
1480 1998-12-01 Martin Buchholz <martin@xemacs.org>
1482 * menubar-x.c (menu_item_descriptor_to_widget_value_1): Always use
1483 Qnil, not NULL, to initialize `null' Lisp_Objects.
1485 1998-11-29 Hrvoje Niksic <hniksic@srce.hr>
1487 * specifier.c (display_table_validate): Update.
1489 * redisplay.c (create_text_block): Use them.
1491 * glyphs.c (display_table_entry): New function.
1492 (get_display_tables): Ditto.
1494 1998-12-15 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
1496 * eldap.c (toplevel): Mention that eldap.c compiles with
1498 (Fldap_open): Use `GET_C_STRING_OS_DATA_ALLOCA'
1499 (Fldap_search_internal): Ditto
1501 1998-12-11 Martin Buchholz <martin@xemacs.org>
1503 * event-msw.c (mswindows_cancel_dispatch_event):
1504 Gratuitous code prettification
1507 1998-12-07 Hrvoje Niksic <hniksic@srce.hr>
1509 * fns.c (Fnconc): Fix use of wrong_type_argument().
1511 * floatfns.c (Ffloat): Fix docstring.
1512 (Ffloat): Fix use of wrong_type_argument().
1514 (extract_float): Ditto.
1519 1998-12-06 Martin Buchholz <martin@xemacs.org>
1521 * frame-msw.c (mswindows_init_frame_1):
1522 - use make_lisp_hash_table, not Fmake_hash_table
1526 * alloc.c (make_vector): remove travesty
1530 (make_bit_vector_internal):
1532 (make_bit_vector_from_byte_vector):
1534 - make vector_equal a little faster.
1535 - Don't use variable name `new'.
1536 - Use size_t instead of EMACS_INT.
1537 - usual Martin-style pointless bit-twiddling.
1543 Make mapcar faster. In particular, make
1544 (mapc #'identity long-string)
1545 MUCH faster under Mule.
1546 * tests/automated/lisp-tests.el: Test 'em!
1548 * bytecode.c (Ffetch_bytecode): Fix crash when loading lazy-loaded
1551 1998-12-02 Didier Verna <verna@inf.enst.fr>
1553 * menubar-x.c (menu_item_descriptor_to_widget_value_1): set the
1554 accelerator field to nil for labels.
1556 1998-12-16 Jonathan Harris <jhar@tardis.ed.ac.uk>
1558 * menubar-msw.c (displayable_menu_item):
1559 Escape occurrences of '&' and support occurrences of the
1560 '%_' accelerator indicator in menus.
1562 1998-11-26 Didier Verna <verna@inf.enst.fr>
1564 * dired.c (Fdirectory_files): use make_string instead of
1565 make_ext_string on the filename. The conversion external->internal
1566 format is already done in sys_readdir.
1568 1998-12-15 Gunnar Evermann <ge204@eng.cam.ac.uk>
1570 * glyphs.c (normalize_image_instantiator): GCPRO instantiator
1572 1998-12-16 Jonathan Harris <jhar@tardis.ed.ac.uk>
1575 (Belatedly) added Kirill to list of file's authors.
1576 emacs_mswindows_quit_p: Don't process WM_PAINT messages in
1577 quit checking. WM_PAINT messages cause redisplay, but
1578 windows' states are not necessarily stable when this function
1581 1998-12-17 Andy Piper <andy@xemacs.org>
1583 * strftime.c (zone_name): CONSTify.
1585 1998-12-15 Andy Piper <andy@xemacs.org>
1587 * glyphs-msw.c (mswindows_combo_instantiate): ditto.
1588 (mswindows_widget_property): return Qunbound when no property available.
1589 (mswindows_button_property): ditto.
1590 (mswindows_combo_property): ditto.
1591 (mswindows_widget_set_property): ditto.
1593 * glyphs-widget.c (check_valid_item_list): use properties.
1595 * glyphs.h (struct Lisp_Image_Instance): we have properties now.
1597 * glyphs.c (Fset_image_instance_property): allow setting of arbitrary properties.
1598 (Fimage_instance_property): ditto.
1599 * glyphs-widget.c (widget_property): ditto.
1600 (widget_set_property): ditto.
1602 * frame-msw.c (mswindows_set_frame_pointer): SetCursor() as well
1603 as setting the class cursor so that GC actually changes the
1606 * config.h: don't undef MAIL_USE_POP.
1608 1998-12-13 Andy Piper <andy@xemacs.org>
1611 (image_instantiator_format_create_glyphs_mswindows): line ->
1613 (mswindows_label_instantiate): ditto. Play with window flags.
1614 (image_instantiator_format_create_glyphs_mswindows): ditto.
1615 (vars_of_glyphs_mswindows): provide Qlabel as we support it now.
1617 * glyphs-widget.c (widget_instantiate_1): re-jig autosizing to
1618 cope with lines and labels.
1619 (static_instantiate): use widget_instantiate_1.
1621 (image_instantiator_format_create_glyphs_widget): ditto.
1623 1998-12-10 Andy Piper <andy@xemacs.org>
1625 * Makefile.in.in (objs): add gui.o
1627 1998-12-10 Andy Piper <andy@xemacs.org>
1629 * gui.c: adjust defines of HAVE_POPUPS so that we can build with
1632 1998-12-09 Andy Piper <andy@xemacs.org>
1634 * glyphs.c (finalize_image_instance): mark glyphs changed when an
1635 image instance is removed so that the subwindow cache gets reset
1636 and thus destroyed images get GC'd.
1638 1998-12-08 Andy Piper <andy@xemacs.org>
1640 * gui-msw.c (mswindows_handle_gui_wm_command): call
1641 MARK_SUBWINDOWS_CHANGED.
1643 * glyphs-msw.c (mswindows_finalize_image_instance): make sure
1644 subwindows really get deleted.
1646 * redisplay.c: new variable subwindows_changed[_set].
1647 (redisplay_window): use it.
1648 (redisplay_frame): ditto.
1649 (redisplay_device): ditto.
1650 (redisplay_without_hooks): ditto.
1652 * device.h (MARK_DEVICE_SUBWINDOWS_CHANGED): new macro for
1653 subwindows redisplay as per glyphs equivalent.
1654 * redisplay.h: ditto.
1655 (MARK_SUBWINDOWS_CHANGED): ditto.
1656 (RESET_CHANGED_SET_FLAGS): ditto.
1657 * frame.h (MARK_FRAME_SUBWINDOWS_CHANGED): ditto.
1659 1998-12-07 Andy Piper <andy@xemacs.org>
1661 * frame.c (Fmake_frame): reset subwindow cachels on non-stream
1664 * redisplay.c (redisplay_frame): invalidate subwindow cachels.
1666 * event-msw.c (mswindows_wnd_proc): catch the various WM_CTLCOLOR*
1667 messages and paint widget glyphs as appropriate with their face fg
1670 1998-12-06 Andy Piper <andy@xemacs.org>
1672 * glyphs-msw.c (vars_of_glyphs_mswindows): provide widget types
1673 here rather than in glyphs-widget - do this because we only want
1674 to provide what is really available.
1676 * glyphs.c (Fimage_instance_property): new function to get the
1677 properties of image instances. wires through to console specific
1678 methods and then to widget specific methods.
1679 (Fset_image_instance_property): ditto but for setting widget properties.
1680 (check_valid_face): make extern so that it can be used elsewhere.
1682 * glyphs-widget.c (widget_property): new function. gets the
1683 properties of widgets in general and wires the function through to
1684 widget specific ones.
1685 (widget_set_property): ditto but for setting widget properties.
1687 * glyphs-msw.c (mswindows_combo_instantiate): Add functionality to
1688 add items to the list. Play with window styles a bit to get the
1690 (mswindows_widget_property): break out specific widget properties.
1691 (mswindows_button_property): new function. gets the checked state
1693 (mswindows_combo_property): new function. gets the current
1694 selection in the combo box.
1695 (mswindows_widget_set_property): new function. sets specific
1696 properties of specific widgets.
1698 * glyphs-widget.c (check_valid_item_list): new function. check
1699 that items for a combo-box are just a list of strings.
1700 (combo_validate): new function. check there is an item list.
1701 (widget_instantiate_1): new function. renamed from
1702 widget_instantiate so that we can do slightly different things for
1704 (widget_instantiate): call widget_instantiate_1.
1705 (combo_instantiate): new function to instantiate combo boxes,
1706 defaults height to the pixel height of the number of items in the
1708 (syms_of_glyphs_widget): move widget keywords here.
1709 (image_instantiator_format_create_glyphs_widget): use new combo
1712 1998-12-04 Andy Piper <andy@xemacs.org>
1714 * event-msw.c (mswindows_wnd_proc): mule-ize.
1716 * glyphs.c (pixmap_to_lisp_data): mule-ize.
1718 * glyphs-msw.c (extract_xpm_color_names): mule-ize.
1719 (resource_name_to_resource): ditto.
1720 (mswindows_resource_instantiate): ditto.
1721 (mswindows_widget_instantiate): ditto.
1722 (mswindows_widget_set_property): ditto.
1724 * redisplay-output.c (redisplay_output_subwindow): don't show
1725 subwindows if they are obscured at the edge of the frame, emacs
1726 gets into some sort of redisplay loop otherwise.
1728 * gui.h: prototype gui_item_selected_p.
1730 * gui.c (gui_item_selected_p): new function to determine the
1731 selected state of a gui_item.
1733 * frame.h (struct frame): add subwindows_changed flag.
1735 * redisplay.c (redisplay_frame): call update_frame_subwindows ().
1737 * glyphs.c (update_subwindow): new function to update a
1739 (update_frame_subwindows): new function to update all the
1740 subwindows on a frame.
1742 * console.h (struct console_methods): add update_subwindow.
1744 * glyphs-msw.c (mswindows_widget_property): return selected state
1745 for selected property.
1746 (mswindows_update_subwindow): new function. updates widget glyphs
1747 in redisplay as per menubars or toolbars e.g. selected state.
1748 (console_type_create_glyphs_mswindows): add update_subwindow.
1750 1998-12-03 Andy Piper <andy@xemacs.org>
1752 * console-tty.c (syms_of_console_tty): MULE -> FILE_CODING since
1753 tty coding system things are such.
1755 * glyphs-widget.c (widget_face_font_info): new function for
1756 pulling out height and width metrics for a widget's face.
1757 (widget_text_to_pixel_conversion): calculate pixel sizes of text
1760 * event-msw.c (mswindows_drain_windows_queue): translate messages
1761 that are destined for subwindows. This makes edit fields interact
1762 with the keyboard correctly.
1763 nuke warnings by #ifndef'ing out stuff not required by msg select().
1765 * glyphs.h (INITIALIZE_IMAGE_INSTANTIATOR_FORMAT_NO_SYM): new
1766 macro defining the iiforma without the symbol required by widget.
1767 (INITIALIZE_IMAGE_INSTANTIATOR_FORMAT): use it.
1769 * general.c (syms_of_general): add Qwidget, Qselected.
1771 * faces.c (complex_vars_of_faces): add widget face inheriting from
1774 1998-11-09 Andy Piper <andy@xemacs.org>
1776 * window.h (struct window): add a cache of subwindows on a
1779 * window.c (mark_window): mark the subwindow_instance_cache.
1780 (allocate_window): initialise the subwindow instance_cache.
1782 * toolbar-x.c (x_output_toolbar): call redisplay_clear_region
1783 instead of the devmeth.
1784 (x_clear_toolbar): ditto.
1786 * redisplay-x.c (x_output_display_block): call
1787 redisplay_output_subwindow for subwindows and widgets.
1789 * redisplay-tty.c (tty_output_display_block): add IMAGE_WIDGET to
1790 types to do nothing for.
1792 * lisp.h: declare new widget/subwindow symbols.
1794 * glyphs.c (image_instantiate): cache subwindows on a per-window
1796 (subwindow_possible_dest_types): new function for subwindow dest
1798 (subwindow_instantiate): generic instantiation of a
1799 subwindow. specialised by device multi-methods.
1800 (Fsubwindowp): moved from glyphs-x.c. adapted for glyph-based
1802 (Fimage_instance_subwindow_id): ditto.
1803 (Fresize_subwindow): ditto.
1804 (Fforce_subwindow_map): ditto.
1806 * glyphs-x.c (x_print_image_instance): remove subwindow
1807 stuff. Handled genrically in glyphs.c.
1808 (x_image_instance_equal): ditto.
1809 (x_image_instance_hash): ditto.
1810 (x_finalize_image_instance): delete subwindows when required.
1811 (mark_subwindow) (print_subwindow) (finalize_subwindow)
1812 (subwindow_hash) (Fmake_subwindow): deleted because of new,
1813 glyph-based, subwindow implementation.
1814 (Fsubwindow_height) (Fsubwindow_width) (Fsubwindow_xid): aliased
1816 (Fsubwindowp) (Fresize_subwindow) (Fforce_subwindow_map): moved to
1818 (x_unmap_subwindow): new function to unmap X subwindows.
1819 (x_map_subwindow): new function to map X subwindows.
1820 (x_subwindow_instantiate): new function to instantiate X
1822 (x_resize_subwindow): new function to resize X subwindows.
1823 (console_type_create_glyphs_x): add subwindow functions.
1824 (image_instantiator_format_create_glyphs_x): add device
1825 multi-methods for xpm, xbm and subwindow.
1827 * glyphs.el (subwindow-xid): old alias for new subwindow functions.
1828 (subwindow-width): ditto.
1829 (subwindow-height): ditto.
1831 * glyphs-msw.c (mswindows_widget_instantiate): new function for
1832 generally instantiating ms subwindows. Used by
1833 mswindows_*_instantiate.
1834 (mswindows_edit_instantiate): instantiate an edit field on a
1837 1998-11-04 Andy Piper <andy@xemacs.org>
1839 * symsinit.h: declare new functions.
1841 * redisplay.h: declare new functions.
1843 * redisplay-x.c (x_output_display_block): call
1844 redisplay_clear_region rather than x_clear_region.
1845 (x_output_string): ditto.
1846 (x_output_pixmap): ditto.
1847 (x_clear_to_window_end): ditto.
1848 (x_output_eol_cursor): ditto.
1849 (x_clear_region): only do X specific things. other duties handled
1850 in redisplay_clear_region.
1852 * redisplay-tty.c (tty_clear_region): do tty specific things - some
1853 duties moved to redisplay_clear_region.
1855 * redisplay-output.c (clear_left_border): use
1856 redisplay_clear_region instead of device method.
1857 (clear_right_border): ditto.
1858 (output_display_line): ditto.
1859 (redisplay_output_subwindow): ditto.
1860 (redisplay_clear_top_of_window): ditto.
1861 (redisplay_clear_region): perform duties previously handled by
1862 device methods. call the appropriate device method at the
1863 end. unmap subwindows if necessary.
1865 * redisplay-msw.c (mswindows_output_string): use
1866 redisplay_clear_region instead of mswindows_clear_region.
1867 (mswindows_clear_to_window_end): ditto.
1868 (mswindows_output_display_block): output subwindows when required.
1869 (mswindows_clear_region): only do mswindows specific things,
1870 everything else is now handled in redisplay_clear_region.
1872 * gui.h: add item id hash defines and declare function prototypes.
1874 * gui.c (mark_gui_item): new function for marking gui_items.
1875 (gui_item_hash): generic hash function for generating command ids
1878 * gui-msw.c: new file.
1879 (mswindows_handle_gui_wm_command): new function to handle widget
1882 * glyphs.h (MAYBE_IIFORMAT_DEVMETH): new function for device
1884 (IIFORMAT_HAS_SHARED_METHOD): ditto.
1885 (DEFINE_DEVICE_IIFORMAT): ditto.
1886 (INITIALIZE_DEVICE_IIFORMAT): ditto.
1887 (struct Lisp_Image_Instance): add widget and subwindow data plus
1888 appropriate access functions.
1890 * glyphs.c (decode_device_ii_format): new function for decoding
1891 image instantiator functions based on a device type as well as an
1893 (decode_image_instantiator_format): just call
1894 decode_device_ii_format with nil device.
1895 (add_entry_to_device_ii_format_list): new function for per device
1897 (add_entry_to_image_instantiator_format_list): just call
1898 add_entry_to_device_ii_format_list with nil device.
1899 (check_valid_vector): new function.
1900 (instantiate_image_instantiator): instantiate using per-format
1901 method and then per-format-per-device method (device
1902 multi-methods). signal an error if neither is possible.
1903 (mark_image_instance): cope with subwindows and widgets.
1904 (print_image_instance): ditto.
1905 (image_instance_equal): ditto.
1906 (image_instance_hash): ditto.
1907 (allocate_glyph): ditto.
1908 (glyph_width): ditto.
1909 (glyph_height_internal): ditto.
1910 (xpm_instantiate): removed because of device multi-methods.
1911 (mark_subwindow_cachels): new cachel functions for caching
1912 instantiated subwindows on a per-frame basis. mostly copied from
1913 glyph cachel functions.
1914 (update_subwindow_cachel_data): ditto.
1915 (add_subwindow_cachel): ditto.
1916 (get_subwindow_cachel_index): ditto.
1917 (reset_subwindow_cachels): ditto.
1918 (mark_subwindow_cachels_as_not_updated): ditto.
1919 (unmap_subwindow): generic unmapping of subwindows based on cachel
1921 (map_subwindow): ditto.
1922 (initialize_subwindow_image_instance): generic initialisation of
1924 (syms_of_glyphs): add widget keywords.
1926 * glyphs-x.h (struct x_subwindow_data): convert Lisp_Subwindow to
1929 1998-11-04 Andy Piper <andy@xemacs.org>
1931 * glyphs-widget.c: new file for instantiating widget type glyphs.
1932 (widget_possible_dest_types): new general dest type function for
1934 (widget_validate): ditto.
1935 (initialize_widget_image_instance): ditto
1936 (widget_instantiate): ditto. Sets up fg/bg, gui_item parsing
1937 before handing on control to device multi-methods.
1938 (syms_of_glyphs_widget): new function.
1939 (image_instantiator_format_create_glyphs_widget): new function,
1940 added placeholders for button, edit, combo, scrollbar
1941 (vars_of_glyphs_widget): new function.
1943 * glyphs-msw.h (WIDGET_INSTANCE_MSWINDOWS_HANDLE): new define for
1944 storing window ids of widgets.
1946 * glyphs-msw.c (mswindows_finalize_image_instance): cope with
1947 deletion of widget and subwindow glyphs.
1948 (mswindows_unmap_subwindow): new device function for unmapping
1949 subwindows on a msw frame.
1950 (mswindows_map_subwindow): ditto.
1951 (mswindows_register_image_instance): register instantiated widgets
1952 with the widget hastable.
1953 (mswindows_button_instantiate): instantiate a button type widget
1955 (mswindows_subwindow_instantiate): instanttiate a subwindow on a
1957 (image_instantiator_format_create_glyphs_mswindows): add device
1958 multi-methods for xbm, xpm, subwindow, edit and button.
1960 * frame.h (struct frame): add subwindow_cachels dynarr for caching
1961 information about subwindows visible on the current frame. used by
1962 redisplay_clear_region to unmap subwindows as required.
1964 * frame.c (mark_frame): mark subwindow_cachels.
1965 (allocate_frame_core): instantiate subwindow_cachels.
1967 * frame-msw.c (mswindows_init_frame_1): instntiate and mark the
1970 * event-msw.c (mswindows_wnd_proc): add call to
1971 mswindows_handle_gui_wm_command to handle widget callbacks.
1973 * emacs.c (main_1): add calls to glyphs-widget initialisation
1976 * console.h (struct console_methods): add
1977 unmap/map_subwindow_method for use be redisplay_clear_region to
1978 map and unmap subwindows. Remove xpm and xbm stuff - now dealt
1979 with by image instantiator multi-methods. Add
1980 resize_subwindow_method.
1982 * console-stream.c (stream_clear_region): change signature to
1983 match new generic clear region function.
1985 * Makefile.in.in: add glyphs-widget.o to list of objects.
1987 * console-msw.h (struct mswindows_frame): add widget hashtable for
1988 wiring command ids to callbacks.
1990 1998-12-16 Andy Piper <andy@xemacs.org>
1992 * XEmacs 21.2.6 is released
1994 1998-12-08 Hrvoje Niksic <hniksic@srce.hr>
1996 * md5.c (Fmd5): Correctly initiate string input stream.
1998 * Makefile.in.in (tests): Add md5-tests.el.
2000 1998-12-06 Martin Buchholz <martin@xemacs.org>
2003 * alloc.c (make_vector): remove travesty
2007 (make_bit_vector_internal):
2009 (make_bit_vector_from_byte_vector):
2011 - make vector_equal a little faster.
2012 - Don't use variable name `new'.
2013 - Use size_t instead of EMACS_INT.
2014 - usual Martin-style pointless bit-twiddling.
2020 Make mapcar faster. In particular, make
2021 (mapc #'identity long-string)
2022 MUCH faster under Mule.
2023 * tests/automated/lisp-tests.el: Test 'em!
2025 1998-12-06 Martin Buchholz <martin@xemacs.org>
2027 * bytecode.c (Ffetch_bytecode): Fix crash when loading lazy-loaded
2030 1998-12-13 Martin Buchholz <martin@xemacs.org>
2032 * console-msw.c: Function definitions follow coding standards
2033 - This prevents e.g. find-tag on Lisp_Event finding DEVENT
2035 1998-12-11 Martin Buchholz <martin@xemacs.org>
2037 * events.h (struct timeout_data):
2038 * event-tty.c (tty_timeout_to_emacs_event):
2039 * event-msw.c (mswindows_wm_timer_callback):
2040 * event-Xt.c (Xt_timeout_to_emacs_event):
2041 * event-msw.c (mswindows_cancel_dispatch_event):
2042 Make sure Lisp_Objects inside events are initialized to Qnil, not
2043 Qnull_pointer, which is now illegal.
2045 1998-12-10 Martin Buchholz <martin@xemacs.org>
2047 * lisp.h: Fix up prototypes to match alloc.c
2049 1998-12-09 Andy Piper <andy@xemacs.org>
2051 * glyphs-msw.c (init_image_instance_from_xbm_inline): don't use
2052 XSETINT for assigning lisp objects.
2054 1998-12-07 Martin Buchholz <martin@xemacs.org>
2057 * console-msw.c (DHEADER):
2066 - max_align_t should not be visible to the user of the
2068 - use Bufbyte instead of char
2069 - parens around (FOOP (obj)) are always redundant.
2070 If they were necessary, we should fix the macro instead.
2071 - Always use string_data(foo) instead of foo->data.
2073 1998-12-07 Martin Buchholz <martin@xemacs.org>
2075 * sysdep.c (set_descriptor_non_blocking):
2076 Since O_NONBLOCK is now always #defined, make use of fcntl
2077 conditional on F_SETFL being defined.
2079 1998-12-09 Andy Piper <andy@xemacs.org>
2081 * menubar-msw.c (mswindows_handle_wm_command): add back in checks
2082 that got removed in the merge
2084 1998-11-30 Greg Klanderman <greg@alphatech.com>
2086 * dired.c (vars_of_dired): bugfix for previous conditionalization
2087 of user-name-completion on non- Windows NT.
2089 1998-12-08 Martin Buchholz <martin@xemacs.org>
2091 * windowsnt.h: Remove `support' for using index and rindex
2093 * filelock.c (current_lock_owner):
2094 - Change uses of index -> strchr, rindex -> strrchr
2096 1998-12-06 Martin Buchholz <martin@xemacs.org>
2098 * frame-msw.c (mswindows_init_frame_1):
2099 - use make_lisp_hash_table, not Fmake_hash_table
2102 1998-12-05 XEmacs Build Bot <builds@cvs.xemacs.org>
2104 * XEmacs 21.2.5 is released
2106 1998-11-30 Martin Buchholz <martin@xemacs.org>
2108 * xselect.c (receive_incremental_selection):
2109 * xselect.c (x_get_window_property):
2110 * xmu.c (XmuReadBitmapDataFromFile):
2111 * xmu.c (XmuCursorNameToIndex):
2112 * xgccache.c (describe_gc_cache):
2113 * xgccache.c (gc_cache_lookup):
2114 * xgccache.c (free_gc_cache):
2115 * xgccache.c (make_gc_cache):
2117 * window.c (map_windows_1):
2118 * window.c (Fother_window_for_scrolling):
2119 * window.c (window_scroll):
2120 * window.c (change_window_height):
2121 * window.c (Fsplit_window):
2122 * window.c (window_left_gutter_width):
2123 * window.c (window_modeline_height):
2124 * window.c (invalidate_vertical_divider_cache_in_window):
2125 * window.c (window_needs_vertical_divider_1):
2126 * window.c (update_mirror_internal):
2127 * window.c (SET_LAST_FACECHANGE):
2128 * widget.c (Fwidget_plist_member):
2129 * unexec.c (copy_text_and_data):
2130 * unexcw.c (copy_executable_and_dump_data_section):
2132 * tooltalk.c (struct Lisp_Tooltalk_Pattern):
2133 * tooltalk.c (struct Lisp_Tooltalk_Message):
2134 * toolbar.h (struct toolbar_button):
2135 * toolbar.c (default_toolbar_visible_p_changed_in_window):
2136 * toolbar.c (recompute_overlaying_specifier):
2137 * toolbar.c (toolbar_validate):
2138 * toolbar.c (toolbar_button_at_pixpos):
2139 * toolbar.c (get_toolbar_coords):
2140 * toolbar.c (update_frame_toolbars):
2142 * toolbar-msw.c (mswindows_handle_toolbar_wm_command):
2143 * toolbar-msw.c (mswindows_find_toolbar_pos):
2144 * toolbar-msw.c (mswindows_output_toolbar):
2145 * toolbar-msw.c (mswindows_clear_toolbar):
2154 * sysdep.c (sys_fopen):
2155 * sysdep.c (sys_open):
2156 * sysdep.c (tty_init_sys_modes_on_device):
2157 * sysdep.c (get_eof_char):
2158 * sysdep.c (child_setup_tty):
2159 * sysdep.c (set_descriptor_non_blocking):
2161 * syntax.c (scan_words):
2164 * symeval.h (struct symbol_value_varalias):
2165 * symeval.h (struct symbol_value_forward):
2166 * symbols.c (syms_of_symbols):
2167 * symbols.c (init_symbols_once_early):
2168 * symbols.c (Fbuilt_in_variable_type):
2169 * symbols.c (Fsymbol_value_in_buffer):
2170 * symbols.c (default_value):
2172 * symbols.c (find_symbol_value_quickly):
2173 * symbols.c (store_symval_forwarding):
2174 * symbols.c (set_default_console_slot_variable):
2175 * symbols.c (set_default_buffer_slot_variable):
2176 * symbols.c (verify_ok_for_buffer_local):
2177 * symbols.c (symbol_is_constant):
2178 * symbols.c (oblookup):
2179 * symbols.c (Funintern):
2180 * symbols.c (Fintern):
2181 * symbols.c (check_obarray):
2183 * specifier.h (struct specifier_methods):
2185 * specifier.c (specifier_instance):
2186 * specifier.c (specifier_instance_from_inst_list):
2187 * specifier.c (decode_locale_type):
2188 * specifier.c (specifier_equal):
2189 * specifier.c (finalize_specifier):
2190 * specifier.c (prune_specifiers):
2191 * specifier.c (kill_specifier_buffer_locals):
2192 * sound.c (init_native_sound):
2195 * search.c (Fmatch_data):
2196 * search.c (match_limit):
2197 * search.c (Freplace_match):
2198 * search.c (skip_chars):
2199 * search.c (scan_buffer):
2201 * scrollbar.c (specifier_vars_of_scrollbar):
2202 * scrollbar.c (Fscrollbar_set_hscroll):
2203 * scrollbar.c (vertical_scrollbar_changed_in_window):
2204 * scrollbar.c (release_window_mirror_scrollbars):
2205 * scrollbar.c (free_scrollbar_instance):
2208 * s/msdos.h (O_BINARY):
2210 * s/freebsd.h (LIBS_TERMCAP):
2211 * regex.c (re_match_2_internal):
2212 * regex.c (compile_extended_range):
2213 * regex.c (POP_FAILURE_POINT):
2214 * regex.c (PUSH_FAILURE_POINT):
2215 * redisplay.h (RESET_CHANGED_SET_FLAGS):
2217 * redisplay.h (struct display_line):
2218 * redisplay.h (struct rune):
2219 * redisplay.c (vars_of_redisplay):
2220 * redisplay.c (redisplay_variable_changed):
2221 * redisplay.c (UPDATE_CACHE_RETURN):
2222 * redisplay.c (validate_line_start_cache):
2223 * redisplay.c (mark_redisplay_structs):
2224 * redisplay.c (mark_glyph_block_dynarr):
2225 * redisplay.c (window_line_number):
2226 * redisplay.c (redisplay_frame):
2227 * redisplay.c (redisplay_window):
2228 * redisplay.c (generate_modeline):
2229 * redisplay.c (create_right_glyph_block):
2230 * redisplay.c (create_left_glyph_block):
2231 * redisplay.c (create_text_block):
2233 * redisplay-x.c (x_output_hline):
2234 * redisplay-x.c (x_output_vertical_divider):
2235 * redisplay-tty.c (tty_output_display_block):
2236 * redisplay-output.c (output_display_line):
2237 * redisplay-output.c:
2238 * redisplay-msw.c (mswindows_output_vertical_divider):
2239 * redisplay-msw.c (mswindows_ring_bell):
2240 * redisplay-msw.c (mswindows_output_cursor):
2244 * puresize.h (RAW_PURESIZE):
2245 * profile.c (syms_of_profile):
2246 * profile.c (Fstart_profiling):
2247 * profile.c (sigprof_handler):
2250 * process.c (vars_of_process):
2251 * process.c (read_process_output):
2252 * process.c (get_process):
2254 * process-unix.c (unix_open_multicast_group):
2255 * process-unix.c (unix_get_tty_name):
2256 * process-unix.c (unix_send_process):
2257 * process-unix.c (unix_reap_exited_processes):
2258 * process-unix.c (unix_create_process):
2259 * process-unix.c (unix_init_process_io_handles):
2260 * process-unix.c (allocate_pty):
2262 * process-nt.c (nt_open_network_stream):
2263 * process-nt.c (nt_update_status_if_terminated):
2264 * process-nt.c (nt_finalize_process_data):
2266 * print.c (debug_short_backtrace):
2267 * print.c (debug_backtrace):
2268 * print.c (print_symbol):
2269 * print.c (print_internal):
2270 * print.c (print_cons):
2271 * print.c (Fwrite_char):
2272 * print.c (print_prepare):
2273 * print.c (canonicalize_printcharfun):
2274 * print.c (output_string):
2277 * opaque.c (allocate_managed_opaque):
2279 * offix.c (DndSetData):
2280 * objects.c (face_boolean_create):
2281 * objects.c (font_instantiate):
2282 * objects.c (font_create):
2283 * objects.c (color_create):
2284 * objects.c (finalize_font_instance):
2285 * objects.c (finalize_color_instance):
2287 * objects-x.c (x_font_instance_truename):
2289 * objects-x.c (x_initialize_font_instance):
2290 * objects-x.c (allocate_nearest_color):
2291 * objects-tty.c (tty_initialize_font_instance):
2292 * objects-tty.c (tty_initialize_color_instance):
2293 * objects-msw.c (mswindows_initialize_color_instance):
2294 * ntproc.c (syms_of_ntproc):
2295 * ntproc.c (Fwin32_set_process_priority):
2296 * ntproc.c (sys_spawnve):
2298 * ntheap.c (get_data_end):
2302 * nt.c (generate_inode_val):
2303 * nt.c (sys_rename):
2305 * mule-wnnfns.c (Fwnn_hinsi_number):
2306 * mule-wnnfns.c (Fwnn_yuragi):
2307 * mule-wnnfns.c (Fwnn_common_learn):
2308 * mule-wnnfns.c (Fwnn_suffix_learn):
2309 * mule-wnnfns.c (Fwnn_prefix_learn):
2310 * mule-wnnfns.c (Fwnn_okuri_learn):
2311 * mule-wnnfns.c (Fwnn_complex_conv):
2312 * mule-wnnfns.c (Fwnn_last_is_first):
2313 * mule-wnnfns.c (Fwnn_bmodify_dict_add):
2314 * mule-wnnfns.c (Fwnn_notrans_dict_add):
2315 * mule-wnnfns.c (Fwnn_fiusr_dict_add):
2316 * mule-wnnfns.c (Fwnn_fisys_dict_add):
2317 * mule-wnnfns.c (Fwnn_hinsi_list):
2318 * mule-wnnfns.c (Fwnn_fuzokugo_set):
2319 * mule-wnnfns.c (Fwnn_dict_search):
2320 * mule-wnnfns.c (Fwnn_word_toroku):
2321 * mule-wnnfns.c (Fwnn_hindo_update):
2322 * mule-wnnfns.c (Fwnn_bunsetu_henkou):
2323 * mule-wnnfns.c (Fwnn_kakutei):
2324 * mule-wnnfns.c (Fwnn_begin_henkan):
2325 * mule-wnnfns.c (Fwnn_dict_comment):
2326 * mule-wnnfns.c (Fwnn_dict_add):
2327 * mule-wnnfns.c (Fwnn_open):
2328 * mule-mcpath.c (mc_getcwd):
2329 * mule-coding.c (vars_of_mule_coding):
2330 * mule-coding.c (convert_to_external_format):
2331 * mule-coding.c (encoding_marker):
2332 * mule-coding.c (decoding_marker):
2333 * mule-coding.c (Fcopy_coding_system):
2334 * mule-coding.c (Fmake_coding_system):
2335 * mule-coding.c (Fcoding_system_list):
2336 * mule-coding.c (Ffind_coding_system):
2337 * mule-coding.c (symbol_to_eol_type):
2339 * mule-charset.c (complex_vars_of_mule_charset):
2340 * mule-charset.c (vars_of_mule_charset):
2341 * mule-charset.c (Fset_charset_ccl_program):
2342 * mule-charset.c (struct charset_list_closure):
2343 * mule-charset.c (Ffind_charset):
2344 * mule-charset.c (make_charset):
2345 * mule-charset.c (non_ascii_valid_char_p):
2347 * mule-ccl.c (ccl_driver):
2348 * mule-canna.c (c2mu):
2349 * mule-canna.c (Fcanna_henkan_begin):
2350 * mule-canna.c (Fcanna_parse):
2351 * mule-canna.c (Fcanna_store_yomi):
2352 * mule-canna.c (Fcanna_touroku_string):
2353 * mule-canna.c (Fcanna_initialize):
2355 * menubar.c (menu_parse_submenu_keywords):
2356 * menubar-x.c (make_dummy_xbutton_event):
2357 * menubar-x.c (set_frame_menubar):
2358 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
2361 * menubar-msw.c (mswindows_popup_menu):
2362 * menubar-msw.c (mswindows_update_frame_menubars):
2363 * menubar-msw.c (mswindows_handle_wm_command):
2364 * menubar-msw.c (unsafe_handle_wm_initmenu_1):
2365 * menubar-msw.c (unsafe_handle_wm_initmenupopup_1):
2366 * menubar-msw.c (update_frame_menubar_maybe):
2367 * menubar-msw.c (populate_or_checksum_helper):
2368 * menubar-msw.c (empty_menu):
2371 * marker.c (set_marker_internal):
2372 * marker.c (print_marker):
2375 * lstream.c (lisp_buffer_rewinder):
2376 * lstream.c (mark_lstream):
2378 * lrecord.h (struct lrecord_header):
2379 * lread.c (readevalloop):
2380 * lread.c (locate_file):
2381 * lread.c (locate_file_in_directory):
2382 * lread.c (Flocate_file):
2383 * lread.c (load_force_doc_string_unwind):
2384 * lread.c (ebolify_bytecode_constants):
2389 * linuxplay.c (linux_play_data_or_file):
2390 * linuxplay.c (audio_init):
2393 * keymap.c (describe_map):
2394 * keymap.c (describe_map_mapper):
2395 * keymap.c (Fdescribe_bindings_internal):
2396 * keymap.c (Fsingle_key_description):
2397 * keymap.c (map_keymap_sorted):
2398 * keymap.c (get_relevant_keymaps):
2399 * keymap.c (Flookup_key):
2400 * keymap.c (raw_lookup_key_mapper):
2401 * keymap.c (Fdefine_key):
2402 * keymap.c (Fevent_matches_key_specifier_p):
2403 * keymap.c (key_desc_list_to_event):
2404 * keymap.c (define_key_parser):
2405 * keymap.c (define_key_check_and_coerce_keysym):
2406 * keymap.c (keymap_submaps):
2407 * keymap.c (keymap_store_internal):
2408 * keymap.c (keymap_delete_inverse_internal):
2409 * keymap.c (keymap_store_inverse_internal):
2410 * keymap.c (print_keymap):
2411 * keymap.c (Lisp_Keymap):
2414 * insdel.c (convert_bufbyte_string_into_emchar_dynarr):
2415 * insdel.c (make_gap):
2416 * input-method-xlib.c (get_XIM_input):
2417 * input-method-xlib.c (XIM_init_frame):
2422 * gui-x.c (button_item_to_widget_value):
2423 * gui-x.c (popup_selection_callback):
2424 * glyphs.h (struct image_instantiator_methods):
2425 * glyphs.c (mark_glyph_cachels):
2426 * glyphs.c (Fglyph_type):
2427 * glyphs.c (image_instantiate):
2428 * glyphs.c (image_create):
2429 * glyphs.c (make_image_instance_1):
2430 * glyphs.c (finalize_image_instance):
2432 * glyphs-x.c (finalize_subwindow):
2433 * glyphs-x.c (xface_validate):
2434 * glyphs-x.c (x_locate_pixmap_file):
2435 * glyphs-x.c (convert_EImage_to_XImage):
2437 * glyphs-msw.c (mswindows_resource_instantiate):
2438 * glyphs-msw.c (xpm_to_eimage):
2439 * glyphs-msw.c (convert_EImage_to_DIBitmap):
2440 * glyphs-eimage.c (tiff_instantiate):
2441 * glyphs-eimage.c (png_instantiate):
2442 * glyphs-eimage.c (struct png_error_struct):
2443 * glyphs-eimage.c (gif_memory_storage):
2446 * getloadavg.c (getloadavg):
2449 * free-hook.c (log_gcpro):
2450 * free-hook.c (check_malloc):
2451 * free-hook.c (check_free):
2452 * free-hook.c (ROUND_UP_TO_PAGE):
2454 * frame.h (struct frame):
2456 * frame.c (change_frame_size_1):
2457 * frame.c (allocate_frame_core):
2459 * frame-x.c (x_focus_on_frame):
2460 * frame-x.c (x_init_frame_2):
2461 * frame-x.c (x_popup_frame):
2462 * frame-x.c (xemacs_XtPopup):
2464 * frame-x.c (Foffix_start_drag_internal):
2465 * frame-x.c (x_cde_destroy_callback):
2466 * frame-x.c (x_wm_hack_wm_protocols):
2467 * frame-tty.c (tty_frame_visible_p):
2468 * frame-msw.c (mswindows_make_frame_invisible):
2469 * frame-msw.c (mswindows_after_init_frame):
2470 * frame-msw.c (mswindows_init_frame_1):
2471 * fns.c (syms_of_fns):
2472 * fns.c (Fbase64_decode_string):
2474 * fns.c (Ffillarray):
2475 * fns.c (Fobject_plist):
2477 * fns.c (Fcanonicalize_lax_plist):
2478 * fns.c (Fcanonicalize_plist):
2479 * fns.c (Fplist_remprop):
2480 * fns.c (Fplist_get):
2481 * fns.c (advance_plist_pointers):
2482 * fns.c (internal_plist_put):
2483 * fns.c (Fnreverse):
2486 * fns.c (Fsubstring):
2487 * fns.c (Fbvconcat):
2489 * fns.c (length_with_bytecode_hack):
2490 * fns.c (print_bit_vector):
2492 * floatfns.c (Ffloor):
2494 * floatfns.c (in_float_error):
2495 * fileio.c (Ffile_modes):
2496 * fileio.c (Fexpand_file_name):
2497 * fileio.c (Fmake_temp_name):
2498 * fileio.c (Ffile_name_nondirectory):
2499 * fileio.c (Ffile_name_directory):
2501 * file-coding.c (vars_of_mule_coding):
2502 * file-coding.c (convert_to_external_format):
2503 * file-coding.c (encoding_marker):
2504 * file-coding.c (decoding_marker):
2505 * file-coding.c (Fcopy_coding_system):
2506 * file-coding.c (Fmake_coding_system):
2507 * file-coding.c (struct coding_system_list_closure):
2508 * file-coding.c (Ffind_coding_system):
2509 * file-coding.c (symbol_to_eol_type):
2511 * faces.h (struct face_cachel):
2512 * faces.c (vars_of_faces):
2513 * faces.c (face_property_was_changed):
2514 * faces.c (mark_face_cachels):
2515 * faces.c (temporary_faces_list):
2516 * faces.c (struct face_list_closure):
2518 * extents.h (struct extent):
2519 * extents.c (vars_of_extents):
2520 * extents.c (struct copy_string_extents_1_arg):
2521 * extents.c (add_string_extents_mapper):
2522 * extents.c (Fextent_property):
2523 * extents.c (Fset_extent_property):
2524 * extents.c (symbol_to_glyph_layout):
2525 * extents.c (properties_equal):
2526 * extents.c (print_extent):
2527 * extents.c (print_extent_1):
2528 * extents.c (extent_in_region_p):
2529 * extents.c (gap_array_make_gap):
2531 * events.h (struct Lisp_Event):
2533 * events.c (Fevent_properties):
2534 * events.c (format_event_object):
2535 * events.c (Fmake_event):
2536 * events.c (event_equal):
2537 * events.c (print_event):
2538 * events.c (mark_event):
2539 * event-stream.c ((read-char)
2540 * event-stream.c (vars_of_event_stream):
2541 * event-stream.c (syms_of_event_stream):
2542 * event-stream.c (Fset_recent_keys_ring_size):
2543 * event-stream.c (Fsit_for):
2544 * event-stream.c (Fnext_event):
2545 * event-stream.c (execute_help_form):
2546 * event-stream.c (maybe_kbd_translate):
2548 * event-msw.c (vars_of_event_mswindows):
2549 * event-msw.c (mswindows_wnd_proc):
2550 * event-msw.c (mswindows_need_event):
2551 * event-msw.c (mswindows_drain_windows_queue):
2552 * event-msw.c (mswindows_pump_outstanding_events):
2554 * event-msw.c (slurp_thread):
2555 * event-msw.c (struct ntpipe_slurp_stream):
2556 * event-msw.c (HANDLE_TO_USID):
2557 * event-Xt.c (emacs_Xt_handle_magic_event):
2558 * event-Xt.c (x_event_to_emacs_event):
2559 * event-Xt.c (x_reset_modifier_mapping):
2560 * event-Xt.c (x_reset_key_mapping):
2562 * eval.c (syms_of_eval):
2563 * eval.c (warn_when_safe):
2564 * eval.c (warn_when_safe_lispobj):
2565 * eval.c (Fbacktrace_frame):
2566 * eval.c (Fbacktrace):
2567 * eval.c (top_level_set):
2568 * eval.c (unbind_to_hairy):
2569 * eval.c (specbind_magic):
2570 * eval.c (specbind_unwind_wasnt_local):
2571 * eval.c (call2_trapping_errors):
2572 * eval.c (call1_trapping_errors):
2573 * eval.c (catch_them_squirmers_call2):
2574 * eval.c (call0_trapping_errors):
2575 * eval.c (run_hook_trapping_errors):
2576 * eval.c (catch_them_squirmers_eval_in_buffer):
2577 * eval.c (call4_in_buffer):
2578 * eval.c (call3_in_buffer):
2579 * eval.c (call2_in_buffer):
2580 * eval.c (call1_in_buffer):
2581 * eval.c (call0_in_buffer):
2582 * eval.c (run_hook):
2583 * eval.c (run_hook_with_args_in_buffer):
2586 * eval.c (do_autoload):
2587 * eval.c (un_autoload):
2588 * eval.c (Fautoload):
2589 * eval.c (Finteractive_p):
2590 * eval.c (Fcommand_execute):
2591 * eval.c (signal_quit):
2592 * eval.c (call_with_suspended_errors):
2593 * eval.c (signal_error):
2594 * eval.c (return_from_signal):
2595 * eval.c (Fcall_with_condition_handler):
2596 * eval.c (run_condition_case_handlers):
2597 * eval.c (condition_case_1):
2598 * eval.c (Funwind_protect):
2599 * eval.c (unwind_to_catch):
2600 * eval.c (internal_catch):
2601 * eval.c (Fmacroexpand_internal):
2602 * eval.c (Fuser_variable_p):
2603 * eval.c (Fdefconst):
2605 * eval.c (Ffunction):
2606 * eval.c (signal_call_debugger):
2607 * eval.c (call_debugger):
2610 * emacs.c (sort_args):
2614 * editfns.c (Fencode_time):
2615 * editfns.c (Fdecode_time):
2616 * editfns.c (Fuser_full_name):
2618 * editfns.c (save_excursion_restore):
2621 * doprnt.c (emacs_doprnt_1):
2622 * doc.c (verify_doc_mapper):
2623 * doc.c (Fsnarf_documentation):
2624 * doc.c (Fdocumentation):
2626 * dired.c (user_name_completion):
2627 * dired.c (Fdirectory_files):
2630 * dgif_lib.c (FreeSavedImages):
2631 * dgif_lib.c (DGifGetImageDesc):
2633 * device.h (struct device):
2634 * device.c (Fselect_device):
2635 * device.c (allocate_device):
2637 * device-x.c (Fx_keysym_on_keyboard_p):
2638 * device-x.c (Fx_valid_keysym_name_p):
2639 * device-x.c (x_IO_error_handler):
2640 * device-x.c (x_delete_device):
2641 * device-x.c (x_finish_init_device):
2642 * device-x.c (x_init_device):
2644 * device-msw.c (mswindows_init_device):
2646 * database.c (vars_of_database):
2647 * database.c (Fput_database):
2648 * database.c (Fopen_database):
2649 * database.c (berkdb_remove):
2650 * database.c (berkdb_put):
2651 * database.c (Fdatabasep):
2652 * database.c (print_database):
2654 * data.c (vars_of_data):
2655 * data.c (syms_of_data):
2656 * data.c (init_errors_once_early):
2657 * data.c (prune_weak_lists):
2658 * data.c (finish_marking_weak_lists):
2659 * data.c (print_weak_list):
2661 * data.c (Fstring_to_number):
2662 * data.c (Fnumber_to_string):
2663 * data.c (Findirect_function):
2666 * data.c (Fsubr_interactive):
2668 * data.c (Fkeywordp):
2671 * console.h (CONSOLE_NAME):
2673 * console.c (vars_of_console):
2674 * console.c (Fselect_console):
2676 * console-x.h (DEVICE_X_COLORMAP):
2677 * console-x.h (struct x_device):
2678 * console-x.c (x_device_to_console_connection):
2679 * console-tty.h (CONSOLE_TTY_FINAL_CURSOR_Y):
2680 * console-tty.c (tty_init_console):
2682 * console-msw.h (struct mswindows_frame):
2685 * cmds.c (internal_self_insert):
2686 * cmds.c (Fforward_line):
2687 * cmds.c (Fforward_char):
2690 * chartab.c (mark_char_table_entry):
2692 * casefiddle.c (casify_word):
2693 * callproc.c (child_setup):
2694 * callproc.c (Fcall_process_internal):
2696 * callint.c (Fcall_interactively):
2698 * bytecode.c (execute_rare_opcode):
2699 * bytecode.c (execute_optimized_program):
2702 * buffer.h (BUFFER_REALLOC):
2703 * buffer.h (GET_CHARPTR_INT_DATA_ALLOCA):
2704 * buffer.h (GET_CHARPTR_EXT_DATA_ALLOCA):
2706 * buffer.h (MAP_INDIRECT_BUFFERS):
2707 * buffer.h (CHECK_LIVE_BUFFER):
2708 * buffer.c (init_initial_directory):
2709 * buffer.c (complex_vars_of_buffer):
2710 * buffer.c (vars_of_buffer):
2711 * buffer.c (finish_init_buffer):
2712 * buffer.c (Fget_file_buffer):
2713 * buffer.c (Fbuffer_list):
2714 * buffer.c (mark_buffer):
2715 * balloon_help.c (balloon_help_move_to_pointer):
2716 * balloon_help.c (show_help):
2719 * alloc.c (garbage_collect_1):
2720 * alloc.c (sweep_strings):
2721 * alloc.c (sweep_compiled_functions):
2722 * alloc.c (sweep_bit_vectors_1):
2723 * alloc.c (sweep_vectors_1):
2724 * alloc.c (sweep_lcrecords_1):
2725 * alloc.c (tick_lcrecord_stats):
2726 * alloc.c (pure_string_sizeof):
2727 * alloc.c (mark_conses_in_list):
2728 * alloc.c (mark_object):
2729 * alloc.c (report_pure_usage):
2730 * alloc.c (make_pure_float):
2731 * alloc.c (make_pure_string):
2732 * alloc.c (free_managed_lcrecord):
2733 * alloc.c (mark_string):
2734 * alloc.c (noseeum_make_marker):
2735 * alloc.c (allocate_event):
2736 * alloc.c (Fbit_vector):
2737 * alloc.c (Fvector):
2738 * alloc.c (make_float):
2739 * alloc.c (Fmake_list):
2741 * alloc.c (FREE_FIXED_TYPE_WHEN_NOT_IN_GC):
2742 * alloc.c (PUT_FIXED_TYPE_ON_FREE_LIST):
2743 * alloc.c (DECLARE_FIXED_TYPE_ALLOC):
2744 * alloc.c (dbg_constants):
2745 * alloc.c (gc_record_type_p):
2746 * alloc.c (free_lcrecord):
2747 * alloc.c (xmalloc):
2748 * alloc.c (NOSEEUM_INCREMENT_CONS_COUNTER):
2750 * Makefile.in.in (mostlyclean):
2751 * Makefile.in.in (external_client_xlib_objs_nonshared):
2752 * Makefile.in.in (temacs_link_args):
2753 * Makefile.in.in (release):
2754 * Makefile.in.in (dnd_objs):
2755 * Makefile.in.in (objs):
2756 * Makefile.in.in (PROGNAME):
2757 * EmacsShell.c: cast strings to (XtPointer)
2758 * EmacsFrame.c: cast strings to (XtPointer)
2760 - rewrite basic lisp functions for speed
2761 - rewrite bytecode interpreter for speed
2762 - rewrite list looping constructs for speed and safety using
2764 - use size_t where appropriate.
2765 - new hashtable implementation
2766 - cleanup implementation of opaques
2767 - opaques can now be purecopy'ed
2768 - move some cl functionality into C for speed.
2769 - remove last remaining VMS support
2771 - improve gdb/dbx debugger support
2772 - move pure.c back into alloc.c for performance
2773 - enable report_pure_usage() if --memory-usage-stats
2774 - remove remnants of Energize support (EMACS_BTL, cadillac...)
2775 - don't use symbols with leading `_' or embedded `__'
2776 - globally cleanup duplicated semicolons `;;'
2777 - I give in on %p vs %lx - we use printf("%lx",(long) p)
2779 - globally replace O_NDELAY with O_NONBLOCK.
2780 - globally replace CDISABLE with _POSIX_VDISABLE.
2781 - use O_RDONLY and O_RDWR instead of magic `0' and `2'.
2782 - define (and maybe use!) STDERR_FILENO and friends.
2783 - add support for macros defined in C
2784 - `when', `unless', `not' and `defalias' now defined in C,
2785 so that they are universally available.
2786 - rename defvar_mumble to defvar_magic
2787 - rename RETURN__ to RETURN_SANS_WARNINGS
2788 - use consistent style of initial caps in error messages
2789 - implement last, butlast, nbutlast, copy-list in C.
2790 - provide typedefs for all struct Lisp_foo types
2791 - Lisp_Objects must be initialized to Qnil rather than 0.
2792 - make sure XEmacs runs (slowly) with always_gc == 1;
2793 - fast and safe LOOP_* macros
2794 - change calls to XSETOBJ to XSETFOO
2795 - replace calls to XSETINT by make_int()
2796 - plug up memory leaks
2797 - use style markobj (foo), not silly ((markobj) (foo))
2798 - use XFLOAT_DATA (obj) instead of float_data (XFLOAT (obj))
2800 1998-12-02 P. E. Jareth Hein <jareth@camelot.co.jp>
2802 * unexec.c: Changed a #ifndef statement to fix XEmacs on BSDI 3.0
2804 1998-11-28 SL Baur <steve@altair.xemacs.org>
2806 * XEmacs 21.2-beta4 is released.
2808 1998-11-27 SL Baur <steve@altair.xemacs.org>
2810 * mule-charset.c (complex_vars_of_mule_charset): Fix graphic
2811 property in control-1 charset.
2812 From Julian Bradfield <jcb@daimi.au.dk>
2814 1998-11-26 Jan Vroonhof <vroonhof@math.ethz.ch>
2816 * gui-x.c (button_item_to_widget_value): Ignore :key-sequence
2818 Add stub for :label.
2820 * gui.c (gui_item_add_keyval_pair): ditto.
2822 * menubar-x.c (menu_item_descriptor_to_widget_value_1): Ignore
2823 :key-sequence keyword.
2825 Support :active for submenus like the Windows code and FSF Emacs.
2827 1998-11-27 Hrvoje Niksic <hniksic@srce.hr>
2829 * dired.c (make_directory_hash_table): make_string() is OK because
2830 readdir() Mule-encapsulates.
2832 1998-11-26 Hrvoje Niksic <hniksic@srce.hr>
2834 * fns.c (Fbase64_encode_string): Fix docstring.
2835 (Fbase64_decode_string): Ditto.
2837 1998-11-26 Hrvoje Niksic <hniksic@srce.hr>
2839 * editfns.c (Ftranslate_region): Use
2840 convert_bufbyte_string_into_emchar_string().
2842 1998-11-25 Hrvoje Niksic <hniksic@srce.hr>
2844 * editfns.c (Ftranslate_region): Accept vectors and char-tables as
2846 (Ftranslate_region): Turn table into an array of Emchars for
2849 1998-11-25 Hrvoje Niksic <hniksic@srce.hr>
2851 * chartab.c (Freset_char_table): Fix wrong placement of #endif.
2853 1998-11-24 Hrvoje Niksic <hniksic@srce.hr>
2855 * chartab.c (Freset_char_table): Don't blindly fill chartables of
2856 type `char' with nils.
2858 * chartab.c (canonicalize_char_table_value): Coerce ints to chars
2859 for tables of type `char'.
2861 1998-11-26 Didier Verna <verna@inf.enst.fr>
2863 * input-method-xlib.c (Initialize_Locale): don't call
2864 XtSetLanguageProc. We've done the whole work here.
2865 * input-method-xfs.c (Initialize_Locale): ditto.
2866 * input-method-motif.c (Initialize_Locale): ditto.
2868 1998-11-26 Didier Verna <verna@inf.enst.fr>
2870 * process-unix.c (unix_create_process): handle properly
2871 Vfile_name_coding_system for converting the program and directory
2874 1998-11-27 SL Baur <steve@altair.xemacs.org>
2876 * m/arm.h: New file.
2877 From James LewisMoss <dres@ioa.com>
2879 1998-11-27 Takeshi Hagiwara <hagiwara@ie.niigata-u.ac.jp>
2882 Fix the realpath() problem of UnixWare2.1.3.
2883 Patches for NEC's sysv4.2 machine.
2885 1998-11-25 Hrvoje Niksic <hniksic@srce.hr>
2887 * dired.c (Fdirectory_files): Remove redundant code.
2889 1998-11-25 Hrvoje Niksic <hniksic@srce.hr>
2891 * fns.c (free_malloced_ptr): New function.
2892 (XMALLOC_OR_ALLOCA): New macro.
2893 (XMALLOC_UNBIND): Ditto.
2894 (Fbase64_encode_region): Use malloc() for large blocks; arrange it
2895 to be freed in case of non-local exit.
2896 (Fbase64_encode_string): Ditto.
2897 (Fbase64_decode_region): Ditto.
2898 (Fbase64_decode_string): Ditto.
2899 (STORE_BYTE): New macro.
2900 (base64_decode_1): Use it.
2902 1998-11-25 Hrvoje Niksic <hniksic@srce.hr>
2904 * fns.c (base64_value_to_char): Base64 stuff.
2906 1998-11-24 Hrvoje Niksic <hniksic@srce.hr>
2908 * editfns.c (Fbuffer_substring): New function.
2910 * lisp.h: Declare make_string_from_buffer_no_extents().
2912 * insdel.c (make_string_from_buffer_1): New function.
2913 (make_string_from_buffer_no_extents): Ditto.
2915 1998-11-15 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
2917 * linuxplay.c: Including <fcntl.h> instead of <sys/fcntl.h> makes
2918 sound work on AIX with OSS installed. Linux should still work.
2920 1998-11-03 Andy Piper <andyp@parallax.co.uk>
2922 * config.h.in: name change for cygwin/version.h
2924 * configure.in: check for cygwin/version.h now.
2926 * cygwin32.h: track CYGWIN_DLL_VERSION_MAJOR ->
2927 CYGWIN_VERSION_DLL_MAJOR name change in cygwin b20.
2928 move cygwin32/version.h to cygwin/version.h
2930 1998-11-03 Olivier Galibert <galibert@pobox.com>
2932 * lisp.h (struct Lisp_Bit_Vector): Fix declaration of bits from
2935 1998-10-22 Andy Piper <andyp@parallax.co.uk>
2937 * cygwin32.h: track CYGWIN_DLL_VERSION_MAJOR ->
2938 CYGWIN_VERSION_DLL_MAJOR name change in cygwin b20.
2939 enable BROKEN_SIGIO under b20 to make QUIT work.
2941 1998-10-22 Andy Piper <andyp@parallax.co.uk>
2943 * frame-msw.c (mswindows_size_frame_internal): force frame sizing
2944 to fit within the constraints of the screen size. I.e. make the
2945 frame small enough to fit and move it if some of it will be
2948 1998-10-19 Greg Klanderman <greg@alphatech.com>
2950 * dired.c: conditionalize inclusion of user-name-completion
2951 primitives on non-Windows NT. The needed functions don't exist on NT.
2953 1998-11-24 SL Baur <steve@altair.xemacs.org>
2955 * gifrlib.h: Clean up types for 64 bit compile.
2956 * dgif_lib.c (DGifInitRead): Ditto.
2957 (MakeSavedImage): Ditto.
2958 * emacs.c (decode_path): Ditto.
2959 From Steve Carney <carney@pa.dec.com>
2961 1998-10-16 William M. Perry <wmperry@aventail.com>
2963 * glyphs-msw.c (bitmap_table): Fixed typo in builtin bitmaps
2964 (cehckboxes instead of checkboxes).
2966 1998-10-15 SL Baur <steve@altair.xemacs.org>
2968 * XEmacs 21.2-beta3 is released.
2970 1998-10-13 Raymond Toy <toy@rtp.ericsson.se>
2972 * runemacs.c (WinMain): If the basename is "rungnuclient.exe", run
2973 gnuclient. Otherwise, we run xemacs as we always did. This gets
2974 rid of the annoying DOS window when running gnuclient.
2976 1998-10-13 Andy Piper <andyp@parallax.co.uk>
2978 * dragdrop.c (vars_of_dragdrop): rename HAVE_MSWINDOWS ->
2979 HAVE_MS_WINDOWS typo.
2981 1998-10-13 SL Baur <steve@altair.xemacs.org>
2983 * process-unix.c (unix_send_process): Set closed flag on writable
2984 pipe after SIGPIPE is received and before we call deactivate_process.
2986 1998-10-03 Gunnar Evermann <ge204@eng.cam.ac.uk>
2988 * window.c (Fset_window_start): respect narrowing when
2989 checking wheter start is at the beginning of a line.
2990 (Fset_window_buffer): Ditto
2991 Fixes repeatable crash in VM.
2993 1998-10-09 SL Baur <steve@altair.xemacs.org>
2995 * window.c (specifier_vars_of_window): Set default vertical
2996 divider width to 1 on ttys.
2998 1998-10-08 Martin Buchholz <martin@xemacs.org>
3003 Add <stddef.h> to get ptrdiff_t declaration
3005 1998-10-07 Jonathan Harris <jhar@tardis.ed.ac.uk>
3007 * scrollbar-msw.c: Use the same vertical scrollbar drag hack as
3008 is used for Motif or Lucid scrollbars under X.
3010 1998-10-08 Pierre Wendling <pw@ebc.vbe.dec.com>
3012 * m/alpha.h (UNEXEC): quoted to avoid bad expansion when running
3015 1998-10-06 Takeshi Hagiwara <hagiwara@ie.niigata-u.ac.jp>
3017 * frame-x.c (x_delete_frame): Fix an argument of XtDestroyWidget.
3019 1998-10-05 Andy Piper <andyp@parallax.co.uk>
3021 * s/cygwin32.h: more cygwin b20 reorganisation.
3023 1998-10-01 Raymond Toy <toy@rtp.ericsson.se>
3025 * nas.c: Added necessary support functions to be able to handle
3026 WAVE files in memory, just like the support for SND files in
3029 1998-09-30 SL Baur <steve@altair.xemacs.org>
3031 * callproc.c (child_setup): Fix spelling typo.
3033 1998-09-29 SL Baur <steve@altair.xemacs.org>
3035 * XEmacs 21.2-beta2 is released.
3037 1998-09-27 P. E. Jareth Hein <jareth@camelot.co.jp>
3039 * regex.c (re_match_2_internal): Add in code to reset lowest_active_reg
3040 to prevent memory corruption in the case of jumping out of a series of
3041 nested match patterns. This is a rather brute force approach, though.
3043 1998-09-02 Andy Piper <andyp@parallax.co.uk>
3045 * config.h.in: ditto.
3047 * s/cygwin32.h: rearrange declarations to cope with cygwin
3048 b20. Include cygwin32/version.h if it exists.
3050 1998-09-20 Jonathan Harris <jhar@tardis.ed.ac.uk>
3052 * device-msw.c (mswindows_init_device): Call new
3053 mswindows_enumerate_fonts() function in objects-msw.c instead
3054 of font_enum_callback_1() to enumerate fonts.
3056 font_enum_callback_1() and _2() moved to objects-msw.c.
3058 * faces.c (complex_vars_of_faces): Make the mswindows default
3059 face font fully specified and provide some fallbacks.
3061 * objects-msw.c: font_enum_callback_1() and _2() moved here
3062 from objects-msw.c. Obtain the enumerated font's character
3063 sets by table lookup instead of using the locale-specific
3064 string provided by Windows.
3066 New public non-method mswindows_enumerate_fonts() that fills
3067 in the supplied mswindows device's font list.
3069 mswindows_initialize_font_instance: Use the supplied name
3070 variable instead of f->name when signalling errors. Match font
3071 weights and character sets using lookup tables which handle
3072 spaces instead of by frobbing.
3074 1998-09-20 Jonathan Harris <jhar@tardis.ed.ac.uk>
3076 * process-nt.c: Define an arbitrary limit, FRAGMENT_CODE_SIZE,
3077 on the size of code fragments passed to run_in_other_process.
3079 run_in_other_process(): Use FRAGMENT_CODE_SIZE to determine
3080 the amount of memory to allocate in the other process.
3082 Removed sigkill_code_end(), sigint_code_end() and
3083 sig_enable_code_end() since they are now redundant.
3085 send_signal() and enable_child_signals(): Don't try to work
3086 out the end of the code fragments passed to
3087 run_in_other_process()
3089 1998-09-10 Kazuyuki IENAGA <ienaga@jsys.co.jp>
3091 * src/s/freebsd.h: Added __ELF__ and compiler/liker flags for
3094 * src/unexelf.c: Partially synched with FSF's 20.3.
3096 1998-09-10 Hrvoje Niksic <hniksic@srce.hr>
3098 * insdel.c (signal_after_change): Map across indirect buffers
3099 here, and not in the upper-level functions.
3100 (signal_first_change): Don't check for Armageddon.
3101 (signal_before_change): Map across indirect buffers here.
3102 (prepare_to_modify_buffer): ...and here.
3104 1998-09-09 Hrvoje Niksic <hniksic@srce.hr>
3106 * insdel.c (signal_after_change): Add return value.
3107 (buffer_insert_string_1): Use it.
3108 (buffer_delete_range): Ditto.
3109 (buffer_replace_char): Ditto.
3110 (cancel_multiple_change): Map the indirect buffers.
3112 1998-09-06 Hrvoje Niksic <hniksic@srce.hr>
3114 * insdel.c (init_buffer_text): Remove INDIRECT_P parameter.
3115 (uninit_buffer_text): Ditto.
3117 * buffer.c (Fmake_indirect_buffer): Implement stricter
3120 1998-09-04 Hrvoje Niksic <hniksic@srce.hr>
3122 * insdel.c (change_function_restore): Reverse order of
3123 function-call and assignment.
3124 (first_change_hook_restore): Ditto.
3126 * extents.c (mark_extent_auxiliary): Mark them.
3127 (Fset_extent_property): Set them.
3128 (Fextent_property): Get them.
3129 (Fextent_properties): Ditto.
3130 (vars_of_extents): Set their default.
3132 * extents.h (struct extent_auxiliary): Add before_change_functions
3133 and after_change_functions.
3135 * insdel.c (signal_before_change): Use it.
3136 (signal_after_change): Ditto.
3138 * extents.c (report_extent_modification): New function.
3140 * insdel.c (signal_before_change): Don't check for Armageddon.
3141 (signal_after_change): Ditto.
3143 1998-09-11 Gunnar Evermann <Gunnar.Evermann@nats.informatik.uni-hamburg.de>
3145 * redisplay.c (redisplay_window): make sure a new starting point
3146 is chosen if it somehow got moved from the beginning of the line
3147 -- this can happen because Fwiden was called recently.
3149 * window.c (Fset_window_start): set start_at_line_beg correctly
3150 (Fset_window_buffer): Ditto
3152 1998-09-06 Hrvoje Niksic <hniksic@srce.hr>
3154 * insdel.c (init_buffer_text): Remove INDIRECT_P parameter.
3155 (uninit_buffer_text): Ditto.
3157 * buffer.c (Fmake_indirect_buffer): Implement stricter
3160 1998-05-14 Jan Vroonhof <vroonhof@math.ethz.ch>
3162 * emacs.c (main_1): Removed references to *vars_of_filelock.
3164 * lisp.h: Added Fsystem_name.
3166 * filelock.c: Replaced by version from FSF 20.2. Now implements
3167 locking by using symlinks which is NFS safe. However keep the
3168 GCPRO's in lock_file and the calls to callx_in_buffer like our old
3169 version (and of course use ansi C, acessor macros, etc).
3171 1998-09-06 Jan Vroonhof <vroonhof@math.ethz.ch>
3173 * process-unix.c (unix_create_process): Reset SIGHUP handler to
3174 SIG_DFL. We now try to conserve any inherted SIG_IGN settings
3175 in init_signals_very_early. However these should not be passed
3176 on to children attached to the new pty.
3178 1998-08-28 Andy Piper <andyp@parallax.co.uk>
3180 * glyphs-eimage.c (png_instantiate_unwind): clean up eimage after use.
3182 1998-09-07 Jonathan Harris <jhar@tardis.ed.ac.uk>
3184 * fileio.c (file-name-directory, file_name_as_directory):
3185 Don't call CORRECT_DIR_SEPS, even when #defined WINDOWSNT.
3187 1998-09-02 Andy Piper <andyp@parallax.co.uk>
3189 * emacs.c (main_1): init_ralloc() if initialised and we have REL_ALLOC
3191 * ralloc.c: uncomment __morecore.
3193 1998-09-92 Jonathan Harris <jhar@tardis.ed.ac.uk>
3195 * event-msw.c(winsock_writer): Supply a dummy 4th argument to
3196 WriteFile() to fix a winsock 1.x bug on Win95.
3198 1998-08-28 Hrvoje Niksic <hniksic@srce.hr>
3200 * event-Xt.c (emacs_Xt_mapping_action): Check for device being
3202 (x_event_to_emacs_event): Ditto.
3203 (emacs_Xt_handle_focus_event): Ditto.
3204 (emacs_Xt_handle_magic_event): Ditto.
3206 * console-x.h (struct x_device): New flag being_deleted.
3207 (DEVICE_X_BEING_DELETED): New macro.
3209 * device-x.c (x_IO_error_handler): Throw to top-level instead of
3210 returning. Before doing that, set the being_deleted flag on the
3213 1998-08-27 Hrvoje Niksic <hniksic@srce.hr>
3215 * device-x.c (x-seppuku-on-epipe): Removed.
3217 1998-08-26 Gunnar Evermann <Gunnar.Evermann@nats.informatik.uni-hamburg.de>
3219 * frame-x.c (x_delete_frame): Flush the X output buffer after
3220 calling XtDestroyWidget to ensure that the windows are really
3223 1998-08-26 Hrvoje Niksic <hniksic@srce.hr>
3225 * menubar-x.c (my_run_hook): New unused function.
3226 (pre_activate_callback): Use run_hook for Qactivate_menubar_hook,
3227 since we ignore the results of the contained functions anyway.
3229 1998-08-26 P. E. Jareth Hein <jareth@camelot.co.jp>
3231 * glyphs-eimage.c (gif_instantiate): Fix a crash in handling
3232 interlaced GIF files that are smaller than 4 lines high...
3234 1998-08-31 Hrvoje Niksic <hniksic@srce.hr>
3236 * buffer.c (map_over_sharing_buffers): Deleted.
3238 * insdel.c (MAP_INDIRECT_BUFFERS): Move to buffer.h.
3240 * buffer.c (Fkill_buffer): Keep indirect_children updated while
3243 1998-08-31 Hrvoje Niksic <hniksic@srce.hr>
3245 * insdel.c (buffer_insert_string_1): Advance the point bytind in
3247 (buffer_delete_range): Ditto.
3249 * marker.c (init_buffer_markers): Set point-marker to the value of
3250 point in an indirect buffer.
3252 1998-08-30 Hrvoje Niksic <hniksic@srce.hr>
3254 * undo.c (undo_prelude): Test last-undo-buffer against base
3257 * insdel.c (MAP_INDIRECT_BUFFERS): Use it.
3259 * buffer.h (BUFFER_BASE_BUFFER): New macro.
3261 1998-08-30 Hrvoje Niksic <hniksic@srce.hr>
3263 * insdel.c (init_buffer_text): Initialize it here.
3265 * line-number.c: Address line_number_cache through buffer->text.
3267 * buffer.c (mark_buffer): Mark line number cache.
3269 * bufslots.h (line_number_cache): Move to struct buffer_text.
3271 * insdel.c (buffer_insert_string_1): Propagate signals and changes
3272 across the children buffers.
3273 (buffer_delete_range): Ditto.
3274 (buffer_replace_char): Ditto.
3278 * insdel.c (MAP_INDIRECT_BUFFERS): New macro.
3280 * buffer.c (Fmake_indirect_buffer): Uncomment.
3282 1998-08-31 Hrvoje Niksic <hniksic@srce.hr>
3284 * macros.c (Fend_kbd_macro): Remove trailing period from error
3286 (Fexecute_kbd_macro): Ditto.
3288 1998-08-21 Greg Klanderman <greg@alphatech.com>
3290 * dired.c (Fuser_name_completion): remove optional 2nd argument.
3291 (Fuser_name_completion_1): new function to return uniqueness
3292 indication in addition to the user name completion.
3293 (user_name_completion): change type of `uniq' argument.
3295 1998-08-19 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
3297 * lread.c (vars_of_lread): Removed `source-directory' variable.
3299 1998-08-22 Hrvoje Niksic <hniksic@srce.hr>
3301 * fileio.c (Ffile_readable_p): Apply the DOS/Windows logic to
3304 1998-08-19 SL Baur <steve@altair.xemacs.org>
3306 * dired.c (vars_of_dired): Fix misapplied patch.
3308 1998-08-16 Martin Buchholz <martin@xemacs.org>
3310 * fns.c (Fremrassq, remrassq_no_quit):
3311 A XCAR that should have been an XCDR turned Fremrassq into Fremassq
3313 1998-07-17 Didier Verna <verna@inf.enst.fr>
3315 * redisplay-x.c (x_get_gc): returns a GC with a FillStipple fill
3316 style as foreground GC for faces that have the `dim' property.
3317 (x_output_string): when the `dim' face property is set,
3318 ensure the gray pixmap has been created, and get a proper
3319 foreground GC to draw the text.
3321 1998-08-09 Jonathan Harris <jhar@tardis.ed.ac.uk>
3323 * event-msw.c (mswindows_wnd_proc): Workaround for a Win95 bug:
3324 Manually track the state of the left and right Ctrl and Alt
3327 1998-08-07 Matt Stupple <matts@tibco.com>
3329 * ntproc.c: don't wait on char_consumed at thread entry.
3330 Additionally, to get the 'process' marked as finished, ensure
3331 that the CHILD_ACTIVE macro returns false, so before exiting
3332 close char_avail and set it to NULL, and close other handles
3333 to reduce handle leak problems.
3335 1998-08-09 Jonathan Harris <jhar@tardis.ed.ac.uk>
3337 * menubar-msw.c (displayable_menu_item): take account of menu
3338 depth when deciding whether to try to display accelerators.
3340 1998-08-04 Andy Piper <andyp@parallax.co.uk>
3342 * event-msw.c: use MsgWaitForMultipleObjects if there are no
3345 * glyphs-msw.c: fix a couple of potential handle leaks.
3347 1998-08-04 P. E. Jareth Hein <jareth@camelot.co.jp>
3349 * dgif_lib.c gif_io.c gifrlib.h: New files to put GIF
3350 *decoding ONLY* back into the core.
3351 * glyphs-eimage.c: Change referenced header file for GIF
3352 reading to point to the incore version.
3354 1998-07-20 Martin Buchholz <martin@xemacs.org>
3356 * casefiddle.c (casify_object):
3357 Change algorithm from O(N**2) to O(N).
3361 1998-07-22 Greg Klanderman <greg@alphatech.com>
3363 * dired.c (file_name_completion_unwind): don't leak the cons.
3365 1998-07-20 Greg Klanderman <greg@alphatech.com>
3367 * dired.c (Fuser_name_completion): new function.
3368 (Fuser_name_all_completions): new function.
3369 (user_name_completion): new function.
3370 (syms_of_dired): 2 new DEFSUBRs.
3371 (vars_of_dired): initialize user name cache vars.
3373 1998-07-29 P. E. Jareth Hein <jareth@camelot.co.jp>
3375 * glyphs-eimage.c (png_instantiate): Add proper handling for background
3376 colors taken from the default face. Also correct a thinko in
3377 transparency (not alpha) handling.
3379 1998-07-23 Martin Buchholz <martin@xemacs.org>
3381 * s/decosf4-0.h: Use a perfectly ordinary link. Nuke BSD crap.
3382 * unexalpha.c: ANSI C-ize. Clean compiler warnings.
3383 * lread.c (Fload_internal): Be very careful with printfs of
3385 * gui-x.c (menu_name_to_accelerator): tolower wants an `int'
3388 1998-07-27 Gunnar Evermann <Gunnar.Evermann@nats.informatik.uni-hamburg.de>
3390 * callint.c (Fcall_interactively): GCPRO prompt string before
3391 passing it to Fread_key_sequence
3393 1998-07-27 SL Baur <steve@altair.xemacs.org>
3395 * keymap.c (vars_of_keymap): Initialize Vkey_translation_map and
3396 Vvertical_divider_map.
3398 * mule-canna.c (vars_of_mule_canna): Initialize every symbol to
3399 Qnil or 0, none were initialized prior to this change.
3401 Rename misnamed `V' prefixed integer variables:
3402 Vcanna_empty_info, Vcanna_through_info, Vcanna_underline,
3403 Vcanna_inhibit_hankakukana, Vcanna_henkan_length, Vcanna_henkan_revPos,
3404 Vcanna_henkan_revLen, Vcanna_ichiran_length, Vcanna_ichiran_revPos,
3405 Vcanna_ichiran_revLen.
3407 Rename misnamed `V' prefixed integer variables and initialize
3408 properly in the vars_of routine.
3409 Vcanna_mode_AlphaMode, Vcanna_mode_EmptyMode, Vcanna_mode_KigoMode,
3410 Vcanna_mode_YomiMode, Vcanna_mode_JishuMode, Vcanna_mode_TankouhoMode,
3411 Vcanna_mode_IchiranMode, Vcanna_mode_YesNoMode, Vcanna_mode_OnOffMode,
3412 Vcanna_mode_AdjustBunsetsuMode, Vcanna_mode_ChikujiYomiMode,
3413 Vcanna_mode_ChikujiTanMode, Vcanna_mode_HenkanMode,
3414 Vcanna_mode_HenkanNyuryokuMode, Vcanna_mode_ZenHiraHenkanMode,
3415 Vcanna_mode_HanHiraHenkanMode, Vcanna_mode_ZenKataHenkanMode,
3416 Vcanna_mode_HanKataHenkanMode, Vcanna_mode_HanKataHenkanMode,
3417 Vcanna_mode_ZenAlphaHenkanMode, Vcanna_mode_HanAlphaHenkanMode,
3418 Vcanna_mode_ZenHiraKakuteiMode, Vcanna_mode_HanHiraKakuteiMode,
3419 Vcanna_mode_ZenKataKakuteiMode, Vcanna_mode_HanKataKakuteiMode,
3420 Vcanna_mode_ZenAlphaKakuteiMode, Vcanna_mode_HanAlphaKakuteiMode,
3421 Vcanna_mode_HexMode, Vcanna_mode_BushuMode, Vcanna_mode_ExtendMode,
3422 Vcanna_mode_RussianMode, Vcanna_mode_GreekMode, Vcanna_mode_LineMode,
3423 Vcanna_mode_ChangingServerMode, Vcanna_mode_HenkanMethodMode,
3424 Vcanna_mode_DeleteDicMode, Vcanna_mode_TourokuMode,
3425 Vcanna_mode_TourokuEmptyMode, Vcanna_mode_TourokuHinshiMode,
3426 Vcanna_mode_TourokuDicMode, Vcanna_mode_QuotedInsertMode,
3427 Vcanna_mode_BubunMuhenkanMode, Vcanna_mode_MountDicMode,
3428 Vcanna_fn_SelfInsert, Vcanna_fn_FunctionalInsert,
3429 Vcanna_fn_QuotedInsert, Vcanna_fn_JapaneseMode, Vcanna_fn_AlphaMode,
3430 Vcanna_fn_HenkanNyuryokuMode, Vcanna_fn_Forward, Vcanna_fn_Backward,
3431 Vcanna_fn_Next, Vcanna_fn_Prev, Vcanna_fn_BeginningOfLine,
3432 Vcanna_fn_EndOfLine, Vcanna_fn_DeleteNext, Vcanna_fn_DeletePrevious,
3433 Vcanna_fn_KillToEndOfLine, Vcanna_fn_Henkan, Vcanna_fn_Kakutei,
3434 Vcanna_fn_Extend, Vcanna_fn_Shrink, Vcanna_fn_AdjustBunsetsu,
3435 Vcanna_fn_Quit, Vcanna_fn_ConvertAsHex, Vcanna_fn_ConvertAsBushu,
3436 Vcanna_fn_KouhoIchiran, Vcanna_fn_BubunMuhenkan, Vcanna_fn_Zenkaku,
3437 Vcanna_fn_Hankaku, Vcanna_fn_ExtendMode, Vcanna_fn_ToUpper,
3438 Vcanna_fn_Capitalize, Vcanna_fn_ToLower, Vcanna_fn_Hiragana,
3439 Vcanna_fn_Katakana, Vcanna_fn_Romaji, Vcanna_fn_BaseHiragana,
3440 Vcanna_fn_BaseKatakana, Vcanna_fn_BaseEisu, Vcanna_fn_BaseZenkaku,
3441 Vcanna_fn_BaseHankaku, Vcanna_fn_BaseKana, Vcanna_fn_BaseKakutei,
3442 Vcanna_fn_BaseHenkan, Vcanna_fn_BaseHiraKataToggle,
3443 Vcanna_fn_BaseZenHanToggle, Vcanna_fn_BaseKanaEisuToggle,
3444 Vcanna_fn_BaseKakuteiHenkanToggle, Vcanna_fn_BaseRotateForward,
3445 Vcanna_fn_BaseRotateBackward, Vcanna_fn_Touroku, Vcanna_fn_HexMode,
3446 Vcanna_fn_BushuMode, Vcanna_fn_KigouMode, Vcanna_fn_Mark,
3447 Vcanna_fn_TemporalMode, Vcanna_key_Nfer, Vcanna_key_Xfer,
3448 Vcanna_key_Up, Vcanna_key_Left, Vcanna_key_Right, Vcanna_key_Down,
3449 Vcanna_key_Insert, Vcanna_key_Rollup, Vcanna_key_Rolldown,
3450 Vcanna_key_Home, Vcanna_key_Help, Vcanna_key_KP_Key,
3451 Vcanna_key_Shift_Nfer, Vcanna_key_Shift_Xfer, Vcanna_key_Shift_Up,
3452 Vcanna_key_Shift_Left, Vcanna_key_Shift_Right, Vcanna_key_Shift_Down,
3453 Vcanna_key_Cntrl_Nfer, Vcanna_key_Cntrl_Xfer, Vcanna_key_Cntrl_Up,
3454 Vcanna_key_Cntrl_Left, Vcanna_key_Cntrl_Right, Vcanna_key_Cntrl_Down
3456 1998-07-16 Jan Vroonhof <vroonhof@math.ethz.ch>
3458 * event-Xt.c (x_to_emacs_keysym): Return nil for modifier keysyms.
3459 (x_event_to_emacs_event): Let x_to_emacs_keysym check for modifier
3460 keys thus no longer considering all keysyms on a key.
3462 1998-07-19 SL Baur <steve@altair.xemacs.org>
3464 * XEmacs 21.2-beta1 is released.
3466 1998-07-12 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
3468 * eldap.c (Fldap_search_internal): When converting the list of
3469 attributes to search Copy the final 0 from Lisp strings to C
3471 Check base, not Vldap_default_base as a a string
3473 1998-07-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
3475 * nt.c: Remove Vstdio_str; already defined in console-stream.c.
3477 * unexnt.c: Unconditionally define bss_start and bss_size, and
3478 ensure that they don't go in the .bss section.
3480 1998-07-17 Olivier Galibert <galibert@pobox.com>
3482 * glyphs-x.c (convert_EImage_to_XImage): Fix previous patch (conv
3483 byte order is dependant of the local byte order).
3484 From Takeshi Hagiwara <hagiwara@ie.niigata-u.ac.jp>
3486 1998-07-18 SL Baur <steve@altair.xemacs.org>
3488 * glyphs-msw.c (mswindows_resource_normalize): Qresource ->
3489 Qmswindows_resource.
3490 From Jonathan Harris <jhar@tardis.ed.ac.uk>
3492 1998-07-12 SL Baur <steve@altair.xemacs.org>
3494 * general.c (syms_of_general): Add defsymbol for Qresource.
3496 * glyphs-msw.c (vars_of_glyphs_mswindows): Rename Qresource to
3497 Qmswindows_resource.
3498 (TopLevel): Rename 'resource image format to 'mswindows_resource.
3499 (mswindows_resource_validate): Rename.
3500 (mswindows_resource_normalize): Rename.
3501 (mswindows_resource_possible_dest_types): Rename.
3502 (mswindows_resource_instantiate): Rename.
3503 (image_instantiator_format_create_glyphs_mswindows): Replace
3504 `resource' with `mswindows.resource'.
3506 * XEmacs 21.0-pre5 is released.
3508 1998-07-10 SL Baur <steve@altair.xemacs.org>
3510 * mule-wnnfns.c (Fwnn_open): Correctly trap on misdefined Wnn
3511 server type in environment.
3512 Use alloca-ed strings instead of tiny fixed size ones.
3514 1998-07-09 SL Baur <steve@altair.xemacs.org>
3516 * XEmacs 21.0-pre4 is released.
3518 1998-07-01 James N. Potts <jnpotts@plutonium.net>
3520 * fileio.c: (expand_file_name): under win32: Don't treat names
3521 as UNC names if a drive letter has been specified. If a drive
3522 has been specified, strip out extra directory-seperators that
3523 reportedly cause problems under Win95.
3525 1998-07-09 Jonathan Harris <jhar@tardis.ed.ac.uk>
3527 * windowsnt.h: Define DUMP_SEPARATE_SECTION when building with
3528 MSVC >= 5.0. Put emacs init and zero-init data in a special
3529 section of the executable when this is defined.
3531 * unexnt.c, ntheap.h:
3532 Removed unused find_section() and get_section_size().
3535 Fix up the executable's checksum after dumping otherwise the
3537 When DUMP_SEPARATE_SECTION is defined, don't need to dump
3538 zero-init data separately from init data. Dump emacs data
3539 into a special section of the executable.
3540 When DUMP_SEPARATE_SECTION not defined, dump .bss up to
3541 my_ebss instead of up to the end of bss.
3543 1998-07-09 Jonathan Harris <jhar@tardis.ed.ac.uk>
3545 * filelock.c: Removed Vconfigure_lock_directory - already
3548 * frame-msw.c: Removed Qinitially_unmapped and Qpopup - already
3549 defined in frame.c and general.c respectively.
3551 * glyphs-msw.c: Removed Qresource - already defined in
3554 1998-07-05 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
3556 * eldap.c (Fldap_search_internal): Docstring fixes
3558 1998-07-04 Jonathan Harris <jhar@tardis.ed.ac.uk>
3560 * nt.c (init_environment): Removed unused PRELOAD_WINSOCK,
3561 EMACSDOC and TERM variables. Added EMACSDEBUGPATHS,
3562 EMACSPACKAGEPATH and INFOPATH variables.
3563 Removed unused get_emacs_configuration function.
3565 * s/windowsnt.h: Don't define EMACS_CONFIGURATION here because
3566 it is now defined at build-time by the makefile.
3568 1998-07-01 James N. Potts <jnpotts@plutonium.net>
3570 * fileio.c: (expand_file_name): under win32: Don't treat names as
3571 UNC names if a drive letter has been specified. If a drive has
3572 been specified, strip out extra directory-seperators that
3573 reportedly cause problems under Win95.
3575 1998-07-05 Andy Piper <andyp@parallax.co.uk>
3577 * faces.c (complex_vars_of_faces): for the gui-element face don't
3578 fallback to the default face, instead provide reasonable default
3579 fallbacks that were previously hardcoded elsewhere.
3581 1998-07-06 Olivier Galibert <galibert@pobox.com>
3583 * glyphs-x.c (convert_EImage_to_XImage): Fix pixel writing problem
3584 when the X server endianness is different than the client's one.
3586 1998-06-29 Kyle Jones <kyle_jones@wonderworks.com>
3588 * eval.c (run_hook_with_args_in_buffer): Check
3589 default (non-buffer-local) value of hook for
3590 nil before treating it as a function. Don't initialize
3591 the `globals' variable twice.
3593 1998-06-24 Jonathan Harris <jhar@tardis.ed.ac.uk>
3595 * fileio.c: Don't do directory seperator canonicalisation in
3596 substitute-in-file-name because we don't know that the
3597 filename refers to a local file.
3599 1998-06-24 Adrian Aichner <aichner@ecf.teradyne.com>
3601 * process-nt.c (nt_create_process): Try appending the standard
3602 executable file extensions to the filename if none supplied.
3604 1998-06-29 SL Baur <steve@altair.xemacs.org>
3606 * fileio.c (Fsubstitute_in_file_name): Enable double slash notation
3608 From Keisuke Mori <ksk@ntts.com>
3610 1998-06-24 Andy Piper <andyp@parallax.co.uk>
3612 * toolbar-msw.c (mswindows_output_toolbar): only enable masked
3613 images if we have masks. This handles the xbm case (have masks)
3614 and avoids overuse of resources in the xpm case (generally no masks).
3615 Don't output small toolbars.
3617 1998-06-29 Kyle Jones <kyle_jones@wonderworks.com>
3619 * eval.c (run_hook_with_args_in_buffer): Don't treat
3620 the default value of a buffer local hook as a list of
3621 hooks unless it is both a cons and the car of that cons
3624 1998-06-29 SL Baur <steve@altair.xemacs.org>
3626 * extents.c: Email address for Ben Wing is ben@xemacs.org.
3627 * process-unix.c: Ditto.
3628 * mule-coding.h: Ditto.
3629 * mule-coding.c: Ditto.
3630 * mule-charset.c: Ditto.
3631 * mule-charset.h: Ditto.
3632 * file-coding.c: Ditto.
3633 * file-coding.h: Ditto.
3635 1998-06-22 Jonathan Harris <jhar@tardis.ed.ac.uk>
3637 * event-msw.c: Guard against recursion when freeing
3638 FRAME_MSWINDOWS_TARGET_RECT struture in WM_SIZE processing.
3640 * frame-msw.c: Don't set WS_VISIBLE attribute on first frame.
3641 Call ShowWindow twice in init_frame_3 to get round runemacs
3644 1998-06-27 Hrvoje Niksic <hniksic@srce.hr>
3646 * scrollbar.c (vertical_scrollbar_changed_in_window): Ditto.
3648 * winslots.h: Rename.
3650 * window.c (specifier_vars_of_window): Renamed
3651 vertical-divider-draggable-p to vertical-divider-always-visible-p,
3652 as suggested by Ben Wing.
3653 (specifier_vars_of_window): Fix docstrings.
3655 1998-06-22 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
3657 * unexaix.c: Line number information works correctly again.
3659 1998-06-22 Olivier Galibert <galibert@pobox.com>
3661 * emacs.c (__sti__iflPNGFile_c___): Added. See comment. Cry.
3663 1998-06-21 Martin Buchholz <martin@xemacs.org>
3665 * editfns.c (get_home_directory): ANSIfy.
3666 XEmacs is compilable under C *and* C++.
3667 It's XEmacs, not Xemacs!
3669 1998-06-19 Jonathan Harris <jhar@tardis.ed.ac.uk>
3671 * console-msw.h: added a list of fonts to device data.
3673 * device-msw.c: enumerate list of available fonts in
3674 mswindows_init_device. Free list in mswindows_delete_device.
3676 * objects-msw.c: Added helper function match_font used by
3677 mswindows_initialize_font_instance and mswindows_list_fonts.
3678 Allow a charset to be specified in a font string, even if
3679 previous fields havn't been specified.
3681 1998-06-23 Greg Klanderman <greg@alphatech.com>
3683 * indent.c (column_at_point): column cache bugfix.
3684 Set last_known_column_point to the buffer position for
3685 which the column was requested, not buffer's point.
3687 * redisplay.c (decode_mode_spec): for current-column, show
3688 window's point's column, not buffer's point's column.
3690 1998-06-23 Andy Piper <andyp@parallax.co.uk>
3692 * menubar-msw.c (mswindows_handle_wm_command): use
3693 enqueue_misc_user event rather than
3694 mswindows_enqueue_msic_user_event to fix customize problems. Add some
3697 * console-msw.h: declare mswindows_enqueue_magic_event.
3699 * event-msw.c (mswindows_enqueue_magic_event): make global.
3701 1998-06-24 Hrvoje Niksic <hniksic@srce.hr>
3703 * line-number.c (LINE_NUMBER_FAR): Reverted to 16384.
3704 (buffer_line_number): Use EMACS_INT_MAX instead of random LOTS.
3705 (add_position_to_cache): Use EMACS_INT instead of int.
3707 1998-06-21 Olivier Galibert <galibert@pobox.com>
3709 * lisp-disunion.h (XMARKBIT): Have XMARKBIT return something
3710 suitable for an int used as a boolean (btw, C sucks.).
3712 1998-06-18 Andy Piper <andyp@parallax.co.uk>
3714 * object-msw.c: remove warnings.
3716 * device-msw.c: #define wrongly named cygwin structure elements.
3718 * s/cygwin32.h: define DEMI_BOLD
3720 1998-06-19 Jonathan Harris <jhar@tardis.ed.ac.uk>
3722 * redisplay-msw.c: new function mswindows_apply_face_effects.
3723 This is called by output_string and output_cursor to display
3724 underline and strikeout on faces.
3726 1998-06-19 Jonathan Harris <jhar@tardis.ed.ac.uk>
3728 * console-msw.h: added a list of fonts to device data.
3730 * device-msw.c: enumerate list of available fonts in
3731 mswindows_init_device. Free list in mswindows_delete_device.
3733 * objects-msw.c: Added helper function match_font used by
3734 mswindows_initialize_font_instance and mswindows_list_fonts.
3735 Allow a charset to be specified in a font string, even if
3736 previous fields havn't been specified.
3738 1998-06-15 Jonathan Harris <jhar@tardis.ed.ac.uk>
3741 Removed compilation warnings from mswindows_string_to_color.
3742 mswindows_list_fonts returns a more general bogus font.
3743 New lisp-visible function mswindows-color-list.
3745 1998-06-19 David Bush <david.bush@adn.alcatel.com>
3747 * editfns.c (Fuser_login_name): Modify to user new function
3749 (user_login_name): C only function to avoid Lisp object overhead
3750 Returns "unknown" instead of nil in Cygwin environment
3752 * fileio.c (Fexpand_file_name): Treat "~" and "~user" as
3753 equivalent for current user in Cygwin environment. Use new
3754 function user_login_name to get username.
3756 * lisp.h: Declare user_login_name
3758 1998-06-18 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
3760 * unexaix.c (make_hdr): Fixed bias computations so debugging info
3762 Some other insignificant nitpicks.
3764 1998-06-18 Andy Piper <andyp@parallax.co.uk>
3766 * toolbar-msw.c (mswindows_output_toolbar): specify ILC_MASK when
3767 creating the image list and make sure he bk color is transparent.
3769 1998-06-18 Jan Vroonhof <vroonhof@math.ethz.ch>
3771 * event-Xt.c (emacs_Xt_remove_timeout): Also remove timeout from
3772 completed_timeouts. The timer could have expired.
3774 1998-06-17 Andy Piper <andyp@parallax.co.uk>
3776 * console-msw.h: move XEMACS_RECT_WH inside frame
3777 parameters. define macors to access it.
3779 * frame-msw.c (mswindows_init_frame_1): use new target_rect
3780 parameter to intialise desired sizing. (mswindows_init_frame_2):
3781 enable and size the frame to something sensible when we get
3782 here. (mswindows_set_frame_properites): use new
3783 mswindows_size_frame_internal function and size frame if frame
3784 parameters not just if init is finished - WM_SIZE happens too
3785 early for some specs. (mswindows_size_frame_internal): new
3786 function abstracted from mswindows_set_frame_properties.
3787 (Vmswindows_use_system_frame_size_defaults):
3788 new variable controls whether to allow the system to pick frame
3789 size defaults, defaults to nil.
3791 * event-msw.c: in WM_SIZE use mswindows_size_frame_internal rather
3792 than duplicated code.
3794 1998-06-15 Colin Rafferty <colin@xemacs.org>
3796 * Makefile.in.in: Made EXTW_LINK expand properly.
3798 1998-06-12 Martin Buchholz <martin@xemacs.org>
3800 * redisplay.c (vars_of_redisplay): default value of
3801 column-number-start-at-one should be NIL!
3803 1998-06-11 Martin Buchholz <martin@xemacs.org>
3806 (upcase-initials "fooBar") ==> "FooBar" instead of "Foobar"
3808 1998-06-05 Hrvoje Niksic <hniksic@srce.hr>
3810 * eldap.c (Fldap_search_internal): Use build_ext_string instead of
3811 build_string to avoid crashes under Mule.
3813 1998-06-13 Andy Piper <andyp@parallax.co.uk>
3815 * ntplay.c (play_sound_data_1): don't delete the sound data until
3816 the next sound is played and the previous one finished.
3818 1998-06-10 Samuel Mikes <smikes@alumni.hmc.edu>
3820 * fileio.c (directory-sep-char): Escape backslashes.
3822 1998-06-10 Hrvoje Niksic <hniksic@srce.hr>
3824 * event-stream.c: Fix docstring reference.
3826 1998-06-12 Hrvoje Niksic <hniksic@srce.hr>
3828 * alloc.c (make_float): Remove useless initialization of `next'
3830 (make_pure_float): Ditto.
3832 * lisp.h (struct Lisp_Float): Rename `next' to `__unused__next'.
3834 1998-06-08 Kirill M. Katsnelson <kkm@kis.ru>
3836 * fileio.c (Fmake_directory_internal): Remove conditionals
3837 on WINDOWSNT when calling mkdir.
3839 * ntproc.c: Deleted the following unused functions:
3840 register_child, reap_subprocess, sys_wait.
3842 * nt.c (sys_rename): Ifzeroed this implementation.
3843 Deleted the following unused functions:
3844 sys_access, sys_chdir, sys_chmod, sys_creat, sys_link, sys_mkdir,
3845 sys_mktemp, sys_rmdir, sys_unlink, sys_close, sys_dup, sys_dup2,
3846 sys_read, sys_write.
3847 Merger sys_fopen and sys_open with sysdep.c implementation.
3849 * sysdep.c: Removed MS-DOS code.
3850 (sys_rename): Deal with Microsoft rename weirdness.
3851 (sys_open): Implemented for Windows.
3855 1998-06-08 Kirill M. Katsnelson <kkm@kis.ru>
3857 * buffer.c (complex_vars_of_buffer): Removed %t description from
3860 1998-06-04 Rick Rankin <Rick_Rankin-P15254@email.mot.com>
3862 * scrollbar-msw.c: initialize the cbSize element of the
3863 SCROLLINFO struct before calling SetScrollInfo. WinNT seems
3864 to ignore the value of cbSize, but Win95 (and I presume Win98)
3865 appear to want it set to sizeof(SCROLLINFO).
3867 1998-06-04 Kirill M. Katsnelson <kkm@kis.ru>
3869 * event-stream.c: Defined Qcancel_mode_internal.
3870 (syms_of_event_stream): defsymbol'ed it.
3872 * events.h: Externed it.
3874 * event-msw.c (mswindows_wnd_proc, WM_CANCELMODE): Added this handler.
3876 1998-06-04 Oliver Graf <ograf@fga.de>
3878 * frame-x.c (x_cde_destroy_callback): free the data
3879 (cde-start-drag-internal) corrected root position, 21.1 needs this
3880 hardcoded in Button events
3881 (offix-start-drag-internal) corrected root position
3883 1998-06-03 Kirill M. Katsnelson <kkm@kis.ru>
3885 * process-nt.c (signal_cannot_launch): Use signal_simple_error()
3888 1998-06-03 Kirill M. Katsnelson <kkm@kis.ru>
3890 * dialog-msw.c (button_width): Removed `inline' from the function
3893 1998-06-03 Rick Rankin <Rick_Rankin-P15254@email.mot.com>
3895 * frame-msw.c: add WS_VISIBLE flag to the first frame created.
3896 Note that adding this flag to subsequent frames causes problems.
3898 1998-06-03 Gunnar Evermann <Gunnar.Evermann@nats.informatik.uni-hamburg.de>
3900 * glyphs-eimage.c (png_instantiate) move 'struct
3901 png_memory_storage tbr' out of nested block to avoid dangling
3904 1998-06-02 Andy Piper <andyp@parallax.co.uk>
3907 * faces.c: rename 3d-object -> gui-element. add toolbar face which
3908 inherits from gui-element.
3910 * glyphs-msw.c: use DIBitmaps for xbm bitmaps to be consistent
3911 with existing code, generate masks correctly.
3913 1998-06-03 P. E. Jareth Hein <jareth@camelot-soft.com>
3915 * glyphs-eimage.c: Changed included header for gifs to use
3916 Gifreader instead of giflib.
3918 * glyphs-x.c: removed the image-related functions that were
3919 moved into glyphs-eimage.
3921 1998-06-02 David Bush <david.bush@adnb.alcatel.com>
3923 * glyphs.c (bitmap_to_lisp_data) Define XFree to be free
3924 if built without X Windows support.
3926 1998-06-02 Hrvoje Niksic <hniksic@srce.hr>
3928 * fns.c (Fconcat): Synch docstring with new reality.
3930 1998-06-03 SL Baur <steve@altair.xemacs.org>
3932 * frame.c: Remove reference to msdos.h (which is going away).
3933 Suggested by Hrvoje Niksic and Kirill Katsnelson.
3935 1998-06-02 P. E. Jareth Hein <jareth@camelot-soft.com>
3937 * glyphs-eimage.c (jpeg_instantiate): Fix handling of
3941 1998-05-30 Kirill M. Katsnelson <kkm@kis.ru>
3943 * events.h: Fixed commentary about misc-user scrollbar events.
3945 * scrollbar-x.c (x_update_vertical_scrollbar_callback): Use frame
3946 object as an event channel, instead of window object.
3947 (x_update_horizontal_scrollbar_callback): Ditto.
3949 1998-05-29 Andy Piper <andyp@parallax.co.uk>
3951 * ntplay.c (play_sound_data_1) new function. convert alloca data
3952 to malloc if necessary.
3953 (play_sound_file): if the file is not in our path then convert to
3956 1998-06-01 SL Baur <steve@altair.xemacs.org>
3958 * mule-mcpath.c (mc_chdir): Reverse parameters in call to memcpy.
3959 * msdos.c (Frecent_doskeys): Ditto.
3961 * unexalpha.c (unexec): Reverse parameters in call to memcpy.
3962 Suggested by Reggie Perry <perry@zso.dec.com>
3964 * buffer.h: Eliminate size in declaration.
3966 1998-06-01 Olivier Galibert <galibert@pobox.com>
3968 * unexelfsgi.c (unexec): Cleanup n/nn and remove useless kludge.
3970 1998-06-01 Kirill M. Katsnelson <kkm@kis.ru>
3972 * gui.c (gui_item_init): Changed the default value for config member
3973 from Qunbound to Qnil.
3975 1998-06-01 Greg Klanderman <greg@alphatech.com>
3977 * indent.c (vmotion_pixels): Don't #define abs().
3979 1998-05-30 Kirill M. Katsnelson <kkm@kis.ru>
3981 * s/windowsnt.h: Defined popen and pclose to be _popen and _pclose
3984 1998-05-30 Andy Piper <andyp@parallax.co.uk>
3986 * glyphs.h: add xbm declarations.
3988 * console.h: add xbm_instantiate_method device method.
3990 * glyphs.c (check_valid_xbm_inline) (xbm_validate)
3991 (bitmap_to_lisp_data) (xbm_mask_file_munging) (xbm_normalize)
3992 (xbm_possible_dest_types): moved here from glyphs-x.c. use
3993 locate_pixmap_file device method and read_bitmap_data_from_file
3994 instead of XmuReadBitmapDataFromFile.
3995 (xbm_instatntiate): make a device method.
3997 * glyphs-x.c: see glyphs.c changes. (read_bitmap_data_from_file)
3998 new function that just calls XmuReadBitmapDataFromFile.
3999 (x_xbm_instatntiate): device method from xbm_instantiate.
4001 * glyphs-msw.c (read_bitmap_data) (NextInt)
4002 (read_bitmap_data_from_file): new functions copied from Xmu
4004 (xbm_create_bitmap_from_data) from Ben <ben@666.com> convert
4005 inline data to an mswindows bitmap.
4006 (init_image_instance_from_xbm_inline) (xbm_instantiate_1)
4007 (mswindows_xbm_instantiate): mswindows-ized versions of the X
4010 1998-05-30 Kirill M. Katsnelson <kkm@kis.ru>
4012 * window.c (specifier_vars_of_window): Renamed `has_modeline-p' to
4013 `modeline-visible-p'.
4014 Declared specifier lisp variables at the beginning oh the file
4017 * procimpl.h (struct process_methods): Changed semantics of
4018 create_process method so it accepts lisp strings instead of
4021 * process.c (Fstart_process_internal): Moved building of
4022 unix style argv from here to process-unix.c, ...
4024 * process-unix.c (unix_create_process): ... right here.
4026 * process-nt.c (nt_create_process): Changed this function to
4027 support new semantics, so avoided a GC problem.
4029 * events.c (Fmake_event): Document misc-user events properties.
4030 (Fmake_event): Do not allow arbitrary objects for channel property
4031 of misc-user events.
4032 (Fmake_event): Change misc-user event validation: it is function
4033 which is required, not button.
4035 * event-msw.c (mswindows_user_event_p): Recognize misc user events as
4037 (mswindows_enqueue_misc_user_event): Added function.
4038 (mswindows_bump_queue): Removed function.
4039 (mswindows_enqueue_magic_event): Support NULL HWND parameter.
4040 (mswindows_wnd_proc, WM_CLOSE): Use mswindows_enqueue_misc_user_event().
4041 (mswindows_wnd_proc, WM_EXITSIZEMOVE): Ditto.
4042 (emacs_mswindows_handle_magic_event): Handle XM_BUMPQUEUE, by doing
4043 really nothing, which is my personal favorite thing.
4045 * console-msw.h: Removed prototype for mswindows_bump_queue().
4046 Added prototype for mswindows_enqueue_misc_user_event().
4048 * menubar-msw.c (mswindows_handle_wm_command): Use
4049 mswindows_enqueue_misc_user_event().
4051 * toolbar-msw.c (mswindows_handle_toolbar_wm_command): Ditto.
4053 * dialog-msw.c (dialog_proc): Ditto.
4055 * scrollbar-msw.c (mswindows_handle_scrollbar_event): Ditto.
4056 (mswindows_handle_scrollbar_event): Use frame, not window, for misc
4057 user events channel.
4059 1998-05-29 Greg Klanderman <greg@alphatech.com>
4061 * window.c (Fwindow_displayed_text_pixel_height): was relying on
4062 incorrect semantics of vmotion_pixels which has been fixed. don't
4063 use it anymore as it can't easily be used.
4065 * indent.c (vmotion_pixels): fix off by one bug moving up. also
4066 the motion was reported incorrectly if you tried to go past end of
4069 1998-05-30 Kirill M. Katsnelson <kkm@kis.ru>
4071 * toolbar.h: Removed misleading commentary, as Martin suggested.
4073 1998-05-30 Kirill M. Katsnelson <kkm@kis.ru>
4075 * lisp.h: Extern Qactivate_menubar_hook.
4077 * menubar-msw.c (unsafe_handle_wm_initmenu_1): Pass correct value to
4080 1998-05-29 Andy Piper <andyp@parallax.co.uk>
4082 * glyphs-msw.c: use BPLINE macro.
4084 * select-msw.c (mswindows-selection-exists-p)
4085 (mswindows-delete-selection): doc string fixes.
4087 * toolbar-msw.c (mswindows_output_toolbar): make disabled buttons
4088 unpressable. warning elimination.
4090 1998-05-28 Martin Buchholz <martin@xemacs.org>
4092 * alloc.c (dbg_constants):
4095 Remove toolbar_data debugging code, since that lrecord has
4098 Wed May 27, 1998 Darryl Okahata <darrylo@sr.hp.com>
4100 * alloc.c: zap cached value of (user-home-directory), so that
4103 * buffer.c: From init_buffer(), separated out code that
4104 determined the initial directory for the *scratch* buffer, and
4105 put them into a function called "init_initial_directory()".
4106 The initial directory is now available as a global "char *"
4107 called initial_directory.
4109 * buffer.h: Added extern entries for initial_directory[] and
4110 init_initial_directory().
4112 * editfns.c: added new elisp function "user-home-directory",
4113 which basically returns getenv("HOME"), but attempts to use
4114 other values if $HOME isn't set.This may have to be tweaked in
4115 the future as, under Unix, "/" is used if $HOME isn't set (this
4116 probably should be set to the current directory). To support
4117 this, a new C function, "get_home_directory()", now exists,
4118 which returns the "home directory", as a "char *" string.
4120 * emacs.c: Rearrange NT initialization order so that
4121 environment/registry variables will be properly entered into
4122 Vprocess_enviroment.
4124 * fileio.c: replaced egetenv("HOME") with calls to the new
4125 get_home_directory().
4127 * lisp.h: Added function prototypes for uncache_home_directory()
4128 and get_home_directory(), along with lisp prototypes for
4129 Fuser_home_directory() and friends.
4131 * nt.c: replaced getenv("HOME") with calls to the new
4132 get_home_directory().
4134 * sysfile.h: for WINDOWSNT, #include <direct.h>, to suppress
4135 warnings about getcwd(), etc. not having prototypes.
4137 1998-05-28 Kirill M. Katsnelson <kkm@kis.ru>
4139 * process-nt.c (send_signal): Emulate SIGHUP.
4140 (validate_signal_number): Ditto.
4142 * event-msw.c (mswindows_wnd_proc, WM_KEYDOWN): Unconditionally
4143 remove MOD_SHIFT from ASCII characters.
4144 (mswindows_wnd_proc, WM_KEYDOWN): Do not activate the menubar when
4147 1998-05-24 Oliver Graf <ograf@fga.de>
4149 * frame-x.c (cde-start-drag-internal): added filename and multi-
4151 (x_cde_convert_callback) dito
4153 1998-05-26 Oliver Graf <ograf@fga.de>
4155 * frame-x.c: include event-mod.h also with CDE
4156 (x_cde_convert_callback) made the thing working
4157 (cde-start-drag-internal) also debugging
4159 1998-05-25 Hans Guenter Weigand <hgweigand@wiesbaden.netsurf.de>
4166 - add __OpenBSD__ where __NetBSD__ was found.
4167 - TODO: replace platform-specific conditional compilation by
4168 feature tests in configure.in.
4170 1998-05-15 Greg Klanderman <greg@alphatech.com>
4172 * window.c (Fwindow_displayed_text_pixel_height): New function.
4173 (syms_of_window): DEFSUBR it.
4175 * indent.c (Fvertical_motion_pixels): New function - request
4177 (vmotion_pixels): helper.
4178 (syms_of_indent): DEFSUBR.
4179 * lisp.h: declaration for vmotion_pixels().
4181 * indent.c (Fvertical_motion): Add optional third argument PIXELS,
4182 to request returning motion in pixels.
4183 (Fvertical_motion_pixels): Remove, functionality merged into
4185 * window.c (window_scroll): call Fvertical_motion with 3 arguments.
4186 (Fmove_to_window_line): ditto.
4187 * lisp.h: Change declaration for Fvertical_motion.
4189 * window.c: rename window-text-pixel-{height,width,edges} to
4190 window-text-area-pixel-*.
4192 1998-05-26 Gunnar Evermann <Gunnar.Evermann@nats.informatik.uni-hamburg.de>
4194 * tooltalk.c (vars_of_tooltalk) added staticpro for
4195 Tooltalk_Message_plist_str and Tooltalk_Pattern_plist_str
4197 1998-05-27 Andy Piper <andyp@parallax.co.uk>
4199 * faces.c: create a new 3d_object_face, make modeline and
4200 vertical_divider faces fallback to this rather than the default.
4202 1998-05-21 Andy Piper <andyp@parallax.co.uk>
4204 * s/cygwin32.h: define charsets for cygwin.
4206 1998-05-25 Andy Piper <andyp@parallax.co.uk>
4208 * toolbar-msw.c (mswindows_output_toolbar): fix up button sizes
4209 and coordinates. resize bitmaps if we have already settled on a
4212 * glyphs-msw.c (xpm_to_eimage): add ';' for mswindows compiler.
4214 1998-05-25 Hrvoje Niksic <hniksic@srce.hr>
4216 * toolbar-msw.c (mswindows_handle_toolbar_wm_command): Ditto.
4218 * menubar-msw.c (mswindows_handle_wm_command): Ditto.
4222 * gui-x.c (popup_selection_callback): Ditto.
4224 * dialog-msw.c (dialog_proc): get_callback -> get_gui_callback.
4226 * gui.c (get_callback): Renamed to get_gui_callback.
4228 1998-05-17 Martin Buchholz <martin@xemacs.org>
4230 * glyphs.h: order rearrangement.
4232 * device-tty.c (tty_asynch_device_change): Warning suppression.
4233 * device-x.c (x_device_system_metrics): Warning suppression.
4234 Make Doc strings consistent with coding standards.
4236 1998-05-24 Martin Buchholz <martin@xemacs.org>
4238 * general.c: multiple definition of `Qicon'. general.c seems
4239 like a good home for Qicon.
4241 1998-05-20 Kirill M. Katsnelson <kkm@kis.ru>
4243 * This patch is to fix compilation warnings under Windows.
4245 * s/windowsnt.h: Encapsulate getpid with sys_getpid.
4246 Added prototypes for FSF inherited functions, with which XEmacs is
4247 sprinkled thoroughly.
4248 Removed some #if 0 code. Bracketed some more definitions, probably
4249 related to Visual C versions prior to 4 (we do not support them).
4251 * sysfloat.h (logb): Finally, get logb() prototyped.
4253 * sysfile.h: Added Windows specific includes.
4254 Removed old Windows specific code bracketed with #if 0.
4256 * sysdep.h: Added prototype for xrealpath().
4258 * sysdep.c (sys_getpid): Added function, to support '95 negative pids.
4260 * symsinit.h: Added prototypes for syms_of_dired_mswindows,
4261 vars_of_dired_mswindows and init_ntproc (Grrr).
4263 * realpath.c: Added Windows specific include files.
4264 (xrealpath): Conditionalized declaration of some auto variables on
4265 S_IFLNK, to avoid warnings.
4267 * ntproc.c: Disabled some compiler warnings. This file is going to
4268 die, so I have not cleaned it up much.
4269 (set_process_dir): Const parameter.
4270 (Fwin32_short_file_name): Down CHECK_* macros to one argument.
4271 (Fwin32_long_file_name): Ditto.
4272 (Fwin32_set_process_priority): Ditto. Why didn't I remove these
4275 * nt.h: Added prototypes for set_process_dir and convert_time.
4277 * nt.c: More include files.
4278 (getpwnam): Consted char* argument.
4279 (get_emacs_configuration): Const return value.
4280 (opendir): Const argument.
4281 (stat): Casted converstion long->short.
4282 (stat): Removed ad hoc and questionable support for non-MSC compile.
4283 (sys_pipe): Removed unused auto variable.
4284 (_sys_read_ahead): Removed calls to DebPrint.
4285 (sys_read): Ditto, in 2 places.
4286 (term_ntproc): Added unused int parameter to signal handler, to
4287 avoid a warning when compiling a call to signal().
4288 (msw_sigset): Properly return old signandler or NULL instead of void.
4290 * floatfns.c (Flogb): Casted arguments to unary minus to signed.
4292 * gmalloc.c (morecore): Ditto.
4293 (_free_internal): Ditto.
4295 * lread.c (parse_integer): Ditto.
4297 * dired-msw.c: Added several include files.
4299 * cmdloop.c (Fcommand_loop_1): Added Microsoft C to the Big List
4300 of Compilers to Shut Up.
4302 * callproc.c: Added #includes to suppress warnings under Windows.
4303 (init_callproc): Removed #if0'ed code and unused variables.
4305 1998-05-25 Andy Piper <andyp@parallax.co.uk>
4307 * device-msw.c (mswindows_device_system_metrics): do planes in a
4308 way consistent with X.
4310 * glyphs-msw.c (mswindows_initialize_image_instance_mask): don't
4311 use SetPixel, use DIBits functions.
4312 (xpm_to_eimage): frob colors more closely like xpm deos.
4314 * toolbar-msw.c: only resize bitmaps when shrinking. Adjust look
4315 to be closer to X version.
4317 * event-msw.c: use tooltip string directly.
4319 * redisplay-msw.c: reinstate Kirill's bg pixmap change.
4321 * objects-msw.c: frob rgb colors that only Kyle uses.
4323 * dialog-msw.c (button_width): INLINE -> inline.
4325 1998-05-23 SL Baur <steve@altair.xemacs.org>
4327 * getloadavg.c (getloadavg): Fix typo.
4329 1998-05-23 Kirill M. Katsnelson <kkm@kis.ru>
4331 * objects-msw.c (mswindows_initialize_font_instance): Added support
4332 for font character sets.
4333 Replaced 'XXX' with '####' in comments throughout the file.
4335 1998-05-23 Kirill M. Katsnelson <kkm@kis.ru>
4337 * emacs.c (main_1): Added calls to vars_of_dialog_mswindows() and
4338 console_type_create_dialog_mswindows(), to initialize Windows dialog
4341 * symsinit.h: Prototyped the above functions.
4343 * dialog-x.c (x_popup_dialog_box): Moved dialog descriptor consistency
4344 checks to dialog.c...
4346 * dialog.c (Fpopup_dialog_box): ...right here. Added more checks: a
4347 device must support dialog boxes, and the descriptor must supply at
4350 * dialog-msw.c: New file, dialogs for Windows.
4352 1998-05-21 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
4354 * eldap.c (ldap_search_unwind): Return Qnil instead of nothing
4355 (Fldap_search_internal): Removed unused variable `err'
4357 * eldap.h: Moved Lisp_LDAP declaration here instead of using a
4360 1998-05-17 Martin Buchholz <martin@xemacs.org>
4362 * eldap.h: eldap.[ch] should never be used unless HAVE_LDAP is
4363 defined. Therefore there is no need to handle the case when
4364 HAVE_LDAP is undefined. Similarily, there is no reason to have
4365 any code wrapped within `#ifdef emacs', since this code is only
4366 useful within an emacs. This simplifies the code significantly.
4368 * inline.c: Include eldap.h only if HAVE_LDAP.
4369 * inline.c: Don't bother including TT_C_H_PATH, since tooltalk.h
4372 1998-05-21 Kirill M. Katsnelson <kkm@kis.ru>
4374 * unexnt.c (copy_executable_and_dump_data_section): Suppress
4375 printing dump stats when building without DEBUG_XEMACS.
4376 (dump_bss_and_heap): Ditto.
4378 1998-05-21 Andy Piper <andyp@parallax.co.uk>
4380 * gnuclient.c: don't suppress window system if there is no display
4381 and we are running under mswindows. send 'mswindows device type if
4382 we are in this situation.
4384 1998-05-20 Andy Piper <andyp@parallax.co.uk>
4387 * lisp.h: Qbitmap, Qcursor, Qicon moved here from glyphs-msw.c.
4389 * glyphs-msw.c: change cursor imgae type name to resource. Fix
4392 1998-05-20 Kirill M. Katsnelson <kkm@kis.ru>
4394 * EmacsFrame.c (Xt_StringToScrollBarPlacement): Added support for
4395 {top,bottom}-{left,right} values in addition to
4396 {top,bottom}_{left,right}.
4398 1998-05-18 Hrvoje Niksic <hniksic@srce.hr>
4400 * fileio.c (Fmake_temp_name): Remove unreached code.
4402 * process-nt.c (validate_signal_number): Use
4403 signal_simple_error().
4405 1998-05-19 Martin Buchholz <martin@xemacs.org>
4408 * sound.c (vars_of_sound):
4409 * sysdep.c (reset_sigio_on_device):
4410 * window.c (window_bottom_gutter_height):
4411 unexhp9k800.c:258: warning: implicit declaration of function
4412 `calculate_checksum'
4413 sound.c:604: warning: implicit declaration of function `vars_of_hpplay'
4414 sysdep.c:1012: warning: unused variable `owner'
4415 window.c:993: warning: `window_right_toolbar_width' defined but not used
4417 1998-05-19 Andy Piper <andyp@parallax.co.uk>
4419 * glyphs-msw.c (mswindows_create_resized_mask)
4420 (mswindows_create_resized_bitmap): new funnctions split out from
4421 mswindows_resize_dibitmap_instance.
4423 * glyphs-msw.h: declare new resize functions.
4425 * toolbar-msw.c (mswindows_output_toolbar): use new bitmap resize
4426 functions so that the original bitmaps are preserved.
4428 * sheap.c: fixup static heap exhausted error to avoid FAQs.
4430 * redisplay-msw.c (mswindows_output_blank): fixup brush from bg
4431 color if we are trying to output 0 depth bg pixmap.
4433 * scrollbar-msw.c: warning elimination.
4435 1998-05-18 Martin Buchholz <martin@xemacs.org>
4437 * frame-x.c (x_update_frame_external_traits): Start preprocessor
4438 directives in column 1.
4440 * search.c (skip_chars): Avoid using xzero with arrays, since some
4441 compilers get confused by the construct &array.
4443 1998-05-18 Kirill M. Katsnelson <kkm@kis.ru>
4446 * objects-msw.c: Changed the charset value for a new font from
4447 "don't care" to "ansi".
4449 * glyphs-msw.c (convert_EImage_to_DIBitmap): Warnings fix.
4451 1998-05-18 Kirill M. Katsnelson <kkm@kis.ru>
4453 * event-msw.c (mswindows_wnd_proc, WM_KEYDOWN): Do not clear shift
4454 modifier on control chars.
4455 Use IsCharAlpha() instead of isaplha().
4457 1998-05-19 Kazuyuki IENAGA <ienaga@jsys.co.jp>
4459 * s/freebsd.h: FreeBSD 2.2.6 now supports setlocale(LC_ALL, "").
4461 1998-05-18 Kirill M. Katsnelson <kkm@kis.ru>
4463 * objects-msw.c (mswindows_initialize_font_instance): Use ANSI
4464 charset when creating font.
4465 (mswindows_initialize_color_instance): Do not create brush along
4467 (mswindows_finalize_color_instance): Do not delete it then.
4469 * objects-msw.h (struct mswindows_color_instance_data): Removed
4470 brush slot, and corresponding accessor macro.
4472 1998-05-18 Kirill M. Katsnelson <kkm@kis.ru>
4474 * toolbar.c: Removed toolbar_data lrecord implementation.
4475 (mark_frame_toolbar_buttons_dirty): Replase usage of toolbar_data
4476 with toolbar_buttons (via FRAME_TOOLBAR_BUTTONS).
4477 (compute_frame_toolbar_buttons): Ditto.
4478 (CHECK_TOOLBAR): Ditto.
4479 (set_frame_toolbar): Removed allocation of toolbar_data lrecord.
4480 (update_frame_toolbars): Do not check for changed buffer
4481 here. Toolbar information is provided by cached specs in
4482 windows. The check for buffer is eliminated becuase toolbars are
4483 marked changed in set_frame_selected_window() in frame.c
4484 Added check for changed toolbars geometry.
4485 (compute_frame_toolbars_data): Removed unused second parameter;
4486 Adjusted callers of this static function throughout the file.
4487 (init_frame_toolbars): Initialize current_toolbar_size.
4488 (update_frame_toolbars): Use DEVICE_SUPPORTS_TOOLBARS_P instead of
4489 what is its current expansion, for clarity.
4490 (init_frame_toolbars): Ditto.
4491 (init_device_toolbars): Ditto.
4492 (init_global_toolbars): Ditto.
4494 * toolbar.h: Removed definition of toolbar_data lrecord.
4495 Added accessor macros FRAME_TOOLBAR_BUTTONS and
4496 FRAME_CURRENT_TOOLBAR_SIZE.
4497 Added macro DEVICE_SUPPORTS_TOOLBARS_P.
4499 * toolbar-x.c (x_output_toolbar): The same change as in
4501 (x_output_toolbar): Ditto.
4502 (x_redraw_exposed_toolbar): Ditto.
4504 * toolbar-msw.c (mswindows_output_toolbar): Retrieve current
4505 buttons from toolbar_buttons using FRAME_TOOLBAR_BUTTONS macro.
4506 (mswindows_output_toolbar): Ditto.
4507 (mswindows_output_toolbar): Ditto.
4509 * frame.c (mark_frame): Removed marking of arrays, according to
4510 frameslots.h change.
4511 (nuke_all_frame_slots): Ditto.
4512 (set_frame_selected_window): Mark toolbars changed when
4513 last_nonminibuf_window changes.
4515 * frame.h (struct frame): Moved some slots to frameslots.h.
4516 Added current_toolbar_size array.
4517 Changed references from toolbar_data to toolbar_buttons in macros
4518 FRAME_RAW_THEORETICAL_TOOLBAR_VISIBLE,
4519 FRAME_RAW_THEORETICAL_TOOLBAR_SIZE and
4520 FRAME_RAW_THEORETICAL_TOOLBAR_BORDER_WIDTH.
4522 * frameslots.h: Added macro MARKED_SLOT_ARRAY a la winslots.h
4523 Moved arrays of lisp objects here from frame.h: toolbar_size,
4524 toolbar_visible_p, toolbar_border_width.
4525 Removed toolbar_data slot and added toolbar_buttons.
4527 1998-05-17 Kirill M. Katsnelson <kkm@kis.ru>
4529 * symsinit.h: Externed syms_of_process_nt()
4531 * emacs.c (main_1): Call syms_of_process_nt()
4533 * process-nt.c: Quote process arguments by a call to Lisp function
4534 `nt-quote-process-args'.
4535 (syms_of_process_nt): New function.
4536 (nt_send_process): Flush data stream after each write, to avoid
4537 leaving buffered data.
4538 (nt_send_process): When blocked on process output, wait for
4539 process to slurp more for progressively increasing time intervals.
4541 1998-05-17 Martin Buchholz <martin@xemacs.org>
4543 * window.c (have_undivided_common_edge): Make file-local function
4545 (map_windows): Return 0 if all map functions successful.
4548 * winslots.h: Use unlikely names for local variables in macros to
4549 avoid shadowing warnings.
4551 1998-05-17 Andy Piper <andyp@parallax.co.uk>
4553 * toolbar-msw.c (mswindows_output_toolbar): hash on toolbar width
4554 so that we re-output if the toolbar size has changed.
4556 1998-05-17 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
4558 * s/aix4-2.h (ALIGN_DATA_RELOC): Undefined to support new unexaix.c.
4560 * s/aix3-1.h (ALIGN_DATA_RELOC): Defined to support new unexaix.c.
4562 * unexaix.c: Massive cleanup and support of AIX 4.2 (and hopefully
4565 1998-05-16 Kirill M. Katsnelson <kkm@kis.ru>
4567 * glyphs-msw.c: Defined OEMRESOURCE before including windows.h to
4568 get bitmap manifest constants defined.
4570 * console-msw.h: Include system files in angle brackets, not in
4573 * window.c (specifier_vars_of_window): Fixed a typo in
4574 `vertical-divider-line-width' docstirng.
4576 1998-05-16 Olivier Galibert <galibert@pobox.com>
4578 * line-number.c (delete_invalidate_line_number_cache): Use an
4580 (buffer_line_number): Remove dangerous, plain wrong when using
4581 64bits emacs ints, cast.
4583 * insdel.c (buffer_delete_range): Use an EMACS_INT.
4585 * cmds.c (Fforward_line): Use EMACS_INTs.
4587 * search.c (bi_scan_buffer): Change to use EMACS_INTs.
4588 (scan_buffer): Ditto.
4589 (bi_find_next_newline_no_quit): Remove useless cast.
4590 (find_next_newline_no_quit): Ditto.
4591 (find_next_newline): Ditto.
4592 (find_before_next_newline): Use an EMACS_INT.
4594 * lisp.h: Change scan_buffer to pass EMACS_INTs.
4596 1998-05-16 Hrvoje Niksic <hniksic@srce.hr>
4598 * menubar-msw.c (mswindows_handle_wm_command): Ditto.
4600 * toolbar-msw.c (mswindows_handle_toolbar_wm_command): Ditto.
4602 * gui-x.c (popup_selection_callback): Use it.
4604 * gui.h (get_callback): Declare it.
4606 * gui.c (get_callback): New function.
4608 1998-05-15 SL Baur <steve@altair.xemacs.org>
4610 * window.c (have_undivided_common_edge): Guard scrollbar specific
4612 (window_needs_vertical_divider_1): Ditto.
4614 1998-05-16 Hrvoje Niksic <hniksic@srce.hr>
4616 * emacs.c (decode_path): Eliminate compiler warning.
4617 (Fdecode_path): Renamed to Fsplit_path.
4618 (Fsplit_string_by_char): New function.
4620 1998-05-14 Damon Lipparelli <lipp@primus.com>
4622 * winslots.h: close comment
4624 1998-05-16 Kirill M. Katsnelson <kkm@kis.ru>
4626 * callproc.c: Removed declared and unused variable Qbuffer_file_type.
4628 * bufslots.h: Removed buffer_file_type slot.
4630 * buffer.c (complex_vars_of_buffer): Removed buffer_file_type from
4632 (complex_vars_of_buffer): Removed buffer-file-type variable and
4633 its default reference.
4635 1998-05-15 Kirill M. Katsnelson <kkm@kis.ru>
4637 * faces.c (complex_vars_of_faces): Defined
4638 Vvertical_divider_face.
4639 (vars_of_faces): Staticpro it.
4641 * faces.h: Externed Vvertical_divider_face.
4643 * redisplay-x.c (x_output_vertical_divider): Use
4644 Vvertical_divider_face to draw the divider instead of modeline
4647 * redisplay-msw.c (mswindows_output_vertical_divider): Draw
4648 divider face using Vvertical_divider_face background.
4649 Fix drawing spacing gaps around the divider.
4651 1998-05-14 Didier Verna <verna@inf.enst.fr>
4653 * redisplay-x.c (x_output_vertical_divider): removed hard-wired
4654 values for the vertical divider line width and spacing. Use the
4655 cached values from the window structure instead.
4656 (x_divider_width): ditto.
4658 * window.c (specifier_vars_of_window): new specifiers:
4659 vertical-divier -line-width and -spacing.
4660 (vertical_divider_global_width_changed): formerly known as
4661 vertical_divider_shadow_thickness_changed.
4663 * winslots.h: new slots: vertical_specifier _line_width and
4664 _spacing. Plus corrected a comment typo.
4666 1998-05-15 Kirill M. Katsnelson <kkm@kis.ru>
4668 * window.h: Declared window_divider_width().
4670 * console-stream.c (stream_divider_width): Removed method.
4671 (console_type_create_stream): And declaration for it.
4673 * redisplay.c (pixel_to_glyph_translation): Use
4674 window_divider_width() instead of divider_width redisplay method.
4675 (pixel_to_glyph_translation): Fix top divider edge calculation
4676 when scrollbar is on top.
4678 * window.c (window_divider_width): New function, an outphaser for
4679 divider_width redisplay method.
4680 (window_right_gutter_width): Use it.
4681 (specifier_vars_of_window): For vertical-divider-{spacing,line-width}
4682 specifiers, set fallback values differently on TTYs, and document
4683 the behavior of these on TTYs in the docstrings.
4685 * scrollbar.c (update_scrollbar_instance): Use
4686 window_divider_width() instead of divider_width redisplay method.
4688 * console.h (struct console_methods): Removed divider_width_method.
4690 * redisplay-tty.c (tty_divider_width): Removed device method.
4691 (console_type_create_redisplay_tty): Removed definition for it.
4692 (tty_output_vertical_divider): Respect the value returned by
4693 window_divider_width thus divider line width specification.
4695 * redisplay-msw.c (mswindows_divider_width): Removed device method.
4696 (console_type_create_redisplay_mswindows): Removed definition for it.
4697 (mswinodws_output_vertical_divider): Respect the value returned by
4698 window_divider_width thus divider line width specification.
4700 1998-05-15 Andy Piper <andyp@parallax.co.uk>
4702 * toolbar-msw.c: guess toolbar frame size a bit more accurately.
4704 1998-05-15 Andy Piper <andyp@parallax.co.uk>
4706 * glyphs-msw.c: resource loading implementation.
4707 (cursor_normalize): new function.
4708 (cursor_validate): ditto.
4709 (cursor_instantiate): ditto.
4710 (cursor_name_to_resource): ditto.
4711 (cursor_possible_dest_types): ditto.
4712 (check_valid_symbol): ditto.
4713 (check_valid_string_or_int): ditto.
4715 1998-05-14 Martin Buchholz <martin@xemacs.org>
4717 * sysdep.c (tty_init_sys_modes_on_device): Treat VSUSP just like
4720 * process-unix.c (process_signal_char): Use VSUSP instead of
4721 non-standard VSWTCH. Always prefer VSUSP to VSWTCH.
4723 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
4725 * specifier.c (specifier_instance): Change locale precedence of
4726 instantiation so window locale has higher priority than buffer
4728 (Fspecifier_instance): Reflect this in docstring.
4729 (Fadd_spec_list_to_specifier): Ditto.
4730 (Fadd_spec_to_specifier): Ditto.
4731 (Fremove_specifier): Ditto.
4733 1998-05-15 Kirill M. Katsnelson <kkm@kis.ru>
4735 ** Dialog separation into a device method from Andy Piper
4737 * emacs.c (main_1): Call console_type_create_dialog_x().
4739 * dialog-x.c (x_popup_dialog_box): Old Fpopup_dialog_box converted
4740 into this device method.
4741 (console_type_create_dialog_x): New function.
4743 * dialog.c (Fpopup_dialog_box): New function.
4744 (syms_of_dialog): Defsubr it.
4746 * console.h (struct console_methods): Declared
4747 popup_dialog_box_method().
4749 * symsinit.h: Defined console_type_create_dialog_{x,mswindows}
4751 1998-05-14 Oliver Graf <ograf@fga.de>
4753 * dragdrop.c (vars_of_dragdrop): dragdrop-protocols created
4754 * frame-x.c (x_cde_transfer_callback): checked for merge errors
4756 1998-05-13 Oliver Graf <ograf@fga.de>
4758 * dragdrop.c (vars_of_dragdrop): provide dragdrop-api
4760 1998-05-15 Kirill M. Katsnelson <kkm@kis.ru>
4762 * console.h (device_metrics): Removed dbcs, input-method-editor
4763 and right-to-left metrics.
4765 * device.c (Fdevice_system_metric): Ditto.
4766 (Fdevice_system_metrics): Ditto.
4767 (syms_of_device): Ditto.
4768 (Fdevice_system_metric): Swapped DEVICE and METRIC parameters back
4771 1998-05-14 Hrvoje Niksic <hniksic@srce.hr>
4773 * line-number.h (mark_line_number_cache): Remove unused
4776 * line-number.c (LINE_NUMBER_FAR): Increase to 32768.
4777 (get_nearest_line_number): Simplify.
4778 (add_position_to_cache): Make the old marker point nowhere.
4780 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
4782 ** Renamed window-divider-map => vertical-divider-map
4783 and event-over-divider-p => event-over-vertical-divider-p,
4784 in the following files/functions:
4786 * events.c (Fevent_over_divider_p):
4787 * keymap.c (get_relevant_keymaps):
4790 * redisplay.h (OVER_V_DIVIDER): Renamed so from OVER_DIVIDER.
4792 * redisplay.c (pixel_to_glyph_translation): Use OVER_V_DIVIDER.
4794 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
4796 * window.c (vertical_divider_changed_in_window): Renamed so.
4797 (specifier_vars_of_window): Defined Vvertical_divider_draggable_p.
4798 (window_needs_vertical_divider_1): Decide whether we need it based
4799 on the value of the above specifier. If separators are unwanted,
4800 put them only if there's no scrollbar between this window and its
4802 (have_undivided_common_edge): New function, helper for the above.
4803 (window_needs_vertical_divider): Return either a cached value,
4804 or clauclate and cache one.
4805 (invalidate_vertical_divider_cache_in_window): Implemented.
4806 (map_windows): Changed return type to int, return the value from
4809 * window.h: Prototype invalidate_vertical_divider_cache_in_window.
4810 (struct window): Added need_vertical_divider_p and
4811 need_vertical_divider_valid_p.
4813 * winslots.h: Added vertical_divider_draggable_p slot.
4815 * scrollbar.c (vertical_scrollbar_changed_in_window): Implemented.
4816 (specifier_vars_of_scrollbar): Used it in all vertical specifiers.
4818 * frame.c (invalidate_vertical_divider_cache_in_frame): New function.
4820 * frame.h (MARK_FRAME_WINDOWS_STRUCTURE_CHANGED): Call
4821 invalidate_vertical_divider_cache_in_frame().
4824 1998-05-14 Andy Piper <andyp@parallax.co.uk>
4826 * toolbar-msw.c: provide correct parameters to TB_SETROWS.
4828 * glyphs-msw.c (mswindows_initialize_image_instance_mask): size
4829 masks correctly and don't select 0.
4831 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
4833 * winslots.h: New file, declaration of some struct window and
4834 struct saved_window members.
4836 * window.h (struct window): Include it, with required preprocessor
4839 * window.c (mark_window): Ditto.
4840 (allocate_window): Ditto.
4841 (struct saved_window): Ditto.
4842 (mark_window_config): Ditto.
4843 (saved_window_equal): Ditto.
4844 (Fset_window_configuration): Ditto.
4846 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
4848 * redisplay-msw.c (mswindows_output_vertical_divider): Syntax fix.
4850 1998-05-12 Didier Verna <verna@inf.enst.fr>
4852 * redisplay-x.c (x_output_vertical_divider): draw shadows around
4853 the divider line. The shadow thickness is currently
4854 hard-wired. This will probably be turned into a specifier soon.
4856 1998-05-12 Didier Verna <verna@inf.enst.fr>
4858 * console.h (struct console_methods): the divider_width console
4859 method now requires a struct window * argument.
4861 * redisplay-x.c (x_divider_width): ditto. Plus remove
4862 X_DIVIDER_WIDTH, X_DIVIDER_SHADOW_THICKNESS.
4863 (x_output_vertical_divider): give a depressed look when the shadow
4864 thickness is negative.
4866 * console-stream.c (stream_divider_width): pass a struct window *
4869 * redisplay-tty.c (tty_divider_width): ditto.
4871 * window.c (window_right_gutter_width): totdi.
4873 * redisplay.c (generate_modeline): ittod.
4875 * scrollbar.c (update_scrollbar_instance): ttido.
4877 * redisplay-msw.c (mswindows_divider_width): ottid.
4878 WARNING: this enables to compile, but the feature is not functional.
4880 * window.h (struct window): new field
4881 vertical_divider_shadow_thickness.
4883 * window.c (specifier_vars_of_window): new specifier
4884 vertical-divider-shadow-thickness.
4885 (vertical_divider_shadow_thickness_changed): new function to
4886 inform redisplay that the window has changed.
4887 (mark_window): handle new field vertical_divider_shadow_thickness
4889 (allocate_window): ditto.
4890 (saved_window_equal): toddi.
4891 (Fset_window_configuration): totid.
4892 (save_window_save): ttdio.
4893 (struct saved_window): new field vertical_divider_shadow_thickness.
4895 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
4897 * device-msw.c (mswindows_device_system_metrics): Support a deluge
4900 1998-05-12 Oliver Graf <ograf@fga.de>
4902 * frame-x.c (x_cde_transfer_callback): fixed for the new protocol
4903 * event-Xt.c (x_event_to_emacs_event): C++ compability
4905 1998-05-14 Hrvoje Niksic <hniksic@srce.hr>
4907 * emacs.c (Fdecode_path): Default SEPCHAR to value of
4910 1998-05-14 Hrvoje Niksic <hniksic@srce.hr>
4912 * emacs.c (vars_of_emacs): Do it here; change the meaning of
4915 * fileio.c (vars_of_fileio): Don't define Vpath_separator here.
4917 1998-05-14 Hrvoje Niksic <hniksic@srce.hr>
4919 * emacs.c (decode_path_1): New function.
4920 (decode_path): Use it.
4921 (Fdecode_path): Renamed from Fdecode_path_internal; use
4924 1998-05-12 Hrvoje Niksic <hniksic@srce.hr>
4926 * macros.c (Fzap_last_kbd_macro_event): New function.
4927 (Fend_kbd_macro): Remove REMOVE_LAST kludge.
4929 1998-05-10 Andy Piper <andyp@parallax.co.uk>
4931 * redisplay-msw.c (mswindows_output_dibitmap_region): make sure
4932 multiple bitmaps are output vertically as well as horizontally.
4933 * (mswindows_output_dibitmap): don't cope with bitmap boundaries
4934 crossing lines this is handled by
4935 mswindows_output_dibitmap_region.
4937 1998-05-12 Martin Buchholz <martin@xemacs.org>
4939 * inline.c: Include eldap.h
4941 * menubar-x.c (x_update_frame_menubar_internal):
4942 Remove: unused variable `container'
4944 1998-05-11 Martin Buchholz <martin@xemacs.org>
4946 * s/aix4.h: Allow AIX 4.3 XEmacs to compile cleanly.
4947 Unfortunately, the resulting temacs still cannot dump.
4949 * symbols.c (symbol_is_constant):
4950 (verify_ok_for_buffer_local):
4951 -Wswitch Warning suppression - add default case to switches.
4953 * redisplay.c (decode_mode_spec): Remove unused variables,
4954 Replace Fcoding_system_property (codesys, Qmnemonic) with
4955 XCODING_SYSTEM_MNEMONIC (codesys);
4956 Fcoding_system_property is for users.
4962 Change empty docstrings into no doc strings at all.
4963 Fix bogus FSF-format docstrings.
4966 Standardize docstrings.
4969 Explain problems with matherr.
4971 * glyphs.c: make DEFUNs etags-readable, i.e. single-line
4974 if BROKEN_SIGIO, then SIGIO wants to be undefined.
4975 if SIGIO and not SIGPOLL, SIGPOLL wants to be SIGIO.\
4976 Fix the weird resultant interaction (causes windows problems)
4980 Take new EMACSBOOTSTRAPLOADPATH into account.
4981 Update documentation strings
4984 - Adjust for luser's CDPATH being set to something weird.
4985 - Take into account bash 2.02's tendency to print the cwd when
4986 using CDPATH. Always use `cd ./foo' instead of `cd foo'.
4987 - fix the run-temacs target to use $(DUMPENV)
4988 - fix the run-puremacs target to use $(DUMPENV)
4989 - fix the `depend' target to properly $(RM) the right files
4990 - Generate a better TAGS file for XEmacs' lisp code using
4991 hand-crafted regexps.
4992 - Use standard coding conventions for modules/Makefile.in
4994 1998-05-12 Didier Verna <verna@inf.enst.fr>
4996 * redisplay.c: removed the scrolling modeline code that didn't
4997 make it for 21.0. To be continued ...
4999 1998-05-13 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
5001 * emacs.c (Fdecode_path_internal): Removed bogus handling of nil
5002 and empty string inputs.
5004 1998-05-12 Hrvoje Niksic <hniksic@srce.hr>
5006 * redisplay-x.c (x_output_vertical_divider): Fixed typo.
5008 1998-05-10 Oliver Graf <ograf@fga.de>
5010 * event-stream.c (enqueue_misc_user_event_pos): created
5011 * lisp.h (enqueue_misc_user_event_pos): prototype added
5012 * frame-x.c (x_cde_transfer_callback): debug code plus API changes
5013 * emacs.c: call vars_of_dragdrop
5014 * dragdrop.c (vars_of_dragdrop): provide dragdrop
5016 1998-05-11 Oliver Graf <ograf@fga.de>
5018 * frame-x.c (x_cde_transfer_callback): return at correct pos
5019 * event-Xt.c (x_event_to_emacs_event): changed format of drop
5020 object for MIME (see comment in dragdrop.c)
5021 * dragdrop.c: API change documented in comment
5022 removed provide of dragdrop [is provided by dragdrop.el]
5024 1998-05-12 Kirill M. Katsnelson <kkm@kis.ru>
5026 * window.c (window_needs_vertical_divider): Enable vertical
5027 dividers for every non-rightmost window.
5028 (window_left_gutter_width): Left gutter consists of mythical
5029 toolbar and a virtual scrollbar.
5030 (window_right_gutter_width): The right one may have a divider
5033 * scrollbar.c (update_scrollbar_instance): Position vertical
5034 scrollbar left to divider if the latter present.
5036 * redisplay.h: Declared OVER_DIVIER constant.
5038 * redisplay.c (pixel_to_glyph_translation): Handle OVER_DIVIDER
5041 * redisplay-x.c (x_output_vertical_divider): Output divider along
5042 the right side of the window, down to window bottom. Swapped
5043 foreground and background colors so it is visible by default.
5045 * redisplay-tty.c (tty_output_vertical_divider): Uncondiionally
5046 stick the divider to the right window side.
5048 * redisplay-msw.c (mswindows_redisplay_deadbox_maybe): Fixed
5050 (mswindows_divider_width): Ask system for user preferred value.
5051 (mswindows_output_vertical_divider): Always output the divider on
5052 the right side of a window, down to bottom.
5054 * keymap.c (get_relevant_keymaps): Route mouse button events which
5055 happened over a window divider through window-divider-map.
5056 (Fkey_binding): Documented that in the docstring.
5057 Defined the variable Vwindow_divider_map.
5059 * events.c (Fevent_over_divider_p): Added this function.
5061 * events.h: EXFUNed it.
5063 1998-05-12 Kirill M. Katsnelson <kkm@kis.ru>
5065 * toolbar.c (update_frame_toolbars): Re-layout frame windows if
5066 toolbar geometry is suspected to change.
5068 1998-05-11 Jonathan Harris <jhar@tardis.ed.ac.uk>
5072 Condition dnd and dde code on HAVE_DRAGNDROP.
5074 1998-05-11 Hrvoje Niksic <hniksic@srce.hr>
5076 * events.c (format_event_object): Print space as SPC etc.
5078 1998-05-11 Hrvoje Niksic <hniksic@srce.hr>
5080 * print.c (print_internal): In the default case, abort() if
5081 ERROR_CHECK_TYPECHECK.
5083 * fileio.c (Fmake_temp_name): Doc fix.
5085 1998-05-10 Hrvoje Niksic <hniksic@srce.hr>
5087 * xgccache.c (describe_gc_cache): Define only if DEBUG_XEMACS.
5089 * undo.c (Fprimitive_undo): Fixed typo.
5091 1998-05-11 Hrvoje Niksic <hniksic@srce.hr>
5093 * fns.c (concat): Signal error on integer argument.
5095 1998-05-10 Kirill M. Katsnelson <kkm@kis.ru>
5097 * console.h (device_metrics): Prefixed each constatnt with DM_
5099 * device.c: (Fdevice_system_metric): Renamed so from plural form
5100 (metrics); Changed parameters order and added DEFAULT parameter;
5101 Unabbreviated some metric constants; Fixed and untabified doc string.
5102 (Fdevice_system_metrics): Added. Returns a plist of all provided
5105 * device-msw.c (mswindows_device_system_metrics): Renamed
5106 device_metrics enum constants.
5107 Return Qunbound instead of Qnil.
5109 * device-tty.c (tty_device_system_metrics): Ditto.
5111 * device-x.c (x_device_system_metrics): Ditto.
5113 1998-05-10 Andy Piper <andyp@parallax.co.uk>
5115 * redisplay-msw.c: implement background pixmaps (really!). Make
5116 sure bg color is transparent if we have bg pmaps.
5117 * (mswindows_output_string) (mswindows_clear_region): output bg
5119 * (mswindows_output_dibitmap_region): new function.
5120 * (mswindows_output_dibitmap): output offset pixmaps, blt masks in
5121 the bg color rather than transparently.
5123 * toolbar-msw.c: use masks if they exist.
5125 * glyphs-msw.c: set up masks correctly.
5127 * event-msw.c: typedef SOCKET if cygwin and not msg select().
5129 1998-05-10 Hrvoje Niksic <hniksic@srce.hr>
5131 * regex.c (re_match_2_internal): Check for quit.
5133 1998-05-10 Hrvoje Niksic <hniksic@srce.hr>
5135 * frame.c (Ffocus_frame): New function.