1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 1684 1685 1686 1687 1688 1689 1690 1691 1692 1693 1694 1695 1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 1706 1707 1708 1709 1710 1711 1712 1713 1714 1715 1716 1717 1718 1719 1720 1721 1722 1723 1724 1725 1726 1727 1728 1729 1730 1731 1732 1733 1734 1735 1736 1737 1738 1739 1740 1741 1742 1743 1744 1745 1746 1747 1748 1749 1750 1751 1752 1753 1754 1755 1756 1757 1758 1759 1760 1761 1762 1763 1764 1765 1766 1767 1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 1831 1832 1833 1834 1835 1836 1837 1838 1839 1840 1841 1842 1843 1844 1845 1846 1847 1848 1849 1850 1851 1852 1853 1854 1855
|
1999-10-05 Pieter Schoenmakers <tiggr@thesis.gerbil.org>
* alloc.c (i_tom_Block_v_gc_mark_elements): New method.
* tom/trt.h.in (struct trtd_block): New type.
(trt_new_block): Added extra argument, the description.
* block.c (trt_new_block): Likewise.
1999-09-27 Pieter Schoenmakers <tiggr@thesis.gerbil.org>
* tom/trt.h.in (struct trt_bind): Added tomc_handler, to be able
to keep supporting tomc.
* condition.c (signal_raise): Use it when set.
1999-09-26 Pieter Schoenmakers <tiggr@thesis.gerbil.org>
* block.c (i_tom_Block_x_eval_x): Fixed selector checking.
1999-09-25 Pieter Schoenmakers <tiggr@thesis.gerbil.org>
* tom/trt.h.in (struct trt_bind): Adjusted to new block handlers.
* condition.c (signal_raise): Likewise.
* GNUmakefile.in (UNIT_VERSION): Bumped to version 2.0.0, because
of the change in object ASI values and because of the bind handler
change.
1999-09-21 Pieter Schoenmakers <tiggr@thesis.gerbil.org>
* block.c (trt_new_block): New argument: variables.
* tom/trt.h.in (trt_new_block): Adjusted.
1999-09-11 Pieter Schoenmakers <tiggr@gerbil.org>
* alloc.c: Fixed whitespace.
* tom/trt.h.in (TGC_ASI_EXPLICIT_MARK_P, TGC_ASI_CONTAINER_P,
TGC_ASI_STACK_NOTIFY_P): Occupy a bit. They previously occupied a
byte, since comparing a byte is faster on some (older) processors
than it is to compare a bit. There's no longer enough space to do
this.
1999-09-09 Miroslav Silovic <silovic@zesoi.fer.hr>
* tom/trt.h.in (TGC_STACK_NOTIFY_P): added
* main.c (i_tom_All_v_setValue_x_ofVariableNamed_r):
fixed fatal bug with references
(i_tom_Extension_v_setValue_x_ofVariableNamed_r_in_r): added
* alloc.c (i_tom_Container_o_wantsStackNotify):
(i_tom_Container_v_setStackNotify_o): new functions
(tgc_mark_stacks): added notification code
1999-09-06 Pieter Schoenmakers <tiggr@gerbil.org>
* block.c (i_tom_Block_x_eval_x): Properly compare selector
arguments.
1999-09-05 Pieter Schoenmakers <tiggr@gerbil.org>
* block.c (i_tom_Block_x_eval_x): Handle more cases of mismatching
selectors. Raise a condition instead of calling ABORT upon such
mismatch.
* tom/trt.h.in (trt_new_block): Extra argument: the context.
* block.c (trt_new_block): Likewise.
1999-08-29 Pieter Schoenmakers <tiggr@gerbil.org>
* block.c (i_tom_Block_x_eval_x): Implemented.
* trt.h (perform_args): Declare.
* perform.c (perform_args): Unstaticized.
1999-08-28 Pieter Schoenmakers <tiggr@gerbil.org>
* tom/trt.h.in (trt_new_block): Adjusted.
* block.c (trt_new_block): Implemented.
1999-08-26 Pieter Schoenmakers <tiggr@gerbil.org>
* block.c (trt_new_block): New function, skeletal.
* tom/trt.h.in: Declare trt_new_block.
1999-08-21 (Miroslav Silovic)
* main.c (trt_all_arguments_size): Fixed for long and double.
* apply.S: New file.
1999-08-20 Pieter Schoenmakers <tiggr@thesis.ics.ele.tue.nl>
* condition.c (signal_raise): Handle NULL condition handler.
1999-08-01 Pieter Schoenmakers <tiggr@gerbil.org>
* block.c: New file.
* GNUmakefile.in (CSRC): Adjusted.
1999-07-26 Pieter Schoenmakers <tiggr@gerbil.org>
* GNUmakefile.in (os.o): Do not depend on ../config/os/os.c, since
it is not available on all platforms.
Tue May 11 11:21:22 1999 Pieter Schoenmakers <tiggr@gerbil.org>
* alloc.c: Test NO_XMALLOC_STATS for its value.
1999-04-29 Pieter Schoenmakers <tiggr@gerbil.org>
* tom/util.h (C_STRING_WITH_TOM_STRING): Declare the
byteStringContents selector.
Wed Mar 3 17:04:27 1999 Pieter Schoenmakers <tiggr@gerbil.org>
* auto.c (main): Do not pass ALL_ARGUMENTS, only the ARGUMENTS!
1999-03-01 Pieter Schoenmakers <tiggr@gerbil.org>
* dload.c (c_tom_Bundle_p_load_r_unit_r): Convert `-' to `_'
before constructing a symbol name.
Mon Mar 1 17:25:05 1999 Pieter Schoenmakers <tiggr@gerbil.org>
* dload.c (trt_resolve_module): Cater for multiple invocations for
a single module.
* os.c (dload_error): New function.
1999-01-15 Pieter J. Schoenmakers <tiggr@gerbil.org>
* main.c (trt_init_main): New function, previously main().
* tom/util.h (trt_environ): New decl.
* auto.c: New file, split from main.c.
* GNUmakefile.in (CSRC): Adjusted.
Tue Jan 5 10:26:57 1999 Pieter Schoenmakers <tiggr@gerbil.org>
* perform.c (perform_objects, ...): Removed WEIRDness in favour of
APPLY_ARGS_CONTINUE.
* os.c: Include dloading functionality when HAVE_DLFCN_H is !0.
Only include os/os.c when HAVE_OS_OS_C is !0.
* timespace.c: Removed dependency on Solaris to include <fcntl.h>.
Depend on HAVE_FCNTL_H instead.
* thread.c: Hacked comment.
Tue Dec 8 12:44:39 1998 Pieter Schoenmakers <tiggr@gerbil.org>
* timespace.c (c_tom_File_r_filenames_in_directory_r): Signal
instead of raise (the file-error).
1998-10-08 Pieter Schoenmakers <tiggr@gerbil.org>
* alloc.c (c_tom_State_r_alloc): Obey gc_atomic.
(tgc_collect_garbage): Update gc_atomic.
1998-09-29 Pieter Schoenmakers <tiggr@gerbil.org>
* trt.h (trt_thread_info): New (thread-local!) fields: cond_stack,
cond_num, cond_cap.
* condition.c: Removed them as globals, and adjusted.
1998-08-19 Pieter Schoenmakers <tiggr@gerbil.org>
* array.c, dload.c, main.c, perform.c: Use the new APPLY_ARGS_*
macros (Matt Kimball's i386 FPU patch).
1998-07-28 Pieter Schoenmakers <tiggr@gerbil.org>
* dload.c (meta_inherit_state): Added (mild) triple-X comment.
* alloc.c (tgc_collect_garbage): Protect less than the result of
yesterday.
1998-07-27 Pieter Schoenmakers <tiggr@gerbil.org>
* alloc.c (tgc_collect_garbage): Protect against !RVO. Another
hack to suite Top/Any in the tesla _builtin_.
* dload.c (c_tom_Unit_v_fillUnits): Skip the _builtin_ unit (hack).
1998-07-23 Pieter Schoenmakers <tiggr@gerbil.org>
* main.c (c_tom_Runtime_r_classes): Exclude Any and Top from the
TRT_ALL_CLASSES.
* dload.c (metas_install_dtable): Ignore supers with an empty MDT.
This is to suite tesla output and the cirular
All/Conditions/Constants inheritance.
(metas_install_dtable): Handle case of no inheritance (possible
only for the instance, since the class always implicitly inherits
from tom.State). Weird that this was not caught earlier...
* tom/trt.h.in: Removed declarations from _builtin.
1998-07-22 Pieter Schoenmakers <tiggr@gerbil.org>
* alloc.c (tgc_collect_garbage): Always walk the variables of a
non-container object, even if it must be TGC_EXPLICIT_MARK_P. (I
have cut me once too often on this quirck. Granted, without is
faster, but you must do special things when `your superclass' has
pointer-typed variables...)
1998-07-21 Pieter Schoenmakers <tiggr@gerbil.org>
* tom/trt.h.in (byte_string_with_c_string): Declare.
1998-07-20 Pieter Schoenmakers <tiggr@gerbil.org>
* tom/trt.h.in (GENERIC_RETURN_TYPE): New define. Moved from
config subdir to be visible by tesla-compiled code.
1998-07-15 Pieter Schoenmakers <tiggr@gerbil.org>
* dload.c (meta_add_extension_state): Added some debugging checks.
1998-07-09 Pieter Schoenmakers <tiggr@gerbil.org>
* GNUmakefile.in: Supply --mode to libtool.
1998-05-31 Pieter J. Schoenmakers <tiggr@gerbil.org>
* array.c (i_tom_MutableObjectArray_v_insert_r_at_i): Fixed *huge*
bug in resizing.
(i_tom_MutableObjectArray_v_insert_r_at_i): Use trt_array_resize.
1998-05-29 Pieter Schoenmakers <tiggr@gerbil.org>
* tom/trt.h.in: Define i__builtin_Any and i__builtin_Top in case
of TESLA_OUTPUT.
1998-05-27 Pieter Schoenmakers <tiggr@tricky.ics.ele.tue.nl>
* GNUmakefile.in (CPICFLAGS): Removed.
1998-05-19 Pieter Schoenmakers <tiggr@gerbil.org>
* GNUmakefile.in: Fixed.
1998-05-19 Pieter Schoenmakers <tiggr@xenon.ics.ele.tue.nl>
* GNUmakefile.in: Reverted.
1998-05-19 Pieter Schoenmakers <tiggr@gerbil.org>
* GNUmakefile.in: Removed lookup from libtrt.
1998-05-13 Pieter Schoenmaker <tiggr@axp.hkost.mtg.co.at>
* timespace.c (i_tom_OutputStream_r_print_x): Employ VA_ARG_FLOAT.
* perform.c (invocation_build_args): Likewise.
(perform_args): Likewise.
(invocation_add_args): Likewise.
* main.c (i_tom_All_v_setValue_x_ofVariableNamed_r): Likewise.
* condition.c (i_tom_All_v_throw_x): Likewise.
1998-05-12 Pieter Schoenmaker <tiggr@server.hkost.mtg.co.at>
* main.c (main): Properly type the messages sent, instead of
casting the result.
* timespace.c: Likewise.
1998-05-04 Pieter Schoenmakers <tiggr@gerbil.org>
* main.c (v, dump_object2): New functions.
(u): Adjusted.
1998-04-15 Pieter J. Schoenmakers <tiggr@gerbil.org>
* alloc.c (tgc_mark_stacks): Fixed very weird reference into regs.
1998-04-14 Pieter J. Schoenmakers <tiggr@gerbil.org>
* alloc.c (alloc_chunks_range): Avoid NULL as the start of a
chunk.
1998-04-10 Pieter J. Schoenmakers <tiggr@gerbil.org>
* timespace.c (c_tom_File_o_file_exists_r): Return 0 if !NAME.
1998-04-06 Pieter Schoenmakers <tiggr@gerbil.org>
* main.c (i_tom_All_o_respondsTo_s): If SEL is the null-selector,
return 0.
1998-03-30 Pieter Schoenmakers <tiggr@gerbil.org>
* perform.c: Return type of a function returning through
__builtin_return is GENERIC_RETURN_TYPE.
* main.c: Likewise.
* dload.c: Likewise.
* array.c: Likewise.
* trt.h: Likewise (decl).
1998-03-27 Pieter Schoenmakers <tiggr@xenon.ics.ele.tue.nl>
* trt.h (trt_forward): Changed decl.
* array.c (x_elements): Do not access f.f and d.d directly.
* main.c (i_tom_All_x_valueOfVariableNamed_r): Likewise.
* perform.c (trt_forward): Return type is double, otherwise the
top of FP stack is popped by __builtin_return before actually
returning.
(i_tom_All_x_perform_s_with_x): Likewise.
(i_tom_All_x_perform_s___r): Likewise.
(i_tom_Extension_x_perform_s_on_r_with_x): Likewise.
(i_tom_Extension_x_perform_s_on_r___r): Likewise.
(i_tom_InvocationResult_x_components): Likewise.
(i_tom_InvocationResult_x_component_i): Likewise.
* array.c (i_tom_Indexed_x_elements): Likewise.
(i_tom_Indexed_x_elements__ii_): Likewise.
* dload.c (dtable_install): Likewise.
* main.c (i_tom_All_x_valueOfVariableNamed_r): Likewise.
* perform.c
(i_tom_InvocationResult_v_setReturnValues__pp__forSelector_s): Get
the va_list by reference.
(trt_inv_result_set_values): Likewise.
(i_tom_InvocationResult_x_components): Adjust to it.
1998-03-26 Pieter J. Schoenmakers <tiggr@gerbil.org>
* perform.c (invocation_fire, ...): Do not access return struct
d.d and f.f directly.
1998-03-26 Pieter Schoenmakers <tiggr@gerbil.org>
* trt.h (struct trt_invocation): New field: arg_types.
* alloc.c (moan_address_status): Discern nil from other invalid
addresses.
* perform.c: Megapatch: forwarding is implemented as it should.
`forward::' has been dropped. Invoke va_end only in the function
that did va_start, pass &ap to the lower functions. Replaced all
void-return-hope-hope constructs with passing &result to the lower
functions.
(s, sendmsg): Removed. I didn't use them, they were undocumented
and only functioning half.
1998-03-25 Pieter J. Schoenmakers <tiggr@gerbil.org>
* perform.c (trt_fwd_inv): New function.
(trt_fwd_to_delegate): Invoke it if a forward:: is not available.
1998-03-17 Pieter J. Schoenmakers <tiggr@gerbil.org>
* alloc.c (i_tom_State_v_set_kind_r): New method.
1998-03-17 Pieter Schoenmakers <tiggr@gerbil.org>
* hash.c (hash_dump): New function, if DEBUG.
(hash_hash_string): Hash the first 128 chars, not 32. Modified
the hashing algorithm. It's still not perfect: load of .72 with a
bucket load of only 0.5 :-( Time to read the relevant chapter in
ACP.
* dload.c (selector_table): New var.
(trt_include_selectors): Use it, instead of a linear search.
1998-03-16 Pieter Schoenmakers <tiggr@gerbil.org>
* main.c (main): Fatal on a null trt_main_class or
trt_main_selector instead of dumping core.
1998-03-11 Pieter J. Schoenmakers <tiggr@gerbil.org>
* GNUmakefile.in (lookup.lo): Previously .o.
* array.c (i_tom_MutableObjectArray_v_insert_r_at_i): Always
increase the length!
1998-03-10 Pieter Schoenmakers <tiggr@xenon.ics.ele.tue.nl>
* GNUmakefile.in: Adjusted to comply with new libtool.
1998-03-08 Pieter J. Schoenmakers <tiggr@gerbil.org>
* array.c (i_tom_MutableObjectArray_v_insert_r_at_i): New method.
1998-03-05 Pieter J. Schoenmakers <tiggr@gerbil.org>
* timespace.c (c_tom_File_r_filenames_in_directory_r): Include the
directory name in the condition message.
1998-03-02 Pieter Schoenmakers <tiggr@tricky.ics.ele.tue.nl>
* perform.c (i_tom_InvocationResult_v_encodeToCoder_r): Invoked
hasBeenCodedFor on the coder, not self.
1998-02-28 Pieter Schoenmakers <tiggr@tricky.ics.ele.tue.nl>
* tom/util.h (ASSERT): Undef before define.
* timespace.c (S_ISDIR, ...): New defines (for missing ones).
1998-02-27 Pieter Schoenmakers <tiggr@gerbil.org>
* dload.c (trt_include_selectors): Resize the existing dispatch
tables if the number of buckets has changed.
1998-02-26 Pieter Schoenmakers <tiggr@tricky.ics.ele.tue.nl>
* timespace.c (c_tom_File_r_current_directory): Added missing
#else.
1998-02-26 Pieter Schoenmakers <tiggr@gerbil.org>
* dload.c (trt_resolve_unit): Void the c_tom_Unit_units.
* timespace.c (c_tom_File_r_current_directory): Append a `/' to
the directory name.
1998-02-25 Pieter J. Schoenmakers <tiggr@gerbil.org>
* timespace.c (c_tom_File_v_set_current_directory_r,
c_tom_File_r_current_directory): New methods.
1998-02-24 Pieter J. Schoenmakers <tiggr@gerbil.org>
* tom/util.h (C_STRING_WITH_TOM_STRING): USEL to tom.
* thread.c (trt_thread_mach_init): Uncommented the previously
commented-out pthread initialization. Apparantly, Linux pthread
now is up to par, apart from the renaming stuff. It doesn't
matter that this use of pthread does not work on Linux libc5
since pthreads don't work with X on libc5 anyway.
1998-02-23 Pieter Schoenmakers <tiggr@gerbil.org>
* dload.c (c_tom_Bundle_p_load_r_unit_r): Extra argument.
1998-02-22 Pieter J. Schoenmakers <tiggr@gerbil.org>
* alloc.c (alloc_init): Try getpagesize first; sysconf of the page
size returns 1 on current Debian libc6.
1998-02-06 Pieter Schoenmakers <tiggr@akebono.ics.ele.tue.nl>
* main.c (DISABLE_MONITORING): Fixed.
1998-02-04 Pieter Schoenmakers <tiggr@akebono.ics.ele.tue.nl>
* main.c (DISABLE_MONITORING): Set the trt_msg_monitor to 0.
1998-01-23 Pieter Schoenmakers <tiggr@akebono.ics.ele.tue.nl>
* main.c: Handle environ through main's third argument.
(trt_environ): New variable.
(c_tom_Runtime_r_environment): Use it.
Tue Jan 20 00:02:59 1998 Pieter J. Schoenmakers <tiggr@tnt.ics.ele.tue.nl>
* tom/util.h: trt.h resides in tom/.
* perform.c (i_tom_Invocation_r_resultTypeDescription): New
method, removed from Invocation.t.
1998-01-19 Pieter Schoenmakers <tiggr@akebono.ics.ele.tue.nl>
* GNUmakefile.in (CC): override.
* tom/util.h (trt_ext_address): The _ei_ things are unsigned.
1998-01-16 Pieter Schoenmakers <tiggr@akebono.ics.ele.tue.nl>
* main.c (main): Initialize the streams before argument handling.
Thu Jan 15 21:03:44 1998 Pieter J. Schoenmakers <tiggr@tnt.ics.ele.tue.nl>
* GNUmakefile.in: Set the library's version.
Wed Jan 14 13:21:21 1998 Pieter Schoenmakers <tiggr@cobra.ics.ele.tue.nl>
* trt.h: The trt_main_selector is a selector.
* main.c: Likewise.
* tom/util.h (trt_ext_address): _ei_i_tom_State not unsigned?
1998-01-13 Pieter Schoenmakers <tiggr@akebono.ics.ele.tue.nl>
* tom/util.h (trt_ext_address): Fixed extern decl.
* dload.c (dtable_deferred): The resolver is called tomr.
* tom/trt.h.in: The compiler is called tomc.
1998-01-12 Pieter Schoenmakers <tiggr@akebono.ics.ele.tue.nl>
* main.c (trt_monitor_match, trt_monitor_messages): New functions.
(trt_monitor_add_receiver, trt_monitor_add_selector,
rtt_monitor_add_receiver_selector): New functions.
* trt.h: Declare message monitoring.
* lookup.c (trt_lookup): Invoke trt_monitor_message iff
trt_msg_monitor.
Wed Jan 7 22:46:03 1998 Pieter J. Schoenmakers <tiggr@tnt.ics.ele.tue.nl>
* main.c, trt.h (trt_main_class, trt_main_selector): New variables.
* dload.c (trt_resolve_module): Set them.
* main.c (trt_main_module_info, trt_main_registration): Common
declarations, plus implications (do not rely on constructors being
functional).
1998-01-07 Pieter Schoenmakers <tiggr@akebono.ics.ele.tue.nl>
* GNUmakefile.in (install_libdir): New macro.
Wed Jan 7 00:06:22 1998 Pieter J. Schoenmakers <tiggr@tnt.ics.ele.tue.nl>
* perform.c: cc1 dumps core with -fPIC and -O2 :-(
* GNUmakefile.in: Use libtool.
Tue Jan 6 21:04:51 1998 Pieter J. Schoenmakers <tiggr@tnt.ics.ele.tue.nl>
* GNUmakefile.in (top_builddir): New macro.
1998-01-05 Pieter Schoenmakers <tiggr@akebono.ics.ele.tue.nl>
* tom/util.h (DECL_USEL, ...): New defines.
(DECL_SR, ...): New defines.
* perform.c (i_tom_InvocationResult_v_encodeToCoder_r): Use DECL_SR.
* tom/trt.h.in (USEL): Fixed case typo.
Sat Jan 3 16:29:00 1998 Pieter J. Schoenmakers <tiggr@tnt.ics.ele.tue.nl>
* tom/trt.h.in (POINTER_INT_TYPE): Previous POINTER_AS_INT.
* perform.c (INVOCATION_BUILD_RESULT): Adjusted to it.
* timespace.c (i_tom_OutputStream_r_print_p): Likewise.
Fri Jan 2 00:36:06 1998 Pieter J. Schoenmakers <tiggr@tnt.ics.ele.tue.nl>
* dload.c (trt_resolve_unit): Invoke trt_thread_update_locals only
if main has already started.
* tom/util.h (TRT_RAISE, TRT_SIGNAL): Use the TOM versions of
_all_ selectors.
* dload.c (trt_execute_all_load_imps): New function.
* trt.h, dload.c, main.c (trt_started_main,
trt_module_constructors): New vars, plus implications.
* tom/util.h (TRT_SIGNAL, TRT_RAISE): Use the TOM versions of the
selectors.
Thu Jan 1 21:17:32 1998 Pieter J. Schoenmakers <tiggr@tnt.ics.ele.tue.nl>
* trt.h (CURRENT_UNIT): Define the current unit.
* tom/trt.h.in (SEL, ...): Depend on CURRENT_UNIT.
* dload.c (trt_resolve_module): Check for multiple resolutions.
Mon Dec 29 14:09:47 1997 Pieter J. Schoenmakers <tiggr@tnt.ics.ele.tue.nl>
* thread.c: Match Linux' pthreads.
* timespace.c (c_tom_Date_v_load_r): New method implementation.
1997-12-26 Pieter Schoenmakers <tiggr@tricky.ics.ele.tue.nl>
* dload.c (trt_resolve_unit): Use xrealloc, not xcalloc (a leak).
1997-12-21 Pieter Schoenmakers <tiggr@tricky.ics.ele.tue.nl>
* thread.c (trt_rlock_lock): Abort if owner or count is set after
the (first) successful mutex_lock.
1997-12-15 Pieter Schoenmakers <tiggr@akebono.ics.ele.tue.nl>
* condition.c (i_tom_Condition_v_raise): Cosmetic edits.
Mon Sep 22 17:52:57 1997 Schoenmakers P.J. <tiggr@natlab.research.philips.com>
* perform.c (invocation_add_args): Take type promotion into
account, i.e. store a byte or a char as an int.
Fri Aug 29 23:17:02 1997 Pieter Schoenmakers <tiggr@tricky.es.ele.tue.nl>
* perform.c (s, send_msg): New (debugging) functions.
* main.c (moan_address_status): Removed.
* alloc.c (moan_address_status): New function.
* perform.c (i_tom_All_x_perform_s_with_x): Added a triple-Z.
Thu Aug 28 10:20:57 1997 Schoenmakers P.J. <tiggr@natlab.research.philips.com>
* timespace.c (i_tom_OutputStream_r_print_x): Handle selector
printing.
* main.c (d): Check the address before printing the object (and
SEGV'ing).
(moan_address_status): New function.
(u): New function: like d but dump instead of print.
(dump_object): New function.
* alloc.c (address_status): New function.
* trt.h: Delaration of it.
Wed Aug 27 12:57:06 1997 Schoenmakers P.J. <tiggr@natlab.research.philips.com>
* main.c (tom_streq): New function, to aid debugging.
Mon Aug 18 14:09:30 1997 Pieter Schoenmakers <tiggr@akebono.ics.ele.tue.nl>
* condition.c (signal_raise): When returning from a signal, clear
RAISING_NIL.
Thu Aug 14 15:48:19 1997 Schoenmakers P.J. <tiggr@natlab.research.philips.com>
* dload.c (dtable_conflict): Raise, instead of calling fatal.
Mon Aug 11 15:41:49 1997 Schoenmakers P.J. <tiggr@natlab.research.philips.com>
* tom/util.h (C_STRING_WITH_TOM_STRING): New macro.
* timespace.c (c_tom_Date_d_timeIntervalSinceReferenceDate):
Corrected the selector type (even though the argument is unused).
(c_tom_Date_d_relativeTimeIntervalSinceNow): Likewise.
(c_tom_File_r_filenamesInDirectory_r): New method.
Thu Aug 7 20:24:40 1997 Pieter Schoenmakers <tiggr@tricky.es.ele.tue.nl>
* alloc.c (xmalloc, xrealloc, xfree): Maintain malloc statistics
if NO_MALLOC_STATS is not defined.
Sat Aug 2 07:14:57 1997 Pieter J. Schoenmakers <tiggr@dev.linuxppc.org>
* condition.c (i_tom_All_v_throw_x): Use VA_ARG_BYTE and
VA_ARG_CHAR macro's.
* perform.c: Likewise.
* main.c (i_tom_All_v_setValue_x_ofVariableNamed_r): Likewise.
* timespace.c (i_tom_OutputStream_r_print_x): Likewise.
Fri Aug 1 17:32:28 1997 Pieter J. Schoenmakers <tiggr@dev.linuxppc.org>
* condition.c (i_tom_All_v_throw_x): Do not assign 0 to ap, since
it bites ppc.
Tue Jul 29 22:19:35 1997 Pieter Schoenmakers <tiggr@tricky.es.ele.tue.nl>
* perform.c (i_tom_InvocationResult_v_encodeToCoder_r): New
method. Replaces previous (unused! implementation of)
encodeWithCoder.
(i_tom_InvocationResult_v_decodeFromCoder_r): New method.
Mon Jul 28 17:55:07 1997 Pieter Schoenmakers <tiggr@cobra.ics.ele.tue.nl>
* alloc.c (tgc_mark_stacks): Do not mark vacant objects as being
gray.
Wed Jul 23 00:56:16 1997 Pieter Schoenmakers <tiggr@tricky.es.ele.tue.nl>
* alloc.c (i_tom_State_v_gc_mark_elements): New method
implementation: mark the objects referenced.
Sat Jul 19 20:17:44 1997 Pieter Schoenmakers <tiggr@tricky.es.ele.tue.nl>
* thread.c (trt_thread_main): Correctly invoke invocation_fire.
Thu Jul 17 10:35:12 1997 Schoenmakers P.J. <tiggr@natlab.research.philips.com>
* perform.c (invocation_obj): New function, only working for void
selectors though.
(c_tom_Invocation_r_for_s_to__r___r): Invoke it.
(c_tom_Invocation_r_of_s_to__r___r): Likewise.
(i_tom_Invocation_v_fireAt_r): Do not `return' a void value.
Wed Jul 16 12:11:12 1997 Schoenmakers P.J. <tiggr@natlab.research.philips.com>
* perform.c (invocation_fire): New argument: no_result.
(i_tom_Invocation_v_fire, i_tom_Invocation_v_fireAt_r,
i_tom_Invocation_v_fireWith_x): New methods.
(do_fire_with): New function.
Fri Jul 11 10:32:13 1997 Schoenmakers P.J. <tiggr@natlab.research.philips.com>
* tom/trt.h.in (trt_lookup, trt_lookup_super): Return an int_imp,
since the return type of trt_send is a tom_int.
(struct trt_method_dispatch_bucket): Elements are int_imps.
(struct trtd_method): Likewise.
(struct trtd_load_imp): Likewise.
* lookup.c (trt_lookup, trt_lookup_super): Likewise.
* perform.c: Adjusted to changed return type of trt_lookup.
* condition.c (trt_lookup_nil): Likewise.
* dload.c (dtable_install): Likewise.
(dtable_put): Likewise.
(metas_install_dtable): Likewise.
* main.c (i_tom_All_o_respondsTo_s): Likewise.
Thu Jul 10 21:00:59 1997 Pieter Schoenmakers <tiggr@tricky.es.ele.tue.nl>
* dload.c (meta_pose): Do not adjust the super reference if the
sub is the poser. (This will not fix the infinite stack problem
with trt_lookup_super for posing a posed or posing class.)
* main.c (idc): Also print the address (since we do not have unit
information).
Mon Jul 7 21:18:22 1997 Pieter Schoenmakers <tiggr@tricky.es.ele.tue.nl>
* dload.c (trt_resolve_module): Do the actual posing only after
recording this module (since that is otherwise skipped).
Fri Jul 4 13:21:54 1997 Schoenmakers P.J. <tiggr@natlab.research.philips.com>
* array.c (STRING_METHODS): Removed.
* arraydef.c (uniqueString): Removed.
Wed Jul 2 12:20:26 1997 Schoenmakers P.J. <tiggr@natlab.research.philips.com>
* GNUmakefile.in (lookup.o): Compile without debugging.
Sat Jun 28 15:30:23 1997 Pieter Schoenmakers <tiggr@tricky.es.ele.tue.nl>
* GNUmakefile.in: Removed GNUdependencies.
Sat Jun 21 19:32:02 1997 Pieter Schoenmakers <tiggr@tricky.es.ele.tue.nl>
* alloc.c (alloc_chunks_range): Provide malloc chunkrange
allocation as a last resort.
Mon Jun 16 14:50:43 1997 Schoenmakers P.J. <tiggr@natlab.research.philips.com>
* alloc.c (alloc_chunks_range): Temporarily use xmalloc instead of
valloc, since valloc unchangeably returns 0 under purecoverage.
Sat May 24 20:57:30 1997 Pieter Schoenmakers <tiggr@cobra.ics.ele.tue.nl>
* perform.c (i_tom_Invocation_v_decodeFromCoder_r): Removed unused
R.
* main.c (trt_address_of_ext_var): Return NULL for unknown
variable.
(trt_metas_collect_state_extensions): Removed unused X.
* alloc.c (stalloc): Removed unused OLD_CAP.
Wed May 7 21:16:55 1997 Pieter Schoenmakers <tiggr@tricky.es.ele.tue.nl>
* alloc.c (tgc_collect_garbage): Mark the state_extensions.
(mark_if_needed_and_not_nil): New function.
(tgc_collect_garbage): Use it.
(i_tom_ObjectArray_v_gc_mark_elements): Likewise.
(trt_mark_locals): Likewise.
Sat May 3 19:34:19 1997 Pieter Schoenmakers <tiggr@tricky.es.ele.tue.nl>
* main.c (i_tom_Extension_r_typeOfVariableNamed_r_in_r): New method.
* tom/util.h (trt_ext_address): Fixed the (wrong) assumption that
the class' extensions field holds all this object's extensions
(including inherited ones).
Fri May 2 14:32:05 1997 Pieter Schoenmakers <tiggr@akebono.ics.ele.tue.nl>
* main.c (trt_metas_collect_state_extensions): New function.
(i_tom_All_r_stateExtensions): New method.
(trt_address_of_ext_var): New function.
(i_tom_Extension_r_valueOfVariableNamed_r_in_r): New method.
* dload.c (meta_add_extension_state): Reset the state_extensions.
* tom/trt.h.in (struct trt_class_info): New field: state_extensions.
Thu Apr 17 22:57:11 1997 Pieter Schoenmakers <tiggr@tricky.es.ele.tue.nl>
* trt.h (hashtable): Store the SIZE_SHIFT and not the NUM_BUCKETS.
* hash.c: Employ the GOLDEN_BITS.
Thu Apr 17 18:18:15 1997 Pieter Schoenmakers <tiggr@akebono.ics.ele.tue.nl>
* main.c (i_tom_All_i_hash, i_tom_All_i_hashq): In fact, use
HASH_POINTER!
* main.c (i_tom_All_i_hash): Return SELF now the hashtables know
how to make bits valid.
(i_tom_All_i_hashq): Likewise.
* tom/trt.h.in (HASH_POINTER): Omit the shift for the same reason.
Mon Apr 14 12:44:18 1997 Pieter Schoenmakers <tiggr@cobra.ics.ele.tue.nl>
* perform.c (i_tom_Invocation_v_gc_mark_elements): Handle case
where the INVOCATION is NULL.
(i_tom_InvocationResult_v_gc_mark_elements): Likewise for VALUES.
(i_tom_InvocationResult_v_dealloc): Likewise.
Thu Apr 10 11:05:47 1997 Pieter Schoenmakers <tiggr@cobra.ics.ele.tue.nl>
* dload.c (trt_resolve_module): Do the posing.
* tom/trt.h.in (struct trtd_module): Include posing information.
(struct trtd_poser): New struct.
Wed Apr 9 02:14:57 1997 Pieter Schoenmakers <tiggr@tricky.es.ele.tue.nl>
* alloc.c, dload.c: Fixed typos.
Tue Apr 8 20:56:08 1997 Pieter Schoenmakers <tiggr@tricky.es.ele.tue.nl>
* dload.c (trt_resolve_module): Record the module with the
trt_modules.
* trt.h (struct trt_modules): New struct.
(trt_modules): New global: records all modules.
* tom/trt.h.in (trt_class_info): New field: poser.
* dload.c (release_bucket): BZERO the bucket, depending on the
setting of the DEBUG macro.
Added a lot of comments.
(meta_add_extension_state): Removed gibberish (which was #if-nulled
already anyway) concerning alignment of the newly added extension.
(meta_pose): New function.
Tue Apr 1 14:08:33 1997 Pieter Schoenmakers <tiggr@cobra.ics.ele.tue.nl>
* main.c (c_tom_Runtime_v_runtimeStatistics_r): Report on the
number of units.
* trt.h (trt_units): New struct and variable.
* dload.c (c_tom_Unit_v_fillUnits): New method.
Mon Mar 31 02:06:10 1997 Pieter Schoenmakers <tiggr@akebono.ics.ele.tue.nl>
* trt.h (ABORT): New macro.
Wed Mar 26 13:04:59 1997 Pieter Schoenmakers <tiggr@cobra.ics.ele.tue.nl>
* dload.c (trt_include_selectors): Reset the Top and Any tables to
the empty table.
Tue Mar 25 11:14:36 1997 Pieter Schoenmakers <tiggr@akebono.ics.ele.tue.nl>
* dload.c (trt_resolve_module): When dynamic loading, reset _all_
dispatch tables to have any new dynamic selectors be included.
(metas_install_default_mdt): Protect against freeing the
EMPTY_TABLE.
Thu Mar 20 17:01:54 1997 Pieter Schoenmakers <tiggr@akebono.ics.ele.tue.nl>
* alloc.c: Moved Runtime methods to Runtime.
* trt.h: Do not include tom-r.h.
Sun Mar 16 23:18:06 1997 Pieter Schoenmakers <tiggr@tricky.es.ele.tue.nl>
* dload.c (meta_add_extension_state): Compute the new size from
the _rounded_ old size plus the extra size. (Amazing this wasn't
caught earlier; it only showed up now with too.Timer on a Next,
thanks to test12.)
Fri Mar 14 17:03:17 1997 Pieter Schoenmakers <tiggr@akebono.ics.ele.tue.nl>
* perform.c: Adjusted to new Invocation class method names.
Thu Mar 13 13:07:25 1997 Pieter Schoenmakers <tiggr@akebono.ics.ele.tue.nl>
* array.c (array_with_elts): Added int/int.
* timespace.c (c_tom_Date_d_relativeTimeIntervalSinceNow):
Adjusted to staticness of Date's relative_offset.
Fri Mar 7 00:06:13 1997 Pieter Schoenmakers <tiggr@tricky.es.ele.tue.nl>
* main.c (i_tom_All_v_gc_mark): New method.
* alloc.c (c_tom_Container_all_containers): New static variable.
(tgc_collect_garbage): Before strarting with the class objects
as the roots of the object graph, mark the container-container
black.
* alloc.c (tgc_collect_garbage): Properly handle the containers.
Any new gray objects introduced by them are handled again by
another go through the loop for gray objects. Thus: the break
depends on !gray_num.
* main.c (i_tom_All_o_gc_dead_p): New method.
* arraydef.c ([MutableObjectArray set at]): Pass the object stored
through trt_assign_object_var(!).
* alloc.c (tgc_collect_garbage): Have the containers mark their
elements.
Fri Feb 28 17:41:16 1997 Pieter Schoenmakers <tiggr@akebono.ics.ele.tue.nl>
* GNUmakefile.in (CSRC): Re-added hash.c since it is used by dload
for an imp to method description cache.
Fri Feb 28 13:24:36 1997 Pieter Schoenmakers <tiggr@tricky.es.ele.tue.nl>
* GNUmakefile.in: Removed old hashtable implementation.
* main.c (i_tom_All_i_hashq): New method.
Mon Feb 10 11:09:27 1997 Pieter Schoenmakers <tiggr@akebono.ics.ele.tue.nl>
* main.c (c_tom_Runtime_v_runtimeStatistics_r): Output information
on space overhead.
* dload.c: NUM_BUCKETS is common, not data to be 0.
Sun Feb 9 18:10:09 1997 Pieter Schoenmakers <tiggr@tricky.es.ele.tue.nl>
* I'm not sure if mark2 is needed...
* tom/trt.h.in (trt_class_info): New field: mark2.
* dload.c (metas_add_extension_state): Use mark2.
Tue Jan 28 22:18:35 1997 Pieter Schoenmakers <tiggr@tricky.es.ele.tue.nl>
* timespace.c (PRINT): Fixed negative value printing.
Tue Jan 28 12:26:11 1997 Pieter Schoenmakers <tiggr@akebono.ics.ele.tue.nl>
* array.c (array_with_elts): Do not poke into an object; use
`initWith at'.
Fri Jan 24 14:27:54 1997 Pieter Schoenmakers <tiggr@akebono.ics.ele.tue.nl>
* main.c (vquit): Only abort if c_tom_Runtime_core_on_fatal is
true. Otherwise exit (42).
Wed Jan 22 13:03:36 1997 Pieter Schoenmakers <tiggr@akebono.ics.ele.tue.nl>
* timespace.c (print_fp): New argument, indicating width. For
floats, width is 6, for doubles, width is 15. Integer numbers are
printed with a trailing 0.
Fri Jan 10 23:48:38 1997 Pieter Schoenmakers <tiggr@tricky.es.ele.tue.nl>
* thread.c: Use THREADS_PACKAGE instead of MULTI_THREADED_POSSIBLE.
Added cthreads and pthreads threads/locks implementations.
* tom/util.h: Likewise.
Sun Jan 5 15:04:33 1997 Pieter Schoenmakers <tiggr@tricky.es.ele.tue.nl>
* perform.c (invocation_build_args): Handle zero CMD to mean that
the invocation will be complete and results from an invocation of
the actual selector.
(i_tom_Invocation_v_encodeToCoder_r): New method.
(INVOCATION_BUILD_RESULT): New macro, used by the
invocation_build_* functions.
(i_tom_Invocation_v_decodeFromCoder_r): New method.
* thread.c (i_tom_All_r_performInThread_s_with_x): Adjusted to
modified invocation_build_args.
* perform.c (invocation_build_args): AP is a pointer to a va_list.
(c_tom_Invocation_r_of_s_to_r_using_p): New method.
Tue Dec 31 01:23:59 1996 Pieter Schoenmakers <tiggr@tricky.es.ele.tue.nl>
* tom/trt.h.in: Removed definition of SUPER_DEFAULT.
Mon Dec 30 18:40:21 1996 Pieter Schoenmakers <tiggr@tricky.es.ele.tue.nl>
* tom/util.h (MODIFY_RANGE): Removed.
* array.c (array_remove_elements): Do not use MODIFY_RANGE. Use
the adjustRange method.
* timespace.c (i_tom_ByteStream_i_writeBytes_i_from_p): New method.
(i_tom_ByteStream_i_writeRange__ii__from_r): Removed.
(i_tom_MutableByteArray_i_writeRange__ii__from_r): Removed.
Sun Dec 29 00:46:58 1996 Pieter Schoenmakers <tiggr@tricky.es.ele.tue.nl>
* main.c (c_tom_Runtime_o_selector_s_equals_s): New method.
(i_tom_Selector_i_hash): New method.
(c_tom_Runtime_s_selectorNamed_r): Do no fatal, but trt_raise.
Sat Dec 28 12:17:17 1996 Pieter Schoenmakers <tiggr@tricky.es.ele.tue.nl>
* timespace.c (i_tom_Encoder_r_identityFor_r): Removed.
Fri Dec 27 17:43:34 1996 Pieter Schoenmakers <tiggr@tricky.es.ele.tue.nl>
* timespace.c (i_tom_Encoder_r_identityFor_r): New method.
* dictionary.c: Adapted to new class EqDictionary,
ObjectDictionary, and related mutable classes.
Wed Dec 25 18:36:11 1996 Pieter Schoenmakers <tiggr@tricky.es.ele.tue.nl>
* set.c (i_tom_MutableEqSet_r_retrieve): New method.
* keyed.c (i_tom_HashTable_v_dealloc): Zero out all ivars, so
dealloc is usable by empty. It should be the other way around of
course.
* alloc.c (xmalloc, xrealloc, xfree): Removed now-unnecessary
check on MALLOC_THREAD_SAFE.
* tom/util.h (LOCK_ALLOC, UNLOCK_ALLOC): Define to be empty if
malloc is thread-safe.
* alloc.c: Cleaned up some comments (some of which still referred
to libtl).
Tue Dec 10 14:41:54 1996 Pieter Schoenmakers <tiggr@jaguar.ics.ele.tue.nl>
* main.c (c_tom_Runtime_v_runtimeStatistics_r): New method.
Wed Dec 4 16:40:59 1996 Pieter Schoenmakers <tiggr@cobra.es.ele.tue.nl>
* dload.c (meta_add_extension_classes): Do not try to add absent
supers.
Wed Nov 27 14:48:10 1996 Pieter Schoenmakers <tiggr@pb16.eb.ele.tue.nl>
* timespace.c (print_fp): The max buffer size is not 32 but 512.
That should suffice...
* main.c (print_object): New function, as an alias for d().
Tue Nov 26 12:42:57 1996 Pieter Schoenmakers <tiggr@cobra.es.ele.tue.nl>
* array.c: Removed unimplemented searchRegex function.
Sat Nov 23 00:22:38 1996 Pieter Schoenmakers <tiggr@jaguar.ics.ele.tue.nl>
* alloc.c (i_tom_Copying_r_copy): Invoke initCopy on the newly
created object. This bug (the fact this invocation was missing)
took me >2 hours to find! :-(
(And I must admit I found the bug hinted by purify.)
Mon Nov 11 13:11:54 1996 Pieter Schoenmakers <tiggr@jaguar.ics.ele.tue.nl>
* thread.c (trt_thread_main): Fixed call to invocation_fire.
* perform.c: And a whole bunch of other goodies, like invocation
currying, forwarding by a curried invocation, etc.
* perform.c (invocation_build_args): Accept less arguments being
provided than needed by the selector.
(invocation_fire): Check completeness.
(invocation_args): New function.
(c_tom_Invocation_r_for_s_to_r_with_x): New method.
(c_tom_Invocation_r_for_s_to_r___r): New method, unimplemented.
(invocation_add_args): New function.
(i_tom_Invocation_r_fireWith_x): New function.
* trt.h (struct trt_invocation): New field: next_arg.
Mon Nov 11 00:04:33 1996 Pieter Schoenmakers <tiggr@jaguar.ics.ele.tue.nl>
* alloc.c (tgc_mark_stacks): Expanded the previous default for
TGC_MARK_REGISTERS (for debugging).
(tgc_mark_stacks): Note the top of stack location here.
(tgc_collect_garbage): And not here.
Thu Nov 7 20:19:06 1996 Pieter Schoenmakers <tiggr@jaguar.ics.ele.tue.nl>
* dictionary.c
(i_tom_DictionaryContainer_v_gc_container_mark_elements): Fixed
wrong type.
* perform.c (i_tom_Invocation_r_fire): Fixed (huge) typo.
Thu Nov 7 13:31:04 1996 Pieter Schoenmakers <tiggr@jaguar.ics.ele.tue.nl>
* perform.c (i_tom_InvocationResult_x_component_i): New method.
(invocation_fire): Update the first return value in the result of
the invocation, not after the copy.
(i_tom_InvocationResult_x_components): New method.
(i_tom_Invocation_r_fireAt_r): Invoke `fire' method instead of
firing directly.
* Use trt_raise instead of variants of TRT_RAISE.
* main.c (trt_raise): New function.
* perform.c (i_tom_TypeDescription_o_equal_r): New method.
(i_tom_TypeDescription_i_component_i): New method.
(i_tom_InvocationResult_r_typeDescription): New method.
(invocation_build_args): Don't mix sel with cmd...
* dictionary.c
(i_tom_DictionaryContainer_v_gc_container_mark_elements): New
method.
* trt.h (struct trt_invocation_result): Do not include a full
selector, only a description in a trtd_selector_args.
Wed Nov 6 16:28:19 1996 Pieter Schoenmakers <tiggr@pb16.eb.ele.tue.nl>
* perform.c (invocation_fire): The result is of type
builtin_return_type.
Wed Nov 6 14:38:50 1996 Pieter Schoenmakers <tiggr@cobra.es.ele.tue.nl>
* thread.c (trt_thread_main): Use invocation_fire.
* perform.c (invocation_fire): Simplified calling.
Wed Nov 6 13:18:24 1996 Pieter Schoenmakers <tiggr@jaguar.ics.ele.tue.nl>
* perform.c: Heavy modifications for the implementation of
Invocation.
* alloc.c (tgc_collect_garbage): If the debug level is greater
than 1, clear the memory of deallocated objects. Also, only print
info on stack and register marking if the debug level is greater
than 2.
* trt.h: Heavy adjustments for invocations.
* tom/util.h (mark_if_needed): New function.
Tue Nov 5 14:19:37 1996 Pieter Schoenmakers <tiggr@jaguar.ics.ele.tue.nl>
* arraydef.c: Use check_index instead of invoking fatal.
* array.c (check_index): New function: Raise when index beyond
length.
Mon Nov 4 16:02:26 1996 Pieter Schoenmakers <tiggr@jaguar.ics.ele.tue.nl>
* main.c (main): Ask for the shared USASCIIEncoding object.
Fri Nov 1 11:36:53 1996 Pieter Schoenmakers <tiggr@jaguar.ics.ele.tue.nl>
* thread.c (trt_gray_lock): New lock, protecting the stack of gray
objects.
* main.c (main): Install the USASCIIEncoding as the default
ByteString encoding during startup.
Thu Oct 31 17:47:18 1996 Pieter Schoenmakers <tiggr@jaguar.ics.ele.tue.nl>
* Started on discerning the runtime lock and an allocation lock.
Wed Oct 30 15:35:41 1996 Pieter Schoenmakers <tiggr@jaguar.ics.ele.tue.nl>
* timespace.c (c_tom_File_o_file_exists_r): New method.
Mon Oct 28 15:04:14 1996 Pieter Schoenmakers <tiggr@jaguar.ics.ele.tue.nl>
* alloc.c (trt_mark_locals): Adjusted to new thread information.
And only make gray if currently white.
(tgc_collect_garbage): Mark the top of the stack.
(c_tom_State_r_alloc): Likewise.
(tgc_mark_stacks): New function. Previously called
`tgc_mark_stack'.
* thread.c (trt_thread_post_init, trt_thread_pre_init): New
function, resulting from split of trt_thread_init.
Collected thread information into trt_threads, which is of type
trt_thread_info. The compact data has been removed (it wasn't
even used).
* main.c (main): Renamed from actual_main, which has been removed.
* trt.h (trt_thread_info): New type.
Thu Oct 24 14:42:38 1996 Pieter Schoenmakers <tiggr@jaguar.ics.ele.tue.nl>
* alloc.c (tgc_mark_stack): Added a triple-X remark.
Tue Oct 22 09:40:57 1996 Pieter Schoenmakers <tiggr@jaguar.ics.ele.tue.nl>
* dload.c (trt_resolve_unit): Also clear the class dict.
* main.c (c_tom_C_p_bzero__pi_): New method.
Mon Oct 21 15:16:58 1996 Pieter Schoenmakers <tiggr@jaguar.ics.ele.tue.nl>
* main.c (c_tom_C_p_memmove__ppi_): New method.
Mon Oct 21 00:44:58 1996 Pieter Schoenmakers <tiggr@jaguar.ics.ele.tue.nl>
* condition.c (trt_send_nil): Compile unconditionally.
Sun Oct 20 13:18:43 1996 Pieter Schoenmakers <tiggr@jaguar.ics.ele.tue.nl>
* array.c (i_tom_CharString_r_mutableSubstring__ii_): Likewise.
(i_tom_IntArray_i_hash): New method.
Sun Oct 20 00:56:50 1996 Pieter Schoenmakers <tiggr@jaguar.ics.ele.tue.nl>
* array.c (i_tom_CharString_r_substring__ii_): Copy the right
number of bytes.
* timespace.c (i_tom_File_l_position): New method.
Sat Oct 19 15:41:05 1996 Pieter Schoenmakers <tiggr@jaguar.ics.ele.tue.nl>
* timespace.c (i_tom_File_v_seek_l_relative__i): New method.
(i_tom_File_r_reopen): Handle input-output case.
* dload.c: Undo yesterday's changes.
Fri Oct 18 17:50:01 1996 Pieter Schoenmakers <tiggr@jaguar.ics.ele.tue.nl>
* dload.c (metas_install_dtable): New argument: bucket. Only
install for this bucket.
(dtable_install): Only install the appropriate bucket. This may
consume some extra time for fixing dynamic selectors and adding
our own method implementations, but it also saves a lot of time (I
think) for not installing unused dispatch tables.
Tue Oct 15 16:18:44 1996 Pieter Schoenmakers <tiggr@jaguar.ics.ele.tue.nl>
* arraydef.c (*_v_resize__ii_): New method.
(*_v_resize_i): Removed.
Wed Oct 9 14:29:13 1996 Pieter Schoenmakers <tiggr@jaguar.ics.ele.tue.nl>
* tom/util.h: Added various C shorthand messaging typing defines.
Mon Oct 7 11:34:22 1996 Pieter Schoenmakers <tiggr@jaguar.ics.ele.tue.nl>
* main.c (c_tom_Runtime_r_classes): Use an Array to store the
classes, not a Dictionary.
Fri Oct 4 17:01:43 1996 Pieter Schoenmakers <tiggr@jaguar.ics.ele.tue.nl>
* main.c (c_tom_Runtime_r_environment): Don't copy the string.
* tom/util.h: Adjusted comment.
* array.c (byte_string_with_string): Duplicate the string passes.
(byte_string_with_c_string): Don't make a copy.
* tom/trt.h.in: Removed declaration of trt_send_super.
* main.c (c_tom_Runtime_s_nullSelector): New method.
Tue Oct 1 14:11:24 1996 Pieter Schoenmakers <tiggr@jaguar.ics.ele.tue.nl>
* dictionary.c (i_tom_MutablePointerDictionary_v_set_r_at_p): Use
the bucket_elt_find_create_ptr function.
* keyed.c (bucket_elt_find_create_ptr): New function.
* dictionary.c: Added IntDictionary methods.
Sun Sep 29 15:08:40 1996 Pieter Schoenmakers <tiggr@jaguar.ics.ele.tue.nl>
* dload.c (find_method_info): Say something more descriptive than
`abort'.
* alloc.c (i_tom_Copying_r_copy): Was a State method.
Sun Sep 29 14:06:34 1996 Pieter Schoenmakers <tiggr@cobra.es.ele.tue.nl>
* main.c (c_tom_Runtime_v_setenv__rr_): New method.
(c_tom_Runtime_r_environment): New method.
* tom/util.h (trt_ext_address): Check that the EXTENSION_ID fits
the EOT->ST.NUM.
Sat Sep 28 21:04:34 1996 Pieter Schoenmakers <tiggr@jaguar.ics.ele.tue.nl>
* alloc.c (tgc_collect_garbage): Handle thread-local statics.
Also do not unconditionally gray statics; only gray if they're
white.
(trt_mark_locals): New function.
* thread.c (trt_thread_update_locals): New function.
* dload.c: Handle thread-local variables.
Sat Sep 28 19:12:51 1996 Pieter Schoenmakers <tiggr@tom.es.ele.tue.nl>
* thread.c (i_tom_Thread_v_exit_i): Move the right amount of data.
Sat Sep 28 13:25:47 1996 Pieter Schoenmakers <tiggr@jaguar.ics.ele.tue.nl>
* alloc.c (alloc_chunks_range): Use valloc if desired (last resort).
Sat Sep 28 17:24:59 1996 Pieter Schoenmakers <tiggr@cobra.es.ele.tue.nl>
* thread.c: Fixed single-threaded thread handling.
(i_tom_All_r_performInThread_s_with_x): Raise if thread creation
failed.
Fri Sep 27 15:11:31 1996 Pieter Schoenmakers <tiggr@jaguar.ics.ele.tue.nl>
* tom/util.h (TRT_RAISE): New name for RAISE. Similar for other
macro's.
* alloc.c (alloc_chunks_range): Handle MMAP_NOT_FIXED.
Thu Sep 26 12:21:57 1996 Pieter Schoenmakers <tiggr@tom.es.ele.tue.nl>
* tom/trt.h.in: Declare trt_thread_get_local_data.
(trtd_static_var): New ivar: th_local.
* tom/util.h: Added simple locks.
* os.c: Likewise.
Thu Sep 26 09:17:09 1996 Pieter Schoenmakers <tiggr@cobra.es.ele.tue.nl>
* tom/util.h: Put the #endif of the mulitple-inclusion-protecting
#define at the _end_ of the file.
* perform.c (invocation_build_args): Accept a spurious void
argument in the CMD selector.
* dload.c (release_bucket): Invoke BZERO, not bzero.
Wed Sep 25 11:30:00 1996 Pieter Schoenmakers <tiggr@tom.es.ele.tue.nl>
* Large mods to lots of file, now the runtime is multithreaded (at
least it seems to be having run very simple tests).
* set.c: Do not check pointer before passing it to xfree.
* keyed.c: Use trt_assign_object_var to put the key in the bucket
element.
* dictionary.c: Use trt_assign_object_var to put the value in the
bucket element.
Mon Sep 23 13:53:48 1996 Pieter Schoenmakers <tiggr@cobra.es.ele.tue.nl>
* alloc.c (tgc_collect_garbage): When freeing a chunk, set its
ITEM_SIZE to 0.
(tgc_mark_stack): Check for the ITEM_SIZE to prevent checking an
empty chunk.
(stalloc): Use BZERO, not bzero.
* array.c (i_tom_ObjectArray_r_deepen_i_mutably__o): New method.
Sun Sep 22 16:24:24 1996 Pieter Schoenmakers <tiggr@tricky.es.ele.tue.nl>
* arraydef.c: Removed mutableSubstring methods.
* array.c (i_tom_CharString_r_mutableSubstring__ii_): Moved from
arraydef.
* main.c: Include libc.h if present. Needed for gethostname.
* alloc.c (i_tom_State_i_copy): New method.
* main.c: Bunch of new methods for the C class.
Thu Sep 19 16:08:18 1996 Pieter Schoenmakers <tiggr@cobra.es.ele.tue.nl>
* array.c (i_tom_ByteString_i_hashRange__ii_): New method.
Wed Sep 18 14:27:08 1996 Pieter Schoenmakers <tiggr@cobra.es.ele.tue.nl>
* array.c (i_tom_ByteString_o_equalByteString_r): Proper
implementation (without peeking into other string's private
parts!)
* timespace.c (i_tom_ByteStream_i_writeRange__ii__from_r): Write
the range from the returned pointer, not offsetting it (again) by
start.
* array.c (i_tom_ByteString_r_initCopy__pi_): New method.
* main.c (c_tom_Runtime_i_memcmp__ppi_): New method.
* array.c (i_tom_CharString_r_substring__ii_): Moved from
arraydef.c; Removed ByteString implementation of this method.
(i_tom_MutableByteString_r_substring__ii_): New method.
Wed Sep 4 17:43:32 1996 Pieter Schoenmakers <tiggr@tom.es.ele.tue.nl>
* dload.c (metas_install_dtable): Hack to avoid having to handle
conflicts due to v_load_r selector.
Mon Sep 2 19:35:08 1996 Pieter Schoenmakers <tiggr@tricky.es.ele.tue.nl>
* dload.c (metas_install_dtable): Try not to inherit
dtable_conflict.
Tue Aug 27 11:19:50 1996 Pieter Schoenmakers <tiggr@cobra.es.ele.tue.nl>
* dload.c (meta_add_extension_state): Handle state_align.
* tom/trt.h.in (struct trtd_extension): New tag: state_align.
Fri Aug 23 14:27:51 1996 Pieter Schoenmakers <tiggr@cobra.es.ele.tue.nl>
* condition.c (i_tom_All_v_throw_x): Moan about types, not values.
Thu Aug 22 18:15:25 1996 Pieter Schoenmakers <tiggr@cobra.es.ele.tue.nl>
* keyed.c (i_tom_EqHashTable_v_resize): Fixed huge bug where
buckets were moved to bucket at I (where they were) instead of the
bucket at HASH (where they should be).
Wed Aug 21 10:13:35 1996 Pieter Schoenmakers <tiggr@cobra.es.ele.tue.nl>
* forwarddef.c, performdef.c: Obsoleted.
* perform.c: Do not include performdef.c. Both methods in there
are now few-liners in perform.c.
Tue Aug 20 13:31:23 1996 Pieter Schoenmakers <tiggr@cobra.es.ele.tue.nl>
* arraydef.c ([String equal]): Return a fast 1 if we're identical.
* main.c (trt_metas_extension_named): New function.
(trt_meta_extension_named): New function.
* tom/trt.h.in (struct trtd_extension): Added extension_object field.
Fri Aug 16 13:36:34 1996 Pieter Schoenmakers <tiggr@cobra.es.ele.tue.nl>
* timespace.c (i_tom_Sink_r_print_x): New function.
* dload.c (trt_resolve_unit): Handle the TRT_ALL_CLASSES (by
clearing it).
* main.c (actual_main): Invoke [Runtime preload arguments].
(c_tom_Runtime_r_classes): New function.
(trt_all_classes): New variable.
Thu Aug 15 22:01:38 1996 Pieter Schoenmakers <tiggr@cobra.es.ele.tue.nl>
* trt.h: Moved TRT_SEND to tom/trt.h.in.
Thu Aug 15 13:33:28 1996 Pieter Schoenmakers <tiggr@cobra.es.ele.tue.nl>
* condition.c (signal_raise): Invoke the handler with the
condition object, not some pointer inside it.
Tue Aug 13 13:45:54 1996 Pieter Schoenmakers <tiggr@cobra.es.ele.tue.nl>
* array.c (c_string_with_tom_string): New function.
* main.c (c_tom_Runtime_r_hostname): New function.
Mon Aug 12 11:09:56 1996 Pieter Schoenmakers <tiggr@tom.es.ele.tue.nl>
* condition.c (raising_nil): New variable, to protect against
recursive invocations of trt_send_nil, which sets this; it is
cleared in throw.
Tue Aug 6 14:51:04 1996 Pieter Schoenmakers <tiggr@tom.es.ele.tue.nl>
* array.c: Fixed typo in previous function's name.
Fri Jul 12 13:13:11 1996 Pieter Schoenmakers <tiggr@cobra.es.ele.tue.nl>
* array.c (i_tom_ByteString__ii__searchRegex_r_range___ii_): New
function.
Thu Jul 11 18:47:54 1996 Pieter Schoenmakers <tiggr@cobra.es.ele.tue.nl>
* timespace.c
(i_tom_MutableByteArray_i_readRange__ii__fromByteStream_r): Handle
non-zero start. Handle bad arguments by a RAISE, not an ABORT.
Fri Jul 5 18:28:22 1996 Pieter Schoenmakers <tiggr@cobra.es.ele.tue.nl>
* dload.c (metas_install_dtable): Get a new bucket copy-on-write
from a superclass instead of starting with the empty bucket.
Wed Jul 3 22:38:49 1996 Pieter Schoenmakers <tiggr@tricky.es.ele.tue.nl>
* dload.c (dtable_deferred): New function, inserted into the
dispatch table at the obvious places.
(metas_install_dtable): Incorporate dtable_deferred. Fixed bug
in imp lookup in case of possible conflict.
Wed Jul 3 17:57:13 1996 Pieter Schoenmakers <tiggr@tom.es.ele.tue.nl>
* main.c (dcl, del, dc, de): New debugging functions.
Wed Jul 3 12:25:15 1996 Pieter Schoenmakers <tiggr@cobra.es.ele.tue.nl>
* dload.c (metas_add_extension_state): Check num_instances.
* alloc.c (c_tom_State_r_alloc): Maintain num_instances.
(tgc_collect_garbage): Likewise.
* tom/trt.h.in (struct trt_class_info): New field: num_instances.
Tue Jul 2 13:58:58 1996 Pieter Schoenmakers <tiggr@cobra.es.ele.tue.nl>
* dload.c (metas_add_extension_state): Take care of alignment of
doubles.
(dtable_free): New function.
(release_bucket): Implement freeing.
(trt_resolve_unit): Update trt_metas.
Mon Jul 1 22:33:53 1996 Pieter Schoenmakers <tiggr@tricky.es.ele.tue.nl>
* alloc.c (stalloc): Adjust to including the capacity, with the
granularity argument.
Mon Jul 1 13:05:28 1996 Pieter Schoenmakers <tiggr@cobra.es.ele.tue.nl>
* tom/trt.h.in (struct trtd_selector_map): New struct.
* main.c (trt_all_arguments_size): Return the size rounded up to a
multiple of 8.
* hash.c: New file. Non-tom hashtable functions.
* tom/trt.h.in (HASH_POINTER): Changed shift from 3 to 4.
Fri Jun 28 14:05:51 1996 Pieter Schoenmakers <tiggr@cobra.es.ele.tue.nl>
* Did too much these days to keep track.
Wed Jun 26 01:37:51 1996 Pieter Schoenmakers <tiggr@tricky.es.ele.tue.nl>
* Fixed all errors caused by the renaming of a lot of runtime
structures.
Tue Jun 25 12:15:11 1996 Pieter Schoenmakers <tiggr@cobra.es.ele.tue.nl>
* tom/trt.h.in: Added stuff for dynamic loading and non-static
resolving.
Mon Jun 24 21:46:14 1996 Pieter Schoenmakers <tiggr@tricky.es.ele.tue.nl>
* os.c: New file.
Mon Jun 24 13:54:17 1996 Pieter Schoenmakers <tiggr@cobra.es.ele.tue.nl>
* dload.c: New file.
Thu Jun 13 17:28:10 1996 Pieter Schoenmakers <tiggr@cobra.es.ele.tue.nl>
* timespace.c (i_tom_File_r_reopen): Implemented write-only.
Wed Jun 12 16:23:50 1996 Pieter Schoenmakers <tiggr@cobra.es.ele.tue.nl>
* main.c (d): New function.
Tue Jun 11 13:00:11 1996 Pieter Schoenmakers <tiggr@cobra.es.ele.tue.nl>
* keyed.c (i_tom_HashTable_v_resize): Insert the bucket elements
in the bucket at HASH instead of I.
* set.c (i_tom_SetEnumerator__br_next): New function.
* dictionary.c (i_tom_MutableDictionary_v_remove_r): New function.
Sun Jun 9 16:00:02 1996 Pieter Schoenmakers <tiggr@tricky.es.ele.tue.nl>
* main.c (c_tom_Runtime_v_fastExit): New function.
Fri Jun 7 16:24:27 1996 Pieter Schoenmakers <tiggr@micasa.es.ele.tue.nl>
* main.c (main): Added the 80387 control word patch.
Thu Jun 6 11:32:39 1996 Pieter Schoenmakers <tiggr@woensel.es.ele.tue.nl>
* lookup.c (trt_lookup_super): Use _unsigned_ selector id.
(trt_lookup): Likewise.
* condition.c (signal_raise): Renamed from `raise' as that clashes
with raise(2).
Wed Jun 5 11:33:59 1996 Pieter Schoenmakers <tiggr@cobra.es.ele.tue.nl>
* tom/trt.h.in (HASH_POINTER): Shift right by 3, since almost
everything is aligned on that.
* Adapted to non-$ naming scheme.
Tue Jun 4 12:49:15 1996 Pieter Schoenmakers <tiggr@woensel.es.ele.tue.nl>
* alloc.c (alloc_init): Use `getpagesize' if available.
* tom/trt.h.in: Do not use `$' in identifiers.
Thu May 30 14:47:08 1996 Pieter Schoenmakers <tiggr@tom.es.ele.tue.nl>
* alloc.c: Removed container array; replaced with a MutableEqSet,
which is initialized in alloc_init.
* condition.c: Removed (need for) cond_init.
* keyed.c: Added functionality needed for the (subclasses of)
EqHashTable.
* tom/trt.h.in: Added HASH_POINTER. Cleaned up a bit.
Wed May 29 22:44:45 1996 Pieter Schoenmakers <tiggr@tricky.es.ele.tue.nl>
* keyed.c: The resize methods for the bag, dictionary and set have
been moved to the hashtable. It no longer frees all the buckets;
it only rehashes them.
Sun May 26 19:11:56 1996 Pieter Schoenmakers <tiggr@tricky.es.ele.tue.nl>
* condition.c (raise): Set the `raised' flag of the condition.
Use direct object variable access, since the condition object is
self.
Thu May 23 22:17:35 1996 Pieter Schoenmakers <tiggr@tricky.es.ele.tue.nl>
* keyed.c, keyed.h: New file.
Thu May 23 10:47:33 1996 Pieter Schoenmakers <tiggr@tom.es.ele.tue.nl>
* main.c (actual_main): Properly set the ARGUMENTS, ALL_ARGUMENTS
and the PROGRAM_NAME.
Wed May 22 12:09:32 1996 Pieter Schoenmakers <tiggr@tom.es.ele.tue.nl>
* arraydef.c: `set at' returns void.
* alloc.c: Added container functionality.
Tue May 21 23:30:45 1996 Pieter Schoenmakers <tiggr@tricky.es.ele.tue.nl>
* arraydef.c, array.c: Replaced all bounds checking using
`i < 0 || i >= length' by `(unsigned) i >= (unsigned) length'.
Tue May 21 16:03:34 1996 Pieter Schoenmakers <tiggr@tom.es.ele.tue.nl>
* main.c (actual_main): Pass the ARGS to each load imp.
* condition.c: Honour panic mode.
Tue May 21 15:13:33 1996 Pieter Schoenmakers <tiggr@cobra.es.ele.tue.nl>
* tom/trt.h.in: Fixed return type of trt_send to be tom_int
instead of int.
Mon May 20 12:28:01 1996 Pieter Schoenmakers <tiggr@tom.es.ele.tue.nl>
* main.c, array.c: Replace some `//' with `/*' since 2.7.0 doesn't
like `//' in .c source.
Mon May 20 00:40:17 1996 Pieter Schoenmakers <tiggr@tricky.es.ele.tue.nl>
* alloc.c (tgc_collect_garbage): Do not too enhousiastically
increase the estimate of the sweep_rate.
Sat May 18 12:33:20 1996 Pieter Schoenmakers <tiggr@tricky.es.ele.tue.nl>
* array.c (i_tom_ByteString_r_substring__ii_): New function.
(byte_string_with_string): Use the new `id init (pointer, int)'
method.
* tom/trt.h.in: Removed TGC_ASI_ARRAY_P as all objects are sent a
dealloc now.
* alloc.c (tgc_collect_garbage): Always send a dealloc message.
Tue May 14 21:49:46 1996 Pieter Schoenmakers <tiggr@tricky.es.ele.tue.nl>
* alloc.c: Output statistics on stack and register object
references only if c_tom_Runtime_gc_debug is > 1, instead of 0
(printing takes a lot of time which we do not want to see in the
statistics).
* main.c (actual_main): Set line buffering on STDERR.
Tue May 14 18:05:15 1996 Pieter Schoenmakers <tiggr@tom.es.ele.tue.nl>
* alloc.c (tgc_collect_garbage): Check for the value of a static
reference not being NIL before passing it to trt_make_gray.
(c_tom_State_r_alloc): Fixed double-counting bug, and threshold
comparison bug.
Fri May 10 21:12:17 1996 Pieter Schoenmakers <tiggr@tricky.es.ele.tue.nl>
* main.c (unimplemented): New function.
* condition.c (i_tom_All_v_throw_x): Raise an uncaught-throw
condition for an uncaught throw.
* tom/trt.h.in: Inserted some triple-X comments.
* alloc.c (tgc_collect_garbage): Also mark the static object
references.
(tgc_collect_garbage): Output gc statistics if debug_gc is >0
instead of >1.
* performdef.c (i_tom_All_x_perform_s_with_x): Implemented.
Mostly by a copy/paste operation from `perform :'.
Tue May 7 12:56:22 1996 Pieter Schoenmakers <tiggr@tom.es.ele.tue.nl>
* main.c (i_tom_All_o_respondsTo_s): New function.
* condition.c (i_tom_All_v_throw_x): Set the TRT$SP if needed.
* tom/trt.h.in (trt_catch): New field: SP.
* lookup.c (trt_lookup): Invoke trt_lookup_nil for nil receiver.
* condition.c (trt_send_nil): New function.
(trt_lookup_nil): New function.
Fri May 3 01:42:02 1996 Pieter Schoenmakers <tiggr@tricky.es.ele.tue.nl>
* tom/trt.h.in: Added definitions for bind, catch and unwind.
Performed some other minor editing.
Wed Apr 24 23:00:24 1996 Pieter Schoenmakers <tiggr@tricky.es.ele.tue.nl>
* tom/trt.h.in: Sanitized overall names of tom-types-in-C.
* Replaced all occurences of i_tom_State and C_REFERENCE by
tom_object.
Tue Apr 23 21:58:35 1996 Pieter Schoenmakers <tiggr@tricky.es.ele.tue.nl>
* Replaced all references to the NUM of an array by a reference to
its LENGTH, since that is the new (public) name.
Thu Apr 18 15:37:54 1996 Pieter Schoenmakers <tiggr@tom.es.ele.tue.nl>
* array.c (i_tom_Array_v_dealloc): New function.
* alloc.c (tgc_collect_garbage): Fixed a triple-Z: Actually invoke
dealloc of objects having their TGC_ASI_ARRAY_P flag set.
Tue Apr 16 21:56:27 1996 Pieter Schoenmakers <tiggr@tricky.es.ele.tue.nl>
* lookup.c (trt_lookup_super): New function.
* tom/trt.h.in: Added declaration of trt_send_super and
trt_lookup_super.
Mon Apr 15 15:32:22 1996 Pieter Schoenmakers <tiggr@tom.es.ele.tue.nl>
* array.c (array_remove_elements): New function.
Sun Apr 14 23:23:24 1996 Pieter Schoenmakers <tiggr@tricky.es.ele.tue.nl>
* array.c (i_tom_MutableByteString_i_writeBytes$_r_range$__ii_):
New function.
Mon Apr 1 12:33:04 1996 Pieter Schoenmakers <tiggr@cobra.es.ele.tue.nl>
* arraydef.c: Adjusted to new selector names.
* tom/trt.h.in (struct trt_load_imp_description): New struct.
* main.c (actual_main): Invoke load implementations.
Sat Mar 30 22:40:18 1996 Michael Brouwer <michael@tricky.es.ele.tue.nl>
* date.c: New file supporting Date class in tom unit.
* GNUmakefile.in (CSRC): Added date.c.
Fri Mar 29 17:19:36 1996 Pieter Schoenmakers <tiggr@tom.es.ele.tue.nl>
* arraydef.c: Added initWithEnumerator methods.
Wed Mar 27 09:17:27 1996 Pieter Schoenmakers <tiggr@tom.es.ele.tue.nl>
* main.c (trt_address_of_ivar): Handle static variables.
Tue Mar 26 14:55:43 1996 Pieter Schoenmakers <tiggr@cobra.es.ele.tue.nl>
* alloc.c: Adjusted to removal of GarbageCollection class.
* tom/trt.h.in (struct trt_extension_description): Added statics.
(struct trt_static_var_description): New structure.
Mon Mar 25 20:31:43 1996 Pieter Schoenmakers <tiggr@tricky.es.ele.tue.nl>
* tom/trt.h.in (trt_class): Removed ivpt field.
Sun Mar 24 19:03:08 1996 Pieter Schoenmakers <tiggr@tricky.es.ele.tue.nl>
* main.c (i_tom_Any_v_setValue$_x_ofVariableNamed_r): New
function.
(trt_address_of_ivar): New function.
(trt_type_name): New function.
* tom/util.h (trt_ext_address): Access a zero offset for the
tom_State extension.
* array.c (c_string_with_length): New function.
* main.c (i_tom_Any_x_valueOfVariableNamed_r): New function.
* tom/trt.h.in (trt_ivar_description): New field: `len'.
(trt_extension_description): New field: `len'.
* forwarddef.c (trt_forward): Always ask for the `forwardDelegate'
and dispatch the method to be invoked to that delegate, converting
it into a `forward::' if the delegate equals self.
Thu Mar 21 10:50:04 1996 Pieter Schoenmakers <tiggr@cobra.es.ele.tue.nl>
* array.c (i_tom_Array_x_elements): New function.
(i_tom_Array_x_elements$__ii_): New function.
(x_elements): New function, hard worker for the above two.
Thu Mar 21 00:29:50 1996 Pieter Schoenmakers <tiggr@tricky.es.ele.tue.nl>
* Adjusted to new name of perform::.
* ChangeLog: Created.
|