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
14061
14062
14063
14064
14065
14066
14067
14068
14069
14070
14071
14072
14073
14074
14075
14076
14077
14078
14079
14080
14081
14082
14083
14084
14085
14086
14087
14088
14089
14090
14091
14092
14093
14094
14095
14096
14097
14098
14099
14100
14101
14102
14103
14104
14105
14106
14107
14108
14109
14110
14111
14112
14113
14114
14115
14116
14117
14118
14119
14120
14121
14122
14123
14124
14125
14126
14127
14128
14129
14130
14131
14132
14133
14134
14135
14136
14137
14138
14139
14140
14141
14142
14143
14144
14145
14146
14147
14148
14149
14150
14151
14152
14153
14154
14155
14156
14157
14158
14159
14160
14161
14162
14163
14164
14165
14166
14167
14168
14169
14170
14171
14172
14173
14174
14175
14176
14177
14178
14179
14180
14181
14182
14183
14184
14185
14186
14187
14188
14189
14190
14191
14192
14193
14194
14195
14196
14197
14198
14199
14200
14201
14202
14203
14204
14205
14206
14207
14208
14209
14210
14211
14212
14213
14214
14215
14216
14217
14218
14219
14220
14221
14222
14223
14224
14225
14226
14227
14228
14229
14230
14231
14232
14233
14234
14235
14236
14237
14238
14239
14240
14241
14242
14243
14244
14245
14246
14247
14248
14249
14250
14251
14252
14253
14254
14255
14256
14257
14258
14259
14260
14261
14262
14263
14264
14265
14266
14267
14268
14269
14270
14271
14272
14273
14274
14275
14276
14277
14278
14279
14280
14281
14282
14283
14284
14285
14286
14287
14288
14289
14290
14291
14292
14293
14294
14295
14296
14297
14298
14299
14300
14301
14302
14303
14304
14305
14306
14307
14308
14309
14310
14311
14312
14313
14314
14315
14316
14317
14318
14319
14320
14321
14322
14323
14324
14325
14326
14327
14328
14329
14330
14331
14332
14333
14334
14335
14336
14337
14338
14339
14340
14341
14342
14343
14344
14345
14346
14347
14348
14349
14350
14351
14352
14353
14354
14355
14356
14357
14358
14359
14360
14361
14362
14363
14364
14365
14366
14367
14368
14369
14370
14371
14372
14373
14374
14375
14376
14377
14378
14379
14380
14381
14382
14383
14384
14385
14386
14387
14388
14389
14390
14391
14392
14393
14394
14395
14396
14397
14398
14399
14400
14401
14402
14403
14404
14405
14406
14407
14408
14409
14410
14411
14412
14413
14414
14415
14416
14417
14418
14419
14420
14421
14422
14423
14424
14425
14426
14427
14428
14429
14430
14431
14432
14433
14434
14435
14436
14437
14438
14439
14440
14441
14442
14443
14444
14445
14446
14447
14448
14449
14450
14451
14452
14453
14454
14455
14456
14457
14458
14459
14460
14461
14462
14463
14464
14465
14466
14467
14468
14469
14470
14471
14472
14473
14474
14475
14476
14477
14478
14479
14480
14481
14482
14483
14484
14485
14486
14487
14488
14489
14490
14491
14492
14493
14494
14495
14496
14497
14498
14499
14500
14501
14502
14503
14504
14505
14506
14507
14508
14509
14510
14511
14512
14513
14514
14515
14516
14517
14518
14519
14520
14521
14522
14523
14524
14525
14526
14527
14528
14529
14530
14531
14532
14533
14534
14535
14536
14537
14538
14539
14540
14541
14542
14543
14544
14545
14546
14547
14548
14549
14550
14551
14552
14553
14554
14555
14556
14557
14558
14559
14560
14561
14562
14563
14564
14565
14566
14567
14568
14569
14570
14571
14572
14573
14574
14575
14576
14577
14578
14579
14580
14581
14582
14583
14584
14585
14586
14587
14588
14589
14590
14591
14592
14593
14594
14595
14596
14597
14598
14599
14600
14601
14602
14603
14604
14605
14606
14607
14608
14609
14610
14611
14612
14613
14614
14615
14616
14617
14618
14619
14620
14621
14622
14623
14624
14625
14626
14627
14628
14629
14630
14631
14632
14633
14634
14635
14636
14637
14638
14639
14640
14641
14642
14643
14644
14645
14646
14647
14648
14649
14650
14651
14652
14653
14654
14655
14656
14657
14658
14659
14660
14661
14662
14663
14664
14665
14666
14667
14668
14669
14670
14671
14672
14673
14674
14675
14676
14677
14678
14679
14680
14681
14682
14683
14684
14685
14686
14687
14688
14689
14690
14691
14692
14693
14694
14695
14696
14697
14698
14699
14700
14701
14702
14703
14704
14705
14706
14707
14708
14709
14710
14711
14712
14713
14714
14715
14716
14717
14718
14719
14720
14721
14722
14723
14724
14725
14726
14727
14728
14729
14730
14731
14732
14733
14734
14735
14736
14737
14738
14739
14740
14741
14742
14743
14744
14745
14746
14747
14748
14749
14750
14751
14752
14753
14754
14755
14756
14757
14758
14759
14760
14761
14762
14763
14764
14765
14766
14767
14768
14769
14770
14771
14772
14773
14774
14775
14776
14777
14778
14779
14780
14781
14782
14783
14784
14785
14786
14787
14788
14789
14790
14791
14792
14793
14794
14795
14796
14797
14798
14799
14800
14801
14802
14803
14804
14805
14806
14807
14808
14809
14810
14811
14812
14813
14814
14815
14816
14817
14818
14819
14820
14821
14822
14823
14824
14825
14826
14827
14828
14829
14830
14831
14832
14833
14834
14835
14836
14837
14838
14839
14840
14841
14842
14843
14844
14845
14846
14847
14848
14849
14850
14851
14852
14853
14854
14855
14856
14857
14858
14859
14860
14861
14862
14863
14864
14865
14866
14867
14868
14869
14870
14871
14872
14873
14874
14875
14876
14877
14878
14879
14880
14881
14882
14883
14884
14885
14886
14887
14888
14889
14890
14891
14892
14893
14894
14895
14896
14897
14898
14899
14900
14901
14902
14903
14904
14905
14906
14907
14908
14909
14910
14911
14912
14913
14914
14915
14916
14917
14918
14919
14920
14921
14922
14923
14924
14925
14926
14927
14928
14929
14930
14931
14932
14933
14934
14935
14936
14937
14938
14939
14940
14941
14942
14943
14944
14945
14946
14947
14948
14949
14950
14951
14952
14953
14954
14955
14956
14957
14958
14959
14960
14961
14962
14963
14964
14965
14966
14967
14968
14969
14970
14971
14972
14973
14974
14975
14976
14977
14978
14979
14980
14981
14982
14983
14984
14985
14986
14987
14988
14989
14990
14991
14992
14993
14994
14995
14996
14997
14998
14999
15000
15001
15002
15003
15004
15005
15006
15007
15008
15009
15010
15011
15012
15013
15014
15015
15016
15017
15018
15019
15020
15021
15022
15023
15024
15025
15026
15027
15028
15029
15030
15031
15032
15033
15034
15035
15036
15037
15038
15039
15040
15041
15042
15043
15044
15045
15046
15047
15048
15049
15050
15051
15052
15053
15054
15055
15056
15057
15058
15059
15060
15061
15062
15063
15064
15065
15066
15067
15068
15069
15070
15071
15072
15073
15074
15075
15076
15077
15078
15079
15080
15081
15082
15083
15084
15085
15086
15087
15088
15089
15090
15091
15092
15093
15094
15095
15096
15097
15098
15099
15100
15101
15102
15103
15104
15105
15106
15107
15108
15109
15110
15111
15112
15113
15114
15115
15116
15117
15118
15119
15120
15121
15122
15123
15124
15125
15126
15127
15128
15129
15130
15131
15132
15133
15134
15135
15136
15137
15138
15139
15140
15141
15142
15143
15144
15145
15146
15147
15148
15149
15150
15151
15152
15153
15154
15155
15156
15157
15158
15159
15160
15161
15162
15163
15164
15165
15166
15167
15168
15169
15170
15171
15172
15173
15174
15175
15176
15177
15178
15179
15180
15181
15182
15183
15184
15185
15186
15187
15188
15189
15190
15191
15192
15193
15194
15195
15196
15197
15198
15199
15200
15201
15202
15203
15204
15205
15206
15207
15208
15209
15210
15211
15212
15213
15214
15215
15216
15217
15218
15219
15220
15221
15222
15223
15224
15225
15226
15227
15228
15229
15230
15231
15232
15233
15234
15235
15236
15237
15238
15239
15240
15241
15242
15243
15244
15245
15246
15247
15248
15249
15250
15251
15252
15253
15254
15255
15256
15257
15258
15259
15260
15261
15262
15263
15264
15265
15266
15267
15268
15269
15270
15271
15272
15273
15274
15275
15276
15277
15278
15279
15280
15281
15282
15283
15284
15285
15286
15287
15288
15289
15290
15291
15292
15293
15294
15295
15296
15297
15298
15299
15300
15301
15302
15303
15304
15305
15306
15307
15308
15309
15310
15311
15312
15313
15314
15315
15316
15317
15318
15319
15320
15321
15322
15323
15324
15325
15326
15327
15328
15329
15330
15331
15332
15333
15334
15335
15336
15337
15338
15339
15340
15341
15342
15343
15344
15345
15346
15347
15348
15349
15350
15351
15352
15353
15354
15355
15356
15357
15358
15359
15360
15361
15362
15363
15364
15365
15366
15367
15368
15369
15370
15371
15372
15373
15374
15375
15376
15377
15378
15379
15380
15381
15382
15383
15384
15385
15386
15387
15388
15389
15390
15391
15392
15393
15394
15395
15396
15397
15398
15399
15400
15401
15402
15403
15404
15405
15406
15407
15408
15409
15410
15411
15412
15413
15414
15415
15416
15417
15418
15419
15420
15421
15422
15423
15424
15425
15426
15427
15428
15429
15430
15431
15432
15433
15434
15435
15436
15437
15438
15439
15440
15441
15442
15443
15444
15445
15446
15447
15448
15449
15450
15451
15452
15453
15454
15455
15456
15457
15458
15459
15460
15461
15462
15463
15464
15465
15466
15467
15468
15469
15470
15471
15472
15473
15474
15475
15476
15477
15478
15479
15480
15481
15482
15483
15484
15485
15486
15487
15488
15489
15490
15491
15492
15493
15494
15495
15496
15497
15498
15499
15500
15501
15502
15503
15504
15505
15506
15507
15508
15509
15510
15511
15512
15513
15514
15515
15516
15517
15518
15519
15520
15521
15522
15523
15524
15525
15526
15527
15528
15529
15530
15531
15532
15533
15534
15535
15536
15537
15538
15539
15540
15541
15542
15543
15544
15545
15546
15547
15548
15549
15550
15551
15552
15553
15554
15555
15556
15557
15558
15559
15560
15561
15562
15563
15564
15565
15566
15567
15568
15569
15570
15571
15572
15573
15574
15575
15576
15577
15578
15579
15580
15581
15582
15583
15584
15585
15586
15587
15588
15589
15590
15591
15592
15593
15594
15595
15596
15597
15598
15599
15600
15601
15602
15603
15604
15605
15606
15607
15608
15609
15610
15611
15612
15613
15614
15615
15616
15617
15618
15619
15620
15621
15622
15623
15624
15625
15626
15627
15628
15629
15630
15631
15632
15633
15634
15635
15636
15637
15638
15639
15640
15641
15642
15643
15644
15645
15646
15647
15648
15649
15650
15651
15652
15653
15654
15655
15656
15657
15658
15659
15660
15661
15662
15663
15664
15665
15666
15667
15668
15669
15670
15671
15672
15673
15674
15675
15676
15677
15678
15679
15680
15681
15682
15683
15684
15685
15686
15687
15688
15689
15690
15691
15692
15693
15694
15695
15696
15697
15698
15699
15700
15701
15702
15703
15704
15705
15706
15707
15708
15709
15710
15711
15712
15713
15714
15715
15716
15717
15718
15719
15720
15721
15722
15723
15724
15725
15726
15727
15728
15729
15730
15731
15732
15733
15734
15735
15736
15737
15738
15739
15740
15741
15742
15743
15744
15745
15746
15747
15748
15749
15750
15751
15752
15753
15754
15755
15756
15757
15758
15759
15760
15761
15762
15763
15764
15765
15766
15767
15768
15769
15770
15771
15772
15773
15774
15775
15776
15777
15778
15779
15780
15781
15782
15783
15784
15785
15786
15787
15788
15789
15790
15791
15792
15793
15794
15795
15796
15797
15798
15799
15800
15801
15802
15803
15804
15805
15806
15807
15808
15809
15810
15811
15812
15813
15814
15815
15816
15817
15818
15819
15820
15821
15822
15823
15824
15825
15826
15827
15828
15829
15830
15831
15832
15833
15834
15835
15836
15837
15838
15839
15840
15841
15842
15843
15844
15845
15846
15847
15848
15849
15850
15851
15852
15853
15854
15855
15856
15857
15858
15859
15860
15861
15862
15863
15864
15865
15866
15867
15868
15869
15870
15871
15872
15873
15874
15875
15876
15877
15878
15879
15880
15881
15882
15883
15884
15885
15886
15887
15888
15889
15890
15891
15892
15893
15894
15895
15896
15897
15898
15899
15900
15901
15902
15903
15904
15905
15906
15907
15908
15909
15910
15911
15912
15913
15914
15915
15916
15917
15918
15919
15920
15921
15922
15923
15924
15925
15926
15927
15928
15929
15930
15931
15932
15933
15934
15935
15936
15937
15938
15939
15940
15941
15942
15943
15944
15945
15946
15947
15948
15949
15950
15951
15952
15953
15954
15955
15956
15957
15958
15959
15960
15961
15962
15963
15964
15965
15966
15967
15968
15969
15970
15971
15972
15973
15974
15975
15976
15977
15978
15979
15980
15981
15982
15983
15984
15985
15986
15987
15988
15989
15990
15991
15992
15993
15994
15995
15996
15997
15998
15999
16000
16001
16002
16003
16004
16005
16006
16007
16008
16009
16010
16011
16012
16013
16014
16015
16016
16017
16018
16019
16020
16021
16022
16023
16024
16025
16026
16027
16028
16029
16030
16031
16032
16033
16034
16035
16036
16037
16038
16039
16040
16041
16042
16043
16044
16045
16046
16047
16048
16049
16050
16051
16052
16053
16054
16055
16056
16057
16058
16059
16060
16061
16062
16063
16064
16065
16066
16067
16068
16069
16070
16071
16072
16073
16074
16075
16076
16077
16078
16079
16080
16081
16082
16083
16084
16085
16086
16087
16088
16089
16090
16091
16092
16093
16094
16095
16096
16097
16098
16099
16100
16101
16102
16103
16104
16105
16106
16107
16108
16109
16110
16111
16112
16113
16114
16115
16116
16117
16118
16119
16120
16121
16122
16123
16124
16125
16126
16127
16128
16129
16130
16131
16132
16133
16134
16135
16136
16137
16138
16139
16140
16141
16142
16143
16144
16145
16146
16147
16148
16149
16150
16151
16152
16153
16154
16155
16156
16157
16158
16159
16160
16161
16162
16163
16164
16165
16166
16167
16168
16169
16170
16171
16172
16173
16174
16175
16176
16177
16178
16179
16180
16181
16182
16183
16184
16185
16186
16187
16188
16189
16190
16191
16192
16193
16194
16195
16196
16197
16198
16199
16200
16201
16202
16203
16204
16205
16206
16207
16208
16209
16210
16211
16212
16213
16214
16215
16216
16217
16218
16219
16220
16221
16222
16223
16224
16225
16226
16227
16228
16229
16230
16231
16232
16233
16234
16235
16236
16237
16238
16239
16240
16241
16242
16243
16244
16245
16246
16247
16248
16249
16250
16251
16252
16253
16254
16255
16256
16257
16258
16259
16260
16261
16262
16263
16264
16265
16266
16267
16268
16269
16270
16271
16272
16273
16274
16275
16276
16277
16278
16279
16280
16281
16282
16283
16284
16285
16286
16287
16288
16289
16290
16291
16292
16293
16294
16295
16296
16297
16298
16299
16300
16301
16302
16303
16304
16305
16306
16307
16308
16309
16310
16311
16312
16313
16314
16315
16316
16317
16318
16319
16320
16321
16322
16323
16324
16325
16326
16327
16328
16329
16330
16331
16332
16333
16334
16335
16336
16337
16338
16339
16340
16341
16342
16343
16344
16345
16346
16347
16348
16349
16350
16351
16352
16353
16354
16355
16356
16357
16358
16359
16360
16361
16362
16363
16364
16365
16366
16367
16368
16369
16370
16371
16372
16373
16374
16375
16376
16377
16378
16379
16380
16381
16382
16383
16384
16385
16386
16387
16388
16389
16390
16391
16392
16393
16394
16395
16396
16397
16398
16399
16400
16401
16402
16403
16404
16405
16406
16407
16408
16409
16410
16411
16412
16413
16414
16415
16416
16417
16418
16419
16420
16421
16422
16423
16424
16425
16426
16427
16428
16429
16430
16431
16432
16433
16434
16435
16436
16437
16438
16439
16440
16441
16442
16443
16444
16445
16446
16447
16448
16449
16450
16451
16452
16453
16454
16455
16456
16457
16458
16459
16460
16461
16462
16463
16464
16465
16466
16467
16468
16469
16470
16471
16472
16473
16474
16475
16476
16477
16478
16479
16480
16481
16482
16483
16484
16485
16486
16487
16488
16489
16490
16491
16492
16493
16494
16495
16496
16497
16498
16499
16500
16501
16502
16503
16504
16505
16506
16507
16508
16509
16510
16511
16512
16513
16514
16515
16516
16517
16518
16519
16520
16521
16522
16523
16524
16525
16526
16527
16528
16529
16530
16531
16532
16533
16534
16535
16536
16537
16538
16539
16540
16541
16542
16543
16544
16545
16546
16547
16548
16549
16550
16551
16552
16553
16554
16555
16556
16557
16558
16559
16560
16561
16562
16563
16564
16565
16566
16567
16568
16569
16570
16571
16572
16573
16574
16575
16576
16577
16578
16579
16580
16581
16582
16583
16584
16585
16586
16587
16588
16589
16590
16591
16592
16593
16594
16595
16596
16597
16598
16599
16600
16601
16602
16603
16604
16605
16606
16607
16608
16609
16610
16611
16612
16613
16614
16615
16616
16617
16618
16619
16620
16621
16622
16623
16624
16625
16626
16627
16628
16629
16630
16631
16632
16633
16634
16635
16636
16637
16638
16639
16640
16641
16642
16643
16644
16645
16646
16647
16648
16649
16650
16651
16652
16653
16654
16655
16656
16657
16658
16659
16660
16661
16662
16663
16664
16665
16666
16667
16668
16669
16670
16671
16672
16673
16674
16675
16676
16677
16678
16679
16680
16681
16682
16683
16684
16685
16686
16687
16688
16689
16690
16691
16692
16693
16694
16695
16696
16697
16698
16699
16700
16701
16702
16703
16704
16705
16706
16707
16708
16709
16710
16711
16712
16713
16714
16715
16716
16717
16718
16719
16720
16721
16722
16723
16724
16725
16726
16727
16728
16729
16730
16731
16732
16733
16734
16735
16736
16737
16738
16739
16740
16741
16742
16743
16744
16745
16746
16747
16748
16749
16750
16751
16752
16753
16754
16755
16756
16757
16758
16759
16760
16761
16762
16763
16764
16765
16766
16767
16768
16769
16770
16771
16772
16773
16774
16775
16776
16777
16778
16779
16780
16781
16782
16783
16784
16785
16786
16787
16788
16789
16790
16791
16792
16793
16794
16795
16796
16797
16798
16799
16800
16801
16802
16803
16804
16805
16806
16807
16808
16809
16810
16811
16812
16813
16814
16815
16816
16817
16818
16819
16820
16821
16822
16823
16824
16825
16826
16827
16828
16829
16830
16831
16832
16833
16834
16835
16836
16837
16838
16839
16840
16841
16842
16843
16844
16845
16846
16847
16848
16849
16850
16851
16852
16853
16854
16855
16856
16857
16858
16859
16860
16861
16862
16863
16864
16865
16866
16867
16868
16869
16870
16871
16872
16873
16874
16875
16876
16877
16878
16879
16880
16881
16882
16883
16884
16885
16886
16887
16888
16889
16890
16891
16892
16893
16894
16895
16896
16897
16898
16899
16900
16901
16902
16903
16904
16905
16906
16907
16908
16909
16910
16911
16912
16913
16914
16915
16916
16917
16918
16919
16920
16921
16922
16923
16924
16925
16926
16927
16928
16929
16930
16931
16932
16933
16934
16935
16936
16937
16938
16939
16940
16941
16942
16943
16944
16945
16946
16947
16948
16949
16950
16951
16952
16953
16954
16955
16956
16957
16958
16959
16960
16961
16962
16963
16964
16965
16966
16967
16968
16969
16970
16971
16972
16973
16974
16975
16976
16977
16978
16979
16980
16981
16982
16983
16984
16985
16986
16987
16988
16989
16990
16991
16992
16993
16994
16995
16996
16997
16998
16999
17000
17001
17002
17003
17004
17005
17006
17007
17008
17009
17010
17011
17012
17013
17014
17015
17016
17017
17018
17019
17020
17021
17022
17023
17024
17025
17026
17027
17028
17029
17030
17031
17032
17033
17034
17035
17036
17037
17038
17039
17040
17041
17042
17043
17044
17045
17046
17047
17048
17049
17050
17051
17052
17053
17054
17055
17056
17057
17058
17059
17060
17061
17062
17063
17064
17065
17066
17067
17068
17069
17070
17071
17072
17073
17074
17075
17076
17077
17078
17079
17080
17081
17082
17083
17084
17085
17086
17087
17088
17089
17090
17091
17092
17093
17094
17095
17096
17097
17098
17099
17100
17101
17102
17103
17104
17105
17106
17107
17108
17109
17110
17111
17112
17113
17114
17115
17116
17117
17118
17119
17120
17121
17122
17123
17124
17125
17126
17127
17128
17129
17130
17131
17132
17133
17134
17135
17136
17137
17138
17139
17140
17141
17142
17143
17144
17145
17146
17147
17148
17149
17150
17151
17152
17153
17154
17155
17156
17157
17158
17159
17160
17161
17162
17163
17164
17165
17166
17167
17168
17169
17170
17171
17172
17173
17174
17175
17176
17177
17178
17179
17180
17181
17182
17183
17184
17185
17186
17187
17188
17189
17190
17191
17192
17193
17194
17195
17196
17197
17198
17199
17200
17201
17202
17203
17204
17205
17206
17207
17208
17209
17210
17211
17212
17213
17214
17215
17216
17217
17218
17219
17220
17221
17222
17223
17224
17225
17226
17227
17228
17229
17230
17231
17232
17233
17234
17235
17236
17237
17238
17239
17240
17241
17242
17243
17244
17245
17246
17247
17248
17249
17250
17251
17252
17253
17254
17255
17256
17257
17258
17259
17260
17261
17262
17263
17264
17265
17266
17267
17268
17269
17270
17271
17272
17273
17274
17275
17276
17277
17278
17279
17280
17281
17282
17283
17284
17285
17286
17287
17288
17289
17290
17291
17292
17293
17294
17295
17296
17297
17298
17299
17300
17301
17302
17303
17304
17305
17306
17307
17308
17309
17310
17311
17312
17313
17314
17315
17316
17317
17318
17319
17320
17321
17322
17323
17324
17325
17326
17327
17328
17329
17330
17331
17332
17333
17334
17335
17336
17337
17338
17339
17340
17341
17342
17343
17344
17345
17346
17347
17348
17349
17350
17351
17352
17353
17354
17355
17356
17357
17358
17359
17360
17361
17362
17363
17364
17365
17366
17367
17368
17369
17370
17371
17372
17373
17374
17375
17376
17377
17378
17379
17380
17381
17382
17383
17384
17385
17386
17387
17388
17389
17390
17391
17392
17393
17394
17395
17396
17397
17398
17399
17400
17401
17402
17403
17404
17405
17406
17407
17408
17409
17410
17411
17412
17413
17414
17415
17416
17417
17418
17419
17420
17421
17422
17423
17424
17425
17426
17427
17428
17429
17430
17431
17432
17433
17434
17435
17436
17437
17438
17439
17440
17441
17442
17443
17444
17445
17446
17447
17448
17449
17450
17451
17452
17453
17454
17455
17456
17457
17458
17459
17460
17461
17462
17463
17464
17465
17466
17467
17468
17469
17470
17471
17472
17473
17474
17475
17476
17477
17478
17479
17480
17481
17482
17483
17484
17485
17486
17487
17488
17489
17490
17491
17492
17493
17494
17495
17496
17497
17498
17499
17500
17501
17502
17503
17504
17505
17506
17507
17508
17509
17510
17511
17512
17513
17514
17515
17516
17517
17518
17519
17520
17521
17522
17523
17524
17525
17526
17527
17528
17529
17530
17531
17532
17533
17534
17535
17536
17537
17538
17539
17540
17541
17542
17543
17544
17545
17546
17547
17548
17549
17550
17551
17552
17553
17554
17555
17556
17557
17558
17559
17560
17561
17562
17563
17564
17565
17566
17567
17568
17569
17570
17571
17572
17573
17574
17575
17576
17577
17578
17579
17580
17581
17582
17583
17584
17585
17586
17587
17588
17589
17590
17591
17592
17593
17594
17595
17596
17597
17598
17599
17600
17601
17602
17603
17604
17605
17606
17607
17608
17609
17610
17611
17612
17613
17614
17615
17616
17617
17618
17619
17620
17621
17622
17623
17624
17625
17626
17627
17628
17629
17630
17631
17632
17633
17634
17635
17636
17637
17638
17639
17640
17641
17642
17643
17644
17645
17646
17647
17648
17649
17650
17651
17652
17653
17654
17655
17656
17657
17658
17659
17660
17661
17662
17663
17664
17665
17666
17667
17668
17669
17670
17671
17672
17673
17674
17675
17676
17677
17678
17679
17680
17681
17682
17683
17684
17685
17686
17687
17688
17689
17690
17691
17692
17693
17694
17695
17696
17697
17698
17699
17700
17701
17702
17703
17704
17705
17706
17707
17708
17709
17710
17711
17712
17713
17714
17715
17716
17717
17718
17719
17720
17721
17722
17723
17724
17725
17726
17727
17728
17729
17730
17731
17732
17733
17734
17735
17736
17737
17738
17739
17740
17741
17742
17743
17744
17745
17746
17747
17748
17749
17750
17751
17752
17753
17754
17755
17756
17757
17758
17759
17760
17761
17762
17763
17764
17765
17766
17767
17768
17769
17770
17771
17772
17773
17774
17775
17776
17777
17778
17779
17780
17781
17782
17783
17784
17785
17786
17787
17788
17789
17790
17791
17792
17793
17794
17795
17796
17797
17798
17799
17800
17801
17802
17803
17804
17805
17806
17807
17808
17809
17810
17811
17812
17813
17814
17815
17816
17817
17818
17819
17820
17821
17822
17823
17824
17825
17826
17827
17828
17829
17830
17831
17832
17833
17834
17835
17836
17837
17838
17839
17840
17841
17842
17843
17844
17845
17846
17847
17848
17849
17850
17851
17852
17853
17854
17855
17856
17857
17858
17859
17860
17861
17862
17863
17864
17865
17866
17867
17868
17869
17870
17871
17872
17873
17874
17875
17876
17877
17878
17879
17880
17881
17882
17883
17884
17885
17886
17887
17888
17889
17890
17891
17892
17893
17894
17895
17896
17897
17898
17899
17900
17901
17902
17903
17904
17905
17906
17907
17908
17909
17910
17911
17912
17913
17914
17915
17916
17917
17918
17919
17920
17921
17922
17923
17924
17925
17926
17927
17928
17929
17930
17931
17932
17933
17934
17935
17936
17937
17938
17939
17940
17941
17942
17943
17944
17945
17946
17947
17948
17949
17950
17951
17952
17953
17954
17955
17956
17957
17958
17959
17960
17961
17962
17963
17964
17965
17966
17967
17968
17969
17970
17971
17972
17973
17974
17975
17976
17977
17978
17979
17980
17981
17982
17983
17984
17985
17986
17987
17988
17989
17990
17991
17992
17993
17994
17995
17996
17997
17998
17999
18000
18001
18002
18003
18004
18005
18006
18007
18008
18009
18010
18011
18012
18013
18014
18015
18016
18017
18018
18019
18020
18021
18022
18023
18024
18025
18026
18027
18028
18029
18030
18031
18032
18033
18034
18035
18036
18037
18038
18039
18040
18041
18042
18043
18044
18045
18046
18047
18048
18049
18050
18051
18052
18053
18054
18055
18056
18057
18058
18059
18060
18061
18062
18063
18064
18065
18066
18067
18068
18069
18070
18071
18072
18073
18074
18075
18076
18077
18078
18079
18080
18081
18082
18083
18084
18085
18086
18087
18088
18089
18090
18091
18092
18093
18094
18095
18096
18097
18098
18099
18100
18101
18102
18103
18104
18105
18106
18107
18108
18109
18110
18111
18112
18113
18114
18115
18116
18117
18118
18119
18120
18121
18122
18123
18124
18125
18126
18127
18128
18129
18130
18131
18132
18133
18134
18135
18136
18137
18138
18139
18140
18141
18142
18143
18144
18145
18146
18147
18148
18149
18150
18151
18152
18153
18154
18155
18156
18157
18158
18159
18160
18161
18162
18163
18164
18165
18166
18167
18168
18169
18170
18171
18172
18173
18174
18175
18176
18177
18178
18179
18180
18181
18182
18183
18184
18185
18186
18187
18188
18189
18190
18191
18192
18193
18194
18195
18196
18197
18198
18199
18200
18201
18202
18203
18204
18205
18206
18207
18208
18209
18210
18211
18212
18213
18214
18215
18216
18217
18218
18219
18220
18221
18222
18223
18224
18225
18226
18227
18228
18229
18230
18231
18232
18233
18234
18235
18236
18237
18238
18239
18240
18241
18242
18243
18244
18245
18246
18247
18248
18249
18250
18251
18252
18253
18254
18255
18256
18257
18258
18259
18260
18261
18262
18263
18264
18265
18266
18267
18268
18269
18270
18271
18272
18273
18274
18275
18276
18277
18278
18279
18280
18281
18282
18283
18284
18285
18286
18287
18288
18289
18290
18291
18292
18293
18294
18295
18296
18297
18298
18299
18300
18301
18302
18303
18304
18305
18306
18307
18308
18309
18310
18311
18312
18313
18314
18315
18316
18317
18318
18319
18320
18321
18322
18323
18324
18325
18326
18327
18328
18329
18330
18331
18332
18333
18334
18335
18336
18337
18338
18339
18340
18341
18342
18343
18344
18345
18346
18347
18348
18349
18350
18351
18352
18353
18354
18355
18356
18357
18358
18359
18360
18361
18362
18363
18364
18365
18366
18367
18368
18369
18370
18371
18372
18373
18374
18375
18376
18377
18378
18379
18380
18381
18382
18383
18384
18385
18386
18387
18388
18389
18390
18391
18392
18393
18394
18395
18396
18397
18398
18399
18400
18401
18402
18403
18404
18405
18406
18407
18408
18409
18410
18411
18412
18413
18414
18415
18416
18417
18418
18419
18420
18421
18422
18423
18424
18425
18426
18427
18428
18429
18430
18431
18432
18433
18434
18435
18436
18437
18438
18439
18440
18441
18442
18443
18444
18445
18446
18447
18448
18449
18450
18451
18452
18453
18454
18455
18456
18457
18458
18459
18460
18461
18462
18463
18464
18465
18466
18467
18468
18469
18470
18471
18472
18473
18474
18475
18476
18477
18478
18479
18480
18481
18482
18483
18484
18485
18486
18487
18488
18489
18490
18491
18492
18493
18494
18495
18496
18497
18498
18499
18500
18501
18502
18503
18504
18505
18506
18507
18508
18509
18510
18511
18512
18513
18514
18515
18516
18517
18518
18519
18520
18521
18522
18523
18524
18525
18526
18527
18528
18529
18530
18531
18532
18533
18534
18535
18536
18537
18538
18539
18540
18541
18542
18543
18544
18545
18546
18547
18548
18549
18550
18551
18552
18553
18554
18555
18556
18557
18558
18559
18560
18561
18562
18563
18564
18565
18566
18567
18568
18569
18570
18571
18572
18573
18574
18575
18576
18577
18578
18579
18580
18581
18582
18583
18584
18585
18586
18587
18588
18589
18590
18591
18592
18593
18594
18595
18596
18597
18598
18599
18600
18601
18602
18603
18604
18605
18606
18607
18608
18609
18610
18611
18612
18613
18614
18615
18616
18617
18618
18619
18620
18621
18622
18623
18624
18625
18626
18627
18628
18629
18630
18631
18632
18633
18634
18635
18636
18637
18638
18639
18640
18641
18642
18643
18644
18645
18646
18647
18648
18649
18650
18651
18652
18653
18654
18655
18656
18657
18658
18659
18660
18661
18662
18663
18664
18665
18666
18667
18668
18669
18670
18671
18672
18673
18674
18675
18676
18677
18678
18679
18680
18681
18682
18683
18684
18685
18686
18687
18688
18689
18690
18691
18692
18693
18694
18695
18696
18697
18698
18699
18700
18701
18702
18703
18704
18705
18706
18707
18708
18709
18710
18711
18712
18713
18714
18715
18716
18717
18718
18719
18720
18721
18722
18723
18724
18725
18726
18727
18728
18729
18730
18731
18732
18733
18734
18735
18736
18737
18738
18739
18740
18741
18742
18743
18744
18745
18746
18747
18748
18749
18750
18751
18752
18753
18754
18755
18756
18757
18758
18759
18760
18761
18762
18763
|
2001-04-19 Ramiro Estrugo <ramiro@eazel.com>
* libnautilus-extensions/Makefile.am:
* libnautilus-extensions/nautilus-preferences-dialog.c:
* libnautilus-extensions/nautilus-preferences-dialog.h:
Retire this class. It was a bad idea to use subclassing for the
specific use of the preferences dialog in nautilus. Hooking
signals up to a regular GnomeDialog is good enough.
* libnautilus-extensions/nautilus-global-preferences.h:
* libnautilus-extensions/nautilus-global-preferences.c:
(global_preferences_install_defaults),
(nautilus_global_preferences_initialize):
Remove the implementation of the Nautilus preferences dialog from
here. That is something that is specific to the Nautilus shell.
The code lives in the Nautilus shell itself now.
* libnautilus-extensions/nautilus-preferences-box.h:
* libnautilus-extensions/nautilus-preferences-box.c:
(nautilus_preferences_box_initialize),
(preferences_box_select_pane),
(preferences_box_category_list_recreate),
(preferences_box_add_pane), (nautilus_preferences_box_update),
(preferences_box_find_pane), (preferences_box_populate_pane),
(nautilus_preferences_box_populate), (user_level_changed_callback),
(nautilus_preferences_dialog_new):
Add support for building preference boxes using structures to
describe them. Also add a convenience function for creating a
GnomeDialog with a preference box as its sole child.
* libnautilus-extensions/nautilus-preferences-pane.c:
* libnautilus-extensions/nautilus-preferences-pane.h:
(nautilus_preferences_pane_add_item_to_nth_group): Remove this
function as its no longer used.
* libnautilus-extensions/nautilus-sidebar-functions.h:
* libnautilus-extensions/nautilus-sidebar-functions.c:
(sidebar_panel_make_preference_key):
Make the known sidebar panel enabled preference keys public as
string constants.
* src/Makefile.am:
* src/nautilus-preferences-dialog.h:
* src/nautilus-preferences-dialog.c:
(dialog_button_clicked_callback), (dialog_close_callback),
(preferences_dialog_create),
(global_preferences_populate_sidebar_panels_callback),
(preferences_dialog_populate_sidebar_tabs_group),
(preferences_dialog_destroy), (global_preferences_get_dialog),
(nautilus_preferences_dialog_show):
Move the implementation of the Nautilus preference dialog into the
Nautilus shell itself.
* src/nautilus-window-menus.c: (user_level_customize_callback):
Update for new preference dialog show function.
2001-04-19 Ramiro Estrugo <ramiro@eazel.com>
* components/hardware/main.c: (main):
* components/help/hyperbola-main.c: (main):
* components/history/nautilus-history-view.c: (main):
* components/image-viewer/nautilus-image-view.c: (main):
* components/music/main.c: (main):
* components/notes/Makefile.am:
* components/notes/nautilus-notes.c: (main):
* components/text/main.c: (main):
* components/throbber/main.c: (main):
Make all standard components call the eel function to stop in the
debugger after warnings and criticals. This also makes then spew
nicer messages that include the process id and program name.
2001-04-19 Seth Nickell <snickell@stanford.edu>
reviewed by: Darin Adler <darin@eazel.com>
* libnautilus-extensions/nautilus-global-preferences.c:
* libnautilus-extensions/nautilus-global-preferences.h:
Add a preference for having the desktop directory point at the
Unix homedir rather than the default Nautilus desktop directory.
* libnautilus-extensions/nautilus-file-utilities.c:
(nautilus_get_desktop_directory):
Check the preference and return the appropriate directory.
* src/nautilus-application.c: (nautilus_application_startup),
(confirm_ok_to_run_as_root), (desktop_location_changed_callback):
Add a callback for updating the desktop when the preference
changes.
* src/nautilus-desktop-window.h:
* src/nautilus-desktop-window.c:
(nautilus_desktop_window_update_directory),
(nautilus_desktop_window_new):
Add boolean variable affect_desktop_on_next_location_change to
allow reloading of the desktop dir (rather than loading on open
in to a new/toplevel window). Add a function for telling the
desktop window to point to the updated destkop location.
* src/nautilus-window-manage-views.c: (open_location):
Check whether this open should be done in the desktop itself or
if we should open a new window (/ recycle an existing window).
2001-04-19 Darin Adler <darin@eazel.com>
Fix bug 8082 (Dragging a file to a treeview destination causes
nautilus to freeze):
* libnautilus-extensions/nautilus-file-operations.c:
(transfer_info_destroy): Destroy the hash table in a way that
ignores the values. This is just a loose end from changes I made
to the copy machinery a few days back.
* libnautilus-extensions/nautilus-monitor.h:
Add missing include to fix build.
2001-04-19 Darin Adler <darin@eazel.com>
* libnautilus-extensions/nautilus-monitor.h:
* libnautilus-extensions/nautilus-monitor.c:
(nautilus_monitor_active): New function to check if
the monitoring is working. We'll use this to decide
whether or not to do the "reload the desktop every
4 seconds hack" that Miguel is going to check in soon.
* libnautilus-extensions/nautilus-volume-monitor.c:
(mount_volume_get_name), (mount_volume_activate),
(mount_volume_deactivate), (get_cdrom_type):
Fixed some Solaris build problems with patch by
Laszlo Peter <Laszlo.Peter@ireland.sun.com>.
* libnautilus-extensions/nautilus-cdrom-extensions.h:
Added missing include needed to build on Solaris
from the same patch.
2001-04-19 Christopher James Lahey <clahey@ximian.com>
reviewed by: Darin Adler <darin@eazel.com>
* libnautilus-extensions/nautilus-icon-canvas-item.c
(real_map_pixbuf): Changed map_pixbuf to real_map_pixbuf.
(map_pixbuf): This now checks if rendered_pixbuf exists and
matches the needed pixbuf. If not, it calls real_map_pixbuf.
Changed the semantics of map_pixbuf to always return a reffed
object and changed all calls to map_pixbuf to always unref the
object returned.
2001-04-19 Darin Adler <darin@eazel.com>
Fix bug 8000 (Can get two identical "View as" items in "View as"
menu):
* src/nautilus-window-private.h:
* src/nautilus-window-manage-views.h:
* src/nautilus-window-manage-views.c:
(location_has_really_changed): Make logic clearer by using else
instead of two if statements.
(view_frame_info_new), (view_frame_info_free),
(set_view_frame_info), (view_frame_get_label),
(view_frame_get_id), (nautilus_window_get_content_view_id),
(load_content_view), (nautilus_window_set_sidebar_panels): Store a
NautilusViewIdentifier with each view.
* src/nautilus-window.h:
* src/nautilus-window.c: (nautilus_window_destroy): We no longer
have to store the content view identifier separately.
(remove_first_child): New function.
(update_extra_viewer_in_view_as_menus): Shared by the two below,
this is the old replace_extra_viewer_in_view_as_menus, simplified
and changed to support both adding and removing the extra viewer.
(remove_extra_viewer_in_view_as_menus): Cover for removing.
(replace_extra_viewer_in_view_as_menus): Cover for adding.
(nautilus_window_synch_view_as_menus): Simplify code a lot by
removing some special cases and taking advantage of the fact that
the position of the chosen item is always the same in both menus.
(chose_component_callback): Removed the FIXME now that the bug is
fixed.
* NEWS: Tweak wording.
2001-04-19 Darin Adler <darin@eazel.com>
Fixed bug 8065 (Cut and Paste file in Trash -> file deleted)
* src/file-manager/fm-directory-view.c:
(trash_or_delete_files_common): Simplified this a lot and removed
parameters. Added a new parameter so the "move to trash within
trash means delete if nothing else is being moved" rule only takes
effect for the actual "move to trash" command, not when you are
dragging or pasting files.
(fm_directory_view_trash_or_delete_files): Call new simpler
function.
(fm_directory_view_move_copy_items): Call new simpler
function. Also use trash_or_delete_files_common only when moving
files. It doesn't help any when you copy or make links to files,
so just use the normal copy code for that.
2001-04-19 Gene Z. Ragan <gzr@eazel.com>
Fixed bug 8049, Nautilus makes sound even when control center
"Enable sound server startup" switch is off
* components/music/nautilus-music-view.c: (play_current_file):
Check status of sound server gnome preference and display an
informational dialog if music view playback is compromised
as a result.
* src/file-manager/fm-icon-view.c: (should_preview_sound):
Check status of sound server gnome preference as one of
the conditions when determining if we should preview
the audio file on rollover.
2001-04-19 Darin Adler <darin@eazel.com>
* configure.in: Oops, said INIT instead of AC_INIT.
2001-04-19 Darin Adler <darin@eazel.com>
* configure.in: Removed conflict markers accidentally
checked in along with the bug fix.
2001-04-19 Robin * Slomkowski <rslomkow@eazel.com>
* configure.in: updated to be in sync with Gregory Leblanc's
changes to the nautilus.spec.in
2001-04-18 Darin Adler <darin@eazel.com>
* NEWS: Put in some news about Nautilus 1.0.3.
* THANKS: Tweaked formatting a tiny bit.
2001-04-18 Gene Z. Ragan <gzr@eazel.com>
Fix an error that was introduced that caused floppy
devices to not get identified. The floppy prefix
should be /dev/fd not /dev/fd/
* libnautilus-extensions/nautilus-volume-monitor.c:
(nautilus_volume_monitor_initialize_class),
(mount_volume_auto_add):
2001-04-18 Gene Z. Ragan <gzr@eazel.com>
reviewed by: <delete if not using a buddy>
* libnautilus-extensions/nautilus-volume-monitor.c:
(volume_is_floppy), (mount_volume_auto_add):
* src/file-manager/fm-desktop-icon-view.c: (create_mount_link):
2001-04-18 Darin Adler <darin@eazel.com>
* nautilus.spec.in: Checked in spec file changes contributed
by Gregory Leblanc <gleblanc@cu-portland.edu>. Tinderbox will
tell me soon if I blew it.
2001-04-18 Darin Adler <darin@eazel.com>
* libnautilus-extensions/nautilus-icon-container.c:
(start_rubberbanding): Use the new EelCanvasRect instead of
GnomeCanvasRect for better rubber-banding speed in AA mode.
* src/Makefile.am:
* libnautilus/Makefile.am:
* libnautilus-extensions/Makefile.am:
Added dependencies so the IDL files get recompiled before we
compile any .c files.
2001-04-18 Gene Z. Ragan <gzr@eazel.com>
Fixed bug 7925, Nautilus prevents playing audio cds.
* libnautilus-extensions/nautilus-volume-monitor.c:
Disable the audio cd mounting while I work at making
it more seamless.
2001-04-18 Gene Z. Ragan <gzr@eazel.com>
Fixed bug 7999, "Disks" desktop submenu lacks "Floppy" item
* libnautilus-extensions/nautilus-volume-monitor.c:
(mount_volume_get_name), (mount_volume_auto_add),
(mount_volume_add_filesystem):
Handle "auto" types by using a placeholder volume
type.
* libnautilus-extensions/nautilus-volume-monitor.h:
Add a new type NAUTILUS_VOLUME_AUTO to handle
auto fstab entries. This is really a placeholder
type to be used by the code that creates the removable
volume list. When the volume is actually mounted, the
file system type is loaded from /proc/mounts.
2001-04-18 Gene Z. Ragan <gzr@eazel.com>
Fix bug 8102, with Nautilus running, CDs get ejected
(wrong and makes the kernel unhappy)
* libnautilus-extensions/nautilus-volume-monitor.c:
(mount_volume_iso9660_add):
Remove ioctls that are not needed and may cause the
cd to allow ejecting even with a mounted volume.
2001-04-18 Josh Barrow <josh@whitecape.org>
* po/POTFILES.in:
Removed fm-icon-text-window.c from this file to fix build horkage
I was seeing.
2001-04-18 Ramiro Estrugo <ramiro@eazel.com>
* libnautilus-extensions/nautilus-global-preferences.h:
Remove NAUTILUS_PREFERENCES_ICON_CAPTIONS, its not needed anymore.
* libnautilus-extensions/nautilus-global-preferences.c:
(global_preferences_populate_pane): Add support for installing a
list if strings to ignore when enforcing the unique choice rule
for enumeration lists items.
(global_preferences_create_dialog),
(nautilus_global_preferences_initialize): Register the
enumerations at initialization time instead of dialog creation
time. This is needed so that sanity checking on enumeration
preferences can occur even if the user hasnt opened the dialog.
* libnautilus-extensions/nautilus-preferences-item.h:
* libnautilus-extensions/nautilus-preferences-item.c:
(nautilus_preferences_item_initialize_class),
(nautilus_preferences_item_initialize), (preferences_item_destroy),
(preferences_item_update_enumeration_list_uniqueness),
(preferences_item_update_enumeration_list),
(preferences_item_create_enumeration_list),
(enumeration_list_changed_callback),
(nautilus_preferences_item_enumeration_list_set_unique_exceptions):
Make sure the string pickers are wired such that duplicate choices cannot be
made by the user. We do this by making items that would result in duplicates
insensitive. Its possible to bypass this rule for some items. We use the
use the enumeration_list_unique_exceptions.
* libnautilus-extensions/nautilus-preferences.c:
(preferences_block_callbacks), (preferences_unblock_callbacks):
New private functions to block/unblock preferences callbacks.
(string_list_is_valid): New private function to sanity check the
values of a string list.
(nautilus_preferences_get_string_list): Sanity check the results
of this function for greater convenience of the callers - they no
longer need to do error checking on the result.
(preferences_entry_invoke_callbacks_if_needed): Invoke callbacks
only if they are not blocked.
* src/file-manager/Makefile.am:
* src/file-manager/fm-icon-text-window.c:
* src/file-manager/fm-icon-text-window.h:
Retire these 2 files. There no longer is a Icon Captions window.
* src/file-manager/fm-directory-view.c:
(fm_directory_view_initialize), (fm_directory_view_destroy):
Update for slight change in the Icon Captions preference name.
* src/file-manager/fm-icon-view.c:
(fm_icon_view_get_icon_text_attributes_from_preferences): New
function to fetch the icon caption attributes from preferences. A
similar function used to live in fm-icon-text-window.[ch]. That
is no longer the case now that the Icon Captions have moved into
the preferences dialog.
(fm_icon_view_get_icon_text_attribute_names): Simplify the munging
of icon captions by using a string list.
(fm_icon_view_merge_menus): Remove the Icon Captions menu. The
Icon Captions picker now lives in the preferences dialog.
* src/file-manager/nautilus-icon-view-ui.xml:
Remove Icon Captions menu item which no longer exists.
2001-04-17 Darin Adler <darin@eazel.com>
* THANKS: Added a translator's name.
* check-POTFILES.pl: Made it work for more file extensions.
* check-THANKS.pl: Updated for recent email changes.
* components/image-viewer/io-png.h: Fixed includes.
* components/image-viewer/io-png.c: Fixed includes.
* components/adapter/nautilus-zoomable-proxy.c: Add include of
<config.h>.
* components/music/Makefile.am: Add non-compiled files to
EXTRA_DIST. This makes check-headers-in-Makefile.pl happy.
* components/tree/main.c: Removed this unused file since it's just
a call to the standard main function.
* components/tree/nautilus-tree-change-queue.c: Add include of
<config.h>.
* libnautilus/Makefile.am:
* libnautilus-adapter/Makefile.am:
* libnautilus-extensions/Makefile.am:
* src/Makefile.am:
Do the dist-hook dance so we don't include generated files in the
tarball.
* libnautilus-extensions/nautilus-dateedit-extensions.h:
* libnautilus-extensions/nautilus-dateedit-extensions.c:
(nautilus_gnome_date_edit_get_date_as_string): Rewrite to use
eel_gstrdup_strftime.
* src/nautilus-window-manage-views.c:
(nautilus_window_content_view_matches_iid): We can get a NULL
content view IID in some cases, so make sure we don't call strcmp
on it.
2001-04-17 Ramiro Estrugo <ramiro@eazel.com>
* libnautilus-extensions/nautilus-gconf-extensions.c:
(simple_value_is_equal), (nautilus_gconf_value_is_equal):
Implement the missing GconfValue comparison for lists.
* libnautilus-extensions/nautilus-global-preferences.h:
More consistent name for the icon captions preference.
* libnautilus-extensions/nautilus-global-preferences.c:
(global_preferences_register_enumerations): Allow enumeration ids
to be installed for string lists. A bit of a hack to let
enumeration lists work in the NautilusPreferencesItem object.
(global_preferences_install_one_default): Add support for string
lists.
(global_preferences_create_dialog):
Move the icon captions widgetry from its own lonesome dialog into
the preferences dialog.
* libnautilus-extensions/nautilus-preferences-box.h:
* libnautilus-extensions/nautilus-preferences-box.c:
(nautilus_preferences_box_new):
Remove unused parameter from constructor. Remove some crufty
unused code. Match the Nautilus style more.
* libnautilus-extensions/nautilus-preferences-dialog.h:
* libnautilus-extensions/nautilus-preferences-dialog.c:
(nautilus_preferences_dialog_construct):
Remove some crufty unused signals, defines and code. Match the
Nautilus style more. Dont hard code the default size. Let Gtk do
that work for us. Remove unused dialog_destroy callback.
* libnautilus-extensions/nautilus-preferences-item.h:
* libnautilus-extensions/nautilus-preferences-item.c:
(preferences_item_destroy),
(preferences_item_update_enumeration_list),
(preferences_item_set_main_child),
(preferences_item_add_connection_child),
(preferences_item_create_enumeration_radio),
(preferences_item_create_enumeration_list),
(preferences_item_create_boolean),
(preferences_item_update_editable_string),
(preferences_item_create_editable_string),
(preferences_item_create_editable_integer),
(preferences_item_create_enumeration_menu),
(preferences_item_create_font), (preferences_item_create_padding),
(preferences_item_create_smooth_font),
(nautilus_preferences_item_new),
(enumeration_list_changed_callback),
(preferences_item_update_displayed_value):
Add support for enumerations lists.
Cleanup the way children are added to the main box. Allow for
more than one child (for enum list support). Keep a list of
widgets and their respective changed signal ids, so they can all
be blocked and unblocked when needed.
* libnautilus-extensions/nautilus-preferences.h:
* libnautilus-extensions/nautilus-preferences.c:
(update_auto_string_list), (preferences_entry_update_auto_storage),
(preferences_entry_remove_auto_storage),
(nautilus_preferences_add_auto_string_list),
(nautilus_preferences_remove_auto_string),
(nautilus_preferences_remove_auto_string_list):
Add support for auto storage of string lists.
* src/nautilus-application.c: (check_required_directories): Update
for EelStringList _as_string changes.
2001-04-17 Josh Barrow <josh@whitecape.org>
* AUTHORS:
Changed my e-mail address. I no longer use josh@eazel.com
2001-04-17 John Fleck <jfleck@inkstain.net>
* reviewed by laszlo.kovacs@sun.com
* gdb3html.h, sect-elements.[h,c], toc-elements.c
fixing bugs #7605, #8001, #7059, #6890
2001-04-17 Ramiro Estrugo <ramiro@eazel.com>
* components/tree/nautilus-tree-expansion-state.c:
(expansion_state_load_callback),
(nautilus_tree_expansion_state_load_from_preferences),
(nautilus_tree_expansion_state_save_to_preferences),
(nautilus_tree_expansion_state_initialize),
(nautilus_tree_expansion_state_save):
Update for string_list set/get preferences changes.
* libnautilus-extensions/nautilus-gconf-extensions.h:
* libnautilus-extensions/nautilus-gconf-extensions.c:
(nautilus_gconf_set_string_list), (nautilus_gconf_get_string_list):
Use GSList instead of GList as this the format that GConf
understands.
* libnautilus-extensions/nautilus-preferences.h:
* libnautilus-extensions/nautilus-preferences.c:
(nautilus_preferences_set_string_list),
(nautilus_preferences_get_string_list),
(nautilus_preferences_default_set_string_list),
(nautilus_preferences_default_get_string_list),
(preferences_entry_remove_callback),
(preferences_entry_remove_auto_storage),
(nautilus_self_check_preferences):
Use EelStringList instead of GList for string_list preferences.
* src/nautilus-shell.c: (save_window_states),
(restore_one_window_callback), (restore_window_states):
Update for string_list set/get preferences changes. Simplify a
little by using a string list iterator and string lists instead of
parsing the geometry strings "by hand."
2001-04-17 Ramiro Estrugo <ramiro@eazel.com>
* libnautilus-extensions/nautilus-monitor.c:
#include <glib.h> for g_return macros in the case where HAVE_FAM_H
ain't defined.
2001-04-16 Ramiro Estrugo <ramiro@eazel.com>
* libnautilus-extensions/nautilus-monitor.c:
Need to #include <stdio.h> even when HAVE_FAM ain't defined.
2001-04-16 Ramiro Estrugo <ramiro@eazel.com>
* libnautilus-extensions/nautilus-monitor.c:
Add #include <stdio.h> to fix undefined NULL error on tinderbox.
2001-04-16 Gene Z. Ragan <gzr@eazel.com>
Fixed bug 7767, umounting a volume should abort finding trash dir.
Add two new signals to the volume monitor; volume_unmount_started and
volume_unmount_failed. volume_unmount_started is emitted before
the volume is unmounted. This allows interested parties to close
any open files that they might have open and perform any other
finalization tasks before the device is unmounted.
* libnautilus-extensions/nautilus-volume-monitor.c:
* libnautilus-extensions/nautilus-volume-monitor.h:
(nautilus_volume_monitor_initialize_class):
Add two new signals, volume_unmount_started and volume_unmount_failed.
(display_mount_error), (close_error_pipe),
(nautilus_volume_monitor_mount_unmount_removable):
Prepare for and call volume_unmount_failed in the case that an
unmount is unable to be completed.
* libnautilus-extensions/nautilus-trash-directory.c:
(nautilus_trash_directory_initialize):
Connect to new volume monitor signal.
(volume_unmount_started_callback):
Rename callback to be consistent with the new volume monitor
signal name.
2001-04-16 Ramiro Estrugo <ramiro@eazel.com>
* libnautilus-extensions/nautilus-mime-actions.c:
Removed unused (and now uninstalled) eel library self checks
header.
2001-04-16 Ramiro Estrugo <ramiro@eazel.com>
* libnautilus-extensions/Makefile.am:
* libnautilus-extensions/nautilus-preferences-private.h:
Remove unused header.
* libnautilus-extensions/nautilus-directory.c:
(nautilus_directory_get_internal):
Remove unnecessary removal of preferences callbacks at exit time.
This happens automatically.
* libnautilus-extensions/nautilus-gconf-extensions.h:
* libnautilus-extensions/nautilus-gconf-extensions.c:
(nautilus_gconf_client_get_global), (nautilus_gconf_set_integer),
(nautilus_gconf_get_integer), (nautilus_gconf_is_default),
(nautilus_gconf_monitor_add), (nautilus_gconf_monitor_remove),
(nautilus_gconf_value_free), (nautilus_gconf_notification_add),
(nautilus_gconf_notification_remove):
New functions for easier addition and removal of notifications.
New funtions for easier addition and removal of directory
monitoring.
Add a #define for a undefined connection.
* libnautilus-extensions/nautilus-global-preferences.h:
Remove SOUND_STATE hack.
* libnautilus-extensions/nautilus-sound.c:
(kill_sound_if_necessary), (nautilus_sound_initialize),
(nautilus_sound_kill_sound), (nautilus_sound_register_sound),
(nautilus_sound_can_play_sound):
Use gconf directly for the sound state hack, since nautilus
preferences arent really useful for this specific use because of
initialization, and default value issues.
* libnautilus-extensions/nautilus-global-preferences.c:
(nautilus_global_preferences_initialize):
Pass in the storage prefix when initializing preferences.
* libnautilus-extensions/nautilus-preferences.h:
We now need to pass in the storage prefix when initializing.
* libnautilus-extensions/nautilus-preferences.c:
Change the way preferences are initialized a little bit. We now
feed the initialize function a storage prefix to use for gconf.
Add assertions for any public function that was used before
initialization. Make the key allocations a little faster by
caching the prefixes that hardly ever change. Simplify the
addition and removal of gconf notifications by using the new gconf
extensions to do so.
Add a little bit of self checks. I need to figure out a gconf
problem before adding more checks, these are very minimal for now.
2001-04-16 Ramiro Estrugo <ramiro@eazel.com>
* src/nautilus-main.c:
(main): Dont include eel library self checks header since its now
private. Also dont run the eel library self checks anymore.
2001-04-16 Darin Adler <darin@eazel.com>
* src/nautilus-window-menus.c: (help_menu_about_nautilus_callback):
Stop trying to translate the copyright statement. It should just
always use "(C)" so it doesn't depend on the character set. No need
for the fancy copyright symbol from Latin-1.
2001-04-16 Darin Adler <darin@eazel.com>
* libnautilus-extensions/nautilus-monitor.c: (get_fam_connection):
Don't give a warning if there's no FAM daemon to connect to, just
silently don't use FAM.
(process_fam_notifications): Improve wording of the warning you
get when FAM goes away.
2001-04-16 Darin Adler <darin@eazel.com>
Changes to use FAM if it's there. Now the hard part is getting FAM
installed on people's systems.
* libnautilus-extensions/nautilus-directory-async.c:
(find_monitor): Tightened up the function.
(monitor_file_compare), (find_any_monitor): Functions to see if a
file still has a reason to be monitored.
(nautilus_directory_monitor_add_internal): Start FAM monitoring.
(nautilus_directory_monitor_remove_internal): Stop FAM monitoring.
* libnautilus-extensions/nautilus-directory-private.h: Add a place
to keep track of the FAM monitor.
* libnautilus-extensions/nautilus-file-private.h: Add a place
to keep track of the FAM monitor.
* libnautilus-extensions/nautilus-directory.c:
(nautilus_directory_destroy): Stop FAM monitoring.
* libnautilus-extensions/nautilus-file.c: (destroy): Stop FAM
monitoring.
* libnautilus-extensions/nautilus-monitor.c:
(get_event_uri): Use FAMREQUEST_GETREQNUM instead of going
directly at the struct.
(process_fam_notifications): Get rid of the messages and call
nautilus_file_changes_consume_changes on the way out.
(nautilus_monitor_file): Get rid of the message.
(nautilus_monitor_directory): Get rid of the message and use
FAMREQUEST_GETREQNUM instead of going directly at the struct.
(nautilus_monitor_cancel): Get rid of the message and use
FAMREQUEST_GETREQNUM instead of going directly at the struct.
2001-04-16 Ramiro Estrugo <ramiro@eazel.com>
* libnautilus/Makefile.am:
Add missing eel includes.
2001-04-16 Darin Adler <darin@eazel.com>
Some work on FAM.
* libnautilus-extensions/nautilus-monitor.h:
* libnautilus-extensions/nautilus-monitor.c: (get_fam_connection),
(get_request_hash_table), (get_event_uri),
(process_fam_notifications), (nautilus_monitor_file),
(nautilus_monitor_directory), (nautilus_monitor_cancel): Improved
API, fixed some storage leaks, simplified some code, made it
handle URI escaping properly, use the file changes queue. Almost
ready for prime time!
* libnautilus-extensions/nautilus-file-changes-queue.h:
* libnautilus-extensions/nautilus-file-changes-queue.c:
(nautilus_file_changes_queue_file_changed),
(nautilus_file_changes_consume_changes):
* libnautilus-extensions/nautilus-directory-notify.h:
* libnautilus-extensions/nautilus-directory.c:
(call_files_changed_unref_free_list),
(nautilus_directory_notify_files_changed):
Added a new kind of notification for the file changed case.
2001-04-16 Darin Adler <darin@eazel.com>
* src/nautilus-view-frame.c: (destroy_view), (attach_view): Fixed
the problem that was making the image view crash. We want to unref
right away, but not release the CORBA object reference until we
are done.
* libnautilus-extensions/nautilus-volume-monitor.c:
(nautilus_volume_monitor_initialize_class),
(get_removable_volumes), (volume_is_removable),
(volume_is_read_only), (mount_volume_get_cdrom_name),
(mount_volume_activate_cdda), (mount_volume_activate_cdrom),
(get_current_mount_list), (verify_current_mount_state),
(get_cdrom_type), (load_additional_mount_list_info):
Some code cleanups. Got rid of a few ifdefs.
2001-04-16 Darin Adler <darin@eazel.com>
Fixed API to icon factory that took an anti-aliased parameter when
creating a scalable icon. Instead it should be possible to get a
scalable icon and then get either an anti-aliased-optimized or
non-anti-alias-optimized version of the icon.
* libnautilus-extensions/nautilus-bookmark.h:
* libnautilus-extensions/nautilus-bookmark.c:
(nautilus_bookmark_get_pixmap_and_mask): Pass FALSE so we get the
non-anti-aliased version.
(nautilus_bookmark_get_pixbuf): Add parameter to indicate if we
want the anti-aliased-optimized version or not.
(nautilus_bookmark_update_icon): Get rid of anti-aliased boolean
here since we are just updating the scalable icon.
(nautilus_bookmark_set_icon_to_default): Get rid of anti-aliased
boolean here since we are just updating the scalable icon.
* libnautilus-extensions/nautilus-icon-container.c:
(nautilus_icon_container_update_icon): Pass in a flag to indicate
if we need the anti-aliased version of the icon or not.
* libnautilus-extensions/nautilus-icon-factory.h:
* libnautilus-extensions/nautilus-icon-factory.c:
(nautilus_scalable_icon_new_from_text_pieces): Removed the
anti-aliased parameter.
(nautilus_scalable_icon_hash), (nautilus_scalable_icon_equal):
Remove the anti-aliased flag. A scalable icon itself is created
before we make the "anti-aliased or not" choice.
(nautilus_icon_factory_get_icon_for_file): Since we no longer know
whether the icon will be needed anti-aliased or not, make the
thumbnail code always use the anti-aliased version (and added
FIXME). Also changed the "loading" image to use the normal icon
name case instead of hard-coding.
(nautilus_icon_factory_get_emblem_icon_by_name): Removed the
anti-aliased parameter.
(nautilus_icon_factory_get_emblem_icons_for_file): Removed the
anti-aliased parameter.
(load_specific_icon): Add an anti-aliased parameter.
(load_icon_for_scaling): Add an anti-aliased parameter.
(load_icon_scale_if_necessary): Pass in the anti-aliased parameter
from the icon size request.
(get_icon_from_cache): Pass in the anti-aliased parameter from the
icon size request.
(nautilus_icon_factory_get_pixbuf_for_icon): Add an anti-aliased
parameter.
(cache_key_hash): Include the anti-aliased flag in the hash.
(cache_key_equal): Include the anti-aliased flag in the compare.
(nautilus_icon_factory_get_pixbuf_for_file): Pass the anti-aliased
parameter into the get_pixbuf half, not the get_icon_for_file
half.
(nautilus_icon_factory_get_pixbuf_from_name): Pass the
anti-aliased parameter into the get_pixbuf half, not the
scalable_icon_new half.
(load_icon_with_embedded_text): Remove the anti-aliased parameter.
* src/file-manager/fm-icon-view.c: (get_icon_images_callback): Get
rid of code to pass in the anti-aliased parameter.
* src/file-manager/fm-list-view.c:
(fm_list_view_get_emblem_pixbufs_for_file): Pass the anti-aliased
parameter to the pixbuf-getting function, not the
scalable-icon-getting part.
* src/nautilus-bookmark-parsing.c:
(nautilus_bookmark_new_from_node): No need to pass an anti-aliased
parameter (before it was always FALSE).
* src/nautilus-sidebar-title.c: (update_emblems): Pass FALSE for
the anti-aliased parameter to the get_pixbuf call rather than to
the get_icons call.
* src/nautilus-window-manage-views.c: (get_history_list_callback):
No need to pass FALSE for anti-aliased any more.
* src/nautilus-window-menus.c: (append_bookmark_to_menu): No need
to pass FALSE for anti-aliased any more.
2001-04-16 Gene Z. Ragan <gzr@eazel.com>
Add a global to track the presence of /etc/mnttab and
use that value instead of the improper ifdef that
I added last week. Check the value of this variable
and use the result to determine to use mnttab or
/proc/mounts.
* libnautilus-extensions/nautilus-volume-monitor.c:
(nautilus_volume_monitor_initialize_class),
(get_current_mount_list):
2001-04-15 George Lebl <jirka@5z.com>
* configure.in, po/cs.po: Being the nationalistic bastard I am,
made an initial translation since nobody else seemed to want to
do so and I didn't want Czech to be so far behid others. Currently
only about 13% done.
2001-04-13 Darin Adler <darin@eazel.com>
* libnautilus-extensions/nautilus-volume-monitor.c:
(locate_audio_cd): Simplify code a bit and get rid of unnecessary
use of GnomeVFSURI.
* src/file-manager/fm-directory-view.c: (queue_pending_files):
Don't filter files at this level. Even invisible files might be
formerly-visible files.
* src/file-manager/fm-icon-view.c: (fm_icon_view_add_file),
(fm_icon_view_file_changed): Filter out files that should not be
visible, now that they are not filtered earlier.
* src/file-manager/fm-list-view.c: (fm_list_view_add_file),
(fm_list_view_file_changed): Filter out files that should not be
visible, now that they are not filtered earlier.
2001-04-13 Darin Adler <darin@eazel.com>
* libnautilus-extensions/nautilus-file-operations-progress.c:
(nautilus_file_operations_progress_done): Remove code that fills
the progress bar to the end. The callback from gnome-vfs now takes
care of this (need the new gnome-vfs with bug fixes).
* libnautilus-extensions/nautilus-file-operations.c:
(handle_close_callback), (create_transfer_dialog): Handle the
cancel button in a cleaner way. Just make it close the dialog and
fall into the code already there to handle cases where the dialog
is closed directly.
* src/file-manager/fm-icon-view.c: (get_default_zoom_level): Fixed
a strangely named variable.
(fm_icon_view_begin_loading): Don't set the zoom level if the view
does not support zooming (desktop view anyone?).
(default_zoom_level_changed_callback): Don't set the zoom level if
the view does not support zooming (desktop view anyone?).
* src/nautilus-window.c: (handle_view_as_item_from_bonobo_menu):
Use eel_strcmp, because the container path can be NULL in some
cases.
2001-04-13 Pavel Cisler <pavel@eazel.com>
* src/file-manager/fm-list-view.c: (real_get_link_column),
(real_get_column_specification):
Move the emblem column after the name column.
Give the emblem column a title.
2001-04-13 Gene Z. Ragan <gzr@eazel.com>
Fix issues in the volume monitor that crept in over time.
We used to only open /proc/mounts once per second. We now
do that again. All other file opening tasks now only
occur when the state of mounts changes.
* libnautilus-extensions/nautilus-volume-monitor.c:
(get_removable_volumes), (volume_is_removable),
(mount_volume_activate), (mount_volume_deactivate),
(get_current_mount_list), (verify_current_mount_state),
(load_additonal_mount_list_info), (mount_volume_add_filesystem):
* src/file-manager/fm-desktop-icon-view.c:
(create_unique_volume_name):
2001-04-13 Ramiro Estrugo <ramiro@eazel.com>
* src/nautilus-profiler.c: (dump_dialog_show):
Dont use a translated font name here.
2001-04-12 Ramiro Estrugo <ramiro@eazel.com>
* libnautilus/nautilus-view-standard-main.h:
* libnautilus/nautilus-view-standard-main.c:
(nautilus_view_standard_main_multi), (nautilus_view_standard_main):
Add support for gettext. Add a post initialize callback so that
callers can initialize any component specific stuff before the
main even loop begins (nautilus preferences for example)
Update for standard main changes.
Add documentation for these functions. Also add criticals to make
the code a little bit more robust.
* components/help/hyperbola-main.c: (main):
* components/history/nautilus-history-view.c: (main):
* components/music/main.c: (main):
* components/notes/nautilus-notes.c: (main):
* components/sample/main.c: (main):
* components/text/main.c: (main):
* components/tree/main.c: (main):
Update for standard main changes. Make these a little simpler by
putting gettext support in standard main itself. Also, make sure
that components that use preferences initialize them.
* src/nautilus-main.c: (main):
Dont do the preferences initialization if we are about to kill the
nautilus shell.
2001-04-12 Seth Nickell <snickell@stanford.edu>
* libnautilus-extensions/Makefile.am:
Hang head in shame. Add nautilus-monitor.h to Makefile.am's
headers list.
2001-04-12 Ramiro Estrugo <ramiro@eazel.com>
* libnautilus-extensions/nautilus-bookmark.c:
(nautilus_bookmark_get_pixbuf), (nautilus_bookmark_get_icon),
(nautilus_bookmark_icon_is_different),
(nautilus_bookmark_update_icon),
(nautilus_bookmark_set_icon_to_default),
(nautilus_bookmark_disconnect_file),
(nautilus_bookmark_new_with_icon):
* libnautilus-extensions/nautilus-dateedit-extensions.c:
(nautilus_gnome_date_edit_get_date_as_string):
* libnautilus-extensions/nautilus-dateedit-extensions.h:
* libnautilus-extensions/nautilus-icon-container.c:
(nautilus_icon_container_update_icon):
* libnautilus-extensions/nautilus-icon-factory.c:
(cache_key_destroy), (nautilus_scalable_icon_get_text_pieces),
(nautilus_scalable_icon_new_from_text_pieces),
(nautilus_scalable_icon_ref), (nautilus_scalable_icon_unref),
(nautilus_icon_factory_get_icon_for_file),
(nautilus_icon_factory_get_emblem_icon_by_name),
(get_icon_from_cache), (nautilus_icon_factory_get_pixbuf_for_file),
(nautilus_icon_factory_get_pixbuf_from_name),
(load_icon_with_embedded_text), (nautilus_scalable_icon_list_free):
* libnautilus-extensions/nautilus-icon-factory.h:
* libnautilus-extensions/nautilus-program-chooser.c:
(launch_mime_capplet):
* libnautilus-extensions/nautilus-program-choosing.c:
(nautilus_launch_application),
(nautilus_launch_application_from_command):
* libnautilus-extensions/nautilus-program-choosing.h:
* src/file-manager/fm-desktop-icon-view.c:
(change_background_callback):
* src/file-manager/fm-directory-view.c: (run_script_callback),
(activate_callback):
* src/file-manager/fm-list-view.c:
(fm_list_view_get_emblem_pixbufs_for_file):
* src/nautilus-bookmark-list.c: (append_bookmark_node):
* src/nautilus-bookmark-parsing.c:
(nautilus_bookmark_new_from_node):
* src/nautilus-search-bar-criterion.c:
(nautilus_search_bar_criterion_get_location):
* src/nautilus-sidebar-title.c: (update_emblems):
Fix overeager search and replace of eel with nautilus. These
functions got accidentally eel-ized.
2001-04-12 Seth Nickell <snickell@stanford.edu>
* libnautilus-extensions/nautilus-monitor.c:
(nautilus_monitor_add_file), (nautilus_monitor_add_directory),
(nautilus_monitor_remove):
Fix stupid build breakage.
2001-04-12 Seth Nickell <snickell@stanford.edu>
* libnautilus-extensions/nautilus-monitor.c:
(nautilus_monitor_process_fam_notifications):
Add comments to unhandled FAM signals.
2001-04-12 Seth Nickell <snickell@stanford.edu>
Add some initial code to deal with file notification and
monitoring. This isn't hooked in yet, but provides interfaces
for Nautilus code to use.
* configure.in:
Add configure checks for FAM.
* libnautilus-extensions/Makefile.am:
Include FAM libraries if they exist.
* libnautilus-extensions/nautilus-monitor.c:
(nautilus_monitor_establish_connection),
(nautilus_monitor_get_fam),
(nautilus_monitor_find_path_from_request),
(nautilus_monitor_find_request_from_path),
(nautilus_monitor_delete_first_request_found),
(nautilus_monitor_get_uri),
(nautilus_monitor_process_fam_notifications),
(nautilus_monitor_add_file), (nautilus_monitor_add_directory),
(nautilus_monitor_remove):
* libnautilus-extensions/nautilus-monitor.h:
The code that actually communicates w/ FAM.
2001-04-12 Darin Adler <darin@eazel.com>
* libnautilus-extensions/nautilus-file-operations-progress.c:
(nautilus_file_operations_progress_new_file): Get rid of the +1
I added here. I was actually working around a gnome-vfs bug with
this (even though I didn't know it) and now I've fixed the bug.
* src/file-manager/fm-directory-view.c: (debuting_uri_data_free):
Fixed another g_free problem I introduced that was causing a core
dump on quit.
2001-04-12 Darin Adler <darin@eazel.com>
* src/file-manager/fm-directory-view.c:
Damn! Checked in too fast without thinking. This should make it
compile again.
2001-04-12 Darin Adler <darin@eazel.com>
* libnautilus-extensions/nautilus-file.c:
Get rid of stray % character.
* src/file-manager/fm-directory-view.c: (remove_debuting_uri),
(debuting_uri_add_file_callback), (copy_move_done_partition_func):
Fix bug I introduced with my last check-in, where we try to g_free
a GINT_TO_POINTER(TRUE).
2001-04-12 Ramiro Estrugo <ramiro@eazel.com>
* libnautilus-extensions/nautilus-global-preferences.c:
(global_preferences_install_one_default),
(global_preferences_install_defaults),
(global_preferences_populate_pane), (default_font_callback),
(default_smooth_font_callback), (default_home_location_callback):
Simplify the installation of default values. Use the same
mechanism as we do for constant default values, but provide a
callback for dynamic values.
* libnautilus-extensions/nautilus-preferences.h:
* libnautilus-extensions/nautilus-preferences.c:
(preferences_key_make_for_default),
(preferences_key_make_for_default_getter),
(nautilus_preferences_set_user_level),
(nautilus_preferences_get_user_level_name_for_display),
(nautilus_preferences_get_user_level_name_for_storage),
(nautilus_preferences_user_level_clamp): New function to clamp a
user level to the valid values.
(nautilus_preferences_user_level_is_valid): New function to test a
user level for validity.
* libnautilus-extensions/nautilus-sidebar-functions.h:
Add public define for sidebar panel preferences name prefix.
* libnautilus-extensions/nautilus-sidebar-functions.c:
(sidebar_panel_make_preference_key): Make this function private as
its not used anymore.
2001-04-11 Darin Adler <darin@eazel.com>
* libnautilus-extensions/nautilus-file-operations.c:
(sync_transfer_callback): Put flags in the debuting_uris hash
table so we can tell files that are actually moved from files that
are not because they are already in the right place.
* src/file-manager/fm-directory-view.c:
(copy_move_done_data_free): Use nautilus_file_list_free to save
code.
(remove_not_really_moved_files): Function to pick out files that
are not actually moved (recognized by the flag in the
debuting_uris hash table) and treat them as if they had already
been moved.
(copy_move_done_callback): Use g_hash_table_foreach_remove with
the function above.
* src/Nautilus_shell.oaf.in: Fix the the typo.
* src/nautilus-sidebar-tabs.c: (get_property_bag): New function
so we can share more code.
(tab_item_destroy): Use new function for clarity and to fix lack
of CORBA_exception_free.
(get_tab_image_name): New function factored out.
(nautilus_sidebar_tabs_update_tab_item): Use new function, also
reduced some redundant code.
(nautilus_sidebar_tabs_connect_view): Use new function for clarity
and to save some code.
* src/nautilus-view-frame.c: (destroy_view), (attach_view): Don't
bother holding a reference to the NautilusView since it's part of
the same object as the BonoboControl.
* src/nautilus-window-menus.c: (help_menu_about_nautilus_callback):
Get rid of non-ASCII character in a msgid string.
* src/nautilus-window.c: (add_view_as_bonobo_menu_item): Fix tip
string to be easier to translate.
2001-04-11 John Harper <jsh@eazel.com>
reviewed by: Darin Adler <darin@eazel.com>
Fix non-medusa build:
* libnautilus-extensions/nautilus-medusa-support.c,
src/file-manager/nautilus-indexing-info.c,
src/file-manager/fm-search-list-view.c:
Several small changes to make compilation work when HAVE_MEDUSA
isn't defined. From a patch sent to nautilus-list by Jason
Leach <jasonleach@usa.net>
2001-04-11 Ramiro Estrugo <ramiro@eazel.com>
* nautilus.spec.in:
Remove some stuff that no longer exists in nautilus.
2001-04-11 Ramiro Estrugo <ramiro@eazel.com>
* Makefile.am:
Remove nautilus-installer.
* acconfig.h:
Remove EAZEL_SERVICES, PAM and RPM defines.
* components/Makefile.am:
Remove rpmview and services directories.
* nautilus.spec.in:
Remove all the trilobite stuff.
* configure.in:
Remove eazel services, installer, rpm checks, pam checks and
authenticate helper
* helper-utilities/Makefile.am:
* helper-utilities/authenticate/.cvsignore:
* helper-utilities/authenticate/Makefile.am:
* helper-utilities/authenticate/nautilus-authenticate-fork.c:
* helper-utilities/authenticate/nautilus-authenticate-pam.c:
* helper-utilities/authenticate/nautilus-authenticate.c:
* helper-utilities/authenticate/nautilus-authenticate.h:
Retire. Its not used. If its ever needed again, it can be
resurrected in trilobite.
* components/rpmview/.cvsignore:
* components/rpmview/Makefile.am:
* components/rpmview/Nautilus_View_rpm.oaf.in:
* components/rpmview/main.c:
* components/rpmview/nautilus-rpm-verify-window.c:
* components/rpmview/nautilus-rpm-verify-window.h:
* components/rpmview/nautilus-rpm-view-install.c:
* components/rpmview/nautilus-rpm-view-install.h:
* components/rpmview/nautilus-rpm-view-private.h:
* components/rpmview/nautilus-rpm-view.c:
* components/rpmview/nautilus-rpm-view.h:
* components/services/.cvsignore:
* components/services/Makefile.am:
* components/services/clone/.cvsignore:
* components/services/clone/Makefile.am:
* components/services/clone/eazel-clone-lib.c:
* components/services/clone/eazel-clone-lib.h:
* components/services/clone/eazel-clone.c:
* components/services/docs/directories:
* components/services/docs/eazel-services-framework-draft:
* components/services/docs/install-user-settings:
* components/services/docs/installer-dep-check:
* components/services/docs/installer-rpm-cases:
* components/services/docs/installer-rpmsearch:
* components/services/docs/packagexml.dtd:
* components/services/install-view/.cvsignore:
* components/services/install-view/Makefile.am:
* components/services/install-view/Nautilus_View_install.oaf.in:
* components/services/install-view/callbacks.c:
* components/services/install-view/callbacks.h:
* components/services/install-view/forms.c:
* components/services/install-view/forms.h:
* components/services/install-view/main.c:
* components/services/install-view/nautilus-service-install-view.c:
* components/services/install-view/nautilus-service-install-view.h:
* components/services/install/.cvsignore:
* components/services/install/Makefile.am:
* components/services/install/command-line/.cvsignore:
* components/services/install/command-line/Makefile.am:
* components/services/install/command-line/eazel-alt-install-corba.c:
* components/services/install/command-line/eazel-gen-pre-xml.sh:
* components/services/install/command-line/eazel-gen-xml.c:
* components/services/install/command-line/eazel-test-inventory.c:
* components/services/install/command-line/eazel-test-packsys.c:
* components/services/install/command-line/eazel-test-softcat.c:
* components/services/install/command-line/eazel-test-types.c:
* components/services/install/command-line/genpkg_list.example:
* components/services/install/idl/.cvsignore:
* components/services/install/idl/Makefile.am:
* components/services/install/idl/trilobite-eazel-install.idl:
* components/services/install/lib/.cvsignore:
* components/services/install/lib/Makefile.am:
* components/services/install/lib/eazel-install-corba-callback.c:
* components/services/install/lib/eazel-install-corba-callback.h:
* components/services/install/lib/eazel-install-corba-types.c:
* components/services/install/lib/eazel-install-corba-types.h:
* components/services/install/lib/eazel-install-corba.c:
* components/services/install/lib/eazel-install-logic2.c:
* components/services/install/lib/eazel-install-logic2.h:
* components/services/install/lib/eazel-install-metadata.c:
* components/services/install/lib/eazel-install-metadata.h:
* components/services/install/lib/eazel-install-object.c:
* components/services/install/lib/eazel-install-private.h:
* components/services/install/lib/eazel-install-problem.c:
* components/services/install/lib/eazel-install-problem.h:
* components/services/install/lib/eazel-install-protocols.c:
* components/services/install/lib/eazel-install-protocols.h:
* components/services/install/lib/eazel-install-public.h:
* components/services/install/lib/eazel-install-query-lex.l:
* components/services/install/lib/eazel-install-query-parse.h:
* components/services/install/lib/eazel-install-query.h:
* components/services/install/lib/eazel-install-rpm-signature.c:
* components/services/install/lib/eazel-install-rpm-signature.h:
* components/services/install/lib/eazel-install-tests.c:
* components/services/install/lib/eazel-install-tests.h:
* components/services/install/lib/eazel-install-xml-package-list.c:
* components/services/install/lib/eazel-install-xml-package-list.h:
* components/services/install/lib/eazel-package-system-dpkg.c:
* components/services/install/lib/eazel-package-system-dpkg.h:
* components/services/install/lib/eazel-package-system-private.h:
* components/services/install/lib/eazel-package-system-rpm3-private.h:
* components/services/install/lib/eazel-package-system-rpm3.c:
* components/services/install/lib/eazel-package-system-rpm3.h:
* components/services/install/lib/eazel-package-system-rpm4.c:
* components/services/install/lib/eazel-package-system-rpm4.h:
* components/services/install/lib/eazel-package-system-skeleton.c:
* components/services/install/lib/eazel-package-system-skeleton.h:
* components/services/install/lib/eazel-package-system-types.c:
* components/services/install/lib/eazel-package-system-types.h:
* components/services/install/lib/eazel-package-system.c:
* components/services/install/lib/eazel-package-system.h:
* components/services/install/lib/eazel-softcat-private.h:
* components/services/install/lib/eazel-softcat.c:
* components/services/install/lib/eazel-softcat.h:
* components/services/install/lib/libeazelinstall.h:
* components/services/install/lib/makefile.staticlib.in:
* components/services/install/server/.cvsignore:
* components/services/install/server/Makefile.am:
* components/services/install/server/Trilobite_Service_install.oaf.in:
* components/services/install/server/main.c:
* components/services/install/server/trilobite-eazel-install-service.png:
* components/services/inventory-view/.cvsignore:
* components/services/inventory-view/Makefile.am:
* components/services/inventory-view/Nautilus_View_inventory.oaf.in:
* components/services/inventory-view/main.c:
* components/services/inventory-view/nautilus-inventory-config-page.c:
* components/services/inventory-view/nautilus-inventory-disable-page.c:
* components/services/inventory-view/nautilus-inventory-disable-page.h:
* components/services/inventory-view/nautilus-inventory-enable-page.c:
* components/services/inventory-view/nautilus-inventory-enable-page.h:
* components/services/inventory-view/nautilus-inventory-view-private.h:
* components/services/inventory-view/nautilus-inventory-view.c:
* components/services/inventory-view/nautilus-inventory-view.h:
* components/services/inventory/.cvsignore:
* components/services/inventory/Makefile.am:
* components/services/inventory/Trilobite_Service_inventory.oaf.in:
* components/services/inventory/eazel-inventory-client.c:
* components/services/inventory/eazel-inventory-collect-hardware.c:
* components/services/inventory/eazel-inventory-collect-hardware.h:
* components/services/inventory/eazel-inventory-collect-software.c:
* components/services/inventory/eazel-inventory-collect-software.h:
* components/services/inventory/eazel-inventory-service-interface.idl:
* components/services/inventory/eazel-inventory-service.c:
* components/services/inventory/eazel-inventory-service.h:
* components/services/inventory/eazel-inventory-upload-callback.c:
* components/services/inventory/eazel-inventory-upload-callback.h:
* components/services/inventory/eazel-inventory-utils.c:
* components/services/inventory/eazel-inventory-utils.h:
* components/services/inventory/eazel-inventory.c:
* components/services/inventory/eazel-inventory.h:
* components/services/inventory/main.c:
* components/services/login/.cvsignore:
* components/services/login/Makefile.am:
* components/services/login/nautilus-view/.cvsignore:
* components/services/login/nautilus-view/Makefile.am:
* components/services/login/nautilus-view/Nautilus_View_change-password.oaf.in:
* components/services/login/nautilus-view/main.c:
* components/services/login/nautilus-view/nautilus-change-password-view.c:
* components/services/login/nautilus-view/nautilus-change-password-view.h:
* components/services/login/nautilus-view/password-box.c:
* components/services/login/nautilus-view/password-box.h:
* components/services/nautilus-dependent-shared/.cvsignore:
* components/services/nautilus-dependent-shared/Makefile.am:
* components/services/nautilus-dependent-shared/eazel-services-extensions.c:
* components/services/nautilus-dependent-shared/eazel-services-extensions.h:
* components/services/nautilus-dependent-shared/eazel-services-footer.c:
* components/services/nautilus-dependent-shared/eazel-services-footer.h:
* components/services/nautilus-dependent-shared/eazel-services-header.c:
* components/services/nautilus-dependent-shared/eazel-services-header.h:
* components/services/nautilus-dependent-shared/icons/.cvsignore:
* components/services/nautilus-dependent-shared/icons/Makefile.am:
* components/services/nautilus-dependent-shared/icons/config-gather.png:
* components/services/nautilus-dependent-shared/icons/eazel-logo-left-side-repeat.png:
* components/services/nautilus-dependent-shared/icons/eazel-logo-right-side-logo.png:
* components/services/nautilus-dependent-shared/icons/eazel-services-header-middle-fill.png:
* components/services/nautilus-dependent-shared/icons/eazel-services-logo-tile.png:
* components/services/nautilus-dependent-shared/icons/inventory-service-icon.png:
* components/services/nautilus-dependent-shared/icons/register.png:
* components/services/nautilus-dependent-shared/icons/service-summary-large-grey-section.png:
* components/services/nautilus-dependent-shared/icons/service-summary-large-teal-section.png:
* components/services/nautilus-dependent-shared/icons/service-summary-logo-bottom.png:
* components/services/nautilus-dependent-shared/icons/service-summary-short-grey-section.png:
* components/services/nautilus-dependent-shared/icons/service-watch.png:
* components/services/nautilus-dependent-shared/icons/services-warning.png:
* components/services/nautilus-dependent-shared/icons/softcat-service-icon.png:
* components/services/nautilus-dependent-shared/icons/summary-service-normal-fill.png:
* components/services/nautilus-dependent-shared/icons/summary-service-normal-left-bumper.png:
* components/services/nautilus-dependent-shared/icons/summary-service-normal-right-bumper.png:
* components/services/nautilus-dependent-shared/icons/summary-service-prelight-fill.png:
* components/services/nautilus-dependent-shared/icons/summary-service-prelight-left-bumper.png:
* components/services/nautilus-dependent-shared/icons/summary-service-prelight-right-bumper.png:
* components/services/nautilus-dependent-shared/icons/summary-service-remainder-fill.png:
* components/services/nautilus-dependent-shared/icons/summary-service-remainder-left-bumper.png:
* components/services/nautilus-dependent-shared/icons/summary-service-remainder-right-bumper.png:
* components/services/nautilus-dependent-shared/icons/time-sync-service-icon.png:
* components/services/nautilus-dependent-shared/icons/vault-service-icon.png:
* components/services/nautilus-dependent-shared/test-footer-header.c:
* components/services/summary/.cvsignore:
* components/services/summary/Makefile.am:
* components/services/summary/Nautilus_View_services-summary.oaf.in:
* components/services/summary/eazel-summary-shared.c:
* components/services/summary/eazel-summary-shared.h:
* components/services/summary/icons/.cvsignore:
* components/services/summary/icons/Makefile.am:
* components/services/summary/icons/active-fill.png:
* components/services/summary/icons/active-inactive-bridge.png:
* components/services/summary/icons/active-left-bumper.png:
* components/services/summary/icons/active-prelight-bridge.png:
* components/services/summary/icons/active-right-bumper.png:
* components/services/summary/icons/fill-background.png:
* components/services/summary/icons/inactive-active-bridge.png:
* components/services/summary/icons/inactive-fill.png:
* components/services/summary/icons/inactive-left-bumper.png:
* components/services/summary/icons/inactive-right-bumper.png:
* components/services/summary/icons/prelight-active-bridge.png:
* components/services/summary/icons/prelight-fill.png:
* components/services/summary/icons/prelight-left-bumper.png:
* components/services/summary/icons/prelight-right-bumper.png:
* components/services/summary/main.c:
* components/services/summary/nautilus-summary-callbacks.c:
* components/services/summary/nautilus-summary-callbacks.h:
* components/services/summary/nautilus-summary-dialogs.c:
* components/services/summary/nautilus-summary-dialogs.h:
* components/services/summary/nautilus-summary-footer.c:
* components/services/summary/nautilus-summary-footer.h:
* components/services/summary/nautilus-summary-menu-items.c:
* components/services/summary/nautilus-summary-menu-items.h:
* components/services/summary/nautilus-summary-view-private.h:
* components/services/summary/nautilus-summary-view-ui.xml:
* components/services/summary/nautilus-summary-view.c:
* components/services/summary/nautilus-summary-view.h:
* components/services/summary/nautilus-tabs.c:
* components/services/summary/nautilus-tabs.h:
* components/services/summary/redirects.xml:
* components/services/summary/services.xml:
* components/services/summary/tests.txt:
* components/services/time/.cvsignore:
* components/services/time/Makefile.am:
* components/services/time/command-line/.cvsignore:
* components/services/time/command-line/Makefile.am:
* components/services/time/command-line/main.c:
* components/services/time/idl/.cvsignore:
* components/services/time/idl/Makefile.am:
* components/services/time/idl/trilobite-eazel-time-service.idl:
* components/services/time/nautilus-view/.cvsignore:
* components/services/time/nautilus-view/Makefile.am:
* components/services/time/nautilus-view/main.c:
* components/services/time/nautilus-view/trilobite-eazel-time-view.c:
* components/services/time/nautilus-view/trilobite-eazel-time-view.h:
* components/services/time/nautilus-view/trilobite-eazel-time-view.oafinfo:
* components/services/time/service/.cvsignore:
* components/services/time/service/Makefile.am:
* components/services/time/service/main.c:
* components/services/time/service/trilobite-eazel-time-service-private.h:
* components/services/time/service/trilobite-eazel-time-service-public.h:
* components/services/time/service/trilobite-eazel-time-service.c:
* components/services/time/service/trilobite-eazel-time-service.oafinfo:
* components/services/time/service/trilobite-eazel-time-service.png:
* components/services/trilobite/.cvsignore:
* components/services/trilobite/Makefile.am:
* components/services/trilobite/doc/gconf.txt:
* components/services/trilobite/helper/.cvsignore:
* components/services/trilobite/helper/Makefile.am:
* components/services/trilobite/helper/README:
* components/services/trilobite/helper/eazel-helper.c:
* components/services/trilobite/helper/eazel-helper.pam:
* components/services/trilobite/helper/eazel-helper.security.in:
* components/services/trilobite/idl/.cvsignore:
* components/services/trilobite/idl/Makefile.am:
* components/services/trilobite/idl/trilobite-service.idl:
* components/services/trilobite/libtrilobite/.cvsignore:
* components/services/trilobite/libtrilobite/Makefile.am:
* components/services/trilobite/libtrilobite/libtrilobite-service.h:
* components/services/trilobite/libtrilobite/libtrilobite.h:
* components/services/trilobite/libtrilobite/makefile.staticlib.in:
* components/services/trilobite/libtrilobite/trilobite-core-distribution.c:
* components/services/trilobite/libtrilobite/trilobite-core-distribution.h:
* components/services/trilobite/libtrilobite/trilobite-core-messaging.c:
* components/services/trilobite/libtrilobite/trilobite-core-messaging.h:
* components/services/trilobite/libtrilobite/trilobite-core-network-slim.c:
* components/services/trilobite/libtrilobite/trilobite-core-network.c:
* components/services/trilobite/libtrilobite/trilobite-core-network.h:
* components/services/trilobite/libtrilobite/trilobite-core-utils.c:
* components/services/trilobite/libtrilobite/trilobite-core-utils.h:
* components/services/trilobite/libtrilobite/trilobite-i18n.h:
* components/services/trilobite/libtrilobite/trilobite-md5-tools.c:
* components/services/trilobite/libtrilobite/trilobite-md5-tools.h:
* components/services/trilobite/libtrilobite/trilobite-redirect.c:
* components/services/trilobite/libtrilobite/trilobite-redirect.h:
* components/services/trilobite/libtrilobite/trilobite-root-client-private.h:
* components/services/trilobite/libtrilobite/trilobite-root-client-public.h:
* components/services/trilobite/libtrilobite/trilobite-root-client.c:
* components/services/trilobite/libtrilobite/trilobite-root-helper.c:
* components/services/trilobite/libtrilobite/trilobite-root-helper.h:
* components/services/trilobite/libtrilobite/trilobite-service-passwordquery-private.h:
* components/services/trilobite/libtrilobite/trilobite-service-passwordquery-public.h:
* components/services/trilobite/libtrilobite/trilobite-service-passwordquery.c:
* components/services/trilobite/libtrilobite/trilobite-service-private.h:
* components/services/trilobite/libtrilobite/trilobite-service-public.h:
* components/services/trilobite/libtrilobite/trilobite-service.c:
* components/services/trilobite/sample/.cvsignore:
* components/services/trilobite/sample/Makefile.am:
* components/services/trilobite/sample/command-line/.cvsignore:
* components/services/trilobite/sample/command-line/Makefile.am:
* components/services/trilobite/sample/command-line/main.c:
* components/services/trilobite/sample/idl/.cvsignore:
* components/services/trilobite/sample/idl/Makefile.am:
* components/services/trilobite/sample/idl/sample-service.idl:
* components/services/trilobite/sample/lib/.cvsignore:
* components/services/trilobite/sample/lib/Makefile.am:
* components/services/trilobite/sample/lib/sample-service-public.h:
* components/services/trilobite/sample/nautilus-view/.cvsignore:
* components/services/trilobite/sample/nautilus-view/Makefile.am:
* components/services/trilobite/sample/nautilus-view/Nautilus_View_service-sample.oaf.in:
* components/services/trilobite/sample/nautilus-view/icons/.cvsignore:
* components/services/trilobite/sample/nautilus-view/icons/Makefile.am:
* components/services/trilobite/sample/nautilus-view/main.c:
* components/services/trilobite/sample/nautilus-view/nautilus-sample-service-view.c:
* components/services/trilobite/sample/nautilus-view/nautilus-sample-service-view.h:
* components/services/trilobite/sample/service/.cvsignore:
* components/services/trilobite/sample/service/Makefile.am:
* components/services/trilobite/sample/service/Trilobite_Service_sample.oaf.in:
* components/services/trilobite/sample/service/main.c:
* components/services/trilobite/sample/service/sample-service-impl.c:
* components/services/trilobite/utils/.cvsignore:
* components/services/trilobite/utils/Makefile.am:
* components/services/trilobite/utils/eazel-helper-test.c:
* nautilus-installer/.cvsignore:
* nautilus-installer/Makefile.am:
* nautilus-installer/install-lib/.cvsignore:
* nautilus-installer/install-lib/Makefile.am:
* nautilus-installer/libtrilobite/.cvsignore:
* nautilus-installer/libtrilobite/Makefile.am:
* nautilus-installer/nautilus-installer.glade:
* nautilus-installer/package-list.xml.in:
* nautilus-installer/src/.cvsignore:
* nautilus-installer/src/HACKING:
* nautilus-installer/src/Makefile.am:
* nautilus-installer/src/bootstrap-background.xpm:
* nautilus-installer/src/callbacks.c:
* nautilus-installer/src/callbacks.h:
* nautilus-installer/src/create-eazel-installer.sh:
* nautilus-installer/src/error-symbol.xpm:
* nautilus-installer/src/evil.xpm:
* nautilus-installer/src/fake-stock.c:
* nautilus-installer/src/fake-stock.h:
* nautilus-installer/src/gnome-dialog-util.c:
* nautilus-installer/src/gnome-dialog-util.h:
* nautilus-installer/src/gnome-dialog.c:
* nautilus-installer/src/gnome-dialog.h:
* nautilus-installer/src/gnome-druid-page.c:
* nautilus-installer/src/gnome-druid-page.h:
* nautilus-installer/src/gnome-druid.c:
* nautilus-installer/src/gnome-druid.h:
* nautilus-installer/src/gnome-messagebox.c:
* nautilus-installer/src/gnome-messagebox.h:
* nautilus-installer/src/gnome-types.h:
* nautilus-installer/src/gtk-hackery.c:
* nautilus-installer/src/installer.c:
* nautilus-installer/src/installer.h:
* nautilus-installer/src/link.sh:
* nautilus-installer/src/main.c:
* nautilus-installer/src/nautilus-druid-page-eazel.c:
* nautilus-installer/src/nautilus-druid-page-eazel.h:
* nautilus-installer/src/nautilus-druid.c:
* nautilus-installer/src/nautilus-druid.h:
* nautilus-installer/src/package-list-depends.xml:
* nautilus-installer/src/package-tree.c:
* nautilus-installer/src/package-tree.h:
* nautilus-installer/src/prescript:
* nautilus-installer/src/proxy.c:
* nautilus-installer/src/proxy.h:
* nautilus-installer/src/rpmsearch.cgi:
* nautilus-installer/src/support.c:
* nautilus-installer/src/support.h:
Retire. These now live in the trilobite module.
2001-04-10 John Harper <jsh@eazel.com>
* src/nautilus-first-time-druid.c (druid_finished): re-removed
the code to immediately add the services link (looks like it
was added as a result of Rebecca's checkin of 2001-04-06),
since it's done at idle time now
2001-04-09 Ramiro Estrugo <ramiro@eazel.com>
* acconfig.h:
Add HAVE_AMMONITE.
* components/mozilla/main.c: (main):
* components/mozilla/nautilus-mozilla-content-view.c:
(translate_uri_nautilus_to_mozilla),
(translate_uri_mozilla_to_nautilus):
Use HAVE_AMMONITE instead of EAZEL_SERVICES for the specific
Ammonite features.
* components/text/services/Makefile.am:
Fix rogue spacing.
* configure.in:
* libnautilus-extensions/nautilus-directory.c:
(nautilus_self_check_directory):
Remove EAZEL_SERVICES from self test code. Run the test for the
eazel-services uri scheme regardless.
* libnautilus-extensions/nautilus-mime-actions.h:
* libnautilus-extensions/nautilus-mime-actions.c:
(mime_get_all_components_for_uri_scheme): New flavor of function
tha takes a uri scheme parameter instead of a NautilusFile.
(nautilus_mime_has_any_components_for_uri_scheme): New function to
find out if there exists any components registered to handle a uri
scheme.
* src/Makefile.am:
Use AMMONITE_CFLAGS and AMMONITE_LIBS instead of SERVICES_LIBS
hac.
* src/nautilus-services.h,
* src/nautilus-services.c: New files for putting all shared
services related code in one places.
* src/nautilus-window-menus.c: (services_button_callback),
(nautilus_window_initialize_menus_part_1):
Remove EAZEL_HACKING hackery. Make the services code always be
linked in. Use new shared services functions to determine whether
we need to populate the services menus and toolbars.
* src/nautilus-window-service-ui.c: (goto_services_summary),
(goto_online_storage), (goto_software_catalog),
(nautilus_window_install_service_ui):
Simplify by using shared services code. Remove all Ammonite code
from here. Ammonite code is constrained to nautilus-services.[ch]
only. Use shared services code t determine the target uris for
services callbacks.
* src/nautilus-window-toolbars.c: (set_up_toolbar_images):
* src/nautilus-window.c: (nautilus_window_constructed):
Remove EAZEL_HACKING hackery. Decide at runtime whether to setup
the services toobar or not.
2001-04-09 John Sullivan <sullivan@eazel.com>
Wired up the remaining new view global preferences,
and added a menu item for resetting the current view
to match preferences. I know of one large bug (the
default choice of Icons vs List doesn't work) and several
small bugs that I'll write up now.
This change requires a recent API change in eel (for
eel_list_set_sort_type and eel_list_set_sort_column).
* libnautilus-extensions/nautilus-global-preferences.c:
Fixed typo.
* src/file-manager/fm-directory-view.h:
* src/file-manager/fm-directory-view.c:
(reset_to_defaults_callback), (real_merge_menus),
(fm_directory_view_reset_to_defaults),
(fm_directory_view_initialize_class): Added support for
"Reset to Defaults" command, which subclasses override
to Do The Right Thing.
* src/file-manager/nautilus-directory-view-ui.xml:
Add "Reset to View Preferences" menu item.
* src/nautilus-shell-ui.xml: Add placeholder to support location
of "Reset to View Preferences" menu item.
* src/file-manager/fm-icon-view.c:
(fm_icon_view_reset_to_defaults), (fm_icon_view_initialize_class):
Set sort criterion, sort-reversedness, tighter layout, and
zoom level to match defaults.
* src/file-manager/fm-list-view.c:
(fm_list_view_initialize_class): wire up reset_to_defaults handler;
set up auto-storage variables for sort order & sort reversed preferences.
(fm_list_view_initialize): Set up preferences callbacks to notice changes
to default sort order, sort reversed, and zoom level.
(set_sort_order_from_metadata_and_preferences),
(set_zoom_level_from_metadata_and_preferences): New functions, broken
out of fm_list_view_begin_loading for reuse.
(default_sort_criteria_changed_callback),
(default_zoom_level_changed_callback): React to preference changes
by resorting or rezooming as appropriate.
(fm_list_view_begin_loading): Call broken-out functions.
(fm_list_view_reset_to_defaults): Set sort order, sort-reversedness,
and zoom level to default values.
(fm_list_view_sort_items): Use variable defaults instead of hardwired
constants for sort order & sort-reversedness. Call new eel_list versions
of set_sort_type and set_sort_column so the column titles redraw
correctly.
(get_sort_column_from_attribute): Use variable default for sort attribute
instead of hardwired constant.
(get_attribute_from_sort_type): New function, converts between
NautilusFileSortType enum values and named attributes.
(real_get_default_sort_attribute): Use get_attribute_from_sort_type instead
of hardwired constant.
* src/nautilus-application.c:
(default_folder_viewer_changed_callback),
(nautilus_application_startup): When the default folder viewer
preference changes, tell gnome-vfs about it.
2001-04-09 Pavel Cisler <pavel@eazel.com>
reviewed by: Michael Engber <engber@eazel.com>
Fix 6024 properties window and file copy dialog should ellipsize
paths in middle, not at start
* libnautilus-extensions/nautilus-file-operations.c:
(ellipsize_string_for_dialog):
Use ellipsize_middle now that we support it.
* src/file-manager/fm-list-view.c: (truncate_middle_callback),
(get_cell_text):
Use the new ellipsizing API.
2001-04-09 Ramiro Estrugo <ramiro@eazel.com>
* libnautilus-extensions/nautilus-sidebar-functions.h:
Fix a bogus comment.
2001-04-09 Ramiro Estrugo <ramiro@eazel.com>
* libnautilus-extensions/nautilus-global-preferences.c:
Fix list view default zoom level value.
* libnautilus-extensions/nautilus-preferences-group.c:
(nautilus_preferences_group_get_num_visible_items),
(nautilus_preferences_group_get_max_caption_width),
(nautilus_preferences_group_align_captions):
Use nautilus_prefereces_item_is_showing() instead of GTK_VISIBLE
and nautilus_preferences_is_visible().
* libnautilus-extensions/nautilus-preferences-item.h:
* libnautilus-extensions/nautilus-preferences-item.c:
(nautilus_preferences_item_is_showing): New function.
(preferences_item_get_control_showing): Make this one private.
(nautilus_preferences_item_update_showing): Use new function.
* libnautilus-extensions/nautilus-preferences-pane.c:
(preferences_pane_update_and_resize_callback),
(nautilus_preferences_pane_initialize),
(nautilus_preferences_pane_add_control_preference):
Update the pane on user level changes as well so that alignment
are right. This is a bit of a hack.
* src/file-manager/fm-icon-view.c: (get_default_sort_order),
(fm_icon_view_real_get_directory_sort_by),
(fm_icon_view_set_directory_sort_by),
(fm_icon_view_real_set_directory_sort_by),
(get_default_sort_in_reverse_order),
(fm_icon_view_real_get_directory_sort_reversed),
(fm_icon_view_set_directory_sort_reversed),
(fm_icon_view_real_set_directory_sort_reversed),
(get_default_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),
(get_sort_criterion_by_sort_type), (get_default_zoom_level),
(fm_icon_view_begin_loading), (fm_icon_view_get_zoom_level),
(fm_icon_view_set_zoom_level), (fm_icon_view_zoom_to_level),
(fm_icon_view_restore_default_zoom_level),
(default_zoom_level_font_size_changed_callback),
(default_sort_order_changed_callback),
(default_sort_in_reverse_order_changed_callback),
(default_use_tighter_layout_changed_callback),
(default_zoom_level_changed_callback), (fm_icon_view_initialize),
(fm_icon_view_update_icon_container_font_size_table):
Use preferences to obtain the default values for zoom level,
zoom level font size, sort order, sort reversed and tighter
layout.
* src/file-manager/fm-list-view.c: (get_default_zoom_level):
Use preferences to obtain the default zoom level.
2001-04-08 Ramiro Estrugo <ramiro@eazel.com>
* libnautilus-extensions/nautilus-global-preferences.c:
Miseed this file in last checkin.
2001-04-08 Ramiro Estrugo <ramiro@eazel.com>
* libnautilus-extensions/nautilus-global-preferences.h:
* libnautilus-extensions/nautilus-global-preferences.c:
(global_preferences_register_enumerations),
(global_preferences_create_dialog),
(global_preferences_populate_sidebar_panels_callback),
(global_preferences_install_font_defaults),
(global_preferences_populate_pane):
Make the way we deal with enumerations simpler. Add "View
Preferences" pane and all the related defines.
* libnautilus-extensions/nautilus-preferences-group.h:
* libnautilus-extensions/nautilus-preferences-group.c:
(nautilus_preferences_group_initialize_class),
(nautilus_preferences_group_initialize),
(nautilus_preferences_group_destroy),
(nautilus_preferences_group_new),
(nautilus_preferences_group_add_item),
(nautilus_preferences_group_update),
(nautilus_preferences_group_get_num_visible_items),
(nautilus_preferences_group_get_title_label),
(nautilus_preferences_group_get_max_caption_width),
(nautilus_preferences_group_align_captions):
Add support for 2 columns. Add better support for caption
alignment. Some minor style tweaking.
* libnautilus-extensions/nautilus-preferences-item.h:
* libnautilus-extensions/nautilus-preferences-item.c:
(preferences_item_destroy),
(preferences_item_update_enumeration_radio),
(preferences_item_create_enumeration_radio),
(preferences_item_create_boolean),
(preferences_item_create_editable_string),
(preferences_item_create_editable_integer),
(preferences_item_update_enumeration_menu),
(preferences_item_create_enumeration_menu),
(preferences_item_create_font), (preferences_item_create_padding),
(smooth_font_changed_callback),
(preferences_item_create_smooth_font),
(nautilus_preferences_item_new),
(enumeration_radio_changed_callback), (font_changed_callback),
(enumeration_menu_changed_callback),
(preferences_item_update_displayed_value),
(nautilus_preferences_item_get_child_width),
(nautilus_preferences_item_update_showing):
Add support for padding items. Rename the enumeration items to
better describe their look and function.
No longer need to store the whole enumeration. We just need the
enumeration id to make enumeration queries. Remove the
constrained integer stuff which is replaced by the use of an
enumeration id.
* libnautilus-extensions/nautilus-preferences-pane.h:
* libnautilus-extensions/nautilus-preferences-pane.c:
(nautilus_preferences_pane_add_item_to_nth_group),
(preferences_pane_get_max_caption_width),
(nautilus_preferences_pane_update),
(nautilus_preferences_pane_get_num_visible_groups):
Better caption alignment.
* libnautilus-extensions/nautilus-preferences.h:
* libnautilus-extensions/nautilus-preferences.c:
(preferences_entry_free), (nautilus_preferences_get_description),
(nautilus_preferences_set_enumeration_id),
(nautilus_preferences_get_enumeration_id):
No longer store the whole enumeration, just an enumeration id.
* src/file-manager/fm-icon-view.c: (fm_icon_view_initialize),
(fm_icon_view_update_icon_container_font_size_table):
* src/file-manager/fm-list-view.c: (fm_list_view_initialize),
(fm_list_view_update_font):
Update for new "View Preferences" preferences. Not hooked up for
real yet.
2001-04-07 John Sullivan <sullivan@eazel.com>
Fixed bug 3787 (If location bar is turned off, user cannot
change viewer)
Now the "View as" choices, including "View as...", appear
at the bottom of the View menu as well as in the location bar.
* libnautilus-extensions/nautilus-bonobo-extensions.h:
* libnautilus-extensions/nautilus-bonobo-extensions.c:
(add_numbered_menu_item_internal): Handle radio item case; change
signature to support this.
(nautilus_bonobo_add_numbered_menu_item),
(nautilus_bonobo_add_numbered_toggle_menu_item):
Updated for change to add_numbered_menu_item_internal.
(nautilus_bonobo_add_numbered_radio_menu_item): New function,
just like its fellows but creates a one-of-many menu item.
(nautilus_bonobo_get_numbered_menu_item_index_from_command),
(nautilus_bonobo_get_numbered_menu_item_container_path_from_command):
New functions that return info given one of the numbered-menu-item
generated commands. Useful for callbacks when all you have in hand
is the command itself.
* src/nautilus-shell-ui.xml: Add "View as" command; add placeholders
and separators and "View as" menu item to View menu.
Also removed pixmap from Close Window menu item because it was
silly to have a pixmap on exactly one item in the File menu.
* src/nautilus-window-manage-views.c: Took "static" off of
nautilus_window_content_matches_iid so I could make it public
and use it in nautilus-window.c.
* src/nautilus-window-private.h: Added fields to Details struct
and prototypes for functions needed by View As stuff.
* src/nautilus-window-menus.c:
(view_menu_view_as_callback): New callback function used by
"View as" verb.
(nautilus_window_initialize_menus_part_1): Wire up "View as"
verb; register for Bonobo UI events to catch radio items being
selected.
* src/nautilus-window.c:
(set_dummy_initial_view_as_menu): Changed "View as ..." to
"View as...", which matches the new name of "View as Other..."
(free_stored_viewers): New function, frees and nulls out the
view identifiers stored in the Details struct for the "View as"
menus.
(nautilus_window_destroy): Call free_stored_viewers.
(activate_nth_short_list_item): New function, switches viewers
by viewer index.
(activate_extra_viewer): New function, switches to sometimes-
present extra viewer (used when current viewer isn't in short list).
(handle_view_as_item_from_bonobo_menu): If item whose state has
changed is a "View as" item, dispatch accordingly.
(nautilus_window_handle_ui_event_callback): Call
handle_view_as_item_from_bonobo_menu if UI event was state
changing to TRUE.
(view_as_menu_switch_views_callback),
(create_view_as_menu_item): Changed to store viewer index and
whether viewer is "extra viewer" rather than storing
NautilusViewIdentifier. This is used for option menu in location
bar and now closely matches the mechanism used for the View menu.
(add_view_as_bonobo_menu_item): New function used by View menu
View As items.
(replace_extra_viewer_in_view_as_menus),
(nautilus_window_synch_view_as_menus):
(load_view_as_menus_callback): Renamed and cleaned up to separate
information gathering from widget updating; now handle View As
items in View menu also.
(chose_component_callback): Added FIXME for pre-existing bug 8000.
(nautilus_window_show_view_as_dialog): New function, extracted
from view_as_menu_choose_view_callback.
(view_as_menu_choose_view_callback): Now calls extracted function.
(refresh_stored_viewers): New function, updates the list of viewers
stored in the Details struct.
2001-04-06 Rebecca Schulman <rebecka@eazel.com>
Fix bugzilla.eazel.com bug 7933, and the nautilus
half of bug 7934, by removing the search preferences
from nautilus, and removing the ability to make a new
index from Nautilus. These features may return at
some point, but in the future will require a root
password.
reviewed by: Pavel Cisler <pavel@eazel.com>
* libnautilus-extensions/nautilus-global-preferences.c:
(global_preferences_install_defaults),
(global_preferences_create_dialog),
(global_preferences_install_font_defaults):
* libnautilus-extensions/nautilus-global-preferences.h:
Remove all of the medusa preferences, including the
preference to make the preference itself sensitive and
insensitive, and all callbacks and set up related
to the search preference
* libnautilus-extensions/nautilus-medusa-support.c:
(nautilus_medusa_services_are_enabled),
(nautilus_medusa_check_cron_is_enabled),
(nautilus_medusa_get_configuration_file_path),
(nautilus_medusa_get_explanation_of_enabling):
* libnautilus-extensions/nautilus-medusa-support.h:
Remove functions to enable / disable medusa,
and to check on cron. Add new function
to explain how to turn on medusa as root, so that
the same message can be adjusted, and used in multiple
dialogs
* src/file-manager/fm-search-list-view.c:
(report_index_age_as_status), (load_location_callback),
(display_indexed_search_problems_dialog),
(display_system_services_are_disabled_dialog):
Remove dialog about medusa being blocked, since medusa
can only be either on or off now. Clarify the message
about medusa being off, and change the message to tell
the user how to turn medusa on as root, instead of
recommending they change their preference in nautilus about
searching. Refactor status message about last indexing
time to simplify the load_location_callback. Don't tell
users that "an index can't be created right now", but instead
tell them how to create an index as root, when this information
is appopriate. Remove two FIXMEs that are now obsolete.
* src/file-manager/nautilus-indexing-info.c:
(set_close_hides_for_dialog), (show_index_progress_dialog),
(show_reindex_request_dialog),
(last_index_time_and_reindex_button_dialog_new),
(index_progress_dialog_new), (show_indexing_info_dialog),
(nautilus_indexing_info_show_dialog):
Remove dialog about medusa being blocked, and make the index
status dialog explain clearly that there is no index in the
case where medusa is turned off, instead of giving an error
message. Change the state changed callbacks to coincide
with concurrent changes to the medusa "system state" API.
Fix a bug that could cause nautilus to crash if the index
status dialog was up when medusa was turned on (a race condition
of two callbacks trying to destroy the same dialog)
* src/nautilus-first-time-druid.c: (druid_finished),
(nautilus_first_time_druid_show):
Remove medusa and cron pages from the first time druid. Includes
removing the callbacks to change the page order based on
whether medusa and/or cron are available.
2001-04-06 Gene Z. Ragan <gzr@eazel.com>
Fix a compile error in the volume monitor code.
* libnautilus-extensions/nautilus-volume-monitor.c:
(mount_volume_get_cdda_name), (open_cdda_device),
(locate_audio_cd):
2001-04-06 Robin * Slomkowski <rslomkow@eazel.com>
* configure.in: upped version to 1.0.2.1 too keep
track of the 3 active branches of nautilus
development and keep HEAD sorting higher.
2001-04-06 Gene Z. Ragan <gzr@eazel.com>
Attempt to track down possible file descriptor leak.
* libnautilus-extensions/nautilus-volume-monitor.c:
(get_removable_volumes), (get_current_mount_list),
(open_cdda_device), (locate_audio_cd):
2001-04-06 Gene Z. Ragan <gzr@eazel.com>
Add more verbose error message in the case that
/proc/mounts or /etc/mnttab cannot be opened.
* libnautilus-extensions/nautilus-volume-monitor.c:
(get_current_mount_list):
2001-04-05 Rebecca Schulman <rebecka@eazel.com>
reviewed by: Don Melton <don@eazel.com>
* help/nautilus-user-manual/C/TRACKED_CHANGES:
* help/nautilus-user-manual/C/nautilus-user-manual.sgml:
Remove documentation about search from the manual for now.
Unfortunately, we were not able to get in touch with Dan Mueth
regarding this change. The translated copies of the edited manual
will be changed tomorrow morning.
2001-04-05 Pavel Cisler <pavel@eazel.com>
reviewed by: John Harper <jsh@eazel.com>
* libnautilus-extensions/nautilus-file.c:
(nautilus_file_fit_date_as_string),
(nautilus_file_fit_modified_date_as_string),
(nautilus_file_get_date_as_string):
* libnautilus-extensions/nautilus-file.h:
Add a new function that returns a modified date string,
formatted to fit a given width. Make the old
nautilus_file_get_date_as_string call it.
* src/file-manager/fm-list-view.c: (measure_width_callback),
(trucante_middle_callback), (get_cell_text), (set_up_list):
Hook up to the get_cell_text signal. For modified text return
a nicely formatted text string, for everything else just
ellipsize the result.
2001-04-05 John Sullivan <sullivan@eazel.com>
Fixed bug 7986 ("Paste Files" disabled in trash:)
* src/file-manager/fm-directory-view.c:
(real_update_menus): Made "Paste Files" sensitivity depend
on is_read_only rather than can_create_files.
* src/file-manager/fm-search-list-view.c:
(fm_search_list_view_initialize_class), (real_is_read_only):
Made search list view override is_read_only instead of
supports_creating_files.
2001-04-05 Ramiro Estrugo <ramiro@eazel.com>
* libnautilus-extensions/nautilus-icon-container.c:
(nautilus_icon_container_theme_changed):
Update for Arlo's new icon.
2001-04-05 John Sullivan <sullivan@eazel.com>
Fixed bug 7985 (Separately group "Move to Trash" and
"Delete" menu items to avoid accidental selection)
* src/file-manager/nautilus-directory-view-ui.xml:
Moved Move to Trash and Delete into their own
menu section (surrounded by separators).
* src/file-manager/fm-directory-view.c: Updated menu
paths that have now changed.
* src/nautilus-shell-ui.xml: Added placeholder used by
Move to Trash and Delete to get ordering right.
2001-04-05 Arlo Rose <arlo@eazel.com>
* icons/Makefile.am:
* icons/note-indicator.png:
Made icon a single note.
* icons/text-selection-frame-aa.png:
* icons/text-selection-frame.png:
Added non aa version of the text selection frame for dragging.
2001-04-05 Gene Z. Ragan <gzr@eazel.com>
Fixed bug 7821, SOLARIS: Nautilus hangs attempted to initialize ESD
* libnautilus-extensions/nautilus-global-preferences.h:
Remove unused sound init preference.
* libnautilus-extensions/nautilus-sound.c:
* libnautilus-extensions/nautilus-sound.h:
(nautilus_sound_initialize):
Remove call to esd_open_audio. It is the wrong call to use and
caused problems on Solaris.
(nautilus_sound_can_play_sound):
Call esd_sound_open to determine if we can handle audio playback.
2001-04-05 Gene Z. Ragan <gzr@eazel.com>
Fixed bug 7790, Music View silently fails if sound
hardware busy or missing
* components/music/esd-audio.c: (esdout_playing), (esdout_close),
(esdout_loop), (esdout_open):
Modify logic used to determine if another process has opened a
connection to esd, blocking us from doing so.
* components/music/nautilus-music-view.c:
(update_play_controls_status), (play_current_file),
(add_play_controls):
Add code in anticipation of adding support to disable controls at
appropriate times.
2001-04-05 Ramiro Estrugo <ramiro@eazel.com>
* components/rpmview/Makefile.am:
* components/rpmview/nautilus-rpm-view.c:
(nautilus_rpm_view_initialize),
(nautilus_rpm_view_update_from_uri),
(nautilus_rpm_view_drag_data_received), (pixbuf_new_named),
(image_new_named):
Remove depenency on Nautilus themes and thus libnautilus-extensions.
* components/services/install-view/Makefile.am:
* components/services/install-view/callbacks.c:
(nautilus_service_install_done):
* components/services/install-view/nautilus-service-install-view.c:
(nautilus_service_install_view_initialize_class):
* components/services/inventory-view/Makefile.am:
* components/services/login/nautilus-view/Makefile.am:
* components/services/nautilus-dependent-shared/Makefile.am:
* components/services/nautilus-dependent-shared/eazel-services-extensions.c:
(eazel_services_pixbuf_new), (eazel_services_image_new),
(eazel_services_image_new_clickable),
(eazel_services_image_new_from_uri),
(eazel_services_clickable_image_new_from_uri),
(eazel_services_label_new), (eazel_services_label_new_clickable),
(eazel_services_get_current_date_string),
(eazel_services_gconf_handle_error),
(preferences_unref_global_gconf_client),
(preferences_get_global_gconf_client),
(preferences_gconf_get_boolean), (preferences_gconf_get_string),
(smooth_graphics_changed_notice),
(listen_for_smooth_graphics_changes),
(eazel_services_get_user_level):
* components/services/nautilus-dependent-shared/eazel-services-extensions.h:
* components/services/summary/Makefile.am:
* components/services/summary/nautilus-summary-menu-items.c:
(ui_component_set_hidden), (update_menu_items):
* components/services/summary/nautilus-summary-view.c:
(nautilus_summary_view_initialize_class):
Remove dependency on libnautilus-extensions.
* libnautilus-extensions/Makefile.am:
* libnautilus-extensions/nautilus-tabs.h:
* libnautilus-extensions/nautilus-tabs.c:
* components/services/summary/nautilus-tabs.h:
* components/services/summary/nautilus-tabs.c:
Move the nautilus tabs widget to the only place where its used -
the summary view.
* libnautilus-extensions/nautilus-file-utilities.c:
Trim down the includes to only whats needed.
* libnautilus-extensions/nautilus-file-dnd.h:
* libnautilus-extensions/nautilus-file-dnd.c:
Make the ERASE_KEYWORD be part only of nautilus-file-dnd.h as
NAUTILUS_FILE_DND_ERASE_KEYWORD to make it clear where it lives.
* components/tree/nautilus-tree-view-dnd.c:
(nautilus_tree_view_move_copy_files):
(nautilus_drag_can_accept_items),
(nautilus_drag_file_receive_dropped_keyword):
* libnautilus-extensions/nautilus-icon-dnd.c:
(create_selection_shadow), (handle_local_move),
(handle_nonlocal_move), (selection_includes_special_link):
* src/file-manager/fm-list-view.c: (fm_list_receive_dropped_icons):
Update for eel dnd changes. Make sure all public eel dnd stuff
has the right namespace.
2001-04-05 Ramiro Estrugo <ramiro@eazel.com>
* src/nautilus-profiler.c:
Add missing eel includes to fix profile build.
2001-04-04 John Sullivan <sullivan@eazel.com>
Various little tweaky cleanups.
* src/nautilus-property-browser.c:
(nautilus_property_browser_initialize),
(nautilus_emblem_dialog_new),
(nautilus_color_selection_dialog_new),
(nautilus_property_browser_update_contents):
* src/nautilus-sidebar.c: (nautilus_sidebar_initialize_class),
(nautilus_sidebar_update_buttons):
* src/nautilus-theme-selector.c:
(nautilus_theme_selector_initialize), (exit_remove_mode):
Changed code that was making buttons wider by using
bracketing spaces (e.g. " Done ") to set the button
padding instead. Simplified some places that were unnecessarily
creating button labels explicitly to instead just use
gtk_button_new_with_label. Added a few ellipses in button
labels that needed them. Made the "Empty Trash" button in
the sidebar check the preference to decide whether to use
ellipses or not.
2001-04-04 John Harper <jsh@eazel.com>
Fixed bug 7950 (After running First-Time Druid there are two
Nautilus windows displaying the home directory):
* src/nautilus-first-time-druid.c (druid_finished): moved all
nautilus link creation to idle handlers. Otherwise we may try
to get a metadata factory before nautilus is fully initialized.
(This means that oafd will spawn an additional nautilus
process, giving the extra window)
2001-04-04 John Sullivan <sullivan@eazel.com>
Fixed bugs 3681, 4705, 5154, all having to do with the funky
behavior where the zoom level is sort of persistent as you
navigate around. Now it will always use the default zoom level
unless the directory has a different stored value. Ramiro plans
to implement global preferences for the default zoom level (one
each for icon & list view) that will replace the constant
defaults.
* src/file-manager/fm-icon-view.c:
(get_default_zoom_level): New bottleneck function for getting
the default zoom level for icon view. Currently returns a
constant; later will return a preferences value.
(fm_icon_view_begin_loading), (fm_icon_view_get_zoom_level),
(fm_icon_view_set_zoom_level),
(fm_icon_view_restore_default_zoom_level),
(fm_icon_view_initialize): Use get_default_zoom_level. Also
get rid of code that was saving the current zoom level to use
as default next time.
* src/file-manager/fm-list-view.c:
(get_default_zoom_level): New bottleneck function for getting
the default zoom level for list view. Currently returns a
constant; later will return a preferences value.
(fm_list_view_initialize),
(fm_list_view_restore_default_zoom_level),
(fm_list_view_begin_loading), (fm_list_view_set_zoom_level):
Use get_default_zoom_level. Also get rid of code that was
saving the current zoom level to use as default next time.
Other stuff
* src/nautilus-theme-selector.c:
(nautilus_theme_selector_initialize): Removed some unnecessary
extra invisible widgets. I was trying to get the window size
to pin sensibly but have not (yet) actually gotten that to work.
2001-04-04 Ramiro Estrugo <ramiro@eazel.com>
* configure.in:
Remove nautilusclist cut-n-paste code.
* 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:
Remove nautilusclist cut-n-paste code.
* libnautilus-extensions/nautilus-file-dnd.h:
* libnautilus-extensions/nautilus-file-dnd.c:
New file with Drag and Drop code that operated on NautilusFile
objects.
* libnautilus-extensions/Makefile.am:
* libnautilus-extensions/nautilus-list-column-title.c:
* libnautilus-extensions/nautilus-list-column-title.h:
* libnautilus-extensions/nautilus-list.c:
* libnautilus-extensions/nautilus-list.h:
* libnautilus-extensions/nautilus-ctree.c:
* libnautilus-extensions/nautilus-ctree.h:
* libnautilus-extensions/nautilus-drag.c:
* libnautilus-extensions/nautilus-drag.h:
Move these widget into eel.
* libnautilus-extensions/nautilus-icon-dnd.h:
* libnautilus-extensions/nautilus-icon-dnd.c:
Update for eel dnd code move.
* nautilus-installer/install-lib/Makefile.am:
* nautilus-installer/libtrilobite/Makefile.am:
Remove some voodoo that was needed for cut-n-paste code in
trilobite that no longer is among us.
* components/help/hyperbola-nav-tree.c:
* components/music/nautilus-music-view.c:
* components/rpmview/nautilus-rpm-verify-window.c:
* components/rpmview/nautilus-rpm-view-private.h:
* components/rpmview/nautilus-rpm-view.c:
* components/tree/nautilus-tree-view-dnd.c:
* components/tree/nautilus-tree-view-dnd.h:
* components/tree/nautilus-tree-view-private.h:
* components/tree/nautilus-tree-view.c:
* src/file-manager/fm-directory-view.c:
* src/file-manager/fm-list-view.c: (fm_list_view_initialize),
* src/nautilus-sidebar.c:
Update for clist, ctree, list and dnd code that now lives in eel.
Also do more #include cleanup.
2001-04-04 Ramiro Estrugo <ramiro@eazel.com>
* components/mozilla/Makefile.am:
* components/mozilla/nautilus-mozilla-content-view.c:
* components/services/clone/Makefile.am:
* components/services/install-view/Makefile.am:
* components/services/install/command-line/Makefile.am:
* components/services/install/lib/eazel-softcat.c:
(eazel_softcat_query):
* components/services/install/server/Makefile.am:
* components/services/inventory-view/Makefile.am:
* components/services/inventory/Makefile.am:
* components/services/login/nautilus-view/Makefile.am:
* components/services/login/nautilus-view/nautilus-change-password-view.c:
* components/services/nautilus-dependent-shared/Makefile.am:
* components/services/nautilus-dependent-shared/eazel-services-footer.c:
* components/services/nautilus-dependent-shared/eazel-services-header.c:
* components/services/summary/Makefile.am:
* components/services/summary/eazel-summary-shared.c:
(eazel_summary_fetch_data_async),
(eazel_summary_fetch_data_cancel):
* components/services/summary/main.c: (main):
* components/services/summary/nautilus-summary-callbacks.c:
* components/services/summary/nautilus-summary-callbacks.h:
* components/services/summary/nautilus-summary-dialogs.c:
* components/services/summary/nautilus-summary-footer.c:
* components/services/summary/nautilus-summary-menu-items.c:
* components/services/summary/nautilus-summary-menu-items.h:
* components/services/summary/nautilus-summary-view.c:
* components/services/time/nautilus-view/Makefile.am:
* components/services/trilobite/libtrilobite/Makefile.am:
* components/services/trilobite/libtrilobite/trilobite-core-network.c:
(trilobite_open_uri):
* components/services/trilobite/libtrilobite/trilobite-core-utils.c:
(trilobite_get_config_dir_string):
* components/services/trilobite/libtrilobite/trilobite-core-utils.h:
* components/services/trilobite/libtrilobite/trilobite-redirect.c:
(trilobite_redirect_fetch_table_async),
(trilobite_redirect_fetch_table_cancel):
* components/services/trilobite/sample/command-line/Makefile.am:
* components/services/trilobite/sample/nautilus-view/Makefile.am:
* components/services/trilobite/sample/service/Makefile.am:
* components/services/trilobite/utils/Makefile.am:
Lots of components cleanup. Remove many unused #includes.
Replace cut-n-paste code with eel. Fix Makefiles to link only the
stuff that is needed. This is an effort to minimize the
dependence on libnautilus-extensions. Theres a few dependencies
left to go.
* components/services/trilobite/libtrilobite/trilobite-file-utilities.c:
* components/services/trilobite/libtrilobite/trilobite-file-utilities.h:
Retire this cut-n-paste code. Use the vfs extensions from eel
instead.
2001-04-04 Ramiro Estrugo <ramiro@eazel.com>
* libnautilus-extensions/nautilus-file-utilities.c:
* libnautilus-extensions/nautilus-file-utilities.h:
Move vfs extensions to eel.
* components/services/install-view/nautilus-service-install-view.c:
* components/services/install/server/main.c:
* components/services/inventory/eazel-inventory-collect-hardware.c:
(add_info):
* components/services/inventory/eazel-inventory-service.c:
(impl_Trilobite_Eazel_Inventory_upload):
* components/text/nautilus-text-view.c: (handle_service_menu_item):
* components/tree/nautilus-tree-view.c: (select_current_location),
(tree_load_location_callback), (got_activation_uri_callback):
* libnautilus-extensions/nautilus-bookmark.c:
(nautilus_bookmark_compare_with), (nautilus_bookmark_compare_uris),
(bookmark_file_changed_callback):
* libnautilus-extensions/nautilus-directory-async.c:
(top_left_cancel), (activation_uri_cancel), (top_left_start),
(activation_uri_start):
* libnautilus-extensions/nautilus-directory-private.h:
* libnautilus-extensions/nautilus-directory.c:
(nautilus_directory_make_uri_canonical), (nautilus_directory_new),
(nautilus_directory_notify_files_moved),
(nautilus_self_check_directory):
* libnautilus-extensions/nautilus-drag.c:
(nautilus_drag_items_in_trash),
(nautilus_drag_default_drop_action_for_icons):
* libnautilus-extensions/nautilus-file-operations.c:
(format_and_ellipsize_uri_for_dialog),
(nautilus_file_operations_copy_move):
* libnautilus-extensions/nautilus-file.c:
(nautilus_file_get_internal),
(nautilus_file_get_parent_uri_for_display),
(nautilus_file_can_rename), (nautilus_file_get_uri_scheme),
(nautilus_file_is_in_trash), (nautilus_self_check_file):
* libnautilus-extensions/nautilus-icon-dnd.c:
(nautilus_icon_container_selection_items_local):
* libnautilus-extensions/nautilus-icon-factory.c:
(nautilus_icon_factory_get_icon_name_for_file),
(nautilus_icon_factory_get_emblem_icons_for_file):
* libnautilus-extensions/nautilus-link.c:
(nautilus_link_local_get_image_uri):
* libnautilus-extensions/nautilus-metafile.c:
(construct_private_metafile_vfs_uri), (metafile_read_cancel),
(metafile_read_restart):
* libnautilus-extensions/nautilus-tabs.c:
* libnautilus-extensions/nautilus-theme.c:
* libnautilus-extensions/nautilus-thumbnails.c:
(make_thumbnail_uri):
* libnautilus-extensions/nautilus-trash-file.c:
(nautilus_trash_file_initialize):
* libnautilus-extensions/nautilus-trash-monitor.c:
(nautilus_trash_files_changed_callback),
(nautilus_trash_monitor_initialize):
* src/file-manager/fm-desktop-icon-view.c:
(update_trash_link_and_delete_copies):
* src/file-manager/fm-directory-view.c: (show_trash_callback),
(trash_or_delete_files_common),
(fm_directory_view_trash_or_delete_files),
(fm_directory_view_move_copy_items):
* src/file-manager/fm-properties-window.c:
(is_merged_trash_directory):
* src/nautilus-application.c:
(nautilus_make_uri_list_from_shell_strv):
* src/nautilus-first-time-druid.c: (read_file_handle_cancel_cover),
(initiate_file_download):
* src/nautilus-location-bar.c: (try_to_expand_path),
(nautilus_location_bar_set_location),
(nautilus_location_bar_get_location),
(nautilus_location_bar_update_label):
* src/nautilus-profiler.c:
(nautilus_profiler_bonobo_ui_report_callback):
* src/nautilus-property-browser.c: (add_pattern_to_browser),
(emblem_dialog_clicked):
* src/nautilus-sidebar.c: (receive_dropped_uri_list):
* src/nautilus-theme-selector.c: (add_theme_to_icons):
* src/nautilus-window-manage-views.c: (set_displayed_location),
(check_bookmark_location_matches), (handle_go_elsewhere),
(viewed_file_changed_callback), (determined_initial_view_callback),
(open_location_prefer_existing_window_callback),
(report_redirect_callback):
* src/nautilus-window-menus.c: (show_bogus_bookmark_window):
Update for vfs extensions move to eel. Also cleanup the #include
state of some of these files. Removed unused #includes. Remove
some cut-n-paste code in services components and use the
extensions in eel directly.
2001-04-04 Ramiro Estrugo <ramiro@eazel.com>
* README:
Add new librsvg and eel dependency entries.
* applets/launcher/Makefile.am:
* applets/preferences-applet/Makefile.am:
Add eel library to make it link properly.
2001-04-04 Ramiro Estrugo <ramiro@eazel.com>
* libnautilus-extensions/Makefile.am:
Add missing header file.
2001-04-03 Darin Adler <darin@eazel.com>
* components/notes/nautilus-notes.c: (do_destroy),
(notes_get_indicator_image), (make_notes_view), (main):
Use nautilus_view_standard_main to simplify and remove code.
* libnautilus-extensions/nautilus-global-preferences.c:
(global_preferences_populate_pane): Code had N_() wrapped around
an empty string. That's a no-no. Calling _("") on empty string
gives you the complete translator info, which must be avoided.
2001-04-03 Ramiro Estrugo <ramiro@eazel.com>
* Makefile.am:
Remove librsvg.
* librsvg/.cvsignore:
* librsvg/Makefile.am:
* librsvg/art_render.c:
* librsvg/art_render.h:
* librsvg/art_render_gradient.c:
* librsvg/art_render_gradient.h:
* librsvg/art_render_mask.c:
* librsvg/art_render_mask.h:
* librsvg/art_render_svp.c:
* librsvg/art_render_svp.h:
* librsvg/art_rgba.c:
* librsvg/art_rgba.h:
* librsvg/example-nested-transform.svg:
* librsvg/makefile-simple:
* librsvg/opacity.svg:
* librsvg/rsvg-bpath-util.c:
* librsvg/rsvg-bpath-util.h:
* librsvg/rsvg-css.c:
* librsvg/rsvg-css.h:
* librsvg/rsvg-defs.c:
* librsvg/rsvg-defs.h:
* librsvg/rsvg-ft.c:
* librsvg/rsvg-ft.h:
* librsvg/rsvg-paint-server.c:
* librsvg/rsvg-paint-server.h:
* librsvg/rsvg-path.c:
* librsvg/rsvg-path.h:
* librsvg/rsvg.c:
* librsvg/rsvg.h:
* librsvg/subpixel-text-test:
* librsvg/test-ft-gtk.c:
* librsvg/test-ft.c:
* librsvg/test-rsvg.c:
* librsvg/test.svg:
Move librsvg to its own top level GNOME CVS module.
* configure.in:
Add librsvg and eel dependencies.
Remove librsvg and font entries.
* nautilus.spec.in:
Remove font entries. Add librsvg and eel requirements.
* 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:
* data/fonts/urw/n019003l.afm:
* data/fonts/urw/n019003l.pfb:
* data/fonts/urw/n019003l.pfm:
* data/fonts/urw/n019004l.afm:
* data/fonts/urw/n019004l.pfb:
* data/fonts/urw/n019004l.pfm:
* data/fonts/urw/n019023l.afm:
* data/fonts/urw/n019023l.pfb:
* data/fonts/urw/n019023l.pfm:
* data/fonts/urw/n019024l.afm:
* data/fonts/urw/n019024l.pfb:
* data/fonts/urw/n019024l.pfm:
Retire default fonts. These now live in eel.
* libnautilus/nautilus-undo-transaction.c:
(nautilus_undo_transaction_destroy):
* libnautilus/nautilus-view.c: (nautilus_view_destroy):
Update for eel changes. Use eel-gtk-macros.
* nautilus-installer/src/nautilus-druid-page-eazel.c:
(nautilus_druid_page_eazel_destroy),
(nautilus_druid_page_eazel_finalize),
(nautilus_druid_page_eazel_size_allocate),
(nautilus_druid_page_eazel_size_request):
Update for eel changes. Use eel-gtk-macros.
* libnautilus-extensions/Makefile.am:
* libnautilus-extensions/nautilus-bonobo-extensions.c:
* libnautilus-extensions/nautilus-bonobo-extensions.h:
* libnautilus-extensions/nautilus-bookmark.c:
* libnautilus-extensions/nautilus-ctree.c:
* libnautilus-extensions/nautilus-customization-data.c:
* libnautilus-extensions/nautilus-dateedit-extensions.c:
* libnautilus-extensions/nautilus-dateedit-extensions.h:
* libnautilus-extensions/nautilus-directory-async.c:
* libnautilus-extensions/nautilus-directory-background.c:
* libnautilus-extensions/nautilus-directory-background.h:
* libnautilus-extensions/nautilus-directory-metafile-monitor.c:
* libnautilus-extensions/nautilus-directory-metafile.c:
* libnautilus-extensions/nautilus-directory.c:
* libnautilus-extensions/nautilus-drag-window.c:
* libnautilus-extensions/nautilus-drag.c:
* libnautilus-extensions/nautilus-druid-page-eazel.c:
* libnautilus-extensions/nautilus-druid.c:
* libnautilus-extensions/nautilus-entry.c:
* libnautilus-extensions/nautilus-file-changes-queue.c:
* libnautilus-extensions/nautilus-file-operations-progress.c:
* libnautilus-extensions/nautilus-file-operations.c:
* libnautilus-extensions/nautilus-file-private.h:
* libnautilus-extensions/nautilus-file-utilities.c:
* libnautilus-extensions/nautilus-file.c:
* libnautilus-extensions/nautilus-font-factory.c:
* libnautilus-extensions/nautilus-gconf-extensions.c:
* libnautilus-extensions/nautilus-generous-bin.c:
* libnautilus-extensions/nautilus-global-preferences.c:
* libnautilus-extensions/nautilus-global-preferences.h:
* libnautilus-extensions/nautilus-horizontal-splitter.c:
* libnautilus-extensions/nautilus-icon-canvas-item.c:
* libnautilus-extensions/nautilus-icon-canvas-item.h:
* libnautilus-extensions/nautilus-icon-container.c:
* libnautilus-extensions/nautilus-icon-container.h:
* libnautilus-extensions/nautilus-icon-dnd.c:
* libnautilus-extensions/nautilus-icon-factory.c:
* libnautilus-extensions/nautilus-icon-factory.h:
* libnautilus-extensions/nautilus-icon-private.h:
* libnautilus-extensions/nautilus-icon-text-item.c:
* libnautilus-extensions/nautilus-keep-last-vertical-box.c:
* libnautilus-extensions/nautilus-lib-self-check-functions.c:
* libnautilus-extensions/nautilus-lib-self-check-functions.h:
* libnautilus-extensions/nautilus-link-set.c:
* libnautilus-extensions/nautilus-link.c:
* libnautilus-extensions/nautilus-list-column-title.c:
* libnautilus-extensions/nautilus-list.c:
* libnautilus-extensions/nautilus-medusa-support.c:
* libnautilus-extensions/nautilus-merged-directory.c:
* libnautilus-extensions/nautilus-metafile-factory.c:
* libnautilus-extensions/nautilus-metafile.c:
* libnautilus-extensions/nautilus-mime-actions.c:
* libnautilus-extensions/nautilus-preferences-box.c:
* libnautilus-extensions/nautilus-preferences-dialog.c:
* libnautilus-extensions/nautilus-preferences-group.c:
* libnautilus-extensions/nautilus-preferences-item.c:
* libnautilus-extensions/nautilus-preferences-pane.c:
* libnautilus-extensions/nautilus-preferences.c:
* libnautilus-extensions/nautilus-preferences.h:
* libnautilus-extensions/nautilus-program-chooser.c:
* libnautilus-extensions/nautilus-program-choosing.c:
* libnautilus-extensions/nautilus-program-choosing.h:
* libnautilus-extensions/nautilus-search-uri.c:
* libnautilus-extensions/nautilus-sidebar-functions.c:
* libnautilus-extensions/nautilus-tabs.c:
* libnautilus-extensions/nautilus-theme.c:
* libnautilus-extensions/nautilus-thumbnails.c:
* libnautilus-extensions/nautilus-trash-directory.c:
* libnautilus-extensions/nautilus-trash-file.c:
* libnautilus-extensions/nautilus-trash-monitor.c:
* libnautilus-extensions/nautilus-undo-context.c:
* libnautilus-extensions/nautilus-undo-manager.c:
* libnautilus-extensions/nautilus-undo-signal-handlers.c:
* libnautilus-extensions/nautilus-vfs-directory.c:
* libnautilus-extensions/nautilus-vfs-file.c:
* libnautilus-extensions/nautilus-view-identifier.c:
* libnautilus-extensions/nautilus-volume-monitor.c:
Use new eel library.
* libnautilus-extensions/nautilus-art-extensions.c:
* libnautilus-extensions/nautilus-art-extensions.h:
* libnautilus-extensions/nautilus-art-gtk-extensions.c:
* libnautilus-extensions/nautilus-art-gtk-extensions.h:
* libnautilus-extensions/nautilus-background-canvas-group.c:
* libnautilus-extensions/nautilus-background-canvas-group.h:
* libnautilus-extensions/nautilus-background.c:
* libnautilus-extensions/nautilus-background.h:
* libnautilus-extensions/nautilus-caption-table.c:
* libnautilus-extensions/nautilus-caption-table.h:
* libnautilus-extensions/nautilus-caption.c:
* libnautilus-extensions/nautilus-caption.h:
* libnautilus-extensions/nautilus-clickable-image.c:
* libnautilus-extensions/nautilus-clickable-image.h:
* libnautilus-extensions/nautilus-debug-drawing.c:
* libnautilus-extensions/nautilus-debug-drawing.h:
* libnautilus-extensions/nautilus-debug.c:
* libnautilus-extensions/nautilus-debug.h:
* libnautilus-extensions/nautilus-ellipsizing-label.c:
* libnautilus-extensions/nautilus-ellipsizing-label.h:
* libnautilus-extensions/nautilus-enumeration.c:
* libnautilus-extensions/nautilus-enumeration.h:
* libnautilus-extensions/nautilus-font-manager.c:
* libnautilus-extensions/nautilus-font-manager.h:
* libnautilus-extensions/nautilus-font-picker.c:
* libnautilus-extensions/nautilus-font-picker.h:
* libnautilus-extensions/nautilus-gdk-extensions.c:
* libnautilus-extensions/nautilus-gdk-extensions.h:
* libnautilus-extensions/nautilus-gdk-font-extensions.c:
* libnautilus-extensions/nautilus-gdk-font-extensions.h:
* libnautilus-extensions/nautilus-gdk-pixbuf-extensions.c:
* libnautilus-extensions/nautilus-gdk-pixbuf-extensions.h:
* libnautilus-extensions/nautilus-glib-extensions.c:
* libnautilus-extensions/nautilus-glib-extensions.h:
* libnautilus-extensions/nautilus-glyph.c:
* libnautilus-extensions/nautilus-glyph.h:
* libnautilus-extensions/nautilus-gnome-extensions.c:
* libnautilus-extensions/nautilus-gnome-extensions.h:
* libnautilus-extensions/nautilus-graphic-effects.c:
* libnautilus-extensions/nautilus-graphic-effects.h:
* libnautilus-extensions/nautilus-gtk-extensions.c:
* libnautilus-extensions/nautilus-gtk-extensions.h:
* libnautilus-extensions/nautilus-gtk-macros.h:
* libnautilus-extensions/nautilus-image-table.c:
* libnautilus-extensions/nautilus-image-table.h:
* libnautilus-extensions/nautilus-image-with-background.c:
* libnautilus-extensions/nautilus-image-with-background.h:
* libnautilus-extensions/nautilus-image.c:
* libnautilus-extensions/nautilus-image.h:
* libnautilus-extensions/nautilus-label-with-background.c:
* libnautilus-extensions/nautilus-label-with-background.h:
* libnautilus-extensions/nautilus-label.c:
* libnautilus-extensions/nautilus-label.h:
* libnautilus-extensions/nautilus-labeled-image.c:
* libnautilus-extensions/nautilus-labeled-image.h:
* libnautilus-extensions/nautilus-lib-self-check-functions.c:
* libnautilus-extensions/nautilus-lib-self-check-functions.h:
* libnautilus-extensions/nautilus-password-dialog.c:
* libnautilus-extensions/nautilus-password-dialog.h:
* libnautilus-extensions/nautilus-radio-button-group.c:
* libnautilus-extensions/nautilus-radio-button-group.h:
* libnautilus-extensions/nautilus-region.c:
* libnautilus-extensions/nautilus-region.h:
* libnautilus-extensions/nautilus-scalable-font-private.h:
* libnautilus-extensions/nautilus-scalable-font.c:
* libnautilus-extensions/nautilus-scalable-font.h:
* libnautilus-extensions/nautilus-self-checks.c:
* libnautilus-extensions/nautilus-self-checks.h:
* libnautilus-extensions/nautilus-smooth-text-layout-cache.c:
* libnautilus-extensions/nautilus-smooth-text-layout-cache.h:
* libnautilus-extensions/nautilus-smooth-text-layout.c:
* libnautilus-extensions/nautilus-smooth-text-layout.h:
* libnautilus-extensions/nautilus-smooth-widget.c:
* libnautilus-extensions/nautilus-smooth-widget.h:
* libnautilus-extensions/nautilus-stock-dialogs.c:
* libnautilus-extensions/nautilus-stock-dialogs.h:
* libnautilus-extensions/nautilus-string-list.c:
* libnautilus-extensions/nautilus-string-list.h:
* libnautilus-extensions/nautilus-string-map.c:
* libnautilus-extensions/nautilus-string-map.h:
* libnautilus-extensions/nautilus-string-picker.c:
* libnautilus-extensions/nautilus-string-picker.h:
* libnautilus-extensions/nautilus-string.c:
* libnautilus-extensions/nautilus-string.h:
* libnautilus-extensions/nautilus-text-caption.c:
* libnautilus-extensions/nautilus-text-caption.h:
* libnautilus-extensions/nautilus-viewport.c:
* libnautilus-extensions/nautilus-viewport.h:
* libnautilus-extensions/nautilus-wrap-table.c:
* libnautilus-extensions/nautilus-wrap-table.h:
* libnautilus-extensions/nautilus-xml-extensions.c:
* libnautilus-extensions/nautilus-xml-extensions.h:
Remove these files. These are all part of eel now.
* applets/launcher/nautilus-launcher-applet.c:
* applets/preferences-applet/nautilus-preferences-applet.c:
* components/adapter/Makefile.am:
* components/adapter/main.c:
* components/adapter/nautilus-adapter-control-embed-strategy.c:
* components/adapter/nautilus-adapter-embed-strategy.c:
* components/adapter/nautilus-adapter-embeddable-embed-strategy.c:
* components/adapter/nautilus-adapter-factory-server.c:
* components/adapter/nautilus-adapter-file-load-strategy.c:
* components/adapter/nautilus-adapter-load-strategy.c:
* components/adapter/nautilus-adapter-progressive-load-strategy.c:
* components/adapter/nautilus-adapter-stream-load-strategy.c:
* components/adapter/nautilus-adapter.c:
* components/hardware/Makefile.am:
* components/hardware/nautilus-hardware-view.c:
* components/help/Makefile.am:
* components/help/help-method.c:
* components/help/hyperbola-filefmt.c:
* components/help/hyperbola-nav-tree.c:
* components/history/Makefile.am:
* components/history/nautilus-history-view.c:
* components/image-viewer/Makefile.am:
* components/image-viewer/nautilus-image-view.c:
* components/loser/content/Makefile.am:
* components/loser/content/nautilus-content-loser.c:
* components/loser/sidebar/Makefile.am:
* components/loser/sidebar/nautilus-sidebar-loser.c:
* components/mozilla/Makefile.am:
* components/mozilla/bonobo-extensions.c:
* components/mozilla/nautilus-mozilla-content-view.c:
* components/music/Makefile.am:
* components/music/nautilus-music-view.c:
* components/notes/Makefile.am:
* components/notes/nautilus-notes.c:
* components/rpmview/Makefile.am:
* components/rpmview/nautilus-rpm-verify-window.c:
* components/rpmview/nautilus-rpm-view-install.c:
* components/rpmview/nautilus-rpm-view.c:
* components/sample/nautilus-sample-content-view.c:
* components/services/install-view/Makefile.am:
* components/services/install-view/callbacks.c:
* components/services/install-view/forms.c:
* components/services/install-view/nautilus-service-install-view.c:
* components/services/install/lib/eazel-install-logic2.c:
* components/services/install/server/main.c:
* components/services/inventory-view/Makefile.am:
* components/services/inventory-view/nautilus-inventory-config-page
.c:
* components/services/inventory-view/nautilus-inventory-disable-pag
* components/services/inventory-view/nautilus-inventory-enable-page
* components/services/inventory-view/nautilus-inventory-view.c:
* components/services/inventory/Makefile.am:
* components/services/inventory/eazel-inventory-upload-callback.c:
* components/services/inventory/eazel-inventory.c:
* components/services/inventory/main.c:
* components/services/login/nautilus-view/Makefile.am:
* components/services/login/nautilus-view/nautilus-change-password-
view.c:
* components/services/login/nautilus-view/password-box.c:
* components/services/nautilus-dependent-shared/Makefile.am:
* components/services/nautilus-dependent-shared/eazel-services-exte
nsions.c:
* components/services/nautilus-dependent-shared/eazel-services-exte
nsions.h:
* components/services/nautilus-dependent-shared/eazel-services-foot
er.c:
* components/services/nautilus-dependent-shared/eazel-services-head
er.c:
* components/services/nautilus-dependent-shared/test-footer-header.
c:
* components/services/summary/Makefile.am:
* components/services/summary/nautilus-summary-callbacks.c:
* components/services/summary/nautilus-summary-dialogs.c:
* components/services/summary/nautilus-summary-dialogs.h:
* components/services/summary/nautilus-summary-footer.c:
* components/services/summary/nautilus-summary-menu-items.c:
* components/services/summary/nautilus-summary-view-private.h:
* components/services/summary/nautilus-summary-view.c:
* components/services/time/nautilus-view/main.c:
* components/services/time/nautilus-view/trilobite-eazel-time-view.
c:
* components/services/trilobite/sample/nautilus-view/Makefile.am:
* components/text/Makefile.am:
* components/text/nautilus-text-view.c:
* components/throbber/Makefile.am:
* components/throbber/main.c:
* components/throbber/nautilus-throbber.c:
* components/tree/Makefile.am:
* components/tree/nautilus-tree-change-queue.c:
* components/tree/nautilus-tree-expansion-state.c:
* components/tree/nautilus-tree-model.c:
* components/tree/nautilus-tree-node.c:
* components/tree/nautilus-tree-view-dnd.c:
* components/tree/nautilus-tree-view.c:
* helper-utilities/authenticate/Makefile.am:
* helper-utilities/authenticate/nautilus-authenticate.c:
* nautilus-installer/src/nautilus-druid.c:
* src/Makefile.am:
* src/file-manager/fm-desktop-icon-view.c:
* src/file-manager/fm-directory-view.c:
* src/file-manager/fm-directory-view.h:
* src/file-manager/fm-error-reporting.c:
* src/file-manager/fm-icon-text-window.c:
* src/file-manager/fm-icon-view.c:
* src/file-manager/fm-list-view.c:
* src/file-manager/fm-properties-window.c:
* src/file-manager/fm-search-list-view.c:
* src/file-manager/nautilus-indexing-info.c:
* src/nautilus-about.c:
* src/nautilus-application.c:
* src/nautilus-bookmark-list.c:
* src/nautilus-bookmark-parsing.c:
* src/nautilus-bookmarks-window.c:
* src/nautilus-complex-search-bar.c:
* src/nautilus-component-adapter-factory.c:
* src/nautilus-desktop-window.c:
* src/nautilus-first-time-druid.c:
* src/nautilus-link-set-window.c:
* src/nautilus-location-bar.c:
* src/nautilus-main.c:
* src/nautilus-navigation-bar.c:
* src/nautilus-profiler.c:
* src/nautilus-property-browser.c:
* src/nautilus-search-bar-criterion.c:
* src/nautilus-search-bar.c:
* src/nautilus-shell.c:
* src/nautilus-sidebar-tabs.c:
* src/nautilus-sidebar-title.c:
* src/nautilus-sidebar.c:
* src/nautilus-signaller.c:
* src/nautilus-simple-search-bar.c:
* src/nautilus-switchable-navigation-bar.c:
* src/nautilus-switchable-search-bar.c:
* src/nautilus-theme-selector.c:
* src/nautilus-view-frame-corba.c:
* src/nautilus-view-frame.c:
* src/nautilus-window-manage-views.c:
* src/nautilus-window-menus.c:
* src/nautilus-window-toolbars.c:
* src/nautilus-window.c:
* src/nautilus-window.h:
* src/nautilus-zoom-control.c:
Update for new eel library usage.
* test/test-nautilus-background.c:
* test/test-nautilus-clickable-image.c:
* test/test-nautilus-font-manager.c:
* test/test-nautilus-font-picker.c:
* test/test-nautilus-font-simple.c:
* test/test-nautilus-font.c:
* test/test-nautilus-glyph-simple.c:
* test/test-nautilus-glyph.c:
* test/test-nautilus-image-background.c:
* test/test-nautilus-image-scrolled.c:
* test/test-nautilus-image-simple.c:
* test/test-nautilus-image-table.c:
* test/test-nautilus-image-tile.c:
* test/test-nautilus-image.c:
* test/test-nautilus-label-background.c:
* test/test-nautilus-label-flavorful.c:
* test/test-nautilus-label-offset.c:
* test/test-nautilus-label-scrolled.c:
* test/test-nautilus-label-simple.c:
* test/test-nautilus-label-wrapped.c:
* test/test-nautilus-label.c:
* test/test-nautilus-labeled-image.c:
* test/test-nautilus-password-dialog.c:
* test/test-nautilus-pixbuf-tile.c:
* test/test-nautilus-smooth-text-layout.c:
* test/test-nautilus-viewport-constraint.c:
* test/test-nautilus-widgets.c:
Remove these. They live in eel now.
* test/vsignore:
* test/kefile.am:
* test/st-nautilus-preferences-change.c:
* test/st-nautilus-preferences-display.c:
* test/st-nautilus-wrap-table.c:
* test/st.c:
* test/st.h:
Update for new eel library usage.
2001-04-03 Darin Adler <darin@eazel.com>
reviewed by: John Harper <jsh@eazel.com>
* src/nautilus-application.c: (update_session): New function,
reads preferences and updates the session based on whether the
Nautilus needs to be kept running to manage the desktop.
(init_session): Use the new functions and register to update the
session when the preferences change.
2001-04-03 John Harper <jsh@eazel.com>
Fixed part of bug 7823 (Nautilus window hints make it unusable
with the IceWM window manager):
* src/nautilus-desktop-window.c (realize): don't include
WIN_STATE_HIDDEN in the desktop window's state hints
IceWM apparently interprets this bit as meaning `don't display
the window', despite the GNOME documentation saying that it
just means `not on taskbar but window visible'
2001-04-03 John Harper <jsh@eazel.com>
reviewed by: Darin Adler <darin@eazel.com>
Fixed bug 7967 (Tree view uses non-standard colors instead of
gtk theme colors):
* libnautilus-extensions/nautilus-list.c,
libnautilus-extensions/nautilus-list.h
(nautilus_list_set_alternate_row_colors,
nautilus_list_set_background_color_offsets): new functions.
They give some control over how the list background is drawn.
The offsets function takes two offsets into the GtkStyle
structure (which should point to GdkColor structures)
* libnautilus-extensions/nautilus-ctree.c
(nautilus_ctree_init): call the above two functions with
suitable values to make the tree look like it used to, before
being derived from the NautilusList widget
2001-04-03 Darin Adler <darin@eazel.com>
reviewed by: John Sullivan <sullivan@eazel.com>
* libnautilus/nautilus-bonobo-workarounds.c:
(nautilus_bonobo_object_force_destroy): Add new version that is
not vulnerable to the problem of an unref coming in from the other
process during the destroy phase. This version relies on Bonobo
internals, so it's a truly evil bit of code, and I should be
severely punished for even thinking of writing it.
(nautilus_bonobo_object_force_destroy_at_idle): Added some more
checks that I thought would help me in debugging.
* src/nautilus-shell-ui.xml: Improve wording of tooltip for the Up
command.
* components/notes/nautilus-notes.c: Some code cleanup.
* src/file-manager/fm-directory-view.c: Fixed a typo.
2001-04-03 John Sullivan <sullivan@eazel.com>
reviewed by: Darin Adler <darin@eazel.com>
* src/nautilus-window.c: (add_to_history_list):
Imposed a 50-item limit on the length of the
history list. Perhaps someday we'll save it to
disk and organize old items by date, but this
fixes the immediate problem of the list getting
unboundedly long.
2001-04-03 John Sullivan <sullivan@eazel.com>
* libnautilus-extensions/nautilus-ellipsizing-label.c:
(recompute_ellipsized_text): Made ellipsizing labels
use middle-truncation, now that it's available (added
by Pavel recently, yay!).
2001-04-03 John Sullivan <sullivan@eazel.com>
reviewed by: Darin Adler <darin@eazel.com>
Fixed bug 7949 (Nautilus allows Cut/Copy on icons that
can't be moved)
* src/file-manager/fm-directory-view.c: (real_update_menus):
Fixed up sensitivity logic for Cut/Copy/Paste and a couple
of related items.
2001-04-03 Darin Adler <darin@eazel.com>
reviewed by: John Sullivan <sullivan@eazel.com>
* libnautilus-extensions/nautilus-global-preferences.c:
(global_preferences_populate_pane): Added missing calls to
_() so things in the pane are translated.
2001-04-02 Mike Fleming <mfleming@eazel.com>
* README:
Updated README to explain problems with mozilla 0.8.1
2001-04-02 Ramiro Estrugo <ramiro@eazel.com>
* libnautilus-extensions/nautilus-gdk-font-extensions.c:
Remove rogue unused #include.
* libnautilus-extensions/nautilus-text-caption.c:
Remove rogue unused #include.
2001-04-02 Darin Adler <darin@eazel.com>
Make file operations progress dialog always stay up for at least 1
second total so it doesn't just appear and disappear.
Preparing for a fix to the nautilus-adapter process leaking when
Nautilus is terminated by Ctrl-C, I cleaned up some of the code
inside the adapter.
Improved the warning you get when neither /etc/mnttab nor
/proc/mounts can be opened.
Fix bug 6888 (when I view a large image, it appears first at 100%,
then zoomed to fit).
Re-added part of the code to make components go away when the main
program that is hosting them goes away. The X-window-based
solution is not working as well as I had hoped, so I'm re-adding
the 20-second-timeout-based solution.
* components/adapter/nautilus-adapter-embed-strategy.c:
(nautilus_adapter_embed_strategy_initialize_class),
(nautilus_adapter_embed_strategy_get),
(nautilus_adapter_embed_strategy_emit_open_location): Change the
strategy new functions to use more-normal reference rules. The
caller no longer expects them to "use up" a reference.
* components/adapter/nautilus-adapter-control-embed-strategy.c:
(nautilus_adapter_control_embed_strategy_destroy),
(nautilus_adapter_control_embed_strategy_new): Don't keep a
reference to the BonoboControl around after creating the frame.
* components/adapter/nautilus-adapter-embeddable-embed-strategy.c:
(nautilus_adapter_embeddable_embed_strategy_destroy),
(nautilus_adapter_embeddable_embed_strategy_new): Don't keep a
reference to the BonoboEmeddable around after creating the frame.
* components/image-viewer/nautilus-image-view.c: (redraw_control),
(scrolled_window_size_allocate_callback),
(control_factory_common), (init_bonobo_image_generic_factory):
Some name changes, and a fix so that we don't show the image first
at 100%, and then shrink to fit. The downside is that this might
be too hard-coded to the current behavior of Nautilus, but it's
better than flashing every time you open an image.
* components/services/trilobite/utils/.cvsignore: Ignore some
files in this new directory.
* libnautilus-extensions/nautilus-file-operations-progress.h:
* libnautilus-extensions/nautilus-file-operations-progress.c:
(nautilus_file_operations_progress_update), (close_callback),
(nautilus_file_operations_progress_destroy), (map_callback),
(delete_event_callback),
(nautilus_file_operations_progress_initialize),
(nautilus_file_operations_progress_initialize_class),
(nautilus_file_operations_progress_new),
(nautilus_file_operations_progress_set_total),
(nautilus_file_operations_progress_set_operation_string),
(nautilus_file_operations_progress_new_file),
(nautilus_file_operations_progress_clear),
(nautilus_file_operations_progress_update_sizes),
(delayed_close_callback), (nautilus_file_operations_progress_done):
Did a lot of code cleanups throughout the file, and added a new
call nautilus_file_operations_progress_done. Use this instead of
gtk_object_destroy so that the window can linger long enough for
the user to see it, if a copy was really fast.
* libnautilus-extensions/nautilus-file-operations.c:
(transfer_info_destroy), (parent_for_error_dialog),
(create_transfer_dialog), (handle_transfer_ok),
(handle_transfer_vfs_error): Change to use the new
nautilus_file_operations_progress_done call instead of
gtk_object_destroy when done with the progress dialog.
* libnautilus-extensions/nautilus-icon-container.c:
(nautilus_icon_container_update_scroll_region): Fix indentation.
* libnautilus-extensions/nautilus-volume-monitor.c:
(get_current_mount_list): Replace cryptic g_return_if_fail message
with better-worded g_warning.
* libnautilus/nautilus-view.c: (set_frame_callback),
(widget_destroyed_callback),
(nautilus_view_construct_from_bonobo_control): Re-added code to
monitor the lifetime of the frame and self-destruct when the frame
goes away. The X-window-based solution wasn't working 100%, and
this solution does.
* src/nautilus-sidebar.c: (toggle_sidebar_panel),
(sidebar_for_each_sidebar_panel): Change object data key to use a
prefix that includes the word "nautilus". Tweak code that builds
the menu so that it always includes any panel that's displayed,
even if the user level says it shouldn't be there.
2001-04-02 Michael Engber <engber@eazel.com>
reviewed by: John Harper <jsh@eazel.com>
* libnautilus-extensions/nautilus-background-canvas-group.c:
(nautilus_background_canvas_group_initialize_common):
Put back in call to gnome_canvas_set_dither.
2001-04-02 Ramiro Estrugo <ramiro@eazel.com>
reviewed by: Gene Ragan <gzr@eazel.com>
* acconfig.h:
* configure.in:
Add a NAUTILUS_SOURCE_DIRECTORY that contains the location of the
nautilus source code, so that some checks can work without having
to do 'make install'
* components/services/install-view/nautilus-service-install-view.c:
(nautilus_service_install_view_initialize_class):
Initialize preferences so that smooth widgets and other nautilus
specific preferences work.
* components/services/summary/nautilus-summary-view.c:
(nautilus_summary_view_initialize_class):
Initialize preferences so that smooth widgets and other nautilus
specific preferences work.
* libnautilus-extensions/Makefile.am:
Remove macros that arent needed any more.
* libnautilus-extensions/nautilus-entry.h:
* libnautilus-extensions/nautilus-entry.c:
(nautilus_entry_initialize), (obscure_cursor),
(nautilus_entry_key_press), (nautilus_entry_motion_notify),
(nautilus_entry_set_text), (nautilus_entry_insert_text),
(nautilus_entry_delete_text), (nautilus_entry_initialize_class),
(nautilus_entry_set_special_tab_handling):
Make all the attributes private.
* libnautilus-extensions/nautilus-font-manager.c:
(at_exit_handler), (nautilus_free_static_storage_at_exit),
(gnome_vfs_init_if_needed), (font_description_table_add),
(font_description_table_new), (directory_contains_file),
(ensure_local_font_table),
(nautilus_font_manager_get_default_font),
(nautilus_font_manager_get_default_bold_font),
(nautilus_self_check_font_manager):
Remove dependency on nautilus-file-utilities. Update for new
machanism for finding data in the source directory so that checks
work even when Nautilus has not undergone 'make install.'
* libnautilus-extensions/nautilus-global-preferences.c:
(smooth_graphics_mode_changed_callback),
(nautilus_global_preferences_initialize):
Keep track of preferences smooth graphics mode changes and call
the new smooth widget api for changing the smoothness of all
tracked widgets.
* libnautilus-extensions/nautilus-scalable-font.c:
Remove a rogue unused #include.
* libnautilus-extensions/nautilus-smooth-widget.h:
* libnautilus-extensions/nautilus-smooth-widget.c:
(nautilus_smooth_widget_global_set_is_smooth),
(nautilus_smooth_widget_register):
Dont use preferences to track global smoothness changes. Add a
function to that instead.
* src/nautilus-location-bar.c: (nautilus_location_bar_initialize):
Update for privatized NautilusEntry attributes.
2001-04-02 John Sullivan <sullivan@eazel.com>
reviewed by: Darin Adler <darin@eazel.com>
* libnautilus-extensions/nautilus-global-preferences.c:
Moved the font preferences from the Icon & List Views
pane into the Appearance pane, and tweaked the wording.
It was too weird having the font choices in two places.
2001-04-02 John Sullivan <sullivan@eazel.com>
reviewed by: Darin Adler <darin@eazel.com>
Fixed bug 7918 (Preferences window wider than it needs to be)
This also fixes the bug where the HTTP Host text field was
a little shorter than the HTTP Location text field.
* libnautilus-extensions/nautilus-caption.h:
* libnautilus-extensions/nautilus-caption.c:
(nautilus_caption_set_extra_spacing): Renamed from
_set_spacing, since there's a minimum fixed amount
of spacing that's always used. The bug was that this
routine was (only) being used to align items by setting the
padding of the 2nd item in the box. This sets an equal
amount of blank space before and after the item, when
we only want the space before. Fixed by changing it to
use gtk_box_set_spacing instead.
(nautilus_caption_set_child): Don't use the spacing for
the padding here either.
* libnautilus-extensions/nautilus-preferences-item.h:
* libnautilus-extensions/nautilus-preferences-item.c:
(nautilus_preferences_item_set_caption_extra_spacing):
Renamed from _set_caption_spacing for clarity.
* libnautilus-extensions/nautilus-preferences-group.c:
(preferences_group_align_captions): Updated for name
change.
2001-04-01 Andy Hertzfeld <andy@eazel.com>
reviewed by: Michael Engber <engber@eazel.com>
added a way for sidebar views to specify small images that
are displayed in their tab for notification purposes. Used
that to make the notes component indicate if a note is present or
not.
* components/notes/nautilus-notes.c: (get_bonobo_properties),
(set_bonobo_properties), (load_note_text_from_metadata),
(done_with_file), (notes_load_metainfo),
(notify_listeners_if_changed), (notes_save_metainfo), (do_destroy),
(notes_get_indicator_image), (make_notes_view):
added a property bag to the notes component to provide a tab_image
property, and made it notify the listeners when the note text
changes.
* icons/Makefile.am:
* icons/note-indicator.png:
new notes indicator image from Arlo.
* src/nautilus-sidebar-tabs.c: (tab_item_destroy),
(pixbuf_composite), (draw_one_tab_plain), (draw_one_tab_themed),
(get_tab_width), (draw_or_layout_all_tabs),
(nautilus_sidebar_tabs_expose),
(nautilus_sidebar_tabs_update_tab_item), (get_tab_item_from_view),
(nautilus_sidebar_tabs_update_all_indicators),
(nautilus_sidebar_tabs_update_indicator),
(tab_indicator_changed_callback),
(nautilus_sidebar_tabs_connect_view):
* src/nautilus-sidebar-tabs.h:
made the sidebar tabs hook up to the nautilus_view's tab_image
property and use it to display a notification image in the tab
if necessary.
* src/nautilus-sidebar.c: (view_loaded_callback),
(nautilus_sidebar_add_panel):
connect the sidebar tabs to a newly added view, once the view
is loaded.
* src/nautilus-view-frame.c: (nautilus_view_frame_get_control):
* src/nautilus-view-frame.h:
added nautilus_view_frame_get_control so view properties can be
accessed by the sidebar.
2001-03-31 Ramiro Estrugo <ramiro@eazel.com>
* src/nautilus-sidebar.c: (toggle_sidebar_panel):
Restore the "dance." It was needed after all to deal with
situations when the display become out of whack with the number of
running sidebar panels, for example when a panel crashes.
Added a comment to this effect as well.
2001-03-31 Ramiro Estrugo <ramiro@eazel.com>
* libnautilus-extensions/nautilus-preferences-item.c:
(nautilus_preferences_item_set_constrained_integer_values): When
the constrained interger values are change, we need to update the
displayed value as well, otherwise the very first time the
preferences dialogs shows, the selected entry will be wrong.
* libnautilus-extensions/nautilus-preferences.c:
(preferences_key_make_for_getter):
Fix for bug 7939 - preference value not set at Intermediate level
when defined at Novice and visible at Advanced.
The problem was that when a preference is not visible and it does
not have a default for the current user_level, then the default
value was 0. The fix was to do is to find the closest
(lowest) user_level with a good default and use that.
2001-03-31 Ramiro Estrugo <ramiro@eazel.com>
* libnautilus-extensions/Makefile.am:
* libnautilus-extensions/nautilus-sidebar-functions.h:
* libnautilus-extensions/nautilus-sidebar-functions.c:
(compare_view_identifiers), (sidebar_is_sidebar_panel_enabled),
(sidebar_is_sidebar_panel_enabled_cover),
(sidebar_get_sidebar_panel_view_identifiers),
(nautilus_sidebar_get_enabled_sidebar_panel_view_identifiers),
(nautilus_sidebar_panel_make_preference_key),
(nautilus_sidebar_for_each_panel):
New functions. Move sidebar and sidebar panel specific code used
throughout Nautilus to its own place.
* libnautilus-extensions/nautilus-global-preferences.c:
(global_preferences_populate_sidebar_panels_callback),
(global_preferences_create_sidebar_panels_pane),
(global_preferences_install_sidebar_panel_defaults):
Move sidebar and sidebar panel specific code to
nautilus-sidebar-functions.[ch]. Simplify sidebar panel creation
a bit.
* libnautilus-extensions/nautilus-global-preferences.h:
Remove the sidebar panel NAMESPACE as preferences dont support
namespaces any more.
* src/nautilus-sidebar.c: (any_panel_matches_iid): Tiny anal
renaming.
(toggle_sidebar_panel): Simplify this function a bit. The
previous "dance" that the code was doing was not really
necessariy.
(sidebar_for_each_sidebar_panel),
(sidebar_add_panel_context_menu_items): Simplify a lot by using
the new sidebar panel iterator. Remove a bunch of oaf code which
is handled by the iterator in sidebar-functions. Also, only
create the menu items if the preference is visible at the current
user level.
(nautilus_sidebar_get_sidebar_panel_key): Yank this function as it
is not needed anymore.
* src/nautilus-window.c: (nautilus_window_for_each_sidebar_panel),
(nautilus_window_initialize): Keep track of sidebar panel changes
for each individual panel instead of trying to use the whole
namespace. The namespace thing was a broken feature of
preferences which is no longer supported.
(update_sidebar_panels_from_preferences): Update for new public
sidebar functions.
2001-03-31 Ramiro Estrugo <ramiro@eazel.com>
* src/nautilus-window.c: (nautilus_window_initialize),
(nautilus_window_destroy):
Fix a bug introduced by my last checkin. No longer need to remove
callback for builtin bookmark menu, as this is done
automatically. This was causing a preferences critical.
Also changed the other preference callback to be automatically
removed.
2001-03-31 Ramiro Estrugo <ramiro@eazel.com>
* src/nautilus-window-menus.c:
(nautilus_window_initialize_bookmarks_menu): Use _while_alive
for the preferences callback to avoid potential problem.
(update_user_level_menu_item), (user_level_changed_callback),
(nautilus_window_initialize_menus_part_1):
Fix bug 6615 - Holding open Preferences menu blocks user-level
menu item changes.
The user level menu items where getting out of whack if more that
1 NautilusWindow existed at the time of a user level change. The
fix was to keep track of user level changes and update the menu
items when needed. Also a tiny function renaming to make its
function clearer.
2001-03-31 Ramiro Estrugo <ramiro@eazel.com>
* configure.in:
Fix bug 7952 - configure.in reference to mozilla source is wrong.
Update the Url to reflect reality.
* README:
Small tweak to the Mozilla requirements documentation.
2001-03-31 Ramiro Estrugo <ramiro@eazel.com>
* libnautilus-extensions/nautilus-preferences-box.c:
(preferences_box_select_pane),
(preferences_box_category_list_recreate),
(nautilus_preferences_box_new),
(nautilus_preferences_box_find_pane):
If the preferences dialog is currently selecting a pane, then make
sure that pane gets selected again (if visible) after a user level
change.
* libnautilus-extensions/nautilus-preferences-box.h:
Small parameter name tweaking.
2001-03-31 Ramiro Estrugo <ramiro@eazel.com>
* libnautilus-extensions/nautilus-preferences-item.h:
* libnautilus-extensions/nautilus-preferences-item.c:
(nautilus_preferences_item_update_showing): New function to update
the showing state of the item depending on preferences visibility.
(preferences_item_construct),
(preferences_item_value_changed_callback),
(preferences_item_create_enum),
(preferences_item_update_displayed_value): Make
update_displayed_value private. It no longer needs to be called
by the parent container. Since preference items now get updated
by value changed callbacks.
* libnautilus-extensions/nautilus-preferences-group.c:
(nautilus_preferences_group_update): No need to update the showing
state of the items over here. Simpy call the new preferences item
function to do this.
* libnautilus-extensions/nautilus-preferences-dialog.c:
(nautilus_preferences_dialog_initialize),
(nautilus_preferences_dialog_destroy):
Have the callback automatically removed. Small style tweaking.
2001-03-30 Ramiro Estrugo <ramiro@eazel.com>
reviewed by: John Harper <jsh@eazel.com>
* libnautilus-extensions/nautilus-preferences-item.c:
(preferences_item_value_changed_callback),
(preferences_item_create_enum),
(preferences_item_create_short_enum),
(preferences_item_create_boolean),
(preferences_item_create_editable_string),
(preferences_item_create_editable_integer),
(preferences_item_create_constrained_integer),
(preferences_item_create_font),
(preferences_item_create_smooth_font):
Add value changed callbacks for the preference associated with
each item. In this callback, we update the diplay value of the
item. This way, regardless of when and where the preference
values change, the preferences dialog will always be up to date.
2001-03-30 Ramiro Estrugo <ramiro@eazel.com>
* libnautilus-extensions/nautilus-preferences-item.c:
(preferences_item_update_constrained_integer): Remove a rogue
printf I left in by accident.
2001-03-30 Ramiro Estrugo <ramiro@eazel.com>
* libnautilus-extensions/nautilus-global-preferences.c:
Changed from Mike Fleming to hide the proxy authentication
preferences when the "Use Proxy" preference is FALSE.
* libnautilus-extensions/nautilus-preferences-group.c:
(nautilus_preferences_group_add_item):
Change the item packing parameters so that items will be sized to
their natural sizes. Otherwise they fill the avaialable space and
screw up the usage of control preferences to properly hide items
and have everything update accordingly.
* libnautilus-extensions/nautilus-preferences-pane.c:
(preferences_pane_control_preference_changed_callback):
Force a queue resize when the pane is updated so that empty space
resulting from controlled preferences items being hidden will go
away.
2001-03-30 Ramiro Estrugo <ramiro@eazel.com>
* libnautilus-extensions/nautilus-enumeration.h:
* libnautilus-extensions/nautilus-enumeration.c:
(nautilus_enumeration_new_from_tokens),
(nautilus_enumeration_get_entry_position),
(nautilus_enumeration_get_value_position),
(nautilus_enumeration_get_entries),
(nautilus_self_check_enumeration):
New functions to make this data structure more useful and easier
to use. Also added self checks.
* libnautilus-extensions/nautilus-preferences-item.c:
(preferences_item_destroy),
(preferences_item_update_constrained_integer),
(constrained_integer_changed_callback),
(nautilus_preferences_item_set_constrained_integer_values):
Use a NautilusEnumeration instead of maintaing 2 lists of entries
and values ourselves. Makes this code a little bit simpler.
2001-03-30 Michael Engber <engber@eazel.com>
* components/notes/nautilus-notes.c: (notes_save_metainfo):
update saved copy of notes when writing metadata
2001-03-30 Michael Engber <engber@eazel.com>
* components/notes/nautilus-notes.c:
(load_note_text_from_metadata):
fix leak
2001-03-30 Michael K. Fleming <mfleming@eazel.com>
reviewed by: John Sullivan <sullivan@eazel.com>
Part of bug 4832
Added preferences for HTTP proxy username/password.
Really, this is sub-optimal:
o The first-time druid still doesn't have UI for this
o The password is presented and stored in the clear (? does this matter?
It's transmitted in the clear, too)
o If the user is using an HTTP proxy that requires authentication, but
have not filled out the username/password correctly, they get an
"Access Denied" dialog
o There's no way to tell embedded mozilla about this (bug 74171), so
embedded mozilla prompts the user again for the password
* libnautilus-extensions/nautilus-global-preferences.c:
* libnautilus-extensions/nautilus-global-preferences.h:
2001-03-30 Ramiro Estrugo <ramiro@eazel.com>
reviewed by: Mike Fleming <mfleming@eazel.com>
* libnautilus-extensions/nautilus-global-preferences.c:
(global_preferences_create_dialog),
(global_preferences_populate_pane):
No need to explicitly add pane update callbacks for control
preference. These happen automatically as needed now.
* libnautilus-extensions/nautilus-preferences-pane.h:
* libnautilus-extensions/nautilus-preferences-pane.c:
(nautilus_preferences_pane_destroy),
(nautilus_preferences_pane_find_group),
(preferences_pane_control_preference_changed_callback),
(nautilus_preferences_pane_add_control_preference):
New function to add control preferences to the pane. For each
unique control preference, a callback will be added to update the
pane so that control actions (such as hiding or showing items) can
take place as needed.
2001-03-30 Ramiro Estrugo <ramiro@eazel.com>
reviewed by: John Sullivan <sullivan@eazel.com>
* components/text/nautilus-text-view.c: (merge_bonobo_menu_items):
Add a FIXME for a bug.
* libnautilus-extensions/nautilus-gconf-extensions.h:
* libnautilus-extensions/nautilus-gconf-extensions.c:
(nautilus_gconf_get_value), (nautilus_gconf_value_is_equal),
(nautilus_gconf_value_free): New convenience functions for using
GConf values directly.
* libnautilus-extensions/nautilus-gdk-font-extensions.c:
Remove a FIXME for a bug i fixed recently.
* libnautilus-extensions/nautilus-preferences.c:
(preferences_callback_entry_invoke_function),
(preferences_entry_invoke_callbacks_if_needed),
(preferences_something_changed_notice),
(preferences_global_table_check_changes_function),
(preferences_entry_update_cached_value),
(preferences_entry_ensure_gconf_connection),
(preferences_callback_entry_free_func), (preferences_entry_free),
(preferences_global_table_insert):
Fix bug 5875 - Preference callbacks should only trigger when
values change.
The problem was twofold. First, when the user level changed, we
would invoke all callbacks regardless of whether the value had
changed or not. Second, when a GConf value changed notice
triggered, we would invoke the corresponding Nautilus preference
callback regardless of whether the value according to Nautilus
changed or not.
The fact that Nautilus preferences have a visibility attribute
means that even if the GConf value changes, they may have a
different value (a default due to high visibility for example)
2001-03-30 John Sullivan <sullivan@eazel.com>
* libnautilus-extensions/nautilus-preferences.c:
(update_auto_integer_or_boolean): Removed bogus return_if_fail.
* libnautilus-extensions/nautilus-icon-container.c:
(nautilus_icon_container_initialize_class): Set up auto-storage
variable for click policy preference.
(button_press_event): Use auto-storage variable instead of
calling nautilus_preferences_get.
* src/file-manager/fm-directory-view.c:
(fm_directory_view_initialize_class): Set up auto-storage variables
for three preferences checked elsewhere in this class.
(open_alternate_callback), (open_location), (confirm_delete_directly),
(confirm_delete_from_trash), (fm_directory_view_activate_files):
Use auto-storage variables instead of calling nautilus_preferences_get.
(confirm_trash_changed_callback), (enable_delete_changed_callback):
Removed these functions.
(real_update_menus): Removed code setting up callbacks to update
static variables when the preference changed. The auto-storage
variables have the same effect with much less code.
2001-03-30 Michael Engber <engber@eazel.com>
* components/notes/nautilus-notes.c:
(load_note_text_from_metadata), (done_with_file),
(notes_load_metainfo), (notes_save_metainfo):
Ensure notes have actually changed, by comparing to a
copy of the old value, before responding to change signals.
2001-03-30 Eskil Heyn Olsen <eskil@eazel.com>
reviewed by: the toad that lives under my table
* components/services/trilobite/Makefile.am:
Build utils/
* components/services/trilobite/helper/eazel-helper.c: (main):
Added ability to launch a start-medusa script.
* components/services/trilobite/libtrilobite/trilobite-root-helper.h:
* components/services/trilobite/libtrilobite/trilobite-root-helper.c:
(trilobite_root_helper_run):
Added a enum for a start-medusa command.
* components/services/trilobite/utils/Makefile.am:
* components/services/trilobite/utils/eazel-helper-test.c:
(get_password_dude), (main):
Added a program to test root helper, for educational reasons
mostly.
* configure.in:
Added components/services/trilobite/utils/Makefile
2001-03-30 John Sullivan <sullivan@eazel.com>
reviewed by: Darin Adler <darin@eazel.com>
Fixed bug 7913 (fm_get_text_attribute_names_preference
should cache preference value for speed)
Fixed bug 7914 (nautilus_icon_canvas_item_initialize
should cache smooth_font for speed)
Added a new way to stay up-to-date with the value of a
preference: you register a (typically global) variable
with a particular preference, and the preferences machinery
updates its value automatically whenever the preference
changes. This is a replacement for using
nautilus_preferences_get (and _get_integer and _get_boolean)
repeatedly, and is much more efficient. We might eventually
replace all the callers of _get_xxx with calls to this, and
remove those calls entirely.
I deployed this in the two specific cases Pavel found with
profiling (bugs 7913 & 7914) and some more places. I'll
deploy it in more places still later.
* libnautilus-extensions/nautilus-preferences.h:
* libnautilus-extensions/nautilus-preferences.c:
(update_auto_string), (update_auto_integer_or_boolean):
New helper functions to update an individual auto-storage variable.
(preferences_entry_update_auto_storage): New function, updates
all auto-storage variables for a particular preference.
(preferences_something_changed_notice): update auto-storage variables
before calling callbacks.
(preferences_entry_ensure_gconf_connection): New function, extracted
from preferences_entry_add_callback.
(preferences_entry_add_callback): Now calls extracted function.
(preferences_entry_add_auto_storage): New function, adds a single
auto-storage variable for a given preference.
(preferences_entry_check_remove_connection): New function, extracted
from preferences_entry_remove_callback.
(preferences_entry_remove_callback): Now calls extracted function.
(preferences_entry_remove_auto_storage): New function, removes a single
auto-storage variable for a given preference.
(preferences_entry_free): Free the auto-storage list.
(nautilus_preferences_add_auto_string),
(nautilus_preferences_add_auto_integer),
(nautilus_preferences_add_auto_boolean),
(nautilus_preferences_remove_auto_string),
(nautilus_preferences_remove_auto_integer),
(nautilus_preferences_remove_auto_boolean): Public cover functions
for the three basic types of auto-storage variables.
(nautilus_preferences_remove_callback): Fixed small bug where this
function would unnecessarily add an entry before removing it.
* libnautilus-extensions/nautilus-font-factory.c:
(nautilus_font_factory_get_font_from_preferences):
Reworked to use auto-storage variable.
* libnautilus-extensions/nautilus-global-preferences.c:
(nautilus_global_preferences_initialize): Set up auto-storage
variables for icon view & default smooth font preferences.
(global_preferences_get_smooth_font),
(global_preferences_get_smooth_bold_font): Changed to take
font file name instead of preferences name.
(nautilus_global_preferences_get_icon_view_smooth_font),
(nautilus_global_preferences_get_default_smooth_font),
(nautilus_global_preferences_get_default_smooth_bold_font):
Use auto-storage variables.
* libnautilus-extensions/nautilus-icon-canvas-item.c:
(nautilus_icon_canvas_item_initialize_class): Set up
auto-storage variable for click policy preference.
(in_single_click_mode): Use auto-storage variable.
* libnautilus-extensions/nautilus-icon-factory.c:
(should_display_image_file_as_itself): Use auto-storage
variable for thumbnail policy.
* src/file-manager/fm-icon-text-window.c:
(fm_get_text_attribute_names_preference): Use auto-storage
variable for icon captions.
* src/file-manager/fm-icon-view.c:
(should_preview_sound): Use auto-storage variable for
sound-preview preference.
(fm_icon_view_initialize_class): Set up auto-storage variable
for sound-preview preference.
2001-03-29 Darin Adler <darin@eazel.com>
reviewed by: Pavel Cisler <pavel@eazel.com>
* libnautilus-extensions/nautilus-file-operations.c:
(sync_transfer_callback): Don't send out notifications in the case
where we did a no-op move on top of self.
(nautilus_file_operations_copy_move): Get rid of code that
complains about move on top of self, since that's no longer
considered an error.
* configure.in: We require the new gnome-vfs now because we need
the code that handles move to self better.
2001-03-29 Pavel Cisler <pavel@eazel.com>
reviewed by: Darin Adler <darin@eazel.com>
* libnautilus-extensions/nautilus-gdk-font-extensions.c:
(nautilus_string_ellipsize_start):
Rework to only measure one character width at a time when zeroing
in on the right width.
* libnautilus-extensions/nautilus-gdk-font-extensions.c:
(nautilus_string_ellipsize_end),
(nautilus_string_ellipsize_middle),
* libnautilus-extensions/nautilus-gdk-font-extensions.h:
Add nautilus_string_ellipsize_middle and nautilus_string_ellipsize_end.
* libnautilus-extensions/nautilus-gdk-font-extensions.c:
(nautilus_self_check_ellipsize),
(nautilus_self_check_ellipsize_start),
(nautilus_self_check_ellipsize_middle),
(nautilus_self_check_ellipsize_end),
(nautilus_self_check_gdk_font_extensions):
Add test cases for the new calls.
2001-03-29 Michael Engber <engber@eazel.com>
* libnautilus-extensions/nautilus-background-canvas-group.c:
Comment out call to gnome_canvas_set_dither because it no
longer serves a useful purpose and it removes our dependancy
on using a gnome-libs > 1.2.8 - bug 7922.
(nautilus_background_canvas_group_initialize_common):
* libnautilus-extensions/nautilus-background.c:
(nautilus_background_destroy):
* libnautilus-extensions/nautilus-background.h:
* libnautilus-extensions/nautilus-directory-background.c:
(theme_image_path_to_uri),
(nautilus_file_background_get_default_settings_for_theme),
(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),
(nautilus_file_background_matches_default_settings),
(nautilus_file_background_is_set), (background_changed_callback),
(initialize_background_from_settings):
* src/nautilus-sidebar.c: (background_settings_changed_callback),
(nautilus_sidebar_update_appearance):
Remove combine mode from nautilus-background. It no longer serves
any purpose (background always draw dithered now) - bug 2190 & 5516.
2001-03-29 Darin Adler <darin@eazel.com>
reviewed by: John Sullivan <sullivan@eazel.com>
Fix bug 7915 (update_font called repeatedly causes slowdown).
Fix black line on right side of icon view that I introduced when I
was doing the cut/copy/paste work.
* libnautilus-extensions/nautilus-label.h:
* libnautilus-extensions/nautilus-label.c:
(nautilus_label_set_text): Add a boolean result to tell whether
the label text was changed for the convenience of callers who want
to do work only if it changes.
* src/nautilus-sidebar-title.c: (update_title): Only call
update_font if the title changed.
* src/file-manager/fm-directory-view.c: (real_realize): Set
background to the normal background from the style. Now we see a
gray background again instead of a black one.
(fm_directory_view_initialize_class): Set scrollbar_spacing to 0
since the extra 3 pixels don't do us any good.
2001-03-29 John Sullivan <sullivan@eazel.com>
reviewed by: Darin Adler <darin@eazel.com>
Josh noticed that the special "thumbnail is loading" icon
was no longer used. Darin and I found the problem.
* libnautilus-extensions/nautilus-icon-factory.c:
(nautilus_icon_factory_get_icon_for_file): Store URI rather
than local path for special "loading" image.
2001-03-29 Darin Adler <darin@eazel.com>
reviewed by: John Sullivan <sullivan@eazel.com>
Fix bug 7596 (After sidebar panel crashes, right-click menu shows
wrong state):
* src/nautilus-sidebar.c: (get_page_iid): New function, shared by
old and new code.
(nautilus_sidebar_active_panel_matches_id_or_is_damaged): New name,
uses get_page_iid.
(nautilus_sidebar_hide_active_panel_if_matches): Call by new name.
(any_panel_matches_id): New function.
(toggle_sidebar_panel): Use presence in the sidebar to decide what
to do, rather than using the previous setting of the preference.
(nautilus_sidebar_add_panel_items): Use the presence of items in
the sidebar to decide which items get checked, rather than using
the preference settings.
(nautilus_sidebar_add_panel), (nautilus_sidebar_remove_panel): Get
rid of erroneous use of _().
2001-03-29 John Sullivan <sullivan@eazel.com>
reviewed by: Darin Adler <darin@eazel.com>
* libnautilus-extensions/nautilus-global-preferences.c:
At TigerT's suggestion, changed default thumbnail image
limit from 1 MB to 3 MB to cover the range of most
current digital cameras.
2001-03-29 Michael Engber <engber@eazel.com>
reviewed by: Darin Adler <darin@eazel.com>
* components/notes/nautilus-notes.c: (schedule_save_callback),
(cancel_pending_save), (schedule_save),
(set_note_text_from_metadata), (done_with_file),
(notes_save_metainfo), (on_changed), (make_notes_view):
Notes now saves changes after a timeout instead of waiting
until focus change - bug 6884.
2001-03-29 John Sullivan <sullivan@eazel.com>
reviewed by: Darin Adler <darin@eazel.com>
Fixed bug 7921 ("Up" should select folder you came from)
* src/nautilus-window-manage-views.h:
* src/nautilus-window-manage-views.c:
(nautilus_window_open_location_with_selection):
New private-to-nautilus-window call, just calls
existing private call open_location with the
right parameters.
* src/nautilus-window.c: (nautilus_window_go_up):
Set current location as selection when going up.
2001-03-29 John Sullivan <sullivan@eazel.com>
reviewed by: Ramiro Estrugo <ramiro@eazel.com>
Fixed bug 3328 (Need a preference to specify upper bounds for
thumbnailing)
In Speed Tradeoffs at Advanced level, you can now choose an
upper bound for image file size that will get thumbnailed.
* libnautilus-extensions/nautilus-global-preferences.c:
* libnautilus-extensions/nautilus-global-preferences.h:
Add thumbnail limit preference.
* libnautilus-extensions/nautilus-icon-factory.c:
(destroy_icon_factory), (get_icon_factory): Add and
remove callback for thumbnail-limit preference.
(thumbnail_limit_changed_callback): Store new value in global
variable; send icons-changed signal.
(nautilus_icon_factory_get_icon_for_file): Use global
variable instead of constant when determining thumbail limit.
* libnautilus-extensions/nautilus-preferences-item.c:
(preferences_item_update_constrained_integer): Check the
label strings correctly; this was working for the font size
menus only because the label strings were just the number
printf'ed into a string.
2001-03-28 Darin Adler <darin@eazel.com>
reviewed by: John Sullivan <sullivan@eazel.com>
A change to reduce the number of orphaned processes when Nautilus
is not terminated cleanly. This is an architecture problem, and
this hack only partly addresses it.
Add code to NautilusViewFrame, NautilusView, and NautilusThrobber
to destroy components when the corresponding widgets are
destroyed. Since X destroys windows when processes go away, this
tells us immediately when processes disappear. This does not help
in the case where Nautilus happens to die after creating a
component, but before attaching the widget to its parent.
This is not a complete solution to the orphaned processes problem
because of 2 other categories of orphaned processes:
1) the adapter factory
2) non-NautilusView components, which won't get the advantage
of this fix because it's in Nautilus (a fix could go into
Bonobo, or into each component)
* libnautilus/nautilus-bonobo-workarounds.h:
* libnautilus/nautilus-bonobo-workarounds.c:
(set_gone_flag), (nautilus_bonobo_object_force_destroy),
(object_is_gone), (remote_check_data_free),
(remote_check_timed_callback), (remote_check_destroy_callback),
(nautilus_bonobo_object_call_when_remote_object_disappears),
(force_destroy_cover),
(nautilus_bonobo_object_force_destroy_when_owner_disappears):
New code, implementing the machinery to notice when remote objects
go away and to self-destruct when they do. Also code that does the
timeout that used to be in NautilusViewFrame.
* libnautilus/nautilus-view.c: (widget_destroyed_callback),
(nautilus_view_construct_from_bonobo_control): Connect to the
widget's destroy signal, and self-destruct when it happens.
* components/throbber/nautilus-throbber.c:
(nautilus_throbber_destroy), (null_pointer_callback),
(nautilus_throbber_initialize): Destroy the BonoboControl when the
throbber (a widget) is destroyed. Requires noticing when the
control goes away (the old code just had a stale pointer to it).
* src/nautilus-view-frame.c: (destroy_view),
(nautilus_view_frame_destroy), (view_frame_failed_callback),
(queue_view_frame_failed), (view_frame_failed_cover),
(check_socket_gone_idle_callback), (check_socket_gone_callback),
(attach_view): Use the new machinery instead of doing it
ourselves, but sadly had to add some fairly complex code to catch
the case where the socket is destroyed because the plug is gone.
2001-03-28 Robey Pointer <robey@eazel.com>
* components/services/install/command-line/eazel-test-softcat.c:
(main):
Fix build bustage -- missed one of the "pr" -> "per" things.
2001-03-28 John Harper <jsh@eazel.com>
reviewed by: Darin Adler <darin@eazel.com>
Re-fixed bug 6820 (directory sort order is different in tree
view):
* components/tree/nautilus-tree-view.c: realized that I can get
the tree model node directly from the row's data pointer,
there's no need to map the row to a node (which is a linear
operation). Also, cache the clist->tree-view mapping to avoid a
call to gtk_object_data_get each comparison
(create_tree): enabled the custom comparison function
Work to share more drawing code between NautilusList and
NautilusCTree:
* libnautilus-extensions/nautilus-ctree.c (get_cell_style,
draw_cell_pixbuf): deleted. Use similarly named nautilus_list_
functions instead
(draw_row): only draw the special tree pixbuf if `height > 0'.
This fixes a weird clipping bug
* libnautilus-extensions/nautilus-list.c (get_cell_style,
draw_cell_pixbuf): renamed as nautilus_list_X
Ensure that the list view fetches the correct icons (i.e.
special anti-aliased images if the view is in smooth mode)
* libnautilus-extensions/nautilus-list.c
(nautilus_list_is_anti_aliased): new function
* src/file-manager/fm-list-view.c
(fm_list_view_update_smooth_graphics_mode): call update_icons
(fm_list_view_get_emblem_pixbufs_for_file, install_row_images):
pass the correct aa mode to the icon factory
Draw tree-view icons in smooth mode when appropriate:
* components/tree/nautilus-tree-view.c
(update_smooth_graphics_mode,
smooth_graphics_mode_changed_callback): new functions. As yet
they don't refetch all icons when the smooth preference
changes..
Fixed the bug introduced recently where the tree gets a title
bar:
* libnautilus-extensions/nautilus-list.c
(nautilus_list_realize): don't turn on titles
* src/file-manager/fm-list-view.c (create_list): set the
CLIST_SHOW_TITLES flag
2001-03-28 Michael Engber <engber@eazel.com>
reviewed by: Darin Adler <darin@eazel.com>
* components/notes/nautilus-notes.c: (set_note_text_from_metadata),
(done_with_file), (notes_load_metainfo), (notes_save_metainfo),
(do_destroy):
Notes updates text on metadata changes - bug 4422.
2001-03-28 Robey Pointer <robey@eazel.com>
reviewed by: Eskil Heyn Olsen <eskil@eazel.com>
who glanced at it before passing out
* components/services/install/lib/eazel-install-logic2.c:
(dedupe_foreach_depends):
Backport a fix for deduping from the branch. (This may fix some
bugs related to deduping suites; to be honest, nobody remembers
what this patch was originally supposed to do.)
* components/services/install/lib/eazel-install-object.c:
(eazel_install_initialize):
* components/services/install/lib/eazel-package-system-types.c:
* components/services/install/lib/eazel-softcat-private.h:
* components/services/install/lib/eazel-softcat.h:
Change 'eazel_softcat_set_packages_pr_query' to
'eazel_softcat_set_packages_per_query' because I just can't see
one extra letter making a difference in a function name that long
anyway.
* components/services/install/lib/eazel-softcat.c:
(eazel_softcat_initialize), (eazel_softcat_set_packages_per_query),
(eazel_softcat_get_info), (eazel_softcat_get_info_plural):
Backport a fix for suites from the branch. This caused wrong
error messages for the case where a suite contained only one
package (which is currently nearly 99% of all suites in softcat).
Adam noticed this a few days ago.
* nautilus-installer/src/installer.c: (report_unusual_errors):
Fix a trivial FIXME.
These should be the last of the patches that need to be backported
from the 1.0 branch.
2001-03-28 Eskil Heyn Olsen <eskil@eazel.com>
* components/services/install/lib/eazel-package-system-types.h:
* components/services/install/lib/eazel-package-system-types.c:
(flatten_packagedata_dependency_tree), (packagedata_list_prune),
(packagedata_is_suite):
Added a (bool)packagedata_is_suite call which checks if the
suite_id field is actually a suite or something else.
* components/services/install/lib/eazel-install-logic2.c:
(prune_failed_packages_helper), (get_softcat_info), (post_check),
(check_dependencies_foreach), (do_dep_check_internal),
(check_no_two_packages_has_same_file),
(check_conflicts_against_already_installed_packages):
* components/services/install/lib/eazel-install-protocols.c:
(eazel_install_fetch_package):
Use the packagedata_is_suite call.
2001-03-28 Jason Leach <jasonleach@usa.net>
reviewed by: Darin Adler <darin@eazel.com>
* libnautilus-extensions/nautilus-directory-private.h: builddir !=
srcdir fix by changing #include "nautilus-idle-queue.h" to
#include <libnautilus/nautilus-idle-queue.h>.
2001-03-28 John Sullivan <sullivan@eazel.com>
reviewed by: Eli Goldberg <eli@eazel.com>
* libnautilus-extensions/nautilus-global-preferences.c:
Tweaked wording of font & font size preferences. They're
still a little awkward, but I think mostly in ways that
reflect their actual use, which is still a little awkward.
2001-03-28 Robin * Slomkowski <rslomkow@eazel.com>
* configure.in: upped version to 1.0.1.1 to keep version numbers
up above branch work.
2001-03-28 Darin Adler <darin@eazel.com>
reviewed by: Gene Ragan <gzr@eazel.com>
Followup on my recent tree change to get rid of some flicker.
* components/tree/nautilus-tree-view.c:
(set_selected_row_position): Only scroll the view if the row isn't
already in the right position. Prevents the case where it scrolls
by less than a whole row.
* cut-n-paste-code/widgets/nautilusclist/nautilusclist.h:
* cut-n-paste-code/widgets/nautilusclist/nautilusclist.c:
(nautilus_clist_thaw), (nautilus_clist_check_unfrozen),
(real_resize_column), (real_row_move), (resync_selection),
(nautilus_clist_map), (nautilus_clist_style_set),
(real_sort_list):
Add code to detect changes and only redraw when actual changes
happen. Also make freeze/thaw with no changes between them a no-op
by having the frozen check schedule a refresh at thaw time as a
side effect. It used to do a refresh every time it got thawed. Add
calls to do refresh for all cases where the old code was counting
on thaw implying a full refresh.
* libnautilus-extensions/nautilus-ctree.c: (real_tree_move),
(real_select_all), (nautilus_ctree_insert_gnode),
(nautilus_ctree_remove_node), (nautilus_ctree_expand_recursive),
(nautilus_ctree_expand_to_depth),
(nautilus_ctree_collapse_recursive),
(nautilus_ctree_collapse_to_depth),
(nautilus_ctree_toggle_expansion_recursive),
(nautilus_ctree_real_select_recursive),
(nautilus_ctree_set_node_info), (nautilus_ctree_set_indent),
(nautilus_ctree_set_spacing), (nautilus_ctree_set_line_style),
(nautilus_ctree_sort_recursive), (nautilus_ctree_sort_node),
(nautilus_ctree_sort_single_node):
Use the new unfrozen check that has a side effect of making the
next thaw do a refresh. Add the new refresh calls that are needed
now that thaw doesn't always do a refresh. Removed some
unnecessary drawing for cases where things haven't changed.
* libnautilus-extensions/nautilus-list.c:
(nautilus_list_track_new_column_width):
Use the new unfrozen check that has a side effect of making the
next thaw do a refresh.
* src/file-manager/fm-list-view.c: (fm_list_view_set_zoom_level):
Formatting tweak.
2001-03-28 Ramiro Estrugo <ramiro@eazel.com>
* components/text/nautilus-text-view-ui.xml:
* components/text/nautilus-text-view.c: (merge_bonobo_menu_items):
* libnautilus-extensions/nautilus-font-factory.c:
(nautilus_font_factory_get_font_by_family):
Change "default" to "GTK System Font." Also add a FIXME for the fact
that the string "GTK System Font" is hard coded in many places.
Im going to fix this better in a bit.
* libnautilus-extensions/nautilus-global-preferences.c:
(global_preferences_populate_pane):
Add documentation for the preference and preference dialog item
structures and tables. Also cleanup a bit of cruft left over from
the last checkin.
* libnautilus-extensions/nautilus-preferences-item.c:
(nautilus_preferences_item_initialize), (preferences_item_destroy),
(preferences_item_create_constrained_integer),
(preferences_item_create_font),
(constrained_integer_changed_callback),
(nautilus_preferences_item_set_constrained_integer_values):
* libnautilus-extensions/nautilus-preferences-item.h:
Add support for having the constrained integer values be
independent of the labels.
2001-03-28 Ramiro Estrugo <ramiro@eazel.com>
Fix bugs:
7343 - Fonts checks should work even when nautilus has not
undergone 'make install'
7703 - index status dialog is mixing gnome dialog font and
nautilus custom font
7204 - Need a better way to pick a fallback font
1102 - Embedded text should use preferences to determine the font
it uses
7357 - Preferences dialog spews critical in the ja_JP locale
7344 - NautilusScalable should not be doing any preferences
peeking
7345 - Default font "helvetica" hard coded and marked for
translatation in many places
7834 - Should mark selected style in font picker menu
5239 - Please make the text viewer use a fixed-width font
7401 - Non smooth font family picker should have a "GTK System
Font" entry
Work in progress for related bugs:
5101 - font sizes hard-coded in icon view
5456 - Sidebar tabs use hard coded font families
7670 - Font size is small in list view.
reviewed by: Glynn Foster <glynn.foster@ireland.sun.com>
* components/notes/nautilus-notes.c: (make_notes_view):
Dont translate the font name.
* components/text/nautilus-text-view-ui.xml:
Add default and fixed entries.
* components/text/nautilus-text-view.c:
(nautilus_text_view_initialize_class),
(nautilus_text_view_initialize), (nautilus_text_view_destroy),
(nautilus_text_view_update_font), (handle_ui_event),
(merge_bonobo_menu_items), (nautilus_text_view_zoom_to_level),
(zoomable_zoom_to_fit_callback), (font_changed_callback):
Dont store the font name and size. Compute these as needed. Use
deltas instead of hard coded font sizes to compute the font size
for a given zoom level. Store the font changes in preferences.
* libnautilus-extensions/nautilus-caption.c:
(nautilus_caption_initialize), (nautilus_caption_set_title_label),
(nautilus_caption_get_title_label),
(nautilus_caption_get_title_label_width),
(nautilus_caption_set_child), (nautilus_caption_set_spacing):
* libnautilus-extensions/nautilus-caption.h:
Add support for nice caption alignments.
* libnautilus-extensions/nautilus-directory.c:
(add_preferences_callbacks), (remove_preferences_callbacks):
A bit of a hack. Keep track of changes in the default smooth font
so that embedded icon text previews can be updated as needed.
* libnautilus-extensions/nautilus-font-factory.c:
(nautilus_font_factory_get_font_by_family),
A temporary hack for default system font usage. In a future
checkin this will not be needed anymore.
(nautilus_font_factory_get_font_from_preferences):
Dont translate font names anymore.
* libnautilus-extensions/nautilus-font-manager.c:
(font_description_new), (font_description_free),
(font_description_get_char_set), (font_description_table_for_each),
(font_list_find_bold_callback), (get_test_font_dir),
(nautilus_self_check_font_manager):
* libnautilus-extensions/nautilus-font-manager.h:
Merge char_set_registry and char_set_encoding into one string
'char_set.' Make the font checks work even if nautilus has not
undergone 'make install'
* libnautilus-extensions/nautilus-font-picker.c:
(nautilus_font_picker_initialize), (nautilus_font_picker_destroy),
(font_picker_populate), (font_make_style_name),
(font_style_entry_new), (compare_style),
(global_font_list_populate_callback):
* libnautilus-extensions/nautilus-font-picker.h:
Sublcass the font picker from NautilusCaption so that it will
nicely align in the preferences dialog.
Mark selected style in font picker menus by using radio buttons.
Fix a storage leak on destruction.
* libnautilus-extensions/nautilus-glib-extensions.c:
(nautilus_compare_integer), (nautilus_self_check_glib_extensions):
* libnautilus-extensions/nautilus-glib-extensions.h:
New GCompare function for integers.
* libnautilus-extensions/nautilus-global-preferences.c:
(global_preferences_install_defaults),
(global_preferences_create_dialog),
(global_preferences_create_search_pane),
(global_preferences_create_sidebar_panels_pane),
(global_preferences_pane_update_callback),
(global_preferences_get_dialog),
(global_preferences_install_sidebar_panel_defaults),
(global_preferences_make_sidebar_panel_key),
(global_preferences_is_sidebar_panel_enabled),
(global_preferences_install_home_location_defaults),
(global_preferences_install_font_defaults),
(global_preferences_install_medusa_defaults),
(global_preferences_populate_pane),
(global_preferences_get_smooth_font),
(global_preferences_get_smooth_bold_font),
(nautilus_global_preferences_get_icon_view_smooth_font),
(nautilus_global_preferences_get_default_smooth_font),
(nautilus_global_preferences_get_default_smooth_bold_font),
(nautilus_global_preferences_initialize):
* libnautilus-extensions/nautilus-global-preferences.h:
Simplify the creation of preferences by using structures to
describe both preferences and preference fialog entries.
* libnautilus-extensions/nautilus-gtk-extensions.c:
(nautilus_gtk_get_system_font):
* libnautilus-extensions/nautilus-gtk-extensions.h:
New function to obtain the "Gtk System Font."
* libnautilus-extensions/nautilus-icon-canvas-item.c:
(nautilus_icon_canvas_item_initialize_class),
(nautilus_icon_canvas_item_set_arg),
(nautilus_icon_canvas_item_get_arg),
(nautilus_icon_canvas_item_set_smooth_font_size):
* libnautilus-extensions/nautilus-icon-canvas-item.h:
Use signed integers for the font dimensions.
* libnautilus-extensions/nautilus-icon-container.c:
(nautilus_icon_container_initialize),
(nautilus_icon_container_update_icon),
(nautilus_icon_container_theme_changed),
(nautilus_icon_container_set_font_size_table):
* libnautilus-extensions/nautilus-icon-container.h:
* libnautilus-extensions/nautilus-icon-private.h:
Dont translate the font names. Rename the font size table to
better reflect its purpose. Use signed integers for font sizes.
* libnautilus-extensions/nautilus-icon-factory.c:
(embedded_text_font_changed_callback), (embedded_text_font_free),
(embed_text):
Keep track of changes in the smooth font used for embedded text so
that the icon text previews will update as needed.
* libnautilus-extensions/nautilus-preferences-box.c:
(nautilus_preferences_box_find_pane):
* libnautilus-extensions/nautilus-preferences-box.h:
New function to find a named pane.
* libnautilus-extensions/nautilus-preferences-group.c:
(preferences_group_align_captions),
(nautilus_preferences_group_update),
(nautilus_preferences_group_get_title_label):
* libnautilus-extensions/nautilus-preferences-group.h:
Add support for aligning captions.
* libnautilus-extensions/nautilus-preferences-item.c:
(nautilus_preferences_item_initialize),
(preferences_item_construct), (preferences_item_update_enum),
(preferences_item_create_enum),
(preferences_item_update_short_enum),
(preferences_item_create_short_enum),
(preferences_item_update_boolean),
(preferences_item_create_boolean),
(preferences_item_update_editable_string),
(preferences_item_create_editable_string),
(preferences_item_update_editable_integer),
(preferences_item_create_editable_integer),
(preferences_item_update_constrained_integer),
(preferences_item_create_constrained_integer),
(preferences_item_update_font), (preferences_item_create_font),
(preferences_item_update_smooth_font),
(preferences_item_create_smooth_font),
(nautilus_preferences_item_new),
(enum_radio_group_changed_callback),
(boolean_button_toggled_callback), (font_item_changed_callback),
(editable_string_changed_callback),
(editable_integer_changed_callback),
(constrained_integer_changed_callback),
(nautilus_preferences_item_update_displayed_value),
(preferences_item_update_editable_integer_settings_at_idle),
(nautilus_preferences_item_get_control_showing),
(nautilus_preferences_item_set_constrained_integer_paramaters),
(nautilus_preferences_item_child_is_caption),
(nautilus_preferences_item_get_caption_title_label_width),
(nautilus_preferences_item_set_caption_spacing):
* libnautilus-extensions/nautilus-preferences-item.h:
Add a new CONSTRAINED INTEGER item type. Add support for aligning
captions.
Dont translate font names.
* libnautilus-extensions/nautilus-preferences-pane.c:
(nautilus_preferences_pane_add_group),
(nautilus_preferences_pane_add_item_to_nth_group),
(nautilus_preferences_pane_get_num_visible_groups),
(nautilus_preferences_pane_get_num_groups),
(nautilus_preferences_pane_find_group):
* libnautilus-extensions/nautilus-preferences-pane.h:
Add a function for finding a named group.
* libnautilus-extensions/nautilus-scalable-font.c:
(nautilus_scalable_font_get_default_font),
(nautilus_scalable_font_get_default_bold_font):
Dont peek preferences for the default fonts. These are now
handled in nautilus-global-preferences.
* libnautilus-extensions/nautilus-smooth-text-layout.c:
(smooth_text_layout_line_list_new),
(smooth_text_layout_line_list_new_wrapped),
(nautilus_smooth_text_layout_new),
(nautilus_smooth_text_layout_set_font_size):
Use signed integers for font sizes.
* libnautilus-extensions/nautilus-string-picker.c:
(nautilus_string_picker_initialize),
(nautilus_string_picker_set_string_list):
Update for Caption superclass changes. Dont make singleton
choices insensitive.
* libnautilus-extensions/nautilus-text-caption.c:
(nautilus_text_caption_initialize):
* libnautilus-extensions/nautilus-text-caption.h:
Update for Caption superclass changes. Fix errors in header comments.
* src/file-manager/fm-directory-view.c:
(fm_directory_view_initialize), (fm_directory_view_destroy):
* src/file-manager/fm-directory-view.h:
Remove knowledge of font stuff. The fonts for icon and list view
are now handled separately so each subclass will have to do its
own preferences listening.
* src/file-manager/fm-icon-view.c: (set_sort_criterion_by_id),
(font_changed_callback), (smooth_font_changed_callback),
(standard_font_size_changed_callback),
(fm_icon_view_initialize_class), (fm_icon_view_initialize),
(fm_icon_view_update_icon_container_font_size_table),
(fm_icon_view_update_icon_container_smooth_font),
(create_icon_container):
Keep track of icon view font changes. Use deltas to compute the
font sizes instead of hard coded point sizes.
* src/file-manager/fm-list-view.c: (fm_list_view_initialize_class),
(fm_list_view_initialize), (fm_list_view_update_font),
(font_or_font_size_changed_callback),
(fm_list_view_image_display_policy_changed):
Keep track of list view font changes. Use deltas to compute the
font sizes instead of hard coded point sizes.
* src/file-manager/nautilus-indexing-info.c:
(last_index_time_and_reindex_button_dialog_new),
(index_progress_dialog_new):
Dont use smooth labels mixed in with regular gtk labels.
* src/nautilus-sidebar-tabs.c:
(nautilus_sidebar_tabs_load_theme_data),
(smooth_font_changed_callback), (nautilus_sidebar_tabs_initialize),
(nautilus_sidebar_tabs_destroy):
Add macros and FIXME for hard coded font size. NULL out the tab_font
when its unreffed, otherwise all hell breaks lose when user level
changes. Update for default font changes.
* src/nautilus-sidebar-title.c: (smooth_font_changed_callback),
(nautilus_sidebar_title_initialize),
(nautilus_sidebar_title_destroy), (update_font):
Keep track of smooth font changes. Update for default font changes.
* test/test-nautilus-font-manager.c: (font_iterator_callback):
* test/test-nautilus-font-picker.c: (update_font),
(print_selected_font_callback), (main):
* test/test-nautilus-label-simple.c: (use_system_font_callback),
(use_system_font_bold_callback), (main):
Update for font picker and font manager changes.
2001-03-27 Darin Adler <darin@eazel.com>
reviewed (a bit) by: John Sullivan <sullivan@eazel.com>
Some tree view changes so it only does work when the tree view is
open, not when it's closed. Also improved speed by not creating so
many pixmaps, which required changing lots of classes to use
pixbufs instead of pixmaps.
* components/tree/libmain.c: (tree_shlib_object_destroyed),
(tree_shlib_make_object): Changed to use NautilusTreeView
subclass of NautilusView, not widget.
* components/tree/main.c: (main): Use standard main.
* components/rpmview/nautilus-rpm-view.c:
(file_activation_callback), (fill_filename_tree_int),
(fill_filename_tree), (nautilus_rpm_view_update_from_uri):
Update to use NautilusCList instead of GtkCList.
* components/tree/nautilus-tree-change-queue.h: Got rid of ADDED
(it's now the same as CHANGED).
* components/tree/nautilus-tree-model.h:
* components/tree/nautilus-tree-model.c:
(nautilus_tree_model_initialize_class): No more ADDED.
(destroy_file_hash): New function.
(nautilus_tree_model_destroy): Destroy deferral hashes.
(nautilus_tree_model_node_begin_monitoring): Use changed instead
of added.
(report_node_changed): Emit changed instead of added.
(process_file_change): New function.
(process_directory_done_loading): New function.
(add_file_to_hash): New function.
(nautilus_tree_model_directory_files_changed_callback),
(nautilus_tree_model_directory_done_loading_callback): Either put
the file in the hash table or send the notification.
(process_one_changed_file), (process_one_done_loading_file):
Helper functions to send notifications.
(nautilus_tree_model_set_defer_notifications): Start deferring
notifications by making hash tables. Stop deferring notifications
by sending out all the notifications and then getting rid of the
hash tables.
* components/tree/nautilus-tree-view.h:
* components/tree/nautilus-tree-view-private.h:
* components/tree/nautilus-tree-view.c:
(nautilus_tree_view_insert_model_node), (ctree_is_node_expanded),
(nautilus_tree_view_update_model_node),
(awaited_node_or_uri_found), (notify_done_loading),
(notify_node_seen), (get_selected_row),
(get_selected_row_position), (set_selected_row_position),
(dequeue_pending_idle_callback), (schedule_pending_idle_callback),
(unschedule_pending_idle_callback),
(nautilus_tree_view_load_from_filesystem), (ctree_compare_rows),
(create_tree), (tree_map_callback), (tree_unmap_callback),
(nautilus_tree_view_initialize), (nautilus_tree_view_destroy),
(get_uri_sequence_to_root),
(call_when_uri_loaded_or_parent_done_loading),
(cancel_selection_in_progress),
(expand_uri_sequence_and_select_end), (select_current_location),
(tree_load_location_callback), (got_activation_uri_callback),
(ctree_get_first_selected_node),
(nautilus_tree_view_update_all_icons),
(nautilus_tree_view_initialize_class):
Convert to use pixbufs instead of pixmaps. Convert to use
NautilusList instead of GtkCList. Fix storage leak of name.
Get rid of weak use of callback function pointers. Add feature
where the selected row is kept in position as new items are added.
Eliminated ADDED and jsut used CHANGED instead. Defer creating the
tree view until the first map. Turn off processing when unmapped.
Change NautilusTreeView to be NautilusView subclass, not a widget.
* components/tree/nautilus-tree-view-dnd.c:
(nautilus_tree_view_drag_begin), (nautilus_tree_view_drag_motion),
(get_data_on_first_target_we_support),
(nautilus_tree_view_button_press),
(nautilus_tree_view_button_release),
(nautilus_tree_view_motion_notify),
(nautilus_tree_view_set_dnd_icon),
(nautilus_tree_view_collapse_node),
(nautilus_tree_view_expand_or_collapse_row),
(nautilus_tree_view_tree_node_at), (auto_scroll_timeout_callback),
(nautilus_tree_view_real_scroll),
(nautilus_tree_view_collapse_all),
(nautilus_tree_view_receive_dropped_icons),
(nautilus_tree_view_drag_destroy),
(nautilus_tree_view_drag_destroy_real):
Switch from GtkCList to NautilusCList. Also get rid of code that
assumes NautilusTreeView is a widget. Also convert to use pixbufs
instead of pixmaps.
* cut-n-paste-code/widgets/nautilusclist/nautilusclist.h:
* cut-n-paste-code/widgets/nautilusclist/nautilusclist.c:
(nautilus_clist_optimal_column_width), (nautilus_clist_set_text),
(nautilus_clist_set_pixbuf), (nautilus_clist_get_pixbuf),
(nautilus_clist_set_pixtext), (nautilus_clist_get_pixtext),
(set_cell_contents), (cell_size_request), (real_insert_row),
(draw_row), (draw_rows), (row_delete):
Change to use pixbufs instead of pixmaps. Remove most of the
drawing code since this can only be used as a base class for
NautilusList anyway. Add boolean to set_cell_contents so it
redraws only if the cell has changed.
* libnautilus-extensions/nautilus-ctree.h:
* libnautilus-extensions/nautilus-ctree.c: (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_event), (nautilus_ctree_unrealize),
(nautilus_ctree_button_press), (draw_drag_highlight),
(nautilus_ctree_row_at), (get_cell_rectangle),
(nautilus_ctree_set_prelight), (draw_cell_pixbuf),
(get_cell_style), (nautilus_ctree_draw_expander),
(nautilus_ctree_draw_lines), (draw_row), (tree_draw_node),
(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),
(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), (real_insert_row),
(nautilus_ctree_insert_node), (nautilus_ctree_insert_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_find_node_ptr), (nautilus_ctree_node_nth),
(nautilus_ctree_find), (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_expand_recursive),
(nautilus_ctree_expand_to_depth),
(nautilus_ctree_collapse_recursive),
(nautilus_ctree_collapse_to_depth),
(nautilus_ctree_toggle_expansion_recursive),
(nautilus_ctree_real_select_recursive),
(nautilus_ctree_node_set_text), (nautilus_ctree_node_set_pixbuf),
(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_cell_type),
(nautilus_ctree_node_get_text), (nautilus_ctree_node_get_pixbuf),
(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_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), (nautilus_ctree_sort_single_node),
(fake_unselect_all), (selection_find), (resync_selection),
(real_undo_selection), (check_drag), (drag_dest_info_destroy),
(drag_dest_cell), (nautilus_ctree_drag_begin),
(nautilus_ctree_drag_motion), (nautilus_ctree_drag_data_received):
Change to use NautilusList instead of GtkCList. Change to use
pixbufs instead of pixmaps. Use set_cell_contents boolean to only
redraw when cell has changed.
* libnautilus-extensions/nautilus-gtk-extensions.h:
* libnautilus-extensions/nautilus-gtk-extensions.c:
(nautilus_gtk_marshal_POINTER__INT): Add new marshal needed for
the pixbuf version of a NautilusList call.
(nautilus_drag_set_icon_pixbuf): Helper to convert pixbuf to
a pixmap and mask for GTK's sake.
* libnautilus-extensions/nautilus-icon-dnd.c:
(nautilus_icon_dnd_begin_drag): Use nautilus_drag_set_icon_pixbuf.
* libnautilus-extensions/nautilus-list.h:
* libnautilus-extensions/nautilus-list.c:
(nautilus_list_initialize_class), (nautilus_list_initialize_dnd),
(nautilus_list_initialize), (nautilus_list_destroy), (draw_cell),
(nautilus_list_mark_cell_as_link),
(nautilus_list_set_cell_contents), (set_list_cell),
(get_list_cell), (nautilus_list_drag_start),
(nautilus_list_receive_dropped_icons):
Take advantage of the new changes in NautilusCList, which now uses
pixmaps directly. Change drag signal to use a pixbuf, not a
pixmap. Change so it doesn't do the DND stuff unless you
explicitly call for it. Use set_cell_contents boolean to only
redraw when cell has changed.
* src/file-manager/fm-list-view.c: (fm_list_get_drag_pixbuf),
(fm_list_get_sort_column_index), (create_list), (set_up_list):
Change to use the new pixbuf signal instead of the old pixmap one.
Make a call to ask NautilusList to do the DND stuff.
2001-03-27 Ramiro Estrugo <ramiro@eazel.com>
* components/services/clone/.cvsignore:
More generated files.
2001-03-27 Ramiro Estrugo <ramiro@eazel.com>
* components/services/clone/.cvsignore:
Ignore generated files.
Tue Mar 27 15:56:00 2001 George Lebl <jirka@5z.com>
Reviewed by a bunch of people on bugzilla, and according to everyone
it actually works, despite being written by me.
* libnautilus-extensions/nautilus-icon-container.c
(nautilus_icon_container_update_scroll_region)
(lay_down_icons_horizontal) (lay_down_icons_tblr)
(nautilus_icon_container_set_margins)
libnautilus-extensions/nautilus-icon-container.h
libnautilus-extensions/nautilus-icon-private.h
src/file-manager/fm-desktop-icon-view.c (panel_desktop_area_changed)
(desktop_icon_view_property_filter) (fm_desktop_icon_view_destroy)
(fm_desktop_icon_view_initialize): Reads GNOME_PANEL_DESKTOP_AREA
hint from the root window, which the panel sets to give the area
not covered by panels. Then set margins on the icon container so
that the icons are shifted away from the panels. Also when
relaying out icons the new size is taken into account.
Fix #1447, the infamous showstopper uber bug.
2001-03-27 Gene Z. Ragan <gzr@eazel.com>
Use the proper automake defined conditional to
enable audio cd mounting.
* libnautilus-extensions/nautilus-volume-monitor.c:
(get_removable_volumes), (get_current_mount_list):
2001-03-27 Eskil Heyn Olsen <eskil@eazel.com>
Clone now basically works. It will however almost always crash
since ORBit can't transfer big buffers.
* components/services/clone/eazel-clone.c:
(eazel_file_conflict_check_signal),
(eazel_file_uniqueness_check_signal),
(eazel_feature_consistency_check_signal),
(eazel_download_progress_signal), (eazel_install_progress_signal),
(eazel_uninstall_progress_signal), (download_failed),
(install_failed), (uninstall_failed),
(eazel_preflight_check_signal), (dep_check), (md5_check_failed),
(done), (get_password_dude), (do_clone):
Added --downgrade.
Added "I: "'s and \n's to a lot of printfs.
* components/services/install/lib/eazel-install-object.c:
(eazel_install_emit_preflight_check),
(eazel_install_emit_save_transaction):
Code to "circumvent" the ORBit buffersize bug.
* components/services/install/lib/eazel-softcat.c:
(split_by_multiple):
Fixed bug that caused packages searched for by name but with
version to be slammed into one huge query.
2001-03-27 John Sullivan <sullivan@eazel.com>
reviewed by: Maciej Stachowiak <mjs@eazel.com>
Fixed bug 2328 (No way to go to a specific URI if location
bar is hidden)
Fixed by adding a new item "Location ..." to the Go menu,
with control-L as keyboard shortcut. ("Create Link", formerly
control-L, is now "Make Link", control-M.) Choosing "Location ..."
makes the location bar visible if necessary and selects the
location text field's contents so you can start typing to replace
it. If the location bar had been hidden, it will hide itself again
when you hit Return.
At the same time, made the "Find" menu item (control-F) always
show the Find controls and move the focus there, instead of
toggling between Find & Browse. The Find toolbar button remains
a toggle button.
Fixed bug 3590 (Remove workaround for Bonobo design flaw)
Fixed bug 7303 (Conflicts on menu item underline accelerators)
Fixed these incidentally when working on 2328.
* src/file-manager/fm-directory-view.c: (real_update_menus):
* src/file-manager/nautilus-directory-view-ui.xml:
Changed Create Link(s) to Make Link(s), and changed its
accelerator to Control-M.
* src/nautilus-location-bar.c:
(real_activate): select all text when activating (used to
just grab focus)
(nautilus_location_bar_initialize): Changed definition
of entry to be a NautilusEntry.
* src/nautilus-shell-ui.xml: added "Location ..." item in
Go menu; renamed some commands and items for clarity;
moved a couple of accelerators into verbs.
* src/nautilus-switchable-navigation-bar.h:
* src/nautilus-switchable-navigation-bar.c:
(nautilus_switchable_navigation_bar_activate),
(nautilus_switchable_navigation_bar_set_mode):
Broke _activate out of _set_mode and made it
public; tweaked _set_mode a little.
* src/nautilus-window-private.h: Added temporary_navigation_bar
boolean to details struct.
* src/nautilus-window-menus.c:
(nautilus_window_show_location_bar_temporarily): New function,
shows location bar and sets the flag to hide it after it
signals for a location change.
(file_menu_find_callback): New function, switches to find mode,
showing location bar temporarily if necessary.
(toolbar_toggle_find_mode_callback): renamed from file_menu_xxx
now that it's only used by the toolbar, toggles Find mode,
showing location bar temporarily if necessary.
(go_menu_location_callback): New function, switches to browse mode,
showing location bar temporarily if necessary.
(nautilus_window_initialize_menus_part_1): futz with verbs for
these menu items.
(nautilus_window_update_find_menu_item): Remove this call since
the menu item is no longer dynamic.
(nautilus_window_remove_go_menu_items): Remove call to
nautilus_window_update_find_menu_item.
* src/nautilus-window.c:
(go_to_callback): Cleaned up style a little.
(navigation_bar_location_changed_callback): New function, called
when location bar says "hey, here's a new location for you".
Hides the location bar if it was temporarily showing.
(navigation_bar_mode_changed_callback): Remove call to
nautilus_window_update_find_item.
(nautilus_window_constructed): Wire up
navigation_bar_location_changed_callback.
(nautilus_window_hide_location_bar): Clear the
temporary_navigation_bar flag.
* components/text/nautilus-text-view-ui.xml: Change _Fonts to
F_onts to avoid conflict with _File.
Tue Mar 27 02:25:31 2001 George Lebl <jirka@5z.com>
* components/help/hyperbola-nav-tree.c (ensure_italic_style)
(set_node_style) (reset_style_for_node) (reset_styles)
(ensure_pixmap_and_mask) (ensure_icons) (get_node_icons)
(ctree_populate_subnode) (ctree_populate)
(hyperbola_navigation_tree_new) (pixmap_unref_and_null)
(bitmap_unref_and_null) (hyperbola_navigation_tree_destroy):
Remove the italic stuff and replace with icons. There's a
different icon for folders, different for books and different for
sections. The one for sections is the one used for man and info
pages, but we could also have a separate one for those. I suppose
that's up to Arlo. This should fix #6911, though I suppose I'll
leave it open to get further feedback.
* icons/Makefile.am, hyperbola-book-closed.png,
hyperbola-book-open.png, hyperbola-folder-closed.png,
hyperbola-folder-open.png, hyperbola-section-closed.png,
hyperbola-section-open.png: Add some testing icons, stolen
from the GTK+ testing program.
Tue Mar 27 00:45:02 2001 George Lebl <jirka@5z.com>
* components/help/hyperbola-filefmt.c
(fmt_scrollkeeper_parse_toc_section)
(fmt_scrollkeeper_parse_document) (fmt_toplevel_add_doc):
Properly set BOOK and SECTION types instead of making everything
FOLDER. No wonder my original patch to #6911 didn't all work.
This makes it work, though apparently icons are involved now, so
it's still not fixed.
* components/help/hyperbola-nav-tree.c (set_node_style):
Also set italic style for SECTIONs which are now set correctly
in the above fix.
2001-03-26 Gene Z. Ragan <gzr@eazel.com>
* libnautilus-extensions/nautilus-audio-player.c:
* libnautilus-extensions/nautilus-audio-player.h:
(player_thread),
(nautilus_audio_player_play), (nautilus_audio_player_stop),
(esdout_init), (esdout_write), (get_latency), (esd_stou8),
(esd_utos16sw), (esd_utos16), (esd_16sw):
New code to add support for an audio player thread. This is
a first step to avoid the use of external binaries from
within nautilus to preview audio. This will hopefully allow
us to use a more flexible preview mechanism in the future.
The new code currently uses the audiofile library from
gnome cvs.
* libnautilus-extensions/Makefile.am:
Add new files to build.
* src/file-manager/fm-icon-view.c: (fm_icon_view_destroy),
(fm_icon_view_begin_loading), (play_file), (preview_audio),
(icon_container_preview_callback), (fm_icon_view_initialize):
Add a conditional to allow the use of the new audio preview
code. The conditional is currently set to use the old code,
not the new mechanism.
2001-03-26 Michael Engber <engber@eazel.com>
reviewed by: Darin Adler <darin@eazel.com>
* libnautilus-extensions/nautilus-directory-async.c:
(is_anyone_waiting_for_metafile), (call_ready_callbacks),
(start_or_stop_io), (nautilus_directory_cancel):
* libnautilus-extensions/nautilus-directory-metafile-monitor.c:
(corba_metafile_ready):
* libnautilus-extensions/nautilus-directory-metafile.c:
(get_metafile), (nautilus_directory_rename_file_metadata),
(nautilus_directory_rename_directory_metadata):
* libnautilus-extensions/nautilus-directory-metafile.h:
* libnautilus-extensions/nautilus-directory-private.h:
* libnautilus-extensions/nautilus-directory.c:
(nautilus_directory_initialize), (nautilus_directory_destroy),
(set_directory_uri), (change_directory_uri),
(nautilus_self_check_directory):
* libnautilus-extensions/nautilus-directory.h:
* libnautilus-extensions/nautilus-file-utilities.c:
(nautilus_file_name_matches_backup_pattern),
(nautilus_file_name_matches_metafile_pattern):
* libnautilus-extensions/nautilus-file-utilities.h:
* libnautilus-extensions/nautilus-file.c:
(nautilus_file_is_metafile):
* libnautilus-extensions/nautilus-file.h:
* libnautilus-extensions/nautilus-metafile-factory.c: (corba_open):
* libnautilus-extensions/nautilus-metafile-server.idl:
* libnautilus-extensions/nautilus-metafile.c:
(nautilus_metafile_class_init), (nautilus_metafile_init),
(destroy), (construct_private_metafile_vfs_uri),
(nautilus_metafile_set_directory_uri), (nautilus_metafile_new),
(nautilus_metafile_get), (schedule_next_read), (async_read_start),
(async_read_done), (async_read_cancel), (corba_is_read),
(corba_get), (corba_get_list), (corba_set), (corba_set_list),
(corba_copy), (corba_remove), (corba_rename),
(corba_rename_directory), (corba_register_monitor),
(corba_unregister_monitor),
(nautilus_metafile_notify_metafile_ready), (call_metafile_changed),
(call_metafile_changed_for_all_files_mentioned_in_metafile),
(call_metafile_changed_for_one_file), (create_metafile_root),
(get_file_node), (get_metadata_string_from_metafile),
(get_metadata_list_from_metafile),
(set_metadata_string_in_metafile), (set_metadata_list_in_metafile),
(set_metadata_in_metafile), (get_metadata_string_from_table),
(get_metadata_list_from_table), (set_metadata_eat_value),
(metafile_free_metadata), (get_file_metadata),
(get_file_metadata_list), (set_file_metadata),
(set_file_metadata_list), (metafile_get_file_uri),
(rename_file_metadata), (apply_one_change), (apply_file_changes),
(nautilus_metafile_apply_pending_changes), (copy_file_metadata),
(remove_file_metadata), (nautilus_metafile_set_metafile_contents),
(metafile_read_cancel), (can_use_public_metafile),
(metafile_read_mark_done), (metafile_read_done),
(metafile_read_try_public_metafile),
(metafile_read_check_for_directory_callback),
(metafile_read_check_for_directory), (metafile_read_failed),
(metafile_read_done_callback), (metafile_read_restart),
(allow_metafile), (metafile_read_start), (metafile_write_done),
(metafile_write_failed), (metafile_write_failure_close_callback),
(metafile_write_success_close_callback), (metafile_write_callback),
(metafile_write_create_callback), (metafile_write_start),
(metafile_write), (metafile_write_idle_callback),
(directory_request_write_metafile):
* libnautilus-extensions/nautilus-metafile.h:
* libnautilus-extensions/nautilus-vfs-directory.c:
(vfs_is_not_empty):
Factored the metadata reading/writing code out of nautilus-directory
- bug 6661.
2001-03-26 Eskil Heyn Olsen <eskil@eazel.com>
Initial commit of machine cloning.
* components/services/Makefile.am:
* components/services/clone/Makefile.am:
* configure.in:
The usual makefile trickery etc.
* components/services/clone/eazel-clone-lib.h:
* components/services/clone/eazel-clone-lib.c:
(eazel_install_clone_load_inventory),
(eazel_install_clone_check_existing),
(eazel_install_clone_compare_inventory),
(eazel_install_clone_create_inventory):
The lib that generates an inventory and does inventory compare.
* components/services/clone/eazel-clone.c:
(set_parameters_from_command_line),
(eazel_file_conflict_check_signal),
(eazel_file_uniqueness_check_signal),
(eazel_feature_consistency_check_signal),
(eazel_download_progress_signal), (eazel_install_progress_signal),
(eazel_uninstall_progress_signal), (download_failed),
(install_failed), (uninstall_failed),
(eazel_preflight_check_signal), (eazel_save_transaction_signal),
(dep_check), (md5_check_failed), (delete_files), (done),
(get_password_dude), (set_root_client), (do_clone), (main):
Rehack of eazel-alt-install-corba.c to act as cli clone util.
* components/services/install/command-line/eazel-alt-install-corba.
c:
Reenabled --revert...
* components/services/install/lib/eazel-install-xml-package-list.c:
(parse_shared), (eazel_install_packagedata_to_xml_int):
Tighter FILESIZE and BYTESIZE in xml.
* components/services/install/lib/eazel-package-system-rpm3.c:
(eazel_package_system_implementation):
Spew root and DB when starting.
* components/services/install/lib/eazel-package-system-types.c:
* components/services/install/lib/eazel-package-system-types.h:
Authors stuff.
* components/services/install/lib/eazel-package-system.c:
(eazel_package_system_suggest_id):
Committed patch from fcrozat@mandrakesoft.com to correctly set
RPM4 for Mandrake 8.0
Mon Mar 26 01:39:43 2001 George Lebl <jirka@5z.com>
This patch killed two people, but Seth says it's not that bad
* components/help/hyperbola-nav-tree.c
(hyperbola_navigation_tree_new): replace gtk_clist_columns_autosize
with gtk_clist_set_column_auto_resize. The former is a one time
thing, whereas we want to do this all the time. Fixes #7424
Sun Mar 25 17:02:17 2001 George Lebl <jirka@5z.com>
Review dude: Maciej
* components/music/id3_frame.c (id3_read_frame)
components/music/id3_frame_text.c (id3_get_text)
components/music/id3_frame_url.c (id3_get_url)
components/music/nautilus-music-view.c (sort_list)
(click_column_callback)
components/services/trilobite/libtrilobite/trilobite-root-helper.c
(trilobite_root_helper_destroy) (trilobite_root_helper_start)
libnautilus-extensions/nautilus-file.c
(nautilus_file_list_filter_hidden_and_bac):
Use GINT_TO_POINTER and GPOINTER_TO_INT when casting ints to/from
pointers to fix 64 bit issues
2001-03-24 Rebecca Schulman <rebecka@eazel.com>
* libnautilus-extensions/nautilus-medusa-support.c:
(nautilus_medusa_check_cron_is_enabled):
Add check for "cron" as well as "crond" so that cron will
also be recognized on Debian.
2001-03-23 John Sullivan <sullivan@eazel.com>
reviewed by: Darin Adler <darin@eazel.com>
Fixed bug 2968 (Control-O insufficient for keyboard activation
of selected files)
Fixed bug 5688 (Context menu on the desktop shouldn't have
"Open in New Window")
In the new design, "Open" is always sensitive. It follows the user's
preference, except if the user's preference is "use same window" and
there are multiple items selected. "Open in New Window" is only
available when the preference is "use same window". If the preference
is "use new window", "Open in New Window" is replaced by "Open in
This Window", which is enabled only if there is exactly one item
selected (and which never launches an external application).
"Open in New Window" and "Open in This Window" both have
Control-Shift-O as a keyboard equivalent (only one of them
is visible at a time, of course).
The desktop right-click menu only has "Open", which behaves the
same way it does currently.
I think the only slightly useful behavior that has been lost is
the ability to specifically open an item in a new window via the
menu item as opposed to opening it in a way that will find an
existing window if there is one. Them's the breaks.
* src/file-manager/nautilus-directory-view-ui.xml:
Changed "OpenNew" to "OpenAlternate" for clarity;
added Control-Shift-O as accelerator for OpenAlternate.
* src/file-manager/nautilus-desktop-icon-view-ui.xml:
Set hidden attribute on OpenAlternate command.
* src/file-manager/fm-directory-view.c:
(open_callback): Changed to call the same code that hitting
Enter calls, instead of only activating a single selected item.
(open_alternate_callback): Renamed from open_in_new_window_callback,
checks new-window preference and handles selected items accordingly.
(fm_directory_view_initialize): add preferences callback to update
menus when new-window preference changes.
(fm_directory_view_destroy): remove preferences callback.
(real_merge_menus): updated for name changes.
(real_update_menus): rework sensitivity and label logic for Open
and Open in New/This Window menu items.
(filtering_changed_callback): Check whether the filtering preferences
have actually changed before deciding to reload the directory; this
reduces redrawing when switching user levels. The preference callbacks
are called when the user level changes even if the preference value
hasn't actually changed. Other places could use similar checks, some of
which I may do later if Ramiro doesn't fix the preference mechanism
itself first.
2001-03-23 Darin Adler <darin@eazel.com>
reviewed by: Pavel Cisler <pavel@eazel.com>
More loose ends of the file copy and paste feature.
* libnautilus-extensions/nautilus-directory-notify.h:
Rename NautilusFileChangesQueuePositionSetting to
NautilusFileChangesQueuePosition. Add a field so it can
be used to set or remove a position. Rename
nautilus_directory_schedule_position_setting to
nautilus_directory_schedule_position_set.
* libnautilus-extensions/nautilus-directory.c:
(nautilus_directory_schedule_position_set): Change name and also
make it handle the case where we want to remove a position rather
than setting it.
* libnautilus-extensions/nautilus-file-changes-queue.h:
* libnautilus-extensions/nautilus-file-changes-queue.c:
(nautilus_file_changes_queue_schedule_position_set): Name change.
(nautilus_file_changes_queue_schedule_position_remove): New
function used to remove a position.
(position_set_list_free): Name changes, added the new remove
flavor where needed.
(nautilus_file_changes_consume_changes): Updated SET case,
added case for REMOVE.
* libnautilus-extensions/nautilus-file-operations.c:
(icon_position_iterator_get_next): New function, used to extract
the next position out of the iterator.
(apply_one_position): Simplified by using
icon_position_iterator_get_next, and also changed so that the
position is always either removed or set.
* libnautilus-extensions/nautilus-file-operations.h: Fixed header.
* libnautilus-extensions/nautilus-gtk-extensions.h:
* libnautilus-extensions/nautilus-gtk-extensions.c:
(event_get_time), (nautilus_get_current_event_time): Add new
function to get the current event time. This is available in GTK
2.0, so we can remove it when we move up.
* libnautilus-extensions/nautilus-link.c:
(nautilus_link_local_create): Updated for change to notify API.
* libnautilus-extensions/nautilus-program-choosing.c:
(nautilus_launch_application_from_command): Added FIXME.
* src/file-manager/fm-directory-view.c: (copy_or_cut_files): Use
new nautilus_get_current_event_time function. Put up a status
string about the cut or copy. Since there's no other feedback this
is especially important.
(paste_files_callback): Use new nautilus_get_current_event_time
function.
(real_selection_clear_event): Erase the status string.
(real_selection_received): Put up a status string if the paste
does nothing. Since we can't desensitize the Paste Files command,
this is the next best thing.
2001-03-23 Darin Adler <darin@eazel.com>
reviewed by: John Sullivan <sullivan@eazel.com>
* src/file-manager/fm-directory-view.c: (real_update_menus):
* src/file-manager/nautilus-directory-view-ui.xml:
Added underscore accelerator for Delete command (when it's
visible) and put Cut/Copy/Paste into the right-click menu for
files.
2001-03-23 John Sullivan <sullivan@eazel.com>
At Andy and Arlo's request, removed the icon from the
Preferences menu and moved the Help menu after it. Andy
is investigating another way for the current user level
symbol to appear onscreen somewhere.
* src/nautilus-shell-ui.xml: Moved Preferences submenu
before Help; removed 'pixtype="filename"'
* src/nautilus-window-menus.c:
(switch_to_user_level): Removed code to set menu title icon.
(user_level_changed_callback), (update_user_level_menu_items):
Removed these functions, which were only setting the menu title icon.
(nautilus_window_initialize_menus_part_1): removed call to
update_user_level_menu_items and callback setup for
user_level_changed_callback.
2001-03-23 John Sullivan <sullivan@eazel.com>
Fixed bug 7846: crash removing only bookmark in Bookmarks window.
GtkCList is emitting a select_row signal on a non-existent row,
which caused a Nautilus parameter check to fail. Worked around
this in Nautilus. I don't know when this started happening in GTK,
but I'm sure it didn't crash here when the bookmarks window
was last tested. I've sent mail to gtk-devel-list about the
GtkCList issue.
* src/nautilus-bookmarks-window.c: (on_select_row):
Bail out without doing anything if selected row is not
a valid row number.
2001-03-23 John Sullivan <sullivan@eazel.com>
reviewed by: Pavel Cisler <pavel@eazel.com>
Make properties window show link target path for
symbolic links (not for NautilusLinks yet; I'll do
that separately). This shows "unknown" with old gnome-vfs;
but will show the right result with the latest gnome-vfs
(well, it will after Pavel checks in, which will be very
soon).
* libnautilus-extensions/nautilus-file.c:
(nautilus_file_get_string_attribute): Add support
for "link_target"
* src/file-manager/fm-properties-window.c:
(should_show_link_target): returns TRUE if file is a
symbolic link.
(create_basic_page): Add "Link Target" field.
2001-03-22 Darin Adler <darin@eazel.com>
reviewed by: John Sullivan <sullivan@eazel.com>
Fix bug 6613 (no way to delete files without using trash) by
integrating Maciej's patch to add an optional Delete command (with
some fixes to the patch). There may still be some loose ends.
Fix bug 2206 (No way to move or copy a file to a different
directory from keyboard) by implementing Cut, Copy, and Paste for
files, in a way that will be familiar to Windows users. The
positioning of the new files is not right yet (they inherit their
position from the old files), there is no feedback when you have
cut some files (Arlo's idea, which I might implement, is to make
them translucent to show they are "on the way out") or when you
have copied some files, and I think there are some other loose
ends.
Fixed cut, copy, and paste within the file names when you do a
rename. This wasn't working at all.
Got rid of configure-time checks that were looking at the
existence of some special system files.
Fixed a few minor bugs discovered by code inspection.
* libnautilus-extensions/nautilus-global-preferences.h:
* libnautilus-extensions/nautilus-global-preferences.c:
(global_preferences_install_descriptions),
(global_preferences_install_defaults),
(global_preferences_install_visibility),
(global_preferences_create_dialog): Add expert preference to add a
Delete command that bypasses the Trash.
* src/file-manager/nautilus-directory-view-ui.xml: Add Delete, Cut
Files, Copy Files, and Paste Files.
* src/file-manager/fm-directory-view.c: (confirm_delete_directly),
(delete_callback): Add delete code.
(bonobo_menu_empty_trash_callback): Get rid of extraneous cast.
(fm_directory_view_initialize): Track the delete preference. Set
the flags properly to indicate we have our own X window. Add a
target so GTK knows that we accept pastes of copied files.
(forget_clipboard_contents): Helper for when we are no longer the
clipboard owner.
(fm_directory_view_destroy): Remove the delete preference
callback. Free the clipboard contents.
(offset_drop_points): Change so it handles NULL for the list of
points.
(trash_or_delete_files_common): Remove unneeded parameters.
(get_current_event_time): New function, placeholder that just
returned GDK_CURRENT_TIME. Perhaps we should get the real event
time here for use in clipboard manipulation calls.
(copy_or_cut_files): New function. Save the selection for later
use in a paste.
(copy_files_callback), (cut_files_callback): Call the new
copy_or_cut_files function.
(paste_files_callback): Do the clipboard convert that results in
the paste operation.
(real_selection_clear_event): Forget the clipboard contents.
(real_selection_get): Convert the selection into the appropriate
format and put it on the clipboard.
(convert_lines_to_str_list): Helper function for decoding incoming
pasted files.
(real_selection_received): Handle pasted files by parsing and then
triggering a file copy operation.
(real_merge_menus): Add verbs for cut, copy, and paste.
(enable_delete_changed_callback): Keep track of delete command
status in a boolean.
(real_update_menus): Show delete command if the preference is on
and we are not showing "Delete from Trash". Update names of the
Cut and Copy command depending on how many files are selected.
Also desensitize them when none are selected.
(fm_directory_view_select_file): Initialize an uninitialized field.
(fm_directory_view_move_copy_items): Allow relative_item_points to
be NULL.
(real_realize): Create our own X window.
(real_size_allocate): Trick GtkScrolledWindow into doing the right
thing despite the fact that we have our own X window.
(fm_directory_view_initialize_class): Moved down to the bottom so
we don't need so many forward declaractions. Added code to set up
some needed atoms and new default handlers.
* libnautilus-extensions/nautilus-icon-text-item.c:
(send_focus_event), (iti_stop_editing), (iti_start_editing): Add
code to send the appropriate focus events to the fake off-screen
GtkEntry. This makes the clipboard code that tracks focus-related
signals work properly with this entry.
(iti_event): Tweak the sequence and simplify the code a bit.
* libnautilus/nautilus-clipboard.c:
(set_paste_sensitive_if_clipboard_contains_data): Add more
FIXMEs. This function is very far from useful, and it's not clear
that it can be implemented efficiently under X.
(nautilus_clipboard_set_up_editable): Get rid of silly
"grab_focus" hack that was an attempt to address the problems with
the NautilusIconTextItem. The real solution was to do focusing for
that item too.
(nautilus_clipboard_set_up_editable_in_control): Fix this so it
works when called on an editable that is already focused.
* src/file-manager/fm-icon-view.c: (renaming_icon_callback): Get
rid of "grab_focus" workaround, which wasn't working.
* acconfig.h:
* configure.in:
Remove all configure checks that were checking the existence of
files.
* libnautilus-extensions/nautilus-medusa-support.c:
(nautilus_medusa_check_cron_is_enabled): Simplify logic so there's
less room for confusion (I did this as a fix for the bug that was
reported on the mailing list, but Rebecka checked in the small
patch first). Also change it so we don't need a configure-time
check for the existence of the process directory and fix it so we
won't get a core dump if the file doesn't have a space character
in it. Also change the logic so we don't leave the directory open
when we do find the cron process.
* libnautilus-extensions/nautilus-volume-monitor.c:
(nautilus_volume_monitor_initialize_class),
(has_removable_mntent_options), (get_removable_volumes),
(volume_is_removable), (volume_is_read_only),
(mount_volume_get_cdrom_name), (mount_volume_activate_cdda),
(mount_volume_activate_cdrom), (build_volume_list_delta),
(get_current_mount_list), (mount_lists_are_identical),
(verify_current_mount_state), (mount_volume_floppy_add),
(get_cdrom_type_solaris), (mount_volume_iso9660_add),
(display_mount_status), (close_error_pipe),
(nautilus_volume_monitor_mount_unmount_removable),
(mount_volume_add_filesystem): Make changes throughout to get rid
of dependence on configure-time file checks and do things at
runtime instead. Also use typedefs to make less code conditional.
Also fix the Solaris CD-ROM code which was casting a GString to
a (char *) before, so it used absurd file names, and failed to open
and returned FALSE all the time.
* libnautilus-extensions/nautilus-icon-container.c:
(nautilus_icon_container_start_renaming_selected_item): Send the
renaming signal before setting up the rest of the icon. This
change is not really needed, but it's a better order to do things.
* libnautilus/nautilus-clipboard-ui.xml: Move tips into the
commands instead of the menu items (for style mostly, no practical
implications at the moment).
* src/nautilus-shell-ui.xml: Remove tips from Cut, Copy, and Paste,
since tips from insensitive items aren't used, and if we had tips,
we'd put them on the command, not the menu item, anyway.
2001-03-22 John Harper <jsh@eazel.com>
Fixed bug 7366 (Smooth text layout cache checks take too long):
* libnautilus-extensions/nautilus-smooth-text-layout-cache.c
(nautilus_self_check_smooth_text_layout_cache): only do a small
number of iterations by default. The
NAUTILUS_LAYOUT_CACHE_TESTS environment variable can be used to
set a larger value. Also, don't print any progress messages
2001-03-22 John Sullivan <sullivan@eazel.com>
reviewed by: Darin Adler <darin@eazel.com>
Fixed bug 7843 (Name changes to Home icon are lost when
user level changes)
* src/file-manager/fm-desktop-icon-view.c:
(update_link_and_delete_copies): Made name parameter of NULL
mean "don't require name to match"; added comment.
(update_home_link_and_delete_copies): pass NULL for name
to update_link_and_delete_copies.
2001-03-22 Eskil Olsen <eskil@eazel.com
reviewed by: a donkey
* components/services/install/lib/eazel-install-logic2.c:
(get_package_info):
changed a g_file_test into a access.
* components/services/install/lib/eazel-package-system-rpm3.c:
(err_monitor_func),
(eazel_package_system_rpm3_packagedata_fill_from_header),
(monitor_subcommand_pipe), (manual_rpm_command),
(eazel_package_system_rpm3_execute):
Read and flush stderr from rpm, should fix some of the RH70 glibc 2.1.9x problems.
* nautilus-installer/src/installer.c: (check_system),
(eazel_install_get_depends), (find_old_tmpdir),
(eazel_installer_initialize):
* nautilus-installer/src/main.c:
Fixed so it compiles again.
* nautilus-installer/src/prescript:
Warn about the glibc, but don' exit
2001-03-22 John Harper <jsh@eazel.com>
reviewed by: Robin * Slomkowski <rslomkow@eazel.com>
* configure.in: require freetype version 2.0.1, library version
6.1.0
2001-03-22 John Sullivan <sullivan@eazel.com>
reviewed by: Darin Adler <darin@eazel.com>
* src/nautilus-shell-ui.xml: Added underline accelerators
to items in Preferences menu; Changed "Preferences..." to
"Edit Preferences..." so it has a different name than menu;
improved tips for user level items.
2001-03-22 John Sullivan <sullivan@eazel.com>
reviewed by: Darin Adler <darin@eazel.com>
Fixed bug 1853 (Want preference for always sorting folders first)
For now, this is a global preference. Making it
per-window later is a possibility. Arlo is working on
a design for directory view defaults that may incorporate
this.
* libnautilus-extensions/nautilus-file.h:
* libnautilus-extensions/nautilus-file.c:
(nautilus_file_compare_for_sort_reversed): Eliminated this in
favor of a parameter to nautilus_file_compare_for_sort.
(nautilus_file_compare_for_sort): Add a parameter for reversed,
and another for directories_first.
(nautilus_file_compare_for_sort_internal): Former guts of
nautilus_file_compare_for_sort moved here.
(nautilus_self_check_file): Update compare_for_sort self-checks.
* libnautilus-extensions/nautilus-global-preferences.h:
* libnautilus-extensions/nautilus-global-preferences.c:
(global_preferences_install_descriptions),
(global_preferences_install_defaults),
(global_preferences_install_visibility),
(global_preferences_create_dialog): Install an "Always list
folders before files" preference in the Icon and List Views
section.
* src/file-manager/fm-directory-view.h:
(sort_directories_first_changed): New function pointer for
subclasses to override.
* src/file-manager/fm-directory-view.c:
(fm_directory_view_should_sort_directories_first): New function
for subclasses to call.
(sort_directories_first_changed_callback): Call virtual function
when preference changes.
(fm_directory_view_initialize): Store initial value of preference;
install preference callback.
(fm_directory_view_destroy): Remove preference callback.
* src/file-manager/fm-desktop-icon-view.c:
(desktop_icons_compare_callback): Respect preference
setting.
* src/file-manager/fm-icon-view.c:
(icon_container_compare_icons_callback): Update to respect
directories_first setting.
(icon_container_compare_icons_by_name_callback): Update for API
change only.
(fm_icon_view_sort_directories_first_changed): Override virtual
function; re-sort icon container if in auto-layout mode.
(fm_icon_view_initialize_class): Install virtual function override.
* src/file-manager/fm-list-view.c:
(fm_list_view_initialize_class): Install virtual function override.
(list_view_compare_files_for_sort): New function, broken out of
fm_list_view_compare_rows, and changed to respect directories_first
setting.
(fm_list_view_compare_rows): Break out list_view_compare_files_for_sort.
(compare_rows_by_name): Update for API change only.
(real_sort_directories_first_changed): Override virtual function;
re-sort list.
(fm_list_view_display_pending_files): Update code that sorts
pending items before adding them to list.
(fm_list_view_sort_items): Add comment.
2001-03-22 Ramiro Estrugo <ramiro@eazel.com>
* configure.in: Make the configure report a little easier to read
and modify.
2001-03-21 Rebecca Schulman <rebecka@eazel.com>
Commit patch from Gianni Tedesco <gianni@ecsc.co.uk>
* libnautilus-extensions/nautilus-medusa-support.c:
(nautilus_medusa_check_cron_is_enabled):
Fix possible infinite loop in the case where
parts of proc may not be readable.
2001-03-21 Eskil Heyn Olsen <eskil@eazel.com>
This implements feature for bug 6960 - queries to softcat are now
done for a variable number of packages at a time, radically
speeding up dependency resolution.
Also did a s/DistributionInfo/TrilobiteDistributionInfo/ for the
Less Namespace Pollution Compaign 2001.
* components/services/install/command-line/eazel-test-softcat.c:
(main):
Added a --funk=<int> which uses the new get_info_plural methods.
* components/services/install/lib/eazel-install-logic2.c:
(prune_failed_packages_helper), (post_check), (get_package_info),
(dedupe_foreach_depends), (check_tree_helper),
(check_no_two_packages_has_same_file), (install_packages):
Moved a lot of code around to use the new
eazel_softcat_get_info_plural feature.
* components/services/install/lib/eazel-install-object.c:
(eazel_install_initialize):
Set packages pr query to a sane value (50 pr query)
* components/services/install/lib/eazel-package-system-types.h:
* components/services/install/lib/eazel-package-system-types.c:
(eazel_install_package_provides_compare),
(eazel_install_package_feature_compare),
(eazel_install_package_name_compare),
(eazel_install_package_id_compare):
Added package_id_compare and package_feature_compare.
Removed some debug output.
* components/services/install/lib/eazel-softcat-private.h:
* components/services/install/lib/eazel-softcat.c:
(eazel_softcat_initialize), (eazel_softcat_set_packages_pr_query),
(get_search_url_for_package), (warn_about_packages_failing),
(eazel_softcat_query), (eazel_softcat_get_info),
(split_by_multiple), (eazel_softcat_get_info_plural_helper),
(eazel_softcat_get_info_plural):
Added a packages_pr_query field to softcat->private.
Voodoo to do the multiple packages pr. query. Pseudokode and
stuff in comments.
* components/services/install/lib/eazel-softcat.h:
* components/services/inventory/eazel-inventory-collect-software.c:
(eazel_inventory_collect_software):
* components/services/trilobite/libtrilobite/trilobite-core-distrib
ution.c: (determine_turbolinux_version),
(determine_mandrake_version), (determine_suse_version),
(determine_debian_version), (determine_redhat_version),
(trilobite_get_distribution), (trilobite_get_distribution_name),
(trilobite_get_distribution_arch),
(trilobite_distribution_compare):
* components/services/trilobite/libtrilobite/trilobite-core-distrib
ution.h:
* components/services/install/lib/eazel-package-system.c:
(eazel_package_system_suggest_id):
* components/services/install/lib/eazel-install-corba-types.c:
(corba_packagedatastruct_fill_from_packagedata):
s/DistributionInfo/TrilobiteDistributionInfo/
2001-03-21 John Sullivan <sullivan@eazel.com>
reviewed by: Darin Adler <darin@eazel.com>
Fixed bug 7506 (Font preference has silly, overly-specific
label)
Fixed bug 4049 ("Other Application" is bad terminology when
there are no applications listed)
Fixed bug 6193 (Users confused by lack of title on "ski" menu)
* libnautilus-extensions/nautilus-global-preferences.c:
(global_preferences_install_descriptions): Changed wording
for font choices.
* src/file-manager/fm-directory-view.c:
(reset_bonobo_open_with_menu): Changed "Other Application..."
to "An Application..." if there aren't any listed.
* src/nautilus-shell-ui.xml: Add "Preferences" title to Preferences
menu.
Other changes
* src/file-manager/fm-directory-view.h: Moved some #defines
only used in fm-directory-view.c into that file.
* src/nautilus-first-time-druid.c: (set_up_cron_information_page):
Removed obsolete comment.
2001-03-20 Maciej Stachowiak <mjs@eazel.com>
reviewed by: Ian McKellar <ian@eazel.com>
* Makefile.am, configure.in, nautilus-config.in, nautilus.spec.in,
nautilusConf.sh.in, .cvsignore: Add nautilus-config and
nautilusConf.sh so other modules can sensibly depend on
libnautilus (this fix should make it into 1.0.2, I guess I should
file a bug at some point).
2001-03-20 Ramiro Estrugo <ramiro@eazel.com>
reviewed by: Pavel Cisler <pavel@eazel.com>
Fix a bunch of font bugs that dropped of the 1.0 plate.
7371 - Fonts in font pickers are in no particular order
7387 - Font selection defaults to bold for some fonts
7421 - Font option menu in "Appearances" too long for screen
7473 - Switching off "smooth graphics" leaves font family grouping
7486 - Font style menu disabled when it shouldn't be
7487 - Would be nice if font styles were submenus
7718 - 'cursor' font doesn't display
* libnautilus-extensions/nautilus-art-gtk-extensions.h:
* libnautilus-extensions/nautilus-art-gtk-extensions.c:
(nautilus_screen_get_dimensions): Fix a really silly typo.
(nautilus_gtk_widget_get_dimensions): Make the documentation a
little better.
(nautilus_gtk_widget_get_preferred_dimensions): New function to
get a widget's preferred dimensions.
* libnautilus-extensions/nautilus-font-manager.c:
(font_description_new): Use consistent variable names. Set a
'is_ignored' flag if the font is ignored.
(font_description_free): Use consistent variable names.
(font_description_table_find): Ignore black listed fonts.
(font_description_table_for_each): Ignore black listed fonts.
(font_directory_is_ignored): Put constants on top of file.
(font_foundry_is_ignored), (font_family_is_ignored): New functions
to check for specific black listed font foundries and/or families.
(ensure_local_font_table): Rename to 'local' from 'global' - this
is something i need for a future change where the font manager
will be able to handle both 'local' and 'server' fonts.
Move the font ignoring code from nautilus-font-picker.c here so
that it is in one place.
* libnautilus-extensions/nautilus-font-picker.h:
Subclass it from GtkHBox instead of GtkVBox now that it is not as
wide.
* libnautilus-extensions/nautilus-font-picker.c:
(option_menu_button_press_event), (menu_deactivate),
(nautilus_font_picker_initialize), (nautilus_font_picker_destroy),
(style_menu_item_activate_callback),
(style_menu_item_button_release_event), (font_picker_add_item),
(font_picker_populate), (font_make_name), (font_make_style_name),
(font_slant_string_to_enum), (font_set_width_string_to_enum),
(font_style_entry_new), (font_style_entry_free),
(compare_font_entry), (global_font_list_get), (compare_int),
(compare_style), (global_font_list_populate_callback),
(nautilus_gtk_menu_shell_get_num_items),
(font_picker_get_selected_style_entry),
(font_picker_find_entries_for_font),
(font_picker_get_index_for_entry), (nautilus_font_picker_new),
(nautilus_font_picker_get_selected_font),
(nautilus_font_picker_set_selected_font):
Move the black listed font code into the font manager. Use option
menus directly instead of NautilusStringPickers. Put the style
choices in cascading submenus. Deal with the case when too many
choices dont fit on the screen.
* test/test-nautilus-font-manager.c:
* test/test-nautilus-font-picker.c:
Update for font picker changes.
2001-03-20 Eskil Heyn Olsen <eskil@eazel.com>
* components/Makefile.am:
Readded the rpmview
* components/rpmview/Makefile.am:
Added XML_LDFLAGS/CFLAGS
* components/services/install/lib/eazel-install-logic2.c:
(dump_tree), (prune_failed_packages_helper),
(prune_failed_packages), (add_to_dedupe_hash),
(post_get_softcat_info), (get_softcat_info),
(get_package_info_foreach), (get_package_info),
(dedupe_foreach_depends), (dedupe_foreach), (dedupe),
(is_satisfied_from_package_list), (check_dependencies_foreach),
(check_dependencies), (do_dep_check_internal),
(check_if_related_package),
(check_update_for_no_more_file_conflicts),
(check_for_no_more_missing_features), (check_tree_helper),
(clean_up_dedupe_hash), (get_packages_with_mod_flag):
Made a lot of changes so the packageslists carried around can
contain both PackageData and PackageDependencies mixed up. This
makes the softcat queries have the version/sense flags that the
packages require.
* components/services/install/lib/eazel-install-problem.c:
(get_detailed_messages_foreach):
Ported some changes from the 1.0 branch
* components/services/install/lib/eazel-package-system-types.h:
* components/services/install/lib/eazel-package-system-types.c:
(packagedependency_finalize), (packagedependency_class_initialize),
(packagedependency_initialize), (packagedependency_get_type),
(packagedependency_new), (packagedependency_copy),
(packagedata_finalize), (packagedata_fill_in_missing),
(flatten_packagedata_dependency_tree):
Turned PackageDependency into a proper gtk+ object
* components/services/install/lib/eazel-install-xml-package-list.c:
(parse_package):
* components/services/install/lib/eazel-package-system-rpm3.c:
(eazel_package_system_rpm3_packagedata_fill_from_header):
* components/services/install/lib/eazel-softcat.c:
(eazel_softcat_query), (eazel_softcat_get_info):
(also imported the xml spam from 1.0)
* components/services/install/lib/eazel-install-corba-types.c:
(packagedata_tree_from_corba_packagedatastructlist):
Changes to use PackageDependency as a gtk+ object
2001-03-20 John Sullivan <sullivan@eazel.com>
Fixed bug 4355: Built-in bookmarks icons change after first view
Also reduced the number of times that refresh_bookmarks_menu
is called since it was showing up in some profiling.
* libnautilus-extensions/nautilus-bookmark.h:
* libnautilus-extensions/nautilus-bookmark.c:
(nautilus_bookmark_initialize_class), (nautilus_bookmark_set_name),
(bookmark_file_changed_callback): Split the "changed" signal into
"appearance_changed" and "content_changed". "appearance_changed" is
emitted only if the name or icon change. "content_changed" is emitted
if the URI changes.
* src/nautilus-bookmark-list.c: (insert_bookmark_internal):
Connect to both appearance_changed and content_changed.
* src/nautilus-window-menus.c: (bookmark_holder_new):
Refresh menu only on appearance_changed, not content_changed.
* data/static_bookmarks.xml: Added "i-web" as icon name for
all the built-in bookmarks, since this is the icon they will
end up with after being visited. (Now, visiting a built-in
bookmark will not cause a refresh of the bookmarks menu.)
2001-03-20 John Sullivan <sullivan@eazel.com>
* src/file-manager/fm-directory-view.c: (run_script_callback):
shell-quote the script name. Fixes bug Robin found where scripts
with spaces in their names didn't work.
2001-03-20 John Sullivan <sullivan@eazel.com>
reviewed by: Pavel Cisler <pavel@eazel.com>
Finished bug 4875 (design for running arbitrary scripts on
selected items)
There are lots of ways this could be improved, but I've
finished the first pass at this feature. We'll need to get
feedback before deciding how to improve it later. Please
play with it -- hopefully it is self-explanatory. Start by
selecting Scripts > Open Scripts Folder.
* libnautilus-extensions/nautilus-file.h:
* libnautilus-extensions/nautilus-file.c:
(compare_by_name_cover): Simple cover for compare_by_name
that casts parameters.
(nautilus_file_list_sort_by_name): New public function.
* src/file-manager/nautilus-directory-view-ui.xml: Added name to
separators before "Open Scripts Folder" so they can be referred
to in code (shown/hidden)
* src/file-manager/fm-directory-view.c:
(get_scripts_directory): Create Scripts directory if it doesn't
exist; mark name of scripts directory for localization.
(add_numbered_menu_item): Add pixbuf parameter.
(add_application_to_bonobo_menu),
(add_component_to_bonobo_menu): pass NULL for pixbuf
(get_file_names_as_parameter_string): Changed name from
get_selected_file_names..., now takes file list as parameter.
(get_file_paths_or_uris_as_newline_delimited_string): New function.
(get_file_paths_as_newline_delimited_string),
(get_file_uris_as_newline_delimited_string): New functions, simple
covers for get_file_paths_or_uris...
(set_script_environment_variables): New function, sets some environment
variables up so scripts can use them.
(unset_script_environment_variables): New function, unsets those same
environment variables.
(run_script_callback): set/unset environment variables around calling
script.
(add_script_to_menus): add pixbufs for files
(reset_scripts_menu): sort scripts by name; hide separator after scripts
if there are no scripts
(notify_user_if_no_scripts_callback): Explain script behavior and
special environment variables in Details part of dialog.
(call_when_ready_on_scripts_directory): include attributes required to
get icon for file.
(open_scripts_folder_callback): Change error message for unexpected
case where scripts folder is nonexistent.
2001-03-20 Robin * Slomkowski <rslomkow@eazel.com>
* configure.in: upped version 1.0.0
2001-03-19 John Sullivan <sullivan@eazel.com>
More work on bug 4875 (design for running arbitrary
scripts on selected items).
Mostly done with this first pass. I still need to
set a few environment variables for the scripts' sake,
and I still need to add code to create the scripts folder
if it's missing. (To test at this point, create your own
directory named "scripts" in ~/Nautilus.)
* src/file-manager/nautilus-directory-view-ui.xml: Renamed
Run Script submenu to Scripts; added Open Scripts Folder to
Scripts submenu.
* src/file-manager/fm-directory-view.c:
(get_scripts_directory): returns NULL if directory doesn't exist.
(scripts_added_or_changed_callback): New function, marks
scripts menu invalid and schedules menu update.
(connect_script_handlers): new function, monitor scripts
directory and connect to files_added and files_changed signals
so we can notice when scripts have changed.
(fm_directory_view_initialize): Call connect_script_handlers.
(get_selected_file_names_as_parameter_string): New function,
returns string of selected file names, each shell-quoted.
(run_script_callback): Pass selected file names if directory
is local (else pass nothing); add FIXMEs
(reset_scripts_menu): Don't change sensitivity based on script
non-zero count since there's always the Open Scripts Folder item.
(any_valid_scripts): New helper routine to see if scripts folder
contains any executables.
(notify_user_if_no_scripts_callback): New function, puts up
informative message if there are no executables in scripts folder.
(call_when_ready_on_scripts_directory): New helper function,
slightly generalized from schedule_reset_scripts_menu.
(schedule_reset_scripts_menu): Now calls new helper function.
(open_scripts_folder_callback): New function, displays the contents
of the scripts folder and also presents informative message if
it contains no executables.
(real_merge_menus): Add open_scripts_folder_callback for verb; mark
scripts submenu invalid rather than updating it here.
(real_update_menus): reset scripts menu if it's marked invalid.
(disconnect_scripts_directory_handler): New helper function to
disconnect a signal handler on the scripts directory.
(disconnect_script_handlers): disconnect all the stuff we connected.
2001-03-19 Pavel Cisler <pavel@eazel.com>
reviewed by: Gene Z. Ragan <gzr@eazel.com>
* libnautilus-extensions/nautilus-glyph.c:
(nautilus_glyph_draw_to_pixbuf):
Speed up drag-selection a whole bunch by making this call
4 x faster in the anti-aliased mode.
2001-03-19 Robin * Slomkowski <rslomkow@eazel.com>
* components/music/Makefile.am: added non-i386 files
to EXTRA_DISTS
2001-03-19 John Sullivan <sullivan@eazel.com>
Fixed bug 7817 (Launching mp3 files with mpg123 fails)
* libnautilus-extensions/nautilus-program-choosing.c:
(nautilus_launch_application): Code was comparing the
uri-scheme to "file:" instead of "file".
2001-03-16 Gene Z. Ragan <gzr@eazel.com>
* libnautilus-extensions/Makefile.am:
One final tweak to get the cdparanoia checks right.
2001-03-16 Gene Z. Ragan <gzr@eazel.com>
* configure.in:
* libnautilus-extensions/Makefile.am:
Add checks for cdparanoia to allow enabling of
cd audio mounting on the desktop.
* libnautilus-extensions/nautilus-volume-monitor.c:
* libnautilus-extensions/nautilus-volume-monitor.h:
Clean up build conditional audio CD handling and
centralize the allocation of NautilusVolume structures.
2001-03-16 Darin Adler <darin@eazel.com>
reviewed by: Pavel Cisler <pavel@eazel.com>
Fix bug 610, a small per-window storage leak.
* src/nautilus-window.c: (unref_mini_icon): Free icon at quit
time for leak checking purposes.
(nautilus_window_initialize_class): Create the mini-icon here.
(nautilus_window_realize): Use it here, instead of re-making
it each time.
2001-03-16 John Sullivan <sullivan@eazel.com>
reviewed by: Darin Adler <darin@eazel.com>
First batch of work for bug 4875 (design for running arbitrary
scripts on selected items). Only works locally, doesn't notice
changes to scripts directory, doesn't pass selected items as
parameters, many other details unfinished.
* src/file-manager/nautilus-directory-view-ui.xml: Add "Run Script"
submenus to File and context menus; add missing tip I happened to
notice to Open With submenu.
* src/file-manager/fm-directory-view.c:
(script_launch_parameters_new), (script_launch_parameters_free):
New helper functions to manage lifetime of parameters for script
menu items.
(get_scripts_directory): New function, returns NautilusDirectory
object (or NULL) representing scripts directory.
(fm_directory_view_initialize): Remember scripts directory in
details struct.
(fm_directory_view_destroy): clean up scripts directory stuff.
(add_numbered_menu_item): renamed from add_open_with_program_menu_item
with no other changes, since it was already exactly general enough
for my new use.
(add_application_to_bonobo_menu), (add_component_to_bonobo_menu):
Update for name change.
(change_to_view_directory): New function to change working
directory to the one displayed.
(run_script_callback): New function to actually execute the script;
temporarily changes the working directory.
(add_script_to_menus): New function, adds one script to the two
Run Script menus.
(reset_scripts_menu): New function, fills in the two Run Script
menus from scratch.
(reset_scripts_menu_callback): New call_when_ready callback, calls
reset_scripts_menu.
(disconnect_script_handlers): New function, cleans up pending callbacks.
(schedule_reset_scripts_menu): New function, sets up a callback when
the files in the scripts directory are sufficiently known.
(real_merge_menus): Call schedule_reset_scripts_menu.
Fixed bug 7232 (vague error message and console spam when
refreshing a directory deleted outside of Nautilus)
* src/file-manager/fm-error-reporting.c:
(fm_report_error_loading_directory): Handle the NOT_FOUND
case explicitly.
2001-03-16 Darin Adler <darin@eazel.com>
reviewed by: John Sullivan <sullivan@eazel.com>
Fix bug 7778 (Trash directory state not saved properly).
* libnautilus-extensions/nautilus-trash-file.c:
(is_delegated_attribute): Function that returns TRUE if it's passed
one of the attributes that needs to be delegated to the individual
directories that make up the trash.
(is_delegated_attribute_predicate): Cover to use partition call on.
(partition_attributes): Helper that partitions a list into a list
of the delegated and non-delegated attributes.
(real_monitor_add), (real_monitor_remove),
(real_call_when_ready), (real_cancel_call_when_ready),
(real_check_if_ready): Calls to be used for the trash itself for
the non-delegated attributes.
(trash_callback_destroy): Destroy both attribute lists.
(monitor_add_file): Only monitor delegated attributes here.
(trash_file_call_when_ready): Wait for the delegated attributes
on the other files, the non-delegated attributes on this file.
(trash_file_cancel_call_when_ready): Cancel the wait for both
the main file and the other files.
(trash_file_check_if_ready): Check for the delegated attributes
on the other files, the non-delegated attributes on this file.
(trash_file_monitor_add): Monitor the delegated attributes
on the other files, the non-delegated attributes on this file.
(trash_file_monitor_remove): Remove the monitor from both the
main file and the other files.
* libnautilus-extensions/nautilus-vfs-file.c: Formatting tweaks.
2001-03-16 Darin Adler <darin@eazel.com>
reviewed by: John Sullivan <sullivan@eazel.com>
Fix bug 6495 (Emacs-style keybindings not working in location bar
and other NautilusEntry fields) by adding an expert preference to
control whether the Emacs shortcuts or the ones in the menu bar
take precedence. I started with Maciej's patch and did many
refinements.
Fix bug 1788 ("Select All" needs to be implemented for text): I
had to add Select All so it won't do the icon view's Select All
when you do a select all with the location bar focused.
Fix bug 5612 (clicking to deselect causes incorrect menu
sensitivity) by adding another signal handler for button clicks.
Fix bug 7581 (When trying to restart Nautilus after crash from bug
7579 I get a Segmentation Fault). I was just lucky enough to run
into the problem on my machine.
* libnautilus-extensions/nautilus-global-preferences.h:
* libnautilus-extensions/nautilus-global-preferences.c:
(global_preferences_install_descriptions),
(global_preferences_install_defaults),
(global_preferences_install_visibility),
(global_preferences_create_dialog): Added the new Emacs-shortcut
preference with the wording requested in the bug report.
* libnautilus-extensions/nautilus-entry.h:
* libnautilus-extensions/nautilus-entry.c:
(emacs_shortcuts_preference_changed_callback): Track the
preference.
(nautilus_entry_initialize): Set up the callback to track the
preference.
(nautilus_entry_destroy): Tear down the callback to track the
preference.
(nautilus_entry_key_press): Allow the emacs shortcuts built into
GtkEntry to work if the preference is set that way. Also, only
emit the selection_changed signal if the key is actually handled.
(nautilus_entry_motion_notify): Simplify the logic, since it's
OK to send the selection_changed signal a little too often.
(select_all_at_idle): Handle the case where the object is
destroyed.
(nautilus_entry_select_all_at_idle): Ref the object to handle the
case where the object is destroyed before the idle happens.
(nautilus_entry_button_press): Send a selection_changed message,
since pressing the button can cause a selection change.
(nautilus_entry_button_release): Send a selection_changed message,
since pressing the button can cause a selection change.
(nautilus_entry_initialize_class): Add new default handlers. Also,
move to bottom of file so we don't need so many forward
declarations.
* libnautilus/nautilus-clipboard-ui.xml: Add a Select All Text
command.
* libnautilus/nautilus-clipboard.c: (select_all): New function to
select all the text in a GtkEditable. Sadly it needs a special
case for GtkText.
(select_all_idle_callback): Callback used to select the text from
idle.
(select_all_callback): Callback that sets up the idle. Called from
the bonobo verb.
(initialize_clipboard_component_with_callback_data): Add the
callback for Select All.
* librsvg/rsvg.c: (rsvg_state_init): Initialize more fields,
including font_size.
(rsvg_text_handler_characters): Don't try to draw if the font
size is 0 or negative.
* librsvg/art_render_mask.c: (art_render_mask_render): Handle
cases where x1 < x0. The old code would seg. fault. This was the
reason we got a crash in bug 7581.
* configure.in: Upped the required version of gnome-vfs.
2001-03-16 Robey Pointer <robey@eazel.com>
* nautilus-installer/src/main.c: (main):
Fixed the old "--help" bug in the installer, finally.
2001-03-15 Darin Adler <darin@eazel.com>
reviewed by: John Sullivan <sullivan@eazel.com>
Fix bug 7763 (Makefile.am used to install xml data is wrong):
* data/Makefile.am: Integrate build fix from fcrozat. Don't use
the magic "info" name since it is used for special purposes on
Mandrake and other systems.
Other strings:
* THANKS: Added some people who made recent contributions.
* check-THANKS.pl: Add some more alternate names.
* components/help/hyperbola-filefmt.c: (locale_score): Fix legal
code that doesn't compile with some versions of gcc by adding a
cast.
* help/nautilus-user-manual/es/.cvsignore: Add
nautilus-user-manual.junk.
* libnautilus-extensions/nautilus-directory-async.c:
(metafile_read_check_for_directory_callback),
(metafile_read_done_callback),
(metafile_write_failure_close_callback),
(metafile_write_success_close_callback),
(metafile_write_create_callback), (directory_load_callback),
(directory_count_callback), (new_files_callback), (has_problem),
(deep_count_callback), (mime_list_callback),
(top_left_read_callback), (get_info_callback),
(activation_uri_nautilus_link_read_callback),
(activation_uri_gmc_link_read_callback),
(cancel_activation_uri_for_file): Add ref/unref pairs that we need
in callbacks that use NautilusDirectory objects but that also send
out signals which might end up unref'ing them.
* libnautilus-extensions/nautilus-file-operations.c:
(nautilus_self_check_file_operations): Add tests to demonstrate
bug 7701.
* libnautilus-extensions/nautilus-smooth-text-layout-cache.c:
(nautilus_self_check_smooth_text_layout_cache): Fix some destroys
that should have been unrefs.
* libnautilus-extensions/nautilus-string.c:
(nautilus_self_check_string): Added tests for
nautilus_str_get_after_prefix.
2001-03-14 Gene Z. Ragan <gzr@eazel.com>
* libnautilus-extensions/nautilus-icon-dnd.c:
(drag_data_received_callback):
Handle a case where Netscape submits duplicate drag data
before the first instance of the data has been freed.
2001-03-14 Gene Z. Ragan <gzr@eazel.com>
* libnautilus-extensions/nautilus-icon-container.c:
(icon_set_position):
Fixed a minor annoying layout bug on the desktop. When icons were placed
near the bottom of the desktop, they would sometimes jump
partially offscreen.
2001-03-14 John Sullivan <sullivan@eazel.com>
Fixed bug 7696 ("Find" does nothing if location bar hidden)
* src/nautilus-window-menus.c:
(file_menu_toggle_find_mode_callback): Show location bar
if it had been hidden. This is used by both Find/Browse menu
item and Find button.
2001-03-14 John Sullivan <sullivan@eazel.com>
Fixed bug 7597 (Cut Text's underline accelerator changes
to conflict with Copy Text's when a text field is focussed)
* libnautilus/nautilus-clipboard-ui.xml: Changed _Cut Text
to Cut _Text here, to match what it is when no text field
is focussed.
2001-03-14 Ramiro Estrugo <ramiro@eazel.com>
* helper-scripts/nautilus-restore-settings-to-default.sh:
Dont clobber any fonts that the user might have installed in
~/.nautilus. This is a bit of hack, but its very inconvenient to
have these fonts be trashed when testing Nautilus in a "from
scratch" environment.
* nautilus.spec.in:
Add the "restore settings to default" script to the package.
2001-03-13 Gene Z. Ragan <gzr@eazel.com>
I have been itching to check some code in for 1.2,
so now I am doing it!
This will enable drag support from Netscape to Nautilus.
Only the desktop handles the drags for now. When I complete
the async calls in NautilusFile, it will be safe to have the signal
handled by other views such as FMDirectoryView.
* libnautilus-extensions/nautilus-icon-container.c:
* libnautilus-extensions/nautilus-icon-container.h:
(nautilus_icon_container_initialize_class):
Change name of signal create_nautilus_links
to handle_uri_list.
* libnautilus-extensions/nautilus-icon-dnd.c:
(drag_data_received_callback), (receive_dropped_uri_list),
(nautilus_icon_container_get_drop_action):
Add more general logic to handle a drop of a list of URIs.
Don't expect them to only contain only the paths to
gmc desktop entries.
* src/file-manager/fm-desktop-icon-view.c:
(fm_desktop_icon_view_initialize):
Connect to changed signal name handle_uri_list.
(icon_view_handle_uri_list):
Use more generalized logic to handle a drop of a URI list.
Determine what the list element contains and either convert from
a DesktopEntry or create a link that contains a URI.
2001-03-13 Jason Leach <jasonleach@usa.net>
reviewed by: Darin Adler <darin@eazel.com>
* libnautilus-extensions/nautilus-metafile-factory.h: builddir !=
srcdir fix.
2001-03-12 Robey Pointer <robey@eazel.com>
reviewed by: Robin * Slomkowski <rslomkow@eazel.com>
* nautilus-installer/src/prescript:
Tell RH70 users who don't have glibc 2.2 that they need to
upgrade, and tell them a hacky way to do it.
2001-03-12 Robey Pointer <robey@eazel.com>
reviewed by: Eskil Heyn Olsen <eskil@eazel.com>
* nautilus-installer/src/Makefile.am:
* nautilus-installer/src/installer.c: (add_bullet_point_to_vbox),
(is_toplevel_package), (report_unusual_errors), (install_failed):
* nautilus-installer/src/main.c:
Turn off the SEGV handlers, make --debug no longer the default,
and point the installer at the production servers again. Add a
special-case error message to be displayed when Nautilus is
already installed.
2001-03-12 Robin * Slomkowski <rslomkow@eazel.com>
* components/help/topleveldocs.xml: updated with
changes from http://bugzilla/show_bug.cgi?id=7663
2001-03-12 Eric Fischer <eric@eazel.com>
Merge from 1.0 branch:
reviewed by: Robin * Slomkowski <rslomkow@eazel.com>
* configure.in:
Change ammonite version checking to use the same logic as
other version number checks, to fix the broken tinderbox
* nautilus.spec.in:
Inherit the required ammonite version number from configure.in
2001-03-12 John Sullivan <sullivan@eazel.com>
reviewed by: Ramiro Estrugo <ramiro@eazel.com>
Fixed bug 7666 (default user level should be Intermediate)
* libnautilus-extensions/nautilus-preferences.c:
(nautilus_preferences_get_user_level): Reworked function a
little to support explicit default; made Intermediate the
default.
2001-03-10 Robey Pointer <robey@eazel.com>
reviewed by: Eskil Heyn Olsen <eskil@eazel.com>
* components/services/install/lib/eazel-install-logic2.c:
(add_to_dedupe_hash), (post_get_softcat_info),
(dedupe_foreach_depends), (check_if_related_package),
(check_tree_helper), (clean_up_dedupe_hash):
* components/services/install/lib/eazel-install-problem.c:
(get_detailed_messages_foreach):
Backport Eskil's dedupe changes to head, so we can build the
installer here. This fixes the "softcat is updating" bug (which
turned out to have nothing to do with softcat).
2001-03-10 Robey Pointer <robey@eazel.com>
reviewed by: Eskil Heyn Olsen <eskil@eazel.com>
(implicitly)
Backport a few patches that appear to have only made it to the 1.0
branch, so we can start building the installer on CVS head.
* components/services/install/lib/eazel-install-logic2.c:
(prune_failed_packages_helper):
That cancelled vs. already-installed bug, plus the "not deduping
myself" patch.
* components/services/install-view/callbacks.c:
(nautilus_service_install_done):
Remove the spurious "panic" warning.
2001-03-09 Maciej Stachowiak <mjs@eazel.com>
reviewed by: John Harper <jsh@eazel.com>
Eskil Heyn Olsen <eskil@eazel.com>
Robey Pointer <robey@eazel.com>
Fixed bugs 7411 (installer crashes, but successfully installs),
7510 (tinderbox installer crashes 3 lines into gnome init) and
7123 (Installer uses a question mark on black background in
dialogs). These were all caused by the fact that Imlib is
completely unusable linked statically. So to fix them I removed
all dependency on imlib and gnome-libs from the bootstrap
installer (since so many parts of gnome-libs, including
gnome_init, make imlib calls).
* components/services/install/lib/eazel-install-logic2.c:
(get_softcat_info),
(check_conflicts_against_already_installed_packages):
* components/services/install/lib/eazel-install-metadata.c:
* components/services/install/lib/eazel-install-object.c:
(eazel_install_is_dir), (eazel_install_save_transaction_report):
* components/services/install/lib/eazel-install-problem.c:
* components/services/install/lib/eazel-install-protocols.c:
(eazel_install_fetch_file):
* components/services/install/lib/eazel-install-tests.c:
* components/services/install/lib/eazel-install-xml-package-list.c:
(generate_xml_package_list):
* components/services/install/lib/eazel-package-system-rpm3.c:
* components/services/install/lib/eazel-package-system-rpm4.c:
* components/services/install/lib/eazel-package-system-types.c:
* components/services/install/lib/eazel-package-system-types.h:
* components/services/install/lib/eazel-package-system.c:
* components/services/install/lib/eazel-softcat.c:
* components/services/trilobite/libtrilobite/Makefile.am:
* components/services/trilobite/libtrilobite/trilobite-core-distribution.c:
(trilobite_get_distribution):
* components/services/trilobite/libtrilobite/trilobite-core-distribution.h:
* components/services/trilobite/libtrilobite/trilobite-core-network-slim.c:
* components/services/trilobite/libtrilobite/trilobite-core-network.h:
* components/services/trilobite/libtrilobite/trilobite-core-utils.c:
* components/services/trilobite/libtrilobite/trilobite-i18n.h:
* nautilus-installer/install-lib/Makefile.am:
* nautilus-installer/libtrilobite/Makefile.am:
Avoid depending on libgnome or libgnomeui in libeazelinstall or
libtrilobite when building in static minimal mode.
* nautilus-installer/src/Makefile.am: Don't link against gnome
libraries or imlib.
* nautilus-installer/src/callbacks.c,
nautilus-installer/src/callbacks.h,
nautilus-installer/src/installer.c,
nautilus-installer/src/installer.h, nautilus-installer/src/main.c
nautilus-installer/src/gtk-hackery.c: Minor tweaks to avoid GNOME
and Imlib dependencies.
* nautilus-installer/src/fake-stock.h,
nautilus-installer/src/fake-stock.c:
(fake_stock_pixmap_new_from_xpm_data, fake_stock_pixmap_button,
fake_stock_or_ordinary_button): Some hacky code to allow replacing
the real stock code.
* nautilus-installer/src/gnome-dialog-util.c,
nautilus-installer/src/gnome-dialog-util.h,
nautilus-installer/src/gnome-dialog.c,
nautilus-installer/src/gnome-dialog.h,
nautilus-installer/src/gnome-druid-page.c,
nautilus-installer/src/gnome-druid-page.h,
nautilus-installer/src/gnome-druid.c,
nautilus-installer/src/gnome-druid.h,
nautilus-installer/src/gnome-messagebox.c,
nautilus-installer/src/gnome-messagebox.h,
nautilus-installer/src/gnome-types.h: Replace reliance on
gnome-stock (and therefore imlib) with fake-stock calls.
* nautilus-installer/src/nautilus-druid-page-eazel.h,
nautilus-installer/src/nautilus-druid-page-eazel.c: Pruned and
massively hacked to avoid depending on the canvas, etc.
* nautilus-installer/src/package-tree.c,
nautilus-installer/src/nautilus-druid.c,
nautilus-installer/src/nautilus-druid.h: Avoid GNOME and imlib
dependencies.
2001-03-10 Mike Fleming <mfleming@eazel.com>
reviewed by: <rslomkow@eazel.com>
Bug 6826:
Added --with-build-message to ./configure. A build message will
display in the about box if no EAZEL_TIMESTAMP (used by hourly builds)
has been set.
The default build message for CVS builds "Development Version"
* acconfig.h:
* configure.in:
* libnautilus-extensions/nautilus-file-utilities.c:
(nautilus_get_build_message):
* libnautilus-extensions/nautilus-file-utilities.h:
* src/nautilus-window-menus.c: (help_menu_about_nautilus_callback):
2001-03-09 Darin Adler <darin@eazel.com>
reviewed by: John Sullivan <sullivan@eazel.com>
Pavel Cisler <pavel@eazel.com>
Fix bug 7609 (closing Show Properties window when new name
conflicts leads to crash):
* libnautilus-extensions/nautilus-stock-dialogs.c:
(nautilus_run_simple_dialog), (create_message_box): Don't use
an already-destroyed window as a parent.
2001-03-09 Darin Adler <darin@eazel.com>
reviewed by: John Sullivan <sullivan@eazel.com>
Fix bug 7587 (Copying text in Notes with menu item kills Notes
[also Text viewer, etc]):
* libnautilus/nautilus-clipboard.c: (do_with_fake_current_event):
Function to set up a non-NULL event so the code in GtkEditable
won't die.
(cut_callback), (copy_callback), (paste_callback): Use the new
function.
2001-03-09 John Sullivan <sullivan@eazel.com>
reviewed by: Rebecca Schulman <rebecka@eazel.com>
reviewed by: Darin Adler <darin@eazel.com>
Fixed bug 7615 (searching for " " crashes)
* src/nautilus-simple-search-bar.c:
(nautilus_simple_search_criteria_to_search_uri):
Change code that counts characters in search URI
to use the same math as the code that appends
to string.
2001-03-09 Dan Mueth <dan@eazel.com>
Updates to translated docs:
Christian Rose <menthos@menthos.com>:
* help/nautilus-quick-reference/sv/index.html:
Pablo del Campo <pablodc@mapfre.com.ar>:
* help/nautilus-user-manual/es/nautilus-user-manual.sgml:
2001-03-09 Ramiro Estrugo <ramiro@eazel.com>
reviewed by: John Harper <jsh@eazel.com>
Fix bug 7547 - Multi byte locales should default to non smooth
graphics mode
* libnautilus-extensions/nautilus-global-preferences.c:
(global_preferences_install_defaults):
Make multi byte locales default to non smooth mode, so that it
works for more Japanese user most of the time. Japanese users can
still select smooth mode if they have the right scalable font in
their system.
2001-03-09 Dan Mueth <dan@eazel.com>
reviewed by: Don Melton <don@eazel.com>
Putting in Vera's updated Release Notes.
Bug #: 7559, 7588
* help/nautilus-release-notes/C/nautilus-release-notes.sgml:
Putting in Vera's updated User Manual. (See TRACKED_CHANGES
for details on what has changed.)
Bug #: 7559, 7589
* help/nautilus-user-manual/C/nautilus-user-manual.sgml:
* help/nautilus-user-manual/C/TRACKED_CHANGES:
2001-03-08 John Sullivan <sullivan@eazel.com>
fix by: Andy Hertzfeld <andy@eazel.com>
reviewed by: Darin Adler <darin@eazel.com>
Fixed bug 7580 (Throbber flashing constantly when animating)
* components/throbber/nautilus-throbber.c: (draw_throbber_image):
Only clear the gdk window once per cycle, instead of for every frame.
2001-03-08 Robey Pointer <robey@eazel.com>
reviewed by: Eskil Heyn Olsen <eskil@eazel.com>
* nautilus-installer/src/installer.c: (start_logging):
Revert earlier logfile breakage by changing the perms check to
match the perms mjs is using later on.
2001-03-08 John Harper <jsh@eazel.com>
reviewed by: Seth Nickell <seth@eazel.com>
Fixed bug 7557 (Nautilus does not automatically start on GNOME
startup after installation):
* src/nautilus-first-time-druid.c (set_up_gmc_transition_page):
don't display the `add nautilus to session' option
2001-03-08 John Harper <jsh@eazel.com>
reviewed by: Robin * Slomkowski <rslomkow@eazel.com>
Fixed bug 7550 (SOLARIS: text drawn incorrectly in anti-aliased
mode):
* configure.in: added `AC_C_BIGENDIAN' check - this means that
the WORDS_BIGENDIAN macro gets defined on big-endian systems.
This is required by at least the librsvg/arg_rgba.c file
2001-03-08 Eric Fischer <eric@eazel.com>
reviewed by: Don Melton <don@eazel.com>
* src/run-nautilus:
Change ps options to something that should work on any POSIX system,
and add workaround for 4.4BSD systems' incompatible ps.
2001-03-08 Ramiro Estrugo <ramiro@eazel.com>
reviewed and checked in by: Darin Adler <darin@eazel.com>
Fix bug 7549 - Should block bookman and symbols fonts in older
RedHat systems
* libnautilus-extensions/nautilus-font-picker.c:
Add 2 more fonts to the black list. There were already in the
list, but older RedHat systems name these fonts differently.
2001-03-08 John Harper <jsh@eazel.com>
reviewed by: Pavel Cisler <pavel@eazel.com>
Tried to fix bug 7018 (Irreproducible segfaults in
nautilus_tree_node_get_file):
* components/tree/nautilus-tree-view.c: add a reference to each
NautilusTreeNode while in the unparented_tree_nodes lists
(nautilus_tree_view_should_skip_file): skip the file if
nautilus_file_is_gone () returns true
2001-03-08 Pavel Cisler <pavel@eazel.com>
reviewed by: Darin Adler <darin@eazel.com>
Fixed 7500 (Dragging WebDAV file to Trash has no effect.)
* libnautilus-extensions/nautilus-file-operations.c:
* libnautilus-extensions/nautilus-file-operations.h:
(nautilus_file_operations_move_to_trash):
Got rid of the call.
* src/file-manager/fm-directory-view.c: (trash_callback),
(fm_directory_view_can_move_uri_to_trash),
(trash_or_delete_files_common),
(fm_directory_view_trash_or_delete_files),
(report_broken_symbolic_link),
Got rid of callers to the eliminated nautilus_file_operations_move_to_trash,
Rework the trash and move calls to all operate on uri strings rather than
NautilusFile objects.
* src/file-manager/fm-directory-view.c:
(fm_directory_view_move_copy_items):
Detect a move to Trash, handle it with trash_or_delete_files_common.
* libnautilus-extensions/nautilus-file-operations.c:
(nautilus_file_operations_copy_move),
Added a FIXME.
2001-03-08 Maciej Stachowiak <mjs@eazel.com>
reviewed by: Adam Elman <aelman@eazel.com>
* nautilus-installer/package-list.xml.in: Put in some line breaks
to fix bug 7543 (Text on installer does not wrap in completion
window).
2001-03-08 Darin Adler <darin@eazel.com>
reviewed by: John Sullivan <sullivan@eazel.com>
Fix another part of bug 7494 (History sidebar component spews
assertions when closing nautilus window [and sometimes crashes]):
* libnautilus/nautilus-idle-queue.c: (execute_queued_functions):
Change logic so that queued functions no longer execute once the
caller destroys the queue.
Fix bug 7564 (opening and quickly closing window in list view
leads to core dump):
* src/file-manager/fm-directory-view.c:
(fm_directory_view_destroy): Remove code to empty lists now that
stop handles that.
(load_error_callback): Added a FIXME about the fact that we throw
away some pending files on an error.
(fm_directory_view_stop): Don't display pending files any more.
This is a problem when trying to destroy, and also the old code
displayed only one "batch" of pending files, so it wasn't really
making sure all the files were displayed anyway. If we re-add the
code to display pending files here, we'll have to make sure it
doesn't do this for the destroy case.
* src/file-manager/fm-list-view.c: Added FIXME asking why the "add
100 items at a time" logic is only needed for list view, and not
for icon view. If both kinds of views had it, it could be done
more simply at the FMDirectoryView level.
* libnautilus-extensions/nautilus-icon-factory.c:
(nautilus_get_icon_size_for_zoom_level): Fix this code so that it
doesn't do a core dump if it gets a bad size. This is not the
cause of the problem, but it's good to fix this too, because a
core dump is overreacting to a bad parameter.
2001-03-08 Maciej Stachowiak <mjs@eazel.com>
reviewed by: Darin Adler <darin@eazel.com>
* nautilus-installer/src/installer.c (start_logging): After
creating log file and verifying safety (to avoid /tmp races), make
it world-readable to fix bug 7544 (eazel-install.log created with
read-only perms for root).
2001-03-08 Dan Mueth <dan@eazel.com>
reviewed by: Pavel Cisler <pavel@eazel.com>
Updated required version of ScrollKeeper to 0.1.4
* configure.in:
Added Vera's new version of Nautilus Quick Reference doc text.
- Updated info on fast searching
- layout improvements
Bug #: 7532,7439
* help/nautilus-quick-reference/C/index.html:
Added Vera's Nautilus 1.0 Release Notes document.
Bug #: 6257, 5825
* help/nautilus-release-notes/C/nautilus-release-notes.sgml:
Adding Vera's new version of Nautilus User Manual text.
- Remove mention of RPM view since it isn't in this release
Bug #: 7442
* help/nautilus-user-manual/C/nautilus-user-manual.sgml:
2001-03-07 John Harper <jsh@eazel.com>
reviewed by: Maciej Stachowiak <mjs@eazel.com>
Fixed bug 7511 (Nautilus sometimes uses wrong home directory
after going through druid):
* src/nautilus-first-time-druid.c (druid_finished): move the
call to set the user level preference to before the call that
asks for the user's home URI
2001-03-07 Ramiro Estrugo <ramiro@eazel.com>
reviewed by: John Sullivan <sullivan@eazel.com>
Fix bugs:
7349 - Sidebar tabs no longer display in a bold font
7477 - Sidebar tab labels don't update to new font when font is
changed
7492 - Font style regression on Sidebar title
* libnautilus-extensions/nautilus-global-preferences.h:
* libnautilus-extensions/nautilus-global-preferences.c:
(nautilus_global_preferences_get_smooth_font): Add documentation
to clarify the fact that the result needs to be unrefed.
(nautilus_global_preferences_get_smooth_bold_font): New function
that returns a bold version of the user's preferred font.
* src/nautilus-sidebar-tabs.c:
(nautilus_sidebar_tabs_load_theme_data): Use the user's bold
preffered font instead of the default font. (bug 7349)
(smooth_font_changed_callback), (nautilus_sidebar_tabs_initialize),
(nautilus_sidebar_tabs_destroy): Listen for changes in the user's
preferred font and update the tabs accordingly (bug 7477)
* src/nautilus-sidebar-title.c: (smooth_font_changed_callback):
Use the user's bold preferred font instead of the plain one. Also
unref the font when done to plug a tiny leak. (bug 7492)
2001-03-07 Darin Adler <darin@eazel.com>
reviewed by: John Sullivan <sullivan@eazel.com>
Fix bug 7494 (History sidebar component spews assertions when
closing nautilus window (and sometimes crashes)):
* components/history/nautilus-history-view.c: (update_history):
Don't try to update the history list widget if it's already
destroyed. Also handle the case where it's destroyed by an unref
call coming in through CORBA inside the nautilus_bookmark_new
function. This is a larger design problem, but this handles the
case that's actually occurring.
(nautilus_history_view_initialize): Ref the history list widget.
(nautilus_history_view_destroy): Set the "destroyed" boolean if
someone has connected one. Unref the history list widget. Also,
don't bother clearing it since it is going to be destroyed anyway.
Fix bug 7514 (Intel/AMD branding on Hardware View CPU picture is
not something we're authorized to use):
* components/hardware/icons/cpu.png: Updated with new image from
Arlo.
2001-03-07 John Harper <jsh@eazel.com>
reviewed by: Pavel Cisler <pavel@eazel.com>
Fixed bug 7479 (Text for Intro Panel must be updated for 1.0):
* src/nautilus-first-time-druid.c
(nautilus_first_time_druid_show): updated the text on the first
page
2001-03-07 Maciej Stachowiak <mjs@eazel.com>
reviewed by: Darin Adler <darin@eazel.com>
* components/services/summary/nautilus-summary-view.c:
(update_header), (generate_eazel_news_entry_row): Update title
from services page and remove date stamp and icon per marketing
requirements (bug 7476).
2001-03-07 John Harper <jsh@eazel.com>
reviewed by: Pavel Cisler <pavel@eazel.com>
Fixed bug 7472 (Nautilus behavior after leaving first run
druid):
* src/nautilus-first-time-druid.c (http_is_known_to_work): new
global variable - only ever set true if we know for sure that
http connections will work
(finished_label, update_finished_label,
nautilus_first_time_druid_show): since we only launch the
services window when http requests are known to work, make the
text in the `Finished' page be conditional on that
(next_update_page_callback, download_callback): call update
finished_label
(download_callback): set http_is_known_to_work to true if the
connection succeeded
2001-03-06 Ian McKellar <ian@eazel.com>
reviewed by: Maciej Stachowiak <mjs@eazel.com>
* components/services/install-view/nautilus-service-install-view.c:
(nautilus_install_service_add_menu_launchers):
Fix bug 7429 - don't try to print the menu path if one does not
exist.
Wed Mar 07 00:35:04 2001 George Lebl <jirka@5z.com>
Ramiro Estrugo <ramiro@eazel.com> said without this patch
life as we know it will cease to exist.
* libnautilus-extensions/nautilus-preferences-box.c
(category_list_select_row_callback): When getting the
category name, get it out of the correct row.
Fixes #7482
2001-03-06 Ramiro Estrugo <ramiro@eazel.com>
reviewed by: reviewed by: Darin Adler <darin@eazel.com>
Workaround hack for the following bugs:
7352 - Theme selector description labels missing in ja_JP locale.
7354 - First time druid title doesnt properly display in the ja_JP
locale.
* libnautilus-extensions/nautilus-gdk-font-extensions.c:
(nautilus_gdk_font_get_italic), (nautilus_gdk_font_get_bold),
(nautilus_gdk_font_get_larger),
(nautilus_gdk_font_get_largest_fitting):
For multibyte locales, always return the source font. This is a
workaround for bug 7350. We will fix 7350 properly in 1.2.
* libnautilus-extensions/nautilus-glib-extensions.h:
* libnautilus-extensions/nautilus-glib-extensions.c:
(nautilus_dumb_down_for_multi_byte_locale_hack):
New function to determine if we need to dumb down some things for
multi byte locales. Currently this is only limited to bold text
and possible larger text in the sidebar, first time wizard and
theme selector.
* src/nautilus-first-time-druid.c: (new_title_label):
For multibyte locales, dont force the label to be smooth so that
it works in more systems.
2001-03-06 Ramiro Estrugo <ramiro@eazel.com>
reviewed by: John Sullivan <sullivan@eazel.com>
Fix bug 7400 - Assertions in NON smooth font picker, and font
doesn't change.
* libnautilus-extensions/nautilus-preferences-item.c:
(preferences_item_create_font_family),
(font_family_item_changed_callback):
Replace text_item_changed_callback with
font_family_item_changed_callback and have the new callback deal
with the string picker properly. Im not sure where
text_item_changed_callback came from, but it was assuming that the
target was a NautilusCaption and not a NautilusStringPicker.
2001-03-06 Darin Adler <darin@eazel.com>
reviewed by: John Sullivan <sullivan@eazel.com>
Fix bug 7475 (No applications are offered in sidebar for local
files):
* libnautilus-extensions/nautilus-mime-actions.c:
(application_supports_uri_scheme_strcmp_style): Renamed
function so it's more clear how it relates to the existing
one and share code with the existing one, because that
one handles the "file" special case (and this one needs to).
(nautilus_mime_has_any_applications_for_file): Change to
use function by new name.
(application_supports_uri_scheme): Use case-insensitive
comparisons since URI schemes are case insensitive.
2001-03-06 John Harper <jsh@eazel.com>
Merged change from `nautilus-1' branch:
reviewed by: Pavel Cisler <pavel@eazel.com>
Fix 7455 (Intermittent crash when opening trash folder):
* libnautilus-extensions/nautilus-trash-file.c:
(trash_callback_check_done), (trash_file_call_when_ready):
Added an "initializing" field to TrashCallback object. This
is set while connecting the call_when_ready callbacks in
trash_file_call_when_ready (). trash_callback_check_done ()
checks this flag and only succeeds when it's false.
2001-03-06 Eric Fischer <eric@eazel.com>
reviewed by: Robin * Slomkowski <rslomkow@eazel.com>
* nautilus-installer.spec.in:
Also include uncompressed, unstripped eazel-installer.
* nautilus-installer/src/Makefile.am:
Install uncompressed, unstripped eazel-installer rather than
discarding it.
* nautilus-installer/src/create-eazel-installer.sh:
Only strip the copy of the installer that is to be compressed.
2001-03-06 Pavel Cisler <pavel@eazel.com>
reviewed by: John Harper <jsh@eazel.com>
Fix 7471 (Crash when drag selecting)
* libnautilus-extensions/nautilus-icon-container.c:
(rubberband_timeout_callback):
Make the selection rectangle never be less than 1 pixel
high and 1 pixel wide. This fixes the crash and looks better.
2001-03-06 Eskil Heyn Olsen <eskil@eazel.com>
reviewed by: Robey Pointer <robey@eazel.com>
Fixes 7215 (in the HEAD)
* components/services/install/lib/eazel-install-logic2.c:
(prune_failed_packages_helper):
Fixed a logic error from yesterday (doh, need rest) that would
cause unwanted pruning of packages. I should be spanked.
2001-03-06 Darin Adler <darin@eazel.com>
* README: Note that we now use gnome-vfs HEAD, not a branch
any more.
2001-03-06 Darin Adler <darin@eazel.com>
reviewed by: John Sullivan <sullivan@eazel.com>
Fixed bug 7328 (info pages no longer work):
* components/help/converters/gnome-info2html2/main.c: (main):
Fixed broken logic for handling both bzip and gzip.
Fixed case when you change "View As" before the view change is
complete.
* src/nautilus-window-manage-views.c:
(nautilus_window_set_content_view): Stop the view change if you
make a change with the "View As" menu.
Tue Mar 06 12:24:24 2001 George Lebl <jirka@5z.com>
Darin <darin@eazel.com> said that while this patch causes fungal
growth between the toes, it is ok to apply.
* components/tree/nautilus-tree-view-dnd.c (do_get_data)
(nautilus_tree_view_drag_drop)
(nautilus_tree_view_ensure_drag_data)
libnautilus-extensions/nautilus-icon-dnd.c (do_get_data)
(nautilus_icon_container_ensure_drag_data)
(drag_drop_callback)
libnautilus-extensions/nautilus-list.c (do_get_data)
(nautilus_list_ensure_drag_data)
(nautilus_list_drag_drop):
When doing gtk_drag_get_data, first find a target we support rather
then just grabbing the first one. We need to make a target list
and do some gtk voodoo. At some later date, this should be more
generalized and stuffed somewhere in libnautilus-extentions.
Fixes #7312
* libnautilus-extensions/nautilus-file-operations.c
(parse_previous_duplicate_name): s/strdup/g_strdup/ as the
string will be later g_free'd
Fixes #7440
2001-03-06 Eric Fischer <eric@eazel.com>
reviewed by: Christian Meyer <chrisime@gnome.org>
(Bug 7315. Thanks to Christian Meyer for tracking down
places where this needed to be fixed.)
* components/help/converters/gnome-db2html2/Makefile.am:
* components/help/converters/gnome-info2html2/Makefile.am:
* cut-n-paste-code/widgets/e-paned/Makefile.am:
* cut-n-paste-code/widgets/gimphwrapbox/Makefile.am:
* cut-n-paste-code/widgets/nautilusclist/Makefile.am:
* libnautilus-extensions/Makefile.am:
In all of these, change GNOME_CFLAGS to GNOMEUI_CFLAGS so that
they get the correct #include path for the GTK headers.
2001-03-06 Michael Engber <engber@eazel.com>
reviewed by: Darin Adler <darin@eazel.com>
* libnautilus-extensions/nautilus-bonobo-extensions.h:
Added NAUTILUS_BONOBO_X_BOILERPLATE.
* libnautilus-extensions/nautilus-directory-metafile-monitor.c:
(nautilus_metafile_monitor_class_init),
(nautilus_metafile_monitor_init):
* libnautilus-extensions/nautilus-directory-metafile-monitor.h:
* libnautilus-extensions/nautilus-metafile-factory.c:
(nautilus_metafile_factory_class_init),
(nautilus_metafile_factory_init):
* libnautilus-extensions/nautilus-metafile-factory.h:
* libnautilus-extensions/nautilus-metafile.c:
(nautilus_metafile_class_init), (nautilus_metafile_init):
* libnautilus-extensions/nautilus-metafile.h:
Switched NautilusMetafile, MetafileMonitor, and Metafile factory
to be based on BonoboXObject - this causes our corba object to
get freed properly - bug 7335.
2001-03-06 Darin Adler <darin@eazel.com>
reviewed by: John Sullivan <sullivan@eazel.com>
Fixed bug 7435 (text view spews complaints whenever a text view is
destroyed):
* components/text/nautilus-text-view.c:
(nautilus_text_view_initialize): Ref the widget that gets text so
that we can notice if it's destroyed.
(detach_file): Get rid of unneeded NULL check.
(nautilus_text_view_destroy): Unref the widget.
(file_read_callback): Don't insert any text if the widget is
already destroyed. The widget can be destroyed before the
NautilusView object is.
(handle_service_menu_item): Add FIXME about sync. I/O.
(nautilus_text_view_set_font): Add FIXME about strange font
handling.
2001-03-06 Dan Mueth <dan@eazel.com>
reviewed by: Maciej Stachowiak <mjs@eazel.com>
Updating data file which determines which documents appear
in the "Introductory Documents" section of the help sidebar.
It now includes all locales of each doc.
Bug#: 7267
* components/help/topleveldocs.xml:
Fixing font problem for titles.
Bug#: 7210
* help/nautilus-quick-reference/es/index.html:
* help/nautilus-quick-reference/no/index.html:
Fixing screenshots in Swedish version of Nautilus
Quick Reference. Now the links aren't broken at least.
They still aren't localized though.
Bug#: 7422
* help/nautilus-quick-reference/sv/Makefile.am:
* help/nautilus-quick-reference/sv/figures/colors_small.png:
* help/nautilus-quick-reference/sv/figures/emblems.png:
* help/nautilus-quick-reference/sv/figures/emblems_small.png:
* help/nautilus-quick-reference/sv/figures/ff_small.png:
* help/nautilus-quick-reference/sv/figures/find.png:
* help/nautilus-quick-reference/sv/figures/find_small.png:
* help/nautilus-quick-reference/sv/figures/full.png:
* help/nautilus-quick-reference/sv/figures/full_small.png:
* help/nautilus-quick-reference/sv/figures/locbar.png:
* help/nautilus-quick-reference/sv/figures/locbar_small.png:
* help/nautilus-quick-reference/sv/figures/menubar.png:
* help/nautilus-quick-reference/sv/figures/menubar_small.png:
* help/nautilus-quick-reference/sv/figures/music.png:
* help/nautilus-quick-reference/sv/figures/music_small.png:
* help/nautilus-quick-reference/sv/figures/navbar.png:
* help/nautilus-quick-reference/sv/figures/navbar_small.png:
* help/nautilus-quick-reference/sv/figures/patterns.png:
* help/nautilus-quick-reference/sv/figures/sidebar.png:
* help/nautilus-quick-reference/sv/figures/sidebar_small.png:
* help/nautilus-quick-reference/sv/figures/themes.png:
* help/nautilus-quick-reference/sv/figures/themes_small.png:
* help/nautilus-quick-reference/sv/figures/viewmenu.png:
--- end of what mjs reviewed
Fixing these screenshots so they render correctly in some
browsers. Replacing a screenshot in a doc with another can't break
Nautilus :)
Bug#: 7434
* help/nautilus-quick-reference/C/figures/music.png:
* help/nautilus-quick-reference/C/figures/navbar.png:
* help/nautilus-quick-reference/C/figures/softcat.png:
* help/nautilus-quick-reference/C/figures/storage.png:
Change one line of a doc to make it more correct. Again,
there is no way this can break anything, so I'm taking responsibility
for this.
* help/nautilus-quick-reference/sv/index.html:
2001-03-06 Darin Adler <darin@eazel.com>
* nautilus.spec.in: RPM view also has to be removed from the RPM
spec file.
2001-03-06 Eskil Heyn Olsen <eskil@eazel.com>
reviewed by: Ian McKellar <ian@eazel.com>
* po/POTFILES.in:
Woops, forgot to remove the rpmview from potfiles.
2001-03-05 Ian McKellar <ian@eazel.com>
* components/services/inventory/eazel-inventory-collect-software.c:
(eazel_inventory_collect_software):
Use shorter distribution name. (Fixing urgent stuff for the update
service)
2001-03-05 Ian McKellar <ian@eazel.com>
reviewed by: Maciej Stachowiak <mjs@eazel.com> who isn't even here or
online...
* components/services/inventory/eazel-inventory-utils.c:
(eazel_create_configuration_metafile):
Disable hardware inventory collection for 1.0. This fixes bug 7305.
2001-03-05 George Lebl <jirka@5z.com>
Ian McKellar <ian@eazel.com> said this patch will end global
hunger and bring about world peace.
* components/help/hyperbola-filefmt.c (fmt_toplevel_add_doc):
g_strdup and not strdup if we're going to g_free.
Fixes #7414
* components/help/hyperbola-filefmt.c (locale_score)
(is_new_locale_better) (fmt_toplevel_parse_xml_tree)
(fmt_toplevel_populate_tree) (get_path_from_node):
When looking at the toplevels documents XML tree, score different
paths for a document according to the position of the locale in the
language list that was gotten from gnome_i18n_get_language_list.
fmt_toplevel_parse_xml_tree now returns TRUE/FALSE for better
detection of unparsable files then before. Also check if the file
exists and is readable before adding it to the tree.
Fixes #7311, #7314
* components/help/converters/gnome-info2html2/main.c (main):
the "bz" integer is only used when HAVE_LIBBZ2 is on, and it's
not for me, so put it into the HAVE_LIBBZ2 define protected code.
Fixes #7417
2001-03-05 Eskil Olsen <eskil@eazel.com>
reviewed by: Mike Fleming <mfleming@eazel.com> who almost feels
bad about it...
"Fixes" bug 7413
* components/Makefile.am:
Removed the rpmview from build.
2001-03-05 Eskil Olsen <eskil@eazel.com>
reviewed by: Robey Pointer <robey@eazel.com> who sez "yup".
Fixed bug 7070.
* components/rpmview/nautilus-rpm-view-install.c:
(get_detailed_errors),
Flipped the meaning of the third argument.
(nautilus_rpm_view_install_failed),
s/TRUE/FALSE
(nautilus_rpm_view_uninstall_failed),
s/FALSE/TRUE
(nautilus_rpm_view_dependency_check):
use packagedata_get_readable_name instead of doing it myself.
* components/services/install/lib/eazel-install-logic2.c:
(prune_failed_packages_helper):
Ugh, I did not traverse down down into ALREADY_INSTALLED packages,
and I had flipped the change of status for suite_ids. So I added
some enum logic so ALREADY_INSTALLED (hence also suite_id's) get
their dependencies pruned.
* components/services/install/lib/eazel-install-problem.c:
(get_detailed_uninstall_messages_foreach):
I committed the sin of changing an i18n string..
2001-03-05 Pavel Cisler <pavel@eazel.com>
reviewed by: Ramiro Estrugo <ramiro@eazel.com>
Fix 7404: Clicking on "Install" in Eazel services fails.
* libnautilus-extensions/nautilus-font-manager.c:
(gnome_vfs_init_if_needed), (nautilus_font_manager_for_each_font),
(nautilus_font_manager_file_is_scalable_font):
Add lazy GnomeVFS initialization because the nautilus font manager
code now makes GnomeVFS calls.
2001-03-05 Brian Frank <bfrank@eazel.com>
* data/static_bookmarks.xml:
Changed LWN.net bookmark to Linux Weekly News
2001-03-05 Andy Hertzfeld <andy@eazel.com>
* components/throbber/nautilus-throbber.c:
(nautilus_throbber_initialize), (draw_throbber_image),
(nautilus_throbber_size_allocate),
(nautilus_throbber_size_request):
fixed bug 5640, toolbar area below throbber drawn different from theme
for some gtk themes. Fixed by having the throbber clear its
entire gdk window to the background.
2001-03-05 Eric Fischer <eric@eazel.com>
reviewed by: Robin * Slomkowski <rslomkow@eazel.com>
* configure.in:
Explicitly run gtk-config to get GTK's cflags, because
$GNOMEUI_CFLAGS aren't enough for people who've upgraded
to GTK 1.2.9. (Bug 7315)
2001-03-05 Rebecca Schulman <rebecka@eazel.com>
Complete work for 5520, that cron should be running
for medusa to work.
reviewed by: <delete if not using a buddy>
* libnautilus-extensions/nautilus-global-preferences.c:
(global_preferences_use_fast_search_changed_callback):
Change the text to Vera's final copy.
* src/nautilus-first-time-druid.c: (druid_finished),
(back_update_page_callback), (set_up_medusa_page),
(next_medusa_page_callback), (set_up_cron_information_page),
(nautilus_first_time_druid_show):
Change the text to Vera's final copies, make medusa update
correctly when medusa is turned on in the first time druid
2001-03-05 Maciej Stachowiak <mjs@eazel.com>
reviewed by: John Harper <jsh@eazel.com>
Fix bug 7391 (The logon dialog box for services has input boxes
larger that the dialog can contain)
* components/services/summary/nautilus-summary-dialogs.c
(nautilus_summary_show_login_dialog): Remove the line that was
setting a hardcoded width.
2001-03-05 Eric Fischer <eric@eazel.com>
reviewed by: Don Melton <don@eazel.com>
* nautilus.spec.in:
Add share/pixmaps/nautilus/crux_eggplant/throbber/*.png
to the list of files to be put in the RPM (Bug 7383).
2001-03-05 John Harper <jsh@eazel.com>
Fixed bug 7402 (Fonts that don't define ` ' cause assertions
and squash words together):
* librsvg/rsvg-ft.c (rsvg_ft_measure_or_render_string): force
the width of the returned glyph to be at least one pixel
* librsvg/rsvg-ft.c (rsvg_ft_get_glyph_cached): added extra
arg `cache_ix'. Used when accessing the glyph cache. The old
`glyph_ix' arg is only used when accessing the physical font
(this allows a cached glyph to be created from a different
physical glyph)
(rsvg_ft_measure_or_render_string): if the character is a ` '
and has a glyph index but doesn't have an actual glyph
definition, create one by caching the glyph for `-' as ` ' and
zeroing its pixel buffer
2001-03-05 Robey Pointer <robey@eazel.com>
reviewed by: Eskil Heyn Olsen <eskil@eazel.com>
who said it was "most excellent"
* components/services/install/lib/eazel-softcat.c:
(eazel_softcat_get_info):
When parsing softcat responses, check if we were doing a suite
lookup even if only one package was returned. (Suites consisting
of only one package were getting returned as if it was a toplevel
package with both suite_id and rpm_id set.)
2001-03-05 Arik Devens <arik@eazel.com>
reviewed by: Ramiro Estrugo <ramiro@eazel.com>
Fixed bug 7377, Hit a g_return_val_if_fail when selecting "Marlet"
font.
* libnautilus-extensions/nautilus-font-picker.c: Added Marlett to
the list of black listed font families.
2001-03-05 John Sullivan <sullivan@eazel.com>
reviewed by: Darin Adler <darin@eazel.com>
Fixed bug 7363 (change to smooth font choice doesn't affect
sidebar in currently open windows)
* src/nautilus-sidebar-title.c:
(smooth_font_changed_callback): New callback, gets the smooth
font preference and tells the two NautilusLabels to use it.
(nautilus_sidebar_title_initialize): Register callbacks
for the anti-aliased and non-anti-aliased fonts changing.
(nautilus_sidebar_title_destroy): Remove new callbacks.
(update_all_cover): Renamed from smooth_graphics_mode_changed_callback
since it's now used for more than just that.
2001-03-05 Ramiro Estrugo <ramiro@eazel.com>
reviewed by: John Harper <jsh@eazel.com>
* libnautilus-extensions/nautilus-font-picker.c:
More black listed fonts. Fixes bug 7384.
2001-03-05 John Harper <jsh@eazel.com>
reviewed by: Ramiro Estrugo <ramiro@eazel.com>
Fixed bug 7380 (Nautilus crashes when I choose "Microsoft Sans
Serif" font):
* librsvg/rsvg-ft.c (rsvg_ft_measure_or_render_string):
initialize y components of bbox. Don't call
rsvg_ft_get_glyph_cached with a zero index (non-existent
glyph). Use `n_glyphs' to index `glyph_xy' array instead of
`i' (this is what fixes the bug - when one or more glyphs don't
exist `i' points too far into the array)
2001-03-03 Rebecca Schulman <rebecka@eazel.com>
Complete most of bug 5520, that turning medusa on when cron
isn't running should tell the user this, and, if possible,
how to start cron.
reviewed by: Mike Engber <engber@eazel.com>
* libnautilus-extensions/nautilus-global-preferences.c:
(global_preferences_use_fast_search_changed_callback):
Add dialog that comes up if the fast search preference is
enabled in the preference dialog when cron is off.
The dialog will tell the user about cron and how to
turn it on on linux systems.
* libnautilus-extensions/nautilus-medusa-support.c:
(nautilus_medusa_add_system_state_changed_callback),
(nautilus_medusa_check_cron_is_enabled):
* libnautilus-extensions/nautilus-medusa-support.h:
Add hack to check if cron is actually running using cron.
* acconfig.h:
* configure.in:
Add HAVE_PROC_PROCESS_FILES, so we know whether we can
check proc files for whether cron is running
* src/nautilus-first-time-druid.c: (back_update_page_callback),
(set_up_medusa_page), (next_medusa_page_callback),
(set_up_cron_information_page), (nautilus_first_time_druid_show):
Add cron interface to the first time druid that tells users how to
turn on cron if necessary, as per Arlo's design.
Final text still needs to be added here.
* libnautilus-extensions/nautilus-mime-actions.c:
(application_can_handle_uri),
(nautilus_mime_has_any_applications_for_file),
(nautilus_mime_has_any_applications_for_file_type):
* libnautilus-extensions/nautilus-mime-actions.h:
* libnautilus-extensions/nautilus-program-choosing.c:
(choose_application_callback), (application_cannot_open_location):
Old change that never got committed, reviewed by Darin Adler
<darin@eazel.com>
2001-03-05 John Sullivan <sullivan@eazel.com>
reviewed by: Darin Adler <darin@eazel.com>
Fixed bug 7348 (duplicate styles in some fonts)
* libnautilus-extensions/nautilus-font-picker.c:
(font_style_entry_free): New function (extracted from
global_font_list_free).
(global_font_list_free): Use extracted function.
(list_contains_style): New function, looks for matching
font_file_name.
(global_font_list_populate_callback): free style rather
than appending to list if an equivalent is already in list.
2001-03-05 Ramiro Estrugo <ramiro@eazel.com>
reviewed by: Darin Adler <darin@eazel.com>
Fix for bugs 7375 and 7370.
* libnautilus-extensions/nautilus-font-manager.c:
(font_ignore_directory): Black list the ISO8859-2 and ISO8859-7
encoded fonts which it turns out are missing all kinds of glyphs.
Also add another instance of the same Abisource fonts, but from an
older package that had a slightly different name.
* libnautilus-extensions/nautilus-font-picker.c:
Black list the Bookmark URW font which causes crashes on old
version of the urw package.
2001-03-05 John Harper <jsh@eazel.com>
reviewed & checked in by: Darin Adler <darin@eazel.com>
Fix bug 7389 (crash when starting nautilus):
* libnautilus-extensions/nautilus-directory-background.c
(nautilus_background_get_desktop_background_window): check if
the `icon_container' object data (a GtkLayout widget) is
non-null before dereferencing it
(image_loading_done_callback): only pass result of
nautilus_background_get_desktop_background_window to
gdk_window_set_back_pixmap if it's non-null
2001-03-05 Arik Devens <arik@eazel.com>
reviewed by: Robin * Slomkowski <rslomkow@eazel.com>
Fixed bug 6616, foot menu icon does not launch nautilus on some
users' systems.
* nautilus.spec.in: Fix to the userid and groupid we install our
help files as to cause --verify to stop failing.
2001-03-05 Darin Adler <darin@eazel.com>
reviewed by: John Sullivan <sullivan@eazel.com>
Fix bug 7381 (warning every time I start Nautilus because my
/usr/share/fonts/default/Type1/fonts.dir has no fonts in it):
* libnautilus-extensions/nautilus-font-manager.c:
(font_description_table_new): Tolerate files with 0 fonts in them,
but don't tolerate files where the count is > than the number of
lines in the file.
Fix bug 7362 (two font menus appear in preferences in non-smooth
mode):
* libnautilus-extensions/nautilus-global-preferences.c:
(appearance_pane_update): Fix spelling error.
(global_preferences_create_font_group): Fix wrong variable name
and spelling error.
* libnautilus-extensions/nautilus-string-list.c:
Fix spelling error ("supress" -> "suppress").
2001-03-05 John Harper <jsh@eazel.com>
reviewed by: Pavel Cisler <pavel@eazel.com>
Fixed bug 7374 (Crash in font cache code after changing fonts
many times):
* librsvg/rsvg-ft.c (rsvg_ft_font_evict): check if victim->font
is null before freeing it
2001-03-05 John Sullivan <sullivan@eazel.com>
reviewed by: Darin Adler <darin@eazel.com>
Fixed bug 7303 (some menu items use duplicate, thus
non-working, underline accelerators)
* src/file-manager/nautilus-directory-view-ui.xml:
New _Folder -> _New Folder to avoid conflict with _Find.
_Open in New Window -> Open _in New Window to avoid conflict
with _Open.
Open With -> Open Wit_h
_Select All Files -> Select _All Files to avoid conflict with
_Stretch Icon
* src/nautilus-shell-ui.xml:
_New Window -> New _Window to avoid conflict with _New Folder.
_Web Search -> We_b Search to avoid conflict with New _Window.
_Select All -> Select _All to avoid conflict with _Stretch Icon
Hide Sidebar -> Hide _Sidebar
Hide Toolbar -> Hide _Toolbar
Hide Location Bar -> Hide Location _Bar
Hide Status Bar -> Hide St_atus Bar
* src/file-manager/fm-directory-view.c: (real_update_menus):
Open in <n> _New Window(s) -> Open _in <n> New Windows to match xml.
* src/nautilus-window-menus.c:
(nautilus_window_update_show_hide_menu_items):
Add Show/Hide xxx accelerators to match xml.
2001-03-05 Ramiro Estrugo <ramiro@eazel.com>
reviewed by: Maciej Stachowiak <mjs@eazel.com>
* libnautilus-extensions/nautilus-font-manager.c:
(nautilus_self_check_font_manager):
Comment out the font manager checks out again! Tinderbox wins
this round, but ill be back with a fix for bug 7343 and fix the
problem properly once and for all.
2001-03-05 Ramiro Estrugo <ramiro@eazel.com>
reviewed by: Glynn Foster <glynn.foster@ireland.sun.com>
No significant code changes. Just adding bug numbers to FIXMEs.
The only real code change (which happens to be a commenting out of
something) is a workaround for a tinderbox problem.
* libnautilus-extensions/nautilus-font-factory.c:
(nautilus_font_factory_get_font_by_family):
Bug number for FIXME.
* libnautilus-extensions/nautilus-font-manager.c:
(nautilus_font_manager_get_default_font),
(nautilus_font_manager_get_default_bold_font):
Bug number for FIXME.
Comment out the SOURCE_DATADIR font hack until it works better.
Fixes broken tinderbox checks. Checks will still run even if not
with the optimal setup. I have an idea how to fix this later
using a configure.in hack. Added FIXME and bug number for this
issue.
* libnautilus-extensions/nautilus-glyph.c:
(nautilus_glyph_draw_to_pixbuf):
Bug number for FIXME.
* libnautilus-extensions/nautilus-icon-container.c:
Bug number for FIXME and reworked FIXME blurb to match bug report.
(nautilus_icon_container_initialize):
* libnautilus-extensions/nautilus-scalable-font.c:
(nautilus_scalable_font_get_default_font),
(nautilus_scalable_font_get_default_bold_font):
Bug number for FIXMEs.
2001-03-05 Dan Mueth <dan@eazel.com>
Removed Eazel logo from screenshot.
* help/nautilus-quick-reference/C/figures/music.png:
2001-03-05 Ramiro Estrugo <ramiro@eazel.com>
reviewed by: Maciej Stachowiak <mjs@eazel.com>
Fix bug 5813 - Remove workaround for bug 5712 when both GTK+ 1.2.9
and the new gdk-pixbuf are released and required by configure.in
and RPM spec file
* libnautilus-extensions/Makefile.am:
* libnautilus-extensions/bug-5712-pr3-workaround--gdk-pixbuf-drawable.c:
* libnautilus-extensions/bug-5712-pr3-workaround--gdk-pixbuf-private.h:
* libnautilus-extensions/bug-5712-pr3-workaround--gdkimage.c:
Retire these workaround cut n pasted code.
* libnautilus-extensions/nautilus-gdk-pixbuf-extensions.c:
(nautilus_gdk_pixbuf_get_from_window_safe):
Remove the workaround, we can safely call the gdk and gdk-pixbuf
calls now that bugs in there have been fixed.
2001-03-04 Maciej Stachowiak <mjs@eazel.com>
reviewed by: George Lebl <jirka@5z.com>
Ramiro Estrugo <ramiro@eazel.com>
Fixed bug 7336 ("View as Text" not a choice for remote web pages)
* components/text/Nautilus_View_text.oaf.in: Removed attribute
limiting this view's applicability to the "file:" URI scheme, thus
fixing bug 7336.
* components/text/nautilus-text-view.c (file_read_callback):
Remove some incorrect checks that made this component only load
the first chunk of text for remote files; this bug was uncovered
in the process of fixing 7336.
2001-03-05 Ramiro Estrugo <ramiro@eazel.com>
reviewed by: Pavel Cisler <pavel@eazel.com>
Maciej Stachowiak <mjs@eazel.com>
Bugs:
6368 - Multibyte font handling in non smooth mode.
2673 - Need to hook up the new font picker to nautilus
1274 - Add support for picking a custom font
* components/history/Makefile.am:
* components/history/nautilus-history-view.c: (main):
Initialize gettext for the history component so it can display
localized strings.
* components/notes/nautilus-notes.c: (make_notes_view):
Set the notes widget font from preferences so it can be properly
localized.
* components/text/nautilus-text-view.c:
(nautilus_text_view_set_font):
Use the localized font name to make this work in locales other
than the default.
* libnautilus-extensions/Makefile.am:
Add a macro for finding data on the source tree for the situation
when 'make install' has not be run.
* libnautilus-extensions/nautilus-font-factory.c:
(nautilus_font_factory_get_font_by_family): Workaround the problem
that fully qualified localized fonts were being processed
incorrectly. We simply leave them alone now.
(nautilus_font_factory_get_font_from_preferences): Use the
localized font string to make this work on more locales.
* libnautilus-extensions/nautilus-font-manager.h:
* libnautilus-extensions/nautilus-font-manager.c:
(font_description_table_find): New function to find a description
in a table.
(font_description_table_for_each): Change the return value to a
boolean to indicate whether to stop the iteration or not. Switch
the order of an assert and assigned.
(collect_fonts_from_directory): Use macros for the mime type
strings.
(font_ignore_directory): Add more directories to ignore.
(font_manager_collect_font_tables): Change prepend to append to
get fonts in a better order (fallback and user fonts first)
, (font_table_list_find),
(free_font_tables), (ensure_global_font_table),
(nautilus_font_manager_for_each_font): Use just one global table
for all fonts instead of 3.
(nautilus_font_manager_get_default_font): Compute the default
dynamically to take user choices into account. Make it work on
non installed nautilus builds.
(nautilus_font_manager_get_default_bold_font): Same as above for a
bold font.
(nautilus_font_manager_file_is_scalable_font): New function to
check that a file is really a scalable font:
(font_list_find_bold_callback), (nautilus_font_manager_get_bold),
(nautilus_font_manager_weight_is_bold): New functions to find a
bold font in the global tables.
(nautilus_self_check_font_manager): Make it work on not installed
nautilus builds and remove the hack where checks would on run for
the "ramiro" user.
* libnautilus-extensions/nautilus-font-picker.c:
(nautilus_font_picker_initialize), (font_list_find),
(font_picker_update_styles), (font_picker_populate),
(font_picker_font_changed_callback),
(font_picker_style_changed_callback), (font_find_style),
(ignore_font), (font_make_name), (font_make_style),
(global_font_list_free), (font_list_count_families),
(global_font_list_get), (global_font_list_populate_callback),
(nautilus_font_picker_get_selected_font),
(nautilus_font_picker_set_selected_font):
Make the font list global and not per widget instance. Use better
labels for the font styles. Use better labels for font names
(foundry and family vs just family depending on how many families
of the same font are found)
* libnautilus-extensions/nautilus-global-preferences.h:
* libnautilus-extensions/nautilus-global-preferences.c:
(global_preferences_install_font_defaults): Add new smooth font
preference for the icon container.
(nautilus_global_preferences_get_smooth_font): New function to
safely get a smooth font out of preferences.
* libnautilus-extensions/nautilus-icon-container.c:
(nautilus_icon_container_initialize): Use the localized version of
the font strings and add a FIXME for the problem of checking these
in many disparate places in nautilus.
* libnautilus-extensions/nautilus-program-chooser.c:
(program_file_pair_get_program_name_for_display): Use the
localized version of the application name strings.
* libnautilus-extensions/nautilus-scalable-font.h:
* libnautilus-extensions/nautilus-scalable-font.c:
(nautilus_scalable_font_initialize_class),
(nautilus_scalable_font_initialize),
(nautilus_scalable_font_destroy), (nautilus_scalable_font_new),
(nautilus_scalable_font_make_bold),
(nautilus_scalable_font_get_default_font),
(nautilus_scalable_font_get_default_bold_font),
(free_global_font_handle_table),
(initialize_global_stuff_if_needed),
(nautilus_scalable_font_get_rsvg_handle):
Simplify this class a lot by using the font manager. No longer
need to manage font lookup and queries.
* libnautilus-extensions/nautilus-smooth-text-layout-cache.c:
(nautilus_self_check_smooth_text_layout_cache): Fix a comment.
Dont hardcode the font family. Use the default font. Remove the
#ifdef hacker for "before make install fonts broken" problem which
is now fixed.
* src/file-manager/fm-directory-view.h:
* src/file-manager/fm-directory-view.c:
(directory_view_smooth_font_changed_callback),
(fm_directory_view_initialize), (fm_directory_view_destroy):
Add method for responding to changes in the smooth font for AA
mode of the icon container.
* src/file-manager/fm-icon-view.c:
(fm_icon_view_smooth_font_changed),
(fm_icon_view_initialize_class),
(fm_icon_view_update_icon_container_smooth_font),
(create_icon_container):
Add support for responding to change in the smooth font. Update
the icon container's smooth font on such changes.
* src/nautilus-about.c: (nautilus_about_draw_info):
Change the offset of the "Nautilus" title which broken when jsh
make glyphs render properly taking the baseline into account.
* src/nautilus-sidebar-title.c: (update_font):
Use the localized font name.
* src/nautilus-sidebar.c: (nautilus_sidebar_add_panel),
(nautilus_sidebar_remove_panel):
Use the localized sidebar tabs descriptions.
* src/nautilus-window.c: (create_view_as_menu_item):
Use the localized "View as" labels.
* test/test-nautilus-font-manager.c: (font_iterator_callback):
* test/test-nautilus-font-picker.c: (update_font),
(font_changed_update_label_callback),
(font_changed_update_file_name_callback),
(use_defalt_font_callback), (use_defalt_bold_font_callback),
(use_defalt_font_update_picker_callback),
(use_defalt_bold_font_update_picker_callback), (main):
* test/test.c: (test_quit):
Updates for changes in font manager and font picker.
2001-03-05 Dan Mueth <dan@eazel.com>
reviewed by: Ramiro Estrugo <ramiro@eazel.com>
Updating contents of "Introductory Documents" at top of
help sidebar to include the GNOME User Guide.
Bug#: 7267
* components/help/topleveldocs.xml:
Adding version 1.0 of Vera's Nautilus Quick Reference.
Bug#: 7210
* help/nautilus-quick-reference/C/Makefile.am:
* help/nautilus-quick-reference/C/figures/colors_small.png:
* help/nautilus-quick-reference/C/figures/emblems.png:
* help/nautilus-quick-reference/C/figures/emblems_small.png:
* help/nautilus-quick-reference/C/figures/ff_small.png:
* help/nautilus-quick-reference/C/figures/find.png:
* help/nautilus-quick-reference/C/figures/find_small.png:
* help/nautilus-quick-reference/C/figures/full.png:
* help/nautilus-quick-reference/C/figures/full_small.png:
* help/nautilus-quick-reference/C/figures/locbar.png:
* help/nautilus-quick-reference/C/figures/locbar_small.png:
* help/nautilus-quick-reference/C/figures/menubar.png:
* help/nautilus-quick-reference/C/figures/menubar_small.png:
* help/nautilus-quick-reference/C/figures/music.png:
* help/nautilus-quick-reference/C/figures/music_small.png:
* help/nautilus-quick-reference/C/figures/navbar.png:
* help/nautilus-quick-reference/C/figures/navbar_small.png:
* help/nautilus-quick-reference/C/figures/patterns.png:
* help/nautilus-quick-reference/C/figures/sidebar.png:
* help/nautilus-quick-reference/C/figures/sidebar_small.png:
* help/nautilus-quick-reference/C/figures/themes.png:
* help/nautilus-quick-reference/C/figures/themes_small.png:
* help/nautilus-quick-reference/C/figures/viewmenu.png:
* help/nautilus-quick-reference/C/index.html:
Changing so that ownership of $(prefix)/share/omf/nautilus
is Nautilus - ie. it doesn't hang around after Nautilus
is removed.
* nautilus.spec.in:
2001-03-04 Eskil Heyn Olsen <eskil@eazel.com>
reviewed by: Robey Pointer <robey@eazel.com>
* components/services/install/lib/eazel-install-logic2.c:
(add_to_dedupe_hash), (post_get_softcat_info),
(dedupe_foreach_depends), (check_if_modification_is_ok),
(do_requirement_consistency_check_package),
(do_requirement_consistency_check_internal),
(check_if_related_package), (check_if_modified_related_package),
(check_tree_helper), (add_file_conflict),
(check_no_two_packages_has_same_file),
(check_conflicts_against_already_installed_packages),
(check_feature_consistency), (do_file_conflict_check),
(eazel_uninstall_upward_traverse),
(eazel_uninstall_check_for_install):
Mark packages that have had check-existing done on them, so we can
check them on each round and not miss any packages or check any
twice. Dedupe packages even if they don't have softcat info yet
(their dupe might). During consistency checking, don't bother to
check packages that are elsewhere in the tree -- assume we handled
them correctly already. Split check_if_related_package into two
pieces, so we can re-use the first half when adding file
conflicts. This way, we can avoid marking file conflicts between
two related packages (rpm4 allows this, for better or worse).
Prune dead packages after the file conflict checks. Make a
passing reference to an unused softcat flag just to annoy Robey.
Automatically add related packages to the tree during uninstall.
This fixes bug 7245 and at least one other bug.
2001-03-04 Dan Mueth <dan@eazel.com>
reviewed by: Maciej Stachowiak <mjs@eazel.com>
Updated the Nautilus User Manual from v0.9 to v1.0.
Note that the file TRACKED_CHANGES details the changes
between the two versions, for use by translators.
There are some new screenshots.
Bug#:7271
* help/nautilus-user-manual/C/Makefile.am:
* help/nautilus-user-manual/C/TRACKED_CHANGES:
* help/nautilus-user-manual/C/figures/custicon.png:
* help/nautilus-user-manual/C/figures/full-1.png:
* help/nautilus-user-manual/C/figures/full-2.png:
* help/nautilus-user-manual/C/figures/full-3.png:
* help/nautilus-user-manual/C/figures/full-4.png:
* help/nautilus-user-manual/C/figures/full-5.png:
* help/nautilus-user-manual/C/figures/full-6.png:
* help/nautilus-user-manual/C/figures/full.png:
* help/nautilus-user-manual/C/figures/locbar.png:
* help/nautilus-user-manual/C/figures/part-1.png:
* help/nautilus-user-manual/C/figures/part-2.png:
* help/nautilus-user-manual/C/figures/part-3.png:
* help/nautilus-user-manual/C/figures/part.png:
* help/nautilus-user-manual/C/figures/player-1.png:
* help/nautilus-user-manual/C/figures/player-2.png:
* help/nautilus-user-manual/C/figures/player-3.png:
* help/nautilus-user-manual/C/figures/player-4.png:
* help/nautilus-user-manual/C/figures/player.png:
* help/nautilus-user-manual/C/figures/prefmenu.png:
* help/nautilus-user-manual/C/figures/sidebar.png:
* help/nautilus-user-manual/C/figures/viewmenu.png:
* help/nautilus-user-manual/C/nautilus-user-manual.sgml:
Suppressed terminal spew every time an info page is viewed
and pretty'd up the error page when the info page does not
exist. Note - info page viewing is now broken completely.
This is not due to this patch. I wrote this patch on a
working build of Nautilus and somebody else has since
broken it in Nautilus CVS.
Bug#: 7299
* components/help/converters/gnome-info2html2/main.c:
(file_exists), (main):
2001-03-04 Maciej Stachowiak <mjs@eazel.com>
reviewed by: Pavel Cisler <pavel@eazel.com>
Fix bug 6967 (if you double click on a package in the icon view
and the while it's loading double click on it again nautilus may
segfault).
* src/nautilus-view-frame.c
(nautilus_view_frame_queue_incoming_call): If the destroy callback
is NULL, do not attempt to call it. With this change, I can
turbo-click an rpm and the package view will still come up cleanly
without crashing Nautilus or itself.
2001-03-04 Pavel Cisler <pavel@eazel.com>
reviewed by: Darin Adler <darin@eazel.com>
* libnautilus-extensions/nautilus-preferences.c:
(preferences_key_make_for_visibility):
Fix a leak by adding a missing g_free.
2001-03-02 Ramiro Estrugo <ramiro@eazel.com>
reviewed by: Pavel Cisler <pavel@eazel.com>
* libnautilus-extensions/nautilus-font-manager.c:
(nautilus_font_manager_get_fallback_font):
Add workaround for tinderbox lack of 'make install' problem. Ill
fix this better tommorow.
2001-03-02 Seth Nickell <seth@eazel.com>
reviewed by: Pavel Cisler <pavel@eazel.com>
* libnautilus-extensions/nautilus-volume-monitor.c:
Add UFS detection code to make Trash work on Solaris. Basically
a cut and paste of the equivalent ReiserFS code added earlier.
2001-03-02 Pavel Cisler <pavel@eazel.com>
reviewed by: Gene Z. Ragan <gzr@eazel.com>
* libnautilus-extensions/nautilus-volume-monitor.c:
Turn off spew about unknown file systems.
2001-03-02 Eskil Heyn Olsen <eskil@eazel.com>
written by: Robey Pointer <robey@eazel.com>
reviewed by: Eskil Heyn Olsen <eskil@eazel.com>
This is a patch to debug output only.
* components/services/install/lib/eazel-package-system-types.c:
(packagedata_dump_tree_helper), (packagedata_dump_tree_int),
(packagedata_dump_tree):
Don't log dependencies for broken packages in debug output.
2001-03-02 Eskil Heyn Olsen <eskil@eazel.com>
reviewed by: Robey Pointer <robey@eazel.com> who sez "that's
nice..."
Fixed 7245.
* components/rpmview/nautilus-rpm-view-install.c:
(get_detailed_errors), (nautilus_rpm_view_install_failed),
(nautilus_rpm_view_uninstall_failed),
(nautilus_rpm_view_install_done),
(nautilus_rpm_view_install_package_callback),
(nautilus_rpm_view_uninstall_package_callback):
Fixed 7245, install view uses EazelInstallProblem to generate
error strings.
No longer call load_failed when done.
Do gnome_dialog_run instead of gnome_dialog_run_and_close and lets
hope it's not fatal...
* components/services/install/command-line/Makefile.am:
* components/services/install/command-line/eazel-alt-install-corba.
c: (eazel_download_progress_signal),
(eazel_install_progress_signal), (main):
Fixed some math stuff that could cause arithmetic coredumps.
Added i18n initialization code.
2001-03-02 Ramiro Estrugo <ramiro@eazel.com>
reviewed by: Pavel Cisler <pavel@eazel.com>
Bug 2673 - Need to hook up the new font picker to nautilus .
* configure.in:
Remove an old font setup hack that never really worked.
* data/fonts/urw/fonts.dir:
Rename the fonts to "Helvetica Default" in order not to clash with
system fonts.
* libnautilus-extensions/nautilus-font-manager.h:
* libnautilus-extensions/nautilus-font-manager.c:
(font_description_new): Add a font type parameter.
(font_lists_total_num_fonts): New function to count the total
number of scalable fonts detetected.
(font_description_table_add): Pass in the detected font lists to
do reality checks.
(font_get_font_type): New function.
(font_description_table_get_length),
(font_description_table_peek_nth),
(font_description_table_get_nth_file_name): Name the parameters
more consistently.
(font_description_table_for_each): Add font type parameter
(font_description_table_new): Rework to not require storing the
detected font list. We now use that only for the duration of the
constructor. Lost the install_font_lists dumbness.
(font_server_for_each_font_directory_internal): Use g_warning
instead of g_print.
(font_ignore_directory): New function to determine whether we
should ignore a directory - makes things much faster.
(font_manager_collect_font_tables): New function to handle all the
work of collecting font directories into tables.
(font_server_for_each_callback), (font_table_list_free),
(font_table_list_for_each), (free_font_tables),
(ensure_at_exit_handler), (ensure_fallback_font_table),
(ensure_user_font_table), (ensure_system_font_tables): Add 3
tables for fallback, system and users fonts. These are populated
as needed.
(nautilus_font_manager_for_each_font): Iterate the 3 font talbles.
(nautilus_font_manager_get_fallback_font) : New function to obtain
a fallback font quickly without having to check the system.
(call_chop_off_comments), (nautilus_self_check_font_manager):
Rework the checks to not create a temp directory. Unfortunately
they now only run for me.
* libnautilus-extensions/nautilus-font-picker.h:
* libnautilus-extensions/nautilus-font-picker.c:
(nautilus_font_picker_initialize_class),
(nautilus_font_picker_initialize), (nautilus_font_picker_destroy),
(font_entry_list_find), (font_picker_update),
(font_name_picker_changed_callback),
(style_picker_changed_callback), (ignore_font),
(font_manager_callback), (style_list_for_each_callback),
(font_entry_list_for_each_callback),
(nautilus_font_picker_get_selected_font),
(nautilus_font_picker_set_selected_font),
(nautilus_font_picker_set_title_label):
Use the new font manager.
* libnautilus-extensions/nautilus-global-preferences.h:
* libnautilus-extensions/nautilus-global-preferences.c:
(global_preferences_install_descriptions),
(global_preferences_install_defaults),
(global_preferences_create_dialog), (appearnace_pane_update),
(global_preferences_create_font_group),
(global_preferences_install_home_location_defaults),
(global_preferences_install_font_defaults):
Add a new preference for the smooth font.
Factor our the default font code to its own function. Setup the
font pickers items to be mutually exclusive according to the
smooth graphics mode preference value.
* libnautilus-extensions/nautilus-gtk-extensions.h:
* libnautilus-extensions/nautilus-gtk-extensions.c:
(nautilus_gtk_widget_set_shown):
New function to show or hide a widget in one go.
* libnautilus-extensions/nautilus-preferences-group.c:
(nautilus_preferences_group_update):
Dont show the widget if a controlling preference prevents it.
* libnautilus-extensions/nautilus-preferences-item.h:
* libnautilus-extensions/nautilus-preferences-item.c:
(preferences_item_update_smooth_font),
(preferences_smooth_font_changed_callback),
(preferences_item_create_smooth_font): Add support for a smooth
font picker.
(preferences_item_destroy), (preferences_item_construct),
(nautilus_preferences_item_set_control_preference),
(nautilus_preferences_item_set_control_action),
(nautilus_preferences_item_get_control_showing): Add support for
using a controlling preference which can force the widget to be
shown or hidden depending on its value.
* libnautilus-extensions/nautilus-preferences-pane.c:
(nautilus_preferences_pane_update):
Use new gtk extension to show or hide the widget in one go.
* libnautilus-extensions/nautilus-scalable-font.h:
* libnautilus-extensions/nautilus-scalable-font.c:
(font_family_string_map_new): Update fallback font name.
(nautilus_scalable_font_new_from_file_name): New function to
create a font directly from a font file name.
(nautilus_scalable_font_get_default_font): Update fallback font name.
(nautilus_scalable_font_get_default_bold_font): New function to
get a fallback bold font.
Remove some unsed functions. Remove the font setup hack, the font
manager takes care of that now.
* libnautilus-extensions/nautilus-string-picker.h:
* libnautilus-extensions/nautilus-string-picker.c:
(nautilus_string_picker_clear):
New function to clear the string picker.
* libnautilus-extensions/nautilus-tabs.c:
(nautilus_tabs_initialize):
Fix the hard coded font name.
* src/nautilus-first-time-druid.c: (new_title_label):
Fix the hard coded font name.
* src/nautilus-sidebar-tabs.c:
(nautilus_sidebar_tabs_load_theme_data):
Fix the hard coded font name.
* test/Makefile.am:
* test/test-nautilus-font-manager.c: (font_type_to_string),
(font_iterator_callback), (font_table_for_each_callback), (main):
* test/test-nautilus-font-picker.c: (font_picker_changed_callback),
(main):
* test/test-nautilus-glyph-simple.c: (main):
* test/test-nautilus-label.c: (main):
Update for new font picker and font manager changes.
2001-03-02 Darin Adler <darin@eazel.com>
reviewed by: Arik Devens <arik@eazel.com>
Fix bug 7190 (Typing / in location moves cursor to end of line).
* src/nautilus-location-bar.c: (try_to_expand_path): Fix a bunch
of storage leaks, including calls to
gnome_vfs_expand_initial_tilde that do nothing. Remove code to
expand the initial tilde in here. That can all be handled below
(and need not be deferred until idle time).
(get_editable_length): New helper function.
(has_exactly_one_slash): New helper function.
(set_position_and_selection_to_end): New helper function.
(position_and_selection_are_at_end): New helper function.
(editable_key_press_callback): Fix logic so we only try to do
completion of any kind when the user is typing at the end of the
text. Also only do the tilde expansion when the path has exactly
one slash, and do it right away rather than waiting for idle the
way the file name expansion does. Finally, cancel the file name
expansion if you are no longer at the end of the text.
Other change.
* src/nautilus-property-browser.c:
(nautilus_property_browser_initialize),
(nautilus_property_browser_update_contents):
* src/nautilus-theme-selector.c:
(nautilus_theme_selector_initialize):
Add FIXMEs for uses of spaces to make buttons look right.
2001-03-02 Pavel Cisler <pavel@eazel.com>
reviewed by: John Harper <jsh@eazel.com>
Fix 7297: Segmentation fault when rapidly pressing refresh twice.
* src/file-manager/fm-directory-view.c: (fm_directory_view_stop):
Need to set pending_files_added and pending_files_changed to NULL
after freeing them.
2001-03-02 John Harper <jsh@eazel.com>
reviewed by: Darin Adler <darin@eazel.com>
Fixed bug 7264 (Nautilus crashing regularly when browsing
folders with .svg files with text in them):
* librsvg/rsvg-ft.c (rsvg_ft_measure_or_render_string): in the
returned `dimensions' array, return the actual height of the
glyph buffer, not the height of the text bounding box. This
appears to fix bug 7264
* librsvg/rsvg-ft.c (rsvg_ft_measure_or_render_string):
subtract the last element of the glyph affine transformation
(the vertical offset) from the position at which it's rendered.
This fixes the test-ft-gtk test program
reviewed by: Pavel Cisler <pavel@eazel.com>
* src/nautilus-window.c (nautilus_window_realize): modified my
last change to use gnome_pixmap_file () instead of
nautilus_pixmap_file () (since the nautilus-launch-icon.png
image gets installed in $prefix/share/pixmaps instead of
$pixmap/share/nautilus/pixmaps, I had an old icon lying around
which made me not see this..)
2001-03-02 John Harper <jsh@eazel.com>
* libnautilus-extensions/nautilus-smooth-text-layout-cache.c:
disabled self check for now, since it won't work without make
install having been run
2001-03-02 John Harper <jsh@eazel.com>
reviewed by: Gene Z. Ragan <gzr@eazel.com>
Fixed bug 6740 (GNOME Panel mini-icon is used in Sawfish, large
version needs to be there.):
* src/nautilus-window.c (nautilus_window_realize): call
gnome_window_icon_set_from_file () on the window, with the
image file whose base is `nautilus-launch-icon.png'
2001-03-02 Pavel Cisler <pavel@eazel.com>
Fix 7225 (emblem sorting locks up entire system for extended
period of time)
reviewed by: Darin Adler <darin@eazel.com>
* libnautilus-extensions/nautilus-file-private.h:
* libnautilus-extensions/nautilus-file.c:
(fill_emblem_cache_if_needed), (compare_by_emblems):
Implement a simple cache for automatic and keyword emblems.
* libnautilus-extensions/nautilus-file.c:
(destroy), (nautilus_file_set_keywords),
(nautilus_file_emit_changed):
Nuke the cache when keywords change.
2001-03-02 Gene Z. Ragan <gzr@eazel.com>
reviewed by: Pavel Cisler <pavel@eazel.com>
Fixed bug 558, Items don't show up in trash: when dropped.
* libnautilus-extensions/nautilus-volume-monitor.c:
* libnautilus-extensions/nautilus-volume-monitor.h:
Added detection for ReiserFS. ReiserFS is now a
supported type for the trash folder creation and
detection code.
2001-03-02 Frederic Crozat <fcrozat@mandrakesoft.com>
reviewed by: Gene Z. Ragan <gzr@eazel.com>
Fixed bug 7276, No support for bzipped man and info pages
-- problem for Mandrake
Note that the coding style of these files is not the same
as the rest of the Nautilus source code.
* components/help/converters/gnome-info2html2/Makefile.am:
* components/help/converters/gnome-info2html2/main.c: (main):
* components/help/converters/gnome-man2html2/Makefile.am:
* components/help/converters/gnome-man2html2/gnome-man2html.c:
(read_man_page):
* components/help/hyperbola-filefmt.c:
(extract_secnum_from_filename), (man_name_without_suffix),
(fmt_man_populate_tree_for_subdir):
2001-03-02 Ian McKellar <ian@eazel.com>
reviewed by: <robey@eazel.com>
* components/services/install-view/callbacks.c:
(nautilus_service_install_done):
* components/services/install-view/nautilus-service-install-view.c:
(nautilus_install_service_describe_menu_entry), (describe_dentry),
(drag_data_get), (drag_data_delete), (launcher_clicked_callback),
(make_dragable_icon_well),
(nautilus_install_service_add_menu_launchers):
* components/services/install-view/nautilus-service-install-view.h:
Added launchers to the congratulations page.
This fixes 5513.
* components/services/inventory/eazel-inventory-utils.c:
(eazel_inventory_clear_md5):
Fixed a crasher in the inventory upload.
* libnautilus-extensions/nautilus-clickable-image.c:
(ancestor_button_release_event):
Fixed NautilusClickableImage so that it doesn't generate click events
when you d-n-d from it.
2001-03-02 Eric Fischer <eric@eazel.com>
reviewed by: Robin * Slomkowski <rslomkow@eazel.com>
(Fixes Bug 6927)
* Makefile.am:
Add eazel-logos installation and distribution rules, conditional
upon the presence of the eazel-logos directory. Remove eazel-logos
from SUBDIRS.
* configure.in:
Add check for presence of eazel-logos directory. Remove eazel-logos
Makefiles from list of files to be generated.
* eazel-logos/Makefile.am:
* eazel-logos/throbber/Makefile.am:
Removed. Now takes place in main Makefile.am.
* nautilus.spec.in:
Only install eazel-logos files if the eazel-logos directory was
present at build time.
2001-03-03 Kjartan Maraas <kmaraas@gnome.org>
* help/nautilus-quick-reference/no/index.html: Tweaks.
2001-03-02 John Harper <jsh@eazel.com>
reviewed by: Darin Adler <darin@eazel.com>
Work to cache smooth-text-layout objects. This increases the
speed of aa rendering so that there's no noticeable difference
when compared with non-aa mode (e.g. when dragging windows over
the top of the nautilus window)
* libnautilus-extensions/nautilus-smooth-text-layout-cache.c,
libnautilus-extensions/nautilus-smooth-text-layout-cache.h: new
class, a cache for the NautilusSmoothTextLayout objects
* libnautilus-extensions/nautilus-icon-canvas-item.c
(nautilus_icon_canvas_item_initialize_class): allocate a
NautilusSmoothTextLayoutCache for all canvas items. It will be
freed on program exit
(draw_or_measure_label_text_aa): use the layout cache when
rendering text
* libnautilus-extensions/Makefile.am: added layout cache files
* libnautilus-extensions/nautilus-glyph.c,
libnautilus-extensions/nautilus-glyph.c,
libnautilus-extensions/nautilus-smooth-text-layout.c,
libnautilus-extensions/nautilus-smooth-text-layout.c
(nautilus_glyph_compare, nautilus_smooth_text_layout_compare):
new functions, only defined when NAUTILUS_OMIT_SELF_CHECK isn't
#define'd. Used by the cache's self test code
* libnautilus-extensions/nautilus-lib-self-check-functions.h:
added nautilus_self_check_smooth_text_layout_cache to the list
2001-03-02 Andy Hertzfeld <andy@eazel.com>
fixed bug 7247, Web Search and Services toolbar icons missing in
GNOME theme; fixed by tweaking the toolbar theming logic to
deal with icons that don't have stock equivalents, and adding images
for the gnome theme to use
* icons/gnome/Makefile.am:
* icons/gnome/SearchWeb.png:
* icons/gnome/Services.png:
* src/nautilus-window-toolbars.c: (get_file_name_from_icon_name),
(set_up_standard_bonobo_button), (set_up_special_bonobo_button),
(set_up_toolbar_images):
* icons/Services.png:
stopgap fix for bug 7289, services toolbar icon in default theme
doesn't fit in the rest of the toolbar icons. I replaced it with
an earlier one that is still consistent with the other services icons,
but it's still not good enough; Arlo will keep working on a better
one.
2001-03-02 Dan Mueth <dan@eazel.com>
reviewed by: John Fleck <jfleck@inkstain.net>
(Patch was written by Laszlo Kovacs <laszlo.kovacs@sun.com>)
Fix problem where use of <anchor> messes up entire document
rendering.
Bug #:6827
* components/help/converters/gnome-db2html2/gdb3html.c:
(start_element):
2001-03-02 Dan Mueth <dan@eazel.com>
reviewed by: Don Melton <don@eazel.com>
Doing build stuff so that new files regarding
the distribution license of the Eazel trademarks
contained in eazel-logos/ are properly included
in tarballs and RPM's.
Bug #: 7275 and 7274
* Makefile.am: Added TRADEMARK_NOTICE to EXTRA_DIST
* eazel-logos/Makefile.am: Added LICENSE to icon_DATA
* nautilus.spec.in: Added eazel-logos/LICENSE and
TRADEMARK_NOTICE
Fixed a small problem for "es_ES" locale missing
a doc.
* components/help/topleveldocs.xml:
2001-03-02 Michael Engber <engber@eazel.com>
reviewed by: George Lebl <jirka@5z.org>
* components/help/hyperbola-filefmt.c:
(fmt_scrollkeeper_populate_tree), (fmt_toplevel_populate_tree):
Switch to using gnome_i18n_get_language_list instead of grabbing
the language straight from the "LANG" environment variable - 7109.
2001-03-02 Andy Hertzfeld <andy@eazel.com>
* src/nautilus-property-browser.c:
(nautilus_property_browser_update_contents):
fixed bug 7283, wrong pattern dragged when property browser is
scrolled, by revert yesterday's border box change that caused it.
2001-03-02 John Sullivan <sullivan@eazel.com>
reviewed by: Darin Adler <darin@eazel.com>
Refixed bug 5863 (Opening folder triggers recalculation
of deep count in Properties window)
The deep count was being invalidated by the directory
loading mechanism, which is legal and should be
harmless. Taught the properties window not to do the
visible recount whenever deep count is invalidated.
* src/file-manager/fm-properties-window.c:
(directory_contents_value_field_update): Set new
deep_count_finished variable when the deep count is
done. Afterwards, only update the display if a new
deep count is completed (don't show future count-ups).
2001-03-01 Eric Fischer <eric@eazel.com>
reviewed by: Michael Engber <engber@eazel.com>
* configure.in:
Fix tinderbox breakage by adding missing AC_SUBST lines for
version number dependencies that got moved from the spec file
to the configure file.
2001-03-01 Darin Adler <darin@eazel.com>
reviewed by: John Sullivan <sullivan@eazel.com>
Fixed bug 7156 (Opening multiple folders with tree view on causes
timed wait dialogs for all but the first (folders never open)):
* libnautilus-extensions/nautilus-directory-async.c:
(async_job_start), (async_job_end): Added some debug code (turned
off).
(dequeue_pending_idle_callback): Fix problem where in the cancel
case we did not do a nautilus_directory_async_state_changed. This
didn't actually cause the bug.
(nautilus_directory_stop_monitoring_file_list): The actual bug
fix. Use the correct cancel function here. The old one didn't do
all the cancelling work.
(cancel_loading_attributes),
(nautilus_directory_cancel_loading_file_attributes): Two more
cases where we needed a call to
nautilus_directory_async_state_changed. These didn't actually
cause the bug.
2001-03-02 Maciej Stachowiak <mjs@eazel.com>
reviewed by: Seth Nickell <seth@eazel.com>
* components/services/inventory-view/Makefile.am: Add missing file
to sources to fix tinderbox.
2001-03-02 Laszlo Kovacs <laszlo.kovacs@sun.com>
reviewed by Seth Nickell:
* components/help/hyperbola-filefmt.c:
fixed bug 7248, two warnings commented out
2001-03-01 Ramiro Estrugo <ramiro@eazel.com>
reviewed by: Eskil Heinous Olsen <eskil@eazel.com>
* libnautilus-extensions/nautilus-string-list.h:
* libnautilus-extensions/nautilus-string-list.c:
(nautilus_string_list_nth_as_integer),
(nautilus_self_check_string_list):
New function to get the nth string as an integer - and checks.
* libnautilus-extensions/Makefile.am:
* libnautilus-extensions/nautilus-font-manager.h:
* libnautilus-extensions/nautilus-font-manager.c:
* libnautilus-extensions/nautilus-lib-self-check-functions.h:
New files. Support for collecting information about the scalable
fonts installed on the system. Parts written by Pavel Cisler.
* components/text/nautilus-text-view.c:
(nautilus_text_view_initialize):
Mark a string for translation.
* libnautilus-extensions/nautilus-font-factory.c:
(nautilus_font_factory_get_font_by_family):
Take fontsets into account. Patch submitted by
eungkyu@sparcs.kaist.ac.kr.
* libnautilus-extensions/nautilus-preferences-item.h:
* libnautilus-extensions/nautilus-preferences-item.c:
(nautilus_preferences_item_initialize_class),
(nautilus_preferences_item_initialize), (preferences_item_destroy),
(preferences_item_construct), (preferences_item_update_enum),
(preferences_item_create_enum),
(preferences_item_update_short_enum),
(preferences_item_create_short_enum),
(preferences_item_update_boolean),
(preferences_item_create_boolean),
(preferences_item_update_editable_string),
(preferences_item_create_editable_string),
(preferences_item_update_integer),
(preferences_item_create_integer),
(preferences_item_update_font_family),
(preferences_item_create_font_family),
(nautilus_preferences_item_new),
(enum_radio_group_changed_callback),
(nautilus_preferences_item_update_displayed_value),
(update_text_settings_at_idle):
Clean this up a bit. Follow nautilus coding conventions more.
Remove long unused theme picker.
Remove unused GtkArg stuff.
* libnautilus-extensions/nautilus-preferences-pane.c:
(nautilus_preferences_pane_new):
* libnautilus-extensions/nautilus-preferences-pane.h:
Remove unused pane description.
* libnautilus-extensions/nautilus-preferences-box.c:
(nautilus_preferences_box_add_pane):
* libnautilus-extensions/nautilus-preferences-box.h:
Remove unused pane description.
* libnautilus-extensions/nautilus-global-preferences.c:
(global_preferences_install_defaults): Mark font name for
translation.
(global_preferences_create_dialog),
(global_preferences_create_search_pane): Remove unused pane
description.
* test/.cvsignore:
* test/Makefile.am:
* test/test-nautilus-glyph-simple.c: (main):
* test/test-nautilus-glyph.c: (main):
* test/test-nautilus-labeled-image.c: (main):
* test/test-nautilus-smooth-text-layout.c: (main):
* test/test-nautilus-font-manager.c: (main):
* test/test.c: (test_quit):
* test/test.h:
Some minor changes. New test for font manager.
2001-03-02 Arlo Rose <arlo@eazel.com>
reviewed by: Josh Barrow <josh@eazel.com>
* icons/ardmore/theme_preview.png:
* icons/arlo/theme_preview.png:
* icons/crux_eggplant/backgrounds/window_pattern.png:
* icons/crux_eggplant/theme_preview.png:
* icons/gnome/theme_preview.png:
* icons/nautilus-mini-logo.png:
* icons/theme_preview.png:
* icons/villanova/theme_preview.png:
New theme previews for the smaller size, and 1bit alpha.
Also, a couple of other tweaks.
2001-03-02 Arlo Rose <arlo@eazel.com>
* icons/gnome/gnome.xml:
* icons/gnome/throbber/008.png:
Fixed an old bug in the GNOME throbber (frame 8) that was
reintroduced at some point
2001-03-02 Arlo Rose <arlo@eazel.com>
reviewed by: Josh Barrow <josh@eazel.com>
* configure.in:
* icons/arlo/arlo.xml:
* icons/arlo/throbber/001.png:
* icons/arlo/throbber/002.png:
* icons/arlo/throbber/003.png:
* icons/arlo/throbber/004.png:
* icons/arlo/throbber/005.png:
* icons/arlo/throbber/006.png:
* icons/arlo/throbber/007.png:
* icons/arlo/throbber/008.png:
* icons/arlo/throbber/009.png:
* icons/arlo/throbber/010.png:
* icons/arlo/throbber/011.png:
* icons/arlo/throbber/012.png:
* icons/arlo/throbber/013.png:
* icons/arlo/throbber/014.png:
* icons/arlo/throbber/015.png:
* icons/arlo/throbber/016.png:
* icons/arlo/throbber/017.png:
* icons/arlo/throbber/018.png:
* icons/arlo/throbber/019.png:
* icons/arlo/throbber/020.png:
* icons/arlo/throbber/021.png:
* icons/arlo/throbber/022.png:
* icons/arlo/throbber/023.png:
* icons/arlo/throbber/024.png:
* icons/arlo/throbber/025.png:
* icons/arlo/throbber/026.png:
* icons/arlo/throbber/027.png:
* icons/arlo/throbber/028.png:
* icons/arlo/throbber/029.png:
* icons/arlo/throbber/030.png:
* icons/arlo/throbber/Makefile.am:
* icons/arlo/throbber/rest.png:
* icons/crux_eggplant/Makefile.am:
* icons/crux_eggplant/crux_eggplant.xml:
* icons/crux_eggplant/throbber/001.png:
* icons/crux_eggplant/throbber/002.png:
* icons/crux_eggplant/throbber/003.png:
* icons/crux_eggplant/throbber/004.png:
* icons/crux_eggplant/throbber/005.png:
* icons/crux_eggplant/throbber/006.png:
* icons/crux_eggplant/throbber/007.png:
* icons/crux_eggplant/throbber/008.png:
* icons/crux_eggplant/throbber/009.png:
* icons/crux_eggplant/throbber/010.png:
* icons/crux_eggplant/throbber/011.png:
* icons/crux_eggplant/throbber/012.png:
* icons/crux_eggplant/throbber/013.png:
* icons/crux_eggplant/throbber/014.png:
* icons/crux_eggplant/throbber/015.png:
* icons/crux_eggplant/throbber/016.png:
* icons/crux_eggplant/throbber/017.png:
* icons/crux_eggplant/throbber/018.png:
* icons/crux_eggplant/throbber/019.png:
* icons/crux_eggplant/throbber/020.png:
* icons/crux_eggplant/throbber/021.png:
* icons/crux_eggplant/throbber/022.png:
* icons/crux_eggplant/throbber/023.png:
* icons/crux_eggplant/throbber/024.png:
* icons/crux_eggplant/throbber/025.png:
* icons/crux_eggplant/throbber/026.png:
* icons/crux_eggplant/throbber/027.png:
* icons/crux_eggplant/throbber/028.png:
* icons/crux_eggplant/throbber/029.png:
* icons/crux_eggplant/throbber/030.png:
* icons/crux_eggplant/throbber/Makefile.am:
* icons/crux_eggplant/throbber/rest.png:
Yee Ha! New throbbers for everyone!
Added new throbbers for Crux Teal and Eggplant.
2001-03-01 Ian McKellar <ian@eazel.com>
reviewed by: John "I'll review that" Harper.
* components/services/inventory-view/nautilus-inventory-view-private.h:
Added file that Mike forgot.
2001-03-01 Maciej Stachowiak <mjs@eazel.com>
reviewed by: Ian McKellar <ian@eazel.com>
Fixed bug 7254 (Remove Featured Downloads tab from svcs summary
page)
* components/services/summary/nautilus-summary-view.c:
(append_hseparator_to_vbox), (generate_eazel_news_entry_row),
(summary_view_update_pane), (generate_service_entry_row): Minor
spacing tweaks to match Arlo's screenshot.
(create_summary_form): ifdef out the code that shows the featured
donwloads pane. Don't entirely remove it for now to avoid major
code changes this late in the game.
2001-03-01 John Harper <jsh@eazel.com>
reviewed by: Maciej Stachowiak <mjs@eazel.com>
Fixed bug 7238 ("View as EOG Image" adds toolbar icons that
don't go away):
* components/adapter/nautilus-adapter.c
(nautilus_adapter_destroy): when the adapter has a non-null
embedding strategy, deactivate it before destroying
I think there may be a refcounting problem in EOG that caused
the original problem, but the above should always be safe, and
will protect nautilus from misbehaving components
2001-03-01 Mike Fleming <mfleming@eazel.com>
reviewed by: <ian@eazel.com>
Part of bug 5575: Polish up inventory view.
Makes "enable" and "disable" views look reasonable and
adds a optional ? arg for the next URI.
* components/services/inventory-view/nautilus-inventory-disable-page.c:
(disable_inventory_callback),
(nautilus_inventory_disable_page_initialize),
(nautilus_inventory_disable_page_new),
(nautilus_inventory_disable_page_destroy),
(nautilus_inventory_disable_page_run):
* components/services/inventory-view/nautilus-inventory-disable-page.h:
* components/services/inventory-view/nautilus-inventory-enable-page.c:
(callback_progress_update),
(nautilus_inventory_enable_page_initialize),
(nautilus_inventory_enable_page_new),
(callback_timeout_error_navigate), (callback_eazel_inventory),
(nautilus_inventory_enable_page_run),
(nautilus_inventory_enable_page_destroy):
* components/services/inventory-view/nautilus-inventory-enable-page.h:
* components/services/inventory-view/nautilus-inventory-view.c:
(nautilus_inventory_view_initialize), (get_finish_uri),
(inventory_load_location_callback):
* libnautilus-extensions/nautilus-file-utilities.c:
(nautilus_self_check_file_utilities):
2001-03-01 Arlo Rose <arlo@eazel.com>
* icons/crux_eggplant/crux_eggplant.xml:
List view color tweak.
2001-03-01 Rebecca Schulman <rebecka@eazel.com>
Some leak checks that showed up on the top of the
leak checker profile. (bugzilla.eazel.com 7253)
These changes reduce leakage in a short session
by 100,000 bytes
reviewed by: Pavel Cisler <pavel@eazel.com>
* libnautilus-extensions/nautilus-preferences.c:
(nautilus_preferences_get_user_level):
Remove leak of a string every time we checked user level
* libnautilus-extensions/nautilus-smooth-text-layout.c:
(nautilus_smooth_text_layout_destroy),
(smooth_text_layout_clear_lines):
Remove a leak of the text and some other characters every time
we created and used a text layout object, which was about 6000
times for a short run for me
* libnautilus-extensions/nautilus-volume-monitor.c:
Stop strdup'ing a string where we would have leaked the original.
2001-03-01 Arik Devens <arik@eazel.com>
reviewed by: Robin * Slomkowski <rslomkow@eazel.com>
* configure.in: Changing our dependency on control center back to
1.2.3 after being browbeaten on irc by people who know more than
me.
2001-03-01 Eric Fischer <eric@eazel.com>
reviewed by: Arik Devens <arik@eazel.com>
* configure.in:
Remove -F- flag to awk in control-center check, since gnomecc
separates name from version with spaces, not dashes.
2001-03-01 Arlo Rose <arlo@eazel.com>
* icons/Services.png:
Made the toolbar icon match the rest of the services icons.
2001-03-01 Robey Pointer <robey@eazel.com>
reviewed by: Eskil Heyn Olsen <eskil@eazel.com>
* nautilus-installer/src/installer.c: (install_failed):
No longer need to throw away install_failed signals since we'll
only get them for the toplevel package now. Need to report this
error so that redundant installs won't be reported as servers
being down.
2001-03-01 Michael Engber <engber@eazel.com>
reviewed by: Darin Adler <darin@eazel.com>
* components/services/nautilus-dependent-shared/icons/eazel-logo-right-side-logo.png:
* icons/about_background.png:
* icons/druid_header.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:
* icons/throbber/029.png:
* icons/throbber/030.png:
* icons/throbber/rest.png:
Checked in uncorrupted png files.
2001-03-01 Arik Devens <arik@eazel.com>
reviewed by: Robin * Slomkowski <rslomkow@eazel.com>
Fixed bug 7032, File Types & Programs capplet not installed on
GNOME 1.2.
Fixed bug 7240, require the new version of gtk-pixbuf in both
configure.in and spec.in.
* configure.in: Added requirements for both the new control center
and the new gdk-pixbuf, both using eric's new macros.
* nautilus.spec.in: Moved everything over to the new macros.
2001-03-01 Eskil Heyn Olsen <eskil@eazel.com>
reviewed by: Robey Pointer <robey@eazel.com> who sighed heavily
and went back to today batch of installer bugs...
This fixes bug 7196.
* components/rpmview/nautilus-rpm-view-install.c:
(save_transaction), (nautilus_rpm_view_install_package_callback),
(nautilus_rpm_view_uninstall_package_callback):
Added a save_transaction callback that returns FALSE.
Setup the save_transaction callback signals.
* components/services/install-view/callbacks.h:
* components/services/install-view/callbacks.c:
(nautilus_service_install_save_transaction):
Added a save_transaction callback that returns FALSE.
* components/services/install-view/nautilus-service-install-view.c:
(nautilus_service_install_view_update_from_uri_finish):
Setup the save_transaction callback signals.
* components/services/install-view/forms.c:
Reverted the " " to "" since bug 7198 was fixed.
* components/services/install/command-line/eazel-alt-install-corba.
c: (eazel_save_transaction_signal), (main):
Added a save_transaction callback that asks the user y/n.
Fixed I18N comment
* components/services/install/idl/trilobite-eazel-install.idl:
Added the save_transaction callback.
* components/services/install/lib/eazel-install-corba-callback.h:
* components/services/install/lib/eazel-install-corba-callback.c:
(impl_save_transaction), (eazel_install_callback_get_epv),
(eazel_install_callback_class_initialize):
Added the save_transaction callback.
Added missing g_list_free's
* components/services/install/lib/eazel-install-logic2.c:
(is_satisfied_features), (execute), (get_packages_with_mod_flag):
Changed a comment.
Call emit_save_transaction prior to saving transaction.
* components/services/install/lib/eazel-install-public.h:
* components/services/install/lib/eazel-install-object.c:
(eazel_install_class_initialize), (eazel_install_install_packages),
(eazel_install_uninstall_packages),
(eazel_install_revert_transaction_from_xmlstring),
(eazel_install_emit_preflight_check_default),
(eazel_install_emit_save_transaction),
(eazel_install_emit_save_transaction_default):
All the insane code to setup the save_transaction thingy.
* components/services/install/lib/eazel-package-system-types.h:
* components/services/install/lib/eazel-package-system-types.c:
(eazel_install_gtk_marshal_BOOL__ENUM_POINTER):
And a special handcarved from a raw metal ore gtk marshal function
for the save_transaction signal.
2001-03-01 Eric Fischer <eric@eazel.com>
reviewed by: Arik Devens <arik@eazel.com>
* configure.in:
Improve the process of checking for required versions of other
software by moving the version numbers out of the spec file and
the body of the configure script and into their own section of
the script.
Also add a couple of autoconf macros that will reduce the amount
of boilerplate that needs to get written for each version check.
* nautilus.spec.in:
Change some of the requirements to get their version numbers from
the configure script rather than hardwiring them here.
(Bug 7229)
2001-03-01 Arlo Rose <arlo@eazel.com>
* icons/About_Image.png:
Added the non-Eazel version; it looks pretty cool.
2001-03-01 Dan Mueth <dan@eazel.com>
reviewed by: Eric Fischer <eric@eazel.com>
Adding Swedish translation of Nautilus Quick Reference:
* configure.in:
* help/nautilus-quick-reference/Makefile.am:
* help/nautilus-quick-reference/sv/.cvsignore:
* help/nautilus-quick-reference/sv/Makefile.am:
* help/nautilus-quick-reference/sv/figures/colors_small.png:
* help/nautilus-quick-reference/sv/figures/emblems_small.png:
* help/nautilus-quick-reference/sv/figures/ff_small.png:
* help/nautilus-quick-reference/sv/figures/find_small.png:
* help/nautilus-quick-reference/sv/figures/full_small.png:
* help/nautilus-quick-reference/sv/figures/locbar_small.png:
* help/nautilus-quick-reference/sv/figures/menubar_small.png:
* help/nautilus-quick-reference/sv/figures/music_small.png:
* help/nautilus-quick-reference/sv/figures/navbar_small.png:
* help/nautilus-quick-reference/sv/figures/sidebar_small.png:
* help/nautilus-quick-reference/sv/figures/softcat.png:
* help/nautilus-quick-reference/sv/figures/storage.png:
* help/nautilus-quick-reference/sv/figures/themes_small.png:
* help/nautilus-quick-reference/sv/index.html:
* help/nautilus-quick-reference/sv/nautilus-quick-reference-sv.omf:
Updating a .cvsignore file:
* help/nautilus-quick-reference/no/.cvsignore:
Fixing l10n of About dialog... Returns are hard coded into the
po file and were placed such that text on left side collided
with names on the right side. I reformatted the text for locales
which were translated and appeared correctly in the locale for me.
Bug #: 7117
* po/de.po:
* po/fr.po:
* po/no.po:
* po/pt_BR.po:
* po/sk.po:
* po/sl.po:
* po/tr.po:
2001-03-01 Arik Devens <arik@eazel.com>
reviewed by: Darin Adler <darin@eazel.com>
Fixed bug 7190, Typing / in location moves cursor to end of line.
* src/nautilus-location-bar.c: (editable_key_press_callback): Made
the location bar check to see if the entry has changed on a slash
so that we aren't expanding stuff that doesn't need to be
expanded.
2001-03-01 Andy Hertzfeld <andy@eazel.com>
* src/nautilus-property-browser.c:
(nautilus_property_browser_update_contents):
fixed bug 7143, increased borders in property browser to Arlo's
taste; fixed by adding a box with an 8 pixel border width.
* src/nautilus-sidebar-tabs.c:
fixed bug 7226, sidebar tabs are too small in Sierra theme; fixed by
increasing the tab height constant by three pixels.
2001-03-01 Mike Fleming <mfleming@eazel.com>
reviewed by: <rslomkow@eazel.com>
Bug 2926: Improve check for ammonite with --enable-eazel-services
* configure.in:
2001-03-01 Michael Engber <engber@eazel.com>
reviewed by: George Lebl <jirka@5z.org>
* components/help/hyperbola-nav-tree.c:
* components/help/hyperbola-types.h:
Included the appropriate headers to define the
internationalization string macros.
2001-03-01 John Sullivan <sullivan@eazel.com>
reviewed by: Darin Adler <darin@eazel.com>
Fixed bug 7164 (infinite redrawing in particular layout case)
* libnautilus-extensions/nautilus-icon-container.c:
(lay_down_icons_horizontal): Fixed the math for determining
whether the current icon fits on the current row; added a
FIXME about a questionable design choice.
(size_allocate): Added a FIXME.
2001-03-01 Arik Devens <arik@eazel.com>
reviewed by: Mike Fleming <mfleming@eazel.com>
Fixed bug 6756, Clicking on anchor links in info: pages causes
page to reload.
* components/help/converters/gnome-info2html2/html.c:
(form_info_tag_href): Changed so that info anchor tag uri's are
always local.
2001-03-01 Andy Hertzfeld <andy@eazel.com>
fixed bug 7168, change name of first time druid flag so 1.0 users
will get to see the new options in the druid.
reviewed by: Michael Engber <engber@eazel.com>
* src/nautilus-application.c: (need_to_show_first_time_druid):
* src/nautilus-first-time-druid.c:
(druid_set_first_time_file_flag):
2001-03-01 Darin Adler <darin@eazel.com>
reviewed by: John Sullivan <sullivan@eazel.com>
Fix bug 7208 (History and Notes panels intermittently die at
startup or window launch). The bug turned out to be a logic error
at the shell level, not a panel crashing as I had been assuming.
* src/nautilus-view-frame.c: (nautilus_view_frame_stop),
(nautilus_view_frame_selection_changed),
(nautilus_view_frame_title_changed), (send_history): Check whether
the CORBA view object is NIL instead of looking at state. The view
will be NIL at all the right times, and it's a simpler and more
reliable check. In particular, it's correct during the early
loading stage, when the state does not reflect whether the view is
present yet or not.
* libnautilus-extensions/nautilus-glib-extensions.c:
(nautilus_g_hash_table_new_free_at_exit): Only complain on systems
where NAUTILUS_DEBUG is set, because this could confuse real users
(the message doesn't really represent a bug).
2001-03-01 Eric Fischer <eric@eazel.com>
reviewed by: Robin * Slomkowski <rslomkow@eazel.com>
* nautilus.spec.in:
Add dependency for libpng (fixed Bug 7162)
Also change dependency for gnome-libs to 1.2.11, because
Robin says anything built against that version (as on the
build servers) will break if run with an older release.
2001-03-01 Eric Fischer <eric@eazel.com>
reviewed by: Laszlo Kovacs <laszlo.kovacs@sun.com>
Fixes Bug 7128 (Organization of "Manual" in Help sidebar is bizarre)
* components/help/hyperbola-filefmt.c:
(fmt_man_populate_tree_for_dir):
Put man pages in sections corresponding more closely to traditional
Unix manual organization.
(fmt_man_populate_tree):
Add translate_array() and make_treesection() calls for the added
manual sections.
2001-03-01 Ramiro Estrugo <ramiro@eazel.com>
reviewed by: Pavel Cisler <pavel@eazel.com>
Fix bug 7155 - Nautilus dies trying to get bold font at startup if
using Finish locale.
Many bulletproofing fixes to make sure Nautilus doesnt crash in
systems with broken or limited font setups.
* libnautilus-extensions/nautilus-gdk-font-extensions.c:
(nautilus_gdk_font_get_italic): Use the cached font list as we do
for bold fonts. Make sure the slant_pattern is valid. If its
not, then return the source font. Remove some not needed casts.
(font_scalable_get_by_size): Bulletproof. Dont assert that the
font load always works - it doesnt.
(font_bitmap_get_by_size): Bulletproof. Dont do any work if a
valid larger_font pattern cant be determined - simply return NULL
in this case, the callers should deal with that case. Make sure
we actually found a matching (or close) font size. Before we were
assuming that there would be at least one match. Not so for
really broken font setups.
(nautilus_gdk_font_get_larger): Remove some not needed casts.
(nautilus_gdk_font_get_largest_fitting): Check that the candidate
font is not NULL before proceeding to check that it matches.
(font_get_bold): Use the cached font lists to make bold font
queries. Remove some not needed casts.
(font_get_size_in_pixels): Check for invalid XLFD names and
return 0 (not found indicator) for such cases.
Also added a FIXME for an improvement for the fallback font
strategy.
Fix two tiny regressions:
7206 - Sidebar title does not properly center justify
7198 - Zero length NautilusLabel doens't draw background tile
* libnautilus-extensions/nautilus-label.c:
(paint_label_smooth): We need to draw the background tile even if
the string has zero length.
(label_force_cached_requisition_flush): Remove the broken "phony
justification" hack. Replace it with a simpler "phony pattern"
hack that works.
2001-03-01 Robey Pointer <robey@eazel.com>
reviewed by: Eskil Heyn Olsen <eskil@eazel.com>
who pronounced it his 2nd favorite patch, ever.
* components/services/install-view/callbacks.c:
(inventory_service_callback):
Remove mispelled spam that crept back in during Ian's checkin.
* nautilus-installer/src/gtk-hackery.c: (gtk_label_new_with_font):
* nautilus-installer/src/main.c: (main):
Don't explode if the font we want isn't available. Don't try to
localize text in the bootstrap installer because it just leads to
trouble.
2001-03-01 Eskil Heyn Olsen <eskil@eazel.com>
reviewed by: Robey Pointer <robey@eazel.com>
who hummed the twilight zone theme while reviewing...
Fixes bug 7197 "install view's ``messages''
header doesn't reach across the window"
* components/services/install-view/forms.c:
(generate_install_form):
s/""/" "/ in eazel_services_header_middle_new,
fixes bug 7197
2001-03-01 Dan Mueth <dan@eazel.com>
reviewed by: Maciej Stachowiak <mjs@eazel.com>
Added Spanish version of Nautilus Quick Reference:
* configure.in:
* help/Makefile.am:
* help/nautilus-quick-reference/Makefile.am:
* help/nautilus-quick-reference/es/.cvsignore:
* help/nautilus-quick-reference/es/Makefile.am:
* help/nautilus-quick-reference/es/figures/colors_small.png:
* help/nautilus-quick-reference/es/figures/emblems_small.png:
* help/nautilus-quick-reference/es/figures/ff_small.png:
* help/nautilus-quick-reference/es/figures/find_small.png:
* help/nautilus-quick-reference/es/figures/full_small.png:
* help/nautilus-quick-reference/es/figures/locbar_small.png:
* help/nautilus-quick-reference/es/figures/menubar_small.png:
* help/nautilus-quick-reference/es/figures/music_small.png:
* help/nautilus-quick-reference/es/figures/navbar_small.png:
* help/nautilus-quick-reference/es/figures/sidebar_small.png:
* help/nautilus-quick-reference/es/figures/softcat.png:
* help/nautilus-quick-reference/es/figures/storage.png:
* help/nautilus-quick-reference/es/figures/themes_small.png:
* help/nautilus-quick-reference/es/index.html:
* help/nautilus-quick-reference/es/nautilus-quick-reference-es.omf:
Added placeholder for Nautilus Release Notes, to be filled in
by Vera later:
Bug #: 6969
* help/nautilus-release-notes/.cvsignore:
* help/nautilus-release-notes/C/.cvsignore:
* help/nautilus-release-notes/C/Makefile.am:
* help/nautilus-release-notes/C/nautilus-release-notes-C.omf:
* help/nautilus-release-notes/C/nautilus-release-notes.sgml:
* help/nautilus-release-notes/Makefile.am:
Fixed Nautilus spec file w/r/t documentation. It is now simpler,
gives the right permissions to figures, and doesn't need to be
updated every time somebody adds a new doc or translation.
Bug #: 7002
* nautilus.spec.in:
2001-02-28 Robey Pointer <robey@eazel.com>
reviewed by: Eskil Heyn Olsen <eskil@eazel.com>
"the most beautiful patch I've ever seen"
* components/services/install/command-line/eazel-alt-install-corba.
c: (something_failed), (eazel_preflight_check_signal):
* components/services/install/lib/eazel-install-logic2.c:
(dump_tree):
* components/services/install/lib/eazel-package-system-types.c:
(packagedata_dump_tree_helper), (packagedata_dump_tree_int),
(packagedata_dump_tree), (dump_package_deplist):
Move the package-tree dumper from the command-line util into the
install lib, and remove the redundant copies. This cleans up the
debug output to fix bug 7127.
* components/services/install/lib/eazel-package-system-rpm3.c:
(eazel_package_system_rpm3_packagedata_fill_from_header):
* components/services/install/lib/eazel-package-system-types.h:
Someone mispelled PACKAGE as PACAKGE fairly consistently. It was
probably me.
* components/services/trilobite/libtrilobite/trilobite-core-messagi
ng.c: (trilobite_add_log):
Handle multi-line debug output without spazzing.
2001-02-28 Eskil Heyn Olsen <eskil@eazel.com>
reviewed by: Robey Pointer <robey@eazel.com>
This patch fixes bug 7122 and reduces flicker in the install-view.
* components/services/docs/installer-rpm-cases:
Corrected the description of a case.
* components/services/install-view/forms.c: (install_message_new):
Reduced flicker by no longer forcing a redraw.
* components/services/install/command-line/eazel-alt-install-corba.
c:
Disabled force since it doesn't work (and really shouldn't).
* components/services/install/lib/eazel-install-corba-callback.c:
(eazel_install_callback_initialize),
(eazel_install_callback_get_type):
Removed commented out debug stuff.
* components/services/install/lib/eazel-install-logic2.c:
(prune_failed_packages_helper),
Added more spam to the debug output.
(post_get_softcat_info),
Moved code from get_softcat_info here
(get_softcat_info), (check_tree_helper):
Call post_get_softcat_info, this fixes bug 7122.
* components/services/install/lib/eazel-softcat.c:
(get_search_url_for_package), (eazel_softcat_query):
s/provides/features/
* components/services/install/server/main.c: (main):
Spellfix.
2001-02-28 Brian Frank <bfrank@eazel.com>
Added MandrakeSoft to bookmarks, and fixed Sun Wah link to default to "non-flash" page.
* data/static_bookmarks.xml
2001-02-28 Ramiro Estrugo <ramiro@eazel.com>
* libnautilus-extensions/nautilus-directory-metafile-monitor.c:
(corba_metafile_ready):
Add newline at end of file to make redhat7 compiler happy. Fix
emacs header blurb.
2001-02-28 Arik Devens <arik@eazel.com>
reviewed by: Robin * Slomkowski <rslomkow@rslomkow.org>
Fixed bug 6836, Add scrollkeeper as a dependency of Nautilus in
configure.in.
* configure.in: Added checking for scrollkeeper install.
* ChangeLog: Forgot to commit ChangeLog for last checkin. Sorry to
all about that.
2001-02-28 Arik Devens <arik@eazel.com>
reviewed by: Robin * Slomkowski <rslomkow@rslomkow.org>
Fixed bug 7161, change both configure.in and RPM to require gtk
1.2.9 or newer.
* configure.in: Updated our GTK+ dep to 1.2.9.
* nautilus.spec.in: Updated our GTK+ dep to 1.2.9.
2001-02-28 Darin Adler <darin@eazel.com>
reviewed by: John Sullivan <sullivan@eazel.com>
Found and fixed as many untranslated things as possible. John
Sullivan found them and I fixed them. This takes care of much of
bug 6977.
* check-strings-functions:
* check-strings-patterns:
More things to ignore and fixes to bad patterns done while John
and I did our pass over all the code.
* check-strings.pl: Fix comment.
* applets/preferences-applet/nautilus-preferences-applet.c: (main):
* components/hardware/nautilus-hardware-view.c: (setup_CPU_form),
(setup_RAM_form), (setup_IDE_form):
* components/rpmview/nautilus-rpm-verify-window.c:
(nautilus_rpm_verify_window_initialize):
* components/services/inventory-view/nautilus-inventory-config-page.c:
(nautilus_inventory_config_page_initialize),
(nautilus_inventory_config_page_destroy):
* components/services/inventory-view/nautilus-inventory-disable-page.c:
(nautilus_inventory_disable_page_initialize):
* helper-utilities/authenticate/nautilus-authenticate.c: (main):
* libnautilus-extensions/nautilus-password-dialog.c:
(nautilus_password_dialog_new):
* libnautilus-extensions/nautilus-program-chooser.c:
(nautilus_program_chooser_show_no_choices_message):
Mark additional strings for translation.
* components/adapter/nautilus-adapter-embed-strategy.c:
(nautilus_adapter_embed_strategy_initialize_class): Fix misspelling
of signal names.
* components/services/install/lib/eazel-package-system-rpm3.c:
(rpmmonitorpiggybag_new): Fix a typo.
* components/services/install/lib/eazel-softcat.c:
(eazel_softcat_error_string): Write comment about why these strings
don't need translation.
* libnautilus-extensions/nautilus-gtk-extensions.c: Tweak formatting.
* libnautilus-extensions/nautilus-preferences-dialog.c:
(nautilus_preferences_dialog_construct): Use stock button instead of
hard-coded OK for translation purposes.
2001-02-28 Michael Engber <engber@eazel.com>
reviewed by: Darin Adler <darin@eazel.com>
* libnautilus-extensions/nautilus-directory-async.c:
(metafile_read_mark_done):
* libnautilus-extensions/nautilus-directory-metafile-monitor.c:
(nautilus_metafile_monitor_get_epv), (corba_metafile_changed),
(corba_metafile_ready):
* libnautilus-extensions/nautilus-directory-private.h:
* libnautilus-extensions/nautilus-directory.c:
(nautilus_directory_find_file_by_relative_uri),
(nautilus_directory_find_file_by_internal_uri):
* libnautilus-extensions/nautilus-metafile-server.idl:
* libnautilus-extensions/nautilus-metafile.c: (corba_set),
(corba_set_list),
(nautilus_metafile_notify_metafile_ready),
(call_metafile_changed),
(call_metafile_changed_for_all_files_mentioned_in_metafile),
(call_metafile_changed_for_one_file):
* libnautilus-extensions/nautilus-metafile.h:
When a metafile is read in - change signals are sent to all
files rather than just the ones with metadata. Also fixed
it so change notifications to the "." file will happen. Bug 7044.
2001-02-28 Andy Hertzfeld <andy@eazel.com>
fixed bug 7138, non-ASCII characters in author's names causes
the Japanese version to crash. Fixed by removing the accented
'i' from Pavel's name
* src/nautilus-window-menus.c: (help_menu_about_nautilus_callback):
replaced the accented 'i' in Pavel's name with a plain one
* check-THANKS.pl:
fixed mapping in check-THANKS.pl as requested by Darin
* AUTHORS:
removed from AUTHORS, too, for consistency
2001-02-28 Mike Fleming <mfleming@eazel.com>
reviewed by: Darin Adler <darin@eazel.com>
Bug 7157: Reloads can cause crash; reloads to redirected URI's can
cause error dialog to appear
* src/nautilus-window-manage-views.c: (nautilus_window_reload):
2001-02-28 Ramiro Estrugo <ramiro@eazel.com>
reviewed by: Darin Adler <darin@eazel.com>
Fix bug 6368 - Multibyte font handling.
* librsvg/rsvg-ft.c: (rsvg_ft_get_glyph),
(rsvg_ft_measure_or_render_string):
Tell freetype to never load bitmaps when loading glyphs. We only
use the outlines of scalable fonts. This means our code will work
even for glyphs that have embedded bitmaps.
Add support for multi byte characters. We do this by allocate a
wide character array and converting the source string to wide
chars. If no wide characters are found in the source string, then
we fill in the wide char array with the regular single byte chars.
This changes are based on a patch contributed by Yukihiro Nakai
<nakai@gnome.gr.jp> - thanks much.
Unrelated change.
* libnautilus-extensions/nautilus-labeled-image.c:
(nautilus_labeled_image_initialize):
Remove a extraneous '+' that sneaked in here.
2001-03-01 Kjartan Maraas <kmaraas@gnome.org>
* configure.in: Added Makefile generation for the below.
* help/nautilus-quick-reference/Makefile.am: Added no subdir
* help/nautilus-quick-reference/no/*: Added Norwegian translation.
2001-02-28 Darin Adler <darin@eazel.com>
* check-strings.pl: Fixed error in script that John noticed
when he tried it. The regular expression for matching
function names was matching way too many.
2001-02-28 Darin Adler <darin@eazel.com>
* check-strings-functions:
* check-strings.pl: Tweaks to just-checked-in stuff.
* src/nautilus-first-time-druid.c: Fix build by
getting rid of incorrect use of stringize macro.
2001-02-28 John Harper <jsh@eazel.com>
reviewed by: Gene Z. Ragan <gzr@eazel.com>
Fixed bug 6988 (Nautilus consumes CPU for 5 mins on startup) by
reverting my fix to bug 6820 (directory sort order is different
in tree view):
* components/tree/nautilus-tree-view.c
(nautilus_tree_view_initialize): commented out the call to
gtk_clist_set_compare_func - revert to using the default clist
comparison function (basically strcmp)
(ctree_compare_rows): commented out this function
2001-02-28 Fatih Demir <kabalak@gtranslator.org>
* THANKS: Corrected the translator entry from me to
Görkem Cetin who translated Nautilus now.
2001-02-28 Darin Adler <darin@eazel.com>
reviewed by: John Sullivan <sullivan@eazel.com>
* check-strings.pl:
* check-strings-functions:
* check-strings-patterns:
New script and correspoinding config files to help us find
untranslated strings. It's going to take some effort to make
this an easy-to-use tool.
* components/rpmview/nautilus-rpm-view.c:
(nautilus_rpm_view_initialize): Fixed string that would not
get translated properly since it was using N_ and nothing
was going to use _() on it.
(nautilus_rpm_view_update_from_uri): Marked strings for
translation as requested in bug report 7149.
(nautilus_rpm_view_verify_files): Format tweak.
(nautilus_rpm_view_drag_data_received): Remove old dead code.
* libnautilus-extensions/nautilus-tabs.c: (draw_tab_piece_aa):
Change to use C-style comments, not C++.
* src/nautilus-application.c: (check_required_directories): Mark
strings for translation that we had missed before.
* src/nautilus-first-time-druid.c: Fix port string define so it
doesn't have to be repeated twice (and doesn't show up as an
"untranslated string").
* src/nautilus-about.c: Formatting tweak.
* src/nautilus-location-bar.c: Fix typo.
2001-02-28 Gene Z. Ragan <gzr@eazel.com>
reviewed by: Pavel Cisler <pavel@eazel.com>
Fixed bug 7141, gconf entry "show_directory_item_counts"
stored in "preferencees" directory
* libnautilus-extensions/nautilus-global-preferences.h:
Corrected a typographical error.
2001-02-28 Kjartan Maraas <kmaraas@gnome.org>
* components/services/install/command-line/eazel-alt-install-corba.c:
Fix typo Unnstalling -> Uninstalling
2001-02-28 John Harper <jsh@eazel.com>
reviewed by Ramiro Estrugo <ramiro@eazel.com>
Fixed bug 7111 (Icons appear in formation, then shift, when
page first loads). This also fixed bugs 4174 (NautilusLabel
needs to handle text with descenders better.) and 2865 (Text
underlining should honor the rendered string's baseline):
* librsvg/rsvg-ft.c (rsvg_ft_measure_or_render_string): don't
use the union of the bounding boxes of the glyphs to find the
overall bounding box, for the vertical component use the actual
font metrics. Also set the underline_position and
underline_thickness fields of the returned glyph structure
* librsvg/rsvg-ft.h (struct _RsvgFTGlyph): added two new
fields: underline_position and underline_thickness
* libnautilus-extensions/nautilus-smooth-text-layout.c
(smooth_text_layout_line_list_draw_to_pixbuf): don't just draw
the underline under the glyph's rectangle, draw it where the
glyph object wants it to be (using
nautilus_glyph_get_underline_rectangle (), which for text uses
the actual underline information from the font)
* libnautilus-extensions/nautilus-glyph.h,
libnautilus-extensions/nautilus-glyph.c
(nautilus_glyph_get_underline_rectangle): new function, fills
in an ArtIRect corresponding to the underline of the given
glyph object
* components/services/nautilus-dependent-shared/eazel-services-header.c:
* libnautilus-extensions/nautilus-tabs.c,
libnautilus-extensions/nautilus-smooth-text-layout.c,
libnautilus-extensions/nautilus-icon-canvas-item.c
* src/nautilus-sidebar-title.c, src/nautilus-sidebar-tabs.c
Tweaked a few hardcoded constants to fix minor changes in font
layout (this part was checked by Arlo)
2001-02-27 Robey Pointer <robey@eazel.com>
reviewed by: Eskil Heyn Oslen <eskil@eazel.com>
* components/services/install/lib/eazel-install-logic2.c:
(dump_tree_helper):
Added debug info of packages modifies list, so the logging on
upgrading packages isn't so confusing.
* components/services/install/lib/eazel-install-xml-package-list.c:
(eazel_install_packagelist_parse):
Force the XML parser to ignore any <xmp> .. </xmp> tags, which may
or may not fix some people's issues with the installer not being
able to parse the server XML sometimes.
* components/services/install/lib/eazel-package-system-types.h:
Fix old reference to soft_depends.
* components/services/install-view/Makefile.am:
* components/services/install-view/nautilus-service-install.c:
* components/services/install-view/nautilus-service-install.h:
These files are useless.
* nautilus-installer/src/installer.c: (collect_failure_info),
(eazel_install_get_depends), (eazel_installer_initialize):
Use the new path to the package-list.xml file.
* nautilus-installer/src/main.c: (segv_handler):
Spelling fix.
2001-02-27 Arlo Rose <arlo@eazel.com>
* icons/default.xml:
Tiny tweak.
2001-02-27 Arlo Rose <arlo@eazel.com>
* icons/arlo/arlo.xml:
* icons/crux_eggplant/crux_eggplant.xml:
* icons/default.xml:
Changed the default background color so that the list
view looks better.
2001-02-27 Pavel <pavel@eazel.com>
reviewed by: Arlo Rose <arlo@eazel.com>
Fix 1509: List view draws using incorrect design specification
* libnautilus-extensions/nautilus-list.c:
(nautilus_list_setup_style_colors):
Tweak color shifting values with Arlo to get better color ranges
for the list view grid.
2001-02-27 Mike Fleming <mfleming@eazel.com>
Bug 6965 -- move to using report_redirect.
Commited so Darin can debug report_redirect.
* components/mozilla/nautilus-mozilla-content-view.c:
(view_load_location_callback), (mozilla_realize_callback),
(mozilla_title_changed_callback), (mozilla_location_callback),
(mozilla_net_start_callback), (mozilla_net_stop_callback),
(mozilla_progress_callback), (mozilla_dom_mouse_click_callback),
(vfs_open_callback), (navigate_mozilla_to_nautilus_uri),
(update_nautilus_uri):
2001-02-27 Pavel Cisler <pavel@eazel.com>
reviewed by: John Sullivan <sullivan@eazel.com>
Fix 7116: (Location bar grows taller causing a re-layout
of the icon view)
* src/nautilus-window.c: (set_dummy_initial_view_as_menu),
(nautilus_window_constructed):
Populate the "View as" menu the first time it is created with
a dummy "View as ..." menu item to prevent it from comming up in
a shrunken state that gets resized later and re-shuffles the window.
2001-02-26 Eskil Heyn Olsen <eskil@eazel.com>
reviewed by: Robey Pointer <robey@eazel.com> sez "Looks
good... Wow, I wonder how long the softcat lookup-by-feature thing
was broken before? (doh!)"
* components/services/install/command-line/eazel-alt-install-corba.
c: (something_failed):
Moved a duplicate fprintf that caused problems to be printed
twice.
* components/services/install/idl/trilobite-eazel-install.idl:
Added a string sequence of features. Need this so the clients can
print "package foo needs file libfoo.so" instead of "package foo
needs another package".
* components/services/install/lib/eazel-install-corba-types.c:
(corba_string_sequence_to_glist),
(g_list_to_corba_string_sequence),
(corba_packagedatastruct_fill_from_packagedata),
(corba_packagedatastruct_fill_deps),
(packagedata_tree_from_corba_packagedatastructlist):
Fill in and copy and convert and stuff the new features list.
* components/services/install/lib/eazel-install-logic2.c:
(eazel_install_check_existing_packages),
Don't set force when epochs are involved, but set a majick
datafield in the packsys object.
(check_tree_helper),
After handling packagebreaks for package P, don't set P->status to
partly resolved unless all the breaks have been fixed.
(check_no_two_packages_has_same_file),
Don't let force disable file conflict check, only
ignore-file-conflicts.
(check_conflicts_against_already_installed_packages),
Removed the comments for bug 5720.
(check_feature_consistency):
Added package pointer and name to some debug output.
* components/services/install/lib/eazel-package-system-rpm3.c:
(make_rpm_argument_list),
Check the majick epoch flag, and add --force if set.
(check_require_is_not_a_feature),
Wrote a function that checks to see if a package requirement is
also a provides of the same package.
(eazel_package_system_rpm3_packagedata_fill_from_header):
Use forementioned function (solves problem for badly made rpms)
* components/services/install/lib/eazel-package-system-types.c:
(packagedata_get_readable_name):
Changed to use ->features instead of ->provides
* components/services/install/lib/eazel-softcat.c:
(get_search_url_for_package):
When querying for a feature, use ->features instead of ->provides.
2001-02-27 Ramiro Estrugo <ramiro@eazel.com>
* test/test-nautilus-label-flavorful.c:
(increasing_label_window_new), (decreasing_label_window_new):
Fix this so I can debug a font problem somewhere else.
2001-02-27 Robin * Slomkowski <rslomkow@rslomkow.org>
* configure.in: added rule for package-list.xml.in
* nautilus-installer/package-list.xml.in: added file
to keep text for the installer. This gets served by
the server but it is needed to provide text for the
installer. http://bugzilla.eazel.com/show_bug.cgi?id=3448
2001-02-27 Gene Z. Ragan <gzr@eazel.com>
reviewed by: Pavel Cisler <pavel@eazel.com>
* libnautilus-extensions/nautilus-icon-container.h:
Fix incorrect class name in the GTK_CHECK_CLASS_CAST
macro. We were using NautilusIconListView instead of
NautilusIconContainerClass.
2001-02-27 Darin Adler <darin@eazel.com>
reviewed by: John Sullivan <sullivan@eazel.com>
Finished bug 6950 (need new report_redirect call in addition to
report_location_change).
* src/nautilus-window-manage-views.c: (update_history): Split
out this part of update_for_new_location, since it really was
begging for a case statement. Added a redirect case, which does
nothing (just like reload, but it needs a separate case to make
sense anyway).
(update_for_new_location): Use the new update_history.
(report_redirect_callback): Do nothing if we are no longer at the
"from" location of the redirect. In the case where we do redirect,
make sure we update history properly, but don't update the back
and forward lists at all.
* src/nautilus-window-private.h:
* src/nautilus-window.c: (remove_from_history_list): New function
shared by the normal add case and the new remove call.
(add_to_history_list): New name for nautilus_add_to_history_list
to help emphasize it's a private function. Change to use
remove_from_history_list.
(nautilus_remove_from_history_list_no_notify): New call for use by
the redirect code.
(real_add_current_location_to_history_list),
(nautilus_window_add_current_location_to_history_list): Moved
these functions down to avoid adding a prototype for
add_to_history_list.
2001-02-27 Pavel Cisler <pavel@eazel.com>
reviewed by: Gene Z. Ragan <gzr@eazel.com>
Fixed 6959: (Drag local items into Trash -> "You cannot copy items
into the Trash" error)
* libnautilus-extensions/nautilus-drag.c:
(nautilus_drag_default_drop_action_for_icons):
Add a missing setup of the correct default and non-default drag&drop
action when the target is "trash:".
2001-02-27 John Sullivan <sullivan@eazel.com>
reviewed by: Darin Adler <darin@eazel.com>
Fixed bug 7096 ("Open with Other" dialog doesn't truncate
really long file names)
Fixed bug 7108 (icon in sidebar vanishes & reappears at load time)
* libnautilus-extensions/nautilus-program-chooser.c:
(get_file_name_for_display): New function, returns a truncated
copy of the file name.
(program_file_pair_get_long_status_text),
(run_program_configurator_callback),
(nautilus_program_chooser_new),
(nautilus_program_chooser_show_no_choices_message):
Use truncated file name whenever file name is displayed.
* src/nautilus-sidebar-title.c:
Added "determined_icon" boolean to Details struct.
(nautilus_sidebar_title_set_file): set determined_icon to
FALSE when new file comes along.
(update_icon): set determined_icon to TRUE when any non-NULL
pixbuf is determined for this file. Only check
nautilus_icon_factory_icon_is_ready_for_file () if
determined_icon is FALSE, to avoid the icon vanishing
temporarily because someone invalidated some NautilusFile
attributes.
2001-02-27 Darin Adler <darin@eazel.com>
reviewed by: John Sullivan <sullivan@eazel.com>
Did most of the work for bug 5779, separating out the Eazel logos
so they won't be used by non-Eazel folks making changes to
Nautilus if they choose to do "non-approved" changes (allowed by
GPL of course).
* nautilus.spec.in: Add new logos.
* configure.in: Add eazel-logos and eazel-logos/throbber.
* Makefile.am: Add the eazel-logos subdirectory.
* eazel-logos/Makefile.am: Created.
* eazel-logos/throbber/Makefile.am: Created.
* components/services/nautilus-dependent-shared/icons/eazel-logo-right-side-logo.png:
* icons/About_Image.png:
* icons/about_background.png:
* icons/default.xml:
* icons/druid_header.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:
* icons/throbber/029.png:
* icons/throbber/030.png:
* icons/throbber/Makefile.am:
* icons/throbber/rest.png:
Updated with non-logo versions.
Did 90% of the work for bug 6950 (need new report_redirect call in
addition to report_location_change). While working on that, I also
moved the deferral of outgoing calls that is done in the Mozilla
component so that it is done by the NautilusView class instead.
* libnautilus/nautilus-view-component.idl: Added report_redirect.
* libnautilus/nautilus-view.h: Added report_redirect.
* libnautilus/nautilus-view.c: (queue_outgoing_call): Added
queing for the outgoing side.
(nautilus_view_initialize): Allocate queue.
(nautilus_view_destroy): Deallocate queue.
(str_list_copy): Utility needed here because we can't use
libnautilus-extensions.
(list_free_deep_callback): New. Used in queuing code.
(free_location_plus_callback): New. Used in queueing code.
(call_open_location_in_this_window),
(call_open_location_prefer_existing_window),
(call_open_location_force_new_window),
(call_report_location_change), (call_report_redirect),
(call_report_selection_change), (call_report_status),
(call_report_load_underway), (call_report_load_progress),
(call_report_load_complete), (call_report_load_failed),
(call_set_title), (call_go_back): Functions that get queued.
These have the bulk of the code to do work.
(nautilus_view_open_location_in_this_window),
(nautilus_view_open_location_prefer_existing_window),
(nautilus_view_open_location_force_new_window),
(nautilus_view_report_location_change),
(nautilus_view_report_redirect),
(nautilus_view_report_selection_change),
(nautilus_view_report_status),
(nautilus_view_report_load_underway),
(nautilus_view_report_load_progress),
(nautilus_view_report_load_complete),
(nautilus_view_report_load_failed), (nautilus_view_set_title),
(nautilus_view_go_back): These functions now simply queue the work
that needs to be done.
* src/nautilus-view-frame-corba.c: (free_location_plus_callback):
Add a new field for the "from_location" needed for redirect.
(report_redirect): The actual function to do the work.
(impl_Nautilus_ViewFrame_report_redirect): Queue function.
* src/nautilus-view-frame.h:
* src/nautilus-view-frame-private.h:
* src/nautilus-view-frame.c:
(nautilus_view_frame_initialize_class): Create report_redirect
signal.
(nautilus_view_frame_report_redirect): Emit the signal.
* src/nautilus-window-manage-views.c: (report_redirect_callback):
Code to implement the redirect. For now this does the exact same
thing as report_location_change. This is where all the remaining
work to fix the bug goes.
* components/mozilla/nautilus-mozilla-content-view.c:
(view_load_location_callback), (mozilla_title_changed_callback),
(mozilla_net_start_callback), (mozilla_net_stop_callback),
(mozilla_link_message_callback), (mozilla_progress_callback),
(mozilla_dom_mouse_click_callback),
(navigate_mozilla_to_nautilus_uri), (update_nautilus_uri),
(eazel_services_scheme_from_http): Remove the "async" calls that
defer calls until timeout time now that NautilusView itself does
that for all components.
* libnautilus-extensions/nautilus-gtk-extensions.h:
* libnautilus-extensions/nautilus-gtk-extensions.c:
(nautilus_gtk_marshal_NONE__POINTER_POINTER_POINTER_POINTER):
Added new marshal function needed for report_redirect.
Other changes.
* THANKS: Add some more contributors, after running the script
to detect new ChangeLog entries.
2001-02-27 John Harper <jsh@eazel.com>
* cut-n-paste-code/widgets/e-paned/README.changes: updated this
file to list previous changes to e-paned, as well as the fix I
just made
2001-02-27 John Harper <jsh@eazel.com>
reviewed by: John Sullivan <sullivan@eazel.com>
Fixed bug 6294 (Sidebar gets smaller each time you open a new
Window) and probably 6499 (Sidebar grows each time a window is
opened):
* cut-n-paste-code/widgets/e-paned/e-paned.c
(e_paned_compute_position): fixed a bug in when it stores the
last allocation of the widget. This in turn causes the widget
not to do the annoying scaled resizing if the position of the
splitter was set before the first size_allocate invocation
* cut-n-paste-code/widgets/e-paned/README.changes: added this
file describing the changes I had to make to the widget
I'm also going to submit this patch to the gal maintainers
2001-02-27 Andy Hertzfeld <andy@eazel.com>
fixed bug 7019, emblem names are not aligned vertically in
show properties or the property browser. Fixed by adding
a "fixed image height" attribute to nautilus-labeled-image, and
set it in the properties window and properties browser.
* libnautilus-extensions/nautilus-labeled-image.c:
(nautilus_labeled_image_initialize), (is_fixed_height),
(labeled_image_get_image_dimensions),
(nautilus_labeled_image_get_image_bounds),
(nautilus_labeled_image_get_show_image),
(nautilus_labeled_image_set_fixed_image_height):
added a fixed_image_height instance variable, and used it
when appropriate
* libnautilus-extensions/nautilus-labeled-image.h:
added setter for the fixed image height attribute
* src/file-manager/fm-properties-window.c: (create_emblems_page):
set the fixed image height attribute on the emblems
* src/nautilus-property-browser.c:
(make_properties_from_directories),
(property_browser_category_button_new):
set the fixed image height attribute for the emblems and also
the category buttons
fixed bug 7022, users are confused by the "shared" and "secret"
emblems; fixed by removing them.
* data/browser.xml:
removed secret and shared emblem references
* data/emblems/Makefile.am:
removed the emblem .pngs from the makefile
* data/emblems/secret.png:
* data/emblems/shared.png:
removed the emblem .pngs
* icons/Makefile.am:
removed the emblem .svgs from the makefile
* icons/emblem-secret.svg:
* icons/emblem-shared.svg:
removed the .svgs
2001-02-27 Robin * Slomkowski <rslomkow@rslomkow.org>
* nautilus.spec.in: bug 7106, updated mozilla to
require to 0.8 version or higher. and
added conflicts for old M releases
2001-02-27 John Harper <jsh@eazel.com>
reviewed by: Darin Adler <darin@eazel.com>
Fixed bug 7086 (Hitting cntl - F will switch to search, then
back to location bar.):
* src/nautilus-window.c (ui_idle_handler,
nautilu_window_ui_update): set the updating_bonobo_state flag
in the window details structure while sync'ing the UI
2001-02-27 Darin Adler <darin@eazel.com>
reviewed by: John Sullivan <sullivan@eazel.com>
Fixed bug 6725 (Crash on Refresh if viewed file/folder is deleted
outside of Nautilus):
* src/nautilus-window-manage-views.c: (free_location_change):
Reorder so we cancel the callbacks before more I/O has the chance
to happen.
* libnautilus-extensions/nautilus-directory-async.c:
(nautilus_directory_async_state_changed): Don't do any I/O for a
NautilusDirectory object once it's destroyed. Unfortunately, it's
still possible for destroying one NautilusDirectory object to
cause I/O to happen on another, so this doesn't fix the bug (which
is why we also need the change above).
Fixed bug 7080 (Nautilus build failure on Red Hat 7.)
* libnautilus-extensions/nautilus-medusa-support.c: Fixed the bad
#endif with non-comment text after it.
Worked on bug 6928 (create fallback mechanism so eazel-logos
version of each graphic is found if present). We still need a
separate fallback mechanism for the theme XML file, since the
throbber has a different number of frames.
* libnautilus-extensions/nautilus-file-utilities.c:
(nautilus_get_pixmap_directory): Simplify.
(nautilus_pixmap_file): Look in eazel-logos directory first, so we
will pick up logo graphics if there, and non-logo graphics otherwise.
* test/test-nautilus-image-simple.c: (main): Remove a reference to
a logo graphic.
* eazel-logos/.cvsignore:
* eazel-logos/About_Image.png:
* eazel-logos/about_background.png:
* eazel-logos/druid_header.png:
* eazel-logos/eazel-logo-right-side-logo.png:
* eazel-logos/throbber/.cvsignore:
* eazel-logos/throbber/001.png:
* eazel-logos/throbber/002.png:
* eazel-logos/throbber/003.png:
* eazel-logos/throbber/004.png:
* eazel-logos/throbber/005.png:
* eazel-logos/throbber/006.png:
* eazel-logos/throbber/007.png:
* eazel-logos/throbber/008.png:
* eazel-logos/throbber/009.png:
* eazel-logos/throbber/010.png:
* eazel-logos/throbber/011.png:
* eazel-logos/throbber/012.png:
* eazel-logos/throbber/013.png:
* eazel-logos/throbber/014.png:
* eazel-logos/throbber/015.png:
* eazel-logos/throbber/rest.png:
* eazel-logos/default.xml:
Added a new directory with copies of all graphics with the Eazel
logo in them. Next we have to make this directory actually build
and install these logos. Then Non-Eazel-logo'd graphics suitable
for GPL will replace the original copies and these will keep the
Eazel logo versions. The directory also contains the XML file for
the default theme, since we need to change the throbber frames for
the logo vs. non-logo version of the throbber.
* components/services/nautilus-dependent-shared/icons/Makefile.am:
* components/services/nautilus-dependent-shared/icons/eazel-cloud-logo.png:
* components/services/nautilus-dependent-shared/icons/eazel-services-logo.png:
* components/services/nautilus-dependent-shared/icons/service-summary-logo-top.png:
* components/services/nautilus-dependent-shared/icons/startup-logo.png:
* icons/Makefile.am:
* icons/eazel-logo.gif:
* icons/nautilus-logo.png:
Removed unused graphics with the Eazel logo in them. There are a
lot more unused graphics and someone should go through and remove
them. I'm thinking of writing a script to do it.
Other changes.
* components/services/install/nautilus-view/.cvsignore:
* components/services/vault/.cvsignore:
* components/services/vault/command-line/.cvsignore:
* data/top/.cvsignore:
Re-removed .cvsignore files for empty directories.
* THANKS: Corrected one email address.
* check-THANKS.pl: Updated for the latest ChangeLog typos.
2001-02-27 John Sullivan <sullivan@eazel.com>
reviewed by: Darin Adler <darin@eazel.com>
Fixed bug 7068 (Icon View lags behind changes to
Icon Captions window)
The correct behavior depended on the order in which
preferences callbacks were processed, which is not
something upon which one should rely.
* src/file-manager/fm-icon-text-window.h:
* src/file-manager/fm-icon-text-window.c:
(icon_captions_changed_callback): Removed this function.
(fm_get_text_attribute_names_preference): Changed name
from fm_get_text_attribute_names_preference_or_default;
now reads preference as well as returning latest well-formed
version of preference (formerly the preference-reading code
and preference-returning code were separated, with tragic
consequences).
(synch_menus_with_preference): Updated for name change.
* src/file-manager/fm-icon-view.c:
(fm_icon_view_get_icon_text_attribute_names): Updated
for name change.
2001-02-27 Eric Fischer <eric@eazel.com>
reviewed by: Darin Adler <darin@eazel.com>
* nautilus.spec.in:
Fix mozilla dependency to want version >= 0.7 instead of
exactly 0.7.
2001-02-27 Ramiro Estrugo <ramiro@eazel.com>
reviewed by: Seth Nickell <snickell@stanford.edu>
Fix bug 7012 - Space underneath some text lines shrunk. This was
an unfortunate regression due to smooth text rendering
optimizations.
* libnautilus-extensions/nautilus-icon-canvas-item.c:
(draw_or_measure_label_text_aa): Restore the 2 pixel line spacing
in icon text.
* src/nautilus-sidebar-title.c:
(nautilus_sidebar_title_initialize): Add a 2 pixel line spacing
offset between label widgets in the sidebar title.
2001-02-27 Ramiro Estrugo <ramiro@eazel.com>
reviewed by: Maciej Stachowiak <mjs@eazel.com>
Fix bug 7001 - CRITICAL received when dragging icons to sidebar
icon. The problem was that the NautilusLabel text with a drop
shadow offset (such that 2 labels draw) was being clipped as one
single text layout. So, some parts of the code assumed that the
whole content area (the union of the 2 text layouts) was available
for drawing and thus bad dimenstions were fed to the smooth text
layout drawing functsions.
* libnautilus-extensions/nautilus-smooth-text-layout.h:
* libnautilus-extensions/nautilus-smooth-text-layout.c:
(nautilus_smooth_text_layout_draw_to_pixbuf),
(nautilus_smooth_text_layout_draw_to_pixbuf_shadow): New function
to draw the layout text with a shadow.
* libnautilus-extensions/nautilus-label.c:
(nautilus_label_size_request), (label_paint_pixbuf_callback): Pass
in the dirty area instead of the event. Do this to make it clear
that the only thing we care about in this function is the dirty
area and no other event attributes.
change that I happened to make while fixing the bug.
(label_composite_text_callback)
(label_composite_text_and_shadow_callback): Factor out the code to
draw text and "text and shadow" into 2 callbacks.
(label_composite_text_callback_cached): Factor out the code to
draw the cached label (for the solid background case)
(label_paint) (paint_label_smooth): Split up the expose event code
into 2 pieces to make it easier to grok.
(nautilus_label_expose_event): Split out the code from here into
two functions.
(label_get_text_dimensions): Return only the text dimensions
without the drop shadow text offset. (label_get_text_bounds):
Return the bounds only for the text.
(label_get_content_dimensions): New function to get the full
content dimension. (label_get_content_bounds): New function to
get the content bounds; the content bounds is the union of the
text and drop shadow text bounds.
2001-02-27 Dan Mueth <dan@eazel.com>
reviewed by: Ramiro Estrugo <ramiro@eazel.com>
Bug #6908: Activating ScrollKeeper dependency and
update of database upon installation
* nautilus.spec.in:
2001-02-27 Dan Mueth <dan@eazel.com>
reviewed by: Maciej Stachowiak <mjs@eazel.com>
Purpose: fix tinderbox death
Commenting out scrollkeeper stuff until we get scrollkeeper
> 0.1.0 on tinderbox.
* nautilus.spec.in:
2001-02-26 Maciej Stachowiak <mjs@eazel.com>
reviewed by: Rebecca Schulman <rebecka@eazel.com>
Fix bug 7051 (Login dialog mis-capitalizes "Services")
* components/services/summary/nautilus-summary-dialogs.c
(nautilus_summary_show_login_dialog): Change "Eazel services" to
"Eazel Services".
* components/services/trilobite/helper/eazel-helper.c: *
configure.in: * nautilus-installer/src/installer.c:
(eazel_installer_setup_texts), (eazel_install_get_depends): *
nautilus.spec.in: Fixed other references I found to "Eazel
services" by grepping,
2001-02-27 Mike Fleming <mfleming@eazel.com>
reviewed by: Eskil Olsen <eskil@eazel.com>
Bug 7008: Navigation to anchors inside a document opened through
gnome-vfs does not work.
Fixed by manually navigating to anchors inside those documents.
Note that this means anchor links only work inside the same document;
external anchor links to gnome-vfs pages still do not work.
* components/mozilla/mozilla-events.cpp:
* components/mozilla/mozilla-events.h:
* components/mozilla/nautilus-mozilla-content-view.c:
(mozilla_dom_mouse_click_callback)
2001-02-26 Mike Fleming <mfleming@eazel.com>
reviewed by: Ramiro Estrugo <ramiro@eazel.com>
Bug 6958: Calling gtk_moz_embed_open_stream before control has realized
will eventually cause crash, so all opens are postponed until after the
stream has realized.
Also changed "reload" code to eliminate case where the component and
mozilla could get out of sync
* components/mozilla/nautilus-mozilla-content-view.c:
(nautilus_mozilla_content_view_initialize),
(mozilla_realize_callback), (mozilla_dom_mouse_click_callback),
(vfs_open_callback), (navigate_mozilla_to_nautilus_uri):
2001-02-26 Robin * Slomkowski <rslomkow@eazel.com>
* configure.in: upped version to 0.8.3 for development
2001-02-26 Robin * Slomkowski <rslomkow@eazel.com>
* configure.in: upped version to 0.8.2 for release
2001-02-26 John Harper <jsh@eazel.com>
reviewed by: Gene Z. Ragan <gzr@eazel.com>
Fixed bug 7073 (Alt-vs-Control, Sawfish-vs-Nautilus, arrow key
bindings problems.) - I also changed sawfish to use control by
default again.
* libnautilus-extensions/nautilus-list.c
(nautilus_list_keyboard_move_to, nautilus_list_keyboard_space):
changed GDK_CONTROL_MASK to GDK_MOD1_MASK to be consistent with
the icon container
2001-02-26 John Harper <jsh@eazel.com>
* components/services/install/nautilus-view/.cvsignore:
* components/services/vault/.cvsignore:
* components/services/vault/command-line/.cvsignore:
* data/top/.cvsignore:
* help/nautilus-quick-reference/C/.cvsignore:
* help/nautilus-user-manual/C/.cvsignore:
* help/nautilus-user-manual/es/.cvsignore:
* helper-utilities/xml-migrate/.cvsignore:
Added and updated .cvsignore files to shut up cvs update
2001-02-26 Eric Fischer <eric@eazel.com>
reviewed by: Robin Slomkoswki <rslomkow@eazel.com>
* nautilus.spec.in:
Remove nautilus-xml-migrate.1 from list of files to include
in RPM, because it's breaking the build and I'm too brain-dead
right now to figure out what I did wrong.
2001-02-26 Eric Fischer <eric@eazel.com>
reviewed by: Robey Pointer <robey@eazel.com>
* nautilus-installer/src/installer.c: (eazel_install_progress),
(eazel_install_preflight):
Fix printf() format specifiers for installer->total_mb so
gcc -Wall will stop complaning that a long int is being
printed with a %d specifier.
2001-02-26 John Harper <jsh@eazel.com>
Fixed bug 6825 (nesting indent in tree panel too large,
requires excessive scrolling):
* components/tree/nautilus-tree-view.c
(nautilus_tree_view_initialize): call gtk_ctree_set_indent to
set the indent size of the tree view to 12 pixels (instead of
the default 20)
Fixed a couple of memory leaks:
* components/tree/nautilus-tree-view.c
(nautilus_tree_view_destroy): remember to free the
unparented_tree_nodes list
* components/tree/nautilus-tree-model.c
(nautilus_tree_model_destroy, remove_all_nodes): remember to
free the unparented_nodes list
Try to find more information about bug 7018:
* components/tree/nautilus-tree-view.c,
components/tree/nautilus-tree-model.c,
components/tree/nautilus-tree-node.c: added a lot of error
checking (i.e. g_return_if_fail, etc)
2001-02-26 Dan Mueth <dan@eazel.com>
reviewed by: Eric Fischer <eric@eazel.com>
Added a timestamp file so that OMF files only get
built at build time and not at install time.
* help/docs.make:
* help/htmldocs.make:
Added explicit dependency on ScrollKeeper and added
"make -k ; make test" in place of "make -k test".
* nautilus.spec.in:
2001-02-26 Andy Hertzfeld <andy@eazel.com>
* data/linksets/home.xml:
fixed bug 7067, on clean install, services icon is missing. Arlo
recently removed the old services hand icon, but didn't update
the image reference in the linkset; fixed by updating it.
2001-02-26 Ramiro Estrugo <ramiro@eazel.com>
* helper-utilities/xml-migrate/.cvsignore:
Ignore generated files.
2001-02-26 Ramiro Estrugo <ramiro@eazel.com>
reviewed by: John Harper <jsh@eazel.com>
* libnautilus-extensions/nautilus-gdk-font-extensions.c:
(nautilus_gdk_font_get_italic), (bold_font_table_free_one_node),
(bold_font_table_free), (nautilus_gdk_font_get_bold),
(font_bitmap_get_by_size), (nautilus_gdk_font_get_larger),
(nautilus_gdk_font_get_largest_fitting), (font_get_bold),
(font_list_fonts), (font_list_table_free_one_node),
(font_list_table_free), (font_list_fonts_cached), (font_get_name),
(font_get_size_in_pixels),
(xlfd_string_could_be_scalable_non_bitmap):
Rename some private files (remove the nautilus_ prefix) to make it
clear they are not public.
Add caching of the expensive list_fonts () call. Also cache the
results of get_bold_font ().
Always return a valid font for get_bold_font() even if a bold font
is not found.
2001-02-26 Arlo Rose <arlo@eazel.com>
* icons/arlo/Makefile.am:
* icons/arlo/i-directory-12-aa.png:
* icons/arlo/i-directory-12.png:
* icons/arlo/i-directory-192.png:
* icons/arlo/i-directory-20-aa.png:
* icons/arlo/i-directory-20.png:
* icons/arlo/i-directory-24-aa.png:
* icons/arlo/i-directory-24.png:
* icons/arlo/i-directory-36-aa.png:
* icons/arlo/i-directory-36.png:
* icons/arlo/i-directory-96.png:
* icons/arlo/i-directory.xml:
* icons/crux_eggplant/Makefile.am:
* icons/crux_eggplant/i-directory-12-aa.png:
* icons/crux_eggplant/i-directory-12.png:
* icons/crux_eggplant/i-directory-192.png:
* icons/crux_eggplant/i-directory-20-aa.png:
* icons/crux_eggplant/i-directory-20.png:
* icons/crux_eggplant/i-directory-24-aa.png:
* icons/crux_eggplant/i-directory-24.png:
* icons/crux_eggplant/i-directory-36-aa.png:
* icons/crux_eggplant/i-directory-36.png:
* icons/crux_eggplant/i-directory-96.png:
* icons/crux_eggplant/i-directory.xml:
Lots of folder stuff...
2001-02-26 J Shane Culpepper <pepper@eazel.com>
reviewed by: John Sullivan <sullivan@eazel.com>
* README:
Reflecting the need for minimum Mozilla version of 0.8
* components/mozilla/nautilus-mozilla-content-view.c:
(nautilus_mozilla_content_view_initialize),
(mozilla_new_window_callback):
Fixed spelling of Javascript to JavaScript. Removed the
js_status callback because it was only added for debugging
and Ramiro found a bug in it. Finish bug #6885.
* configure.in: Nautilus mozilla component now requires
0.8. Fix for bug #7042.
2001-02-26 Darin Adler <darin@eazel.com>
reviewed by: John Sullivan <sullivan@eazel.com>
Fix bug 7023 (Multi-window mode opens second instance of same
window.)
* src/nautilus-window-manage-views.c:
(open_location_prefer_existing_window_callback): For windows that
are changing locations, we want to reuse them if the pending
location is the one we are trying to open.
2001-02-26 John Harper <jsh@eazel.com>
reviewed by: Michael Engber <engber@eazel.com>
Fixed bug 6898 (Tree view initialization may be slower than in
PR3). Instead of instantiating and destroying Nautilus_Metafile
bonobo objects each time metadata is queried, cache an object
for each directory:
* libnautilus-extensions/nautilus-directory-metafile.c
(corba_object_is_local, corba_object_get_servant): new
functions. These are ORBit dependent hacks
(get_metafile): cache the Nautilus_Metafile object in the
NautilusDirectory. Use the above ORBit hacks to break the
circular reference when both client and servant are in the same
process (the servant has always referenced the directory,
caching the metafile in the directory introduces the cycle)
* libnautilus-extensions/nautilus-directory-private.h
(NautilusDirectoryDetails): added field metafile_corba_object
* libnautilus-extensions/nautilus-directory.c
(nautilus_directory_destroy): unref the cached
Nautilus_Metafile object if its non-nil
* libnautilus-extensions/nautilus-metafile.c,
libnautilus-extensions/nautilus-metafile.h
(NautilusMetafileDetails): temporarily moved to
nautilus-metafile.h
* libnautilus-extensions/nautilus-metafile.c (destroy): only
unref the metafile's NautilusDirectory if the
directory_ref_is_gone flag isn't set (set by the get_metafile
method of nautilus-directory-metafile.c when it breaks the
cycle)
2001-02-26 John Harper <jsh@eazel.com>
reviewed by Darin Adler <darin@eazel.com>
Moved much of the BonoboUI overhead to the idle handler. This
should decrease latency when opening new windows.
* src/nautilus-window-private.h: added fields to
NautilusWindowDetails structure: ui_change_depth, ui_idle_id,
ui_is_frozen, ui_pending_menu_initialize
* src/nautilus-window.c, src/nautilus-window.h
(nautilus_window_ui_freeze, nautilus_window_ui_thaw): new
functions. Used to intelligently freeze and thaw the
BonoboUIEngine associated with the window's container. The
thawing (and thus the updating) is done in an idle handler
(nautilus_window_ui_update): used to defeat the UI deferral,
and update immediately
(nautilus_window_constructed): moved part of the menu bar
initialization to the idle handler
* src/nautilus-window-manage-views.c,
src/nautilus-window-menus.c, src/nautilus-window-toolbar.c,
src/nautilus-window.c: call nautilus_window_ui_freeze before
doing any UI changes, and nautilus_window_ui_thaw afterwards
* src/nautilus-window-menus.c
(nautilus_window_initialize_menus): split into two functions:
nautilus_window_initialize_menus_part_1 and _part_2. Part two
populates the `Go' and `Bookmarks' menus (and is deferred until
the idle loop)
2001-02-26 Eric Fischer <eric@eazel.com>
reviewed by: Darin Adler <darin@eazel.com> (code)
reviewed by: Robin Slomkowski <rslomkow@eazel.com> (Makefile, etc.)
Fix bug 6197 (write script to convert metafiles and links to
ower-case XML):
* configure.in:
Add helper-utilities/xml-migrate/Makefile to the list of files to
be created.
* helper-utilities/Makefile.am:
Add xml-migrate to the list of subdirectories to be built.
* helper-utilities/xml-migrate/Makefile.am:
New Makefile: compile nautilus-xml-migrate and install its manpage.
* helper-utilities/xml-migrate/xml-migrate.c:
New program: searches a directory for the old uppercase XML files
and turns them into lowercase ones.
* helper-utilities/xml-migrate/nautilus-xml-migrate.1:
New manpage: for the aforementioned program.
* nautilus.spec.in:
Include nautilus-xml-migrate and its manpage in the RPMs.
2001-02-26 Michael Engber <engber@eazel.com>
reviewed by: Darin Adler <darin@eazel.com>
* libnautilus-extensions/nautilus-directory-async.c:
(activation_uri_done):
activation_uri_done (nautilus-directory-async.c) was not
calling nautilus_file_changed - bug 7044.
2001-02-26 Darin Adler <darin@eazel.com>
reviewed by: John Sullivan <sullivan@eazel.com>
Fix bug 7023 (Multi-window mode opens second instance of same
window.)
* src/nautilus-window-manage-views.c:
(open_location_prefer_existing_window_callback): For windows that
are changing locations, we want to reuse them if the pending
location is the one we are trying to open.
2001-02-26 John Sullivan <sullivan@eazel.com>
reviewed by: Darin Adler <darin@eazel.com>
Fixed bug 5812 (Some preferences widgets don't display correct
values when Preferences dialog first displayed at Beginner level)
The bug here was that all the widgets only had their state set
when they were created. They are created when the Preferences
dialog is first shown, even for the preferences that aren't
displayed at this user level. So changing the user level to a
higher one where there preference now appears but has a different
value would leave the widget displaying the "hidden" value instead
of the correct value. Fixed by making the code that updates the
visibility also update the displayed values.
* libnautilus-extensions/nautilus-preferences-item.h:
Public prototype for nautilus_preferences_item_update_displayed_value.
* libnautilus-extensions/nautilus-preferences-item.c:
Added change_signal_ID to Details struct.
(preferences_item_construct): Store the item type in the
Details. Surprisingly, this wasn't being done before. Also,
call nautilus_preferences_item_update_displayed_value after
creating the item.
(preferences_item_update_enum),
(preferences_item_create_enum),
(preferences_item_update_short_enum),
(preferences_item_create_short_enum),
(preferences_item_update_boolean),
(preferences_item_create_boolean),
(preferences_item_update_editable_string),
(preferences_item_create_editable_string),
(preferences_item_update_integer),
(preferences_item_create_integer),
(preferences_item_update_font_family),
(preferences_item_create_font_family),
(preferences_item_update_theme),
(preferences_item_create_theme): Extract the code that sets
the displayed widget value from _create_ to new function
_update_. It's now called at the end of preferences_item_construct
instead of in each _create_ function. Also, store the ID for each
signal handler that monitors widget changes in Details.
(nautilus_preferences_item_update_displayed_value): Call appropriate
update function for item type. Block "change" signal handler while
updating widgetry to avoid redundant preference changed notices.
* libnautilus-extensions/nautilus-preferences-group.c:
(nautilus_preferences_group_update): Call
nautilus_preferences_item_update_displayed_value
Other changes:
* src/nautilus-shell-ui.xml: Return of the ellipsis in "About Nautilus...",
by popular demand.
2001-02-26 Rebecca Schulman <rebecka@eazel.com>
reviewed by: Laszlo Kovacs <laszlo.kovacs@sun.com>
* components/help/hyperbola-filefmt.c:
(fmt_scrollkeeper_tree_empty):
Fix missing braces that hid a bug which
was exposed by the "may be used uninitialized"
error in C.
2001-02-26 Laszlo Kovacs <laszlo.kovacs@sun.com>
reviewed by Ramiro Estrugo
* components/help/hyperbola-filefmt.c:
fixed bug 7030
I added the fallback to the English (C) tree in the
sidebar if the current locale tree is empty. This is
only about tree fallback, not document fallback, ie
the docs will not individually fallback to English
(this has to be implemented later on after Nautilus
1.0).
2001-02-26 Andy Hertzfeld <andy@eazel.com>
* src/nautilus-property-browser.c: (add_reset_property):
fixed bug 7021, reset in colors pane messed up, by adding a call
to turn the raw pixbuf into a property chit.
2001-02-26 Ramiro Estrugo <ramiro@eazel.com>
* .cvsignore:
* help/nautilus-user-manual/es/.cvsignore:
* omf-install/.cvsignore:
* test/.cvsignore:
* user-guide/C/.cvsignore:
Ignore generated files.
2001-02-26 Eskil Heyn Olsen <eskil@eazel.com>
sleepy reviewer: Robey Pointer <robey@eazel.com>
* components/services/install/lib/eazel-install-logic2.c:
(check_no_two_packages_has_same_file), (install_packages):
when adding extrapackges to main packageslist, check that we're
not adding duplicates.
* components/services/install/lib/eazel-package-system-types.c:
(eazel_install_package_compare):
remopved debug outpu
2001-02-26 Robey Pointer <robey@eazel.com>
reviewed by: Eskil Heyn Olsen <eskil@eazel.com>
* components/services/install-view/callbacks.c:
(nautilus_service_install_preflight_check):
* components/services/install-view/forms.c: (add_padding_to_box),
(generate_install_form), (make_query_box):
* components/services/install-view/nautilus-service-install-view.c:
* components/services/install-view/nautilus-service-install-view.h:
Put the preflight query into a pane so it can be made scrollable
if the list of packages gets too long.
* nautilus-installer/src/installer.c: (eazel_install_progress),
(eazel_download_progress), (install_failed),
(eazel_install_preflight):
* nautilus-installer/src/installer.h:
Fix the progress bars to make sense. The fact that they even
looked like they were 90% working before is just a bizarre
coincidence.
2001-02-26 Arik Devens <arik@eazel.com>
reviewed by: Maciej Stachowiak <mjs@eazel.com>
Fixed bug 7009, view as pkg lists inaccurate rpm filesize.
* components/rpmview/nautilus-rpm-view.c:
(nautilus_rpm_view_initialize): Changed Size to Installed Size to
more accurately reflect the information we are attempting to
convey.
2001-02-26 Dan Mueth <dan@eazel.com>
reviewed by: Tux
Fixing bug: 6983 by changing "help:nautilus" to
"help:nautilus-user-manual".
* src/nautilus-window-menus.c:
2001-02-25 Eskil Heyn Olsen <eskil@eazel.com>
glanced at by: Ian McKellar <ian@eazel.com>
* components/services/install/command-line/eazel-alt-install-corba.
c: (eazel_download_progress_signal),
(eazel_install_progress_signal):
Fixed bug 6985, no mo're \r's in the translated strings
Fixed bug 7003
* components/services/install/lib/eazel-install-logic2.c:
(check_tree_helper),
(check_no_two_packages_has_same_file),
indent fixed
Nicer output in the non-debug output mode (use readable packagename)
Removed call to add_file_conflict untill SoftCat db is rebuild.
(check_conflicts_against_already_installed_packages),
Test for file existance, if present, do the proper check.
Nicer output in the non-debug ouptut mode (use readable packagename)
(check_feature_consistency),
Set a integer datafield to not recheck consistency for packages
when doing a revive cycle.
Added check to avoid noting certain updates as breaks.
Added check to avoid renoting revived breaks (fixes bug 6811)
(do_file_conflict_check),
Call check_tree_for_conflicts after feature_consistency_check to
revive FeatureBreaks (fixes bug 6811)
(eazel_uninstall_globber):
Removed a c++ commented out debug call.
Also added I18N tags to all g_message output and revamped some
output to be more translator friendly. Ensured that debugless
output still makes sense.
Fixed a bug in uninstall where it would report too many packages.
Removed add_to_breaks_if_new, replaced it with the "normal"
g_list_find_custom call.
* components/services/install/lib/eazel-package-system-types.h:
Changed packagedata->obsolotes into a GList *
* components/services/install/lib/eazel-package-system-types.c:
(packagedata_finalize), (packagedata_copy),
(packagedata_fill_in_missing), (packagedata_get_readable_name),
(eazel_install_package_compare), (packagedata_dump_int):
treat packagedata->obsolotes as a GList* and not a char*.
* components/services/install/lib/eazel-package-system-rpm3.c:
(eazel_package_system_rpm3_packagedata_fill_from_header):
Correctly read the RPMTAG_OBSOLETES and put into the packagedata object.
2001-02-26 Arik Devens <arik@eazel.com>
reviewed by: John Harper <jsh@eazel.com
Partial fix for bug 5701, Icon stretching is slow and
CPU-intensive.
* libnautilus-extensions/nautilus-icon-container.c:
(update_stretch_at_idle), (continue_stretching): Moved the
stretching code to an idle handler to speed it up and remove
blocking.
* libnautilus-extensions/nautilus-icon-private.h: Added three new
members to the IconContainerDetails struct for the idle handler.
2001-02-26 Dan Mueth <dan@eazel.com>
reviewed by: Maciej Stachowiak <mjs@eazel.com>
* help/docs.make: Small fix. Won't take effect until
nautilus.spec.in stops explicitly setting $prefix to
hold RPM_BUILD_ROOT. When that is fixed, this will
allow OMF files to hold the correct path to the docs.
* nautilus.spec.in: Removed a line referring to an image
which Arlo removed earlier.
2001-02-26 Arlo Rose <arlo@eazel.com>
* icons/arlo/Makefile.am:
* icons/arlo/i-regular-20-aa.png:
* icons/arlo/i-regular-20.png:
Added a 20 pixel version for the Tree view and menus.
2001-02-26 Gene Z. Ragan <gzr@eazel.com>
reviewed by: John Harper <jsh@eazel.com>
Fixed bug 3898, selection in icon view extremely slow
I increased the performance of drag selection of icons in a few ways.
First, I avoid unneeded, repeated transforms of coordinates from
world coordinates to canvas coordinates. I also cached three freqeuently
calculated dimensions; the icons bounds in canvas coordinates, the icons
text bounds and canvas coordinates and the bounding rect of all emblems
in canvas coordinates. Instead of repeatedly calculating these values,
have functions refer to the cached values. In hit_test, I then do a
quick intersection check of the drag rect with the cached values before
proceeding to the more expensive intersection detection routines.
* libnautilus-extensions/nautilus-icon-canvas-item.c:
* libnautilus-extensions/nautilus-icon-canvas-item.h:
(nautilus_icon_canvas_item_set_image), (compute_text_rectangle),
(nautilus_icon_canvas_item_draw),
(nautilus_icon_canvas_item_render),
(nautilus_icon_canvas_item_bounds), (get_icon_canvas_rectangle),
Set up the various places that we need to update our cached items.
(nautilus_icon_canvas_item_update_bounds):
Update our cached values.
(hit_test), (hit_test_stretch_handle):
Perform quick interesection checks before doing more expensive checks.
(nautilus_icon_canvas_item_hit_test_rectangle):
Change function to use canvas coordinates. The caller is responsible
to do the conversion form world to canvas. This provides a large
optimization if this routine is caled in a loop.
* libnautilus-extensions/nautilus-icon-container.c:
* libnautilus-extensions/nautilus-icon-container.h:
(rubberband_select):
Do transform of drag rect from world coordiantes to canvas canvas
coordinates onlty once. There is no need to do this for every canvas
item that is visted during list traversal.
* libnautilus-extensions/nautilus-icon-dnd.c:
(nautilus_icon_container_item_at):
Call nautilus_icon_canvas_item_hit_test_rectangle() using coordinate
converted to canvas coordinates.
Mon Feb 26 03:00:03 2001 George Lebl <jirka@5z.com>
Gene Z. Ragan <gzr@eazel.com> was subjected to this patch and
survived.
* components/help/hyperbola-nav-tree.c (set_node_style): Also
set HYP_TREE_NODE_BOOK type nodes to italic, which should finally
completely fix #6911
2001-02-26 Arlo Rose <arlo@eazel.com>
* icons/crux_eggplant/crux_eggplant.xml:
A mistake in the xml file (and ChangeLog!) oops.
* configure.in:
* icons/arlo/Makefile.am:
* icons/arlo/i-regular-12-aa.png:
* icons/arlo/i-regular-12.png:
* icons/arlo/i-regular-192-aa.png:
* icons/arlo/i-regular-192.png:
* icons/arlo/i-regular-24-aa.png:
* icons/arlo/i-regular-24.png:
* icons/arlo/i-regular-36-aa.png:
* icons/arlo/i-regular-36.png:
* icons/arlo/i-regular-72-aa.png:
* icons/arlo/i-regular-72.png:
* icons/arlo/i-regular-96-aa.png:
* icons/arlo/i-regular-96.png:
* icons/arlo/i-regular-aa.png:
* icons/arlo/i-regular.png:
* icons/arlo/i-regular.xml:
Changed the design of the Crux documents to have 8.5 x 11
aspect ratio, and removed the torn out of a sprial notebook
visual appearance.
I also added all the sizes that Nautilus needs in both 8 bit
and 1 bit mask mode.
* icons/crux_eggplant/Makefile.am:
* icons/crux_eggplant/crux_eggplant.xml:
* icons/crux_eggplant/i-regular-192-aa.png:
* icons/crux_eggplant/i-regular-192.png:
* icons/crux_eggplant/i-regular-72-aa.png:
* icons/crux_eggplant/i-regular-72.png:
* icons/crux_eggplant/i-regular-96-aa.png:
* icons/crux_eggplant/i-regular-96.png:
* icons/crux_eggplant/i-regular-aa.png:
* icons/crux_eggplant/i-regular.png:
* icons/crux_eggplant/i-regular.xml:
Removed the throbber and the document icons out of Crux Eggplant
and made them point to the ones in Crux teal.
2001-02-26 Dan Mueth <dan@eazel.com>
reviewed by: Seth Nickell <snickell@stanford.edu>
Updating spec file to fix breakage... mjs removed this program.
* nautilus.spec.in: Removed %{prefix}/bin/eazel-vault
2001-02-25 Dan Mueth <dan@eazel.com>
reviewed by: Robey Pointer <robey@eazel.com>
* po/POTFILES.in: Fixed breakage caused by mjs moving some
files around and forgetting to update this file.
2001-02-24 Robey Pointer <robey@eazel.com>
reviewed by: Eskil Heyn Olsen <eskil@eazel.com>
* components/services/install/lib/eazel-install-logic2.c:
(packagedata_add_to_breaks_if_new),
(do_requirement_consistency_check_package),
(do_requirement_consistency_check_internal),
(do_requirement_consistency_check), (check_tree_helper):
Trying to make the new consistency-check stuff work, so that the
RH62 install will succeed. This seems to do it for me. First,
flatten the dep-tree before doing consistency checks, to make sure
everything gets checked. Second, only add a package to the breaks
list if that package isn't already there.
* components/services/install/lib/eazel-install-problem.c:
(get_detailed_messages_breaks_foreach):
Clean up one of the messages a little bit so it's less
nonsensical.
* components/services/install/lib/eazel-package-system-types.c:
(dump_package_break_list):
The names of these (debug messages) appeared to be reversed, which
might have caused someone unneeded heartbreak someday.
* nautilus-installer/src/installer.c: (eazel_install_preflight):
If any packages failed before the preflight, give up.
2001-02-25 John Fleck <jfleck@inkstain.net>
reviewed by: George Lebl <jirka@5z.org>
* components/help/converters/gnome-db2html2/toc-elements.c
adding code to toc_glossterm_start_elemen and
toc_glossterm_end_element to set and unset boolean
variable in_printed_title that determines whether we're in a
printed title in the table of contents
2001-02-25 Maciej Stachowiak <mjs@eazel.com>
reviewed by: Michael K. Fleming <mfleming@eazel.com>
* components/services/install/nautilus-view/.cvsignore:
* components/services/install/nautilus-view/Makefile.am:
* components/services/install/nautilus-view/Nautilus_View_install.oaf.in:
* components/services/install/nautilus-view/callbacks.c:
* components/services/install/nautilus-view/callbacks.h:
* components/services/install/nautilus-view/forms.c:
* components/services/install/nautilus-view/forms.h:
* components/services/install/nautilus-view/main.c:
* components/services/install/nautilus-view/nautilus-service-install-view.c:
* components/services/install/nautilus-view/nautilus-service-install-view.h:
* components/services/install/nautilus-view/nautilus-service-install.c:
* components/services/install/nautilus-view/nautilus-service-install.h:
Move it all to components/services/install-view
* components/services/install
/Makefile.am: Don't build nautilus-view subdir.
* components/services/Makefile.am: Build insall-view subdir.
* components/services/install-view/Makefile.am: Don't do evil hack
to build inventory dir.
* components/services/vault/.cvsignore:
* components/services/vault/Makefile.am:
* components/services/vault/command-line/.cvsignore:
* components/services/vault/command-line/Makefile.am:
* components/services/vault/command-line/main.c:
* components/services/vault/command-line/vault-operations.c:
* components/services/vault/command-line/vault-operations.h:
Remove old cruft.
* configure.in: Adjust for above changes.
2001-02-25 arik devens <arik@eazel.com
reviewed by: John Harper <jsh@eazel.com>
* src/nautilus-first-time-druid.c: (download_callback): Moving the
rest of the gtk_widget_set_sensitive calls to
gnome_druid_set_buttons_sensitive so our choices don't get
clobered.
2001-02-25 Michael K. Fleming <mfleming@eazel.com>
Bug 3887: Mozilla view only recognizes first change to proxy setting.
Oops: the wrong integer for "network.proxy.type" being "disabled" was being
used.
* components/mozilla/main.c:
* components/mozilla/mozilla-preferences.cpp:
Sun Feb 25 17:58:57 2001 George Lebl <jirka@5z.com>
bored by this patch: Mike Fleming <mfleming@eazel.com>
Fixes #6973
* components/help/converters/gnome-db2html2/Makefile.am: define
GNOMELOCALEDIR
* components/help/converters/gnome-db2html2/gdb3html.c (main):
do the gettext dance as jfleck so rightly pointed out
2001-02-25 Maciej Stachowiak <mjs@eazel.com>
reviewed by: Gene Z. Ragan <gzr@eazel.com>
* components/services/install/command-line/eazel-alt-install-corba.c:
(set_parameters_from_command_line): Fixed bug 7000.
* components/services/summary/nautilus-summary-view-private.h,
components/services/summary/nautilus-summary-view.c: changed
things to properly internationalize strings in #defines to fix bug
6997 (Defined "More Info" message does not end up in translation).
2001-02-25 Maciej Stachowiak <mjs@eazel.com>
reviewed by: Seth Nickell <snickell@stanford.edu>
Fixed bug 6822 (Need to be able to support services that run a
program instead of launching a URI).
* components/services/summary/nautilus-summary-view.c:
(summary_view_button_callback, summary_view_update_pane,
program_uri_for_nonexistent_program, generate_service_entry_row):
Add support for special "command:" URIs in the summary view. If
the program specified does not exist, leave the service out of the
listing.
2001-02-24 Maciej Stachowiak <mjs@eazel.com>
reviewed by: Gene Z. Ragan <gzr@eazel.com>
Fix bug 5462 ("View as %s" and "%s Viewer" composed messages hard
to translate) by making Nautilus view oafinfo files provide the
full messages.
* libnautilus-extensions/nautilus-view-identifier.h,
libnautilus-extensions/nautilus-view-identifier.c:
nautilus_view_identifier_new, nautilus_view_identifier_copy,
nautilus_view_identifier_new_from_oaf_server_info,
nautilus_view_identifier_free): Add `view_as_label' and
`viewer_label' fields; determine them from either special new oaf
attributes or compose them from `view_as_name'.
* libnautilus-extensions/nautilus-program-chooser.c
(program_file_pair_get_program_name_for_display): Use new
identifier fields.
* src/file-manager/fm-directory-view.c
(add_component_to_bonobo_menu): Use new identifier fields.
* src/nautilus-window.c (create_view_as_menu_item): Use new
identifier fields.
* components/hardware/Nautilus_View_hardware.oaf.in,
components/image-viewer/Nautilus_View_image.oaf.in,
components/loser/content/Nautilus_View_content-loser.oaf.in,
components/mozilla/Nautilus_View_mozilla.oaf.in,
components/music/Nautilus_View_music.oaf.in,
components/rpmview/Nautilus_View_rpm.oaf.in,
components/sample/Nautilus_View_sample.oaf.in,
components/services/install/nautilus-view/Nautilus_View_install.oaf.in,
components/services/inventory-view/Nautilus_View_inventory.oaf.in,
components/services/login/nautilus-view/Nautilus_View_change-password.oaf.in,
components/services/summary/Nautilus_View_services-summary.oaf.in,
components/services/trilobite/sample/nautilus-view/Nautilus_View_service-sample.oaf.in,
components/shell/Nautilus_View_shell.oaf.in,
components/text/Nautilus_View_text.oaf.in,
src/Nautilus_shell.oaf.in: Add `nautilus:view_as_label' and
`nautilus:viewer_label' properties.
* components/services/trilobite/libtrilobite/trilobite-file-utilities.c:
Fix author line.
2001-02-24 Eskil Heyn Olsen <eskil@eazel.com>
Not reviewed, as this just contains some comments for translators.
* components/services/install/command-line/eazel-alt-install-corba.
c: (delete_files):
Added I18n comments about the (y/n) strings.
Sat Feb 24 19:50:16 2001 George Lebl <jirka@5z.com>
Gene Z. Ragan <gzr@eazel.com> said "Groovy", so I suppose that means
he approves of the patch.
* components/help/hyperbola-nav-tree.c (set_node_style)
(ctree_populate_subnode) (reset_style_for_node) (reset_styles)
(hyperbola_navigation_tree_new): Nodes of type HYP_TREE_NODE_PAGE
made italic to differentiate them from sections and categories,
fixes #6911.
* libnautilus-extensions/nautilus-gdk-font-extensions.[ch]
(font_entry_has_italic_slant_test) (nautilus_gdk_font_get_italic):
Add a function for getting an italic font. Mostly a cut and paste
the the _get_bold function.
2001-02-24 Gene Z. Ragan <gzr@eazel.com>
reviewed by: George Lebl <jirka@5z.com>
Fixed bug 3546, Nautilus fails if MP3 previews in rapid succession
Fixed bug 5105, Preview sound file during MP3 playback
-> "/dev/dsp: Device or resource busy"
* libnautilus-extensions/nautilus-global-preferences.h:
Add a preference that that tracks the result of an intial
audio output capability check during nautilus_sound_initialize().
* libnautilus-extensions/nautilus-sound.c:
(nautilus_sound_initialize):
Check audio output capability and save the result of the check in
a preference.
(nautilus_sound_can_play_sound):
Check saved preference instead of opening and closing esd as a
way to check if sound output is available. The constant opening
and closing creating a latency problem withing esd and was
affecting the audio preview mechanism.
2001-02-24 Gene Z. Ragan <gzr@eazel.com>
reviewed by: Seth Nickell <seth@eazel.com>
Fixed bug 6944, "Move here"/"Copy here"/"Link here" popup
menu is untranslated
* libnautilus-extensions/nautilus-drag.c:
Wrap text in N_ so that it will be properly
localized.
* po/ChangeLog:
* po/POTFILES.in:
Add libnautilus-extensions/nautilus-drag.c
Sat Feb 24 12:49:43 2001 George Lebl <jirka@5z.com>
Gene Z. Ragan <gzr@eazel.com> says it won't cause global warming if
this is applied.
* components/help/converters/gnome-db2html2/sect-elements.c
(sect_sect_start_element) (sect_sect_end_element)
(sect_legalnotice_start_element) (sect_legalnotice_end_element)
(sect_legalnotice_characters):
Use g_strcasecmp to compare "legalnotice" and section id's. This
Fixes the bug where panel help would not be displayed at all.
Since the HTML sections have been converted to uppercase and thus
going back to sgml wouldn't work
2001-02-24 Eskil Heyn Olsen <eskil@eazel.com>
reviewed by: Gene Z. Ragan <gzr@eazel.com>
* po/POTFILES.in:
removed components/music/configure.c and
components/music/fileinfo.c to fix tinderkill.
2001-02-24 Ian McKellar <ian@eazel.com>
reviewed by: Maciej Stachowiak <mjs@eazel.com>
* components/services/inventory/eazel-inventory-service.c:
(http_post_simple), (http_post_simple_ammonite),
(impl_Trilobite_Eazel_Inventory_upload):
Moved the HTTP/ammonite code out into separate functions.
(impl_Trilobite_Eazel_Inventory__set_enabled):
Implemented the delete-inventory server call.
This relates to bug 6184.
* components/services/inventory/eazel-inventory-utils.c:
(get_software_inventory), (get_digest_from_gconf),
(update_gconf_inventory_digest), (eazel_inventory_update_md5):
Cleanups.
(eazel_inventory_clear_md5):
* components/services/inventory/eazel-inventory-utils.h:
Added function to clear the md5.
2001-02-24 Arik Devens <arik@eazel.com>
reviewed by: Maciej Stachowiak <mjs@eazel.com>
Partially fixed bug 939, help URIs should display something nice
for the "not found" case.
Fixed bug 3112, Help URIs need design for "not found" case.
* components/help/converters/gnome-info2html2/main.c:
(file_exists), (main): Added default text to be printed out if the
info page cannot be found.
* components/help/converters/gnome-man2html2/gnome-man2html.c:
(main): Added default text to be printed out if the man page
cannot be found.
2001-02-24 Eskil Heyn Olsen <eskil@eazel.com>
tired reviewer was: Robey Pointer <robey@eazel.com>
Fixes bug 6903 6913 and 6972
* components/services/install/command-line/eazel-alt-install-corba.
c: (set_parameters_from_command_line),
(eazel_file_conflict_check_signal),
(eazel_file_uniqueness_check_signal),
(eazel_feature_consistency_check_signal),
(eazel_download_progress_signal):
Marked strings for i18n.
* components/services/install/lib/eazel-install-logic2.c:
(is_satisfied), (do_dep_check_internal), (do_dep_check),
(check_if_modification_is_ok),
(do_requirement_consistency_check_package),
(do_requirement_consistency_check_internal),
(do_requirement_consistency_check), (check_tree_helper),
(check_conflicts_against_already_installed_packages),
(do_file_conflict_check), (install_packages_helper),
(install_packages):
Swapped the check of a requirements features and if it's installed
(in the case where there is no sense/version)
Added a vast amount of logic to check if modification of packages
(update/downgrade) breaks other packages. This also includes a
move of a huge block of code.
Try to revive on both FILE_CONFLICT and BREAKS_DEPENDENCY.
Don't ignore file-conflicts on force (since we set it when epochs
are involved)
Do do_requirement_consistency_check before
check_tree_for_conflicts, so we try and revive any upgrades that
causes a BREAK_DEPENDENCY
Large section of code moved upwards...
* components/services/install/lib/eazel-package-system-rpm3.c:
(make_rpm_argument_list):
Use -U for both up and downgrade.
Load obsoletes tag.
2001-02-24 Ian McKellar <ian@eazel.com>
reviewed by: Maciej Stachowiak <mjs@eazel.com>
* components/services/inventory-view/Makefile.am:
* components/services/inventory-view/nautilus-inventory-disable-pag
e.c: (nautilus_inventory_disable_page_initialize_class),
(yes_callback), (no_callback),
(nautilus_inventory_disable_page_initialize),
(nautilus_inventory_disable_page_new),
(nautilus_inventory_disable_page_run),
(nautilus_inventory_disable_page_destroy):
* components/services/inventory-view/nautilus-inventory-disable-pag
e.h:
* components/services/inventory-view/nautilus-inventory-view.c:
(nautilus_inventory_view_initialize),
(inventory_load_location_callback):
Added inventory disable page.
* components/services/summary/nautilus-summary-view.c:
(inventory_load_callback):
Don't pop up a dialog if the inventory upload fails.
2001-02-04 Robey Pointer <robey@eazel.com>
reviewed by: Eskil Heyn Olsen <eskil@eazel.com>
* nautilus/components/rpmview/nautilus-rpm-view-install.c:
Fix Tinderbox bustage (oops).
2001-02-24 Robey Pointer <robey@eazel.com>
reviewed by: Eskil Heyn Olsen <eskil@eazel.com>
* components/services/install/command-line/eazel-alt-install-corba.
c: (create_package):
Add '--package-version' (-V) option for installing a specific
version of a package (labs request).
* components/services/install/idl/trilobite-eazel-install.idl:
* components/services/install/lib/eazel-install-logic2.c:
(eazel_install_check_existing_packages), (download_packages):
* components/services/install/lib/eazel-install-problem.c:
(get_detailed_messages_foreach),
(get_detailed_uninstall_messages_foreach),
(get_detailed_cases_foreach),
(get_detailed_uninstall_cases_foreach):
* components/services/install/lib/eazel-package-system-types.c:
(packagedata_status_enum_to_str), (packagedata_status_str_to_enum):
* components/services/install/lib/eazel-package-system-types.h:
Add PACKSYS_FAILURE error code for reporting the ominous "failed
to lock rpmdb" errors.
* components/services/install/lib/eazel-install-corba-types.c:
(corba_packagedatastruct_fill_from_packagedata),
(corba_packagedatastructlist_from_packagedata_tree),
(packagedata_from_corba_packagedatastruct),
(packagedata_tree_from_corba_packagedatastructlist):
Fix corba package-tree flattening and inflating by leaving the
toplevel field intact, and using a corba-only "anchor" field to
mark which packages should be anchored to the top list of the
package-tree after re-inflation.
* components/services/install/lib/eazel-install-xml-package-list.c:
(osd_parse_implementation), (osd_parse_softpkg):
Check for the new ACTION="Unresolved" in softcat dependency
responses, and (for now) treat packages with unresolved deps as if
softcat didn't return that package at all. Any packages that
softcat doesn't have deps for are errors right now, anyway.
* nautilus-installer/src/prescript:
Fix the annoying "user is 8888" bug by working around a bug in
popt and passing the --user flag with an "=" instead of a space.
Very dumb but it works.
2001-02-24 Arik Devens <arik@eazel.com>
reviewed by: Maciej Stachowiak <mjs@eazel.com>
Fixed bug 6924, User level strings not properly translated in
first time druid.
* libnautilus-extensions/nautilus-preferences.c:
(nautilus_preferences_get_user_level_name_for_display): Added a
gettext call to translate the N_'d user level strings.
2001-02-24 Arik Devens <arik@eazel.com>
reviewed by: Maciej Stachowiak <mjs@eazel.com>
Fixed bug 4567, Druid does not desensitize "next" button when
checking the network connection.
* src/nautilus-first-time-druid.c: (initiate_file_download):
Changed to using gnome_druid_set_sensitive instead of
gtk_widget_set_sensitive to stop the druid from clobering our
sensitivity preference.
2001-02-24 Ian McKellar <ian@eazel.com>
reviewed by: Maciej Stachowiak <mjs@eazel.com>
* components/rpmview/Makefile.am:
* components/rpmview/nautilus-rpm-view-install.c:
(inventory_service_callback), (nautilus_rpm_view_install_done):
Added inventory hooks. Finishing bug 6186.
* components/services/install/Makefile.am:
* components/services/install/nautilus-view/Makefile.am:
* components/services/install/nautilus-view/callbacks.c:
(inventory_service_callback), (nautilus_service_install_done):
Fixed an evil build problem and did some little code fixes.
2001-02-24 Arik Devens <arik@eazel.com>
reviewed by: Maciej Stachowiak <mjs@eazel.com>
Fixed bug 6974, the verify button is currently non functional and
should be disabled.
* components/rpmview/nautilus-rpm-view.c:
(nautilus_rpm_view_initialize),
(nautilus_rpm_view_update_from_uri): Removed the widget->show code
for the verify button because it was deemed to buggy for 1.0.
2001-02-23 Maciej Stachowiak <mjs@eazel.com>
reviewed by: Ian McKellar <ian@eazel.com>
* src/nautilus-window-manage-views.c (cancel_location_change):
Remove freshly unused variable to unbreak the build.
2001-02-24 Arik Devens <arik@eazel.com>
reviewed by: Maciej Stachowiak <mjs@eazel.com>
Fixed bug 4853, in eazel-package-system-suggest-id ensure
distro-to-system.
* components/services/install/lib/eazel-package-system.c:
(eazel_package_system_suggest_id): Added distro to package system
mappings for the rest of the distro's trilobyte can detect.
2001-02-23 Maciej Stachowiak <mjs@eazel.com>
reviewed by: Eskil Olsen <eskil@eazel.com>
Fix bug 6856 (if you click on the services button and then on the
stop button nautilus crashes)
* components/services/trilobite/libtrilobite/trilobite-file-utilities.c:
(read_file_open_callback): If we get a callback on a cancelled
open, ignore it rather than dieing on a failed assertion.
* src/nautilus-window-manage-views.c (cancel_location_change):
Instead of avoiding telling the old view of the location change
back if it is the same as the new view, avoid telling the new view
ever. Either it will be told through the old view pointer or it
the very change we want to cancel.
2001-02-24 Dan Mueth <dan@eazel.com>
reviewed by: Ian McKellar <ian@eazel.com>
Added 1.0 version of Vera's Quick Reference document.
Note that the screenshots are not finalized, but the text
is. Added Spanish version of Nautilus User Manual.
Updated toplevel docs, removing Session Properties, and
adding Spanish translation of NUM. Tried to remove most of
the annoying warnings which show up in tinderbox due to
silly Makefile problems. Updated spec for Spanish doc.
* components/help/topleveldocs.xml:
* configure.in:
* help/docs.make:
* help/nautilus-quick-reference/C/figures/full_small.png:
* help/nautilus-quick-reference/C/figures/navbar_small.png:
* help/nautilus-quick-reference/C/index.html:
* help/nautilus-user-manual/Makefile.am:
* help/nautilus-user-manual/es/Makefile.am:
* help/nautilus-user-manual/es/figures/custicon.png:
* help/nautilus-user-manual/es/figures/full.png:
* help/nautilus-user-manual/es/figures/link.png:
* help/nautilus-user-manual/es/figures/locbar.png:
* help/nautilus-user-manual/es/figures/noread.png:
* help/nautilus-user-manual/es/figures/nowrite.png:
* help/nautilus-user-manual/es/figures/part.png:
* help/nautilus-user-manual/es/figures/player.png:
* help/nautilus-user-manual/es/figures/prefmenu.png:
* help/nautilus-user-manual/es/figures/sidebar.png:
* help/nautilus-user-manual/es/figures/viewmenu.png:
* help/nautilus-user-manual/es/figures/viewmusic.png:
* help/nautilus-user-manual/es/nautilus-user-manual-es.omf:
* help/nautilus-user-manual/es/nautilus-user-manual.sgml:
* nautilus.spec.in:
2001-02-24 Ian McKellar <ian@eazel.com>
reviewed by: Maciej Stachowiak <mjs@eazel.com>
* components/services/install/nautilus-view/Makefile.am:
* components/services/install/nautilus-view/callbacks.c:
(inventory_service_callback), (nautilus_service_install_done):
* components/services/summary/Makefile.am:
* components/services/summary/nautilus-summary-view.c:
(fetch_summary_data), (inventory_load_callback),
(redirect_fetch_callback):
Add rpm-dependant hooks into the inventory upload from the summary view
and the install view. This fixes bug 6186.
2001-02-24 Eskil Heyn Olsen <eskil@eazel.com>
review wanker: Arik The Intern
* helper-scripts/Makefile.am:
This should be better, hope it works
2001-02-23 Mike Fleming <mfleming@eazel.com>
reviewed by: Eskil Olsen <eskil@eazel.com>
Bug 6480: extranous history items due to redirects
Bug 6736: (as a side-effect) "throbber cuts out early because of redirects"
I ifdef'd out the busy cursor stuff since it seems to interact
poorly with Mozilla 0.8. Actually, even when I took it out, I still
saw a busy cursor at the wrong times.
changed many gtk_signal_connect_while_alive's to gtk_signal_connect's
per Darin feedback
Made some URI scheme comparisons case-insensitive, added FIXME
on remaining one
* components/mozilla/mozilla-events.cpp:
mozilla_events_get_href_for_event now gets href's from AREA tags
and form submits.
* components/mozilla/nautilus-mozilla-content-view.c:
(nautilus_mozilla_content_view_initialize),
(try_transform_nautilus_uri_to_file_scheme),
(view_load_location_callback), (mozilla_location_callback),
(mozilla_net_state_callback), (mozilla_link_message_callback),
(mozilla_dom_mouse_click_callback), (is_uri_relative),
(make_full_uri_from_relative), (uris_identical),
(string_list_get_index_of_string):
2001-02-23 Maciej Stachowiak <mjs@eazel.com>
reviewed by: John Harper <jsh@eazel.com>
Fix bug 6881 (Non-translated strings in services).
* components/services/summary/nautilus-summary-view.c:
(localize_items), (update_header), (update_footer),
(create_footer), (summary_load_location_callback): Call gettext on
the strings marked with N_.
* components/services/trilobite/libtrilobite/trilobite-file-utilities.c:
(trilobite_read_entire_file, read_file_succeeded): Realloc to
include an extra byte at the end to make it safe to NULL-terminate
the file contents if desired.
2001-02-23 Dan Mueth <dan@eazel.com>
reviewed by: Ian McKellar <ian@eazel.com>
Applied several build system bug fixes and updated
spec file.
* help/Makefile.am: Fix bug with broken rpm install: Added
docs.make and htmldocs.make to EXTRA_DIST
* help/docs.make: Have omf processed for install-data-am
* help/htmldocs.make: Have omf processed for install-data-am
* nautilus.spec.in: Added post install and post uninstall
calls to scrollkeeper-update. Added scrollkeeper as a
requirement, but commented out because it isn't in the
software map. Uncommented OMF file b/c bug fixes above
now install the OMF files properly.
2001-02-23 John Harper <jsh@eazel.com>
reviewed by: Maciej Stachowiak <mjs@eazel.com>
* src/nautilus-first-time-druid.c: updated the text for the
Medusa screen in the first time druid
2001-02-23 Robey Pointer <robey@eazel.com>
reviewed by: Eskil Heyn Olsen <eskil@eazel.com>
* components/services/install/idl/trilobite-eazel-install.idl:
Close dangling parentheses.
* components/services/install/lib/eazel-install-logic2.c:
(check_tree_helper), (check_feature_consistency):
* components/services/install/lib/eazel-install-object.c:
(eazel_install_set_debug):
* components/services/install/lib/eazel-package-system-rpm3.c:
(display_arguments):
Remove excess logging from the install, but add a final
package-tree dump at the end for double-checking logs.
* components/services/install/lib/eazel-install-problem.c:
(get_detailed_messages_breaks_foreach),
(get_detailed_messages_foreach), (get_detailed_cases_foreach):
Fix logging of file conflict problems.
* components/services/install/lib/eazel-install-xml-package-list.c:
(osd_parse_shared):
Don't log softcat db revision when it's not given.
* nautilus-installer/install-lib/Makefile.am:
* nautilus-installer/libtrilobite/Makefile.am:
* nautilus-installer/src/Makefile.am:
Use softlinks in the bootstrap installer fake directories, so that
coders can edit the files and still get clean builds.
* nautilus-installer/src/installer.c: (add_bullet_point_to_vbox),
(eazel_install_progress), (eazel_download_progress):
More sanity checks in the download progress, and fix up more text
to Vera standards.
2001-02-23 Arik Devens <arik@eazel.com>
reviewed by: Maciej Stachowiak <mjs@eazel.com>
* helper-scripts/Makefile.am: Added installing of my new helper
script to let users and testers restore their settings.
2001-02-23 John Harper <jsh@eazel.com>
reviewed by: Maciej Stachowiak <mjs@eazel.com>
Fixed bug 6932 (Nautilus Crashes with 'intermittent tree view
bug'):
* components/tree/nautilus-tree-view.c
(nautilus_tree_view_insert_model_node): don't call
nautilus_tree_view_find_parent_node () to find the parent view
node.
This can fail if the model has already removed the node we're
trying to add giving the `intermittent' assertion (since we run
in the idle handler, asynchronously to the model).
Instead just try to grab the parent of the node and find it's
view node directly. If either of these don't exist, the
usual unparented node logic will handle it
(nautilus_tree_view_find_parent_node): deleted this function
2001-02-23 Arik Devens <arik@eazel.com>
reviewed by: John Harper <jsh@eazel.com>
Fixed bug 6797, GConf errors after updating Nautilus, and removing
.gconf and .gconfd directories.
* helper-scripts/nautilus-restore-settings-to-default.sh: Initial
version of a script to let testers reset their preferences. The
script shutsdown nautilus and gconf then removes the .nautilus,
.gconf, and .gconfd directories. There are various other features
that can be added later.
2001-02-23 Arik Devens <arik@eazel.com>
reviewed by: John Harper <jsh@eazel.com>
Fixed bug 6847, if you delete the text in the homedir preference
by holding down the backspace key nautilus freezes and eventually
crashes.
* libnautilus-extensions/nautilus-preferences-item.c:
(text_item_changed_callback), (editable_string_changed_callback),
(integer_changed_callback), (nautilus_preferences_item_get_name),
(update_text_settings_at_idle),
(preferences_item_update_text_settings_at_idle),
(update_integer_settings_at_idle),
(preferences_item_update_integer_settings_at_idle): Added using
idle handlers to set preferences instead of setting the directly
on changed.
* libnautilus-extensions/nautilus-preferences.c:
(nautilus_preferences_set_integer), (nautilus_preferences_set):
Added checking whether the new value has changed from the current
value before setting it.
2001-02-23 Maciej Stachowiak <mjs@eazel.com>
reviewed by: Ian McKellar <ian@eazel.com>
Ubnbrkeak the build.
* components/services/inventory-view/nautilus-inventory-enable-page
.c: (nautilus_inventory_enable_page_destroy):
* components/services/inventory/eazel-inventory-upload-callback.c:
(eazel_inventory_upload_callback_initialize_class),
(eazel_inventory_upload_callback_initialize),
(eazel_inventory_upload_callback_destroy),
(eazel_inventory_upload_callback_new),
(impl_Trilobite_Eazel_InventoryUploadCallback_done_uploading),
(impl_Trilobite_Eazel_InventoryUploadCallback__destroy),
(impl_Trilobite_Eazel_InventoryUploadCallback__create):
* components/services/inventory/eazel-inventory-upload-callback.h:
2001-02-23 Maciej Stachowiak <mjs@eazel.com>
reviewed by: Ian McKellar <ian@eazel.com>
Fixed bug 6185 (Inventory collection and upload is slow, blocks UI)
* components/services/inventory-view/Makefile.am,
* components/services/inventory-view/nautilus-inventory-config-page.c,
* components/services/inventory-view/nautilus-inventory-config-page.h:
* components/services/inventory-view/nautilus-inventory-enable-page.c:
(nautilus_inventory_enable_page_initialize_class,
nautilus_inventory_enable_page_initialize,
nautilus_inventory_enable_page_new, callback,
nautilus_inventory_enable_page_run,
nautilus_inventory_enable_page_destroy):
* components/services/inventory-view/nautilus-inventory-enable-page.h:
* components/services/inventory-view/nautilus-inventory-view.c:
(nautilus_inventory_view_initialize,
inventory_load_location_callback):
* components/services/inventory/Makefile.am:
* components/services/inventory/eazel-inventory-client.c:
(callback, main):
* components/services/inventory/eazel-inventory-collect-hardware.c:
(eazel_inventory_collect_scsi):
* components/services/inventory/eazel-inventory-service-interface.idl:
* components/services/inventory/eazel-inventory-service.c:
(impl_Trilobite_Eazel_Inventory__get_enabled,
impl_Trilobite_Eazel_Inventory__set_enabled,
impl_Trilobite_Eazel_Inventory__get_machine_id,
impl_Trilobite_Eazel_Inventory_upload),
eazel_inventory_service_get_epv):
* libnautilus-extensions/nautilus-clickable-image.c: (label_enter),
(nautilus_clickable_image_set_up_pixbufs):
2001-02-21 Maciej Stachowiak <mjs@eazel.com>
pair programmed with: Ian McKellar <ian@eazel.com>
* components/services/inventory-view/nautilus-inventory-config-page.c,
components/services/inventory-view/nautilus-inventory-config-page.h:
Removed.
* components/services/inventory-view/nautilus-inventory-enable-page.h,
components/services/inventory-view/nautilus-inventory-enable-page.c:
This view will have enable and disable pages.
* components/services/inventory-view/nautilus-inventory-view.c
(nautilus_inventory_view_initialize,
inventory_load_location_callback): Now there are enable and
disable pages (the latter not yet implemented), no config page.
* components/services/inventory-view/Makefile.am: Add new files,
remove old files.
* components/services/inventory/eazel-inventory-client.c (main):
Adjust to new changes.
* components/services/inventory/eazel-inventory-collect-hardware.c
(eazel_inventory_collect_scsi): Fix for non-SCSI case.
* components/services/inventory/eazel-inventory-service-interface.idl:
Remove warn_before_upload attribute, make machine ID readonly
attribute (and rename from machine name).
* components/services/inventory/eazel-inventory-service.c:
(impl_Trilobite_Eazel_Inventory__get_machine_id,
impl_Trilobite_Eazel_Inventory_upload,
eazel_inventory_service_get_epv): get machine ID from ammonite;
remove dead methods.
* libnautilus-extensions/nautilus-clickable-image.c
(nautilus_clickable_image_set_up_pixbufs): Don't die if pixbuf is
NULL (which happens of a failed image load).
2001-02-23 Eric Fischer <eric@eazel.com>
reviewed by: Robin Slomkowski <rslomkow@eazel.com>
* configure.in:
Create nautilus-installer.spec; remove gibberish that I had
accidentally left in from testing.
* nautilus-installer.spec.in:
Create RPM of nautilus-installer separately from main nautilus RPM
* nautilus.spec.in:
Separate nautilus-installer from main nautilus build
2001-02-23 John Sullivan <sullivan@eazel.com>
reviewed by: Darin Adler <darin@eazel.com>
Fixed bug 6933 (Assertions & crash after renaming
open folder)
* libnautilus-extensions/nautilus-directory.c:
(nautilus_directory_moved): Added a missing
nautilus_file_ref in the code that runs when a
directory is renamed.
2001-02-23 Darin Adler <darin@eazel.com>
reviewed by: John Sullivan <sullivan@eazel.com>
Fixed bug 6738 (View as Web Page window closes if user follows bad
link). The shell was closing the window as part of its feature to
close windows when the underlying item is deleted.
* libnautilus-extensions/nautilus-file.h:
* libnautilus-extensions/nautilus-file.c:
(nautilus_file_is_not_yet_confirmed): Added new function so we can
tell a file that's never been seen from one that we already have
information about.
* src/nautilus-window-private.h:
* src/nautilus-window-manage-views.c:
(viewed_file_changed_callback): Keep track of whether we have ever
seen the file for real, and only close the window if it was here
before and is now gone, rather than if it was never there. This is
a roundabout way to fix the problem reported, but seems like a
nice rule in any case. Also added FIXMEs to some questionable code
I found here.
(update_for_new_location): Set up the variable that is used to
check if we have ever seen the file for real.
* src/nautilus-about.c: Formatting tweaks.
2001-02-23 Eric Fischer <eric@eazel.com>
reviewed by: Robin Slomkowski <rslomkow@eazel.com>
* nautilus.spec.in:
Spell out /usr/bin/*.sh (nautilus-clean.sh, nautilus-verify-rpm.sh)
to keep eazel-installer.sh from ending up in the main nautilus RPM
2001-02-23 Pavel Cisler <pavel@eazel.com>
reviewed by: Ramiro Estrugo <ramiro@eazel.com>
* src/file-manager/fm-directory-view.c:
(fm_directory_view_move_copy_items):
Special case activation of "command:" links, executing the
command and passing it uris.
* libnautilus-extensions/nautilus-drag.c:
(nautilus_drag_default_drop_action_for_icons):
Special case "command:" to always do a move.
2001-02-23 Eskil Heyn Olsen <eskil@eazel.com>
reviewed by: Robey Pointer <robey@eazel.com>
This patch removes the const on PackageData objects in the
callbacks. The const was needed back when the objects were new'ed
and deleted, but now that they're refcounted, the signalemitter in
eazel-install-corba-callback.c can just unref and the signal
handler can get a non-const object. And since the objects are
created on the fly, the signal handler can cause any harm.
* components/services/install/command-line/eazel-alt-install-corba.
c: (set_parameters_from_command_line), (tree_helper_helper),
(tree_helper), (something_failed), (eazel_preflight_check_signal),
(main):
Removed const of packagedata objects in handlers.
s/update/upgrade/
Added a GList** param too tree_helper to check for recursiveness.
* components/services/install/idl/trilobite-eazel-install.idl:
s/update/upgrade/
* components/services/install/lib/eazel-install-corba.c:
(impl_Eazel_Install__set_upgrade),
(impl_Eazel_Install__get_upgrade), (eazel_install_get_epv):
s/update/upgrade/
* components/services/install/lib/eazel-install-logic2.c:
(eazel_install_check_existing_packages), (get_softcat_info),
(check_tree_helper), (do_file_conflict_check), (execute),
(install_packages), (revert_transaction):
s/update/upgrade/
Removed const of packagedata objects in handlers.
If modifying a package which has an epoch set, set force to TRUE.
Fixed a bad boolean bug in get_info, where I did a & comparsion
and not a ==, which caused packages added due to conflicts to not
get dependency checked.
Correctly use service object upgrade/downgrade flags.
* components/services/install/lib/eazel-install-object.c:
(eazel_install_set_arg), (eazel_install_class_initialize),
(eazel_install_new_with_config), (eazel_install_install_packages):
s/update/upgrade/
* components/services/install/lib/eazel-install-problem.h:
* components/services/install/lib/eazel-install-problem.c:
(get_detailed_cases_foreach), (eazel_install_problem_tree_to_case),
(eazel_install_problem_handle_cases):
Fixed a g_message in the circular dep case.
Fixed constness of PackageData objects
* components/services/install/lib/eazel-install-public.h:
s/update/upgrade/
* components/services/install/lib/eazel-package-system-rpm3.c:
(eazel_package_system_rpm3_packagedata_fill_from_header),
(display_arguments):
One more time, the rpmlib(...) check
Fixed display_arguments truncation
* components/services/install/lib/eazel-package-system-types.c:
(packagedata_dump_int):
Nicer output of Epoch
* components/services/install/nautilus-view/callbacks.c:
(nautilus_service_install_failed):
* components/services/install/nautilus-view/callbacks.h:
* nautilus-installer/src/installer.c: (collect_failure_info),
(install_failed), (uninstall_failed), (eazel_installer_do_install),
(eazel_installer_initialize):
Removed const of packagedata objects in handlers.
s/update/upgrade/
2001-02-23 Ramiro Estrugo <ramiro@eazel.com>
reviewed by: Pavel Cisler <pavel@eazel.com>
* libnautilus-extensions/nautilus-smooth-text-layout.c:
(nautilus_smooth_text_layout_draw_to_pixbuf):
Ignore empty rectangles rather than asserting on them.
FIxes bug 6945.
2001-02-23 Gene Z. Ragan <gzr@eazel.com>
reviewed by: Darin Adler <darin@eazel.com>
Fixed bug 6931, "floppy" and "cdrom" in Disks menu
should be "Floppy" and "CD-ROM"
Fixed bug 5600, Desktop context menu "Disks" options
not translated
* libnautilus-extensions/nautilus-volume-monitor.c:
* libnautilus-extensions/nautilus-volume-monitor.h:
(nautilus_volume_monitor_initialize),
(nautilus_volume_monitor_destroy):
Create a hash table of readable names to represent the
less legible name that is present in /etc/fstab.
* src/file-manager/fm-desktop-icon-view.c:
(update_disks_menu):
Call new nautilus_volume_monitor_get_mount_name_for_display()
function to get a legible name for placement in the mount menu.
2001-02-23 John Sullivan <sullivan@eazel.com>
reviewed by: Gene Ragan <gzr@eazel.com>
More work on the never-ending 1 hour bug 3321
(Finalize items in Help menu).
* src/nautilus-shell-ui.xml:
Changed underscore accelerator for Nautilus User
Manual from N to M, since the N is needed for
Nautilus Release Notes; add Nautilus Release Notes;
add separator before Customer Support; remove all
ellipses.
* src/nautilus-window-menus.c:
* src/nautilus-window-menus.c:
(help_menu_nautilus_manual_callback),
(help_menu_nautilus_quick_reference_callback),
(help_menu_nautilus_release_notes_callback), (help_menu_support),
(help_menu_nautilus_feedback_callback),
(nautilus_window_initialize_menus): Add callback
for Nautilus Release Notes item (which doesn't work yet;
that's Dan's job). Also add #defines for the various help
menu URIs instead of hardcoding them in-line.
Other text tweaks:
* src/nautilus-property-browser.c:
(nautilus_property_browser_update_contents):
* src/nautilus-theme-selector.c:
(nautilus_theme_selector_initialize): Use initial caps style
on Add & Remove buttons here, per Vera.
2001-02-23 Arik Devens <arik@eazel.com>
reviewed by: John Sullivan <sullivan@eazel.com>
* src/nautilus-application.c: (nautilus_application_startup):
Rewriting of the "Reboot" dialog so as to also suggest trying
nautilus-clean.sh -x.
2001-02-23 Seth Nickell <seth@eazel.com>
reviewed by: Pavel Cisler <pavel@eazel.com>
* libnautilus-extensions/nautilus-volume-monitor.c:
Fixed use of #if so constant is set not just defined.
2001-02-23 Josh Barrow <josh@eazel.com>
reviewed by: <kenny@whitecape.org>
* src/nautilus-first-time-druid.c:
(nautilus_first_time_druid_show):
Change instance of "directory" to "folder". This fixes bug
6492.
2001-02-23 Darin Adler <darin@eazel.com>
reviewed by: J Shane Culpepper <pepper@eazel.com>
* src/file-manager/fm-desktop-icon-view.c:
(fm_desktop_icon_view_initialize): Fix some signal handlers that
were persisting after the desktop view itself was gone by using
gtk_signal_connect_while_alive.
2001-02-23 Ramiro Estrugo <ramiro@eazel.com>
reviewed by: Darin Adler <darin@eazel.com>
Bug fixes for regression introduced in my last checkin.
6926 - Line spacing of multi-line icon names is inconsistent & look
6923 - Underline of mouse over is to close to text on icons
* libnautilus-extensions/nautilus-smooth-text-layout.c:
(smooth_text_layout_clear_lines): Clear the total line height.
(smooth_text_layout_line_list_draw_to_pixbuf): Dont use the max
line height to place the glyph vertically. Use just the given y.
(smooth_text_layout_line_list_new_wrapped): Replace a string split
and strcpy operation with an iteration of the text. We need to do
this to catch empty lines. The string split function was
coalescing empty lines.
(smooth_text_layout_get_total_line_height),
(nautilus_smooth_text_layout_draw_to_pixbuf): Place the underline
rect right at the bottom edge of the glyph.
(nautilus_smooth_text_layout_get_dimensions): Add up the line
heights for the layout height. Dont use the max line height
because that make the line spacing look strange. If we had
working baseline support then this would be better. For now,
space the glyph using their heights.
Lose the max_line_height member and getter, no longer needed.
2001-02-23 Brian Frank <bfrank@eazel.com>
Updating default bookmarks for Nautilus 1.0.
* data/static_bookmarks.xml
2001-02-23 John Harper <jsh@eazel.com>
reviewed by: Darin Adler <darin@eazel.com>
Fixed bug 6915 (installer no longer has text):
* libnautilus-extensions/nautilus-druid-page-eazel.c
(nautilus_druid_page_eazel_configure_size): if the embedded
widget isn't a GtkEventBox, set the width and height of any
widget item to the size of the canvas less the widget origin
(This may be too restrictive, but I've verified that event
boxes don't need the size set whereas at least some other
widgets do - this may be related to whether they have their own
window or not, but I'm not sure, so it seems better to be
cautious. This at least lets both the first time druid and the
installer work correctly, and these are currently the only
users of this widget)
2001-02-23 Michael Engber <engber@eazel.com>
reviewed by: Darin Adler <darin@eazel.com>
* libnautilus-extensions/nautilus-icon-container.c: (destroy),
(nautilus_icon_container_start_renaming_selected_item),
(end_renaming_mode):
* libnautilus-extensions/nautilus-icon-text-item.c:
(iti_stop_editing), (iti_start_editing), (iti_destroy):
Keep the rename widget around so that it will continue to
work with the clipboard after the rename is over - bug 690.
2001-02-23 J Shane Culpepper <pepper@eazel.com>
reviewed by: vera@eazel.com
* components/mozilla/nautilus-mozilla-content-view.c:
(mozilla_new_window_callback):
Adding the new wording to the popup warning dialog.
2001-02-23 Ramiro Estrugo <ramiro@eazel.com>
reviewed by: John Sullivan <sullivan@eazel.com>
* components/image-viewer/nautilus-image-view.c: (main):
* components/music/main.c: (create_function), (main):
* components/text/main.c: (create_function), (main):
Fix bug 6922 - Make sure components setup gettext bindings. These
3 components had localized strings in them but did not setup
gettext.
2001-02-23 Seth Nickell <snickell@stanford.edu>
reviewed by: Pavel Císler <pavel@eazel.com>
patch from: Louise Miller <Louise.Miller@ireland.sun.com>
* libnautilus-extensions/nautilus-volume-monitor.c:
Use volrmmount on Solaris for dealing with such operations,
to get ejecting and properly unmounting removable volumes.
2001-02-23 Seth Nickell <snickell@stanford.edu>
reviewed by: J Shane Culpepper <pepper@eazel.com>
Fix problems with playing MP3s on Solaris due to our use of
Linux/x86-only code pillaged from mpg123. Continue pillaging
from mpg123 to grab their generic decoding code for use when
we are on non x86/Linux platforms.
* configure.in:
* components/music/Makefile.am:
Check if we are on x86 and only build x86 optimized music
components if we are. Otherwise use source & binary compatible
generic code.
* components/music/decode.c: (mpg123_synth_1to1_8bit),
(mpg123_synth_1to1_8bit_mono),
(mpg123_synth_1to1_8bit_mono2stereo), (mpg123_synth_1to1_mono),
(mpg123_synth_1to1_mono2stereo), (mpg123_synth_1to1):
Add decode.c as a generic replacement for decode_i386.c when
on non-x86 hardware (dct64.c was already there, just not used),
filched from mpg123 same as decode_i386.c.
* components/music/mpg123.h:
Add one #define to make decode.c happy.
Thanks to Niall for nailing this bug :-)
2001-02-23 Laszlo Kovacs <laszlo.kovacs@sun.com>
* components/help/hyperbola-filefmt.c
fixed bug 6866 - crash if the locale is set to NULL
2001-02-23 Ramiro Estrugo <ramiro@eazel.com>
reviewed by: Seth Nickel <seth@eazel.com>
* libnautilus-extensions/nautilus-labeled-image.c:
(nautilus_labeled_image_destroy):
Fix bug 6590 - Segmentation fault when enabling smooth graphics
while displaying background color chooser or emblems chooser.
The problem was that we were leaking the image and label widgets
of a labeled image. The leakage meant that the widgets were not
unregistered from the smooth widget machinery. This caused them
to be in limbo. Half dead, but still receiving smooth graphics
changed callbacks. They tried to respon to the callbacks, the
poor things.
2001-02-23 Laszlo Kovacs <laszlo.kovacs@sun.com>
* components/help/topleveldocs.xml:
Nautilus User's Guide added
2001-02-23 Laszlo Kovacs <laszlo.kovacs@sun.com>
* README:
Description about Scrollkeeper added.
* nautilus.spec.in:
$prefix/share/nautilus/components/hyperbola/*.xml added
2001-02-23 Robey Pointer <robey@eazel.com>
reviewed by: Mathieu Lacage <mathieu@gnome.org>
* components/rpmview/nautilus-rpm-view-private.h:
* components/rpmview/nautilus-rpm-view.c:
(nautilus_rpm_view_initialize), (file_activation_callback),
(fill_filename_tree_int), (fill_filename_tree):
Use NautilusCTree instead of GtkCTree. Get rid of the "go to"
button and just make a double-click do that. Get rid of the
leading / in directory names because it looked ugly, and add a top
"/" to match the tree view.
* libnautilus-extensions/nautilus-ctree.c:
(nautilus_ctree_class_init), (nautilus_ctree_button_press),
(row_delete), (real_tree_activate_row):
* libnautilus-extensions/nautilus-ctree.h:
Add a signal to be thrown when an item is "activated" (gets a
double-click).
2001-02-23 Ramiro Estrugo <ramiro@eazel.com>
reviewed by: Gene Z. Ragan <gzr@eazel.com>
* libnautilus-extensions/nautilus-smooth-text-layout.c:
(smooth_text_layout_line_list_draw_to_pixbuf):
Restore the underlinig code missing from last checkin.
Fri Feb 23 04:09:54 2001 George Lebl <jirka@5z.com>
Review sucker: Seth Nickel <seth@eazel.com>
* src/nautilus-view-frame.c (nautilus_view_frame_destroy)
(view_frame_failed_callback) (queue_view_frame_failed)
(attach_view): Avoid crashes by queueing the destruction of
the view into an idle from a "system_exception" signal, as
the exception could have come in the middle of gtk voodoo, and
destroying the object then would be bad juju.
2001-02-23 Ramiro Estrugo <ramiro@eazel.com>
reviewed by: Gene Z. Ragan <gzr@eazel.com>
* libnautilus-extensions/nautilus-icon-factory.c: (embed_text):
Update for smooth text layout changes.
2001-02-22 Ramiro Estrugo <ramiro@eazel.com>
reviewed by: Gene Z. Ragan <gzr@eazel.com>
Fix bugs:
2784 - NautilusScalableFont text clipping is broken.
2831 - Icon container redraw performance is poor in smooth mode.
Optimized this case some. Its still not as good as we
would like it to be. Thanks to the following changes, it
is possible to optimize it even more - by caching the
layouts of icons for example. We need to profile with the
new changes.
* libnautilus-extensions/Makefile.am:
* libnautilus-extensions/nautilus-icon-canvas-item.c:
(measure_label_text), (draw_or_measure_label_text_aa),
(draw_label_text_aa):
* libnautilus-extensions/nautilus-icon-factory.c: (embed_text):
Use NautilusSmoothTextLayout instead of NautilusTextLayout.
* libnautilus-extensions/nautilus-label.h:
* libnautilus-extensions/nautilus-label.c:
(nautilus_label_initialize_class), (nautilus_label_initialize),
(nautilus_label_destroy), (nautilus_label_set_arg),
(nautilus_label_get_arg), (nautilus_label_size_allocate),
(label_composite_pixbuf_callback), (label_get_text_dimensions),
(label_smooth_text_ensure), (label_smooth_text_clear),
(nautilus_label_set_smooth_font),
(nautilus_label_set_smooth_font_size),
(nautilus_label_set_is_smooth),
(nautilus_label_set_smooth_line_wrap_width),
(nautilus_label_set_smooth_drop_shadow_offset),
(nautilus_label_set_text), (nautilus_label_set_wrap),
(nautilus_label_new_solid), (nautilus_label_make_bold),
(nautilus_label_make_larger), (nautilus_label_make_smaller),
(nautilus_label_set_never_smooth):
Simplified. Use NautilusSmoothTextLayout to handle laying
out the text.
* libnautilus-extensions/nautilus-scalable-font.h:
* libnautilus-extensions/nautilus-scalable-font.c:
(nautilus_scalable_font_new),
(nautilus_scalable_font_measure_text),
(nautilus_scalable_font_draw_text),
(initialize_global_stuff_if_needed),
(nautilus_scalable_font_get_underline_height),
(nautilus_scalable_font_get_baseline):
Simplified. Use NautilusSmoothTextLayout. Remove no longer
needed functions.
* libnautilus-extensions/nautilus-smooth-text-layout.h:
* libnautilus-extensions/nautilus-smooth-text-layout.c:
New class to handle smooth text layout needs. Layout details are
private to make it easirt to fix bugs in the future.
* libnautilus-extensions/nautilus-text-layout.c:
* libnautilus-extensions/nautilus-text-layout.h:
Retire.
* test/.cvsignore:
* test/Makefile.am:
* test/test-nautilus-font-simple.c: (main):
* test/test-nautilus-font.c: (main):
* test/test-nautilus-glyph-simple.c: (glyph_new), (main):
* test/test-nautilus-label-simple.c: (main):
* test/test-nautilus-label-wrapped.c: (create_nautilus_label),
(main):
* test/test-nautilus-smooth-text-layout.c: (main):
New smooth text layout test. Update test for smooth layout changes.
2001-02-23 John Harper <jsh@eazel.com>
reviewed by: Arik Devens <arik@eazel.com>
More tweaks to fix bug 1796 (Design a better First Time
Walkthrough):
* src/nautilus-first-time-druid.c: don't update the user-level
preferences until immediately before exiting the druid - avoids
possibly making the anti-aliased titles non-anti-aliased
(set_up_update_feedback_page): put labels in hboxes to make
them flush with the left side of the container
(nautilus_first_time_druid_show): rearranged line breaks in
body text slightly. Changed icon packing parameters to put them
nearer to their ideal positions
2001-02-22 Arik Devens <arik@eazel.com>
reviewed by: Maciej Stachowiak <mjs@eazel.com>
* test/test-nautilus-viewport-constraint.c: (create_row), (main):
Updated so that it uses to vbox's to test each of the constrain
functions.
2001-02-22 Robey Pointer <robey@eazel.com>
reviewed by: Mike Fleming <mfleming@eazel.com?
* components/rpmview/nautilus-rpm-view-private.h:
* components/rpmview/nautilus-rpm-view.c:
(nautilus_rpm_view_initialize), (file_selection_callback),
(go_to_button_callback), (add_to_filename_tree),
(fill_filename_tree_int), (fill_filename_tree),
(filename_node_free), (nautilus_rpm_view_update_from_uri):
Change the file list into an exploding tree. Put the package
description inside a viewport with opportunistic scrollbars, so
that a long package description won't overwrite everything else.
* components/services/install/nautilus-view/callbacks.c:
(nautilus_service_install_done):
* components/services/install/nautilus-view/nautilus-service-instal
l-view.c: (nautilus_install_service_describe_menu_entry):
* nautilus-installer/src/installer.c:
* nautilus-installer/src/prescript:
Text changes from Vera.
* nautilus-installer/src/bootstrap-background.xpm:
* nautilus-installer/src/error-symbol.xpm:
Fix names in Arlo's new icons.
2001-02-22 John Harper <jsh@eazel.com>
reviewed by: Maciej Stachowiak <mjs@eazel.com>
Fixed bug 6764 (Double-clicking a folder with an already-open
window on another virtual desktop seems to do nothing):
* libnautilus-extensions/nautilus-gtk-extensions.c
(nautilus_gtk_window_present): ensure that the window is on the
current desktop
2001-02-22 Rebecca Schulman <rebecka@eazel.com>
Fix bugzilla.eazel.com bug 6290, that loading
a large directory in the list view hangs nautilus.
I've improved this aspect of performance, by
sending the files to the list view in small chunks,
rather than as a whole, so that the ui can
be responsive between the times we are updating the
entries, rather than having to wait for the whole thing
to load. I've avoided the problem of entries moving during
loading, by giving the list view the first 100 entries to
appear in the list, so the list fills up from top to bottom.
reviewed by: Pavel Cisler <pavel@eazel.com>
* src/file-manager/fm-directory-view.c:
(fm_directory_view_initialize_class),
(finish_displaying_pending_files), (display_pending_files),
(real_display_pending_files), (display_pending_timeout_callback),
(fm_directory_view_get_directory):
* src/file-manager/fm-directory-view.h:
Add display_pending_files as a method to the directory view.
Call it the method, and so the list view can override the
basic "give me all the files you have at once method" being
used in the directory view.
* src/file-manager/fm-list-view.c: (fm_list_view_initialize_class),
(fm_list_view_compare_rows), (fm_list_view_reveal_selection),
(g_list_split_off_first_n),
(fm_list_view_display_pending_files):
Add a display pending files method here that only sends the
first 100 items, and sorts the larger list.
* libnautilus-extensions/nautilus-glib-extensions.c:
(nautilus_g_list_sort_merge), (nautilus_g_list_is_already_sorted),
(nautilus_g_list_sort_custom), (compare_pointers),
(nautilus_g_lists_sort_and_check_for_intersection):
* libnautilus-extensions/nautilus-glib-extensions.h:
Add new sorting functions used by my changes, include
nautilus_g_list_sort_custom, which sorts a list using
a compare function that can also take data. This sort also
checks whether the list is sorted before beginning a merge
sort, which is a win for cases where you expect the list will
2001-02-22 Arlo Rose <arlo@eazel.com>
* nautilus-installer/src/error-symbol.xpm:
Last tweak... making the error symbol fit with
the new blue shade.
2001-02-22 Arik Devens <arik@eazel.com>
reviewed by: Maciej Stachowiak <mjs@eazel.com>
Fixed 6131, new NautilusLabel does not support proper line wrap.
* components/services/summary/nautilus-summary-view.c:
(summary_view_create_pane): Add setting of
nautilus_viewport_constrain_width to TRUE.
* libnautilus-extensions/nautilus-viewport.c:
(nautilus_viewport_initialize_class),
(nautilus_viewport_size_allocate),
(nautilus_viewport_get_is_smooth),
(nautilus_viewport_set_constrain_width),
(nautilus_viewport_get_constrain_width),
(nautilus_viewport_set_constrain_height),
(nautilus_viewport_get_constrain_height): Overrode the
size_allocate method of GtkViewport to add the options of
constraining the height or width of the viewports child to the
same size as the viewport.
* libnautilus-extensions/nautilus-viewport.h: Added function
prototypes.
* test/Makefile.am: Add building of a test case for the viewport
constraining.
2001-02-22 Arlo Rose <arlo@eazel.com>
* nautilus-installer/src/bootstrap-background.xpm:
Making the bootstrp installer look a little better.
2001-02-22 Eskil Heyn Olsen <eskil@eazel.com>
reviewed by: Robey Pointer <robey@eazel.com>
* components/services/install/lib/eazel-package-system-rpm3.c:
(eazel_package_system_rpm3_packagedata_fill_from_header):
Long the epoch in the right way.
* components/services/install/lib/eazel-package-system-types.c:
(packagedata_dump_int):
Display the epoch in the right way.
* nautilus-installer/src/installer.c: (collect_failure_info):
Const abuse to fix tinderbox build.
2001-02-22 Mike Fleming <mfleming@eazel.com>
reviewed by: <pavel@eazel.com>
* components/mozilla/nautilus-mozilla-content-view.c:
(view_load_location_callback), (eazel_services_scheme_to_http):
Bug 6810 -- Throbber keeps spinning on gnome-help URI's
The mozilla wrapper was confusing nautilus by trying to be too clever--
redirecting nauitilus while loading in mozilla. Now it just pumps
a new open_location request through nautilus.
Bug 6902 -- Ammonite URI's wouldn't work if you weren't logged in,
even if the specified user was "anonymous".
Rather than trying to use the real ammonite login stuff, which is async
and would be hard to integerate, just force the ammonite login dialog
to pop up by performing a gnome-vfs operation.
2001-02-22 Rebecca Schulman <rebecka@eazel.com>
Fix bug 6058, that opening a file with a default
application that cannot access a location (in the specific
case of the bug, eazel-services) should explain the problem,
and offer another application, rather than simply failing.
reviewed by: John Sullivan <sullivan@eazel.com>
* libnautilus-extensions/nautilus-program-choosing.h:
* libnautilus-extensions/nautilus-program-choosing.c:
(nautilus_choose_application_for_file),
(application_can_handle_uri), (application_cannot_open_location),
(nautilus_launch_application),
(launch_application_callback),
(launch_parameters_new),
(launch_parameters_free), (launch_application_callback):
Change nautilus_launch_application to take a NautilusFile rather
than a uri, so that we can find out whether other applications
are available for the location, using the mime type as well
as uri scheme. Change the dialogs that come up when an application
is not available for a particular location to explain more of what
we know. If another application is available to open the uri,
open the program chooser dialog.
* src/file-manager/fm-directory-view.c:
(application_launch_parameters_new),
(application_launch_parameters_free),
(fm_directory_view_launch_application),
(fm_directory_view_chose_application_callback), (choose_program),
(bonobo_launch_application_callback),
(add_application_to_bonobo_menu), (reset_bonobo_open_with_menu),
(activate_callback):
Change the parameters sent to nautilus_launch_application, and
so change data sent to callbacks used to later call
nautilus_launch_application
* src/nautilus-sidebar.c: (command_button_callback),
(nautilus_sidebar_chose_application_callback):
Call nautilus_launch_application with the new arguments
2001-02-22 John Sullivan <sullivan@eazel.com>
reviewed by: Pavel Cisler <pavel@eazel.com>
Fixed bug 5729 ("Copying" label in progress dialog can be
clipped if font is biggish)
Fixed bug 5741 (File progress dialog uses fixed font for
labels, slight clipping)
* libnautilus-extensions/nautilus-file-operations-progress.c:
Eliminated two hardwired widths; changed FIXME to comment for
the third, legitimate, one.
(set_text_unescaped_trimmed): Now uses nautilus_ellipsizing_label
instead of a fixed width.
(create_titled_label): Now use nautilus_ellipsizing_label and
puts title & label in a table (with Clark Gable)
(nautilus_file_operations_progress_initialize): Use table for
titles & labels so they can line up without a hardwired width,
set up spacings, change callers of create_titled_label.
(nautilus_file_operations_progress_new_file): Change callers
of set_text_unescaped_trimmed to not pass in a width.
Fixed bug 6872 (Wording suggetions for preferences)
* libnautilus-extensions/nautilus-global-preferences.c:
(global_preferences_install_descriptions),
(global_preferences_create_dialog),
(global_preferences_create_search_pane): A few more
wording tweaks in Preferences, some from Vera and some
from this bug report and Vera-approved
Fixed bug 6553 ("Where" in Properties Window is inconsistent)
* src/file-manager/fm-properties-window.c: (create_basic_page):
Changed "Where:" to "Location:" with Vera's approval.
2001-02-22 Pavel Cisler <pavel@eazel.com>
reviewed by: Gene Z. Ragan <gzr@eazel.com>
Fix 5540 Dragging a group of files in zoomed icon view has
strange effect
Fix 6461 Dropped icons in manual layout land at the wrong
coordinates at high zoom levels
Fix 6845 Dropping multiple icons from list view to icon view
piles them on top of each other
* libnautilus-extensions/nautilus-icon-dnd.c:
(create_selection_shadow),
(icon_get_data_binder):
Send outline rectangles for dragged icons off to a drag in a 100%
zoom level scale.
Scale outline rectangles in drag shadows using the scaling factor
for the target view.
* libnautilus-extensions/nautilus-list.h:
* libnautilus-extensions/nautilus-list.c:
(nautilus_list_get_cell_rectangle),
(draw_cell), (nautilus_list_clear_from_row),
(nautilus_list_set_drag_prelight_row),
Make the call public, change the callers to pass NautilusList.
* libnautilus-extensions/nautilus-list.c:
(nautilus_list_each_selected_row):
Add the row index parameter to the iteratee.
* libnautilus-extensions/nautilus-list.c:
(nautilus_list_get_initial_drag_offset):
Add a way to get the intial mouse drag offset.
* src/file-manager/fm-list-view.c: (row_get_data_binder),
(each_icon_get_data_binder):
Calculate outline rectangles for icons and pass them to the
drag&drop machinery.
* libnautilus-extensions/nautilus-list.c:
(nautilus_list_dnd_initialize):
Tweaks.
* libnautilus-extensions/nautilus-art-extensions.h:
* libnautilus-extensions/nautilus-art-extensions.c:
(nautilus_art_irect_offset_by), (nautilus_art_irect_offset_to),
(nautilus_art_irect_scale_by), (nautilus_art_irect_inset),
(nautilus_art_drect_offset_by), (nautilus_art_drect_offset_to),
(nautilus_art_irect_offset_by_point),
(nautilus_art_irect_offset_to_point),
(nautilus_art_drect_scale_by), (nautilus_art_drect_inset):
Add a few convenience calls.
2001-02-22 Eskil Heyn Olsen <eskil@eazel.com>
reviewed by: Robey Pointer <robey@eazel.com>
* components/services/install/command-line/eazel-alt-install-corba.
c: (something_failed), (install_failed), (uninstall_failed):
Fixed output of Problem/Actions.
* components/services/install/command-line/eazel-test-packsys.c:
(test_database_mtime), (test_package_load), (main):
Fixed a fatal free in test_database_mtime.
Output first package loaded.
Set the package load to be the first test.
* components/services/install/lib/eazel-install-logic2.c:
(prune_failed_packages_helper), (fail_modified_packages),
(get_softcat_info), (is_satisfied_from_package_list),
(check_dependencies_foreach), (check_for_no_more_missing_features),
(check_tree_helper), (execute), (install_packages),
(uninstall_packages):
If a package has suite_id set and no dependencies during pruning,
fail by setting to ALREADY_INSTALLED.
If a package update/downgrades and isn't allowed to, set modified
packages->status top CANCELLED.
Ifdeffed out some code to always fail gnome-libs (for testing)
Commented out some crack debug output (\t\t-->checking)
Changed a status = CANCELLED to CIRCULAR_DEPENDENCY.
Fixed bug 6811, need to find a possible test case.
Fixed indentation in a fucktion.
Added comments to the code that sets the infoblock for the
progress signals.
No longer set FORCE under any condition.
* components/services/install/lib/eazel-install-object.c:
(eazel_install_progress_signal):
Tried to fix the uninstall emits, but since bytesize is rarely
set...
* components/services/install/lib/eazel-install-private.h:
Added a newline...
* components/services/install/lib/eazel-install-problem.h:
Removed some consts.
* components/services/install/lib/eazel-install-problem.c:
(get_detailed_messages_breaks_foreach),
(get_detailed_messages_foreach),
(get_detailed_uninstall_messages_foreach), (compare_problem_case),
(add_force_install_both_case), (add_force_remove_case),
(add_remove_case), (add_update_case), (add_cascade_remove),
(get_detailed_cases_foreach),
(get_detailed_uninstall_cases_foreach),
(eazel_install_problem_case_to_string),
(eazel_install_problem_tree_to_case),
(eazel_install_problem_tree_to_string),
(build_categories_from_problem_list):
Eliminated the use of packagedata_copy
Fixed generation of strings for errors, won't report bogus
"already installed" cases.
* components/services/install/lib/eazel-install-protocols.c:
(gnome_vfs_xfer_callback), (eazel_install_fetch_package):
Fixed the extra download progress emission, which ocurred since
the off-by-1k gnome-vfs bug has been fixed.
Paranoia check to not download suite objects.
* components/services/install/lib/eazel-package-system-rpm3.c:
(eazel_package_system_rpm3_packagedata_fill_from_header):
Fixed the broken feature loading.
Added code to load epoch *sigh*
* components/services/install/lib/eazel-package-system-rpm4.c:
(eazel_package_system_rpm4_query_foreach):
Added handler for QUERY_REQUIRES_FEATURE query enum.
* components/services/install/lib/eazel-package-system-types.h:
* components/services/install/lib/eazel-package-system-types.c:
(packagedata_finalize), (packagedata_initialize),
(packagedata_list_copy), (packagedata_copy),
(packagedata_fill_in_missing),
(flatten_packagedata_dependency_tree), (packagedata_dump_int):
copy avoid duplicated objects in the new tree, fixes redundant
problemhandler output.
Flatten tree doesn't add suites.
Added obsoletes and epoch to packagedata
2001-02-22 John Harper <jsh@eazel.com>
reviewed by: George Lebl <jirka@5z.com>
Mostly fixed bug 1796 (Design a better First Time Walkthrough)
by implementing Arlo's new design:
* libnautilus-extensions/nautilus-druid-page-eazel.c: changed a
lot of the Druid text
(new_title_label, new_body_label): functions for creating the
two types of labels used in the druid. Title labels are always
anti-aliased in a hardcoded font, while body labels use the
user's font choice and are never anti-aliased
(set_up_service_signup_page): this page has been removed
(make_title_page_icon_box): function to create an hbox
containing the four icons displayed on the start page
Fixed bugs 5625 (Bottom line of "Select User Level" dialog is
out of view), 5901 (First-Time Druid dimensions hard-coded,
text can be truncated) and 6496 (First-time Druid window clips
some contents (with 100 dpi fonts)):
* libnautilus-extensions/nautilus-druid-page-eazel.c: hacked
this widget to scale correctly, the main change is _not_
setting the width and height of the canvas widget item, to
allow the normal size allocation mechanisms to work properly
[ there are still a few minor things to tweak, but this is the
bulk of the redesign done ]
Fixed bug 6412 (Add option to disable medusa in the first time
druid)
* src/nautilus-first-time-druid.c: added `Launch Medusa' page,
which is only displayed if the NAUTILUS_PREFERENCES_MEDUSA_BLOCKED
option isn't set.
Fix bug 6379 (Nautilus assumes http proxy is needed if
updates.tgz doesn't exist)
* src/nautilus-first-time-druid.c (download_callback): if
result is GNOME_VFS_ERROR_NOT_FOUND, just print a message that
there are no updates available, then continue as normal
(instead of assuming a proxy error, and going into the proxy
setup pane)
Fixed bug 6528 (More explanation needed for GMC transistion
stuff in the druid):
* src/nautilus-first-time-druid.c (set_up_gmc_transition_page):
added Vera's new text for this page of the druid
Fixed illogical behaviour of show-desktop option in druid (the
user's choice wasn't actually being applied, the saved value
was always being used):
* src/nautilus-first-time-druid.c (druid_finished): set
NAUTILUS_PREFERENCE_SHOW_DESKTOP from the `draw_desktop'
variable, not from `save_manage_desktop'
* src/nautilus-first-time-druid.c (set_up_gmc_transition_page):
don't default the `draw desktop' setting to true; instead set
it to the `save_manage_desktop' value. Also, only display the
`draw desktop' option when not in `beginner' mode
Fixed bug 3060 (Font names marked for translation need
comments):
* libnautilus-extensions/nautilus-icon-factory.c,
libnautilus-extensions/nautilus-gdk-font-extensions.c,
libnautilus-extensions/nautilus-druid-page-eazel.c,
src/nautilus-zoom-control.c, src/nautilus-first-time-druid.c:
added comments before localized fonts and font components
2001-02-22 Andy Hertzfeld <andy@eazel.com>
* components/text/services/google.xml:
* components/text/services/webster.xml:
fixed bug 6889, add eazel redirect to the text services.
Thu Feb 22 21:22:58 2001 George Lebl <jirka@5z.com>
reviewed by: Darin Adler <darin@eazel.com>
* src/nautilus-window-manage-views.c (change_selection)
(update_title) (load_new_location_in_sidebar_panels)
(stop_loading_cover): When traversing sidebar_panels and doing
things that could result in a sidebar_panels removal (failure),
copy the list first and then traverse the copy to avoid free list
corruption.
2001-02-22 John Harper <jsh@eazel.com>
reviewed by: Ramiro Estrugo <ramiro@eazel.com>
* libnautilus-extensions/nautilus-gtk-extensions.c
(nautilus_gtk_label_make_bold, nautilus_gtk_label_make_larger,
nautilus_gtk_label_make_smaller): call gtk_widget_ensure_style
() before trying to fetch the style
2001-02-22 Darin Adler <darin@eazel.com>
reviewed by: John Sullivan <sullivan@eazel.com>
Fix bug 6859 (GTK signal macros don't work in non-GCC compilers
for void return types).
* libnautilus-extensions/nautilus-gtk-macros.h:
Replaced old macros that accidentally relied on gccisms with
new ones that are portable to other compilers.
NAUTILUS_CALL_PARENT_CLASS is replaced by
NAUTILUS_CALL_PARENT
and NAUTILUS_CALL_PARENT_WITH_RETURN_VALUE.
NAUTILUS_CALL_VIRTUAL is replaced by
NAUTILUS_CALL_METHOD
and NAUTILUS_CALL_METHOD_WITH_RETURN_VALUE
* components/adapter/nautilus-adapter-control-embed-strategy.c:
(nautilus_adapter_control_embed_strategy_destroy):
* components/adapter/nautilus-adapter-embed-strategy.c:
(nautilus_adapter_embed_strategy_destroy),
(nautilus_adapter_embed_strategy_get_widget),
(nautilus_adapter_embed_strategy_get_zoomable):
* components/adapter/nautilus-adapter-embeddable-embed-strategy.c:
(nautilus_adapter_embeddable_embed_strategy_destroy):
* components/adapter/nautilus-adapter-factory-server.c:
(nautilus_adapter_factory_server_destroy):
* components/adapter/nautilus-adapter-file-load-strategy.c:
(nautilus_adapter_file_load_strategy_destroy):
* components/adapter/nautilus-adapter-load-strategy.c:
(nautilus_adapter_load_strategy_destroy),
(nautilus_adapter_load_strategy_load_location),
(nautilus_adapter_load_strategy_stop_loading):
* components/adapter/nautilus-adapter-progressive-load-strategy.c:
(nautilus_adapter_progressive_load_strategy_destroy):
* components/adapter/nautilus-adapter-stream-load-strategy.c:
(nautilus_adapter_stream_load_strategy_destroy):
* components/adapter/nautilus-adapter.c:
(nautilus_adapter_destroy):
* components/hardware/nautilus-hardware-view.c:
(nautilus_hardware_view_destroy):
* components/history/nautilus-history-view.c:
(nautilus_history_view_destroy):
* components/loser/content/nautilus-content-loser.c:
(nautilus_content_loser_destroy):
* components/loser/sidebar/nautilus-sidebar-loser.c:
(nautilus_sidebar_loser_destroy):
* components/music/nautilus-music-view.c:
(nautilus_music_view_destroy):
* components/rpmview/nautilus-rpm-verify-window.c:
(nautilus_rpm_verify_window_destroy):
* components/rpmview/nautilus-rpm-view.c:
(nautilus_rpm_view_destroy):
* components/sample/nautilus-sample-content-view.c:
(nautilus_sample_content_view_destroy):
* components/services/install/nautilus-view/nautilus-service-instal
l-view.c: (nautilus_service_install_view_destroy),
(nautilus_service_install_view_finalize):
* components/services/inventory-view/nautilus-inventory-config-page
.c: (nautilus_inventory_config_page_destroy):
* components/services/inventory-view/nautilus-inventory-view.c:
(nautilus_inventory_view_destroy):
* components/services/login/nautilus-view/nautilus-change-password-
view.c: (nautilus_change_password_view_destroy):
* components/services/nautilus-dependent-shared/eazel-services-foot
er.c: (footer_destroy):
* components/services/nautilus-dependent-shared/eazel-services-head
er.c: (header_destroy):
* components/services/summary/nautilus-summary-view.c:
(nautilus_summary_view_destroy):
* components/services/time/nautilus-view/trilobite-eazel-time-view.
c: (trilobite_eazel_time_view_destroy):
* components/text/nautilus-text-view.c:
(nautilus_text_view_destroy):
* components/throbber/nautilus-throbber.c:
(nautilus_throbber_destroy), (nautilus_throbber_map),
(nautilus_throbber_size_allocate):
* components/tree/nautilus-tree-change-queue.c:
(nautilus_tree_change_queue_destroy):
* components/tree/nautilus-tree-expansion-state.c:
(nautilus_tree_expansion_state_destroy):
* components/tree/nautilus-tree-model.c:
(nautilus_tree_model_destroy):
* components/tree/nautilus-tree-node.c:
(nautilus_tree_node_destroy):
* components/tree/nautilus-tree-view.c:
(nautilus_tree_view_destroy):
* help/nautilus-quick-reference/.cvsignore:
* help/nautilus-quick-reference/C/.cvsignore:
* libnautilus-extensions/nautilus-background-canvas-group.c:
(nautilus_background_canvas_group_update),
(nautilus_background_canvas_group_draw),
(nautilus_background_canvas_group_render):
* libnautilus-extensions/nautilus-background.c:
(nautilus_background_destroy):
* libnautilus-extensions/nautilus-bookmark.c:
(nautilus_bookmark_destroy):
* libnautilus-extensions/nautilus-caption.c:
(nautilus_caption_destroy), (nautilus_font_picker_show_all):
* libnautilus-extensions/nautilus-clickable-image.c:
(nautilus_clickable_image_destroy),
(nautilus_clickable_image_realize),
(nautilus_clickable_image_expose_event):
* libnautilus-extensions/nautilus-debug-drawing.c:
(debug_pixbuf_viewer_destroy):
* libnautilus-extensions/nautilus-directory-metafile-monitor.c:
(destroy):
* libnautilus-extensions/nautilus-directory.c:
(nautilus_directory_destroy),
(nautilus_directory_get_name_for_self_as_new_file),
(nautilus_directory_are_all_files_seen),
(nautilus_directory_contains_file),
(nautilus_directory_call_when_ready),
(nautilus_directory_cancel_callback),
(nautilus_directory_file_monitor_add),
(nautilus_directory_file_monitor_remove),
(nautilus_directory_force_reload),
(nautilus_directory_is_not_empty):
* libnautilus-extensions/nautilus-druid-page-eazel.c:
(nautilus_druid_page_eazel_destroy),
(nautilus_druid_page_eazel_finalize),
(nautilus_druid_page_eazel_size_allocate),
(nautilus_druid_page_eazel_size_request):
* libnautilus-extensions/nautilus-ellipsizing-label.c:
(real_size_request), (real_size_allocate), (real_style_set):
* libnautilus-extensions/nautilus-entry.c:
(nautilus_entry_destroy), (nautilus_entry_key_press),
(nautilus_entry_motion_notify), (nautilus_entry_set_selection),
(nautilus_entry_insert_text), (nautilus_entry_delete_text),
(nautilus_entry_selection_clear):
* libnautilus-extensions/nautilus-file.c: (destroy),
(nautilus_file_monitor_add), (nautilus_file_monitor_remove),
(nautilus_file_get_date), (nautilus_file_get_where_string),
(nautilus_file_get_directory_item_count),
(nautilus_file_get_deep_counts), (nautilus_file_get_file_type),
(nautilus_file_check_if_ready), (nautilus_file_call_when_ready),
(nautilus_file_cancel_call_when_ready):
* libnautilus-extensions/nautilus-font-factory.c: (destroy):
* libnautilus-extensions/nautilus-font-picker.c:
(nautilus_font_picker_destroy):
* libnautilus-extensions/nautilus-horizontal-splitter.c:
(nautilus_horizontal_splitter_destroy),
(nautilus_horizontal_splitter_button_press):
* libnautilus-extensions/nautilus-icon-canvas-item.c:
(nautilus_icon_canvas_item_destroy),
(nautilus_icon_canvas_item_update):
* libnautilus-extensions/nautilus-icon-container.c: (destroy),
(size_allocate), (realize), (unrealize), (button_press_event),
(button_release_event), (motion_notify_event), (key_press_event):
* libnautilus-extensions/nautilus-icon-factory.c:
(nautilus_icon_factory_destroy):
* libnautilus-extensions/nautilus-image-table.c:
(nautilus_image_table_destroy),
(nautilus_image_table_expose_event),
(nautilus_image_table_realize), (nautilus_image_table_unrealize),
(nautilus_image_table_remove):
* libnautilus-extensions/nautilus-image.c:
(nautilus_image_destroy):
* libnautilus-extensions/nautilus-keep-last-vertical-box.c:
(nautilus_keep_last_vertical_box_size_allocate):
* libnautilus-extensions/nautilus-label.c:
(nautilus_label_destroy), (nautilus_label_size_request),
(nautilus_label_size_allocate), (label_paint_pixbuf_callback):
* libnautilus-extensions/nautilus-labeled-image.c:
(nautilus_labeled_image_destroy):
* libnautilus-extensions/nautilus-list-column-title.c:
(nautilus_list_column_title_finalize):
* libnautilus-extensions/nautilus-list.c: (nautilus_list_destroy),
(nautilus_list_button_press), (nautilus_list_button_release),
(nautilus_list_key_press), (nautilus_list_style_set),
(nautilus_list_realize), (nautilus_list_unrealize), (draw_rows),
(draw_all), (nautilus_list_draw), (nautilus_list_expose),
(nautilus_list_resize_column), (nautilus_list_set_cell_contents),
(set_list_cell), (nautilus_list_track_new_column_width),
(nautilus_list_motion), (nautilus_list_clear), (insert_row):
* libnautilus-extensions/nautilus-merged-directory.c:
(merged_destroy):
* libnautilus-extensions/nautilus-metafile-factory.c: (destroy):
* libnautilus-extensions/nautilus-metafile.c: (destroy):
* libnautilus-extensions/nautilus-preferences-box.c:
(nautilus_preferences_box_destroy):
* libnautilus-extensions/nautilus-preferences-pane.c:
(nautilus_preferences_pane_destroy):
* libnautilus-extensions/nautilus-scalable-font.c:
(nautilus_scalable_font_destroy):
* libnautilus-extensions/nautilus-string-picker.c:
(nautilus_string_picker_destroy):
* libnautilus-extensions/nautilus-tabs.c: (nautilus_tabs_destroy):
* libnautilus-extensions/nautilus-text-caption.c:
(nautilus_text_caption_destroy):
* libnautilus-extensions/nautilus-trash-directory.c:
(trash_destroy):
* libnautilus-extensions/nautilus-trash-file.c: (trash_destroy):
* libnautilus-extensions/nautilus-undo-context.c: (destroy):
* libnautilus-extensions/nautilus-undo-manager.c: (destroy):
* libnautilus-extensions/nautilus-vfs-directory.c: (vfs_destroy):
* libnautilus-extensions/nautilus-vfs-file.c: (vfs_destroy):
* libnautilus-extensions/nautilus-viewport.c:
(nautilus_viewport_destroy), (nautilus_viewport_realize):
* libnautilus-extensions/nautilus-volume-monitor.c:
(nautilus_volume_monitor_destroy):
* libnautilus-extensions/nautilus-wrap-table.c:
(nautilus_wrap_table_destroy):
* libnautilus/nautilus-undo-transaction.c:
(nautilus_undo_transaction_destroy):
* libnautilus/nautilus-view.c: (nautilus_view_destroy):
* src/file-manager/fm-desktop-icon-view.c:
(fm_desktop_icon_view_destroy), (real_update_menus),
(real_merge_menus):
* src/file-manager/fm-directory-view.c:
(text_attribute_names_changed_callback),
(image_display_policy_changed_callback),
(directory_view_font_family_changed_callback),
(click_policy_changed_callback),
(smooth_graphics_mode_changed_callback),
(fm_directory_view_destroy),
(fm_directory_view_file_limit_reached),
(fm_directory_view_bump_zoom_level),
(fm_directory_view_zoom_to_level),
(fm_directory_view_restore_default_zoom_level),
(fm_directory_view_can_zoom_in), (fm_directory_view_can_zoom_out),
(fm_directory_view_get_background_widget),
(fm_directory_view_get_selection), (reveal_newly_added_folder),
(fm_directory_view_get_emblem_names_to_exclude),
(fm_directory_view_merge_menus), (fm_directory_view_select_all),
(fm_directory_view_set_selection),
(fm_directory_get_selected_icon_locations),
(fm_directory_view_reveal_selection),
(fm_directory_view_is_read_only), (fm_directory_view_is_empty),
(fm_directory_view_supports_creating_files),
(fm_directory_view_accepts_dragged_files),
(fm_directory_view_supports_properties),
(fm_directory_view_supports_zooming),
(fm_directory_view_update_menus):
* src/file-manager/fm-icon-view.c: (fm_icon_view_destroy),
(fm_icon_view_clean_up), (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),
(fm_icon_view_get_directory_tighter_layout),
(fm_icon_view_set_directory_tighter_layout),
(fm_icon_view_supports_auto_layout),
(fm_icon_view_start_renaming_item), (fm_icon_view_merge_menus),
(fm_icon_view_update_menus):
* src/file-manager/fm-list-view.c: (fm_list_view_adding_file),
(fm_list_view_removing_file), (fm_list_view_file_still_belongs),
(get_number_of_columns), (get_link_column),
(get_default_sort_attribute), (get_column_specification):
* src/file-manager/fm-properties-window.c: (real_shutdown),
(real_destroy), (real_finalize):
* src/file-manager/fm-search-list-view.c: (real_destroy),
(real_add_file), (real_adding_file), (real_removing_file),
(real_merge_menus), (real_update_menus):
* src/nautilus-about.c: (nautilus_about_destroy):
* src/nautilus-application.c: (nautilus_application_destroy),
(nautilus_application_startup):
* src/nautilus-complex-search-bar.c:
(nautilus_complex_search_bar_destroy):
* src/nautilus-desktop-window.c: (destroy), (realize):
* src/nautilus-location-bar.c: (destroy):
* src/nautilus-navigation-bar.c:
(nautilus_navigation_bar_get_location),
(nautilus_navigation_bar_set_location):
* src/nautilus-property-browser.c:
(nautilus_property_browser_destroy):
* src/nautilus-search-bar-criterion.c:
(nautilus_search_bar_criterion_destroy):
* src/nautilus-shell.c: (destroy):
* src/nautilus-sidebar-tabs.c: (nautilus_sidebar_tabs_destroy),
(nautilus_sidebar_tabs_size_allocate):
* src/nautilus-sidebar-title.c: (nautilus_sidebar_title_destroy),
(nautilus_sidebar_title_size_allocate):
* src/nautilus-sidebar.c: (nautilus_sidebar_destroy),
(nautilus_sidebar_size_allocate), (nautilus_sidebar_realize):
* src/nautilus-simple-search-bar.c:
(nautilus_simple_search_bar_destroy):
* src/nautilus-switchable-navigation-bar.c:
(nautilus_switchable_navigation_bar_destroy):
* src/nautilus-switchable-search-bar.c:
(nautilus_switchable_search_bar_destroy):
* src/nautilus-theme-selector.c: (nautilus_theme_selector_destroy):
* src/nautilus-view-frame.c: (nautilus_view_frame_destroy),
(nautilus_view_frame_finalize), (nautilus_view_frame_map):
* src/nautilus-window.c: (nautilus_window_destroy),
(nautilus_window_realize), (nautilus_window_size_request),
(nautilus_window_add_current_location_to_history_list),
(nautilus_window_show):
* src/nautilus-zoom-control.c: (nautilus_zoom_control_destroy),
(nautilus_zoom_control_size_allocate):
Use the macros by their new names.
* RENAMING: Updated for some name changes and name change ideas.
* user-guide/C/.cvsignore:
* user-guide/C/html/.cvsignore:
* user-guide/C/img/.cvsignore:
* user-guide/C/sgml/.cvsignore:
Added missing cvsignores.
2001-02-22 J Shane Culpepper <pepper@eazel.com>
* components/help/test-help-method.c: (main):
Adding newline to make my compiler happy.
2001-02-22 Arik Devens <arik@eazel.com>
reviewed by: Darin Adler <darin@eazel.com>
Fixed bug 6391, nautilus crashes on certain strings set as home
dir preference. This is actually only half the fix, for the "\"
char i am waiting on pavel's input.
* libnautilus-extensions/nautilus-entry.c:
(nautilus_entry_initialize), (nautilus_entry_key_press): Removed
tilde expand code.
* libnautilus-extensions/nautilus-entry.h: Removed tilde_expand
gboolean.
* libnautilus-extensions/nautilus-preferences-item.c:
(preferences_item_create_editable_string): Cleanup to use
NAUTILUS_PREFERENCES_HOME_URI instead of "preferences/home_uri" as
per ramiro's advice.
* libnautilus-extensions/nautilus-text-caption.c:
(nautilus_text_caption_initialize), (entry_key_press_callback),
(nautilus_text_caption_set_expand_tilde): Added tilde_expand code
to the text-caption for use in the preferences dialog. Much
smarter tilde code, should handle any corner case (at least any i
could think of).
* src/nautilus-location-bar.c: (try_to_expand_path),
(editable_key_press_callback), (nautilus_location_bar_initialize):
Added handling of the ~/ case directly to the location bar instead
of going through the NautilusEntry.
2001-02-22 John Harper <jsh@eazel.com>
reviewed by: Darin Adler <darin@eazel.com>
Partially fixed bug 6863 (tree view slow to load):
* libnautilus-extensions/nautilus-ctree.c (set_node_info):
don't sort each node in auto-sort mode
(nautilus_ctree_set_node_info): sort each node in auto-sort
mode, but use the function that only sorts a single node, not
the entire branch
* components/tree/nautilus-tree-view.c
(nautilus_tree_view_insert_model_node): temporarily turn off
auto-sort mode while inserting nodes (do this by twiddling the
bit by hand, since the function to set this flag automatically
sorts the tree)
2001-02-22 Mike Fleming <mfleming@eazel.com>
Bug 6761: promote html help uris in the {gnome-,g,}help
uri scheme to point to sgml files if they exist
* components/help/Makefile.am:
* components/help/help-method.c: (string_ends_in),
(strdup_string_to_substring_end), (check_sgml_promotion),
(help_name_to_local_path), (transform_file), (help_do_transform):
* components/help/test-help-method.c: (test_failed),
(strcmp_tolerate_nulls), (test_uri_transform), (main):
2001-02-22 Robey Pointer <robey@eazel.com>
reviewed by: Eskil Heyn Olsen <eskil@eazel.com>
* components/services/install/lib/eazel-install-corba-callback.c:
(impl_install_failed), (impl_uninstall_failed):
Change direct casts to GtkObject-style casts.
* components/services/install/nautilus-view/forms.c:
(make_query_box):
Vera'fy the installer text.
* nautilus-installer/install-lib/Makefile.am:
* nautilus-installer/src/Makefile.am:
* nautilus-installer/src/create-eazel-installer.sh:
Cause installer to be built with -g -O2, and to notice a debug
build and not strip the binary.
* nautilus-installer/src/installer.c: (report_unusual_errors),
(install_failed), (uninstall_failed), (download_failed),
(install_done):
* nautilus-installer/src/installer.h:
Remove crufted error-tree parsing code (install lib does this for
us now). Notice when any install or download fails, and treat
that as an overall failure, even if install_done is called with
success = TRUE.
* nautilus-installer/src/main.c: (segv_handler), (main):
Catch more signals, but only in debug mode.
* nautilus-installer/src/package-tree.c:
Remove references to nonexistent icons.
2001-02-22 Ian McKellar <ian@eazel.com>
reviewed by: Eskil Heyn Olsen <eskil@eazel.com>
* components/services/install/command-line/eazel-test-packsys.c:
(test_database_mtime), (main):
* components/services/install/lib/eazel-package-system-dpkg.c:
(load_package_callback), (query_callback),
(eazel_package_system_dpkg_query),
(eazel_package_system_dpkg_install),
(eazel_package_system_dpkg_compare_version),
(eazel_package_system_dpkg_database_mtime),
(eazel_package_system_implementation):
* components/services/install/lib/eazel-package-system-private.h:
* components/services/install/lib/eazel-package-system-rpm3-private
.h:
* components/services/install/lib/eazel-package-system-rpm3.c:
(eazel_package_system_rpm3_database_mtime),
(eazel_package_system_implementation):
* components/services/install/lib/eazel-package-system-rpm4.c:
(eazel_package_system_implementation):
* components/services/install/lib/eazel-package-system-skeleton.c:
(eazel_package_system_skeleton_compare_version):
* components/services/install/lib/eazel-package-system.c:
(eazel_package_system_database_mtime):
* components/services/install/lib/eazel-package-system.h:
Added a function to retrieve the package database modification time.
* components/services/inventory/eazel-inventory-collect-hardware.c:
(eazel_inventory_collect_scsi), (eazel_inventory_collect_hardware):
Cleanups, fixes...
* components/services/inventory/eazel-inventory-utils.c:
(get_software_inventory), (eazel_create_configuration_metafile):
Cache the software inventory (because the RPM query is slow).
* user-guide/C/Makefile.am:
Build fix for systems without scrollkeeper.
2001-02-22 Mike Fleming <mfleming@eazel.com>
Embedded Mozilla User Agent string "Nautilus/1.0PR3" -> "Nautilus/1.0Final"
Trilobite version "0.2.0" -> "0.3.0" (so Trilobite user agent string
is now "Trilobite/0.3.0"
* components/mozilla/nautilus-mozilla-content-view.c:
(post_widget_initialize):
* components/services/trilobite/libtrilobite/Makefile.am:
2001-02-22 J Shane Culpepper <pepper@eazel.com>
reviewed by: Pavel Cisler <pavel@eazel.com>
* components/mozilla/Makefile.am:
* components/mozilla/nautilus-mozilla-content-view.c:
(nautilus_mozilla_content_view_initialize),
(mozilla_title_changed_callback), (mozilla_js_status_callback),
(mozilla_get_containing_window), (mozilla_new_window_callback):
Catch mozilla or javascript trying to open a new window and
post a nautilus warning dialog that they are not supported.
Fix for bug #3058. Still needs better a worded warning message.
2001-02-22 Andy Hertzfeld <andy@eazel.com>
fixed bug 6312, information about translation in the about box,
by adding a localizable string that is displayed in the lower
left of the about box if it's changed from the default.
fixed bug 6708, support link in help menu, by changing the uri to
the real one we want to ship with, that currently points to a
placeholder page. Also, due to popular demand, renamed it back
to "Support".
* src/nautilus-about.c: (nautilus_about_new),
(nautilus_about_draw_info):
added a translators parameter, and used it to draw the translators
credits if present.
* src/nautilus-about.h:
added translator parameter to nautilus_about_new
* src/nautilus-shell-ui.xml:
changed menu name to "support"
* src/nautilus-window-menus.c: (help_menu_about_nautilus_callback),
(help_menu_support), (nautilus_window_initialize_menus):
renamed verb to support, changed link to point to intended support site.
2001-02-22 Michael Engber <engber@eazel.com>
reviewed by: Pavel Cisler <pavel@eazel.com>
* components/notes/nautilus-notes.c:
(on_text_field_focus_out_event), (make_notes_view):
Save notes on focus out - bug 6851.
2001-02-22 Robin * Slomkowski <rslomkow@eazel.com>
reviewed by: Eric Fischer <eric@eazel.com>
* nautilus.spec.in: updated text in refrence to BUG 6853
2001-02-22 John Sullivan <sullivan@eazel.com>
reviewed by: Darin Adler <darin@eazel.com>
Fixed bug 3321 (Finalize contents of Help menu for 1.0).
Actually there's still an open issue about the Customer
Service item, which I've left in for now.
* src/nautilus-shell-ui.xml: Added Quick Reference, removed
License, put About last after a separator.
* src/nautilus-window-menus.c:
(help_menu_nautilus_quick_reference_callback): New callback.
(help_menu_nautilus_license_callback): Removed this.
(nautilus_window_initialize_menus): Install callback for
Quick Reference, remove for License.
Also removed the space from "tool bar" everywhere, per the
final decision of Vera & Rhoda. I grepped and replaced
everywhere for "tool bar", "Tool Bar", "TOOL_BAR", and
"tool_bar".
* components/loser/content/nautilus-content-loser-ui.xml:
* components/loser/sidebar/nautilus-sidebar-loser-ui.xml:
* components/mozilla/bonobo-extensions.c:
* components/sample/nautilus-sample-content-view-ui.xml:
* libnautilus-extensions/nautilus-bonobo-extensions.c:
* libnautilus-extensions/nautilus-global-preferences.c:
(global_preferences_install_descriptions),
(global_preferences_install_defaults),
(global_preferences_install_visibility),
(global_preferences_create_dialog):
* libnautilus-extensions/nautilus-global-preferences.h:
* src/nautilus-service-ui.xml:
* src/nautilus-shell-ui.xml:
* src/nautilus-window-menus.c:
(view_menu_show_hide_toolbar_callback),
(nautilus_window_update_show_hide_menu_items),
(help_menu_nautilus_quick_reference_callback),
(nautilus_window_initialize_menus):
* src/nautilus-window-toolbars.c: (set_up_special_bonobo_button),
(set_up_toolbar_images), (theme_changed_callback),
(set_up_back_or_forward_toolbar_item),
(nautilus_window_initialize_toolbars):
* src/nautilus-window.c: (nautilus_window_constructed),
(nautilus_window_hide_toolbar), (nautilus_window_show_toolbar),
(nautilus_window_toolbar_showing), (nautilus_window_show):
* src/nautilus-window.h:
Made toolbar one word.
2001-02-22 Seth Nickell <seth@eazel.com>
reviewed by: Ramiro Estrugo <ramiro@eazel.com>
* libnautilus-extensions/nautilus-volume-monitor.c:
Fix performance issue on Solaris by not rescanning through the
mounttable to discover if a volume is removable, etc, but
rather extracting all relevant attributes in a single pass.
2001-02-22 Ramiro Estrugo <ramiro@eazel.com>
reviewed by: Maciej Stachowiak <mjs@eazel.com>
* components/mozilla/nautilus-mozilla-encoding-tables.c:
No need to have 2 strings. Use an array of just one string.
* components/mozilla/nautilus-mozilla-content-view.c:
(mozilla_view_create_charset_encoding_submenu):
Replace assertion with a more robust check for NULL.
reviewed by: Seth Nickell <seth@eazel.com>
* applets/preferences-applet/nautilus-preferences-applet.c:
(quit_nautilus_button_clicked_callback),
(start_nautilus_button_clicked_callback),
(restart_nautilus_button_clicked_callback),
(exit_button_clicked_callback), (main):
Add a exit button for the applet itself. Renamed nautilus remote
callbacks to be clearer.
* libnautilus-extensions/nautilus-art-extensions.h:
* libnautilus-extensions/nautilus-art-extensions.c:
(nautilus_art_irect_is_valid),
(nautilus_self_check_art_extensions): New functions and tests for
checking whether a rectangle is valid.
* libnautilus-extensions/nautilus-glyph.h: Use int instead
of guint everywhere.
* libnautilus-extensions/nautilus-glyph.c: (nautilus_glyph_new),
(nautilus_glyph_free), (glyph_get_width_space_safe): New functions
to get dimensions that work with glyphs that are just empty space.
(glyph_get_height_space_safe), (nautilus_glyph_get_width),
(nautilus_glyph_get_height), (nautilus_glyph_get_dimensions): Make
these work with empty spaces.
(glyph_is_valid), (nautilus_glyph_draw_to_pixbuf): Use libart rgba
functions instead of doing our own alpha blending. Allow for
rendering glyphs with just blank spaces (noop). Remove debug code.
(nautilus_glyph_intersect): New function to intersect a glyph at
some coordinates with a rectangle.
* test/test-nautilus-glyph-simple.c: (main):
* test/test-nautilus-glyph.c: (glyph_new), (main):
* test/test.c: (test_pixbuf_draw_rectangle_tiled):
More glyph tests.
2001-02-22 Dan Mueth <dan@eazel.com>
reviewed by: Ramiro Estrugo <ramiro@eazel.com>
* nautilus.spec.in: Commenting out offensive line.
I'm not sure where the breakage is now. Hopefully
I can track it down tomorrow and uncomment this.
2001-02-22 Ramiro Estrugo <ramiro@eazel.com>
reviewed by: Maciej Stachowiak <mjs@eazel.com> (Post Mortem)
Fix bug 6824 - Mozilla component charset encodings are not translated.
* components/mozilla/Makefile.am:
Add new encoding tables sources. Add GNOMELOCALEDIR define to
make gettext happy.
* components/mozilla/main.c: (main):
Add gettext binding setup.
* components/mozilla/nautilus-mozilla-content-view.c:
(mozilla_view_create_charset_encoding_submenu):
Use the translated strings for menu labels.
* components/mozilla/nautilus-mozilla-embed-extensions.h:
* components/mozilla/nautilus-mozilla-embed-extensions.cpp:
Simplified by using an stl vector instead of a GList. Moved the
encoding tables to their own place. Added functions for
obtaining the encoding titles and encoding groups as translated
strings.
* components/mozilla/nautilus-mozilla-encoding-tables.h:
* components/mozilla/nautilus-mozilla-encoding-tables.c:
Moved the encoding tables to their own place.
2001-02-22 Seth Nickell <seth@eazel.com>
reviewed by: Gene Z. Ragan <gzr@eazel.com>
* acconfig.h:
* configure.in:
Add various mount system checks.
* libnautilus-extensions/nautilus-cdrom-extensions.h:
Only do particular #defines for ioctl stuff if the system
doesn't already define them.
* libnautilus-extensions/nautilus-volume-monitor.c:
Add Solaris compatible changes to the volume monitor, making
it build and function properly on Solaris.
2001-02-22 Gene Z. Ragan <gzr@eazel.com>
reviewed by: Pavel Cisler <pavel@eazel.com>
Fixed bug 5681, Services icon on desktop may need
better icon and text
* src/nautilus-first-time-druid.c: (druid_finished):
Change link icon to display hand.png
2001-02-22 Dan Mueth <dan@eazel.com>
reviewed by: Pavel Cisler <pavel@eazel.com>
Generally, I removed old cruft, added COPYING-DOCS, added
a new HTML doc (nautilus-quick-reference), and updated
the build stuff and spec file as necessary.
* COPYING-DOCS: This is the GNU FDL, similar to COPYING. It
should be installed with all modules with FDL'd docs.
* Makefile.am: Added COPYING-DOCS to EXTRA_DIST
* configure.in: Added nautilus-quick-reference
* help/Makefile.am: Added nautilus-quick-reference
* help/htmldocs.make: Created this file. This is the makefile
to suck in for html docs. Be sure to use index.html as
your primary HTML file and put PNG images into figures/
This stuff is Vera's new Nautilus Quick Reference doc in HTML
format. <vera@eazel.com> I purposefully left out two screenshots
with the Eazel logo in them.
* help/nautilus-quick-reference/C/Makefile.am: added
* help/nautilus-quick-reference/C/figures/colors_small.png: added
* help/nautilus-quick-reference/C/figures/emblems_small.png: added
* help/nautilus-quick-reference/C/figures/ff_small.png:
* help/nautilus-quick-reference/C/figures/find_small.png:
* help/nautilus-quick-reference/C/figures/locbar_small.png:
* help/nautilus-quick-reference/C/figures/menubar_small.png:
* help/nautilus-quick-reference/C/figures/music_small.png:
* help/nautilus-quick-reference/C/figures/sidebar_small.png:
* help/nautilus-quick-reference/C/figures/softcat.png:
* help/nautilus-quick-reference/C/figures/storage.png:
* help/nautilus-quick-reference/C/figures/themes_small.png:
* help/nautilus-quick-reference/C/index.html:
* help/nautilus-quick-reference/C/nautilus-quick-reference-C.omf:
* help/nautilus-quick-reference/Makefile.am:
* help/nautilus-user-manual/C/nautilus-user-manual-C.omf: Updated
* nautilus.spec.in: Added OMF files, Quick Ref, and COPYING-DOCS
Removed this old stuff:
* user-guide/C/Makefile.am:
* user-guide/C/html/license.html:
* user-guide/C/img/custicon.png:
* user-guide/C/img/full.png: removed
* user-guide/C/img/locbar.png:
* user-guide/C/img/player.png:
* user-guide/C/img/prefmenu.png:
* user-guide/C/img/sidebar.png:
* user-guide/C/img/viewmenu.png:
* user-guide/C/nautilus-C.omf:
* user-guide/C/sgml/nautilus.sgml:
Added this notice so people don't add stuff in user-guide/
* user-guide/NOTICE:
2001-02-22 Gene Z. Ragan <gzr@eazel.com>
reviewed by: Pavel Cisler <pavel@eazel.com>
Fixed bug 4907, Can't drag from Nautilus to Netscape
Fixed bug 5334, Can't drag file from Nautilus into
Netscape's attachment window
Fixed bug 6563, Drag & Drop of files with non-alphanumeric
characters broken
* libnautilus-extensions/nautilus-drag.c:
(add_one_netscape_url_list):
Make sure that only one item is added to the return
value. Netscape is only expecting one item and fails
if more than one item is in the list.
(nautilus_drag_drag_data_get):
Rename add_one_url_list to add_one_netscape_url_list
(add_one_path_list):
Return a path, not a URI.
2001-02-22 Arlo Rose <arlo@eazel.com>
* icons/hand.png:
* icons/hand.svg:
Added hand.png, deleted hand.svg
Thu Feb 22 04:13:13 2001 George Lebl <jirka@5z.com>
Approval sucker: Maciej <mjs@eazel.com>
* components/help/converters/gnome-man2html2/gnome-man2html.c
(scan_request): Fix bug #3334, by handling the ".' " troff request.
* libnautilus-extensions/nautilus-directory-async.c
(nautilus_directory_async_state_changed): the unref could be
the last one, so don't access the directory afterwards.
2001-02-22 Arlo Rose <arlo@eazel.com>
* icons/Makefile.am:
* icons/hand-72.png:
* icons/hand-96.png:
Trying to make the service icons consistent in Nautilus.
Next stop, toolbar!
2001-02-22 Robey Pointer <robey@eazel.com>
reviewed by: Stephane Miller <stephane@eazel.com>
* components/services/install/command-line/eazel-alt-install-corba.
c: (set_parameters_from_command_line), (main):
Remove eazel-install's restrictions on doing an upgrade and
downgrade at the same time, since it's perfectly capable of doing
that (covering all bases) and it's useful to labs.
2001-02-22 Arlo Rose <arlo@eazel.com>
* icons/druid_header.png:
* icons/druid_header_stretch.png:
* icons/druid_sidebar.png:
Tweaked images in druid to use my 3D logo, and
blue shades rather than teal.
2001-02-21 Ramiro Estrugo <ramiro@eazel.com>
reviewed by: Rebecca Schulman <rebecka@eazel.com>
* libnautilus-extensions/nautilus-global-preferences.c:
(global_preferences_create_dialog),
(global_preferences_medusa_blocked_changed_callback),
(global_preferences_create_search_pane),
(global_preferences_medusa_state_changed_callback),
(global_preferences_install_medusa_defaults):
Fix bug 6415 - Change what appears in the medusa preference when
medusa becomes blocked.
Also made the default and actual value of the MEDUSA_BLOCKED be
correct. The boolean value was inverted.
* libnautilus-extensions/nautilus-medusa-support.c:
(nautilus_medusa_blocked): Call medusa to find out if its blocked.
2001-02-21 Darin Adler <darin@eazel.com>
reviewed by: Mike Engber <engber@eazel.com>
Fixed bug 6839 (Nautilus crashes with a segmentation fault when
clicking Edit->Nautilus Themes).
* src/nautilus-theme-selector.c:
(get_theme_description_and_display_name): Make a bad URI be
non-fatal (not really needed for bug fix).
(populate_list_with_themes): Pass the URI for the URI parameter,
not the local path.
Other stuff.
* src/nautilus-sidebar.c: (nautilus_sidebar_update_buttons): Added
a FIXME to some questionable code.
2001-02-21 John Harper <jsh@eazel.com>
* src/file-manager/fm-directory-view.c (activate_callback):
deleted unused action_type variable
2001-02-21 John Harper <jsh@eazel.com>
reviewed by: Darin Adler <darin@eazel.com>
Fixed bug I introduced in my last sorting change (sort order
was incorrect when nodes are first inserted):
* components/tree/nautilus-tree-view-private.h: added an
`inserting_node' flag field to the view details. This is used
to tell the sorting comparison function when the nodes it's
trying to sort haven't yet been fully initialized
* components/tree/nautilus-tree-view.c
(nautilus_tree_view_insert_model_node): set the inserting_node
flag around the call to nautilus_ctree_insert_node (). After
the node is fully initialized, call
nautilus_ctree_sort_single_node ()
(ctree_compare_rows): when `inserting_node' is set, bail out
with a nonsense value
* libnautilus-extensions/nautilus-ctree.h,
libnautilus-extensions/nautilus-ctree.c: reverted the change to
insert_node
(nautilus_ctree_sort_single_node): new function, reorders a
given node, but no others
2001-02-21 Darin Adler <darin@eazel.com>
reviewed by: Pavel Cisler <pavel@eazel.com>
Fix bug 6286 (get 3 directory loads instead of 1 when you activate
file in directory view [as opposed to typing location]). This is
mostly right, but there's still a relatively common case where we
get a 2nd directory load. I'll have to write a bug report about
that case, but it's no worse than before and quite a bit better.
* src/file-manager/fm-directory-view.c:
(fm_directory_view_destroy): Stop monitoring. Also change the old
monitoring code to use different "client" pointers so multiple
monitors don't interfere with each other.
(activate_callback): Stop monitoring when we get to the point of
actually activating (unless we are opening through the shell).
Also do some small cleanup to "command:" handling code and fix
minor storage leak.
(cancel_activate_callback): Stop monitoring if we cancel.
(fm_directory_view_activate_file): Start monitoring so the load
can be shared between all who need it. This is the same
optimization done at the shell level.
(load_directory): Use the new client pointer approach so multiple
monitors don't interfere with each other.
(finish_loading): Use the new client pointer approach so multiple
monitors don't interfere with each other.
(disconnect_model_handlers): Use the new client pointer approach
so multiple monitors don't interfere with each other.
(monitor_file_for_open_with): Use the new client pointer approach
so multiple monitors don't interfere with each other.
(monitor_file_for_activation): New function that monitors the
file list so we don't get multiple directory loads.
Fix tests now that gnome-vfs has a fix for bug 6798 (URI functions
don't always treat domain names as case-insensitive) and fix bug
6799 (nautilus_uris_match_ignore_fragments gives wrong result for
URIs with trailing "/" characters).
* libnautilus-extensions/nautilus-file-utilities.h:
* libnautilus-extensions/nautilus-file-utilities.c:
(nautilus_make_uri_canonical_strip_fragment): New function.
(uris_match): Use new function to handle fragments better.
(nautilus_self_check_file_utilities): Update checks to
expect fixes in gnome-vfs and here. Note that both bugs
6798 and 6799 are now fixed.
* help/.cvsignore:
* help/nautilus-user-manual/.cvsignore:
* help/nautilus-user-manual/C/.cvsignore:
* omf-install/.cvsignore:
Ignore generated files in some new directories.
2001-02-21 Michael Engber <engber@eazel.com>
reviewed by: Darin Adler <darin@eazel.com>
* src/file-manager/fm-properties-window.c: (set_icon_callback):
Property window now stores a uri (as opposed to a path) in
metadata for custom icons - bug 6841.
2001-02-21 Michael Engber <engber@eazel.com>
reviewed by: Darin Adler <darin@eazel.com>
John Sullivan <sullivan@eazel.com>
* libnautilus-extensions/Makefile.am:
* libnautilus-extensions/nautilus-directory-metafile-monitor.h:
* libnautilus-extensions/nautilus-directory-metafile-monitor.c:
(nautilus_metafile_monitor_initialize_class),
(nautilus_metafile_monitor_get_epv),
(nautilus_metafile_monitor_get_vepv),
(nautilus_metafile_monitor_create_servant),
(nautilus_metafile_monitor_initialize), (destroy),
(nautilus_metafile_monitor_new), (corba_metafile_changed):
Added implementation of monitors for directories to recieve
notification when their metadata changes. This works across
processes.
* libnautilus-extensions/nautilus-directory.c:
(nautilus_directory_destroy),
(nautilus_directory_emit_change_signals):
* libnautilus-extensions/nautilus-directory-private.h:
* libnautilus-extensions/nautilus-directory-async.c:
(metafile_read_mark_done), (metafile_read_start),
(nautilus_directory_monitor_add_internal),
(update_metadata_monitors),
(nautilus_directory_monitor_remove_internal),
(nautilus_directory_call_when_ready_internal),
(nautilus_directory_cancel_callback_internal),
(nautilus_async_destroying_file), (request_is_satisfied),
(call_ready_callbacks):
The state machine now uses monitors in the metadata server
process.
* libnautilus-extensions/nautilus-directory-metafile.c:
(get_metafile), (nautilus_directory_is_metadata_read),
(nautilus_directory_get_file_metadata),
(nautilus_directory_get_file_metadata_list),
(nautilus_directory_set_file_metadata),
(nautilus_directory_set_file_metadata_list),
(nautilus_directory_set_boolean_file_metadata),
(nautilus_directory_set_integer_file_metadata),
(nautilus_directory_copy_file_metadata),
(nautilus_directory_remove_file_metadata),
(nautilus_directory_rename_file_metadata),
(nautilus_directory_register_metadata_monitor),
(nautilus_directory_unregister_metadata_monitor):
* libnautilus-extensions/nautilus-directory-metafile.h:
-new calls for registering/unregistering monitors
-Metadata setters no longer return booleans.
-misc cleanup of CORBA exception code (or lack thereof)
* libnautilus-extensions/nautilus-file-private.h:
* libnautilus-extensions/nautilus-file.c:
(nautilus_file_is_self_owned), (destroy),
(nautilus_file_get_parent_uri), (get_file_for_parent_directory),
(nautilus_file_can_rename), (nautilus_file_get_gnome_vfs_uri),
(rename_callback), (nautilus_file_rename),
(nautilus_file_set_directory), (get_metadata_name),
(nautilus_file_set_metadata), (nautilus_file_set_metadata_list),
(nautilus_file_set_boolean_metadata),
(nautilus_file_set_integer_metadata), (nautilus_file_get_uri),
(nautilus_file_mark_gone), (nautilus_file_changed):
-exposed (& renamed) is_self_owned in the private header.
-metadata setters no longer emit changes (it's done by the server)
* libnautilus-extensions/nautilus-metafile-server.idl:
-metafile_changed now is passed a list of file names
* libnautilus-extensions/nautilus-metafile.c:
(nautilus_metafile_get_epv), (destroy), (corba_is_read),
(corba_get), (corba_get_list), (corba_set), (corba_set_list),
(corba_copy), (corba_remove), (corba_rename), (find_monitor_node),
(corba_register_monitor), (corba_unregister_monitor),
(call_metatfile_changed), (file_list_filler_ghfunc),
(call_metafile_changed_for_all_files_mentioned_in_metafile),
(call_metatfile_changed_for_one_file):
* libnautilus-extensions/nautilus-metafile.h:
- metafile setters now emit changes and do not return boolean values
- added call_metafile_changed_for_all_files_mentioned_in_metafile
* libnautilus-extensions/nautilus-stock-dialogs.c:
(timed_wait_callback):
Un-canelable timed wait dialogs now have an ok button
which dismisses them.
* libnautilus-extensions/nautilus-trash-directory.c:
(find_directory_start):
Slightly clarified the text in the infamous searching for text dialog.
2001-02-21 John Harper <jsh@eazel.com>
reviewed by: Darin Adler <darin@eazel.com>
Fixed bug 6828 (Moving directories in tree view makes contents
become top-level nodes):
* components/tree/nautilus-tree-node.h,
components/tree/nautilus-tree-node.c,
components/tree/nautilus-tree-node-private.h
(nautilus_tree_node_update_uri): new private function, updates
the node's cached URI from its NautilusFile and updates the new
is_toplevel flag
(nautilus_tree_node_is_toplevel): new function, returns true if
the node shouldn't have a parent node
* components/tree/nautilus-tree-model.c: track nodes that have
no parent but aren't top-level nodes. If suitable parents later
appear the unparented nodes will be connected to them
* components/tree/nautilus-tree-view.c,
components/tree/nautilus-tree-view-private.h: do similar
tracking of unparented nodes (but from the point of view of the
view, not the model)
[ Having both modules duplicate this similar functionality
isn't ideal, but I don't see how to unify it ]
Fixed bug 6820 (directory sort order is different in tree
view):
* components/tree/nautilus-tree-view.c (ctree_compare_rows):
new function, set as the comparison function for tree views.
It calls nautilus_file_compare_for_sort () on the files
associated with the tree rows (with hardcoded type
NAUTILUS_FILE_SORT_BY_NAME for now)
* libnautilus-extensions/nautilus-ctree.c
(nautilus_ctree_insert_node): for sorted insertions, link the
inserted node into the tree before finding the correct place,
then move it afterwards. This ensures that the comparison
function is able to find the node pointers from the row
pointers that it's given
2001-02-21 Rebecca Schulman <rebecka@eazel.com>
Remove the "backup unindexed search" preference for 1.0, which is
bugzilla.eazel.com bug 6775. We will not be doing backup
searches, and with Ramiro's help redo preference changes more
cleanly, and to be more compatible with his preference changes.
reviewed by: Ramiro Estrugo <ramiro@eazel.com>
* libnautilus-extensions/nautilus-global-preferences.c:
(global_preferences_install_descriptions),
(global_preferences_install_defaults),
(global_preferences_install_visibility),
(global_preferences_create_dialog),
(global_preferences_install_home_location_defaults),
(global_preferences_use_fast_search_changed_callback),
(global_preferences_medusa_state_changed_callback),
(global_preferences_install_medusa_defaults):
* libnautilus-extensions/nautilus-global-preferences.h:
Remove the old BACKUP_SEARCH preference, and add functions
to install medusa preference defaults, and to synchronize
the gconf value of the preference with the system configuration
file used by medusa.
* libnautilus-extensions/nautilus-preferences.c:
(nautilus_preferences_set_boolean),
(nautilus_preferences_get_boolean):
Remove old system preferences calls
* libnautilus-extensions/Makefile.am:
* libnautilus-extensions/nautilus-system-preferences.c:
* libnautilus-extensions/nautilus-system-preferences.h:
Remove these
* libnautilus-extensions/nautilus-medusa-support.c:
(nautilus_medusa_services_have_been_enabled_by_user),
(nautilus_medusa_blocked), (nautilus_medusa_enable_services),
(nautilus_medusa_add_system_state_changed_callback):
* libnautilus-extensions/nautilus-medusa-support.h:
Add this file to hide potentially ifdef'd out medusa
code.
* src/file-manager/fm-search-list-view.c: (load_location_callback):
* src/nautilus-complex-search-bar.c:
(nautilus_complex_search_bar_get_location):
Remove logic related to the BACKUP_SEARCH feature.
2001-02-21 Robin * Slomkowski <rslomkow@eazel.com>
* nautilus.spec.in: moved documentation to
%{prefix}/share/gnome/help/nautilus-user-manual/C/*
and added gnugpl dir BUG 6837
2001-02-21 Gene Z. Ragan <gzr@eazel.com>
reviewed by: John Sullivan <sullivan@eazel.com>
Fixed bug 6465, Music view buttons stretch for songs
with very long titles.
* components/music/nautilus-music-view.c: (add_play_controls),
(nautilus_music_view_set_album_image):
Change the way that the play controls are added to the pack box
so that they do not expand in strange ways or change their position
when a custom image is added.
2001-02-21 Darin Adler <darin@eazel.com>
reviewed by: Mike Fleming <mfleming@eazel.com>
Busted the Tinderbox again! (Another attempt to fix it.)
* libnautilus-extensions/nautilus-file-utilities.c:
(nautilus_self_check_file_utilities): Changed the tests
to match reality.
* configure.in:
* user-guide/Makefile.am:
Turned the user guide off again. Dan explained that this
is what he meant to do (I got it wrong).
2001-02-21 Eric Fischer <eric@eazel.com>
* nautilus-installer/install-lib/Makefile.am:
Use ln to make links into the real install/lib directory;
add header file prerequisites
* nautilus-installer/libtrilobite/Makefile.am:
Use ln to make links into the real libtrilobite directory;
fix header file prerequisites
* nautilus.spec.in:
Again, try to build the installer in tinderbox. With luck,
it'll actually work this time.
2001-02-21 Darin Adler <darin@eazel.com>
reviewed by: Pavel Cisler <pavel@eazel.com>
An attempt to fix the Tinderbox.
* user-guide/Makefile.am: Add C subdir.
Other changes.
* libnautilus-extensions/nautilus-file-utilities.c:
(nautilus_format_uri_for_display): Simplify to take advantage of
the new gnome_vfs_get_local_path_from_uri, which rejects paths
that have "#" characters in them.
(nautilus_self_check_file_utilities): Add more test cases for
host names that are case sensitive.
* omf-install/.cvsignore: Ignore generated files in this new
directory.
2001-02-21 Laszlo Kovacs <laszlo.kovacs@sun.com>
* components/help/Makefile.am
enabling Scrollkeeper to be the default help system
2001-02-21 Ramiro Estrugo <ramiro@eazel.com>
* README: Clarify the Mozilla version requirements.
2001-02-21 John Fleck <jfleck@inkstain.net>
* components/help/converters/gnome-db2html2/sect-preparse.c
add a test to gloss_term_append - if a glossentry has not id (a
special case, but one that does on occasion occur) bail out of the
function without trying to add it to the hash of glossentries
fixes bug #6511
2001-02-20 Maciej Stachowiak <mjs@eazel.com>
reviewed by: Ian McKellar <ian@eazel.com>
* components/services/summary/eazel-summary-shared.c
(parse_service), (parse_eazel_news_item),
(parse_update_news_item),
(build_services_glist_from_xml),
(build_eazel_news_glist_from_xml),
(build_update_news_glist_from_xml): Make this more robust against
unusual data from the server. In particular, if the SERVICES list
or other lists are emtpy, do not crash.
2001-02-21 Andy Hertzfeld <andy@eazel.com>
fixed bug 5939, margins in text icons are weirdly proportioned.
Fixed by distinguishing the rectangles for the anti-aliased and
non-aa icon types
* icons/i-regular.xml:
added and tweaked both aa and non-aa text rectangles
* libnautilus-extensions/nautilus-icon-factory.c:
(get_themed_icon_file_path):
get a separate text rectangle for anti-aliased mode if present
fixed bug 6708, Change "support" link in menus, by moving and
renamed the "support" item from the services menu to the help menu.
This bug isn't finished yet, since we still have to rename the
support uri, but it isn't ready on the service yet.
* src/nautilus-service-ui.xml:
removed support item
* src/nautilus-shell-ui.xml:
added customer service item
* src/nautilus-window-menus.c: (help_menu_customer_service),
(nautilus_window_initialize_menus):
added code to handle the customer service command
* src/nautilus-window-service-ui.c:
(nautilus_window_install_service_ui):
removed callback for the support command
2001-02-21 Dan Mueth <dan@eazel.com>
reviewed by: Mike Fleming <mfleming@eazel.com>
The old help tree, "user-guide/*", was broken in several ways.
It assumed there was only one doc, called "user-guide", whereas
we have multiple docs. Plus it had odd subdirectories which
are unusual and we don't want to use. Plus the convention is
to put all docs in a directory called "help" (modelled after
$prefix/gnome/help) and figures in a subdir called "figures".
So, I'm creating a new tree for this called "help" and installing
the latest version of Vera's Nautilus User Manual with
screenshots. I also added a nifty makefile, help/docs.make,
which we will use for all the SGML docs and translations
to keep things tidy and working with low maintenance.
* Makefile.am: Including help/
* configure.in: Including help/ and subdirs
* help/Makefile.am: added
* help/docs.make: added nifty makefile to be used by all
SGML docs and translations of SGML docs
* help/nautilus-user-manual/C/Makefile.am: added
* help/nautilus-user-manual/C/figures/custicon.png: added
* help/nautilus-user-manual/C/figures/full.png: added
* help/nautilus-user-manual/C/figures/link.png: added
* help/nautilus-user-manual/C/figures/locbar.png: added
* help/nautilus-user-manual/C/figures/noread.png: added
* help/nautilus-user-manual/C/figures/nowrite.png: added
* help/nautilus-user-manual/C/figures/part.png: added
* help/nautilus-user-manual/C/figures/player.png: added
* help/nautilus-user-manual/C/figures/prefmenu.png: added
* help/nautilus-user-manual/C/figures/sidebar.png: added
* help/nautilus-user-manual/C/figures/viewmenu.png: added
* help/nautilus-user-manual/C/figures/viewmusic.png: added
* help/nautilus-user-manual/C/nautilus-user-manual-C.omf: added
* help/nautilus-user-manual/C/nautilus-user-manual.sgml: added
* help/nautilus-user-manual/Makefile.am: added
* user-guide/Makefile.am: turned off old user guide installation
2001-02-21 Robey Pointer <robey@eazel.com>
* components/services/install/nautilus-view/callbacks.c:
(nautilus_service_install_download_progress):
Workaround possible redundant 100% progress callback.
2001-02-21 Pavel Cisler <pavel@eazel.com>
* components/help/help-method.c:
Fix broken build - add the right includes that got dropped by
GnomeVFS header file shuffle.
2001-02-20 John Harper <jsh@eazel.com>
reviewed by Maciej Stachowiak <mjs@eazel.com>
Fixed bug where a renamed node in the tree view doesn't get
resorted:
* libnautilus-extensions/nautilus-ctree.c (set_node_info): if
the ctree is in auto-sort mode, sort the branch containing the
changed node
Fixed a crash in the tree view when expanding nodes that have
been moved across directories:
* components/tree/nautilus-tree-node.c
(nautilus_tree_node_remove_children): new function, unparents
all children of the given node
(nautilus_tree_node_destroy): emit a warning if the list of
children is non-null (then call remove_children). Ideally the
remove_children function should get called before the final
unref of a directory node
* components/tree/nautilus-tree-model.c
(report_node_removed_internal): call
nautilus_tree_node_remove_children before unref'ing the node
Mostly fixed bug where expansion state hash table accumulates
cruft over time (e.g. directories that no longer exist or got
moved to locations where they can never be displayed):
* components/tree/nautilus-tree-view.h
(NautilusTreeViewDetails): added `view_node_to_uri_map' hash
table. This is used to map view nodes to the URIs we believe
they are displaying. This is necessary since by the time we
find out about changes to nodes, the names of the underlying
NautilusFile objects have often already been changed
* components/tree/nautilus-tree-view.c
(unlink_view_node_from_uri, link_view_node_with_uri,
map_view_node_to_uri): functions accessing the new hash table
(nautilus_tree_view_would_include_file): new function, returns
true iff the given file may possibly appear in the tree view.
Climbs through all parents of the file to do this
(nautilus_tree_view_model_node_renamed_callback): only
propagates the expansion state if the would_include function
indicates that the new URI of the file would be included in the
tree view
* components/tree/nautilus-tree-model.c (report_node_changed):
no need to suppress the `node_removed' signal when renaming the
node (now that the view always deletes the expansion state of
the correct URI)
* libnautilus-extensions/nautilus-file.c,
libnautilus-extensions/nautilus-file-private.h,
libnautilus-extensions/nautilus-file-utilities.c,
libnautilus-extensions/nautilus-file-utilities.h
(nautilus_file_name_matches_hidden_pattern,
nautilus_file_name_matches_backup_pattern): moved these
functions from being private in nautilus-file to being public
in nautilus-file-utilities
Fixed tree view bug where moving nodes across directories still
loses the expansion state:
* components/tree/nautilus-tree-model.c
(nautilus_tree_model_directory_files_changed_callback):
separated the cases of the file being deleted and it being
moved across directories. In the move case emit the
`being_renamed' signal so the expansion state gets propagated
(nautilus_tree_view_remove_model_node, forget_view_node): moved
the code to delete the expansion state from forget_view_node to
nautilus_tree_view_remove_model_node - avoids deleting
expansion state of nodes that will later be renamed. It may
leave non-existent directories in the expansion state, but this
is a lesser bug than losing the expansion state totally. Also,
use the map_view_node_to_uri function to find the URI whose
expansion state needs to be removed
Fixed the bug where tree view icons often got chopped at top
and bottom when they're drawn (if the icon height is greater
than the font height). This means that fewer rows may fit in
the same vertical space, but visually it's (imho) a huge
improvement (I think this is bug 6085):
* components/tree/nautilus-tree-view.c
(nautilus_tree_view_initialize): call gtk_clist_set_row_height
with the maximum of the font height and the icon height
* libnautilus-extensions/nautilus-ctree.c (draw_row): always
calculate row_center_offset locally, and do it in such a way
that the text really is in the center of the row!
Fixed bug 5165 - repeatedly expanding and collapsing an empty
directory doesn't change how the node's icon is drawn after the
first expansion:
* libnautilus-extensions/nautilus-ctree.c (real_tree_expand,
real_tree_collapse): before returning, call tree_draw_node on
the node that changed state
2001-02-20 Robey Pointer <robey@eazel.com>
* components/services/install/nautilus-view/Makefile.am:
* components/services/install/nautilus-view/callbacks.c:
* components/services/install/nautilus-view/callbacks.h:
* components/services/install/nautilus-view/forms.c:
* components/services/install/nautilus-view/forms.h:
Added callbacks.[ch] and forms.[ch] to split the ridiculously huge
install view into smaller, more managable chunks.
* components/services/install/nautilus-view/main.c: (quit_timer),
(service_install_object_destroyed):
* components/services/install/nautilus-view/nautilus-service-instal
l-view.c: (deps_destroy_foreach),
(nautilus_service_install_view_destroy),
(nautilus_service_install_view_finalize),
(nautilus_service_install_view_initialize_class),
(nautilus_service_install_view_initialize),
(nautilus_service_install_view_update_from_uri_finish),
(service_install_stop_loading_callback):
* components/services/install/nautilus-view/nautilus-service-instal
l-view.h:
Turn the preflight dialog into a question asked inline. Do some
wacky hoop-jumping so that we do the right thing if the user
leaves our view while we're waiting for a button press. Turn off
some of the distractions (progress bar, etc) while waiting for
info and feedback.
2001-02-20 Andy Hertzfeld <andy@eazel.com>
* libnautilus-extensions/nautilus-tabs.c: (draw_tab_label):
fixed bug 6804, resizing sidebar crashes summary view. Fixed by
adding a check to not draw the label when it's position is past
the right edge of the pixbuf.
2001-02-20 Eskil Heyn Olsen <eskil@eazel.com>
reviewed in part by: Robey Pointer <robey@eazel.com>
This patch fixes bug 6458, 5722, 6602, 6788 and 5826.
Removed soft_depends from PacakgeData.
This has some major changes in the logic, and (taaadaa) is fairly
untestet because of the sorry state of the testservers these
days. This will most likely no longer work with
services.eazel.com, but only with the newest server code.
* components/rpmview/nautilus-rpm-view-install.c:
(get_detailed_errors_foreach), (get_detailed_errors):
Fixed to parse PackageBreaks objects.
* components/services/install/lib/eazel-install-logic2.c:
(dump_tree_helper), (prune_failed_packages_helper),
(eazel_install_check_existing_packages), (get_softcat_info),
(is_satisfied), (is_satisfied_from_package_list),
(is_satisfied_features), (check_dependencies_foreach),
(check_dependencies), (check_tree_helper),
(check_no_two_packages_has_same_file),
(check_conflicts_against_already_installed_packages),
(check_feature_consistency), (do_file_conflict_check),
(do_dep_check_internal), (download_packages),
(get_packages_with_mod_flag), (eazel_uninstall_upward_traverse),
(eazel_uninstall_check_for_install), (eazel_uninstall_globber),
(install_packages), (uninstall_packages):
Ouput status in the tree dump.
Improved the way I fail ALREADY_INSTALLED packages.
Check the new package system error field in check_existing.
Get_info don't check for fillflag to decide if softcat success was
ok, since suites don't get the fillflag.
Don't try and dedupe suite objects.
Mark packages already installed with same version as CANCELLED.
If a ALREADYINSTALLED package is cancelled due to install options
(upgrade/downgrade), set a data field called "cancelled" to
represent.
Added a (currently not fully functional) check to see if a
dependency is solved by the current work set (bug 6809).
is_satisfied now uses is_satisfied_from_packages before checking
if dependency is installed.
Modified check_dependencies_foreach to pass around the package
list.
No longer do dependency check on cancelled packages (bug 6485).
Don't package depcheck packages with suite_id, treat it's contents
at comming toplevel packages.
Output crack sentence when trying to revice PackageFeatureMissing
breaks (file bug 6811)
Don't file uniqueness or file conflict check suites.
Fixed a bug in the feature_consistency, required a new query enum
in eazelpackagesystem query call.
Spewed out some comments.
Always add children of a suite to K.
Check download status (bug 5722)
Commented out expand_package_suites.
get_packages_with_mod_flag can now parse down into ->depends.
Nicyfied debug output.
* components/services/install/lib/eazel-install-protocols.c:
(gnome_vfs_xfer_callback), (gnome_vfs_fetch_remote_file),
(eazel_install_fetch_package):
No longer use rpmvercmp.
Define flag to make all downloads fail (to test failed downloads).
Note when VFS is lying about bytes_copied.
Removed some ancient code.
* components/services/install/lib/eazel-install-xml-package-list.c:
(parse_package), (eazel_install_packagedata_to_xml_int):
Removed soft_depends.
* components/services/install/lib/eazel-package-system-rpm3-private
.h:
* components/services/install/lib/eazel-package-system-rpm3.c:
(eazel_package_system_rpm3_db_locked),
(eazel_package_system_rpm3_dbs_locked),
(eazel_package_system_rpm3_open_dbs),
(eazel_package_system_rpm3_packagedata_fill_from_header),
(eazel_package_system_rpm3_query_foreach),
(eazel_package_system_rpm3_query_requires_feature),
(eazel_package_system_rpm3_query),
(eazel_package_system_rpm3_verify):
Did the db lock check voodoo.
Added REQUIRES_FEATURE query enum.
Loads features from a given file (bug 5826)
* components/services/install/lib/eazel-package-system-types.h:
* components/services/install/lib/eazel-package-system-types.c:
(packagedata_finalize), (packagedata_initialize),
(packagedata_copy), (packagedata_fill_in_missing),
(packagedata_remove_soft_dep), (packagedata_add_pack_to_depends),
(eazel_install_package_name_compare), (packagedata_dump_int):
Good bye soft_depends.
* components/services/install/lib/eazel-package-system.c:
(eazel_package_system_load_implementation),
(eazel_package_system_load_package), (eazel_package_system_query),
(eazel_package_system_fail_all_packages),
(eazel_package_system_install), (eazel_package_system_uninstall),
(eazel_package_system_verify), (eazel_package_system_initialize),
(eazel_package_system_new_with_id):
Fixed 6788.
Added REQUIRES_FEATURE query enum.
* components/services/install/lib/eazel-package-system.h:
* components/services/install/lib/eazel-softcat.c:
(eazel_softcat_get_info):
Fixed some suite_id majick.
2001-02-20 Gene Z. Ragan <gzr@eazel.com>
Fixed bug 6029, No option to mount zip drive in desktop menu.
Fixed bug 6751, Nautilus does not detect all of my removable disks.
Fixed bug 6194, SCSI CD-ROM drives are not displayed on desktop.
Fixed bug 6396, cd-rom not detected
Special thanks to liblit@acm.org for persisting and looking at the
code. The check permissions code is an artifact from when we were
considering having a mount daemon. I don't think it is needed at all
because the volume monitor is not running as root. I wil mark
the bugs fixed and wait for status but I think this will work.
* libnautilus-extensions/nautilus-volume-monitor.c:
(mount_volume_ext2_add), (mount_volume_udf_add),
(mount_volume_vfat_add), (mount_volume_msdos_add):
Remove old check_permissions code.
2001-02-20 John Sullivan <sullivan@eazel.com>
Fixed bug 6785 ("Trash" should be capitalized)
I grepped Nautilus sources for "the trash" and replaced
it with "the Trash". Let me know if you can think of
any references to the Trash that don't start with "the".
* libnautilus-extensions/nautilus-file-operations.c:
(build_error_string), (confirm_empty_trash):
* src/file-manager/fm-directory-view.c:
(fm_directory_view_confirm_deletion), (confirm_delete_from_trash),
(report_broken_symbolic_link):
* src/file-manager/nautilus-desktop-icon-view-ui.xml:
* src/file-manager/nautilus-directory-view-ui.xml:
2001-02-20 Dan Mueth <dan@eazel.com>
* user-guide/C/Makefile.am: Changed so only a warning is
given if ScrollKeeper is not installed.
2001-02-20 Mike Fleming <mfleming@eazel.com>
reviewed by: <ian@eazel.com>
Added "x-directory/webdav-prefer-directory" for bug 5325
* components/mozilla/Nautilus_View_mozilla.oaf.in:
* src/Nautilus_shell.oaf.in:
2001-02-15 Michael K. Fleming <mfleming@eazel.com>
reviewed by: <darin@eazel.com>
Part of 2057: URI's with fragments behave oddly
* libnautilus-extensions/nautilus-file-utilities.c:
(nautilus_format_uri_for_display), (uris_match),
(nautilus_uris_match), (nautilus_uris_match_ignore_fragments),
(nautilus_self_check_file_utilities):
* libnautilus-extensions/nautilus-file-utilities.h:
nautilus_format_uri_for_display returns "file:" URI's if the URI
in question has a fragment, other file: URI's get translated into paths
Also no longer calls the evil gnome_vfs_unescape_string_for_display (see
bug 6694)
Also fixes bug 6722: re-entering search query results in location bar
results in error dialog
Added nautilus_uris_match_ignore_fragments function which strips
fragments before comparing. Also added test cases.
* components/tree/nautilus-tree-view.c:
(got_activation_uri_callback):
* src/nautilus-window-manage-views.c:
(viewed_file_changed_callback):
Fixed two locations that made the implicit assumption that
nautilus_file_get_uri should return a URI that's directly comparable
to the current navigation location. Other cases may still lurk.
* src/nautilus-window-menus.c:
A few calls to gnome_vfs_get_local_path_from_uri that should have
been gnome_vfs_get_uri_from_local_path. Eliminating dumb behaviour
in gnome_vfs_get_local_path_from_uri exposed them.
2001-02-20 Darin Adler <darin@eazel.com>
reviewed by: Gene Ragan <gzr@eazel.com>
Fixed bug 5676 (Moving a directory with multiple nested
directories causes improper locations to be displayed):
* libnautilus-extensions/nautilus-directory-private.h:
* libnautilus-extensions/nautilus-directory.c:
(nautilus_directory_moved_internal): Made this build a list of the
affected files.
(nautilus_directory_moved): Send a changed notice to each affected
file.
(nautilus_directory_notify_files_moved): Send a changed notice to
each affected file, but share code to avoid sending changed
notices twice for any directory.
Fixed some callers that were assuming a
gnome_vfs_get_local_path_from_uri would return a non-NULL
value. This is not safe to assume just because
gnome_vfs_uri_get_local returns true.
* components/music/nautilus-music-view.c: (read_id_tag): Use
gnome_vfs_get_local_path_from_uri to define what a local path is.
The old code used a mix.
* libnautilus-extensions/nautilus-file.c:
(nautilus_file_can_rename): Simplified code to use
gnome_vfs_get_local_path_from_uri to define what a local path
is. The old code used a mix.
* libnautilus-extensions/nautilus-thumbnails.c: (make_thumbnails):
Added NULL checks after calls to
gnome_vfs_get_local_path_from_uri.
* src/nautilus-sidebar.c: (uri_is_local_image): Took out redundant
check. The definition of local image we want here is: "uses a
standard file: URI".
* src/file-manager/fm-directory-view.c:
(fm_directory_link_type_in_selection): Fixed bug where it would
only look at the first item in the selection. Simplified logic.
(is_link_type_special): Added a new function.
(special_link_in_selection): Instead of calling
fm_directory_link_type_in_selection, copied it. The problem with
the other approach is that it was reading each link file three
time to rule out each of the three special link types.
Other changes.
* libnautilus-extensions/nautilus-volume-monitor.c:
(nautilus_volume_monitor_get_volume_name),
(modify_volume_name_for_display): Marked "Unknown" for
localization.
* libnautilus-extensions/nautilus-file-utilities.c:
* libnautilus-extensions/nautilus-icon-factory.c:
* src/file-manager/fm-icon-view.c:
Added 2001 to the copyright since we modified these recently.
2001-02-20 John Sullivan <sullivan@eazel.com>
reviewed by: Darin Adler <darin@eazel.com>
* src/file-manager/fm-error-reporting.c:
(fm_report_error_renaming_file): Middle-truncate
really long file names to avoid an error dialog
that is much wider than the screen.
2001-02-20 Andy Hertzfeld <andy@eazel.com>
* src/nautilus-location-bar.c: (try_to_expand_path):
fixed bug 6717, problem editing a uri with a '#' in the middle,
by adding a check to the auto-complete code to not substitute
zero length strings.
2001-02-20 Andy Hertzfeld <andy@eazel.com>
* components/text/nautilus-text-view.c: (file_close_callback),
(done_file_read):
fixed bug 6732, can't unmount volumes after viewing text files;
fixed by closing the file in done_file_read.
2001-02-20 Rebecca Schulman <rebecka@eazel.com>
reviewed by: John Sullivan <sullivan@eazel.com>
* src/file-manager/nautilus-indexing-info.c:
(show_indexing_info_dialog):
Complete fix for 6417, by swapping Vera's text into the
new index status dialog
2001-02-20 Gene Z. Ragan <gzr@eazel.com>
Fixed bug 6384, Nautilus program chooser uses
"nautilus-mime-type-capplet" to launch capplet
* libnautilus-extensions/nautilus-program-chooser.c:
(launch_mime_capplet):
Rename capplet to "file-types-capplet"
2001-02-20 Darin Adler <darin@eazel.com>
reviewed by: Gene Ragan <gzr@eazel.com>
Fixed bug 5482 (If you've esc'd out of an icon stretch, change
directories, then come back, the icon is the pre-esc'd stretched
size)
* libnautilus-extensions/nautilus-icon-container.c:
(undo_stretching): Pass TRUE instead of FALSE so the "undone" size
gets stored in metadata. Without this, we end up with the icon at
the stretched size.
2001-02-20 Richard Boulton <richard@tartarus.org>
reviewed by: Ali Abdin <aliabdin@aucegypt.edu>
* components/help/converters/gnome-db2html2/*
Fix to bug 6700; doesn't include config.h unless HAVE_CONFIG_H
is defined, and has correct instructions for compiling standalone.
2001-02-20 Kjartan Maraas <kmaraas@gnome.org>
* components/services/summary/nautilus-summary-view.c: Fix some
typos in strings.
2001-02-20 Maciej Stachowiak <mjs@eazel.com>
Assorted build twiddling.
* components/services/install/command-line/Makefile.am: Remove
-I/usr/include/rpm
* components/services/install/nautilus-view/Makefile.am: Likewise.
* components/services/install/nautilus-view/nautilus-service-install-view.c:
Remove gratuitous include of rpm header.
* components/services/inventory/Makefile.am: Formatting tweaks.
* components/services/summary/*: flatten this whole directory:
summary/lib => summary
summary/nautilus-view => summary
summary/nautilus-view/test => summary
summary/nautilus-view/icons/gray_tab_pieces =>summary/nautilus-view/icons
* configure.in: Adjust for flattening of
components/services/summary
* libnautilus-extensions/nautilus-clickable-image.c
(adjust_coordinates_for_window): Formatting tweak.
* user-guide/gnugpl/.cvsignore: Silence cvs.
2001-02-20 Maciej Stachowiak <mjs@eazel.com>
reviewed by: Eskil Heyn Olsen <eskil@eazel.com>
* components/services/install/server/Makefile.am: Remove
-I/usr/include/rpm
2001-02-19 Robey Pointer <robey@eazel.com>
* components/services/install/nautilus-view/nautilus-service-instal
l-view.c: (install_message_new), (generate_install_form),
(nautilus_service_install_preflight_check),
(nautilus_service_install_done):
Hide the install view's progress header until downloading begins.
Try to use nautilus_view_go_back, though it appears to not be
functional yet.
2001-02-20 Rebecca Schulman <rebecka@eazel.com>
Complete bug 6416, to add dialogs to explain
that searches will be slow when medusa is disabled or
blocked. The work was previously complete, but
I've swapped in Vera's text, and added an
info_dialog_with_details to the stock dialogs.
reviewed by: Gene Ragan <gzr@eazel.com>
* libnautilus-extensions/nautilus-stock-dialogs.c:
(details_dialog_clicked_callback),
(nautilus_show_info_dialog_with_details),
(nautilus_show_error_dialog_with_details):
* libnautilus-extensions/nautilus-stock-dialogs.h:
* src/file-manager/fm-search-list-view.c:
(display_system_services_are_blocked_dialog),
(display_system_services_are_disabled_dialog):
2001-02-20 Rebecca Schulman <rebecka@eazel.com>
Fix bugzilla.eazel.com 6414 to add prefence to nautilus
to enable/disable medusa
* libnautilus-extensions/nautilus-global-preferences.h:
* libnautilus-extensions/nautilus-global-preferences.c:
(global_preferences_install_descriptions),
(global_preferences_install_defaults),
(global_preferences_install_visibility),
(global_preferences_create_dialog):
Add the fast search preference pane, visibility level,
change SEARCH_METHOD -> BACKUP_SEARCH
* libnautilus-extensions/nautilus-system-preferences.c:
* libnautilus-extensions/nautilus-system-preferences.h:
* libnautilus-extensions/Makefile.am:
(nautilus_is_system_preference),
(nautilus_system_preference_get_boolean),
(nautilus_system_preference_set_boolean):
Add setters and getters for system preferences that are not
managed by gconf. The current set and get functions
turn on and off medusa services
* libnautilus-extensions/nautilus-preferences.c:
(nautilus_preferences_set_boolean),
(nautilus_preferences_get_boolean):
Use the new system preference setters and getters instead of the standard
ones if the preference is not managed by gconf
* src/file-manager/fm-search-list-view.c: (load_location_callback),
(display_system_services_are_blocked_dialog):
* src/nautilus-complex-search-bar.c:
(nautilus_complex_search_bar_get_location):
change SEARCH_METHOD -> BACKUP_SEARCH
2001-02-19 Maciej Stachowiak <mjs@eazel.com>
reviewed by: John Harper <jsh@eazel.com>
Fixed bugs 3743 (Summary view gives the same vague error message
for many different causes), 3972 (If user can't connect to
service, they end up with gray content view), 5973 (blank summary
view after install view finishes) and 6166 (Summary Login dialog
does not have initial focus) and 6018 (Nautilus returns to wrong
directory if services are unavailable). Also did much code
cleanup, and made the service and featured download icons in the
summary view prelighting and clickable. Fixed many other nits as
well.
* components/services/nautilus-dependent-shared/eazel-services-extensions.h,
components/services/nautilus-dependent-shared/eazel-services-extensions.c
(eazel_services_clickable_image_new_from_uri): Convenience wrapper
to make a new clickable image from a URI.
* components/services/nautilus-dependent-shared/eazel-services-footer.c
(eazel_services_footer_update): Clear the footer before updating,
instead of just dumping the new items in along with the old ones.
* components/services/trilobite/libtrilobite/trilobite-core-network.h,
components/services/trilobite/libtrilobite/trilobite-core-network.c:
Adjusted formatting, fixed headers.
* components/services/trilobite/libtrilobite/trilobite-file-utilities.h,
components/services/trilobite/libtrilobite/trilobite-file-utilities.c:
Cut 'n' pasted some useful code from libnautilus-extensions to
avoid depending on it, whee.
* components/services/trilobite/libtrilobite/Makefile.am: Added
above to the build.
* components/services/trilobite/libtrilobite/trilobite-redirect.h,
components/services/trilobite/libtrilobite/trilobite-redirect.c:
(trilobite_redirect_fetch_table_async,
trilobite_redirect_fetch_table_cancel): Asynchronous version of
redirect fetching code.
(redirect_fetch_callback): Helper function.
(trilobite_redirect_parse_xml): Null terminate buffer properly or
XML parsing code will get confused.
(trilobite_redirect_fetch_table): Removed the old synchronous code
since now no one is using it.
* components/services/summary/lib/eazel-summary-shared.h,
components/services/summary/lib/eazel-summary-shared.c:
(eazel_summary_fetch_data_cancel, eazel_summary_fetch_data_async):
Asynchronous version of summary fetching code.
(summary_data_fetch_callback): Helper function.
(eazel_summary_data_parse_xml): Same null termination trick as for
redirects.
(parse_summary_xml_file): Removed old synchronous code since now
no one is unsing it.
* components/services/summary/nautilus-view/main.c (main): Set
user agent to trilobite user agent; intialize gnome-vfs.
* components/services/summary/nautilus-view/nautilus-summary-dialogs.h,
components/services/summary/nautilus-view/nautilus-summary-dialogs.c
(nautilus_summary_show_login_failure_dialog): Renamed from
`nautilus_summary_login_failure_dialog'
(nautilus_summary_show_error_dialog): Renamed from
`generate_error_dialog'.
(nautilus_summary_show_login_dialog): Renamed from
`generate_login_dialog'.
(error_dialog_cancel_cb): Go back instead of (incorrectly) trying
to go back to the user's homedir.
(set_dialog_parent): Do the magic coordinate adjustment like
gnome_dialog_set_parent, but do not set it transient, or it will
not get focus in click to focus mode.
* components/services/summary/nautilus-view/nautilus-summary-callbacks.c:
(authn_cb_failed): Adjust to above renaming.
* components/services/summary/nautilus-view/nautilus-summary-footer.c
(footer_item_clicked_callback): Ditto.
* components/services/summary/nautilus-view/nautilus-summary-menu-items.c:
(bonobo_login_callback): Ditto.
* components/services/summary/nautilus-view/nautilus-summary-view-private.h:
Removed unused fields. Added async handles for redirect and summary XML
fetch.
* components/services/summary/nautilus-view/nautilus-summary-view.c:
(services_button_callback_data_free, summary_view_button_callback,
goto_uri_on_clicked, summary_view_button_new,
summary_view_link_image_new): Cleaned up summary view button code,
added code for the clickable icons and refactored a bit.
(create_header): Start out saying "Connecting to Eazel
Services..." instead of blank, and don't call `update_header' from
here.
(update_footer): fix incorrect polarity of offline and online.
(create_footer): remove call to update_footer; leave offline items
in place until connected.
(create_news_pane, create_services_list_pane,
create_featured_downloads_pane): Do not call corresponding update
func, updating is now separate from creating.
(generate_service_entry_row, generate_update_news_entry_row): Make
icons clickable.
(update_summary_form): New function to update the existing summary
view with new data, to avoid recreating even the fixed widgets
from scratch all the time.
(create_summary_form): Do not destroy all widgets at the
beginning. Remove some useless widgetry.
(nautilus_summary_view_initialize): Create the widgetry but do not
fill it with data.
(nautilus_summary_view_destroy, summary_fetch_callback,
redirect_fetch_callback, cancel_load_in_progress),
nautilus_summary_view_load_uri, summary_load_location_callback):
Change things around so loading of the summary data is
asynchronous.
(summary_stop_loading_callback): Handle "stop_loading".
2001-02-19 Maciej Stachowiak <mjs@eazel.com>
reviewed by: Gene Z. Ragan <gzr@eazel.com>
Added auto-prelighting feature to NautilusClickableImage, and
fixed a major bug that occurs for clickable images in scrolled
areas.
* libnautilus-extensions/nautilus-clickable-image.h,
libnautilus-extensions/nautilus-clickable-image.c:
(nautilus_clickable_image_set_prelight): New public API call that
allows for automatic prelight handling direct in
NautilusClickableImage; made it settable because some users of
this code want to manually prelight with an alternate image.
(nautilus_clickable_image_set_up_pixbufs): helper function for the
above that keeps track of the normal and prelit buffers.
(label_enter, label_leave): When in prelight mode, switch images
on enter and leave. Also, remove unnecessary queue_draw calls.
(adjust_coordinates_for_window, ancestor_enter_notify_event,
ancestor_leave_notify_event, ancestor_motion_notify_event): Do
some coordinate adjustments so that if the NautilusClickableImage
is in a scrolled area with NO_WINDOW widgets all the way in
between, we do an appropriate coordinate adjustment. This should
also handle other containers that put their children in a
different window than their own. This was breaking for the summary
view when I set it to use clickable images for the service icons.
* libnautilus/nautilus-view-standard-main.c
(nautilus_view_standard_main_multi): Do a g_thread_init to make
views that use gnome-vfs happy.
2001-02-18 Ian McKellar <ian@eazel.com>
reviewed by: Robey Pointer <robey@eazel.com>
* libnautilus-extensions/nautilus-mime-actions.c:
* libnautilus-extensions/nautilus-mime-actions.h:
* src/nautilus-window.c: (load_view_as_menu_callback):
Removed all the code related to Gnome-VFS sub-methods in Nautilus.
(Bug 5086)
2001-02-18 Eskil Heyn Olsen <eskil@eazel.com>
reviewed by: Ian McKellar <ian@eazel.com>
Fixed bug 6681 ; make eazel-install output more machine parseable
by adding option and always return !0 on any failure.
* components/services/install/command-line/eazel-alt-install-corba.
c: (eazel_file_conflict_check_signal),
(eazel_file_uniqueness_check_signal),
(eazel_feature_consistency_check_signal),
(eazel_download_progress_signal), (eazel_install_progress_signal),
(download_failed), (something_failed),
(eazel_preflight_check_signal), (dep_check), (md5_check_failed),
2001-02-19 Simos Xenitellis <simos@hellug.gr>
* configure.in: Added el to ALL_LINGUAS.
2001-02-18 Michael K. Fleming <mfleming@eazel.com>
* components/mozilla/nautilus-mozilla-content-view.c:
(try_transform_nautilus_uri_to_file_scheme),
(view_load_location_callback),
(should_uri_navigate_bypass_nautilus):
Bug 4302: links in HTML help don't work.
Now they do. Since the "gnome-help:" scheme stuff doesn't know
how to deal with files below the root and its to convoluted to fix,
the Mozilla component discovers if a gnome-help scheme isgoing to be
transformed into a file scheme and then redirects nautilus to that
URI. This means the full path to the HTML file appears in the location
bar, just like in the old gnome help browser
2001-02-18 Darin Adler <darin@eazel.com>
* components/mozilla/nautilus-mozilla-embed-extensions.cpp:
Get rid of initialization of nsString object to NULL
to fix Tinderbox.
2001-02-17 Michael K. Fleming <mfleming@eazel.com>
reviewed by: <ramiro@eazel.com>
Misc Mozilla changes.
Bug 6542 -- Throbber keeps spinning
Pages without network activity would never report_load_complete. Switched
to using net_start and net_stop to control throbber like galeon (didn't
I do this before?). Note that bug 6736 means the throbber might
cut out early. Oh well, the stop button isn't really hooked up anyway.
Bug 6544 -- Crash while navigating help
Caused by make_full_uri_from_relative going beyond a buffer. Also added
test case.
Also fixed up logic in mozilla_dom_mouse_click_callback related to
translating URI's that we know how to handle ourself but can't
be handled by mozilla directly without intervention (eg, eazel-services,
help URI's)
Also removed mistaken cancel_pending_vfs_operation in update_nautilus_uri
Also did some cleanup/rearranging of the async nautilus_view wrappers
* components/mozilla/nautilus-mozilla-content-view.c:
(nautilus_mozilla_content_view_initialize),
(mozilla_location_callback), (mozilla_net_start_callback),
(mozilla_net_stop_callback), (mozilla_dom_mouse_click_callback),
(vfs_open_callback), (update_nautilus_uri),
(make_full_uri_from_relative), (test_make_full_uri_from_relative),
(dispatch_report_location_change):
* src/nautilus-sidebar.c: (add_command_buttons):
Fixed improper assumption that nautilus_file_is_local being TRUE
means gnome_vfs_get_local_path will return a file path. The "local"
concept seems to apply to expected latancy, not URI schemes. This
was causing assertion failures when browsing to help: schemes (as
noted in the comments to bug 6544)
2001-02-17 Richard Boulton <richard@tartarus.org>
reviewed by: Ali Abdin <aliabdin@aucegypt.edu>
* components/help/converters/gnome-db2html2/gdb3html.c
* components/help/converters/gnome-db2html2/sect-elements.c
* components/help/converters/gnome-db2html2/toc-elements.c
Fix format string vulnerabilities, see bug 6702. Fixes
segfault when % character occurs in input files.
2001-02-17 Dan Mueth <dan@eazel.com>
reviewed by: Eskil
Updated toplevel docs data file. Updated and added FDL/GPL
licenses. Added OMF file for Nautilus User Guide.
* Makefile.am: Adding omf-install/
* components/help/topleveldocs.xml: Updated toplevel docs
* configure.in: Adding omf-install and user-guide/gnugpl
* omf-install/Makefile.am: Added for OMF files
* user-guide/C/Makefile.am: Updated for OMF file
* user-guide/C/nautilus-C.omf: Added this OMF file
* user-guide/Makefile.am: Added gnufdl/
* user-guide/gnufdl/gnufdl.sgml: Updated
* user-guide/gnugpl/Makefile.am: Added this file
* user-guide/gnugpl/gnugpl.sgml: Added this file, GPL
2001-02-17 Kjartan Maraas <kmaraas@gnome.org>
* src/file-manager/fm-search-list-view.c: Fix typo.
2001-02-16 Gene Z. Ragan <gzr@eazel.com>
reviewed by: Darin Adler <darin@eazel.com>
Fixed bug 6689, Segmentation fault from volume_in_black_list after
the death of the desktop.
* src/file-manager/fm-desktop-icon-view.c: (volume_in_black_list):
Add an assert to catch a NULL icon view being passed in. We need to
find out why this happens if it ever does.
* src/nautilus-application.c: (window_can_be_closed),
(is_last_closable_window), (volume_unmounted_callback):
Handle single window case in the code where we close the windows
the are displaying the contents of the unmounted volume. In the case
of a single window, direct it back to the default home directory.
2001-02-16 Andy Hertzfeld <andy@eazel.com>
* src/nautilus-sidebar-tabs.c: (draw_one_tab_themed),
(draw_or_layout_all_tabs):
fixed bug where the left edge of a sidebar tab wasn't
prelighting correctly when the one before it was active.
2001-02-16 Darin Adler <darin@eazel.com>
reviewed by: Gene Ragan <gzr@eazel.com>
Fix bug 4070 (Repeated clicks of BACK cause core dump):
* src/nautilus-window-manage-views.c:
(viewed_file_changed_callback): Use end_location_change instead,
since cancel_location_change just does extra "go back to old view"
that we don't need.
(cancel_location_change): A little more sanity checking. Not sure
if it really helps. The other changes should fix the bug.
(begin_location_change): Use end_location_change to get rid of any
previous change in progress since cancel_location_change just does
extra "go back to old view" that we don't need.
(report_location_change_callback): Use end_location_change to get
rid of any previous change in progress since
cancel_location_change just does extra "go back to old view" that
we don't need.
* src/file-manager/fm-list-view.c: (get_list_if_exists),
(fm_list_view_clear): Don't create a list just to clear it.
Crashed here while I was trying to work on the other bug.
2001-02-16 John Sullivan <sullivan@eazel.com>
reviewed by: Darin Adler <darin@eazel.com>
Fixed bug 6724 (implement Vera's new text &
organization for Preferences)
There are a few open issues still, but they can be
handled one at a time.
* libnautilus-extensions/nautilus-global-preferences.c:
(global_preferences_install_descriptions),
(global_preferences_create_dialog),
(global_preferences_install_sidebar_panel_descriptions):
Tweak text, rework some comments, reorganize.
* libnautilus-extensions/nautilus-program-chooser.c:
(repopulate_program_list): Reinstated a one-line fix
that was accidentally merged away earlier.
2001-02-16 Robey Pointer <robey@eazel.com>
* nautilus.spec.in:
Don't reference the three files that used to be in top/.
2001-02-16 Andy Hertzfeld <andy@eazel.com>
* components/image-viewer/nautilus-image-view.c:
(zoomable_zoom_to_fit_callback), (rezoom_control),
(control_size_allocate_callback), (image_fits_in_container),
(scrolled_window_size_allocate_callback),
(scrollable_control_factory):
fixed a bunch of problems in the image view, including making
the initial shrink-to-fit feature work again, made unneccessary
scroll bars go away by using GTK_POLICY_AUTOMATIC, improved the
scaling to Arlo's taste by using GDK_INTERP_BILINEAR, and tweaked
the scale factors, plus other clean-ups.
* src/nautilus-zoom-control.c: (create_zoom_menu_item):
fixed bug 6288, bogus zoom levels displayed in zoom control, by making
the rounding algorithm used in the menu consistent with the one
used in the control.
2001-02-16 Darin Adler <darin@eazel.com>
reviewed by: John Sullivan <sullivan@eazel.com>
Fixed bug 6477 (no way for intall view to send user "back where
they came from") by adding a "go back" command for views.
* libnautilus/nautilus-view-component.idl: Add "go back".
* libnautilus/nautilus-view.h:
* libnautilus/nautilus-view.c: (nautilus_view_go_back): Add "go
back".
* src/nautilus-view-frame-private.h:
* src/nautilus-view-frame-corba.c: (go_back),
(impl_Nautilus_ViewFrame_go_back): Add "go back".
* src/nautilus-view-frame.h:
* src/nautilus-view-frame.c:
(nautilus_view_frame_initialize_class),
(nautilus_view_frame_go_back): Add "go back".
* src/nautilus-window-manage-views.c: (go_back_callback): Add code
to either go back or go home.
* src/nautilus-window-toolbars.c:
(back_or_forward_button_pressed_callback): Formatting tweak.
2001-02-16 Ramiro Estrugo <ramiro@eazel.com>
reviewed by: Mike Engber <engber@eazel.com>
* libnautilus-extensions/nautilus-wrap-table.c:
(wrap_table_get_content_dimensions):
Fix bug 6683. Bottom row is cut off in backgrounds/emblems dialog.
2001-02-16 Robey Pointer <robey@eazel.com>
* components/services/install/lib/eazel-install-logic2.c:
(check_no_two_packages_has_same_file):
* components/services/install/lib/eazel-install-xml-package-list.c:
(osd_parse_file_list):
* components/services/install/lib/eazel-softcat.c:
(eazel_softcat_initialize),
(remove_directories_from_provides_list), (eazel_softcat_get_info):
Nobody wants to review my patch because everyone hates me. This
fixes the weird file/directory checks we were doing by using the
new softcat fields to determine which ones are directories. No
more guesswork. Also there's a softcat bug which causes the file
list to sometimes contain repeated filenames, so this patch does a
workaround for that too.
* components/services/trilobite/doc/gconf.txt:
Fix my dumb typo: jump-url is not a bool.
2001-02-16 Gene Z. Ragan <gzr@eazel.com>
Fixed bug 6606, only show user-mountable volumes in Disks menu
* libnautilus-extensions/nautilus-volume-monitor.c:
(has_removable_mntent_options):
Utility function to check the mntent structure for options
that we have determined will do the best job of guessing that
a volume is removable.
(get_removable_volumes),
(volume_is_removable), (get_current_mount_list),
(mount_volume_add_filesystem), (open_cdda_device):
Did some code cleanup.
2001-02-16 Darin Adler <darin@eazel.com>
Fix bug 6435 (report_location_change does not record in history).
* src/nautilus-window-manage-views.c:
(report_location_change_callback): Use change type of STANDARD
instead of RELOAD.
2001-02-16 Ramiro Estrugo <ramiro@eazel.com>
* components/mozilla/nautilus-mozilla-embed-extensions.cpp:
Restore the original cast and lose the const. Remove an unused
variable.
2001-02-16 Andy Hertzfeld <andy@eazel.com>
removed the translation text services from the build, since
they are not ready for commercial release. Also, made the
google and webster services localizable. This also fixes
bug 6704, translation doesn't work with large files.
* components/text/nautilus-text-view.c: (add_one_service):
made it use the localization framework for the menu label and
tooltip
* components/text/services/Makefile.am:
* components/text/services/english_to_french.xml:
* components/text/services/french_to_english.xml:
removed the translation services
* components/text/services/google.xml:
* components/text/services/webster.xml:
made the selection-based services localizable
* po/POTFILES.in:
added the selection-based services
2001-02-16 Robey Pointer <robey@eazel.com>
* components/mozilla/nautilus-mozilla-embed-extensions.cpp:
Fix build bustage by breaking cast into two pieces (weird C++ism).
2001-02-16 Josh Barrow <josh@eazel.com>
* docs/smoketests.html:
Made a few corrections
2001-02-16 Darin Adler <darin@eazel.com>
reviewed by: Gene Ragan <gzr@eazel.com>
Finish fixing bug 6286 (need to re-apply optimization where we do
a single directory load):
* src/nautilus-window-manage-views.c: (begin_location_change): Do
the force_reload work in here. We want it on all 4 kinds of
location change (forward, back, new location, reload). Other
browsers don't do reload on back, so we may want to change this at
some point.
(nautilus_window_reload): Remove the old code to invalidate from
here now that it's done in begin_location_change.
* src/file-manager/fm-directory-view.c: (load_location_callback),
(load_directory), (finish_loading), (filtering_changed_callback):
Remove the old code to do force_reload. The NautilusDirectory part
of triggering a reload is now handled by the shell.
* libnautilus-extensions/nautilus-directory.h:
* libnautilus-extensions/nautilus-directory.c:
(nautilus_directory_file_monitor_add): No force_reload parameter
any more.
(nautilus_directory_force_reload): New separate call used to force
a reload. A method call so subclasses can implement.
(nautilus_self_check_directory): Removed the FALSE force_reload
argument to file_monitor_add.
* libnautilus-extensions/nautilus-vfs-directory.c:
(vfs_file_monitor_add): No force_reload parameter any more.
(vfs_force_reload): Call through to
nautilus_directory_force_reload_internal to do the real work.
(nautilus_vfs_directory_initialize_class): Install the new
force_reload function.
* libnautilus-extensions/nautilus-merged-directory.c:
(merged_file_monitor_add): No force_reload parameter any more.
(merged_force_reload): Tell all of the real directories to force a
reload.
(monitor_add_directory): No force_reload to track any more.
(nautilus_merged_directory_initialize_class): Install the new
force_reload function.
* libnautilus-extensions/nautilus-directory-private.h:
* libnautilus-extensions/nautilus-directory-async.c:
(nautilus_directory_force_reload_internal): Change the name of
this function, since there's now a public function that is named
nautilus_directory_force_reload.
* libnautilus-extensions/nautilus-file-private.h:
* libnautilus-extensions/nautilus-file.c:
(nautilus_file_get_all_attributes): Made a separate call so other
parts of the framework can use it.
(nautilus_file_invalidate_all_attributes): Use the new call.
* components/tree/nautilus-tree-model.c:
(nautilus_tree_model_monitor_add),
(nautilus_tree_model_node_begin_monitoring_no_connect): Use the
new force_reload call. The old one had more granularity and thus
forced less to be reloaded, but it's OK to do a little more here.
* libnautilus-extensions/nautilus-trash-monitor.c:
(nautilus_trash_monitor_initialize): Removed the FALSE
force_reload argument to file_monitor_add.
Other stuff:
* libnautilus-extensions/nautilus-directory-metafile.c:
(get_metafile), (nautilus_directory_get_file_metadata),
(nautilus_directory_get_file_metadata_list),
(nautilus_directory_set_file_metadata),
(nautilus_directory_set_file_metadata_list),
(nautilus_directory_copy_file_metadata),
(nautilus_directory_remove_file_metadata),
(nautilus_directory_rename_file_metadata): Moved FIXMEs around.
Pass NULL instead of &ev when calling bonobo_object_release_unref
since we don't really want to do anything different if there's
some kind of error.
* nautilus-installer/install-lib/.cvsignore:
* nautilus-installer/libtrilobite/.cvsignore:
Gotta create these files when you make new directories.
* README: Change xml-i18n-tools to mention the correct branch.
2001-02-16 Ramiro Estrugo <ramiro@eazel.com>
* components/mozilla/Makefile.am:
* components/mozilla/bonobo-extensions.c:
* components/mozilla/bonobo-extensions.h:
New files. Cut and paste from nautilus-extensions to workaround
licensing issues.
* components/mozilla/main.c: (mozilla_object_destroyed):
Mike Fleming added a nice feature that caches the mozilla process
by delaying exit. This makes jumping from web page to web page
much faster. However, it makes it harder to debug the mozilla
component because it sticks around for a while and killing it by
hand doesnt allow for clean shutdown. So I added an debug
environment variable that can be set to turn the delayed exit off.
* components/mozilla/mozilla-events.cpp: Include the mozembed
private header. Im not quite sure why we were declaring the
prototype found thre ourselves.
* components/mozilla/nautilus-mozilla-content-view.c:
(nautilus_mozilla_content_view_initialize),
(charset_encoding_changed_callback),
(encoding_menu_data_free_cover),
(mozilla_view_create_charset_encoding_submenu),
(mozilla_view_merge_menus), (bonobo_control_activate_callback),
(mozilla_title_changed_callback), (mozilla_location_callback),
(mozilla_net_state_callback), (mozilla_net_stop_callback),
(mozilla_link_message_callback), (mozilla_progress_callback),
(mozilla_dom_mouse_click_callback), (vfs_open_callback),
(vfs_read_callback), (cancel_pending_vfs_operation),
(navigate_mozilla_to_nautilus_uri):
Add a charset encoding menu. Also, changed the type of the
mozilla member to be GtkMozEmbed instead of GtkWidget to reduce
the amount of casting we did.
* components/mozilla/nautilus-mozilla-embed-extensions.cpp:
* components/mozilla/nautilus-mozilla-embed-extensions.h:
New files. Start of mozilla embed extensions. Right now only
charset encoding stuff. Inspired somewhat by Galeon.
* components/mozilla/nautilus-mozilla-ui.xml:
Update for charset encoding menu support.
2001-02-16 Josh Barrow <josh@eazel.com>
* README:
Added some text to explain the freetype fiasco.
2001-02-16 Ramiro Estrugo <ramiro@eazel.com>
* README: Clarify the fact that Mozilla M18 no longer works.
* components/mozilla/mozilla-components.cpp: Remove obsolete
Mozilla M18 support. M18 no longer works.
2001-02-16 Ramiro Estrugo <ramiro@eazel.com>
* README: Update Mozilla requirements.
* configure.in: Update the Mozilla milestone names to match the
current Mozilla naming scheme. Add a flag indicating whether the
version of Mozilla we use has profiles support.
* components/mozilla/Makefile.am:
* components/mozilla/nautilus-mozilla-content-view.c:
(pre_widget_initialize):
Add better profile support ifdef hackery.
2001-02-15 Robey Pointer <robey@eazel.com>
* components/services/install/idl/trilobite-eazel-install.idl:
* components/services/install/lib/eazel-install-corba-types.c:
(corba_packagedatastruct_fill_from_packagedata),
(corba_packagedatastruct_fill_deps),
(packagedata_tree_from_corba_packagedatastructlist):
Re-add 'provides' to the IDL so the install view can poke around
for .desktop files.
* nautilus-installer/src/installer.c:
(get_detailed_errors_foreach), (get_detailed_errors):
Speed up error checking by avoiding pieces of the graph we've
already visited.
2001-02-15 Robey Pointer <robey@eazel.com>
* components/services/install/lib/eazel-install-logic2.c:
(check_dependencies_foreach),
(check_no_two_packages_has_same_file),
(check_conflicts_against_already_installed_packages):
Remove errant unref during dupe-file check.
* components/services/install/nautilus-view/nautilus-service-instal
l-view.c: (nautilus_install_parse_uri),
(nautilus_service_install_done), (nautilus_service_install_failed),
(nautilus_service_need_password),
(nautilus_service_install_view_update_from_uri_finish),
(nautilus_service_install_view_load_uri):
* components/services/install/nautilus-view/nautilus-service-instal
l-view.h:
Set password prompt to something semi-reasonable. Fix up a few
wrong behaviors in the case of having multiple toplevel packages.
This still isn't working very well.
2001-02-15 Andy Hertzfeld <andy@eazel.com>
fixed bug 5599, make objects in $USER/Nautilus localizable. Fixed
by creating a linkset to instead the Computer and Services icons,
and removing the top directory and associated code, since it's no
longer needed.
* configure.in:
removed data/top
* data/Makefile.am:
removed top directory
* data/linksets/Makefile.am:
* data/linksets/home.xml:
added new home linkset
* data/top/.cvsignore:
* data/top/.nautilus-metafile.xml:
* data/top/Computer:
* data/top/Makefile.am:
* data/top/Services:
removed files from top
* libnautilus-extensions/nautilus-file-utilities.c:
(nautilus_get_user_main_directory):
changed it to no longer copy the top directory; instead,
install the new linkset
* po/POTFILES.in:
added home.xml to the files to be localized
2001-02-15 Eric Fischer <eric@eazel.com>
* nautilus.spec.in:
Building the installer into RPMs doesn't work, because I got
something in the Makefiles wrong. Revert the changes to the
spec file so tinderbox comes back to life. Will try again
once I think I have it right.
2001-02-15 Robey Pointer <robey@eazel.com>
reviewed by: Robin * Slomkowski <rslomkow@eazel.com>
* nautilus-installer/src/installer.c:
For now, make the bootstrap installer always run in debug mode
and point to checkpoint:8888.
2001-02-15 Robey Pointer <robey@eazel.com>
reviewed by: Eskil Heyn Olsen <eskil@eazel.com>
* components/services/trilobite/libtrilobite/trilobite-root-helper.
c: (discard_line), (eazel_helper_start):
Add debug info to the roothelper so that we can debug failures
better.
2001-02-15 Robey Pointer <robey@eazel.com>
* components/services/install/lib/eazel-install-logic2.c:
(dump_tree_helper), (dump_tree):
Made dump_tree dump less redundant info (tries not to repeat
sections of the graph it's already visited).
* nautilus-installer/install-lib/Makefile.am:
* nautilus-installer/libtrilobite/Makefile.am:
Set LOG_DOMAIN to G_LOG_DOMAIN so our log catcher will actually
work. :)
* nautilus-installer/src/Makefile.am:
Remove redundant object file.
* nautilus-installer/src/create-eazel-installer.sh:
By default, strip the installer binary before gzexe'ing it (this
makes it much much smaller). Eventually we'll want to add some
sort of command-line option for deciding which kind to build.
* nautilus-installer/src/installer.c: (conflict_check),
(eazel_installer_initialize):
Remember to nudge GTK+ after updating labels so they'll actually
refresh.
* nautilus-installer/src/link.sh:
* nautilus-installer/src/main.c: (main):
* nautilus-installer/src/prescript:
Fix the prescript to work around a sad popt bug.
2001-02-15 Gene Z. Ragan <gzr@eazel.com>
reviewed by: Mike Engber <engber@eazel.com>
Fixed bug 6670, Segmentation fault when trying to access mounted
removable volume with no media.
* src/file-manager/fm-desktop-icon-view.c:
(create_unique_volume_name):
Use the accessor function to access the volume name instead
of accessing the structure directly. The accessor protects
us against NULL data.
2001-02-15 Eric Fischer <eric@eazel.com>
* nautilus.spec.in:
Start building the eazel installer, and put it into its own RPM.
(This should eventually be separate from building nautilus)
* nautilus-installer/libtrilobite/Makefile.am:
Add a dependency to create the .h files, since gmake complains
otherwise.
2001-02-15 Andy Hertzfeld <andy@eazel.com>
fixed bug 6589, nautilus crashes if a moderate sized text block
is used for dictionary lookup. Fixed by imposing sanity limits
on both the selection size passed to services and the sidebar
title.
* components/text/nautilus-text-view.c: (handle_service_menu_item):
truncate the selection if it's greater than a reasonable size.
* src/nautilus-sidebar-title.c:
(nautilus_sidebar_title_initialize),
(nautilus_sidebar_title_set_text):
truncate the sidebar title if it's longer than a reasonable limit.
2001-02-15 Michael Engber <engber@eazel.com>
reviewed by: Gene Z. Ragan <gzr@eazel.com>
* src/file-manager/fm-icon-view.c: (fm_icon_view_bump_zoom_level):
Change fm_icon_view_bump_zoom_level to ignore bumps to out
of bounds values - bug 6347.
2001-02-15 Michael Engber <engber@eazel.com>
* libnautilus-extensions/nautilus-directory-metafile.c:
(get_metafile), (nautilus_directory_get_file_metadata),
(nautilus_directory_get_file_metadata_list),
(nautilus_directory_set_file_metadata),
(nautilus_directory_set_file_metadata_list),
(nautilus_directory_copy_file_metadata),
(nautilus_directory_remove_file_metadata),
(nautilus_directory_rename_file_metadata):
Added FIXMEs.
2001-02-15 Ramiro Estrugo <ramiro@eazel.com>
reviewed by: John Sullivan <sullivan@eazel.com>
* libnautilus-extensions/nautilus-image-table.h:
* libnautilus-extensions/nautilus-image-table.c:
(nautilus_image_table_add_empty_image): New function to add an
empty space into the table.
* libnautilus-extensions/nautilus-wrap-table.h:
* libnautilus-extensions/nautilus-wrap-table.c:
(nautilus_wrap_table_destroy), (nautilus_wrap_table_expose_event),
(nautilus_wrap_table_map), (nautilus_wrap_table_unmap),
(nautilus_wrap_table_add), (nautilus_wrap_table_remove),
(nautilus_wrap_table_forall), (wrap_table_layout),
(wrap_table_get_max_child_dimensions),
(wrap_table_get_content_dimensions),
(wrap_table_find_child_at_point),
(nautilus_wrap_table_reorder_child): Change 'items' to 'childern'
(nautilus_wrap_table_get_num_children): New function to get the
number of chilren.
* src/nautilus-property-browser.c: (labeled_image_configure),
(labeled_image_new), (make_properties_from_directories),
(add_reset_property), (make_properties_from_xml_node),
(nautilus_property_browser_update_contents):
Modify some constants and add new ones for the image table
layout. Andy is going to tweak these later.
Move the erase object back to the end of the table.
2001-02-15 J Shane Culpepper <pepper@eazel.com>
reviewed by: Gene Z. Ragan <gzr@eazel.com>
* libnautilus-extensions/nautilus-file-operations.c:
(handle_transfer_ok):
Fix for Bug #1505, Cancelled copy operations leave partial
files. Nautilus now catches cancel and deletes the partial
file.
2001-02-15 Ramiro Estrugo <ramiro@eazel.com>
reviewed by: Darin Adler <darin@eazel.com>
Except for the self checks code.
Change code that used a ArtIRect as a "frame" to use
NautilusDimensions instead. Change all foo_frame functions to
foo_dimensions.
* libnautilus-extensions/nautilus-art-extensions.h:
Add a new structure to represent dimensions using signed integers.
Retire nautilus_art_ipoint_assign.
* libnautilus-extensions/nautilus-art-extensions.c:
(nautilus_dimensions_empty): New function to check for empty
dimensions.
(nautilus_art_irect_assign_dimensions): New function to assign
dimensions to a rectangle.
(nautilus_self_check_art_extensions): New self checks.
* libnautilus-extensions/nautilus-art-gtk-extensions.h:
* libnautilus-extensions/nautilus-art-gtk-extensions.c:
(nautilus_gdk_rectangle_to_art_irect),
(nautilus_screen_get_dimensions), (nautilus_gdk_window_get_bounds),
(nautilus_gdk_window_get_screen_relative_bounds),
(nautilus_gtk_widget_get_bounds),
(nautilus_gtk_widget_get_dimensions),
(nautilus_gdk_window_clip_dirty_area_to_screen),
(nautilus_art_irect_to_gdk_rectangle),
(nautilus_gdk_window_get_dimensions): New function to get
the dimensions of a GdkWindow.
Update for frame to dimensions changes. Change functions names to
lose the "irect" sub-prefix.
* libnautilus-extensions/nautilus-gdk-pixbuf-extensions.h:
* libnautilus-extensions/nautilus-gdk-pixbuf-extensions.c:
(nautilus_gdk_pixbuf_get_dimensions),
(nautilus_gdk_pixbuf_fill_rectangle_with_color),
(nautilus_gdk_pixbuf_draw_to_drawable),
(nautilus_gdk_pixbuf_draw_to_pixbuf),
(nautilus_gdk_pixbuf_draw_to_pixbuf_alpha),
(nautilus_gdk_pixbuf_new_from_pixbuf_sub_area),
(pixbuf_draw_tiled), (nautilus_gdk_pixbuf_draw_to_pixbuf_tiled),
(nautilus_gdk_pixbuf_draw_to_drawable_tiled),
(nautilus_gdk_pixbuf_intersect): New functions
(nautilus_self_check_gdk_pixbuf_extensions): New self checks.
Update for frame vs dimenensions changes. Simplify clipping code
by using nautilus_gdk_pixbuf_intersect. Move
nautilus_gdk_window_get_dimensions to
nautilus_gdk_window_get_dimensions in art-gtk-extensions.
* libnautilus-extensions/nautilus-debug-drawing.c:
(debug_pixbuf_viewer_size_request),
(nautilus_debug_pixbuf_draw_point),
(nautilus_debug_pixbuf_draw_rectangle),
(nautilus_debug_pixbuf_draw_rectangle_inset):
Update for frame vs dimenensions changes.
* libnautilus-extensions/nautilus-clickable-image.c:
(label_handle_motion):
Update for art-gtk extensions changes.
* libnautilus-extensions/nautilus-glyph.h:
* libnautilus-extensions/nautilus-glyph.c: (nautilus_glyph_new):
Change order of parameters to match NautilusScalalbleFont.
(nautilus_glyph_get_dimensions), (nautilus_glyph_draw_to_pixbuf):
Update for frame vs dimenensions changes.
* libnautilus-extensions/nautilus-lib-self-check-functions.h:
New declaration for art_extensions and gdk_pixbuf_extensions.
* libnautilus-extensions/nautilus-self-checks.c:
(nautilus_check_rectangle_result),
(nautilus_check_dimensions_result):
* libnautilus-extensions/nautilus-self-checks.h:
Add support for checking functions that return rectangles and
dimensions.
* libnautilus-extensions/nautilus-scalable-font.h:
* libnautilus-extensions/nautilus-scalable-font.c:
(nautilus_scalable_font_measure_text): Return
NautilusDimensions instead of using pointer parameters.
(nautilus_scalable_font_text_width): Simplify by calling
scalable_font_measure_text.
(nautilus_scalable_font_draw_text),
(nautilus_scalable_font_measure_text_lines),
(nautilus_scalable_font_draw_text_lines_with_dimensions),
(nautilus_scalable_font_draw_text_lines):
Update for frame vs dimenensions changes. Use NautilusDimensions
arrays instead of individial width and height arrays. Change all
function signatures to pass in only a font_size instead of both
font_width and font_height. Simplifies using these a bit.
(nautilus_scalable_font_largest_fitting_font_size): Fix bug where
we were always using the wrong font size to compute the largest
fitting font.
* libnautilus-extensions/nautilus-icon-factory.c: (embed_text):
Update for scalable font font_size api changes.
* libnautilus-extensions/nautilus-image-table.c:
(image_table_clear_dirty_areas):
Update for frame vs dimenensions changes.
* libnautilus-extensions/nautilus-image.c:
(nautilus_image_size_request), (image_get_pixbuf_dimensions),
(image_get_pixbuf_bounds), (image_get_tile_dimensions):
Update for frame vs dimenensions changes.
* libnautilus-extensions/nautilus-label.h:
* libnautilus-extensions/nautilus-label.c:
(nautilus_label_initialize_class), (nautilus_label_set_arg),
(nautilus_label_get_arg), (nautilus_label_size_request),
(nautilus_label_size_allocate), (label_composite_pixbuf_callback),
(label_draw_text_to_pixbuf): Fix a type. Was using [x,x] instead
of [x,y] to render the string.
(label_get_text_dimensions), (label_get_text_bounds),
(label_get_tile_dimensions), (label_line_geometries_clear),
(label_line_geometries_recompute),
Update for frame vs dimenensions changes. Make the
'smooth_line_wrap' attribute an int instead of a guint. Use an
array of NautilusDimensions to store text lines geometries instead
of separete width and height arrays.
(label_get_default_line_wrap_width),
(nautilus_label_set_smooth_line_wrap_width),
(nautilus_label_get_smooth_line_wrap_width):
Change signature to return an int instead of a guint.
* libnautilus-extensions/nautilus-labeled-image.c:
(nautilus_labeled_image_size_request),
(labeled_image_get_image_dimensions),
(labeled_image_get_label_dimensions),
(labeled_image_get_image_bounds_fill),
(nautilus_labeled_image_get_image_bounds),
(labeled_image_get_label_bounds_fill),
(nautilus_labeled_image_get_label_bounds),
(labeled_image_get_content_dimensions),
(labeled_image_get_content_bounds):
Update for frame vs dimenensions changes.
* libnautilus-extensions/nautilus-smooth-widget.h:
* libnautilus-extensions/nautilus-smooth-widget.c:
(smooth_widget_paint_tile_transparent),
(nautilus_smooth_widget_get_preferred_dimensions):
Update for frame vs dimenensions changes.
* libnautilus-extensions/nautilus-tabs.c: (measure_tab_name),
(draw_tab_label):
Update for font api changes.
* libnautilus-extensions/nautilus-text-layout.c:
(nautilus_text_layout_new), (nautilus_text_layout_paint):
Update for frame vs dimenensions changes.
* libnautilus-extensions/nautilus-wrap-table.c:
(nautilus_wrap_table_size_request), (wrap_table_layout),
(wrap_table_art_irect_max_dimensions),
(wrap_table_get_max_child_dimensions),
(wrap_table_get_content_dimensions):
Update for frame vs dimenensions changes.
* src/nautilus-about.c: (draw_aa_string):
Update for frame vs dimenensions changes.
* src/nautilus-sidebar-tabs.c: (draw_one_tab_plain),
(draw_one_tab_themed), (get_tab_width):
Update for frame vs dimenensions changes.
* test/test-nautilus-font-simple.c: (main):
* test/test-nautilus-font.c: (main):
* test/test-nautilus-glyph-simple.c: (glyph_new):
* test/test-nautilus-glyph.c: (glyph_new), (main):
* test/test-nautilus-pixbuf-tile.c:
* test/test.c: (test_pixbuf_draw_rectangle_tiled):
Update test for frame vs dimenensions changes and font api
changes.
2001-02-14 Mike Fleming <mfleming@eazel.com>
* components/mozilla/mozilla-preferences.cpp:
Bug 6592 -- Embedded Mozilla defaults to port 8080 when HTTP
proxy is enabled like everything else
2001-02-14 Robey Pointer <robey@eazel.com>
reviewed by: Eskil Heyn Olsen <eskil@eazel.com>
* components/services/install/lib/eazel-install-xml-package-list.c:
(osd_parse_shared), (eazel_install_packagelist_parse):
* components/services/install/lib/eazel-install-xml-package-list.h:
* components/services/install/lib/eazel-softcat-private.h:
* components/services/install/lib/eazel-softcat.c:
(eazel_softcat_finalize), (eazel_softcat_initialize),
(eazel_softcat_reset_server_update_flag), (eazel_softcat_query):
Return the softcat DB revision with the parsed package list, and
use that info to hook into Eskil's error trap. Also free up the
softcat private data when the object goes away.
2001-02-14 Gene Z. Ragan <gzr@eazel.com>
Fixed bug 6653, throwing away something with the desktop not on will
bring up an empty trash if the desktop is later turned on
* src/file-manager/fm-desktop-icon-view.c:
(update_trash_link_and_delete_copies):
Preflight state of trash icon when we are doing all of the other
icon state validity checks.
2001-02-14 Andy Hertzfeld <andy@eazel.com>
* libnautilus-extensions/nautilus-icon-factory.c:
(is_supported_mime_type),
(nautilus_icon_factory_get_icon_for_file):
fixed bug 6623, .fig files cause warnings to spew, by checking for
types that we don't support and excluding them from thumbnailing.
2001-02-14 John Fleck <jfleck@inkstain.net>
reviewed by: Ali Abdin <aliabdin@aucegypt.edu>
* components/help/converters/gnome-db2html2/toc-elements.c
fix bug # 6551 - add test to see if article header has already
been printed and don't print it a second time
2001-02-14 Rebecca Schulman <rebecka@eazel.com>
Fix bugzilla.eazel.com bug 6416, that the search results view
needs to inform the user if indexing is disabled or blocked
on their system. I haven't added the final text yet, since
it is not complete. The final text will be swapped in.
reviewed by: Maciej Stachowiak <mjs@eazel.com>
* src/file-manager/fm-search-list-view.c:
(load_location_callback),
(real_load_error), (display_indexed_search_problems_dialog),
(display_system_services_are_blocked_dialog),
(display_system_services_are_disabled_dialog): Add the dialogs for
the cases when searches are enabled and disabled in the right
cases. Stop displaying an error dialog about a problem loading
the location in the case where the directory load is cancelled.
* src/file-manager/nautilus-indexing-info.c:
(show_index_progress_dialog), (show_reindex_request_dialog),
(show_indexing_info_dialog):
Fix an obscure bug introduced in my last checkin by
removing a reference to the index status that was kept by the
medusa system state poller on destroy. If this reference was left around,
enabling or disabling indexing could crash nautilus.
2001-02-14 Darin Adler <darin@eazel.com>
reviewed by: Gene Ragan <gzr@eazel.com>
* src/nautilus-applicable-views.c:
(got_minimum_file_info_callback),
(nautilus_determine_initial_view),
(nautilus_determine_initial_view_cancel): Get rid of the code to
monitor the directory. It's now moved up one level to the
manage-views.c code.
* src/nautilus-window-private.h:
* src/nautilus-window-manage-views.c: (free_location_change),
(begin_location_change): Move the code that starts monitoring the
directory up here instead.
* src/nautilus-application.c: (volume_unmounted_callback): Rewrote
this code to not use the viewed_file private field. There's a
public call to get the current location that should work just as
well. Also fix bug where it would ignore the scheme and just look
at the path part.
* libnautilus-extensions/nautilus-directory-metafile.c:
(nautilus_directory_use_self_contained_metafile_factory): Added
check to detect if this is called after using the factory.
(free_factory): Simplified.
(get_factory): New function to simplify get_metafile.
(get_metafile): Simplified.
* src/nautilus-location-bar.c: (try_to_expand_path): Fix storage
leak.
* libnautilus-extensions/nautilus-entry.c:
(nautilus_entry_key_press): Added FIXME after noticing a
particularly lame version of tilde expansion in here. I'm not sure
this is even used to good effect, since the location bar now does
its own tidle expansion.
* README: Fixed many inaccuracies.
* libnautilus-extensions/nautilus-stock-dialogs.c:
(timed_wait_free): Formatting tweaks.
* src/nautilus-theme-selector.c:
(get_theme_description_and_display_name): Formatting tweaks.
2001-02-14 Michael Engber <engber@eazel.com>
reviewed by: Gene Z. Ragan <gzr@eazel.com>
* libnautilus-extensions/nautilus-stock-dialogs.c:
(timed_wait_delayed_close_destroy_dialog_callback),
(timed_wait_delayed_close_timeout_callback), (timed_wait_free),
(timed_wait_dialog_destroy_callback), (timed_wait_callback),
(nautilus_timed_wait_start_with_duration),
(nautilus_timed_wait_stop):
Non-cancellable timed wait dialogs do not free the timed wait
when the dialog is dismissed - instead they wait for the call to
timed_wait_stop to do it - otherwise the call to timed_wait_stop
asserts. Removed superfluous argument in timed_wait_callback.
When timed wait dialog remaining up due to minimum uptime feature
are closed by the user, we now cancel the pending timeout that
would close them without user intervention.
2001-02-14 Eskil Heyn Olsen <eskil@eazel.com>
reviewed by: Robey Pointer <robey@eazel.com>
* components/services/install/lib/eazel-install-logic2.c:
(eazel_install_check_existing_packages),
Final fix for 3511, if multiple packages with same name are
already installed, and more than one passes verify, fail
operation.
(install_packages),
(uninstall_packages):
call softcat reset db update mjick.
* components/services/install/lib/eazel-softcat.h:
* components/services/install/lib/eazel-softcat-private.h:
* components/services/install/lib/eazel-softcat.c:
(eazel_softcat_initialize),
(eazel_softcat_reset_server_update_flag),
(eazel_softcat_error_string), (eazel_softcat_query):
Code to make get_info return a enum indicating that the db was
updated since last time.
Also a code to reset the flag.
2001-02-14 Robin * Slomkowski <rslomkow@eazel.com>
* nautilus.spec.in: added support for scrollkeeper
this also requires having the scrollkeeper package
to run, have not added that dependancy as it is not
easily available.
2001-02-14 Gene Z. Ragan <gzr@eazel.com>
reviewed by: Mike Engber <engber@eazel.com>
Fixed bug 6606, only show user-mountable volumes in Disks menu.
Look for options "user" or "owner" instead of "noauto"
to determine if volume if removable.
* libnautilus-extensions/nautilus-volume-monitor.c:
(volume_is_removable), (close_error_pipe):
2001-02-14 Eric Fischer <eric@eazel.com>
* nautilus-installer/install-lib/Makefile.am:
Gmake seems to have trouble recognizing .c -> .o dependencies
when the .c files don't appear until after the make has begun,
so explicitly add the rpm3 and rpm4 dependencies.
2001-02-13 Eskil Heyn Olsen <eskil@eazel.com>
reviewed by: Robey Pointer <robey@eazel.com>
* components/services/install/command-line/eazel-alt-install-corba.
c: (eazel_file_conflict_check_signal),
(eazel_file_uniqueness_check_signal),
(eazel_feature_consistency_check_signal), (something_failed),
(eazel_preflight_check_signal), (dep_check), (md5_check_failed),
(delete_files):
Added --silent, suppresses random spewage.
Added autocont, so if there was multiple problems, answering y to
first "continue y/n ?" will answer y to all.
Fixed for the modified preflight signal.
* components/services/install/lib/eazel-install-corba-types.c:
(corba_packagedatastruct_fill_from_packagedata),
(packagedata_from_corba_packagedatastruct):
* components/services/install/lib/eazel-install-corba-callback.c:
(impl_preflight_check), (eazel_install_callback_class_initialize):
* components/services/install/lib/eazel-install-corba-callback.h:
* components/services/install/idl/trilobite-eazel-install.idl:
Changed preflight to take the operation type as argument.
Added modification status to the corba version of package data.
* components/services/install/lib/eazel-install-logic2.c:
(prune_failed_packages_helper),
(eazel_install_check_existing_packages), (get_softcat_info),
(is_satisfied), (check_dependencies_foreach),
(do_file_conflict_check), (execute),
(eazel_uninstall_upward_traverse), (install_packages):
Fixed bug 3511, 4502 (libeazelinstall part, view still needs
stuff).
* components/services/install/lib/eazel-install-public.h:
* components/services/install/lib/eazel-install-object.c:
(eazel_install_install_packages), (eazel_install_init_transaction),
(eazel_install_emit_preflight_check_default):
More debug spewage.
Fixed cut'n'paste bug in init_transaction.
Updated preflight signal.
* components/rpmview/nautilus-rpm-view-install.c
* components/services/install/nautilus-view/nautilus-service-install-view.c
Updated preflight signal.
* components/services/install/lib/eazel-install-problem.h:
* components/services/install/lib/eazel-install-problem.c:
(get_detailed_messages_breaks_foreach),
(get_detailed_messages_foreach), (compare_problem_case),
(add_continue_with_flag_case), (add_force_install_both_case),
(add_force_remove_case), (get_detailed_cases_foreach),
(eazel_install_problem_case_to_string),
(eazel_install_problem_case_foreach_destroy),
(build_categories_from_problem_list),
(eazel_install_problem_step_problem), (eazel_install_problem_done),
(eazel_install_problem_wait_for_completion),
(eazel_install_problem_handle_cases):
s/Fuckup/Feature dependency/
Lots of improvement.
Change some cases.
Did stuff...
Added cases of "cancelling package", "continue with flag",
"invalid".
Made EazelInstallProblem wait for the operation to complete, as
not to confuse the service object by starting it and resetting
values.
* components/services/install/lib/eazel-package-system-types.h:
* components/services/install/lib/eazel-package-system.c:
(eazel_package_system_is_installed), (eazel_package_system_verify):
* components/services/install/lib/eazel-package-system.h:
* components/services/install/lib/eazel-package-system-private.h:
* components/services/install/lib/eazel-package-system-rpm3-private
.h:
* components/services/install/lib/eazel-package-system-rpm3.c:
(rpmmonitorpiggybag_new), (eazel_package_system_rpm3_verify_impl),
(eazel_package_system_rpm3_verify):
* components/services/install/lib/eazel-package-system-skeleton.c:
(eazel_package_system_skeleton_verify):
Fixed 6494, also made verify return boolean, propageted change
down throughout the hierachy.
* components/services/install/lib/eazel-package-system-types.c:
(eazel_install_gtk_marshal_BOOL__ENUM_POINTER_INT_INT):
New signal for preflight.
2001-02-14 Eric Fischer <eric@eazel.com>
This is a bunch of changes leading up to Bug 6515, so
the installer can get built by just an extra flag to
configure rather than its own script.
* Makefile.am:
Add nautilus-installer to SUBDIRS
* acconfig.h:
Add ENABLE_INSTALLER to things that can be configured
* configure.in:
Add --enable-installer command line flag. Set PACKAGE_SYSTEM_OBJECT
and PACKAGE_SYSTEM_SOURCE based on whether rpm 3 or 4 is installed.
Create nautilus-installer Makefiles
* nautilus-installer/Makefile.am:
Remove things that Robey said were no longer used. Add libtrilobite
and install-lib to SUBDIRS that need to be built.
* nautilus-installer/install-lib/Makefile.am:
New Makefile that builds a second copy of the installer libraries
with weird flags as needed by the installer.
* nautilus-installer/libtrilobite/Makefile.am:
New Makefile that builds a second copy of the trilobite libraries
with weird flags as needed by the installer.
* nautilus-installer/src/Makefile.am:
Do in the Makefile what formerly had been done in link.sh (build
the installer, and create a self-extracting version of it).
* nautilus-installer/src/create-eazel-installer.sh:
Script, adapted from what's in link.sh, to create a self-extracting
installer.
2001-02-14 Josh Barrow <josh@eazel.com>
* README:
Made a few changes to URLs and a couple of places where things wer
worded in odd ways.
2001-02-14 John Sullivan <sullivan@eazel.com>
Fixed bug 2917 (Wrong capitalization in "Lay Out" menu)
* src/file-manager/nautilus-icon-view-ui.xml:
Verafied the capitalization.
2001-02-14 Gene Z. Ragan <gzr@eazel.com>
Fixed bug 6465, Music view buttons stretch for songs with
very long titles.
* components/music/nautilus-music-view.c: (add_play_controls):
Set the pack box flag so that the buttons don't expand.
2001-02-14 Laszlo Kovacs <laszlo.kovacs@sun.com>
* components/help/hyperbola_top_doc_tree_populate.h:
components/help/hyperbola-filefmt.c:
components/help/hyperbola-nav-tree.c:
(ctree_populate_subnode, ctree_populate,
hyperbola_navigation_tree_new,
hyperbola_navigation_tree_load_location,
hyperbola_navigation_tree_select_row):
Toplevel docs put into a separate ctree in
the GUI of the help sidebar if Scrollkeeper
is enabled.
Note that this is not the final GUI, only the widget
layout is right, the look will be changed by somebody
who knows more gtk than me. Dan Mueth tries to find the
right person.
2001-02-14 Ramiro Estrugo <ramiro@eazel.com>
* librsvg/Makefile.am: Move $(FREETYPE2_CFLAGS) all the way to the
top of $(INCLUDES), so that if there are multiple versions of
freetype installed in the build machine, then we will catch only
the one we are interested in.
2001-02-14 Kjartan Maraas <kmaraas@gnome.org>
* configure.in: Added Norwegian (nynorsk) to ALL_LINGUAS.
2001-02-14 Ramiro Estrugo <ramiro@eazel.com>
* libnautilus-extensions/nautilus-viewport.c:
(nautilus_viewport_set_never_smooth):
Fix a very dumb typo with the last commit. Thanks for
JP Rosevear <jpr@ximian.com> for spotting this.
2001-02-14 Ramiro Estrugo <ramiro@eazel.com>
* nautilus.spec.in:
Require 'freetype >= 2.0' not 'freetype2 >= 2.0'
2001-02-14 Ramiro Estrugo <ramiro@eazel.com>
reviewed by: JP Rosevear <jpr@ximian.com>
* libnautilus-extensions/nautilus-viewport.c:
(nautilus_viewport_initialize), (nautilus_viewport_realize),
(nautilus_viewport_set_is_smooth),
(nautilus_viewport_get_is_smooth),
(nautilus_viewport_set_never_smooth):
Make sure the "never_smooth" and "is_smooth" attributes work as
advertised. Make the "never_smooth" attribute default to TRUE,
since that makes it work with more gtk widgets.
* src/nautilus-property-browser.c:
(nautilus_property_browser_initialize),
(nautilus_property_browser_update_contents):
Set the "never_smooth" attribute of the viewports to FALSE so that
the can be smooth.
2001-02-13 Ramiro Estrugo <ramiro@eazel.com>
* test/test-nautilus-glyph.c: (main):
* test/test-nautilus-label-simple.c: (main):
Two very tiny tweaks to help debug clipping bugs.
2001-02-13 Ramiro Estrugo <ramiro@eazel.com>
reviewed by: Rebecca Schulman <rebecka@eazel.com>
* libnautilus-extensions/nautilus-gdk-pixbuf-extensions.c:
(nautilus_gdk_pixbuf_new_from_pixbuf_sub_area),
(nautilus_gdk_pixbuf_new_from_existing_buffer):
* libnautilus-extensions/nautilus-gdk-pixbuf-extensions.h:
New function to create a pixbuf from an existing buffer and clip
area.
2001-02-13 Robey Pointer <robey@eazel.com>
* Makefile.am:
Add nautilus-installer to EXTRA_DIST to fix tinderbox breakage.
2001-02-13 Rebecca Schulman <rebecka@eazel.com>
reviewed by: Seth Nickell <seth@eazel.com>
Fix bugzilla.eazel.com bug 6417, that the indexing
information dialog should not be shown if indexing is
disabled or blocked.
* src/file-manager/nautilus-indexing-info.c: (dialog_close_cover),
(show_index_progress_dialog), (show_reindex_request_dialog),
(show_indexing_info_dialog):
Add new dialogs for the case when indexing is off,
and close each dialog in the case where the status of indexing
changes.
2001-02-13 Ramiro Estrugo <ramiro@eazel.com>
reviewed by: Arik Devens <arik@eazel.com>
* libnautilus-extensions/Makefile.am:
* libnautilus-extensions/nautilus-label.c:
* libnautilus-extensions/nautilus-icon-canvas-item.c:
* libnautilus-extensions/nautilus-scalable-font.c:
* libnautilus-extensions/nautilus-scalable-font.h:
* libnautilus-extensions/nautilus-text-layout.c:
* libnautilus-extensions/nautilus-text-layout.h:
* test/test-nautilus-font.c:
Move the text layout code to its own place. No real code changes.
2001-02-13 Andy Hertzfeld <andy@eazel.com>
reviewed by: Arik Devens <arik@eazel.com>
* src/nautilus-property-browser.c: (add_pattern_to_browser):
fixed bug 6554, typing random text into the background selector
crashes, by adding a check for a valid path and displaying an
error dialog if the path isn't valid.
2001-02-13 Arik Devens <arik@eazel.com>
reviewed by: Andy Hertzfeld <andy@eazel.com>
Fixed bug 6582, Editing location bar crashes Nautilus, leaves
spurious text.
Fixed duplicate bug 6585, Nautilus crashed if type "~/asdfasdf" in
location bar.
* src/nautilus-location-bar.c: (try_to_expand_path): Removed
spurious g_free that was causing massive breakage.
2001-02-13 John Sullivan <sullivan@eazel.com>
reviewed by: Darin Adler <darin@eazel.com>
Fixed bug 6385 (Properties window doesn't set/display
icon correctly for Nautilus link files)
Now the Properties window keeps around an "original
file" and a "target file", which are currently the
same for all files except Nautilus links. The original
file is used to display/set the icon & name. (So you
can edit the name of your Home icon in the properties
window now also.)
* src/file-manager/fm-properties-window.c:
Renamed details->file to details->target_file. Added
details->original_file. Removed two details fields
that were unused.
(directory_contents_value_field_update),
(attach_directory_contents_value_field),
(update_visibility_of_item_count_fields),
(should_show_custom_icon_buttons), (should_show_file_type),
(should_show_accessed_date), (should_show_mime_type),
(create_emblems_page),
(append_special_execution_checkbox), (create_permissions_page),
(should_show_emblems), (should_show_permissions),
(real_shutdown):
Updated for name change only.
(create_basic_page): Use original file for icon & name widgetry.
(startup_data_new), (startup_data_free): New functions used to
manipulate the data needed before a Properties window object
exists for a given file.
(create_properties_window): Reworked to use StartupData and set up
both target_file and original_file.
(get_target_file): Renamed from get_and_ref_file_to_display.
(create_properties_window_callback): Reworked to use StartupData;
slight reordering due to object lifetime issues.
(cancel_create_properties_window_callback),
(directory_view_destroyed_callback), (remove_pending_file),
(fm_properties_window_present):
Reworked to use StartupData.
(real_destroy): clean up after original_file and target_file.
(set_icon_callback): Use original_file.
(select_image_button_callback),
(remove_image_button_callback): Changed signatures to take
FMPropertiesWindows instead of NautilusFiles; use original_file.
2001-02-13 Michael Engber <engber@eazel.com>
reviewed by: John Sullivan
* libnautilus-extensions/nautilus-directory-metafile.c:
(nautilus_directory_set_file_metadata_list):
Fix call to CORBA_sequence_set_release on the wrong
(non-CORBA) list - bug 6575.
2001-02-13 Darin Adler <darin@eazel.com>
reviewed by: John Sullivan <sullivan@eazel.com>
Fix bug 6408 (nautilus_view_report_load_failed causes Nautilus to
segfault in an idle callback):
* libnautilus/nautilus-idle-queue.c: (execute_queued_functions),
(nautilus_idle_queue_destroy): Changed the idle queue so it can
handle being destroyed while inside one of the queued functions.
Fix bug 6402 (Click desktop icon -> Nautilus window not moved to
front):
* src/nautilus-window-manage-views.c: (open_location): Bring the
existing window up when it's reused in the "open icon on desktop"
in single-window mode.
Other changes:
* libnautilus-extensions/nautilus-icon-factory.c:
(is_theme_in_user_directory): Rename from "check_local_theme"
and changed it to use a normal function result instead of taking
a gboolean pointer.
(set_theme): Use new function and booleans by their new names.
"in_user_directory" instead of "local".
(make_full_icon_path): Just the name change.
(get_themed_icon_file_path): Take a boolean parameter instead of
trying to figure out if the theme is in the user directory, because
the old way would get it wrong for the default theme.
(get_icon_file_path): Pass in the boolean to say if the theme is
in the user directory or not.
* libnautilus-extensions/nautilus-string.h: Remove repeated
declaration for nautilus_str_get_prefix.
(These not reviewed:)
* librsvg/rsvg-ft.c: (rsvg_ft_glyph_evict): Fix code that was
looking at the "prev" pointer of a victim after freeing it. Also
made some other code simplifications.
* src/nautilus-theme-selector.c:
(render_theme_name_and_description): Added an explicit call to
gtk_widget_realize before grabbing the style field and expecting
it to have gc's in it. Not sure why no one ran into this before.
2001-02-13 Eric Fischer <eric@eazel.com>
* configure.in:
Allow RPM 4.* instead of only 4.0
2001-02-13 Andy Hertzfeld <andy@eazel.com>
* components/text/nautilus-text-view.c: (add_services_to_menu),
(nautilus_text_view_build_service_menu):
made the text view look for services in the updates folder, so we
can add new services in the same fashion as bookmarks. Also,
keep a list of the added service filenames so if the same service
is present in multiple directories, it only gets added once.
2001-02-13 Robin * Slomkowski <rslomkow@rslomkow.org>
* nautilus.spec.in: enabled make -k check
2001-02-13 Michael Engber <engber@eazel.com>
reviewed by: Darin Adler <darin@eazel.com>
* libnautilus-extensions/nautilus-directory-metafile.c:
(nautilus_directory_use_self_contained_metatfile_factory),
(get_metafile), (nautilus_directory_set_file_metadata_list):
* libnautilus-extensions/nautilus-directory-metafile.h:
* libnautilus-extensions/nautilus-metafile.c: (destroy),
(corba_get_list):
* src/nautilus-main.c: (main):
The metafile code now circumvents oaf when nautilus is performing
a self check - bug 6552.
2001-02-13 Robin * Slomkowski <rslomkow@rslomkow.org>
* nautilus.spec.in: re-enabled building...
2001-02-13 John Sullivan <sullivan@eazel.com>
Fixed bug 5647 (Control-left/right for keyboard focus
movement conflicts with Sawfish keyboard shortcuts)
* libnautilus-extensions/nautilus-icon-container.c:
(keyboard_move_to), (keyboard_space): Use Alt instead
of Control for keyboard focus movement and selection
toggling, per Don.
2001-02-13 Robin * Slomkowski <rslomkow@rslomkow.org>
* nautilus.spec.in: took make check out of here
* src/Makefile.am: re-enabled test target
2001-02-13 Ramiro Estrugo <ramiro@eazel.com>
reviewed by: Maciej Stachowiak <mjs@eazel.com>
* libnautilus-extensions/Makefile.am:
* libnautilus-extensions/nautilus-glyph.h:
* libnautilus-extensions/nautilus-glyph.c:
New class. A wrapper on RsvgGlyph that makes it simple and fast
to draw smooth text on pixbufs
* libnautilus-extensions/nautilus-clickable-image.c:
(nautilus_clickable_image_initialize_class),
(nautilus_clickable_image_realize):
Remove unrealize() method that was a noop.
* libnautilus-extensions/nautilus-debug-drawing.c:
(nautilus_debug_pixbuf_draw_point),
(nautilus_debug_pixbuf_draw_rectangle),
(nautilus_debug_pixbuf_draw_rectangle_inset):
* libnautilus-extensions/nautilus-debug-drawing.h:
Add some pixbuf drawing functions to debug clip areas in pixbufs.
* libnautilus-extensions/nautilus-image-table.c:
(nautilus_image_table_initialize_class),
(nautilus_image_table_remove):
Remove add() method that was a noop.
* test/.cvsignore:
* test/Makefile.am:
* test/test-nautilus-font-simple.c: (main):
* test/test-nautilus-font.c: (main):
* test/test-nautilus-glyph-simple.c: (glyph_new), (main):
* test/test-nautilus-glyph.c: (glyph_new), (main):
* test/test.c: (test_window_set_title_with_pid),
(test_pixbuf_draw_rectangle_tiled):
* test/test.h:
New NautilusGlyph tests. Also remove the broken pixbuf drawing
debug code. Use the debugging code in nautilus-debug-drawing.[ch]
instead.
2001-02-13 Arik Devens <arik@eazel.com>
reviewed by: Maciej Stachowiak <mjs@eazel.com>
Fixed bug 5837, 'Home Location' preference should accept ~.
Fixed bug 6463, GNOME-VFS spews critical errors as you type an
incomplete path in the location bar.
Fixed bug 6478, nautilus crashes on ~somedir/ if that dir
doesn't exist.
Fixed bug 6506, Entering "~" in Add New Background Dialogue box
causes Nautilus to crash.
* libnautilus-extensions/nautilus-entry.c:
(nautilus_entry_initialize), (nautilus_entry_key_press): Added
setting of expand_tilde to FALSE. Added a slash case so that ~/
gets expanded to $(HOMEDIR).
* libnautilus-extensions/nautilus-entry.h: Added gboolean
expand_tilde to the NautilusEntry struct.
* libnautilus-extensions/nautilus-file-utilities.c:
(nautilus_make_uri_from_input): Added falling into default case
on ~'s if the dir doesn't exist so they end up at http://'s.
* libnautilus-extensions/nautilus-preferences-item.c:
(preferences_item_create_editable_string): Added special case
setting of expand_tilde to TRUE on the home dir preference box.
As well as a FIXME saying this should be dealt with later on.
* libnautilus-extensions/nautilus-text-caption.c:
(nautilus_text_caption_initialize), (entry_changed_callback),
(nautilus_text_caption_set_editable),
(nautilus_text_caption_set_expand_tilde): Changed
NautilusTextCaption to use NautilusEntry instead of GtkEntry.
Added function to set expand tilde on NautilusText Caption.
Updated set_editable to work with NautilusEntry.
* libnautilus-extensions/nautilus-text-caption.h: Added
nautilus_text_caption_set_expand_tilde function prototype.
* src/nautilus-location-bar.c: (try_to_expand_path),
(nautilus_location_bar_initialize): Added expanding of ~'s at
the beginning of the location to full path. Added setting of
expand_tilde to TRUE.
* src/nautilus-property-browser.c: (add_pattern_to_browser):
Added if statement to not attempt to do anything if the dir
chosen uses ~ do to gtk brokenness. Also added error dialog
that explains what happened to the user.
2001-02-13 Andy Hertzfeld <andy@eazel.com>
* src/nautilus-theme-selector.c:
(nautilus_theme_selector_initialize), (theme_style_set_callback),
(render_theme_name_and_description), (add_pixbuf_to_theme_list),
(add_theme):
fixed bug 5951, hard-coded geometry in the theme selector, by
implementing the design that Arlo wanted, with the theme name
above the theme description instead of in separate columns.
2001-02-12 Robey Pointer <robey@eazel.com>
reviewed by: Eskil Heyn Olsen <eskil@eazel.com>
* configure.in:
Move -lrpmio earlier in the RPM_LIBS line, because the bootstrap
installer is picky about it. Also, generate the installer's
Makefile during the 'configure' stage.
* nautilus-installer/src/Makefile.am:
Use predefined macros for most libraries (still keeping them to
the mininum) and get libtool/automake to do the heavy lifting part
of making a static binary.
* nautilus-installer/src/callbacks.c: (druid_cancel),
(druid_finish):
Try to avoid unref'ing or using the installer object during button
callbacks if it hasn't been created yet.
* nautilus-installer/src/installer.c: (eazel_installer_finalize):
Don't unref the service object, it causes assertions.
* nautilus-installer/src/link.sh:
Make it so that (at least for me) the bootstrap installer will
build on a RH70 system now.
2001-02-12 Robin * Slomkowski <rslomkow@eazel.com>
* src/Makefile.am: disabled "make check" by commenting
out the TEST directive
2001-02-12 John Harper <jsh@eazel.com>
reviewed by Michael Engber <engber@eazel.com>
Fix bug 6383 (Esc-cancel from icon stretching doesn't work on
desktop):
* libnautilus-extensions/nautilus-icon-container.c
(start_stretching): call nautilus_gdk_window_focus on the
toplevel widget of the icon container
2001-02-12 Robey Pointer <robey@eazel.com>
reviewed by: Eskil Heyn Olsen <eskil@eazel.com>
* src/nautilus-application.c: (nautilus_application_startup):
Follow --quit's lead and avoid unref'ing to avoid hanging.
* src/nautilus-shell.c: (restore_window_states):
Don't double-free the list elements in the restored window list
after restart.
2001-02-12 Robey Pointer <robey@eazel.com>
* components/services/install/lib/eazel-install-protocols.c:
(gnome_vfs_fetch_remote_file):
Erase the package if it didn't finish downloading.
* components/services/trilobite/libtrilobite/trilobite-core-messagi
ng.c:
Add <string.h> header for RH7.
* nautilus-installer/src/callbacks.c: (druid_cancel),
(druid_delete), (druid_finish):
* nautilus-installer/src/main.c: (main):
Clean up object unref'ing to quiet up the install lib's memory
checker. Don't hook up with the session manager.
* nautilus-installer/src/installer.c: (eazel_download_progress),
(eazel_install_preflight), (check_system),
(eazel_installer_finalize), (eazel_installer_set_default_texts),
(eazel_installer_initialize):
* nautilus-installer/src/installer.h:
* nautilus-installer/src/link.sh:
Change the no-RH7 message into RH6 and RH7 specific messages, so
we can build one installer for each platform. Don't ask to delete
files if none were downloaded.
2001-02-12 Ramiro Estrugo <ramiro@eazel.com>
reviewed by: Darin Adler <darin@eazel.com>
* libnautilus-extensions/nautilus-gtk-extensions.h:
* libnautilus-extensions/nautilus-gtk-extensions.c:
(while_realized_disconnecter),
(nautilus_gtk_signal_connect_while_realized):
New function to connect to a signal of an object while a widget is
realized.
(while_realized_disconnecter): Changed signature to be void - no
need to return a value here. As such, the GTK_SIGNAL_FUNC casts
are no longer needed.
* libnautilus-extensions/nautilus-clickable-image.c:
(nautilus_clickable_image_realize),
(nautilus_clickable_image_unrealize):
Use nautilus_gtk_signal_connect_while_realized so that we dont
have to keep track of the signal ids and ancestor widget.
* libnautilus-extensions/nautilus-image-table.c:
(nautilus_image_table_realize), (nautilus_image_table_unrealize):
Use nautilus_gtk_signal_connect_while_realized so that we dont
have to keep track of the signal ids and ancestor widget.
* test/test-nautilus-clickable-image.c: (main):
Add a windowed ancestor inbetween in order to test
nautilus_gtk_signal_connect_while_realized.
2001-02-12 Mike Fleming <mfleming@eazel.com>
reviewed by: <ramiro@eazel.com>
* components/mozilla/nautilus-mozilla-content-view.c:
(view_load_location_callback), (mozilla_net_stop_callback),
(mozilla_link_message_callback), (mozilla_progress_callback),
(mozilla_dom_mouse_click_callback), (vfs_read_callback),
(update_nautilus_uri), (dispatch_report_location_change),
(dispatch_report_load_complete):
Bug 6436: Throbber wasn't thobbing on mozilla-to-mozilla navigation.
Confirmed with Darin: call report_load_underway and report_load_complete
in case where report_location_changed is used.
2001-02-12 John Harper <jsh@eazel.com>
* src/nautilus-application.c (set_session_restart): set the
restart command to be `nautilus --no-default-window'
2001-02-12 Ian McKellar <ian@eazel.com>
* configure.in:
Updated the check to check for RPM 3.0.5 not 3.0.4.
2001-02-12 Gene Z. Ragan <gzr@eazel.com>
Turn off repawn behavior in debug mode at request of Andy.
* src/nautilus-application.c: (set_session_restart):
Check for debug environment variable.
2001-02-12 Robin * Slomkowski <rslomkow@eazel.com>
* nautilus.spec.in: merged changes from branch into
head BUG 6067
2001-02-11 Michael K. Fleming <mfleming@eazel.com>
reviewed by: <sullivan@eazel.com>
Bug 5961: Starting nautilus with path to local HTML file
causes images not to load.
The problem here was that any argument specified on the commandline
was being passed directly into Nautilus and its components as a
valid URI. Added pre-processing to commandline arguments, including
ability to handle relative file pathnames. (so you can do "nautilus ."
to open a window on the current directory)
* libnautilus-extensions/nautilus-file-utilities.c:
(file_uri_from_local_relative_path),
(nautilus_make_uri_from_shell_arg), (is_uri_partial),
(remove_internal_relative_components),
(nautilus_uri_make_full_from_relative),
(nautilus_self_check_file_utilities):
* libnautilus-extensions/nautilus-file-utilities.h:
* src/nautilus-application.c:
(nautilus_make_uri_list_from_shell_strv),
(nautilus_application_startup):
2001-02-12 Rebecca Schulman <rebecka@eazel.com>
Fix bugzilla.eazel.com bug 4962 that open with
mpg123 fails. The problem was a check for
a file uri that had its logic backwards
reviewed by: Mike Engber <engber@eazel.com>
* libnautilus-extensions/nautilus-program-choosing.c:
(nautilus_launch_application):
Change if (file_uri) to if (!file_uri)
2001-02-12 Michael Engber <engber@eazel.com>
reviewed by: John Sullivan
* libnautilus-extensions/nautilus-directory-async.c:
(metafile_read_mark_done), (metafile_read_done_callback):
* libnautilus-extensions/nautilus-directory-metafile.c:
(free_factory), (get_metafile),
(nautilus_directory_get_file_metadata),
(nautilus_directory_get_file_metadata_list),
(nautilus_directory_set_file_metadata),
(nautilus_directory_set_file_metadata_list),
(nautilus_directory_copy_file_metadata),
(nautilus_directory_remove_file_metadata),
(nautilus_directory_rename_file_metadata):
* libnautilus-extensions/nautilus-directory-metafile.h:
* libnautilus-extensions/nautilus-directory.c:
(nautilus_directory_destroy):
* libnautilus-extensions/nautilus-metafile-factory.c:
(free_factory_instance):
* libnautilus-extensions/nautilus-metafile-factory.h:
* libnautilus-extensions/nautilus-metafile-server.idl:
* libnautilus-extensions/nautilus-metafile.c: (destroy),
(corba_get), (corba_get_list), (corba_set), (corba_set_list),
(corba_copy), (corba_remove), (corba_rename),
(get_or_add_directory_monitor_list_entry),
(remove_directory_monitor_list_entry), (find_monitor_link),
(corba_register_monitor), (corba_unregister_monitor),
(get_metadata_from_node), (get_metadata_list_from_node),
(create_metafile_root), (get_file_node),
(get_metadata_string_from_metafile),
(get_metadata_list_from_metafile),
(set_metadata_string_in_metafile), (set_metadata_list_in_metafile),
(metadata_value_new), (metadata_value_new_list),
(metadata_value_destroy), (metadata_value_equal),
(set_metadata_in_metafile), (get_metadata_string_from_table),
(get_metadata_list_from_table), (str_or_null_hash),
(str_or_null_equal), (set_metadata_eat_value),
(free_file_table_entry), (free_directory_table_entry),
(destroy_metadata_changes_hash_table), (destroy_xml_string_key),
(nautilus_metafile_destroy), (get_file_metadata),
(get_file_metadata_list), (set_file_metadata),
(set_file_metadata_list), (rename_file_metadata),
(apply_one_change), (apply_file_changes), (apply_one_file_changes),
(nautilus_metafile_apply_pending_changes), (copy_file_metadata),
(remove_file_metadata), (nautilus_metafile_set_metafile_contents):
* libnautilus-extensions/nautilus-metafile.h:
* src/nautilus-application.h:
Metadata setting/getting is now done via CORBA so that
out of process components stay in sync. bug 5958
2001-02-12 Ramiro Estrugo <ramiro@eazel.com>
reviewed by: John Sullivan <sullivan@eazel.com>
* src/nautilus-property-browser.c:
(make_properties_from_directories):
Dont free the object name so soon. Its needed to determine where
to put the reset and erase objects.
2001-02-12 Rebecca Schulman <rebecka@eazel.com>
Fix bug 6333, that a warning about not finding
unindexed files should not be displayed if the
backup search is turned on.
reviewed by: John Sullivan <sullivan@eazel.com>
* libnautilus-extensions/nautilus-global-preferences.h:
Leave a note that we should change the SEARCH_METHOD
name to be more clear about what the preference is for
(whether or not we do a slow background search)
* src/file-manager/fm-search-list-view.c: (load_location_callback):
Check the SEARCH_METHOD preference
2001-02-12 John Sullivan <sullivan@eazel.com>
reviewed by: Gene Z. Ragan <gzr@eazel.com>
Fixed bug 6500 (tighter layout option not saved).
It actually was being saved, it was just being clobbered back to
off every time a directory was loaded.
* src/file-manager/fm-icon-view.c: (fm_icon_view_begin_loading):
Moved the tighter-layout setting code up one line and refined
comments to explain why.
2001-02-12 Robey Pointer <robey@eazel.com>
* components/services/install/lib/eazel-install-logic2.c:
(do_dep_check_internal), (install_packages_helper):
Make the dep-check logic bail out early if the user has cancelled
the install. (It's possible to get the async "stop" callback
during a package info fetch, I found out the hard way...)
* components/services/install/lib/eazel-install-protocols.c:
(http_fetch_remote_file):
Make get_failed into an official bool, since it acts like one
already.
* components/services/install/nautilus-view/nautilus-service-instal
l-view.c: (nautilus_service_install_dependency_check),
(nautilus_service_need_password),
(service_install_stop_loading_callback):
Treat aborted password dialog as a cancel, not a failure. Fix
abort callback so it doesn't loop endlessly in a GTK event
handling cycle on fast downloads.
2001-02-11 Ramiro Estrugo <ramiro@eazel.com>
* test/.cvsignore:
* test/Makefile.am:
* test/test-nautilus-wrap-table.c: (main):
New NautilusWrapTable test.
2001-02-11 Ramiro Estrugo <ramiro@eazel.com>
* test/test-nautilus-clickable-image.c: (main):
* test/test-nautilus-labeled-image.c: (button_callback),
(labeled_image_button_window_new):
A tiny bit more debug code.
2001-02-11 Ramiro Estrugo <ramiro@eazel.com>
* applets/preferences-applet/nautilus-preferences-applet.c:
(user_level_changed_callback), (main):
Make toggle buttons insensitive on novice user level.
2001-02-11 Ramiro Estrugo <ramiro@eazel.com>
* libnautilus-extensions/nautilus-viewport.h:
* libnautilus-extensions/nautilus-viewport.c:
(nautilus_viewport_draw), (nautilus_viewport_expose_event),
(nautilus_viewport_realize), (nautilus_viewport_set_is_smooth),
(nautilus_viewport_get_is_smooth): Add public is_smooth getter.
(nautilus_viewport_set_never_smooth): Add a 'never_smooth'
attribute.
2001-02-11 Ramiro Estrugo <ramiro@eazel.com>
* libnautilus-extensions/nautilus-customization-data.h:
Add comment clarifying API changes I made in my last checkin.
* src/file-manager/fm-properties-window.c: (create_emblems_page):
Remove some left over code from when the emblems table was hard
coded to 2 columns.
* src/nautilus-property-browser.c:
(make_properties_from_directories):
Fix a small memory leak.
2001-02-11 John Fleck <jfleck@inkstain.net>
reviewed by: Ali Abdin <aliabdin@aucegypt.edu>
* components/help/converters/gnome-db2html2/gdb3html.h
* components/help/converters/gnome-db2html2/sect-elements.c
* components/help/converters/gnome-db2html2/sect-elements.h
* components/help/converters/gnome-db2html2/sect-preparse.c
* components/help/converters/gnome-db2html2/toc-elements.c
add support for <bridgehead> tag in DocBook, fix bug #6492
2001-02-11 Rebecca Schulman <rebecka@eazel.com>
reviewed by: Mathieu Lacage <mathieu@gnome.org>
* cut-n-paste-code/widgets/nautilusclist/nautilusclist.c: Use
binary instead of linear search to find the right insert new row
into a sorted clist. This is part of addressing bug 6290
2001-02-10 Andy Hertzfeld <andy@eazel.com>
* src/nautilus-sidebar.c: (add_command_buttons),
(empty_trash_callback),
(nautilus_sidebar_trash_state_changed_callback),
(nautilus_sidebar_update_buttons):
fixed bug 6052, sidebar needs empty trash button when showing
trash: directory
2001-02-09 Ramiro Estrugo <ramiro@eazel.com>
reviewed by: Maciej Stachowiak <mjs@eazel.com>
* libnautilus-extensions/nautilus-image-table.c:
(image_table_handle_motion), (ancestor_button_press_event),
(ancestor_button_release_event):
Ignore insensitive widgets when doing the event thing.
* src/nautilus-property-browser.c:
(make_properties_from_directories):
Add an extra empty space between the erase emblem and the next to
make it stand out more. Cleanup property image creation a tiny bit.
2001-02-09 Robey Pointer <robey@eazel.com>
* po/POTFILES.in:
Fix build bustage by removing the two missing install-lib files
from POTFILES.in.
2001-02-09 Ramiro Estrugo <ramiro@eazel.com>
reviewed by: Robey Pointer <robey@eazel.com>
* libnautilus-extensions/Makefile.am:
* libnautilus-extensions/nautilus-region.c:
* libnautilus-extensions/nautilus-region.h:
New class for super easy region management using rectangle.
* libnautilus-extensions/nautilus-art-gtk-extensions.h:
* libnautilus-extensions/nautilus-art-gtk-extensions.c:
(nautilus_gdk_rectangle_assign_irect):
New function to convert ArtIRect to GdkRectangles.
* libnautilus-extensions/nautilus-customization-data.h:
* libnautilus-extensions/nautilus-customization-data.c:
(nautilus_customization_data_get_next_element_for_display):
Return pixbufs and labels for the object instead of widgets. This
is so that the caller can use the widget that best suits its
display needs.
* libnautilus-extensions/nautilus-image-table.h:
* libnautilus-extensions/nautilus-image-table.c:
(nautilus_image_table_initialize_class),
(nautilus_image_table_initialize),
(nautilus_image_table_expose_event),
(nautilus_image_table_realize), (nautilus_image_table_unrealize),
(nautilus_image_table_set_is_smooth_signal),
(image_table_foreach_child_subtract_content),
(image_table_clear_dirty_areas), (image_table_peek_clear_gc),
(image_table_emit_signal), (image_table_handle_motion),
(ancestor_button_press_event), (ancestor_button_release_event),
(nautilus_image_table_new), (nautilus_image_table_set_is_smooth),
(nautilus_image_table_set_smooth_background_color):
Add support for smoothnes. Register widget as a possible smooth
widget. When smoothness changes, we modify our background drawing
behavior such that in smooth mode we dont flicker at all.
Remove grab/ungrab pair that could screw up operations. Turns out
these are not needed.
Change event signal emissions to include more data from the raw
gdk events without exposing these.
* libnautilus-extensions/nautilus-image.c:
(nautilus_image_initialize_class):
Update for new smooth widget class registration scheme.
* libnautilus-extensions/nautilus-label.c:
(nautilus_label_initialize_class):
Update for new smooth widget class registration scheme.
* libnautilus-extensions/nautilus-labeled-image.h:
* libnautilus-extensions/nautilus-labeled-image.c:
(nautilus_labeled_image_size_allocate),
(nautilus_labeled_image_get_image_bounds),
(nautilus_labeled_image_get_label_bounds):
Make these two functions public.
* libnautilus-extensions/nautilus-smooth-widget.h:
* libnautilus-extensions/nautilus-smooth-widget.c:
(smooth_widget_type_list_free), (smooth_widget_list_free),
(widget_is_smooth), (nautilus_smooth_widget_register),
(nautilus_smooth_widget_register_type):
Add mechanism for registering types that are meant to be smooth.
That way we dont need to hardcode the list of smooth widget
classes. Also made sure to free the static lists at exit time.
* libnautilus-extensions/nautilus-viewport.h:
* libnautilus-extensions/nautilus-viewport.c:
(nautilus_viewport_initialize_class),
(nautilus_viewport_initialize), (nautilus_viewport_destroy),
(nautilus_viewport_draw), (nautilus_viewport_expose_event),
(nautilus_viewport_realize), (nautilus_viewport_paint),
(nautilus_viewport_set_is_smooth_signal), (nautilus_viewport_new),
(nautilus_viewport_set_is_smooth),
(nautilus_viewport_get_scroll_offset):
Add support for smoothness. When the is_smooth attribute changes,
the viewport will not clear the background on resize - and so its
content will not flicker.
Add function for querying the scroll offset.
* libnautilus-extensions/nautilus-wrap-table.h:
* libnautilus-extensions/nautilus-wrap-table.c:
(wrap_table_get_content_frame), (wrap_table_get_scroll_offset),
(nautilus_wrap_table_get_homogeneous),
(nautilus_wrap_table_reorder_child):
Fix a mod by zero error.
Add support for reordering children.
* src/file-manager/fm-properties-window.c: (create_emblems_page):
Simplify a bit by using NautilusWrapTable instead of a GtkTable
with a hard coded number of columns. The emblems now wrap to fit
the available space. Also use NautilusLabeledImages instead of
boxes. Update for changes in customization data api.
Remove check box painting workaround. Its taken care of in
NautilusLabeledImage now.
* src/nautilus-property-browser.c:
(nautilus_property_browser_initialize_class),
(nautilus_property_browser_initialize), (element_clicked_callback),
(nautilus_property_browser_preferences_changed),
(make_property_tile), (make_properties_from_directories),
(add_reset_property), (make_properties_from_xml_node),
(property_browser_category_button_new), (make_category_link),
(nautilus_property_browser_update_contents),
(emit_emblems_changed_signal):
Use a NautilusImageTable instead of a GtkTable to make things wrap
propertly and thus not have to recreate the whole property box
each time its resized. Remove a lot of hard coded dimensions.
Simplified a bit by using NautilusLabeledImages.
* src/nautilus-search-bar-criterion.c: (make_emblem_value_menu):
Update for changes in customization data api.
* test/test-nautilus-image-table.c: (labeled_image_new),
(foo_timeout), (image_table_size_allocate),
(image_table_new_scrolled):
Update for new image table features.
2001-02-09 Andy Hertzfeld <andy@eazel.com>
* src/nautilus-sidebar.c:
(nautilus_sidebar_active_panel_matches_id),
(nautilus_sidebar_remove_panel):
fixed bug 6005, help tab still left on sidebar after view is hidden,
by decrementing the active tab index when an earlier one is deleted,
and checking for NULL in active_panel_matches_id.
* components/rpmview/nautilus-rpm-view.c:
(nautilus_rpm_view_initialize),
(nautilus_rpm_view_update_from_uri):
made it use nautilus_image so the package image is anti-aliased
2001-02-09 John Sullivan <sullivan@eazel.com>
Fixed bug 5903 ("Tighter Layout" can't be changed in
manual layout, but affects Clean Up by Name)
* libnautilus-extensions/nautilus-icon-container.c:
(nautilus_icon_container_set_tighter_layout): When in
manual layout mode, invalidate label sizes and update
all items so the smaller caption width used for
tighter layout can take effect immediately.
* src/file-manager/fm-icon-view.c:
(update_layout_menus): Remove the code that was making
this item insensitive in manual layout.
2001-02-09 Robey Pointer <robey@eazel.com>
reviewed by: Eskil Heyn Olsen <eskil@eazel.com>
* components/services/install/idl/trilobite-eazel-install.idl:
* components/services/install/lib/eazel-install-corba-callback.c:
(eazel_install_callback_get_epv):
* components/services/install/lib/eazel-install-corba-types.c:
(corba_packagedatastruct_fill_from_packagedata),
(packagedata_from_corba_packagedatastruct):
Remove some cruft from the IDL that's not implemented anymore or
isn't being used by any of the clients.
* components/services/install/lib/eazel-install-metadata.c:
(eazel_install_configure_use_local_db):
* components/services/install/lib/eazel-install-metadata.h:
* components/services/install/lib/eazel-install-object.c:
(eazel_install_initialize):
* components/services/trilobite/doc/gconf.txt:
Make an opt-out for people who don't want the "can't get shared
lock" spam message scrolling endlessly on every install just
because RPM can't deal with NFS directories well.
* components/services/install/lib/makefile.staticlib.in:
Remove dead files from the bootstrap installer's makefile, and
make the package-system object be a var to be filled in later.
* components/services/install/nautilus-view/nautilus-service-instal
l-view.c: (nautilus_service_install_conflict_check),
(nautilus_service_install_downloading),
(nautilus_service_install_view_update_from_uri_finish),
(user_login_callback),
(nautilus_service_install_view_update_from_uri),
(nautilus_service_install_view_load_uri):
General cleanup, and the addition of the conflict_check signal
handler.
* nautilus-installer/src/Makefile:
* nautilus-installer/src/installer.c: (eazel_install_progress),
(conflict_check), (eazel_install_preflight),
(eazel_installer_initialize):
Add conflict check handler; fix 50% bug prior to downloading.
2001-02-09 John Sullivan <sullivan@eazel.com>
Fixed problems I ran into while trying to fix bug 5903,
which is about making "Tighter Layout" sensitive even
in manual layout, since it affects "Clean Up by Name"
* libnautilus-extensions/nautilus-icon-container.c:
(nautilus_icon_container_set_tighter_layout): Don't
re-sort when tighter layout setting changes if not
in auto_layout mode.
* src/file-manager/fm-icon-view.c:
(handle_radio_item): Don't assume that every id passed
to this routine is a sort ID; it might be a toggle
button's id. Use get_sort_criterion_by_id to distinguish.
(update_layout_menus): Added FIXME comment explaining
why "tighter layout" is insensitive in manual layout.
(set_sort_criterion_by_id): Check whether passed id is
a valid sort criterion; don't try to sort if not.
2001-02-09 Eskil Heyn Olsen <eskil@eazel.com>
reviewed by: Robey Pointer <robey@eazel.com>
Fix for 6190, reuse check_if_related. If a package being revived
is related to the broken (related by name and version diff), don't
ask softcat for an update, but ask for an exact version.
* components/services/install/lib/eazel-install-rpm-glue.c:
* components/services/install/lib/eazel-install-rpm-glue.h:
* components/services/install/lib/eazel-install-logic.c:
* components/services/install/lib/eazel-install-logic.h:
* components/services/install/lib/Makefile.am:
Removed rpm-glue and logic.
* components/services/install/lib/eazel-install-logic2.c:
(is_satisfied), (check_if_related_package), (check_tree_helper),
(download_packages):
is_satisfied checks name!=null before doing is_installed.
check_tree_helper now uses check_if_related before doing the
softcat_available_update. If the packages are related, use
get_info to get an exacat version (sense=EQ).
Moved check_if_related here
Output tuning...
* components/services/install/lib/eazel-install-object.c:
(eazel_install_emit_download_progress):
Woops, undid a comment about bug 6425
* components/services/install/lib/eazel-softcat.c:
(eazel_softcat_available_update):
Indention...
2001-02-08 John Harper <jsh@eazel.com>
reviewed by: Maciej Stachowiak <mjs@eazel.com>
Fix bug 4423 (when a folder that is expanded in the tree view
is renamed, it collapses)
* components/tree/nautilus-tree-model.h,
components/tree/nautilus-tree-model.c: added a new signal
`node_being_renamed'. Has two arguments, the old and new URIs
(report_node_changed): when the node is being renamed, use
report_node_removed_internal instead of report_node_removed so
we can avoid emitting the `node_removed' signal. Before doing
this, emit the new `node_being_renamed' signal
* components/tree/nautilus-tree-view.c
(nautilus_tree_view_insert_model_node): if the node is already
inserted in the tree, call nautilus_tree_view_update_model_node
(nautilus_tree_view_model_node_renamed_callback): connected to
the `node_being_renamed' signal, propagates the expansion state
from the old URI to the new one
Fix bug 4421 (Delete file while folder collapsed -> not
reflected in Tree View)
* components/tree/nautilus-tree-model.c
(nautilus_tree_model_monitor_node): if the node being monitored
is a directory, check if any of the files we think it contains
got moved away (e.g. while the node was collapsed)
2001-02-09 Andy Hertzfeld <andy@eazel.com>
* icons/i-directory-12.png:
* icons/i-directory-accept-12.png:
fixed bug 6338, folder moves to the right when highlighted,
by tweaking the associated images
* src/nautilus-sidebar-tabs.c: (nautilus_sidebar_tabs_hit_test):
consider the tab for hit-testing even if invisible
* src/nautilus-sidebar.c: (nautilus_sidebar_release_event):
fixed 3538, easier way to minimize active sidebar view, by
making it close the active view when you click on the space
its tab formerly occupied.
2001-02-09 Arlo Rose <arlo@eazel.com>
* icons/Makefile.am:
* icons/emblem-symbolic-link-12.png:
* icons/emblem-symbolic-link-24.png:
* icons/emblem-symbolic-link-36.png:
Made more link icons that will work at smaller zoom levels.
Fixes bug number 5988.
2001-02-09 John Sullivan <sullivan@eazel.com>
Fixed bug 6473 (counting deep contents of folder in Properties
window takes tons of CPU)
Fixed by deploying a timeout, so that the displayed numbers
only update periodically, instead of with every item count
increment. The interval is 200 milliseconds. This makes the
count faster as well as greatly reducing CPU thrashage by
not pounding on the poor widdle widgets so often.
* src/file-manager/fm-properties-window.c:
(directory_contents_value_field_update): Changed signature
to just take an FMPropertiesWindow, and get the other
relevant objects from the Details struct.
(update_directory_contents_callback): New function, updates
field and clears timeout ID.
(schedule_directory_contents_update): Schedules update if
not already pending.
(attach_directory_contents_value_field): Removed old hack
to store the title_field in the object data of the value
field; store value_field after creation in Details struct.
(append_directory_contents_fields): Store title_field after
creation in Details struct.
(real_destroy): Remove timeout if still pending.
2001-02-09 John Sullivan <sullivan@eazel.com>
Fixed part of bug 6462 (two error messages after doing search
in Red Hat 7). Now you should only get one error message.
Rebecca gets to figure out that one.
* src/file-manager/fm-search-list-view.c: (real_load_error),
(fm_search_list_view_initialize_class),
(fm_search_list_view_initialize): Now replaces function
pointer for load_error instead of attaching to signal, to
avoid triggering fm-directory-view's error-handling code
(which I recently added).
2001-02-09 John Sullivan <sullivan@eazel.com>
Fixed bug 6343 (timed-wait dialog is too narrow, often
clipping dialog title)
* libnautilus-extensions/nautilus-stock-dialogs.c:
(timed_wait_callback): Enforced a minimum width for timed-wait
windows. They look better now, and don't clip the titles
except with extremely long titles, for which the title-writer
should be flogged.
2001-02-09 Gene Z. Ragan <gzr@eazel.com>
Fixed bug 6453, Gnome VFS_CRITICAL received when dragging
nautilus link icons over each other.
* libnautilus-extensions/nautilus-drag.c:
(nautilus_drag_default_drop_action_for_icons):
* libnautilus-extensions/nautilus-icon-dnd.c:
(nautilus_icon_container_dropped_icon_feedback),
(nautilus_icon_dnd_end_drag):
2001-02-08 Robey Pointer <robey@eazel.com>
* components/mozilla/nautilus-mozilla-content-view.c:
(pre_widget_initialize):
Fix build bustage in Mozilla content view: profile_name ->
profile_directory_name.
2001-02-08 Eskil Heyn Olsen <eskil@eazel.com>
reviewed by: Robey Pointer <robey@eazel.com>
This commit fixed bugs:
5723 ei2: check that install_failed_signal was not called
5752 ei2: port the uninstall stuff to the new ei2
5753 ei2: port the revert stuff to ei2
5757 fix leaks in EazelProblemHander
5957 eazel-install cli tool no longer uninstalls nicely
6100 RPM4: don't handle dependencies called "rpmlib(.*)"
6173 ei2: finish conflict and feature breakage
6191 make revert work (ei2: resurrect transaction stuff)
* components/rpmview/nautilus-rpm-view-install.c:
(get_detailed_errors_foreach):
Updated for the CANCELLED status.
* components/services/install/command-line/eazel-alt-install-corba.
c: (eazel_preflight_check_signal):
Fixed an output string.
* components/services/install/idl/trilobite-eazel-install.idl:
Added the CANCELLED status.
uninstall_progress now has same signature as install_progress.
* components/services/install/lib/eazel-install-corba-callback.h:
* components/services/install/lib/eazel-install-corba-callback.c:
(impl_uninstall_progress),
(eazel_install_callback_class_initialize):
uninstall_progress now has same signature as install_progress.
* components/services/install/lib/eazel-install-corba-types.c:
(corba_packagedatastruct_fill_from_packagedata),
(traverse_packagetree_md5), (corba_packagedatastruct_fill_deps),
(packagedata_from_corba_packagedatastruct),
(packagedata_tree_from_corba_packagedatastructlist),
(categorydata_list_from_corba_categorystructlist):
Added the CANCELLED status.
Commented out sending ->provides in signals.
Added some g_asserts to find a bug.
categorydata_list_from_corba_categorystructlist uses
packagedata_list_from_corba_packagedatastructlist.
* components/services/install/lib/eazel-install-logic.h:
* components/services/install/lib/eazel-install-logic.c:
(eazel_install_start_transaction), (dump_one_package),
(compare_break_to_package_by_name),
(eazel_uninstall_upward_traverse),
(eazel_uninstall_downward_traverse):
Threw out most of the old code. Keeping logic.c untill 6190 is
closed.
* components/services/install/lib/eazel-install-logic2.c:
(dump_tree_helper), (check_md5_on_files), (is_satisfied),
(check_tree_helper), (execute), (set_toplevel),
(get_packages_with_mod_flag), (check_uninst_vs_downgrade),
(debug_revert), (compare_break_to_package_by_name),
(eazel_uninstall_upward_traverse),
(eazel_uninstall_check_for_install), (eazel_uninstall_globber),
(install_packages), (uninstall_packages), (revert_transaction):
Moved revert and uninstall into logic2.c and updated them
appropriately.
Added paranoia check in case bad xml dependency has a version but
an senseless sense.
When reviving, set parent->topleve to TRUE, not revived package.
Revived the transaction stuff (for revert).
Don't allow a package to depend on a package of the same name,
this is often a problem during softcat updates.
* components/services/install/lib/eazel-install-public.h:
* components/services/install/lib/eazel-install-private.h:
* components/services/install/lib/eazel-install-object.c:
(eazel_install_finalize), (eazel_install_start_signal),
(eazel_install_end_signal), (eazel_install_progress_signal),
(eazel_install_failed_signal), (eazel_install_class_initialize),
(eazel_install_initialize), (eazel_install_install_packages),
(eazel_install_uninstall_packages),
(eazel_install_revert_transaction_from_xmlstring),
(eazel_install_do_transaction_save_report_helper),
(eazel_install_save_transaction_report),
(eazel_install_init_transaction),
(eazel_install_emit_uninstall_progress),
(eazel_install_emit_uninstall_progress_default),
(eazel_install_emit_download_progress):
uninstall_progress now has same signature as install_progress.
Fixed some dumb bugs in install/uninstall progress emission.
Added some lists to check on install status.
Moved some of the transaction stuff from logic.c here.
* components/services/install/lib/eazel-install-problem.c:
(get_detailed_messages_foreach),
(get_detailed_uninstall_messages_foreach),
(get_detailed_cases_foreach),
(get_detailed_uninstall_cases_foreach),
(eazel_install_problem_tree_to_case),
(eazel_install_problem_tree_to_string),
(build_categories_from_problem_list):
Updated again for the new PackageBreaks objects.
Fixed so cli uninstall works nice again.
Added the CANCELLED status.
The problem handler is deteriorating, either we use it or we scrap
it.
* components/services/install/lib/eazel-package-system-rpm3.c:
(rpmmonitorpiggybag_new),
(eazel_package_system_rpm3_set_mod_status),
(monitor_rpm_process_pipe_percent_output),
(eazel_package_system_rpm3_packagedata_fill_from_header),
(eazel_package_system_rpm3_set_state),
(eazel_package_system_rpm3_execute), (check_if_all_packages_seen),
(eazel_package_system_rpm3_install_uninstall):
Don't spam about the locales decimal seperator.
Set modification status after handling a package, so transaction
logs make sense.
Don't accept requirements of type "rpmlib(.*".
Ability to set all packages to CANCELLED if root helper failed
login.
If TEST is set, fake success all the time.
* components/services/install/lib/eazel-package-system-types.h:
* components/services/install/lib/eazel-package-system-types.c:
(categorydata_new), (categorydata_destroy_foreach),
(packagedata_status_enum_to_str),
(packagedata_status_str_to_enum):
Added the CANCELLED status.
Improved the debug strings for alloc/dealloc of category data
structures.
* components/services/install/lib/eazel-package-system.c:
(eazel_package_system_install):
If TEST, disable FORCE.
2001-02-08 John Harper <jsh@eazel.com>
Fixed bug 6044 (Druid should be clearer on what the right
choice is for proxy users)
* src/nautilus-first-time-druid.c (set_up_update_page): added
the text `If you know your computer uses a proxy connection,
click Yes and Nautilus will use it.' to the middle of the label
Fixed bug 5656 (First time druid should bail out at startup if
it cannot create .nautilus and Nautilus directories)
* src/nautilus-application.c (nautilus_application_startup):
moved the call to check_required_directories () before that to
nautilus_first_time_druid_show ()
2001-02-08 Michael K. Fleming <mfleming@eazel.com>
reviewed by: Maciej Stachowiak <mjs@eazel.com>
* components/mozilla/main.c: (mozilla_process_delayed_exit),
(mozilla_object_destroyed), (mozilla_make_object), (main):
Bug 6328 -- Mozilla processes are now kept around for 30
minutes after last used, so that re-activation is much faster.
Navigating to and from web pages in Nautilus is much less agonizing
now.
2001-02-07 Maciej Stachowiak <mjs@eazel.com>
reviewed by: Rebecca Schulman <rebecka@eazel.com>
This change is needed to enable the bonobo-level fix to Nautilus
bug 6023 (throbber and proxy processes still around after Nautilus
is quit). The throbber was unreffing itself on destroy, which is
wrong. However, Bonobo was leaking a reference to any toolbar
control item, so the two bugs were masking each other.
* components/throbber/nautilus-throbber.c
(nautilus_throbber_destroy): Remove incorrect unref.
(nautilus_throbber_initialize): Formatting tweaks
2001-02-08 Andy Hertzfeld <andy@eazel.com>
* libnautilus-extensions/nautilus-gnome-extensions.c:
(widget_destroy_callback), (icon_selected_callback),
(icon_cancel_pressed):
fixed bug 6458, crash if you quickly press cancel after pressing
OK in the icon picker; fixed by setting a boolean once the
picker has been dismissed, and checking it so we don't do it twice.
2001-02-08 Andy Hertzfeld <andy@eazel.com>
* src/nautilus-location-bar.c,h: (get_file_info_list),
(try_to_expand_path), (editable_key_press_callback),
(real_activate), (destroy), (nautilus_location_bar_initialize),
(nautilus_location_bar_new), (nautilus_location_bar_set_location),
(nautilus_location_bar_get_location),
(nautilus_location_bar_update_label):
fixed bug 6369, sluggish keyboard response in location bar. I improved
this in two different ways: the expansion code is deferred to idle
time now, so it doesn't get in the way of fast typing. Also, the
file info list is cached in memory, so it doesn't have to load it
again for every keystroke. I also made the instance variables
private, instead of being exposed in the .h file.
2001-02-08 Robey Pointer <robey@eazel.com>
* components/services/install/nautilus-view/nautilus-service-instal
l-view.c: (nautilus_service_install_downloading),
(nautilus_service_install_preflight_check),
(previous_install_finished), (nautilus_service_install_installing),
(nautilus_service_install_done),
(nautilus_service_install_view_update_from_uri_finish):
Change texts to match Vera's refinements.
2001-02-08 Robey Pointer <robey@eazel.com>
reviewed by: Ian McKellar <ian@eazel.com>
* components/services/login/nautilus-view/nautilus-change-password-
view.c: (generate_change_password_form),
(change_password_button_cb):
Stick the password panels in a viewport so they'll have
opportunistic scrollbars.
2001-02-08 John Sullivan <sullivan@eazel.com>
Fixed bug 5946 (minimum Nautilus window size is too large)
* src/nautilus-window-private.h: Made the minimum window
size much much smaller. This exposes layout problems in
some of the bars & such at very small sizes, but none of
these layout problems seem like 1.0 show-stoppers. Better to
allow the user who wants to use a stripped-down window at
minimum size do so than to prevent this because it looks bad
with some bars showing. Note that other Linux apps don't stop
you from reducing the window down to nothing at all (the
Nautilus limit is somewhat larger than "nothing at all").
* src/nautilus-switchable-search-bar.c:
(nautilus_switchable_search_bar_new): With Rebecca's OK,
changed "Search For:" to "Find:" in order to save precious
horizontal screen real estate.
2001-02-08 Gene Z. Ragan <gzr@eazel.com>
reviewed by: Mike Engber <angber@eazel.com>
Fixed bug 3087, gmc to Nautilus transition tool
Added all features except removing gmc from session. Will
need some additional help to add that feature.
* libnautilus-extensions/nautilus-global-preferences.h:
Add a preferences constant to indicate if Nautilus should
respawn in the Gnome session.
* src/nautilus-application.c: (nautilus_application_startup),
(volume_unmounted_callback), (removed_from_session),
(save_session), (set_session_restart), (init_session):
Check preferences add add ourselves to session with a respawn
setting if the user has specified that they wish such behavior.
* src/nautilus-first-time-druid.c: (druid_finished),
(set_up_gmc_transition_page):
Save gmc to nautilus transition values in nautilus preferences.
2001-02-08 Michael K. Fleming <mfleming@eazel.com>
reviewed by: <ramiro@eazel.com>
Significant rework of nautilus-mozilla-content-view to use
report_location_change and to do general house-cleaning.
Fixes following bugs:
Bug 3547 POSTs in the mozilla component don't update the URI
Bug 4682, 6142 Frame sets have difficulty in Nautilus
Bug 5461 "http://localhost:xxxx" instead of "eazel-services:" on location bar
Will fix following bugs when I talk with Darin about problems
with report_location_change:
5592 nautilus / mozilla back button goes back 2 pages
Also removes all module-global and static variables, making gnome-vfs
and general state-tracking per-instance, thus eliminating latent
bugs related to using two browsers simultainously
Removes all special-casing for form POST's and for iframes
Removes usage of the mozilla "open_uri" signal, which was no longer really
being used for anything (interruption of eazel-specific schemes is done
at the DOM event level, notification to Nautilus of navigation is done
as a result of the "location" signal
Introduces/aggravates these bugs:
6435 No history recorded when using report_location_change
6436 Throbber doesn't throb when using report_location_change
I'll wait until Darin returns to figure out solutions to this.
* components/mozilla/Makefile.am:
* components/mozilla/main.c: (main):
* components/mozilla/mozilla-events.cpp:
* components/mozilla/mozilla-events.h:
* components/mozilla/nautilus-mozilla-content-view.c:
* components/mozilla/nautilus-mozilla-content-view.h:
2001-02-08 Andy Hertzfeld <andy@eazel.com>
* libnautilus-extensions/nautilus-gnome-extensions.c:
(icon_selected_callback), (nautilus_gnome_icon_selector_new):
fixed bugs 6437 and 6438 by testing for a directory selected
instead of a file in the icon selector, and putting up an error
dialog in that case instead of invoking the callback with the
directory path.
2001-02-08 Pavel Cisler <pavel@eazel.com>
Fix 6401 (Create Link yields "You cannot link a file to itself"
error)
* libnautilus-extensions/nautilus-file-operations.c:
(nautilus_file_operations_copy_move):
Remove a confused link to self check.
Pass the GNOME_VFS_XFER_USE_UNIQUE_NAMES option to xfer.
2001-02-08 Fatih Demir <kabalak@kabalak.net>
* components/services/install/lib/eazel-package-system-rpm3.c:
Include locale.h as you use localeconv() without including
it -- bad on debian...
2001-02-08 John Sullivan <sullivan@eazel.com>
reviewed by: Pavel Cisler <pavel@eazel.com>
* src/nautilus-sidebar-title.c:
(nautilus_sidebar_title_size_allocate): Found useful
optimization while investigating sidebar flashiness:
now it only recomputes the sidebar font in
size_allocate if the width actually changed.
2001-02-08 Robin * Slomkowski <rslomkow@eazel.com>
* nautilus.spec.in: updated to note that
/usr/share/hyperbola/maps/*.map have moved to
/usr/share/nautilus/components/hyperbola/maps/*.map
2001-02-08 John Sullivan <sullivan@eazel.com>
Fixed bug 6421 (Labels for permissions should look insensitive
when permissions are not settable)
* src/file-manager/fm-properties-window.c:
(add_permissions_column_label), (create_permissions_page):
Pass file parameter into add_permissions_column_label,
set insensitive if can't set permissions.
* libnautilus-extensions/nautilus-file.c:
(nautilus_file_get_string_attribute_with_default):
Use "--" as item count string instead of "..." when
the preference is set to not display the item counts.
("..." implied that it would show up eventually, not
true in this case.)
2001-02-08 Laszlo Kovacs <laszlo.kovacs@sun.com>
* components/help/Makefile.am:
Man page map file moved to new hyperbola data
directory.
* components/help/hyperbola-filefmt.c:
Compiler warnings fixed
2001-02-08 Laszlo Kovacs <laszlo.kovacs@sun.com>
* components/help/hyperbola-filefmt.c:
Toplevel document support added. Docs specified in
$(prefix)/share/nautilus/components/hyperbola/topleveldocs.xml
will be added to the toplevel section of the help tree if
Scrollkeeper is enabled
* components/help/Makefile.am:
topleveldocs.xml installed and hyperbola data directory
changed to $(prefix)/share/nautilus/components/hyperbola
* components/help/topleveldocs.xml:
new xml file holding the docs that go into the toplevel
section of the help tree
2001-02-07 Robey Pointer <robey@eazel.com>
* components/services/install/lib/eazel-install-logic2.c:
(expand_package_suites), (install_packages):
Do a softcat query for any suite ids in the initial package list,
so they're expanded first and then all future queries will return
single packages.
* components/services/install/lib/eazel-install-object.c:
(eazel_install_emit_preflight_check):
Don't restrict the preflight signal to toplevel packages anymore:
we send the whole package tree now so no editing is necessary.
* components/services/install/lib/eazel-install-xml-package-list.c:
(osd_parse_provides), (osd_parse_shared):
Softcat server has started filling in the sense flag differently
(without notice, I might grumpily add), so handle both types now
and whine if we can't figure out how to decode it. Log the
softcat DB version now (eventually should store it somewhere).
* components/services/install/lib/eazel-softcat.c:
(eazel_softcat_error_string), (eazel_softcat_query),
(eazel_softcat_get_info), (eazel_softcat_available_update):
* components/services/install/lib/eazel-softcat.h:
Split up the handling for single-package softcat queries and
multi-package suite queries.
* components/services/install/nautilus-view/main.c:
(service_install_make_object), (main):
Remove redundant 2nd ammonite_init call and a long-since useless
printf from object creation.
* components/services/install/nautilus-view/nautilus-service-instal
l-view.c: (nautilus_service_install_downloading),
(flatten_package_tree_foreach), (nautilus_service_install_done),
(nautilus_service_install_failed):
* components/services/install/nautilus-view/nautilus-service-instal
l-view.h:
Clean up final dialog text generation, and only ask about deleting
RPMs if the user level is "advanced". Also don't ask if no files
were even downloaded.
2001-02-07 Ramiro Estrugo <ramiro@eazel.com>
reviewed by: Mike Fleming <mfleming@eazel.com>
Minus the 2 new widgets.
* libnautilus-extensions/Makefile.am:
New files.
* libnautilus-extensions/nautilus-labeled-image.h:
* libnautilus-extensions/nautilus-labeled-image.c:
(button_leave_callback), (button_focus_out_event_callback),
(nautilus_labeled_image_check_button_new): Add workaround for
rendering problems with GtkCheckButton.
(nautilus_labeled_image_set_label_never_smooth): New function to
make the label part possibly never smooth.
* libnautilus-extensions/nautilus-clickable-image.h:
* libnautilus-extensions/nautilus-clickable-image.c:
(ancestor_button_press_event), (ancestor_button_release_event),
(nautilus_clickable_image_new),
(nautilus_clickable_image_new_from_file_name): New function to
create clickable images from image files. Add grab/ungrab calls
to match the logic in GtkButton.
* libnautilus-extensions/nautilus-wrap-table.h:
* libnautilus-extensions/nautilus-wrap-table.c:
New class.
* libnautilus-extensions/nautilus-image-table.c:
* libnautilus-extensions/nautilus-image-table.h:
New class.
* test/test-nautilus-image-table.c:
* test/.cvsignore:
* test/Makefile.am:
Image table test.
2001-02-07 Robey Pointer <robey@eazel.com>
* components/services/install/lib/eazel-install-object.c:
(eazel_install_start_signal):
Remove break that caused 0% signals to never get sent on install.
* components/services/install/lib/eazel-package-system-rpm3.c:
(rpmmonitorpiggybag_new), (make_rpm_argument_list),
(monitor_rpm_process_pipe_percent_output),
(monitor_rpm_process_pipe), (monitor_subcommand_pipe),
(manual_rpm_command), (eazel_package_system_rpm3_execute):
Make percent a float for more accurate byte counts. Give the IO
channel a lower priority than normal, so that it doesn't outrank X
refresh events (though this doesn't help much). Reinsert the
manual RPM execute from the old logic.c code.
* nautilus-installer/src/installer.c: (insert_info_page),
(eazel_install_progress), (eazel_download_progress),
(get_detailed_errors_foreach_dep), (get_detailed_errors_foreach),
(get_detailed_errors), (collect_failure_info),
(eazel_install_preflight):
* nautilus-installer/src/installer.h:
Remove fixed "max assumed download" size and try to set it to the
total bytes expected. For some reason this still fails sometimes
but at least it's on the right track. Stop calling
gtk_main_iteration from inside the install progress callback since
that interacts horribly with the IO channel crap. Getting
detailed errors should avoid recursing, and should follow the
depends struct instead of the old soft_depends one.
* nautilus-installer/src/link.sh:
Test for RPM4 build (should build now, but still not work due to
lingering code that refuses to try under RPM4).
* nautilus-installer/src/package-tree.c: (get_errant_children_int),
(get_errant_children), (package_customizer_fill):
Fix up tree tracing routines to avoid recursing and to use the new
struct members instead of the old (now empty) ones.
2001-02-07 John Sullivan <sullivan@eazel.com>
reviewed by: Pavel Cisler <pavel@eazel.com>
Fixed bug 6405 (seg fault right-double-clicking when context
menu is already showing)
* libnautilus-extensions/nautilus-icon-container.c:
(handle_icon_button_press): Don't create context-menu callback
if one is already pending; don't let right-double-click activate.
* src/file-manager/nautilus-directory-view-ui.xml: Added underscore
accelerator for Show Trash, which didn't have one.
2001-02-07 Ian McKellar <ian@eazel.com>
reviewed by: Eskil Heyn Olsen <eskil@eazel.com>
* components/rpmview/nautilus-rpm-view.c:
(nautilus_rpm_view_update_from_uri), (nautilus_rpm_view_load_uri),
(rpm_view_load_location_callback):
* components/rpmview/nautilus-rpm-view.h:
If an RPM load fails then report it to Nautilus with:
nautilus_view_report_load_failed,
* components/services/install/lib/eazel-package-system-rpm3.c:
(eazel_package_system_rpm3_packagedata_fill_from_header),
(rpm_packagedata_fill_from_file):
If an RPM load fails then report it to the caller.
* components/services/trilobite/libtrilobite/trilobite-core-network
.c: (trilobite_open_uri):
Changed the unsafe `setenv' call to the safer `trilobite_setenv'.
2001-02-07 Ian McKellar <ian@eazel.com>
reviewed by: Maciej Stachowiak <mjs@eazel.com>
* components/services/inventory/eazel-inventory-collect-hardware.c:
(add_device_property), (eazel_inventory_collect_pci),
(remove_trailing_whitespace), (ide_get_value),
Separated whitespace removal into a separate function.
(eazel_inventory_collect_usb), (eazel_inventory_collect_scsi),
(eazel_inventory_collect_hardware):
Added USB and SCSI bus scanning. Bugs: 5094, 6285.
2001-02-07 Pavel Cisler <pavel@eazel.com>
reviewed by: John Sullivan <sullivan@eazel.com>
Fix 6380 (** ERROR ** in trash_callback_destroy when
navigating to trash)
* libnautilus-extensions/nautilus-trash-file.c:
(trash_callback_destroy), (trash_file_call_when_ready):
Add a missing ref and unref.
2001-02-07 Gene Z. Ragan <gzr@eazel.com>
Fixed bug 5967, Music View slider is narrow in Eazel GTK theme
Attempt to layout using Arlo's design.
* components/music/nautilus-music-view.c:
(music_view_set_selected_song_title), (add_play_controls),
(nautilus_music_view_update),
(music_view_background_appearance_changed_callback):
2001-02-07 Robin * Slomkowski <rslomkow@eazel.com>
* README: updated to note using the gnome-vfs-1 branch
2001-02-07 Andy Hertzfeld <andy@eazel.com>
fixed bug 6281, property browser should user gnome icon
selection UI for adding patterns and emblems instead of
generic file browsing
* libnautilus-extensions/nautilus-gnome-extensions.c,h:
(nautilus_gnome_open_terminal), (widget_destroy_callback),
(icon_selected_callback), (icon_cancel_pressed),
(list_icon_selected_callback), (entry_activated),
(nautilus_gnome_icon_selector_new):
moved code to integrate icon picking UI from the properties
window into gnome-extensions, so other parts of nautilus can
use it.
* src/file-manager/fm-properties-window.c: (set_icon_callback),
(select_image_button_callback):
moved icon picking code out of properties window, but call it
from here instead.
* src/nautilus-property-browser.c: (nautilus_emblem_dialog_new),
(add_pattern_to_browser), (add_new_pattern),
(emblem_dialog_clicked):
use icon picking code in property browser to pick patterns, and
rework the emblem dialog to use gnome-icon-entry.
2001-02-07 Gene Z. Ragan <gzr@eazel.com>
reviewed by: Robin Slomkowski <robin@eazel.com>
Fixed bug 6389, Extremely poor performance when
autodir automounter is present
Detect special NFS autofs directories and filter them out
of the mount list.
* libnautilus-extensions/nautilus-volume-monitor.c:
(get_removable_volumes), (mount_volume_activate_nfs),
(mount_volume_activate), (get_current_mount_list),
(mount_volume_nfs_add), (mount_volume_add_filesystem):
Worked on cleaning up placement of icons on the edges
of the desktop based on input from Arlo.
* libnautilus-extensions/nautilus-icon-container.c:
(icon_set_position):
2001-02-07 Gene Z. Ragan <gzr@eazel.com>
Fixed bug 6363, "Set Cover Image" button assumes
fixed font height.
* components/music/nautilus-music-view.c:
(nautilus_music_view_initialize):
Remove call to get_widget_set_usize
2001-02-07 Ramiro Estrugo <ramiro@eazel.com>
reviewed by: Pavel Cisler <pavel@eazel.com>
* libnautilus-extensions/nautilus-directory-async.c:
(show_hidden_files_changed_callback),
(show_backup_files_changed_callback),
(get_filter_options_for_directory_count):
* libnautilus-extensions/nautilus-file.c:
(show_text_in_icons_changed_callback),
(show_directory_item_count_changed_callback),
(get_speed_tradeoff_preference_for_file),
(nautilus_file_should_show_directory_item_count),
(nautilus_file_should_get_top_left_text):
* libnautilus-extensions/nautilus-theme.c:
(theme_changed_callback), (nautilus_theme_get_theme),
(nautilus_theme_get_theme_data), (nautilus_theme_get_image_path):
* src/file-manager/fm-directory-view.c:
(confirm_trash_changed_callback), (real_update_menus):
* src/file-manager/fm-icon-text-window.c:
(icon_captions_changed_callback),
(fm_get_text_attribute_names_preference_or_default):
Use calllbacks for some preferences values instead of peeking
diectly. The preferences in question here are peeked a lot during
large directory loads, even though they hardly ever change. This
should get preferences stuff mostly out of Pavel's profiles. Now,
im still working on bug 6054 which is about making peeking
preferences in general faster.
2001-02-06 Pavel Cisler <pavel@eazel.com>
reviewed by: Mike Fleming <mfleming@eazel.com>
* libnautilus-extensions/nautilus-directory-async.c:
(dequeue_pending_idle_callback), (mime_list_one):
Handle the case where mime types don't get returned.
* libnautilus-extensions/nautilus-file.c:
Fix a comment.
2001-02-06 Andy Hertzfeld <andy@eazel.com>
* libnautilus-extensions/nautilus-mime-actions.c:
(nautilus_do_component_query):
fixed bug 5479, two "View as Text" items in "View as Other"
dialog list, by special casing the sample text component so
it doesn't get added to the list.
2001-02-06 Arik Devens <arik@eazel.com>
reviewed by: Eskil Heyn Olsen <eskil@eazel.com>
Fixed bug 5919, Preferences dialog jumps around the screen.
* libnautilus-extensions/nautilus-preferences-dialog.c:
(nautilus_preferences_dialog_construct): Removed the center
positioning so that the dialog stays where the user put it.
2001-02-06 Gene Z. Ragan <gzr@eazel.com>
Fixed bug 1736, if icons on desktop are offscreen, need to
move them somewhre on screen.
* libnautilus-extensions/nautilus-icon-container.c:
(icon_set_position), (nautilus_icon_container_move_icon):
icon_set_position may modify the x and y location of the
icon. nautilus_icon_container_move_icon should use the
modified position instead of the original x and y postion
when writing the position out into the metafile.
2001-02-06 Andy Hertzfeld <andy@eazel.com>
* src/file-manager/fm-properties-window.c:
(widget_destroy_callback), (icon_selected_callback),
(icon_cancel_pressed), (list_icon_selected_callback),
(entry_activated), (select_image_button_callback):
fixed bug 6280, custom icon selection should use gnome-icon-sel
instead of the generic file browser, so now it does.
2001-02-06 Ramiro Estrugo <ramiro@eazel.com>
reviewed by: Michael Engber <engber@eazel.com>
* src/nautilus-sidebar.c: (nautilus_sidebar_initialize_class),
(nautilus_sidebar_size_allocate), (nautilus_sidebar_realize):
Tell X not to clear the window contents when the sidebar is
resized. Since we double buffer its contents, this will reduce
(but not eliminate) flicker in the sidebar.
2001-02-06 Maciej Stachowiak <mjs@eazel.com>
reviewed by: Laszlo Kovacs <laszlo.kovacs@sun.com>
Fixed bug 795 (help component installs files in nautilus prefix,
but uses gnome-libs prefix to find them later) by expanding the
set of places Nautilus looks for help files.
* components/help/hyperbola-filefmt.c:
(fmt_man_populate_tree_for_subdir): Changed to look in more places
for help files: the help directory in the gnome prefix, the help
directory in the nautilus prefix, and directories in GNOME_PATH.
(fmt_help_populate_tree): New helper function.
(append_help_dir_if_exists): New helper function.
* components/help/Makefile.am: Define DATADIR in compile flags.
* components/help/hyperbola-main.c: Add copyright notice.
This part not reviewed:
* .cvsignore, libnautilus-extensions/.cvsignore: gnore more
things.
* Makefile.am: distribute .in versions of xml-i18n-tools.
2001-02-06 John Sullivan <sullivan@eazel.com>
Fixed bug 5157 (Nautilus won't display directories for
which it thinks it doesn't have permissions)
I removed the code that prevented Nautilus from even
trying to load a location for which the perceived
permissions didn't allow reading (because the perceived
permissions can be wrong with some file systems). Now
it always tries, and puts up an error dialog only if
it gets an error while actually loading the directory.
* src/file-manager/fm-error-reporting.h:
* src/file-manager/fm-error-reporting.c:
(fm_report_error_loading_directory): New function, currently
only handles GNOME_VFS_ERROR_ACCESS_DENIED and a fallback
default case.
(fm_report_error_renaming_file), (fm_report_error_setting_group),
(fm_report_error_setting_owner),
(fm_report_error_setting_permissions), (rename_callback):
All the report_error functions now take a parent-window
parameter (which is often NULL). Also, they now all use
gnome_vfs_error_result_to_string when whining about
unhandled cases.
* src/file-manager/fm-directory-view.h: Changed comments
and copyright notice only.
* src/file-manager/fm-directory-view.c:
(real_load_error): New function, calls
fm_report_error_loading_directory unless an error has already
been reported for the current directory load operation.
(fm_directory_view_initialize_class): Wire up real_load_error
as default handler for LOAD_ERROR signal.
(activate_callback): Pass parent window to error-reporting call.
(load_directory): Reset the reported_load_error boolean since
we're about to load anew.
* src/file-manager/fm-properties-window.c: (rename_callback),
(group_change_callback), (owner_change_callback),
(permission_change_callback):
Pass parent window to error-reporting-calls. I just passed NULL
if it was not trivial to pass a good window.
* src/nautilus-window-manage-views.c:
(handle_unreadable_location), (open_location): Remove code that
was preventing "unreadable" locations from being loaded.
2001-02-06 Gene Z. Ragan <gzr@eazel.com>
Fixed bug 6375, Certain menu shortcuts don't work when
insertion point is in location bar.
* libnautilus-extensions/nautilus-entry.c:
(nautilus_entry_key_press):
Filter out alt and control keyboard events and don't
allow them to be passed to the parent GtkEntry.
2001-02-06 John Sullivan <sullivan@eazel.com>
reviewed by: Gene Ragan <gzr@eazel.com>
Fixed bug 6365 (Crash at boot if invalid file name given)
* src/nautilus-window-manage-views.c:
(load_new_location_in_all_views): Added some parameter checking
to make future bugs like this even easier to find.
(cancel_location_change): Don't reset to old location when old
location is NULL.
2001-02-05 Pavel Cisler <pavel@eazel.com>
reviewed by: Seth Nickel <seth@eazel.com>
Fix 5930 (Copy dialog often shows "1" as total number of
fields in operation)
* libnautilus-extensions/nautilus-file-operations-progress.c:
(nautilus_file_operations_progress_update),
(nautilus_file_operations_progress_new_file):
* libnautilus-extensions/nautilus-file-operations.c:
(create_transfer_dialog):
Special case the preparing to copy/move phase -- when the
bytes_total is 0, don't display the count.
* libnautilus-extensions/nautilus-file-operations-progress.c:
(nautilus_file_operations_progress_thaw):
Formatting.
* HACKING:
Tiny tweak.
2001-02-05 Eskil Heyn Olsen <eskil@eazel.com>
* components/services/install/lib/eazel-install-public.h:
* components/services/install/command-line/eazel-alt-install-corba.
c: (eazel_file_conflict_check_signal),
(eazel_file_uniqueness_check_signal),
(eazel_feature_consistency_check_signal), (main):
* components/services/install/idl/trilobite-eazel-install.idl:
* components/services/install/lib/eazel-install-corba-callback.c:
(impl_file_conflict_check), (impl_file_uniqueness_check),
(impl_feature_consistency_check), (eazel_install_callback_get_epv),
(eazel_install_callback_class_initialize):
* components/services/install/lib/eazel-install-corba-callback.h:
* components/services/install/lib/eazel-install-logic2.c:
(check_no_two_packages_has_same_file),
(check_conflicts_against_already_installed_packages),
(check_feature_consistency):
* components/services/install/lib/eazel-install-object.c:
(eazel_install_class_initialize),
(eazel_install_emit_file_conflict_check),
(eazel_install_emit_file_conflict_check_default),
(eazel_install_emit_file_uniqueness_check),
(eazel_install_emit_file_uniqueness_check_default),
(eazel_install_emit_feature_consistency_check),
(eazel_install_emit_feature_consistency_check_default):
Fixed bug 3459 (emit signals when doing file-conflict,
feature-consistency and file-uniqueness checks).
* components/services/install/lib/eazel-package-system-types.c:
(packagedata_get_readable_name):
Nyll poynter checking.
2001-02-05 John Sullivan <sullivan@eazel.com>
Fixed bug 6359 (Choosing current view from "View as" menu crashes)
* src/nautilus-window-manage-views.c:
(nautilus_window_content_view_matches_iid): New function, extracted
from load_content_view, checks whether passed iid is the one in
use by this window.
(load_content_view): Now calls extracted function.
(nautilus_window_set_content_view): Bail out early if the
new content view is the old one. This avoids unpleasant crashing
later on.
2001-02-05 Gene Z. Ragan <gzr@eazel.com>
Add code to send the mime type of the file being examined to the
mime type capplet so that the capplet can scroll to the mime type
being examined.
* libnautilus-extensions/nautilus-program-chooser.c:
(repopulate_program_list), (launch_mime_capplet),
(launch_mime_capplet_and_close_dialog),
(nautilus_program_chooser_show_no_choices_message):
2001-02-05 John Sullivan <sullivan@eazel.com>
reviewed by: Pavel Cisler <pavel@eazel.com>
Fixed part of bug 6329 (entering "gconf://" as location
crashes Nautilus). After this fix, it still crashes Nautilus,
but in a gconf-specific way.
* src/nautilus-window-manage-views.c:
(load_new_location_in_all_views): Don't try to load
a location in new_content_view if it's NULL.
2001-02-05 John Sullivan <sullivan@eazel.com>
reviewed by: Mike Fleming <mfleming@eazel.com>
Fixed bug 6324 (Switching views crashes every time)
* src/nautilus-window-manage-views.c:
(set_to_pending_location_and_selection): Added assert
to make future similar bugs even easier to catch.
(view_loaded_callback): Don't call set_to_pending_location_and_selection
when the content view is changing without the location & selection
changing; just update the one view instead.
* libnautilus-extensions/nautilus-stock-dialogs.c:
Reduced the timed-wait timeout from 3 seconds to 2 after
more investigation of timed-wait-related bugs. 3 seconds
just felt a little too long.
2001-02-05 Michael Engber <engber@eazel.com>
* libnautilus-extensions/nautilus-metafile-factory.c:
(nautilus_metafile_factory_new), (free_factory_instance),
(nautilus_metafile_factory_get_instance):
* libnautilus-extensions/nautilus-metafile-factory.h:
* src/Nautilus_shell.oaf.in:
* src/nautilus-application.c: (manufactures), (create_object),
(nautilus_application_startup):
* src/nautilus-application.h:
Add the MetafileFactory to the main object factory.
2001-02-05 Rebecca Schulman <rebecka@eazel.com>
reviewed by: Maciej Stachowiak <mjs@eazel.com>
* libnautilus-extensions/nautilus-mime-actions.c:
(nautilus_mime_get_default_component_sort_conditions),
(nautilus_mime_get_default_component_for_file_internal),
(nautilus_mime_get_short_list_components_for_file):
Changes to make sure the short list is sorted
correctly, so the correct default application is chosen.
2001-02-05 Andy Hertzfeld <andy@eazel.com>
* librsvg/rsvg.c: (rsvg_render_svp):
fixed bug 6301, bad svg crashes Nautilus, by adding a check
in rsvg_render_svp to make sure a pixbuf has been allocated; if
not, don't try to render.
2001-02-05 John Sullivan <sullivan@eazel.com>
Fixed bug 6321 (Apparently arbitrary item initially selected
in "Open with Other" dialog)
* libnautilus-extensions/nautilus-program-chooser.c:
(repopulate_program_list): Select first item in list after sorting.
2001-02-04 Ian McKellar <ian@eazel.com>
reviewed by: Maciej Stachowiak <mjs@eazel.com>
* components/services/install/lib/Makefile.am:
* components/services/install/lib/eazel-package-system-dpkg.c:
(debpackage_free), (debpackage_fill_packagedata),
(strip_trailing_whitespace), (parse_packages),
(load_package_callback), (eazel_package_system_dpkg_load_package),
(query_callback), (eazel_package_system_dpkg_query),
(eazel_package_system_dpkg_install),
(eazel_package_system_dpkg_uninstall),
(eazel_package_system_dpkg_verify),
(eazel_package_system_dpkg_compare_version),
(eazel_package_system_dpkg_finalize),
(eazel_package_system_dpkg_class_initialize),
(eazel_package_system_dpkg_initialize),
(eazel_package_system_dpkg_get_type),
(eazel_package_system_dpkg_new),
(eazel_package_system_implementation):
* components/services/install/lib/eazel-package-system-dpkg.h:
* components/services/install/lib/eazel-package-system.c:
(eazel_package_system_suggest_id),
(eazel_package_system_load_implementation):
Created a minimal, sub-functional Debian package backend for
libeazelinstall - essentially only enough to allow me to test my
software inventory work on my Debian machines.
* components/services/inventory/Makefile.am:
* components/services/inventory/eazel-inventory-collect-hardware.c:
(add_device_property), (eazel_inventory_collect_pci),
(ide_get_value), (eazel_inventory_collect_ide), (str_has_prefix),
(add_info), (read_proc_info), (eazel_inventory_collect_memory),
(eazel_inventory_collect_cpu), (eazel_inventory_collect_hardware):
* components/services/inventory/eazel-inventory-collect-hardware.h:
* components/services/inventory/eazel-inventory-collect-software.c:
(str_has_prefix), (get_package_list),
(eazel_inventory_collect_packages),
(eazel_inventory_collect_software):
* components/services/inventory/eazel-inventory-collect-software.h:
* components/services/inventory/eazel-inventory-utils.c:
(eazel_create_configuration_metafile):
Moved software inventory code into eazel-inventory-collect-software.c
and hardware inventory code into eazel-inventory-collect-hardware.c.
Added coded to collect PCI and IDE bus information.
* components/services/trilobite/libtrilobite/trilobite-core-distrib
ution.c: (determine_suse_version), (determine_debian_version):
Added version check code for SuSE and Debian.
2001-02-04 Jason Leach <jasonleach@usa.net>
reviewed by: Maciej Stachowiak <mjs@eazel.com>
* nautilus-clean.sh: Update to work with Solaris.
2001-02-04 Maciej Stachowiak <mjs@eazel.com>
* indent.sh: Script that calls indent with the right parameters to
get a GNOME coding style (Nautilus subvariant).
* components/help/hyperbola-filefmt.c,
components/help/hyperbola-filefmt.h,
components/help/hyperbola-main.c,
components/help/hyperbola-nav-index.c,
components/help/hyperbola-nav-search.c,
components/help/hyperbola-nav-tree.c,
components/help/hyperbola-nav.h,
components/help/hyperbola-types.h: Run indent.sh on these.
2001-02-03 John Sullivan <sullivan@eazel.com>
Fixed bug 6254 ("Display" name for grouping in "Folder Views"
category is poor)
* libnautilus-extensions/nautilus-global-preferences.c:
(global_preferences_install_descriptions),
(global_preferences_create_dialog): Verafied a little text.
2001-02-03 Eskil Heyn Olsen <eskil@eazel.com>
* components/throbber/Makefile.am:
Added the oaf.in files to EXTRA_DIST (tinderbox fix)
2001-02-03 Gene Z. Ragan <gzr@eazel.com>
Do a simple check for NULL instead of using
g_return_if_fail. We don't need the error
reported to the terminal.
* libnautilus-extensions/nautilus-volume-monitor.c:
(get_removable_volumes), (volume_is_removable),
(volume_is_read_only):
2001-02-02 Eskil Heyn Olsen <eskil@eazel.com>
* components/services/install/command-line/eazel-alt-install-corba.
c: (tree_helper_helper), (tree_helper):
Added check for PackageBreaks iterators.
* components/services/install/lib/eazel-install-corba-callback.c:
(impl_install_failed):
Leakfix, freeing the list given to the signal handler after
handling.
* components/services/install/lib/eazel-install-corba-types.c:
(empty_hash_table),
(packagedata_tree_from_corba_packagedatastructlist):
Leakfix, now correctly frees the contents of the md5_hashtable and
unrefs the proper objects.
* components/services/install/lib/eazel-install-logic2.c:
(eazel_install_check_existing_packages), (get_softcat_info),
(is_satisfied), (is_satisfied_features),
(check_dependencies_foreach), (check_tree_helper),
(add_file_conflict),
(check_conflicts_against_already_installed_packages),
(check_feature_consistency):
Proper fillflags for some EazelPackageSystem calls.
Nicer log-output when debug is off.
Leak fix, the PackageBreaks "objects".
* components/services/install/lib/eazel-install-problem.c:
(get_detailed_messages_breaks_foreach),
(get_detailed_messages_foreach),
(get_detailed_cases_breaks_foreach), (get_detailed_cases_foreach):
Updated for the new PackageBreaks "objects".
* components/services/install/lib/eazel-package-system-rpm4.c:
(eazel_package_system_rpm4_query_impl):
s/packagedata_destroy/gtk_object_unref/
* components/services/install/lib/eazel-package-system-types.c:
(at_exit_package_data_info), (categorydata_new),
(categorydata_destroy_foreach), (packagedata_finalize),
(packagedata_class_initialize), (packagedata_initialize),
(packagedata_get_readable_name), (packagebreaks_finalize),
(packagebreaks_class_initialize), (packagebreaks_initialize),
(packagefileconflict_finalize),
(packagefileconflict_class_initialize),
(packagefeaturemissing_finalize),
(packagefeaturemissing_class_initialize):
Finally got the destroy crap working for the PackageBreak
"objects".
More leakcheck stuff for various structures.
Again, fixed get_reabable_name.
* components/services/install/lib/eazel-package-system-types.h:
Added finalizes to the "objects".
Removed packagedata_destroy prototype.
* components/services/trilobite/libtrilobite/Makefile.am:
Cleanup and possible tinderbox fix.
2001-02-02 Robey Pointer <robey@eazel.com>
* components/services/install/lib/eazel-install-corba-types.c:
(packagedata_tree_from_corba_packagedatastructlist):
Fix small bug in the package tree inflater that caused break
structs to be messed up.
* components/services/install/lib/eazel-softcat.c:
(get_search_url_for_package):
* components/services/install/nautilus-view/nautilus-service-instal
l-view.c: (create_package),
(nautilus_service_install_view_update_from_uri_finish):
Encode and decode suite_id/suite_name/product_id/product_name from
eazel-install: urls and pass through to softcat queries. They are
all treated like variant flavors of suite_id internally (group of
packages with a single id).
* nautilus-installer/src/Makefile:
* nautilus-installer/src/installer.c:
(get_detailed_errors_foreach), (get_detailed_errors),
(eazel_install_preflight), (eazel_installer_set_default_texts),
(eazel_installer_initialize):
Remove eazel-hacking uninstall, since experts claim we no longer
need it. Some changes to sync up with the new world order where
PackageData is now a GTK object.
* nautilus-installer/src/package-tree.c:
(find_package_parents_int), (find_package_parents),
(get_errant_children_int), (get_errant_children),
(package_customizer_fill_dep), (package_customizer_fill),
(jump_to_package_tree_page):
Fix the package customizer to cope with the new world order, where
the package tree is sent across as a directed graph (instead of
tree) and the deps are in 'depends' not 'soft_depends'.
* nautilus-installer/src/prescript:
Up version to 1.0.
2001-02-02 Darin Adler <darin@eazel.com>
reviewed by: John Sullivan <sullivan@eazel.com>
Fixed bug 6163 (Need NautilusViewFrame ::
report_location_changed). This is re-adding a feature we also had
long ago, where a view reports a location change, but does not
want the location change to come back to it in the form of a
load_location call.
* src/nautilus-applicable-views.h:
* src/nautilus-applicable-views.c:
(get_view_result_from_gnome_vfs_result), (got_file_info_callback),
(got_minimum_file_info_callback),
(nautilus_determine_initial_view),
(nautilus_determine_initial_view_cancel): Changed this entire file
to have a much easier-to-understand API.
* src/nautilus-view-frame-private.h:
* src/nautilus-view-frame-corba.c: (free_location_plus_callback):
Change existing structure so it can be used for the location-change
case, which includes a title too.
(open_force_new_window): Use new structure.
(report_location_change): Implement new call.
(impl_Nautilus_ViewFrame_open_location_force_new_window): Use new
structure.
(impl_Nautilus_ViewFrame_report_location_change): Implement new
call.
* libnautilus/nautilus-view-component.idl: Add the new call.
* libnautilus/nautilus-view.h:
* libnautilus/nautilus-view.c:
(nautilus_view_report_location_change): Add the new call.
* src/nautilus-view-frame.h:
* src/nautilus-view-frame.c:
(nautilus_view_frame_initialize_class): Add new signal.
(nautilus_view_frame_report_location_change): Implement new call.
* src/nautilus-window-private.h:
* src/nautilus-window-manage-views.h:
* src/nautilus-window-manage-views.c: (update_for_new_location):
Got rid of obsolete assert. Also, no longer clear the selection.
The selection is set properly earlier, and clearing it at this
point serves no purpose.
(location_has_really_changed): Call free_location_change to share
more code. Also no reason to free "pending_ni" any more, because
we don't keep it around in the success case.
(load_new_location_in_one_view): New name.
(load_new_location_in_sidebar_panels): New name. Also take a
parameter of a view to skip.
(load_new_location_in_all_views): New function.
(set_to_pending_location_and_selection): New name, and removed
code to handle the case where there is no pending location, since
that doesn't happen. Also take a parameter of a view to skip. Also
broke out the guts into load_new_location_in_all_views.
(free_location_change): Free things by their new names. There's
also less to free now.
(cancel_location_change): Key off pending_location instead of
pending_ni. Also save code by using new function that skips a
view.
(determined_initial_view_callback): Changed name, and use new
interface. No longer need "end_reached" trick, because the new
interface handles that.
(begin_location_change): Made a static after moving all the
functions that use it in here. Also moved some of the reload
code out into nautilus_window_reload.
(report_location_change_callback): New function. Does all the
steps neede for a location change in place.
(nautilus_window_back_or_forward), (nautilus_window_reload): Moved
these two functions in here from nautilus-window.c so we could
make begin_location_change more private.
* src/nautilus-window.h:
* src/nautilus-window.c: (nautilus_window_go_to): Changed the name.
(nautilus_window_get_location): New function for callers that used
to get the location field directly.
(go_to_callback): Changed name.
* src/nautilus-desktop-window.c: (nautilus_desktop_window_new):
* src/nautilus-location-bar.c: (drag_data_received_callback):
* src/nautilus-shell.c: (open_window), (save_window_states),
(restore_window_states):
* src/nautilus-window-menus.c: (services_button_callback),
(help_menu_nautilus_manual_callback),
(help_menu_nautilus_license_callback),
(help_menu_nautilus_feedback_callback),
(activate_bookmark_in_menu_item):
* src/nautilus-window-service-ui.c: (goto_services_summary),
(goto_online_storage), (goto_software_catalog),
(goto_services_support):
* src/nautilus-window.c: (location_change_at_idle_callback),
(nautilus_window_constructed), (view_as_menu_vfs_method_callback),
(nautilus_window_go_web_search), (nautilus_window_go_home):
Use nautilus_go_to under its new name.
* src/nautilus-shell.c: (restore_window_states): Use
nautilus_istr_has_prefix instead of g_strncasecmp. Also did other
code cleanup.
* libnautilus-extensions/nautilus-gtk-extensions.h: Added a new
marshal function that I needed.
* libnautilus-extensions/nautilus-thumbnails.c: Added a FIXME.
* libnautilus-extensions/nautilus-view-identifier.h:
* libnautilus-extensions/nautilus-view-identifier.c:
(nautilus_view_identifier_copy),
(nautilus_view_identifier_compare): Use const.
* src/nautilus-application.c: (nautilus_application_startup): Only
check for root if we are actually running nautilus, not if we are
just killing off an existing copy.
(confirm_ok_to_run_as_root): Changed name of the function and
improved the wording of the message and button. Also added an
environment variable you can set to get rid of this. (Probably
should have been a preference instead, but I am officially being
lazy about this.)
Fixed bug that was revealed by the change in the loading sequence
I made. John didn't review this part:
* libnautilus-extensions/nautilus-directory-private.h:
* libnautilus-extensions/nautilus-directory-async.c:
(load_directory_state_destroy), (load_directory_done):
Separate out code to free the partly-done state so it can
be used in the cancel case.
(dequeue_pending_idle_callback): Ref the directory object
so that we won't get messed up if the callback destroys it.
(directory_load_cancel): Separated out the old part of
file_list_cancel so that we can cancel the idle part too
when we want to.
(file_list_cancel): Use the new calls to cancel the idle
part of directory loading.
(directory_load_done): Use directory_load_cancel instead of
file_list_cancel.
(nautilus_directory_stop_monitoring_file_list): Use
directory_load_cancel instead of file_list_cancel.
(nautilus_directory_async_state_changed): Added state variables to
protect cases where we re-enter this function.
2001-02-02 Ramiro Estrugo <ramiro@eazel.com>
reviewed by: Michael Engber <engber@eazel.com>
* applets/preferences-applet/nautilus-preferences-applet.c:
(restart_button_clicked_callback), (main):
Add a restart button.
2001-02-02 Gene Z. Ragan <gzr@eazel.com>
Fixed a small bug where I was assuming a value would be valid
when it could be NULL. Now I check for NULL.
* src/nautilus-application.c: (volume_unmounted_callback):
2001-02-02 Brett Neely <brett@eazel.com>
reviewed by: Eric Fischer <eric@eazel.com>
* nautilus-clean.sh:
Kill oafd last so nautilus-clean.sh -x only needs to be run once.
2001-02-02 Gene Z. Ragan <gzr@eazel.com>
reviewed by: Maciej Stachowiak <mjs@eazel.com>
Fixed bug 5222,
Nautilus allows users to rename .Trash (but not copy or link)
* libnautilus-extensions/nautilus-file-utilities.c:
* libnautilus-extensions/nautilus-file-utilities.h:
(nautilus_uri_is_trash_folder):
Utility function to indentify if the folder is trash based
on a text uri.
* libnautilus-extensions/nautilus-file.c:
(nautilus_file_can_rename):
Call nautilus_uri_is_trash_folder to identify a trash
folder and disallow renaming.
2001-02-02 John Sullivan <sullivan@eazel.com>
reviewed by: Darin Adler <darin@eazel.com>
Fixed bug 5749 (bookmarks are untranslated)
* data/static_bookmarks.xml:
An earlier checkin to update the bookmarks stripped off
all the underscores from "_name=" strings, which was what
was causing them to be translated. Fixed by returning the
underscores.
2001-02-02 Ramiro Estrugo <ramiro@eazel.com>
* applets/preferences-applet/nautilus-preferences-applet.c:
(boolean_toggle_button_new), (start_button_clicked_callback),
(main):
Add a Nautilus start button. Also make the fonts smaller to
conserver panel space.
2001-02-02 Ramiro Estrugo <ramiro@eazel.com>
reviewed by: Maciej Stachowiak <mjs@eazel.com>
Fix bug 6131 - NautilusLabel does not support proper line wrap.
Its fixed for smooth mode. Theres a bug (6243) for the more
complicated issue of wrapping in non smooth mode.
* libnautilus-extensions/nautilus-label.h:
* libnautilus-extensions/nautilus-label.c:
(nautilus_label_initialize_class), (nautilus_label_set_arg),
(nautilus_label_get_arg), (nautilus_label_size_allocate),
(nautilus_label_set_never_smooth),
(nautilus_label_set_adjust_wrap_on_resize),
(nautilus_label_get_adjust_wrap_on_resize):
Add a boolean attribute 'adjust_wrap_on_resize' that controls
whether the label will automatically update its line wrap width
when its resized.
* components/services/summary/nautilus-view/nautilus-summary-view.c
: (summary_view_item_label_new), (summary_load_location_callback):
No longer need size_allocate hack. Use NautilusLabel's
'adjust_wrap_on_resize' attribute instead.
* test/test-nautilus-label-wrapped.c: (create_nautilus_label),
(create_gtk_label_window), (create_nautilus_label_window), (main):
Update for 'adjust_wrap_on_resize'.
2001-02-01 Maciej Stachowiak <mjs@eazel.com>
reviewed by: Pavel Cisler <pavel@eazel.com>
Fix bug 4678 (Clicking on a Nautilus link file in tree view causes
Nautilus cannot handle item type error box).
* components/tree/nautilus-tree-view.c:
(nautilus_tree_view_destroy), (got_activation_uri_callback),
(cancel_possible_activation), (tree_select_row_callback): Activate
activation URI instead of file URI to support Nautilus links
properly. If the link resolves to a "command:" URI, however,
silently ignore it to avoid giving an ugly error message because
per John Sullivan, selecting things in the tree view should not
launch apps.
* components/tree/nautilus-tree-view-private.h: Added
activation_uri_wait_file field to details struct.
* data/top/Computer, data/top/Services: Updated to new nautilus
link format.
2001-02-02 Robey Pointer <robey@eazel.com>
* components/services/install/nautilus-view/nautilus-service-instal
l-view.c: (flatten_package_tree_foreach):
Fix build breakage caused by my previous checkin.
2001-02-02 Robey Pointer <robey@eazel.com>
reviewed by: Eskil Heyn Olsen <eskil@eazel.com>
* components/services/install/lib/eazel-install-logic2.c:
(is_satisfied), (download_packages):
* components/services/install/lib/eazel-install-protocols.c:
(gnome_vfs_fetch_remote_file):
Fix thinko (caused by myself in October) that caused the stop
button to only cancel one download and then aggravatingly continue
with the remaining downloads.
* components/services/install/idl/trilobite-eazel-install.idl:
* components/services/install/lib/eazel-install-corba-callback.c:
(impl_download_progress), (impl_preflight_check),
(impl_download_failed), (impl_dep_check), (impl_install_progress),
(impl_uninstall_progress), (impl_md5_check_failed),
(impl_install_failed), (impl_uninstall_failed),
(eazel_install_callback_simple_query):
* components/services/install/lib/eazel-install-corba-types.c:
(corba_string_sequence_to_glist),
(g_list_to_corba_string_sequence),
(corba_packagedatastruct_fill_from_packagedata),
(corba_packagedatastruct_from_packagedata),
(corba_packagedatastructlist_fill_from_packagedata_list),
(corba_packagedatastructlist_from_packagedata_list),
(new_fake_md5), (traverse_packagetree_md5),
(corba_packagedatastruct_fill_deps),
(corba_packagedatastructlist_foreach),
(corba_packagedatastructlist_from_packagedata_tree),
(packagedata_from_corba_packagedatastruct),
(packagedata_list_from_corba_packagedatastructlist),
(packagedata_tree_from_corba_packagedatastructlist),
(corba_category_list_from_categorydata_list),
(categorydata_list_from_corba_categorystructlist):
* components/services/install/lib/eazel-install-corba-types.h:
* components/services/install/lib/eazel-install-corba.c:
(impl_Eazel_Install_install_packages),
(impl_Eazel_Install_uninstall_packages),
(impl_Eazel_Install_simple_query):
* components/services/install/lib/eazel-install-object.c:
(eazel_install_emit_preflight_check_default),
(eazel_install_emit_install_failed_default),
(eazel_install_emit_uninstall_failed_default):
* components/services/install/lib/eazel-install-xml-package-list.c:
(parse_package), (eazel_install_packagedata_to_xml_int),
(eazel_install_packagedata_to_xml),
(eazel_install_packagelist_to_xml):
* components/services/install/lib/eazel-install-xml-package-list.h:
Add proper "breaks", "modifies", and "depends" structures to the
corba interface, by using package MD5 strings to serve as "soft
pointers" between packages in a package tree. Convert the
preflight, install_failed, and uninstall_failed signals to use the
new package-tree type instead of munging into and out of XML.
Also fixed up the API's to the corba conversion routines so they
would make a valiant attempt not to leak memory.
* components/services/install/lib/eazel-package-system-types.c:
(packagedata_copy):
Don't forget to copy that pesky MD5!
* components/services/install/lib/eazel-package-system-types.h:
Satisfy Robey's desire to avoid Carpal Tunnel Syndrome.
* components/services/install/lib/eazel-softcat.c:
(eazel_softcat_string_to_sense_flags),
(get_search_url_for_package):
* components/services/install/lib/eazel-softcat.h:
Add function to convert a sense string back into flags.
* components/services/install/nautilus-view/nautilus-service-instal
l-view.c: (flatten_package_tree_depends_foreach),
(flatten_package_tree_foreach):
Fix up the install view to use the new "depends" chain instead of
the old "soft_depends" which is now empty.
2001-02-02 Ramiro Estrugo <ramiro@eazel.com>
* libnautilus-extensions/nautilus-metafile-factory.c: (corba_open):
Add new line at end of file to make redhat7 build happy.
2001-02-01 Ramiro Estrugo <ramiro@eazel.com>
reviewed by: Maciej Stachowiak <mjs@eazel.com>
* libnautilus-extensions/nautilus-global-preferences.c:
(global_preferences_install_defaults),
(global_preferences_install_visibility),
(global_preferences_install_sidebar_panel_defaults):
* libnautilus-extensions/nautilus-preferences.c:
(nautilus_preferences_get_user_level):
* libnautilus-extensions/nautilus-preferences.h:
* src/nautilus-first-time-druid.c: (set_up_user_level_page):
* src/nautilus-window-menus.c: (get_user_level_icon_name),
(nautilus_window_initialize_menus), (convert_verb_to_user_level),
(convert_user_level_to_path):
* test/test-nautilus-preferences-change.c: (main):
Change 'hacker' to 'advanced' for the advanced user level so that
the names used for storage match those used for display.
2001-02-01 Maciej Stachowiak <mjs@eazel.com>
reviewed by: Darin Adler <darin@eazel.com> and
Robey Pointer <robey@eazel.com>
Fix bugs 5528 (oaf command-line options show up in main program
section, not a separate section) and 5510 (descriptions of
OAF-specific options in --help are not translated). To do this I
had to change the way the oaf popt options are processed in all
the places that do so.
* components/adapter/main.c: (main):
* components/hardware/main.c: (main):
* components/help/hyperbola-main.c: (main):
* components/image-viewer/Nautilus_View_image.oaf.in:
* components/image-viewer/nautilus-image-view.c:
(init_server_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/services/install/command-line/eazel-alt-install-corba.
c: (main):
* components/services/install/nautilus-view/main.c: (main):
* components/services/login/nautilus-view/main.c: (main):
* components/services/summary/nautilus-view/main.c: (main):
* components/services/time/command-line/main.c: (main):
* components/services/time/nautilus-view/main.c: (main):
* components/services/trilobite/libtrilobite/trilobite-core-utils.c
: (trilobite_init):
* components/shell/shell.c:
* components/text/Nautilus_View_text.oaf.in:
* components/text/main.c: (main):
* components/throbber/main.c: (main):
* components/tree/main.c: (main):
* libnautilus/nautilus-view-standard-main.c:
(nautilus_view_standard_main_multi):
* src/Nautilus_shell.oaf.in:
* src/nautilus-main.c: (main):
* test/test-nautilus-mime-actions-set.c: (main):
* test/test-nautilus-mime-actions.c: (main): Register oaf options
with gnomelib_register_popt_options and move oaf_init call to
before gnome_init to fix the aforementioned bugs.
2001-02-01 Rebecca Schulman <rebecka@eazel.com>
Fixed bug 5648, bad ui in the indexing info
dialog.
reviewed by: Maciej Stachowiak <mjs@eazel.com>
* src/file-manager/nautilus-indexing-info.c:
(get_index_percentage_complete), (initialize_dialog),
(get_text_for_progress_label), (update_progress_display),
(show_index_progress_dialog), (show_reindex_request_dialog),
(recreate_and_show_reindex_request_dialog),
(update_file_index_callback),
(last_index_time_and_reindex_button_dialog_new),
(index_progress_dialog_new),
(destroy_indexing_info_dialogs_on_exit),
(show_indexing_info_dialog): Rework this file. Use two separate
index dialogs for the case where the index is going, and not
going. When "update now" is pressed, switch to the index progress
dialog. Report errors reported by and unavailibility of the
indexing service.
* libnautilus-extensions/nautilus-stock-dialogs.c:
(nautilus_create_info_dialog):
* libnautilus-extensions/nautilus-stock-dialogs.h:
Add this for use in creating the indexing info dialog.
2001-02-01 Michael K. Fleming <mfleming@eazel.com>
reviewed by: <robey@eazel.com>
Bug 6103 a user can install any package from softcat without login
Bug 4514 error msg when register during softcat install
Login dialog for the install view, with working registration, cancel,
etc.
* components/services/install/nautilus-view/Makefile.am:
* components/services/install/nautilus-view/main.c: (main):
* components/services/install/nautilus-view/nautilus-service-instal
l-view.c: (nautilus_service_install_view_destroy),
(nautilus_install_parse_uri), (nautilus_service_install_done),
(user_login_callback),
(nautilus_service_install_view_update_from_uri),
(nautilus_service_install_view_update_from_uri_finish),
(nautilus_service_install_view_load_uri):
* components/services/summary/nautilus-view/nautilus-summary-menu-i
tems.c: (merge_bonobo_menu_items):
* components/services/summary/nautilus-view/nautilus-summary-view.c
: (update_header), (nautilus_summary_view_load_uri):
* src/nautilus-window-service-ui.c: (goto_online_storage),
(goto_software_catalog):
2001-02-01 Michael Engber <engber@eazel.com>
* libnautilus-extensions/Makefile.am:
* libnautilus-extensions/nautilus-metafile-factory.c:
(nautilus_metafile_factory_initialize_class),
(nautilus_metafile_factory_get_epv),
(nautilus_metafile_factory_get_vepv),
(nautilus_metafile_factory_create_servant),
(nautilus_metafile_factory_initialize), (destroy),
(nautilus_meta_file_factory_new), (corba_open):
* libnautilus-extensions/nautilus-metafile-factory.h:
* libnautilus-extensions/nautilus-metafile-server.idl:
* libnautilus-extensions/nautilus-metafile.c:
(nautilus_metafile_initialize_class), (nautilus_metafile_get_epv),
(nautilus_metafile_get_vepv), (nautilus_metafile_create_servant),
(nautilus_metafile_initialize), (destroy), (nautilus_metafile_new),
(corba_get), (corba_get_list), (corba_set), (corba_set_list),
(corba_copy), (corba_remove), (corba_rename),
(corba_register_monitor), (corba_unregister_monitor):
* libnautilus-extensions/nautilus-metafile.h:
Initiall check-in of new metadata APIs (corba) - not hooked
up yet.
2001-02-01 Gene Z. Ragan <gzr@eazel.com>
reviewed by: Pavel Cisler <pavel@eazel.com>
Fixed bug 6941, 'Clean Up By Name' feature on the desktop keep
switching file locations after being 'cleaned up'
* src/file-manager/fm-desktop-icon-view.c:
(desktop_icons_compare_callback):
In the case of identical links tpyes, compare by name.
More work on gmc transition tool
* src/nautilus-first-time-druid.c:
(druid_finished):
Hide druid widget before performing startup tasks.
(next_proxy_configuration_page_callback),
(add_nautilus_to_session):
2001-02-01 Pavel Cisler <pavel@eazel.com>
reviewed by: Gene Ragan <gzr@eazel.com>
Fix 6152 (Dragging a file to the trash will bring up a replace
dialog)
Fix 5387 (Dragging a file within Trash gives "already exists"
error)
* libnautilus-extensions/nautilus-drag.c:
* libnautilus-extensions/nautilus-drag.h:
(nautilus_drag_items_local), (nautilus_drag_items_in_trash):
Add more convenience calls for Trash handling.
* libnautilus-extensions/nautilus-file-utilities.h:
* libnautilus-extensions/nautilus-file-utilities.c:
(nautilus_uri_is_in_trash):
New convenience call for Trash handling.
* libnautilus-extensions/nautilus-file.c:
(nautilus_file_is_in_trash):
Use the new nautilus_uri_is_in_trash call.
* libnautilus-extensions/nautilus-file-operations.c:
(nautilus_file_operations_copy_move):
Handle the case where a file is dragged into a Trash window or
onto a Trash icon as if the "Move to Trash" command was issued -
if there is a name conflict with a pre-existing file in the Trash,
use a new unique name for the new file.
* libnautilus-extensions/nautilus-icon-dnd.c:
(nautilus_icon_container_selection_items_local):
Handle files in the Trash properly - doing a parent match with
the container URI fails for these, special case Trash handling.
2001-02-01 John Sullivan <sullivan@eazel.com>
reviewed by: Pavel Cisler <pavel@eazel.com>
Fixed bug 143 (zooming in list view doesn't affect font size)
Maybe I get the award for "oldest reported bug fixed recently"?
* src/file-manager/fm-list-view.c:
(fm_list_view_update_font): New function, started with guts of
fm_list_view_font_family_changed but also takes zoom level into
account when choosing font size.
(set_up_list): Call _update_font instead of _font_family_changed,
just 'cuz it makes more sense.
(fm_list_view_set_zoom_level): Call _update_font.
(fm_list_view_font_family_changed): Extracted guts to
_update_font.
2001-02-01 John Sullivan <sullivan@eazel.com>
reviewed by: Darin Adler <darin@eazel.com>
Fixed bug 6181 (funny mouse clicking freezes Nautilus)
* libnautilus-extensions/nautilus-icon-container.c:
(button_press_event): Ignore middle & right button
presses when we're dragging a selection rectangle.
2001-02-01 John Sullivan <sullivan@eazel.com>
reviewed by: Darin Adler <darin@eazel.com>
* libnautilus-extensions/nautilus-global-preferences.c:
(global_preferences_install_descriptions):
Parenthesize parenthetical part of "slow but complete
search" checkbox label.
(global_preferences_create_dialog): Use SHORT_ENUM
instead of ENUM type for executable text file
activation options so they all go on one line, taking
less precious vertical screen real estate.
2001-02-01 Darin Adler <darin@eazel.com>
* components/services/install/lib/eazel-package-system-types.h:
Add missing packagedata_destroy prototype to make it compile
on systems with RPM 4 (like mine).
2001-02-01 Maciej Stachowiak <mjs@eazel.com>
* ChangeLog: rolled over to ChangeLog-20010201.
|