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
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451
2452
2453
2454
2455
2456
2457
2458
2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
2474
2475
2476
2477
2478
2479
2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492
2493
2494
2495
2496
2497
2498
2499
2500
2501
2502
2503
2504
2505
2506
2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
2528
2529
2530
2531
2532
2533
2534
2535
2536
2537
2538
2539
2540
2541
2542
2543
2544
2545
2546
2547
2548
2549
2550
2551
2552
2553
2554
2555
2556
2557
2558
2559
2560
2561
2562
2563
2564
2565
2566
2567
2568
2569
2570
2571
2572
2573
2574
2575
2576
2577
2578
2579
2580
2581
2582
2583
2584
2585
2586
2587
2588
2589
2590
2591
2592
2593
2594
2595
2596
2597
2598
2599
2600
2601
2602
2603
2604
2605
2606
2607
2608
2609
2610
2611
2612
2613
2614
2615
2616
2617
2618
2619
2620
2621
2622
2623
2624
2625
2626
2627
2628
2629
2630
2631
2632
2633
2634
2635
2636
2637
2638
2639
2640
2641
2642
2643
2644
2645
2646
2647
2648
2649
2650
2651
2652
2653
2654
2655
2656
2657
2658
2659
2660
2661
2662
2663
2664
2665
2666
2667
2668
2669
2670
2671
2672
2673
2674
2675
2676
2677
2678
2679
2680
2681
2682
2683
2684
2685
2686
2687
2688
2689
2690
2691
2692
2693
2694
2695
2696
2697
2698
2699
2700
2701
2702
2703
2704
2705
2706
2707
2708
2709
2710
2711
2712
2713
2714
2715
2716
2717
2718
2719
2720
2721
2722
2723
2724
2725
2726
2727
2728
2729
2730
2731
2732
2733
2734
2735
2736
2737
2738
2739
2740
2741
2742
2743
2744
2745
2746
2747
2748
2749
2750
2751
2752
2753
2754
2755
2756
2757
2758
2759
2760
2761
2762
2763
2764
2765
2766
2767
2768
2769
2770
2771
2772
2773
2774
2775
2776
2777
2778
2779
2780
2781
2782
2783
2784
2785
2786
2787
2788
2789
2790
2791
2792
2793
2794
2795
2796
2797
2798
2799
2800
2801
2802
2803
2804
2805
2806
2807
2808
2809
2810
2811
2812
2813
2814
2815
2816
2817
2818
2819
2820
2821
2822
2823
2824
2825
2826
2827
2828
2829
2830
2831
2832
2833
2834
2835
2836
2837
2838
2839
2840
2841
2842
2843
2844
2845
2846
2847
2848
2849
2850
2851
2852
2853
2854
2855
2856
2857
2858
2859
2860
2861
2862
2863
2864
2865
2866
2867
2868
2869
2870
2871
2872
2873
2874
2875
2876
2877
2878
2879
2880
2881
2882
2883
2884
2885
2886
2887
2888
2889
2890
2891
2892
2893
2894
2895
2896
2897
2898
2899
2900
2901
2902
2903
2904
2905
2906
2907
2908
2909
2910
2911
2912
2913
2914
2915
2916
2917
2918
2919
2920
2921
2922
2923
2924
2925
2926
2927
2928
2929
2930
2931
2932
2933
2934
2935
2936
2937
2938
2939
2940
2941
2942
2943
2944
2945
2946
2947
2948
2949
2950
2951
2952
2953
2954
2955
2956
2957
2958
2959
2960
2961
2962
2963
2964
2965
2966
2967
2968
2969
2970
2971
2972
2973
2974
2975
2976
2977
2978
2979
2980
2981
2982
2983
2984
2985
2986
2987
2988
2989
2990
2991
2992
2993
2994
2995
2996
2997
2998
2999
3000
3001
3002
3003
3004
3005
3006
3007
3008
3009
3010
3011
3012
3013
3014
3015
3016
3017
3018
3019
3020
3021
3022
3023
3024
3025
3026
3027
3028
3029
3030
3031
3032
3033
3034
3035
3036
3037
3038
3039
3040
3041
3042
3043
3044
3045
3046
3047
3048
3049
3050
3051
3052
3053
3054
3055
3056
3057
3058
3059
3060
3061
3062
3063
3064
3065
3066
3067
3068
3069
3070
3071
3072
3073
3074
3075
3076
3077
3078
3079
3080
3081
3082
3083
3084
3085
3086
3087
3088
3089
3090
3091
3092
3093
3094
3095
3096
3097
3098
3099
3100
3101
3102
3103
3104
3105
3106
3107
3108
3109
3110
3111
3112
3113
3114
3115
3116
3117
3118
3119
3120
3121
3122
3123
3124
3125
3126
3127
3128
3129
3130
3131
3132
3133
3134
3135
3136
3137
3138
3139
3140
3141
3142
3143
3144
3145
3146
3147
3148
3149
3150
3151
3152
3153
3154
3155
3156
3157
3158
3159
3160
3161
3162
3163
3164
3165
3166
3167
3168
3169
3170
3171
3172
3173
3174
3175
3176
3177
3178
3179
3180
3181
3182
3183
3184
3185
3186
3187
3188
3189
3190
3191
3192
3193
3194
3195
3196
3197
3198
3199
3200
3201
3202
3203
3204
3205
3206
3207
3208
3209
3210
3211
3212
3213
3214
3215
3216
3217
3218
3219
3220
3221
3222
3223
3224
3225
3226
3227
3228
3229
3230
3231
3232
3233
3234
3235
3236
3237
3238
3239
3240
3241
3242
3243
3244
3245
3246
3247
3248
3249
3250
3251
3252
3253
3254
3255
3256
3257
3258
3259
3260
3261
3262
3263
3264
3265
3266
3267
3268
3269
3270
3271
3272
3273
3274
3275
3276
3277
3278
3279
3280
3281
3282
3283
3284
3285
3286
3287
3288
3289
3290
3291
3292
3293
3294
3295
3296
3297
3298
3299
3300
3301
3302
3303
3304
3305
3306
3307
3308
3309
3310
3311
3312
3313
3314
3315
3316
3317
3318
3319
3320
3321
3322
3323
3324
3325
3326
3327
3328
3329
3330
3331
3332
3333
3334
3335
3336
3337
3338
3339
3340
3341
3342
3343
3344
3345
3346
3347
3348
3349
3350
3351
3352
3353
3354
3355
3356
3357
3358
3359
3360
3361
3362
3363
3364
3365
3366
3367
3368
3369
3370
3371
3372
3373
3374
3375
3376
3377
3378
3379
3380
3381
3382
3383
3384
3385
3386
3387
3388
3389
3390
3391
3392
3393
3394
3395
3396
3397
3398
3399
3400
3401
3402
3403
3404
3405
3406
3407
3408
3409
3410
3411
3412
3413
3414
3415
3416
3417
3418
3419
3420
3421
3422
3423
3424
3425
3426
3427
3428
3429
3430
3431
3432
3433
3434
3435
3436
3437
3438
3439
3440
3441
3442
3443
3444
3445
3446
3447
3448
3449
3450
3451
3452
3453
3454
3455
3456
3457
3458
3459
3460
3461
3462
3463
3464
3465
3466
3467
3468
3469
3470
3471
3472
3473
3474
3475
3476
3477
3478
3479
3480
3481
3482
3483
3484
3485
3486
3487
3488
3489
3490
3491
3492
3493
3494
3495
3496
3497
3498
3499
3500
3501
3502
3503
3504
3505
3506
3507
3508
3509
3510
3511
3512
3513
3514
3515
3516
3517
3518
3519
3520
3521
3522
3523
3524
3525
3526
3527
3528
3529
3530
3531
3532
3533
3534
3535
3536
3537
3538
3539
3540
3541
3542
3543
3544
3545
3546
3547
3548
3549
3550
3551
3552
3553
3554
3555
3556
3557
3558
3559
3560
3561
3562
3563
3564
3565
3566
3567
3568
3569
3570
3571
3572
3573
3574
3575
3576
3577
3578
3579
3580
3581
3582
3583
3584
3585
3586
3587
3588
3589
3590
3591
3592
3593
3594
3595
3596
3597
3598
3599
3600
3601
3602
3603
3604
3605
3606
3607
3608
3609
3610
3611
3612
3613
3614
3615
3616
3617
3618
3619
3620
3621
3622
3623
3624
3625
3626
3627
3628
3629
3630
3631
3632
3633
3634
3635
3636
3637
3638
3639
3640
3641
3642
3643
3644
3645
3646
3647
3648
3649
3650
3651
3652
3653
3654
3655
3656
3657
3658
3659
3660
3661
3662
3663
3664
3665
3666
3667
3668
3669
3670
3671
3672
3673
3674
3675
3676
3677
3678
3679
3680
3681
3682
3683
3684
3685
3686
3687
3688
3689
3690
3691
3692
3693
3694
3695
3696
3697
3698
3699
3700
3701
3702
3703
3704
3705
3706
3707
3708
3709
3710
3711
3712
3713
3714
3715
3716
3717
3718
3719
3720
3721
3722
3723
3724
3725
3726
3727
3728
3729
3730
3731
3732
3733
3734
3735
3736
3737
3738
3739
3740
3741
3742
3743
3744
3745
3746
3747
3748
3749
3750
3751
3752
3753
3754
3755
3756
3757
3758
3759
3760
3761
3762
3763
3764
3765
3766
3767
3768
3769
3770
3771
3772
3773
3774
3775
3776
3777
3778
3779
3780
3781
3782
3783
3784
3785
3786
3787
3788
3789
3790
3791
3792
3793
3794
3795
3796
3797
3798
3799
3800
3801
3802
3803
3804
3805
3806
3807
3808
3809
3810
3811
3812
3813
3814
3815
3816
3817
3818
3819
3820
3821
3822
3823
3824
3825
3826
3827
3828
3829
3830
3831
3832
3833
3834
3835
3836
3837
3838
3839
3840
3841
3842
3843
3844
3845
3846
3847
3848
3849
3850
3851
3852
3853
3854
3855
3856
3857
3858
3859
3860
3861
3862
3863
3864
3865
3866
3867
3868
3869
3870
3871
3872
3873
3874
3875
3876
3877
3878
3879
3880
3881
3882
3883
3884
3885
3886
3887
3888
3889
3890
3891
3892
3893
3894
3895
3896
3897
3898
3899
3900
3901
3902
3903
3904
3905
3906
3907
3908
3909
3910
3911
3912
3913
3914
3915
3916
3917
3918
3919
3920
3921
3922
3923
3924
3925
3926
3927
3928
3929
3930
3931
3932
3933
3934
3935
3936
3937
3938
3939
3940
3941
3942
3943
3944
3945
3946
3947
3948
3949
3950
3951
3952
3953
3954
3955
3956
3957
3958
3959
3960
3961
3962
3963
3964
3965
3966
3967
3968
3969
3970
3971
3972
3973
3974
3975
3976
3977
3978
3979
3980
3981
3982
3983
3984
3985
3986
3987
3988
3989
3990
3991
3992
3993
3994
3995
3996
3997
3998
3999
4000
4001
4002
4003
4004
4005
4006
4007
4008
4009
4010
4011
4012
4013
4014
4015
4016
4017
4018
4019
4020
4021
4022
4023
4024
4025
4026
4027
4028
4029
4030
4031
4032
4033
4034
4035
4036
4037
4038
4039
4040
4041
4042
4043
4044
4045
4046
4047
4048
4049
4050
4051
4052
4053
4054
4055
4056
4057
4058
4059
4060
4061
4062
4063
4064
4065
4066
4067
4068
4069
4070
4071
4072
4073
4074
4075
4076
4077
4078
4079
4080
4081
4082
4083
4084
4085
4086
4087
4088
4089
4090
4091
4092
4093
4094
4095
4096
4097
4098
4099
4100
4101
4102
4103
4104
4105
4106
4107
4108
4109
4110
4111
4112
4113
4114
4115
4116
4117
4118
4119
4120
4121
4122
4123
4124
4125
4126
4127
4128
4129
4130
4131
4132
4133
4134
4135
4136
4137
4138
4139
4140
4141
4142
4143
4144
4145
4146
4147
4148
4149
4150
4151
4152
4153
4154
4155
4156
4157
4158
4159
4160
4161
4162
4163
4164
4165
4166
4167
4168
4169
4170
4171
4172
4173
4174
4175
4176
4177
4178
4179
4180
4181
4182
4183
4184
4185
4186
4187
4188
4189
4190
4191
4192
4193
4194
4195
4196
4197
4198
4199
4200
4201
4202
4203
4204
4205
4206
4207
4208
4209
4210
4211
4212
4213
4214
4215
4216
4217
4218
4219
4220
4221
4222
4223
4224
4225
4226
4227
4228
4229
4230
4231
4232
4233
4234
4235
4236
4237
4238
4239
4240
4241
4242
4243
4244
4245
4246
4247
4248
4249
4250
4251
4252
4253
4254
4255
4256
4257
4258
4259
4260
4261
4262
4263
4264
4265
4266
4267
4268
4269
4270
4271
4272
4273
4274
4275
4276
4277
4278
4279
4280
4281
4282
4283
4284
4285
4286
4287
4288
4289
4290
4291
4292
4293
4294
4295
4296
4297
4298
4299
4300
4301
4302
4303
4304
4305
4306
4307
4308
4309
4310
4311
4312
4313
4314
4315
4316
4317
4318
4319
4320
4321
4322
4323
4324
4325
4326
4327
4328
4329
4330
4331
4332
4333
4334
4335
4336
4337
4338
4339
4340
4341
4342
4343
4344
4345
4346
4347
4348
4349
4350
4351
4352
4353
4354
4355
4356
4357
4358
4359
4360
4361
4362
4363
4364
4365
4366
4367
4368
4369
4370
4371
4372
4373
4374
4375
4376
4377
4378
4379
4380
4381
4382
4383
4384
4385
4386
4387
4388
4389
4390
4391
4392
4393
4394
4395
4396
4397
4398
4399
4400
4401
4402
4403
4404
4405
4406
4407
4408
4409
4410
4411
4412
4413
4414
4415
4416
4417
4418
4419
4420
4421
4422
4423
4424
4425
4426
4427
4428
4429
4430
4431
4432
4433
4434
4435
4436
4437
4438
4439
4440
4441
4442
4443
4444
4445
4446
4447
4448
4449
4450
4451
4452
4453
4454
4455
4456
4457
4458
4459
4460
4461
4462
4463
4464
4465
4466
4467
4468
4469
4470
4471
4472
4473
4474
4475
4476
4477
4478
4479
4480
4481
4482
4483
4484
4485
4486
4487
4488
4489
4490
4491
4492
4493
4494
4495
4496
4497
4498
4499
4500
4501
4502
4503
4504
4505
4506
4507
4508
4509
4510
4511
4512
4513
4514
4515
4516
4517
4518
4519
4520
4521
4522
4523
4524
4525
4526
4527
4528
4529
4530
4531
4532
4533
4534
4535
4536
4537
4538
4539
4540
4541
4542
4543
4544
4545
4546
4547
4548
4549
4550
4551
4552
4553
4554
4555
4556
4557
4558
4559
4560
4561
4562
4563
4564
4565
4566
4567
4568
4569
4570
4571
4572
4573
4574
4575
4576
4577
4578
4579
4580
4581
4582
4583
4584
4585
4586
4587
4588
4589
4590
4591
4592
4593
4594
4595
4596
4597
4598
4599
4600
4601
4602
4603
4604
4605
4606
4607
4608
4609
4610
4611
4612
4613
4614
4615
4616
4617
4618
4619
4620
4621
4622
4623
4624
4625
4626
4627
4628
4629
4630
4631
4632
4633
4634
4635
4636
4637
4638
4639
4640
4641
4642
4643
4644
4645
4646
4647
4648
4649
4650
4651
4652
4653
4654
4655
4656
4657
4658
4659
4660
4661
4662
4663
4664
4665
4666
4667
4668
4669
4670
4671
4672
4673
4674
4675
4676
4677
4678
4679
4680
4681
4682
4683
4684
4685
4686
4687
4688
4689
4690
4691
4692
4693
4694
4695
4696
4697
4698
4699
4700
4701
4702
4703
4704
4705
4706
4707
4708
4709
4710
4711
4712
4713
4714
4715
4716
4717
4718
4719
4720
4721
4722
4723
4724
4725
4726
4727
4728
4729
4730
4731
4732
4733
4734
4735
4736
4737
4738
4739
4740
4741
4742
4743
4744
4745
4746
4747
4748
4749
4750
4751
4752
4753
4754
4755
4756
4757
4758
4759
4760
4761
4762
4763
4764
4765
4766
4767
4768
4769
4770
4771
4772
4773
4774
4775
4776
4777
4778
4779
4780
4781
4782
4783
4784
4785
4786
4787
4788
4789
4790
4791
4792
4793
4794
4795
4796
4797
4798
4799
4800
4801
4802
4803
4804
4805
4806
4807
4808
4809
4810
4811
4812
4813
4814
4815
4816
4817
4818
4819
4820
4821
4822
4823
4824
4825
4826
4827
4828
4829
4830
4831
4832
4833
4834
4835
4836
4837
4838
4839
4840
4841
4842
4843
4844
4845
4846
4847
4848
4849
4850
4851
4852
4853
4854
4855
4856
4857
4858
4859
4860
4861
4862
4863
4864
4865
4866
4867
4868
4869
4870
4871
4872
4873
4874
4875
4876
4877
4878
4879
4880
4881
4882
4883
4884
4885
4886
4887
4888
4889
4890
4891
4892
4893
4894
4895
4896
4897
4898
4899
4900
4901
4902
4903
4904
4905
4906
4907
4908
4909
4910
4911
4912
4913
4914
4915
4916
4917
4918
4919
4920
4921
4922
4923
4924
4925
4926
4927
4928
4929
4930
4931
4932
4933
4934
4935
4936
4937
4938
4939
4940
4941
4942
4943
4944
4945
4946
4947
4948
4949
4950
4951
4952
4953
4954
4955
4956
4957
4958
4959
4960
4961
4962
4963
4964
4965
4966
4967
4968
4969
4970
4971
4972
4973
4974
4975
4976
4977
4978
4979
4980
4981
4982
4983
4984
4985
4986
4987
4988
4989
4990
4991
4992
4993
4994
4995
4996
4997
4998
4999
5000
5001
5002
5003
5004
5005
5006
5007
5008
5009
5010
5011
5012
5013
5014
5015
5016
5017
5018
5019
5020
5021
5022
5023
5024
5025
5026
5027
5028
5029
5030
5031
5032
5033
5034
5035
5036
5037
5038
5039
5040
5041
5042
5043
5044
5045
5046
5047
5048
5049
5050
5051
5052
5053
5054
5055
5056
5057
5058
5059
5060
5061
5062
5063
5064
5065
5066
5067
5068
5069
5070
5071
5072
5073
5074
5075
5076
5077
5078
5079
5080
5081
5082
5083
5084
5085
5086
5087
5088
5089
5090
5091
5092
5093
5094
5095
5096
5097
5098
5099
5100
5101
5102
5103
5104
5105
5106
5107
5108
5109
5110
5111
5112
5113
5114
5115
5116
5117
5118
5119
5120
5121
5122
5123
5124
5125
5126
5127
5128
5129
5130
5131
5132
5133
5134
5135
5136
5137
5138
5139
5140
5141
5142
5143
5144
5145
5146
5147
5148
5149
5150
5151
5152
5153
5154
5155
5156
5157
5158
5159
5160
5161
5162
5163
5164
5165
5166
5167
5168
5169
5170
5171
5172
5173
5174
5175
5176
5177
5178
5179
5180
5181
5182
5183
5184
5185
5186
5187
5188
5189
5190
5191
5192
5193
5194
5195
5196
5197
5198
5199
5200
5201
5202
5203
5204
5205
5206
5207
5208
5209
5210
5211
5212
5213
5214
5215
5216
5217
5218
5219
5220
5221
5222
5223
5224
5225
5226
5227
5228
5229
5230
5231
5232
5233
5234
5235
5236
5237
5238
5239
5240
5241
5242
5243
5244
5245
5246
5247
5248
5249
5250
5251
5252
5253
5254
5255
5256
5257
5258
5259
5260
5261
5262
5263
5264
5265
5266
5267
5268
5269
5270
5271
5272
5273
5274
5275
5276
5277
5278
5279
5280
5281
5282
5283
5284
5285
5286
5287
5288
5289
5290
5291
5292
5293
5294
5295
5296
5297
5298
5299
5300
5301
5302
5303
5304
5305
5306
5307
5308
5309
5310
5311
5312
5313
5314
5315
5316
5317
5318
5319
5320
5321
5322
5323
5324
5325
5326
5327
5328
5329
5330
5331
5332
5333
5334
5335
5336
5337
5338
5339
5340
5341
5342
5343
5344
5345
5346
5347
5348
5349
5350
5351
5352
5353
5354
5355
5356
5357
5358
5359
5360
5361
5362
5363
5364
5365
5366
5367
5368
5369
5370
5371
5372
5373
5374
5375
5376
5377
5378
5379
5380
5381
5382
5383
5384
5385
5386
5387
5388
5389
5390
5391
5392
5393
5394
5395
5396
5397
5398
5399
5400
5401
5402
5403
5404
5405
5406
5407
5408
5409
5410
5411
5412
5413
5414
5415
5416
5417
5418
5419
5420
5421
5422
5423
5424
5425
5426
5427
5428
5429
5430
5431
5432
5433
5434
5435
5436
5437
5438
5439
5440
5441
5442
5443
5444
5445
5446
5447
5448
5449
5450
5451
5452
5453
5454
5455
5456
5457
5458
5459
5460
5461
5462
5463
5464
5465
5466
5467
5468
5469
5470
5471
5472
5473
5474
5475
5476
5477
5478
5479
5480
5481
5482
5483
5484
5485
5486
5487
5488
5489
5490
5491
5492
5493
5494
5495
5496
5497
5498
5499
5500
5501
5502
5503
5504
5505
5506
5507
5508
5509
5510
5511
5512
5513
5514
5515
5516
5517
5518
5519
5520
5521
5522
5523
5524
5525
5526
5527
5528
5529
5530
5531
5532
5533
5534
5535
5536
5537
5538
5539
5540
5541
5542
5543
5544
5545
5546
5547
5548
5549
5550
5551
5552
5553
5554
5555
5556
5557
5558
5559
5560
5561
5562
5563
5564
5565
5566
5567
5568
5569
5570
5571
5572
5573
5574
5575
5576
5577
5578
5579
5580
5581
5582
5583
5584
5585
5586
5587
5588
5589
5590
5591
5592
5593
5594
5595
5596
5597
5598
5599
5600
5601
5602
5603
5604
5605
5606
5607
5608
5609
5610
5611
5612
5613
5614
5615
5616
5617
5618
5619
5620
5621
5622
5623
5624
5625
5626
5627
5628
5629
5630
5631
5632
5633
5634
5635
5636
5637
5638
5639
5640
5641
5642
5643
5644
5645
5646
5647
5648
5649
5650
5651
5652
5653
5654
5655
5656
5657
5658
5659
5660
5661
5662
5663
5664
5665
5666
5667
5668
5669
5670
5671
5672
5673
5674
5675
5676
5677
5678
5679
5680
5681
5682
5683
5684
5685
5686
5687
5688
5689
5690
5691
5692
5693
5694
5695
5696
5697
5698
5699
5700
5701
5702
5703
5704
5705
5706
5707
5708
5709
5710
5711
5712
5713
5714
5715
5716
5717
5718
5719
5720
5721
5722
5723
5724
5725
5726
5727
5728
5729
5730
5731
5732
5733
5734
5735
5736
5737
5738
5739
5740
5741
5742
5743
5744
5745
5746
5747
5748
5749
5750
5751
5752
5753
5754
5755
5756
5757
5758
5759
5760
5761
5762
5763
5764
5765
5766
5767
5768
5769
5770
5771
5772
5773
5774
5775
5776
5777
5778
5779
5780
5781
5782
5783
5784
5785
5786
5787
5788
5789
5790
5791
5792
5793
5794
5795
5796
5797
5798
5799
5800
5801
5802
5803
5804
5805
5806
5807
5808
5809
5810
5811
5812
5813
5814
5815
5816
5817
5818
5819
5820
5821
5822
5823
5824
5825
5826
5827
5828
5829
5830
5831
5832
5833
5834
5835
5836
5837
5838
5839
5840
5841
5842
5843
5844
5845
5846
5847
5848
5849
5850
5851
5852
5853
5854
5855
5856
5857
5858
5859
5860
5861
5862
5863
5864
5865
5866
5867
5868
5869
5870
5871
5872
5873
5874
5875
5876
5877
5878
5879
5880
5881
5882
5883
5884
5885
5886
5887
5888
5889
5890
5891
5892
5893
5894
5895
5896
5897
5898
5899
5900
5901
5902
5903
5904
5905
5906
5907
5908
5909
5910
5911
5912
5913
5914
5915
5916
5917
5918
5919
5920
5921
5922
5923
5924
5925
5926
5927
5928
5929
5930
5931
5932
5933
5934
5935
5936
5937
5938
5939
5940
5941
5942
5943
5944
5945
5946
5947
5948
5949
5950
5951
5952
5953
5954
5955
5956
5957
5958
5959
5960
5961
5962
5963
5964
5965
5966
5967
5968
5969
5970
5971
5972
5973
5974
5975
5976
5977
5978
5979
5980
5981
5982
5983
5984
5985
5986
5987
5988
5989
5990
5991
5992
5993
5994
5995
5996
5997
5998
5999
6000
6001
6002
6003
6004
6005
6006
6007
6008
6009
6010
6011
6012
6013
6014
6015
6016
6017
6018
6019
6020
6021
6022
6023
6024
6025
6026
6027
6028
6029
6030
6031
6032
6033
6034
6035
6036
6037
6038
6039
6040
6041
6042
6043
6044
6045
6046
6047
6048
6049
6050
6051
6052
6053
6054
6055
6056
6057
6058
6059
6060
6061
6062
6063
6064
6065
6066
6067
6068
6069
6070
6071
6072
6073
6074
6075
6076
6077
6078
6079
6080
6081
6082
6083
6084
6085
6086
6087
6088
6089
6090
6091
6092
6093
6094
6095
6096
6097
6098
6099
6100
6101
6102
6103
6104
6105
6106
6107
6108
6109
6110
6111
6112
6113
6114
6115
6116
6117
6118
6119
6120
6121
6122
6123
6124
6125
6126
6127
6128
6129
6130
6131
6132
6133
6134
6135
6136
6137
6138
6139
6140
6141
6142
6143
6144
6145
6146
6147
6148
6149
6150
6151
6152
6153
6154
6155
6156
6157
6158
6159
6160
6161
6162
6163
6164
6165
6166
6167
6168
6169
6170
6171
6172
6173
6174
6175
6176
6177
6178
6179
6180
6181
6182
6183
6184
6185
6186
6187
6188
6189
6190
6191
6192
6193
6194
6195
6196
6197
6198
6199
6200
6201
6202
6203
6204
6205
6206
6207
6208
6209
6210
6211
6212
6213
6214
6215
6216
6217
6218
6219
6220
6221
6222
6223
6224
6225
6226
6227
6228
6229
6230
6231
6232
6233
6234
6235
6236
6237
6238
6239
6240
6241
6242
6243
6244
6245
6246
6247
6248
6249
6250
6251
6252
6253
6254
6255
6256
6257
6258
6259
6260
6261
6262
6263
6264
6265
6266
6267
6268
6269
6270
6271
6272
6273
6274
6275
6276
6277
6278
6279
6280
6281
6282
6283
6284
6285
6286
6287
6288
6289
6290
6291
6292
6293
6294
6295
6296
6297
6298
6299
6300
6301
6302
6303
6304
6305
6306
6307
6308
6309
6310
6311
6312
6313
6314
6315
6316
6317
6318
6319
6320
6321
6322
6323
6324
6325
6326
6327
6328
6329
6330
6331
6332
6333
6334
6335
6336
6337
6338
6339
6340
6341
6342
6343
6344
6345
6346
6347
6348
6349
6350
6351
6352
6353
6354
6355
6356
6357
6358
6359
6360
6361
6362
6363
6364
6365
6366
6367
6368
6369
6370
6371
6372
6373
6374
6375
6376
6377
6378
6379
6380
6381
6382
6383
6384
6385
6386
6387
6388
6389
6390
6391
6392
6393
6394
6395
6396
6397
6398
6399
6400
6401
6402
6403
6404
6405
6406
6407
6408
6409
6410
6411
6412
6413
6414
6415
6416
6417
6418
6419
6420
6421
6422
6423
6424
6425
6426
6427
6428
6429
6430
6431
6432
6433
6434
6435
6436
6437
6438
6439
6440
6441
6442
6443
6444
6445
6446
6447
6448
6449
6450
6451
6452
6453
6454
6455
6456
6457
6458
6459
6460
6461
6462
6463
6464
6465
6466
6467
6468
6469
6470
6471
6472
6473
6474
6475
6476
6477
6478
6479
6480
6481
6482
6483
6484
6485
6486
6487
6488
6489
6490
6491
6492
6493
6494
6495
6496
6497
6498
6499
6500
6501
6502
6503
6504
6505
6506
6507
6508
6509
6510
6511
6512
6513
6514
6515
6516
6517
6518
6519
6520
6521
6522
6523
6524
6525
6526
6527
6528
6529
6530
6531
6532
6533
6534
6535
6536
6537
6538
6539
6540
6541
6542
6543
6544
6545
6546
6547
6548
6549
6550
6551
6552
6553
6554
6555
6556
6557
6558
6559
6560
6561
6562
6563
6564
6565
6566
6567
6568
6569
6570
6571
6572
6573
6574
6575
6576
6577
6578
6579
6580
6581
6582
6583
6584
6585
6586
6587
6588
6589
6590
6591
6592
6593
6594
6595
6596
6597
6598
6599
6600
6601
6602
6603
6604
6605
6606
6607
6608
6609
6610
6611
6612
6613
6614
6615
6616
6617
6618
6619
6620
6621
6622
6623
6624
6625
6626
6627
6628
6629
6630
6631
6632
6633
6634
6635
6636
6637
6638
6639
6640
6641
6642
6643
6644
6645
6646
6647
6648
6649
6650
6651
6652
6653
6654
6655
6656
6657
6658
6659
6660
6661
6662
6663
6664
6665
6666
6667
6668
6669
6670
6671
6672
6673
6674
6675
6676
6677
6678
6679
6680
6681
6682
6683
6684
6685
6686
6687
6688
6689
6690
6691
6692
6693
6694
6695
6696
6697
6698
6699
6700
6701
6702
6703
6704
6705
6706
6707
6708
6709
6710
6711
6712
6713
6714
6715
6716
6717
6718
6719
6720
6721
6722
6723
6724
6725
6726
6727
6728
6729
6730
6731
6732
6733
6734
6735
6736
6737
6738
6739
6740
6741
6742
6743
6744
6745
6746
6747
6748
6749
6750
6751
6752
6753
6754
6755
6756
6757
6758
6759
6760
6761
6762
6763
6764
6765
6766
6767
6768
6769
6770
6771
6772
6773
6774
6775
6776
6777
6778
6779
6780
6781
6782
6783
6784
6785
6786
6787
6788
6789
6790
6791
6792
6793
6794
6795
6796
6797
6798
6799
6800
6801
6802
6803
6804
6805
6806
6807
6808
6809
6810
6811
6812
6813
6814
6815
6816
6817
6818
6819
6820
6821
6822
6823
6824
6825
6826
6827
6828
6829
6830
6831
6832
6833
6834
6835
6836
6837
6838
6839
6840
6841
6842
6843
6844
6845
6846
6847
6848
6849
6850
6851
6852
6853
6854
6855
6856
6857
6858
6859
6860
6861
6862
6863
6864
6865
6866
6867
6868
6869
6870
6871
6872
6873
6874
6875
6876
6877
6878
6879
6880
6881
6882
6883
6884
6885
6886
6887
6888
6889
6890
6891
6892
6893
6894
6895
6896
6897
6898
6899
6900
6901
6902
6903
6904
6905
6906
6907
6908
6909
6910
6911
6912
6913
6914
6915
6916
6917
6918
6919
6920
6921
6922
6923
6924
6925
6926
6927
6928
6929
6930
6931
6932
6933
6934
6935
6936
6937
6938
6939
6940
6941
6942
6943
6944
6945
6946
6947
6948
6949
6950
6951
6952
6953
6954
6955
6956
6957
6958
6959
6960
6961
6962
6963
6964
6965
6966
6967
6968
6969
6970
6971
6972
6973
6974
6975
6976
6977
6978
6979
6980
6981
6982
6983
6984
6985
6986
6987
6988
6989
6990
6991
6992
6993
6994
6995
6996
6997
6998
6999
7000
7001
7002
7003
7004
7005
7006
7007
7008
7009
7010
7011
7012
7013
7014
7015
7016
7017
7018
7019
7020
7021
7022
7023
7024
7025
7026
7027
7028
7029
7030
7031
7032
7033
7034
7035
7036
7037
7038
7039
7040
7041
7042
7043
7044
7045
7046
7047
7048
7049
7050
7051
7052
7053
7054
7055
7056
7057
7058
7059
7060
7061
7062
7063
7064
7065
7066
7067
7068
7069
7070
7071
7072
7073
7074
7075
7076
7077
7078
7079
7080
7081
7082
7083
7084
7085
7086
7087
7088
7089
7090
7091
7092
7093
7094
7095
7096
7097
7098
7099
7100
7101
7102
7103
7104
7105
7106
7107
7108
7109
7110
7111
7112
7113
7114
7115
7116
7117
7118
7119
7120
7121
7122
7123
7124
7125
7126
7127
7128
7129
7130
7131
7132
7133
7134
7135
7136
7137
7138
7139
7140
7141
7142
7143
7144
7145
7146
7147
7148
7149
7150
7151
7152
7153
7154
7155
7156
7157
7158
7159
7160
7161
7162
7163
7164
7165
7166
7167
7168
7169
7170
7171
7172
7173
7174
7175
7176
7177
7178
7179
7180
7181
7182
7183
7184
7185
7186
7187
7188
7189
7190
7191
7192
7193
7194
7195
7196
7197
7198
7199
7200
7201
7202
7203
7204
7205
7206
7207
7208
7209
7210
7211
7212
7213
7214
7215
7216
7217
7218
7219
7220
7221
7222
7223
7224
7225
7226
7227
7228
7229
7230
7231
7232
7233
7234
7235
7236
7237
7238
7239
7240
7241
7242
7243
7244
7245
7246
7247
7248
7249
7250
7251
7252
7253
7254
7255
7256
7257
7258
7259
7260
7261
7262
7263
7264
7265
7266
7267
7268
7269
7270
7271
7272
7273
7274
7275
7276
7277
7278
7279
7280
7281
7282
7283
7284
7285
7286
7287
7288
7289
7290
7291
7292
7293
7294
7295
7296
7297
7298
7299
7300
7301
7302
7303
7304
7305
7306
7307
7308
7309
7310
7311
7312
7313
7314
7315
7316
7317
7318
7319
7320
7321
7322
7323
7324
7325
7326
7327
7328
7329
7330
7331
7332
7333
7334
7335
7336
7337
7338
7339
7340
7341
7342
7343
7344
7345
7346
7347
7348
7349
7350
7351
7352
7353
7354
7355
7356
7357
7358
7359
7360
7361
7362
7363
7364
7365
7366
7367
7368
7369
7370
7371
7372
7373
7374
7375
7376
7377
7378
7379
7380
7381
7382
7383
7384
7385
7386
7387
7388
7389
7390
7391
7392
7393
7394
7395
7396
7397
7398
7399
7400
7401
7402
7403
7404
7405
7406
7407
7408
7409
7410
7411
7412
7413
7414
7415
7416
7417
7418
7419
7420
7421
7422
7423
7424
7425
7426
7427
7428
7429
7430
7431
7432
7433
7434
7435
7436
7437
7438
7439
7440
7441
7442
7443
7444
7445
7446
7447
7448
7449
7450
7451
7452
7453
7454
7455
7456
7457
7458
7459
7460
7461
7462
7463
7464
7465
7466
7467
7468
7469
7470
7471
7472
7473
7474
7475
7476
7477
7478
7479
7480
7481
7482
7483
7484
7485
7486
7487
7488
7489
7490
7491
7492
7493
7494
7495
7496
7497
7498
7499
7500
7501
7502
7503
7504
7505
7506
7507
7508
7509
7510
7511
7512
7513
7514
7515
7516
7517
7518
7519
7520
7521
7522
7523
7524
7525
7526
7527
7528
7529
7530
7531
7532
7533
7534
7535
7536
7537
7538
7539
7540
7541
7542
7543
7544
7545
7546
7547
7548
7549
7550
7551
7552
7553
7554
7555
7556
7557
7558
7559
7560
7561
7562
7563
7564
7565
7566
7567
7568
7569
7570
7571
7572
7573
7574
7575
7576
7577
7578
7579
7580
7581
7582
7583
7584
7585
7586
7587
7588
7589
7590
7591
7592
7593
7594
7595
7596
7597
7598
7599
7600
7601
7602
7603
7604
7605
7606
7607
7608
7609
7610
7611
7612
7613
7614
7615
7616
7617
7618
7619
7620
7621
7622
7623
7624
7625
7626
7627
7628
7629
7630
7631
7632
7633
7634
7635
7636
7637
7638
7639
7640
7641
7642
7643
7644
7645
7646
7647
7648
7649
7650
7651
7652
7653
7654
7655
7656
7657
7658
7659
7660
7661
7662
7663
7664
7665
7666
7667
7668
7669
7670
7671
7672
7673
7674
7675
7676
7677
7678
7679
7680
7681
7682
7683
7684
7685
7686
7687
7688
7689
7690
7691
7692
7693
7694
7695
7696
7697
7698
7699
7700
7701
7702
7703
7704
7705
7706
7707
7708
7709
7710
7711
7712
7713
7714
7715
7716
7717
7718
7719
7720
7721
7722
7723
7724
7725
7726
7727
7728
7729
7730
7731
7732
7733
7734
7735
7736
7737
7738
7739
7740
7741
7742
7743
7744
7745
7746
7747
7748
7749
7750
7751
7752
7753
7754
7755
7756
7757
7758
7759
7760
7761
7762
7763
7764
7765
7766
7767
7768
7769
7770
7771
7772
7773
7774
7775
7776
7777
7778
7779
7780
7781
7782
7783
7784
7785
7786
7787
7788
7789
7790
7791
7792
7793
7794
7795
7796
7797
7798
7799
7800
7801
7802
7803
7804
7805
7806
7807
7808
7809
7810
7811
7812
7813
7814
7815
7816
7817
7818
7819
7820
7821
7822
7823
7824
7825
7826
7827
7828
7829
7830
7831
7832
7833
7834
7835
7836
7837
7838
7839
7840
7841
7842
7843
7844
7845
7846
7847
7848
7849
7850
7851
7852
7853
7854
7855
7856
7857
7858
7859
7860
7861
7862
7863
7864
7865
7866
7867
7868
7869
7870
7871
7872
7873
7874
7875
7876
7877
7878
7879
7880
7881
7882
7883
7884
7885
7886
7887
7888
7889
7890
7891
7892
7893
7894
7895
7896
7897
7898
7899
7900
7901
7902
7903
7904
7905
7906
7907
7908
7909
7910
7911
7912
7913
7914
7915
7916
7917
7918
7919
7920
7921
7922
7923
7924
7925
7926
7927
7928
7929
7930
7931
7932
7933
7934
7935
7936
7937
7938
7939
7940
7941
7942
7943
7944
7945
7946
7947
7948
7949
7950
7951
7952
7953
7954
7955
7956
7957
7958
7959
7960
7961
7962
7963
7964
7965
7966
7967
7968
7969
7970
7971
7972
7973
7974
7975
7976
7977
7978
7979
7980
7981
7982
7983
7984
7985
7986
7987
7988
7989
7990
7991
7992
7993
7994
7995
7996
7997
7998
7999
8000
8001
8002
8003
8004
8005
8006
8007
8008
8009
8010
8011
8012
8013
8014
8015
8016
8017
8018
8019
8020
8021
8022
8023
8024
8025
8026
8027
8028
8029
8030
8031
8032
8033
8034
8035
8036
8037
8038
8039
8040
8041
8042
8043
8044
8045
8046
8047
8048
8049
8050
8051
8052
8053
8054
8055
8056
8057
8058
8059
8060
8061
8062
8063
8064
8065
8066
8067
8068
8069
8070
8071
8072
8073
8074
8075
8076
8077
8078
8079
8080
8081
8082
8083
8084
8085
8086
8087
8088
8089
8090
8091
8092
8093
8094
8095
8096
8097
8098
8099
8100
8101
8102
8103
8104
8105
8106
8107
8108
8109
8110
8111
8112
8113
8114
8115
8116
8117
8118
8119
8120
8121
8122
8123
8124
8125
8126
8127
8128
8129
8130
8131
8132
8133
8134
8135
8136
8137
8138
8139
8140
8141
8142
8143
8144
8145
8146
8147
8148
8149
8150
8151
8152
8153
8154
8155
8156
8157
8158
8159
8160
8161
8162
8163
8164
8165
8166
8167
8168
8169
8170
8171
8172
8173
8174
8175
8176
8177
8178
8179
8180
8181
8182
8183
8184
8185
8186
8187
8188
8189
8190
8191
8192
8193
8194
8195
8196
8197
8198
8199
8200
8201
8202
8203
8204
8205
8206
8207
8208
8209
8210
8211
8212
8213
8214
8215
8216
8217
8218
8219
8220
8221
8222
8223
8224
8225
8226
8227
8228
8229
8230
8231
8232
8233
8234
8235
8236
8237
8238
8239
8240
8241
8242
8243
8244
8245
8246
8247
8248
8249
8250
8251
8252
8253
8254
8255
8256
8257
8258
8259
8260
8261
8262
8263
8264
8265
8266
8267
8268
8269
8270
8271
8272
8273
8274
8275
8276
8277
8278
8279
8280
8281
8282
8283
8284
8285
8286
8287
8288
8289
8290
8291
8292
8293
8294
8295
8296
8297
8298
8299
8300
8301
8302
8303
8304
8305
8306
8307
8308
8309
8310
8311
8312
8313
8314
8315
8316
8317
8318
8319
8320
8321
8322
8323
8324
8325
8326
8327
8328
8329
8330
8331
8332
8333
8334
8335
8336
8337
8338
8339
8340
8341
8342
8343
8344
8345
8346
8347
8348
8349
8350
8351
8352
8353
8354
8355
8356
8357
8358
8359
8360
8361
8362
8363
8364
8365
8366
8367
8368
8369
8370
8371
8372
8373
8374
8375
8376
8377
8378
8379
8380
8381
8382
8383
8384
8385
8386
8387
8388
8389
8390
8391
8392
8393
8394
8395
8396
8397
8398
8399
8400
8401
8402
8403
8404
8405
8406
8407
8408
8409
8410
8411
8412
8413
8414
8415
8416
8417
8418
8419
8420
8421
8422
8423
8424
8425
8426
8427
8428
8429
8430
8431
8432
8433
8434
8435
8436
8437
8438
8439
8440
8441
8442
8443
8444
8445
8446
8447
8448
8449
8450
8451
8452
8453
8454
8455
8456
8457
8458
8459
8460
8461
8462
8463
8464
8465
8466
8467
8468
8469
8470
8471
8472
8473
8474
8475
8476
8477
8478
8479
8480
8481
8482
8483
8484
8485
8486
8487
8488
8489
8490
8491
8492
8493
8494
8495
8496
8497
8498
8499
8500
8501
8502
8503
8504
8505
8506
8507
8508
8509
8510
8511
8512
8513
8514
8515
8516
8517
8518
8519
8520
8521
8522
8523
8524
8525
8526
8527
8528
8529
8530
8531
8532
8533
8534
8535
8536
8537
8538
8539
8540
8541
8542
8543
8544
8545
8546
8547
8548
8549
8550
8551
8552
8553
8554
8555
8556
8557
8558
8559
8560
8561
8562
8563
8564
8565
8566
8567
8568
8569
8570
8571
8572
8573
8574
8575
8576
8577
8578
8579
8580
8581
8582
8583
8584
8585
8586
8587
8588
8589
8590
8591
8592
8593
8594
8595
8596
8597
8598
8599
8600
8601
8602
8603
8604
8605
8606
8607
8608
8609
8610
8611
8612
8613
8614
8615
8616
8617
8618
8619
8620
8621
8622
8623
8624
8625
8626
8627
8628
8629
8630
8631
8632
8633
8634
8635
8636
8637
8638
8639
8640
8641
8642
8643
8644
8645
8646
8647
8648
8649
8650
8651
8652
8653
8654
8655
8656
8657
8658
8659
8660
8661
8662
8663
8664
8665
8666
8667
8668
8669
8670
8671
8672
8673
8674
8675
8676
8677
8678
8679
8680
8681
8682
8683
8684
8685
8686
8687
8688
8689
8690
8691
8692
8693
8694
8695
8696
8697
8698
8699
8700
8701
8702
8703
8704
8705
8706
8707
8708
8709
8710
8711
8712
8713
8714
8715
8716
8717
8718
8719
8720
8721
8722
8723
8724
8725
8726
8727
8728
8729
8730
8731
8732
8733
8734
8735
8736
8737
8738
8739
8740
8741
8742
8743
8744
8745
8746
8747
8748
8749
8750
8751
8752
8753
8754
8755
8756
8757
8758
8759
8760
8761
8762
8763
8764
8765
8766
8767
8768
8769
8770
8771
8772
8773
8774
8775
8776
8777
8778
8779
8780
8781
8782
8783
8784
8785
8786
8787
8788
8789
8790
8791
8792
8793
8794
8795
8796
8797
8798
8799
8800
8801
8802
8803
8804
8805
8806
8807
8808
8809
8810
8811
8812
8813
8814
8815
8816
8817
8818
8819
8820
8821
8822
8823
8824
8825
8826
8827
8828
8829
8830
8831
8832
8833
8834
8835
8836
8837
8838
8839
8840
8841
8842
8843
8844
8845
8846
8847
8848
8849
8850
8851
8852
8853
8854
8855
8856
8857
8858
8859
8860
8861
8862
8863
8864
8865
8866
8867
8868
8869
8870
8871
8872
8873
8874
8875
8876
8877
8878
8879
8880
8881
8882
8883
8884
8885
8886
8887
8888
8889
8890
8891
8892
8893
8894
8895
8896
8897
8898
8899
8900
8901
8902
8903
8904
8905
8906
8907
8908
8909
8910
8911
8912
8913
8914
8915
8916
8917
8918
8919
8920
8921
8922
8923
8924
8925
8926
8927
8928
8929
8930
8931
8932
8933
8934
8935
8936
8937
8938
8939
8940
8941
8942
8943
8944
8945
8946
8947
8948
8949
8950
8951
8952
8953
8954
8955
8956
8957
8958
8959
8960
8961
8962
8963
8964
8965
8966
8967
8968
8969
8970
8971
8972
8973
8974
8975
8976
8977
8978
8979
8980
8981
8982
8983
8984
8985
8986
8987
8988
8989
8990
8991
8992
8993
8994
8995
8996
8997
8998
8999
9000
9001
9002
9003
9004
9005
9006
9007
9008
9009
9010
9011
9012
9013
9014
9015
9016
9017
9018
9019
9020
9021
9022
9023
9024
9025
9026
9027
9028
9029
9030
9031
9032
9033
9034
9035
9036
9037
9038
9039
9040
9041
9042
9043
9044
9045
9046
9047
9048
9049
9050
9051
9052
9053
9054
9055
9056
9057
9058
9059
9060
9061
9062
9063
9064
9065
9066
9067
9068
9069
9070
9071
9072
9073
9074
9075
9076
9077
9078
9079
9080
9081
9082
9083
9084
9085
9086
9087
9088
9089
9090
9091
9092
9093
9094
9095
9096
9097
9098
9099
9100
9101
9102
9103
9104
9105
9106
9107
9108
9109
9110
9111
9112
9113
9114
9115
9116
9117
9118
9119
9120
9121
9122
9123
9124
9125
9126
9127
9128
9129
9130
9131
9132
9133
9134
9135
9136
9137
9138
9139
9140
9141
9142
9143
9144
9145
9146
9147
9148
9149
9150
9151
9152
9153
9154
9155
9156
9157
9158
9159
9160
9161
9162
9163
9164
9165
9166
9167
9168
9169
9170
9171
9172
9173
9174
9175
9176
9177
9178
9179
9180
9181
9182
9183
9184
9185
9186
9187
9188
9189
9190
9191
9192
9193
9194
9195
9196
9197
9198
9199
9200
9201
9202
9203
9204
9205
9206
9207
9208
9209
9210
9211
9212
9213
9214
9215
9216
9217
9218
9219
9220
9221
9222
9223
9224
9225
9226
9227
9228
9229
9230
9231
9232
9233
9234
9235
9236
9237
9238
9239
9240
9241
9242
9243
9244
9245
9246
9247
9248
9249
9250
9251
9252
9253
9254
9255
9256
9257
9258
9259
9260
9261
9262
9263
9264
9265
9266
9267
9268
9269
9270
9271
9272
9273
9274
9275
9276
9277
9278
9279
9280
9281
9282
9283
9284
9285
9286
9287
9288
9289
9290
9291
9292
9293
9294
9295
9296
9297
9298
9299
9300
9301
9302
9303
9304
9305
9306
9307
9308
9309
9310
9311
9312
9313
9314
9315
9316
9317
9318
9319
9320
9321
9322
9323
9324
9325
9326
9327
9328
9329
9330
9331
9332
9333
9334
9335
9336
9337
9338
9339
9340
9341
9342
9343
9344
9345
9346
9347
9348
9349
9350
9351
9352
9353
9354
9355
9356
9357
9358
9359
9360
9361
9362
9363
9364
9365
9366
9367
9368
9369
9370
9371
9372
9373
9374
9375
9376
9377
9378
9379
9380
9381
9382
9383
9384
9385
9386
9387
9388
9389
9390
9391
9392
9393
9394
9395
9396
9397
9398
9399
9400
9401
9402
9403
9404
9405
9406
9407
9408
9409
9410
9411
9412
9413
9414
9415
9416
9417
9418
9419
9420
9421
9422
9423
9424
9425
9426
9427
9428
9429
9430
9431
9432
9433
9434
9435
9436
9437
9438
9439
9440
9441
9442
9443
9444
9445
9446
9447
9448
9449
9450
9451
9452
9453
9454
9455
9456
9457
9458
9459
9460
9461
9462
9463
9464
9465
9466
9467
9468
9469
9470
9471
9472
9473
9474
9475
9476
9477
9478
9479
9480
9481
9482
9483
9484
9485
9486
9487
9488
9489
9490
9491
9492
9493
9494
9495
9496
9497
9498
9499
9500
9501
9502
9503
9504
9505
9506
9507
9508
9509
9510
9511
9512
9513
9514
9515
9516
9517
9518
9519
9520
9521
9522
9523
9524
9525
9526
9527
9528
9529
9530
9531
9532
9533
9534
9535
9536
9537
9538
9539
9540
9541
9542
9543
9544
9545
9546
9547
9548
9549
9550
9551
9552
9553
9554
9555
9556
9557
9558
9559
9560
9561
9562
9563
9564
9565
9566
9567
9568
9569
9570
9571
9572
9573
9574
9575
9576
9577
9578
9579
9580
9581
9582
9583
9584
9585
9586
9587
9588
9589
9590
9591
9592
9593
9594
9595
9596
9597
9598
9599
9600
9601
9602
9603
9604
9605
9606
9607
9608
9609
9610
9611
9612
9613
9614
9615
9616
9617
9618
9619
9620
9621
9622
9623
9624
9625
9626
9627
9628
9629
9630
9631
9632
9633
9634
9635
9636
9637
9638
9639
9640
9641
9642
9643
9644
9645
9646
9647
9648
9649
9650
9651
9652
9653
9654
9655
9656
9657
9658
9659
9660
9661
9662
9663
9664
9665
9666
9667
9668
9669
9670
9671
9672
9673
9674
9675
9676
9677
9678
9679
9680
9681
9682
9683
9684
9685
9686
9687
9688
9689
9690
9691
9692
9693
9694
9695
9696
9697
9698
9699
9700
9701
9702
9703
9704
9705
9706
9707
9708
9709
9710
9711
9712
9713
9714
9715
9716
9717
9718
9719
9720
9721
9722
9723
9724
9725
9726
9727
9728
9729
9730
9731
9732
9733
9734
9735
9736
9737
9738
9739
9740
9741
9742
9743
9744
9745
9746
9747
9748
9749
9750
9751
9752
9753
9754
9755
9756
9757
9758
9759
9760
9761
9762
9763
9764
9765
9766
9767
9768
9769
9770
9771
9772
9773
9774
9775
9776
9777
9778
9779
9780
9781
9782
9783
9784
9785
9786
9787
9788
9789
9790
9791
9792
9793
9794
9795
9796
9797
9798
9799
9800
9801
9802
9803
9804
9805
9806
9807
9808
9809
9810
9811
9812
9813
9814
9815
9816
9817
9818
9819
9820
9821
9822
9823
9824
9825
9826
9827
9828
9829
9830
9831
9832
9833
9834
9835
9836
9837
9838
9839
9840
9841
9842
9843
9844
9845
9846
9847
9848
9849
9850
9851
9852
9853
9854
9855
9856
9857
9858
9859
9860
9861
9862
9863
9864
9865
9866
9867
9868
9869
9870
9871
9872
9873
9874
9875
9876
9877
9878
9879
9880
9881
9882
9883
9884
9885
9886
9887
9888
9889
9890
9891
9892
9893
9894
9895
9896
9897
9898
9899
9900
9901
9902
9903
9904
9905
9906
9907
9908
9909
9910
9911
9912
9913
9914
9915
9916
9917
9918
9919
9920
9921
9922
9923
9924
9925
9926
9927
9928
9929
9930
9931
9932
9933
9934
9935
9936
9937
9938
9939
9940
9941
9942
9943
9944
9945
9946
9947
9948
9949
9950
9951
9952
9953
9954
9955
9956
9957
9958
9959
9960
9961
9962
9963
9964
9965
9966
9967
9968
9969
9970
9971
9972
9973
9974
9975
9976
9977
9978
9979
9980
9981
9982
9983
9984
9985
9986
9987
9988
9989
9990
9991
9992
9993
9994
9995
9996
9997
9998
9999
10000
10001
10002
10003
10004
10005
10006
10007
10008
10009
10010
10011
10012
10013
10014
10015
10016
10017
10018
10019
10020
10021
10022
10023
10024
10025
10026
10027
10028
10029
10030
10031
10032
10033
10034
10035
10036
10037
10038
10039
10040
10041
10042
10043
10044
10045
10046
10047
10048
10049
10050
10051
10052
10053
10054
10055
10056
10057
10058
10059
10060
10061
10062
10063
10064
10065
10066
10067
10068
10069
10070
10071
10072
10073
10074
10075
10076
10077
10078
10079
10080
10081
10082
10083
10084
10085
10086
10087
10088
10089
10090
10091
10092
10093
10094
10095
10096
10097
10098
10099
10100
10101
10102
10103
10104
10105
10106
10107
10108
10109
10110
10111
10112
10113
10114
10115
10116
10117
10118
10119
10120
10121
10122
10123
10124
10125
10126
10127
10128
10129
10130
10131
10132
10133
10134
10135
10136
10137
10138
10139
10140
10141
10142
10143
10144
10145
10146
10147
10148
10149
10150
10151
10152
10153
10154
10155
10156
10157
10158
10159
10160
10161
10162
10163
10164
10165
10166
10167
10168
10169
10170
10171
10172
10173
10174
10175
10176
10177
10178
10179
10180
10181
10182
10183
10184
10185
10186
10187
10188
10189
10190
10191
10192
10193
10194
10195
10196
10197
10198
10199
10200
10201
10202
10203
10204
10205
10206
10207
10208
10209
10210
10211
10212
10213
10214
10215
10216
10217
10218
10219
10220
10221
10222
10223
10224
10225
10226
10227
10228
10229
10230
10231
10232
10233
10234
10235
10236
10237
10238
10239
10240
10241
10242
10243
10244
10245
10246
10247
10248
10249
10250
10251
10252
10253
10254
10255
10256
10257
10258
10259
10260
10261
10262
10263
10264
10265
10266
10267
10268
10269
10270
10271
10272
10273
10274
10275
10276
10277
10278
10279
10280
10281
10282
10283
10284
10285
10286
10287
10288
10289
10290
10291
10292
10293
10294
10295
10296
10297
10298
10299
10300
10301
10302
10303
10304
10305
10306
10307
10308
10309
10310
10311
10312
10313
10314
10315
10316
10317
10318
10319
10320
10321
10322
10323
10324
10325
10326
10327
10328
10329
10330
10331
10332
10333
10334
10335
10336
10337
10338
10339
10340
10341
10342
10343
10344
10345
10346
10347
10348
10349
10350
10351
10352
10353
10354
10355
10356
10357
10358
10359
10360
10361
10362
10363
10364
10365
10366
10367
10368
10369
10370
10371
10372
10373
10374
10375
10376
10377
10378
10379
10380
10381
10382
10383
10384
10385
10386
10387
10388
10389
10390
10391
10392
10393
10394
10395
10396
10397
10398
10399
10400
10401
10402
10403
10404
10405
10406
10407
10408
10409
10410
10411
10412
10413
10414
10415
10416
10417
10418
10419
10420
10421
10422
10423
10424
10425
10426
10427
10428
10429
10430
10431
10432
10433
10434
10435
10436
10437
10438
10439
10440
10441
10442
10443
10444
10445
10446
10447
10448
10449
10450
10451
10452
10453
10454
10455
10456
10457
10458
10459
10460
10461
10462
10463
10464
10465
10466
10467
10468
10469
10470
10471
10472
10473
10474
10475
10476
10477
10478
10479
10480
10481
10482
10483
10484
10485
10486
10487
10488
10489
10490
10491
10492
10493
10494
10495
10496
10497
10498
10499
10500
10501
10502
10503
10504
10505
10506
10507
10508
10509
10510
10511
10512
10513
10514
10515
10516
10517
10518
10519
10520
10521
10522
10523
10524
10525
10526
10527
10528
10529
10530
10531
10532
10533
10534
10535
10536
10537
10538
10539
10540
10541
10542
10543
10544
10545
10546
10547
10548
10549
10550
10551
10552
10553
10554
10555
10556
10557
10558
10559
10560
10561
10562
10563
10564
10565
10566
10567
10568
10569
10570
10571
10572
10573
10574
10575
10576
10577
10578
10579
10580
10581
10582
10583
10584
10585
10586
10587
10588
10589
10590
10591
10592
10593
10594
10595
10596
10597
10598
10599
10600
10601
10602
10603
10604
10605
10606
10607
10608
10609
10610
10611
10612
10613
10614
10615
10616
10617
10618
10619
10620
10621
10622
10623
10624
10625
10626
10627
10628
10629
10630
10631
10632
10633
10634
10635
10636
10637
10638
10639
10640
10641
10642
10643
10644
10645
10646
10647
10648
10649
10650
10651
10652
10653
10654
10655
10656
10657
10658
10659
10660
10661
10662
10663
10664
10665
10666
10667
10668
10669
10670
10671
10672
10673
10674
10675
10676
10677
10678
10679
10680
10681
10682
10683
10684
10685
10686
10687
10688
10689
10690
10691
10692
10693
10694
10695
10696
10697
10698
10699
10700
10701
10702
10703
10704
10705
10706
10707
10708
10709
10710
10711
10712
10713
10714
10715
10716
10717
10718
10719
10720
10721
10722
10723
10724
10725
10726
10727
10728
10729
10730
10731
10732
10733
10734
10735
10736
10737
10738
10739
10740
10741
10742
10743
10744
10745
10746
10747
10748
10749
10750
10751
10752
10753
10754
10755
10756
10757
10758
10759
10760
10761
10762
10763
10764
10765
10766
10767
10768
10769
10770
10771
10772
10773
10774
10775
10776
10777
10778
10779
10780
10781
10782
10783
10784
10785
10786
10787
10788
10789
10790
10791
10792
10793
10794
10795
10796
10797
10798
10799
10800
10801
10802
10803
10804
10805
10806
10807
10808
10809
10810
10811
10812
10813
10814
10815
10816
10817
10818
10819
10820
10821
10822
10823
10824
10825
10826
10827
10828
10829
10830
10831
10832
10833
10834
10835
10836
10837
10838
10839
10840
10841
10842
10843
10844
10845
10846
10847
10848
10849
10850
10851
10852
10853
10854
10855
10856
10857
10858
10859
10860
10861
10862
10863
10864
10865
10866
10867
10868
10869
10870
10871
10872
10873
10874
10875
10876
10877
10878
10879
10880
10881
10882
10883
10884
10885
10886
10887
10888
10889
10890
10891
10892
10893
10894
10895
10896
10897
10898
10899
10900
10901
10902
10903
10904
10905
10906
10907
10908
10909
10910
10911
10912
10913
10914
10915
10916
10917
10918
10919
10920
10921
10922
10923
10924
10925
10926
10927
10928
10929
10930
10931
10932
10933
10934
10935
10936
10937
10938
10939
10940
10941
10942
10943
10944
10945
10946
10947
10948
10949
10950
10951
10952
10953
10954
10955
10956
10957
10958
10959
10960
10961
10962
10963
10964
10965
10966
10967
10968
10969
10970
10971
10972
10973
10974
10975
10976
10977
10978
10979
10980
10981
10982
10983
10984
10985
10986
10987
10988
10989
10990
10991
10992
10993
10994
10995
10996
10997
10998
10999
11000
11001
11002
11003
11004
11005
11006
11007
11008
11009
11010
11011
11012
11013
11014
11015
11016
11017
11018
11019
11020
11021
11022
11023
11024
11025
11026
11027
11028
11029
11030
11031
11032
11033
11034
11035
11036
11037
11038
11039
11040
11041
11042
11043
11044
11045
11046
11047
11048
11049
11050
11051
11052
11053
11054
11055
11056
11057
11058
11059
11060
11061
11062
11063
11064
11065
11066
11067
11068
11069
11070
11071
11072
11073
11074
11075
11076
11077
11078
11079
11080
11081
11082
11083
11084
11085
11086
11087
11088
11089
11090
11091
11092
11093
11094
11095
11096
11097
11098
11099
11100
11101
11102
11103
11104
11105
11106
11107
11108
11109
11110
11111
11112
11113
11114
11115
11116
11117
11118
11119
11120
11121
11122
11123
11124
11125
11126
11127
11128
11129
11130
11131
11132
11133
11134
11135
11136
11137
11138
11139
11140
11141
11142
11143
11144
11145
11146
11147
11148
11149
11150
11151
11152
11153
11154
11155
11156
11157
11158
11159
11160
11161
11162
11163
11164
11165
11166
11167
11168
11169
11170
11171
11172
11173
11174
11175
11176
11177
11178
11179
11180
11181
11182
11183
11184
11185
11186
11187
11188
11189
11190
11191
11192
11193
11194
11195
11196
11197
11198
11199
11200
11201
11202
11203
11204
11205
11206
11207
11208
11209
11210
11211
11212
11213
11214
11215
11216
11217
11218
11219
11220
11221
11222
11223
11224
11225
11226
11227
11228
11229
11230
11231
11232
11233
11234
11235
11236
11237
11238
11239
11240
11241
11242
11243
11244
11245
11246
11247
11248
11249
11250
11251
11252
11253
11254
11255
11256
11257
11258
11259
11260
11261
11262
11263
11264
11265
11266
11267
11268
11269
11270
11271
11272
11273
11274
11275
11276
11277
11278
11279
11280
11281
11282
11283
11284
11285
11286
11287
11288
11289
11290
11291
11292
11293
11294
11295
11296
11297
11298
11299
11300
11301
11302
11303
11304
11305
11306
11307
11308
11309
11310
11311
11312
11313
11314
11315
11316
11317
11318
11319
11320
11321
11322
11323
11324
11325
11326
11327
11328
11329
11330
11331
11332
11333
11334
11335
11336
11337
11338
11339
11340
11341
11342
11343
11344
11345
11346
11347
11348
11349
11350
11351
11352
11353
11354
11355
11356
11357
11358
11359
11360
11361
11362
11363
11364
11365
11366
11367
11368
11369
11370
11371
11372
11373
11374
11375
11376
11377
11378
11379
11380
11381
11382
11383
11384
11385
11386
11387
11388
11389
11390
11391
11392
11393
11394
11395
11396
11397
11398
11399
11400
11401
11402
11403
11404
11405
11406
11407
11408
11409
11410
11411
11412
11413
11414
11415
11416
11417
11418
11419
11420
11421
11422
11423
11424
11425
11426
11427
11428
11429
11430
11431
11432
11433
11434
11435
11436
11437
11438
11439
11440
11441
11442
11443
11444
11445
11446
11447
11448
11449
11450
11451
11452
11453
11454
11455
11456
11457
11458
11459
11460
11461
11462
11463
11464
11465
11466
11467
11468
11469
11470
11471
11472
11473
11474
11475
11476
11477
11478
11479
11480
11481
11482
11483
11484
11485
11486
11487
11488
11489
11490
11491
11492
11493
11494
11495
11496
11497
11498
11499
11500
11501
11502
11503
11504
11505
11506
11507
11508
11509
11510
11511
11512
11513
11514
11515
11516
11517
11518
11519
11520
11521
11522
11523
11524
11525
11526
11527
11528
11529
11530
11531
11532
11533
11534
11535
11536
11537
11538
11539
11540
11541
11542
11543
11544
11545
11546
11547
11548
11549
11550
11551
11552
11553
11554
11555
11556
11557
11558
11559
11560
11561
11562
11563
11564
11565
11566
11567
11568
11569
11570
11571
11572
11573
11574
11575
11576
11577
11578
11579
11580
11581
11582
11583
11584
11585
11586
11587
11588
11589
11590
11591
11592
11593
11594
11595
11596
11597
11598
11599
11600
11601
11602
11603
11604
11605
11606
11607
11608
11609
11610
11611
11612
11613
11614
11615
11616
11617
11618
11619
11620
11621
11622
11623
11624
11625
11626
11627
11628
11629
11630
11631
11632
11633
11634
11635
11636
11637
11638
11639
11640
11641
11642
11643
11644
11645
11646
11647
11648
11649
11650
11651
11652
11653
11654
11655
11656
11657
11658
11659
11660
11661
11662
11663
11664
11665
11666
11667
11668
11669
11670
11671
11672
11673
11674
11675
11676
11677
11678
11679
11680
11681
11682
11683
11684
11685
11686
11687
11688
11689
11690
11691
11692
11693
11694
11695
11696
11697
11698
11699
11700
11701
11702
11703
11704
11705
11706
11707
11708
11709
11710
11711
11712
11713
11714
11715
11716
11717
11718
11719
11720
11721
11722
11723
11724
11725
11726
11727
11728
11729
11730
11731
11732
11733
11734
11735
11736
11737
11738
11739
11740
11741
11742
11743
11744
11745
11746
11747
11748
11749
11750
11751
11752
11753
11754
11755
11756
11757
11758
11759
11760
11761
11762
11763
11764
11765
11766
11767
11768
11769
11770
11771
11772
11773
11774
11775
11776
11777
11778
11779
11780
11781
11782
11783
11784
11785
11786
11787
11788
11789
11790
11791
11792
11793
11794
11795
11796
11797
11798
11799
11800
11801
11802
11803
11804
11805
11806
11807
11808
11809
11810
11811
11812
11813
11814
11815
11816
11817
11818
11819
11820
11821
11822
11823
11824
11825
11826
11827
11828
11829
11830
11831
11832
11833
11834
11835
11836
11837
11838
11839
11840
11841
11842
11843
11844
11845
11846
11847
11848
11849
11850
11851
11852
11853
11854
11855
11856
11857
11858
11859
11860
11861
11862
11863
11864
11865
11866
11867
11868
11869
11870
11871
11872
11873
11874
11875
11876
11877
11878
11879
11880
11881
11882
11883
11884
11885
11886
11887
11888
11889
11890
11891
11892
11893
11894
11895
11896
11897
11898
11899
11900
11901
11902
11903
11904
11905
11906
11907
11908
11909
11910
11911
11912
11913
11914
11915
11916
11917
11918
11919
11920
11921
11922
11923
11924
11925
11926
11927
11928
11929
11930
11931
11932
11933
11934
11935
11936
11937
11938
11939
11940
11941
11942
11943
11944
11945
11946
11947
11948
11949
11950
11951
11952
11953
11954
11955
11956
11957
11958
11959
11960
11961
11962
11963
11964
11965
11966
11967
11968
11969
11970
11971
11972
11973
11974
11975
11976
11977
11978
11979
11980
11981
11982
11983
11984
11985
11986
11987
11988
11989
11990
11991
11992
11993
11994
11995
11996
11997
11998
11999
12000
12001
12002
12003
12004
12005
12006
12007
12008
12009
12010
12011
12012
12013
12014
12015
12016
12017
12018
12019
12020
12021
12022
12023
12024
12025
12026
12027
12028
12029
12030
12031
12032
12033
12034
12035
12036
12037
12038
12039
12040
12041
12042
12043
12044
12045
12046
12047
12048
12049
12050
12051
12052
12053
12054
12055
12056
12057
12058
12059
12060
12061
12062
12063
12064
12065
12066
12067
12068
12069
12070
12071
12072
12073
12074
12075
12076
12077
12078
12079
12080
12081
12082
12083
12084
12085
12086
12087
12088
12089
12090
12091
12092
12093
12094
12095
12096
12097
12098
12099
12100
12101
12102
12103
12104
12105
12106
12107
12108
12109
12110
12111
12112
12113
12114
12115
12116
12117
12118
12119
12120
12121
12122
12123
12124
12125
12126
12127
12128
12129
12130
12131
12132
12133
12134
12135
12136
12137
12138
12139
12140
12141
12142
12143
12144
12145
12146
12147
12148
12149
12150
12151
12152
12153
12154
12155
12156
12157
12158
12159
12160
12161
12162
12163
12164
12165
12166
12167
12168
12169
12170
12171
12172
12173
12174
12175
12176
12177
12178
12179
12180
12181
12182
12183
12184
12185
12186
12187
12188
12189
12190
12191
12192
12193
12194
12195
12196
12197
12198
12199
12200
12201
12202
12203
12204
12205
12206
12207
12208
12209
12210
12211
12212
12213
12214
12215
12216
12217
12218
12219
12220
12221
12222
12223
12224
12225
12226
12227
12228
12229
12230
12231
12232
12233
12234
12235
12236
12237
12238
12239
12240
12241
12242
12243
12244
12245
12246
12247
12248
12249
12250
12251
12252
12253
12254
12255
12256
12257
12258
12259
12260
12261
12262
12263
12264
12265
12266
12267
12268
12269
12270
12271
12272
12273
12274
12275
12276
12277
12278
12279
12280
12281
12282
12283
12284
12285
12286
12287
12288
12289
12290
12291
12292
12293
12294
12295
12296
12297
12298
12299
12300
12301
12302
12303
12304
12305
12306
12307
12308
12309
12310
12311
12312
12313
12314
12315
12316
12317
12318
12319
12320
12321
12322
12323
12324
12325
12326
12327
12328
12329
12330
12331
12332
12333
12334
12335
12336
12337
12338
12339
12340
12341
12342
12343
12344
12345
12346
12347
12348
12349
12350
12351
12352
12353
12354
12355
12356
12357
12358
12359
12360
12361
12362
12363
12364
12365
12366
12367
12368
12369
12370
12371
12372
12373
12374
12375
12376
12377
12378
12379
12380
12381
12382
12383
12384
12385
12386
12387
12388
12389
12390
12391
12392
12393
12394
12395
12396
12397
12398
12399
12400
12401
12402
12403
12404
12405
12406
12407
12408
12409
12410
12411
12412
12413
12414
12415
12416
12417
12418
12419
12420
12421
12422
12423
12424
12425
12426
12427
12428
12429
12430
12431
12432
12433
12434
12435
12436
12437
12438
12439
12440
12441
12442
12443
12444
12445
12446
12447
12448
12449
12450
12451
12452
12453
12454
12455
12456
12457
12458
12459
12460
12461
12462
12463
12464
12465
12466
12467
12468
12469
12470
12471
12472
12473
12474
12475
12476
12477
12478
12479
12480
12481
12482
12483
12484
12485
12486
12487
12488
12489
12490
12491
12492
12493
12494
12495
12496
12497
12498
12499
12500
12501
12502
12503
12504
12505
12506
12507
12508
12509
12510
12511
12512
12513
12514
12515
12516
12517
12518
12519
12520
12521
12522
12523
12524
12525
12526
12527
12528
12529
12530
12531
12532
12533
12534
12535
12536
12537
12538
12539
12540
12541
12542
12543
12544
12545
12546
12547
12548
12549
12550
12551
12552
12553
12554
12555
12556
12557
12558
12559
12560
12561
12562
12563
12564
12565
12566
12567
12568
12569
12570
12571
12572
12573
12574
12575
12576
12577
12578
12579
12580
12581
12582
12583
12584
12585
12586
12587
12588
12589
12590
12591
12592
12593
12594
12595
12596
12597
12598
12599
12600
12601
12602
12603
12604
12605
12606
12607
12608
12609
12610
12611
12612
12613
12614
12615
12616
12617
12618
12619
12620
12621
12622
12623
12624
12625
12626
12627
12628
12629
12630
12631
12632
12633
12634
12635
12636
12637
12638
12639
12640
12641
12642
12643
12644
12645
12646
12647
12648
12649
12650
12651
12652
12653
12654
12655
12656
12657
12658
12659
12660
12661
12662
12663
12664
12665
12666
12667
12668
12669
12670
12671
12672
12673
12674
12675
12676
12677
12678
12679
12680
12681
12682
12683
12684
12685
12686
12687
12688
12689
12690
12691
12692
12693
12694
12695
12696
12697
12698
12699
12700
12701
12702
12703
12704
12705
12706
12707
12708
12709
12710
12711
12712
12713
12714
12715
12716
12717
12718
12719
12720
12721
12722
12723
12724
12725
12726
12727
12728
12729
12730
12731
12732
12733
12734
12735
12736
12737
12738
12739
12740
12741
12742
12743
12744
12745
12746
12747
12748
12749
12750
12751
12752
12753
12754
12755
12756
12757
12758
12759
12760
12761
12762
12763
12764
12765
12766
12767
12768
12769
12770
12771
12772
12773
12774
12775
12776
12777
12778
12779
12780
12781
12782
12783
12784
12785
12786
12787
12788
12789
12790
12791
12792
12793
12794
12795
12796
12797
12798
12799
12800
12801
12802
12803
12804
12805
12806
12807
12808
12809
12810
12811
12812
12813
12814
12815
12816
12817
12818
12819
12820
12821
12822
12823
12824
12825
12826
12827
12828
12829
12830
12831
12832
12833
12834
12835
12836
12837
12838
12839
12840
12841
12842
12843
12844
12845
12846
12847
12848
12849
12850
12851
12852
12853
12854
12855
12856
12857
12858
12859
12860
12861
12862
12863
12864
12865
12866
12867
12868
12869
12870
12871
12872
12873
12874
12875
12876
12877
12878
12879
12880
12881
12882
12883
12884
12885
12886
12887
12888
12889
12890
12891
12892
12893
12894
12895
12896
12897
12898
12899
12900
12901
12902
12903
12904
12905
12906
12907
12908
12909
12910
12911
12912
12913
12914
12915
12916
12917
12918
12919
12920
12921
12922
12923
12924
12925
12926
12927
12928
12929
12930
12931
12932
12933
12934
12935
12936
12937
12938
12939
12940
12941
12942
12943
12944
12945
12946
12947
12948
12949
12950
12951
12952
12953
12954
12955
12956
12957
12958
12959
12960
12961
12962
12963
12964
12965
12966
12967
12968
12969
12970
12971
12972
12973
12974
12975
12976
12977
12978
12979
12980
12981
12982
12983
12984
12985
12986
12987
12988
12989
12990
12991
12992
12993
12994
12995
12996
12997
12998
12999
13000
13001
13002
13003
13004
13005
13006
13007
13008
13009
13010
13011
13012
13013
13014
13015
13016
13017
13018
13019
13020
13021
13022
13023
13024
13025
13026
13027
13028
13029
13030
13031
13032
13033
13034
13035
13036
13037
13038
13039
13040
13041
13042
13043
13044
13045
13046
13047
13048
13049
13050
13051
13052
13053
13054
13055
13056
13057
13058
13059
13060
13061
13062
13063
13064
13065
13066
13067
13068
13069
13070
13071
13072
13073
13074
13075
13076
13077
13078
13079
13080
13081
13082
13083
13084
13085
13086
13087
13088
13089
13090
13091
13092
13093
13094
13095
13096
13097
13098
13099
13100
13101
13102
13103
13104
13105
13106
13107
13108
13109
13110
13111
13112
13113
13114
13115
13116
13117
13118
13119
13120
13121
13122
13123
13124
13125
13126
13127
13128
13129
13130
13131
13132
13133
13134
13135
13136
13137
13138
13139
13140
13141
13142
13143
13144
13145
13146
13147
13148
13149
13150
13151
13152
13153
13154
13155
13156
13157
13158
13159
13160
13161
13162
13163
13164
13165
13166
13167
13168
13169
13170
13171
13172
13173
13174
13175
13176
13177
13178
13179
13180
13181
13182
13183
13184
13185
13186
13187
13188
13189
13190
13191
13192
13193
13194
13195
13196
13197
13198
13199
13200
13201
13202
13203
13204
13205
13206
13207
13208
13209
13210
13211
13212
13213
13214
13215
13216
13217
13218
13219
13220
13221
13222
13223
13224
13225
13226
13227
13228
13229
13230
13231
13232
13233
13234
13235
13236
13237
13238
13239
13240
13241
13242
13243
13244
13245
13246
13247
13248
13249
13250
13251
13252
13253
13254
13255
13256
13257
13258
13259
13260
13261
13262
13263
13264
13265
13266
13267
13268
13269
13270
13271
13272
13273
13274
13275
13276
13277
13278
13279
13280
13281
13282
13283
13284
13285
13286
13287
13288
13289
13290
13291
13292
13293
13294
13295
13296
13297
13298
13299
13300
13301
13302
13303
13304
13305
13306
13307
13308
13309
13310
13311
13312
13313
13314
13315
13316
13317
13318
13319
13320
13321
13322
13323
13324
13325
13326
13327
13328
13329
13330
13331
13332
13333
13334
13335
13336
13337
13338
13339
13340
13341
13342
13343
13344
13345
13346
13347
13348
13349
13350
13351
13352
13353
13354
13355
13356
13357
13358
13359
13360
13361
13362
13363
13364
13365
13366
13367
13368
13369
13370
13371
13372
13373
13374
13375
13376
13377
13378
13379
13380
13381
13382
13383
13384
13385
13386
13387
13388
13389
13390
13391
13392
13393
13394
13395
13396
13397
13398
13399
13400
13401
13402
13403
13404
13405
13406
13407
13408
13409
13410
13411
13412
13413
13414
13415
13416
13417
13418
13419
13420
13421
13422
13423
13424
13425
13426
13427
13428
13429
13430
13431
13432
13433
13434
13435
13436
13437
13438
13439
13440
13441
13442
13443
13444
13445
13446
13447
13448
13449
13450
13451
13452
13453
13454
13455
13456
13457
13458
13459
13460
13461
13462
13463
13464
13465
13466
13467
13468
13469
13470
13471
13472
13473
13474
13475
13476
13477
13478
13479
13480
13481
13482
13483
13484
13485
13486
13487
13488
13489
13490
13491
13492
13493
13494
13495
13496
13497
13498
13499
13500
13501
13502
13503
13504
13505
13506
13507
13508
13509
13510
13511
13512
13513
13514
13515
13516
13517
13518
13519
13520
13521
13522
13523
13524
13525
13526
13527
13528
13529
13530
13531
13532
13533
13534
13535
13536
13537
13538
13539
13540
13541
13542
13543
13544
13545
13546
13547
13548
13549
13550
13551
13552
13553
13554
13555
13556
13557
13558
13559
13560
13561
13562
13563
13564
13565
13566
13567
13568
13569
13570
13571
13572
13573
13574
13575
13576
13577
13578
13579
13580
13581
13582
13583
13584
13585
13586
13587
13588
13589
13590
13591
13592
13593
13594
13595
13596
13597
13598
13599
13600
13601
13602
13603
13604
13605
13606
13607
13608
13609
13610
13611
13612
13613
13614
13615
13616
13617
13618
13619
13620
13621
13622
13623
13624
13625
13626
13627
13628
13629
13630
13631
13632
13633
13634
13635
13636
13637
13638
13639
13640
13641
13642
13643
13644
13645
13646
13647
13648
13649
13650
13651
13652
13653
13654
13655
13656
13657
13658
13659
13660
13661
13662
13663
13664
13665
13666
13667
13668
13669
13670
13671
13672
13673
13674
13675
13676
13677
13678
13679
13680
13681
13682
13683
13684
13685
13686
13687
13688
13689
13690
13691
13692
13693
13694
13695
13696
13697
13698
13699
13700
13701
13702
13703
13704
13705
13706
13707
13708
13709
13710
13711
13712
13713
13714
13715
13716
13717
13718
13719
13720
13721
13722
13723
13724
13725
13726
13727
13728
13729
13730
13731
13732
13733
13734
13735
13736
13737
13738
13739
13740
13741
13742
13743
13744
13745
13746
13747
13748
13749
13750
13751
13752
13753
13754
13755
13756
13757
13758
13759
13760
13761
13762
13763
13764
13765
13766
13767
13768
13769
13770
13771
13772
13773
13774
13775
13776
13777
13778
13779
13780
13781
13782
13783
13784
13785
13786
13787
13788
13789
13790
13791
13792
13793
13794
13795
13796
13797
13798
13799
13800
13801
13802
13803
13804
13805
13806
13807
13808
13809
13810
13811
13812
13813
13814
13815
13816
13817
13818
13819
13820
13821
13822
13823
13824
13825
13826
13827
13828
13829
13830
13831
13832
13833
13834
13835
13836
13837
13838
13839
13840
13841
13842
13843
13844
13845
13846
13847
13848
13849
13850
13851
13852
13853
13854
13855
13856
13857
13858
13859
13860
13861
13862
13863
13864
13865
13866
13867
13868
13869
13870
13871
13872
13873
13874
13875
13876
13877
13878
13879
13880
13881
13882
13883
13884
13885
13886
13887
13888
13889
13890
13891
13892
13893
13894
13895
13896
13897
13898
13899
13900
13901
13902
13903
13904
13905
13906
13907
13908
13909
13910
13911
13912
13913
13914
13915
13916
13917
13918
13919
13920
13921
13922
13923
13924
13925
13926
13927
13928
13929
13930
13931
13932
13933
13934
13935
13936
13937
13938
13939
13940
13941
13942
13943
13944
13945
13946
13947
13948
13949
13950
13951
13952
13953
13954
13955
13956
13957
13958
13959
13960
13961
13962
13963
13964
13965
13966
13967
13968
13969
13970
13971
13972
13973
13974
13975
13976
13977
13978
13979
13980
13981
13982
13983
13984
13985
13986
13987
13988
13989
13990
13991
13992
13993
13994
13995
13996
13997
13998
13999
14000
14001
14002
14003
14004
14005
14006
14007
14008
14009
14010
14011
14012
14013
14014
14015
14016
14017
14018
14019
14020
14021
14022
14023
14024
14025
14026
14027
14028
14029
14030
14031
14032
14033
14034
14035
14036
14037
14038
14039
14040
14041
14042
14043
14044
14045
14046
14047
14048
14049
14050
14051
14052
14053
14054
14055
14056
14057
14058
14059
14060
|
2000-10-18 Andy Hertzfeld <andy@eazel.com>
added a Services menu, per Darin's advice, as a separate bonobo
ui component. Right now, it's leaking the UI handler, and the
menu uris aren't correct; will finish this tomorrow.
* src/Makefile.am:
added new files: nautilus-service-ui.xml and
nautilus_window_install_service_menu
* src/nautilus-service-ui.xml:
xml file defining service menu and toolbar button
* src/nautilus-shell-ui.xml:
added placeholder for services menu and toolbar button; removed
definition of toolbar button
* src/nautilus-window-private.h:
added reference to install routine
* src/nautilus-window-service-menu.c: (goto_services_summary),
(goto_online_storage), (goto_software_catalog),
(nautilus_window_install_service_menu):
merge in the services menu and button and handle the commands
* src/nautilus-window-toolbars.c: (set_up_toolbar_images),
(nautilus_window_initialize_toolbars):
change the service button image when the theme changes
if EAZEL_SERVICES is defined
* src/nautilus-window.c: (nautilus_window_constructed):
call the install routine if EAZEL_SERVICES is defined
2000-10-17 Robey Pointer <robey@eazel.com>
* components/services/install/lib/Makefile.am:
* components/services/install/nautilus-view/nautilus-service-instal
l-view.c: (create_package),
(nautilus_service_install_view_update_from_uri):
Fix "id=" stuff to "rpm_id=" to match new softcat format, and use
special pack->eazel_id field now that libeazelinstall provides it.
2000-10-17 Robey Pointer <robey@eazel.com>
* nautilus-installer/src/callbacks.c: (prep_retry):
* nautilus-installer/src/callbacks.h:
* nautilus-installer/src/installer.c: (start_over),
(dont_start_over), (jump_to_retry_page):
Change installer's "let's upgrade other packages" screen to be
user-friendly and Arloified.
2000-10-17 Ramiro Estrugo <ramiro@eazel.com>
* components/mozilla/nautilus-mozilla-content-view.c:
(mozilla_content_view_one_time_happenings):
Make the "misc" part of the User-Agent "Nautilus/1.0" instead of
"Nautilus"
2000-10-17 John Sullivan <sullivan@eazel.com>
Fixed NULL dereference bug Eli was running into in the
location bar.
* libnautilus-extensions/nautilus-file-utilities.c:
(nautilus_handle_trailing_slashes): added assert that
parameter is not NULL
(nautilus_make_uri_canonical): Handle NULL up front,
to avoid dereferencing it later.
2000-10-17 Darin Adler <darin@eazel.com>
* libnautilus-extensions/nautilus-icon-container.c: (icon_free),
(stop_rubberbanding), (destroy): Oops. Canvas items are not
widgets, although they ref. count in a similar way.
2000-10-17 Darin Adler <darin@eazel.com>
* libnautilus-extensions/nautilus-directory-async.c:
(async_job_wake_up): Fix reentrancy problem.
2000-10-17 Darin Adler <darin@eazel.com>
* libnautilus-extensions/nautilus-icon-container.c: (icon_free),
(stop_rubberbanding), (destroy): Fixed a bunch of FIXMEs now that
I "get" widget ref. counting.
(icon_set_position): Clip code rearranging.
2000-10-17 Andy Hertzfeld <andy@eazel.com>
* components/hardware/nautilus-hardware-view.c:
(setup_overview_form):
made long device names wrap to multiple lines.
2000-10-17 Darin Adler <darin@eazel.com>
Fix assert introduced with my last check-in.
* libnautilus-extensions/nautilus-directory-async.c:
(async_job_start), (async_job_end): Added a debugging feature to
match up starts with ends.
(directory_count_cancel), (deep_count_cancel), (mime_list_cancel),
(top_left_cancel), (activation_uri_cancel), (file_info_cancel),
(metafile_read_cancel), (file_list_cancel),
(directory_count_callback), (start_monitoring_file_list),
(directory_count_start), (deep_count_callback),
(deep_count_start), (mime_list_callback), (mime_list_start),
(top_left_read_done), (top_left_start), (get_info_callback),
(file_info_start), (activation_uri_done), (activation_uri_start):
Pass additional parameters to make debugging feature work.
(metafile_read_mark_done), (metafile_read_done),
(metafile_read_start): Broke out the read complete code to fix a
case where we would end a thread that we didn't start.
2000-10-17 John Sullivan <sullivan@eazel.com>
Fixed bug 3828 (switching views makes torn-off menus disappear)
Fixed bug 3822 (Edit menu flashes when you click in location field)
Fixed bug 3529 (menu bar flashes when view switched)
These were all caused by our Bonobo xml files redefining labels
for submenus, causing Bonobo to think that it needed to destroy
the widget holding the title of the old submenu.
* libnautilus/nautilus-clipboard-ui.xml:
* src/file-manager/nautilus-directory-view-ui.xml:
* src/file-manager/nautilus-icon-view-ui.xml:
* src/file-manager/nautilus-search-list-view-ui.xml:
Removed all _label="Foo"s from submenus defined in
nautilus-shell-ui.xml (e.g. File, Edit, View).
Some bug fixes and cleanup in the summary view code. I noticed a
couple of obvious problems when I was trying to use services
earlier, and they led me to fix up a little of this code.
* components/services/summary/nautilus-view/nautilus-summary-view.c:
Removed "feedback_text" field from Details struct; now it's just a
parameter to generate_error_dialog (it was being leaked with each
use, also).
(generate_summary_form): Use new error_dialog_shown boolean to avoid
showing exactly the same dialog twice; removed a bunch of duplicate
code by collapsing an if/else into only the part that's different;
pass dialog text to generate_error_dialog directly
(authn_cb_failed): Don't follow an exclamation point with a period.
(generate_error_dialog): Set up a parent window so the dialog
appears in a sensible place; use GNOME_STOCK_BUTTON_CANCEL instead
of "CANCEL"; get message from parameter instead of Details field;
change "Retry" to "Try Again" to be less nerdly.
2000-10-17 Maciej Stachowiak <mjs@eazel.com>
* libnautilus-extensions/nautilus-directory-async.c:
(cancel_mime_list, set_up_request_by_file_attributes,
lacks_mime_list, nautilus_directory_invalidate_counts,
mime_list_callback, mime_list_start): Fix assorted bugs which made
NautilusFile think the list was never complete.
* libnautilus-extensions/nautilus-wait-until-ready.h: Include
<libnautilus-extensions/nautilus-directory.h> and
<libnautilus-extensions/nautilus-file.h>.
* libnautilus-extensions/nautilus-file-attributes.h: Rename
MIME_LIST attroibute to DIRECTORY_ITEM_MIME_TYPES.
* libnautilus-extensions/nautilus-file.h,
libnautilus-extensions/nautilus-file.c:
(nautilus_file_get_directory_item_mime_types): Renamed from
nautilus_file_get_mime_list.
* libnautilus-extensions/nautilus-mime-actions.h,
libnautilus-extensions/nautilus-mime-actions.c
(nautilus_file_wait_for_metadata,
nautilus_file_wait_for_mime_action_attributes,
nautilus_mime_get_default_action_type_for_uri,
nautilus_mime_get_default_action_for_uri,
nautilus_mime_get_default_application_for_uri_internal,
nautilus_mime_get_default_application_for_uri,
nautilus_mime_is_default_application_for_uri_user_chosen,
nautilus_mime_get_default_component_for_uri_internal,
nautilus_mime_get_default_component_for_uri,
nautilus_mime_is_default_component_for_uri_user_chosen,
nautilus_mime_get_short_list_applications_for_uri,
nautilus_mime_get_short_list_components_for_uri,
nautilus_mime_get_short_list_methods_for_uri,
nautilus_mime_get_all_applications_for_uri,
nautilus_mime_has_any_applications_for_uri,
nautilus_mime_get_all_components_for_uri,
nautilus_mime_has_any_components_for_uri,
nautilus_mime_set_default_action_type_for_uri,
nautilus_mime_set_default_application_for_uri,
nautilus_mime_set_default_component_for_uri,
nautilus_mime_set_short_list_applications_for_uri,
nautilus_mime_set_short_list_components_for_uri,
nautilus_mime_add_application_to_short_list_for_uri,
nautilus_mime_remove_application_from_short_list_for_uri,
nautilus_mime_add_component_to_short_list_for_uri,
nautilus_mime_remove_component_from_short_list_for_uri,
nautilus_mime_extend_all_applications_for_uri,
nautilus_mime_remove_from_all_applications_for_uri,
mime_type_list_to_hash_table, nautilus_do_component_query): Use
all the new NautilusFile APIs and stop using NautilusDirectory. No
longer take NautilusDirectory as a parameter in addition to
NautilusFile.
* libnautilus-extensions/nautilus-program-chooser.c:
(repopulate_program_list, is_application_default_for_uri,
is_component_default_for_uri, is_component_in_short_list_for_uri,
is_application_in_short_list_for_uri,
program_file_pair_is_default_for_file, add_to_short_list_for_file,
remove_from_short_list_for_file, remove_default_for_item,
set_default_for_item): Stop passing NautilusDirectory to
nautilus-mime-actions functions.
* libnautilus-extensions/nautilus-program-choosing.c:
(any_programs_available_for_file): Likewise.
* src/file-manager/fm-directory-view.c (switch_location_and_view,
files_added_callback, files_changed_callback,
create_open_with_gtk_menu, reset_bonobo_open_with_menu,
activate_callback): Likewise.
* src/nautilus-applicable-views.c (got_file_info_callback): Likewise.
* src/nautilus-sidebar.c (nautilus_sidebar_update_buttons): Likewise.
* src/nautilus-window-manage-views.c
(nautilus_window_set_content_view): Likewise.
* src/nautilus-window.c (nautilus_window_load_content_view_menu):
Likewise.
* test/test-nautilus-mime-actions-set.c (main): Likewise.
* test/test-nautilus-mime-actions.c (main): Likewise.
2000-10-17 Robey Pointer <robey@eazel.com>
* components/services/install/lib/eazel-install-logic.c:
(eazel_install_flatten_categories):
Apply Eskil's memory patch to make the bootstrap not crash on
success (yay!).
2000-10-17 Darin Adler <darin@eazel.com>
* check-FIXME.pl: Skip the macros directory.
* libnautilus-extensions/nautilus-directory-async.c:
(async_job_start), (async_job_end), (get_one_value_callback),
(get_one_value), (async_job_wake_up): Add new calls that limit the
number of async. jobs done at once.
(directory_count_cancel), (deep_count_cancel), (mime_list_cancel),
(top_left_cancel), (activation_uri_cancel), (file_info_cancel),
(metafile_read_cancel), (metafile_read_done): End the async. job
if it's cancelled.
(metafile_read_try_public_metafile), (metafile_read_restart):
Changed the old metafile_read_start function's name to
metafile_read_restart since it's used on the second try.
(is_anyone_waiting_for_metafile), (metafile_read_start): Move the
logic about whether to start reading into this function to make it
more like the other jobs. Also start the async. job.
(file_list_cancel): Changed name for consistency and end the
async. job.
(directory_count_callback): End the async. job.
(start_monitoring_file_list): Start the async job.
(file_list_start): Moved logic about when to start loading the file
list into this function to make it more like other jobs.
(directory_count_start): Renamed to make it more like other jobs
and start the async. job.
(deep_count_callback): End the async. job.
(deep_count_start): Start the async. job.
(mime_list_callback): End the async. job.
(mime_list_start): Start the async. job.
(top_left_read_done): End the async. job.
(top_left_start): Start the async. job.
(get_info_callback): End the async. job.
(file_info_start): Start the async. job.
(activation_uri_done): End the async. job.
(activation_uri_start): Start the async. job.
(nautilus_directory_async_state_changed): Wake up directories that
may have breathing from from all the cancellation.
(nautilus_directory_cancel): Moved the cancelling code down here,
remove a directory from the waiting list when it goes, and also
wake up directories that may have breathing room from all the
cancellation.
* libnautilus-extensions/nautilus-directory-private.h: Remove
request_read_metafile from the header.
* libnautilus-extensions/nautilus-directory.c:
(nautilus_directory_destroy): Eliminate the call to
nautilus_directory_stop_monitoring_file_list since that's now
handled by nautilus_directory_cancel.
* libnautilus-extensions/nautilus-file-private.h: Removed the
got_*_mime_type variables since they are the same as *_mime_type
!= NULL.
* libnautilus-extensions/nautilus-file.c: (destroy): Get rid of
checks for NULL before calling g_free.
(nautilus_file_update_info): Replace == FALSE with !. Simplified
some tortuous logic by getting rid of checks for NULL that weren't
needed and booleans that weren't needed.
(get_either_mime_type): Add helper to make it easier to avoid
confusion between default and slow MIME type.
(nautilus_file_compare_by_type): Use get_either_mime_type so it
works when default MIME type is NULL.
(nautilus_file_get_type_as_string): Use get_either_mime_type so it
works when default MIME type is NULL.
(nautilus_file_get_slow_mime_type): Simplified logic. Also got rid
of "application/nonono" which was left here by accident.
(nautilus_file_get_mime_type): Simplified logic and use
get_either_mime_type to share code.
(nautilus_file_is_mime_type): Simplified logic and use
get_either_mime_type to share code.
* src/file-manager/fm-directory-view.c: Format tweaks.
* user-guide/C/Makefile.am: Not so much echoing as we install.
2000-10-17 Gene Z. Ragan <gzr@eazel.com>
Fixed bug 3716, Bonobo paths for applications and
viewers must be unique.
Added unique index to bonobo path name.
* src/file-manager/fm-directory-view.c:
(add_open_with_app_bonobo_menu_item),
(add_open_with_viewer_bonobo_menu_item),
(add_application_to_bonobo_menu), (add_component_to_bonobo_menu),
(reset_bonobo_open_with_menu):
2000-10-17 John Sullivan <sullivan@eazel.com>
Made "this application can only handle local files"
dialog be parented on the NautilusWindow from whence
it came.
* libnautilus-extensions/nautilus-program-choosing.h:
* libnautilus-extensions/nautilus-program-choosing.c:
(nautilus_launch_application_parented): Removed this function
(nautilus_launch_application): Made this function take a
parent (can be NULL, but better not to be).
* src/file-manager/fm-directory-view.c:
(fm_directory_view_launch_application): Remove "_parented"
* src/nautilus-sidebar.c:
(nautilus_sidebar_get_window): New helper function to get
enclosing window.
(command_button_callback),
(nautilus_sidebar_chose_application_callback): Pass parent
window to nautilus_launch_application.
2000-10-17 Andy Hertzfeld <andy@eazel.com>
* src/nautilus-window.c: (nautilus_window_constructed),
(nautilus_window_set_content_view_widget):
fixed bug 3411, the sidebar resizes itself when viewing the
summary page, by setting the "shrink" boolean to true
when adding the content view container to the splitter.
2000-10-17 John Sullivan <sullivan@eazel.com>
Fixed bug 3824 (Files in search list have unknown type)
* libnautilus-extensions/nautilus-file.c:
(nautilus_file_get_type_as_string): Made this check cached
slow_mime_type as well as cached default_mime_type. I'm worried
about this whole area -- why did we differentiate the two? I'll
bet there are other lurking bugs around here.
2000-10-17 John Sullivan <sullivan@eazel.com>
Fixed bug 3825 (Bonobo error messages viewing search results)
Fixed bug 3826 ("Reveal in New Window" misplaced in context menu)
* src/file-manager/fm-directory-view.c:
(append_selection_menu_subtree): take an identifier, store
it in menu item for later identification, just like other menu
items. This will all change when we switch to using Bonobo for
context menus.
(fm_directory_view_real_create_selection_context_menu_items):
Pass the identifier that list view code was expecting to find.
* src/file-manager/fm-search-list-view.c:
fixed typo in COMMAND_REVEAL_IN_NEW_WINDOW #define. Those darn
typos are deadly with new Bonobo.
2000-10-17 Pavel Cisler <pavel@eazel.com>
* libnautilus-extensions/nautilus-file-operations.c:
(get_next_duplicate_name):
Part of fix to but 2840 - URI parsing works wrong for URIs with
# characters. I noticed duplicating and creating links to files
with funny characters like # was broken and added proper escaping
code to fix it.
2000-10-17 Robey Pointer <robey@eazel.com>
* components/services/install/lib/eazel-install-logic.c:
(eazel_install_do_transaction_all_files_check):
* components/services/install/lib/eazel-install-types.c:
(categorydata_list_copy), (categorydata_copy),
(categorydata_destroy_foreach), (categorydata_list_destroy),
(packagedata_fill_from_rpm_header):
* components/services/install/lib/eazel-install-types.h:
Fix missing param in prune_packages. Make categorydata_list_copy
stop iterating sometime in my life. Add matching
categorydata_list_destroy.
* nautilus-installer/src/callbacks.c: (begin_install):
* nautilus-installer/src/installer.c: (jump_to_error_page),
(start_over), (dont_start_over), (create_finish_page_good),
(get_required_name), (get_detailed_errors_foreach),
(get_detailed_errors), (install_failed), (eazel_install_dep_check),
(eazel_install_delete_files), (install_done), (toggle_button_lock),
(eazel_installer_add_category), (check_system),
(eazel_installer_do_install), (eazel_install_get_depends):
* nautilus-installer/src/installer.h:
* nautilus-installer/src/link.sh:
Further attempts at recovering from a common error case (where the
user ought to upgrade gnumeric too). Fix up some of the text to
match biz requirements. Make a copy of the category list before
doing the install-lib call, so that it doesn't munge our pristine
list for the cases where we want to try again later.
2000-10-17 Andy Hertzfeld <andy@eazel.com>
* components/music/nautilus-music-view.c:
(nautilus_music_view_initialize), (ensure_uri_is_image),
(set_album_cover), (dialog_destroy), (set_image_button_callback),
(nautilus_music_view_set_album_image):
for bug 2261, added a "set cover image" button to the music view,
which is visible when there's no cover, which displays a file
selector, and set the metadata when the user selects a valid image.
This is almost complete, but it's not quite working yet.
* src/nautilus-shell.c: (display_caveat):
increased the font size of the caveat to 14pt, since it was
a little too hard to read and there was plenty of space.
2000-10-16 Andy Hertzfeld <andy@eazel.com>
* src/file-manager/fm-icon-view.c: (fm_icon_view_update_menus):
fixed occasional segfaults from fm_icon_view_update_menus
being called from idle after they've been destroyed; fixed by
exiting if the menus_ready boolean is clear.
* components/music/nautilus-music-view.c:
(nautilus_music_view_set_album_image), (metadata_callback),
(nautilus_music_view_update_from_uri):
fixed bug 3720, music view asks for album cover metadata incorrectly.
Fixed by doing it correctly, using nautilus_file_call_when_ready.
This also partially fixes bug 2261, but it's still too hidden, so
I won't close it out until we have an explicit way to do it.
2000-10-17 Mathieu Lacage <mathieu@eazel.com>
fix "do nothing" part of bug 3640
* components/tree/nautilus-tree-view.c: move
re-init of code from drag_leave to drag_begin.
2000-10-16 Andy Hertzfeld <andy@eazel.com>
* src/file-manager/fm-icon-view.c: (fm_icon_view_destroy):
fixed a problem where we generated a zillion bonobo criticals
when the view changed. The problem was that the fm-icon-view
was trying to update the layout menus while it was being destroyed,
after the menus were already gone. The fix is clearing the
"menus_ready" boolean at the start of the destroy method.
2000-10-16 Eskil Heyn Olsen <eskil@eazel.com>
* nautilus.spec.in:
Reverting change to check >= vs = issue.
2000-10-16 Eskil Heyn Olsen <eskil@eazel.com>
* nautilus.spec.in:
Changed the dep of nautilus-maozilla to mozilla = M18 instead of
mozilla-M18. I can't put in >= M18, because rpm's fucks up on
alphachar versions.
2000-10-16 Eskil Heyn Olsen <eskil@eazel.com>
* components/services/install/lib/eazel-install-logic.c:
(eazel_install_fetch_dependencies), (dump_one_package),
(dump_packages_foreach), (dump_packages),
(eazel_install_ensure_deps):
Debug output.
Revamping the error tree for failures' reg. circular conflicts.
* components/services/install/lib/eazel-install-types.c:
(categorydata_list_copy), (categorydata_copy),
(packagedata_list_copy), (eazel_install_requirement_dep_compare):
Fixed a bug in the copy functions and the dep_compare.
* nautilus-installer/src/Makefile:
Yeah...
* nautilus-installer/src/installer.c:
(get_detailed_errors_foreach):
Inserting code to make the circular conflict handling nice.
2000-10-16 Ramiro Estrugo <ramiro@eazel.com>
* nautilus.spec.in:
Fix a typo in the required version of mozilla.
2000-10-16 Ramiro Estrugo <ramiro@eazel.com>
* configure.in:
Remove extraneous debugging printf.
2000-10-16 Rebecca Schulman <rebecka@eazel.com>
* libnautilus/nautilus-clipboard.c: (add_menu_items_callback),
(ui_component_remove_container_and_unref),
(finish_setting_up_editable),
Fixed a problem with the clipboard caused by having many components
in the same container with the same name, and fixed a potential
leak.
2000-10-16 John Sullivan <sullivan@eazel.com>
Fixed bug 3789 (Zoom In/Zoom Out/Back/Forward have lost
their control-key equivalents)
* src/nautilus-shell-ui.xml: Updated the specification
of non-alphanumeric keyboard equivalents to the new
required style ("*Control*equal", not "*Control*=").
2000-10-16 John Sullivan <sullivan@eazel.com>
* libnautilus-extensions/nautilus-directory-async.c:
(mime_list_load): Added a (conditional) line of spam for
when load_directory is called to get the MIME list.
2000-10-16 Eskil Heyn Olsen <eskil@eazel.com>
* components/services/install/command-line/Makefile.am:
* components/services/install/command-line/eazel-alt-install.c:
* components/services/install/command-line/eazel-install.c:
* components/services/install/command-line/eazel-package-query.c:
* components/services/install/command-line/eazel-revert.c:
* components/services/install/command-line/eazel-uninstall.c:
Removed these old evil files.
* components/services/install/lib/eazel-install-types.h:
* components/services/install/lib/eazel-install-types.c:
(categorydata_list_copy), (categorydata_copy),
(packagedata_list_copy), (packagedata_copy):
Implemented package & categorydata copy functions.
* components/services/trilobite/libtrilobite/trilobite-core-distrib
ution.h:
* components/services/trilobite/libtrilobite/trilobite-core-distrib
ution.c: (determine_mandrake_version), (determine_suse_version),
(determine_debian_version):
Removed g_assert_not_reached calls. Also added enum for YELLOWDOG.
* nautilus-installer/src/Makefile:
* nautilus-installer/src/installer.c: (get_required_name),
(get_detailed_errors_foreach), (get_detailed_errors),
(eazel_install_dep_check), (check_system):
Doing some funk to handle circular deps better.
2000-10-16 John Sullivan <sullivan@eazel.com>
* libnautilus-extensions/nautilus-list.c:
(nautilus_list_keyboard_navigation_key_press),
(nautilus_list_get_first_selected_row),
(nautilus_list_get_last_selected_row):
* libnautilus-extensions/nautilus-list.h:
Finished up Matt Bissiri's earlier checkin for him.
Removed the confusingly almost-redundant
nautilus_clist_get_first/last_selected_row; made
nautilus_list_get_last_selected_row public to match
get_first_selected_row. Thanks to Matt for the patch.
2000-10-16 Darin Adler <darin@eazel.com>
* libnautilus-extensions/nautilus-global-preferences.c: Changed
the search default to the one at Eazel as planned.
2000-10-16 Pavel Cisler <pavel@eazel.com>
* cut-n-paste-code/widgets/gtkclist/Makefile.am:
* cut-n-paste-code/widgets/gtkclist/gtkclist.c:
* cut-n-paste-code/widgets/gtkclist/gtkclist.h:
Get rid of obsolete copy of GtkCList.
2000-10-12 Pavel Cisler <pavel@eazel.com>
* src/file-manager/fm-list-view.c: (fm_list_get_drag_pixmap):
Fix 3558 - Nautilus crashes with a specific sequence of icon
dragging ...
Handle a case where the cell pixmap does not have a mask.
* libnautilus-extensions/nautilus-icon-container.c:
(motion_notify_event):
Small renaming.
* libnautilus-extensions/nautilus-list.c:
(nautilus_list_dnd_initialize), (nautilus_list_drag_begin):
Get rid of a drag_begin signal override that is not needed.
2000-10-16 Josh Barrow <josh@eazel.com>
* icons/Makefile.am:
* icons/emblem-symbolic-link-*.png
Removed all of the different size symbolic link icons. They
were useless as the emblems are now stuck at the defautl size.
2000-10-16 Rebecca Schulman <rebecka@eazel.com>
Fixed bug 3745, that reverse sort order / tighter
layout buttons weren't working after the newest bonobo
changes
* src/file-manager/fm-icon-view.c:
(tighter_layout_state_changed_callback),
(fm_icon_view_create_background_context_menu_items),
(sort_reversed_state_changed_callback), (fm_icon_view_merge_menus):
Changed the callbacks for the buttons to use listeners and ids
rather than verbs.
* src/file-manager/nautilus-icon-view-ui.xml:
Added id fields
2000-10-16 Ramiro Estrugo <ramiro@eazel.com>
* acconfig.h:
* configure.in:
Define the build timestamp only if given in the environment.
* libnautilus-extensions/nautilus-file-utilities.c:
(nautilus_get_build_timestamp):
* libnautilus-extensions/nautilus-file-utilities.h:
New function to obtain the build timestamp.
* src/nautilus-window-manage-views.c:
(window_set_title_with_timestamp), (update_title):
* src/nautilus-window-menus.c: (get_about_box_timestamp_string),
(help_menu_about_nautilus_callback):
Display the build timestamp in both the about box and window
title. This only happens if the build timestamp is set at
compile time.
2000-10-16 Ramiro Estrugo <ramiro@eazel.com>
* README:
Update docs for the fact that we now require Mozilla-M18.
* components/mozilla/nautilus-mozilla-content-view.c:
(mozilla_content_view_one_time_happenings),
(nautilus_mozilla_content_view_initialize),
(nautilus_mozilla_content_view_destroy),
(mozilla_load_location_callback), (mozilla_net_state_callback),
(mozilla_dom_mouse_click_callback),
(mozilla_translate_uri_if_needed),
(mozilla_untranslate_uri_if_needed):
Cleanup a bunch of pre Mozilla M18 code. Turn of a rogue printf.
Remove the cut-n-pasted Bonobo merging code. We can add it back
if we ever have something we really need to merge.
* configure.in:
Update for new Mozilla M18 requirement. Bail of detected Mozilla
is not M18.
* nautilus.spec.in:
Add mozilla-m18 dependency to the nautilus-mozilla package.
2000-10-16 Ramiro Estrugo <ramiro@eazel.com>
* libnautilus-extensions/nautilus-label.c:
(nautilus_label_set_line_wrap_separators):
Fix memory leak.
2000-10-16 John Sullivan <sullivan@eazel.com>
Fixed bug 3582 (warning on boot due to verb/button problem
in non-Eazel-service build)
* src/nautilus-window-toolbars.c:
(nautilus_window_initialize_toolbars): Call set_hidden on
the command, not the widget. We were waiting for a Bonobo
fix to make this change, because it didn't work last time
we tried. But now it does, so the Bonobo fix must have
occurred.
2000-10-16 John Sullivan <sullivan@eazel.com>
Fixed bug 3753 (status bar shows selected items info even
after they are deselected)
* src/nautilus-window.c:
(nautilus_window_clear_status): Reinstate workaround (and
associated FIXME) of passing " " to clear the status. This
had been fixed in Bonobo but was rebroken some time in the
last few days.
(nautilus_window_set_status): Call nautilus_window_clear_status
when the desired status text is empty or NULL, instead of
ignoring the request.
2000-10-16 Matt Bissiri <bissiri@eecs.umich.edu>
* libnautilus-extensions/nautilus-list.c:
(nautilus_clist_get_first_selected_row),
(nautilus_clist_get_last_selected_row):
Now that NautilusList derives from NautilusCList instead of GtkCList,
do not call `nautilus_gtk_clist_get_first_selected_row' or
`nautilus_gtk_clist_get_last_selected_row'.
Instead add implementation using NautilusCList instead of GtkCList.
This fixes a bug where up/down/pgup/pgdown keys did not work properly
when viewing directory as list.
(nautilus_list_get_first_selected_row):
To avoid code duplication, replace the body of this function
with a call to `nautilus_clist_get_first_selected_row'.
2000-10-16 Ramiro Estrugo <ramiro@eazel.com>
* libnautilus-extensions/nautilus-label.c:
(nautilus_label_initialize), (nautilus_label_destroy),
(render_buffer_pixbuf), (label_recompute_line_geometries),
(nautilus_label_set_line_offset),
(nautilus_label_get_drop_shadow_color),
(nautilus_label_set_line_wrap), (nautilus_label_get_line_wrap),
(nautilus_label_set_line_wrap_width),
(nautilus_label_get_line_wrap_width),
(nautilus_label_set_line_wrap_separators),
(nautilus_label_get_line_wrap_separators):
* libnautilus-extensions/nautilus-label.h:
Add support for line wrappping.
* src/nautilus-shell.c: (display_caveat):
Change the caveat text to not use hard coded new lines and use the
new NautilusLabel text wrapping feature instead.
* test/.cvsignore:
* test/Makefile.am:
* test/test-nautilus-label.c: (main):
* test/test-nautilus-wrapped-label.c: (delete_event),
(create_gtk_label), (create_nautilus_label),
(create_gtk_label_window), (create_nautilus_label_window), (main):
Add a test for the NautilusLabel line wrapping feature.
2000-10-16 Gene Z. Ragan <gzr@eazel.com>
Fixed an error where I was escaping the wrong item
to create a unique verb name.
* libnautilus-extensions/nautilus-bonobo-extensions.c:
(nautilus_bonobo_add_menu_item):
* src/nautilus-window-menus.c: (append_bookmark_to_menu):
2000-10-15 Andy Hertzfeld <andy@eazel.com>
* components/music/nautilus-music-view.c:
(nautilus_music_view_update_from_uri):
As Arlo suggested, moved the album cover image to the right
of the play controls, so the play controls appear in the same position
whether or not a cover image is present.
2000-10-15 Maciej Stachowiak <mjs@eazel.com>
* libnautilus-extensions/nautilus-file.h,
libnautilus-extensions/nautilus-file.c
(nautilus_file_get_file_info_result): Renamed and changed
interface.
* src/nautilus-applicable-views.c (got_file_info_callback,
nautilus_navigation_info_new, nautilus_navigation_info_cancel,
nautilus_navigation_info_free): Reorganize to use the new
NautilusFile features.
2000-10-15 Kjartan Maraas <kmaraas@gnome.org>
* components/services/install/command-line/eazel-install.c:
s/RedHat/Red Hat Linux/g
2000-10-15 Andy Hertzfeld <andy@eazel.com>
* src/nautilus-throbber.c: (load_themed_image),
(nautilus_throbber_load_images):
implemented theme indirection for throbbers, so themes can
share throbbers
* icons/ardmore/ardmore.xml:
made the ardmore theme use the eazel theme's throbber
* libnautilus-extensions/nautilus-icon-container.c:
(nautilus_icon_container_update_icon):
at Susan's suggestion, pinned emblem size to 100%, so emblems don't
get huge when you scale up.
2000-10-14 Andy Hertzfeld <andy@eazel.com>
* src/nautilus-throbber.c: (nautilus_throbber_initialize_class),
(nautilus_throbber_initialize), (nautilus_throbber_theme_changed),
(nautilus_throbber_size_allocate),
(nautilus_throbber_size_request):
made the throbber resize and reposition itself properly when the
theme changes by implementing size_request and calling queue_resize
when the theme changes.
2000-10-13 Andy Hertzfeld <andy@eazel.com>
* src/nautilus-throbber.c: (bump_throbber_frame),
(nautilus_throbber_load_images):
added support for throbbers with a different number of frames
by adding a frame count fetched from the theme data
* configure.in:
* icons/eazel/Makefile.am:
* icons/eazel/throbber/.cvsignore:
* icons/eazel/throbber/Makefile.am:
* icons/eazel/throbber/*.png:
added a eazel logo throbber to the eazel theme
* icons/eazel/eazel.xml:
* icons/default.xml:
* icons/gnome/gnome.xml:
added the appropriate frame count to the relevant themes.
2000-10-13 Robey Pointer <robey@eazel.com>
* components/services/install/lib/eazel-install-object.c:
(eazel_install_class_initialize), (eazel_install_install_packages):
* components/services/install/lib/eazel-install-rpm-glue.c:
(eazel_install_free_rpm_system_close_db_foreach):
* components/services/install/lib/eazel-install-rpm-glue.h:
Don't set up a default delete_files signal handler when not using
corba (otherwise it overrides the real signal). Clean up some
destroy code in preparation for making the bootstrap installer
able to retry.
2000-10-13 Robey Pointer <robey@eazel.com>
* libnautilus-extensions/nautilus-directory-async.c:
(cancel_mime_list), (nautilus_directory_cancel),
(set_up_request_by_file_attributes),
(nautilus_directory_monitor_add_internal),
(nautilus_async_destroying_file), (lacks_mime_list),
(wants_mime_list), (request_is_satisfied),
(nautilus_directory_invalidate_counts), (mime_list_one),
(mime_list_callback), (mime_list_load), (mime_list_start),
(start_or_stop_io):
* libnautilus-extensions/nautilus-directory-private.h:
* libnautilus-extensions/nautilus-file-attributes.h:
* libnautilus-extensions/nautilus-file-private.h:
* libnautilus-extensions/nautilus-file.c: (destroy),
(nautilus_file_recompute_deep_counts),
(nautilus_file_get_mime_list):
* libnautilus-extensions/nautilus-file.h:
Added mime-list support (can fetch the list of mime-types in the
subdirs of a directory) for bug 3364.
2000-10-13 Eskil Heyn Olsen <eskil@eazel.com>
* components/services/install/lib/eazel-install-rpm-glue.c:
(eazel_install_do_rpm_dependency_check):
Fix for 3537
* nautilus-installer/src/Makefile:
?
* nautilus.spec.in:
Fixing nautilus rpm build
2000-10-13 Rebecca Schulman <rebecka@eazel.com>
* libnautilus/nautilus-clipboard-ui.xml:
Fixed the names of these files to match the menu items in shell-ui
* libnautilus/nautilus-clipboard.h:
* libnautilus/nautilus-clipboard.c: (add_menu_items_callback),
(container_copy_free), (ui_component_remove_container_and_unref),
(finish_setting_up_editable),
(finish_setting_up_editable_from_bonobo_control_callback),
(nautilus_clipboard_set_up_editable_from_bonobo_control),
(nautilus_clipboard_set_up_editable_from_bonobo_ui_container):
Added the from_ui_container function for local editable widgets
to use, and changed the function sequence around so that the two
clipboard set up functions share an api except for the initial calling
functions
* src/nautilus-window-private.h:
* src/nautilus-window.c: (nautilus_window_constructed),
(nautilus_window_show), (nautilus_window_get_bonobo_ui_container),
(nautilus_window_get_bonobo_ui_component):
added the new nautilus-window_get_bonobo_ui_component function for local
editables to use, and changed the construction order so that menu items
would get merged correctly (set up the main window menus before setting
up the location bar)
* src/nautilus-complex-search-bar.c:
(nautilus_complex_search_bar_new):
* src/nautilus-complex-search-bar.h:
* src/nautilus-location-bar.c: (nautilus_location_bar_get_window),
(nautilus_location_bar_initialize), (nautilus_location_bar_new),
(nautilus_location_bar_set_location):
* src/nautilus-location-bar.h:
* src/nautilus-simple-search-bar.c:
(nautilus_simple_search_bar_initialize),
(nautilus_simple_search_bar_destroy),
(nautilus_simple_search_bar_new):
* src/nautilus-simple-search-bar.h:
* src/nautilus-switchable-navigation-bar.c:
(nautilus_switchable_navigation_bar_initialize),
(nautilus_switchable_navigation_bar_destroy),
(nautilus_switchable_navigation_bar_new):
* src/nautilus-switchable-navigation-bar.h:
* src/nautilus-switchable-search-bar.c:
(nautilus_switchable_search_bar_initialize),
(nautilus_switchable_search_bar_destroy),
(nautilus_switchable_search_bar_new):
* src/nautilus-switchable-search-bar.h:
Changed the location bar and switchable
search bar to take windows in the constructor funciton.
These are used to get the local ui component when
setting up the clipboard
2000-10-13 Eskil Heyn Olsen <eskil@eazel.com>
* nautilus.spec.in:
Updated deps to
bonobo >= 0.21
oaf >= 0.5.1
gdk-pixbuf >= 0.9.0
as those are the versions we're building against.
2000-10-13 Gene Z. Ragan <gzr@eazel.com>
Work in progress on creating unique ideas for menu items
added to the bookmarks menu.
* libnautilus-extensions/nautilus-bonobo-extensions.c:
* libnautilus-extensions/nautilus-bonobo-extensions.h:
(nautilus_bonobo_add_menu_item),
(nautilus_bonobo_get_menu_item_verb_name):
* src/file-manager/fm-directory-view.c:
(add_open_with_app_bonobo_menu_item),
(add_open_with_viewer_bonobo_menu_item):
* src/nautilus-window-menus.c: (append_bookmark_to_menu),
(create_menu_item_from_node), (append_dynamic_bookmarks),
(refresh_go_menu):
2000-10-13 John Sullivan <sullivan@eazel.com>
Fixed bug 3592 (rename text widget persists after dragging icon)
* libnautilus-extensions/nautilus-icon-container.c:
(motion_notify_event): added end_renaming_mode call
when a drag begins.
2000-10-13 Andy Hertzfeld <andy@eazel.com>
* libnautilus-extensions/nautilus-file.c:
(nautilus_file_get_type_as_string):
fixed bug 3711, sidebar says home directory is a "program", by
explicitly checking nautilus_file_is_directory if the mime-type
is NULL and returning "folder" in that case.
* src/nautilus-window-toolbars.c:
(nautilus_window_initialize_toolbars):
added some padding around the throbber to better position it in
the toolbar.
2000-10-13 John Sullivan <sullivan@eazel.com>
* src/nautilus-applicable-views.c:
(get_nautilus_navigation_result_from_gnome_vfs_result):
added GNOME_VFS_ERROR_INTERNAL to the known list of
errors that we can't say anything useful about, since
this is firing in some cases when Mozilla fails.
2000-10-13 John Sullivan <sullivan@eazel.com>
* src/file-manager/fm-directory-view.c: Changed the
SILENT_WINDOW_OPEN_LIMIT from 10 to 5 after feedback that
opening 9 windows accidentally was dragging someone's
machine into the muck.
2000-10-13 John Sullivan <sullivan@eazel.com>
Added some conditionalized debugging spam to help
investigate bug 3389 (performance problem with
load_directory getting called so often)
* libnautilus-extensions/nautilus-directory-async.c:
(start_monitoring_file_list), (start_getting_directory_counts),
(deep_count_load): Add #ifdeffed-out spam whenever
gnome_vfs_async_load_directory is called.
2000-10-13 Andy Hertzfeld <andy@eazel.com>
* data/emblems/Makefile.am:
* data/emblems/confidential.gif: removed
* data/emblems/cool.png:
* data/emblems/secret.png:
added new emblems from Susan, and deleted confidential
* icons/Makefile.am:
* icons/emblem-confidential.gif: removed
* icons/emblem-cool.svg:
* icons/emblem-distinguished.svg:
* icons/emblem-new.svg:
* icons/emblem-noread.svg:
* icons/emblem-nowrite.svg:
* icons/emblem-secret.svg:
added and updated emblems from Susan, and deleted the
confidential emblem (replace by "secret").
2000-10-12 Pavel Cisler <pavel@eazel.com>
* libnautilus-extensions/nautilus-list.c: (draw_row):
Fix 3607 and 3639. Both bugs were caused by the same lame
typo.
2000-10-13 Mathieu Lacage <mathieu@eazel.com>
* docs/state-machines.txt: new design for the state
machine taking into account the new async states.
* libnautilus-extensions/nautilus-bonobo-extensions.c:
(nautilus_bonobo_set_icon), (oaf_activation_callback),
(nautilus_bonobo_activate_from_id),
(nautilus_bonobo_activate_stop),
(nautilus_bonobo_activate_free):
add async activation call.
* libnautilus-extensions/nautilus-bonobo-extensions.h:
add prototypes.
* src/nautilus-view-frame.c:
(nautilus_view_frame_initialize_class), (view_frame_activating),
(view_frame_not_activated), (view_frame_activated),
(view_frame_stop_activation), (view_frame_wait),
(view_frame_underway), (view_frame_wait_is_over),
(view_frame_loaded), (view_frame_failed),
(nautilus_view_frame_set_to_component), (activation_callback),
(nautilus_view_frame_load_client_async),
(nautilus_view_frame_load_client),
(nautilus_view_frame_stop_activation),
(nautilus_view_frame_load_location):
implement new state machine. add comments to explain by which stimulus
the state-chaging functions are triggered.
* src/nautilus-view-frame.h:
add prototype for new async activation function of ViewFrames.
2000-10-12 Andy Hertzfeld <andy@eazel.com>
* src/Makefile.am:
* src/nautilus-toolbar.c:
* src/nautilus-toolbar.h:
removed the nautilus-toolbar class, since it was obsoleted by the
recent bonobo ui handler changes.
* src/nautilus-window-toolbars.c:
removed unused reference to nautilus-toolbar.h
2000-10-12 Ali Abdin <aliabdin@aucegypt.edu>
* components/help/converters/gnome-db2html2/toc-elements.c:
* components/help/converters/gnome-db2html2/sect-preparse.c:
* components/help/converters/gnome-db2html2/sect-elements.c:
* components/help/converters/gnome-db2html2/gdb3html.h:
Apply (modified) patch submitted by John Fleck (jfleck@inkstain.net)
for APPENDIX tag support
* components/help/converters/gnome-db2html2/sect-elements.c:
* components/help/converters/gnome-db2html2/toc-elements.c:
(sect_sect_start_element): Add in 'break;' at the appropriate sections
(oops - somebody forgot to include them).
Moved a misplaced 'break;' (which could have screwed up sect4/sect5
tags)
2000-10-12 John Sullivan <sullivan@eazel.com>
* src/file-manager/nautilus-directory-view-ui.xml:
"New Folder" was sadly lacking a tip.
2000-10-12 Darin Adler <darin@eazel.com>
Fixed bug 3578 (Mozilla component lacks tool bar button)
* components/mozilla/nautilus-mozilla-ui.xml:
Turn on the XML for the tool bar.
* src/nautilus-window-manage-views.c:
(nautilus_window_set_content_view): Took out dead code.
2000-10-12 J Shane Culpepper <pepper@eazel.com>
* nautilus.spec.in:
Fixind spec file for tinderbox build breakage.
2000-10-12 Mike Fleming <mfleming@eazel.com>
Back and forth: Darin and Maciej convince me to keep libammonite-gtk
and eazel-proxy-util in ammonite
* components/mozilla/Makefile.am:
* components/mozilla/nautilus-mozilla-content-view.c:
* components/services/trilobite/Makefile.am:
* components/services/trilobite/eazel-proxy-util/.cvsignore:
* components/services/trilobite/eazel-proxy-util/Makefile.am:
* components/services/trilobite/eazel-proxy-util/ammonite-methods.c
onf.sub:
* components/services/trilobite/eazel-proxy-util/eazel-proxy-util.c
:
* components/services/trilobite/libammonite-gtk/.cvsignore:
* components/services/trilobite/libammonite-gtk/Makefile.am:
* components/services/trilobite/libammonite-gtk/ammonite-login-dial
og.c:
* components/services/trilobite/libammonite-gtk/ammonite-login-dial
og.h:
* components/services/trilobite/libammonite-gtk/libammonite-gtk.c:
* components/services/trilobite/libammonite-gtk/libammonite-gtk.h:
* configure.in:
* nautilus.spec.in:
2000-10-12 J Shane Culpepper <pepper@eazel.com>
* components/services/login/nautilus-view/nautilus-change-password-
view.c: (generate_change_password_form), (entry_changed_cb),
(authn_succeeded), (authn_failed), (start_change_password),
(change_password_button_cb), (maintenance_button_cb),
(nautilus_change_password_view_initialize_class),
(nautilus_change_password_view_initialize),
(nautilus_change_password_view_destroy),
(nautilus_change_password_view_get_nautilus_view),
(nautilus_change_password_view_load_uri),
(change_password_load_location_callback):
* components/services/login/nautilus-view/nautilus-change-password-
view.h:
* components/services/login/nautilus-view/nautilus-change-password-
view.oafinfo:
Adding missing files. Sorry about that.
2000-10-12 J Shane Culpepper <pepper@eazel.com>
* components/services/login/nautilus-view/.cvsignore:
* components/services/login/nautilus-view/Makefile.am:
* components/services/login/nautilus-view/main.c:
(change_password_object_destroyed), (change_password_make_object),
(main):
* components/services/login/nautilus-view/nautilus-login-view.c:
* components/services/login/nautilus-view/nautilus-login-view.h:
* components/services/login/nautilus-view/nautilus-login-view.oafin
fo:
Fix for Bug # 3065. Renamed login view to change password view.
2000-10-12 John Sullivan <sullivan@eazel.com>
Fixed bug 3717 (Unchecking "show built-in bookmarks" doesn't
make them go away)
* src/nautilus-window-menus.c:
tweaked the names of a couple of #defines
(refresh_bookmarks_menu): Added parameter check.
(nautilus_window_remove_bookmarks_menu_items): Remove the
built-in bookmarks as well as the dynamic ones.
(nautilus_window_remove_go_menu_items), (append_dynamic_bookmarks),
(refresh_go_menu): Updated for #define name change.
2000-10-12 Maciej Stachowiak <mjs@eazel.com>
* libnautilus-extensions/nautilus-directory-background.c: Change
"file" back to "directory" because it was actually part of the
theme file format, not an internally used string as I first
thought.
2000-10-12 Mike Fleming <mfleming@eazel.com>
* components/services/trilobite/eazel-proxy-util/Makefile.am:
* components/services/trilobite/libammonite-gtk/ammonite-login-dial
og.c:
Fix build break
2000-10-12 Michael Engber <engber@eazel.com>
* components/music/nautilus-music-view.c:
(nautilus_music_view_initialize), (nautilus_music_view_load_uri),
(music_view_background_appearance_changed_callback):
Music views now update the color of their label text when
the background changes. (bug 3571)
* libnautilus-extensions/nautilus-gdk-extensions.h:
Added some color constants with opaque alpha values,
removed leading underscores from macro variable names.
2000-10-12 Mike Fleming <mfleming@eazel.com>
Move libammonite-gtk and eazel-proxy-util from ammonite to
nautilus/components/services/trilobite. libammonite-gtk will
soon be dependant on libnautilus-extensions
* components/mozilla/Makefile.am:
* components/mozilla/nautilus-mozilla-content-view.c:
* components/services/trilobite/Makefile.am:
* components/services/trilobite/eazel-proxy-util/.cvsignore:
* components/services/trilobite/eazel-proxy-util/Makefile.am:
* components/services/trilobite/eazel-proxy-util/ammonite-methods.c
onf.sub:
* components/services/trilobite/eazel-proxy-util/eazel-proxy-util.c
:
* components/services/trilobite/libammonite-gtk/.cvsignore:
* components/services/trilobite/libammonite-gtk/Makefile.am:
* components/services/trilobite/libammonite-gtk/ammonite-login-dial
og.c:
* components/services/trilobite/libammonite-gtk/ammonite-login-dial
og.h:
* components/services/trilobite/libammonite-gtk/libammonite-gtk.c:
* components/services/trilobite/libammonite-gtk/libammonite-gtk.h:
* configure.in:
* nautilus.spec.in:
2000-10-12 Darin Adler <darin@eazel.com>
* src/nautilus-window-manage-views.c: (stop_loading),
(stop_loading_cover), (nautilus_window_stop_loading): Add calls to
tell views to stop loading. Fixes bug 2939 (NautilusView stop call
never made when stop button pressed).
2000-10-12 Darin Adler <darin@eazel.com>
Fixed two bugs that got in Pavel's and my way as we were testing
our bug fixes.
* libnautilus-extensions/nautilus-directory.c:
(nautilus_directory_notify_files_removed): Fix bug where it won't
update the directory count if there is no NautilusFile object
already existing for the file.
(nautilus_directory_notify_files_moved): Mark any overwritten file
as "gone" instead of just having two non-gone NautilusFile objects
with the same URI.
* src/file-manager/fm-desktop-icon-view.h:
* src/file-manager/fm-desktop-icon-view.c:
(fm_desktop_icon_view_destroy), (fm_desktop_icon_view_initialize),
(mount_unmount_removable): Got rid of code that acted like the
volume monitor belonged to it. The main problem was destroying it,
which is wrong in any case (at most you'd unref it, but even that
is illegal since nautilus_volume_monitor_get doesn't return a
ref).
2000-10-12 Darin Adler <darin@eazel.com>
* components/music/nautilus-music-view.c:
(nautilus_music_view_update_from_uri): Add a FIXME.
* libnautilus-extensions/nautilus-directory-async.c:
(is_tentative), (get_non_tentative_file_list),
(nautilus_directory_monitor_add_internal), (ready_callback_call):
Change callbacks so they won't redundantly report files that
haven't really been discovered to exist.
* src/file-manager/fm-directory-view.c:
(fm_directory_view_destroy): Fixed NautilusFile leak by adding an
unref of "directory_as_file".
(file_list_from_uri_list), (selection_changed_callback),
(display_pending_files): Simplified some selection-related code.
* src/file-manager/fm-directory-view.c:
(fm_directory_view_real_merge_menus): Use DATADIR instead of
NAUTILUS_DATADIR, since that's where the UI XML files are. Not
sure why this wasn't checked in last time.
* src/nautilus-window.c: (nautilus_window_constructed): Use
DATADIR instead of NAUTILUS_DATADIR, since that's where the UI XML
files are. Not sure why this wasn't checked in last time.
* src/nautilus-main.c: (main): Add more domains to the list of the
ones that are fatal. Maybe we can somehow use --g-fatal-warnings
instead some day, but that makes the warnings core dump, and we
like to be able to continue.
* src/nautilus-window-manage-views.c:
(nautilus_window_begin_location_change): Removed the misguided
event loop from here. It could only cause problems and contained
no motivating comment explaining why it's a good idea.
2000-10-12 J Shane Culpepper <pepper@eazel.com>
* components/services/login/nautilus-view/nautilus-login-view.oafinfo:
Fixing oafinfo to point to eazel-pw:
2000-10-12 John Sullivan <sullivan@eazel.com>
Fixed bug 3718 ("Open With" submenu enabled when it shouldn't be)
* src/file-manager/fm-directory-view.c:
(selection_contains_one_item_in_menu_callback),
(selection_not_empty_in_menu_callback): Improved error messages.
(open_with_other_program): Used selection_contains_one_item_
in_menu_callback to avoid crash if menu state doesn't match
expectations.
(reset_bonobo_open_with_menu): Sensitize the "Open With" submenu
appropriately.
2000-10-12 Maciej Stachowiak <mjs@eazel.com>
* libnautilus-extensions/nautilus-directory-metafile.h,
libnautilus-extensions/nautilus-directory-metafile.c
(nautilus_directory_get_metadata, nautilus_directory_set_metadata,
nautilus_directory_get_metadata_list,
nautilus_directory_set_metadata_list,
nautilus_directory_get_boolean_metadata,
nautilus_directory_set_boolean_metadata,
nautilus_directory_get_integer_metadata,
nautilus_directory_set_integer__metadata): Bye bye to directory
metadata.
(set_metadata_string_in_metafile): don't worry about the directory
metadata case any more.
(nautilus_directory_get_boolean_file_metadata,
nautilus_directory_set_boolean_file_metadata,
nautilus_directory_get_integer_file_metadata,
nautilus_directory_set_integer_file_metadata): Helper functions
for implementing NautilusFile metadata convenience wrappers.
* libnautilus-extensions/nautilus-file.h,
libnautilus-extensions/nautilus-file.c:
(nautilus_file_get_boolean_metadata,
nautilus_file_get_integer_metadata,
nautilus_file_set_boolean_metadata,
nautilus_file_set_integer_metadata): Convenience wrappers for
boolean or integer file metadata.
* libnautilus-extensions/nautilus-directory.h,
libnautilus-extensions/nautilus-directory.c
(nautilus_directory_initialize_class,
nautilus_directory_emit_metadata_changed): removed
"metadata_changed" signal.
(got_metadata_callback): Don't assert the file list is NULL.
(nautilus_self_check_directory): Use file metadata API.
* libnautilus-extensions/nautilus-metadata.h: No more
per-directory metadata, it's all per file now.
* libnautilus-extensions/nautilus-directory-background.h,
libnautilus-extensions/nautilus-directory-background.c
(nautilus_file_background_set_desktop,
nautilus_file_background_is_desktop,
nautilus_file_background_peek_theme_source,
nautilus_file_background_get_default_settings,
nautilus_file_background_read_desktop_settings,
nautilus_file_background_write_desktop_settings,
nautilus_file_background_write_desktop_default_settings,
call_settings_changed, nautilus_file_background_event_filter,
desktop_background_destroyed_callback,
nautilus_file_background_receive_root_window_changes,
nautilus_file_update_root_window, nautilus_file_background_is_set,
background_changed_callback, saved_settings_changed_callback,
nautilus_file_background_theme_changed, background_reset_callback,
background_destroyed_callback,
nautilus_connect_background_to_file_metadata,
nautilus_connect_desktop_background_to_file_metadata,
nautilus_connect_background_to_file_metadata_by_uri): Work off of
file metadata, not directory metadata, and thus take a
NautilusFile not a NautilusDirectory.
* libnautilus-extensions/nautilus-mime-actions.c:
(nautilus_file_wait_for_metadata,
nautilus_mime_get_default_action_type_for_uri,
nautilus_mime_get_default_application_for_uri_internal,
nautilus_mime_get_default_component_for_uri_internal,
nautilus_mime_get_short_list_applications_for_uri,
nautilus_mime_get_short_list_components_for_uri,
nautilus_mime_get_all_applications_for_uri,
nautilus_mime_get_all_components_for_uri,
nautilus_mime_set_default_action_type_for_uri,
nautilus_mime_set_default_application_for_uri,
nautilus_mime_set_default_component_for_uri,
nautilus_mime_set_short_list_applications_for_uri,
nautilus_mime_set_short_list_components_for_uri,
nautilus_mime_extend_all_applications_for_uri,
nautilus_mime_remove_from_all_applications_for_uri,
get_explicit_content_view_iids_from_metafile): Use file metadata,
not directory metadata.
* src/file-manager/fm-directory-view.h,
src/file-manager/fm-directory-view.c
(fm_directory_view_get_directory_as_file): Function to access the
NautilusFile we now keep around that represents the directory
itself.
(fm_directory_view_initialize_class, files_have_any_custom_images,
compute_menu_item_info, fm_directory_view_activate_file,
fm_directory_view_load_uri, metadata_ready_callback,
disconnect_model_handlers, fm_directory_view_real_is_read_only,
showing_trash_directory): Use file metadata, not directory
metadata, and use the new `directory_as_file' field where
appropriate.
(finish_loading_uri): Monitor more files attributes (the ones
needed to get an icon, plus ones we might actually display in a
directory view.
* src/file-manager/fm-desktop-icon-view.c
(fm_desktop_icon_view_create_background_context_menu_items): Use
file metadata not directory metadata.
* src/file-manager/fm-icon-view.h,
src/file-manager/fm-icon-view.c: (set_sort_criterion,
tighter_layout_callback, fm_icon_view_get_directory_sort_by,
fm_icon_view_real_get_directory_sort_by,
fm_icon_view_set_directory_sort_by,
fm_icon_view_real_set_directory_sort_by,
fm_icon_view_get_directory_sort_reversed,
fm_icon_view_real_get_directory_sort_reversed,
fm_icon_view_set_directory_sort_reversed,
fm_icon_view_real_set_directory_sort_reversed,
fm_icon_view_get_directory_auto_layout,
fm_icon_view_real_get_directory_auto_layout,
fm_icon_view_set_directory_auto_layout,
fm_icon_view_real_set_directory_auto_layout,
fm_icon_view_get_directory_tighter_layout,
fm_icon_view_real_get_directory_tighter_layout,
fm_icon_view_set_directory_tighter_layout,
fm_icon_view_real_set_directory_tighter_layout, set_sort_reversed,
fm_icon_view_begin_loading, fm_icon_view_set_zoom_level,
sort_direction_callback, layout_changed_callback,
icon_container_preview_callback, icon_position_changed_callback):
Use file metadata not directory metadata.
* src/file-manager/fm-list-view.c: (fm_list_view_begin_loading,
fm_list_view_set_zoom_level, fm_list_view_sort_items): Use file
metadata not directory metadata.
* src/file-manager/fm-search-list-view.c (real_adding_file): Tweak
the code that monitors file attributes.
* components/music/nautilus-music-view.c
(nautilus_music_view_update_from_uri): Use the new
nautilus_file_background API.
2000-10-12 Pavel Cisler <pavel@eazel.com>
* libnautilus-extensions/nautilus-icon-container.c:
(nautilus_icon_container_scroll):
* libnautilus-extensions/nautilus-icon-dnd.c:
(nautilus_icon_container_position_shadow),
(auto_scroll_timeout_callback), (handle_local_move):
* libnautilus-extensions/nautilus-icon-private.h:
Fix a bug where the drag&drop selection shadow would sometimes
run away from the dragged icons. This is kind-of related to 3406
that I fixed earlier today. The problem happened when
an autoscroll didn't actually happen because the adjustment
values got clamped but the adjustment delta did get applied to
the initial cached drag start location.
Made nautilus_icon_container_scroll return a boolean determining
if a scroll actually happened.
2000-10-12 Robey Pointer <robey@eazel.com>
* nautilus-installer/src/callbacks.c: (begin_install),
(prep_finish), (prep_lock):
* nautilus-installer/src/callbacks.h:
* nautilus-installer/src/installer.c: (start_over),
(dont_start_over), (jump_to_retry_page), (while),
(get_detailed_errors_foreach), (eazel_installer_do_install):
* nautilus-installer/src/installer.h:
First swing at making the bootstrap installer able to recover from
file conflict errors by attempting to download upgraded versions
of what we'd break.
2000-10-12 Andy Hertzfeld <andy@eazel>
* src/nautilus-shell-ui.xml:
set the "pack-end" property on the throbber. This, combined
with a bunch of bonobo changes, fixes bug 3390, the throbber
is not properly positioned in the toolbar.
2000-10-11 Maciej Stachowiak <mjs@eazel.com>
* libnautilus-extensions/nautilus-directory.c:
(nautilus_directory_notify_files_removed,
nautilus_directory_notify_files_moved): Use
`nautilus_file_get_existing', not `nautilus_file_get', to check if
a file is already known. `nautilus_file_get' would have created
new NautilusFiles and NautilusDirectories only to do redundant
notification later in the function. Also, the old code was a bit
silly because `nautilus_file_get' only returns NULL for a NULL
URI.
Work towards bug 3362, eliminate directory metadata.
* libnautilus-extensions/nautilus-file-attributes.h: Added
NAUTILUS_FILE_ATTRIBUTE_METADATA attribute.
* libnautilus-extensions/nautilus-directory-async.c
(set_up_request_by_file_attributes):
* libnautilus-extensions/nautilus-wait-until-ready.h,
libnautilus-extensions/nautilus-file.h,
libnautilus-extensions/nautilus-directory.h,
libnautilus-extensions/nautilus-directory.c,
libnautilus-extensions/nautilus-file.c
(nautilus_directory_call_when_ready,
nautilus_directory_wait_until_ready,
nautilus_directory_file_monitor_add,
nautilus_self_check_directory, nautilus_file_monitor_add,
nautilus_file_call_when_ready, nautilus_file_wait_until_ready):
Remove monitor_metadata or wait_for_metadata attribtues from these
calls; the new way to do it is to monitor or wait for the METADATA
file attribute.
* libnautilus-extensions/nautilus-directory-private.h
libnautilus-extensions/nautilus-directory-async.c:
(nautilus_directory_monitor_add_internal,
nautilus_directory_call_when_ready_internal,
nautilus_directory_check_if_ready_internal): Eliminate
monitor_metadata, wait_for_metadata, etc arguments.
* libnautilus-extensions/nautilus-merged-directory.c:
(merged_callback_connect_directory), (merged_call_when_ready),
(merged_file_monitor_add), (monitor_add_directory):
* libnautilus-extensions/nautilus-vfs-directory.c:
(vfs_call_when_ready), (vfs_file_monitor_add):
* libnautilus-extensions/nautilus-directory-background.c
(nautilus_connect_background_to_directory_metadata): Monitor
metadata the new approved way.
* libnautilus-extensions/nautilus-mime-actions.c
(nautilus_directory_wait_for_metadata,
nautilus_mime_get_default_component_for_uri_internal,
nautilus_mime_get_short_list_components_for_uri,
nautilus_mime_get_all_components_for_uri,
get_mime_type_from_file): Wait for metadata the new approved way.
* src/file-manager/fm-directory-view.c
(fm_directory_view_activate_file, fm_directory_view_load_uri,
finish_loading_uri, metadata_ready_callback):
Monitor/call_when_ready using the new API.
* src/file-manager/fm-properties-window.c:
(create_properties_window, fm_properties_window_present):
Monitor/call_when_ready using the new API.
* src/file-manager/fm-search-list-view.c (real_adding_file):
Monitor/call_when_ready using the new API.
* src/file-manager/nautilus-trash-monitor.c
(nautilus_trash_monitor_initialize): Monitor/call_when_ready using
the new API.
* src/nautilus-applicable-views.c (nautilus_navigation_info_new):
Monitor/call_when_ready using the new API.
* components/notes/nautilus-notes.c (notes_load_metainfo):
Monitor/call_when_ready using the new API.
* components/tree/nautilus-tree-model.c:
(nautilus_tree_model_monitor_add,
nautilus_tree_model_monitor_node): Monitor/call_when_ready using the new API.
* src/nautilus-sidebar-title.c, src/nautilus-sidebar-title.h
(nautilus_sidebar_title_set_uri): Monitor/call_when_ready using
the new API, and use file metadata instead of directory metadata.
* src/nautilus-sidebar.c (nautilus_sidebar_destroy,
nautilus_sidebar_add_panel_items,
nautilus_sidebar_background_is_default, receive_dropped_uri_list,
receive_dropped_color, receive_dropped_keyword,
(background_settings_changed_callback,
background_appearance_changed_callback, background_reset_callback,
open_with_callback, nautilus_sidebar_update_buttons,
nautilus_sidebar_update_appearance, nautilus_sidebar_set_uri):
Monitor/call_when_ready using the new API, and use file metadata
instead of directory metadata. Keep around a NautilusFile
representing the current sidebar location, simplifying bunches of
code and hopefully eliminating potential redundant I/O.
* src/nautilus-window-manage-views.c
(viewed_file_changed_callback, position_and_show_window_callback,
nautilus_window_end_location_change_callback):
Monitor/call_when_ready using the new API, and use file metadata
instead of directory metadata. Keep around a NautilusFile
representing the current sidebar location, simplifying bunches of
code and hopefully eliminating potential redundant I/O.
* src/nautilus-window.c (nautilus_window_save_geometry): Use file
metadata instead of directory metadata.
2000-10-11 Robey Pointer <robey@eazel.com>
* nautilus-installer/src/installer.c:
(get_detailed_errors_foreach), (get_detailed_errors),
(eazel_installer_do_install):
* nautilus-installer/src/installer.h:
* nautilus-installer/src/link.sh:
Increase the assumed max download to 75MB so the progressbar
doesn't overflow (yes, some people are downloading over 50MB!).
Add preliminary support for recoverable install errors (we notice
it but don't do anything yet). Add "push" command to linker.
2000-10-11 Eskil Heyn Olsen <eskil@eazel.com>
* components/sample/Makefile.am:
I couldn't rpm build without these fixes.
* components/services/install/command-line/eazel-alt-install-corba.
c: (create_package), (main):
Added the --id flag.
* components/services/install/lib/eazel-install-logic.c:
(eazel_install_download_packages),
(eazel_install_start_transaction),
(eazel_install_check_existing_packages),
(eazel_install_ensure_deps):
Fixed 3700, 3537, 3413.
* components/services/install/lib/eazel-install-protocols.h:
* components/services/install/lib/eazel-install-protocols.c:
(http_fetch_remote_file), (eazel_install_fetch_package):
Fixed 3413
* components/services/install/lib/eazel-install-rpm-glue.c:
(eazel_install_add_to_rpm_set),
Fixed a nastyness reg. source packages.
(eazel_install_do_rpm_dependency_check):
debug output (as if we don't have enough)
* components/services/install/lib/eazel-install-types.c:
Skeleton for a package_copy function
* components/services/install/nautilus-view/Makefile.am:
* components/services/install/nautilus-view/nautilus-service-instal
l-view.c: (nautilus_service_install_view_initialize),
(create_package), (nautilus_service_install_installing):
* components/services/install/nautilus-view/nautilus-service-instal
l-view.h:
* components/services/install/nautilus-view/nautilus-service-instal
l.c: (xnautilus_service_install_download_failed),
(xnautilus_service_install_failed_helper),
(xnautilus_service_install_failed),
(xnautilus_service_install_dependency_check),
(xnautilus_service_install_done),
(xnautilus_service_install_view_install_package_callback),
(xnautilus_service_install_view_uninstall_package_callback):
Removed the nautilus-service-install usage. Need to completely
remove it.
Worked on 3431
* nautilus-installer/src/Makefile:
* nautilus-installer/src/callbacks.c: (begin_install):
* nautilus-installer/src/installer.c: (create_window),
(check_system), (eazel_installer_do_install),
(eazel_installer_initialize):
* nautilus-installer/src/main.c:
Check for eazel-hacking presence.
2000-10-11 Pavel Cisler <pavel@eazel.com>
* libnautilus-extensions/nautilus-icon-dnd.c: (get_container_uri),
(receive_dropped_uri_list),
(handle_local_move), (handle_nonlocal_move),
(nautilus_icon_container_receive_dropped_icons),
(nautilus_icon_dnd_end_drag):
Fix 3406 - Dropped icon doesn't go where you dropped it.
There was a lot of confused code that calculated the drop location.
* libnautilus-extensions/nautilus-icon-dnd.c: (auto_scroll_timeout_callback):
Peformance improvement: only cause an auto-scroll update if the auto-scroll
delta is non-zero.
* libnautilus-extensions/nautilus-drag.c:
(nautilus_drag_autoscroll_calculate_delta):
Fix some white space.
2000-10-11 Rebecca Schulman <rebecka@eazel.com>
First part of the bug fix for 3514.
We still need to add a local clipboard interface,
and set up the clipboard to work with the location bar.
* components/notes/nautilus-notes.c: (make_notes_view):
Use the new clipboard api call
* libnautilus/nautilus-clipboard-ui.xml:
* libnautilus/Makefile.am:
Define DATADIR so we can install the new bonobo ui
xml file for the clipboard
* libnautilus/nautilus-clipboard.c: (cut_callback),
(copy_callback), (paste_callback), (clear_callback),
(add_menu_items_callback), (remove_menu_items_callback),
(ui_component_remove_container_and_unref),
(finish_setting_up_editable_from_bonobo_control),
(nautilus_clipboard_set_up_editable_from_bonobo_control):
Gutted the bonobo code from the old functions and added
new code where appropriate that should approximate the functionality
we had before the ui handler change
* src/nautilus-shell-ui.xml:
Declare the cut copy and paste menu items insensitive by default.
Maintain cmd/widget separation by creating separate commands for them.
* src/nautilus-window-menus.c: (nautilus_window_initialize_menus):
Remove unused cut, copy and paste callbacks
Removed ui verbs relating to these that we don't need.
2000-10-11 Darin Adler <darin@eazel.com>
* HACKING: Fixed typo.
* src/Makefile.am: Add DATADIR.
* src/file-manager/Makefile.am: Add DATADIR.
* src/nautilus-shell-ui.xml: Fix some upper-cased accelerators. Not
sure if they caused any real problem.
* src/nautilus-window-menus.c: (bookmark_holder_free_cover): Added
cover to avoid function type cast.
(append_bookmark_to_menu): Use cover.
(append_dynamic_bookmarks): Removed some commented out code
2000-10-11 Andy Hertzfeld <andy@eazel.com>
* libnautilus-extensions/nautilus-icon-factory.c:
fixed bug 3627, when an .xpm file is used as an emblem, it
shows up as a generic icon. Fixed by adding .xpm to the list
of image suffixes supported by the icon factory.
2000-10-11 John Sullivan <sullivan@eazel.com>
Fixed bug 3671 (Crash after closing & opening window)
A signal handler disconnect got lost in the Bonobo conversion.
It was causing a function to be called on a window after the
window was destroyed.
* src/nautilus-window-menus.c:
Add changed_handler_id field to BookmarkHolder.
(bookmark_holder_new): Connect signal handler, and set
changed_handler_id
(bookmark_holder_free): Use changed_handler_id to
disconnect signal handler
(append_bookmark_to_menu): Remove old signal connection code.
(nautilus_window_update_find_menu_item): Deleted unused-function
warning avoidance trick now that all functions are used again.
2000-10-11 Andy Hertzfeld <andy@eazel.com>
* src/nautilus-shell-ui.xml:
fixed bug 3638 (the bug that won "bug night"), weird extra button
between stop and services, by removing spurious text from the
xml file that somehow eluded the parser's error checking.
2000-10-11 Darin Adler <darin@eazel.com>
* src/nautilus-shell-ui.xml: Remove the Undo command.
* libnautilus-extensions/nautilus-entry.c:
(nautilus_entry_key_press): Clean up code structure in here a bit.
I expected to find code to handle Control-Z here, but I didn't
find it.
2000-10-11 Michael Engber <engber@eazel.com>
Tuck id of desktop window in root so other apps can detect when
Nautilus owns the desktop.
* libnautilus-extensions/nautilus-background.c:
(nautilus_background_ensure_image_scaled):
* libnautilus-extensions/nautilus-gdk-pixbuf-extensions.c:
(nautilus_gdk_scale_to_fit_factor),
(nautilus_gdk_pixbuf_scale_to_fit),
(nautilus_gdk_pixbuf_scale_down_to_fit):
* libnautilus-extensions/nautilus-gdk-pixbuf-extensions.h:
* src/nautilus-desktop-window.c:
(nautilus_desktop_window_realized), (nautilus_desktop_window_new),
(destroy):
2000-10-11 Darin Adler <darin@eazel.com>
Added a hash table to make access of files by name fast.
* libnautilus-extensions/nautilus-directory-async.c:
(dequeue_pending_idle_callback): Call the new
nautilus_directory_remove_file function to do the removing instead
of doing it here. Call the new nautilus_directory_add_file
function to do the adding instead of doing it here.
* libnautilus-extensions/nautilus-directory-private.h: Added hash
table.
* libnautilus-extensions/nautilus-directory.c:
(nautilus_directory_initialize): Create hash table.
(nautilus_directory_destroy): Destroy hash table.
(add_to_hash_table), (extract_from_hash_table),
(nautilus_directory_add_file), (nautilus_directory_remove_file):
New functions to add and remove files that put things into hash
table as well.
(nautilus_directory_begin_file_name_change),
(nautilus_directory_end_file_name_change): Functions to deal with
cases where the name changes so the hash table entry can be moved.
(nautilus_directory_find_file): Use the hash table instead of
searching the list.
(nautilus_directory_notify_files_moved): Use
nautilus_directory_remove_file and nautilus_directory_add_file
instead of modifying the file list directly.
* libnautilus-extensions/nautilus-file.c:
(nautilus_file_get_internal): Use nautilus_directory_add_file
instead of adding to the file list directly.
(destroy): Use nautilus_directory_remove_file instead of removing
from the file list directly.
(rename_update_info_and_metafile), (nautilus_file_update_info),
(nautilus_file_update_name): Use the new file name change calls to
let the directory know it needs to move the hash table entry.
(nautilus_file_mark_gone): Use nautilus_directory_remove_file
instead of removing from the file list directly.
* libnautilus-extensions/nautilus-vfs-directory.c: Update for name
change of file list field.
* src/nautilus-window.c: (nautilus_window_clear_status): Take
advantage of Bonobo fix. We now use NULL to tell the status bar to
erase our status message.
2000-10-11 Andy Hertzfeld <andy@eazel.com>
* src/nautilus-window-toolbars.c: (set_up_throbber_frame_type):
temporarily disabled shadow on the throbber frame, since it was
being mangled by the bonobo toolbar; I'll reinstate it when the
toolbar can support it.
* src/nautilus-property-browser.c:
(make_properties_from_directories):
removed debugging message that was accidently checked in
2000-10-11 J Shane Culpepper <pepper@eazel.com>
* components/services/summary/nautilus-view/nautilus-summary-view.c
: (generate_summary_form), (preferences_button_cb),
(register_button_cb):
Fixing a few minor gconf calls to use url table.
2000-10-11 John Sullivan <sullivan@eazel.com>
Fixed bug 3603 ("Select All Files" initially insensitive)
* src/file-manager/fm-directory-view.c: (done_loading):
Schedule a menu update when the directory contents are
finished loading.
2000-10-11 J Shane Culpepper <pepper@eazel.com>
* components/services/trilobite/libtrilobite/trilobite-redirect.c:
(wipe_redirect_table), (add_redirect), (trilobite_redirect_lookup):
Fixing bug #3686, summary-view crashes on gconf error. Fixed the
gconf wiping function to work with newest version of gconf.
2000-10-11 Darin Adler <darin@eazel.com>
* src/nautilus-window.c: (nautilus_window_destroy): Don't remove
the menu items for the bookmarks and go menu, since we are
removing the entire UI component, which will remove them
automatically. The old code removed them after first destroying
the UI component, which definitely did not work.
2000-10-11 Darin Adler <darin@eazel.com>
* libnautilus-extensions/nautilus-bonobo-extensions.c:
(nautilus_bonobo_get_label): Fixed storage leak.
(nautilus_bonobo_get_hidden): Fixed bug where an item without a
hidden property would say it was hidden, but the default is to not
be hidden. Also fixed a storage leak.
(nautilus_bonobo_add_menu_item), (nautilus_bonobo_add_submenu):
Added code to encode the label. This is due to the hack added to
bonobo so we can handle 8-bit characters in labels without
updgrading to gnome-xml 2.
(nautilus_bonobo_set_icon): Removed the code to get the old value
of the icon before setting the new value.
Also improved return_if_fail checks a bit. If we're going to have
them, they should check the type, not just != NULL.
* libnautilus-extensions/nautilus-bonobo-extensions.h: Fixed the
formatting and removed the old code in ifdef UIH.
* po/XMLFILES.in: Added a bunch of XML files that will one-day
need localization.
* src/file-manager/fm-icon-view.c: (update_layout_menus): Set up
the toggle state using the command rather than the menu item.
* src/nautilus-shell-ui.xml: First cut at making the location
bar expand. Needs feature in Bonobo too, which I will now add.
* components/services/install/command-line/Makefile.am: Added a
bunch of unused files to this makefile to quiet down the
check-headers-in-Makefile.pl script. This is the one directory
where we had dead C code that's not mentioned in the makefile.
2000-10-11 Gene Z. Ragan <gzr@eazel.com>
* libnautilus-extensions/nautilus-bonobo-extensions.c:
* libnautilus-extensions/nautilus-bonobo-extensions.h:
(nautilus_bonobo_set_tip):
New function to set the "tip" property of a bonobo
UI component.
* src/nautilus-window-menus.c: (append_bookmark_to_menu):
Call new function above to set tip of bookmark menu items.
2000-10-11 Andy Hertzfeld <andy@eazel.com>
* libnautilus-extensions/nautilus-icon-canvas-item.c:
(draw_label_text), (nautilus_icon_canvas_item_draw),
(draw_label_text_aa), (compute_text_rectangle):
at Arlo's request, added 2 pixels worth of space between the
bottom of an icon and it's label.
* libnautilus-extensions/nautilus-icon-container.c:
(key_press_event):
fixed bug where escaping from an icon stretch wasn't calling
relayout after restoring the icon size; now it is.
2000-10-11 Robin * Slomkowski <rslomkow@eazel.com>
* nautilus.spec.in: OK moved the eog dependency back
down to 0.3 as that exists in an installable format
even though this does not garruntee that it can be
used with nautilus
2000-10-10 Robin * Slomkowski <rslomkow@eazel.com>
* data/Makefile.am: added placeholder files
* data/nautilus-extras.placeholder: a mostly empty file so rpm will produce a package
* data/nautilus-suggested.placeholder: a mostly empty file so rpm will produce a package
* nautilus.spec.in: moved login-view to trilbite component, also added placeholder files
2000-10-10 Andy Hertzfeld <andy@eazel.com>
* src/nautilus-shell-ui.xml:
the about box menu command got broken by recent UI handler
changes; this fixes it.
2000-10-10 Andy Hertzfeld <andy@eazel.com>
* src/nautilus-sidebar.c: (receive_dropped_keyword),
(nautilus_sidebar_drag_data_received):
fixed bug where the eraser didn't work on the sidebar, and in the
process fixed bug 2509, sidebar should share emblem code, by
doing with work with nautilus_drag_file_receive_dropped_keyword.
2000-10-10 Robin * Slomkowski <rslomkow@eazel.com>
* nautilus.spec.in: left a stray :
2000-10-10 Robin * Slomkowski <rslomkow@eazel.com>
* nautilus.spec.in: did nasty crazy stuff to seperate out
into mozilla component, trilobite component, extras, and suggested
This makes use more than ever required to be dilligent in updating
libraries and binaries in the specfile.
2000-10-10 Pavel Cisler <pavel@eazel.com>
* src/nautilus-profiler.c: (dump_dialog_new), (dump_dialog_show),
(nautilus_profiler_bonobo_ui_report_callback):
Make Ramiro's cool profile dumping UI not wrap.
Reset the profile output when using the Reset menu item.
2000-10-10 Robin * Slomkowski <rslomkow@eazel.com>
* nautilus.spec.in: added more updated depenencies
so installer will work better
2000-10-10 Mike Fleming <mfleming@eazel.com>
* components/mozilla/nautilus-mozilla-content-view.c:
(mozilla_open_uri_callback), (is_uri_partial),
(make_full_uri_from_partial), (mozilla_dom_mouse_click_callback),
(mozilla_translate_uri_if_needed),
(mozilla_untranslate_uri_if_needed),
(eazel_services_scheme_translate),
(eazel_services_scheme_untranslate):
Added "unconvert" for the eazel-services: scheme hack
Added partial URI support for gnome-vfs uri schemes (so help: works, at
least in theory)
2000-10-10 Robin * Slomkowski <rslomkow@eazel.com>
* nautilus.spec.in: OK added requirement of gnome-vfs 0.3.1
2000-10-10 Mathieu Lacage <mathieu@eazel.com>
fix small buggy with fix from ramiro: make sure mozilla
loads local fiels through its own file library, not gnome-vfs.
* components/mozilla/nautilus-mozilla-content-view.c:
(mozilla_is_uri_handled_by_mozilla):
autoconf magic for the documentation
* configure.in:
* Makefile.am:
* user-guide/C/Makefile.am:
* user-guide/Makefile.am:
actual html/jpg/css documentation.
* user-guide/C/html/*:
2000-10-10 Robin * Slomkowski <rslomkow@eazel.com>
* nautilus.spec.in: added ammonite dependecy
this will eventually move into the services component
2000-10-10 Robin * Slomkowski <rslomkow@eazel.com>
* nautilus.spec.in: the new all encompassing specfile
to get us through services testing.
2000-10-10 Darin Adler <darin@eazel.com>
* components/mozilla/nautilus-mozilla-content-view.c:
(mozilla_translate_uri_if_needed): Fix ifdef so that
--disable-eazel-services builds will work.
2000-10-10 Arlo Rose <arlo@eazel.com>
* icons/arlo/Makefile.am:
* icons/arlo/Back.png:
* icons/arlo/Forward.png:
* icons/arlo/Up.png:
* icons/arlo/Refresh.png:
* icons/arlo/Home.png:
* icons/arlo/Search.png:
* icons/arlo/SearchWeb.png:
* icons/arlo/Stop.png:
Added some icons to my toolbar. I'm not sure I'm done with
these yet, so feel free to give me feedback.
2000-10-10 John Sullivan <sullivan@eazel.com>
Fixed bug 3577 (Menu item initially titled "Edit Settings" instead
of "Edit <user level> Settings"
* src/nautilus-window-menus.c: (nautilus_window_initialize_menus):
Call update_user_level_menu_items after installing; it had been
doing most of the guts of update_user_level_menu_items in-line,
but not this part.
2000-10-10 John Sullivan <sullivan@eazel.com>
* libnautilus-extensions/nautilus-bonobo-extensions.h:
* libnautilus-extensions/nautilus-bonobo-extensions.c:
(nautilus_bonobo_get_label): New function, does the obvious.
(nautilus_bonobo_get_hidden): Check for "0" for FALSE rather
than "1" for TRUE, since anything non-"0" is more TRUE than
it is FALSE.
* src/nautilus-about.c: (nautilus_about_draw_info):
Fixed build-breakage where MAX_AUTHOR_COUNT wasn't #defined,
by replacing it with "-1" for g_strsplit.
* src/nautilus-window-menus.c:
(remove_underline_accelerator_from_menu_title),
(nautilus_window_disable_keyboard_navigation_for_menus):
Modernized this code to try to fix bug 2327, but it seems
there is some new Bonobo bug in the way.
(update_user_level_menu_items): Removed obsolete comment.
2000-10-10 John Sullivan <sullivan@eazel.com>
* libnautilus-extensions/nautilus-bonobo-extensions.c:
(nautilus_bonobo_get_hidden), (nautilus_bonobo_get_label),
(nautilus_bonobo_add_menu_item), (nautilus_bonobo_add_submenu):
* libnautilus-extensions/nautilus-bonobo-extensions.h:
* src/nautilus-window-menus.c:
(remove_underline_accelerator_from_menu_title),
(nautilus_window_disable_keyboard_navigation_for_menus),
(update_user_level_menu_items):
2000-10-10 Darin Adler <darin@eazel.com>
* README: Changed gnome-print to work at HEAD.
* src/file-manager/fm-icon-view.c: (handle_radio_item): Common
function shared by context menu and Bonobo menu.
(context_menu_layout_radio_item_callback): Use common function.
(append_one_context_menu_layout_item): Change from "verb" to "id".
(update_layout_menus): Set up proper radio button based on ids.
(switch_to_manual_layout): Renamed and changed from a callback to
a normal function.
(handle_ui_event): Signal handler to get Bonobo radio menu
choices.
(fm_icon_view_merge_menus): Connect UI event handler and remove
old code for radio menu items.
* src/file-manager/nautilus-icon-view-ui.xml: Add ids to the radio
menu items.
* src/nautilus-about.c: (nautilus_about_destroy),
(nautilus_about_initialize), (nautilus_about_repaint),
(draw_aa_string), (randomize_authors), (draw_author_list),
(nautilus_about_draw_info), (nautilus_about_update_authors),
(nautilus_about_close), (update_authors_if_necessary): Improve
randomizing algorithm, get rid of fixed maximum number of authors.
* src/nautilus-window.c: Cosmetic changes.
2000-10-10 Gene Z. Ragan <gzr@eazel.com>
Work on making bookmarks and history work with new bonobo
UI code.
* libnautilus-extensions/nautilus-bonobo-extensions.c:
* libnautilus-extensions/nautilus-bonobo-extensions.h:
(nautilus_bonobo_add_menu_item), (nautilus_bonobo_add_submenu),
(nautilus_bonobo_add_menu_separator),
(nautilus_bonobo_get_menu_item_verb_name):
New utility functions to make menu manipulation easier.
* src/nautilus-window-menus.c: (activate_bookmark_in_menu_item),
(append_bookmark_to_menu), (append_separator),
(create_menu_item_from_node), (append_static_bookmarks),
(refresh_bookmarks_menu), (nautilus_window_initialize_menus),
(nautilus_window_remove_bookmarks_menu_items),
(nautilus_window_remove_go_menu_items), (append_dynamic_bookmarks),
(refresh_go_menu):
Modified functions and removed code in an effort to make bookmarks
and history be happy once more.
2000-10-10 Mike Fleming <mfleming@eazel.com>
* components/mozilla/Makefile.am:
* components/mozilla/nautilus-mozilla-content-view.c:
(mozilla_content_view_one_time_happenings),
(nautilus_mozilla_content_view_destroy),
(mozilla_load_location_callback),
(mozilla_translate_uri_if_needed),
(eazel_services_scheme_translate),
(eazel_services_prompt_login_cb):
Add code for the Mozilla "eazel-services:" scheme translation
2000-10-10 Rebecca Schulman <rebecka@eazel.com>
* src/file-manager/fm-icon-view.c: (update_layout_menus):
used the command path instead of widget path, fixing
the error in my last bugfix about the lack of
command widget separation
* src/nautilus-complex-search-bar.c:
(attach_criterion_to_search_bar):
Fixed some calls to hbox_new which were 0, FALSE instead
of FALSE, 0
2000-10-10 Eskil Heyn Olsen <eskil@eazel.com>
* components/services/install/lib/eazel-install-logic.c:
(eazel_install_check_for_file_conflicts),
(eazel_install_do_file_conflict_check):
Some really important debug output...
2000-10-10 Eskil Heyn Olsen <eskil@eazel.com>
* components/services/install/lib/eazel-install-logic.c:
(eazel_install_check_for_file_conflicts),
(eazel_install_check_if_depends_on),
(eazel_install_prune_packages_helper),
(eazel_install_prune_packages),
Removed debug spam.
(eazel_install_do_file_conflict_check):
3858 wasn't fixed yet, should be now.
* components/services/install/lib/eazel-install-protocols.c:
(get_search_url_for_package):
Commented out all occurences of the &flag= use, pending fix of bug
3481 and 3482.
* nautilus-installer/src/Makefile:
Yes.
2000-10-10 John Sullivan <sullivan@eazel.com>
* libnautilus-extensions/nautilus-any-width-bin.c:
* libnautilus-extensions/nautilus-any-width-bin.h: Removed
these files. This class was used only for our old status
bar, and would just slowly bit-rot if we left it here.
* libnautilus-extensions/Makefile.am: Removed those files.
* src/nautilus-window.c: Removed #include for deleted file.
2000-10-10 Andy Hertzfeld <andy@eazel.com>
* libnautilus-extensions/nautilus-icon-container.c:
(rubberband_timeout_callback),(cancel_stretching),
(key_press_event), (nautilus_icon_container_show_stretch_handles):
fixed bug 3241, escape key should cancel stretching, by remember
original icon size and restoring it when the escape key is stretched.
Also, fixed bug where the selection box was behind the icons it
was selecting by raising it to the top.
* libnautilus-extensions/nautilus-icon-private.h:
added field to store the initial stretch value
* src/nautilus-sidebar-title.c: (add_emblem):
fixed bug 2295, sidebar emblems should be anti-aliased.
2000-10-10 John Sullivan <sullivan@eazel.com>
* src/nautilus-window.c:
(install_status_bar): removed this old code now that we
have the status bar working correctly again.
(nautilus_window_set_content_view_widget): Added FIXME
with bug number to #ifdeffed notice-leaking-Bonobo-UI code.
2000-10-10 John Sullivan <sullivan@eazel.com>
* src/nautilus-window.c: (nautilus_window_clear_status):
Fixed bug where the clear-status timeout wasn't working.
Pass " " instead of "" to bonobo_ui_component_set_status
to work around Bonobo bug.
2000-10-10 Pavel Cisler <pavel@eazel.com>
* src/nautilus-window.c: (navigation_bar_mode_changed_callback):
Fix an uninitialized variable warning.
2000-10-10 Rebecca Schulman <rebecka@eazel.com>
Fixed bug 3530, to make reverse sort and
tighter layout show state
* src/file-manager/fm-icon-view.c: (update_layout_menus),
Added toggle function to update bonobo state when the
tighter layout and reverse sort menu items are selected
* src/file-manager/nautilus-icon-view-ui.xml:
Added a type=toggle parameter to the layout and reverse
sort order menu items
2000-10-10 John Sullivan <sullivan@eazel.com>
Fixed bug 3587 ("Close All Windows" doesn't work)
Fixed bug 3556 (Find button and Find menu item states aren't
synchronized)
* libnautilus-extensions/nautilus-bonobo-extensions.c:
(nautilus_bonobo_set_accelerator),
(nautilus_bonobo_set_description), (nautilus_bonobo_set_label),
(nautilus_bonobo_set_sensitive),
(nautilus_bonobo_set_hidden),
(nautilus_bonobo_get_hidden), (nautilus_bonobo_set_icon):
Changed g_asserts to g_return_if_fails when checking parameters.
(nautilus_bonobo_set_toggle_state): New cover function for setting
a boolean state on a Bonobo item.
* libnautilus-extensions/nautilus-bonobo-extensions.h:
Prototype for nautilus_bonobo_set_toggle_state.
* src/nautilus-shell-ui.xml: Use different verb for Find button
than for Find menu item to work around bug 3590.
* src/nautilus-window-private.h: Add updating_bonobo_state boolean
to work around design flaw where there's no way to set menu item or
toggle button state without activating its callback.
* src/nautilus-window-menus.c:
Removed #defines for unused MENU_PATHs
(file_menu_toggle_find_mode_callback): Bail out if updating_bonobo_state.
(nautilus_window_initialize_menus): Fix verb name for Close All Windows;
add new verb for Find toggle button.
(nautilus_window_update_find_menu_item): Use #define for path; remove
now-used unused-function from hack.
* src/nautilus-window.c: (navigation_bar_mode_changed_callback):
Set Find toggle button state, inside updating_bonobo_state = TRUE block.
2000-10-10 Darin Adler <darin@eazel.com>
Fixed bug 3535 (Bonobo-merged items aren't being removed when view
changes).
* src/file-manager/fm-icon-view.c: (fm_icon_view_destroy):
* src/file-manager/fm-search-list-view.c: (real_destroy):
* src/nautilus-window.c: (nautilus_window_destroy):
Added code to unset the container when getting rid of a
BonoboUIComponent. The container holds a reference, so just
unref'ing the component is not good enough.
* idl/.cvsignore:
* idl/GNOME_Desktop_FileOperationService.idl:
* idl/Makefile.am:
* idl/gnome-desktop.idl:
Removed the unused idl files in this directory. I removed them
from the build already a few days ago.
2000-10-10 Eskil Heyn Olsen <eskil@eazel.com>
* components/rpmview/nautilus-rpm-view-install.c:
(get_detailed_errors_foreach):
Renamed would_be_lost to circular_dependency
* components/services/install/command-line/eazel-alt-install-corba.
c: (tree_helper), (create_package):
Renamed would_be_lost to circular_dependency.
Added support to install rpm's by asking for a provide.
* components/services/install/idl/trilobite-eazel-install.idl:
Renamed would_be_lost to circular_dependency.
* components/services/install/lib/eazel-install-corba-types.c:
(corba_packagedatastruct_from_packagedata),
(packagedata_from_corba_packagedatastruct):
Renamed would_be_lost to circular_dependency.
* components/services/install/lib/eazel-install-logic.c:
(eazel_install_download_packages),
(eazel_install_check_for_file_conflicts),
(eazel_install_do_transaction_all_files_check),
(eazel_install_start_transaction),
(eazel_install_check_if_depends_on),
(eazel_install_prune_packages_helper),
(eazel_install_check_existing_packages),
(eazel_install_fetch_dependencies),
(eazel_install_do_file_conflict_check),
(eazel_install_ensure_deps), (eazel_uninstall_upward_traverse):
Fixed bug 3374, 3491 and 3585.
Uses the packagedata_add_pack_to_X calls now.
* components/services/install/lib/eazel-install-protocols.c:
(get_search_url_for_package):
s/flags/flag/
* components/services/install/lib/eazel-install-rpm-glue.c:
(eazel_install_rpm_set_settings),
Only set the rpm debug flag if --debug
(eazel_install_do_rpm_dependency_check):
use packagedata_add_pack_to_X calls.
* components/services/install/lib/eazel-install-types.c:
(packagedata_status_enum_to_str), (packagedata_status_str_to_enum),
Renamed would_be_lost to circular_dependency.
(packagedata_add_pack_to), (packagedata_add_pack_to_breaks),
(packagedata_add_pack_to_soft_depends),
(packagedata_add_pack_to_hard_depends),
(packagedata_add_pack_to_modifies),
Use these calls to add packages to the packagedata struct lists.
They do some funky checking.
(eazel_install_package_version_compare),
(eazel_install_package_other_version_compare):
Modfied some compare functions.
* components/services/install/lib/eazel-install-types.h:
* components/services/install/lib/eazel-install-xml-package-list.c:
(parse_package), (osd_parse_dependency):
Use packagedata_add_pack_to_X calls.
* nautilus-installer/src/installer.c:
(get_detailed_errors_foreach), (check_system):
Renamed would_be_lost to circular_dependency.
2000-10-10 John Sullivan <sullivan@eazel.com>
* src/nautilus-shell-ui.xml: Somehow missed converting a
bunch of _descr to _tip yesterday. Maybe a merge clobber
thing. Anyway, this seems to make the status bar work
in all cases now.
2000-10-10 Ramiro Estrugo <ramiro@eazel.com>
* src/nautilus-window-menus.c: (nautilus_window_initialize_menus):
Add a top level "Profiler" menu bar to control the profiler. This
is just a first try. Some things, like the Start/Stop state of
the profiler can be better represented by a toggle button.
Also, protect the eazel services hacks with EAZEL_SERVICES #ifdefs.
2000-10-10 Ramiro Estrugo <ramiro@eazel.com>
* libnautilus/nautilus-bonobo-ui.h:
Add a path declaration for the Profiler menu.
* src/nautilus-profiler.c: (dump_dialog_new):
Make the buttons insensitive for now.
* src/nautilus-shell-ui.xml:
Add a top level "Profiler" menu bar to control the profiler. This
is just a first try. Some things, like the Start/Stop state of
the profiler can be better represented by a toggle button.
2000-10-10 John Sullivan <sullivan@eazel.com>
* components/services/install/lib/Makefile.am:
Added missing include of eazel-install-logic.h that
was breaking the RPM build and thus Tinderbox.
2000-10-10 John Sullivan <sullivan@eazel.com>
Fixed bug 3516 (Sidebar & Content Loser merged items don't appear)
Fixed bug 3517 (Mozilla merged items don't appear)
There's a crashing bug involving merged tool bar buttons
(bug 3574), so I didn't put the tool bar button back in Mozilla,
but the merged menu item is once again wired up. Actually I
checked this in the other day but thought it wasn't working
correctly, though it is.
* components/loser/content/nautilus-content-loser-ui.xml:
Filled in contents.
* components/loser/content/nautilus-content-loser.c:
(bonobo_loser_callback), (loser_merge_bonobo_items_callback):
* components/loser/sidebar/nautilus-sidebar-loser.c:
(bonobo_loser_callback), (loser_merge_bonobo_items_callback):
Converted to new Bonobo API and tweaked some behavior.
2000-10-10 John Sullivan <sullivan@eazel.com>
* src/nautilus-shell-ui.xml: Added placeholder for
built-in bookmarks.
2000-10-10 Ramiro Estrugo <ramiro@eazel.com>
* src/nautilus-profiler.c:
(nautilus_profiler_bonobo_ui_reset_callback),
(nautilus_profiler_bonobo_ui_start_callback),
(nautilus_profiler_bonobo_ui_stop_callback),
(nautilus_profiler_bonobo_ui_report_callback):
* src/nautilus-profiler.h:
Make it compile with the new bonobo ui handler stuff.
2000-10-10 Ramiro Estrugo <ramiro@eazel.com>
* src/nautilus-property-browser.c:
(make_properties_from_directories):
Fix uninitialized variable.
2000-10-10 Ramiro Estrugo <ramiro@eazel.com>
* components/mozilla/nautilus-mozilla-content-view.c:
(mozilla_load_location_callback), (bonobo_mozilla_callback),
(string_list_get_index_of_string),
(mozilla_is_uri_handled_by_nautilus),
(mozilla_is_uri_handled_by_mozilla),
(mozilla_translate_uri_if_needed),
(mozilla_untranslate_uri_if_needed):
Work in progrss for bug 527. Add a 'mechanism' to allow
eazel-services uris to be translated into localhost: so that the
ammonite proxy can serve them.
2000-10-10 Ramiro Estrugo <ramiro@eazel.com>
* components/mozilla/mozilla-events.cpp:
* components/mozilla/nautilus-mozilla-content-view.c:
(mozilla_content_view_set_proxy_preferences),
(nautilus_mozilla_content_view_load_uri),
(mozilla_load_location_callback),
(mozilla_uris_differ_only_by_fragment_identifier),
(mozilla_dom_mouse_click_callback), (is_string_in_string_list),
(mozilla_is_uri_handled_by_nautilus),
(mozilla_is_uri_handled_by_mozilla):
Cleanup the way special protocols are handled. Cleanup debug
spewage.
2000-10-10 Ramiro Estrugo <ramiro@eazel.com>
* components/mozilla/nautilus-mozilla-content-view.c:
(handle_gconf_error), (mozilla_content_view_set_proxy_preferences),
(mozilla_content_view_one_time_happenings),
(nautilus_mozilla_content_view_initialize):
Factor out the one time happenings (preferences mostly) into their
own function for clarity. Make sure gconf errors are handled.
2000-10-10 Ramiro Estrugo <ramiro@eazel.com>
* components/mozilla/Makefile.am:
* components/mozilla/eazel-protocol-handler/.cvsignore:
* components/mozilla/eazel-protocol-handler/Makefile.am:
* components/mozilla/eazel-protocol-handler/eazel-protocol-channel.cpp:
* components/mozilla/eazel-protocol-handler/eazel-protocol-channel.h:
* components/mozilla/eazel-protocol-handler/eazel-protocol-handler.cpp:
* components/mozilla/eazel-protocol-handler/eazel-protocol-handler.h:
* components/mozilla/eazel-protocol-handler/eazel-protocol-module.cpp:
* components/mozilla/nautilus-mozilla-content-view.c:
(nautilus_mozilla_content_view_initialize):
* configure.in:
Remove the eazel protocol handler monstrosity. We have a better
way to do this using M18 and using the DOM to peek into the document.
2000-10-10 Pavel Cisler <pavel@eazel.com>
* libnautilus-extensions/nautilus-file-operations.c:
(get_next_duplicate_name):
Fix to do proper unescaping. This was breaking the duplicate name
generating algorithm.
2000-10-10 Josh Barrow <josh@eazel.com>
* src/nautilus-shell-ui.xml:
Fix bug where Nautilus window was ordered, menubar, location
bar, toolbar, content, instead of menubar, toolbar, location
bar, content.
2000-10-10 Gene Z. Ragan <gzr@eazel.com>
* libnautilus-extensions/nautilus-bonobo-extensions.c:
* libnautilus-extensions/nautilus-bonobo-extensions.h:
(nautilus_bonobo_add_menu_item):
Changed prototype to take only label as argument. Name
is now derived form the label.
* src/file-manager/fm-directory-view.c:
(add_open_with_app_bonobo_menu_item),
(add_open_with_viewer_bonobo_menu_item):
Call modified nautilus_bonobo_add_menu_item.
2000-10-09 Andy Hertzfeld <andy@eazel.com>
* src/nautilus-property-browser.c:
(make_properties_from_directories),
(make_properties_from_xml_node):
tightened the layout of color properties, making them similar to
backgrounds; also, positioned the eraser emblem last and apart
from the others to make it more distinct.
2000-10-10 Josh Barrow <josh@eazel.com>
* src/nautilus-shell-ui.xml:
* src/nautilus-window-menus.c: (switch_to_user_level),
(nautilus_window_initialize_menus), (update_user_level_menu_items):
The BONOBO_WORKAROUND is no longer needed.
2000-10-09 Josh Barrow <josh@eazel.com>
* nautilus-installer/src/.cvsignore:
Add eazel-installer and eazel-installer.sh to make cvs be quiet
again.
2000-10-09 Robey Pointer <robey@eazel.com>
* components/services/trilobite/libtrilobite/trilobite-core-utils.c
: (trilobite_fetch_uri):
The -Wall -Werror was accidentally turned off for this library, so
a few more bugs were fixed.
* nautilus-installer/src/Makefile.am:
* nautilus-installer/src/installer.c: (create_window),
(get_detailed_errors_foreach), (install_done), (check_system):
* nautilus-installer/src/link.sh:
* nautilus-installer/src/main.c: (main):
* nautilus-installer/src/prescript:
Change the "Nautilus Installer" to "Eazel Installer" in all
filenames and user-visible text. Build "release" version that
doesn't give evil --test warnings. Re-assert some stuff I thought
I checked in last week (like the --build option).
2000-10-09 John Sullivan <sullivan@eazel.com>
Bunches o' Bonobo conversion & cleanup. Most of this is
about the new "command/widget separation" in Bonobo.
Essentially, changes to sensitivity, state, and hiddenness
should be made to the command (verb), whereas other changes
should be made to the widget.
This should fix the "cmd/widget" warnings at launch, and
make the tool bar buttons desensitize appropriately again.
* components/loser/sidebar/nautilus-sidebar-loser-ui.xml:
* components/mozilla/nautilus-mozilla-ui.xml:
* components/sample/nautilus-sample-content-view-ui.xml:
* src/nautilus-shell-ui.xml:
* src/file-manager/nautilus-directory-view-ui.xml:
* src/file-manager/nautilus-icon-view-ui.xml:
* src/file-manager/nautilus-search-list-view-ui.xml:
Filled in the names of all verbs; we don't want to use
the default if-verb-name-is-blank-use-item-name feature because
it causes vast confusion; also, change _descr to _tip everywhere
(updated name from Bonobo); also explicitly defined <cmd>s for
the items that have pre-set insensitivity, or that share
tips between tool bar buttons and menu items.
* libnautilus/nautilus-bonobo-ui.h: Add #defines for command paths
as well as menu paths.
* src/file-manager/fm-desktop-icon-view.c:
(fm_desktop_icon_view_create_background_context_menu_items):
Use command paths instead of menu paths.
* src/file-manager/fm-directory-view.h: Publicize command paths,
not menu paths (for use in context menu index-finding. Some day
we will convert the context menus to use Bonobo and then this
will get cleaned up further.)
* src/file-manager/fm-directory-view.c:
Moved menu path #defines inside here.
(append_gtk_menu_item), (update_one_menu_item):
Take both a menu path and a verb path; use the verb path
for sensitivity.
(fm_directory_view_insert_context_menu_item): Updated comment.
(fm_directory_view_real_create_background_context_menu_items),
(create_open_with_gtk_menu),
(fm_directory_view_real_create_selection_context_menu_items),
(reset_bonobo_trash_delete_menu),
(fm_directory_view_real_update_menus):
Pass verb paths as well as menu paths.
(fm_directory_view_get_context_menu_index): Changed variable
names for clarity.
* src/file-manager/fm-icon-view.c:
New #defines for command paths.
(update_one_menu_item): Take both a menu path and a verb path; use
the verb path for sensitivity.
(fm_icon_view_create_selection_context_menu_items),
(fm_icon_view_create_background_context_menu_items),
(fm_icon_view_update_menus), (update_layout_menus):
Pass both a menu path and a verb path.
* src/file-manager/fm-search-list-view.c:
#define for COMMAND_REVEAL_IN_NEW_WINDOW
(real_create_selection_context_menu_items): Use verb path not
menu path for context menu positioning.
(update_reveal_item): Use verb path not menu path for sensitivity.
* src/nautilus-window-private.h: #defines for command paths.
* src/nautilus-window-manage-views.c: (load_content_view):
* src/nautilus-window.c: (nautilus_window_allow_back),
(nautilus_window_allow_forward), (nautilus_window_allow_up),
(nautilus_window_allow_stop),
(nautilus_window_zoom_level_changed_callback): Use verb paths
instead of menu paths for changing sensitivity.
2000-10-09 Gene Z. Ragan <gzr@eazel.com>
Fixed bug 3513, No applications or viewers appear in "Open With" menu
in menu bar
* libnautilus-extensions/nautilus-bonobo-extensions.c:
* libnautilus-extensions/nautilus-bonobo-extensions.h:
(nautilus_bonobo_add_menu_item),
(nautilus_bonobo_remove_menu_items):
New functions to add a menu items and remove multiple menu items from
a submenu.
* src/file-manager/fm-directory-view.c:
* src/file-manager/fm-directory-view.h:
(bonobo_launch_application_callback),
(bonobo_open_location_with_viewer_callback),
(add_open_with_app_bonobo_menu_item),
(add_open_with_viewer_bonobo_menu_item),
(add_application_to_bonobo_menu), (add_component_to_bonobo_menu),
(reset_bonobo_open_with_menu),
(fm_directory_view_real_update_menus):
Call new nautilus bonobo functions to add applications and viewers
to Open With... menu. Also add verbs in addition to creating
the menu items.
2000-10-09 Josh Barrow <josh@eazel.com>
* icons/Makefile.am:
* icons/emblem-symbolic-link-24.png:
* icons/emblem-symbolic-link-72.png:
* icons/emblem-symbolic-link-92.png:
* icons/emblem-symbolic-link-192.png:
Added different size symbolic link icons.
2000-10-09 Andy Hertzfeld <andy@eazel.com>
* src/nautilus-shell-ui.xml:
added a "min_width" attribute to the toolbar buttons, so they are
positioned better. You need to get the latest Bonobo to see the
effects of this.
* icons/gnome/gnome.xml:
made clicking on the throbber in the gnome theme go to www.gnome.org
* libnautilus-extensions/nautilus-icon-factory.c: (set_theme):
changed the name of the theme property for default icon redirection
from "icons" to "icon-images" to disambiguate it from icon view
theme properies.
2000-10-09 Darin Adler <darin@eazel.com>
* components/tree/nautilus-tree-view.c:
(nautilus_tree_view_uri_to_name): Unescape the names of files for
display in the tree view. Fixes bug 2892 (tree displays files
with escaped characters).
* libnautilus-extensions/nautilus-directory-async.c:
(dequeue_pending_idle_callback): Fixed the structure here to make
it more clear that it's handling ref. counts correctly.
* libnautilus-extensions/nautilus-directory.h:
* libnautilus-extensions/nautilus-file.h:
Wrote better comments to explain the convenience cover functions.
* src/nautilus-window-menus.c: Got rid of some UIH stuff.
* src/nautilus-window-toolbars.c: (set_up_button),
(nautilus_window_initialize_toolbars),
(nautilus_window_toolbar_remove_theme_callback):
Changed commented-out code back to ifdef UIH.
* src/nautilus-window.c: (nautilus_window_clear_status),
(nautilus_window_set_status): Change to use the new Bonobo call
for setting status.
(navigation_bar_mode_changed_callback): Changed commented-out code
back to ifdef UIH.
(nautilus_window_constructed): Removed some status-bar-related
code.
2000-10-09 Mathieu Lacage <mathieu@eazel.com>
Fix bugs 3498, 3523 and the nautilus part of 3497
3497 bug fix is disabled because there is a bug in bonobo.
bug you can try it if you set BONOBO_WORKAROUND to 1.
* libnautilus-extensions/nautilus-bonobo-extensions.c:
(nautilus_bonobo_set_accelerator),
(nautilus_bonobo_set_description), (nautilus_bonobo_set_label),
(nautilus_bonobo_set_sensitive), (nautilus_bonobo_set_hidden),
(nautilus_bonobo_get_hidden), (nautilus_bonobo_set_icon):
add g_asserts. add (nautilus_bonobo_set_icon)
* libnautilus-extensions/nautilus-bonobo-extensions.h:
add (nautilus_bonobo_set_icon) prototype
* src/Makefile.am: beautification.
* src/file-manager/fm-desktop-icon-view.c:
(fm_desktop_icon_view_initialize_class): a space...
* src/file-manager/fm-directory-view.c:
(fm_directory_view_real_merge_menus): a space too...
* src/nautilus-shell-ui.xml: mainly a few spaces.
* src/nautilus-window-manage-views.c: (load_content_view):
use bonobo_ui_component_freeze/thaw
* src/nautilus-window-menus.c:
(nautilus_window_update_show_hide_menu_items),
(get_user_level_icon_name), (switch_to_user_level),
(add_user_level_menu_item), (nautilus_window_initialize_menus),
(nautilus_window_update_find_menu_item),
(update_user_level_menu_items),
(convert_user_level_to_path):
use bonobo_ui_component_freeze/thaw and add the corect calls to
nautilus_bonobo_set_icon
* src/nautilus-window.c: (nautilus_window_constructed),
(show_dock_item): add calls to nautilus_bonobo_set_hidden to remove
the toolbars for the desktop case.
2000-10-09 Rebecca Schulman <rebecka@eazel.com>
Fixed bugzilla bug 3359, to create nautilus
file api call to get the error code for
when a get file info call failed
* libnautilus-extensions/nautilus-directory-async.c:
(get_info_callback):
Record the error received in the file structure
* libnautilus-extensions/nautilus-file-private.h:
store the error in a field in NautilusFile
* libnautilus-extensions/nautilus-file.h:
* libnautilus-extensions/nautilus-file.c:
(nautilus_file_get_info_failed):
Add new API call
2000-10-09 Pavel Cisler <pavel@eazel.com>
* libnautilus-extensions/nautilus-directory.c:
(nautilus_directory_notify_files_added),
(nautilus_directory_notify_files_removed),
(nautilus_directory_notify_files_moved):
Get rid of some FIXMEs that were wrong.
Clean up the way NautilusFile objects were ref'd
in nautilus_directory_notify_files_moved.
2000-10-09 Arlo Rose <arlo@eazel.com>
* icons/arlo/Makefile.am:
* icons/arlo/emblem-nowrite.png:
Added the first of many system level emblems for my
Nautilus theme.
2000-10-09 Eskil Heyn Olsen <eskil@eazel.com>
* components/services/install/lib/Makefile.am:
* components/services/install/lib/eazel-install-logic.c:
(eazel_install_flatten_categories),
(eazel_install_pre_install_packages), (eazel_install_set_settings),
(install_packages), (eazel_install_download_packages),
(eazel_install_check_for_file_conflicts),
(eazel_install_do_install_packages), (uninstall_all_packages),
(uninstall_packages), (ei_get_packages_with_mod_flag),
(ei_check_uninst_vs_downgrade), (hest), (revert_transaction),
(eazel_install_do_transaction_fill_hash),
(eazel_install_get_total_size_of_packages),
(eazel_install_do_transaction_add_to_transaction),
(eazel_install_start_transaction_make_argument_list),
(eazel_install_do_transaction_save_report_helper),
(eazel_install_do_transaction_save_report),
(eazel_install_monitor_process_pipe),
(eazel_install_display_arguments),
(eazel_install_monitor_subcommand_pipe),
(eazel_install_do_transaction_all_files_check),
(eazel_install_do_transaction_md5_check),
(eazel_install_start_transaction),
(eazel_install_prune_packages_helper),
(eazel_install_prune_packages),
(eazel_install_prepare_package_system),
(eazel_install_free_package_system),
(eazel_install_add_to_extras_foreach),
(eazel_install_check_existing_packages),
(eazel_install_check_if_related_package),
(eazel_install_fetch_dependencies), (dump_one_package),
(dump_packages), (print_package_list),
(eazel_install_do_file_conflict_check),
(eazel_install_do_dependency_check), (eazel_install_ensure_deps),
(eazel_uninstall_upward_traverse),
(eazel_uninstall_downward_traverse),
(eazel_uninstall_check_for_install), (eazel_uninstall_globber):
* components/services/install/lib/eazel-install-logic.h:
* components/services/install/lib/eazel-install-object.c:
(eazel_install_install_packages):
* components/services/install/lib/eazel-install-private.h:
* components/services/install/lib/eazel-install-protocols.c:
* components/services/install/lib/eazel-install-public.h:
* components/services/install/lib/eazel-install-query.c:
* components/services/install/lib/eazel-install-rpm-glue.c:
(eazel_install_rpm_set_settings),
(eazel_install_monitor_rpm_propcess_pipe),
(eazel_install_free_rpm_system_close_db_foreach),
(eazel_install_free_rpm_system):
* components/services/install/lib/eazel-install-rpm-glue.h:
* components/services/install/lib/eazel-install-types.c:
(eazel_install_package_provides_basename_compare),
(eazel_install_package_provides_compare),
(eazel_install_package_name_compare),
(eazel_install_package_compare),
(eazel_install_requirement_dep_compare),
(eazel_install_package_version_compare):
* components/services/install/lib/eazel-install-types.h:
* components/services/install/lib/makefile.staticlib.in:
Moved code around.
Moved the general dep check stuff into eazel-install-logic.c, and
kept the rpmspecific in rpm-glue.c. Except for eg. the uninstall
stuff and some other parts which are still rpm specific (in
-logic.c and -types.c).
* nautilus-installer/src/installer.c:
(get_detailed_errors_foreach):
Added the WOULD_BE_LOST to the error display thingy.
2000-10-09 John Sullivan <sullivan@eazel.com>
Various bonobo-related cleanups
* components/loser/sidebar/nautilus-sidebar-loser-ui.xml:
* components/loser/sidebar/nautilus-sidebar-loser.c:
(bonobo_loser_callback), (loser_merge_bonobo_items_callback):
* components/mozilla/nautilus-mozilla-content-view.c:
(bonobo_mozilla_callback), (mozilla_merge_bonobo_items_callback):
* components/mozilla/nautilus-mozilla-ui.xml:
* components/sample/nautilus-sample-content-view-ui.xml:
* src/file-manager/fm-directory-view.c:
(fm_directory_view_real_merge_menus):
Modernized Bonobo use in these three components. There is a
crashing bug when leaving a component that installs a tool bar
button, so I did not install a tool bar button into Mozilla yet.
Also, some of the callbacks don't work, so I haven't marked the
relevant bugs FIXED yet. I wanted to check in what I had so far;
I'll get back to this a little later today.
* src/nautilus-shell-ui.xml:
Removed "Menu_" from pixnames, to match new bonobo API; replaced
<menuitem/> and <toolitem/> with <separator/>; added a placeholder
into which components should install extra toolbar buttons; defined
the services button here again (in this placeholder) -- it's before
the throbber again.
* src/nautilus-window-menus.c: (nautilus_window_initialize_menus):
Added clarifying white space.
* src/nautilus-window-toolbars.c:
removed toolbar_services_callback, which is handled elsewhere.
(set_up_button): Made this take button path instead of just name,
so it can work with buttons in placeholders (like the Services button).
(set_up_toolbar_images): Pass whole paths instead of just names.
(nautilus_window_initialize_toolbars): Set hidden attribute on
Services button as appropriate, rather than creating it here from raw
XML in the opposite case.
2000-10-08 Andy Hertzfeld <andy@eazel.com>
fixed bug 3549, services button disappeared due to UI handler
change, by adding it on the fly if EAZEL_SERVICES is set. Currently,
it comes after the throbber, but that will be fixed when the
throbber is positioned properly again.
* src/nautilus-window-menus.c: (stop_button_callback),
(services_button_callback), (nautilus_window_initialize_menus):
added bonobo verb for services and it's handler. Also, added one
for the stop button, which was inadvertently lost during the
translation.
* src/nautilus-window-toolbars.c: (set_up_toolbar_images),
(nautilus_window_initialize_toolbars):
if EAZEL_SERVICES is set, add the services button and handle it's
image.
* icons/Makefile.am:
* icons/Services.png:
added Services image to default theme.
2000-10-08 Josh Barrow <josh@eazel.com>
* src/nautilus-shell-ui.xml:
Change the "Ski" user level to "User Level", per Arlo suggestion
in bug 3497.
2000-10-08 Eskil Heyn Olsen <eskil@eazel.com>
* components/rpmview/nautilus-rpm-view-install.c:
(get_detailed_errors_foreach),
(nautilus_rpm_view_dependency_check):
Updated for the extra package status field.
* components/services/install/command-line/eazel-alt-install-corba.
c: (set_parameters_from_command_line), (tree_helper), (dep_check):
Code to set the ssl_rename flag.
Better output for dep_check (uses provides).
* components/services/install/idl/trilobite-eazel-install.idl:
Added the ssl_rename field and the WOULD_BE_LOST package status.
* components/services/install/lib/eazel-install-corba-types.c:
(corba_string_sequence_to_glist),
(g_list_to_corba_string_sequence),
(corba_packagedatastruct_from_packagedata),
(packagedata_from_corba_packagedatastruct):
Fixed 3460, transfers package->provides now.
* components/services/install/lib/eazel-install-corba.c:
(impl_Eazel_Install__set_silent), (impl_Eazel_Install__get_silent),
(impl_Eazel_Install__set_test_mode),
(impl_Eazel_Install__get_test_mode),
(impl_Eazel_Install__set_force), (impl_Eazel_Install__get_force),
(impl_Eazel_Install__set_update), (impl_Eazel_Install__get_update),
(impl_Eazel_Install__set_downgrade),
(impl_Eazel_Install__get_downgrade),
(impl_Eazel_Install__get_tmp_dir),
(impl_Eazel_Install__set_ssl_rename),
(impl_Eazel_Install__get_ssl_rename),
(impl_Eazel_Install__set_server), (impl_Eazel_Install__get_server),
(impl_Eazel_Install__get_server_port),
(impl_Eazel_Install__set_log_file),
(impl_Eazel_Install__get_log_file),
(impl_Eazel_Install__set_package_list),
(impl_Eazel_Install__get_package_list), (eazel_install_get_epv):
Fixed indentation and cut'n'paste typeerror. Plus added the
ssl_rename field.
* components/services/install/lib/eazel-install-object.c:
(eazel_install_emit_dependency_check_default):
Removed the hack since 3460 is fixed.
* components/services/install/lib/eazel-install-private.h:
Added the ssl_rename field.
* components/services/install/lib/eazel-install-protocols.c:
(gnome_vfs_fetch_remote_file),
Do the ssl_renaming. If ssl_rename is set, the hostname in the
source uri is replaced with "localhost". This allows you to use
ssh tunneling to use development services from home.
(eazel_install_fetch_package),
Fixed bug 2584. Checks version and name of downloaded
package. Uses rpmvercmp.
(get_search_url_for_package):
s/flag/flags/
* components/services/install/lib/eazel-install-public.h:
ssl_rename functions.
* components/services/install/lib/eazel-install-rpm-glue.c:
(eazel_install_do_transaction_all_files_check),
(eazel_install_start_transaction),
Partially fixed 3460. I need to fail packages that do not pass.
(eazel_install_requirement_dep_compare),
(eazel_install_check_existing_packages),
(eazel_install_fetch_dependencies),
Fixed the weird case eli & robey came across, were the faulty
nautilus dependencies caused gconf 0.8 to be installed over 0.9
which is still needed.
Now the package which is installed gets the WOULD_BE_LOST status
and install_failed emittet.
(eazel_install_do_file_conflict_check),
Removed comments.
(eazel_install_ensure_deps),
Added more comments and fixed the removal of failedpackages after
do_dependency_check.
(eazel_uninstall_upward_traverse):
Fixed an uninstall bug I came acrosss.
* components/services/install/lib/eazel-install-types.c:
(packagedata_status_enum_to_str),
(packagedata_status_str_to_enum):
Handles the WOULD_BE_LOST enum.
* components/services/install/lib/eazel-install-types.h:
The WOULD_BE_LOST enum
* nautilus-installer/src/Makefile:
* nautilus-installer/src/installer.c: (eazel_install_progress),
(eazel_download_progress), (get_detailed_errors_foreach),
(eazel_installer_add_category):
Fixed output.
2000-10-08 J Shane Culpepper <pepper@eazel.com>
* components/services/summary/nautilus-view/nautilus-summary-view.c
:
Fixing debug code I added to force error dialog. whoops.
2000-10-08 J Shane Culpepper <pepper@eazel.com>
* components/services/summary/nautilus-view/nautilus-summary-view.c
: (generate_summary_form), (authn_cb_failed), (goto_update_cb),
(error_dialog_retry_cb), (error_dialog_cancel_cb),
(generate_error_dialog):
Added dialog to catch errors like unable to connect and login failed.
Doesn't look great yet but Arlo is going to give me some ideas to
make it look a bit better.
2000-10-07 Andy Hertzfeld <andy@eazel.com>
* libnautilus-extensions/nautilus-theme.c:
(nautilus_theme_get_image_path_from_theme),
(nautilus_theme_get_image_path):
re-organized the code to add the ability to request image
paths from specific themes, as well as the current one.
* libnautilus-extensions/nautilus-theme.h:
added nautilus_theme_get_image_path_from_theme.
* src/nautilus-sidebar-tabs.c:
(nautilus_sidebar_tabs_load_theme_data):
used the above to implement sidebar tab redirection, so a theme
can use the sidebar tabs from another theme, so sidebar tab images
don't have to be present in every theme.
* libnautilus-extensions/nautilus-icon-factory.c:
(nautilus_icon_factory_destroy), (check_local_theme), (set_theme),
(get_icon_file_path):
implemented icon theme default redirection, so a theme can specify
another theme to get its icons from when they're not present locally;
this is needed by both Arlo and Susan's themes.
* src/nautilus-throbber.c,h: (nautilus_throbber_initialize_class),
(nautilus_throbber_button_press_event):
made clicking on the throbber take you to a URL specified by
the current theme. Did this by adding a location_change signal. This
fixes bug 3433.
* src/nautilus-window.c: (nautilus_window_constructed):
hooked up nautilus-window to the throbber's location_change signal to
change the location when the signal is emitted.
* icons/default.xml:
added default URI for throbber, pointing to www.eazel.com
* icons/vector/vector.xml:
added sidebar tab redirection to the Arlo theme for testing
2000-10-07 Mike Fleming <mfleming@eazel.com>
* components/mozilla/main.c: (main):
* components/mozilla/mozilla-events.cpp:
* components/mozilla/mozilla-events.h:
* components/mozilla/nautilus-mozilla-content-view.c:
(mozilla_uris_differ_only_by_fragment_identifier),
(mozilla_progress_callback), (mozilla_dom_mouse_click_callback):
Support POST-based form submissions in embedded mozilla
(bugzilla.eazel.com 3484). With this change, navigations involving
POST's aren't forwarded to Nautilus, they are handled inside Mozilla
directly. This means that the URI won't change and the navigation won't
be logged in the history buffer, but its better than nothing.
Note that this fix only works when using Mozilla M18.
Note that there seem to be some general bumps with web-browsing with
both M17 and M18 right now.
2000-10-07 Pavel Cisler <pavel@eazel.com>
* libnautilus-extensions/nautilus-file.c:
(nautilus_file_list_unref):
Ooops, need to use nautilus_g_list_save_for_each in the
list unref call.
2000-10-07 Pavel Cisler <pavel@eazel.com>
* libnautilus-extensions/nautilus-directory-async.c:
(dequeue_pending_idle_callback):
Add a FIXME to some unclear or wrong code.
* libnautilus-extensions/nautilus-directory.c:
(nautilus_directory_notify_files_added),
(nautilus_directory_notify_files_removed),
(nautilus_directory_notify_files_moved):
Fix 3050 - Memory trashing during drag&drop.
Files removed from monitored directories did get an
unref but they didn't get a ref when added to new
monitored directories.s
Add FIXMEs to some unclear, wrong or missing code.
* libnautilus-extensions/nautilus-file.c:
(nautilus_file_new_from_name), (nautilus_file_new_from_info),
(nautilus_file_ref), (nautilus_file_unref):
Add debugging code to help find ref-counting bugs with
NautilusFile. Sadly this is not the full ref/unref balance
debugger I had originally in mind as it seems to be way harder
to match up refs/unrefs than I thought.
* libnautilus-extensions/nautilus-file.c:
(nautilus_file_list_ref), (nautilus_file_list_unref),
(nautilus_file_list_free), (nautilus_file_list_copy):
Make these files call nautilus_file_ref/nautilus_file_unref
instead of gtk_object_ref/gtk_object_unref. We should either
stick to using nautilus_file_ref/unref or get rid of them.
Using both pairs of calls is a mess.
2000-10-07 Andy Hertzfeld <andy@eazel.com>
* src/nautilus-shell-ui.xml:
made the "find" button be a toggle button like it's supposed to be.
2000-10-07 Andy Hertzfeld <andy@eazel.com>
* src/nautilus-window-toolbars.c: (set_up_button),
(set_up_toolbar_images), (set_up_throbber_frame_type):
made themed toolbar buttons work properly with new UI handler;
you must get a new Bonobo for it to work. Also, made the
"Search Web" button get the right image, and other clean-ups.
* src/nautilus-shell-ui.xml:
made toolbar button separators work properly. Also, removed
"Service" button from xml file since it can't be conditionally
added from there.
2000-10-06 John Sullivan <sullivan@eazel.com>
Fixed bug 3517 (Sample component's merged items don't appear)
* components/sample/nautilus-sample-content-view-ui.xml:
Filled in.
* components/sample/nautilus-sample-content-view.c:
(bonobo_sample_callback), (sample_merge_bonobo_items_callback):
Updated for new API, removed #ifdefs.
* components/mozilla/nautilus-mozilla-content-view.c:
(mozilla_merge_bonobo_items_callback): Removed unnecessary cast.
2000-10-06 Andy Hertzfeld <andy@eazel.com>
tried to put the right themable icons for the toolbar, but only
succeeded at getting the stock icons. Also, made the throbber
show up, but it's not properly positioned yet.
* src/nautilus-shell-ui.xml:
added stock icons and control for throbber
* src/nautilus-window-toolbars.c: (set_up_button),
(set_up_toolbar_images), (set_up_throbber_frame_type),
(allocate_throbber), (nautilus_window_initialize_toolbars):
revamped for the new bonobo, and tell the ui handler about the
themed icons (temporarily disabled for now)
* src/nautilus-window.c: (navigation_bar_mode_changed_callback),
(nautilus_window_constructed):
initialize the toolbar
* src/nautilus-window.h:
removed the button fields, since they're now referenced through
bonobo
2000-10-06 John Sullivan <sullivan@eazel.com>
Fixed bug 3512 (Some separators not appearing in the
right place)
* src/nautilus-shell-ui.xml: Reworked the separators and
"delimit" properties of placeholders. All values other
than 'delimit="top"' have been deprecated in Bonobo to
try to gain some performance, so I only used that.
* src/nautilus-window-private.h: Updated Zoom menu paths
that changed because I put in a new placeholder.
* src/nautilus-window.c:
(nautilus_window_zoom_level_changed_callback):
This code wasn't updating the sensitivity of "Zoom Normal"
at all. Now it's always sensitive for any zoom-supporting
view. (There's a separate bug about how it should only be
sensitive when not at the "Normal" setting, which I ignored
for now).
2000-10-06 John Sullivan <sullivan@eazel.com>
Oops, one more change from previous checkin (breaks build
without it)
* src/nautilus-window-manage-views.c:
Added missing include for nautilus-bonobo-extensions.h
2000-10-06 Mathieu Lacage <mathieu@eazel.com>
Fix bug 3125. new bonbo ui handler.
* libnautilus-extensions/nautilus-bonobo-extensions.c:
(nautilus_bonobo_set_hidden), (nautilus_bonobo_get_hidden):
add new functions.
* libnautilus-extensions/nautilus-bonobo-extensions.h:
add prototypes.
* src/nautilus-window-menus.c:
(nautilus_window_update_show_hide_menu_items):
switch to new bonobo code to hide/show toolbars. change menu
paths too.
* src/nautilus-window-private.h: change menu paths.
* src/nautilus-window.c: (show_dock_item), (hide_dock_item),
(dock_item_showing), (nautilus_window_hide_location_bar),
(nautilus_window_show_location_bar),
(nautilus_window_location_bar_showing),
(nautilus_window_hide_tool_bar), (nautilus_window_show_tool_bar),
(nautilus_window_tool_bar_showing),
(nautilus_window_hide_status_bar),
(nautilus_window_show_status_bar),
(nautilus_window_status_bar_showing):
switch to new bonobo code for toolbar hiding/showing
2000-10-06 John Sullivan <sullivan@eazel.com>
Finished bug 3496 (labels in menu items never change)
Finished bug 3495 (menu item sensitivity never changes)
I think I have fixed all outstanding code that was setting
the sensitivity and label text of menu items, except for
cut/copy/paste (which is commented out) and undo, which
has its own bug report. If you run across any others,
please write up new bugs.
* src/file-manager/fm-directory-view.c:
(insert_bonobo_menu_item),
(insert_bonobo_menu_subtree): Removed unnecessary (and
#ifdeffed-out) calls to bonobo_ui_handler_set_sensitivity.
(fm_directory_view_real_merge_menus): Removed unnecessary
call to fm_directory_view_update_menus.
* src/file-manager/fm-icon-view.c:
Updated menu path #defines that I needed to use later.
(update_layout_menus): Move set_sensitive calls out of #ifdef,
and modernize them.
(insert_bonobo_menu_item) removed unnecessary (and
#ifdeffed-out) call to bonobo_ui_handler_set_sensitivity
(fm_icon_view_merge_menus): Took out code that's been
modernized elsewhere;
(update_one_menu_item), (fm_icon_view_update_menus):
removed #ifdefs, and modernized.
* src/file-manager/fm-search-list-view.c:
(update_reveal_item): New helper function
(real_merge_menus): #ifdefs removed
(real_update_menus): Now calls helper function, #ifdefs removed
* src/file-manager/nautilus-search-list-view-ui.xml: Couldn't
resist improving a menu title
* src/nautilus-window-manage-views.c: (load_content_view):
modernize code setting initial zoom menu items sensitivity.
* src/nautilus-window-menus.c: (append_bookmark_to_menu),
(create_menu_item_from_node),
(nautilus_window_initialize_bookmarks_menu): Added more
parameter checking because I saw an unreproducible
parameter-failure crash a few levels deep.
2000-10-06 Rebecca Schulman <rebecka@eazel.com>
* libnautilus-extensions/nautilus-directory-async.c:
* libnautilus-extensions/nautilus-directory-private.h:
(set_up_request_by_file_attributes),
(update_file_info_in_list_if_needed),
(dequeue_pending_idle_callback),
(nautilus_directory_call_when_ready_internal),
(nautilus_directory_get_info_for_new_files),
(lacks_slow_mime_type), (wants_slow_mime_type),
(request_is_satisfied), (start_monitoring_file_list),
(get_info_callback), (start_getting_file_info):
Added separate ability to get file info with a
slow mime type in addition to the regular info.
This call uses the same call chain, to get file info
as the default, except it calls the async_get_file_info
call with arguments to specify the mime type as slow.
Since the file info structure itself doesn't
keep track of what kind of mime type is returned,
we keep track of this in the nautilus directory
structure itself.
* libnautilus-extensions/nautilus-file-private.h:
Changed the file object to keep track of both
kinds of mime types, and use the default one,
unless specifically requested otherwise.
* libnautilus-extensions/nautilus-file.c:
* libnautilus-extensions/nautilus-file.h:
(nautilus_file_new_from_info), (destroy),
(nautilus_file_update_info),
(nautilus_file_compare_by_type),
(nautilus_file_get_string_attribute),
(nautilus_file_get_type_as_string),
(nautilus_file_get_slow_mime_type), (nautilus_file_get_mime_type),
(nautilus_file_is_mime_type):
Add and extra argument to update_info,
to describe how the mime type was received.
Altered the mime type call, and added a get_slow_mime_type
call. Free and update the new mime type fields where
appropriate.
* libnautilus-extensions/nautilus-icon-container.c:
(nautilus_icon_container_start_renaming_selected_item):
Added a comment about where we'll need to
add code to fix bug 690
* libnautilus-extensions/nautilus-mime-actions.c:
(get_mime_type_from_file):
Updated the mime type call here to request the
slow mime type.
2000-10-06 John Sullivan <sullivan@eazel.com>
Work on bug 3496 (labels in menu items never change)
Work on bug 3495 (menu item sensitivity never changes)
Fixed bug 3503 ("Delete from Trash" never appears)
* libnautilus-extensions/nautilus-bonobo-extensions.h:
* libnautilus-extensions/nautilus-bonobo-extensions.c:
(nautilus_bonobo_set_accelerator),
(nautilus_bonobo_set_description): More new wrappers for
xml shenanigans.
* libnautilus/nautilus-bonobo-ui.h:
* src/file-manager/fm-directory-view.h:
Updated #defines for menu paths to match new syntax (start
with "/menu", include placeholder names)
* src/file-manager/fm-directory-view.c:
Store the BonoboUIComponent in FMDirectoryViewDetails.
(fm_directory_view_real_create_selection_context_menu_items),
(reset_bonobo_trash_delete_menu),
(compute_menu_item_info): merge "Move to Trash" and
"Delete from Trash" into single item.
(update_one_menu_item): Use new-style Bonobo calls.
(fm_directory_view_real_merge_menus): Remove old #ifddeffed code.
(fm_directory_view_real_update_menus): #ifdef guts back
in, and remove UIHandler references.
* src/file-manager/nautilus-directory-view-ui.xml: Fixed typo
in "Open in New Window" label.
* src/nautilus-window-menus.c:
(nautilus_window_update_find_menu_item): Removed stray debugging
comment.
2000-10-06 Mike Fleming <mfleming@eazel.com>
* components/mozilla/nautilus-mozilla-content-view.c:
(mozilla_merge_bonobo_items_callback):
Embedded Mozilla works again. (Minor case of passing the wrong class)
2000-10-06 J Shane Culpepper <pepper@eazel.com>
* components/services/summary/nautilus-view/nautilus-summary-view.c
: (generate_summary_form):
Fixing title bar. It was not getting displayed anymore.
2000-10-06 Andy Hertzfeld <andy@eazel.com>
* libnautilus-extensions/nautilus-sound.c:
(kill_sound_if_necessary), (nautilus_sound_can_play_sound):
fixed bug 3493, sound previews don't stop playing, by amending
the logic in can_play_sound to return TRUE if a sound is
already playing.
* src/file-manager/fm-icon-view.c: (preview_sound):
removed some code that was commented out
2000-10-06 Gene Z. Ragan <gzr@eazel.com>
* libnautilus-extensions/nautilus-global-preferences.c:
(use_proxy_changed):
Fixed an additonal issue dealing with proxy settings. A boolean
was getting reset improperly.
2000-10-06 John Sullivan <sullivan@eazel.com>
Fixed typo in built-in bookmark ("freshmean.net")
* data/static_bookmarks.xml:
2000-10-06 John Sullivan <sullivan@eazel.com>
Work on bug 3496 (labels in menu bar items never change)
Finished bug 3505 (tool bar & location bar don't extend across window)
* libnautilus-extensions/nautilus-bonobo-extensions.h:
* libnautilus-extensions/nautilus-bonobo-extensions.c:
(nautilus_bonobo_set_label): New cover for bonobo xml
shenanigans to change the displayed label of an item
(menu item, toolbar item, whatever).
* src/nautilus-shell-ui.xml: Set behavior attributes on
tool bar and location bar so they fill the width of the
window and so the location bar can't be made vertical.
(Requires bonobo update to see this work.)
* src/nautilus-window-menus.c:
(append_separator): New not-yet-implemented function called
by other not-yet-working-again code.
(nautilus_window_initialize_menus): Took out a bunch of the
old #ifdeffed code now that the replacement code works.
(nautilus_window_update_find_menu_item): Toggle the label
of the Find menu item.
* src/nautilus-window.c: (nautilus_window_constructed):
Removed some #ifdeffed code.
2000-10-06 J Shane Culpepper <pepper@eazel.com>
* components/services/summary/nautilus-view/nautilus-summary-view.c
: (generate_summary_form):
Fixed major ui problem with background colors on scrolled window
viewports. Summary view looks alot better now.
2000-10-06 Gene Z. Ragan <gzr@eazel.com>
Fixed bug 3489, HTTP proxy field gets set, ignore "Use" checkbox
Fixed bug 3490, HTTP proxy should default to 8080
* libnautilus-extensions/nautilus-global-preferences.c:
(proxy_changed), (use_proxy_changed), (register_proxy_preferences):
Use better logic to set/unset variables.
Add a default proxy port of 8080
2000-10-06 Mike Fleming <mfleming@eazel.com>
* components/services/summary/nautilus-view/nautilus-summary-view.c
: (generate_summary_form), (generate_service_entry_row),
(generate_eazel_news_entry_row), (generate_update_news_entry_row):
Set some instance variables to NULL
2000-10-06 J Shane Culpepper <pepper@eazel.com>
* components/services/summary/nautilus-view/nautilus-summary-view.c
: (generate_summary_form):
Fixing gtk_widget_show crap. Removed double frees.
2000-10-06 Ramiro Estrugo <ramiro@eazel.com>
* nautilus.spec.in:
Fix the freetype2 requires version.
2000-10-06 Ramiro Estrugo <ramiro@eazel.com>
* librsvg/Makefile.am:
Update for the FreeType2 changes.
* nautilus.spec.in:
Update for the FreeType2 changes. Add requires dependency on
freetype2.
2000-10-06 Ramiro Estrugo <ramiro@eazel.com>
* README:
Add FreeType2 information.
* configure.in:
Add support for using freetype2 installed in the system from devel
rpms.
* cut-n-paste-code/Makefile.am:
* cut-n-paste-code/freetype/Makefile.am:
* cut-n-paste-code/freetype/README:
* cut-n-paste-code/freetype/autohint.h:
* cut-n-paste-code/freetype/cff.c:
* cut-n-paste-code/freetype/cidafm.c:
* cut-n-paste-code/freetype/cidafm.h:
* cut-n-paste-code/freetype/cidgload.c:
* cut-n-paste-code/freetype/cidgload.h:
* cut-n-paste-code/freetype/cidload.c:
* cut-n-paste-code/freetype/cidload.h:
* cut-n-paste-code/freetype/cidobjs.c:
* cut-n-paste-code/freetype/cidobjs.h:
* cut-n-paste-code/freetype/cidparse.c:
* cut-n-paste-code/freetype/cidparse.h:
* cut-n-paste-code/freetype/cidriver.c:
* cut-n-paste-code/freetype/cidriver.h:
* cut-n-paste-code/freetype/cidtokens.h:
* cut-n-paste-code/freetype/freetype.h:
* cut-n-paste-code/freetype/ftbase.c:
* cut-n-paste-code/freetype/ftbbox.h:
* cut-n-paste-code/freetype/ftcalc.c:
* cut-n-paste-code/freetype/ftcalc.h:
* cut-n-paste-code/freetype/ftconfig.h:
* cut-n-paste-code/freetype/ftdebug.c:
* cut-n-paste-code/freetype/ftdebug.h:
* cut-n-paste-code/freetype/ftdriver.h:
* cut-n-paste-code/freetype/fterrors.h:
* cut-n-paste-code/freetype/ftextend.c:
* cut-n-paste-code/freetype/ftextend.h:
* cut-n-paste-code/freetype/ftglyph.c:
* cut-n-paste-code/freetype/ftglyph.h:
* cut-n-paste-code/freetype/ftgrays.c:
* cut-n-paste-code/freetype/ftgrays.h:
* cut-n-paste-code/freetype/ftimage.h:
* cut-n-paste-code/freetype/ftinit.c:
* cut-n-paste-code/freetype/ftlist.c:
* cut-n-paste-code/freetype/ftlist.h:
* cut-n-paste-code/freetype/ftmemory.h:
* cut-n-paste-code/freetype/ftmm.c:
* cut-n-paste-code/freetype/ftmm.h:
* cut-n-paste-code/freetype/ftmodule-list.h:
* cut-n-paste-code/freetype/ftmodule.h:
* cut-n-paste-code/freetype/ftobjs.c:
* cut-n-paste-code/freetype/ftobjs.h:
* cut-n-paste-code/freetype/ftoption.h:
* cut-n-paste-code/freetype/ftoutln.c:
* cut-n-paste-code/freetype/ftoutln.h:
* cut-n-paste-code/freetype/ftraster.c:
* cut-n-paste-code/freetype/ftraster.h:
* cut-n-paste-code/freetype/ftrend1.c:
* cut-n-paste-code/freetype/ftrend1.h:
* cut-n-paste-code/freetype/ftrender.h:
* cut-n-paste-code/freetype/ftsmooth.c:
* cut-n-paste-code/freetype/ftsmooth.h:
* cut-n-paste-code/freetype/ftstream.c:
* cut-n-paste-code/freetype/ftstream.h:
* cut-n-paste-code/freetype/ftsystem.c:
* cut-n-paste-code/freetype/ftsystem.h:
* cut-n-paste-code/freetype/fttypes.h:
* cut-n-paste-code/freetype/license.txt:
* cut-n-paste-code/freetype/psmodule.c:
* cut-n-paste-code/freetype/psmodule.h:
* cut-n-paste-code/freetype/psnames.h:
* cut-n-paste-code/freetype/pstables.h:
* cut-n-paste-code/freetype/raster1.c:
* cut-n-paste-code/freetype/sfdriver.c:
* cut-n-paste-code/freetype/sfdriver.h:
* cut-n-paste-code/freetype/sfnt.c:
* cut-n-paste-code/freetype/sfnt.h:
* cut-n-paste-code/freetype/sfobjs.c:
* cut-n-paste-code/freetype/sfobjs.h:
* cut-n-paste-code/freetype/smooth.c:
* cut-n-paste-code/freetype/t1afm.c:
* cut-n-paste-code/freetype/t1afm.h:
* cut-n-paste-code/freetype/t1driver.c:
* cut-n-paste-code/freetype/t1driver.h:
* cut-n-paste-code/freetype/t1errors.h:
* cut-n-paste-code/freetype/t1gload.c:
* cut-n-paste-code/freetype/t1gload.h:
* cut-n-paste-code/freetype/t1hinter.c:
* cut-n-paste-code/freetype/t1hinter.h:
* cut-n-paste-code/freetype/t1load.c:
* cut-n-paste-code/freetype/t1load.h:
* cut-n-paste-code/freetype/t1objs.c:
* cut-n-paste-code/freetype/t1objs.h:
* cut-n-paste-code/freetype/t1parse.c:
* cut-n-paste-code/freetype/t1parse.h:
* cut-n-paste-code/freetype/t1tables.h:
* cut-n-paste-code/freetype/t1tokens.c:
* cut-n-paste-code/freetype/t1tokens.h:
* cut-n-paste-code/freetype/t1types.h:
* cut-n-paste-code/freetype/t2driver.c:
* cut-n-paste-code/freetype/t2driver.h:
* cut-n-paste-code/freetype/t2errors.h:
* cut-n-paste-code/freetype/t2gload.c:
* cut-n-paste-code/freetype/t2gload.h:
* cut-n-paste-code/freetype/t2load.c:
* cut-n-paste-code/freetype/t2load.h:
* cut-n-paste-code/freetype/t2objs.c:
* cut-n-paste-code/freetype/t2objs.h:
* cut-n-paste-code/freetype/t2parse.c:
* cut-n-paste-code/freetype/t2parse.h:
* cut-n-paste-code/freetype/t2tokens.h:
* cut-n-paste-code/freetype/t2types.h:
* cut-n-paste-code/freetype/truetype.c:
* cut-n-paste-code/freetype/ttcmap.c:
* cut-n-paste-code/freetype/ttcmap.h:
* cut-n-paste-code/freetype/ttdriver.c:
* cut-n-paste-code/freetype/ttdriver.h:
* cut-n-paste-code/freetype/tterrors.h:
* cut-n-paste-code/freetype/ttgload.c:
* cut-n-paste-code/freetype/ttgload.h:
* cut-n-paste-code/freetype/ttinterp.c:
* cut-n-paste-code/freetype/ttinterp.h:
* cut-n-paste-code/freetype/ttload.c:
* cut-n-paste-code/freetype/ttload.h:
* cut-n-paste-code/freetype/ttnameid.h:
* cut-n-paste-code/freetype/ttobjs.c:
* cut-n-paste-code/freetype/ttobjs.h:
* cut-n-paste-code/freetype/ttpload.c:
* cut-n-paste-code/freetype/ttpload.h:
* cut-n-paste-code/freetype/ttpost.c:
* cut-n-paste-code/freetype/ttpost.h:
* cut-n-paste-code/freetype/ttsbit.c:
* cut-n-paste-code/freetype/ttsbit.h:
* cut-n-paste-code/freetype/tttables.h:
* cut-n-paste-code/freetype/tttags.h:
* cut-n-paste-code/freetype/tttypes.h:
* cut-n-paste-code/freetype/type1.c:
* cut-n-paste-code/freetype/type1cid.c:
* cut-n-paste-code/freetype/type1z.c:
* cut-n-paste-code/freetype/winfnt.c:
* cut-n-paste-code/freetype/winfnt.h:
* cut-n-paste-code/freetype/z1afm.c:
* cut-n-paste-code/freetype/z1afm.h:
* cut-n-paste-code/freetype/z1driver.c:
* cut-n-paste-code/freetype/z1driver.h:
* cut-n-paste-code/freetype/z1gload.c:
* cut-n-paste-code/freetype/z1gload.h:
* cut-n-paste-code/freetype/z1load.c:
* cut-n-paste-code/freetype/z1load.h:
* cut-n-paste-code/freetype/z1objs.c:
* cut-n-paste-code/freetype/z1objs.h:
* cut-n-paste-code/freetype/z1parse.c:
* cut-n-paste-code/freetype/z1parse.h:
* cut-n-paste-code/freetype/z1tokens.h:
Removed the cut-n-pasted FreeType2 we had in our build.
* libnautilus-extensions/Makefile.am:
* librsvg/Makefile.am:
* nautilus.spec.in:
Update for FreeType2 changes.
2000-10-05 J Shane Culpepper <pepper@eazel.com>
* components/services/summary/nautilus-view/nautilus-summary-view.c
: (generate_summary_form), (generate_service_entry_row),
(generate_eazel_news_entry_row), (generate_update_news_entry_row):
Fixed gtk_widget_destroy problem, removed lots of debugging code,
and fixed most of the memory leaks.
2000-10-06 Gene Z. Ragan <gzr@eazel.com>
Fixed bug 2212, Not able to drag icons from the panel.
* libnautilus-extensions/nautilus-icon-container.c:
* libnautilus-extensions/nautilus-icon-container.h:
(button_release_event), (nautilus_icon_container_initialize_class):
Add a new signal to create symbolic links
* libnautilus-extensions/nautilus-icon-dnd.c:
(drag_data_received_callback), (receive_dropped_uri_list),
(nautilus_icon_container_get_drop_action), (drag_motion_callback):
Handle URI drags.
* src/file-manager/fm-desktop-icon-view.c:
(fm_desktop_icon_view_initialize), (create_link_callback),
(icon_view_create_nautilus_links):
Callbacks to handle the create_nautilus_links signal. Create
links from the data passed in the list using gnome-vfs async
callback.
* libnautilus-extensions/nautilus-program-choosing.c:
(nautilus_launch_application_from_command):
Quoted the command string in addition to the parameter.
2000-10-05 Mike Fleming <mfleming@eazel.com>
* components/services/summary/nautilus-view/nautilus-summary-view.c
: (generate_summary_form), (generate_service_entry_row),
(generate_eazel_news_entry_row), (generate_update_news_entry_row),
(entry_changed_cb), (authn_cb_failed), (login_button_cb),
(who_is_logged_in), (logged_in_callback), (logged_out_callback):
Fixed memory handling issues; Removed gtk_widget_show()'s
2000-10-05 Eskil Heyn Olsen <eskil@eazel.com>
* components/services/install/command-line/eazel-alt-install-corba.
c: (set_parameters_from_command_line):
* components/services/install/lib/eazel-install-metadata.c:
(init_default_transfer_configuration):
* components/services/install/lib/eazel-install-object.c:
(create_temporary_directory), (eazel_install_alter_mode_on_temp),
(eazel_install_delete_downloads), (eazel_install_install_packages),
(eazel_install_revert_transaction_from_xmlstring):
Fixed the tmpdir schema (fixes bug 2927).
* components/services/install/lib/eazel-install-protocols.c:
(get_search_url_for_package):
Added flag=8 for version find. This opens bug 3482.
* components/services/install/lib/eazel-install-query.c:
(eazel_install_simple_rpm_query):
Made a better comparision to avoid dupes in the result list.
* components/services/install/lib/eazel-install-rpm-glue.c:
(eazel_install_package_compare),
The better comparision for eazel-install-query.
(install_new_packages),
Removed obsolete tmpdir creation.
(eazel_install_check_existing_packages):
g_assert when rpmdb appears to be screwed, this opens bug 3511.
* components/services/trilobite/libtrilobite/trilobite-core-utils.c
: (trilobite_open_uri):
Formatting.
2000-10-06 Mathieu Lacage <mathieu@eazel.com>
* components/adapter/Makefile.am: add VFS_CFLAGS.
2000-10-05 Mike Fleming <mfleming@eazel.com>
* components/services/summary/nautilus-view/nautilus-summary-view.c
: (generate_summary_form), (generate_service_entry_row),
(generate_eazel_news_entry_row), (authn_cb_succeeded),
(authn_cb_failed), (logout_button_cb), (am_i_logged_in):
Small fixes to summary view
2000-10-05 Robey Pointer <robey@eazel.com>
* components/services/install/lib/eazel-install-protocols.c:
(add_to_url):
* nautilus-installer/src/installer.c: (eazel_installer_initialize):
Fix off-by-2x bug in allocating quoted URL segments.
2000-10-05 Darin Adler <darin@eazel.com>
* README: Change required versions.
* libnautilus-extensions/nautilus-bonobo-extensions.h:
* libnautilus-extensions/nautilus-bonobo-extensions.c:
(nautilus_bonobo_set_sensitive):
Added new function that works with the new UI framework.
* libnautilus-extensions/nautilus-druid-page-eazel.h:
* libnautilus-extensions/nautilus-druid.h:
* src/nautilus-shell-ui.xml: Make Select All insensitive.
* src/nautilus-window.c: (nautilus_window_constructed):
Get rid of some more of the old status bar code.
(nautilus_window_allow_back), (nautilus_window_allow_forward),
(nautilus_window_allow_up), (nautilus_window_allow_reload),
(nautilus_window_allow_stop),
(nautilus_window_zoom_level_changed_callback): Set shell
menu item sensitivity with the new API.
* src/nautilus-window.h: Remove status_bar_context_id.
2000-10-05 Andy Hertzfeld <andy@eazel.com>
* libnautilus-extensions/nautilus-customization-data.c:
(nautilus_customization_data_get_next_element_for_display):
made it use nautilus_image instead of gtk_pixmap so nice
anti-aliased emblems can be displayed
* src/nautilus-property-browser.c: (make_drag_image),
(element_clicked_callback), (make_properties_from_xml_node):
made it deal with nautilus_image instead of pixwidgets
* data/emblems/Makefile.am:
* icons/Makefile.am:
* icons/emblem-OK.svg:
* icons/emblem-distinguished.svg:
* icons/emblem-draft.svg:
* icons/emblem-favorite.svg:
* icons/emblem-generic.svg:
* icons/emblem-important.svg:
* icons/emblem-new.svg:
* icons/emblem-noread.svg:
* icons/emblem-nowrite.svg:
* icons/emblem-ohno.svg:
* icons/emblem-personal.svg:
* icons/emblem-shared.svg:
* icons/emblem-special.svg:
* icons/emblem-urgent.svg:
new or update emblems from Susan
* libnautilus-extensions/nautilus-image.h:
removed spurious comment
2000-10-05 Mike Fleming <mfleming@eazel.com>
* nautilus-clean.sh:
Added nautilus-summary-view to nautilus-clean.sh
2000-10-05 Darin Adler <darin@eazel.com>
Cut over to HEAD of Bonobo. This check-in includes all the changes
needed to compile and run, but there are many things wrong
visually that may take a while to get fixed.
* src/nautilus-window-menus.c: (file_menu_new_window_callback),
(file_menu_close_window_callback),
(file_menu_close_all_windows_callback),
(file_menu_toggle_find_mode_callback),
(file_menu_web_search_callback), (edit_menu_undo_callback),
(edit_menu_cut_callback), (edit_menu_copy_callback),
(edit_menu_paste_callback), (edit_menu_clear_callback),
(go_menu_back_callback), (go_menu_forward_callback),
(go_menu_up_callback), (go_menu_home_callback),
(go_menu_forget_history_callback), (view_menu_reload_callback),
(view_menu_show_hide_sidebar_callback),
(view_menu_show_hide_tool_bar_callback),
(view_menu_show_hide_location_bar_callback),
(view_menu_show_hide_status_bar_callback),
(nautilus_window_update_show_hide_menu_items),
(view_menu_zoom_in_callback), (view_menu_zoom_out_callback),
(view_menu_zoom_normal_callback),
(bookmarks_menu_add_bookmark_callback),
(bookmarks_menu_edit_bookmarks_callback),
(user_level_customize_callback), (customize_callback),
(change_appearance_callback), (help_menu_about_nautilus_callback),
(help_menu_nautilus_feedback_callback), (switch_to_user_level),
(user_level_menu_item_callback), (append_placeholder),
(append_separator), (append_bookmark_to_menu),
(create_menu_item_from_node), (remove_bookmarks_after),
(remove_underline_accelerator_from_menu_title),
(new_top_level_menu), (add_user_level_menu_item),
(nautilus_window_initialize_menus),
(nautilus_window_update_find_menu_item),
(update_user_level_menu_items), (convert_verb_to_user_level),
(convert_user_level_to_verb), (update_preferences_dialog_title):
* src/nautilus-window.c: (nautilus_window_clear_status),
(nautilus_window_set_status), (install_status_bar),
(nautilus_window_constructed), (nautilus_window_set_arg),
(nautilus_window_get_arg), (nautilus_window_destroy),
(nautilus_window_allow_back), (nautilus_window_allow_forward),
(nautilus_window_allow_up), (nautilus_window_allow_reload),
(nautilus_window_zoom_level_changed_callback),
(nautilus_window_set_content_view_widget), (show_dock_item),
(hide_dock_item), (dock_item_showing),
(nautilus_window_hide_tool_bar), (nautilus_window_show_tool_bar),
(nautilus_window_tool_bar_showing),
(nautilus_window_hide_status_bar),
(nautilus_window_show_status_bar),
(nautilus_window_status_bar_showing):
Convert to new API. Some is disabled with #ifdef UIH.
* Makefile.am:
* configure.in:
Turned off build of the idl directory, build components after src.
* components/adapter/main.c:
* components/notes/nautilus-notes.c:
* components/sample/main.c:
* libnautilus-extensions/nautilus-font-picker.c:
* libnautilus-extensions/nautilus-global-preferences.c:
* libnautilus-extensions/nautilus-password-dialog.c:
* libnautilus-extensions/nautilus-preferences-item.c:
* libnautilus/nautilus-undo-transaction.c:
* libnautilus/nautilus-undo.c:
* src/nautilus-application.c:
* src/nautilus-history-frame.c:
* src/nautilus-link-set-window.c:
* src/nautilus-main.c:
* src/nautilus-shell.c:
* src/nautilus-sidebar.c:
* src/nautilus-view-frame-corba.c:
* src/nautilus-zoomable-frame-corba.c:
* test/test-nautilus-font-picker.c:
* test/test-nautilus-image.c: (create_font_picker_frame):
* test/test-nautilus-label.c: (create_font_picker_frame):
* test/test-nautilus-preferences.c:
* test/test-nautilus-widgets.c: (radio_group_load_it_up):
Fixed includes.
* test/test-nautilus-image.c: (create_font_picker_frame):
* test/test-nautilus-label.c: (create_font_picker_frame):
* test/test-nautilus-widgets.c: (radio_group_load_it_up):
Turned off localization of some strings in tests.
* components/adapter/nautilus-adapter-control-embed-strategy.c:
(nautilus_adapter_control_embed_strategy_new):
* components/adapter/nautilus-adapter-control-embed-strategy.h:
* components/adapter/nautilus-adapter-embed-strategy.c:
(nautilus_adapter_embed_strategy_get):
* components/adapter/nautilus-adapter-embed-strategy.h:
* components/adapter/nautilus-adapter-embeddable-embed-strategy.c:
(nautilus_adapter_embeddable_embed_strategy_new):
* components/adapter/nautilus-adapter-embeddable-embed-strategy.h:
Embedding code now deals with Bonobo_UIContainer, not
Bonobo_UIHandler.
* components/adapter/nautilus-adapter.c: (nautilus_adapter_new):
This code not only had to be changed to deal with the
Bonobo_UIContainer instead of Bonobo_UIHandler, but it also needed
to deal with the containing item (was remote_ui_handler), not the
local component.
* components/adapter/nautilus-adapter-embeddable-embed-strategy.c:
(nautilus_adapter_embeddable_embed_strategy_new):
* components/adapter/nautilus-adapter.c:
BonoboContainer was renamed BonoboItemContainer.
* components/history/nautilus-history-view.c:
Remove unused BonoboUIHandler * field.
* components/loser/content/Makefile.am:
* components/loser/sidebar/Makefile.am:
* components/mozilla/Makefile.am:
* components/sample/Makefile.am:
* src/Makefile.am:
* src/file-manager/Makefile.am:
Added the necessary defines and build rules to install ui.xml
files and locate them from the C code.
* src/file-manager/nautilus-directory-view-ui.xml:
* src/file-manager/nautilus-icon-view-ui.xml:
* src/file-manager/nautilus-search-list-view-ui.xml:
* src/nautilus-shell-ui.xml:
Added definitions of user interface.
* components/loser/content/nautilus-content-loser-ui.xml:
* components/loser/sidebar/nautilus-sidebar-loser-ui.xml:
* components/mozilla/nautilus-mozilla-ui.xml:
* components/sample/nautilus-sample-content-view-ui.xml:
Added empty placeholders for user interface.
* components/loser/content/nautilus-content-loser.c:
(loser_merge_bonobo_items_callback):
* components/loser/sidebar/nautilus-sidebar-loser.c:
(loser_merge_bonobo_items_callback):
* components/mozilla/nautilus-mozilla-content-view.c:
(mozilla_merge_bonobo_items_callback):
* components/sample/nautilus-sample-content-view.c:
(sample_merge_bonobo_items_callback):
Use nautilus_view_set_up_ui to get the user interface from a
ui.xml file. Put #ifdef UIH around old code to make the items work
that still needs to be visited.
* libnautilus-extensions/nautilus-bonobo-extensions.c:
* libnautilus-extensions/nautilus-bonobo-extensions.h:
* libnautilus-extensions/nautilus-undo-manager.c:
* libnautilus-extensions/nautilus-undo-manager.h:
* libnautilus/nautilus-clipboard.c: (add_menu_items_callback),
(remove_menu_items_callback),
(nautilus_clipboard_set_up_editable_from_bonobo_control):
* libnautilus/nautilus-clipboard.h:
Wrapped code in ifdef UIH to disable it until it can be converted
to the new Bonobo.
* libnautilus-extensions/nautilus-caption-table.h:
* libnautilus-extensions/nautilus-caption.h:
* libnautilus-extensions/nautilus-font-picker.h:
* libnautilus-extensions/nautilus-preferences-group.h:
* libnautilus-extensions/nautilus-preferences-item.h:
* libnautilus-extensions/nautilus-radio-button-group.h:
* src/nautilus-about.h:
Got rid of any cases where headers include the omnibus header
<gnome.h>. These made the conversion process harder, which is why
we fixed them.
* libnautilus/libnautilus.h:
Got rid of cases where headers include the omnibus header
<bonobo.h>.
* libnautilus/nautilus-view.h:
* libnautilus/nautilus-view.c: (nautilus_view_set_up_ui):
Added a helper function to make it easy for Nautilus components to
load their UI and get it attached to the Nautilus:View object.
* nautilus.spec.in: Install the nautilus-*-ui.xml files too.
* src/file-manager/fm-directory-view.h:
* src/file-manager/fm-directory-view.c:
(bonobo_menu_select_all_callback),
(bonobo_menu_empty_trash_callback),
(bonobo_control_activate_callback): Convert to new API.
(fm_directory_view_get_bonobo_ui_container): Name and purpose
changed slightly for new API.
(fm_directory_view_real_merge_menus): Merge with new API.
(fm_directory_view_real_update_menus): Disabled this code for now.
* src/file-manager/fm-icon-view.c: (fm_icon_view_destroy): Destroy
icon view's own component at destroy time.
(context_menu_layout_radio_item_callback),
(append_one_context_menu_layout_item),
(fm_icon_view_create_background_context_menu_items),
(update_layout_menus): Convert to new API, disable some with
#ifdef UIH.
(get_sort_criterion_by_verb),
(set_sort_criterion_by_verb), (sort_callback): Convert to new API.
(fm_icon_view_merge_menus): Merge with new API, creating our own
UI component separate from the directory view's.
(fm_icon_view_update_menus): Disable with #ifdef UIH.
* src/file-manager/fm-search-list-view.h:
* src/file-manager/fm-search-list-view.c:
(fm_search_list_view_initialize_class),
(fm_search_list_view_initialize), (real_destroy),
(indexing_info_callback), (real_merge_menus), (real_update_menus):
Add code necessary to use a separate UI component, and disabled
the actual menu set-up code with #ifdef UIH. This required adding
a details struct.
* src/nautilus-desktop-window.c: (realize): Turned off the code
that hides the desktop elements.
* src/nautilus-window-private.h:
* src/nautilus-view-frame.h:
* src/nautilus-view-frame.c: (nautilus_view_frame_destroy),
(nautilus_view_frame_new), (nautilus_view_frame_load_client):
* src/nautilus-window-manage-views.c: (load_content_view),
(nautilus_window_set_sidebar_panels):
Change to use Bonobo_UIContainer instead of Bonobo_UIHandler.
* src/nautilus-window-toolbars.c: (remember_buttons),
(nautilus_window_initialize_toolbars): Leave this code around and
change it enough to compile and run, even though it's creating a
second, invisible toolbar.
* src/nautilus-window.h: Change to be a BonoboWin subclass instead
of a GnomeApp subclass.
2000-10-05 Ramiro Estrugo <ramiro@eazel.com>
* nautilus.spec.in:
Remove About.html which is no longer in the tree.
2000-10-05 Pavel Cisler <pavel@eazel.com>
* libnautilus-extensions/nautilus-list.c:
(nautilus_list_clear_from_row):
Fix one more rectangle arithmetic overflow bug that was causing
a list view update glitch. Hope this is the last of bug 2036.
2000-10-05 Ramiro Estrugo <ramiro@eazel.com>
* src/nautilus-profiler.c: (scrolled_text_new),
(window_delete_event), (window_print_button_callback),
(window_save_button_callback), (dump_dialog_new),
(dump_dialog_show), (nautilus_profiler_bonobo_ui_report_callback):
Make the profile report show up in a scrolling text window.
2000-10-05 Ramiro Estrugo <ramiro@eazel.com>
* src/Makefile.am:
Build profiler hooks if ENABLE_PROFILER is enabled.
* src/nautilus-profiler.c: (widget_find_ancestor_window),
(ui_handler_find_ancestor_window), (widget_set_busy_cursor),
(widget_clear_busy_cursor),
(nautilus_profiler_bonobo_ui_report_callback):
Add support for saving dump to a file.
2000-10-05 Ramiro Estrugo <ramiro@eazel.com>
* components/services/install/lib/eazel-install-types.c:
(packagedata_fill_from_rpm_header):
Fix uninitialized variable.
2000-10-05 Ramiro Estrugo <ramiro@eazel.com>
* nautilus.spec.in:
Add the nautilus-image-view component.
2000-10-05 Andy Hertzfeld <set EMAIL_ADDRESS environment variable>
* data/top/.nautilus-metafile.xml:
* data/top/About.html:
* data/top/Makefile.am:
fixed bug 3412, about.html in novice home directory misaligned
with audience, by deleting it
* src/nautilus-property-browser.c: (make_property_tile):
improved property browser item layout by making the labels
line up in the table.
2000-10-04 Ramiro Estrugo <ramiro@eazel.com>
* src/nautilus-profiler.c:
(nautilus_profiler_bonobo_ui_reset_callback),
(nautilus_profiler_bonobo_ui_start_callback),
(nautilus_profiler_bonobo_ui_stop_callback),
(nautilus_profiler_bonobo_ui_report_callback):
* src/nautilus-profiler.h:
New files. Hooks for having profiling menu support in nautilus.
Not wired up yet.
2000-10-04 Andy Hertzfeld <andy@eazel.com>
* libnautilus-extensions/nautilus-icon-container.c:
(get_icon_space_width):
fixed problem Arlo found where tighter layout mode causes the
selection boxes of adjacent icons to overlap, by giving a little
extra space in tighter layout mode.
* libnautilus-extensions/nautilus-thumbnails.c:
(nautilus_get_thumbnail_uri), (check_for_thumbnails):
`made thumbnails update in raster order, instead of reverse order
like it was doing, by using glist_append instead of glist_prepend;
also, made it use the real "broken image" icon.
* icons/Makefile.am:
* icons/i-broken-image.png:
added image from Susan to use as "thumbnailing failed" image
2000-10-04 Robey Pointer <robey@eazel.com>
* components/services/install/lib/eazel-install-metadata.c:
(init_default_transfer_configuration):
* components/services/install/lib/eazel-install-object.c:
(eazel_install_set_arg), (eazel_install_class_initialize),
(eazel_install_new_with_config):
* components/services/install/lib/eazel-install-protocols.c:
(get_search_url_for_package):
* components/services/install/lib/eazel-install-public.h:
* components/services/install/lib/eazel-install-types.h:
* components/services/trilobite/doc/gconf.txt:
* components/services/trilobite/libtrilobite/trilobite-core-utils.c
: (trilobite_open_uri), (trilobite_fetch_uri):
Add "eazel-auth" config to gconf settings that makes the install
XML fetching use eazel-services: URI type instead of http:
(defaults to on). This is required for security reasons, once
eazel-services: uses SSL.
2000-10-04 Robey Pointer <robey@eazel.com>
* nautilus-installer/src/installer.c: (eazel_install_dep_check):
* nautilus-installer/src/main.c:
Install lib doesn't always hint us with package names now, so dig
it out when showing dependency labels. Fix up wording of --local
option for Eli.
2000-10-04 Maciej Stachowiak <mjs@eazel.com>
* nautilus.spec.in: Add nautilus-adpater
2000-10-04 Ramiro Estrugo <ramiro@eazel.com>
* configure.in:
Fix a dumb typo in the comments.
2000-10-04 Ramiro Estrugo <ramiro@eazel.com>
* configure.in:
Fixed profiler path.
2000-10-04 J Shane Culpepper <pepper@eazel.com>
* components/services/summary/nautilus-view/nautilus-summary-view.c
: (generate_summary_form), (logged_in_callback),
(logged_out_callback), (nautilus_summary_view_initialize),
(nautilus_summary_view_load_uri):
Fixed the redraw failure when logging in. Fixed the background
color problem but scrolled window containers still don't pickup
the NautilusBackground color. I have no idea why this doesn't
work. Removed the "Loading Services" form since it was not
very useful and caused lots of problems.
2000-10-04 Ramiro Estrugo <ramiro@eazel.com>
* configure.in:
Dont build the mozilla component for profiled builds cause the c++
compiler used for mozilla rpms is not binary compatible with the
one used for profiling.
2000-10-04 Ramiro Estrugo <ramiro@eazel.com>
* configure.in:
Fix a typo and stop spewing profile cflags since there isnt any.
2000-10-04 Ramiro Estrugo <ramiro@eazel.com>
* acconfig.h:
* configure.in:
Add profiling support via --enable-profiler.
2000-10-04 Ramiro Estrugo <ramiro@eazel.com>
* components/services/install/server/Makefile.am:
* components/services/time/service/Makefile.am:
* components/services/trilobite/sample/service/Makefile.am:
Dont hardcode LDFLAGS in these makefiles, otherwise LDFLAGS cant
be globally set at configure time.
2000-10-04 Pavel Cisler <pavel@eazel.com>
* libnautilus-extensions/nautilus-drag.h:
Bug 2943.
Set the auto-scroll delay to 750 ms per Arlo's recommendation.
* libnautilus-extensions/nautilus-list.c: (rectangle_intersect),
(nautilus_list_clear_from_row):
Finish up 2036 - rectangular sections of list view sometimes
get erased. Fix up all the other list view drawing glitches that
were showing up when invalidating the list view with other windows,
resizing columns, etc.
gdk_rectangle_intersect is ultra-lame and returns undefined rectangles
when doing an intersection of two disjoint rectangles, instead of returning
an empty rectangle with zero width/height.
For now replaced places that relied on this behavior to be correct with a
call to rectangle_intersect that handles the result properly.
2000-10-04 Michael Engber <engber@eazel.com>
Changed the background code so that updates occuring
during image loading are handled by drawing with the
old settings. This prevents visual glitches/flash (bug 739)
* libnautilus-extensions/nautilus-background.c:
(nautilus_background_remove_current_image),
(nautilus_background_destroy),
(nautilus_background_set_image_placement),
(reset_cached_color_info),
(nautilus_background_ensure_gradient_buffered),
(nautilus_background_image_totally_obscures),
(nautilus_background_ensure_image_scaled),
(nautilus_background_pre_draw), (nautilus_background_set_color),
(nautilus_background_load_image_callback),
(nautilus_background_is_image_load_in_progress),
(nautilus_background_cancel_loading_image),
(nautilus_background_start_loading_image),
(nautilus_background_set_image_uri_no_emit),
(nautilus_background_set_image_uri_helper),
(nautilus_background_set_image_uri),
(set_image_and_color_image_loading_done_callback),
(nautilus_background_set_image_uri_and_color),
(nautilus_background_receive_dropped_background_image),
(nautilus_background_is_loaded), (nautilus_background_real_reset),
(nautilus_background_is_too_complex_for_gtk_style),
(nautilus_background_receive_dropped_color):
2000-10-04 Eskil Heyn Olsen <eskil@eazel.com>
* components/services/install/command-line/eazel-alt-install-corba.
c: (tree_helper):
Just print the rpmname and not the file anme
* components/services/install/lib/eazel-install-md5.c:
(md5_get_digest_from_file):
Handle filename==null
* components/services/install/lib/eazel-install-object.c:
(eazel_install_emit_dependency_check_default):
Hack that should be removed when 3460 is fixed
* components/services/install/lib/eazel-install-protocols.c:
(eazel_install_fetch_package):
Indention...
* components/services/install/lib/eazel-install-query.c:
(eazel_install_simple_query):
Variable init
* components/services/install/lib/eazel-install-rpm-glue.c:
(eazel_install_pre_install_packages),
(eazel_install_download_packages),
(eazel_install_check_for_file_conflicts),
(eazel_install_monitor_subcommand_pipe),
(eazel_install_do_transaction_md5_check),
(eazel_install_prepare_package_system),
(eazel_install_free_package_system),
(eazel_install_check_existing_packages),
(eazel_install_fetch_dependencies),
(eazel_install_do_rpm_dependency_check),
(eazel_install_do_file_conflict_check),
(eazel_install_do_dependency_check), (eazel_install_ensure_deps),
(eazel_uninstall_upward_traverse),
(eazel_uninstall_downward_traverse),
(eazel_uninstall_check_for_install):
Variable init, removed some old fixme comments.
Fixed 3373. Slightly better packagesystem modularity now.
* components/services/install/lib/eazel-install-rpm-signature.c:
(trilobite_check_rpm_signature):
variable init.
* components/services/install/lib/eazel-install-types.c:
(packagedata_new), (packagedata_fill_from_rpm_header),
(packagedata_fill_from_file), (packagedata_destroy),
Fixed 3458.
Fixed 3465.
(packagedata_modstatus_enum_to_str),
(packagedata_modstatus_str_to_enum):
Var initializing.
* nautilus-installer/src/Makefile:
Yeah..
2000-10-04 Andy Hertzfeld <andy@eazel.com>
* icons/i-music.png:
better version of the non-anti-aliased music icon from Susan
inadvertently left out of my previous check-in
2000-10-04 Andy Hertzfeld <andy@eazel.com>
* src/file-manager/fm-icon-view.c:
(icon_container_preview_callback):
fixed bug 3463, get sound diagnostics when mousing over non-sound
files, by only testing for sound if we're over a sound file
* src/nautilus-window-toolbars.c: (set_up_throbber_frame_type),
(allocate_throbber), (theme_changed_callback),
(nautilus_window_initialize_toolbars),
(nautilus_window_toolbar_remove_theme_callback):
made the shadow type of the throbber frame be specified by the
theme.
* icons/ardmore/ardmore.xml:
* icons/default.xml:
* icons/eazel/eazel.xml:
* icons/vector/vector.xml:
changed the shadow types in some themes
2000-10-03 Robey Pointer <robey@eazel.com>
* components/services/install/lib/eazel-install-protocols.c:
(eazel_install_fetch_file), (eazel_install_fetch_package),
(add_to_url), (get_url_for_package):
Erase file if it didn't download correctly (was leaving around
0-length files). Quote weird characters in values when composing
an URL.
* nautilus-installer/src/callbacks.c: (druid_delete):
* nautilus-installer/src/callbacks.h:
* nautilus-installer/src/installer.c: (get_pixmap_x_y),
(create_pixmap), (create_what_to_do_page), (jump_to_error_page),
(create_window), (eazel_install_progress),
(eazel_download_progress), (get_detailed_errors_foreach),
(download_failed), (eazel_install_preflight),
(eazel_install_dep_check), (eazel_install_delete_files),
(install_done), (check_if_next_okay), (toggle_button_toggled),
(check_system), (eazel_installer_do_install),
(eazel_installer_finalize), (eazel_install_get_depends),
(eazel_installer_initialize):
* nautilus-installer/src/installer.h:
* nautilus-installer/src/main.c:
Catch (X) click on window and exit cleanly. Combine the two -d
options into one and consolidate the debug output. Change default
server to services.eazel.com. Resize druid to the size of the
background XPM and disallow resizes. Remove the /tmp dir on
failure. Use only printable chars in /tmp dir name. Remove the
ability to do nonsensical browsing in the druid (backwards from
page one, etc).
* nautilus-installer/src/error-symbol.xpm:
Needed XPM for the error page.
* nautilus-installer/src/prescript:
Remove weird Danish text and replace with terse English text.
2000-10-03 Arlo Rose <arlo@eazel.com>
* icons/arlo/Makefile.am:
* icons/arlo/i-directory-aa.png:
* icons/arlo/i-directory.png:
* icons/arlo/i-directory-72.png:
Added a couple of non-AA folder icons.
2000-10-03 Mathieu Lacage <mathieu@eazel.com>
* src/file-manager/fm-list-view.c: (fm_list_handle_dragged_items):
initalize ret_val for optimized builds...
2000-10-03 Andy Hertzfeld <andy@eazel.com>
* libnautilus-extensions/nautilus-icon-container.c:
(get_icon_space_width):
changed how layout works in the non-tighter-layout case by
removing the powers of two padding and instead going with
a fixed minimum size.
2000-10-03 Darin Adler <darin@eazel.com>
* components/music/nautilus-music-view.c:
(nautilus_music_view_update_from_uri): Fixed window title.
2000-10-03 Maciej Stachowiak <mjs@eazel.com>
* check-THANKS.pl,
components/adapter/nautilus-adapter-progressive-load-strategy.c,
components/adapter/nautilus-adapter-stream-load-strategy.c,
src/nautilus-view-frame.c: Filed bugs for some FIXMEs
2000-10-03 Andy Hertzfeld <andy@eazel.com>
* libnautilus-extensions/nautilus-gdk-pixbuf-extensions.c:
(nautilus_gdk_pixbuf_average_value):
fixed bug where there was an overflow computing the average
pixel value for large enough tiles; it manifested by choosing the
wrong color text over certain backgrounds like clouds; fixed by
using uints for the accumulators instead of ints.
2000-10-03 Mathieu Lacage <mathieu@eazel.com>
* libnautilus-extensions/nautilus-gtk-extensions.c:
(nautilus_gtk_marshal_BOOL__INT_POINTER_INT_INT_UINT): add function.
* libnautilus-extensions/nautilus-gtk-extensions.h: add prototype.
* libnautilus-extensions/nautilus-list.c:
(nautilus_list_initialize_class),
(nautilus_list_prelight_if_necessary), (nautilus_list_drag_motion),
(nautilus_list_drag_drop), (nautilus_list_drag_data_received):
* libnautilus-extensions/nautilus-list.h:
add the handle-dragged-items signal to handle prelighting when you
drag.
* src/file-manager/fm-list-view.c: (fm_list_handle_dragged_items),
(set_up_list): hook to the handle-dragged-items signal.
2000-10-03 John Sullivan <sullivan@eazel.com>
Fixed bug 3155 (need feedback item in Help menu)
Bud & co. decided this should be there all the time.
* src/nautilus-window-menus.c:
(help_menu_nautilus_feedback_callback),
(nautilus_window_initialize_menus): Added menu item
that opens a feedback web page.
2000-10-03 John Sullivan <sullivan@eazel.com>
Fixed bug 3379 (crash leaving web page)
* libnautilus-extensions/nautilus-directory-async.c:
(directory_load_done): When directory load returns an
error, clear unconfirmed bit on all files in that directory
so they won't be marked gone later.
Fixed bug 3421 (web page with blank HTML title causes blank
title in Nautilus)
* components/mozilla/nautilus-mozilla-content-view.c:
(mozilla_title_changed_callback): Don't call nautilus_view_set_title
if the HTML title is NULL or "".
2000-10-03 Pavel Cisler <pavel@eazel.com>
Work on 2036 - drawing glitches in ListView.
* configure.in:
* cut-n-paste-code/widgets/Makefile.am:
* cut-n-paste-code/widgets/nautilusclist/.cvsignore:
* cut-n-paste-code/widgets/nautilusclist/Makefile.am:
* cut-n-paste-code/widgets/nautilusclist/nautilusclist.c:
* cut-n-paste-code/widgets/nautilusclist/nautilusclist.h:
(COLUMN_FROM_XPIXEL), (LIST_WIDTH), (nautilus_clist_get_type),
(nautilus_clist_class_init), (nautilus_clist_set_arg),
(nautilus_clist_get_arg), (nautilus_clist_init),
(nautilus_clist_construct), (nautilus_clist_new),
(nautilus_clist_new_with_titles), (nautilus_clist_set_hadjustment),
(nautilus_clist_get_hadjustment), (nautilus_clist_set_vadjustment),
(nautilus_clist_get_vadjustment),
(nautilus_clist_set_scroll_adjustments),
(nautilus_clist_set_shadow_type),
(nautilus_clist_set_selection_mode), (nautilus_clist_freeze),
(nautilus_clist_thaw), (nautilus_clist_column_titles_show),
(nautilus_clist_column_titles_hide),
(nautilus_clist_column_title_active),
(nautilus_clist_column_title_passive),
(nautilus_clist_column_titles_active),
(nautilus_clist_column_titles_passive),
(nautilus_clist_set_column_title),
(nautilus_clist_get_column_title),
(nautilus_clist_set_column_widget),
(nautilus_clist_get_column_widget),
(nautilus_clist_set_column_justification),
(nautilus_clist_set_column_visibility),
(nautilus_clist_set_column_resizeable),
(nautilus_clist_set_column_auto_resize),
(nautilus_clist_columns_autosize),
(nautilus_clist_optimal_column_width):
Had to create a copy of GtkCList to work around problems where the drawing
code was getting called directly behind our derived classes back. Rebecka
already set GtkCList up in the cut-n-paste directory. Move it to the Nautilus
namespace so that it doesn't collide with the original.
Add more methods to allow completely overriding all drawing by a
derived class.
Add not reached asserts in original GtkCList drawing code that was
messing us up.
* libnautilus-extensions/Makefile.am:
* libnautilus-extensions/nautilus-list-column-title.c:
(get_column_label_at), (get_column_frame_at),
(nautilus_list_column_title_paint), (in_column_rect),
(in_resize_rect):
* libnautilus-extensions/nautilus-list.c:
(nautilus_list_initialize_class), (activate_row),
(nautilus_list_is_row_selected), (row_set_selected),
(select_row_unselect_others), (nautilus_list_unselect_all),
(nautilus_list_select_all), (nautilus_list_button_press),
(nautilus_list_button_release),
(nautilus_list_clear_keyboard_focus),
(nautilus_list_set_keyboard_focus),
(nautilus_list_keyboard_move_to), (nautilus_list_select_row),
(keyboard_row_reveal_timeout_callback), (nautilus_list_reveal_row),
(nautilus_clist_get_first_selected_row),
(nautilus_clist_get_last_selected_row),
(nautilus_list_keyboard_navigation_key_press),
(nautilus_list_activate_selected_items), (nautilus_list_realize),
(list_requisition_width), (nautilus_list_size_request),
(new_column_width), (size_allocate_columns),
(size_allocate_title_buttons), (nautilus_list_draw_focus),
(get_cell_style), (get_cell_horizontal_start_position),
(last_column_index), (get_cell_rectangle), (draw_cell), (draw_row),
(nautilus_list_clear_from_row), (draw_rows), (draw_all),
(nautilus_list_draw), (nautilus_list_expose),
(nautilus_list_resize_column), (nautilus_list_mark_cell_as_link),
(nautilus_list_set_cell_contents), (nautilus_list_set_pixbuf_list),
(nautilus_list_track_new_column_width), (nautilus_list_motion),
(nautilus_list_column_resize_track_start),
(nautilus_list_column_resize_track),
(nautilus_list_column_resize_track_end),
(nautilus_list_real_scroll), (nautilus_list_clear),
(nautilus_list_new_with_titles), (nautilus_list_row_at),
(nautilus_list_get_selection), (nautilus_list_set_selection),
(nautilus_list_each_selected_row),
(nautilus_list_get_first_selected_row), (insert_row):
* libnautilus-extensions/nautilus-list.h:
* src/file-manager/fm-list-view.c: (column_clicked_callback),
(fm_list_view_compare_rows), (compare_rows_by_name),
(match_row_name), (context_click_selection_callback),
(context_click_background_callback), (make_sorted_row_array),
(select_row_common), (select_previous_next_common),
(fm_list_nautilus_file_at), (row_get_data_binder),
(fm_list_get_drag_pixmap), (create_list), (set_up_list),
(add_to_list), (fm_list_view_clear),
(fm_list_view_begin_adding_files), (fm_list_view_add_file),
(remove_from_list), (fm_list_view_file_changed),
(fm_list_view_done_adding_files), (real_is_empty),
(fm_list_view_set_zoom_level), (fm_list_view_reset_row_height),
(fm_list_view_select_all), (fm_list_view_sort_items),
(install_row_images), (update_icons):
Updated to match new renamings.
* libnautilus-extensions/nautilus-list.h:
* libnautilus-extensions/nautilus-list.c:
(draw_rows), (draw_all):
Make these a method, call them as such instead of calling them directly.
Switch to the new NAUTILUS_CALL_VIRTUAL macro.
2000-10-03 Michael Engber <engber@eazel.com>
Sped up background drawing for the tiled non-aa case.
* libnautilus-extensions/nautilus-background.c:
(update_drawable_with_pixbuf), (draw_pixbuf_tiled),
(nautilus_background_draw), (draw_pixbuf_tiled_aa):
2000-10-03 John Sullivan <sullivan@eazel.com>
Fixed bug 3422 (Forward menu crashes after choosing from
Back menu (and vice-versa))
* src/nautilus-window-manage-views.c:
(handle_go_back), (handle_go_forward): Don't free the
link whose data you're about to move to another list.
This got broken in a recent leak-fixing pass.
2000-10-03 John Sullivan <sullivan@eazel.com>
Fixed bug 3420: "Show Sidebar" can leave sidebar at zero width
* libnautilus-extensions/nautilus-horizontal-splitter.h:
New public functions nautilus_horizontal_splitter_expand,
..._collapse, and ..._toggle_position.
* libnautilus-extensions/nautilus-horizontal-splitter.c:
(nautilus_horizontal_splitter_expand): Broken out of
toggle_position, just does the expanding part (or nothing
if already expanded).
(nautilus_horizontal_splitter_collapse): Broken out of
toggle_position, just does the collapsing part (or nothing
if already collapsed).
(nautilus_horizontal_splitter_toggle_position): renamed
from toggle_splitter_position; now calls the broken-out
functions.
(nautilus_horizontal_splitter_button_release): Updated for
name change.
* src/nautilus-window.c: (nautilus_window_show_sidebar):
Call nautilus_horizontal_splitter_expand when showing sidebar.
2000-10-03 Ramiro Estrugo <ramiro@eazel.com>
* README:
Retired.
* components/mozilla/README:
Added Mozilla component information.
2000-10-03 Ramiro Estrugo <ramiro@eazel.com>
* nautilus.spec.in:
Make sure the throbber graphics make it into the rpm.
2000-10-03 Ramiro Estrugo <ramiro@eazel.com>
* README:
* components/mozilla/nautilus-mozilla-content-view.c:
(nautilus_mozilla_content_view_initialize):
* components/services/install/lib/eazel-install-metadata.c:
(check_gconf_init), (get_conf_string), (get_conf_int),
(get_conf_boolean):
* components/services/install/lib/eazel-install-types.c:
(categorydata_new):
* components/services/nautilus-dependent-shared/Makefile.am:
* components/services/trilobite/libtrilobite/trilobite-redirect.c:
(check_gconf_init), (wipe_redirect_table), (add_redirect),
(trilobite_redirect_lookup), (trilobite_get_services_address):
* configure.in:
* libnautilus-extensions/nautilus-global-preferences.c:
(global_preferences_get_sidebar_panel_view_identifiers),
(register_proxy_preferences):
* libnautilus-extensions/nautilus-preferences-private.h:
* libnautilus-extensions/nautilus-preferences.c:
(preferences_hash_node_add_by_user_level_callbacks),
(preferences_hash_node_add_callback),
(preferences_make_make_gconf_key),
(preferences_gconf_by_user_level_callback),
(preferences_gconf_callback), (preferences_initialize_if_needed),
(nautilus_preferences_set_boolean),
(nautilus_preferences_get_boolean),
(nautilus_preferences_set_string_list),
(nautilus_preferences_get_string_list),
(nautilus_preferences_set_enum), (nautilus_preferences_get_enum),
(nautilus_preferences_set), (nautilus_preferences_get),
(nautilus_preferences_handle_error):
* libnautilus-extensions/nautilus-user-level-manager.c:
(user_level_manager_new), (user_level_set_default_if_needed),
(gconf_user_level_changed_callback),
(nautilus_user_level_manager_set_user_level),
(user_level_manager_get_user_level_as_string),
(nautilus_user_level_manager_set_default_value_if_needed),
(nautilus_user_level_manager_compare_preference_between_user_levels
):
Update for GConf HEAD (0.9)
2000-10-03 Andy Hertzfeld <andy@eazel.com>
* components/music/mpg123_handler.c: (get_play_status),
(song_finished), (start_playing_file), (stop_playing_file):
made the music view use nautilus_sound for process management
* components/music/nautilus-music-view.c:
(nautilus_music_view_update_from_uri):
get the album cover to display from the CUSTOM_ICON metadata,
ehich is preferred; otherwise, draft one if there's exactly
one image in the directory. The metadata part isn't working yet.
2000-10-03 Robey Pointer <robey@eazel.com>
* components/services/install/lib/eazel-install-rpm-glue.c:
(install_new_packages):
* components/services/install/lib/eazel-install-xml-package-list.c:
(parse_local_xml_package_list):
* components/services/install/lib/eazel-install-xml-package-list.h:
Text for the "finished" screen of the bootstrap installer can now
be changed in the XML file.
* nautilus-installer/src/callbacks.c: (begin_install):
* nautilus-installer/src/installer.c: (gtk_label_new_with_font),
(create_install_page), (create_pixmap_widget),
(jump_to_error_page), (create_finish_page_good), (create_window),
(eazel_install_progress), (eazel_download_progress),
(get_detailed_errors_foreach), (get_detailed_errors),
(download_failed), (eazel_install_preflight),
(eazel_install_dep_check), (install_done), (check_if_next_okay),
(toggle_button_toggled), (eazel_installer_add_category),
(check_system), (eazel_installer_do_install),
(eazel_installer_finalize), (eazel_install_get_depends),
(eazel_installer_initialize):
* nautilus-installer/src/installer.h:
* nautilus-installer/src/link.sh:
* nautilus-installer/src/main.c: (esd_open_sound),
(esd_sample_getid), (esd_sample_play), (esd_sample_cache),
(esd_sample_free), (esd_confirm_sample_cache), (esd_close),
(afOpenFile), (afGetFrameCount), (afGetChannels), (afGetRate),
(afGetSampleFormat), (afReadFrames), (afCloseFile):
Remove last bits of unArloified screens in the bootstrap
installer, including the error page. Clean up download progress
bars (and presumably the install ones too, though they haven't
been tested yet) to follow the screenshots. Tried to minimize
flickering in the progress bars though that may be a lost cause.
Stub out previous esd/esound requirements.
2000-10-02 Andy Hertzfeld <andy@eazel.com>
implemented sound process management using gconf to store the
process ID of the currently playing sound, and switched sound
previewing and part of the music view to use it. This also fixed a
process leaking bug, as each time a sound preview terminated, it
was leaving a zombie process behind.
* libnautilus-extensions/Makefile.am:
added nautilus-sound to the Makefile
* libnautilus-extensions/nautilus-sound.c,h:
(kill_sound_if_necessary), (nautilus_sound_initialize),
(nautilus_sound_kill_sound), (nautilus_sound_register_sound),
(nautilus_sound_can_play_sound):
set of routines to keep track of the current sound process
* libnautilus-extensions/nautilus-global-preferences.h:
added NAUTILUS_PREFERENCE_CURRENT_SOUND_STATE
* components/music/nautilus-music-view.c:
(nautilus_music_view_initialize):
use nautilus_sound_can_play_sound instead of private routine
* src/file-manager/fm-icon-view.c: (play_file), (preview_sound),
(icon_container_preview_callback):
use nautilus_sound for sound previewing
* src/nautilus-application.c: (nautilus_application_startup):
initialize nautilus_sound
2000-10-02 Darin Adler <darin@eazel.com>
Saw the Tinderbox broken, so I just had to fix it. Also, I
couldn't compile, and check-THANKS.pl failed.
* libnautilus-extensions/nautilus-string.c:
(nautilus_istr_compare): Change back nautilus_istr_compare to its
old meaning.
* libnautilus-extensions/nautilus-glib-extensions.c:
(compare_strings_case_breaks_ties),
(nautilus_g_str_list_sort_case_insensitive): Make the case
insensitive sort use nautilus_strcmp_case_breaks_ties.
* components/services/install/lib/eazel-install-protocols.c:
(eazel_install_fetch_package_by_id):
* components/services/install/lib/eazel-install-query.c:
(eazel_install_simple_query):
* components/services/install/lib/eazel-install-rpm-glue.c:
(install_new_packages), (eazel_install_prepare_package_system),
(eazel_install_free_package_system),
(eazel_install_add_to_rpm_set), (eazel_install_fetch_dependencies):
* components/services/install/lib/eazel-install-rpm-signature.c:
(trilobite_check_rpm_signature):
* components/services/install/lib/eazel-install-types.c:
(packagedata_status_str_to_enum),
(packagedata_modstatus_enum_to_str),
(packagedata_modstatus_str_to_enum):
* components/services/install/lib/eazel-install-xml-package-list.c:
(generate_xml_package_list):
Fixed a bunch of uninitialized variable warnings. At least one was
probably a real bug, so Eskil needs to review these changes.
* components/rpmview/nautilus-rpm-view.c:
(nautilus_rpm_view_update_from_uri): This didn't compile with the
Red Hat 6.1 version of the rpm library. So I fixed it. I hope I
did it right. Eskil needs to review this change.
* THANKS: Victor's name needed another space between it and the
email address.
* check-THANKS.pl: Missing comma, also the misspelling of Josh's
email address was not mapped to his new email address.
2000-10-02 Maciej Stachowiak <mjs@eazel.com>
Fixed bug 3223.
* components/adapter/nautilus-adapter-file-load-strategy.c:
(nautilus_adapter_file_load_strategy_new),
(nautilus_adapter_file_load_strategy_load_location):
* components/adapter/nautilus-adapter-file-load-strategy.h:
* components/adapter/nautilus-adapter-load-strategy.c:
(nautilus_adapter_load_strategy_initialize_class),
(nautilus_adapter_load_strategy_get),
(nautilus_adapter_load_strategy_stop_loading),
(nautilus_adapter_load_strategy_report_load_underway),
(nautilus_adapter_load_strategy_report_load_progress),
(nautilus_adapter_load_strategy_report_load_complete),
(nautilus_adapter_load_strategy_report_load_failed):
* components/adapter/nautilus-adapter-load-strategy.h:
* components/adapter/nautilus-adapter-progressive-load-strategy.c:
(nautilus_adapter_progressive_load_strategy_destroy),
(nautilus_adapter_progressive_load_strategy_new), (stop_loading),
(nautilus_adapter_progressive_load_strategy_load_location),
(nautilus_adapter_progressive_load_strategy_stop_loading):
* components/adapter/nautilus-adapter-progressive-load-strategy.h:
* components/adapter/nautilus-adapter-stream-load-strategy.c:
(nautilus_adapter_stream_load_strategy_new),
(nautilus_adapter_stream_load_strategy_load_location):
* components/adapter/nautilus-adapter-stream-load-strategy.h:
* components/adapter/nautilus-adapter.c:
(nautilus_adapter_destroy), (nautilus_adapter_new),
(nautilus_adapter_load_underway_callback),
(nautilus_adapter_load_progress_callback),
(nautilus_adapter_load_complete_callback),
(nautilus_adapter_load_failed_callback): Changed the load
strategies to no longer depend on the view; instead, they emit
appropriate signals at different stages of progress, which the
NautilusAdapter object hooks into (connecting with
_connect_object_while_alive). Also, the progressive load strategy
now checks for cancellation around various CORBA calls, so it
should actually respect the stop button.
* AUTHORS, THANKS, check-THANKS.pl: Updated Josh Barrow's email
address.
2000-10-02 Ramiro Estrugo <ramiro@eazel.com>
* test/test-nautilus-label.c: (delete_event), (main):
Make the test program exit when its window is closed, so it can be
profiled properly.
2000-10-02 Eskil Heyn Olsen <eskil@eazel.com>
* components/rpmview/nautilus-rpm-view.c:
(nautilus_rpm_view_update_from_uri):
Fixed the loading of files provided by the rpm.
* components/services/install/command-line/eazel-alt-install-corba.
c: (tree_helper), (md5_check_failed):
Clarified the debug output.
* components/services/install/lib/Makefile.am:
Removed the evil CFLAGS assignment that remove -Werror
* components/services/install/lib/eazel-install-corba-callback.c:
(impl_md5_check_failed), (impl_uninstall_failed),
(eazel_install_callback_unref):
Fixed some warnings.
* components/services/install/lib/eazel-install-private.h:
Moved the funky glist_step into -private.h
Removed some rpm vars.
* components/services/install/lib/eazel-install-object.c:
(eazel_install_initialize),
Removed some of the rpm variables in the private part.
(eazel_install_emit_preflight_check_default),
(eazel_install_emit_delete_files_default), (string_list_copy):
Fixing warnings
* components/services/install/lib/eazel-install-protocols.c:
(gnome_vfs_fetch_remote_file), (eazel_install_fetch_package),
(get_url_for_package):
Fixing warnings. And made fetch_package be more generel, as
opposed to having three different fetchers. So I've removed
_which_provides and I need to remove _by_id.
* components/services/install/lib/eazel-install-protocols.h:
Removed fetch_which_provides.
* components/services/install/lib/eazel-install-public.h:
Moved the funky glist_step into -private.h
* components/services/install/lib/eazel-install-rpm-glue.c:
(eazel_install_pre_install_packages), (install_new_packages),
(eazel_install_download_packages),
(eazel_install_check_for_file_conflicts),
(eazel_install_do_install_packages), (hest),
(eazel_install_add_to_rpm_set),
(eazel_install_requirement_dep_compare),
(eazel_install_package_version_compare),
(eazel_install_check_if_related_package),
(eazel_install_fetch_rpm_dependencies),
(eazel_install_fetch_dependencies),
(eazel_install_do_rpm_dependency_check),
(eazel_install_do_dependency_check), (eazel_install_ensure_deps),
(eazel_uninstall_upward_traverse):
Fixed most of bug 3373, completely revamped the dep checking. Now
theres a packagesystem dependent depchecker and a seperate filedep
check afterwards. The packagesystem dependent returns a list of
package pairs <a,b>, where a requires b. fetch_dependencies then
traverses that list, downloads and makes the nessecary checks. The
makes fetch_dependencies package independent, and also fixes bug
1698.
Also various debug message fixing etc.
* components/services/install/lib/eazel-install-rpm-signature.c:
(read_rpm_signature), (trilobite_check_rpm_signature):
Warning fixing.
* components/services/install/lib/eazel-install-types.h:
* components/services/install/lib/eazel-install-types.c:
(packagedata_new), (packagedata_fill_from_rpm_header),
(packagedata_fill_from_file), (packagedata_destroy),
(packagerequirement_new):
Added three new fields, eazel_id for the SoftCat id (as opposed to
using the name field, the conflicts_checked boolean to prevent
doing file conflict checking more then once and a boolean flag for
tagging a package as being a source package.
Also fixed 3344, the file list is now read correctly.
Created the PacakgeRequirement structure, used for bug 3373.
Fixed warnings.
* components/services/install/lib/eazel-install-xml-package-list.c:
(parse_package), (parse_category), (osd_parse_implementation),
(osd_parse_softpkg):
Fixed the uses of xml_get_value since I changed the semantics to
be a "const char*" function.
* components/services/install/server/main.c: (main):
Print a string when terminating.
* components/services/summary/lib/eazel-summary-shared.c:
(parse_a_service), (parse_a_update_news_item):
Fixed the uses of xml_get_value since I changed the semantics to
be a "const char*" function.
* components/services/trilobite/libtrilobite/helixcode-utils.h:
* components/services/trilobite/libtrilobite/helixcode-utils.c:
Changed xml_get_value to return const char* (bug 2448).
2000-10-02 Darin Adler <darin@eazel.com>
More work on whittling the state machine down to size.
* README: libunicode, libglade, and eog are no longer required.
* components/history/nautilus-history-view.c:
(history_title_changed):
* libnautilus/nautilus-view-component.idl:
* libnautilus/nautilus-view.c: (impl_Nautilus_View_title_changed),
(nautilus_view_initialize_class):
* libnautilus/nautilus-view.h:
* src/nautilus-view-frame.c: (nautilus_view_frame_title_changed):
* src/nautilus-view-frame.h:
Added title parameter for the title_changed function.
* src/nautilus-view-frame.c:
(nautilus_view_frame_report_load_complete): Got rid of extra
emission of report_load_complete, which is handled by
view_frame_loaded now.
* libnautilus-extensions/nautilus-background.c:
(nautilus_background_initialize_class):
* libnautilus-extensions/nautilus-entry.c:
(nautilus_entry_initialize_class):
* libnautilus-extensions/nautilus-icon-text-item.c:
(iti_class_init):
* libnautilus-extensions/nautilus-list.c:
(nautilus_list_initialize_class):
* src/nautilus-bookmark-list.c:
(nautilus_bookmark_list_initialize_class):
* src/nautilus-navigation-bar.c:
(nautilus_navigation_bar_initialize_class):
* src/nautilus-search-bar-criterion.c:
(nautilus_search_bar_criterion_initialize_class):
* src/nautilus-sidebar.c: (nautilus_sidebar_initialize_class):
* src/nautilus-switchable-navigation-bar.c:
(nautilus_switchable_navigation_bar_initialize_class):
Use GTK_RUN_LAST instead of GTK_RUN_FIRST.
* libnautilus-extensions/nautilus-directory-background.c:
* libnautilus-extensions/nautilus-link-set.c:
* libnautilus-extensions/nautilus-link.c:
* src/file-manager/fm-icon-text-window.c:
* src/file-manager/fm-icon-view.c:
* src/file-manager/fm-properties-window.c:
* src/nautilus-complex-search-bar.c:
* src/nautilus-link-set-window.c:
* src/nautilus-simple-search-bar.c:
* src/nautilus-switchable-search-bar.c:
Add includes needed now that the #include <gnome.h> was removed
from nautilus-global-preferences.h.
* libnautilus-extensions/nautilus-string.h:
* libnautilus-extensions/nautilus-string.c:
(nautilus_strcmp_case_breaks_ties): Added function, like
g_strcasecmp, but falls back on strcmp for strings that match
case-insensitive-wise.
(nautilus_istr_compare): Use nautilus_strcmp_case_breaks_ties
instead of nautilus_strcasecmp.
* libnautilus-extensions/nautilus-file.c:
(nautilus_file_compare_by_name): Use
nautilus_strcmp_case_breaks_ties instead of g_strcasecmp.
(nautilus_file_compare_by_directory_name): Use
nautilus_strcmp_case_breaks_ties instead of g_strcasecmp.
(get_automatic_emblems_as_integer): Convert automatic emblems to
integer form for simple sorting.
(prepend_automatic_emblem_names): Separate out the code that puts
on automatic emblem names, and make it put them first, before any
keyword-based emblems.
(nautilus_file_compare_by_emblems): Compare the automatic emblems
first, using the integer form.
(nautilus_file_compare_by_type): Use
nautilus_strcmp_case_breaks_ties instead of nautilus_strcmp.
(nautilus_file_compare_for_sort): Use
nautilus_strcmp_case_breaks_ties instead of g_strcasecmp.
(nautilus_file_compare_name): Use nautilus_strcmp_case_breaks_ties
instead of g_strcasecmp.
(nautilus_file_is_mime_type): Use nautilus_strcasecmp instead of
nautilus_strcmp.
(nautilus_file_get_emblem_names): Use
prepend_automatic_emblem_names.
(sort_keyword_list_and_remove_duplicates): Sort with
nautilus_strcmp_case_breaks_ties instead of
compare_emblem_names. Automatic emblem names are now dealt with
elsewhere.
* libnautilus-extensions/nautilus-icon-container.c:
(compare_icons_by_name): Use nautilus_strcmp_case_breaks_ties
instead of nautilus_strcasecmp.
* libnautilus-extensions/nautilus-glib-extensions.c:
(nautilus_g_str_list_sort): Use nautilus_str_compare.
(nautilus_g_str_list_sort_case_insensitive): Use
nautilus_istr_compare.
* components/services/vault/command-line/main.c: (main):
* test/test-nautilus-mime-actions-set.c: (str_to_action_type):
Use g_strcasecmp, not strcasecmp, for portability.
* libnautilus-extensions/nautilus-global-preferences.h:
* libnautilus-extensions/nautilus-global-preferences.c:
Removed _get_disabled_sidebar_panel_view_identifiers since the
logic now removes any not in the enabled list instead.
* libnautilus-extensions/nautilus-view-identifier.h:
* libnautilus-extensions/nautilus-view-identifier.c:
(nautilus_view_identifier_list_copy): New function.
(nautilus_view_identifier_compare): Now sorts properly instead of
returning 1 for any two identifiers that are !=.
* nautilus-clean.sh: Removed unadorned gconfd now that it's
ancient history and because it makes the script seem to fail all
the time.
* src/nautilus-window-manage-views.h:
* src/nautilus-window-manage-views.c:
(compute_title): Renamed to a shorter name since it's a local function.
(update_title): Renamed to a shorter name since it's a local
function and made it do nothing if the title is already correct.
(nautilus_window_update_internals): Simplified code by using the
new cached title.
(nautilus_window_has_really_changed): Removed sidebar panel logic
that is no longer needed.
(nautilus_window_free_load_info): Remove some unused fields.
(nautilus_window_open_location): Removed unused parameter.
(nautilus_window_open_location_in_new_window): Removed unused
parameter.
(load_content_view): Renamed to shorter name since it's a local
function.
(handle_view_failure), (cancel_location_change),
(load_view_for_new_location), (set_view_location_and_selection):
Broke out big pieces of code used by the state machine. Soon we
won't have a state machine at all, but we'll still need functions
like these.
(nautilus_window_update_state): Removed a lot of the code and
broke the remaining bits into the above functions.
(nautilus_window_set_state_info): Removed sidebar management code
and some now-unused state variables.
(nautilus_window_stop_loading): Moved this function in here and
renamed it so the whole state machine is in one place.
(nautilus_window_set_content_view): Moved this function in here
and renamed it so the whole state machine is in one place.
(compare_view_identifier_with_iid),
(nautilus_window_set_sidebar_panels): Wrote new code to set up the
sidebar panels based on a list of view identifiers, based on the
code that was used before when preferences change. Moved here so
the whole state machine is in one place.
* src/nautilus-window-toolbars.c: (toolbar_stop_callback): Call
the new function nautilus_window_stop_loading.
* src/nautilus-window-private.h:
* src/nautilus-window.h:
* src/nautilus-window.c: (nautilus_window_initialize_class):
Removed the "content_view" argument.
(nautilus_window_goto_uri): Removed the view frame parameter from
the open_location call.
(nautilus_window_constructed): Set up sidebars based on
preferences when the window is created.
(nautilus_window_set_arg): Removed the "content_view" argument.
(nautilus_window_get_arg): Removed the "content_view" argument.
(view_menu_switch_views_callback): Call the new function
nautilus_window_set_content_view.
(chose_component_callback), Call the new function
nautilus_window_set_content_view.
(nautilus_window_open_location_callback): Removed the view frame
parameter from the open_location call.
(nautilus_window_open_location_in_new_window_callback): Removed
the view frame parameter from the open_location_in_new_window
call.
(nautilus_window_connect_view): Don't connect to
report_load_progress any more. The view frame now handles this for
us.
(nautilus_window_set_content_view_widget): Renamed this to avoid
confusion with the new nautilus_window_set_content_view which is
used to change content views, given a new view identifier.
(update_sidebar_panels_from_preferences): Renamed and changed to
use the new nautilus_window_set_sidebar_panels call.
2000-10-02 Andy Hertzfeld <andy@eazel.com>
made some throbber changes for Arlo
* src/nautilus-throbber.c: (bump_throbber_frame),
(nautilus_throbber_start):
reset the throbber frame each time it's restarted
* src/nautilus-window-toolbars.c: (allocate_throbber):
put the throbber into a gtk frame
2000-10-02 Michael Engber <engber@eazel.com>
More background drawing speedups - this time mainly for
the non-aa case.
* libnautilus-extensions/nautilus-background-canvas-group.c:
(nautilus_background_canvas_group_initialize_class),
(nautilus_background_canvas_group_update),
(nautilus_background_canvas_group_draw),
(nautilus_background_canvas_group_render):
* libnautilus-extensions/nautilus-background.c:
(canvas_gradient_helper_v), (canvas_gradient_helper_h),
(fill_canvas_from_gradient_buffer), (drawable_gradient_helper_v),
(drawable_gradient_helper_h), (fill_drawable_from_gradient_buffer),
(draw_pixbuf_tiled), (canvas_buf_from_pixbuf),
(ensure_image_scaled), (nautilus_background_pre_draw),
(nautilus_background_draw), (nautilus_background_draw_to_drawable),
(draw_pixbuf_tiled_aa), (nautilus_background_draw_aa),
(nautilus_background_draw_to_canvas),
(nautilus_background_draw_flat_box):
* libnautilus-extensions/nautilus-background.h:
* libnautilus-extensions/nautilus-buffered-widget.c:
(create_background_pixbuf_from_ancestor):
* libnautilus-extensions/nautilus-directory-background.c:
(image_loading_done_callback), (saved_settings_changed_callback):
* libnautilus-extensions/nautilus-gdk-extensions.c:
(nautilus_rgb16_to_rgb), (nautilus_rgb8_to_rgb),
(nautilus_gdk_color_to_rgb):
* libnautilus-extensions/nautilus-gdk-extensions.h:
* libnautilus-extensions/nautilus-gdk-pixbuf-extensions.c:
* libnautilus-extensions/nautilus-gdk-pixbuf-extensions.h:
* libnautilus-extensions/nautilus-gnome-extensions.c:
(nautilus_gnome_canvas_draw_pixbuf_helper),
(nautilus_gnome_canvas_draw_pixbuf_helper_alpha),
(nautilus_gnome_canvas_draw_pixbuf):
* libnautilus-extensions/nautilus-gnome-extensions.h:
2000-10-02 Arlo Rose <arlo@eazel.com>
* icons/throbber/Makefile.am:
* src/nautilus-throbber.c: (nautilus_throbber_start):
Doubled the frame rate of the throbber.
* icons/throbber/rest.png:
* icons/throbber/001.png:
* icons/throbber/002.png:
* icons/throbber/003.png:
* icons/throbber/004.png:
* icons/throbber/005.png:
* icons/throbber/006.png:
* icons/throbber/007.png:
* icons/throbber/008.png:
* icons/throbber/009.png:
* icons/throbber/010.png:
* icons/throbber/011.png:
* icons/throbber/012.png:
* icons/throbber/013.png:
* icons/throbber/014.png:
* icons/throbber/015.png:
* icons/throbber/016.png:
* icons/throbber/017.png:
* icons/throbber/018.png:
* icons/throbber/019.png:
* icons/throbber/020.png:
* icons/throbber/021.png:
* icons/throbber/022.png:
* icons/throbber/023.png:
* icons/throbber/024.png:
* icons/throbber/025.png:
* icons/throbber/026.png:
* icons/throbber/027.png:
* icons/throbber/028.png:
Changed "rest", and states 1 - 10 and added states 11 - 28.
2000-10-02 Andy Hertzfeld <andy@eazel.com>
* libnautilus-extensions/nautilus-icon-canvas-item.c:
(draw_stretch_handles), (draw_stretch_handles_aa):
fixed bug 3283, bits of icons protrude outside the
stretch box, by making drawing the box at the actual bounds
instead of insetting three pixels like we were doing.
2000-10-02 John Sullivan <sullivan@eazel.com>
Fixed the worst part of bug 2068 (dragging icon causes
immediate update of scroll area). Some related bugs
remain, which I'll write up separately
* libnautilus-extensions/nautilus-gnome-extensions.h:
* libnautilus-extensions/nautilus-gnome-extensions.c:
(nautilus_gnome_canvas_set_scroll_region_include_visible_area):
New function, sets scroll region to given parameters,
also forcing visible area to be included.
* libnautilus-extensions/nautilus-icon-container.c:
(update_scroll_region): New function, extracted from
nautilus_icon_container_update_scroll_region, now takes
boolean for whether to include the visible area.
(nautilus_icon_container_update_scroll_region): Now calls
update_scroll_region.
(nautilus_icon_container_update_scroll_region_include_visible_area):
New function, calls update_scroll_region.
(size_allocate): Do no work if allocation hasn't changed. This
didn't help with bug 2068 but is a worthwhile optimization.
* libnautilus-extensions/nautilus-icon-private.h:
Prototype for nautilus_icon_container_update_scroll_region_
include_visible_area
* libnautilus-extensions/nautilus-icon-dnd.c: (handle_local_move):
call ..._include_visible_area when updating scroll region after
drag & drop, instead of just ..._update_scroll_region, so no
origin-shifting occurs.
2000-10-02 Robey Pointer <robey@eazel.com>
* components/services/install/lib/eazel-install-protocols.c:
(http_fetch_remote_file), (ftp_fetch_remote_file),
(gnome_vfs_fetch_remote_file), (local_fetch_remote_file),
(eazel_install_fetch_file):
* components/services/install/lib/eazel-install-rpm-glue.c:
(install_new_packages), (eazel_install_download_packages),
(eazel_install_pre_install_packages), (uninstall_all_packages),
(uninstall_packages), (eazel_install_do_transaction_save_report),
(eazel_install_start_transaction),
(eazel_install_prune_packages_helper),
(eazel_install_free_rpm_system_close_db_foreach),
(eazel_install_prepare_rpm_system),
(eazel_install_prepare_package_system),
(eazel_install_check_existing_packages),
(eazel_install_fetch_rpm_dependencies),
(eazel_install_ensure_deps):
Convert a bunch of g_message calls to trilobite_debug.
2000-10-02 Andy Hertzfeld <andy@eazel.com>
* components/music/nautilus-music-view.c:
(nautilus_music_view_update_from_uri):
fixed bug 1280, music view needs alert when it can't iterate
directory
* src/nautilus-property-browser.c:
(nautilus_property_browser_initialize),
(nautilus_property_browser_remove_element), (add_new_color),
(add_new_button_callback),
(nautilus_property_browser_update_contents),
(nautilus_property_browser_set_category):
fixed bug 3217, better separation of text in property browser so
it can be translated (ie, "remove a emblem" isn't good); fixed by
making an enum for the current category and using it to case out
for separate messages where appropriate.
2000-10-02 Andy Hertzfeld <andy@eazel.com>
* src/file-manager/fm-directory-view.c: (activate_callback):
fixed the PR2 part of bug 2390, "command:" URI-activating security
hole, by disallowing commands from remote locations. Downgrading
the rest of the bug to usable, when we will implement Frank's other
recommendations.
* components/music/nautilus-music-view.c: (add_play_controls):
tweaked the error message when we can't open the sound driver to
better reflect reality.
2000-10-02 John Sullivan <sullivan@eazel.com>
* libnautilus-extensions/nautilus-icon-dnd.c:
(confirm_switch_to_manual_layout): Made the
"switch to manual layout" dialog be a
nautilus_yes_no_dialog instead of the uglier
nautilus_simple_dialog.
2000-10-02 John Sullivan <sullivan@eazel.com>
* libnautilus-extensions/nautilus-icon-container.c:
(keyboard_icon_reveal_timeout_callback):
* libnautilus-extensions/nautilus-list.c:
(keyboard_row_reveal_timeout_callback): Turned a
pair of FIXMEs into comments explaining why there's
no need to fix.
2000-10-02 John Sullivan <sullivan@eazel.com>
* src/nautilus-applicable-views.c:
(get_nautilus_navigation_result_from_gnome_vfs_result):
* src/nautilus-applicable-views.h:
* src/nautilus-window-manage-views.c:
(nautilus_window_end_location_change_callback):
Added NAUTILUS_NAVIGATION_RESULT_ACCESS_DENIED and gave it
a unique error message.
2000-10-01 Andy Hertzfeld <andy@eazel.com>
changed the sound ability test to use esd_audio_open instead of
opening the sound driver directly. We still need to test this
on systems with no sound hardware.
* components/music/nautilus-music-view.c: (can_play_sounds):
* src/file-manager/fm-icon-view.c:
(icon_container_preview_callback):
2000-10-01 Andy Hertzfeld <andy@eazel.com>
* libnautilus-extensions/nautilus-icon-canvas-item.c:
(draw_stretch_handles_aa), (draw_dashed_rectangle_aa),
(draw_focus_rect), (draw_or_measure_label_text_aa):
fishished bug 3239, stretchable icon needs bounding box
in aa-mode, by adapting the routine that was used to draw
the focus rectangle.
2000-09-30 Pavel Cisler <pavel@eazel.com>
* libnautilus-extensions/nautilus-file-operations.c:
(handle_xfer_vfs_error):
Fix a case where "NULL" would be displayed for a file name in file
copy error alert.
* libnautilus-extensions/nautilus-file-operations.c:
(handle_xfer_vfs_error):
Rework the "destination not writable" alert to not offer
to try to continue. Add special alert for out of space on destination.
Clean up some.
* libnautilus-extensions/nautilus-file-operations.c: (handle_xfer_duplicate):
Part 2 of fix to 1314 - Move to Trash faild if name conflict in trash.
Handle move to Trash duplicates the same way as copy duplicates.
* libnautilus-extensions/nautilus-file-operations.c:
(nautilus_file_operations_copy_move):
Make in-place copy properly create a duplicate.
Clean up.
* src/nautilus-theme-selector.c: (theme_select_row_callback):
Replace a gnome_vfs_xfer call with a gnome_vfs_xfer_delete_list. The
sync version of gnome_vfs_xfer does not support deleting like the async
one does.
2000-09-29 Arlo Rose <arlo@eazel.com>
* icons/arlo/Makefile.am:
* icons/arlo/i-regular.xml:
* icons/arlo/i-regular.png:
* icons/arlo/i-regular-aa.png:
* icons/arlo/i-regular-72-aa.png:
Added some more of the document icons, and deleted an old
one that was named wrong.
2000-09-29 Andy Hertzfeld <andy@eazel.com>
* libnautilus-extensions/nautilus-icon-canvas-item.c:
(draw_stretch_handles), (draw_stretch_handles_aa),
(draw_dashed_rectangle_aa), (draw_focus_rect),
(hit_test_stretch_handle):
fixed a series of bugs involving the stretch handles (3084, 3281,
others); I'm not quite finished yet with 3239
* src/nautilus-property-browser.c:
(nautilus_property_browser_initialize):
changed the name of the window for Arlo
* src/nautilus-window-menus.c: (nautilus_window_initialize_menus):
changed the "customize" command to "customization" for Arlo.
2000-09-29 Darin Adler <darin@eazel.com>
* libnautilus-extensions/nautilus-icon-factory.c:
(cache_icon_unref): Fix case where the fallback icon is getting
unref'd so that it properly removes the icon (need to NULL the
prev and next for later reinsertion).
2000-09-29 John Sullivan <sullivan@eazel.com>
Fixed bug 3352 (New Folder is not selected for renaming)
Fixed bug 913 (Any changes to a file while renaming results
in ending the name edit)
* libnautilus-extensions/nautilus-icon-container.c:
(get_icon_being_renamed): New convenience function; gets the
icon being renamed (or NULL) and does some sanity checking.
(key_press_event): Added a FIXME about direct use of nautilus_file.
(nautilus_icon_container_update_icon): Don't end renaming mode
on every update; end renaming mode only if the editable text
of the icon being renamed changed.
(end_renaming_mode): Use get_icon_being_renamed.
2000-09-29 Darin Adler <darin@eazel.com>
* libnautilus-extensions/nautilus-icon-factory.c: (cache_icon_ref),
(cache_icon_unref): Add special cases to handle fallback icon.
(destroy_fallback_icon): Use unref to free the fallback icon.
(load_icon_for_scaling): Handle the fallback icon more like other
icons.
* libnautilus-extensions/nautilus-scalable-font.c:
(nautilus_text_layout_new): Simplify the logic a bit by using
g_strndup.
2000-09-29 Mathieu Lacage <mathieu@eazel.com>
Fix bug 3074: local html files not displayed by mozilla.
* components/mozilla/nautilus-mozilla-content-view.c:
(mozilla_vfs_read_callback), (mozilla_vfs_callback),
(nautilus_mozilla_content_view_load_uri): add a
report_load_underway call where necessary.
2000-09-29 J Shane Culpepper <pepper@eazel.com>
* components/help/converters/gnome-info2html2/html.c:
* components/music/mpg123_handler.h:
* components/services/trilobite/libtrilobite/trilobite-core-utils.c
: (trilobite_open_uri), (trilobite_debug):
* components/services/trilobite/libtrilobite/trilobite-core-utils.h
:
* components/tree/nautilus-tree-model.c:
* libnautilus-extensions/nautilus-ctree.c:
* libnautilus-extensions/nautilus-debug.c:
* libnautilus-extensions/nautilus-directory-background.h:
* libnautilus-extensions/nautilus-horizontal-splitter.c:
* libnautilus-extensions/nautilus-self-checks.c:
* libnautilus-extensions/nautilus-user-level-manager.c:
* src/nautilus-main.h:
Checking lots of little fixes to make the new RedHat 7.0 compiler
work. Mostly newlines and including string.h and/or stdlib.h.
Serveral functions like strcmp are not inlined anymore.
the mozilla component and rpm related code still doesn't build but
all dependencies work now too.
2000-09-29 Darin Adler <darin@eazel.com>
* libnautilus-extensions/nautilus-global-preferences.c:
(proxy_changed), (register_proxy_preferences),
(global_preferences_register): Fix the NULL-passing problem that
was killing the Tinderbox.
2000-09-29 John Sullivan <sullivan@eazel.com>
Fixed bug 3322 (context menus don't work in FTP site
whose address wasn't typed with a trailing slash)
* libnautilus-extensions/nautilus-directory.c:
(nautilus_directory_make_uri_canonical): New function, calls
nautilus_make_uri_canonical and then strips off the trailing
slash if any.
(nautilus_directory_get_internal): Call this new slightly
stricter function instead of nautilus_make_uri_canonical, to
guarantee that we'll never get two NautilusDirectory objects
for uris that match other than the trailing slash.
(nautilus_self_check_directory): Add test cases for new function.
* libnautilus-extensions/nautilus-file-utilities.c:
(nautilus_make_uri_canonical): Removed #if 0 code whose
equivalent is now in the NautilusDirectory version,
replaced with comment.
2000-09-29 Andy Hertzfeld <andy@eazel.com>
* components/music/nautilus-music-view.c:
(nautilus_music_view_update_from_uri):
fixed bug 2107, music view fails when encountering a broken image file,
by testing for a NULL result from gdk_pixbuf_new_from_file and
handling it accordingly.
2000-09-29 Darin Adler <darin@eazel.com>
* libnautilus-extensions/nautilus-file-private.h:
Removed unused "self_owned" field.
* libnautilus/nautilus-view-component.idl:
* libnautilus/nautilus-view.h:
* libnautilus/nautilus-view.c:
(nautilus_view_open_location_in_new_window):
* src/file-manager/fm-directory-view.c:
(fm_directory_view_switch_location):
* src/file-manager/fm-search-list-view.c:
(reveal_selected_items_callback):
* src/nautilus-view-frame-corba.c:
(impl_Nautilus_ViewFrame_open_location),
(impl_Nautilus_ViewFrame_open_location_in_new_window),
(impl_Nautilus_ViewFrame_report_selection_change):
* src/nautilus-view-frame-private.h:
* src/nautilus-view-frame.h:
* src/nautilus-view-frame.c:
(nautilus_view_frame_initialize_class),
(nautilus_view_frame_open_location_in_new_window):
Removed report_location_change and
open_in_new_window_and_select. The open_location_in_new_window
call now always does a selection operation.
* src/nautilus-window-manage-views.h:
* src/nautilus-window-manage-views.c: (update_view),
(nautilus_window_load_sidebar_panel), (open_location),
(nautilus_window_open_location),
(nautilus_window_open_location_in_new_window),
(nautilus_window_load_content_view),
(nautilus_window_update_state),
(nautilus_window_begin_location_change):
* src/nautilus-window-private.h:
* src/nautilus-window.h:
* src/nautilus-window.c: (nautilus_window_switch_views),
(nautilus_window_back_or_forward),
(nautilus_window_open_location_in_new_window_callback),
(nautilus_window_connect_view), (nautilus_window_reload):
Made some simplifications that are possible because we don't
have the old report_location_change to support.
2000-09-29 Andy Hertzfeld <andy@eazel.com>
* libnautilus-extensions/nautilus-thumbnails.c:
(check_for_thumbnails):
finished fixing bug 3342, thumbnailing never gives up on bad images,
by generating a unique "cant thumbnail" icon when thumbnailing fails.
Right now it's using the generic image icon; I still need a better
one from Susan.
2000-09-29 Gene Z. Ragan <gzr@eazel.com>
Fixed bug 2602, Integrate gnome-vfs http proxy setting into Mozilla
component.
* components/mozilla/Makefile.am:
* components/mozilla/nautilus-mozilla-content-view.c:
(nautilus_mozilla_content_view_initialize):
Check for proxy settings and init mozilla to use them.
Fixed bug 2692, Need to let user specify a proxy for Mozilla
component.
* libnautilus-extensions/nautilus-global-preferences.c:
(use_proxy_changed), (proxy_changed),
(global_preferences_register):
When the Nautilus preferences mechanism supports system wide settings,
we should revisit this code and remove the gconf system prefs retrieval
code.
2000-09-29 Andy Hertzfeld <andy@eazel.com>
* libnautilus-extensions/nautilus-thumbnails.c:
(check_for_thumbnails):
partially fixed bug 3342, thumbnailing never gives up on bad images.
If thumbnailing failed, it would obsessively try over and over since
it was calling nautilus_file_changed even if it failed. Fixed by
calling nautilus_file_changed only when it succeeds. It still will
try once each time you enter the containing directory, and it has
the wrong icon, both of which I'll fix soon.
2000-09-29 Rebecca Schulman <rebecka@eazel.com>
* libnautilus/nautilus-clipboard.c: (add_menu_items_callback),
(nautilus_clipboard_set_up_editable_from_bonobo_control):
* src/nautilus-window.c: (nautilus_window_constructed):
Removed non-working clipboard code
2000-09-29 John Sullivan <sullivan@eazel.com>
Fixed bug 3327 (intermittent tree view crash)
* libnautilus-extensions/nautilus-file.c:
(nautilus_file_get_internal): Changed file_name_escaped
to file_name in nautilus_str_is_empty call.
file_name_escaped had already been freed at this point
(Doh!). Darin and I believe this to be the cause of
3327 (and testers agree). Also freed file_name later,
which had been leaking.
* components/tree/nautilus-tree-model.c:
(nautilus_tree_model_get_node): Removed extra debugging
spam from here now that bug is fixed. We can bring it
back later if necessary.
2000-09-29 Ramiro Estrugo <ramiro@eazel.com>
* configure.in:
Add a --disable-mozilla-component autoconf flag so the component
can be forced disabled even if mozilla development libraries are
detected.
2000-09-29 Ramiro Estrugo <ramiro@eazel.com>
* Makefile.am:
* configure.in:
* HACKING:
* tools/.cvsignore:
* tools/Makefile.am:
* tools/README:
* tools/leak-checker/.cvsignore:
* tools/leak-checker/Makefile.am:
* tools/leak-checker/nautilus-leak-checker-stubs.h:
* tools/leak-checker/nautilus-leak-checker.c:
* tools/leak-checker/nautilus-leak-checker.h:
* tools/leak-checker/nautilus-leak-hash-table.c:
* tools/leak-checker/nautilus-leak-hash-table.h:
* tools/leak-checker/nautilus-leak-symbol-lookup.c:
* tools/leak-checker/nautilus-leak-symbol-lookup.h:
* tools/profiler/Makefile:
* tools/profiler/funcsummary.C:
* tools/profiler/funcsummary.h:
* tools/profiler/machine-profile.S:
* tools/profiler/machine-profile.h:
* tools/profiler/machine-profileP.h:
* tools/profiler/nautilus-leak-symbol-lookup.C:
* tools/profiler/nautilus-leak-symbol-lookup.h:
* tools/profiler/profile.C:
* tools/profiler/profile.h:
* tools/profiler/profileP.h:
* tools/profiler/profiledata.C:
* tools/profiler/profiledata.h:
* tools/profiler/symbol-table.h:
* tools/profiler/test.cpp:
* tools/profiler/totaltime.C:
* tools/profiler/totaltime.h:
Moved the leak-checker and profiler tools to their own gnome cvs
module.
2000-09-29 Robey Pointer <robey@eazel.com>
* nautilus-installer/src/bootstrap-background.xpm:
Add nice new Arlo background to the bootstrap installer.
2000-09-29 Ramiro Estrugo <ramiro@eazel.com>
* configure.in:
Switch the order of assignment of warnings to CFLAGS so that they
can be overridden by the user at configure time.
2000-09-29 Andy Hertzfeld <andy@eazel.com>
* src/file-manager/fm-icon-view.c:
(icon_container_preview_callback):
finished off bug 3271, by disabling sound previewing if we can't
open the sound device.
2000-09-29 Andy Hertzfeld <andy@eazel.com>
* components/music/nautilus-music-view.c: (play_current_file),
(add_play_controls):
fixed bug 3271, music view doesn't check if sound hardware is
present, by seeing if we can successfully open the sound device.
Still need to fix sound previewing similarily
2000-09-28 Andy Hertzfeld <andy@eazel.com>
* icons/chit_frame.png:
I accidentally checked in a flawed property frame earlier; this
is the right one.
* components/music/nautilus-music-view.c: (can_play_sounds),
(nautilus_music_view_initialize), (nautilus_music_view_destroy),
(music_view_set_selected_song_title):
added test for whether sound output is present, plus other clean-ups
2000-09-28 Maciej Stachowiak <mjs@eazel.com>
* components/tree/nautilus-tree-model.c:
(nautilus_tree_model_get_node, dump_one_file_node): Further
increased the debugging output.
2000-09-28 Arlo Rose <arlo@eazel.com>
* icons/arlo/Makefile.am:
* icons/arlo/i-regular.xml:
* icons/arlo/i-regular-96-aa.png:
* icons/arlo/i-regular-192-aa.png:
Added a few regular file icons in the uber-large sizes.
Not sure if these are final yet.
2000-09-28 Josh Barrow <josh@eazel.com>
* docs/smoketests.html:
Changed my e-mail address
2000-09-28 Maciej Stachowiak <mjs@eazel.com>
* components/tree/nautilus-tree-model.c
(nautilus_tree_model_get_node, dump_one_file_node): Enhance
debugging output to include hex addresses of files when we hit the
mysterious intermittent failure.
2000-09-28 John Sullivan <sullivan@eazel.com>
Fixed part of bug 3322 (context menus don't work correctly
in icon view when using FTP). Now there is no degenerate menu
displayed, but the real menu still doesn't appear due to the
remaining selection bug.
Also did some more work to make some sidebar view failures
less deadly to Nautilus.
* src/file-manager/fm-directory-view.c:
(create_selection_context_menu): Complain and return NULL if
no files are selected.
(fm_directory_view_pop_up_selection_context_menu):
Don't put up a menu at all if create_selection_context_menu
returned NULL.
* src/nautilus-window-private.h:
Added field details->dead_view_name.
* src/nautilus-view-frame.c: (nautilus_view_frame_get_label):
return-if-fail if view frame has already been destroyed but
not finalized (so details is NULL). It used to segfault. I
also changed the one caller I knew about that sometimes called
this function in this situation.
* src/nautilus-window-manage-views.c:
(nautilus_window_set_state_info): in VIEW_ERROR case, store the
name of the (first) failing view frame here, where it can still
be reliably read.
(nautilus_window_update_state): Removed redundant and misleading
window->error_views != NULL check; changed if/else logic to
not check whether new_content_view is also content_view, since
when this check failed the code would assume that new_content_view
was a sidebar panel (I don't know of anyone ever running into
this case though); free and NULL out dead_view_name after
processing first error_view.
(report_sidebar_panel_failure_to_user): Use previously-stored
dead_view_name rather than trusting the view frame to still
have useful information in this case, since it doesn't in
the many cases where it self-destructed when running into
a problem.
(nautilus_window_end_location_change_callback): Tweaked an
error message.
* src/nautilus-window.c: (nautilus_window_destroy):
free details->dead_view_name.
2000-09-28 Andy Hertzfeld <andy@eazel.com>
* src/file-manager/fm-properties-window.c:
(get_property_names_from_uri):
fixed bug 3332, erase emblem was mistakenly included in
properties window.
* src/nautilus-property-browser.c: (make_color_drag_image),
(element_clicked_callback), (make_properties_from_xml_node):
made the colors in the property browser consistent with the
image backgrounds
* icons/backgrounds.png:
* icons/colors.png:
* icons/emblems.png:
* icons/chit_frame.png:
tweaked images from Susan for the property browser
* icons/i-music-aa.png:
Susan fixed Eli's time signature bug in the music icon
2000-09-28 Mathieu Lacage <mathieu@eazel.com>
Fix bug 2688. back and forward buttons do not work
with mozilla.
* components/mozilla/nautilus-mozilla-content-view.c:
(nautilus_mozilla_content_view_load_uri),
(mozilla_location_changed_callback),
(mozilla_open_uri_callback): add a flag to remember
when nautilus calls the component and another to remember
when the user clicks on a button.
2000-09-28 Darin Adler <darin@eazel.com>
Fixed renaming bug with names with unusual characters and problems
caused by the clipboard code, and started work on metadata copying
and removing implementation and cleanup.
* libnautilus-extensions/nautilus-file-operations.c:
(nautilus_file_operations_new_folder): Use
gnome_vfs_uri_append_file_name instead of
gnome_vfs_uri_append_path, since we are appending a file name, not
a path in URI format.
* libnautilus-extensions/nautilus-file-utilities.c:
(nautilus_get_user_main_directory): Use
gnome_vfs_uri_append_file_name instead of
gnome_vfs_uri_append_path, since we are appending a file name, not
a path in URI format.
* libnautilus-extensions/nautilus-file.c:
(rename_update_info_and_metafile): Use metadata call by new name.
(nautilus_file_rename): Use gnome_vfs_uri_append_file_name instead
of gnome_vfs_uri_append_path, since we are appending a file name,
not a path in URI format. This should fix the renaming problems we
were seeing.
* libnautilus/nautilus-clipboard.h:
* libnautilus/nautilus-clipboard.c:
(set_paste_sensitive_if_clipboard_contains_data),
(set_clipboard_menu_items_sensitive),
(set_clipboard_menu_items_insensitive): Removed unused window
parameter.
(menu_activated_callback): Changed this function to find the
window using gtk_widget_toplevel instead of from a global. This
works in all the cases where the old code would have worked, and
doesn't have the problem with multiple windows.
(menu_deactivated_callback): Removed unused window parameter.
(nautilus_clipboard_set_up_editable_from_bonobo_control): Added
check for NULL menubar. This shows a design problem too, but at
least it
(nautilus_clipboard_set_up_host_ui_handler): Got rid of global.
* src/nautilus-window.c: (nautilus_window_constructed): Use
clipboard call by new name.
* libnautilus-extensions/nautilus-directory.c:
(nautilus_directory_schedule_metadata_copy),
(nautilus_directory_schedule_metadata_move),
(nautilus_directory_schedule_metadata_remove),
(nautilus_directory_schedule_position_setting): Tighten up these
routines a bit and have them do as much work as possible through
functions in nautilus-directory-metafile.[ch]. This is preparation
for doing full implementation of the actual metadata copying.
* libnautilus-extensions/nautilus-directory-metafile.h:
* libnautilus-extensions/nautilus-directory-metafile.c:
(nautilus_directory_rename_file_metadata),
(copy_file_metadata_for_key),
(nautilus_directory_copy_file_metadata),
(nautilus_directory_remove_file_metadata): New functions to doteh
metadata copying, and a new name for an old function. Now I have
to actually make them work better.
* nautilus.spec.in: Do a "make check" instead of a "make" when
building RPMs.
2000-09-28 Robey Pointer <robey@eazel.com>
* components/services/install/lib/eazel-install-md5.c:
* components/services/install/lib/eazel-install-metadata.c:
(done_with_gconf):
* components/services/install/lib/eazel-install-object.c:
(eazel_install_delete_downloads), (eazel_install_install_packages),
(eazel_install_emit_preflight_check),
(eazel_install_emit_delete_files), (string_list_copy):
* components/services/install/lib/eazel-install-protocols.c:
(eazel_install_fetch_package), (get_url_for_package),
(get_search_url_for_package), (flatten_tree_func),
(eazel_install_fetch_definitive_package_info),
(eazel_install_fetch_definitive_category_info):
* components/services/install/lib/eazel-install-protocols.h:
* components/services/install/lib/eazel-install-public.h:
* components/services/install/lib/eazel-install-query.c:
(eazel_install_simple_rpm_query):
* components/services/install/lib/eazel-install-rpm-glue.c:
(eazel_install_flatten_categories), (install_new_packages),
(eazel_install_download_packages),
(eazel_install_check_for_file_conflicts),
(eazel_install_pre_install_packages),
(eazel_install_do_install_packages), (revert_transaction),
(eazel_install_do_transaction_save_report_helper),
(eazel_install_do_transaction_save_report),
(eazel_install_monitor_subcommand_pipe),
(eazel_install_start_transaction), (eazel_install_free_rpm_system),
(eazel_install_add_to_rpm_set), (dump_one_package),
(dump_packages), (print_package_list), (eazel_install_ensure_deps),
(eazel_uninstall_upward_traverse),
(eazel_uninstall_downward_traverse):
* components/services/install/lib/eazel-install-types.c:
(categorydata_destroy_foreach), (packagedata_new),
(packagedata_fill_from_rpm_header), (packagedata_destroy),
(packagedata_modstatus_enum_to_str):
* components/services/install/lib/eazel-install-types.h:
Make libeazelinstall compile with -Wall -Werror. Separate the
concept of a package's remote url from its local filename (was
causing bugs). Some initial attempts to do a one-pass
download/install phase (not finished, put off till post-PR2). Add
dependencies to category lists.
* components/services/install/lib/eazel-install-xml-package-list.c:
(parse_package), (parse_category), (parse_shared),
(parse_memory_xml_package_list), (parse_memory_transaction_file),
(parse_local_xml_package_list), (osd_parse_dependency),
(osd_parse_implementation), (osd_parse_shared),
(parse_osd_xml_from_memory):
* components/services/install/lib/eazel-install-xml-package-list.h:
Wrap package-list.xml and package-list-depends.xml into a single
file and add support for dependency lists and splash text for the
bootstrap installer.
* nautilus-installer/src/callbacks.c: (begin_install),
(prep_finish):
* nautilus-installer/src/installer.c: (create_pixmap),
(gtk_label_new_with_font), (add_padding_to_box), (set_white_stuff),
(create_what_to_do_page), (create_install_page),
(create_finish_page_good), (create_finish_page_evil),
(create_window), (eazel_install_progress),
(eazel_download_progress), (get_detailed_errors), (install_failed),
(download_failed), (eazel_install_preflight),
(eazel_install_dep_check), (check_if_next_okay),
(toggle_button_toggled), (eazel_installer_add_category),
(create_info_druid_page), (check_system),
(eazel_install_get_depends), (eazel_installer_initialize):
* nautilus-installer/src/link.sh:
* nautilus-installer/src/main.c: (main), (oaf_init), (bonobo_init):
* nautilus-installer/src/proxy.c:
* nautilus-installer/src/support.c:
Remove warnings from the bootstrap installer. Arlo-ify the
bootstrap installer (over 50% done).
2000-09-28 John Sullivan <sullivan@eazel.com>
* libnautilus-extensions/nautilus-icon-container.c:
(match_best_name), (compare_icons_by_name),
(nautilus_icon_container_start_renaming_selected_item):
Fixed a segfault I ran into by accidentally typing
into a Nautilus window before it was fully displayed.
Some icon-container code was assuming that
nautilus_icon_canvas_item_get_editable_text never
returned NULL, but right after the directory is loaded
this assumption is valid. Fixed all similar offenders.
2000-09-28 J Shane Culpepper <pepper@eazel.com>
* components/services/summary/nautilus-view/nautilus-summary-view.c
: (generate_summary_form), (generate_service_entry_row),
(generate_update_news_entry_row):
Setup all buttons on the page to be one size. Current max size per
button is about a 22 character label.
2000-09-28 Rebecca Schulman <rebecka@eazel.com>
Fixed bug 3231, which crashed nautilus when file dialogs
were closed without choosing an option. Added a parameter
to nautilus_simple_dialog to allow the close button to be ignored
* libnautilus-extensions/nautilus-file-operations.c:
(handle_xfer_vfs_error), (handle_xfer_overwrite),
(nautilus_file_operations_copy_move),
(nautilus_file_operations_move_to_trash):
* libnautilus-extensions/nautilus-icon-dnd.c:
(confirm_switch_to_manual_layout):
* src/nautilus-location-bar.c: (drag_data_received_callback):
Switched dialogs which really should receive a response from
the user to use dialog boxes which ignore the close box
* libnautilus-extensions/nautilus-stock-dialogs.c:
* libnautilus-extensions/nautilus-stock-dialogs.h:
(delete_event_callback), (nautilus_simple_dialog):
Made the dialog ignore delete events.
2000-09-28 J Shane Culpepper <pepper@eazel.com>
* components/services/summary/nautilus-view/nautilus-summary-view.c
: Fixing url locations
2000-09-28 Pablo Saratxaga <pablo@mandrakesoft.com>
* configure.in,po/ca.po: Added Catalan language file
2000-09-28 John Sullivan <sullivan@eazel.com>
* src/nautilus-view-frame.c: (check_if_view_is_gone):
Removed an unnecessary line that was setting a field
of a struct that was just set to NULL. This crashed for
terral (IRC name).
2000-09-28 Josh Barrow <linuxfan@ionet.net>
* docs/smoketests.html:
A few minor changes to reflect the current behavior of Nautilus.
2000-09-28 Darin Adler <darin@eazel.com>
* src/nautilus-theme-selector.c: (populate_list_with_themes):
Fix uninitialized variable.
2000-09-28 Darin Adler <darin@eazel.com>
* libnautilus-extensions/nautilus-undo-context.c:
(nautilus_undo_context_new): Bonobo objects own themselves, so we
should not do a ref/sink on them.
* libnautilus-extensions/nautilus-undo-manager.c:
(nautilus_undo_manager_new): Bonobo objects own themselves, so we
should not do a ref/sink on them.
* src/nautilus-application.c: (nautilus_application_initialize):
Move global preferences initialization to main with other
initialize calls.
(nautilus_application_new): Bonobo objects own themselves, so we
should not do a ref/sink on them.
(nautilus_application_destroy): Unref the undo manager to fix a
leak.
* src/nautilus-main.c: (main): Move global preferences
initialization to main with other initialize calls.
* nautilus.spec.in: Added "-k" to build commands so we get more
information about what failed when failing to build via
RPM. Failures are still failures, we just see more of what's
failing.
* components/help/converters/gnome-db2html2/sect-elements.c:
(sect_entry_end_element):
* components/help/converters/gnome-db2html2/toc-elements.c:
(toc_title_start_element):
* components/image-viewer/nautilus-image-view.c:
(init_server_factory):
* components/rpmview/nautilus-rpm-view-install.c:
(nautilus_rpm_view_install_package_callback),
(nautilus_rpm_view_uninstall_package_callback):
* components/services/install/command-line/eazel-alt-install-corba.
c: (main):
* components/services/install/command-line/eazel-alt-install.c:
(main):
* components/services/install/command-line/eazel-install.c:
(generate_new_package_list), (fetch_remote_package_list), (main):
* components/services/install/command-line/eazel-package-query.c:
(main):
* components/services/install/command-line/eazel-revert.c: (main):
* components/services/install/command-line/eazel-uninstall.c:
(main):
* components/services/install/lib/eazel-install-object.c:
(eazel_install_fetch_remote_package_list):
* components/services/install/lib/eazel-install-protocols.c:
(eazel_install_fetch_file), (eazel_install_fetch_package):
* components/services/install/lib/eazel-install-rpm-glue.c:
(install_new_packages), (eazel_install_download_packages),
(uninstall_packages), (eazel_install_start_transaction),
(eazel_install_add_to_rpm_set),
(eazel_install_check_if_related_package):
* components/services/install/nautilus-view/nautilus-service-instal
l-view.c: (nautilus_service_install_preflight_check):
* components/services/install/nautilus-view/nautilus-service-instal
l.c: (nautilus_service_install_view_install_package_callback),
(nautilus_service_install_view_uninstall_package_callback):
* components/services/install/server/main.c: (main):
* components/services/summary/nautilus-view/nautilus-summary-view.c
: (generate_startup_form), (generate_summary_form),
(generate_service_entry_row):
* components/services/time/command-line/main.c: (main):
* components/services/time/service/main.c: (main):
* components/services/trilobite/libtrilobite/trilobite-core-utils.c
: (trilobite_init):
* components/services/trilobite/libtrilobite/trilobite-root-client.
c: (trilobite_root_client_initialize):
* components/services/trilobite/libtrilobite/trilobite-service-pass
wordquery.c: (trilobite_passwordquery_initialize):
* components/services/trilobite/libtrilobite/trilobite-service.c:
(trilobite_service_initialize):
* components/services/trilobite/sample/command-line/main.c: (main):
* components/services/trilobite/sample/service/main.c: (main):
* components/shell/shell.c:
* components/tree/nautilus-tree-model.c:
(nautilus_tree_model_monitor_add),
(nautilus_tree_model_root_node_file_monitor):
* components/tree/nautilus-tree-view.c:
* libnautilus-extensions/nautilus-directory-async.c:
(get_filter_options_for_directory_count):
* libnautilus-extensions/nautilus-file-utilities.c:
(nautilus_uri_is_local_scheme), (nautilus_handle_trailing_slashes):
* libnautilus-extensions/nautilus-icon-dnd.c:
(drag_data_received_callback):
* libnautilus-extensions/nautilus-icon-text-item.c: (iti_event):
* libnautilus-extensions/nautilus-list.c:
(nautilus_list_ensure_drag_data), (nautilus_list_get_drop_action),
(nautilus_list_drag_data_received):
* libnautilus-extensions/nautilus-scalable-font.c:
(initialize_global_stuff_if_needed):
* libnautilus-extensions/nautilus-undo-signal-handlers.c:
(editable_register_edit_undo):
* src/file-manager/fm-icon-view.c:
(context_menu_layout_radio_item_callback):
* src/file-manager/nautilus-indexing-info.c:
(update_progress_display):
* src/nautilus-switchable-search-bar.c:
(nautilus_switchable_search_bar_set_mode):
Got rid of all uses of == TRUE and != TRUE, since they are dangerous.
Got rid of all uses of == FALSE and != FALSE, since they lead to use
of == TRUE and != TRUE.
2000-09-28 John Sullivan <sullivan@eazel.com>
* components/services/summary/nautilus-view/nautilus-summary-view.c
: (who_is_logged_in): Fixed (valid) unininitialized variable
warning that Pretender ran into.
2000-09-27 Maciej Stachowiak <mjs@eazel.com>
* components/tree/nautilus-tree-view.c
(nautilus_tree_view_initialize): Set the tree widget to
GTK_SELECTION_SINGLE instead of GTK_SELECTION_BROWSE, fixing bug
3235.
2000-09-28 Andy Hertzfeld <andy@eazel.com>
* libnautilus-extensions/nautilus-icon-factory.c:
(nautilus_icon_factory_get_icon_for_file):
mostly fixed bug 3158, unacceptable memory usage when thumbnailing,
by implementing an upper bound on the file size, above which it
won't try to thumbnail - it's currently set to 1 megabyte, but it
needs to be tweaked. We still need to give the "too big to thumbnail"
files a distinctive icon.
2000-09-27 Andy Hertzfeld <andy@eazel.com>
* src/nautilus-theme-selector.c: (add_theme_to_icons),
(exit_remove_mode), (theme_select_row_callback),
(populate_list_with_themes):
finished bug 3303, can't remove user-added themes, by finishing the
theme removal implementation.
2000-09-27 J Shane Culpepper <pepper@eazel.com>
* components/services/summary/nautilus-view/nautilus-summary-view.c
: (generate_summary_form), (am_i_logged_in), (who_is_logged_in):
fixed who_is_logged_in to return correct username.
2000-09-27 Ramiro Estrugo <ramiro@eazel.com>
* components/services/summary/nautilus-view/nautilus-summary-view.c
: (am_i_logged_in):
Fixed uninitialized variable.
2000-09-27 J Shane Culpepper <pepper@eazel.com>
* components/services/summary/nautilus-view/nautilus-summary-view.c
: (generate_summary_form), (generate_service_entry_row),
(who_is_logged_in):
Fixing the button enabled / disabled problem in services table.
Fixing the trashed username when login succeeds.
2000-09-27 Arlo Rose <arlo@eazel.com>
* icons/arlo/Makefile.am:
* icons/arlo/i-directory-192-aa.png:
* icons/arlo/i-directory-96-aa.png:
* icons/arlo/i-directory-72-aa.png:
Added a few more sizes to my folder icons.
Document icons coming soon!
2000-09-27 John Sullivan <sullivan@eazel.com>
Fixed bug 1010 (delay between when an item gets selected
and revealed).
The delay was there for two reasons, one of which was a mistaken
accident of history. Reduced the delay from 300ms to 10ms in icon
view, and to 0ms in list view. Couldn't reduce the icon view delay
to 0ms due to problems with the scroll/redraw being unable to keep
up with holding the arrow key down. The current settings seem to
work well in both views, though it would be worthwhile to verify
this on a maximally-slow target machine.
* libnautilus-extensions/nautilus-icon-container.c:
* libnautilus-extensions/nautilus-list.c:
2000-09-27 Andy Hertzfeld <andy@eazel.com>
* src/nautilus-theme-selector.c:
(nautilus_theme_selector_initialize), (add_theme_to_icons),
(add_new_theme_button_callback), (remove_button_callback),
(set_help_label), (exit_remove_mode), (theme_select_row_callback),
(populate_list_with_themes):
implemented removing user-installed themes, plus some other clean-ups.
This isn't quite finished yet.
2000-09-27 Ramiro Estrugo <ramiro@eazel.com>
* nautilus.spec.in:
Remove extraneous space after the \ continuation character
because the rpm demons barf otherwise.
2000-09-27 Rebecca Schulman <rebecka@eazel.com>
Fixed bug 2522, to display an index progress dialog,
corresponding to Arlo's screenshots.
* src/file-manager/nautilus-indexing-info.c:
(get_text_for_progress_label), (update_progress_display),
(update_file_index_callback), (get_file_index_time),
(show_index_progress_bar), (nautilus_indexing_info_show_dialog):
2000-09-27 J Shane Culpepper <pepper@eazel.com>
* components/mozilla/nautilus-mozilla-content-view.c:
Adding custom uris to be parsed by mozilla.
2000-09-27 John Sullivan <sullivan@eazel.com>
Debugging code to try to catch the evil
nautilus_tree_view_find_parent_node bug.
* components/tree/nautilus-tree-model.h:
* components/tree/nautilus-tree-model.c:
(dump_one_file_node),
(nautilus_tree_model_dump_files): New debugging functions
that display what files are known to the tree view.
* components/tree/nautilus-tree-view.c:
(nautilus_tree_view_find_parent_node): Added a bunch of
debugging output in the intermittent case where this
function can't find a node.
2000-09-27 Maciej Stachowiak <mjs@eazel.com>
* libnautilus-extensions/nautilus-file-attributes.h: Rename
NAUTILUS_FILE_ATTRIBUTE_FAST_MIME_TYPE to
NAUTILUS_FILE_ATTRIBUTE_MIME_TYPE; add
NAUTILUS_FILE_ATTRIBUTE_SLOW_MIME_TYPE, for now just a synonym for
NAUTILUS_FILE_ATTRIBUTE_MIME_TYPE.
* libnautilus-extensions/nautilus-directory-async.c:
(set_up_request_by_file_attributes): Handle the new file
attributes.
* libnautilus-extensions/nautilus-directory.h: move
nautilus_directory_wait_until_ready call to
nautilus-wait-until-ready.h
* libnautilus-extensions/nautilus-directory.c:
(nautilus_self_check_directory): Include
nautilus-wait-until-ready.h, use new attributes.
* libnautilus-extensions/nautilus-wait-until-ready.h: New header
for the deprecated wait_until_ready calls.
* libnautilus-extensions/nautilus-file.c:
(nautilus_file_wait_until_ready): file equivalent of
nautilus_directory_wait_until_ready; temporary to help me
refactor.
(file_wait_until_ready_callback): helper function.
* libnautilus-extensions/Makefile.am: Add
nautilus-wait-until-ready.h
* libnautilus-extensions/nautilus-icon-factory.c:
(nautilus_icon_factory_get_required_file_attributes): Use new
attribute for mime type.
* libnautilus-extensions/nautilus-mime-actions.h,
libnautilus-extensions/nautilus-mime-actions.c:
(nautilus_mime_get_default_action_type_for_uri),
(nautilus_mime_get_default_action_for_uri),
(nautilus_mime_get_default_application_for_uri_internal),
(nautilus_mime_get_default_application_for_uri),
(nautilus_mime_is_default_application_for_uri_user_chosen),
(nautilus_mime_get_default_component_for_uri_internal),
(nautilus_mime_get_default_component_for_uri),
(nautilus_mime_is_default_component_for_uri_user_chosen),
(nautilus_mime_get_short_list_applications_for_uri),
(nautilus_mime_get_short_list_components_for_uri),
(nautilus_mime_get_short_list_methods_for_uri),
(nautilus_mime_get_all_applications_for_uri),
(nautilus_mime_has_any_applications_for_uri),
(nautilus_mime_get_all_components_for_uri),
(nautilus_mime_has_any_components_for_uri),
(nautilus_mime_set_default_action_type_for_uri),
(nautilus_mime_set_default_application_for_uri),
(nautilus_mime_set_default_component_for_uri),
(nautilus_mime_set_short_list_applications_for_uri),
(nautilus_mime_set_short_list_components_for_uri),
(nautilus_mime_add_application_to_short_list_for_uri),
(nautilus_mime_remove_application_from_short_list_for_uri),
(nautilus_mime_add_component_to_short_list_for_uri),
(nautilus_mime_remove_component_from_short_list_for_uri),
(nautilus_mime_extend_all_applications_for_uri),
(nautilus_mime_remove_from_all_applications_for_uri): All these
functions now take a NautilusDirectory and a NautilusFile, rather
than a URI.
(gnome_vfs_mime_application_has_id),
(gnome_vfs_mime_id_matches_application),
(gnome_vfs_mime_application_has_id_not_in_list),
(string_not_in_list), (extract_prefix_add_suffix),
(make_oaf_query_with_known_mime_type),
(make_oaf_query_with_uri_scheme_only), (free_key),
(server_matches_content_requirements),
(nautilus_do_component_query), (str_list_difference),
(strv_concat): Reformatted.
(get_mime_type_from_file): Changed from get_mime_type_from_uri;
uses nautilus_file_wait_until_ready instead of synchronous I/O.
* libnautilus-extensions/nautilus-program-chooser.c:
(repopulate_program_list), (is_application_default_for_uri),
(is_component_default_for_uri),
(is_component_in_short_list_for_uri),
(is_application_in_short_list_for_uri),
(program_file_pair_is_default_for_file),
(add_to_short_list_for_file), (remove_from_short_list_for_file),
(remove_default_for_item), (set_default_for_item):
* libnautilus-extensions/nautilus-program-choosing.c:
(any_programs_available_for_file):
* libnautilus-extensions/nautilus-wait-until-ready.h:
* src/file-manager/fm-directory-view.c: (switch_location_and_view),
(create_open_with_gtk_menu), (reset_bonobo_open_with_menu),
(activate_callback):
* src/nautilus-applicable-views.c: (got_file_info_callback),
(nautilus_navigation_info_new), (nautilus_navigation_info_free):
* src/nautilus-applicable-views.h:
* src/nautilus-sidebar.c: (nautilus_sidebar_update_buttons):
* src/nautilus-theme-selector.c: (add_theme_to_icons):
* src/nautilus-window.c: (nautilus_window_switch_views),
(nautilus_window_load_content_view_menu):
* test/test-nautilus-mime-actions-set.c: (main):
* test/test-nautilus-mime-actions.c: (main): Deal with above API changes.
2000-09-27 Ramiro Estrugo <ramiro@eazel.com>
* librsvg/Makefile.am:
Dont install the test programs.
* nautilus.spec.in:
Make sure the fallback font is part of the package.
Dont include the rsvg test programs.
2000-09-27 Ramiro Estrugo <ramiro@eazel.com>
* components/mozilla/Makefile.am:
* configure.in:
Add support for using a debuggable version of the beast.
2000-09-27 Rebecca Schulman <rebecka@eazel.com>
Fixed bug 1275, that sidebar panels don't have defaults
per user level.
* libnautilus-extensions/nautilus-global-preferences.c:
(get_default_sidebar_iids_for_user_level),
(sidebar_panel_iid_is_in_default_list),
(global_preferences_register_sidebar_panels),
(global_preferences_is_sidebar_panel_enabled):
Added default sets (hard coded, as before) for each
user level, and used them to get the defaults, instead of
the single set for all levels
* libnautilus/nautilus-clipboard.c:
(set_paste_sensitive_if_clipboard_contains_data):
simplified check whether paste should be available.
* src/nautilus-window-menus.c: (nautilus_window_initialize_menus):
Fixed a typo in the clipboard menu text.
2000-09-27 John Sullivan <sullivan@eazel.com>
Fixed bug 3294 ("Find them" button remains insensitive when search
type is changed to non-text one)
* src/nautilus-complex-search-bar.c:
(search_bar_criterion_type_changed_callback):
Added a missing "update_dynamic_button_states". This used to
work, so I think it probably got accidentally deleted somewhere
along the way.
2000-09-26 Andy Hertzfeld <andy@eazel.com>
* libnautilus-extensions/nautilus-icon-canvas-item.c:
(draw_or_measure_label_text_aa):
tweaked the selection highlighting to Arlo's taste.
2000-09-26 Darin Adler <darin@eazel.com>
* src/nautilus-window-manage-views.c:
(nautilus_window_update_title): Added a missing g_free.
2000-09-26 Arlo Rose <arlo@eazel.com>
* data/browser.xml:
Fixed dumb typo.
2000-09-26 Darin Adler <darin@eazel.com>
Fix more storage leaks.
* components/tree/nautilus-tree-node.c: (nautilus_tree_node_new):
Get rid of extra allocation of node->details that caused a storage
leak.
* components/tree/nautilus-tree-view.c:
(nautilus_tree_view_insert_model_node): Add a g_free.
(free_uri_to_node_map_entry), (free_uri_to_hack_node_map_entry),
(nautilus_tree_view_destroy): Free the keys of the hash table.
(tree_expand_callback), (tree_collapse_callback),
(tree_select_row_callback): Added missing g_free.
(nautilus_tree_view_item_at): Removed an excess g_strdup.
* libnautilus-extensions/nautilus-preference.c:
(preference_initialize_if_needed): Destroy the global preference
table on exit.
(preference_hash_node_free_func): Free the hash key as well as
the node value.
(preference_register): Use strdup on keys as then are entered
into the hash table.
(preference_hash_node_lookup_with_registration): Remove the strdup
in here since preference_register now handles it.
(destroy_global_preference_table): Renamed and simplified the
existing unused function.
* libnautilus-extensions/nautilus-volume-monitor.c:
(nautilus_volume_monitor_destroy), (free_volume): Free the volume
itself, not just the fields within it.
* src/nautilus-complex-search-bar.c:
(nautilus_complex_search_bar_get_location): Added a missing
g_free.
* src/nautilus-sidebar-tabs.c: (tab_item_destroy_cover),
(nautilus_sidebar_tabs_destroy): Free the tab items too, not just
the list they are stored in.
* src/nautilus-switchable-search-bar.c:
(search_bar_preference_changed_callback): Added a missing g_free.
* libnautilus-extensions/nautilus-theme.c: (free_default_theme),
(nautilus_theme_get_theme_data): Add code to free the default
theme on program exit to make leak detection easier.
* src/nautilus-main.c: (main): Clean up the memory used by the XML
parser on exit to make leak detection easier.
* libnautilus/Makefile.am:
* libnautilus/nautilus-bonobo-workarounds.c:
* libnautilus/nautilus-bonobo-workarounds.h:
Added version of bonobo_object_get_epv that shares a single global
instance instead of allocating a new one each time it's called.
* components/adapter/nautilus-adapter-factory-server.c:
(impl_Nautilus_ComponentAdapterFactory__create):
* libnautilus-extensions/bonobo-stream-vfs.c:
(bonobo_stream_vfs_class_init):
* libnautilus-extensions/nautilus-undo-context.c:
(impl_Nautilus_Undo_Context__create):
* libnautilus-extensions/nautilus-undo-manager.c:
(nautilus_undo_manager_initialize_class):
* libnautilus/nautilus-undo-transaction.c:
(impl_Nautilus_Undo_Transaction__create):
* libnautilus/nautilus-view.c: (impl_Nautilus_View__create):
* src/nautilus-history-frame.c:
(impl_Nautilus_HistoryFrame__create):
* src/nautilus-shell.c: (nautilus_shell_get_vepv):
* src/nautilus-view-frame-corba.c:
(impl_Nautilus_ViewFrame__create):
* src/nautilus-zoomable-frame-corba.c:
(impl_Nautilus_ZoomableFrame__create):
Use the new cover for bonobo_object_get_epv to avoid
making lots of copies of it.
* src/nautilus-window-menus.c: (get_user_level_image): Formatting
tweak.
* tools/leak-checker/nautilus-leak-checker.c: Added more "known to
allocate and not free on exit" functions.
2000-09-26 John Sullivan <sullivan@eazel.com>
Fixed bug 3244 (already-computed folder counts don't update
when filtering preferences change)
* libnautilus-extensions/nautilus-directory.c:
(invalidate_one_count): hash table foreach function that
invalidates the count of a NautilusDirectory.
(filtering_changed_callback): preference callback function
that calls invalidate_one_count on all extant directories.
(add_filtering_callbacks): add preference callbacks for each
file-filtering preference.
(remove_filtering_callbacks): remove those preference callbacks.
(nautilus_directory_get_internal): When directories hash table
is created, call add_filtering_callbacks and schedule
remove_filtering_callbacks for exit time.
2000-09-26 Arlo Rose <arlo@eazel.com>
* data/browser.xml:
Added new colors, and names to match. These are less jarring, and
make for good backgrounds.
Fixes Bug 3204.
2000-09-26 John Sullivan <sullivan@eazel.com>
Fixed bug 437 (Deleting files doesn't affect count in sidebar)
Fixed bug 2001 (adding/removing files doesn't update directory counts)
* libnautilus-extensions/nautilus-directory-async.c:
(get_corresponding_file): Removed from here, replaced by
nautilus_directory_get_existing_corresponding_file, now
in nautilus-directory.c
(nautilus_directory_invalidate_counts): New function, split out
from nautilus_directory_force_reload.
(nautilus_directory_force_reload): Now calls _invalidate_counts.
* libnautilus-extensions/nautilus-directory-private.h:
Added prototypes for nautilus_directory_get_existing_corresponding_file
and nautilus_directory_invalidate_counts.
* libnautilus-extensions/nautilus-directory.h:
Added prototype for nautilus_directory_get_corresponding_file.
* libnautilus-extensions/nautilus-directory.c:
(nautilus_directory_get_corresponding_file): New public function,
returns NautilusFile object for this NautilusDirectory (whether or
not one already existed).
(nautilus_directory_get_existing_corresponding_file): Moved and
renamed private function, returns NautilusFile object for this
NautilusDirectory but only if one already exists.
(invalidate_count_and_unref): New helper hash table foreach function,
invalidates count & unrefs a NautilusDirectory.
(collect_parent_directories): New helper function, adds directory
to hash table & refs if not already present.
(nautilus_directory_notify_files_added),
(nautilus_directory_notify_files_removed),
(nautilus_directory_notify_files_moved): Use these two new functions
to invalidate directory counts when files added/removed.
* libnautilus-extensions/nautilus-file.c:
(nautilus_file_get_internal): Initialize a variable to NULL
to make compiler happy.
Reimplemented "select all should be insensitive when there
are no files to select" a better way after Darin hinted.
* src/file-manager/fm-directory-view.h: Added is_empty function
pointer and prototype for fm_directory_view_is_empty.
* src/file-manager/fm-directory-view.c:
(fm_directory_view_initialize_class): made is_empty a MUST_OVERRIDE
function.
(get_directory_as_file): Simplified implementation by calling new
nautilus_directory_get_corresponding_file.
(no_items_showing): Removed this function.
(compute_menu_item_info): Use fm_directory_view_is_empty instead of
no_items_showing.
(fm_directory_view_is_empty): New function, calls virtual function.
(fm_directory_view_real_create_background_context_menu_items): Fixed
bug where "New Folder" item in context menu was sensitive when it
shouldn't have been.
* src/file-manager/fm-list-view.c: (fm_list_view_initialize_class),
(real_is_empty): Overrode is_empty function pointer to check whether
row count of list is 0.
* libnautilus-extensions/nautilus-icon-container.h:
* libnautilus-extensions/nautilus-icon-container.c:
(nautilus_icon_container_is_empty): New function, checks whether
list of icons is NULL.
* src/file-manager/fm-icon-view.c: (fm_icon_view_is_empty),
(fm_icon_view_initialize_class): Overrode is_empty function pointer
to ask icon container.
2000-09-26 J Shane Culpepper <pepper@eazel.com>
* components/services/summary/nautilus-view/nautilus-summary-view.c
: (generate_startup_form), (generate_summary_form):
* nautilus-installer/src/Makefile:
Adding scroll bar capabilities to various sections and cleaning up
the box packing so that things look slightly better than with frames.
2000-09-26 Michael Engber <engber@eazel.com>
Yet another pass at optimizing background drawing.
* libnautilus-extensions/nautilus-background.c:
(nautilus_background_get_image_placement),
(ensure_gradient_buffered), (fill_canvas_from_gradient_buffer),
(canvas_buf_from_pixmap), (ensure_image_scaled),
(nautilus_background_draw), (nautilus_background_draw_aa):
* libnautilus-extensions/nautilus-gdk-pixbuf-extensions.c:
(nautilus_gdk_pixbuf_scale_to_fit_factor),
(nautilus_gdk_pixbuf_is_scaled_to_fit),
(nautilus_gdk_pixbuf_scale_to_fit),
(nautilus_gdk_pixbuf_scale_down_to_fit):
* libnautilus-extensions/nautilus-gdk-pixbuf-extensions.h:
2000-09-26 Rebecca Schulman <rebecka@eazel.com>
Fixed bugs 691, 689, and 733. Hopeully this also
fixes 690, but I can't test it, because rename in
place is confused on my system
* components/notes/nautilus-notes.c: (make_notes_view):
Change clipboard initialization to new signature
* libnautilus/nautilus-clipboard.c:
* libnautilus/nautilus-clipboard.h:
(set_paste_sensitive_if_clipboard_contains_data),
(add_menu_items_callback), (remove_menu_items_callback),
(set_clipboard_menu_items_sensitive),
(set_clipboard_menu_items_insensitive), (menu_activated_callback),
(menu_deactivated_callback),
(nautilus_clipboard_set_up_editable_from_bonobo_control),
(nautilus_clipboard_setup_local):
Add calls to sensitize and desensitize. Change signatures
around to get the data necessary to find out whether cut
and paste should be active or not
* src/nautilus-location-bar.c: (nautilus_location_bar_initialize):
* src/nautilus-window-menus.c: (nautilus_window_initialize_menus):
Change clipboard menu signatures to fit above changes
* src/nautilus-window.c: (nautilus_window_constructed):
add clipoard initialization, after the local ui handler is created
2000-09-26 Darin Adler <darin@eazel.com>
Got leaks in "nautilus --check" down to 0.
Fixed bug 2488 (path name for link set determined incorrectly) by
using only paths for link sets, never URIs.
* tools/leak-checker/nautilus-leak-checker.c: Added more "known to
leak" symbols.
* libnautilus-extensions/nautilus-link-set.c: (create_new_link),
(nautilus_link_set_is_installed), (nautilus_link_set_remove):
Changed functions to always expect paths, so they can now use
nautilus_make_path instead of link_set_path_name.
* src/nautilus-sidebar.c: (metadata_button_callback): Changed to
turn the URI into a path before calling the link-set functions.
* libnautilus-extensions/nautilus-directory.c:
(nautilus_directory_notify_files_moved): Use
nautilus_file_list_free instead of
nautilus_g_list_free_deep_custom.
* libnautilus-extensions/nautilus-string-list.c:
(nautilus_string_list_clear): Use nautilus_g_list_free_deep
instead of nautilus_g_list_free_deep_custom.
* libnautilus-extensions/nautilus-view-identifier.c:
(nautilus_view_identifier_free_callback),
(nautilus_view_identifier_list_free): Fixed call to
nautilus_g_list_free_deep_custom so it doesn't need a function
pointer type cast any more.
2000-09-26 Josh Barrow <linuxfan@ionet.net>
* src/nautilus-theme-selector.c: (add_theme_to_icons),
(add_new_theme_button_callback):
Changed "directory" to "folder" in two cases.
2000-09-26 Mathieu Lacage <mathieu@eazel.com>
try to debug some mozilla-related pbs.
* src/nautilus-view-frame-corba.c:
(impl_Nautilus_ViewFrame_open_location),
(impl_Nautilus_ViewFrame_open_location_in_new_window),
(impl_Nautilus_ViewFrame_open_in_new_window_and_select),
(impl_Nautilus_ViewFrame_report_location_change),
(impl_Nautilus_ViewFrame_report_selection_change),
(impl_Nautilus_ViewFrame_report_status),
(impl_Nautilus_ViewFrame_report_load_underway),
(impl_Nautilus_ViewFrame_report_load_progress),
(impl_Nautilus_ViewFrame_report_load_complete),
(impl_Nautilus_ViewFrame_report_load_failed),
(impl_Nautilus_ViewFrame_set_title):
add debugging output.
* src/nautilus-view-frame.c: (nautilus_view_frame_destroy_client),
(nautilus_view_frame_destroy), (nautilus_view_frame_load_client):
NULL freed' fields.
* src/nautilus-window.c: (nautilus_window_real_set_content_view):
idem.
2000-09-26 John Sullivan <sullivan@eazel.com>
Fixed bug 382 (Deleting file viewed in other window leaves
other window in bad state)
Also ran into some tree view problems that I did not fix
but made less deadly so I could continue.
* components/tree/nautilus-tree-view.c:
(nautilus_tree_view_model_done_loading_callback),
(reload_node_for_uri):
Added g_return_if_fails checking the model and node parameters,
so it won't segfault with a NULL node. I did not attempt to
debug why the nodes were NULL.
* src/nautilus-window-private.h: Added viewed_file field to
details struct.
* src/nautilus-window-manage-views.c:
(viewed_file_changed_callback): New function, closes window if
viewed_file is gone.
(nautilus_window_update_internals): Set viewed_file to
NautilusFile for this location (after unreffing old one), and
connect to its "changed" signal with viewed_file_changed_callback.
(nautilus_window_end_location_change_callback): Truncate the
"for display" version of the URI in error messages.
* src/nautilus-window.c: (nautilus_window_destroy):
unref viewed_file.
2000-09-26 Victor Lecha <victor@eazel.com>
make it compile.
* components/services/summary/nautilus-view/Makefile.am:
make it include correct libtrilobite path.
* components/services/summary/nautilus-view/nautilus-summary-view.c:
small tweak.
2000-09-26 Gene Z. Ragan <gzr@eazel.com>
Work in progress on allowing the user to set a HTTP proxy.
* components/mozilla/nautilus-mozilla-content-view.c:
(nautilus_mozilla_content_view_initialize):
* libnautilus-extensions/nautilus-global-preferences.c:
(global_preferences_create_dialog), (global_preferences_register):
* libnautilus-extensions/nautilus-global-preferences.h:
2000-09-26 Pavel Cisler <pavel@eazel.com>
* libnautilus-extensions/nautilus-file-utilities.c:
(pthread_nautilus_read_file_callback_idle_binder),
(pthread_nautilus_read_file_callback_common),
(pthread_nautilus_read_file_synchronous_callback),
(pthread_nautilus_read_file_asynchronous_callback),
(pthread_nautilus_read_file_thread_entry),
(pthread_nautilus_read_file_async),
(pthread_nautilus_read_file_async_cancel),
(nautilus_read_file_async), (nautilus_read_file_cancel):
Experimental replacement for the nautilus_read_file_async
as a potential speed improvement. Need to do some more profiling
to see if we are getting any gain.
2000-09-25 Andy Hertzfeld <andy@eazel.com>
* libnautilus-extensions/nautilus-thumbnails.c:
(nautilus_get_thumbnail_uri), (check_for_thumbnails),
(make_thumbnails):
fixed big 2932, nautilus doesn't finish making
thumbnails if there is a problematic image, by changing the logic
of how it determines when a thumbnail is made. Now it simply checks
if the thumbnail task has terminated, instead of checking for
the created thumbnail, so failures shouldn't faze it anymore. Also
fixed some other associated bugs.
2000-09-25 John Sullivan <sullivan@eazel.com>
Band-aid for bug 2752 (intermittent failure trying to
use Help Contents)
* src/nautilus-view-frame.c:
(nautilus_view_frame_load_client): Upped a hardcoded
timeout from 2 seconds to 10 seconds; also added an
assert that might help us fix the underlying problem
later.
2000-09-25 Darin Adler <darin@eazel.com>
Fixed bug bug 3264 (Tree view shows no branches for directories,
...HACK... nodes visible), bug 3290 (changing directory or
refreshing causes Gdk to assert), bug 2420 (Need to free original
key when removing model node), and other assorted problems.
* components/tree/nautilus-tree-view.c: (insert_hack_node),
(remove_hack_node), (nautilus_tree_view_insert_model_node):
Fix problem where the hash table key was neither g_strdup'd on the
way in, nor g_free'd on the way out. This caused all the problems
with bad nesting in the tree view.
* nautilus-installer/src/installer.c: (create_pixmap):
* src/file-manager/fm-list-view.c: (install_row_images):
* src/nautilus-theme-selector.c: (add_theme):
Added more checks for NULL before calling gdk_bitmap_unref.
* src/file-manager/fm-directory-view.c: (no_items_showing):
Fixed a NautilusDirectory ref. count leak.
* libnautilus-extensions/nautilus-font-factory.c:
(unref_global_font_factory), (nautilus_get_current_font_factory):
Unref the font factory on exit.
(nautilus_font_factory_initialize_class), (font_hash_node_free),
(free_one_hash_node), (destroy): Added code to actually destroy
the font factory.
(unref_fixed_font), (nautilus_font_factory_get_fallback_font):
Unref the fixed font on exit.
* libnautilus-extensions/nautilus-volume-monitor.c:
(unref_global_volume_monitor), (nautilus_volume_monitor_get):
Unref the volume monitor on exit.
* src/nautilus-signaller.c: (unref_global_signaller),
(nautilus_signaller_get_current): Unref the signaller on exit.
* src/nautilus-component-adapter-factory.c:
(nautilus_component_adapter_factory_initialize): Replaced some
strange FIXMEs with a simpler one.
(nautilus_component_adapter_factory_destroy): Fix a CORBA object
reference leak.
(nautilus_component_adapter_factory_get): Did a ref/sink.
* components/adapter/nautilus-adapter-control-embed-strategy.c:
(nautilus_adapter_control_embed_strategy_new):
* components/adapter/nautilus-adapter-embeddable-embed-strategy.c:
(nautilus_adapter_embeddable_embed_strategy_new):
* components/adapter/nautilus-adapter-file-load-strategy.c:
(nautilus_adapter_file_load_strategy_new):
* components/adapter/nautilus-adapter-progressive-load-strategy.c:
(nautilus_adapter_progressive_load_strategy_new):
* components/adapter/nautilus-adapter-stream-load-strategy.c:
(nautilus_adapter_stream_load_strategy_new):
* components/adapter/nautilus-adapter.c: (nautilus_adapter_new):
* components/rpmview/nautilus-rpm-verify-window.c:
(nautilus_rpm_verify_window_new):
* components/services/install/lib/eazel-install-object.c:
(eazel_install_new), (eazel_install_new_with_config):
* components/services/time/service/trilobite-eazel-time-service.c:
(trilobite_eazel_time_service_new):
* components/services/trilobite/libtrilobite/trilobite-service-pass
wordquery.c: (trilobite_passwordquery_new):
* components/services/trilobite/libtrilobite/trilobite-service.c:
(trilobite_service_new):
* components/tree/nautilus-tree-expansion-state.c:
(nautilus_tree_expansion_state_new):
* components/tree/nautilus-tree-model.c: (nautilus_tree_model_new):
* components/tree/nautilus-tree-node.c: (nautilus_tree_node_new):
* cut-n-paste-code/widgets/e-paned/e-hpaned.c: (e_hpaned_new):
* cut-n-paste-code/widgets/e-paned/e-vpaned.c: (e_vpaned_new):
* libnautilus-extensions/bonobo-stream-vfs.c:
(bonobo_stream_create):
* libnautilus-extensions/nautilus-any-width-bin.c:
(nautilus_any_width_bin_new):
* libnautilus-extensions/nautilus-background.c:
(nautilus_background_new):
* libnautilus-extensions/nautilus-bookmark.c:
(nautilus_bookmark_new_with_icon):
* libnautilus-extensions/nautilus-caption-table.c:
(nautilus_caption_table_new):
* libnautilus-extensions/nautilus-caption.c:
(nautilus_caption_new):
* libnautilus-extensions/nautilus-directory.c:
(nautilus_directory_new):
* libnautilus-extensions/nautilus-druid-page-eazel.c:
(nautilus_druid_page_eazel_new),
(nautilus_druid_page_eazel_new_with_vals):
* libnautilus-extensions/nautilus-druid.c: (nautilus_druid_new):
* libnautilus-extensions/nautilus-entry.c: (nautilus_entry_new):
* libnautilus-extensions/nautilus-file-operations-progress.c:
(nautilus_file_operations_progress_new):
* libnautilus-extensions/nautilus-file.c:
(nautilus_file_new_from_name), (nautilus_file_new_from_info):
* libnautilus-extensions/nautilus-font-picker.c:
(nautilus_font_picker_new):
* libnautilus-extensions/nautilus-horizontal-splitter.c:
(nautilus_horizontal_splitter_new):
* libnautilus-extensions/nautilus-icon-container.c:
(nautilus_icon_container_new):
* libnautilus-extensions/nautilus-icon-factory.c:
(get_icon_factory):
* libnautilus-extensions/nautilus-image.c: (nautilus_image_new):
* libnautilus-extensions/nautilus-keep-last-vertical-box.c:
(nautilus_keep_last_vertical_box_new):
* libnautilus-extensions/nautilus-label.c: (nautilus_label_new):
* libnautilus-extensions/nautilus-list-column-title.c:
(nautilus_list_column_title_new):
* libnautilus-extensions/nautilus-list.c:
(nautilus_list_new_with_titles):
* libnautilus-extensions/nautilus-password-dialog.c:
(nautilus_password_dialog_new):
* libnautilus-extensions/nautilus-preference.c:
(nautilus_preference_new_from_type):
* libnautilus-extensions/nautilus-preferences-box.c:
(nautilus_preferences_box_new):
* libnautilus-extensions/nautilus-preferences-dialog.c:
(nautilus_preferences_dialog_new):
* libnautilus-extensions/nautilus-preferences-group.c:
(nautilus_preferences_group_new):
* libnautilus-extensions/nautilus-preferences-item.c:
(nautilus_preferences_item_new):
* libnautilus-extensions/nautilus-preferences-pane.c:
(nautilus_preferences_pane_new):
* libnautilus-extensions/nautilus-radio-button-group.c:
(nautilus_radio_button_group_new):
* libnautilus-extensions/nautilus-scalable-font.c:
(nautilus_scalable_font_new):
* libnautilus-extensions/nautilus-string-picker.c:
(nautilus_string_picker_new):
* libnautilus-extensions/nautilus-text-caption.c:
(nautilus_text_caption_new):
* libnautilus-extensions/nautilus-undo-context.c:
(nautilus_undo_context_new):
* libnautilus-extensions/nautilus-undo-manager.c:
(nautilus_undo_manager_new):
* libnautilus-extensions/nautilus-user-level-manager.c:
(user_level_manager_new):
* libnautilus/nautilus-undo-transaction.c:
(nautilus_undo_transaction_new):
* libnautilus/nautilus-view.c:
(nautilus_view_new_from_bonobo_control):
* src/file-manager/nautilus-trash-monitor.c:
(nautilus_trash_monitor_get):
* src/nautilus-desktop-window.c: (nautilus_desktop_window_new):
* src/nautilus-property-browser.c: (nautilus_property_browser_new):
* src/nautilus-shell.c: (nautilus_shell_new):
* src/nautilus-sidebar-tabs.c: (nautilus_sidebar_tabs_new):
* src/nautilus-sidebar-title.c: (nautilus_sidebar_title_new):
* src/nautilus-sidebar.c: (nautilus_sidebar_create_context_menu),
(nautilus_sidebar_new):
* src/nautilus-theme-selector.c: (nautilus_theme_selector_new):
* src/nautilus-throbber.c: (nautilus_throbber_new):
* src/nautilus-view-frame.c: (nautilus_view_frame_new):
* src/nautilus-zoom-control.c: (nautilus_zoom_control_new):
* src/nautilus-about.c: (nautilus_about_new):
* src/nautilus-application.c: (nautilus_application_new),
(nautilus_application_create_window):
* src/nautilus-bookmark-list.c: (nautilus_bookmark_list_new):
After Tim Janik explained that gtk_type_new is a low-level call to
be avoided, changed most uses of gtk_type_new to gtk_object_new or
gtk_widget_new. Also, after Owen and Havoc explained that you
can't just ignore the floating bit, added ref/sink calls to the
functions used to create objects where we don't use the floating
scheme.
* src/nautilus-zoom-control.c:
(nautilus_zoom_control_button_press_event): Take advantage of the
fact that the new menu is floating and don't bother with ref'ing.
* libnautilus-extensions/nautilus-ctree.c:
(nautilus_ctree_new_with_titles):
Added a cast.
* components/adapter/main.c: (adapter_factory_make_object):
* components/hardware/main.c: (hardware_view_make_object):
* components/services/install/lib/eazel-install-corba-callback.c:
(eazel_install_callback_get_type), (eazel_install_callback_new):
* libnautilus-extensions/nautilus-theme.c:
(nautilus_theme_get_theme), (nautilus_theme_set_theme),
(nautilus_theme_get_theme_data):
Whitespace tweaks.
2000-09-25 Andy Hertzfeld <andy@eazel.com>
* libnautilus-extensions/nautilus-icon-canvas-item.c:
(draw_or_measure_label_text_aa):
tweaked the new, semi-transparent selection highlighting
a bit by lightening the info text color and enlarging
the selection area a little.
2000-09-25 Gene Z. Ragan <gzr@eazel.com>
* libnautilus-extensions/nautilus-icon-canvas-item.c:
(draw_focus_rect):
Fixed code so that alpha is set properly.
2000-09-25 John Sullivan <sullivan@eazel.com>
* libnautilus-extensions/nautilus-file.c:
(nautilus_file_get_internal):
(get_nautilus_navigation_result_from_gnome_vfs_result):
Fixed problem I ran into while debugging something else.
When gnome_vfs_uri_extract_short_name returned NULL from
a URI like "http://foo:", this routine got into trouble.
Rearranged code to check for the no-short-name case
earlier and fall back to the mystery-uri handling.
* src/nautilus-applicable-views.c:
Changed a g_message to a g_warning so people will tell
me about problems even more often.
2000-09-25 Andy Hertzfeld <andy@eazel.com>
* src/nautilus-theme-selector.c: (make_theme_description):
fixed bug where the theme descriptions were not showing up in
the theme selector; the problem was that the xml routines couldn't
handle a uri, so fixed by calling gnome_vfs_get_local_path_from_uri.
2000-09-25 J Shane Culpepper <pepper@eazel.com>
* components/services/summary/lib/eazel-summary-shared.c:
(parse_summary_xml_file):
* components/services/summary/nautilus-view/nautilus-summary-view.c
: (generate_startup_form), (generate_summary_form),
(nautilus_summary_view_initialize),
(summary_load_location_callback):
* components/services/trilobite/libtrilobite/trilobite-redirect.c:
(check_gconf_init):
Fixing the background color errors that prevent testing. I have not
figured out how to set the parent form default color without causing
major instability. Also added the fetch of the url location tables
from services.
2000-09-25 Andy Hertzfeld <andy@eazel.com>
finished the work for user-added themes, teaching the icon
factory and other machinery to look in ~/.nautilus/themes to
find theme
* libnautilus-extensions/nautilus-icon-factory.c: (set_theme),
(make_full_icon_path), (get_themed_icon_file_path):
added a "local_theme" instance variable, determined it's state
during set_theme and used it to make full paths.
* libnautilus-extensions/nautilus-theme.c: (load_theme_document),
(nautilus_theme_get_theme_data),
(nautilus_pixmap_file_may_be_local),
(nautilus_theme_get_image_path), (nautilus_theme_make_selector):
made various routines look at the local theme store when necessary
2000-09-25 John Sullivan <sullivan@eazel.com>
Some work on the "sidebar panel has failed" situation.
* src/nautilus-window-manage-views.c:
(nautilus_window_update_state): Don't report sidebar panel
failure when the view that failed was the content view.
Doh! It had been putting up two dialogs, one for the content
view and one for some mysterious unknown sidebar panel.
(nautilus_window_set_state_info): Added a g_warning when
the state is set to VIEW_ERROR. This will stop in the debugger
to make it easier to tell what's generating the error (but
without the debugger will just spew one line of spam).
(nautilus_window_end_location_change_callback): Check if
window is visible before trying to set the initial
position. This prevents a return_if_fail complaint in some
cases in the window-position-saving code when using
use-new-window mode.
Fixed bug 3262 (Zoom control context menu should use
radio buttons, not checkboxes)
* src/nautilus-zoom-control.c:
Added marking_menu_items boolean to details struct.
(create_zoom_menu_item): Now takes a radio button item
as a parameter (from which to get the group) and returns
the new radio button item (to use for the next time) and
sets marking_menu_items to TRUE while creating menu items.
Oh yeah, also creates a radio item instead of a check item.
(zoom_menu_callback): Now bails out early if marking_menu_items.
(create_zoom_menu): Passes the result of each create_zoom_menu_item
into the next call, to get all the radio items in the same group.
2000-09-25 Darin Adler <darin@eazel.com>
* libnautilus-extensions/nautilus-theme.c: (load_theme_document),
(nautilus_theme_get_theme_data): Fix double-free problem that was
causing a crash on quit if you changed themes.
2000-09-25 Rebecca Schulman <rebecka@eazel.com>
* src/file-manager/nautilus-indexing-info.c:
(make_label_helvetica_bold), (make_label_helvetica_medium),
(get_file_index_time), (show_reindex_request_information),
(show_index_progress_bar), (nautilus_indexing_info_show_dialog):
Created the index progress dialog, to show how much has been
indexed, and updated the dialog about when the index was last
updated to conform to screenshot.
2000-09-25 Gene Z. Ragan <gzr@eazel.com>
* libnautilus-extensions/nautilus-icon-canvas-item.c:
(draw_or_measure_label_text_aa):
Forgot to remove FIXME. It is now gone.
2000-09-25 Gene Z. Ragan <gzr@eazel.com>
Fixed bug 2877, Keyboard selection feedback broken in
iocn view for smooth fonts.
* libnautilus-extensions/nautilus-icon-canvas-item.c:
(draw_focus_rect):
New function to draw dashed selection rect. Dash size
can be changed by modifying dash variable.
(draw_or_measure_label_text_aa):
Call new draw_focus_rect when item focus is set.
2000-09-25 John Sullivan <sullivan@eazel.com>
* src/nautilus-window-manage-views.c:
(position_and_show_window_callback): Needed a NULL check
for saved geometry.
2000-09-25 John Sullivan <sullivan@eazel.com>
* components/tree/nautilus-tree-view.c:
(nautilus_tree_view_insert_model_node),
(nautilus_tree_view_update_model_node): Check for NULL
before calling gdk_bitmap_unref (mask); it was hitting
a return_if_fail NULL check a zillion times on startup
in the tree view.
2000-09-25 Pavel Cisler <pavel@eazel.com>
* src/nautilus-component-adapter-factory.c:
(nautilus_component_adapter_factory_initialize),
(nautilus_component_adapter_factory_destroy),
(nautilus_component_adapter_factory_get):
Fix some NULL-dereferencing crashers that I was hitting.
* tools/profiler/funcsummary.C:
Special case root arcs with zero function times.
2000-09-25 Andy Hertzfeld <andy@eazel.com>
work toward completing user added themes; it's almost done
now except for making the icon factory aware of user-added themes
* src/nautilus-theme-selector.c: (uri_get_basename),
(add_theme_to_icons), (make_theme_description), (add_theme),
(populate_list_with_themes_from_directory),
(populate_list_with_themes):
made the theme selector install themes properly, and made it
reflect themes that were installed in the user space
* libnautilus-extensions/nautilus-theme.c:
(nautilus_theme_make_selector):
made it look in both theme spaces to retrieve an icons.
2000-09-24 Andy Hertzfeld <andy@eazel.com>
* src/nautilus-throbber.c: (get_throbber_dimensions),
(load_themed_image), (nautilus_throbber_load_images),
(nautilus_throbber_button_press_event),
(nautilus_throbber_set_small_mode):
implemented a small mode for the throbber to fix bug 3188. Also,
cleaned up some other throbber problems.
* src/nautilus-throbber.h:
added nautilus_throbber_set_small_mode, as part of fixing 3188
* src/nautilus-window-toolbars.c: (allocate_throbber):
set the small mode when necessary
* libnautilus-extensions/nautilus-file-utilities.c:
(nautilus_make_directory_and_parents), (nautilus_copy_uri_simple):
* libnautilus-extensions/nautilus-file-utilities.h:
added a "nautilus_copy_uri_simple" cover to gnome_vfs_xfer_uri to
make it easy to replace 'cp' system calls.
* src/nautilus-property-browser.c:
(nautilus_property_browser_initialize),
(nautilus_property_browser_destroy), (make_drag_image),
(make_color_drag_image), (remove_background), (remove_emblem),
(add_background_to_browser), (emblem_dialog_clicked),
(make_property_tile), (make_properties_from_directories),
(make_properties_from_xml_node):
changed the way colors are presented by the property browser to
use names instead of color values and to be more consistent with
backgrounds. Also, cleaned up the error handling and replaced
'system' calls that had quoting problems with vfs calls, fixing bugs
1249 and 2539
2000-09-24 Josh Barrow <linuxfan@ionet.net>
* libnautilus-extensions/nautilus-gnome-extensions.c:
(nautilus_gnome_open_terminal):
Make the terminals besides GNOME-terminal login as well.
Also did some more cleaning up after myself.
2000-09-24 Maciej Stachowiak <mjs@eazel.com>
* check-THANKS.pl: New script to make sure we're giving credit
appropriately - should be run before releases to make sure.
* THANKS: Removed those who have been promoted to AUTHORS.
* ChangeLog-20000625, ChangeLog-20000831: Made a few minor edits
to avoid confusing check-THANKS.pl
2000-09-23 Andy Hertzfeld <andy@eazel.com>
* src/nautilus-toolbar.c: (nautilus_toolbar_initialize_class),
(nautilus_toolbar_size_allocate), (nautilus_toolbar_size_request):
fixed bug 3186 and assorted other problems involving the throbber
messing up toolbar resizing, by implementing
nautilus_toolbar_size_request. Now it sizes correctly when you
pull it out of the window.
2000-09-23 Andy Hertzfeld <andy@eazel.com>
* src/nautilus-window-toolbars.c: (set_up_button):
fixed bug where toolbar icon theme indirection was broken,
so now the new ardmore theme uses the blue toolbar icons like
Susan intended.
2000-09-23 Josh Barrow <linuxfan@ionet.net>
* libnautilus-extensions/nautilus-gnome-extensions.c:
(nautilus_gnome_open_terminal):
Make the fix prettier.
2000-09-23 Josh Barrow <linuxfan@ionet.net>
* libnautilus-extensions/nautilus-gnome-extensions.c:
(nautilus_gnome_open_terminal):
Changed terminal_path_with_flags to terminal_path. I had
changed one instance trying to get this to work, then forgot
to change it back.
2000-09-23 Josh Barrow <linuxfan@ionet.net>
* libnautilus-extensions/nautilus-gnome-extensions.c:
(nautilus_gnome_open_terminal):
Make GNOME-terminal start with the right flags. This fixes
bug 2226.
2000-09-23 Andy Hertzfeld <andy@eazel.com>
optimized the new selection highlighting by fetching the
highlight frame once for the icon canvas instead of for each
selected item
* libnautilus-extensions/nautilus-icon-private.h:
added field for highlight frame
* libnautilus-extensions/nautilus-icon-container.c: (destroy),
(nautilus_icon_container_initialize):
load and destroy the highlight frame as necessary
* libnautilus-extensions/nautilus-icon-canvas-item.c:
(draw_label_text_aa):
use the highlight frame from the canvas
2000-09-22 Maciej Stachowiak <mjs@eazel.com>
Register all the below components per display. I didn't make
nautilus per-display yet (to avoid dealing with the locking
issues, etc). I also did not change the services components that
appear to be non-gui to operate per-display.
I believe this fixes bugs 3033 and 2237.
* components/adapter/main.c: (main):
* components/hardware/main.c: (main):
* components/help/hyperbola-main.c: (main):
* components/history/nautilus-history-view.c: (main):
* components/html/ntl-web-browser.c: (main):
* components/image-viewer/nautilus-image-view.c:
(init_bonobo_image_generic_factory):
* components/loser/content/main.c: (main):
* components/loser/sidebar/main.c: (main):
* components/mozilla/main.c: (main):
* components/music/main.c: (main):
* components/notes/nautilus-notes.c: (main):
* components/rpmview/main.c: (main):
* components/sample/main.c: (main):
* components/services/install/nautilus-view/main.c: (main):
* components/services/inventory/nautilus-view/main.c: (main):
* components/services/login/nautilus-view/main.c: (main):
* components/services/summary/nautilus-view/main.c: (main):
* components/services/time/nautilus-view/main.c: (main):
* components/services/trilobite/sample/service/main.c: (main):
* components/shell/shell.c: (shell_factory_init):
* components/tree/main.c: (main):
* components/websearch/ntl-web-search.c: (main): Register each of
these per-display.
2000-09-22 Andy Hertzfeld <andy@eazel.com>
* libnautilus-extensions/nautilus-gdk-extensions.c:
(nautilus_gradient_parse_one_color_spec):
fixed glitch in Michael's gradient parsing logic that was
mishandling three-point gradients and making Arlo's sidebar
draw wrong.
2000-09-22 Andy Hertzfeld <andy@eazel.com>
implemented Arlo's new design for icon selection highlighting.
It's still not finished; it needs to be optimized and refined in
various ways.
* icons/Makefile.am:
* icons/text-selection-frame.png
added semi-transparent text selection frame image
* libnautilus-extensions/nautilus-graphic-effects.c,h:
(nautilus_stretch_frame_image), (nautilus_embed_image_in_frame):
exposed the stretch frame image routine
* libnautilus-extensions/nautilus-icon-canvas-item.c:
(draw_or_measure_label_text_aa), (draw_label_text_aa):
implemented the new, transparent highlighting.
2000-09-22 Darin Adler <darin@eazel.com>
Storage leak fixes. Today I concentrated on leaks that happen
when you change views from Icon to List View and back.
* components/tree/nautilus-tree-view.c:
(nautilus_tree_view_insert_model_node): Unref a pixmap and bitmap,
free a string.
(nautilus_tree_view_update_model_node): Unref a pixmap and bitmap,
free a string.
(notify_node_seen): Free a string.
(nautilus_tree_view_uri_to_name): Removed extra g_strdup.
* libnautilus-extensions/nautilus-glib-extensions.c:
(free_hash_tables_at_exit): Free a list.
* libnautilus-extensions/nautilus-list.c: (draw_cell): Skip the
excess work of re-getting the pixmap and bitmap, not using them,
and leaking them.
* libnautilus-extensions/nautilus-preferences.c:
(preferences_hash_node_remove_callback): Free a list.
* src/file-manager/fm-directory-view.c: (queue_pending_files):
Free a list.
* src/file-manager/fm-icon-view.c: (get_icon_text_callback):
Free a string in all code paths (was freed in some before).
* src/file-manager/fm-list-view.c: (add_to_list): Free the column
text in a way that works even though some columns have NULL.
(install_row_images): Unref a pixmap and bitmap.
* libnautilus-extensions/nautilus-scalable-font.c:
(destroy_global_rsvg_ft_context),
(initialize_global_stuff_if_needed): Free the rsvg_ft font cache
at exit.
* libnautilus-extensions/nautilus-theme.c: (free_last_theme),
(nautilus_theme_get_theme_data): Free the cached theme XML
document at exit.
* components/help/converters/gnome-db2html2/gdb3html.c:
(remove_head), (start_element), (end_element), (cdata_block):
* components/tree/nautilus-tree-model.c:
(nautilus_tree_model_for_each_postorder),
(nautilus_tree_model_monitor_add):
* libnautilus-extensions/nautilus-directory-async.c:
(remove_monitor_link), (dequeue_pending_idle_callback),
(remove_callback_link_keep_data), (remove_callback_link):
* libnautilus-extensions/nautilus-drag.c:
(nautilus_drag_file_receive_dropped_keyword):
* libnautilus-extensions/nautilus-file-changes-queue.c:
(nautilus_file_changes_queue_get_change):
* libnautilus-extensions/nautilus-thumbnails.c:
(check_for_thumbnails):
* src/file-manager/fm-properties-window.c:
(property_button_toggled):
* src/nautilus-window-manage-views.c: (handle_go_back),
(handle_go_forward):
* src/nautilus-window.c: (nautilus_add_to_history_list):
Fixed a bunch of callers of g_list_remove_link to also free the
removed link. This seems to be an error-prone API from glib.
About half of the callers had it wrong.
* src/nautilus-bookmark-list.c:
(nautilus_bookmark_list_delete_item_at),
(nautilus_bookmark_list_delete_items_with_uri):
* src/nautilus-sidebar.c: (receive_dropped_keyword):
Changed to use g_list_free_1 for clarity.
* src/nautilus-location-bar.c: Coding style tweaks.
* src/nautilus-main.c: (main): Run the self-checks a second time
if they succeed the first time. More thorough check this way (make
sure the test works even after it's been run once), and better to
notice one-time vs. per-test leaks.
* tools/leak-checker/nautilus-leak-checker.c: (g_slist_alloc),
(g_slist_free), (g_slist_free_1), (g_mem_chunk_new),
(g_mem_chunk_destroy), (g_mem_chunk_alloc), (g_mem_chunk_alloc0),
(g_mem_chunk_free), (g_mem_chunk_clean), (g_mem_chunk_reset),
(g_mem_chunk_print): Made the GSList and GMemChunk code dumb down
when using the leak checker.
* tools/leak-checker/nautilus-leak-checker.c: Added more symbols
of "known to leak" functions so we can see the real leakers.
2000-09-22 Michael Engber <engber@eazel.com>
horizontal & vertical desktop gradient settings were
being written out bassackwards: bug 3247.
* libnautilus-extensions/nautilus-directory-background.c:
(nautilus_directory_background_write_desktop_settings):
2000-09-22 Michael Engber <engber@eazel.com>
Sped up gradient drawing. Also changed the n-point
gradient syntax to use a '%' to indicate percentage
instead of a '|'.
* icons/arlo/arlo.xml:
* libnautilus-extensions/nautilus-background.c:
(nautilus_background_destroy), (reset_cached_color_info),
(ensure_gradient_buffered), (gradient_helper_v),
(gradient_helper_h), (fill_canvas_from_gradient_buffer),
(nautilus_background_draw), (draw_pixbuf_tiled_aa),
(nautilus_background_draw_aa),
(nautilus_background_set_color_no_emit):
* libnautilus-extensions/nautilus-gdk-extensions.c:
(nautilus_gradient_parse_one_color_spec),
(nautilus_gradient_get_start_color_spec),
(nautilus_gradient_get_end_color_spec):
* libnautilus-extensions/nautilus-gdk-extensions.h:
* libnautilus-extensions/nautilus-gnome-extensions.c:
(nautilus_gnome_canvas_fill_rgb):
* libnautilus-extensions/nautilus-gnome-extensions.h:
2000-09-22 Robey Pointer <robey@eazel.com>
* components/services/install/lib/eazel-install-object.c:
(eazel_install_delete_downloads):
* components/services/install/lib/eazel-install-protocols.c:
(eazel_install_fetch_file), (real_arch_name),
(get_search_url_for_package):
* components/services/install/lib/eazel-install-rpm-glue.c:
(eazel_install_start_transaction),
(eazel_install_package_provides_compare),
(eazel_install_package_modifies_provides_compare):
Hack the installer lib to munge "i?86" => "i386" so as not to
confuse the RPM queries. (This can be removed later: the java
team says they will do this munging themselves.) Don't add
duplicate entries to the downloaded_files GList.
* components/services/install/lib/eazel-install-types.c:
(categorydata_destroy_foreach):
* components/services/install/lib/eazel-install-types.h:
* components/services/install/lib/eazel-install-xml-package-list.c:
(parse_category):
* nautilus-installer/src/installer.c: (category_compare_func),
(toggle_button_toggled), (eazel_install_get_depends),
(eazel_installer_initialize):
* nautilus-installer/src/installer.h:
Add "depends" GList to CategoryData, so that the info about
buttons in the bootstrap installer can be pulled out of the
package-list.xml and not require a bogus 2nd XML file. Add that
extra parsing to the install lib XML parser and make it more
robust. Convert bootstrap installer to use the info in its new
place and junk the redundant XML parser.
2000-09-22 Andy Hertzfeld <andy@eazel.com>
* src/nautilus-location-bar.c: (nautilus_location_bar_initialize),
(nautilus_location_bar_update_label):
at Arlo's request, right justified the location bar label, now
that it switches between "location" and "go to".
2000-09-22 J Shane Culpepper <pepper@eazel.com>
* src/nautilus-first-time-druid.c: (druid_finished):
Fixing urls for the first time druid so that they do
not point to the eazel: redirect nonsense.
2000-09-22 Andy Hertzfeld <andy@eazel.com>
* src/file-manager/fm-icon-view.c: (fm_icon_view_destroy),
(fm_icon_view_begin_loading):
fixed bug 1038, sound file being previewed doesn't stop playing
when the view switches, by explicitly terminating the sound process
when the icon view is destroyed or a new directory is loaded.
2000-09-22 J Shane Culpepper <pepper@eazel.com>
* components/services/login/nautilus-view/nautilus-login-view.oafin
fo:
point eazel-pw to the change password dialog. Will finish the full
renaming a little later but needed to go ahead and use the correct uri.
2000-09-22 John Sullivan <sullivan@eazel.com>
Fixed bug 168 (Save and restore window position/size per
directory)
Note that this is only done when in "use separate windows
for everything" mode. My brain broke trying to figure out
how it could be used coherently in single-window mode.
* libnautilus-extensions/nautilus-gtk-extensions.h:
* libnautilus-extensions/nautilus-gtk-extensions.c:
(sanity_check_window_geometry): New helper function, takes
four coordinates and munges them if necessary to keep the
window at least partially on screen and not ridiculously
huge.
(nautilus_gtk_window_set_initial_geometry): New function,
sets the position/location of a window before it is shown
after calling sanity_check_window_geometry on
top/left/width/height parameters.
(nautilus_gtk_window_set_initial_geometry_from_string):
New function, calls _set_initial_geometry after parsing
geometry-as-string parameter and adjusting it for
minimum-width and minimum-height parameters.
* libnautilus-extensions/nautilus-metadata.h:
#define new per-directory key for window geometry
* src/nautilus-application.c:
(nautilus_window_delete_event_callback): New function,
calls nautilus_window_close.
(nautilus_application_create_window): Hook up this new
callback as signal handler for window's delete_event;
this causes closing the window from the close box go
through the same nautilus_window_close path that closing
the window from the menu did.
* src/nautilus-bookmarks-window.c:
(nautilus_bookmarks_window_restore_geometry):
Now calls nautilus_gtk_window_set_geometry_from_string,
which was extracted from here.
* src/nautilus-window-manage-views.c:
(position_and_show_window_callback): New function, reads
geometry string for this location from metadata & applies
it (if in use-new-window mode), then shows window.
(nautilus_window_end_location_change_callback):
Use nautilus_directory_call_when_ready to show the window
only after the metadata has been read, so it doesn't appear
in one position and then bounce elsewhere.
* src/nautilus-window-menus.c: (file_menu_new_window_callback):
Removed gtk_widget_show from here. It wasn't necessary since
the window is shown later after the URI is determined to be good,
and doing it here prevented the window positioning code from
working correctly.
* src/nautilus-window-private.h: Moved some window geometry
#defines in here.
* src/nautilus-window.c:
(nautilus_window_save_geometry): New private function, reads
the window geometry and stores it in the directory's metadata.
(nautilus_window_close): Calls nautilus_window_save_geometry
if we're in use-new-windows mode.
2000-09-22 Robin * Slomkowski <rslomkow@eazel.com>
* nautilus.spec.in: added --enable-more-warnings
2000-09-22 Pavel Cisler <pavel@eazel.com>
* tools/profiler/symbol-table.h:
Tweak the profiler output adding a code address.
2000-09-22 Andy Hertzfeld <andy@eazel.com>
in response to user testing, made the location bar label switch to
"Go to:" during input when the text doesn't match the uri.
* src/nautilus-location-bar.h:
added "last_location" field
* src/nautilus-location-bar.c: (editable_key_press_callback),
(destroy), (nautilus_location_bar_initialize),
(nautilus_location_bar_set_location),
(nautilus_location_bar_update_label):
maintained last_location field; when anything changes, set the label
to "location" if the contents match last_location and "goto"
otherwise.
2000-09-21 Pavel Cisler <pavel@eazel.com>
* tools/profiler/nautilus-leak-symbol-lookup.C:
Enable bfd symbol lookup.
2000-09-21 John Sullivan <sullivan@eazel.com>
Fixed bug 2598 ("Select All Files" should be insensitive in
views that have 0 files)
* src/file-manager/fm-directory-view.c:
(no_items_showing): New function, checks directory item
count. I can trust this now that the directory item count
filters the same way the directory view does, thanks to
rebecka's recent change.
(compute_menu_item_info): Use no_items_showing to set the
sensitivity of "Select All Files".
2000-09-21 John Sullivan <sullivan@eazel.com>
Fixed bug 3236 (Window titles are indistinguishable in taskbar)
Removed "Nautilus: " from the main Nautilus window and all
the dialogs. Took this opportunity to standardize on book title
capitalization for all dialog titles. Also softened the caveat
text just a bit.
* components/music/nautilus-music-view.c: (play_current_file):
* components/rpmview/nautilus-rpm-view-install.c:
(nautilus_rpm_view_install_done):
* libnautilus-extensions/nautilus-file-operations.c:
(handle_xfer_vfs_error), (handle_xfer_overwrite),
(nautilus_file_operations_copy_move),
(nautilus_file_operations_move_to_trash), (confirm_empty_trash):
* libnautilus-extensions/nautilus-program-chooser.c:
(nautilus_program_chooser_new),
(nautilus_program_chooser_show_no_choices_message):
* libnautilus-extensions/nautilus-stock-dialogs.c:
(nautilus_info_dialog), (nautilus_warning_dialog),
(nautilus_error_dialog), (nautilus_error_dialog_with_details),
(nautilus_yes_no_dialog):
* src/file-manager/fm-directory-view.c:
(fm_directory_view_confirm_multiple_windows),
(fm_directory_view_confirm_deletion), (confirm_delete_from_trash),
(report_broken_symbolic_link):
* src/file-manager/fm-error-reporting.c:
(fm_report_error_renaming_file), (fm_report_error_setting_group),
(fm_report_error_setting_owner),
(fm_report_error_setting_permissions):
* src/file-manager/fm-icon-text-window.c:
(create_icon_text_window):
* src/file-manager/fm-properties-window.c:
(update_properties_window_title):
* src/nautilus-application.c:
(nautilus_application_check_user_directories):
* src/nautilus-bookmarks-window.c: (create_bookmarks_window):
* src/nautilus-first-time-druid.c:
(nautilus_first_time_druid_show):
* src/nautilus-property-browser.c: (emblem_image_file_changed),
(add_background_to_browser):
* src/nautilus-shell.c: (display_caveat):
* src/nautilus-sidebar.c: (receive_dropped_uri_list):
* src/nautilus-window-manage-views.c:
(nautilus_window_update_title), (handle_unreadable_location),
(report_content_view_failure_to_user),
(report_sidebar_panel_failure_to_user),
(nautilus_window_end_location_change_callback):
* src/nautilus-window-menus.c: (forget_history_if_confirmed),
(user_level_customize_callback), (show_bogus_bookmark_window):
2000-09-21 Pavel Cisler <pavel@eazel.com>
* tools/profiler/funcsummary.C:
* tools/profiler/funcsummary.h:
* tools/profiler/profile.C:
* tools/profiler/profiledata.C:
* tools/profiler/test.cpp:
Profiler tweaks.
Add volatile to make things thread safe.
2000-09-21 Darin Adler <darin@eazel.com>
Fixes to leaks and the leak checker.
* libnautilus-extensions/nautilus-preference.c:
(nautilus_self_check_preference): Unref an object that was
leaking.
* libnautilus-extensions/nautilus-string-list.c:
(nautilus_self_check_string_list): Unref an object that was
leaking.
* libnautilus-extensions/nautilus-user-level-manager.c:
(user_level_manager_destroy): Allow destroying.
(unref_user_level_manager): Unref the user level manager.
(user_level_manager_ensure_global_manager): Unref the user level
manager at exit time.
* src/nautilus-main.c: (main): Free the context even in the
self-check case.
* tools/leak-checker/nautilus-leak-checker.c:
(nautilus_leak_record_malloc), (nautilus_leak_record_realloc),
(nautilus_leak_record_free) : Don't gather stats on the blocks as
the leaks are recorded. Instead build them at print time.
(total_one_leak): Compute totals for printing.
(create_bad_names_hash_table): Make a hash table to use to check
if a name is one of the "allowed to leak" functions.
(is_stack_crawl_good): Reject stack crawls from things that are
allowed to leak. "good" here means "worth keeping".
(print_one_leak): Don't print any "?" if there's only a single
leak, since all levels of the stack crawl are valid then.
(nautilus_leak_print_leaks): Filter out expected leaks.
(g_list_alloc), (g_list_free), (g_list_free_1), (g_node_new),
(g_nodes_free), (g_node_destroy): Versions of these functions that
use malloc/free instead of mem. chunks so we can accurately gauge
leaks of these data types.
* tools/leak-checker/nautilus-leak-hash-table.h:
* tools/leak-checker/nautilus-leak-hash-table.c:
(nautilus_leak_hash_table_filter): Function for use by new
filtering code.
* tools/leak-checker/nautilus-leak-symbol-lookup.h:
* tools/leak-checker/nautilus-leak-symbol-lookup.c:
(nautilus_leak_get_function_name): Function for use by new
filtering code.
2000-09-21 Arlo Rose <arlo@eazel.com>
* data/browser.xml:
Added names to our colors, but will replace the colors later.
2000-09-21 Andy Hertzfeld <andy@eazel.com>
* icons/Makefile.am:
* icons/gnome/Makefile.am:
* icons/gnome/i-music.png:
* icons/i-music.png:
* icons/i-music-aa.png:
* icons/i-spreadsheet.png:
* icons/i-spreadsheet-aa.png:
added Susan's new icons for spreadsheets and music, but moved the
classic gnome ones into the gnome theme.
2000-09-21 Mathieu Lacage <mathieu@eazel.com>
* libnautilus-extensions/nautilus-bookmark.c:
(bookmark_file_changed_callback): replace strcmp by
nautilus_uri_matchs: this took me a lot of time to find
out.
* libnautilus-extensions/nautilus-directory.c:
(nautilus_directory_get_internal): remove is_canonical_uri
* libnautilus-extensions/nautilus-file-utilities.c:
(nautilus_uri_is_local_scheme), (nautilus_handle_trailing_slashes),
(nautilus_make_uri_canonical), (nautilus_uri_is_canonical_uri),
(nautilus_self_check_file_utilities): make nautilus know the difference
between foo and foo/ so that we do not cache too aggressively.
* libnautilus-extensions/nautilus-file-utilities.h: add prototype for
nautilus_uri_is_canonical.
2000-09-21 Rebecca Schulman <rebecka@eazel.com>
Cut and pasted the gtkclist widget into
nautilus. Fixed bugzilla.eazel.com 481,
to reflect user file filtering preferences
in directory counts, and in the process,
fixed bug 480.
* configure.in:
* cut-n-paste-code/widgets/.cvsignore:
* cut-n-paste-code/widgets/Makefile.am:
* cut-n-paste-code/widgets/gtkclist/.cvsignore:
* cut-n-paste-code/widgets/gtkclist/Makefile.am:
* cut-n-paste-code/widgets/gtkclist/gtkclist.c:
* cut-n-paste-code/widgets/gtkclist/gtkclist.h:
(COLUMN_FROM_XPIXEL), (LIST_WIDTH), (gtk_clist_get_type),
(gtk_clist_class_init), (gtk_clist_set_arg), (gtk_clist_get_arg),
(gtk_clist_init), (gtk_clist_construct), (gtk_clist_new),
(gtk_clist_new_with_titles), (gtk_clist_set_hadjustment),
(gtk_clist_get_hadjustment), (gtk_clist_set_vadjustment),
(gtk_clist_get_vadjustment), (gtk_clist_set_scroll_adjustments),
(gtk_clist_set_shadow_type), (gtk_clist_set_selection_mode),
(gtk_clist_freeze), (gtk_clist_thaw),
(gtk_clist_column_titles_show), (gtk_clist_column_titles_hide),
(gtk_clist_column_title_active), (gtk_clist_column_title_passive),
(gtk_clist_column_titles_active),
(gtk_clist_column_titles_passive), (gtk_clist_set_column_title),
(gtk_clist_get_column_title), (gtk_clist_set_column_widget),
(gtk_clist_get_column_widget),
(gtk_clist_set_column_justification),
(gtk_clist_set_column_visibility),
(gtk_clist_set_column_resizeable),
(gtk_clist_set_column_auto_resize), (gtk_clist_columns_autosize),
(gtk_clist_optimal_column_width):
* src/file-manager/Makefile.am:
Add include of the cut-n-paste-code directory,
so we can access the clist.
* libnautilus-extensions/Makefile.am:
include the new static gtkclist library
* libnautilus-extensions/nautilus-list.h:
include the cut and pasted widget instead
of the gtk one.
* libnautilus-extensions/nautilus-directory-async.c:
(get_filter_options_for_directory_count),
(start_getting_directory_counts):
Add command to get filtering options for gnome-vfs
based on user preferences. This works niftily
when preferences change thanks to the callbacks
in fm_directory_view
2000-09-21 Gene Z. Ragan <gzr@eazel.com>
Fixed bug 2090, Sidebar panel shrinks when back from text
or image view to directory view.
* src/nautilus-sidebar.c: (make_button_box),
(nautilus_sidebar_update_buttons):
Fixed logic where button centering was being shown
at the wrong time, messing up spacing of sidebar panels.
* components/image-viewer/nautilus-image-view.c: (redraw_view),
(configure_size), (view_factory_common):
Fixed cases where image data might be NULL.
2000-09-21 Robey Pointer <robey@eazel.com>
* components/services/install/lib/eazel-install-rpm-glue.c:
* nautilus-installer/src/Makefile.am:
* nautilus-installer/src/installer.c: (eazel_install_get_depends),
(eazel_installer_initialize):
* nautilus-installer/src/link.sh:
* nautilus-installer/src/prescript:
* nautilus-installer/src/proxy.c:
* nautilus-installer/src/proxy.h:
Add proxy autodetect from the nautilus first-time druid, and
support for the install lib to use proxies. Clean up some of the
temp dir stuff for security reasons.
2000-09-21 Andy Hertzfeld <andy@eazel.com>
* libnautilus-extensions/nautilus-icon-canvas-item.c:
(draw_stretch_handles_aa):
fixed bugs 3084, 3119, 3134, icon stretch handles are not drawn
in the right place or hit-tested properly, by removing some
bogus offsets.
fixed bugs 764 and 2626, icon stretching is way too slow, by only
doing the relayout and update position when the stretching is
finished, instead of doing it every time the mouse moves during
the stretch. Also, made it relayout if necessary after stretching
is finished, like it was intending to do.
* libnautilus-extensions/nautilus-icon-container.c:
(icon_set_size), (nautilus_icon_container_move_icon),
(continue_stretching), (end_stretching), (motion_notify_event),
(nautilus_icon_container_unstretch):
passed an "update_position" parameter through the various levels
to control if it should issue the icon_position_changed signal and
attempt the relayout
* libnautilus-extensions/nautilus-icon-dnd.c: (handle_local_move):
passed TRUE for the new update_position parameter to the move_icon call.
* libnautilus-extensions/nautilus-icon-private.h:
added an update position parameter to the move_icon call.
2000-09-21 Josh Barrow <linuxfan@ionet.net>
* icons/gnome/gnome.xml:
Changed Gnome to GNOME. GNOME is an acronym.
2000-09-21 Michael Engber <engber@eazel.com>
Move nautilus_gnome_canvas_draw_pixmap to nautilus-gnome-extensions
* libnautilus-extensions/nautilus-background.c:
(draw_pixbuf_centered_aa), (draw_pixbuf_tiled_aa):
* libnautilus-extensions/nautilus-gnome-extensions.c:
(nautilus_gnome_canvas_draw_pixmap_helper),
(nautilus_gnome_canvas_draw_pixmap_helper_alpha),
(nautilus_gnome_canvas_draw_pixmap),
(nautilus_gnome_canvas_fill_rgb):
* libnautilus-extensions/nautilus-gnome-extensions.h:
2000-09-21 Pavel Cisler <pavel@eazel.com>
* libnautilus-extensions/nautilus-gdk-pixbuf-extensions.c:
(nautilus_gdk_pixbuf_load):
Handle GNOME_VFS_ERROR_EOF properly, now that we get this result
instead of just relying on getting 0 bytes read.
2000-09-21 Darin Adler <darin@eazel.com>
* components/tree/nautilus-tree-model.c: (report_node_changed):
Add ref/unref to fix problem with renaming.
* src/check-nautilus: Add "--g-fatal-warnings" so tests fail if
there are warning messages.
2000-09-21 Josh Barrow <linuxfan@ionet.net>
* icons/theme_preview.png:
Goofed up the last icon and put the document icon to
far to the right. This made it where the icon was
being cut off when viewed.
2000-09-21 Josh Barrow <linuxfan@ionet.net>
* icons/theme_preview.png:
Updated theme preview icon to better reflect what the
actual theme looks like.
2000-09-21 Josh Barrow <linuxfan@ionet.net>
* components/music/mpg123_handler.c:
Removed include of gdk_imlib.h
2000-09-21 Pavel Cisler <pavel@eazel.com>
* tools/profiler/Makefile:
* tools/profiler/funcsummary.C:
* tools/profiler/funcsummary.h:
* tools/profiler/machine-profile.S:
* tools/profiler/machine-profile.h:
* tools/profiler/machine-profileP.h:
* tools/profiler/nautilus-leak-symbol-lookup.C:
* tools/profiler/nautilus-leak-symbol-lookup.h:
* tools/profiler/profile.C:
* tools/profiler/profile.h:
* tools/profiler/profileP.h:
* tools/profiler/profiledata.C:
* tools/profiler/profiledata.h:
* tools/profiler/symbol-table.h:
* tools/profiler/test.cpp:
* tools/profiler/totaltime.C:
* tools/profiler/totaltime.h:
First pass at a profiler that handles threading and shared libraries.
Adapted from Corel's cprof.
It works on my machine but there are still a quite a few hardcoded
things.
2000-09-20 Pavel Cisler <pavel@eazel.com>
* libnautilus-extensions/nautilus-file-operations.c:
(parse_previous_duplicate_name), (make_next_duplicate_name):
Fix a duplicate name generator bug that caused make check to fail.
Remove some string pasting that would make localization impossible.
Add better comments to duplicate name string fragments to make it clearer
to localizers.
2000-09-21 Andy Hertzfeld <andy@eazel.com>
* data/browser.xml:
fixed bug 3169, emblems should come last in property browser,
by changing the order in the xml definition file.
2000-09-20 Andy Hertzfeld <andy@eazel.com>
* libnautilus-extensions/nautilus-gdk-pixbuf-extensions.c:
(file_read_callback):
fixed problem where background images were not being displayed.
Maciej recently fixed gnome-vfs to return EOF errors when appropriate;
unfortunately, that broke nautilus_gdk_pixbuf_load_async, which was
reading until it got an EOF but not returning the pixbuf if it got
an error of any kind. Fixed by checking for EOF and allowing it; a
better fix might be to read the file size and only read the
proper amount, which we might consider doing later.
2000-09-20 Robey Pointer <robey@eazel.com>
* components/services/trilobite/libtrilobite/trilobite-core-distrib
ution.c: (determine_turbolinux_version):
Add code to detect turbolinux version.
* components/rpmview/nautilus-rpm-view-install.c:
(nautilus_rpm_view_install_package_callback):
* components/services/install/lib/eazel-install-protocols.c:
(get_url_for_package), (get_search_url_for_package):
Don't set an RPM server in the RPM view. Detect no-server in the
install lib and don't try to connect.
* components/services/install/lib/eazel-install-rpm-glue.c:
(uninstall_all_packages), (eazel_install_start_transaction):
* components/services/trilobite/libtrilobite/trilobite-root-helper.
c: (trilobite_root_helper_destroy), (trilobite_root_helper_start),
(trilobite_root_helper_get_exit_code):
* components/services/trilobite/libtrilobite/trilobite-root-helper.
h:
Fix result code of uninstall. Try to check rpm child exitcode
(though this won't work under userhelper, thanks userhelper).
2000-09-20 Maciej Stachowiak <mjs@eazel.com>
The following two NautilusDirectory fixes fix bugzilla.eazel.com
bug 2894:
* libnautilus-extensions/nautilus-directory-async.c
(request_is_satisfied): Check for
directory_loaded_set_notification as well as directory_loaded.
(nautilus_directory_stop_monitoring_file_list): When we dump the
file list, we also need to indicate that the directory is no
longer loaded.
2000-09-20 Darin Adler <darin@eazel.com>
* src/Makefile.am:
* src/nautilus-view-frame-nautilus-view.c:
* src/nautilus-view-frame-private.h:
* src/nautilus-view-frame.h:
* src/nautilus-view-frame.c: (nautilus_view_frame_destroy_client),
(nautilus_view_frame_load_client),
(nautilus_view_frame_load_location),
(nautilus_view_frame_stop_loading),
(nautilus_view_frame_selection_changed),
(nautilus_view_frame_title_changed):
Removed some of the remains of the component_class machinery.
NautilusViewFrame now is the frame for a NautilusView only.
* src/file-manager/nautilus-indexing-info.c:
(nautilus_indexing_info_show_dialog): Fixed a misplaced statement
that results in bad code and an uninitialized variable warning.
* tools/leak-checker/nautilus-leak-symbol-lookup.c:
(nautilus_leak_find_symbol_in_map): Fixed handling of symbols for
libraries where the bfd library doesn't find the information.
2000-09-20 Andy Hertzfeld <andy@eazel.com>
* icons/i-bookmark.png:
* icons/i-bookmark-20.png:
* icons/i-bookmark-missing.png:
* icons/i-bookmark-missing-20.png:
* icons/eazel/SearchWeb.png:
updated icons from Susan
2000-09-20 Andy Hertzfeld <andy@eazel.com>
* icons/i-bookmark-20.png:
* icons/i-bookmark-missing.png:
fixed bug 1471, need real icons for bookmark and missing bookmark,
by adding these new ones from Susan.
* configure.in:
* icons/Makefile.am:
* icons/ardmore/.cvsignore:
* icons/ardmore/Makefile.am:
* icons/ardmore/ardmore.xml:
* icons/ardmore/blueridge.png
* icons/ardmore/bluewall.png
* icons/ardmore/i-directory-12.png
* icons/ardmore/i-directory-24.png
* icons/ardmore/i-directory-36.png
* icons/ardmore/i-directory-72.png
* icons/ardmore/i-directory-96.png
* icons/ardmore/i-directory-accept-12.png
* icons/ardmore/i-directory-accept-24.png
* icons/ardmore/i-directory-accept-36.png
* icons/ardmore/i-directory-accept-72.png
* icons/ardmore/i-directory-accept-96.png
* icons/ardmore/i-directory-accept.png
* icons/ardmore/i-directory.png
* icons/ardmore/number_strip.png
added a new theme from Susan with realistic folders
2000-09-20 Rebecca Schulman <rebecka@eazel.com>
* src/nautilus-window-manage-views.c:
(nautilus_window_end_location_change_callback):
Added new "advice" for bug 1874, to provide advice.
I am not sure what sort of advice we should be
giving, so I welcome recommendations on this matter.
2000-09-20 Darin Adler <darin@eazel.com>
First step fixing storage leaks: Fixed some ref. count leaks of
NautilusFile, NautilusDirectory, and NautilusScalableIcon.
* components/tree/nautilus-tree-model.c: (remove_all_nodes):
Unref the root node when we are done with it.
(report_root_node_if_possible): Use report_node_changed for
new nodes as well.
(report_node_changed): Since a new node and a changed node are
really the same, just use this instead of using a different call
for added vs. changed.
(nautilus_tree_model_directory_files_changed_callback): Ref
the node when it's being added to the hash table. Get rid of
the misguided code that would ref "because remove will unref"
and instead use a more normal model.
(nautilus_tree_model_directory_files_added_callback): Fix a
storage leak in the case where we generate a warning. Changed it
from a printf to a g_warning. Use report_node_changed for new
nodes as well. Unref the node after adding it to use a more normal
ref model; handles cases where it's already in there properly, for
one thing.
* components/tree/nautilus-tree-node.c:
(nautilus_tree_node_set_parent): Changed an assert to a
return_if_fail.
* libnautilus-extensions/nautilus-bookmark.c:
(nautilus_bookmark_update_icon): Change the code to take the fact
that nautilus_icon_factory_get_icon_for_file yields a new ref into
account to plug a NautilusScalableIcon leak.
* src/nautilus-bookmark-parsing.c:
(nautilus_bookmark_new_from_node): Unref the icon after creating a
new bookmark. If the bookmark needs to keep it, it will ref it.
* src/file-manager/fm-icon-view.c: (get_icon_images_callback):
Extra space in here.
2000-09-20 Darin Adler <darin@eazel.com>
* components/adapter/Makefile.am:
* cut-n-paste-code/freetype/Makefile.am: Make the tinderbox a bit
happier by mentioning some files that were missing from these
makefiles.
2000-09-20 Darin Adler <darin@eazel.com>
* cut-n-paste-code/freetype/ftdebug.h: Fixed compiling with newer
gcc. Freetype was trying to use token pasting to attach the name
of a function (FTMessage) onto the parameters to that
function. There's no need to attempt this, and it's incorrect. I
removed the token pasting attempt. Perhaps Raph should get this
rolled back into the main freetype soruces.
* libnautilus-extensions/bonobo-stream-vfs.c: Cleaned up the code
a bit to match Nautilus coding style and remove some redundant
stuff.
* libnautilus-extensions/nautilus-bookmark.c:
(nautilus_bookmark_update_icon): Fixed a place where we unref the
old value before ref'ing the new one. It's not really a bug, but
it's a good habit to ref the new value first. Ran into this when
I started looking for NautilusScalableIcon leaks.
2000-09-20 John Sullivan <sullivan@eazel.com>
* src/nautilus-complex-search-bar.c: (fewer_options_callback):
Reinstated a less vile form of the queue_resize hack that had
been here now that Rebecca and I discovered that without it the
toolbar doesn't shrink correctly when the window is very wide.
2000-09-20 Rebecca Schulman <rebecka@eazel.com>
* po/POTFILES.in:
Fixed a build problem that was caused by a removed
file not being removed from here.
* src/file-manager/nautilus-indexing-info.c:
(nautilus_indexing_info_show_dialog):
Add place-holder index progress indicator in the indexing
info menu. This will go when Arlo give
2000-09-20 John Sullivan <sullivan@eazel.com>
* src/nautilus-location-bar.c: (real_activate),
(nautilus_location_bar_initialize_class): Wired
up the location bar such that when it is swapped in
its text field gets keyboard focus, just like the
search fields.
2000-09-20 J Shane Culpepper <pepper@eazel.com>
* components/services/summary/nautilus-view/nautilus-summary-view.c
: (generate_summary_form):
Fixed several annoying gtk bugs while drawing boxes in the tables.
2000-09-20 Maciej Stachowiak <mjs@eazel.com>
Finally fixed bug 1994; in the process I think I also ended up
fixing 2576, 2577, 2578, 2579 and 2580.
* components/adapter/nautilus-adapter-embed-strategy.h,
components/adapter/nautilus-adapter-embed-strategy.c: Abstract
interface for embedding various kinds of Bonobo components.
* components/adapter/nautilus-adapter-embed-strategy-private.h:
Header inclusing a `protected' call to emit a signal.
* components/adapter/nautilus-adapter-control-embed-strategy.h,
components/adapter/nautilus-adapter-control-embed-strategy.c:
Concrete subclass for embedding a Control.
* components/adapter/nautilus-adapter-embeddable-embed-strategy.h,
components/adapter/nautilus-adapter-embeddable-embed-strategy.c:
Concrete subclass for embedding an Embeddable.
* components/adapter/Makefile.am: Add new files.
* components/adapter/nautilus-adapter-progressive-load-strategy.c
(nautilus_adapter_progressive_load_strategy_load_location): Fixed
incorrect GnomeVFSFIleInfo handling and removed a printf.
* components/adapter/nautilus-adapter-stream-load-strategy.c:
(nautilus_adapter_stream_load_strategy_load_location,
nautilus_adapter_stream_load_strategy_stop_loading): Removed print
statements.
* components/adapter/nautilus-adapter.c:
(nautilus_adapter_destroy): Free stuff.
(nautilus_adapter_new): Use the new embed strategy stuff.
(nautilus_adapter_open_location_callback): callback for signal
handler attached to embed strategy.
* src/nautilus-view-frame-bonobo-control.c,
src/nautilus-view-frame-bonobo-embeddable.c: Removed.
* src/nautilus-view-frame-private.h, src/Makefile.am: Remove
mentions of the two preceding files.
* src/nautilus-view-frame.c (nautilus_view_frame_load_client): Use
the adapter to host non-nautilus-native components.
* nautilus-clean.sh: Added image view.
2000-09-20 Michael Engber <engber@eazel.com>
Refactor/clean-up background blitting code
* libnautilus-extensions/nautilus-background.c:
(nautilus_copy_pixbuf_to_canvasbuf_helper),
(nautilus_copy_pixbuf_to_canvasbuf_helper_alpha),
(nautilus_copy_pixbuf_to_canvasbuf), (draw_pixbuf_centered_aa),
(draw_pixbuf_tiled_aa):
2000-09-20 Darin Adler <darin@eazel.com>
* src/nautilus-location-bar.c: (drag_data_received_callback),
(drag_data_get_callback): Fixed bug that happens when you drag the
"Location:" part of the location bar. I still think the feature is
of questionable value, but it was easy to fix it to keep it
working. The bug resulted from making assumptions about the widget
hierarchy.
2000-09-20 Darin Adler <darin@eazel.com>
Fixed bug that was preventing Show Properties from working.
* libnautilus-extensions/nautilus-icon-factory.c: (cache_icon_new):
Allow NULL for details to mean default details; keeps the fallback
icon code simpler.
(set_theme): A little more simplification.
(load_icon_for_scaling): Fix the fallback icon to create the cache
icon with cache_icon_new instead of rolling its own.
2000-09-20 Maciej Stachowiak <mjs@eazel.com>
* libnautilus-extensions/bonobo-stream-vfs.c (vfs_read): Handle
GNOME_VFS_ERROR_EOF correctly.
2000-09-20 Darin Adler <darin@eazel.com>
* components/help/help-method.c: (shell_quote),
(help_uri_to_string): Moved the shell quote function in here
instead of trying to share the one in libnautilus-extensions. This
fixes bug 3163 (Nautilus crashes any time a help item in the
sidebar pane is double-clicked).
2000-09-20 Maciej Stachowiak <mjs@eazel.com>
* components/adapter/nautilus-adapter-file-load-strategy.c
(nautilus_adapter_file_load_strategy_destroy): Another
uninitialized variable.
* components/adapter/nautilus-adapter-stream-load-strategy.c
(nautilus_adapter_stream_load_strategy_destroy): Another
uninitialized variable. Thanks to Will LaShell for pointing these
out.
2000-09-20 Maciej Stachowiak <mjs@eazel.com>
* components/adapter/nautilus-adapter-progressive-load-strategy.c
(nautilus_adapter_progressive_load_strategy_destroy): Fix
unuinitialized variable use (thanks to Will LaShell).
2000-09-20 Maciej Stachowiak <mjs@eazel.com>
More work towards fixing bug 1994; in the process I think I might
also end up fixing 2576, 2577, 2578 and 2579 (might also end up
fixing 2580 later).
* components/adapter/Makefile.am:
* components/adapter/nautilus-adapter-load-strategy.h,
components/adapter/nautilus-adapter-load-strategy.c: Abstract
class that gives the interface for loading up a component that
presents some particular interface.
* components/adapter/nautilus-adapter-file-load-strategy.h,
components/adapter/nautilus-adapter-file-load-strategy.c:
Concrete subclass for loading a component that has the
Bonobo::PersistFile interface.
* components/adapter/nautilus-adapter-progressive-load-strategy.h,
components/adapter/nautilus-adapter-progressive-load-strategy.c:
Concrete subclass for loading a component that has the
Bonobo::ProgressiveDataSink interface.
* components/adapter/nautilus-adapter-stream-load-strategy.c,
components/adapter/nautilus-adapter-stream-load-strategy.h:
Concrete subclass for loading a component that has the
Bonobo::PersistStream interface.
* components/adapter/nautilus-adapter.h,
components/adapter/nautilus-adapter.c:
(nautilus_adapter_destroy, nautilus_adapter_new,
nautilus_adapter_load_location_callback,
nautilus_adapter_stop_loading_callback): Use load strategies.
* libnautilus-extensions/bonobo-stream-vfs.c (vfs_read): Minor
formatting correction.
2000-09-20 Andy Hertzfeld <andy@eazel.com>
* components/music/nautilus-music-view.c: (play_current_file):
fixed bug 2374, music view crashes when attempting to play non-local
files, by checking for non-local files and putting up a dialog instead.
* src/nautilus-property-browser.c: (ensure_uri_is_image),
(emblem_image_file_changed), (add_background_to_browser):
fixed bug 3173, adding an svg background fails, by checking for it
and not permitting it. Also made a few clean-ups. We still need to
be more robust when non-images get places in ~/.nautilus/backgrounds,
which I'll work on soon.
2000-09-19 Maciej Stachowiak <mjs@eazel.com>
* libnautilus-extensions/nautilus-icon-factory.c (set_theme):
Fixed an uninitialized variable use and cleaned up some nearby
logic while I was at it.
* src/nautilus-main.c (main): Removed a gratuitous puts call.
2000-09-19 Robey Pointer <robey@eazel.com>
* components/services/install/lib/eazel-install-object.c:
(eazel_install_emit_delete_files_default):
Since the default delete_files signal is the last called in the
bootstrap installer (which kinda sucks), it should always return
TRUE.
* components/services/install/lib/eazel-install-rpm-glue.c:
(eazel_install_download_packages),
(eazel_install_start_transaction_make_rpm_argument_list):
Don't always assume we're downgrading. Make sure "--oldpackage"
flag is passed to RPM when we are.
* components/services/trilobite/libtrilobite/trilobite-core-utils.c
: (trilobite_setenv):
* libnautilus-extensions/nautilus-glib-extensions.c:
(nautilus_setenv):
Fix "=" bug in setenv.
* nautilus-installer/src/installer.c: (eazel_installer_do_install),
(eazel_installer_initialize):
* nautilus-installer/src/main.c:
* nautilus-installer/src/prescript:
Set default CGI path for remote services (in the bootstrap
installer) and make a command-line option for setting it. Remove
outdated /var stuff from the prescript.
2000-09-19 Mathieu Lacage <mathieu@eazel.com>
* src/file-manager/fm-list-view.c: (fm_list_receive_dropped_icons):
doh, forgot to commit. This fixes a uninitialized variable.
2000-09-19 Andy Hertzfeld <andy@eazel.com>
* libnautilus-extensions/nautilus-icon-factory.c: (set_theme):
fixed recently introduced bug where it would only use icons
from the default theme. Fixed by flipping the sense of a
comparison in set_theme.
2000-09-19 John Sullivan <sullivan@eazel.com>
Fixed bug 1860 (Switching to complex search bar leaves
navigation bar too tall forever)
I never did fully figure out what was wrong, but I found
a workaround, and added a FIXME (bug 3171) about the fact
that the need for the workaround isn't well-understood.
* src/nautilus-switchable-navigation-bar.c:
(nautilus_switchable_navigation_bar_set_mode):
* src/nautilus-switchable-search-bar.c:
(nautilus_switchable_search_bar_set_mode):
Added gtk_widget_queue_resize calls on the GNOME_DOCK
ancestor of the navigation bar and search bar when the
contents are swapped.
2000-09-19 Andy Hertzfeld <andy@eazel.com>
added a new theme for the classic GNOME icons, and changed the
default document icons to the ones from the eazel theme that can
display embedded text. This is a step on the way toward finishing
the default theme. I think Darin's recent check-in broke the
icon factory so it only displays icons from the default theme; I'll
try to fix that soon.
* configure.in:
added new gnome theme folder
* icons/Makefile.am:
added the document icons from the eazel theme to the default theme
* icons/eazel/Makefile.am:
removed the document icons from the eazel theme since it now
inherits theme from the default theme
* icons/eazel/i-regular.xml:
removed the document xml file from the eazel theme
* icons/i-regular.xml:
added the document xml file to the default theme
* icons/gnome/.cvsignore:
* icons/gnome/Makefile.am:
* icons/gnome/gnome.xml:
added new gnome theme for the classic gnome look, for people who
prefer it.
2000-09-19 Darin Adler <darin@eazel.com>
Fixed bug 3157 (Going to a bogus URI crashes nautilus).
* libnautilus-extensions/nautilus-directory-async.c:
(nautilus_directory_async_state_changed): Add a ref/unref to keep
the directory around even if call_when_ready results in the last
ref to the directory going away.
2000-09-19 Darin Adler <darin@eazel.com>
Fixed bug 640 (icon cache never frees images (awaiting GdkPixbuf
fix)). Also took care of bug 3146 (zillions of 'main_loops !=
NULL' assertion failures when quitting) and bug 3138 (Some code in
the icon factory is cut and pasted from elsewhere). And a few
unrelated things that came up while I was busy working on these.
* configure.in: Applied patch from Dan Winship to fix handling of
CFLAGS and LDFLAGS. Fixes some missing quoting and other mistakes.
* libnautilus-extensions/Makefile.am:
* libnautilus-extensions/nautilus-icon-factory-private.h:
* libnautilus-extensions/nautilus-thumbnails.c:
* libnautilus-extensions/nautilus-thumbnails.h:
Broke out the thumbnailing code into its own source file for
clarity.
* libnautilus-extensions/nautilus-directory.c:
* libnautilus-extensions/nautilus-file-utilities.h:
* libnautilus-extensions/nautilus-file-utilities.c:
(nautilus_make_directory_and_parents):
Moved nautilus_make_directory_and_parents into a place where the
thumbnail code can share it instead of requiring its own copy.
* libnautilus-extensions/nautilus-global-preferences.h:
* libnautilus-extensions/nautilus-global-preferences.c:
(destroy_global_prefs_dialog), (global_preferences_get_dialog),
(nautilus_global_preferences_dialog_update),
(nautilus_global_preferences_initialize):
* libnautilus-extensions/nautilus-preferences.h:
* libnautilus-extensions/nautilus-preferences.c:
(preferences_initialize_if_needed), (preferences_shutdown):
* src/nautilus-application.c: (nautilus_application_destroy):
Changed code so that it cleans up with g_atexit instead of with an
explicit shutdown call. This makes it sequence correctly with
other atexit code.
* libnautilus-extensions/nautilus-icon-canvas-item.h:
* libnautilus-extensions/nautilus-icon-canvas-item.c:
(nautilus_icon_canvas_item_destroy),
(nautilus_icon_canvas_item_set_attach_points),
(emblem_layout_next):
* libnautilus-extensions/nautilus-icon-container.c:
(nautilus_icon_container_update_icon):
Added a Nautilus prefix to the EmblemAttachPoints typedef, since
it's public.
* libnautilus-extensions/nautilus-icon-factory.h:
* libnautilus-extensions/nautilus-icon-factory.c:
Changed the icon factory structure so that it will actually free
pixbufs when done with them. Made some other small fixes to the
icon factory in passing, including removing some redundant code
and fixing the logic for getting custom icons and deleting the
icon factory and g_atexit time.
* src/file-manager/fm-icon-view.c: (play_file), (preview_sound):
Restructured the logic for playing sound previews a little to get
rid of compiler warnings and close some loopholes in the old code.
* src/nautilus-main.c: (is_event_loop_needed),
(quit_if_in_main_loop), (nautilus_gtk_main_quit_all),
(event_loop_unregister), (nautilus_main_event_loop_register),
(nautilus_main_is_event_loop_mainstay),
(nautilus_main_event_loop_quit), (main): Fixed the main loop
quitting logic so that it is a bit simpler and works with the
gnome-vfs code that runs event handling after the last main loop
is gone.
2000-09-19 John Sullivan <sullivan@eazel.com>
Fixed bug 2519 (fix hideous queue_size_request hack)
* src/nautilus-complex-search-bar.c: (fewer_options_callback):
It turns out that this most vile of lines was totally
unnecessary, so I deleted it.
2000-09-19 J Shane Culpepper <pepper@eazel.com>
* components/services/summary/nautilus-view/nautilus-summary-view.c
: (authn_cb_succeeded), (login_button_cb), (logout_button_cb),
(logged_in_callback), (logged_out_callback):
Removed the evil gtk_main_iteration crap so that the logged in state
is much more reliable. Hooked up the logout button to do the right thing.
2000-09-19 Michael Engber <engber@eazel.com>
First cut at speeding up background drawing. Images now scaled
with interpolation and image drawing is faster.
* libnautilus-extensions/nautilus-background.c:
(ensure_image_scaled), (nautilus_background_image_fully_obscures),
(nautilus_background_draw), (nautilus_art_rgb),
(nautilus_art_rgb_rgba), (nautilus_draw_pixbuf_to_canvasbuf),
(draw_pixbuf_centered_aa), (draw_pixbuf_tiled_aa),
(nautilus_background_draw_aa), (load_image_callback):
2000-09-19 J Shane Culpepper <pepper@eazel.com>
* components/services/summary/nautilus-view/nautilus-summary-view.c
: (generate_startup_form), (generate_summary_form),
(authn_cb_succeeded), (authn_cb_failed), (am_i_logged_in),
(preferences_button_cb):
Fixed view so that it queries ammonite for its current login state
and the login table is not drawn in a user is already logged in.
2000-09-19 Darin Adler <darin@eazel.com>
* components/image-viewer/io-png.c: (image_save): Use volatile to
fix setjmp/longjmp vulnerability that was indicated by a GCC
warning. For some reason this showed up only with new versions of
lbpng.
2000-09-19 John Sullivan <sullivan@eazel.com>
Fixed bug 1244 (Nautilus window size is hardwired)
Fixed bug 2870 (Windows are too tall for 1024x480 screen of
Vaio C1XD picturebook)
Fixed bug 3025 (Can't shrink window smaller than large initial size)
* src/nautilus-window.c:
Added #defines for window minimum and default width & height.
(get_max_forced_height), (get_max_forced_width): New helper
functions, broken out of nautilus_window_size_request, that
return the maximum dimensions a window should be programatically
forced to. They return 90% of the screen width/height.
(set_initial_window_geometry): New function, broken out of
nautilus_window_constructed. Uses #defines and
get_max_forced_width/height to determine initial and minimum
window sizes. Set policy so that user can stretch window smaller,
but only down to sensible minimum size.
(nautilus_window_constructed): call set_initial_window_geometry.
(nautilus_window_size_request): call get_max_forced_width/height.
2000-09-19 Andy Hertzfeld <andy@eazel.com>
* libnautilus-extensions/nautilus-lib-self-check-functions.h:
fixed build problem where someone apparently deleted nautilus-queue
without deleting its self check function. Fixed by deleting the check.
* components/music/mpg123_handler.c: (start_playing_file):
fixed bug 2262, nautilus doesn't play variable bit rate mp3s properly, by
adding the "-y" parameter to the mpg123 invocation, as suggested to me
by Jamie Manley in email. This might also have fixed bug 2227, but I
don't have vbr files to test with.
* src/file-manager/fm-icon-view.c: (play_file):
added the "-y" parameter to mpg123 invocations to play variable bit
rate files better. Also, fixed bug 2529 by checking for non-local
files and not trying to play them.
2000-09-19 Gene Z. Ragan <gzr@eazel.com>
Fixed bug 3019, renaming special icons should be
impossible or harmless.
You can't rename any NautilusLinks now. This makes
sense given the way we use them.
* libnautilus-extensions/nautilus-file.c:
(nautilus_file_can_rename):
Add a check to see if file is NautilusLink.
* src/file-manager/fm-icon-view.c:
(special_link_in_selection):
Check and see if selection contains link files.
(fm_icon_view_create_selection_context_menu_items):
Call above funcion and disable rename if it returns TRUE.
2000-09-18 Maciej Stachowiak <mjs@eazel.com>
Fix bugzilla.eazelc.om 674 2052
* components/loser/content/nautilus-content-loser.oafinfo,
components/loser/sidebar/nautilus-sidebar-loser.oafinfo,
components/sample/nautilus-sample-content-view.oafinfo: Set
test_only attribute to TRUE.
* src/nautilus-main.c (main): Enable test components if
NAUTILUS_ENABLE_TEST_COMPONENTS evnironment variable is set.
2000-09-19 Yukihiro Nakai <nakai@gnome.gr.jp>
* nautilus.desktop: Add Japanese entry
2000-09-18 J Shane Culpepper <pepper@eazel.com>
* components/services/summary/nautilus-view/nautilus-summary-view.c
: (authn_cb_succeeded), (login_button_cb):
Added a gtk_main_iteration to block for the corba callback so that
login will wait until it gets a return value. The summary view
actually works now but is still pretty unreliable and throws lots
of warnings.
2000-09-18 J Shane Culpepper <pepper@eazel.com>
* components/services/summary/lib/eazel-summary-shared.c:
(parse_a_service), (parse_a_eazel_news_item),
(parse_a_update_news_item):
* components/services/summary/nautilus-view/nautilus-summary-view.c
: (generate_startup_form), (authn_cb_succeeded), (authn_cb_failed),
(login_button_cb), (nautilus_summary_view_load_uri):
Removing some debugging code and checking state fixes for a logged in
user.
2000-09-18 Mathieu Lacage <mathieu@eazel.com>
* components/tree/nautilus-tree-view.c: cleanup.
* libnautilus-extensions/Makefile.am: remove nautilus-queue.c/h
from build process.
2000-09-18 Robey Pointer <robey@eazel.com>
* components/services/install/lib/eazel-install-metadata.c:
(init_default_transfer_configuration):
* components/services/install/lib/eazel-install-object.c:
(eazel_install_set_arg), (eazel_install_class_initialize),
(eazel_install_new_with_config):
* components/services/install/lib/eazel-install-protocols.c:
(http_fetch_remote_file), (eazel_install_fetch_file),
(eazel_install_fetch_package), (get_url_for_package),
(get_search_url_for_package):
* components/services/install/lib/eazel-install-public.h:
* components/services/install/lib/eazel-install-types.h:
* components/services/trilobite/doc/gconf.txt:
* components/services/trilobite/libtrilobite/trilobite-core-utils.c
: (trilobite_setenv):
* components/services/trilobite/libtrilobite/trilobite-core-utils.h
:
Un-hardcoded the CGI path (for the RPM database server) and made
it a gconf setting. Use trilobite_setenv to set the user agent
string.
2000-09-18 John Sullivan <sullivan@eazel.com>
Fixed bug 558 (Rubber-band selection of files in icon
view gradually degrades)
Now the menu-updating code does not run while rubberband
selecting (but does run immediately thereafter).
* libnautilus-extensions/nautilus-icon-container.h:
* libnautilus-extensions/nautilus-icon-container.c:
(start_rubberbanding), (stop_rubberbanding),
(nautilus_icon_container_initialize_class): New signals
"band_select_started" and "band_select_ended" emitted
just when you'd expect.
* src/file-manager/fm-directory-view.h:
Prototypes for new functions (intended to be called only
by subclasses) fm_directory_view_start_batching_selection_changes
and fm_directory_view_stop_batching_selection_changes.
* src/file-manager/fm-directory-view.c:
Added details fields: guint batching_selection_level,
gboolean selection_changed_while_batched, gboolean
menu_states_untrustworthy
(selection_contains_one_item_in_menu_callback),
(selection_not_empty_in_menu_callback): New helper functions
that report if the selection matches expectations and complain
via g_warning if they don't match and we trust the menu state.
(open_callback), (trash_callback), (duplicate_callback),
(create_link_callback), (open_properties_window_callback):
Use these new helper functions to verify that the menu state
matches expectations but not crash if it doesn't.
(schedule_update_menus): Change timeout back to idle now that
it isn't affecting the band-select case; mark menu states as
untrustworthy.
(fm_directory_view_update_menus): mark menu states as
trustworthy.
(fm_directory_view_notify_selection_changed): If we're batching
selection changes, remember that the selection changed; otherwise,
do the work that you only do when not batching (update menus).
(fm_directory_view_start_batching_selection_changes): Increment
the batching level counter.
(fm_directory_view_stop_batching_selection_changes): Decrement
the batching level counter. If it reaches zero, and the selection
changed while batched, call notify_selection_changed.
* src/file-manager/fm-icon-view.c:
(band_select_started_callback): start batching selection changes.
(band_select_ended_callback): stop batching selection changes.
(create_icon_container): connect to band_select_started and
band_select_ended signals of icon container.
2000-09-18 Gene Z. Ragan <gzr@eazel.com>
Fixed bug 3018, should not be able to remove special icons
from desktop.
* libnautilus-extensions/nautilus-file-operations.c:
(is_special_link):
New function that checks if link is volume, home or trash.
(nautilus_file_operations_copy_move):
Call is_special_link() and prune special items from
operation list.
2000-09-18 Arlo Rose <arlo@eazel.com>
* icons/throbber/008.png:
Fixed a glitch in the image.
2000-09-18 Robey Pointer <robey@eazel.com>
* components/services/install/lib/eazel-install-xml-package-list.c:
(parse_osd_xml_from_memory):
Fix bugs 2862 & 2975 by fixing an off-by-one in the memory
allocation and trimming whitespace from before and after the XML
file (which makes libxml puke).
2000-09-18 J Shane Culpepper <pepper@eazel.com>
* components/services/summary/lib/eazel-summary-shared.c:
(services_data_new), (parse_a_service), (parse_summary_xml_file):
* components/services/summary/lib/eazel-summary-shared.h:
* components/services/summary/nautilus-view/nautilus-summary-view.c
: (generate_startup_form), (generate_summary_form),
(authn_cb_succeeded), (login_button_cb), (register_button_cb):
Pointing summary view to the real servers. Lots of little state fixes
to help generate real content.
2000-09-18 John Sullivan <sullivan@eazel.com>
Fixed bug 2243 (trash window name should be "Trash"
with a capital T, localized)
* libnautilus-extensions/nautilus-directory-private.h:
Added prototype for nautilus_directory_get_
name_for_self_as_new_file
* libnautilus-extensions/nautilus-directory.h,
* libnautilus-extensions/nautilus-directory.c:
(nautilus_directory_initialize_class),
(nautilus_directory_get_name_for_self_as_new_file),
(real_get_name_for_self_as_new_file): wired up new
overridable function pointer "get_name_for_self_as_new_file"
that's used to get the name from directories that aren't
vfs directories. Default implementation returns the scheme.
* libnautilus-extensions/nautilus-file.c:
(nautilus_file_get_internal): Use nautilus_directory_
get_name_for_self_as_new_file instead of hardwiring
scheme-getting logic here.
* libnautilus-extensions/nautilus-trash-directory.c:
(trash_get_name_for_self_as_new_file),
(nautilus_trash_directory_initialize_class):
Override get_name_for_self_as_new_file to return _("Trash").
* src/nautilus-window-manage-views.c:
(compute_default_title): Use NautilusFile to get the
default window title. Formerly it was using some similar
but slightly different logic to what nautilus_file uses
to get a name to display.
* src/nautilus-window-menus.c: (help_menu_about_nautilus_callback):
* AUTHORS: Gave credit where credit was due.
2000-09-18 Gene Z. Ragan <gzr@eazel.com>
Fixed bug 3017, should not be able to copy desktop items
Check for special desktop link types when specifying
drag and drop actions.
Disable Duplicate menu item.
* libnautilus-extensions/nautilus-icon-dnd.c:
(selection_includes_special_link),
(nautilus_icon_container_receive_dropped_icons):
* src/file-manager/fm-directory-view.c:
(fm_directory_link_type_in_selection), (special_link_in_selection),
(fm_directory_view_real_create_selection_context_menu_items):
* src/file-manager/fm-directory-view.h:
* src/file-manager/fm-icon-view.c:
(fm_icon_view_create_selection_context_menu_items):
2000-09-18 Josh Barrow <linuxfan@ionet.net>
* README:
* configure.in:
* nautilus.spec.in:
Remove instances of libwww, as it's no longer required.
2000-09-18 Gene Z. Ragan <gzr@eazel.com>
Fixed bug 3029, Metafile shows up on desktop when
"show invisible files" is on.
Special files are now never shown on the desktop.
* src/file-manager/fm-directory-view.c:
(queue_pending_files):
Reset hidden file flags to false for the desktop case.
(filtering_changed_callback):
Reset hidden file flags to false for the desktop case
and don't reload contents.
2000-09-18 John Sullivan <sullivan@eazel.com>
Fixed bug 2213 (Shouldn't be able to drop files into
search results view)
* libnautilus-extensions/nautilus-list.h:
Added prototypes for nautilus_list_rejects_dropped_icons
and nautilus_list_set_rejects_dropped_icons.
* libnautilus-extensions/nautilus-list.c:
New rejects_dropped_icons field in details.
(nautilus_list_rejects_dropped_icons): new function,
read from field.
(nautilus_list_set_rejects_dropped_icons): new function,
sets field.
(nautilus_list_find_icon_list_drop_target): check field
for early out. Also, renamed from find_drop_target for
clarity.
(nautilus_list_get_drop_action): Update for name change.
* src/file-manager/fm-directory-view.h: New overridable
function pointer accepts_dragged_files and function
fm_directory_view_accepts_dragged_files.
* src/file-manager/fm-directory-view.c:
(fm_directory_view_initialize_class),
(fm_directory_view_accepts_dragged_files),
(fm_directory_view_real_accepts_dragged_files): Wire up
fm_directory_view_accepts_dragged_files as a virtual
function with default implementation that always returns
TRUE.
* src/file-manager/fm-list-view.c: (set_up_list):
Call nautilus_list_set_rejects_dropped_icons with (opposite
of) result of fm_directory_view_accepts_dragged_files.
* src/file-manager/fm-search-list-view.c:
(fm_search_list_view_initialize_class),
(real_supports_creating_files), (real_accepts_dragged_files):
Wire up override of accepts_dragged_files that returns FALSE.
2000-09-18 Pavel Cisler <pavel@eazel.com>
* src/file-manager/fm-directory-view.c:
(fm_directory_view_destroy), (update_menus_idle_callback),
(update_one_menu_item), (schedule_update_menus):
Partial fix to bug 558- draging to select files gradually degrades.
Turns out to be a bonobo bug. For now tweaked the way the menu updating
code gets called to make it get called less to make the bug less visible.
2000-09-18 Mathieu Lacage <mathieu@eazel.com>
* libnautilus-extensions/nautilus-search-uri.c:
(nautilus_self_check_search_uri): fix bug 2378.
This was waaaay tougher than I expected: the translation
strings were actually good. The code did an evil cast between
2 slightly different structures which ended in strange
behaviour. Added a test for this. Thanks a lot Rebecca.
2000-09-18 Josh Barrow <linuxfan@ionet.net>
* README:
Remove instances of gtkhtml as it isn't required any longer.
2000-09-17 Robey Pointer <robey@eazel.com>
* components/services/trilobite/libtrilobite/trilobite-core-utils.c
: (trilobite_open_uri):
* components/services/trilobite/libtrilobite/trilobite-redirect.c:
(trilobite_redirect_parse_xml):
Clean up whitespace on XML files for the pathetic libxml library,
so it won't puke. Add the hacky gnome-vfs env variable to set the
user-agent string for fetching the XML file.
2000-09-17 Mathieu Lacage <mathieu@eazel.com>
* src/file-manager/fm-list-view.c: (fm_list_receive_dropped_icons):
make it check if a target is begin copied into itself before doing
the actual file operation. ie: bug 3085
* test/Makefile.am: add brand new test I used in my quest for bug
1963
* test/test-nautilus-background.c: (main): the actual test :)
run and you will see beautiful background.
2000-09-17 Maciej Stachowiak <mjs@eazel.com>
More work towards bug 1994. I'm not yet checking in the code to
actually use the adapter yet, but it sort of works on my system.
* nautilus-clean.sh: Added nautilus-adapter
* components/adapter/main.c (main): Do the stop in debugger
trick. Also, initialize gnome-vfs (and threads). Duh!
* components/adapter/nautilus-adapter-factory-server.c
(impl_Nautilus_ComponentAdapterFactory_create_adapter):
CORBA_Object_duplicate the object reference we return, because
CORBA's just cool like that.
* components/adapter/nautilus-adapter.c
(nautilus_adapter_new): Show me the widgets, Lebowski. That's
right, a few missing gtk_widget_show calls were the only bugs in
this hairy mess of CORBA/Bonobo code (well, other than the obvious
resource leaks).
* components/adapter/nautilus-adapter.oafinfo: Updated to match
reality.
* libnautilus-extensions/nautilus-icon-factory.c
(vfs_file_exists, nautilus_make_directory_and_parents,
make_thumbnail_path, nautilus_icon_factory_get_thumbnail_uri,
check_for_thumbnails): Put FIXMEs for a bunch of synchronous I/O
that is making it a pain in the ass to test 1994.
* src/nautilus-component-adapter-factory.c:
Fill in the right IID.
(nautilus_component_adapter_factory_initialize): Allocate the details.
(nautilus_component_adapter_factory_create_adapter): Return the
actual adapted view, not CORBA_OOBJECT_BIL (hello?).
* src/nautilus-main.c (main): Add "ORBit" log domain to ones that
stop in the debugger.
2000-09-17 Andy Hertzfeld <andy@eazel.com>
fixed bug 2319, "Find" and "Web Search" shouldn't have the same icon. Fixed by
adding a search web icon in the default and eazel themes, and changing the
toolbar code to properly fetch them using the theme routines.
* icons/Makefile.am:
* icons/SearchWeb.png:
added web search icon done by Susan in the standard style
* icons/eazel/Makefile.am:
* icons/eazel/SearchWeb.png:
added web search icon done by Susan in the eazel theme style
* libnautilus-extensions/nautilus-theme.c:
(nautilus_theme_get_image_path):
made nautilus_theme_get_image_path optinally supply a ".png" suffix if the
passed in target doesn't have one.
* src/nautilus-window-toolbars.c: (set_up_button),
(set_up_toolbar_images):
use theme-based image fetching when setting up the toolbar images
2000-09-17 Mathieu Lacage <mathieu@eazel.com>
* components/tree/nautilus-tree-view.c: remove auto-collapsing
claenup the code. make it more readable (hopefully although
I am less than hopeful).
2000-09-16 Gene Z. Ragan <gzr@eazel.com>
Fixed bug 2450, We don't detect zip drives, etc.
I added all filesystem types listed in man fstab and
others that I found by reading various linux articles.
There may be even more! We can test these for now.
* libnautilus-extensions/nautilus-volume-monitor.c:
(nautilus_volume_monitor_volume_is_removable),
(mount_volume_generic_set_state), (mount_volume_set_state),
(mount_volume_activate_generic), (mount_volume_activate),
(mount_volume_udf_add), (mount_volume_vfat_add),
(mount_volume_msdos_add), (mount_volume_iso9660_add),
(mount_volume_affs_add), (mount_volume_fat_add),
(mount_volume_hpfs_add), (mount_volume_minix_add),
(mount_volume_nfs_add), (mount_volume_proc_add),
(mount_volume_smb_add), (mount_volume_unsdos_add),
(mount_volume_xenix_add), (mount_volume_xiafs_add),
(mnttab_add_mount_volume), (mntent_add_mount_volume):
* libnautilus-extensions/nautilus-volume-monitor.h:
2000-09-16 Andy Hertzfeld <andy@eazel.com>
* libnautilus-extensions/nautilus-icon-factory.c:
(nautilus_icon_factory_get_icon_name_for_regular_file):
fixed problem that yakk told me about, where all the webdav files
were getting the "www" icon; fixed by explicitly checking for the
mime-type.
2000-09-16 Ali Abdin <aliabdin@aucegypt.edu>
* components/help/converters/gnome-db2html2/toc-elements.c:
* components/help/converters/gnome-db2html2/sect-preparse.c:
* components/help/converters/gnome-db2html2/sect-elements.c:
* components/help/converters/gnome-db2html2/gdb3html.h:
Apply patch submitted by John Fleck (jfleck@inkstain.net) for preface
tag support
* components/help/converters/gnome-db2html2/sect-elements.c:
* components/help/converters/gnome-db2html2/toc-elements.c:
(toc_title_start_element),
(toc_title_end_element),
(toc_title_characters),
(sect_title_characters),
(sect_title_start_element),
(sect_title_end_element): Make these functions ignore the <important>
tag. Fixes bug #2907
* components/help/converters/gnome-db2html2/toc-elements.c:
* components/help/converters/gnome-db2html2/gdb3html.c:
* components/help/converters/gnome-db2html2/sect-elements.c:
Change 'help:' URI's to 'gnome-help:' URIs (for better compliance to
the RFC)
2000-09-16 Maciej Stachowiak <mjs@eazel.com>
More work towards 1994:
* components/adapter/nautilus-adapter-factory-server.h,
components/adapter/nautilus-adapter-factory-server.c:
(nautilus_adapter_factory_server_initialize,
nautilus_adapter_factory_server_destroy): minor cleanups
(impl_Nautilus_ComponentAdapterFactory_create_adapter): Actually
create some objects.
(adapter_object_destroyed): Watch for object destruction, for
factory lifecycle management purposes.
* components/adapter/nautilus-adapter.h,
components/adapter/nautilus-adapter.c: Initial implementation of
class that does the actual adapting. For now, it only handles
Embeddables that take input via PersistStream. Later I will apply
the Strategy pattern to virtualize visual embedding (Control
vs. Embeddable) and loading (PersistStream vs. PersistFile
vs. ProgressiveDataSink) (and fix some missing bits in the
embedding virtualization).
* components/adapter/Makefile.am: Build the new files.
2000-09-16 Ramiro Estrugo <ramiro@eazel.com>
* components/mozilla/eazel-protocol-handler/eazel-protocol-module.cpp:
* components/mozilla/mozilla-components.cpp:
* components/mozilla/mozilla-preferences.cpp:
Ok dumbass, you need to make this thing work with the old stuff too.
2000-09-16 Ramiro Estrugo <ramiro@eazel.com>
* components/mozilla/eazel-protocol-handler/eazel-protocol-module.cpp:
* components/mozilla/mozilla-components.cpp:
* components/mozilla/mozilla-preferences.cpp:
Update for latest round of mozilla M18 changes. Also removed an
extra module registration entry I "accidentally" left in before.
2000-09-15 Andy Hertzfeld <andy@eazel.com>
* libnautilus-extensions/nautilus-file-utilities.c:
(nautilus_make_uri_from_input):
fixed bug 2204, ~ shortcut for home directory doesn't work
in location bar, by expanding '~' and '~user' in make_uri_from_input
* src/nautilus-location-bar.c: (try_to_expand_path):
made the expand code handle '~' properly
2000-09-15 Robey Pointer <robey@eazel.com>
* components/services/trilobite/libtrilobite/trilobite-redirect.c:
(trilobite_redirect_parse_xml), (trilobite_redirect_fetch_table):
* components/services/trilobite/libtrilobite/trilobite-redirect.h:
Make redirection XML parser in line with what services will
provide. Add extra API hook for Shane to cover the case where
you've already downloaded the XML file and just want it to be
parsed.
2000-09-15 Robey Pointer <robey@eazel.com>
* components/services/install/lib/eazel-install-rpm-glue.c:
(eazel_install_download_packages),
(eazel_install_do_install_packages):
Fix bug in RPM glue that would case a failed download to get
glossed over instead of aborting right then. (Very annoying to
download 500M of stuff and then find out that one of the first
downloads silently failed.)
* nautilus-installer/src/installer.c: (eazel_install_progress),
(eazel_download_progress), (get_detailed_errors_foreach),
(get_detailed_errors), (install_failed), (download_failed),
(eazel_install_preflight), (eazel_install_dep_check),
(check_system), (eazel_installer_do_install),
(eazel_installer_finalize):
* nautilus-installer/src/installer.h:
Clean up installer: Fix a few crashes and make error-reporting
more robust. Add annoying calls to gtk_main_iteration() to make
it update the screen.
2000-09-15 Arlo Rose <arlo@eazel.com>
* icons/eazel/Up.png:
Fixed to not spew the whit epoint warning on startup.
2000-09-15 Gene Z. Ragan <gzr@eazel.com>
Fixed bug 2194, no scrollbars in image view
Fixed bug 2215, image viewer needs to erase background
when loading image.
I fixed these bugs by writing a new image component. Is this bad?
I don't know. What is bad is the current state of the EOG bonobo
component. I don't think it is worth our time to fix it right now.
This component will also support the zoomable interface when
Maciej finishes the work there. It is doubtful the EOG bonobo
component would have a Nautilus specific dependency.
* components/Makefile.am:
* components/image-viewer/.cvsignore:
* components/image-viewer/Makefile.am:
* components/image-viewer/io-png.c: (png_write_data_fn),
(png_flush_fn), (image_save):
* components/image-viewer/io-png.h:
* components/image-viewer/nautilus-image-view.c:
(release_pixbuf_cb), (release_pixbuf), (bod_destroy_cb),
(get_pixbuf), (render_pixbuf), (redraw_view), (configure_size),
(resize_all_cb), (view_update), (save_image_to_stream),
(load_image_from_stream), (destroy_view),
(zoomable_zoom_in_callback), (zoomable_zoom_out_callback),
(zoomable_set_zoom_level_callback),
(zoomable_zoom_to_fit_callback), (drawing_area_exposed),
(view_size_allocate_cb), (scrolled_view_size_allocate_cb),
(view_factory_common), (scaled_view_factory),
(scrollable_view_factory), (bonobo_object_factory),
(init_bonobo_image_generic_factory), (init_server_factory), (main):
* components/image-viewer/nautilus-image-view.oafinfo:
* configure.in:
New files and functions.
2000-09-15 Mathieu Lacage <mathieu@eazel.com>
fix bug 2874
* components/tree/nautilus-tree-view.c: remove color/background/emblem
dnd from the tree view.
* libnautilus-extensions/nautilus-gtk-extensions.c:
(nautilus_gtk_marshal_NONE__INT_POINTER_INT_INT_UINT): add function
* libnautilus-extensions/nautilus-gtk-extensions.h: add prototype.
* libnautilus-extensions/nautilus-list.c:
(nautilus_list_initialize_class), (nautilus_list_get_drop_action),
(nautilus_list_receive_dropped_icons),
(nautilus_list_receive_dropped_keyword),
(nautilus_list_drag_data_received): add support for keywords by
changing the handle_dropped_icons event to handle_dropped_items
* libnautilus-extensions/nautilus-list.h: change signal prototype.
* src/file-manager/fm-list-view.c: (fm_list_receive_dropped_icons),
(fm_list_receive_dropped_keyword), (fm_list_handle_dropped_items),
(set_up_list): make it use the right signal and suppport both icon and
keyword drops.
2000-09-15 Arlo Rose <arlo@eazel.com>
* icons/knob.png:
Put in a different knob.
2000-09-15 John Sullivan <sullivan@eazel.com>
Fixed bug 1563 (Optionally hide ~-suffix files created by emacs)
Fixed bug 2274 (Implement Empty Trash confirmation preference)
* libnautilus-extensions/nautilus-global-preferences.h:
define NAUTILUS_PREFERENCES_CONFIRM_TRASH and
NAUTILUS_PREFERENCES_SHOW_BACKUP_FILES.
* libnautilus-extensions/nautilus-global-preferences.c:
(global_preferences_create_dialog): Put these two new preferences
on the Directory Views page; rename it Folder Views.
(global_preferences_register): Register default values for new
preferences.
* libnautilus-extensions/nautilus-preferences-dialog.c:
Increase initial height of window to account for new preferences.
There's an open bug about reorganizing the whole window for later.
* libnautilus-extensions/nautilus-file-operations.c:
(confirm_empty_trash): Don't confirm if preference says not to.
* src/file-manager/fm-directory-view.c:
(fm_directory_view_initialize), (fm_directory_view_destroy):
Add & remove callbacks to monitor these two new preferences.
(queue_pending_files): Take SHOW_BACKUP_FILES preference into
account.
(file_name_from_uri): New helper routine to save a little code
duplication.
(fm_directory_view_confirm_deletion): Use yes_no dialog instead
of simple dialog to match other usage; improve dialog title.
(confirm_delete_from_trash): New function, confirms deleting
items from trash unless preference says not to bother.
(fm_directory_view_trash_or_delete_files): Call
confirm_delete_from_trash before deleting items from trash.
(compute_menu_item_info): Do or don't add ellipses to "Empty Trash"
and "Delete From Trash" depending on preference setting.
(schedule_update_menus_callback): New function, simple wrapper for
schedule_update_menus (called when CONFIRM_TRASH preference changes).
(filtering_changed_callback): Renamed and slightly generalized from
show_hidden_files_changed_callback, called when either the
SHOW_HIDDEN_FILES or SHOW_BACKUP_FILES preference changes.
2000-09-15 Eli Goldberg <eli@eazel.com>
* docs/smoketests.html: Added a few steps to include breakages last week.
2000-09-15 Robin * Slomkowski <rslomkow@eazel.com>
* nautilus.spec.in: removed dependencie on eog because
nautilus doesn't actually depend on it, but this will
make the install not install eog onto someones system.
2000-09-15 J Shane Culpepper <pepper@eazel.com>
* components/services/install/nautilus-view/nautilus-service-instal
l-view.c:
* components/services/login/nautilus-view/nautilus-login-view.c:
* components/services/summary/lib/eazel-summary-shared.c:
(services_data_new), (update_news_data_new), (parse_a_service),
(parse_a_update_news_item):
* components/services/summary/lib/eazel-summary-shared.h:
* components/services/summary/nautilus-view/nautilus-summary-view.c
: (generate_startup_form), (generate_summary_form),
(generate_service_entry_row), (generate_update_news_entry_row),
(goto_service_cb), (goto_update_cb):
Fixed Bug # 2630, 3054, and most of 2632 and 3051. You probably
will get a blank summary view now since the xml file lives on my
local apache. I will point it to the server generated one on
Monday.
2000-09-15 John Sullivan <sullivan@eazel.com>
Fixed bug 2362 (Selecting "Add Bookmark" while loading a web
page can crash)
* src/nautilus-window-menus.c:
(nautilus_window_add_bookmark_for_current_location): Removed
incorrect assert comparing window->location and
window->current_location_bookmark. These can be out of synch
here due to the evils of the state machine, but this function
will be OK. Also, removed logic preventing adding multiple
bookmarks for the same location, since it (A) doesn't match the
behavior of other browsers; (B) might be annoying if you want
to add several identical bookmarks and then hand-tweak them in
the Edit Bookmarks window; (C) might be confusing if you don't
notice the existing bookmark in the menu; and (D) won't make
sense when we fully support hierarchical bookmarks.
* src/nautilus-window-manage-views.c:
(check_last_bookmark_location_matches_window):
Updated the comments on this debugging function, and changed
its behavior from g_warning to g_error since the only known
reasons for it complaining have recently been fixed.
2000-09-15 Darin Adler <darin@eazel.com>
Robin helped me fix up the spec. file. Take that, Tinderbox!
* nautilus.spec.in: Removed nautilus-tree-view, top/*.xml, and
icons/vector/*.png from the spec file.
2000-09-15 Andy Hertzfeld <andy@eazel.com>
* src/nautilus-first-time-druid.c:
(nautilus_first_time_druid_show):
fixed bug 2782, druid_welcome.png needs to be redone for each locale,
by removing the image and using our nice, shadowed aa text instead.
* icons/Makefile.am:
removed icons/druid_welcome.png image, since it's no longer used
2000-09-15 Darin Adler <darin@eazel.com>
Another try at fixing the Tinderbox.
* po/POTFILES.in: Removed files that are not in Makefile.am,
since they won't be in the tarball/RPM.
* check-POTFILES.pl: Added a new script to check for files that
are mentioned in POTFILES.in, but not in the Makefile.am files.
* check-headers-in-Makefile.pl: Fixed to use SUBDIRS instead of
looking for all Makefile.am files.
* components/adapter/.cvsignore: Listed generated files.
2000-09-15 John Sullivan <sullivan@eazel.com>
Fixed bug 1779 ("Customize Hacker Settings" doesn't match
user level name)
Fixed bug 2806 (User level names need to be localizable)
Fixed bug 2838 (Settings message badly suited for translation)
* libnautilus-extensions/nautilus-user-level-manager.h:
* libnautilus-extensions/nautilus-user-level-manager.c:
(user_level_manager_new), (user_level_manager_destroy),
(user_level_set_default_if_needed),
(nautilus_user_level_manager_set_user_level),
(nautilus_user_level_manager_get_user_level),
(nautilus_user_level_manager_get_user_level_name_for_display),
(nautilus_user_level_manager_make_gconf_key),
(user_level_manager_get_user_level_as_string): Split array of
user level names & list that's made from it into two; one for
gconf setting strings and one for user display. The user display
one is marked for translation. Made "get_user_level_string"
private since it had no callers and it's used only for the gconf
manipulation (and it would have a confusing name if public).
Changed _get_user_level_names to _get_user_level_name_for_display
and made it return a single name rather than the whole set;
that's how callers were using it anyway.
* src/nautilus-first-time-druid.c:
(make_hbox_user_level_radio_button), (set_up_user_level_page):
Reworked to get user level names from user level manager rather
than hardwiring them here.
* src/nautilus-window-menus.c: (user_level_customize_callback),
(add_user_level_menu_item), (nautilus_window_initialize_menus),
(get_customize_user_level_string): Reworked to get user level
names from user level manager rather than hardwiring them here.
Also added some comments and tweaked the wording of the
"Edit Beginner Settings" dialog at the suggestion of a localizer.
2000-09-15 John Sullivan <sullivan@eazel.com>
* libnautilus-extensions/nautilus-file-operations.c:
(handle_xfer_vfs_error), (handle_xfer_overwrite),
(nautilus_file_operations_copy_move),
(nautilus_file_operations_move_to_trash): Tweaked a bunch
of error message and dialog title wording.
2000-09-15 Maciej Stachowiak <mjs@eazel.com>
Some work towards 1994.
* libnautilus-adapter/nautilus-adapter-factory.idl: Changed
`object' argument to `component'.
* configure.in: Generate Makefile for components/adapter
directory.
* components/Makefile.am: Add adapter subdir to build.
* components/adapter/Makefile.am, components/adapter/main.c,
components/adapter/nautilus-adapter-factory-server.c,
components/adapter/nautilus-adapter-factory-server.h,
components/adapter/nautilus-adapter.oafinfo: Skeleton for the
adapter component.
2000-09-14 Pavel Cisler <pavel@eazel.com>
* libnautilus-extensions/nautilus-file-operations.c:
(extract_string_until), (parse_previous_duplicate_name),
(test_next_duplicate_name), (nautilus_self_check_file_operations):
Make duplicate name generator tests localizable.
Add tests for "foo (10000000000000000th copy)".
Add more comments, tweak some names.
2000-09-14 J Shane Culpepper <pepper@eazel.com>
* components/services/summary/lib/eazel-summary-shared.c:
(services_data_new), (update_news_data_new), (parse_a_service),
(parse_a_eazel_news_item), (parse_a_update_news_item),
(parse_summary_xml_file):
* components/services/summary/lib/eazel-summary-shared.h:
* components/services/summary/nautilus-view/Makefile.am:
* components/services/summary/nautilus-view/nautilus-summary-view.c
: (generate_startup_form):
xml parser now works right and downloads the file into memory. spews
lots of debugging code right now but very close to being done.
2000-09-14 Mathieu Lacage <mathieu@eazel.com>
* libnautilus-extensions/nautilus-file.c: add necessary header to
make nautilus compile with new gnome-vfs
2000-09-14 Robey Pointer <robey@eazel.com>
* components/services/install/lib/eazel-install-protocols.c:
(eazel_install_fetch_package_by_id), (get_url_for_package),
(get_search_url_for_package):
* components/services/install/lib/eazel-install-protocols.h:
* components/services/install/lib/eazel-install-rpm-glue.c:
(eazel_install_download_packages):
* components/services/install/nautilus-view/nautilus-service-instal
l-view.c: (nautilus_service_install_view_update_from_uri):
Add support for package names of the type "id=NNN" where the id
will refer to a specific RPM on the remote server. Services wants
this for the case when the user has clicked on a specific package.
* components/services/trilobite/libtrilobite/trilobite-core-utils.c
: (trilobite_fetch_uri):
Fix bug in ghttp code that forgot to add a trailing null.
2000-09-14 Darin Adler <darin@eazel.com>
Fixed bug 3079 (Cannot copy or link files or folders with current
build). This was just an || where there should be a &&.
Also took another crack at making the tinderbox succeed.
* libnautilus-extensions/nautilus-icon-dnd.c:
(selection_includes_trash): Change || to &&. Oops.
* nautilus.spec.in: Removed unused directories.
* po/POTFILES.in: Removed unused files.
* libnautilus-extensions/nautilus-drag.c:
(nautilus_drag_drop_action_ask): Formatting tweak.
2000-09-14 Andy Hertzfeld <andy@eazel.com>
changed the default click policy from single click to double click as
a result of our first wave of user testing
* libnautilus-extensions/nautilus-global-preferences.c:
(global_preferences_register):
* libnautilus-extensions/nautilus-icon-canvas-item.c:
(in_single_click_mode):
* libnautilus-extensions/nautilus-icon-container.c:
(button_press_event):
* src/file-manager/fm-icon-view.c:
(fm_icon_view_update_click_mode):
* src/file-manager/fm-list-view.c:
(fm_list_view_update_click_mode):
2000-09-14 Darin Adler <darin@eazel.com>
* libnautilus-extensions/nautilus-file-operations.c:
(handle_xfer_vfs_error), (handle_xfer_overwrite),
(nautilus_file_operations_copy_move),
(nautilus_file_operations_move_to_trash): Fix wording and make it
a little easier to translate some of these dialogs. John said he
will make a pass to make them even better, but I got rid of some
of the egregious problems and added Nautilus: to all the titles.
* libnautilus/nautilus-undo-transaction.c:
(nautilus_undo_transaction_add_to_undo_manager): Tiny format
tweak.
* src/file-manager/fm-directory-view.c: Improved comment for
localizers.
2000-09-14 John Sullivan <sullivan@eazel.com>
Fixed bug 2373 (Select All Files scrolls to bottom)
Fixed bug 2624 (clicking to select a partly-obscured icon
auto-scrolls, but shouldn't)
Fixed bug 2612 (Part of icon view drawn in black when
right-clicking on icon causes scroll)
The key was separating reveal_selection from set_selection,
and only calling reveal_selection when switching/loading
views.
* src/file-manager/fm-directory-view.h:
* src/file-manager/fm-directory-view.c:
(fm_directory_view_reveal_selection): New function, calls
virtual function
(fm_directory_view_initialize_class): initialize reveal_selection
function to NULL, since it would be OK if a subclass did nothing.
(display_pending_files): reveal selection after setting it in
this case.
* src/file-manager/fm-icon-view.c:
(fm_icon_view_reveal_selection): New function, extracted from
set_selection.
(fm_icon_view_set_selection): Took out the reveal code.
(fm_icon_view_initialize_class): Wire up reveal_selection.
* src/file-manager/fm-list-view.c:
(fm_list_view_reveal_selection): New function, extracted from
set_selection.
(fm_list_view_set_selection): Took out the reveal code.
(fm_list_view_initialize_class): Wire up reveal_selection.
2000-09-14 Mathieu Lacage <mathieu@eazel.com>
* components/tree/nautilus-tree-view.c: fix bug 2937.
Tree view now autocollapses when you drag. Not a small
task...
2000-09-14 J Shane Culpepper <pepper@eazel.com>
* components/services/summary/nautilus-view/nautilus-summary-view.c
: (generate_service_entry_row), (generate_eazel_news_entry_row),
(generate_update_news_entry_row),
(nautilus_summary_view_initialize):
Fixing the background color on the startup form.
2000-09-14 Michael Engber <engber@eazel.com>
Cleaned up fixme's (bugs 2549, 2550, 2548) while
working on a related background drawing bug.
* libnautilus-extensions/nautilus-background-canvas-group.c:
(nautilus_background_canvas_group_render):
* libnautilus-extensions/nautilus-background.c:
(nautilus_background_draw), (nautilus_background_draw_aa):
2000-09-14 Robey Pointer <robey@eazel.com>
* components/services/trilobite/doc/gconf.txt:
* components/services/trilobite/libtrilobite/trilobite-redirect.c:
(trilobite_redirect_fetch_table), (trilobite_redirect_lookup),
(trilobite_get_services_address):
* components/services/trilobite/libtrilobite/trilobite-redirect.h:
Add documentation on gconf settings and add services-host setting
so we can later change the default servier:port for Eazel
services. Fix API for downloading the redirection table.
2000-09-14 Ramiro Estrugo <ramiro@eazel.com>
* libnautilus-extensions/nautilus-scalable-font.c:
(nautilus_text_layout_new):
Remove a brain fart of mine that was causing a serious memory leak
everytime the icon layout was computed.
2000-09-14 Gene Z. Ragan <gzr@eazel.com>
Fixed a crashing bug in the preligting code.
* libnautilus-extensions/nautilus-ctree.c: (nautilus_ctree_event):
Check for 0 when getting selected row.
2000-09-14 John Sullivan <sullivan@eazel.com>
Fixed unreported bug where the built-in bookmarks never
displayed the first time after visiting any directory,
and reversed sense of the preference to avoid problems
with defaults not working for global preferences.
* libnautilus-extensions/nautilus-global-preferences.h:
Changed preference from NAUTILUS_PREFERENCES_SHOW_BUILT_IN_BOOKMARKS
to NAUTILUS_PREFERENCES_HIDE_BUILT_IN_BOOKMARKS
* src/nautilus-bookmarks-window.c: (create_bookmarks_window),
(synch_built_in_bookmarks_preference_and_checkbox): Updated
for reversed preference.
* src/nautilus-window-private.h:
* src/nautilus-window-menus.c: (append_bookmark_to_menu),
(refresh_bookmarks_menu),
(nautilus_window_initialize_bookmarks_menu),
(nautilus_window_remove_bookmarks_menu_callback),
(refresh_bookmarks_menu_idle_callback),
(schedule_refresh_bookmarks_menu): Updated for reversed
preference. Also, deleted refresh_dynamic_bookmarks, which
was broken (removed but didn't replace built-in bookmarks),
and renamed *dynamic_bookmarks* -> *bookmarks_menu* to parallel
names for go_menu calls.
2000-09-14 Gene Z. Ragan <gzr@eazel.com>
Fixed bug 1984, Crash when closing a window after undo operation
Fixed bug 2151, Segfault in undo manager during quit
* libnautilus/nautilus-undo-transaction.c:
(remove_transaction_from_atom_targets)
New function that removes transaction list from target
object and frees contents.
(nautilus_undo_transaction_destroy),
(nautilus_undo_transaction_undo):
Call new function in these places.
2000-09-14 Darin Adler <darin@eazel.com>
Another cut at getting the tinderbox to be happy.
* configure.in: Remove websearch directory.
* nautilus.spec.in: Remove ntl-web-browser, ntl-web-search, and
websearch directory pattern.
* components/services/trilobite/sample/nautilus-view/Makefile.am:
Fix typo (SUBDIR instead of SUBDIRS).
* src/file-manager/fm-directory-view.c: (schedule_update_menus):
Only schedule an update if the menus are already merged.
Also made cosmetic changes.
2000-09-14 Josh Barrow <linuxfan@ionet.net>
* icons/Makefile.am:
Oops! Forgot to remove the Makefile.am reference to the
tab files.
2000-09-14 Josh Barrow <linuxfan@ionet..net>
* icons/tableft.png:
* icons/tabright.png:
Removed both of these files. These files were from back
in the day when Nautilus used those horrid white tabs.
2000-09-14 John Sullivan <sullivan@eazel.com>
Fixed bug 3043 (clicking on broken symbolic link tries
to execute it).
Now clicking on it brings up a dialog telling the user
about the missing target file and asking whether they
want to throw the link away. Also, I changed the type
string for link files to be "link to <whatever>" instead
of just "<whatever>", and "link (broken)" for broken ones.
* libnautilus-extensions/nautilus-file-attributes.h:
define NAUTILUS_FILE_ATTRIBUTE_FILE_TYPE for callers
interested in GnomeVFS's concept of file type.
* libnautilus-extensions/nautilus-directory-async.c:
(set_up_request_by_file_attributes): Get file_info if
NAUTILUS_FILE_ATTRIBUTE_FILE_TYPE is requested.
* libnautilus-extensions/nautilus-file.h,
* libnautilus-extensions/nautilus-file.c:
(type_as_string_considering_link): New function,
converts target-type to link-type string if necessary.
(nautilus_file_get_type_as_string): Deploy
type_as_string_considering_link at each return location.
(nautilus_file_is_broken_symbolic_link): New public function.
* libnautilus-extensions/nautilus-icon-factory.c:
(nautilus_icon_factory_get_icon_name_for_file): Added comment.
* src/file-manager/fm-directory-view.c:
(fm_directory_view_trash_or_delete_files): Renamed from
..._selection since it is passed the list of files.
(trash_callback): Updated for name change.
(report_broken_symbolic_link): New function, puts up dialog.
(activate_callback): Calls report_broken_symbolic_link if
appropriate.
(fm_directory_view_activate_file): include
NAUTILUS_FILE_ATTRIBUTE_FILE_TYPE in list to pass to call_when_ready.
2000-09-14 Darin Adler <darin@eazel.com>
Some fixes to "make dist" to make the tinderbox happy.
* components/rpmview/Makefile.am:
* components/tree/Makefile.am:
* libnautilus-extensions/Makefile.am:
* src/Makefile.am:
Added missing .h files.
* src/file-manager/.cvsignore:
Ignore some ancient generated files.
* libnautilus-extensions/nautilus-gtk-extensions.c:
(nautilus_gtk_label_make_bold): Formatting tweak.
(nautilus_gtk_widget_set_foreground_color): Don't set the base
color when you set the foreground. The base is more like the
background color.
* libnautilus-extensions/nautilus-volume-monitor.c:
(mnttab_add_mount_volume): Formatting tweak.
2000-09-14 Darin Adler <darin@eazel.com>
To get started on a bug, I dismantled part of the state machine,
which we can replace with something much simpler. Just doing this
change seems to have fixed the bug I was going to tackle.
Fixes bug 2170 (hitting the "up" button a lot of times in a row
causes crash).
* libnautilus-extensions/nautilus-file-utilities.c:
(nautilus_self_check_file_utilities): Quick tweak to these tests.
We need more thorough tests of nautilus_make_uri_from_input.
* libnautilus-extensions/nautilus-search-bar-criterion-private.h:
Removed this long-obsolete file. There's another copy in the src
directory that's the "real" one.
* src/file-manager/fm-directory-view.c:
(fm_directory_view_destroy): Fixed a problem I was seeing
switching out of the list view by emptying the "pending" lists so
doing the stop as part of destroy will not add items to the view
before destroying it.
* src/nautilus-window-manage-views.c:
(nautilus_window_free_load_info): Got rid of "action_tag",
"made_changes", and "state".
(nautilus_window_update_state): Turned "made_changes" into a local
variable. Got rid of code setting "state" since nothing looked at
it. Got rid of code that sets up an idle.
(nautilus_window_set_state_info): Eliminated "do_sync" and made
the function always keep running update_state until it's done
instead of using an idle.
(nautilus_window_end_location_change_callback): Got rid of FIXME
since I now understand why gtk_object_destroy is OK for windows.
* src/nautilus-window.h: Eliminated "action_tag", "made_changes",
and "state".
* src/nautilus-window.c: (nautilus_window_destroy): No need to
deal with "action_tag" any more.
(window_update_sidebar_panels_from_preferences): Remove excess
unref that's not needed now that we have more careful handling of
sidebar references.
2000-09-14 John Sullivan <sullivan@eazel.com>
Fixed bug 3072 (crash right-clicking in icon view background)
* src/file-manager/fm-icon-view.c: (compute_menu_item_info):
Fixed mistake in assert. *return_name != NULL should have
been return_name != NULL. This caused an intermittent assertion
failure (reproducible for some people).
2000-09-14 John Sullivan <sullivan@eazel.com>
Fixed bug 3071 (zoom control right-click menu doesn't work)
The recent change from doubles to floats broke this, because
some function pointers had been cast to gpointer so that the
compiler didn't notice that they were casting CORBA_float to
CORBA_double.
* libnautilus/nautilus-zoomable.c:
(impl_Nautilus_Zoomable__get_zoom_level),
(impl_Nautilus_Zoomable__set_zoom_level),
(impl_Nautilus_Zoomable__get_min_zoom_level),
(impl_Nautilus_Zoomable__get_max_zoom_level),
(impl_Nautilus_Zoomable__get_is_continuous),
(impl_Nautilus_Zoomable__get_preferred_zoom_level_list),
(impl_Nautilus_Zoomable_zoom_in),
(impl_Nautilus_Zoomable_zoom_out),
(impl_Nautilus_Zoomable_zoom_to_fit),
(impl_Nautilus_Zoomable__destroy):
Removed (gpointer) function casts by passing parameters
of the required type and casting them inside each function.
Then changed CORBA_double to CORBA_float wherever it was
used.
* src/nautilus-zoom-control.c: (create_zoom_menu_item):
Changed menu items in zoom control popup to use the
"always show toggle" style like all of our other
toggleable menu items.
2000-09-14 Pavel Cisler <pavel@eazel.com>
* libnautilus-extensions/nautilus-file-operations.c:
(extract_string_until), (parse_previous_duplicate_name),
(make_next_duplicate_name), (get_duplicate_name),
(get_next_duplicate_name), (handle_xfer_duplicate),
Add new smart duplicate name generator.
Fixes bugzilla 2592, 2363, 2701.
* libnautilus-extensions/nautilus-file-operations.c:
(nautilus_self_check_file_operations),
(test_next_duplicate_name):
* libnautilus-extensions/nautilus-lib-self-check-functions.h:
Add a test rig for the new code.
2000-09-14 Seth Nickell <seth@eazel.com>
* libnautilus-extensions/nautilus-volume-monitor.c:
(mnttab_add_mount_volume):
Fixed minor compile problem on Solaris dealing with
mount table structure names.
2000-09-14 J Shane Culpepper <pepper@eazel.com>
* components/services/Makefile.am:
* components/services/inventory/nautilus-view/nautilus-inventory-vi
ew.c: (generate_inventory_form), (make_http_post_request),
(go_to_uri):
* components/services/startup/.cvsignore:
* components/services/startup/Makefile.am:
* components/services/startup/command-line/.cvsignore:
* components/services/startup/command-line/Makefile.am:
* components/services/startup/nautilus-view/.cvsignore:
* components/services/startup/nautilus-view/Makefile.am:
* components/services/startup/nautilus-view/main.c:
* components/services/startup/nautilus-view/nautilus-service-startu
p-view.c:
* components/services/startup/nautilus-view/nautilus-service-startu
p-view.h:
* components/services/startup/nautilus-view/nautilus-service-startu
p-view.oafinfo:
* components/services/summary/nautilus-view/nautilus-summary-view.c
: (generate_startup_form), (generate_startup_form_logo),
(generate_summary_form), (nautilus_summary_view_load_uri):
* components/services/summary/nautilus-view/nautilus-summary-view.o
afinfo:
* configure.in:
Merging startup and summary into a single view. Deleted the original
startup view. Removed inventory view from daily builds since it is
going to be moved out of the nautilus module.
Removed some invalid FIXMEs from inventory since it will be completely
rewritten.
2000-09-13 J Shane Culpepper <pepper@eazel.com>
* components/services/summary/nautilus-view/nautilus-summary-view.c
: (generate_summary_form), (generate_service_entry_row),
(generate_update_news_entry_row):
More ui tweaks before the big startup / summary merge.
2000-09-13 Robey Pointer <robey@eazel.com>
* components/rpmview/nautilus-rpm-view-install.c:
(nautilus_rpm_view_download_progress_signal),
(nautilus_rpm_view_install_progress_signal),
(nautilus_rpm_view_download_failed), (get_detailed_errors_foreach),
(get_detailed_errors), (nautilus_rpm_view_install_failed),
(nautilus_rpm_view_uninstall_failed), (preflight_check),
(nautilus_rpm_view_install_package_callback),
(nautilus_rpm_view_uninstall_package_callback):
* components/rpmview/nautilus-rpm-view.c:
(nautilus_rpm_view_update_from_uri):
* components/services/install/nautilus-view/nautilus-service-instal
l-view.c: (dig_up_errors):
Fix annoying fprintf's to debug messages. Fix error message
assembly on failed install/uninstall. Catch new signals from the
install library. Turn on the verify button after an install.
Sync up install error messages between RPM view and the install
service a little bit.
2000-09-14 Josh Barrow <linuxfan@ionet.net>
* configure.in:
Remove the check for gtkhtml, as it isn't build any more.
2000-09-13 Robey Pointer <robey@eazel.com>
* components/services/install/lib/eazel-install-corba-callback.c:
(impl_uninstall_failed):
* components/services/install/lib/eazel-install-object.c:
(eazel_install_uninstall_packages),
(eazel_install_revert_transaction_from_xmlstring):
* components/services/install/lib/eazel-install-rpm-glue.c:
(eazel_install_monitor_rpm_propcess_pipe):
Fix copy-and-paste error where the uninstall_failed callback was
actually triggering the install_failed signal. Make sure a failed
uninstall or revert actually return a fail condition. Clean up
possible warning debug messages (read from rpm pipe).
Wed Sep 13 22:06:55 2000 George Lebl <jirka@5z.com>
* libnautilus-extensions/nautilus-druid.c
(nautilus_druid_size_request): After some investigation found that
fixme (#2553) was complete bollocks, so I removed it.
* libnautilus-extensions/nautilus-file.c (nautilus_file_get_uri):
Apparently my current alpha compiler (egcs 1.1.2) is now more
sensitive to uninitialized vars. This one is harmless, since there
was a g_assert_not_reached for the case where it's uninited.
* libnautilus-extensions/nautilus-scalable-font.c (invert_glyph),
librsvg/test-ft-gtk.c (invert_glyph):
YAIKES! casting to to (int) to get artithmetic. Changed to (long)
but that's still Wrong(tm)
* src/file-manager/fm-desktop-icon-view.c (get_sort_category):
remove the "char *link_type", as it wasn't ever used, it was
only freed thus causing havoc
2000-09-13 Josh Barrow <linuxfan@ionet.net>
* icons/Makefile.am:
* icons/theme_preview.png:
Added a theme_preview.png for the default theme. Thanks
to Kenneth Christiansen <kenneth@gnu.org> for this.
2000-09-13 Rebecca Schulman <rebecka@eazel.com>
Fixed bug 2977, to remove anti-aliased text from the
emblem menu
* libnautilus-extensions/nautilus-customization-data.c:
(nautilus_customization_data_new),
(nautilus_customization_data_get_next_element_for_display):
* libnautilus-extensions/nautilus-customization-data.h:
Added additional value to customization data to return the
correct label type depending on whether or not antialiased
text and truncation were appropriate
* src/nautilus-complex-search-bar.c:
(load_find_them_pixmap_widget):
indenting fix
* src/nautilus-property-browser.c:
(make_properties_from_directories):
add parameter to customization data call
* src/nautilus-search-bar-criterion.c: (get_emblem_location_for),
(make_emblem_value_menu):
Removed a bug that double freed an emblem value menu name
2000-09-13 Andy Hertzfeld <andy@eazel.com>
* libnautilus-extensions/nautilus-theme.c:
(nautilus_theme_make_selector):
fixed bug 2962, default theme doesn't use custom preview icon, by
special-casing the default theme, which doesn't have it's own
directory.
2000-09-13 Gene Z. Ragan <gzr@eazel.com>
Fixed a glitch with prelighting and mousedown.
* libnautilus-extensions/nautilus-ctree.c: (nautilus_ctree_event),
(nautilus_ctree_button_press), (nautilus_ctree_draw_expander),
(row_new):
* components/tree/nautilus-tree-view.c:
Set the state of the in_hotspot flag on
button press and release.
2000-09-13 Darin Adler <darin@eazel.com>
* libnautilus-extensions/nautilus-program-choosing.c:
(nautilus_launch_application_from_command):
Add one last missing change for my previous bug fix.
2000-09-13 Gene Z. Ragan <gzr@eazel.com>
Fixed bug 1595, Tree view collapsing triangle does not
track mouse.
* libnautilus-extensions/nautilus-ctree.c: (nautilus_ctree_event),
(nautilus_ctree_draw_expander):
2000-09-13 John Sullivan <sullivan@eazel.com>
Fixed bug 3039 (Clicking in edited file name exits rename mode)
* libnautilus-extensions/nautilus-icon-container.c:
(button_press_event): Moved the grab_focus call until after
the inherited call, and only do it if not in renaming mode.
2000-09-13 Darin Adler <darin@eazel.com>
Fixed bug 1462 (File names containing spaces don't launch right)
and bug 2404 (Help uri needs to be escaped properly) by adding a
function to quote for strings for shell. I chose a name an an
implementation that matches the function that will be added to
glib 2.0 for this purpose.
* libnautilus-extensions/nautilus-glib-extensions.h:
* libnautilus-extensions/nautilus-glib-extensions.c:
(nautilus_shell_quote), (nautilus_self_check_glib_extensions):
Add a shell_quote function and tests for it.
* components/help/help-method.c: (help_uri_to_string): Call the
new nautilus_shell_quote function.
* libnautilus-extensions/nautilus-program-choosing.h:
* libnautilus-extensions/nautilus-program-choosing.c:
(nautilus_launch_application_parented): Use a URI by default, and
a path only for applications that can't use URIs.
(nautilus_launch_application_from_command): Quote the parameter
for the shell with the new nautilus_shell_quote function.
2000-09-13 J Shane Culpepper <pepper@eazel.com>
* components/services/summary/nautilus-view/nautilus-summary-view.c
: (generate_summary_form), (generate_service_entry_row):
Quick snapshot of what I have done so that I can pick changes that
fixed nautilus breakage.
2000-09-13 Andy Hertzfeld <andy@eazel.com>
* src/nautilus-sidebar-tabs.c: (draw_tab_piece_aa):
fixed bug 2983, sidebar tabs don't handle missing images well, by
checking for a null pixbuf in draw_tab_piece_aa.
2000-09-13 Darin Adler <darin@eazel.com>
Fixed uninitialized variable problems found by compiling with -O
on. Thanks to Michael Meeks for pointing these out.
* libnautilus-extensions/nautilus-icon-canvas-item.c:
(draw_or_measure_label_text_aa): Added some otherwise-gratuitous
code that will make the uninitialized-variable warning quiet down.
* libnautilus-extensions/nautilus-volume-monitor.c:
(nautilus_volume_monitor_mount_unmount_removable): Added some
otherwise-gratuitous code that will make the
uninitialized-variable warning quiet down.
* src/file-manager/fm-icon-view.c: (insert_one_context_menu_item):
Initialize a variable even in the "not reached" case.
* src/nautilus-switchable-search-bar.c: (real_activate): Moved the
default "not reached" case so that when asserts are off we don't
have an uninitialized variable bug.
2000-09-13 Darin Adler <darin@eazel.com>
Fixed the ref. count problem that was causing crash on startup
with sidebar panels on. Sorry, I was a bit careless with my
earlier check-in.
* src/nautilus-window.c: (nautilus_window_add_sidebar_panel),
(nautilus_window_remove_sidebar_panel): Keep a reference to a sidebar
panel as long as it's in the sidebar panel list.
(window_update_sidebar_panels_from_preferences): Got rid of an extra
ref in this code that's no longer needed.
* src/nautilus-window-manage-views.c:
(nautilus_window_has_really_changed): Turned sidebars back on.
(report_sidebar_panel_failure_to_user): Added _() around some strings
that require translation.
(nautilus_window_update_state): Used nautilus_gtk_object_list_free to
save some code.
* libnautilus-extensions/nautilus-file.c:
(get_id_from_digit_string): Made this function simpler by using
a local variable instead of g_new.
* libnautilus-extensions/nautilus-glib-extensions.h:
* libnautilus-extensions/nautilus-glib-extensions.c:
(nautilus_setenv), (nautilus_unsetenv): Renamed to get rid of the
gratuitous g prefix. Also fixed some comments to be more accurate.
Added a prototype for a shell escape function -- haven't written
the function yet, but I will shortly.
* src/nautilus-first-time-druid.c:
(next_proxy_configuration_page_callback), (set_http_proxy),
(attempt_http_proxy_autoconfigure): Take out some g_message calls
and use the nautilus_setenv call by its new name.
* src/nautilus-main.c: (main): Use nautilus_unsetenv by the new name.
* src/nautilus-shell.c: (corba_restart): Use nautilus_setenv by
the new name.
2000-09-13 Andy Hertzfeld <andy@eazel.com>
* src/nautilus-zoom-control.c: (draw_number):
fixed bug 2181, number in zoom control is left justified at first.
Fixed by using the widget->allocation.width in the centering
calculation, instead of the passed-in box width.
2000-09-13 Andy Hertzfeld <andy@eazel.com>
* src/nautilus-window-manage-views.c:
(nautilus_window_has_really_changed):
Temporarily disabled sidebar panels so that Nautilus doesn't crash
on startup. Darin or Maciej will need to do a real fix.
2000-09-13 Gene Z. Ragan <gzr@eazel.com>
More work on tree view UI issues.
* libnautilus-extensions/nautilus-ctree.c:
(nautilus_ctree_class_init), (nautilus_ctree_init),
(nautilus_ctree_event), (nautilus_ctree_draw_expander),
(nautilus_ctree_draw_node):
* libnautilus-extensions/nautilus-ctree.h:
2000-09-13 Michael Engber <engber@eazel.com>
Added a fixme + misc cleanup while investigating
bugs 3022 and 3038
* libnautilus-extensions/nautilus-background.c:
(nautilus_background_set_image_uri_no_emit),
(nautilus_background_set_image_uri),
(nautilus_background_receive_dropped_background_image):
* libnautilus-extensions/nautilus-directory-background.c:
(nautilus_directory_background_read_desktop_settings),
(nautilus_directory_background_event_filter):
2000-09-13 Darin Adler <darin@eazel.com>
Fixed bug 2916 "Shouldn't be able to create new items in trash."
* libnautilus-extensions/nautilus-file.c:
(nautilus_file_is_in_trash): Made this return TRUE for the trash
itself.
2000-09-13 Darin Adler <darin@eazel.com>
* libnautilus-extensions/nautilus-file.c:
(nautilus_file_get_string_attribute_with_default),
(nautilus_file_get_top_left_text): Unmark strings that are
unlikely candidates for localization at the request of one of the
translators (menthos).
* libnautilus-extensions/nautilus-icon-canvas-item.c:
(draw_or_measure_label_text), (draw_or_measure_label_text_aa):
Move line break characters into a separate string constant, in
part to make the comment about why it's localizable appear in the
pot file.
* src/file-manager/fm-properties-window.c:
(directory_contents_value_field_update): Unmark strings that are
unlikely candidates for localization at the request of one of the
translators (menthos).
2000-09-13 J Shane Culpepper <pepper@eazel.com>
* components/services/nautilus-dependent-shared/icons/Makefile.am:
* components/services/summary/nautilus-view/nautilus-summary-view.c
: (generate_summary_form), (generate_service_entry_row),
(generate_eazel_news_entry_row), (generate_update_news_entry_row),
(maintenance_button_cb):
More work on the summary view xml voodoo. Still a few more problems
but getting close to complete.
2000-09-13 Darin Adler <darin@eazel.com>
Fixed bugs in Nautilus link management, some other minor problems
I encountered along the way, and did the first cut at a state
machine for NautilusViewFrame based on Maciej's design that can
mostly replace the super-complicated one for NautilusWindow.
* README: We no longer can use the ORBit that comes with HC1.2
with cvs HEAD, since warnings have been fixed in the code
generated by the newer ORBit, so fix that line in the README.
* libnautilus-extensions/nautilus-directory.c:
(nautilus_directory_new): Use the new nautilus_uri_is_trash
function to avoid hard-coding incorrect checks for "trash:".
(nautilus_directory_copy_move_metadata_key): Make simple fix for
empty metadata. This code gets replaced soon anyway.
* libnautilus-extensions/nautilus-drag.c:
(nautilus_drag_can_accept_item): Simplify code to get rid of
illegal sync. I/O. It's OK to assume all NautilusLink objects
point to directories for now, and if we make a change to do
something fancier later, we have to do it with async.
(nautilus_drag_default_drop_action_for_icons): Use the new
nautilus_uri_is_trash function to avoid hard-coding incorrect
checks for "trash:".
* libnautilus-extensions/nautilus-drag.h: Fixed a typo.
* libnautilus-extensions/nautilus-file-operations.c:
(get_link_name): Fix unintialized variable warning in a simple
way that avoids adding too much code.
(get_duplicate_name): Fix unintialized variable warning in a
simple way that avoids adding too much code.
(nautilus_file_operations_copy_move): Use the new
nautilus_uri_is_trash function to avoid hard-coding incorrect
checks for "trash:".
* libnautilus-extensions/nautilus-file-utilities.h:
* libnautilus-extensions/nautilus-file-utilities.c:
(nautilus_uri_is_trash): Add new function to avoid hard-coding
incorrect checks for "trash:".
(nautilus_make_uri_canonical), Use nautilus_uri_is_trash.
* libnautilus-extensions/nautilus-icon-container.h:
* libnautilus-extensions/nautilus-icon-container.c:
Remove nautilus_icon_container_trash_link_is_in_selection for 3
reasons. It doesn't belong in NautilusIconContainer, the use of it
in drag code was incorrectly looking at the destination
directory's selection, and it used sync. I/O.
* libnautilus-extensions/nautilus-icon-dnd.c:
(selection_includes_trash),
(nautilus_icon_container_receive_dropped_icons):
Changed code to actually check selection -- the old code would
check the selection in the target window. Unfortunately this still
uses sync. I/O, but that's now covered by bug 3020.
* libnautilus-extensions/nautilus-icon-factory.c:
(nautilus_icon_factory_get_icon_for_file): Change to use new
"local" API for links to make it clear that it uses sync. I/O and
only works on local files.
* libnautilus-extensions/nautilus-link.h:
* libnautilus-extensions/nautilus-link.c: (get_tag),
(get_link_type): Added functions to handle tags internally as part
of getting rid of tag string values from the API.
(nautilus_link_local_create): Changed name to local to emphasize this
takes a path not a URI and uses sync. I/O.
(local_set_root_property): Share code among the set
functions. Before there were a lot of copies of the same
code. Also made sure that it does no rewrite of the file if called
to set a property to the same value it already has.
(nautilus_link_local_set_icon),
(nautilus_link_local_set_link_uri),
(nautilus_link_local_set_type): Changed name to local to emphasize
these take a path not a URI and use sync. I/O. Reimplement by
calling local_set_root_property.
(nautilus_link_local_get_additional_text): Change name to local
and make it take a path instead of a URI to make it clear it uses
sync. I/O and doesn't work on remote URIs.
(nautilus_link_local_get_image_uri): Change name to local and make
it take a path instead of a URI to make it clear it uses sync.
I/O and doesn't work on remote URIs.
(nautilus_link_local_get_link_uri): Change name to local and make
it take a path instead of a URI to make it clear it uses sync.
I/O and doesn't work on remote URIs.
(nautilus_link_local_get_link_type): Change return value to be the
NautilusLinkType enum instead of the type tag string to make the
interface cleaner. Also changed name to local to make it clear
that it takes a path instead of a URI and uses sync. I/O.
(nautilus_link_local_is_volume_link),
(nautilus_link_local_is_home_link),
(nautilus_link_local_is_trash_link): Changed all three of these to
take advantage of the new simpler get_link_type, and changed name
to local to make it clear that they take a path instead of a URI
and use sync. I/O.
* src/file-manager/fm-desktop-icon-view.c: (create_mount_link):
Use call by new "local" name.
(trash_link_is_selection): Call new "local" function, which now
requires a path rather than a URI.
(fm_desktop_icon_view_trash_state_changed_callback): Use call by
new "local" name.
(volume_unmounted_callback): Fix bug where the unmounted callback
was using a path as a URI without converting.
(find_and_update_home_link): Use call by new "local" name.
(place_home_directory): Use call by new "local" name.
(find_and_rename_trash_link): Use call by new "local" name.
(create_or_rename_trash): Use call by new "local" name.
(remove_old_mount_links): Use call by new "local" name.
(get_sort_category): Use new get_link_type call and a case
statement instead of the old one and a list of string compares.
* src/file-manager/fm-directory-view.c:
(fm_directory_trash_link_in_selection): Wrote a new version of
this function. This is similar to what was in
NautilusIconContainer, but the one in there didn't belong there,
and didn't really work for other callers. Also, the one in there
didn't work at all for the list view case. This new function works
for either icon or list view. It still has the limitation that it
won't recognize a trash link if it's not local.
* src/file-manager/fm-icon-view.c:
(get_icon_drop_target_uri_callback): Fix to use new local calls, but
still does sync. I/O. Bug 3020 reported about that.
(get_icon_text_callback): Changed to use new local calls. Still a
problem that it works only locally and uses sync. I/O. Bug 2531 was
already reported about that.
* src/file-manager/fm-properties-window.c:
(get_and_ref_file_to_display): Changed to use new local calls and the
simpler link type interface.
* src/nautilus-view-frame-private.h: Moved some private
declarations here since they are for objects used in one file and
declared in another.
* src/nautilus-view-frame.h:
* src/nautilus-view-frame.c: (nautilus_view_frame_destroy_client):
Destroy the "check if view is gone" timeout here; makes more sense
than the way it was managed before.
(nautilus_view_frame_destroy): Don't destroy the timeout here any
more. Also, label was moved into details.
(nautilus_view_frame_handle_client_gone): Renamed from
handle_client_destroy_2.
(view_frame_wait), (view_frame_underway),
(view_frame_wait_is_over), (view_frame_loaded),
(view_frame_failed): Added functions to implement view frame state
machine transitions.
(check_if_view_is_gone): Moved code to check if view is gone here;
it's now activated automatically without requiring an explicit
call to turn it on, since all callers were turning it on at
load_client time.
(nautilus_view_frame_load_client): Add state management. Moved the
code to turn on the object check timeout here.
(nautilus_view_frame_load_location): Add state management.
(nautilus_view_frame_open_location): Add state management.
(nautilus_view_frame_open_location_in_new_window): Add state management.
(nautilus_view_frame_open_in_new_window_and_select): Add state management.
(nautilus_view_frame_report_location_change): Add state management.
(nautilus_view_frame_report_selection_change): Add state management.
(nautilus_view_frame_report_status): Add state management.
(nautilus_view_frame_report_load_underway): Add state management.
(nautilus_view_frame_report_load_progress): Add state management.
(nautilus_view_frame_report_load_complete): Add state management.
(nautilus_view_frame_report_load_failed): Add state management.
(nautilus_view_frame_set_title): Add state management.
(nautilus_view_frame_zoom_level_changed): Add state management.,
(nautilus_view_frame_get_label), (nautilus_view_frame_set_label):
Moved label into details structure.
* src/nautilus-window-manage-views.c:
(nautilus_window_load_sidebar_panel): Fixed code structure a bit
(fixes bug 2463) and got rid of call to old
nautilus_view_frame_set_active_errors function, which is no longer
needed.
(nautilus_window_load_content_view): Got rid of call to old
nautilus_view_frame_set_active_errors function, which is no longer
needed.
* src/nautilus-window.c:
(window_update_sidebar_panels_from_preferences): Got rid of call
to old nautilus_view_frame_set_active_errors function, which is no
longer needed.
2000-09-13 Pavel Cisler <pavel@eazel.com>
* libnautilus-extensions/nautilus-file-operations.c:
(icon_position_iterator_new):
Remove an extra unescape call that worked around an escaping
bug in the copy engine. This bug is now fixed in Gnome VFS
and the workaround is not needed any more.
2000-09-12 Robey Pointer <robey@eazel.com>
* components/rpmview/nautilus-rpm-view-install.c:
(nautilus_rpm_view_finished_working),
(nautilus_rpm_view_install_done), (nautilus_service_need_password),
(nautilus_service_try_again),
(nautilus_rpm_view_install_package_callback),
(nautilus_rpm_view_uninstall_package_callback):
* components/rpmview/nautilus-rpm-view-private.h:
* components/rpmview/nautilus-rpm-view.c:
(nautilus_rpm_view_destroy), (nautilus_rpm_view_update_from_uri):
Move private fields to a shared header. Make the password query
dialog work just like the installer's (ability to abort, stop
trying after 3 times, etc). Grey out install/uninstall buttons
while working. Clean up resources to avoid coredumps or getting
into a screwy state.
2000-09-12 Andy Hertzfeld <andy@eazel.com>
* libnautilus-extensions/nautilus-icon-factory.c:
(load_thumbnail_frame), (nautilus_icon_factory_make_thumbnails):
fixed bug 2567, thumbnail frame size hardwired, by fetching the
frame offsets from the theme.
* icons/default.xml:
added thumbnail frame offsets for default frame to default theme
2000-09-12 John Sullivan <sullivan@eazel.com>
Fixed part of bug 1537 (double-clicking in single-click
mode and open-in-new-window mode opens 2 windows).
Modes suck. Anyway, this was two separate bugs, one in
list view and one in icon view. I fixed the list view
one. The icon view one is more complicated, because
there was already code to handle this case but it doesn't
work right, and it isn't obvious how to fix it.
* libnautilus-extensions/nautilus-list.c:
(nautilus_list_button_press): Ignore 2nd click of
double-click if in single-click mode.
2000-09-12 Michael Engber <engber@eazel.com>
Dragging a image onto a background not clears the
background color setting. Bug 1899.
* libnautilus-extensions/nautilus-background.c:
(nautilus_background_set_image_uri),
(nautilus_background_receive_dropped_background_image):
* libnautilus-extensions/nautilus-directory-background.c:
(saved_settings_changed_callback):
2000-09-12 John Sullivan <sullivan@eazel.com>
Fixed bug 2020 (really long URIs make "can't go there"
dialogs insanely wide)
* src/nautilus-window-manage-views.c:
(nautilus_window_end_location_change_callback): Use
magic Ramiro truncating technology to display
middle-truncated URI if it's more than a certain number
of characters wide.
2000-09-13 Ali Abdin <aliabdin@aucegypt.edu>
Fixed a few typos. Add in preliminary support for QUESTION/ANWSER tags
First stab at getting book/chapter support in (Bug #2325) - It works
as I want it to, but we may encounter bugs.
This check-in is largely based on a patch by jfleck@inkstain.net (but
I heavily modified it)
* components/help/converters/gnome-db2html2/gdb3html.[ch]:
Add question/answer/chapter tags to the list.
(sect1_start_element): Renamed to 'sect1id_stack_add'
New 'DocType' datatype (added to Context struct)
(book_start_element): New function
(article_start_element): Set the doctype. Fix to Eazel style.
* components/help/converters/gnome-db2html2/sect-elements.[ch]:
Fix a typo to make the computeroutput tag really work.
Plug in the QUESTION/ANSWER/CHAPTER tags
(sect_table_without_border_start_element): I thought I fixed this bug
(forgot a '<')
(sect_question_start_element): New function
(sect_answer_start_element): ditto
(sect_sect_start_element),
(sect_sect_end_element),
(sect_para_start_element),
(sect_para_end_element),
(sect_title_start_element),
(sect_title_end_element),
(sect_title_characters): Support for CHAPTER tag
* components/help/converters/gnome-db2html2/toc-elements.c:
There were a few typos here. Extended the table down all the way to
CHAPTERS
(toc_sect_end_element),
(toc_title_start_element),
(toc_title_end_element),
(toc_title_characters),
(toc_sect_start_element): Add support for chapter tag.
* components/help/converters/gnome-db2html2/sect-preparse.c:
Extend the table down all the way to CHAPTERS.
(sect_preparse_sect_start_element): Add in support for chapter tags.
Also update for function rename.
(sect_preparse_title_characters): ditto
(sect_preparse_set_doctype): Set the document type depending on the
tag name
2000-09-12 Andy Hertzfeld <andy@eazel.com>
* src/nautilus-location-bar.c: (accumulate_name),
(try_to_expand_path):
fixed bug where it couldn't expand uris containing blanks or other
escaped characters, by calling gnome_vfs_unescape_string on the
basename before using it for comparison.
2000-09-13 Mathieu Lacage <mathieu@eazel.com>
* src/file-manager/Makefile.am: fix build for strange prefix.
add a MEDUSA_CFLAGS.
2000-09-12 John Sullivan <sullivan@eazel.com>
Fixed bug 1649 (keyboard focus stays in location bar when
you click in icon or list view)
* libnautilus-extensions/nautilus-icon-container.c:
(button_press_event): grab the focus
* libnautilus-extensions/nautilus-list.c:
(nautilus_list_button_press): grab the focus
2000-09-12 Gene Z. Ragan <gzr@eazel.com>
More work on bug 1595
* libnautilus-extensions/nautilus-ctree.c:
* libnautilus-extensions/nautilus-ctree.h:
(nautilus_ctree_draw_expander),
(tree_draw_node), (row_new), (nautilus_ctree_insert_node):
More code to handle click and hold cases.
(nautilus_ctree_draw_node)
Created a public function to cause a tree node to be redrawn
* components/tree/nautilus-tree-view.c:
Replace gtk_widget_queue_redraw () with new
nautilus_ctree_draw_node ()
Fixed logic so a mouse click and drag on expander and then
out of the twisty hot spot properly resets expander to
unclicked state.
2000-09-12 John Sullivan <sullivan@eazel.com>
Fixed bug 1305 (Selecting file with really long name makes
window wider)
* libnautilus-extensions/nautilus-any-width-bin.h:
* libnautilus-extensions/nautilus-any-width-bin.c:
(nautilus_any_width_bin_initialize_class),
(nautilus_any_width_bin_initialize), (nautilus_any_width_bin_new),
(nautilus_any_width_bin_size_request): New files, implementing
new bin class that ignores its children's clamorous pleas for
width but generously distributes any width it obtains to them.
* libnautilus-extensions/Makefile.am: Add new files to build.
* src/nautilus-window.c:
(install_status_bar): New function, installs status bar into
a nautilus_any_width_bin. Now the status bar won't cause the
window to resize no matter how long the text is.
(nautilus_window_constructed): Call install_status_bar instead
of gnome_app_set_statusbar.
2000-09-12 Mathieu Lacage <mathieu@eazel.com>
* src/nautilus-sidebar.c: (nautilus_sidebar_press_event):
fix bug 2685. the fix is a 3 liner. evil gtk.
2000-09-12 Pavel Cisler <pavel@eazel.com>
* src/nautilus-throbber.c: (nautilus_throbber_destroy),
(nautilus_throbber_remove_update_callback),
(nautilus_throbber_stop):
Fix a bug in the throbber that I ran into -- the timeout callback was
being called after the throbber got destroyed.
2000-09-12 John Sullivan <sullivan@eazel.com>
Fixed bug 884 (Long URI in Go menu doesn't get cut off)
Fixed bug 2667 (Really long bookmark titles stretch bookmarks menu)
* libnautilus-extensions/nautilus-gtk-extensions.h:
* libnautilus-extensions/nautilus-gtk-extensions.c:
(nautilus_truncate_text_for_menu_item): New function,
uses nautilus_str_middle_truncate to create a string
that isn't ridiculously long.
* libnautilus-extensions/nautilus-bookmark.c:
(nautilus_bookmark_menu_item_new): Use new function to
keep the menu items in the Back/Forward context menus
from getting too wide.
* src/nautilus-window-menus.c: (append_bookmark_to_menu):
Use new function to keep the menu items in the Go and
Bookmarks menus from getting too wide.
2000-09-12 Gene Z. Ragan <gzr@eazel.com>
Work in progress on making the expander UI in the tree view
more responsive to the user.
* libnautilus-extensions/Makefile.am:
Added two new files to the build,
nautilus-ctree.c
nautilus-ctree.h
I may subclass as I learn more about what needs to be
modified to add the functionality we need.
* components/tree/nautilus-tree-view.c: (insert_hack_node),
* components/tree/nautilus-tree-view.h:
(remove_hack_node), (freeze_if_have_hack_node),
(nautilus_tree_view_insert_model_node):
Experimenting with the right way to add new feature.
* libnautilus-extensions/nautilus-ctree.c:
* libnautilus-extensions/nautilus-ctree.h:
(COLUMN_FROM_XPIXEL),
(nautilus_ctree_get_type), (nautilus_ctree_class_init),
(nautilus_ctree_set_arg), (nautilus_ctree_get_arg),
(nautilus_ctree_init), (ctree_attach_styles),
(ctree_detach_styles), (nautilus_ctree_realize),
(nautilus_ctree_unrealize), (nautilus_ctree_button_press),
(draw_drag_highlight), (draw_cell_pixmap), (get_cell_style),
(nautilus_ctree_draw_expander), (nautilus_ctree_draw_lines),
(draw_row), (tree_draw_node), (nautilus_ctree_last_visible),
(nautilus_ctree_link), (nautilus_ctree_unlink), (real_row_move),
(real_tree_move), (change_focus_row_expansion), (real_tree_expand),
(real_tree_collapse), (column_auto_resize), (auto_resize_columns),
(cell_size_request), (set_cell_contents), (set_node_info),
(tree_delete), (tree_delete_row), (tree_update_level),
(tree_select), (tree_unselect), (tree_expand), (tree_collapse),
(tree_collapse_to_depth), (tree_toggle_expansion), (row_new),
(row_delete), (real_select_row), (real_unselect_row),
(real_tree_select), (real_tree_unselect), (select_row_recursive),
(real_select_all), (real_unselect_all), (ctree_is_hot_spot),
(nautilus_ctree_construct), (nautilus_ctree_new_with_titles),
(nautilus_ctree_new), (real_insert_row),
(nautilus_ctree_insert_node), (nautilus_ctree_insert_gnode),
(nautilus_ctree_export_to_gnode), (real_remove_row),
(nautilus_ctree_remove_node), (real_clear),
(nautilus_ctree_post_recursive),
(nautilus_ctree_post_recursive_to_depth),
(nautilus_ctree_pre_recursive),
(nautilus_ctree_pre_recursive_to_depth),
(nautilus_ctree_is_viewable), (nautilus_ctree_last),
(nautilus_ctree_find_node_ptr), (nautilus_ctree_node_nth),
(nautilus_ctree_find), (nautilus_ctree_is_ancestor),
(nautilus_ctree_find_by_row_data),
(nautilus_ctree_find_all_by_row_data),
(nautilus_ctree_find_by_row_data_custom),
(nautilus_ctree_find_all_by_row_data_custom),
(nautilus_ctree_is_hot_spot), (nautilus_ctree_move),
(nautilus_ctree_expand), (nautilus_ctree_expand_recursive),
(nautilus_ctree_expand_to_depth), (nautilus_ctree_collapse),
(nautilus_ctree_collapse_recursive),
(nautilus_ctree_collapse_to_depth),
(nautilus_ctree_toggle_expansion),
(nautilus_ctree_toggle_expansion_recursive),
(nautilus_ctree_select), (nautilus_ctree_unselect),
(nautilus_ctree_select_recursive),
(nautilus_ctree_unselect_recursive),
(nautilus_ctree_real_select_recursive),
(nautilus_ctree_node_set_text), (nautilus_ctree_node_set_pixmap),
(nautilus_ctree_node_set_pixtext), (nautilus_ctree_set_node_info),
(nautilus_ctree_node_set_shift), (remove_grab),
(nautilus_ctree_node_set_selectable),
(nautilus_ctree_node_get_selectable),
(nautilus_ctree_node_get_cell_type),
(nautilus_ctree_node_get_text), (nautilus_ctree_node_get_pixmap),
(nautilus_ctree_node_get_pixtext), (nautilus_ctree_get_node_info),
(nautilus_ctree_node_set_cell_style),
(nautilus_ctree_node_get_cell_style),
(nautilus_ctree_node_set_row_style),
(nautilus_ctree_node_get_row_style),
(nautilus_ctree_node_set_foreground),
(nautilus_ctree_node_set_background),
(nautilus_ctree_node_set_row_data),
(nautilus_ctree_node_set_row_data_full),
(nautilus_ctree_node_get_row_data), (nautilus_ctree_node_moveto),
(nautilus_ctree_node_is_visible), (nautilus_ctree_set_indent),
(nautilus_ctree_set_spacing), (nautilus_ctree_set_show_stub),
(nautilus_ctree_set_line_style), (tree_sort),
(nautilus_ctree_sort_recursive), (real_sort_list),
(nautilus_ctree_sort_node), (fake_unselect_all), (selection_find),
(resync_selection), (real_undo_selection),
(nautilus_ctree_set_drag_compare_func), (check_drag),
(drag_dest_info_destroy), (drag_dest_cell),
(nautilus_ctree_drag_begin), (nautilus_ctree_drag_motion),
(nautilus_ctree_drag_data_received):
New source files
2000-09-12 Gene Z. Ragan <gzr@eazel.com>
Fixed bug 2992, Should not be able to context drag
Trash to link or duplicate
* libnautilus-extensions/nautilus-icon-container.c:
* libnautilus-extensions/nautilus-icon-container.h:
(nautilus_icon_container_trash_link_is_in_selection):
Renamed function and pass in NautilusIconContainer
that selection is retrieved from.
* libnautilus-extensions/nautilus-icon-dnd.c:
(nautilus_icon_container_receive_dropped_icons):
Check and see if any special cases are in the
selection. For now, this is only the Trash link.
* src/file-manager/fm-directory-view.c:
(fm_directory_trash_link_in_selection):
Changed function internal to call
nautilus_icon_container_trash_link_is_in_selection
2000-09-12 John Sullivan <sullivan@eazel.com>
Fixed bug 2668 (Switching to Search mode should move the
focus to the search text field).
* src/nautilus-navigation-bar.h: Added signal and public
function for nautilus_navigation_bar_activate.
* src/nautilus-navigation-bar.c:
(nautilus_navigation_bar_initialize_class): Wire up
activate signal; default function is NULL.
(nautilus_navigation_bar_activate): New function, emits
signal.
* src/nautilus-switchable-navigation-bar.h:
* src/nautilus-switchable-navigation-bar.c:
Defined a NautilusSwitchableNavigationBarDetails struct,
and moved implementation details into it. Set the types
of the fields in this struct to reflect actual needs,
instead of using GtkWidget and casting up to other
classes.
(nautilus_switchable_navigation_bar_initialize): Create
details struct.
(nautilus_switchable_navigation_bar_destroy): New function,
free details struct.
(nautilus_switchable_navigation_bar_initialize_class):
Wire up destroy handler.
(nautilus_switchable_navigation_bar_set_mode): Call
nautilus_navigation_bar_activate on switched-to bar.
(nautilus_switchable_navigation_bar_get_mode),
(nautilus_switchable_navigation_bar_get_location),
(nautilus_switchable_navigation_bar_set_location): Updated
to use bar->details.
* src/nautilus-switchable-search-bar.c:
(nautilus_switchable_search_bar_initialize_class):
Wire up activate signal to real_activate.
(real_activate): Call nautilus_navigation_bar_activate
on the current search bar.
* src/nautilus-simple-search-bar.c:
(nautilus_simple_search_bar_initialize_class): Wire up
activate signal to real_activate.
(real_activate): Set focus to text field.
* src/nautilus-complex-search-bar.c:
(nautilus_complex_search_bar_initialize_class): Wire up
activate signal to real_activate.
(get_first_text_field): New helper function to find the
first text field in a search criterion (or NULL).
(real_activate): Set focus to first text field.
2000-09-11 Pavel Cisler <pavel@eazel.com>
* libnautilus-extensions/nautilus-directory-notify.h:
* libnautilus-extensions/nautilus-directory.c:
* libnautilus-extensions/nautilus-file-changes-queue.c:
* libnautilus-extensions/nautilus-file-changes-queue.h:
* libnautilus-extensions/nautilus-file-operations.c:
(icon_position_iterator_new), (icon_position_iterator_free),
(create_xfer_dialog), (handle_xfer_vfs_error),
(apply_one_position), (sync_xfer_callback),
(nautilus_file_operations_copy_move),
(nautilus_file_changes_queue_schedule_position_setting),
(position_setting_list_free),
(nautilus_directory_set_icon_position),
(nautilus_directory_schedule_metadata_copy),
(nautilus_directory_schedule_metadata_move),
(nautilus_file_changes_consume_changes),
(nautilus_directory_schedule_position_setting):
Work in progress on saving drop locations during a copy/move operation.
Add a new NautilusFileChangesQueue element type to handle scheduling
of the position saving operation. Hook it up to a call that saves the
icon position into the metadata.
Add icon position handling to the synchronous copy engine callback.
* libnautilus-extensions/nautilus-icon-container.h:
* libnautilus-extensions/nautilus-icon-dnd.c:
(handle_nonlocal_move):
Pass relative icon positions (FIXME 626).
* src/file-manager/fm-directory-view.c:
(fm_directory_view_move_copy_items):
* src/file-manager/fm-directory-view.h:
* src/file-manager/fm-icon-view.c: (icon_view_move_copy_items):
Add drop location to relative icon positions to get correct icon drop
placement.
* libnautilus-extensions/nautilus-file-operations.c:
(get_link_name), (get_duplicate_name), (handle_xfer_duplicate):
Rework a bit, fix a leak (FIXME 2556).
* libnautilus-extensions/nautilus-file-operations.c:
(nautilus_file_operations_copy_move),
Fix a leak.
* libnautilus-extensions/nautilus-file-operations.c:
(create_xfer_dialog):
Fix a bug in dialog result handling code.
* libnautilus-extensions/nautilus-drag.h:
Some minor tweaks
2000-09-12 Andy Hertzfeld <andy@eazel.com>
* src/nautilus-zoom-control.c: (draw_number):
fixed bug 2979, numbers in zoom control need to prelight, too.
2000-09-12 Andy Hertzfeld <andy@eazel.com>
* components/music/nautilus-music-view.c: (determine_attribute):
fixed bug 2160, don't display album title and artist for mixed
directories in music view.
2000-09-11 Andy Hertzfeld <andy@eazel.com>
* libnautilus-extensions/nautilus-icon-text-item.c:
(fetch_themed_color), (iti_paint_text):
fixed bug 2568, hardwired colors in icon_text_item, by fetching
them from the theme
* libnautilus-extensions/nautilus-theme.c:
(nautilus_theme_get_theme_data):
made the theme machinery look in the default theme when it can't find
a property in the current theme
* icons/default.xml:
defined default icon text colors
2000-09-11 Robey Pointer <robey@eazel.com>
* components/services/install/nautilus-view/nautilus-service-instal
l-view.c: (dig_up_errors), (nautilus_service_install_failed):
Show a detailed error message when an install fails for some
non-trivial reason.
2000-09-11 Robey Pointer <robey@eazel.com>
* components/services/install/nautilus-view/nautilus-service-instal
l-view.c: (nautilus_service_install_view_initialize),
(reply_callback), (nautilus_service_install_preflight_check),
(nautilus_service_install_download_failed),
(nautilus_service_install_done), (nautilus_service_install_failed),
(nautilus_service_install_delete_files),
(nautilus_service_install_view_update_from_uri),
(nautilus_service_install_view_load_uri),
(service_install_load_location_callback),
(service_install_stop_loading_callback):
* components/services/install/nautilus-view/nautilus-service-instal
l-view.h:
Add dialog to ask for confirmation during preflight check (give
the user one last chance to back out after downloading, before
installing). Add dialog to ask whether finished RPM files should
be deleted.
2000-09-11 Seth Nickell <seth@eazel.com>
* helper-utilities/authenticate/nautilus-authenticate-pam.c:
(pam_conversion_func), (nautilus_authenticate_authenticate):
Fix function prototype problem with PAM on Linux.
* libnautilus/nautilus-view-component.idl:
Commented FIXMEs better.
2000-09-11 Eskil Heyn Olsen <eskil@eazel.com>
* nautilus-installer/src/installer.c: (install_failed):
Fixme comment.
2000-09-11 Seth Nickell <seth@eazel.com>
* configure.in:
Add checks to fix things on Solaris regarding mounting,
environment variables, and fonts.
Added tests for compiler warning flags that are not supported
with all versions of GCC.
* helper-utilities/authenticate/nautilus-authenticate-pam.c:
(pam_conversion_func):
Remove "const" from system call for compatibility with Solaris.
* libnautilus-extensions/nautilus-file.c:
(get_id_from_digit_string):
uid_t != int, so change functions converting from string to
uid_t to deal with greater bit uids properly.
* libnautilus-extensions/nautilus-glib-extensions.h:
* libnautilus-extensions/nautilus-glib-extensions.c:
(nautilus_g_setenv), (nautilus_g_unsetenv):
Add system gnostic functions for setting and removing variables
from the environment.
* libnautilus-extensions/nautilus-scalable-font.c:
(initialize_global_stuff_if_needed):
Temporary fix to deal with the absence of "RedHat-style" font
paths on Solaris and Debian whilst font paths are still
hard-coded.
* libnautilus-extensions/nautilus-volume-monitor.c:
(nautilus_volume_monitor_get_volume_name),
(nautilus_volume_monitor_volume_is_mounted),
(mount_volumes_update_is_mounted), (mnttab_add_mount_volume),
(mntent_add_mount_volume), (find_volumes):
Rewrite sections to use the appropriate Solaris mounting
functions if Linux-style mount/umount/mount-table manipulation
functions are not available.
* libnautilus/nautilus-view-component.idl:
* src/nautilus-view-frame-corba.c:
* src/nautilus-zoomable-frame-corba.c:
(impl_Nautilus_ZoomableFrame_report_zoom_level_changed):
Change doubles to floats to work around an ORBit problem on
Solaris wherein doubles are not correctly aligned.
* src/file-manager/fm-desktop-icon-view.c:
remove gratuitous linux specific header inclusion
* src/nautilus-first-time-druid.c: (set_http_proxy):
* src/nautilus-main.c: (main):
* src/nautilus-shell.c: (corba_restart):
(impl_Nautilus_ViewFrame_report_load_progress):
Changed "setenv" and "unsetenv" calls to use nautilus_g_setenv
and nautilus_g_unsetenv.
* src/nautilus-window-manage-views.c:
(report_sidebar_panel_failure_to_user):
Add better error message to sidebar failures where it can't
figure out which sidebar failed. Done in order to fix null
string being passed to dialogue function which segfaulted
Nautilus on Solaris.
2000-09-11 Robey Pointer <robey@eazel.com>
* components/services/trilobite/libtrilobite/trilobite-root-helper.
c: (discard_line), (eazel_helper_start), (eazel_helper_password):
Fix up the root-helper to work with usermode 1.28 and 1.35 (which
send new status messages and change the protocol a lot).
2000-09-11 Eskil Heyn Olsen <eskil@eazel.com>
* components/services/install/lib/eazel-install-metadata.c:
(done_with_gconf), (check_gconf_init), (get_conf_string),
(get_conf_int), (get_conf_boolean):
#ifdef magic to make the SLIM version always use the default, and
spare the bootstrap installer of having to link with gconf.
* components/services/install/lib/eazel-install-protocols.c:
(get_url_for_package):
Uses malloc for the putenv value.
Fixed a evil g_free.
* components/services/install/lib/eazel-install-query.c:
(eazel_install_simple_rpm_query):
Commented out a g_message,
* components/services/install/lib/eazel-install-rpm-glue.c:
(eazel_install_download_packages),
(eazel_install_check_for_file_conflicts),
Don't conflict with same package or if the file is a directory.
(eazel_install_monitor_rpm_propcess_pipe),
Don't print that "panic ensues" thingy...
(eazel_install_fetch_rpm_dependencies):
Do check_existence before check_for_file_conflicts.
* components/services/install/lib/eazel-install-xml-package-list.c:
(parse_osd_xml_from_memory):
commented out a xmlFreeDoc, as it was coredumping on me.
* components/services/trilobite/libtrilobite/trilobite-core-utils.c
: (trilobite_fetch_uri):
* nautilus-installer/src/HACKING:
* nautilus-installer/src/Makefile:
* nautilus-installer/src/installer.c:
(get_detailed_errors_foreach), (get_detailed_errors),
(install_failed), (eazel_install_preflight):
* nautilus-installer/src/link.sh:
Stuff...
2000-09-11 Michael Engber <engber@eazel.com>
Backout change made to fix bug 1899 - it caused problems
for the desktop.
* libnautilus-extensions/nautilus-background.c:
(nautilus_background_set_image_uri_no_emit):
2000-09-11 Andy Hertzfeld <andy@eazel.com>
* libnautilus-extensions/nautilus-entry.c:
(nautilus_entry_initialize), (nautilus_entry_key_press):
fixed bug 2829, location bar should treat TAB like right arrow
when there's a selection, by adding a mode to our entry class to do so.
* libnautilus-extensions/nautilus-entry.h:
defined a "special tab handling mode"
* src/nautilus-location-bar.c: (nautilus_location_bar_initialize):
set the special tab handling mode for the location bar's entry
* src/nautilus-first-time-druid.c: (initiate_file_download):
fixed bug 1826, change "initial update" download to real uri, now using
one specified by Susan Space.
2000-09-11 Ramiro Estrugo <ramiro@eazel.com>
* libnautilus-extensions/nautilus-icon-canvas-item.c:
(measure_label_text), (draw_label_text_aa):
Remove the SMOOTH_FONTS define and code from before aa fonts.
2000-09-11 Rebecca Schulman <rebecka@eazel.com>
* icons/Makefile.am:
* icons/i-search-72.png:
* libnautilus-extensions/nautilus-icon-factory.c:
(nautilus_icon_factory_get_icon_name_for_directory),
(nautilus_icon_factory_get_icon_name_for_file):
Added search icon to the sidebar for search results
2000-09-11 Mathieu Lacage <mathieu@eazel.com>
Fix nautilus part of bug 2906. There are still issues
but they are located in gnome-vfs uri handling code.
* libnautilus-extensions/nautilus-file-operations.c:
(append_basename) : rename from append_basename_unescaped
since it takes escaped uris into account now.
(nautilus_file_operations_copy_move),
(nautilus_file_operations_new_folder),
(nautilus_file_operations_move_to_trash),
(nautilus_file_operations_delete): use gnome_vfs_uri_new
to create new uris from escaped strings.
2000-09-11 John Sullivan <sullivan@eazel.com>
Some cleanups of directory view menu code to share more between
the context menus and menu-bar menus. These had gotten into a
really ugly mess; hopefully this will make them a little more
straightforward to deal with.
* src/file-manager/fm-directory-view.c:
(bonobo_menu_open_callback),
(bonobo_menu_open_in_new_window_callback),
(bonobo_menu_other_program_callback),
(bonobo_menu_move_to_trash_callback),
(bonobo_menu_duplicate_callback),
(bonobo_menu_new_folder_callback),
(bonobo_menu_open_properties_window_callback):
Removed these callbacks, in favor of the use-one-callback-
for-both-gtk-and-bonobo-menus style.
(open_callback),
(open_in_new_window_callback),
(other_application_callback), (other_viewer_callback),
(trash_callback),
(duplicate_callback), (create_link_callback),
(new_folder_callback), (open_properties_window_callback):
Changed these callbacks to work with either gtk or
bonobo menus.
(open_with_other_program): New helper function called
from other_application_callback and other_viewer_callback.
(check_selection_not_empty): New debugging helper function.
(append_gtk_menu_item): Renamed append_gtk_menu_item_with_view,
now it always passes the view as the callback data, and doesn't
store it with gtk_object_set_data anymore.
(fm_directory_view_real_create_background_context_menu_items),
(create_open_with_gtk_menu),
(fm_directory_view_real_create_selection_context_menu_items),
(reset_bonobo_trash_delete_menu), (reset_bonobo_open_with_menu),
(fm_directory_view_real_merge_menus): Updated for API changes.
2000-09-11 J Shane Culpepper <pepper@eazel.com>
* components/services/install/nautilus-view/nautilus-service-instal
l-view.c:
pointing to services.eazel.com instead of ham.eazel.com
* components/services/summary/nautilus-view/nautilus-summary-view.c
: (generate_summary_form), (goto_service_cb), (goto_update_cb):
Working on the different state views determined by the anonymous and
logged in usermodes.
2000-09-11 Andy Hertzfeld <andy@eazel.com>
* components/hardware/nautilus-hardware-view.c:
(get_RAM_description), (setup_form_title), (add_element_to_table),
(setup_overview_form), (setup_CPU_form), (setup_RAM_form),
(setup_IDE_form):
made the hardware view use a table for 2D layout instead of a
horizontal box, since the IDE drives were making it too wide. Also,
removed an obsolete fixme.
2000-09-11 Gene Z. Ragan <gzr@eazel.com>
Fixed bug 818, clicking on .doc and .pdf crashes Nautilus
This was a bug where the action would be to open the document
in an application but the application returned would be NULL
due to some inconsistancy in the mime database. We now check
for this case and default to the componet view if this
situation arises.
* src/file-manager/fm-directory-view.c: (activate_callback):
2000-09-11 John Sullivan <sullivan@eazel.com>
Fixed bug 2938 (Shouldn't open a zillion Properties windows
without asking first). I generalized this bug to include
other multiple-window situations.
* src/file-manager/fm-directory-view.h,
* src/file-manager/fm-directory-view.c:
(get_containing_window): Just moved this function earlier in
the file.
(fm_directory_view_confirm_multiple_windows): New public function,
asks user whether they really want to open some large number
of windows. The cutoff point is determined by a constant,
currently set to 10.
(bonobo_menu_open_in_new_window_callback),
(bonobo_menu_open_properties_window_callback),
(open_in_new_window_callback), (open_properties_window_callback),
(fm_directory_view_activate_files): Confirm before opening
lots o' windows.
* src/file-manager/fm-search-list-view.c:
(reveal_selected_items_callback): Confirm before opening lots o'
windows.
2000-09-11 Michael Engber <engber@eazel.com>
* src/nautilus-main.c: (nautilus_main_event_loop_unregister):
* src/nautilus-shell.c: (corba_quit), (corba_restart):
bug 2942 the quit code now kills all the event loops, not
just the top one.
2000-09-11 Andy Hertzfeld <andy@eazel.com>
* libnautilus-extensions/nautilus-icon-dnd.c:
(nautilus_icon_dnd_begin_drag):
fixed big 914, icons are sometimes semi-transparent when dragged, by
removing the stippled mask code. Someday we'll get this back as
X Windows improves
2000-09-11 John Sullivan <sullivan@eazel.com>
Fixed bug 2317 (Right-click on sidebar uses menu items in
a confusing way)
* src/nautilus-sidebar.c: (nautilus_sidebar_add_panel_items):
The bug was confusion over the gtk_check_menu_item API. It had
been calling set_show_toggle when it meant set_active.
* src/file-manager/fm-list-view.c: Updated a comment.
2000-09-11 Andy Hertzfeld <andy@eazel.com>
* src/nautilus-first-time-druid.c: (set_up_user_level_page),
(set_up_update_page):
fixed bug 2911, "no" option for Nautilus Update doesn't fit, by
shortening the message. Also, cleaned up other layout problems.
2000-09-11 John Sullivan <sullivan@eazel.com>
Fixed bug 2308 ("Where" column should be after "Name" column)
Fixed bug 1931 (Search list columns need better widths)
* src/file-manager/fm-search-list-view.c:
(real_get_column_specification): Switched order of Where/Name
columns, tweaked column widths.
(real_get_link_column): Changed link column number to match
ordering change.
2000-09-11 Gene Z. Ragan <gzr@eazel.com>
Fixed bug 2447, Check permissions when mounting floppy
The check permissions call is not needed.
Fixed bug 2453, Error ignored when mounting/unmounting
We now check for the error.
Fixed bug 2449, Directory path creation does not handle
paths containing ".."
* libnautilus-extensions/nautilus-volume-monitor.c:
(mount_volume_floppy_add), (mount_volume_add_aliases),
(nautilus_volume_monitor_mount_unmount_removable):
2000-09-10 Maciej Stachowiak <mjs@eazel.com>
* configure.in: Add AM_PATH_GTK check
* libnautilus/Makefile.am: include GTK_CFLAGS in INCLUDES
* libnautilus/nautilus-view.c (view_frame_call_begin): Fix yet
another screwup.
2000-09-11 Mathieu Lacage <mathieu@eazel.com>
* libnautilus/nautilus-view.c: (view_frame_call_begin),
(view_frame_call_end): fix 2 typos introduced my last
maciej commit breaking the build.
2000-09-10 Maciej Stachowiak <mjs@eazel.com>
* libnautilus/nautilus-view.c (view_frame_call_begin,
view_frame_call_end): Handle a QI failure properly, fixing
bugzilla.eazel.com 2545.
2000-09-10 Eskil Heyn Olsen <eskil@eazel.com>
* components/services/install/lib/eazel-install-object.c:
(eazel_install_finalize):
Free the private parts of EazelInstall. (bug 2717)
2000-09-10 Gene Z. Ragan <gzr@eazel.com>
Fixed bug 1266, application and component lists should
be sorted somehow.
GnomeVFS sorts these list alphabetically now.
* libnautilus-extensions/nautilus-mime-actions.c:
(nautilus_mime_get_short_list_applications_for_uri),
(nautilus_mime_get_all_applications_for_uri):
Lists are returned sorted alphabetically.
2000-09-10 Eskil Heyn Olsen <eskil@eazel.com>
* components/hardware/nautilus-hardware-view.c:
(setup_overview_form):
Fixed bug 2823
* components/rpmview/nautilus-rpm-view-install.c:
(get_detailed_errors_foreach):
Updated for the extra packagedata status enum
* components/services/install/command-line/eazel-alt-install-corba.
c: (tree_helper_helper), (tree_helper), (install_failed),
(uninstall_failed), (eazel_preflight_check_signal), (dep_check),
(main):
Nicer output.
* components/services/install/idl/trilobite-eazel-install.idl:
* components/services/install/lib/eazel-install-corba-types.c:
(corba_packagedatastruct_from_packagedata),
(packagedata_from_corba_packagedatastruct):
Added a PACKAGE_FILE_CONFLICT status enum to PackageData
* components/services/install/lib/eazel-install-protocols.c:
(get_url_for_package), (get_search_url_for_package):
Changed >= to = for version,
* components/services/install/lib/eazel-install-rpm-glue.c:
(eazel_install_download_packages),
(eazel_install_check_for_file_conflicts),
(eazel_install_pre_install_packages), (revert_transaction),
(eazel_install_monitor_rpm_propcess_pipe),
(eazel_install_do_transaction_md5_check),
(eazel_install_package_version_compare),
(eazel_install_package_provides_basename_compare),
(eazel_install_package_provides_compare),
(eazel_install_package_modifies_provides_compare),
(eazel_install_check_existing_packages),
(eazel_install_check_if_related_package),
(eazel_install_fetch_rpm_dependencies), (print_package_list),
(eazel_install_ensure_deps):
Mucho work, closed bug 2956, 2958, 1514 and 2596. Basically it
now handles the case where a installing eg. gnome-print which has
libgnomeprint.so.7 breaks gnumeric because it requires
libgnomeprint.so.6. It also now checks for file conflicts before
beginning the install. This is the one case that rpmDepCheck
doesn't check.
* components/services/install/lib/eazel-install-types.c:
(packagedata_fill_from_rpm_header),
Read the provides list with full filenames. Should hopefully also
work on rpm-3.0.x | x < 4.
(packagedata_status_enum_to_str),
(packagedata_status_str_to_enum):
Handle FILE_CONFLICT tag
* components/services/install/lib/eazel-install-types.h:
Added the FILE_CONFLICT. If installed package A which has a file
foo which conflicts with B (already installed, and also has file
foo), file B will go into A->breaks with status =
PACKAGE_FILE_CONFLICT.
2000-09-09 Josh Barrow <linuxfan@ionet.net>
* components/music/nautilus-music-view.c:
(music_view_set_selected_song_title), (reset_playtime),
(play_status_display), (slider_moved_callback),
(add_play_controls):
Made the time to go and the total time in the Music View
use the anti aliased fonts.
2000-09-09 Andy Hertzfeld <andy@eazel.com>
* src/nautilus-sidebar-tabs.c: (nautilus_sidebar_tabs_expose):
fixed bug 2910, sidebar tabs crash in arlo theme when sidebar is
closed, by making them not try to draw when the sidebar is closed
2000-09-09 Mathieu Lacage <mathieu@eazel.com>
* components/tree/nautilus-tree-view.c: port to new
shared function.
* libnautilus-extensions/nautilus-icon-dnd.c: port to
new shared function.
* libnautilus-extensions/nautilus-drag.c:
(nautilus_drag_autoscroll_calculate_delta),
(nautilus_drag_file_receive_dropped_keyword): add a new
fucntion to be shared.
* libnautilus-extensions/nautilus-drag.h: add prototype
* libnautilus-extensions/nautilus-list.c:
(nautilus_list_get_drop_action),
(nautilus_list_receive_dropped_icons),
(nautilus_list_receive_dropped_keyword),
(nautilus_list_drag_data_received):
use the above function and add support to the list view
for many new drop types. Need to fix bug 2485 properly
to get 2874 fully implemented.
2000-09-09 Mathieu Lacage <mathieu@eazel.com>
* components/tree/nautilus-tree-view.c: fix bug 2417.
cursor is now updated.
* libnautilus-extensions/nautilus-list.c:
(nautilus_list_drag_begin), (nautilus_list_drag_end),
(nautilus_list_drag_leave), (nautilus_list_get_drop_action),
(nautilus_list_drag_motion), (nautilus_list_drag_drop),
(nautilus_list_drag_data_received): remove debugging output.
2000-09-09 Andy Hertzfeld <andy@eazel.com>
* src/nautilus-about.c: (nautilus_about_destroy),
(nautilus_about_initialize), (randomize_authors),
(draw_author_list), (nautilus_about_draw_info),
(nautilus_about_update_authors), (nautilus_about_close),
(update_authors_if_necessary):
made the about box "scalable" by picking and ordering the
authors randomly, shuffling the list peroidically.
* src/nautilus-about.h:
added nautilus_about_update_authors
* src/nautilus-window-menus.c: (help_menu_about_nautilus_callback):
made it call nautilus_about_update_authors if the about dialog
already exists
* libnautilus-extensions/nautilus-graphic-effects.c:
just moved a comment to it's proper place
2000-09-09 Ali Abdin <aliabdin@aucegypt.edu>
Should fix bug #2229. Also make HTML output more 'valid'
* components/help/converters/gnome-db2html2/gdb3html.h:
Add legalnotice tag, and prototype of print_footer (since it is no
longer static)
* components/help/converters/gnome-db2html2/sect-elements.[ch]:
(sect_inlinegraphic_start_element): Forgot to initialize a
variable.
(sect_legalnotice_start_element),
(sect_legalnotice_characters),
(sect_legalnotice_end_element): New functions for special handling of
the legalnotice tag.
(sect_para_end_element),
(sect_para_start_element): Modified to also work in the legalnotice
tag
(sect_article_end_element): Commented out an area of code that creates
erroneous HTML tags (now that the 'footer' prints them out).
(sect_title_characters): Somebody forgot to 'open' the <HEAD>
* components/help/converters/gnome-db2html2/toc-elements.c:
(toc_artheader_end_element): Make 'Copyright' link to the legalnotice.
* components/help/help-method.conf:
Add 'gnome-help:' at mjs' suggestion (do we need to remove 'help:'
now?)
2000-09-08 Gene Z. Ragan <gzr@eazel.com>
Fixed bug 773, Context menu items wrong when used on Trash item
Removed items that are improper when the Trash icon
is in the selection.
* src/file-manager/fm-directory-view.c:
* src/file-manager/fm-directory-view.h:
(fm_directory_view_real_create_selection_context_menu_items):
Do a check for Trash in selection. Disable Duplicate and
Make Link
* src/file-manager/fm-icon-view.c:
(fm_icon_view_create_selection_context_menu_items):
Do a check for Trash in selection. Disable Rename
2000-09-08 Eskil Heyn Olsen <eskil@eazel.com>
* components/services/install/idl/trilobite-eazel-install.idl:
* components/services/install/command-line/eazel-alt-install-corba.
c: (eazel_preflight_check_signal):
* components/services/install/lib/eazel-install-corba-callback.h:
* components/services/install/lib/eazel-install-corba-callback.c:
(impl_preflight_check), (eazel_install_callback_class_initialize):
* components/services/install/lib/eazel-install-public.h:
* components/services/install/lib/eazel-install-private.h:
* components/services/install/lib/eazel-install-object.c:
(xml_from_packagedata_list), (eazel_install_class_initialize),
(eazel_install_emit_preflight_check),
(eazel_install_emit_preflight_check_default):
* components/services/install/lib/eazel-install-rpm-glue.h:
* components/services/install/lib/eazel-install-rpm-glue.c:
(eazel_install_get_total_size_of_packages),
(eazel_install_start_transaction):
Implemented bug #2858. The preflight signal now gets the toplevel
packages to install and can return true/false.
Amazing how much I had to change to alter one corba signal...
* components/services/docs/installer-security-issues
About the security issues of libeazelinstall (this is an email
that gives a rundown of how the installer handles downloaded,
filepermissions etc).
* components/services/install/lib/eazel-install-metadata.c:
(get_conf_int):
Fixed a bug where it returned the wrong variable (odd that -Werror
didn't stop it)
* components/services/install/lib/eazel-install-types.c:
(categorydata_new), (categorydata_destroy_foreach),
(packagedata_new), (packagedata_destroy),
(packagedata_remove_soft_dep),
uses trilobite_debug now
(packagedata_fill_from_rpm_header),
Read the provides from the header. They're not used yet, but
they'll be used for handling bug 2583 (and part of 1514).
* components/services/install/lib/eazel-install-types.h:
Added a glist to packagedata, contains the basenames of the files
the package provides.
2000-09-08 Rebecca Schulman <rebecka@eazel.com>
* libnautilus-extensions/nautilus-search-uri.c:
(nautilus_self_check_search_uri):
Fixed make check for my earlier changes
* src/nautilus-search-bar-criterion.c: (get_emblem_location_for):
fixed the emblem criteria uris so they now are recognized by
medusa
2000-09-08 Rebecca Schulman <rebecka@eazel.com>
Fixed bugzilla.eazel.com bugs 1937, 2014, and 2633,
to disallow repeat criteria in the search bar,
limit number of criteria on the bar,
and to disallow searching for the emblem
"erase" which doesn't really exist.
* libnautilus-extensions/nautilus-search-uri.c: (parse_uri):
a few more text brush ups
* src/nautilus-complex-search-bar.c:
* src/nautilus-complex-search-bar.h:
(search_bar_criterion_type_changed_callback),
(update_criteria_choices),
(nautilus_complex_search_bar_initialize), (more_options_callback),
(fewer_options_callback), (update_options_buttons_state),
(nautilus_complex_search_bar_get_search_criteria):
Add a callback to update when a criteria is added removed or
changed, to update what criteria are sensitive in the menus
Added an accessor function to get the list of search criteria
so the search criterion class can use it to figure out
what to leave sensitive in the available criteria menu.
Add code to desensitize the "more options" button when
all criteria are displayed.
* src/nautilus-search-bar-criterion-private.h:
* src/nautilus-search-bar-criterion.c:
(nautilus_search_bar_criterion_initialize_class),
(nautilus_search_bar_criterion_destroy),
(nautilus_search_bar_criterion_new),
(nautilus_search_bar_criterion_initialize),
(nautilus_search_bar_criterion_new_from_values),
(nautilus_search_bar_criterion_next_new),
(nautilus_search_bar_criterion_new_with_type),
(nautilus_search_bar_criterion_first_new),
(nautilus_search_bar_criterion_get_location),
(get_next_default_search_criterion_type),
(nautilus_search_bar_criterion_update_valid_criteria_choices),
(make_emblem_value_menu), (criterion_type_changed_callback),
(emblems_changed_callback), (criterion_is_of_type),
(criterion_type_already_is_displayed), (get_next_criterion_type):
* src/nautilus-search-bar-criterion.h:
convert this to a gtk class so that it can emit signals
(criterion_type_changed) and let the bar know.
Add code to handle figuring out when criteria has changed,
and what criteria are still available. Add special code
to get rid of the erase emblem. Also, since it is now a
gtk class, add more type checking where appropriate.
2000-09-08 Gene Z. Ragan <gzr@eazel.com>
* libnautilus-extensions/nautilus-file.c:
(nautilus_file_forget_activation_uri):
Add call to nautilus_directory_async_state_changed.
* libnautilus-extensions/nautilus-link.c:
(nautilus_link_set_link_uri):
Removed private nautilus_directory_async_state_changed call.
* src/nautilus-window-menus.c: (help_menu_about_nautilus_callback):
Added middle inital to my name.
2000-09-08 Mathieu Lacage <mathieu@eazel.com>
* components/tree/nautilus-tree-view.c: fix many bugs.
The tree view now receives drops as colors, backgrounds,
and emblems. I am supposed to remove emblems per Arlo
request but will do so later after having moved the code
to the list view.
* libnautilus-extensions/nautilus-drag.h: add a shared
declaration
2000-09-08 Arlo Rose <arlo@eazel.com>
* icons/i-web-72.png:
Added yet another placeholder image for web view.
This is not final, but looks better than the previous
placeholder Andy added.
2000-09-08 Robin * Slomkowski <rslomkow@eazel.com>
* README: updated to note we use LIBXML_1_BRANCH
2000-09-08 Robey Pointer <robey@eazel.com>
* components/services/install/lib/eazel-install-metadata.c:
(init_default_install_configuration),
(init_default_transfer_configuration):
Removed "uninstall" and "package-list-storage-path" settings, and
clarified update/downgrade to "allow-update", "allow-downgrade" in
the gconf tree.
2000-09-08 Gene Z. Ragan <gzr@eazel.com>
* libnautilus-extensions/nautilus-link.c:
(nautilus_link_set_link_uri):
Added a call to nautilus_directory_async_state_changed ()
as part of my last bug fix to update the NautilusFile
that its activation URI has changed.
2000-09-08 J Shane Culpepper <pepper@eazel.com>
* components/services/login/nautilus-view/nautilus-login-view.c:
(generate_login_form):
* components/services/nautilus-dependent-shared/shared-service-widg
ets.c: (show_feedback):
* components/services/startup/nautilus-view/nautilus-service-startu
p-view.c: (generate_startup_form):
* components/services/summary/nautilus-view/nautilus-summary-view.c
: (generate_summary_form):
Converting to nautilus label to use aa text.
2000-09-08 John Sullivan <sullivan@eazel.com>
Fixed bug 2120 (Shouldn't be able to create new files in
search view) and most of bug 2916 (Shouldn't be able to
create new files in Trash). Also fixed the more general
but unreported bug: Shouldn't be able to create new
files in read-only directories.
* src/file-manager/fm-directory-view.h,
* src/file-manager/fm-directory-view.c:
(fm_directory_view_is_read_only): New function, overridable via
function pointer, that reports whether the contents of a
directory view are entirely read-only.
(fm_directory_view_real_is_read_only): Default implementation of
is_read_only, checks the permissions of the model NautilusDirectory.
(fm_directory_view_supports_creating_files): New function,
overridable via function pointer, that reports whether a
directory supports creating new files inside it
(fm_directory_view_real_supports_creating_files): Default
implementation of supports_creating_files, returns TRUE unless
is_read_only is true or the displayed directory is in the trash.
The remaining part of bug 2916 is that the NautilusFile for
"trash:" doesn't think it's in the trash.
(fm_directory_view_initialize_class): Wire up default function
pointers.
(compute_menu_item_info): Make sensitivity of "Move to Trash"
depend on is_read_only; make sensitivity of "New Folder",
"Duplicate", and "Create Link" depend on supports_creating_files.
(fm_directory_view_real_update_menus): Add "New Folder" to the
set of dynamic ones.
(get_directory_as_file): New helper function to get a NautilusFile
object for the displayed directory.
(showing_trash_directory): New helper function to check whether
the displayed directory is trash.
* src/file-manager/fm-icon-view.c:
(get_stored_icon_position_callback): Removed call to
fm_directory_view_get_model whose result was not used.
(tighter_layout_callback): Removed an unnecessary cast.
* src/file-manager/fm-search-list-view.c:
(real_supports_creating_files): Overridden to return FALSE.
(fm_search_list_view_initialize_class): Wire up overridden
function pointer.
2000-09-08 Josh Barrow <linuxfan@ionet.net>
* components/hardware/nautilus-hardware-view.c: (setup_form_title),
(setup_overview_form), (setup_CPU_form), (setup_RAM_form),
(setup_IDE_form):
Change all text to aa text using nautilus_label and its friends.
2000-09-08 Andy Hertzfeld <andy@eazel.com>
* libnautilus-extensions/nautilus-icon-dnd.c:
(drag_data_received_callback):
fixed bug 2919, erase emblem doesn't work anymore. In fact, all the
emblems were broken by Mathieu's drag and drop changes; fixed by
replacing the GtkSelectionItem with the data it points to.
2000-09-08 Ali Abdin <aliabdin@aucegypt.edu>
Should fix bug #2749, #2754, and #2755
* components/help/converters/gnome-db2html2/gdb3html.h:
Add in ENVAR, COMPUTEROUTPUT, and INLINEGRAPHIC tags.
* components/help/converters/gnome-db2html2/sect-elements.[ch]:
Add in the above tags to the sect_elements struct.
(sect_inlinegraphic_start_element): New function to handle inline
graphics.
(sect_graphic_start_element): If format was NULL the g_strcasecmp
would output warning messages screwing up the HTML, changed the code
around a bit to handle this. Also made this function to be more
compliant with Eazel style guidelines
2000-09-08 Gene Z. Ragan <gzr@eazel.com>
Fixed bug 2816, Home icon doesn't link to changed home directory.
The fix required a new private function that invalidates a NautilusFiles
activation URI and forces it to be reloaded.
* libnautilus-extensions/nautilus-directory-notify.h:
Added nautilus_file_changed () and nautilus_file_forget_activation_uri ()
* libnautilus-extensions/nautilus-file.c:
(nautilus_file_changed),
(nautilus_file_forget_activation_uri):
New function that invalidates the activation URI and frees it and
sets got_activation_uri to FALSE so that it is reloaded.
* libnautilus-extensions/nautilus-file.h:
Removed nautilus_file_changed ()
* libnautilus-extensions/nautilus-icon-factory.c:
* libnautilus-extensions/nautilus-directory-async.c:
Added include to nautilus-directory-notify.h
* libnautilus-extensions/nautilus-link.c:
(nautilus_link_set_link_uri):
Added call to nautilus_file_forget_activation_uri ()
* src/file-manager/fm-desktop-icon-view.c:
(event_callback):
Removed debugging code.
2000-09-08 Mathieu Lacage <mathieu@eazel.com>
* components/tree/nautilus-tree-view.c: fixes one more ccrash.
nautilus_model_node_get_file does not return a refed NautilusFile
for you. So, must not unref it.
2000-09-08 Mathieu Lacage <mathieu@eazel.com>
* components/tree/nautilus-tree-view.c: fix bug 2918.
2000-09-08 Maciej Stachowiak <mjs@eazel.com>
* src/nautilus-window-menus.c (help_menu_about_nautilus_callback):
Added Ali Abdin and Ian McKellar.
* AUTHORS: Updated to match about box (it would be nice if we
could keep this name list in just one place).
* THANKS: New file; I credited everyone who has contributed and
who is not in AUTHORS, as far as I could tell from the various
ChangeLogs.
2000-09-08 Andy Hertzfeld <andy@eazel.com>
* libnautilus-extensions/nautilus-icon-canvas-item.c:
(draw_or_measure_label_text), (draw_or_measure_label_text_aa),
(nautilus_icon_canvas_item_get_max_text_width):
fixed bug 2060, implement Arlo's text layout scheme, which is now 135 pixel
instead of 80 in the standard layout mode; it's still 80 in the tighter
layout mode.
2000-09-07 Rebecca Schulman <rebecka@eazel.com>
* components/tree/nautilus-tree-view.c:
Fixed a "gtk_entry_list_unref" that should
have been a "gtk_target_list_unref"
2000-09-07 Mathieu Lacage <mathieu@eazel.com>
Moves the tree view to the new standard way of dnd.
This now makes it consistant with the rest of the icon
and list view.
Fixes a number of bugs in the process: 2897, 2905, 2353
* components/tree/nautilus-tree-view.c: it just changes
a lot of things and cleans the code. Dnd should be now fully
functional for file drag and drops. Please, test and report
bugs.
2000-09-07 Maciej Stachowiak <mjs@eazel.com>
* components/tree/nautilus-tree-model.c
(nautilus_tree_model_directory_files_changed_callback): Look up
the node based on the NautilusFile, not the uri, since the URI may
have changed, if we are getting a "change" signal.
2000-09-07 Eskil Heyn Olsen <eskil@eazel.com>
* components/services/install/command-line/eazel-alt-install-corba.
c: (set_parameters_from_command_line), (md5_check_failed), (main):
Fixed the setting of server/port/tempdir now that libeazelinstall
uses gconf.
Uses the md5_check_failed signal/
* components/services/install/idl/trilobite-eazel-install.idl:
Added the md5_check_failed signal.
* components/services/install/lib/eazel-install-corba-callback.h:
* components/services/install/lib/eazel-install-corba-callback.c:
(impl_md5_check_failed), (eazel_install_callback_get_epv),
(eazel_install_callback_finalize),
(eazel_install_callback_class_initialize):
Added the md5_check_failed signal.
* components/services/install/lib/eazel-install-corba-types.h:
* components/services/install/lib/eazel-install-corba-types.c:
(corba_packagedatastructlist_from_packagedata_list),
(corba_packagedatastruct_from_packagedata),
(packagedata_from_corba_packagedatastruct):
Changed corba_packagedatastruct_from_packagedata to return a
pointer instead of a struct. Hope it doesn't introduce any funky
leaks in corba_packagedatastructlist_from_packagedata_list.
* components/services/install/lib/eazel-install-md5.h:
* components/services/install/lib/eazel-install-md5.c:
(md5_get_string_from_md5_digest):
Added a method to convert a md5 digest to a human-readable string.
* components/services/install/lib/eazel-install-metadata.c:
Added authors and includeds trilobite-core-utils (for
trilobite_debug)
* components/services/install/lib/eazel-install-public.h:
* components/services/install/lib/eazel-install-object.c:
(create_temporary_directory),
Open tmpdir in 0700 instead of 0755.
(eazel_install_alter_mode_on_temp),
(eazel_install_delete_downloads),
(eazel_install_install_packages),
(eazel_install_emit_install_progress_default),
(eazel_install_class_initialize),
Changed all 'g_.* ("D: ' to trilobite_debug
(eazel_install_emit_md5_check_failed),
(eazel_install_emit_md5_check_failed_default),
Added the md5_check_failed signal
(eazel_install_emit_dependency_check_default),
Modified because of the change in eazel-install-corba-types.
(eazel_install_emit_done):
Output cleaning.
* components/services/install/lib/eazel-install-protocols.c:
(gnome_vfs_xfer_callback), (gnome_vfs_fetch_remote_file),
(eazel_install_fetch_file), (eazel_install_fetch_package),
(get_url_for_package):
Changed all 'g_.* ("D: ' to trilobite_debug
Output cleaning.
Always add downloaded file to downloaded_files, thus always doing
md5 check on them.
* components/services/install/lib/eazel-install-query.c:
(eazel_install_simple_rpm_query):
Output cleaning.
* components/services/install/lib/eazel-install-rpm-glue.c:
(eazel_install_download_packages),
(eazel_install_pre_install_packages), (hest),
(eazel_install_monitor_rpm_propcess_pipe),
(eazel_install_monitor_subcommand_pipe),
(eazel_install_do_transaction_md5_check),
(eazel_install_free_rpm_system_close_db_foreach),
(eazel_install_free_rpm_system),
(eazel_install_prepare_rpm_system),
(eazel_install_fetch_rpm_dependencies), (print_package_list),
(eazel_install_ensure_deps), (eazel_uninstall_upward_traverse),
(eazel_uninstall_downward_traverse),
(eazel_uninstall_check_for_install), (eazel_uninstall_globber):
Changed all 'g_.* ("D: ' to trilobite_debug
Output cleaning.
* components/services/install/lib/eazel-install-xml-package-list.c:
(generate_xml_package_list), (osd_parse_implementation),
(osd_parse_softpkg), (osd_parse_shared),
(parse_osd_xml_from_memory):
Changed all 'g_.* ("D: ' to trilobite_debug
Output cleaning.
* components/services/trilobite/libtrilobite/trilobite-root-client.
c: (trilobite_root_client_unref),
(trilobite_root_client_initialize):
* components/services/trilobite/libtrilobite/trilobite-root-helper.
c: (trilobite_root_helper_destroy),
(trilobite_root_helper_initialize):
Removed some debug output.
2000-09-07 Robey Pointer <robey@eazel.com>
* components/services/install/lib/eazel-install-metadata.c:
(get_conf_string), (get_conf_int), (get_conf_boolean):
Work around fatal API flaw in gconf, so we can detect whether
ints/bools are set before we substitute default values.
2000-09-07 Andy Hertzfeld <andy@eazel.com>
* libnautilus-extensions/nautilus-icon-dnd.c:
(receive_dropped_tile_image):
fixed bug 2896, tiled backgrounds don't work in the icon view.
nautilus_background_receive_dropped_background_image was passing the
GtkSelectionData object, instead of the data it points to. Mathieu
caused this when he reworked the drag and drop stuff recently.
2000-09-07 John Sullivan <sullivan@eazel.com>
Fixed bug 2218 (Duplicate items appear in history list)
Also changed a few places to compare uris with the new
nautilus_uris_match instead of strcmp.
* libnautilus-extensions/nautilus-bookmark.h,
* libnautilus-extensions/nautilus-bookmark.c:
(nautilus_bookmark_compare_with): Use nautilus_uris_match.
(nautilus_bookmark_compare_uris): New function, compares
bookmarks' uris with nautilus_uris_match; ignores names.
* src/nautilus-window-manage-views.c:
(nautilus_window_set_displayed_location), (handle_go_elsewhere),
(open_location): Use nautilus_uris_match.
* src/nautilus-window.c: (nautilus_add_to_history_list):
Use nautilus_bookmark_compare_uris instead of _compare_with.
This was the source of the bug. Due to asynchronicity introduced
sometime after this code was written, when the bookmark for the
current location was created it did not yet know what name to use,
and so it did not match any of the old History items that had the
correct name. But for the History list we only want one entry per
uri anyway, so it needn't have been comparing the names in the
first place.
2000-09-07 Andy Hertzfeld <andy@eazel.com>
* src/nautilus-sidebar.c: (nautilus_sidebar_initialize):
fixed bug 1246 by adding event initializing code
* src/nautilus-window.c: (nautilus_window_constructed):
removed the sidebar event initializing code from the window class.
* src/nautilus-zoom-control.c:
(nautilus_zoom_control_initialize_class),
(nautilus_zoom_control_initialize), (draw_pixbuf_with_prelight),
(draw_zoom_control_image),
(nautilus_zoom_control_set_prelight_mode),
(nautilus_zoom_control_leave_notify),
(nautilus_zoom_control_motion_notify):
fixed bug 838, zoom control doesn't prelight, by receiving motion
events and prelighting appropriately.
2000-09-07 Gene Z. Ragan <gzr@eazel.com>
Fixed bug causing icon view not to display trash:
URI.
* libnautilus-extensions/nautilus-mime-actions.c:
(is_known_mime_type):
New function to return if mime type is recognized.
Return FALSE if mim tye if NULL or of type
application/octet-stream.
(nautilus_mime_get_default_component_for_uri_internal),
(nautilus_do_component_query):
Call is_known_mime_type () instead of old != NULL check.
2000-09-07 Robey Pointer <robey@eazel.com>
* components/services/install/lib/eazel-install-metadata.c:
(done_with_gconf), (check_gconf_init), (get_conf_string),
(get_conf_int), (get_conf_boolean), (get_urltype_from_string),
(init_default_install_configuration),
(init_default_transfer_configuration), (transferoptions_destroy),
(installoptions_destroy):
* components/services/install/lib/eazel-install-metadata.h:
* components/services/install/lib/eazel-install-object.c:
(eazel_install_new_with_config):
* components/services/install/lib/eazel-install-public.h:
* components/services/install/server/main.c:
(eazel_install_service_factory):
Rip out all the old XML-based configuration code, and replace it
with gconf-based code.
* components/services/trilobite/libtrilobite/trilobite-redirect.c:
Put redirection table into the same subtree as other trilobite
stuff. (This may change soon anyway.)
2000-09-08 Daniel Egger <egger@suse.de>
* components/help/converters/gnome-db2html2/gdb3html.c:
Reverted patch from 2000-09-06 on popular demand because
it doesn't match the Eazel styleguide.
2000-09-07 Gene Z. Ragan <gzr@eazel.com>
Fixed bug 2134, items cannot be dragged from desktop or windows
onto Trash icon.
* libnautilus-extensions/nautilus-drag.c:
(nautilus_drag_default_drop_action_for_icons):
Check and see if target is trash: URI. If it is,
use find_directory to locate the actual trash directory
URI.
* libnautilus-extensions/nautilus-file-operations.c:
(nautilus_file_operations_copy_move):
Check and see if target is trash: URI. If it is,
use find_directory to locate the actual trash directory
URI for the volume of the source file.
2000-09-07 Michael Engber <engber@eazel.com>
Added Robin to the about box.
* src/nautilus-window-menus.c: (help_menu_about_nautilus_callback):
2000-09-07 John Sullivan <sullivan@eazel.com>
Fixed bug 2875 (update set of built-in bookmarks)
* data/static_bookmarks.xml:
Fixed bug 2872 (Complaint about bookmark location mismatch
when visiting new folder)
* libnautilus-extensions/nautilus-file-utilities.h:
* libnautilus-extensions/nautilus-file-utilities.c:
(nautilus_uris_match): New function, compares two uris
after canonicalizing each.
* src/nautilus-window-manage-views.c:
(check_last_bookmark_location_matches_window):
Use nautilus_uris_match to compare bookmark's uri with
window's uri.
2000-09-07 Ramiro Estrugo <ramiro@eazel.com>
Turn on smooth fonts in the icon view. This is controlled by the
SMOOTH_GRAPHICS preference. I tried to cause a minimum amount of
disruption to the icon-canvas-item beast. For this reason, there
are some serious preformance problems. I plan to attack those
next.
In case of emergency, i left a life boat in there. Just comment
out the SMOOTH_FONTS define in the top of the file. I expect to
yank this out in the next day or so.
* libnautilus-extensions/nautilus-icon-canvas-item.c:
(draw_or_measure_label_text), Teach it about the smooth fonts
case. (measure_label_text), Same here.
(draw_label_text), Here too. (draw_or_measure_label_text_aa), New
function to do the drawing or measuring using NautilusScalableFont
instead of GdkFont.
(draw_label_text_aa): New function that draws the smooth text into
a pixbuf so what we can continue to use the old rendering
machinery. This is the reason for at least on of the performance
problems. We should be able to render directly into the canvas
item's buffer.
2000-09-07 Ramiro Estrugo <ramiro@eazel.com>
* libnautilus-extensions/nautilus-icon-canvas-item.c:
(nautilus_icon_canvas_item_initialize_class),
(draw_or_measure_label_text):
Simplify the highlight color initialization.
* libnautilus-extensions/nautilus-scalable-font.c:
(nautilus_text_layout_paint):
Restore rendering in the passed in color. Add a mini hack to make
sure the color is opaque.
2000-09-07 John Sullivan <sullivan@eazel.com>
Better job of what I did in my last checkin. I caught one case
before, but there are two other cases I skipped. Now they're
all equally de-fatal.
* src/nautilus-window-manage-views.c:
(check_last_bookmark_location_matches_window), (handle_go_back),
(handle_go_forward), (handle_go_elsewhere):
2000-09-07 Gene Z. Ragan <gzr@eazel.com>
Fixed bug 2445, Some volume monitor code applies only to desktop case.
Fixed bug 2452, find_volumes confused about which volumes to include.
Fixed bug 2451, Incorrect test for removability of ISO9660 volumes.
* libnautilus-extensions/nautilus-volume-monitor.c:
* libnautilus-extensions/nautilus-volume-monitor.h:
(floppy_sort):
Changed function to use NautilusVolumes as opposed to paths
(nautilus_volume_monitor_volume_is_removable):
New function to check and see if volume is removable.
(nautilus_volume_monitor_get_removable_volumes):
New function to return a list of removable NautilusVolumes
(nautilus_volume_monitor_get_volume_name):
New function to return a human readable name of volume
(nautilus_volume_monitor_volume_is_mounted),
(mount_volume_floppy_set_state), (mount_volume_mount),
(find_volumes), (nautilus_volume_monitor_mount_unmount_removable):
Clean up and bug fix work.
* src/file-manager/fm-desktop-icon-view.c: (create_mount_link),
(fm_desktop_icon_view_create_background_context_menu_items),
(volume_unmounted_callback):
Use new functions in NautilusVolumeMonitor.
2000-09-07 John Sullivan <sullivan@eazel.com>
* src/nautilus-window-manage-views.c: (handle_go_elsewhere):
De-fatalized bug 2872 (Common crash when navigating, complaint
about last_location_bookmark not matching window->location).
Changed an assert (fatal) to a message (annoying) to prevent
this now very common bug from being fatal. I'll fix the real
problem soon.
2000-09-07 Mathieu Lacage <mathieu@eazel.com>
* components/tree/nautilus-tree-view.c: add support for NautilusDragInfo.
* libnautilus-extensions/nautilus-drag.c: add new scroll calculation fucntion.
(nautilus_drag_autoscroll_calculate_delta):
* libnautilus-extensions/nautilus-drag.h: add decalrtion of scroll function
plus bits and pieces of constants used everywhere.
* libnautilus-extensions/nautilus-icon-dnd.c:
(auto_scroll_timeout_callback): move this to the shared version of the scroll
* libnautilus-extensions/nautilus-list.c: implement auto scrolling.
(nautilus_list_drag_leave), (nautilus_list_real_scroll),
(auto_scroll_timeout_callback), (nautilus_list_start_auto_scroll),
(nautilus_list_stop_auto_scroll), (nautilus_list_drag_motion):
2000-09-07 Eli Goldberg <eli@eazel.com>
* docs/smoketests.html:
Updated to show test files in /h/public/QE/smoketests
2000-09-07 Ramiro Estrugo <ramiro@eazel.com>
* libnautilus-extensions/nautilus-label.c:
(nautilus_label_initialize):
Make the default font size something more reasonable.
2000-09-07 Ramiro Estrugo <ramiro@eazel.com>
* libnautilus-extensions/nautilus-icon-canvas-item.c:
(nautilus_icon_canvas_item_set_smooth_font_size):
The new font was not getting assigned.
2000-09-07 Ramiro Estrugo <ramiro@eazel.com>
* libnautilus-extensions/nautilus-icon-container.c: (destroy),
(nautilus_icon_container_initialize),
(nautilus_icon_container_update_icon),
(nautilus_icon_container_set_label_font_for_zoom_level),
(nautilus_icon_container_set_smooth_label_font):
* libnautilus-extensions/nautilus-icon-container.h:
* libnautilus-extensions/nautilus-icon-private.h:
Add support for smooth fonts. We simply manage one font and an
array of sizes. The management of the smooth font parallels that
of regular non smooth Gdk fonts, except we have just one. Instead
of an array of fonts, we have an array of font sizes. We use
these to update the canvas icon items.
2000-09-07 Ramiro Estrugo <ramiro@eazel.com>
* libnautilus-extensions/nautilus-scalable-font.h:
* libnautilus-extensions/nautilus-scalable-font.c:
(nautilus_scalable_font_draw_text), (nautilus_text_layout_paint),
(nautilus_gdk_pixbuf_new_from_text):
Add function to create a GdkPixbuf from a string. Also fixed a
debuggin typo from before.
* test/test-nautilus-font.c: (create_named_background),
(rgba_run_alpha), (pixbuf_draw_rectangle),
(pixbuf_draw_rectangle_around), (main):
Add text to GdkPixbuf to GdkPixbuf compositing test. Also add a
bunch of hacks to make the tests more useful.
2000-09-07 Mathieu Lacage <mathieu@eazel.com>
First work toward bug 2353, fixes bug 2570, 1289
* components/tree/nautilus-tree-view.c: fix a dnd bug in
gtk_drag_dest_set.
* libnautilus-extensions/nautilus-drag.c: (nautilus_drag_init):
initialize the new field drop_occured to FALSE.
* libnautilus-extensions/nautilus-drag.h: new field drop_occured.
* libnautilus-extensions/nautilus-icon-dnd.c: use the new field
and make it behave slightly more sanely by doing actual actions
in data_received instead of drag_drop. This is the only way to avoid
race conditions. (drag_data_received_callback), (drag_motion_callback),
(drag_drop_callback)
* libnautilus-extensions/nautilus-list.c:
(nautilus_list_initialize_class), (nautilus_list_dnd_initialize),
(nautilus_list_initialize), (nautilus_list_drag_start),
(nautilus_list_ensure_drag_data), (nautilus_list_drag_begin),
(nautilus_list_drag_end), (nautilus_list_drag_leave),
(nautilus_list_find_drop_target), (nautilus_list_get_drop_action),
(nautilus_list_drag_motion), (nautilus_list_drag_drop),
(nautilus_list_drag_data_received):
add support for the drop_occured field, fix the same bug as in tree view
and make it behave slightly more sanely as in icon view.
The tree view now needs some work to catch up with all those changes.
* src/file-manager/fm-list-view.c: (fm_list_handle_dropped_icons):
space.
2000-09-07 Ramiro Estrugo <ramiro@eazel.com>
* libnautilus-extensions/nautilus-scalable-font.c:
(nautilus_text_layout_free), (nautilus_text_layout_new),
(nautilus_text_layout_paint):
* libnautilus-extensions/nautilus-scalable-font.h:
Add support for drawing underlined text. I also added a FIXME for
the issue of hard coding the underline baseline rather than
fetching the information from the rendred string.
* test/test-nautilus-font.c: (main):
Add underlined text test.
2000-09-07 Ramiro Estrugo <ramiro@eazel.com>
* libnautilus-extensions/nautilus-scalable-font.c:
(nautilus_scalable_font_measure_text), (invert_glyph),
(nautilus_scalable_font_draw_text),
(nautilus_scalable_font_draw_text_lines_with_dimensions),
(nautilus_scalable_font_draw_text_lines),
(nautilus_text_layout_paint):
* libnautilus-extensions/nautilus-scalable-font.h:
Add support for drawing inverted text. Also cleanup the rendering
function a bit.
* libnautilus-extensions/nautilus-icon-factory.c: (embed_text):
* libnautilus-extensions/nautilus-label.c: (render_buffer_pixbuf):
* src/nautilus-about.c: (draw_aa_string):
* src/nautilus-sidebar-tabs.c: (draw_one_tab_plain),
(draw_one_tab_themed):
Update all these for the new inverted scalable font api.
* test/test-nautilus-font.c: (main):
Add a inverted text test.
2000-09-07 Eskil Heyn Olsen <eskil@eazel.com>
* nautilus-installer/src/Makefile:
Just to clear things up : this file is in cvs since it's
not created by configure.in (yet)
* nautilus-installer/src/Makefile.am:
* nautilus-installer/src/link.sh:
makefile/link stroking to make it work after the changes
to trilobite-core-utils.
* libnautilus-adapter/Makefile.am
Removed libnautilus.la to fix build
2000-09-07 Maciej Stachowiak <mjs@eazel.com>
* components/tree/nautilus-tree-model.c (report_node_added):
ifdef'd out a g_warning that happens a lot more often than I
expected.
2000-09-07 Maciej Stachowiak <mjs@eazel.com>
* libnautilus-adapter/Makefile.am: Link against libnautilus.
* src/nautilus-component-adapter-factory.h,
src/nautilus-component-adapter-factory.c: Fist cut at the easy to
use wrapper interface for the soon to come adapter component (part
of the work for bugzilla.eazel.com 1994). I made this a singleton
object with the object actually exposed, but maybe I should hide
the object details completely and just expose the actually useful
function (which will instantiate the singleton when/if
appropriate).
* src/Makefile.am: Add to the build. Link against libnautilus-adapter.
2000-09-07 Ramiro Estrugo <ramiro@eazel.com>
* libnautilus-extensions/nautilus-scalable-font.c:
(text_layout_free_row), (nautilus_text_layout_free),
(nautilus_text_layout_new), (nautilus_text_layout_paint):
* libnautilus-extensions/nautilus-scalable-font.h:
Add text layout functions copied from
libgnomeui/gnome-icon-text.[ch] and modified to work with
NautilusScalalbleFont and GdkPixbuf instead of GdkFont and
GdkDrawable.
* test/test-nautilus-font.c: (main):
Add text layout test.
2000-09-07 Ramiro Estrugo <ramiro@eazel.com>
* libnautilus-extensions/nautilus-icon-factory.c: (embed_text):
Make the empty line height 1/2 of the font size to cram more stuff
into the embedded text.
* libnautilus-extensions/nautilus-label.c:
(nautilus_label_size_request), (render_buffer_pixbuf),
(label_get_empty_line_height),
(label_get_total_text_and_line_offset_height),
(label_recompute_line_geometries):
Update for scalable font changes.
* libnautilus-extensions/nautilus-scalable-font.c:
(nautilus_scalable_font_measure_text_lines),
(nautilus_scalable_font_draw_text_lines_with_dimensions),
(nautilus_scalable_font_draw_text_lines):
* libnautilus-extensions/nautilus-scalable-font.h:
Add empty_line_height argument to text line measuring and drawing
functions. Use this in both measure and drawing computations.
* test/test-nautilus-font.c: (gdk_pixbuf_draw_rectangle),
(draw_rectangle_around), (main):
Update for scalable font changes. Also draw a box around area
that is being clipped (or measured) to determine whether things
work precisely.
2000-09-07 Eskil Heyn Olsen <eskil@eazel.com>
* components/services/install/command-line/eazel-alt-install-corba.
c: (install_failed), (main):
Default to services.eazel.com instead of ham.eazel.com
Nicer print for install failed in the case the package is already
installed.
Free the category & package date structures.
* components/services/install/lib/eazel-install-corba-callback.c:
(impl_install_failed), (impl_uninstall_failed):
Free some category & package date structures (leak fixing project)
* components/services/install/lib/eazel-install-corba-types.c:
(categorydata_list_from_corba_categorystructlist):
Fixed a g_new(categorydata) to categorydata_new
* components/services/install/lib/eazel-install-corba.c:
(impl_Eazel_Install_install_packages),
(impl_Eazel_Install_simple_query):
Inserted some newlines (exiting eh ?)
* components/services/install/lib/eazel-install-md5.h:
* components/services/install/lib/eazel-install-md5.c:
(md5_get_digest_from_md5_string):
Added a call that converts a md5 string into a 16 byte digest
string.
* components/services/install/lib/eazel-install-object.c:
(eazel_install_finalize):
Some newlines!!
* components/services/install/lib/eazel-install-protocols.h:
* components/services/install/lib/eazel-install-protocols.c:
(http_fetch_remote_file), (eazel_install_fetch_package),
(eazel_install_fetch_package_which_provides),
(get_url_for_package):
Added comments to what get_url_for_package and
get_search_url_for_package does.
Removed excess code from http_fetch_remote_file (creation of temp
dir).
Changed get_url_for_package to take a packagedata object as last
argument. This is used for setting the serverside md5. Also uses
trilobite_fetch_uri now.
* components/services/install/lib/eazel-install-query.c:
(eazel_install_simple_rpm_query):
Inserted newlines (okay, I do that a lot, it makes the code
readable...)
* components/services/install/lib/eazel-install-rpm-glue.c:
(eazel_install_flatten_categories),
Changed to initally copy the category->packages. That way I don't
end up having a list in the category where the first element is
NULL (leak).
(eazel_install_download_packages),
(eazel_install_pre_install_packages),
Nuke the modifies list after called check_existing. No reason to
send those to the client, since the status flags is updated to
show that the package is already installed.
(eazel_install_do_transaction_md5_check),
Finished the md5 checking (thus my required milestone bugs are
done now, woohoo)
(eazel_install_prune_packages),
Commented out the block that destroys packagedata objects.
(eazel_install_check_existing_packages),
Set the stats to "already installed".
(eazel_install_fetch_rpm_dependencies),
(eazel_uninstall_check_for_install):
Removed silly g_messages in danish that I used for debugging.
* components/services/install/lib/eazel-install-types.h:
Removed some weird old structure defines.
* components/services/install/lib/eazel-install-types.c:
(categorydata_new), (categorydata_destroy_foreach),
(packagedata_destroy):
Added some more messages in the category/packagedata alloc/dealloc
debugging.
* components/services/install/lib/eazel-install-xml-package-list.c:
(generate_xml_package_list), (osd_parse_implementation),
(osd_parse_softpkg), (osd_parse_shared),
(parse_osd_xml_from_memory):
Added D: to some stdout stuff.
Decodes the MD5 tag
Had to add a hack to compensate for lack of useragent in gnome-vfs
http (bug 2862)
* components/services/trilobite/libtrilobite/trilobite-core-utils.h
* components/services/trilobite/libtrilobite/trilobite-core-utils.c
: (trilobite_fetch_uri), (trilobite_fetch_uri_to_file),
(trilobite_fetch_uri), (trilobite_fetch_uri_to_file):
Wrote "slim" versions that use libghttp, for the bootstrap
installer.
* nautilus-installer/src/.cvsignore:
Ignore the prezip binary
* nautilus-installer/src/Makefile:
* nautilus-installer/src/link.sh:
Makefile cosmetics
* nautilus-installer/src/rpmsearch.cgi:
The makeshift rpmsearch cgi script.
* libnautilus-adapter/.cvsignore
stuff to ignore stuff.
2000-09-06 Daniel Egger <egger@suse.de>
* components/help/converters/gnome-db2html2/gdb3html.c:
A small beatification.
2000-09-06 Raph Levien <raph@acm.org>
* librsvg/test-ft-gtk.c: Added "-a" option for attaching AFM
files, used to confirm that bugzilla.eazel.com 2141 affects
TrueType and not Type1 fonts. Also added const to filename
argument.
* librsvg/rsvg.c (rsvg_start_svg): Patch for bugzilla.eazel.com
2239. If width and height are not specified in the SVG file,
defaults are used. Previously, the creation of the pixbuf was
failing, causing downstream code to segfault on the NULL.
2000-09-07 Andy Hertzfeld <andy@eazel.com>
* libnautilus-extensions/nautilus-background.c:
(nautilus_background_draw_aa),
(nautilus_background_set_color_no_emit),
(nautilus_background_set_image_uri_no_emit):
fixed bug 1899, background customization lost when theme changes,
by clearing the color when the an image is set. Also, fixed
bug where color customization wasn't working for the arlo theme,
by removing the solid color case in background_draw_aa.
2000-09-06 Maciej Stachowiak <mjs@eazel.com>
* src/nautilus-application.c, src/nautilus-shell.c: Fixed FIXME
bugzilla.eazel.com 2535 (had to be fixed once I made the idl file
properly includable).
2000-09-06 Maciej Stachowiak <mjs@eazel.com>
* libnautilus/Makefile.am: Fix makefile problem
2000-09-06 Gene Z. Ragan <gzr@eazel.com>
Fixed bug 2011, Numeric keypad enter key doesn't work
right in Search field.
Fixed bug 2012, Undo doesn't work in search
text-entry fields.
I switched the GtkEntry items to be NautilusEntry items
and wired up the undo signal handlers.
* src/nautilus-complex-search-bar.c:
* src/nautilus-search-bar-criterion-private.h:
* src/nautilus-search-bar-criterion.c:
(nautilus_search_bar_criterion_destroy),
(nautilus_search_bar_criterion_new_from_values):
* src/nautilus-search-bar-criterion.h:
* src/nautilus-simple-search-bar.c:
(nautilus_simple_search_bar_initialize),
(nautilus_simple_search_bar_destroy),
(nautilus_simple_search_bar_set_location),
(nautilus_simple_search_bar_get_location):
2000-09-06 John Sullivan <sullivan@eazel.com>
I almost fixed bug 2598 ("Select All Files" enabled when the
directory is empty), only to realize at the last moment that
there is no current API to tell whether a directory view is
displaying any files or not (just as there is no API to tell
the count of displayed files, which is part of the problem
with bug 480).
While fixing this, I changed the directory view menu-updating
mechanism so that the real work gets done in an idle handler
instead of immediately, to prevent/fix performance problems
caused by multiple menu updates happening in succession. So I'm
checking in this performance change but not yet addressing
bug 2598 itself.
* src/file-manager/fm-directory-view.c:
(fm_directory_view_destroy): remove menu-updating idle handler.
(update_menus_idle_callback): New function, calls
fm_directory_view_update_menus and resets idle handler id.
(schedule_update_menus): New function, adds idle handler that
calls update_menus_idle_callback.
(remove_custom_icons_callback),
(fm_directory_view_notify_selection_changed),
(fm_directory_view_load_uri),
(fm_directory_view_trash_state_changed_callback),
(fm_directory_view_real_merge_menus): schedule menu update instead
of doing it immediately.
(compute_menu_item_info): Add FIXME with bug 2598 here.
(fm_directory_view_real_update_menus): Update Select All item.
000-09-06 Maciej Stachowiak <mjs@eazel.com>
* libnautilus-adapter/nautilus-adapter-factory.idl: New IDL
interface for the special adapter component that will be used to
wrap ordinary Bonobo components to look like Nautilus::Views as
part of the solution to bugzilla.eazel.com #1994.
* libnautilus-adapter/Makefile.am: Build a library containing the
stubs and sekeletons.
* libnautilus/nautilus-view-component.idl: Some changes so this
IDL file can be included in others safely.
* libnautilus/Makefile.am: Made necessary build adjustments for
the above.
* configure.in, Makefile.am: add libnautilus-adapter directory to
build.
2000-09-06 Robin * Slomkowski <rslomkow@eazel.com>
* README: added requirment of BEFORE_NEW_UI_HANDLER_1
tag for bonobo, gtkhtml, eog, xpdf
2000-09-06 Andy Hertzfeld <andy@eazel.com>
* src/nautilus-sidebar-tabs.c: (get_tab_width):
fixed bug 2505, scale in sidebar tabs shouldn't be hardwired.
This was made irrelevant when we changed it to use scalable fonts
instead of the old scaling hack, so I'm just removing the fixme.
2000-09-06 Raph Levien <raph@acm.org>
* librsvg/test-ft-gtk.c (test_ft_quit): Invoke rsvg_ft_ctx_done()
to facilitate testing of cleanup and for checking for mem leaks.
* librsvg/rsvg-ft.c: Actually evict glyphs when glyph cache
becomes full. Fixed some mem leaks in rsvg_ft_ctx_done - it
wasn't freeing everything in the context.
2000-09-06 Gene Z. Ragan <gzr@eazel.com>
Fixed bug 2816, Home icon doesn't link to changed home directory.
Now the link is updated both at dekstop launch and whenever
the user changed the preference in the Navigation pane of
the preferences dialog.
* src/file-manager/fm-desktop-icon-view.c: (home_uri_changed),
(fm_desktop_icon_view_initialize), (find_and_update_home_link),
(place_home_directory), (find_and_rename_trash_link),
(remove_old_mount_links):
2000-09-06 Andy Hertzfeld <andy@eazel.com>
* src/nautilus-sidebar-title.c: (update_font):
fixed bug 2499, font leak in sidebar title.
* icons/vector/Makefile.am:
* icons/vector/vector.xml:
fixed bug 2206, vector icon zoom control draws wrong, by removing
the custom zoom control for the vector theme, which was
experimental and not intended to stay around.
2000-09-06 Robey Pointer <robey@eazel.com>
* components/services/install/lib/eazel-install-md5.c:
(_byte_reverse), (md5_update), (md5_final), (md5_get_digest),
(md5_get_digest_from_file), (main):
* components/services/install/lib/eazel-install-md5.h:
Fix evil gint/gchar types in MD5 to use native types according to
the style guide.
2000-09-06 John Sullivan <sullivan@eazel.com>
Fixed bug 1794 (New directory view background context menu design)
Any complaints or revisions of the context menus in directory
views should be written up as new bugs.
* libnautilus-extensions/nautilus-gtk-extensions.h,
* libnautilus-extensions/nautilus-gtk-extensions.c:
(nautilus_gtk_menu_insert_separator): New function, slight
generalization of _append_separator that takes a position.
(nautilus_gtk_menu_append_separator): Now calls _insert_separator.
* src/file-manager/fm-icon-view.h: Added supports_auto_layout
function pointer for subclasses to optionally override.
* src/file-manager/fm-icon-view.c:
renamed details->updating_bonobo_marked_menu_item to
updating_toggle_menu_item since I realized that it's not
a Bonobo-specific problem.
(tighter_layout_callback): updated for API changes.
(fm_icon_view_using_auto_layout),
(fm_icon_view_using_tighter_layout): New convenience function
to share a little code.
(compute_menu_item_info): Changed toggle_item boolean parameter
to menu_item_type that returns an enum for normal, check,
radio, and subtree items; moved some layout-related items in
here so the context menu can avoid duplicating code.
(context_menu_layout_radio_item_callback),
(append_one_context_menu_layout_item): New functions, used by
layout items in context menu.
(insert_one_context_menu_item): Now handles the various menu item
types returned by compute_menu_item_info, and returns the new item.
(append_one_context_menu_item): Now returns the new item.
(fm_icon_view_create_background_context_menu_items): Add the
layout items to the context menu per bug 1794.
(fm_icon_view_supports_auto_layout): New function, calls
virtual function.
(real_supports_auto_layout): Returns TRUE.
(fm_icon_view_initialize_class): Wire up supports_auto_layout.
(update_layout_menus): Now skips some work if supports_auto_layout
is false; also updates reversed_order item in a way that works
even the reversed_order field was changed elsewise.
(fm_icon_view_get_directory_sort_by),
(fm_icon_view_set_directory_sort_by),
(fm_icon_view_get_directory_sort_reversed),
(fm_icon_view_set_directory_sort_reversed),
(fm_icon_view_get_directory_auto_layout),
(fm_icon_view_set_directory_auto_layout): Bail out early if
supports_auto_layout is false.
(fm_icon_view_begin_loading): Refactor a little.
(insert_bonobo_menu_item): Handle the different menu item types
returned by compute_menu_item_info.
(set_sort_criterion_by_path): New function, extracted from
sort_callback so it could be used elsewhere.
(sort_callback): Now calls set_sort_criterion_by_path.
(sort_direction_callback): Changed signature so it can be used
for both Bonobo and Gtk menus; changed implementation not to
rely on Bonobo menu state.
(manual_layout_callback): Changed signature so it can be used
for both Bonobo and Gtk menus
(layout_changed_callback), (icon_position_changed_callback):
Use new convenience functions.
(fm_icon_view_merge_menus): Use insert_bonobo_menu_item for
more items to avoid duplicating code with context menus.
(update_one_menu_item): Updated for compute_menu_item_info API change.
* src/file-manager/fm-desktop-icon-view.c:
(fm_desktop_icon_view_get_directory_sort_by),
(fm_desktop_icon_view_set_directory_sort_by),
(fm_desktop_icon_view_get_directory_sort_reversed),
(fm_desktop_icon_view_set_directory_sort_reversed),
(fm_desktop_icon_view_get_directory_sort_auto_layout),
(fm_desktop_icon_view_set_directory_sort_auto_layout): Removed
these overridden function pointers, obviated by new
supports_auto_layout.
(fm_desktop_icon_view_initialize_class): removed function
pointer wiring for the above set; added function pointer
wiring for supports_auto_layout.
(real_supports_auto_layout): New function, returns FALSE.
2000-09-06 Darin Adler <darin@eazel.com>
* libnautilus-extensions/nautilus-search-uri.c: Got rid of a FIXME
for a bug that was already fixed.
* libnautilus-extensions/nautilus-volume-monitor.c: (eject_cdrom):
Got rid of a FIXME for a bug that was already fixed.
2000-09-06 Andy Hertzfeld <andy@eazel.com>
* src/nautilus-location-bar.c: (try_to_expand_path):
fixed bug 2828, append a slash when auto-completing
directory names.
2000-09-06 Eli Goldberg <eli@eazel.com>
Checked in Nautilus Smoke Tests to doc tree.
* docs/smoketests.html
2000-09-06 Darin Adler <darin@eazel.com>
Fixed bug 1960 (nautilus_strdup_strftime relies on glibc strftime
behavior) and bug 2820 (date/time formatting uses non-standard
glibc extension).
* libnautilus-extensions/nautilus-glib-extensions.h:
* libnautilus-extensions/nautilus-glib-extensions.c:
(nautilus_strdup_strftime): Rewrote nautilus_strdup_strftime so
that it provides the features we need, but no longer requires the
GNU glibc version of strftime.
(nautilus_g_string_append_len): Added a half-assed version of the
GLib 2.0 function g_string_append_len, since I needed it for
nautilus_strdup_strftime.
(test_strftime), (nautilus_self_check_glib_extensions): Added
light self-checks for the nautilus_strdup_strftime function to
confirm that my rewrite didn't break it.
* libnautilus-extensions/nautilus-file.c:
(nautilus_file_get_date_as_string): Refined the comments for
localizers to make it clear that the GNU "%-" and "%_" extensions
are allowed, but other GNU extensions are not.
* components/services/trilobite/libtrilobite/.cvsignore:
Ignore some generated files that weren't in the list.
2000-09-06 Arlo Rose <arlo@eazel.com>
* icons/arlo/left-bumper-active-prelight.png:
Lopped off a pixel.
2000-09-06 Mathieu Lacage <mathieu@eazel.com>
* components/tree/nautilus-tree-view.c: implement autoscroll
by stealing code from nautilus-icon-dnd.c fixes task 2418
* libnautilus-extensions/nautilus-icon-container.c:
(nautilus_icon_container_scroll), (reveal_icon),
(nautilus_icon_container_update_scroll_region): do not access
the GtkLayout internal structures but use the gtk accessors.
ie: gtk_layout_get_[vh]adjustment
2000-09-06 Gene Z. Ragan <gzr@eazel.com>
Fixed bug 2644, Enter and Return should invoke file renaming.
* libnautilus-extensions/nautilus-icon-container.c:
(key_press_event):
2000-09-06 Darin Adler <darin@eazel.com>
Added checks in Nautilus to guarantee we will notice leaks
of UI handlers in the future.
The check will fire unless you get new Bonobo, since I just fixed
a UI handler leak bug in Bonobo.
* src/nautilus-window.c: (nautilus_window_real_set_content_view):
Added code to check for a still-merged Open menu item in the file
menu. This will catch leaks of UI handlers fairly quickly, instead
of the traditional way we discover them, after long debugging
sessions.
* components/history/nautilus-history-view.c:
(history_view_frame_call_end):
* libnautilus-extensions/nautilus-undo-manager.c:
(release_transaction), (nautilus_undo_manager_undo):
* libnautilus/nautilus-clipboard.c: (add_menu_items_callback):
* libnautilus/nautilus-undo.c: (undo_manager_unref_cover),
(nautilus_undo_attach_undo_manager):
* libnautilus/nautilus-view.c: (view_frame_call_end):
* src/file-manager/fm-directory-view.c:
(bonobo_control_activate_callback):
* src/nautilus-application.c: (nautilus_application_startup):
* src/nautilus-view-frame-bonobo-embeddable.c:
(bonobo_subdoc_load_location):
* src/nautilus-view-frame-nautilus-view.c:
(nautilus_view_try_load_client):
* src/nautilus-view-frame.c: (nautilus_view_frame_destroy_client),
(nautilus_view_frame_load_client):
Use bonobo_object_dup_ref and bonobo_object_release_unref to
simplify some code.
* components/loser/content/nautilus-content-loser.c:
(loser_merge_bonobo_items_callback):
* components/loser/sidebar/nautilus-sidebar-loser.c:
(loser_merge_bonobo_items_callback):
* components/mozilla/nautilus-mozilla-content-view.c:
(mozilla_merge_bonobo_items_callback):
* components/sample/nautilus-sample-content-view.c:
(sample_merge_bonobo_items_callback):
Add missing unref to avoid leaking a UI handler.
* components/services/time/nautilus-view/trilobite-eazel-time-view.c:
Remove a bunch of code inside #if 0, which had out of date copies
of the sample code. I decided this was better than trying to fix
it.
2000-09-06 John Sullivan <sullivan@eazel.com>
Fixed bug 2377 (Menu separators in search date criterion
look wrong and are selectable)
* src/nautilus-search-bar-criterion.c:
(get_date_modified_location_for): Replaced "--" with
"" when defining menu item text.
(nautilus_search_bar_criterion_new_from_values): When
constructing option menu items, treat empty string specially
by not translating it and making an insensitive separator.
2000-09-06 Eskil Heyn Olsen <eskil@eazel.com>
* components/services/install/lib/eazel-install-metadata.c:
(create_default_metadata), (create_default_configuration_metafile),
(xml_doc_sanity_checks):
Removed \n's for g_print/warnings/messages
* components/services/install/lib/eazel-install-object.c:
(eazel_install_finalize),
Changed to call parents finalize
(eazel_install_alter_mode_on_temp),
(eazel_install_lock_tmp_dir), (eazel_install_unlock_tmp_dir),
Calls to chmod all the downloaded files and the tmpdir.
(eazel_install_delete_downloads),
(eazel_install_install_packages):
Moved the deletion of downloads to a seperate call, so revert can
also reap it's benefits.
* components/services/install/lib/eazel-install-protocols.c:
(gnome_vfs_xfer_callback), (eazel_install_fetch_file),
Fixed download progress emission to only emit with amount==0 once
for gnome-vfs downloads.
Also checks for existence of package prior to download. This
should be safe once md5 checking is done, and prevents
fetch_dependencies from fetching the same file over and over
(which maybe should be solver in another way).
(eazel_install_fetch_package),
Moved the md5 checking code into eazel_install_start_transaction.
(eazel_install_fetch_package_which_provides),
Fixed evil bug I found now that i modified rpmsearch.cgi to
support ?provides= searches.
(get_url_for_package):
Fixed a packagedata_destroy_foreach call.
* components/services/install/lib/eazel-install-public.h:
Prototypes for the calls to chmod unchmod tmpdir + downloads.
* components/services/install/lib/eazel-install-rpm-glue.c:
(eazel_install_flatten_categories),
Reversed the order of list concatenation.
(install_new_packages),
Creates tmpdir, needed for reverttransaction.
(eazel_install_download_packages),
Removed the EAZEL_INSTALL_DOWNLOADS status flag, check the
downloaded_files list in private instead.
(eazel_install_monitor_rpm_propcess_pipe),
Moved a comment reg. parsing rpm --percent here.
(eazel_install_monitor_subcommand_pipe),
(eazel_install_do_transaction_md5_check),
(eazel_install_start_transaction),
Moved the md5 checking to be near the installtion routine.
(eazel_install_check_existing_packages),
Modified some strings to be more i18n friendly
(eazel_install_fetch_rpm_dependencies),
Do a check so the some packages isn't added several times.
(eazel_install_ensure_deps):
list append rather then prepend. Seems rpm isn't as nonchalant
about the order of rpm's as we were led to believe.
* components/services/install/lib/eazel-install-rpm-glue.h:
Removed the EAZEL_INSTALL_DOWNLOADS status flag, check the
downloaded_files list in private instead.
* components/services/install/lib/eazel-install-types.h:
* components/services/install/lib/eazel-install-types.c:
(packagedata_new), (packagedata_destroy):
Made the md5 a pointer rather then char[16];
* components/services/install/lib/makefile.staticlib.in:
* components/services/trilobite/libtrilobite/makefile.staticlib.in:
* components/services/trilobite/libtrilobite/trilobite-core-utils.c:
I needed some cpp loving to keep the gnome-vfs stuff out of
nautilus-installer.
* components/services/trilobite/sample/service/sample-service-impl.
c: (sample_service_finalize), (sample_service_unref),
(sample_service_class_initialize):
* components/services/trilobite/sample/command-line/main.c: (main):
* components/services/trilobite/sample/lib/sample-service-public.h:
* components/services/trilobite/sample/service/main.c:
(trilobite_service_factory_destroy):
Fixed the destroy mechanism's of sample-service (bug 967)
* configure.in:
Added the mystic libtrilobite/makefile/staticlib.in
* nautilus-installer/src/Makefile:
* nautilus-installer/src/callbacks.c: (begin_install),
(prep_install), (prep_finish):
* nautilus-installer/src/callbacks.h:
* nautilus-installer/src/installer.c: (create_finish_page_good),
(create_finish_page_evil), (create_window),
(eazel_installer_initialize):
* nautilus-installer/src/link.sh:
More installer loving. Now it enables/disables the next/back
buttons in a more sane manner, plus handles lack of
package-list.xml better.
2000-09-05 Robey Pointer <robey@eazel.com>
* components/services/install/lib/eazel-install-object.c:
(eazel_install_install_packages):
* components/services/trilobite/libtrilobite/trilobite-core-utils.c
: (trilobite_init):
* components/services/trilobite/libtrilobite/trilobite-root-helper.
c: (trilobite_root_helper_start):
Fix bug 2684 that would cause an occasional crash if running as
root (freeing a password that had never been collected).
2000-09-05 Ramiro Estrugo <ramiro@eazel.com>
* libnautilus-extensions/nautilus-icon-canvas-item.c:
(nautilus_icon_canvas_item_initialize_class),
(nautilus_icon_canvas_item_initialize),
(nautilus_icon_canvas_item_destroy),
(nautilus_icon_canvas_item_set_arg),
(nautilus_icon_canvas_item_get_arg), (icon_canvas_item_is_smooth),
(nautilus_icon_canvas_item_get_max_text_width),
(nautilus_icon_canvas_item_set_smooth_font),
(nautilus_icon_canvas_item_set_smooth_font_size):
* libnautilus-extensions/nautilus-icon-canvas-item.h:
Add arguments and setter functions to set the font and font size
in smooth mode. Also added a function to determine whether we are
in smooth mode or not.
2000-09-05 Pavel Cisler <pavel@eazel.com>
* libnautilus-extensions/nautilus-directory-notify.h:
* libnautilus-extensions/nautilus-directory.c:
(nautilus_direcotry_copy_move_metadata_key),
(nautilus_directory_move_metadata),
(nautilus_directory_copy_metadata),
(nautilus_directory_schedule_metadata_copy),
(nautilus_directory_schedule_metadata_move),
(nautilus_directory_schedule_metadata_remove):
* libnautilus-extensions/nautilus-file-changes-queue.c:
(nautilus_file_changes_queue_schedule_metadata_remove),
(nautilus_file_changes_consume_changes):
* libnautilus-extensions/nautilus-file-changes-queue.h:
* libnautilus-extensions/nautilus-file-operations.c:
(sync_xfer_callback):
Add hooks for metadata removal.
2000-09-05 Ramiro Estrugo <ramiro@eazel.com>
* libnautilus-extensions/nautilus-lib-self-check-functions.h:
Add hook for scalable fonts test which im going to add soon.
* libnautilus-extensions/nautilus-scalable-font.h:
* libnautilus-extensions/nautilus-scalable-font.c:
(nautilus_scalable_font_text_width), New convenience function to
measure just the text width.
(nautilus_self_check_scalable_font): Add hook for scalable fonts
test which im going to add soon.
2000-09-05 Ramiro Estrugo <ramiro@eazel.com>
* libnautilus-extensions/nautilus-scalable-font.c:
(nautilus_scalable_font_draw_text),
(nautilus_scalable_font_draw_text_lines_with_dimensions),
(nautilus_scalable_font_draw_text_lines),
(initialize_global_stuff_if_needed):
Add support for rendering text on pixbufs without alpha channels.
* libnautilus-extensions/nautilus-icon-factory.c: (embed_text):
No longer need to create a pixbuf with alpha channel duplicate.
* test/test-nautilus-font.c: (main):
Paint the pixbuf white before drawing stuff to it.
2000-09-05 Andy Hertzfeld <andy@eazel.com>
* icons/arlo/sidebar_tab_pieces/Makefile.am:
* icons/arlo/sidebar_tab_pieces/fill-active-prelight.png:
* icons/arlo/sidebar_tab_pieces/left-bumper-active-prelight.png:
* icons/arlo/sidebar_tab_pieces/right-top-active-prelight.png:
added new tab pieces for active prelight state
* src/nautilus-sidebar-tabs.c:
(nautilus_sidebar_tabs_load_tab_pieces), (draw_one_tab_themed),
(nautilus_sidebar_tabs_expose):
fixed bug 2504, active tabs don't prelight, by adding, loading
and drawing the appropriate tab pieces. Also, moved the text
down one pixel at Arlo's request.
2000-09-05 Arlo Rose <arlo@eazel.com>
* icons/arlo/sidebar_tab_pieces/left-bumper.png
* icons/arlo/sidebar_tab_pieces/left-bumper-active.png
* icons/arlo/sidebar_tab_pieces/left-bumper-prelight.png
Took off left side pixel in order to get rid of the double
black line that was there.
2000-09-05 Ramiro Estrugo <ramiro@eazel.com>
* test/Makefile.am:
* test/font-test.sh:
Add a dumb script to make it easy to run the font test.
* test/test-nautilus-font.c: (main):
Make the clipping test better; clip both vertically and
horizontally.
2000-09-05 John Sullivan <sullivan@eazel.com>
Much context-menu-related cleanup and some bug fixes.
2734: comment fm_directory_view_add_context_menu_item
* libnautilus-extensions/nautilus-gtk-extensions.h,
* libnautilus-extensions/nautilus-gtk-extensions.c:
(nautilus_gtk_menu_append_separator): New convenience function
for appending a separator to a GtkMenu.
(nautilus_gtk_menu_set_item_visibility): New convenience function
for hiding/showing a menu item in a GtkMenu.
* src/file-manager/fm-directory-view.h:
Removed overridable function pointers for
create_background_context_menu_zoom_items and
create_background_context_menu_background_items; I made sure the
API supports what these were used for in a more general way.
Added overridable function pointer for supports_zooming. Now the
base class handles disabling/removing things for subclasses that
don't support zooming.
Changed fm_directory_view_add_context_menu_item to
_insert_context_menu_item and gave it a position parameter.
* src/file-manager/fm-directory-view.c:
(fm_directory_view_initialize_class): removed function pointer
assignment for deleted calls; added function pointer assignment
for new supports_zooming call.
(select_all_callback): Removed this function because I removed
the item from the context menu (as per bug 1794).
(fm_directory_view_bump_zoom_level),
(fm_directory_view_zoom_to_level),
(fm_directory_view_set_zoom_level),
(fm_directory_view_restore_default_zoom_level),
(fm_directory_view_can_zoom_in), (fm_directory_view_can_zoom_out):
Bail out without calling overridable function pointer for these
calls if supports_zooming is FALSE.
(finish_inserting_menu_item): New function, generalization of
finish_appending_menu_item that takes a position.
(finish_appending_menu_item): Now calls finish_inserting_menu_item.
Also, renamed this from finish_adding_menu_item.
(compute_menu_item_info): Removed ellipsis from "Show Properties"
and added comment explaining why it needs no ellipsis.
(append_gtk_menu_item_with_view),
(append_selection_menu_subtree): Update for adding -> appending rename.
(fm_directory_view_insert_context_menu_item): Generalization of
_append_context_menu_item that takes a position parameter.
(fm_directory_view_append_context_menu_item): Renamed from
_add_context_menu_item, and now calls _insert_context_menu_item.
(real_create_background_context_menu_zoom_items),
(real_create_background_context_menu_background_items):
Removed these functions. These menu items are no longer treated as
special cases.
(fm_directory_view_real_create_background_context_menu_items):
Now inserts zooming items only if supports_zooming is TRUE;
resurrected the accidentally-obliterated "Reset Background" item.
(add_separator): Removed this function in favor of
nautilus_gtk_menu_append_separator.
(add_application_to_gtk_menu), (add_component_to_gtk_menu),
(create_open_with_gtk_menu),
Update for API renames.
(fm_directory_view_real_create_selection_context_menu_items):
Use nautilus_gtk_menu_append_separator.
(fm_directory_view_supports_zooming): New function, calls
virtual function.
(fm_directory_view_real_supports_zooming): New function,
returns TRUE.
* src/file-manager/fm-icon-view.c:
(fm_icon_view_create_background_context_menu_items):
Remove "Icon Captions..." item per bug 1794
* src/file-manager/fm-desktop-icon-view.c:
(fm_desktop_icon_view_create_background_context_menu_zoom_items),
(fm_desktop_icon_view_create_background_context_menu_background_items),
(bump_zoom_level), (zoom_to_level), (restore_default_zoom_level),
(can_zoom_in), (can_zoom_out): Removed these functions due to
reworking the responsibilities of super- and subclass.
(real_supports_zooming): New function, returns FALSE.
(fm_desktop_icon_view_initialize_class): Remove overrides of various
functions; add override for supports_zooming.
(new_folder_menu_item_callback): Removed this now that it inherits
New Folder from parent.
(fm_desktop_icon_view_create_background_context_menu_items):
Cleaned this up to start with inherited and make modifications
as necessary rather than reimplementing the whole thing.
2000-09-05 Robey Pointer <robey@eazel.com>
* components/services/install/lib/eazel-install-protocols.c:
(eazel_install_fetch_package):
* components/services/install/lib/eazel-install-rpm-glue.c:
(eazel_install_download_packages):
* components/services/install/nautilus-view/nautilus-service-instal
l-view.c: (nautilus_service_install_downloading):
* components/services/install/server/main.c:
(trilobite_service_factory_destroy), (main):
Fix small bug in eazel-install (don't set the downloaded flag if
the rpm didn't get downloaded); correct FIXME comment; clean up
install main to have the right log domain and remove unused code.
2000-09-05 Michael Engber <engber@eazel.com>
We now update the gnome_config settings that store the list
of background images that populate the background capplet's
popup menu. bug 2343.
* libnautilus-extensions/nautilus-directory-background.c:
(nautilus_directory_background_write_desktop_settings):
2000-09-05 Mathieu Lacage <mathieu@eazel.com>
* components/tree/nautilus-tree-view.c: implement task bugzilla.eazel.com
2416
2000-09-05 Andy Hertzfeld <andy@eazel.com>
fixed bug 2610, can't delete duplicate colors from property browser.
Also, made property browser use anti-aliased item labels
* src/nautilus-property-browser.c: (remove_color),
(add_new_button_callback), (remove_button_callback),
(element_clicked_callback), (make_properties_from_directories):
fixed bug by checking for delete property when finding item to delete;
also, set up nautilus_buffered_widget properities for labels
* src/nautilus-search-bar-criterion.c: (make_emblem_value_menu):
made it use nautilus_label routines to access returned label text
* libnautilus-extensions/nautilus-customization-data.h:
changed type of label returned from GtkLabel to GtkWidget
* libnautilus-extensions/nautilus-customization-data.c:
(nautilus_customization_data_get_next_element_for_display):
return a nautilus_label instead of a gtk_label
2000-09-05 Mathieu Lacage <mathieu@eazel.com>
* components/tree/nautilus-tree-view.c:
(nautilus_tree_view_insert_model_node): add some dnd UI nicety.
GtkCTreeNode now hold a pointer to their NautilusTreeNode instead
of their char *uri.
* libnautilus-extensions/nautilus-search-uri.c:
(nautilus_self_check_search_uri): fix tests after rebecka
second break of them :)
2000-09-05 Darin Adler <darin@eazel.com>
* check-FIXME.pl: Removed some special-case file names
that aren't needed any more.
* libnautilus-extensions/nautilus-file-operations.c:
(get_link_name): Added comments to help localizers.
* libnautilus-extensions/nautilus-file.c:
(nautilus_file_get_date_as_string): Added comments to help
localizers. Deals with bug 2720 (Please add a comment to help
localizers do date translations)
* libnautilus-extensions/nautilus-icon-canvas-item.c:
(draw_or_measure_label_text): Added a comment to help localizers.
* src/file-manager/fm-directory-view.c:
(fm_directory_view_display_selection_info): Unmarked one string
that doesn't make sense to translate and adding a comment to
another to explain why it is marked for translation.
(add_separator): Changed add_open_with_gtk_menu_item into this
function, which deals with bug 2735 (add_open_with_gtk_menu_item
only called to create separator?).
(create_open_with_gtk_menu): Call the new add_separator function.
* src/nautilus-zoom-control.c: (create_zoom_menu_item): Added a
comment to help localizers.
* libnautilus-extensions/nautilus-link.c: (make_local_path): Fixed
logic here that was doing strange things with URIs. This deals
with bugs 2492 (Incorrect unescaping when dealing with link
files), 2493 (Mysterious and probably incorrect "+7" when escaping
URI for link file), and 2737 (link code must make path into URI).
* libnautilus-extensions/nautilus-search-bar-criterion.c:
* libnautilus-extensions/nautilus-search-bar-criterion.h:
* po/POTFILES.in:
Removed these duplicate files. Rebecca moved them to src, but she
didn't remove the old ones. I didn't have to remove them from the
makefile, since they were already removed, but I had to remove
them from the list of files to translate.
* src/nautilus-search-bar-criterion.h:
* libnautilus-extensions/nautilus-search-uri.h:
Moved some of the stuff from nautilus-search-bar-criterion.h to
here, since it's really about search URIs, not specific to the
search bar. Over time we will move more.
* src/nautilus-search-bar-criterion.c: Added include of the
nautilus-search-uri.h header now that stuff was moved there.
* src/file-manager/fm-search-list-view.c:
Fixed includes to get the nautilus-search-bar-criterion.h from its
new location. This is not a real solution to the problem that was
exposed by moving the search bar code. The bug 2815 covers this.
* src/nautilus-complex-search-bar.c: Fix search bar so it gets
the real location of the header. It was including the old one.
* src/nautilus-simple-search-bar.c: Fix search bar so it gets
the real location of the header. It was including the old one.
* src/nautilus-main.c: (main): Some small cleanups including some
additional parameter checking and returning a failure code to
the invoking shell in the case where the parameters are not
consistent.
2000-09-05 Pavel Cisler <pavel@eazel.com>
* configure.in:
Remove the -Wuninitialized to unbreak the build.
(It should be part of -Wall so it's probably not needed anyhow).
2000-09-05 Pavel Cisler <pavel@eazel.com>
* components/help/converters/gnome-db2html2/gdb3html.c:
(xml_parse_document):
* components/help/hyperbola-nav-index.c: (end_element):
* components/services/summary/nautilus-view/nautilus-summary-view.c
: (logout_button_cb):
* components/services/time/service/trilobite-eazel-time-service.c:
(trilobite_eazel_time_service_do_http_request):
* components/tree/nautilus-tree-view.c:
* configure.in:
* libnautilus-extensions/bonobo-stream-vfs.c:
(bonobo_stream_vfs_open):
* libnautilus-extensions/nautilus-background.c:
(nautilus_background_draw), (nautilus_background_draw_aa):
* libnautilus-extensions/nautilus-customization-data.c:
(nautilus_customization_data_new):
* libnautilus-extensions/nautilus-directory-background.c:
(nautilus_directory_background_write_desktop_settings):
* libnautilus-extensions/nautilus-file-operations.c:
(nautilus_file_operations_move_to_trash), (do_empty_trash):
* libnautilus-extensions/nautilus-file.c: (nautilus_file_dump):
* libnautilus-extensions/nautilus-icon-canvas-item.c:
(draw_or_measure_label_text), (emblem_layout_next):
* libnautilus-extensions/nautilus-icon-factory.c:
(get_image_from_cache):
* libnautilus-extensions/nautilus-icon-text-item.c:
(iti_paint_text):
* libnautilus-extensions/nautilus-list.c: (draw_cell), (draw_row):
* libnautilus-extensions/nautilus-mime-actions.c:
(nautilus_mime_add_application_to_short_list_for_uri):
* libnautilus-extensions/nautilus-program-chooser.c:
(program_file_pair_get_short_status_text),
(program_file_pair_get_long_status_text):
* libnautilus-extensions/nautilus-program-choosing.c:
(nautilus_choose_component_for_file),
(nautilus_choose_application_for_file):
* libnautilus-extensions/nautilus-scalable-font.c:
(nautilus_scalable_font_draw_text_lines_with_dimensions):
* libnautilus-extensions/nautilus-theme.c:
(nautilus_theme_make_selector):
* librsvg/rsvg-ft.c: (rsvg_ft_get_glyph):
* librsvg/test-ft-gtk.c: (set_text):
* librsvg/test-ft.c: (save_pixbuf_to_file_internal),
(save_pixbuf_to_file):
* librsvg/test-rsvg.c: (save_pixbuf_to_file_internal),
(save_pixbuf_to_file):
* src/file-manager/fm-directory-view.c: (display_pending_files),
(compute_menu_item_info):
* src/file-manager/fm-icon-view.c: (compute_menu_item_info):
* src/file-manager/fm-list-view.c: (get_column_from_attribute):
* src/nautilus-application.c: (nautilus_application_startup):
* src/nautilus-search-bar-criterion.c:
(nautilus_search_bar_criterion_next_new),
(nautilus_search_bar_criterion_get_location),
(get_date_modified_location_for):
* src/nautilus-sidebar-tabs.c: (draw_one_tab_themed),
(draw_or_layout_all_tabs):
* src/nautilus-toolbar.c: (nautilus_toolbar_size_allocate):
* src/nautilus-window-manage-views.c:
(nautilus_window_get_current_location_title):
* test/test-nautilus-label.c: (justification_changed_callback):
Fix all the warnings -Wuninitialized found.
Quite a number of them were actual bugs.
Turn on -Wuninitialized in configure.in now that ORBit generates
warning-free code.
2000-09-05 John Sullivan <sullivan@eazel.com>
Fixed bug 1247 ("Edit Novice Settings" menu item
needs to be handled better)
Now this menu item is enabled, and choosing it explains
that you can't edited the Novice settings but offers
to switch to Intermediate and let you edit those
settings.
* libnautilus-extensions/nautilus-user-level-manager.c,
* libnautilus-extensions/nautilus-user-level-manager.h:
Made the #defines for the user level ints public, so
code elsewhere could use them rather than hardwiring
a bunch of 0s, 1s, and 2s.
* libnautilus-extensions/nautilus-caption-table.h:
* libnautilus-extensions/nautilus-caption.h:
* libnautilus-extensions/nautilus-font-picker.h:
* libnautilus-extensions/nautilus-global-preferences.h:
* libnautilus-extensions/nautilus-password-dialog.h:
* libnautilus-extensions/nautilus-preference.h:
* libnautilus-extensions/nautilus-preferences-box.h:
* libnautilus-extensions/nautilus-preferences-dialog.h:
* libnautilus-extensions/nautilus-preferences-group.h:
* libnautilus-extensions/nautilus-preferences-item.h:
* libnautilus-extensions/nautilus-preferences-pane.h:
* libnautilus-extensions/nautilus-preferences-private.h:
* libnautilus-extensions/nautilus-preferences.h:
* libnautilus-extensions/nautilus-radio-button-group.h:
* libnautilus-extensions/nautilus-string-picker.h:
* libnautilus-extensions/nautilus-text-caption.h:
Changed the closing BEGIN_GNOME_DECLS in these header files
to END_GNOME_DECLS.
* src/nautilus-window-menus.c:
(get_user_level_string_for_display): New function, extracted
from get_customize_user_level_string. Returns the user level
string to be put into user messages or menu item names.
(get_customize_user_level_string): Now calls
get_user_level_string_for_display
(switch_and_show_intermediate_settings_callback): New function,
switches to intermediate level and displays the user level
settings dialog.
(user_level_customize_callback): If the current user level is
NAUTILUS_USER_LEVEL_NOVICE, puts up a dialog telling the user
that the Novice settings can't be changed, and asking them if
they want to switch to Intermediate and edit those settings.
(get_user_level_image), (user_level_changed_callback),
(nautilus_window_initialize_menus),
(convert_menu_path_to_user_level),
(convert_user_level_to_menu_path):
Use #defines for user levels instead of hardwiring integers.
(switch_to_user_level): New function, extracted from
user_level_menu_item_callback. Switches to a specified user
level and updates menu items & title image appropriately.
(user_level_menu_item_callback): Now calls switch_to_user_level.
(update_user_level_menu_items): Don't desensitize the Edit
Settings item at Novice user level anymore.
2000-09-05 Andy Hertzfeld <andy@eazel.com>
* src/nautilus-shell.c: (display_caveat):
Now that Ramiro fixed the problems in NautilusLabel,
made the caveat dialog use anti-aliased text
2000-09-05 Gene Z. Ragan <gzr@eazel.com>
* libnautilus-extensions/nautilus-link.c:
(nautilus_link_get_image_uri):
Added a check for a NULL image tag returned
by am XML property retrieval.
2000-09-05 Pavel Cisler <pavel@eazel.com>
* libnautilus-extensions/nautilus-directory.c:
(nautilus_direcotry_copy_move_metadata_key),
(nautilus_directory_copy_metadata_key),
(nautilus_directory_move_metadata_key),
(nautilus_directory_move_metadata),
(nautilus_directory_copy_metadata),
(nautilus_directory_schedule_metadata_copy),
(nautilus_directory_schedule_metadata_move):
Work on metadata copying.
For now hardcode the metadata keys that get copied.
Metadata move does not remove old metadata in source location yet.
2000-09-05 Ramiro Estrugo <ramiro@eazel.com>
* libnautilus-extensions/nautilus-icon-factory.c: (embed_text):
Fix a bug I just introduced drawing embedded text in the non
smooth case. We need to make sure the pixbuf we feed to the text
rendering code has an alpha channel.
2000-09-05 Ramiro Estrugo <ramiro@eazel.com>
More work on task 1588.
* libnautilus-extensions/nautilus-icon-factory.c: (embed_text):
Use NautilusScalableFont to render embedded text.
2000-09-05 Ramiro Estrugo <ramiro@eazel.com>
* libnautilus-extensions/nautilus-scalable-font.c:
(nautilus_scalable_font_draw_text_lines):
Add a FIXME for a performance issue.
2000-09-05 Ramiro Estrugo <ramiro@eazel.com>
* libnautilus-extensions/nautilus-label.c: (render_buffer_pixbuf):
* libnautilus-extensions/nautilus-scalable-font.c:
(nautilus_scalable_font_draw_text_lines_with_dimensions),
(nautilus_scalable_font_draw_text_lines):
* libnautilus-extensions/nautilus-scalable-font.h:
Simpify the text line drawing function to not reuqire passing in
the number of lines or their dimensions. Compute these when
needed. An alternate function that accepts the dimensions is
available as well.
* test/test-nautilus-font.c: (main):
Draw both text lines and single line clipped text to test more
stuff.
2000-09-05 Ramiro Estrugo <ramiro@eazel.com>
Complete task 1733 - need mozilla component support for grokking
eazel: uris.
* components/mozilla/nautilus-mozilla-content-view.c:
(nautilus_mozilla_content_view_initialize),
(nautilus_mozilla_content_view_destroy), (bonobo_mozilla_callback),
(mozilla_net_state_callback), (mozilla_open_uri_callback),
(mozilla_dom_mouse_click_callback):
For mozilla M17, add support for registering the eazel protocol
handler. For mozilla M18, add support for peeking dom events -
this is the preffered way to deal with these special uris, however
we cant turn this on until mozilla M18 is released.
2000-09-05 Ramiro Estrugo <ramiro@eazel.com>
* components/mozilla/eazel-protocol-handler/eazel-protocol-channel.cpp:
Damn, some of this code only builds with mozilla M18. Updating
for that.
2000-09-05 Ramiro Estrugo <ramiro@eazel.com>
More work on task 1733.
* components/mozilla/eazel-protocol-handler/.cvsignore:
* components/mozilla/eazel-protocol-handler/Makefile.am:
* components/mozilla/eazel-protocol-handler/eazel-protocol-channel.cpp:
* components/mozilla/eazel-protocol-handler/eazel-protocol-channel.h:
* components/mozilla/eazel-protocol-handler/eazel-protocol-handler.cpp:
* components/mozilla/eazel-protocol-handler/eazel-protocol-handler.h:
* components/mozilla/eazel-protocol-handler/eazel-protocol-module.cpp:
New files. A mozilla XPCOM component to grok eazel: protocol uris.
* components/mozilla/Makefile.am:
Build the eazel-protocol-handler
* configure.in:
Build the eazel-protocol-handler
2000-09-05 Ramiro Estrugo <ramiro@eazel.com>
* components/tree/.cvsignore:
Ignore generated files.
2000-09-05 Ramiro Estrugo <ramiro@eazel.com>
More work on task 1588.
* libnautilus-extensions/nautilus-scalable-font.c:
(nautilus_scalable_font_draw_text),
(nautilus_scalable_font_measure_text_lines),
(nautilus_scalable_font_draw_text_lines):
* libnautilus-extensions/nautilus-scalable-font.h:
Change text rendering api to take in x,y coordinates along with a
clip_area.
Remove some #if 0 code i left in before.
Also change the text lines rendering api to optionally do its own
line measuring - for the convenience of the caller.
* libnautilus-extensions/nautilus-label.c: (render_buffer_pixbuf):
Update for text rendering changes.
Fix the justification bug.
Fix the multiple newlines bug.
* src/nautilus-about.c: (draw_aa_string):
Update for text rendering changes.
* src/nautilus-sidebar-tabs.c: (draw_one_tab_plain),
(draw_one_tab_themed):
Update for text rendering changes.
* test/test-nautilus-font.c: (main):
Update for text rendering changes.
Also add multiple new lines test and clipping test.
* test/test-nautilus-label.c: (main):
Update for text rendering changes.
2000-09-05 Ramiro Estrugo <ramiro@eazel.com>
* librsvg/rsvg-ft.c: (rsvg_ft_render_string):
Add a band aid fix for the unknown character problem when trying
to index glyphs from a font face. I filed a bug for this issue:
2775.
2000-09-04 Maciej Stachowiak <mjs@eazel.com>
* src/nautilus-window-manage-views.c
(nautilus_window_update_view): Fix bug 2462 by causing a NULL
selection to be interpreted as no selection, rather than an empty
selection.
2000-09-05 Andy Hertzfeld <andy@eazel.com>
* src/nautilus-theme-selector.c:
(nautilus_theme_selector_initialize), (add_theme_to_icons),
(dialog_destroy), (add_new_theme_button_callback):
implement the "add new theme" command by invoking a file dialog;
this still isn't finished yet.
2000-09-04 Ramiro Estrugo <ramiro@eazel.com>
Work on task 1588.
* configure.in:
* data/Makefile.am:
* data/fonts/.cvsignore:
* data/fonts/Makefile.am:
* data/fonts/urw/.cvsignore:
* data/fonts/urw/Makefile.am:
* data/fonts/urw/README:
* data/fonts/urw/fonts.dir:
Add a fallback font in case no Type1 fonts are found in the
system. This font was plucked from the ghostscript-fonts-5.10a
package. See data/fonts/urw/README for more info.
2000-09-04 Andy Hertzfeld <andy@eazel.com>
* icons/Makefile.am:
* icons/i-web-72.png:
added a new icon for generic http documents, which is just a
placeholder.
* libnautilus-extensions/nautilus-icon-factory.c:
(nautilus_icon_factory_get_icon_name_for_regular_file):
made it use a distinct icon for generic documents if the protocol
associated with the file is "http", so the sidebar can have a decent
icon when displaying websites. The current icon is just a placeholder.
2000-09-04 Ramiro Estrugo <ramiro@eazel.com>
Work on task 1733.
* configure.in:
Add macros for only xpcom and nspr libs (for components)
Add check for mozilla M18 - evil in its purest form.
2000-09-04 Ramiro Estrugo <ramiro@eazel.com>
Work on task 1733.
* components/mozilla/mozilla-components.cpp:
Quiet down the debug noise.
* components/mozilla/mozilla-events.cpp:
* components/mozilla/mozilla-events.h:
A new wrapper for grokking mozilla dom events.
* components/mozilla/Makefile.am:
Build the events code.
2000-09-04 Ramiro Estrugo <ramiro@eazel.com>
* libnautilus-extensions/nautilus-buffered-widget.c:
(create_background_pixbuf_from_ancestor):
Remove an assertion that is not needed.
2000-09-04 Ramiro Estrugo <ramiro@eazel.com>
Work on task 1588.
* libnautilus-extensions/nautilus-scalable-font.c:
(nautilus_scalable_font_measure_text),
(nautilus_scalable_font_draw_text),
(nautilus_scalable_font_measure_text_lines),
(nautilus_scalable_font_draw_text_lines),
(nautilus_scalable_font_measure_text_lines),
(nautilus_scalable_font_draw_text_lines),
(nautilus_scalable_font_largest_fitting_font_size):
* libnautilus-extensions/nautilus-scalable-font.h:
Change api to accept a string with embedded new lines instead of
an array of strings. This simplifies many things.
* libnautilus-extensions/nautilus-label.c:
(nautilus_label_initialize), (nautilus_label_destroy),
(render_buffer_pixbuf), (label_recompute_line_geometries):
Update for NautilusScalalbleFont api changes. No longer need to
tokenize the text string. we can feed the string to the rendering
api as is.
* librsvg/rsvg-ft.c: (rsvg_ft_render_string):
* librsvg/rsvg-ft.h:
Change the string to glyph rendering api to accept the string
length rather than computing it. This makes it possible to feed
it arbitrary lengths.
* librsvg/rsvg.c: (rsvg_text_handler_characters):
* librsvg/test-ft-gtk.c: (draw_line):
* librsvg/test-ft.c: (main):
Update for api changes.
* src/nautilus-about.c: (draw_aa_string):
* src/nautilus-sidebar-tabs.c: (draw_one_tab_plain),
(draw_one_tab_themed), (get_tab_width):
* test/test-nautilus-font.c: (main):
Update test to use text lines drawing api.
* test/test-nautilus-label.c:
(alpha_background_color_value_changed_callback), (main):
Update test for 2 new lines in a row.
2000-09-04 Ramiro Estrugo <ramiro@eazel.com>
* libnautilus-extensions/nautilus-string-list.c:
(nautilus_self_check_string_list):
Make the tokens test a little better.
2000-09-04 Maciej Stachowiak <mjs@eazel.com>
* configure.in: Set shared library tree view as default,
completing task 1647.
2000-09-04 Maciej Stachowiak <mjs@eazel.com>
* components/tree/nautilus-tree-model.c:
(nautilus_tree_model_initialize), (nautilus_tree_model_destroy),
(nautilus_tree_model_for_each_postorder),
(nautilus_tree_model_monitor_remove),
(nautilus_tree_model_get_node), (report_node_added),
(report_node_changed), (report_node_removed_internal),
(nautilus_tree_model_directory_files_changed_callback):
* components/tree/nautilus-tree-node-private.h:
* components/tree/nautilus-tree-node.c:
(nautilus_tree_node_destroy), (nautilus_tree_node_new),
(nautilus_tree_node_get_uri):
* components/tree/nautilus-tree-node.h:
* components/tree/nautilus-tree-view.c:
(nautilus_tree_view_insert_model_node):
Architecture changes to properly handle the case where a
NautilusFile object changes name or location. In brief, the tree
model keeps a hash keyed on NautilusFiles instead of on uris, and
tries to remember the URI of a node to detect when the URI
changes. When the URI changes, it gives a remove notification
followed by an add notification.
2000-09-03 Andy Hertzfeld <andy@eazel.com>
made the arlo sidebar tabs use the official anti-aliased text machinery,
instead of the scaling hack it was using. Also, made the non-themed
tabs use anti-aliased text.
* src/nautilus-sidebar-tabs.c:
(nautilus_sidebar_tabs_load_theme_data),
(nautilus_sidebar_tabs_destroy), (make_colored_pixbuf),
(draw_one_tab_plain), (draw_one_tab_themed), (get_tab_width):
use NautilusScalableFont to render and measure the labels, for both
types of tabs
Sun Sep 03 19:09:49 2000 George Lebl <jirka@5z.com>
* src/nautilus-first-time-druid.c (nautilus_first_time_druid_show):
mark druid_welcome.png for translation (it contains english text)
and put in a comment explaining why which should appear in the
.po file.
2000-09-03 Maciej Stachowiak <mjs@eazel.com>
* components/tree/nautilus-tree-model.c
(nautilus_tree_model_for_each_postorder): Some optional debugging
statements.
(nautilus_tree_model_monitor_remove): Also unmonitor any nodes
that might be monitored by this client.
* components/tree/nautilus-tree-view.c
(nautilus_tree_view_destroy): Stop monitoring the model
2000-09-03 Ali Abdin <aliabdin@aucegypt.edu>
I now consider navigation links to be 'done' (Fixes bug #2201)
* components/help/converters/gnome-db2html2/gdb3html.c:
(parse_file): Renamed a variable. Updated the call to sect_footer.
Cleaned up in a couple misc. spots
(sect_footer): Renamed the variables to be more descriptive. Modified
calls to print_footer (function changed + we now pass the full URI).
Fixed memory leaks by actually freeing the variables.
(print_footer): Change the function arguments to make it a 'sane'
function. Also - just print what we recieve.
* components/help/converters/gnome-db2html2/toc-elements.c:
(toc_title_start_element),
(toc_title_end_element):
Disable the links to sect2/sect3/sect4/sect5 tags as they already get
'included' with the sect1 tags.
Ideally we should create anchor tags in the sect1 'pages' and use that
instead, but this will not work due to mozilla issues
2000-09-03 Maciej Stachowiak <mjs@eazel.com>
* components/services/install/lib/eazel-install-protocols.c:
(eazel_install_fetch_package):
* components/services/login/nautilus-view/nautilus-login-view.c:
(nautilus_login_view_initialize):
* components/services/summary/nautilus-view/nautilus-summary-view.c
: (authn_cb_succeeded), (authn_cb_failed), (login_button_cb),
(nautilus_summary_view_initialize):
* components/tree/libmain.c: (tree_shlib_object_destroyed):
* components/tree/nautilus-tree-view.c:
* libnautilus-extensions/nautilus-link.c: (make_local_path):
* libnautilus-extensions/nautilus-search-bar-criterion.c:
(make_emblem_value_menu):
* src/file-manager/fm-directory-view.c:
(add_open_with_gtk_menu_item):
* src/nautilus-search-bar-criterion.c: (make_emblem_value_menu),
(emblems_changed_callback):
Added bug numbers for FIXMEs
2000-09-03 Pavel Cisler <pavel@eazel.com>
* libnautilus-extensions/nautilus-directory-notify.h:
* libnautilus-extensions/nautilus-directory.c:
(nautilus_directory_schedule_metadata_copy),
(nautilus_directory_schedule_metadata_move):
* libnautilus-extensions/nautilus-file-changes-queue.c:
(nautilus_file_changes_queue_schedule_metadata_copy),
(nautilus_file_changes_queue_schedule_metadata_move),
(nautilus_file_changes_consume_changes):
* libnautilus-extensions/nautilus-file-changes-queue.h:
* libnautilus-extensions/nautilus-file-operations.c:
(progress_dialog_set_files_remaining_text),
(handle_xfer_vfs_error), (handle_xfer_duplicate),
(sync_xfer_callback):
Work on task bugzilla task 330.
Add notification hooks for metadata copying to NautilusFileChangesQueue.
Using the new top_level_item, call the hooks from the copy engine
synchronous callback.
2000-09-03 Maciej Stachowiak <mjs@eazel.com>
* components/tree/nautilus-tree-view.c: (insert_hack_node,
remove_hack_node, freeze_if_have_hack_node): Remove gratuitous
debugging messages.
2000-09-03 Andy Hertzfeld <andy@eazel.com>
* components/rpmview/nautilus-rpm-verify-window.h:
added "continue" signal
* components/rpmview/nautilus-rpm-verify-window.c:
(nautilus_rpm_verify_window_initialize_class),
(continue_button_callback), (cancel_button_callback),
(nautilus_rpm_verify_window_initialize),
(nautilus_rpm_verify_window_set_error_mode):
implemented verify error presentation, by adding a continue and cancel button,
with a method to show them, and a signal to resume verification after errors
* components/rpmview/nautilus-rpm-view.c:
(nautilus_rpm_view_verify_files),
(nautilus_rpm_view_verify_package_callback),
(rpm_view_continue_verify):
connect to the "continue" signal and resume verification; remember where we
left off in an instance variable. We still need more descriptive messages.
2000-09-02 Andy Hertzfeld <andy@eazel.com>
* components/rpmview/Makefile.am:
* components/rpmview/nautilus-rpm-verify-window.c,h:
(nautilus_rpm_verify_window_initialize_class),
(nautilus_rpm_verify_window_destroy),
(nautilus_rpm_verify_window_initialize),
(nautilus_rpm_verify_window_new),
(nautilus_rpm_verify_window_set_message):
added verify window class to give feedback during the verify operation
* components/rpmview/nautilus-rpm-view.c:
(nautilus_rpm_view_destroy), (nautilus_rpm_view_update_from_uri),
(nautilus_rpm_view_verify_package_callback):
made the verify command work, but it's still needs to handle verification errors
made the file list work correctly with rpmlib version >= 3.0
* src/nautilus-about.c: (nautilus_about_draw_info):
at Arlo's request, made the comment text in the about window have a white shadow
2000-09-02 Eskil Heyn Olsen <eskil@eazel.com>
* components/hardware/nautilus-hardware-view.c:
(get_RAM_description), (get_IDE_description),
(setup_overview_form), (setup_IDE_form),
(nautilus_hardware_view_load_uri):
Added Shane Butlers <sbutle@deakin.edu.au> patch for showing IDE
devices in the hardware overview. Also fixed the size display
problem (unsigned long overflow).
Sat Sep 02 02:56:48 2000 George Lebl <jirka@5z.com>
* libnautilus-extensions/nautilus-icon-canvas-item.c (map_pixbuf),
libnautilus-extensions/nautilus-theme.c (load_theme_document):
Deal with the fact that nautilus_pixmap_file can return a NULL
if the file doesn't exist.
* src/nautilus-first-time-druid.c (create_named_pixbuf),
(make_hbox_user_level_radio_button):
Deal with nautilus_pixmnap_file_returning NULL. Also do
not assert out when no icon can be loaded. Things need to
work/fail gracefully if icons are not installer properly instead of
just asserting.
(set_page_sidebar) (nautilus_first_time_druid_show):
Use the create_named_pixbuf function for loading the pixbufs
* src/nautilus-shell.c (display_caveat): Again deal with
non-existant image. If it doesn't exist don't even create the
frame for the image.
2000-09-01 Eskil Heyn Olsen <eskil@eazel.com>
* components/services/install/lib/eazel-install-types.h:
* components/services/install/lib/eazel-install-rpm-glue.h:
* components/services/install/lib/eazel-install-types.c:
(categorydata_destroy_foreach), (packagedata_new),
(packagedata_destroy), (packagedata_remove_soft_dep):
The packagedata_destroy_foreach has been removed,
packagedata_destroy now takes a boolean that controls the deep
destroy.
* components/rpmview/nautilus-rpm-view.c:
(nautilus_rpm_view_destroy), (nautilus_rpm_view_update_from_uri):
* components/services/install/command-line/eazel-alt-install-corba.
c: (main):
Use the categorydata_new call
* components/services/install/lib/eazel-install-corba-callback.c:
(impl_dep_check), (impl_install_progress),
(impl_uninstall_progress):
Fixed to use the changed packagedata_destroy
* components/services/install/lib/eazel-install-corba.c:
(impl_Eazel_Install_simple_query):
Call the correct query call
* components/services/install/lib/eazel-install-private.h:
Added a glist to hold downloaded packages
* components/services/install/lib/eazel-install-object.c:
(eazel_install_initialize), (eazel_install_install_packages),
(eazel_install_uninstall_packages),
(eazel_install_revert_transaction_from_xmlstring),
(eazel_install_query_package_system),
(eazel_install_emit_install_progress_default):
Modified the deletion, so it now deletes all downloaded files (and
only downloaded files). Also this file is now responsible for
calling prepare_package_system.
* components/services/install/lib/eazel-install-protocols.c:
(eazel_install_fetch_file):
Added downloaded packages to the glist in eazel_install.
* components/services/install/lib/eazel-install-query.c:
(eazel_install_simple_rpm_query), (eazel_install_simple_query):
Removed the prepare/free_package_system calls
* components/services/install/lib/eazel-install-rpm-glue.c:
(eazel_install_flatten_categories),
(eazel_install_download_packages),
(eazel_install_pre_install_packages),
(eazel_install_do_install_packages), (uninstall_all_packages),
(ei_get_packages_with_mod_flag), (ei_check_uninst_vs_downgrade),
(revert_transaction), (eazel_install_do_transaction_fill_hash),
(eazel_install_do_transaction_get_total_size),
(eazel_install_start_transaction_make_argument_list),
(eazel_install_do_transaction_save_report_helper),
(eazel_install_display_arguments),
(eazel_install_start_transaction),
(eazel_install_prune_packages_helper),
(eazel_install_prune_packages), (eazel_install_load_rpm_headers),
(eazel_install_free_rpm_system),
(eazel_install_prepare_rpm_system), (eazel_install_add_to_rpm_set),
(eazel_install_add_to_extras_foreach),
(eazel_install_check_existing_packages),
(eazel_install_fetch_rpm_dependencies), (print_package_list),
(eazel_install_ensure_deps), (eazel_uninstall_upward_traverse),
(eazel_uninstall_downward_traverse),
(eazel_uninstall_check_for_install), (eazel_uninstall_globber):
changed all the iterations to use g_list_next.
Changed the packagedata_destroy calls
Fixed the reversion
Modified the prepare package system scheme
* components/services/install/nautilus-view/nautilus-service-instal
l-view.c: (nautilus_install_parse_uri),
(nautilus_service_install_view_update_from_uri):
Changed the packagedata_destroy calls.
Used categorydata_new instead of g_new
* components/services/install/nautilus-view/nautilus-service-instal
l.c: (nautilus_service_install_view_install_package_callback),
(nautilus_service_install_view_uninstall_package_callback):
Used categorydata_new instead of g_new
* nautilus-installer/src/druid-sidebar.xpm:
Nicer ui
* nautilus-installer/src/installer.c: (check_system):
Comment to the danish dialog box...
2000-09-01 J Shane Culpepper <pepper@eazel.com>
* components/services/summary/nautilus-view/nautilus-summary-view.c
: (generate_summary_form), (maintenance_button_cb),
(community_button_cb), (register_button_cb):
Adding missing buttons to the summary view.
2000-09-01 Robey Pointer <robey@eazel.com>
* components/services/login/nautilus-view/Makefile.am:
* components/services/login/nautilus-view/nautilus-login-view.c:
(generate_login_form), (entry_changed_cb), (authn_succeeded),
(authn_failed), (start_login), (login_button_cb),
(nautilus_login_view_initialize), (nautilus_login_view_destroy):
Fix the "login view" so that it's really the change-password
view. Another bug (2710) has been filed on cleaning this up and
possibly renaming it.
2000-09-01 Darin Adler <darin@eazel.com>
* libnautilus-extensions/nautilus-directory-private.h:
* libnautilus-extensions/nautilus-directory-async.c:
(nautilus_directory_is_anyone_monitoring_file_list):
Made this function public because it's needed to get the
assert right.
(start_or_stop_io): Use it by the new public name.
* libnautilus-extensions/nautilus-vfs-directory.c:
(vfs_is_not_empty): Use the new function to get the assert
right, which fixes bug 2706 (crash at startup with
bookmark for nonexistent trash file).
* libnautilus-extensions/nautilus-trash-directory.c:
(remove_trash_volume): Fix a NautilusDirectory leak.
* libnautilus-extensions/nautilus-glib-extensions.c:
(print_key_string), (free_hash_tables_at_exit):
Print keys before complaining about hash table so you
see them first if you have things set to drop into
the debugger on warnings.
2000-09-01 John Sullivan <sullivan@eazel.com>
Changed all nautilus dialog calls to take a window title
(or NULL to get "Nautilus: Error" and the like). Updated
all callers to pass a window title.
* libnautilus-extensions/nautilus-stock-dialogs.h,
* libnautilus-extensions/nautilus-stock-dialogs.c:
(show_message_box), (show_ok_box), (nautilus_info_dialog),
(nautilus_warning_dialog), (nautilus_error_dialog),
(nautilus_error_dialog_with_details), (nautilus_yes_no_dialog):
Updated all public & private dialog-creating calls to take
a dialog_title parameter.
* components/rpmview/nautilus-rpm-view-install.c:
(nautilus_rpm_view_install_done):
* libnautilus-extensions/nautilus-file-operations.c:
(confirm_empty_trash):
* libnautilus-extensions/nautilus-program-chooser.c:
(nautilus_program_chooser_show_no_choices_message):
* libnautilus-extensions/nautilus-program-choosing.c:
(nautilus_launch_application_parented):
* src/file-manager/fm-error-reporting.c:
(fm_report_error_renaming_file), (fm_report_error_setting_group),
(fm_report_error_setting_owner),
(fm_report_error_setting_permissions):
* src/nautilus-application.c:
(nautilus_application_check_user_directories),
(nautilus_application_startup):
* src/nautilus-first-time-druid.c:
(nautilus_first_time_druid_show):
* src/nautilus-property-browser.c: (emblem_image_file_changed),
(add_background_to_browser):
* src/nautilus-sidebar.c: (receive_dropped_uri_list):
* src/nautilus-window-manage-views.c: (handle_unreadable_location),
(report_content_view_failure_to_user),
(report_sidebar_panel_failure_to_user),
(nautilus_window_end_location_change_callback):
* src/nautilus-window-menus.c: (forget_history_if_confirmed),
(show_bogus_bookmark_window): Made up dialog titles for all
title-less dialogs. A few were already setting titles after
the fact, so I removed the now-extraneous set_title calls.
2000-09-01 J Shane Culpepper <pepper@eazel.com>
* components/services/nautilus-dependent-shared/shared-service-widg
ets.c: (create_summary_service_title_top_widget),
(create_summary_service_title_bottom_widget),
(create_services_header_widget),
(create_summary_service_large_grey_header_widget),
(create_summary_service_small_grey_header_widget):
* components/services/nautilus-dependent-shared/shared-service-widg
ets.h:
* components/services/summary/nautilus-view/nautilus-summary-view.c
: (generate_summary_form):
Finishing Bug #2631. Arlo titles to all sections of the summary view.
2000-09-01 Michael Engber <engber@eazel.com>
Removed our quitting logic from nautilus-application
(where it was tied to nautilus-window closing) and added
a more general mechanism in main.c - by which you can
register any gtk object to keep the main event loop
alive while the object is around. This, in turn, fixed
a problem with the first-time-druid not causing nautilus
to quit when it was cancel via the close box (bug 2211)
and also a problem with nautilus quitting before you had
a chance to see an error dialog (bug 1871). Also, added
nautilus_main_event_loop_quit as the preferred way to
cause nautilus to quit (as opposed to gtk_main_quit)
* src/nautilus-application.c: (nautilus_application_startup),
(nautilus_application_close_desktop),
(nautilus_application_destroyed_window):
* src/nautilus-application.h:
* src/nautilus-first-time-druid.c: (druid_finished),
(nautilus_first_time_druid_show):
* src/nautilus-main.c: (nautilus_main_is_event_loop_needed),
(nautilus_main_event_loop_unregister),
(nautilus_main_event_loop_register),
(nautilus_main_is_event_loop_mainstay),
(nautilus_main_event_loop_quit), (main):
* src/nautilus-main.h:
* src/nautilus-shell.c: (corba_quit), (corba_restart):
* src/nautilus-window-manage-views.c:
(nautilus_window_end_location_change_callback):
* src/nautilus-window.c: (nautilus_window_initialize):
2000-09-01 J Shane Culpepper <pepper@eazel.com>
* components/services/nautilus-dependent-shared/icons/Makefile.am:
* components/services/nautilus-dependent-shared/shared-service-widg
ets.c: (create_summary_service_title_top_widget),
(create_summary_service_title_bottom_widget):
* components/services/nautilus-dependent-shared/shared-service-widg
ets.h:
* components/services/summary/nautilus-view/nautilus-summary-view.c
: (generate_summary_form):
First part of the arlo titles for the summary view.
2000-09-01 Darin Adler <darin@eazel.com>
* libnautilus-extensions/nautilus-glib-extensions.c:
(print_key_string), (free_hash_tables_at_exit),
(nautilus_g_hash_table_new_free_at_exit): Added code to print out
the keys for the hash table at exit time if it's a hash table with
string keys. I can tell the keys are strings because the hash
function is g_str_hash.
* src/file-manager/nautilus-trash-monitor.c:
(nautilus_trash_monitor_initialize): Used connect_while_alive
instead of connect to get rid of some nasty problems with
lingering signal handlers.
2000-09-01 Maciej Stachowiak <mjs@eazel.com>
* components/tree/libmain.c (tree_shlib_object_destroyed): Don't
call oaf_plugin_unuse for now, it kills stuff.
* components/tree/nautilus-tree-model.c:
(nautilus_tree_model_destroy,
nautilus_tree_model_for_each_postorder): Bug fixes to avoid crashing.
* components/tree/nautilus-tree-view.c: (insert_hack_node,
remove_hack_node, freeze_if_have_hack_node): Assorted fixes to
avoid crashing or locking up when in-process.
* configure.in: Fix configure text for in-proc tree view.
2000-09-01 John Sullivan <sullivan@eazel.com>
Fixed bug 1476 (Using bogus local bookmark should update
its icon). The specific bug led me to changing some of
the internals of NautilusBookmark in a way that has nice
UI consequences. Now if you use Nautilus to move a bookmarked
file, the bookmark will continue to find the moved file, and
if you delete a file, the bookmark's icon will change to the
"missing location" icon.
* libnautilus-extensions/nautilus-bookmark.c:
(nautilus_bookmark_disconnect_file),
(nautilus_bookmark_connect_file): New helper functions that
handle wiring or unwiring the connection between a bookmark
and its NautilusFile.
(nautilus_bookmark_destroy): Use nautilus_bookmark_disconnect_file.
(nautilus_bookmark_new_with_icon): Use nautilus_bookmark_connect_file.
(bookmark_file_changed_callback): Notice changes in the file's URI
and update the bookmark to use the new URI; notice when the file
is gone and disconnect/reconnect to file.
Miscellaneous tweaks:
* src/file-manager/fm-search-list-view.c:
(compute_reveal_item_name_and_sensitivity): At the suggestion of
a localizer (menthos), added explanatory comments before the use
of "Reveal in New Window" and "Reveal in <n> New Windows". It turns
out that a comment just before a translatable text string will
appear in the .pot files that localizers use.
* src/nautilus-first-time-druid.c: (set_up_user_level_page):
Fixed two misspellings of "technical" and one missing period. Thanks
to menthos for pointing these out.
* src/nautilus-window-menus.c:
(show_bogus_bookmark_window): Use nautilus_format_uri_for_display
for bookmark uris shown in user messages. Simplify the message you
get if you choose a known-bogus URI from the Go menu.
2000-09-01 Gene Z. Ragan <gzr@eazel.com>
Fixed bug 2491, remove GtkHtml web browser from build.
* components/Makefile.am:
Removed the http component
2000-09-01 Ali Abdin <aliabdin@aucegypt.edu>
* components/help/converters/gnome-db2html2/sect-elements.c:
Ooops - Make the QUOTE tag actually print the characters out
2000-09-01 Maciej Stachowiak <mjs@eazel.com>
* components/tree/nautilus-tree-model.c:
(nautilus_tree_model_destroy, nautilus_tree_model_unref_callback,
nautilus_tree_model_for_each_postorder, remove_all_nodes,
report_node_removed_internal, report_node_removed): Clean up all
the nodes when destroying the model.
* components/tree/nautilus-tree-view.c: Unref the model when
destroying the view.
* components/tree/nautilus-tree-node-private.h,
components/tree/nautilus-tree-node.c:
(nautilus_tree_node_remove_from_parent): Renamed from
`nautilus_tree_remove_from_parent'
2000-09-01 Pavel Cisler <pavel@eazel.com>
Fix bugzilla 2186 - Move/Copy/Make-Link for times from multiple directories
fails. Still needs more testing.
Reworked file operations to match new gnome_vfs_xfer... APIs that now take
lists of URIs for copy source and destination.
* components/services/install/lib/eazel-install-protocols.c:
(gnome_vfs_fetch_remote_file):
Update to use new API.
* libnautilus-extensions/nautilus-file-operations.c:
(check_target_directory_is_or_in_trash),
(new_uri_from_escaped_string), (append_basename_unescaped),
(nautilus_file_operations_copy_move),
(nautilus_file_operations_new_folder),
(nautilus_file_operations_move_to_trash),
(nautilus_file_operations_delete), (do_empty_trash):
Reworked to use new APIs.
Eliminated FIXME 1107.
Updated find_directory calls to use proper "create if needed" flags.
* libnautilus-extensions/nautilus-file-utilities.c:
(nautilus_get_user_main_directory):
* libnautilus-extensions/nautilus-file.c: (nautilus_file_rename):
Updated to use new APIs.
2000-09-01 Eskil Heyn Olsen <eskil@eazel.com>
* components/rpmview/nautilus-rpm-view-install.c:
(nautilus_rpm_view_download_progress_signal),
(nautilus_rpm_view_install_progress_signal),
(nautilus_rpm_view_download_failed),
Emits load_underway signals, although they do not seem to start
the spinner.
(get_detailed_errors_foreach),
(get_detailed_errors),
(nautilus_rpm_view_install_failed),
Generates contents for the dialog box showed when the operation
failed.
(nautilus_rpm_view_dependency_check),
(nautilus_rpm_view_install_done),
If failed, show a box to the user
(nautilus_service_need_password),
(nautilus_service_try_again),
(set_root_client),
Added Robeys password dialog stuff
(delete_files),
emits a FALSE when asked to delete files.
(nautilus_rpm_view_install_package_callback),
(nautilus_rpm_view_uninstall_package_callback):
Still defaults to testmachine.eazel.com (bad, but landa.eazel.com
seems to be down). Sets up the password query thing.
* components/rpmview/nautilus-rpm-view.c:
(nautilus_rpm_view_initialize),
(nautilus_rpm_view_destroy),
(check_installed):
Fixed the nautilus_label problem by ifdeffing it to use gtk_label
for the strings that will most likely contain \n\n
* components/rpmview/nautilus-rpm-view.h:
Added some calls to get div fields from details.
* components/services/install/command-line/eazel-alt-install-corba.
c: (set_parameters_from_command_line):
Fixed the --root handling of dirs.
* components/services/install/lib/eazel-install-protocols.c:
Now set to use the old CGI stuff while landa doesn't serve me my
rpm's..
* components/services/install/lib/eazel-install-rpm-glue.c:
(eazel_install_prune_packages_helper),
Added some debug output
(eazel_install_package_name_compare):
Removed some debug output
* components/services/install/lib/eazel-install-types.c:
(packagedata_destroy_foreach), (packagedata_destroy),
free the pack structure itself
(packagedata_remove_soft_dep):
paranoia check
* components/services/trilobite/libtrilobite/trilobite-root-client-
public.h:
Changed the include to use "'s instead of <'s.
* nautilus-installer/src/Makefile:
* nautilus-installer/src/installer.c: (create_pixmap),
(create_what_to_do_page), (create_install_page),
(create_finish_page_good), (create_finish_page_evil),
(create_window), (create_info_druid_page):
Better image loading for the static installer.
2000-09-01 J Shane Culpepper <pepper@eazel.com>
* components/services/nautilus-dependent-shared/icons/Makefile.am:
Forgot to update the Makefile.am for the new icons.
2000-09-01 J Shane Culpepper <pepper@eazel.com>
* components/services/summary/nautilus-view/nautilus-summary-view.c
: (generate_summary_form):
Minor ui fixes to prepare adding the arlo title widgets. Adding
several images as well.
2000-09-01 Andy Hertzfeld <andy@eazel.com>
* components/rpmview/nautilus-rpm-view.c:
(nautilus_rpm_view_initialize), (check_installed),
(nautilus_rpm_view_update_from_uri):
removed anti-aliased text from rpm_view, since it was causing
too many problems; displayed icon contained in package header, or
a generic package icon if there isn't one; gather and display
package install time correctly.
2000-08-31 Maciej Stachowiak <mjs@eazel.com>
* ChangeLog: rolled over to ChangeLog-20000831.
|