comparison src/ChangeLog @ 854:1d8fb2eee1bb

[xemacs-hg @ 2002-05-28 16:06:58 by didierv] Fix header inclusion order
author didierv
date Tue, 28 May 2002 16:07:03 +0000
parents 2b6fa2618f76
children 211050afdc9a
comparison
equal deleted inserted replaced
853:2b6fa2618f76 854:1d8fb2eee1bb
1 2002-05-28 Didier Verna <didier@xemacs.org>
2
3 * emacs.c: comment the inclusion order of syssignal.h and sysproc.h.
4 * filelock.c: ditto.
5 * nt.c: ditto.
6 * sysproc.h: ditto.
7 * process-nt.c: ditto.
8 * process-unix.c: include syssignal.h before sysproc.h.
9 * process.c: ditto.
10 * sysdep.c: ditto.
11 * win32.c: ditto.
12
1 2002-05-28 Ben Wing <ben@xemacs.org> 13 2002-05-28 Ben Wing <ben@xemacs.org>
2 14
3 ================================================================ 15 ================================================================
4 ALLOW SEPARATION OF STDOUT AND STDERR IN PROCESSES 16 ALLOW SEPARATION OF STDOUT AND STDERR IN PROCESSES
5 ================================================================ 17 ================================================================
6 18
7 Standard output and standard error can be processed separately in 19 Standard output and standard error can be processed separately in
8 a process. Each can have its own buffer, its own mark in that buffer, 20 a process. Each can have its own buffer, its own mark in that buffer,
9 and its filter function. You can specify a separate buffer for stderr 21 and its filter function. You can specify a separate buffer for stderr
33 * sysdep.c (wait_for_termination): 45 * sysdep.c (wait_for_termination):
34 * Makefile.in.in (objs): 46 * Makefile.in.in (objs):
35 * process-unix.c (child_setup): 47 * process-unix.c (child_setup):
36 Delete callproc.c. Move child_setup() to process-unix.c. 48 Delete callproc.c. Move child_setup() to process-unix.c.
37 wait_for_termination() now only needed on a few really old systems. 49 wait_for_termination() now only needed on a few really old systems.
38 50
39 * console-msw.h: 51 * console-msw.h:
40 * event-Xt.c (emacs_Xt_select_process): 52 * event-Xt.c (emacs_Xt_select_process):
41 * event-Xt.c (emacs_Xt_unselect_process): 53 * event-Xt.c (emacs_Xt_unselect_process):
42 * event-Xt.c (emacs_Xt_create_io_streams): 54 * event-Xt.c (emacs_Xt_create_io_streams):
43 * event-Xt.c (emacs_Xt_delete_io_streams): 55 * event-Xt.c (emacs_Xt_delete_io_streams):
129 fairly clear as they involve duplicating what's used for reading 141 fairly clear as they involve duplicating what's used for reading
130 the normal stdout and changing for stderr -- although tedious, 142 the normal stdout and changing for stderr -- although tedious,
131 as such changes are required throughout the entire process code. 143 as such changes are required throughout the entire process code.
132 Rewrote the code that reads process output to do two loops, one 144 Rewrote the code that reads process output to do two loops, one
133 for stdout and one for stderr. 145 for stdout and one for stderr.
134 146
135 * gpmevent.c (get_process_infd): 147 * gpmevent.c (get_process_infd):
136 * gpmevent.c (Fgpm_enable): 148 * gpmevent.c (Fgpm_enable):
137 * tooltalk.c: 149 * tooltalk.c:
138 * tooltalk.c (init_tooltalk): 150 * tooltalk.c (init_tooltalk):
139 set_process_filter takes an argument for stderr. 151 set_process_filter takes an argument for stderr.
339 with {begin/end}_dont_check_for_quit(). This completely turns off 351 with {begin/end}_dont_check_for_quit(). This completely turns off
340 the mechanism that checks (and may remove or alter) C-g in the 352 the mechanism that checks (and may remove or alter) C-g in the
341 read-ahead queues, so we just get the C-g normal. 353 read-ahead queues, so we just get the C-g normal.
342 354
343 Signal.c documents this very carefully. 355 Signal.c documents this very carefully.
344 356
345 * cmdloop.c (Fcommand_loop_1): 357 * cmdloop.c (Fcommand_loop_1):
346 Correct use of dont_check_for_quit to new scheme, remove old 358 Correct use of dont_check_for_quit to new scheme, remove old
347 out-of-date comments. 359 out-of-date comments.
348 360
349 * event-stream.c (maybe_echo_keys): 361 * event-stream.c (maybe_echo_keys):
360 * event-stream.c (lookup_command_event): 372 * event-stream.c (lookup_command_event):
361 * event-stream.c (Fread_key_sequence): 373 * event-stream.c (Fread_key_sequence):
362 * event-stream.c: 374 * event-stream.c:
363 * event-stream.c (event_stream_next_event): 375 * event-stream.c (event_stream_next_event):
364 Fix C-g handling to actually work. 376 Fix C-g handling to actually work.
365 377
366 * device-x.c (get_device_from_display): 378 * device-x.c (get_device_from_display):
367 * device-x.c (x_error_handler): 379 * device-x.c (x_error_handler):
368 * device-x.c (x_IO_error_handler): 380 * device-x.c (x_IO_error_handler):
369 Disable quit checking when err out. 381 Disable quit checking when err out.
370 382
390 ================================================================ 402 ================================================================
391 403
392 free_cons() now takes a Lisp_Object not the result of XCONS(). 404 free_cons() now takes a Lisp_Object not the result of XCONS().
393 car and cdr have been renamed so that they don't get used directly; 405 car and cdr have been renamed so that they don't get used directly;
394 go through XCAR(), XCDR() instead. 406 go through XCAR(), XCDR() instead.
395 407
396 * alloc.c (Fcons): 408 * alloc.c (Fcons):
397 * alloc.c (free_cons): 409 * alloc.c (free_cons):
398 * alloc.c (free_list): 410 * alloc.c (free_list):
399 * alloc.c (free_alist): 411 * alloc.c (free_alist):
400 * dired.c (file_name_completion_unwind): 412 * dired.c (file_name_completion_unwind):
418 * lread.c (various): 430 * lread.c (various):
419 * lisp.h (struct Lisp_Cons): 431 * lisp.h (struct Lisp_Cons):
420 * lisp.h (cons_car): 432 * lisp.h (cons_car):
421 Correct free_cons calling convention: now takes Lisp_Object, 433 Correct free_cons calling convention: now takes Lisp_Object,
422 not Lisp_Cons 434 not Lisp_Cons
423 435
424 * chartab.c (word_boundary_p): 436 * chartab.c (word_boundary_p):
425 Eliminate direct use of ->car, ->cdr, should be black box. 437 Eliminate direct use of ->car, ->cdr, should be black box.
426 438
427 439
428 * callint.c (quotify_args): 440 * callint.c (quotify_args):
429 Rewrote using EXTERNAL_LIST_LOOP to avoid use of Lisp_Cons. 441 Rewrote using EXTERNAL_LIST_LOOP to avoid use of Lisp_Cons.
430 442
431 ================================================================ 443 ================================================================
432 USE INTERNAL-BIND-* 444 USE INTERNAL-BIND-*
433 ================================================================ 445 ================================================================
434 446
435 * eval.c (restore_lisp_object): 447 * eval.c (restore_lisp_object):
436 * eval.c (restore_int): 448 * eval.c (restore_int):
437 Cleanups of these funs. 449 Cleanups of these funs.
438 450
439 * alloc.c (begin_gc_forbidden): 451 * alloc.c (begin_gc_forbidden):
469 in place of whatever varied and cumbersome mechanisms were 481 in place of whatever varied and cumbersome mechanisms were
470 formerly there. 482 formerly there.
471 483
472 484
473 ================================================================ 485 ================================================================
474 SPECBIND SANITY 486 SPECBIND SANITY
475 ================================================================ 487 ================================================================
476 488
477 * backtrace.h: 489 * backtrace.h:
478 - Improved comments 490 - Improved comments
479 491
492 Add new mechanism check_specbind_stack_sanity() for sanity 504 Add new mechanism check_specbind_stack_sanity() for sanity
493 checking code each time the catchlist or specbind stack change. 505 checking code each time the catchlist or specbind stack change.
494 Removed older prototype of same mechanism. 506 Removed older prototype of same mechanism.
495 507
496 ================================================================ 508 ================================================================
497 MISC 509 MISC
498 ================================================================ 510 ================================================================
499 511
500 * lisp.h: 512 * lisp.h:
501 * insdel.c: 513 * insdel.c:
502 * window.c: 514 * window.c:
538 Use ERROR_CHECK_STRUCTURES to turn on 550 Use ERROR_CHECK_STRUCTURES to turn on
539 ERROR_CHECK_TRAPPING_PROBLEMS and ERROR_CHECK_TYPECHECK 551 ERROR_CHECK_TRAPPING_PROBLEMS and ERROR_CHECK_TYPECHECK
540 552
541 * lisp.h (assert_with_message): 553 * lisp.h (assert_with_message):
542 Add assert_with_message. 554 Add assert_with_message.
543 555
544 * lisp.h (GCPRO1_ARRAY): 556 * lisp.h (GCPRO1_ARRAY):
545 * lisp.h (NGCPRO1_ARRAY): 557 * lisp.h (NGCPRO1_ARRAY):
546 * lisp.h (NNGCPRO1_ARRAY): 558 * lisp.h (NNGCPRO1_ARRAY):
547 Add macros for gcproing entire arrays. (You could do this before 559 Add macros for gcproing entire arrays. (You could do this before
548 but it required manual twiddling the gcpro structure.) 560 but it required manual twiddling the gcpro structure.)
549 561
550 * lisp.h: 562 * lisp.h:
551 Add prototypes for new functions defined elsewhere. 563 Add prototypes for new functions defined elsewhere.
552 564
553 2002-05-23 Ben Wing <ben@xemacs.org> 565 2002-05-23 Ben Wing <ben@xemacs.org>
554 566
704 716
705 * font-lock.c (find_context): 717 * font-lock.c (find_context):
706 Do save-restriction/widen around the function -- otherwise, incorrect 718 Do save-restriction/widen around the function -- otherwise, incorrect
707 results will ensue when a buffer has been narrowed before a call to 719 results will ensue when a buffer has been narrowed before a call to
708 e.g. `buffer-syntactic-context' -- something that happens quite often. 720 e.g. `buffer-syntactic-context' -- something that happens quite often.
709 721
710 * fileio.c: 722 * fileio.c:
711 * fileio.c (Fmake_temp_name): 723 * fileio.c (Fmake_temp_name):
712 * fileio.c (syms_of_fileio): 724 * fileio.c (syms_of_fileio):
713 Look for a handler for make-temp-name. 725 Look for a handler for make-temp-name.
714 726
715 * window.c: 727 * window.c:
716 * window.c (allocate_window): 728 * window.c (allocate_window):
717 * window.c (Fset_window_point): 729 * window.c (Fset_window_point):
718 * window.c (unshow_buffer): 730 * window.c (unshow_buffer):
719 * window.c (Fset_window_buffer): 731 * window.c (Fset_window_buffer):
766 778
767 2002-05-14 Ben Wing <ben@xemacs.org> 779 2002-05-14 Ben Wing <ben@xemacs.org>
768 780
769 * callproc.c (Fold_call_process_internal): 781 * callproc.c (Fold_call_process_internal):
770 Use Fget_buffer_create() with a string buffer, as documented. 782 Use Fget_buffer_create() with a string buffer, as documented.
771 783
772 * extents.c (signal_extent_changed): indentation. 784 * extents.c (signal_extent_changed): indentation.
773 785
774 * lstream.c (lisp_buffer_reader): fix a bug in selective-display 786 * lstream.c (lisp_buffer_reader): fix a bug in selective-display
775 handling; not the crash we're seeing. 787 handling; not the crash we're seeing.
776 788
796 2002-05-09 Ben Wing <ben@xemacs.org> 808 2002-05-09 Ben Wing <ben@xemacs.org>
797 809
798 * doprnt.c (emacs_doprnt_1): 810 * doprnt.c (emacs_doprnt_1):
799 Use make_int() not make_char() when error about bad charval, 811 Use make_int() not make_char() when error about bad charval,
800 or abort will occur. 812 or abort will occur.
801 813
802 * extents.c (signal_extent_changed): 814 * extents.c (signal_extent_changed):
803 Loop over children, not ourself -- avoid infinite loop. 815 Loop over children, not ourself -- avoid infinite loop.
804 816
805 * lisp-disunion.h: 817 * lisp-disunion.h:
806 * lisp-union.h: 818 * lisp-union.h:
807 Rename make_char() to make_char_1 for error-checking purposes. 819 Rename make_char() to make_char_1 for error-checking purposes.
808 820
809 * lread.c (read_escape): 821 * lread.c (read_escape):
810 Syntax error if escape is outside of ISO-8859-1 range. 822 Syntax error if escape is outside of ISO-8859-1 range.
811 Remove hopelessly broken (and unworkable) FSF_KEYS code. 823 Remove hopelessly broken (and unworkable) FSF_KEYS code.
812 824
813 * mule-coding.c (Fdecode_shift_jis_char): 825 * mule-coding.c (Fdecode_shift_jis_char):
814 * search.c (skip_chars): 826 * search.c (skip_chars):
815 Spacing changes. 827 Spacing changes.
816 828
817 * text.h: 829 * text.h:
818 New make_char() -- verify that the char value is legal. 830 New make_char() -- verify that the char value is legal.
819 831
820 2002-04-23 Jerry James <james@xemacs.org> 832 2002-04-23 Jerry James <james@xemacs.org>
821 833
828 2002-05-06 Jonathan Harris <jonathan@xemacs.org> 840 2002-05-06 Jonathan Harris <jonathan@xemacs.org>
829 841
830 * console-msw.h: 842 * console-msw.h:
831 * event-msw.c (mswindows_wnd_proc): 843 * event-msw.c (mswindows_wnd_proc):
832 Condition references to menu accelerator functions on HAVE_MENUBARS. 844 Condition references to menu accelerator functions on HAVE_MENUBARS.
833 845
834 * frame-msw.c (mswindows_init_frame_3): 846 * frame-msw.c (mswindows_init_frame_3):
835 Remove obsolete runemacs hack which called ShowWindow() twice. 847 Remove obsolete runemacs hack which called ShowWindow() twice.
836 848
837 * intl-auto-encap-win32.c: 849 * intl-auto-encap-win32.c:
838 * intl-auto-encap-win32.h: 850 * intl-auto-encap-win32.h:
839 * intl-encap-win32.c: 851 * intl-encap-win32.c:
840 Use handwritten version of GetEnvironmentStrings() in 852 Use handwritten version of GetEnvironmentStrings() in
841 intl-encap-win32.c. 853 intl-encap-win32.c.
844 856
845 * s/windowsnt.h: 857 * s/windowsnt.h:
846 Disable .data section renaming hack when using portable dumping. 858 Disable .data section renaming hack when using portable dumping.
847 Force _WIN32_WINNT = 0x0400 since intl-auto-encap-win32.[ch] 859 Force _WIN32_WINNT = 0x0400 since intl-auto-encap-win32.[ch]
848 requires this. 860 requires this.
849 861
850 2002-05-05 Ben Wing <ben@xemacs.org> 862 2002-05-05 Ben Wing <ben@xemacs.org>
851 863
852 * Makefile.in.in (batch_test_emacs): 864 * Makefile.in.in (batch_test_emacs):
853 865
854 Fix so that packages are around when testing. 866 Fix so that packages are around when testing.
855 867
856 * abbrev.c (struct abbrev_match_mapper_closure): 868 * abbrev.c (struct abbrev_match_mapper_closure):
857 * abbrev.c (abbrev_match_mapper): 869 * abbrev.c (abbrev_match_mapper):
858 * abbrev.c (abbrev_match): 870 * abbrev.c (abbrev_match):
859 * abbrev.c (Fexpand_abbrev): 871 * abbrev.c (Fexpand_abbrev):
860 * alloc.c (deadbeef_memory): 872 * alloc.c (deadbeef_memory):
1583 * window.c (Fcurrent_pixel_column): 1595 * window.c (Fcurrent_pixel_column):
1584 1596
1585 Another big Ben patch. 1597 Another big Ben patch.
1586 1598
1587 -- FUNCTIONALITY CHANGES: 1599 -- FUNCTIONALITY CHANGES:
1588 1600
1589 add partial support for 8-bit-fixed, 16-bit-fixed, and 1601 add partial support for 8-bit-fixed, 16-bit-fixed, and
1590 32-bit-fixed formats. not quite done yet. (in particular, needs 1602 32-bit-fixed formats. not quite done yet. (in particular, needs
1591 functions to actually convert the buffer.) NOTE: lots of changes 1603 functions to actually convert the buffer.) NOTE: lots of changes
1592 to regex.c here. also, many new *_fmt() inline funs that take an 1604 to regex.c here. also, many new *_fmt() inline funs that take an
1593 Internal_Format argument. 1605 Internal_Format argument.
1597 across insertions/deletions and extent changes, as much as is 1609 across insertions/deletions and extent changes, as much as is
1598 possible. eliminate the junky regex-reentrancy code by passing in 1610 possible. eliminate the junky regex-reentrancy code by passing in
1599 the relevant lisp info to the regex routines as local vars. 1611 the relevant lisp info to the regex routines as local vars.
1600 1612
1601 add general mechanism in extents code for signalling extent changes. 1613 add general mechanism in extents code for signalling extent changes.
1602 1614
1603 fix numerous problems with the case-table implementation; yoshiki 1615 fix numerous problems with the case-table implementation; yoshiki
1604 never properly transferred many algorithms from old-style to 1616 never properly transferred many algorithms from old-style to
1605 new-style case tables. 1617 new-style case tables.
1606 1618
1607 redo char tables to support a default argument, so that mapping 1619 redo char tables to support a default argument, so that mapping
1618 properly kill a build. 1630 properly kill a build.
1619 1631
1620 add more error-checking to buffer/string macros. 1632 add more error-checking to buffer/string macros.
1621 1633
1622 add some additional buffer_or_string_() funs. 1634 add some additional buffer_or_string_() funs.
1623 1635
1624 -- INTERFACE CHANGES AFFECTING MORE CODE: 1636 -- INTERFACE CHANGES AFFECTING MORE CODE:
1625 1637
1626 switch the arguments of write_c_string and friends to be 1638 switch the arguments of write_c_string and friends to be
1627 consistent with write_fmt_string, which must have printcharfun 1639 consistent with write_fmt_string, which must have printcharfun
1628 first. 1640 first.
1629 1641
1630 change BI_* macros to BYTE_* for increased clarity; similarly for 1642 change BI_* macros to BYTE_* for increased clarity; similarly for
1632 1644
1633 change VOID_TO_LISP to be a one-argument function. eliminate 1645 change VOID_TO_LISP to be a one-argument function. eliminate
1634 no-longer-needed CVOID_TO_LISP. 1646 no-longer-needed CVOID_TO_LISP.
1635 1647
1636 -- char/string macro changes: 1648 -- char/string macro changes:
1637 1649
1638 rename MAKE_CHAR() to make_emchar() for slightly less confusion 1650 rename MAKE_CHAR() to make_emchar() for slightly less confusion
1639 with make_char(). (The former generates an Emchar, the latter a 1651 with make_char(). (The former generates an Emchar, the latter a
1640 Lisp object. Conceivably we should rename make_char() -> wrap_char() 1652 Lisp object. Conceivably we should rename make_char() -> wrap_char()
1641 and similarly for make_int(), make_float().) 1653 and similarly for make_int(), make_float().)
1642 1654
1659 e.g. directly modifying an arg (BREAKUP_EMCHAR) or evaluating an 1671 e.g. directly modifying an arg (BREAKUP_EMCHAR) or evaluating an
1660 arg (any arg) more than once. otherwise, use lowercase. 1672 arg (any arg) more than once. otherwise, use lowercase.
1661 1673
1662 here is a summary of most of the macros/inline funs changed by all 1674 here is a summary of most of the macros/inline funs changed by all
1663 of the above changes: 1675 of the above changes:
1664 1676
1665 BYTE_*_P -> byte_*_p 1677 BYTE_*_P -> byte_*_p
1666 XSTRING_BYTE -> string_byte 1678 XSTRING_BYTE -> string_byte
1667 set_string_data/length -> set_lispstringp_data/length 1679 set_string_data/length -> set_lispstringp_data/length
1668 XSTRING_CHAR_LENGTH -> string_char_length 1680 XSTRING_CHAR_LENGTH -> string_char_length
1669 XSTRING_CHAR -> string_emchar 1681 XSTRING_CHAR -> string_emchar
1678 BYTE_SHIFT_JIS* -> byte_shift_jis* 1690 BYTE_SHIFT_JIS* -> byte_shift_jis*
1679 BYTE_BIG5* -> byte_big5* 1691 BYTE_BIG5* -> byte_big5*
1680 REP_BYTES_BY_FIRST_BYTE -> rep_bytes_by_first_byte 1692 REP_BYTES_BY_FIRST_BYTE -> rep_bytes_by_first_byte
1681 char_to_unicode -> emchar_to_unicode 1693 char_to_unicode -> emchar_to_unicode
1682 valid_char_p -> valid_emchar_p 1694 valid_char_p -> valid_emchar_p
1683 1695
1684 Change intbyte_strcmp -> qxestrcmp_c (duplicated functionality). 1696 Change intbyte_strcmp -> qxestrcmp_c (duplicated functionality).
1685 1697
1686 -- INTERFACE CHANGES AFFECTING LESS CODE: 1698 -- INTERFACE CHANGES AFFECTING LESS CODE:
1687 1699
1688 use DECLARE_INLINE_HEADER in various places. 1700 use DECLARE_INLINE_HEADER in various places.
1689 1701
1690 remove '#ifdef emacs' from XEmacs-only files. 1702 remove '#ifdef emacs' from XEmacs-only files.
1691 1703
1692 eliminate CHAR_TABLE_VALUE(), which duplicated the functionality 1704 eliminate CHAR_TABLE_VALUE(), which duplicated the functionality
1693 of get_char_table(). 1705 of get_char_table().
1694 1706
1695 add BUFFER_TEXT_LOOP to simplify iterations over buffer text. 1707 add BUFFER_TEXT_LOOP to simplify iterations over buffer text.
1696 1708
1697 define typedefs for signed and unsigned types of fixed sizes 1709 define typedefs for signed and unsigned types of fixed sizes
1698 (INT_32_BIT, UINT_32_BIT, etc.). 1710 (INT_32_BIT, UINT_32_BIT, etc.).
1699 1711
1700 create ALIGN_FOR_TYPE as a higher-level interface onto ALIGN_SIZE; 1712 create ALIGN_FOR_TYPE as a higher-level interface onto ALIGN_SIZE;
1701 fix code to use it. 1713 fix code to use it.
1778 * redisplay-gtk.c (gtk_output_display_block): Likewise. 1790 * redisplay-gtk.c (gtk_output_display_block): Likewise.
1779 * redisplay-x.c (x_output_display_block): Likewise. 1791 * redisplay-x.c (x_output_display_block): Likewise.
1780 1792
1781 2002-04-02 Andy Piper <andy@xemacs.org> 1793 2002-04-02 Andy Piper <andy@xemacs.org>
1782 1794
1783 * dired-msw.c (mswindows_get_files): 1795 * dired-msw.c (mswindows_get_files):
1784 * nt.c (mswindows_stat): SetErrorMode() so that file errors are 1796 * nt.c (mswindows_stat): SetErrorMode() so that file errors are
1785 completely handled by XEmacs. Suggested by Thomas Vogler 1797 completely handled by XEmacs. Suggested by Thomas Vogler
1786 <mail@thomas-vogler.de>. 1798 <mail@thomas-vogler.de>.
1787 1799
1788 2002-04-01 Andy Piper <andy@xemacs.org> 1800 2002-04-01 Andy Piper <andy@xemacs.org>
1874 enabled in C++ builds because there are still a number of compile 1886 enabled in C++ builds because there are still a number of compile
1875 errors, and it won't really work till we merge in my "8-bit-Mule" 1887 errors, and it won't really work till we merge in my "8-bit-Mule"
1876 workspace, in which I make use of the new types Charxpos, 1888 workspace, in which I make use of the new types Charxpos,
1877 Bytexpos, Memxpos, representing a "position" either in a buffer or 1889 Bytexpos, Memxpos, representing a "position" either in a buffer or
1878 a string. (This is especially important in the extent code.) 1890 a string. (This is especially important in the extent code.)
1879 1891
1880 * abbrev.c: 1892 * abbrev.c:
1881 * abbrev.c (abbrev_oblookup): 1893 * abbrev.c (abbrev_oblookup):
1882 * alloc.c (STRING_CHARS_BLOCK_SIZE): 1894 * alloc.c (STRING_CHARS_BLOCK_SIZE):
1883 * alloc.c (allocate_string_chars_struct): 1895 * alloc.c (allocate_string_chars_struct):
1884 * alloc.c (make_uninit_string): 1896 * alloc.c (make_uninit_string):
1933 function. 1945 function.
1934 -- change the order of check for magic stuff in 1946 -- change the order of check for magic stuff in
1935 SPECBIND_FAST_UNSAFE to be faster. 1947 SPECBIND_FAST_UNSAFE to be faster.
1936 -- move the check for need to garbage collect into the allocation 1948 -- move the check for need to garbage collect into the allocation
1937 code, so only a single flag needs to be checked in funcall. 1949 code, so only a single flag needs to be checked in funcall.
1938 1950
1939 1951
1940 * buffer.c (Fstring_char_byte_converion_info): 1952 * buffer.c (Fstring_char_byte_converion_info):
1941 * buffer.c (syms_of_buffer): 1953 * buffer.c (syms_of_buffer):
1942 * symbols.c: 1954 * symbols.c:
1943 * symbols.c (intern_converting_underscores_to_dashes): 1955 * symbols.c (intern_converting_underscores_to_dashes):
2036 * lread.c (read_vector): 2048 * lread.c (read_vector):
2037 2049
2038 eliminate unused crufty vintage-19 "FSF defun hack" code. 2050 eliminate unused crufty vintage-19 "FSF defun hack" code.
2039 2051
2040 * lrecord.h: improve pdump description docs. 2052 * lrecord.h: improve pdump description docs.
2041 2053
2042 * buffer.c: 2054 * buffer.c:
2043 * ntheap.c: 2055 * ntheap.c:
2044 * ntheap.c (round_to_next): 2056 * ntheap.c (round_to_next):
2045 * ntheap.c (get_data_start): 2057 * ntheap.c (get_data_start):
2046 * ntheap.c (get_data_end): 2058 * ntheap.c (get_data_end):
2077 When error-checking is enabled (interpreted as "user is developing 2089 When error-checking is enabled (interpreted as "user is developing
2078 XEmacs"), don't ask user to "pause to read messages" when a fatal 2090 XEmacs"), don't ask user to "pause to read messages" when a fatal
2079 error has occurred, because it will wedge if we are in an inner 2091 error has occurred, because it will wedge if we are in an inner
2080 modal loop (typically when a menu is popped up) and make us unable 2092 modal loop (typically when a menu is popped up) and make us unable
2081 to get a useful stack trace in the debugger. 2093 to get a useful stack trace in the debugger.
2082 2094
2083 * text.c (update_entirely_ascii_p_flag): 2095 * text.c (update_entirely_ascii_p_flag):
2084 * text.c (charbpos_to_bytebpos_func): 2096 * text.c (charbpos_to_bytebpos_func):
2085 * text.c (bytebpos_to_charbpos_func): 2097 * text.c (bytebpos_to_charbpos_func):
2086 Correct update_entirely_ascii_p_flag to actually work. 2098 Correct update_entirely_ascii_p_flag to actually work.
2087 2099
2097 Clean up one remaining file where nonintercepted Windows calls 2109 Clean up one remaining file where nonintercepted Windows calls
2098 were being used. 2110 were being used.
2099 2111
2100 2002-04-07 William M. Perry <wmperry@gnu.org> 2112 2002-04-07 William M. Perry <wmperry@gnu.org>
2101 2113
2102 * event-gtk.c: 2114 * event-gtk.c:
2103 * device-gtk.c: 2115 * device-gtk.c:
2104 * glyphs-gtk.c: 2116 * glyphs-gtk.c:
2105 * frame-gtk.c: 2117 * frame-gtk.c:
2106 * gtk-xemacs.c: 2118 * gtk-xemacs.c:
2107 * menubar-gtk.c: 2119 * menubar-gtk.c:
2108 * redisplay-gtk.c: Need to include device.h and window.h in a few 2120 * redisplay-gtk.c: Need to include device.h and window.h in a few
2109 places. Not sure which .h has changed that was transparently 2121 places. Not sure which .h has changed that was transparently
2110 pulling them in before, but... 2122 pulling them in before, but...
2111 2123
2112 2002-03-06 Jerry James <james@xemacs.org> 2124 2002-03-06 Jerry James <james@xemacs.org>
2153 support of kterm and such, that speak JIS or similar 2165 support of kterm and such, that speak JIS or similar
2154 encodings. (#### I ***swear*** I had this working way back in 2166 encodings. (#### I ***swear*** I had this working way back in
2155 19.12.) Anyway, this introduced buffering issues, in which instead 2167 19.12.) Anyway, this introduced buffering issues, in which instead
2156 of one char being read, it tried to read 1024 chars. I tried 2168 of one char being read, it tried to read 1024 chars. I tried
2157 setting the stdin descriptor non-blocking, but it doesn't appear 2169 setting the stdin descriptor non-blocking, but it doesn't appear
2158 to work on Cygwin. (#### Andy, do you know anything about this?) 2170 to work on Cygwin. (#### Andy, do you know anything about this?)
2159 So I fixed it elsewhere. If you get weirdness on the TTY, look in 2171 So I fixed it elsewhere. If you get weirdness on the TTY, look in
2160 console-tty.c and see how it gets the coding system; maybe there's 2172 console-tty.c and see how it gets the coding system; maybe there's
2161 a way to change it (and if not, there should be!). 2173 a way to change it (and if not, there should be!).
2162 2174
2163 Also fix warning in sysdep.c. 2175 Also fix warning in sysdep.c.
2246 Use RETURN_NOT_REACHED to try to avoid warnings about unreachable 2258 Use RETURN_NOT_REACHED to try to avoid warnings about unreachable
2247 code. 2259 code.
2248 2260
2249 Add volatile_make_int() to fix warning in unix_send_process(). 2261 Add volatile_make_int() to fix warning in unix_send_process().
2250 2262
2251 2263
2252 2002-03-31 Ben Wing <ben@xemacs.org> 2264 2002-03-31 Ben Wing <ben@xemacs.org>
2253 2265
2254 * s/windowsnt.h: 2266 * s/windowsnt.h:
2255 Use new ERROR_CHECK_ALL; not related to DEBUG_XEMACS. 2267 Use new ERROR_CHECK_ALL; not related to DEBUG_XEMACS.
2256 2268
2497 2509
2498 Some header cleanup. 2510 Some header cleanup.
2499 2511
2500 Clean up remaining places where nonintercepted Windows calls are 2512 Clean up remaining places where nonintercepted Windows calls are
2501 being used. 2513 being used.
2502 2514
2503 2002-03-29 Jonathan Harris <jonathan@xemacs.org> 2515 2002-03-29 Jonathan Harris <jonathan@xemacs.org>
2504 2516
2505 * device-msw.c (plist_get_margin): Add arg specifying mm or inches 2517 * device-msw.c (plist_get_margin): Add arg specifying mm or inches
2506 * device-msw.c (plist_set_margin): Fix multiplicand used for mm 2518 * device-msw.c (plist_set_margin): Fix multiplicand used for mm
2507 * device-msw.c (mswindows_handle_page_setup_dialog_box): 2519 * device-msw.c (mswindows_handle_page_setup_dialog_box):
2508 Detect and handle case where machine is set up for metric units 2520 Detect and handle case where machine is set up for metric units
2509 2521
2510 * intl-auto-encap-win32.c: 2522 * intl-auto-encap-win32.c:
2511 * intl-auto-encap-win32.h: 2523 * intl-auto-encap-win32.h:
2512 * intl-encap-win32.c: 2524 * intl-encap-win32.c:
2513 Add Get & SetLocaleInfo from winnls.h 2525 Add Get & SetLocaleInfo from winnls.h
2514 2526
2515 2002-03-29 William M. Perry <wmperry@gnu.org> 2527 2002-03-29 William M. Perry <wmperry@gnu.org>
2516 2528
2517 * ui-gtk.c (Fgtk_import_function_internal): 2529 * ui-gtk.c (Fgtk_import_function_internal):
2518 (emacs_gtk_object_finalizer): 2530 (emacs_gtk_object_finalizer):
2519 (build_gtk_object): 2531 (build_gtk_object):
2520 (build_gtk_boxed): Use wrap_emacs_*() instead of wrap_*() 2532 (build_gtk_boxed): Use wrap_emacs_*() instead of wrap_*()
2521 for gtk_boxed, gtk_object, ffi 2533 for gtk_boxed, gtk_object, ffi
2522 2534
2523 2002-03-24 Ben Wing <ben@xemacs.org> 2535 2002-03-24 Ben Wing <ben@xemacs.org>
2524 2536
2525 * Makefile.in.in (gui_objs): 2537 * Makefile.in.in (gui_objs):
2526 * Makefile.in.in (objs): 2538 * Makefile.in.in (objs):
2527 Always include gui.c, to fix compile error when TTY-only. 2539 Always include gui.c, to fix compile error when TTY-only.
2528 2540
2529 * EmacsFrame.c (EmacsFrameSetValues): 2541 * EmacsFrame.c (EmacsFrameSetValues):
2530 * abbrev.c: 2542 * abbrev.c:
2531 * abbrev.c (abbrev_match_mapper): 2543 * abbrev.c (abbrev_match_mapper):
2532 * abbrev.c (Fexpand_abbrev): 2544 * abbrev.c (Fexpand_abbrev):
2533 * alloc.c: 2545 * alloc.c:
3265 Add default_ and parent fields to char table; not yet implemented. 3277 Add default_ and parent fields to char table; not yet implemented.
3266 3278
3267 New fun Dynarr_verify(); use for further error checking on Dynarrs. 3279 New fun Dynarr_verify(); use for further error checking on Dynarrs.
3268 3280
3269 Rearrange code at top of lisp.h in conjunction with dynarr changes. 3281 Rearrange code at top of lisp.h in conjunction with dynarr changes.
3270 3282
3271 Fix eifree(). Use Eistrings in various places 3283 Fix eifree(). Use Eistrings in various places
3272 (format_event_object(), where_is_to_char(), and callers thereof) 3284 (format_event_object(), where_is_to_char(), and callers thereof)
3273 to avoid fixed-size strings buffers. New fun write_eistring(). 3285 to avoid fixed-size strings buffers. New fun write_eistring().
3274 3286
3275 Reindent and fix GPM code to follow standards. 3287 Reindent and fix GPM code to follow standards.
3276 3288
3277 Set default MS Windows font to Lucida Console (same size as 3289 Set default MS Windows font to Lucida Console (same size as
3278 Courier New but less interline spacing, so more lines fit). 3290 Courier New but less interline spacing, so more lines fit).
3279 Increase default frame size on Windows to 50 lines. (If that's too 3291 Increase default frame size on Windows to 50 lines. (If that's too
3301 bigger than the line size. (It was seen most obviously when 3313 bigger than the line size. (It was seen most obviously when
3302 there's a horizontal scroll bar, e.g. do C-h a glyph or something 3314 there's a horizontal scroll bar, e.g. do C-h a glyph or something
3303 like that.) The problem was that the glyph-contrib-p setting on 3315 like that.) The problem was that the glyph-contrib-p setting on
3304 glyphs was ignored even if it was set properly, which it wasn't 3316 glyphs was ignored even if it was set properly, which it wasn't
3305 until now. 3317 until now.
3306 3318
3307 2002-03-14 Mike Alexander <mta@arbortext.com> 3319 2002-03-14 Mike Alexander <mta@arbortext.com>
3308 3320
3309 * event-msw.c (mswindows_unwait_process): New, remove process from 3321 * event-msw.c (mswindows_unwait_process): New, remove process from
3310 wait list 3322 wait list
3311 * process-nt.c (nt_finalize_process_data): Call 3323 * process-nt.c (nt_finalize_process_data): Call
3312 mswindows_unwait_process 3324 mswindows_unwait_process
3313 * console-msw.h: Declare mswindows_unwait_process 3325 * console-msw.h: Declare mswindows_unwait_process
3314 3326
3315 2002-03-21 William M. Perry <wmperry@gnu.org> 3327 2002-03-21 William M. Perry <wmperry@gnu.org>
3316 3328
3317 * event-gtk.c (emacs_gtk_force_event_pending): Bogus definition 3329 * event-gtk.c (emacs_gtk_force_event_pending): Bogus definition
3329 3341
3330 * chartab.c: 3342 * chartab.c:
3331 * chartab.c (Fcheck_category_at): 3343 * chartab.c (Fcheck_category_at):
3332 * chartab.c (Fchar_in_category_p): 3344 * chartab.c (Fchar_in_category_p):
3333 Fix bugs in implementation and doc strings. 3345 Fix bugs in implementation and doc strings.
3334 3346
3335 * config.h.in (type_checking_assert_at_line): 3347 * config.h.in (type_checking_assert_at_line):
3336 Add foo_checking_assert_at_line() macros. Not clear whether these 3348 Add foo_checking_assert_at_line() macros. Not clear whether these
3337 are actually useful, though; I'll take them out if not. 3349 are actually useful, though; I'll take them out if not.
3338 3350
3339 * symsinit.h: 3351 * symsinit.h:
3340 * emacs.c: 3352 * emacs.c:
3341 * emacs.c (main_1): 3353 * emacs.c (main_1):
3342 Some improvements to the timeline. Rearrange a bit the init 3354 Some improvements to the timeline. Rearrange a bit the init
3343 calls. Add call for reinit_vars_of_object_mswindows() and 3355 calls. Add call for reinit_vars_of_object_mswindows() and
3344 declare in symsinit.h. 3356 declare in symsinit.h.
3345 3357
3346 * event-Xt.c: 3358 * event-Xt.c:
3347 * event-Xt.c (emacs_Xt_format_magic_event): 3359 * event-Xt.c (emacs_Xt_format_magic_event):
3348 * event-Xt.c (describe_event_window): 3360 * event-Xt.c (describe_event_window):
3349 * event-Xt.c (describe_event): 3361 * event-Xt.c (describe_event):
3350 * event-Xt.c (emacs_Xt_event_handler): 3362 * event-Xt.c (emacs_Xt_event_handler):
3384 3396
3385 Fixed describe_event() in event-Xt.c to print its output to a 3397 Fixed describe_event() in event-Xt.c to print its output to a
3386 stream, not always to stderr, so it can be used 3398 stream, not always to stderr, so it can be used
3387 elsewhere. (e.g. in print-event when a magic event is 3399 elsewhere. (e.g. in print-event when a magic event is
3388 encountered?) 3400 encountered?)
3389 3401
3390 * lisp.h: 3402 * lisp.h:
3391 * lisp.h (XCHAR_1): 3403 * lisp.h (XCHAR_1):
3392 * lisp.h (XCHAR): 3404 * lisp.h (XCHAR):
3393 * lisp.h (XINT_1): 3405 * lisp.h (XINT_1):
3394 * lisp.h (XCHAR_OR_INT_1): 3406 * lisp.h (XCHAR_OR_INT_1):
3406 called from. So, when error-checking is on, we pass in the line 3418 called from. So, when error-checking is on, we pass in the line
3407 and file into the macros, for accurate printout using 3419 and file into the macros, for accurate printout using
3408 assert_at_line(). Happens only when error-checking is defined so 3420 assert_at_line(). Happens only when error-checking is defined so
3409 doesn't slow down non-error-checking builds. Fix XCHAR, XINT, 3421 doesn't slow down non-error-checking builds. Fix XCHAR, XINT,
3410 XCHAR_OR_INT, XFOO, and wrap_foo() in this fashion. 3422 XCHAR_OR_INT, XFOO, and wrap_foo() in this fashion.
3411 3423
3412 * lstream.c: 3424 * lstream.c:
3413 * lstream.c (resizing_buffer_stream_ptr): 3425 * lstream.c (resizing_buffer_stream_ptr):
3414 * lstream.h: 3426 * lstream.h:
3415 Add resizing_buffer_to_lisp_string(). 3427 Add resizing_buffer_to_lisp_string().
3416 3428
3417 * objects-gtk.c (gtk_find_charset_font): Fix typo. 3429 * objects-gtk.c (gtk_find_charset_font): Fix typo.
3418 3430
3419 * objects-msw.c: 3431 * objects-msw.c:
3420 * objects-msw.c (create_hfont_from_font_spec): 3432 * objects-msw.c (create_hfont_from_font_spec):
3421 * objects-msw.c (initialize_font_instance): 3433 * objects-msw.c (initialize_font_instance):
3422 * objects-msw.c (mswindows_font_spec_matches_charset_stage_1): 3434 * objects-msw.c (mswindows_font_spec_matches_charset_stage_1):
3423 * objects-msw.c (mswindows_font_spec_matches_charset): 3435 * objects-msw.c (mswindows_font_spec_matches_charset):
3430 we ask the font for the list of unicode ranges it supports, see 3442 we ask the font for the list of unicode ranges it supports, see
3431 what range the charset falls into (#### bogus! need to do this 3443 what range the charset falls into (#### bogus! need to do this
3432 char-by-char), and see if any of the font's supported ranges 3444 char-by-char), and see if any of the font's supported ranges
3433 include the charset's range. also do some caching in 3445 include the charset's range. also do some caching in
3434 Vfont_signature_data of previous inquiries. 3446 Vfont_signature_data of previous inquiries.
3435 3447
3436 * charset.h: 3448 * charset.h:
3437 * text.c (Fmake_char): 3449 * text.c (Fmake_char):
3438 * mule-charset.c (get_charset_limits): New fun; extracted out of 3450 * mule-charset.c (get_charset_limits): New fun; extracted out of
3439 Fmake_char() and declare prototype in charset.h. 3451 Fmake_char() and declare prototype in charset.h.
3440 3452
3543 3555
3544 2002-03-15 Ben Wing <ben@xemacs.org> 3556 2002-03-15 Ben Wing <ben@xemacs.org>
3545 3557
3546 * .cvsignore: 3558 * .cvsignore:
3547 ignore .tmp files that are getting auto-created by VC. 3559 ignore .tmp files that are getting auto-created by VC.
3548 3560
3549 * Makefile.in.in (release): 3561 * Makefile.in.in (release):
3550 * Makefile.in.in (fastdump): 3562 * Makefile.in.in (fastdump):
3551 * Makefile.in.in (dynodump_deps): 3563 * Makefile.in.in (dynodump_deps):
3552 * Makefile.in.in (dump-elcs): 3564 * Makefile.in.in (dump-elcs):
3553 * Makefile.in.in (batch_test_emacs): 3565 * Makefile.in.in (batch_test_emacs):
3598 If console is dead as a result of C-x 5 0, then post-command stuff 3610 If console is dead as a result of C-x 5 0, then post-command stuff
3599 needs to be careful and do only non-console-specific stuff. 3611 needs to be careful and do only non-console-specific stuff.
3600 3612
3601 2002-02-11 Mike Sperber <mike@xemacs.org> 3613 2002-02-11 Mike Sperber <mike@xemacs.org>
3602 3614
3603 * device-x.c: 3615 * device-x.c:
3604 (x_IO_error_handler): 3616 (x_IO_error_handler):
3605 (x_init_device): Temporarily keep device in static variable 3617 (x_init_device): Temporarily keep device in static variable
3606 `device_being_initialized' so we can recover gracefully from 3618 `device_being_initialized' so we can recover gracefully from
3607 internal XOpenDevice failure. (XOpenDevice is documented to 3619 internal XOpenDevice failure. (XOpenDevice is documented to
3608 return NULL on failure, but sometimes calls the IO error handler 3620 return NULL on failure, but sometimes calls the IO error handler
3720 conventions and expose it. 3732 conventions and expose it.
3721 (gtk_output_horizontal_line): Renamed from output_hline, and 3733 (gtk_output_horizontal_line): Renamed from output_hline, and
3722 expose it in our method structure. 3734 expose it in our method structure.
3723 (gtk_ring_bell): Don't ring the bell if volume <= 0 3735 (gtk_ring_bell): Don't ring the bell if volume <= 0
3724 3736
3725 * toolbar-gtk.c (gtk_output_toolbar_button): 3737 * toolbar-gtk.c (gtk_output_toolbar_button):
3726 (gtk_output_frame_toolbars): 3738 (gtk_output_frame_toolbars):
3727 (gtk_redraw_exposed_toolbars): 3739 (gtk_redraw_exposed_toolbars):
3728 (gtk_redraw_frame_toolbars): These are now just aliases for the 3740 (gtk_redraw_frame_toolbars): These are now just aliases for the
3729 common_XXX() routines in toolbar-common.c 3741 common_XXX() routines in toolbar-common.c
3730 3742
3731 * toolbar-common.c: New common toolbar implementation. This file 3743 * toolbar-common.c: New common toolbar implementation. This file
3732 uses only the redisplay_XXX() functions and device methods to draw 3744 uses only the redisplay_XXX() functions and device methods to draw