1 1999-06-03 SL Baur <steve@xemacs.org>
4 * emacs.c: Implement x.y.z version numbers
5 From Jan Vroonhof <vroonhof@math.ethz.ch>
7 1999-05-20 MORIOKA Tomohiko <tomo@etl.go.jp>
9 * mule-charset.c (complex_vars_of_mule_charset): Registry of
10 japanese-jisx0208-1978 should not match with "jisx0208.1983" nor
13 1999-06-03 SL Baur <steve@xemacs.org>
16 * device-x.c: rename session option to wmcommand.
17 From Oliver Graf <ograf@rhein-zeitung.de>
19 1999-05-27 Hrvoje Niksic <hniksic@srce.hr>
21 * fns.c (Fsubstring): Don't traverse the same region twice with
22 charcount_to_bytecount().
24 1999-06-03 SL Baur <steve@steve1.m17n.org>
26 * m/alpha.h (SYSTEM_MALLOC): Fix indented preprocessor directive
29 * s/decosf4-0.h: Defining ORDINARY_LINK here is redundant (and it
30 doesn't really work as is implied by the commentary).
31 Don't define SYSTEM_MALLOC so the old GNU malloc can be used.
33 1999-06-02 SL Baur <steve@steve1.m17n.org>
35 * symsinit.h: Declare vars_of_ntproc.
36 * emacs.c (main_1): Call it.
38 * ntproc.c (syms_of_ntproc): Move variable initializations from
40 (vars_of_ntproc): ... to here [new function].
42 * file-coding.c (syms_of_file_coding): Rename.
43 (vars_of_file_coding): Ditto.
44 (complex_vars_of_file_coding): Ditto.
46 * symsinit.h: Rename *_mule_coding to *_file_coding.
48 * emacs.c (main_1): Call them by the proper name.
50 * device-msw.c (syms_of_device_mswindows): Move variable
51 initializations from here ...
52 (vars_of_device_mswindows): ... to here.
54 * chartab.c (vars_of_chartab): New function.
56 * symsinit.h: New function, vars_of_chartab.
58 * emacs.c (main_1): Call it.
60 * mule-canna.c (syms_of_mule_canna): Move CANNA initialization ...
61 (vars_of_mule_canna): ... to here.
63 * mule-ccl.c (vars_of_mule_ccl): New function. Move variable
64 initializations out of syms_of_mule_ccl.
66 * symsinit.h: Declare new function vars_of_mule_ccl.
68 * emacs.c (main_1): Call it.
70 1999-05-27 Hrvoje Niksic <hniksic@srce.hr>
72 * fns.c (base64_decode_1): Ignore whitespace.
74 1999-05-27 Hrvoje Niksic <hniksic@srce.hr>
76 * mule-charset.c (Fmake_char): Strip the eighth bit off ARG1 and
79 1999-05-21 Andy Piper <andy@xemacs.org>
83 * symsinit.h: declare select initialisation.
85 * select.h: new file. declare commonly used select functions and
88 * select.c: new file. generalised from xselect.c.
89 (clean_local_selection_data): moved from xselect.c.
90 (get_local_selection): ditto. device specific pieces called via a
92 (handle_selection_clear): ditto.
93 (Fown_selection_internal): renamed and generalised from
94 Fx_own_selection_internal. moved from xselect.c.
95 (Fdisown_selection_internal): ditto.
96 (Fselection_owner_p): ditto.
97 (Fselection_exists_p): ditto.
98 (Fget_selection_internal): ditto.
99 (syms_of_select): new function. QXXXX values moved from xselect.c
100 (vars_of_select): new function. selection_converter_alist,
101 lost_selection_hooks moved and renamed from xselect.c
103 * select-x.c: renamed from xselect.c.
104 (x_own_selection): converted to device specific. non-X-specific
105 bits moved to select.c.
106 (x_get_foreign_selection): ditto.
107 (x_disown_selection): ditto.
108 (x_selection_exists_p): ditto.
109 (console_type_create_select_x): new function.
111 * select-msw.c (mswindows_own_selection): new device method to set
112 the clipboard when we 'own' the selection.
113 (mswindows_get_foreign_selection): new device method to get the
115 (mswindows_disown_selection): new device method to delete the
116 selection when we 'disown' it.
117 (console_type_create_select_mswindows): new function.
119 * emacs.c (main_1): add select to things to initialise.
121 * console.h (struct console_methods): new console methods for
124 * Makefile.in.in (x_objs): xselect.c renamed to select-x.c
126 1999-05-20 Hrvoje Niksic <hniksic@srce.hr>
128 * print.c (long_to_string): Install a faster version.
130 1999-05-16 Andy Piper <andy@xemacs.org>
132 * ntproc.c (syms_of_ntproc): default
133 win32-start-process-share-console to t.
135 1999-05-14 Hrvoje Niksic <hniksic@srce.hr>
137 * config.h.in: Do it here.
139 * bytecode.c: Don't define ERROR_CHECK_TYPECHECK here.
141 1999-05-14 Andy Piper <andy@xemacs.org>
143 * toolbar-msw.c (mswindows_output_toolbar): hash on something
146 1999-05-14 XEmacs Build Bot <builds@cvs.xemacs.org>
148 * XEmacs 21.2.14 is released
150 1999-05-12 Andy Piper <andy@xemacs.org>
152 * ntproc.c (sys_spawnve): kludge argv[0] in a MS compatible way.
154 1999-05-11 Gunnar Evermann <ge204@eng.cam.ac.uk>
156 * emacs.c (Frun_emacs_from_temacs): (re)alloc natgs+2 entries for
157 run_temacs_argv array -- fixes random memory corruption crash
159 1999-05-12 Jan Vroonhof <vroonhof@math.ethz.ch>
161 * window.c (Fcurrent_window_configuration):
162 Save minibuffer height;
164 * window.c (set_window_configuration): use it.
166 1999-05-10 Robert Pluim <rpluim@bigfoot.com>
168 * lisp.h (NNUNGCPRO): fix typo in name of DEBUG_GCPRO version
170 1999-04-21 Jan Vroonhof <vroonhof@math.ethz.ch>
172 * redisplay.c (redisplay_window): Do not put data
173 in the line start cache if it is not guaranteed to be correct
175 1999-04-02 Jan Vroonhof <vroonhof@math.ethz.ch>
177 * window.c (struct window_config): Removed frame
179 (window_config_equal): No longer compare frame sizes.
180 (Fset_window_configuration): Resize old top window to fit in the
181 current frame directly, no longer use a fake frame resize.
182 (Fcurrent_window_configuration): No longer save frame size
184 1999-05-11 Andy Piper <andy@xemacs.org>
186 * ntproc.c (sys_spawnve): actually assign argv[0] instead of the
189 1999-05-10 Hrvoje Niksic <hniksic@srce.hr>
191 * sysdep.c (init_system_name): If gethostname gives a proper
192 domain name, don't look further for one.
194 1999-05-09 Hrvoje Niksic <hniksic@srce.hr>
196 * symbols.c (Fintern): Avoid frequent XSYMBOL (foo).
197 (Fintern_soft): Accept a symbol argument.
199 1999-05-06 Hrvoje Niksic <hniksic@srce.hr>
201 * symbols.c (Fintern): ...do it here.
203 * lread.c (read_atom): Don't handle keywords here.
205 1999-05-06 Hrvoje Niksic <hniksic@srce.hr>
207 * symbols.c (reject_constant_symbols): Just use SYMBOL_IS_KEYWORD.
209 1999-05-03 Olivier Galibert <galibert@pobox.com>
211 * lisp.h (SYMBOL_IS_KEYWORD): A symbol can be a keyword only if it
212 is interned in the main obarray.
214 1999-04-23 Gunnar Evermann <ge204@eng.cam.ac.uk>
216 * menubar-x.c (pre_activate_callback): set accelerator field in
217 "No menu" entries to nil. Avoid crash in
218 command_builder_operate_menu_accelerator
220 1999-05-03 Olivier Galibert <galibert@pobox.com>
222 * symeval.h (symbol_value_forward_lheader_initializer): Ditto.
224 * lisp.h (DEFUN): Fix lrecord header initialisation.
226 1999-05-02 Andy Piper <andy@xemacs.org>
228 * objects-msw.c (mswindows_font_instance_truename): add a ';'.
230 * ntproc.c (sys_kill): cast using MS mandated defines.
232 1999-04-29 Andy Piper <andy@xemacs.org>
234 * m/intel386.h: remove redundant definitions.
236 * s/mingw32.h: new header for mingw32.
238 * unexnt.c: (open_input_file): function moved to nt.c.
239 (close_file_data): ditto.
240 (rva_to_section): function moved to ntproc.
242 * symsinit.h: declare syms_of_ntproc();
244 * objects-msw.c (mswindows_font_instance_truename): new function.
246 * ntproc.c: remove many warnings.
247 (_sys_read_ahead): moved from nt.c and made static.
248 (rva_to_section): moved from unexnt.c but not defined under
250 (win32_executable_type): implement what we can for mingw32
252 (sys_spawnve): fix bad MULE/GCPRO bug in filename handling.
254 * ntheap.h: remove declarations of functions that are now static.
256 * ntheap.c: support static heap.
258 * nt.h: conditionalise X_OK definition.
260 * nt.c: eliminate many warnings and support mingw32.
261 (open_input_file): function moved from unexnt.c and made static
262 (close_file_data): ditto.
263 (_sys_read_ahead): moved to ntproc.c
265 * emacs.c: make sure syms_of_ntptroc gets called under windows.
267 * console-msw.h: support mingw32.
268 * getloadavg.c: ditto.
275 * config.h.in: dont turn on DEBUG_ENCAPSULATION by default because
276 some systems don't have all of the encapsulated system calls.
278 * callproc.c: warning elimination.
279 * dired-msw.c: ditto.
280 * process-nt.c: ditto.
283 * Makefile.in.in: tweak : and ; for building under mswindows.
285 1999-04-26 Michael Harnois <mharnois@willinet.net>
287 * eldap.c (allocate_ldap): Adapt to the new semantics of
288 alloc_lcrecord_type().
290 1999-03-16 MORIOKA Tomohiko <tomo@etl.go.jp>
292 * file-coding.c (DECODE_HANDLE_END_OF_CONVERSION): fixed.
294 1998-09-04 MORIOKA Tomohiko <morioka@jaist.ac.jp>
296 * Delete mule-coding.c and mule-coding.h because they are not
299 1999-04-22 Gunnar Evermann <ge204@eng.cam.ac.uk>
301 * objects.c (print_font_instance): Check for NILP(f->device),
302 i.e. Vthe_null_font_instance.
303 (font_instance_truename_internal): ditto.
304 (Ffont_instance_properties): ditto.
306 1999-04-22 Olivier Galibert <galibert@pobox.com>
308 * lrecord.h (DECLARE_LRECORD): lrecord_implementation isn't an
311 1999-04-22 Hrvoje Niksic <hniksic@srce.hr>
313 * Makefile.in.in (tests): Don't mention tests explicitly -- makes
314 it easier to add new ones.
316 1999-04-22 Hrvoje Niksic <hniksic@srce.hr>
318 * symbols.c (reject_constant_symbols): Ditto.
319 (init_symbols_once_early): Ditto.
321 * print.c (print_symbol): Don't use ->obarray.
323 * symbols.c (Funintern): Ditto.
325 * alloc.c (Fmake_symbol): Don't set ->obarray.
327 * lisp.h (struct Lisp_Symbol): Removed .obarray field.
329 * symbols.c (init_symbols_once_early): Removed
330 Vpure_uninterned_symbol_table.
331 (Fintern): Don't store to ->obarray field.
333 1999-04-22 Hrvoje Niksic <hniksic@srce.hr>
335 * data.c (vars_of_data): Default debug_issue_ebola_notices to 0.
336 (eq_with_ebola_notice): Remove abracadabra support.
338 1999-04-11 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
340 * eldap.c (Fldap_search_internal): Add a new parameter `withdn' to
341 retrieve the distinguished names of entries
343 1999-03-08 Martin Buchholz <martin@xemacs.org>
345 * lread.c (read_escape): Make hex escapes read only two hex digits.
347 1999-04-05 Olivier Galibert <galibert@pobox.com>
349 * Makefile.in.in: Remove puresize-adjust.h and recursive makes.
350 * make-src-depend: Remove puresize-adjust.h.
351 * src-headers: Remove puresize-adjust.h.
352 * config.h.in: Kill everything purespace/gung-ho related.
354 * dbxrc: Make gung-ho mandatory.
357 * lrecord.h: Make gung-ho mandatory. Remove pure flag and add
358 c_readonly and lisp_readonly. Remove implementation arrays.
359 (C_READONLY_RECORD_HEADER_P): Added.
360 (LISP_READONLY_RECORD_HEADER_P): Added.
361 (SET_C_READONLY_RECORD_HEADER): Added.
362 (SET_LISP_READONLY_RECORD_HEADER): Added.
364 * lisp.h: Kill everything purespace/non gung-ho related.
365 (CHECK_C_WRITEABLE): Added.
366 (CHECK_LISP_WRITEABLE): Added.
368 (LISP_READONLY): Added.
370 * lisp-union.h: Make gung-ho mandatory.
371 * lisp-disunion.h: Ditto.
373 * alloc.c: Kill everything purespace/non gung-ho related. Fix all
374 set_lheader_implementation calls.
376 (lisp_readonly): Added.
377 (make_string_nocopy): Added.
378 (Fpurecopy): Changed to do nothing. Kept the old documentation
379 for reference purposes for the next patches.
380 (sweep_lcrecords_1): Don't free C readonly lcrecords.
381 (sweep_bit_vectors_1): Don't free C readonly bitvectors.
382 (SWEEP_FIXED_TYPE_BLOCK): Don't free C readonly lrecords.
384 * fns.c: Make gung-ho mandatory.
385 (Fput): CHECK_IMPURE -> CHECK_LISP_WRITEABLE.
389 * data.c: Make gung-ho mandatory.
390 (pure_write_error): Removed.
391 (c_write_error): Added.
392 (lisp_write_error): Added.
393 (Fsetcar): CHECK_IMPURE -> CHECK_LISP_WRITEABLE.
397 * symbols.c: Make gung-ho mandatory. make_pure_pname ->
398 make_string or make_string_nocopy. Fix various
401 * lread.c: Remove everything purespace related.
402 (Flocate_file_clear_hashing): purified -> c_readonly.
403 (locate_file): Ditto.
404 (read_atom): make_pure_pname -> make_string.
406 * emacs.c (Frun_emacs_from_temacs): Remove purespace stats
408 (Fdump_emacs): Ditto.
410 * print.c (print_internal): Make gung-ho mandatory.
411 * ntheap.c (sbrk): Ditto.
412 * mem-limits.h (EXCEEDS_LISP_PTR): Ditto
413 * symeval.h (symbol_value_forward_lheader_initializer): Ditto.
415 * sheap.c (more_static_core): Remove puresize-adjust.h from
418 * syntax.c (complex_vars_of_syntax): make_pure_string ->
420 * keymap.c (make_keymap): Fix alloc_lcrecord_type.
421 (vars_of_keymap): make_pure_string -> make_string_nocopy.
422 * events.c (deinitialize_event): Fix set_lheader_implementation.
424 * specifier.c (make_specifier_internal): Fix alloc_lcrecord.
425 * menubar-x.c (set_frame_menubar): Fix alloc_lcrecord_type.
426 * mule-charset.c (make_charset): Ditto.
427 * console.c (allocate_console): Ditto.
428 (complex_vars_of_console): Ditto.
429 * file-coding.c (allocate_coding_system): Ditto.
430 * device.c (allocate_device): Ditto
431 * gui-x.c (gcpro_popup_callbacks): Ditto.
432 * extents.c (allocate_extent_auxiliary): Ditto.
433 (allocate_extent_info): Ditto.
434 (copy_extent): Ditto.
435 * glyphs.c (allocate_image_instance): Ditto.
436 (allocate_glyph): Ditto.
437 * frame.c (allocate_frame_core): Ditto.
438 * database.c (allocate_database): Ditto.
439 * tooltalk.c (make_tooltalk_message): Ditto.
440 (make_tooltalk_pattern): Ditto.
441 * rangetab.c (Fmake_range_table): Ditto.
442 (Fcopy_range_table): Ditto.
443 * process.c (make_process_internal): Ditto.
444 * chartab.c (Fmake_char_table): Ditto.
445 (make_char_table_entry): Ditto.
446 (copy_char_table_entry): Ditto.
447 (Fcopy_char_table): Ditto.
448 * elhash.c (make_general_lisp_hash_table): Ditto.
449 (Fcopy_hash_table): Ditto.
450 * buffer.c (allocate_buffer): Ditto.
451 (complex_vars_of_buffer): Ditto.
452 * event-stream.c (allocate_command_builder): Ditto.
453 * objects.c (Fmake_color_instance): Ditto.
454 (Fmake_font_instance): Ditto.
455 (vars_of_objects): Ditto.
456 * toolbar.c (update_toolbar_button): Ditto.
457 * window.c (allocate_window): Ditto.
458 (make_dummy_parent): Ditto.
459 (Fcurrent_window_configuration): Fix alloc_lcrecord.
460 (vars_of_window): Fix make_lcrecord_list.
461 * faces.c (allocate_face): Fix alloc_lcrecord_type. pure_list ->
463 * lstream.c (Lstream_new): Fix make_lcrecord_list.
464 * opaque.c (make_opaque): Fix alloc_lrecord.
465 (make_opaque_list): Fix alloc_lrecord_type.
467 1999-04-19 Hrvoje Niksic <hniksic@srce.hr>
469 * process.c (Fstart_process_internal): Ditto.
471 * ntproc.c (sys_spawnve): Use Vlisp_EXEC_SUFFIXES when calling
474 * glyphs-x.c (x_locate_pixmap_file): Ditto.
476 * glyphs-msw.c (mswindows_locate_pixmap_file): Fix call to
479 * emodules.c (vars_of_module): New variable Vmodule_extensions.
480 (emodules_load): Use it when calling locate_file().
482 * emacs.c (main_1): Use Vlisp_EXEC_SUFFIXES when calling
485 * callproc.c: Vlisp_EXEC_SUFFIXES: New variable.
486 (vars_of_callproc): Initialize it.
487 (Fcall_process_internal): Use it when calling locate_file().
489 * alloc.c (disksave_object_finalization): Use
490 Flocate_file_clear_hashing().
492 * lread.c (Flocate_file_clear_hashing): Clear all hasing when
493 given `t' as argument.
495 1999-04-18 Hrvoje Niksic <hniksic@srce.hr>
497 * lread.c (locate_file): Expand `pathel' when appropriate.
498 (Flocate_file_clear_hashing): Expand path elements.
499 (Flocate_file_clear_hashing): Use Vlocate_file_hash_table.
501 * dired.c (make_directory_hash_table): Create the hash-table only
502 if the directory open is successful.
504 * lread.c (decode_mode_1): New function.
505 (decode_mode): Ditto.
506 (Flocate_file): Use them.
507 (Flocate_file): Expand FILENAME.
508 (locate_file_map_suffixes): New function.
509 (locate_file_in_directory_mapper): New function.
510 (locate_file_in_directory): Use locate_file_in_directory_mapper()
511 and locate_file_map_suffixes().
512 (locate_file_construct_suffixed_files): Use
513 locate_file_map_suffixes().
514 (locate_file_without_hash): Don't GCPRO path.
515 (Flocate_file_clear_hashing): Use EXTERNAL_LIST_LOOP.
516 (syms_of_lread): Remove Qlocate_file_hash_table.
517 (locate_file_find_directory_hash_table): Use
518 Vlocate_file_hash_table.
519 (locate_file_refresh_hashing): Ditto.
521 * lread.c: Renamed read_objects to Vread_objects.
523 1999-04-16 Olivier Galibert <galibert@pobox.com>
525 * mule-charset.c: Generally resync with fsf 20.3 charset
527 (make_charset): Add long and short name. Use id instead of
529 (Fmake_charset): Ditto.
530 (Fmake_reverse_direction_charset): Ditto.
531 (Fcharset_property): Ditto.
532 (Fcharset_short_name): Added.
533 (Fcharset_long_name): Added.
534 (Fcharset_description): Renamed from charset-doc-string.
535 (syms_of_mule_charset): Synced symbols.
536 (complex_vars_of_mule_charset): Synced charsets.
538 * mule-charset.h: Removed leading byte (uses id instead), added
541 1999-04-15 Hrvoje Niksic <hniksic@srce.hr>
543 * file-coding.c (Fdefine_coding_system_alias): New function.
545 1999-04-08 Olivier Galibert <galibert@pobox.com>
547 * mule-charset.c (complex_vars_of_mule_charset): Allow all iso8859
548 and -ascii fonts for displaying ascii instead of iso8859-1 only.
550 1998-12-14 Hrvoje Niksic <hniksic@srce.hr>
552 * extents.c (set_extent_glyph_1): Make sure that the glyph we
553 attach to the extent is valid.
555 1998-12-12 Hrvoje Niksic <hniksic@srce.hr>
557 * dired.c (user_name_completion): Mule-ize.
558 (user_name_completion): Use xmalloc/xrealloc/xfree.
559 (user_name_completion): Use DO_REALLOC.
560 (user_name_completion): Cut down the number of static variables;
562 (user_name_completion): Username completion is always
565 1998-12-06 Hrvoje Niksic <hniksic@srce.hr>
567 * fns.c (base64_decode_1): Remove COUNTER.
568 (base64_decode_1): Accept CRLF in addition to CR.
569 (base64_decode_1): Disallow a stray character after final EOF; the
570 check was probably a remnant of buggy recode code.
572 1998-12-05 Hrvoje Niksic <hniksic@srce.hr>
574 * fns.c (init_provide_once): Provide `base64'.
576 1998-12-04 Hrvoje Niksic <hniksic@srce.hr>
578 * fns.c (XMALLOC_UNBIND): Include SPECCOUNT argument, for clarity.
579 (Fbase64_encode_region): If buffer is read-only, bail out early.
580 (Fbase64_decode_region): Ditto.
581 (Fbase64_encode_region): Initialize SPECCOUNT to pacify the
583 (Fbase64_encode_string): Ditto.
584 (Fbase64_decode_region): Ditto.
585 (Fbase64_decode_string): Ditto.
587 1998-11-25 Hrvoje Niksic <hniksic@srce.hr>
589 * dired.c (Fdirectory_files): Remove redundant code.
591 1999-03-05 Philip Aston <philipa@parallax.co.uk>
593 * frame-msw.c Make raise-frame restore minimised windows.
595 1999-03-05 Philip Aston <philipa@parallax.co.uk>
597 * device-msw.c: Fix DEFVAR format - Death to phantom quote, and
600 1999-03-05 Philip Aston <philipa@parallax.co.uk>
602 * toolbar-msw.c Consider captions when deciding whether to rebuild
603 toolbar. This fixes the initial toolbar display for those of us
604 who don't like captions. These patches applied by Andy Piper.
606 1999-03-12 XEmacs Build Bot <builds@cvs.xemacs.org>
608 * XEmacs 21.2.13 is released
610 1999-03-12 SL Baur <steve@xemacs.org>
612 * file-coding.c: Guard ucs table initialization with ifdef MULE.
614 1999-03-10 Stephen J. Turnbull <turnbull@sk.tsukuba.ac.jp>
616 * file-coding.c: docstring and comment improvements.
617 (decode_ucs4) flag possible data loss with comment.
619 1999-03-10 Martin Buchholz <martin@xemacs.org>
621 * file-coding.c (Fset_ucs_char): add CHECK_INT, CHECK_CHAR
625 (decode_coding_ucs4):
626 (encode_coding_ucs4):
627 (detect_coding_utf8):
628 (decode_coding_utf8):
630 (encode_coding_utf8):
631 Add CHECK_* macros where needed to avoid crashes.
632 #ifdef out all composite character support using
633 #ifdef ENABLE_COMPOSITE_CHARS
634 Use normal XEmacs coding standards.
636 Remove CODING_STREAM_COMPOSE, CODING_STREAM_DECOMPOSE.
638 1998-09-08 MORIOKA Tomohiko <morioka@jaist.ac.jp>
640 * file-coding.c (make-coding-system): Add description about
642 (detection_state): Modify to implement ucs-4 and utf-8.
643 (detect_coding_type): Likewise.
644 (detect_coding_ucs4): New implementation.
645 (detect_coding_utf8): New implementation.
646 (encode_utf8): fixed.
647 (syms_of_mule_coding): Rename `ucs4' and `utf8' to `ucs-4' and
650 1998-09-08 MORIOKA Tomohiko <morioka@jaist.ac.jp>
652 * file-coding.c (mule_char_to_ucs4): Encode 94x94 chars in ISO
653 2022 registry to private area.
655 1998-09-07 MORIOKA Tomohiko <morioka@jaist.ac.jp>
657 * file-coding.c (encode_utf8): New function.
658 (encode_coding_utf8): New implementation.
660 1998-09-07 MORIOKA Tomohiko <morioka@jaist.ac.jp>
662 * file-coding.c (ucs_to_mule_table): New variable; abolish
664 (mule_to_ucs_table): renamed from `Vmule_to_ucs_table'.
665 (set-ucs-char): New function.
666 (ucs_to_char): New function.
667 (ucs-char): New function.
668 (set-char-ucs): New function.
669 (char-ucs): New function.
670 (decode_ucs4): Use `ucs_to_char'.
671 (complex_vars_of_mule_coding): Abolish `ucs-to-mule-table' and
674 1998-09-06 MORIOKA Tomohiko <morioka@jaist.ac.jp>
676 * chartab.h: EXFUN `Fget_char_table'.
678 * file-coding.c (encode_ucs4): New function.
679 (encode_coding_ucs4): Use `encode_ucs4'.
681 1998-09-06 MORIOKA Tomohiko <morioka@jaist.ac.jp>
683 * file-coding.c (decode_coding_ucs4): New implementation.
685 1998-09-06 MORIOKA Tomohiko <morioka@jaist.ac.jp>
687 * file-coding.c (decode_coding_ucs4): fixed.
689 * file-coding.c (Vmule_to_ucs_table): New variable.
690 (mule_char_to_ucs4): New function.
691 (encode_coding_ucs4): New implementation.
692 (complex_vars_of_mule_coding): Define variable
695 1998-09-06 MORIOKA Tomohiko <morioka@jaist.ac.jp>
697 * file-coding.c (decode_coding_utf8): New implementation.
699 1998-09-06 MORIOKA Tomohiko <morioka@jaist.ac.jp>
701 * file-coding.c (decode_coding_utf8): fixed.
703 1998-09-06 MORIOKA Tomohiko <morioka@jaist.ac.jp>
705 * file-coding.c (Vucs_to_mule_table): New variable.
706 (decode_ucs4): Refer `Vucs_to_mule_table'.
707 (complex_vars_of_mule_coding): Define variable
710 1998-09-04 MORIOKA Tomohiko <morioka@jaist.ac.jp>
712 * file-coding.c (detect_coding_ucs4): New function (not
714 (decode_coding_ucs4): New function.
715 (encode_coding_ucs4): New function (not implemented yet).
716 (detect_coding_utf8): New function (not implemented yet).
717 (decode_coding_utf8): New function.
718 (encode_coding_utf8): New function (not implemented yet).
719 (make-coding-system): New type `ucs4' and `utf8'.
720 (coding-system-type): Likewise.
721 (detection_state): Add `ucs4' and `utf8'.
722 (detect_coding_type): Likewise.
723 (mule_decode): Use `decode_coding_ucs4' and `decode_coding_utf8'.
724 (mule_encode): Use `encode_coding_ucs4' and `encode_coding_utf8'.
725 (decode_ucs4): New function (very incomplete).
726 (syms_of_mule_coding): Add `ucs4' and `utf8'.
728 * file-coding.h: Add definitions for UCS-4 and UTF-8.
730 1999-03-08 Martin Buchholz <martin@xemacs.org>
733 (non_ascii_valid_char_p):
734 (lookup_composite_char):
735 (composite_char_string):
736 (make-composite-char):
737 (composite-char-string):
738 (syms_of_mule_charset):
739 (complex_vars_of_mule_charset):
740 * mule-charset.h (LEADING_BYTE_COMPOSITE):
743 * file-coding.h (CODING_STATE_COMPOSITE):
744 (CODING_STATE_ISO2022_LOCK):
746 (LEADING_BYTE_COMPOSITE):
747 * file-coding.c (struct iso2022_decoder):
751 (encode_coding_iso2022):
752 #ifdef out all composite character support using
753 #ifdef ENABLE_COMPOSITE_CHARS
755 * alloc.c: Define lrecord_coding_system only if ! FILE_CODING
757 1999-03-04 Takeshi YAMADA <yamada@cslab.kecl.ntt.co.jp>
759 * fns.c (Fbase64_encode_string): Calculate `allength' in the same
760 way of `Fbase64_encode_region'.
762 1999-02-18 Katsumi Yamaoka <yamaoka@jpl.org>
764 * fns.c (base64_encode_1): Don't add a newline at the tail.
766 1999-03-08 Andy Piper <andy@xemacs.org>
768 * menubar-msw.c (displayable_menu_item): correct off-by-one &
771 1999-03-07 Martin Buchholz <martin@xemacs.org>
773 * console-stream.h (struct stream_console):
774 * event-unixoid.c (event_stream_unixoid_select_console):
775 (event_stream_unixoid_unselect_console):
776 * print.c (Fexternal_debugging_output):
777 * sysdep.c (reset_one_device):
778 * console-stream.c (stream_init_console):
779 (stream_delete_console):
780 (allocate_stream_console_struct): move into stream_init_console.
781 (free_stream_console_struct): move into stream_delete_console.
782 Use `fd' only for file descriptors.
783 Therefore, rename members of struct stream_console.
785 * systime.h: Unix98 says sys/time.h should define select(), but
786 some systems define that in unistd.h. So include that file always.
788 * glyphs.h (MAYBE_IIFORMAT_METH): Don't use leading `_'. Avoid
789 multiple evaluation of first arg. Do proper do {} while (0) wrapping.
790 (HAS_IIFORMAT_METH_P): Prevent macro from being used in
792 (MAYBE_IIFORMAT_DEVMETH): Use standard internal macro naming convention.
796 Add #include <stdio.h>.
797 Some versions of assert.h use printf() without #include'ing stdio.h
799 * free-hook.c (blocktype): Add gcpro5_type to blocktype.
800 (log_gcpro): Remove unused variable FRAME.
801 (show_gcprohist): Ansify.
804 * frame-x.c (x_delete_frame): Don't use FRAME_X_SHELL_WIDGET(f)
805 after it's just been XtDestroy'ed!
807 1999-02-18 Martin Buchholz <martin@xemacs.org>
809 * opaque.c (print_opaque):
813 Egcs 1.1.1 seems to have a bug where
814 INTP (p->size_or_chain)
815 will crash XEmacs. Fix by introducing intermediate variable.
817 * sound.c (Fdevice_sound_enabled_p): Fix compiler warning.
819 * dired.c (Fdirectory_files):
820 (Ffile_name_completion):
821 (Ffile_name_all_completions):
822 (file_name_completion):
823 - Use `directory' instead of `dirname' to sync with FSF Emacs and
824 avoid compiler warnings.
825 - Fix up docstrings so that C variables match documentation.
827 1999-03-05 Martin Buchholz <martin@xemacs.org>
829 * alloc.c: (garbage_collect_1): Reorg code to make scope of local
830 variables as small as possible to help out the compiler and the maintainer.
832 * alloc.c: (disksave_object_finalization):
833 Set all the *-load-path variables to
834 nil, not just load-path itself. This gets the locate-file hash
835 tables garbage collected BEFORE dump, and has the side effect of
836 preventing crashes on OSF4.0+egcs.
841 - Clean up gdb/dbx debugging support.
842 - Storing an EMACS_INT in an enum is not 64-bit clean!
843 - So change the enum to a set of separate variables.
844 - Add test cases to help debug the debugging support!
845 - Add `lisp-shadows' and `run-temacs' targets for dbx.
846 - Both dbx and gdb have been tested now.
848 1999-03-05 XEmacs Build Bot <builds@cvs.xemacs.org>
850 * XEmacs 21.2.12 is released
852 1999-02-16 Kazuyuki IENAGA <ienaga@jsys.co.jp>
854 * device-x.c: Support to find best visual without flashing.
856 1999-03-02 Paul Keusemann <pkeusem@visi.com>
858 * database.c (berkdb_map): Add flags argument to cursor call (must
859 be 0 according to docs) required for Berkeley DB 2.6.4 and later.
861 1999-03-03 Martin Buchholz <martin@xemacs.org>
865 General cleanup. Get free-hook.c working again.
866 Remove unused functions:
867 make_strings_hash_table, copy_hash, expand_hash_table.
871 Always use new ANSI-style function prototypes.
873 * unexalpha.c (unexec): Never use implicit int.
875 * sgiplay.c (close_sound_file):
877 (restore_audio_port):
882 (write_mulaw_8_chunk):
883 (write_linear_chunk):
884 (write_linear_32_chunk):
885 (initialize_audio_port):
889 (adjust_audio_volume):
890 (get_current_volumes):
892 Always use new ANSI-style function prototypes.
893 Use unistd.h for missing prototypes.
895 * unexelfsgi.c (round_up):
897 (unexec): Always use new ANSI-style function prototypes
899 * elhash.c (struct Lisp_Hash_Table): rename golden to golden_ratio
901 * console.h (struct console_methods): Always use full ANSI prototypes
903 * emacs.c (__sti__iflPNGFile_c___): Always use full ANSI prototypes
905 1999-03-02 Andy Piper <andy@xemacs.org>
907 * event-stream.c (init_event_stream): make sure native mswindows
908 gets an appropriate event loop.
910 1999-02-22 Andy Piper <andy@xemacs.org>
912 * frame-msw.c (mswindows_make_frame_visible): use SW_SHOW rather
913 than SW_SHOWNORMAL to prevent resizing of maximised frames.
914 (mswindows_raise_frame): remove comment.
916 1999-03-01 XEmacs Build Bot <builds@cvs.xemacs.org>
918 * XEmacs 21.2.11 is released
920 1999-02-25 SL Baur <steve@xemacs.org>
922 * mule-charset.c (Qleading_byte): New variable to implement
923 charset-leading-byte function.
924 (Fcharset_property): Use it.
925 (syms_of_mule_charset): Initialize it.
926 From Kazuyuki IENAGA <ienaga@jsys.co.jp>
928 1999-02-17 Kazuo Oishi <oishi@ae.agr.yamaguchi-u.ac.jp>
930 * glyphs-x.c (cononvert_EImage_to_XImage): correct
931 bytes per pixel counting.
933 1999-02-15 Andy Piper <andy@xemacs.org>
935 * s/cygwin32.h (BROKEN_SIGIO): don't define this as it causes
938 1999-02-16 MORIOKA Tomohiko <morioka@jaist.ac.jp>
940 * fns.c (Fbase64_encode_string): New optional argument
943 1999-02-16 Martin Buchholz <martin@xemacs.org>
945 * gdbinit: Fix up commands to run temacs. Add lisp-shadows command.
946 * alloc.c (xcalloc): undef xcalloc, just like xmalloc
948 1999-02-10 Martin Buchholz <martin@xemacs.org>
950 * s/bsdos4.h: New file. Port to BSDI BSD/OS 4.0.
951 * xintrinsic.h: Redo CONST support for X11 R4 compatibility.
953 1999-02-05 XEmacs Build Bot <builds@cvs.xemacs.org>
955 * XEmacs 21.2.10 is released
957 1999-02-02 Gleb Arshinov <gleb@cs.stanford.edu>
959 * process-nt.c (nt_send_process):
960 Fix for process-send-region/process-send-string breaking when size
961 of the input > 128 chars: change maximum chunk size for process
962 stream from 512 to 128, thus guaranteeing that ntpipe_shove_writer
965 1999-02-02 XEmacs Build Bot <builds@cvs.xemacs.org>
967 * XEmacs 21.2.9 is released
969 1999-01-30 Martin Buchholz <martin@xemacs.org>
971 * bytecode.c (funcall_compiled_function): Call
972 UNBIND_TO_GCPRO instead of UNBIND_TO_GCPRO_VARIABLES_ONLY.
974 * backtrace.h (UNBIND_TO_GCPRO_VARIABLES_ONLY):
975 #ifdef 0 out unused macro.
977 1999-01-27 Martin Buchholz <martin@xemacs.org>
979 * gui.c (gui_parse_item_keywords_internal): Make static.
981 1999-01-21 Andy Piper <andy@xemacs.org>
983 * glyphs-msw.c: add xface support.
984 (mswindows_xface_instantiate): new function copied from glyphs-x.c
985 (image_instantiator_format_create_glyphs_mswindows): do device
986 specific initialisation for xfaces.
987 (xbm_create_bitmap_from_data): line data must be padded to a word
990 * glyphs-x.c (xface_validate): moved to glyphs.c
991 (xface_normalize): ditto.
992 (xface_possible_dest_types): ditto.
993 (image_instantiator_format_create_glyphs_x): do device specific
994 initialisation for xfaces.
996 * glyphs.h: declare xface symbol.
998 * glyphs.c: move generic xface support here.
999 (xface_validate): moved from glyphs-x.c
1000 (xface_normalize): ditto.
1001 (xface_possible_dest_types): ditto.
1002 (image_instantiator_format_create): xface declarations moved from
1005 1999-01-14 Adrian Aichner <aichner@ecf.teradyne.com>
1007 * event-stream.c (vars_of_event_stream): Fixing documentation.
1009 1999-01-17 Gunnar Evermann <ge204@eng.cam.ac.uk>
1011 * glyphs-eimage.c (gif_instantiate): Correct handling of
1012 interlaced gifs to avoid writing past the end of the eimage
1015 1999-01-13 Hrvoje Niksic <hniksic@srce.hr>
1017 * search.c (Freplace_match): Handle single backslash at end of
1020 1999-01-12 William M. Perry <wmperry@aventail.com>
1022 * eldap.c (Fldap_open): slow down interrupts around ldap_open to
1023 avoid connection errors.
1025 1999-01-12 Andy Piper <andy@xemacs.org>
1027 * redisplay-output.c (redisplay_update_line): backout change that
1028 shouldn't have gone ine.
1030 1999-01-09 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
1032 * eldap.c (vars_of_ldap): Do no provide `ldap' here since it may
1033 collide with ldap.el
1035 1999-01-11 Andy Piper <andy@xemacs.org>
1037 * redisplay.h (DISPLAY_LINE_HEIGHT): new macro.
1038 (DISPLAY_LINE_YPOS): new macro.
1040 * redisplay-msw.c (mswindows_output_string): use it.
1041 (mswindows_output_pixmap): ditto.
1042 (mswindows_output_display_block): ditto.
1044 * redisplay-output.c (redisplay_output_display_block): new
1045 function. just call the devmeth, maybe insert some generic code
1047 (compare_display_blocks): use it.
1048 (output_display_line): ditto.
1049 (redisplay_unmap_subwindows_maybe): new function. potentially
1050 unmap subwindows in the given area.
1052 * glyphs.c (reset_subwindow_cachels): unmap subwindows that we are
1055 1999-01-10 J. Kean Johnston <jkj@sco.com>
1057 * Makefile.in.in: Set value of moduledir
1058 - Changed DUMPENV to include $(MODULEPATH)
1059 - Added install rule to install header files for use by ellcc.
1061 * config.h.in: Added INHIBIT_SITE_MODULES
1062 - Added HAVE__DLERROR
1063 - Added HAVE_DLFCN_H
1064 - Added DLSYM_NEEDS_UNDERSCORE
1068 * emodules.c: New file containing dynamic loading code.
1070 * emodules.h: New file.
1072 * emacs.c: Added variables Vmodule_directory,
1073 Vsite_module_directory, Vconfigure_module_directory and
1074 Vconfigure_site_module_directory.
1075 - (main_1): Added new variable inhibit_site_modules and command
1076 line options `-no-site-modules' and `--no-site-modules'.
1077 - (main_1): Call syms_of_module() instead of syms_of_dll().
1078 - (main_1): Call vars_of_module().
1079 - (vars_of_emacs): Introduce inhibit-site-modules,
1080 module-directory, configure-module-directory,
1081 site-module-directory, and configure-site-module-directory to the
1084 * lisp.h: Declare load_module and list_modules, as well as
1085 Vmodule_directory, Vsite_module_directory,
1086 Vconfigure_module_directory and Vconfigure_site_module_directory.
1088 * paths.h.in: Added PATH_MODULESEARCH and PATH_SITE_MODULES.
1089 - Added correct support for site-lisp directory.
1091 * symbols.c (defsubr): Modified to allow modules to add new subrs
1093 - (defsubr_macro): Same.
1094 - (defvar_magick): Only use purespace when not initialized, so
1095 that loaded modules can still add symbols.
1097 * symsinit.h: Add definitions for syms_of_module(),
1098 vars_of_module(). Removed syms_of_dll().
1100 * sysdll.c: Include dlfcn.h if HAVE_DLFCN_H is defined.
1101 - (dll_variable): Take DLSYM_NEEDS_UNDERSCORE into account.
1102 - (dll_error): use _dlerror() if HAVE__DLERROR is defined.
1104 * s/sco5-shr.h (C_SWITCH_SYSTEM): Correct for modern gcc and
1105 explicitly pass -belf for native cc.
1107 * s/sco5.h (LIB_GCC): Use -print-libgcc-file-name instead of
1108 hard-coding the library name.
1110 1999-01-01 <martin@xemacs.org>
1112 * device-x.c (Fx_set_font_path):
1113 Add proper cast to permit compilation under C++.
1115 * buffer.c (directory_is_current_directory):
1116 Add proper casts to permit compilation under C++.
1118 1998-12-30 Damon Lipparelli <lipp@primus.com>
1120 * event-msw.c (mswindows_wnd_proc):
1121 Fixed failure when building with MSVC 5.
1123 1998-12-29 Martin Buchholz <martin@xemacs.org>
1125 * file-coding.c (decode_coding_iso2022):
1126 - Prevent crash when decoding ISO7/Lock detected files
1127 - the usual martin fiddling
1129 1998-12-29 Jonathan Harris <jhar@tardis.ed.ac.uk>
1133 Fixed failures when building with MSVC.
1134 * unexnt.c (dump_bss_and_heap):
1135 Removed compiler warning by removing bss_data variable.
1137 1998-12-18 Jim Radford <radford@robby.caltech.edu>
1139 * device-x.c (Fx_set_font_path, Fx_get_font_path): New functions
1140 so that packages that distribute their own fonts can access them.
1142 1998-12-28 Andy Piper <andy@xemacs.org>
1144 * glyphs-msw.c (mswindows_button_instantiate): cope with buttons
1145 that have an image provided.
1147 * glyphs.h: add Q_image decl.
1149 * glyphs-widget.c new functionality allowing images in
1151 (check_valid_glyph_or_image): new function to validate
1152 glyphs passed in through :image.
1153 (widget_normalize): new function. convert :image parameters into
1154 real glyphs if not already so.
1155 (widget_instantiate_1): mess with size parameters to be similar to
1157 (syms_of_glyphs_widget): new keyword :image.
1158 (image_instantiator_format_create_glyphs_widget): normalize
1159 buttons and allow :image.
1161 1998-12-27 Andy Piper <andy@xemacs.org>
1163 * frame-msw.c (mswindows_init_frame_1): warning elimination.
1165 * glyphs-widget.c (check_valid_anything): no-op function.
1166 (check_valid_callback): check callbacks in gui_items.
1167 (check_valid_symbol): as it sounds.
1168 (check_valid_string_or_vector): ditto.
1169 (widget_validate): modified for descriptors that are vectors or
1170 sequences of keyword/val pairs.
1171 (widget_instantiate_1): ditto.
1172 (image_instantiator_format_create_glyphs_widget): allow gui_item
1173 keywords in the instantiator.
1175 * gui.c (gui_parse_item_keywords_internal): renamed from
1176 gui_parse_item_keywords but taking error behaviour.
1177 (gui_parse_item_keywords): use it.
1178 (gui_parse_item_keywords_no_errors): ditto.
1179 (gui_item_add_keyval_pair): add Error_behavior flag and only
1180 signal invalid keywords if required.
1182 * gui.h: new gui signatures.
1184 * menubar.c (menu_parse_submenu_keywords): use new
1185 gui_item_add_keyval_pair signature.
1187 * s/cygwin32.h: modify PTY_ITERATION to eliminate warnings.
1189 1998-12-28 Martin Buchholz <martin@xemacs.org>
1191 * XEmacs 21.2.8 is released.
1193 1998-12-28 Martin Buchholz <martin@xemacs.org>
1195 * editfns.c (get_home_directory):
1196 (user-home-directory): Simplify.
1199 * callproc.c (child_setup):
1200 - Environment variables were being passed to inferior processes
1201 using internal encoding.
1202 - Convert to external encoding.
1203 - Rename local var `tem' to better name `tail'.
1204 - Use Flength instead of `manual' calculation.
1206 * buffer.c (kill-buffer):
1208 (set-buffer-major-mode):
1210 - Fix up parameter names to correspond to docstrings.
1211 - Don't use `bufname' when a buffer will do as well.
1212 - Remove one unneeded GCPRO.
1214 * buffer.h (initial_directory):
1215 * buffer.c (init_initial_directory):
1216 - use correct conversions between internal and external format.
1217 (directory_is_current_directory): new function
1218 (init_buffer): convert initial_directory to internal format.
1219 - solve crashes when current working directory is non-ASCII.
1221 * alloc.c (xmalloc):
1224 - remove stupid casts, since XEmacs requires an ANSI C system.
1225 (lrecord_type_index): replace abort() with more readable assert().
1227 (reset_lcrecord_stats): remove.
1228 (sweep_lcrecords_1):
1229 - replace call to reset_lcrecord_stats() with call to xzero().
1231 1998-12-27 Martin Buchholz <martin@xemacs.org>
1233 * process-unix.c (unix_create_process):
1234 - Fix crash invoking program with non-ASCII name.
1235 Try invoking xemacs with SHELL=/bin/sh, then M-x shell.
1236 - Remove unused variable `env'.
1237 - Rename `temp' to better name `save_errno'.
1238 - Reorganize code for clarity. But still too chicken to nuke the
1241 1998-12-24 Martin Buchholz <martin@xemacs.org>
1243 * XEmacs 21.2.7 is released.
1245 1998-12-23 Martin Buchholz <martin@xemacs.org>
1247 * glyphs.c (decode_device_ii_format):
1249 - Use GET_C_STRING_FILENAME_DATA_ALLOCA with char *, not Extbyte *.
1251 * glyphs-x.c (x_subwindow_instantiate):
1252 - A image instance mask was being assigned to a image instance type!
1253 - X_SUBWINDOW_INSTANCE_DATA (ii) is not an lvalue in C++.
1255 * glyphs-msw.c (mswindows_initialize_dibitmap_image_instance):
1257 * glyphs-x.h: Make indentation consistent.
1259 * emacs.c (Fdump_emacs): Remove Steve Martin merge artifacts.
1261 * glyphs-widget.c (check_valid_glyph): Warning suppression.
1263 - #ifdef it out, since it's not actually used yet (FIX THIS!)
1267 Move declarations of decode_device_ii_format and
1268 decode_image_instantiator_format into glyphs.h where they belong.
1270 1998-12-22 Martin Buchholz <martin@xemacs.org>
1272 * frame-x.c (x_delete_frame): Revert part of my changes at the
1273 suggestion of Gunnar Evermann - unfortunately no one really
1274 understands this code.
1276 * callproc.c (init_callproc): code cleanup.
1278 * free-hook.c (malloc):
1283 (block_input_malloc):
1284 (block_input_realloc):
1285 * device-x.c (x_delete_device):
1286 * emacs.c (voodoo_free_hook):
1287 * events.c (print_event):
1289 (CHECK_EVENT_TYPE2):
1290 (CHECK_EVENT_TYPE3):
1291 Use proper prototypes.
1292 Make C_E_T macros a little faster.
1293 Pedantic fiddly little changes. You really don't care.
1295 1998-12-22 Andy Piper <andy@xemacs.org>
1297 * redisplay-output.c (redisplay_clear_region): make sure that
1298 fg/bg colors get set even when we are in the border area.
1300 1998-12-13 Martin Buchholz <martin@xemacs.org>
1302 * console-msw.c: Function definitions follow coding standards
1303 - This prevents e.g. find-tag on Lisp_Event finding DEVENT
1305 1998-12-11 Martin Buchholz <martin@xemacs.org>
1307 * events.h (struct timeout_data):
1308 * event-tty.c (tty_timeout_to_emacs_event):
1309 * event-msw.c (mswindows_wm_timer_callback):
1310 * event-Xt.c (Xt_timeout_to_emacs_event):
1311 * event-msw.c (mswindows_cancel_dispatch_event):
1312 Make sure Lisp_Objects inside events are initialized to Qnil, not
1313 Qnull_pointer, which is now illegal.
1315 1998-12-10 Martin Buchholz <martin@xemacs.org>
1317 * lisp.h: Fix up prototypes to match alloc.c
1319 1998-12-08 Martin Buchholz <martin@xemacs.org>
1321 * windowsnt.h: Remove `support' for using index and rindex
1323 * filelock.c (current_lock_owner):
1324 - Change uses of index -> strchr, rindex -> strrchr
1326 1998-12-07 Martin Buchholz <martin@xemacs.org>
1328 * sysdep.c (set_descriptor_non_blocking):
1329 Since O_NONBLOCK is now always #defined, make use of fcntl
1330 conditional on F_SETFL being defined.
1332 * console-msw.c (DHEADgER):
1341 - max_align_t should not be visible to the user of the
1343 - use Bufbyte instead of char
1344 - parens around (FOOP (obj)) are always redundant.
1345 If they were necessary, we should fix the macro instead.
1346 - Always use string_data(foo) instead of foo->data.
1349 1998-12-06 Martin Buchholz <martin@xemacs.org>
1351 * frame-msw.c (mswindows_init_frame_1):
1352 - use make_lisp_hash_table, not Fmake_hash_table
1356 * alloc.c (make_vector): remove travesty
1360 (make_bit_vector_internal):
1362 (make_bit_vector_from_byte_vector):
1364 - make vector_equal a little faster.
1365 - Don't use variable name `new'.
1366 - Use size_t instead of EMACS_INT.
1367 - usual Martin-style pointless bit-twiddling.
1373 Make mapcar faster. In particular, make
1374 (mapc #'identity long-string)
1375 MUCH faster under Mule.
1376 * tests/automated/lisp-tests.el: Test 'em!
1378 * bytecode.c (Ffetch_bytecode): Fix crash when loading lazy-loaded
1381 1998-12-01 Martin Buchholz <martin@xemacs.org>
1383 * menubar-x.c (menu_item_descriptor_to_widget_value_1): Always use
1384 Qnil, not NULL, to initialize `null' Lisp_Objects.
1386 1998-11-29 Hrvoje Niksic <hniksic@srce.hr>
1388 * specifier.c (display_table_validate): Update.
1390 * redisplay.c (create_text_block): Use them.
1392 * glyphs.c (display_table_entry): New function.
1393 (get_display_tables): Ditto.
1395 1998-12-15 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
1397 * eldap.c (toplevel): Mention that eldap.c compiles with
1399 (Fldap_open): Use `GET_C_STRING_OS_DATA_ALLOCA'
1400 (Fldap_search_internal): Ditto
1402 1998-12-11 Martin Buchholz <martin@xemacs.org>
1404 * event-msw.c (mswindows_cancel_dispatch_event):
1405 Gratuitous code prettification
1408 1998-12-07 Hrvoje Niksic <hniksic@srce.hr>
1410 * fns.c (Fnconc): Fix use of wrong_type_argument().
1412 * floatfns.c (Ffloat): Fix docstring.
1413 (Ffloat): Fix use of wrong_type_argument().
1415 (extract_float): Ditto.
1420 1998-12-06 Martin Buchholz <martin@xemacs.org>
1422 * frame-msw.c (mswindows_init_frame_1):
1423 - use make_lisp_hash_table, not Fmake_hash_table
1427 * alloc.c (make_vector): remove travesty
1431 (make_bit_vector_internal):
1433 (make_bit_vector_from_byte_vector):
1435 - make vector_equal a little faster.
1436 - Don't use variable name `new'.
1437 - Use size_t instead of EMACS_INT.
1438 - usual Martin-style pointless bit-twiddling.
1444 Make mapcar faster. In particular, make
1445 (mapc #'identity long-string)
1446 MUCH faster under Mule.
1447 * tests/automated/lisp-tests.el: Test 'em!
1449 * bytecode.c (Ffetch_bytecode): Fix crash when loading lazy-loaded
1452 1998-12-02 Didier Verna <verna@inf.enst.fr>
1454 * menubar-x.c (menu_item_descriptor_to_widget_value_1): set the
1455 accelerator field to nil for labels.
1457 1998-12-16 Jonathan Harris <jhar@tardis.ed.ac.uk>
1459 * menubar-msw.c (displayable_menu_item):
1460 Escape occurrences of '&' and support occurrences of the
1461 '%_' accelerator indicator in menus.
1463 1998-11-26 Didier Verna <verna@inf.enst.fr>
1465 * dired.c (Fdirectory_files): use make_string instead of
1466 make_ext_string on the filename. The conversion external->internal
1467 format is already done in sys_readdir.
1469 1998-12-15 Gunnar Evermann <ge204@eng.cam.ac.uk>
1471 * glyphs.c (normalize_image_instantiator): GCPRO instantiator
1473 1998-12-16 Jonathan Harris <jhar@tardis.ed.ac.uk>
1476 (Belatedly) added Kirill to list of file's authors.
1477 emacs_mswindows_quit_p: Don't process WM_PAINT messages in
1478 quit checking. WM_PAINT messages cause redisplay, but
1479 windows' states are not necessarily stable when this function
1482 1998-12-17 Andy Piper <andy@xemacs.org>
1484 * strftime.c (zone_name): CONSTify.
1486 1998-12-15 Andy Piper <andy@xemacs.org>
1488 * glyphs-msw.c (mswindows_combo_instantiate): ditto.
1489 (mswindows_widget_property): return Qunbound when no property available.
1490 (mswindows_button_property): ditto.
1491 (mswindows_combo_property): ditto.
1492 (mswindows_widget_set_property): ditto.
1494 * glyphs-widget.c (check_valid_item_list): use properties.
1496 * glyphs.h (struct Lisp_Image_Instance): we have properties now.
1498 * glyphs.c (Fset_image_instance_property): allow setting of arbitrary properties.
1499 (Fimage_instance_property): ditto.
1500 * glyphs-widget.c (widget_property): ditto.
1501 (widget_set_property): ditto.
1503 * frame-msw.c (mswindows_set_frame_pointer): SetCursor() as well
1504 as setting the class cursor so that GC actually changes the
1507 * config.h: don't undef MAIL_USE_POP.
1509 1998-12-13 Andy Piper <andy@xemacs.org>
1512 (image_instantiator_format_create_glyphs_mswindows): line ->
1514 (mswindows_label_instantiate): ditto. Play with window flags.
1515 (image_instantiator_format_create_glyphs_mswindows): ditto.
1516 (vars_of_glyphs_mswindows): provide Qlabel as we support it now.
1518 * glyphs-widget.c (widget_instantiate_1): re-jig autosizing to
1519 cope with lines and labels.
1520 (static_instantiate): use widget_instantiate_1.
1522 (image_instantiator_format_create_glyphs_widget): ditto.
1524 1998-12-10 Andy Piper <andy@xemacs.org>
1526 * Makefile.in.in (objs): add gui.o
1528 1998-12-10 Andy Piper <andy@xemacs.org>
1530 * gui.c: adjust defines of HAVE_POPUPS so that we can build with
1533 1998-12-09 Andy Piper <andy@xemacs.org>
1535 * glyphs.c (finalize_image_instance): mark glyphs changed when an
1536 image instance is removed so that the subwindow cache gets reset
1537 and thus destroyed images get GC'd.
1539 1998-12-08 Andy Piper <andy@xemacs.org>
1541 * gui-msw.c (mswindows_handle_gui_wm_command): call
1542 MARK_SUBWINDOWS_CHANGED.
1544 * glyphs-msw.c (mswindows_finalize_image_instance): make sure
1545 subwindows really get deleted.
1547 * redisplay.c: new variable subwindows_changed[_set].
1548 (redisplay_window): use it.
1549 (redisplay_frame): ditto.
1550 (redisplay_device): ditto.
1551 (redisplay_without_hooks): ditto.
1553 * device.h (MARK_DEVICE_SUBWINDOWS_CHANGED): new macro for
1554 subwindows redisplay as per glyphs equivalent.
1555 * redisplay.h: ditto.
1556 (MARK_SUBWINDOWS_CHANGED): ditto.
1557 (RESET_CHANGED_SET_FLAGS): ditto.
1558 * frame.h (MARK_FRAME_SUBWINDOWS_CHANGED): ditto.
1560 1998-12-07 Andy Piper <andy@xemacs.org>
1562 * frame.c (Fmake_frame): reset subwindow cachels on non-stream
1565 * redisplay.c (redisplay_frame): invalidate subwindow cachels.
1567 * event-msw.c (mswindows_wnd_proc): catch the various WM_CTLCOLOR*
1568 messages and paint widget glyphs as appropriate with their face fg
1571 1998-12-06 Andy Piper <andy@xemacs.org>
1573 * glyphs-msw.c (vars_of_glyphs_mswindows): provide widget types
1574 here rather than in glyphs-widget - do this because we only want
1575 to provide what is really available.
1577 * glyphs.c (Fimage_instance_property): new function to get the
1578 properties of image instances. wires through to console specific
1579 methods and then to widget specific methods.
1580 (Fset_image_instance_property): ditto but for setting widget properties.
1581 (check_valid_face): make extern so that it can be used elsewhere.
1583 * glyphs-widget.c (widget_property): new function. gets the
1584 properties of widgets in general and wires the function through to
1585 widget specific ones.
1586 (widget_set_property): ditto but for setting widget properties.
1588 * glyphs-msw.c (mswindows_combo_instantiate): Add functionality to
1589 add items to the list. Play with window styles a bit to get the
1591 (mswindows_widget_property): break out specific widget properties.
1592 (mswindows_button_property): new function. gets the checked state
1594 (mswindows_combo_property): new function. gets the current
1595 selection in the combo box.
1596 (mswindows_widget_set_property): new function. sets specific
1597 properties of specific widgets.
1599 * glyphs-widget.c (check_valid_item_list): new function. check
1600 that items for a combo-box are just a list of strings.
1601 (combo_validate): new function. check there is an item list.
1602 (widget_instantiate_1): new function. renamed from
1603 widget_instantiate so that we can do slightly different things for
1605 (widget_instantiate): call widget_instantiate_1.
1606 (combo_instantiate): new function to instantiate combo boxes,
1607 defaults height to the pixel height of the number of items in the
1609 (syms_of_glyphs_widget): move widget keywords here.
1610 (image_instantiator_format_create_glyphs_widget): use new combo
1613 1998-12-04 Andy Piper <andy@xemacs.org>
1615 * event-msw.c (mswindows_wnd_proc): mule-ize.
1617 * glyphs.c (pixmap_to_lisp_data): mule-ize.
1619 * glyphs-msw.c (extract_xpm_color_names): mule-ize.
1620 (resource_name_to_resource): ditto.
1621 (mswindows_resource_instantiate): ditto.
1622 (mswindows_widget_instantiate): ditto.
1623 (mswindows_widget_set_property): ditto.
1625 * redisplay-output.c (redisplay_output_subwindow): don't show
1626 subwindows if they are obscured at the edge of the frame, emacs
1627 gets into some sort of redisplay loop otherwise.
1629 * gui.h: prototype gui_item_selected_p.
1631 * gui.c (gui_item_selected_p): new function to determine the
1632 selected state of a gui_item.
1634 * frame.h (struct frame): add subwindows_changed flag.
1636 * redisplay.c (redisplay_frame): call update_frame_subwindows ().
1638 * glyphs.c (update_subwindow): new function to update a
1640 (update_frame_subwindows): new function to update all the
1641 subwindows on a frame.
1643 * console.h (struct console_methods): add update_subwindow.
1645 * glyphs-msw.c (mswindows_widget_property): return selected state
1646 for selected property.
1647 (mswindows_update_subwindow): new function. updates widget glyphs
1648 in redisplay as per menubars or toolbars e.g. selected state.
1649 (console_type_create_glyphs_mswindows): add update_subwindow.
1651 1998-12-03 Andy Piper <andy@xemacs.org>
1653 * console-tty.c (syms_of_console_tty): MULE -> FILE_CODING since
1654 tty coding system things are such.
1656 * glyphs-widget.c (widget_face_font_info): new function for
1657 pulling out height and width metrics for a widget's face.
1658 (widget_text_to_pixel_conversion): calculate pixel sizes of text
1661 * event-msw.c (mswindows_drain_windows_queue): translate messages
1662 that are destined for subwindows. This makes edit fields interact
1663 with the keyboard correctly.
1664 nuke warnings by #ifndef'ing out stuff not required by msg select().
1666 * glyphs.h (INITIALIZE_IMAGE_INSTANTIATOR_FORMAT_NO_SYM): new
1667 macro defining the iiforma without the symbol required by widget.
1668 (INITIALIZE_IMAGE_INSTANTIATOR_FORMAT): use it.
1670 * general.c (syms_of_general): add Qwidget, Qselected.
1672 * faces.c (complex_vars_of_faces): add widget face inheriting from
1675 1998-11-09 Andy Piper <andy@xemacs.org>
1677 * window.h (struct window): add a cache of subwindows on a
1680 * window.c (mark_window): mark the subwindow_instance_cache.
1681 (allocate_window): initialise the subwindow instance_cache.
1683 * toolbar-x.c (x_output_toolbar): call redisplay_clear_region
1684 instead of the devmeth.
1685 (x_clear_toolbar): ditto.
1687 * redisplay-x.c (x_output_display_block): call
1688 redisplay_output_subwindow for subwindows and widgets.
1690 * redisplay-tty.c (tty_output_display_block): add IMAGE_WIDGET to
1691 types to do nothing for.
1693 * lisp.h: declare new widget/subwindow symbols.
1695 * glyphs.c (image_instantiate): cache subwindows on a per-window
1697 (subwindow_possible_dest_types): new function for subwindow dest
1699 (subwindow_instantiate): generic instantiation of a
1700 subwindow. specialised by device multi-methods.
1701 (Fsubwindowp): moved from glyphs-x.c. adapted for glyph-based
1703 (Fimage_instance_subwindow_id): ditto.
1704 (Fresize_subwindow): ditto.
1705 (Fforce_subwindow_map): ditto.
1707 * glyphs-x.c (x_print_image_instance): remove subwindow
1708 stuff. Handled genrically in glyphs.c.
1709 (x_image_instance_equal): ditto.
1710 (x_image_instance_hash): ditto.
1711 (x_finalize_image_instance): delete subwindows when required.
1712 (mark_subwindow) (print_subwindow) (finalize_subwindow)
1713 (subwindow_hash) (Fmake_subwindow): deleted because of new,
1714 glyph-based, subwindow implementation.
1715 (Fsubwindow_height) (Fsubwindow_width) (Fsubwindow_xid): aliased
1717 (Fsubwindowp) (Fresize_subwindow) (Fforce_subwindow_map): moved to
1719 (x_unmap_subwindow): new function to unmap X subwindows.
1720 (x_map_subwindow): new function to map X subwindows.
1721 (x_subwindow_instantiate): new function to instantiate X
1723 (x_resize_subwindow): new function to resize X subwindows.
1724 (console_type_create_glyphs_x): add subwindow functions.
1725 (image_instantiator_format_create_glyphs_x): add device
1726 multi-methods for xpm, xbm and subwindow.
1728 * glyphs.el (subwindow-xid): old alias for new subwindow functions.
1729 (subwindow-width): ditto.
1730 (subwindow-height): ditto.
1732 * glyphs-msw.c (mswindows_widget_instantiate): new function for
1733 generally instantiating ms subwindows. Used by
1734 mswindows_*_instantiate.
1735 (mswindows_edit_instantiate): instantiate an edit field on a
1738 1998-11-04 Andy Piper <andy@xemacs.org>
1740 * symsinit.h: declare new functions.
1742 * redisplay.h: declare new functions.
1744 * redisplay-x.c (x_output_display_block): call
1745 redisplay_clear_region rather than x_clear_region.
1746 (x_output_string): ditto.
1747 (x_output_pixmap): ditto.
1748 (x_clear_to_window_end): ditto.
1749 (x_output_eol_cursor): ditto.
1750 (x_clear_region): only do X specific things. other duties handled
1751 in redisplay_clear_region.
1753 * redisplay-tty.c (tty_clear_region): do tty specific things - some
1754 duties moved to redisplay_clear_region.
1756 * redisplay-output.c (clear_left_border): use
1757 redisplay_clear_region instead of device method.
1758 (clear_right_border): ditto.
1759 (output_display_line): ditto.
1760 (redisplay_output_subwindow): ditto.
1761 (redisplay_clear_top_of_window): ditto.
1762 (redisplay_clear_region): perform duties previously handled by
1763 device methods. call the appropriate device method at the
1764 end. unmap subwindows if necessary.
1766 * redisplay-msw.c (mswindows_output_string): use
1767 redisplay_clear_region instead of mswindows_clear_region.
1768 (mswindows_clear_to_window_end): ditto.
1769 (mswindows_output_display_block): output subwindows when required.
1770 (mswindows_clear_region): only do mswindows specific things,
1771 everything else is now handled in redisplay_clear_region.
1773 * gui.h: add item id hash defines and declare function prototypes.
1775 * gui.c (mark_gui_item): new function for marking gui_items.
1776 (gui_item_hash): generic hash function for generating command ids
1779 * gui-msw.c: new file.
1780 (mswindows_handle_gui_wm_command): new function to handle widget
1783 * glyphs.h (MAYBE_IIFORMAT_DEVMETH): new function for device
1785 (IIFORMAT_HAS_SHARED_METHOD): ditto.
1786 (DEFINE_DEVICE_IIFORMAT): ditto.
1787 (INITIALIZE_DEVICE_IIFORMAT): ditto.
1788 (struct Lisp_Image_Instance): add widget and subwindow data plus
1789 appropriate access functions.
1791 * glyphs.c (decode_device_ii_format): new function for decoding
1792 image instantiator functions based on a device type as well as an
1794 (decode_image_instantiator_format): just call
1795 decode_device_ii_format with nil device.
1796 (add_entry_to_device_ii_format_list): new function for per device
1798 (add_entry_to_image_instantiator_format_list): just call
1799 add_entry_to_device_ii_format_list with nil device.
1800 (check_valid_vector): new function.
1801 (instantiate_image_instantiator): instantiate using per-format
1802 method and then per-format-per-device method (device
1803 multi-methods). signal an error if neither is possible.
1804 (mark_image_instance): cope with subwindows and widgets.
1805 (print_image_instance): ditto.
1806 (image_instance_equal): ditto.
1807 (image_instance_hash): ditto.
1808 (allocate_glyph): ditto.
1809 (glyph_width): ditto.
1810 (glyph_height_internal): ditto.
1811 (xpm_instantiate): removed because of device multi-methods.
1812 (mark_subwindow_cachels): new cachel functions for caching
1813 instantiated subwindows on a per-frame basis. mostly copied from
1814 glyph cachel functions.
1815 (update_subwindow_cachel_data): ditto.
1816 (add_subwindow_cachel): ditto.
1817 (get_subwindow_cachel_index): ditto.
1818 (reset_subwindow_cachels): ditto.
1819 (mark_subwindow_cachels_as_not_updated): ditto.
1820 (unmap_subwindow): generic unmapping of subwindows based on cachel
1822 (map_subwindow): ditto.
1823 (initialize_subwindow_image_instance): generic initialisation of
1825 (syms_of_glyphs): add widget keywords.
1827 * glyphs-x.h (struct x_subwindow_data): convert Lisp_Subwindow to
1830 1998-11-04 Andy Piper <andy@xemacs.org>
1832 * glyphs-widget.c: new file for instantiating widget type glyphs.
1833 (widget_possible_dest_types): new general dest type function for
1835 (widget_validate): ditto.
1836 (initialize_widget_image_instance): ditto
1837 (widget_instantiate): ditto. Sets up fg/bg, gui_item parsing
1838 before handing on control to device multi-methods.
1839 (syms_of_glyphs_widget): new function.
1840 (image_instantiator_format_create_glyphs_widget): new function,
1841 added placeholders for button, edit, combo, scrollbar
1842 (vars_of_glyphs_widget): new function.
1844 * glyphs-msw.h (WIDGET_INSTANCE_MSWINDOWS_HANDLE): new define for
1845 storing window ids of widgets.
1847 * glyphs-msw.c (mswindows_finalize_image_instance): cope with
1848 deletion of widget and subwindow glyphs.
1849 (mswindows_unmap_subwindow): new device function for unmapping
1850 subwindows on a msw frame.
1851 (mswindows_map_subwindow): ditto.
1852 (mswindows_register_image_instance): register instantiated widgets
1853 with the widget hastable.
1854 (mswindows_button_instantiate): instantiate a button type widget
1856 (mswindows_subwindow_instantiate): instanttiate a subwindow on a
1858 (image_instantiator_format_create_glyphs_mswindows): add device
1859 multi-methods for xbm, xpm, subwindow, edit and button.
1861 * frame.h (struct frame): add subwindow_cachels dynarr for caching
1862 information about subwindows visible on the current frame. used by
1863 redisplay_clear_region to unmap subwindows as required.
1865 * frame.c (mark_frame): mark subwindow_cachels.
1866 (allocate_frame_core): instantiate subwindow_cachels.
1868 * frame-msw.c (mswindows_init_frame_1): instntiate and mark the
1871 * event-msw.c (mswindows_wnd_proc): add call to
1872 mswindows_handle_gui_wm_command to handle widget callbacks.
1874 * emacs.c (main_1): add calls to glyphs-widget initialisation
1877 * console.h (struct console_methods): add
1878 unmap/map_subwindow_method for use be redisplay_clear_region to
1879 map and unmap subwindows. Remove xpm and xbm stuff - now dealt
1880 with by image instantiator multi-methods. Add
1881 resize_subwindow_method.
1883 * console-stream.c (stream_clear_region): change signature to
1884 match new generic clear region function.
1886 * Makefile.in.in: add glyphs-widget.o to list of objects.
1888 * console-msw.h (struct mswindows_frame): add widget hashtable for
1889 wiring command ids to callbacks.
1891 1998-12-16 Andy Piper <andy@xemacs.org>
1893 * XEmacs 21.2.6 is released
1895 1998-12-08 Hrvoje Niksic <hniksic@srce.hr>
1897 * md5.c (Fmd5): Correctly initiate string input stream.
1899 * Makefile.in.in (tests): Add md5-tests.el.
1901 1998-12-06 Martin Buchholz <martin@xemacs.org>
1904 * alloc.c (make_vector): remove travesty
1908 (make_bit_vector_internal):
1910 (make_bit_vector_from_byte_vector):
1912 - make vector_equal a little faster.
1913 - Don't use variable name `new'.
1914 - Use size_t instead of EMACS_INT.
1915 - usual Martin-style pointless bit-twiddling.
1921 Make mapcar faster. In particular, make
1922 (mapc #'identity long-string)
1923 MUCH faster under Mule.
1924 * tests/automated/lisp-tests.el: Test 'em!
1926 1998-12-06 Martin Buchholz <martin@xemacs.org>
1928 * bytecode.c (Ffetch_bytecode): Fix crash when loading lazy-loaded
1931 1998-12-13 Martin Buchholz <martin@xemacs.org>
1933 * console-msw.c: Function definitions follow coding standards
1934 - This prevents e.g. find-tag on Lisp_Event finding DEVENT
1936 1998-12-11 Martin Buchholz <martin@xemacs.org>
1938 * events.h (struct timeout_data):
1939 * event-tty.c (tty_timeout_to_emacs_event):
1940 * event-msw.c (mswindows_wm_timer_callback):
1941 * event-Xt.c (Xt_timeout_to_emacs_event):
1942 * event-msw.c (mswindows_cancel_dispatch_event):
1943 Make sure Lisp_Objects inside events are initialized to Qnil, not
1944 Qnull_pointer, which is now illegal.
1946 1998-12-10 Martin Buchholz <martin@xemacs.org>
1948 * lisp.h: Fix up prototypes to match alloc.c
1950 1998-12-09 Andy Piper <andy@xemacs.org>
1952 * glyphs-msw.c (init_image_instance_from_xbm_inline): don't use
1953 XSETINT for assigning lisp objects.
1955 1998-12-07 Martin Buchholz <martin@xemacs.org>
1958 * console-msw.c (DHEADER):
1967 - max_align_t should not be visible to the user of the
1969 - use Bufbyte instead of char
1970 - parens around (FOOP (obj)) are always redundant.
1971 If they were necessary, we should fix the macro instead.
1972 - Always use string_data(foo) instead of foo->data.
1974 1998-12-07 Martin Buchholz <martin@xemacs.org>
1976 * sysdep.c (set_descriptor_non_blocking):
1977 Since O_NONBLOCK is now always #defined, make use of fcntl
1978 conditional on F_SETFL being defined.
1980 1998-12-09 Andy Piper <andy@xemacs.org>
1982 * menubar-msw.c (mswindows_handle_wm_command): add back in checks
1983 that got removed in the merge
1985 1998-11-30 Greg Klanderman <greg@alphatech.com>
1987 * dired.c (vars_of_dired): bugfix for previous conditionalization
1988 of user-name-completion on non- Windows NT.
1990 1998-12-08 Martin Buchholz <martin@xemacs.org>
1992 * windowsnt.h: Remove `support' for using index and rindex
1994 * filelock.c (current_lock_owner):
1995 - Change uses of index -> strchr, rindex -> strrchr
1997 1998-12-06 Martin Buchholz <martin@xemacs.org>
1999 * frame-msw.c (mswindows_init_frame_1):
2000 - use make_lisp_hash_table, not Fmake_hash_table
2003 1998-12-05 XEmacs Build Bot <builds@cvs.xemacs.org>
2005 * XEmacs 21.2.5 is released
2007 1998-11-30 Martin Buchholz <martin@xemacs.org>
2009 * xselect.c (receive_incremental_selection):
2010 * xselect.c (x_get_window_property):
2011 * xmu.c (XmuReadBitmapDataFromFile):
2012 * xmu.c (XmuCursorNameToIndex):
2013 * xgccache.c (describe_gc_cache):
2014 * xgccache.c (gc_cache_lookup):
2015 * xgccache.c (free_gc_cache):
2016 * xgccache.c (make_gc_cache):
2018 * window.c (map_windows_1):
2019 * window.c (Fother_window_for_scrolling):
2020 * window.c (window_scroll):
2021 * window.c (change_window_height):
2022 * window.c (Fsplit_window):
2023 * window.c (window_left_gutter_width):
2024 * window.c (window_modeline_height):
2025 * window.c (invalidate_vertical_divider_cache_in_window):
2026 * window.c (window_needs_vertical_divider_1):
2027 * window.c (update_mirror_internal):
2028 * window.c (SET_LAST_FACECHANGE):
2029 * widget.c (Fwidget_plist_member):
2030 * unexec.c (copy_text_and_data):
2031 * unexcw.c (copy_executable_and_dump_data_section):
2033 * tooltalk.c (struct Lisp_Tooltalk_Pattern):
2034 * tooltalk.c (struct Lisp_Tooltalk_Message):
2035 * toolbar.h (struct toolbar_button):
2036 * toolbar.c (default_toolbar_visible_p_changed_in_window):
2037 * toolbar.c (recompute_overlaying_specifier):
2038 * toolbar.c (toolbar_validate):
2039 * toolbar.c (toolbar_button_at_pixpos):
2040 * toolbar.c (get_toolbar_coords):
2041 * toolbar.c (update_frame_toolbars):
2043 * toolbar-msw.c (mswindows_handle_toolbar_wm_command):
2044 * toolbar-msw.c (mswindows_find_toolbar_pos):
2045 * toolbar-msw.c (mswindows_output_toolbar):
2046 * toolbar-msw.c (mswindows_clear_toolbar):
2055 * sysdep.c (sys_fopen):
2056 * sysdep.c (sys_open):
2057 * sysdep.c (tty_init_sys_modes_on_device):
2058 * sysdep.c (get_eof_char):
2059 * sysdep.c (child_setup_tty):
2060 * sysdep.c (set_descriptor_non_blocking):
2062 * syntax.c (scan_words):
2065 * symeval.h (struct symbol_value_varalias):
2066 * symeval.h (struct symbol_value_forward):
2067 * symbols.c (syms_of_symbols):
2068 * symbols.c (init_symbols_once_early):
2069 * symbols.c (Fbuilt_in_variable_type):
2070 * symbols.c (Fsymbol_value_in_buffer):
2071 * symbols.c (default_value):
2073 * symbols.c (find_symbol_value_quickly):
2074 * symbols.c (store_symval_forwarding):
2075 * symbols.c (set_default_console_slot_variable):
2076 * symbols.c (set_default_buffer_slot_variable):
2077 * symbols.c (verify_ok_for_buffer_local):
2078 * symbols.c (symbol_is_constant):
2079 * symbols.c (oblookup):
2080 * symbols.c (Funintern):
2081 * symbols.c (Fintern):
2082 * symbols.c (check_obarray):
2084 * specifier.h (struct specifier_methods):
2086 * specifier.c (specifier_instance):
2087 * specifier.c (specifier_instance_from_inst_list):
2088 * specifier.c (decode_locale_type):
2089 * specifier.c (specifier_equal):
2090 * specifier.c (finalize_specifier):
2091 * specifier.c (prune_specifiers):
2092 * specifier.c (kill_specifier_buffer_locals):
2093 * sound.c (init_native_sound):
2096 * search.c (Fmatch_data):
2097 * search.c (match_limit):
2098 * search.c (Freplace_match):
2099 * search.c (skip_chars):
2100 * search.c (scan_buffer):
2102 * scrollbar.c (specifier_vars_of_scrollbar):
2103 * scrollbar.c (Fscrollbar_set_hscroll):
2104 * scrollbar.c (vertical_scrollbar_changed_in_window):
2105 * scrollbar.c (release_window_mirror_scrollbars):
2106 * scrollbar.c (free_scrollbar_instance):
2109 * s/msdos.h (O_BINARY):
2111 * s/freebsd.h (LIBS_TERMCAP):
2112 * regex.c (re_match_2_internal):
2113 * regex.c (compile_extended_range):
2114 * regex.c (POP_FAILURE_POINT):
2115 * regex.c (PUSH_FAILURE_POINT):
2116 * redisplay.h (RESET_CHANGED_SET_FLAGS):
2118 * redisplay.h (struct display_line):
2119 * redisplay.h (struct rune):
2120 * redisplay.c (vars_of_redisplay):
2121 * redisplay.c (redisplay_variable_changed):
2122 * redisplay.c (UPDATE_CACHE_RETURN):
2123 * redisplay.c (validate_line_start_cache):
2124 * redisplay.c (mark_redisplay_structs):
2125 * redisplay.c (mark_glyph_block_dynarr):
2126 * redisplay.c (window_line_number):
2127 * redisplay.c (redisplay_frame):
2128 * redisplay.c (redisplay_window):
2129 * redisplay.c (generate_modeline):
2130 * redisplay.c (create_right_glyph_block):
2131 * redisplay.c (create_left_glyph_block):
2132 * redisplay.c (create_text_block):
2134 * redisplay-x.c (x_output_hline):
2135 * redisplay-x.c (x_output_vertical_divider):
2136 * redisplay-tty.c (tty_output_display_block):
2137 * redisplay-output.c (output_display_line):
2138 * redisplay-output.c:
2139 * redisplay-msw.c (mswindows_output_vertical_divider):
2140 * redisplay-msw.c (mswindows_ring_bell):
2141 * redisplay-msw.c (mswindows_output_cursor):
2145 * puresize.h (RAW_PURESIZE):
2146 * profile.c (syms_of_profile):
2147 * profile.c (Fstart_profiling):
2148 * profile.c (sigprof_handler):
2151 * process.c (vars_of_process):
2152 * process.c (read_process_output):
2153 * process.c (get_process):
2155 * process-unix.c (unix_open_multicast_group):
2156 * process-unix.c (unix_get_tty_name):
2157 * process-unix.c (unix_send_process):
2158 * process-unix.c (unix_reap_exited_processes):
2159 * process-unix.c (unix_create_process):
2160 * process-unix.c (unix_init_process_io_handles):
2161 * process-unix.c (allocate_pty):
2163 * process-nt.c (nt_open_network_stream):
2164 * process-nt.c (nt_update_status_if_terminated):
2165 * process-nt.c (nt_finalize_process_data):
2167 * print.c (debug_short_backtrace):
2168 * print.c (debug_backtrace):
2169 * print.c (print_symbol):
2170 * print.c (print_internal):
2171 * print.c (print_cons):
2172 * print.c (Fwrite_char):
2173 * print.c (print_prepare):
2174 * print.c (canonicalize_printcharfun):
2175 * print.c (output_string):
2178 * opaque.c (allocate_managed_opaque):
2180 * offix.c (DndSetData):
2181 * objects.c (face_boolean_create):
2182 * objects.c (font_instantiate):
2183 * objects.c (font_create):
2184 * objects.c (color_create):
2185 * objects.c (finalize_font_instance):
2186 * objects.c (finalize_color_instance):
2188 * objects-x.c (x_font_instance_truename):
2190 * objects-x.c (x_initialize_font_instance):
2191 * objects-x.c (allocate_nearest_color):
2192 * objects-tty.c (tty_initialize_font_instance):
2193 * objects-tty.c (tty_initialize_color_instance):
2194 * objects-msw.c (mswindows_initialize_color_instance):
2195 * ntproc.c (syms_of_ntproc):
2196 * ntproc.c (Fwin32_set_process_priority):
2197 * ntproc.c (sys_spawnve):
2199 * ntheap.c (get_data_end):
2203 * nt.c (generate_inode_val):
2204 * nt.c (sys_rename):
2206 * mule-wnnfns.c (Fwnn_hinsi_number):
2207 * mule-wnnfns.c (Fwnn_yuragi):
2208 * mule-wnnfns.c (Fwnn_common_learn):
2209 * mule-wnnfns.c (Fwnn_suffix_learn):
2210 * mule-wnnfns.c (Fwnn_prefix_learn):
2211 * mule-wnnfns.c (Fwnn_okuri_learn):
2212 * mule-wnnfns.c (Fwnn_complex_conv):
2213 * mule-wnnfns.c (Fwnn_last_is_first):
2214 * mule-wnnfns.c (Fwnn_bmodify_dict_add):
2215 * mule-wnnfns.c (Fwnn_notrans_dict_add):
2216 * mule-wnnfns.c (Fwnn_fiusr_dict_add):
2217 * mule-wnnfns.c (Fwnn_fisys_dict_add):
2218 * mule-wnnfns.c (Fwnn_hinsi_list):
2219 * mule-wnnfns.c (Fwnn_fuzokugo_set):
2220 * mule-wnnfns.c (Fwnn_dict_search):
2221 * mule-wnnfns.c (Fwnn_word_toroku):
2222 * mule-wnnfns.c (Fwnn_hindo_update):
2223 * mule-wnnfns.c (Fwnn_bunsetu_henkou):
2224 * mule-wnnfns.c (Fwnn_kakutei):
2225 * mule-wnnfns.c (Fwnn_begin_henkan):
2226 * mule-wnnfns.c (Fwnn_dict_comment):
2227 * mule-wnnfns.c (Fwnn_dict_add):
2228 * mule-wnnfns.c (Fwnn_open):
2229 * mule-mcpath.c (mc_getcwd):
2230 * mule-coding.c (vars_of_mule_coding):
2231 * mule-coding.c (convert_to_external_format):
2232 * mule-coding.c (encoding_marker):
2233 * mule-coding.c (decoding_marker):
2234 * mule-coding.c (Fcopy_coding_system):
2235 * mule-coding.c (Fmake_coding_system):
2236 * mule-coding.c (Fcoding_system_list):
2237 * mule-coding.c (Ffind_coding_system):
2238 * mule-coding.c (symbol_to_eol_type):
2240 * mule-charset.c (complex_vars_of_mule_charset):
2241 * mule-charset.c (vars_of_mule_charset):
2242 * mule-charset.c (Fset_charset_ccl_program):
2243 * mule-charset.c (struct charset_list_closure):
2244 * mule-charset.c (Ffind_charset):
2245 * mule-charset.c (make_charset):
2246 * mule-charset.c (non_ascii_valid_char_p):
2248 * mule-ccl.c (ccl_driver):
2249 * mule-canna.c (c2mu):
2250 * mule-canna.c (Fcanna_henkan_begin):
2251 * mule-canna.c (Fcanna_parse):
2252 * mule-canna.c (Fcanna_store_yomi):
2253 * mule-canna.c (Fcanna_touroku_string):
2254 * mule-canna.c (Fcanna_initialize):
2256 * menubar.c (menu_parse_submenu_keywords):
2257 * menubar-x.c (make_dummy_xbutton_event):
2258 * menubar-x.c (set_frame_menubar):
2259 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
2262 * menubar-msw.c (mswindows_popup_menu):
2263 * menubar-msw.c (mswindows_update_frame_menubars):
2264 * menubar-msw.c (mswindows_handle_wm_command):
2265 * menubar-msw.c (unsafe_handle_wm_initmenu_1):
2266 * menubar-msw.c (unsafe_handle_wm_initmenupopup_1):
2267 * menubar-msw.c (update_frame_menubar_maybe):
2268 * menubar-msw.c (populate_or_checksum_helper):
2269 * menubar-msw.c (empty_menu):
2272 * marker.c (set_marker_internal):
2273 * marker.c (print_marker):
2276 * lstream.c (lisp_buffer_rewinder):
2277 * lstream.c (mark_lstream):
2279 * lrecord.h (struct lrecord_header):
2280 * lread.c (readevalloop):
2281 * lread.c (locate_file):
2282 * lread.c (locate_file_in_directory):
2283 * lread.c (Flocate_file):
2284 * lread.c (load_force_doc_string_unwind):
2285 * lread.c (ebolify_bytecode_constants):
2290 * linuxplay.c (linux_play_data_or_file):
2291 * linuxplay.c (audio_init):
2294 * keymap.c (describe_map):
2295 * keymap.c (describe_map_mapper):
2296 * keymap.c (Fdescribe_bindings_internal):
2297 * keymap.c (Fsingle_key_description):
2298 * keymap.c (map_keymap_sorted):
2299 * keymap.c (get_relevant_keymaps):
2300 * keymap.c (Flookup_key):
2301 * keymap.c (raw_lookup_key_mapper):
2302 * keymap.c (Fdefine_key):
2303 * keymap.c (Fevent_matches_key_specifier_p):
2304 * keymap.c (key_desc_list_to_event):
2305 * keymap.c (define_key_parser):
2306 * keymap.c (define_key_check_and_coerce_keysym):
2307 * keymap.c (keymap_submaps):
2308 * keymap.c (keymap_store_internal):
2309 * keymap.c (keymap_delete_inverse_internal):
2310 * keymap.c (keymap_store_inverse_internal):
2311 * keymap.c (print_keymap):
2312 * keymap.c (Lisp_Keymap):
2315 * insdel.c (convert_bufbyte_string_into_emchar_dynarr):
2316 * insdel.c (make_gap):
2317 * input-method-xlib.c (get_XIM_input):
2318 * input-method-xlib.c (XIM_init_frame):
2323 * gui-x.c (button_item_to_widget_value):
2324 * gui-x.c (popup_selection_callback):
2325 * glyphs.h (struct image_instantiator_methods):
2326 * glyphs.c (mark_glyph_cachels):
2327 * glyphs.c (Fglyph_type):
2328 * glyphs.c (image_instantiate):
2329 * glyphs.c (image_create):
2330 * glyphs.c (make_image_instance_1):
2331 * glyphs.c (finalize_image_instance):
2333 * glyphs-x.c (finalize_subwindow):
2334 * glyphs-x.c (xface_validate):
2335 * glyphs-x.c (x_locate_pixmap_file):
2336 * glyphs-x.c (convert_EImage_to_XImage):
2338 * glyphs-msw.c (mswindows_resource_instantiate):
2339 * glyphs-msw.c (xpm_to_eimage):
2340 * glyphs-msw.c (convert_EImage_to_DIBitmap):
2341 * glyphs-eimage.c (tiff_instantiate):
2342 * glyphs-eimage.c (png_instantiate):
2343 * glyphs-eimage.c (struct png_error_struct):
2344 * glyphs-eimage.c (gif_memory_storage):
2347 * getloadavg.c (getloadavg):
2350 * free-hook.c (log_gcpro):
2351 * free-hook.c (check_malloc):
2352 * free-hook.c (check_free):
2353 * free-hook.c (ROUND_UP_TO_PAGE):
2355 * frame.h (struct frame):
2357 * frame.c (change_frame_size_1):
2358 * frame.c (allocate_frame_core):
2360 * frame-x.c (x_focus_on_frame):
2361 * frame-x.c (x_init_frame_2):
2362 * frame-x.c (x_popup_frame):
2363 * frame-x.c (xemacs_XtPopup):
2365 * frame-x.c (Foffix_start_drag_internal):
2366 * frame-x.c (x_cde_destroy_callback):
2367 * frame-x.c (x_wm_hack_wm_protocols):
2368 * frame-tty.c (tty_frame_visible_p):
2369 * frame-msw.c (mswindows_make_frame_invisible):
2370 * frame-msw.c (mswindows_after_init_frame):
2371 * frame-msw.c (mswindows_init_frame_1):
2372 * fns.c (syms_of_fns):
2373 * fns.c (Fbase64_decode_string):
2375 * fns.c (Ffillarray):
2376 * fns.c (Fobject_plist):
2378 * fns.c (Fcanonicalize_lax_plist):
2379 * fns.c (Fcanonicalize_plist):
2380 * fns.c (Fplist_remprop):
2381 * fns.c (Fplist_get):
2382 * fns.c (advance_plist_pointers):
2383 * fns.c (internal_plist_put):
2384 * fns.c (Fnreverse):
2387 * fns.c (Fsubstring):
2388 * fns.c (Fbvconcat):
2390 * fns.c (length_with_bytecode_hack):
2391 * fns.c (print_bit_vector):
2393 * floatfns.c (Ffloor):
2395 * floatfns.c (in_float_error):
2396 * fileio.c (Ffile_modes):
2397 * fileio.c (Fexpand_file_name):
2398 * fileio.c (Fmake_temp_name):
2399 * fileio.c (Ffile_name_nondirectory):
2400 * fileio.c (Ffile_name_directory):
2402 * file-coding.c (vars_of_mule_coding):
2403 * file-coding.c (convert_to_external_format):
2404 * file-coding.c (encoding_marker):
2405 * file-coding.c (decoding_marker):
2406 * file-coding.c (Fcopy_coding_system):
2407 * file-coding.c (Fmake_coding_system):
2408 * file-coding.c (struct coding_system_list_closure):
2409 * file-coding.c (Ffind_coding_system):
2410 * file-coding.c (symbol_to_eol_type):
2412 * faces.h (struct face_cachel):
2413 * faces.c (vars_of_faces):
2414 * faces.c (face_property_was_changed):
2415 * faces.c (mark_face_cachels):
2416 * faces.c (temporary_faces_list):
2417 * faces.c (struct face_list_closure):
2419 * extents.h (struct extent):
2420 * extents.c (vars_of_extents):
2421 * extents.c (struct copy_string_extents_1_arg):
2422 * extents.c (add_string_extents_mapper):
2423 * extents.c (Fextent_property):
2424 * extents.c (Fset_extent_property):
2425 * extents.c (symbol_to_glyph_layout):
2426 * extents.c (properties_equal):
2427 * extents.c (print_extent):
2428 * extents.c (print_extent_1):
2429 * extents.c (extent_in_region_p):
2430 * extents.c (gap_array_make_gap):
2432 * events.h (struct Lisp_Event):
2434 * events.c (Fevent_properties):
2435 * events.c (format_event_object):
2436 * events.c (Fmake_event):
2437 * events.c (event_equal):
2438 * events.c (print_event):
2439 * events.c (mark_event):
2440 * event-stream.c ((read-char)
2441 * event-stream.c (vars_of_event_stream):
2442 * event-stream.c (syms_of_event_stream):
2443 * event-stream.c (Fset_recent_keys_ring_size):
2444 * event-stream.c (Fsit_for):
2445 * event-stream.c (Fnext_event):
2446 * event-stream.c (execute_help_form):
2447 * event-stream.c (maybe_kbd_translate):
2449 * event-msw.c (vars_of_event_mswindows):
2450 * event-msw.c (mswindows_wnd_proc):
2451 * event-msw.c (mswindows_need_event):
2452 * event-msw.c (mswindows_drain_windows_queue):
2453 * event-msw.c (mswindows_pump_outstanding_events):
2455 * event-msw.c (slurp_thread):
2456 * event-msw.c (struct ntpipe_slurp_stream):
2457 * event-msw.c (HANDLE_TO_USID):
2458 * event-Xt.c (emacs_Xt_handle_magic_event):
2459 * event-Xt.c (x_event_to_emacs_event):
2460 * event-Xt.c (x_reset_modifier_mapping):
2461 * event-Xt.c (x_reset_key_mapping):
2463 * eval.c (syms_of_eval):
2464 * eval.c (warn_when_safe):
2465 * eval.c (warn_when_safe_lispobj):
2466 * eval.c (Fbacktrace_frame):
2467 * eval.c (Fbacktrace):
2468 * eval.c (top_level_set):
2469 * eval.c (unbind_to_hairy):
2470 * eval.c (specbind_magic):
2471 * eval.c (specbind_unwind_wasnt_local):
2472 * eval.c (call2_trapping_errors):
2473 * eval.c (call1_trapping_errors):
2474 * eval.c (catch_them_squirmers_call2):
2475 * eval.c (call0_trapping_errors):
2476 * eval.c (run_hook_trapping_errors):
2477 * eval.c (catch_them_squirmers_eval_in_buffer):
2478 * eval.c (call4_in_buffer):
2479 * eval.c (call3_in_buffer):
2480 * eval.c (call2_in_buffer):
2481 * eval.c (call1_in_buffer):
2482 * eval.c (call0_in_buffer):
2483 * eval.c (run_hook):
2484 * eval.c (run_hook_with_args_in_buffer):
2487 * eval.c (do_autoload):
2488 * eval.c (un_autoload):
2489 * eval.c (Fautoload):
2490 * eval.c (Finteractive_p):
2491 * eval.c (Fcommand_execute):
2492 * eval.c (signal_quit):
2493 * eval.c (call_with_suspended_errors):
2494 * eval.c (signal_error):
2495 * eval.c (return_from_signal):
2496 * eval.c (Fcall_with_condition_handler):
2497 * eval.c (run_condition_case_handlers):
2498 * eval.c (condition_case_1):
2499 * eval.c (Funwind_protect):
2500 * eval.c (unwind_to_catch):
2501 * eval.c (internal_catch):
2502 * eval.c (Fmacroexpand_internal):
2503 * eval.c (Fuser_variable_p):
2504 * eval.c (Fdefconst):
2506 * eval.c (Ffunction):
2507 * eval.c (signal_call_debugger):
2508 * eval.c (call_debugger):
2511 * emacs.c (sort_args):
2515 * editfns.c (Fencode_time):
2516 * editfns.c (Fdecode_time):
2517 * editfns.c (Fuser_full_name):
2519 * editfns.c (save_excursion_restore):
2522 * doprnt.c (emacs_doprnt_1):
2523 * doc.c (verify_doc_mapper):
2524 * doc.c (Fsnarf_documentation):
2525 * doc.c (Fdocumentation):
2527 * dired.c (user_name_completion):
2528 * dired.c (Fdirectory_files):
2531 * dgif_lib.c (FreeSavedImages):
2532 * dgif_lib.c (DGifGetImageDesc):
2534 * device.h (struct device):
2535 * device.c (Fselect_device):
2536 * device.c (allocate_device):
2538 * device-x.c (Fx_keysym_on_keyboard_p):
2539 * device-x.c (Fx_valid_keysym_name_p):
2540 * device-x.c (x_IO_error_handler):
2541 * device-x.c (x_delete_device):
2542 * device-x.c (x_finish_init_device):
2543 * device-x.c (x_init_device):
2545 * device-msw.c (mswindows_init_device):
2547 * database.c (vars_of_database):
2548 * database.c (Fput_database):
2549 * database.c (Fopen_database):
2550 * database.c (berkdb_remove):
2551 * database.c (berkdb_put):
2552 * database.c (Fdatabasep):
2553 * database.c (print_database):
2555 * data.c (vars_of_data):
2556 * data.c (syms_of_data):
2557 * data.c (init_errors_once_early):
2558 * data.c (prune_weak_lists):
2559 * data.c (finish_marking_weak_lists):
2560 * data.c (print_weak_list):
2562 * data.c (Fstring_to_number):
2563 * data.c (Fnumber_to_string):
2564 * data.c (Findirect_function):
2567 * data.c (Fsubr_interactive):
2569 * data.c (Fkeywordp):
2572 * console.h (CONSOLE_NAME):
2574 * console.c (vars_of_console):
2575 * console.c (Fselect_console):
2577 * console-x.h (DEVICE_X_COLORMAP):
2578 * console-x.h (struct x_device):
2579 * console-x.c (x_device_to_console_connection):
2580 * console-tty.h (CONSOLE_TTY_FINAL_CURSOR_Y):
2581 * console-tty.c (tty_init_console):
2583 * console-msw.h (struct mswindows_frame):
2586 * cmds.c (internal_self_insert):
2587 * cmds.c (Fforward_line):
2588 * cmds.c (Fforward_char):
2591 * chartab.c (mark_char_table_entry):
2593 * casefiddle.c (casify_word):
2594 * callproc.c (child_setup):
2595 * callproc.c (Fcall_process_internal):
2597 * callint.c (Fcall_interactively):
2599 * bytecode.c (execute_rare_opcode):
2600 * bytecode.c (execute_optimized_program):
2603 * buffer.h (BUFFER_REALLOC):
2604 * buffer.h (GET_CHARPTR_INT_DATA_ALLOCA):
2605 * buffer.h (GET_CHARPTR_EXT_DATA_ALLOCA):
2607 * buffer.h (MAP_INDIRECT_BUFFERS):
2608 * buffer.h (CHECK_LIVE_BUFFER):
2609 * buffer.c (init_initial_directory):
2610 * buffer.c (complex_vars_of_buffer):
2611 * buffer.c (vars_of_buffer):
2612 * buffer.c (finish_init_buffer):
2613 * buffer.c (Fget_file_buffer):
2614 * buffer.c (Fbuffer_list):
2615 * buffer.c (mark_buffer):
2616 * balloon_help.c (balloon_help_move_to_pointer):
2617 * balloon_help.c (show_help):
2620 * alloc.c (garbage_collect_1):
2621 * alloc.c (sweep_strings):
2622 * alloc.c (sweep_compiled_functions):
2623 * alloc.c (sweep_bit_vectors_1):
2624 * alloc.c (sweep_vectors_1):
2625 * alloc.c (sweep_lcrecords_1):
2626 * alloc.c (tick_lcrecord_stats):
2627 * alloc.c (pure_string_sizeof):
2628 * alloc.c (mark_conses_in_list):
2629 * alloc.c (mark_object):
2630 * alloc.c (report_pure_usage):
2631 * alloc.c (make_pure_float):
2632 * alloc.c (make_pure_string):
2633 * alloc.c (free_managed_lcrecord):
2634 * alloc.c (mark_string):
2635 * alloc.c (noseeum_make_marker):
2636 * alloc.c (allocate_event):
2637 * alloc.c (Fbit_vector):
2638 * alloc.c (Fvector):
2639 * alloc.c (make_float):
2640 * alloc.c (Fmake_list):
2642 * alloc.c (FREE_FIXED_TYPE_WHEN_NOT_IN_GC):
2643 * alloc.c (PUT_FIXED_TYPE_ON_FREE_LIST):
2644 * alloc.c (DECLARE_FIXED_TYPE_ALLOC):
2645 * alloc.c (dbg_constants):
2646 * alloc.c (gc_record_type_p):
2647 * alloc.c (free_lcrecord):
2648 * alloc.c (xmalloc):
2649 * alloc.c (NOSEEUM_INCREMENT_CONS_COUNTER):
2651 * Makefile.in.in (mostlyclean):
2652 * Makefile.in.in (external_client_xlib_objs_nonshared):
2653 * Makefile.in.in (temacs_link_args):
2654 * Makefile.in.in (release):
2655 * Makefile.in.in (dnd_objs):
2656 * Makefile.in.in (objs):
2657 * Makefile.in.in (PROGNAME):
2658 * EmacsShell.c: cast strings to (XtPointer)
2659 * EmacsFrame.c: cast strings to (XtPointer)
2661 - rewrite basic lisp functions for speed
2662 - rewrite bytecode interpreter for speed
2663 - rewrite list looping constructs for speed and safety using
2665 - use size_t where appropriate.
2666 - new hashtable implementation
2667 - cleanup implementation of opaques
2668 - opaques can now be purecopy'ed
2669 - move some cl functionality into C for speed.
2670 - remove last remaining VMS support
2672 - improve gdb/dbx debugger support
2673 - move pure.c back into alloc.c for performance
2674 - enable report_pure_usage() if --memory-usage-stats
2675 - remove remnants of Energize support (EMACS_BTL, cadillac...)
2676 - don't use symbols with leading `_' or embedded `__'
2677 - globally cleanup duplicated semicolons `;;'
2678 - I give in on %p vs %lx - we use printf("%lx",(long) p)
2680 - globally replace O_NDELAY with O_NONBLOCK.
2681 - globally replace CDISABLE with _POSIX_VDISABLE.
2682 - use O_RDONLY and O_RDWR instead of magic `0' and `2'.
2683 - define (and maybe use!) STDERR_FILENO and friends.
2684 - add support for macros defined in C
2685 - `when', `unless', `not' and `defalias' now defined in C,
2686 so that they are universally available.
2687 - rename defvar_mumble to defvar_magic
2688 - rename RETURN__ to RETURN_SANS_WARNINGS
2689 - use consistent style of initial caps in error messages
2690 - implement last, butlast, nbutlast, copy-list in C.
2691 - provide typedefs for all struct Lisp_foo types
2692 - Lisp_Objects must be initialized to Qnil rather than 0.
2693 - make sure XEmacs runs (slowly) with always_gc == 1;
2694 - fast and safe LOOP_* macros
2695 - change calls to XSETOBJ to XSETFOO
2696 - replace calls to XSETINT by make_int()
2697 - plug up memory leaks
2698 - use style markobj (foo), not silly ((markobj) (foo))
2699 - use XFLOAT_DATA (obj) instead of float_data (XFLOAT (obj))
2701 1998-12-02 P. E. Jareth Hein <jareth@camelot.co.jp>
2703 * unexec.c: Changed a #ifndef statement to fix XEmacs on BSDI 3.0
2705 1998-11-28 SL Baur <steve@altair.xemacs.org>
2707 * XEmacs 21.2-beta4 is released.
2709 1998-11-27 SL Baur <steve@altair.xemacs.org>
2711 * mule-charset.c (complex_vars_of_mule_charset): Fix graphic
2712 property in control-1 charset.
2713 From Julian Bradfield <jcb@daimi.au.dk>
2715 1998-11-26 Jan Vroonhof <vroonhof@math.ethz.ch>
2717 * gui-x.c (button_item_to_widget_value): Ignore :key-sequence
2719 Add stub for :label.
2721 * gui.c (gui_item_add_keyval_pair): ditto.
2723 * menubar-x.c (menu_item_descriptor_to_widget_value_1): Ignore
2724 :key-sequence keyword.
2726 Support :active for submenus like the Windows code and FSF Emacs.
2728 1998-11-27 Hrvoje Niksic <hniksic@srce.hr>
2730 * dired.c (make_directory_hash_table): make_string() is OK because
2731 readdir() Mule-encapsulates.
2733 1998-11-26 Hrvoje Niksic <hniksic@srce.hr>
2735 * fns.c (Fbase64_encode_string): Fix docstring.
2736 (Fbase64_decode_string): Ditto.
2738 1998-11-26 Hrvoje Niksic <hniksic@srce.hr>
2740 * editfns.c (Ftranslate_region): Use
2741 convert_bufbyte_string_into_emchar_string().
2743 1998-11-25 Hrvoje Niksic <hniksic@srce.hr>
2745 * editfns.c (Ftranslate_region): Accept vectors and char-tables as
2747 (Ftranslate_region): Turn table into an array of Emchars for
2750 1998-11-25 Hrvoje Niksic <hniksic@srce.hr>
2752 * chartab.c (Freset_char_table): Fix wrong placement of #endif.
2754 1998-11-24 Hrvoje Niksic <hniksic@srce.hr>
2756 * chartab.c (Freset_char_table): Don't blindly fill chartables of
2757 type `char' with nils.
2759 * chartab.c (canonicalize_char_table_value): Coerce ints to chars
2760 for tables of type `char'.
2762 1998-11-26 Didier Verna <verna@inf.enst.fr>
2764 * input-method-xlib.c (Initialize_Locale): don't call
2765 XtSetLanguageProc. We've done the whole work here.
2766 * input-method-xfs.c (Initialize_Locale): ditto.
2767 * input-method-motif.c (Initialize_Locale): ditto.
2769 1998-11-26 Didier Verna <verna@inf.enst.fr>
2771 * process-unix.c (unix_create_process): handle properly
2772 Vfile_name_coding_system for converting the program and directory
2775 1998-11-27 SL Baur <steve@altair.xemacs.org>
2777 * m/arm.h: New file.
2778 From James LewisMoss <dres@ioa.com>
2780 1998-11-27 Takeshi Hagiwara <hagiwara@ie.niigata-u.ac.jp>
2783 Fix the realpath() problem of UnixWare2.1.3.
2784 Patches for NEC's sysv4.2 machine.
2786 1998-11-25 Hrvoje Niksic <hniksic@srce.hr>
2788 * dired.c (Fdirectory_files): Remove redundant code.
2790 1998-11-25 Hrvoje Niksic <hniksic@srce.hr>
2792 * fns.c (free_malloced_ptr): New function.
2793 (XMALLOC_OR_ALLOCA): New macro.
2794 (XMALLOC_UNBIND): Ditto.
2795 (Fbase64_encode_region): Use malloc() for large blocks; arrange it
2796 to be freed in case of non-local exit.
2797 (Fbase64_encode_string): Ditto.
2798 (Fbase64_decode_region): Ditto.
2799 (Fbase64_decode_string): Ditto.
2800 (STORE_BYTE): New macro.
2801 (base64_decode_1): Use it.
2803 1998-11-25 Hrvoje Niksic <hniksic@srce.hr>
2805 * fns.c (base64_value_to_char): Base64 stuff.
2807 1998-11-24 Hrvoje Niksic <hniksic@srce.hr>
2809 * editfns.c (Fbuffer_substring): New function.
2811 * lisp.h: Declare make_string_from_buffer_no_extents().
2813 * insdel.c (make_string_from_buffer_1): New function.
2814 (make_string_from_buffer_no_extents): Ditto.
2816 1998-11-15 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
2818 * linuxplay.c: Including <fcntl.h> instead of <sys/fcntl.h> makes
2819 sound work on AIX with OSS installed. Linux should still work.
2821 1998-11-03 Andy Piper <andyp@parallax.co.uk>
2823 * config.h.in: name change for cygwin/version.h
2825 * configure.in: check for cygwin/version.h now.
2827 * cygwin32.h: track CYGWIN_DLL_VERSION_MAJOR ->
2828 CYGWIN_VERSION_DLL_MAJOR name change in cygwin b20.
2829 move cygwin32/version.h to cygwin/version.h
2831 1998-11-03 Olivier Galibert <galibert@pobox.com>
2833 * lisp.h (struct Lisp_Bit_Vector): Fix declaration of bits from
2836 1998-10-22 Andy Piper <andyp@parallax.co.uk>
2838 * cygwin32.h: track CYGWIN_DLL_VERSION_MAJOR ->
2839 CYGWIN_VERSION_DLL_MAJOR name change in cygwin b20.
2840 enable BROKEN_SIGIO under b20 to make QUIT work.
2842 1998-10-22 Andy Piper <andyp@parallax.co.uk>
2844 * frame-msw.c (mswindows_size_frame_internal): force frame sizing
2845 to fit within the constraints of the screen size. I.e. make the
2846 frame small enough to fit and move it if some of it will be
2849 1998-10-19 Greg Klanderman <greg@alphatech.com>
2851 * dired.c: conditionalize inclusion of user-name-completion
2852 primitives on non-Windows NT. The needed functions don't exist on NT.
2854 1998-11-24 SL Baur <steve@altair.xemacs.org>
2856 * gifrlib.h: Clean up types for 64 bit compile.
2857 * dgif_lib.c (DGifInitRead): Ditto.
2858 (MakeSavedImage): Ditto.
2859 * emacs.c (decode_path): Ditto.
2860 From Steve Carney <carney@pa.dec.com>
2862 1998-10-16 William M. Perry <wmperry@aventail.com>
2864 * glyphs-msw.c (bitmap_table): Fixed typo in builtin bitmaps
2865 (cehckboxes instead of checkboxes).
2867 1998-10-15 SL Baur <steve@altair.xemacs.org>
2869 * XEmacs 21.2-beta3 is released.
2871 1998-10-13 Raymond Toy <toy@rtp.ericsson.se>
2873 * runemacs.c (WinMain): If the basename is "rungnuclient.exe", run
2874 gnuclient. Otherwise, we run xemacs as we always did. This gets
2875 rid of the annoying DOS window when running gnuclient.
2877 1998-10-13 Andy Piper <andyp@parallax.co.uk>
2879 * dragdrop.c (vars_of_dragdrop): rename HAVE_MSWINDOWS ->
2880 HAVE_MS_WINDOWS typo.
2882 1998-10-13 SL Baur <steve@altair.xemacs.org>
2884 * process-unix.c (unix_send_process): Set closed flag on writable
2885 pipe after SIGPIPE is received and before we call deactivate_process.
2887 1998-10-03 Gunnar Evermann <ge204@eng.cam.ac.uk>
2889 * window.c (Fset_window_start): respect narrowing when
2890 checking wheter start is at the beginning of a line.
2891 (Fset_window_buffer): Ditto
2892 Fixes repeatable crash in VM.
2894 1998-10-09 SL Baur <steve@altair.xemacs.org>
2896 * window.c (specifier_vars_of_window): Set default vertical
2897 divider width to 1 on ttys.
2899 1998-10-08 Martin Buchholz <martin@xemacs.org>
2904 Add <stddef.h> to get ptrdiff_t declaration
2906 1998-10-07 Jonathan Harris <jhar@tardis.ed.ac.uk>
2908 * scrollbar-msw.c: Use the same vertical scrollbar drag hack as
2909 is used for Motif or Lucid scrollbars under X.
2911 1998-10-08 Pierre Wendling <pw@ebc.vbe.dec.com>
2913 * m/alpha.h (UNEXEC): quoted to avoid bad expansion when running
2916 1998-10-06 Takeshi Hagiwara <hagiwara@ie.niigata-u.ac.jp>
2918 * frame-x.c (x_delete_frame): Fix an argument of XtDestroyWidget.
2920 1998-10-05 Andy Piper <andyp@parallax.co.uk>
2922 * s/cygwin32.h: more cygwin b20 reorganisation.
2924 1998-10-01 Raymond Toy <toy@rtp.ericsson.se>
2926 * nas.c: Added necessary support functions to be able to handle
2927 WAVE files in memory, just like the support for SND files in
2930 1998-09-30 SL Baur <steve@altair.xemacs.org>
2932 * callproc.c (child_setup): Fix spelling typo.
2934 1998-09-29 SL Baur <steve@altair.xemacs.org>
2936 * XEmacs 21.2-beta2 is released.
2938 1998-09-27 P. E. Jareth Hein <jareth@camelot.co.jp>
2940 * regex.c (re_match_2_internal): Add in code to reset lowest_active_reg
2941 to prevent memory corruption in the case of jumping out of a series of
2942 nested match patterns. This is a rather brute force approach, though.
2944 1998-09-02 Andy Piper <andyp@parallax.co.uk>
2946 * config.h.in: ditto.
2948 * s/cygwin32.h: rearrange declarations to cope with cygwin
2949 b20. Include cygwin32/version.h if it exists.
2951 1998-09-20 Jonathan Harris <jhar@tardis.ed.ac.uk>
2953 * device-msw.c (mswindows_init_device): Call new
2954 mswindows_enumerate_fonts() function in objects-msw.c instead
2955 of font_enum_callback_1() to enumerate fonts.
2957 font_enum_callback_1() and _2() moved to objects-msw.c.
2959 * faces.c (complex_vars_of_faces): Make the mswindows default
2960 face font fully specified and provide some fallbacks.
2962 * objects-msw.c: font_enum_callback_1() and _2() moved here
2963 from objects-msw.c. Obtain the enumerated font's character
2964 sets by table lookup instead of using the locale-specific
2965 string provided by Windows.
2967 New public non-method mswindows_enumerate_fonts() that fills
2968 in the supplied mswindows device's font list.
2970 mswindows_initialize_font_instance: Use the supplied name
2971 variable instead of f->name when signalling errors. Match font
2972 weights and character sets using lookup tables which handle
2973 spaces instead of by frobbing.
2975 1998-09-20 Jonathan Harris <jhar@tardis.ed.ac.uk>
2977 * process-nt.c: Define an arbitrary limit, FRAGMENT_CODE_SIZE,
2978 on the size of code fragments passed to run_in_other_process.
2980 run_in_other_process(): Use FRAGMENT_CODE_SIZE to determine
2981 the amount of memory to allocate in the other process.
2983 Removed sigkill_code_end(), sigint_code_end() and
2984 sig_enable_code_end() since they are now redundant.
2986 send_signal() and enable_child_signals(): Don't try to work
2987 out the end of the code fragments passed to
2988 run_in_other_process()
2990 1998-09-10 Kazuyuki IENAGA <ienaga@jsys.co.jp>
2992 * src/s/freebsd.h: Added __ELF__ and compiler/liker flags for
2995 * src/unexelf.c: Partially synched with FSF's 20.3.
2997 1998-09-10 Hrvoje Niksic <hniksic@srce.hr>
2999 * insdel.c (signal_after_change): Map across indirect buffers
3000 here, and not in the upper-level functions.
3001 (signal_first_change): Don't check for Armageddon.
3002 (signal_before_change): Map across indirect buffers here.
3003 (prepare_to_modify_buffer): ...and here.
3005 1998-09-09 Hrvoje Niksic <hniksic@srce.hr>
3007 * insdel.c (signal_after_change): Add return value.
3008 (buffer_insert_string_1): Use it.
3009 (buffer_delete_range): Ditto.
3010 (buffer_replace_char): Ditto.
3011 (cancel_multiple_change): Map the indirect buffers.
3013 1998-09-06 Hrvoje Niksic <hniksic@srce.hr>
3015 * insdel.c (init_buffer_text): Remove INDIRECT_P parameter.
3016 (uninit_buffer_text): Ditto.
3018 * buffer.c (Fmake_indirect_buffer): Implement stricter
3021 1998-09-04 Hrvoje Niksic <hniksic@srce.hr>
3023 * insdel.c (change_function_restore): Reverse order of
3024 function-call and assignment.
3025 (first_change_hook_restore): Ditto.
3027 * extents.c (mark_extent_auxiliary): Mark them.
3028 (Fset_extent_property): Set them.
3029 (Fextent_property): Get them.
3030 (Fextent_properties): Ditto.
3031 (vars_of_extents): Set their default.
3033 * extents.h (struct extent_auxiliary): Add before_change_functions
3034 and after_change_functions.
3036 * insdel.c (signal_before_change): Use it.
3037 (signal_after_change): Ditto.
3039 * extents.c (report_extent_modification): New function.
3041 * insdel.c (signal_before_change): Don't check for Armageddon.
3042 (signal_after_change): Ditto.
3044 1998-09-11 Gunnar Evermann <Gunnar.Evermann@nats.informatik.uni-hamburg.de>
3046 * redisplay.c (redisplay_window): make sure a new starting point
3047 is chosen if it somehow got moved from the beginning of the line
3048 -- this can happen because Fwiden was called recently.
3050 * window.c (Fset_window_start): set start_at_line_beg correctly
3051 (Fset_window_buffer): Ditto
3053 1998-09-06 Hrvoje Niksic <hniksic@srce.hr>
3055 * insdel.c (init_buffer_text): Remove INDIRECT_P parameter.
3056 (uninit_buffer_text): Ditto.
3058 * buffer.c (Fmake_indirect_buffer): Implement stricter
3061 1998-05-14 Jan Vroonhof <vroonhof@math.ethz.ch>
3063 * emacs.c (main_1): Removed references to *vars_of_filelock.
3065 * lisp.h: Added Fsystem_name.
3067 * filelock.c: Replaced by version from FSF 20.2. Now implements
3068 locking by using symlinks which is NFS safe. However keep the
3069 GCPRO's in lock_file and the calls to callx_in_buffer like our old
3070 version (and of course use ansi C, acessor macros, etc).
3072 1998-09-06 Jan Vroonhof <vroonhof@math.ethz.ch>
3074 * process-unix.c (unix_create_process): Reset SIGHUP handler to
3075 SIG_DFL. We now try to conserve any inherted SIG_IGN settings
3076 in init_signals_very_early. However these should not be passed
3077 on to children attached to the new pty.
3079 1998-08-28 Andy Piper <andyp@parallax.co.uk>
3081 * glyphs-eimage.c (png_instantiate_unwind): clean up eimage after use.
3083 1998-09-07 Jonathan Harris <jhar@tardis.ed.ac.uk>
3085 * fileio.c (file-name-directory, file_name_as_directory):
3086 Don't call CORRECT_DIR_SEPS, even when #defined WINDOWSNT.
3088 1998-09-02 Andy Piper <andyp@parallax.co.uk>
3090 * emacs.c (main_1): init_ralloc() if initialised and we have REL_ALLOC
3092 * ralloc.c: uncomment __morecore.
3094 1998-09-92 Jonathan Harris <jhar@tardis.ed.ac.uk>
3096 * event-msw.c(winsock_writer): Supply a dummy 4th argument to
3097 WriteFile() to fix a winsock 1.x bug on Win95.
3099 1998-08-28 Hrvoje Niksic <hniksic@srce.hr>
3101 * event-Xt.c (emacs_Xt_mapping_action): Check for device being
3103 (x_event_to_emacs_event): Ditto.
3104 (emacs_Xt_handle_focus_event): Ditto.
3105 (emacs_Xt_handle_magic_event): Ditto.
3107 * console-x.h (struct x_device): New flag being_deleted.
3108 (DEVICE_X_BEING_DELETED): New macro.
3110 * device-x.c (x_IO_error_handler): Throw to top-level instead of
3111 returning. Before doing that, set the being_deleted flag on the
3114 1998-08-27 Hrvoje Niksic <hniksic@srce.hr>
3116 * device-x.c (x-seppuku-on-epipe): Removed.
3118 1998-08-26 Gunnar Evermann <Gunnar.Evermann@nats.informatik.uni-hamburg.de>
3120 * frame-x.c (x_delete_frame): Flush the X output buffer after
3121 calling XtDestroyWidget to ensure that the windows are really
3124 1998-08-26 Hrvoje Niksic <hniksic@srce.hr>
3126 * menubar-x.c (my_run_hook): New unused function.
3127 (pre_activate_callback): Use run_hook for Qactivate_menubar_hook,
3128 since we ignore the results of the contained functions anyway.
3130 1998-08-26 P. E. Jareth Hein <jareth@camelot.co.jp>
3132 * glyphs-eimage.c (gif_instantiate): Fix a crash in handling
3133 interlaced GIF files that are smaller than 4 lines high...
3135 1998-08-31 Hrvoje Niksic <hniksic@srce.hr>
3137 * buffer.c (map_over_sharing_buffers): Deleted.
3139 * insdel.c (MAP_INDIRECT_BUFFERS): Move to buffer.h.
3141 * buffer.c (Fkill_buffer): Keep indirect_children updated while
3144 1998-08-31 Hrvoje Niksic <hniksic@srce.hr>
3146 * insdel.c (buffer_insert_string_1): Advance the point bytind in
3148 (buffer_delete_range): Ditto.
3150 * marker.c (init_buffer_markers): Set point-marker to the value of
3151 point in an indirect buffer.
3153 1998-08-30 Hrvoje Niksic <hniksic@srce.hr>
3155 * undo.c (undo_prelude): Test last-undo-buffer against base
3158 * insdel.c (MAP_INDIRECT_BUFFERS): Use it.
3160 * buffer.h (BUFFER_BASE_BUFFER): New macro.
3162 1998-08-30 Hrvoje Niksic <hniksic@srce.hr>
3164 * insdel.c (init_buffer_text): Initialize it here.
3166 * line-number.c: Address line_number_cache through buffer->text.
3168 * buffer.c (mark_buffer): Mark line number cache.
3170 * bufslots.h (line_number_cache): Move to struct buffer_text.
3172 * insdel.c (buffer_insert_string_1): Propagate signals and changes
3173 across the children buffers.
3174 (buffer_delete_range): Ditto.
3175 (buffer_replace_char): Ditto.
3179 * insdel.c (MAP_INDIRECT_BUFFERS): New macro.
3181 * buffer.c (Fmake_indirect_buffer): Uncomment.
3183 1998-08-31 Hrvoje Niksic <hniksic@srce.hr>
3185 * macros.c (Fend_kbd_macro): Remove trailing period from error
3187 (Fexecute_kbd_macro): Ditto.
3189 1998-08-21 Greg Klanderman <greg@alphatech.com>
3191 * dired.c (Fuser_name_completion): remove optional 2nd argument.
3192 (Fuser_name_completion_1): new function to return uniqueness
3193 indication in addition to the user name completion.
3194 (user_name_completion): change type of `uniq' argument.
3196 1998-08-19 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
3198 * lread.c (vars_of_lread): Removed `source-directory' variable.
3200 1998-08-22 Hrvoje Niksic <hniksic@srce.hr>
3202 * fileio.c (Ffile_readable_p): Apply the DOS/Windows logic to
3205 1998-08-19 SL Baur <steve@altair.xemacs.org>
3207 * dired.c (vars_of_dired): Fix misapplied patch.
3209 1998-08-16 Martin Buchholz <martin@xemacs.org>
3211 * fns.c (Fremrassq, remrassq_no_quit):
3212 A XCAR that should have been an XCDR turned Fremrassq into Fremassq
3214 1998-07-17 Didier Verna <verna@inf.enst.fr>
3216 * redisplay-x.c (x_get_gc): returns a GC with a FillStipple fill
3217 style as foreground GC for faces that have the `dim' property.
3218 (x_output_string): when the `dim' face property is set,
3219 ensure the gray pixmap has been created, and get a proper
3220 foreground GC to draw the text.
3222 1998-08-09 Jonathan Harris <jhar@tardis.ed.ac.uk>
3224 * event-msw.c (mswindows_wnd_proc): Workaround for a Win95 bug:
3225 Manually track the state of the left and right Ctrl and Alt
3228 1998-08-07 Matt Stupple <matts@tibco.com>
3230 * ntproc.c: don't wait on char_consumed at thread entry.
3231 Additionally, to get the 'process' marked as finished, ensure
3232 that the CHILD_ACTIVE macro returns false, so before exiting
3233 close char_avail and set it to NULL, and close other handles
3234 to reduce handle leak problems.
3236 1998-08-09 Jonathan Harris <jhar@tardis.ed.ac.uk>
3238 * menubar-msw.c (displayable_menu_item): take account of menu
3239 depth when deciding whether to try to display accelerators.
3241 1998-08-04 Andy Piper <andyp@parallax.co.uk>
3243 * event-msw.c: use MsgWaitForMultipleObjects if there are no
3246 * glyphs-msw.c: fix a couple of potential handle leaks.
3248 1998-08-04 P. E. Jareth Hein <jareth@camelot.co.jp>
3250 * dgif_lib.c gif_io.c gifrlib.h: New files to put GIF
3251 *decoding ONLY* back into the core.
3252 * glyphs-eimage.c: Change referenced header file for GIF
3253 reading to point to the incore version.
3255 1998-07-20 Martin Buchholz <martin@xemacs.org>
3257 * casefiddle.c (casify_object):
3258 Change algorithm from O(N**2) to O(N).
3262 1998-07-22 Greg Klanderman <greg@alphatech.com>
3264 * dired.c (file_name_completion_unwind): don't leak the cons.
3266 1998-07-20 Greg Klanderman <greg@alphatech.com>
3268 * dired.c (Fuser_name_completion): new function.
3269 (Fuser_name_all_completions): new function.
3270 (user_name_completion): new function.
3271 (syms_of_dired): 2 new DEFSUBRs.
3272 (vars_of_dired): initialize user name cache vars.
3274 1998-07-29 P. E. Jareth Hein <jareth@camelot.co.jp>
3276 * glyphs-eimage.c (png_instantiate): Add proper handling for background
3277 colors taken from the default face. Also correct a thinko in
3278 transparency (not alpha) handling.
3280 1998-07-23 Martin Buchholz <martin@xemacs.org>
3282 * s/decosf4-0.h: Use a perfectly ordinary link. Nuke BSD crap.
3283 * unexalpha.c: ANSI C-ize. Clean compiler warnings.
3284 * lread.c (Fload_internal): Be very careful with printfs of
3286 * gui-x.c (menu_name_to_accelerator): tolower wants an `int'
3289 1998-07-27 Gunnar Evermann <Gunnar.Evermann@nats.informatik.uni-hamburg.de>
3291 * callint.c (Fcall_interactively): GCPRO prompt string before
3292 passing it to Fread_key_sequence
3294 1998-07-27 SL Baur <steve@altair.xemacs.org>
3296 * keymap.c (vars_of_keymap): Initialize Vkey_translation_map and
3297 Vvertical_divider_map.
3299 * mule-canna.c (vars_of_mule_canna): Initialize every symbol to
3300 Qnil or 0, none were initialized prior to this change.
3302 Rename misnamed `V' prefixed integer variables:
3303 Vcanna_empty_info, Vcanna_through_info, Vcanna_underline,
3304 Vcanna_inhibit_hankakukana, Vcanna_henkan_length, Vcanna_henkan_revPos,
3305 Vcanna_henkan_revLen, Vcanna_ichiran_length, Vcanna_ichiran_revPos,
3306 Vcanna_ichiran_revLen.
3308 Rename misnamed `V' prefixed integer variables and initialize
3309 properly in the vars_of routine.
3310 Vcanna_mode_AlphaMode, Vcanna_mode_EmptyMode, Vcanna_mode_KigoMode,
3311 Vcanna_mode_YomiMode, Vcanna_mode_JishuMode, Vcanna_mode_TankouhoMode,
3312 Vcanna_mode_IchiranMode, Vcanna_mode_YesNoMode, Vcanna_mode_OnOffMode,
3313 Vcanna_mode_AdjustBunsetsuMode, Vcanna_mode_ChikujiYomiMode,
3314 Vcanna_mode_ChikujiTanMode, Vcanna_mode_HenkanMode,
3315 Vcanna_mode_HenkanNyuryokuMode, Vcanna_mode_ZenHiraHenkanMode,
3316 Vcanna_mode_HanHiraHenkanMode, Vcanna_mode_ZenKataHenkanMode,
3317 Vcanna_mode_HanKataHenkanMode, Vcanna_mode_HanKataHenkanMode,
3318 Vcanna_mode_ZenAlphaHenkanMode, Vcanna_mode_HanAlphaHenkanMode,
3319 Vcanna_mode_ZenHiraKakuteiMode, Vcanna_mode_HanHiraKakuteiMode,
3320 Vcanna_mode_ZenKataKakuteiMode, Vcanna_mode_HanKataKakuteiMode,
3321 Vcanna_mode_ZenAlphaKakuteiMode, Vcanna_mode_HanAlphaKakuteiMode,
3322 Vcanna_mode_HexMode, Vcanna_mode_BushuMode, Vcanna_mode_ExtendMode,
3323 Vcanna_mode_RussianMode, Vcanna_mode_GreekMode, Vcanna_mode_LineMode,
3324 Vcanna_mode_ChangingServerMode, Vcanna_mode_HenkanMethodMode,
3325 Vcanna_mode_DeleteDicMode, Vcanna_mode_TourokuMode,
3326 Vcanna_mode_TourokuEmptyMode, Vcanna_mode_TourokuHinshiMode,
3327 Vcanna_mode_TourokuDicMode, Vcanna_mode_QuotedInsertMode,
3328 Vcanna_mode_BubunMuhenkanMode, Vcanna_mode_MountDicMode,
3329 Vcanna_fn_SelfInsert, Vcanna_fn_FunctionalInsert,
3330 Vcanna_fn_QuotedInsert, Vcanna_fn_JapaneseMode, Vcanna_fn_AlphaMode,
3331 Vcanna_fn_HenkanNyuryokuMode, Vcanna_fn_Forward, Vcanna_fn_Backward,
3332 Vcanna_fn_Next, Vcanna_fn_Prev, Vcanna_fn_BeginningOfLine,
3333 Vcanna_fn_EndOfLine, Vcanna_fn_DeleteNext, Vcanna_fn_DeletePrevious,
3334 Vcanna_fn_KillToEndOfLine, Vcanna_fn_Henkan, Vcanna_fn_Kakutei,
3335 Vcanna_fn_Extend, Vcanna_fn_Shrink, Vcanna_fn_AdjustBunsetsu,
3336 Vcanna_fn_Quit, Vcanna_fn_ConvertAsHex, Vcanna_fn_ConvertAsBushu,
3337 Vcanna_fn_KouhoIchiran, Vcanna_fn_BubunMuhenkan, Vcanna_fn_Zenkaku,
3338 Vcanna_fn_Hankaku, Vcanna_fn_ExtendMode, Vcanna_fn_ToUpper,
3339 Vcanna_fn_Capitalize, Vcanna_fn_ToLower, Vcanna_fn_Hiragana,
3340 Vcanna_fn_Katakana, Vcanna_fn_Romaji, Vcanna_fn_BaseHiragana,
3341 Vcanna_fn_BaseKatakana, Vcanna_fn_BaseEisu, Vcanna_fn_BaseZenkaku,
3342 Vcanna_fn_BaseHankaku, Vcanna_fn_BaseKana, Vcanna_fn_BaseKakutei,
3343 Vcanna_fn_BaseHenkan, Vcanna_fn_BaseHiraKataToggle,
3344 Vcanna_fn_BaseZenHanToggle, Vcanna_fn_BaseKanaEisuToggle,
3345 Vcanna_fn_BaseKakuteiHenkanToggle, Vcanna_fn_BaseRotateForward,
3346 Vcanna_fn_BaseRotateBackward, Vcanna_fn_Touroku, Vcanna_fn_HexMode,
3347 Vcanna_fn_BushuMode, Vcanna_fn_KigouMode, Vcanna_fn_Mark,
3348 Vcanna_fn_TemporalMode, Vcanna_key_Nfer, Vcanna_key_Xfer,
3349 Vcanna_key_Up, Vcanna_key_Left, Vcanna_key_Right, Vcanna_key_Down,
3350 Vcanna_key_Insert, Vcanna_key_Rollup, Vcanna_key_Rolldown,
3351 Vcanna_key_Home, Vcanna_key_Help, Vcanna_key_KP_Key,
3352 Vcanna_key_Shift_Nfer, Vcanna_key_Shift_Xfer, Vcanna_key_Shift_Up,
3353 Vcanna_key_Shift_Left, Vcanna_key_Shift_Right, Vcanna_key_Shift_Down,
3354 Vcanna_key_Cntrl_Nfer, Vcanna_key_Cntrl_Xfer, Vcanna_key_Cntrl_Up,
3355 Vcanna_key_Cntrl_Left, Vcanna_key_Cntrl_Right, Vcanna_key_Cntrl_Down
3357 1998-07-16 Jan Vroonhof <vroonhof@math.ethz.ch>
3359 * event-Xt.c (x_to_emacs_keysym): Return nil for modifier keysyms.
3360 (x_event_to_emacs_event): Let x_to_emacs_keysym check for modifier
3361 keys thus no longer considering all keysyms on a key.
3363 1998-07-19 SL Baur <steve@altair.xemacs.org>
3365 * XEmacs 21.2-beta1 is released.
3367 1998-07-12 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
3369 * eldap.c (Fldap_search_internal): When converting the list of
3370 attributes to search Copy the final 0 from Lisp strings to C
3372 Check base, not Vldap_default_base as a a string
3374 1998-07-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
3376 * nt.c: Remove Vstdio_str; already defined in console-stream.c.
3378 * unexnt.c: Unconditionally define bss_start and bss_size, and
3379 ensure that they don't go in the .bss section.
3381 1998-07-17 Olivier Galibert <galibert@pobox.com>
3383 * glyphs-x.c (convert_EImage_to_XImage): Fix previous patch (conv
3384 byte order is dependant of the local byte order).
3385 From Takeshi Hagiwara <hagiwara@ie.niigata-u.ac.jp>
3387 1998-07-18 SL Baur <steve@altair.xemacs.org>
3389 * glyphs-msw.c (mswindows_resource_normalize): Qresource ->
3390 Qmswindows_resource.
3391 From Jonathan Harris <jhar@tardis.ed.ac.uk>
3393 1998-07-12 SL Baur <steve@altair.xemacs.org>
3395 * general.c (syms_of_general): Add defsymbol for Qresource.
3397 * glyphs-msw.c (vars_of_glyphs_mswindows): Rename Qresource to
3398 Qmswindows_resource.
3399 (TopLevel): Rename 'resource image format to 'mswindows_resource.
3400 (mswindows_resource_validate): Rename.
3401 (mswindows_resource_normalize): Rename.
3402 (mswindows_resource_possible_dest_types): Rename.
3403 (mswindows_resource_instantiate): Rename.
3404 (image_instantiator_format_create_glyphs_mswindows): Replace
3405 `resource' with `mswindows.resource'.
3407 * XEmacs 21.0-pre5 is released.
3409 1998-07-10 SL Baur <steve@altair.xemacs.org>
3411 * mule-wnnfns.c (Fwnn_open): Correctly trap on misdefined Wnn
3412 server type in environment.
3413 Use alloca-ed strings instead of tiny fixed size ones.
3415 1998-07-09 SL Baur <steve@altair.xemacs.org>
3417 * XEmacs 21.0-pre4 is released.
3419 1998-07-01 James N. Potts <jnpotts@plutonium.net>
3421 * fileio.c: (expand_file_name): under win32: Don't treat names
3422 as UNC names if a drive letter has been specified. If a drive
3423 has been specified, strip out extra directory-seperators that
3424 reportedly cause problems under Win95.
3426 1998-07-09 Jonathan Harris <jhar@tardis.ed.ac.uk>
3428 * windowsnt.h: Define DUMP_SEPARATE_SECTION when building with
3429 MSVC >= 5.0. Put emacs init and zero-init data in a special
3430 section of the executable when this is defined.
3432 * unexnt.c, ntheap.h:
3433 Removed unused find_section() and get_section_size().
3436 Fix up the executable's checksum after dumping otherwise the
3438 When DUMP_SEPARATE_SECTION is defined, don't need to dump
3439 zero-init data separately from init data. Dump emacs data
3440 into a special section of the executable.
3441 When DUMP_SEPARATE_SECTION not defined, dump .bss up to
3442 my_ebss instead of up to the end of bss.
3444 1998-07-09 Jonathan Harris <jhar@tardis.ed.ac.uk>
3446 * filelock.c: Removed Vconfigure_lock_directory - already
3449 * frame-msw.c: Removed Qinitially_unmapped and Qpopup - already
3450 defined in frame.c and general.c respectively.
3452 * glyphs-msw.c: Removed Qresource - already defined in
3455 1998-07-05 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
3457 * eldap.c (Fldap_search_internal): Docstring fixes
3459 1998-07-04 Jonathan Harris <jhar@tardis.ed.ac.uk>
3461 * nt.c (init_environment): Removed unused PRELOAD_WINSOCK,
3462 EMACSDOC and TERM variables. Added EMACSDEBUGPATHS,
3463 EMACSPACKAGEPATH and INFOPATH variables.
3464 Removed unused get_emacs_configuration function.
3466 * s/windowsnt.h: Don't define EMACS_CONFIGURATION here because
3467 it is now defined at build-time by the makefile.
3469 1998-07-01 James N. Potts <jnpotts@plutonium.net>
3471 * fileio.c: (expand_file_name): under win32: Don't treat names as
3472 UNC names if a drive letter has been specified. If a drive has
3473 been specified, strip out extra directory-seperators that
3474 reportedly cause problems under Win95.
3476 1998-07-05 Andy Piper <andyp@parallax.co.uk>
3478 * faces.c (complex_vars_of_faces): for the gui-element face don't
3479 fallback to the default face, instead provide reasonable default
3480 fallbacks that were previously hardcoded elsewhere.
3482 1998-07-06 Olivier Galibert <galibert@pobox.com>
3484 * glyphs-x.c (convert_EImage_to_XImage): Fix pixel writing problem
3485 when the X server endianness is different than the client's one.
3487 1998-06-29 Kyle Jones <kyle_jones@wonderworks.com>
3489 * eval.c (run_hook_with_args_in_buffer): Check
3490 default (non-buffer-local) value of hook for
3491 nil before treating it as a function. Don't initialize
3492 the `globals' variable twice.
3494 1998-06-24 Jonathan Harris <jhar@tardis.ed.ac.uk>
3496 * fileio.c: Don't do directory seperator canonicalisation in
3497 substitute-in-file-name because we don't know that the
3498 filename refers to a local file.
3500 1998-06-24 Adrian Aichner <aichner@ecf.teradyne.com>
3502 * process-nt.c (nt_create_process): Try appending the standard
3503 executable file extensions to the filename if none supplied.
3505 1998-06-29 SL Baur <steve@altair.xemacs.org>
3507 * fileio.c (Fsubstitute_in_file_name): Enable double slash notation
3509 From Keisuke Mori <ksk@ntts.com>
3511 1998-06-24 Andy Piper <andyp@parallax.co.uk>
3513 * toolbar-msw.c (mswindows_output_toolbar): only enable masked
3514 images if we have masks. This handles the xbm case (have masks)
3515 and avoids overuse of resources in the xpm case (generally no masks).
3516 Don't output small toolbars.
3518 1998-06-29 Kyle Jones <kyle_jones@wonderworks.com>
3520 * eval.c (run_hook_with_args_in_buffer): Don't treat
3521 the default value of a buffer local hook as a list of
3522 hooks unless it is both a cons and the car of that cons
3525 1998-06-29 SL Baur <steve@altair.xemacs.org>
3527 * extents.c: Email address for Ben Wing is ben@xemacs.org.
3528 * process-unix.c: Ditto.
3529 * mule-coding.h: Ditto.
3530 * mule-coding.c: Ditto.
3531 * mule-charset.c: Ditto.
3532 * mule-charset.h: Ditto.
3533 * file-coding.c: Ditto.
3534 * file-coding.h: Ditto.
3536 1998-06-22 Jonathan Harris <jhar@tardis.ed.ac.uk>
3538 * event-msw.c: Guard against recursion when freeing
3539 FRAME_MSWINDOWS_TARGET_RECT struture in WM_SIZE processing.
3541 * frame-msw.c: Don't set WS_VISIBLE attribute on first frame.
3542 Call ShowWindow twice in init_frame_3 to get round runemacs
3545 1998-06-27 Hrvoje Niksic <hniksic@srce.hr>
3547 * scrollbar.c (vertical_scrollbar_changed_in_window): Ditto.
3549 * winslots.h: Rename.
3551 * window.c (specifier_vars_of_window): Renamed
3552 vertical-divider-draggable-p to vertical-divider-always-visible-p,
3553 as suggested by Ben Wing.
3554 (specifier_vars_of_window): Fix docstrings.
3556 1998-06-22 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
3558 * unexaix.c: Line number information works correctly again.
3560 1998-06-22 Olivier Galibert <galibert@pobox.com>
3562 * emacs.c (__sti__iflPNGFile_c___): Added. See comment. Cry.
3564 1998-06-21 Martin Buchholz <martin@xemacs.org>
3566 * editfns.c (get_home_directory): ANSIfy.
3567 XEmacs is compilable under C *and* C++.
3568 It's XEmacs, not Xemacs!
3570 1998-06-19 Jonathan Harris <jhar@tardis.ed.ac.uk>
3572 * console-msw.h: added a list of fonts to device data.
3574 * device-msw.c: enumerate list of available fonts in
3575 mswindows_init_device. Free list in mswindows_delete_device.
3577 * objects-msw.c: Added helper function match_font used by
3578 mswindows_initialize_font_instance and mswindows_list_fonts.
3579 Allow a charset to be specified in a font string, even if
3580 previous fields havn't been specified.
3582 1998-06-23 Greg Klanderman <greg@alphatech.com>
3584 * indent.c (column_at_point): column cache bugfix.
3585 Set last_known_column_point to the buffer position for
3586 which the column was requested, not buffer's point.
3588 * redisplay.c (decode_mode_spec): for current-column, show
3589 window's point's column, not buffer's point's column.
3591 1998-06-23 Andy Piper <andyp@parallax.co.uk>
3593 * menubar-msw.c (mswindows_handle_wm_command): use
3594 enqueue_misc_user event rather than
3595 mswindows_enqueue_msic_user_event to fix customize problems. Add some
3598 * console-msw.h: declare mswindows_enqueue_magic_event.
3600 * event-msw.c (mswindows_enqueue_magic_event): make global.
3602 1998-06-24 Hrvoje Niksic <hniksic@srce.hr>
3604 * line-number.c (LINE_NUMBER_FAR): Reverted to 16384.
3605 (buffer_line_number): Use EMACS_INT_MAX instead of random LOTS.
3606 (add_position_to_cache): Use EMACS_INT instead of int.
3608 1998-06-21 Olivier Galibert <galibert@pobox.com>
3610 * lisp-disunion.h (XMARKBIT): Have XMARKBIT return something
3611 suitable for an int used as a boolean (btw, C sucks.).
3613 1998-06-18 Andy Piper <andyp@parallax.co.uk>
3615 * object-msw.c: remove warnings.
3617 * device-msw.c: #define wrongly named cygwin structure elements.
3619 * s/cygwin32.h: define DEMI_BOLD
3621 1998-06-19 Jonathan Harris <jhar@tardis.ed.ac.uk>
3623 * redisplay-msw.c: new function mswindows_apply_face_effects.
3624 This is called by output_string and output_cursor to display
3625 underline and strikeout on faces.
3627 1998-06-19 Jonathan Harris <jhar@tardis.ed.ac.uk>
3629 * console-msw.h: added a list of fonts to device data.
3631 * device-msw.c: enumerate list of available fonts in
3632 mswindows_init_device. Free list in mswindows_delete_device.
3634 * objects-msw.c: Added helper function match_font used by
3635 mswindows_initialize_font_instance and mswindows_list_fonts.
3636 Allow a charset to be specified in a font string, even if
3637 previous fields havn't been specified.
3639 1998-06-15 Jonathan Harris <jhar@tardis.ed.ac.uk>
3642 Removed compilation warnings from mswindows_string_to_color.
3643 mswindows_list_fonts returns a more general bogus font.
3644 New lisp-visible function mswindows-color-list.
3646 1998-06-19 David Bush <david.bush@adn.alcatel.com>
3648 * editfns.c (Fuser_login_name): Modify to user new function
3650 (user_login_name): C only function to avoid Lisp object overhead
3651 Returns "unknown" instead of nil in Cygwin environment
3653 * fileio.c (Fexpand_file_name): Treat "~" and "~user" as
3654 equivalent for current user in Cygwin environment. Use new
3655 function user_login_name to get username.
3657 * lisp.h: Declare user_login_name
3659 1998-06-18 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
3661 * unexaix.c (make_hdr): Fixed bias computations so debugging info
3663 Some other insignificant nitpicks.
3665 1998-06-18 Andy Piper <andyp@parallax.co.uk>
3667 * toolbar-msw.c (mswindows_output_toolbar): specify ILC_MASK when
3668 creating the image list and make sure he bk color is transparent.
3670 1998-06-18 Jan Vroonhof <vroonhof@math.ethz.ch>
3672 * event-Xt.c (emacs_Xt_remove_timeout): Also remove timeout from
3673 completed_timeouts. The timer could have expired.
3675 1998-06-17 Andy Piper <andyp@parallax.co.uk>
3677 * console-msw.h: move XEMACS_RECT_WH inside frame
3678 parameters. define macors to access it.
3680 * frame-msw.c (mswindows_init_frame_1): use new target_rect
3681 parameter to intialise desired sizing. (mswindows_init_frame_2):
3682 enable and size the frame to something sensible when we get
3683 here. (mswindows_set_frame_properites): use new
3684 mswindows_size_frame_internal function and size frame if frame
3685 parameters not just if init is finished - WM_SIZE happens too
3686 early for some specs. (mswindows_size_frame_internal): new
3687 function abstracted from mswindows_set_frame_properties.
3688 (Vmswindows_use_system_frame_size_defaults):
3689 new variable controls whether to allow the system to pick frame
3690 size defaults, defaults to nil.
3692 * event-msw.c: in WM_SIZE use mswindows_size_frame_internal rather
3693 than duplicated code.
3695 1998-06-15 Colin Rafferty <colin@xemacs.org>
3697 * Makefile.in.in: Made EXTW_LINK expand properly.
3699 1998-06-12 Martin Buchholz <martin@xemacs.org>
3701 * redisplay.c (vars_of_redisplay): default value of
3702 column-number-start-at-one should be NIL!
3704 1998-06-11 Martin Buchholz <martin@xemacs.org>
3707 (upcase-initials "fooBar") ==> "FooBar" instead of "Foobar"
3709 1998-06-05 Hrvoje Niksic <hniksic@srce.hr>
3711 * eldap.c (Fldap_search_internal): Use build_ext_string instead of
3712 build_string to avoid crashes under Mule.
3714 1998-06-13 Andy Piper <andyp@parallax.co.uk>
3716 * ntplay.c (play_sound_data_1): don't delete the sound data until
3717 the next sound is played and the previous one finished.
3719 1998-06-10 Samuel Mikes <smikes@alumni.hmc.edu>
3721 * fileio.c (directory-sep-char): Escape backslashes.
3723 1998-06-10 Hrvoje Niksic <hniksic@srce.hr>
3725 * event-stream.c: Fix docstring reference.
3727 1998-06-12 Hrvoje Niksic <hniksic@srce.hr>
3729 * alloc.c (make_float): Remove useless initialization of `next'
3731 (make_pure_float): Ditto.
3733 * lisp.h (struct Lisp_Float): Rename `next' to `__unused__next'.
3735 1998-06-08 Kirill M. Katsnelson <kkm@kis.ru>
3737 * fileio.c (Fmake_directory_internal): Remove conditionals
3738 on WINDOWSNT when calling mkdir.
3740 * ntproc.c: Deleted the following unused functions:
3741 register_child, reap_subprocess, sys_wait.
3743 * nt.c (sys_rename): Ifzeroed this implementation.
3744 Deleted the following unused functions:
3745 sys_access, sys_chdir, sys_chmod, sys_creat, sys_link, sys_mkdir,
3746 sys_mktemp, sys_rmdir, sys_unlink, sys_close, sys_dup, sys_dup2,
3747 sys_read, sys_write.
3748 Merger sys_fopen and sys_open with sysdep.c implementation.
3750 * sysdep.c: Removed MS-DOS code.
3751 (sys_rename): Deal with Microsoft rename weirdness.
3752 (sys_open): Implemented for Windows.
3756 1998-06-08 Kirill M. Katsnelson <kkm@kis.ru>
3758 * buffer.c (complex_vars_of_buffer): Removed %t description from
3761 1998-06-04 Rick Rankin <Rick_Rankin-P15254@email.mot.com>
3763 * scrollbar-msw.c: initialize the cbSize element of the
3764 SCROLLINFO struct before calling SetScrollInfo. WinNT seems
3765 to ignore the value of cbSize, but Win95 (and I presume Win98)
3766 appear to want it set to sizeof(SCROLLINFO).
3768 1998-06-04 Kirill M. Katsnelson <kkm@kis.ru>
3770 * event-stream.c: Defined Qcancel_mode_internal.
3771 (syms_of_event_stream): defsymbol'ed it.
3773 * events.h: Externed it.
3775 * event-msw.c (mswindows_wnd_proc, WM_CANCELMODE): Added this handler.
3777 1998-06-04 Oliver Graf <ograf@fga.de>
3779 * frame-x.c (x_cde_destroy_callback): free the data
3780 (cde-start-drag-internal) corrected root position, 21.1 needs this
3781 hardcoded in Button events
3782 (offix-start-drag-internal) corrected root position
3784 1998-06-03 Kirill M. Katsnelson <kkm@kis.ru>
3786 * process-nt.c (signal_cannot_launch): Use signal_simple_error()
3789 1998-06-03 Kirill M. Katsnelson <kkm@kis.ru>
3791 * dialog-msw.c (button_width): Removed `inline' from the function
3794 1998-06-03 Rick Rankin <Rick_Rankin-P15254@email.mot.com>
3796 * frame-msw.c: add WS_VISIBLE flag to the first frame created.
3797 Note that adding this flag to subsequent frames causes problems.
3799 1998-06-03 Gunnar Evermann <Gunnar.Evermann@nats.informatik.uni-hamburg.de>
3801 * glyphs-eimage.c (png_instantiate) move 'struct
3802 png_memory_storage tbr' out of nested block to avoid dangling
3805 1998-06-02 Andy Piper <andyp@parallax.co.uk>
3808 * faces.c: rename 3d-object -> gui-element. add toolbar face which
3809 inherits from gui-element.
3811 * glyphs-msw.c: use DIBitmaps for xbm bitmaps to be consistent
3812 with existing code, generate masks correctly.
3814 1998-06-03 P. E. Jareth Hein <jareth@camelot-soft.com>
3816 * glyphs-eimage.c: Changed included header for gifs to use
3817 Gifreader instead of giflib.
3819 * glyphs-x.c: removed the image-related functions that were
3820 moved into glyphs-eimage.
3822 1998-06-02 David Bush <david.bush@adnb.alcatel.com>
3824 * glyphs.c (bitmap_to_lisp_data) Define XFree to be free
3825 if built without X Windows support.
3827 1998-06-02 Hrvoje Niksic <hniksic@srce.hr>
3829 * fns.c (Fconcat): Synch docstring with new reality.
3831 1998-06-03 SL Baur <steve@altair.xemacs.org>
3833 * frame.c: Remove reference to msdos.h (which is going away).
3834 Suggested by Hrvoje Niksic and Kirill Katsnelson.
3836 1998-06-02 P. E. Jareth Hein <jareth@camelot-soft.com>
3838 * glyphs-eimage.c (jpeg_instantiate): Fix handling of
3842 1998-05-30 Kirill M. Katsnelson <kkm@kis.ru>
3844 * events.h: Fixed commentary about misc-user scrollbar events.
3846 * scrollbar-x.c (x_update_vertical_scrollbar_callback): Use frame
3847 object as an event channel, instead of window object.
3848 (x_update_horizontal_scrollbar_callback): Ditto.
3850 1998-05-29 Andy Piper <andyp@parallax.co.uk>
3852 * ntplay.c (play_sound_data_1) new function. convert alloca data
3853 to malloc if necessary.
3854 (play_sound_file): if the file is not in our path then convert to
3857 1998-06-01 SL Baur <steve@altair.xemacs.org>
3859 * mule-mcpath.c (mc_chdir): Reverse parameters in call to memcpy.
3860 * msdos.c (Frecent_doskeys): Ditto.
3862 * unexalpha.c (unexec): Reverse parameters in call to memcpy.
3863 Suggested by Reggie Perry <perry@zso.dec.com>
3865 * buffer.h: Eliminate size in declaration.
3867 1998-06-01 Olivier Galibert <galibert@pobox.com>
3869 * unexelfsgi.c (unexec): Cleanup n/nn and remove useless kludge.
3871 1998-06-01 Kirill M. Katsnelson <kkm@kis.ru>
3873 * gui.c (gui_item_init): Changed the default value for config member
3874 from Qunbound to Qnil.
3876 1998-06-01 Greg Klanderman <greg@alphatech.com>
3878 * indent.c (vmotion_pixels): Don't #define abs().
3880 1998-05-30 Kirill M. Katsnelson <kkm@kis.ru>
3882 * s/windowsnt.h: Defined popen and pclose to be _popen and _pclose
3885 1998-05-30 Andy Piper <andyp@parallax.co.uk>
3887 * glyphs.h: add xbm declarations.
3889 * console.h: add xbm_instantiate_method device method.
3891 * glyphs.c (check_valid_xbm_inline) (xbm_validate)
3892 (bitmap_to_lisp_data) (xbm_mask_file_munging) (xbm_normalize)
3893 (xbm_possible_dest_types): moved here from glyphs-x.c. use
3894 locate_pixmap_file device method and read_bitmap_data_from_file
3895 instead of XmuReadBitmapDataFromFile.
3896 (xbm_instatntiate): make a device method.
3898 * glyphs-x.c: see glyphs.c changes. (read_bitmap_data_from_file)
3899 new function that just calls XmuReadBitmapDataFromFile.
3900 (x_xbm_instatntiate): device method from xbm_instantiate.
3902 * glyphs-msw.c (read_bitmap_data) (NextInt)
3903 (read_bitmap_data_from_file): new functions copied from Xmu
3905 (xbm_create_bitmap_from_data) from Ben <ben@666.com> convert
3906 inline data to an mswindows bitmap.
3907 (init_image_instance_from_xbm_inline) (xbm_instantiate_1)
3908 (mswindows_xbm_instantiate): mswindows-ized versions of the X
3911 1998-05-30 Kirill M. Katsnelson <kkm@kis.ru>
3913 * window.c (specifier_vars_of_window): Renamed `has_modeline-p' to
3914 `modeline-visible-p'.
3915 Declared specifier lisp variables at the beginning oh the file
3918 * procimpl.h (struct process_methods): Changed semantics of
3919 create_process method so it accepts lisp strings instead of
3922 * process.c (Fstart_process_internal): Moved building of
3923 unix style argv from here to process-unix.c, ...
3925 * process-unix.c (unix_create_process): ... right here.
3927 * process-nt.c (nt_create_process): Changed this function to
3928 support new semantics, so avoided a GC problem.
3930 * events.c (Fmake_event): Document misc-user events properties.
3931 (Fmake_event): Do not allow arbitrary objects for channel property
3932 of misc-user events.
3933 (Fmake_event): Change misc-user event validation: it is function
3934 which is required, not button.
3936 * event-msw.c (mswindows_user_event_p): Recognize misc user events as
3938 (mswindows_enqueue_misc_user_event): Added function.
3939 (mswindows_bump_queue): Removed function.
3940 (mswindows_enqueue_magic_event): Support NULL HWND parameter.
3941 (mswindows_wnd_proc, WM_CLOSE): Use mswindows_enqueue_misc_user_event().
3942 (mswindows_wnd_proc, WM_EXITSIZEMOVE): Ditto.
3943 (emacs_mswindows_handle_magic_event): Handle XM_BUMPQUEUE, by doing
3944 really nothing, which is my personal favorite thing.
3946 * console-msw.h: Removed prototype for mswindows_bump_queue().
3947 Added prototype for mswindows_enqueue_misc_user_event().
3949 * menubar-msw.c (mswindows_handle_wm_command): Use
3950 mswindows_enqueue_misc_user_event().
3952 * toolbar-msw.c (mswindows_handle_toolbar_wm_command): Ditto.
3954 * dialog-msw.c (dialog_proc): Ditto.
3956 * scrollbar-msw.c (mswindows_handle_scrollbar_event): Ditto.
3957 (mswindows_handle_scrollbar_event): Use frame, not window, for misc
3958 user events channel.
3960 1998-05-29 Greg Klanderman <greg@alphatech.com>
3962 * window.c (Fwindow_displayed_text_pixel_height): was relying on
3963 incorrect semantics of vmotion_pixels which has been fixed. don't
3964 use it anymore as it can't easily be used.
3966 * indent.c (vmotion_pixels): fix off by one bug moving up. also
3967 the motion was reported incorrectly if you tried to go past end of
3970 1998-05-30 Kirill M. Katsnelson <kkm@kis.ru>
3972 * toolbar.h: Removed misleading commentary, as Martin suggested.
3974 1998-05-30 Kirill M. Katsnelson <kkm@kis.ru>
3976 * lisp.h: Extern Qactivate_menubar_hook.
3978 * menubar-msw.c (unsafe_handle_wm_initmenu_1): Pass correct value to
3981 1998-05-29 Andy Piper <andyp@parallax.co.uk>
3983 * glyphs-msw.c: use BPLINE macro.
3985 * select-msw.c (mswindows-selection-exists-p)
3986 (mswindows-delete-selection): doc string fixes.
3988 * toolbar-msw.c (mswindows_output_toolbar): make disabled buttons
3989 unpressable. warning elimination.
3991 1998-05-28 Martin Buchholz <martin@xemacs.org>
3993 * alloc.c (dbg_constants):
3996 Remove toolbar_data debugging code, since that lrecord has
3999 Wed May 27, 1998 Darryl Okahata <darrylo@sr.hp.com>
4001 * alloc.c: zap cached value of (user-home-directory), so that
4004 * buffer.c: From init_buffer(), separated out code that
4005 determined the initial directory for the *scratch* buffer, and
4006 put them into a function called "init_initial_directory()".
4007 The initial directory is now available as a global "char *"
4008 called initial_directory.
4010 * buffer.h: Added extern entries for initial_directory[] and
4011 init_initial_directory().
4013 * editfns.c: added new elisp function "user-home-directory",
4014 which basically returns getenv("HOME"), but attempts to use
4015 other values if $HOME isn't set.This may have to be tweaked in
4016 the future as, under Unix, "/" is used if $HOME isn't set (this
4017 probably should be set to the current directory). To support
4018 this, a new C function, "get_home_directory()", now exists,
4019 which returns the "home directory", as a "char *" string.
4021 * emacs.c: Rearrange NT initialization order so that
4022 environment/registry variables will be properly entered into
4023 Vprocess_enviroment.
4025 * fileio.c: replaced egetenv("HOME") with calls to the new
4026 get_home_directory().
4028 * lisp.h: Added function prototypes for uncache_home_directory()
4029 and get_home_directory(), along with lisp prototypes for
4030 Fuser_home_directory() and friends.
4032 * nt.c: replaced getenv("HOME") with calls to the new
4033 get_home_directory().
4035 * sysfile.h: for WINDOWSNT, #include <direct.h>, to suppress
4036 warnings about getcwd(), etc. not having prototypes.
4038 1998-05-28 Kirill M. Katsnelson <kkm@kis.ru>
4040 * process-nt.c (send_signal): Emulate SIGHUP.
4041 (validate_signal_number): Ditto.
4043 * event-msw.c (mswindows_wnd_proc, WM_KEYDOWN): Unconditionally
4044 remove MOD_SHIFT from ASCII characters.
4045 (mswindows_wnd_proc, WM_KEYDOWN): Do not activate the menubar when
4048 1998-05-24 Oliver Graf <ograf@fga.de>
4050 * frame-x.c (cde-start-drag-internal): added filename and multi-
4052 (x_cde_convert_callback) dito
4054 1998-05-26 Oliver Graf <ograf@fga.de>
4056 * frame-x.c: include event-mod.h also with CDE
4057 (x_cde_convert_callback) made the thing working
4058 (cde-start-drag-internal) also debugging
4060 1998-05-25 Hans Guenter Weigand <hgweigand@wiesbaden.netsurf.de>
4067 - add __OpenBSD__ where __NetBSD__ was found.
4068 - TODO: replace platform-specific conditional compilation by
4069 feature tests in configure.in.
4071 1998-05-15 Greg Klanderman <greg@alphatech.com>
4073 * window.c (Fwindow_displayed_text_pixel_height): New function.
4074 (syms_of_window): DEFSUBR it.
4076 * indent.c (Fvertical_motion_pixels): New function - request
4078 (vmotion_pixels): helper.
4079 (syms_of_indent): DEFSUBR.
4080 * lisp.h: declaration for vmotion_pixels().
4082 * indent.c (Fvertical_motion): Add optional third argument PIXELS,
4083 to request returning motion in pixels.
4084 (Fvertical_motion_pixels): Remove, functionality merged into
4086 * window.c (window_scroll): call Fvertical_motion with 3 arguments.
4087 (Fmove_to_window_line): ditto.
4088 * lisp.h: Change declaration for Fvertical_motion.
4090 * window.c: rename window-text-pixel-{height,width,edges} to
4091 window-text-area-pixel-*.
4093 1998-05-26 Gunnar Evermann <Gunnar.Evermann@nats.informatik.uni-hamburg.de>
4095 * tooltalk.c (vars_of_tooltalk) added staticpro for
4096 Tooltalk_Message_plist_str and Tooltalk_Pattern_plist_str
4098 1998-05-27 Andy Piper <andyp@parallax.co.uk>
4100 * faces.c: create a new 3d_object_face, make modeline and
4101 vertical_divider faces fallback to this rather than the default.
4103 1998-05-21 Andy Piper <andyp@parallax.co.uk>
4105 * s/cygwin32.h: define charsets for cygwin.
4107 1998-05-25 Andy Piper <andyp@parallax.co.uk>
4109 * toolbar-msw.c (mswindows_output_toolbar): fix up button sizes
4110 and coordinates. resize bitmaps if we have already settled on a
4113 * glyphs-msw.c (xpm_to_eimage): add ';' for mswindows compiler.
4115 1998-05-25 Hrvoje Niksic <hniksic@srce.hr>
4117 * toolbar-msw.c (mswindows_handle_toolbar_wm_command): Ditto.
4119 * menubar-msw.c (mswindows_handle_wm_command): Ditto.
4123 * gui-x.c (popup_selection_callback): Ditto.
4125 * dialog-msw.c (dialog_proc): get_callback -> get_gui_callback.
4127 * gui.c (get_callback): Renamed to get_gui_callback.
4129 1998-05-17 Martin Buchholz <martin@xemacs.org>
4131 * glyphs.h: order rearrangement.
4133 * device-tty.c (tty_asynch_device_change): Warning suppression.
4134 * device-x.c (x_device_system_metrics): Warning suppression.
4135 Make Doc strings consistent with coding standards.
4137 1998-05-24 Martin Buchholz <martin@xemacs.org>
4139 * general.c: multiple definition of `Qicon'. general.c seems
4140 like a good home for Qicon.
4142 1998-05-20 Kirill M. Katsnelson <kkm@kis.ru>
4144 * This patch is to fix compilation warnings under Windows.
4146 * s/windowsnt.h: Encapsulate getpid with sys_getpid.
4147 Added prototypes for FSF inherited functions, with which XEmacs is
4148 sprinkled thoroughly.
4149 Removed some #if 0 code. Bracketed some more definitions, probably
4150 related to Visual C versions prior to 4 (we do not support them).
4152 * sysfloat.h (logb): Finally, get logb() prototyped.
4154 * sysfile.h: Added Windows specific includes.
4155 Removed old Windows specific code bracketed with #if 0.
4157 * sysdep.h: Added prototype for xrealpath().
4159 * sysdep.c (sys_getpid): Added function, to support '95 negative pids.
4161 * symsinit.h: Added prototypes for syms_of_dired_mswindows,
4162 vars_of_dired_mswindows and init_ntproc (Grrr).
4164 * realpath.c: Added Windows specific include files.
4165 (xrealpath): Conditionalized declaration of some auto variables on
4166 S_IFLNK, to avoid warnings.
4168 * ntproc.c: Disabled some compiler warnings. This file is going to
4169 die, so I have not cleaned it up much.
4170 (set_process_dir): Const parameter.
4171 (Fwin32_short_file_name): Down CHECK_* macros to one argument.
4172 (Fwin32_long_file_name): Ditto.
4173 (Fwin32_set_process_priority): Ditto. Why didn't I remove these
4176 * nt.h: Added prototypes for set_process_dir and convert_time.
4178 * nt.c: More include files.
4179 (getpwnam): Consted char* argument.
4180 (get_emacs_configuration): Const return value.
4181 (opendir): Const argument.
4182 (stat): Casted converstion long->short.
4183 (stat): Removed ad hoc and questionable support for non-MSC compile.
4184 (sys_pipe): Removed unused auto variable.
4185 (_sys_read_ahead): Removed calls to DebPrint.
4186 (sys_read): Ditto, in 2 places.
4187 (term_ntproc): Added unused int parameter to signal handler, to
4188 avoid a warning when compiling a call to signal().
4189 (msw_sigset): Properly return old signandler or NULL instead of void.
4191 * floatfns.c (Flogb): Casted arguments to unary minus to signed.
4193 * gmalloc.c (morecore): Ditto.
4194 (_free_internal): Ditto.
4196 * lread.c (parse_integer): Ditto.
4198 * dired-msw.c: Added several include files.
4200 * cmdloop.c (Fcommand_loop_1): Added Microsoft C to the Big List
4201 of Compilers to Shut Up.
4203 * callproc.c: Added #includes to suppress warnings under Windows.
4204 (init_callproc): Removed #if0'ed code and unused variables.
4206 1998-05-25 Andy Piper <andyp@parallax.co.uk>
4208 * device-msw.c (mswindows_device_system_metrics): do planes in a
4209 way consistent with X.
4211 * glyphs-msw.c (mswindows_initialize_image_instance_mask): don't
4212 use SetPixel, use DIBits functions.
4213 (xpm_to_eimage): frob colors more closely like xpm deos.
4215 * toolbar-msw.c: only resize bitmaps when shrinking. Adjust look
4216 to be closer to X version.
4218 * event-msw.c: use tooltip string directly.
4220 * redisplay-msw.c: reinstate Kirill's bg pixmap change.
4222 * objects-msw.c: frob rgb colors that only Kyle uses.
4224 * dialog-msw.c (button_width): INLINE -> inline.
4226 1998-05-23 SL Baur <steve@altair.xemacs.org>
4228 * getloadavg.c (getloadavg): Fix typo.
4230 1998-05-23 Kirill M. Katsnelson <kkm@kis.ru>
4232 * objects-msw.c (mswindows_initialize_font_instance): Added support
4233 for font character sets.
4234 Replaced 'XXX' with '####' in comments throughout the file.
4236 1998-05-23 Kirill M. Katsnelson <kkm@kis.ru>
4238 * emacs.c (main_1): Added calls to vars_of_dialog_mswindows() and
4239 console_type_create_dialog_mswindows(), to initialize Windows dialog
4242 * symsinit.h: Prototyped the above functions.
4244 * dialog-x.c (x_popup_dialog_box): Moved dialog descriptor consistency
4245 checks to dialog.c...
4247 * dialog.c (Fpopup_dialog_box): ...right here. Added more checks: a
4248 device must support dialog boxes, and the descriptor must supply at
4251 * dialog-msw.c: New file, dialogs for Windows.
4253 1998-05-21 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
4255 * eldap.c (ldap_search_unwind): Return Qnil instead of nothing
4256 (Fldap_search_internal): Removed unused variable `err'
4258 * eldap.h: Moved Lisp_LDAP declaration here instead of using a
4261 1998-05-17 Martin Buchholz <martin@xemacs.org>
4263 * eldap.h: eldap.[ch] should never be used unless HAVE_LDAP is
4264 defined. Therefore there is no need to handle the case when
4265 HAVE_LDAP is undefined. Similarily, there is no reason to have
4266 any code wrapped within `#ifdef emacs', since this code is only
4267 useful within an emacs. This simplifies the code significantly.
4269 * inline.c: Include eldap.h only if HAVE_LDAP.
4270 * inline.c: Don't bother including TT_C_H_PATH, since tooltalk.h
4273 1998-05-21 Kirill M. Katsnelson <kkm@kis.ru>
4275 * unexnt.c (copy_executable_and_dump_data_section): Suppress
4276 printing dump stats when building without DEBUG_XEMACS.
4277 (dump_bss_and_heap): Ditto.
4279 1998-05-21 Andy Piper <andyp@parallax.co.uk>
4281 * gnuclient.c: don't suppress window system if there is no display
4282 and we are running under mswindows. send 'mswindows device type if
4283 we are in this situation.
4285 1998-05-20 Andy Piper <andyp@parallax.co.uk>
4288 * lisp.h: Qbitmap, Qcursor, Qicon moved here from glyphs-msw.c.
4290 * glyphs-msw.c: change cursor imgae type name to resource. Fix
4293 1998-05-20 Kirill M. Katsnelson <kkm@kis.ru>
4295 * EmacsFrame.c (Xt_StringToScrollBarPlacement): Added support for
4296 {top,bottom}-{left,right} values in addition to
4297 {top,bottom}_{left,right}.
4299 1998-05-18 Hrvoje Niksic <hniksic@srce.hr>
4301 * fileio.c (Fmake_temp_name): Remove unreached code.
4303 * process-nt.c (validate_signal_number): Use
4304 signal_simple_error().
4306 1998-05-19 Martin Buchholz <martin@xemacs.org>
4309 * sound.c (vars_of_sound):
4310 * sysdep.c (reset_sigio_on_device):
4311 * window.c (window_bottom_gutter_height):
4312 unexhp9k800.c:258: warning: implicit declaration of function
4313 `calculate_checksum'
4314 sound.c:604: warning: implicit declaration of function `vars_of_hpplay'
4315 sysdep.c:1012: warning: unused variable `owner'
4316 window.c:993: warning: `window_right_toolbar_width' defined but not used
4318 1998-05-19 Andy Piper <andyp@parallax.co.uk>
4320 * glyphs-msw.c (mswindows_create_resized_mask)
4321 (mswindows_create_resized_bitmap): new funnctions split out from
4322 mswindows_resize_dibitmap_instance.
4324 * glyphs-msw.h: declare new resize functions.
4326 * toolbar-msw.c (mswindows_output_toolbar): use new bitmap resize
4327 functions so that the original bitmaps are preserved.
4329 * sheap.c: fixup static heap exhausted error to avoid FAQs.
4331 * redisplay-msw.c (mswindows_output_blank): fixup brush from bg
4332 color if we are trying to output 0 depth bg pixmap.
4334 * scrollbar-msw.c: warning elimination.
4336 1998-05-18 Martin Buchholz <martin@xemacs.org>
4338 * frame-x.c (x_update_frame_external_traits): Start preprocessor
4339 directives in column 1.
4341 * search.c (skip_chars): Avoid using xzero with arrays, since some
4342 compilers get confused by the construct &array.
4344 1998-05-18 Kirill M. Katsnelson <kkm@kis.ru>
4347 * objects-msw.c: Changed the charset value for a new font from
4348 "don't care" to "ansi".
4350 * glyphs-msw.c (convert_EImage_to_DIBitmap): Warnings fix.
4352 1998-05-18 Kirill M. Katsnelson <kkm@kis.ru>
4354 * event-msw.c (mswindows_wnd_proc, WM_KEYDOWN): Do not clear shift
4355 modifier on control chars.
4356 Use IsCharAlpha() instead of isaplha().
4358 1998-05-19 Kazuyuki IENAGA <ienaga@jsys.co.jp>
4360 * s/freebsd.h: FreeBSD 2.2.6 now supports setlocale(LC_ALL, "").
4362 1998-05-18 Kirill M. Katsnelson <kkm@kis.ru>
4364 * objects-msw.c (mswindows_initialize_font_instance): Use ANSI
4365 charset when creating font.
4366 (mswindows_initialize_color_instance): Do not create brush along
4368 (mswindows_finalize_color_instance): Do not delete it then.
4370 * objects-msw.h (struct mswindows_color_instance_data): Removed
4371 brush slot, and corresponding accessor macro.
4373 1998-05-18 Kirill M. Katsnelson <kkm@kis.ru>
4375 * toolbar.c: Removed toolbar_data lrecord implementation.
4376 (mark_frame_toolbar_buttons_dirty): Replase usage of toolbar_data
4377 with toolbar_buttons (via FRAME_TOOLBAR_BUTTONS).
4378 (compute_frame_toolbar_buttons): Ditto.
4379 (CHECK_TOOLBAR): Ditto.
4380 (set_frame_toolbar): Removed allocation of toolbar_data lrecord.
4381 (update_frame_toolbars): Do not check for changed buffer
4382 here. Toolbar information is provided by cached specs in
4383 windows. The check for buffer is eliminated becuase toolbars are
4384 marked changed in set_frame_selected_window() in frame.c
4385 Added check for changed toolbars geometry.
4386 (compute_frame_toolbars_data): Removed unused second parameter;
4387 Adjusted callers of this static function throughout the file.
4388 (init_frame_toolbars): Initialize current_toolbar_size.
4389 (update_frame_toolbars): Use DEVICE_SUPPORTS_TOOLBARS_P instead of
4390 what is its current expansion, for clarity.
4391 (init_frame_toolbars): Ditto.
4392 (init_device_toolbars): Ditto.
4393 (init_global_toolbars): Ditto.
4395 * toolbar.h: Removed definition of toolbar_data lrecord.
4396 Added accessor macros FRAME_TOOLBAR_BUTTONS and
4397 FRAME_CURRENT_TOOLBAR_SIZE.
4398 Added macro DEVICE_SUPPORTS_TOOLBARS_P.
4400 * toolbar-x.c (x_output_toolbar): The same change as in
4402 (x_output_toolbar): Ditto.
4403 (x_redraw_exposed_toolbar): Ditto.
4405 * toolbar-msw.c (mswindows_output_toolbar): Retrieve current
4406 buttons from toolbar_buttons using FRAME_TOOLBAR_BUTTONS macro.
4407 (mswindows_output_toolbar): Ditto.
4408 (mswindows_output_toolbar): Ditto.
4410 * frame.c (mark_frame): Removed marking of arrays, according to
4411 frameslots.h change.
4412 (nuke_all_frame_slots): Ditto.
4413 (set_frame_selected_window): Mark toolbars changed when
4414 last_nonminibuf_window changes.
4416 * frame.h (struct frame): Moved some slots to frameslots.h.
4417 Added current_toolbar_size array.
4418 Changed references from toolbar_data to toolbar_buttons in macros
4419 FRAME_RAW_THEORETICAL_TOOLBAR_VISIBLE,
4420 FRAME_RAW_THEORETICAL_TOOLBAR_SIZE and
4421 FRAME_RAW_THEORETICAL_TOOLBAR_BORDER_WIDTH.
4423 * frameslots.h: Added macro MARKED_SLOT_ARRAY a la winslots.h
4424 Moved arrays of lisp objects here from frame.h: toolbar_size,
4425 toolbar_visible_p, toolbar_border_width.
4426 Removed toolbar_data slot and added toolbar_buttons.
4428 1998-05-17 Kirill M. Katsnelson <kkm@kis.ru>
4430 * symsinit.h: Externed syms_of_process_nt()
4432 * emacs.c (main_1): Call syms_of_process_nt()
4434 * process-nt.c: Quote process arguments by a call to Lisp function
4435 `nt-quote-process-args'.
4436 (syms_of_process_nt): New function.
4437 (nt_send_process): Flush data stream after each write, to avoid
4438 leaving buffered data.
4439 (nt_send_process): When blocked on process output, wait for
4440 process to slurp more for progressively increasing time intervals.
4442 1998-05-17 Martin Buchholz <martin@xemacs.org>
4444 * window.c (have_undivided_common_edge): Make file-local function
4446 (map_windows): Return 0 if all map functions successful.
4449 * winslots.h: Use unlikely names for local variables in macros to
4450 avoid shadowing warnings.
4452 1998-05-17 Andy Piper <andyp@parallax.co.uk>
4454 * toolbar-msw.c (mswindows_output_toolbar): hash on toolbar width
4455 so that we re-output if the toolbar size has changed.
4457 1998-05-17 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
4459 * s/aix4-2.h (ALIGN_DATA_RELOC): Undefined to support new unexaix.c.
4461 * s/aix3-1.h (ALIGN_DATA_RELOC): Defined to support new unexaix.c.
4463 * unexaix.c: Massive cleanup and support of AIX 4.2 (and hopefully
4466 1998-05-16 Kirill M. Katsnelson <kkm@kis.ru>
4468 * glyphs-msw.c: Defined OEMRESOURCE before including windows.h to
4469 get bitmap manifest constants defined.
4471 * console-msw.h: Include system files in angle brackets, not in
4474 * window.c (specifier_vars_of_window): Fixed a typo in
4475 `vertical-divider-line-width' docstirng.
4477 1998-05-16 Olivier Galibert <galibert@pobox.com>
4479 * line-number.c (delete_invalidate_line_number_cache): Use an
4481 (buffer_line_number): Remove dangerous, plain wrong when using
4482 64bits emacs ints, cast.
4484 * insdel.c (buffer_delete_range): Use an EMACS_INT.
4486 * cmds.c (Fforward_line): Use EMACS_INTs.
4488 * search.c (bi_scan_buffer): Change to use EMACS_INTs.
4489 (scan_buffer): Ditto.
4490 (bi_find_next_newline_no_quit): Remove useless cast.
4491 (find_next_newline_no_quit): Ditto.
4492 (find_next_newline): Ditto.
4493 (find_before_next_newline): Use an EMACS_INT.
4495 * lisp.h: Change scan_buffer to pass EMACS_INTs.
4497 1998-05-16 Hrvoje Niksic <hniksic@srce.hr>
4499 * menubar-msw.c (mswindows_handle_wm_command): Ditto.
4501 * toolbar-msw.c (mswindows_handle_toolbar_wm_command): Ditto.
4503 * gui-x.c (popup_selection_callback): Use it.
4505 * gui.h (get_callback): Declare it.
4507 * gui.c (get_callback): New function.
4509 1998-05-15 SL Baur <steve@altair.xemacs.org>
4511 * window.c (have_undivided_common_edge): Guard scrollbar specific
4513 (window_needs_vertical_divider_1): Ditto.
4515 1998-05-16 Hrvoje Niksic <hniksic@srce.hr>
4517 * emacs.c (decode_path): Eliminate compiler warning.
4518 (Fdecode_path): Renamed to Fsplit_path.
4519 (Fsplit_string_by_char): New function.
4521 1998-05-14 Damon Lipparelli <lipp@primus.com>
4523 * winslots.h: close comment
4525 1998-05-16 Kirill M. Katsnelson <kkm@kis.ru>
4527 * callproc.c: Removed declared and unused variable Qbuffer_file_type.
4529 * bufslots.h: Removed buffer_file_type slot.
4531 * buffer.c (complex_vars_of_buffer): Removed buffer_file_type from
4533 (complex_vars_of_buffer): Removed buffer-file-type variable and
4534 its default reference.
4536 1998-05-15 Kirill M. Katsnelson <kkm@kis.ru>
4538 * faces.c (complex_vars_of_faces): Defined
4539 Vvertical_divider_face.
4540 (vars_of_faces): Staticpro it.
4542 * faces.h: Externed Vvertical_divider_face.
4544 * redisplay-x.c (x_output_vertical_divider): Use
4545 Vvertical_divider_face to draw the divider instead of modeline
4548 * redisplay-msw.c (mswindows_output_vertical_divider): Draw
4549 divider face using Vvertical_divider_face background.
4550 Fix drawing spacing gaps around the divider.
4552 1998-05-14 Didier Verna <verna@inf.enst.fr>
4554 * redisplay-x.c (x_output_vertical_divider): removed hard-wired
4555 values for the vertical divider line width and spacing. Use the
4556 cached values from the window structure instead.
4557 (x_divider_width): ditto.
4559 * window.c (specifier_vars_of_window): new specifiers:
4560 vertical-divier -line-width and -spacing.
4561 (vertical_divider_global_width_changed): formerly known as
4562 vertical_divider_shadow_thickness_changed.
4564 * winslots.h: new slots: vertical_specifier _line_width and
4565 _spacing. Plus corrected a comment typo.
4567 1998-05-15 Kirill M. Katsnelson <kkm@kis.ru>
4569 * window.h: Declared window_divider_width().
4571 * console-stream.c (stream_divider_width): Removed method.
4572 (console_type_create_stream): And declaration for it.
4574 * redisplay.c (pixel_to_glyph_translation): Use
4575 window_divider_width() instead of divider_width redisplay method.
4576 (pixel_to_glyph_translation): Fix top divider edge calculation
4577 when scrollbar is on top.
4579 * window.c (window_divider_width): New function, an outphaser for
4580 divider_width redisplay method.
4581 (window_right_gutter_width): Use it.
4582 (specifier_vars_of_window): For vertical-divider-{spacing,line-width}
4583 specifiers, set fallback values differently on TTYs, and document
4584 the behavior of these on TTYs in the docstrings.
4586 * scrollbar.c (update_scrollbar_instance): Use
4587 window_divider_width() instead of divider_width redisplay method.
4589 * console.h (struct console_methods): Removed divider_width_method.
4591 * redisplay-tty.c (tty_divider_width): Removed device method.
4592 (console_type_create_redisplay_tty): Removed definition for it.
4593 (tty_output_vertical_divider): Respect the value returned by
4594 window_divider_width thus divider line width specification.
4596 * redisplay-msw.c (mswindows_divider_width): Removed device method.
4597 (console_type_create_redisplay_mswindows): Removed definition for it.
4598 (mswinodws_output_vertical_divider): Respect the value returned by
4599 window_divider_width thus divider line width specification.
4601 1998-05-15 Andy Piper <andyp@parallax.co.uk>
4603 * toolbar-msw.c: guess toolbar frame size a bit more accurately.
4605 1998-05-15 Andy Piper <andyp@parallax.co.uk>
4607 * glyphs-msw.c: resource loading implementation.
4608 (cursor_normalize): new function.
4609 (cursor_validate): ditto.
4610 (cursor_instantiate): ditto.
4611 (cursor_name_to_resource): ditto.
4612 (cursor_possible_dest_types): ditto.
4613 (check_valid_symbol): ditto.
4614 (check_valid_string_or_int): ditto.
4616 1998-05-14 Martin Buchholz <martin@xemacs.org>
4618 * sysdep.c (tty_init_sys_modes_on_device): Treat VSUSP just like
4621 * process-unix.c (process_signal_char): Use VSUSP instead of
4622 non-standard VSWTCH. Always prefer VSUSP to VSWTCH.
4624 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
4626 * specifier.c (specifier_instance): Change locale precedence of
4627 instantiation so window locale has higher priority than buffer
4629 (Fspecifier_instance): Reflect this in docstring.
4630 (Fadd_spec_list_to_specifier): Ditto.
4631 (Fadd_spec_to_specifier): Ditto.
4632 (Fremove_specifier): Ditto.
4634 1998-05-15 Kirill M. Katsnelson <kkm@kis.ru>
4636 ** Dialog separation into a device method from Andy Piper
4638 * emacs.c (main_1): Call console_type_create_dialog_x().
4640 * dialog-x.c (x_popup_dialog_box): Old Fpopup_dialog_box converted
4641 into this device method.
4642 (console_type_create_dialog_x): New function.
4644 * dialog.c (Fpopup_dialog_box): New function.
4645 (syms_of_dialog): Defsubr it.
4647 * console.h (struct console_methods): Declared
4648 popup_dialog_box_method().
4650 * symsinit.h: Defined console_type_create_dialog_{x,mswindows}
4652 1998-05-14 Oliver Graf <ograf@fga.de>
4654 * dragdrop.c (vars_of_dragdrop): dragdrop-protocols created
4655 * frame-x.c (x_cde_transfer_callback): checked for merge errors
4657 1998-05-13 Oliver Graf <ograf@fga.de>
4659 * dragdrop.c (vars_of_dragdrop): provide dragdrop-api
4661 1998-05-15 Kirill M. Katsnelson <kkm@kis.ru>
4663 * console.h (device_metrics): Removed dbcs, input-method-editor
4664 and right-to-left metrics.
4666 * device.c (Fdevice_system_metric): Ditto.
4667 (Fdevice_system_metrics): Ditto.
4668 (syms_of_device): Ditto.
4669 (Fdevice_system_metric): Swapped DEVICE and METRIC parameters back
4672 1998-05-14 Hrvoje Niksic <hniksic@srce.hr>
4674 * line-number.h (mark_line_number_cache): Remove unused
4677 * line-number.c (LINE_NUMBER_FAR): Increase to 32768.
4678 (get_nearest_line_number): Simplify.
4679 (add_position_to_cache): Make the old marker point nowhere.
4681 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
4683 ** Renamed window-divider-map => vertical-divider-map
4684 and event-over-divider-p => event-over-vertical-divider-p,
4685 in the following files/functions:
4687 * events.c (Fevent_over_divider_p):
4688 * keymap.c (get_relevant_keymaps):
4691 * redisplay.h (OVER_V_DIVIDER): Renamed so from OVER_DIVIDER.
4693 * redisplay.c (pixel_to_glyph_translation): Use OVER_V_DIVIDER.
4695 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
4697 * window.c (vertical_divider_changed_in_window): Renamed so.
4698 (specifier_vars_of_window): Defined Vvertical_divider_draggable_p.
4699 (window_needs_vertical_divider_1): Decide whether we need it based
4700 on the value of the above specifier. If separators are unwanted,
4701 put them only if there's no scrollbar between this window and its
4703 (have_undivided_common_edge): New function, helper for the above.
4704 (window_needs_vertical_divider): Return either a cached value,
4705 or clauclate and cache one.
4706 (invalidate_vertical_divider_cache_in_window): Implemented.
4707 (map_windows): Changed return type to int, return the value from
4710 * window.h: Prototype invalidate_vertical_divider_cache_in_window.
4711 (struct window): Added need_vertical_divider_p and
4712 need_vertical_divider_valid_p.
4714 * winslots.h: Added vertical_divider_draggable_p slot.
4716 * scrollbar.c (vertical_scrollbar_changed_in_window): Implemented.
4717 (specifier_vars_of_scrollbar): Used it in all vertical specifiers.
4719 * frame.c (invalidate_vertical_divider_cache_in_frame): New function.
4721 * frame.h (MARK_FRAME_WINDOWS_STRUCTURE_CHANGED): Call
4722 invalidate_vertical_divider_cache_in_frame().
4725 1998-05-14 Andy Piper <andyp@parallax.co.uk>
4727 * toolbar-msw.c: provide correct parameters to TB_SETROWS.
4729 * glyphs-msw.c (mswindows_initialize_image_instance_mask): size
4730 masks correctly and don't select 0.
4732 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
4734 * winslots.h: New file, declaration of some struct window and
4735 struct saved_window members.
4737 * window.h (struct window): Include it, with required preprocessor
4740 * window.c (mark_window): Ditto.
4741 (allocate_window): Ditto.
4742 (struct saved_window): Ditto.
4743 (mark_window_config): Ditto.
4744 (saved_window_equal): Ditto.
4745 (Fset_window_configuration): Ditto.
4747 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
4749 * redisplay-msw.c (mswindows_output_vertical_divider): Syntax fix.
4751 1998-05-12 Didier Verna <verna@inf.enst.fr>
4753 * redisplay-x.c (x_output_vertical_divider): draw shadows around
4754 the divider line. The shadow thickness is currently
4755 hard-wired. This will probably be turned into a specifier soon.
4757 1998-05-12 Didier Verna <verna@inf.enst.fr>
4759 * console.h (struct console_methods): the divider_width console
4760 method now requires a struct window * argument.
4762 * redisplay-x.c (x_divider_width): ditto. Plus remove
4763 X_DIVIDER_WIDTH, X_DIVIDER_SHADOW_THICKNESS.
4764 (x_output_vertical_divider): give a depressed look when the shadow
4765 thickness is negative.
4767 * console-stream.c (stream_divider_width): pass a struct window *
4770 * redisplay-tty.c (tty_divider_width): ditto.
4772 * window.c (window_right_gutter_width): totdi.
4774 * redisplay.c (generate_modeline): ittod.
4776 * scrollbar.c (update_scrollbar_instance): ttido.
4778 * redisplay-msw.c (mswindows_divider_width): ottid.
4779 WARNING: this enables to compile, but the feature is not functional.
4781 * window.h (struct window): new field
4782 vertical_divider_shadow_thickness.
4784 * window.c (specifier_vars_of_window): new specifier
4785 vertical-divider-shadow-thickness.
4786 (vertical_divider_shadow_thickness_changed): new function to
4787 inform redisplay that the window has changed.
4788 (mark_window): handle new field vertical_divider_shadow_thickness
4790 (allocate_window): ditto.
4791 (saved_window_equal): toddi.
4792 (Fset_window_configuration): totid.
4793 (save_window_save): ttdio.
4794 (struct saved_window): new field vertical_divider_shadow_thickness.
4796 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
4798 * device-msw.c (mswindows_device_system_metrics): Support a deluge
4801 1998-05-12 Oliver Graf <ograf@fga.de>
4803 * frame-x.c (x_cde_transfer_callback): fixed for the new protocol
4804 * event-Xt.c (x_event_to_emacs_event): C++ compability
4806 1998-05-14 Hrvoje Niksic <hniksic@srce.hr>
4808 * emacs.c (Fdecode_path): Default SEPCHAR to value of
4811 1998-05-14 Hrvoje Niksic <hniksic@srce.hr>
4813 * emacs.c (vars_of_emacs): Do it here; change the meaning of
4816 * fileio.c (vars_of_fileio): Don't define Vpath_separator here.
4818 1998-05-14 Hrvoje Niksic <hniksic@srce.hr>
4820 * emacs.c (decode_path_1): New function.
4821 (decode_path): Use it.
4822 (Fdecode_path): Renamed from Fdecode_path_internal; use
4825 1998-05-12 Hrvoje Niksic <hniksic@srce.hr>
4827 * macros.c (Fzap_last_kbd_macro_event): New function.
4828 (Fend_kbd_macro): Remove REMOVE_LAST kludge.
4830 1998-05-10 Andy Piper <andyp@parallax.co.uk>
4832 * redisplay-msw.c (mswindows_output_dibitmap_region): make sure
4833 multiple bitmaps are output vertically as well as horizontally.
4834 * (mswindows_output_dibitmap): don't cope with bitmap boundaries
4835 crossing lines this is handled by
4836 mswindows_output_dibitmap_region.
4838 1998-05-12 Martin Buchholz <martin@xemacs.org>
4840 * inline.c: Include eldap.h
4842 * menubar-x.c (x_update_frame_menubar_internal):
4843 Remove: unused variable `container'
4845 1998-05-11 Martin Buchholz <martin@xemacs.org>
4847 * s/aix4.h: Allow AIX 4.3 XEmacs to compile cleanly.
4848 Unfortunately, the resulting temacs still cannot dump.
4850 * symbols.c (symbol_is_constant):
4851 (verify_ok_for_buffer_local):
4852 -Wswitch Warning suppression - add default case to switches.
4854 * redisplay.c (decode_mode_spec): Remove unused variables,
4855 Replace Fcoding_system_property (codesys, Qmnemonic) with
4856 XCODING_SYSTEM_MNEMONIC (codesys);
4857 Fcoding_system_property is for users.
4863 Change empty docstrings into no doc strings at all.
4864 Fix bogus FSF-format docstrings.
4867 Standardize docstrings.
4870 Explain problems with matherr.
4872 * glyphs.c: make DEFUNs etags-readable, i.e. single-line
4875 if BROKEN_SIGIO, then SIGIO wants to be undefined.
4876 if SIGIO and not SIGPOLL, SIGPOLL wants to be SIGIO.\
4877 Fix the weird resultant interaction (causes windows problems)
4881 Take new EMACSBOOTSTRAPLOADPATH into account.
4882 Update documentation strings
4885 - Adjust for luser's CDPATH being set to something weird.
4886 - Take into account bash 2.02's tendency to print the cwd when
4887 using CDPATH. Always use `cd ./foo' instead of `cd foo'.
4888 - fix the run-temacs target to use $(DUMPENV)
4889 - fix the run-puremacs target to use $(DUMPENV)
4890 - fix the `depend' target to properly $(RM) the right files
4891 - Generate a better TAGS file for XEmacs' lisp code using
4892 hand-crafted regexps.
4893 - Use standard coding conventions for modules/Makefile.in
4895 1998-05-12 Didier Verna <verna@inf.enst.fr>
4897 * redisplay.c: removed the scrolling modeline code that didn't
4898 make it for 21.0. To be continued ...
4900 1998-05-13 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
4902 * emacs.c (Fdecode_path_internal): Removed bogus handling of nil
4903 and empty string inputs.
4905 1998-05-12 Hrvoje Niksic <hniksic@srce.hr>
4907 * redisplay-x.c (x_output_vertical_divider): Fixed typo.
4909 1998-05-10 Oliver Graf <ograf@fga.de>
4911 * event-stream.c (enqueue_misc_user_event_pos): created
4912 * lisp.h (enqueue_misc_user_event_pos): prototype added
4913 * frame-x.c (x_cde_transfer_callback): debug code plus API changes
4914 * emacs.c: call vars_of_dragdrop
4915 * dragdrop.c (vars_of_dragdrop): provide dragdrop
4917 1998-05-11 Oliver Graf <ograf@fga.de>
4919 * frame-x.c (x_cde_transfer_callback): return at correct pos
4920 * event-Xt.c (x_event_to_emacs_event): changed format of drop
4921 object for MIME (see comment in dragdrop.c)
4922 * dragdrop.c: API change documented in comment
4923 removed provide of dragdrop [is provided by dragdrop.el]
4925 1998-05-12 Kirill M. Katsnelson <kkm@kis.ru>
4927 * window.c (window_needs_vertical_divider): Enable vertical
4928 dividers for every non-rightmost window.
4929 (window_left_gutter_width): Left gutter consists of mythical
4930 toolbar and a virtual scrollbar.
4931 (window_right_gutter_width): The right one may have a divider
4934 * scrollbar.c (update_scrollbar_instance): Position vertical
4935 scrollbar left to divider if the latter present.
4937 * redisplay.h: Declared OVER_DIVIER constant.
4939 * redisplay.c (pixel_to_glyph_translation): Handle OVER_DIVIDER
4942 * redisplay-x.c (x_output_vertical_divider): Output divider along
4943 the right side of the window, down to window bottom. Swapped
4944 foreground and background colors so it is visible by default.
4946 * redisplay-tty.c (tty_output_vertical_divider): Uncondiionally
4947 stick the divider to the right window side.
4949 * redisplay-msw.c (mswindows_redisplay_deadbox_maybe): Fixed
4951 (mswindows_divider_width): Ask system for user preferred value.
4952 (mswindows_output_vertical_divider): Always output the divider on
4953 the right side of a window, down to bottom.
4955 * keymap.c (get_relevant_keymaps): Route mouse button events which
4956 happened over a window divider through window-divider-map.
4957 (Fkey_binding): Documented that in the docstring.
4958 Defined the variable Vwindow_divider_map.
4960 * events.c (Fevent_over_divider_p): Added this function.
4962 * events.h: EXFUNed it.
4964 1998-05-12 Kirill M. Katsnelson <kkm@kis.ru>
4966 * toolbar.c (update_frame_toolbars): Re-layout frame windows if
4967 toolbar geometry is suspected to change.
4969 1998-05-11 Jonathan Harris <jhar@tardis.ed.ac.uk>
4973 Condition dnd and dde code on HAVE_DRAGNDROP.
4975 1998-05-11 Hrvoje Niksic <hniksic@srce.hr>
4977 * events.c (format_event_object): Print space as SPC etc.
4979 1998-05-11 Hrvoje Niksic <hniksic@srce.hr>
4981 * print.c (print_internal): In the default case, abort() if
4982 ERROR_CHECK_TYPECHECK.
4984 * fileio.c (Fmake_temp_name): Doc fix.
4986 1998-05-10 Hrvoje Niksic <hniksic@srce.hr>
4988 * xgccache.c (describe_gc_cache): Define only if DEBUG_XEMACS.
4990 * undo.c (Fprimitive_undo): Fixed typo.
4992 1998-05-11 Hrvoje Niksic <hniksic@srce.hr>
4994 * fns.c (concat): Signal error on integer argument.
4996 1998-05-10 Kirill M. Katsnelson <kkm@kis.ru>
4998 * console.h (device_metrics): Prefixed each constatnt with DM_
5000 * device.c: (Fdevice_system_metric): Renamed so from plural form
5001 (metrics); Changed parameters order and added DEFAULT parameter;
5002 Unabbreviated some metric constants; Fixed and untabified doc string.
5003 (Fdevice_system_metrics): Added. Returns a plist of all provided
5006 * device-msw.c (mswindows_device_system_metrics): Renamed
5007 device_metrics enum constants.
5008 Return Qunbound instead of Qnil.
5010 * device-tty.c (tty_device_system_metrics): Ditto.
5012 * device-x.c (x_device_system_metrics): Ditto.
5014 1998-05-10 Andy Piper <andyp@parallax.co.uk>
5016 * redisplay-msw.c: implement background pixmaps (really!). Make
5017 sure bg color is transparent if we have bg pmaps.
5018 * (mswindows_output_string) (mswindows_clear_region): output bg
5020 * (mswindows_output_dibitmap_region): new function.
5021 * (mswindows_output_dibitmap): output offset pixmaps, blt masks in
5022 the bg color rather than transparently.
5024 * toolbar-msw.c: use masks if they exist.
5026 * glyphs-msw.c: set up masks correctly.
5028 * event-msw.c: typedef SOCKET if cygwin and not msg select().
5030 1998-05-10 Hrvoje Niksic <hniksic@srce.hr>
5032 * regex.c (re_match_2_internal): Check for quit.
5034 1998-05-10 Hrvoje Niksic <hniksic@srce.hr>
5036 * frame.c (Ffocus_frame): New function.