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
|
2002-03-23 Adam Fedor <fedor@gnu.org>
* Version: 0.7.6
Sat Mar 23 21:49:10 2002 Gregory John Casamento <greg_casamento@yahoo.com>
* Source/NSOutlineView.m: Minor cleanup. Removed some unecessary
NSLog statements.
Sat Mar 23 11:34:10 2002 Gregory John Casamento <greg_casamento@yahoo.com>
* Headers/gnustep/gui/NSOutlineView.h: Added dictionary to speed
up generation of the _items list. Also, this keeps the outline view
from being updated without an explicit call to reloadData.
* Source/NSOutlineView.m: Implemented -[NSOutlineView reloadItem:]
and -[NSOutlineView reloadItem:reloadChildren:] and improved
-[NSOutlineView reloadData]
Fri Mar 22 13:09:03 2002 Nicola Pero <n.pero@mi.flashnet.it>
* Headers/gnustep/gui/NSRulerView.h: Merged new code from Diego
Kreutz (kreutz@inf.ufsm.br).
* Source/NSRulerView.m: Class contributed by Diego Kreutz
(kreutz@inf.ufsm.br). I did some minor changes.
Fri Mar 22 11:40:44 2002 Nicola Pero <n.pero@mi.flashnet.it>
* Model/IMLoading.m: Include AppKit/NSNibLoading.h for
awakeFromNib.
Fri Mar 22 11:35:20 2002 Nicola Pero <n.pero@mi.flashnet.it>
* Source/GSSimpleLayoutManager.m ([GSSimpleLayoutManager
-setNeedsDisplayForLineRange:inTextContainer:]): Check that the
whole range of lines, not just the first one, is in the range we
know about (Suggestion from Alexander Malmberg).
2002-03-22 Richard Frith-Macdonald <rfm@gnu.org>
* Tools/exampleInfo.plist: Fix illegal character in plist ...
use unicode escape. Bug reported by Yen-Ju Chen
2002-03-22 Pierre-Yves Rivaille <pyrivail@ens-lyon.fr>
* Source/NSOutlineView.h
Moved NSOutlineViewDropOnItemIndex from enum to int.
* Source/NSOutlineView.m:
Drag'n'drop support.
* Source/NSTableView.m
([NSTableView -selectRow:byExtendingSelection:]):
rowIndex == _numberOfRows was not catched as invalid.
* Source/NSTableView.m ([NSTableView -draggingUpdated:sender]):
Less NSLog.
* Source/NSTableHeaderView.m ([NSTableHeaderView -mouseDown:]):
fixed drawing issue.
2002-03-21 Pierre-Yves Rivaille <pyrivail@ens-lyon.fr>
* Source/NSEvent.m
([NSEvent +startPeriodicEventsAfterDelay:withPeriod:]):
([NSEvent +_registerRealTimer:]):
The first periodic event is sent after delay seconds.
It was incorrectly sent after delay+period seconds.
* Source/NSScroller.m ([NSScroller -drawParts]):
Set the scrollbuttons to send actions on mouseDown instead of
mouseUp. Changed the initial delay (to reflect NSEvent changes)
and the period so that it feels smoother.
2002-03-20 Richard Frith-Macdonald <rfm@gnu.org>
* configure.in: Use info from make package, and look in GNUstep
directories first for versions of libraries and headers to use.
* configure: regenerate
2002-03-19 Adam Fedor <fedor@gnu.org>
* Source/NSWindow.m ([NSWindow -sendEvent:]): In resize event, get
new origin from event location field.
* Source/GSFontInfo.m ([GSFontInfo
+encodingForRegistry:encoding:]): Handle big5 encoding (patch from
Yen-Ju Chen)
* Documentation/news.texi: Update.
Mon Mar 18 16:00:34 2002 Nicola Pero <n.pero@mi.flashnet.it>
* Source/NSTableView.m ([-draggingUpdated:sender]): Make the gui
compile again.
2002-03-17 Pierre-Yves Rivaille <pyrivail@ens-lyon.fr>
* Source/GSTextStorage.m
([GSTextStorage -replaceCharactersInRange:withString:]):
Only keep attribute #0 when removing it would remove all attributes.
(patch by Alexander Malmberg)
* Source/NSTableView.m ([NSTableView -deselectAll:]):
Fix bug.
* Source/NSTableView.m : initial drag'n'drop support.
2002-03-14 Richard Frith-Macdonald <rfm@gnu.org>
* Headers/AppKit/NSGraphicsContext.h: Add NSWindowDepth typedef and
reposition STRICT_OPENSTEP. Really needs someone who actually wants
to use this option to submit patches though.
Mon Mar 11 15:05:02 2002 Nicola Pero <n.pero@mi.flashnet.it>
* Source/libgnustep-gui.def
(__objc_class_name_GSGlyphLocation,__objc_class_name_GSLineLayoutInfo,
__objc_class_name_GSRunStorage, __objc_class_name__GSRunSearchKey,
__objc_class_name_GSTextContainerLayoutInfo): Removed (Suggested
by Fred Kiefer).
2002-03-10 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSPasteboard.m: Start gpbs for other server automatically.
Improve log messages.
* Tools/gpbs.m copied in fron gpbs.
2002-03-09 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSPasteboard.m: Use NSHost to look for alternative servers.
* Tools/gpbs.m: Use -NSHost to specify alternative server names.
Sat Mar 9 12:22:05 2002 Adam Fedor <fedor@yogi.doc.com>
* Source/GSSimpleLayoutManager.m:
Check that object is not nil before asking for width (assigning
structs from nil objects crashes Solaris). Several locations.
2002-03-06 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSScrollView.m: Go through adding checks to avoid crashes
where _contentView has been set to nil through removal of the
subview.
Thu Mar 7 08:29:25 2002 Nicola Pero <n.pero@mi.flashnet.it>
* Source/NSScrollView.m ([-dealloc]): Use DESTROY, not
TEST_RELEASE, fixing the segmentation fault on deallocating.
Thu Mar 7 08:15:21 2002 Nicola Pero <n.pero@mi.flashnet.it>
* Source/NSCell.m ([-initTextCell:]): Use system font, not user
font. ([-initImageCell:]): Idem. ([-setType:]): Idem.
(Patch from Stefan Urbanek <stefanurbanek@yahoo.fr>).
2002-03-06 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSTextStorage.m: Applied fix for left-over attributes
at end of string. Patch supplied by Alexander Malmberg
<alexander@malmberg.org>. Reformatting to conform to GNUstep
standards, and optimisation by me.
* Source/NSView.m: -dealloc remove subviews from this view as
suggested by Nicola.
2002-03-05 Gregory John Casamento <greg_casamento@yahoo.com>
* Source/NSOutlineView.m modified to the methods which
make calls to the datasource to retrieve children starting
from zero instead of one.
2002-03-04 Gregory John Casamento <greg_casamento@yahoo.com>
& Pierre-Yves Rivaille <pyrivail@ens-lyon.fr>
* Source/NSTableView.m added methods to handle posting of
notifications as well as methods to handle making appropriate
delegate calls. Also made necessary changes in other methods
([NSTableView mouseDown:], [NSTableView selectAll], etc...)
to use them. (PYR)
* Source/NSOutlineView.m overrode notification methods and delegate
methods defined in NSTableView. (GJC) This was done as a
collaborative effort to ensure that NSOutlineView is more
maintainable and benefits from updates made to NSTableView.
Also made changes to increase spacing between "knob" and text
* Images/common_outlineUnexpandable.tiff lightened image to
make it stand out more when an item cannot be expanded. (GJC)
2002-03-04 Richard Frith-Macdonald <rfm@gnu.org>
* Headers/AppKit/NSEvent.h: Modify to support MacOS-X documented API
(rather than just the currently implemented one).
* Source/NSEvent.m: ditto.
2002-03-04 Pierre-Yves Rivaille <pyrivail@ens-lyon.fr>
* Source/NSTableView.m ([NSTableView -superviewFrameChanged:]):
fix a bug when resizing a tableview with autoresizesAllColumnsToFit
set to YES.
Mon Mar 4 09:09:02 2002 Nicola Pero <n.pero@mi.flashnet.it>
* Source/NSSavePanel.m: Do not include AppKit/IMLoading.h.
2002-03-04 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSSavePanel.m: Hack around accessory view addition/removal
code - fix a few bugs and simplify by relying more on autoresizing
and less on manual computation of resizing values. Now works with
ProjectCentre on my system.
2002-03-03 Gregory Casamento <greg_casamento@yahoo.com>
* Images/common_outlineUnexpandable.tiff added.
* Images/GNUmakefile modified to install images
* Source/NSOutlineView.m modified to use new images.
Also made several fixes which should now make NSOutlineView
usable. The graphics used are consistent with the look of
the outline view in the OPENSTEP Interface Builder classes
tab.
2002-03-02 Gregory Casamento <greg_casamento@yahoo.com>
* Images/common_outlineExpanded.tiff added.
* Images/common_outlineCollapsed.tiff added.
* Images/GNUmakefile modified to install images
* Source/NSOutlineView.m modified to use new images
2002-03-01 Richard Frith-Macdonald <rfm@gnu.org>
* Headers/AppKit/NSEvent.h: Rename 'middle' mouse to 'other' as
MacOS-X has caught up with the functionality but not adopted our
names. Add -buttonNumber. Add conditional compilation for strict
openstep to exclude new methods.
* Headers/AppKit/NSResponder.h: ditto
* Source/Functions.m: ditto
* Source/GSComboSupport.m: ditto
* Source/NSApplication.m: ditto
* Source/NSCell.m: ditto
* Source/NSControl.m: ditto
* Source/NSEvent.m: ditto. Also added lots of documentation, a
couple of fixmes, and several bugfixes (wrong exceptions being
raised etc).
* Source/NSMenuView.m: ditto
* Source/NSResponder.m: ditto
* Source/NSTextView.m: ditto
* Source/NSWindow.m: ditto
2002-03-01 Michael Hanni <mhanni@yahoo.com>
First cut at improving NSPopUpButton/Cell.
* Source/NSMenuItemCell.m
([drawBorderAndBackgroundWithFrame:inView:]): Remove special
popupbutton case.
([drawInteriorWithFrame:inView:]): ditto.
* Headers/NSMenuView.h: added _leftBorderOffset int.
* Source/NSMenuView.m: added static function
_addLeftBorderOffsetToRect()
([initWithFrame:]): init left offset value to 1 (default for a
menu.)
([sizeToFit]): change left offset value to 0 if we are a
popup. Use this value to set the correct frame size. Before when
the menuview was sizeToFit'ed the menuWindow was resized by an
additional pixel when we were a popupbutton.
([innerRect]): use left offset value to return the correct rect.
([rectOfItemAtIndex:]): ditto.
([indexOfItemAtPoint:]): use _addLeftBorderOffsetToRect() to
correct the rect we use to calculate the event area for a
menuItemCell in a normal menu.
([setNeedsDisplayForItemAtIndex:]): ditto.
([drawRect:]): Modified to not draw a border line on the left side
if we are a popup.
* Source/NSPopUpButtonCell.m: added some comments for further
fixes.
([drawWithFrame:inView:]): removed all the code in favor of
having the NSMenuItemCell of the selected item draw the
popupbuttoncell.
([drawInteriorWithFrame:inView:]): removed everything but the
responder status code (this is still a FIXME).
2002-03-01 Pierre-Yves Rivaille <pyrivail@ens-lyon.fr>
* Source/NSBundleAdditions.m
([GSNibItem -initWithCoder:]):
([GSNibItem -encodeWithCoder:]):
new encoding (support for autoresizingMask).
([GSNibItem +initialize]):
([GSCustomView +initialize]):
new methods, set the version number.
* Headers/gnustep/gui/NSNibLoading.h:
new autoresizingMask ivar in GSNibItem.
2002-02-28 Pierre-Yves Rivaille <pyrivail@ens-lyon.fr>
* Headers/gnustep/gui/NSEvent.h:
new element in event_data union, provides support for deltaX, deltaY
and deltaZ.
* Source/NSEvent.m
([NSEvent +mouseEventWithType:location:modifierFlags:timestamp:
windowNumber:context:deltaX:deltaY:deltaZ:]):
new method : support for creating event with deltaX, deltaY and deltaZ.
([NSEvent -delta{X, Y, Z}]): methods implemented.
([NSEvent -description]):
([NSEvent -initWithCoder:]):
([NSEvent -encodeWithCoder:]):
suppor for deltaX, deltaY and deltaZ
* Source/NSResponder.m ([NSResponder -scrollWheel:]):
implementation.
* Source/NSScrollView.m ([NSScrollView -scrollWheel:]):
implementation, does scroll the document view.
Thu Feb 28 16:47:58 2002 Nicola Pero <n.pero@mi.flashnet.it>
* Tools/make_services.m: Use 'Applications' not 'Apps'.
Thu Feb 28 16:02:09 2002 Nicola Pero <nicola@brainstorm.co.uk>
* Source/Functions.m: Never include NSCStringText.h. Removed old
obsolete text string functions declared in NSCStringText.h.
* Source/libgnustep-gui.def: Removed
__objc_class_name_NSCStringText.
2002-02-27 Adam Fedor <fedor@gnu.org>
* Source/NSApplication.m ([NSApplication -init]): Create our
NSGraphicsContext here (moved from backend initialization) - much
more appealing.
Thu Feb 28 14:19:00 2002 Nicola Pero <nicola@brainstorm.co.uk>
* Headers/gnustep/gui/NSText.h: Added the special key enum
containing NSBackspaceKey which used to be in NSCStringText.h.
Wed Feb 27 23:50:42 2002 Nicola Pero <n.pero@mi.flashnet.it>
* Source/GSKeyBindingTable.m ([-bindKey:toAction:]): Implemented
support for describing multi-stroke keybindings using arrays as
keys.
* Source/GSKeyBindingTable.h ([-bindKey:toAction:]): Now accepts
an id as key.
Wed Feb 27 23:27:21 2002 Nicola Pero <n.pero@mi.flashnet.it>
* Source/GSKeyBindingTable.m ([-bindKey:toAction:]): Modified so
that adding new multi-stroke keybindings with the same prefix
doesn't discard all previous keybindings with the same prefix.
Wed Feb 27 23:16:47 2002 Nicola Pero <n.pero@mi.flashnet.it>
* Source/NSTextView.m ([-drawRect:]): Always clear the whole rect
using the the background color before drawing the new glyphs.
This makes sure we always clear away old glyphs. This fixes the
bug when deleting the last character in a text field.
2002-02-27 Fred Kiefer <FredKiefer@gmx.de>
* Source/GSSimpleLayoutManager.m
[_relocLayoutArray:offset:floatTrift:Change a NSLog() call to NSDebugLog().
* Source/NSLayoutManager.m
Implemented extra line fragment methods.
* Source/NSTextView.m
Implemented [moveToBeginningOfParagraph:] and [moveToEndOfParagraph:].
* KeyBindings/DefaultKeyBindings.dict
Uncommented HOME and END.
Wed Feb 27 19:58:12 2002 Nicola Pero <n.pero@mi.flashnet.it>
* Source/NSCStringText.m: Obsolete file removed.
* Headers/gnustep/gui/NSCStringText.h: Obsolete file removed.
* Source/GNUmakefile (libgnustep-gui_OBJC_FILES): Removed NSCStringText.m
(libgnustep-gui_HEADER_FILES): Removed NSCStringText.h.
Wed Feb 27 18:59:54 2002 Nicola Pero <n.pero@mi.flashnet.it>
* Headers/gnustep/gui/NSInputManager.h (_insertControlKeystrokes): New ivar.
* Source/NSInputManager.m ([-initWithName:host:]):
Read the user default GSInsertControlKeystrokes and save it.
* Source/NSInputManager.m ([-handleKeyboardEvents:client:]): When
inserting literally a keystroke, if GSInsertControlKeystrokes is
NO, and this is a control keystroke, beep but don't insert it.
Beep when a function key not bound to anything is pressed.
Wed Feb 27 18:57:50 2002 Nicola Pero <n.pero@mi.flashnet.it>
* Source/NSResponder.m ([-insertText:]): Added.
Wed Feb 27 18:54:43 2002 Nicola Pero <nicola@brainstorm.co.uk>
* Headers/gnustep/gui/NSTextStorage.h: Documented.
2002-02-27 Pierre-Yves Rivaille <pyrivail@ens-lyon.fr>
* Source/NSSplitView.m ([NSSplitView -mouseDown:]):
Tweaked the drawing code and the event code, so that everything
is displayed more smoothly and faster.
2002-02-27 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSTextView.m
Added method [copySelection] and [pasteSelection] to put the
selected text in special pasteboard. The first gets called by
[setSelectedRange:affinity:stillSelecting:] while the later is
bound to [middleMouseUp:]. (This is hard coded, could the key
binding code handle this?)
2002-02-27 Fred Kiefer <FredKiefer@gmx.de>
Patch from Alexander Malmberg <alexander@malmberg.org>:
* Source/NSGraphicsContext.m
[graphicsContextWithAttributes] always autorelease the context.
Moved the unsetting of the current context from [dealloc] to
[destroyContext] otherwise the current context can never be freed.
* Source/NSApplication.m
Removed some now unneeded FIXME.
Wed Feb 27 01:03:58 2002 Gregory Casamento <greg_casamento@yahoo.com>
* Source/NSOutlineView.m implemented indentation and enabled
collapsing of items in the outline view.
Tue Feb 26 19:08:38 2002 Nicola Pero <nicola@brainstorm.co.uk>
Patch by Michael Hanni <mhanni@yahoo.com> modified -
* Source/NSTabView.m ([-selectTabViewItem:]): Set the frame of the
new selected view to content rect.
Tue Feb 26 18:26:53 2002 Nicola Pero <nicola@brainstorm.co.uk>
Patch from Alexander Malmberg <alexander@malmberg.org>:
* Source/NSFont.m ([+fontWithName:size:]): If size is 0, use
NSUserFontSize instead.
2002-02-26 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSImage.m
[setSize:] recache representations if size changes.
[recache] throw old caches away as size may have changed.
* Source/NSCachedImageRep.m
[GSCacheW _initDefaults] set window not to be released when
closed. As NSApp now closes all windows on terminate.
* Source/NSApplication.m
[NSIconWindow orderWindow:relativeTo:] don't complain about order
out if application is closing.
Mon Feb 25 17:53:19 2002 Nicola Pero <nicola@brainstorm.co.uk>
* Source/NSMenuItemCell.m ([-initWithCoder:]): Added code to decode old
version as well, since it is used by the popup button cell.
2002-02-25 Adam Fedor <fedor@gnu.org>
* Source/NSGraphicsContext.m (_postExternalEvent:) Removed, not used.
* Source/NSInterfaceStyle.m: Updated comments.
* Source/NSScroller.m (-setFloatValue:): Don't update
if the new float is the same as our current value.
(-setFloatValue:knobProportion:): Likewise.
2002-02-18 Willem Rein Oudshoorn <woudshoo@xs4all.nl>
* gui/Source/NSImage.m ([NSImage -initWithSize:]): removed the
round size down temporary fix.
([NSImage -setSize:]): removed the round size down temporary fix.
Mon Feb 25 14:51:56 2002 Nicola Pero <nicola@brainstorm.co.uk>
* Source/NSSavePanel.m (createRowsForColumn:): Use
GSFileBrowserHideDotFiles rather than GSSavePanelHideDotFiles as
user defaults.
Mon Feb 25 13:58:49 2002 Nicola Pero <nicola@brainstorm.co.uk>
* Source/NSWindow.m ([-sendEvent:]): Hand the NSFlagsChanged event
to the _firstResponder flagsChanged: method.
Mon Feb 25 13:04:12 2002 Nicola Pero <nicola@brainstorm.co.uk>
* Source/NSInputManager.m ([+describeKeyStroke:withModifiers:]):
Output NumericPad-, not Numeric-, for a numeric pad key.
* Source/NSInputManager.m ([-handleKeyboardEvents:client:]): Do
not discard the NumericPad modifier flag when looking up
keystrokes. Remove shift from flags when the keystroke is not a
function key. Do not output function keys literally if they are
not bound to anything.
* Source/GSKeyBindingTable.m ([-bindKey:toAction:]): Simplified -
do not insert keybindings twice - with and without shift - if they
are not function keys. Simplified comparisons and updates for
this change. Fixed memory leak when overriding keybindings.
Mon Feb 25 02:16:32 2002 Nicola Pero <n.pero@mi.flashnet.it>
Rewritten the input manager keybinding engine to be a full blown
keybinding engine - new features include actions composed of array
of selectors, multi-stroke keybindings, abort and quote
keybindings.
* Source/NSInputManager.m: Rewritten most of the engine to be much more
powerful.
* Headers/gnustep/gui/NSInputManager.h: Changes in ivars, lots of
comments, new public and private methods.
* Source/GSKeyBindingAction.h: New auxiliary file.
* Source/GSKeyBindingAction.m: New auxiliary file.
* Source/GSKeyBindingTable.h: New auxiliary file.
* Source/GSKeyBindingTable.m: New auxiliary file.
* GNUmakefile: Compile the new files.
Sun Feb 24 17:32:37 2002 Nicola Pero <n.pero@mi.flashnet.it>
* Headers/gnustep/gui/NSResponder.h: Put the optional methods in an
informal protocol.
Sun Feb 24 11:33:21 2002 Nicola Pero <n.pero@mi.flashnet.it>
* Source/NSSaverPanel.m: Do not assume that NSFileManager
-directoryContentsAtPath: returns a NSMutableArray.
Sun Feb 24 11:30:33 2002 Nicola Pero <n.pero@mi.flashnet.it>
* Source/NSSavePanel.m ([-browser:createRowsForColumn:inMatrix:]):
Do not display files starting with . if the user has set
GSSavePanelHideDotFiles to YES (Patch by Martin Brecher
<martin@mb-itconsulting.com> with lots of changes by myself).
2002-02-24 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSLayoutManager.m: More changes to glyph code - store
glyphs and their attributes in the same array, store gaps as
ranges rather than simple indexs. Update comments. Still not
working and turned off using #if
Sat Feb 23 22:07:09 2002 Gregory Casamento <greg_casamento@yahoo.com>
* Source/NSOutlineView.m: More improvements. Expansion of
items is now partially supported.
Sat Feb 23 20:51:31 2002 Georg Fleischmann <georg@vhf.de>
* Source/NSBezierPath.m ([+bezierPath]): Return autoreleased object.
Sat Feb 23 11:28:32 2002 Gregory Casamento <greg_casamento@yahoo.com>
* Headers/gnustep/gui/AppKit.h: Added NSOutlineView header
* Headers/gnustep/gui/NSOutlineView.h: Added additional ivars and
corrected methods for delegate and data source.
* Source/NSOutlineView.m: Added lots of new code to handle the
outline view.
* Source/externs.m: Added definitions for notifications.
Sat Feb 23 12:20:28 2002 Nicola Pero <n.pero@mi.flashnet.it>
Patch by Alexander Malmberg <alexander@malmber.org> -
* Source/NSMenu.m ([-initWithTitle:]): Show torn off menus upon
receiving the NSApplicationDidFinishLaunching notification, not
the NSApplicationWillFinishLaunching one.
Sat Feb 23 12:11:44 2002 Nicola Pero <n.pero@mi.flashnet.it>
Patches by Alexander Malmberg <alexander@malmber.org> with many
changes -
* Source/NSMenuView.m ([-setMenu:]): Do not retain menu.
([-dealloc]): Do not release menu.
* Source/NSMenuItemCell.m ([-setMenuView:]): Do not retain the menu view.
([-dealloc]): Do not release the menu view.
([-copyWithZone:]): Set the menuView of the new cell to nil.
* Source/NSMenuItemCell.m ([+initialize]): Set version to 2.
([-encodeWithCoder:]): Do not encode the menu view.
([-initWithCoder:]): Do not decode the menu view. Retain the
decoded menu item. Do not bother with decoding old versions since
this is unused when encoding/decoding menus anyway. :-)
* Source/NSMenuView.m ([-dealloc]): Set the menuView of all the
menu item cells to nil before releasing them.
* Source/NSMenuView.m ([-initWithCoder:]): Set the menu view of
all the menu item cells to self after decoding.
Sat Feb 23 01:28:15 2002 Nicola Pero <n.pero@mi.flashnet.it>
* Source/NSTableView.m ([-editColumn:row:withEvent:select:]):
Call stringValue on the _editedCell before setting up _textObject,
not after, to prevent a spurious validation from messing up the
text to edit. This fixes the bug when moving with TAB between
different edited cells.
* Source/NSTableView.m ([-textDidEndEditing:]): Release the
_editedCell *before* setting it to nil :-).
Fri Feb 22 22:55:51 2002 Nicola Pero <n.pero@mi.flashnet.it>
Patches by Alexander Malmberg <alexander@malmber.org>:
* Source/NSApplication.m ([-dealloc]): Set the main menu and the
window menu to nil, so that we don't try updating them later on in
the shutdown process.
* Source/NSWindow.m ([-dealloc]): Fixed so that it doesn't discard
the autosaved frame.
Fri Feb 22 21:03:19 2002 Nicola Pero <n.pero@mi.flashnet.it>
* Headers/gnustep/gui/NSApplication.h (_runLoopPool): Store the main run loop
autorelease pool in a ivar.
* Source/NSApplication.m ([-run]): Use the _runLoopPool rather
than a local pool. Also, check for recursive invocation, and
enclose into an autorelease pool the last instructions.
([-terminate:]): Destroy the _runLoopPool; enclose destruction
of NSApp into yet another autorelease pool.
Fri Feb 22 18:22:48 2002 Nicola Pero <nicola@brainstorm.co.uk>
* Source/NSApplication.m ([-terminate:]): Use an autorelease pool.
Thu Feb 21 23:29:50 2002 Nicola Pero <n.pero@mi.flashnet.it>
* Headers/gnustep/gui/NSWindow.h (_originalResponder): Ivar removed.
* Source/NSWindow.m ([-sendEvent:]): Send key up to the first
responder, not to the original responder.
([-dealloc]): Do not release _originalResponder.
([-_initDefaults]): Do not set _originalResponder.
Thu Feb 21 11:01:43 2002 Nicola Pero <nicola@brainstorm.co.uk>
* Source/NSApplication.m ([-changeWindowsItem:title:filename:]):
Only exit if the item exists with the same title as the one we
would add, otherwise, remove the old one and add it again to
permit changing window titles. Fixed case of window being changed
from having a title to having no title.
Wed Feb 20 20:57:32 2002 Michael Hanni <mhanni@yahoo.com>
* Source/NSApplication.m ([-changeWindowsItem:]): If the item in
question already exists we abort further processing.
* Source/NSTabView.m: ([-mouseDown:]): New method to fix problems
with NSSplitView interaction.
([-hitTest:]): Removed.
Wed Feb 20 19:15:58 2002 Nicola Pero <nicola@brainstorm.co.uk>
* Headers/gnustep/gui/GSMemoryPanel.h: New file.
* Source/GSMemoryPanel.m: New file.
* Source/GNUmakefile: Compile, install the new files.
* Source/GSInfoPanel.m: If the user clicks on the application
icon, open the memory panel (idea by Richard Frith-Macdonald).
Wed Feb 20 12:36:05 2002 Nicola Pero <nicola@brainstorm.co.uk>
* Model/GMAppKit.m ([NSBox -subviewsForModel]): New method fixing
problems with subviews of NSBox objects.
2002-02-20 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSLayoutManager.m: Lots of changes to glyph code, including
new logging function ... still doesn't work though ... so turned off.
2002-02-19 Pierre-Yves Rivaille <pyrivail@ens-lyon.fr>
* Source/NSTableView.m ([-setAutosaveTableColumns:]):
sets the flag before trying to load from defaults.
(patch by Alexander Malmberg <alexander@malmberg.org>)
Tue Feb 19 11:46:31 2002 Nicola Pero <nicola@brainstorm.co.uk>
* Source/NSTextView.m ([-dealloc]): RETAIN self before destroying
the text network. (Suggestion by Alexander Malmberg
<alexander@malmberg.org>).
2002-02-18 Gregory John Casamento <greg_casamento@yahoo.com>
* Source/NSWindow.m ([NSWindow -close]): Changes made earlier
would not compile w/ gcc < 3.0.
2002-02-18 Pierre-Yves Rivaille <pyrivail@ens-lyon.fr>
* Source/NSTableHeaderView.m ([NSTableHeaderView -mouseDown:]):
The tableHeaderCell is now redrawn when column reordering is on.
2002-02-18 Pierre-Yves Rivaille <pyrivail@ens-lyon.fr>
* Source/NSWindow.m ([NSWindow -close]): ignore the call if the
window is already closed.
2002-02-17 Pierre-Yves Rivaille <pyrivail@ens-lyon.fr>
* Source/NSApplication.m ([NSApplication -terminate:]): send a
close message to all the windows.
Thu Feb 14 10:45:48 2002 Nicola Pero <n.pero@mi.flashnet.it>
Michael Hanni <mhanni@yahoo.com>
* Source/NSMenuItemCell.m ([-drawStateImageWithFrame:inView:]):
Exit as soon as possible if we have no state image to draw.
([-imageRectForBounds:]), ([-titleRectForBounds:]): Do not pad for
the state image if the state image has no width.
* Source/NSPopUpButtonCell.m ([-insertItemWithTitle:atIndex:]):
Set the On and Mixed image of the new menu item to nil.
([-selectItem:]): Do not call setChangesState: NO on the selected
menu item.
2002-02-13 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSTextStoarge.m: Add GSIMap option for minor performance
improvement.
* Tools/make_services.m: Use correct user root. Noticed that this
tool needs fixing to use the correct paths as provided by the
NSSearchPathsForDirectoriesInDomains() function.
* Source/NSSpellServer.m: Use NSSearchPathsForDirectoriesInDomains()
2002-02-13 Pierre-Yves Rivaille <pyrivail@ens-lyon.fr>
* Source/NSTableHeaderCell.m: New drawing code, support for
highlighted cells.
* Source/NSTableHeaderView.m: support for drawing highlighted
column, support for NSTableView mouseDownInHeaderOfTableColumn:
and didClickTableColumn: delegate messages.
* Source/NSTableView.m: rewrite of -mouseDown method.
rewrite of selection handling to fully support the specs
new tableView:didClickTableColumn: and
tableView:mouseDownInHeaderOfTableColumn delegate messages
[NSTableView -setHighlightedTableColumn:]
[NSTableView -highlightedTableColumn]: methods implemented.
* Headers/gnustep/gui/NSTableView.h:
new _highlightedTableColumn ivar.
2002-02-12 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSBundleAdditions.m: Fix dumb error in my last modification.
(bug report by Stephen brandon).
Mon Feb 11 14:39:03 2002 Nicola Pero <n.pero@mi.flashnet.it>
Updated for change in semantics of -string method of
NSMutableAttributedString.
* Source/NSButtonCell.m ([-setAttributedAlternateTitle:]):
Copy the string before using it.
* Source/NSCell.m ([-stringValue]): Copy the string before
returning it. ([-mnemonic]): Copy the string before using it.
* Source/NSMatrix.m ([-validateEditing]): Copy the text before
using it.
* Source/NSTableView.m ([-validateEditing]): Copy the text before
using it.
* Source/NSTextField.m ([-validateEditing]): Copy the text before
using it.
Mon Feb 11 14:30:35 2002 Nicola Pero <n.pero@mi.flashnet.it>
* Source/NSLayoutManager.m ([-textContainerChangedTextView:]):
Update _firstTextView even if there is a single text view.
* Source/NSTextContainer.m ([-setTextView:]): Always inform the
layout manager that the textview is changed.
2002-02-11 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSBundleAdditions.m:
([loadNibFile:externalNameTable:withZone:]) fix so that, if given a
name with a .nib extension, try correctly to use a .gorm or .gmodel.
2002-02-10 Michael Hanni <mhanni@sprintmail.com>
* Source/NSMenuView.m ([-drawRect:]): make this more efficent,
only redraw cells that we clip.
Mon Feb 11 00:35:19 2002 Nicola Pero <n.pero@mi.flashnet.it>
* Source/NSLayoutManager.m ([-dealloc]): Modified to work for
objects which have not been -init.
Sun Feb 10 23:53:51 2002 Nicola Pero <n.pero@mi.flashnet.it>
* Source/GSSimpleLayoutManager.m
([-textContainerForGlyphAtIndex:effectiveRange:]): Return nil
if no text container was set.
* Source/NSLayoutManager.m ([-firstTextView]): Always return
_firstTextView. ([-removeTextContainerAtIndex:]): Set
_firstTextView to nil if we removed the last text container.
* Source/NSTextView.m ([-buildUpTextNetwork:]): Updated setup
sequence for the fixes in the layout manager - bound the layout
manager and the text storage before creating the text container.
2002-02-09 Pierre-Yves Rivaille <pyrivail@ens-lyon.fr>
* Source/GSFontInfo.m: ([GSFontInfo -defaultLineHeightForFont]):
descender is substracted not added to ascender to give the lineHeight
2002-02-09 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSWindow.m: ([performMiniaturize:]) patch to check style
mask by Jeff Teunissen <deek@d2dc.net> added.
Method documented.
Fri Feb 8 02:46:15 2002 Nicola Pero <n.pero@mi.flashnet.it>
* Source/NSTextView.m ([-moveWordBackward:]): Simplified.
([-moveWordForward:]): Simplified.
([-moveWordForwardAndModifySelection:]): New method, implemented.
([-moveWordBackwardAndModifySelection:]): New method, implemented.
* Source/NSAttributedString.m ([-nextWordFromIndex:forward:]):
Rewritten, fixing crashes.
* KeyBindings/DefaultKeyBindings.dict: Uncommented
Alternate-Shift-LeftArrow and Alternate-Shift-RightArrow, and
bound to moveWordBackwardAndModifySelection: and
moveWordForwardAndModifySelection:.
Wed Feb 6 17:12:35 2002 Nicola Pero <n.pero@mi.flashnet.it>
* Source/GSSimpleLayoutManager.m
([-invalidateGlyphsForCharacterRange:changeInLength:
actualCharacterRange:]): Removed.
([-drawBackgroundForGlyphRange:atPoint:]): Moved to
NSLayoutManager.m.
([+setSelectionWordGranularitySet:]): Removed. Code moved into
+initialize.
Wed Feb 6 14:12:51 2002 Nicola Pero <n.pero@mi.flashnet.it>
* Source/NSLayoutManager.m: Removed old unused unfinished layout
code.
* Headers/gnustep/gui/NSLayoutManager.h: Removed the corresponding
declarations.
2002-02-06 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSWindow.m: ([-sendEvent:]) handle mouse down in window if
no view accepts it. ([-mouseDown:]) implement to quietly ignore
event.
* Source/GSTextStorage.h: additional ivar
* Source/GSTextStorage.m: hand out a proxy to our internal storage,
to avoid either copying it (inefficient) or exposing the mutable
string (unsafe).
Wed Feb 6 02:30:09 2002 Nicola Pero <n.pero@mi.flashnet.it>
* Source/GSSimpleLayoutManager.m
([-rebuildForRange:delta:inTextContainer:]): Removed workaround
for bug in NSString. Use a fake used rect width of 1 when
building the fake line fragment for no text, so that the insertion
point is displayed in that case. Build a fake line fragment at
the end of text if there is a newline ending the text. This hack
fixes the problems with typing enter at the end of text.
Tue Feb 5 10:26:32 2002 Nicola Pero <n.pero@mi.flashnet.it>
* Source/NSTextView.m ([-moveBackwardAndModifySelection:]): New
method.
([-moveForwardAndModifySelection:]): New method.
* KeyBindings/DefaultKeyBindings.dict: Uncommented binding of the
new methods to Shift-LeftArrow and Shift-RightArrow.
Sun Feb 3 11:53:13 2002 Nicola Pero <n.pero@mi.flashnet.it>
* Source/NSTextView.m ([-transpose:]): New method. Bound to
Control-t.
* Headers/gnustep/gui/NSTextView.h: Declare transpose:. Removed
category.
* KeyBindings/DefaultKeyBindings.dict: List rewritten to reflect
the OpenStep keybindings. Work in progress - many keybindings
commented out for now, but this is the list of keybindings we
eventually want to get to.
2002-02-03 Fred Kiefer <FredKiefer@gmx.de>, Richard <rfm@gnu.org>
* Source/NSView.m: ([removeSubview:]) call ([setNeedsDisplay:NO]) in
the subview so that, if subsequently added to another view, and marked
for display, the area needing display will be updated to parent views
correctly.
* Source/NSWindow.m: ([orderWindow:relativeTo:]) fix to restart
automatic update events correctly when a window which was ordered
out is ordered back in again.
2002-02-02 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSImage.m
Corrected [TIFFRepresentation], was calling the wrong
NSBitmapImageRep method.
* Source/NSFontManager.m
[orderFrontFontPanel:] no longer sets the selected font on the
panel, as this gets done by the panel itself.
* Headers/gnustep/gui/NSFontPanel.h
New ivars for traits, weight and a future preview string.
* Source/NSFontPanel.m
[reloadDefaultFontFamilies] load the family browser and redisplay
the selected font. [setPanelFont:isMultiple:] load the face
browser, store font weight and traits and display font name in
preview only if no preview string is set. [_initWithoutGModel]
made the set button the default button. Split most code from
[_togglePreview:] into separate method [_doPreview], which is
called, when the preview state should not change. In [_doPreview]
only display font name if preview string is not set.
[browser:selectRow:inColumn:], when selecting a family select a
face with the same weight and traits as the originaly
selected. When selecting a face, store its weight and traits.
2002-02-01 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSBezierPath.m:
* Source/NSLayoutManager.m:
* Source/GSTextStorage.m: Use new GSI API from latest CVS base
* library.
2002-01-31 Pierre-Yves Rivaille <pyrivail@ens-lyon.fr>
* Source/NSCell.m
* Headers/gnustep/gui/NSCell.h : new [NSCell -setHighlighted:]
method
2002-01-30 Adam Fedor <fedor@gnu.org>
* Version: 0.7.5
* Documentation/announce.texi: Update.
* Documentation/news.texi: Likewise.
2002-01-28 Willem Rein Oudshoorn <woudshoo@xs4all.nl>
* gui/Source/NSImage.m ([NSImage -initWithSize:]): round the size down
([NSImage -setSize:]): round the size down
Tue Jan 29 10:59:04 2002 Nicola Pero <nicola@brainstorm.co.uk>
* GNUmakefile.postamble (configure): Rule removed. It was causing
problems on systems without autoconf.
(gui.make, config.make): Do not depend on configure.
2002-01-25 Adam Fedor <fedor@gnu.org>
* Documentation/gsdoc/GNUmakefile: Remove autogsdoc processing
* Source/GNUmakefile: Moved to here.
* Headers/gnustep/gui/GSHbox.h, GSVbox.h, NSAffineTransform.h,
NSApplication.h, NSBezierPath.h, NSBitmapImageRep.h,
NSBrowser.h, NSBrowserCell.h, NSCell.h, NSColorWell.h, NSDataLink.h,
NSDataLinkManager.h, NSDataLinkPanel.h, NSForm.h, NSHelpPanel.h,
NSImage.h, NSLayoutManager.h, NSMatrix.h, NSParagraphStyle.h,
NSPasteboard.h, NSPopUpButtonCell.h, NSProgressIndicator.h,
NSSavePanel.h, NSSelection.h, NSStepperCell.h, NSText.h,
NSTextFieldCell.h: Sync interface/impl declarations for autogsdoc.
* Source/GSTable.m, NSAffineTransform.m, NSApplication.m,
NSBitmapImageRep.m, NSGraphicsContext.m, NSSlider.m,
NSTableHeaderView.m, NSText.m: Likewise.
* Headers/gnustep/gui/NSEvent.h: Two new AppKit events.
* Source/NSWindow.m ([NSWindow -sendEvent:]): Implement response
for GSAppKitWindowLeave event.
2002-01-24 Adam Fedor <fedor@gnu.org>
* Source/NSBundleAdditions.m ([NSBundle
+loadNibFile:externalNameTable:withZone:]): If file extension is
nib, replace it with gmodel.
* Documentation/announce.texi: Update.
* Documentation/install.texi: Likewise.
* Documentation/news.texi: Likewise.
* Documentation/todo.texi: Likewise.
2002-01-23 Adam Fedor <fedor@gnu.org>
* Source/NSInterfaceStyle.m (NSInterfaceStyleForKey): Use default
style if no key for style is located. Don't cache key in this case.
* Source/NSMenu.m (-nestedSetFrameOrigin:aPoint): Use
locationForSubmenu to get submenu location.
* Source/NSMenuView.m (-locationForSubmenu:): Fix
location of submenu for GSWindowMakerInterfaceStyle.
2002-01-22 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSWorkspace.h: new ivar
* Source/NSWorkspace.m: Many tidyups and little fixes, major change
to -getBestApp... so that it picks the best available app rather
than just the one specifed by the user as 'best'. This means you can
always use it to get an app even if the user has set no preference.
Fixed uninitialised variable in first version of this mod and made
user preferences override declared types opened by apps.
Keep track of launched applications so we can tell whether we need
to launch a new one or just talk to an existing one.
2002-01-21 Adam Fedor <fedor@gnu.org>
* Source/NSApplication.m (-deactivate): Don't hide modal windows.
(-runModalSession:): Handle WM events (like resize) for any window
right away.
2002-01-21 Richard Frith-Macdonald <rfm@gnu.org>
* Headers/Appkit/NSGraphicsContext.h: new method to slide image
across screen between windows.
* Source/NSGraphicsContext.m: dummy implementation
* Source/NSWorkspace.m: Use new method.
Mon Jan 21 11:47:27 2002 Nicola Pero <nicola@brainstorm.co.uk>
* Source/NSMenuItem.m ([-setSubmenu:]): When raising an exception
that the submenu already has a supermenu, print titles of both
submenu and supermenu.
* Source/NSMenuItem.m: For the whole class: access variable
_title.
2002-01-20 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSWindow.m: ([-sendEvent:]) check to see that an old drag
view is still in the current window before sending a dragging message
to it ... if it has been removed, don't send the message.
2002-01-20 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSWindow.m: ([-sendEvent:]) use ASSIGN() and DESTROY() to
update _lastDragView so we don't run into problems if something
deallocates it. Added some debug logging. Fixed bug in logic of
drag entry/update. Restructured a little to improve readability.
Thu Jan 17 18:16:08 2002 Nicola Pero <n.pero@mi.flashnet.it>
* Source/NSTextView.m ([-_blink:]): Fixed declaration - should take
a single NSTimer * argument.
Thu Jan 17 00:03:46 2002 Nicola Pero <n.pero@mi.flashnet.it>
* Source/NSSlider.m ([-mouseDown:]): Do nothing if the slider is
disabled.
Wed Jan 16 23:45:32 2002 Nicola Pero <n.pero@mi.flashnet.it>
* Source/NSApplication.m (NSAbortModalException): Removed
declaration - suggested by Stephen Brandon.
2002-01-15 Ludovic Marcotte <ludovic@Sophos.ca>
* Source/NSParagraphStyle.m ([NSParagraphStyle -encodeWithCoder:])
fixed the index used for our locations and type arrays from
count to it.
2002-01-15 Adam Fedor <fedor@gnu.org>
* Source/NSApplication.m (-finishLaunching): Make main menu key
when there is no other key or main window.
(-runModalSession:): Update main menu.
(-targetForAction:): Search fixes. Return nil if in modal session
and key window does not respond to action.
* Source/NSWindow.m (-sendEvent:): Only check cursor rects
if isCursorRectsEnabled.
2002-01-10 Adam Fedor <fedor@gnu.org>
* Source/NSPopUpButton.m (-keyDown:): Handle obscure case of user
opening menu with key and selecting with mouse. Upon key selection,
get selected index from menuView highlightedItemIndex.
2002-01-10 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSPasteboard.m: Improve handling of -NSHost user default
so we don't try to start a local pasteboard server when what we
actually want is to connect to a remote one.
* Source/NSWorkspace.m: Use -NSHost default to control connection
to a remote workspace application.
Should we use the remote application to launch new apps if possible?
For now, try to launch the apps locally but have them display on
the remote host by passing the -NSHost default to them.
2002-01-09 Adam Fedor <fedor@gnu.org>
* Source/NSApplication.m (_NSAppKitUncaughtExceptionHandler):
Use non-graphical handler when it is a WindowServer exception.
* Source/NSWindow.m (-orderWindow:relativeTo:): Constrain only
titled windows and only when not already visible.
* Source/NSWindow.m (-constrainFrameRect:toScreen:): Don't constrain
height less than minimum size.
(setFrame:display:): constrain frame on a resize.
* TextConverters/RTF/GNUmakefile.preamble: Look for library in Source.
Wed Jan 9 12:07:58 2002 Nicola Pero <n.pero@mi.flashnet.it>
* configure.in: Abort with an error if GNUSTEP_SYSTEM_ROOT is not
set. (AC_CONFIG_AUX_DIR): Call to set ac_aux_dir to
$GNUSTEP_SYSTEM_ROOT/Makefiles.
* configure: Regenerated.
* config.guess: Removed.
* config.sub: Removed.
* install-sh: Removed.
Tue Jan 8 16:23:08 2002 Nicola Pero <n.pero@mi.flashnet.it>
* Resources/English.lproj/Localizable.strings: Removed 'Windows'.
* Resources/Italian.lproj/Localizable.strings: Idem.
Tue Jan 8 14:30:26 2002 Nicola Pero <n.pero@mi.flashnet.it>
* Source/NSInputManager.m ([-bindKey:toAction:]): Allow a ""
action to specify no keybinding - can be used to disable a
previous keybinding.
Tue Jan 8 13:58:11 2002 Nicola Pero <n.pero@mi.flashnet.it>
* Tools/exampleInfo.plist: Added German translation of service
strings (Patch by Martin Brecher <martin@mb-itconsulting.com>).
Mon Jan 7 17:35:30 2002 Nicola Pero <n.pero@mi.flashnet.it>
* Headers/gnustep/gui/NSApplication.h (_windows_menu): Changed to
be an NSMenu * instead of a NSMenuItem *. This is more logical
since often the windows menu is set before the main menu is
created.
* Source/NSApplication.m: Updated for change in ivar.
([-setWindowsMenu:]), ([-setMainMenu:]): Simplified a lot. All
code dependent on the name of the 'Windows' menu was removed as
too complex and unreliable when the application is translated.
All applications are now required to create the Windows menu
themselves, and to call setWindowsMenu: to have it used.
Mon Jan 7 16:05:19 2002 Nicola Pero <n.pero@mi.flashnet.it>
* Source/NSApplication.m ([-setMainMenu:]): Only manually set a
new windows menu if no one was already set. When looking manually
for a Windows menu, look both for translated and untranslated
'Windows' menu items. Translate it if not yet translated.
([-setWindowsMenu:]): If no translated 'Windows' menu item could
be found, try and look for an untranslated one. Translate it if
found.
Sun Jan 6 13:56:53 2002 Nicola Pero <n.pero@mi.flashnet.it>
* Source/NSSpellChecker.m ([-_launchSpellCheckerForLanguage:]):
Updated for change in GSServicesManager's ivars.
Sun Jan 6 11:16:30 2002 Nicola Pero <n.pero@mi.flashnet.it>
* Headers/gnustep/gui/GSServicesManager.h: Prefixed all ivars with
underscores.
* Source/GSServicesManager.m: Idem.
Sun Jan 6 10:49:49 2002 Nicola Pero <n.pero@mi.flashnet.it>
* Source/GSServicesManager.m ([-rebuildServicesMenu]): If the key
equivalent can not be found under the language used for the menu
item, use the default key equivalent if any.
* Tools/exampleInfo.plist: Added service names in Italian.
Thu Jan 3 07:35:42 2002 Nicola Pero <n.pero@mi.flashnet.it>
* Source/NSTextView.m ([-mouseDown:]): Implemented activation of
links. (Patch written with Ludovic Marcotte <ludovic@sophos.ca>).
* Source/NSTextView.m ([-mouseDown:]): Only use the code for
clicks on attachments on the first click.
Tue Jan 1 21:06:32 2002 Nicola Pero <n.pero@mi.flashnet.it>
* Source/NSScrollView.m ([-tile]): Allocate space for the rulers
(Adapted from a patch from Diego Luis Kreutz <kreutz@inf.ufsm.br>).
Tue Jan 1 20:57:07 2002 Nicola Pero <n.pero@mi.flashnet.it>
* Source/NSScrollView.m ([-tile]): Rewritten to be simpler to
understand.
Tue Jan 1 13:36:56 2002 Nicola Pero <n.pero@mi.flashnet.it>
* Source/NSView.m ([-resizeWithOldSuperviewSize:]): Removed all
traces of the obsolete code for managing the bounds. Tidied code.
2001-12-29 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSServicesManager.m: ([GSListener -forwardInvocation:])
method implemented to forward to service provider or app delegate.
Tue Dec 25 09:54:21 2001 Nicola Pero <n.pero@mi.flashnet.it>
* Source/NSButtonCell.m ([-drawInteriorWithFrame:inView:]): Draw
the background color.
Tue Dec 25 09:23:24 2001 Nicola Pero <n.pero@mi.flashnet.it>
* Source/NSScrollView.m ([-_doScroll:]): Mark the horizontal and
vertical ruler as needing redisplay if needed.
([-setHorizontalRulerView:]): Add/remove the new horizontal ruler
as a subview; set _hasHorizontalRule to NO if the new horizontal
ruler is nil; tile if rulers are visible.
([-setHasVerticalRuler:]): Similar changes.
([-setHasHorizontalRuler:]): Rewritten. In particular, use the
class specified in +rulerViewClass when creating the new ruler.
([-setVerticalRulerView:]): Similar changes.
(Patches from Diego Luis Kreutz <kreutz@inf.ufsm.br> modified).
2001-12-24 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSTextView.m
[dragOperationForDraggingInfo:type:] added NSDragOperationCopy to
the valid drag actions.
2001-12-23 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSTextView.m
Added some NSResponder methods with empty code to keep the
NSInputManager quiet.
* Source/NSApplication.m
[initialize] retain the gui bundle and added an auto release pool
as this might be called without one installed.
2001-12-23 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSTextView.m
[writeSelectionToPasteboard:types:] corrected C binary operator
short cut logic that prevented us froam adding more than one
string type to the pasteboard. Remember that || wont evaluate the
second operand if the first is true.
Fri Dec 21 18:50:17 2001 Nicola Pero <nicola@brainstorm.co.uk>
* Headers/gnustep/gui/GSGuiPrivate.h: New file.
* GNUmakefile (SUBPROJECTS): Added Resources.
* Resources/GNUmakefile: New file.
* Resources/Italian.lproj/Localizable.strings: New file.
* Resources/English.lproj/Localizable.strings: New file.
* Source/NSApplication.m ([+initialize]): Create the gnustep-gui
bundle used for loading localized messages.
(GSGuiBundle): New function.
* Source/NSApplication: Localized most messages in this file.
This is experimental.
Fri Dec 21 14:37:45 2001 Nicola Pero <nicola@brainstorm.co.uk>
* GNUmakefile (SUBPROJECTS): Added KeyBindings.
2001-12-20 Adam Fedor <fedor@gnu.org>
* Images/common_noCursor.tiff: New image from deek@d2dc.net.
2001-12-21 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSView.m
Implemented dragFile:fromRect:slideBack:event:]. Moved code from
[dragImage:...slideBack:] to NSWindow and call this.
* Source/NSWindow.m
New Implemantion of [dragImage:...slideBack:]. Replaced call to
[NSGraphicContext _postExternalEvents:] with [NSDragInfo
postDragEvent:].
Replaced most [NSScreen mainScreen] with [self screen].
* Headers/gnustep/gui/NSGraphicContext.h
Removed method [_postExternalEvents:]. Added method [GSResolutionForScreen:].
* Headers/gnustep/gui/NSGraphic.h
* Headers/gnustep/gui/GSMethodTable.h
Added GSResolutionForScreen.
* Source/NSGraphicContext.m
Implemented [GSResolutionForScreen:] with code from NSScreen.
* Source/NSScreen.m
[deviceDescription] call new function GSResolutionForScreen.
Wed Dec 19 17:55:25 2001 Nicola Pero <nicola@brainstorm.co.uk>
* Source/NSTextView.m ([NSTextView -moveToEndOfLine:]): Fixed typo
in my last commit.
Tue Dec 18 22:13:31 2001 Nicola Pero <n.pero@mi.flashnet.it>
* Source/NSTextView.m ([-moveToEndOfLine:]): Fixed problems with
empty lines by carefully checking for special cases.
* Source/NSLayoutManager.m
([-lineFragmentRectForGlyphAtIndex:effectiveRange:]): Fixed setting
effective range.
([-lineFragmentUsedRectForGlyphAtIndex:effectiveRange:]): Idem.
([-textContainerForGlyphAtIndex:effectiveRange:]): Idem.
2001-12-19 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSApplication.m
[setMainMenu:] set the title of the main menu window, so
the window manager can display it.We could do this also for all
other menus, but those wont show up in the window manager.
* Tools/gopen.m
Removed the redefinition of NSRunAlertPanel() as NSWOrkspace no
longer uses this,
2001-12-18 Pierre-Yves Rivaille <pyrivail@ens-lyon.fr>
* Source/NSWindow.m ([NSWindow -setTitleWithRepresentedFilename:]):
([NSWindow -setTitle:]):
([NSWindow -_initBackendWindow:]):
changed cString into lossyCString during DPStitlewindow calls
* Source/NSBrowser.m:
NSBrowserColumn: new methods initWithCoder & encodeWithCoder, it now
complies to NSCoding
[NSBrowser -initWithCoder:] & [NSBrowser -encodeWithCoder:]: major
update to previous implementation. It is now usable with Gorm and
should not generate memory leaks anymore.
Mon Dec 17 23:54:35 2001 Nicola Pero <n.pero@mi.flashnet.it>
* Source/NSInputManager.m: New class which loads key binding files
and process keys basing on loaded key bindings.
* Headers/gnustep/gui/NSInputManager.h: Updated. Removed methods
deprecated in apple doc - there is no point in trying to be
compatible with internal deprecated methods of a foreign system.
* Source/NSResponder.m ([-interpretKeyEvents:]): Pass the key
events to the current input manager.
([+initialize]): Added call to NSInputManager to have it init
itself.
* KeyBindings/: New directory.
* KeyBindings/GNUmakefile: New file.
* KeyBindings/DefaultKeyBindings.dict: New file.
* Documentation/gsdoc/GNUmakefile (Gui_GSDOC_FILES): Added
DefaultsSummary.gsdoc.
* Documentation/gsdoc/DefaultsSummary.gsdoc: Documented
the GSDefaultKeyBindings and GSCustomKeyBindings options.
* Documentation/gsdoc/DefaultsSummary.html: Regenerated.
2001-12-17 Pierre-Yves Rivaille <pyrivail@ens-lyon.fr>
* Source/NSButtonCell.m ([NSButtonCell -drawInteriorWithFrame:inView:])
removed the code that drew the background (osx doesn't draw background)
* Source/NSProgressIndicator.m ([NSProgressIndicator +initialize]):
retain the fillColour.
2001-12-17 Adam Fedor <fedor@gnu.org>
* Source/*m: Add basic markup for autogsdoc generation.
(various locations): Remove semi-colon at end of method names.
NSSliderCell.m, NSSlider.m, NSTableColumn.m, NSView.m, NSWindow.m:
Add documentation formerly in gsdoc files to comments.
* Headers/gnustep/gui/NSColorList.h, NSPageLayout.h,
NSPrintInfo.h, NSPrintOperation.h, NSPrinter.h, NSView.h: Correct
method types, remove unused markup.
* Documentation/gsdoc/GNUmakefile: Add variables for autmatic
document generatation via autgsdoc.
* Documentation/gsdoc/*gsdoc, *html: Update.
Sat Dec 15 09:12:44 2001 Nicola Pero <n.pero@mi.flashnet.it>
Patches from Ludovic Marcotte modified by myself.
* Source/NSTextView.m ([-moveToBeginningOfDocument:]):
Implemented.
([-moveToBeginningOfLine:]): Idem.
([-moveToEndOfDocument:]): Idem.
([-moveToEndOfLine:]): Idem.
([-moveWordBackward:]): Idem.
([-moveWordForward:]): Idem.
([-selectLine:]): Idem.
2001-12-12 Adam Fedor <fedor@gnu.org>
* Source/NSCursor: New cache dictionary.
(-greenArrowCursor): New method.
(-initWithImage:foregroundColorHint:backgroundColorHint:hotSpot:):
Implement.
2001-12-09 Willem Rein Oudshoorn <woudshoo@xs4all.nl>
* Source/NSWindow.m (GSPerformVoidDragSelector): rewritten to not
rely on category on NSObject
(GSPerformDragSelector): rewritten to not rely on category on
NSObject
([NSWindow -sendEvent:]): fixed bug in handling of informal
draggingDestination protocol
* Headers/AppKit/NSWindow.h (NSCoding>): added instance variable
_lastDragOperationMask
* Source/GNUmakefile (libgnustep-gui_OBJC_FILES): Removed obsolete
NSObjectProtocols.m file
Tue Dec 11 00:08:38 2001 Nicola Pero <n.pero@mi.flashnet.it>
* Source/NSCell.m ([-setStringValue:]): Use a NSDebugMLLog to warn
for attempts to use nil value, not NSWarnLog, as suggested by Wim
Oudshoorn <woudshoo@sct.com>.
2001-12-09 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSApplication.m
[NSIconWindow _initDefaults] set the title of the icon window, so
the window manager can display it.
2001-12-07 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSWorkspace.m
[_workspaceApplication] renamed defaults key for Workspace
application to GSWorkspaceApplication.
* Documentation/gsdoc/DefaultsSummary.gsdoc
Documented NSWorkspace defaults entry GSWorkspaceApplication
and the new xgps defaults entry GSFontMask.
2001-12-07 Adam Fedor <fedor@gnu.org>
* Source/NSImage.m (-drawRepresentation:inRect:): Draw
background even when alpha == 0.
* Source/NSApplication.m (-sendEvent:): Simplify NSDebugLog.
* Documentation/gsdoc/DefaultsSummary.gsdoc: Update
* Documentation/gsdoc/Gui.gsdoc: Remove NSDPSContext.
2001-12-07 Pierre-Yves Rivaille <pyrivail@ens-lyon.fr>
* Headers/gnustep/gui/NSTableColumn.h:
* Source/NSTableColumn.m: changed the initWithIdentifier return
type from NSTableColumn* to id. It prevents warning when
subclassing and is consistent with the docs.
* Headers/gnustep/gui/NSTableView.h: renamed ivar _del_editable to
_dataSource_editable. Previously the delegate was responsible for
tableView:setObjectValue:forTableColumn:row:, whereas it is now the
dataSource that is responsible for it (it conforms with the docs)
* Source/NSTableView.m: [setDelegate:], [setDataSource:] and
[validateEditing] changed to conform to previous change
* Source/NSTableView.m (quick_sort_internal) : fixed typo
Wed Dec 5 11:04:14 2001 Nicola Pero <n.pero@mi.flashnet.it>
* Source/NSPrintInfo.m ([+initPrintInfoDefaults]): Commented out
debugging log which wouldn't compile.
Wed Dec 5 10:55:13 2001 Nicola Pero <n.pero@mi.flashnet.it>
* Source/NSClipView.m ([-setBackgroundColor:]): If the color is
changed, mark the clipview as needing redisplay.
([-setDrawsBackground:]): If the flag is changed, mark the
clipview as needing redisplay.
* Source/NSText.m ([-setBackgroundColor:]): Mark the text as
needing redisplay if the color is changed. If we are not a field
editor, change the background color of the enclosing scrollview
too.
([-setDrawsBackground:]): Mark the text as needing redisplay if
the flag is changed. If we are not a field editor, change the
flag for the enclosing scrollview too.
2001-12-02 Adam Fedor <fedor@gnu.org>
* Model/GMAppKit.m ([NSMenuItem -initWithModelUnarchiver:]): Check
if target is a menu.
* Source/NSCursor.m: Make class variables for arrow and ibeam
cursor.
2001-11-30 Willem Rein Oudshoorn <woudshoo@xs4all.nl>
* Source/NSCursor.m (backgroundColorHint:): added FIXME comment
* Images/GNUmakefile (IMAGE_FILES): added DnD cursors
* Headers/gnustep/gui/NSBitmapImageRep.h (NSImageRep): removed
unused instance variable
2001-12-03 Laurent Julliard <laurent@moldus.org>
* Source/NSTableHeaderView.m (-initWithCoder:, decodeWithCoder:):
minimal decoding/encoding methods
2001-12-02 Gregory Casamento <greg_casamento@yahoo.com>
* Source/NSTableView.m
-[NSTableView superviewFrameChanged:] Added a check to prevent
exception when column count is reduced to zero. This change is
consistent with behaviour observed on OPENSTEP4.2/Mach.
2001-12-02 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSWorkspace.m
[findApplications] use hardcoded @GNUSTEP_INSTALL_PREFIX only for
non-GNUstep foundation library.
* Source/NSPasteboard.m
[_pbs] use hardcoded @GNUSTEP_INSTALL_PREFIX only for
non-GNUstep foundation library.
* Source/NSImage.m
[initialize] and [imageNamed:] use hardcoded
@GNUSTEP_INSTALL_LIBDIR only for non-GNUstep foundation library.
* Source/NSPrintInfo.m
[initPrintInfoDefaults] use hardcoded @GNUSTEP_INSTALL_LIBDIR only
for non-GNUstep foundation library.
Sun Dec 2 08:54:36 2001 Nicola Pero <n.pero@mi.flashnet.it>
* Source/NSAttributedString.m ([NSMutableAttributedString
-fixParagraphStyleAttributeInRange:]): Fixes, particularly for
case in which a style is not found at the beginning of paragraph.
(Bug reported by Ludovic Marcotte <ludovic@Sophos.ca>).
2001-12-02 Gregory Casamento <greg_casamento@yahoo.com>
* Tools/gopen.m
Modified to eliminate the output of "No application for extension
'app'" when launching an application using gopen. The code now
checks to see if an app is being launched first, then, if not,
attempts to open the file. It's also slightly more efficient to
check for an app first before calling -[NSWorkspace openFile:].
2001-12-01 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSWorkspace.m
Moved all private methods into seperate category. New method
[_connectApplication:], use this in [openFile:...] and
[launchApplication:...]. Implemented [openTempFile:].
New method [_workspaceApplication] used to implement
[performFileOperation:...] and [selectFile:inFileViewerRootedAtPath:].
* Source/NSApplication.m
[finishLaunching] and [terminate:] send workspace notification
with the shared workspace as object.
Sat Dec 1 10:10:58 2001 Nicola Pero <n.pero@mi.flashnet.it>
* GNUmakefile.postamble (gui.make): Depend on configure.
(config.make): Idem.
Sat Dec 1 09:33:39 2001 Nicola Pero <n.pero@mi.flashnet.it>
* GNUmakefile.postamble (after-distclean): Remove gui.make as
well.
(gui.make): New target.
(config.make): New target.
(configure): New target.
Sat Dec 1 09:13:26 2001 Nicola Pero <n.pero@mi.flashnet.it>
* Headers/gnustep/gui/NSButtonCell.h (NSGradientType): Fixed typo
(Bug fix by Jay McCarthy <jay@kenyamountain.com>).
Fri Nov 30 12:58:45 2001 Nicola Pero <nicola@brainstorm.co.uk>
* Source/NSCell.m ([-setStringValue:]): Use NSWarnMLog to warn for
nil string values rather than raising an exception (Suggestion by
richard).
2001-11-28 Adam Fedor <fedor@gnu.org>
* Source/GSServicesManager.m (-rebuildServices): Use userLanguages
method rather than getting NSLanguages default.
* Documentation/gsdoc/DefaultsSummary.gsdoc: New file.
* Documentation/gsdoc/Gui.gsdoc: Include it.
2001-11-27 Adam Fedor <fedor@gnu.org>
* Source/NSClipView.m: Treat _documentView as a convienience
ivar. Don't release/retain or encode it.
(-initWithCoder:): Get _documentView from subview array.
* Source/NSTabView.m (-encodeWithCoder:): Conditionally encode
delegate.
(-initWithCoder:): Don't retain delegate.
2001-11-26 Fred Kiefer <FredKiefer@gmx.de>
* Headers/gnustep/gui/NSWindow.h
Added some new MacOSX methods and ivars to support them.
Changed order of methods.
* Source/NSWindow.m
Implemented new methods.
* Headers/gnustep/gui/NSWindowController.h
Added some new MacOSX methods.
* Headers/gnustep/gui/NSDocumentFrameworkPrivate.h
Removed methods now public.
* Source/NSWindowController.m
Implemented new methods and renamed some old which are now public.
* Source/NSDocument.m
Adopted to name changes of NSWindowController methods.
* Headers/gnustep/gui/NSNibLoading.h
New extension method [pathForNibResource:].
* Source/NSBundleAdditions.m
Extracted new method [pathForNibResource:] for NSWindowController.
* Headers/gnustep/gui/NSWorkspace.h
Added some new MacOSX methods. Changed order of methods. Made
ivars out of some class variables.
* Source/NSWorkspace.m
A lot of cleanup. Implemented the new methods. [openFile:XXX] no
longer show alert panels, as this should be done by the caller.
[launchApplication:XXX] now checks if the application is already running.
2001-11-25 Gregory John Casamento <greg_casamento@yahoo.com>
* Tools/gopen.m made some enhancements to make the gopen tool
behave more like the "open" tool under OPENSTEP/MOSX.
2001-11-24 Fred Kiefer <FredKiefer@gmx.de>
* Headers/gnustep/gui/NSTextView.h
Added protocol NSTextInput to NSTextView. Added some new MacOSX
methods.
* Source/NSTextView.m
Corrected memory management in rulerview methods. Implemented
update ruler. Dummy implementation for new spell checking
methods. Implementation of new drag methods, use these in the
dragging protocol methods. Moved the NSTextInput methods into the
main category. Implemented some of them.
* Source/NSLayoutManager.m
Implemented [rulerMarkersForTextView:...ruler:].
* Headers/gnustep/gui/NSPasteboard.h
Added extension methods for NSURL.
* Source/NSPasteboard.m
Implemented extension methods for NSURL.
* Headers/gnustep/gui/NSView.h
Added some new MacOSX methods. Changed order of methods.
* Source/NSView.m
Implemented those new methods. Call new methods from the subview
handling methods.
2001-11-23 Fred Kiefer <FredKiefer@gmx.de>
* Headers/gnustep/gui/NSTableView.h
* Source/NSTableView.m
Added some additional MacOSX methods.
* Headers/gnustep/gui/NSTextField.h
* Source/NSTextField.m
Added and implemented some methods for the handling of richt text.
* Source/extern.m
Added notifications from NSTextStorage
* Headers/gnustep/gui/NSTextStorage.h
* Source/NSTextStorage.m
Added some new methods that allow for lazy fixing of attributes in
subclasses.
* Source/NSTextView.m
Added code to rulerview delegate methods.
Thu Nov 22 00:58:12 2001 Nicola Pero <n.pero@mi.flashnet.it>
* GNUmakefile (CVS_MODULE_NAME): Define.
2001-11-21 Laurent Julliard <laurent@julliard-online.org>
* Source/NSBrowser.m (-initWithCoder:): colCount and _firstVisible
Column must always be decoded. Bug fixed (thanks to Adam Fedor)
2001-11-20 Laurent Julliard <laurent@julliard-online.org>
* Source/NSComboBoxCell.m (-setNumberOfVisibleItems): max number
of items tested on wrong variable. Corrected
2001-11-19 Adam Fedor <fedor@gnu.org>
* Headers/gnustep/gui/NSGraphicsContext.h: Add usedFonts ivar.
New methods for caching used fonts.
* Source/NSGraphicsContect.m (-useFont): Moved from NSFont.
(-resetUsedFonts, -usedFonts): Likewise.
* Source/NSFont.m (+useFont:): Use them.
* Source/NSView.m (-endDocument): Likewise.
* Model/GMArchiver.m (-decodeSelectorWithName:): Use correct 0 value.
2001-11-18 Gregory John Casamento <greg_casamento@yahoo.com>
* Tools/gopen.m: added a tool which works like the OPENSTEP 4.2/Mach
"open" command to the tools directory.
2001-11-15 Laurent Julliard <laurent@julliard-online.org>
* Source/NSBrowser.m: NSBrowser encoder and decoder added
2001-11-12 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSFontManager.m
Reorganised the handling of the font enumerator. New
[_includeFont:] is only called from here. Corrected
[availableMembersOfFontFamily:] and [fontNamed:hasTraits:].
* Headers/gnustep/gui/GSFontInfo.h:
Adopted GSFontEnumerator to changes on NSFontManager.
* Source/GSFontInfo.m:
Changed GSFontEnumerator so that only [enumerateFontsAndFamilies]
must be subclassed.
2001-11-11 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSTabView.m
In [selectTabViewItem:] corrected setting the first responder of
the tab view.
2001-11-09 Adam Fedor <fedor@gnu.org>
* Source/NSView.m (-addSubview:): Raise exception on adding nil
subview or superview of view.
(-addSubview:positioned:relativeTo:): Likewise.
(-beginDocument): Change NSLog to exception.
Thu Nov 8 23:30:47 2001 Nicola Pero <n.pero@mi.flashnet.it>
* Source/NSMatrix.m ([-sizeToFit]): Reverted last change.
* Source/NSBrowser.m ([-_performLoadOfColumn:]): Do not call
sizeToFit on the matrix, just set the cellSize to the result of
calling -cellSize on the first browsercell in the matrix.
2001-11-08 Adam Fedor <fedor@gnu.org>
* Simple printing/pagination implementation
* Headers/gnustep/gui/NSGraphicsContext.h: Add some constants
* Source/NSFont.m (+useFont:): Same font name in static NSSet
(+resetUsedFonts): Implement
(+usedFonts): Likewise.
* Source/NSGraphicsContext.m (+defaultContextWithInfo:) Depreciated,
calls +graphicsContextWithAttributes:.
(+graphicsContextWithAttributes:): Creates default context class.
(+useFont:): Removed.
* Source/NSPrintInfo.m (-setOrienatation:) Set paper size accordingly.
(-setPaperName:): Likewise.
(-setPaperSize:): Set orientation.
(+initPrintInfoDefaults): Rewrite.
* Source/NSPrintOperation.m (-_setupPrintInfo): New private.
(-_printPaginateWithInfo:knowsRange:): Likewise.
(-_rectForPage:info:): Likewise.
(-_adjustPagesFirst:last:info:): Likewise.
(-_print): Rewrite for pagination, printing.
([NSView -_displayPageInRect:atPlacement:withInfo:]): New private.
([NSView -_endSheet): Likewise.
* Source/NSPrintPanel.m: Fix layout settings.
* Source/NSView.m (-printJobTitle): Implement.
(-locationOfPrintRect:, beginPage:label:bBox:fonts:,
beginPageSetupRect:placement:, beginPrologueBBox:..., beginSetup,
beginTrailer, endHeaderComments, endPrologue, endSetup, endPage,
endTrailer, beginDocument, beginPageInRect:atPlacement:, endDocument):
Likewise.
2001-11-08 Laurent Julliard <laurent@julliard-online.org>
* Headers/gnustep/gui/NSGraphics.h
* Source/Functions.m
* Source/NSImageCell.m:
NSDrawFramePhoto added. Needed by the ImageView inspector in Gorm
2001-11-06 Pierre-Yves Rivaille <pyrivail@ens-lyon.fr>
* Source/NSTableView.m ([-sizeToFit]): replaced floorf with floor
suggestion from Stephen Brandon <stephen@brandonitconsulting.co.uk>
2001-11-03 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSMenu.m
In [performActionForItemAtIndex:] select the item of the popup
before sending the action.
* Headers/gnustep/gui/NSSplitView.h
Removed unused ivar _splitCursor. Added some MacOSX methods. Moved
extension methods to separate category.
* Source/NSSplitView.m
Adopted to changes in header. Dummy implementation of new
methods. Changed incudes. In [mouseDown:] also check for new delegate
methods. [_adjustSubviews:] now takes the old size as an argument
to hand it on to delegate. Changed all places that call
this. En-/decode the image instead of the cursor.
* Headers/gnustep/gui/NSTabView.h
Renamed all ivars and added some new MacOSX methods. Added two new
unsupported NSTabViewType values.
* Source/NSTabView.m
Adopted to changes in header. Use [insertTabViewItem:atIndex:] in
[addTabViewItem:]. Corrected [selectNextTabViewItem:] and
[selectPreviousTabViewItem:]. In [selectTabViewItem:] set the
first responder of the tab view. Other small cleanup.
2001-11-03 Fred Kiefer <FredKiefer@gmx.de>
* Headers/gnustep/gui/NSSpellChecker.h
Added [guessesForWord:].
* Source/NSSpellChecker.m
Implement [guessesForWord:] and use it in
[browser:createRowsForColumn:inMatrix:]. Don't create the server
in [init], but check it before each use. Check if ther server
proxy exists before all method calls that return a NSRange.
In [checkSpellingOfString:...wordCount:] don't call
[updateSpellingPanelWithMisspelledWord:]. Beep in this method,
when the string is empty. [_findNext:], [_ignore:] and [_correct:]
now use [[NSApp sendAction:to:from:] instead of explicit responder.
* Source/NSTextView.m
Adopted implemtantion of [checkSpelling:] to changes in
NSSpellChecker. [updateSpellingPanelWithMisspelledWord:] is now
called from here.
|