comparison src/ChangeLog @ 2108:8de911beca70

[xemacs-hg @ 2004-06-02 09:16:14 by didierv] C++ related fixes
author didierv
date Wed, 02 Jun 2004 09:16:21 +0000
parents f557693c61de
children f18c80177dfe
comparison
equal deleted inserted replaced
2107:91e93aba4aae 2108:8de911beca70
1 2004-06-02 Didier Verna <didier@xemacs.org>
2
3 C++ related fixes.
4
5 * ExternalClient-Xlib.c (window_has_focus_p): Fix nchild parameter
6 type.
7 * ExternalClient.c (ComputeWindowAttributes): Fix old K&R function
8 prototype.
9 * ExternalClient.c (Destroy): Ditto.
10 * ExternalClient.c (QueryGeometry): Ditto.
11 * ExternalShell.c (EventHandler): Ditto.
12 * ExternalShell.c (ExternalShellDestroy): Ditto.
13 * ExternalShell.c (ChangeManaged): Ditto.
14 * ExternalShell.c (ExternalShellRootGeometryManager): Ditto.
15 * extw-Xt.c: Wrap `fatal' and `_XtWaitForSomething' function
16 prototypes in EXTERN_C.
17 * extw-Xt.c (_XT_WAIT_FOR_SOMETHING): Rename macro (previously
18 _XtWaitForSomething).
19 * extw-Xt.c (extw_wait_for_response): Use it.
20 * nas.c (EXTERN_C): Wrap audio headers inclusion in EXTERN_C.
21
1 2004-05-21 Jerry James <james@xemacs.org> 22 2004-05-21 Jerry James <james@xemacs.org>
2 23
3 * floatfns.c (Ffloat): Add missing return keyword. 24 * floatfns.c (Ffloat): Add missing return keyword.
4 * number.h: Declare Qbignump, Qratiop, and Qbigfloatp in every case. 25 * number.h: Declare Qbignump, Qratiop, and Qbigfloatp in every case.
5 * number.c: Ditto. 26 * number.c: Ditto.
6 * number.c (syms_of_number): Ditto. Declare 27 * number.c (syms_of_number): Ditto. Declare
7 Fbigfloat_get_precision and Fbigfloat_set_precision. 28 Fbigfloat_get_precision and Fbigfloat_set_precision.
8 * number.c (Fbigfloat_get_precision): New function. 29 * number.c (Fbigfloat_get_precision): New function.
9 * number.c (Fbigfloat_set_precision): New function. 30 * number.c (Fbigfloat_set_precision): New function.
184 incorrect number with VALBITS. 205 incorrect number with VALBITS.
185 * fns.c (Frandom): Use INT_VALBITS instead of VALBITS to compute 206 * fns.c (Frandom): Use INT_VALBITS instead of VALBITS to compute
186 the denominator. 207 the denominator.
187 * sysdep.c (get_random): Use INT_VALBITS instead of VALBITS to 208 * sysdep.c (get_random): Use INT_VALBITS instead of VALBITS to
188 build random numbers. 209 build random numbers.
189 210
190 2004-04-18 Jerry James <james@xemacs.org> 211 2004-04-18 Jerry James <james@xemacs.org>
191 212
192 * dump-data.c (dumped_data_get): Change return type to char *. 213 * dump-data.c (dumped_data_get): Change return type to char *.
193 * dump-data.h (dumped_data_get): Ditto. 214 * dump-data.h (dumped_data_get): Ditto.
194 215
552 2004-01-16 Malcolm Purvis <malcolmpurvis@optushome.com.au> 573 2004-01-16 Malcolm Purvis <malcolmpurvis@optushome.com.au>
553 574
554 * ui-gtk.c (__internal_callback_marshal): Marshalling data to 575 * ui-gtk.c (__internal_callback_marshal): Marshalling data to
555 return to GTK requires a different API to marshalling data to use 576 return to GTK requires a different API to marshalling data to use
556 as GTK parameters. 577 as GTK parameters.
557 * ui-gtk.c (lisp_to_gtk_ret_type): New. 578 * ui-gtk.c (lisp_to_gtk_ret_type): New.
558 579
559 2004-01-23 Stephen J. Turnbull <stephen@xemacs.org> 580 2004-01-23 Stephen J. Turnbull <stephen@xemacs.org>
560 581
561 * specifier.c (Fvalid_specifier_type_p): Fix docstring typo. 582 * specifier.c (Fvalid_specifier_type_p): Fix docstring typo.
562 583
610 * alloc.c (garbage_collect_1): 631 * alloc.c (garbage_collect_1):
611 move kkcc_marking() call inside the while loop containing all 632 move kkcc_marking() call inside the while loop containing all
612 the iterative calls for marking weak data structures since the 633 the iterative calls for marking weak data structures since the
613 entries on the kkcc_stack need to be processed after every run 634 entries on the kkcc_stack need to be processed after every run
614 to mark attached objects 635 to mark attached objects
615 636
616 2003-10-16 Jerry James <james@xemacs.org> 637 2003-10-16 Jerry James <james@xemacs.org>
617 638
618 * realpath.c (qxe_realpath): When a symbolic link to an absolute 639 * realpath.c (qxe_realpath): When a symbolic link to an absolute
619 pathname is found, really start over. 640 pathname is found, really start over.
620 641
729 * tparam.c: Remove unused free macro, and duplicate xmalloc and 750 * tparam.c: Remove unused free macro, and duplicate xmalloc and
730 xrealloc declarations. 751 xrealloc declarations.
731 * ui-gtk.c (CONVERT_RETVAL): Add type parameter to use of xfree, 752 * ui-gtk.c (CONVERT_RETVAL): Add type parameter to use of xfree,
732 and fix some minor whitespace problems. 753 and fix some minor whitespace problems.
733 * xemacs.def.in.in: Unconditionally export xfree_1 754 * xemacs.def.in.in: Unconditionally export xfree_1
734 755
735 * alloc.c: 756 * alloc.c:
736 * alloca.c: 757 * alloca.c:
737 * buffer.c: 758 * buffer.c:
738 * buffer.h: 759 * buffer.h:
739 * console-stream.c: 760 * console-stream.c:
988 (kkcc_gc_stack_empty): 1009 (kkcc_gc_stack_empty):
989 (kkcc_gc_stack_push): 1010 (kkcc_gc_stack_push):
990 (kkcc_gc_stack_pop): Remove kkcc_gc_stack_count. 1011 (kkcc_gc_stack_pop): Remove kkcc_gc_stack_count.
991 (mark_object_maybe_checking_free): Push on stack instead of marking. 1012 (mark_object_maybe_checking_free): Push on stack instead of marking.
992 (garbage_collect_1): Invoke kkcc_marking after finish_marking_*. 1013 (garbage_collect_1): Invoke kkcc_marking after finish_marking_*.
993 1014
994 2003-08-21 Jerry James <james@xemacs.org> 1015 2003-08-21 Jerry James <james@xemacs.org>
995 1016
996 * lrecord.h (DECLARE_MODULE_API_LRECORD): Also define when not 1017 * lrecord.h (DECLARE_MODULE_API_LRECORD): Also define when not
997 ERROR_CHECK_TYPES. 1018 ERROR_CHECK_TYPES.
998 1019
999 2003-08-19 René Kyllingstad <listmailxemacs@kyllingstad.com> 1020 2003-08-19 René Kyllingstad <listmailxemacs@kyllingstad.com>
1000 1021
1001 * alloc.c (kkcc_gc_stack_init): 1022 * alloc.c (kkcc_gc_stack_init):
1002 (kkcc_gc_stack_realloc): Missing casts for the return value of 1023 (kkcc_gc_stack_realloc): Missing casts for the return value of
1003 malloc and realloc. 1024 malloc and realloc.
1004 1025
1005 2003-08-18 Jerry James <james@xemacs.org> 1026 2003-08-18 Jerry James <james@xemacs.org>
1006 1027
1057 2003-07-29 Marcus Crestani <crestani@informatik.uni-tuebingen.de> 1078 2003-07-29 Marcus Crestani <crestani@informatik.uni-tuebingen.de>
1058 Markus Kaltenbach <makalten@informatik.uni-tuebingen.de> 1079 Markus Kaltenbach <makalten@informatik.uni-tuebingen.de>
1059 1080
1060 * README.kkcc: Aligned to the changes. 1081 * README.kkcc: Aligned to the changes.
1061 * alloc.c: Implemented the kkcc_gc_stack. 1082 * alloc.c: Implemented the kkcc_gc_stack.
1062 (kkcc_gc_stack_init): 1083 (kkcc_gc_stack_init):
1063 (kkcc_gc_stack_free): 1084 (kkcc_gc_stack_free):
1064 (kkcc_gc_stack_realloc): 1085 (kkcc_gc_stack_realloc):
1065 (kkcc_gc_stack_full): 1086 (kkcc_gc_stack_full):
1066 (kkcc_gc_stack_empty): 1087 (kkcc_gc_stack_empty):
1067 (kkcc_gc_stack_push): 1088 (kkcc_gc_stack_push):
1068 (kkcc_gc_stack_pop): 1089 (kkcc_gc_stack_pop):
1069 (kkcc_gc_stack_push_lisp_object): 1090 (kkcc_gc_stack_push_lisp_object):
1070 (mark_object_maybe_checking_free): Push objects on kkcc stack instead 1091 (mark_object_maybe_checking_free): Push objects on kkcc stack instead
1071 of marking. 1092 of marking.
1072 (mark_struct_contents): Push objects on kkcc stack instead of marking. 1093 (mark_struct_contents): Push objects on kkcc stack instead of marking.
1073 (kkcc_marking): KKCC mark algorithm using the kkcc_gc_stack. 1094 (kkcc_marking): KKCC mark algorithm using the kkcc_gc_stack.
1074 (mark_object): Removed KKCC ifdefs. 1095 (mark_object): Removed KKCC ifdefs.
1075 (garbage_collect_1): Push objects on kkcc stack instead of marking. 1096 (garbage_collect_1): Push objects on kkcc stack instead of marking.
1076 * data.c: Added XD_FLAG_NO_KKCC to ephemeron_description and to 1097 * data.c: Added XD_FLAG_NO_KKCC to ephemeron_description and to
1077 weak_list_description. 1098 weak_list_description.
1078 * data.c (finish_marking_weak_lists): Push objects on kkcc stack 1099 * data.c (finish_marking_weak_lists): Push objects on kkcc stack
1079 instead of marking. 1100 instead of marking.
1080 (continue_marking_ephemerons): Push objects on kkcc stack instead 1101 (continue_marking_ephemerons): Push objects on kkcc stack instead
1081 of marking. 1102 of marking.
1082 (finish_marking_ephemerons): Push objects on kkcc stack instead 1103 (finish_marking_ephemerons): Push objects on kkcc stack instead
1083 of marking. 1104 of marking.
1084 * elhash.c (finish_marking_weak_hash_tables): Push objects on kkcc 1105 * elhash.c (finish_marking_weak_hash_tables): Push objects on kkcc
1085 stack instead of marking. 1106 stack instead of marking.
1086 * eval.c: Added XD_FLAG_NO_KKCC to subr_description. 1107 * eval.c: Added XD_FLAG_NO_KKCC to subr_description.
1087 * lisp.h: Added prototype for kkcc_gc_stack_push_lisp_object. 1108 * lisp.h: Added prototype for kkcc_gc_stack_push_lisp_object.
1088 * profile.c (mark_profiling_info_maphash): Push keys on kkcc stack 1109 * profile.c (mark_profiling_info_maphash): Push keys on kkcc stack
1089 instead of marking. 1110 instead of marking.
1090 1111
1091 2003-07-30 Jerry James <james@xemacs.org> 1112 2003-07-30 Jerry James <james@xemacs.org>
1092 1113
1093 * sysdll.c: configure sets HAVE_DLD_INIT, not HAVE_INIT_DLD. 1114 * sysdll.c: configure sets HAVE_DLD_INIT, not HAVE_INIT_DLD.
1094 1115
1095 2003-07-24 Mike Sperber <mike@xemacs.org> 1116 2003-07-24 Mike Sperber <mike@xemacs.org>
1096 1117
1097 * lisp.h: 1118 * lisp.h:
1098 * data.c: 1119 * data.c:
1099 (init_marking_ephemerons): 1120 (init_marking_ephemerons):
1100 (continue_marking_ephemerons): 1121 (continue_marking_ephemerons):
1101 (finish_marking_ephemerons): 1122 (finish_marking_ephemerons):
1102 (prune_ephemerons): 1123 (prune_ephemerons):
1103 * alloc.c (garbage_collect_1): Rewrite the ephemeron marker once 1124 * alloc.c (garbage_collect_1): Rewrite the ephemeron marker once
1104 again to allow ephemerons to be used for implementing simple 1125 again to allow ephemerons to be used for implementing simple
1105 object finalization. 1126 object finalization.
1106 * data.c (Fmake_ephemeron): Fix comments 1127 * data.c (Fmake_ephemeron): Fix comments
1107 1128
1182 (Fposix_string_match): 1203 (Fposix_string_match):
1183 (Fsearch_backward): 1204 (Fsearch_backward):
1184 (Fsearch_forward): 1205 (Fsearch_forward):
1185 (Fword_search_backward): 1206 (Fword_search_backward):
1186 (Fword_search_forward): 1207 (Fword_search_forward):
1187 (Fre_search_backward): 1208 (Fre_search_backward):
1188 (Fre_search_forward): 1209 (Fre_search_forward):
1189 (Fposix_search_backward): 1210 (Fposix_search_backward):
1190 (Fposix_search_forward): 1211 (Fposix_search_forward):
1191 Document that search/match failure preserves match data. 1212 Document that search/match failure preserves match data.
1192 (Freplace_match): 1213 (Freplace_match):
1193 (Fstore_match_data): 1214 (Fstore_match_data):
1209 * broken-sun.h: Warn about possibility of #define stat. 1230 * broken-sun.h: Warn about possibility of #define stat.
1210 1231
1211 2000-07-22 Ilya N. Golubev <gin@mo.msk.ru> 1232 2000-07-22 Ilya N. Golubev <gin@mo.msk.ru>
1212 1233
1213 * lisp.h (filemodestring): Remove 1234 * lisp.h (filemodestring): Remove
1214 1235
1215 * sysfile.h (filemodestring): Put it here 1236 * sysfile.h (filemodestring): Put it here
1216 1237
1217 * filemode.c (filemodestring): Note in comment where it is 1238 * filemode.c (filemodestring): Note in comment where it is
1218 declared. 1239 declared.
1219 1240
1283 1304
1284 Fix stale match data after failed search bug. 1305 Fix stale match data after failed search bug.
1285 1306
1286 * search.c (search_buffer): 1307 * search.c (search_buffer):
1287 Don't find null string if repetition count is 0. 1308 Don't find null string if repetition count is 0.
1288 (string_match_1): 1309 (string_match_1):
1289 (looking_at_1): 1310 (looking_at_1):
1290 (search_buffer): 1311 (search_buffer):
1291 (simple_search): 1312 (simple_search):
1292 (boyer_moore): 1313 (boyer_moore):
1293 Clear all search regs as start, not unused ones on success. 1314 Clear all search regs as start, not unused ones on success.
1294 * regex.c (re_match_2_internal): Fix comment about clearing regs. 1315 * regex.c (re_match_2_internal): Fix comment about clearing regs.
1295 1316
1397 * file-coding.c (look_for_coding_system_magic_cookie): 1418 * file-coding.c (look_for_coding_system_magic_cookie):
1398 * file-coding.c (vars_of_file_coding): 1419 * file-coding.c (vars_of_file_coding):
1399 Fix up internal magic-cookie code to also check for 1420 Fix up internal magic-cookie code to also check for
1400 `;;;###coding system', already handled by the (redundant) 1421 `;;;###coding system', already handled by the (redundant)
1401 code in files.el. 1422 code in files.el.
1402 1423
1403 * regex.c (re_match_2_internal): 1424 * regex.c (re_match_2_internal):
1404 Fix problem with ordering of initializations and statements -- OK in 1425 Fix problem with ordering of initializations and statements -- OK in
1405 C++, not in C. 1426 C++, not in C.
1406 1427
1407 * search.c (fast_string_match): 1428 * search.c (fast_string_match):
1408 Indentation. 1429 Indentation.
1409 1430
1410 2003-03-06 Ben Wing <ben@xemacs.org> 1431 2003-03-06 Ben Wing <ben@xemacs.org>
1411 1432
1425 happening when failures in earlier steps have occurred. 1446 happening when failures in earlier steps have occurred.
1426 1447
1427 * alloc.c (disksave_object_finalization): 1448 * alloc.c (disksave_object_finalization):
1428 Don't arbitrarily clear Vconfigure_info_directory since it 1449 Don't arbitrarily clear Vconfigure_info_directory since it
1429 messes up separate build/source dirs. 1450 messes up separate build/source dirs.
1430 1451
1431 * console.c (get_console_variant): 1452 * console.c (get_console_variant):
1432 * console.c (Fvalid_console_type_p): 1453 * console.c (Fvalid_console_type_p):
1433 * console.c (Fconsole_type): 1454 * console.c (Fconsole_type):
1434 * console.h (console_variant): 1455 * console.h (console_variant):
1435 * device-msw.c: 1456 * device-msw.c:
1436 * device.c: 1457 * device.c:
1437 Add accidentally omitted msprinter console and data descriptions. 1458 Add accidentally omitted msprinter console and data descriptions.
1438 1459
1439 * print.c: 1460 * print.c:
1440 * print.c (write_string_to_stdio_stream_1): 1461 * print.c (write_string_to_stdio_stream_1):
1441 * print.c (write_string_to_stdio_stream): 1462 * print.c (write_string_to_stdio_stream):
1442 * print.c (write_string_to_external_output_va): 1463 * print.c (write_string_to_external_output_va):
1443 * print.c (stderr_out): 1464 * print.c (stderr_out):
1453 * print.c (syms_of_print): 1474 * print.c (syms_of_print):
1454 * console-msw.c (write_string_to_mswindows_debugging_output): 1475 * console-msw.c (write_string_to_mswindows_debugging_output):
1455 Add clear-left-side functionality to help keep stdio/stderr 1476 Add clear-left-side functionality to help keep stdio/stderr
1456 output from separate sources on separate lines. Generalize 1477 output from separate sources on separate lines. Generalize
1457 the different kinds of debugging output. Add dpa(). 1478 the different kinds of debugging output. Add dpa().
1458 1479
1459 * profile.c: 1480 * profile.c:
1460 * profile.c (vars_of_profile): 1481 * profile.c (vars_of_profile):
1461 Add better docs on Unix/Windows differences. 1482 Add better docs on Unix/Windows differences.
1462 1483
1463 * regex.c: 1484 * regex.c:
1464 * regex.c (RE_TRANSLATE_1): 1485 * regex.c (RE_TRANSLATE_1):
1465 * regex.c (REGEX_ALLOCATE_STACK): 1486 * regex.c (REGEX_ALLOCATE_STACK):
1466 * regex.c (RE_MATCH_RELOCATE_MOVEABLE_DATA_POINTERS): 1487 * regex.c (RE_MATCH_RELOCATE_MOVEABLE_DATA_POINTERS):
1467 * regex.c (RE_SEARCH_RELOCATE_MOVEABLE_DATA_POINTERS): 1488 * regex.c (RE_SEARCH_RELOCATE_MOVEABLE_DATA_POINTERS):
1470 Fix problems with rel-alloc compilation caused by previous patch. 1491 Fix problems with rel-alloc compilation caused by previous patch.
1471 1492
1472 * emacs.c (assert_failed): 1493 * emacs.c (assert_failed):
1473 Seg fault rather than abort on Cygwin, since gdb doesn't trap 1494 Seg fault rather than abort on Cygwin, since gdb doesn't trap
1474 aborts properly. 1495 aborts properly.
1475 1496
1476 * console-gtk-impl.h: 1497 * console-gtk-impl.h:
1477 * console-gtk-impl.h (struct gtk_frame): 1498 * console-gtk-impl.h (struct gtk_frame):
1478 * console-gtk.h: 1499 * console-gtk.h:
1479 * console-msw.h: 1500 * console-msw.h:
1480 * console-x-impl.h: 1501 * console-x-impl.h:
1613 * dumper.c (pdump_register_sub): 1634 * dumper.c (pdump_register_sub):
1614 * dumper.c (pdump_store_new_pointer_offsets): 1635 * dumper.c (pdump_store_new_pointer_offsets):
1615 * dumper.c (pdump_reloc_one): 1636 * dumper.c (pdump_reloc_one):
1616 * dumper.c (pdump_dump_root_struct_ptrs): 1637 * dumper.c (pdump_dump_root_struct_ptrs):
1617 Issue notes about incremental linking problems under Windows. 1638 Issue notes about incremental linking problems under Windows.
1618 1639
1619 * fileio.c: 1640 * fileio.c:
1620 * fileio.c (barf_or_query_if_file_exists): 1641 * fileio.c (barf_or_query_if_file_exists):
1621 * fileio.c (Fsysnetunam): 1642 * fileio.c (Fsysnetunam):
1622 * fileio.c (Fencrypt_string): 1643 * fileio.c (Fencrypt_string):
1623 * fileio.c (Fdecrypt_string): 1644 * fileio.c (Fdecrypt_string):
1624 * fileio.c (Fdo_auto_save): 1645 * fileio.c (Fdo_auto_save):
1625 Mule-ize encrypt/decrypt-string code. 1646 Mule-ize encrypt/decrypt-string code.
1626 1647
1627 * text.h (DEC_IBYTEPTR): 1648 * text.h (DEC_IBYTEPTR):
1628 * text.h (EI_ALLOC): 1649 * text.h (EI_ALLOC):
1629 * text.h (eicpy_lstr): 1650 * text.h (eicpy_lstr):
1630 * text.h (eicpy_raw_fmt): 1651 * text.h (eicpy_raw_fmt):
1631 * text.h (eicpy_ch): 1652 * text.h (eicpy_ch):
1845 2003-02-20 Ben Wing <ben@xemacs.org> 1866 2003-02-20 Ben Wing <ben@xemacs.org>
1846 1867
1847 * alloc.c: 1868 * alloc.c:
1848 * alloc.c (garbage_collect_1): 1869 * alloc.c (garbage_collect_1):
1849 Make gc_currently_forbidden static. 1870 Make gc_currently_forbidden static.
1850 1871
1851 * config.h.in: 1872 * config.h.in:
1852 * lisp.h: 1873 * lisp.h:
1853 Move some stuff to lisp.h. 1874 Move some stuff to lisp.h.
1854 1875
1855 * console-gtk.h: 1876 * console-gtk.h:
1887 * event-stream.c (event_stream_quit_p): 1908 * event-stream.c (event_stream_quit_p):
1888 * event-stream.c (run_pre_idle_hook): 1909 * event-stream.c (run_pre_idle_hook):
1889 * event-stream.c (Fdiscard_input): 1910 * event-stream.c (Fdiscard_input):
1890 * frame.c: 1911 * frame.c:
1891 Add comments about calling Lisp. 1912 Add comments about calling Lisp.
1892 1913
1893 * debug.c: 1914 * debug.c:
1894 * debug.c (FROB): 1915 * debug.c (FROB):
1895 * debug.c (syms_of_debug): 1916 * debug.c (syms_of_debug):
1896 * general-slots.h: 1917 * general-slots.h:
1897 Move generalish symbols to general-slots.h. 1918 Move generalish symbols to general-slots.h.
1898 1919
1899 * doprnt.c (get_doprnt_args): 1920 * doprnt.c (get_doprnt_args):
1900 * doprnt.c (emacs_doprnt_1): 1921 * doprnt.c (emacs_doprnt_1):
1901 reindent. 1922 reindent.
1902 1923
1903 * lisp.h (Dynarr_reset): 1924 * lisp.h (Dynarr_reset):
1904 * lisp.h (Dynarr_add): 1925 * lisp.h (Dynarr_add):
1905 * lisp.h (Dynarr_increment): 1926 * lisp.h (Dynarr_increment):
1906 * lisp.h (Dynarr_pop): 1927 * lisp.h (Dynarr_pop):
1907 * lisp.h (Dynarr_delete_object): 1928 * lisp.h (Dynarr_delete_object):
1910 * dynarr.c (Dynarr_insert_many): 1931 * dynarr.c (Dynarr_insert_many):
1911 * dynarr.c (Dynarr_delete_many): 1932 * dynarr.c (Dynarr_delete_many):
1912 * dynarr.c (Dynarr_memory_usage): 1933 * dynarr.c (Dynarr_memory_usage):
1913 Add debug code for locking a dynarr to catch invalid mods. 1934 Add debug code for locking a dynarr to catch invalid mods.
1914 Use in redisplay.c. 1935 Use in redisplay.c.
1915 1936
1916 * eval.c: 1937 * eval.c:
1917 * eval.c (throw_or_bomb_out): 1938 * eval.c (throw_or_bomb_out):
1918 * eval.c (Fsignal): 1939 * eval.c (Fsignal):
1919 * eval.c (Feval): 1940 * eval.c (Feval):
1920 * eval.c (Ffuncall): 1941 * eval.c (Ffuncall):
1922 * eval.c (call_trapping_problems): 1943 * eval.c (call_trapping_problems):
1923 1944
1924 * file-coding.c: 1945 * file-coding.c:
1925 * file-coding.c (complex_vars_of_file_coding): 1946 * file-coding.c (complex_vars_of_file_coding):
1926 Define file-name as alias for native not vice-versa. 1947 Define file-name as alias for native not vice-versa.
1927 1948
1928 * frame-gtk.c: 1949 * frame-gtk.c:
1929 * frame-gtk.c (syms_of_frame_gtk): 1950 * frame-gtk.c (syms_of_frame_gtk):
1930 * frame-x.c: 1951 * frame-x.c:
1931 * frame-x.c (syms_of_frame_x): 1952 * frame-x.c (syms_of_frame_x):
1932 Move Qwindow_id to general-slots. 1953 Move Qwindow_id to general-slots.
1933 1954
1934 * dialog-msw.c (handle_question_dialog_box): 1955 * dialog-msw.c (handle_question_dialog_box):
1935 * glyphs-gtk.c (gtk_tab_control_redisplay): 1956 * glyphs-gtk.c (gtk_tab_control_redisplay):
1936 * glyphs-msw.c: 1957 * glyphs-msw.c:
1937 * glyphs-msw.c (mswindows_redisplay_widget): 1958 * glyphs-msw.c (mswindows_redisplay_widget):
1938 * glyphs-msw.c (mswindows_widget_instantiate): 1959 * glyphs-msw.c (mswindows_widget_instantiate):
1966 protect the evals. Same for calls to internal_equal(). 1987 protect the evals. Same for calls to internal_equal().
1967 Modify various functions, e.g. gui_item_*(), to protect evals 1988 Modify various functions, e.g. gui_item_*(), to protect evals
1968 within redisplay, taking an in_redisplay parameter if it's 1989 within redisplay, taking an in_redisplay parameter if it's
1969 possible for them to be called both inside and outside of 1990 possible for them to be called both inside and outside of
1970 redisplay. 1991 redisplay.
1971 1992
1972 * gutter.c: 1993 * gutter.c:
1973 * gutter.c (calculate_gutter_size): 1994 * gutter.c (calculate_gutter_size):
1974 * gutter.c (redraw_exposed_gutters): 1995 * gutter.c (redraw_exposed_gutters):
1975 * gutter.c (Fset_default_gutter_position): 1996 * gutter.c (Fset_default_gutter_position):
1976 * gutter.c (gutter_specs_changed): 1997 * gutter.c (gutter_specs_changed):
1977 * gutter.c (gutter_geometry_changed_in_window): 1998 * gutter.c (gutter_geometry_changed_in_window):
1978 Defer specifier-changed updating till after redisplay, if 1999 Defer specifier-changed updating till after redisplay, if
1979 necessary, since we need to enter redisplay to do it. 2000 necessary, since we need to enter redisplay to do it.
1980 2001
1981 * gutter.c (Fredisplay_gutter_area): 2002 * gutter.c (Fredisplay_gutter_area):
1982 Do nothing if in redisplay. 2003 Do nothing if in redisplay.
1983 2004
1984 * lisp.h: 2005 * lisp.h:
1985 Add version of alloca() for use in function calls. 2006 Add version of alloca() for use in function calls.
1986 2007
1987 * lisp.h (XCADR): 2008 * lisp.h (XCADR):
1988 Add XCAD[D+]R up to 6 D's, and aliases X1ST, X2ND, etc. 2009 Add XCAD[D+]R up to 6 D's, and aliases X1ST, X2ND, etc.
1989 2010
1990 * frame.c (invalidate_vertical_divider_cache_in_frame): 2011 * frame.c (invalidate_vertical_divider_cache_in_frame):
1991 * frame.c (adjust_frame_size): 2012 * frame.c (adjust_frame_size):
1992 * frame.c (store_minibuf_frame_prop): 2013 * frame.c (store_minibuf_frame_prop):
1993 * frame.c (Fset_frame_properties): 2014 * frame.c (Fset_frame_properties):
1994 * frame.c (internal_set_frame_size): 2015 * frame.c (internal_set_frame_size):
2027 entering a complete critical section. Introduce "post-redisplay" 2048 entering a complete critical section. Introduce "post-redisplay"
2028 methods for deferring things till after redisplay. Abort if 2049 methods for deferring things till after redisplay. Abort if
2029 we enter redisplay reentrantly. Disable all quit checking in 2050 we enter redisplay reentrantly. Disable all quit checking in
2030 redisplay since it's too dangerous. Ensure that all calls to 2051 redisplay since it's too dangerous. Ensure that all calls to
2031 QUIT trigger an abort if unprotected. 2052 QUIT trigger an abort if unprotected.
2032 2053
2033 * redisplay.c: 2054 * redisplay.c:
2034 * scrollbar-gtk.c (gtk_update_frame_scrollbars): 2055 * scrollbar-gtk.c (gtk_update_frame_scrollbars):
2035 * scrollbar-x.c (x_update_frame_scrollbars): 2056 * scrollbar-x.c (x_update_frame_scrollbars):
2036 * scrollbar.c: 2057 * scrollbar.c:
2037 * scrollbar.c (update_window_scrollbars): 2058 * scrollbar.c (update_window_scrollbars):
2038 Create enter/exit_redisplay_critical_section_maybe() for code 2059 Create enter/exit_redisplay_critical_section_maybe() for code
2039 that needs to ensure it's in a critical section but doesn't 2060 that needs to ensure it's in a critical section but doesn't
2040 interfere with an existing critical section. 2061 interfere with an existing critical section.
2041 2062
2042 * sysdep.c: 2063 * sysdep.c:
2043 * sysdep.c (qxe_execve): 2064 * sysdep.c (qxe_execve):
2044 Use _wexecve() when under Windows NT for Unicode correctness. 2065 Use _wexecve() when under Windows NT for Unicode correctness.
2045 2066
2046 * text.c: 2067 * text.c:
2047 * text.c (new_dfc_convert_now_damn_it): 2068 * text.c (new_dfc_convert_now_damn_it):
2048 * text.c (new_dfc_convert_malloc): 2069 * text.c (new_dfc_convert_malloc):
2049 * text.c (find_pos_of_existing_active_dfc_e2c): 2070 * text.c (find_pos_of_existing_active_dfc_e2c):
2050 * text.c (new_dfc_convert_alloca): 2071 * text.c (new_dfc_convert_alloca):
2059 than requiring an lvalue. (Not really used yet; used in another 2080 than requiring an lvalue. (Not really used yet; used in another
2060 workspace, to come.) Add some macros for SIZED_EXTERNAL. 2081 workspace, to come.) Add some macros for SIZED_EXTERNAL.
2061 2082
2062 Update the encoding aliases after involved scrutinization of the 2083 Update the encoding aliases after involved scrutinization of the
2063 X manual. 2084 X manual.
2064 2085
2065 * unicode.c: 2086 * unicode.c:
2066 * unicode.c (init_blank_unicode_tables): 2087 * unicode.c (init_blank_unicode_tables):
2067 * unicode.c (init_charset_unicode_tables): 2088 * unicode.c (init_charset_unicode_tables):
2068 * unicode.c (syms_of_unicode): 2089 * unicode.c (syms_of_unicode):
2069 Answer the anonymous but suspiciously Turnbullian questions. 2090 Answer the anonymous but suspiciously Turnbullian questions.
2158 `make' (except the Makefiles themselves and config.h, paths.h, 2179 `make' (except the Makefiles themselves and config.h, paths.h,
2159 Emacs.ad.h, and other generated .h files). 2180 Emacs.ad.h, and other generated .h files).
2160 2181
2161 * console.c (Fvalid_console_type_p): 2182 * console.c (Fvalid_console_type_p):
2162 Update list of possibly valid console types. 2183 Update list of possibly valid console types.
2163 2184
2164 * emacs.c: 2185 * emacs.c:
2165 * emacs.c (check_compatible_window_system): 2186 * emacs.c (check_compatible_window_system):
2166 * emacs.c (main_1): 2187 * emacs.c (main_1):
2167 * emacs.c (standard_args): 2188 * emacs.c (standard_args):
2168 * emacs.c (sort_args): 2189 * emacs.c (sort_args):
2187 gtk? perhaps should check whether gnome is running), else MS 2208 gtk? perhaps should check whether gnome is running), else MS
2188 Windows if it exsits, else TTY if it exists, else stream, and you 2209 Windows if it exsits, else TTY if it exists, else stream, and you
2189 must be running in batch mode. This also fixes an existing bug 2210 must be running in batch mode. This also fixes an existing bug
2190 whereby compiling with no x, no mswin, no tty, when running non- 2211 whereby compiling with no x, no mswin, no tty, when running non-
2191 interactively (e.g. to dump) I get "sorry, must have TTY support". 2212 interactively (e.g. to dump) I get "sorry, must have TTY support".
2192 2213
2193 * emacs.c (Frun_emacs_from_temacs): 2214 * emacs.c (Frun_emacs_from_temacs):
2194 Turn on Vstack_trace_on_error so that errors are debuggable even 2215 Turn on Vstack_trace_on_error so that errors are debuggable even
2195 when occurring extremely early in reinitialization. 2216 when occurring extremely early in reinitialization.
2196 * emacs.c (pause_so_user_can_read_messages): 2217 * emacs.c (pause_so_user_can_read_messages):
2197 Try to make sure that the user can see message output under 2218 Try to make sure that the user can see message output under
2201 * emacs.c (syms_of_emacs): 2222 * emacs.c (syms_of_emacs):
2202 Define new function `emacs-run-status', indicating whether XEmacs 2223 Define new function `emacs-run-status', indicating whether XEmacs
2203 is noninteractive or interactive, whether raw, 2224 is noninteractive or interactive, whether raw,
2204 post-dump/pdump-load or run-temacs, whether we are dumping, 2225 post-dump/pdump-load or run-temacs, whether we are dumping,
2205 whether pdump is in effect. 2226 whether pdump is in effect.
2206 2227
2207 * event-stream.c: 2228 * event-stream.c:
2208 It's "mommas are fat", not "momas are fat". 2229 It's "mommas are fat", not "momas are fat".
2209 Fix other typo. 2230 Fix other typo.
2210 * event-stream.c (Fnext_event): 2231 * event-stream.c (Fnext_event):
2211 Conditionalize in_menu_callback check on HAVE_MENUBARS, 2232 Conditionalize in_menu_callback check on HAVE_MENUBARS,
2212 because it won't exist on w/o menubar support, 2233 because it won't exist on w/o menubar support,
2213 2234
2214 * lisp.h: 2235 * lisp.h:
2215 More hackery on RETURN_NOT_REACHED. Cygwin v3.2 DOES complain here 2236 More hackery on RETURN_NOT_REACHED. Cygwin v3.2 DOES complain here
2216 if RETURN_NOT_REACHED() is blank, as it is for GCC 2.5+. So make it 2237 if RETURN_NOT_REACHED() is blank, as it is for GCC 2.5+. So make it
2217 blank only for GCC 2.5 through 2.999999999999999. 2238 blank only for GCC 2.5 through 2.999999999999999.
2218 2239
2219 Declare Vstack_trace_on_error. 2240 Declare Vstack_trace_on_error.
2220 2241
2221 * profile.c: 2242 * profile.c:
2222 Need to include "profile.h" to fix warnings. 2243 Need to include "profile.h" to fix warnings.
2223 2244
2224 * sheap.c (report_sheap_usage): 2245 * sheap.c (report_sheap_usage):
2225 Don't fatal() when need to rerun Make, just stderr_out() and exit(0). 2246 Don't fatal() when need to rerun Make, just stderr_out() and exit(0).
2226 That way we can distinguish between a dumping failing expectedly 2247 That way we can distinguish between a dumping failing expectedly
2227 (due to lack of stack space, triggering another dump) and unexpectedly, 2248 (due to lack of stack space, triggering another dump) and unexpectedly,
2228 in which case, we want to stop building. (or go on, if -K is given) 2249 in which case, we want to stop building. (or go on, if -K is given)
2240 * text.h (alloca_ibytes): 2261 * text.h (alloca_ibytes):
2241 Spacing fixes. 2262 Spacing fixes.
2242 2263
2243 * xmotif.h: 2264 * xmotif.h:
2244 New file, to get around shadowing warnings. 2265 New file, to get around shadowing warnings.
2245 2266
2246 * EmacsManager.c: 2267 * EmacsManager.c:
2247 * event-Xt.c: 2268 * event-Xt.c:
2248 * glyphs-x.c: 2269 * glyphs-x.c:
2249 * gui-x.c: 2270 * gui-x.c:
2250 * input-method-motif.c: 2271 * input-method-motif.c:
2251 * xmmanagerp.h: 2272 * xmmanagerp.h:
2252 * xmprimitivep.h: 2273 * xmprimitivep.h:
2253 Include xmotif.h. 2274 Include xmotif.h.
2254 2275
2255 * alloc.c: 2276 * alloc.c:
2256 Conditionalize in_malloc on ERROR_CHECK_MALLOC. 2277 Conditionalize in_malloc on ERROR_CHECK_MALLOC.
2257 2278
2258 * config.h.in: 2279 * config.h.in:
2259 * file-coding.h: 2280 * file-coding.h:
2260 * fileio.c: 2281 * fileio.c:
2261 * getloadavg.c (getloadavg): 2282 * getloadavg.c (getloadavg):
2262 * select-x.c: 2283 * select-x.c:
2267 * text.c (dfc_convert_to_external_format): 2288 * text.c (dfc_convert_to_external_format):
2268 * text.c (dfc_convert_to_internal_format): 2289 * text.c (dfc_convert_to_internal_format):
2269 * unicode.c (dfc_coding_system_is_unicode): 2290 * unicode.c (dfc_coding_system_is_unicode):
2270 Eliminate HAVE_WIN32_CODING_SYSTEMS, use WIN32_ANY instead. 2291 Eliminate HAVE_WIN32_CODING_SYSTEMS, use WIN32_ANY instead.
2271 Replace defined (WIN32_NATIVE) || defined (CYGWIN) with WIN32_ANY. 2292 Replace defined (WIN32_NATIVE) || defined (CYGWIN) with WIN32_ANY.
2272 2293
2273 * lisp.h: 2294 * lisp.h:
2274 More futile attempts to walk and chew gum at the same time when 2295 More futile attempts to walk and chew gum at the same time when
2275 dealing with subr's that don't return. 2296 dealing with subr's that don't return.
2276 2297
2277 2003-02-19 Ben Wing <ben@xemacs.org> 2298 2003-02-19 Ben Wing <ben@xemacs.org>
2278 2299
2279 * eval.c (unbind_to_hairy): 2300 * eval.c (unbind_to_hairy):
2280 Don't check_quit() unless we're unbinding a real Lisp 2301 Don't check_quit() unless we're unbinding a real Lisp
2281 `unwind-protect' since check_quit() does lots of weird things and 2302 `unwind-protect' since check_quit() does lots of weird things and
2318 2003-02-14 Ben Wing <ben@xemacs.org> 2339 2003-02-14 Ben Wing <ben@xemacs.org>
2319 2340
2320 * buffer.c: 2341 * buffer.c:
2321 * syntax.c: 2342 * syntax.c:
2322 Move syntax table description from buffer.c to syntax.c. 2343 Move syntax table description from buffer.c to syntax.c.
2323 2344
2324 * chartab.c: 2345 * chartab.c:
2325 * chartab.c (set_char_table_dirty): 2346 * chartab.c (set_char_table_dirty):
2326 * chartab.c (fill_char_table): 2347 * chartab.c (fill_char_table):
2327 * chartab.c (Fmake_char_table): 2348 * chartab.c (Fmake_char_table):
2328 * chartab.c (Fcopy_char_table): 2349 * chartab.c (Fcopy_char_table):
2336 Add a back pointer from mirror tables to the original syntax table. 2357 Add a back pointer from mirror tables to the original syntax table.
2337 When modifying a syntax table, don't update the mirror table right 2358 When modifying a syntax table, don't update the mirror table right
2338 away, just mark as dirty. 2359 away, just mark as dirty.
2339 Add various asserts to make sure we are dealing with the right type 2360 Add various asserts to make sure we are dealing with the right type
2340 of table (mirror or non-mirror). 2361 of table (mirror or non-mirror).
2341 2362
2342 * font-lock.c: 2363 * font-lock.c:
2343 * font-lock.c (find_context): 2364 * font-lock.c (find_context):
2344 * syntax.c (init_syntax_cache): 2365 * syntax.c (init_syntax_cache):
2345 * syntax.c (setup_syntax_cache): 2366 * syntax.c (setup_syntax_cache):
2346 * syntax.c (mark_buffer_syntax_cache): 2367 * syntax.c (mark_buffer_syntax_cache):
2363 2384
2364 * syntax.h (SYNTAX_CODE_FROM_CACHE): 2385 * syntax.h (SYNTAX_CODE_FROM_CACHE):
2365 When retrieving the syntax code, check the dirty flag and update 2386 When retrieving the syntax code, check the dirty flag and update
2366 the mirror tables as appropriate. 2387 the mirror tables as appropriate.
2367 Add some asserts, as above. 2388 Add some asserts, as above.
2368 2389
2369 2003-02-14 Ben Wing <ben@xemacs.org> 2390 2003-02-14 Ben Wing <ben@xemacs.org>
2370 2391
2371 * scrollbar.c (specifier_vars_of_scrollbar): 2392 * scrollbar.c (specifier_vars_of_scrollbar):
2372 Don't generate fallbacks for TTY's when not HAVE_TTY. 2393 Don't generate fallbacks for TTY's when not HAVE_TTY.
2373 2394
2375 2396
2376 Make XEmacs redisplay 10 times faster. 2397 Make XEmacs redisplay 10 times faster.
2377 If, that is, you're using a slow X connection and MoveOpaque. 2398 If, that is, you're using a slow X connection and MoveOpaque.
2378 Use compress_exposure = XtExposeCompressMaximal | XtExposeNoRegion. 2399 Use compress_exposure = XtExposeCompressMaximal | XtExposeNoRegion.
2379 Use compress_motion = TRUE. 2400 Use compress_motion = TRUE.
2380 * EmacsFrame.c (emacsFrameClassRec): 2401 * EmacsFrame.c (emacsFrameClassRec):
2381 * EmacsShell-sub.c (EMACS_SHELL_CLASS_REC): 2402 * EmacsShell-sub.c (EMACS_SHELL_CLASS_REC):
2382 * EmacsManager.c (emacsManagerClassRec): 2403 * EmacsManager.c (emacsManagerClassRec):
2383 * xintrinsicp.h: Make sure XtExposeNoRegion is defined. 2404 * xintrinsicp.h: Make sure XtExposeNoRegion is defined.
2384 2405
2385 2003-02-13 Ben Wing <ben@xemacs.org> 2406 2003-02-13 Ben Wing <ben@xemacs.org>
2433 modifying it. (protects against getting screwed up by the signal 2454 modifying it. (protects against getting screwed up by the signal
2434 handle going off at the same time. 2455 handle going off at the same time.
2435 2456
2436 * profile.h: New file. 2457 * profile.h: New file.
2437 Create macros for declaring internal profiling sections. 2458 Create macros for declaring internal profiling sections.
2438 2459
2439 * lisp.h: 2460 * lisp.h:
2440 Move profile-related stuff to profile.h. 2461 Move profile-related stuff to profile.h.
2441 2462
2442 * alloc.c: 2463 * alloc.c:
2443 * alloc.c (INCREMENT_CONS_COUNTER_1): 2464 * alloc.c (INCREMENT_CONS_COUNTER_1):
2467 New Lisp var `backtrace-with-internal-sections'. Set to t when 2488 New Lisp var `backtrace-with-internal-sections'. Set to t when
2468 error-checking is on. 2489 error-checking is on.
2469 2490
2470 * eval.c: 2491 * eval.c:
2471 * eval.c (unwind_to_catch): 2492 * eval.c (unwind_to_catch):
2472 When unwinding, 2493 When unwinding,
2473 2494
2474 * eval.c (Fcommand_execute): 2495 * eval.c (Fcommand_execute):
2475 * eval.c (Feval): 2496 * eval.c (Feval):
2476 * eval.c (Ffuncall): 2497 * eval.c (Ffuncall):
2477 Report to profile when we are about-to-call and just-called wrt. a 2498 Report to profile when we are about-to-call and just-called wrt. a
2478 function. 2499 function.
2513 * hash.h: 2534 * hash.h:
2514 Add pregrow_hash_table_if_necessary(). (Used in profile code 2535 Add pregrow_hash_table_if_necessary(). (Used in profile code
2515 since the signal handler is the main grower but can't allow 2536 since the signal handler is the main grower but can't allow
2516 a realloc(). We make sure, at critical points, that the table 2537 a realloc(). We make sure, at critical points, that the table
2517 is large enough.) 2538 is large enough.)
2518 2539
2519 * lread.c: 2540 * lread.c:
2520 * lread.c (Fload_internal): 2541 * lread.c (Fload_internal):
2521 * lread.c (done): New. 2542 * lread.c (done): New.
2522 * lread.c (syms_of_lread): 2543 * lread.c (syms_of_lread):
2523 * lread.c (vars_of_lread): 2544 * lread.c (vars_of_lread):
2544 * text.c: 2565 * text.c:
2545 Update the long comments. 2566 Update the long comments.
2546 2567
2547 2003-02-07 Mike Sperber <mike@xemacs.org> 2568 2003-02-07 Mike Sperber <mike@xemacs.org>
2548 2569
2549 * scrollbar.c (specifier_vars_of_scrollbar): 2570 * scrollbar.c (specifier_vars_of_scrollbar):
2550 (specifier_vars_of_scrollbar): TTY devices don't have scrollbars. 2571 (specifier_vars_of_scrollbar): TTY devices don't have scrollbars.
2551 2572
2552 2003-01-28 Martin Buchholz <martin@xemacs.org> 2573 2003-01-28 Martin Buchholz <martin@xemacs.org>
2553 2574
2554 * config.h.in (_ALL_SOURCE): Guard against multiple definition. 2575 * config.h.in (_ALL_SOURCE): Guard against multiple definition.
2558 * console-stream.c: 2579 * console-stream.c:
2559 * console-stream.c (stream_clear_region): 2580 * console-stream.c (stream_clear_region):
2560 * console-stream.c (console_type_create_stream): 2581 * console-stream.c (console_type_create_stream):
2561 Abort when any attempts to output a stream console are made. 2582 Abort when any attempts to output a stream console are made.
2562 Should be caught sooner. 2583 Should be caught sooner.
2563 2584
2564 * event-msw.c (mswindows_wnd_proc): 2585 * event-msw.c (mswindows_wnd_proc):
2565 Don't redisplay() during sizing when the frame has not yet been 2586 Don't redisplay() during sizing when the frame has not yet been
2566 initialized completely. 2587 initialized completely.
2567 2588
2568 * event-stream.c (Fnext_event): 2589 * event-stream.c (Fnext_event):
2569 * menubar-msw.c (mswindows_handle_wm_initmenupopup): 2590 * menubar-msw.c (mswindows_handle_wm_initmenupopup):
2570 * menubar-x.c (protected_menu_item_descriptor_to_widget_value): 2591 * menubar-x.c (protected_menu_item_descriptor_to_widget_value):
2571 * menubar.c: 2592 * menubar.c:
2572 * menubar.h: 2593 * menubar.h:
2573 Restore in_menu_callback. Bind it in menubar-{msw,x}.c when 2594 Restore in_menu_callback. Bind it in menubar-{msw,x}.c when
2574 calling filter functions and the like. Conditionalize on it, not 2595 calling filter functions and the like. Conditionalize on it, not
2575 in_modal_loop, when issuing error in `next-event', otherwise we 2596 in_modal_loop, when issuing error in `next-event', otherwise we
2576 bite the dust immediately -- event-msw.c purposely calls 2597 bite the dust immediately -- event-msw.c purposely calls
2577 Fnext_event() in a modal loop, and knows what it's doing. 2598 Fnext_event() in a modal loop, and knows what it's doing.
2578 2599
2579 * redisplay-output.c (redisplay_unmap_subwindows_maybe): 2600 * redisplay-output.c (redisplay_unmap_subwindows_maybe):
2580 * redisplay-output.c (redisplay_unmap_subwindows_except_us): 2601 * redisplay-output.c (redisplay_unmap_subwindows_except_us):
2581 Formatting fixes. 2602 Formatting fixes.
2582 2603
2583 * redisplay.c: 2604 * redisplay.c:
2584 * redisplay.c (redisplay_frame): 2605 * redisplay.c (redisplay_frame):
2585 * redisplay.c (Fredisplay_echo_area): 2606 * redisplay.c (Fredisplay_echo_area):
2586 * redisplay.c (redisplay_no_pre_idle_hook): 2607 * redisplay.c (redisplay_no_pre_idle_hook):
2587 * redisplay.c (syms_of_redisplay): 2608 * redisplay.c (syms_of_redisplay):
2597 2618
2598 * redisplay.c (redisplay_frame): 2619 * redisplay.c (redisplay_frame):
2599 Put in a check here (as well as redisplay_device()) for a stream 2620 Put in a check here (as well as redisplay_device()) for a stream
2600 frame. We can get here directly through Lisp fun 2621 frame. We can get here directly through Lisp fun
2601 `redisplay-frame'. Abort if frame not initialized. 2622 `redisplay-frame'. Abort if frame not initialized.
2602 2623
2603 * redisplay.c (Fredisplay_echo_area): 2624 * redisplay.c (Fredisplay_echo_area):
2604 * redisplay.c (Fforce_cursor_redisplay): 2625 * redisplay.c (Fforce_cursor_redisplay):
2605 Check for stream frames/devices. 2626 Check for stream frames/devices.
2606 2627
2607 2003-02-07 Mike Sperber <mike@xemacs.org> 2628 2003-02-07 Mike Sperber <mike@xemacs.org>
2632 (2) Improve redisplay handling of preemption. Turn on lazy lock 2653 (2) Improve redisplay handling of preemption. Turn on lazy lock
2633 and hold down page-down or page-up and you'll see what I mean. 2654 and hold down page-down or page-up and you'll see what I mean.
2634 2655
2635 They are related because they both touch on the code that retrieves 2656 They are related because they both touch on the code that retrieves
2636 events and handles the internal queues. 2657 events and handles the internal queues.
2637 2658
2638 * console-msw.h: 2659 * console-msw.h:
2639 * event-msw.c: 2660 * event-msw.c:
2640 * event-msw.c (mswindows_unmodalize_signal_maybe): 2661 * event-msw.c (mswindows_unmodalize_signal_maybe):
2641 * event-msw.c (mswindows_unsafe_pump_events): 2662 * event-msw.c (mswindows_unsafe_pump_events):
2642 * event-msw.c (mswindows_pump_outstanding_events): 2663 * event-msw.c (mswindows_pump_outstanding_events):
2680 * event-Xt.c (emacs_Xt_drain_queue): 2701 * event-Xt.c (emacs_Xt_drain_queue):
2681 * event-gtk.c (emacs_gtk_drain_queue): 2702 * event-gtk.c (emacs_gtk_drain_queue):
2682 If in_modal_loop, only retrieve process and timeout events. 2703 If in_modal_loop, only retrieve process and timeout events.
2683 Don't retrieve any X events because processing them can lead 2704 Don't retrieve any X events because processing them can lead
2684 to reentrancy in lwlib -> death. 2705 to reentrancy in lwlib -> death.
2685 2706
2686 * event-stream.c: 2707 * event-stream.c:
2687 * event-stream.c (check_event_stream_ok): 2708 * event-stream.c (check_event_stream_ok):
2688 * event-stream.c (event_stream_handle_magic_event): 2709 * event-stream.c (event_stream_handle_magic_event):
2689 * event-stream.c (event_stream_format_magic_event): 2710 * event-stream.c (event_stream_format_magic_event):
2690 * event-stream.c (event_stream_compare_magic_event): 2711 * event-stream.c (event_stream_compare_magic_event):
2699 * event-stream.c (event_stream_delete_io_streams): 2720 * event-stream.c (event_stream_delete_io_streams):
2700 * event-stream.c (event_stream_current_event_timestamp): 2721 * event-stream.c (event_stream_current_event_timestamp):
2701 * event-stream.c (event_stream_next_event): 2722 * event-stream.c (event_stream_next_event):
2702 Remove unused parameter to check_event_stream_ok() and change 2723 Remove unused parameter to check_event_stream_ok() and change
2703 all callers. 2724 all callers.
2704 2725
2705 * lisp.h: 2726 * lisp.h:
2706 * event-stream.c (maybe_do_auto_save): 2727 * event-stream.c (maybe_do_auto_save):
2707 * event-stream.c (emacs_handle_focus_change_preliminary): 2728 * event-stream.c (emacs_handle_focus_change_preliminary):
2708 * event-stream.c (emacs_handle_focus_change_final): 2729 * event-stream.c (emacs_handle_focus_change_final):
2709 * event-stream.c (detect_input_pending): 2730 * event-stream.c (detect_input_pending):
2724 Add the concept of "HOW_MANY" -- when asking whether user input 2745 Add the concept of "HOW_MANY" -- when asking whether user input
2725 is pending, you can ask if at least HOW_MANY events are pending, 2746 is pending, you can ask if at least HOW_MANY events are pending,
2726 not just if any are. Add parameter to detect_input_pending() 2747 not just if any are. Add parameter to detect_input_pending()
2727 for this. Change recursive_sit_for from a Lisp_Object (which 2748 for this. Change recursive_sit_for from a Lisp_Object (which
2728 could only be Qt or Qnil) to an int, like it should be. 2749 could only be Qt or Qnil) to an int, like it should be.
2729 2750
2730 * event-Xt.c: 2751 * event-Xt.c:
2731 * event-Xt.c (THIS_IS_X): 2752 * event-Xt.c (THIS_IS_X):
2732 * event-gtk.c: 2753 * event-gtk.c:
2733 * event-gtk.c (THIS_IS_GTK): 2754 * event-gtk.c (THIS_IS_GTK):
2734 * event-xlike-inc.c: New file. 2755 * event-xlike-inc.c: New file.
2736 only once, using include-file tricks. Rewrite this function to 2757 only once, using include-file tricks. Rewrite this function to
2737 implement HOW_MANY and only process events when not in_modal_loop. 2758 implement HOW_MANY and only process events when not in_modal_loop.
2738 2759
2739 * event-msw.c (emacs_mswindows_event_pending_p): 2760 * event-msw.c (emacs_mswindows_event_pending_p):
2740 Implement HOW_MANY and only process events when not in_modal_loop. 2761 Implement HOW_MANY and only process events when not in_modal_loop.
2741 2762
2742 * event-tty.c: 2763 * event-tty.c:
2743 * event-tty.c (tty_timeout_to_emacs_event): 2764 * event-tty.c (tty_timeout_to_emacs_event):
2744 * event-tty.c (emacs_tty_event_pending_p): 2765 * event-tty.c (emacs_tty_event_pending_p):
2745 Implement HOW_MANY. 2766 Implement HOW_MANY.
2746 2767
2754 preempt when a certain number (currently 4) of them are backed up. 2775 preempt when a certain number (currently 4) of them are backed up.
2755 This effectively allows redisplay to proceed to completion in the 2776 This effectively allows redisplay to proceed to completion in the
2756 presence of a fast auto-repeat (usually the auto-repeating is 2777 presence of a fast auto-repeat (usually the auto-repeating is
2757 generated dynamically as necessary), and you get much better 2778 generated dynamically as necessary), and you get much better
2758 display behavior with lazy-lock active. 2779 display behavior with lazy-lock active.
2759 2780
2760 * event-unixoid.c: 2781 * event-unixoid.c:
2761 Comment changes. 2782 Comment changes.
2762 2783
2763 * event-stream.c (command_event_p_cb): 2784 * event-stream.c (command_event_p_cb):
2764 * event-stream.c (Fdiscard_input): 2785 * event-stream.c (Fdiscard_input):
2765 Rewrite discard-input much more simply and safely using the 2786 Rewrite discard-input much more simply and safely using the
2766 drain-queue functions. I think the old version might loop 2787 drain-queue functions. I think the old version might loop
2767 forever if called when in_modal_loop. 2788 forever if called when in_modal_loop.
2768 2789
2769 SEMI-UNRELATED CHANGES: 2790 SEMI-UNRELATED CHANGES:
2770 ----------------------- 2791 -----------------------
2771 2792
2772 * event-stream.c (run_pre_idle_hook): 2793 * event-stream.c (run_pre_idle_hook):
2773 Turn QUIT-checking back on when running the pre-idle hook so it 2794 Turn QUIT-checking back on when running the pre-idle hook so it
2774 can be quit out of. 2795 can be quit out of.
2775 2796
2776 * indent.c: 2797 * indent.c:
2777 Document exact functioning of `vertical-motion' better, and its 2798 Document exact functioning of `vertical-motion' better, and its
2778 differences from GNU Emacs. 2799 differences from GNU Emacs.
2779 2800
2780 2003-02-06 Ben Wing <ben@xemacs.org> 2801 2003-02-06 Ben Wing <ben@xemacs.org>
2781 2802
2782 * unicode.c: 2803 * unicode.c:
2783 * unicode.c (struct utf_16_detector): 2804 * unicode.c (struct utf_16_detector):
2784 * unicode.c (utf_16_detect): 2805 * unicode.c (utf_16_detect):
2809 * Makefile.in.in (update-elc.stamp): 2830 * Makefile.in.in (update-elc.stamp):
2810 NOBYTECOMPILE -> BYTECOMPILE_CHANGE. 2831 NOBYTECOMPILE -> BYTECOMPILE_CHANGE.
2811 2832
2812 * esd.c (esd_play_sound_data): 2833 * esd.c (esd_play_sound_data):
2813 Warning fixes. 2834 Warning fixes.
2814 2835
2815 * fns.c: 2836 * fns.c:
2816 * fns.c (mark_bit_vector): 2837 * fns.c (mark_bit_vector):
2817 * fns.c (Frequire): 2838 * fns.c (Frequire):
2818 * fns.c (vars_of_fns): 2839 * fns.c (vars_of_fns):
2819 Eliminate bogus require-prints-loading-message; use already 2840 Eliminate bogus require-prints-loading-message; use already
2820 existent load-always-display-messages instead. Make sure `load' 2841 existent load-always-display-messages instead. Make sure `load'
2821 knows we are coming from `require'. 2842 knows we are coming from `require'.
2822 2843
2823 * lread.c: 2844 * lread.c:
2824 * lread.c (READCHARFUN_MAYBE): 2845 * lread.c (READCHARFUN_MAYBE):
2825 * lread.c (Fload_internal): 2846 * lread.c (Fload_internal):
2826 * lread.c (PRINT_LOADING_MESSAGE_1): 2847 * lread.c (PRINT_LOADING_MESSAGE_1):
2827 * lread.c (PRINT_LOADING_MESSAGE): 2848 * lread.c (PRINT_LOADING_MESSAGE):
2921 2002-12-20 Mike Sperber <mike@xemacs.org> 2942 2002-12-20 Mike Sperber <mike@xemacs.org>
2922 2943
2923 * ui-gtk.c: Fix typo from Ben's patch: emacs_ffi_data is a 2944 * ui-gtk.c: Fix typo from Ben's patch: emacs_ffi_data is a
2924 typedef, not a struct. emacs_gtk_object_data is a typedef, not a 2945 typedef, not a struct. emacs_gtk_object_data is a typedef, not a
2925 struct. 2946 struct.
2926 2947
2927 2948
2928 * gtk-glue.c (gdk_event_to_emacs_event): Fix typos from Ben's 2949 * gtk-glue.c (gdk_event_to_emacs_event): Fix typos from Ben's
2929 patch: le -> emacs_event + rearrange the code. 2950 patch: le -> emacs_event + rearrange the code.
2930 2951
2931 * event-gtk.c (gtk_event_to_emacs_event): Fix typos from Ben's 2952 * event-gtk.c (gtk_event_to_emacs_event): Fix typos from Ben's
2941 2962
2942 2002-12-16 Ben Wing <ben@xemacs.org> 2963 2002-12-16 Ben Wing <ben@xemacs.org>
2943 Major cleanup of KKCC, etc. 2964 Major cleanup of KKCC, etc.
2944 2965
2945 KKCC, pdump-related: 2966 KKCC, pdump-related:
2946 2967
2947 -- descriptions are written for all objects. this required some 2968 -- descriptions are written for all objects. this required some
2948 changes in the format of some objects, e.g. extents, popup-data, 2969 changes in the format of some objects, e.g. extents, popup-data,
2949 coding system, lstream, lcrecord-list. 2970 coding system, lstream, lcrecord-list.
2950 -- KKCC now handles weakness in markers, hash tables, elsewhere 2971 -- KKCC now handles weakness in markers, hash tables, elsewhere
2951 correctly (formerly, you'd eventually get a stack overflow due 2972 correctly (formerly, you'd eventually get a stack overflow due
2985 -- implement dump_add_root_block and use this to handle 3006 -- implement dump_add_root_block and use this to handle
2986 dump_add_opaque. 3007 dump_add_opaque.
2987 -- factor out some code duplicated in kkcc and pdump. 3008 -- factor out some code duplicated in kkcc and pdump.
2988 3009
2989 Other allocation/object-related: 3010 Other allocation/object-related:
2990 3011
2991 -- change various *slots.h so MARKED_SLOT() call no longer 3012 -- change various *slots.h so MARKED_SLOT() call no longer
2992 includes semicolon. 3013 includes semicolon.
2993 -- free_marker() takes a Lisp_Object not a direct pointer. 3014 -- free_marker() takes a Lisp_Object not a direct pointer.
2994 -- make bit vectors lcrecords, like vectors, and eliminate code 3015 -- make bit vectors lcrecords, like vectors, and eliminate code
2995 that essentially duplicated the lcrecord handling. 3016 that essentially duplicated the lcrecord handling.
3005 -- changes to the way that gap arrays are allocated, for kkcc's 3026 -- changes to the way that gap arrays are allocated, for kkcc's
3006 benefit -- now, one single memory block with a stretchy array on 3027 benefit -- now, one single memory block with a stretchy array on
3007 the end, instead of a separate block holding the array. 3028 the end, instead of a separate block holding the array.
3008 3029
3009 Error-checking-related: 3030 Error-checking-related:
3010 3031
3011 -- now can compile with C++ under MS Windows. clean up compile errors 3032 -- now can compile with C++ under MS Windows. clean up compile errors
3012 discovered that way. (a few were real problems) 3033 discovered that way. (a few were real problems)
3013 -- add C++ error-checking code to verify problems with mismatched 3034 -- add C++ error-checking code to verify problems with mismatched
3014 GCPRO/UNGCPRO. (there were a few in the kkcc code.) add long 3035 GCPRO/UNGCPRO. (there were a few in the kkcc code.) add long
3015 comment about how to catch insufficient GCPRO (yes, it's possible 3036 comment about how to catch insufficient GCPRO (yes, it's possible
3020 debug_backtrace(). 3041 debug_backtrace().
3021 -- `print' tries EXTREMELY hard to avoid core dumping when printing 3042 -- `print' tries EXTREMELY hard to avoid core dumping when printing
3022 when crashing or from debug_print(), and tries as hard as it 3043 when crashing or from debug_print(), and tries as hard as it
3023 reasonably can in other situations. 3044 reasonably can in other situations.
3024 -- Correct the message output upon crashing to be more up-to-date. 3045 -- Correct the message output upon crashing to be more up-to-date.
3025 3046
3026 Event-related: 3047 Event-related:
3027 3048
3028 -- document event-matches-key-specifier-p better. 3049 -- document event-matches-key-specifier-p better.
3029 -- generalize the dispatch queues formerly duplicated in the 3050 -- generalize the dispatch queues formerly duplicated in the
3030 various event implementations. add event methods to drain pending 3051 various event implementations. add event methods to drain pending
3031 events. generalize and clean up QUIT handling, removing 3052 events. generalize and clean up QUIT handling, removing
3032 event-specific quit processing. allow arbitrary keystrokes, not 3053 event-specific quit processing. allow arbitrary keystrokes, not
3037 SOMEONE PLEASE TRY THIS OUT. 3058 SOMEONE PLEASE TRY THIS OUT.
3038 -- Fix `xemacs -batch -l dunnet' under Cygwin. Try to fix under 3059 -- Fix `xemacs -batch -l dunnet' under Cygwin. Try to fix under
3039 MS Windows but not quite there yet. 3060 MS Windows but not quite there yet.
3040 3061
3041 Other: 3062 Other:
3042 3063
3043 -- class -> class_ and no more C++ games with this item. 3064 -- class -> class_ and no more C++ games with this item.
3044 new -> new_ in the lwlib code, so far not elsewhere. 3065 new -> new_ in the lwlib code, so far not elsewhere.
3045 -- use `struct htentry' not `struct hentry' in elhash.c to avoid 3066 -- use `struct htentry' not `struct hentry' in elhash.c to avoid
3046 debugger confusion with hash.c. 3067 debugger confusion with hash.c.
3047 -- new macros ALIST_LOOP_3, ALIST_LOOP_4. 3068 -- new macros ALIST_LOOP_3, ALIST_LOOP_4.
3800 configuration functionality in Emacs Lisp. 3821 configuration functionality in Emacs Lisp.
3801 3822
3802 * window.h (Fcurrent_window_configuration): Don't export anymore. 3823 * window.h (Fcurrent_window_configuration): Don't export anymore.
3803 (Qcurrent_window_configuration): Declare. 3824 (Qcurrent_window_configuration): Declare.
3804 (Qset_window_configuration): Declare. 3825 (Qset_window_configuration): Declare.
3805 * event-stream.c (execute_help_form): 3826 * event-stream.c (execute_help_form):
3806 * bytecode.c (execute_rare_opcode): Call out to Lisp to save 3827 * bytecode.c (execute_rare_opcode): Call out to Lisp to save
3807 window excursion. 3828 window excursion.
3808 * window.c (Qcurrent_window_configuration): Declare. 3829 * window.c (Qcurrent_window_configuration): Declare.
3809 (Qwindow_configurationp): 3830 (Qwindow_configurationp):
3810 (Vwindow_configuration_free_list): 3831 (Vwindow_configuration_free_list):
3811 (Qset_window_configuration): 3832 (Qset_window_configuration):
3812 (Qtemp_buffer_show_hook): 3833 (Qtemp_buffer_show_hook):
3813 (struct saved_window): 3834 (struct saved_window):
3814 (struct window_config): 3835 (struct window_config):
3815 (SAVED_WINDOW_N): 3836 (SAVED_WINDOW_N):
3816 (XWINDOW_CONFIGURATION): 3837 (XWINDOW_CONFIGURATION):
3817 (wrap_window_configuration): 3838 (wrap_window_configuration):
3818 (WINDOW_CONFIGURATIONP): 3839 (WINDOW_CONFIGURATIONP):
3819 (CHECK_WINDOW_CONFIGURATION): 3840 (CHECK_WINDOW_CONFIGURATION):
3820 (mark_window_config): 3841 (mark_window_config):
3821 (sizeof_window_config_for_n_windows): 3842 (sizeof_window_config_for_n_windows):
3822 (sizeof_window_config): 3843 (sizeof_window_config):
3823 (print_window_config): 3844 (print_window_config):
3824 (saved_window_equal): 3845 (saved_window_equal):
3825 (window_config_equal): 3846 (window_config_equal):
3826 (Fwindow_configuration_p): 3847 (Fwindow_configuration_p):
3827 (mark_windows_in_use_closure): 3848 (mark_windows_in_use_closure):
3828 (mark_windows_in_use): 3849 (mark_windows_in_use):
3829 (free_window_configuration): 3850 (free_window_configuration):
3830 (Fset_window_configuration): 3851 (Fset_window_configuration):
3831 (count_windows): 3852 (count_windows):
3832 (saved_window_index): 3853 (saved_window_index):
3833 (save_window_save): 3854 (save_window_save):
3834 (Fcurrent_window_configuration): 3855 (Fcurrent_window_configuration):
3835 (Fsave_window_excursion): Remove. 3856 (Fsave_window_excursion): Remove.
3836 (mark_window_as_deleted): Rectify comment about 3857 (mark_window_as_deleted): Rectify comment about
3837 `set-window-configuration'. 3858 `set-window-configuration'.
3838 (Fset_window_buffer): Reinstate code not activated because of old 3859 (Fset_window_buffer): Reinstate code not activated because of old
3839 implementation of window configurations. 3860 implementation of window configurations.
3871 3892
3872 * eval.c: 3893 * eval.c:
3873 * eval.c (signal_call_debugger): 3894 * eval.c (signal_call_debugger):
3874 Fix up C debugger entrance -- first output the error message, then 3895 Fix up C debugger entrance -- first output the error message, then
3875 stack trace, then exiting message, then force debugger. 3896 stack trace, then exiting message, then force debugger.
3876 3897
3877 * frame-msw.c (mswindows_init_frame_1): Use EQ not EQUAL to avoid 3898 * frame-msw.c (mswindows_init_frame_1): Use EQ not EQUAL to avoid
3878 QUIT tripping. 3899 QUIT tripping.
3879 3900
3880 * toolbar-msw.c (mswindows_clear_toolbar): Indentation fixes. 3901 * toolbar-msw.c (mswindows_clear_toolbar): Indentation fixes.
3881 3902
3882 2002-11-27 Ben Wing <ben@xemacs.org> 3903 2002-11-27 Ben Wing <ben@xemacs.org>
3883 3904
3884 * alloc.c: 3905 * alloc.c:
3885 * alloc.c (garbage_collect_1): 3906 * alloc.c (garbage_collect_1):
3886 Better redisplay-related assert. 3907 Better redisplay-related assert.
3887 3908
3888 * elhash.c (xhash_table): Comment change. 3909 * elhash.c (xhash_table): Comment change.
3889 3910
3890 * eval.c: 3911 * eval.c:
3891 * eval.c (signal_call_debugger): 3912 * eval.c (signal_call_debugger):
3892 * eval.c (throw_or_bomb_out): 3913 * eval.c (throw_or_bomb_out):
3893 * eval.c (check_proper_critical_section_gc_protection): 3914 * eval.c (check_proper_critical_section_gc_protection):
3894 * eval.c (Fsignal): 3915 * eval.c (Fsignal):
3906 Implement debug-on-error as documented -- it will enter the 3927 Implement debug-on-error as documented -- it will enter the
3907 debugger and crash when an uncaught signal happens noninteractively 3928 debugger and crash when an uncaught signal happens noninteractively
3908 and we are --debug. 3929 and we are --debug.
3909 3930
3910 Better redisplay-related asserts. 3931 Better redisplay-related asserts.
3911 3932
3912 * frame-msw.c (mswindows_init_frame_1): 3933 * frame-msw.c (mswindows_init_frame_1):
3913 * frame.c (enter_redisplay_critical_section): 3934 * frame.c (enter_redisplay_critical_section):
3914 * lisp.h: 3935 * lisp.h:
3915 * redisplay.c (redisplay_frame): 3936 * redisplay.c (redisplay_frame):
3916 * scrollbar-gtk.c (gtk_update_frame_scrollbars): 3937 * scrollbar-gtk.c (gtk_update_frame_scrollbars):
3919 * sysdep.c: 3940 * sysdep.c:
3920 * sysdep.c (qxe_interruptible_open): 3941 * sysdep.c (qxe_interruptible_open):
3921 3942
3922 Fix up documentation related to QUIT (which CANNOT garbage-collect 3943 Fix up documentation related to QUIT (which CANNOT garbage-collect
3923 under any circumstances), and to redisplay critical sections. 3944 under any circumstances), and to redisplay critical sections.
3924 3945
3925 * lread.c: 3946 * lread.c:
3926 * lread.c (Fload_internal): 3947 * lread.c (Fload_internal):
3927 * lread.c (PRINT_LOADING_MESSAGE_1): 3948 * lread.c (PRINT_LOADING_MESSAGE_1):
3928 * lread.c (locate_file_open_or_access_file): 3949 * lread.c (locate_file_open_or_access_file):
3929 * lread.c (locate_file_in_directory_mapper): 3950 * lread.c (locate_file_in_directory_mapper):
3930 * lread.c (vars_of_lread): 3951 * lread.c (vars_of_lread):
3931 Add load-ignore-out-of-date-elc-files, 3952 Add load-ignore-out-of-date-elc-files,
3932 load-always-display-messages, load-show-full-path-in-messages for 3953 load-always-display-messages, load-show-full-path-in-messages for
3933 more robust package compilation and debugging. 3954 more robust package compilation and debugging.
3934 3955
3935 * profile.c: 3956 * profile.c:
3936 * profile.c (create_call_count_profile_table): 3957 * profile.c (create_call_count_profile_table):
3937 * profile.c (profile_increase_call_count): 3958 * profile.c (profile_increase_call_count):
3938 * profile.c (Fstart_profiling): 3959 * profile.c (Fstart_profiling):
3939 * profile.c (Fclear_profiling_info): 3960 * profile.c (Fclear_profiling_info):
3947 Overhaul profile code. Change format to include call count and be 3968 Overhaul profile code. Change format to include call count and be
3948 extensible for further info. Remove call-count-profile-table. 3969 extensible for further info. Remove call-count-profile-table.
3949 Add set-profiling-info. See related profile.el changes (which 3970 Add set-profiling-info. See related profile.el changes (which
3950 SHOULD ABSOLUTELY be in the core! Get rid of xemacs-devel and 3971 SHOULD ABSOLUTELY be in the core! Get rid of xemacs-devel and
3951 xemacs-base packages *yesterday*!). 3972 xemacs-base packages *yesterday*!).
3952 3973
3953 2002-11-22 Ben Wing <ben@xemacs.org> 3974 2002-11-22 Ben Wing <ben@xemacs.org>
3954 3975
3955 * fileio.c: Fix crashes due to incorrectly ported code from 3976 * fileio.c: Fix crashes due to incorrectly ported code from
3956 FSF. 3977 FSF.
3957 3978
3972 3993
3973 2002-11-17 Ben Wing <ben@xemacs.org> 3994 2002-11-17 Ben Wing <ben@xemacs.org>
3974 3995
3975 * emodules.h: 3996 * emodules.h:
3976 Fix warnings from redefining symbols. 3997 Fix warnings from redefining symbols.
3977 3998
3978 * eval.c: 3999 * eval.c:
3979 * eval.c (call_with_condition_handler): 4000 * eval.c (call_with_condition_handler):
3980 * eval.c (run_post_gc_hook): 4001 * eval.c (run_post_gc_hook):
3981 * eval.c (Ffuncall): 4002 * eval.c (Ffuncall):
3982 Fix C++ errors -- no automatic casting between function pointers 4003 Fix C++ errors -- no automatic casting between function pointers
3983 and void *, function declarations inside of functions not allowed. 4004 and void *, function declarations inside of functions not allowed.
3984 4005
3985 * event-Xt.c (emacs_Xt_enqueue_focus_event): 4006 * event-Xt.c (emacs_Xt_enqueue_focus_event):
3986 Warning fixes. 4007 Warning fixes.
3987 4008
3988 * fileio.c (Ffile_truename): 4009 * fileio.c (Ffile_truename):
3989 Warning fixes. 4010 Warning fixes.
3990 Use LOCAL_TO_WIN32_FILE_FORMAT rather than duplicating it. 4011 Use LOCAL_TO_WIN32_FILE_FORMAT rather than duplicating it.
3991 4012
3992 * glyphs-x.c: 4013 * glyphs-x.c:
3993 * glyphs-x.c (x_map_subwindow): 4014 * glyphs-x.c (x_map_subwindow):
3994 Fix style. 4015 Fix style.
3995 4016
3996 * intl-auto-encap-win32.c: 4017 * intl-auto-encap-win32.c:
3997 * intl-auto-encap-win32.h: 4018 * intl-auto-encap-win32.h:
3998 * intl-encap-win32.c: 4019 * intl-encap-win32.c:
3999 * intl-encap-win32.c (qxeRegConnectRegistry): 4020 * intl-encap-win32.c (qxeRegConnectRegistry):
4000 * syswindows.h (RegConnectRegistry): 4021 * syswindows.h (RegConnectRegistry):
4001 DdeCreateStringHandle needs to be manual due to new Cygwin bug. 4022 DdeCreateStringHandle needs to be manual due to new Cygwin bug.
4002 4023
4003 * intl-win32.c: 4024 * intl-win32.c:
4004 * intl-win32.c (wcscmp): 4025 * intl-win32.c (wcscmp):
4005 * intl-win32.c (wcslen): 4026 * intl-win32.c (wcslen):
4006 wcslen/wcscmp don't seem to exist under G++ 3, Cygwin. 4027 wcslen/wcscmp don't seem to exist under G++ 3, Cygwin.
4007 4028
4008 * lisp.h: 4029 * lisp.h:
4009 * lisp-union.h: 4030 * lisp-union.h:
4010 * lisp-disunion.h: 4031 * lisp-disunion.h:
4011 * process-unix.c (unix_send_process): 4032 * process-unix.c (unix_send_process):
4012 Ugh, C needs volatile and C++ must not have volatile. Remove 4033 Ugh, C needs volatile and C++ must not have volatile. Remove
4013 previous volatile hacks, which don't seem to be working any more. 4034 previous volatile hacks, which don't seem to be working any more.
4014 4035
4015 * sheap.c (STATIC_HEAP_SLOP): 4036 * sheap.c (STATIC_HEAP_SLOP):
4016 Try to get a working Cygwin build with old unexec. 4037 Try to get a working Cygwin build with old unexec.
4017 4038
4018 * sheap.c (more_static_core): 4039 * sheap.c (more_static_core):
4019 No NL's in literals allowed. 4040 No NL's in literals allowed.
4020 4041
4021 * symbols.c (Fset): 4042 * symbols.c (Fset):
4022 Fix C++ errors. 4043 Fix C++ errors.
4023 4044
4024 * syswindows.h: 4045 * syswindows.h:
4025 * syswindows.h (struct): 4046 * syswindows.h (struct):
4026 * syswindows.h (tagNMDATETIMEFORMATW): 4047 * syswindows.h (tagNMDATETIMEFORMATW):
4027 * syswindows.h (tagNMTTDISPIFNOA): 4048 * syswindows.h (tagNMTTDISPIFNOA):
4028 * syswindows.h (tagNMTTDISPINFOW): 4049 * syswindows.h (tagNMTTDISPINFOW):
4107 enclosing scope. 4128 enclosing scope.
4108 4129
4109 2002-09-09 Stephen J. Turnbull <stephen@xemacs.org> 4130 2002-09-09 Stephen J. Turnbull <stephen@xemacs.org>
4110 4131
4111 * search.c (clear_unused_search_regs): New static function. 4132 * search.c (clear_unused_search_regs): New static function.
4112 (search_buffer): 4133 (search_buffer):
4113 (simple_search): 4134 (simple_search):
4114 (boyer_moore): 4135 (boyer_moore):
4115 Use it. Fixes "stale match data" bug reported by Martin Stjernholm. 4136 Use it. Fixes "stale match data" bug reported by Martin Stjernholm.
4116 Minor clarifications in comments. 4137 Minor clarifications in comments.
4117 4138
4118 * regex.c (re_match_2_internal): Ensure no stale submatches. 4139 * regex.c (re_match_2_internal): Ensure no stale submatches.
4215 * mule-coding.c 4236 * mule-coding.c
4216 (big5_detector): Add member 'seen_euc_char'. 4237 (big5_detector): Add member 'seen_euc_char'.
4217 (big5_detect): It was made not to become the trouble of EUC. 4238 (big5_detect): It was made not to become the trouble of EUC.
4218 (iso2022_detector): Add member 'longest_even_high_byte'. 4239 (iso2022_detector): Add member 'longest_even_high_byte'.
4219 (iso2022_detect): Fix checking for even/odd_high_byte_group. 4240 (iso2022_detect): Fix checking for even/odd_high_byte_group.
4220 The judgment of EUC is changed. 4241 The judgment of EUC is changed.
4221 4242
4222 * unicode.c: Add DETECTOR_CATEGORY utf_8_bom. 4243 * unicode.c: Add DETECTOR_CATEGORY utf_8_bom.
4223 (utf_8_detector): Add member byteno, first_byte and second_byte. 4244 (utf_8_detector): Add member byteno, first_byte and second_byte.
4224 (utf_8_detect): The judgment of UTF-8-BOM is added. 4245 (utf_8_detect): The judgment of UTF-8-BOM is added.
4225 4246
4349 success if MODE is nonnegative. 4370 success if MODE is nonnegative.
4350 4371
4351 2002-08-03 Brian A Palmer <bpalmer@rescomp.Stanford.EDU> 4372 2002-08-03 Brian A Palmer <bpalmer@rescomp.Stanford.EDU>
4352 4373
4353 * fns.c (Fsplit_string_by_char): Make 2nd arg SEPCHAR a required 4374 * fns.c (Fsplit_string_by_char): Make 2nd arg SEPCHAR a required
4354 argument. 4375 argument.
4355 4376
4356 2002-08-03 Steve Youngs <youngs@xemacs.org> 4377 2002-08-03 Steve Youngs <youngs@xemacs.org>
4357 4378
4358 * objects-gtk.c: Fix '--with-mule' '--with-gtk' builds. 4379 * objects-gtk.c: Fix '--with-mule' '--with-gtk' builds.
4359 From Vaclav Barta <vbar@comp.cz>. 4380 From Vaclav Barta <vbar@comp.cz>.
4374 (sweep_compiled_functions): define ADDITIONAL_FREE_compiled_function 4395 (sweep_compiled_functions): define ADDITIONAL_FREE_compiled_function
4375 to free the args field when needed. 4396 to free the args field when needed.
4376 4397
4377 2002-07-31 David Bush <David.Bush@intel.com> 4398 2002-07-31 David Bush <David.Bush@intel.com>
4378 4399
4379 * eldap.c: Add the dumpable-flag to the USE_KKCC version of 4400 * eldap.c: Add the dumpable-flag to the USE_KKCC version of
4380 DEFINE_LRECORD_IMPLEMENTATION for "ldap" 4401 DEFINE_LRECORD_IMPLEMENTATION for "ldap"
4381 4402
4382 2002-08-01 Mike Sperber <mike@xemacs.org> 4403 2002-08-01 Mike Sperber <mike@xemacs.org>
4383 4404
4384 * event-stream.c: 4405 * event-stream.c:
4385 * event-Xt.c: 4406 * event-Xt.c:
4386 * events.h: 4407 * events.h:
4387 * events.c: 4408 * events.c:
4388 * alloc.c: Fix various kkcc-related nits that show up in MULE and 4409 * alloc.c: Fix various kkcc-related nits that show up in MULE and
4389 union-type builds. 4410 union-type builds.
4390 4411
4391 2002-07-31 David Bush <David.Bush@intel.com> 4412 2002-07-31 David Bush <David.Bush@intel.com>
4392 4413
4405 2002-07-17 Marcus Crestani <crestani@informatik.uni-tuebingen.de> 4426 2002-07-17 Marcus Crestani <crestani@informatik.uni-tuebingen.de>
4406 Markus Kaltenbach <makalten@informatik.uni-tuebingen.de> 4427 Markus Kaltenbach <makalten@informatik.uni-tuebingen.de>
4407 Mike Sperber <mike@xemacs.org> 4428 Mike Sperber <mike@xemacs.org>
4408 4429
4409 configure flag to turn these changes on: --use-kkcc 4430 configure flag to turn these changes on: --use-kkcc
4410 4431
4411 First we added a dumpable flag to lrecord_implementation. It shows, 4432 First we added a dumpable flag to lrecord_implementation. It shows,
4412 if the object is dumpable and should be processed by the dumper. 4433 if the object is dumpable and should be processed by the dumper.
4413 * lrecord.h (struct lrecord_implementation): added dumpable flag 4434 * lrecord.h (struct lrecord_implementation): added dumpable flag
4414 (MAKE_LRECORD_IMPLEMENTATION): fitted the different makro definitions 4435 (MAKE_LRECORD_IMPLEMENTATION): fitted the different makro definitions
4415 to the new lrecord_implementation and their calls. 4436 to the new lrecord_implementation and their calls.
4416 4437
4417 Then we changed mark_object, that it no longer needs a mark method for 4438 Then we changed mark_object, that it no longer needs a mark method for
4418 those types that have pdump descritions. 4439 those types that have pdump descritions.
4419 * alloc.c: 4440 * alloc.c:
4420 (mark_object): If the object has a description, the new mark algorithm 4441 (mark_object): If the object has a description, the new mark algorithm
4421 is called, and the object is marked according to its description. 4442 is called, and the object is marked according to its description.
4422 Otherwise it uses the mark method like before. 4443 Otherwise it uses the mark method like before.
4423 4444
4424 These procedures mark objects according to their descriptions. They 4445 These procedures mark objects according to their descriptions. They
4425 are modeled on the corresponding pdumper procedures. 4446 are modeled on the corresponding pdumper procedures.
4426 (mark_with_description): 4447 (mark_with_description):
4427 (get_indirect_count): 4448 (get_indirect_count):
4428 (structure_size): 4449 (structure_size):
4429 (mark_struct_contents): 4450 (mark_struct_contents):
4430 These procedures still call mark_object, this is needed while there are 4451 These procedures still call mark_object, this is needed while there are
4431 Lisp_Objects without descriptions left. 4452 Lisp_Objects without descriptions left.
4432 4453
4433 We added pdump descriptions for many Lisp_Objects: 4454 We added pdump descriptions for many Lisp_Objects:
4434 * extents.c: extent_auxiliary_description 4455 * extents.c: extent_auxiliary_description
4453 * event-stream.c: 4474 * event-stream.c:
4454 * event-Xt.c: 4475 * event-Xt.c:
4455 * event-gtk.c: 4476 * event-gtk.c:
4456 * event-tty.c: 4477 * event-tty.c:
4457 To write a pdump description for Lisp_Event, we converted every struct 4478 To write a pdump description for Lisp_Event, we converted every struct
4458 in the union event to a Lisp_Object. So we created nine new 4479 in the union event to a Lisp_Object. So we created nine new
4459 Lisp_Objects: Lisp_Key_Data, Lisp_Button_Data, Lisp_Motion_Data, 4480 Lisp_Objects: Lisp_Key_Data, Lisp_Button_Data, Lisp_Motion_Data,
4460 Lisp_Process_Data, Lisp_Timeout_Data, Lisp_Eval_Data, 4481 Lisp_Process_Data, Lisp_Timeout_Data, Lisp_Eval_Data,
4461 Lisp_Misc_User_Data, Lisp_Magic_Data, Lisp_Magic_Eval_Data. 4482 Lisp_Misc_User_Data, Lisp_Magic_Data, Lisp_Magic_Eval_Data.
4462 We also wrote makro selectors and mutators for the fields of the new 4483 We also wrote makro selectors and mutators for the fields of the new
4463 designed Lisp_Event and added everywhere these new abstractions. 4484 designed Lisp_Event and added everywhere these new abstractions.
4464 4485
4465 4486
4466 We implemented XD_UNION support in (mark_with_description), so 4487 We implemented XD_UNION support in (mark_with_description), so
4467 we can describe exspecially console/device specific data with XD_UNION. 4488 we can describe exspecially console/device specific data with XD_UNION.
4468 To describe with XD_UNION, we added a field to these objects, which 4489 To describe with XD_UNION, we added a field to these objects, which
4469 holds the variant type of the object. This field is initialized in 4490 holds the variant type of the object. This field is initialized in
4470 the appendant constructor. The variant is an integer, it has also to 4491 the appendant constructor. The variant is an integer, it has also to
4471 be described in an description, if XD_UNION is used. 4492 be described in an description, if XD_UNION is used.
4472 4493
4473 XD_UNION is used in following descriptions: 4494 XD_UNION is used in following descriptions:
4474 * console.c: console_description 4495 * console.c: console_description
4475 (get_console_variant): returns the variant 4496 (get_console_variant): returns the variant
4476 (create_console): added variant initialization 4497 (create_console): added variant initialization
4477 * console.h (console_variant): the different console types 4498 * console.h (console_variant): the different console types
4478 * console-impl.h (struct console): added enum console_variant contype 4499 * console-impl.h (struct console): added enum console_variant contype
4635 * device-msw.c: 4656 * device-msw.c:
4636 * device-msw.c (mswindows_init_dde): 4657 * device-msw.c (mswindows_init_dde):
4637 * device-msw.c (mswindows_delete_device): 4658 * device-msw.c (mswindows_delete_device):
4638 Initialise extra DDE strings for remote execution, and change 4659 Initialise extra DDE strings for remote execution, and change
4639 DDE initialisation to send ADVISE and REQUEST notifications. 4660 DDE initialisation to send ADVISE and REQUEST notifications.
4640 4661
4641 * emacs.c (main_1): 4662 * emacs.c (main_1):
4642 Add symbols of event_mswindows. 4663 Add symbols of event_mswindows.
4643 4664
4644 * event-msw.c: 4665 * event-msw.c:
4645 * event-msw.c (mswindows_dde_callback): 4666 * event-msw.c (mswindows_dde_callback):
4646 * event-msw.c (reinit_vars_of_event_mswindows): 4667 * event-msw.c (reinit_vars_of_event_mswindows):
4647 * event-msw.c (vars_of_event_mswindows): 4668 * event-msw.c (vars_of_event_mswindows):
4648 * event-msw.c (syms_of_event_mswindows): 4669 * event-msw.c (syms_of_event_mswindows):
4666 WM_ACTIVATE message. Make sure that the frame is visible if the 4687 WM_ACTIVATE message. Make sure that the frame is visible if the
4667 window is visible. This seemss to fix the problem where XEmacs 4688 window is visible. This seemss to fix the problem where XEmacs
4668 appears to freeze after switching desktops with certain virtual 4689 appears to freeze after switching desktops with certain virtual
4669 window managers. 4690 window managers.
4670 (debug_output_mswin_message): Added code to output message 4691 (debug_output_mswin_message): Added code to output message
4671 parameters for WM_WINDOWPOSCHANGED, 4692 parameters for WM_WINDOWPOSCHANGED,
4672 WM_WINDOWPOSCHANGING, WM_MOVE, and WM_SIZE messages. 4693 WM_WINDOWPOSCHANGING, WM_MOVE, and WM_SIZE messages.
4673 4694
4674 2002-07-05 Jonathan Harris <jonathan@xemacs.org> 4695 2002-07-05 Jonathan Harris <jonathan@xemacs.org>
4675 4696
4676 * emacs.c (main_1): Conditionalise calls to 4697 * emacs.c (main_1): Conditionalise calls to
4677 syms_of_dired_mswindows() and vars_of_dired_mswindows() on 4698 syms_of_dired_mswindows() and vars_of_dired_mswindows() on
4678 WIN32_NATIVE instead of redundant HAVE_MSW_C_DIRED 4699 WIN32_NATIVE instead of redundant HAVE_MSW_C_DIRED
4679 4700
4680 2002-07-03 Mike Sperber <mike@xemacs.org> 4701 2002-07-03 Mike Sperber <mike@xemacs.org>
4681 4702
4682 * emacs.c (main_1): We need to call init_ralloc twice for PDUMP, 4703 * emacs.c (main_1): We need to call init_ralloc twice for PDUMP,
4683 otherwice ralloc won't do anything for us. 4704 otherwice ralloc won't do anything for us.
4684 4705
4719 Mike Sperber <mike@xemacs.org> 4740 Mike Sperber <mike@xemacs.org>
4720 4741
4721 * lrecord.h (lrecord_type): add lrecord_type_ephemeron 4742 * lrecord.h (lrecord_type): add lrecord_type_ephemeron
4722 to lrecord_type enumeration. 4743 to lrecord_type enumeration.
4723 4744
4724 * lisp.h (XEPHEMERON): 4745 * lisp.h (XEPHEMERON):
4725 (XEPHEMERON_REF): 4746 (XEPHEMERON_REF):
4726 (XEPHEMERON_NEXT): 4747 (XEPHEMERON_NEXT):
4727 (XEPHEMERON_FINALIZER): 4748 (XEPHEMERON_FINALIZER):
4728 (XSET_EPHEMERON_NEXT): 4749 (XSET_EPHEMERON_NEXT):
4729 (XSET_EPHEMERON_VALUE): 4750 (XSET_EPHEMERON_VALUE):
4730 (XSET_EPHEMERON_KEY): 4751 (XSET_EPHEMERON_KEY):
4731 (wrap_ephemeron): 4752 (wrap_ephemeron):
4732 (EPHEMERONP): 4753 (EPHEMERONP):
4733 (CHECK_EPHEMERON): 4754 (CHECK_EPHEMERON):
4734 (CONCHECK_EPHEMERON): 4755 (CONCHECK_EPHEMERON):
4735 (struct ephemeron): Add representation of ephemerons. 4756 (struct ephemeron): Add representation of ephemerons.
4736 4757
4737 * alloc.c (garbage_collect_1): 4758 * alloc.c (garbage_collect_1):
4738 (finish_marking_ephemerons): 4759 (finish_marking_ephemerons):
4739 (prune_ephemerons): Call. 4760 (prune_ephemerons): Call.
4756 4777
4757 * inline.c: Include device-impl.h, extents-impl.h, frame-impl.h, 4778 * inline.c: Include device-impl.h, extents-impl.h, frame-impl.h,
4758 and objects-impl.h to pick up some error_check_* functions. 4779 and objects-impl.h to pick up some error_check_* functions.
4759 Remove console.h, extents.h, frame.h and objects.h because the 4780 Remove console.h, extents.h, frame.h and objects.h because the
4760 *-impl.h files include them. 4781 *-impl.h files include them.
4761 4782
4762 2002-06-17 Jerry James <james@xemacs.org> 4783 2002-06-17 Jerry James <james@xemacs.org>
4763 4784
4764 * sysdll.c: Remove RTLD_GLOBAL initialization. 4785 * sysdll.c: Remove RTLD_GLOBAL initialization.
4765 * sysdll.c (dll_open): Do not use RTLD_GLOBAL. 4786 * sysdll.c (dll_open): Do not use RTLD_GLOBAL.
4766 4787
4777 * unicode.c: Improve top-level comments and many docstrings. 4798 * unicode.c: Improve top-level comments and many docstrings.
4778 4799
4779 (Fparse_unicode_translation_table): Use right function name in error. 4800 (Fparse_unicode_translation_table): Use right function name in error.
4780 4801
4781 (unicode_to_ichar): Renamed from unicode_to_char. 4802 (unicode_to_ichar): Renamed from unicode_to_char.
4782 (Funicode_to_char): 4803 (Funicode_to_char):
4783 (decode_unicode_char): 4804 (decode_unicode_char):
4784 Use new name. 4805 Use new name.
4785 4806
4786 (add_charsets_to_precedence_list): Change the dynarr argument 4807 (add_charsets_to_precedence_list): Change the dynarr argument
4787 instead of the global precedence list. 4808 instead of the global precedence list.
4821 * faces.c (face_property_matching_instance): Only set cdr of 4842 * faces.c (face_property_matching_instance): Only set cdr of
4822 matchspec if it's actually a cons. 4843 matchspec if it's actually a cons.
4823 4844
4824 * console.h: Define opaque console_methods to unbreak the build. 4845 * console.h: Define opaque console_methods to unbreak the build.
4825 4846
4826 * objects.c (initialize_charset_font_caches): 4847 * objects.c (initialize_charset_font_caches):
4827 (invalidate_charset_font_caches): Only define if we're MULE. 4848 (invalidate_charset_font_caches): Only define if we're MULE.
4828 (font_instantiate): Unbreak for non-MULE. 4849 (font_instantiate): Unbreak for non-MULE.
4829 4850
4830 2002-06-20 Ben Wing <ben@xemacs.org> 4851 2002-06-20 Ben Wing <ben@xemacs.org>
4831 4852
4832 * s/cygwin32.h: 4853 * s/cygwin32.h:
4833 Allow pdump to work under Cygwin (mmap is broken, so need to undefine 4854 Allow pdump to work under Cygwin (mmap is broken, so need to undefine
4834 HAVE_MMAP). 4855 HAVE_MMAP).
4835 4856
4836 * s/win32-common.h: 4857 * s/win32-common.h:
4837 * s/win32-common.h (NO_MATHERR): 4858 * s/win32-common.h (NO_MATHERR):
4838 * s/windowsnt.h: 4859 * s/windowsnt.h:
4839 4860
4840 Support for fastcall. Add WIN32_ANY for identifying all Win32 4861 Support for fastcall. Add WIN32_ANY for identifying all Win32
5136 * search.c: 5157 * search.c:
5137 * signal.c: 5158 * signal.c:
5138 * toolbar-msw.c: 5159 * toolbar-msw.c:
5139 * unicode.c: 5160 * unicode.c:
5140 Warning fixes. 5161 Warning fixes.
5141 5162
5142 * config.h.in: 5163 * config.h.in:
5143 #undefs meant to be frobbed by configure *MUST* go inside of 5164 #undefs meant to be frobbed by configure *MUST* go inside of
5144 #ifndef WIN32_NO_CONFIGURE, and everything else *MUST* go outside! 5165 #ifndef WIN32_NO_CONFIGURE, and everything else *MUST* go outside!
5145 5166
5146 * eval.c (Fbacktrace): 5167 * eval.c (Fbacktrace):
5147 Let detailed backtraces be detailed. 5168 Let detailed backtraces be detailed.
5148 * specifier.c: 5169 * specifier.c:
5149 Don't override user's print-string-length/print-length settings. 5170 Don't override user's print-string-length/print-length settings.
5150 5171
5151 * glyphs.c: New function image-instance-instantiator. 5172 * glyphs.c: New function image-instance-instantiator.
5152 5173
5153 * config.h.in: 5174 * config.h.in:
5154 * sysdep.c (set_descriptor_non_blocking): 5175 * sysdep.c (set_descriptor_non_blocking):
5155 * sysdep.c (SIG_PARAM_TYPE): 5176 * sysdep.c (SIG_PARAM_TYPE):
5156 * sysdep.c (struct save_signal): 5177 * sysdep.c (struct save_signal):
5157 * sysdep.c (save_signal_handlers): 5178 * sysdep.c (save_signal_handlers):
6032 6053
6033 [a] distinguish between "charptr" when it refers to operations on 6054 [a] distinguish between "charptr" when it refers to operations on
6034 the pointer itself and when it refers to operations on text; and 6055 the pointer itself and when it refers to operations on text; and
6035 [b] use consistent naming for everything referring to internal 6056 [b] use consistent naming for everything referring to internal
6036 format, i.e. 6057 format, i.e.
6037 6058
6038 Itext == text in internal format 6059 Itext == text in internal format
6039 Ibyte == a byte in such text 6060 Ibyte == a byte in such text
6040 Ichar == a char as represented in internal character format 6061 Ichar == a char as represented in internal character format
6041 6062
6042 thus e.g. 6063 thus e.g.
6043 6064
6044 set_charptr_emchar -> set_itext_ichar 6065 set_charptr_emchar -> set_itext_ichar
6045 6066
6046 The pre and post tags on either side of this change are: 6067 The pre and post tags on either side of this change are:
6047 6068
6048 pre-internal-format-textual-renaming 6069 pre-internal-format-textual-renaming
6049 post-internal-format-textual-renaming 6070 post-internal-format-textual-renaming
6050 6071
6051 See the Internals Manual for details of exactly how this was done, 6072 See the Internals Manual for details of exactly how this was done,
6052 how to handle the change in your workspace, etc. 6073 how to handle the change in your workspace, etc.
6053 6074
6054 2002-06-04 Andy Piper <andy@xemacs.org> 6075 2002-06-04 Andy Piper <andy@xemacs.org>
6055 6076
6056 * glyphs-widget.c (widget_logical_unit_height): don't try and 6077 * glyphs-widget.c (widget_logical_unit_height): don't try and
6057 determine geometry of nil strings. 6078 determine geometry of nil strings.
6058 6079
6209 6230
6210 2002-06-01 Ben Wing <ben@xemacs.org> 6231 2002-06-01 Ben Wing <ben@xemacs.org>
6211 6232
6212 * buffer.c (init_initial_directory): 6233 * buffer.c (init_initial_directory):
6213 Fix bug noted by someone. 6234 Fix bug noted by someone.
6214 6235
6215 * console-tty.h: 6236 * console-tty.h:
6216 * device.h (struct device): 6237 * device.h (struct device):
6217 * emacs.c: 6238 * emacs.c:
6218 * filelock.c: 6239 * filelock.c:
6219 * nt.c: 6240 * nt.c:
6226 * win32.c: 6247 * win32.c:
6227 Redo problem with syssignal.h/sysproc.h dependence noted by Didier 6248 Redo problem with syssignal.h/sysproc.h dependence noted by Didier
6228 -- rather than require one included before the other 6249 -- rather than require one included before the other
6229 (error-prone), just include syssignal.h from sysproc.h 6250 (error-prone), just include syssignal.h from sysproc.h
6230 where it's needed. 6251 where it's needed.
6231 6252
6232 * inline.c: 6253 * inline.c:
6233 Include sysfile.h due to inline funs in that header. 6254 Include sysfile.h due to inline funs in that header.
6234 6255
6235 * extents.c (Fset_extent_parent): 6256 * extents.c (Fset_extent_parent):
6236 Fix bug noted by Andrew Cohen <cohen@andy.bu.edu>. 6257 Fix bug noted by Andrew Cohen <cohen@andy.bu.edu>.
6237 6258
6238 * process-unix.c (unix_open_network_stream): 6259 * process-unix.c (unix_open_network_stream):
6239 * process-unix.c (unix_open_multicast_group): 6260 * process-unix.c (unix_open_multicast_group):
6240 Fix other bug noted by Andrew Cohen <cohen@andy.bu.edu>. 6261 Fix other bug noted by Andrew Cohen <cohen@andy.bu.edu>.
6241 6262
6242 * process.c (syms_of_process): 6263 * process.c (syms_of_process):
6247 * lrecord.h (lrecord_type): Add lrecord_type_weak_box to 6268 * lrecord.h (lrecord_type): Add lrecord_type_weak_box to
6248 lrecord_type enumeration. 6269 lrecord_type enumeration.
6249 6270
6250 * alloc.c (garbage_collect_1): Call prune_weak_boxes(). 6271 * alloc.c (garbage_collect_1): Call prune_weak_boxes().
6251 6272
6252 * lisp.h (struct weak_box): 6273 * lisp.h (struct weak_box):
6253 * data.c: 6274 * data.c:
6254 (prune_weak_boxes): 6275 (prune_weak_boxes):
6255 (mark_weak_box): 6276 (mark_weak_box):
6256 (print_weak_box): 6277 (print_weak_box):
6257 (weak_box_equal): 6278 (weak_box_equal):
6258 (weak_box_hash): 6279 (weak_box_hash):
6259 (make_weak_box): 6280 (make_weak_box):
6260 (Fmake_weak_box): 6281 (Fmake_weak_box):
6261 (Fweak_box_ref): 6282 (Fweak_box_ref):
6262 (Fweak_boxp): 6283 (Fweak_boxp):
6263 (syms_of_data): 6284 (syms_of_data):
6264 (vars_of_data): Add implementation of weak boxes. 6285 (vars_of_data): Add implementation of weak boxes.
6265 6286
6266 2002-05-29 Ben Wing <ben@xemacs.org> 6287 2002-05-29 Ben Wing <ben@xemacs.org>
6267 6288
6268 * event-msw.c: 6289 * event-msw.c:
7975 7996
7976 2001-04-21 Martin Buchholz <martin@xemacs.org> 7997 2001-04-21 Martin Buchholz <martin@xemacs.org>
7977 7998
7978 * s/darwin.h: New file. 7999 * s/darwin.h: New file.
7979 Thanks to Greg Parker <gparker@cs.stanford.edu>. 8000 Thanks to Greg Parker <gparker@cs.stanford.edu>.
7980 8001
7981 2002-04-23 Andreas Jaeger <aj@suse.de> 8002 2002-04-23 Andreas Jaeger <aj@suse.de>
7982 8003
7983 * s/linux.h (LIB_STANDARD): Define correctly for x86-64 and s390x 8004 * s/linux.h (LIB_STANDARD): Define correctly for x86-64 and s390x
7984 which use lib64 for 64-bit libs. 8005 which use lib64 for 64-bit libs.
7985 (START_FILES): Likewise. 8006 (START_FILES): Likewise.
7986 8007
7987 2002-02-11 Mike Sperber <mike@xemacs.org> 8008 2002-02-11 Mike Sperber <mike@xemacs.org>
7988 8009
7989 * device-x.c: 8010 * device-x.c:
7990 (x_IO_error_handler): 8011 (x_IO_error_handler):
7991 (x_init_device): Temporarily keep device in static variable 8012 (x_init_device): Temporarily keep device in static variable
7992 `device_being_initialized' so we can recover gracefully from 8013 `device_being_initialized' so we can recover gracefully from
7993 internal XOpenDevice failure. (XOpenDevice is documented to 8014 internal XOpenDevice failure. (XOpenDevice is documented to
7994 return NULL on failure, but sometimes calls the IO error handler 8015 return NULL on failure, but sometimes calls the IO error handler
8032 x_handle_selection_clear). 8053 x_handle_selection_clear).
8033 8054
8034 2001-12-23 William M. Perry <wmperry@gnu.org> 8055 2001-12-23 William M. Perry <wmperry@gnu.org>
8035 8056
8036 * menubar-gtk.c (gtk_popup_menu) Add sanity checks, fix crash. 8057 * menubar-gtk.c (gtk_popup_menu) Add sanity checks, fix crash.
8037 8058
8038 2002-01-04 Martin Buchholz <martin@xemacs.org> 8059 2002-01-04 Martin Buchholz <martin@xemacs.org>
8039 8060
8040 * keymap.c (define_key_alternate_name): Parenthesize EQ. 8061 * keymap.c (define_key_alternate_name): Parenthesize EQ.
8041 8062
8042 2001-12-17 Stephen J. Turnbull <stephen@xemacs.org> 8063 2001-12-17 Stephen J. Turnbull <stephen@xemacs.org>
11254 [[See README.integral-types in this directory for more 11275 [[See README.integral-types in this directory for more
11255 details.]] --invalid. 11276 details.]] --invalid.
11256 11277
11257 See the Internals Manual, under Major Type Changes, and also 11278 See the Internals Manual, under Major Type Changes, and also
11258 README.global-renaming. 11279 README.global-renaming.
11259 11280
11260 11281
11261 2001-09-17 Ben Wing <ben@xemacs.org> 11282 2001-09-17 Ben Wing <ben@xemacs.org>
11262 11283
11263 * fileio.c (normalize_filename): 11284 * fileio.c (normalize_filename):
11264 * fileio.c (Fexpand_file_name): 11285 * fileio.c (Fexpand_file_name):