1 2001-04-14 Stephen J. Turnbull <stephen@xemacs.org>
3 * XEmacs 21.2.47 "Zephir" is released.
5 2001-04-02 Jan Vroonhof <jan@xemacs.org>
7 * redisplay.c (add_bufbyte_string_runes): Update data->bytepos
9 2001-04-03 Mike Sperber <mike@xemacs.org>
11 * search.c: Revert previous patch due because of release.
13 2001-03-30 Ben Wing <ben@xemacs.org>
16 Add missing killpg prototype.
19 Add a comment about fixing problems when a new entry is added
22 * frame-msw.c (mswindows_init_frame_1):
25 * menubar.c (vars_of_menubar):
26 Provide `menu-accelerator-support' to indicate that we properly
27 support %_ in menu specifications, so that package code can
28 conditionalize on this (and remove %_ from menu specifications
33 * scrollbar-msw.c (can_scroll):
35 Fix handling of mouse wheel under Windows to follow standards --
36 now scrolls window under pointer, not selected window.
38 2001-03-31 Mike Sperber <mike@xemacs.org>
40 * search.c (Freplace_match): Support FSF-style specification of
41 match subexpression when applied to a buffer.
43 2001-03-15 Martin Buchholz <martin@xemacs.org>
45 * keymap.c (Fmap_keymap): map-keymap explicitly allows a mapping
46 function to modify KEYMAP, so map over a copy of the hash table.
48 2001-03-21 Martin Buchholz <martin@xemacs.org>
50 * XEmacs 21.2.46 "Urania" is released.
52 2001-03-20 Dan Holmsand <dan@eyebee.com>
54 * realpath.c (xrealpath): Make file-truename work with symlinks to
55 /cygdrive paths on cygwin. Always lowercase drive-letters on
57 (cygwin_readlink): Don't try to find canonical filename unless
60 2001-03-15 Stephen J. Turnbull <stephen@xemacs.org>
62 * ChangeLog: Log GTK merge.
68 Revert gratuitous whitespace changes from GTK merge.
70 * emacs.c: Document end of complex #ifdef @ l. 1495.
73 2001-03-12 Andy Piper <andy@xemacs.org>
75 * mingw32.h: unfortunately cygnus changed mingw32 -> mingw so we
78 2001-03-12 Andy Piper <andy@xemacs.org>
80 * sysdep.c: we only support mingw now.
82 2001-03-09 Andy Piper <andy@xemacs.org>
84 * unexcw.c (copy_executable_and_dump_data_section): making approx
85 overrun a warning only.
87 2001-03-10 William M. Perry <wmperry@aventail.com>
89 * faces.c (complex_vars_of_faces): Rewrote the font mucking to
90 satisfy Stephen's identical-after-cpp plea.
92 2001-03-02 Ben Wing <ben@xemacs.org>
95 * cmds.c (Fforward_char):
99 Augment documentation of the most common motion commands to make
100 note of the shifted-motion support.
102 2001-03-02 Ben Wing <ben@xemacs.org>
104 * nt.c (mswindows_fstat):
105 * nt.c (mswindows_stat):
106 * search.c (boyer_moore):
107 Fix compile warnings under Windows.
109 * sysdep.c (sys_readdir):
110 Fix buggy filename-conversion code under Mule.
112 2001-03-09 William M. Perry <wmperry@aventail.com>
134 * redisplay-output.c:
147 * emacs-widget-accessors.c:
161 * native-gtk-toolbar.c:
172 The Great GTK Merge: new files.
174 2001-02-26 Ben Wing <ben@xemacs.org>
176 Reapplied Lstream change.
178 2001-02-26 Ben Wing <ben@xemacs.org>
180 Undid the last change, since it is more controversial than I
181 thought. It should be back in at some point soon.
183 2001-02-25 Ben Wing <ben@xemacs.org>
186 * callproc.c (Fold_call_process_internal):
187 * event-msw.c (ntpipe_slurp_reader):
188 * event-msw.c (ntpipe_shove_writer):
189 * event-msw.c (winsock_reader):
190 * event-msw.c (winsock_writer):
192 * file-coding.c (detect_eol_type):
193 * file-coding.c (detect_coding_type):
194 * file-coding.c (determine_real_coding_system):
195 * file-coding.c (Fdetect_coding_region):
196 * file-coding.c (decoding_reader):
197 * file-coding.c (decoding_writer):
198 * file-coding.c (mule_decode):
199 * file-coding.c (Fdecode_coding_region):
200 * file-coding.c (encoding_reader):
201 * file-coding.c (encoding_writer):
202 * file-coding.c (mule_encode):
203 * file-coding.c (Fencode_coding_region):
204 * file-coding.c (detect_coding_sjis):
205 * file-coding.c (decode_coding_sjis):
206 * file-coding.c (encode_coding_sjis):
207 * file-coding.c (detect_coding_big5):
208 * file-coding.c (decode_coding_big5):
209 * file-coding.c (encode_coding_big5):
210 * file-coding.c (detect_coding_ucs4):
211 * file-coding.c (decode_coding_ucs4):
212 * file-coding.c (encode_coding_ucs4):
213 * file-coding.c (detect_coding_utf8):
214 * file-coding.c (decode_coding_utf8):
215 * file-coding.c (encode_coding_utf8):
216 * file-coding.c (detect_coding_iso2022):
217 * file-coding.c (decode_coding_iso2022):
218 * file-coding.c (encode_coding_iso2022):
219 * file-coding.c (decode_coding_no_conversion):
220 * file-coding.c (encode_coding_no_conversion):
221 * glyphs-x.c (write_lisp_string_to_temp_file):
222 * gpmevent.c (tty_get_foreign_selection):
225 * lstream.c (Lstream_flush_out):
226 * lstream.c (Lstream_adding):
227 * lstream.c (Lstream_write_1):
228 * lstream.c (Lstream_write):
229 * lstream.c (Lstream_raw_read):
230 * lstream.c (Lstream_read_more):
231 * lstream.c (Lstream_read):
232 * lstream.c (Lstream_unread):
233 * lstream.c (Lstream_fputc):
234 * lstream.c (stdio_reader):
235 * lstream.c (stdio_writer):
236 * lstream.c (filedesc_reader):
237 * lstream.c (filedesc_writer):
238 * lstream.c (lisp_string_reader):
239 * lstream.c (struct fixed_buffer_stream):
240 * lstream.c (make_fixed_buffer_input_stream):
241 * lstream.c (make_fixed_buffer_output_stream):
242 * lstream.c (fixed_buffer_reader):
243 * lstream.c (fixed_buffer_writer):
244 * lstream.c (struct resizing_buffer_stream):
245 * lstream.c (resizing_buffer_writer):
246 * lstream.c (dynarr_writer):
247 * lstream.c (lisp_buffer_reader):
248 * lstream.c (lisp_buffer_writer):
250 * lstream.h (lstream_implementation):
251 * lstream.h (struct lstream):
253 * process-nt.c (nt_send_process):
254 * process-unix.c (unix_send_process):
256 Correct Lstream lossage due to mixing of signed and unsigned
257 quantities. All Lstream uses of size_t and ssize_t are now a
258 single signed data type Lstream_data_count. This fixes problems
259 under Windows with sending large quantities of data to a process,
260 and may well fix other subtle bugs.
262 2001-02-23 Martin Buchholz <martin@xemacs.org>
264 * XEmacs 21.2.45 "Thelxepeia" is released.
266 2001-02-21 Martin Buchholz <martin@xemacs.org>
268 * lisp-union.h (XSETINT):
271 Reverse previous change of 2001-02-06.
273 2001-02-20 Matt Tucker <tuck@whistlingfish.net>
275 Fix `VALID_BYTIND_P' crashes in regex.c when using narrowed
277 * syntax.h (SYNTAX_CACHE_BYTE_TO_CHAR):
278 * syntax.h (SYNTAX_CACHE_OBJECT_BYTE_TO_CHAR):
279 Add `BI_BUF_BEGV' to bytepos before calculating bufpos.
280 * regex.c (POS_AS_IN_BUFFER): removed
281 * regex.c (re_search_2):
282 * regex.c (re_match_2):
283 Don't use an offset of 1 when calculating buffer positions, since
284 `BI_BUF_BEGV' does it already.
286 2001-02-18 Wim Dumon <wim@easics.be>
288 * insdel.c (prepare_to_modify_buffer): Also check for
289 supersession when clash-detection is enabled.
291 2001-02-17 Matt Tucker <tuck@whistlingfish.net>
293 * regex.c (re_match_2_internal):
294 Convert temp characters from 'const unsigned char' to 're_char'.
295 Fix crashing bug with extended characters under mule.
296 * syntax.c (Qsyntax_table): Moved from vars_of_syntax to
297 syms_of_syntax. Use defsymbol to define. Fixes hanging bug with
298 font-lock, pdump, and new syntax-table code.
299 * syntax.c (find_start_of_comment):
300 (find_end_of_comment):
302 Fix crashing bugs involving moving beyond end of buffer.
303 * syntax.c (find_start_of_comment):
304 Fixed logic to allow proper detection of cases where the same
305 character is used to end both a two-char comment start and a
306 two-char comment end sequence. Fixes `(forward-comment -1)'.
307 * syntax.c (find_start_of_comment):
308 Return position just past last comment-end character for all cases
309 (previously was only done for two-char comment-end sequences).
310 * syntax.c (forward-comment):
311 Take value returned from `find_end_of_comment', rather than
313 * syntax.h (SYNTAX_CACHE_BYTE_TO_CHAR):
314 Properly deal with BUFFERP (syntax_cache.object)
316 2001-02-17 Martin Buchholz <martin@xemacs.org>
318 * alloc.c (Fgarbage_collect):
319 * alloc.c (make_bit_vector_from_byte_vector):
320 -Wsign-compare-correctness.
322 2001-02-16 Martin Buchholz <martin@xemacs.org>
324 * lisp-union.h (XSETINT): Eliminate unnecessary temp var.
325 (XSETCHAR): Likewise.
328 2001-02-15 Martin Buchholz <martin@xemacs.org>
330 * mule-canna.c (canna-func-delete_previous):
331 Rename to canna-func-delete-previous.
333 2001-02-14 Martin Buchholz <martin@xemacs.org>
335 * mule-ccl.c (ccl_driver): Warning suppression. Use countof.
337 2001-02-13 Matt Tucker <tuck@whistlingfish.net>
339 * font-lock.c (find_context): Fix C++ compile errors introduced by
342 2001-02-13 Martin Buchholz <martin@xemacs.org>
344 * s/aix4.h: Later versions of IBM C compiler need a bug workaround
345 pragma, but earlier ones barf on the same pragma.
347 2001-02-06 Mike Sperber <mike@xemacs.org>
349 * emacs.c (complex_vars_of_emacs): Add `mule-lisp-directory' and
350 `configure-mule-lisp-directory'.
352 2001-02-12 Martin Buchholz <martin@xemacs.org>
354 Make sure dump-id.c is compiled in the same way as other .c's.
355 Fixes pdump compilation failure with HP's cc, which defaults to K&R.
357 * emacs.c: Move dump-id.h into dumper.h.
358 * dumper.h: Move dump-id.h into dumper.h.
360 Use standard .c.o rule for building dump-id.o.
361 Remove preprocessor flags from link command.
362 Add dump-id.o to ${otherobjs} if PDUMP.
364 2001-02-07 Matt Tucker <tuck@whistlingfish.net>
366 Port FSF 20.7 syntax table improvements.
370 Fixups for new syntax table stuff.
371 * dired.c: Include syntax.c.
372 (Fdirectory_files): Initialize regex_match_object and
374 * extents.h: EXFUN Fnext_extent_change, Fprevious_extent_change,
375 and Fget_char_property.
377 Use ported FSF 20.7 syntax table improvements.
382 2001-02-09 Martin Buchholz <martin@xemacs.org>
384 * regex.c (Boolean): Renamed to `re_bool', to avoid conflict with
385 Unixware's enum boolean from sys/types.h.
387 2001-02-10 Martin Buchholz <martin@xemacs.org>
389 Fix support for building with latest Purify.
390 * Makefile.in.in (PURIFY_LIBS): Remove thread flags.
391 (PURIFY_FLAGS): Likewise.
393 2001-02-09 Martin Buchholz <martin@xemacs.org>
395 * fileio.c (lisp_string_set_file_times): New.
396 * fileio.c (Fcopy_file): Use it.
398 (copy-file filename non-ascii-filename t t)
399 ==> No such file or directory, non-ascii-filename
401 2001-02-10 Martin Buchholz <martin@xemacs.org>
403 * glyphs-x.c (generate_cursor_fg_bg): Avoid a warning.
404 USHRT_MAX seems clearer than ~0 anyways.
406 2001-02-09 Martin Buchholz <martin@xemacs.org>
408 dumper improvements. Inspired by Olivier.
409 * dumper.c (pdump_max_align): New.
410 * dumper.c (pdump_add_entry): Use pdump_max_align.
411 * dumper.c (pdump_get_entry_list): Likewise.
412 * dumper.c (pdump_scan_by_alignment): Likewise.
413 Don't iterate through unnecessary alignments.
414 * dumper.c (pdump_file_get): No need to align result of malloc().
415 * dumper.c (pdump_mallocadr): Remove.
416 The result of malloc() is guaranteed to be maximally aligned.
417 * dumper.c: s/elmt/elt/g;
418 * dumper.c (pdump_object_table): Allocate dynamically, not statically.
419 * dumper.c (pdump_alert_undump_object): Likewise.
420 * dumper.c (pdump_align_table):
421 Don't support alignments > 64.
422 Store ALIGNOF's, not shift counts, in table.
424 2001-02-09 Martin Buchholz <martin@xemacs.org>
426 * s/mingw32.h (HAVE_STRUCT_UTIMBUF): Remove.
427 * s/windowsnt.h (HAVE_STRUCT_UTIMBUF): Remove.
428 * systime.h: Use HAVE_UTIME.
429 * sysdep.c (struct utimbuf): Remove.
430 * sysdep.c (set_file_times): Prefer utime() to utimes().
431 * config.h.in (HAVE_UTIME): New.
432 * config.h.in (HAVE_UTIME_H): Remove.
433 * config.h.in (HAVE_STRUCT_UTIMBUF): Remove.
435 2001-02-09 Martin Buchholz <martin@xemacs.org>
437 * s/aix4.h: Hide #pragmas inside #ifndef NOT_C_CODE.
439 2001-02-08 Martin Buchholz <martin@xemacs.org>
441 * s/irix6-0.h: Use the standard system memmove, not bcopy.
443 2001-02-08 Martin Buchholz <martin@xemacs.org>
445 * XEmacs 21.2.44 "Thalia" is released.
447 2001-02-06 Martin Buchholz <martin@xemacs.org>
449 Fixes crashes in kill-emacs on some systems.
450 * process-unix.c (unix_kill_child_process):
451 It's OK for kill() to fail with ESRCH.
453 2001-02-07 Martin Buchholz <martin@xemacs.org>
455 Contortions to make .gdbinit tricks work on most systems.
456 * alloc.c (dbg_inhibit_dbg_symbol_deletion): Keep debugger info.
457 * alloc.c (dbg_valmask): Make non-const.
458 * alloc.c (dbg_typemask): Make non-const.
459 * alloc.c (dbg_USE_UNION_TYPE): Make non-const.
460 * alloc.c (dbg_valbits): Make non-const.
461 * alloc.c (dbg_gctypebits): Make non-const.
462 * .gdbinit (decode_object): Make it work with AIX cc.
464 2001-02-06 Martin Buchholz <martin@xemacs.org>
466 * elhash.c (make_general_lisp_hash_table):
467 Use simpler and more efficient calloc to clear entries.
469 2001-02-07 Martin Buchholz <martin@xemacs.org>
471 * window.c (window_scroll): Work around an AIX C compiler bug.
472 Fixes 'scroll-up' does nothing problem with xlC.
474 2001-02-05 Martin Buchholz <martin@xemacs.org>
476 * .gdbinit: Remove obsolete comment.
478 2001-01-31 Mike Alexander <mta@arbortext.com>
480 * select.c (Fown_selection_internal): Set owned_p for device
483 2001-02-01 Martin Buchholz <martin@xemacs.org>
486 "not" cannot be used as a macro name as it is an operator in C++
487 * config.h.in: Stop #defining `not'.
488 * chartab.c (check_category_char): not ==> not_p
489 * chartab.h: Likewise.
490 * regex.c (re_match_2_internal): Likewise.
492 2001-02-02 Martin Buchholz <martin@xemacs.org>
494 * lisp-disunion.h: Fix up comments.
496 2001-01-31 Martin Buchholz <martin@xemacs.org>
498 * keymap.c (define_key_check_and_coerce_keysym):
500 Support mouse-6 and mouse-7 bindings in the obvious way.
502 2001-02-01 Martin Buchholz <martin@xemacs.org>
504 * m/hp9000s300.h (UNEXEC): Check for HPUX, not !BSD.
506 2001-01-30 Martin Buchholz <martin@xemacs.org>
508 Previous patch changing DEFVAR_INT to use EMACS_INT was incomplete.
509 Previous patch missed DEFVAR_INT_MAGIC.
510 Make sure future DEFVAR_foo use correct types.
511 * symeval.h (DEFVAR_SYMVAL_FWD_FIXNUM): New.
512 * (DEFVAR_SYMVAL_FWD_INT): Add type checking.
513 * (DEFVAR_SYMVAL_FWD_OBJECT): Add type checking.
514 * (DEFVAR_INT_MAGIC): Use DEFVAR_SYMVAL_FWD_FIXNUM.
515 * (DEFVAR_INT): Likewise.
516 * redisplay.c (vertical_clip): Should be of type Fixnum.
517 * redisplay.c (horizontal_clip): Likewise.
518 * lisp.h (dump_add_opaque_int): New.
519 (dump_add_opaque_fixnum): New.
521 2001-01-29 Andy Piper <andy@xemacs.org>
523 * glyphs-widget.c (check_valid_int_or_function): allow symbols
524 since they can be eval'ed
526 2001-01-29 Martin Buchholz <martin@xemacs.org>
528 * lisp.h (ALIGNOF): Make it work on non-gcc C++ compilers.
529 Oops, XEmacs redefines `class'. Use `typename' instead.
531 2001-01-28 Martin Buchholz <martin@xemacs.org>
533 * dumper.c: Fix C++ compile errors.
535 2001-01-29 Martin Buchholz <martin@xemacs.org>
537 * tparam.c: Use correct prototypes.
539 2001-01-28 Martin Buchholz <martin@xemacs.org>
541 * sysproc.h: #include util.h for NetBSD's openpty.
543 2001-01-27 Martin Buchholz <martin@xemacs.org>
545 More 64-bit correctness.
546 The C value of a DEFVAR_INT should be of type EMACS_INT, not int.
547 Use a typedef `fixnum' for the type used for DEFVAR_INT.
549 This finally finishes the 64-bit SGI port.
550 Fixes things like (let ((gc-cons-threshold most-positive-fixnum)) ...).
551 * symbols.c: Fix up comments and type casts.
552 * symbols.c (do_symval_forwarding): s/int/Fixnum/g
553 * symbols.c (store_symval_forwarding): s/int/Fixnum/g
554 * symeval.h (Fixnum): New type.
555 * symeval.h (symbol_value_type): Fix up comment.
571 * mule-canna.c: A million DEFVAR_INTs here...
572 * mule-canna.c (count_char): s/int */Fixnum */g in arglist.
585 s/int/Fixnum/g in DEFVAR_INT declarations.
587 2001-01-26 Martin Buchholz <martin@xemacs.org>
589 Port pdump to SGI alignment-sensitive environment.
590 Lisp Object sizeof methods now return aligned sizes. Rely on that.
591 Eliminate is_lrecord since Lisp_Objects sizeof methods are now all
593 Define and use aligned reading and writing macros.
594 Use buffered stdio instead of posix i/o for faster dumping.
595 Eliminate kludgy 256 byte space for header.
596 Read and write from dump file using structs for alignment safety.
597 * dumper.c (pdump_align_stream): New.
598 * dumper.c (PDUMP_ALIGN_OUTPUT): New.
599 * dumper.c (PDUMP_READ_ALIGNED): New.
600 * dumper.c (PDUMP_WRITE_ALIGNED): New.
601 * dumper.c (pdump_static_Lisp_Object): New struct.
602 * dumper.c (pdump_static_pointer): New struct.
603 * dumper.c (pdump_entry_list_element): Remove is_lrecord member.
604 * dumper.c (pdump_add_entry): Remove is_lrecord parameter.
605 * dumper.c (pdump_dump_data): Rely on sizeof method alignment.
606 * dumper.c (pdump_allocate_offset): Rely on sizeof method alignment.
608 * dumper.c (pdump_backtrace):
609 * dumper.c (pdump_get_indirect_count):
610 * dumper.c (pdump_register_object):
611 * dumper.c (pdump_register_struct):
612 * dumper.c (pdump_reloc_one):
613 * dumper.c (pdump_scan_by_alignment):
614 * dumper.c (pdump_dump_from_root_struct_ptrs):
615 * dumper.c (pdump_dump_opaques):
616 * dumper.c (pdump_dump_rtables):
617 * dumper.c (pdump_dump_from_root_objects):
619 * dumper.c (pdump_load_finish):
620 Use aligned reading and writing.
622 * dumper.c (pdump_free): Make static.
623 * dumper.c (pdump_hFile): Likewise.
624 * dumper.c (pdump_hMap): Likewise.
626 2001-01-26 Martin Buchholz <martin@xemacs.org>
628 * XEmacs 21.2.43 "Terspichore" is released.
630 2001-01-25 Martin Buchholz <martin@xemacs.org>
632 Type fiddling for window_config.saved_windows_count
633 * window.c (struct window_config):
634 Make saved_windows_count member unsigned.
635 * window.c (sizeof_window_config_for_n_windows):
636 Make parameter unsigned.
637 * window.c (mark_window_config):
638 * window.c (window_config_equal):
639 * window.c (free_window_configuration):
640 * window.c (Fset_window_configuration):
641 * window.c (count_windows):
642 * window.c (Fcurrent_window_configuration):
643 * window.c (reinit_vars_of_window):
644 Update all callers and users.
646 2001-01-25 Martin Buchholz <martin@xemacs.org>
648 Alignment correctness for flexible arrays.
649 * lisp.h (FLEXIBLE_ARRAY_STRUCT_SIZEOF):
650 Make alignment-correct. Add interesting comments.
651 * alloc.c (size_vector):
652 * alloc.c (make_vector_internal):
653 * alloc.c (make_bit_vector_internal):
654 * alloc.c (sweep_bit_vectors_1):
655 * fns.c (size_bit_vector):
656 Update all callers of FLEXIBLE_ARRAY_STRUCT_SIZEOF to add new arg.
657 * window.c (sizeof_window_config_for_n_windows):
658 Use FLEXIBLE_ARRAY_STRUCT_SIZEOF.
660 2001-01-24 Martin Buchholz <martin@xemacs.org>
662 * lread.c (read1): Rename `fexp', which is #defined in SGI's math.h
664 2001-01-23 Andy Piper <andy@xemacs.org>
666 * select.c (Fown_selection_internal): pass owned_p
668 * select-msw.c (mswindows_own_selection): New Signature.
670 * console.h (struct console_methods): add owned_p to
673 * select-x.c (x_own_selection): pass owned_p
674 (hack_motif_clipboard_selection): use owned_p
675 (vars_of_select_x): new variable -
676 x_selection_strict_motif_ownership.
678 2001-01-23 Martin Buchholz <martin@xemacs.org>
680 * specifier.h (specifier_data_offset): Remove pointless parens.
681 * glyphs.h (IMAGE_SPECIFIER_DATA): Likewise.
683 2001-01-24 Martin Buchholz <martin@xemacs.org>
685 Make Lisp_Object sizeof methods be alignment-correct.
686 pdump must restore objects to the same alignment as the C compiler
687 assumes. It really matters on SGIs.
688 * lstream.c (aligned_sizeof_lstream): New.
689 (sizeof_lstream): Use aligned_sizeof_lstream.
690 (Lstream_new): Likewise.
691 * opaque.c (aligned_sizeof_opaque): New.
692 (sizeof_opaque): Use aligned_sizeof_opaque.
693 (make_opaque): Likewise.
694 * specifier.c (aligned_sizeof_specifier): New.
695 (sizeof_specifier): Use aligned_sizeof_specifier.
696 (make_specifier_internal): Likewise.
698 2001-01-23 Martin Buchholz <martin@xemacs.org>
700 * lstream.h (struct lstream): Use max_align_t for trailing data.
701 * specifier.h (struct Lisp_Specifier): Likewise.
703 2001-01-22 Martin Buchholz <martin@xemacs.org>
705 * mule-ccl.c (CCL_Extension): Renamed from CCL_Extention.
706 (CCL_SUCCESS): Kludge to prevent Sun cc compiler warnings.
707 (CCL_SUSPEND): Likewise.
708 (CCL_INVALID_CMD): Likewise.
709 (CCL_CALL_FOR_MAP_INSTRUCTION): Likewise.
710 (ccl_driver): Likewise.
711 (CCL_WRITE_CHAR): Macro hygiene.
712 (CCL_WRITE_STRING): Macro hygiene.
714 2001-01-22 Martin Buchholz <martin@xemacs.org>
716 Port "portable" dumper to SunOS 4 and HP-UX.
717 * s/aix4.h (AIX4): Move MAP_FAILED definition elsewhere.
718 * emacs.c (main): PDUMP implies no RUN_TIME_REMAP.
719 * dumper.c (pdump_file_get): Define MAP_FAILED if not already defined.
721 2001-01-22 Martin Buchholz <martin@xemacs.org>
723 * lisp.h (ALIGNOF): A better definition for C++.
725 2001-01-20 Martin Buchholz <martin@xemacs.org>
728 Fix printf warnings: int format, long int arg.
729 * regex.c (DECLARE_DESTINATION): Use DECLARE_NOTHING.
730 (PUSH_FAILURE_POINT): Use correct printf formats.
731 (POP_FAILURE_POINT): Use correct printf formats.
732 Use do {...} while (0)
734 2001-01-20 Martin Buchholz <martin@xemacs.org>
736 * XEmacs 21.2.42 "Poseidon" is released.
738 2001-01-20 Martin Buchholz <martin@xemacs.org>
740 * console-x.h: typo fix du jour. Remove #if 0'ed code.
742 2001-01-19 Martin Buchholz <martin@xemacs.org>
744 De-kludgify FIXED_TYPE free list frobbing.
745 Fix crashes on 64-bit platforms introduced by my patch of 2001-01-13.
746 * alloc.c (DECLARE_FIXED_TYPE_ALLOC): Use Lisp_Free.
747 * alloc.c (ALLOCATE_FIXED_TYPE_1): Use new definitions.
748 * alloc.c (Lisp_Free): New pseudo lisp object definition.
749 * alloc.c (LRECORD_FREE_P): New.
750 * alloc.c (MARK_LRECORD_AS_FREE): New.
751 * alloc.c (MARK_LRECORD_AS_NOT_FREE): New.
752 * alloc.c (STRUCT_FREE_P): Deleted.
753 * alloc.c (MARK_STRUCT_AS_FREE): Deleted.
754 * alloc.c (MARK_STRUCT_AS_NOT_FREE): Deleted.
755 * alloc.c (STRING_CHARS_FREE_P): New.
756 * alloc.c (MARK_STRING_CHARS_AS_FREE): New.
757 * alloc.c (PUT_FIXED_TYPE_ON_FREE_LIST): Use new definitions.
758 * alloc.c (FREE_FIXED_TYPE): Use new definitions.
759 * alloc.c (STRING_CHARS_FREE_P): Use new definitions.
760 * alloc.c (resize_string): Use new definitions.
761 * alloc.c (SWEEP_FIXED_TYPE_BLOCK): Use new definitions.
762 * alloc.c (verify_string_chars_integrity): Use new definitions.
763 * alloc.c (compact_string_chars): Use new definitions.
764 * alloc.c: Update monster comments.
765 * lrecord.h (lrecord_type): Add some new lrecord types for
768 2001-01-18 Martin Buchholz <martin@xemacs.org>
770 Improve alignment hackery.
771 * lisp.h (ALIGNOF): Better definition for the non-gcc case.
772 (max_align_t): Moved from opaque.h - general purpose.
773 (ALIGN_PTR): Use size_t, not long.
774 * opaque.h (max_align_t): Move to lisp.h.
776 2001-01-18 Norbert Koch <nk@LF.net>
778 * gui.h: Fix and add prototypes to fix build problems.
780 2001-01-18 Martin Buchholz <martin@xemacs.org>
782 temacs is going away, so `dump-temacs' is now a bad name.
783 * .dbxrc (dump-temacs): Rename to `dmp'.
784 * .gdbinit (dump-temacs): Rename to `dmp'.
786 2001-01-17 Andy Piper <andy@xemacs.org>
788 * glyphs.c (print_image_instance): comment to make martin happy.
790 * glyphs-x.c (x_redisplay_widget): update faces after a frame
793 * glyphs-msw.c (mswindows_redisplay_widget): add code to cope with
795 (mswindows_tab_control_redisplay): warning suppression.
797 * glyphs-widget.c (widget_update): re-write to cope with updated
799 (widget_instantiate): use new gui_item functions.
800 (tab_control_update): deleted.
801 (progress_gauge_update): deleted.
802 (image_instantiator_progress_guage): take out update reference.
803 (image_instantiator_tree_view): ditto.
804 (image_instantiator_tab_control): ditto.
806 * gui.c (widget_gui_parse_item_keywords): new function. Do things
808 (gui_item_add_keyval_pair): re-write to cope with descriptors and
809 return whether anything was changed.
810 (update_gui_item_keywords): as it sounds.
812 * gui.h: declare widget_gui_parse_item_keywords.
814 * fns.c (safe_copy_tree): new function taken from Fcopy_tree.
815 (Fcopy_tree): use it. Stops infloop death in bogus instantiators.
817 2001-01-17 Martin Buchholz <martin@xemacs.org>
819 * XEmacs 21.2.41 "Polyhymnia" is released.
821 2001-01-16 Didier Verna <didier@xemacs.org>
823 * glyphs.c (image_instantiate): don't use fallbacks when
824 instantiating a face's background pixmap by inheritance.
826 2001-01-14 Mike Sperber <mike@xemacs.org>
828 * sysdep.c (start_of_data): PDUMP implies ORDINARY_LINK.
829 Conditionalize accordingly.
831 2001-01-16 Martin Buchholz <martin@xemacs.org>
833 * dumper.c (pdump_file_get): Fix a compiler warning.
835 2001-01-15 Martin Buchholz <martin@xemacs.org>
837 Make Purify happy when pdumping.
838 * symbols.c (Fmake_variable_buffer_local): Make Purify happy, by
839 iniitalizing all bits of new lisp object memory.
840 * symbols.c (Fmake_local_variable): Likewise.
841 * symbols.c (Fdontusethis_set_symbol_value_handler): Likewise.
842 * symbols.c (Fdefvaralias): Likewise.
843 * mule-charset.c (vars_of_mule_charset): Likewise.
845 2001-01-15 Martin Buchholz <martin@xemacs.org>
846 Add the `-nd' flag when running pre-dump operations under the debugger.
847 * .dbxrc (run-temacs): Add `-nd'.
848 * .dbxrc (update-elc): Likewise.
849 * .dbxrc (dump-temacs): Likewise.
850 * .gdbinit (run-temacs): Likewise.
851 * .gdbinit (check-temacs): Likewise.
852 * .gdbinit (update-elc): Likewise.
853 * .gdbinit (dump-temacs): Likewise.
855 2001-01-14 Martin Buchholz <martin@xemacs.org>
857 Allow building 64-bit executables on AIX with GNU malloc, e.g.
858 export OBJECT_MODE=64
859 configure --pdump --use-union-type=no
860 * m/ibmrs6000.h (DATA_START): Define for 64-bit world.
861 * gmalloc.c (__default_morecore): Remove pre-ANSI cruft.
863 * miscplay.c (sndcnv8U_2mono):
864 Avoid two uses of `++' in the same expression.
865 Suppresses a GCC warning.
867 2001-01-13 Martin Buchholz <martin@xemacs.org>
869 Make sure future compilers don't miscompile alloc.c.
871 (MARK_STRUCT_AS_FREE): Make aliasing-optimization-resistant.
872 (MARK_STRUCT_AS_NOT_FREE): Make aliasing-optimization-resistant.
874 2001-01-12 Martin Buchholz <martin@xemacs.org>
876 * dumper.c: A little post-pdump-rename comment fixup.
878 2001-01-09 Jerry James <james@eecs.ku.edu>
880 * lisp-disunion.h: Change LISP_TO_CVOID arg to match its use.
882 2001-01-13 Martin Buchholz <martin@xemacs.org>
884 * *.[ch]: Globally rename symbols using the following `pdump-rename'
888 (findn texi$; findn [ch]$) | xargs g -lw "$1" | xargs global-replace 's/(?<!_)\b'$1'\b(?!_)/'$2'/g'
891 replace_symbol pdump_wire_lists pdump_weak_object_chains
892 replace_symbol pdump_wire_list dump_add_weak_object_chain
894 replace_symbol pdump_wires pdump_root_objects
895 replace_symbol pdump_wire dump_add_root_object
897 replace_symbol pdump_dump_wired pdump_dump_from_root_objects
898 replace_symbol pdump_dump_structs pdump_dump_from_root_struct_ptrs
900 replace_symbol dumpstructinfos pdump_root_struct_ptrs
901 replace_symbol dumpstructinfo_dynarr pdump_root_struct_ptr_dynarr
902 replace_symbol dumpstructinfo pdump_root_struct_ptr
903 replace_symbol dumpstruct dump_add_root_struct_ptr
905 replace_symbol dumpopaque dump_add_opaque
906 replace_symbol dumpopaqueinfo_dynarr pdump_opaque_dynarr
907 replace_symbol dumpopaqueinfos pdump_opaques
908 replace_symbol dumpopaqueinfo pdump_opaque
910 replace_symbol nb_structdump nb_root_struct_ptrs
911 replace_symbol nb_opaquedump nb_opaques
913 replace_symbol align_table pdump_align_table
914 replace_symbol dump_header pdump_header
916 replace_symbol DUMP_SIGNATURE_LEN PDUMP_SIGNATURE_LEN
917 replace_symbol DUMP_SIGNATURE PDUMP_SIGNATURE
920 2001-01-12 Martin Buchholz <martin@xemacs.org>
922 * s/aix4.h: Keep the C for AIX compiler from overaggressively
923 optimizing bytecount_to_charcount().
925 2001-01-06 Golubev I. N. <gin@mo.msk.ru>
928 (HAVE_DLFCN_H): Removed.
929 * sysdll.c: Remove HAVE__DLOPEN, HAVE_DLFCN_H.
931 2001-01-06 Martin Buchholz <martin@xemacs.org>
933 Portable dumper maintainability improvements.
934 * alloc.c (staticpro):
935 * alloc.c (staticpro_nodump):
936 * alloc.c (garbage_collect_1):
937 * alloc.c (reinit_alloc_once_early):
938 * alloc.c (init_alloc_once_early):
939 * alloc.c: Move dumper functions to alloc.c.
940 * dumper.c (pdump_backtrace):
941 * dumper.c (pdump_dump_structs):
942 * dumper.c (pdump_dump_opaques):
943 * dumper.c (pdump_dump_rtables):
944 * dumper.c (pdump_dump_wired):
946 * dumper.c (pdump_load_check):
947 * dumper.c (pdump_load_finish):
948 * dumper.c (pdump_file_unmap):
949 * dumper.c (pdump_file_get):
950 * dumper.c (pdump_resource_free):
951 * dumper.c (pdump_resource_get):
952 * dumper.c (pdump_file_free):
953 * dumper.c (pdump_file_try):
954 * dumper.c (pdump_load):
955 Remove fixed size limits on staticpro(), staticpro_nodump(),
956 dumpopaque(), dumpstruct() by using Dynarrs instead of static C arrays.
957 Remove custom code for dumping lrecord_implementations_table - use
959 Remove (most of the) custom code for dumping staticpros - dump it
960 like any other dynarr.
962 * alloc.h: Removed. No longer useful, since dumper now more self-contained.
963 * dumper.c: Moved functions from alloc.c.
964 * alloc.c (dumpstruct): Moved to dumper.c.
965 * alloc.c (dumpopaque): Likewise.
966 * alloc.c (pdump_wire): Likewise.
967 * alloc.c (pdump_wire_list): Likewise.
969 * lisp.h (Dynarr_sizeof): New.
970 * lisp.h (Dynarr_begin): New. Very slightly C++oid.
971 * lisp.h (Dynarr_end): New. Very slightly C++oid.
972 * lisp.h (Lisp_Object_ptr_dynarr): New. For staticpros.
974 * lisp.h (dumpstruct): Define to nothing if not PDUMPing.
975 * lisp.h (dumpopaque): ditto.
976 * lisp.h (pdump_wire): ditto.
977 * lisp.h (pdump_wire_list): ditto.
979 2001-01-09 Martin Buchholz <martin@xemacs.org>
981 * make-src-depend (PrintPatternDeps):
982 Use `sort' to make output independent of perl version.
984 2001-01-08 Martin Buchholz <martin@xemacs.org>
987 * unexelf.c: Remove (never used) bogus Netbsd-specific cruft.
988 * s/netbsd.c: Use unexelf.o if __ELF__ is defined.
990 2001-01-03 Didier Verna <didier@xemacs.org>
992 * event-stream.c (emacs_handle_focus_change_preliminary): ensure
993 that `focus_frame' is alive before thinking of calling
994 `redisplay_redraw_cursor' on it.
996 2001-01-08 Martin Buchholz <martin@xemacs.org>
998 * XEmacs 21.2.40 is released.
1000 2001-01-06 Golubev I. N. <gin@mo.msk.ru>
1002 * regex.c: Replace PREFETCH with REGEX_PREFETCH.
1004 2001-01-06 Martin Buchholz <martin@xemacs.org>
1006 * alloc.c (dbg_valmask): Make const.
1007 * alloc.c (dbg_typemask): Make const.
1008 * alloc.c (dbg_USE_UNION_TYPE): Make const.
1009 * alloc.c (dbg_valbits): Make const.
1010 * alloc.c (dbg_gctypebits): Make const.
1012 2001-01-06 Stephen J. Turnbull <stephen@xemacs.org>
1014 * redisplay-x.c (x_bevel_area):
1015 redisplay.h (struct rune):
1016 Typo fixes in comments.
1018 2001-01-05 Andy Piper <andy@xemacs.org>
1020 * glyphs-x.c (x_redisplay_widget): use size changed for offset
1023 * menubar.c (menubar_visible_p_changed): don't mark frame changed.
1025 2001-01-05 Martin Buchholz <martin@xemacs.org>
1027 * alloc.c (pure-bytes-used): Remove unused mendacious variable.
1029 * mule-ccl.c (stack_idx_of_map_multiple):
1030 Non const global data must not be initialized!
1031 Found by MIYASHITA Hisashi.
1033 2001-01-02 Andy Piper <andy@xemacs.org>
1035 * frame.c (change_frame_size): make sure frame size is always
1038 * glyphs.c (image_instance_layout): minor code reuse.
1040 * window.c (Fcurrent_window_configuration): revert previous
1043 2001-01-02 Martin Buchholz <martin@xemacs.org>
1046 * glyphs.c (make_image_instance_cache_hash_table): Use ANSI prototypes.
1048 2000-12-31 Andy Piper <andy@xemacs.org>
1050 * glyphs-x.c (x_unmap_subwindow): return focus to enclosing frame
1051 when widget gets unmapped.
1053 * event-Xt.c (emacs_Xt_handle_widget_losing_focus): new
1054 function. Make sure widgets losing focus don't just drop it.
1055 (handle_focus_event_1): record the widget with focus.
1057 2000-12-31 Andy Piper <andy@xemacs.org>
1059 * window.c (allocate_window): use
1060 make_image_instance_cache_hash_table.
1061 (make_dummy_parent): ditto.
1062 (Fset_window_configuration): ditto.
1064 * glyphs.h (INSTANTIATOR_TYPE): new macro. declare new functions.
1066 * glyphs.c (process_image_string_instantiator): use
1068 (get_image_instantiator_governing_domain): ditto.
1069 (normalize_image_instantiator): ditto.
1070 (instantiate_image_instantiator): ditto.
1071 (make_image_instance_1): ditto.
1072 (image_instantiate): ditto. Key on glyph *and* instantiator type.
1073 (instantiator_eq_equal): new function for use with instance hash
1075 (instantiator_eq_hash): ditto.
1076 (make_image_instance_cache_hash_table): create a suitable hash
1077 table for storing image instances.
1079 * elhash.h (hash_table_weakness): new internal weakness type
1080 HASH_TABLE_KEY_CAR_VALUE_WEAK.
1081 declare new functions.
1083 * elhash.c (finish_marking_weak_hash_tables): introduce yet
1084 another weakness type for glyphs.
1085 (make_standard_lisp_hash_table): new function split out from
1086 make_general_lisp_hash_table.
1087 (make_lisp_hash_table): call make_standard_lisp_hash_table.
1088 (hash_table_instantiate): ditto.
1089 (Fmake_hash_table): ditto.
1091 2000-12-31 Martin Buchholz <martin@xemacs.org>
1093 * XEmacs 21.2.39 is released.
1095 2000-12-29 Andy Piper <andy@xemacs.org>
1097 * menubar.c (menubar_visible_p_changed): signal the frame changed.
1099 * glyphs-x.c (x_redisplay_widget): Re-calculate widget offsets if
1100 the frame has changed so that we pick up geometry changes such as
1103 2000-12-28 Andy Piper <andy@xemacs.org>
1105 * lastfile.c (my_ebss): make a char array so we can pad the
1106 bss. Fixes cygwin unexec.
1108 * unexcw.c: invert BROKEN_GDB to NO_DEBUG.
1110 2000-12-26 Andy Piper <andy@xemacs.org>
1112 * event-Xt.c (emacs_Xt_force_event_pending): add some verbose
1113 comments and try and be more precise about a non-/SIGIO world.
1114 (emacs_Xt_event_pending_p): use XtAppPending under cygwin and non
1117 * redisplay-output.c (redisplay_normalize_glyph_area): make sure
1118 we don't normalize to zero width or height.
1120 2000-12-24 Andy Piper <andy@xemacs.org>
1122 * Makefile.in.in (ldflags): add -mwindows when appropriate.
1124 2000-08-18 Golubev I. N. <gin@mo.msk.ru>
1126 * s/sco5.h: SCO 5 has pty support.
1128 2000-07-20 Kazuyuki IENAGA <ienaga@xemacs.org>
1130 * input-method-xlib.c: supports both XIM_XLIB and USE_XFONTSET.
1131 input-method-xlib.c contains whole contents of input-method-xfs.c,
1132 so we can use input-method-xlib.c's code for USE_XFONTSET
1134 * input-method-xfs.c: removed.
1136 2000-12-20 Stephen Turnbull <stephen@xemacs.org>
1138 * file-coding.h (enum coding_category_type): reorder enumerators to
1139 make autodetection safer. Make CODING_CATEGORY_LAST an enumerator
1140 (now one greater than largest real coding_category_type enumerator).
1141 * file-coding.c (coding_category_symbol, coding_category_by_priority,
1142 coding_category_system, fcd_descriptihon_1, decode_coding_category,
1143 Fcoding_category_list, Fset_coding_priority_list,
1144 Fcoding_priority_list, coding_system_from_mask, Fdetect_coding_region,
1145 vars_of_file_coding): adjust for change in CODING_CATEGORY_LAST.
1147 2000-12-18 Yoshiki Hayashi <yoshiki@xemacs.org>
1149 * redisplay-output.c (redisplay_clear_top_of_window): Remove static.
1150 * redisplay-output.c (redisplay_output_window): Clear top of window
1151 when face is changed.
1152 * redisplay-x.c (x_redraw_exposed_window): Call
1153 redisplay_clear_top_of_window.
1154 * redisplay.h: Publish redisplay_clear_top_of_window.
1156 2000-12-18 Yoshiki Hayashi <yoshiki@xemacs.org>
1158 * buffer.c (Fkill_buffer): Map over all devices.
1159 * window.c (window_loop): Remove UNSHOW_BUFFER code.
1160 (list_windows): New function.
1161 (list_all_windows): Ditto.
1162 (Freplace_buffer_in_windows): Use them.
1164 2000-02-02 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
1166 * database.c (berkdb_subtype): Recognize new subtype `queue'.
1167 (Fopen_database): Use `db_create' instead of `db_open'.
1168 (syms_of_database): Initialize Qqueue.
1170 2000-12-13 Yoshiki Hayashi <yoshiki@xemacs.org>
1172 * buffer.c (common_init_complex_vars_of_buffer): Initialize
1173 buffer_local_face_property.
1174 * buffer.h (struct buffer): New member buffer_local_face_property.
1175 * window.c (Fset_window_buffer): Mark window's face as changed
1176 when buffer has buffer local face.
1177 * window.h (MARK_WINDOW_FACES_CHANGED): New macro.
1178 * objects.c (color_after_change): Set buffer_local_face_property
1179 when locale of face specifier is buffer.
1180 * objects.c (font_after_change): Ditto.
1181 * objects.c (face_boolean_after_change): Ditto.
1182 * glyphs.c (image_after_change): Ditto.
1184 2000-12-09 Dan Holmsand <dan@eyebee.com>
1186 * nt.c (mswindows_fstat): Report file permissions, volume serial
1187 number, etc. Code adapted from FSF Emacs 20.7.
1189 2000-12-09 Dan Holmsand <dan@eyebee.com>
1191 * sysfile.h (lstat): Make lstat an alias for xemacs_stat instead
1192 of stat when we don't have symbolic links, to make sure
1193 mswindows_stat is called on mswindows.
1195 2000-12-12 Yoshiki Hayashi <yoshiki@xemacs.org>
1197 * alloca.c: Define malloc to xmalloc only when built with XEmacs.
1199 2000-12-12 Martin Buchholz <martin@xemacs.org>
1201 * doprnt.c (emacs_doprnt_1): More printing fixes.
1202 Make printing of numbers compatible with libc and FSF Emacs.
1203 BUG was: (format "%6.3f" 1.2) ==>"1.200000"
1204 Use the system printf to do most of the hard work of formatting,
1205 instead of doprnt_1().
1206 Calculate memory to allocate for format string.
1207 Remove arbitrary limit on precision, e.g. (format "%.1000f" 3.14)
1208 (doprnt_1): Cleaner code and documentation.
1210 2000-12-01 Jerry James <james@eecs.ukans.edu>
1212 * Makefile.in.in: Use the loop variable to install headers.
1214 2000-12-04 Yoshiki Hayashi <yoshiki@xemacs.org>
1216 * window.c (Fsplit_window): Don't invalidate face cache.
1218 2000-12-04 Yoshiki Hayashi <yoshiki@xemacs.org>
1220 * minibuf.c (Fall_completions): Undo the previous change
1221 which removed checking elements start with space.
1223 2000-12-06 Stephen Turnbull <stephen@xemacs.org>
1225 * mule-canna.c: Didier suppression.
1227 2000-12-06 Stephen Turnbull <stephen@xemacs.org>
1229 * mule-canna.c: rename static unsigned char buf[] to key_buffer
1230 (warning suppression). Add English comment translations.
1232 2000-12-05 Martin Buchholz <martin@xemacs.org>
1234 * unexelfsgi.c (unexec): Better test for mmap failure.
1236 2000-12-05 Martin Buchholz <martin@xemacs.org>
1238 * XEmacs 21.2.38 is released.
1240 2000-12-05 Martin Buchholz <martin@xemacs.org>
1242 * redisplay.c (bar-cursor): Make a user variable.
1244 * symsinit.h: Add init_postgresql_from_environment.
1246 2000-12-04 Yoshiki Hayashi <yoshiki@xemacs.org>
1248 * regex.c: Convert to clean C.
1250 2000-12-05 Dan Holmsand <dan@eyebee.com>
1253 Don't #include sysfile.h. Revert to duplicating PATH_MAX
1255 (sys_readlink): renamed to system_readlink to avoid conflict with
1256 the other sys_readlink.
1258 2000-12-04 Hiroaki Abe <h-abe@pc.highway.ne.jp>
1260 * dumper.c (pdump_file_get): Correct uses of pdump_fd.
1262 2000-12-04 Stephen J. Turnbull <stephen@xemacs.org>
1264 * postgresql.c (init_postgresql_from_environment): new function.
1265 (vars_of_postgresql): Move code initializing Lisp variables out and
1266 into init_postgresql_from_environment.
1267 emacs.c (main_1): Call init_postgresql_from_environment if and only
1268 if running a dumped XEmacs.
1270 2000-08-31 Dan Holmsand <dan@eyebee.com>
1272 * buffer.c: Make find-file-compare-truenames default to true on
1275 * realpath.c (win32_abs_start):
1277 (win32_readlink): New functions.
1278 (xrealpath): Return really real filenames on windows.
1280 * fileio.c (Ffile_truename): Make file-truename work on windows.
1282 2000-11-29 Didier Verna <didier@xemacs.org>
1284 * faces.c (MAYBE_UNFROB_BACKGROUND_PIXMAP): new macro.
1285 * faces.c (update_face_cachel_data): use it.
1286 * faces.c (add_face_cachel): use it. Complete background pixmap
1287 frobbing in face cache if `update_face_cachel_data' has not done so.
1289 2000-11-29 Yoshiki Hayashi <yoshiki@xemacs.org>
1291 * search.c (string_match_1): Don't set last_thing_searched
1294 2000-11-27 Yoshiki Hayashi <yoshiki@xemacs.org>
1296 * buffer.c: Include casetab.h
1297 (common_init_complex_vars_of_buffer): Use new case-table object.
1298 * buffer.h: Include casetab.h
1299 * buffer.h (MAKE_TRT_TABLE): Use generic char-table.
1300 (DOWNCASE_TABLE_OF): Ditto.
1301 * bufslots.h: Remove char-tables and add case-table.
1302 * casetab.c: Include casetab.h
1303 (CASE_TABLE_P): Removed.
1304 (mark_case_table): New function.
1305 (allocate_case_table): New function.
1306 (Fcase_table_p): Use new case-table.
1307 (case_table_char): New function.
1308 (Fget_case_table): Ditto.
1309 (Fput_case_table): Ditto.
1310 (Fput_case_table_pair): Ditto.
1311 (Fcopy_case_table): Ditto.
1312 (Fcurrent_case_table): Return case-table.
1313 (Fstandard_case_table): Return case-table.
1314 (Fset_case_table): Fix doc-string.
1315 (set_case_table): Use case-table
1316 (syms_of_casetab): DEFSUBR new functions.
1317 (complex_vars_of_casetab): Set up standard case-table.
1318 * casetab.h: New file.
1319 * editfns.c: Include casetab.h
1320 (Fcompare_buffer_substrings): Use case-table.
1321 * inline.c: Include casetab.h
1322 * lisp.h: Remove bogus extern.
1323 * lrecord.h (lrecord_type): Add lrecord_type_case_table.
1324 * search.c: Include casetab.h
1325 (TRANSLATE_ASCII): Removed.
1326 (TRANSLATE): Unconditionally translate character.
1327 (looking_at_1): Use case-table.
1328 (string_match_1): Ditto.
1329 (fast_string_match): Ditto.
1330 (search_command): Ditto.
1331 (search_buffer): Separate boyer_moore. Check whether
1332 boyer_moore is possible.
1333 (simple_search): New function.
1334 (boyer_moore): Separated from search_buffer. Translate char.
1336 2000-11-24 Yoshiki Hayashi <yoshiki@xemacs.org>
1338 * regex.c (RE_TR_ASCII): Removed.
1339 (RE_TRANSLATE): Unconditionally use TRT_TABLE.
1340 (PATFETCH): Call PATFETCH_RAW.
1341 (PATFETCH_RAW): Fetch Emchar.
1342 (PATUNFETCH): Decrement charptr.
1343 (GET_BUFFER_SPACE): Rename b to buf_end.
1345 (BUF_PUSH_2): Ditto.
1346 (BUF_PUSH_3): Ditto.
1347 (EXTEND_BUFFER): Ditto.
1348 (SET_LIST_BIT): Ditto.
1349 (regex_compile): Ditto. Translate non ASCII char.
1350 (compile_range): Ditto.
1351 (re_search_2): Ditto.
1352 (re_match_2_internal): Compare Emchar.
1353 (bcmp_translate): Ditto.
1355 2000-11-29 Stephen J. Turnbull <turnbull@xemacs.org>
1357 * lisp.h (basic char/int typedefs): comment improvement.
1359 2000-11-24 Stephen J. Turnbull <turnbull@xemacs.org>
1361 * emacs.c (main_1): unconditional pdump unstomping; don't save and
1362 unstomp inhibit_site_lisp. Improve comments.
1364 2000-11-22 Stephen J. Turnbull <turnbull@xemacs.org>
1366 * mule-charset.c (Fcharset_property): improve type checking, comments.
1368 2000-11-28 Andy Piper <andy@xemacs.org>
1370 * redisplay-output.c (redisplay_output_subwindow): make sure we do
1371 clipped display for windows in the gutter also.
1372 (redisplay_display_boxes_in_window_p): change semantics of return
1373 codes to be more intuitive.
1375 * gutter.h: declare display_boxes_in_gutter_p.
1377 * gutter.c (display_boxes_in_gutter_p): new function for
1380 2000-11-22 Andy Piper <andy@xemacs.org>
1382 * glyphs-x.c (image_instantiator_format_create_glyphs_x): change
1385 2000-11-21 Yoshiki Hayashi <yoshiki@xemacs.org>
1387 * callproc.c (Fold_call_process_internal):
1388 * gpm.c (Freceive_gpm_event):
1389 (tty_get_foreign_selection): Might be just warning supression.
1390 * fileio.c (Fwrite_region_internal):
1391 (Fset_visited_file_modtime):
1392 * keymap.c (event_matches_key_specifier_p):
1393 Initialize GCPROed variable.
1395 * menubar-x.c (command_builder_find_menu_accelerator):
1396 Initialize before use.
1398 2000-11-23 Andy Piper <andy@xemacs.org>
1400 * unexcw.c (unexec): make the resulting executable executable.
1402 2000-11-21 Martin Buchholz <martin@xemacs.org>
1404 * doc.c (get_doc_string):
1405 Use size_t, not int, for result of XSTRING_LENGTH.
1407 * cmds.c (Fdelete_char):
1408 * cmds.c (Fpoint_at_eol):
1409 * cmds.c (Fself_insert_command):
1410 Use EMACS_INT, not int, for result of XINT.
1411 Someday, someone will want to insert more than 2**31 identical characters.
1413 * cmds.c (Fdelete_char):
1414 * cmds.c (Fdelete_backward_char):
1415 * syntax.c (Fforward_word):
1416 * syntax.c (Fforward_comment):
1417 Make COUNT argument optional, for consistency with forward-char et al.
1419 2000-11-22 Martin Buchholz <martin@xemacs.org>
1422 * print.c (long_to_string):
1423 Return a useful value: the pointer at end of data written.
1426 Use `static const char * const' for constant strings.
1427 (union printf_arg): Delete `i', `ui' members.
1430 Fix LP64 platform bug: (format "%d" most-positive-fixnum) ==> "-1"
1431 Do all printf-ing via the `l' specifier.
1432 Use EMACS_INT instead of int.
1435 2000-11-20 Didier Verna <didier@xemacs.org>
1437 * faces.c (update_face_cachel_data): don't frob the background
1438 pixmap when the window is being created. The face is needed but
1441 2000-11-20 Andy Piper <andy@xemacs.org>
1443 * unexcw.c (copy_executable_and_dump_data_section): Only do bss
1444 messing with a debug environment.
1446 2000-11-20 Martin Buchholz <martin@xemacs.org>
1448 * emacs.c (__sti__iflPNGFile_c___): Pedantically correct prototype.
1450 2000-11-20 Martin Buchholz <martin@xemacs.org>
1452 * casetab.c (Fcase_table_p): Fix compile error and crash.
1454 2000-11-18 Philip Aston <philipa@mail.com>
1456 * s/cygwin32.h: Cygwin has SVR4-like pty support.
1458 2000-11-18 Martin Buchholz <martin@xemacs.org>
1460 * fileio.c (Fexpand_file_name): GCPRO bug! Protect `handler'.
1461 * filelock.c (lock_file): GCPRO bug! Initialize all GCPROed vars!
1463 2000-11-17 Martin Buchholz <martin@xemacs.org>
1465 * config.h.in: Define HAVE_ELF_H if elf.h exists.
1466 * unexelf.c: Use HAVE_ELF_H.
1467 * unexelfsgi.c: Fix bug with dumped xemacs stdout/stderr not working.
1468 I copied FSF Emacs 20.7 unexelf.c to unexelfsgi.c and ANSIfied it.
1469 Max Matveev <makc@sgi.com> removed non-SGI-relevant parts and tested.
1470 Greg Harrington <greg_harrington@hotmail.com> provided a machine
1472 So this is an unexelfsgi.c from a different line of development.
1474 2000-11-16 Yoshiki Hayashi <yoshiki@xemacs.org>
1476 * regex.c (RE_TR_ASCII): New function.
1477 (RE_TRANSLATE): Call it.
1479 2000-11-16 Yoshiki Hayashi <yoshiki@xemacs.org>
1481 * buffer.h (TRT_TABLE_OF): Remove assert.
1482 (IN_TRT_TABLE_DOMAIN): Removed.
1484 2000-11-16 Gunnar Evermann <ge204@eng.cam.ac.uk>
1486 * free-hook.c (log_gcpro):
1487 (show_gcprohist): Add support for GCPRO5.
1489 2000-11-08 Stephen J. Turnbull <stephen@xemacs.org>
1491 * emacs.c (main_1): Improve -sd error message when --pdump=no.
1493 2000-11-16 Olivier Galibert <galibert@xemacs.org>
1495 * symeval.h: Declare flush_all_buffer_local_cache.
1497 * symbols.c: Change XD_LO_RESET_NIL into XD_LISP_OBJECTs.
1498 (flush_buffer_local_cache): Added.
1499 (flush_all_buffer_local_cache): Added.
1501 * lrecord.h: Remove unused XD_LO_RESET_NIL.
1503 * dumper.c (pdump_register_sub): Remove unused XD_LO_RESET_NIL.
1504 (pdump_dump_data): Ditto.
1505 (pdump_reloc_one): Ditto.
1506 (pdump): Remove unused pdump_qnil. Flush buffer local caches
1510 2000-11-14 Yoshiki Hayashi <yoshiki@xemacs.org>
1512 * buffer.c: Remove if 0'ed entry.
1513 * buffer.h: Rewrite TRT to use char-table.
1514 * bufslots.h: Remove mirror tables.
1515 * casetab.c: Remove mirror tables.
1516 (CASE_TABLE_P): New macro.
1517 (Fcase_table_p): Element of a case table is string or char-table.
1518 (make_mirror_trt_table): Removed.
1519 (set_case_table): Setup char-table from strings for backward
1521 * dired.c (Fdirectory_files):
1522 * dired-msw.c: (mswindows_get_files):
1523 * lisp.h: Change prototype of re_pattern_buffer.
1524 * regex.c: (RE_TRANSLATE): New macro.
1525 (TRANSLATE_P): Ditto.
1526 Change translate to type RE_TRANSLATE_TYPE.
1527 * regex.h: Define RE_TRANSLATE_TYPE
1528 * search.c (TRANSLATE): New macro.
1529 (TRANSLATE_ASCII): New macro.
1530 Translate table is changed to Lisp_Object.
1531 (signal_failure): Inhibit return.
1533 2000-11-14 Yoshiki Hayashi <yoshiki@xemacs.org>
1540 Do UNGCPRO before return.
1542 2000-11-14 Martin Buchholz <martin@xemacs.org>
1544 * XEmacs 21.2.37 is released.
1546 2000-11-13 Yoshiki Hayashi <yoshiki@xemacs.org>
1548 * fileio.c (Finsert_file_contents_internal): UNGCPRO before return.
1549 Add comments about discarded return value.
1551 2000-11-09 Yoshiki Hayashi <yoshiki@xemacs.org>
1554 * event-stream.c: Fix comments. Remove some #if 0'ed part.
1556 2000-10-27 Andy Piper <andy@xemacs.org>
1558 * gutter.c (Fset_default_gutter_position): default left and right
1560 (calculate_gutter_size): calculate resonable heuristic for left
1561 and right gutter sizes.
1562 (specifier_vars_of_gutter): change left and right gutter sizes to
1564 (calculate_gutter_size_from_display_lines): new function.
1565 (output_gutter): check for resizing on left and right gutters.
1566 (clear_gutter): don't special case top and left gutters.
1567 (specifier_vars_of_gutter): use new signature for
1568 set_specifier_caching.
1570 * glyphs-x.c (x_redisplay_widget): spelling fix.
1571 * glyphs.c (specifier_vars_of_glyphs):
1572 * menubar.c (specifier_vars_of_menubar):
1573 * redisplay.c (specifier_vars_of_redisplay):
1574 * toolbar.c (specifier_vars_of_toolbar):
1575 * window.c (specifier_vars_of_window):
1576 * scrollbar.c (specifier_vars_of_scrollbar):
1577 (complex_vars_of_scrollbar): use new signature for
1578 set_specifier_caching.
1580 * specifier.c (set_specifier_caching): include recompute flag.
1581 (recompute_one_cached_specifier_in_window): always recompute if
1583 (recompute_one_cached_specifier_in_frame): ditto.
1585 * specifier.h (struct specifier_caching): add recompute flag.
1587 2000-10-24 Andy Piper <andy@xemacs.org>
1589 * unexcw.c (copy_executable_and_dump_data_section): add new
1590 BSS_PAD_SIZE so that we can re-instate a mini-bss. This keeps gdb
1593 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
1595 * console-x.h (x_device): New member modifier_release_time.
1596 * event-Xt.c (x_handle_sticky_modifiers):
1597 Bound interval modifier keys are sticky.
1598 * event-stream.c (Vmodifier_keys_sticky_time): New variable.
1599 * events.h: extern it.
1601 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
1603 * cmdloop.c (Fcommand_loop_1): Just add C-g to event queue.
1605 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
1607 * event-stream.c (execute_command_event): Preserve current_events
1608 and the like when event is misc-user-event.
1609 Inhibit quit during the call to maybe_echo_keys.
1611 2000-10-31 Yoshiki Hayashi <yoshiki@xemacs.org>
1613 * filelock.c (lock_buffer): Cope with kill-buffer. Don't create a
1614 symlink when buffer is killed.
1615 (inhibit_clash_detection): New variable.
1617 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
1619 * console.c (Fset_input_method): Trigger redisplay on tty.
1621 2000-11-07 Martin Buchholz <martin@xemacs.org>
1623 * process.c (Fprocess_status): Revert to previous behavior:
1624 (process-status "nosuchprocess") ==> nil
1626 2000-11-06 Martin Buchholz <martin@xemacs.org>
1628 * mule-charset.h (CHARSET_BY_LEADING_BYTE):
1629 Work around another GCC 2.95.2 optimizer bug.
1631 2000-11-02 Martin Buchholz <martin@xemacs.org>
1633 * process.c (Fget_process): Use LIST_LOOP_2.
1634 (kill_buffer_processes): Use LIST_LOOP_2.
1636 * minibuf.c (Fall_completions):
1637 Delete old non-functional code for FSF fourth argument.
1639 * frame.c (frame_matches_frame_spec):
1640 Renamed from `frame_matches_frametype'. Update all callers.
1641 (device_matches_device_spec):
1642 Renamed from 'device_matches_console_spec'. Update all callers.
1644 * doc.c (Fsubstitute_command_keys):
1645 Remove buffer overflow crash. Small code cleanups.
1647 * casetab.c (check_case_table): Simpler code.
1649 * window.c (Freplace_buffer_in_windows):
1650 Give this the same WHICH-FRAMES and WHICH-DEVICES parameters
1651 (and similar implementation) as Fdelete_windows_on.
1654 * alloc.c (Fmake_list):
1655 * alloc.c (make_vector):
1656 * alloc.c (Fmake_vector):
1657 * alloc.c (make_bit_vector):
1658 * alloc.c (Fmake_bit_vector):
1659 * alloc.c (Fbit_vector):
1660 * alloc.c (Fmake_string):
1661 * alloc.c (Fpurecopy):
1662 * alloc.c (Fmemory_limit):
1664 * buffer.c (Fget_buffer):
1665 * buffer.c (Fkill_buffer):
1666 * buffer.c (complex_vars_of_buffer):
1667 * bytecode.c (Fcompiled_function_stack_depth):
1668 * callint.c (Fprefix_numeric_value):
1670 * event-stream.c (Fread_key_sequence):
1672 * casetab.c (Fcase_table_p):
1673 * casetab.c (check_case_table):
1674 * casetab.c (Fset_case_table):
1675 * casetab.c (Fset_standard_case_table):
1677 * chartab.c (Fchar_table_type):
1678 * chartab.c (Freset_char_table):
1679 * chartab.c (Fget_char_table):
1680 * chartab.c (Fget_range_char_table):
1681 * chartab.c (Fput_char_table):
1682 * chartab.c (Fmap_char_table):
1683 * chartab.c (Fcategory_table_p):
1684 * chartab.c (Fcheck_category_at):
1685 * chartab.c (Fchar_in_category_p):
1686 * chartab.c (Fcategory_table):
1687 * chartab.c (Fcopy_category_table):
1688 * chartab.c (Fset_category_table):
1689 * chartab.c (Fcategory_designator_p):
1690 * chartab.c (Fcategory_table_value_p):
1691 * cmds.c (Fdelete_char):
1692 * cmds.c (Fdelete_backward_char):
1693 * cmds.c (Fself_insert_command):
1694 * cmds.c (Fself_insert_internal):
1695 * console.c (Fvalid_console_type_p):
1696 * console.c (Fcdfw_console):
1697 * console.c (Fconsole_type):
1698 * console.c (Fconsole_name):
1699 * console.c (Fconsole_device_list):
1700 * console.c (Fconsole_on_window_system_p):
1704 * data.c (Fsubr_interactive):
1705 * data.c (Fchar_to_int):
1706 * data.c (Fint_to_char):
1709 * data.c (Fnumber_to_string):
1710 * data.c (Fstring_to_number):
1712 * database.c (mark_database):
1713 * database.c (finalize_database):
1714 * database.c (Fdatabase_live_p):
1715 * database.c (Fdatabasep):
1716 * device-x.c (Fx_get_resource):
1717 * device.c (Fdfw_device):
1719 * dired.c (Ffile_name_completion):
1720 * dired.c (Ffile_name_all_completions):
1721 * dired.c (Fuser_name_completion):
1722 * dired.c (Fuser_name_completion_1):
1723 * dired.c (Fuser_name_all_completions):
1724 * doc.c (Fdocumentation):
1725 * doc.c (Fdocumentation_property):
1726 * doc.c (Fsubstitute_command_keys):
1728 * editfns.c (Fchar_to_string):
1729 * editfns.c (Fstring_to_char):
1730 * editfns.c (Ftemp_directory):
1731 * editfns.c (Finsert_char):
1732 * editfns.c (Fbuffer_substring_no_properties):
1733 * editfns.c (Fnarrow_to_region):
1734 * editfns.c (Fchar_equal):
1735 * editfns.c (Fchar_Equal):
1736 * editfns.c (Ftranspose_regions):
1737 * emacs.c (Fdump_emacs):
1739 * eval.c (Fcommand_execute):
1740 * eval.c (Fautoload):
1741 * eval.c (Fbacktrace):
1742 * eval.c (Fbacktrace_frame):
1744 * events.c (Fcopy_event):
1745 * events.c (Fcharacter_to_event):
1746 * events.c (Fevent_button):
1747 * events.c (Fevent_process):
1749 * extents.c (Fnext_extent_change):
1750 * extents.c (Fextent_property):
1752 * faces.c (Fmake_face):
1754 * file-coding.c (Fencode_shift_jis_char):
1755 * file-coding.c (Fencode_big5_char):
1756 * fileio.c (Ffile_name_directory):
1757 * fileio.c (Ffile_name_nondirectory):
1758 * fileio.c (Ffile_name_as_directory):
1759 * fileio.c (Fdirectory_file_name):
1760 * fileio.c (Ffile_truename):
1761 * fileio.c (Fsubstitute_in_file_name):
1762 * fileio.c (Ffile_modes):
1763 * fileio.c (Fset_file_modes):
1764 * fileio.c (Fset_default_file_modes):
1765 * fileio.c (Fverify_visited_file_modtime):
1766 * floatfns.c (Facos):
1767 * floatfns.c (Fasin):
1768 * floatfns.c (Fatan):
1769 * floatfns.c (Fcos):
1770 * floatfns.c (Fsin):
1771 * floatfns.c (Ftan):
1772 * floatfns.c (Fbessel_j0):
1773 * floatfns.c (Fbessel_j1):
1774 * floatfns.c (Fbessel_jn):
1775 * floatfns.c (Fbessel_y0):
1776 * floatfns.c (Fbessel_y1):
1777 * floatfns.c (Fbessel_yn):
1778 * floatfns.c (Ferf):
1779 * floatfns.c (Ferfc):
1780 * floatfns.c (Flog_gamma):
1781 * floatfns.c (Fexp):
1782 * floatfns.c (Fexpt):
1783 * floatfns.c (Flog):
1784 * floatfns.c (Flog10):
1785 * floatfns.c (Fsqrt):
1786 * floatfns.c (Fcube_root):
1787 * floatfns.c (Facosh):
1788 * floatfns.c (Fasinh):
1789 * floatfns.c (Fatanh):
1790 * floatfns.c (Fcosh):
1791 * floatfns.c (Fsinh):
1792 * floatfns.c (Ftanh):
1793 * floatfns.c (Fabs):
1794 * floatfns.c (Ffloat):
1795 * floatfns.c (Flogb):
1796 * floatfns.c (Fceiling):
1797 * floatfns.c (Ffloor):
1798 * floatfns.c (Fround):
1799 * floatfns.c (Ftruncate):
1800 * floatfns.c (Ffceiling):
1801 * floatfns.c (Fffloor):
1802 * floatfns.c (Ffround):
1803 * floatfns.c (Fftruncate):
1804 * fns.c (Fstring_equal):
1805 * fns.c (Fstring_lessp):
1810 * fns.c (Fsubstring):
1812 * fns.c (Fold_assoc):
1813 * fns.c (assoc_no_quit):
1815 * fns.c (Fold_assq):
1816 * fns.c (assq_no_quit):
1818 * fns.c (Fold_rassoc):
1820 * fns.c (Fold_rassq):
1821 * fns.c (rassq_no_quit):
1822 * fns.c (Fremassoc):
1823 * fns.c (remassoc_no_quit):
1825 * fns.c (remassq_no_quit):
1826 * fns.c (Fremrassoc):
1827 * fns.c (Fremrassq):
1828 * fns.c (remrassq_no_quit):
1830 * fns.c (Fplist_get):
1831 * fns.c (Fplist_put):
1832 * fns.c (Fplist_remprop):
1833 * fns.c (Fplist_member):
1834 * fns.c (Flax_plist_get):
1835 * fns.c (Flax_plist_put):
1836 * fns.c (Flax_plist_remprop):
1837 * fns.c (Flax_plist_member):
1839 * fns.c (Fold_equal):
1841 * fns.c (Fbase64_encode_region):
1842 * fns.c (Fbase64_encode_string):
1843 * fns.c (Fbase64_decode_region):
1845 * frame.c (frame_matches_frame_spec):
1846 * frame.c (device_matches_device_spec):
1847 * frame.c (next_frame):
1848 * frame.c (previous_frame):
1849 * frame.c (Fnext_frame):
1850 * frame.c (Fprevious_frame):
1851 * frame.c (Fframe_property):
1852 * frame.c (Fset_frame_height):
1853 * frame.c (Fset_frame_size):
1857 * glyphs.c (decode_error_behavior_flag):
1858 * glyphs.c (Fmake_image_instance):
1859 * indent.c (Findent_to):
1860 * intl.c (Fignore_defer_gettext):
1861 * keymap.c (Fkeymapp):
1862 * keymap.c (Flookup_key):
1864 * lread.c (Fload_internal):
1865 * lread.c (Feval_buffer):
1866 * lread.c (Feval_region):
1867 * macros.c (Fexecute_kbd_macro):
1868 * marker.c (set_marker_internal):
1869 * marker.c (Fset_marker):
1870 * marker.c (set_marker_restricted):
1871 * marker.c (Fcopy_marker):
1872 * marker.c (noseeum_copy_marker):
1874 * menubar.c (Fpopup_menu):
1876 * mule-charset.c (Fcharset_name):
1877 * mule-charset.c (Fchar_charset):
1878 * mule-charset.c (Fchar_octet):
1879 * mule-charset.c (Fsplit_char):
1880 * mule-wnnfns.c (Fwnn_open):
1881 * mule-wnnfns.c (Fwnn_dict_comment):
1882 * mule-wnnfns.c (Fwnn_quit_henkan):
1883 * mule-wnnfns.c (Fwnn_word_toroku):
1884 * mule-wnnfns.c (Fwnn_word_sakujo):
1885 * mule-wnnfns.c (Fwnn_word_use):
1886 * mule-wnnfns.c (Fwnn_hindo_set):
1888 * objects.c (Fmake_color_instance):
1889 * objects.c (Fmake_font_instance):
1890 * print.c (Fwrite_char):
1892 * process.c (mark_process):
1893 * process.c (print_process):
1894 * process.c (get_process_from_usid):
1895 * process.c (Fprocessp):
1896 * process.c (Fprocess_live_p):
1897 * process.c (Fget_process):
1898 * process.c (Fget_buffer_process):
1899 * process.c (get_process):
1900 * process.c (Fprocess_id):
1901 * process.c (Fprocess_name):
1902 * process.c (Fprocess_command):
1903 * process.c (init_process_io_handles):
1904 * process.c (start_process_unwind):
1905 * process.c (Fstart_process_internal):
1906 * process.c (Fopen_multicast_group_internal):
1907 * process.c (Fset_process_window_size):
1908 * process.c (read_process_output):
1909 * process.c (send_process):
1910 * process.c (Fprocess_tty_name):
1911 * process.c (Fset_process_buffer):
1912 * process.c (Fprocess_buffer):
1913 * process.c (Fprocess_mark):
1914 * process.c (set_process_filter):
1915 * process.c (Fset_process_filter):
1916 * process.c (Fprocess_filter):
1917 * process.c (Fprocess_send_region):
1918 * process.c (Fprocess_send_string):
1919 * process.c (exec_sentinel):
1920 * process.c (Fset_process_sentinel):
1921 * process.c (Fprocess_sentinel):
1922 * process.c (status_notify):
1923 * process.c (Fprocess_status):
1924 * process.c (Fprocess_exit_status):
1925 * process.c (process_send_signal):
1926 * process.c (Fprocess_send_eof):
1927 * process.c (deactivate_process):
1928 * process.c (remove_process):
1929 * process.c (Fdelete_process):
1930 * process.c (kill_buffer_processes):
1931 * process.c (Fprocess_kill_without_query):
1932 * process.c (Fprocess_kill_without_query_p):
1934 * rangetab.c (Fget_range_table):
1935 * rangetab.c (Fput_range_table):
1936 * rangetab.c (Fremove_range_table):
1937 * rangetab.c (Fclear_range_table):
1939 * search.c (Fskip_chars_forward):
1940 * search.c (Fskip_chars_backward):
1941 * search.c (Fskip_syntax_forward):
1942 * search.c (Fskip_syntax_backward):
1943 * search.c (search_command):
1944 * search.c (Freplace_match):
1945 * search.c (Fregexp_quote):
1946 * select.c (Fown_selection_internal):
1947 * select.c (Fselection_owner_p):
1948 * select.c (Fselection_exists_p):
1949 * select.c (Fget_selection_internal):
1952 * symbols.c (Fintern):
1953 * symbols.c (Fintern_soft):
1954 * symbols.c (Funintern):
1955 * symbols.c (Fapropos_internal):
1956 * symbols.c (Fset_default):
1958 * syntax.c (Fsyntax_table_p):
1959 * syntax.c (Fcopy_syntax_table):
1960 * syntax.c (Fset_syntax_table):
1961 * syntax.c (Fchar_syntax):
1962 * syntax.c (syntax_match):
1963 * syntax.c (Fmatching_paren):
1964 * syntax.c (Fforward_word):
1965 * syntax.c (scan_lists):
1966 * syntax.c (Fscan_lists):
1967 * syntax.c (Fscan_sexps):
1968 * syntax.c (Fparse_partial_sexp):
1969 * toolbar.c (Fcheck_toolbar_button_syntax):
1972 * window.c (Fwindowp):
1973 * window.c (Fwindow_live_p):
1974 * window.c (Fwindow_point):
1975 * window.c (Fdelete_window):
1976 * window.c (Fnext_window):
1977 * window.c (Fprevious_window):
1978 * window.c (Fother_window):
1979 * window.c (window_loop):
1980 * window.c (Fget_lru_window):
1981 * window.c (Fsplit_window):
1982 * window.c (Fenlarge_window):
1983 * window.c (Fenlarge_window_pixels):
1984 * window.c (Fshrink_window):
1985 * window.c (Fshrink_window_pixels):
1986 * window.c (change_window_height):
1987 * window.c (Fwindow_configuration_p):
1988 * window.c (Fcurrent_window_configuration):
1990 * casefiddle.c (casify_object):
1991 * casefiddle.c (Fupcase):
1992 * casefiddle.c (Fdowncase):
1993 * casefiddle.c (Fcapitalize):
1994 * casefiddle.c (Fupcase_initials):
1995 * casefiddle.c (casify_region_internal):
1996 * casefiddle.c (casify_region):
1997 * casefiddle.c (Fupcase_region):
1998 * casefiddle.c (Fdowncase_region):
1999 * casefiddle.c (Fcapitalize_region):
2000 * casefiddle.c (Fupcase_initials_region):
2001 * casefiddle.c (Fupcase_word):
2002 * casefiddle.c (Fdowncase_word):
2003 * casefiddle.c (Fcapitalize_word):
2004 Docstring arglist/Texinfo fixes. See man/ChangeLog for details.
2005 Replace 0 with '\0' when working with bytes.
2006 Replace initial "(" with "\(" in docstrings.
2008 2000-11-01 Martin Buchholz <martin@xemacs.org>
2010 * config.h.in: Handle alloca with Compaq C on Alpha Linux.
2012 * m/alpha.h: Let configure handle SYSTEM_MALLOC on Linux.
2014 2000-10-31 Martin Buchholz <martin@xemacs.org>
2016 * eldap.c (print_ldap): 64-bit cleaner. Fixes warning.
2018 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
2020 * doprnt.c (emacs_do_prnt_1): Format (format "%01.2d" 10)
2023 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
2025 * fileio.c (Vauto_save_list_file_prefix): Moved from startup.el.
2026 (inhibit_auto_save_session): New variable.
2027 (vars_of_fileio): Declare and initialize them.
2028 * fileio.c (Fdo_auto_save): Don't create session file if
2029 Vinhibit_auto_save_session or Vauto_save_list_file_prefix is non-nil.
2031 2000-10-31 Martin Buchholz <martin@xemacs.org>
2033 * sgiplay.c (play_internal): C++ compilability.
2034 * alloc.c (SWEEP_FIXED_TYPE_BLOCK): Remove unused var `SFTB_prev'.
2035 * callproc.c (Fold_call_process_internal):
2036 Remove unused vars `env', `first'.
2037 * scrollbar.c (update_scrollbar_instance):
2038 #### unused var `current_window'.
2039 * redisplay-tty.c: Put currently unused vars insert_mode_on,
2040 etc. within #ifdef NOT_YET.
2041 * emacs.c: #### unused vars `initial_argc', `initial_argv'.
2042 * dialog-x.c (dbox_descriptor_to_widget_value): ### unused var `title'.
2043 * specifier.c (specifier_instance):
2044 #### unused var `tag'.
2045 Use WINDOW_BUFFER, FRAME_DEVICE instead of their expansion.
2047 2000-10-27 Martin Buchholz <martin@xemacs.org>
2050 * fns.c (list_sort):
2051 * fns.c (Ffillarray):
2052 * fns.c (bytecode_nconc2):
2055 * fns.c (Fmapconcat):
2056 Be pedantically 64-bit correct. For the time when someone will
2057 want to have a list with length > 2**32.
2059 * lisp.h (PRIVATE_EXTERNAL_LIST_LOOP_6):
2060 Work around MIPSpro compiler bug.
2062 * process-unix.c (unix_kill_child_process): Add snarky comment.
2063 * process-unix.c (try_to_initialize_subtty): Oops, `=' ==> `=='
2065 * config.h.in: Oops, _getpt ==> _getpty
2067 2000-10-26 Martin Buchholz <martin@xemacs.org>
2071 Use void*, not char*, as return type of alloca().
2073 * alloc.c (free_marker): Side effect inside assert expression!
2075 2000-10-16 MIYASHITA Hisashi <himi@m17n.org>
2077 * mule-charset.c (Fset_charset_ccl_program): To check
2078 if the given ccl program is valid, use setup_ccl_program()
2079 instead of CHECK_VECTOR().
2080 (Fmake_charset): Likewise.
2082 2000-10-20 Golubev I. N. <gin@mo.msk.ru>
2084 * faces.c (get_extent_fragment_face_cache_index):
2085 Fix cachel.merged_faces memory leak.
2087 2000-10-14 MIYASHITA Hisashi <himi@m17n.org>
2089 * mule-ccl.c (ccl_driver)<CCL_DECODE_SJIS>:
2090 Reset MSB of octets obtained by DECODE_SJIS
2091 because of the incompatibility with Emacs.
2092 (ccl_driver)<CCL_ENCODE_SJIS>:
2093 Set MSB of octets before passing them to
2094 ENCODE_SJIS because of the incompatibility
2097 2000-10-18 Daiki Ueno <ueno@unixuser.org>
2099 * lrecord.h (DECLARE_TYPECHECK_LRECORD): Abolish.
2100 (DECLARE_LRECORD): Undo the last change.
2101 (DECLARE_EXTERNAL_LRECORD): Expand typechecking stuff.
2103 2000-10-17 Daiki Ueno <ueno@unixuser.org>
2105 * lrecord.h (INIT_EXTERNAL_LRECORD_IMPLEMENTATION): Connect
2106 the implementation to lrecord_implementations_table.
2108 2000-10-14 Daiki Ueno <ueno@unixuser.org>
2110 * lrecord.h (MAKE_EXTERNAL_LRECORD_IMPLEMENTATION): Don't set the
2111 initial value of `lrecord_type_##c_name' and
2112 `lrecord_##c_name.lrecord_type_index'; discard "const" qualifier.
2113 (INIT_EXTERNAL_LRECORD_IMPLEMENTATION): New macro.
2114 [ERROR_CHECK_TYPECHECK] (DECLARE_TYPECHECK_LRECORD): New macro.
2115 [ERROR_CHECK_TYPECHECK] (DECLARE_LRECORD): Use it.
2116 [ERROR_CHECK_TYPECHECK] (DECLARE_EXTERNAL_LRECORD): Use it.
2118 2000-10-17 Martin Buchholz <martin@xemacs.org>
2120 * miscplay.c (sndcnv8S_2mono):
2121 (sndcnv2monounsigned):
2122 (sndcnvULaw_2linear):
2124 Remove implementation-defined behavior.
2126 2000-10-12 Martin Buchholz <martin@xemacs.org>
2128 * input-method-xlib.c: Warning suppression.
2130 2000-10-05 MIYASHITA Hisashi <himi@m17n.org>
2132 * mule-ccl.c: Sync up with Emacs 21.0.90.
2133 (ccl_driver)<CCL_TranslateCharacter>: Disabled.
2135 (ccl_driver)<CCL_TranslateCharacterConstTbl>:
2137 (ccl_driver[WriteMultibyteChar2]): Bug fix.
2138 Use MAX_LEADING_BYTE_OFFICIAL_2 instead of
2139 MIN_LEADING_BYTE_OFFICIAL_2 to check whether the
2140 leading char belongs to official 2-dimensional charset.
2141 (CCL_WRITE_CHAR): When CCL_MODE_ENCODING,
2142 write the given character as is. Otherwise,
2143 if it is a multibyte char, convert it by
2144 non_ascii_set_charptr_emchar, then write it.
2145 (CCL_WRITE_STRING): Likewise.
2146 (ccl_get_compiled_code): New function.
2147 (setup_ccl_program): When ccl_prog is invalid,
2149 (Fregister_code_conversion_map): New function.
2150 (syms_of_mule_ccl): defsubr Fregister_code_conversion_map.
2152 * mule-ccl.h: Sync up with Emacs 21.0.90.
2153 (Fregister_ccl_program): export it.
2155 * redisplay-msw.c (separate_textual_runs):
2156 If ccl program is not valid, don't do ccl conversion.
2158 * redisplay-x.c (separate_textual_runs): Ditto.
2160 * file-coding.c (Fmake_coding_system):
2161 When type is ccl and value is vector, register it
2162 with a proper symbol. And checks whether the
2163 given ccl program is valid.
2164 (mule_decode): When calling ccl_driver, if src indicates
2165 NULL pointer, set an empty string instead.
2166 (mule_encode): Likewise.
2168 2000-10-11 Martin Buchholz <martin@xemacs.org>
2170 The following large batch of changes gets us back to a state of
2171 C++ compilability. Extbyte is now a char, which means that
2172 Extbyte * and Bufbyte * cannot be freely interchanged - a win!
2174 * tooltalk.c (Fset_tooltalk_message_attribute): Type correctness.
2176 * sound.c (Fplay_sound): Type correctness.
2178 * select-x.c (hack_motif_clipboard_selection): Type correctness.
2179 (x_get_window_property): Type correctness.
2180 (receive_incremental_selection): unsigned char ==> Extbyte
2181 (selection_data_to_lisp_data): unsigned char ==> Extbyte
2182 (Fx_get_cutbuffer_internal): unsigned char ==> Extbyte
2183 (Fx_store_cutbuffer_internal): Type correctness.
2185 * process-unix.c (try_to_initialize_subtty): Type correctness.
2187 * objects-x.c (x_print_color_instance): Type correctness.
2188 (x_print_font_instance): Type correctness.
2189 (x_list_fonts): SExtbyte ==> Extbyte.
2190 (valid_x_font_name_p): SExtbyte ==> Extbyte.
2191 (x_find_charset_font): SExtbyte ==> Extbyte.
2192 Use TO_INTERNAL_FORMAT. build_string ==> make_string.
2193 (truename_via_XListFonts): SExtbyte ==> Extbyte.
2194 (x_font_instance_properties): Use TO_INTERNAL_FORMAT.
2197 * mule-charset.h (LEADING_BYTE_PREFIX_P): unsigned char ==> Bufbyte
2198 (PRIVATE_LEADING_BYTE_PREFIX): Add paranoia cast.
2199 (BYTE_ASCII_P): Use bit ops for char-signedness safety.
2200 (BYTE_C0_P): Use bit ops for char-signedness safety.
2201 (BYTE_C1_P): Use bit ops for char-signedness safety.
2202 (CHARSET_BY_LEADING_BYTE):
2203 (CHARSET_BY_ATTRIBUTES):
2204 Always use inline function.
2205 Use type_checking_assert.
2208 * mule-charset.c (non_ascii_charptr_copy_char):
2209 Modify to work with both ASCII and non-ASCII characters.
2210 Improve docs and variable names.
2211 Replace over-clever fall-through switch with a simple loop.
2212 (Lstream_get_emchar_1):
2213 Replace over-clever fall-through switch with a simple loop.
2215 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
2216 Warning suppression.
2218 * lstream.h (Lstream_get_emchar): BYTE_ASCII_P cannot be used on
2219 the return value of Lstream_getc, which could be EOF as well.
2221 * lstream.c (Lstream_raw_read): Now returns ssize_t, not int.
2223 * lisp.h: Make Extbyte a char, not unsigned char, so that external
2224 APIs can be used on Extbytes without casts. Risky!
2228 * input-method-xlib.c (XIM_init_device):
2229 Use Xlib.h instead of IntrinsicP.h.
2230 Use HAVE_XREGISTERIMINSTANTIATECALLBACK instead of THIS_IS_X11R6,
2231 which will break in X11R7.
2232 Use XREGISTERIMINSTANTIATECALLBACK_NONSTANDARD_PROTOTYPE,
2233 to call XRegisterIMInstantiateCallback with correct types.
2235 * gui-x.c (button_item_to_widget_value): Type correctness.
2237 * glyphs.c (bitmap_to_lisp_data): Type correctness.
2239 * glyphs-x.c (pixmap_from_xbm_inline): Type correctness.
2240 (xbm_instantiate_1): Type correctness.
2241 (BUILD_GLYPH_INST): Type correctness.
2243 * fileio.c (Fsubstitute_in_file_name): Type correctness.
2246 (decode_coding_sjis):
2247 (decode_coding_big5):
2248 (decode_coding_ucs4):
2249 (decode_coding_utf8):
2250 (decode_coding_iso2022):
2251 (decode_coding_no_conversion):
2252 Make all decoding functions take an Extbyte * arg.
2253 (encode_coding_sjis):
2254 (encode_coding_big5):
2255 (encode_coding_ucs4):
2256 (encode_coding_utf8):
2257 (encode_coding_iso2022):
2258 (encode_coding_no_conversion):
2259 Make all encoding functions take a Bufbyte * arg.
2260 Use size_t instead of unsigned int for memory sizes.
2261 Only cast to unsigned char whenever dereferencing Extbyte *.
2263 * doc.c (unparesseuxify_doc_string): Type correctness.
2265 * console-x.c (split_up_display_spec):
2266 Rewrite without using details of internal string representation.
2267 (x_semi_canonicalize_device_connection): Type correctness.
2270 (HAVE_XREGISTERIMINSTANTIATECALLBACK): New.
2271 (XREGISTERIMINSTANTIATECALLBACK_NONSTANDARD_PROTOTYPE): New.
2272 (HAVE_XFREE386): Removed.
2274 * buffer.h (DEC_CHARPTR): `const' correctness.
2275 (bufbyte_strcmp): New.
2276 (bufbyte_memcmp): New.
2278 * buffer.c (dfc_convert_to_internal_format): Extbyte ==> Bufbyte
2280 * buffer.h (XCHAR_OR_CHAR_INT):
2281 Always use inline function.
2282 Remove redundant type checking assert() - XINT will abort quite nicely.
2284 2000-10-03 Yoshiki Hayashi <yoshiki@xemacs.org>
2286 * search.c (Freplace_match): Set newtext to an empty string.
2288 2000-10-10 Martin Buchholz <martin@xemacs.org>
2290 * s/decosf1-3.h: Remove #include of stropts.h
2291 * s/ptx.h: Remove #include of stropts.h
2292 * s/usg5-4.h: Remove #include of stropts.h
2295 Use stropts.h, not sys/stropts.h.
2296 Use strtio.h, not sys/strtio.h.
2298 2000-10-04 Martin Buchholz <martin@xemacs.org>
2300 * XEmacs 21.2.36 is released.
2302 2000-09-21 Andy Piper <andy@xemacs.org>
2304 * glyphs-x.c (x_redisplay_widget): make sure non-structural
2305 changes still involve copying the widget tree.
2306 (update_widget_face): make sure a change is register in the widget
2307 tree. Call update_tab_widget_face appropriately.
2308 (update_tab_widget_face): ditto.
2309 (x_tab_control_redisplay): make sure non-structural changes still
2310 involve copying the widget tree.
2312 2000-08-31 Daiki Ueno <ueno@unixuser.org>
2314 * lread.c (locate_file): Check the path element is non-nil.
2316 2000-10-02 Martin Buchholz <martin@xemacs.org>
2318 * lisp.h: Warning suppression for SCO compilers.
2320 * redisplay-tty.c (reset_tty_modes): Fix crash.
2321 E.g. from xemacs running on X: (delete-device (make-device 'tty nil))
2323 2000-09-27 Martin Buchholz <martin@xemacs.org>
2325 Big signal/process handling overhaul. Bugs fixed:
2326 M-x shell, type `sleep 10000', M-x comint-interrupt-subjob and
2327 M-x comint-kill-subjob should work for both values nil and t of
2328 process-connection-type. It was broken on most platforms.
2329 Testing on Irix and Cygwin still needed. Other plaforms tested.
2330 * sysdep.c: Move #include of stropts.h into sysproc.h. Use pid_t.
2331 * process-unix.c: Signal/Process handling overhaul.
2332 (pty_name): make 64 bytes, as `expect' does, for paranoia.
2333 (allocate_pty): Use all available modern methods of allocating
2334 ptys, falling back to old style BSD allocation as a last resort.
2335 Use allegedly more secure Unix98 pty allocation by default.
2336 (allocate_pty_the_old_fashioned_way): New. the last resort.
2337 (unix_create_process): Push ptem, ldterm, ttcompat where
2338 available. Autoconfiscate.
2339 (try_to_initialize_subtty): New.
2340 (unix_kill_child_process): Proper signal handling for ptys on most
2341 platforms, using special knowledge of AIX, BSD, etc...
2342 (unix_create_process): Always disconnect_controlling_terminal() for
2343 subprocesses, whether using ptys or not.
2344 * process.h: Remove old getpt-dependent PTY code.
2345 * process.c (Fprocess_send_signal): New, obvious generic function.
2346 (decode_signal): New.
2347 (Finterrupt_process):
2351 (Fcontinue_process):
2352 (Fsignal_process): Use decode_signal.
2353 (process_send_signal):
2354 Many docstring corrections.
2355 Allow any signal to be sent to a process object.
2356 * config.h.in: Add symbols for big signal/process overhaul.
2357 * syssignal.h (EMACS_KILLPG): Use HAVE_KILLPG. Use `pid', not `gid'.
2358 * sysproc.h: Include process-related headers, where available:
2359 sys/stropts.h sys/strtio.h pty.h libutil.h
2367 Remove old S&M pty stuff.
2368 * console-tty.c (tty_init_console): Use pid_t, not int, for pids.
2369 * systty.h: Simplify cpp hackery, improve comments.
2370 Favor BSD ioctl(TIOCGPGRP) over Posix tcgetpgrp().
2372 * editfns.c (Fformat_time_string):
2373 Be a little more paranoid with the return value of ctime.
2375 * fileio.c (check_executable):
2377 Use symbolic constants X_OK, W_OK.
2379 * console-x.c (split_up_display_spec): Fix a warning.
2381 2000-10-02 Martin Buchholz <martin@xemacs.org>
2383 * gui-x.c (add_accel_and_to_external): strlen ==> XSTRING_LENGTH
2384 * ntproc.c (sys_spawnve): make_string ==> build_string
2385 Small clarity improvements.
2387 2000-09-30 Martin Buchholz <martin@xemacs.org>
2389 * events.c (WRONG_EVENT_TYPE_FOR_PROPERTY): Warning removal.
2391 * s/windowsnt.h (HAVE_STRCASECMP): Remove.
2393 * config.h.in (HAVE_STRCASECMP): Remove.
2395 2000-09-29 Martin Buchholz <martin@xemacs.org>
2397 * redisplay-output.c (redisplay_output_pixmap):
2398 Cleaner and possibly more 64-bit correct code.
2400 2000-09-28 Stephen J. Turnbull <stephen@xemacs.org>
2402 * dumper.c (pdump_load_finish): move restoration of
2403 `noninteractive1' to emacs.c (main_1).
2404 * emacs.c (main_1): protect LISP-visible command-line flags
2407 2000-09-26 Stephen J. Turnbull <stephen@xemacs.org>
2409 * Makefile.in.in (versionclean): Use EXE_TARGET and
2410 DUMP_TARGET instead of literal program names.
2412 2000-09-20 Martin Buchholz <martin@xemacs.org>
2414 * Makefile.in.in: Recent purify's require absolute paths for cache-dir.
2416 2000-09-19 Martin Buchholz <martin@xemacs.org>
2418 * *: Spelling mega-patch
2420 2000-09-19 Martin Buchholz <martin@xemacs.org>
2422 * fns.c (bad_bad_turtle):
2423 Delete "Eek!" comment, since we fixed the bug to which it refers.
2425 2000-09-16 Martin Buchholz <martin@xemacs.org>
2427 * alloca.c: Replace REGISTER with register.
2429 2000-09-16 Daiki Ueno <ueno@unixuser.org>
2431 * file-coding.c (ucs_to_char): Use countof.
2433 2000-09-16 Martin Buchholz <martin@xemacs.org>
2435 * file-coding.c: (ucs_to_char):
2436 (complex_vars_of_file_coding):
2437 Use countof instead of sizeof.
2438 Use CHECK_NATNUM instead of CHECK_INT.
2440 * sysdep.c (strcasecmp): Remove.
2441 * device-x.c (ascii_strcasecmp): New.
2442 * device-x.c (Fx_get_resource): Use ascii_strcasecmp.
2443 Avoid using non-standard non-portable strcasecmp.
2445 2000-09-16 Martin Buchholz <martin@xemacs.org>
2447 * Makefile.in.in (mostlyclean): remove reference to prefix-args.
2448 * font-lock.c: remove reference to emacsfns.h.
2449 * search.c: small doc improvement.
2450 * event-Xt.c: correct file names in comments.
2451 * console-x.h Correct file names in comments.
2452 * frame.c: Correct file names in comments.
2453 * event-stream.c: remove Energize from comments.
2455 2000-09-15 Martin Buchholz <martin@xemacs.org>
2457 * symeval.h (DEFERROR_STANDARD):
2460 (DEFSYMBOL_NO_DUMP):
2461 (DEFSYMBOL_MULTIWORD_PREDICATE):
2462 (DEFSYMBOL_MULTIWORD_PREDICATE_NO_DUMP):
2464 The construct &##name is not sensible C.
2465 Fixes compilation errors with Unixware native compiler.
2467 2000-09-14 Martin Buchholz <martin@xemacs.org>
2469 * frame.c (device_matches_console_spec): no longer takes a `frame' arg
2470 (next_frame_internal): Removed. We now just have next_frame.
2472 Write a simpler and cleaner one-pass algorithm.
2473 Remove called_from_delete_device arg and #ifdefed-out code.
2475 Renamed from prev_frame. Update callers.
2476 Cleaned up to have an analogous implementation to next_frame.
2477 (other_visible_frames_internal): Remove the
2478 called_from_delete_device bogus arg, and hence, remove this
2479 function. Just use other_visible_frames().
2481 * window.c (Fnext_window):
2483 Since next_frame() is guaranteed to return a frame, remove check
2484 for nil inserted in previous patch.
2487 Make code look more like Fnext_window.
2489 Respect the `console' arg when iterating through windows.
2490 Fixes bug: (get-buffer-window buffer t device) not respecting
2492 This function needs more work, as others have pointed out.
2494 * frame.h: Rename prev_frame to previous_frame.
2495 device_matches_console_spec no longer takes a `frame' arg.
2500 Use EMACS_BLOCK_SIGNAL instead of sigblock.
2501 From "Golubev I. N." <gin@mo.msk.ru>.
2503 * make-src-depend: Fix typo.
2505 2000-09-13 Martin Buchholz <martin@xemacs.org>
2507 * window.c (Fnext_window):
2508 next_frame() might return nil, not a frame.
2510 (gdb) run -eval '(progn (make-device (quote x) "polgar:0") (next-window (minibuffer-window) t (quote visible) (second (device-list))))'
2512 * frame.c (next_frame_internal):
2513 We've passed a frame if we've passed its device.
2515 (gdb) run -eval '(progn (make-frame nil (make-device (quote x) "polgar:0")) (next-window (minibuffer-window) t (quote visible) (second (device-list))))'
2516 Fatal error: assertion failed, file /project/xemacs/ws/dev/src/frame.h, line 245, RECORD_TYPEP (obj, lrecord_type_frame)
2518 2000-09-11 Jonathan Harris <jhar@tardis.ed.ac.uk>
2520 * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
2521 Allow option to suppress accelerators in menu/dialog items.
2522 (populate_or_checksum_helper): Pass dialog title through above.
2524 2000-09-10 Jonathan Harris <jhar@tardis.ed.ac.uk>
2526 * event-msw.c (mswindows_key_to_emacs_keysym):
2527 Add "pause" key, fix "menu" key.
2529 2000-09-09 Martin Buchholz <martin@xemacs.org>
2531 * eval.c (reinit_vars_of_eval):
2532 Increase max_lisp_eval_depth to 1000,
2533 required for thai-xtis.el to byte-compile under some circumstances.
2535 2000-09-04 Martin Buchholz <martin@xemacs.org>
2537 * event-Xt.c (x_to_emacs_keysym): Increase size of `buffer' to 513.
2540 2000-09-01 Martin Buchholz <martin@xemacs.org>
2542 * make-src-depend: Make the generated Makefiles smaller.
2544 * s/hpux.h (SETUP_SLAVE_PTY):
2545 Provide a %d in the format string for the errno argument.
2547 * editfns.c (Ftemp_directory):
2549 Avoid buffer overrun on very long file name.
2551 * input-method-xlib.c (XIM_init_device):
2552 6th parameter of XRegisterIMInstantiateCallback has different
2553 pointer types on different OSes, so simply cast to (void *).
2555 * unexhp9k800.c: Warning fixes. Fiddly changes.
2557 * sysdll.c (dll_open):
2558 shl_load will hang hard if passed a NULL filename.
2559 Simply return NULL for compatibility with dlopen.
2560 * sysdll.c: Conform to XEmacs coding standards.
2562 * sysdep.c (get_pty_max_bytes):
2563 Support pty input lines longer than 512 bytes on HP-UX 10.20.
2565 2000-08-31 Martin Buchholz <martin@xemacs.org>
2567 * tooltalk.c: Add #include <syssignal.h>
2569 2000-08-12 Alexandre Oliva <aoliva@redhat.com>
2571 * s/hpux.h: Don't use undefined function sigunblock().
2573 2000-08-31 Martin Buchholz <martin@xemacs.org>
2575 * config.h.in: Add HAVE_BALLOON_HELP.
2576 * emacs.c: Use HAVE_BALLOON_HELP.
2577 * Makefile.in.in (x_objs):
2578 Make Balloon Help conditional on finding shape.h.
2580 2000-08-23 Yoshiki Hayashi <yoshiki@xemacs.org>
2582 * syntax.c (regex_emacs_buffer_p): New variable.
2583 * syntax.h (regex_emacs_buffer_p): extern.
2584 * search.c (looking_at_1):
2586 (fast_string_match):
2587 (search_buffer): Set regex_emacs_buffer_p.
2588 * regex.c (re_match_2_internal): Reference regex_emacs_buffer_p
2589 when before_dot, at_dot, after_dot.
2591 2000-08-23 Andy Piper <andy@xemacs.org>
2593 * gui-x.c (popup_selection_callback): Only set action_occurred
2594 when we really have an image instance.
2595 * gui-msw.c (mswindows_handle_gui_wm_command): ditto.
2597 2000-08-23 Andy Piper <andy@xemacs.org>
2599 * gui-msw.c (mswindows_handle_gui_wm_command): set
2601 * gui-x.c (popup_selection_callback): ditto.
2603 * glyphs.h (IMAGE_INSTANCE_WIDGET_ACTION_OCCURRED): new accessor.
2604 (XIMAGE_INSTANCE_WIDGET_ACTION_OCCURRED): ditto.
2605 (struct Lisp_Image_Instance): add action_occurred flag.
2607 * glyphs.c (redisplay_subwindow): use action_occurred flag.
2608 (image_instance_changed): ditto.
2609 (reset_frame_subwindow_instance_cache): only unmap windows - do
2610 not remove them from the cache also.
2612 * glyphs-widget.c (tab_control_update): better debug.
2613 (progress_gauge_update): ditto.
2614 (layout_update): ditto.
2615 (layout_instantiate): ditto.
2616 (tab_control_order_only_changed): cope with null pending items.
2618 * glyphs-msw.c (mswindows_tab_control_redisplay): add better
2619 debug. Force selection of an item when an action occurred. Cope
2620 with null pending_items.
2621 (mswindows_progress_gauge_redisplay): better debug.
2622 * glyphs-x.c (x_tab_control_redisplay): ditto.
2624 * redisplay.c (redisplay_frame): reset the frame cache if the
2627 * window.c (Fset_window_configuration): potentially re-enable
2629 (window_unmap_subwindows): need to finalize instances here since
2630 it is only used in mark_window_as_deleted.
2632 2000-08-22 Stephen J. Turnbull <stephen@xemacs.org>
2634 * nas.c (SndOpenDataForReading):
2635 nas.c (WaveOpenDataForReading):
2636 nas.c (readChunk): {BIG,LITTLE}_ENDIAN -> NAS_{BIG,LITTLE}_ENDIAN.
2637 Somehow escaped from the 2000-08-14 patch.
2639 2000-08-14 Stephen J. Turnbull <stephen@xemacs.org>
2641 * nas.c: Preprocessor trickery to use NAS_LITTLE_ENDIAN instead
2642 of LITTLE_ENDIAN (conflicts with glibc, at least) in NAS <= 1.2p5.
2644 2000-08-21 Andy Piper <andy@xemacs.org>
2646 * glyphs-x.c (x_map_subwindow): Minor optimization - only map the
2647 window if it is not already displayed.
2649 * glyphs-msw.c (mswindows_map_subwindow): only map the window if
2650 it is not already displayed.
2652 * window.c (Fset_window_configuration): don't reset the frame
2655 * glyphs.c (unmap_subwindow_instance_cache_mapper): only remove
2656 instances from the frame cache if we are actually finalizing them.
2657 (reset_frame_subwindow_instance_cache): reset frame cache only
2658 after unmapping everything.
2659 (map_subwindow): set displayed flag after mapping.
2661 2000-08-21 Martin Buchholz <martin@xemacs.org>
2663 * data.c (indirect_function):
2664 Rename ERRORP to non-misleading VOID_FUNCTION_ERRORP.
2666 * eval.c (function_argcount):
2667 Use original function when signaling errors.
2669 2000-08-18 Andy Piper <andy@xemacs.org>
2671 * frame.c (delete_frame_internal): use new
2672 free_frame_subwindow_instances name.
2674 * glyphs-msw.c (mswindows_tab_control_instantiate): verify index.
2675 (add_tab_item): make return type correct.
2676 (mswindows_tab_control_instantiate): assert index of tab.
2677 (mswindows_tab_control_redisplay): Re-code to use
2678 gui_item_equal_sans_selected and gui_item_list_find_selected.
2680 * glyphs-widget.c (tab_control_update): Correct comment.
2682 * window.c (window_unmap_subwindows): use new
2683 unmap_subwindow_instance_cache_mapper.
2684 (window_unmap_subwindows_cache_mapper): deleted.
2685 (Fset_window_configuration): comparisons should now be with
2686 EQ. Preserve the subwindow instance cache across configuration
2688 (allocate_window): ditto.
2689 (make_dummy_parent): ditto.
2691 * glyphs.c (free_frame_subwindow_instances): rename from
2692 free_frame_subwindow_instance_cache. finalize all instances rather
2693 than just those in the display cache.
2694 (finalize_all_subwindow_instances): walk windows unmapping and
2695 finalizing subwindows.
2696 (unmap_subwindow_instance_cache_mapper): moved from
2697 window.c. Allow finalization as well as unmapping.
2699 * gui.c (gui_item_list_find_selected): new function.
2701 * gui.h (gui_item_list_find_selected): declare.
2703 * glyphs-x.c (x_tab_control_redisplay): pick tab
2704 explicitly. Re-code to use gui_item_equal_sans_selected and
2705 gui_item_list_find_selected.
2707 * glyphs-x.h: add lwlib-utils.h
2709 * buffer.c (Frecord_buffer): undo previous change.
2711 2000-08-09 Vin Shelton <acs@xemacs.org>
2713 * config.h.in, s/gnu.h, s/hpux.h, s/linux.h: Use UNIX98 PTYs if
2714 possible. Create temporary files more securely. The patch was
2715 generated by Torsten Duwe <duwe@caldera.de>, Florian Weimer
2716 <Florian.Weimer@RUS.Uni-Stuttgart.DE> and Olaf Kirch. See
2717 http://www.xemacs.org/list-archives/xemacs-patches/200007/msg00123.html
2720 2000-08-07 Ben Wing <ben@xemacs.org>
2722 * getloadavg.c: remove duplicate (and windows-breaking)
2723 includes of fcntl.h and sys/file.h.
2725 * nt.c: remove duplicate getloadavg() definition.
2727 * sysdll.h (Qdll_filename_encoding): add missing stand-in
2730 2000-08-07 Gunnar Evermann <ge204@eng.cam.ac.uk>
2732 * eval.c (function_argcount): If function needs to be autoloaded
2733 actually use the loaded definition.
2736 2000-08-05 Ben Wing <ben@xemacs.org>
2738 * getloadavg.c: add prototype for getloadavg(). remove
2739 duplicate WIN32_NATIVE/CYGWIN code (already in the middle
2740 of the code). remove duplicate header includes.
2742 * s\cygwin32.h, s\mingw32.h: remove stray NO_ARG_ARRAY.
2744 * s\cygwin32.h, s\mingw32.h, m\windowsnt.h:
2745 don't define LOAD_AVE_TYPE/LOAD_AVE_CVT because we have no
2746 useful load average.
2748 * alloc.c (reinit_alloc_once_early): removed references to
2749 VIRT_ADDR_VARIES, malloc_sbrk_used/free, and data-bytes-used/free.
2750 the lisp vars are the only things referencing the malloc_sbrk_*
2751 vars, and they were already if 0'd out. these vars only exist
2752 in the older malloc.c, which is basically unused, and they're
2753 only for informational purposes.
2755 * m\*.h: removed useless VIRT_ADDR_VARIES.
2757 * m\powerpc.h: removed stray NO_ARG_ARRAY.
2759 2000-04-26 IKEYAMA Tomonori <tomonori@suiyokai.org>
2761 * redisplay-msw.c (mswindows_output_dibitmap): Set foreground
2762 color if the image is a mono pixmap.
2764 2000-07-30 Ben Wing <ben@xemacs.org>
2766 * Makefile.in.in (release):
2769 * buffer.c (directory_is_current_directory):
2770 * dired-msw.c (mswindows_get_files):
2772 * dired.c (Fdirectory_files):
2773 * dired.c (file_name_completion_stat):
2774 * dired.c (Ffile_attributes):
2775 [[[[1]]]]: Rename stat() -> xemacs_stat() and eliminate nasty
2776 preprocessor tricks, to avoid problems on some machines
2779 * callproc.c (egetenv): GC docs.
2782 * console-msw.h (struct mswindows_dialog_id):
2783 * lrecord.h (lrecord_type):
2784 New object for use with MSW dialogs.
2786 * console.h (struct console_methods):
2787 New enable/disable frame methods, for proper modal dialogs.
2789 * device-msw.c (msprinter_default_printer): Fix to follow
2790 proper Mule conventions.
2793 * device-msw.c (signal_open_printer_error):
2794 * device-msw.c (msprinter_init_device):
2795 * device-msw.c (ensure_not_printing):
2796 * device-msw.c (plist_get_margin):
2797 * device-msw.c (Fmsprinter_select_settings):
2798 * device-msw.c (finalize_devmode):
2799 * device-msw.c (Fmsprinter_settings_despecialize):
2800 * device-msw.c (signal_enum_priner_error):
2801 * extents.c (decode_extent):
2802 * extents.c (decode_map_extents_flags):
2803 * extents.c (decode_extent_at_flag):
2804 * extents.c (Fextent_at):
2805 * extents.c (Fextents_at):
2806 * extents.c (symbol_to_glyph_layout):
2807 [[[[2]]]] Use structured errors.
2810 * dialog-msw.c (mswindows_is_dialog_msg):
2811 * dialog-msw.c (mark_mswindows_dialog_id):
2812 * dialog-msw.c (dialog_proc):
2813 * dialog-msw.c (handle_question_dialog_box):
2814 * dialog-msw.c (syms_of_dialog_mswindows):
2815 Define new object to clean up marking; use it as a dialog identifier.
2816 Call new delete-dialog-box-hook.
2818 * dialog-x.c (dbox_selection_callback):
2819 * dialog-x.c (dbox_descriptor_to_widget_value):
2820 * dialog-x.c (x_make_dialog_box_internal):
2821 Call new delete-dialog-box-hook.
2825 * dialog.c (syms_of_dialog):
2826 * dialog.c (vars_of_dialog):
2827 Define new delete-dialog-box-hook, for use w/modal dialog boxes.
2830 * eval.c (signal_call_debugger):
2831 when noninteractive, output stack traces on the console instead
2832 of in a (never-seen) buffer.
2834 * eval.c (signal_type_error):
2835 * eval.c (invalid_argument_2):
2837 new funs for use w/structured errors.
2840 * event-Xt.c (x_to_emacs_keysym):
2841 * event-Xt.c (describe_event):
2842 * event-Xt.c (emacs_Xt_event_handler):
2843 * event-Xt.c (vars_of_event_Xt):
2845 * event-msw.c (mswindows_wnd_proc):
2846 * event-msw.c (vars_of_event_mswindows):
2847 rename {x,mswindows}-debug-events to debug-{}-events for
2848 consistency with other debug-foo variables.
2851 document next-event more clearly.
2853 * fileio.c (Ffile_name_directory):
2854 * fileio.c (Ffile_name_nondirectory):
2855 * fileio.c (Funhandled_file_name_directory):
2856 * fileio.c (file_name_as_directory):
2857 * fileio.c (Ffile_name_as_directory):
2858 * fileio.c (directory_file_name):
2859 * fileio.c (Fdirectory_file_name):
2860 * fileio.c (Fmake_temp_name):
2861 * fileio.c (Ffile_truename):
2862 * fileio.c (Fsubstitute_in_file_name):
2863 * fileio.c (expand_and_dir_to_file):
2864 * fileio.c (barf_or_query_if_file_exists):
2865 * fileio.c (check_executable):
2866 * fileio.c (Ffile_exists_p):
2867 * fileio.c (Ffile_writable_p):
2868 * fileio.c (Ffile_directory_p):
2869 * fileio.c (Ffile_regular_p):
2870 * fileio.c (Ffile_modes):
2871 * fileio.c (Ffile_newer_than_file_p):
2872 * fileio.c (Fverify_visited_file_modtime):
2873 * fileio.c (Fset_visited_file_modtime):
2874 * fileio.c (auto_save_1):
2879 * frame-msw.c (mswindows_init_frame_1):
2880 * frame-msw.c (mswindows_enable_frame):
2881 * frame-msw.c (error_frame_unsizable):
2882 * frame-msw.c (msprinter_init_frame_1):
2883 * frame-msw.c (msprinter_init_frame_3):
2884 * frame-msw.c (console_type_create_frame_mswindows):
2886 implement new enable/disable frame methods.
2889 * frame-x.c (x_enable_frame):
2890 * frame-x.c (console_type_create_frame_x):
2891 implement new enable/disable frame methods.
2894 * frame.c (Fdisable_frame):
2895 * frame.c (syms_of_frame):
2896 * frame.h (struct frame):
2897 implement new enable/disable frame methods/functions.
2902 * glyphs-msw.c (mswindows_widget_instantiate):
2903 comment that initial-focus should be implemented.
2906 * glyphs-widget.c (check_valid_instantiator):
2907 * glyphs-widget.c (check_valid_orientation):
2908 * glyphs-widget.c (check_valid_tab_orientation):
2909 * glyphs-widget.c (check_valid_justification):
2910 * glyphs-widget.c (check_valid_border):
2911 * glyphs-widget.c (check_valid_callback):
2912 * glyphs-widget.c (check_valid_int_or_function):
2913 * glyphs-widget.c (check_valid_string_or_vector):
2914 * glyphs-widget.c (check_valid_item_list_1):
2915 * glyphs-widget.c (widget_validate):
2916 * glyphs-widget.c (combo_box_validate):
2917 * glyphs-widget.c (widget_instantiate):
2918 * glyphs-widget.c (syms_of_glyphs_widget):
2919 * glyphs-widget.c (VALID_WIDGET_KEYWORDS):
2920 * glyphs-widget.c (image_instantiator_combo_box):
2921 * glyphs-widget.c (image_instantiator_scrollbar):
2922 * glyphs-widget.c (image_instantiator_tab_control):
2923 * glyphs-widget.c (VALID_LAYOUT_KEYWORDS):
2925 support (unimplemented) keyword initial-focus.
2926 reindent long macros.
2928 * glyphs-x.c (x_redisplay_widget):
2929 * glyphs-x.c (x_button_instantiate):
2930 * glyphs-x.c (x_button_redisplay):
2931 * glyphs-x.c (x_progress_gauge_instantiate):
2932 * glyphs-x.c (x_edit_field_instantiate):
2933 * glyphs-x.c (x_combo_box_instantiate):
2934 * glyphs-x.c (x_tab_control_instantiate):
2935 * glyphs-x.c (x_label_instantiate):
2937 * gui-x.c (button_item_to_widget_value):
2938 * gui-x.c (gui_items_to_widget_values_1):
2939 * gui-x.c (gui_item_children_to_widget_values):
2940 * gui-x.c (gui_items_to_widget_values):
2942 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
2943 add new flag to gui-parsing routines to indicate whether
2944 accelerator specs should be supported.
2946 * glyphs.c (syms_of_glyphs): use DEFSYMBOL.
2948 * glyphs.h (struct Lisp_Image_Instance):
2949 * glyphs.h (IMAGE_INSTANCE_WANTS_INITIAL_FOCUS):
2950 add initial-focus flag.
2953 * gui.c (syms_of_gui):
2954 * gui.c (vars_of_gui):
2955 clean up menu-no-selection-hook.
2958 support delete-dialog-box-hook.
2960 * lread.c (Fload_internal):
2961 * lread.c (locate_file_in_directory_mapper):
2965 * lrecord.h (struct toolbar_button):
2966 * lrecord.h (syms_of_toolbar):
2967 document how to create a new object.
2969 * menubar-msw.c (mswindows_char_is_accelerator):
2970 may be called on frames w/o menus.
2972 * menubar.c (vars_of_menubar):
2973 clean up :filter docs.
2980 * process-nt.c (validate_signal_number):
2981 * process-nt.c (signal_cannot_launch):
2982 * process-nt.c (nt_create_process):
2983 * process-nt.c (nt_send_process):
2984 * process-nt.c (nt_kill_child_process):
2985 * process-nt.c (nt_open_network_stream):
2986 * process-nt.c (syms_of_process_nt):
2988 delete quote-handling. call new lisp code that does it better.
2990 * process-unix.c (connect_to_file_descriptor):
2991 * process-unix.c (allocate_pty):
2992 * process-unix.c (unix_send_process):
2993 * process-unix.c (unix_kill_child_process):
2994 * process-unix.c (unix_open_network_stream):
2995 * process-unix.c (unix_open_multicast_group):
2999 * process.c (Fstart_process_internal):
3000 (2). need to canonicalize process path even if absolute.
3002 * select-msw.c (symbol_to_ms_cf):
3003 * select-msw.c (ms_cf_to_symbol):
3004 * select-msw.c (cf_is_autofreed):
3005 * select-msw.c (mswindows_destroy_selection):
3007 * select.c (syms_of_select):
3009 support dibv5, fix bugs. (from Mike Alexander)
3011 * select.c (Fget_selection_internal):
3012 * select.c (select_convert_out):
3015 * sysdep.c (xemacs_stat):
3020 but keep original stat() here because we provide encapsulation
3024 * sysfile.h (fstat):
3025 remove stat garbage.
3029 don't include tchar.h. it's inappropriate because it makes
3030 compile-time distinctions when we want runtime distinctions.
3031 (we provide our own tchar replacements)
3034 use default object printer for toolbar-button.
3037 make sure we don't encapsulate.
3039 * window.c (vars_of_window):
3040 emphasize that temp-buffer-show-hook is obsolete.
3042 2000-08-05 Martin Buchholz <martin@xemacs.org>
3044 * glyphs.c (image_instance_hash): HASH2 wants EMACS_INT args.
3045 (Fimage_instance_subwindow_id): make_int wants EMACS_INT arg.
3047 * events.c (Fevent_timestamp_lessp):
3048 Not 64-bit clean. Use EMACS_INT, not int.
3050 2000-06-05 Andrew Begel <abegel@cs.berkeley.edu>
3052 * lrecord.h (lrecord_types): Changed lrecord_type_count to an
3053 unsigned int and changed the last enum to
3054 lrecord_type_last_built_in_type.
3055 (lrecord_implementations_table): changed prototype to know how
3056 long the array is supposed to be.
3057 (lrecord_type_count): new unsigned int to keep track of the
3058 current number of lisp lrecord types.
3059 (DEFINE_EXTERNAL_LRECORD):
3060 (DECLARE_EXTERNAL_LRECORD): Added these two for external
3061 dynamic-modules to declare new lisp types. They are the same
3062 as the non-EXTERNAL forms, but declare an lrecord_type unsigned
3063 int for each new type, and increment lrecord_type_count by 1.
3065 * alloc.c (lrecord_implementations_table): Changed to reference
3066 lrecord_type_last_built_in_type for the size of the array.
3067 Moved MODULE_DEFINABLE_TYPE_COUNT to lrecord.h.
3069 2000-08-03 Yoshiki Hayashi <yoshiki@xemacs.org>
3071 * glyphs.h (check_valid_item_list): Renamed from
3072 check_valid_item_list_1.
3074 2000-08-01 Alastair J. Houghton <ajhoughton@lineone.net>
3076 * select.c (Qselect_coerce): New.
3077 * select.c (Vselection_coercion_alist): New.
3078 * select.c (syms_of_select): Declare.
3079 * select.c (get-selection-internal): Use it.
3080 Use the new select-coerce functionality.
3082 * select.c (select_coerce): New.
3083 * select.h (select_coerce): Declare.
3084 New function to coerce one type of data into another.
3086 2000-08-03 Martin Buchholz <martin@xemacs.org>
3088 * callproc.c (Fcall_process_internal):
3089 (Fcall_process_internal):
3090 * process-unix.c (unix_create_process):
3091 Save and restore the value of errno, so that error messages are accurate.
3093 2000-08-01 Martin Buchholz <martin@xemacs.org>
3095 * elhash.c (print_hash_table):
3096 Fix printing of hash tables to also use `key-and-value' instead of `t'.
3097 Prettify docstrings and indentation.
3099 2000-07-31 Yoshiki Hayashi <yoshiki@xemacs.org>
3101 * window.c (Fwindow_pixel_edges): Subtract frame border and
3104 2000-07-31 Andy Piper <andy@xemacs.org>
3106 * buffer.c (Frecord_buffer): make absolutely sure that redisplay
3107 will acknowledge the change.
3109 * glyphs.h: declare tab_control_order_only_changed.
3111 * glyphs-x.c (x_tab_control_redisplay): use
3112 tab_control_order_only_changed.
3114 * glyphs-widget.c (tab_control_order_only_changed): new function.
3116 * glyphs-msw.c (mswindows_tab_control_redisplay): use
3117 tab_control_order_only_changed.
3119 * gui.c (gui_item_equal_sans_selected): new function.
3120 (gui_item_equal): use it.
3122 * glyphs-msw.c (mswindows_combo_box_instantiate): deprecate
3123 :properties in favor of :items..
3125 * glyphs-widget.c (check_valid_item_list): rename from
3126 check_valid_item_list_1.
3127 (check_valid_item_list_1): renamed.
3128 (combo_box_validate): deprecate :properties in favor of :items.
3129 (widget_instantiate): ditto.
3130 (tab_control_update): ditto.
3131 (image_instantiator_combo_box): ditto.
3132 (image_instantiator_tree_view): ditto.
3133 (image_instantiator_tab_control): ditto.
3134 (layout_post_instantiate): remove dead code.
3136 * print.c (debug_print_no_newline): only write to debugger if in
3139 * elhash.c (Fmake_hash_table): update doc string.
3141 * event-msw.c (mswindows_wnd_proc): don't allow processing of
3142 messages whilst in GC. This at least stops XEmacs crashing but has
3143 the potential for wierd behaviour.
3145 2000-07-31 Martin Buchholz <martin@xemacs.org>
3148 Make existence of s&m files optional.
3150 * s/bsd386.h: Remove HAVE_GETLOADAVG.
3151 * s/freebsd.h: Remove HAVE_GETLOADAVG.
3152 * s/gnu.h: Remove HAVE_GETLOADAVG.
3153 * s/netbsd.h: Remove HAVE_GETLOADAVG.
3154 * s/sol2.h: Remove HAVE_GETLOADAVG.
3155 * lisp.h: Remove getloadavg() declaration.
3157 Include <sys/loadavg.h> if available.
3158 Don't declare our own getloadavg() if HAVE_GETLOADAVG.
3159 * config.h.in: Group together getloadavg()-related macros.
3160 Use only configure-time tests to detect getloadavg().
3162 2000-07-30 Martin Buchholz <martin@xemacs.org>
3164 * Makefile.in.in (TransientEmacsShell.o): Fix race condition.
3166 2000-07-25 Andy Piper <andy@xemacs.org>
3168 * syswindows.h: add tchar.h for native builds.
3170 * frame.c (syms_of_frame): remove set-glyph-image.
3172 * general-slots.h: add Qset_glyph_image.
3174 * glyphs-widget.c (layout_update): add domain arg to
3176 (syms_of_glyphs_widget): remove set-glyph-image.
3178 2000-07-23 Ben Wing <ben@xemacs.org>
3180 * dialog-msw.c (vars_of_dialog_mswindows): need to staticpro
3183 2000-07-22 Andy Piper <andy@xemacs.org>
3185 * symsinit.h: add syms_of_win32().
3187 * gui-msw.c (syms_of_gui_mswindows): remove
3188 Fmswindows_shell_execute.
3189 (Fmswindows_shell_execute): moved to win32.c.
3191 * emacs.c (main_1): add syms_of_win32 ().
3193 * win32.c (init_potentially_nonexistent_functions): rewrite in
3194 compiler-friendly terms.
3195 (Fmswindows_shell_execute): move here from gui-msw.c.
3196 (syms_of_win32): new.
3198 * device-msw.c (Fmswindows_printer_list): clean up args to
3200 Don't include tchar under cygwin or mingw.
3201 (msprinter_default_printer): make cygwin-friendly.
3203 2000-07-21 Andy Piper <andy@xemacs.org>
3205 * glyphs-widget.c (image_instantiator_tree_view): use tab
3206 control's update function.
3207 (layout_property): new function. Retrieve items.
3209 * glyphs-msw.c (mswindows_tree_view_redisplay): new
3210 function. Re-populate the tree view from the pending items.
3212 * glyphs.c (instantiate_image_instantiator): Make sure the domain
3213 is designated the parent if the domain is an image instance. This
3214 is needed so that dirtiness can be cascade up the hierarchy and
3215 thus for layout children to be redisplayed correctly.
3216 (allocate_image_instance): rename glyph -> parent.
3218 * redisplay.h: change redisplay_output_layout signature.
3220 * redisplay-msw.c (mswindows_output_display_block): use domain
3223 * redisplay-x.c (x_output_display_block): use domain arg.
3225 2000-07-10 Andy Piper <andy@xemacs.org>
3227 * window.c (Fset_window_configuration): add comment.
3229 * redisplay-output.c (compare_runes):
3230 (redisplay_output_subwindow): redisplay rather than update subwindow.
3231 (redisplay_output_layout): ditto.
3233 * redisplay-msw.c (mswindows_frame_output_end):
3234 (mswindows_frame_output_end): make defer window pos optional.
3236 * lisp.h: add Flast.
3238 * glyphs.h (struct image_instantiator_methods): add dest_mask top
3239 normalize method. Change update method to be for changed
3240 instantiators. Add redisplay method. Change signature of layout
3242 (struct Lisp_Image_Instance): add instantiator.
3243 (IMAGE_INSTANCE_INSTANTIATOR): new.
3244 (IMAGE_INSTANCE_SUBWINDOW_FACE): new.
3245 (XIMAGE_INSTANCE_INSTANTIATOR): new.
3246 (XIMAGE_INSTANCE_SUBWINDOW_FACE): new.
3249 (find_instantiator_differences): new function.
3250 (Fset_instantiator_property): new convenience function.
3251 (check_image_instance_structure): strictly check for vector
3253 (normalize_image_instantiator): make non-static.
3254 (instantiate_image_instantiator): pass on dest_mask and use new
3255 signatures for image_instance_layout and friends.
3256 (mark_image_instance): mark the instantiator. Mark the subwindow
3257 face not the widget face.
3258 (image_instance_equal): add instantiator.
3259 (image_instance_hash): ditto.
3260 (allocate_image_instance): ditto.
3261 (Fset_image_instance_property): removed.
3262 (Fimage_instance_file_name): ditto.
3263 (Fcolorize_image_instance): ditto.
3264 (image_instance_layout): add offsets to be set.
3265 (update_image_instance): new function. update an image instance
3266 from its changed instantiator.
3267 (inherit_normalize): add dest_mask.
3268 (xbm_normalize): ditto.
3269 (xface_normalize): ditto.
3270 (xpm_normalize): ditto.
3271 (text_update): set_property -> update.
3272 (image_instantiate): use the glyph identity as a hash key, not the
3274 (glyph_width): use new image_instance_layout signature.
3275 (glyph_ascent): ditto.
3276 (glyph_descent): ditto.
3277 (glyph_height): ditto.
3278 (glyph_query_geometry): ressurrect.
3279 (glyph_layout): ditto.
3280 (redisplay_subwindow): update -> redisplay.
3281 (syms_of_glyphs): add Fset_instantiator_property.
3282 (image_instantiator_format_create): set_property -> update.
3285 (autodetect_normalize): add dest_maks to signature.
3286 (x_redisplay_subwindow): update -> redisplay.
3287 (x_redisplay_widget): ditto.
3288 (x_button_redisplay): ditto.
3289 (x_progress_gauge_redisplay): ditto.
3290 (x_tab_control_redisplay): ditto. Rewrite to cope with changed
3292 (console_type_create_glyphs_x): update -> redisplay.
3293 (image_instantiator_format_create_glyphs_x): ditto.
3296 (check_valid_instantiator): disallow glyphs in the instantiator,
3297 they must now be vectors.
3298 (check_valid_instantiator_list): ditto.
3299 (glyph_instantiator_to_glyph): use internal symbol rather than
3301 (widget_update): renamed from widget_set_property. Call cascaded
3303 (redisplay_widget): renamed from update_widget.
3304 (widget_layout): image_instance_layout now takes position as well
3306 (widget_normalize): ditto.
3307 (widget_instantiate): ditto.
3308 (tab_control_query_geometry) ditto.:
3309 (tab_control_update): renamed from tab_control_set_property.
3310 (progress_gauge_update): set_property -> update.
3311 (layout_normalize): rewrite so that child instantiators are
3313 (layout_update): new function. Create glyphs from the normalized
3314 children and cope with any other layout keywords. We do not
3315 instantiate children here that will be take care of by
3316 redisplay_output_layout.
3317 (layout_instantiate): call layout_update and not much else.
3318 (layout_post_instantiate): not sure whether this is needed
3320 (layout_query_geometry): query glyph geometry rather than
3321 image_instance geometry.
3322 (layout_layout): set offsets from pass in parameters. Use glyph
3323 geometry and layout functions rather than image instance ones.
3324 (native_layout_layout): ditto.
3325 (syms_of_glyphs_widget): add make-glyph and set-glyph-image.
3326 (image_instantiator_widget): set_property -> update.
3327 (image_instantiator_buttons): ditto.
3328 (image_instantiator_progress_guage): ditto.
3329 (image_instantiator_tab_control): ditto.
3330 (VALID_LAYOUT_KEYWORDS): instantiators must now be vectors.
3331 (image_instantiator_layout): add update method.
3333 * glyphs-msw.c (bmp_normalize):
3334 (mswindows_resource_normalize): add dest_mask so that it can be
3335 proprogated by layout_normalize.
3336 (begin_defer_window_pos): make optional because it may not be the
3337 right thing to do and it introduces differences with X.
3338 (mswindows_unmap_subwindow): ditto.
3339 (mswindows_map_subwindow): ditto.
3340 (mswindows_redisplay_subwindow): renamed from
3341 mswindows_update_subwindow.
3342 (mswindows_redisplay_widget): ditto.
3343 (mswindows_button_redisplay): renamed from
3344 mswindows_button_update. Update is now what the instantiation
3345 function does for a changed instantiator.
3346 (mswindows_progress_gauge_instantiate): set the progress value
3347 here if appropriate.
3348 (mswindows_tab_control_redisplay): cope with re-ordering of the
3349 members of the tab widget by simply selecting the new top
3350 widget. This makes things appear ok if you click on a tab.
3351 (mswindows_combo_box_instantiate): image_instance_layout now takes
3352 position as well as size.
3353 (mswindows_progress_gauge_redisplay): renamed from
3354 mswindows_progress_gauge_update.
3355 (console_type_create_glyphs_mswindows): fix update -> redisplay.
3356 (image_instantiator_format_create_glyphs_mswindows): ditto.
3358 * glyphs-eimage.c (jpeg_normalize):
3361 (tiff_normalize): add dest_mask so that it can be proprogated by
3366 (hash_table_weakness_validate):
3367 (decode_hash_table_weakness):
3368 (Fhash_table_weakness):
3370 (syms_of_elhash): use Ben's naming scheme for hashtable types..
3372 * console.h (struct console_methods): move update_* to
3375 2000-07-20 Ben Wing <ben@xemacs.org>
3377 * *.[ch] (XSETOBJ): remove unused middle argument.
3378 lisp-disunion.h: correct wrap_object() to one argument.
3380 2000-07-15 Ben Wing <ben@xemacs.org>
3383 * s/cygwin32.h (CYGWIN_CONV_PATH):
3384 Add missing logb prototype for v1.1.
3385 Use post-b20 names and alias to pre-b20 names when pre-b20.
3387 * s/windowsnt.h: [5].
3389 2000-07-15 Ben Wing <ben@xemacs.org>
3391 * Makefile.in.in (x_objs):
3392 * Makefile.in.in (sheap_objs):
3393 * Makefile.in.in (objs):
3394 added win32.o, cosmetic cleanups.
3396 * alloc.c (Fmake_byte_code):
3397 [[[1]]]: Changes for new LIST_LOOP, EXTERNAL_LIST_LOOP,
3398 etc. macros which declare their own args now.
3400 * alloc.c (syms_of_alloc):
3401 [[[2]]]: Use DEFSYMBOL, DEFKEYWORD, DEFERROR and friends.
3404 Moved buffer-dedicated-frame, set-buffer-dedicated-frame into lisp.
3406 * buffer.c (Fget_file_buffer):
3407 Fixed GCPRO problem.
3409 * buffer.c (get_truename_buffer):
3410 Fixed comment about GC checking.
3412 * buffer.c (syms_of_buffer):
3413 Undeclared those dedicated frame funs.
3417 Define convenience macros for internal/external conversions.
3418 [[[3]]]: Define codesys aliases Qcommand_argument_encoding
3419 and Qenvironment_variable_encoding for cleaner code.
3422 Remove dedicated-frame; in lisp.
3424 * bytecode.c (funcall_compiled_function):
3427 * bytecode.c (syms_of_bytecode):
3431 * console-msw.c (mswindows_show_console): Rewrote.
3433 * console-msw.c (Fmswindows_debugging_output): New.
3434 Sends to OutputDebugString (special MSWin debugger interface).
3436 * console-msw.c (Fmswindows_message_box):
3437 Fixed stupid bugs so it works when called from kill-emacs.
3439 * console-msw.c (syms_of_console_mswindows):
3440 Declare Fmswindows_debugging_output.
3443 New MSWin prototypes.
3445 * console-msw.h (struct mswindows_frame):
3446 New entry last-click-mods for improved button-modifier support.
3448 * console-msw.h (FRAME_MSWINDOWS_POPUP):
3449 New struct entry `popup' with corresponding accessor.
3452 * console-x.c (split_up_display_spec):
3453 * console-x.c (get_display_arg_connection):
3454 * console-x.c (x_semi_canonicalize_console_connection):
3455 * console-x.c (x_canonicalize_device_connection):
3456 [[[6]]]: Change char to more specific type.
3457 [[[8]]]: Make use of abstracting codesys aliases defined in [3], [4];
3459 * console-x.c (x_semi_canonicalize_console_connection):
3460 * console-x.c (x_canonicalize_device_connection):
3461 [[[9]]]: Fix up error signalling to use new structured error system.
3464 [[[4]]]: Define codesys aliases:
3465 Qlwlib_encoding, Qx_atom_name_encoding, Qx_font_name_encoding,
3466 Qx_color_name_encoding, Qx_display_name_encoding.
3468 * console.h (struct console_methods):
3469 New method make_dialog_box_internal supersedes older
3470 popup_dialog_box method.
3473 Define many new errors, part of new structured errors.
3475 * data.c (init_errors_once_early):
3476 * data.c (syms_of_data):
3479 * device-msw.c (mswindows_init_device):
3480 [[[5]]]: Cleanup to support NT 3.51.
3482 * device-msw.c (decode_devmode): Cleanup.
3484 * device-msw.c (mswindows_handle_print_setup_dialog_box):
3485 * device-msw.c (mswindows_handle_print_dialog_box):
3486 * device-msw.c (mswindows_handle_page_setup_dialog_box):
3487 * device-msw.c (syms_of_device_mswindows):
3488 Delete the dialog box primitives recently introduced by Kirill and
3489 instead interface to general dialog box interface.
3492 * device-x.c (compute_x_app_name):
3493 * device-x.c (x_init_device):
3494 * device-x.c (Fx_valid_keysym_name_p):
3495 * device-x.c (Fx_set_font_path):
3499 * device.h (wrap_device): New.
3500 First of its kind; meant to replace XSETDEVICE.
3502 * dialog-msw.c: Many file-dialog symbols.
3504 * dialog-msw.c (mswindows_register_popup_frame): New.
3505 * dialog-msw.c (mswindows_is_dialog_msg): New.
3506 For supporting kbd traversal in dialog boxes.
3508 * dialog-msw.c (dialog_proc):
3509 Support hitting ESC in dialogs.
3511 * dialog-msw.c (struct):
3512 Common dialog box errors.
3514 * dialog-msw.c (handle_file_dialog_box): New.
3515 Add file dialog code.
3517 * dialog-msw.c (handle_question_dialog_box):
3518 Redo existing code to support new question dialog syntax.
3520 * dialog-msw.c (console_type_create_dialog_mswindows):
3521 We support new dialog console method.
3523 * dialog-msw.c (syms_of_dialog_mswindows):
3524 * dialog-msw.c (vars_of_dialog_mswindows):
3525 New file dialog symbols, vars.
3528 * dialog-x.c (maybe_run_dbox_text_callback):
3529 * dialog-x.c (dbox_descriptor_to_widget_value):
3530 * dialog-x.c (x_make_dialog_box_internal):
3531 * dialog-x.c (console_type_create_dialog_x):
3532 Mule-ize entire file.
3533 Redo to support question dialog syntax.
3537 * dialog.c (Fmake_dialog_box_internal):
3538 * dialog.c (syms_of_dialog):
3539 Kill old popup-dialog-box, replace with new primitive.
3540 Just call device method or signal error.
3542 * eldap.c (Fldap_open):
3543 * eldap.c (Fldap_search_basic):
3544 * eldap.c (Fldap_add):
3545 * eldap.c (Fldap_modify):
3550 * emacs.c (make_arg_list_1):
3551 * emacs.c (make_arg_list):
3552 Mule-ize call to dll_init().
3556 * emacs.c (make_argc_argv):
3557 * emacs.c (free_argc_argv):
3558 * emacs.c (init_cmdargs):
3560 * emacs.c (Fkill_emacs):
3561 * emacs.c (Fdump_emacs):
3562 Update comments about what can be used in syms_* etc.
3563 Call init_win32() when necessary.
3564 Fix up MS Win dialog box in kill-buffer to actually work right.
3575 * eval.c (condition_case_3):
3577 * eval.c (function_argcount):
3578 * eval.c (funcall_lambda):
3581 * eval.c (type_error): New.
3582 * eval.c (maybe_type_error): New.
3583 * eval.c (continuable_type_error): New.
3584 * eval.c (maybe_continuable_type_error): New.
3585 * eval.c (type_error_with_frob): New.
3586 * eval.c (maybe_type_error_with_frob): New.
3587 * eval.c (continuable_type_error_with_frob): New.
3588 * eval.c (maybe_continuable_type_error_with_frob): New.
3589 New functions for use with structured errors.
3592 * event-Xt.c (x_event_to_emacs_event):
3593 Buttons are now modifiers too.
3595 * event-Xt.c (emacs_Xt_current_event_timestamp):
3596 Implement new event method.
3597 * event-Xt.c (reinit_vars_of_event_Xt): Set it.
3600 * event-msw.c (ntpipe_shove_writer): [5].
3601 * event-msw.c (mswindows_enqueue_mouse_button_event):
3602 * event-msw.c (mswindows_drain_windows_queue):
3603 * event-msw.c (mswindows_wnd_proc): [7].
3604 * event-msw.c (mswindows_current_layout_has_AltGr): [5].
3605 * event-msw.c (mswindows_modifier_state):
3606 Throughout: support new button modifiers.
3608 * event-msw.c (emacs_mswindows_current_event_timestamp):
3609 Implement new event method.
3610 * event-msw.c (reinit_vars_of_event_mswindows): Set it.
3613 * event-stream.c (event_stream_current_event_timestamp): New.
3614 * event-stream.c (maybe_kbd_translate): New functionality.
3615 * event-stream.c (vars_of_event_stream):
3616 Document new kbd-translate-table functionality.
3618 * event-stream.c (Fcurrent_event_timestamp): New.
3619 New primitive for use in fabricated events.
3620 * event-stream.c (syms_of_event_stream): [2]. Declare new primitive.
3622 * events-mod.h (XEMACS_MOD_BUTTON1): new button modifiers.
3625 * events.c (Fmake_event):
3626 * events.c (WRONG_EVENT_TYPE_FOR_PROPERTY):
3630 * events.c (format_event_object): fix gcc warnings.
3632 * events.c (Fevent_timestamp): Document new primitives.
3634 * events.c (TIMESTAMP_HALFSPACE): New.
3636 * events.c (Fevent_timestamp_lessp): New. New primitive for
3637 comparing timestamps correctly (half-space algorithm).
3639 * events.c (Fevent_modifier_bits): Doc fix.
3641 * events.c (Fevent_modifiers): Major doc addition.
3642 * events.c (event_x_y_pixel_internal): Typo fix.
3643 * events.c (syms_of_events): Declare new primitives.
3646 Update long comment for button modifiers, timestamps.
3648 * events.h (struct event_stream):
3649 New current_event_timestamp method.
3652 * extents.c (extent_in_region_p):
3653 * extents.c (decode_extent):
3654 * extents.c (Fset_extent_parent):
3655 * extents.c (decode_map_extents_flags):
3659 * extents.c (struct extent_at_arg):
3660 * extents.c (decode_extent_at_flag):
3661 * extents.c (extent_at_mapper):
3662 * extents.c (extent_at_bytind):
3663 * extents.c (Fextent_at): Adapt to new lower-level interface. [9].
3664 * extents.c (Fextents_at): New primitive. [9].
3665 * extents.c (symbol_to_glyph_layout): [9].
3666 Support new primitive `extents-at'.
3669 * extents.c (get_text_property_bytind):
3670 extent_at_bytind has another arg.
3673 * extents.c (syms_of_extents): New primitive.
3675 * file-coding.c (Fmake_coding_system): [1].
3676 * file-coding.c (subsidiary_coding_system): fix gcc warning
3677 * file-coding.c (syms_of_file_coding): [2].
3679 * fileio.c (Fexpand_file_name):
3680 * fileio.c (Fsysnetunam):
3681 * fileio.c (Ffile_exists_p):
3682 * fileio.c (Ffile_executable_p):
3683 * fileio.c (Fverify_visited_file_modtime):
3686 * fileio.c (syms_of_fileio): [2].
3688 * filelock.c (lock_file_1):
3689 * filelock.c (current_lock_owner):
3690 * filelock.c (lock_if_free):
3691 * filelock.c (lock_file):
3692 * filelock.c (unlock_file):
3695 * fns.c (concat): Fix gcc warning.
3698 * fns.c (Fold_member):
3700 * fns.c (Fold_memq):
3701 * fns.c (memq_no_quit):
3703 * fns.c (Fold_assoc):
3705 * fns.c (Fold_assq):
3706 * fns.c (assq_no_quit):
3708 * fns.c (Fold_rassoc):
3710 * fns.c (Fold_rassq):
3711 * fns.c (rassq_no_quit):
3713 * fns.c (Fold_delete):
3715 * fns.c (Fold_delq):
3716 * fns.c (delq_no_quit):
3717 * fns.c (Fremassoc):
3719 * fns.c (remassq_no_quit):
3720 * fns.c (Fremrassoc):
3721 * fns.c (Fremrassq):
3722 * fns.c (remrassq_no_quit):
3727 * frame-msw.c (mswindows_init_frame_1):
3728 * frame-msw.c (mswindows_delete_frame):
3729 Register popups with dialog code so keyboard traversing works.
3731 * frame-tty.c (tty_raise_frame_no_select): [1].
3734 * frame-x.c (x_set_frame_text_value):
3735 * frame-x.c (x_set_frame_properties):
3736 * frame-x.c (x_create_widgets):
3740 * frame.c (Fmouse_pixel_position): Minor doc fixes.
3742 * frame.h (wrap_frame): New.
3743 Macro like wrap_device.
3746 * general.c (SYMBOL):
3747 * general.c (syms_of_general):
3748 Major reorg. This is now just a wrapper and symbols themselves
3749 are listed in general-slots.h.
3751 * glyphs-eimage.c (tiff_instantiate): Need cast to fix warning.
3752 * glyphs-msw.c (mswindows_resource_instantiate): [5].
3754 * glyphs-msw.c (mswindows_native_layout_instantiate):
3755 Add DS_CONTROL so keyboard traversal will work.
3758 * glyphs-widget.c (syms_of_glyphs_widget):
3759 Move some symbols to general-slots.h.
3762 * glyphs-x.c (xbm_instantiate_1):
3763 * glyphs-x.c (x_xbm_instantiate):
3764 * glyphs-x.c (x_xface_instantiate):
3765 * glyphs-x.c (autodetect_instantiate):
3766 * glyphs-x.c (cursor_font_instantiate):
3767 * glyphs-x.c (x_update_widget):
3768 * glyphs-x.c (x_widget_instantiate):
3769 * glyphs.c (bitmap_to_lisp_data):
3770 * glyphs.c (pixmap_to_lisp_data):
3773 * glyphs.c (syms_of_glyphs):
3777 * gui-x.c (print_widget_value):
3778 * gui-x.c (menu_separator_style_and_to_external):
3779 * gui-x.c (add_accel_and_to_external):
3780 * gui-x.c (button_item_to_widget_value):
3781 * gui-x.c (gui_items_to_widget_values_1):
3782 * gui-x.c (gui_items_to_widget_values):
3783 * gui-x.c (syms_of_gui_x):
3784 * gui-x.c (vars_of_gui_x):
3785 Mule-ize entire file. Move menu-no-selection-hook to gui.c.
3789 Muleize, prototype changes matching gui-x.c.
3792 * gui.c (separator_string_p):
3793 * gui.c (gui_item_add_keyval_pair):
3794 * gui.c (make_gui_item_from_keywords_internal):
3795 * gui.c (signal_too_long_error):
3796 * gui.c (parse_gui_item_tree_item):
3797 * gui.c (syms_of_gui):
3798 * gui.c (vars_of_gui):
3800 menu-no-selection-hook moved here (used by MSWin).
3801 Move some symbols to general-slots.h.
3805 * insdel.c (get_buffer_pos_char):
3806 * insdel.c (get_buffer_range_char):
3809 * keymap.c (keymap_lookup_directly):
3810 * keymap.c (keymap_store):
3811 * keymap.c (ensure_meta_prefix_char_keymapp):
3812 * keymap.c (describe_map):
3814 Support new button modifiers.
3816 * lisp-disunion.h (wrap_object):
3817 * lisp-disunion.h (XSETOBJ):
3818 Rename make_obj to wrap_object.
3821 * lisp-union.h (make_int):
3822 * lisp-union.h (make_char):
3823 Support wrap_object.
3826 * lisp.h (LIST_LOOP):
3827 * lisp.h (EXTERNAL_LIST_LOOP):
3828 * lisp.h (LIST_LOOP_2):
3829 * lisp.h (EXTERNAL_LIST_LOOP_1):
3830 * lisp.h (EXTERNAL_LIST_LOOP_2):
3831 * lisp.h (EXTERNAL_LIST_LOOP_3):
3832 * lisp.h (EXTERNAL_LIST_LOOP_4_NO_DECLARE):
3833 * lisp.h (PRIVATE_EXTERNAL_LIST_LOOP_6):
3834 * lisp.h (GET_EXTERNAL_LIST_LENGTH):
3835 * lisp.h (EXTERNAL_ALIST_LOOP_5):
3836 * lisp.h (EXTERNAL_ALIST_LOOP_6):
3837 * lisp.h (EXTERNAL_ALIST_LOOP_6_NO_DECLARE):
3838 * lisp.h (EXTERNAL_PROPERTY_LIST_LOOP_5_NO_DECLARE):
3839 * lisp.h (EXTERNAL_PROPERTY_LIST_LOOP_7):
3840 * lisp.h (struct Lisp_Symbol):
3841 * lisp.h (maybe_continuable_error_with_frob):
3842 Fix up section comments.
3843 Add new types for char to indicate usage.
3844 Delete symbols auto-generated from general-slots.h.
3845 Add prototypes for structured error functions.
3846 Add long comments describing looping macros and change interface
3847 so that lvalues are automatically declared.
3848 Add NO_DECLARE macro in case callers want to declare lvalues
3851 * lread.c (read_syntax_error):
3852 * lread.c (continuable_read_syntax_error):
3853 * lread.c (read_structure):
3854 * lread.c (sequence_reader):
3855 * lread.c (read_list_conser):
3856 * lread.c (read_compiled_function):
3857 Rename syntax_error and continuable_syntax_error to avoid clash
3858 with same-named structured error functions.
3860 * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
3861 * menubar-msw.c (populate_menu_add_item):
3862 * menubar-msw.c (populate_or_checksum_helper):
3867 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
3868 Mule-ize whole file.
3870 * menubar.c (Fnormalize_menu_item_name): Add optimization.
3872 * mule-charset.c (Fmake_charset):
3873 * mule-wnnfns.c (Fwnn_set_param):
3876 * ntproc.c (create_child):
3877 * ntproc.c (Fwin32_set_current_locale):
3878 Add comments portending doom.
3881 * objects-msw.c (old_font_enum_callback_2):
3882 * objects-msw.c (font_enum_callback_1):
3883 * objects-msw.c (mswindows_enumerate_fonts):
3887 * objects-x.c (allocate_nearest_color):
3888 * objects-x.c (x_parse_nearest_color):
3889 * objects-x.c (x_initialize_color_instance):
3890 * objects-x.c (x_print_color_instance):
3891 * objects-x.c (x_finalize_color_instance):
3892 * objects-x.c (x_valid_color_name_p):
3893 * objects-x.c (x_initialize_font_instance):
3894 * objects-x.c (x_print_font_instance):
3895 * objects-x.c (valid_x_font_name_p):
3896 * objects-x.c (truename_via_FONT_prop):
3897 * objects-x.c (truename_via_random_props):
3898 * objects-x.c (truename_via_XListFonts):
3899 * objects-x.c (x_font_truename):
3900 * objects-x.c (x_font_instance_truename):
3901 * objects-x.c (x_font_instance_properties):
3902 * objects-x.c (x_list_fonts):
3903 * objects-x.c (x_find_charset_font):
3904 Mule-ize entire file.
3911 * print.c (std_handle_out_external):
3912 * print.c (debug_print_no_newline):
3913 * print.c (syms_of_print):
3914 Output to all debugger kinds in debug-print.
3915 Fix console-output code under MSWin to actually work.
3917 * process-nt.c (send_signal):
3918 * process-nt.c (nt_create_process):
3919 Use newer Unicode macros.
3921 * process-unix.c (unix_create_process):
3922 * process-unix.c (unix_canonicalize_host_name):
3923 * process-unix.c (unix_open_network_stream):
3929 * search.c (syms_of_search):
3932 * select-msw.c (mswindows_destroy_selection):
3935 * select-x.c (symbol_to_x_atom):
3938 * select.c (syms_of_select):
3941 * sound.c (Fplay_sound_file):
3945 * specifier.c (decode_specifier_type):
3946 * specifier.c (Fvalid_specifier_locale_type_p):
3947 * specifier.c (check_valid_locale_or_locale_type):
3948 * specifier.c (decode_locale):
3949 * specifier.c (decode_locale_type):
3950 * specifier.c (decode_locale_list):
3951 * specifier.c (check_valid_domain):
3952 * specifier.c (decode_specifier_tag_set):
3953 * specifier.c (Fcanonicalize_tag_set):
3954 * specifier.c (Fdefine_specifier_tag):
3955 * specifier.c (Fspecifier_tag_predicate):
3956 * specifier.c (check_valid_inst_list):
3957 * specifier.c (check_valid_spec_list):
3958 * specifier.c (decode_how_to_add_specification):
3959 * specifier.c (check_modifiable_specifier):
3960 * specifier.c (specifier_add_spec):
3961 * specifier.c (boolean_validate):
3962 * specifier.c (display_table_validate):
3965 * specifier.c (syms_of_specifier):
3966 Move some symbols to general-slots.h.
3970 * symbols.c (Fmapatoms):
3971 * symbols.c (Fapropos_internal):
3974 * symbols.c (set_default_buffer_slot_variable):
3975 * symbols.c (set_default_console_slot_variable):
3978 * symbols.c (defsymbol_massage_name_1):
3979 * symbols.c (defkeyword_massage_name):
3980 * symbols.c (deferror_1):
3981 * symbols.c (deferror):
3982 * symbols.c (deferror_massage_name_and_message):
3984 * symeval.h (DEFSYMBOL):
3985 Support DEFSYMBOL*, DEFKEYWORD, DEFERROR
3987 * symbols.c (syms_of_symbols):
3991 * symsinit.h (init_win32): New.
3992 Also new is syms_of_dialog_mswindows.
3995 Add new Unicode macros, missing Cygwin wide-char functions,
3996 convenience conversion macros for Qmswindows_tstr, macros for
3997 encapsulating required MSWin <-> Cygwin filename conversions,
3998 prototype for dynamically-extracted (not in NT 3.51) functions.
4003 * tooltalk.c (Fadd_tooltalk_message_arg):
4004 * tooltalk.c (Fadd_tooltalk_pattern_attribute):
4005 * tooltalk.c (Fadd_tooltalk_pattern_arg):
4008 * tooltalk.c (syms_of_tooltalk):
4012 * unexnt.c (unexec):
4013 Fix up headers, declaration of unexec() to be more standard.
4015 2000-07-20 Martin Buchholz <martin@xemacs.org>
4017 * offix.h: Revert change to guard macros - they're used in offix.c!
4019 2000-07-18 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
4021 * lisp.h: Defsubred Fdelete.
4023 * console-msw.h: (msprinter_default_printer): Added.
4025 * console-msw.c (msprinter_canonicalize_console_connection):
4026 (msprinter_canonicalize_device_connection): Added.
4028 * device-msw.c (msprinter_default_printer):
4029 (Fmswingows_get_default_printer):
4030 (signal_enum_priner_error):
4031 (Fmswingows_printer_list): Added.
4033 2000-07-19 Martin Buchholz <martin@xemacs.org>
4035 * XEmacs 21.2.35 is released.
4037 2000-07-19 Martin Buchholz <martin@xemacs.org>
4039 * select-x.c (x_handle_selection_request):
4040 Text selected in xemacs and pasted into xterm failed to appear.
4041 Spelling fixes and cosmetic changes.
4043 2000-07-18 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
4045 * event-msw.c (mswindows_drain_windows_queue): Correctly check for
4046 XEmacs frame (fix for doubling chars in dialog boxes).
4048 2000-07-17 Alastair J. Houghton <ajhoughton@lineone.net>
4050 * select.c (select_convert_in, select_convert_out):
4051 Don't call intern() every time.
4053 * select.c (Qselect_convert_in, Qselect_convert_out): New.
4054 * select.c (vars_of_select): Initialise them.
4056 2000-07-18 Alastair J. Houghton <ajhoughton@lineone.net>
4058 * select.c (selection-coercible-types): New.
4060 * select.c (own-selection-internal):
4061 * select.c (get-selection-internal):
4062 MULE bug fix - these should default to COMPOUND_TEXT and not
4063 STRING for MULE. I think.
4065 * select.c (select_convert_out): Use selection-coercible-types
4066 to find types that we can attempt to perform coercions on.
4068 2000-07-18 Martin Buchholz <martin@xemacs.org>
4072 Add coding: cookie to identify encoding.
4074 * mule-canna.c (CANNA_mode_keys): make static.
4075 Use proper prototypes, even for functions of no arguments.
4076 Remove external prototype for Fding().
4078 * symsinit.h: Add missing prototype for reinit_vars_of_mule_wnn.
4080 * select.c (syms_of_select): Add missing DEFSUBR.
4082 2000-07-18 Alastair J. Houghton <ajhoughton@lineone.net>
4084 * select.c (get_selection_internal, own_selection_internal):
4085 Make the type default to STRING, rather than placing a nil type
4086 into Vselection_alist.
4088 2000-07-17 Alastair J. Houghton <ajhoughton@lineone.net>
4090 * gpmevent.c (tty_selection_exists_p):
4091 * gpmevent.c (tty_own_selection):
4092 Updated parameter lists.
4094 2000-07-15 Alastair J. Houghton <ajhoughton@lineone.net>
4096 * select.h (selection-alist): Removed declaration.
4098 * select.h (get_local_selection):
4099 * select.c (get_local_selection):
4102 * select.h (convert_selection): Removed declaration.
4103 * select.c (convert_selection): Removed.
4104 This function belongs in Lisp.
4106 * select.h (select_convert_in): Declare.
4107 * select.h (select_convert_out): Declare.
4108 * select.c (select_convert_in): New.
4109 * select.c (select_convert_out): New.
4110 New conversion functions for other files to call.
4112 * select.h (select_notify_buffer_kill): Declare.
4113 * select.c (select_notify_buffer_kill): New.
4114 New functions that get called from kill-buffer.
4116 * buffer.c (kill-buffer): Call select_notify_buffer_kill, rather than
4117 X-specific lisp code.
4119 * select.h: Declare some of the lisp-visible functions for
4122 * select.c (clean_local_selection_data): Removed. This was
4123 a disgusting function, and previously should have been in
4124 select-x.c in any case. The functionality is now provided
4125 in select-convert-from-integer (select.el).
4127 * select.c (available-selection-types): Fixed stupidity where
4128 INTEGER and ATOM got added twice. Also add STRING when we see an
4131 * select.c (get-selection-internal): Removed symbol stripping. No
4132 longer causes conversion when data comes from the internal cache.
4134 * select.c (syms_of_select): Added new functions.
4136 * select-x.c (motif_clipboard_cb): Use select_convert_out. Rewrote
4137 error checking - previously this called abort!
4139 * select-x.c (x_own_selection): Changed comment.
4141 * select-x.c (x_handle_selection_request): Use select_convert_out.
4142 Don't mess with selection-alist; it's an internal variable of select.c.
4144 * select-x.c (x_get_foreign_selection): Use select_convert_in.
4146 * select-x.c (x_handle_selection_clear): Use get-selection-timestamp,
4147 rather than messing with selection-alist.
4149 * select-msw.c (mswindows_get_foreign_selection):
4150 Use TO_INTERNAL_FORMAT rather than hacking.
4152 2000-07-14 Martin Buchholz <martin@xemacs.org>
4154 * process-unix.c (unix_open_multicast_group):
4155 (unix_open_multicast_group): Remove useless casts.
4157 2000-07-13 Martin Buchholz <martin@xemacs.org>
4159 * sound.c (Fplay_sound): Fix `unused variable' warning.
4161 * emacs.c (main): Use correct type for _environ on SCO5.
4163 2000-07-12 Alastair J. Houghton <ajhoughton@lineone.net>
4165 * console.h (own_selection_method):
4166 * console.h (selection_exists_p_method):
4167 * console.h (available_selection_types_method): New.
4168 * console.h (register_selection_data_type_method): New.
4169 * console.h (selection_data_type_name): New.
4171 * console-msw.h (mswindows_destroy_selection): Declare it. New
4172 function & alist to track GlobalAlloc()'d handles that need
4173 releasing when the clipboard data gets replaced or emptied.
4175 * event-msw.c (mswindows_wnd_proc): Call it.
4177 * lisp.h, general.c (Qappend): New symbol representing a
4180 * select.c (own-selection-internal):
4181 * select.c (selection-exists-p):
4182 * select.c (available-selection-types): New.
4183 * select.c (register-selection-data-type): New.
4184 * select.c (selection-data-type-name): New. New functions to deal
4185 with device-specific selection data formats.
4186 * select.c (selection-converter-out-alist): Renamed.
4187 * select.c (selection-converter-in-alist): New.
4188 * select.c (selection-appender-alist): New. Added new alists.
4189 * select.c (syms_of_select, vars_of_select): Added new symbols &
4191 * select.c (get_local_selection): Split.
4192 * select.c: Removed spurious type checking - selections may now be
4193 of any type, not just strings.
4194 * select.c (own-selection-internal):
4196 * select.h, select.c (convert_selection): New. Created
4197 convert_selection() function based on get_local_selection().
4198 * select.h, select.c (QCF_*): New symbols representing mswindows
4200 * select.h, select.c (Qreplace_all, Qreplace_existing): New
4201 symbols representing `how-to-add' modes.
4203 * select-msw.c (x_sym_p): New.
4204 * select-msw.c (symbol_to_ms_cf): New.
4205 * select-msw.c (ms_cf_to_symbol): New. New functions to deal with
4206 symbols & clipboard formats. Can also handle string names.
4207 * select-msw.c (mswindows_own_selection):
4208 * select-msw.c (mswindows_selection_exists_p):
4209 Added `data-type' parameter. Use it.
4210 * select-msw.c (mswindows_available_selection_types): New.
4211 * select-msw.c (mswindows_register_selection_data_type): New.
4212 * select-msw.c (mswindows_selection_data_type_name): New.
4213 * select-msw.c (mswindows_own_selection):
4214 * select-msw.c (mswindows_get_foreign_selection):
4215 * select-msw.c (mswindows_selection_exists_p): Rewrote.
4216 * select-msw.c (console_create_select_mswindows): Added new methods.
4217 * select-msw.c (mswindows_destroy_selection): New.
4218 * select-msw.c (Vhandle_alist): New list.
4219 * select-msw.c (mswindows_own_selection):
4221 * select-x.c (x_own_selection):
4222 * select-x.c (x_selection_exists_p):
4223 * select-x.c: Added some comments about maybe using new
4225 * select-x.c (x_own_selection):
4227 * specifier.c: Remove definition of Qappend (now in general.c)
4228 * specifier.c (syms_of_specifier): Remove Qappend.
4230 2000-07-12 Martin Buchholz <martin@xemacs.org>
4232 * config.h.in: Add socklen_t.
4234 * s/decosf4-0.h: No special compiler flags needed or desired.
4235 In particular, undefine _BSD for DEC OSF 4.0.
4237 2000-07-07 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
4239 * redisplay-msw.c (msprinter_frame_output_end): Added.
4240 (console_type_create_redisplay_mswindows): Referred the above.
4242 * frame.c (setup_frame_without_minibuffer): Do not create a
4243 default minibuffer frame on a printer device.
4245 * frame-msw.c (apply_dc_geometry): Added.
4246 (msprinter_start_page):
4247 (msprinter_init_frame_3):
4248 (msprinter_eject_page): Use it.
4250 * console-msw.h (struct msprinter_frame): Added pix_left and top,
4251 and removed residual duplex and orientation properties.
4253 2000-07-11 Martin Buchholz <martin@xemacs.org>
4255 * eval.c (function_argcount): Work around a DEC CC compiler bug.
4257 * unexalpha.c: Remove system prototypes from C sources!
4259 2000-07-09 Adrian Aichner <aichner@ecf.teradyne.com>
4261 * eval.c: Remove references to M-x edit-options in DEFUNs for
4262 `defvar' and `defconst'.
4264 2000-07-09 Martin Buchholz <martin@xemacs.org>
4266 * config.h.in: Remove SMART_INCLUDE hackery.
4269 * config.h.in: Don't use SMART_INCLUDE.
4271 * postgresql.h: Include libpq-fe.h here. Fix typo.
4272 * inline.c: Simply #include "postgresql.h"
4274 - Don't use SMART_INCLUDE
4275 - Use simply "const".
4276 - Use standard doc string conventions.
4277 - Use correct type for result of PQstatus.
4279 2000-07-09 Martin Buchholz <martin@xemacs.org>
4281 * glyphs-x.c (x_xface_instantiate): Fix C++ compilation warnings.
4283 C++ compilation changes.
4284 * config.h.in (EXTERN_C): Define.
4285 * config.h.in (not): This is also a C++ keyword.
4286 * unexalpha.c (DEFAULT_ENTRY_ADDRESS): Enable C++ compilation.
4287 * cm.c: Use EXTERN_C.
4288 * redisplay-tty.c: Use EXTERN_C.
4289 * sysdep.c: Use EXTERN_C. Remove Gould support.
4291 2000-07-09 Martin Buchholz <martin@xemacs.org>
4293 * general.c: Remove duplicate definition for Qfunction.
4295 2000-07-08 Ben Wing <ben@xemacs.org>
4297 * device-msw.c (msprinter_init_device):
4298 * device-msw.c (sync_printer_with_devmode):
4299 * device-msw.c (handle_devmode_changes):
4300 * device-msw.c (print_dialog_worker):
4301 * device-msw.c (Fmsprinter_apply_settings):
4302 * device-msw.c (hash_devmode):
4303 * device-msw.c (Fmsprinter_settings_despecialize):
4304 use Qmswindows_tstr, not Qctext.
4306 * vm-limit.c (check_memory_limits):
4307 avoid infinite loop printing warning messages.
4309 2000-07-05 Craig Lanning <lanning@scra.org>
4311 * Makefile.in.in: Add support for including the Windows resources
4312 when building with the cygwin and mingw targets.
4314 * buffer.c: from Dan Holmsand, on Windows $PWD is most likely either
4315 not set or not correct.
4316 (directory_is_current_directory): Don't compile for WIN32_NATIVE.
4317 (init_initial_directory): Don't try to use $PWD on the
4318 WIN32_NATIVE target.
4321 [[Add -mwindows to eliminate console window.]] not required --ben
4322 (HAVE_NATIVE_SOUND): removed; now handled by configure.
4323 (MAIL_USE_POP): removed; now handled by configure.
4325 * s\mingw32.h: [[Add -mwindows to eliminate console window.]] not in
4326 C_SWITCH_SYSTEM or it will affect lib-src progs. --ben
4327 (HAVE_NATIVE_SOUND): removed; now handled by configure.
4328 (MAIL_USE_POP): removed; now handled by configure.
4329 (ENCAPSULATE_STAT): from Dan Holmsand, added.
4330 (ENCAPSULATE_FSTAT): from Dan Holmsand, added.
4331 (DIRECTORY_SEP): from Dan Holmsand, use lisp variable instead of
4333 (HAVE_TIMEVAL): from Dan Holmsand, added; struct timeval is picked
4334 up from <winsock.h> via systime.h.
4335 (HAVE_GETPAGESIZE): from Dan Holmsand, added.
4336 (getpagesize): from Dan Holmsand, added.
4337 Added #endif which was left dangling by Ben's mega patch; added
4338 comment to help prevent this in the future.
4340 * sysdll.c: added #include <windows.h> for WIN32_NATIVE case.
4342 2000-07-05 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
4344 * console-msw.h (struct mswindows_device): Removed unnecessary
4345 cached device geometry values.
4346 Added update_tick and an accessor macro.
4347 (Lisp_Devmode): Added lrecord declaration.
4348 (struct msprinter_device): Contain devmode as a Lisp object.
4349 Added mswindows_get_selected_frame_hwnd();
4351 * console.h (struct console_methods): Indentation nitpicking.
4353 * device-msw.c (mswindows_init_device): Do not initialize geometry
4354 cache. Initialize update tick.
4355 (mswindows_device_system_metrics): Ask the device for its geometry.
4356 (global_free_2_maybe):
4357 (devmode_to_hglobal):
4358 (handle_printer_changes):
4359 (ensure_not_printing):
4360 (print_dialog_worker):
4361 (Fmsprinter_print_setup_dialog):
4362 (Fmsprinter_print_dialog):
4365 (Fmsprinter_page_setup_dialog): Added functions.
4366 (sync_printer_with_devmode):
4367 (handle_devmode_changes):
4368 (Fmsprinter_get_settings):
4369 (Fmsprinter_select_settings):
4370 (Fmsprinter_apply_settings):
4372 (Fmsprinter_settings_copy):
4373 (Fmsprinter_settings_despecialize):
4377 (hash_devmode): Added functions
4378 (syms_of_device_mswindows): Init devmode lrecord class.
4380 * device.h: Added an exfun for find-device.
4382 * event-msw.c (mswindows_wnd_proc): Do not update the cached
4383 geometry; although, recreate the device compatible DC.
4385 * frame-msw.c (mswindows_get_selected_frame_hwnd): Added.
4386 (msprinter_init_frame_3):
4387 (msprinter_frame_property):
4388 (msprinter_internal_frame_property_p):
4389 (msprinter_frame_properties):
4390 (msprinter_set_frame_properties): Removed 'orientation and 'duplex
4391 print job properties (will move to device settings).
4393 * lisp.h: Added symbols.
4395 * general.c (syms_of_general): Declared them.
4397 * hash.c (string_hash): Added.
4399 * lrecord.h (lrecord_type): Added devmode lrecord type.
4401 2000-07-02 Mike Sperber <mike@xemacs.org>
4403 * s/freebsd.h (INTERRUPTIBLE_OPEN): open *is* interruptible on
4406 2000-06-07 MORIOKA Tomohiko <tomo@etl.go.jp>
4408 * doprnt.c (emacs_doprnt_1): Fix problem with %0XXd for a negative
4411 2000-06-07 MORIOKA Tomohiko <tomo@urania.m17n.org>
4413 * data.c (Fstring_to_number): Don't recognize floating point if
4416 2000-06-22 Martin Buchholz <martin@xemacs.org>
4418 * glyphs-widget.c (tab_control_query_geometry):
4419 (widget_query_geometry):
4420 (button_query_geometry):
4421 * glyphs.c (text_query_geometry):
4422 Enforce type correctness.
4424 2000-06-18 Martin Buchholz <martin@xemacs.org>
4426 * s/decosf4-0.h (_etext): Use portable _etext instead of etext.
4427 * s/decosf4-0.h (_edata): Use portable _edata instead of edata.
4429 2000-06-17 Martin Buchholz <martin@xemacs.org>
4431 * s/decosf4-0.h: Never #include "/usr/include/FOO.h" because this
4432 conflicts with gcc's fixincluded version of FOO.h.
4434 * glyphs.h (image_instance_geometry): Remove trailing `,'
4436 2000-06-08 Mike Alexander <mta@arbortext.com>
4438 (MAX_SHOVE_BUFFER_SIZE): Change to 512 to match stream buffer size
4439 (shove_thread): Don't write the same output twice
4440 (make_ntpipe_output_stream): Increase priority of shove thread
4441 (ntpipe_shove_writer): Call SwitchToThread to give shove thread a
4443 (ntpipe_shove_closer): Don't delete the pipe until we're done with
4446 2000-06-12 Ben Wing <ben@xemacs.org>
4448 * s\mingw32.h (sigset):
4449 * s\windowsnt.h (sigset):
4450 rename msw_ to mswindows_ for consistency with general convention.
4452 2000-06-12 Ben Wing <ben@xemacs.org>
4455 * console-msw.c (mswindows_get_console_hwnd):
4456 * console-msw.c (mswindows_ensure_console_allocated):
4457 * console-msw.c (mswindows_hide_console):
4458 * console-msw.c (mswindows_show_console):
4459 * console-msw.c (mswindows_ensure_console_buffered):
4460 * console-msw.c (mswindows_output_console_string):
4461 * console-msw.c (mswindows_windows9x_p):
4463 * device-msw.c (mswindows_get_workspace_coords):
4464 * device-msw.c (mswindows_device_system_metrics):
4465 * dialog-msw.c (mswindows_popup_dialog_box):
4466 * event-msw.c (mswindows_wnd_proc):
4467 * frame-msw.c (mswindows_size_frame_internal):
4468 * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
4469 * menubar-msw.c (displayable_menu_item):
4470 * menubar-msw.c (mswindows_char_is_accelerator):
4472 * nt.c (mswindows_sigset):
4473 * nt.c (mswindows_sigrelse):
4474 * nt.c (mswindows_sigpause):
4475 * nt.c (mswindows_raise):
4476 * nt.c (timer_proc):
4478 * ntproc.c (find_child_console):
4479 * ntproc.c (sys_kill):
4481 * print.c (std_handle_out_external):
4482 * process-nt.c (find_child_console):
4483 * process-nt.c (send_signal_the_95_way):
4484 * process-nt.c (ensure_console_window_exists):
4485 * process-nt.c (nt_create_process):
4487 rename msw_ to mswindows_ for consistency with general convention.
4491 include nt.h, not syswindows.h.
4493 * nt.c (mswindows_fstat):
4494 * nt.c (mswindows_stat):
4495 prefix mswindows_ instead of attempting to directly override the
4496 library functions. fix declarations.
4499 include syswindows.h. move some sysdep.h stuff here.
4502 include syswindows.h, not <windows.h>.
4510 * sysdep.c (sys_fstat):
4511 * sysdep.c (sys_stat):
4512 call mswindows versions when appropriate.
4515 move mswin decls to nt.h.
4518 add long comment describing appropriate use of the various windows
4521 2000-06-11 Ben Wing <ben@xemacs.org>
4523 * device-x.c: Correct doc string for sixth arg of x-get-resource.
4525 2000-06-10 Ben Wing <ben@xemacs.org>
4527 * Makefile.in.in (release):
4528 Correction to make sure xemacs.exe always dumped when correct.
4532 [[[[3]]]]: Conditionalize on actual problem, not WINDOWSNT.
4534 * buffer.c (set_buffer_internal):
4535 [[[[2]]]]: Remove HAVE_FEP code.
4537 * buffer.c (init_initial_directory):
4541 [[[[4]]]]: limits.h standardly included in lisp.h; remove from
4545 * callproc.c (call_process_cleanup):
4546 * callproc.c (Fold_call_process_internal):
4547 * callproc.c (child_setup):
4548 * callproc.c (getenv_internal):
4549 * callproc.c (init_callproc):
4550 * callproc.c (vars_of_callproc):
4551 [[[[1]]]]: WINDOWSNT -> WIN32_NATIVE.
4552 __CYGWIN32__ -> CYGWIN.
4553 DOS_NT -> WIN32_NATIVE.
4554 Remove MSDOS support/references, converting to WIN32_NATIVE
4556 __MINGW32__ -> MINGW.
4557 Fix windows.h includes.
4558 Remove bogus HAVE_NTGUI.
4564 mswindows_message_outputted added for use in allowing startup
4565 errors on the console to be seen.
4567 * console-msw.c (msw_ensure_console_allocated):
4568 * console-msw.c (msw_output_console_string):
4569 * console-msw.c (DHEADER):
4570 * console-msw.c (DOPAQUE_DATA):
4571 * console-msw.c (DEVENT):
4572 * console-msw.c (DCONS):
4573 * console-msw.c (DCONSCDR):
4574 * console-msw.c (DSTRING):
4575 * console-msw.c (DVECTOR):
4576 * console-msw.c (DSYMBOL):
4577 * console-msw.c (DSYMNAME):
4580 * console-stream.c (stream_init_console):
4581 Fix text/binary problems.
4584 * device-msw.c (mswindows_finish_init_device):
4585 * device-msw.c (mswindows_delete_device):
4588 * device.c (handle_asynch_device_change):
4592 * dgif_lib.c (DGifOpenFileName):
4593 * dgif_lib.c (DGifOpenFileHandle):
4594 * dgif_lib.c (DGifGetLine):
4595 * dgif_lib.c (DGifGetPixel):
4596 Added config.h/lisp.h, fix up includes.
4603 * dired.c (file_name_completion):
4604 * dired.c (Ffile_attributes):
4605 * dired.c (syms_of_dired):
4609 * dumper.c (pdump_file_unmap):
4610 * dumper.c (pdump_load):
4614 * editfns.c (Ftemp_directory):
4615 * editfns.c (user_login_name):
4616 * editfns.c (Fuser_real_login_name):
4617 * editfns.c (get_home_directory):
4620 * elhash.c (finish_marking_weak_hash_tables):
4621 [[[[5]]]]: Fix GCC warnings.
4624 * emacs.c (mswindows_handle_hardware_exceptions):
4625 * emacs.c (make_arg_list_1):
4627 * emacs.c (Fkill_emacs):
4628 * emacs.c (Fdump_emacs):
4630 Fix problems with nested crashes, add long comment.
4632 * event-Xt.c (init_event_Xt_late):
4636 * event-msw.c (mswindows_dde_callback):
4637 * event-msw.c (mswindows_handle_sticky_modifiers):
4638 * event-msw.c (mswindows_wnd_proc):
4642 * events.c (character_to_event):
4646 * fileio.c (Ffile_name_directory):
4647 * fileio.c (Ffile_name_nondirectory):
4648 * fileio.c (directory_file_name):
4649 * fileio.c (Fexpand_file_name):
4650 * fileio.c (Fsubstitute_in_file_name):
4651 * fileio.c (Ffile_name_absolute_p):
4652 * fileio.c (check_executable):
4653 * fileio.c (Ffile_readable_p):
4654 * fileio.c (Ffile_accessible_directory_p):
4655 * fileio.c (Ffile_modes):
4656 * fileio.c (Funix_sync):
4657 * fileio.c (vars_of_fileio):
4660 [[[[7]]]]: Move CORRECT_DIR_SEPS to s\windowsnt.h.
4662 Expand getdefdir defn.
4663 Fix bogus rename() comment.
4665 [[[[6]]]]: Fix Windows includes w.r.t. removed nt\inc. Attempt
4666 to use standard XEmacs include files, e.g. sysfile.h, rather
4667 than system-specific includes.
4673 * frame.c (vars_of_frame):
4677 * getloadavg.c (getloadavg):
4679 #ifdef XEMACS not defined on Cygwin. Remove this; no need for it.
4680 (We don't use it elsewhere in the code; just add a comment.)
4687 * glyphs-msw.c (mswindows_resource_instantiate):
4690 * glyphs-x.c (x_native_layout_instantiate):
4693 * gui-msw.c (Fmswindows_shell_execute):
4702 * lread.c (locate_file_in_directory_mapper):
4709 * mem-limits.h (get_lim_data):
4721 * nt.c (rva_to_section):
4722 * nt.c (mswindows_executable_type):
4724 Fix closedir() defn.
4727 [[[[8]]]]: *_OK defs moved to sysfile.h.
4736 * print.c (std_handle_out_external):
4740 * process-nt.c (nt_create_process):
4742 try to fix process quoting somewhat.
4744 * process-unix.c (unix_create_process):
4748 * process.c (vars_of_process):
4755 * realpath.c (xrealpath):
4758 * redisplay-tty.c (init_tty_for_redisplay):
4768 * sheap.c (more_static_core):
4769 * sheap.c (report_sheap_usage):
4773 * signal.c (alarm_signal):
4780 * strftime.c (zone_name):
4783 * symsinit.h (init_sunpro):
4787 commctrl.h not in Cygwin b20.1.
4791 * sysdep.c (sys_subshell):
4792 * sysdep.c (init_baud_rate):
4793 * sysdep.c (emacs_get_tty):
4794 * sysdep.c (emacs_set_tty):
4795 * sysdep.c (tty_init_sys_modes_on_device):
4796 * sysdep.c (init_system_name):
4797 * sysdep.c (sys_open):
4798 * sysdep.c (interruptible_open):
4799 * sysdep.c (sys_fopen):
4800 * sysdep.c (sys_mkdir):
4801 * sysdep.c (sys_rename):
4802 * sysdep.c (get_process_times_1):
4809 * sysdir.h (DIRENTRY_NONEMPTY):
4812 * sysdll.c (dll_init):
4818 added text/binary defs.
4824 * sysproc.h (EDESTADDRREQ):
4825 * sysproc.h (poll_fds_for_input):
4842 Always define WIN32_LEAN_AND_MEAN.
4844 * unexcw.c (unexec):
4848 * unexec.c (copy_text_and_data):
4849 * unexec.c (adjust_lnnoptrs):
4853 * unexnt.c (_start):
4856 2000-06-07 Ben Wing <ben@xemacs.org>
4858 * mule-mcpath.c, mule-mcpath.h: Removed. Old, crufty code that
4859 was used only as a model. We've long since extracted any useful
4860 logic or code out of this. (I just did an exhaustive search.)
4862 * s\msdos.h: Removed.
4864 * s\windows95.h: Removed.
4866 2000-06-10 Ben Wing <ben@xemacs.org>
4870 Don't use extern with fun defs.
4874 Remove nt\inc include.
4875 Remove getdisk, getdefdir. (The former is unused, the latter
4876 expanded in fileio.h.)
4879 * s\windowsnt.h (WIN32_NATIVE):
4880 * s\windowsnt.h (HAVE_STRCASECMP):
4882 Add long comment about preprocessor changes.
4883 Remove getdisk, getdefdir. (The former is unused, the latter
4884 expanded in fileio.h.)
4886 2000-06-10 Ben Wing <ben@xemacs.org>
4895 Remove bogus/unused NO_SOCK_SIGIO.
4897 2000-06-08 Hrvoje Niksic <hniksic@iskon.hr>
4899 * lisp.h (set_string_char): Call set_string_byte with a Bufbyte,
4902 2000-06-04 Mike Sperber <mike@xemacs.org>
4904 * casetab.c (set_case_table): For `set-standard-case-table',
4905 actually deposit the new case tables where the rest of XEmacs can
4908 2000-06-05 Yoshiki Hayashi <yoshiki@xemacs.org>
4910 * data.c (Faset): Don't cast XCHAR() to unsigned char.
4912 2000-06-05 Ben Wing <ben@xemacs.org>
4914 * callproc.c (child_setup): Don't do close_load_descs() under
4915 MS Windows. Put in a comment explaining why.
4917 2000-05-28 Adrian Aichner <aichner@ecf.teradyne.com>
4919 * process-nt.c: Reverting patch "Fixing nt_create_process for MKS
4920 Toolkit shell" which breaks `kill-compilation' on Windows NT
4921 native, retaining STDERR handling improvements.
4923 2000-06-01 Andreas Jaeger <aj@suse.de>
4925 * s/s390.h: Support for S390, based on a patch by Martin
4926 Schwidefsky <schwidefsky@de.ibm.com>.
4928 2000-05-30 Andy Piper <andy@xemacs.org>
4930 * window.c (allocate_window):
4931 (make_dummy_parent):
4932 (Fset_window_configuration): use new hashtable type.
4934 * glyphs.h (IMAGE_UNSPECIFIED_GEOMETRY):
4935 (struct image_instantiator_methods):
4936 (struct Lisp_Image_Instance): make instance geometry signed.
4938 * glyphs.c (instantiate_image_instantiator):
4939 (image_instance_query_geometry):
4940 (image_instance_layout):
4941 (image_instance_layout):
4942 (query_string_geometry):
4943 (text_query_geometry):
4944 (image_instantiate):
4945 (image_instantiate):
4946 (cache_subwindow_instance_in_frame_maybe):
4947 (subwindow_query_geometry): make instance geometry signed.
4949 * glyphs-widget.c (widget_query_geometry):
4951 (button_query_geometry):
4952 (tree_view_query_geometry):
4953 (tab_control_query_geometry):
4954 (layout_query_geometry):
4956 (native_layout_layout): make instance geometry signed.
4958 2000-05-29 Olivier Galibert <galibert@pobox.com>
4960 * lisp.h: Add Qfull_assoc symbol and WEAK_LIST_FULL_ASSOC
4963 * general.c (syms_of_general): Add Qfull_assoc symbol.
4965 * data.c (finish_marking_weak_lists): Mark full-assoc lists
4967 (decode_weak_list_type): Decode full-assoc type.
4968 (encode_weak_list_type): Encode full-assoc type.
4969 (Fmake_weak_list): Update doc string.
4971 2000-05-30 Andy Piper <andy@xemacs.org>
4973 * elhash.h (hash_table_weakness): new KEY_VALUE weak hashtable.
4975 * elhash.c (print_hash_table): new KEY_VALUE weak hashtable.
4976 (decode_hash_table_weakness): ditto.
4977 (Fhash_table_weakness): ditto.
4978 (Fhash_table_type): ditto.
4979 (finish_marking_weak_hash_tables): ditto.
4980 (hash_table_weakness_validate): ditto.
4981 (syms_of_elhash): ditto.
4983 2000-05-28 Martin Buchholz <martin@xemacs.org>
4985 * XEmacs 21.2.34 is released.
4987 2000-05-22 Jan Vroonhof <vroonhof@math.ethz.ch>
4989 * redisplay.c (VERTICAL_CLIP): No longer reset when updating line
4991 (updating_line_start_cache): Gone.
4992 (regenerate_window): Replace resetting of VERTICAL_CLIP by
4993 generic code to force a minimum of 1 line laid out in the
4996 2000-05-22 Jan Vroonhof <vroonhof@math.ethz.ch>
4998 * glyphs.c (instantiate_image_instantiator): Check for initialized
4999 height & width no longer special cases IMAGE_NOTHING.
5000 (nothing_instantiate): Set height and width of instance.
5002 2000-05-24 Yoshiki Hayashi <yoshiki@xemacs.org>
5004 * unexelf.c (unexec): Search for ".data" section.
5005 Initialize new_data2_offset from old_data_index.
5006 Remove redundant check for ElfW.
5008 2000-05-23 Andy Piper <andy@xemacs.org>
5010 * glyphs.c (get_image_instantiator_governing_domain): allow more
5011 specific domains as the governing domain rather than expecting an
5012 exact match. This fixes problems with layouts.
5014 2000-05-22 Andy Piper <andy@xemacs.org>
5016 * redisplay-output.c (compare_runes): check for non-images
5018 * glyphs.c (set_glyph_dirty_p): ditto.
5019 (update_glyph_cachel_data): ditto.
5021 * glyphs-widget.c (layout_post_instantiate): ditto.
5022 (layout_post_instantiate): ditto.
5024 * event-msw.c (mswindows_wnd_proc): warning removal.
5026 2000-05-12 Craig Lanning <CraigL@DyCon.com>
5028 * s\mingw32.h: Added #undef for CLASH_DETECTION.
5030 * syswindows.h: Moved PBS_SMOOTH definition to syscommctrl.h.
5032 * syscommctrl.h (PBS_SMOOTH): Moved from syswindows.h.
5034 * nt.c (rva_to_section): mingw32 needs rva_to_section.
5035 (mswindows_executable_type): mingw32 now has enough headers for
5038 2000-05-20 Andy Piper <andy@xemacs.org>
5040 * console-msw.c (mswindows_output_last_error): ; -> ,
5042 2000-05-12 Andy Piper <andy@xemacs.org>
5044 * console-msw.c (FROB): compare ints with ints.
5046 2000-05-11 Andy Piper <andy@xemacs.org>
5048 * glyphs-x.c (x_finalize_image_instance): make minimal build
5051 2000-05-20 Ben Wing <ben@xemacs.org>
5054 * event-Xt.c (vars_of_event_Xt):
5055 move modifier-keys-are-sticky to event-stream.c.
5058 * event-msw.c (mswindows_enqueue_mouse_button_event):
5059 * event-msw.c (key_needs_default_processing_p):
5060 * event-msw.c (XEMSW_LCONTROL):
5061 * event-msw.c (mswindows_handle_sticky_modifiers):
5062 * event-msw.c (FROB):
5063 * event-msw.c (clear_sticky_modifiers):
5064 * event-msw.c (output_modifier_keyboard_state):
5065 * event-msw.c (output_alt_keyboard_state):
5066 * event-msw.c (mswindows_wnd_proc):
5067 * event-msw.c (mswindows_modifier_state):
5068 * event-msw.c (emacs_mswindows_handle_magic_event):
5069 implement sticky modifiers.
5072 * event-stream.c (vars_of_event_stream):
5073 move modifier-keys-are-sticky here.
5079 implement map-range-table.
5082 2000-05-17 Yoshiki Hayashi <yoshiki@xemacs.org>
5084 * redisplay-tty.c (reset_tty_modes):
5085 (tty_redisplay_shutdown): Adjust argument type to
5086 tty_frame_output_end.
5088 2000-05-11 Yoshiki Hayashi <yoshiki@xemacs.org>
5090 * eval.c (Fbacktrace): Don't output a line with only right
5093 2000-05-17 Kenji Itoh <keit@tpj.co.jp>
5095 * postgresql.c (Fpq_connect_poll): Replace `PS' with `polling_status'.
5096 (Fpq_reset_poll): Ditto.
5098 2000-05-16 Katsumi Yamaoka <yamaoka@jpl.org>
5100 * redisplay-tty.c: Replace tty_output_end with tty_frame_output_end.
5102 2000-05-16 Ben Wing <ben@xemacs.org>
5105 * buffer.c (dfc_convert_to/from_internal_format):
5106 * buffer.c (reinit_vars_of_buffer):
5107 Fix conversion functions to allow reentrancy.
5110 * console-msw.c (mswindows_output_last_error):
5111 New fun, generally useful -- output a human-readable
5112 version of GetLastError() on the console.
5115 * console-msw.h (struct mswindows_frame):
5116 Changes for DeferWindowPos. Declare mswindows_output_last_error().
5118 * console-stream.c (stream_output_begin):
5119 * console-stream.c (stream_output_end):
5120 * console-stream.c (stream_output_vertical_divider):
5121 * console-stream.c (stream_clear_region):
5122 * console-stream.c (stream_flash):
5123 * console-stream.c (console_type_create_stream):
5124 Delete blank stream methods, not needed.
5126 * console.h (struct console_methods):
5127 Split begin/end methods into window and frame.
5130 * event-msw.c (mswindows_handle_paint):
5131 * event-msw.c (output_alt_keyboard_state):
5132 * event-msw.c (mswindows_wnd_proc):
5133 * event-msw.c (vars_of_event_mswindows):
5134 Comment about problems with ignored-expose.
5135 Define mswindows-debug-events; not really implemented.
5137 * frame-msw.c (mswindows_init_frame_1):
5141 * glyphs-msw.c (begin_defer_window_pos):
5142 * glyphs-msw.c (mswindows_unmap_subwindow):
5143 * glyphs-msw.c (mswindows_map_subwindow):
5144 * glyphs-msw.c (mswindows_resize_subwindow):
5145 Use DeferWindowPos to reduce flashing when mapping/unmapping.
5147 * glyphs.c (make_image_instance_1):
5150 * gutter.c (Fredisplay_gutter_area):
5151 Use new begin/end methods.
5153 * lisp.h (Dynarr_new2):
5157 * redisplay-msw.c (mswindows_frame_output_begin):
5158 * redisplay-msw.c (mswindows_frame_output_end):
5159 * redisplay-msw.c (console_type_create_redisplay_mswindows):
5160 New begin/end methods -- handle DeferWindowPos.
5162 * redisplay-output.c (redisplay_move_cursor):
5163 * redisplay-output.c (redraw_cursor_in_window):
5164 * redisplay-output.c (redisplay_update_line):
5165 * redisplay-output.c (redisplay_output_window):
5166 New begin/end methods.
5169 * redisplay-tty.c (tty_frame_output_begin):
5170 * redisplay-tty.c (tty_frame_output_end):
5171 * redisplay-tty.c (console_type_create_redisplay_tty):
5172 New begin/end methods.
5175 * redisplay-x.c (x_window_output_begin):
5176 * redisplay-x.c (x_window_output_end):
5177 * redisplay-x.c (console_type_create_redisplay_x):
5178 New begin/end methods.
5180 * redisplay.c (redisplay_frame):
5181 * redisplay.c (Fredisplay_echo_area):
5182 New begin/end methods.
5183 use MAYBE_DEVMETH for clear_frame; it may not exist.
5185 * window.h (WINDOW_XFRAME):
5186 WINDOW_XFOO macros -- get locale and decode struct pointer.
5189 2000-05-12 Ben Wing <ben@xemacs.org>
5192 * emacs.c (ensure_no_quitting_from_now_on):
5193 * emacs.c (fatal_error_signal):
5194 * emacs.c (mswindows_handle_hardware_exceptions):
5196 * emacs.c (Fkill_emacs):
5197 * emacs.c (shut_down_emacs):
5198 * emacs.c (assert_failed):
5199 various improvements in fatal error handling.
5202 move preparing_for_armageddon to emacs.c.
5205 declare fatal_error_in_progress.
5208 * print.c (std_handle_out_external):
5209 * print.c (std_handle_out_va):
5210 * print.c (stderr_out):
5211 * print.c (stdout_out):
5212 use console under mswin when no standard output.
5213 don't do code conversion during fatal error.
5215 * scrollbar.c (Fscrollbar_page_up):
5216 * scrollbar.c (Fscrollbar_page_down):
5217 fix missing else. reindent.
5219 2000-05-11 Jan Vroonhof <vroonhof@math.ethz.ch>
5223 * glyphs.h (GLYPH_CACHEL_DESCENT):
5224 (GLYPH_CACHEL_DESCENT):
5225 (GLYPH_CACHEL_DESCENT):
5226 * glyphs.h (GLYPH_CACHEL_ASCENT): Match parameters to variables
5227 used in case these are inline functions.
5228 Use more absurd values to error check.
5230 include window.h for error check functions.
5232 2000-05-11 Ben Wing <ben@xemacs.org>
5234 * cmdloop.c (Freally_early_error_handler):
5235 Display message box under windows; otherwise, message will disappear
5236 before it can be viewed.
5239 * console-msw.c (Fmswindows_message_box):
5240 * console-msw.c (FROB):
5241 * console-msw.c (syms_of_console_mswindows):
5242 Define new fun `mswindows-message-box'.
5243 #### I will merge this into `popup-dialog-box'; just give me
5247 * general.c (syms_of_general):
5248 Some new symbols used in `mswindows-message-box'.
5251 * glyphs.c (Fset_image_instance_property):
5252 put warning in this fun.
5255 * glyphs.h (GLYPH_CACHEL_WIDTH):
5256 * glyphs.h (GLYPH_CACHEL_ASCENT):
5257 * glyphs.h (GLYPH_CACHEL):
5258 * glyphs.h (GLYPH_CACHEL_GLYPH):
5259 define error-checking versions to try to catch a bug i've seen --
5260 redisplay gets in an infinite loop because the glyph width of the
5261 continuation glyph is 65535.
5264 Extern message-box stuff.
5266 * window.c (allocate_window):
5267 * window.c (make_dummy_parent):
5268 * window.c (Fset_window_configuration):
5269 Use EQUAL not EQ for subwindow caches to make them work a bit
5270 better. (Something is still very broken.)
5273 2000-05-11 Yoshiki Hayashi <yoshiki@xemacs.org>
5275 * glyphs.c (image_instantiate): Suppress gcc warnings.
5276 (Fmake_image_instance): Fix doc string.
5277 * specifier.c (Fmake_specifier): Ditto.
5279 2000-05-02 Yoshiki Hayashi <yoshiki@xemacs.org>
5281 * paths.h.in (PATH_LOCK): Removed.
5282 * config.h.in (LOCKDIR_USER_DEFINED): Removed.
5283 * emacs.c (complex_vars_of_emacs): Remove configure-lock-directory.
5285 2000-05-08 Yoshiki Hayashi <yoshiki@xemacs.org>
5287 * fns.c (Ffeaturep): Update e-mail address in doc-string.
5288 Document (featurep '(and xemacs 21.02)).
5290 2000-05-09 Ben Wing <ben@xemacs.org>
5292 * buffer.c (complex_vars_of_buffer):
5293 update modeline-format doc.
5296 comment about how DFW_DEVICE should be merged with DOMAIN_DEVICE.
5299 timeline of all released versions of Emacs, for use in creating
5300 authorship comments and in synching up.
5302 * glyphs-widget.c (image_instantiator_buttons):
5303 * glyphs-widget.c (image_instantiator_edit_fields):
5304 * glyphs-widget.c (image_instantiator_combo_box):
5305 * glyphs-widget.c (image_instantiator_scrollbar):
5306 * glyphs-widget.c (image_instantiator_progress_guage):
5307 * glyphs-widget.c (image_instantiator_tree_view):
5308 * glyphs-widget.c (image_instantiator_tab_control):
5309 * glyphs-widget.c (image_instantiator_labels):
5310 * glyphs-widget.c (image_instantiator_layout):
5311 * glyphs-widget.c (image_instantiator_native_layout):
5312 rename decode_domain method to governing_domain.
5315 * glyphs.c (Fvalid_image_instantiator_format_p): doc update.
5316 * glyphs.c (add_entry_to_device_ii_format_list):
5317 make sure we don't put an entry more than once into the list.
5318 * glyphs.c (check_instance_cache_mapper):
5319 *************************************************************
5320 allow for nil. THIS SHOULD FIX A REAL CRASH THAT MANY PEOPLE
5322 *************************************************************
5323 * glyphs.c (get_image_instantiator_governing_domain):
5324 clean up, expand on new concept of governing domain.
5325 * glyphs.c (instantiate_image_instantiator):
5326 * glyphs.c (allocate_image_instance):
5327 use governing_domain instead of cache_domain in naming.
5328 * glyphs.c (Fvalid_image_instance_type_p): fix docs.
5329 * glyphs.c (make_image_instance_1):
5330 * glyphs.c (Fmake_image_instance):
5331 allow for any domain (not just device), and process the
5332 governing domain correctly. very big doc fix.
5333 * glyphs.c (Fimage_instance_domain):
5334 new primitive, to retrieve the governing domain of an image instance.
5335 * glyphs.c (image_instantiate):
5336 use new governing_domain stuff. this fixes a crash you could get
5337 by instantiating certain widget glyphs in frame locales. (should
5338 signal an error instead of crashing.)
5339 * glyphs.c (Fimage_specifier_p): move doc to make-image-specifier.
5340 * glyphs.c (Fglyphp): clean up doc.
5341 * glyphs.c (subwindow_governing_domain): renamed from *_decode_domain.
5342 * glyphs.c (syms_of_glyphs):
5343 declare Fimage_instance_domain, remove unused Qlayout_image_instance_p.
5344 * glyphs.c (image_instantiator_format_create): add some comments about
5346 * glyphs.c (specifier_vars_of_glyphs): totally rewrite the doc string
5347 for current-display-table. (Apparently Hrjove implemented in 1998 a
5348 design I wrote up in 1996, but didn't update the doc string.)
5350 * glyphs.h: clean up a doc string.
5351 * glyphs.h (governing_domain):
5352 * glyphs.h (struct image_instantiator_methods):
5353 changes for governing_domain stuff.
5356 * gutter.c (Fgutter_specifier_p):
5357 * gutter.c (Fgutter_size_specifier_p):
5358 * gutter.c (Fgutter_visible_specifier_p):
5360 * objects.c (Fcolor_specifier_p):
5361 * objects.c (Ffont_specifier_p):
5362 * objects.c (Fface_boolean_specifier_p):
5363 doc strings moved to make-*-specifier.
5365 * redisplay.c (add_disp_table_entry_runes_1):
5366 * redisplay.c (generate_fstring_runes):
5367 * redisplay.c (screen):
5368 add random comments and doc strings.
5371 * specifier.c (Fmake_specifier):
5372 major overhaul of this doc string.
5374 * specifier.c (Fvalid_specifier_domain_p):
5375 comment about the bogosity of image instances being domains.
5376 * specifier.c (decode_domain):
5377 now non-static, used in glyphs.c.
5378 * specifier.c (specifier_instance):
5379 comment about the bogosity of image instances being domains.
5380 * specifier.c (Fgeneric_specifier_p):
5381 move doc string to make-generic-specifier.
5382 * specifier.c (VALID_SINGLE_DISPTABLE_INSTANTIATOR_P):
5386 * specifier.h (DOMAIN_FRAME):
5387 * specifier.h (DOMAIN_LIVE_P):
5388 * specifier.h (DOMAIN_XDEVICE):
5390 add comments about problems with these macros.
5391 prototype for decode_domain.
5394 * toolbar.c (Ftoolbar_specifier_p):
5395 move doc string to `make-toolbar-specifier'.
5397 * window.c (window_unmap_subwindows_cache_mapper):
5398 *************************************************************
5399 allow for nil. THIS SHOULD FIX A REAL CRASH THAT MANY PEOPLE
5401 *************************************************************
5403 2000-05-09 Andy Piper <andy@xemacs.org>
5405 * glyphs.h: declare reset_frame_subwindow_instance_cache.
5407 * window.c (Fset_window_configuration): reset the frame subwindow
5408 cache and re-initialize the window subwindow caches.
5410 * glyphs.c (reset_frame_subwindow_instance_cache): new function.
5412 2000-05-09 Ben Wing <ben@xemacs.org>
5414 * ntheap.c (recreate_heap): Changed unknown (VC6 only?) SIZE_T to
5417 2000-04-26 Mike Woolley <mike@bulsara.com>
5419 * ntheap.c: Changed recreate_heap to limit the amount reserved
5420 for the heap to that which is actually available. Also now
5421 displays a message box (with some dignostics) in the event that
5422 it still can't start.
5424 2000-05-07 Jan Vroonhof <vroonhof@math.ethz.ch>
5426 * callproc.c (Fold_call_process_internal): GCPRO path
5428 2000-05-08 Jan Vroonhof <jan@xemacs.org>
5430 Patch by Bill Perry.
5432 * scrollbar.c (Fscrollbar_page_up): Conditionalize on type of call
5433 back data instead of #ifdef.
5434 (Fscrollbar_page_down): ditto.
5436 2000-05-07 Ben Wing <ben@xemacs.org>
5439 Kludge for defining Qmswindows_tstr.
5442 * nt.c (open_input_file):
5443 * nt.c (open_output_file):
5444 * nt.c (rva_to_section):
5445 * nt.c (mswindows_executable_type):
5446 Move all memory-mapped-file routines here (some were in unexnt.c,
5447 which is bad because they are used by process-nt.c, and unexnt
5448 won't be around when portable dumping). Synched the above routines
5452 Removed ifdef'd out bogus code.
5453 Fixed some prototypes.
5456 * nt.h (OFFSET_TO_RVA):
5457 * nt.h (RVA_TO_OFFSET):
5458 * nt.h (RVA_TO_PTR):
5459 Moved the memory-mapped-file structures, macros and prototypes
5460 here, to parallel nt.c. ntheap.h should really be removed
5461 entirely, and it's a non-portable-dumper specific file.
5463 * ntheap.h (round_to_next):
5464 Moved the memory-mapped-file structures, macros and prototypes
5467 * ntproc.c (compare_env):
5468 Moved rva_to_section and mswindows_executable_type to nt.c.
5469 Moved compare_env to process-nt.c.
5470 ntproc.c will die, one day.
5472 * ntproc.c (sys_spawnve):
5473 Account for win32_ -> mswindows_.
5476 * process-nt.c (struct nt_process_data):
5477 * process-nt.c (ensure_console_window_exists):
5478 * process-nt.c (compare_env):
5479 * process-nt.c (nt_create_process):
5480 * process-nt.c (nt_kill_process_by_pid):
5481 * process-nt.c (syms_of_process_nt):
5482 * process-nt.c (vars_of_process_nt):
5483 Introduce variable `mswindows-quote-process-args', from FSF 20.6.
5484 Copy argument quoting code from FSF 20.6 (with appropriate Mule-ization
5485 changes). Eliminate our old `nt-quote-process-args' mechanism.
5486 Synch up nt_create_process with FSF 20.6 sys_spawnve.
5487 Move compare_env here from ntproc.c.
5489 * process.c (Fprocess_send_region):
5490 Takes an optional fourth argument, BUFFER, which should fix some
5491 problems with call-process.
5494 Move ICC_BAR_CLASSES here from syswindows.h, to avoid a warning.
5497 Move ICC_BAR_CLASSES to syscommctrl.h.
5498 Add preliminary macros for MSWindows/Mule. More to come.
5501 * unexnt.c (unexec):
5502 open_output_file moved to nt.c.
5505 2000-05-05 Andy Piper <andy@xemacs.org>
5507 * window.c (window_unmap_subwindows_cache_mapper): remove the dead
5508 instance from the frame cache also since GC may catch up too late
5509 to make frame deletion sane.
5511 2000-05-04 Andy Piper <andy@xemacs.org>
5513 * glyphs-x.c (x_widget_instantiate): gcpro widget callbacks.
5514 (x_finalize_image_instance): ungcpro on deletion.
5516 * glyphs.c (image_instantiator_format_create): give pointers a
5517 query geometry method so that the geometry is at least set.
5519 * glyphs-x.c (image_instantiator_format_create_glyphs_x): only
5520 initialize layouts if using widgets.
5522 2000-05-03 Andy Piper <andy@xemacs.org>
5524 * nt.c: remove bogus reference to sysmmsystem.h
5526 * gui-x.c (popup_selection_callback): fix no selection abort.
5528 2000-05-02 Andy Piper <andy@xemacs.org>
5530 * glyphs-msw.c (mswindows_update_widget): cope with nil text.
5531 (mswindows_widget_instantiate): ditto.
5533 * glyphs-widget.c (initialize_widget_image_instance): initialize
5535 (widget_instantiate): cope with children and items in the same
5538 * glyphs.c (mark_image_instance): cope with children as a first
5540 (image_instance_equal): ditto.
5541 (image_instance_hash): ditto.
5542 (image_instance_changed): ditto.
5544 2000-04-30 Andy Piper <andy@xemacs.org>
5546 * glyphs.c (subwindow_query_geometry): new function. Return some
5548 (subwindow_instantiate): don't assign dimensions if none have been
5550 (image_instantiator_format_create): add subwindow_query_geometry.
5551 (print_image_instance): cope with layouts as widgets.
5553 2000-04-29 Andy Piper <andy@xemacs.org>
5555 * frame.c (delete_frame_internal): call
5556 free_frame_subwindow_instance_cache so that all subwindows are
5557 finalized before their parent.
5558 (mark_frame): remove subwindow_cachels.
5559 (Fmake_frame): remove subwindow_cachel manipulation.
5560 (allocate_frame_core): subwindow_instance_cache is a weak list.
5561 (delete_frame_internal): set subwindow_instance_cache to nil.
5563 * glyphs-msw.c (mswindows_finalize_image_instance): make double
5565 (mswindows_finalize_image_instance): use the device
5566 not the domain as the domain may have died already.
5568 * glyphs-x.c (x_finalize_image_instance): ditto.
5569 (x_subwindow_instantiate): remove SUBWINDOW_WIDTH &
5572 * redisplay-output.c (redisplay_unmap_subwindows): update for
5573 subwindow instance cache as a weak list.
5574 (redisplay_unmap_subwindows_maybe): ditto.
5575 (redisplay_unmap_subwindows_except_us): ditto.
5577 * glyphs.c (unmap_subwindow): error checking will check the domain
5578 so don't deal with it here. Don't use cachels anymore.
5579 (map_subwindow): ditto.
5580 (update_subwindow_cachel_data): remove old accessor names.
5581 (subwindow_instantiate): remove SUBWINDOW_WIDTH & HEIGHT.
5582 (Fresize_subwindow): don't update cachel.
5583 (mark_subwindow_cachels):
5584 (update_subwindow_cachel_data):
5585 (add_subwindow_cachel):
5586 (get_subwindow_cachel_index):
5587 (update_subwindow_cachel):
5588 (reset_subwindow_cachels):
5589 (mark_subwindow_cachels_as_not_updated): deleted.
5590 (cache_subwindow_instance_in_frame_maybe): new function. Add a
5591 subwindow instance to the frame cache.
5592 (find_matching_subwindow): update for subwindow instance cache as
5594 (update_widget_instances): ditto.
5595 (image_instance_type_to_mask):inlined.
5596 (free_frame_subwindow_instance_cache): new function. finalize all
5597 subwindows that are instantiated.
5599 * glyphs.h (struct Lisp_Image_Instance): add display_data instead
5600 of cachel information.
5601 (IMAGE_INSTANCE_DISPLAY_X):
5602 (IMAGE_INSTANCE_DISPLAY_Y):
5603 (IMAGE_INSTANCE_DISPLAY_WIDTH):
5604 (IMAGE_INSTANCE_DISPLAY_HEIGHT):
5605 (XIMAGE_INSTANCE_DISPLAY_X):
5606 (XIMAGE_INSTANCE_DISPLAY_Y):
5607 (XIMAGE_INSTANCE_DISPLAY_WIDTH):
5608 (XIMAGE_INSTANCE_DISPLAY_HEIGHT): new accessors.
5609 remove subwindow_cachel structure and function references.
5610 (image_instance_type_to_mask): inline from glyphs.c
5612 * redisplay.c (redisplay_frame): remove subwindow_cachel
5615 * frame.h (struct frame): remove subwindow_cachels.
5616 (FRAME_SUBWINDOW_CACHE): access subwindow_instance_cache.
5618 * frameslots.h: add subwindow_instance_cache.
5620 * window.c (replace_window): check subwindow cache of replacement.
5621 (window_unmap_subwindows_cache_mapper):
5622 (window_unmap_subwindows): new functions. Unmap all subwindows
5623 cached on this window.
5624 (mark_window_as_deleted): unmap all subwindows.
5626 2000-04-27 Andy Piper <andy@xemacs.org>
5628 * glyphs.h (IIFORMAT_METH_OR_GIVEN): cope with null meths.
5630 * glyphs-widget.c (widget_layout): return something.
5631 (layout_layout): return something. Fail if not initialized.
5632 (layout_query_geometry): ditto.
5633 (image_instantiator_native_layout): new function. Initialized the
5635 (widget_instantiate): don't do layout stuff here.
5637 * glyphs.c (instantiate_image_instantiator): reorded calling or
5638 instantiate and post_instantiate with layout in between.
5639 (image_instance_layout): be more selective about deciding whether
5640 the layout has been done or not.
5642 * glyphs.h (struct image_instantiator_methods): return a value
5645 2000-04-26 Andy Piper <andy@xemacs.org>
5647 * glyphs.c (allocate_image_instance): make initial width and
5648 height unspecified. Set initialized to 0.
5650 * syscommctrl.h new file. Encapsulates commctrl.h.
5652 * syswindows.h new file. Encapsulates windows.h.
5654 * ntplay.c: use new syswindows.h and syscommctrl.h header.
5656 * console-msw.h: ditto.
5658 * redisplay-tty.c (tty_output_display_block): remove layout references.
5660 * glyphs-msw.c (mswindows_widget_instantiate): use the domain
5661 window handle rather than just the frame.
5663 * glyphs.c (mark_image_instance): remove layout references.
5664 (print_image_instance): ditto.
5665 (image_instance_equal): ditto.
5666 (image_instance_hash): ditto.
5667 (decode_image_instance_type): ditto.
5668 (encode_image_instance_type): ditto.
5669 (image_instantiate): ditto.
5670 (allocate_glyph): ditto.
5671 (Fimage_instance_height): ditto.
5672 (Fimage_instance_width): ditto.
5673 (update_subwindow): ditto.
5675 * redisplay-x.c (x_output_display_block): recode for layouts as
5678 * redisplay-output.c (redisplay_output_layout): recode for layouts
5680 (compare_runes): remove layout references.
5682 * redisplay-msw.c (mswindows_output_display_block): recode for
5685 * glyphs-widget.c (image_instantiator_layout): remove
5686 layout_possible_dest_types.
5687 (layout_possible_dest_types): deleted.
5689 * glyphs.h (image_instance_type): remove layout references.
5690 (struct Lisp_Image_Instance): ditto. Add initialized flag.
5691 (IMAGE_INSTANCE_INITIALIZED): new accessor.
5692 (XIMAGE_INSTANCE_INITIALIZED): ditto.
5694 2000-04-25 Andy Piper <andy@xemacs.org>
5696 * glyphs-widget.c (image_instantiator_buttons):
5697 (image_instantiator_edit_fields):
5698 (image_instantiator_combo_box):
5699 (image_instantiator_scrollbar):
5700 (image_instantiator_progress_guage):
5701 (image_instantiator_tree_view):
5702 (image_instantiator_tab_control):
5703 (image_instantiator_labels):
5704 (image_instantiator_layout): call default post_instantiate method.
5705 (widget_post_instantiate): new function. Simply lays out the
5708 * glyphs.h (struct image_instantiator_methods): add
5709 post_instantiate method.
5711 * glyphs.c (instantiate_image_instantiator): add post_instantiate
5714 2000-04-23 Andy Piper <andy@xemacs.org>
5716 * glyphs.h (struct image_instantiator_methods): add
5717 decode_domain_method.
5718 (struct Lisp_Image_Instance): remove subwindow frame - it can be
5719 derived from the domain.
5720 (IMAGE_INSTANCE_FRAME): new accessor.
5721 (XIMAGE_INSTANCE_FRAME): ditto.
5723 * glyphs.c (print_image_instance): use IMAGE_INSTANCE_FRAME
5724 instead of _SUBWINDOW_FRAME.
5725 (finalize_image_instance): ditto.
5726 (Fimage_instance_foreground): ditto.
5727 (Fimage_instance_background): ditto.
5728 (image_instantiate): ditto.
5729 (update_subwindow_cachel): ditto.
5730 (update_subwindow): ditto.
5731 (unmap_subwindow): ditto.
5732 (map_subwindow): ditto
5733 (subwindow_instantiate): ditto.
5734 * glyphs-msw.c (mswindows_update_widget): ditto.
5735 (mswindows_progress_gauge_instantiate): ditto.
5736 (mswindows_tab_control_update): ditto.
5737 * glyphs-x.c (x_update_widget): ditto.
5738 (x_widget_instantiate): ditto.
5739 (x_tab_control_instantiate): ditto.
5740 (x_tab_control_update): ditto.
5741 * event-msw.c (mswindows_wnd_proc): ditto
5743 * glyphs-widget.c (image_instantiator_layout): use
5744 subwindow_decode_domain.
5745 (image_instantiator_buttons): ditto.
5746 (image_instantiator_edit_fields): ditto.
5747 (image_instantiator_combo_box): ditto.
5748 (image_instantiator_scrollbar): ditto.
5749 (image_instantiator_progress_guage): ditto.
5750 (image_instantiator_tree_view): ditto.
5751 (image_instantiator_tab_control): ditto.
5752 (image_instantiator_labels): ditto.
5753 (image_instantiator_layout): ditto.
5755 * glyphs.c: add instance error checking to many functions.
5756 (instantiate_image_instantiator): decode device from cache_domain.
5757 (image_instantiate): partially rewrite by using
5758 decode_image_instantiator_domain to determine what domain the
5759 instance needs to be cached in.
5760 (decode_image_instantiator_domain): new function. Determine what
5761 domain the image needs to be cached in.
5762 (check_window_subwindow_cache): new error checking function.
5763 (check_instance_cache_mapper): ditto.
5764 (check_image_instance_structure): ditto.
5765 (subwindow_decode_domain): new function. Encodes a window as a
5766 subwindow's cache domain.
5767 (image_instantiator_format_create): use it for text and
5770 2000-04-21 Andy Piper <andy@xemacs.org>
5772 * glyphs.c (image_instance_device): new function.
5773 (image_instance_frame): new function.
5774 (image_instance_window): new function.
5775 (image_instance_live_p): new function.
5777 * window.c (mark_window_as_deleted): reset the subwindow_instance_
5780 * glyphs.h (struct Lisp_Image_Instance): device->domain.
5781 (IMAGE_INSTANCE_DOMAIN): new accessor.
5782 (XIMAGE_INSTANCE_DOMAIN): ditto.
5784 * glyphs-x.c (x_finalize_image_instance): device->domain.
5786 * glyphs-msw.c (init_image_instance_geometry): device->domain.
5787 (mswindows_finalize_image_instance): ditto.
5789 * glyphs-eimage.c (jpeg_instantiate): device->domain.
5790 (gif_instantiate): ditto.
5791 (png_instantiate): ditto.
5792 (tiff_instantiate): ditto.
5794 * glyphs.c (instantiate_image_instantiator): use domain rather
5796 (mark_image_instance): device -> domain.
5797 (print_image_instance): ditto.
5798 (finalize_image_instance): ditto.
5799 (image_instance_equal): ditto.
5800 (allocate_image_instance): ditto.
5801 (Fcolorize_image_instance): ditto.
5802 (query_string_geometry): ditto.
5803 (image_instantiate): ditto
5804 (query_string_font): ditto.
5805 (image_instantiate): ditto.
5806 (update_subwindow): ditto.
5807 (unmap_subwindow): ditto.
5808 (map_subwindow): ditto.
5809 (subwindow_instantiate): ditto.
5811 * specifier.h (DOMAIN_DEVICE): new, semantically correct, decoder.
5812 (DOMAIN_FRAME): ditto.
5813 (DOMAIN_WINDOW): ditto.
5814 (DOMAIN_LIVE_P): ditto.
5815 (XDOMAIN_DEVICE): ditto.
5816 (XDOMAIN_FRAME): ditto.
5817 (XDOMAIN_WINDOW): ditto.
5819 * specifier.c (Fvalid_specifier_domain_p): add image instances as
5820 a valid specifier domain.
5822 2000-04-19 Andy Piper <andy@xemacs.org>
5824 * glyphs-widget.c (syms_of_glyphs_widget): remove
5825 widget-callback-current-channel.
5826 (vars_of_glyphs_widget): ditto.
5829 * gui.c (get_gui_callback): revert to previous behaviour.
5831 2000-04-18 Andy Piper <andy@xemacs.org>
5833 * glyphs.h (struct Lisp_Image_Instance): add margin_width.
5834 (IMAGE_INSTANCE_MARGIN_WIDTH): new.
5835 (XIMAGE_INSTANCE_MARGIN_WIDTH): new.
5837 * glyphs.c (image_instance_equal): add margin_width.
5838 (image_instance_hash): ditto.
5840 * glyphs-widget.c (widget_instantiate): deal with margin-width.
5841 (layout_query_geometry): ditto.
5842 (layout_layout): ditto.
5843 (syms_of_glyphs_widget): add margin-width.
5844 (image_instantiator_layout): allow margin-width.
5846 * glyphs.c (update_widget_instances): make a normal function.
5847 (syms_of_glyphs): remove Qupdate_widget_instances.
5850 * gui-x.c (popup_selection_callback): use enqueue_magic_eval_event
5851 so that we don't corrupt ideas about the last event or
5852 command. Remove widget-callback-current-channel fiddling.
5853 * gui-msw.c (mswindows_handle_gui_wm_command): ditto.
5855 2000-05-01 Martin Buchholz <martin@xemacs.org>
5857 * XEmacs 21.2.33 is released.
5859 2000-05-01 Yoshiki Hayashi <yoshiki@xemacs.org>
5861 * make-src-depend: Allow dots in header file name.
5863 2000-05-01 Yoshiki Hayashi <yoshiki@xmacs.org>
5865 * mule-charset.h (struct charset_lookup): Add
5866 next_allocated_1_byte_leading_byte and
5867 next_allocated_2_byte_leading_byte.
5868 * mule-charset.c: Move above two variables so that those values
5871 2000-04-26 Yoshiki Hayashi <yoshiki@xemacs.org>
5873 * insdel.c (find_charsets_in_bufbyte_string): Add Vcharset_ascii
5874 when string length is zero.
5875 (find_charsets_in_emchar_string): Ditto.
5877 2000-04-29 Bjrn Torkelsson <torkel@hpc2n.umu.se>
5879 * lisp.h: extern Qdialog and Qmenubar.
5881 * gui-x.c: added events.h.
5882 also fixed typo which made the file uncompilable.
5884 * general.c: Added Qmenubar and Qdialog
5886 2000-04-28 Ben Wing <ben@xemacs.org>
5888 * frame-msw.c (mswindows_init_frame_1):
5889 * frame-msw.c (mswindows_mark_frame):
5890 * event-msw.c (mswindows_enqueue_dispatch_event):
5892 * console-msw.h (struct mswindows_frame):
5893 * console-msw.h (FRAME_MSWINDOWS_WIDGET_HASH_TABLE1):
5894 there are now three hash tables for callbacks.
5895 mswindows_enqueue_dispatch_event is no longer static.
5897 * dialog-x.c (maybe_run_dbox_text_callback):
5898 * dialog-x.c (dbox_descriptor_to_widget_value):
5899 switch to new cons3 form for callbacks.
5901 * glyphs-msw.c (mswindows_register_gui_item):
5902 * glyphs-msw.c (mswindows_widget_instantiate):
5903 * glyphs-msw.c (add_tree_item):
5904 * glyphs-msw.c (add_tab_item):
5905 new image instance parameter, so it can be passed to callback-ex.
5906 respect :callback-ex as well as :callback.
5908 * glyphs-widget.c (VALID_GUI_KEYWORDS):
5911 * glyphs.c (print_image_instance):
5912 prettify, e.g. now prints widget type.
5915 certain funs have new image instance parameter.
5918 * gui.c (get_gui_callback):
5919 * gui.c (gui_item_add_keyval_pair):
5920 * gui.c (gui_item_init):
5921 * gui.c (gui_add_item_keywords_to_plist):
5922 * gui.c (mark_gui_item):
5923 * gui.c (gui_item_hash):
5924 * gui.c (gui_item_equal):
5925 * gui.c (copy_gui_item):
5926 * gui.c (syms_of_gui):
5927 recognize callback-ex in a number of places.
5928 also, fix the annoying "can't get out of yes-no dialog" bug.
5931 * gui.h (struct Lisp_Gui_Item):
5932 recognize callback-ex in a number of places.
5934 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
5935 new parameter in button_item_to_widget_value.
5937 * glyphs-x.c (x_update_widget):
5938 * glyphs-x.c (x_button_instantiate):
5939 * glyphs-x.c (x_button_update):
5940 * glyphs-x.c (x_progress_gauge_instantiate):
5941 * glyphs-x.c (x_edit_field_instantiate):
5942 * glyphs-x.c (x_combo_box_instantiate):
5943 * glyphs-x.c (x_tab_control_instantiate):
5944 * glyphs-x.c (x_label_instantiate):
5945 new image instance parameter in various places.
5948 * event-Xt.c (enqueue_Xt_dispatch_event):
5949 this fun gets exported.
5952 * gui-msw.c (mswindows_handle_gui_wm_command):
5953 handle both :callback and :callback-ex, and generate our own
5954 event because it's one of the callback-ex arguments.
5957 * gui-x.c (popup_selection_callback):
5958 handle both :callback and :callback-ex, and generate our own
5959 event because it's one of the callback-ex arguments.
5960 * gui-x.c (button_item_to_widget_value):
5961 * gui-x.c (gui_items_to_widget_values_1):
5962 * gui-x.c (gui_item_children_to_widget_values):
5963 * gui-x.c (gui_items_to_widget_values):
5964 new image instance parameter in various places.
5966 * fns.c (Freplace_list):
5967 fix small typo in doc string.
5970 declare enqueue_Xt_dispatch_event.
5972 2000-04-28 Ben Wing <ben@xemacs.org>
5975 * buffer.c (Frecord_buffer):
5976 * buffer.c (syms_of_buffer):
5977 delete record-buffer-hook.
5980 * fns.c (Freplace_list):
5981 * fns.c (syms_of_fns):
5982 new primitive replace-list.
5985 slot for old buffer-alist.
5991 * redisplay.c (redisplay_frame):
5992 * redisplay.c (syms_of_redisplay):
5993 * redisplay.c (vars_of_redisplay):
5994 new hook buffer-list-changed-hook.
5997 2000-04-27 Ben Wing <ben@xemacs.org>
5999 * extents.h: extern in_modeline_generation.
6001 * redisplay.c (generate_formatted_string_db): set
6002 in_modeline_generation.
6004 * extents.c (extent_changed_for_redisplay): don't mark redisplay
6005 flags if in modeline generation. otherwise frame-modified-tick
6006 is ticked far too often.
6007 Declare in_modeline_generation.
6009 2000-04-26 Ben Wing <ben@xemacs.org>
6011 * emacs.c (vars_of_emacs): document quick-build "error-checking"
6013 (vars_of_emacs): add quick-build as an error-checking option.
6014 A bit kludgy, but there doesn't seem much point in creating
6015 a real var for this.
6017 * config.h.in: put in an entry for QUICK_BUILD; remove NO_DOC_FILE.
6019 2000-04-14 IKEYAMA Tomonori <tomonori@suiyokai.org>
6021 * redisplay.h (struct display_line): Add a new variable,
6024 * redisplay.c (create_text_block): Set dl->line_continuation if
6026 (create_string_text_block): Ditto.
6027 (regenerate_window_incrementally): Use line_continuation instead
6028 of searching continuation glyph.
6029 (add_margin_runes): Call add_glyph_rune.
6030 (add_glyph_rune): Handle margin glyph.
6032 2000-04-20 Martin Buchholz <martin@xemacs.org>
6034 * filelock.c (fill_in_lock_file_name):
6036 Check for IS_ANY_SEP instead of '/'.
6038 Avoid generating gratuitous garbage. Call user_login_name() directly.
6039 Never check errno without first seeing that system call failed.
6040 (unlock_file): Add GCPRO.
6041 (Flock_buffer): Fix docstring.
6042 (Ffile_locked_p): Fix docstring. Add GCPRO.
6044 2000-04-19 Martin Buchholz <martin@xemacs.org>
6046 * sysdep.c (get_pty_max_bytes):
6047 Fix hangs on DEC OSF 4.0 when (process-send-string) sends
6048 strings longer than 252 bytes.
6050 * md5.c: Unconditionally include ANSI header <limits.h>
6052 * glyphs-x.c (convert_EImage_to_XImage):
6053 * lisp-union.h (union Lisp_Object):
6054 Use consistently the syntax #ifdef FEATURE, not #if FEATURE.
6056 2000-04-13 Yoshiki Hayashi <yoshiki@xemacs.org>
6058 * filelock.c (current_lock_owner): Remove unused variable o, p.
6060 2000-04-17 Norbert Koch <n.koch@eai-delta.de>
6062 * callint.c: Remove multiply defined symbol Qlet
6063 (syms_of_callint): ditto.
6065 2000-04-14 Andy Piper <andy@xemacs.org>
6067 * general.c (syms_of_general): add last-command, this-command, let
6070 * lisp.h: declare various symbols.
6072 * glyphs.h: declare Qwidget_callback_current_channel;
6074 * glyphs-widget.c (syms_of_glyphs_widget): add
6075 Qgui_callback_current_channel.
6076 (vars_of_glyphs_widget): add Vgui_callback_current_channel.
6078 * gui-msw.c (mswindows_handle_gui_wm_command): bind
6079 widget-callback-current-channel when invoking the interactive
6080 arg. Also bind last-command and next-command when invoking the
6082 * gui-x.c (popup_selection_callback): ditto.
6084 * gui.c (get_gui_callback): massage args so that we are always
6085 calling eval. This allows us to add our own variable bindings
6088 * glyphs-x.c (x_button_instantiate): use
6089 gui_items_to_widget_values since this is GC safe.
6090 (x_progress_gauge_instantiate): ditto.
6091 (x_edit_field_instantiate): ditto.
6092 (x_label_instantiate): ditto.
6094 * event-Xt.c (emacs_Xt_handle_magic_event): remove old printfs.
6095 (emacs_Xt_event_widget_focus_out): new function
6096 (emacs_Xt_event_widget_focus_in): new function. Set the keyboard
6098 (emacs_Xt_event_add_widget_actions): new function. add focus
6099 functions as actions.
6100 (init_event_Xt_late): use it.
6102 2000-04-14 Hrvoje Niksic <hniksic@iskon.hr>
6104 * event-stream.c (Fdispatch_event): Doc fix.
6106 2000-03-29 SL Baur <steve@musashimaru.m17n.org>
6108 * postgresql.c: Remove all references to PQsetenv*.
6110 * postgresql.h: Remove references to PGsetenvHandler object.
6111 * lrecord.h (lrecord_type): Ditto.
6113 2000-04-11 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
6115 * glyphs-msw.h (struct mswindows_image_instance_data): Added
6116 real_heigh and real_width members, and accessor macros for these.
6118 * glyphs-msw.c (init_image_instance_geometry): New function.
6119 (init_image_instance_from_dibitmap): Use it.
6120 (mswindows_resource_instantiate): Use it.
6121 (init_image_instance_from_xbm_inline): Use it.
6122 (mswindows_initialize_image_instance_mask): Use real bitmap
6124 (mswindows_create_resized_bitmap): Ditto.
6125 (mswindows_create_resized_mask): Ditto.
6127 * redisplay-msw.c (mswindows_output_dibitmap): Stretch real mask
6128 and bitmap to their surface size.
6130 2000-04-11 Jan Vroonhof <jan@xemacs.org>
6132 * process-unix.c (unix_send_process): Guard against process MIA
6133 after Faccept_process_output.
6135 2000-04-11 Ben Wing <ben@xemacs.org>
6137 * eval.c (unbind_to_hairy): fix brokenness introduced by
6138 nanosecond speed improvements.
6140 2000-04-07 Raymond Toy <toy@rtp.ericsson.se>
6142 * sunplay.c (init_device): To play sounds correctly, the device
6143 apparently needs to be initialized at least once by XEmacs. Make
6146 2000-04-10 IKEYAMA Tomonori <tomonori@suiyokai.org>
6148 * redisplay.c (add_margin_runes): Add text image glyph
6151 2000-04-06 Yoshiki Hayashi <yoshiki@xemacs.org>
6153 * lisp.h (DOESNT_RETURN): Don't declare as volatile when
6154 gcc is newer than 2.5.
6156 2000-04-06 Colin Rafferty <colin@xemacs.org>
6158 * lisp.h (FLEXIBLE_ARRAY_STRUCT_SIZEOF): Created.
6160 * fns.c (size_bit_vector):
6161 * alloc.c (size_vector):
6162 (make_vector_internal):
6163 (make_bit_vector_internal):
6164 (sweep_bit_vectors_1):
6165 Replace calls to offsetof with FLEXIBLE_ARRAY_STRUCT_SIZEOF macro.
6167 2000-04-06 Andy Piper <andy@xemacs.org>
6169 * gmalloc.c (malloc): undo previous change.
6174 2000-04-06 IKEYAMA Tomonori <tomonori@suiyokai.org>
6176 * line-number.c (buffer_line_number): Revert to former version.
6178 2000-04-06 Andy Piper <andy@xemacs.org>
6180 * gmalloc.c (malloc): add error checking.
6185 * dialog-x.c (dbox_descriptor_to_widget_value): add extra
6186 button_item_to_widget_value arg.
6188 * glyphs-x.c (x_button_instantiate): add extra
6189 button_item_to_widget_value arg.
6190 (x_progress_gauge_instantiate): ditto.
6191 (x_edit_field_instantiate): ditto.
6192 (x_label_instantiate): ditto.
6194 * gui-x.c (gui_items_to_widget_values_1): add extra
6195 button_item_to_widget_value arg.
6196 (button_item_to_widget_value): add extra menu_item_p arg.
6198 * gui-x.h: change signature of button_item_to_widget_value.
6200 * menubar-x.c (menu_item_descriptor_to_widget_value_1): add extra
6201 button_item_to_widget_value arg.
6203 2000-04-03 Yoshiki Hayashi <yoshiki@xemacs.org>
6205 * buffer.h (struct buffer): auto_save_modified should be long.
6207 2000-04-05 Andy Piper <andy@xemacs.org>
6209 * glyphs-widget.c (widget_instantiate): pixwidth != pixheight
6211 (button_query_geometry): give a little more room so that athena
6214 2000-04-05 Andy Piper <andy@xemacs.org>
6216 * faces.c (complex_vars_of_faces): The widget face should inherit
6217 the font of the gui-element face.
6219 2000-04-04 Andy Piper <andy@xemacs.org>
6221 * glyphs-x.c (x_button_update): new function. unconditionally
6222 update a button's state when the instance is dirty.
6223 (image_instantiator_format_create_glyphs_x): add x_button_update.
6224 (x_widget_instantiate): remove old resize cruft.
6226 2000-04-02 Andy Piper <andy@xemacs.org>
6228 * frame.c (change_frame_size_1): The introduction of gutters means
6229 that we need to allow 0 as a potential frame dimension.
6231 2000-04-02 IKEYAMA Tomonori <tomonori@suiyokai.org>
6233 * redisplay.c (add_glyph_rune): Don't set 0 to bufpos for text
6234 image glyph if allow_cursor.
6235 (add_hscroll_rune): Don't allow cursor to border glyph.
6236 (create_text_block): Ditto.
6238 * redisplay-output.c (redisplay_move_cursor): Do nothing even if
6240 (redisplay_output_layout): Call ensure_face_cachel_complete for
6244 2000-03-16 IKEYAMA Tomonori <tomonori@suiyokai.org>
6246 * redisplay.c (add_glyph_rune): Adding text image as text runes.
6248 * redisplay-output.c (redisplay_move_cursor): NO_CURSOR if text
6251 * redisplay-tty.c (tty_output_display_block): Delete the routine
6252 for text image glyph
6253 * redisplay-x.c (x_output_display_block): ditto
6254 * redisplay-msw.c (mswindows_output_display_block): ditto
6256 2000-02-02 Mike Alexander <mta@arbortext.com>
6258 Note: Some of these were committed by accident as part of other
6261 * regex.c (regex_compile): Avoid compiler warnings.
6263 * ntproc.c (sys_spawnve): Avoid compiler warnings.
6265 * nt.h: Declare term_ntproc correctly.
6267 * nt.c: Remove incorrect declaration of get_home_directory which
6268 is declared correctly in lisp.h.
6270 * keymap.c (get_keyelt): Avoid compiler warnings.
6271 (raw_lookup_key_mapper): Avoid compiler warnings.
6273 * gutter.c (gutter_was_visible): Add return statement to avoid warning.
6275 * glyphs-eimage.c (png_instantiate): Avoid compiler warnings.
6277 * filemode.c (mode_string): Avoid compiler warnings.
6279 * file-coding.c (Fcoding_system_aliasee): Add return statement to
6282 * events-mod.h: Undef some things that winuser.h defines differently.
6284 * data.c (Faset): Avoid compiler warnings.
6286 * alloc.c (Fmake_byte_code): Avoid compiler warnings.
6288 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
6290 * sound.c (Fplay_sound_file): Wrap ESD in start/stop_interrupts.
6291 Fall through to simple beep on error.
6292 Replace "extern" by real header file.
6294 * linuxplay.c: Use nativesound.h
6295 (play_sound_data): Return error code. Be less verbose on error.
6297 * sunplay.c: Use nativesound.h
6298 (play_sound_data): Return error code. Be less verbose on error.
6300 * ntplay.c: Use nativesound.h
6301 (play_sound_data): Return fake error code
6303 * sgiplay.c: Use nativesound.h
6304 (play_sound_data): Return error code
6306 * hpplay.c: Use nativesound.h, partially implement
6307 new error code. Break compilation until finished.
6308 (play_sound_data): error code.
6310 * nativesound.h (play_sound_file):
6311 (play_sound_data): Prototype in new header.
6313 2000-03-31 Andy Piper <andy@xemacs.org>
6315 * glyphs-widget.c: (button_query_geometry): new function. Adjust
6316 for toggle and radio buttons.
6317 (image_instantiator_buttons): use it.
6319 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
6321 * scrollbar-x.c (x_update_vertical_scrollbar_callback):
6322 (x_update_horizontal_scrollbar_callback): Return if no mirror was
6323 found. Scrollbar event probably belonged to some old config.
6325 2000-03-31 Andy Piper <andy@xemacs.org>
6327 * glyphs-widget.c (widget_instantiate): use LAYOUT_VERTICAL rather
6329 (initialize_widget_image_instance): default layout to
6330 LAYOUT_HORIZONTAL rather than 0.
6331 (widget_instantiate): reverse the item list at the end rather than
6333 (layout_layout): re-code for the border text at the front of the
6334 item list rather than at the end.
6335 (layout_query_geometry): ditto. Pick up fixed and dynamic sizes
6336 provided by the user.
6337 (widget_query_geometry): comment.
6339 2000-03-30 Andy Piper <andy@xemacs.org>
6341 * glyphs-widget.c (image_instantiator_layout): allow standard
6342 widget keywords in layouts.
6344 * gutter.c (output_gutter): cope with nil gutter contents.
6346 * frame.c (Fset_frame_properties): add gutter docs.
6348 2000-03-29 Andy Piper <andy@xemacs.org>
6350 * toolbar-msw.c (TBSTYLE_FLAT): add.
6351 (mswindows_output_toolbar): minor fiddling.
6353 2000-03-29 Andy Piper <andy@xemacs.org>
6355 * gutter.c (output_gutter): force gutter size recalculation if
6356 what we are trying to display won't fit.
6357 (update_gutter_geometry): new function. A per-gutter version of
6358 update_frame_gutter_geometry.
6359 (update_frame_gutter_geometry): use it.
6360 (redraw_exposed_gutter): add extra debugging output.
6362 2000-03-28 Mike Alexander <mta@arbortext.com>
6364 * dumper.c: Declare pdump_hFile and pdump_hMap (Windows only)
6365 (pdump_file_unmap): Implement it on Windows
6366 (pdump_file_get): Save alocated handles for pdump_file_unmap
6368 2000-03-28 Andy Piper <andy@xemacs.org>
6370 * gui.c (get_gui_callback): treat Quit specially.
6372 2000-03-27 Andy Piper <andy@xemacs.org>
6374 * glyphs.c (image_instantiate): be careful to check in the same
6377 2000-03-27 Didier Verna <didier@xemacs.org>
6379 * config.h.in: define the proper SMART_INCLUDE macro.
6380 handle renaming of `foo_h_path' to `foo_h_file'.
6382 * database.c: ditto.
6386 * linuxplay.c: ditto.
6388 * terminfo.c: ditto.
6390 * tooltalk.h: ditto.
6392 2000-03-27 Andy Piper <andy@xemacs.org>
6394 * glyphs-msw.c (mswindows_update_widget): make sure the widget
6395 gets updated whenever the face might have changed.
6397 2000-03-26 Mike Alexander <mta@arbortext.com>
6399 * dumper.c (pdump_resource_free): Fix the comment.
6401 2000-03-21 Olivier Galibert <galibert@pobox.com>
6403 * input-method-xlib.c (XIM_init_frame): Remove painful warning.
6405 2000-03-22 Mike Alexander <mta@arbortext.com>
6407 * dumper.c: Include Windows headers on Windows
6408 (pdump_resource_free): Add a body to the function
6409 (pdump_load): exe_name -> exe_path and add some comments.
6411 2000-03-25 Mike Alexander <mta@arbortext.com>
6413 * gui.c (copy_gui_item_tree): Return a value in all cases
6415 2000-03-21 Didier Verna <didier@xemacs.org>
6417 * config.h.in: move INCLUDE_GLUE_1 and INCLUDE_GLUE_2 here from
6419 (SMART_INCLUDE): new macro.
6420 (POSTGRES_INCLUDE): new macro to include postgresql headers from
6421 the proper location.
6423 * postgresql.c: use it.
6427 2000-03-24 Andy Piper <andy@xemacs.org>
6429 * gutter.c (redraw_exposed_gutters): must be "in display" when we
6432 2000-03-24 Andy Piper <andy@xemacs.org>
6434 * redisplay-output.c (compare_runes): use image_instance_changed
6435 to detect changes. Do not depend on glyphs_changed, only depend on
6437 (redisplay_output_layout): add debug messages.
6438 (compare_runes): ditto.
6440 * glyphs.h: declare new functions.
6441 (struct Lisp_Image_Instance): remove percent and associated
6444 * gui.h: declare new copying functions.
6446 * gui.c (copy_gui_item_tree): new function.
6447 (copy_gui_item): new function.
6448 (gui_item_id_hash): revert to standard hash.
6449 (gui_item_hash): ditto.
6450 (gui_item_hash_internal): deleted.
6451 (mark_gui_item): mark value.
6452 (gui_item_add_keyval_pair): add value.
6453 (gui_item_init): ditto.
6454 (gui_add_item_keywords_to_plist): ditto.
6455 (gui_item_equal): ditto.
6456 (syms_of_gui): add Q_value.
6458 * glyphs-x.c (x_progress_gauge_update): use pending items and
6459 value for setting the state.
6460 (x_update_widget): don't set items from pending here.
6462 * glyphs-widget.c (update_widget): update items here.
6463 (progress_gauge_set_property): use items for storing value. Put
6464 new value in pending items.
6466 * glyphs-msw.c (mswindows_progress_gauge_update): use pending
6467 items for new value. Convert percent -> value.
6468 (mswindows_tab_control_update): don't update items here.
6470 * glyphs.c (Fupdate_widget_instances): use image_instance_changed.
6471 (update_subwindow): ditto.
6472 (image_instance_changed): new function. Compare hash values and
6473 past and present widget items.
6474 (image_instantiate): We more careful about where we instantiate
6476 (image_instantiate): add error checking.
6478 * gutter.c (syms_of_gutter): use -hook.
6480 2000-03-20 Yoshiki Hayashi <yoshiki@xemacs.org>
6482 * console-tty.c (Fset_console_tty_input_coding_system): Use
6484 (Fset_console_tty_output_coding_system): Use Qterminal.
6485 (tty_init_console): Use Qkeyboard and Qterminal.
6487 2000-03-21 Ben Wing <ben@xemacs.org>
6489 * ntproc.c (create_child): remove bogus HAVE_NTGUI's.
6490 From Mike Alexander <mta@arbortext.com>.
6492 2000-03-21 Ben Wing <ben@xemacs.org>
6494 * event-msw.c (mswindows_need_event): Horrible kludge to fix
6495 process brokenness. Proper implementation to come.
6497 Rename call-process-internal to old-call-process-internal.
6498 New impl. in process.el.
6500 2000-03-21 Martin Buchholz <martin@xemacs.org>
6502 * Makefile.in.in: Coalesce HAVE_NATIVE_SOUND code fragments.
6504 2000-03-20 Andy Piper <andy@xemacs.org>
6506 * glyphs.c (full_list_hash): make hashes of the same elements in
6507 different orders return different values.
6509 2000-03-20 Martin Buchholz <martin@xemacs.org>
6511 * XEmacs 21.2.32 is released.
6513 2000-03-20 Martin Buchholz <martin@xemacs.org>
6515 * buffer.h (DFC_ALLOCA_USE_CONVERTED_DATA):
6516 (DFC_MALLOC_USE_CONVERTED_DATA):
6517 Add aliasing-safe casts to allow use with char* or unsigned char*
6520 * eldap.c (Fldap_open):
6521 (Fldap_search_basic):
6524 Make C++-compilable.
6525 Make sure GCPRO'ed variables are initialized.
6526 Use temp variables to avoid repeated calls to Flength.
6528 2000-03-16 Martin Buchholz <martin@xemacs.org>
6531 Make sure PATH_MAX is always defined.
6532 Include limits.h for PATH_MAX.
6533 Deprecate use of MAXPATHLEN.
6535 2000-03-10 Martin Buchholz <martin@xemacs.org>
6537 * emacs.c: Add reinit_vars_of_fileio.
6538 * symsinit.h: Add reinit_vars_of_fileio.
6539 * fileio.c (reinit_vars_of_fileio): New.
6540 * fileio.c (Fmake_temp_name):
6541 Initialize temp_name random number from microseconds to make
6542 collisions even less likely. Initialize always at process startup
6543 time. (make-temp-name) used to return the same file name twice in
6545 Random stylistic fiddling.
6548 2000-03-20 Andy Piper <andy@xemacs.org>
6550 * glyphs.c (image_instantiate): allow text glyphs to be
6551 instantiated in the minibuffer window.
6553 2000-03-19 Andy Piper <andy@xemacs.org>
6555 * glyphs.c (image_instance_hash): be careful about which items we
6558 * glyphs-widget.c (tab_control_set_property): record into pending
6559 items rather than the actual items.
6561 * glyphs-x.c (x_update_widget): use pending items to update with.
6563 * glyphs-msw.c (mswindows_tab_control_update): use pending items
6566 * glyphs.c (mark_image_instance): mark pending items.
6568 * window.c (Fset_window_configuration): record the buffer.
6569 (Fselect_window): totally revert previous change which breaks many
6572 2000-03-18 Andy Piper <andy@xemacs.org>
6574 * glyphs-msw.c (mswindows_tab_control_update): force selected
6577 * glyphs.c (image_instantiate): don't allow the minibuffer as a
6578 window domain cache, otherwise we get inconsistencies at
6579 startup. There is something fishy at startup which can lead to the
6580 minibuffer being the selected window when the gutter content is
6583 * gui.c (parse_gui_item_tree_list): add probably unnecessary
6585 (parse_gui_item_tree_children): ditto.
6586 (parse_gui_item_tree_item): ditto.
6588 * glyphs.c (Fupdate_widget_instances): return something.
6590 2000-03-18 Yoshiki Hayashi <yoshiki@xemacs.org>
6592 * window.c (Fselect_window): Undo 2000-03-17 change.
6594 2000-03-17 SL Baur <steve@musashimaru.m17n.org>
6596 * postgresql.c (Fpq_setenv): Remove this turkey when linking
6597 against v7.0 libraries. Insta-coredump city until the postgres
6600 2000-03-17 Andy Piper <andy@xemacs.org>
6602 * faces.c (complex_vars_of_faces): don't give the widget face an
6603 inherited background pixmap.
6605 * glyphs-msw.c (mswindows_tab_control_instantiate): select the
6608 * event-stream.c (Fdispatch_non_command_events): return something.
6610 * gutter.c (output_gutter): use widget face.
6611 (clear_gutter): ditto.
6613 * NEWS: adjust again.
6615 * window.c (Fselect_window): make sure this runs to completion to
6616 avoid oddities with Fset_window_configuration.
6617 (Fcurrent_window_configuration): in general do not save the
6618 minibuffer as the selected window.
6620 * glyphs.h (IMAGE_INSTANCE_HASH_DEPTH): increase.
6622 2000-03-16 Olivier Galibert <galibert@pobox.com>
6624 * emacs.c (Frunning_temacs_p): Revert previous patch.
6625 (main_1): Reinitialize running_temacs_argc if pdump_load succeeds.
6627 2000-03-16 Andy Piper <andy@xemacs.org>
6629 * glyphs-x.c (x_tab_control_update): if no widget values then
6632 * NEWS: update for new features.
6634 * event-Xt.c (emacs_Xt_force_event_pending): new function. Post a
6635 synthetic event to the native system.
6636 (reinit_vars_of_event_Xt): set force_event_pending to
6637 emacs_Xt_force_event_pending.
6639 * events.h (struct event_stream): add force_event_pending.
6641 * specifier.c (recompute_one_cached_specifier_in_window): add
6644 * redisplay.c (redisplay_frame): don't call
6645 update_frame_subwindows. Reset subwindow cachels when
6646 subwindows_changed, removing this was an optimization too far.
6648 * redisplay-output.c (compare_runes): reorganize so that we catch
6649 glyph changes when we want them. Set optimize_output when this
6651 (redisplay_output_layout): remove frame_really_changed, use
6652 optimize_output instead.
6654 * redisplay-msw.c (mswindows_output_display_block): reset
6655 optimize_output after outputting a glyph.
6656 * redisplay-x.c (x_output_display_block): ditto.
6657 * redisplay-tty.c (tty_output_display_block): ditto.
6659 * gutter.c: (specifier_vars_of_gutter): use new spec changed
6661 (gutter_specs_changed): do specific gutter positions.
6662 (top_gutter_specs_changed): new function. Only update the
6663 specified gutter specs.
6664 (bottom_gutter_specs_changed): ditto.
6665 (left_gutter_specs_changed): ditto.
6666 (right_gutter_specs_changed): ditto.
6668 * gui.c (gui_item_hash_internal): new function, does a real hash.
6669 (gui_item_id_hash): use it.
6670 (gui_item_hash): hash the eval'ed gui_item.
6672 * gui-x.c (popup_selection_callback): send an eval event to call
6673 Fupdate_widget_instances.
6675 * gui-msw.c (mswindows_handle_gui_wm_command): send an eval event
6676 to call Fupdate_widget_instances.
6678 * glyphs.h (struct Lisp_Image_Instance): add optimize_output flag.
6679 (IMAGE_INSTANCE_OPTIMIZE_OUTPUT): access it.
6681 * glyphs.c: (update_frame_subwindows): deleted.
6682 (Fupdate_widget_instances): new function for updating the dirty
6683 state of widgets that might have changed.
6684 (syms_of_glyphs): add Qupdate_widget_instances.
6685 (full_list_hash): hash a list completely.
6686 (image_instance_hash): use it for items and properties.
6688 * frame-msw.c (mswindows_size_frame_internal): remove unused
6691 * faces.h (struct face_cachel): fix comment.
6693 * event-stream.c (Fdispatch_non_command_events): new
6694 function. Process non-command events, forcing an event cycle
6696 (syms_of_event_stream): declare.
6697 (event_stream_force_event_pending): new function. Force an event
6698 on the native event queue so that an event cycle will occur next
6702 (struct ntpipe_shove_stream):
6703 (mswindows_enqueue_dispatch_event):
6704 (mswindows_dequeue_dispatch_event):
6705 (mswindows_cancel_dispatch_event):
6706 (mswindows_pump_outstanding_events):
6707 (mswindows_drain_windows_queue):
6708 (mswindows_handle_paint):
6709 (mswindows_wnd_proc):
6710 (mswindows_key_to_emacs_keysym):
6711 (get_process_input_waitable):
6712 (emacs_mswindows_delete_stream_pair): re-indent file.
6713 (mswindows_need_event): do not process further fds if the windows
6714 fd is set, otherwise you get endless XM_BUMPQUEUE cycles. This
6715 fixes the 100% cpu problem.
6716 (reinit_vars_of_event_mswindows): set force_event_pending to 0.
6718 2000-03-15 Olivier Galibert <galibert@pobox.com>
6724 * emacs.c: Moved dump file searching to dumper.c.
6725 (Frunning_temacs_p): Fixed.
6727 * alloc.c: Moved everything pdump-related to dumper.c. Removed
6728 last_lrecord_type_index_assigned.
6730 2000-02-20 Olivier Galibert <galibert@pobox.com>
6732 * symsinit.h: Added reinit parameter to init_console_stream
6735 * lisp.h: Added file parameter to pdump_load declaration.
6737 * emacs.c (main_1): Added -nd/--nodump-file and -sd/--show-dump-id
6738 support. Added dump file searching.
6740 * config.h.in: Added EMACS_PROGNAME.
6742 * console-stream.c (init_console_stream): Fix reinitialisation
6743 when running from temacs.
6745 * alloc.c (pdump): Add id support.
6746 (pdump_load): Add file parameter and signature/id support.
6748 * Makefile.in.in: Add full pdump support.
6750 2000-03-15 SL Baur <steve@musashimaru.m17n.org>
6752 * postgresql.c: Update documentation to reflect latest code
6754 (print_result): Show tuple counts in printed representation when
6756 (Fpq_put_nbytes): MULE-ize.
6757 (Fpq_get_line_async): Ditto.
6759 2000-03-14 SL Baur <steve@musashimaru.m17n.org>
6761 * postgresql.c (Fpq_lo_import): Fix return value.
6762 Suggested by: Kenji Itoh <keit@tpj.co.jp>.
6764 2000-03-13 Ben Wing <ben@xemacs.org>
6766 * alloc.c (pdump_load):
6767 Fix compile warning under mswin.
6769 2000-03-14 SL Baur <steve@musashimaru.m17n.org>
6771 * postgresql.c: Mule-ization, bug fixes.
6772 Use PG_CODING to encapsulate coding system name changes.
6773 Backport a version of TO_EXTERNAL format for 21.1/InfoDock.
6774 (pg-coding-system): Create.
6776 (Fpq_conn_defaults): Mule-ize.
6777 (Fpq_connectdb): Mule-ize & bug fix.
6778 (Fpq_connect_start): Mule-ize.
6779 (Fpq_set_client_encoding): Mule-ize.
6780 (Fpq_finish): Document `DEAD' connection status.
6782 (Fpq_pgconn): Mule-ize.
6783 (Fpq_exec): Mule-ize & bug fix.
6784 (Fpq_send_query): Ditto.
6785 (Fpq_get_result): Ditto.
6786 (Fpq_res_status): Mule-ize.
6787 (Fpq_result_error_message): Mule-ize.
6788 (Fpq_ntuples): fix comments.
6789 (Fpq_fname): Mule-ize.
6790 (Fpq_fnumber): Mule-ize.
6791 (Fpq_ftype): fix comments.
6792 (Fpq_get_value): Mule-ize.
6793 (Fpq_cmd_status): Ditto.
6794 (Fpq_cmd_tuples): Ditto.
6795 (Fpq_oid_value): Ditto.
6796 (Fpq_notifies): Ditto.
6797 (Fpq_lo_import): Ditto.
6798 (Fpq_lo_export): Ditto.
6799 (Fpq_get_line): Ditto.
6800 (Fpq_put_line): Mule-ize and bug fix.
6801 (syms_of_postgresql): Fix ifdef'ing, add pg-coding-system.
6803 2000-03-10 SL Baur <steve@musashimaru.m17n.org>
6805 * postgresql.c (vars_of_postgresql): Mule-ize.
6806 (Fpq_conn_defaults): Ditto.
6808 2000-03-12 Ben Wing <ben@xemacs.org>
6810 * alloc.c (Fmake_byte_code):
6811 * alloc.c (debug_string_purity_print):
6812 * alloc.c (pdump_backtrace):
6813 * alloc.c (pdump_get_indirect_count):
6814 * alloc.c (pdump_register_sub):
6815 * alloc.c (pdump_register_object):
6816 * alloc.c (pdump_register_struct):
6817 * alloc.c (pdump_dump_data):
6818 * alloc.c (pdump_reloc_one):
6822 * console-msw.c (GetConsoleHwnd):
6823 * console-msw.c (msw_hide_console):
6824 * console-msw.c (msw_show_console):
6825 * console-msw.c (msw_ensure_console_buffered):
6826 * console-msw.c (msw_output_console_string):
6827 * console-msw.c (console_type_create_mswindows):
6829 a) Added functions to manipulate the console window for use with
6832 b) Added support for writing text to the console, which is now
6833 used under Windows when xemacs is not being run non-interactively,
6834 to write text that would otherwise be destined for stdout because
6835 under these circumstances, text written to stdout tends to
6836 disappear and not be seen.
6840 * event-Xt.c (x_event_to_emacs_event):
6841 * event-Xt.c (describe_event_window):
6842 * events-mod.h (XEMACS_MOD_CONTROL):
6844 * events.c (Fmake_event):
6845 * events.c (character_to_event):
6846 * events.c (event_to_character):
6847 * events.c (format_event_object):
6848 * events.c (Fevent_modifiers):
6850 * events.h (struct key_data):
6851 * events.h (struct button_data):
6852 * events.h (struct misc_user_data):
6853 * frame-x.c (Fcde_start_drag_internal):
6854 * frame-x.c (Foffix_start_drag_internal):
6855 * gpmevent.c (Freceive_gpm_event):
6857 * keymap.c (bucky_sym_to_bucky_bit):
6858 * keymap.c (control_meta_superify):
6859 * keymap.c (make_key_description):
6860 * keymap.c (keymap_lookup_directly):
6861 * keymap.c (create_bucky_submap):
6862 * keymap.c (keymap_store):
6863 * keymap.c (define_key_check_and_coerce_keysym):
6864 * keymap.c (define_key_parser):
6865 * keymap.c (define_key_alternate_name):
6866 * keymap.c (Fdefine_key):
6867 * keymap.c (raw_lookup_key_mapper):
6868 * keymap.c (struct map_keymap_unsorted_closure):
6869 * keymap.c (map_keymap_unsorted_mapper):
6870 * keymap.c (map_keymap_sort_predicate):
6871 * keymap.c (map_keymap_sorted):
6872 * keymap.c (accessible_keymaps_mapper_1):
6873 * keymap.c (where_is_recursive_mapper):
6874 * keymap.c (describe_map_mapper):
6875 * keymap.c (describe_map_sort_predicate):
6876 * keymap.c (describe_map):
6877 * keymap.c (complex_vars_of_keymap):
6878 And a number of other files, the key modifier preprocessor
6879 constants that xemacs uses have names that conflict with constants
6880 defined under MS Windows for other purposes, so they were renamed
6881 to begin with the prefix XEMACS_. The variables that hold such
6882 modifiers were changed to consistently be of type int to fix
6883 various compile warnings.
6885 * console.c (complex_vars_of_console):
6888 * device-msw.c (mswindows_finish_init_device):
6889 * device-msw.c (msw_get_workspace_coords):
6890 * device-msw.c (mswindows_device_system_metrics):
6891 and various other files, added support for a new
6892 device property called offset-workspace which returns the position
6893 of the upper left corner of the workspace area and goes along with
6894 the existing size-workspace property.
6897 * dialog-msw.c (push_bufbyte_string_as_unicode):
6898 * dialog-msw.c (mswindows_popup_dialog_box):
6899 Added support for XEmacs-style accelerator specifications in
6900 button text. Note: I didn't add support for this under X Windows,
6901 and somebody needs to do this.
6904 * dialog.c (Fpopup_dialog_box):
6905 Documented the support for accelerators that was just mentioned.
6907 editfns.c (get_home_directory): Changed behavior under Windows
6908 when HOME not defined; former behavior was irretrievably broken.
6913 * minibuf.c (clear_echo_area_internal):
6914 * minibuf.c (echo_area_append):
6916 * print.c (std_handle_out_external):
6917 * print.c (std_handle_out_va):
6919 * print.c (write_string_to_stdio_stream):
6920 * print.c (output_string):
6921 * print.c (debug_print):
6922 * print.c (debug_backtrace):
6923 * print.c (debug_short_backtrace):
6924 Cleaned up the code that prints text to stdout so that this can be
6925 changed to output into a console window instead under MS Windows,
6929 * eval.c (DEFEND_AGAINST_THROW_RECURSION):
6930 * eval.c (internal_catch):
6931 * eval.c (unwind_to_catch):
6932 * eval.c (throw_or_bomb_out):
6933 * eval.c (condition_case_1):
6934 * eval.c (signal_1):
6935 * eval.c (check_error_state_sanity):
6936 * eval.c (call_with_suspended_errors_1):
6937 * eval.c (call_with_suspended_errors):
6938 * eval.c (reinit_vars_of_eval):
6939 Added code to catch throw loops and check for a pesky bug that may
6943 * event-msw.c (key_needs_default_processing_p):
6944 * event-msw.c (mswindows_wnd_proc):
6945 * event-msw.c (mswindows_modifier_state):
6946 * event-msw.c (emacs_mswindows_quit_p):
6947 * event-msw.c (vars_of_event_mswindows):
6948 a) Added support for using the alt key to select menu items as is
6949 standard under MS Windows. This is controlled using the variable
6950 menu-accelerator-enabled, just like under X Windows. There is an
6951 option on the options menu to turn this support on. I really
6952 think that it should be on by default under Windows, but I'm not
6953 going to make this change yet.
6955 b) Added support for dynamic display size changes under Windows.
6958 * event-stream.c (maybe_echo_keys):
6959 * event-stream.c (Fnext_event):
6960 * event-stream.c (command_builder_find_leaf):
6961 * event-stream.c (lookup_command_event):
6962 * event-stream.c (execute_command_event):
6963 * event-stream.c (pre_command_hook):
6964 * event-stream.c (post_command_hook):
6965 * event-stream.c (syms_of_event_stream):
6966 * event-stream.c (vars_of_event_stream):
6967 * event-stream.c (complex_vars_of_event_stream):
6968 * events.h (struct command_builder):
6970 a) Tried to clean up a little bit the horribly written x-specific
6971 accelerator code that crept into this file. I moved this code
6972 into menubar-x.c where it belongs. I also needed to move the
6973 command builder structure into the file events.h because it is
6974 accessed directly by this accelerator code. What I didn't do, but
6975 which should be done at some point, is to properly abstract this
6976 code using device methods instead of the kludgy way that it
6977 currently hooks into the event code.
6979 b) Added the lisp variables this-command-properties and
6980 last-command- properties, which should be used to synchronize two
6981 adjacent commands in preference to playing games with the variable
6982 this-command, which is typically what happens.
6984 c) Added some slightly nasty code to hook into the lisp support
6985 for shifted- motion-key selection. This is actually necessary for
6986 somewhat complicated reasons, which are described in
6987 simple.el. (NB: I think the proper thing would be to have the code
6988 that calls the pre and post command hooks also call out to generic
6989 lisp functions in simple.el, where all built-in stuff could be
6990 added. I will think about this more.)
6992 * event-unixoid.c (poll_fds_for_input):
6993 * lread.c (readchar):
6994 * redisplay-tty.c (tty_clear_frame):
6995 * redisplay-x.c (x_get_gc):
6996 * signal.c (interrupt_signal):
6997 And a whole bunch of other files: fixed up places that printed
6998 directly to stderr to instead call the function stderr_out so that
6999 the changes I made under Windows work correctly.
7001 * filemode.c (mode_string):
7005 * frame-msw.c (mswindows_size_frame_internal):
7006 Fixed the computation of frame size and position to keep the frame
7007 within the workspace area, rather than within the physical
7008 dimensions of the screen, so that the frame doesn't overlap window
7009 manager decorations, such as the start menu and toolbar, typically
7010 at the bottom of the screen.
7012 * frame.c (vars_of_frame):
7013 Changed the default frame title format under MS Windows to consist
7014 of buffername-XEmacs, which is standard under MS Windows. I think
7015 it might be a good idea to change this everywhere because I think
7016 it is superior to the current frame title format, but this is the
7017 kind of change that is likely to cause some people to get annoyed,
7018 so I'm not making it.
7020 * glyphs-eimage.c (png_instantiate): Fixed some compile warnings.
7022 * gui-msw.c (mswindows_handle_gui_wm_command):
7023 Fixed compile warnings.
7026 * gui-x.c (strdup_and_add_accel):
7027 * gui-x.c (button_item_to_widget_value):
7029 Added code to automatically put an accelerator onto the beginning
7030 of menu items that don't have one as is now the standard, and is
7031 described more later. Also fixed things so that the menu item
7032 name can be an evaluated expression, again a new standard.
7035 * gui.c (gui_item_add_keyval_pair):
7036 * gui.c (make_gui_item_from_keywords_internal):
7037 * gui.c (gui_add_item_keywords_to_plist):
7038 * gui.c (gui_item_accelerator):
7039 * gui.c (gui_name_accelerator):
7040 * gui.c (gui_item_included_p):
7041 * gui.c (gui_item_display_flush_left):
7042 * gui.c (gui_item_display_flush_right):
7043 * gui.c (parse_gui_item_tree_item):
7044 * gui.c (parse_gui_item_tree_children):
7045 * gui.c (parse_gui_item_tree_list):
7046 Mule-ized. Cleanup. GCPRO addition.
7048 * line-number.c (buffer_line_number):
7050 * lisp.h (EMACS_INT_MAX):
7051 Added the manifest constant EMACS_INT_MIN corresponding to the
7052 existing constant EMACS_INT_MAX. This is partially to fix compile
7053 warnings under Windows, and partly for cleanliness.
7056 * menubar-msw.c (REPLACE_ME_WITH_GLOBAL_VARIABLE_WHICH_CONTROLS_RIGHT_FLUSH):
7057 * menubar-msw.c (msw_translate_menu_or_dialog_item):
7058 * menubar-msw.c (displayable_menu_item):
7059 * menubar-msw.c (populate_menu_add_item):
7060 * menubar-msw.c (populate_or_checksum_helper):
7061 * menubar-msw.c (populate_menu):
7062 * menubar-msw.c (update_frame_menubar_maybe):
7063 * menubar-msw.c (prune_menubar):
7064 * menubar-msw.c (msw_char_is_accelerator):
7065 * menubar-msw.c (unsafe_handle_wm_initmenu_1):
7066 * menubar-msw.c (mswindows_handle_wm_command):
7067 * menubar-msw.c (mswindows_handle_wm_initmenupopup):
7068 * menubar-msw.c (mswindows_handle_wm_initmenu):
7069 * menubar-msw.c (mswindows_update_frame_menubars):
7070 * menubar-msw.c (mswindows_free_frame_menubars):
7071 * menubar-msw.c (mswindows_popup_menu):
7072 Fixed a bug in handling accelerators where an extra character
7073 would be displayed in the menu item. Also generalized the
7074 function displayable_menu_item because it is now used by the
7075 dialog box code as well. And finally, added code in the functions
7076 that create the menubar to extract a list of accelerators for the
7077 top level menubar, which is used in the event code to determine
7078 whether a particular alt-key combination should be used to invoke
7079 a menu item, or should be passed through to access the standard
7080 XEmacs keymap binding for this key combination.
7082 Much needed GCPROing.
7085 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
7086 * menubar-x.c (menu_item_descriptor_to_widget_value):
7087 * menubar-x.c (restore_in_menu_callback):
7088 * menubar-x.c (x_popup_menu):
7089 * menubar-x.c (menu_move_up):
7090 * menubar-x.c (menu_move_down):
7091 * menubar-x.c (menu_move_left):
7092 * menubar-x.c (menu_move_right):
7093 * menubar-x.c (menu_select_item):
7094 * menubar-x.c (command_builder_operate_menu_accelerator):
7095 * menubar-x.c (menu_accelerator_junk_on_error):
7096 * menubar-x.c (command_builder_find_menu_accelerator):
7097 * menubar-x.c (Faccelerate_menu):
7099 Moved a whole bunch of code here that was previously in
7100 event-stream.c as described above. There is also code connected
7101 to the new standard of adding an accelerator to the beginning of
7102 menu items that don't have one as described above and below.
7105 * menubar.c (menu_parse_submenu_keywords):
7106 * menubar.c (Fmenu_find_real_submenu):
7107 * menubar.c (Fnormalize_menu_item_name):
7108 * menubar.c (syms_of_menubar):
7109 * menubar.c (vars_of_menubar):
7110 * menubar.c (complex_vars_of_menubar):
7112 a) Cleaned up a bunch of documentation and improved it.
7114 b) XEmacs now automatically adds an accelerator onto the beginning
7115 of any menu items that don't have one. I did this because there
7116 will inevitably be some menu items on the main menubar that don't
7117 have accelerators on them because the package that adds that
7118 particular menu item hasn't yet been fixed up to have accelerators
7119 in them and it looked rather strange to have some items with and
7120 some items without accelerators, especially since even in items
7121 without accelerators, you can, at least under windows, still
7122 access the item through an accelerator corresponding to the first
7123 character in the item's name. If people don't like this behavior,
7124 I can add a variable to turn it off optionally, but I'm not sure
7125 this is a good idea because we really do need to have accelerators
7126 on all of the menu items, and if a package doesn't like the
7127 accelerators being put on the first character, then it should put
7128 the accelerators where they belong.
7130 c) I made a behavior change, which is that the descriptor that
7131 specifies the text of the menu item, which formerly was just a
7132 string, can now also be an evaluated expression. This makes this
7133 descriptor parallel with all of the others, which could also be
7134 evaluated expressions. This also obviates the need for the
7135 keyword :label, which was previously listed in the documentation
7136 as unimplemented, and which was for the same purpose.
7141 * ntproc.c (new_child):
7142 * ntproc.c (sys_spawnve):
7143 * ntproc.c (find_child_console):
7144 * ntproc.c (sys_kill):
7145 Fixed compile warnings. By the way, this file should really go
7146 away entirely, and this will happen as soon as Kirill makes his
7147 final round of process cleanups, which affect the function
7151 * process-nt.c (struct nt_process_data):
7152 * process-nt.c (find_process_from_pid):
7153 * process-nt.c (send_signal_the_nt_way):
7154 * process-nt.c (enable_child_signals):
7155 * process-nt.c (find_child_console):
7156 * process-nt.c (send_signal_the_95_way):
7157 * process-nt.c (nt_finalize_process_data):
7158 * process-nt.c (ensure_console_window_exists):
7159 * process-nt.c (nt_create_process):
7160 * process-nt.c (nt_kill_child_process):
7161 * process-nt.c (nt_kill_process_by_pid):
7162 * process-nt.c (nt_open_network_stream):
7163 * process-nt.c (vars_of_process_nt):
7164 Copied over code from Emacs 20.5 to correctly send signals to sub-
7165 processes under Windows 95. Also added code to automatically
7166 create and hide console window when a sub-process is created under
7167 Windows 95, which obviates the need for the separate runemacs.exe
7168 executable, and finally implemented some variables that were
7169 implemented in Emacs 20.5, but previously not in XEmacs. These
7170 include mswindows- start-process-share-console and
7171 mswindows-start-process-inherit-error-mode. (Both of these only
7172 apply to Windows 95.)
7174 * regex.c (regex_compile): Fixed a compile warning.
7177 * select-msw.c (mswindows_own_selection):
7178 * select-msw.c (mswindows_get_foreign_selection):
7179 * select-msw.c (mswindows_disown_selection):
7180 * select-msw.c (console_type_create_select_mswindows):
7181 * select-msw.c (syms_of_select_mswindows):
7182 Cleaned up the file and implemented the device method
7183 selection_exists_p, which had accidentally been left out. Also
7184 removed four lisp functions that were remnants from before the
7185 time when the selection code was properly device abstracted.
7186 These functions are no longer needed because there are generic
7187 equivalents, and because they were added recently and don't exist
7188 in FSF Emacs, I don't think there's any problem with just deleting
7192 * sysdep.c (sys_subshell):
7193 Fixed a compile warning, although in this case there's probably
7194 something wrong with this code, and it ought to be looked into
7195 more thoroughly by somebody who understands it.
7198 * window.c (Fwindow_text_area_height):
7199 * window.c (Fwindow_width):
7200 * window.c (Fwindow_full_width):
7201 * window.c (Fwindow_pixel_width):
7202 * window.c (debug_print_window):
7203 * window.c (syms_of_window):
7204 Added functions window-text-area-height and window-full-width,
7205 which are functions for returning various width and height
7206 characteristics of a window. (One of these functions is necessary
7207 for making the file dialog box work correctly, and the other one
7208 was added for completeness.) Also added a table to the
7209 documentation for window-height which describes the entire scheme
7210 for accessing width and height characteristics of a window.
7212 2000-03-12 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
7214 * nt.c (fstat): Added a comment for another problem with
7215 non-encapsulated [f]stat(), reported by Adrian Aichner
7216 <aichner@ecf.teradyne.com>.
7218 2000-03-11 Andy Piper <andy@xemacs.org>
7220 * window.c (make_dummy_parent): initialize subwindow instance
7222 (Fset_window_configuration): zero extent_modiff.
7224 2000-03-10 Andy Piper <andy@xemacs.org>
7226 * redisplay.c (Fredraw_frame): reset the changed_set flags so that
7227 more changes can be triggered.
7228 (Fredisplay_frame): ditto.
7229 (Fredraw_device): ditto.
7230 (Fredisplay_device): ditto.
7231 (redisplay_frame): make non-static.
7232 (redisplay_frame): call update_frame_gutter_geometry outside of
7235 * gutter.h: declare update_frame_gutter_geometry.
7237 * redisplay.h: declare redisplay_frame.
7239 * gutter.c (update_frame_gutter_geometry): move geometry changes
7240 in update_frame_gutters here. Geometry changes can only occur
7241 outside of redisplay.
7242 (update_frame_gutters): remove geometry change code.
7243 (Fredisplay_gutter_area): make sure that we are in display when we
7244 update and that we have flushed any size changes.
7246 2000-03-11 Andy Piper <andy@xemacs.org>
7248 * alloc.c (pdump_dump_data): remove i & count shadows.
7250 2000-02-27 Mike Alexander <mta@arbortext.com>
7252 * sysdep.h: Declare pdump_read_file
7254 * sysdep.c (pdump_read_file): New function
7256 * alloc.c (pdump_load): Call pdump_read_file to get the portable
7259 2000-03-10 SL Baur <steve@musashimaru.m17n.org>
7261 * lrecord.h: add `lrecord_type_pgsetenv'.
7263 2000-03-08 SL Baur <steve@musashimaru.m17n.org>
7265 * symsinit.h: declare (vars|syms)_of* functions.
7266 * lrecord.h: add `lrecord_type_pgconn' and 'lrecord_type_pgresult'.
7268 2000-03-06 SL Baur <steve@musashimaru.m17n.org>
7270 * config.h.in: Add symbols HAVE_POSTGRESQL and HAVE_POSTGRESQLV7
7272 * inline.c: Include postgresql.h lrecord stuffs to placate buggy
7275 * emacs.c (main_1): Call postgres initialization code.
7277 * postgresql.h: New file. PostgreSQL RDBMS support.
7278 * postgresql.c: New file.
7280 2000-03-08 Yoshiki Hayashi <yoshiki@xemacs.org>
7282 * redisplay-output.c (redisplay_output_display_block): Disable
7285 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
7287 * mule-canna.c (Fcanna_henkan_region): Translate doc-string.
7288 (Fcanna_henkan_next): Ditto.
7289 (Fcanna_bunsetu_henkou): Ditto.
7290 (Fcanna_henkan_kakutei): Ditto.
7291 (Fcanna_henkan_end): Ditto.
7292 (Fcanna_henkan_quit): Ditto.
7293 (Fcanna_henkan_next): Set retun value correctly.
7294 (c2mu): Use unsigned char instead of signed char.
7296 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
7298 * emacs.c (main_1): Always call syms_of_gui.
7299 * inline.c: include gui.h
7301 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
7303 * redisplay.c (Vvisible_bell): Renamed from visible_bell and
7304 converted to Lisp_Object.
7305 (Qtop_bottom): New variable.
7306 (syms_of_redisplay): Initialize it.
7307 * redisplay.h (Vvisible_bell): Ditto.
7308 * sound.c (ding): Ditto and check if Vvisible_bell is nil.
7309 * redisplay-x.c (x_flash): When Vvisible_bell is top-bottom,
7310 only flash top and bottom.
7312 2000-03-08 Andy Piper <andy@xemacs.org>
7314 * buffer.c (Frename_buffer): record new buffer name the right way.
7316 2000-03-08 Andy Piper <andy@xemacs.org>
7318 * glyphs.c (update_subwindow): increase hash depth so that widget
7319 items get picked up properly.
7321 * redisplay-output.c (compare_runes): increase hash depth so that
7322 widget items get picked up properly.
7324 2000-03-08 Andy Piper <andy@xemacs.org>
7326 * gutter.c (output_gutter): add some debug.
7328 * glyphs.h (struct Lisp_Image_Instance): add display_hash.
7329 (IMAGE_INSTANCE_DISPLAY_HASH): new macro.
7330 (XIMAGE_INSTANCE_DISPLAY_HASH): ditto.
7332 * redisplay-output.c (compare_runes): use display_hash to
7333 determine if glyphs really are not the same.
7335 * glyphs.c (update_subwindow): check display_hash to see if
7336 anything really needs to be updated. If not then do
7337 nothing. Record the display_hash after updating.
7338 (image_instance_equal): compare the image_instance face also.
7340 2000-03-07 Yoshiki Hayashi <yoshiki@xemacs.org>
7342 * redisplay.h: Fix comment style.
7344 2000-03-08 Jonathan Harris <jhar@tardis.ed.ac.uk>
7346 * consle-msw.h (struct mswindows_frame):
7347 Added new member paint_pending to indicate whether a WM_PAINT
7348 magic event has been queued for this frame.
7350 * event-msw.c (mswindows_drain_windows_queue):
7351 Don't queue a WM_PAINT magic event if one is already queued.
7352 (emacs_mswindows_handle_magic_event): clear paint_pending flag.
7354 * frame-msw.c (mswindows_init_frame_1): initialise paint_pending flag.
7356 2000-03-07 Didier Verna <didier@xemacs.org>
7358 * dired.c: #include `regex.h' after `sysfile.h'.
7360 2000-03-06 Martin Buchholz <martin@xemacs.org>
7362 * sound.c (init_nas_sound): Fix compiler warning.
7364 * alloc.c (ALIASING_VOIDPP_DEREFERENCE): New.
7366 (MARK_STRUCT_AS_FREE):
7367 (MARK_STRUCT_AS_NOT_FREE):
7368 Make `gcc -fstrict-aliasing' work properly.
7370 2000-03-07 Jonathan Harris <jhar@tardis.ed.ac.uk>
7372 * device-msw.c (mswindows_finish_init_device): Call CoInitialize().
7373 (mswindows_delete_device): Call CoUnnitialize().
7375 * event-msw.c (mswindows_wnd_proc): WM_DROPFILES: Decode Shortcuts.
7377 2000-02-25 <CraigL@DyCon.com>
7379 * process-nt.c: MinGW now has <shellapi.h>, but still needs
7382 * sysdep.c: This extern declaration for environ prevents MinGW
7383 from finding the variable in CRTDLL.DLL.
7385 * s\mingw32.h (PBS_SMOOTH): Removed, now defined in cygwin's
7389 (_WIN32_IE): Added, needed to get the TCS_BOTTOM and TCS_VERTICAL
7391 (MMRESULT): Removed, now defined in cygwin's windows headers.
7393 (uid_t,gid_t,pid_t,ssize_t): ..
7394 (_timeb): Removed, MinGW defines both _timeb and timeb.
7395 (HAVE_H_ERRNO): Added.
7396 (HAVE_TZNAME): Added, configure is not detecting this.
7398 2000-02-03 IKEYAMA Tomonori <tomonori@suiyokai.org>
7400 * chartab.h (XCHAR_TABLE_VALUE_UNSAFE): New macro.
7401 * syntax.c (syntax_match): Use it.
7403 * cmds.c: Import auto-fill-chars from FSF Emacs.
7404 (Vauto_fill_chars): New variables.
7405 (internal_self_insert): Check Vauto_fill_chars.
7407 Declare auto-fill-chars as a Lisp variable and initialize it.
7409 2000-03-05 Jonathan Harris <jhar@tardis.ed.ac.uk>
7411 * fileio.c (Fmake_symbolic_link):
7413 Run handlers even if local machine doesn't have symlinks.
7415 2000-03-05 Jonathan Harris <jhar@tardis.ed.ac.uk>
7417 * event-msw.c (mswindows_drain_windows_queue):
7418 Don't generate paint magic events for non-XEmacs frames.
7420 2000-03-05 Andy Piper <andy@xemacs.org>
7422 * redisplay.c (redisplay_frame): generate_displayable_area and
7423 friends assumes that we are not in GC, we therefore have to make
7424 sure that this doesn't happen.
7426 * gutter.c (calculate_gutter_size): generate_displayable_area
7427 assumes that we are not in GC, we therefore have to make sure that
7428 this doesn't happen.
7430 2000-03-05 Martin Buchholz <martin@xemacs.org>
7432 * opaque.c (DEFINE_LRECORD_IMPLEMENTATION): opaque_ptr ==> opaque-ptr
7434 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
7436 * redisplay.c (regenerate_window): Make sure we set a sane value
7437 for end_pos even if we jump out of the loop.
7438 (regenerate_window): Answer Ben's question :-).
7439 (start_end_of_last_line): Add may_error argument.
7440 (start_of_last_line):
7441 (end_of_last_line): Pass may_error = 0.
7442 (end_of_last_line_may_error): New function.
7443 (pixel_to_glyph_translation): Use it, so we don't crash in
7446 2000-03-04 Andy Piper <andy@xemacs.org>
7448 * window.h (struct window): add gutter_extent_modiff.
7450 * window.c (allocate_window): zero out gutter_extent_modiff.
7452 * redisplay.h: declare sync_display_line_structs.
7454 * redisplay.c (add_glyph_rune): add a better comment.
7456 * redisplay-output.c (sync_display_line_structs): made non-static.
7457 (compare_runes): remove unneccesary glyph cachel access.
7459 * gutter.h: declare gutter_extent_signal_changed_region_maybe.
7461 * gutter.c (output_gutter): don't output the gutter if extent
7462 changes only involve extents in buffers. use 4 sets of display
7464 (gutter_extent_signal_changed_region_maybe): new function. Mark
7465 extents in gutters as changed.
7466 (update_frame_gutters): use 4 sets of display lines.
7467 (reset_gutter_display_lines): ditto.
7468 (free_frame_gutters): ditto.
7469 (redraw_exposed_gutter): force output of gutters.
7471 * frame.h (struct frame): add 4 sets of gutter display lines.
7473 * extents.c: (extent_changed_for_redisplay): signal changes to
7474 extents in strings in the gutter as well as extents in buffers.
7476 2000-03-02 Andy Piper <andy@xemacs.org>
7478 * gutter.c (specifier_vars_of_gutter): cosmetic changes.
7480 * frame.c (Fmake_frame): make sure the gutters get initialized
7481 after the frame is visible.
7482 (set_frame_selected_window): re-arrange compilation macros a
7484 (change_frame_size_1): mark gutters changed.
7486 * device.c (Fset_device_class): mark gutters changed.
7488 2000-03-01 Andy Piper <andy@xemacs.org>
7490 * window.c (window_top_frame_gutter_height): deleted.
7491 (window_bottom_frame_gutter_height): ditto.
7492 (window_left_frame_gutter_height): ditto.
7493 (window_right_frame_gutter_height): ditto.
7494 (window_top_gutter_height): don't use them.
7495 (window_bottom_gutter_height): ditto.
7496 (window_left_gutter_width): ditto.
7497 (window_right_gutter_width): ditto.
7498 (Fsplit_window): ditto.
7499 (Fwindow_pixel_edges): don't use border dimensions here.
7501 * scrollbar.c (update_scrollbar_instance): don't take gutters into account.
7502 (update_scrollbar_instance): ditto.
7504 * redisplay.c (generate_modeline): don't take gutters into account.
7505 (generate_modeline): ditto.
7506 (redisplay_frame): small gutter display optimization.
7508 * redisplay-x.c (x_output_vertical_divider): don't take gutters into account.
7510 * redisplay-msw.c (mswindows_output_vertical_divider): don't take
7511 gutters into account.
7513 * gutter.h (WINDOW_REAL_*_GUTTER_BOUNDS): remove bogus checks
7514 for window position and type.
7516 * gutter.c (get_gutter_coords): fix for frame gutters.
7517 (update_frame_gutters): update frame geometry if the gutters have
7519 (init_frame_gutters): record current gutter geometries.
7521 * glyphs-msw.c (mswindows_subwindow_instantiate): remove unused
7523 (mswindows_widget_instantiate): ditto.
7525 * frame.h (struct frame): add current_gutter_bounds.
7527 * frame.c (change_frame_size_1): position window and minibuffer
7528 appropriately taking into account the frame gutters.
7530 * frame-x.c: (x_initialize_frame_size): take into account the
7533 2000-02-29 Stephen J. Turnbull <stephen@xemacs.org>
7535 * emacs.c (data-directory): Xref `locate-data-file' in docstring.
7537 2000-02-29 Stephen J. Turnbull <stephen@xemacs.org>
7539 * alloc.c (dumpopaquevec): Increase dimension for --with-canna.
7541 1999-12-30 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
7543 * file-coding.c (reset_decoding_stream): Clear previous
7544 detection state when autodetect.
7546 2000-02-29 Didier Verna <didier@xemacs.org>
7548 * extents.c (set_extent_glyph_1): don't require extents to be
7551 2000-02-27 Andy Piper <andy@xemacs.org>
7553 * gutter.c (Fset_default_gutter_position): don't default left and
7554 right gutter visibility to t.
7555 (Fset_default_gutter_position): run
7556 default-gutter-position-changed-hook.
7557 (syms_of_gutter): add default-gutter-position-changed-hook.
7559 2000-02-26 Andy Piper <andy@xemacs.org>
7561 * specifier.c (Fmake_specifier): add gutter references.
7563 * gutter.h (RAW_WINDOW_GUTTER): new macro.
7565 * lisp.h: declare Fvalid_plist_p.
7567 * gutter.c (gutter_geometry_changed_in_window): mark the modeline
7569 (default_gutter_visible_p_changed_in_window): invalidate gutter as
7570 well as its visibility so that it gets reconstructed.
7571 (construct_window_gutter_spec): new function. Construct a string
7572 to be displayed in the gutter from a plist of strings. Take care
7573 to only use elements that are declared as visible.
7574 (calculate_gutter_size): use RAW_WINDOW_GUTTER instead of
7576 (gutter_validate): allow plists of strings in the specifier.
7577 (gutter_specs_changed): construct the real_gutter from the gutter
7578 specs using construct_window_gutter_spec.
7579 (gutter_visible_validate): gutter-visible is a new specifier type.
7580 (Fgutter_visible_specifier_p): new function for the new specifier.
7581 (syms_of_gutter): declare gutter-visible and
7582 Fgutter_visible_specifier_p.
7583 (specifier_type_create_gutter): intitalize new gutter-visible
7585 (reinit_specifier_type_create_gutter): ditto.
7586 (specifier_vars_of_gutter): use new specifier type for gutter
7588 (init_frame_gutters): construct real_gutter correctly.
7589 (Fgutter_specifier_p): beef up documentation.
7590 (Fgutter_size_specifier_p): ditto.
7592 * winslots.h: add real_gutter slots.
7594 2000-02-25 Andy Piper <andy@xemacs.org>
7596 * device-msw.c: Be kind to older cygwin versions. From Raymond
7597 Toy <toy@rtp.ericsson.se>.
7599 * gui-msw.c (Fmswindows_shell_execute): Remove things unknown to
7600 earlier cygwins. From Raymond Toy <toy@rtp.ericsson.se>.
7602 2000-02-25 Martin Buchholz <martin@xemacs.org>
7604 * elhash.c (MARK_OBJ): Practice macro hygiene.
7606 2000-02-24 Martin Buchholz <martin@xemacs.org>
7608 * miscplay.c: s/__inline__/inline/g;
7609 * glyphs-msw.c (set_mono_pixel): INLINE ==> static inline
7610 (get_device_compdc): INLINE ==> static inline
7611 * *.[ch]: Change INLINE to INLINE_HEADER globally.
7612 find -name '*.h' | \
7613 xargs global-replace \
7614 's/(^|(?<=[^A-Za-z0-9_]))INLINE((?=[^A-Za-z0-9_])|$)/INLINE_HEADER/g'
7616 2000-02-25 Andy Piper <andy@xemacs.org>
7618 * window.c (window_top_frame_gutter_height): new function.
7619 (window_top_window_gutter_height): ditto.
7620 (window_top_gutter_height): use them.
7621 (window_bottom_frame_gutter_height): new function.
7622 (window_bottom_window_gutter_height): ditto.
7623 (window_bottom_gutter_height): use them.
7624 (window_left_window_gutter_width): new function.
7625 (window_left_frame_gutter_width): ditto.
7626 (window_left_gutter_width): use them.
7627 (window_right_window_gutter_width): new function.
7628 (window_right_frame_gutter_width): ditto.
7629 (window_right_gutter_width): use them.
7630 (window_pixel_height): new function. calulate window pixel height
7631 with frame gutter involvement.
7632 (Fsplit_window): calculate new sizes taking frame gutters into
7634 (window_char_height_to_pixel_height): don't include frame gutters.
7635 (window_char_height): use window_pixel_height.
7636 (window_pixheight): rename from window_pixel_height.
7637 (change_window_height): use it.
7638 (window_pixel_height_to_char_height): don't include frame gutters.
7639 (window_char_width_to_pixel_width): ditto.
7641 2000-02-25 Andy Piper <andy@xemacs.org>
7643 * glyphs.h (IMAGE_INSTANCE_FACE): glyph might be nil, don't crash
7646 2000-02-24 Martin Buchholz <martin@xemacs.org>
7648 * alloc.c (staticpro):
7654 (compact_string_chars):
7656 Convert: if (foo) abort(); ==> assert (! foo);
7658 * eldap.c (Fldap_search_basic):
7662 Fix compiler warnings, and possible crashes if (random) return
7663 value were to be used.
7665 2000-02-21 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
7667 * device-msw.c: Workaround ResetDC failure.
7669 * frame-msw.c (msprinter_init_frame_3): Added an assertion before
7672 * redisplay-msw.c (get_frame_dc): Added start_page_p.
7673 (mswindows_text_width): Do not start printer page.
7675 * console-msw.h (CHECK_MSGDI_DEVICE): Added this and friends.
7677 * glyphs-msw.c: Added image methods to msprinter console and
7678 msprinter-specific image instantiation.
7680 2000-02-20 Mike Alexander <mta@arbortext.com>
7682 * select-msw.c (Fmswindows_set_clipboard): GC protect more things
7683 to avoid crashes when selection-sets-clipboard is on
7684 (mswindows_own_selection): ditto
7686 2000-02-19 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
7689 * redisplay-msw.c (get_frame_dc):
7692 * device-msw.c (mswindows_init_device):
7693 (mswindows_delete_device):
7694 (msprinter_init_device):
7695 (msprinter_delete_device):
7696 * frame-msw.c (mswindows_init_frame_1):
7697 (mswindows_delete_frame):
7698 (msprinter_init_frame_3):
7699 (msprinter_delete_frame): Move compatible DC to device object from
7700 frame object, for both mswindows and msprinter. Only one at a time
7701 is needed, it is a real waste to have one per frame!
7703 2000-02-23 Andy Piper <andy@xemacs.org>
7705 * glyphs.c: add dynamic width and height elements.
7706 (image_instance_equal): ditto.
7708 * glyphs-widget.c (widget_query_geometry): calculate width and
7709 height dynamically if required.
7710 (initialize_widget_image_instance): initialize dynamic dimensions.
7711 (widget_instantiate): pick-up dynamic dimensions.
7713 * glyphs.h (struct Lisp_Image_Instance): add width and height for
7714 dynamic determination. Add appropriate macros.
7716 * gutter.h (WINDOW_GUTTER_BORDER_WIDTH): make non-integer
7718 (WINDOW_GUTTER_SIZE): ditto.
7719 (WINDOW_GUTTER_SIZE_INTERNAL): ditto.
7721 * redisplay-msw.c (get_frame_compdc): gcc can't cope with this
7723 (get_frame_dc): ditto.
7725 * redisplay.h (GLOBAL_RESET_CHANGED_FLAGS): don't reset faces
7728 2000-02-23 Martin Buchholz <martin@xemacs.org>
7730 * XEmacs 21.2.31 is released.
7732 2000-02-22 Ben Wing <ben@xemacs.org>
7734 * ntheap.c (allocate_heap): Make sure `ptr' is initialized.
7736 2000-02-22 Andy Piper <andy@xemacs.org>
7738 * glyphs-x.c (x_widget_instantiate): don't explicitly resize here.
7740 2000-02-21 Mike Sperber <mike@xemacs.org>
7744 * Makefile.in.in: Remove obsolete EMACSBOOTSTRAP... environment
7747 2000-02-21 Mike Sperber <mike@xemacs.org>
7749 * s/aix4.h: Declare getaddrinfo broken for AIX 4, which it is.
7751 2000-02-21 Martin Buchholz <martin@xemacs.org>
7753 * XEmacs 21.2.30 is released.
7755 2000-02-20 Martin Buchholz <martin@xemacs.org>
7757 Performance hacking.
7759 Add INIT_LRECORD_IMPLEMENTATION macros, paired with
7760 DEFINE_LRECORD_IMPLEMENTATION macros in the same file.
7763 * console.c (DEFVAR_CONSOLE_LOCAL_1):
7764 * buffer.c (DEFVAR_BUFFER_LOCAL_1):
7765 * symeval.h (DEFVAR_SYMVAL_FWD):
7766 * symbols.c (guts_of_unbound_marker):
7767 Make all c_readonly objects also lisp_readonly and marked for life.
7768 * lrecord.h (struct lrecord_implementation):
7769 Document flags better.
7770 * lrecord.h (DEFINE_LRECORD_SEQUENCE_IMPLEMENTATION_WITH_PROPS):
7771 * lrecord.h (DECLARE_LRECORD):
7772 * lrecord.h (XSETRECORD):
7773 * lrecord.h (RECORDP):
7774 * lrecord.h (RECORD_TYPEP):
7775 * lrecord.h (RECORD_MARKER): New.
7776 * lrecord.h (error_check_*):
7777 * lrecord.h (CONCHECK_NONRECORD):
7778 * lrecord.h (MAKE_LRECORD_IMPLEMENTATION):
7779 * lrecord.h (INIT_LRECORD_IMPLEMENTATION): New.
7780 * lrecord.h (set_lheader_implementation):
7781 * lrecord.h (enum lrecord_type): New.
7782 * symeval.h (SYMBOL_VALUE_MAGIC_P):
7783 * alloc.c (disksave_object_finalization_1):
7784 * alloc.c (mark_object):
7785 * alloc.c (lrecord_type_index):
7786 * alloc.c (tick_lcrecord_stats):
7787 * alloc.c (Fgarbage_collect):
7788 * alloc.c (init_alloc_once_early):
7789 * alloc.c (pdump_load):
7790 * alloc.c (GC_CHECK_LHEADER_INVARIANTS): New.
7791 * alloc.c (lrecord_type_index): Delete.
7792 Make lisp object type indexes be constant.
7793 Makes (byte-compile) 5% faster.
7794 Put all marker functions into their own array.
7795 Makes (garbage-collect) 5% faster.
7796 Optimize SYMBOL_VALUE_MAGIC_P.
7797 Makes (byte-compile) 2-3% faster.
7798 * config.h.in (gc_checking_assert): New.
7799 * alloc.c: Use gc_checking_assert().
7800 * .dbxrc: Make compatible with new object type implementation.
7801 * .gdbinit: Make compatible with new object type implementation.
7802 * alloc.c: Delete all symbols defined only for debugging, such as
7803 Lisp_Type_Vector and lrecord_charset.
7805 2000-02-21 Andy Piper <andy@xemacs.org>
7807 * gui-msw.c (Fmswindows_shell_execute): fix file location
7810 * buffer.c (Fkill_buffer): remove buffer from alist buffer
7811 unshowing so that set_window_buffer doesn't undo
7812 kill_buffer_hook's hard work.
7814 * glyphs-widget.c (tab_control_query_geometry): don't count the
7815 first item when calculating geometry.
7817 * glyphs.c (map_subwindow): remove redundant code.
7818 (update_frame_subwindows): be more circumspect about when to
7821 * glyphs-x.c (x_update_widget): Properly fix sizing bug. Fix bug
7822 when items haven't changed. Update faces if faces have changed as
7823 well as just the widget face.
7824 (x_tab_control_update): Update faces if faces have changed as well
7825 as just the widget face.
7827 2000-02-21 Jonathan Harris <jhar@tardis.ed.ac.uk>
7829 * device-msw.c: (mswindows_delete_device): Remove redundant DDE
7831 (build_syscolor_string): Use mswindows_color_to_string to try to
7833 (mswindows_device_system_metrics): Reverse the foreground and
7834 background colors so that they match the documentation.
7836 * objects-msw.c: (mswindows_X_color_map): tweak some values so
7837 they match the default Windows palette.
7838 (mswindows_color_to_string): New function.
7840 2000-02-21 Jonathan Harris <jhar@tardis.ed.ac.uk>
7842 * s/windowsnt.h: Only use __declspec(noreturn) with MSVC>=6.
7844 2000-02-18 Olivier Galibert <galibert@pobox.com>
7846 * m/*, s/*: Removed obsolete DATA_SEG_BITS, PURE_SEG_BITS,
7847 WORD_MACHINE, SIGN_EXTEND_CHAR and EXPLICIT_SIGN_EXTEND.
7849 * symbols.c (init_symbols_once_early): Removed obsolete
7850 DATA_SEG_BITS related kludge.
7851 (defvar_magic): Ditto.
7853 * malloc.c: Removed obsolete DATA_SEG_BITS
7855 * mem-limits.h: Ditto.
7857 * Makefile.in.in: Removed obsolete HAVE_SHM
7860 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
7862 * device-msw.c (mswindows_delete_device): Free DDE string
7865 2000-02-16 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
7867 * keymap.c (get_keyelt):
7868 * unexnt.c (unexec):
7869 * vm-limit.c (memory_warnings):
7870 * ntheap.c (recreate_heap):
7871 * ntheap.h (UNINIT_PTR):
7872 * select-msw.c (Fmswindows_get_clipboard):
7873 (Fmswindows_set_clipboard):
7874 * objects-msw.h (MSWINDOWS_BAD_HFONT):
7876 * menubar-msw.c (displayable_menu_item):
7878 * glyphs-msw.h (IMAGE_INSTANCE_MSWINDOWS_MASK):
7879 * sysdep.c (sys_subshell):
7880 * process-nt.c (nt_create_process):
7881 * nt.c (normalize_filename):
7882 (dostounix_filename):
7883 (unixtodos_filename):
7884 * ntproc.c (win32_executable_type):
7885 * ntplay.c (play_sound_data_1):
7887 * editfns.c (get_home_directory):
7888 * event-msw.c (struct winsock_stream):
7889 (mswindows_dde_callback):
7890 * device-msw.c (msprinter_init_device):
7891 (msprinter_get_devmode_copy): Frobbed syntax frivolities.
7893 * toolbar-msw.c (mswindows_free_frame_toolbars): Paramters to
7894 mswindows_clear_toolbar were swapped!
7896 * objects-msw.c:(colormap_t):
7898 * emacs.c (struct standard_args): Fixed const jumble.
7900 * glyphs-widget.c (update_widget): Fixed comparison notation.
7902 * event-msw.c (mswindows_dde_callback): Removed extraneous ';'.
7904 * s\windowsnt.h (DOESNT_RETURN): Defined to support the MSVC
7905 __declspec(noreturn) syntax.
7907 2000-02-19 Martin Buchholz <martin@xemacs.org>
7909 * eldap.c (Fldap_open):
7910 (Fldap_search_basic):
7913 Use new coding system conversion macros.
7915 2000-01-06 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
7917 * console-tty.c (tty_init_console): Change MULE to FILE_CODING.
7919 1999-11-27 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
7921 * eldap.h (Fldap_search) Renamed from Fldap_search_internal:
7922 (Fldap_add, Fldap_modify, Fldap_delete): New functions
7924 * eldap.c (Qadd, Qreplace): New constant symbols
7925 (Fldap_open): Use the LDAP_OPT_RESTART option to avoid
7926 interruptions by XEmacs signals
7927 Remove unnecessary calls to slow_down_interrupts and
7929 (Fldap_search_basic): Renamed from Fldap_search_internal
7930 Added new optional parameter VERBOSE that triggers the
7931 display of progress messages
7932 Remove unnecessary calls to slow_down_interrupts and
7934 LDAP result code analysis rewritten
7935 (Fldap_add, Fldap_modify, Fldap_delete): New functions
7936 (syms_of_eldap): Define the new symbols and functions
7939 2000-02-17 Martin Buchholz <martin@xemacs.org>
7941 * realpath.c: Determine PATH_MAX maximally portably.
7943 * insdel.c (bytecount_to_charcount): Optimize.
7944 The function used to be optimized for entirely ASCII sequences.
7945 Now it is optimized for successive characters from the same
7946 charset. This also wins big for _mostly_ ASCII sequences.
7948 * fileio.c (Ffile_truename): convert return from realpath() using
7949 Qfile_name, not Qbinary. Fixes obvious bug with non-ASCII symlinks.
7950 - Rewrite GCPROing slightly.
7952 * sysdep.c (sys_open): Do filename conversion, like all other
7953 sys_* functions. Fixes bug:
7954 (let ((file-name-coding-system 'iso-8859-2))
7955 (write-region x y latin2-name))
7956 ==> writes filename using internal encoding.
7958 2000-02-18 Martin Buchholz <martin@xemacs.org>
7960 * buffer.c (DEFVAR_BUFFER_LOCAL_1): Turn on c_readonly. Always const.
7961 * console.c (DEFVAR_CONSOLE_LOCAL_1): Turn on c_readonly. Always const.
7962 * symeval.h (DEFVAR_SYMVAL_FWD): Turn on c_readonly. Always const.
7963 * eval.c (lrecord_subr): Remove this_one_is_unmarkable.
7964 * symbols.c (lrecord_symbol_value_forward): Remove this_one_is_unmarkable.
7965 * symbols.c (guts_of_unbound_marker): Turn on c_readonly.
7966 * lrecord.h (UNMARKABLE_LRECORD_HEADER_P): Delete.
7967 (CONST_IF_NOT_DEBUG): Delete.
7968 * alloc.c (this_one_is_unmarkable): Delete.
7969 (mark_object): Don't check for this_one_is_unmarkable. Use the
7970 c_readonly flag instead.
7971 * lisp.h (DEFUN): Define a Lisp_Subr as c_readonly.
7973 2000-02-18 Jonathan Harris <jhar@tardis.ed.ac.uk>
7975 * event-msw.c (mswindows_drain_windows_queue):
7976 (emacs_mswindows_handle_magic_event): Remove attempt to optimise
7977 away redundant repaint events.
7979 2000-02-17 Andy Piper <andy@xemacs.org>
7981 * redisplay.h: declare mark_redisplay_structs.
7983 * redisplay.c (redisplay_window):
7984 (redisplay_frame): don't check subwindows_state_changed.
7985 (mark_redisplay): mark gutters here.
7987 * glyphs.c: (instantiate_image_instantiator): always layout if we
7988 haven't done so already.
7989 (allocate_image_instance): don't mark as dirty.
7990 (update_subwindow): bind inhibit_quit.
7992 * gutter.c (mark_gutters): new function.
7994 * glyphs-x.c (x_update_widget): Always resize to get round a
7997 * glyphs-msw.c (mswindows_tab_control_update): remove `;' that was
7998 breaking absolutely everything.
8000 * gutter.h: declare mark_gutters.
8002 2000-02-16 Martin Buchholz <martin@xemacs.org>
8004 * XEmacs 21.2.29 is released.
8006 2000-02-15 Olivier Galibert <galibert@pobox.com>
8008 * fns.c (size_bit_vector): Fix computation of the size.
8010 2000-02-15 Martin Buchholz <martin@xemacs.org>
8012 * *.[ch]: Change CONST to const globally.
8013 find -name '*.[ch]' | \
8014 xargs global-replace \
8015 's/(^|(?<=[^A-Za-z0-9_]))CONST((?=[^A-Za-z0-9_])|$)/const/g'
8016 - Remove vestigial references to CONST_IS_LOSING
8018 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
8020 * event-msw.c (mswindows_drain_windows_queue): Remove hack to
8021 bailout early on quit. Enqueue WM_PAINT events as XEmacs magic
8022 events instead of dispatching them directly.
8023 (mswindows_handle_paint): New function to do repainting.
8024 (mswindows_wnd_proc):
8025 (emacs_mswindows_handle_magic_event): Call above function.
8027 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
8029 * objects-msw.c (mswindows_create_font_variant): Return the new
8031 (initialize_font_instance): Get font metrics from the underlined
8032 variant of the font to cope with the case where the underlined
8033 font has a bigger descent.
8035 2000-02-08 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
8037 * gui.c (gui_item_accelerator): Return the first underlined
8038 character in item name.
8040 2000-02-11 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
8042 * lisp.h: Added Qprinter.
8044 * general.c (syms_of_general): Initialized it.
8046 * redisplay-msw.c (get_frame_dc): Conditionally start a new page.
8048 (get_frame_compdc): Made inline.
8050 * console.h (struct console_methods): Added eject_page method.
8052 * frame.h: Added FRAME_DISPLAY_P and friends.
8053 Aligned backslahes in many macros in more readable fashion.
8054 Added page_number to struct frame, and an accessor macro
8057 * defice.h: Added DEVICE_DISPLAY_P and friends.
8059 * device.c (Fdevice_printer_p): Used these.
8061 * frame.c (allocate_frame_core): Initialize page number.
8062 (Fprint_job_page_number):
8063 (Fprint_job_eject_page): Implemented.
8065 * frame-msw.c (msprinter_eject_page): Added method.
8066 (msprinter_start_page): Added.
8068 * window.c (Fwindow_truncated_p): Fixed docstring.
8069 (Fwindow_last_line_visible_height): Implemented.
8071 2000-02-09 Yoshiki Hayashi <yoshiki@xemacs.org>
8073 * frame.c (change_frame_size_1): Undo 2000-02-03 change.
8075 1999-12-20 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
8077 * syntax.c (scan_words): Always advance at least one character.
8079 2000-02-13 Andy Piper <andy@xemacs.org>
8081 * redisplay.c (add_glyph_rune): call get_glyph_cachel_index here
8082 to make sure the glyph is in the cachels.
8084 * glyphs.h (struct Lisp_Image_Instance): make layout_changed a
8085 global image instance flag.
8086 (IMAGE_INSTANCE_NEEDS_LAYOUT): new macro.
8087 (XIMAGE_INSTANCE_NEEDS_LAYOUT): ditto.
8089 * glyphs.c (allocate_image_instance): set dirty bits correctly.
8090 (Fset_image_instance_property): mark layout as changed.
8091 (invalidate_glyph_geometry_maybe): mark layout as changed.
8092 (glyph_width): use new NEEDS_LAYOUT macro.
8093 (glyph_ascent): ditto.
8094 (glyph_descent): ditto.
8095 (glyph_height): ditto.
8096 (image_instance_layout): mark layout as clean after laying out.
8097 (update_subwindow): don't mark layout as clean here.
8099 * glyphs-x.h (IMAGE_INSTANCE_X_WIDGET_ID): undo C++ changes, they
8100 should no longer be needed.
8102 * glyphs-x.c (x_update_widget): sanitize asserts.
8103 (x_finalize_image_instance): sanitize assignment to widgets.
8105 * glyphs-widget.c (widget_instantiate): don't need to clear the
8108 2000-02-13 Martin Buchholz <martin@xemacs.org>
8110 * sysdep.c (getcwd): Use standard prototype.
8111 * sysdep.h (getcwd): Use standard prototype.
8113 * fns.c (Fsubseq): Change parameters to more natural ANSI Lisp
8114 (sequence, start, end).
8115 Remove redundant type checking.
8116 (Fmapconcat): Remove useless GCPRO, a wrong-headed attempt (in
8117 view of `caller-protects') to avoid a crash where the real fix was
8120 2000-02-12 Martin Buchholz <martin@xemacs.org>
8122 * glyphs-x.c (x_finalize_image_instance): Compile error fixes.
8124 * s/sol2.h: Remove feature macro initialization.
8126 * alloc.c (alloc_lcrecord): Add more type checking assertions.
8127 (vector_hash): New. Code from internal_hash.
8129 Fix up allocation subsystem comments.
8131 * config.h.in: Add __EXTENSIONS__ for Solaris.
8133 * systime.h (EMACS_GETTIMEOFDAY): New.
8134 (EMACS_GET_TIME): Use EMACS_GETTIMEOFDAY.
8135 Remove Solaris-specific code.
8136 Use void* for the (ignored) second arg for gettimeofday().
8138 * elhash.c (hash_table_hash): Implement it, finally.
8139 * elhash.c: Use hashcode_t.
8141 * linuxplay.c (sighandler): Fix prototypes to use SIGTYPE.
8142 * sunplay.c (sighandler): Fix prototype to use SIGTYPE.
8144 * lisp.h (STRETCHY_STRUCT_SIZEOF): Delete.
8145 * fns.c (size_bit_vector):
8146 * alloc.c (size_vector):
8147 (make_vector_internal):
8148 (make_bit_vector_internal):
8149 (sweep_bit_vectors_1):
8150 Replace calls to STRETCHY_STRUCT_SIZEOF with offsetof expression.
8152 2000-02-10 Martin Buchholz <martin@xemacs.org>
8154 * s/aix4.h: #define MAP_FAILED if sys/mman.h didn't.
8155 Include strings.h to avoid warnings for bzero and strcasecmp.
8157 2000-02-10 Olivier Galibert <galibert@pobox.com>
8159 * alloc.c: Move STRETCHY_STRUCT_SIZEOF from here...
8160 * lisp.h (STRETCHY_STRUCT_SIZEOF): ...to here
8162 * fns.c (size_bit_vector): New. Declare bit vectors as a
8165 2000-02-10 Olivier Galibert <galibert@pobox.com>
8167 * symeval.h (struct symbol_value_magic): Remove "next" kludge and
8168 use a value field instead.
8169 (symbol_value_forward_forward): Use value field.
8170 (DEFVAR_SYMVAL_FWD): Use value field.
8171 (DEFVAR_SYMVAL_FWD_INT): Added. Dumps the int with dumpopaque.
8172 (DEFVAR_INT): Use DEFVAR_SYMVAL_FWD_INT.
8173 (DEFVAR_CONST_INT): Ditto.
8174 (DEFVAR_BOOL): Ditto.
8175 (DEFVAR_CONST_BOOL): Ditto.
8176 (DEFVAR_INT_MAGIC): Ditto.
8177 (DEFVAR_BOOL_MAGIC): Ditto.
8179 * symbols.c (guts_of_unbound_marker): Use value field.
8180 * console.c (DEFVAR_CONSOLE_LOCAL_1): Ditto.
8181 * buffer.c (DEFVAR_BUFFER_LOCAL_1): Ditto.
8183 * lisp.h: Declare dumpopaque and noninteractive1.
8185 * alloc.c (dumpopaque): Added.
8186 (pdump_dump_opaquevec): Added.
8187 (pdump): Call pdump_dump_opaquevec to dump opaque data.
8188 (pdump_load): Reload opaque data. Sync noninteractive1 with
8191 2000-02-10 Andy Piper <andy@xemacs.org>
8193 * glyphs.c (image_instance_layout): if the size changes, mark it
8196 * redisplay-output.c (redisplay_output_layout): Update the
8198 (redisplay_output_subwindow): ditto.
8200 * glyphs.c (update_subwindow): make sure we reset flags for
8201 layouts as well as everything else.
8203 * glyphs-widget.c (layout_layout): don't need to set the instances
8206 2000-02-09 Martin Buchholz <martin@xemacs.org>
8208 * device-x.c (x_init_device): Wrap calls to dll_* in HAVE_SHLIB,
8209 not HAVE_DLOPEN, which is a lower-level thing.
8211 * .cvsignore: Ignore gmon.out
8213 2000-02-09 Hamish Macdonald <hamishm@lucent.com>
8215 * .cvsignore: Ignore portable dumper xemacs.dmp file
8217 2000-02-09 Andy Piper <andy@xemacs.org>
8219 * redisplay-output.c (redisplay_output_layout): be more clever
8220 about when we output based on the changed flags.
8222 * glyphs.h (struct image_instantiator_methods): add update_method.
8223 (struct Lisp_Image_Instance): add changed flags. Declare new
8224 macros for manipulating them.
8226 * glyphs.c (allocate_image_instance): renamed glyph -> parent.
8227 (image_instance_parent_glyph): find an image_instance's parent
8228 glyph or image_instance.
8229 (image_instance_layout): mark the size as changed.
8230 (set_image_instance_dirty_p): new function. mark an image
8231 instance, plus all of its parents, as dirty.
8232 (Fset_image_instance_property): use it.
8233 (Fglyph_animated_timeout_handler): use it.
8234 (update_subwindow): call update_widget and device methods for
8235 update_subwindow. Mark all changed flags as clean.
8236 (Fresize_subwindow): mark size as changed.
8238 * glyphs-x.c (x_finalize_image_instance): try and detect gc
8240 (x_update_subwindow): only resize subwindows here.
8241 (x_update_widget): new function. Update all changed properties of
8243 (x_resize_subwindow): deleted.
8244 (x_widget_set_property): deleted.
8245 (x_progress_gauge_set_property): deleted.
8246 (x_progress_gauge_update): new function. Implement recorded
8248 (x_tab_control_update): ditto.
8249 (x_tab_control_set_property): deleted.
8250 (console_type_create_glyphs_x): declare new functions.
8251 (image_instantiator_format_create_glyphs_x): ditto.
8253 * glyphs-widget.c (widget_set_property): mark text changed.
8254 (update_widget): new function. Update properties of a widget.
8255 (widget_instantiate): for layouts make sure we set their
8256 children's parent correctly.
8257 (tab_control_set_property): new function. Record changes that will
8258 take place under redisplay's control.
8259 (progress_gauge_set_property): ditto.
8260 (image_instantiator_progress_guage): declare new functions.
8261 (image_instantiator_tab_control): ditto.
8263 * glyphs-msw.c (mswindows_update_subwindow): just do resizing here
8265 (mswindows_update_widget): new function. Update all properties on
8266 a widget that have changed.
8267 (mswindows_button_update): new function. Update a button's set
8269 (mswindows_tab_control_update): new function. Update the items in
8271 (mswindows_tab_control_set_property): deleted.
8272 (mswindows_progress_gauge_update): new function. Update the
8273 progress gauge's progress.
8274 (mswindows_widget_set_property): deleted. This is all done
8276 (mswindows_progress_gauge_set_property): ditto.
8277 (console_type_create_glyphs_mswindows): declare new methods.
8278 (image_instantiator_format_create_glyphs_mswindows): ditto.
8280 * frame-msw.c (msprinter_init_frame_1): Remove unused variables.
8281 (msprinter_set_frame_properties): ditto.
8283 * console.h (struct console_methods): Add update_widget_method.
8285 2000-02-09 Andy Piper <andy@xemacs.org>
8287 * gui-msw.c (Fmswindows_shell_execute): Make
8288 mswindows-shell-execute industrial strength.
8290 2000-02-08 Martin Buchholz <martin@xemacs.org>
8292 * lrecord.h: Make macro argument `props' match member function `plist'.
8296 * fns.c (Fobject_plist):
8299 Object property list frobbing cleanup.
8300 - Allow any lisp object (compared with `eq'), not just symbols, as
8301 keys in object plists.
8302 - Move symbol plist frobbing into symbols.c, where it belongs.
8303 - Move string plist frobbing into alloc.c, where it belongs.
8304 - Everything's an lrecord now, so no need to test for symbolp, etc.
8305 - Fix up doc strings to refer to PROPERTY, not PROPNAME.
8307 * extents.c: Reorder code to remove declarations.
8309 * frame.h (store_in_alist): Remove useless declaration.
8311 2000-02-07 Martin Buchholz <martin@xemacs.org>
8313 * event-Xt.c (x_has_keysym): Use XConvertCase only if available.
8314 * config.h.in: Add HAVE_XCONVERTCASE.
8316 2000-02-07 Andy Piper <andy@xemacs.org>
8318 * glyphs.c (image_instance_layout): undo 2000-01-29 change since
8319 it breaks many things.
8321 2000-02-07 Jan Vroonhof <vroonhof@math.ethz.ch>
8323 * src/syntax.h (SYNTAX_START_P): Check whether the two chars
8324 actually can start a common comment type.
8325 * src/syntax.h (SYNTAX_END_P): ditto for end.
8327 2000-02-07 Martin Buchholz <martin@xemacs.org>
8329 * XEmacs 21.2.28 is released.
8331 2000-02-06 Martin Buchholz <martin@xemacs.org>
8333 * event-Xt.c (x_keysym_to_character): New.
8334 (maybe_define_x_key_as_self_inserting_character): New.
8335 (x_has_keysym): New.
8336 Auto-define all keys on the keyboard as self-insert-key.
8338 2000-02-02 Martin Buchholz <martin@xemacs.org>
8340 * menubar.c (vars_of_menubar): A small code simplification.
8342 * minibuf.c (echo_area_append): Workaround egcs-20000131 c++ compiler bug
8349 Use consistent style for specifying X resources.
8351 * symbols.c (Fset): Further implement SYMVAL_LISP_MAGIC.
8352 This makes (dontusethis-set-symbol-value-handler) actually usable.
8354 * lrecord.h (lrecord_decription_type):
8355 * alloc.c (pdump_register_sub):
8358 Add XD_LISP_OBJECT_ARRAY to describe multiple Lisp_Objects.
8359 Comply with XEmacs coding style.
8360 All lrecord descriptions updated to use XD_LISP_OBJECT with 2
8361 args, and XD_LISP_OBJECT_ARRAY with 3 args.
8363 * keymap.c (Faccessible_keymaps):
8364 Make (accessible-keymaps map "\C-h") do the Right Thing.
8365 Make (accessible-keymaps map []) do the Right Thing.
8366 Make (accessible-keymaps map "") do the Right Thing.
8367 (check_keymap_definition_loop): New function.
8368 (keymap_store_internal): Keep luser from shooting self in foot,
8369 via (define-key ctl-x-4-map "p" global-map).
8370 Remove fullness slot from struct Lisp_Keymap, since hash tables
8372 (print_keymap): Remove 'Yuck' factor by simply printing "size %d".
8374 2000-01-30 Martin Buchholz <martin@xemacs.org>
8376 * redisplay.c (init_redisplay): Fix small memory leak.
8378 * elhash.c (pdump_reorganize_hash_table):
8379 Rename from reorganize_hash_table. Change prototype.
8380 Reuse the original memory for hentries. Save 100k.
8381 * alloc.c (PDUMP_READ): new macro.
8382 * alloc.c (pdump_load): Replace LISP_TO_VOID with higher-level macros.
8383 * alloc.c: No need to #ifndef before #undef.
8385 * print.c: Allow debug_print() to print readably by modifying
8386 debug_print_readably. Use consistent variable names.
8388 * .dbxrc: Try to get things to work even if stopped in a function
8389 without source available by explicitly specifying source files.
8390 2000-02-03 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
8392 * unexnt.c (_start): Removed bogus code which caused loading heap
8393 from differrent executable file.
8394 Removed bogus assignment to _fmode, which caused inconsistencies.
8396 2000-02-03 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
8398 * s\windowsnt.h: Removed lots of #if 0 blocks of Emacs heritage.
8399 Have spawnve encapsulation regard DONT_ENCAPSULATE.
8400 Do not preliminary `#define signal sigset'.
8402 * systime.h: Do not prototype environ on windows nt and cygwin,
8403 this conflicts with system header.
8405 * syssignal.h: Use correct define for WINDOWSNT
8407 * sysdep.h: Do not prototype environ on windows nt, this conflicts
8410 * sysdep.c (near start of file): Fixed commentary and rearranged
8411 ifdefs in readable order.
8412 (NEED_STARTS): Do not force NEED_STARTS when PDUMPing.
8415 (end_of_data): Do not compile in if using PDUMP.
8417 * symsinit.h: Prototyped vars_of_nt().
8419 * ntproc.c (windows9x_p): Added, instead of os_subtype.
8420 (find_child_console): Use it.
8423 * ntheap.h: Do not extern os_subtype.
8425 * ntheap.c (cache_system_info): Do not cache unneeded:
8426 nt_major_version, nt_minor_version and os_subtype.
8427 (recreate_heap): Do not compile in when PDUMPing.
8429 * nt.c (geteuid and friends): Use the new varibale
8430 nt_fake_unix_uid, instead of hashing fake uid out of NT RID.
8431 (init_user_info): Removed the above mentioned hackery.
8432 (fstat, stat): Do not compile in if using MSVC 5.0 and above -
8433 stat has been fixed in the C runtime.
8434 (vars_of_nt): Added, defined the nt_fake_unix_uid variable there.
8436 * file-coding.c (struct file_coding_dump): Do not define
8437 ucs_to_mule_table in the struct if not MULE.
8438 (struct struct lrecord_description fcd_description_1): Do not dump
8441 * emacs.c (main_1): Call vars_of_nt().
8442 (right before Fdump_emacs_data): Don't need lastfile if using both
8443 portabe dumper and system malloc.
8445 * alloc.c (Fmemory_limit): Conditionalized out.
8446 (pdump): Use OPEN_BINARY for the portable dump file.
8447 (pdump_load): Ditto.
8449 2000-02-02 Mike Alexander <mta@arbortext.com>
8451 * nt.c (convert_time): Set tm_isdst before calling mktime and
8452 avoid calling it at all if the compiler supports 64 bit integers.
8453 Also initialize utc_base_ft before using it.
8455 2000-02-03 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
8457 * frame.c (change_frame_size_1): Take f->internal_border_width
8458 into consideration when calculating the width of the frame.
8460 2000-02-01 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
8462 * window.c (frame_min_height):
8463 (frame_size_valid_p):
8464 (frame_pixsize_valid_p): Added.
8465 (check_frame_size): Generalized.
8467 * window.h: Prototyped the above.
8470 * general.c: Added Qbottom_margin, Qduplex, Qlandscape,
8471 Qleft_margin, Qorientation, Qportrait, Qright_margin, Qtop_margin.
8472 Deleted Vwin32_* and Vbinary_process_* unused variables.
8474 * device-msw.c (msprinter_init_device): Do not get printer font
8475 list; Added DEVMODE functions.
8477 * frame-msw.c: Added lots of printer code.
8479 * faces.c: Moved 'left-margin and 'right-margin defsymbols to
8482 * console-msw.h: Added more msprinter device private slots.
8484 2000-02-01 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
8486 * event-msw.c (key_needs_default_processing_p): Added.
8487 (mswindows_wnd_proc, WM_KEYUP, KEYDOWN): Call it.
8489 2000-01-29 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
8491 * glyphs.c (image_instance_layout): Mark image instance as clean
8493 (glyph_dirty_p): Removed redundant function.
8494 (invalidate_glyph_geometry_maybe): Added.
8495 (update_glyph_cachel_data): Call it.
8497 * glyphs.h: Prototyped it.
8499 * redisplay.c (add_glyph_rune): Call it.
8500 (redisplay_window): Reset glyphs cachels when frame faces have
8501 changed, thus forcing recomputation of built-in border glyphs.
8503 2000-01-30 Martin Buchholz <martin@xemacs.org>
8505 * Makefile.in.in: Make portable dumper and purify play well together.
8506 Add imperfect, but better than nothing, support for pdump.
8507 Remove xemacs.dmp when temacs is re-generated.
8508 Don't ignore errors when dumping xemacs.
8510 * symbols.c (maybe_call_magic_handler): Remove one magic number.
8512 2000-01-28 Andy Piper <andy@xemacs.org>
8514 * frame.c (allocate_frame_core): Use new Fset_window_buffer signature.
8515 (setup_normal_frame): ditto.
8516 (setup_frame_without_minibuffer): ditto.
8517 (setup_minibuffer_frame): ditto.
8518 (delete_frame_internal): ditto.
8519 (Fmake_frame_invisible): ditto.
8520 (Ficonify_frame): ditto.
8522 * window.h: change Fset_window_buffer signature.
8524 * window.c (Fsplit_window): Use new Fset_window_buffer signature.
8525 (Fset_window_buffer): allow recording of buffer if the window is
8526 the selected window.
8527 (window_loop): Use new Fset_window signature.
8529 2000-01-23 Daniel Pittman <daniel@danann.net>
8531 * config.h.in: Added template for `HAVE_ATHENA_3D'
8533 2000-01-29 Andy Piper <andy@xemacs.org>
8535 * glyphs-x.c (x_resize_subwindow): Try and catch bogus resizes.
8537 * gutter.c (output_gutter): Don't output if the window isn't live.
8539 2000-01-28 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
8541 * glyphs-msw.c (mswindows_unmap_subwindow): Fix of corrupted patch
8542 of 01/12/00: Moved SetFocus back here where it belongs.
8544 2000-01-23 Andy Piper <andy@xemacs.org>
8546 * s/cygwin32.h: declare printer things.
8548 2000-01-26 Andy Piper <andy@xemacs.org>
8550 * select.c (Fown_selection_internal): GCPRO bug fix from Mike
8553 2000-01-24 Andy Piper <andy@xemacs.org>
8555 * glyphs-msw.c (mswindows_locate_pixmap_file): Expand filename.
8556 (mswindows_button_instantiate): Make sure glyph is a pixmap.
8558 * glyphs-widget.c (widget_instantiate): Avoid shadows.
8560 * frame-msw.c (msprinter_init_frame_3): Nuke warning.
8562 * glyphs-msw.c: (mswindows_string_to_color): remove declaration.
8564 * redisplay-msw.c (mswindows_output_cursor): Avoid shadows.
8565 (mswindows_output_display_block): Avoid local shadows.
8567 * event-msw.c (mswindows_enqueue_magic_event): Avoid shadows.
8568 (mswindows_enqueue_mouse_button_event): ditto.
8569 (mswindows_handle_gui_wm_command): remove declaration.
8571 * console-msw.c (mswindows_canonicalize_console_connection): Avoid
8574 * console-msw.h: Avoid shadows.
8575 (mswindows_get_toolbar_button_text):
8576 (emacs_mswindows_create_stream_pair):
8577 (emacs_mswindows_delete_stream_pair):
8578 (mswindows_handle_toolbar_wm_command): declare.
8580 * device-msw.c (build_syscolor_string): Avoid shadows.
8582 2000-01-23 Andy Piper <andy@xemacs.org>
8584 * glyphs-widget.c (widget_instantiate): reverse the items for
8585 layouts so that children are in the expected order.
8587 2000-01-28 Martin Buchholz <martin@xemacs.org>
8589 * ralloc.c: safe_bcopy ==> memmove
8590 * gmalloc.c: Remove MEMMOVE_MISSING conditional code.
8591 * s/msdos.h: Remove BCOPY macros.
8592 * insdel.c (gap_right): Remove BCOPY conditional code.
8593 * insdel.c (gap_left): Remove BCOPY conditional code.
8594 XEmacs demands a working ANSI C compiler - hence memmove.
8596 * regex.c (regex_compile): Remove accidental use of trigraphs.
8598 2000-01-27 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
8600 * event-msw.c (mswindows_enqueue_misc_user_event): Initialize
8603 2000-01-26 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
8605 * event-msw.c (mswindows_drain_windows_queue): Added the
8607 (mswindows_need_event): Commented the call to
8608 mswindows_drain_windows_queue().
8609 (emacs_mswindows_quit_p): Lookup the windows for keyboard messages
8612 * console-msw.h: Moved a few function prototypes here from
8615 * gui-msw.c (mswindows_handle_gui_wm_command): Changed the ID
8616 parameter from unsigned short to unsigned long.
8617 (Fmswindows_shell_execute): Added return value.
8619 2000-01-27 URA Hiroshi <ura@hiru.aoba.yokohama.jp>
8621 * sysdep.c (init_system_name):
8622 process-unix.c (unix_canonicalized_host_name):
8623 Don't call freeaddrinfo() if getaddrinfo() fails.
8625 * process-unix.c (unix_open_unix_network_stream):
8626 Moved the code to get a port # into address loop.
8628 2000-01-27 Martin Buchholz <martin@xemacs.org>
8630 * buffer.c (reinit_vars_of_buffer):
8631 The right place to initialize conversion_in_dynarr and
8632 conversion_out_dynarr.
8634 * alloc.c (pdump): Use the real open() till sys_open() is functional.
8636 * process-unix.c (unix_canonicalize_host_name): Muleize.
8637 (unix_open_network_stream): Muleize.
8639 * buffer.h: Fix up prototypes for ralloc.c functions.
8641 2000-01-27 URA Hiroshi <ura@hiru.aoba.yokohama.jp>
8642 * config.h.in: added HAVE_GETADDRINFO and HAVE_GETNAMEINFO
8643 * sysdep.c: In init_system_name(), add code to use getaddrinfo()
8644 instead of gethostbyname()
8645 * process-unix.c: In unix_canonicalize_host_name() and
8646 unix_open_network_stream(), add code to use getaddrinfo()
8647 instead of gethostbyname().
8649 2000-01-27 Daniel Pittman <daniel@danann.net>
8651 * device-x.c (x_init_device): Warn at run-time if using Athena 3d
8652 libs when built with flat Athena.
8654 2000-01-27 Martin Buchholz <martin@xemacs.org>
8656 * ralloc.c: Replace SIZE (conflicts with Windows headers) with size_t.
8657 Use coding standards for function prototypes.
8659 2000-01-25 Martin Buchholz <martin@xemacs.org>
8661 * dialog-msw.c (push_lisp_string_as_unicode):
8662 * doc.c (unparesseuxify_doc_string):
8663 * dired.c (Fuser_name_completion_1):
8664 * dired.c (Fuser_name_all_completions):
8665 * dired.c (free_user_cache):
8666 * dired.c (user_name_completion):
8667 * console-x.c (get_display_arg_connection):
8668 * minibuf.c (clear_echo_area_internal):
8669 * minibuf.c (echo_area_append):
8670 * eldap.c (Fldap_open):
8671 * eldap.c (Fldap_search_internal):
8672 * frame-x.c (x_set_frame_text_value):
8673 * frame-x.c (x_set_frame_properties):
8674 * frame-x.c (x_create_widgets):
8675 * redisplay-tty.c (term_get_fkeys_1):
8676 * objects-x.c (x_parse_nearest_color):
8677 * objects-x.c (x_valid_color_name_p):
8678 * objects-x.c (x_initialize_font_instance):
8679 * objects-x.c (x_list_fonts):
8680 * objects-x.c (x_find_charset_font):
8681 * tooltalk.c (Fadd_tooltalk_message_arg):
8682 * tooltalk.c (Fadd_tooltalk_pattern_attribute):
8683 * tooltalk.c (Fadd_tooltalk_pattern_arg):
8684 * process-unix.c (unix_create_process):
8685 * ntproc.c (sys_spawnve):
8686 * sound.c (Fplay_sound_file):
8687 * sound.c (Fplay_sound):
8688 * buffer.c (init_initial_directory):
8689 * buffer.c (init_buffer):
8690 * editfns.c (init_editfns):
8691 * editfns.c (Ftemp_directory):
8692 * editfns.c (Fuser_full_name):
8693 * editfns.c (uncache_home_directory):
8694 * editfns.c (get_home_directory):
8695 * editfns.c (Fuser_home_directory):
8696 * editfns.c (Fformat_time_string):
8697 * editfns.c (Fcurrent_time_string):
8698 * gui-x.c (button_item_to_widget_value):
8699 * database.c (Fopen_database):
8700 * event-Xt.c (x_to_emacs_keysym):
8701 * event-Xt.c (x_event_to_emacs_event):
8702 * event-Xt.c (describe_event_window):
8703 * event-msw.c (mswindows_wnd_proc):
8704 * glyphs-eimage.c (jpeg_instantiate):
8705 * glyphs-eimage.c (gif_instantiate):
8706 * glyphs-eimage.c (png_instantiate):
8707 * glyphs-eimage.c (tiff_instantiate):
8708 * glyphs-x.c (xbm_instantiate_1):
8709 * glyphs-x.c (x_xbm_instantiate):
8710 * glyphs-x.c (x_xface_instantiate):
8711 * glyphs-x.c (autodetect_instantiate):
8712 * glyphs-x.c (cursor_font_instantiate):
8713 * glyphs-x.c (x_widget_instantiate):
8714 * glyphs-x.c (x_widget_set_property):
8715 * glyphs-x.c (x_widget_property):
8716 * glyphs-x.c (BUILD_GLYPH_INST):
8717 * print.c (write_string_to_stdio_stream):
8718 * print.c (output_string):
8719 * print.c (Falternate_debugging_output):
8720 * print.c (Fexternal_debugging_output):
8721 * glyphs-msw.c (extract_xpm_color_names):
8722 * glyphs-msw.c (mswindows_xpm_instantiate):
8723 * glyphs-msw.c (bmp_instantiate):
8724 * glyphs-msw.c (resource_name_to_resource):
8725 * glyphs-msw.c (mswindows_resource_instantiate):
8726 * glyphs-msw.c (xbm_instantiate_1):
8727 * glyphs-msw.c (mswindows_xbm_instantiate):
8728 * glyphs-msw.c (mswindows_xface_instantiate):
8729 * glyphs-msw.c (mswindows_widget_instantiate):
8730 * glyphs-msw.c (add_tree_item):
8731 * glyphs-msw.c (add_tab_item):
8732 * glyphs-msw.c (mswindows_combo_box_instantiate):
8733 * glyphs-msw.c (mswindows_widget_property):
8734 * glyphs-msw.c (mswindows_combo_box_property):
8735 * glyphs-msw.c (mswindows_widget_set_property):
8736 * console.c (stuff_buffered_input):
8737 * objects-msw.c (mswindows_initialize_color_instance):
8738 * objects-msw.c (mswindows_valid_color_name_p):
8739 * objects-msw.c (mswindows_list_fonts):
8740 * objects-msw.c (mswindows_font_instance_truename):
8741 * bytecode.c (optimize_compiled_function):
8742 * select-x.c (symbol_to_x_atom):
8743 * select-x.c (x_atom_to_symbol):
8744 * select-x.c (hack_motif_clipboard_selection):
8745 * select-x.c (selection_data_to_lisp_data):
8746 * select-x.c (lisp_data_to_selection_data):
8747 * select-x.c (Fx_get_cutbuffer_internal):
8748 * select-x.c (Fx_store_cutbuffer_internal):
8749 * buffer.h (TO_EXTERNAL_FORMAT): New function.
8750 * buffer.h (TO_INTERNAL_FORMAT): New function.
8751 * emacs.c (make_arg_list_1):
8752 * emacs.c (make_argc_argv):
8754 * emacs.c (Fdump_emacs):
8755 * emacs.c (split_string_by_emchar_1):
8760 * device-x.c (x_init_device):
8761 * device-x.c (Fx_valid_keysym_name_p):
8762 * device-x.c (Fx_get_font_path):
8763 * device-x.c (Fx_set_font_path):
8764 * glyphs.c (bitmap_to_lisp_data):
8765 * glyphs.c (pixmap_to_lisp_data):
8766 * alloc.c (make_ext_string): Use coding system arguments. Update
8768 * alloc.c (build_string):
8769 * callproc.c (child_setup):
8770 * callproc.c (init_callproc):
8771 * fileio.c (lisp_strerror):
8772 * fileio.c (directory_file_name):
8773 * fileio.c (Fexpand_file_name):
8774 * fileio.c (Ffile_truename):
8775 * fileio.c (Fsysnetunam):
8776 * fileio.c (Fdo_auto_save):
8777 * sysdep.c (sys_readdir):
8778 * tests.c: New file. Allow adding C tests.
8779 Replace GET_* macros with a more comprehensible and flexible
8780 interface, TO_INTERNAL_FORMAT() and TO_EXTERNAL_FORMAT().
8782 Any coding system can be used to do format conversion.
8783 Eliminate enum external_data_format.
8784 Eliminate convert_to_external_format.
8785 Eliminate convert_to_internal_format.
8786 Make sure file-name, keyboard, terminal, and ctext are always
8787 defined as coding systems or aliases. Make
8788 file-name-coding-system, terminal-coding-system, and
8789 keyboard-coding-system magical variables that are equivalent to
8790 defining the corresponding coding system aliases.
8792 * file-coding.c (Fcoding_system_canonical_name_p): New function.
8793 * file-coding.c (Fcoding_system_alias_p): New function.
8794 * file-coding.c (Fcoding_system_aliasee): New function.
8795 * file-coding.c (append_suffix_to_symbol): New function.
8796 * file-coding.c (dangling_coding_system_alias_p): New function.
8797 * file-coding.c (Ffind_coding_system):
8798 * file-coding.c (Fcopy_coding_system):
8799 * file-coding.c (encode_coding_no_conversion):
8800 * file-coding.c (syms_of_file_coding):
8801 * file-coding.c (vars_of_file_coding):
8802 Rewrite coding system alias code.
8803 Allow nested aliases, like symbolic links.
8804 Allow redefinition of coding system aliases.
8805 Prevent existence of dangling coding system aliases.
8807 * dired.c (Fuser_name_completion_1):
8808 * dired.c (Fuser_name_all_completions):
8809 A crash would happen if user did QUIT in the middle of building
8810 user_name_cache. Remove redundant code in mainline and unwind_protect.
8813 * dynarr.c (Dynarr_min_size): Make static. Increase value to 8.
8815 * lstream.c (make_fixed_buffer_input_stream): Take a void *, not
8816 an unsigned char *. Update all callers.
8818 2000-01-26 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
8820 * callproc.c (Fcall_process_internal): Ignore Vbinary-process_output.
8822 2000-01-25 Martin Buchholz <martin@xemacs.org>
8824 * elhash.c (hentry_description): Use more portable definition.
8825 (resize_hash_table): Initialize new hentries using
8826 xnew_array_and_zero, thereby simplifying the code.
8828 * mule-charset.c (make_charset): Make sure entire object is
8829 initialized, to avoid Purify warnings.
8831 * alloc.c (resize_string): Fix unlikely crash with big strings.
8833 2000-01-24 Martin Buchholz <martin@xemacs.org>
8835 * realpath.c (xrealpath):
8838 2000-01-25 Martin Buchholz <martin@xemacs.org>
8840 * lread.c (read_bit_vector): Fix memory leak reading literal bit vectors.
8842 1999-12-28 Max Matveev <max@melbourne.sgi.com>
8844 * unexelfsgi.c (unexec): Change the way we decide which segment
8847 Assumption that .bss section should be outside the PT_LOADable
8848 segment. On IRIX with version 6.2 and above, .bss (or .sbss, if
8849 it's present) is inside the 'data' segment. This would fail the
8850 test which was used to find a segment to grow and cover new
8851 heap. Instead of this assumption, I created another one - on IRIX
8852 the segment to grow should start below .bss and it's address
8853 should extent above the end of .bss. Once this segment is
8854 identified, it's grown to accommodate the new heap and new
8855 zero-length .bss section is added at the end of .data2.
8857 2000-01-25 Martin Buchholz <martin@xemacs.org>
8859 * eval.c (Feval): Wrong number of arguments should use original
8860 function, not the indirect_function version of it.
8862 2000-01-24 Yoshiki Hayashi <yoshiki@xemacs.org>
8864 * glyphs-x.c (x_button_instantiate): Don't add image if
8866 (x_locate_pixmap_file): Call Fexpand_file_name when file name
8869 2000-01-21 Yoshiki Hayashi <yoshiki@xemacs.org>
8871 * symeval.h (DEFVAR_LISP_MAGIC): Remove semicolon after macro
8873 (DEFVAR_INT_MAGIC): Ditto.
8874 (DEFVAR_BOOL_MAGIC): Ditto.
8875 * glyphs.h: Reindent backslash.
8877 2000-01-24 Martin Buchholz <martin@xemacs.org>
8879 * glyphs-widget.c (layout_query_geometry):
8880 (layout_layout): Use correct types for gheight, gwidth.
8882 2000-01-24 Martin Buchholz <martin@xemacs.org>
8884 * EmacsManager.c (QueryGeometry): Purified.
8886 2000-01-23 Martin Buchholz <martin@xemacs.org>
8888 * alloc.c (make_float): Make sure entire object is initialized, to
8889 avoid Purify warnings.
8890 (pdump_register_sub): Remove useless assignment.
8891 (pdump): Use xmalloc, not malloc.
8892 (pdump_load): Use xmalloc, not malloc.
8894 2000-01-23 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
8901 * sysdep.c: Removed redundant #include <windows.h>
8903 2000-01-22 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
8905 * frame.c (delete_frame_internal): Do not delete device when its
8906 implementation so declares.
8907 (delete_frame_internal): Set device selected frame to nil when
8908 last frame goes away.
8910 * device-msw.c (msprinter_device_system_metrics): Implemented.
8911 (mswindows_device_system_metrics): Added 'device-dpi property.
8913 * device.c: (Fdevice_printer_p): Added.
8914 Added 'offset-workspace device metric.
8916 * console.h (device_metrics): Declared DM_offset_workspace.
8918 2000-01-23 Martin Buchholz <martin@xemacs.org>
8920 * fileio.c (Ffile_truename): Remove pointless and confusing
8921 initialization of elen.
8923 * glyphs-widget.c: Compiler warning fixes.
8925 2000-01-23 Gunnar Evermann <ge204@eng.cam.ac.uk>
8927 * process.h (PROCESS_LIVE_P): Modify to take a Lisp_Process
8928 instead of a Lisp_Object as argument to make it consistent with
8929 the other LIVE_P macros.
8930 (CHECK_LIVE_PROCESS): New macro.
8932 * process.c: Declare Qprocess_live_p.
8933 (Fprocess_live_p): New function.
8934 (create_process): Use PROCESS_LIVE_P.
8935 (read_process_output): Ditto.
8936 (set_process_filter): Ditto.
8937 (Fdelete_process): Ditto.
8938 (kill_buffer_processes): Ditto
8939 (process_send_signal): Use CHECK_LIVE_PROCESS.
8940 (Fprocess_input_coding_system): Check whether process is still
8941 alive (fix PR#1061).
8942 (Fprocess_output_coding_system): Ditto.
8943 (Fprocess_coding_system): Ditto.
8944 (Fset_process_input_coding_system): Ditto.
8945 (Fset_process_output_coding_system): Ditto.
8947 2000-01-23 Andy Piper <andy@xemacs.org>
8949 * glyphs.h (struct Lisp_Image_Instance): change format by unifying
8952 * glyphs.c (mark_image_instance): take into account changed
8953 image_instance format.
8954 (image_instance_equal): ditto.
8955 (image_instance_hash): ditto.
8957 * glyphs-widget.c (widget_instantiate): Incorporate layout
8958 instantiation here. Delay layout of the layout until later.
8959 (layout_instantiate): deleted.
8960 (layout_query_geometry): new function. get the geometry of a
8962 (layout_layout): layout a layout dynamically.
8963 (image_instantiator_widget): New function - splitting up
8964 image_instantiator_format_create_glyphs_widget for netwinder
8966 (image_instantiator_buttons):
8967 (image_instantiator_edit_fields):
8968 (image_instantiator_combo_box):
8969 (image_instantiator_scrollbar):
8970 (image_instantiator_progress_guage):
8971 (image_instantiator_tree_view):
8972 (image_instantiator_tab_control):
8973 (image_instantiator_labels):
8974 (image_instantiator_layout): ditto.
8975 (image_instantiator_format_create_glyphs_widget): Call preceding
8978 2000-01-22 Martin Buchholz <martin@xemacs.org>
8980 * process.c (Fset_process_coding_system):
8981 * device-x.c (Fx_keysym_hash_table):
8984 * lstream.c (Lstream_write): Return documented value, not 0.
8986 * fileio.c (directory_file_name):
8987 (Fsubstitute_in_file_name):
8988 (Fsubstitute_insert_file_contents_internal):
8989 (Fwrite_region_internal):
8994 Remove vestigial APOLLO-conditional code.
8996 2000-01-21 Martin Buchholz <martin@xemacs.org>
8998 * getpagesize.h: Add guard macros.
8999 * libsst.h: Add guard macros.
9000 * libst.h: Add guard macros.
9001 * line-number.h: Add guard macros.
9002 * ndir.h: Add guard macros.
9003 * sysfloat.h: Add guard macros.
9004 * sysfile.h: Add guard macros.
9005 * sysproc.h: Add guard macros.
9006 * syswait.h: Add guard macros.
9007 * xintrinsic.h: Add guard macros.
9008 * xintrinsicp.h: Add guard macros.
9009 * xmmanager.h: Add guard macros.
9010 * xmmanagerp.h: Add guard macros.
9011 * xmprimitive.h: Add guard macros.
9012 * xmu.h: Add guard macros.
9013 * gpmevent.h: Add copyright statement. Add guard macros.
9014 * miscplay.h: Add guard macros.
9015 * *.h: Use consistent C-standards-approved guard macro names.
9017 * opaque.c (make_opaque): Switch parameter order.
9018 * opaque.h (make_opaque): Switch parameter order.
9020 * buffer.h (MAKE_MIRROR_TRT_TABLE): Use symbolic constant OPAQUE_CLEAR.
9022 * config.h.in (type_checking_assert): Added.
9023 (bufpos_checking_assert): Added.
9025 2000-01-21 Martin Buchholz <martin@xemacs.org>
9027 * alloc.c: Harmless pdump changes.
9029 - spell alignment correctly.
9030 * sysdep.c: Use countof()
9032 2000-01-20 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
9034 * console.c (create_console): Use CONMETH_OR_GIVEN when calling
9035 initially_selected_for_input() console method, default to 0.
9036 (semi_canonicalize_console_connection): Try to delegate to
9037 canonicalize_console_connection if no such console method.
9038 (canonicalize_console_connection): Vice versa.
9039 (print_console): Do not print nil connection.
9041 * console.h (XDEVIMPF_IS_A_PRINTER): Added.
9042 (XDEVIMPF_NO_AUTO_REDISPLAY): Added.
9043 (XDEVIMPF_FRAMELESS_OK): Added.
9044 (CONSOLE_INHERITS_METHOD): Added.
9046 * console-msw.c (mswindows_canonicalize_console_connection):
9048 (mswindows_canonicalize_device_connection): Added.
9050 * console-msw.h (struct msprinter_device): Added this struct and
9052 (mswindows_device): Made fontlist a lisp object.
9054 * device.c (semi_canonicalize_device_connection): Try to delegate
9055 to canonicalize_device_connection if no such console method.
9056 (canonicalize_device_connection): Vice versa.
9057 (print_device): Do not print nil connection.
9059 * device-msw.c (mswindows_init_device): Call InitCommonControls
9061 (mswindows_delete_device): Removed fontlist deallocation.
9062 (mswindows_mark_device): Added.
9064 * events.c (event_equal): Added abort() at unreached code.
9065 (event_hash): Ditto.
9067 * faces.c (complex_vars_of_faces): Added Qmsprinter to the list of
9068 fallback tags of Windows devices.
9070 * general.c (syms_of_general): Initialized Qmsprinter.
9072 * gutter.c (complex_vars_of_gutters): Added Qmsprinter to the list
9073 of fallback tags of Windows devices.
9075 * lisp.h: Declared Qmsprinter.
9077 * objects-msw.c (font_enum_callback_2): Rewrote to build lisp list
9079 (mswindows_list_fonts): Ditto.
9080 (mswindows_enumerate_fonts): Removed dependency on XDEVICE, so
9081 that it can be used by both mswindows and msprinter devices.
9082 (initialize_font_instance): Added.
9083 (mswindows_initialize_font_instance): Use it.
9084 (msprinter_initialize_font_instance): Added.
9086 * redisplay.c (redisplay_device): Added the parameter AUTOMATIC
9087 and implementation flags check.
9088 (redisplay_without_hooks): Changed the call to the above.
9089 (Fredraw_device): Ditto.
9090 (Fredisplay_device): Ditto.
9092 * redisplay-msw.c (get_frame_dc): Implemented.
9093 (get_frame_compdc): Implemented.
9094 (many functions): Use the two functions above to get device
9095 contexts, ether for a window or a printer.
9097 2000-01-21 Olivier Galibert <galibert@pobox.com>
9099 * symbols.c (reinit_symbols_once_early): Put Qzero/Qnull_pointer
9100 initialization here.
9101 (init_symbols_once_early): Call it.
9102 * emacs.c (main_1): Call it.
9103 * symsinit.h: Declare it.
9105 2000-01-19 Olivier Galibert <galibert@pobox.com>
9107 * alloc.c: Use a lrecord_header * in the backtrace instead of a
9109 (pdump_backtrace): Ditto.
9110 (pdump_register_object): Ditto. Cleanup use of the pointers.
9111 (pdump_get_entry): Abort if trying to register a null pointer.
9112 (pdump_dump_data): Cleanup types when relocating.
9113 (pdump_dump_staticvec): Cleanup types w.r.t the reloc table.
9114 (pdump_dump_rtables): Remove bad casts.
9115 (pdump_load): Cleanup relocation w.r.t union type. Use a
9116 Lisp_Object instead of a EMACS_INT for the hashtable
9119 2000-01-20 Martin Buchholz <martin@xemacs.org>
9121 * emacs.c (main_1): Rearrange morass of #ifdef's for correctness.
9123 * callproc.c (call_process_cleanup): Isolate WINDOWSNT code for clarity.
9125 * EmacsManager.c (GeometryManager): Avoid use of CPP for clarity.
9127 * *.[ch]: global-replace 's/_of_xselect/_of_select_x/g' *.[ch]
9129 2000-01-17 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
9131 * faces.h (FACE_STRIKETHRU_P): Added.
9133 * glyphs-msw.c (mswindows_widget_hfont): Implemented, to take care
9136 * redisplay-msw.c (mswindows_apply_face_effects): Deleted.
9137 (mswindows_set_dc_font): New function, aware of font variants,
9138 separated from mswindows_update_dc.
9140 * objects-msw.h (struct mswindows_font_instance_data): Added
9143 * objects-msw.c (mswindows_finalize_font_instance): Delete all
9144 cached fonts and the data structure.
9145 (mswindows_initialize_font_instance): Added creation of font data
9147 (mswindows_print_font_instance): Print at least something.
9148 (mswindows_create_font_variant): Implemented.
9149 (mswindows_get_hfont): Implemented.
9151 2000-01-13 Fabrice Popineau <Fabrice.Popineau@supelec.fr>
9153 * dired-msw.c: permute "sysdir.h" with "sysfile.h" because of
9154 prototyping problem with msvc.
9156 * emacs.c (main_1): added syms_of_gui_mswindows() call
9158 * gui-msw.c: added "mswindows-shell-execute" lisp subr and
9159 syms_of_gui_mswindows() function
9161 * symsinit.h: added the prototype for syms_of_gui_mswindows()
9163 2000-01-18 Martin Buchholz <martin@xemacs.org>
9165 * XEmacs 21.2.27 is released.
9167 2000-01-18 Martin Buchholz <martin@xemacs.org>
9169 * glyphs-eimage.c (struct tiff_error_struct):
9171 (tiff_warning_func):
9172 #if HAVE_VSNPRINTF ==> #ifdef HAVE_VSNPRINTF
9177 * unexec.c: Remove vestigial Lucid C code.
9182 Remove declarations of errno and strerror().
9184 * eval.c (Fbacktrace): Small Purify-cation. Fix docstring.
9186 * .dbxrc (run-temacs): Use the horrible ${1+"$@"} instead of "$@".
9188 2000-01-16 Martin Buchholz <martin@xemacs.org>
9190 * mule-charset.c (Fchar_octet): Resurrect from earlier in 1999.
9193 2000-01-14 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
9198 Change enum eol_type to eol_type_t.
9200 2000-01-17 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
9202 * gui.c (get_gui_callback): Check cons before accessing car.
9204 2000-01-17 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
9206 * specifier.h (XSPECIFIER_TYPE): Add error checking version.
9207 (XSETSPECIFIER_TYPE): Ditto.
9209 2000-01-17 Didier Verna <didier@xemacs.org>
9211 * redisplay.c (generate_fstring_runes): compute string size in
9212 characters, not bytes.
9214 2000-01-09 Hrvoje Niksic <hniksic@iskon.hr>
9216 * window.c (Fwindow_minibuffer_p): Make WINDOW optional.
9218 2000-01-14 Hrvoje Niksic <hniksic@iskon.hr>
9220 * print.c (print_error_message): Call print_prepare().
9222 2000-01-14 Martin Buchholz <martin@xemacs.org>
9224 * .dbxrc: Renamed from dbxrc.
9226 * events.c (event_to_character):
9227 Use `assert (foo)' instead of `if (!foo) abort()'
9229 * .gdbinit (xtype): Add documentation.
9230 * .gdbinit (check-temacs): New function.
9231 * .gdbinit (check-xemacs): New function.
9232 * dbxrc (check-xemacs): New function.
9233 * dbxrc (check-xemacs): New function.
9235 2000-01-14 Andy Piper <andy@xemacs.org>
9237 * glyphs-widget.c (widget_query_geometry): Make sure that we
9238 calculate default dimensions correctly.
9240 2000-01-13 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
9242 * symsinit.h: Added prototype for reinit_vars_of_frame_mswindows.
9244 * event-msw.c (vars_of_event_mswindows): Fixed a mistyped
9245 pdump_wire'd variable.
9247 * emacs.c: (main_1): Conditionalized calls to
9248 reinit_vars_of_scrollbar_x and reinit_vars_of_module.
9250 2000-01-13 Martin Buchholz <martin@xemacs.org>
9252 * window.c (Fset_window_configuration):
9253 * sysdep.c (_start):
9254 * input-method-motif.c (res):
9255 * event-Xt.c (Xt_process_to_emacs_event):
9256 Simple compiler warning fixes.
9258 * bytecode.c (funcall_compiled_function): Use the original
9259 function symbol on the backtrace list in preference to the
9260 compiled_function object in error messages.
9262 2000-01-13 Andy Piper <andy@xemacs.org>
9264 * glyphs-x.c (update_widget_face): Make sure we update the widget
9265 background as well as foreground.
9267 2000-01-13 Andy Piper <andy@xemacs.org>
9269 * glyphs.h (struct Lisp_Image_Instance): Move justify and orient
9270 fields to subwindow.
9271 (IMAGE_INSTANCE_SUBWINDOW_JUSTIFY): new macro.
9272 (XIMAGE_INSTANCE_SUBWINDOW_JUSTIFY): ditto.
9273 (IMAGE_INSTANCE_SUBWINDOW_ORIENT): ditto.
9274 (XIMAGE_INSTANCE_SUBWINDOW_ORIENT): ditto.
9276 * glyphs-widget.c (check_valid_tab_orientation): new function.
9277 (initialize_widget_image_instance): zero orientation and
9279 (widget_instantiate): pick up orientation.
9280 (tab_control_query_geometry): return appropriate values for
9283 * glyphs-msw.c: (mswindows_tab_control_instantiate): assign
9284 appropriate creation flags for left, right and bottom tabs.
9286 * s/cygwin32.h: add tab definitions.
9288 2000-01-12 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
9290 * glyphs-msw.c (mswindows_unmap_subwindow): Set focus back to the
9291 frame upon hiding a subwindow.
9292 (mswindows_button_instantiate): Changed the push button style to
9294 (mswindows_button_instantiate): Removed button BS_NOTIFY
9296 (mswindows_button_instantiate): Removed redundant check for
9297 a disabled gui item.
9298 (mswindows_button_instantiate): Made use of WS_TABSTOP
9299 consistent: "operable" controls (edit, button, tree, scroll) have
9300 this style, "display-only" ones (static, progress gauge) do
9301 not. This style is currently ignored by XEmacs though. Also,
9302 removed the WS_EX_CONTROLPARENT style - it is not for children,
9303 it is for their parents!
9304 (mswindows_edit_field_instantiate): Ditto.
9305 (mswindows_progress_gauge_instantiate): Ditto.
9306 (mswindows_tree_view_instantiate): Ditto.
9307 (mswindows_tab_control_instantiate): Ditto.
9308 (mswindows_scrollbar_instantiate): Ditto.
9309 (mswindows_combo_box_instantiate): Ditto.
9310 (mswindows_widget_instantiate): Added the WS_EX_CONTROLPARENT
9311 style to the "clip" window.
9312 (mswindows_button_instantiate): Removed compilation warning by
9313 equally typing terms of the ?: operator.
9315 2000-01-12 Didier Verna <didier@xemacs.org>
9317 * redisplay.c (generate_fstring_runes): new parameter holding the
9318 last modeline-format extent.
9319 (add_glyph_to_fstring_db_runes): new parameter holding the glyph
9320 extent, fill the glyph block with it.
9321 (generate_fstring_runes): handle these parameters.
9322 (generate_formatted_string_db): ditto.
9324 * keymap.c (get_relevant_keymaps): retreive the keymaps from the
9325 glyphs'extents in the modeline.
9327 1999-01-11 Mike Woolley <mike@bulsara.com>
9329 * ntheap.c: Reduced the reserved heap space from 1Gb down to
9330 256Mb, as a workaround for the non-starting problem many people
9333 2000-01-06 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
9335 * console-tty.c (Fset_console_tty_output_coding_system):
9336 Force redrawing tty frame.
9338 2000-01-10 Didier Verna <didier@xemacs.org>
9340 * redisplay.c (generate_fstring_runes): fix size computation bug.
9342 2000-01-09 William M. Perry <wmperry@aventail.com>
9344 * gpmevent.c: (gpm_next_event_cb): Don't return value from void function.
9346 2000-01-09 Andy Piper <andy@xemacs.org>
9348 * glyphs-msw.c: index -> i to avoid shadows.
9349 (xbm_create_bitmap_from_data): make static.
9350 (check_valid_string_or_int): deleted.
9351 (mswindows_control_wnd_proc): message -> msg to avoid shadows.
9353 * glyphs-x.c (x_update_subwindow): remove unused args.
9355 * glyphs.c (glyph_image_instance): return the thing. Don't set the
9356 back pointer - this is done in allocate_image_instance.
9357 (query_string_font): return Qnil to make the compiler happy.
9358 (unmap_subwindow): set to ~0 to make the compiler happy.
9359 (glyph_query_geometry): comment out until used.
9360 (glyph_layout): ditto.
9362 2000-01-09 Hrvoje Niksic <hniksic@iskon.hr>
9364 * insdel.c (signal_after_change): Remove extraneous unbind_to().