1 1999-06-03 MORIOKA Tomohiko <tomo@etl.go.jp>
3 * file-coding.c (coding_system_from_mask): Use `raw-text' instead
5 (complex_vars_of_mule_coding): Use `raw-text' as the coding-system
6 of coding-category `no-conversion'.
8 1999-06-03 MORIOKA Tomohiko <tomo@etl.go.jp>
10 * file-coding.c (Qraw_text): New variable.
11 (syms_of_mule_coding): Add new symbol `raw-text'.
12 (complex_vars_of_mule_coding): Add new coding-system `raw-text';
13 define coding-system `binary' independently; define coding-system
14 `no-conversion' as an alias for `raw-text'.
16 * file-coding.h (Qraw_text): New variable.
18 1999-05-20 MORIOKA Tomohiko <tomo@etl.go.jp>
20 * mule-charset.c (complex_vars_of_mule_charset): Registry of
21 japanese-jisx0208-1978 should not match with "jisx0208.1983" nor
24 1999-05-14 XEmacs Build Bot <builds@cvs.xemacs.org>
26 * XEmacs 21.2.14 is released
28 1999-05-12 Andy Piper <andy@xemacs.org>
30 * ntproc.c (sys_spawnve): kludge argv[0] in a MS compatible way.
32 1999-05-11 Gunnar Evermann <ge204@eng.cam.ac.uk>
34 * emacs.c (Frun_emacs_from_temacs): (re)alloc natgs+2 entries for
35 run_temacs_argv array -- fixes random memory corruption crash
37 1999-05-12 Jan Vroonhof <vroonhof@math.ethz.ch>
39 * window.c (Fcurrent_window_configuration):
40 Save minibuffer height;
42 * window.c (set_window_configuration): use it.
44 1999-05-10 Robert Pluim <rpluim@bigfoot.com>
46 * lisp.h (NNUNGCPRO): fix typo in name of DEBUG_GCPRO version
48 1999-04-21 Jan Vroonhof <vroonhof@math.ethz.ch>
50 * redisplay.c (redisplay_window): Do not put data
51 in the line start cache if it is not guaranteed to be correct
53 1999-04-02 Jan Vroonhof <vroonhof@math.ethz.ch>
55 * window.c (struct window_config): Removed frame
57 (window_config_equal): No longer compare frame sizes.
58 (Fset_window_configuration): Resize old top window to fit in the
59 current frame directly, no longer use a fake frame resize.
60 (Fcurrent_window_configuration): No longer save frame size
62 1999-05-11 Andy Piper <andy@xemacs.org>
64 * ntproc.c (sys_spawnve): actually assign argv[0] instead of the
67 1999-05-10 Hrvoje Niksic <hniksic@srce.hr>
69 * sysdep.c (init_system_name): If gethostname gives a proper
70 domain name, don't look further for one.
72 1999-05-09 Hrvoje Niksic <hniksic@srce.hr>
74 * symbols.c (Fintern): Avoid frequent XSYMBOL (foo).
75 (Fintern_soft): Accept a symbol argument.
77 1999-05-06 Hrvoje Niksic <hniksic@srce.hr>
79 * symbols.c (Fintern): ...do it here.
81 * lread.c (read_atom): Don't handle keywords here.
83 1999-05-06 Hrvoje Niksic <hniksic@srce.hr>
85 * symbols.c (reject_constant_symbols): Just use SYMBOL_IS_KEYWORD.
87 1999-05-03 Olivier Galibert <galibert@pobox.com>
89 * lisp.h (SYMBOL_IS_KEYWORD): A symbol can be a keyword only if it
90 is interned in the main obarray.
92 1999-04-23 Gunnar Evermann <ge204@eng.cam.ac.uk>
94 * menubar-x.c (pre_activate_callback): set accelerator field in
95 "No menu" entries to nil. Avoid crash in
96 command_builder_operate_menu_accelerator
98 1999-05-03 Olivier Galibert <galibert@pobox.com>
100 * symeval.h (symbol_value_forward_lheader_initializer): Ditto.
102 * lisp.h (DEFUN): Fix lrecord header initialisation.
104 1999-05-02 Andy Piper <andy@xemacs.org>
106 * objects-msw.c (mswindows_font_instance_truename): add a ';'.
108 * ntproc.c (sys_kill): cast using MS mandated defines.
110 1999-04-29 Andy Piper <andy@xemacs.org>
112 * m/intel386.h: remove redundant definitions.
114 * s/mingw32.h: new header for mingw32.
116 * unexnt.c: (open_input_file): function moved to nt.c.
117 (close_file_data): ditto.
118 (rva_to_section): function moved to ntproc.
120 * symsinit.h: declare syms_of_ntproc();
122 * objects-msw.c (mswindows_font_instance_truename): new function.
124 * ntproc.c: remove many warnings.
125 (_sys_read_ahead): moved from nt.c and made static.
126 (rva_to_section): moved from unexnt.c but not defined under
128 (win32_executable_type): implement what we can for mingw32
130 (sys_spawnve): fix bad MULE/GCPRO bug in filename handling.
132 * ntheap.h: remove declarations of functions that are now static.
134 * ntheap.c: support static heap.
136 * nt.h: conditionalise X_OK definition.
138 * nt.c: eliminate many warnings and support mingw32.
139 (open_input_file): function moved from unexnt.c and made static
140 (close_file_data): ditto.
141 (_sys_read_ahead): moved to ntproc.c
143 * emacs.c: make sure syms_of_ntptroc gets called under windows.
145 * console-msw.h: support mingw32.
146 * getloadavg.c: ditto.
153 * config.h.in: dont turn on DEBUG_ENCAPSULATION by default because
154 some systems don't have all of the encapsulated system calls.
156 * callproc.c: warning elimination.
157 * dired-msw.c: ditto.
158 * process-nt.c: ditto.
161 * Makefile.in.in: tweak : and ; for building under mswindows.
163 1999-04-26 Michael Harnois <mharnois@willinet.net>
165 * eldap.c (allocate_ldap): Adapt to the new semantics of
166 alloc_lcrecord_type().
168 1999-03-16 MORIOKA Tomohiko <tomo@etl.go.jp>
170 * file-coding.c (DECODE_HANDLE_END_OF_CONVERSION): fixed.
172 1998-09-04 MORIOKA Tomohiko <morioka@jaist.ac.jp>
174 * Delete mule-coding.c and mule-coding.h because they are not
177 1999-04-22 Gunnar Evermann <ge204@eng.cam.ac.uk>
179 * objects.c (print_font_instance): Check for NILP(f->device),
180 i.e. Vthe_null_font_instance.
181 (font_instance_truename_internal): ditto.
182 (Ffont_instance_properties): ditto.
184 1999-04-22 Olivier Galibert <galibert@pobox.com>
186 * lrecord.h (DECLARE_LRECORD): lrecord_implementation isn't an
189 1999-04-22 Hrvoje Niksic <hniksic@srce.hr>
191 * Makefile.in.in (tests): Don't mention tests explicitly -- makes
192 it easier to add new ones.
194 1999-04-22 Hrvoje Niksic <hniksic@srce.hr>
196 * symbols.c (reject_constant_symbols): Ditto.
197 (init_symbols_once_early): Ditto.
199 * print.c (print_symbol): Don't use ->obarray.
201 * symbols.c (Funintern): Ditto.
203 * alloc.c (Fmake_symbol): Don't set ->obarray.
205 * lisp.h (struct Lisp_Symbol): Removed .obarray field.
207 * symbols.c (init_symbols_once_early): Removed
208 Vpure_uninterned_symbol_table.
209 (Fintern): Don't store to ->obarray field.
211 1999-04-22 Hrvoje Niksic <hniksic@srce.hr>
213 * data.c (vars_of_data): Default debug_issue_ebola_notices to 0.
214 (eq_with_ebola_notice): Remove abracadabra support.
216 1999-04-11 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
218 * eldap.c (Fldap_search_internal): Add a new parameter `withdn' to
219 retrieve the distinguished names of entries
221 1999-03-08 Martin Buchholz <martin@xemacs.org>
223 * lread.c (read_escape): Make hex escapes read only two hex digits.
225 1999-04-05 Olivier Galibert <galibert@pobox.com>
227 * Makefile.in.in: Remove puresize-adjust.h and recursive makes.
228 * make-src-depend: Remove puresize-adjust.h.
229 * src-headers: Remove puresize-adjust.h.
230 * config.h.in: Kill everything purespace/gung-ho related.
232 * dbxrc: Make gung-ho mandatory.
235 * lrecord.h: Make gung-ho mandatory. Remove pure flag and add
236 c_readonly and lisp_readonly. Remove implementation arrays.
237 (C_READONLY_RECORD_HEADER_P): Added.
238 (LISP_READONLY_RECORD_HEADER_P): Added.
239 (SET_C_READONLY_RECORD_HEADER): Added.
240 (SET_LISP_READONLY_RECORD_HEADER): Added.
242 * lisp.h: Kill everything purespace/non gung-ho related.
243 (CHECK_C_WRITEABLE): Added.
244 (CHECK_LISP_WRITEABLE): Added.
246 (LISP_READONLY): Added.
248 * lisp-union.h: Make gung-ho mandatory.
249 * lisp-disunion.h: Ditto.
251 * alloc.c: Kill everything purespace/non gung-ho related. Fix all
252 set_lheader_implementation calls.
254 (lisp_readonly): Added.
255 (make_string_nocopy): Added.
256 (Fpurecopy): Changed to do nothing. Kept the old documentation
257 for reference purposes for the next patches.
258 (sweep_lcrecords_1): Don't free C readonly lcrecords.
259 (sweep_bit_vectors_1): Don't free C readonly bitvectors.
260 (SWEEP_FIXED_TYPE_BLOCK): Don't free C readonly lrecords.
262 * fns.c: Make gung-ho mandatory.
263 (Fput): CHECK_IMPURE -> CHECK_LISP_WRITEABLE.
267 * data.c: Make gung-ho mandatory.
268 (pure_write_error): Removed.
269 (c_write_error): Added.
270 (lisp_write_error): Added.
271 (Fsetcar): CHECK_IMPURE -> CHECK_LISP_WRITEABLE.
275 * symbols.c: Make gung-ho mandatory. make_pure_pname ->
276 make_string or make_string_nocopy. Fix various
279 * lread.c: Remove everything purespace related.
280 (Flocate_file_clear_hashing): purified -> c_readonly.
281 (locate_file): Ditto.
282 (read_atom): make_pure_pname -> make_string.
284 * emacs.c (Frun_emacs_from_temacs): Remove purespace stats
286 (Fdump_emacs): Ditto.
288 * print.c (print_internal): Make gung-ho mandatory.
289 * ntheap.c (sbrk): Ditto.
290 * mem-limits.h (EXCEEDS_LISP_PTR): Ditto
291 * symeval.h (symbol_value_forward_lheader_initializer): Ditto.
293 * sheap.c (more_static_core): Remove puresize-adjust.h from
296 * syntax.c (complex_vars_of_syntax): make_pure_string ->
298 * keymap.c (make_keymap): Fix alloc_lcrecord_type.
299 (vars_of_keymap): make_pure_string -> make_string_nocopy.
300 * events.c (deinitialize_event): Fix set_lheader_implementation.
302 * specifier.c (make_specifier_internal): Fix alloc_lcrecord.
303 * menubar-x.c (set_frame_menubar): Fix alloc_lcrecord_type.
304 * mule-charset.c (make_charset): Ditto.
305 * console.c (allocate_console): Ditto.
306 (complex_vars_of_console): Ditto.
307 * file-coding.c (allocate_coding_system): Ditto.
308 * device.c (allocate_device): Ditto
309 * gui-x.c (gcpro_popup_callbacks): Ditto.
310 * extents.c (allocate_extent_auxiliary): Ditto.
311 (allocate_extent_info): Ditto.
312 (copy_extent): Ditto.
313 * glyphs.c (allocate_image_instance): Ditto.
314 (allocate_glyph): Ditto.
315 * frame.c (allocate_frame_core): Ditto.
316 * database.c (allocate_database): Ditto.
317 * tooltalk.c (make_tooltalk_message): Ditto.
318 (make_tooltalk_pattern): Ditto.
319 * rangetab.c (Fmake_range_table): Ditto.
320 (Fcopy_range_table): Ditto.
321 * process.c (make_process_internal): Ditto.
322 * chartab.c (Fmake_char_table): Ditto.
323 (make_char_table_entry): Ditto.
324 (copy_char_table_entry): Ditto.
325 (Fcopy_char_table): Ditto.
326 * elhash.c (make_general_lisp_hash_table): Ditto.
327 (Fcopy_hash_table): Ditto.
328 * buffer.c (allocate_buffer): Ditto.
329 (complex_vars_of_buffer): Ditto.
330 * event-stream.c (allocate_command_builder): Ditto.
331 * objects.c (Fmake_color_instance): Ditto.
332 (Fmake_font_instance): Ditto.
333 (vars_of_objects): Ditto.
334 * toolbar.c (update_toolbar_button): Ditto.
335 * window.c (allocate_window): Ditto.
336 (make_dummy_parent): Ditto.
337 (Fcurrent_window_configuration): Fix alloc_lcrecord.
338 (vars_of_window): Fix make_lcrecord_list.
339 * faces.c (allocate_face): Fix alloc_lcrecord_type. pure_list ->
341 * lstream.c (Lstream_new): Fix make_lcrecord_list.
342 * opaque.c (make_opaque): Fix alloc_lrecord.
343 (make_opaque_list): Fix alloc_lrecord_type.
345 1999-04-19 Hrvoje Niksic <hniksic@srce.hr>
347 * process.c (Fstart_process_internal): Ditto.
349 * ntproc.c (sys_spawnve): Use Vlisp_EXEC_SUFFIXES when calling
352 * glyphs-x.c (x_locate_pixmap_file): Ditto.
354 * glyphs-msw.c (mswindows_locate_pixmap_file): Fix call to
357 * emodules.c (vars_of_module): New variable Vmodule_extensions.
358 (emodules_load): Use it when calling locate_file().
360 * emacs.c (main_1): Use Vlisp_EXEC_SUFFIXES when calling
363 * callproc.c: Vlisp_EXEC_SUFFIXES: New variable.
364 (vars_of_callproc): Initialize it.
365 (Fcall_process_internal): Use it when calling locate_file().
367 * alloc.c (disksave_object_finalization): Use
368 Flocate_file_clear_hashing().
370 * lread.c (Flocate_file_clear_hashing): Clear all hasing when
371 given `t' as argument.
373 1999-04-18 Hrvoje Niksic <hniksic@srce.hr>
375 * lread.c (locate_file): Expand `pathel' when appropriate.
376 (Flocate_file_clear_hashing): Expand path elements.
377 (Flocate_file_clear_hashing): Use Vlocate_file_hash_table.
379 * dired.c (make_directory_hash_table): Create the hash-table only
380 if the directory open is successful.
382 * lread.c (decode_mode_1): New function.
383 (decode_mode): Ditto.
384 (Flocate_file): Use them.
385 (Flocate_file): Expand FILENAME.
386 (locate_file_map_suffixes): New function.
387 (locate_file_in_directory_mapper): New function.
388 (locate_file_in_directory): Use locate_file_in_directory_mapper()
389 and locate_file_map_suffixes().
390 (locate_file_construct_suffixed_files): Use
391 locate_file_map_suffixes().
392 (locate_file_without_hash): Don't GCPRO path.
393 (Flocate_file_clear_hashing): Use EXTERNAL_LIST_LOOP.
394 (syms_of_lread): Remove Qlocate_file_hash_table.
395 (locate_file_find_directory_hash_table): Use
396 Vlocate_file_hash_table.
397 (locate_file_refresh_hashing): Ditto.
399 * lread.c: Renamed read_objects to Vread_objects.
401 1999-04-16 Olivier Galibert <galibert@pobox.com>
403 * mule-charset.c: Generally resync with fsf 20.3 charset
405 (make_charset): Add long and short name. Use id instead of
407 (Fmake_charset): Ditto.
408 (Fmake_reverse_direction_charset): Ditto.
409 (Fcharset_property): Ditto.
410 (Fcharset_short_name): Added.
411 (Fcharset_long_name): Added.
412 (Fcharset_description): Renamed from charset-doc-string.
413 (syms_of_mule_charset): Synced symbols.
414 (complex_vars_of_mule_charset): Synced charsets.
416 * mule-charset.h: Removed leading byte (uses id instead), added
419 1999-04-15 Hrvoje Niksic <hniksic@srce.hr>
421 * file-coding.c (Fdefine_coding_system_alias): New function.
423 1999-04-08 Olivier Galibert <galibert@pobox.com>
425 * mule-charset.c (complex_vars_of_mule_charset): Allow all iso8859
426 and -ascii fonts for displaying ascii instead of iso8859-1 only.
428 1998-12-14 Hrvoje Niksic <hniksic@srce.hr>
430 * extents.c (set_extent_glyph_1): Make sure that the glyph we
431 attach to the extent is valid.
433 1998-12-12 Hrvoje Niksic <hniksic@srce.hr>
435 * dired.c (user_name_completion): Mule-ize.
436 (user_name_completion): Use xmalloc/xrealloc/xfree.
437 (user_name_completion): Use DO_REALLOC.
438 (user_name_completion): Cut down the number of static variables;
440 (user_name_completion): Username completion is always
443 1998-12-06 Hrvoje Niksic <hniksic@srce.hr>
445 * fns.c (base64_decode_1): Remove COUNTER.
446 (base64_decode_1): Accept CRLF in addition to CR.
447 (base64_decode_1): Disallow a stray character after final EOF; the
448 check was probably a remnant of buggy recode code.
450 1998-12-05 Hrvoje Niksic <hniksic@srce.hr>
452 * fns.c (init_provide_once): Provide `base64'.
454 1998-12-04 Hrvoje Niksic <hniksic@srce.hr>
456 * fns.c (XMALLOC_UNBIND): Include SPECCOUNT argument, for clarity.
457 (Fbase64_encode_region): If buffer is read-only, bail out early.
458 (Fbase64_decode_region): Ditto.
459 (Fbase64_encode_region): Initialize SPECCOUNT to pacify the
461 (Fbase64_encode_string): Ditto.
462 (Fbase64_decode_region): Ditto.
463 (Fbase64_decode_string): Ditto.
465 1998-11-25 Hrvoje Niksic <hniksic@srce.hr>
467 * dired.c (Fdirectory_files): Remove redundant code.
469 1999-03-05 Philip Aston <philipa@parallax.co.uk>
471 * frame-msw.c Make raise-frame restore minimised windows.
473 1999-03-05 Philip Aston <philipa@parallax.co.uk>
475 * device-msw.c: Fix DEFVAR format - Death to phantom quote, and
478 1999-03-05 Philip Aston <philipa@parallax.co.uk>
480 * toolbar-msw.c Consider captions when deciding whether to rebuild
481 toolbar. This fixes the initial toolbar display for those of us
482 who don't like captions. These patches applied by Andy Piper.
484 1999-03-12 XEmacs Build Bot <builds@cvs.xemacs.org>
486 * XEmacs 21.2.13 is released
488 1999-03-12 SL Baur <steve@xemacs.org>
490 * file-coding.c: Guard ucs table initialization with ifdef MULE.
492 1999-03-10 Stephen J. Turnbull <turnbull@sk.tsukuba.ac.jp>
494 * file-coding.c: docstring and comment improvements.
495 (decode_ucs4) flag possible data loss with comment.
497 1999-03-10 Martin Buchholz <martin@xemacs.org>
499 * file-coding.c (Fset_ucs_char): add CHECK_INT, CHECK_CHAR
503 (decode_coding_ucs4):
504 (encode_coding_ucs4):
505 (detect_coding_utf8):
506 (decode_coding_utf8):
508 (encode_coding_utf8):
509 Add CHECK_* macros where needed to avoid crashes.
510 #ifdef out all composite character support using
511 #ifdef ENABLE_COMPOSITE_CHARS
512 Use normal XEmacs coding standards.
514 Remove CODING_STREAM_COMPOSE, CODING_STREAM_DECOMPOSE.
516 1998-09-08 MORIOKA Tomohiko <morioka@jaist.ac.jp>
518 * file-coding.c (make-coding-system): Add description about
520 (detection_state): Modify to implement ucs-4 and utf-8.
521 (detect_coding_type): Likewise.
522 (detect_coding_ucs4): New implementation.
523 (detect_coding_utf8): New implementation.
524 (encode_utf8): fixed.
525 (syms_of_mule_coding): Rename `ucs4' and `utf8' to `ucs-4' and
528 1998-09-08 MORIOKA Tomohiko <morioka@jaist.ac.jp>
530 * file-coding.c (mule_char_to_ucs4): Encode 94x94 chars in ISO
531 2022 registry to private area.
533 1998-09-07 MORIOKA Tomohiko <morioka@jaist.ac.jp>
535 * file-coding.c (encode_utf8): New function.
536 (encode_coding_utf8): New implementation.
538 1998-09-07 MORIOKA Tomohiko <morioka@jaist.ac.jp>
540 * file-coding.c (ucs_to_mule_table): New variable; abolish
542 (mule_to_ucs_table): renamed from `Vmule_to_ucs_table'.
543 (set-ucs-char): New function.
544 (ucs_to_char): New function.
545 (ucs-char): New function.
546 (set-char-ucs): New function.
547 (char-ucs): New function.
548 (decode_ucs4): Use `ucs_to_char'.
549 (complex_vars_of_mule_coding): Abolish `ucs-to-mule-table' and
552 1998-09-06 MORIOKA Tomohiko <morioka@jaist.ac.jp>
554 * chartab.h: EXFUN `Fget_char_table'.
556 * file-coding.c (encode_ucs4): New function.
557 (encode_coding_ucs4): Use `encode_ucs4'.
559 1998-09-06 MORIOKA Tomohiko <morioka@jaist.ac.jp>
561 * file-coding.c (decode_coding_ucs4): New implementation.
563 1998-09-06 MORIOKA Tomohiko <morioka@jaist.ac.jp>
565 * file-coding.c (decode_coding_ucs4): fixed.
567 * file-coding.c (Vmule_to_ucs_table): New variable.
568 (mule_char_to_ucs4): New function.
569 (encode_coding_ucs4): New implementation.
570 (complex_vars_of_mule_coding): Define variable
573 1998-09-06 MORIOKA Tomohiko <morioka@jaist.ac.jp>
575 * file-coding.c (decode_coding_utf8): New implementation.
577 1998-09-06 MORIOKA Tomohiko <morioka@jaist.ac.jp>
579 * file-coding.c (decode_coding_utf8): fixed.
581 1998-09-06 MORIOKA Tomohiko <morioka@jaist.ac.jp>
583 * file-coding.c (Vucs_to_mule_table): New variable.
584 (decode_ucs4): Refer `Vucs_to_mule_table'.
585 (complex_vars_of_mule_coding): Define variable
588 1998-09-04 MORIOKA Tomohiko <morioka@jaist.ac.jp>
590 * file-coding.c (detect_coding_ucs4): New function (not
592 (decode_coding_ucs4): New function.
593 (encode_coding_ucs4): New function (not implemented yet).
594 (detect_coding_utf8): New function (not implemented yet).
595 (decode_coding_utf8): New function.
596 (encode_coding_utf8): New function (not implemented yet).
597 (make-coding-system): New type `ucs4' and `utf8'.
598 (coding-system-type): Likewise.
599 (detection_state): Add `ucs4' and `utf8'.
600 (detect_coding_type): Likewise.
601 (mule_decode): Use `decode_coding_ucs4' and `decode_coding_utf8'.
602 (mule_encode): Use `encode_coding_ucs4' and `encode_coding_utf8'.
603 (decode_ucs4): New function (very incomplete).
604 (syms_of_mule_coding): Add `ucs4' and `utf8'.
606 * file-coding.h: Add definitions for UCS-4 and UTF-8.
608 1999-03-08 Martin Buchholz <martin@xemacs.org>
611 (non_ascii_valid_char_p):
612 (lookup_composite_char):
613 (composite_char_string):
614 (make-composite-char):
615 (composite-char-string):
616 (syms_of_mule_charset):
617 (complex_vars_of_mule_charset):
618 * mule-charset.h (LEADING_BYTE_COMPOSITE):
621 * file-coding.h (CODING_STATE_COMPOSITE):
622 (CODING_STATE_ISO2022_LOCK):
624 (LEADING_BYTE_COMPOSITE):
625 * file-coding.c (struct iso2022_decoder):
629 (encode_coding_iso2022):
630 #ifdef out all composite character support using
631 #ifdef ENABLE_COMPOSITE_CHARS
633 * alloc.c: Define lrecord_coding_system only if ! FILE_CODING
635 1999-03-04 Takeshi YAMADA <yamada@cslab.kecl.ntt.co.jp>
637 * fns.c (Fbase64_encode_string): Calculate `allength' in the same
638 way of `Fbase64_encode_region'.
640 1999-02-18 Katsumi Yamaoka <yamaoka@jpl.org>
642 * fns.c (base64_encode_1): Don't add a newline at the tail.
644 1999-03-08 Andy Piper <andy@xemacs.org>
646 * menubar-msw.c (displayable_menu_item): correct off-by-one &
649 1999-03-07 Martin Buchholz <martin@xemacs.org>
651 * console-stream.h (struct stream_console):
652 * event-unixoid.c (event_stream_unixoid_select_console):
653 (event_stream_unixoid_unselect_console):
654 * print.c (Fexternal_debugging_output):
655 * sysdep.c (reset_one_device):
656 * console-stream.c (stream_init_console):
657 (stream_delete_console):
658 (allocate_stream_console_struct): move into stream_init_console.
659 (free_stream_console_struct): move into stream_delete_console.
660 Use `fd' only for file descriptors.
661 Therefore, rename members of struct stream_console.
663 * systime.h: Unix98 says sys/time.h should define select(), but
664 some systems define that in unistd.h. So include that file always.
666 * glyphs.h (MAYBE_IIFORMAT_METH): Don't use leading `_'. Avoid
667 multiple evaluation of first arg. Do proper do {} while (0) wrapping.
668 (HAS_IIFORMAT_METH_P): Prevent macro from being used in
670 (MAYBE_IIFORMAT_DEVMETH): Use standard internal macro naming convention.
674 Add #include <stdio.h>.
675 Some versions of assert.h use printf() without #include'ing stdio.h
677 * free-hook.c (blocktype): Add gcpro5_type to blocktype.
678 (log_gcpro): Remove unused variable FRAME.
679 (show_gcprohist): Ansify.
682 * frame-x.c (x_delete_frame): Don't use FRAME_X_SHELL_WIDGET(f)
683 after it's just been XtDestroy'ed!
685 1999-02-18 Martin Buchholz <martin@xemacs.org>
687 * opaque.c (print_opaque):
691 Egcs 1.1.1 seems to have a bug where
692 INTP (p->size_or_chain)
693 will crash XEmacs. Fix by introducing intermediate variable.
695 * sound.c (Fdevice_sound_enabled_p): Fix compiler warning.
697 * dired.c (Fdirectory_files):
698 (Ffile_name_completion):
699 (Ffile_name_all_completions):
700 (file_name_completion):
701 - Use `directory' instead of `dirname' to sync with FSF Emacs and
702 avoid compiler warnings.
703 - Fix up docstrings so that C variables match documentation.
705 1999-03-05 Martin Buchholz <martin@xemacs.org>
707 * alloc.c: (garbage_collect_1): Reorg code to make scope of local
708 variables as small as possible to help out the compiler and the maintainer.
710 * alloc.c: (disksave_object_finalization):
711 Set all the *-load-path variables to
712 nil, not just load-path itself. This gets the locate-file hash
713 tables garbage collected BEFORE dump, and has the side effect of
714 preventing crashes on OSF4.0+egcs.
719 - Clean up gdb/dbx debugging support.
720 - Storing an EMACS_INT in an enum is not 64-bit clean!
721 - So change the enum to a set of separate variables.
722 - Add test cases to help debug the debugging support!
723 - Add `lisp-shadows' and `run-temacs' targets for dbx.
724 - Both dbx and gdb have been tested now.
726 1999-03-05 XEmacs Build Bot <builds@cvs.xemacs.org>
728 * XEmacs 21.2.12 is released
730 1999-02-16 Kazuyuki IENAGA <ienaga@jsys.co.jp>
732 * device-x.c: Support to find best visual without flashing.
734 1999-03-02 Paul Keusemann <pkeusem@visi.com>
736 * database.c (berkdb_map): Add flags argument to cursor call (must
737 be 0 according to docs) required for Berkeley DB 2.6.4 and later.
739 1999-03-03 Martin Buchholz <martin@xemacs.org>
743 General cleanup. Get free-hook.c working again.
744 Remove unused functions:
745 make_strings_hash_table, copy_hash, expand_hash_table.
749 Always use new ANSI-style function prototypes.
751 * unexalpha.c (unexec): Never use implicit int.
753 * sgiplay.c (close_sound_file):
755 (restore_audio_port):
760 (write_mulaw_8_chunk):
761 (write_linear_chunk):
762 (write_linear_32_chunk):
763 (initialize_audio_port):
767 (adjust_audio_volume):
768 (get_current_volumes):
770 Always use new ANSI-style function prototypes.
771 Use unistd.h for missing prototypes.
773 * unexelfsgi.c (round_up):
775 (unexec): Always use new ANSI-style function prototypes
777 * elhash.c (struct Lisp_Hash_Table): rename golden to golden_ratio
779 * console.h (struct console_methods): Always use full ANSI prototypes
781 * emacs.c (__sti__iflPNGFile_c___): Always use full ANSI prototypes
783 1999-03-02 Andy Piper <andy@xemacs.org>
785 * event-stream.c (init_event_stream): make sure native mswindows
786 gets an appropriate event loop.
788 1999-02-22 Andy Piper <andy@xemacs.org>
790 * frame-msw.c (mswindows_make_frame_visible): use SW_SHOW rather
791 than SW_SHOWNORMAL to prevent resizing of maximised frames.
792 (mswindows_raise_frame): remove comment.
794 1999-03-01 XEmacs Build Bot <builds@cvs.xemacs.org>
796 * XEmacs 21.2.11 is released
798 1999-02-25 SL Baur <steve@xemacs.org>
800 * mule-charset.c (Qleading_byte): New variable to implement
801 charset-leading-byte function.
802 (Fcharset_property): Use it.
803 (syms_of_mule_charset): Initialize it.
804 From Kazuyuki IENAGA <ienaga@jsys.co.jp>
806 1999-02-17 Kazuo Oishi <oishi@ae.agr.yamaguchi-u.ac.jp>
808 * glyphs-x.c (cononvert_EImage_to_XImage): correct
809 bytes per pixel counting.
811 1999-02-15 Andy Piper <andy@xemacs.org>
813 * s/cygwin32.h (BROKEN_SIGIO): don't define this as it causes
816 1999-02-16 MORIOKA Tomohiko <morioka@jaist.ac.jp>
818 * fns.c (Fbase64_encode_string): New optional argument
821 1999-02-16 Martin Buchholz <martin@xemacs.org>
823 * gdbinit: Fix up commands to run temacs. Add lisp-shadows command.
824 * alloc.c (xcalloc): undef xcalloc, just like xmalloc
826 1999-02-10 Martin Buchholz <martin@xemacs.org>
828 * s/bsdos4.h: New file. Port to BSDI BSD/OS 4.0.
829 * xintrinsic.h: Redo CONST support for X11 R4 compatibility.
831 1999-02-05 XEmacs Build Bot <builds@cvs.xemacs.org>
833 * XEmacs 21.2.10 is released
835 1999-02-02 Gleb Arshinov <gleb@cs.stanford.edu>
837 * process-nt.c (nt_send_process):
838 Fix for process-send-region/process-send-string breaking when size
839 of the input > 128 chars: change maximum chunk size for process
840 stream from 512 to 128, thus guaranteeing that ntpipe_shove_writer
843 1999-02-02 XEmacs Build Bot <builds@cvs.xemacs.org>
845 * XEmacs 21.2.9 is released
847 1999-01-30 Martin Buchholz <martin@xemacs.org>
849 * bytecode.c (funcall_compiled_function): Call
850 UNBIND_TO_GCPRO instead of UNBIND_TO_GCPRO_VARIABLES_ONLY.
852 * backtrace.h (UNBIND_TO_GCPRO_VARIABLES_ONLY):
853 #ifdef 0 out unused macro.
855 1999-01-27 Martin Buchholz <martin@xemacs.org>
857 * gui.c (gui_parse_item_keywords_internal): Make static.
859 1999-01-21 Andy Piper <andy@xemacs.org>
861 * glyphs-msw.c: add xface support.
862 (mswindows_xface_instantiate): new function copied from glyphs-x.c
863 (image_instantiator_format_create_glyphs_mswindows): do device
864 specific initialisation for xfaces.
865 (xbm_create_bitmap_from_data): line data must be padded to a word
868 * glyphs-x.c (xface_validate): moved to glyphs.c
869 (xface_normalize): ditto.
870 (xface_possible_dest_types): ditto.
871 (image_instantiator_format_create_glyphs_x): do device specific
872 initialisation for xfaces.
874 * glyphs.h: declare xface symbol.
876 * glyphs.c: move generic xface support here.
877 (xface_validate): moved from glyphs-x.c
878 (xface_normalize): ditto.
879 (xface_possible_dest_types): ditto.
880 (image_instantiator_format_create): xface declarations moved from
883 1999-01-14 Adrian Aichner <aichner@ecf.teradyne.com>
885 * event-stream.c (vars_of_event_stream): Fixing documentation.
887 1999-01-17 Gunnar Evermann <ge204@eng.cam.ac.uk>
889 * glyphs-eimage.c (gif_instantiate): Correct handling of
890 interlaced gifs to avoid writing past the end of the eimage
893 1999-01-13 Hrvoje Niksic <hniksic@srce.hr>
895 * search.c (Freplace_match): Handle single backslash at end of
898 1999-01-12 William M. Perry <wmperry@aventail.com>
900 * eldap.c (Fldap_open): slow down interrupts around ldap_open to
901 avoid connection errors.
903 1999-01-12 Andy Piper <andy@xemacs.org>
905 * redisplay-output.c (redisplay_update_line): backout change that
906 shouldn't have gone ine.
908 1999-01-09 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
910 * eldap.c (vars_of_ldap): Do no provide `ldap' here since it may
913 1999-01-11 Andy Piper <andy@xemacs.org>
915 * redisplay.h (DISPLAY_LINE_HEIGHT): new macro.
916 (DISPLAY_LINE_YPOS): new macro.
918 * redisplay-msw.c (mswindows_output_string): use it.
919 (mswindows_output_pixmap): ditto.
920 (mswindows_output_display_block): ditto.
922 * redisplay-output.c (redisplay_output_display_block): new
923 function. just call the devmeth, maybe insert some generic code
925 (compare_display_blocks): use it.
926 (output_display_line): ditto.
927 (redisplay_unmap_subwindows_maybe): new function. potentially
928 unmap subwindows in the given area.
930 * glyphs.c (reset_subwindow_cachels): unmap subwindows that we are
933 1999-01-10 J. Kean Johnston <jkj@sco.com>
935 * Makefile.in.in: Set value of moduledir
936 - Changed DUMPENV to include $(MODULEPATH)
937 - Added install rule to install header files for use by ellcc.
939 * config.h.in: Added INHIBIT_SITE_MODULES
940 - Added HAVE__DLERROR
942 - Added DLSYM_NEEDS_UNDERSCORE
946 * emodules.c: New file containing dynamic loading code.
948 * emodules.h: New file.
950 * emacs.c: Added variables Vmodule_directory,
951 Vsite_module_directory, Vconfigure_module_directory and
952 Vconfigure_site_module_directory.
953 - (main_1): Added new variable inhibit_site_modules and command
954 line options `-no-site-modules' and `--no-site-modules'.
955 - (main_1): Call syms_of_module() instead of syms_of_dll().
956 - (main_1): Call vars_of_module().
957 - (vars_of_emacs): Introduce inhibit-site-modules,
958 module-directory, configure-module-directory,
959 site-module-directory, and configure-site-module-directory to the
962 * lisp.h: Declare load_module and list_modules, as well as
963 Vmodule_directory, Vsite_module_directory,
964 Vconfigure_module_directory and Vconfigure_site_module_directory.
966 * paths.h.in: Added PATH_MODULESEARCH and PATH_SITE_MODULES.
967 - Added correct support for site-lisp directory.
969 * symbols.c (defsubr): Modified to allow modules to add new subrs
971 - (defsubr_macro): Same.
972 - (defvar_magick): Only use purespace when not initialized, so
973 that loaded modules can still add symbols.
975 * symsinit.h: Add definitions for syms_of_module(),
976 vars_of_module(). Removed syms_of_dll().
978 * sysdll.c: Include dlfcn.h if HAVE_DLFCN_H is defined.
979 - (dll_variable): Take DLSYM_NEEDS_UNDERSCORE into account.
980 - (dll_error): use _dlerror() if HAVE__DLERROR is defined.
982 * s/sco5-shr.h (C_SWITCH_SYSTEM): Correct for modern gcc and
983 explicitly pass -belf for native cc.
985 * s/sco5.h (LIB_GCC): Use -print-libgcc-file-name instead of
986 hard-coding the library name.
988 1999-01-01 <martin@xemacs.org>
990 * device-x.c (Fx_set_font_path):
991 Add proper cast to permit compilation under C++.
993 * buffer.c (directory_is_current_directory):
994 Add proper casts to permit compilation under C++.
996 1998-12-30 Damon Lipparelli <lipp@primus.com>
998 * event-msw.c (mswindows_wnd_proc):
999 Fixed failure when building with MSVC 5.
1001 1998-12-29 Martin Buchholz <martin@xemacs.org>
1003 * file-coding.c (decode_coding_iso2022):
1004 - Prevent crash when decoding ISO7/Lock detected files
1005 - the usual martin fiddling
1007 1998-12-29 Jonathan Harris <jhar@tardis.ed.ac.uk>
1011 Fixed failures when building with MSVC.
1012 * unexnt.c (dump_bss_and_heap):
1013 Removed compiler warning by removing bss_data variable.
1015 1998-12-18 Jim Radford <radford@robby.caltech.edu>
1017 * device-x.c (Fx_set_font_path, Fx_get_font_path): New functions
1018 so that packages that distribute their own fonts can access them.
1020 1998-12-28 Andy Piper <andy@xemacs.org>
1022 * glyphs-msw.c (mswindows_button_instantiate): cope with buttons
1023 that have an image provided.
1025 * glyphs.h: add Q_image decl.
1027 * glyphs-widget.c new functionality allowing images in
1029 (check_valid_glyph_or_image): new function to validate
1030 glyphs passed in through :image.
1031 (widget_normalize): new function. convert :image parameters into
1032 real glyphs if not already so.
1033 (widget_instantiate_1): mess with size parameters to be similar to
1035 (syms_of_glyphs_widget): new keyword :image.
1036 (image_instantiator_format_create_glyphs_widget): normalize
1037 buttons and allow :image.
1039 1998-12-27 Andy Piper <andy@xemacs.org>
1041 * frame-msw.c (mswindows_init_frame_1): warning elimination.
1043 * glyphs-widget.c (check_valid_anything): no-op function.
1044 (check_valid_callback): check callbacks in gui_items.
1045 (check_valid_symbol): as it sounds.
1046 (check_valid_string_or_vector): ditto.
1047 (widget_validate): modified for descriptors that are vectors or
1048 sequences of keyword/val pairs.
1049 (widget_instantiate_1): ditto.
1050 (image_instantiator_format_create_glyphs_widget): allow gui_item
1051 keywords in the instantiator.
1053 * gui.c (gui_parse_item_keywords_internal): renamed from
1054 gui_parse_item_keywords but taking error behaviour.
1055 (gui_parse_item_keywords): use it.
1056 (gui_parse_item_keywords_no_errors): ditto.
1057 (gui_item_add_keyval_pair): add Error_behavior flag and only
1058 signal invalid keywords if required.
1060 * gui.h: new gui signatures.
1062 * menubar.c (menu_parse_submenu_keywords): use new
1063 gui_item_add_keyval_pair signature.
1065 * s/cygwin32.h: modify PTY_ITERATION to eliminate warnings.
1067 1998-12-28 Martin Buchholz <martin@xemacs.org>
1069 * XEmacs 21.2.8 is released.
1071 1998-12-28 Martin Buchholz <martin@xemacs.org>
1073 * editfns.c (get_home_directory):
1074 (user-home-directory): Simplify.
1077 * callproc.c (child_setup):
1078 - Environment variables were being passed to inferior processes
1079 using internal encoding.
1080 - Convert to external encoding.
1081 - Rename local var `tem' to better name `tail'.
1082 - Use Flength instead of `manual' calculation.
1084 * buffer.c (kill-buffer):
1086 (set-buffer-major-mode):
1088 - Fix up parameter names to correspond to docstrings.
1089 - Don't use `bufname' when a buffer will do as well.
1090 - Remove one unneeded GCPRO.
1092 * buffer.h (initial_directory):
1093 * buffer.c (init_initial_directory):
1094 - use correct conversions between internal and external format.
1095 (directory_is_current_directory): new function
1096 (init_buffer): convert initial_directory to internal format.
1097 - solve crashes when current working directory is non-ASCII.
1099 * alloc.c (xmalloc):
1102 - remove stupid casts, since XEmacs requires an ANSI C system.
1103 (lrecord_type_index): replace abort() with more readable assert().
1105 (reset_lcrecord_stats): remove.
1106 (sweep_lcrecords_1):
1107 - replace call to reset_lcrecord_stats() with call to xzero().
1109 1998-12-27 Martin Buchholz <martin@xemacs.org>
1111 * process-unix.c (unix_create_process):
1112 - Fix crash invoking program with non-ASCII name.
1113 Try invoking xemacs with SHELL=/bin/sh, then M-x shell.
1114 - Remove unused variable `env'.
1115 - Rename `temp' to better name `save_errno'.
1116 - Reorganize code for clarity. But still too chicken to nuke the
1119 1998-12-24 Martin Buchholz <martin@xemacs.org>
1121 * XEmacs 21.2.7 is released.
1123 1998-12-23 Martin Buchholz <martin@xemacs.org>
1125 * glyphs.c (decode_device_ii_format):
1127 - Use GET_C_STRING_FILENAME_DATA_ALLOCA with char *, not Extbyte *.
1129 * glyphs-x.c (x_subwindow_instantiate):
1130 - A image instance mask was being assigned to a image instance type!
1131 - X_SUBWINDOW_INSTANCE_DATA (ii) is not an lvalue in C++.
1133 * glyphs-msw.c (mswindows_initialize_dibitmap_image_instance):
1135 * glyphs-x.h: Make indentation consistent.
1137 * emacs.c (Fdump_emacs): Remove Steve Martin merge artifacts.
1139 * glyphs-widget.c (check_valid_glyph): Warning suppression.
1141 - #ifdef it out, since it's not actually used yet (FIX THIS!)
1145 Move declarations of decode_device_ii_format and
1146 decode_image_instantiator_format into glyphs.h where they belong.
1148 1998-12-22 Martin Buchholz <martin@xemacs.org>
1150 * frame-x.c (x_delete_frame): Revert part of my changes at the
1151 suggestion of Gunnar Evermann - unfortunately no one really
1152 understands this code.
1154 * callproc.c (init_callproc): code cleanup.
1156 * free-hook.c (malloc):
1161 (block_input_malloc):
1162 (block_input_realloc):
1163 * device-x.c (x_delete_device):
1164 * emacs.c (voodoo_free_hook):
1165 * events.c (print_event):
1167 (CHECK_EVENT_TYPE2):
1168 (CHECK_EVENT_TYPE3):
1169 Use proper prototypes.
1170 Make C_E_T macros a little faster.
1171 Pedantic fiddly little changes. You really don't care.
1173 1998-12-22 Andy Piper <andy@xemacs.org>
1175 * redisplay-output.c (redisplay_clear_region): make sure that
1176 fg/bg colors get set even when we are in the border area.
1178 1998-12-13 Martin Buchholz <martin@xemacs.org>
1180 * console-msw.c: Function definitions follow coding standards
1181 - This prevents e.g. find-tag on Lisp_Event finding DEVENT
1183 1998-12-11 Martin Buchholz <martin@xemacs.org>
1185 * events.h (struct timeout_data):
1186 * event-tty.c (tty_timeout_to_emacs_event):
1187 * event-msw.c (mswindows_wm_timer_callback):
1188 * event-Xt.c (Xt_timeout_to_emacs_event):
1189 * event-msw.c (mswindows_cancel_dispatch_event):
1190 Make sure Lisp_Objects inside events are initialized to Qnil, not
1191 Qnull_pointer, which is now illegal.
1193 1998-12-10 Martin Buchholz <martin@xemacs.org>
1195 * lisp.h: Fix up prototypes to match alloc.c
1197 1998-12-08 Martin Buchholz <martin@xemacs.org>
1199 * windowsnt.h: Remove `support' for using index and rindex
1201 * filelock.c (current_lock_owner):
1202 - Change uses of index -> strchr, rindex -> strrchr
1204 1998-12-07 Martin Buchholz <martin@xemacs.org>
1206 * sysdep.c (set_descriptor_non_blocking):
1207 Since O_NONBLOCK is now always #defined, make use of fcntl
1208 conditional on F_SETFL being defined.
1210 * console-msw.c (DHEADgER):
1219 - max_align_t should not be visible to the user of the
1221 - use Bufbyte instead of char
1222 - parens around (FOOP (obj)) are always redundant.
1223 If they were necessary, we should fix the macro instead.
1224 - Always use string_data(foo) instead of foo->data.
1227 1998-12-06 Martin Buchholz <martin@xemacs.org>
1229 * frame-msw.c (mswindows_init_frame_1):
1230 - use make_lisp_hash_table, not Fmake_hash_table
1234 * alloc.c (make_vector): remove travesty
1238 (make_bit_vector_internal):
1240 (make_bit_vector_from_byte_vector):
1242 - make vector_equal a little faster.
1243 - Don't use variable name `new'.
1244 - Use size_t instead of EMACS_INT.
1245 - usual Martin-style pointless bit-twiddling.
1251 Make mapcar faster. In particular, make
1252 (mapc #'identity long-string)
1253 MUCH faster under Mule.
1254 * tests/automated/lisp-tests.el: Test 'em!
1256 * bytecode.c (Ffetch_bytecode): Fix crash when loading lazy-loaded
1259 1998-12-01 Martin Buchholz <martin@xemacs.org>
1261 * menubar-x.c (menu_item_descriptor_to_widget_value_1): Always use
1262 Qnil, not NULL, to initialize `null' Lisp_Objects.
1264 1998-11-29 Hrvoje Niksic <hniksic@srce.hr>
1266 * specifier.c (display_table_validate): Update.
1268 * redisplay.c (create_text_block): Use them.
1270 * glyphs.c (display_table_entry): New function.
1271 (get_display_tables): Ditto.
1273 1998-12-15 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
1275 * eldap.c (toplevel): Mention that eldap.c compiles with
1277 (Fldap_open): Use `GET_C_STRING_OS_DATA_ALLOCA'
1278 (Fldap_search_internal): Ditto
1280 1998-12-11 Martin Buchholz <martin@xemacs.org>
1282 * event-msw.c (mswindows_cancel_dispatch_event):
1283 Gratuitous code prettification
1286 1998-12-07 Hrvoje Niksic <hniksic@srce.hr>
1288 * fns.c (Fnconc): Fix use of wrong_type_argument().
1290 * floatfns.c (Ffloat): Fix docstring.
1291 (Ffloat): Fix use of wrong_type_argument().
1293 (extract_float): Ditto.
1298 1998-12-06 Martin Buchholz <martin@xemacs.org>
1300 * frame-msw.c (mswindows_init_frame_1):
1301 - use make_lisp_hash_table, not Fmake_hash_table
1305 * alloc.c (make_vector): remove travesty
1309 (make_bit_vector_internal):
1311 (make_bit_vector_from_byte_vector):
1313 - make vector_equal a little faster.
1314 - Don't use variable name `new'.
1315 - Use size_t instead of EMACS_INT.
1316 - usual Martin-style pointless bit-twiddling.
1322 Make mapcar faster. In particular, make
1323 (mapc #'identity long-string)
1324 MUCH faster under Mule.
1325 * tests/automated/lisp-tests.el: Test 'em!
1327 * bytecode.c (Ffetch_bytecode): Fix crash when loading lazy-loaded
1330 1998-12-02 Didier Verna <verna@inf.enst.fr>
1332 * menubar-x.c (menu_item_descriptor_to_widget_value_1): set the
1333 accelerator field to nil for labels.
1335 1998-12-16 Jonathan Harris <jhar@tardis.ed.ac.uk>
1337 * menubar-msw.c (displayable_menu_item):
1338 Escape occurrences of '&' and support occurrences of the
1339 '%_' accelerator indicator in menus.
1341 1998-11-26 Didier Verna <verna@inf.enst.fr>
1343 * dired.c (Fdirectory_files): use make_string instead of
1344 make_ext_string on the filename. The conversion external->internal
1345 format is already done in sys_readdir.
1347 1998-12-15 Gunnar Evermann <ge204@eng.cam.ac.uk>
1349 * glyphs.c (normalize_image_instantiator): GCPRO instantiator
1351 1998-12-16 Jonathan Harris <jhar@tardis.ed.ac.uk>
1354 (Belatedly) added Kirill to list of file's authors.
1355 emacs_mswindows_quit_p: Don't process WM_PAINT messages in
1356 quit checking. WM_PAINT messages cause redisplay, but
1357 windows' states are not necessarily stable when this function
1360 1998-12-17 Andy Piper <andy@xemacs.org>
1362 * strftime.c (zone_name): CONSTify.
1364 1998-12-15 Andy Piper <andy@xemacs.org>
1366 * glyphs-msw.c (mswindows_combo_instantiate): ditto.
1367 (mswindows_widget_property): return Qunbound when no property available.
1368 (mswindows_button_property): ditto.
1369 (mswindows_combo_property): ditto.
1370 (mswindows_widget_set_property): ditto.
1372 * glyphs-widget.c (check_valid_item_list): use properties.
1374 * glyphs.h (struct Lisp_Image_Instance): we have properties now.
1376 * glyphs.c (Fset_image_instance_property): allow setting of arbitrary properties.
1377 (Fimage_instance_property): ditto.
1378 * glyphs-widget.c (widget_property): ditto.
1379 (widget_set_property): ditto.
1381 * frame-msw.c (mswindows_set_frame_pointer): SetCursor() as well
1382 as setting the class cursor so that GC actually changes the
1385 * config.h: don't undef MAIL_USE_POP.
1387 1998-12-13 Andy Piper <andy@xemacs.org>
1390 (image_instantiator_format_create_glyphs_mswindows): line ->
1392 (mswindows_label_instantiate): ditto. Play with window flags.
1393 (image_instantiator_format_create_glyphs_mswindows): ditto.
1394 (vars_of_glyphs_mswindows): provide Qlabel as we support it now.
1396 * glyphs-widget.c (widget_instantiate_1): re-jig autosizing to
1397 cope with lines and labels.
1398 (static_instantiate): use widget_instantiate_1.
1400 (image_instantiator_format_create_glyphs_widget): ditto.
1402 1998-12-10 Andy Piper <andy@xemacs.org>
1404 * Makefile.in.in (objs): add gui.o
1406 1998-12-10 Andy Piper <andy@xemacs.org>
1408 * gui.c: adjust defines of HAVE_POPUPS so that we can build with
1411 1998-12-09 Andy Piper <andy@xemacs.org>
1413 * glyphs.c (finalize_image_instance): mark glyphs changed when an
1414 image instance is removed so that the subwindow cache gets reset
1415 and thus destroyed images get GC'd.
1417 1998-12-08 Andy Piper <andy@xemacs.org>
1419 * gui-msw.c (mswindows_handle_gui_wm_command): call
1420 MARK_SUBWINDOWS_CHANGED.
1422 * glyphs-msw.c (mswindows_finalize_image_instance): make sure
1423 subwindows really get deleted.
1425 * redisplay.c: new variable subwindows_changed[_set].
1426 (redisplay_window): use it.
1427 (redisplay_frame): ditto.
1428 (redisplay_device): ditto.
1429 (redisplay_without_hooks): ditto.
1431 * device.h (MARK_DEVICE_SUBWINDOWS_CHANGED): new macro for
1432 subwindows redisplay as per glyphs equivalent.
1433 * redisplay.h: ditto.
1434 (MARK_SUBWINDOWS_CHANGED): ditto.
1435 (RESET_CHANGED_SET_FLAGS): ditto.
1436 * frame.h (MARK_FRAME_SUBWINDOWS_CHANGED): ditto.
1438 1998-12-07 Andy Piper <andy@xemacs.org>
1440 * frame.c (Fmake_frame): reset subwindow cachels on non-stream
1443 * redisplay.c (redisplay_frame): invalidate subwindow cachels.
1445 * event-msw.c (mswindows_wnd_proc): catch the various WM_CTLCOLOR*
1446 messages and paint widget glyphs as appropriate with their face fg
1449 1998-12-06 Andy Piper <andy@xemacs.org>
1451 * glyphs-msw.c (vars_of_glyphs_mswindows): provide widget types
1452 here rather than in glyphs-widget - do this because we only want
1453 to provide what is really available.
1455 * glyphs.c (Fimage_instance_property): new function to get the
1456 properties of image instances. wires through to console specific
1457 methods and then to widget specific methods.
1458 (Fset_image_instance_property): ditto but for setting widget properties.
1459 (check_valid_face): make extern so that it can be used elsewhere.
1461 * glyphs-widget.c (widget_property): new function. gets the
1462 properties of widgets in general and wires the function through to
1463 widget specific ones.
1464 (widget_set_property): ditto but for setting widget properties.
1466 * glyphs-msw.c (mswindows_combo_instantiate): Add functionality to
1467 add items to the list. Play with window styles a bit to get the
1469 (mswindows_widget_property): break out specific widget properties.
1470 (mswindows_button_property): new function. gets the checked state
1472 (mswindows_combo_property): new function. gets the current
1473 selection in the combo box.
1474 (mswindows_widget_set_property): new function. sets specific
1475 properties of specific widgets.
1477 * glyphs-widget.c (check_valid_item_list): new function. check
1478 that items for a combo-box are just a list of strings.
1479 (combo_validate): new function. check there is an item list.
1480 (widget_instantiate_1): new function. renamed from
1481 widget_instantiate so that we can do slightly different things for
1483 (widget_instantiate): call widget_instantiate_1.
1484 (combo_instantiate): new function to instantiate combo boxes,
1485 defaults height to the pixel height of the number of items in the
1487 (syms_of_glyphs_widget): move widget keywords here.
1488 (image_instantiator_format_create_glyphs_widget): use new combo
1491 1998-12-04 Andy Piper <andy@xemacs.org>
1493 * event-msw.c (mswindows_wnd_proc): mule-ize.
1495 * glyphs.c (pixmap_to_lisp_data): mule-ize.
1497 * glyphs-msw.c (extract_xpm_color_names): mule-ize.
1498 (resource_name_to_resource): ditto.
1499 (mswindows_resource_instantiate): ditto.
1500 (mswindows_widget_instantiate): ditto.
1501 (mswindows_widget_set_property): ditto.
1503 * redisplay-output.c (redisplay_output_subwindow): don't show
1504 subwindows if they are obscured at the edge of the frame, emacs
1505 gets into some sort of redisplay loop otherwise.
1507 * gui.h: prototype gui_item_selected_p.
1509 * gui.c (gui_item_selected_p): new function to determine the
1510 selected state of a gui_item.
1512 * frame.h (struct frame): add subwindows_changed flag.
1514 * redisplay.c (redisplay_frame): call update_frame_subwindows ().
1516 * glyphs.c (update_subwindow): new function to update a
1518 (update_frame_subwindows): new function to update all the
1519 subwindows on a frame.
1521 * console.h (struct console_methods): add update_subwindow.
1523 * glyphs-msw.c (mswindows_widget_property): return selected state
1524 for selected property.
1525 (mswindows_update_subwindow): new function. updates widget glyphs
1526 in redisplay as per menubars or toolbars e.g. selected state.
1527 (console_type_create_glyphs_mswindows): add update_subwindow.
1529 1998-12-03 Andy Piper <andy@xemacs.org>
1531 * console-tty.c (syms_of_console_tty): MULE -> FILE_CODING since
1532 tty coding system things are such.
1534 * glyphs-widget.c (widget_face_font_info): new function for
1535 pulling out height and width metrics for a widget's face.
1536 (widget_text_to_pixel_conversion): calculate pixel sizes of text
1539 * event-msw.c (mswindows_drain_windows_queue): translate messages
1540 that are destined for subwindows. This makes edit fields interact
1541 with the keyboard correctly.
1542 nuke warnings by #ifndef'ing out stuff not required by msg select().
1544 * glyphs.h (INITIALIZE_IMAGE_INSTANTIATOR_FORMAT_NO_SYM): new
1545 macro defining the iiforma without the symbol required by widget.
1546 (INITIALIZE_IMAGE_INSTANTIATOR_FORMAT): use it.
1548 * general.c (syms_of_general): add Qwidget, Qselected.
1550 * faces.c (complex_vars_of_faces): add widget face inheriting from
1553 1998-11-09 Andy Piper <andy@xemacs.org>
1555 * window.h (struct window): add a cache of subwindows on a
1558 * window.c (mark_window): mark the subwindow_instance_cache.
1559 (allocate_window): initialise the subwindow instance_cache.
1561 * toolbar-x.c (x_output_toolbar): call redisplay_clear_region
1562 instead of the devmeth.
1563 (x_clear_toolbar): ditto.
1565 * redisplay-x.c (x_output_display_block): call
1566 redisplay_output_subwindow for subwindows and widgets.
1568 * redisplay-tty.c (tty_output_display_block): add IMAGE_WIDGET to
1569 types to do nothing for.
1571 * lisp.h: declare new widget/subwindow symbols.
1573 * glyphs.c (image_instantiate): cache subwindows on a per-window
1575 (subwindow_possible_dest_types): new function for subwindow dest
1577 (subwindow_instantiate): generic instantiation of a
1578 subwindow. specialised by device multi-methods.
1579 (Fsubwindowp): moved from glyphs-x.c. adapted for glyph-based
1581 (Fimage_instance_subwindow_id): ditto.
1582 (Fresize_subwindow): ditto.
1583 (Fforce_subwindow_map): ditto.
1585 * glyphs-x.c (x_print_image_instance): remove subwindow
1586 stuff. Handled genrically in glyphs.c.
1587 (x_image_instance_equal): ditto.
1588 (x_image_instance_hash): ditto.
1589 (x_finalize_image_instance): delete subwindows when required.
1590 (mark_subwindow) (print_subwindow) (finalize_subwindow)
1591 (subwindow_hash) (Fmake_subwindow): deleted because of new,
1592 glyph-based, subwindow implementation.
1593 (Fsubwindow_height) (Fsubwindow_width) (Fsubwindow_xid): aliased
1595 (Fsubwindowp) (Fresize_subwindow) (Fforce_subwindow_map): moved to
1597 (x_unmap_subwindow): new function to unmap X subwindows.
1598 (x_map_subwindow): new function to map X subwindows.
1599 (x_subwindow_instantiate): new function to instantiate X
1601 (x_resize_subwindow): new function to resize X subwindows.
1602 (console_type_create_glyphs_x): add subwindow functions.
1603 (image_instantiator_format_create_glyphs_x): add device
1604 multi-methods for xpm, xbm and subwindow.
1606 * glyphs.el (subwindow-xid): old alias for new subwindow functions.
1607 (subwindow-width): ditto.
1608 (subwindow-height): ditto.
1610 * glyphs-msw.c (mswindows_widget_instantiate): new function for
1611 generally instantiating ms subwindows. Used by
1612 mswindows_*_instantiate.
1613 (mswindows_edit_instantiate): instantiate an edit field on a
1616 1998-11-04 Andy Piper <andy@xemacs.org>
1618 * symsinit.h: declare new functions.
1620 * redisplay.h: declare new functions.
1622 * redisplay-x.c (x_output_display_block): call
1623 redisplay_clear_region rather than x_clear_region.
1624 (x_output_string): ditto.
1625 (x_output_pixmap): ditto.
1626 (x_clear_to_window_end): ditto.
1627 (x_output_eol_cursor): ditto.
1628 (x_clear_region): only do X specific things. other duties handled
1629 in redisplay_clear_region.
1631 * redisplay-tty.c (tty_clear_region): do tty specific things - some
1632 duties moved to redisplay_clear_region.
1634 * redisplay-output.c (clear_left_border): use
1635 redisplay_clear_region instead of device method.
1636 (clear_right_border): ditto.
1637 (output_display_line): ditto.
1638 (redisplay_output_subwindow): ditto.
1639 (redisplay_clear_top_of_window): ditto.
1640 (redisplay_clear_region): perform duties previously handled by
1641 device methods. call the appropriate device method at the
1642 end. unmap subwindows if necessary.
1644 * redisplay-msw.c (mswindows_output_string): use
1645 redisplay_clear_region instead of mswindows_clear_region.
1646 (mswindows_clear_to_window_end): ditto.
1647 (mswindows_output_display_block): output subwindows when required.
1648 (mswindows_clear_region): only do mswindows specific things,
1649 everything else is now handled in redisplay_clear_region.
1651 * gui.h: add item id hash defines and declare function prototypes.
1653 * gui.c (mark_gui_item): new function for marking gui_items.
1654 (gui_item_hash): generic hash function for generating command ids
1657 * gui-msw.c: new file.
1658 (mswindows_handle_gui_wm_command): new function to handle widget
1661 * glyphs.h (MAYBE_IIFORMAT_DEVMETH): new function for device
1663 (IIFORMAT_HAS_SHARED_METHOD): ditto.
1664 (DEFINE_DEVICE_IIFORMAT): ditto.
1665 (INITIALIZE_DEVICE_IIFORMAT): ditto.
1666 (struct Lisp_Image_Instance): add widget and subwindow data plus
1667 appropriate access functions.
1669 * glyphs.c (decode_device_ii_format): new function for decoding
1670 image instantiator functions based on a device type as well as an
1672 (decode_image_instantiator_format): just call
1673 decode_device_ii_format with nil device.
1674 (add_entry_to_device_ii_format_list): new function for per device
1676 (add_entry_to_image_instantiator_format_list): just call
1677 add_entry_to_device_ii_format_list with nil device.
1678 (check_valid_vector): new function.
1679 (instantiate_image_instantiator): instantiate using per-format
1680 method and then per-format-per-device method (device
1681 multi-methods). signal an error if neither is possible.
1682 (mark_image_instance): cope with subwindows and widgets.
1683 (print_image_instance): ditto.
1684 (image_instance_equal): ditto.
1685 (image_instance_hash): ditto.
1686 (allocate_glyph): ditto.
1687 (glyph_width): ditto.
1688 (glyph_height_internal): ditto.
1689 (xpm_instantiate): removed because of device multi-methods.
1690 (mark_subwindow_cachels): new cachel functions for caching
1691 instantiated subwindows on a per-frame basis. mostly copied from
1692 glyph cachel functions.
1693 (update_subwindow_cachel_data): ditto.
1694 (add_subwindow_cachel): ditto.
1695 (get_subwindow_cachel_index): ditto.
1696 (reset_subwindow_cachels): ditto.
1697 (mark_subwindow_cachels_as_not_updated): ditto.
1698 (unmap_subwindow): generic unmapping of subwindows based on cachel
1700 (map_subwindow): ditto.
1701 (initialize_subwindow_image_instance): generic initialisation of
1703 (syms_of_glyphs): add widget keywords.
1705 * glyphs-x.h (struct x_subwindow_data): convert Lisp_Subwindow to
1708 1998-11-04 Andy Piper <andy@xemacs.org>
1710 * glyphs-widget.c: new file for instantiating widget type glyphs.
1711 (widget_possible_dest_types): new general dest type function for
1713 (widget_validate): ditto.
1714 (initialize_widget_image_instance): ditto
1715 (widget_instantiate): ditto. Sets up fg/bg, gui_item parsing
1716 before handing on control to device multi-methods.
1717 (syms_of_glyphs_widget): new function.
1718 (image_instantiator_format_create_glyphs_widget): new function,
1719 added placeholders for button, edit, combo, scrollbar
1720 (vars_of_glyphs_widget): new function.
1722 * glyphs-msw.h (WIDGET_INSTANCE_MSWINDOWS_HANDLE): new define for
1723 storing window ids of widgets.
1725 * glyphs-msw.c (mswindows_finalize_image_instance): cope with
1726 deletion of widget and subwindow glyphs.
1727 (mswindows_unmap_subwindow): new device function for unmapping
1728 subwindows on a msw frame.
1729 (mswindows_map_subwindow): ditto.
1730 (mswindows_register_image_instance): register instantiated widgets
1731 with the widget hastable.
1732 (mswindows_button_instantiate): instantiate a button type widget
1734 (mswindows_subwindow_instantiate): instanttiate a subwindow on a
1736 (image_instantiator_format_create_glyphs_mswindows): add device
1737 multi-methods for xbm, xpm, subwindow, edit and button.
1739 * frame.h (struct frame): add subwindow_cachels dynarr for caching
1740 information about subwindows visible on the current frame. used by
1741 redisplay_clear_region to unmap subwindows as required.
1743 * frame.c (mark_frame): mark subwindow_cachels.
1744 (allocate_frame_core): instantiate subwindow_cachels.
1746 * frame-msw.c (mswindows_init_frame_1): instntiate and mark the
1749 * event-msw.c (mswindows_wnd_proc): add call to
1750 mswindows_handle_gui_wm_command to handle widget callbacks.
1752 * emacs.c (main_1): add calls to glyphs-widget initialisation
1755 * console.h (struct console_methods): add
1756 unmap/map_subwindow_method for use be redisplay_clear_region to
1757 map and unmap subwindows. Remove xpm and xbm stuff - now dealt
1758 with by image instantiator multi-methods. Add
1759 resize_subwindow_method.
1761 * console-stream.c (stream_clear_region): change signature to
1762 match new generic clear region function.
1764 * Makefile.in.in: add glyphs-widget.o to list of objects.
1766 * console-msw.h (struct mswindows_frame): add widget hashtable for
1767 wiring command ids to callbacks.
1769 1998-12-16 Andy Piper <andy@xemacs.org>
1771 * XEmacs 21.2.6 is released
1773 1998-12-08 Hrvoje Niksic <hniksic@srce.hr>
1775 * md5.c (Fmd5): Correctly initiate string input stream.
1777 * Makefile.in.in (tests): Add md5-tests.el.
1779 1998-12-06 Martin Buchholz <martin@xemacs.org>
1782 * alloc.c (make_vector): remove travesty
1786 (make_bit_vector_internal):
1788 (make_bit_vector_from_byte_vector):
1790 - make vector_equal a little faster.
1791 - Don't use variable name `new'.
1792 - Use size_t instead of EMACS_INT.
1793 - usual Martin-style pointless bit-twiddling.
1799 Make mapcar faster. In particular, make
1800 (mapc #'identity long-string)
1801 MUCH faster under Mule.
1802 * tests/automated/lisp-tests.el: Test 'em!
1804 1998-12-06 Martin Buchholz <martin@xemacs.org>
1806 * bytecode.c (Ffetch_bytecode): Fix crash when loading lazy-loaded
1809 1998-12-13 Martin Buchholz <martin@xemacs.org>
1811 * console-msw.c: Function definitions follow coding standards
1812 - This prevents e.g. find-tag on Lisp_Event finding DEVENT
1814 1998-12-11 Martin Buchholz <martin@xemacs.org>
1816 * events.h (struct timeout_data):
1817 * event-tty.c (tty_timeout_to_emacs_event):
1818 * event-msw.c (mswindows_wm_timer_callback):
1819 * event-Xt.c (Xt_timeout_to_emacs_event):
1820 * event-msw.c (mswindows_cancel_dispatch_event):
1821 Make sure Lisp_Objects inside events are initialized to Qnil, not
1822 Qnull_pointer, which is now illegal.
1824 1998-12-10 Martin Buchholz <martin@xemacs.org>
1826 * lisp.h: Fix up prototypes to match alloc.c
1828 1998-12-09 Andy Piper <andy@xemacs.org>
1830 * glyphs-msw.c (init_image_instance_from_xbm_inline): don't use
1831 XSETINT for assigning lisp objects.
1833 1998-12-07 Martin Buchholz <martin@xemacs.org>
1836 * console-msw.c (DHEADER):
1845 - max_align_t should not be visible to the user of the
1847 - use Bufbyte instead of char
1848 - parens around (FOOP (obj)) are always redundant.
1849 If they were necessary, we should fix the macro instead.
1850 - Always use string_data(foo) instead of foo->data.
1852 1998-12-07 Martin Buchholz <martin@xemacs.org>
1854 * sysdep.c (set_descriptor_non_blocking):
1855 Since O_NONBLOCK is now always #defined, make use of fcntl
1856 conditional on F_SETFL being defined.
1858 1998-12-09 Andy Piper <andy@xemacs.org>
1860 * menubar-msw.c (mswindows_handle_wm_command): add back in checks
1861 that got removed in the merge
1863 1998-11-30 Greg Klanderman <greg@alphatech.com>
1865 * dired.c (vars_of_dired): bugfix for previous conditionalization
1866 of user-name-completion on non- Windows NT.
1868 1998-12-08 Martin Buchholz <martin@xemacs.org>
1870 * windowsnt.h: Remove `support' for using index and rindex
1872 * filelock.c (current_lock_owner):
1873 - Change uses of index -> strchr, rindex -> strrchr
1875 1998-12-06 Martin Buchholz <martin@xemacs.org>
1877 * frame-msw.c (mswindows_init_frame_1):
1878 - use make_lisp_hash_table, not Fmake_hash_table
1881 1998-12-05 XEmacs Build Bot <builds@cvs.xemacs.org>
1883 * XEmacs 21.2.5 is released
1885 1998-11-30 Martin Buchholz <martin@xemacs.org>
1887 * xselect.c (receive_incremental_selection):
1888 * xselect.c (x_get_window_property):
1889 * xmu.c (XmuReadBitmapDataFromFile):
1890 * xmu.c (XmuCursorNameToIndex):
1891 * xgccache.c (describe_gc_cache):
1892 * xgccache.c (gc_cache_lookup):
1893 * xgccache.c (free_gc_cache):
1894 * xgccache.c (make_gc_cache):
1896 * window.c (map_windows_1):
1897 * window.c (Fother_window_for_scrolling):
1898 * window.c (window_scroll):
1899 * window.c (change_window_height):
1900 * window.c (Fsplit_window):
1901 * window.c (window_left_gutter_width):
1902 * window.c (window_modeline_height):
1903 * window.c (invalidate_vertical_divider_cache_in_window):
1904 * window.c (window_needs_vertical_divider_1):
1905 * window.c (update_mirror_internal):
1906 * window.c (SET_LAST_FACECHANGE):
1907 * widget.c (Fwidget_plist_member):
1908 * unexec.c (copy_text_and_data):
1909 * unexcw.c (copy_executable_and_dump_data_section):
1911 * tooltalk.c (struct Lisp_Tooltalk_Pattern):
1912 * tooltalk.c (struct Lisp_Tooltalk_Message):
1913 * toolbar.h (struct toolbar_button):
1914 * toolbar.c (default_toolbar_visible_p_changed_in_window):
1915 * toolbar.c (recompute_overlaying_specifier):
1916 * toolbar.c (toolbar_validate):
1917 * toolbar.c (toolbar_button_at_pixpos):
1918 * toolbar.c (get_toolbar_coords):
1919 * toolbar.c (update_frame_toolbars):
1921 * toolbar-msw.c (mswindows_handle_toolbar_wm_command):
1922 * toolbar-msw.c (mswindows_find_toolbar_pos):
1923 * toolbar-msw.c (mswindows_output_toolbar):
1924 * toolbar-msw.c (mswindows_clear_toolbar):
1933 * sysdep.c (sys_fopen):
1934 * sysdep.c (sys_open):
1935 * sysdep.c (tty_init_sys_modes_on_device):
1936 * sysdep.c (get_eof_char):
1937 * sysdep.c (child_setup_tty):
1938 * sysdep.c (set_descriptor_non_blocking):
1940 * syntax.c (scan_words):
1943 * symeval.h (struct symbol_value_varalias):
1944 * symeval.h (struct symbol_value_forward):
1945 * symbols.c (syms_of_symbols):
1946 * symbols.c (init_symbols_once_early):
1947 * symbols.c (Fbuilt_in_variable_type):
1948 * symbols.c (Fsymbol_value_in_buffer):
1949 * symbols.c (default_value):
1951 * symbols.c (find_symbol_value_quickly):
1952 * symbols.c (store_symval_forwarding):
1953 * symbols.c (set_default_console_slot_variable):
1954 * symbols.c (set_default_buffer_slot_variable):
1955 * symbols.c (verify_ok_for_buffer_local):
1956 * symbols.c (symbol_is_constant):
1957 * symbols.c (oblookup):
1958 * symbols.c (Funintern):
1959 * symbols.c (Fintern):
1960 * symbols.c (check_obarray):
1962 * specifier.h (struct specifier_methods):
1964 * specifier.c (specifier_instance):
1965 * specifier.c (specifier_instance_from_inst_list):
1966 * specifier.c (decode_locale_type):
1967 * specifier.c (specifier_equal):
1968 * specifier.c (finalize_specifier):
1969 * specifier.c (prune_specifiers):
1970 * specifier.c (kill_specifier_buffer_locals):
1971 * sound.c (init_native_sound):
1974 * search.c (Fmatch_data):
1975 * search.c (match_limit):
1976 * search.c (Freplace_match):
1977 * search.c (skip_chars):
1978 * search.c (scan_buffer):
1980 * scrollbar.c (specifier_vars_of_scrollbar):
1981 * scrollbar.c (Fscrollbar_set_hscroll):
1982 * scrollbar.c (vertical_scrollbar_changed_in_window):
1983 * scrollbar.c (release_window_mirror_scrollbars):
1984 * scrollbar.c (free_scrollbar_instance):
1987 * s/msdos.h (O_BINARY):
1989 * s/freebsd.h (LIBS_TERMCAP):
1990 * regex.c (re_match_2_internal):
1991 * regex.c (compile_extended_range):
1992 * regex.c (POP_FAILURE_POINT):
1993 * regex.c (PUSH_FAILURE_POINT):
1994 * redisplay.h (RESET_CHANGED_SET_FLAGS):
1996 * redisplay.h (struct display_line):
1997 * redisplay.h (struct rune):
1998 * redisplay.c (vars_of_redisplay):
1999 * redisplay.c (redisplay_variable_changed):
2000 * redisplay.c (UPDATE_CACHE_RETURN):
2001 * redisplay.c (validate_line_start_cache):
2002 * redisplay.c (mark_redisplay_structs):
2003 * redisplay.c (mark_glyph_block_dynarr):
2004 * redisplay.c (window_line_number):
2005 * redisplay.c (redisplay_frame):
2006 * redisplay.c (redisplay_window):
2007 * redisplay.c (generate_modeline):
2008 * redisplay.c (create_right_glyph_block):
2009 * redisplay.c (create_left_glyph_block):
2010 * redisplay.c (create_text_block):
2012 * redisplay-x.c (x_output_hline):
2013 * redisplay-x.c (x_output_vertical_divider):
2014 * redisplay-tty.c (tty_output_display_block):
2015 * redisplay-output.c (output_display_line):
2016 * redisplay-output.c:
2017 * redisplay-msw.c (mswindows_output_vertical_divider):
2018 * redisplay-msw.c (mswindows_ring_bell):
2019 * redisplay-msw.c (mswindows_output_cursor):
2023 * puresize.h (RAW_PURESIZE):
2024 * profile.c (syms_of_profile):
2025 * profile.c (Fstart_profiling):
2026 * profile.c (sigprof_handler):
2029 * process.c (vars_of_process):
2030 * process.c (read_process_output):
2031 * process.c (get_process):
2033 * process-unix.c (unix_open_multicast_group):
2034 * process-unix.c (unix_get_tty_name):
2035 * process-unix.c (unix_send_process):
2036 * process-unix.c (unix_reap_exited_processes):
2037 * process-unix.c (unix_create_process):
2038 * process-unix.c (unix_init_process_io_handles):
2039 * process-unix.c (allocate_pty):
2041 * process-nt.c (nt_open_network_stream):
2042 * process-nt.c (nt_update_status_if_terminated):
2043 * process-nt.c (nt_finalize_process_data):
2045 * print.c (debug_short_backtrace):
2046 * print.c (debug_backtrace):
2047 * print.c (print_symbol):
2048 * print.c (print_internal):
2049 * print.c (print_cons):
2050 * print.c (Fwrite_char):
2051 * print.c (print_prepare):
2052 * print.c (canonicalize_printcharfun):
2053 * print.c (output_string):
2056 * opaque.c (allocate_managed_opaque):
2058 * offix.c (DndSetData):
2059 * objects.c (face_boolean_create):
2060 * objects.c (font_instantiate):
2061 * objects.c (font_create):
2062 * objects.c (color_create):
2063 * objects.c (finalize_font_instance):
2064 * objects.c (finalize_color_instance):
2066 * objects-x.c (x_font_instance_truename):
2068 * objects-x.c (x_initialize_font_instance):
2069 * objects-x.c (allocate_nearest_color):
2070 * objects-tty.c (tty_initialize_font_instance):
2071 * objects-tty.c (tty_initialize_color_instance):
2072 * objects-msw.c (mswindows_initialize_color_instance):
2073 * ntproc.c (syms_of_ntproc):
2074 * ntproc.c (Fwin32_set_process_priority):
2075 * ntproc.c (sys_spawnve):
2077 * ntheap.c (get_data_end):
2081 * nt.c (generate_inode_val):
2082 * nt.c (sys_rename):
2084 * mule-wnnfns.c (Fwnn_hinsi_number):
2085 * mule-wnnfns.c (Fwnn_yuragi):
2086 * mule-wnnfns.c (Fwnn_common_learn):
2087 * mule-wnnfns.c (Fwnn_suffix_learn):
2088 * mule-wnnfns.c (Fwnn_prefix_learn):
2089 * mule-wnnfns.c (Fwnn_okuri_learn):
2090 * mule-wnnfns.c (Fwnn_complex_conv):
2091 * mule-wnnfns.c (Fwnn_last_is_first):
2092 * mule-wnnfns.c (Fwnn_bmodify_dict_add):
2093 * mule-wnnfns.c (Fwnn_notrans_dict_add):
2094 * mule-wnnfns.c (Fwnn_fiusr_dict_add):
2095 * mule-wnnfns.c (Fwnn_fisys_dict_add):
2096 * mule-wnnfns.c (Fwnn_hinsi_list):
2097 * mule-wnnfns.c (Fwnn_fuzokugo_set):
2098 * mule-wnnfns.c (Fwnn_dict_search):
2099 * mule-wnnfns.c (Fwnn_word_toroku):
2100 * mule-wnnfns.c (Fwnn_hindo_update):
2101 * mule-wnnfns.c (Fwnn_bunsetu_henkou):
2102 * mule-wnnfns.c (Fwnn_kakutei):
2103 * mule-wnnfns.c (Fwnn_begin_henkan):
2104 * mule-wnnfns.c (Fwnn_dict_comment):
2105 * mule-wnnfns.c (Fwnn_dict_add):
2106 * mule-wnnfns.c (Fwnn_open):
2107 * mule-mcpath.c (mc_getcwd):
2108 * mule-coding.c (vars_of_mule_coding):
2109 * mule-coding.c (convert_to_external_format):
2110 * mule-coding.c (encoding_marker):
2111 * mule-coding.c (decoding_marker):
2112 * mule-coding.c (Fcopy_coding_system):
2113 * mule-coding.c (Fmake_coding_system):
2114 * mule-coding.c (Fcoding_system_list):
2115 * mule-coding.c (Ffind_coding_system):
2116 * mule-coding.c (symbol_to_eol_type):
2118 * mule-charset.c (complex_vars_of_mule_charset):
2119 * mule-charset.c (vars_of_mule_charset):
2120 * mule-charset.c (Fset_charset_ccl_program):
2121 * mule-charset.c (struct charset_list_closure):
2122 * mule-charset.c (Ffind_charset):
2123 * mule-charset.c (make_charset):
2124 * mule-charset.c (non_ascii_valid_char_p):
2126 * mule-ccl.c (ccl_driver):
2127 * mule-canna.c (c2mu):
2128 * mule-canna.c (Fcanna_henkan_begin):
2129 * mule-canna.c (Fcanna_parse):
2130 * mule-canna.c (Fcanna_store_yomi):
2131 * mule-canna.c (Fcanna_touroku_string):
2132 * mule-canna.c (Fcanna_initialize):
2134 * menubar.c (menu_parse_submenu_keywords):
2135 * menubar-x.c (make_dummy_xbutton_event):
2136 * menubar-x.c (set_frame_menubar):
2137 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
2140 * menubar-msw.c (mswindows_popup_menu):
2141 * menubar-msw.c (mswindows_update_frame_menubars):
2142 * menubar-msw.c (mswindows_handle_wm_command):
2143 * menubar-msw.c (unsafe_handle_wm_initmenu_1):
2144 * menubar-msw.c (unsafe_handle_wm_initmenupopup_1):
2145 * menubar-msw.c (update_frame_menubar_maybe):
2146 * menubar-msw.c (populate_or_checksum_helper):
2147 * menubar-msw.c (empty_menu):
2150 * marker.c (set_marker_internal):
2151 * marker.c (print_marker):
2154 * lstream.c (lisp_buffer_rewinder):
2155 * lstream.c (mark_lstream):
2157 * lrecord.h (struct lrecord_header):
2158 * lread.c (readevalloop):
2159 * lread.c (locate_file):
2160 * lread.c (locate_file_in_directory):
2161 * lread.c (Flocate_file):
2162 * lread.c (load_force_doc_string_unwind):
2163 * lread.c (ebolify_bytecode_constants):
2168 * linuxplay.c (linux_play_data_or_file):
2169 * linuxplay.c (audio_init):
2172 * keymap.c (describe_map):
2173 * keymap.c (describe_map_mapper):
2174 * keymap.c (Fdescribe_bindings_internal):
2175 * keymap.c (Fsingle_key_description):
2176 * keymap.c (map_keymap_sorted):
2177 * keymap.c (get_relevant_keymaps):
2178 * keymap.c (Flookup_key):
2179 * keymap.c (raw_lookup_key_mapper):
2180 * keymap.c (Fdefine_key):
2181 * keymap.c (Fevent_matches_key_specifier_p):
2182 * keymap.c (key_desc_list_to_event):
2183 * keymap.c (define_key_parser):
2184 * keymap.c (define_key_check_and_coerce_keysym):
2185 * keymap.c (keymap_submaps):
2186 * keymap.c (keymap_store_internal):
2187 * keymap.c (keymap_delete_inverse_internal):
2188 * keymap.c (keymap_store_inverse_internal):
2189 * keymap.c (print_keymap):
2190 * keymap.c (Lisp_Keymap):
2193 * insdel.c (convert_bufbyte_string_into_emchar_dynarr):
2194 * insdel.c (make_gap):
2195 * input-method-xlib.c (get_XIM_input):
2196 * input-method-xlib.c (XIM_init_frame):
2201 * gui-x.c (button_item_to_widget_value):
2202 * gui-x.c (popup_selection_callback):
2203 * glyphs.h (struct image_instantiator_methods):
2204 * glyphs.c (mark_glyph_cachels):
2205 * glyphs.c (Fglyph_type):
2206 * glyphs.c (image_instantiate):
2207 * glyphs.c (image_create):
2208 * glyphs.c (make_image_instance_1):
2209 * glyphs.c (finalize_image_instance):
2211 * glyphs-x.c (finalize_subwindow):
2212 * glyphs-x.c (xface_validate):
2213 * glyphs-x.c (x_locate_pixmap_file):
2214 * glyphs-x.c (convert_EImage_to_XImage):
2216 * glyphs-msw.c (mswindows_resource_instantiate):
2217 * glyphs-msw.c (xpm_to_eimage):
2218 * glyphs-msw.c (convert_EImage_to_DIBitmap):
2219 * glyphs-eimage.c (tiff_instantiate):
2220 * glyphs-eimage.c (png_instantiate):
2221 * glyphs-eimage.c (struct png_error_struct):
2222 * glyphs-eimage.c (gif_memory_storage):
2225 * getloadavg.c (getloadavg):
2228 * free-hook.c (log_gcpro):
2229 * free-hook.c (check_malloc):
2230 * free-hook.c (check_free):
2231 * free-hook.c (ROUND_UP_TO_PAGE):
2233 * frame.h (struct frame):
2235 * frame.c (change_frame_size_1):
2236 * frame.c (allocate_frame_core):
2238 * frame-x.c (x_focus_on_frame):
2239 * frame-x.c (x_init_frame_2):
2240 * frame-x.c (x_popup_frame):
2241 * frame-x.c (xemacs_XtPopup):
2243 * frame-x.c (Foffix_start_drag_internal):
2244 * frame-x.c (x_cde_destroy_callback):
2245 * frame-x.c (x_wm_hack_wm_protocols):
2246 * frame-tty.c (tty_frame_visible_p):
2247 * frame-msw.c (mswindows_make_frame_invisible):
2248 * frame-msw.c (mswindows_after_init_frame):
2249 * frame-msw.c (mswindows_init_frame_1):
2250 * fns.c (syms_of_fns):
2251 * fns.c (Fbase64_decode_string):
2253 * fns.c (Ffillarray):
2254 * fns.c (Fobject_plist):
2256 * fns.c (Fcanonicalize_lax_plist):
2257 * fns.c (Fcanonicalize_plist):
2258 * fns.c (Fplist_remprop):
2259 * fns.c (Fplist_get):
2260 * fns.c (advance_plist_pointers):
2261 * fns.c (internal_plist_put):
2262 * fns.c (Fnreverse):
2265 * fns.c (Fsubstring):
2266 * fns.c (Fbvconcat):
2268 * fns.c (length_with_bytecode_hack):
2269 * fns.c (print_bit_vector):
2271 * floatfns.c (Ffloor):
2273 * floatfns.c (in_float_error):
2274 * fileio.c (Ffile_modes):
2275 * fileio.c (Fexpand_file_name):
2276 * fileio.c (Fmake_temp_name):
2277 * fileio.c (Ffile_name_nondirectory):
2278 * fileio.c (Ffile_name_directory):
2280 * file-coding.c (vars_of_mule_coding):
2281 * file-coding.c (convert_to_external_format):
2282 * file-coding.c (encoding_marker):
2283 * file-coding.c (decoding_marker):
2284 * file-coding.c (Fcopy_coding_system):
2285 * file-coding.c (Fmake_coding_system):
2286 * file-coding.c (struct coding_system_list_closure):
2287 * file-coding.c (Ffind_coding_system):
2288 * file-coding.c (symbol_to_eol_type):
2290 * faces.h (struct face_cachel):
2291 * faces.c (vars_of_faces):
2292 * faces.c (face_property_was_changed):
2293 * faces.c (mark_face_cachels):
2294 * faces.c (temporary_faces_list):
2295 * faces.c (struct face_list_closure):
2297 * extents.h (struct extent):
2298 * extents.c (vars_of_extents):
2299 * extents.c (struct copy_string_extents_1_arg):
2300 * extents.c (add_string_extents_mapper):
2301 * extents.c (Fextent_property):
2302 * extents.c (Fset_extent_property):
2303 * extents.c (symbol_to_glyph_layout):
2304 * extents.c (properties_equal):
2305 * extents.c (print_extent):
2306 * extents.c (print_extent_1):
2307 * extents.c (extent_in_region_p):
2308 * extents.c (gap_array_make_gap):
2310 * events.h (struct Lisp_Event):
2312 * events.c (Fevent_properties):
2313 * events.c (format_event_object):
2314 * events.c (Fmake_event):
2315 * events.c (event_equal):
2316 * events.c (print_event):
2317 * events.c (mark_event):
2318 * event-stream.c ((read-char)
2319 * event-stream.c (vars_of_event_stream):
2320 * event-stream.c (syms_of_event_stream):
2321 * event-stream.c (Fset_recent_keys_ring_size):
2322 * event-stream.c (Fsit_for):
2323 * event-stream.c (Fnext_event):
2324 * event-stream.c (execute_help_form):
2325 * event-stream.c (maybe_kbd_translate):
2327 * event-msw.c (vars_of_event_mswindows):
2328 * event-msw.c (mswindows_wnd_proc):
2329 * event-msw.c (mswindows_need_event):
2330 * event-msw.c (mswindows_drain_windows_queue):
2331 * event-msw.c (mswindows_pump_outstanding_events):
2333 * event-msw.c (slurp_thread):
2334 * event-msw.c (struct ntpipe_slurp_stream):
2335 * event-msw.c (HANDLE_TO_USID):
2336 * event-Xt.c (emacs_Xt_handle_magic_event):
2337 * event-Xt.c (x_event_to_emacs_event):
2338 * event-Xt.c (x_reset_modifier_mapping):
2339 * event-Xt.c (x_reset_key_mapping):
2341 * eval.c (syms_of_eval):
2342 * eval.c (warn_when_safe):
2343 * eval.c (warn_when_safe_lispobj):
2344 * eval.c (Fbacktrace_frame):
2345 * eval.c (Fbacktrace):
2346 * eval.c (top_level_set):
2347 * eval.c (unbind_to_hairy):
2348 * eval.c (specbind_magic):
2349 * eval.c (specbind_unwind_wasnt_local):
2350 * eval.c (call2_trapping_errors):
2351 * eval.c (call1_trapping_errors):
2352 * eval.c (catch_them_squirmers_call2):
2353 * eval.c (call0_trapping_errors):
2354 * eval.c (run_hook_trapping_errors):
2355 * eval.c (catch_them_squirmers_eval_in_buffer):
2356 * eval.c (call4_in_buffer):
2357 * eval.c (call3_in_buffer):
2358 * eval.c (call2_in_buffer):
2359 * eval.c (call1_in_buffer):
2360 * eval.c (call0_in_buffer):
2361 * eval.c (run_hook):
2362 * eval.c (run_hook_with_args_in_buffer):
2365 * eval.c (do_autoload):
2366 * eval.c (un_autoload):
2367 * eval.c (Fautoload):
2368 * eval.c (Finteractive_p):
2369 * eval.c (Fcommand_execute):
2370 * eval.c (signal_quit):
2371 * eval.c (call_with_suspended_errors):
2372 * eval.c (signal_error):
2373 * eval.c (return_from_signal):
2374 * eval.c (Fcall_with_condition_handler):
2375 * eval.c (run_condition_case_handlers):
2376 * eval.c (condition_case_1):
2377 * eval.c (Funwind_protect):
2378 * eval.c (unwind_to_catch):
2379 * eval.c (internal_catch):
2380 * eval.c (Fmacroexpand_internal):
2381 * eval.c (Fuser_variable_p):
2382 * eval.c (Fdefconst):
2384 * eval.c (Ffunction):
2385 * eval.c (signal_call_debugger):
2386 * eval.c (call_debugger):
2389 * emacs.c (sort_args):
2393 * editfns.c (Fencode_time):
2394 * editfns.c (Fdecode_time):
2395 * editfns.c (Fuser_full_name):
2397 * editfns.c (save_excursion_restore):
2400 * doprnt.c (emacs_doprnt_1):
2401 * doc.c (verify_doc_mapper):
2402 * doc.c (Fsnarf_documentation):
2403 * doc.c (Fdocumentation):
2405 * dired.c (user_name_completion):
2406 * dired.c (Fdirectory_files):
2409 * dgif_lib.c (FreeSavedImages):
2410 * dgif_lib.c (DGifGetImageDesc):
2412 * device.h (struct device):
2413 * device.c (Fselect_device):
2414 * device.c (allocate_device):
2416 * device-x.c (Fx_keysym_on_keyboard_p):
2417 * device-x.c (Fx_valid_keysym_name_p):
2418 * device-x.c (x_IO_error_handler):
2419 * device-x.c (x_delete_device):
2420 * device-x.c (x_finish_init_device):
2421 * device-x.c (x_init_device):
2423 * device-msw.c (mswindows_init_device):
2425 * database.c (vars_of_database):
2426 * database.c (Fput_database):
2427 * database.c (Fopen_database):
2428 * database.c (berkdb_remove):
2429 * database.c (berkdb_put):
2430 * database.c (Fdatabasep):
2431 * database.c (print_database):
2433 * data.c (vars_of_data):
2434 * data.c (syms_of_data):
2435 * data.c (init_errors_once_early):
2436 * data.c (prune_weak_lists):
2437 * data.c (finish_marking_weak_lists):
2438 * data.c (print_weak_list):
2440 * data.c (Fstring_to_number):
2441 * data.c (Fnumber_to_string):
2442 * data.c (Findirect_function):
2445 * data.c (Fsubr_interactive):
2447 * data.c (Fkeywordp):
2450 * console.h (CONSOLE_NAME):
2452 * console.c (vars_of_console):
2453 * console.c (Fselect_console):
2455 * console-x.h (DEVICE_X_COLORMAP):
2456 * console-x.h (struct x_device):
2457 * console-x.c (x_device_to_console_connection):
2458 * console-tty.h (CONSOLE_TTY_FINAL_CURSOR_Y):
2459 * console-tty.c (tty_init_console):
2461 * console-msw.h (struct mswindows_frame):
2464 * cmds.c (internal_self_insert):
2465 * cmds.c (Fforward_line):
2466 * cmds.c (Fforward_char):
2469 * chartab.c (mark_char_table_entry):
2471 * casefiddle.c (casify_word):
2472 * callproc.c (child_setup):
2473 * callproc.c (Fcall_process_internal):
2475 * callint.c (Fcall_interactively):
2477 * bytecode.c (execute_rare_opcode):
2478 * bytecode.c (execute_optimized_program):
2481 * buffer.h (BUFFER_REALLOC):
2482 * buffer.h (GET_CHARPTR_INT_DATA_ALLOCA):
2483 * buffer.h (GET_CHARPTR_EXT_DATA_ALLOCA):
2485 * buffer.h (MAP_INDIRECT_BUFFERS):
2486 * buffer.h (CHECK_LIVE_BUFFER):
2487 * buffer.c (init_initial_directory):
2488 * buffer.c (complex_vars_of_buffer):
2489 * buffer.c (vars_of_buffer):
2490 * buffer.c (finish_init_buffer):
2491 * buffer.c (Fget_file_buffer):
2492 * buffer.c (Fbuffer_list):
2493 * buffer.c (mark_buffer):
2494 * balloon_help.c (balloon_help_move_to_pointer):
2495 * balloon_help.c (show_help):
2498 * alloc.c (garbage_collect_1):
2499 * alloc.c (sweep_strings):
2500 * alloc.c (sweep_compiled_functions):
2501 * alloc.c (sweep_bit_vectors_1):
2502 * alloc.c (sweep_vectors_1):
2503 * alloc.c (sweep_lcrecords_1):
2504 * alloc.c (tick_lcrecord_stats):
2505 * alloc.c (pure_string_sizeof):
2506 * alloc.c (mark_conses_in_list):
2507 * alloc.c (mark_object):
2508 * alloc.c (report_pure_usage):
2509 * alloc.c (make_pure_float):
2510 * alloc.c (make_pure_string):
2511 * alloc.c (free_managed_lcrecord):
2512 * alloc.c (mark_string):
2513 * alloc.c (noseeum_make_marker):
2514 * alloc.c (allocate_event):
2515 * alloc.c (Fbit_vector):
2516 * alloc.c (Fvector):
2517 * alloc.c (make_float):
2518 * alloc.c (Fmake_list):
2520 * alloc.c (FREE_FIXED_TYPE_WHEN_NOT_IN_GC):
2521 * alloc.c (PUT_FIXED_TYPE_ON_FREE_LIST):
2522 * alloc.c (DECLARE_FIXED_TYPE_ALLOC):
2523 * alloc.c (dbg_constants):
2524 * alloc.c (gc_record_type_p):
2525 * alloc.c (free_lcrecord):
2526 * alloc.c (xmalloc):
2527 * alloc.c (NOSEEUM_INCREMENT_CONS_COUNTER):
2529 * Makefile.in.in (mostlyclean):
2530 * Makefile.in.in (external_client_xlib_objs_nonshared):
2531 * Makefile.in.in (temacs_link_args):
2532 * Makefile.in.in (release):
2533 * Makefile.in.in (dnd_objs):
2534 * Makefile.in.in (objs):
2535 * Makefile.in.in (PROGNAME):
2536 * EmacsShell.c: cast strings to (XtPointer)
2537 * EmacsFrame.c: cast strings to (XtPointer)
2539 - rewrite basic lisp functions for speed
2540 - rewrite bytecode interpreter for speed
2541 - rewrite list looping constructs for speed and safety using
2543 - use size_t where appropriate.
2544 - new hashtable implementation
2545 - cleanup implementation of opaques
2546 - opaques can now be purecopy'ed
2547 - move some cl functionality into C for speed.
2548 - remove last remaining VMS support
2550 - improve gdb/dbx debugger support
2551 - move pure.c back into alloc.c for performance
2552 - enable report_pure_usage() if --memory-usage-stats
2553 - remove remnants of Energize support (EMACS_BTL, cadillac...)
2554 - don't use symbols with leading `_' or embedded `__'
2555 - globally cleanup duplicated semicolons `;;'
2556 - I give in on %p vs %lx - we use printf("%lx",(long) p)
2558 - globally replace O_NDELAY with O_NONBLOCK.
2559 - globally replace CDISABLE with _POSIX_VDISABLE.
2560 - use O_RDONLY and O_RDWR instead of magic `0' and `2'.
2561 - define (and maybe use!) STDERR_FILENO and friends.
2562 - add support for macros defined in C
2563 - `when', `unless', `not' and `defalias' now defined in C,
2564 so that they are universally available.
2565 - rename defvar_mumble to defvar_magic
2566 - rename RETURN__ to RETURN_SANS_WARNINGS
2567 - use consistent style of initial caps in error messages
2568 - implement last, butlast, nbutlast, copy-list in C.
2569 - provide typedefs for all struct Lisp_foo types
2570 - Lisp_Objects must be initialized to Qnil rather than 0.
2571 - make sure XEmacs runs (slowly) with always_gc == 1;
2572 - fast and safe LOOP_* macros
2573 - change calls to XSETOBJ to XSETFOO
2574 - replace calls to XSETINT by make_int()
2575 - plug up memory leaks
2576 - use style markobj (foo), not silly ((markobj) (foo))
2577 - use XFLOAT_DATA (obj) instead of float_data (XFLOAT (obj))
2579 1998-12-02 P. E. Jareth Hein <jareth@camelot.co.jp>
2581 * unexec.c: Changed a #ifndef statement to fix XEmacs on BSDI 3.0
2583 1998-11-28 SL Baur <steve@altair.xemacs.org>
2585 * XEmacs 21.2-beta4 is released.
2587 1998-11-27 SL Baur <steve@altair.xemacs.org>
2589 * mule-charset.c (complex_vars_of_mule_charset): Fix graphic
2590 property in control-1 charset.
2591 From Julian Bradfield <jcb@daimi.au.dk>
2593 1998-11-26 Jan Vroonhof <vroonhof@math.ethz.ch>
2595 * gui-x.c (button_item_to_widget_value): Ignore :key-sequence
2597 Add stub for :label.
2599 * gui.c (gui_item_add_keyval_pair): ditto.
2601 * menubar-x.c (menu_item_descriptor_to_widget_value_1): Ignore
2602 :key-sequence keyword.
2604 Support :active for submenus like the Windows code and FSF Emacs.
2606 1998-11-27 Hrvoje Niksic <hniksic@srce.hr>
2608 * dired.c (make_directory_hash_table): make_string() is OK because
2609 readdir() Mule-encapsulates.
2611 1998-11-26 Hrvoje Niksic <hniksic@srce.hr>
2613 * fns.c (Fbase64_encode_string): Fix docstring.
2614 (Fbase64_decode_string): Ditto.
2616 1998-11-26 Hrvoje Niksic <hniksic@srce.hr>
2618 * editfns.c (Ftranslate_region): Use
2619 convert_bufbyte_string_into_emchar_string().
2621 1998-11-25 Hrvoje Niksic <hniksic@srce.hr>
2623 * editfns.c (Ftranslate_region): Accept vectors and char-tables as
2625 (Ftranslate_region): Turn table into an array of Emchars for
2628 1998-11-25 Hrvoje Niksic <hniksic@srce.hr>
2630 * chartab.c (Freset_char_table): Fix wrong placement of #endif.
2632 1998-11-24 Hrvoje Niksic <hniksic@srce.hr>
2634 * chartab.c (Freset_char_table): Don't blindly fill chartables of
2635 type `char' with nils.
2637 * chartab.c (canonicalize_char_table_value): Coerce ints to chars
2638 for tables of type `char'.
2640 1998-11-26 Didier Verna <verna@inf.enst.fr>
2642 * input-method-xlib.c (Initialize_Locale): don't call
2643 XtSetLanguageProc. We've done the whole work here.
2644 * input-method-xfs.c (Initialize_Locale): ditto.
2645 * input-method-motif.c (Initialize_Locale): ditto.
2647 1998-11-26 Didier Verna <verna@inf.enst.fr>
2649 * process-unix.c (unix_create_process): handle properly
2650 Vfile_name_coding_system for converting the program and directory
2653 1998-11-27 SL Baur <steve@altair.xemacs.org>
2655 * m/arm.h: New file.
2656 From James LewisMoss <dres@ioa.com>
2658 1998-11-27 Takeshi Hagiwara <hagiwara@ie.niigata-u.ac.jp>
2661 Fix the realpath() problem of UnixWare2.1.3.
2662 Patches for NEC's sysv4.2 machine.
2664 1998-11-25 Hrvoje Niksic <hniksic@srce.hr>
2666 * dired.c (Fdirectory_files): Remove redundant code.
2668 1998-11-25 Hrvoje Niksic <hniksic@srce.hr>
2670 * fns.c (free_malloced_ptr): New function.
2671 (XMALLOC_OR_ALLOCA): New macro.
2672 (XMALLOC_UNBIND): Ditto.
2673 (Fbase64_encode_region): Use malloc() for large blocks; arrange it
2674 to be freed in case of non-local exit.
2675 (Fbase64_encode_string): Ditto.
2676 (Fbase64_decode_region): Ditto.
2677 (Fbase64_decode_string): Ditto.
2678 (STORE_BYTE): New macro.
2679 (base64_decode_1): Use it.
2681 1998-11-25 Hrvoje Niksic <hniksic@srce.hr>
2683 * fns.c (base64_value_to_char): Base64 stuff.
2685 1998-11-24 Hrvoje Niksic <hniksic@srce.hr>
2687 * editfns.c (Fbuffer_substring): New function.
2689 * lisp.h: Declare make_string_from_buffer_no_extents().
2691 * insdel.c (make_string_from_buffer_1): New function.
2692 (make_string_from_buffer_no_extents): Ditto.
2694 1998-11-15 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
2696 * linuxplay.c: Including <fcntl.h> instead of <sys/fcntl.h> makes
2697 sound work on AIX with OSS installed. Linux should still work.
2699 1998-11-03 Andy Piper <andyp@parallax.co.uk>
2701 * config.h.in: name change for cygwin/version.h
2703 * configure.in: check for cygwin/version.h now.
2705 * cygwin32.h: track CYGWIN_DLL_VERSION_MAJOR ->
2706 CYGWIN_VERSION_DLL_MAJOR name change in cygwin b20.
2707 move cygwin32/version.h to cygwin/version.h
2709 1998-11-03 Olivier Galibert <galibert@pobox.com>
2711 * lisp.h (struct Lisp_Bit_Vector): Fix declaration of bits from
2714 1998-10-22 Andy Piper <andyp@parallax.co.uk>
2716 * cygwin32.h: track CYGWIN_DLL_VERSION_MAJOR ->
2717 CYGWIN_VERSION_DLL_MAJOR name change in cygwin b20.
2718 enable BROKEN_SIGIO under b20 to make QUIT work.
2720 1998-10-22 Andy Piper <andyp@parallax.co.uk>
2722 * frame-msw.c (mswindows_size_frame_internal): force frame sizing
2723 to fit within the constraints of the screen size. I.e. make the
2724 frame small enough to fit and move it if some of it will be
2727 1998-10-19 Greg Klanderman <greg@alphatech.com>
2729 * dired.c: conditionalize inclusion of user-name-completion
2730 primitives on non-Windows NT. The needed functions don't exist on NT.
2732 1998-11-24 SL Baur <steve@altair.xemacs.org>
2734 * gifrlib.h: Clean up types for 64 bit compile.
2735 * dgif_lib.c (DGifInitRead): Ditto.
2736 (MakeSavedImage): Ditto.
2737 * emacs.c (decode_path): Ditto.
2738 From Steve Carney <carney@pa.dec.com>
2740 1998-10-16 William M. Perry <wmperry@aventail.com>
2742 * glyphs-msw.c (bitmap_table): Fixed typo in builtin bitmaps
2743 (cehckboxes instead of checkboxes).
2745 1998-10-15 SL Baur <steve@altair.xemacs.org>
2747 * XEmacs 21.2-beta3 is released.
2749 1998-10-13 Raymond Toy <toy@rtp.ericsson.se>
2751 * runemacs.c (WinMain): If the basename is "rungnuclient.exe", run
2752 gnuclient. Otherwise, we run xemacs as we always did. This gets
2753 rid of the annoying DOS window when running gnuclient.
2755 1998-10-13 Andy Piper <andyp@parallax.co.uk>
2757 * dragdrop.c (vars_of_dragdrop): rename HAVE_MSWINDOWS ->
2758 HAVE_MS_WINDOWS typo.
2760 1998-10-13 SL Baur <steve@altair.xemacs.org>
2762 * process-unix.c (unix_send_process): Set closed flag on writable
2763 pipe after SIGPIPE is received and before we call deactivate_process.
2765 1998-10-03 Gunnar Evermann <ge204@eng.cam.ac.uk>
2767 * window.c (Fset_window_start): respect narrowing when
2768 checking wheter start is at the beginning of a line.
2769 (Fset_window_buffer): Ditto
2770 Fixes repeatable crash in VM.
2772 1998-10-09 SL Baur <steve@altair.xemacs.org>
2774 * window.c (specifier_vars_of_window): Set default vertical
2775 divider width to 1 on ttys.
2777 1998-10-08 Martin Buchholz <martin@xemacs.org>
2782 Add <stddef.h> to get ptrdiff_t declaration
2784 1998-10-07 Jonathan Harris <jhar@tardis.ed.ac.uk>
2786 * scrollbar-msw.c: Use the same vertical scrollbar drag hack as
2787 is used for Motif or Lucid scrollbars under X.
2789 1998-10-08 Pierre Wendling <pw@ebc.vbe.dec.com>
2791 * m/alpha.h (UNEXEC): quoted to avoid bad expansion when running
2794 1998-10-06 Takeshi Hagiwara <hagiwara@ie.niigata-u.ac.jp>
2796 * frame-x.c (x_delete_frame): Fix an argument of XtDestroyWidget.
2798 1998-10-05 Andy Piper <andyp@parallax.co.uk>
2800 * s/cygwin32.h: more cygwin b20 reorganisation.
2802 1998-10-01 Raymond Toy <toy@rtp.ericsson.se>
2804 * nas.c: Added necessary support functions to be able to handle
2805 WAVE files in memory, just like the support for SND files in
2808 1998-09-30 SL Baur <steve@altair.xemacs.org>
2810 * callproc.c (child_setup): Fix spelling typo.
2812 1998-09-29 SL Baur <steve@altair.xemacs.org>
2814 * XEmacs 21.2-beta2 is released.
2816 1998-09-27 P. E. Jareth Hein <jareth@camelot.co.jp>
2818 * regex.c (re_match_2_internal): Add in code to reset lowest_active_reg
2819 to prevent memory corruption in the case of jumping out of a series of
2820 nested match patterns. This is a rather brute force approach, though.
2822 1998-09-02 Andy Piper <andyp@parallax.co.uk>
2824 * config.h.in: ditto.
2826 * s/cygwin32.h: rearrange declarations to cope with cygwin
2827 b20. Include cygwin32/version.h if it exists.
2829 1998-09-20 Jonathan Harris <jhar@tardis.ed.ac.uk>
2831 * device-msw.c (mswindows_init_device): Call new
2832 mswindows_enumerate_fonts() function in objects-msw.c instead
2833 of font_enum_callback_1() to enumerate fonts.
2835 font_enum_callback_1() and _2() moved to objects-msw.c.
2837 * faces.c (complex_vars_of_faces): Make the mswindows default
2838 face font fully specified and provide some fallbacks.
2840 * objects-msw.c: font_enum_callback_1() and _2() moved here
2841 from objects-msw.c. Obtain the enumerated font's character
2842 sets by table lookup instead of using the locale-specific
2843 string provided by Windows.
2845 New public non-method mswindows_enumerate_fonts() that fills
2846 in the supplied mswindows device's font list.
2848 mswindows_initialize_font_instance: Use the supplied name
2849 variable instead of f->name when signalling errors. Match font
2850 weights and character sets using lookup tables which handle
2851 spaces instead of by frobbing.
2853 1998-09-20 Jonathan Harris <jhar@tardis.ed.ac.uk>
2855 * process-nt.c: Define an arbitrary limit, FRAGMENT_CODE_SIZE,
2856 on the size of code fragments passed to run_in_other_process.
2858 run_in_other_process(): Use FRAGMENT_CODE_SIZE to determine
2859 the amount of memory to allocate in the other process.
2861 Removed sigkill_code_end(), sigint_code_end() and
2862 sig_enable_code_end() since they are now redundant.
2864 send_signal() and enable_child_signals(): Don't try to work
2865 out the end of the code fragments passed to
2866 run_in_other_process()
2868 1998-09-10 Kazuyuki IENAGA <ienaga@jsys.co.jp>
2870 * src/s/freebsd.h: Added __ELF__ and compiler/liker flags for
2873 * src/unexelf.c: Partially synched with FSF's 20.3.
2875 1998-09-10 Hrvoje Niksic <hniksic@srce.hr>
2877 * insdel.c (signal_after_change): Map across indirect buffers
2878 here, and not in the upper-level functions.
2879 (signal_first_change): Don't check for Armageddon.
2880 (signal_before_change): Map across indirect buffers here.
2881 (prepare_to_modify_buffer): ...and here.
2883 1998-09-09 Hrvoje Niksic <hniksic@srce.hr>
2885 * insdel.c (signal_after_change): Add return value.
2886 (buffer_insert_string_1): Use it.
2887 (buffer_delete_range): Ditto.
2888 (buffer_replace_char): Ditto.
2889 (cancel_multiple_change): Map the indirect buffers.
2891 1998-09-06 Hrvoje Niksic <hniksic@srce.hr>
2893 * insdel.c (init_buffer_text): Remove INDIRECT_P parameter.
2894 (uninit_buffer_text): Ditto.
2896 * buffer.c (Fmake_indirect_buffer): Implement stricter
2899 1998-09-04 Hrvoje Niksic <hniksic@srce.hr>
2901 * insdel.c (change_function_restore): Reverse order of
2902 function-call and assignment.
2903 (first_change_hook_restore): Ditto.
2905 * extents.c (mark_extent_auxiliary): Mark them.
2906 (Fset_extent_property): Set them.
2907 (Fextent_property): Get them.
2908 (Fextent_properties): Ditto.
2909 (vars_of_extents): Set their default.
2911 * extents.h (struct extent_auxiliary): Add before_change_functions
2912 and after_change_functions.
2914 * insdel.c (signal_before_change): Use it.
2915 (signal_after_change): Ditto.
2917 * extents.c (report_extent_modification): New function.
2919 * insdel.c (signal_before_change): Don't check for Armageddon.
2920 (signal_after_change): Ditto.
2922 1998-09-11 Gunnar Evermann <Gunnar.Evermann@nats.informatik.uni-hamburg.de>
2924 * redisplay.c (redisplay_window): make sure a new starting point
2925 is chosen if it somehow got moved from the beginning of the line
2926 -- this can happen because Fwiden was called recently.
2928 * window.c (Fset_window_start): set start_at_line_beg correctly
2929 (Fset_window_buffer): Ditto
2931 1998-09-06 Hrvoje Niksic <hniksic@srce.hr>
2933 * insdel.c (init_buffer_text): Remove INDIRECT_P parameter.
2934 (uninit_buffer_text): Ditto.
2936 * buffer.c (Fmake_indirect_buffer): Implement stricter
2939 1998-05-14 Jan Vroonhof <vroonhof@math.ethz.ch>
2941 * emacs.c (main_1): Removed references to *vars_of_filelock.
2943 * lisp.h: Added Fsystem_name.
2945 * filelock.c: Replaced by version from FSF 20.2. Now implements
2946 locking by using symlinks which is NFS safe. However keep the
2947 GCPRO's in lock_file and the calls to callx_in_buffer like our old
2948 version (and of course use ansi C, acessor macros, etc).
2950 1998-09-06 Jan Vroonhof <vroonhof@math.ethz.ch>
2952 * process-unix.c (unix_create_process): Reset SIGHUP handler to
2953 SIG_DFL. We now try to conserve any inherted SIG_IGN settings
2954 in init_signals_very_early. However these should not be passed
2955 on to children attached to the new pty.
2957 1998-08-28 Andy Piper <andyp@parallax.co.uk>
2959 * glyphs-eimage.c (png_instantiate_unwind): clean up eimage after use.
2961 1998-09-07 Jonathan Harris <jhar@tardis.ed.ac.uk>
2963 * fileio.c (file-name-directory, file_name_as_directory):
2964 Don't call CORRECT_DIR_SEPS, even when #defined WINDOWSNT.
2966 1998-09-02 Andy Piper <andyp@parallax.co.uk>
2968 * emacs.c (main_1): init_ralloc() if initialised and we have REL_ALLOC
2970 * ralloc.c: uncomment __morecore.
2972 1998-09-92 Jonathan Harris <jhar@tardis.ed.ac.uk>
2974 * event-msw.c(winsock_writer): Supply a dummy 4th argument to
2975 WriteFile() to fix a winsock 1.x bug on Win95.
2977 1998-08-28 Hrvoje Niksic <hniksic@srce.hr>
2979 * event-Xt.c (emacs_Xt_mapping_action): Check for device being
2981 (x_event_to_emacs_event): Ditto.
2982 (emacs_Xt_handle_focus_event): Ditto.
2983 (emacs_Xt_handle_magic_event): Ditto.
2985 * console-x.h (struct x_device): New flag being_deleted.
2986 (DEVICE_X_BEING_DELETED): New macro.
2988 * device-x.c (x_IO_error_handler): Throw to top-level instead of
2989 returning. Before doing that, set the being_deleted flag on the
2992 1998-08-27 Hrvoje Niksic <hniksic@srce.hr>
2994 * device-x.c (x-seppuku-on-epipe): Removed.
2996 1998-08-26 Gunnar Evermann <Gunnar.Evermann@nats.informatik.uni-hamburg.de>
2998 * frame-x.c (x_delete_frame): Flush the X output buffer after
2999 calling XtDestroyWidget to ensure that the windows are really
3002 1998-08-26 Hrvoje Niksic <hniksic@srce.hr>
3004 * menubar-x.c (my_run_hook): New unused function.
3005 (pre_activate_callback): Use run_hook for Qactivate_menubar_hook,
3006 since we ignore the results of the contained functions anyway.
3008 1998-08-26 P. E. Jareth Hein <jareth@camelot.co.jp>
3010 * glyphs-eimage.c (gif_instantiate): Fix a crash in handling
3011 interlaced GIF files that are smaller than 4 lines high...
3013 1998-08-31 Hrvoje Niksic <hniksic@srce.hr>
3015 * buffer.c (map_over_sharing_buffers): Deleted.
3017 * insdel.c (MAP_INDIRECT_BUFFERS): Move to buffer.h.
3019 * buffer.c (Fkill_buffer): Keep indirect_children updated while
3022 1998-08-31 Hrvoje Niksic <hniksic@srce.hr>
3024 * insdel.c (buffer_insert_string_1): Advance the point bytind in
3026 (buffer_delete_range): Ditto.
3028 * marker.c (init_buffer_markers): Set point-marker to the value of
3029 point in an indirect buffer.
3031 1998-08-30 Hrvoje Niksic <hniksic@srce.hr>
3033 * undo.c (undo_prelude): Test last-undo-buffer against base
3036 * insdel.c (MAP_INDIRECT_BUFFERS): Use it.
3038 * buffer.h (BUFFER_BASE_BUFFER): New macro.
3040 1998-08-30 Hrvoje Niksic <hniksic@srce.hr>
3042 * insdel.c (init_buffer_text): Initialize it here.
3044 * line-number.c: Address line_number_cache through buffer->text.
3046 * buffer.c (mark_buffer): Mark line number cache.
3048 * bufslots.h (line_number_cache): Move to struct buffer_text.
3050 * insdel.c (buffer_insert_string_1): Propagate signals and changes
3051 across the children buffers.
3052 (buffer_delete_range): Ditto.
3053 (buffer_replace_char): Ditto.
3057 * insdel.c (MAP_INDIRECT_BUFFERS): New macro.
3059 * buffer.c (Fmake_indirect_buffer): Uncomment.
3061 1998-08-31 Hrvoje Niksic <hniksic@srce.hr>
3063 * macros.c (Fend_kbd_macro): Remove trailing period from error
3065 (Fexecute_kbd_macro): Ditto.
3067 1998-08-21 Greg Klanderman <greg@alphatech.com>
3069 * dired.c (Fuser_name_completion): remove optional 2nd argument.
3070 (Fuser_name_completion_1): new function to return uniqueness
3071 indication in addition to the user name completion.
3072 (user_name_completion): change type of `uniq' argument.
3074 1998-08-19 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
3076 * lread.c (vars_of_lread): Removed `source-directory' variable.
3078 1998-08-22 Hrvoje Niksic <hniksic@srce.hr>
3080 * fileio.c (Ffile_readable_p): Apply the DOS/Windows logic to
3083 1998-08-19 SL Baur <steve@altair.xemacs.org>
3085 * dired.c (vars_of_dired): Fix misapplied patch.
3087 1998-08-16 Martin Buchholz <martin@xemacs.org>
3089 * fns.c (Fremrassq, remrassq_no_quit):
3090 A XCAR that should have been an XCDR turned Fremrassq into Fremassq
3092 1998-07-17 Didier Verna <verna@inf.enst.fr>
3094 * redisplay-x.c (x_get_gc): returns a GC with a FillStipple fill
3095 style as foreground GC for faces that have the `dim' property.
3096 (x_output_string): when the `dim' face property is set,
3097 ensure the gray pixmap has been created, and get a proper
3098 foreground GC to draw the text.
3100 1998-08-09 Jonathan Harris <jhar@tardis.ed.ac.uk>
3102 * event-msw.c (mswindows_wnd_proc): Workaround for a Win95 bug:
3103 Manually track the state of the left and right Ctrl and Alt
3106 1998-08-07 Matt Stupple <matts@tibco.com>
3108 * ntproc.c: don't wait on char_consumed at thread entry.
3109 Additionally, to get the 'process' marked as finished, ensure
3110 that the CHILD_ACTIVE macro returns false, so before exiting
3111 close char_avail and set it to NULL, and close other handles
3112 to reduce handle leak problems.
3114 1998-08-09 Jonathan Harris <jhar@tardis.ed.ac.uk>
3116 * menubar-msw.c (displayable_menu_item): take account of menu
3117 depth when deciding whether to try to display accelerators.
3119 1998-08-04 Andy Piper <andyp@parallax.co.uk>
3121 * event-msw.c: use MsgWaitForMultipleObjects if there are no
3124 * glyphs-msw.c: fix a couple of potential handle leaks.
3126 1998-08-04 P. E. Jareth Hein <jareth@camelot.co.jp>
3128 * dgif_lib.c gif_io.c gifrlib.h: New files to put GIF
3129 *decoding ONLY* back into the core.
3130 * glyphs-eimage.c: Change referenced header file for GIF
3131 reading to point to the incore version.
3133 1998-07-20 Martin Buchholz <martin@xemacs.org>
3135 * casefiddle.c (casify_object):
3136 Change algorithm from O(N**2) to O(N).
3140 1998-07-22 Greg Klanderman <greg@alphatech.com>
3142 * dired.c (file_name_completion_unwind): don't leak the cons.
3144 1998-07-20 Greg Klanderman <greg@alphatech.com>
3146 * dired.c (Fuser_name_completion): new function.
3147 (Fuser_name_all_completions): new function.
3148 (user_name_completion): new function.
3149 (syms_of_dired): 2 new DEFSUBRs.
3150 (vars_of_dired): initialize user name cache vars.
3152 1998-07-29 P. E. Jareth Hein <jareth@camelot.co.jp>
3154 * glyphs-eimage.c (png_instantiate): Add proper handling for background
3155 colors taken from the default face. Also correct a thinko in
3156 transparency (not alpha) handling.
3158 1998-07-23 Martin Buchholz <martin@xemacs.org>
3160 * s/decosf4-0.h: Use a perfectly ordinary link. Nuke BSD crap.
3161 * unexalpha.c: ANSI C-ize. Clean compiler warnings.
3162 * lread.c (Fload_internal): Be very careful with printfs of
3164 * gui-x.c (menu_name_to_accelerator): tolower wants an `int'
3167 1998-07-27 Gunnar Evermann <Gunnar.Evermann@nats.informatik.uni-hamburg.de>
3169 * callint.c (Fcall_interactively): GCPRO prompt string before
3170 passing it to Fread_key_sequence
3172 1998-07-27 SL Baur <steve@altair.xemacs.org>
3174 * keymap.c (vars_of_keymap): Initialize Vkey_translation_map and
3175 Vvertical_divider_map.
3177 * mule-canna.c (vars_of_mule_canna): Initialize every symbol to
3178 Qnil or 0, none were initialized prior to this change.
3180 Rename misnamed `V' prefixed integer variables:
3181 Vcanna_empty_info, Vcanna_through_info, Vcanna_underline,
3182 Vcanna_inhibit_hankakukana, Vcanna_henkan_length, Vcanna_henkan_revPos,
3183 Vcanna_henkan_revLen, Vcanna_ichiran_length, Vcanna_ichiran_revPos,
3184 Vcanna_ichiran_revLen.
3186 Rename misnamed `V' prefixed integer variables and initialize
3187 properly in the vars_of routine.
3188 Vcanna_mode_AlphaMode, Vcanna_mode_EmptyMode, Vcanna_mode_KigoMode,
3189 Vcanna_mode_YomiMode, Vcanna_mode_JishuMode, Vcanna_mode_TankouhoMode,
3190 Vcanna_mode_IchiranMode, Vcanna_mode_YesNoMode, Vcanna_mode_OnOffMode,
3191 Vcanna_mode_AdjustBunsetsuMode, Vcanna_mode_ChikujiYomiMode,
3192 Vcanna_mode_ChikujiTanMode, Vcanna_mode_HenkanMode,
3193 Vcanna_mode_HenkanNyuryokuMode, Vcanna_mode_ZenHiraHenkanMode,
3194 Vcanna_mode_HanHiraHenkanMode, Vcanna_mode_ZenKataHenkanMode,
3195 Vcanna_mode_HanKataHenkanMode, Vcanna_mode_HanKataHenkanMode,
3196 Vcanna_mode_ZenAlphaHenkanMode, Vcanna_mode_HanAlphaHenkanMode,
3197 Vcanna_mode_ZenHiraKakuteiMode, Vcanna_mode_HanHiraKakuteiMode,
3198 Vcanna_mode_ZenKataKakuteiMode, Vcanna_mode_HanKataKakuteiMode,
3199 Vcanna_mode_ZenAlphaKakuteiMode, Vcanna_mode_HanAlphaKakuteiMode,
3200 Vcanna_mode_HexMode, Vcanna_mode_BushuMode, Vcanna_mode_ExtendMode,
3201 Vcanna_mode_RussianMode, Vcanna_mode_GreekMode, Vcanna_mode_LineMode,
3202 Vcanna_mode_ChangingServerMode, Vcanna_mode_HenkanMethodMode,
3203 Vcanna_mode_DeleteDicMode, Vcanna_mode_TourokuMode,
3204 Vcanna_mode_TourokuEmptyMode, Vcanna_mode_TourokuHinshiMode,
3205 Vcanna_mode_TourokuDicMode, Vcanna_mode_QuotedInsertMode,
3206 Vcanna_mode_BubunMuhenkanMode, Vcanna_mode_MountDicMode,
3207 Vcanna_fn_SelfInsert, Vcanna_fn_FunctionalInsert,
3208 Vcanna_fn_QuotedInsert, Vcanna_fn_JapaneseMode, Vcanna_fn_AlphaMode,
3209 Vcanna_fn_HenkanNyuryokuMode, Vcanna_fn_Forward, Vcanna_fn_Backward,
3210 Vcanna_fn_Next, Vcanna_fn_Prev, Vcanna_fn_BeginningOfLine,
3211 Vcanna_fn_EndOfLine, Vcanna_fn_DeleteNext, Vcanna_fn_DeletePrevious,
3212 Vcanna_fn_KillToEndOfLine, Vcanna_fn_Henkan, Vcanna_fn_Kakutei,
3213 Vcanna_fn_Extend, Vcanna_fn_Shrink, Vcanna_fn_AdjustBunsetsu,
3214 Vcanna_fn_Quit, Vcanna_fn_ConvertAsHex, Vcanna_fn_ConvertAsBushu,
3215 Vcanna_fn_KouhoIchiran, Vcanna_fn_BubunMuhenkan, Vcanna_fn_Zenkaku,
3216 Vcanna_fn_Hankaku, Vcanna_fn_ExtendMode, Vcanna_fn_ToUpper,
3217 Vcanna_fn_Capitalize, Vcanna_fn_ToLower, Vcanna_fn_Hiragana,
3218 Vcanna_fn_Katakana, Vcanna_fn_Romaji, Vcanna_fn_BaseHiragana,
3219 Vcanna_fn_BaseKatakana, Vcanna_fn_BaseEisu, Vcanna_fn_BaseZenkaku,
3220 Vcanna_fn_BaseHankaku, Vcanna_fn_BaseKana, Vcanna_fn_BaseKakutei,
3221 Vcanna_fn_BaseHenkan, Vcanna_fn_BaseHiraKataToggle,
3222 Vcanna_fn_BaseZenHanToggle, Vcanna_fn_BaseKanaEisuToggle,
3223 Vcanna_fn_BaseKakuteiHenkanToggle, Vcanna_fn_BaseRotateForward,
3224 Vcanna_fn_BaseRotateBackward, Vcanna_fn_Touroku, Vcanna_fn_HexMode,
3225 Vcanna_fn_BushuMode, Vcanna_fn_KigouMode, Vcanna_fn_Mark,
3226 Vcanna_fn_TemporalMode, Vcanna_key_Nfer, Vcanna_key_Xfer,
3227 Vcanna_key_Up, Vcanna_key_Left, Vcanna_key_Right, Vcanna_key_Down,
3228 Vcanna_key_Insert, Vcanna_key_Rollup, Vcanna_key_Rolldown,
3229 Vcanna_key_Home, Vcanna_key_Help, Vcanna_key_KP_Key,
3230 Vcanna_key_Shift_Nfer, Vcanna_key_Shift_Xfer, Vcanna_key_Shift_Up,
3231 Vcanna_key_Shift_Left, Vcanna_key_Shift_Right, Vcanna_key_Shift_Down,
3232 Vcanna_key_Cntrl_Nfer, Vcanna_key_Cntrl_Xfer, Vcanna_key_Cntrl_Up,
3233 Vcanna_key_Cntrl_Left, Vcanna_key_Cntrl_Right, Vcanna_key_Cntrl_Down
3235 1998-07-16 Jan Vroonhof <vroonhof@math.ethz.ch>
3237 * event-Xt.c (x_to_emacs_keysym): Return nil for modifier keysyms.
3238 (x_event_to_emacs_event): Let x_to_emacs_keysym check for modifier
3239 keys thus no longer considering all keysyms on a key.
3241 1998-07-19 SL Baur <steve@altair.xemacs.org>
3243 * XEmacs 21.2-beta1 is released.
3245 1998-07-12 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
3247 * eldap.c (Fldap_search_internal): When converting the list of
3248 attributes to search Copy the final 0 from Lisp strings to C
3250 Check base, not Vldap_default_base as a a string
3252 1998-07-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
3254 * nt.c: Remove Vstdio_str; already defined in console-stream.c.
3256 * unexnt.c: Unconditionally define bss_start and bss_size, and
3257 ensure that they don't go in the .bss section.
3259 1998-07-17 Olivier Galibert <galibert@pobox.com>
3261 * glyphs-x.c (convert_EImage_to_XImage): Fix previous patch (conv
3262 byte order is dependant of the local byte order).
3263 From Takeshi Hagiwara <hagiwara@ie.niigata-u.ac.jp>
3265 1998-07-18 SL Baur <steve@altair.xemacs.org>
3267 * glyphs-msw.c (mswindows_resource_normalize): Qresource ->
3268 Qmswindows_resource.
3269 From Jonathan Harris <jhar@tardis.ed.ac.uk>
3271 1998-07-12 SL Baur <steve@altair.xemacs.org>
3273 * general.c (syms_of_general): Add defsymbol for Qresource.
3275 * glyphs-msw.c (vars_of_glyphs_mswindows): Rename Qresource to
3276 Qmswindows_resource.
3277 (TopLevel): Rename 'resource image format to 'mswindows_resource.
3278 (mswindows_resource_validate): Rename.
3279 (mswindows_resource_normalize): Rename.
3280 (mswindows_resource_possible_dest_types): Rename.
3281 (mswindows_resource_instantiate): Rename.
3282 (image_instantiator_format_create_glyphs_mswindows): Replace
3283 `resource' with `mswindows.resource'.
3285 * XEmacs 21.0-pre5 is released.
3287 1998-07-10 SL Baur <steve@altair.xemacs.org>
3289 * mule-wnnfns.c (Fwnn_open): Correctly trap on misdefined Wnn
3290 server type in environment.
3291 Use alloca-ed strings instead of tiny fixed size ones.
3293 1998-07-09 SL Baur <steve@altair.xemacs.org>
3295 * XEmacs 21.0-pre4 is released.
3297 1998-07-01 James N. Potts <jnpotts@plutonium.net>
3299 * fileio.c: (expand_file_name): under win32: Don't treat names
3300 as UNC names if a drive letter has been specified. If a drive
3301 has been specified, strip out extra directory-seperators that
3302 reportedly cause problems under Win95.
3304 1998-07-09 Jonathan Harris <jhar@tardis.ed.ac.uk>
3306 * windowsnt.h: Define DUMP_SEPARATE_SECTION when building with
3307 MSVC >= 5.0. Put emacs init and zero-init data in a special
3308 section of the executable when this is defined.
3310 * unexnt.c, ntheap.h:
3311 Removed unused find_section() and get_section_size().
3314 Fix up the executable's checksum after dumping otherwise the
3316 When DUMP_SEPARATE_SECTION is defined, don't need to dump
3317 zero-init data separately from init data. Dump emacs data
3318 into a special section of the executable.
3319 When DUMP_SEPARATE_SECTION not defined, dump .bss up to
3320 my_ebss instead of up to the end of bss.
3322 1998-07-09 Jonathan Harris <jhar@tardis.ed.ac.uk>
3324 * filelock.c: Removed Vconfigure_lock_directory - already
3327 * frame-msw.c: Removed Qinitially_unmapped and Qpopup - already
3328 defined in frame.c and general.c respectively.
3330 * glyphs-msw.c: Removed Qresource - already defined in
3333 1998-07-05 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
3335 * eldap.c (Fldap_search_internal): Docstring fixes
3337 1998-07-04 Jonathan Harris <jhar@tardis.ed.ac.uk>
3339 * nt.c (init_environment): Removed unused PRELOAD_WINSOCK,
3340 EMACSDOC and TERM variables. Added EMACSDEBUGPATHS,
3341 EMACSPACKAGEPATH and INFOPATH variables.
3342 Removed unused get_emacs_configuration function.
3344 * s/windowsnt.h: Don't define EMACS_CONFIGURATION here because
3345 it is now defined at build-time by the makefile.
3347 1998-07-01 James N. Potts <jnpotts@plutonium.net>
3349 * fileio.c: (expand_file_name): under win32: Don't treat names as
3350 UNC names if a drive letter has been specified. If a drive has
3351 been specified, strip out extra directory-seperators that
3352 reportedly cause problems under Win95.
3354 1998-07-05 Andy Piper <andyp@parallax.co.uk>
3356 * faces.c (complex_vars_of_faces): for the gui-element face don't
3357 fallback to the default face, instead provide reasonable default
3358 fallbacks that were previously hardcoded elsewhere.
3360 1998-07-06 Olivier Galibert <galibert@pobox.com>
3362 * glyphs-x.c (convert_EImage_to_XImage): Fix pixel writing problem
3363 when the X server endianness is different than the client's one.
3365 1998-06-29 Kyle Jones <kyle_jones@wonderworks.com>
3367 * eval.c (run_hook_with_args_in_buffer): Check
3368 default (non-buffer-local) value of hook for
3369 nil before treating it as a function. Don't initialize
3370 the `globals' variable twice.
3372 1998-06-24 Jonathan Harris <jhar@tardis.ed.ac.uk>
3374 * fileio.c: Don't do directory seperator canonicalisation in
3375 substitute-in-file-name because we don't know that the
3376 filename refers to a local file.
3378 1998-06-24 Adrian Aichner <aichner@ecf.teradyne.com>
3380 * process-nt.c (nt_create_process): Try appending the standard
3381 executable file extensions to the filename if none supplied.
3383 1998-06-29 SL Baur <steve@altair.xemacs.org>
3385 * fileio.c (Fsubstitute_in_file_name): Enable double slash notation
3387 From Keisuke Mori <ksk@ntts.com>
3389 1998-06-24 Andy Piper <andyp@parallax.co.uk>
3391 * toolbar-msw.c (mswindows_output_toolbar): only enable masked
3392 images if we have masks. This handles the xbm case (have masks)
3393 and avoids overuse of resources in the xpm case (generally no masks).
3394 Don't output small toolbars.
3396 1998-06-29 Kyle Jones <kyle_jones@wonderworks.com>
3398 * eval.c (run_hook_with_args_in_buffer): Don't treat
3399 the default value of a buffer local hook as a list of
3400 hooks unless it is both a cons and the car of that cons
3403 1998-06-29 SL Baur <steve@altair.xemacs.org>
3405 * extents.c: Email address for Ben Wing is ben@xemacs.org.
3406 * process-unix.c: Ditto.
3407 * mule-coding.h: Ditto.
3408 * mule-coding.c: Ditto.
3409 * mule-charset.c: Ditto.
3410 * mule-charset.h: Ditto.
3411 * file-coding.c: Ditto.
3412 * file-coding.h: Ditto.
3414 1998-06-22 Jonathan Harris <jhar@tardis.ed.ac.uk>
3416 * event-msw.c: Guard against recursion when freeing
3417 FRAME_MSWINDOWS_TARGET_RECT struture in WM_SIZE processing.
3419 * frame-msw.c: Don't set WS_VISIBLE attribute on first frame.
3420 Call ShowWindow twice in init_frame_3 to get round runemacs
3423 1998-06-27 Hrvoje Niksic <hniksic@srce.hr>
3425 * scrollbar.c (vertical_scrollbar_changed_in_window): Ditto.
3427 * winslots.h: Rename.
3429 * window.c (specifier_vars_of_window): Renamed
3430 vertical-divider-draggable-p to vertical-divider-always-visible-p,
3431 as suggested by Ben Wing.
3432 (specifier_vars_of_window): Fix docstrings.
3434 1998-06-22 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
3436 * unexaix.c: Line number information works correctly again.
3438 1998-06-22 Olivier Galibert <galibert@pobox.com>
3440 * emacs.c (__sti__iflPNGFile_c___): Added. See comment. Cry.
3442 1998-06-21 Martin Buchholz <martin@xemacs.org>
3444 * editfns.c (get_home_directory): ANSIfy.
3445 XEmacs is compilable under C *and* C++.
3446 It's XEmacs, not Xemacs!
3448 1998-06-19 Jonathan Harris <jhar@tardis.ed.ac.uk>
3450 * console-msw.h: added a list of fonts to device data.
3452 * device-msw.c: enumerate list of available fonts in
3453 mswindows_init_device. Free list in mswindows_delete_device.
3455 * objects-msw.c: Added helper function match_font used by
3456 mswindows_initialize_font_instance and mswindows_list_fonts.
3457 Allow a charset to be specified in a font string, even if
3458 previous fields havn't been specified.
3460 1998-06-23 Greg Klanderman <greg@alphatech.com>
3462 * indent.c (column_at_point): column cache bugfix.
3463 Set last_known_column_point to the buffer position for
3464 which the column was requested, not buffer's point.
3466 * redisplay.c (decode_mode_spec): for current-column, show
3467 window's point's column, not buffer's point's column.
3469 1998-06-23 Andy Piper <andyp@parallax.co.uk>
3471 * menubar-msw.c (mswindows_handle_wm_command): use
3472 enqueue_misc_user event rather than
3473 mswindows_enqueue_msic_user_event to fix customize problems. Add some
3476 * console-msw.h: declare mswindows_enqueue_magic_event.
3478 * event-msw.c (mswindows_enqueue_magic_event): make global.
3480 1998-06-24 Hrvoje Niksic <hniksic@srce.hr>
3482 * line-number.c (LINE_NUMBER_FAR): Reverted to 16384.
3483 (buffer_line_number): Use EMACS_INT_MAX instead of random LOTS.
3484 (add_position_to_cache): Use EMACS_INT instead of int.
3486 1998-06-21 Olivier Galibert <galibert@pobox.com>
3488 * lisp-disunion.h (XMARKBIT): Have XMARKBIT return something
3489 suitable for an int used as a boolean (btw, C sucks.).
3491 1998-06-18 Andy Piper <andyp@parallax.co.uk>
3493 * object-msw.c: remove warnings.
3495 * device-msw.c: #define wrongly named cygwin structure elements.
3497 * s/cygwin32.h: define DEMI_BOLD
3499 1998-06-19 Jonathan Harris <jhar@tardis.ed.ac.uk>
3501 * redisplay-msw.c: new function mswindows_apply_face_effects.
3502 This is called by output_string and output_cursor to display
3503 underline and strikeout on faces.
3505 1998-06-19 Jonathan Harris <jhar@tardis.ed.ac.uk>
3507 * console-msw.h: added a list of fonts to device data.
3509 * device-msw.c: enumerate list of available fonts in
3510 mswindows_init_device. Free list in mswindows_delete_device.
3512 * objects-msw.c: Added helper function match_font used by
3513 mswindows_initialize_font_instance and mswindows_list_fonts.
3514 Allow a charset to be specified in a font string, even if
3515 previous fields havn't been specified.
3517 1998-06-15 Jonathan Harris <jhar@tardis.ed.ac.uk>
3520 Removed compilation warnings from mswindows_string_to_color.
3521 mswindows_list_fonts returns a more general bogus font.
3522 New lisp-visible function mswindows-color-list.
3524 1998-06-19 David Bush <david.bush@adn.alcatel.com>
3526 * editfns.c (Fuser_login_name): Modify to user new function
3528 (user_login_name): C only function to avoid Lisp object overhead
3529 Returns "unknown" instead of nil in Cygwin environment
3531 * fileio.c (Fexpand_file_name): Treat "~" and "~user" as
3532 equivalent for current user in Cygwin environment. Use new
3533 function user_login_name to get username.
3535 * lisp.h: Declare user_login_name
3537 1998-06-18 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
3539 * unexaix.c (make_hdr): Fixed bias computations so debugging info
3541 Some other insignificant nitpicks.
3543 1998-06-18 Andy Piper <andyp@parallax.co.uk>
3545 * toolbar-msw.c (mswindows_output_toolbar): specify ILC_MASK when
3546 creating the image list and make sure he bk color is transparent.
3548 1998-06-18 Jan Vroonhof <vroonhof@math.ethz.ch>
3550 * event-Xt.c (emacs_Xt_remove_timeout): Also remove timeout from
3551 completed_timeouts. The timer could have expired.
3553 1998-06-17 Andy Piper <andyp@parallax.co.uk>
3555 * console-msw.h: move XEMACS_RECT_WH inside frame
3556 parameters. define macors to access it.
3558 * frame-msw.c (mswindows_init_frame_1): use new target_rect
3559 parameter to intialise desired sizing. (mswindows_init_frame_2):
3560 enable and size the frame to something sensible when we get
3561 here. (mswindows_set_frame_properites): use new
3562 mswindows_size_frame_internal function and size frame if frame
3563 parameters not just if init is finished - WM_SIZE happens too
3564 early for some specs. (mswindows_size_frame_internal): new
3565 function abstracted from mswindows_set_frame_properties.
3566 (Vmswindows_use_system_frame_size_defaults):
3567 new variable controls whether to allow the system to pick frame
3568 size defaults, defaults to nil.
3570 * event-msw.c: in WM_SIZE use mswindows_size_frame_internal rather
3571 than duplicated code.
3573 1998-06-15 Colin Rafferty <colin@xemacs.org>
3575 * Makefile.in.in: Made EXTW_LINK expand properly.
3577 1998-06-12 Martin Buchholz <martin@xemacs.org>
3579 * redisplay.c (vars_of_redisplay): default value of
3580 column-number-start-at-one should be NIL!
3582 1998-06-11 Martin Buchholz <martin@xemacs.org>
3585 (upcase-initials "fooBar") ==> "FooBar" instead of "Foobar"
3587 1998-06-05 Hrvoje Niksic <hniksic@srce.hr>
3589 * eldap.c (Fldap_search_internal): Use build_ext_string instead of
3590 build_string to avoid crashes under Mule.
3592 1998-06-13 Andy Piper <andyp@parallax.co.uk>
3594 * ntplay.c (play_sound_data_1): don't delete the sound data until
3595 the next sound is played and the previous one finished.
3597 1998-06-10 Samuel Mikes <smikes@alumni.hmc.edu>
3599 * fileio.c (directory-sep-char): Escape backslashes.
3601 1998-06-10 Hrvoje Niksic <hniksic@srce.hr>
3603 * event-stream.c: Fix docstring reference.
3605 1998-06-12 Hrvoje Niksic <hniksic@srce.hr>
3607 * alloc.c (make_float): Remove useless initialization of `next'
3609 (make_pure_float): Ditto.
3611 * lisp.h (struct Lisp_Float): Rename `next' to `__unused__next'.
3613 1998-06-08 Kirill M. Katsnelson <kkm@kis.ru>
3615 * fileio.c (Fmake_directory_internal): Remove conditionals
3616 on WINDOWSNT when calling mkdir.
3618 * ntproc.c: Deleted the following unused functions:
3619 register_child, reap_subprocess, sys_wait.
3621 * nt.c (sys_rename): Ifzeroed this implementation.
3622 Deleted the following unused functions:
3623 sys_access, sys_chdir, sys_chmod, sys_creat, sys_link, sys_mkdir,
3624 sys_mktemp, sys_rmdir, sys_unlink, sys_close, sys_dup, sys_dup2,
3625 sys_read, sys_write.
3626 Merger sys_fopen and sys_open with sysdep.c implementation.
3628 * sysdep.c: Removed MS-DOS code.
3629 (sys_rename): Deal with Microsoft rename weirdness.
3630 (sys_open): Implemented for Windows.
3634 1998-06-08 Kirill M. Katsnelson <kkm@kis.ru>
3636 * buffer.c (complex_vars_of_buffer): Removed %t description from
3639 1998-06-04 Rick Rankin <Rick_Rankin-P15254@email.mot.com>
3641 * scrollbar-msw.c: initialize the cbSize element of the
3642 SCROLLINFO struct before calling SetScrollInfo. WinNT seems
3643 to ignore the value of cbSize, but Win95 (and I presume Win98)
3644 appear to want it set to sizeof(SCROLLINFO).
3646 1998-06-04 Kirill M. Katsnelson <kkm@kis.ru>
3648 * event-stream.c: Defined Qcancel_mode_internal.
3649 (syms_of_event_stream): defsymbol'ed it.
3651 * events.h: Externed it.
3653 * event-msw.c (mswindows_wnd_proc, WM_CANCELMODE): Added this handler.
3655 1998-06-04 Oliver Graf <ograf@fga.de>
3657 * frame-x.c (x_cde_destroy_callback): free the data
3658 (cde-start-drag-internal) corrected root position, 21.1 needs this
3659 hardcoded in Button events
3660 (offix-start-drag-internal) corrected root position
3662 1998-06-03 Kirill M. Katsnelson <kkm@kis.ru>
3664 * process-nt.c (signal_cannot_launch): Use signal_simple_error()
3667 1998-06-03 Kirill M. Katsnelson <kkm@kis.ru>
3669 * dialog-msw.c (button_width): Removed `inline' from the function
3672 1998-06-03 Rick Rankin <Rick_Rankin-P15254@email.mot.com>
3674 * frame-msw.c: add WS_VISIBLE flag to the first frame created.
3675 Note that adding this flag to subsequent frames causes problems.
3677 1998-06-03 Gunnar Evermann <Gunnar.Evermann@nats.informatik.uni-hamburg.de>
3679 * glyphs-eimage.c (png_instantiate) move 'struct
3680 png_memory_storage tbr' out of nested block to avoid dangling
3683 1998-06-02 Andy Piper <andyp@parallax.co.uk>
3686 * faces.c: rename 3d-object -> gui-element. add toolbar face which
3687 inherits from gui-element.
3689 * glyphs-msw.c: use DIBitmaps for xbm bitmaps to be consistent
3690 with existing code, generate masks correctly.
3692 1998-06-03 P. E. Jareth Hein <jareth@camelot-soft.com>
3694 * glyphs-eimage.c: Changed included header for gifs to use
3695 Gifreader instead of giflib.
3697 * glyphs-x.c: removed the image-related functions that were
3698 moved into glyphs-eimage.
3700 1998-06-02 David Bush <david.bush@adnb.alcatel.com>
3702 * glyphs.c (bitmap_to_lisp_data) Define XFree to be free
3703 if built without X Windows support.
3705 1998-06-02 Hrvoje Niksic <hniksic@srce.hr>
3707 * fns.c (Fconcat): Synch docstring with new reality.
3709 1998-06-03 SL Baur <steve@altair.xemacs.org>
3711 * frame.c: Remove reference to msdos.h (which is going away).
3712 Suggested by Hrvoje Niksic and Kirill Katsnelson.
3714 1998-06-02 P. E. Jareth Hein <jareth@camelot-soft.com>
3716 * glyphs-eimage.c (jpeg_instantiate): Fix handling of
3720 1998-05-30 Kirill M. Katsnelson <kkm@kis.ru>
3722 * events.h: Fixed commentary about misc-user scrollbar events.
3724 * scrollbar-x.c (x_update_vertical_scrollbar_callback): Use frame
3725 object as an event channel, instead of window object.
3726 (x_update_horizontal_scrollbar_callback): Ditto.
3728 1998-05-29 Andy Piper <andyp@parallax.co.uk>
3730 * ntplay.c (play_sound_data_1) new function. convert alloca data
3731 to malloc if necessary.
3732 (play_sound_file): if the file is not in our path then convert to
3735 1998-06-01 SL Baur <steve@altair.xemacs.org>
3737 * mule-mcpath.c (mc_chdir): Reverse parameters in call to memcpy.
3738 * msdos.c (Frecent_doskeys): Ditto.
3740 * unexalpha.c (unexec): Reverse parameters in call to memcpy.
3741 Suggested by Reggie Perry <perry@zso.dec.com>
3743 * buffer.h: Eliminate size in declaration.
3745 1998-06-01 Olivier Galibert <galibert@pobox.com>
3747 * unexelfsgi.c (unexec): Cleanup n/nn and remove useless kludge.
3749 1998-06-01 Kirill M. Katsnelson <kkm@kis.ru>
3751 * gui.c (gui_item_init): Changed the default value for config member
3752 from Qunbound to Qnil.
3754 1998-06-01 Greg Klanderman <greg@alphatech.com>
3756 * indent.c (vmotion_pixels): Don't #define abs().
3758 1998-05-30 Kirill M. Katsnelson <kkm@kis.ru>
3760 * s/windowsnt.h: Defined popen and pclose to be _popen and _pclose
3763 1998-05-30 Andy Piper <andyp@parallax.co.uk>
3765 * glyphs.h: add xbm declarations.
3767 * console.h: add xbm_instantiate_method device method.
3769 * glyphs.c (check_valid_xbm_inline) (xbm_validate)
3770 (bitmap_to_lisp_data) (xbm_mask_file_munging) (xbm_normalize)
3771 (xbm_possible_dest_types): moved here from glyphs-x.c. use
3772 locate_pixmap_file device method and read_bitmap_data_from_file
3773 instead of XmuReadBitmapDataFromFile.
3774 (xbm_instatntiate): make a device method.
3776 * glyphs-x.c: see glyphs.c changes. (read_bitmap_data_from_file)
3777 new function that just calls XmuReadBitmapDataFromFile.
3778 (x_xbm_instatntiate): device method from xbm_instantiate.
3780 * glyphs-msw.c (read_bitmap_data) (NextInt)
3781 (read_bitmap_data_from_file): new functions copied from Xmu
3783 (xbm_create_bitmap_from_data) from Ben <ben@666.com> convert
3784 inline data to an mswindows bitmap.
3785 (init_image_instance_from_xbm_inline) (xbm_instantiate_1)
3786 (mswindows_xbm_instantiate): mswindows-ized versions of the X
3789 1998-05-30 Kirill M. Katsnelson <kkm@kis.ru>
3791 * window.c (specifier_vars_of_window): Renamed `has_modeline-p' to
3792 `modeline-visible-p'.
3793 Declared specifier lisp variables at the beginning oh the file
3796 * procimpl.h (struct process_methods): Changed semantics of
3797 create_process method so it accepts lisp strings instead of
3800 * process.c (Fstart_process_internal): Moved building of
3801 unix style argv from here to process-unix.c, ...
3803 * process-unix.c (unix_create_process): ... right here.
3805 * process-nt.c (nt_create_process): Changed this function to
3806 support new semantics, so avoided a GC problem.
3808 * events.c (Fmake_event): Document misc-user events properties.
3809 (Fmake_event): Do not allow arbitrary objects for channel property
3810 of misc-user events.
3811 (Fmake_event): Change misc-user event validation: it is function
3812 which is required, not button.
3814 * event-msw.c (mswindows_user_event_p): Recognize misc user events as
3816 (mswindows_enqueue_misc_user_event): Added function.
3817 (mswindows_bump_queue): Removed function.
3818 (mswindows_enqueue_magic_event): Support NULL HWND parameter.
3819 (mswindows_wnd_proc, WM_CLOSE): Use mswindows_enqueue_misc_user_event().
3820 (mswindows_wnd_proc, WM_EXITSIZEMOVE): Ditto.
3821 (emacs_mswindows_handle_magic_event): Handle XM_BUMPQUEUE, by doing
3822 really nothing, which is my personal favorite thing.
3824 * console-msw.h: Removed prototype for mswindows_bump_queue().
3825 Added prototype for mswindows_enqueue_misc_user_event().
3827 * menubar-msw.c (mswindows_handle_wm_command): Use
3828 mswindows_enqueue_misc_user_event().
3830 * toolbar-msw.c (mswindows_handle_toolbar_wm_command): Ditto.
3832 * dialog-msw.c (dialog_proc): Ditto.
3834 * scrollbar-msw.c (mswindows_handle_scrollbar_event): Ditto.
3835 (mswindows_handle_scrollbar_event): Use frame, not window, for misc
3836 user events channel.
3838 1998-05-29 Greg Klanderman <greg@alphatech.com>
3840 * window.c (Fwindow_displayed_text_pixel_height): was relying on
3841 incorrect semantics of vmotion_pixels which has been fixed. don't
3842 use it anymore as it can't easily be used.
3844 * indent.c (vmotion_pixels): fix off by one bug moving up. also
3845 the motion was reported incorrectly if you tried to go past end of
3848 1998-05-30 Kirill M. Katsnelson <kkm@kis.ru>
3850 * toolbar.h: Removed misleading commentary, as Martin suggested.
3852 1998-05-30 Kirill M. Katsnelson <kkm@kis.ru>
3854 * lisp.h: Extern Qactivate_menubar_hook.
3856 * menubar-msw.c (unsafe_handle_wm_initmenu_1): Pass correct value to
3859 1998-05-29 Andy Piper <andyp@parallax.co.uk>
3861 * glyphs-msw.c: use BPLINE macro.
3863 * select-msw.c (mswindows-selection-exists-p)
3864 (mswindows-delete-selection): doc string fixes.
3866 * toolbar-msw.c (mswindows_output_toolbar): make disabled buttons
3867 unpressable. warning elimination.
3869 1998-05-28 Martin Buchholz <martin@xemacs.org>
3871 * alloc.c (dbg_constants):
3874 Remove toolbar_data debugging code, since that lrecord has
3877 Wed May 27, 1998 Darryl Okahata <darrylo@sr.hp.com>
3879 * alloc.c: zap cached value of (user-home-directory), so that
3882 * buffer.c: From init_buffer(), separated out code that
3883 determined the initial directory for the *scratch* buffer, and
3884 put them into a function called "init_initial_directory()".
3885 The initial directory is now available as a global "char *"
3886 called initial_directory.
3888 * buffer.h: Added extern entries for initial_directory[] and
3889 init_initial_directory().
3891 * editfns.c: added new elisp function "user-home-directory",
3892 which basically returns getenv("HOME"), but attempts to use
3893 other values if $HOME isn't set.This may have to be tweaked in
3894 the future as, under Unix, "/" is used if $HOME isn't set (this
3895 probably should be set to the current directory). To support
3896 this, a new C function, "get_home_directory()", now exists,
3897 which returns the "home directory", as a "char *" string.
3899 * emacs.c: Rearrange NT initialization order so that
3900 environment/registry variables will be properly entered into
3901 Vprocess_enviroment.
3903 * fileio.c: replaced egetenv("HOME") with calls to the new
3904 get_home_directory().
3906 * lisp.h: Added function prototypes for uncache_home_directory()
3907 and get_home_directory(), along with lisp prototypes for
3908 Fuser_home_directory() and friends.
3910 * nt.c: replaced getenv("HOME") with calls to the new
3911 get_home_directory().
3913 * sysfile.h: for WINDOWSNT, #include <direct.h>, to suppress
3914 warnings about getcwd(), etc. not having prototypes.
3916 1998-05-28 Kirill M. Katsnelson <kkm@kis.ru>
3918 * process-nt.c (send_signal): Emulate SIGHUP.
3919 (validate_signal_number): Ditto.
3921 * event-msw.c (mswindows_wnd_proc, WM_KEYDOWN): Unconditionally
3922 remove MOD_SHIFT from ASCII characters.
3923 (mswindows_wnd_proc, WM_KEYDOWN): Do not activate the menubar when
3926 1998-05-24 Oliver Graf <ograf@fga.de>
3928 * frame-x.c (cde-start-drag-internal): added filename and multi-
3930 (x_cde_convert_callback) dito
3932 1998-05-26 Oliver Graf <ograf@fga.de>
3934 * frame-x.c: include event-mod.h also with CDE
3935 (x_cde_convert_callback) made the thing working
3936 (cde-start-drag-internal) also debugging
3938 1998-05-25 Hans Guenter Weigand <hgweigand@wiesbaden.netsurf.de>
3945 - add __OpenBSD__ where __NetBSD__ was found.
3946 - TODO: replace platform-specific conditional compilation by
3947 feature tests in configure.in.
3949 1998-05-15 Greg Klanderman <greg@alphatech.com>
3951 * window.c (Fwindow_displayed_text_pixel_height): New function.
3952 (syms_of_window): DEFSUBR it.
3954 * indent.c (Fvertical_motion_pixels): New function - request
3956 (vmotion_pixels): helper.
3957 (syms_of_indent): DEFSUBR.
3958 * lisp.h: declaration for vmotion_pixels().
3960 * indent.c (Fvertical_motion): Add optional third argument PIXELS,
3961 to request returning motion in pixels.
3962 (Fvertical_motion_pixels): Remove, functionality merged into
3964 * window.c (window_scroll): call Fvertical_motion with 3 arguments.
3965 (Fmove_to_window_line): ditto.
3966 * lisp.h: Change declaration for Fvertical_motion.
3968 * window.c: rename window-text-pixel-{height,width,edges} to
3969 window-text-area-pixel-*.
3971 1998-05-26 Gunnar Evermann <Gunnar.Evermann@nats.informatik.uni-hamburg.de>
3973 * tooltalk.c (vars_of_tooltalk) added staticpro for
3974 Tooltalk_Message_plist_str and Tooltalk_Pattern_plist_str
3976 1998-05-27 Andy Piper <andyp@parallax.co.uk>
3978 * faces.c: create a new 3d_object_face, make modeline and
3979 vertical_divider faces fallback to this rather than the default.
3981 1998-05-21 Andy Piper <andyp@parallax.co.uk>
3983 * s/cygwin32.h: define charsets for cygwin.
3985 1998-05-25 Andy Piper <andyp@parallax.co.uk>
3987 * toolbar-msw.c (mswindows_output_toolbar): fix up button sizes
3988 and coordinates. resize bitmaps if we have already settled on a
3991 * glyphs-msw.c (xpm_to_eimage): add ';' for mswindows compiler.
3993 1998-05-25 Hrvoje Niksic <hniksic@srce.hr>
3995 * toolbar-msw.c (mswindows_handle_toolbar_wm_command): Ditto.
3997 * menubar-msw.c (mswindows_handle_wm_command): Ditto.
4001 * gui-x.c (popup_selection_callback): Ditto.
4003 * dialog-msw.c (dialog_proc): get_callback -> get_gui_callback.
4005 * gui.c (get_callback): Renamed to get_gui_callback.
4007 1998-05-17 Martin Buchholz <martin@xemacs.org>
4009 * glyphs.h: order rearrangement.
4011 * device-tty.c (tty_asynch_device_change): Warning suppression.
4012 * device-x.c (x_device_system_metrics): Warning suppression.
4013 Make Doc strings consistent with coding standards.
4015 1998-05-24 Martin Buchholz <martin@xemacs.org>
4017 * general.c: multiple definition of `Qicon'. general.c seems
4018 like a good home for Qicon.
4020 1998-05-20 Kirill M. Katsnelson <kkm@kis.ru>
4022 * This patch is to fix compilation warnings under Windows.
4024 * s/windowsnt.h: Encapsulate getpid with sys_getpid.
4025 Added prototypes for FSF inherited functions, with which XEmacs is
4026 sprinkled thoroughly.
4027 Removed some #if 0 code. Bracketed some more definitions, probably
4028 related to Visual C versions prior to 4 (we do not support them).
4030 * sysfloat.h (logb): Finally, get logb() prototyped.
4032 * sysfile.h: Added Windows specific includes.
4033 Removed old Windows specific code bracketed with #if 0.
4035 * sysdep.h: Added prototype for xrealpath().
4037 * sysdep.c (sys_getpid): Added function, to support '95 negative pids.
4039 * symsinit.h: Added prototypes for syms_of_dired_mswindows,
4040 vars_of_dired_mswindows and init_ntproc (Grrr).
4042 * realpath.c: Added Windows specific include files.
4043 (xrealpath): Conditionalized declaration of some auto variables on
4044 S_IFLNK, to avoid warnings.
4046 * ntproc.c: Disabled some compiler warnings. This file is going to
4047 die, so I have not cleaned it up much.
4048 (set_process_dir): Const parameter.
4049 (Fwin32_short_file_name): Down CHECK_* macros to one argument.
4050 (Fwin32_long_file_name): Ditto.
4051 (Fwin32_set_process_priority): Ditto. Why didn't I remove these
4054 * nt.h: Added prototypes for set_process_dir and convert_time.
4056 * nt.c: More include files.
4057 (getpwnam): Consted char* argument.
4058 (get_emacs_configuration): Const return value.
4059 (opendir): Const argument.
4060 (stat): Casted converstion long->short.
4061 (stat): Removed ad hoc and questionable support for non-MSC compile.
4062 (sys_pipe): Removed unused auto variable.
4063 (_sys_read_ahead): Removed calls to DebPrint.
4064 (sys_read): Ditto, in 2 places.
4065 (term_ntproc): Added unused int parameter to signal handler, to
4066 avoid a warning when compiling a call to signal().
4067 (msw_sigset): Properly return old signandler or NULL instead of void.
4069 * floatfns.c (Flogb): Casted arguments to unary minus to signed.
4071 * gmalloc.c (morecore): Ditto.
4072 (_free_internal): Ditto.
4074 * lread.c (parse_integer): Ditto.
4076 * dired-msw.c: Added several include files.
4078 * cmdloop.c (Fcommand_loop_1): Added Microsoft C to the Big List
4079 of Compilers to Shut Up.
4081 * callproc.c: Added #includes to suppress warnings under Windows.
4082 (init_callproc): Removed #if0'ed code and unused variables.
4084 1998-05-25 Andy Piper <andyp@parallax.co.uk>
4086 * device-msw.c (mswindows_device_system_metrics): do planes in a
4087 way consistent with X.
4089 * glyphs-msw.c (mswindows_initialize_image_instance_mask): don't
4090 use SetPixel, use DIBits functions.
4091 (xpm_to_eimage): frob colors more closely like xpm deos.
4093 * toolbar-msw.c: only resize bitmaps when shrinking. Adjust look
4094 to be closer to X version.
4096 * event-msw.c: use tooltip string directly.
4098 * redisplay-msw.c: reinstate Kirill's bg pixmap change.
4100 * objects-msw.c: frob rgb colors that only Kyle uses.
4102 * dialog-msw.c (button_width): INLINE -> inline.
4104 1998-05-23 SL Baur <steve@altair.xemacs.org>
4106 * getloadavg.c (getloadavg): Fix typo.
4108 1998-05-23 Kirill M. Katsnelson <kkm@kis.ru>
4110 * objects-msw.c (mswindows_initialize_font_instance): Added support
4111 for font character sets.
4112 Replaced 'XXX' with '####' in comments throughout the file.
4114 1998-05-23 Kirill M. Katsnelson <kkm@kis.ru>
4116 * emacs.c (main_1): Added calls to vars_of_dialog_mswindows() and
4117 console_type_create_dialog_mswindows(), to initialize Windows dialog
4120 * symsinit.h: Prototyped the above functions.
4122 * dialog-x.c (x_popup_dialog_box): Moved dialog descriptor consistency
4123 checks to dialog.c...
4125 * dialog.c (Fpopup_dialog_box): ...right here. Added more checks: a
4126 device must support dialog boxes, and the descriptor must supply at
4129 * dialog-msw.c: New file, dialogs for Windows.
4131 1998-05-21 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
4133 * eldap.c (ldap_search_unwind): Return Qnil instead of nothing
4134 (Fldap_search_internal): Removed unused variable `err'
4136 * eldap.h: Moved Lisp_LDAP declaration here instead of using a
4139 1998-05-17 Martin Buchholz <martin@xemacs.org>
4141 * eldap.h: eldap.[ch] should never be used unless HAVE_LDAP is
4142 defined. Therefore there is no need to handle the case when
4143 HAVE_LDAP is undefined. Similarily, there is no reason to have
4144 any code wrapped within `#ifdef emacs', since this code is only
4145 useful within an emacs. This simplifies the code significantly.
4147 * inline.c: Include eldap.h only if HAVE_LDAP.
4148 * inline.c: Don't bother including TT_C_H_PATH, since tooltalk.h
4151 1998-05-21 Kirill M. Katsnelson <kkm@kis.ru>
4153 * unexnt.c (copy_executable_and_dump_data_section): Suppress
4154 printing dump stats when building without DEBUG_XEMACS.
4155 (dump_bss_and_heap): Ditto.
4157 1998-05-21 Andy Piper <andyp@parallax.co.uk>
4159 * gnuclient.c: don't suppress window system if there is no display
4160 and we are running under mswindows. send 'mswindows device type if
4161 we are in this situation.
4163 1998-05-20 Andy Piper <andyp@parallax.co.uk>
4166 * lisp.h: Qbitmap, Qcursor, Qicon moved here from glyphs-msw.c.
4168 * glyphs-msw.c: change cursor imgae type name to resource. Fix
4171 1998-05-20 Kirill M. Katsnelson <kkm@kis.ru>
4173 * EmacsFrame.c (Xt_StringToScrollBarPlacement): Added support for
4174 {top,bottom}-{left,right} values in addition to
4175 {top,bottom}_{left,right}.
4177 1998-05-18 Hrvoje Niksic <hniksic@srce.hr>
4179 * fileio.c (Fmake_temp_name): Remove unreached code.
4181 * process-nt.c (validate_signal_number): Use
4182 signal_simple_error().
4184 1998-05-19 Martin Buchholz <martin@xemacs.org>
4187 * sound.c (vars_of_sound):
4188 * sysdep.c (reset_sigio_on_device):
4189 * window.c (window_bottom_gutter_height):
4190 unexhp9k800.c:258: warning: implicit declaration of function
4191 `calculate_checksum'
4192 sound.c:604: warning: implicit declaration of function `vars_of_hpplay'
4193 sysdep.c:1012: warning: unused variable `owner'
4194 window.c:993: warning: `window_right_toolbar_width' defined but not used
4196 1998-05-19 Andy Piper <andyp@parallax.co.uk>
4198 * glyphs-msw.c (mswindows_create_resized_mask)
4199 (mswindows_create_resized_bitmap): new funnctions split out from
4200 mswindows_resize_dibitmap_instance.
4202 * glyphs-msw.h: declare new resize functions.
4204 * toolbar-msw.c (mswindows_output_toolbar): use new bitmap resize
4205 functions so that the original bitmaps are preserved.
4207 * sheap.c: fixup static heap exhausted error to avoid FAQs.
4209 * redisplay-msw.c (mswindows_output_blank): fixup brush from bg
4210 color if we are trying to output 0 depth bg pixmap.
4212 * scrollbar-msw.c: warning elimination.
4214 1998-05-18 Martin Buchholz <martin@xemacs.org>
4216 * frame-x.c (x_update_frame_external_traits): Start preprocessor
4217 directives in column 1.
4219 * search.c (skip_chars): Avoid using xzero with arrays, since some
4220 compilers get confused by the construct &array.
4222 1998-05-18 Kirill M. Katsnelson <kkm@kis.ru>
4225 * objects-msw.c: Changed the charset value for a new font from
4226 "don't care" to "ansi".
4228 * glyphs-msw.c (convert_EImage_to_DIBitmap): Warnings fix.
4230 1998-05-18 Kirill M. Katsnelson <kkm@kis.ru>
4232 * event-msw.c (mswindows_wnd_proc, WM_KEYDOWN): Do not clear shift
4233 modifier on control chars.
4234 Use IsCharAlpha() instead of isaplha().
4236 1998-05-19 Kazuyuki IENAGA <ienaga@jsys.co.jp>
4238 * s/freebsd.h: FreeBSD 2.2.6 now supports setlocale(LC_ALL, "").
4240 1998-05-18 Kirill M. Katsnelson <kkm@kis.ru>
4242 * objects-msw.c (mswindows_initialize_font_instance): Use ANSI
4243 charset when creating font.
4244 (mswindows_initialize_color_instance): Do not create brush along
4246 (mswindows_finalize_color_instance): Do not delete it then.
4248 * objects-msw.h (struct mswindows_color_instance_data): Removed
4249 brush slot, and corresponding accessor macro.
4251 1998-05-18 Kirill M. Katsnelson <kkm@kis.ru>
4253 * toolbar.c: Removed toolbar_data lrecord implementation.
4254 (mark_frame_toolbar_buttons_dirty): Replase usage of toolbar_data
4255 with toolbar_buttons (via FRAME_TOOLBAR_BUTTONS).
4256 (compute_frame_toolbar_buttons): Ditto.
4257 (CHECK_TOOLBAR): Ditto.
4258 (set_frame_toolbar): Removed allocation of toolbar_data lrecord.
4259 (update_frame_toolbars): Do not check for changed buffer
4260 here. Toolbar information is provided by cached specs in
4261 windows. The check for buffer is eliminated becuase toolbars are
4262 marked changed in set_frame_selected_window() in frame.c
4263 Added check for changed toolbars geometry.
4264 (compute_frame_toolbars_data): Removed unused second parameter;
4265 Adjusted callers of this static function throughout the file.
4266 (init_frame_toolbars): Initialize current_toolbar_size.
4267 (update_frame_toolbars): Use DEVICE_SUPPORTS_TOOLBARS_P instead of
4268 what is its current expansion, for clarity.
4269 (init_frame_toolbars): Ditto.
4270 (init_device_toolbars): Ditto.
4271 (init_global_toolbars): Ditto.
4273 * toolbar.h: Removed definition of toolbar_data lrecord.
4274 Added accessor macros FRAME_TOOLBAR_BUTTONS and
4275 FRAME_CURRENT_TOOLBAR_SIZE.
4276 Added macro DEVICE_SUPPORTS_TOOLBARS_P.
4278 * toolbar-x.c (x_output_toolbar): The same change as in
4280 (x_output_toolbar): Ditto.
4281 (x_redraw_exposed_toolbar): Ditto.
4283 * toolbar-msw.c (mswindows_output_toolbar): Retrieve current
4284 buttons from toolbar_buttons using FRAME_TOOLBAR_BUTTONS macro.
4285 (mswindows_output_toolbar): Ditto.
4286 (mswindows_output_toolbar): Ditto.
4288 * frame.c (mark_frame): Removed marking of arrays, according to
4289 frameslots.h change.
4290 (nuke_all_frame_slots): Ditto.
4291 (set_frame_selected_window): Mark toolbars changed when
4292 last_nonminibuf_window changes.
4294 * frame.h (struct frame): Moved some slots to frameslots.h.
4295 Added current_toolbar_size array.
4296 Changed references from toolbar_data to toolbar_buttons in macros
4297 FRAME_RAW_THEORETICAL_TOOLBAR_VISIBLE,
4298 FRAME_RAW_THEORETICAL_TOOLBAR_SIZE and
4299 FRAME_RAW_THEORETICAL_TOOLBAR_BORDER_WIDTH.
4301 * frameslots.h: Added macro MARKED_SLOT_ARRAY a la winslots.h
4302 Moved arrays of lisp objects here from frame.h: toolbar_size,
4303 toolbar_visible_p, toolbar_border_width.
4304 Removed toolbar_data slot and added toolbar_buttons.
4306 1998-05-17 Kirill M. Katsnelson <kkm@kis.ru>
4308 * symsinit.h: Externed syms_of_process_nt()
4310 * emacs.c (main_1): Call syms_of_process_nt()
4312 * process-nt.c: Quote process arguments by a call to Lisp function
4313 `nt-quote-process-args'.
4314 (syms_of_process_nt): New function.
4315 (nt_send_process): Flush data stream after each write, to avoid
4316 leaving buffered data.
4317 (nt_send_process): When blocked on process output, wait for
4318 process to slurp more for progressively increasing time intervals.
4320 1998-05-17 Martin Buchholz <martin@xemacs.org>
4322 * window.c (have_undivided_common_edge): Make file-local function
4324 (map_windows): Return 0 if all map functions successful.
4327 * winslots.h: Use unlikely names for local variables in macros to
4328 avoid shadowing warnings.
4330 1998-05-17 Andy Piper <andyp@parallax.co.uk>
4332 * toolbar-msw.c (mswindows_output_toolbar): hash on toolbar width
4333 so that we re-output if the toolbar size has changed.
4335 1998-05-17 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
4337 * s/aix4-2.h (ALIGN_DATA_RELOC): Undefined to support new unexaix.c.
4339 * s/aix3-1.h (ALIGN_DATA_RELOC): Defined to support new unexaix.c.
4341 * unexaix.c: Massive cleanup and support of AIX 4.2 (and hopefully
4344 1998-05-16 Kirill M. Katsnelson <kkm@kis.ru>
4346 * glyphs-msw.c: Defined OEMRESOURCE before including windows.h to
4347 get bitmap manifest constants defined.
4349 * console-msw.h: Include system files in angle brackets, not in
4352 * window.c (specifier_vars_of_window): Fixed a typo in
4353 `vertical-divider-line-width' docstirng.
4355 1998-05-16 Olivier Galibert <galibert@pobox.com>
4357 * line-number.c (delete_invalidate_line_number_cache): Use an
4359 (buffer_line_number): Remove dangerous, plain wrong when using
4360 64bits emacs ints, cast.
4362 * insdel.c (buffer_delete_range): Use an EMACS_INT.
4364 * cmds.c (Fforward_line): Use EMACS_INTs.
4366 * search.c (bi_scan_buffer): Change to use EMACS_INTs.
4367 (scan_buffer): Ditto.
4368 (bi_find_next_newline_no_quit): Remove useless cast.
4369 (find_next_newline_no_quit): Ditto.
4370 (find_next_newline): Ditto.
4371 (find_before_next_newline): Use an EMACS_INT.
4373 * lisp.h: Change scan_buffer to pass EMACS_INTs.
4375 1998-05-16 Hrvoje Niksic <hniksic@srce.hr>
4377 * menubar-msw.c (mswindows_handle_wm_command): Ditto.
4379 * toolbar-msw.c (mswindows_handle_toolbar_wm_command): Ditto.
4381 * gui-x.c (popup_selection_callback): Use it.
4383 * gui.h (get_callback): Declare it.
4385 * gui.c (get_callback): New function.
4387 1998-05-15 SL Baur <steve@altair.xemacs.org>
4389 * window.c (have_undivided_common_edge): Guard scrollbar specific
4391 (window_needs_vertical_divider_1): Ditto.
4393 1998-05-16 Hrvoje Niksic <hniksic@srce.hr>
4395 * emacs.c (decode_path): Eliminate compiler warning.
4396 (Fdecode_path): Renamed to Fsplit_path.
4397 (Fsplit_string_by_char): New function.
4399 1998-05-14 Damon Lipparelli <lipp@primus.com>
4401 * winslots.h: close comment
4403 1998-05-16 Kirill M. Katsnelson <kkm@kis.ru>
4405 * callproc.c: Removed declared and unused variable Qbuffer_file_type.
4407 * bufslots.h: Removed buffer_file_type slot.
4409 * buffer.c (complex_vars_of_buffer): Removed buffer_file_type from
4411 (complex_vars_of_buffer): Removed buffer-file-type variable and
4412 its default reference.
4414 1998-05-15 Kirill M. Katsnelson <kkm@kis.ru>
4416 * faces.c (complex_vars_of_faces): Defined
4417 Vvertical_divider_face.
4418 (vars_of_faces): Staticpro it.
4420 * faces.h: Externed Vvertical_divider_face.
4422 * redisplay-x.c (x_output_vertical_divider): Use
4423 Vvertical_divider_face to draw the divider instead of modeline
4426 * redisplay-msw.c (mswindows_output_vertical_divider): Draw
4427 divider face using Vvertical_divider_face background.
4428 Fix drawing spacing gaps around the divider.
4430 1998-05-14 Didier Verna <verna@inf.enst.fr>
4432 * redisplay-x.c (x_output_vertical_divider): removed hard-wired
4433 values for the vertical divider line width and spacing. Use the
4434 cached values from the window structure instead.
4435 (x_divider_width): ditto.
4437 * window.c (specifier_vars_of_window): new specifiers:
4438 vertical-divier -line-width and -spacing.
4439 (vertical_divider_global_width_changed): formerly known as
4440 vertical_divider_shadow_thickness_changed.
4442 * winslots.h: new slots: vertical_specifier _line_width and
4443 _spacing. Plus corrected a comment typo.
4445 1998-05-15 Kirill M. Katsnelson <kkm@kis.ru>
4447 * window.h: Declared window_divider_width().
4449 * console-stream.c (stream_divider_width): Removed method.
4450 (console_type_create_stream): And declaration for it.
4452 * redisplay.c (pixel_to_glyph_translation): Use
4453 window_divider_width() instead of divider_width redisplay method.
4454 (pixel_to_glyph_translation): Fix top divider edge calculation
4455 when scrollbar is on top.
4457 * window.c (window_divider_width): New function, an outphaser for
4458 divider_width redisplay method.
4459 (window_right_gutter_width): Use it.
4460 (specifier_vars_of_window): For vertical-divider-{spacing,line-width}
4461 specifiers, set fallback values differently on TTYs, and document
4462 the behavior of these on TTYs in the docstrings.
4464 * scrollbar.c (update_scrollbar_instance): Use
4465 window_divider_width() instead of divider_width redisplay method.
4467 * console.h (struct console_methods): Removed divider_width_method.
4469 * redisplay-tty.c (tty_divider_width): Removed device method.
4470 (console_type_create_redisplay_tty): Removed definition for it.
4471 (tty_output_vertical_divider): Respect the value returned by
4472 window_divider_width thus divider line width specification.
4474 * redisplay-msw.c (mswindows_divider_width): Removed device method.
4475 (console_type_create_redisplay_mswindows): Removed definition for it.
4476 (mswinodws_output_vertical_divider): Respect the value returned by
4477 window_divider_width thus divider line width specification.
4479 1998-05-15 Andy Piper <andyp@parallax.co.uk>
4481 * toolbar-msw.c: guess toolbar frame size a bit more accurately.
4483 1998-05-15 Andy Piper <andyp@parallax.co.uk>
4485 * glyphs-msw.c: resource loading implementation.
4486 (cursor_normalize): new function.
4487 (cursor_validate): ditto.
4488 (cursor_instantiate): ditto.
4489 (cursor_name_to_resource): ditto.
4490 (cursor_possible_dest_types): ditto.
4491 (check_valid_symbol): ditto.
4492 (check_valid_string_or_int): ditto.
4494 1998-05-14 Martin Buchholz <martin@xemacs.org>
4496 * sysdep.c (tty_init_sys_modes_on_device): Treat VSUSP just like
4499 * process-unix.c (process_signal_char): Use VSUSP instead of
4500 non-standard VSWTCH. Always prefer VSUSP to VSWTCH.
4502 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
4504 * specifier.c (specifier_instance): Change locale precedence of
4505 instantiation so window locale has higher priority than buffer
4507 (Fspecifier_instance): Reflect this in docstring.
4508 (Fadd_spec_list_to_specifier): Ditto.
4509 (Fadd_spec_to_specifier): Ditto.
4510 (Fremove_specifier): Ditto.
4512 1998-05-15 Kirill M. Katsnelson <kkm@kis.ru>
4514 ** Dialog separation into a device method from Andy Piper
4516 * emacs.c (main_1): Call console_type_create_dialog_x().
4518 * dialog-x.c (x_popup_dialog_box): Old Fpopup_dialog_box converted
4519 into this device method.
4520 (console_type_create_dialog_x): New function.
4522 * dialog.c (Fpopup_dialog_box): New function.
4523 (syms_of_dialog): Defsubr it.
4525 * console.h (struct console_methods): Declared
4526 popup_dialog_box_method().
4528 * symsinit.h: Defined console_type_create_dialog_{x,mswindows}
4530 1998-05-14 Oliver Graf <ograf@fga.de>
4532 * dragdrop.c (vars_of_dragdrop): dragdrop-protocols created
4533 * frame-x.c (x_cde_transfer_callback): checked for merge errors
4535 1998-05-13 Oliver Graf <ograf@fga.de>
4537 * dragdrop.c (vars_of_dragdrop): provide dragdrop-api
4539 1998-05-15 Kirill M. Katsnelson <kkm@kis.ru>
4541 * console.h (device_metrics): Removed dbcs, input-method-editor
4542 and right-to-left metrics.
4544 * device.c (Fdevice_system_metric): Ditto.
4545 (Fdevice_system_metrics): Ditto.
4546 (syms_of_device): Ditto.
4547 (Fdevice_system_metric): Swapped DEVICE and METRIC parameters back
4550 1998-05-14 Hrvoje Niksic <hniksic@srce.hr>
4552 * line-number.h (mark_line_number_cache): Remove unused
4555 * line-number.c (LINE_NUMBER_FAR): Increase to 32768.
4556 (get_nearest_line_number): Simplify.
4557 (add_position_to_cache): Make the old marker point nowhere.
4559 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
4561 ** Renamed window-divider-map => vertical-divider-map
4562 and event-over-divider-p => event-over-vertical-divider-p,
4563 in the following files/functions:
4565 * events.c (Fevent_over_divider_p):
4566 * keymap.c (get_relevant_keymaps):
4569 * redisplay.h (OVER_V_DIVIDER): Renamed so from OVER_DIVIDER.
4571 * redisplay.c (pixel_to_glyph_translation): Use OVER_V_DIVIDER.
4573 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
4575 * window.c (vertical_divider_changed_in_window): Renamed so.
4576 (specifier_vars_of_window): Defined Vvertical_divider_draggable_p.
4577 (window_needs_vertical_divider_1): Decide whether we need it based
4578 on the value of the above specifier. If separators are unwanted,
4579 put them only if there's no scrollbar between this window and its
4581 (have_undivided_common_edge): New function, helper for the above.
4582 (window_needs_vertical_divider): Return either a cached value,
4583 or clauclate and cache one.
4584 (invalidate_vertical_divider_cache_in_window): Implemented.
4585 (map_windows): Changed return type to int, return the value from
4588 * window.h: Prototype invalidate_vertical_divider_cache_in_window.
4589 (struct window): Added need_vertical_divider_p and
4590 need_vertical_divider_valid_p.
4592 * winslots.h: Added vertical_divider_draggable_p slot.
4594 * scrollbar.c (vertical_scrollbar_changed_in_window): Implemented.
4595 (specifier_vars_of_scrollbar): Used it in all vertical specifiers.
4597 * frame.c (invalidate_vertical_divider_cache_in_frame): New function.
4599 * frame.h (MARK_FRAME_WINDOWS_STRUCTURE_CHANGED): Call
4600 invalidate_vertical_divider_cache_in_frame().
4603 1998-05-14 Andy Piper <andyp@parallax.co.uk>
4605 * toolbar-msw.c: provide correct parameters to TB_SETROWS.
4607 * glyphs-msw.c (mswindows_initialize_image_instance_mask): size
4608 masks correctly and don't select 0.
4610 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
4612 * winslots.h: New file, declaration of some struct window and
4613 struct saved_window members.
4615 * window.h (struct window): Include it, with required preprocessor
4618 * window.c (mark_window): Ditto.
4619 (allocate_window): Ditto.
4620 (struct saved_window): Ditto.
4621 (mark_window_config): Ditto.
4622 (saved_window_equal): Ditto.
4623 (Fset_window_configuration): Ditto.
4625 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
4627 * redisplay-msw.c (mswindows_output_vertical_divider): Syntax fix.
4629 1998-05-12 Didier Verna <verna@inf.enst.fr>
4631 * redisplay-x.c (x_output_vertical_divider): draw shadows around
4632 the divider line. The shadow thickness is currently
4633 hard-wired. This will probably be turned into a specifier soon.
4635 1998-05-12 Didier Verna <verna@inf.enst.fr>
4637 * console.h (struct console_methods): the divider_width console
4638 method now requires a struct window * argument.
4640 * redisplay-x.c (x_divider_width): ditto. Plus remove
4641 X_DIVIDER_WIDTH, X_DIVIDER_SHADOW_THICKNESS.
4642 (x_output_vertical_divider): give a depressed look when the shadow
4643 thickness is negative.
4645 * console-stream.c (stream_divider_width): pass a struct window *
4648 * redisplay-tty.c (tty_divider_width): ditto.
4650 * window.c (window_right_gutter_width): totdi.
4652 * redisplay.c (generate_modeline): ittod.
4654 * scrollbar.c (update_scrollbar_instance): ttido.
4656 * redisplay-msw.c (mswindows_divider_width): ottid.
4657 WARNING: this enables to compile, but the feature is not functional.
4659 * window.h (struct window): new field
4660 vertical_divider_shadow_thickness.
4662 * window.c (specifier_vars_of_window): new specifier
4663 vertical-divider-shadow-thickness.
4664 (vertical_divider_shadow_thickness_changed): new function to
4665 inform redisplay that the window has changed.
4666 (mark_window): handle new field vertical_divider_shadow_thickness
4668 (allocate_window): ditto.
4669 (saved_window_equal): toddi.
4670 (Fset_window_configuration): totid.
4671 (save_window_save): ttdio.
4672 (struct saved_window): new field vertical_divider_shadow_thickness.
4674 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
4676 * device-msw.c (mswindows_device_system_metrics): Support a deluge
4679 1998-05-12 Oliver Graf <ograf@fga.de>
4681 * frame-x.c (x_cde_transfer_callback): fixed for the new protocol
4682 * event-Xt.c (x_event_to_emacs_event): C++ compability
4684 1998-05-14 Hrvoje Niksic <hniksic@srce.hr>
4686 * emacs.c (Fdecode_path): Default SEPCHAR to value of
4689 1998-05-14 Hrvoje Niksic <hniksic@srce.hr>
4691 * emacs.c (vars_of_emacs): Do it here; change the meaning of
4694 * fileio.c (vars_of_fileio): Don't define Vpath_separator here.
4696 1998-05-14 Hrvoje Niksic <hniksic@srce.hr>
4698 * emacs.c (decode_path_1): New function.
4699 (decode_path): Use it.
4700 (Fdecode_path): Renamed from Fdecode_path_internal; use
4703 1998-05-12 Hrvoje Niksic <hniksic@srce.hr>
4705 * macros.c (Fzap_last_kbd_macro_event): New function.
4706 (Fend_kbd_macro): Remove REMOVE_LAST kludge.
4708 1998-05-10 Andy Piper <andyp@parallax.co.uk>
4710 * redisplay-msw.c (mswindows_output_dibitmap_region): make sure
4711 multiple bitmaps are output vertically as well as horizontally.
4712 * (mswindows_output_dibitmap): don't cope with bitmap boundaries
4713 crossing lines this is handled by
4714 mswindows_output_dibitmap_region.
4716 1998-05-12 Martin Buchholz <martin@xemacs.org>
4718 * inline.c: Include eldap.h
4720 * menubar-x.c (x_update_frame_menubar_internal):
4721 Remove: unused variable `container'
4723 1998-05-11 Martin Buchholz <martin@xemacs.org>
4725 * s/aix4.h: Allow AIX 4.3 XEmacs to compile cleanly.
4726 Unfortunately, the resulting temacs still cannot dump.
4728 * symbols.c (symbol_is_constant):
4729 (verify_ok_for_buffer_local):
4730 -Wswitch Warning suppression - add default case to switches.
4732 * redisplay.c (decode_mode_spec): Remove unused variables,
4733 Replace Fcoding_system_property (codesys, Qmnemonic) with
4734 XCODING_SYSTEM_MNEMONIC (codesys);
4735 Fcoding_system_property is for users.
4741 Change empty docstrings into no doc strings at all.
4742 Fix bogus FSF-format docstrings.
4745 Standardize docstrings.
4748 Explain problems with matherr.
4750 * glyphs.c: make DEFUNs etags-readable, i.e. single-line
4753 if BROKEN_SIGIO, then SIGIO wants to be undefined.
4754 if SIGIO and not SIGPOLL, SIGPOLL wants to be SIGIO.\
4755 Fix the weird resultant interaction (causes windows problems)
4759 Take new EMACSBOOTSTRAPLOADPATH into account.
4760 Update documentation strings
4763 - Adjust for luser's CDPATH being set to something weird.
4764 - Take into account bash 2.02's tendency to print the cwd when
4765 using CDPATH. Always use `cd ./foo' instead of `cd foo'.
4766 - fix the run-temacs target to use $(DUMPENV)
4767 - fix the run-puremacs target to use $(DUMPENV)
4768 - fix the `depend' target to properly $(RM) the right files
4769 - Generate a better TAGS file for XEmacs' lisp code using
4770 hand-crafted regexps.
4771 - Use standard coding conventions for modules/Makefile.in
4773 1998-05-12 Didier Verna <verna@inf.enst.fr>
4775 * redisplay.c: removed the scrolling modeline code that didn't
4776 make it for 21.0. To be continued ...
4778 1998-05-13 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
4780 * emacs.c (Fdecode_path_internal): Removed bogus handling of nil
4781 and empty string inputs.
4783 1998-05-12 Hrvoje Niksic <hniksic@srce.hr>
4785 * redisplay-x.c (x_output_vertical_divider): Fixed typo.
4787 1998-05-10 Oliver Graf <ograf@fga.de>
4789 * event-stream.c (enqueue_misc_user_event_pos): created
4790 * lisp.h (enqueue_misc_user_event_pos): prototype added
4791 * frame-x.c (x_cde_transfer_callback): debug code plus API changes
4792 * emacs.c: call vars_of_dragdrop
4793 * dragdrop.c (vars_of_dragdrop): provide dragdrop
4795 1998-05-11 Oliver Graf <ograf@fga.de>
4797 * frame-x.c (x_cde_transfer_callback): return at correct pos
4798 * event-Xt.c (x_event_to_emacs_event): changed format of drop
4799 object for MIME (see comment in dragdrop.c)
4800 * dragdrop.c: API change documented in comment
4801 removed provide of dragdrop [is provided by dragdrop.el]
4803 1998-05-12 Kirill M. Katsnelson <kkm@kis.ru>
4805 * window.c (window_needs_vertical_divider): Enable vertical
4806 dividers for every non-rightmost window.
4807 (window_left_gutter_width): Left gutter consists of mythical
4808 toolbar and a virtual scrollbar.
4809 (window_right_gutter_width): The right one may have a divider
4812 * scrollbar.c (update_scrollbar_instance): Position vertical
4813 scrollbar left to divider if the latter present.
4815 * redisplay.h: Declared OVER_DIVIER constant.
4817 * redisplay.c (pixel_to_glyph_translation): Handle OVER_DIVIDER
4820 * redisplay-x.c (x_output_vertical_divider): Output divider along
4821 the right side of the window, down to window bottom. Swapped
4822 foreground and background colors so it is visible by default.
4824 * redisplay-tty.c (tty_output_vertical_divider): Uncondiionally
4825 stick the divider to the right window side.
4827 * redisplay-msw.c (mswindows_redisplay_deadbox_maybe): Fixed
4829 (mswindows_divider_width): Ask system for user preferred value.
4830 (mswindows_output_vertical_divider): Always output the divider on
4831 the right side of a window, down to bottom.
4833 * keymap.c (get_relevant_keymaps): Route mouse button events which
4834 happened over a window divider through window-divider-map.
4835 (Fkey_binding): Documented that in the docstring.
4836 Defined the variable Vwindow_divider_map.
4838 * events.c (Fevent_over_divider_p): Added this function.
4840 * events.h: EXFUNed it.
4842 1998-05-12 Kirill M. Katsnelson <kkm@kis.ru>
4844 * toolbar.c (update_frame_toolbars): Re-layout frame windows if
4845 toolbar geometry is suspected to change.
4847 1998-05-11 Jonathan Harris <jhar@tardis.ed.ac.uk>
4851 Condition dnd and dde code on HAVE_DRAGNDROP.
4853 1998-05-11 Hrvoje Niksic <hniksic@srce.hr>
4855 * events.c (format_event_object): Print space as SPC etc.
4857 1998-05-11 Hrvoje Niksic <hniksic@srce.hr>
4859 * print.c (print_internal): In the default case, abort() if
4860 ERROR_CHECK_TYPECHECK.
4862 * fileio.c (Fmake_temp_name): Doc fix.
4864 1998-05-10 Hrvoje Niksic <hniksic@srce.hr>
4866 * xgccache.c (describe_gc_cache): Define only if DEBUG_XEMACS.
4868 * undo.c (Fprimitive_undo): Fixed typo.
4870 1998-05-11 Hrvoje Niksic <hniksic@srce.hr>
4872 * fns.c (concat): Signal error on integer argument.
4874 1998-05-10 Kirill M. Katsnelson <kkm@kis.ru>
4876 * console.h (device_metrics): Prefixed each constatnt with DM_
4878 * device.c: (Fdevice_system_metric): Renamed so from plural form
4879 (metrics); Changed parameters order and added DEFAULT parameter;
4880 Unabbreviated some metric constants; Fixed and untabified doc string.
4881 (Fdevice_system_metrics): Added. Returns a plist of all provided
4884 * device-msw.c (mswindows_device_system_metrics): Renamed
4885 device_metrics enum constants.
4886 Return Qunbound instead of Qnil.
4888 * device-tty.c (tty_device_system_metrics): Ditto.
4890 * device-x.c (x_device_system_metrics): Ditto.
4892 1998-05-10 Andy Piper <andyp@parallax.co.uk>
4894 * redisplay-msw.c: implement background pixmaps (really!). Make
4895 sure bg color is transparent if we have bg pmaps.
4896 * (mswindows_output_string) (mswindows_clear_region): output bg
4898 * (mswindows_output_dibitmap_region): new function.
4899 * (mswindows_output_dibitmap): output offset pixmaps, blt masks in
4900 the bg color rather than transparently.
4902 * toolbar-msw.c: use masks if they exist.
4904 * glyphs-msw.c: set up masks correctly.
4906 * event-msw.c: typedef SOCKET if cygwin and not msg select().
4908 1998-05-10 Hrvoje Niksic <hniksic@srce.hr>
4910 * regex.c (re_match_2_internal): Check for quit.
4912 1998-05-10 Hrvoje Niksic <hniksic@srce.hr>
4914 * frame.c (Ffocus_frame): New function.