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
18764
18765
18766
18767
18768
18769
18770
18771
18772
18773
18774
18775
18776
18777
18778
18779
18780
18781
18782
18783
18784
18785
18786
18787
18788
18789
18790
18791
18792
18793
18794
18795
18796
18797
18798
18799
18800
18801
18802
18803
18804
18805
18806
18807
18808
18809
18810
18811
18812
18813
18814
18815
18816
18817
18818
18819
18820
18821
18822
18823
18824
18825
18826
18827
18828
18829
18830
18831
18832
18833
18834
18835
18836
18837
18838
18839
18840
18841
18842
18843
18844
18845
18846
18847
18848
18849
18850
18851
18852
18853
18854
18855
18856
18857
18858
18859
18860
18861
18862
18863
18864
18865
18866
18867
18868
18869
18870
18871
18872
18873
18874
18875
18876
18877
18878
18879
18880
18881
18882
18883
18884
18885
18886
18887
18888
18889
18890
18891
18892
18893
18894
18895
18896
18897
18898
18899
18900
18901
18902
18903
18904
18905
18906
18907
18908
18909
18910
18911
18912
18913
18914
18915
18916
18917
18918
18919
18920
18921
18922
18923
18924
18925
18926
18927
18928
18929
18930
18931
18932
18933
18934
18935
18936
18937
18938
18939
18940
18941
18942
18943
18944
18945
18946
18947
18948
18949
18950
18951
18952
18953
18954
18955
18956
18957
18958
18959
18960
18961
18962
18963
18964
18965
18966
18967
18968
18969
18970
18971
18972
18973
18974
18975
18976
18977
18978
18979
18980
18981
18982
18983
18984
18985
18986
18987
18988
18989
18990
18991
18992
18993
18994
18995
18996
18997
18998
18999
19000
19001
19002
19003
19004
19005
19006
19007
19008
19009
19010
19011
19012
19013
19014
19015
19016
19017
19018
19019
19020
19021
19022
19023
19024
19025
19026
19027
19028
19029
19030
19031
19032
19033
19034
19035
19036
19037
19038
19039
19040
19041
19042
19043
19044
19045
19046
19047
19048
19049
19050
19051
19052
19053
19054
19055
19056
19057
19058
19059
19060
19061
19062
19063
19064
19065
19066
19067
19068
19069
19070
19071
19072
19073
19074
19075
19076
19077
19078
19079
19080
19081
19082
19083
19084
19085
19086
19087
19088
19089
19090
19091
19092
19093
19094
19095
19096
19097
19098
19099
19100
19101
19102
19103
19104
19105
19106
19107
19108
19109
19110
19111
19112
19113
19114
19115
19116
19117
19118
19119
19120
19121
19122
19123
19124
19125
19126
19127
19128
19129
19130
19131
19132
19133
19134
19135
19136
19137
19138
19139
19140
19141
19142
19143
19144
19145
19146
19147
19148
19149
19150
19151
19152
19153
19154
19155
19156
19157
19158
19159
19160
19161
19162
19163
19164
19165
19166
19167
19168
19169
19170
19171
19172
19173
19174
19175
19176
19177
19178
19179
19180
19181
19182
19183
19184
19185
19186
19187
19188
19189
19190
19191
19192
19193
19194
19195
19196
19197
19198
19199
19200
19201
19202
19203
19204
19205
19206
19207
19208
19209
19210
19211
19212
19213
19214
19215
19216
19217
19218
19219
19220
19221
19222
19223
19224
19225
19226
19227
19228
19229
19230
19231
19232
19233
19234
19235
19236
19237
19238
19239
19240
19241
19242
19243
19244
19245
19246
19247
19248
19249
19250
19251
19252
19253
19254
19255
19256
19257
19258
19259
19260
19261
19262
19263
19264
19265
19266
19267
19268
19269
19270
19271
19272
19273
19274
19275
19276
19277
19278
19279
19280
19281
19282
19283
19284
19285
19286
19287
19288
19289
19290
19291
19292
19293
19294
19295
19296
19297
19298
19299
19300
19301
19302
19303
19304
19305
19306
19307
19308
19309
19310
19311
19312
19313
19314
19315
19316
19317
19318
19319
19320
19321
19322
19323
19324
19325
19326
19327
19328
19329
19330
19331
19332
19333
19334
19335
19336
19337
19338
19339
19340
19341
19342
19343
19344
19345
19346
19347
19348
19349
19350
19351
19352
19353
19354
19355
19356
19357
19358
19359
19360
19361
19362
19363
19364
19365
19366
19367
19368
19369
19370
19371
19372
19373
19374
19375
19376
19377
19378
19379
19380
19381
19382
19383
19384
19385
19386
19387
19388
19389
19390
19391
19392
19393
19394
19395
19396
19397
19398
19399
19400
19401
19402
19403
19404
19405
19406
19407
19408
19409
19410
19411
19412
19413
19414
19415
19416
19417
19418
19419
19420
19421
19422
19423
19424
19425
19426
19427
19428
19429
19430
19431
19432
19433
19434
19435
19436
19437
19438
19439
19440
19441
19442
19443
19444
19445
19446
19447
19448
19449
19450
19451
19452
19453
19454
19455
19456
19457
19458
19459
19460
19461
19462
19463
19464
19465
19466
19467
19468
19469
19470
19471
19472
19473
19474
19475
19476
19477
19478
19479
19480
19481
19482
19483
19484
19485
19486
19487
19488
19489
19490
19491
19492
19493
19494
19495
19496
19497
19498
19499
19500
19501
19502
19503
19504
19505
19506
19507
19508
19509
19510
19511
19512
19513
19514
19515
19516
19517
19518
19519
19520
19521
19522
19523
19524
19525
19526
19527
19528
19529
19530
19531
19532
19533
19534
19535
19536
19537
19538
19539
19540
19541
19542
19543
19544
19545
19546
19547
19548
19549
19550
19551
19552
19553
19554
19555
19556
19557
19558
19559
19560
19561
19562
19563
19564
19565
19566
19567
19568
19569
19570
19571
19572
19573
19574
19575
19576
19577
19578
19579
19580
19581
19582
19583
19584
19585
19586
19587
19588
19589
19590
19591
19592
19593
19594
19595
19596
19597
19598
19599
19600
19601
19602
19603
19604
19605
19606
19607
19608
19609
19610
19611
19612
19613
19614
19615
19616
19617
19618
19619
19620
19621
19622
19623
19624
19625
19626
19627
19628
19629
19630
19631
19632
19633
19634
19635
19636
19637
19638
19639
19640
19641
19642
19643
19644
19645
19646
19647
19648
19649
19650
19651
19652
19653
19654
19655
19656
19657
19658
19659
19660
19661
19662
19663
19664
19665
19666
19667
19668
19669
19670
19671
19672
19673
19674
19675
19676
19677
19678
19679
19680
19681
19682
19683
19684
19685
19686
19687
19688
19689
19690
19691
19692
19693
19694
19695
19696
19697
19698
19699
19700
19701
19702
19703
19704
19705
19706
19707
19708
19709
19710
19711
19712
19713
19714
19715
19716
19717
19718
19719
19720
19721
19722
19723
19724
19725
19726
19727
19728
19729
19730
19731
19732
19733
19734
19735
19736
19737
19738
19739
19740
19741
19742
19743
19744
19745
19746
19747
19748
19749
19750
19751
19752
19753
19754
19755
19756
19757
19758
19759
19760
19761
19762
19763
19764
19765
19766
19767
19768
19769
19770
19771
19772
19773
19774
19775
19776
19777
19778
19779
19780
19781
19782
19783
19784
19785
19786
19787
19788
19789
19790
19791
19792
19793
19794
19795
19796
19797
19798
19799
19800
19801
19802
19803
19804
19805
19806
19807
19808
19809
19810
19811
19812
19813
19814
19815
19816
19817
19818
19819
19820
19821
19822
19823
19824
19825
19826
19827
19828
19829
19830
19831
19832
19833
19834
19835
19836
19837
19838
19839
19840
19841
19842
19843
19844
19845
19846
19847
19848
19849
19850
19851
19852
19853
19854
19855
19856
19857
19858
19859
19860
19861
19862
19863
19864
19865
19866
19867
19868
19869
19870
19871
19872
19873
19874
19875
19876
19877
19878
19879
19880
19881
19882
19883
19884
19885
19886
19887
19888
19889
19890
19891
19892
19893
19894
19895
19896
19897
19898
19899
19900
19901
19902
19903
19904
19905
19906
19907
19908
19909
19910
19911
19912
19913
19914
19915
19916
19917
19918
19919
19920
19921
19922
19923
19924
19925
19926
19927
19928
19929
19930
19931
19932
19933
19934
19935
19936
19937
19938
19939
19940
19941
19942
19943
19944
19945
19946
19947
19948
19949
19950
19951
19952
19953
19954
19955
19956
19957
19958
19959
19960
19961
19962
19963
19964
19965
19966
19967
19968
19969
19970
19971
19972
19973
19974
19975
19976
19977
19978
19979
19980
19981
19982
19983
19984
19985
19986
19987
19988
19989
19990
19991
19992
19993
19994
19995
19996
19997
19998
19999
20000
20001
20002
20003
20004
20005
20006
20007
20008
20009
20010
20011
20012
20013
20014
20015
20016
20017
20018
20019
20020
20021
20022
20023
20024
20025
20026
20027
20028
20029
20030
20031
20032
20033
20034
20035
20036
20037
20038
20039
20040
20041
20042
20043
20044
20045
20046
20047
20048
20049
20050
20051
20052
20053
20054
20055
20056
20057
20058
20059
20060
20061
20062
20063
20064
20065
20066
20067
20068
20069
20070
20071
20072
20073
20074
20075
20076
20077
20078
20079
20080
20081
20082
20083
20084
20085
20086
20087
20088
20089
20090
20091
20092
20093
20094
20095
20096
20097
20098
20099
20100
20101
20102
20103
20104
20105
20106
20107
20108
20109
20110
20111
20112
20113
20114
20115
20116
20117
20118
20119
20120
20121
20122
20123
20124
20125
20126
20127
20128
20129
20130
20131
20132
20133
20134
20135
20136
20137
20138
20139
20140
20141
20142
20143
20144
20145
20146
20147
20148
20149
20150
20151
20152
20153
20154
20155
20156
20157
20158
20159
20160
20161
20162
20163
20164
20165
20166
20167
20168
20169
20170
20171
20172
20173
20174
20175
20176
20177
20178
20179
20180
20181
20182
20183
20184
20185
20186
20187
20188
20189
20190
20191
20192
20193
20194
20195
20196
20197
20198
20199
20200
20201
20202
20203
20204
20205
20206
20207
20208
20209
20210
20211
20212
20213
20214
20215
20216
20217
20218
20219
20220
20221
20222
20223
20224
20225
20226
20227
20228
20229
20230
20231
20232
20233
20234
20235
20236
20237
20238
20239
20240
20241
20242
20243
20244
20245
20246
20247
20248
20249
20250
20251
20252
20253
20254
20255
20256
20257
20258
20259
20260
20261
20262
20263
20264
20265
20266
20267
20268
20269
20270
20271
20272
20273
20274
20275
20276
20277
20278
20279
20280
20281
20282
20283
20284
20285
20286
20287
20288
20289
20290
20291
20292
20293
20294
20295
20296
20297
20298
20299
20300
20301
20302
20303
20304
20305
20306
20307
20308
20309
20310
20311
20312
20313
20314
20315
20316
20317
20318
20319
20320
20321
20322
20323
20324
20325
20326
20327
20328
20329
20330
20331
20332
20333
20334
20335
20336
20337
20338
20339
20340
20341
20342
20343
20344
20345
20346
20347
20348
20349
20350
20351
20352
20353
20354
20355
20356
20357
20358
20359
20360
20361
20362
20363
20364
20365
20366
20367
20368
20369
20370
20371
20372
20373
20374
20375
20376
20377
20378
20379
20380
20381
20382
20383
20384
20385
20386
20387
20388
20389
20390
20391
20392
20393
20394
20395
20396
20397
20398
20399
20400
20401
20402
20403
20404
20405
20406
20407
20408
20409
20410
20411
20412
20413
20414
20415
20416
20417
20418
20419
20420
20421
20422
20423
20424
20425
20426
20427
20428
20429
20430
20431
20432
20433
20434
20435
20436
20437
20438
20439
20440
20441
20442
20443
20444
20445
20446
20447
20448
20449
20450
20451
20452
20453
20454
20455
20456
20457
20458
20459
20460
20461
20462
20463
20464
20465
20466
20467
20468
20469
20470
20471
20472
20473
20474
20475
20476
20477
20478
20479
20480
20481
20482
20483
20484
20485
20486
20487
20488
20489
20490
20491
20492
20493
20494
20495
20496
20497
20498
20499
20500
20501
20502
20503
20504
20505
20506
20507
20508
20509
20510
20511
20512
20513
20514
20515
20516
20517
20518
20519
20520
20521
20522
20523
20524
20525
20526
20527
20528
20529
20530
20531
20532
20533
20534
20535
20536
20537
20538
20539
20540
20541
20542
20543
20544
20545
20546
20547
20548
20549
20550
20551
20552
20553
20554
20555
20556
20557
20558
20559
20560
20561
20562
20563
20564
20565
20566
20567
20568
20569
20570
20571
20572
20573
20574
20575
20576
20577
20578
20579
20580
20581
20582
20583
20584
20585
20586
20587
20588
20589
20590
20591
20592
20593
20594
20595
20596
20597
20598
20599
20600
20601
20602
20603
20604
20605
20606
20607
20608
20609
20610
20611
20612
20613
20614
20615
20616
20617
20618
20619
20620
20621
20622
20623
20624
20625
20626
20627
20628
20629
20630
20631
20632
20633
20634
20635
20636
20637
20638
20639
20640
20641
20642
20643
20644
20645
20646
20647
20648
20649
20650
20651
20652
20653
20654
20655
20656
20657
20658
20659
20660
20661
20662
20663
20664
20665
20666
20667
20668
20669
20670
20671
20672
20673
20674
20675
20676
20677
20678
20679
20680
20681
20682
20683
20684
20685
20686
20687
20688
20689
20690
20691
20692
20693
20694
20695
20696
20697
20698
20699
20700
20701
20702
20703
20704
20705
20706
20707
20708
20709
20710
20711
20712
20713
20714
20715
20716
20717
20718
20719
20720
20721
20722
20723
20724
20725
20726
20727
20728
20729
20730
20731
20732
20733
20734
20735
20736
20737
20738
20739
20740
20741
20742
20743
20744
20745
20746
20747
20748
20749
20750
20751
20752
20753
20754
20755
20756
20757
20758
20759
20760
20761
20762
20763
20764
20765
20766
20767
20768
20769
20770
20771
20772
20773
20774
20775
20776
20777
20778
20779
20780
20781
20782
20783
20784
20785
20786
20787
20788
20789
20790
20791
20792
20793
20794
20795
20796
20797
20798
20799
20800
20801
20802
20803
20804
20805
20806
20807
20808
20809
20810
20811
20812
20813
20814
20815
20816
20817
20818
20819
20820
20821
20822
20823
20824
20825
20826
20827
20828
20829
20830
20831
|
2001-01-24 Andy Hertzfeld <andy@eazel.com>
removed files that I inadvertently checked in to the
wrong branch.
* components/rss-control/.cvsignore:
* components/rss-control/Makefile.am:
* components/rss-control/main.c:
* components/rss-control/nautilus-rss-control.c:
* components/rss-control/nautilus-rss-control.h:
* components/rss-control/nautilus-rss-control.oafinfo:
* data/top/Clock:
* data/top/Slashdot:
2001-01-23 Andy Hertzfeld <andy@eazel.com>
* src/nautilus-theme-selector.c: (remove_button_callback),
(exit_remove_mode):
fixed recently introduced problem where it was still
treating button labels as nautilus_labels instead of
gtk_labels.
2001-01-23 Andy Hertzfeld <andy@eazel.com>
* src/nautilus-theme-selector.c:
(nautilus_theme_selector_initialize), (remove_button_callback),
(exit_remove_mode):
fixed bug 5972, remove theme button uses aa text, by using
a gtk_label instead of a nautilus_label.
* libnautilus-extensions/nautilus-theme.c:
(nautilus_theme_make_selector):
fixed a crash when an installed theme lacked a preview icon,
cleaned up code and fixed a memory leak.
2001-01-23 Maciej Stachowiak <mjs@eazel.com>
reviewed by: Darin Adler <darin@eazel.com>
Partial fix for bug 5902 (Rapidly changing between Icon and
Image/Text crashes Nautilus).
* src/nautilus-view-frame.c:
(nautilus_view_frame_load_client_async),
(nautilus_view_frame_load_client),
(nautilus_view_frame_stop_activation),
(nautilus_view_frame_load_location),
(nautilus_view_frame_stop_loading),
(nautilus_view_frame_selection_changed),
(nautilus_view_frame_title_changed),
(nautilus_view_frame_is_zoomable),
(nautilus_view_frame_get_zoom_level),
(nautilus_view_frame_set_zoom_level),
(nautilus_view_frame_get_min_zoom_level),
(nautilus_view_frame_get_max_zoom_level),
(nautilus_view_frame_get_has_min_zoom_level),
(nautilus_view_frame_get_has_max_zoom_level),
(nautilus_view_frame_get_is_continuous),
(nautilus_view_frame_get_preferred_zoom_levels),
(nautilus_view_frame_zoom_in), (nautilus_view_frame_zoom_out),
(nautilus_view_frame_zoom_to_fit),
(nautilus_view_frame_open_location_in_this_window),
(nautilus_view_frame_open_location_prefer_existing_window),
(nautilus_view_frame_open_location_force_new_window),
(nautilus_view_frame_report_selection_change),
(nautilus_view_frame_report_status),
(nautilus_view_frame_report_load_underway),
(nautilus_view_frame_report_load_progress),
(nautilus_view_frame_report_load_complete),
(nautilus_view_frame_report_load_failed),
(nautilus_view_frame_set_title), (nautilus_view_frame_get_title),
(nautilus_view_frame_get_label), (nautilus_view_frame_set_label),
(nautilus_view_frame_activate), (get_history_list),
(send_history),
(nautilus_view_frame_get_is_underway): Silently do nothing if the
view frame has failed. Based on suggestions from Darin. Also
includes return_if_fail fixes from Darin.
2001-01-23 Eskil Heyn Olsen <eskil@eazel.com>
* components/services/install/command-line/eazel-alt-install-corba.
c: (md5_check_failed), (delete_files):
Changed output in md5_failed to be readable.
Only ask about deleting files if any where downloaded (the check
was commented out for some reason)
* components/services/install/command-line/eazel-test-packsys.c:
(test_package_load), (test_query), (test_query_owns_mem),
(is_installed), (test_install), (test_uninstall), (test_verify),
(main):
s/packagedata_destroy/gtk_object_unref/ - eazel-test-packsys now
no longer leaks packagedata objects.
* components/services/install/lib/eazel-install-corba-callback.c:
(impl_md5_check_failed):
Removed an debug output.
* components/services/install/lib/eazel-install-logic2.c:
(is_satisfied), (is_satisfied_features):
(check_dependencies_foreach), (check_dependencies):
Fixed nasty bug that caused the install service to loop on some
packages that have circular dependency (found by Ken).
* components/services/install/nautilus-view/nautilus-service-instal
l-view.c: (nautilus_install_parse_uri),
(nautilus_service_install_view_update_from_uri):
Fixed the port thing again (should fix 5960)
2001-01-23 Ramiro Estrugo <ramiro@eazel.com>
* applets/Makefile.am:
* applets/launcher/Makefile.am:
* applets/launcher/nautilus-launcher-applet.c: (button_toggled),
(show_desktop_changed_callback), (delete_event), (main):
* applets/launcher/nautilus-launcher-applet.gnorba:
* applets/preferences-applet/Makefile.am:
* applets/preferences-applet/nautilus-preferences-applet.c:
(accept_all_cookies), (preference_toggle_destroy_callback),
(boolean_preference_changed_callback), (button_toggled),
(boolean_toggle_button_new), (main):
* applets/preferences-applet/nautilus-preferences-applet.gnorba:
* configure.in:
A very simple applet to debug show desktop and smooth graphics
preferences.
2001-01-23 Andy Hertzfeld <andy@eazel.com>
* libnautilus-extensions/nautilus-directory-background.c:
(theme_image_path_to_uri):
fixed bug 5908, assert hit when background pattern is deleted, by
testing explicitly for the file missing and returning NULL in that
case instead of asserting.
2001-01-23 John Sullivan <sullivan@eazel.com>
reviewed by: Pavel Cisler <pavel@eazel.com>
Fixed bug 2153 (deep count calculation in properties window
could be faster)
Fixed bug 5687 (Sidebar flickers and CPU thrashes during
deep count calculation in properties window)
Changed the deep count calculation to send a specialized
signal when the in-progress count updates, instead of using
"file_changed", since many parts of the UI react to file_changed
by doing (in this case unnecessary) work. My stopwatch measurement
on a large directory showed that the time to calculate 20000
contained files went from 147 seconds to 8 seconds, and the CPU
usage pegged around 15% (formerly 100%).
* libnautilus-extensions/nautilus-directory-async.c:
(deep_count_callback): Call nautilus_file_changed only when
count is finished; call nautilus_file_updated_deep_count_in_progress
after every new higher value is computed.
* libnautilus-extensions/nautilus-file-private.h:
Added prototype for nautilus_file_updated_deep_count_in_progress.
* libnautilus-extensions/nautilus-file.h:
* libnautilus-extensions/nautilus-file.c:
(nautilus_file_initialize_class): define "updated_deep_count_in_progres"
signal.
(nautilus_file_updated_deep_count_in_progress): send this new signal
for this file (which must be a directory) and any links pointing to
it.
* src/file-manager/fm-properties-window.c:
(attach_directory_contents_value_field): Make text field in properties
window react to new signal instead of "changed".
2001-01-23 John Sullivan <sullivan@eazel.com>
Fixed bug 5959 (File name in "no applications available"
dialog should be in quotes)
* libnautilus-extensions/nautilus-program-chooser.c:
(nautilus_program_chooser_show_no_choices_message):
Put quotes around file name in dialog.
2001-01-23 Andy Hertzfeld <andy@eazel.com>
* components/hardware/nautilus-hardware-view.c:
(hardware_view_load_location_callback):
fixed bug 5746, hardware title in hardware view not translated, by
explicitly setting the title using a localized string. This also
fixes the minor problem of the title not being capitalized
* icons/villanova/villanova.xml:
fixed bug 5658, Sierra theme lacks description, by adding a
description to the xml file.
2001-01-23 Andy Hertzfeld <andy@eazel.com>
* src/nautilus-property-browser.c:
(nautilus_property_browser_initialize), (make_category_link):
fixed bug 5587, hard-coded button geometry in the property browser,
fixed by removing the set_usizes and allowing gtk to adaptively
size them and replacing the table that was holding them with a
box so they will be centered properly.
2001-01-23 Maciej Stachowiak <mjs@eazel.com>
reviewed by: Pavel Cisler <pavel@eazel.com>
Fixed bug 5943 (Throbber crashes on nautilus startup (crashing
Nautilus) with some themes and configurations)
* components/help/hyperbola-main.c: (main):
* components/image-viewer/nautilus-image-view.c:
(init_server_factory):
* components/mozilla/main.c: (main):
* components/music/main.c: (main):
* components/notes/nautilus-notes.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/shell/shell.c:
* 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):
* nautilus-installer/src/main.c: (main):
* src/nautilus-main.c: (main): Added gdk_rgb_init calls. The
throbber one was causing a real 100% reproducible crash for me on
Nautilus startup, the rest are pre-emptive.
2001-01-23 Robin * Slomkowski <rslomkow@eazel.com>
* nautilus.spec.in: changed mozilla required version
to 0.7 this messes upgrades since 0.7 is lower than M18
2001-01-23 Ramiro Estrugo <ramiro@eazel.com>
reviewed by: Pavel Cisler <pavel@eazel.com>
* src/nautilus-theme-selector.c:
(nautilus_theme_selector_initialize):
Band aid fix for bug 5910 - Font size for Theme name is too large
in "Nautilus Theme Selector" dialog. I made the column larger to
fit up to and including the length of the currently largest known
theme name "Crux-Eggplant"
There are many reason why this is a lame band aid fix. The real
fix is to not hard code any geometry in this code. I filed a bug
for that (5951).
2001-01-22 Andy Hertzfeld <andy@eazel.com>
* data/browser.xml:
fixed typo in "terracotta" pattern name that caused it not to be
capitalized in the property browser.
2001-01-22 Eskil Heyn Olsen <eskil@eazel.com>
* components/services/install/command-line/eazel-alt-install-corba.
c: (set_parameters_from_command_line), (something_failed):
Removed the --port argument (since --server is now in server:port
form).
Removed --tmp as you shouldn't set it anymore.
Rename --noauth to --no-auth and --ssl_rename to --ssl-rename.
Default behaviour is now that no server or no-auth argument causes
eazel-install to use trilobite server setting and proxy. --no-auth
just uses trilobite server and no proxy, --server sets the server
and no proxy.
Changed output in something_failed.
* components/services/install/lib/eazel-install-logic.c:
(eazel_install_start_signal), (eazel_install_failed_signal):
Don't emit progress in uninstall (since the EazelInstall object
didn't have them, I was currently emitting install progress
signals)
Only emit failed signals on the toplevel.
* components/services/install/lib/eazel-install-logic2.c:
(eazel_install_check_existing_packages), (get_softcat_info),
(is_satisfied):
More ifdeffed debug.
Uncommented a commented out gtk_object_unref.
Commented out a unref and emit_failed, since the pruner is doing
this.
In is_satisifed, if no version in dep, check if package is
installed before checking features list. Faster and safer.
* components/services/install/lib/eazel-package-system-rpm3.c:
(make_rpm_argument_list),
(monitor_rpm_process_pipe_percent_output),
(monitor_rpm_process_pipe), (eazel_package_system_rpm3_execute):
Some ifdeffed code for --percent handling.
Set go==FALSE in execute if root helper fails (fixes a bug where
the installer would hang if wrong password was entered).
* components/services/install/nautilus-view/nautilus-service-instal
l-view.c: (nautilus_service_install_view_update_from_uri):
Default to port 80 if trilobite_get_services_address did not
include a port.
2001-01-22 Ramiro Estrugo <ramiro@eazel.com>
reviewed by: Pavel Cisler <pavel@eazel.com>
Fix bug 5914 - First run of Nautilus on clean system crashes.
* src/nautilus-application.c: (nautilus_application_initialize),
(nautilus_application_destroy), (nautilus_application_startup):
Add the preference callback for show_desktop much later in the
initialization of the Nautilus Application. Otherwise, the first
time druid triggers prefernece changes that cause the desktop to
turn on in the middle of the first time druid being presented to
the user.
2001-01-22 Rebecca Schulman <rebecka@eazel.com>
* libnautilus-extensions/nautilus-search-uri.c:
(nautilus_self_check_search_uri):
Fixed "make check." Oh, the woes.
Earlier I removed a field from a struct in
nautilus-search-uri and broke binary compatibility
between the many mysterious structs here. It seems
they all must be the same size.
Added a fixme so that we know this in the future,
hopefully. Also added an additional test during
debugging.
2001-01-22 Andy Hertzfeld <andy@eazel.com>
* src/nautilus-sidebar-tabs.c: (draw_one_tab_themed),
(draw_or_layout_all_tabs):
fixed bug 5895, critical errors when you make the sidebar small.
Fixed by clipping the amount we draw to fit within the destination
buffer before calling gdk_pixbuf_composite. Also fixed another crash
when trying to draw aa-text for the tab labels when the starting
offset is bigger than the buffer; in that case, don't draw anything.
2001-01-22 Ramiro Estrugo <ramiro@eazel.com>
* libnautilus-extensions/Makefile.am:
Dumshit me, forgot to checkin the Makefile.
2001-01-22 Mike Fleming <mfleming@eazel.com>
* components/mozilla/nautilus-mozilla-content-view.c:
Removed C++ style comments from copied code
2001-01-22 Michael Engber <engber@eazel.com>
reviewed by: Ramiro Estrugo
* libnautilus-extensions/nautilus-directory-background.c:
(desktop_background_realized),
(nautilus_connect_desktop_background_to_file_metadata),
(image_loading_done_callback),
(nautilus_connect_background_to_file_metadata):
Desktop backgrounds were being drawn before they were initialized.
Bugs 5853 & 5896.
2001-01-22 Rebecca Schulman <rebecka@eazel.com>
Fix bug 5316, that search results code has
empty strings marked for translation.
* libnautilus-extensions/nautilus-search-uri.c: (parse_uri):
Remove "prefixes" for search criteria that were
always blank.
2001-01-22 Ramiro Estrugo <ramiro@eazel.com>
reviewed by: Pavel Cisler <pavel@eazel.com>
Fix bug 5831 - Clipping problems in summary view draing scrollable
labels.
* libnautilus-extensions/Makefile.am:
* libnautilus-extensions/nautilus-viewport.c:
(nautilus_viewport_initialize_class),
(nautilus_viewport_initialize), (nautilus_viewport_draw),
(nautilus_viewport_paint), (nautilus_viewport_new):
* libnautilus-extensions/nautilus-viewport.h:
New files. A sublcass of GtkViewport that takes into account the
width and height of the widget style xthickness and ythickness
when painting.
* components/services/summary/nautilus-view/nautilus-summary-view.c
: (generate_summary_form):
Use NautilusViewport instead of GtkViewport to avoid clipping
problems when painting labels inside scrollable viewports.
2001-01-22 Josh Barrow <josh@eazel.com>
* icons/crux_eggplant/.cvsignore:
* icons/crux_eggplant/backgrounds/.cvsignore:
* icons/crux_eggplant/sidebar_tab_pieces/.cvsignore:
* icons/crux_eggplant/throbber/.cvsignore:
Make CVS shutup.
2001-01-22 Mike Fleming <mfleming@eazel.com>
* components/mozilla/nautilus-mozilla-content-view.c:
(mozilla_dom_key_press_callback),
(mozilla_dom_mouse_click_callback):
Bug 5905: Softcat Search button doesn't work.
I don't know when this stopped working but maybe it was while I
was dorking with the key-initiated-navigation.
Anyway, I polished stuff up to use the real constants for indicating
to Moz whether to handle events or not. This problem went away and
everything else seemed to continue to work as expected.
2001-01-22 Stanislav Brabec <utx@penguin.cz>
* configure.in: Added support for db1 emulation in Berkeley DB3.
DB3 needs --enable-compat185.
* README: Describe solutions of linking errors with mozilla libs
(partially copied from Galeon's FAQ).
2001-01-22 Robin * Slomkowski <rslomkow@eazel.com>
* configure.in: upped version to 0.8.1 to be higher
than branch
2001-01-22 Ramiro Estrugo <ramiro@eazel.com>
reviewed by: John Sullivan <sullivan@eazel.com>
Fix 5613 - Icon captions in sidebar get cropped when toggling
"smooth graphics.
* libnautilus-extensions/nautilus-label.c:
(label_force_cached_requisition_flush),
(nautilus_label_set_is_smooth):
Flush the GtkLabel's requisition cache when the is_smooth
attribute is changed.
* src/nautilus-property-browser.c:
(nautilus_property_browser_initialize),
(nautilus_property_browser_destroy),
(nautilus_property_browser_theme_changed):
Remove attempt at fixing parts of 5613. The fix above should fix
it everywhere.
2001-01-22 John Sullivan <sullivan@eazel.com>
reviewed by: Pavel Cisler <pavel@eazel.com> (except
fix for bug 5884, which nobody reviewed)
Fixed bug 5766 (assertion when switching views)
Fixed bug 5884 (Rename file dialog for missing file
quotes intended name rather than current)
* libnautilus-extensions/nautilus-mime-actions.c:
(nautilus_mime_get_default_action_type_for_file),
(nautilus_mime_get_default_action_for_file),
(nautilus_mime_get_default_application_for_file_internal),
(nautilus_mime_get_default_component_for_file_internal),
(nautilus_mime_get_short_list_applications_for_file),
(nautilus_mime_get_short_list_components_for_file),
(nautilus_mime_get_short_list_methods_for_file),
(nautilus_mime_get_all_applications_for_file),
(nautilus_mime_get_all_components_for_file):
These functions were all using return_val_if_fail if
nautilus_mime_actions_check_if_minimum_attributes_ready
returned FALSE. In keeping with the style used in
NautilusFile, changed these to check and return, but
not complain, in these cases where the answer is
"not enough info yet". I did not change the setters;
they still complain.
* src/file-manager/fm-error-reporting.c:
(fm_report_error_renaming_file): Use "original_name" instead
of "new_name" in error message.
2001-01-22 Rebecca Schulman <rebecka@eazel.com>
Fix bugzilla.eazel.com bug 2659, that behavior
with backup search is inconsistent, because content
backup searches are unavailable.
* src/file-manager/fm-search-list-view.c: (load_location_callback),
(load_error_callback), (display_indexed_search_problems_dialog):
Add checks to handle both the case where the indexed search is not
available and the case where a backup search is not available.
Explain why an index search cannot be performed, and also if
applicable why a backup search can't be performed.
* src/file-manager/nautilus-indexing-info.c:
(nautilus_indexing_info_get_last_index_time):
Return NULL if there are no indices, instead of
the timestring for time = 0.
2001-01-22 Arlo Rose <arlo@eazel.com>
* data/patterns/Makefile.am:
Missed a file!
2001-01-22 Arlo Rose <arlo@eazel.com>
* data/browser.xml:
* data/patterns/brushed_metal.png:
* icons/default.xml:
Added new background pattern for the "Default" theme.
I also let it show up in the normal pattern dialog
as well.
2001-01-22 Arlo Rose <arlo@eazel.com>
* icons/crux_eggplant/crux_eggplant.xml:
Changed selection rectangle
2001-01-22 Robey Pointer <robey@eazel.com>
* components/services/install/idl/trilobite-eazel-install.idl:
* components/services/install/lib/eazel-install-corba-callback.c:
(impl_download_progress), (impl_download_failed):
* components/services/install/lib/eazel-install-corba-types.c:
(corba_packagedatastruct_from_packagedata):
* components/services/install/lib/eazel-install-object.c:
(eazel_install_fetch_remote_package_list),
(eazel_install_emit_download_progress),
(eazel_install_emit_download_progress_default),
(eazel_install_emit_download_failed),
(eazel_install_emit_download_failed_default):
* components/services/install/lib/eazel-install-protocols.c:
(http_fetch_remote_file), (ftp_fetch_remote_file),
(gnome_vfs_xfer_callback), (gnome_vfs_fetch_remote_file),
(local_fetch_remote_file), (eazel_install_fetch_file),
(eazel_install_fetch_package):
* components/services/install/lib/eazel-install-protocols.h:
* components/services/install/lib/eazel-install-public.h:
Change the download_progress and download_failed signals to pass a
PackageData struct (and not a char*) just like every other signal,
now that we can do that. Fix a missing bytesize fill-in in one of
the corba conversion functions. Also, make the non-slim build use
the file-rename trick from the bootstrap installer, to ensure that
uncompleted downloads are never treated like valid package files.
* components/rpmview/nautilus-rpm-view-install.c:
(nautilus_rpm_view_download_progress_signal),
(nautilus_rpm_view_download_failed):
* components/services/install/command-line/eazel-alt-install-corba.
c: (eazel_download_progress_signal), (download_failed),
(something_failed):
Fix rpm view and command-line install to use the new download
signal signatures.
* components/services/install/nautilus-view/nautilus-service-instal
l-view.c: (nautilus_service_install_downloading),
(nautilus_service_install_preflight_check),
(nautilus_service_install_download_failed),
(nautilus_service_install_installing),
(nautilus_service_install_done),
(nautilus_service_install_view_update_from_uri):
Use the new download signal signatures to draw a nifty progress
bar for the overall download (where 90% of most users' time will
be spent in this view). Scale the progress bar to match the
package files' expected sizes (softcat bug to be fixed in 1.0).
Leave the throbber on during the downloads so they can be
aborted. Don't offer to erase rpms if the package was already
installed (and therefore not downloaded).
2001-01-22 Arlo Rose <arlo@eazel.com>
A whole mess of files checked in to add a new color variation
of Crux. I'm not happy with the folders... I may need to tint
them later.
* configure.in:
* icons/Makefile.am:
* icons/arlo/arlo.xml:
* icons/crux_eggplant/Back.png:
* icons/crux_eggplant/Forward.png:
* icons/crux_eggplant/Home.png:
* icons/crux_eggplant/Makefile.am:
* icons/crux_eggplant/Refresh.png:
* icons/crux_eggplant/Search.png:
* icons/crux_eggplant/SearchWeb.png:
* icons/crux_eggplant/Stop.png:
* icons/crux_eggplant/Up.png:
* icons/crux_eggplant/backgrounds/Makefile.am:
* icons/crux_eggplant/backgrounds/background_pattern.png:
* icons/crux_eggplant/backgrounds/window_pattern.png:
* icons/crux_eggplant/crux_eggplant.xml:
* icons/crux_eggplant/decrement-i.png:
* icons/crux_eggplant/decrement.png:
* icons/crux_eggplant/emblem-nowrite-72.png:
* icons/crux_eggplant/emblem-nowrite-96.png:
* icons/crux_eggplant/emblem-nowrite.png:
* icons/crux_eggplant/i-directory-192-aa.png:
* icons/crux_eggplant/i-directory-72-aa.png:
* icons/crux_eggplant/i-directory-72.png:
* icons/crux_eggplant/i-directory-96-aa.png:
* icons/crux_eggplant/i-directory-aa.png:
* icons/crux_eggplant/i-directory.png:
* icons/crux_eggplant/i-directory.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:
* icons/crux_eggplant/increment-i.png:
* icons/crux_eggplant/increment.png:
* icons/crux_eggplant/number_strip.png:
* icons/crux_eggplant/sidebar_tab_pieces/Makefile.am:
* icons/crux_eggplant/sidebar_tab_pieces/fill-active-prelight.png:
* icons/crux_eggplant/sidebar_tab_pieces/fill-active.png:
* icons/crux_eggplant/sidebar_tab_pieces/fill-empty-space.png:
* icons/crux_eggplant/sidebar_tab_pieces/fill-prelight.png:
* icons/crux_eggplant/sidebar_tab_pieces/fill.png:
* icons/crux_eggplant/sidebar_tab_pieces/left-bumper-active-preligh
t.png:
* icons/crux_eggplant/sidebar_tab_pieces/left-bumper-active.png:
* icons/crux_eggplant/sidebar_tab_pieces/left-bumper-prelight.png:
* icons/crux_eggplant/sidebar_tab_pieces/left-bumper.png:
* icons/crux_eggplant/sidebar_tab_pieces/middle-normal-normal.png:
* icons/crux_eggplant/sidebar_tab_pieces/middle-normal-prelight.png
:
* icons/crux_eggplant/sidebar_tab_pieces/middle-prelight-normal.png
:
* icons/crux_eggplant/sidebar_tab_pieces/right-bumper-prelight.png:
* icons/crux_eggplant/sidebar_tab_pieces/right-bumper.png:
* icons/crux_eggplant/sidebar_tab_pieces/right-empty-space.png:
* icons/crux_eggplant/sidebar_tab_pieces/right-top-active-prelight.
png:
* icons/crux_eggplant/sidebar_tab_pieces/right-top-active.png:
* icons/crux_eggplant/sidebar_tab_pieces/right-top-prelight.png:
* icons/crux_eggplant/sidebar_tab_pieces/right-top.png:
* icons/crux_eggplant/theme_preview.png:
* 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/Makefile.am:
* icons/crux_eggplant/throbber/rest.png:
* icons/crux_eggplant/zoom_body.png:
* nautilus.spec.in:
2001-01-22 Rebecca Schulman <rebecka@eazel.com>
reviewed by: Pavel Cisler <pavel@eazel.com>
* libnautilus-extensions/nautilus-drag.c:
(nautilus_drag_default_drop_action_for_icons):
Switch the order of the arguments to
gnome_vfs_check_same_fs_uris so that
the source uri is first and the target uri
of the drag second. This is rest of the fix
for bugzilla.eazel.com 5498, which necessitated
making the uri arguments to this function have
a required ordering.
2001-01-21 Andy Hertzfeld <andy@eazel.com>
* data/browser.xml:
* data/patterns/Makefile.am:
* data/patterns/50s.png: removed
* data/patterns/blue_ridge.png: added
* data/patterns/blue_type.png: added
* data/patterns/camouflage.png: modified
* data/patterns/countertop.png: added
* data/patterns/dots.png: added
* data/patterns/fibers.png: added
* data/patterns/floral.png: added
* data/patterns/fossil.png: added
* data/patterns/green_weave.png: added
* data/patterns/moss_ridge.png: added
* data/patterns/ocean_stripes.png: added
* data/patterns/purple_marble.png: added
* data/patterns/rough_paper.png: modified
* data/patterns/sky_ridge.png: added
* data/patterns/snow_ridge.png: added
* data/patterns/terracotta.png: added
* data/patterns/white_ribs: removed
added, renamed and modified patterns to replace the recently
deleted ones.
2001-01-21 Michael K. Fleming <mfleming@eazel.com>
reviewed by: <arik@gnome.org> (Wincing)
Bug 5625: Fonts were incorrect size.
Bug 5872: HTTP proxy setting and auto-detect broken due to preference
changes.
* src/nautilus-first-time-druid.c:
(make_hbox_user_level_radio_button), (set_up_user_level_page),
(set_up_service_signup_page), (set_up_update_page),
(proxy_address_entry_key_press), (set_up_proxy_config_page),
(set_up_update_feedback_page), (initiate_file_download),
(set_http_proxy):
2001-01-21 Ramiro Estrugo <ramiro@eazel.com>
reviewed by: Pavel Cisler <pavel@eazel.com>
Fix bug 5809 - Nautilus is slow to startup because of prefernces
setup code. The reason for the slowdown was the constant
suggestion to gconf to sync. Now, we sync only after setters that
ara result of an operation in Nautilus. All internal setters, such
as defaults and visibilities happen with no sync in between each
one, making things a lot faster.
* libnautilus-extensions/nautilus-gconf-extensions.c:
(nautilus_gconf_set_boolean), (nautilus_gconf_set_integer),
(nautilus_gconf_set_string), (nautilus_gconf_set_string_list),
(nautilus_gconf_monitor_directory), (nautilus_gconf_suggest_sync):
* libnautilus-extensions/nautilus-gconf-extensions.h:
Dont suggest a sync after each set. Instead make a new function
to let callers decide when to suggest a sync. For example, after
a batch of many operations.
* libnautilus-extensions/nautilus-global-preferences.c:
(global_preferences_install_descriptions),
(global_preferences_install_defaults),
(global_preferences_get_dialog),
(global_preferences_install_sidebar_panel_defaults),
(global_preferences_install_sidebar_panel_descriptions),
(global_preferences_install_home_location_defaults),
(nautilus_global_preferences_initialize):
Don't install the descriptions until needed when the dialog is
about to be created. Split the sidebar defaults installer into a
defaults and a descriptions installer. Remove the proxy defaults
installer which was superfluous. My last change simplified the
usage of proxy settings and a whole separate function for that is
no longer needed.
* libnautilus-extensions/nautilus-preferences.c:
(nautilus_preferences_set_boolean),
(nautilus_preferences_set_integer), (nautilus_preferences_set),
(nautilus_preferences_set_string_list),
(nautilus_preferences_set_user_level):
Suggest a gconf sync right after all the setters.
(preferences_something_changed_notice): Add a fixme. Also remove
unused variables and tweak a tiny bit.
2001-01-21 Eskil Heyn Olsen <eskil@eazel.com>
* components/services/install/command-line/Makefile.am:
Generate eazel-test-install-types instead of eazel-test-types.
* components/services/install/lib/eazel-install-logic2.c:
(prune_failed_packages), (check_feature_consistency)
(do_file_conflict_check), (install_packages):
Fixed 4589.
Ensure nulling and freeing of packages list in pruner if 0
elements left after prune.
* components/services/install/server/main.c: (main):
Some commented out debug code to enable dropping to gdb
on glib warnings.
2001-01-21 Andy Hertzfeld <andy@eazel.com>
removed the "vector" theme at Arlo's request, and many of the
least popular patterns
* configure.in:
removed vector from the build
* data/browser.xml:
* data/patterns/Makefile.am:
removed lots of specific patterns
* icons/Makefile.am:
removed vector theme
* icons/ardmore/ardmore.xml:
* icons/gnome/gnome.xml:
fixed bug 5868, GNOME theme has white text on light background, by
setting the text color in the theme
* icons/vector/.cvsignore:
* icons/vector/Makefile.am:
* icons/vector/i-directory-accept.svg:
* icons/vector/i-directory.svg:
* icons/vector/i-regular.svg:
* icons/vector/i-regular.xml:
* icons/vector/vector.xml:
the vector theme is no more
* nautilus.spec.in:
removed the vector theme from the rpm spec file
* po/POTFILES.in:
removed the vector theme from the localized files
* src/nautilus-property-browser.c: (make_property_tile),
(nautilus_property_browser_get_category_width):
tweaked the layout
* src/nautilus-sidebar-title.c:
(nautilus_sidebar_title_theme_changed):
changed default shadow to 1 pixel
* src/nautilus-theme-selector.c: (done_button_callback),
(nautilus_theme_selector_initialize):
added a done button like the property browser
2001-01-20 Pavel Cisler <pavel@eazel.com>
* Makefile.am:
Fix Tinderbox.
2001-01-20 Andy Hertzfeld <andy@eazel.com>
* src/nautilus-property-browser.c:
(nautilus_property_browser_initialize), (make_property_tile),
(nautilus_property_browser_update_contents):
fixed bug 3165, Customization Dialog needs layout tweaking, by
working with Arlo to improve it. We also made it more GTK-theme
compliant
* src/nautilus-theme-selector.c:
(nautilus_theme_selector_initialize):
Arlo and I also improved the theme selector in a similar fashion,
including making it GTK-theme complaint.
2001-01-20 Kenneth Christiansen <kenneth@gnu.org>
* nautilus.desktop.in: Added new file
The desktop file is soon going to be generated.
2001-01-19 Andy Hertzfeld <andy@eazel.com>
* icons/Makefile.am:
* icons/i-symlink.png:
* icons/i-symlink-aa.png:
fixed bug 5107, we need a non-broken symlink icon, by adding
new icons from Susan
* icons/ardmore/ardmore.xml:
changed name for Susan
* icons/gnome/gnome.xml:
used the blue arlo tabs in the GNOME theme
* icons/villanova/Makefile.am:
* icons/villanova/Sierra_desktop.png:
* icons/villanova/villanova.xml:
added tweaks from Susan
2001-01-19 Robey Pointer <robey@eazel.com>
* components/services/install/nautilus-view/main.c: (main):
Set log handler so debug messages don't spam everywhere.
* components/services/install/nautilus-view/nautilus-service-instal
l-view.c: (install_message_new),
(nautilus_service_install_downloading),
(nautilus_service_install_preflight_check),
(nautilus_service_install_done):
* components/services/install/nautilus-view/nautilus-service-instal
l-view.h:
Track and report the total kB (or MB) to be downloaded during an
install. This is slightly off (the bytesize provided by softcat
is very rough) but will do for now. Better in 1.0. Also, don't
ask to delete RPMs when none were downloaded.
* components/services/trilobite/libtrilobite/trilobite-core-messagi
ng.c: (trilobite_add_log), (trilobite_set_log_handler):
Allow null filehandle (no logging).
2001-01-19 Eskil Heyn Olsen <eskil@eazel.com>
* components/services/install/lib/eazel-install-logic2.c:
(dump_tree_helper), (check_md5_on_files),
(eazel_install_check_existing_packages), (get_softcat_info),
(is_satisfied), (is_satisfied_features), (do_file_conflict_check),
(install_packages_helper):
Removed old FIXME's
Trying to fix the memory corruption wrt ->minor.
Added more ifdefs around debug output.
* components/services/install/lib/eazel-install-object.c:
(eazel_install_emit_preflight_check),
(eazel_install_emit_dependency_check):
Do the proper thing with total_packages and total_bytes.
Use gtk_object_unref to delete packagedata object in dep_check
signal.
* components/services/install/lib/eazel-install-xml-package-list.c:
(osd_parse_provides):
Parse <FEATURE> in <PROVIDES> and blurp on unknown tags.
* components/services/install/lib/eazel-package-system-rpm3.c:
(eazel_package_system_rpm3_packagedata_fill_from_header),
(check_if_all_packages_seen):
No more start and end signals around failed signals.
2001-01-11 Robin * Slomkowski <rslomkow@eazel.com>
* nautilus.spec.in: added Nautilus_Control_throbber.oaf
BUG 5822 - throbber not appearing in rpm builds
2001-01-19 Mike Fleming <mfleming@eazel.com>
* components/mozilla/nautilus-mozilla-content-view.c:
(nautilus_mozilla_content_view_load_uri),
(mozilla_load_location_callback),
(mozilla_location_changed_callback), (mozilla_open_uri_callback),
(make_full_uri_from_relative), (mozilla_translate_uri_if_needed),
(eazel_services_scheme_untranslate):
Bug 5249 -- resolve deadlock by calling load_underway sooner in the
case where nautilus directs the navigation. (Other changes were to debug
printfs)
* components/services/install/server/main.c: (main):
* components/services/inventory/main.c: (main):
* components/services/summary/nautilus-view/main.c: (main):
* components/services/trilobite/libtrilobite/trilobite-redirect.c:
(trilobite_redirect_parse_xml):
Remove obnx debug messages
2001-01-19 Darin Adler <darin@eazel.com>
reviewed by: John Sullivan <sullivan@eazel.com>
Fix for bug 5475 (assertion and crash trying to return using Up
from web link):
* libnautilus-extensions/nautilus-file.c: (get_description): Instead
of asserting that the MIME type is not NULL or empty string, just
change the code to return an empty description for those cases.
* autogen.sh: Fix one silly "ignore non-fatal errors" message.
2001-01-19 Andy Hertzfeld <andy@eazel.com>
* nautilus.spec.in:
added the sidebar_tab_images for the default theme, which I
forgot to add previously.
2001-01-19 Robey Pointer <robey@eazel.com>
* components/services/install/lib/eazel-install-metadata.c:
(eazel_install_configure_check_jump_after_install):
* components/services/install/lib/eazel-install-metadata.h:
* components/services/install/lib/eazel-softcat.c:
(eazel_softcat_get_info):
* components/services/install/nautilus-view/nautilus-service-instal
l-view.c: (nautilus_service_install_downloading),
(nautilus_service_install_dependency_check),
(nautilus_service_install_preflight_check),
(nautilus_service_install_done):
* components/services/trilobite/doc/gconf.txt:
Make the install view jump to the softcat page after an install
completes. Fix NULL-dereference crash caused by installing a
package by id.
2001-01-19 Darin Adler <darin@eazel.com>
reviewed by: John Sullivan <sullivan@eazel.com>
* libnautilus-extensions/nautilus-directory-async.c:
(top_left_read_callback): Change code so it doesn't send a file
changed message and then assume nothing changed.
* libnautilus-extensions/nautilus-link.c:
(nautilus_link_local_get_image_uri): Handle the case where it
can't create the directory without seg faulting.
2001-01-19 John Sullivan <sullivan@eazel.com>
Fixed bug 1404 (Preferences panes should be in some
sensible order)
* libnautilus-extensions/nautilus-global-preferences.c:
(global_preferences_create_dialog): Reordered panes to
match Arlo's simplest-to-least-simple design.
2001-01-19 John Sullivan <sullivan@eazel.com>
Fixed bug 5830 ("Show only folders in tree" shown at
wrong user level)
* libnautilus-extensions/nautilus-global-preferences.c:
(global_preferences_install_visibility): Made it visible
starting at intermediate level.
2001-01-19 John Sullivan <sullivan@eazel.com>
reviewed by: Darin Adler <darin@eazel.com>
Fixed bug 5807 (view switches to manual layout only after
hitting Refresh), and other metadata-reading-related problems.
This was a long-standing race condition exposed by recent
timing changes. The directory view was waiting for its
metadata-as-file, but not for its metadata-as-directory, and
it needed both before trying to lay out the contained icons.
* src/file-manager/fm-directory-view.c:
added metadata_for_directory_as_file_pending and
metadata_for_files_in_directory_pending to details struct.
(load_directory): set both pending flags to TRUE before
using call_when_ready to get metadata; use call_when_ready
for getting contained-files metadata as well as
directory-as-file metadata.
(finish_loading_if_all_metadata_loaded): New function,
finishes loading (which lays out the icons) only if neither
metadata is still pending.
(metadata_for_directory_as_file_ready_callback):
clear metadata_for_directory_as_file_pending flag before calling
finish_loading_if...
(metadata_for_files_in_directory_ready_callback):
clear metadata_for_files_in_directory_pending flag before calling
finish_loading_if...
(disconnect_model_handlers): cancel both metadata callbacks.
2001-01-19 Andy Hertzfeld <andy@eazel.com>
* nautilus.spec.in:
better remove it from the spec file, too.
2001-01-19 Andy Hertzfeld <andy@eazel.com>
removed the obsolete eazel theme, as well as the old,
non-componentized throbber.
* configure.in:
* icons/Makefile.am:
* icons/eazel/.cvsignore:
* icons/eazel/Makefile.am:
* icons/eazel/eazel.xml:
* icons/eazel/*.png:
* icons/eazel/i-directory-accept.xml:
* icons/eazel/i-directory.xml:
* icons/eazel/i-regular.xml:
* icons/eazel/sidebar_tab_pieces/.cvsignore:
* icons/eazel/sidebar_tab_pieces/Makefile.am:
* icons/eazel/sidebar_tab_pieces/*.png:
* icons/eazel/throbber/.cvsignore:
* icons/eazel/throbber/Makefile.am:
* icons/eazel/throbber/*.png:
* po/POTFILES.in:
* src/nautilus-throbber.c:
* src/nautilus-throbber.h:
2001-01-19 Mike Fleming <mfleming@eazel.com>
Half of bug 5975
Now the fonts are right, but the line wrapping is busted
* components/services/nautilus-dependent-shared/eazel-services-exte
nsions.c: (eazel_services_label_new):
* components/services/nautilus-dependent-shared/eazel-services-exte
nsions.h:
* components/services/nautilus-dependent-shared/eazel-services-foot
er.c: (footer_item_new), (eazel_services_footer_update):
* components/services/nautilus-dependent-shared/eazel-services-head
er.c: (eazel_services_header_title_new):
* components/services/summary/nautilus-view/nautilus-summary-view.c
: (generate_summary_form), (generate_service_entry_row),
(generate_eazel_news_entry_row), (generate_update_news_entry_row):
2001-01-19 Ramiro Estrugo <ramiro@eazel.com>
* libnautilus-extensions/nautilus-label.c:
Accidentally checked in a huge default font size.
2001-01-19 Rebecca Schulman <rebecka@eazel.com>
* src/file-manager/fm-search-list-view.c:
(display_indexed_search_problems_dialog):
Remove extra commas that broke compilation.
2001-01-19 Robey Pointer <robey@eazel.com>
* components/services/install/lib/eazel-install-logic2.c:
(check_conflicts_against_already_installed_packages):
Add comment about how a hack also fixes bug 5799.
* components/services/install/lib/eazel-install-xml-package-list.c:
(osd_parse_softpkg):
Parse REVISION tag in softcat XML for the install lib.
* components/services/install/nautilus-view/nautilus-service-instal
l-view.c: (generate_install_form), (show_overall_feedback),
(nautilus_install_parse_uri), (current_progress_bar_complete),
(nautilus_service_install_downloading),
(nautilus_service_install_dependency_check),
(flatten_package_tree_foreach), (flatten_package_tree),
(nautilus_service_install_preflight_check),
(nautilus_service_install_view_update_from_uri):
Re-layout a little bit of the top of the install view, to make the
overall feedback label not flicker. Remove some redundant redraws
that had been stuck in to work around the NautilusLabel redraw
sizing bug. Sneak in support for multiple packages in the eazel-
install URI scheme. Remove repeating package names from the final
list during preflight. Give some overall feedback during package
dependency checking so the user doesn't think we're lost in space.
2001-01-19 Rebecca Schulman <rebecka@eazel.com>
reviewed by: John Sullivan <sullivan@eazel.com>
* src/file-manager/fm-search-list-view.c: (load_location_callback),
(display_indexed_search_problems_dialog):
Added dialogs to explain problems that may occur when running a search.
There are separate dialogs to explain each of the following errors:
1. No index files available
2. Index still being created
3. Index files are available, but the search daemon isn't running
4. No index files, and no reindexing service avaialble
We may be able to actually do something about some of these
problems in the future (ie launch the search or indexing daemons
if they're not already running) but for PR3 explaining what is
going on in each of these cases should be a big step forward
* src/file-manager/nautilus-indexing-info.c:
(nautilus_indexing_info_show_dialog):
Show the index files status dialog if there are index files,
or indexing is going on, rather than if the search service
is available, so that a user can follow indexing progress,
even if an index isn't ready yet.
2001-01-19 Eskil Heyn Olsen <eskil@eazel.com>
* components/services/install/command-line/eazel-test-packsys.c:
(test_package_load):
Wrote test for the fix to 5262
* components/services/install/lib/eazel-install-logic.c:
Moved get_total_size to logic2.c
* components/services/install/lib/eazel-install-logic2.h:
* components/services/install/lib/eazel-install-logic2.c:
(dump_tree_helper), (eazel_install_check_existing_packages),
(eazel_install_get_total_size_of_packages), (execute):
Setup infoblock so the callback signals make sense, removed a
g_assert_not_reached.
* components/services/install/lib/eazel-install-protocols.c:
(eazel_install_fetch_package):
Don't load dependencies when loading the package after download.
* components/services/install/lib/eazel-package-system-rpm3.c:
(rpm_sense_to_softcat_sense),
(eazel_package_system_rpm3_packagedata_fill_from_header):
Fixed 5262
* components/services/install/lib/eazel-package-system-types.c:
(packagedependency_new), (packagedependency_destroy),
(packagedata_fill_in_missing), (packagedata_dump_int):
Allow fill_in_missing into a packagedata object with depends set.
Moved output of features and provides upwards in dump_int.
* components/services/install/nautilus-view/nautilus-service-instal
l-view.c: (nautilus_service_install_view_update_from_uri):
Deallocate the EazelInstall object in update_from_uri if already
set. The ensures a reload of the install-view doesn't leak
EazelInstall objects.
2001-01-19 Darin Adler <darin@eazel.com>
reviewed by: Michael Engber <engber@eazel.com>
* src/nautilus-view-frame-corba.c: (view_widget_gone),
(impl_Nautilus_ViewFrame__destroy),
(impl_Nautilus_ViewFrame__create),
(impl_Nautilus_ViewFrame_open_location_in_this_window),
(impl_Nautilus_ViewFrame_open_location_prefer_existing_window),
(impl_Nautilus_ViewFrame_open_location_force_new_window),
(impl_Nautilus_ViewFrame_report_selection_change),
(impl_Nautilus_ViewFrame_report_status),
(impl_Nautilus_ViewFrame_report_load_underway),
(impl_Nautilus_ViewFrame_report_load_progress),
(impl_Nautilus_ViewFrame_report_load_complete),
(impl_Nautilus_ViewFrame_report_load_failed),
(impl_Nautilus_ViewFrame_set_title):
Since the NautilusViewFrame object is a widget, we don't
control its lifetime completely. So we disconnect from it
when it is destroyed and stop trying to make calls on it.
2001-01-19 Michael Engber <engber@eazel.com>
reviewed by: Brian Frank
* data/static_bookmarks.xml:
Changes for PR3 default bookmarks. Use redirects.
2001-01-19 John Sullivan <sullivan@eazel.com>
reviewed by: Darin Adler <darin@eazel.com>
Finished bug 2146 (Properties window for desktop Trash
should show Trash properties). The last two changes were
to remove the "accessed" field for all directories, since
it seems useless, and to fill in the "where" field with
"on the desktop".
* libnautilus-extensions/nautilus-file.c:
(nautilus_file_get_where_string): New function, calls
virtual function so trash and normal files can report
different strings.
(nautilus_file_get_string_attribute): Changed "parent_uri"
string attribute to "where", since it is not the parent_uri
in the Trash case.
* libnautilus-extensions/nautilus-file.h: Virtual function
pointer for get_where_string.
* libnautilus-extensions/nautilus-trash-file.c:
(trash_file_get_where_string),
(nautilus_trash_file_initialize_class): Supply get_where_string
function that returns "on the desktop".
* libnautilus-extensions/nautilus-vfs-file.c:
(vfs_file_get_where_string), (nautilus_vfs_file_initialize_class):
Supply get_where_string function that returns parent_uri string.
* src/file-manager/fm-properties-window.c:
(should_show_accessed_date): New function, returns FALSE for
directories and TRUE for other files.
(create_basic_page): Honor should_show_accessed_date, and use
"where" instead of "parent_uri" string attribute.
* src/file-manager/fm-search-list-view.c:
(real_get_column_specification): Use "where" instead of "parent_uri"
string attribute.
2001-01-19 Ramiro Estrugo <ramiro@eazel.com>
reviewed by: Darin Adler <darin@eazel.com>
* components/services/install/nautilus-view/nautilus-service-instal
l-view.c: (install_message_new):
Add a tiny bit of padding to this label to prevent the bottom from
being cut off. Im not sure exactly why the bottom is getting cut
off. I suspect that the part container is constraining the widget
somehow, perhaps to match the geometry of the label on the right.
* libnautilus-extensions/nautilus-label.c:
(label_composite_pixbuf_callback), (nautilus_label_expose_event):
Fix for bugs 5607, 5608 and 5611. Remove previous workaround for
bug 5608. Do the clipping of the area that we need to copy into
the temporary buffer more carefully. The temporary buffer itself
is a workaround for a related bug (2784).
2001-01-19 Ramiro Estrugo <ramiro@eazel.com>
* libnautilus-extensions/bug-5712-pr3-workaround--gdkimage.c:
(NAUTILUS_BUG_5712_PR3_WORKAROUND__gdk_image_get):
Remove a debug printf that I stupidly left in.
2001-01-19 Ramiro Estrugo <ramiro@eazel.com>
reviewed by: Nobody, because the "fix" is so revolting that none
of the high integrity Nautilus hackers would approve it.
* 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:
* libnautilus-extensions/nautilus-gdk-pixbuf-extensions.c:
(nautilus_gdk_pixbuf_get_from_window_safe):
Workaround for bug 5712. This is a temporary evil until GTK+
1.2.9 is released.
2001-01-19 John Sullivan <sullivan@eazel.com>
Ramiro sent me this patch, which I tweaked slightly.
Fix for bug 5792 (Sidebar panel choices visible at beginner
user level, but shouldn't be)
* libnautilus-extensions/nautilus-global-preferences.c:
add visible_user_level field to known_sidebar_panels struct.
Set this field appropriately for each of the 4 known sidebar
panels. Remove the 5th known sidebar panel since it was an
accidental duplication of the 2nd one.
(global_preferences_install_sidebar_panel_defaults): Set the
visible user level when installing default values.
2001-01-19 Pavel Cisler <pavel@eazel.com>
reviewed by: Ramiro Estrugo <ramiro@eazel.com>
Fixed 4348: trying to trash a file already deleted outside Nautilus crashes.
* libnautilus-extensions/nautilus-file-operations.c:
(nautilus_file_operations_copy_move):
The problem was that the "find trash near" operation was failing because
the trahsed file was non-existent.
Added code that deals with a NULL target_directory_uri handle.
2001-01-19 Stanislav Visnovsky <visnovsky@nenya.ms.mff.cuni.cz>
* configure.in: Added sk to ALL_LINGUAS.
2001-01-19 Andy Hertzfeld <andy@eazel.com>
more clean-up and fixes for the default theme change
* icons/ardmore/ardmore.xml:
* icons/arlo/arlo.xml:
* icons/default.xml:
* icons/eazel/eazel.xml:
* icons/gnome/gnome.xml:
* icons/vector/vector.xml:
* icons/villanova/villanova.xml:
at Arlo's request, capitalized the theme names and also made
them localizable, and tweaks to some of the theme files to fix
problems caused by the new default
* src/nautilus-sidebar-tabs.c:
(nautilus_sidebar_tabs_load_theme_data):
added a way to specify the non-pixmap tabs, since it uses
pixmap ones in the default now
* src/nautilus-theme-selector.c:
(get_theme_description_and_display_name), (add_theme):
made it use a localizable name in the xml file instead of the
actual folder name.
* src/nautilus-window-toolbars.c: (get_file_name_from_icon_name):
added a way to get the stock gnome toolbar icons, now that we have
our own in the default theme
* nautilus.spec.in:
added the throbber component to our package
2001-01-19 Pavel Cisler <pavel@eazel.com>
Fix 3558: Nautilus crashes with specific sequence of icon dragging
and mouse movement
* libnautilus-extensions/nautilus-list.c:
(nautilus_list_button_release), (nautilus_list_motion):
The drag start code was assuming an actual item was clicked,
added a check that checked the clicked row index first.
* libnautilus-extensions/nautilus-self-checks.c:
(nautilus_report_check_failure):
Missed one printf -> fprintf (stderr...
2001-01-18 Robey Pointer <robey@eazel.com>
* components/services/install/lib/eazel-install-xml-package-list.c:
(osd_parse_feature_list), (osd_parse_implementation):
Parse the "features" list for toplevel packages, if one is
provided by softcat (the next softcat release will do it).
* components/services/install/lib/eazel-softcat.c:
(remove_directories_from_provides_list):
Remove debugging line I accidentally left in.
2001-01-18 Andy Hertzfeld <andy@eazel.com>
fixed some damage from the default theme change, including getting
the sidebar tabs installed correctly, and making semi-transparent
icon selection highlight in aa-mode work properly again. There are
still some more to do to finish this, though.
* icons/sidebar_tab_pieces/Makefile.am:
install the tabs in the proper place
* libnautilus-extensions/nautilus-icon-container.c:
(nautilus_icon_container_theme_changed):
use NAUTILUS_COLOR_RGBA to set up the highlight color
2001-01-18 Arlo Rose <arlo@eazel.com>
* icons/arlo/arlo.xml:
I didn't like the name I picked today... changed it again...
(Thanks Wingpea!)
2001-01-18 Eskil Olsen <eskil@eazel.com>
* components/services/login/nautilus-view/Makefile.am:
Fixing stuff
2001-01-18 Robey Pointer <robey@eazel.com>
* components/services/install/lib/eazel-install-logic2.c:
* components/services/install/lib/eazel-install-xml-package-list.c:
(osd_parse_file_list):
* components/services/install/lib/eazel-softcat.c:
(is_filename_probably_a_directory),
(remove_directories_from_provides_list), (eazel_softcat_get_info):
Make softcat module remove obvious directories from the file list
provided by XML. There are still files that could slip through
the cracks (forseti bug 1279).
2001-01-18 Andy Hertzfeld <andy@eazel.com>
made the real default theme, based on what was formerly the
eazel theme. This isn't quite finished yet (the sidebar tabs
arent right yet, Arlo needs to add the desktop, plus some other
details), and some of the other themes might be slightly wrong
from this change, but I'll fix everything up soon.
* configure.in:
* icons/Makefile.am:
* icons/default.xml:
* icons/gnome/gnome.xml:
* icons/i-directory-accept.xml:
* icons/i-directory.xml:
* icons/sidebar_tab_pieces/.cvsignore:
* icons/sidebar_tab_pieces/Makefile.am:
* plus lots of images
2001-01-18 Darin Adler <darin@eazel.com>
reviewed by: Pavel Cisler <pavel@eazel.com>
(only the first 2 changes, others unreviewed)
* libnautilus-extensions/nautilus-trash-directory.c:
(trash_destroy): Fix problem that might be what's killing the
Tinderbox. We need to disconnect the signal handlers we add to the
trash monitor.
* src/file-manager/fm-directory-view.c: (load_location_callback):
Always reload when navigating. This smooths over many anomalies,
and hopefully will fix the nasty problems described in bug 4873
(files created in home directory (outside Nautilus) don't show up
when I navigate there) and bug 4963 (starting the search service
while running nautilus doesn't let you run searches).
* configure.in: Fix gnome-http check that was previously just
checking whether gnome-config was there or not!
* src/nautilus-application.c: (nautilus_application_startup):
Replace incorrect references to nautilus.oafinfo to instead
mention Nautilus_Shell.oaf.
* test/.cvsignore: Add a generated file.
2001-01-18 Robey Pointer <robey@eazel.com>
* icons/Makefile.am:
* icons/bubble-LL.png:
* icons/bubble-LR.png:
* icons/bubble-UL.png:
* icons/bubble-UR.png:
* icons/tiny-alert.png:
Add Arlo's icons for the new password-change view.
2001-01-18 Arlo Rose <arlo@eazel.com>
* icons/arlo/arlo.xml:
Tweaked XML file to represent the "Luxe" family name.
This fits with the Sawfish and GTK theme names.
2001-01-18 Robey Pointer <robey@eazel.com>
* components/services/login/nautilus-view/Makefile.am:
* components/services/login/nautilus-view/nautilus-change-password-
view.c: (run_away_timer), (generate_change_password_form),
(entry_changed_cb), (authn_succeeded), (authn_failed),
(start_change_password), (change_password_button_cb):
* components/services/login/nautilus-view/password-box.c:
(add_padding_to_box), (add_filler_to_box), (line_expose),
(vertical_line_new), (make_empty_viewport),
(gtk_widget_set_colors), (make_bubble_shell),
(change_bubble_shell_colors), (password_box_set_colors),
(password_box_get_entry), (password_box_set_error_text),
(password_box_show_error), (password_box_new):
* components/services/login/nautilus-view/password-box.h:
Implement new change-password UI according to Arlo's screenshots.
Rounded password text-entry blobs are now in their own file for a
modicum of modularity. Reponse codes from ammonite are now
correctly decoded and translated into text.
2001-01-18 Robey Pointer <robey@eazel.com>
* components/services/install/lib/eazel-install-object.c:
* components/services/install/lib/eazel-install-protocols.c:
(http_fetch_remote_file):
* nautilus-installer/src/HACKING:
Change the bootstrap installer download function to use the new
gnome-http call to avoid buffering 8MB of package files in memory
at once.
* components/services/trilobite/libtrilobite/trilobite-core-network
-slim.c: (trilobite_xml_get_string), (trilobite_fetch_uri),
(trilobite_fetch_uri_to_file):
Forgot to add this once -- needed by the bootstrap installer.
2001-01-18 Eskil Olsen <eskil@eazel.com>
* components/services/install/lib/eazel-install-rpm-glue.c:
(eazel_install_do_rpm_dependency_check):
* components/services/install/lib/eazel-package-system-rpm4.c:
(eazel_package_system_implementation):
* components/services/install/lib/eazel-softcat.c:
(get_search_url_for_package):
Fixing build issues against newest rpm (4.0.2-0.27).
2001-01-18 John Sullivan <sullivan@eazel.com>
reviewed by: Darin Adler <darin@eazel.com>
Fixed bug 3417 (Put existing preferences at right levels)
* libnautilus-extensions/nautilus-global-preferences.c:
(global_preferences_install_defaults),
(global_preferences_install_visibility): First pass at setting
appropriate defaults and user levels for preferences.
(global_preferences_create_dialog): Put "show only folders in
tree view" before other preferences that appear only in higher
user levels, 'cuz it looks better that way.
* src/nautilus-shell-ui.xml:
* src/nautilus-window-menus.c: (user_level_customize_callback):
Renamed "Edit Settings" menu item & dialog to "Preferences";
marked dialog title for localization.
2001-01-18 Andy Hertzfeld <andy@eazel.com>
now that the bonobo problems are resolved, we can go back to
the componentized throbber.
* src/Makefile.am:
* src/nautilus-window-toolbars.c:
(nautilus_window_initialize_toolbars):
* src/nautilus-window.c: (throbber_location_changed_callback),
(nautilus_window_constructed), (nautilus_window_destroy),
(nautilus_window_allow_stop):
* src/nautilus-window.h:
2001-01-18 Michael Engber <engber@eazel.com>
reviewed by: John Sullivan
* 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_is_set):
* libnautilus-extensions/nautilus-theme.c:
(nautilus_theme_get_theme_data_from_theme),
(nautilus_theme_get_theme_data):
* libnautilus-extensions/nautilus-theme.h:
The desktop can now be reset to the "default" meaning when
you change themes it will use the default desktop setting
for the new theme - bug 5730.
2001-01-18 Arlo Rose <arlo@eazel.com>
* icons/Makefile.am:
* icons/emblem-symbolic-link.png:
* icons/emblem-broken-link.png:
More elegant symbolic link emblem, and the addition of
a broken one in the event we hook it up.
2001-01-18 John Harper <jsh@eazel.com>
reviewed by: Pavel Cisler <pavel@eazel.com>
Fixed bug where selecting the first item in a list view, then
hitting Shift-TAB would always trigger an assertion
* src/file-manager/fm-list-view.c
(select_previous_next_common): deleted the bogus assertion
2001-01-18 John Harper <jsh@eazel.com>
reviewed by: Pavel Cisler <pavel@eazel.com>
Fix bug 5666 (dragging to directory in the tree view always
crashes)
* libnautilus-extensions/nautilus-file-operations.c
(nautilus_file_operations_copy_move): check that
relative_item_points isn't null before dereferencing it (since
nautilus_tree_view_move_copy_files passes NULL as this
parameter)
2001-01-18 Pavel Cisler <pavel@eazel.com>
* libnautilus-extensions/nautilus-thumbnails.c:
(check_for_thumbnails):
Fix a crash that was blocking Eli -- a close was being called
without checking the result of a previous create.
This will need more work, just wanted to do a quick fix to
unblock Eli.
2001-01-18 Eskil Heyn Olsen <eskil@eazel.com>
* components/services/install/command-line/eazel-alt-install-corba.
c: (set_parameters_from_command_line),
(eazel_download_progress_signal), (tree_helper_helper),
(tree_helper), (something_failed):
Fixed 5754 (add --cgi-path), made some modifications needed for
the change signals for ei2. Also added --noauth that disables
eazelauth.
Now also takes --server=host[:port] args.
* components/services/install/command-line/eazel-test-packsys.c:
(test_version_compare), (test_query), (test_query_owns_mem),
(main):
Wrote some more tests.
* components/services/install/idl/trilobite-eazel-install.idl:
Added the file_conflict_check call, not implemented yet.
Also added the cgi, debug and auth attributes.
* components/services/install/lib/eazel-install-corba.c:
(impl_Eazel_Install__set_debug), (impl_Eazel_Install__get_debug),
(impl_Eazel_Install__set_auth), (impl_Eazel_Install__get_auth),
(impl_Eazel_Install__set_cgi), (impl_Eazel_Install__get_cgi),
(eazel_install_get_epv):
Setup the cgi, debug and auth in the vtable.
* components/services/install/lib/eazel-install-logic.c:
(eazel_install_start_transaction):
Some code moved to logic2.c
* components/services/install/lib/eazel-install-logic2.h:
* components/services/install/lib/eazel-install-logic2.c:
(dump_tree_helper), (check_md5_on_files),
(prune_failed_packages_helper), (prune_failed_packages),
(eazel_install_check_existing_packages), (get_softcat_info),
(get_package_info_foreach), (dedupe_foreach_depends),
(dedupe_foreach), (dedupe), (is_satisfied),
(is_satisfied_features), (check_dependencies_foreach),
(is_filename_probably_a_directory), (check_tree_helper),
(check_tree_for_conflicts), (check_no_two_packages_has_same_file),
(check_conflicts_against_already_installed_packages),
(check_feature_consistency), (do_file_conflict_check),
(do_dep_check_internal), (do_dep_check), (download_packages),
(clean_up_dedupe_hash), (clean_up_dep_ok_hash), (execute),
(install_packages_helper), (install_packages):
Finished first hit at ei2 install, seems to work now. This closes
a lot of the bugs with ei2 in the comment.
* components/services/install/lib/eazel-install-metadata.c:
(eazel_install_configure_softcat):
Default to port 80, not 443.
* components/services/install/lib/eazel-install-object.c:
(eazel_install_install_packages),
(eazel_install_uninstall_packages),
(eazel_install_revert_transaction_from_xmlstring),
(eazel_install_emit_preflight_check):
Uses ei2 for install, still uses logic.c for uninstall and revert.
emit_preflight no longer checks for toplevel if ei2 is set.
* components/services/install/lib/eazel-install-private.h:
Wrote comments for the two ei2 hashes.
* components/services/install/lib/eazel-install-problem.c:
(get_detailed_cases_foreach),
(get_detailed_uninstall_cases_foreach),
(eazel_install_problem_tree_to_case),
(eazel_install_problem_tree_to_string):
More debug info and uses gtk_object_unref for deallocating
packagedata structures.
* components/services/install/lib/eazel-install-protocols.c:
(eazel_install_fetch_file):
If the file is already present, still emit signals.
* components/services/install/lib/eazel-install-public.h:
Moved some enums here.
* components/services/install/lib/eazel-install-xml-package-list.c:
(eazel_install_packagedata_to_xml):
Add ->depends to the SOFT_DEPEND field.
* components/services/install/lib/eazel-package-system.c:
(eazel_package_system_compare_version):
* 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:
(eazel_package_system_rpm3_packagedata_fill_from_header),
(eazel_package_system_rpm3_execute),
(eazel_package_system_rpm3_compare_version),
(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),
(eazel_package_system_implementation):
Added the compare_version call to EazelPackageSystem (fixes bug
5663).
Also use free instead of xfree to maintain rpm 4.0.2
compatibility.
* components/services/install/lib/eazel-package-system-types.h:
* components/services/install/lib/eazel-package-system-types.c:
(at_exit_package_data_info), (categorydata_new),
(categorydata_destroy_foreach), (packagedata_initialize),
(packagedata_finalize), (packagedependency_destroy),
(packagedata_copy), (packagedata_destroy),
(packagedata_get_readable_name), (packagedata_add_pack_to),
(packagedata_add_pack_to_breaks),
(packagedata_add_pack_to_modifies),
(flatten_packagedata_dependency_tree_helper),
(flatten_packagedata_dependency_tree):
Wrote some functions to convert a packagedata tree into a flat
structure based on ->depends.
Some nifty atexit debug output showing non-deallocated packagedata
structures.
More gtk_object_ref/unref repair.
Fixed get_readable_name (a y2k bug!!)
* components/services/install/nautilus-view/nautilus-service-instal
l-view.c: (nautilus_install_parse_uri),
(nautilus_service_install_view_update_from_uri):
Don't set auth to TRUE when uri has host...
* configure.in:
Changed librpmio test so it works with rpm 4.0.2
2001-01-18 Arlo Rose <arlo@eazel.com>
I forgot to check these two image in a few days ago...
* icons/eazel/sidebar_tab_pieces/left_bumper-prelight.png:
* icons/eazel/sidebar_tab_pieces/left_bumper.png:
2001-01-18 Andy Hertzfeld <andy@eazel.com>
backed out the Bonobo component throbber temporarily due
to Bonobo problems and restored the old one; hopefully, the
new one will come back soon.
* src/Makefile.am:
* src/nautilus-window-toolbars.c:
(nautilus_window_initialize_toolbars):
* src/nautilus-window.c: (nautilus_window_constructed),
(nautilus_window_destroy), (nautilus_window_allow_stop):
* src/nautilus-window.h:
fixed bug 5393, custom emblems arent scaling properly, by
* libnautilus-extensions/nautilus-icon-container.c:
(nautilus_icon_container_update_icon):
* libnautilus-extensions/nautilus-icon-factory.c:
(get_themed_icon_file_path), (load_pixbuf_svg),
(load_specific_icon):
2001-01-18 Darin Adler <darin@eazel.com>
reviewed by: John Sullivan <sullivan@eazel.com>
Fixed bug 2147 (NautilusFile for trash needs non-empty values for
more properties), bug 5652 (MIME type field appears but shouldn't
in properties window for Trash), and bug 4620 (trash sidebar
should show number of items).
* libnautilus-extensions/nautilus-file.h:
* libnautilus-extensions/nautilus-file-private.h:
* libnautilus-extensions/nautilus-file.c:
(nautilus_file_new_from_relative_uri): Create trash file subclass
when appropriate.
(nautilus_file_info_missing): Rename so it can be used in other
source files.
(nautilus_file_get_date): New method that returns numeric dates.
(nautilus_file_get_date_as_string): Change to call
nautilus_file_get_date to get the numeric date.
(nautilus_file_get_file_type): Turn into a method.
* libnautilus-extensions/nautilus-merged-directory.h:
* libnautilus-extensions/nautilus-merged-directory.c:
(merged_call_when_ready): Rolled in the old
merged_callback_connect_directory function.
(merged_contains_file): Moved down to a more appropriate part of
the source file.
(nautilus_merged_directory_get_real_directories): New public
function for use by trash.
* libnautilus-extensions/nautilus-trash-file.c:
(trash_callback_hash), (trash_callback_equal),
(trash_callback_destroy), (trash_callback_check_done),
(trash_callback_remove_file), (ready_callback),
(real_file_changed_callback), (monitor_add_file), (add_real_file),
(trash_callback_remove_file_cover), (monitor_remove_file),
(remove_real_file), (add_real_file_given_directory),
(add_directory_callback), (remove_directory_callback),
(trash_file_call_when_ready), (trash_file_cancel_call_when_ready),
(trash_file_check_if_ready), (trash_file_monitor_add),
(trash_file_monitor_remove), (trash_file_get_file_type),
(trash_file_get_item_count), (trash_file_get_deep_counts),
(trash_file_get_date), (remove_all_real_files),
(nautilus_trash_file_initialize), (trash_destroy),
(nautilus_trash_file_initialize_class):
New code. First implementation of getting some attributes for the
merged trash. Gets list of directories from the
NautilusTrashDirectory object. The code in here is similar to the
NautilusMergedDirectory class and at some point perhaps we can
make the two share more.
* libnautilus-extensions/nautilus-vfs-file.c:
(vfs_file_get_file_type), (vfs_file_get_date),
(nautilus_vfs_file_initialize_class): Implement the two new
methods for the standard vfs case.
Fixed various things that affect the properties window for the
trash that showed up while I was testing the above work:
* libnautilus-extensions/nautilus-icon-factory.c:
(nautilus_icon_factory_get_icon_name_for_regular_file),
(nautilus_icon_factory_get_icon_name_for_file): Move trash special
case out so it doesn't matter what type the trash seems to be. The
old code relied on trash not being a directory.
* src/file-manager/fm-properties-window.c:
(create_properties_window), (create_properties_window_callback),
(cancel_create_properties_window_callback),
(directory_view_destroyed_callback), (remove_pending_file): Rework
code to fix problems where the timed wait or the signal handler
wasn't properly cleaned up.
Fixed remaining bit of bug 5631 (Tear-offs of right-click menus
don't work.):
* src/file-manager/nautilus-desktop-icon-view-ui.xml: Mark Disks
right-click submenu so it won't get a tear-off item.
Fixed bug 5650 (nautilus --quit fails to return to prompt
sometimes):
* src/nautilus-application.c: (nautilus_application_startup): Add
special case so "nautilus --quit" doesn't hang waiting for a
response from the (now quit) "server" instance of Nautilus.
* src/nautilus-shell-interface.idl: Had to make the quit call no
longer be "oneway" to get it to work right, otherwise the quit
message could be lost when the sending application exited too
fast.
Fix bug 5675 (Nitpicks in new "could not be moved to new special
location" dialog):
* libnautilus-extensions/nautilus-file-operations.c:
(handle_transfer_overwrite): Updated message wording as Eli (and
Vera) suggest.
Other changes:
* libnautilus-extensions/nautilus-view-identifier.c:
(get_lang_list): Fix comment and a small storage leak in the case
where lang_with_locale is non-NULL but empty.
* po/POTFILES.ignore: Obsolete file, no longer used.
* src/file-manager/fm-desktop-icon-view.c:
(update_home_link_and_delete_copies): Update comment to help
translators understand better.
* libnautilus-extensions/nautilus-directory-async.c:
(directory_load_callback): Added a new assertion that could help
in future gnome-vfs debugging.
* libnautilus/nautilus-view-component.idl: Removed long-ago-fixed
FIXME comment.
* src/nautilus-window-manage-views.c: Tweak spacing.
2001-01-18 John Sullivan <sullivan@eazel.com>
reviewed by: Darin Adler <darin@eazel.com>
* libnautilus-extensions/nautilus-file-utilities.c:
(nautilus_make_uri_from_input):
* libnautilus-extensions/nautilus-link-set.c:
(nautilus_link_set_install):
Used new gnome_vfs_expand_initial_tilde in two places
that were doing this independently (one of which is
where the code for the gnome-vfs routine came from).
2001-01-18 John Sullivan <sullivan@eazel.com>
Fixed bug 5260: (Should revise 'Music view is unable to play
back sound' dialog)
* components/music/nautilus-music-view.c: (play_current_file):
Improved an error message per Eli and Vera.
2001-01-18 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_install_proxy_defaults),
(global_preferences_install_home_location_defaults),
(nautilus_global_preferences_initialize):
* libnautilus-extensions/nautilus-global-preferences.h:
Make comments reflect reality more. Changed the structure of the
file a bit to have the defaults, descriptions and visibility
installing functions be at the top.
2001-01-18 Pavel Cisler <pavel@eazel.com>
Fix 4221 (Pressing Cancel button does not cancel)
* libnautilus-extensions/nautilus-file-operations.c:
(transfer_dialog_clicked_callback), (handle_transfer_ok):
Redo cancellation to use a flag in the Transfer state and
return a request to cancel during the next callback instead
of issuing a gnome_vfs_async_cancel and destroying the
dialog. The latter approach would now work too with my
latest change to gnome_vfs_xfer, this new way of cancelling
is cleaner and causes all the item that actually do get
copied to show up in their new locations.
2001-01-18 Ramiro Estrugo <ramiro@eazel.com>
* libnautilus-extensions/nautilus-global-preferences.c:
(global_preferences_install_defaults):
Add a FIXME for a bug that was shuffled in my last checkin.
2001-01-17 Ramiro Estrugo <ramiro@eazel.com>
reviewed by: Pavel Cisler <pavel@eazel.com>
Lots of bug fixes:
2848 - User level agnostic config settings have nowhere to live.
2654 - Need default values even for non user level preferences.
3414 - Show more preferences at higher user levels.
3415 - Make preference the same for all levels at which it is not visible
3416 - Make preference changes affect all levels at which they are visible
4357 - Web search URL setting should be reset upon Nautilus update
5160 - Tree view doesnt exist when starting nautilus as a beginner
5234 - Sidebar panel preferences are not properly separated among user levels
* components/mozilla/mozilla-preferences.cpp:
Update for gnome vfs proxy changes. Proxy host and port are now
stored in separate gconf settings.
* libnautilus-extensions/Makefile.am:
* libnautilus-extensions/nautilus-enumeration.h:
* libnautilus-extensions/nautilus-enumeration.c:
(nautilus_enumeration_new), (nautilus_enumeration_free),
(nautilus_enumeration_insert),
(nautilus_enumeration_get_nth_entry),
(nautilus_enumeration_get_nth_description),
(nautilus_enumeration_get_nth_value),
(nautilus_enumeration_get_num_entries),
(nautilus_self_check_enumeration):
New files. An enumeration data structure.
* components/tree/nautilus-tree-expansion-state.c:
No longer need to give the full path to a gconf setting.
* components/tree/nautilus-tree-view.c:
(filtering_changed_callback), (nautilus_tree_view_initialize):
* libnautilus-extensions/nautilus-directory-async.c:
(can_use_public_metafile),
(get_filter_options_for_directory_count):
* libnautilus-extensions/nautilus-file-operations.c:
(confirm_empty_trash):
* libnautilus-extensions/nautilus-file.c:
(nautilus_file_should_get_top_left_text):
* libnautilus-extensions/nautilus-font-factory.c:
(nautilus_font_factory_get_font_from_preferences):
Update for preferences api changes.
* libnautilus-extensions/nautilus-gconf-extensions.h:
* libnautilus-extensions/nautilus-gconf-extensions.c:
(global_client_free), (nautilus_gconf_client_get_global),
(nautilus_gconf_handle_error), (nautilus_gconf_set_boolean),
(nautilus_gconf_get_boolean), (nautilus_gconf_set_int),
(nautilus_gconf_get_int), (nautilus_gconf_set_string),
(nautilus_gconf_get_string), (nautilus_gconf_set_string_list),
(nautilus_gconf_get_string_list), (nautilus_gconf_is_default),
(nautilus_gconf_monitor_directory):
New files. Useful gconf extensions; make peeking and poking
settings a little easier.
* libnautilus-extensions/nautilus-icon-container.c:
(button_press_event):
* libnautilus-extensions/nautilus-icon-canvas-item.c:
(in_single_click_mode):
Update for preferences api changes.
* libnautilus-extensions/nautilus-icon-factory.c:
(icon_theme_changed_callback),
(should_display_image_file_as_itself):
Update for preferences api changes. Also no longer need to define
a default theme.
* libnautilus-extensions/nautilus-lib-self-check-functions.h:
Add entries for enumeration and preferences. Remove preference
entry. Note plural vs not.
* libnautilus-extensions/nautilus-preference.c:
* libnautilus-extensions/nautilus-preference.h:
Retire these 2. No longer use a GtkObject to store each
preference. We simply use the string name instead.
* libnautilus-extensions/nautilus-preferences-box.h:
* libnautilus-extensions/nautilus-preferences-box.c:
(nautilus_preferences_box_add_pane),
(nautilus_preferences_box_update):
New function. Should be called when user level changes so that
the box updates its panes.
* libnautilus-extensions/nautilus-preferences-dialog.h:
* libnautilus-extensions/nautilus-preferences-dialog.c:
(nautilus_preferences_dialog_initialize),
(nautilus_preferences_dialog_destroy),
(nautilus_preferences_dialog_get_prefs_box),
(nautilus_preferences_dialog_update),
(user_level_changed_callback):
Keep track of user level changes.
New function to update the dialog when user level changes.
* libnautilus-extensions/nautilus-preferences-group.h:
* libnautilus-extensions/nautilus-preferences-group.c:
(nautilus_preferences_group_initialize),
(nautilus_preferences_group_destroy),
(nautilus_preferences_group_add_item): Collect the group's items
in a list. Update to user a string to represent a preference
instead of a GtkObject.
(nautilus_preferences_group_update): New function. Updates the
group's items to respect preferences visibility based on the user
level.
(nautilus_preferences_get_num_visible_items): New function.
Return the number of currently visible items.
Collect the group's items in a list. Update to user a string to
represent a preference instead of a GtkObject.
* libnautilus-extensions/nautilus-preferences-item.h:
* libnautilus-extensions/nautilus-preferences-item.c:
(preferences_item_construct), (preferences_item_create_enum),
(preferences_item_create_short_enum),
(preferences_item_create_boolean),
(preferences_item_create_editable_string),
(preferences_item_create_integer),
(preferences_item_create_font_family),
(preferences_item_create_theme),
(enum_radio_group_changed_callback),
(editable_string_changed_callback), (integer_changed_callback),
(nautilus_preferences_item_get_name):
New function to fetch the item's preference name.
Add a new kind of preference - INTEGER. Update for string
vs. GtkObject preferences representation changes.
* libnautilus-extensions/nautilus-preferences-pane.h:
* libnautilus-extensions/nautilus-preferences-pane.c:
(nautilus_preferences_pane_update):
New function. Updates the pane's groups to respect preferences
visibility based on the user level.
* libnautilus-extensions/nautilus-preferences.h:
* libnautilus-extensions/nautilus-preferences.c:
(preferences_get_path), (preferences_get_defaults_path),
(preferences_get_visibility_path),
(preferences_get_user_level_key),
(preferences_preference_is_internal),
(preferences_preference_is_user_level), (preferences_key_make),
(preferences_key_make_for_default),
(preferences_key_make_for_default_getter),
(preferences_key_make_for_visibility),
(preferences_global_client_remove_notification),
(preferences_global_client_get),
(preferences_preference_is_default),
(preferences_make_user_level_filtered_key),
(nautilus_preferences_get_visible_user_level),
(nautilus_preferences_set_visible_user_level),
(nautilus_preferences_set_boolean),
(preferences_key_make_for_getter),
(nautilus_preferences_get_boolean), (nautilus_preferences_set_int),
(nautilus_preferences_get_int), (nautilus_preferences_set),
(nautilus_preferences_get), (nautilus_preferences_set_string_list),
(nautilus_preferences_get_string_list),
(nautilus_preferences_get_user_level),
(nautilus_preferences_set_user_level),
(nautilus_preferences_default_set_int),
(nautilus_preferences_default_get_int),
(nautilus_preferences_default_set_boolean),
(nautilus_preferences_default_get_boolean),
(nautilus_preferences_default_set_string),
(nautilus_preferences_default_get_string),
(nautilus_preferences_default_set_string_list),
(nautilus_preferences_default_get_string_list),
(preferences_callback_entry_invoke_function),
(preferences_something_changed_notice),
(preferences_global_table_check_changes_function),
(preferences_user_level_changed_notice),
(preferences_entry_add_callback),
(preferences_entry_remove_callback),
(preferences_callback_entry_free),
(preferences_callback_entry_free_func), (preferences_entry_free),
(preferences_entry_free_func), (preferences_global_table_free),
(preferences_global_table_get_global),
(preferences_global_table_lookup),
(preferences_global_table_insert),
(preferences_global_table_lookup_or_insert),
(nautilus_preferences_add_callback),
(preferences_while_alive_disconnector),
(nautilus_preferences_add_callback_while_alive),
(nautilus_preferences_remove_callback),
(nautilus_preferences_enumeration_insert),
(nautilus_preferences_enumeration_get_nth_entry),
(nautilus_preferences_enumeration_get_nth_description),
(nautilus_preferences_enumeration_get_nth_value),
(nautilus_preferences_enumeration_get_num_entries),
(nautilus_preferences_set_description),
(nautilus_preferences_get_description),
(nautilus_preferences_get_user_level_name_for_display),
(nautilus_preferences_get_user_level_name_for_storage),
(preferences_user_level_check_range),
(nautilus_preferences_monitor_directory),
(nautilus_preferences_is_visible),
(nautilus_self_check_preferences):
Many changes. Redid to support the preferences system described
in bugs 3414, 3415 and 3416.
* libnautilus-extensions/nautilus-smooth-widget.c:
(preferences_get_is_smooth):
* 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):
* libnautilus-extensions/nautilus-theme.c:
(nautilus_theme_get_theme), (nautilus_theme_get_theme_data),
(nautilus_theme_get_image_path):
Update for preferences api changes.
* libnautilus-extensions/nautilus-user-level-manager.c:
* libnautilus-extensions/nautilus-user-level-manager.h:
Retire. No longer needed. User level things are handled in
nautilus-preferences.[ch] now. The current user level design is
much simpler and does no require its own GtkObject.
* src/file-manager/fm-desktop-icon-view.c:
(update_home_link_and_delete_copies), (real_update_menus):
* src/file-manager/fm-directory-view.c: (open_location),
(confirm_delete_from_trash), (real_update_menus),
(fm_directory_view_activate_files), (filtering_changed_callback):
* src/file-manager/fm-icon-text-window.c:
(changed_attributes_option_menu_callback),
(fm_get_text_attribute_names_preference_or_default):
* src/file-manager/fm-icon-view.c: (should_preview_sound),
(fm_icon_view_update_click_mode),
(fm_icon_view_update_smooth_graphics_mode):
* src/file-manager/fm-list-view.c:
(fm_list_view_update_click_mode):
* src/file-manager/fm-properties-window.c:
(create_permissions_page):
* src/nautilus-application.c: (desktop_changed_callback):
* src/nautilus-complex-search-bar.c:
(nautilus_complex_search_bar_get_location):
* src/nautilus-first-time-druid.c: (user_level_selection_changed),
(make_hbox_user_level_radio_button), (set_up_user_level_page):
* src/nautilus-main.c: (main):
* src/nautilus-property-browser.c:
(nautilus_property_browser_update_contents):
* src/nautilus-sidebar.c: (nautilus_sidebar_sidebar_panel_enabled),
(toggle_sidebar_panel), (nautilus_sidebar_size_allocate):
* src/nautilus-switchable-search-bar.c:
(nautilus_switchable_search_bar_new),
(nautilus_search_uri_to_search_bar_mode):
Update for preferences api changes.
* src/nautilus-window-manage-views.c:
(position_and_show_window_callback),
(nautilus_window_end_location_change_callback):
Update for preferences api changes. Also, no longer need to pass
in a default location to the preferences getter.
* src/nautilus-window-menus.c: (user_level_customize_callback),
(switch_to_user_level), (refresh_bookmarks_menu),
(user_level_changed_callback), (add_user_level_menu_item),
(nautilus_window_initialize_menus), (update_user_level_menu_items),
(convert_user_level_to_path):
A lot of simplification. The "Edit Settings..." menu item no
longer changes it wording based on the user level. We know allow
it to edit settings on all user levels, since we have the ability
to hide preferences at higher user levels. No longer need to
update the preferences dialog or its title.
* src/nautilus-window.c: (nautilus_window_constructed),
(nautilus_window_close), (nautilus_window_go_web_search),
(nautilus_window_go_home), (nautilus_window_show):
Update for preferences api changes.
* libnautilus-extensions/nautilus-global-preferences.h:
Update all the preferences defines to not include a full gconf
path. We dont need to do this anymore to get non user level
coupled prefernces.
* libnautilus-extensions/nautilus-global-preferences.c:
(compare_view_identifiers), (global_preferences_create_dialog),
(nautilus_global_preferences_get_enabled_sidebar_panel_view_identif
iers), (global_preferences_install_sidebar_panel_defaults),
(global_preferences_is_sidebar_panel_enabled),
(global_preferences_install_speed_tradeoff_descriptions),
(register_proxy_preferences), (global_preferences_register),
(global_preferences_install_defaults),
(nautilus_global_preferences_set_dialog_title):
Lots of changes to support new preferences design.
Set the WM_CLASS here once instead of everytime the dialog title
is changed. This was causing criticals.
No longer need to create parallel proxy preferences and map them
to the gconf ones. We can use the gconf ones directly now.
* test/.cvsignore:
* test/Makefile.am:
* test/test-nautilus-preferences-change.c:
(user_level_changed_callback), (fruits_changed_callback),
(int_picker_changed_callback),
(user_level_picker_changed_callback), (picker_new),
(user_level_picker_new), (main):
* test/test-nautilus-preferences-display.c: (text_caption_update),
(user_level_caption_update), (user_level_changed_callback),
(green_changed_callback), (yellow_changed_callback),
(red_changed_callback), (apple_changed_callback),
(orange_changed_callback), (pear_changed_callback), (entry_new),
(user_level_frame_new), (colors_frame_new), (fruits_frame_new),
(main):
* test/test.c: (test_pixbuf_draw_rectangle_tiled),
(test_text_caption_set_text_for_int_preferences),
(test_text_caption_set_text_for_string_preferences),
(test_text_caption_set_text_for_default_int_preferences),
(test_text_caption_set_text_for_default_string_preferences),
(test_text_caption_get_text_as_int),
(test_window_set_title_with_pid):
* test/test.h:
New tests for preferences changes.
* test/test-nautilus-preferences.c:
Retire old prefs test which didnt really work.
* test/test-nautilus-smooth-graphics.c:
(smooth_graphics_mode_changed_callback), (main):
Update for preferences api changes.
2001-01-17 Andy Hertzfeld <andy@eazel.com>
changed the throbber component to use the new translated oaf file
scheme. The throbber still doesn't show up, due to recent bonobo
changes, which I'm looking into further.
* components/throbber/.cvsignore:
cvs should ignore the translated oaf file
* components/throbber/Makefile.am:
change use of oaf files
* components/throbber/Nautilus_Control_throbber.oaf.in:
added new style oaf file\
* components/throbber/nautilus-throbber.oafinfo:
removed the old file
* src/nautilus-window-toolbars.c:
(nautilus_window_initialize_toolbars):
more descriptive message when we get an exception
2001-01-17 Pavel Cisler <pavel@eazel.com>
* libnautilus-extensions/nautilus-self-checks.c:
(nautilus_report_check_failure), (nautilus_before_check_function):
Make make check results go to stderror.
2001-01-17 John Harper <jsh@eazel.com>
reviewed by: Pavel Cisler <pavel@eazel.com>
Work to fix bugs 1939 and 4614 -- text in list view is hard to
read when the foreground color specified by the gtk theme
conflicts with the background colors:
* libnautilus-extensions/nautilus-gdk-extensions.h,
libnautilus-extensions/nautilus-gdk-extensions.c
(nautilus_gdk_color_is_dark,
nautilus_gdk_choose_foreground_color,
nautilus_gdk_gc_choose_foreground_color): new functions, used
for testing whether a foreground/background color pair is
suitable for drawing text, and if not, choosing a new
foreground color
* libnautilus-extensions/nautilus-list.c (NautilusListDetails):
added gc fields: text_color, selected_text_color, link_text_color
(unref_gcs, make_gcs_and_colors): handle the new gcs
(nautilus_list_setup_style_colors): use
nautilus_gdk_gc_set_foreground_color () to create the gcs that
will be used for drawing text
(draw_cell): when drawing text cells, don't use the default
foreground gc, use one of the specially chosen gcs
2001-01-17 Rebecca Schulman <rebecka@eazel.com>
* src/file-manager/nautilus-indexing-info.c:
(update_file_index_callback), (show_indexing_info_dialog):
Make changes necessary because of the slight change in the
medusa_indexing_service api, and change "hide when closed"
on the index status dialig to TRUE. We still need to free
the dialog when we exit nautilus (Added a fixme) but
setting this value to false caused us to reference
the freed dialog.
2001-01-17 Andy Hertzfeld <andy@eazel.com>
fixed bugs 5674, 5697 and 5699, Nautilus shows a broken image
icon instead of a mime-type icon for image types that it doesn't
support. Fixed by generating a zero-length placeholder thumbnail
instead of the broken image icon; the icon factory tests for the
placeholder and uses the proper mime-type icon when it's present.
* libnautilus-extensions/nautilus-icon-factory.c:
(should_display_image_file_as_itself),
(nautilus_icon_factory_get_icon_for_file):
made should_display_image_file_as_itself return FALSE when the
placeholder is present.
* libnautilus-extensions/nautilus-thumbnails.c:
(make_invalid_thumbnail_uri),
(nautilus_thumbnail_has_invalid_thumbnail), (check_for_thumbnails):
added routine to test if a placeholder is present, and made it
generate the placeholder when thumbnailing fails.
* libnautilus-extensions/nautilus-thumbnails.h:
added nautilus_thumbnail_has_invalid_thumbnail
2001-01-17 Darin Adler <darin@eazel.com>
* libnautilus-extensions/nautilus-self-checks.h:
* libnautilus-extensions/nautilus-self-checks.c:
(nautilus_before_check_function), (nautilus_after_check_function):
Write the names of the self-check functions as we run them.
Maybe this will help us figure out what's up with the Tinderbox.
2001-01-17 Rebecca Schulman <rebecka@eazel.com>
reviewed by: John Sullivan <sullivan@eazel.com>
* src/nautilus-complex-search-bar.c:
(nautilus_complex_search_bar_initialize):
Remove some spacing settings that caused the
"More Options", "Fewer Options" and "Find Them"
buttons in the search bar too have way too much
space beneath them, fixing bug 4917
* src/nautilus-window-private.h:
Up the minimum width of nautilus so that
the search controls are always still
readable (from 450 to 480). However,
this does not guarantee that on all
configurations you wil be able to see the
controls, but it should for the default case.
2001-01-17 Ian McKellar <ian@eazel.com>
reviewed by: Mike Fleming <mfleming@eazel.com>
* components/services/summary/nautilus-view/nautilus-summary-dialog
s.c: (generate_login_dialog):
* components/services/summary/nautilus-view/nautilus-summary-view-p
rivate.h:
Keep track of the currently displayed login dialog (for each view).
If a login dialog is open when a dialog open request is recieved,
close the old one.
2001-01-17 Andy Hertzfeld <andy@eazel.com>
* components/throbber/main.c: (main):
* components/throbber/nautilus-throbber.c:
(nautilus_throbber_destroy):
fixed problem that Pavel pointed out where the throbber
component is left around after Nautilus exists, by calling
gnome_vfs_shutdown when we exit, and also unrefing the
throbber's bonobo control when the widget is destroyed.
2001-01-17 Andy Hertzfeld <andy@eazel.com>
reviewed by: <darin@eazel.com>
* src/nautilus-window-manage-views.c: (unref_callback),
(ref_now_unref_at_idle_time), (location_has_really_changed),
(load_underway_callback):
this is actually Darin's change, checked in by Andy, that's a
better fix for bug 5657, the "destroying components messes up
idle routines" crash. Instead of deferring the window state change
to idle time, it does an extra ref of the view and unrefs it when
idle rolls around.
2001-01-16 Eskil Olsen <eskil@eazel.com>
reviewed by: Darin Adler <darin@eazel.com>
* libnautilus-extensions/nautilus-view-identifier.c:
(get_lang_list):
LANG might contain an underscore, so add both the la_LC var,
but also only the la to the list. This fixes the "View as xxx"
translation issue.
2001-01-17 Pavel Cisler <pavel@eazel.com>
Fix 5188: Duplicate in list view -> Nautilus crashes.
* src/file-manager/fm-directory-view.c:
(fm_directory_view_duplicate_selection):
It was really only an inaccurate assert.
2001-01-16 Ian McKellar <ian@eazel.com>
reviewed by: Darin Adler <darin@eazel.com>
* components/services/install/nautilus-view/nautilus-service-instal
l-view.c: (nautilus_service_install_preflight_check):
Removed check that package has been installed in preflight check
because this will never occur.
(nautilus_install_service_describe_menu_entry),
Added this function which is used to generate a text description
of a menu item.
(nautilus_install_service_locate_menu_entries),
Check for files in an /applnk/ directories as well as in /gnome/apps/
directories. Closed GnomeDesktopEntry leak.
(nautilus_service_install_done),
Implement the equivalent of the preflight check that I removed,
but at a point where we know whether the install has succeed, failed,
been cancelled or been struck by lightning.
(nautilus_service_install_view_load_uri):
Reset some state variables, so that some weird random things
don't happen.
2001-01-16 Mike Fleming <mfleming@eazel.com>
Dialog re-wording suggested by Vera.
* components/services/summary/nautilus-view/nautilus-summary-callba
cks.c: (authn_cb_failed):
2001-01-16 Pavel Cisler <pavel@eazel.com>
Fix 5511: Dropping a file in same folder asks about replacing it.
Fix 5606: Left drag into window where file exists deletes file.
* src/file-manager/fm-list-view.c: (fm_list_receive_dropped_icons):
During a file move, add a check to see if the dragged items are in the
target directory.
* libnautilus-extensions/nautilus-list.c:
(nautilus_list_get_drop_action):
Tiny tweak.
2001-01-16 Michael Engber <engber@eazel.com>
* libnautilus-extensions/nautilus-directory-background.c:
Removed comment detailing differences with the background-capplet
code since I just propagated the same fixes to the capplet.
2001-01-16 Andy Hertzfeld <andy@eazel.com>
* src/file-manager/fm-properties-window.c:
(property_button_focused_out), (create_emblems_page):
fixed bug 5572, black rectangle left behind after clicking
on an emblem in Properties window, by attaching to the
focus_out signal and redrawing
* src/nautilus-property-browser.c:
(nautilus_property_browser_initialize),
(nautilus_property_browser_destroy),
(nautilus_property_browser_theme_changed),
(nautilus_property_browser_smooth_graphics_changed):
fixed some of bug 5614, label text in property browser is
corrupted when smooth text option changed, by monitoring the
smooth_graphics preference and updating when it changes. The
rest of this bug will be fixed when Ramiro fixes the nautilus_label
geometry problems as part of bug 5607
* components/text/nautilus-text-view.c: (file_read_callback):
corrected the name of the "file too big to load" dialog
2001-01-16 Michael Engber <engber@eazel.com>
reviewed by: Gene Z. Ragan
* libnautilus-extensions/nautilus-directory-background.c:
(nautilus_gnome_config_string_match_no_case_with_default),
(nautilus_file_background_read_desktop_settings):
Use theme defaults for desktop background when ~/.gnome/Background
is missing.
2001-01-16 Seth Nickell <seth@eazel.com>
reviewed by: Darin Adler <darin@eazel.com>
* libnautilus-extensions/nautilus-directory-metafile.c:
(nautilus_directory_rename_file_metadata),
(nautilus_directory_remove_file_metadata):
* libnautilus-extensions/nautilus-file.c:
(sort_keyword_list_and_remove_duplicates):
Add casts to strcmp's performed on gpointers so they will
not generate warnings.
2001-01-16 John Sullivan <sullivan@eazel.com>
reviewed by: Pavel Cisler <pavel@eazel.com>
More work on bug 2146 (Properties window for desktop Trash icon
should show Trash properties). Mostly this was clean-up of the
properties window code to make future changes easier. The only
substantive change is to remove the "Type" field for the trash.
* src/file-manager/fm-properties-window.c:
Removed enums for basic page and permissions page row numbers.
The rows are now added (and table sized) as needed.
(append_row): New helper function, appends one row to a GtkTable
and returns the index of the new last row.
(append_title_field): New function, like attach_title_field
but appends row instead of taking a row parameter.
(append_separator), (append_directory_contents_fields),
(append_title_value_pair), (append_special_execution_checkbox),
(append_special_execution_flags): Renamed from attach_xxx, now
append a row instead of taking a row parameter.
(create_page_with_table_in_vbox): Now returns GtkTable * instead
of GtkWidget *, for callers' convenience.
(get_adjusted_permissions_row): Removed this somewhat hacky function.
(should_show_file_type): New function, returns FALSE for
special trash location but TRUE for everything else.
(create_basic_page): Check should_show_file_type; use new
append_xxx calls instead of using predefined row numbers.
(create_permissions_page): use new append_xxx calls instead of
using predefined row numbers.
2001-01-16 Gene Z. Ragan <gzr@eazel.com>
Fixed mistake in asserting on a NULL value. Assert if the
value is NULL, not non-NULL.
* libnautilus-extensions/nautilus-file-operations.c:
(extract_and_ellipsize_file_name_for_dialog):
2001-01-16 Darin Adler <darin@eazel.com>
reviewed by: Gene Ragan <gzr@eazel.com>
* libnautilus-extensions/nautilus-file-operations.c:
(get_label_font): It's illegal to unref a new widget since you
don't own a ref to it. Sink it instead.
(ellipsize_string_for_dialog): New function.
(format_and_ellipsize_uri_for_dialog): Rename this function and
change it to use nautilus_format_uri_for_display. Also add FIXME
about where the ellipsis goes.
(extract_and_ellipsize_file_name_for_dialog): Added a seprate
function for the case where we want to extract the file name
part only. The old code mixed the URI and file name cases in a
way that would lead to anomalies with unusual names.
(handle_transfer_vfs_error): Fixed storage leak.
(is_special_link): Rewrote this function and also made it take
a URI in text form, not a GnomeVFSURI.
(handle_transfer_overwrite): Use is_special_link instead of
duplicate its test. Removed incorrect use of NautilusFile (without
waiting for results). Added quotes around file name in
message. Use extract_and_ellipsize_file_name_for_dialog instead of
our own ad-hoc functions.
(make_next_duplicate_name): Get rid of bizarre buffer/sprintf that
was used by someone who didn't know you can use printf formatting
with g_warning.
(vfs_uri_is_special_link): Created cover for one remaining caller
of is_special_link that needs to pass a GnomeVFSURI.
(nautilus_file_operations_copy_move): Use the new is_special_link
(nautilus_file_operations_move_to_trash): Use
extract_and_ellipsize_file_name_for_dialog instead of an old
strange combination of calls.
* libnautilus-extensions/nautilus-icon-factory.c:
(nautilus_icon_factory_get_icon_name_for_regular_file): Fix
obsolete comment and rearrange code now that plain text special
case is gone.
2001-01-16 Josh Barrow <josh@eazel.com>
* src/nautilus-first-time-druid.c: (druid_finished):
Make the new services icon use big_services_icon.png. This is a
much better choice until we get something official.
2001-01-16 Gene Z. Ragan <gzr@eazel.com>
Checked in broken code before. Doh!
* libnautilus-extensions/nautilus-link.c:
* src/nautilus-first-time-druid.c: (druid_finished):
2001-01-16 Gene Z. Ragan <gzr@eazel.com>
reviewed by: Mike Fleming <mfleming@eazel.com>
Fixed bug 4358, Please put a services icon on the desktop
* libnautilus-extensions/nautilus-link.c:
(nautilus_link_local_create):
Perform NULL checking on arguments
* src/nautilus-first-time-druid.c: (druid_finished):
Create a link to services on the desktop.
2001-01-16 Michael K. Fleming <mfleming@eazel.com>
reviewed by: <ramiro@eazel.com>
Bug 4411 -- implement keypress hook for Mozilla so that URL navigation
initiated by keypress are handled the same as mouse-initiated navigation
events (eg, correctly have their schemes translated if necessary)
* components/mozilla/main.c: (mozilla_object_destroyed),
(mozilla_make_object), (main):
* components/mozilla/mozilla-events.cpp:
* components/mozilla/mozilla-events.h:
* components/mozilla/nautilus-mozilla-content-view.c:
(nautilus_mozilla_content_view_initialize),
(mozilla_open_uri_callback), (mozilla_dom_key_press_callback),
(mozilla_dom_mouse_click_callback):
2001-01-16 Gene Z. Ragan <gzr@eazel.com>
Fixed bug 5677, Drag files w/names of Specials to desktop -> malloc crash
Fixed bug 5673, Spaces are escaped in new "replace special desktop icon"
dialog.
* libnautilus-extensions/nautilus-file-operations.c:
(handle_transfer_overwrite):
2001-01-15 John Sullivan <sullivan@eazel.com>
reviewed by: Gene Z. Ragan <gzr@eazel.com>
Removed stuff I added earlier as part of a failed fix
for bug 2068, which I ended up fixing a different way.
Fixed bug 5661 (Hardwired button sizes for custom icons
in properties window)
Fixed bug 1682 ("Go There" button taller than others
in "Open with Other" dialog)
* libnautilus-extensions/nautilus-scrolled-window.h:
* libnautilus-extensions/nautilus-scrolled-window.c:
Removed these files from cvs.
* libnautilus-extensions/Makefile.am:
Removed the removed files from the build.
* libnautilus-extensions/nautilus-metadata.h:
removed NAUTILUS_METADATA_KEY_ICON_VIEW_SCROLL_ORIGIN
* src/file-manager/fm-directory-view.h:
* src/file-manager/fm-directory-view.c:
(fm_directory_view_initialize): Changed back to inheriting
from GtkScrolledWindow instead of now non-existent
NautilusScrolledWindow.
* libnautilus-extensions/nautilus-gtk-extensions.h:
* libnautilus-extensions/nautilus-gtk-extensions.c:
(nautilus_gtk_button_set_standard_padding): New function,
wrapper for nautilus_gtk_button_set_padding that uses
a standard amount of padding instead of taking a parameter.
This is preferred so we can change a single number if we
change our minds about what the standard padding should be.
* libnautilus-extensions/nautilus-program-chooser.c:
(nautilus_program_chooser_new): Use
nautilus_gtk_button_set_standard_padding. Also added a vbox
so that "Go There" button doesn't grow taller to match the
height of the adjacent text. This fixed bug 1682.
* src/nautilus-bookmarks-window.c: (create_bookmarks_window):
Use nautilus_gtk_button_set_standard_padding.
* src/file-manager/fm-properties-window.c: (create_basic_page):
Use nautilus_gtk_button_set_standard_padding instead of
hardwiring button sizes. This fixed bug 5661.
2001-01-16 Carlos Perelló Marín <carlos@gnome-db.org>
* configure.in: Added es to ALL_LINGUAS.
2001-01-16 Ramiro Estrugo <ramiro@eazel.com>
* libnautilus-extensions/nautilus-string-list.c:
(nautilus_string_list_get_length):
Allow for NULL to be treated as a zero length string list.
* libnautilus-extensions/nautilus-string-picker.h:
* libnautilus-extensions/nautilus-string-picker.c:
(nautilus_string_picker_set_selected_string_index),
(nautilus_string_picker_get_index_for_string):
Two new functions to manipulate the string picker using indeces.
* libnautilus-extensions/nautilus-text-caption.h:
* libnautilus-extensions/nautilus-text-caption.c:
(nautilus_text_caption_get_text), (nautilus_text_caption_set_text):
Make the signature of get_text() use a const object.
(nautilus_text_caption_set_editable): New function to change
whether the caption's text is editable.
2001-01-16 Andy Hertzfeld <andy@eazel.com>
* src/nautilus-window-manage-views.c: (change_state_at_idle),
(load_underway_callback):
fixed bug 5657, crash during menu update when switching views. This is
also behind several other reported bugs. Fixed it as Darin suggested,
which is to defer the window state change associated with loading
a new component until idle time, so it doesn't wreak havoc
by interrupting other idle routines.
* components/throbber/nautilus-throbber.c:
(nautilus_throbber_initialize_class), (get_bonobo_properties),
(set_bonobo_properties), (nautilus_throbber_destroy),
(nautilus_throbber_initialize),
(nautilus_throbber_button_press_event):
added a location property and made it issue a notification when the
throbber is clicked on. Also, removed the no longer used
"location_changed" signal and better memory management of the
property bag.
* src/nautilus-window.c: (throbber_location_changed_callback),
(nautilus_window_constructed), (nautilus_window_destroy):
make clicking on the throbber work by adding a listener for
the throbber location property and changing the location
accordingly when the event is posted. Also, fixed a leak
of the bonobo object.
* src/nautilus-window-private.h:
added a field to hold the event source listener ID.
2001-01-15 Andy Hertzfeld <andy@eazel.com>
* components/throbber/main.c: (main):
fixed recently introduced bug where the throbber wasn't respecting
the theme; I had forgotten to initialize global preferences in the
throbber component.
2001-01-15 Andy Hertzfeld <andy@eazel.com>
fixed bug 4369, throbber frozen during long refresh, by making the
throbber a bonobo component so it's driven by its own thread.
Note that clicking on the throbber is temporarily broken; I'll
fix that soon. Also, made the frame delay be specified by the
theme and set the default to spin somewhat slower than before.
* configure.in:
* components/Makefile.am:
* components/throbber/.cvsignore:
* components/throbber/Makefile.am:
* components/throbber/nautilus-throbber.oafinfo:
added throbber component
* components/throbber/main.c: (throbber_object_destroyed),
(throbber_make_object), (main):
factory for the throbber component
* components/throbber/nautilus-throbber.c,h:
(nautilus_throbber_initialize_class), (is_throbbing),
(get_bonobo_properties), (set_bonobo_properties),
(nautilus_throbber_destroy), (nautilus_throbber_get_control),
(get_throbber_dimensions), (nautilus_throbber_initialize),
(nautilus_throbber_new), (nautilus_throbber_theme_changed),
(draw_pixbuf), (select_throbber_image), (draw_throbber_image),
(nautilus_throbber_draw), (nautilus_throbber_expose),
(nautilus_throbber_map), (bump_throbber_frame),
(nautilus_throbber_start),
(nautilus_throbber_remove_update_callback),
(nautilus_throbber_stop), (nautilus_throbber_unload_images),
(load_themed_image), (make_throbber_frame_name),
(nautilus_throbber_load_images),
(nautilus_throbber_button_press_event),
(nautilus_throbber_set_small_mode),
(nautilus_throbber_size_allocate),
(nautilus_throbber_size_request):
throbber widget for the bonobo component
* src/nautilus-window-toolbars.c: (theme_changed_callback),
(nautilus_window_initialize_toolbars):
set up throbber component in the toolbar
* src/nautilus-window.c,h: (nautilus_window_constructed),
(nautilus_window_allow_stop):
use property interface to start and stop the throbber
* icons/default.xml:
added delay specification to throbber in default theme
* nautilus-clean.sh:
clean throbber component as necessary
* src/Makefile.am:
* src/nautilus-throbber.c,h
removed old throbber widget
2001-01-15 Michael Engber <engber@eazel.com>
reviewed by: John Sullivan
* libnautilus-extensions/nautilus-stock-dialogs.c:
(nautilus_timed_wait_start_with_duration),
(nautilus_timed_wait_start):
* libnautilus-extensions/nautilus-stock-dialogs.h:
* libnautilus-extensions/nautilus-trash-directory.c:
(find_directory_start):
Increase delay before putting up "searching for trash dialog"
2001-01-15 Gene Z. Ragan <gzr@eazel.com>
reviewed by: Arlo Rose <arlo@eazel.com>
Fixed bug 1420, pane splitter drag outline edges are indistinct
* libnautilus-extensions/nautilus-horizontal-splitter.c:
(splitter_xor_line):
Make line appears as single pixel on off dash.
2001-01-15 Gene Z. Ragan <gzr@eazel.com>
reviewed by: Mike Engber <engber@eazel.com>
Fixed bug 5651, Mounting write-protected disk gives Mount Error
I examined the source code to mount. There is one case where
an error message is returned but it is not an error. I now
check for that case in the error checking code.
* libnautilus-extensions/nautilus-volume-monitor.c:
(mount_volume_get_cdrom_name), (eject_cdrom), (close_error_pipe),
(locate_audio_cd):
Also remove some old debugging code and make sure audio cd
mounting is ifdefed out.
2001-01-15 Michael K. Fleming <mfleming@eazel.com>
reviewed by: <pavel@eazel.com>
* libnautilus-extensions/nautilus-file-operations.c:
(handle_transfer_vfs_error):
Fixed error message for the case where a file was moved to an unwritable
target where permissions were not known in advance (eg, Eazel vault).
Previously: "The file or its directory cannot be changed"
Now: "You do not have permissions to write to this folder"
2001-01-15 Michael Engber <engber@eazel.com>
reviewed by: Gene Z. Ragan
* libnautilus-extensions/nautilus-directory-background.c:
(set_root_pixmap): Fixed leaking x-server memory.
2001-01-15 John Sullivan <sullivan@eazel.com>
reviewed by: Darin Adler <darin@eazel.com>
Some work on bug 2146 (Properties window for desktop Trash icon
should show Trash properties)
* src/file-manager/fm-properties-window.c:
(is_merged_trash_directory): New helper function, checks whether
window is displaying special trash location.
(should_show_custom_icon_buttons): New helper function, returns
FALSE for special trash location since custom icons don't work
with the trash (see bug 5642)
(should_show_mime_type): New helper function, extracted for
code clarity (returns FALSE for directories).
(create_basic_page): Now takes only one parameter, gets file
and notebook from details struct; uses should_show_mime_type
and should_show_custom_icon_buttons.
(create_emblems_page), (create_permissions_page): Now take only
one parameter, get file and notebook from details struct.
(should_show_emblems): New helper function, returns FALSE for
special trash location since emblems don't work with the
trash (see bug 5643)
(should_show_permissions): New helper function, returns FALSE for
special trash location since it's not really a file system object
for which permissions make sense.
(create_properties_window): Respect should_show_emblems and
should_show_permissions.
Eli ran into a case where the "can't set permissions" error message
was the vague default case when the disk was locked. I added that
case to the set of specifically handled cases.
* src/file-manager/fm-error-reporting.c:
(fm_report_error_renaming_file), (fm_report_error_setting_group),
(fm_report_error_setting_owner),
(fm_report_error_setting_permissions): Handle
GNOME_VFS_ERROR_READ_ONLY_FILE_SYSTEM cases.
2001-01-15 Ian McKellar <ian@eazel.com>
* components/services/inventory/eazel-inventory-service.c:
(impl_Trilobite_Eazel_Inventory__get_machine_name):
The default hostname is now guessed if:
It now guesses a default if:
- gethostname succeds; and
- the hostname doesn't start with "localhost."
- the hostname doesn't equal "localhost"
The hostname stored is the name, up to but not including the
first "." in the name (if any).
2001-01-15 Darin Adler <darin@eazel.com>
Fix bug 5557 (Intermittent crash in
Nautilus_View_history_changed):
* src/nautilus-view-frame.c: (send_history): Added a check for
NULL so we don't try to send a NULL history list through the
history machinery.
Fix bug 5360 ("menthos's Home" string is hard to translate):
* src/file-manager/fm-desktop-icon-view.c:
(update_home_link_and_delete_copies): Added comment to help
translators understand what to do with "%s's Home".
Fix bug 5641 ("xfree" does not work with newer versions of RPM 4
headers):
* components/services/install/lib/eazel-package-system-rpm3.c:
(eazel_package_system_rpm3_packagedata_fill_from_header): Just
use "free" instead of "xfree".
Fix bug 5631 (Tear-offs of right-click menus don't work):
* src/nautilus-shell-ui.xml:
* src/file-manager/nautilus-directory-view-ui.xml:
* src/file-manager/nautilus-icon-view-ui.xml:
Mark popups and submenus of the popups with tearoff="0" so they
don't have tear-off menu items.
More work on bug 2147 (NautilusFile for trash needs non-empty
values for more properties).
* libnautilus-extensions/nautilus-file.h:
* libnautilus-extensions/nautilus-file.c:
(nautilus_file_new_from_relative_uri),
(nautilus_file_new_from_info), (nautilus_file_monitor_add),
(nautilus_file_monitor_remove),
(nautilus_file_get_directory_item_count),
(nautilus_file_get_deep_counts), (nautilus_file_check_if_ready),
(nautilus_file_call_when_ready),
(nautilus_file_cancel_call_when_ready):
Put more of the machinery in place to make enough of NautilusFile
virtual so that we can implement the trash case.
* libnautilus-extensions/nautilus-merged-directory.h:
* libnautilus-extensions/nautilus-merged-directory.c:
(merged_add_real_directory),
(nautilus_merged_directory_add_real_directory),
(merged_remove_real_directory),
(nautilus_merged_directory_remove_real_directory),
(remove_all_real_directories),
(nautilus_merged_directory_initialize_class):
Make adding and removing directories use signals so we can share
this list with the NautilusTrashFile.
* libnautilus-extensions/nautilus-trash-file.c:
(add_directory_callback), (remove_directory_callback),
(nautilus_trash_file_initialize), (trash_destroy):
Use a NautilusTrashDirectory object for the list of directories.
* libnautilus-extensions/nautilus-vfs-file.c:
(vfs_file_monitor_add), (vfs_file_monitor_remove),
(vfs_file_call_when_ready), (vfs_file_cancel_call_when_ready),
(vfs_file_check_if_ready), (vfs_file_get_item_count),
(vfs_file_get_deep_counts), (nautilus_vfs_file_initialize_class):
Move the guts of these functions into the "VFS" subclass.
Other stuff:
* libnautilus-extensions/nautilus-trash-directory.c:
(find_directory_start), (find_directory_end),
(find_directory_callback), (add_volume), (remove_trash_volume):
Fix bug in the recently-added timed-wait, to handle the case where
the call is cancelled as well as the case where it succeeds or
fails.
* src/file-manager/fm-directory-view.c:
(zoomable_set_zoom_level_callback): Formatting tweak.
* src/nautilus-main.c: (main): Fix the FIXME.
2001-01-15 Ian McKellar <ian@eazel.com>
* components/services/inventory-view/nautilus-inventory-config-page
.c: (nautilus_inventory_config_page_initialize):
Retreive the previously assigned machine name (if one exists).
Retreive the previously set "warn before upload" setting.
* components/services/inventory/eazel-inventory-client.c: (main):
Added default values so that this actually works.
* components/services/inventory/eazel-inventory-service.c:
(impl_Trilobite_Eazel_Inventory__set_machine_name),
(impl_Trilobite_Eazel_Inventory_upload):
Added some temporary debugging code, and the beginnings of better
error checking/reporting.
Removed hardcoded filesystem paths.
* components/services/inventory/eazel-inventory-utils.h:
* components/services/inventory/eazel-inventory-utils.c:
(eazel_gather_inventory), (eazel_inventory_local_path):
Removed hardcoded filesystem paths.
2001-01-15 Gene Z. Ragan <gzr@eazel.com>
Fixed bug 5533, Need good dialog text for failed
replace of special desktop icons.
* libnautilus-extensions/nautilus-file-operations.c:
(handle_transfer_overwrite):
2001-01-15 J Shane Culpepper <pepper@eazel.com>
reviewed by: Michael Engber <engber@eazel.com>
* src/nautilus-application.c: (nautilus_application_startup):
* src/nautilus-application.h:
* src/nautilus-first-time-druid.c: (druid_finished):
* src/nautilus-main.c: (main):
Fix for bug #1555. There is already an error dialog but there
was an infinite loop problem hiding it. If the first time druid
failed to create .nautilus, etc it would just run over and over
again.
2001-01-15 Gene Z. Ragan <gzr@eazel.com>
Fixed bug 5635, RPM view crashed if click "Install"
after unmounting volume containing RPM
Fixed bug 5636, Unmounting a volume doesn't close
it's associated windows.
* src/nautilus-application.c: (nautilus_application_initialize),
(volume_mounted_callback), (volume_unmounted_callback):
Connect to volume monitor signals. When a volume is unmounted,
examine open window list and close any windows that originate
from the volume being unmounted.
Add code to mount audio cds on desktop. It is all
ifdefed out right now.
* src/file-manager/fm-desktop-icon-view.c: (create_mount_link),
(update_disks_menu):
* libnautilus-extensions/nautilus-volume-monitor.c:
(nautilus_volume_monitor_volume_is_removable),
(nautilus_volume_monitor_get_removable_volumes),
(nautilus_volume_monitor_get_target_uri),
(mount_volume_get_cdda_name), (mount_volume_activate_cdda),
(mount_volume_get_name), (mount_volume_activate),
(get_current_mount_list), (mount_volumes_check_status),
(mount_volume_cdda_add), (mount_volume_add_filesystem),
(open_cdda_device), (locate_audio_cd):
* libnautilus-extensions/nautilus-volume-monitor.h:
2001-01-14 J Shane Culpepper <pepper@eazel.com>
* src/nautilus-view-frame.c: (attach_client):
Upped the timeout from 10 seconds to 12 seconds to be paranoid on
really slow machines. I think this is really generous for bug #4757.
In an attempt to reproduce the crash I started a build of mozilla
and gcc "emulate" a slow machine since I don't have one. Adding
additional comments to bugzilla bug #4757.
2001-01-13 Jim Garrison <garrison@users.sourceforge.net>
* nautilus.spec.in: package "extras" no longer depends on mpg123
2001-01-13 Gene Z. Ragan <gzr@eazel.com>
Fixed bug 5414, Don't create a link for launchers dragged onto desktop
that require a terminal
* src/file-manager/fm-desktop-icon-view.c: (create_link_callback),
(icon_view_create_nautilus_links):
Display a simple dialog telling user that we don't support htis feature yet.
2001-01-13 Andy Hertzfeld <andy@eazel.com>
* libnautilus-extensions/nautilus-icon-canvas-item.c: (hit_test):
fixed bug 4731, expanding folders cause oscillation, by hit-testing
to the bounding box instead of the pixmap when an icon is highlighted
for dropping.
2001-01-12 Ramiro Estrugo <ramiro@eazel.com>
reviewed by: Arik Devens <arik@gnome.org>
* components/music/nautilus-music-view.c:
(music_view_set_selected_song_title), (reset_playtime),
(play_status_display), (slider_moved_callback),
(add_play_controls):
Fix bug 5617. Playtime in music view keeps growing forever.
2001-01-12 John Sullivan <sullivan@eazel.com>
reviewed by: Rebecca Schulman <rebecka@eazel.com>
Fixed bug 5437 (date column is too wide for default nautilus width)
* src/file-manager/fm-list-view.c: (real_get_column_specification):
Tweaked the default column widths so they're more balanced in the
default window width. The tradeoff is that you lose the date column
more quickly if you resize the window thinner (but of course the
user can stretch the columns to get it back). The column widths
in the search results view already look decent, for slightly
mysterious historical reasons.
2001-01-12 Michael Engber <engber@eazel.com>
reviewed by: Gene Z. Ragan
* libnautilus-extensions/nautilus-icon-canvas-item.c:
(draw_stretch_handles_aa), (draw_label_text_aa),
(nautilus_icon_canvas_item_render):
Removed last vestiges of affine/libart code which was
slowing up icon drawing - bug 5381.
2001-01-12 Ramiro Estrugo <ramiro@eazel.com>
* components/services/install/nautilus-view/nautilus-service-install-view.c:
(nautilus_service_install_downloading):
I meant to actually remove the code rather than comment it out.
2001-01-12 Ramiro Estrugo <ramiro@eazel.com>
reviewed by: Arik Devens <arik@gnome.org>
* libnautilus-extensions/nautilus-label.c:
(nautilus_label_expose_event),
(nautilus_label_set_background_mode), (nautilus_label_set_text),
(nautilus_label_get_text):
* libnautilus-extensions/nautilus-label.h:
Change the get_text() prototype to use a const object. Add a
workaround for bug 5608 while I debug the problem.
reviewed by: Robey Pointer <robey@eazel.com>
* components/services/install/nautilus-view/nautilus-service-install-view.c:
(nautilus_service_install_downloading):
Remove queue_resize() workarounds for improperly displaying
labels. I checked in a workaround in NautilusLabel instead.
2001-01-12 Andy Hertzfeld <andy@eazel.com>
fixed bug 5198, removing an active sidebar panel messes up the
remaining ones . I had already fixed this but missed the case
when multiple windows were open. Fixed by adding a sidebar call to
close the active panel if it matches a passed-in id, and used that in
nautilus window to close the panel if necessary before destroying it.
* src/nautilus-sidebar.c:
(nautilus_sidebar_hide_active_panel_if_matches),
(toggle_sidebar_panel):
added routine to close the active panel if it matches a passed-in
id.
* src/nautilus-sidebar.h:
added above mentioned routine
* src/nautilus-window-manage-views.c: (handle_view_failure),
(nautilus_window_set_sidebar_panels):
close the active panel if necessary before destroying it.
2001-01-12 John Sullivan <sullivan@eazel.com>
Fixed the corner of bug 3405 that valiant bug verifier Brett
discovered while verifying. Yay for bug verification!
* src/file-manager/fm-icon-view.c: (switch_to_manual_layout):
I had neglected to remove an extra call to
nautilus_icon_container_reset_scroll_region here. It's already
handled one level lower, where the empty directory case is
taken into account.
2001-01-12 John Sullivan <sullivan@eazel.com>
reviewed by: Michael Engber <engber@eazel.com>
Fixed bug 2207 (Search needs to gracefully handle too
many items found)
* libnautilus-extensions/nautilus-directory-async.c:
(directory_load_done): Don't treat GNOME_VFS_OK as an
error case here. This was happening when the file limit
was reached, and the resulting propogated error was making
it to the search list view code, which was putting up
an error dialog saying no error had occurred.
* libnautilus-extensions/nautilus-directory.h:
Added FIXME with bug number for new bug 5603, which complains
that the file list limit isn't as hard as it claims.
* src/file-manager/fm-directory-view.h:
* src/file-manager/fm-directory-view.c:
(fm_directory_view_initialize_class),
(fm_directory_view_file_limit_reached), (real_file_limit_reached),
(check_for_directory_hard_limit): Broke out the code that handles
the UI when the directory contains too many files such that
subclasses can override the behavior.
(fm_directory_view_get_containing_window): Renamed from
"get_containing_window" and made public so subclasses don't have
to reimplent.
(fm_directory_view_confirm_multiple_windows),
(fm_directory_view_launch_application), (choose_program),
(fm_directory_view_confirm_deletion), (confirm_delete_from_trash),
(report_broken_symbolic_link), (fm_directory_view_activate_file):
Updated for function name change.
* src/file-manager/fm-search-list-view.c:
(load_error_callback): Marked strings for localization; reworded to
avoid use of "directory".
(fm_search_list_view_initialize_class), (real_file_limit_reached):
Put up dialog that's been worded specifically for search results
when too many items are found.
2001-01-12 Ramiro Estrugo <ramiro@eazel.com>
* test/.cvsignore:
* test/Makefile.am:
* test/test-nautilus-label-offset.c: (main):
* test/test.h:
Add a test for debugging bug 5608.
2001-01-12 Zbigniew Chyla <cyba@gnome.pl>
* libnautilus-extensions/nautilus-gtk-macros.h:
Define empty NAUTILUS_ASSIGN_MUST_OVERRIDE_SIGNAL macro if
G_DISABLE_ASSERT is defined.
2001-01-11 Robey Pointer <robey@eazel.com>
* components/services/install/lib/eazel-install-logic.c:
(eazel_install_start_transaction):
Reverse the package list just before installing, so that the
install view gets info on toplevel packages before their
dependencies (this keeps the user from being bored, since they'll
see the package detailed info on toplevel packages while the
others are installing).
* components/services/install/lib/eazel-install-metadata.c:
(init_default_install_configuration):
* components/services/install/lib/eazel-install-object.c:
(eazel_install_uninstall_packages):
Remove last vestigal uses of a literal "/var" path.
* components/services/install/nautilus-view/nautilus-service-instal
l-view.c: (install_message_new), (generate_install_form),
(current_progress_bar_complete),
(nautilus_service_install_downloading),
(previous_install_finished), (nautilus_service_install_installing),
(nautilus_service_install_done):
* components/services/install/nautilus-view/nautilus-service-instal
l-view.h:
Finish Arlo'ification of the install view: Pin the message box at
a specific height, clean up lots of nastiness caused by the new
font system, and fix up the text displayed per-package when the
package is done being installed. Also, fix a bug that caused a
cancelled install to report that it was successful.
* components/services/nautilus-dependent-shared/eazel-services-head
er.c: (eazel_services_header_middle_new):
Change positioning of the middle header so that it doesn't cause
mondo amounts of empty space to appear beneath it. (Not sure why;
GTK magic.)
2001-01-11 John Harper <jsh@eazel.com>
reviewed by: Pavel Cisler <pavel@eazel.com>
Fixed bug 5589 (crash when dragging from list view), that I'd
introduced when making list view icons anti-aliased
* libnautilus-extensions/nautilus-list.h,
libnautilus-extensions/nautilus-list.c
(nautilus_list_get_pixbuf): new function, returns the GdkPixbuf
stored in a cell, or a null pointer if there isn't one
* src/file-manager/fm-list-view.c (fm_list_get_drag_pixmap):
use nautilus_list_get_pixbuf to fetch the GdkPixbuf from the
row, then gdk_pixbuf_render_pixmap_and_mask to turn it into the
required format (instead of accessing the NautilusClist widget
directly, assuming that a Pixmap is stored in the cell)
2001-01-12 Rebecca Schulman <rebecka@eazel.com>
* src/nautilus-complex-search-bar.c:
(nautilus_complex_search_bar_get_location):
Change "index-only" to "index-if-available"
in search uris, to take advantage of the new
option in medusa to perform a slow search
only if an index is unavailable
2001-01-11 John Sullivan <sullivan@eazel.com>
reviewed by: Pavel Cisler <pavel@eazel.com>
Fixed bug 2068 (Dragging icons adjusts scroll area in a way
that causes immediate scrolling)
Fixed bug 3402 (Dragging singleton icon to edge of window in
manual layout mode puts it back at top-left)
Fixed bug 3405 (Dropping an icon into empty manual-layout
window always puts it at top-left)
Fixed bug 3570 (Relayout glitch after removing an item from
a view)
I had earlier started to fix these by trying to save and
restore the scroll position per directory. But this path
turned evil, and I gave up on it. There is still some
partly-implemented work from my start in the evil direction,
which I will remove in my next checkin.
The new fix was to always include the visible white space
when recomputing the icon container's scroll region, unless
a caller has specifically requested not to.
* libnautilus-extensions/nautilus-icon-container.h:
* libnautilus-extensions/nautilus-icon-container.c:
(nautilus_icon_container_reset_scroll_region): New function,
sets a flag in the details struct that's respected in the
next scroll region update.
(reset_scroll_region_if_not_empty): New helper function,
calls _reset_scroll_region unless container is empty.
(nautilus_icon_container_update_scroll_region_include_visible_area):
Removed this function; its equivalent is to call reset_scroll_region
before calling update_scroll_region.
(nautilus_icon_container_update_scroll_region): Now that the
_include_visible_area variant is gone, merged the local function
update_scroll_region with this public one. It decides whether to
include the visible area or not based on the flag set by
_reset_scroll_region (also, it never includes the visible area
if the container is empty).
(nautilus_icon_container_set_auto_layout): Reset the scroll region
when changing the auto_layout state.
(nautilus_icon_container_sort): reset the scroll region before
sorting.
* libnautilus-extensions/nautilus-icon-dnd.c: (handle_local_move):
Call nautilus_icon_container_update_scroll_region instead of
_update_scroll_region_include_visible_area, which no longer exists.
* libnautilus-extensions/nautilus-icon-private.h: Store flag for
resetting scroll region in details; eliminate prototype for
nautilus_icon_container_update_scroll_region_include_visible_area.
* src/file-manager/fm-directory-view.h:
* src/file-manager/fm-directory-view.c:
(fm_directory_view_initialize_class), (done_loading),
(fm_directory_view_begin_loading), (fm_directory_view_end_loading):
Added end_loading signal that's sent when a directory is finished
loading, parallel to existing begin_loading signal.
* src/file-manager/fm-icon-view.c:
(fm_icon_view_add_file): Reset the scroll region for the first
icon added when loading a directory.
(fm_icon_view_begin_loading), (fm_icon_view_end_loading):
Remember that we're loading, so fm_icon_view_add_file can test correctly.
(set_sort_criterion_by_id): Bail out early if state hasn't changed.
(switch_to_manual_layout): Bail out early if state hasn't changed.
Also, reset scroll region before switching to manual layout.
(fm_icon_view_initialize_class): Attach fm_icon_view_end_loading to
virtual function slot.
2001-01-11 Ramiro Estrugo <ramiro@eazel.com>
* src/nautilus-property-browser.c: (make_category_link):
Add a fixme for a problem i just spotted.
2001-01-11 Robin * Slomkowski <rslomkow@eazel.com>
* test/Makefile.am: added test/test.h to EXTRA_DIST
2001-01-11 Ramiro Estrugo <ramiro@eazel.com>
reviewed by: Mike Fleming <mfleming@eazel.com>
* libnautilus-extensions/nautilus-art-extensions.c:
(nautilus_art_irect_align):
* libnautilus-extensions/nautilus-art-extensions.h:
New function to align a rectangle within another.
* libnautilus-extensions/nautilus-image.c:
(image_get_pixbuf_bounds):
* libnautilus-extensions/nautilus-label.c: (label_get_text_bounds):
Share more code between these two widgets by using a common
alignment routine.
2001-01-11 Michael Meeks <michael@helixcode.com>
* components/adapter/nautilus-adapter-embeddable-embed-strategy.c
(nautilus_adapter_embeddable_embed_strategy_new): remove redundant
bonobo_item_container_add.
2001-01-11 Andy Hertzfeld <andy@eazel>
* src/nautilus-property-browser.c: (make_category_link):
make the category links use nautilus-image for anti-aliased
graphics like we intended, now that Ramiro has fixed the
background problems.
* icons/eazel/Back.png
* icons/eazel/Forward.png
* icons/eazel/Home.png
* icons/eazel/Refresh.png
* icons/eazel/Search.png
* icons/eazel/SearchWeb.png
* icons/eazel/Services.png
* icons/eazel/Stop.png
* icons/eazel/Up.png
newer toolbar buttons from Susan
2001-01-11 Ramiro Estrugo <ramiro@eazel.com>
* src/nautilus-about.c: (nautilus_about_draw_info),
(nautilus_about_update_authors):
Fix bug 5056 - hard coded fonts in About dialog.
2001-01-11 Ramiro Estrugo <ramiro@eazel.com>
* libnautilus-extensions/nautilus-preferences.c:
(preferences_hash_node_check_changes_func):
Yank FIXME for bug 1273 which no longer exists.
2001-01-11 Ramiro Estrugo <ramiro@eazel.com>
* applets/launcher/nautilus-launcher-applet.c: (image_leave_event),
(set_is_launching), (image_button_press_event),
(image_button_release_event), (main):
Fix imminent build bustage. Updates for NautilusImage api changes.
2001-01-11 Robey Pointer <robey@eazel.com>
* components/services/install/lib/eazel-install-corba-callback.c:
(eazel_install_callback_initialize), (eazel_install_callback_new):
Turn g_error to g_warning in the EazelInstallCallback initializer,
so that it doesn't kill off the view when the install service
isn't around. Instead, set some fields to NULL and return
normally. The *_new call then returns NULL on failure.
* components/services/install/nautilus-view/nautilus-service-instal
l-view.c: (nautilus_service_install_installing),
(nautilus_service_install_view_update_from_uri):
Notice if the eazel_install_callback_new call returns NULL, and
gracefully handle it by ceasing operations and popping up a dialog
about the failure. This solves the "don't crash if the install
service is missing" bug.
* components/services/install/lib/eazel-install-object.c:
(eazel_install_add_repository):
* components/services/install/lib/eazel-install-private.h:
* components/services/install/lib/eazel-install-protocols.c:
(my_copy_file), (eazel_install_fetch_file):
* components/services/install/lib/eazel-install-public.h:
* nautilus-installer/src/installer.c: (get_candidate_dirs),
(search_for_local_cds), (eazel_installer_initialize):
* nautilus-installer/src/main.c:
Retrofit the --cache-dir option and code to automatically add
mounted CD packages to the repository, from the PR3 installer
branch.
* nautilus-installer/src/Makefile:
Help me, Obi-wan, you're my only hope.
2001-01-11 Ramiro Estrugo <ramiro@eazel.com>
reviewed by: Pavel Cisler <pavel@eazel.com>
Fix bugs 4711, 2322, 3778, 4989, 5044, 5166, 5408, 4418, 3779 (parts),
5051, 2783 and maybe other relating to (ab)use of fonts,
backgrounds and other sacred attrbiutes of Gtk themes.
* components/hardware/nautilus-hardware-view.c: (setup_form_title),
(setup_overview_form), (setup_CPU_form), (setup_RAM_form),
(setup_IDE_form):
Fix hard coded fonts.
* components/music/nautilus-music-view.c:
(nautilus_music_view_initialize),
(music_view_set_selected_song_title), (reset_playtime),
(play_status_display), (slider_moved_callback),
(add_play_controls):
Fix hard coded fonts.
* components/rpmview/nautilus-rpm-verify-window.c:
(nautilus_rpm_verify_window_initialize):
Fix hard coded fonts.
* components/rpmview/nautilus-rpm-view.c:
(nautilus_rpm_view_initialize):
* components/services/install/nautilus-view/nautilus-service-instal
l-view.c: (horizontal_line_new), (install_message_new),
(generate_install_form),
(nautilus_service_install_view_initialize),
(current_progress_bar_complete),
(nautilus_service_install_installing):
Fix hard coded fonts.
* components/services/login/nautilus-view/nautilus-change-password-
view.c: (generate_change_password_form), (authn_succeeded),
(authn_failed), (change_password_button_cb),
(nautilus_change_password_view_initialize):
Fix hard coded fonts. Cleanup header inclusion a bit.
* components/services/nautilus-dependent-shared/Makefile.am:
Retire some crufty code.
* components/services/nautilus-dependent-shared/eazel-services-exte
nsions.c: (eazel_services_image_new),
(eazel_services_image_new_from_uri):, (eazel_services_label_new):
Update for label, image and hard coded font changes.
* components/services/nautilus-dependent-shared/eazel-services-exte
nsions.h:
Make the colors opaque. Remove a bunch of hard coded font stuff.
Also remove a bunch of hard coded offsets. We use alignments and
paddings instead.
* components/services/nautilus-dependent-shared/eazel-services-foot
er.c: (label_enter_event), (label_leave_event),
(image_enter_event), (footer_item_new),
(eazel_services_footer_update):
Update for label, image and hard coded font changes.
* components/services/nautilus-dependent-shared/eazel-services-head
er.c: (eazel_services_header_title_new),
(eazel_services_header_middle_new):
* components/services/nautilus-dependent-shared/shared-service-util
ities.c:
* components/services/nautilus-dependent-shared/shared-service-util
ities.h:
* components/services/nautilus-dependent-shared/shared-service-widg
ets.c:
* components/services/nautilus-dependent-shared/shared-service-widg
ets.h:
* components/services/summary/nautilus-view/nautilus-summary-callba
cks.c:
* components/services/summary/nautilus-view/nautilus-summary-dialog
s.c: (generate_login_dialog):
* components/services/summary/nautilus-view/nautilus-summary-footer
.c:
* components/services/summary/nautilus-view/nautilus-summary-menu-i
tems.c:
* components/services/summary/nautilus-view/nautilus-summary-view-p
rivate.h:
* components/services/summary/nautilus-view/nautilus-summary-view.c
: (generate_summary_form), (generate_service_entry_row),
(generate_eazel_news_entry_row), (generate_update_news_entry_row):
Update for label, image and hard coded font changes.
* libnautilus-extensions/Makefile.am:
Add new smooth/label/image widget stuff. Retire buffered widget.
* libnautilus-extensions/nautilus-art-extensions.c:
(nautilus_art_irect_get_width), (nautilus_art_irect_get_height):
* libnautilus-extensions/nautilus-art-extensions.h:
Two new very simple functions to get the width/height of an
ArtIRect.
* libnautilus-extensions/nautilus-art-gtk-extensions.c:
(nautilus_irect_gtk_widget_get_frame):
* libnautilus-extensions/nautilus-art-gtk-extensions.h:
New simple function to get the dimensions of a widget as an
ArtIRect frame.
* libnautilus-extensions/nautilus-buffered-widget.c:
* libnautilus-extensions/nautilus-buffered-widget.h:
Retire. We dont use this no more.
* libnautilus-extensions/nautilus-customization-data.c:
(nautilus_customization_data_get_next_element_for_display):
Update for image and hard coded font changes.
* libnautilus-extensions/nautilus-debug-drawing.c:
(debug_pixbuf_viewer_initialize_class),
(debug_pixbuf_viewer_initialize), (debug_pixbuf_viewer_destroy),
(debug_pixbuf_viewer_size_request),
(debug_pixbuf_viewer_expose_event),
(debug_pixbuf_viewer_set_pixbuf),
(nautilus_debug_draw_rectangle_and_cross), (destroy_debug_window),
(nautilus_debug_show_pixbuf):
* libnautilus-extensions/nautilus-debug-drawing.h:
Back to using a widget to display the debug pixbuf. But since we
cant use NautilusImage (because we want to use this debug stuff to
debug NautilusImage itselft) we need something else. Thus a new
private and simple widget to display the debug pixbuf.
* libnautilus-extensions/nautilus-gdk-pixbuf-extensions.c:
(nautilus_gdk_pixbuf_draw_to_drawable),
(nautilus_gdk_pixbuf_draw_to_pixbuf_alpha): Fix a very dumb typo.
(draw_tile_to_pixbuf_callback),
(nautilus_gdk_pixbuf_draw_to_pixbuf_tiled),
(nautilus_gdk_pixbuf_draw_to_drawable_tiled),
(nautilus_gdk_pixbuf_get_from_window_safe):
Rename opacity macros to FULLY_OPAQUE and FULLY_TRANSPARENT for
clarity.
* libnautilus-extensions/nautilus-gdk-pixbuf-extensions.h:
Rename opacity macros to FULLY_OPAQUE and FULLY_TRANSPARENT for
clarity.
* libnautilus-extensions/nautilus-icon-factory.c: (embed_text):
Update opacity macros. Tiny update for change in font constructor.
* libnautilus-extensions/nautilus-image-with-background.h:
* libnautilus-extensions/nautilus-image-with-background.c:
(find_background_ancestor), (draw_background_callback),
(nautilus_image_new_with_background):
Create a NautilusImage that uses NautilusBackground to
draw the background. We put this in a separate file to avoid the
ugly dependency chain in NautilusBackground so that NautilusImage
can be used by standalone components in the future.
* libnautilus-extensions/nautilus-image.h:
* libnautilus-extensions/nautilus-image.c:
(nautilus_image_initialize_class), (nautilus_image_initialize),
(nautilus_image_destroy), (nautilus_image_set_arg),
(nautilus_image_get_arg), (nautilus_image_size_request),
(image_paint_pixbuf_callback), (image_composite_pixbuf_callback),
(nautilus_image_expose_event),
(nautilus_image_set_is_smooth_signal), (image_get_pixbuf_frame),
(image_get_pixbuf_bounds), (image_get_tile_frame),
(nautilus_image_new), (nautilus_image_set_is_smooth),
(nautilus_image_get_is_smooth), (nautilus_image_set_tile_pixbuf),
(nautilus_image_get_tile_pixbuf), (nautilus_image_set_pixbuf),
(nautilus_image_set_pixbuf_from_file_name),
(nautilus_image_get_pixbuf), (nautilus_image_set_pixbuf_opacity),
(nautilus_image_get_pixbuf_opacity),
(nautilus_image_set_tile_opacity),
(nautilus_image_get_tile_opacity), (nautilus_image_set_tile_width),
(nautilus_image_get_tile_width), (nautilus_image_set_tile_height),
(nautilus_image_get_tile_height),
(nautilus_image_set_tile_mode_vertical),
(nautilus_image_get_tile_mode_vertical),
(nautilus_image_set_tile_mode_horizontal),
(nautilus_image_get_tile_mode_horizontal),
(nautilus_image_set_tile_pixbuf_from_file_name),
(nautilus_image_set_background_mode),
(nautilus_image_get_background_mode),
(nautilus_image_set_solid_background_color),
(nautilus_image_get_solid_background_color),
(nautilus_image_new_solid):
Fixed many problems. Properly handles rendering
on top of arbitrary Gtk backgrounds. Does not allocate a buffer
the size of the widget anymore. All rendering occurs on exposure
events. Honrts the the GtkMisc superclass attrbutes for alignment
and padding. The widget is a lot simpler now.
* libnautilus-extensions/nautilus-label-with-background.h:
* libnautilus-extensions/nautilus-label-with-background.c:
(find_background_ancestor), (draw_background_callback),
(nautilus_label_new_with_background):
Create a NautilusLabel that uses NautilusBackground to
draw the background. We put this in a separate file to avoid the
ugly dependency chain in NautilusBackground so that NautilusLabel
can be used by standalone components in the future.
* 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_request),
(label_paint_pixbuf_callback), (label_composite_pixbuf_callback),
(nautilus_label_expose_event),
(nautilus_label_set_is_smooth_signal), (label_draw_text_to_pixbuf),
(label_get_default_line_wrap_width), (label_get_text_frame),
(label_get_text_bounds), (label_get_tile_frame), (label_peek_text),
(label_get_empty_line_height),
(label_get_total_text_and_line_offset_height),
(label_line_geometries_clear), (label_line_geometries_recompute),
(nautilus_label_new), (nautilus_label_set_smooth_font),
(nautilus_label_get_smooth_font),
(nautilus_label_set_smooth_font_size),
(nautilus_label_get_smooth_font_size),
(nautilus_label_set_is_smooth), (nautilus_label_get_is_smooth),
(nautilus_label_set_tile_pixbuf), (nautilus_label_get_tile_pixbuf),
(nautilus_label_set_text_opacity),
(nautilus_label_get_text_opacity),
(nautilus_label_set_tile_opacity),
(nautilus_label_get_tile_opacity), (nautilus_label_set_tile_width),
(nautilus_label_get_tile_width), (nautilus_label_set_tile_height),
(nautilus_label_get_tile_height),
(nautilus_label_set_tile_mode_vertical),
(nautilus_label_get_tile_mode_vertical),
(nautilus_label_set_tile_mode_horizontal),
(nautilus_label_get_tile_mode_horizontal),
(nautilus_label_set_tile_pixbuf_from_file_name),
(nautilus_label_set_background_mode),
(nautilus_label_get_background_mode),
(nautilus_label_set_solid_background_color),
(nautilus_label_get_solid_background_color),
(nautilus_label_set_smooth_line_wrap_width),
(nautilus_label_get_smooth_line_wrap_width),
(nautilus_label_set_text_color), (nautilus_label_get_text_color),
(nautilus_label_set_smooth_drop_shadow_offset),
(nautilus_label_get_smooth_drop_shadow_offset),
(nautilus_label_set_smooth_drop_shadow_color),
(nautilus_label_get_smooth_drop_shadow_color),
(nautilus_label_set_justify), (nautilus_label_get_text_justify),
(nautilus_label_set_text), (nautilus_label_get_text),
(nautilus_label_set_wrap), (nautilus_label_get_wrap),
(nautilus_label_new_solid), (nautilus_label_make_bold),
(nautilus_label_make_larger), (nautilus_label_make_smaller):
Fixed many problems. Properly handles rendering
on top of arbitrary Gtk backgrounds. Does not allocate a buffer
the size of the widget anymore. All rendering occurs on exposure
events. Honors the the GtkMisc superclass attrbutes for alignment
and padding. NautilusLabel is now subclassed from GtkLabel
itself. That means that the is_smooth attribute can be toggled to
make both religions happy. Support for making the label larger,
smaller and/or bold based on the current font. Renamed a lot of
methods to make it obvious that they apply only to the smooth case.
Also made the api match GtkLabel more closely. So many functions
got renamed.
* libnautilus-extensions/nautilus-radio-button-group.c:
(nautilus_radio_button_group_set_entry_pixbuf):
Tiny update for changes in the NautilusImage constructor.
* libnautilus-extensions/nautilus-scalable-font-private.h:
New file. Some private font stuff lives here. I need this
changed for a checkin that I will make later regarding improvement
of performance in the icon container smooth fonts.
* libnautilus-extensions/nautilus-scalable-font.h:
* libnautilus-extensions/nautilus-scalable-font.c:
(nautilus_scalable_font_initialize), (font_entry_new),
(font_entry_free), (nautilus_scalable_font_new),
(nautilus_scalable_font_make_bold),
(nautilus_scalable_font_draw_text),
(nautilus_scalable_font_draw_text_lines_with_dimensions),
(nautilus_scalable_font_draw_text_lines),
(nautilus_scalable_font_get_default_font),
(nautilus_scalable_font_get_rsvg_handle),
(nautilus_scalable_font_get_rsvg_context),
(nautilus_text_layout_paint):
Change the constructor to return the type itself instead of
GtkObject. Some minor style tweaks. Keep track of the font entry
that was used to allocate the font. New private functions for
accessing the rsvg context and font handles. Remove an unsed
function.
* libnautilus-extensions/nautilus-smooth-widget.h:
* libnautilus-extensions/nautilus-smooth-widget.c:
(widget_is_smooth), (smooth_widget_set_is_smooth),
(preferences_get_is_smooth), (smooth_widget_destroy),
(smooth_graphics_mode_changed_callback),
(nautilus_smooth_widget_register),
(smooth_widget_get_tile_origin_point),
(smooth_widget_get_gtk_background), (smooth_widget_get_background),
(smooth_widget_paint_tile_opaque),
(smooth_widget_paint_tile_transparent),
(smooth_widget_paint_content_opaque),
(smooth_widget_paint_content_transparent),
(smooth_widget_paint_tile_and_content_transparent),
(nautilus_smooth_widget_paint),
(nautilus_smooth_widget_get_tile_bounds),
(nautilus_smooth_widget_get_preferred_frame):
Shared code between NautilusLabel and NautilusImage. ALl the code
to support smooth toggable widgets lives here. Also, keep track
of smooth widgets and toggle their is_smooth attribute in response
to nautilus smooth graphics preferences changes.
* libnautilus-extensions/nautilus-tabs.c:
(nautilus_tabs_initialize), (draw_tab_label):
Tiny update for change in font constructor. Add a FIXME for a
hard coded font issue im going to fix later. Opacity macro
update.
* src/file-manager/fm-properties-window.c:
(create_image_widget_for_file):
Using the new image widget makes this code a lot simpler. No
longer need to check smooth preference. It all happens
automatically.
* src/file-manager/nautilus-indexing-info.c:
(update_progress_display), (show_reindex_request_information),
(show_index_progress_bar), (show_indexing_info_dialog):
Fix a bunch of hard coded font issues.
* src/nautilus-about.c: (draw_aa_string),
(nautilus_about_draw_info), (nautilus_about_update_authors):
Tiny update for change in font constructor. Opacity macro
update.
* src/nautilus-first-time-druid.c: (label_new_left_justified),
(make_hbox_user_level_radio_button), (set_up_user_level_page),
(set_up_service_signup_page), (set_up_update_page),
(set_up_proxy_config_page), (set_up_update_feedback_page),
(nautilus_first_time_druid_show):
Fix a bunch of hard coded font issues. Also fix the rendering
problems with image usage inside selectable buttons.
* src/nautilus-property-browser.c:
(nautilus_property_browser_initialize),
(set_emblem_image_from_file), (make_property_tile),
(make_properties_from_directories), (add_reset_property),
(make_properties_from_xml_node),
(nautilus_property_browser_update_contents):
Fix hard coded fonts. Update for NautilusImage and NautilusLabel
changes.
* src/nautilus-search-bar-criterion.c:
Remove unused #include.
* src/nautilus-shell.c: (display_caveat):
Fix hard coded fonts.
* src/nautilus-sidebar-tabs.c:
(nautilus_sidebar_tabs_load_theme_data), (draw_one_tab_plain),
(draw_one_tab_themed):
Fix hard coded fonts. Opacity macros update.
* src/nautilus-sidebar-title.c:
(nautilus_sidebar_title_initialize),
(nautilus_sidebar_title_select_text_color), (update_icon),
(update_font), (update_title), (update_more_info), (add_emblem),
(sidebar_title_create_title_label),
(sidebar_title_create_more_info_label),
(smooth_graphics_mode_changed_callback):
Update for NautilusImage and NautilusLabel changes. Made the
widget a lot simpler.
We no longer need to keep track of smooth changes in the sidebar
title. They are taked care automatically by the widgets.
We no longer need to create 2 labels to honor smoothness.
NautilusLabel does it all now.
Removed a set_background() function that already
exists in nautilus-extensions.
* src/nautilus-theme-selector.c:
(nautilus_theme_selector_initialize), (set_help_label),
(exit_remove_mode):
Fix hard coded fonts.
* test/font-test.sh:
Retire. Not needed.
* test/.cvsignore:
* test/Makefile.am:
Add a bunch of tests.
* test/test.h:
* test/test.c:
Put shared test code here.
* test/test-nautilus-font-simple.c:
* test/test-nautilus-font.c:
* test/test-nautilus-image-background.c:
* test/test-nautilus-image-scrolled.c:
* test/test-nautilus-image-simple.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-scrolled.c:
* test/test-nautilus-label-simple.c:
* test/test-nautilus-label-wrapped.c:
* test/test-nautilus-label.c:
* test/test-nautilus-pixbuf-tile.c:
* test/test-nautilus-smooth-graphics.c:
* test/test-nautilus-wrapped-label.c:
Some new tests. Many updates to old label and image tests.
2001-01-11 Robin * Slomkowski <rslomkow@eazel.com>
* components/services/inventory/Makefile.am: added $(IDL) to
EXTRA_DISTS
2001-01-11 Ian McKellar <ian@eazel.om>
* components/services/install/command-line/Makefile.am:
Don't build the inventory test code here as the inventory code has
moved to the inventory component.
* components/services/inventory/eazel-inventory-service-interface.i
dl:
This file was missing from mjs' checkin of the inventory upload code.
2001-01-11 Andy Hertzfeld <andy@eazel.com>
fixed bug 5338, switching to and from "tighter layout" messes up
icon labels, by adding a call to invalidate an item's cached label
size, and making the icon canvas invalidate the items when appropriate.
This also fixes a similar problem when the anti-aliased mode changes.
* libnautilus-extensions/nautilus-icon-canvas-item.c:
(nautilus_icon_canvas_item_initialize),
(nautilus_icon_canvas_item_invalidate_label_size),
(nautilus_icon_canvas_item_set_arg):
renamed internal invalidation routine to make it externally accessible
* libnautilus-extensions/nautilus-icon-canvas-item.h:
added nautilus_icon_canvas_item_invalidate_label_size
* libnautilus-extensions/nautilus-icon-container.c:
(invalidate_label_sizes),
(nautilus_icon_container_set_anti_aliased_mode),
(nautilus_icon_container_set_tighter_layout):
added an invalidate_label_sizes routine and called it when
tighter layout or the anti-aliased mode changes.
2001-01-11 Robin * Slomkowski <rslomkow@eazel.com>
reviewed by: <Josh Barrow <josh@eazel.com>
* components/services/Makefile.am: fixed typo for
variable INSTALL_SERVICES
2001-01-11 Michael Engber <engber@eazel.com>
reviewed by: John Sullivan
* libnautilus-extensions/nautilus-stock-dialogs.c:
(timed_wait_delayed_destroy_dialog_callback), (timed_wait_free),
(timed_wait_cancel_callback), (timed_wait_callback),
(nautilus_timed_wait_start), (nautilus_timed_wait_stop):
* libnautilus-extensions/nautilus-trash-directory.c:
(find_directory_callback), (add_volume):
We now put up a dialog when searching for trash is slow - bug 3990.
Also added a minimum time up to nautilus_timed_wait dialogs
so they don't disappear before the user has a chance to read them.
Also, nautilus_timed_wait_start will now accept NULL for the
cancel_callback, resulting in a dialog without a cancel button.
2001-01-11 Michael Engber <engber@eazel.com>
* configure.in:
Missed configure.in in prior check in.
2001-01-11 Josh Barrow <josh@eazel.com>
* components/services/Makefile.am:
Fixed typo that said, "INSTALLS_SERVICE". Changed it to
"INSTALL_SERVICE"
2001-01-11 Maciej Stachowiak <mjs@eazel.com>
pair programmed with Ian McKellar <ian@eazel.com>
Fix bugs 5100 ("First time dialog" for inventory preferences) and
5099 (Need configuration preferences for inventory control). Ian
and I did a first cut at a component for inventory gathering and
upload, as well as a start on the client-side UI for this.
* components/services/Makefile.am, configure.in: Add
components/services/inventory and
components/services/inventory-view directories to build.
* components/services/install/lib/eazel-inventory-utils.c,
components/services/install/lib/eazel-inventory-utils.h: Move
these files to components/services/inventory.
* components/services/install/lib/Makefile.am: Remove from build
here.
* 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: (main):
* components/services/inventory-view/nautilus-inventory-config-page
.c: (nautilus_inventory_config_page_initialize_class),
(next_button_callback),
(nautilus_inventory_config_page_initialize),
(nautilus_inventory_config_page_new),
(nautilus_inventory_config_page_destroy):
* components/services/inventory-view/nautilus-inventory-config-page
.h:
* components/services/inventory-view/nautilus-inventory-view.c:
(nautilus_inventory_view_initialize_class),
(nautilus_inventory_view_initialize),
(nautilus_inventory_view_destroy),
(inventory_load_location_callback):
* components/services/inventory-view/nautilus-inventory-view.h:
First cut at the inventory view component. Right now it only
provides a config page, over time it may also do inventory
display.
* components/services/inventory/.cvsignore:
* components/services/inventory/Makefile.am:
* components/services/inventory/Trilobite_Service_inventory.oaf.in:
* components/services/inventory/eazel-inventory-client.c:
(gboolean_to_yes_or_no), (main):
* components/services/inventory/eazel-inventory-service.c:
(get_enabled), (impl_Trilobite_Eazel_Inventory__get_enabled),
(impl_Trilobite_Eazel_Inventory__set_enabled),
(impl_Trilobite_Eazel_Inventory__get_machine_name),
(impl_Trilobite_Eazel_Inventory__set_machine_name),
(get_warn_before_upload),
(impl_Trilobite_Eazel_Inventory__get_warn_before_upload),
(impl_Trilobite_Eazel_Inventory__set_warn_before_upload),
(impl_Trilobite_Eazel_Inventory_upload),
(eazel_inventory_service_get_epv),
(eazel_inventory_service_finalize),
(eazel_inventory_service_unref),
(eazel_inventory_service_class_initialize),
(eazel_inventory_service_create_corba_object),
(eazel_inventory_service_initialize),
(eazel_inventory_service_get_type), (eazel_inventory_service_new):
* components/services/inventory/eazel-inventory-service.h:
* components/services/inventory/eazel-inventory-utils.c:
(eazel_inventory_gconf_done), (check_gconf_init),
(eazel_create_configuration_metafile), (eazel_gather_inventory):
* components/services/inventory/main.c:
(eazel_inventory_service_factory_destroy),
(eazel_inventory_service_factory), (main):
First cut at back end inventory gathering and upload
component. Right now it uses libeazelinstall directly, it should
probably be changed to use the install/package system CORBA
component for package info.
2001-01-10 Mike Fleming <mfleming@eazel.com>
* components/services/summary/nautilus-view/nautilus-summary-callba
cks.c: (authn_cb_failed):
Dialog rewording. Commented out the "Login failed" dialog that I had
added. The user keeps getting re-prompted for now.
2001-01-10 Andy Hertzfeld <andy@eazel.com>
* components/text/nautilus-text-view.c:
(nautilus_text_view_initialize), (nautilus_text_view_destroy),
(done_file_read), (file_read_callback), (file_opened_callback),
(nautilus_text_view_update):
fixed bug 3256, loading a huge text file crashes nautilus. Now,
if the file size exceeds a predetermined threshold, currently
set at a megabyte, it truncates it to the threshold amount and
warns the user with an error dialog. As part of this, I made
the text view load files asynchronously and progressively, as
Maciej suggested; however, we won't see the benefit of this
until Pavel checks in some gnome-vfs optimizations he's working
on since currently gnome-vfs doesn't give the main loop much
time to run if it has ongoing activity.
* components/text/services/Makefile.am:
* components/text/services/french_to_english.xml:
at Bud's request, checked in the "frech to english" text service
* src/file-manager/fm-properties-window.c: (create_emblems_page):
removed debug message that I accidentally checked in.
2001-01-10 Gene Z. Ragan <gzr@eazel.com>
reviewed by: Pavel Cisler <pavel@eazel.com>
Fixed bug 5427, Right-click menu for disk should include
a way to unmount it.
* src/file-manager/fm-desktop-icon-view.c:
(unmount_volume_callback), (volume_link_is_selection),
(real_update_menus), (real_merge_menus):
Add a context sensitive menu to Nautilus volume links
which allows the volume it represents to be unmounted.
Only allow this if the volume is removable. Currently
only removable volumes are shown on the desktop.
* src/file-manager/nautilus-desktop-icon-view-ui.xml:
Add command path for new unmount volume command
2001-01-10 Michael Engber <engber@eazel.com>
reviewed by: John Harper
* configure.in:
* libnautilus-extensions/nautilus-background-canvas-group.c:
(nautilus_background_canvas_group_initialize_common),
(nautilus_background_canvas_group_initialize),
(nautilus_background_canvas_group_supplant_root_class):
* libnautilus-extensions/nautilus-background-canvas-group.h:
* libnautilus-extensions/nautilus-background.c:
(nautilus_background_set_up_canvas):
Turned on dithering for canvases (aa mode). We no longer expose
NautilusBackgroundCanvasGroupClass, in nautilus-background-canvas-
group.h. Now we just provide an API to do the class change.
2001-01-10 Pavel Cisler <pavel@eazel.com>
* components/services/install/nautilus-view/nautilus-service-install-view.c:
(install_message_new):
Fix a warning and the build.
2001-01-09 Mike Fleming <mfleming@eazel.com>
Added dialogs as specified in:
3871
Logging in to account that has not been activated
should produce activation instructions
3399
no bad passwd lockout dialog in Nautilus
Also, changed the way the "max login retries" condition was handled
(it previously wasn't)
* components/services/summary/nautilus-view/nautilus-summary-callba
cks.c: (authn_cb_failed), (login_button_cb):
* components/services/summary/nautilus-view/nautilus-summary-dialog
s.c: (nautilus_summary_login_failure_dialog),
(generate_login_dialog):
* components/services/summary/nautilus-view/nautilus-summary-dialog
s.h:
* components/services/summary/nautilus-view/nautilus-summary-view-p
rivate.h:
2001-01-09 Robey Pointer <robey@eazel.com>
* components/services/install/nautilus-view/Nautilus_View_install.o
af.in:
Give the install view a reasonable name that won't make people's
heads explode.
* components/services/install/nautilus-view/nautilus-service-instal
l-view.c: (line_expose), (horizontal_line_new),
(install_message_destroy), (install_message_new),
(generate_install_form), (show_overall_feedback),
(nautilus_service_install_view_initialize), (deps_destroy_foreach),
(nautilus_service_install_view_destroy),
(nautilus_service_install_view_get_nautilus_view),
(nautilus_install_parse_uri), (current_progress_bar_complete),
(nautilus_service_install_downloading),
(nautilus_service_install_dependency_check),
(nautilus_service_install_download_failed),
(nautilus_service_install_installing),
(nautilus_service_install_failed),
(nautilus_service_install_view_update_from_uri),
(nautilus_service_install_view_load_uri),
(service_install_stop_loading_callback):
* components/services/install/nautilus-view/nautilus-service-instal
l-view.h:
* components/services/nautilus-dependent-shared/eazel-services-exte
nsions.h:
Many changes to make the install view prettier and less annoying
-- mostly Arlo'ified now, with some tweaking left to do.
2001-01-09 John Harper <jsh@eazel.com>
reviewed by: Pavel Cisler <pavel@eazel.com>
Work to make icons in list view draw anti-aliased in respect to
the background. Fixes bug 1659
* cut-n-paste-code/widgets/nautilusclist/nautilusclist.h
(NautilusCellType): added new type NAUTILUS_CELL_PIXBUF at end
of this enum
* libnautilus-extensions/nautilus-list.c (NautilusListDetails):
added fields for RGB values of all background colors
(nautilus_gdk_set_shifted_foreground_gc_color): return the
shifted RGB value
(nautilus_list_setup_style_colors): save RGB values of all
background colors into the details structure
(get_cell_style): added another parameter: `bg_rgb', when a non
null pointer it gets set to the RGB value of the chosen
background color
(draw_cell_pixbuf): added another parameter: `bg_rgb'.
Composite the pixbuf onto a square of this color (using the
full 8-bit alpha), then blit the entire square onto the
drawable
(draw_cell): added cases to handle NAUTILUS_CELL_PIXBUF type.
Also pass the extra arg to draw_cell_pixbuf in
NAUTILUS_CELL_PIXBUF_LIST case
(nautilus_list_set_cell_contents): handle NAUTILUS_CELL_PIXBUF
case
(nautilus_list_set_pixbuf_list): broke out contents into the
new function set_list_cell, parameterized by the
NautilusCellType in addition
(nautilus_list_set_pixbuf): new function, calls set_list_cell
* src/file-manager/fm-list-view.c (install_row_images): get the
file's icon as a pixbuf, not a pixmap/mask pair. Then use
nautilus_list_set_pixbuf to install it in the list cell
2001-01-09 Gene Z. Ragan <gzr@eazel.com>
reviewed by: Mike Engber <engber@eazel.com>
Fixed bug 5220, Default desktop icon overwritten by dragging
same-named file to Desktop
* libnautilus-extensions/nautilus-file-operations.c:
(handle_transfer_overwrite):
We now check for special link files being overwritten and
notify the user that such an action is not allowed.
2001-01-08 Andy Hertzfeld <andy@eazel.com>
* libnautilus-extensions/nautilus-customization-data.c:
(nautilus_customization_data_destroy):
fixed recently introduced memory leak by calling
nautilus_g_hash_table_destroy_deep instead of
g_hash_table_destroy
* src/nautilus-sidebar-title.c: (update_icon):
fixed problem in the sidebar where web pages were getting the
generic icon instead of the web icon. Fixed by adding
"http:" to the protocols the sidebar special-cases.
2001-01-08 Darin Adler <darin@eazel.com>
reviewed by: John Sullivan <sullivan@eazel.com>
A cut at an ability to build without Medusa, starting with a patch
that Eric Fischer wrote. This change is not fully tested.
Fixed bug 5513 ("nautilus --help" displays "Help options" twice).
* acconfig.h: Add HAVE_MEDUSA.
* configure.in: Add code to detect HAVE_MEDUSA.
* libnautilus-extensions/nautilus-customization-data.c:
(nautilus_customization_data_destroy), (load_name_map_hash_table):
Added a FIXME.
* libnautilus-extensions/Makefile.am:
* libnautilus-extensions/nautilus-file.h:
* libnautilus-extensions/nautilus-trash-file.h:
* libnautilus-extensions/nautilus-trash-file.c:
(nautilus_trash_file_initialize), (trash_destroy),
(nautilus_trash_file_initialize_class):
* libnautilus-extensions/nautilus-vfs-file.h:
* libnautilus-extensions/nautilus-vfs-file.c:
(nautilus_vfs_file_initialize), (vfs_destroy),
(nautilus_vfs_file_initialize_class):
Initial cut at breaking out the special trash version of
NautilusFile. Sadly we need this as well as
NautilusTrashDirectory.
* src/file-manager/fm-search-list-view.c:
(load_location_callback): Add _() so things get localized and put
the code to compose the indexing message inside ifdef HAVE_MEDUSA.
* src/file-manager/nautilus-indexing-info.h:
* src/file-manager/nautilus-indexing-info.c:
Put HAVE_MEDUSA ifdefs around most of this file.
(get_text_for_progress_label): Mark string for translation.
(update_progress_display): Remove code to "handle" timeout left
around after dialog is destroyed.
(update_file_index_callback): Change error messages to be more
easily localizable. Use nautilus_error_dialog instead of
gnome_error_dialog.
(timeout_remove_callback): Get rid of the timeout when the object
is destroyed.
(show_index_progress_bar): Connect handler to get rid of the
timeout when the object is destroyed.
(show_indexing_info_dialog): Move code that puts up dialog into a
new function. Also use nautilus_gtk_window_present to put up a
window. Change the NautilusLabel to use line wrapping.
(show_search_service_not_available_dialog): Put this dialog in its
own function so you can use it multiple times.
(nautilus_indexing_info_request_reindex): Put HAVE_MEDUSA around
the content of this function.
(nautilus_indexing_info_get_last_index_time): Put HAVE_MEDUSA
around the function, with a small simple implementation for the
other case.
(nautilus_indexing_info_show_dialog): Put HAVE_MEDUSA around the
function, with a small invocation of the "not available" dialog.
* src/nautilus-main.c: (main): Remove redundant AUTOHELP.
* src/nautilus-search-bar-criterion.c: (make_emblem_value_menu):
Fix emblem_name storage lifetime problem.
* src/file-manager/fm-icon-view.c: Whitespace tweak.
2001-01-08 John Sullivan <sullivan@eazel.com>
reviewed by: Darin Adler <darin@eazel.com>
Some infrastructure for bug 2068 and related bugs.
No actual user-visible changes yet.
* libnautilus-extensions/nautilus-scrolled-window.h:
* libnautilus-extensions/nautilus-scrolled-window.c:
New files, implement a subclass of GtkScrolledWindow
that sends a signal when the scroll position changes.
This was tragically left out of GtkScrolledWindow.
(nautilus_scrolled_window_initialize_class),
(nautilus_scrolled_window_initialize): The usual stuff.
(get_hadjustment), (get_vadjustment): Little helper
functions to avoid repeating some casting.
(adjustment_changed_callback): Callback that emits the
scroll_changed signal when the scroll changes.
(connect_adjustment): Helper function that disconnects
old signals and sets up new ones when the adjustment
objects change.
(real_set_arg): virtual function overridden to connect
up adjustment_changed_callback.
(nautilus_scrolled_window_set_vadjustment),
(nautilus_scrolled_window_set_hadjustment): New functions
that call through to gtk_scrolled_window_xxx and connect
up adjustment_changed_callback.
* libnautilus-extensions/Makefile.am: Add the new
files to the build.
* libnautilus-extensions/nautilus-metadata.h:
#define NAUTILUS_METADATA_KEY_ICON_VIEW_SCROLL_ORIGIN
* src/file-manager/fm-directory-view.h:
* src/file-manager/fm-directory-view.c:
(fm_directory_view_initialize): Make FMDirectoryView inherit
from NautilusScrolledWindow instead of GtkScrolledWindow so
it can hook into the scroll_changed signal.
2001-01-08 Gene Z. Ragan <gzr@eazel.com>
Fixed bug 5507, nautilus crashes when you unmount a drive while a file is
viewed in music viewer
* libnautilus-extensions/nautilus-volume-monitor.c:
(close_error_pipe):
In the case of a failed unmount, I was just assigning a string to memory
that was later being freed, rather than allocating the memory and
copying the string. I now allocate memory and copy the string.
2001-01-08 Eric Fischer <eric@eazel.com>
* configure.in:
Add check for gnome-xml version; insist on version 1.x.
(reviewed by robin@eazel.com)
2001-01-08 Robey Pointer <robey@eazel.com>
* components/services/install/lib/eazel-install-logic2.c:
(is_satisfied), (is_filename_probably_a_directory),
(no_two_packages_with_same_file),
(package_is_upgrading_and_doesnt_need_file),
(check_conflicts_with_other):
Rough drafts for 2 of the functions Eskil left in pseudocode form.
* components/services/install/lib/eazel-install-protocols.c:
(eazel_install_fetch_package):
* components/services/trilobite/libtrilobite/trilobite-core-network
.c: (trilobite_open_uri):
Fix two typos (no code change).
2001-01-08 Robey Pointer <robey@eazel.com>
* components/services/install/nautilus-view/nautilus-service-instal
l-view.c: (nautilus_service_install_preflight_check),
(nautilus_service_install_installing):
Add gnome-vfs and oaf to the list of packages that trigger a
Nautilus restart.
* nautilus-installer/src/Makefile:
* nautilus-installer/src/gtk-hackery.c: (gtk_box_nth):
* nautilus-installer/src/installer.c: (find_old_tmpdir):
* nautilus-installer/src/package-tree.c:
(package_customizer_set_package_list), (table_hbox_nth),
(focus_next), (handle_focus), (jump_to_package_tree_page):
Add mondo code to do keyboard focus management (as well as GTK
will let us) in the package selector.
2001-01-08 Michael Engber <engber@eazel.com>
* libnautilus-extensions/nautilus-background.c:
(nautilus_background_draw),
(nautilus_background_is_too_complex_for_gtk_style),
(nautilus_background_is_dark):
* src/nautilus-sidebar.c: (background_settings_changed_callback),
(nautilus_sidebar_update_appearance):
Draw sidebar gradients dithered to avoid striation - bug 5458.
2001-01-07 Andy Hertzfeld <andy@eazel.com>
fixed bugs 5189, 5190 and 5046, pattern and emblem names
not translated, and upper-casing emblem names is bad for
translation, by introducing a translatable display name
specified in the browser xml file.
* libnautilus-extensions/nautilus-customization-data.c:
(nautilus_customization_data_new),
(nautilus_customization_data_get_next_element_for_display),
(nautilus_customization_data_destroy), (format_name_for_display),
(load_name_map_hash_table):
made it load a display name mapping from the browser xml file into
a hash table when a nautilus customization is created; use the mapping
to return a label with a translated name.
* src/file-manager/fm-properties-window.c: (create_emblems_page):
rewrote the emblem code in the properties window to use
nautilus_customization instead of ad hoc code, so it will use
the translated names.
* src/nautilus-property-browser.c: (get_color_category):
replaced custom xml code with a standard routine from xml_extensions.
* src/nautilus-search-bar-criterion.c: (make_emblem_value_menu):
fixed a memory leak and tweaked the code a bit for translated names.
* data/browser.xml:
added display name mappings for patterns and emblems
2001-01-05 Gene Z. Ragan <gzr@eazel.com>
* components/music/nautilus-music-view.c: (selection_callback),
(value_changed_callback), (nautilus_music_view_load_uri):
Fixed a bug introduced when all widgets are being shown
when a URI is loaded. This includes both the on and off
states of the play and pause controls. Update control
state right after the control are shown to correct this.
* libnautilus-extensions/nautilus-volume-monitor.c:
* libnautilus-extensions/nautilus-volume-monitor.h:
(nautilus_volume_monitor_volume_is_removable):
* src/file-manager/fm-desktop-icon-view.c: (create_mount_link):
More work on detecting is a volume is removable or not.
2001-01-05 Maciej Stachowiak <mjs@eazel.com>
* nautilus.spec.in: Correct names of .oaf files.
2001-01-05 Robin * Slomkowski <rslomkow@eazel.com>
* nautilus.spec.in: removed time service refrences
left the following renamed files for mjs to fix
nautilus-service-install-view.oaf
trilobite-eazel-install-service.oaf
nautilus-change-password-view.oaf
nautilus-summary-view.oaf
nautilus-rpm-view.oaf
2001-01-05 Michael Engber <engber@eazel.com>
* libnautilus-extensions/nautilus-glib-extensions.c:
(nautilus_shell_quote), (nautilus_g_round):
* libnautilus-extensions/nautilus-glib-extensions.h:
Added nautilus_g_round.
* libnautilus-extensions/nautilus-icon-container.c:
(nautilus_icon_container_start_renaming_selected_item):
* libnautilus-extensions/nautilus-icon-text-item.c:
(iti_stop_editing), (layout_text), (iti_edition_accept),
(iti_entry_text_changed_by_clipboard), (iti_start_editing),
(iti_destroy), (recompute_bounding_box), (iti_update), (iti_draw),
(iti_render), (iti_point), (iti_start_selecting),
(iti_stop_selecting), (iti_selection_motion), (iti_ensure_focus),
(iti_event), (iti_bounds), (nautilus_icon_text_item_configure),
(nautilus_icon_text_item_setxy), (nautilus_icon_text_item_select),
(nautilus_icon_text_item_set_text),
(nautilus_icon_text_item_get_type):
* libnautilus-extensions/nautilus-icon-text-item.h:
Overhauled nautilus-icon-text-item to be a more proper canvas
item - mainly fixing it's use of coordinates. Also simplified
its configure api a bit. This fixed bug 4166. Also put in a
workaround to fix bug 3973.
Fri Jan 05 20:28:43 2001 George Lebl <jirka@5z.com>
Darin saw this patch and says it should not destroy the world
if I apply it.
Fixes: 3988
* libnautilus-extensions/nautilus-background.c
(nautilus_background_draw_flat_box): Unset the mask on the bg_gc
from the style, not to leave the gc in a bad state
* libnautilus-extentions/nautilus-list.c (nautilus_list_style_set)
(unref_gcs) (unref_a_gc) (nautilus_list_initialize_class)
(nautilus_list_destroy) (nautilus_gdk_gc_copy)
(nautilus_list_realize) (make_gcs_and_colors)
(nautilus_list_unrealize): Follow the theme by recopying the gcs
after a theme was changed. Also do more sanity setting
when copying the gcs, just to be on the very safe side.
* src/nautilus-theme-selector.c (theme_style_set_callback)
(setup_font_sizes_for_row) (setup_font_sizes_for_all_rows)
(clear_style_for_all_rows) (nautilus_theme_selector_initialize)
(add_theme): Follow the current theme by binding to the style_set
signal and redoing the style stuff so that we don't get garbage
and other fun on changing of gtk theme.
2001-01-05 Robin * Slomkowski <rslomkow@eazel.com>
* components/notes/Makefile.am:
added Nautilus_View_notes.oaf.in
* components/services/login/nautilus-view/Makefile.am:
added Nautilus_View_change-password.oaf.in
* po/POTFILES.in: removed references to
components/services/time/command-line/main.c
components/services/time/nautilus-view/main.c
components/services/time/nautilus-view/trilobite-eazel-time-view.c
components/services/time/service/main.c
components/services/time/service/trilobite-eazel-time-service.c
components/shell/Nautilus_View_shell.oaf.in
2001-01-05 John Sullivan <sullivan@eazel.com>
reviewed by: Darin Adler <darin@eazel.com>
Fixed bug 5410 ("Esc" cancelling of icon stretch doesn't
update menus)
* libnautilus-extensions/nautilus-icon-container.h:
Defined signals icon_stretch_started and icon_stretch_ended.
* libnautilus-extensions/nautilus-icon-container.c:
(nautilus_icon_container_initialize_class): Set up new signals.
(emit_stretch_started), (emit_stretch_ended): New convenience
functions for emitting new signals.
(icon_toggle_selected), (undo_stretching),
(nautilus_icon_container_show_stretch_handles): Emit new signals.
* src/file-manager/fm-icon-view.c:
(create_icon_container): Call fm_directory_view_update_menus
when icon_stretch_begin/end signals are emitted.
(show_stretch_handles_callback),
(unstretch_icons_callback): Remove calls to update menus, since
we'll now do it when we get the stretch-state-changed signals.
2001-01-05 Darin Adler <darin@eazel.com>
* Makefile.am: Fix for wrongly named ChangeLog-200001018.
* components/Makefile.am: Removed obsolete comment.
2001-01-05 Andy Hertzfeld <andy@eazel.com>
* components/music/nautilus-music-view.c:
(nautilus_music_view_initialize), (nautilus_music_view_load_uri):
fixed bug 4045, unfinished widgets during load in music view, by
not showing the widgets until the load is completed.
2001-01-05 Andy Hertzfeld <andy@eazel.com>
* src/nautilus-property-browser.c: (ensure_uri_is_image),
(add_pattern_to_browser):
fixed bug 5265, you shouldn't be able to replace the reset image
in the property browser, by testing for that case and putting up
an error dialog instead.
2001-01-05 Robin * Slomkowski <rslomkow@eazel.com>
* nautilus.spec.in: changed .oafinfo to .oaf
2001-01-05 Gene Z. Ragan <gzr@eazel.com>
My previous change dealing with desktop mounts was a bit too
overzealous. Removable volumes now appear on the desktop
when mounted.
* libnautilus-extensions/nautilus-volume-monitor.c:
(mount_volume_floppy_add), (mount_volume_iso9660_add),
(mount_volume_add_filesystem):
* src/file-manager/fm-desktop-icon-view.c: (create_mount_link):
2001-01-05 Maciej Stachowiak <mjs@eazel.com>
xml-i18n-toolized Nautilus (plus a bit of other cleanup) as part
of resolving bug 2693 (I will consider my work done once I have
also handled Bonobo).
* autogen.sh, configure.in: xml-i18n-toolize
* .cvsignore: ignore xml-i18n scripts
* Makefile.am: distribute xml-i18n-scripts
* components/adapter/Nautilus_ComponentAdapterFactory_std.oaf.in:
Renamed from components/adapter/nautilus-adapter.oafinfo; mark
translatable strings transalatable.
* components/adapter/Makefile.am: Deal w/ oaf file rename, do
merge.
* components/adapter/.cvsignore: Ignore .oaf file.
* components/hardware/.cvsignore, components/hardware/Makefile.am,
components/hardware/Nautilus_View_hardware.oaf.in,
components/hardware/nautilus-hardware-view.oafinfo: Ditto.
* components/history/.cvsignore, components/history/Makefile.am,
components/history/Nautilus_View_history.oaf.in,
components/history/nautilus-history-view.oafinfo: Ditto.
* components/image-viewer/.cvsignore,
components/image-viewer/Makefile.am,
components/image-viewer/Nautilus_View_image.oaf.in,
components/image-viewer/nautilus-image-view.oafinfo: Ditto.
* components/loser/content/.cvsignore,
components/loser/content/Makefile.am,
components/loser/content/Nautilus_View_content-loser.oaf.in,
components/loser/content/nautilus-content-loser.oafinfo: Ditto.
* components/loser/sidebar/.cvsignore,
components/loser/sidebar/Makefile.am,
components/loser/sidebar/Nautilus_View_sidebar-loser.oaf.in,
components/loser/sidebar/nautilus-sidebar-loser.oafinfo: Ditto.
* components/mozilla/.cvsignore, components/mozilla/Makefile.am,
components/mozilla/Nautilus_View_mozilla.oaf.in,
components/mozilla/nautilus-mozilla-content-view.oafinfo: Ditto.
* components/music/.cvsignore, components/music/Makefile.am,
components/music/Nautilus_View_music.oaf.in,
components/music/nautilus-music-view.oafinfo: Ditto.
* components/notes/.cvsignore, components/notes/Makefile.am,
components/notes/Nautilus_View_notes.oaf.in,
components/notes/nautilus-notes.oafinfo: Ditto.
* components/rpmview/.cvsignore, components/rpmview/Makefile.am,
components/rpmview/Nautilus_View_rpm.oaf.in,
components/rpmview/nautilus-rpm-view.oafinfo: Ditto.
* components/sample/.cvsignore, components/sample/Makefile.am,
components/sample/Nautilus_View_sample.oaf.in,
components/sample/nautilus-sample-content-view.oafinfo: Ditto.
* 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/nautilus-service-install-view.oafinfo:
Ditto.
* components/services/install/server/.cvsignore,
components/services/install/server/Makefile.am,
components/services/install/server/Trilobite_Service_install.oaf.in,
components/services/install/server/trilobite-eazel-install-service.oafinfo:
Ditto.
* 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/nautilus-change-password-view.oafinfo:
Ditto.
* components/services/summary/nautilus-view/.cvsignore,
components/services/summary/nautilus-view/Makefile.am,
components/services/summary/nautilus-view/Nautilus_View_services-summary.oaf.in,
components/services/summary/nautilus-view/nautilus-summary-view.oafinfo: Ditto.
* components/services/trilobite/sample/.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/nautilus-sample-service-view.oafinfo:
Ditto.
* 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/trilobite-eazel-sample-service.oafinfo:
Ditto.
* components/text/.cvsignore, components/text/Makefile.am,
components/text/Nautilus_View_text.oaf.in,
components/text/nautilus-text-view.oafinfo: Ditto.
* src/.cvsignore, src/Makefile.am, src/Nautilus_shell.oaf.in,
src/nautilus.oafinfo: Ditto.
* components/tree/.cvsignore, components/tree/Makefile.am,
components/tree/Nautilus_View_tree.oaf.in,
components/tree/nautilus-tree-view.oafinfo.shlib: Ditto, and
removed ability to build tree view as an exe component (no one was
really using it anyway).
* components/tree/nautilus-tree-view.oafinfo.exe: Removed.
* components/help/.cvsignore, components/help/Makefile.am,
components/help/Nautilus_View_help.oaf.in:
components/help/help-contents.oafinfo: Ditto, and merged other
oafinfo files into Nautilus_View_help.oaf.in, commented out.
* components/help/help-factory.oafinfo,
components/help/help-index.oafinfo,
components/help/help-search.oafinfo: Removed.
* po/POTFILES.in: Added .oaf.in files.
* po/README.tools, po/ui-extract.pl, po/ui-testcases.glade,
po/ui-testcases.xml, po/update.pl, po/update.sh: Removed these
now-obsolete files.
* components/services/Makefile.am: Removed time service from build.
* components/html/*, components/websearch/*: cvs deleted these
obsolete long since non-built components.
* ChangeLog-200001018: Renamed to ChangeLog-20001018 (whoops)
2001-01-04 Andy Hertzfeld <andy@eazel.com>
* libnautilus-extensions/nautilus-icon-factory.c:
(should_display_image_file_as_itself):
fixed bug 5134, shouldn't display thumbnails for images that we
don't have read permission by explicitly test for read permission
in should_display_image_file_as_itself.
2001-01-04 Andy Hertzfeld <andy@eazel.com>
* src/file-manager/fm-icon-view.c: (should_preview_sound):
fixed bug 5108, remote sounds get preview image, but don't actually
preview. Fixed by making can_preview_sound return FALSE for
non-local sounds.
2001-01-04 Pavel Cisler <pavel@eazel.com>
reviewed by: Rebecca Schulman <rebecka@eazel.com>
Fix 5451 - GnomeVFS-WARNING received at startup.
* libnautilus/nautilus-view-standard-main.c:
(nautilus_view_standard_main_multi):
New standard module initialization call was not initializing
or shutting down gnome_vfs.
* components/adapter/main.c: (main):
* components/hardware/main.c: (main):
* components/html/ntl-web-browser.c: (main):
* components/mozilla/main.c: (main):
* components/music/main.c: (main):
* components/notes/nautilus-notes.c: (main):
* components/rpmview/main.c: (main):
* components/text/main.c: (main):
* components/tree/main.c: (main):
All of the above modules were initializing gnome_vfs but never
shutting it down. Add proper gnome_vfs_shutdown call.
This very likely fixes a problem with the notes module, etc.
sticking around after Nautilus quits.
2001-01-04 Darin Adler <darin@eazel.com>
Fix a screwup in my recent check-in that made hidden files
show up on the desktop.
* src/file-manager/fm-directory-view.h:
* src/file-manager/fm-directory-view.c:
(fm_directory_view_initialize): Don't try to special-case the
desktop since it's too early to detect that case anyway.
(fm_directory_view_destroy): Use the
fm_directory_view_ignore_hidden_file_preferences call to
disconnect the preferences callbacks. This prevents disconnecting
them twice in case another caller makes that call.
(fm_directory_view_ignore_hidden_file_preferences): Turn on the
flag that says we're ignoring the preferences, disconnect the
preference callbacks, and set the flags both to FALSE so we won't
show hidden or backup files.
* src/file-manager/fm-desktop-icon-view.c:
(fm_desktop_icon_view_initialize): Call the new
fm_directory_view_ignore_hidden_file_preference to make it never
show hidden or backup files on the desktop.
2001-01-04 Andy Hertzfeld <andy@eazel.com>
* src/nautilus-property-browser.c: (set_emblem_image_from_file),
(make_properties_from_directories):
fixed bug 5392, custom image causes distortion in emblems dialog,
by setting the background mode of the nautilus_image used to display
the emblems to solid, which also improves performance. Also, use
a nautilus image instead of a pixmap widget in the emblem image
selection dialog to better display the image.
2001-01-04 Darin Adler <darin@eazel.com>
Some FIXME cleanup.
* components/help/converters/gnome-db2html2/sect-elements.c:
(sect_article_end_element), (sect_inlinegraphic_start_element):
* components/help/converters/gnome-db2html2/toc-elements.c:
(toc_sect_end_element):
* components/mozilla/mozilla-events.cpp:
* components/mozilla/nautilus-mozilla-content-view.c:
(make_full_uri_from_relative), (eazel_services_scheme_translate):
* components/music/nautilus-music-view.c:
(nautilus_music_view_initialize),
(music_view_set_selected_song_title), (reset_playtime),
(play_status_display), (slider_moved_callback),
(add_play_controls):
* components/notes/nautilus-notes.c: (notes_load_metainfo):
* components/services/install/lib/eazel-install-logic.c:
(eazel_install_check_for_file_conflicts),
(eazel_install_do_transaction_all_files_check),
(eazel_install_prune_packages_helper),
(eazel_install_check_existing_packages):
* libnautilus-extensions/nautilus-string.c: (nautilus_strcmp),
(nautilus_strcasecmp), (nautilus_strcmp_case_breaks_ties),
(nautilus_strcoll), (nautilus_str_is_equal),
(nautilus_istr_is_equal), (nautilus_strcmp_compare_func),
(nautilus_strcoll_compare_func),
(nautilus_strcasecmp_compare_func):
* src/file-manager/fm-directory-view.c: (open_location):
* src/nautilus-first-time-druid.c: (make_anti_aliased_label),
(make_hbox_user_level_radio_button), (set_up_user_level_page):
Added bug numbers to FIXMEs. At one point Josh made some bugs for
FIXMEs but never got around to checking in the bug numbers in the
source code. And I wrote one bug report.
* components/music/nautilus-music-view.c:
(nautilus_music_view_initialize): Removed a fixed FIXME. Also got
rid of a hard-coded constant and took excess spaces out of some
string constants.
* components/services/install/lib/eazel-install-object.c:
(eazel_install_emit_dependency_check_default): Changed a FIXME
into a non-FIXME comment, now the the bug is fixed.
* components/services/install/lib/eazel-package-system-rpm3.c:
(rpm_packagedata_fill_from_file): Removed an incorrect bug number
from a FIXME.
* components/services/install/nautilus-view/nautilus-service-install-view.h:
* components/services/install/nautilus-view/nautilus-service-install-view.c:
(nautilus_service_install_installing): Removed the FIXME from a
comment that's about how a bug was fixed.
* components/services/trilobite/libtrilobite/trilobite-md5-tools.h:
* components/services/trilobite/libtrilobite/trilobite-md5-tools.c:
* docs/style-guide.html:
Removed FIXME and corrected misunderstanding about whether use of
the guchar typedef is recommended in Nautilus coding style.
* libnautilus-extensions/nautilus-gdk-font-extensions.h:
* libnautilus-extensions/nautilus-gdk-font-extensions.c:
Removed misguided use of const in here. Gdk and Gtk object types
just aren't suitable for const, and you end up doing type casts
that defeat the purpose.
* src/nautilus-window-manage-views.c: (load_underway_callback):
Remove a FIXME for a fixed bug.
2001-01-04 Robey Pointer <robey@eazel.com>
* components/services/install/command-line/eazel-alt-install-corba.
c: (delete_files):
Remove the restriction that files be physically downloaded before
asking if the user would like to delete files. That way all the
packages could come from a previous cache and still be cleaned up
afterwards.
* components/services/install/lib/eazel-install-logic.c:
* components/services/install/lib/eazel-package-system-rpm3.c:
(rpm_open_db):
* components/services/install/lib/eazel-package-system-types.c:
* components/services/install/lib/eazel-package-system-types.h:
* components/services/install/lib/eazel-softcat.c:
(eazel_softcat_get_info):
Fix up some documentation.
* components/services/install/lib/eazel-install-object.c:
(find_old_tmpdir), (create_temporary_directory),
(eazel_install_delete_downloads),
(eazel_install_install_packages):
Clean up the tmpdir creation code: Make sure any new directory is
created atomically. If generating a new directory name,
incorporate the username for uniqueness, and reuse any generated
directory from a previous session.
2001-01-04 Darin Adler <darin@eazel.com>
reviewed by: John Sullivan <sullivan@eazel.com>
Fixed bug 5435 (Irreproducible crash in nautilus_directory_destroy
after copy/move operations).
* libnautilus-extensions/nautilus-directory.c:
(nautilus_directory_notify_files_moved): Removed an extra unref
and slightly reordered the code to make it clearer why the rest of
the ref count manipulation is correct.
2001-01-04 Darin Adler <darin@eazel.com>
reviewed by: Rebecca Schulman <rebecka@eazel.com>
Fixed bug 3811 (shallow file counts and top-left text are fetched
even for non-displayed hidden/backup items).
* libnautilus-extensions/nautilus-directory-private.h:
* libnautilus-extensions/nautilus-directory-async.c:
(allow_metafile): Add "ghelp:" and "gnome-help:" to the
unfortunate list of hard-coded schemes. If we hard-code "help:" we
have to hard-code its synonyms too.
(find_monitor): Use g_new0 so fields in the Monitor are not
uninitialized in this case (the fields in question are ignored,
but it's still nicer this way).
(nautilus_directory_monitor_add_internal): Set up the "monitor
hidden files" and "monitor backup files" in the Monitor structure
based on new parameters.
(should_display_file_name): Use
nautilus_file_name_matches_hidden_pattern and
nautilus_file_name_matches_backup_pattern.
(monitor_includes_file): New function that encapsulates the rule
about which monitor includes which file. Handles the new flags for
not monitoring hidden or backup files.
(is_needy): Call monitor_includes_file.
(select_needy_file): Call monitor_includes_file.
* libnautilus-extensions/nautilus-file-private.h:
* libnautilus-extensions/nautilus-file.c:
(nautilus_file_name_matches_hidden_pattern),
(nautilus_file_name_matches_backup_pattern): New functions to
share with the directory code.
(nautilus_file_is_hidden_file), (nautilus_file_is_backup_file):
Use the new functions and use the raw relative_uri -- no need to
unescape to change to a file name since the "." and "~" characters
are not encoded.
* src/file-manager/fm-directory-view.c:
(fm_directory_view_initialize): Share more code with the
filtering_changed_callback. Handle the desktop view better by
never setting the "show hidden" and "show backup" flags (so they
are both FALSE) and not setting up the callbacks.
(fm_directory_view_destroy): Since we don't set up the callbacks
for desktop windows, don't remove them for desktop windows.
(queue_pending_files): Remove the desktop special case from
here. It was strange to set the flags up then wait until this
moment to clear them both. It's better to keep them FALSE.
(finish_loading): Renamed and changed to pass the appropriate
values in to the nautilus_directory_file_monitor_add call -- this
is the actual bug fix.
(filtering_changed_callback): Remove the desktop special case,
since this function will now never be called for the desktop.
* libnautilus-extensions/nautilus-directory.h:
* libnautilus-extensions/nautilus-directory.c:
(nautilus_directory_file_monitor_add): Pass through the new
"monitor hidden files" and "monitor backup files" parameters.
(nautilus_self_check_directory): Pass TRUE for both.
* libnautilus-extensions/nautilus-vfs-directory.c:
(vfs_file_monitor_add): Pass through the new "monitor hidden
files" and "monitor backup files" parameters.
* libnautilus-extensions/nautilus-merged-directory.c:
(merged_file_monitor_add), (monitor_add_directory): Store the
"monitor hidden files" and "monitor backup files" and pass them
through to the individual directory monitor calls.
* components/tree/nautilus-tree-model.c:
(nautilus_tree_model_node_begin_monitoring_no_connect):
* libnautilus-extensions/nautilus-file.c:
(nautilus_file_monitor_add):
* libnautilus-extensions/nautilus-trash-monitor.c:
(nautilus_trash_monitor_initialize):
* src/nautilus-applicable-views.c:
(got_minimum_file_info_callback):
Pass in TRUE for "monitor hidden files" and "monitor backup files"
to get the same behavior as before. (In some cases the booleans
are just ignored, in other cases we just monitor all files as we
used to.)
* RENAMING: Remind myself to change the name of the
NAUTILUS_CALL_VIRTUAL macro to NAUTILUS_CALL_METHOD some day.
2001-01-04 John Harper <jsh@eazel.com>
* libnautilus-extensions/nautilus-gdk-extensions.c,
libnautilus-extensions/nautilus-gdk-extensions.h
(nautilus_gdk_window_focus): added second argument,
`timestamp', that's passed straight through to XSetInputFocus
* libnautilus-extensions/nautilus-drag-window.c: save the
timestamp in the WM_TAKE_FOCUS client message, and use it when
eventually focusing the window (instead of implicitly using
CurrentTime, which can lead to race conditions)
* libnautilus-extensions/nautilus-icon-text-item.c
(iti_ensure_focus): pass GDK_CURRENT_TIME as timestamp to
nautilus_gdk_window_focus
2001-01-04 John Harper <jsh@eazel.com>
reviewed by: Pavel Cisler <pavel@eazel.com>
When renaming an icon, manually focus the associated top-level
window. This fixes bug 5426 (can't rename icons in sloppy-focus
mode)
* libnautilus-extensions/nautilus-icon-text-item.c
(iti_ensure_focus): new function, ensures that both the canvas
item and the top-level window are focused
(iti_event): call iti_ensure_focus in the button-press case
(nautilus_icon_text_item_start_editing): call iti_ensure_focus
instead of gnome_canvas_item_grab_focus to focus the item
2001-01-03 John Harper <jsh@eazel.com>
Small fix to the `drag doesn't focus' stuff I did earlier to
work around button-release events not following button-press
events. (E.g. this happens for some reason when clicking on the
left hand pane of the property browser window)
* libnautilus-extensions/nautilus-drag-window.c
(wm_protocols_filter): don't only start the timeout when we
don't think we're in the middle of a press-release sequence
(button_press_emission_callback): if we already think we're in
the middle of a press-release, commit any pending requests
2001-01-03 Darin Adler <darin@eazel.com>
reviewed by: Pavel Cisler <pavel@eazel.com>
Fix bug 5235 ("Forget History" eliminates history from Go menu,
not History sidebar panel).
* components/history/nautilus-history-view.c:
(install_icons): Fix leak of pixmap and bitmap.
(update_history): Replaced dual lock system with a single one.
(button_press_callback): Only respect button 1, ignore others.
(button_release_callback): Only respect button 1, ignore others,
(history_changed_callback): A new single callback for when the
history list changes to replace the multiple callbacks before.
(nautilus_history_view_initialize_class),
(nautilus_history_view_initialize),
(nautilus_history_view_destroy), (main): Change the history view
to use nautilus_view_standard_main which requires a subclass. This
gets rid of a lot of boilerplate code.
* libnautilus/nautilus-view-component.idl: Make every NautilusView
get an explicit history_changed call instead of requiring them to
guess when to get history. Removed the old get_history_list call
and also renamed the HistoryList sequence to History.
* libnautilus/nautilus-view.h:
* libnautilus/nautilus-view.c:
(impl_Nautilus_View_history_changed),
(nautilus_view_initialize_class): Added the necessary stuff to
cover the new history_changed call.
* src/nautilus-view-frame.h:
* src/nautilus-view-frame.c: (nautilus_view_frame_initialize):
Connect handlers so we can send history_changed calls to the
NautilusView when either the history or the icons change.
(nautilus_view_frame_destroy): Change state to EMPTY so the
history signal won't be sent once the frame is destroyed.
(view_frame_activated): Send a history_changed to every
newly-activated view.
(get_CORBA_object): Helper function to make code that makes CORBA
calls simpler.
(check_if_view_is_gone): Use get_CORBA_object.
(attach_client): Gave a nicer name, removed the code that makes
the Nautilus_HistoryFrame interface.
(nautilus_view_frame_load_client): Do the attach_client (formerly
nautilus_view_frame_set_to_component) before calling
view_frame_activated. This is needed since view_frame_activated
now sends a history_changed to the view.
(nautilus_view_frame_load_location),
(nautilus_view_frame_stop_loading),
(nautilus_view_frame_selection_changed),
(nautilus_view_frame_title_changed): Use get_CORBA_object.
(get_history_list): Made this private.
(send_history): Helper function that sends history to the view if
it's in the appropriate state.
* src/Makefile.am:
* src/nautilus-history-frame.c:
* src/nautilus-history-frame.h:
Removed the old NautilusHistoryFrame, which is no longer needed
since we put the history call right in the NautilusView class.
* src/nautilus-window-manage-views.c: (get_history_list_callback):
Updated for Nautilus_HistoryList -> Nautilus_History change.
Fix bug 5391 ("Esc" Canceling of an icon stretch doesn't restore
icon position.).
* libnautilus-extensions/nautilus-icon-private.h:
* libnautilus-extensions/nautilus-icon-container.c:
(clear_drag_state): Add a single bottleneck function to make sure
the context menu timeout always gets canceled.
(continue_stretching): Remove the unused "update_position" parameter.
(undo_stretching): Consolidate the cancel_stretching function and
restore the icon's position as well as its size. Also use the new
bottleneck to clear the drag state.
(button_release_event): Use the new bottleneck to clear the drag
state.
(show_context_menu_callback): Use the new bottleneck to clear the
drag state.
(nautilus_icon_container_set_selection),
(nautilus_icon_container_select_list_unselect_others): Take
advantage of the defaults in g_hash_table_new and use NULL, NULL
instead of g_direct_hash, g_direct_equal.
(nautilus_icon_container_show_stretch_handles): Save the position
as well as the size.
(compute_stretch): Add a FIXME with a bug number.
Fix bug 5407 (Make "Hardware Overview" title translatable).
* components/hardware/nautilus-hardware-view.c:
(nautilus_hardware_view_destroy): Remove unused uri field.
(extract_info): Fix storage leak.
(get_RAM_description): Get rid of code that non-portably relies on
long long. Mark strings for translation.
(get_IDE_description): Get rid of code that non-portably relies on
long long. Mark strings for translation.
(setup_overview_form): Marked string for translation.
(setup_CPU_form), (setup_RAM_form), (setup_IDE_form),
(is_location), (nautilus_hardware_view_load_uri): Disable the
views other than the overview for now since they are not ready to
be seen.
(nautilus_hardware_view_drag_data_received): Get rid of the code
that makes the hardware view accept a URI list drag.
Fix bug 5405 (nautilus --check fails when using LC_ALL=sv_SE due
to missing entry in POTFILES.in).
* po/POTFILES.in: Added nautilus-glib-extensions.c.
Other changes.
* src/nautilus-signaller.h:
* src/nautilus-signaller.c: (nautilus_signaller_initialize_class),
(nautilus_signaller_get_current):
Change the NautilusSignaller class so that the interface calls the
object a GtkObject * and the details of the class are hidden.
* src/nautilus-property-browser.c: (emit_emblems_changed_signal):
* src/nautilus-search-bar-criterion.c:
(nautilus_search_bar_criterion_destroy),
(nautilus_search_bar_criterion_new_from_values):
* src/nautilus-window-menus.c:
(nautilus_window_initialize_go_menu):
* src/nautilus-window.c: (nautilus_send_history_list_changed):
Now that nautilus_signaller_get_current returns a GtkObject,
remove some unnecessary casts.
* components/html/glibwww-callbacks.c: (get_sock_info),
(glibwww_timer_register):
* components/tree/nautilus-tree-model.c:
(nautilus_tree_model_initialize):
* components/tree/nautilus-tree-view.c:
(nautilus_tree_view_initialize):
* libnautilus-extensions/nautilus-directory-async.c:
(async_job_start):
* libnautilus-extensions/nautilus-directory.c:
(nautilus_directory_notify_files_added),
(nautilus_directory_notify_files_removed),
(nautilus_directory_notify_files_moved):
* libnautilus-extensions/nautilus-icon-factory.c:
(nautilus_icon_factory_initialize):
* libnautilus-extensions/nautilus-list.c:
(nautilus_list_set_selection):
* libnautilus-extensions/nautilus-merged-directory.c:
(nautilus_merged_directory_initialize):
* libnautilus-extensions/nautilus-trash-directory.c:
(nautilus_trash_directory_initialize):
* src/file-manager/fm-properties-window.c:
(fm_properties_window_present):
Take advantage of the defaults in g_hash_table_new and use NULL,
NULL instead of g_direct_hash, g_direct_equal.
2001-01-03 John Sullivan <sullivan@eazel.com>
reviewed by: Darin Adler <darin@eazel.com>
Fixed bug 5313 (location bar gets partly inactive during
auto-completion)
This was a GTK bug involving event timing. The fix was to
add a workaround in NautilusEntry.
* libnautilus-extensions/nautilus-entry.c:
(nautilus_entry_initialize_class): Wire up default handler
for selection_clear_event.
(nautilus_entry_selection_clear): Bail out without doing anything
if we are still the selection owner.
2001-01-03 John Harper <jsh@eazel.com>
reviewed by: Darin Adler <darin@eazel.com>
Work to make clicking on an inactive window not focus it if the
click subsequently starts a drag. Fixes bug 1681, and removes
fixme bugs 5030, 5032, and 5033
* libnautilus-extensions/nautilus-drag-window.c,
libnautilus-extensions/nautilus-drag-window.h
(nautilus_drag_window_register): new module, hooks into a
GtkWindow to retrofit a focus policy that makes sense with drag
and drop sources. When dragging from a window, a button press
event that subsequently causes a drag to be started doesn't
focus (or raise) the window
This uses a sawfish-specific WM_PROTOCOL to handle the `don't
raise' part (_SAWFISH_WM_RAISE_WINDOW), but everything else
should work with any ICCCM-compliant wm. (The sawfish specific
part will have zero effect with other wm's. It currently
requires a cvs version of sawfish)
* src/nautilus-window.c (nautilus_window_constructed):
* src/nautilus-property-browser.c
(nautilus_property_browser_initialize):
Call nautilus_drag_window_register () on the window, since it
may be used as a drag source
* libnautilus-extensions/nautilus-gdk-extensions.c,
libnautilus-extensions/nautilus-gdk-extensions.h
(nautilus_gdk_window_focus,
nautilus_gdk_window_set_wm_protocols): new functions
2001-01-04 Rebecca Schulman <rebecka@eazel.com>
reviewed by: Maciej Stachowiak <mjs@eazel.com>
* libnautilus-extensions/nautilus-mime-actions.c:
(nautilus_mime_get_default_component_for_file_internal):
Remove fixme for bug 1264, which is no longer relevant.
2001-01-03 Gene Z. Ragan <gzr@eazel.com>
Only display removable volumes on desktop.
* libnautilus-extensions/nautilus-volume-monitor.c:
(nautilus_volume_monitor_volume_is_removable):
* libnautilus-extensions/nautilus-volume-monitor.h:
* src/file-manager/fm-desktop-icon-view.c: (volume_in_black_list),
(create_mount_link):
2001-01-03 Mike Fleming <mfleming@eazel.com>
* components/services/summary/nautilus-view/main.c: (main):
* components/services/summary/nautilus-view/nautilus-summary-callba
cks.c: (login_button_cb):
* components/services/summary/nautilus-view/nautilus-summary-view.c
: (nautilus_summary_view_destroy):
Bug 5343 for real this time.
My decision to move the ammonite_init call after the
oaf_make_registration_id call was a poor one and caused another
potential race.
2001-01-03 Gene Z. Ragan <gzr@eazel.com>
Fixed bug 5394, CRITICAL warning received when zooming a 1x1
pixel image below 100%
* components/image-viewer/nautilus-image-view.c: (rezoom_control),
(control_size_allocate_callback):
Don't allow a scale if the new width or height is less then 1.
2001-01-03 Ramiro Estrugo <ramiro@eazel.com>
reviewed by: Pavel Cisler <pavel@eazel.com>
* components/mozilla/nautilus-mozilla-content-view.c:
(file_exists), (ensure_profile_dir), (ensure_cache_dir),
(mozilla_content_view_one_time_happenings):
Add support for using mozilla caching.
Wed Jan 03 04:11:01 2001 George Lebl <jirka@5z.com>
Reviewed by Maciej, so if I broke something, blame him.
Fixes #5356
* libnautilus-extensions/nautilus-directory-background.c
(make_root_pixmap): Do what the comment says and actually open
a new display before setting the close down mode to RetainPermanent.
This made nautilus windows stay persistent after a crash or whatnot.
This bug was inherited from control-center.
2001-01-03 Ramiro Estrugo <ramiro@eazel.com>
reviewed by: Pavel Cisler <pavel@eazel.com>
Fix bugs 4677, 3031.
* configure.in:
* components/mozilla/Makefile.am:
Use the right RPATH flags depending on where mozilla was found.
This fixed the problem of trying to use mozilla built by
eazel-hacking instead of from RPMS.
* components/mozilla/nautilus-mozilla-content-view.c:
(nautilus_mozilla_content_view_initialize_class),
(mozilla_content_view_one_time_happenings),
(mozilla_content_view_setup_profile_directory):
Add support for setting up a Mozilla profile so that cookies and
cache work.
2001-01-02 Ramiro Estrugo <ramiro@eazel.com>
* configure.in:
Add "detection" of M19. Remove the pre M18 detections.
2001-01-02 Ramiro Estrugo <ramiro@eazel.com>
reviewed by: Gene Ragan <gzr@eazel.com>
* libnautilus-extensions/nautilus-art-extensions.c:
(nautilus_art_irect_contains_point):
* libnautilus-extensions/nautilus-art-extensions.h:
New function to test whether a rectangle contains a point.
* libnautilus-extensions/nautilus-gdk-extensions.c:
(nautilus_self_check_gdk_extensions):
* libnautilus-extensions/nautilus-gdk-extensions.h:
* libnautilus-extensions/nautilus-gdk-font-extensions.c:
(nautilus_gdk_font_get_bold), (font_scalable_get_by_size),
(font_bitmap_get_by_size), (nautilus_gdk_font_get_larger),
(nautilus_gdk_font_get_smaller), (nautilus_gdk_font_equal),
(nautilus_get_largest_fitting_font),
(nautilus_string_ellipsize_start), (nautilus_gdk_font_list_fonts),
(nautilus_gdk_font_get_name), (xlfd_string_get_nth),
(xlfd_string_replace_nth), (xlfd_string_get_nth_as_int),
(xlfd_string_is_scalable_non_bitmap),
(xlfd_string_could_be_scalable_non_bitmap),
(font_entry_has_bold_weight_test),
(font_entry_is_scalable_non_bitmap_test),
(compare_xlfd_by_size_in_points), (compare_xlfd_by_size_in_pixels),
(nautilus_self_check_ellipsize_start),
(nautilus_self_check_gdk_font_extensions):
* libnautilus-extensions/nautilus-gdk-font-extensions.h:
Move GdkFont extensions to their own file. Add new functions to
find a larger/smaller find given an existing font. Change the
bold flavor font function to query the system for fonts, this
makes it work regardless of the user's selected font. Before it
worked only for some fonts.
* libnautilus-extensions/nautilus-file-operations-progress.c:
* libnautilus-extensions/nautilus-file-operations.c:
* libnautilus-extensions/nautilus-icon-canvas-item.c:
* src/nautilus-sidebar-title.c:
Include nautilus-gdk-font-extensions.h.
* libnautilus-extensions/nautilus-gtk-extensions.c:
(nautilus_gtk_label_make_bold), (nautilus_gtk_label_make_larger),
(nautilus_gtk_label_make_smaller):
* libnautilus-extensions/nautilus-gtk-extensions.h:
New functions to make a GtkLabel larger/smaller.
* libnautilus-extensions/nautilus-lib-self-check-functions.h:
Add entry for nautilus-gdk-font-extensions.
* libnautilus-extensions/nautilus-string-list.c:
(nautilus_string_list_modify_nth),
(nautilus_string_list_remove_nth),
(nautilus_string_list_find_by_function),
(nautilus_string_list_sort),
(nautilus_string_list_sort_with_function):
* libnautilus-extensions/nautilus-string-list.h:
New functions to modify, remove and find specific string entries.
New function to sort the string list given a compare function.
2001-01-02 Robey Pointer <robey@eazel.com>
* components/services/install/command-line/eazel-alt-install-corba.
c: (main):
* components/services/install/server/main.c: (main):
* components/services/time/service/main.c: (main):
* components/services/trilobite/libtrilobite/trilobite-core-utils.c
: (trilobite_init):
* components/services/trilobite/libtrilobite/trilobite-core-utils.h
:
* components/services/trilobite/sample/command-line/main.c: (main):
* components/services/trilobite/sample/service/main.c: (main):
Add a parameter to trilobite_init to allow a service to pass its
own popt options along (needed for the command-line installer).
2001-01-02 Andy Hertzfeld <andy@eazel.com>
* components/hardware/nautilus-hardware-view.c:
(get_RAM_description), (get_IDE_description):
Incorporated Bud's patch to the disk size calculation in the
hardware view, which sidesteps integer overflow problems and makes
it consistent with industry convention by using 1000 instead of
1024 for the definition of a kbyte. Also tweaked the RAM size
calculation, but it's still not quite right yet.
* libnautilus-extensions/nautilus-icon-canvas-item.c:
(draw_pixbuf_aa):
improved performance by using nautilus_gnome_canvas_draw_pixbuf
to draw on the aa canvas instead of libart.
2001-01-02 Darin Adler <darin@eazel.com>
reviewed by: John Sullivan <sullivan@eazel.com>
Fixed bug 4344 (assertion if you view a directory without a
metafile).
* libnautilus-extensions/nautilus-directory.c:
(nautilus_directory_initialize), (nautilus_directory_destroy):
Create and destroy the metafile hash table when the directory
is created and destroyed instead of waiting until the metafile
is read.
* libnautilus-extensions/nautilus-directory-metafile.c:
(get_file_node): Get rid of code to handle NULL for hash table.
(nautilus_directory_metafile_destroy): Just destroy the contents
of the hash table (hash table itself is destroyed elsewhere now).
(nautilus_directory_rename_file_metadata),
(nautilus_directory_remove_file_metadata): Get rid of code to
handle NULL for the hash table.
(nautilus_directory_set_metafile_contents): Don't create the
hash table any more, just populate it.
2001-01-02 Darin Adler <darin@eazel.com>
reviewed by: John Sullivan <sullivan@eazel.com>
* src/nautilus-window-menus.c: (help_menu_about_nautilus_callback):
Added the year 2001 to the user-visible copyright notice and made it
use the standard format with the word Copyright.
2001-01-02 John Sullivan <sullivan@eazel.com>
reviewed by: Darin Adler <darin@eazel.com>
Fixed bug 5375 (reword the 4000-file limit so it doesn't
mention the Nautilus Preview Release)
* libnautilus-extensions/nautilus-directory.c:
* libnautilus-extensions/nautilus-directory.h:
Move the #define for the limit to a public place.
* src/file-manager/fm-directory-view.c:
(check_for_directory_hard_limit):
Reword the dialog so it doesn't promise to go away
soon. Also, use #define for the limit in case it
changes, which is likely.
2001-01-02 Ali Abdin <aliabdin@aucegypt.edu>
A minor attempt at deallocating things correctly before we exit (so
memory profilers can be used properly).
* components/help/converters/gnome-db2html2/gdb3html.c:
(parse_file): Free stuff that has been allocated by libxml before
exiting this function. Now memprof stops showing one big large red
bar.
Call toc_free_data when done with the TOC.
* components/help/converters/gnome-db2html2/toc-elements.c:
(toc_copyright_characters): Add a comment about a memory leak I
discovered.
(toc_free_data): New function to free data allocated by toc_init_data
2001-01-02 John Sullivan <sullivan@eazel.com>
reviewed by: Darin Adler <darin@eazel.com>
Fixed bug 5331 (Control-W closes the desktop)
* src/file-manager/nautilus-desktop-icon-view-ui.xml:
Added insensitive "Close" command that overrides the
default one.
* src/nautilus-window-menus.c:
(nautilus_window_update_show_hide_menu_items),
(refresh_bookmarks_menu),
(nautilus_window_remove_bookmarks_menu_items),
(nautilus_window_remove_go_menu_items),
(nautilus_window_update_find_menu_item),
(append_dynamic_bookmarks), (refresh_go_menu): Removed
initial NAUTILUS_ from some #defines that are private to
this file.
2001-01-01 Ali Abdin <aliabdin@aucegypt.edu>
More patches from John Fleck. A fixup for the QANDASET title showing
up in the TOC.
Also a fixup for bug #4409 (due to the switching of 'states' in the
parser we sometimes would print out some extra HTML closing tags
that shouldn't be there)
Happy New Year.
* components/help/converters/gnome-db2html2/gdb3html.h:
* components/help/converters/gnome-db2html2/sect-elements.c:
* components/help/converters/gnome-db2html2/sect-preparse.c:
* components/help/converters/gnome-db2html2/toc-elements.c:
Add QANDASET and QANDAENTRY.
* components/help/converters/gnome-db2html2/sect-elements.c:
(sect_title_start_element),
(sect_title_end_element):
Use a temporary boolean variable to reflect wether the we printed out
the starting tags in sect_title_start_element. If we did, then we
print out the closing in sect_title_end_element. Otherwise we don't.
* components/help/converters/gnome-db2html2/toc-elements.c:
(toc_title_start_element),
(toc_title_end_element),
(toc_title_characters):
Ignore the QANDASET title's since they should not be in the TOC.
2000-12-29 Darin Adler <darin@eazel.com>
reviewed by: Gene Ragan <gzr@eazel.com>
Fixed bug 5374 (No-longer-mounted removable media linger as
generic icons upon restart).
* src/file-manager/fm-desktop-icon-view.c:
(free_volume_black_list): Save code by using
nautilus_g_list_free_deep.
(create_mount_link): Save some g_strdup calls by using const char
* for the icon_name.
(fm_desktop_icon_view_initialize): Simplify the code that creates
the black list by creating a local variable.
(unlink_and_notify): Helper function that deletes a file and
notifies the NautilusDirectory/File framework.
(volume_unmounted_callback): Call unlink_and_notify to do the work.
(create_link_callback): Pass NULL for default values when setting
metadata, since we always want to set the metadata.
(icon_view_create_nautilus_links): Avoid a storage leak by using
const char * for the icon name.
(update_link_and_delete_copies): New function shared for both the
home and trash link cases. Simpler because it just lets the
nautilus_link_xxx functions handle file vs. directory and . and
.. and doesn't bother doing a stat itself. Also fixes leaks that
were in the old versions as well as the questionable practice of
using chdir instead of full paths. Also changes the logic to
delete any links with the right type but wrong name, rather than
trying to rename the first icon found of the right type.
(update_home_link_and_delete_copies): Use the shared
function. Also don't bother making unused home_link_path.
(update_trash_link_and_delete_copies): Use the new shared
function.
(delete_all_mount_links): Turns out we can use the shared function
for this case too just by passing in a name that will never match
any existing link's name ("").
2000-12-29 Michael Engber <engber@eazel.com>
* libnautilus-extensions/nautilus-global-preferences.h:
Changed gconf key for the show desktop option in order to
avoid using the old default value (OFF) in existing gconf
databases (bug 5148)
2000-12-29 Andy Hertzfeld <andy@eazel.com>
* src/file-manager/fm-list-view.c:
fixed bug 3900, emblems too big in list view, by lowering the
minimum emblem size one notch
* libnautilus-extensions/nautilus-icon-container.c:
(nautilus_icon_container_update_icon):
fixed problem where images that are small in one dimension but large
in the other were being scaled too large by the minimum size scaling.
Fixed by pinning to both the minimum and maximum sizes.
also, pinned icon view emblem sizes to MAXIMUM_EMBLEM_SIZE independent
of scale factor, so they don't become enormous when the icons are
large.
2000-12-29 Darin Adler <darin@eazel.com>
reviewed by: Gene Ragan <gzr@eazel.com>
Fixed bug 5067 (Moving a file doesn't update the directory in the
link hash table).
Fixed bug 5366 (error when passing two directories on the command
line).
* libnautilus-extensions/nautilus-directory.c:
(nautilus_directory_remove_file): Change code that was doing "==
FALSE" which is not such good style.
(nautilus_directory_notify_files_moved): Change to properly update
file names in all cases and to update the directory with a new
nautilus_file_set_directory function.
* libnautilus-extensions/nautilus-file-private.h: Moved the
Knowledge enum up here. I was going to make a change that required
it, and now I don't feel like moving it back.
* libnautilus-extensions/nautilus-file.h: Add
nautilus_file_set_directory (and reformat).
* libnautilus-extensions/nautilus-file.c: (is_self_owned),
(destroy): Moved is_self_owned so the destroy function can use it.
(update_info_internal): Call the update_links functions before
(nautilus_file_set_directory): New function that changes the
parent directory and updates everything appropriately.
(nautilus_file_mark_gone): Added a check that the file is not
already marked gone.
* src/nautilus-main.c: (main): Sort the command-line options, add
some single-character versions, add code to initialize the
"geometry" variable for the case where the option is not passed,
removed some unused code that sets start_desktop twice.
2000-12-28 Pavel Cisler <pavel@eazel.com>
Fixed bug 4952 (Move or copy or large number of items fails).
Final part of fix for bug 956 (UI takes time to become operational
after drag&drop)
* libnautilus-extensions/nautilus-file-changes-queue.c:
(nautilus_file_changes_consume_changes): Fixed a bug in
the logic that chunked up file change notifications into groups
that could be all handled at once - before the fix each change
was processed individually. Grouped move, metadata move, position
setting and copy, metadata copy, position setting respectively
into groups that would get all processed in a single chunk.
Tweaked the maximum size of a changes chunk.
* libnautilus-extensions/nautilus-file-changes-queue.c:
(nautilus_file_changes_queue_schedule_metadata_copy),
(nautilus_file_changes_queue_schedule_metadata_move),
(nautilus_file_changes_queue_schedule_metadata_remove),
(nautilus_file_changes_queue_schedule_position_setting):
Some renamings.
* libnautilus-extensions/nautilus-directory-async.c:
Small tweak to make turning on debugging diagnostics easier.
2000-12-28 Mike Fleming <mfleming@eazel.com>
* components/services/summary/nautilus-view/main.c: (main):
* components/services/summary/nautilus-view/nautilus-summary-view.c
: (nautilus_summary_view_initialize):
Fix for bug 5343, work around for bug 5365. By avoiding the redundant
activation of eazel-proxy, race condition described in 5365 is avoided.
2000-12-28 Darin Adler <darin@eazel.com>
reviewed by: Maciej Stachowiak <mjs@eazel.com>
Fixed bug 2808 (copy all metadata, not just certain items). There
are still a few loose ends but it's basically there.
Fixed bug 5296 (Hardware overview should be localized).
Fixed bug 5299 (Spacing problems with sizes in bytes).
* libnautilus-extensions/nautilus-directory-metafile.c:
(get_file_node): Used a local variable for the hash table to make
the code more readable because the full expression is too long.
Removed the half-baked attempt at using xmlNode objects to
represent "changes" data, which no longer seems a likely
direction.
(nautilus_directory_metafile_destroy): Local variable for hash
table.
(nautilus_directory_get_file_metadata): Return NULL, not FALSE,
since the function returns char *, not gboolean.
(nautilus_directory_rename_file_metadata): Local variable for hash
table. Also added a FIXME for a case that won't work.
(apply_file_changes): Broke out so it can be used elsewhere.
(apply_one_file_changes): This is now the version that has the
hash table iterator function interface.
(nautilus_directory_get_integer_file_metadata): Use sscanf instead
of atoi so we can do error checking.
(nautilus_directory_copy_file_metadata): Removed the old code that
copied fixed keys and wrote new code that copies all the metadata.
(nautilus_directory_remove_file_metadata): Local variable for hash
table.
* icons/arlo/arlo.xml: Added an explicit H offset of 0 for the
zoom control. It was inheriting the default theme's offset of
-2. This seems to indicate a design problem with the "fall back on
default" approach for themes, but for now it's nice to have the
zoom control looking right again.
* src/nautilus-window-menus.c:
(help_menu_about_nautilus_callback): Use the real copyright
character, not "(C)".
* src/file-manager/fm-desktop-icon-view.c
(find_and_update_home_link), (place_home_directory): Mark the
"darin's Home" string for localization. Needs improvement beyond
this, because just tacking "'s Home" onto the login name is
probably no good.
* components/hardware/nautilus-hardware-view.c: (read_proc_info):
Tweak code style a bit. Use g_string_free (FALSE) instead of
g_strdup and g_string_free (TRUE).
(get_CPU_description): Make this a little more localizable by
adding a strdup format string instead of appending things. Added
FIXMEs about additional problems.
(get_RAM_description): Add a little reality checking on the value
read from the file and make a little more localizable.
(get_IDE_description): Change to use the gnome-vfs file size
formatting functions in the right way. The old code had been
changed to not use them at all, probably because the first cut at
this code was using it wrong and ran into a 32-bit limit. Use
g_string_free (FALSE) instead of g_strdup and g_string_free
(TRUE).
* po/POTFILES.in: Marked nautilus-hardware-view.c as needing
localization.
* components/help/converters/gnome-db2html2/sect-elements.c:
(sect_informaltable_start_element): Fixed a runaway string
literal.
* libnautilus-extensions/nautilus-directory-async.c: Moved the
constants to the top of the file and put the compile-time switches
at the top of the constants section.
* NEWS: Removed out of date news.
* README: Fixed a typo.
* TODO: Removed out of date tasks.
2000-12-27 Michael Engber <engber@eazel.com>
* libnautilus-extensions/nautilus-background-canvas-group.c:
(nautilus_background_canvas_group_draw),
(nautilus_background_canvas_group_render):
Bug number for FIXMEs.
2000-12-26 Michael Engber <engber@eazel.com>
* libnautilus-extensions/nautilus-directory-background.c:
(desktop_background_realized), (nautilus_background_set_desktop),
(nautilus_background_is_desktop),
(nautilus_background_get_desktop_background_window),
(image_loading_done_callback),
(nautilus_file_update_desktop_pixmaps),
(background_changed_callback), (saved_settings_changed_callback),
(background_reset_callback),
(nautilus_connect_desktop_background_to_file_metadata):
* libnautilus-extensions/nautilus-directory-background.h:
* src/file-manager/fm-icon-view.c: (fm_icon_view_begin_loading):
Set the background pixmap of the desktop xwindow so that the
window manager paints background behind nautilus windows instead
of leaving trails.
2000-12-26 Gene Z. Ragan <gzr@eazel.com>
* src/file-manager/fm-desktop-icon-view.c: (volume_in_black_list),
(fm_desktop_icon_view_initialize):
Compare mount point, not device path.
2000-12-25 Ali Abdin <aliabdin@aucegypt.edu>
Handle the <address> tag properly (including <street>, <city>,
<country>, <postcode>, and <state>) - Fixes bug #2176
Support the <literallayout> tag - Fixes bug #5341
These patches contributed by John Fleck <jfleck@inkstain.net>
Happy Eid and Merry Christmas!
* components/help/converters/gnome-db2html2/gdb3html.h:
* components/help/converters/gnome-db2html2/sect-elements.[ch]:
* components/help/converters/gnome-db2html2/sect-preparse.c:
* components/help/converters/gnome-db2html2/toc-elements.c:
(sect_literallayout_start_element),
(sect_literallayout_end_element):
New functions to for LITERALLAYOUT tag support.
(sect_country_start_element),
(sect_city_start_element),
(sect_street_start_element),
(sect_address_end_element),
(sect_address_start_element),
(sect_address_characters):
New functions to handle the ADDRESS/STREET/CITY/COUNTRY tags properly
* components/help/converters/gnome-db2html2/ASSUMPTIONS:
Removed an erroneous entry
* components/help/converters/gnome-db2html2/TODO:
Updated
* components/help/converters/gnome-db2html2/AUTHORS:
Added John Fleck (jfleck@inkstain.net)
2000-12-25 Gene Z. Ragan <gzr@eazel.com>
* src/file-manager/fm-desktop-icon-view.c:
(fm_desktop_icon_view_destroy), (free_volume_black_list),
(volume_in_black_list), (create_mount_link),
(startup_create_mount_links), (fm_desktop_icon_view_initialize),
(volume_mounted_callback):
Started work on volume black list. Added proc and boot to
list. Need to figure out a way to expose this to the UI
so it is easy for the user to specify what mounts they
want displayed on the desktop.
* libnautilus-extensions/nautilus-drag.c: (add_one_url_list),
(add_one_path_list), (nautilus_drag_drag_data_get):
* libnautilus-extensions/nautilus-icon-dnd.c:
Work on supporting drags form Nautilus into the attachments
frame of Netscape mail.
2000-12-23 John Harper <jsh@eazel.com>
* libnautilus-extensions/nautilus-gdk-extensions.c
(nautilus_gdk_parse_geometry): moved this out of the `! defined
(NAUTILUS_OMIT_SELF_CHECK)' preprocessor block where I had
inserted it by mistake. Also removed a statement with no effect
2000-12-23 Ali Abdin <aliabdin@aucegypt.edu>
* components/help/hyperbola-filefmt.c:
(fmt_man_populate_tree):
Look in /usr/share/man if the 'manpath' app returns nothing.
2000-12-23 Ali Abdin <aliabdin@aucegypt.edu>
So, I thought I was fixing this bug in the Eazel bugtracker. I hack
away, and get gzipped man files showing up in the Help sidebar. Turns
out, that the bug I /should/ have been working on was some info-files
now showing up in the Help sidebar.
Oh well, at least we now get gzipp'd man files showing up in the
sidebar (which is most man files nowadays).
So I continuied hacking and fixd bug #4414 (info files in Debian do
not show up in Help sidebar)
* components/help/hyperbola-filefmt.c:
(extract_secnum_from_filename),
(name_without_suffix): New functions
(fmt_man_populate_tree_from_subdir):
gnome-man2html2 actually supports gzip'd files. So this needed some
major work to get it to support them gzip'd files.
(fmt_info_populate_tree):
Also populate tree from the /usr/share/info subdir. I think this helps
destroy bug #4414
2000-12-23 Ali Abdin <aliabdin@aucegypt.edu>
More Fixing for bug #5118 (tags within a title do not appear in the
TOC). There are a few 'difficult' cases that are still not supported
and we probably won't support.
Thanks to jfleck@inkstain.net
* components/help/converters/gnome-db2html2/toc-elements.c:
Filled in function table to use toc_tag_characters where
appropriate.
(toc_tag_characters),
(toc_title_end_element),
(toc_title_start_element):
Some hackery to use an 'in_printed_title' variable (so we can
distinguish on wether we need to actually print the tag within the
title).
* components/help/converters/gnome-db2html2/gdb3html.c:
(xml_parse_document): This function was #if 0'd out and is now gone
from the tree
(parse_file): Remove #if 0'd code.
(main): Remove a really old unncessary comment
* components/help/converters/gnome-db2html2/gdb3html.c:
* components/help/converters/gnome-db2html2/sect-elements.c:
* components/help/converters/gnome-db2html2/toc-elements.c:
i18n'd a bunch of strings as some preliminary work to getting i18n
working with gnome-db2html2
* po/POTFILES.in:
Update to reflect the i18n'd strings in gnome-db2html2
2000-12-23 Gene Z. Ragan <gzr@eazel.com>
reviewed by: Pavel Cisler <pavel@eazel.com>
Fixed bug 4158, dropping a file onto gnome-terminal
doesn't insert a path name.
* libnautilus-extensions/nautilus-drag.c: (add_one_path_list),
(nautilus_drag_drag_data_get):
Return a list a text paths.
* libnautilus-extensions/nautilus-drag.h:
Add new type and data type for "text/uri"
2000-12-22 Ramiro Estrugo <ramiro@eazel.com>
reviewed by: Gene Z. Ragan <gzr@eazel.com>
* libnautilus-extensions/nautilus-debug-drawing.c:
(event_box_draw), (event_box_expose_event),
(nautilus_debug_show_pixbuf):
Dont use NautilusImage here because that create a chicken
and egg problem when debuggin NautilusImage itself. Use
an event box instead.
* libnautilus-extensions/nautilus-gdk-extensions.h:
* libnautilus-extensions/nautilus-gdk-extensions.c:
(nautilus_gdk_rgb_to_color_spec):
New function to make a string color spec from an rgb value.
* libnautilus-extensions/nautilus-gdk-pixbuf-extensions.c:
* libnautilus-extensions/nautilus-gdk-pixbuf-extensions.h:
(nautilus_gdk_pixbuf_is_valid),
(nautilus_gdk_pixbuf_get_frame):
Make these public and add documentation for them.
2000-12-22 Gene Z. Ragan <gzr@eazel.com>
reviewed by: Pavel Cisler <pavel@eazel.com>
Fixed bug 4951, No error given selecting unmountable "Disks" volume.
I added a pipe to monitor the result of the mount/umount command.
If an error is in the pipe, a details error dialog is displayed.
A generic mount failed error is first and the details button reveals
the error message returned in the pipe.
* libnautilus-extensions/nautilus-volume-monitor.c: (find_command),
(open_error_pipe), (close_error_pipe),
(nautilus_volume_monitor_mount_unmount_removable):
Renamed xfer to transfer.
* libnautilus-extensions/nautilus-file-operations.c:
(parent_for_error_dialog), (transfer_dialog_clicked_callback),
(create_transfer_dialog), (handle_transfer_ok),
(build_error_string), (handle_transfer_vfs_error),
(handle_transfer_overwrite), (handle_transfer_duplicate),
(update_transfer_callback), (sync_transfer_callback),
(nautilus_file_operations_copy_move),
(handle_new_folder_vfs_error), (new_folder_transfer_callback),
(nautilus_file_operations_new_folder),
(nautilus_file_operations_move_to_trash),
(nautilus_file_operations_delete), (do_empty_trash):
Added compatibility call.
* libnautilus-extensions/nautilus-entry.c:
* libnautilus-extensions/nautilus-entry.h:
(nautilus_entry_new_with_max_length):
2000-12-22 Darin Adler <darin@eazel.com>
* libnautilus-extensions/nautilus-global-preferences.c:
(global_preferences_register): Add missing _()
2000-12-22 Darin Adler <darin@eazel.com>
reviewed by: Pavel Cisler <pavel@eazel.com>
Fixed bug 5065 (When Nautilus moves a directory it doesn't rename
the corresponding private metafile).
Fixed bug 5066 (Moving a directory doesn't update infomrration
about child directories in Nautilus).
Fixed bug 5297 (Make all (C) strings use gettext).
* libnautilus-extensions/nautilus-directory-metafile.c:
(nautilus_directory_rename_file_metadata),
(nautilus_directory_remove_file_metadata): Add check for NULL hash
table. Without this check we kept running into asserts.
* libnautilus-extensions/nautilus-directory-private.h:
* libnautilus-extensions/nautilus-directory.c:
(nautilus_directory_new): Share URI-setup code with the renaming
case.
(set_directory_uri): New function shared with new directories and
renaming.
(get_path_from_vfs_uri), (get_private_metafile_path): Utility
functions to help get local paths for private metafiles.
(change_directory_uri): Update URI for an existing
NautilusDirectory object. This handles renaming the private
metafile too.
(collect_directories_by_prefix): Function to collect affected
directories when you rename a directory.
(str_replace_prefix): Utility to replace string prefix so we can
turn old directory name into the new one.
(nautilus_directory_moved): Renamed and changed to use URIs
instead of a directory object so it can be called even when no
directory exists. Also made it collect all affected directories
and do the work with change_directory_uri on each one.
* libnautilus-extensions/nautilus-file.c: (rename_callback): Use
the new nautilus_directory_moved.
* libnautilus-extensions/nautilus-file-utilities.h:
* libnautilus-extensions/nautilus-file-utilities.c:
(nautilus_get_build_time_stamp):
* src/nautilus-about.h:
* src/nautilus-about.c: (nautilus_about_new),
(nautilus_about_draw_info):
* src/nautilus-window-manage-views.c:
(window_set_title_with_time_stamp), (update_title):
* src/nautilus-window-menus.c:
(help_menu_about_nautilus_callback):
Rename "timestamp" -> "time stamp".
* src/nautilus-window-menus.c:
(help_menu_about_nautilus_callback): Mark "(C)" string for
translation.
2000-12-21 John Harper <jsh@eazel.com>
reviewed by: Darin Adler <darin@eazel.com>
Work to allow geometry of initial window to be specified on
command line. Fixes bug #5135
* src/nautilus-shell.c (open_window): new arg `geometry'. When
non-null, use nautilus_gtk_window_set_initial_geometry_from_string
to affect the geometry of the unmapped window
(corba_open_default_window, corba_open_windows): new arg,
`geometry', passed to open_window () if a non-null string
* src/nautilus-shell-interface.idl (open_windows,
open_default_window): added `geometry' parameter. Pass a
zero-length string to show no specified geometry
* src/nautilus-main.c (main): new option `--geometry=GEOMETRY'.
Pass the value to nautilus_application_startup (). This option
is only allowed when no more than one URI is given on the
command line (to prevent multiple windows appearing on top of
one another)
* src/nautilus-application.c, src/nautilus-application.h
(nautilus_application_startup): added parameter `geometry', a
string describing the geometry to give any created windows
* src/nautilus-first-time-druid.c (druid_finished): pass null
geometry parameter to nautilus_application_startup ()
* libnautilus/nautilus-gdk-extensions.c,
libnautilus/nautilus-gdk-extensions.h
(NautilusGdkGeometryFlags, nautilus_gdk_parse_geometry): a
wrapper for XParseGeometry () and associated bit definitions.
Required since gnome_parse_geometry () offers no reliable way
of detecting which of the geometry components were parsed
successfully
* libnautilus/nautilus-gtk-extensions.c,
libnautilus/nautilus-gtk-extensions.h
(nautilus_gtk_window_set_initial_geometry): takes an extra
parameter, a NautilusGdkGeometryFlags value specifying which of
the geometry parameters are valid
(nautilus_gtk_window_set_initial_geometry_from_string): changed
to allow the geometry string to specify one or both of position
and dimensions. Also doesn't use g_return_if_fail to test for
validity of input string (since it may come from the user),
instead just use the parseable parts of the geometry string
2000-12-22 John Sullivan <sullivan@eazel.com>
reviewed by: Pavel Cisler <pavel@eazel.com>
Nautilus part of fix for bug 4798 (icon changes in MIME
type capplet aren't reflected automatically in Nautilus)
* libnautilus-extensions/nautilus-icon-factory.c:
(get_icon_factory): connect to gnome_vfs_mime_monitor's
"data_changed" signal.
(mime_type_data_changed_callback): emit "icons_changed"
signal when gnome_vfs_mime_monitor says data has changed.
2000-12-21 Maciej Stachowiak <mjs@eazel.com>
reviewed by: Pavel Cisler <pavel@eazel.com>
* components/text/nautilus-text-view.oafinfo,
components/hardware/nautilus-hardware-view.oafinfo: Fixed IID to
standard format.
* components/hardware/main.c (hardware_view_make_object, main),
components/text/main.c: (text_view_make_object, main):
Updated to match.
2000-12-21 Ramiro Estrugo <ramiro@eazel.com>
reviewed by: Pavel Cisler <pavel@eazel.com>
* libnautilus-extensions/nautilus-icon-canvas-item.c:
(draw_or_measure_label_text_aa):
* libnautilus-extensions/nautilus-icon-factory.c: (embed_text):
* libnautilus-extensions/nautilus-label.c: (render_buffer_pixbuf):
* libnautilus-extensions/nautilus-scalable-font.c:
(nautilus_scalable_font_draw_text),
(nautilus_scalable_font_draw_text_lines_with_dimensions),
(nautilus_scalable_font_draw_text_lines),
(nautilus_text_layout_paint), (nautilus_gdk_pixbuf_new_from_text):
* libnautilus-extensions/nautilus-scalable-font.h:
* libnautilus-extensions/nautilus-tabs.c: (draw_tab_label):
* src/nautilus-about.c: (draw_aa_string):
* src/nautilus-sidebar-tabs.c: (draw_one_tab_plain),
(draw_one_tab_themed):
* test/test-nautilus-font.c: (main):
Lost the "inverted" feature of smooth text drawing. It wasnt used
anywhere except a test program. It never looked well and the
nautilus icon container does something unrelated to select text.
Also replace some hard coded 255 opacity values to use the
NAUTILUS_OPACITY_NONE define.
2000-12-21 J Shane Culpepper <pepper@eazel.com>
reviewed by: Gene Z. Ragan <gzr@eazel.com>
* components/services/install/lib/eazel-inventory-utils.c:
(add_package_info), (add_hardware_info), (add_software_info),
(eazel_create_configuration_metafile):
Added the SOFTWARE node to the xml generation. Added
bogomips, flags, and distribution to information gathered.
There are very few things missing from the collection engine
now.
2000-12-21 Gene Z. Ragan <gzr@eazel.com>
Fixed bug 5218, The desktop is missing devices. (cdrom & vfat volume)
Try and be more intelligent about determing the name of mounted
volumes. Until we can get the device name from the partition,
we instead derive the name form the mount path. If that fails, we fall
back on a hrad coded string.
* libnautilus-extensions/nautilus-volume-monitor.c:
(mount_volume_get_name), (get_ext2_volume_name),
(get_msdos_volume_name), (get_nfs_volume_name),
(get_floppy_volume_name), (get_generic_volume_name):
New and modified functions to return volume names.
2000-12-21 John Sullivan <sullivan@eazel.com>
* components/sample/main.c: (main): Changed
nautilus_view_create_from_get_type to
nautilus_view_create_from_get_type_function so it would
compile. My guess is this was a last-minute rename from
Maciej's previous checkin.
Fixed bug 5319 (two menu items in Help menu use same underline
accelerator key)
Fixed bug 5293 ("Nautilus Feedback..." should just be "Feedback..."
since it's not only for Nautilus feedback.)
* src/nautilus-shell-ui.xml: Moved an underscore, changed a label,
tweaked a tip.
2000-12-21 John Sullivan <sullivan@eazel.com>
reviewed by: Pavel Cisler <pavel@eazel.com>
Fixed bug 5282 (Two file-name-conflict dialogs renaming in
Properties window)
The problem was that the activate signal and the focus-out signal
were both trying to rename using the bad name. Fixed by restoring
the text in the name field to the original name when an error occurs.
* src/file-manager/fm-properties-window.c:
(fm_properties_window_initialize_class): Wire up finalize handler.
(name_field_restore_original_name): Select text of original name
after restoring it into text field.
(set_pending_name): Helper function to save pending name.
(name_field_done_editing): Remember pending name in case window
and name field get destroyed before callback. Ref window so it
won't be finalized before callback.
(rename_callback): Restore original name when rename fails, use
stored pending name for window, unref window.
(name_field_focus_out), (name_field_activate): Now take window
as callback data so it can be passed to done_editing.
(create_basic_page): Remember name field in window details struct
so it can be accessed in rename_callback; remove some unnecessary
casts; pass window as callback data to two signal handlers.
(real_destroy): Don't free details here; do so in finalize
(real_finalize): Free pending_name and details here, so pending
name is always accessible by rename_callback.
2000-12-21 Maciej Stachowiak <mjs@eazel.com>
reviewed by: Darin Adler <darin@eazel.com>
* libnautilus/nautilus-view.c, libnautilus/nautilus-view.h
(nautilus_view_construct,
nautilus_view_construct_from_bonobo_control): New construct
functions so it's possible for view implementations to be
subclasses of NautilusView.
(nautilus_view_new_from_bonobo_control): Implement in terms of construct function.
* libnautilus/nautilus-view-standard-main.h,
libnautilus/nautilus-view-standard-main.c:
(nautilus_view_standard_main_multi, nautilus_view_standard_main,
nautilus_view_create_from_get_type): New convenience functions
that encapsulate and librarify most of the cut and pasted main.c
code that is in every nautilus view.
(object_destroyed, make_object): Helper functions.
* libnautilus/Makefile.am: Add nautilus-view-standard-main.[ch] to
build.
* libnautilus/nautilus-view-component.idl: Add license header
comment.
* libnautilus-extensions/nautilus-gtk-macros.h: Lined up the
backslashes to make it easier to read and edit the multi-line
macros.
* components/sample/README: Explain that all files in this
directory have "WHAT YOU NEED TO CHANGE" comments.
* components/sample/main.c (main): Implement in terms of
`nautilus_view_standard_main' and removed most of the rest of this
file. Now all you have to change when writing your own view is an
include and some defines at the top of the file. Added "WHAT YOU
NEED TO CHANGE" comment.
* components/sample/nautilus-sample-content-view.h,
components/sample/nautilus-sample-content-view.c: Added "WHAT YOU
NEED TO CHANGE" comments.
(nautilus_sample_content_view_get_type,
nautilus_sample_content_view_initialize,
nautilus_sample_content_view_destroy, load_location,
sample_load_location_callback, bonobo_sample_callback,
sample_merge_bonobo_items_callback): Changed everything around so
NautilusSampleContentView inherits from Nautilus view, not
GtkLabel (the widget that happens to be in the main content
area). This makes a lot more sense. Also fix bug 2410 but
including alternative code to nautilus-only macros.
* components/sample/nautilus-sample-content-view.oafinfo: Added
"WHAT YOU NEED TO CHANGE" comment.
* components/sample/Makefile.am: Added "WHAT YOU NEED TO CHANGE" comment.
2000-12-21 John Sullivan <sullivan@eazel.com>
* libnautilus-extensions/nautilus-search-uri.c:
(nautilus_self_check_search_uri): Updated self-check
expected results to match recent wording changes.
This should fix the Tinderbox build.
2000-12-21 Rebecca Schulman <rebecka@eazel.com>
Fix for bug 5244, that search interface
text that are sentence fragments should have comments explaining
the context of the text to improve translation quality.
reviewed by: Christian Rose <menthos@menthos.com>
* libnautilus-extensions/nautilus-search-uri.c:
* src/nautilus-search-bar-criterion.c:
Added comments directly above sentence fragments
that will be translated.
2000-12-20 Ramiro Estrugo <ramiro@eazel.com>
reviewed by: Pavel Cisler <pavel@eazel.com>
* libnautilus-extensions/nautilus-debug-drawing.h:
* libnautilus-extensions/nautilus-debug-drawing.c:
(nautilus_debug_show_pixbuf_in_eog), (debug_delete_event),
(nautilus_debug_show_pixbuf):
Add a debug function to show pixbufs in process without having to
fork off eog. This is more useful than the eog version for
asynchronous stuff.
* libnautilus-extensions/nautilus-gdk-pixbuf-extensions.h:
* libnautilus-extensions/nautilus-gdk-pixbuf-extensions.c:
(pixbuf_draw_tiled), (draw_tile_to_pixbuf_callback),
(draw_tile_to_drawable_callback),
(nautilus_gdk_pixbuf_draw_to_pixbuf_tiled),
(nautilus_gdk_pixbuf_draw_to_drawable_tiled),
New function to tile pixbufs into drawables. In order to reuse the
tiling algorithm from the "tile_to_pixbuf" function, I added a
simple callback mechanism.
(nautilus_gdk_pixbuf_get_global_buffer),
New function to access a global buffer.
(nautilus_gdk_pixbuf_get_from_window_safe):
New function to wrap gdk_pixbuf_get_from_drawable with safety from
x errors and race conditions. See code for detailed comments as to
the specific problems this wrapper addresses.
* libnautilus-extensions/nautilus-gtk-extensions.h:
* libnautilus-extensions/nautilus-gtk-extensions.c:
(nautilus_gtk_class_name_make_like_existing_type):
New function that custom widgets can call to make themselves look
like stock widgets wrt to the gtk thememing engine.
2000-12-21 Ramiro Estrugo <ramiro@eazel.com>
reviewed by: Pavel Cisler <pavel@eazel.com>
* libnautilus-extensions/Makefile.am:
* libnautilus-extensions/nautilus-art-gtk-extensions.h:
* libnautilus-extensions/nautilus-art-gtk-extensions.c:
(nautilus_irect_assign_gdk_rectangle),
(nautilus_irect_screen_get_frame),
(nautilus_irect_gdk_window_get_bounds),
(nautilus_irect_gdk_window_get_screen_relative_bounds),
(nautilus_irect_gtk_widget_get_bounds),
(nautilus_irect_gdk_window_clip_dirty_area_to_screen):
New functions that accept gtk/gdk structures and
return their bounds/frames as ArtIRects.
These are very useful in code that uses libart functions
to do operations on ArtIRects (such as intersection)
2000-12-20 Maciej Stachowiak <mjs@eazel.com>
* components/services/inventory/lib/trilobite-eazel-inventory-public.h:
Removed.
2000-12-20 Darin Adler <darin@eazel.com>
reviewed by: Pavel Cisler <pavel@eazel.com>
Fixed bug 5285 (Renaming file through 'properties' dialog causes
Glib errors).
Did some work on bug 2288 (Location bar should only escape /
unescape unambiguously for URIs ).
* libnautilus-extensions/nautilus-directory-metafile.c:
(nautilus_directory_set_metafile_contents): Create hash table even
when no metafile is read in. This fixes asserts people were
seeing.
* libnautilus-extensions/nautilus-file-utilities.c:
(nautilus_format_uri_for_display): Use
gnome_vfs_get_local_path_from_uri to unescape paths so we don't
unintentionally munge them. There may still be an issue with using
this function on a string that gets written into the location bar.
(is_valid_scheme_character), (has_valid_scheme), (expand_tilde),
(nautilus_make_uri_from_input): Redo function to implement a new
scheme where we put http:// in front of anything that doesn't
start with a URI scheme or a / and file:// in front of things that
do start with / (converting the path to a URI by escaping
characters are necessary).
(nautilus_get_build_timestamp): Get rid of unneeded tests.
(nautilus_self_check_file_utilities): Updated self-test for
nautilus_make_uri_from_input.
* src/nautilus-location-bar.c: (try_to_expand_path): Fix
NULL-dereference in cases where gnome_vfs_unescape_string returns
NULL.
* src/nautilus-navigation-bar.c:
(nautilus_navigation_bar_location_changed): Remove the broken
get_mapped_location function (which called g_file_exists on
partial paths so gave virtually "random" results) and just call
get_location directly.
2000-12-20 Gene Z. Ragan <gzr@eazel.com>
Fixed bug 5186, Music View (and then Nautilus) crashes playing
0-length MP3
reviewed by: Pavel Cisler <pavel@eazel.com>
Crash was caused by using an unitialized variable. Initializing
the variable to NULL and then checking the result after the
function is called solved the problem.
* components/music/nautilus-music-view.c: (get_song_text),
(music_view_set_selected_song_title):
2000-12-20 Gene Z. Ragan <gzr@eazel.com>
Fixed bug 5172, Music View doesn't always scroll when
active song off-screen
Borrowed code from NautilusCList to fix bug.
Selection now scrolls into view in a logical manner during
playback.
* components/music/nautilus-music-view.c:
(nautilus_music_view_initialize_class),
(nautilus_music_view_initialize), (nautilus_music_view_destroy),
(list_move_vertical), (list_moveto), (list_reveal_row),
(play_current_file):
2000-12-20 John Sullivan <sullivan@eazel.com>
reviewed by: Pavel Cisler <pavel@eazel.com>
Fixed bug 4842 (Link to .Trash gives "You cannot copy the Trash"
dialog) and part of bug 5221 (Trying to delete .Trash says
"The Trash cannot be moved from the desktop")
* libnautilus-extensions/nautilus-file-operations.c:
(nautilus_file_operations_copy_move): Don't disallow linking
to trash folders (was doing so accidentally); distinguish
error wording for desktop Trash icon and other trash folders.
2000-12-20 J Shane Culpepper <pepper@eazel.com>
reviewed by: Maciej Stachowiak <mjs@eazel.com>
* components/services/install/command-line/.cvsignore:
* components/services/install/command-line/Makefile.am:
* components/services/install/command-line/eazel-test-inventory.c:
(main):
* components/services/install/lib/eazel-install-logic.c:
(eazel_install_do_transaction_md5_check):
* components/services/install/lib/eazel-inventory-utils.c:
(eazel_create_configuration_metafile),
(update_gconf_inventory_digest), (eazel_gather_inventory):
* components/services/install/lib/eazel-inventory-utils.h:
* components/services/trilobite/libtrilobite/trilobite-md5-tools.c:
(trilobite_md5_get_digest), (trilobite_md5_get_digest_from_file),
(trilobite_md5_get_digest_from_md5_string),
(trilobite_md5_get_string_from_md5_digest), (main):
* components/services/trilobite/libtrilobite/trilobite-md5-tools.h:
Adding various fixes to the inventory engine and adding a test program
to validate the inventory api. Fixed the trilobite-md5-tools functions
to namespace trilobite correctly.
2000-12-19 Ramiro Estrugo <ramiro@eazel.com>
* libnautilus-extensions/Makefile.am:
Dumshit me forgot to add new files to makefile.
2000-12-19 Ramiro Estrugo <ramiro@eazel.com>
reviewed by: <delete if not using a buddy>
* libnautilus-extensions/Makefile.am:
* libnautilus-extensions/nautilus-debug-drawing.h:
* libnautilus-extensions/nautilus-debug-drawing.c:
(nautilus_debug_draw_rectangle_and_cross),
(nautilus_debug_show_pixbuf_in_eog):
New files. Put drawing debugging functions here.
* libnautilus-extensions/nautilus-gdk-pixbuf-extensions.c:
* libnautilus-extensions/nautilus-gdk-pixbuf-extensions.h:
Move drawing debugging functions to nautilus-debug-drawing.[ch].
* test/test-nautilus-font.c: (main):
Update for debug drawing functions location change.
2000-12-19 Eskil Heyn Olsen <eskil@eazel.com>
reviewed by: Maciej Stachowiak <mjs@eazel.com>
This powerpatch introduces the first parts of the ei2 work.
* components/rpmview/nautilus-rpm-view.c:
(nautilus_rpm_view_update_from_uri):
Updated the is_installed call to also pass a version sense.
* components/services/install/command-line/eazel-alt-install-corba.
c: (set_parameters_from_command_line),
(eazel_download_progress_signal), (main):
Option to enable ei2.
And since I was bored and played with adding KB/s to download.
Also reenabled the use of gnome_init since otherwise the options
were all incorrect.
* components/services/install/command-line/eazel-test-packsys.c:
(test_query), (progress_signal), (test_verify):
Made the tests easier to tweak, by having defines for the
packages/features etc that are used in the test queries.
Fixed test_verify, so it' won't report badness on verify of
multiple packages.
* components/services/install/lib/eazel-package-system-types.h:
* components/services/install/lib/eazel-package-system-types.c:
(categorylist_flatten_to_packagelist),
Moved a function from eazel-install-logic. It returns a flat list
of all the packages in a set of categories.
(packagedata_class_initialize), (packagedata_initialize),
(packagedata_finalize), (packagedata_get_type), (packagedata_new),
(packagedata_fill_in_missing), (packagedata_destroy),
gtk'ified the packagedata object (I apologize)
(eazel_install_package_matches_versioning):
Made the matches_versioning use a version sense.
Also added a PACKAGE_FILL_INVALID enum and a
EAZEL_SOFTCAT_SENSE_ANY. Guess what they mean...
Also added some gtk style defines for PackageDependency, for the
day when we actually want to abuse it into a gtkobject (shudder)
fill_in_missing now also sets the fillflag (needed for the ei2 work)
* components/services/install/command-line/eazel-test-types.c:
(test_eazel_install_package_matches_versioning):
More test of matches_versioning to test the new sense ability.
* components/services/install/idl/trilobite-eazel-install.idl:
* components/services/install/lib/eazel-install-corba.c:
(impl_Eazel_Install__set_ei2), (impl_Eazel_Install__get_ei2),
(impl_Eazel_Install__set_ignore_file_conflicts),
(impl_Eazel_Install__get_ignore_file_conflicts),
(eazel_install_get_epv):
Added the evil ei2 boolean. If set, libeazelinstall will use the
new ei2 features.
* components/services/install/lib/Makefile.am:
Added eazel-install-logic2.c which has the ei2 stuff.
* components/services/install/lib/eazel-install-logic.h:
* components/services/install/lib/eazel-install-logic.c:
(ei_install_packages), (eazel_install_download_packages),
(ei_uninstall_packages), (ei_revert_transaction),
(eazel_install_check_existing_packages),
(eazel_install_fetch_dependencies),
(eazel_uninstall_check_for_install):
Moved flatten_packages out.
Prefixed soem functions with ei_ to seperate them from the ei2
equivalents.
Suffixed emit_dependency_check with _pre_ei2 to seperate it from
the ei2 equivalent.
* components/services/install/lib/eazel-install-logic2.h:
* components/services/install/lib/eazel-install-logic2.c:
(dump_tree_helper), (dump_tree), (get_softcat_info),
(get_package_info_foreach), (get_package_info),
(dedupe_foreach_depends), (dedupe_foreach), (dedupe),
(is_satisfied), (is_satisfied_features),
(check_dependencies_foreach), (check_dependencies),
(no_two_packages_with_same_file), (check_conflicts_with_other),
(feature_consistency_check), (do_file_conflict_check),
(do_dep_check), (install_packages), (uninstall_packages),
(revert_transaction):
Implemented the first many steps of ei2. It now gets package info
and correctly constructs a tree of needed packages. It still lacks
the file and feature conflict checking.
* components/services/install/lib/eazel-install-metadata.c:
(init_default_install_configuration):
Default debug to FALSE
* 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_set_arg), (eazel_install_class_initialize),
(eazel_install_initialize), (eazel_install_install_packages),
(eazel_install_uninstall_packages),
(eazel_install_revert_transaction_from_xmlstring),
(eazel_install_emit_dependency_check),
(eazel_install_emit_dependency_check_pre_ei2),
(eazel_install_set_debug):
Shitload of code just to have one more arg (ei2). I remember how
easy this was in Emerald... *sigh*
_set_debug also sets VERBOSE debug in the packagesystem object.
Initialise also inits some new hashes for ei2.
The install, uninstall and revert checks for the ei2 setting, if
true, use the new ones, of not, use the old ones (doh)
Added a new emit_dependency that as second arg takes a
PackageDependency and mutates a correct PackageData from it.
* components/services/install/lib/eazel-install-protocols.c:
(eazel_install_fetch_package):
Back to only getting with NO_PROVIDES|NO_DEPENDENCIES when using
the old (non ei2) stuff.
* components/services/install/lib/eazel-package-system.h:
* components/services/install/lib/eazel-package-system.c:
(eazel_package_system_is_installed):
Takes a sense as last argument, make it more flexible.
* components/services/install/lib/eazel-package-system-rpm3.c:
(eazel_package_system_rpm3_packagedata_fill_from_header),
(eazel_package_system_rpm3_query_requires),
(check_if_all_packages_seen):
Removed a fixme comment.
Added a fixme comment.
Set the package fillflag in fill_from_header.
Fixed some braindamage in query_requires to limit the amount of
damage the query does.
all_packages_seen changes according to the is_installed changes.
* components/services/install/lib/eazel-softcat.c:
* components/services/install/lib/eazel-softcat.h:
Give robey more blame than me.
* components/services/install/lib/makefile.staticlib.in:
Added logic2.o
2000-12-19 John Sullivan <sullivan@eazel.com>
Fixed bug 5258 (no UI for renaming new folder in View as List)
After some email discussion, decided to bring up Properties
window in this case. Fortunately, FMDirectoryView had this case
beautifully factored so it was a cinch to add this.
* src/file-manager/fm-list-view.c:
(real_start_renaming_item): New function, presents properties
window.
(fm_list_view_initialize_class): wire up real_start_renaming_item
as start_renaming_item function pointer,
2000-12-19 Ramiro Estrugo <ramiro@eazel.com>
reviewed by: Pavel Cisler <pavel@eazel.com>
* libnautilus-extensions/nautilus-art-extensions.h:
* libnautilus-extensions/nautilus-art-extensions.c:
(nautilus_art_irect_assign),
Convenience function to assign x,y,width,height values to an
ArtIRect.
* libnautilus-extensions/nautilus-gdk-pixbuf-extensions.h:
* libnautilus-extensions/nautilus-gdk-pixbuf-extensions.c:
(nautilus_gdk_pixbuf_is_valid),
A simple private function that returns whether a pixbuf is "valid"
or not. Vailidy is meassured as not null, with valid pixel data
and non zero dimensions.
(nautilus_gdk_pixbuf_get_frame),
Private function to return the frame of a GdkPixbuf in a stucture for
better readability.
(nautilus_gdk_pixbuf_fill_rectangle_with_color),
Changed it to use ArtIRect's instead of GdkRectangles to avoid
using unsigned and short integers. Also, use art_irect_interset()
to do clipping.
(nautilus_gdk_pixbuf_save_to_file),
Changed the pixbuf parameter to be const.
(nautilus_gdk_pixbuf_unref_if_not_null),
(nautilus_gdk_window_get_frame),
Private function to return the frame of a GdkWindow in a stucture for
better readability.
(nautilus_gdk_pixbuf_draw_to_drawable),
Renamed function to be consitent with the other pixbuf drawing
functions. Also made it use ArtIRect's instead of GdkRectangles
to avoid using unsigned and short integers. Rewrote the clipping
operations using art_irect_intersect() for better readability.
(nautilus_gdk_pixbuf_draw_to_pixbuf),
Renamed function to be consitent with the other pixbuf drawing
functions. Also made it use ArtIRect's instead of GdkRectangles
to avoid using unsigned and short integers. Rewrote the clipping
operations using art_irect_intersect() for better readability.
(nautilus_gdk_pixbuf_draw_to_pixbuf_alpha),
Renamed function to be consitent with the other pixbuf drawing
functions. Also made it use ArtIRect's instead of GdkRectangles
to avoid using unsigned and short integers. Changed the
implementation to honor all parameters including the source_x and
source_y. This is needed to work around limitation in
gdk_pixbuf_composite(). Rewrote the clipping operations using
art_irect_intersect() for better readability.
(nautilus_gdk_pixbuf_new_from_pixbuf_sub_area),
(pixbuf_destroy_callback),
New function to create pixbuf from a sub area. The pixel data is
shared an all memory bookeeping is taken care of for the caller by
simply unreffing the resulting pixbuf.
(nautilus_gdk_pixbuf_draw_to_pixbuf_tiled),
Renamed function to be consitent with the other pixbuf drawing
functions. Made the implementation work and honor all its
parameters including the origin. Rewrote the clipping
operations using art_irect_intersect() for better readability.
There was a bug (5077) about this function claiming it was not
used except in test code. This was true, but now that it works im
planning on using it in NautilusImage shortly. I have marked that
bug fixed.
(nautilus_gdk_pixbuf_show_in_eog):
New function to show a pixbuf externally in eog. Useful for
debugging pixbuf stuff.
* libnautilus-extensions/nautilus-buffered-widget.c:
(nautilus_buffered_widget_draw), (nautilus_gdk_pixbuf_tile_alpha):
Use new gdk-pixbuf extension functions.
* libnautilus-extensions/nautilus-scalable-font.c:
(nautilus_text_layout_paint):
Update for changes in fill_rectangle_with_color() api.
* src/nautilus-about.c: (nautilus_about_update_authors):
Update for changes in fill_rectangle_with_color() api.
* test/test-nautilus-font.c: (main):
Update for changes in pixbuf extensions.
2000-12-19 Darin Adler <darin@eazel.com>
* components/tree/nautilus-tree-model.c: (dump_one_file_node):
Fixed code that cast a pointer to (unsigned), which won't work on
the many platforms where pointers are bigger than ints.
2000-12-19 John Sullivan <sullivan@eazel.com>
* libnautilus-extensions/nautilus-thumbnails.c:
(nautilus_update_thumbnail_file_renamed_one):
Removed a g_assert (!vfs_file_exists). I ran into this while
testing something unrelated and Darin convinced me that it is
loony to assert anything about the state of the files on disk.
2000-12-19 John Sullivan <sullivan@eazel.com>
reviewed by: Pavel Cisler <pavel@eazel.com>
Fixed bug 2392 (need timed wait when activating file)
* src/file-manager/fm-directory-view.c:
(get_containing_window): Rewrote to avoid applying
GTK_WINDOW () cast on potential NULL object.
(fm_directory_view_activate_file): Start timed-wait when
activating file, so user can cancel it if the call_when_ready
takes a really long time.
(activate_callback): Cancel timed-wait when we hear back from
the call_when_ready.
(cancel_activate_callback): Cancel call_when_ready if the user
clicks the Cancel button in the timed-wait dialog.
* src/file-manager/fm-properties-window.c:
(fm_properties_window_present): Fixed a doubled character in
a string from my previous checkin.
2000-12-19 John Sullivan <sullivan@eazel.com>
reviewed by: Darin Adler <darin@eazel.com>
Fixed bug 2292 (no way to cancel opening a Properties window,
which could wait forever checking if a file is a directory).
Now there's a hashtable of pending files, which is used to
avoid trying to show the same window twice and to cancel
showing a window.
* src/file-manager/fm-properties-window.c:
(cancel_create_properties_window_callback): New function, used
by timed-wait mechanism to give up on not-yet-appearing
properties window.
(remove_pending_file): New helper function, removes pending
file from hashtable and stops timed-wait.
(pending_file_succeeded): New helper function called when
the wait for info is over and the window can be created.
(create_properties_window_callback): call pending_file_succeeded
before doing anything else.
(directory_view_destroyed_callback): New function, used to
cancel timed-wait if the directory view is destroyed before
the properties window has appeared.
(fm_properties_window_present): Create pending_files hashtable;
do nothing if we're already waiting for a properties window
for this file; add file to pending_files; wire up
directory_view_destroyed_callback; start timed-wait before
using call_when_ready to determine if file is a directory;
use nautilus_g_hash_table_new_free_at_exit to help catch
leaks.
Added a couple more bonobo_ui_component_freeze/thaw pairs,
though they have only a very small measured effect here.
* src/file-manager/fm-icon-view.c: (update_layout_menus),
(fm_icon_view_merge_menus): Add freeze/thaw pairs around
multiple bonobo-ui operations.
2000-12-19 Darin Adler <darin@eazel.com>
reviewed by: John Sullivan <sullivan@eazel.com>
Fixed bug 2233 (proper icon not selected switching views after
rename) by re-sending selection when the selection items change
since they might have changed names.
* src/file-manager/fm-directory-view.c: (done_loading): Moved
more of the done_loading code here for clarity.
(compare_pointers), (sort_and_check_for_intersection): Added
functions that quickly find if there's an intersection in two
GLists of NautilusFile objects.
(display_pending_files): Move some of the done_loading code into a
new function, do it after processing file changes, and add code to
send out the selection if a file change comes in for any items in
the selection (in case the name changed).
(display_selection_info_idle_callback),
(update_menus_idle_callback), (display_pending_idle_callback):
Make all of these more robust by keeping the NautilusView object
in a local variable.
(display_pending_timeout_callback): Do the "ref the NautilusView"
thing in this function too.
* check-POTFILES.pl: Added support for .xml and .cpp files and
also updated special cases for directory environment variables.
* check-THANKS.pl: Added a special case and fixed some things in
the ChangeLog too to make this output fewer false positives.
2000-12-19 Mike Fleming <mfleming@eazel.com>
* components/services/nautilus-dependent-shared/shared-service-widgets.c:
Added fixme
* components/mozilla/main.c: (main):
* components/services/summary/nautilus-view/main.c: (main):
Cleaned up the ammonite/gconf initialization mess. gconf should
always be initialized before ammonite, and ammonite should always be
initizalized if you're going to use it.
2000-12-19 Ramiro Estrugo <ramiro@eazel.com>
reviewed by: Maciej Stachowiak <mjs@eazel.com>
* libnautilus-extensions/Makefile.am:
* libnautilus-extensions/nautilus-art-extensions.c:
* libnautilus-extensions/nautilus-art-extensions.h:
* libnautilus-extensions/nautilus-gnome-extensions.c:
* libnautilus-extensions/nautilus-gnome-extensions.h:
* libnautilus-extensions/nautilus-icon-canvas-item.c:
Move the libart specific extensions to their own place where I
will soon add stuff.
2000-12-19 Ramiro Estrugo <ramiro@eazel.com>
reviewed by: Pavel Cisler <pavel@eazel.com>
* libnautilus-extensions/nautilus-gdk-pixbuf-extensions.c:
* libnautilus-extensions/nautilus-gdk-pixbuf-extensions.h:
Remove nautilus_gdk_pixbuf_draw_text(). This function was meant
to be used by embedded text. Ever since we started using anti-
aliased text via freetype, we dont need it anymore.
This yanking manuever fixes Bug 2559, since the code relevant to
that bug is now gone.
* libnautilus-extensions/nautilus-icon-factory.c: (embed_text):
Always use smooth fonts for embedded text. Remove currently
unused call to nautilus_gdk_pixbuf_draw_text().
The issue of embedded always being anti aliased will continue to
be tracked by bug 2783.
2000-12-18 Andy Hertzfeld <andy@eazel.com>
* icons/i-harddisk.png:
aligned perspective with other images in the hardware view
* icons/eazel/Back.png:
* icons/eazel/Forward.png:
* icons/eazel/Home.png:
* icons/eazel/Refresh.png:
* icons/eazel/Search.png:
* icons/eazel/SearchWeb.png:
* icons/eazel/Services.png:
* icons/eazel/Stop.png:
* icons/eazel/Up.png:
new toolbar icons from Susan. She's not quite finished with them
yet, but these are a lot closer to the final ones, and I wanted to
get them checked in before my vacation.
2000-12-18 Gene Z. Ragan <gzr@eazel.com>
Fixed an issue in sorting. When you reload a directory
into music view, the last sort mode is applied to the
newly loaded list.
* components/music/nautilus-music-view.c:
(nautilus_music_view_initialize_class),
(nautilus_music_view_initialize), (nautilus_music_view_destroy),
(sort_list), (click_column_callback), (nautilus_music_view_update):
2000-12-18 Andy Hertzfeld <andy@eazel.com>
* components/image-viewer/nautilus-image-view.c:
(zoomable_zoom_to_fit_callback), (image_bigger_than_viewer),
(scrolled_window_size_allocate_callback), (control_factory_common),
(scrollable_control_factory):
implemented initial "zoom-to-fit" if an image is bigger than the
displayable area, as requested by Mike Boich.
2000-12-18 John Sullivan <sullivan@eazel.com>
reviewed by: Rebecca Shulman <rebecka@eazel.com>
Fixed Nautilus half of bug 2109 (Images (and any other
files) with "execute" bit set will try to be executed
instead of viewed when activated). This change requires
a recent GNOME-VFS change to compile.
* src/file-manager/fm-directory-view.c: (file_is_launchable):
Test for launchability now includes asking GNOME_VFS whether
this mime type is conceivably executable.
* libnautilus-extensions/nautilus-mime-actions.c:
(nautilus_mime_get_short_list_methods_for_file): Changed
"vfs-method" to "vfs_method" to match change in GNOME-VFS.
2000-12-18 Darin Adler <darin@eazel.com>
reviewed by: John Sullivan <sullivan@eazel.com>
(Robey also looked at the install part a bit)
Fix bug 5212 (File leaks when you start and immediately quit
Nautilus).
* src/file-manager/fm-directory-view.c: (queue_pending_files):
Remove incorrect nautilus_file_list_ref that created a
NautilusFile leak.
Fix bug 5180 (Defined messages won't end up in translations) by
making sure we don't ever use "_()" inside a #define.
* libnautilus-extensions/nautilus-file-operations.c:
* libnautilus-extensions/nautilus-global-preferences.c:
* libnautilus-extensions/nautilus-icon-canvas-item.c:
* libnautilus-extensions/nautilus-icon-factory.c:
* nautilus-installer/src/installer.c:
* nautilus-installer/src/package-tree.c:
* src/file-manager/fm-desktop-icon-view.c:
* src/nautilus-location-bar.c:
Changed all localizable strings in #defines to instead use global
(const) variables. We still have the defines, though, since we
can't call gettext in a global-initialization.
2000-12-18 Gene Z. Ragan <gzr@eazel.com>
Fixed bug 5136, Exit Music View with a 2nd open Music View window -> crash
The bug was caused by a runaway timer callback. The callback is now
properly destroyed when the component is destroyed.
* components/music/nautilus-music-view.c:
(nautilus_music_view_destroy), (play_status_display),
(play_current_file), (play_button_callback):
2000-12-18 Robey Pointer <robey@eazel.com>
* components/services/trilobite/libtrilobite/trilobite-core-utils.c:
(trilobite_get_popt_context), (trilobite_init), (trilobite_main),
(trilobite_main_quit):
* components/services/trilobite/libtrilobite/trilobite-core-utils.h:
Clean up trilobite_init to not use or require X anymore (yay!).
Add a trilobite_main and trilobite_main_quit to mirror the GTK
versions (but without polling for X events). Add a way for
services to retreive their popt context for command-line argument
processing.
* components/services/install/command-line/eazel-alt-install-corba.c:
(done), (main):
* components/services/install/server/main.c:
(trilobite_service_factory_destroy), (main):
* components/services/time/service/main.c:
(trilobite_service_factory_destroy), (main):
* components/services/trilobite/sample/service/main.c:
(trilobite_service_factory_destroy), (main):
Make the command-line utilities use trilobite_main() and
trilobite_main_quit() instead of the GTK variants.
* components/services/install/lib/eazel-install-xml-package-list.c:
(generate_xml_package_list), (osd_parse_dependency):
Stop filling in the soft_depends field from XML. (The old code
that uses soft_depends doesn't expect it to be filled in and will
get confused, and this field is going away shortly anyway.)
* components/services/install/nautilus-view/main.c: (main):
* components/services/time/nautilus-view/main.c: (main):
Don't make the nautilus-views use trilobite_* functions (that
would be bad), but clean them up to look similar to each other so
it's easy to see how to copy them and make new trilobites.
2000-12-18 Robin * Slomkowski <rslomkow@eazel.com>
* nautilus.spec.in: updated version of bonobo
for no good reason, change pw2 because I never
understood it and changed /rpm3/ to rpm*
because on rpm4 systems it didn't generate the
right files.
2000-12-18 Ramiro Estrugo <ramiro@eazel.com>
reviewed by: Michael Engber <engber@eazel.com>
* libnautilus-extensions/nautilus-background.c:
(nautilus_background_draw_to_pixbuf):
* libnautilus-extensions/nautilus-background.h:
Add a new function to draw backgrounds into GdkPixbufs. Its a
simple wrapper around the draw_to_canvas() function.
Also, small tweaking of the prototypes to match "the style."
* libnautilus-extensions/nautilus-buffered-widget.c:
(create_background_pixbuf_from_ancestor):
Draw directly into the pixbuf by using
nautilus_background_draw_to_pixbuf function instead of drawing to
a Pixmap and capturing the bits.
2000-12-18 John Sullivan <sullivan@eazel.com>
reviewed by: Darin Adler <darin@eazel.com>
Fixed bug 4037 (Error dialog every time on launch when
permissions are set strangely)
Fixed bug 1115 (Need better name for "User Directory"
and "User Data Directory")
* libnautilus-extensions/nautilus-file-utilities.c:
(nautilus_get_user_main_directory): Removed g_warning when
Nautilus fails to create ~/Nautilus directory, improved
FIXME comments.
(nautilus_get_user_directory), (nautilus_get_desktop_directory):
Added FIXME comments.
* src/nautilus-application.c:
(check_required_directories): Renamed from nautilus_application_
check_user_directories; now returns FALSE if any required
directories were not created. Reworded error dialog to mention
directories by path rather than using confusing invented symbolic
names, and to tell the user to address the problem by creating
specified directories or setting permissions such that Nautilus
can create specified directories. (It used to say "restart
Nautilus", which was pretty much guaranteed to have no effect.)
(nautilus_application_startup): Now returns if
check_required_directories fails. The user has to address the
problem described in the error message before Nautilus will
launch.
2000-12-18 Gene Z. Ragan <gzr@eazel.com>
Fixed an unused variable error.
* src/file-manager/fm-desktop-icon-view.c: (create_mount_link),
(place_home_directory):
2000-12-18 Andy Hertzfeld <andy@eazel.com>
* src/nautilus-property-browser.c: (nautilus_emblem_dialog_new),
(emblem_dialog_clicked):
fixed bug 4164, "Add New Emblem" file entry can be typed in, but is
ignored. Fixed by reworking logic to read the path from it, instead
of relying on activate to set it up.
2000-12-18 Gene Z. Ragan <gzr@eazel.com>
Fixed bug 2494, Error ignored when making icon directory for link file
We now check the GnomeVFSResult. If it does != GNOME_VFS_OK, NULL
is returned. The callers of this function can properly handle a NULL
result.
* libnautilus-extensions/nautilus-link.c: (make_local_path):
2000-12-18 Gene Z. Ragan <gzr@eazel.com>
Fixed bug 2526, Error case ignored when creating desktop link file
I remvoed the error check in the three cases th ebug referenced.
If an error occurs there is not much we can do. We could tell
the user something, but the notification would be vague. If a
link is not created, there is no destructive side effect.
* src/file-manager/fm-desktop-icon-view.c: (create_mount_link),
(volume_unmounted_callback), (place_home_directory):
2000-12-18 Andy Hertzfeld <andy@eazel.com>
* src/nautilus-property-browser.c: (set_up_category_width):
fixed bug 5230, shrinking the width of Backgrounds window
causes floating point exception, by pinning the number of
columns at 1.
* icons/Makefile.am:
* icons/default.xml:
* icons/eazel/eazel.xml:
* icons/vector/vector.xml:
* icons/zoom_body.png:
* icons/eazel/zoom_body.png:
new zoom control image from Susan
2000-12-18 Gene Z. Ragan <gzr@eazel.com>
Fixed bug 2472, text_height and text_width shouldn't be
left alone when renaming.
Preserve the text_width and text_height when renaming.
Don't reset the values, just block the draw when the
renaming widget is visibile.
* libnautilus-extensions/nautilus-icon-canvas-item.c:
(draw_label_text_aa):
2000-12-17 Ali Abdin <aliabdin@aucegypt.edu>
Fix bug #4379 (problem with variablelist's)
Partial fix for bug #5118 (acronym (and other tags) do not appear
in table of contents) - Implemented for: ACRONYM, FUNCTION
Both of these are based on patches thanks to jfleck@inkstain.net
Also added experimental ScrollKeeper support to the sidebar (as
contributed by Mark Murnane from Sun). This is experimental, and
disabled by default.
* components/help/converters/gnome-db2html2/gdb3html.h:
* components/help/converters/gnome-db2html2/sect-elements.[ch]:
* components/help/converters/gnome-db2html2/toc-elements.c:
(sect_varlistentry_start_element),
(sect_varlistentry_end_element):
new functions for VARLISTENTRY support
(sect_listitem_start_element),
(sect_listitem_end_element):
Only print <LI> for itemizedlist and orderlist (for the varlist we
print it out during the varlistentry)
Makre sure we print out </LI>'s too, and remove the <P> cruft.
* components/help/converters/gnome-db2html2/toc-elements.c:
(toc_tag_characters):
New function. This will be used to print tags within the title. e.g.
<title><acronym>ASCII</acronym></title> should print out ASCII.
* components/help/hyperbola-filefmt.c:
* components/help/hyperbola-nav-tree.c:
Added a patch contributes by Mark Murnane <Mark.Murnane@ireland.sun.com>
that integrates experimental ScrollKeeper support for Hyperbola (the
Help Sidebar). This is disabled by default. You should #define
ENABLE_SCROLLKEEPER_SUPPORT to be able to use it.
* components/help/ScrollKeeper-TODO:
New file contributed by Sun.
2000-12-17 Andy Hertzfeld <andy@eazel.com>
* src/nautilus-property-browser.c:
(nautilus_property_browser_initialize_class),
(nautilus_property_browser_get_category_width),
(set_up_category_width), (update_category_width),
(nautilus_property_browser_update_contents),
(nautilus_property_browser_set_path),
(nautilus_property_browser_size_allocate):
fixed bug 3310, contents of property browser should relayout
to fit the window, by calculating the number of columns
from the window width, and overriding size_allocate to
relayout if necessary when the size changes.
2000-12-17 Gene Z. Ragan <gzr@eazel.com>
Fixed bug 3890, Resort columns while MP3 plays,
active song changes.
* components/music/nautilus-music-view.c:
(nautilus_music_view_initialize), (selection_callback),
(compare_song_numbers), (compare_song_titles),
(compare_song_artists), (compare_song_times), (compare_song_years),
(compare_song_bitrates), (click_column_callback),
(play_current_file), (nautilus_music_view_update):
Change the way the list is sorted. Use column sorting functions
that are set when the column button is clicked. Don't reload list
to resort. Make sure current selection index is updated
when the list is resorted.
2000-12-15 Andy Hertzfeld <andy@eazel.com>
* src/nautilus-sidebar.c:
(nautilus_sidebar_active_panel_matches_id), (toggle_sidebar_panel),
(nautilus_sidebar_add_panel_items),
(nautilus_sidebar_remove_panel),
(nautilus_sidebar_deactivate_panel):
fixed bug 5198, removing the displayed sidebar panel messes up
others, by closing the active panel before removing if it's the
one to be removed.
also fixed bug 1840 with this change, tab gets left behind when
sidebar panel dies, by handling the case when we can't find the
notebook page better.
2000-12-15 Gene Z. Ragan <gzr@eazel.com>
* src/file-manager/fm-desktop-icon-view.c: (create_mount_link):
Test and see how users respond to a more lenient mount policy.
We now will mount a lot of things. Just curious.
2000-12-15 Gene Z. Ragan <gzr@eazel.com>
reviewed by: Pavel Cisler <pavel@eazel.com>
Fixed bug 2400, LABEL=/ lines in /etc/fstab (used in Red Hat Beta 7)
prevents trash from working
Fixed bug 4586, Nautilus does not properly detect zip drives as removable
media
Rearchitected the way the volume monitor works. It now examines /proc/mounts
to determine what file systems are mounted. This solves several problems such
as the use of LABEL and auto in fstab. By using /proc/mounts we do not have to
worry about permissions and disk access.
* libnautilus-extensions/nautilus-volume-monitor.c:
* libnautilus-extensions/nautilus-volume-monitor.h:
(nautilus_volume_monitor_initialize),
(nautilus_volume_monitor_destroy), (floppy_sort),
(nautilus_volume_monitor_get_removable_volumes),
(nautilus_volume_monitor_get_volume_name),
(mount_volume_get_cdrom_name), (mount_volume_activate_cdrom),
(mount_volume_activate_floppy), (mount_volume_activate_ext2),
(mount_volume_activate_msdos), (mount_volume_activate_generic),
(mount_volume_get_name), (mount_volume_activate), (eject_cdrom),
(free_mount_list), (create_differed_list),
(get_current_mount_list), (verify_current_mount_state),
(mount_volumes_check_status), (mount_volume_floppy_add),
(mount_volume_ext2_add), (mount_volume_udf_add),
(mount_volume_vfat_add), (mount_volume_msdos_add),
(cdrom_ioctl_get_info), (mount_volume_iso9660_add),
(mount_volume_proc_add), (find_volumes),
(nautilus_volume_monitor_each_volume),
(nautilus_volume_monitor_each_mounted_volume),
(nautilus_volume_monitor_volume_is_mounted),
(nautilus_volume_monitor_mount_unmount_removable), (copy_volume),
(nautilus_volume_monitor_free_volume), (get_msdos_volume_name),
(get_floppy_volume_name), (mount_volume_add_filesystem):
* src/file-manager/fm-desktop-icon-view.c: (create_mount_link),
(volume_unmounted_callback), (update_disks_menu):
2000-12-15 John Sullivan <sullivan@eazel.com>
reviewed by: nobody, but Darin knew exactly what I was
doing for these two small changes so that sorta counts.
Fixed two problems found while investigating bug 4810
(typing "gzip:" in location bar crashes), though I
ended up fixing the bug entirely in gnome-vfs.
* libnautilus-extensions/nautilus-directory-async.c:
(get_info_callback): Don't call nautilus_directory_remove_file
on self-owned files.
* src/nautilus-window-manage-views.c: (handle_unreadable_location):
Don't call a file "unreadable" if it doesn't exist. Let the rest
of the error machinery handle it instead.
2000-12-15 Andy Hertzfeld <andy@eazel.com>
* libnautilus-extensions/nautilus-icon-canvas-item.c:
(hit_test_pixbuf):
liberalized the alpha threshold for hit-testing, so
semi-transparent areas hit test positively if they have
any opacity at all.
2000-12-15 Robin * Slomkowski <rslomkow@eazel.com>
* components/services/install/lib/Makefile.am: added
eazel-package-system-rpm3-private.h to EXTRA_DISTS
2000-12-15 Michael Engber <engber@eazel.com>
* src/nautilus-zoom-control.c: (draw_number),
(draw_pixbuf_with_prelight), (nautilus_zoom_control_draw),
(nautilus_zoom_control_expose),
(nautilus_zoom_control_unload_images),
(nautilus_zoom_control_load_images):
Fixed performance of zoom control drawing by elimitating
continual calls to gdk_fontset_load - bug 3317. Also fixed
a falure to unref the number strip image.
2000-12-15 John Sullivan <sullivan@eazel.com>
reviewed by: Darin Adler <darin@eazel.com>
Fixed bug 2464 ("open each item in a new window" sometimes
reuses an existing window)
* libnautilus-extensions/nautilus-global-preferences.c:
(global_preferences_register): Changed preferences text to
say "separate window" rather than "new window"
Fixed bug 2752 (double-clicking Help item causes "sidebar view
failed" message)
Fixed bug 5040 (only one dead view name gets saved for a window)
This was a tangled mess of issues, including: (1) the dialog
code was incorrectly guessing "sidebar panel" when a content
view failed in some cases (fixed); (2) view frame lifetime
issues found while working on (1) (fixed); (3) the state machine
can fail if asked to load the same location twice very quickly
(written up as bug 5197); (4) the Help sidebar panel asks to
load the same location multiple times on a double-click (fixed);
(5) Mozilla sometimes fails to load just after it has quit
(written up as bug 5199).
* components/help/hyperbola-nav-tree.c:
(hyperbola_navigation_tree_new): Connect to destroy signal of
ctree widget.
(set_pending_location): New helper function to remember the
location for which this component just initiated a load.
(hyperbola_navigation_tree_load_location): Set pending location
to NULL now that there's a new real location.
(hyperbola_navigation_tree_select_row): Don't try to start a
new load of the pending location; set the pending location when
we do start a new load.
(hyperbola_navigation_tree_destroy): free pending location.
* src/nautilus-view-frame.c:
(nautilus_view_frame_initialize_class),
(nautilus_view_frame_destroy), (nautilus_view_frame_finalize):
Don't destroy details fields until finalize, so view_frame objects
with extra refs can survive between destroy & finalize.
* src/nautilus-window-manage-views.c:
(view_frame_info_new), (view_frame_info_free): New helper
functions for dealing with the label & sidebar-panel-ness
of a view frame.
(set_view_frame_info): New helper function for storing
the label & sidebar-panel-ness of a view frame in object
data in the view frame.
(view_frame_is_sidebar_panel), (view_frame_get_label):
New helper functions for retrieving info stored in object
data in the view frame.
(report_content_view_failure_to_user_internal),
(report_current_content_view_failure_to_user),
(report_nascent_content_view_failure_to_user),
(report_sidebar_panel_failure_to_user): Reworked the functions
that put up the "view failed" dialog to take a NautilusViewFrame
and to distinguish the existing-content-view from content-view-
that's-being-created cases.
(disconnect_view_and_destroy), (disconnect_destroy_unref_view):
New helper functions for cleanly forgetting about a view.
(handle_view_failure): Use object data to distinguish content views
from sidebar panels so we'll always get the right failure dialog.
(update_state), (change_state): Get rid of dead_view_name mechanism;
the name is now stored in the view frame in all cases.
(load_content_view), (free_location_change),
(nautilus_window_begin_location_change),
(nautilus_window_set_sidebar_panels): Jigger around the reffing &
sinking of NautilusViewFrames to fix leaks and uncancelled-callback
issues.
* src/nautilus-window-private.h: remove obsolete dead_view_name
field.
* src/nautilus-window.c: (nautilus_window_destroy):
Don't free now-non-existent dead_view_name field.
2000-12-15 Darin Adler <darin@eazel.com>
reviewed by: Gene Ragan <gzr@eazel.com>
Fix bug 5176 (Theme descriptions not translated).
Fix bug 5187 (Real name in file ownership doesn't take GECOS data
into account).
* src/nautilus-theme-selector.c: (make_theme_description): Get the
theme description (which I also moved to the theme node from its
own description node) by using
nautilus_xml_get_property_translated which handles using the
gettext database to translate the property if the XML file has it
with a _ prefix.
* icons/ardmore/ardmore.xml:
* icons/arlo/arlo.xml:
* icons/default.xml:
* icons/gnome/gnome.xml:
* icons/vector/vector.xml:
Moved description to be a property of the theme node and use the
name that indicates it needs to be localized.
* po/POTFILES.in: Add all of the theme .xml files which now
potentially have localizable theme descriptions in them.
* libnautilus-extensions/nautilus-file.c: (get_real_name): Add
code to compute the real name from the GECOS info, by stripping
anything after the "," and substituting the login name,
capitalized, for any occurences of "&".
(get_user_and_real_name_from_id): Use get_real_name instead of
going for the pw_gecos field directly.
(nautilus_get_user_names): Use get_real_name instead of
going for the pw_gecos field directly.
* libnautilus-extensions/nautilus-string.h:
* libnautilus-extensions/nautilus-string.c:
(nautilus_str_strip_substring_and_after),
(nautilus_str_replace_substring), (nautilus_self_check_string):
Add two new string utility functions and self-checks for them.
These were both needed for the GECOS change.
* src/nautilus-property-browser.c: Tweak formatting.
2000-12-15 John Harper <jsh@eazel.com>
reviewed by: Darin Adler <darin@eazel.com>
* components/html/gnome-dialogs.c: (get_progress),
(glibwww_prompt), (glibwww_prompt_password),
(glibwww_prompt_username_and_password):
* components/music/configure.c: (mpg123_configure):
* components/music/fileinfo.c: (mpg123_file_info_box):
* components/music/nautilus-music-view.c: (image_button_callback):
* helper-utilities/error-dialog/nautilus-error-dialog.c:
(show_message_box):
* libnautilus-extensions/nautilus-file-operations-progress.c:
(nautilus_file_operations_progress_new):
* libnautilus-extensions/nautilus-global-preferences.c:
(nautilus_global_preferences_set_dialog_title):
* libnautilus-extensions/nautilus-program-chooser.c:
(run_program_configurator_callback),
(nautilus_program_chooser_new):
* libnautilus-extensions/nautilus-stock-dialogs.c:
(timed_wait_callback), (nautilus_simple_dialog),
(show_message_box):
* src/file-manager/fm-icon-text-window.c:
(create_icon_text_window):
* src/file-manager/fm-properties-window.c:
(create_properties_window), (select_image_button_callback):
* src/nautilus-about.c: (nautilus_about_initialize):
* src/nautilus-bookmarks-window.c: (create_bookmarks_window):
* src/nautilus-first-time-druid.c:
(nautilus_first_time_druid_show):
* src/nautilus-link-set-window.c:
(nautilus_link_set_configure_window):
* src/nautilus-property-browser.c:
(nautilus_property_browser_initialize),
(nautilus_emblem_dialog_new), (add_new_pattern):
* src/nautilus-shell.c: (display_caveat):
* src/nautilus-theme-selector.c:
(nautilus_theme_selector_initialize),
(add_new_theme_button_callback):
Added calls to gtk_window_set_wmclass with suitable instance
names and `Nautilus' class name
2000-12-15 Andy Hertzfeld <andy@eazel.com>
reviewed by: Pavel Cisler <pavel@eazel.com>
* libnautilus-extensions/nautilus-icon-canvas-item.c:
(nautilus_icon_canvas_item_initialize),
(invalidate_text_dimensions), (nautilus_icon_canvas_item_set_arg),
(measure_label_text):
fixed performance bottleneck where we measure the label text too
many times by making it use values cached in the item details.
Added code to invalidate them at the appropriate times, and
made measure_label_text short-circuit if they're valid.
2000-12-15 J Shane Culpepper <pepper@eazel.com>
reviewed by: Darin Adler <darin@eazel.com>
* components/services/install/lib/Makefile.am:
* components/services/install/lib/eazel-inventory-utils.c:
(init_package_system), (get_package_list), (add_package_info),
(str_has_prefix), (eazel_inventory_gconf_done), (check_gconf_init),
(get_digest_from_gconf), (update_gconf_inventory_digest),
(eazel_gather_inventory):
* components/services/install/lib/eazel-inventory-utils.h:
Removing hardcoded rpm calls and now using the eazel package
system lib. Added digest testing to know when the inventory
xml has changed.
2000-12-15 Darin Adler <darin@eazel.com>
* components/services/install/lib/eazel-install-xml-package-list.h:
* components/services/install/nautilus-view/nautilus-service-install.c:
* nautilus-installer/src/Makefile.am:
Got rid of lingering references to helixcode-utils.* that Robey
apparently missed when he removed those files. This should fix
clean builds and Tinderbox.
* components/services/trilobite/libtrilobite/Makefile.am: Removed
duplicate mention of file.
* src/nautilus-view-frame.c: Formatting tweak.
2000-12-15 Maciej Stachowiak <mjs@eazel.com>
* components/rpmview/nautilus-rpm-view-install.c
(nautilus_rpm_view_install_package_callback,
nautilus_rpm_view_uninstall_package_callback): Remove check for
Red Hat to match Robey's earlier changes and fix the build.
2000-12-15 Robey Pointer <robey@eazel.com>
* nautilus-installer/src/Makefile:
* nautilus-installer/src/callbacks.c: (ask_to_delete_rpms),
(ask_are_you_sure):
* nautilus-installer/src/gtk-hackery.c: (log_debug), (gtk_box_nth),
(gnome_reply_callback):
* nautilus-installer/src/installer.c:
(get_detailed_errors_foreach):
* nautilus-installer/src/installer.h:
* nautilus-installer/src/main.c:
Factor more stuff out into GTK hackery. Fix headers to sync up
with the better libtrilobite layout and to follow the moving
target that is libeazelinstall.
* nautilus-installer/src/package-tree.c:
(package_customizer_finalize), (package_customizer_unref),
(package_customizer_class_initialize),
(package_customizer_initialize), (package_customizer_new),
(package_customizer_get_type), (package_info_compare),
(package_customizer_find_package), (popup_package_dialog),
(package_customizer_recompute_bongs), (package_toggled),
(package_customizer_fill), (normalize_labels),
(package_customizer_set_package_list),
(package_customizer_get_widget), (jump_to_package_tree_page):
* nautilus-installer/src/package-tree.h:
Make the package tree into a proper GTK object.
2000-12-15 Robey Pointer <robey@eazel.com>
* components/services/install/command-line/eazel-alt-install-corba.
c: (main):
Remove check for redhat.
* components/services/install/lib/eazel-install-corba-callback.c:
* components/services/install/lib/eazel-install-metadata.c:
* components/services/install/lib/eazel-install-object.c:
* components/services/install/lib/eazel-install-xml-package-list.c:
(parse_package), (parse_category), (osd_parse_provides),
(osd_parse_implementation), (osd_parse_softpkg),
(eazel_install_packagelist_parse):
* components/services/install/lib/eazel-softcat.c:
* components/services/install/server/main.c: (main):
* components/services/summary/lib/eazel-summary-shared.c:
(parse_a_service), (parse_a_eazel_news_item),
(parse_a_update_news_item):
* components/services/time/service/trilobite-eazel-time-service.c:
(trilobite_eazel_time_service_initialize_load_config):
* components/services/trilobite/libtrilobite/Makefile.am:
* components/services/trilobite/libtrilobite/helixcode-utils.c:
* components/services/trilobite/libtrilobite/helixcode-utils.h:
* components/services/trilobite/libtrilobite/libtrilobite.h:
* components/services/trilobite/libtrilobite/makefile.staticlib.in:
* components/services/trilobite/libtrilobite/trilobite-core-messagi
ng.c: (trilobite_add_log), (trilobite_close_log),
(trilobite_debug), (trilobite_set_debug_mode),
(trilobite_set_log_handler):
* components/services/trilobite/libtrilobite/trilobite-core-messagi
ng.h:
* components/services/trilobite/libtrilobite/trilobite-core-network
.c: (trilobite_xml_get_string), (trilobite_open_uri),
(trilobite_fetch_uri), (trilobite_fetch_uri_to_file):
* components/services/trilobite/libtrilobite/trilobite-core-network
.h:
* components/services/trilobite/libtrilobite/trilobite-core-utils.c
: (trilobite_init), (trilobite_setenv):
* components/services/trilobite/libtrilobite/trilobite-core-utils.h
:
* components/services/trilobite/libtrilobite/trilobite-redirect.c:
* components/services/trilobite/libtrilobite/trilobite-service-priv
ate.h:
* components/services/trilobite/sample/command-line/main.c: (main):
* components/services/trilobite/sample/service/main.c: (main):
Clean up libtrilobite: move network and XML related funcs into
-network.c and logging stuff into -messaging.c, where they were
intended to be all along I guess. Fix header include lines from
other files to match the new locations. Ditch the archaic
helixcode stuff.
* components/services/install/lib/makefile.staticlib.in:
Fix staticlibs to add new trilobite files and to follow the MD5
funcs to their new home.
2000-12-15 Andy Hertzfeld <andy@eazel.com>
* libnautilus-extensions/nautilus-icon-canvas-item.c:
(draw_or_measure_label_text), (draw_or_measure_label_text_aa):
fixed problem with selection causing relayout, by always allocating
the space for highlighting. Also, tightened up the size of the
highlighted area.
2000-12-14 Pavel Cisler <pavel@eazel.com>
* libnautilus-extensions/nautilus-icon-canvas-item.c:
(draw_or_measure_label_text), (draw_or_measure_label_text_aa):
Some #defines to help me profile draw_measure_label_text.
Off in the build.
2000-12-14 Maciej Stachowiak <mjs@eazel.com>
sort of reviewed by: Mathieu Lacage <mathieu@eazel.com>
* src/nautilus-window-manage-views.c
(viewed_file_changed_callback): If the file we are viewing got
renamed, update the window's concept of it's location, the up
button sensitivity, the navigation bar location and the
title. This fixes bug 807 (File name in sidebar doesn't update
when file is renamed).
* libnautilus-extensions/nautilus-directory-async.c
(get_info_callback): Make sure not to free an already NULL file
info. This pathological case was being tirggered sometime when
doing a Refresh on a viewed location that got renamed.
2000-12-14 Arlo Rose <arlo@eazel.com>
* icons/eazel/eazel.xml:
* icons/eazel/sidebar_tab_pieces/*:
Changed the sidebar to reflect the solid blue Susan and Andy wanted.
2000-12-14 Andy Hertzfeld <andy@eazel.com>
* src/nautilus-sidebar-title.c: (update_icon):
made the sidebar get the right icon for the hardware
view by special-casing it like we do for services and man.
As part of this, I made the sidebar work properly with
.svg icons by calling the icon factory to load the icon.
* libnautilus-extensions/nautilus-icon-factory.c:
(nautilus_icon_factory_get_pixbuf_from_name):
added a convenience routine to fetch icons by name.
* libnautilus-extensions/nautilus-icon-factory.h:
definition for the convenience routine.
2000-12-14 Robey Pointer <robey@eazel.com>
reviewed by: Maciej Stachowiak <mjs@eazel.com>
* components/services/install/lib/eazel-install-xml-package-list.c:
(osd_parse_provides), (osd_parse_dependency),
(osd_parse_file_list), (osd_parse_implementation):
Parse package dependency info from softcat and put them in the new
'depends' list in the package. (This will replace the old
soft_depends and hard_depends fields.) Incorporate new fields
supplied by the internal triggerfish.
* components/services/install/lib/eazel-package-system-types.c:
(packagedependency_new), (packagedependency_copy),
(packagedependency_destroy), (packagedata_new),
(packagedata_deplist_copy), (packagedata_copy),
(packagedata_fill_in_missing), (packagedata_destroy),
(packagedata_status_str_to_enum), (dump_package_list),
(dump_package_deplist), (packagedata_dump_int):
* components/services/install/lib/eazel-package-system-types.h:
Add new 'depends' field and PackageDependency struct.
* components/services/install/lib/eazel-softcat.c:
(eazel_softcat_initialize), (sense_flags_to_softcat_flags),
(eazel_softcat_convert_sense_flags),
(eazel_softcat_sense_flags_to_string):
* components/services/install/lib/eazel-softcat.h:
Add functions to convert to/from softcat sense flags, and a
convenience function for converting them into a human-friendly
string like ">=".
2000-12-14 Robey Pointer <robey@eazel.com>
* components/services/install/lib/eazel-install-corba-callback.c:
(eazel_install_callback_create_corba_object),
(eazel_install_callback_initialize):
* components/services/install/lib/eazel-install-corba-callback.h:
* components/services/install/lib/eazel-install-corba.c:
(eazel_install_create_corba_object):
* components/services/install/lib/eazel-install-object.c:
(eazel_install_finalize), (eazel_install_unref),
(eazel_install_set_arg), (eazel_install_initialize):
* components/services/install/lib/eazel-install-problem.c:
* components/services/install/lib/eazel-install-problem.h:
* components/services/install/lib/eazel-install-public.h:
* components/services/install/lib/eazel-package-system-private.h:
* components/services/install/lib/eazel-package-system-rpm3.c:
(eazel_package_system_rpm3_create_dbs),
(eazel_package_system_rpm3_open_dbs),
(eazel_package_system_rpm3_initialize):
* components/services/install/lib/eazel-package-system-rpm3.h:
* components/services/install/lib/eazel-package-system-rpm4.c:
(eazel_package_system_rpm4_initialize):
* components/services/install/lib/eazel-package-system-rpm4.h:
* components/services/install/lib/eazel-package-system-skeleton.c:
(eazel_package_system_skeleton_load_package),
(eazel_package_system_skeleton_query),
(eazel_package_system_skeleton_install),
(eazel_package_system_skeleton_uninstall),
(eazel_package_system_skeleton_verify),
(eazel_package_system_skeleton_initialize):
* components/services/install/lib/eazel-package-system-skeleton.h:
* components/services/install/lib/eazel-package-system.c:
(eazel_package_system_initialize):
* components/services/install/lib/eazel-package-system.h:
Change all IS_EAZEL* macros to EAZEL_IS*, to match convention.
2000-12-14 Darin Adler <darin@eazel.com>
* components/image-viewer/nautilus-image-view.c:
(bonobo_object_factory): Remove unnecessary return_if_fail
that was referring to a field now renamed in Bonobo.
2000-12-14 Darin Adler <darin@eazel.com>
reviewed by: John Sullivan <sullivan@eazel.com>
Fix bug 2807 (support metadata removal for cases where we
move/delete files) by implementing metadata removal.
Fix bug 2199 (Saved icon positions ruin desktop layout features)
by testing and fixing other bugs now that metadata removal is
implemented.
Fix bug 5164 (exception trying to drag file) by fixing a few
placeholders in XML files that were still transparent and should
not be.
Fix bug where we don't reveal the New Folder icon (reintroduced by
my changes yesterday) by computing the icon position in a way that
works even before the canvas item is updated.
* libnautilus-extensions/nautilus-directory-metafile.c:
(get_file_node): Small change (not used for now) that might
help unify the "before metafile is read" case with the code
after the metafile is read.
(nautilus_directory_rename_file_metadata): Remove the old
file metadata before renaming the new data. Also change code
to avoid looking up things in the hash table twice.
(nautilus_directory_copy_file_metadata): Updated and added
FIXME comments.
(nautilus_directory_remove_file_metadata): Add code to
remove metadata, similar to the existing rename code.
* libnautilus-extensions/nautilus-directory.c:
(nautilus_directory_schedule_metadata_copy),
(nautilus_directory_schedule_metadata_move),
(nautilus_directory_schedule_metadata_remove): Fix code that was
using file names instead of relative URIs (essentially escaped
file names). This code was missed when we made the
switchover. Without this, changes to files with spaces in their
names didn't update metadata properly.
* libnautilus-extensions/nautilus-file-operations.c:
(build_error_string): Added blank line between the intro sentence
and the rest of the error message.
(handle_xfer_overwrite): Added blank line between the intro
sentence and the rest of the error message.
(sync_xfer_callback): Fix metadata code to remove the metadata
when creating a new file, just as it copies metadata when copying
a file. This change helps the New Folder case, but requires a fix
in gnome-vfs to set the top level boolean for the New Folder case.
(handle_new_folder_vfs_error): Added blank line between the intro
sentence and the rest of the error message.
(nautilus_self_check_file_operations): Changed the self-check to
use the standard way of testing functions that return text instead
of rolling its own.
* libnautilus-extensions/nautilus-gnome-extensions.h:
* libnautilus-extensions/nautilus-gnome-extensions.c:
(nautilus_gnome_canvas_item_get_canvas_bounds): Added a function
that's like nautilus_gnome_canvas_item_get_current_canvas_bounds
but is accurate even before the icon is updated.
* libnautilus-extensions/nautilus-icon-container.c: (reveal_icon):
Use nautilus_gnome_canvas_item_get_canvas_bounds instead of
nautilus_gnome_canvas_item_get_current_canvas_bounds. Fixes the
bug I reintroduced where New Folder icons would not be revealed.
* libnautilus-extensions/nautilus-xml-extensions.h:
* libnautilus-extensions/nautilus-xml-extensions.c:
(nautilus_xml_remove_node): Add a remove-node function. This is
needed because gnome-xml doesn't have xmlRemoveNode
implemented. This implementation is not quite complete, but
probably good enough for our purposes. A complete implementation
might have to have some handling for removing the root node and
perhaps some stuff to remove unused namespaces. Maybe this can be
rolled into gnome-xml.
* src/file-manager/nautilus-directory-view-ui.xml:
* src/nautilus-shell-ui.xml:
Added some more delimit="none" entries to make it so that the
actual placeholder definitions are not "transparent".
* libnautilus-extensions/nautilus-glib-extensions.c
(nautilus_self_check_glib_extensions): Marked some strings that
are part of a test translatable since the result might be
different in some locales. Translating the strings to the right
result makes "make check" work properly in that locale.
2000-12-14 Andy Hertzfeld <andy@eazel.com>
* src/nautilus-first-time-druid.c:
(make_hbox_user_level_radio_button), (set_up_user_level_page),
(set_up_update_page):
fixed bug 2912, better wording in the first time wizard, by revising
the text. Also, improvement the vertical alignment on the
user level selection page.
2000-12-14 Eskil Heyn Olsen <eskil@eazel.com>
* components/rpmview/nautilus-rpm-verify-window.c:
(nautilus_rpm_verify_window_set_progress):
* components/rpmview/nautilus-rpm-view-private.h:
* components/rpmview/nautilus-rpm-view.c:
(nautilus_rpm_view_initialize), (verify_failed_signal),
(nautilus_rpm_view_verify_files):
Fixed 5169 and 5170 (install and verify didn't work).
2000-12-14 Andy Hertzfeld <andy@eazel.com>
* src/nautilus-sidebar.c: (nautilus_sidebar_initialize_class),
(nautilus_sidebar_press_event), (nautilus_sidebar_release_event):
at Arlo's request, made the sidebar tabs activate on button release
instead of button press.
2000-12-14 Martin Norbäck <d95mback@dtek.chalmers.se>
reviewed by: Darin Adler <darin@eazel.com>
* po/POTFILES.in, src/nautilus-complex-search-bar.c:
Marked strings for translation and adding file to POTFILES.in
2000-12-14 Eskil Heyn Olsen <eskil@eazel.com>
* components/services/install/lib/eazel-install-logic.c:
(eazel_install_download_packages),
Set toplevel to TRUE even if not downloading, fixes 5196.
(eazel_install_do_transaction_all_files_check):
Only do interpackage file check in packages.size() > 1
* components/services/install/lib/eazel-install-object.c:
(eazel_install_initialize), (eazel_install_set_debug):
Set debug in packagesystem to FAIL, not VERBOSE. _set_debug raises
it to verbose.
2000-12-14 Maciej Stachowiak <mjs@eazel.com>
reviewed by: Pavel Cisler <pavel@eazel.com>
Major boost in tree view performance, and startup/new window
performance when tree view is on. This fixes bugs 4922 (Opening
new windows is really slow when the tree view is enabled), 5149
(http://bugzilla.eazel.com/show_bug.cgi?id=5149) and 3936
(http://bugzilla.eazel.com/show_bug.cgi?id=3936).
* components/tree/nautilus-tree-change-queue.c,
components/tree/nautilus-tree-change-queue.h: New files that
implement a change queue, so the tree view can defer processing
changes until idle time but still handle them in order.
* components/tree/Makefile.am: Add to build.
* components/tree/nautilus-tree-view.c:
(nautilus_tree_view_initialize): Initialize change queue.
(nautilus_tree_view_enqueue_change),
(nautilus_tree_view_model_node_added_callback,
nautilus_tree_view_model_node_changed_callback,
nautilus_tree_view_model_node_removed_callback,
nautilus_tree_view_model_done_loading_callback): Do no real work,
just enqueue the changes and schedule the idle callback.
(reload_model_node, reload_model_node_recursive): Don't actually
update all nodes, just enqueue changes and schedule idle
callbacks.
(schedule_pending_idle_callback): Helper function to schedule an
idle callback to process the change queue.
(dequeue_pending_idle_callback): Process the head of the change
queue, and unschedule self when done (currently it will process at
most 100 changes at one go). Keep the tree frozen while doing the
changes, to minimize redraws.
(nautilus_tree_view_insert_model_node): Moved call to
notify_node_seen here from
nautilus_tree_view_model_node_added_callback.
(nautilus_tree_view_destroy): free change queue, dnd data.
* components/tree/nautilus-tree-view-dnd.c: Prune includes.
(nautilus_tree_view_free_dnd): New function so
nautilus-tree-view.c destroy function does not need to know
internal details of tree view.
* components/tree/nautilus-tree-node.h: Removed prototypes of
nonexistent functions.
* components/tree/nautilus-tree-view.h,
components/tree/nautilus-tree-view-private.h,
components/tree/nautilus-tree-view-dnd.h: Include necessary
headers, to make these standalone, and prune unneeded headers.
2000-12-14 Andy Hertzfeld <andy@eazel.com>
* libnautilus-extensions/nautilus-icon-container.c:
(nautilus_icon_container_update_icon):
fixed bug 4219, using an image to represent itself bad when image is
too small, by scaling up the image to a minimum size if necessary.
2000-12-13 Pavel Cisler <pavel@eazel.com>
* libnautilus-extensions/nautilus-file-operations.c:
(build_error_string):
Translated error messages to English (with John's help).
2000-12-13 Eskil Heyn Olsen <eskil@eazel.com>
reviewed by: Pavel Cisler <pavel@eazel.com>
This should fix 4891 and 4892 & 4454.
* components/services/install/command-line/eazel-test-packsys.c:
(test_query), (progress_signal), (main):
Also does a test on QUERY_FLAG_REQUIRES, by checking if more then
10 packages require glibc.
Fixed the wrong order of arguments for progress_signal.
main can now take a --debug=<int> which sets the debug level in
the EazelPackageSystem.
* components/services/install/lib/eazel-package-system-rpm3.h:
* components/services/install/lib/eazel-package-system-rpm3-private
.h:
* components/services/install/lib/eazel-package-system-rpm3.c:
(eazel_package_system_rpm3_get_and_set_string_tag),
(eazel_package_system_rpm3_packagedata_fill_from_header),
(eazel_package_system_rpm3_get_db),
(eazel_package_system_rpm3_query_impl),
(eazel_package_system_rpm3_query_substr),
(eazel_package_system_rpm3_query_foreach),
(eazel_package_system_rpm3_query_requires),
(eazel_package_system_rpm3_query),
(eazel_package_system_rpm3_class_initialize),
(eazel_package_system_rpm3_initialize),
(eazel_package_system_rpm3_new):
Mindnumbing amounts of boilerplate code to make query_foreach and
query_impl virtual functions which the rpm4 class can override. I
weep for gnome and it's C usage of OO and long for the good ole
days of C++.
Also made the loops more unreadable but safer (I hope).
* components/services/install/lib/eazel-package-system-rpm4.c:
(eazel_package_system_rpm4_query_impl),
(eazel_package_system_rpm4_query_substr),
(eazel_package_system_rpm4_query_foreach),
(eazel_package_system_rpm4_class_initialize),
(eazel_package_system_rpm4_initialize):
The final juju to implement the EazelPackageSystemRpm4 class. I
will not bore you with more details.
* components/services/install/lib/eazel-package-system.c:
(eazel_package_system_query):
assert that the key is non-null.
2000-12-13 Maciej Stachowiak <mjs@eazel.com>
* components/loser/content/.cvsignore,
components/loser/sidebar/.cvsignore,
components/mozilla/.cvsignore, components/sample/.cvsignore,
libnautilus/.cvsignore, src/.cvsignore,
src/file-manager/.cvsignore: Add -ui.xml.h generated files to
.cvsignore.
2000-12-13 Maciej Stachowiak <mjs@eazel.com>
* components/services/docs/directories: New file documenting the
directory layout of components/services.
* components/services/inventory/.cvsignore,
components/services/inventory/Makefile.am,
components/services/inventory/command-line/README,
components/services/inventory/lib/.cvsignore,
components/services/inventory/lib/Makefile.am,
components/services/inventory/lib/eazel-inventory-shared.c,
components/services/inventory/lib/eazel-inventory-shared.h,
components/services/inventory/nautilus-view/.cvsignore,
components/services/inventory/nautilus-view/Makefile.am,
components/services/inventory/nautilus-view/main.c,
components/services/inventory/nautilus-view/nautilus-inventory-view.c,
components/services/inventory/nautilus-view/nautilus-inventory-view.h,
components/services/inventory/nautilus-view/nautilus-inventory-view.oafinfo:
Remove old dead inventory code.
* components/services/login/command-line/README: Remove last file
in otherwise-empty directory.
* components/services/summary/command-line/README: Ditto.
* cut-n-paste-code/widgets/gtkclist/.cvsignore: Ditto.
2000-12-13 Andy Hertzfeld <andy@eazel.com>
* icons/Makefile.am:
* icons/i-music-12.png:
* icons/i-music-12-aa.png:
* icons/i-music-24.png:
* icons/i-music-24-aa.png:
* icons/i-music-36.png:
* icons/i-music-36-aa.png:
fixed bug 3502, music icon doesn't scale well, by adding
pre-scaled icons from Susan.
* libnautilus-extensions/nautilus-icon-factory.c:
(nautilus_icon_factory_get_icon_name_for_regular_file):
removed evil special-case of text files; now it uses
whatever is defined in the mime-type database.
2000-12-13 John Harper <jsh@eazel.com>
reviewed by: Darin Adler <darin@eazel.com>
* src/file-manager/fm-properties-window.c:
(select_image_button_callback):
* src/nautilus-property-browser.c: (add_new_pattern):
* src/nautilus-theme-selector.c: (add_new_theme_button_callback):
Added calls to gtk_window_set_transient_for for file selectors
2000-12-13 J Shane Culpepper <pepper@eazel.com>
* components/services/trilobite/libtrilobite/trilobite-md5-tools.c:
Fixing improper include.
2000-12-13 J Shane Culpepper <pepper@eazel.com>
* components/services/install/lib/Makefile.am:
* components/services/install/lib/eazel-install-logic.c:
* components/services/install/lib/eazel-install-md5.c:
* components/services/install/lib/eazel-install-md5.h:
* components/services/install/lib/eazel-install-rpm-glue.c:
* components/services/install/lib/eazel-inventory-utils.c:
(add_package_info), (read_proc_info), (add_info), (add_io_info),
(add_hardware_info), (eazel_create_configuration_metafile),
(str_has_prefix):
* components/services/install/lib/eazel-inventory-utils.h:
* components/services/trilobite/libtrilobite/Makefile.am:
* components/services/trilobite/libtrilobite/trilobite-inventory-ut
ils.c:
* components/services/trilobite/libtrilobite/trilobite-inventory-ut
ils.h:
* components/services/trilobite/libtrilobite/trilobite-md5-tools.c:
(_byte_reverse), (md5_init), (md5_update), (md5_final),
(md5_transform), (md5_get_digest), (md5_get_digest_from_file),
(md5_get_digest_from_md5_string), (md5_get_string_from_md5_digest),
(main):
* components/services/trilobite/libtrilobite/trilobite-md5-tools.h:
More inventory gymnastics. Moving the md5 utils to libtrilobite where
they belong and moving the rpm specific inventory code into libeps.
Still not hooked up to the build until I remove the hardcoded rpm
stuff.
2000-12-13 Darin Adler <darin@eazel.com>
reviewed by: Rebecca Shulman <rebecka@eazel.com>
Fixed bug 2155 (type-selected icon is not successfully scrolled
into view). The code was using the wrong coordinate system.
* libnautilus-extensions/nautilus-icon-container.c: (reveal_icon):
Do the icon revealing with the
nautilus_gnome_canvas_item_get_current_canvas_bounds instead of
icon_get_bounding_box. The old code used item coordinates instead
of canvas coordinates.
(match_best_name): Added (guchar) casts to make tolower work
right, since it takes int parameters, not char.
(select_matching_name): Added (guchar) casts to make tolower work
right, since it takes int parameters, not char.
(undo_stretching): Broke out this function -- work was in-line in
key_press_event before.
(handle_typeahead): Renamed, added (guchar) casts to make isprint
work right, since it takes int parameters, not char.
(key_press_event): Use undo_stretching helper function.
(nautilus_icon_container_set_label_font_for_zoom_level): Remove
redundant NULL check.
(nautilus_icon_container_set_smooth_label_font): Ref new
font before unref'ing the old one in case they are the same.
(nautilus_icon_container_set_single_click_mode) Remove redundant
NULL check.
(nautilus_icon_container_get_is_fixed_size): Remove redundant
NULL check.
(nautilus_icon_container_set_is_fixed_size): Remove redundant
NULL check.
(check_compute_stretch), (nautilus_self_check_icon_container):
Renamed.
* libnautilus-extensions/nautilus-string.c:
(nautilus_istr_has_prefix), (nautilus_istr_has_suffix),
(nautilus_str_capitalize): Added (guchar) casts to make tolower
and toupper work right, since it they take int parameters, not
char. Removed unnecessary checks of isupper before calling tolower
and islower before calling toupper. We did the research a while
back and discovered that broken platforms like that where toupper
can munge non-lower-case-letter characters don't really exist in
practice any more.
* libnautilus-extensions/nautilus-file.c: (update_link),
(update_info_internal): Added FIXMEs to remind me to come back
here when I go fix bug 2044.
* libnautilus-extensions/nautilus-gnome-extensions.c:
(nautilus_gnome_canvas_draw_pixbuf_helper),
(nautilus_gnome_canvas_draw_pixbuf_helper_alpha): Tweak
formatting.
2000-12-13 Martin Norbäck <d95mback@dtek.chalmers.se>
reviewed by: Darin Adler <darin@eazel.com>
* components/music/nautilus-music-view.c:
(nautilus_music_view_initialize):
Added localisation of the clist titles.
2000-12-13 John Sullivan <sullivan@eazel.com>
reviewed by: Darin Adler <darin@eazel.com> (the patch;
Eli reviewed the wording change since he spotted the
problem)
Fixed bug 3378 ("inadequate permissions" message when the
permissions were in fact adequate)
* libnautilus-extensions/nautilus-file.c:
(nautilus_file_denies_access_permission):
Check for supplemental group permissions also. Thanks to
Martin Norback <d95mback@dtek.chalmers.se> for submitting
this patch.
* src/nautilus-shell-ui.xml: Reworded the tip for the
"Backgrounds and Emblems" menu item to not mention the
phrase "Property Browser"
2000-12-13 Robey Pointer <robey@eazel.com>
* nautilus.spec.in:
Fix some of the RPM descriptions and summaries so they're not
quite so wrong or vague.
* components/services/install/lib/eazel-install-object.c:
(eazel_install_initialize):
Don't try to open a user-specific rpmdb in slim mode.
* components/services/install/lib/eazel-package-system.c:
(eazel_package_system_load_implementation):
* components/services/install/lib/eazel-package-system.h:
Allow direct linking with a package system in slim mode (so that
the bootstrap installer can be built linked statically against the
rpm3 package system).
* components/services/install/lib/makefile.staticlib.in:
Include different parts of the package system in the slim
version. Eventually we're going to have to make this a little
more flexible to allow for building an rpm3 vs. rpm4 slim library.
* nautilus-installer/src/Makefile.am:
* nautilus-installer/src/gtk-hackery.c:
* nautilus-installer/src/package-tree.c:
* nautilus-installer/src/installer.h:
* nautilus-installer/src/installer.c: (create_install_page),
(add_bullet_point_to_vbox), (jump_to_error_page),
(insert_info_page), (create_finish_page_good), (create_window),
(eazel_install_preflight), (eazel_installer_add_category),
(more_check_system), (draw_splash_text), (find_old_tmpdir),
(eazel_installer_initialize):
* nautilus-installer/src/link.sh:
Move all GTK hackery into its own file (there are getting to be a
lot of these, sadly). Fix the installer to use the new package
system for now, though it will need to continue to change. Add a
new page for customizing the package tree, and temporarily make it
mandatory.
2000-12-13 Maciej Stachowiak <mjs@eazel.com>
reviewed by: Pavel Cisler <pavel@eazel.com>
* src/nautilus-profiler.c (dump_dialog_new): Replace call to the
obsolete `nautilus_gtk_extensions_set_up_close_accelerator' with a
call to `nautilus_gtk_window_set_up_close_accelerator', so the
profile build works.
2000-12-13 Andy Hertzfeld <andy@eazel.com>
* src/nautilus-sidebar-title.c:
(nautilus_sidebar_title_background_is_default),
(nautilus_sidebar_title_select_text_color):
gave Arlo the ability to control the sidebar text color for his new
sidebar by specifying the colors in the theme file.
* icons/eazel/eazel.xml:
specified the sidebar title text colors for the eazel theme
* src/nautilus-theme-selector.c: (make_theme_description):
fixed memory leak.
2000-12-13 Josh Barrow <josh@eazel.com>
* icons/eazel/eazel.xml:
Make it actually use them again. A bit ago, Arlo (without a
ChangeLog entry) checked in his new tabs, and accedently
checked in the old eazel.xml file.
2000-12-13 Josh Barrow <josh@eazel.com>
reviewed by: <mjs@eazel.com>
* nautilus.spec.in:
Update for Eazel theme sidebar pieces
2000-12-12 Pavel Cisler <pavel@eazel.com>
reviewed by: Maciej Stachowiak <mjs@eazel.com>
* libnautilus-extensions/nautilus-gdk-extensions.c:
(nautilus_gdk_window_bring_to_front):
Fix 5153: Make the call also handle showing iconified
windows.
* libnautilus-extensions/nautilus-gtk-extensions.c:
(nautilus_gtk_window_present):
Remove a FIXME.
2000-12-13 Josh Barrow <josh@eazel.com>
* icons/eazel/sidebar_tab_pieces/.cvsignore:
Make it be nick when you update.
2000-12-13 Josh Barrow <josh@eazel.com>
* configure.in:
* icons/eazel/Makefile.am:
* icons/eazel/sidebar_tab_pieces/Makefile.am:
Make everything work nicely.
2000-12-12 Arlo Rose <arlo@eazel.com>
* icons/eazel/eazel.xml:
* icons/eazel/sidebar_tab_pieces/Makefile.am:
* icons/eazel/sidebar_tab_pieces/middle-normal-normal.png:
* icons/eazel/sidebar_tab_pieces/middle-normal-prelight.png:
* icons/eazel/sidebar_tab_pieces/fill-active-prelight.png:
* icons/eazel/sidebar_tab_pieces/middle-prelight-normal.png:
* icons/eazel/sidebar_tab_pieces/fill-active.png:
* icons/eazel/sidebar_tab_pieces/right-bumper-prelight.png:
* icons/eazel/sidebar_tab_pieces/fill-empty-space.png:
* icons/eazel/sidebar_tab_pieces/right-bumper.png:
* icons/eazel/sidebar_tab_pieces/fill-prelight.png:
* icons/eazel/sidebar_tab_pieces/right-empty-space.png:
* icons/eazel/sidebar_tab_pieces/fill.png:
* icons/eazel/sidebar_tab_pieces/right-top-active-prelight.png:
* icons/eazel/sidebar_tab_pieces/left-bumper-active-prelight.png:
* icons/eazel/sidebar_tab_pieces/right-top-active.png:
* icons/eazel/sidebar_tab_pieces/left-bumper-active.png:
* icons/eazel/sidebar_tab_pieces/right-top-prelight.png:
* icons/eazel/sidebar_tab_pieces/left-bumper-prelight.png:
* icons/eazel/sidebar_tab_pieces/right-top.png:
* icons/eazel/sidebar_tab_pieces/left-bumper.png:
Added pieces for the Eazel sidebar tabs.
2000-12-12 Eskil Olsen <eskil@eazel.com>
reviewed by: My imaginary friend Oskar.
* components/services/install/lib/eazel-package-system-rpm3-private
.h:
* components/services/install/lib/eazel-package-system-rpm3.c:
(eazel_package_system_rpm3_create_dbs),
(rpm_packagedata_fill_from_file),
(eazel_package_system_rpm3_query_impl),
(eazel_package_system_rpm3_query_substr),
(eazel_package_system_rpm3_query),
(eazel_package_system_rpm3_initialize),
(eazel_package_system_rpm3_new):
GtkObject is soo lame, whoever likes this, should surely be struck
down with OO book.
* components/services/install/lib/eazel-package-system-rpm4.c:
(eazel_package_system_rpm4_query_impl),
(eazel_package_system_rpm4_query_foreach),
(eazel_package_system_rpm4_new):
Implemented more rpm4 query stuff.
2000-12-12 Gene Z. Ragan <gzr@eazel.com>
Fixed silly bug involving the new Sound Busy dialog.
It now uses the proper routines to check the status of the
sound hardware.
* components/music/mpg123.c: (mpg123_stop), (mpg123_seek):
* components/music/nautilus-music-view.c: (play_current_file),
(go_to_next_track), (go_to_previous_track):
2000-12-12 Arlo Rose <arlo@eazel.com>
* icons/eazel/eazel.xml:
* icons/eazel/side_bar_image.png:
* icons/eazel/MakeFile.am:
Added new sidebar background to Eazel theme.
Tab will show up later.
* icons/text-selection-frame.png:
Fixed corner radius in the selection.
The incorrect radius was due to a change in the way
the image was being rendered.
2000-12-12 Pavel Cisler <pavel@eazel.com>
reviewed by: Darin Adler <darin@eazel.com>
Fixed 4954 Nautilus crashes attempting to empty a .Trash
containing undeletable files
* libnautilus-extensions/nautilus-file-operations.c:
(build_error_string), (handle_xfer_vfs_error)
Reworked the error message building logic. Split up
the routine into a part that decides what the interesting
input for building the error message is and a part that
actually builds the error message. Fixed a number
of cases where a wrong error message would be used. The
actual bug in the bug report was one of the cases -- an assert
catching a case that was not handled properly.
Fixed:
part of -- 638 When a new volume gets mounted, integrate its Trash
directory.
part of -- 4143 Files dragged to trash icon on desktop seem to
vanish,
part of -- 4963 Files dragged to Trash from floppy don't appear
in Trash,
* libnautilus-extensions/nautilus-trash-monitor.c:
* libnautilus-extensions/nautilus-trash-monitor.h:
(add_one_volume_trash),
(nautilus_trash_monitor_get_trash_directories):
Added a new call that returns a list of all the Trash directories
on all the mouted volumes.
* libnautilus-extensions/nautilus-trash-directory.c: (add_volume):
Got rid of get_volume_vfs_uri_if_writable.
Used the new nautilus_volume_monitor_should_integrate_trash instead
to pick the volumes that can support trash.
* libnautilus-extensions/nautilus-volume-monitor.c:
(nautilus_volume_monitor_should_integrate_trash),
(nautilus_volume_monitor_get_volume_mount_uri):
* libnautilus-extensions/nautilus-volume-monitor.h:
Add new helper calls used by the routine that collects all the
trash uris from all mouted volumes.
* libnautilus-extensions/nautilus-file-operations.c:
(do_empty_trash):
Pass in a list of Trash directories instead of just the
single trash in the user's home directory.
Fixed:
2443 Trash is only found on EXT2 volumes
2444 Trash on read-only volumes is not displayed
remaining part of -- 4143 Files dragged to trash icon on desktop
seem to vanish,
remaining part of -- 4963 Files dragged to Trash from floppy
don't appear in Trash,
* libnautilus-extensions/nautilus-volume-monitor.c:
(nautilus_volume_monitor_should_integrate_trash):
Removed the old logic from get_volume_vfs_uri_if_writable
that only displayed trash from writable ext2 volumes.
Enumerated all the file system types that we know can
support trash.
2000-12-12 Eskil Heyn Olsen <eskil@eazel.com>
* 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:
(rpm_packagedata_fill_from_rpm_header),
(rpm_packagedata_fill_from_file), (rpm_packagedata_new_from_file),
(eazel_package_system_rpm3_load_package),
(eazel_package_system_rpm3_query_impl),
(eazel_package_system_rpm3_query_substr),
(eazel_package_system_rpm3_query_requires),
(eazel_package_system_rpm3_query):
* components/services/install/lib/eazel-package-system-skeleton.c:
(eazel_package_system_skeleton_query):
* components/services/install/lib/eazel-package-system-types.c:
(packagedata_new):
* components/services/install/lib/eazel-package-system-types.h:
* components/services/install/lib/eazel-package-system.c:
(eazel_package_system_load_package), (eazel_package_system_query):
* components/services/install/lib/eazel-package-system.h:
unsigned long to int replacement on various types.
2000-12-12 Arik Devens <arik@gnome.org>
reviewed by: Darin Adler <darin@eazel.com>
Fixed bug 5047 ("Using spaces in the location bar label for
alignment is fragile and not necessarily internationalizable") by
adding code to usize and align the label widget to be both the
right size and proper alignment no matter what language we are in.
* src/nautilus-location-bar.c: Added #defines for Location: and Go
To: so they only need to be translated once.
(style_set_handler): New function to set the label's usize to the
larger of the two strings plus padding so that it doesn't resize.
(nautilus_location_bar_initialize): Added gtk_misc_set_alignment
to the label widget (probably don't need it but it can't hurt) and
also hooked up the style_set_handler to the label widget.
(nautilus_location_bar_update_label): Removed comments about
fixing bug 5047.
2000-12-12 Darin Adler <darin@eazel.com>
reviewed by: John Sullivan <sullivan@eazel.com>
Fixed bug 1948 ("Open in New Window" menu item reuses existing
window if it exists) by separating the explicit "open in new
window" feature (always gives a new window) from the "open all
items in new windows" preference (reuses window if one with the
right location already exists).
* libnautilus/nautilus-view-component.idl: Added new
open_location_prefer_existing_window call. Renamed open_location
to open_location_in_this_window and open_location_in_new_window to
open_location_force_new_window for clarity.
* libnautilus/nautilus-view.h:
* libnautilus/nautilus-view.c:
(nautilus_view_open_location_in_this_window),
(nautilus_view_open_location_prefer_existing_window),
(nautilus_view_open_location_force_new_window):
* src/nautilus-view-frame-corba.c:
(impl_Nautilus_ViewFrame_open_location_in_this_window),
(impl_Nautilus_ViewFrame_open_location_prefer_existing_window),
(impl_Nautilus_ViewFrame_open_location_force_new_window):
* src/nautilus-view-frame-private.h:
* src/nautilus-view-frame.c:
(nautilus_view_frame_initialize_class),
(nautilus_view_frame_open_location_in_this_window),
(nautilus_view_frame_open_location_prefer_existing_window),
(nautilus_view_frame_open_location_force_new_window):
* src/nautilus-view-frame.h:
Add new call, rename old ones.
* src/file-manager/fm-directory-view.c: (open_callback): Pass parameter
to tell the open code to respect the "use new windows" preference.
(open_location): Take new WindowChoice parameter to respect preference
as appropriate.
(switch_location_and_view): Tell the code to respect the preference in
this case (opening from Open With).
(show_trash_callback): Use code that respects the preference instead of
always opening in this case.
(open_one_in_new_window): Always force a new window (used by Open
in New Window command).
(activate_callback): Pass through new WindowChoice instead of boolean.
(fm_directory_view_activate_file): Pass through new WindowChoice
instead of boolean.,
(fm_directory_view_activate_files): Respect the user preference if
opening only one file, do the "use existing window or make new one"
mode if opening more than one.
* src/nautilus-window-manage-views.c: (handle_unreadable_location):
Move check for empty location string in here.
(open_location): Moved the code for reusing existing windows out
of here. Also changed code structure to avoid redoing the
handle_unreadable_location check.
(open_location_in_this_window_callback): Renamed.
(open_location_prefer_existing_window_callback): Here's where
the code for reusing existing windows went. New callback for the
new call/signal.
(open_location_force_new_window_callback): Renamed.
* src/file-manager/fm-search-list-view.c:
(reveal_selected_items_callback): Change to use
nautilus_view_open_location_force_new_window by its new name.
* src/nautilus-window-manage-views.h: Got rid of
nautilus_window_open_location_in_new_window, which was public and
unused.
* components/adapter/nautilus-adapter.c:
(nautilus_adapter_open_location_callback):
* components/help/hyperbola-nav-index.c:
(hyperbola_navigation_index_select_row):
* components/help/hyperbola-nav-search.c:
(hyperbola_navigation_search_select_row):
* components/help/hyperbola-nav-tree.c:
(hyperbola_navigation_tree_select_row):
* components/history/nautilus-history-view.c:
(history_button_release):
* components/mozilla/nautilus-mozilla-content-view.c:
(mozilla_open_uri_callback), (mozilla_dom_mouse_click_callback):
* components/rpmview/nautilus-rpm-view.c: (go_to_button_callback):
* components/services/login/nautilus-view/nautilus-change-password-view.c:
(run_away_timer), (authn_failed), (maintenance_button_cb):
* components/services/summary/nautilus-view/nautilus-summary-callbacks.c:
(logged_in_callback), (logged_out_callback),
(preferences_button_cb), (forgot_password_button_cb),
(register_button_cb):
* components/services/summary/nautilus-view/nautilus-summary-dialogs.c:
(error_dialog_cancel_cb):
* components/services/summary/nautilus-view/nautilus-summary-footer.c:
(footer_item_clicked_callback):
* components/services/summary/nautilus-view/nautilus-summary-view.c:
(goto_service_cb), (goto_update_cb):
* components/text/nautilus-text-view.c: (handle_service_menu_item):
* components/tree/nautilus-tree-view.c: (tree_select_row_callback):
Change to use new nautilus_view_open_location_in_this_window
name. It's better because it's more explicit, but also, it's the
new name!
* libnautilus-extensions/nautilus-gdk-extensions.c:
(nautilus_gdk_window_bring_to_front): Fixed indentation.
* libnautilus-extensions/nautilus-gtk-extensions.c:
(nautilus_gtk_window_present): Put in a new implementation that
uses nautilus_gdk_window_bring_to_front instead of the old one
that did a hide followed by a show. Corrected an assert that
should have been a return_if_fail.
2000-12-12 John Sullivan <sullivan@eazel.com>
reviewed by: Darin Adler <darin@eazel.com>
Fixed bug 2327 (Alt-key combinations to show menus work on
Desktop, but shouldn't)
Had to abandon the old-Bonobo approach for this and make a
new-Bonobo approach.
* src/file-manager/nautilus-desktop-icon-view-ui.xml:
Redefine all top-level menus' labels to be "" so there won't
be any underline accelerator
* src/nautilus-desktop-window.c: (nautilus_desktop_window_new):
* src/nautilus-window-menus.c:
(remove_underline_accelerator_from_menu_title),
(nautilus_window_disable_keyboard_navigation_for_menus):
* src/nautilus-window.h: Remove the old now-useless trick to
do this.
2000-12-12 Gene Z. Ragan <gzr@eazel.com>
Fixed bug 4145, Music view fails if sound device in use
Fixed bug, 4903, slider state bleeds between music views
Changed the way that the view stects availability of sound
hardware. We now use a more just in time approach. If the
sound hardware is unavailable, a dialog is displayed with
a warning and some info about the problem. The downside
to this is that the controls always appear active. I think
this is a good tradeoff. It avoids having the controls inactive
when the sound hardware is available, as in the case of bug
4145.
* components/music/nautilus-music-view.c:
(nautilus_music_view_initialize), (get_song_text),
(play_current_file), (add_play_controls):
2000-12-12 Michael Engber <engber@eazel.com>
reviewed by: John Sullivan <sullivan@eazel.com>
* src/nautilus-window-menus.c:
(nautilus_window_bookmarks_preference_changed_callback),
(nautilus_window_initialize_bookmarks_menu):
* src/nautilus-window-private.h:
* src/nautilus-window.c: (nautilus_window_destroy):
Added a preference remove callback - which fixes bug 5147.
2000-12-12 John Sullivan <sullivan@eazel.com>
reviewed by: Darin Adler <darin@eazel.com>
Fixed a couple of places that were causing zillions of failed
assertions about hash tables on boot.
* libnautilus-extensions/nautilus-directory-metafile.c:
(create_metafile_root): Use nautilus_directory_set_metafile_contents
instead of setting field directly.
(get_file_node): Don't futz with hashtable if its NULL.
2000-12-12 John Sullivan <sullivan@eazel.com>
reviewed by: Darin Adler <darin@eazel.com>
While investigating bug 5147, which I couldn't reproduce, I found
and fixed a crashing bug with similar steps.
* src/file-manager/fm-desktop-icon-view.c:
(fm_desktop_icon_view_destroy): remove preferences callback for
home_uri_changed, so we won't crash trying to execute it after the
desktop view has been destroyed.
Fixed bug 4226 (Non-standard text field auto-selection behavior
wreaks havoc with finely tuned middle-click paste feature)
The problem here was that I had done some automatic selection
changing on focus-in and focus-out a long time ago in an attempt
to make the behavior more usable for real copy/paste and tabbing.
Unfortunately my attempt to improve the default behavior ran afoul
of the hellish X middle-click-to-paste-selected-text feature that
is a staple of every poor X window user's life. For now, I just took
out my non-standard behaviors as they aren't clearly an overall
improvement and I hadn't even tried to deploy them across Nautilus,
much less across GTK.
* src/file-manager/fm-properties-window.c:
(name_field_focus_in): Removed this function, which used to select
all the text in the field.
(name_field_focus_out): No longer deselects contents.
(create_basic_page): Don't connect to focus-in signal.
* src/nautilus-bookmarks-window.c:
(on_text_field_focus_in_event): Removed this function, which used to
select all the text in the field.
(on_text_field_focus_out_event): No longer deselects contents.
(create_bookmarks_window): Don't connect to focus-in signal.
2000-12-12 Andy Hertzfeld <andy@eazel.com>
* libnautilus-extensions/nautilus-icon-factory.c: (cache_icon_new),
(load_icon_for_scaling), (scale_icon), (get_icon_from_cache),
(nautilus_icon_factory_get_pixbuf_for_icon),
(nautilus_icon_factory_get_pixbuf_for_file):
fixed bug 4212, emblem doesn't show up when the image is a JPEG
file, by adding ".jpg" to extensions checked in the icon factory.
Fixed bug 3208, generic icon shows up for deleted emblems, by adding
a "wants_default" parameter to the icon factory get_pixbuf_for_icon
call. If "wants_default" is false, it returns NULL instead of the
generic icon. Emblem callers pass FALSE so they don't get pixmaps
for deleted emblems.
* libnautilus-extensions/nautilus-bookmark.c:
(nautilus_bookmark_get_pixbuf):
added boolean parameter to get_pixbuf_for_icon call
* libnautilus-extensions/nautilus-icon-container.c:
(nautilus_icon_container_update_icon):
added boolean parameter to get_pixbuf_for_icon call
* libnautilus-extensions/nautilus-icon-factory.h:
added "wants_default" boolean to get_pixbuf_for_icon definition
* src/file-manager/fm-list-view.c:
(fm_list_view_get_emblem_pixbufs_for_file):
added boolean parameter to get_pixbuf_for_icon call
* src/file-manager/fm-properties-window.c:
(create_image_widget_for_emblem):
added boolean parameter to get_pixbuf_for_icon call
* src/nautilus-sidebar-title.c: (update_emblems):
added boolean parameter to get_pixbuf_for_icon call
2000-12-12 Darin Adler <darin@eazel.com>
reviewed by: Pavel Cisler <pavel@eazel.com>
Fixed bug 650 (moving a large number of files is extremely slow)
by using a hash table to find metafile nodes given a file name.
Fixed bug 3410 (sorting not locale-sensitive) by making
nautilus_strcoll suitable for wider use and using it a lot more.
* libnautilus-extensions/nautilus-directory-private.h: Add a
new hash table for locating metafile nodes by file name.
* libnautilus-extensions/nautilus-directory-metafile.h: Add
nautilus_directory_set_metafile_contents call so the metafile
code will have a crack at the metafile contents right when
they are first read in.
* libnautilus-extensions/nautilus-directory-metafile.c:
(get_file_node): Locate the file node using the hash table,
and create a hash table entry when making a new file node.
(destroy_xml_string_key), (nautilus_directory_metafile_destroy):
Destroy the hash table when the directory is destroyed.
(nautilus_directory_rename_file_metadata): Remove the old hash
table entry and make a new one when the node's name is changed.
(nautilus_directory_set_metafile_contents): Create the hash
table and populate it when the metafile is read in.
* libnautilus-extensions/nautilus-string.h:
* libnautilus-extensions/nautilus-string.c: (nautilus_strcoll):
Treat a locale that can't be fetched by setlocale the same as
locale "C" and "POSIX", fall back on strcmp if strcoll says two
strings are equal, so that only identical strings get a 0.
(nautilus_strcmp_compare_func): New name for nautilus_str_compare.
(nautilus_strcoll_compare_func): New function.
(nautilus_strcasecmp_compare_func): New name for nautilus_istr_compare.
* libnautilus-extensions/nautilus-glib-extensions.h:
* libnautilus-extensions/nautilus-glib-extensions.c:
(nautilus_g_str_list_copy): Removed an unnecessary check for NULL.
(nautilus_g_str_list_alphabetize): Replaced the old sort calls
with this single call. It sorts in a locale-sensitive way, using
nautilus_strcoll.
* libnautilus-extensions/nautilus-file.c: (compare_by_name),
(compare_by_directory_name), (compare_by_emblems),
(compare_by_type), (nautilus_file_compare_name): Use
nautilus_strcoll instead of nautilus_strcmp_case_breaks_ties so we
use local sorting conventions in locales other than "C" and
"POSIX".
(nautilus_get_user_names), (nautilus_get_group_names_including):
(sort_keyword_list_and_remove_duplicates): Use the new
nautilus_g_str_list_alphabetize to sort by locale-specific
conventions.
* libnautilus-extensions/nautilus-icon-container.c:
(compare_icons_by_name): Use nautilus_strcoll instead of
nautilus_strcmp_case_breaks_ties so we use local sorting
conventions in locales other than "C" and "POSIX".
* src/file-manager/fm-properties-window.c: (get_property_names):
Use the new nautilus_g_str_list_alphabetize
* src/nautilus-window-manage-views.c: (change_selection): Use the
new nautilus_g_str_list_alphabetize
* src/nautilus-window.c: (load_view_as_menu_callback): Use the new
nautilus_g_str_list_alphabetize
* libnautilus-extensions/nautilus-directory-async.c:
(metafile_read_done_callback),
(nautilus_directory_set_up_request): Use nautilus_str_compare
under its new name, nautilus_strcmp_compare_func.
* components/services/install/command-line/.cvsignore: Added
eazel-test-types, a new generated file.
* libnautilus-extensions/nautilus-string-list.c:
(nautilus_string_list_new): Use nautilus_str_compare and
nautilus_istr_compare under their new names,
nautilus_strcmp_compare_func and nautilus_strcasecmp_compare_func.
* libnautilus-extensions/nautilus-xml-extensions.c:
(nautilus_xml_get_child_by_name): Fixed indenting.
2000-12-12 Gene Z. Ragan <gzr@eazel.com>
Fixed bug 4901, Music view displays "()" when MP3 lacks
Year tag
* components/music/nautilus-music-view.c: (get_song_text),
(read_id_tag):
Don't display Year parentheses if year tad is absent or empty
* components/music/mpg123.c: (mpg123_id3v1_to_id3v2):
* components/music/mpg123.h:
More cleanup to support ID3v2 tags. This fixes breakage
in displaying ID3v1 track numbers.
2000-12-12 Maciej Stachowiak <mjs@eazel.com>
reviewed by: Pavel Cisler <pavel@eazel.com>
Improve New Window performance when the tree view is enabled, to
partially address bug 4922 (Opening new windows is really slow
when the tree view is enabled). This affects only the New Window
case, not the initial window. Here's some timings before and after
on my laptop with a bunch of stuff expanded (times in seconds):
First window New window
Tree View Off 8 5
w/ Tree Before My Change 16 37
w/ Tree After My Change 16 20
I made this change by altering tree view semantics slightly. The
tree view used to do a force reload any time it expanded a
directory. Now it does a normal load the first time any given
directory is expanded (as at startup, or when you first expand the
node), but a force reload on subsequent collapse and
expansion. This is more in line with the way the rest of Nautilus
works.
* components/tree/nautilus-tree-expansion-state.h,
components/tree/nautilus-tree-expansion-state.c:
(nautilus_tree_expansion_state_was_ever_expanded): New function to
see if a node was ever expanded. Being initially expanded does not
count; only being expanded through an API call to
`nautilus_tree_expansion_state_expand_node' does.
(nautilus_tree_expansion_state_load_foreach_callback,
nautilus_tree_expansion_state_initialize,
nautilus_tree_expansion_state_destroy,
nautilus_tree_expansion_state_expand_node_internal,
nautilus_tree_expansion_state_expand_node): Adjusted to track
"was_ever_expanded" property right.
* components/tree/nautilus-tree-model.h,
components/tree/nautilus-tree-model.c
(nautilus_tree_model_monitor_node): Add force_reload parameter.
(nautilus_tree_model_node_begin_monitoring_no_connect): New helper
function.
(nautilus_tree_model_node_begin_monitoring,
nautilus_tree_model_node_end_monitoring): Slightly adjusted helper
functions.
* components/tree/nautilus-tree-view.c:
(filtering_changed_callback): Do a reload of the whole tree, but
not a force reload.
(expand_uri_sequence_and_select_end): Simplify logic a bit.
(expand_node_for_file): Force reload only if this node has been
expanded before.
(reload_model_node, reload_model_node_recursive,
reload_whole_tree): Make force reload an option.
2000-12-12 Maciej Stachowiak <mjs@eazel.com>
reviewed by: Pavel Cisler <pavel@eazel.com>
Fix an infinite loop problem that my last change caused:
* libnautilus-extensions/nautilus-directory-async.c:
(activation_uri_read_done): Remove setting of
activation_uri_is_up_to_date to TRUE
(activation_uri_done): and move it here, because this function
gets called directly for files that are not nautilus or gmc links,
as well as being called from activation_uri_done.
* components/services/install/command-line/.cvsignore: Add
eazel-softcat
2000-12-11 Eskil Heyn Olsen <eskil@eazel.com>
* components/services/install/lib/Makefile.am:
Stupid stupid stupid mistake in the conditionals.
2000-12-11 Andy Hertzfeld <andy@eazel.com>
* src/file-manager/fm-directory-view.c: (activate_callback):
fixed bug 2390, uri-activating security hole, by following
Frank's recommendation, which is to not allow any parameters
to the launch command, which is enforced by using execlp
instead of system.
2000-12-11 Eskil Heyn Olsen <eskil@eazel.com>
Not reviewed, I have no buddies...
* components/services/install/lib/Makefile.am:
* configure.in:
automake conditionals are a complete joke.
2000-12-11 Eskil Heyn Olsen <eskil@eazel.com>
* components/services/install/lib/eazel-package-system-rpm3-private
.h:
* components/services/install/lib/eazel-package-system-rpm3.c:
(eazel_package_system_rpm3_query):
Fixed the types, now back to automakes lack of conditionals...
2000-12-11 Eskil Heyn Olsen <eskil@eazel.com>
* components/services/install/lib/Makefile.am:
automake conditionals are figments of your imagination.
* configure.in:
More rpmcheck voodoo, might even make this compile on rh62 agains.
2000-12-11 Maciej Stachowiak <mjs@eazel.com>
reviewed by: Pavel Cisler <pavel@eazel.com>
Fix bug 4919 (Tree view crashes when you expand and collapse the
root node). I did this by changing the design of file attribute
forgetting, which I implemented recently - now when you forget an
attribute, it is merely marked out of date, not thrown away; the
old value is still available until the fresh value is actually
loaded. This fixes other potential UI problems with the old
approach but I am not sure if bugs were filed for those.
* libnautilus-extensions/nautilus-file-private.h: Added new
is_up_to_date booleans, converted all booleans and the
RequestStatus enum to bitfields. This saved 200-300k or so for me
on runs of Nautilus with the tree view on and expanded a lot.
* libnautilus-extensions/nautilus-file.h,
libnautilus-extensions/nautilus-file.c:
(nautilus_file_invalidate_attributes_internal,
nautilus_file_invalidate_attributes,
nautilus_file_invalidate_all_attributes): Renamed to match new
semantics.
(update_info_internal): Mark file info up to date.
(invalidate_directory_count), (invalidate_deep_counts),
(invalidate_mime_list), (invalidate_top_left_text),
(invalidate_file_info), (invalidate_activation_uri): renamed from
forget_*, and changed to only mark the attributes invalid, not
actually throw them out.
* libnautilus-extensions/nautilus-directory-async.c:
(lacks_directory_count, lacks_top_left, lacks_info,
lacks_mime_list, lacks_activation_uri): Check _is_up_to_date bit
for relevant attribute, not got_ or _failed bits. If the info is
out of date, we want to retry eve if we already got it or it
already failed.
(directory_count_callback, mime_list_callback,
top_left_read_callback, get_info_callback,
activation_uri_read_done): Mark corresponding attributes up to
date.
(dequeue_pending_idle_callback): Mark directory_count and
mime_list up to date if appropriate.
(file_info_start): Mark file info up to date on invalid URI error.
(nautilus_directory_invalidate_counts): Mark directory count and
mime list out of date, but do not forget them.
(nautilus_directory_invalidate_file_attributes): Renamed.
(nautilus_directory_force_reload): Deal with rename.
(cancel_loading_attributes,
nautilus_directory_cancel_loading_file_attributes): Replace forget
with invalidate in some comments.
* libnautilus-extensions/nautilus-link.c
(forget_file_activation_uri): Handle function renames.
* src/nautilus-window-manage-views.c
(nautilus_window_begin_location_change): Likewise
2000-12-11 Eskil Olsen <eskil@eazel.com>
* components/services/install/lib/eazel-package-system-rpm3-private
.h:
* components/services/install/lib/eazel-package-system-rpm3.h:
* components/services/install/lib/eazel-package-system-rpm3.c:
(make_rpm_argument_list), (eazel_package_system_rpm3_create_dbs),
(rpm_open_db), (eazel_package_system_rpm3_open_dbs),
(eazel_package_system_rpm3_close_dbs),
(eazel_package_system_rpm3_free_dbs),
(eazel_package_system_rpm3_query_impl),
(eazel_package_system_rpm3_query_substr),
(eazel_package_system_rpm3_query_requires),
(eazel_package_system_rpm3_query),
(eazel_package_system_rpm3_finalize),
(eazel_package_system_rpm3_initialize),
(eazel_package_system_rpm3_new):
Created a private part for EazelPackageSystemRpm3
* components/services/install/lib/eazel-install-rpm-glue.c:
(eazel_install_do_rpm_dependency_check):
Fondle the private parts of EazelPackageSystemRpm3 (eew,
can't wait to get rid of this code).
* components/services/install/lib/eazel-package-system-rpm4.h:
* components/services/install/lib/eazel-package-system-rpm4.c:
(eazel_package_system_rpm4_query_foreach),
(eazel_package_system_rpm4_finalize),
(eazel_package_system_rpm4_initialize),
(eazel_package_system_rpm4_new),
(eazel_package_system_implementation):
Began hacking on the missing RPM4 pieces.
2000-12-11 Gene Z. Ragan <gzr@eazel.com>
Fixed bug 4900, Nautilus doesn't support ID3 v2.x tags
* components/music/mpg123.c:
* components/music/mpg123.h:
* components/music/nautilus-music-view.c: (read_id_tag):
Add support for both v1 and v2 ID3 tags.
2000-12-11 Eskil Heyn Olsen <eskil@eazel.com>
* README:
Blabla about rpm 4 on redhat 7.0
* configure.in:
* nautilus.spec.in:
configure now carves the rpm version found into the spec file as a
requirement.
2000-12-11 Mike Fleming <mfleming@eazel.com>
* components/mozilla/main.c: (main):
* src/nautilus-window-service-ui.c: (goto_online_storage),
(goto_software_catalog):
bugzilla.eazel.com 5035
removed ammonite_shutdown call, ammonite_init is now resiliant
to multiple calls and registers an atexit function.
2000-12-11 Gene Z. Ragan <gzr@eazel.com>
reviewed by: Pavel Cisler <pavel@eazel.com>
Fixed bug 3818, Sorting of album is case insensitive
* libnautilus-extensions/nautilus-string.c:
* libnautilus-extensions/nautilus-string.h:
(nautilus_strcmp_case_breaks_ties), (nautilus_strcoll):
New function that wraps strcoll. It checks the locale and if it is
specific, uses strcoll. If the locale is generic "C" or "POSIX",
sorting is done using nautilus_strcmp_case_breaks_ties.
Fixed bug 5126, Press "Pause" and "Play", music view returns
to start of track.
* components/music/nautilus-music-view.c: (selection_callback),
(value_changed_callback), (sort_by_title), (sort_by_artist),
(sort_by_year), (play_button_callback), (pause_button_callback),
(get_player_state):
Some state machine logic cleanup to fix bug 5216.
2000-12-11 John Sullivan <sullivan@eazel.com>
reviewed by: Maciej Stachowiak <mjs@eazel.com>
Fixed bug 4820 (default Nautilus window too narrow; web
pages look bad)
* src/nautilus-window-private.h: Changed
NAUTILUS_WINDOW_DEFAULT_WIDTH from 700 to 800. Read the
bug report for some of the rationale discussion.
2000-12-11 Michael Engber <engber@eazel.com>
* libnautilus-extensions/nautilus-background.c:
(nautilus_background_set_image_placement_no_emit),
(nautilus_background_set_image_placement),
(nautilus_background_receive_dropped_background_image):
* libnautilus-extensions/nautilus-directory-background.c:
(nautilus_file_background_get_default_settings),
(nautilus_file_background_write_desktop_settings):
Fixed dragging a new background image onto the dekstop
so that it; writes out the new color (white) instead of
leaving the old, wrong, color setting; sets the image
placement to tiled, since all Nautilus images are
currently meant to be tiled. Bugs 3477 & 3022.
2000-12-11 Eskil Heyn Olsen <eskil@eazel.com>
reviewed by: A donkey with a rather large shrubbery
* components/rpmview/Makefile.am:
* components/rpmview/nautilus-rpm-verify-window.c:
(nautilus_rpm_verify_window_update_message):
* components/services/install/command-line/Makefile.am:
* components/services/install/command-line/eazel-test-packsys.c:
(main):
* components/services/install/lib/Makefile.am:
* components/services/install/lib/eazel-install-rpm-glue.c:
* components/services/install/lib/eazel-package-system-rpm3.c:
(rpm_create_db), (eazel_package_system_rpm3_query):
* components/services/install/lib/eazel-package-system-rpm4.c:
(eazel_package_system_rpm4_finalize),
(eazel_package_system_rpm4_new):
* components/services/install/lib/eazel-package-system-types.c:
(packagedata_list_prune):
* components/services/install/lib/eazel-package-system.c:
(eazel_package_system_load_implementation):
* components/services/install/nautilus-view/Makefile.am:
* components/services/install/server/Makefile.am:
Muy untested RedHat 7.0/RPM4 related stuff. Let's watcht the build
blow up.
* acconfig.h:
HAVE_RPM_x0 for different rpm.s
* configure.in:
More weird rpm checks
* nautilus.spec.in
No more libeazelsoftcat
2000-12-11 Darin Adler <darin@eazel.com>
reviewed by: John Sullivan <sullivan@eazel.com>
Fixed bug 5112 (Segfault on startup using non C locale). The error
was caused by localized text making it through bonobo to
gnome-xml, which only happened because we were using an incorrect
attribute name.
* libnautilus-extensions/nautilus-bonobo-extensions.c:
* libnautilus-extensions/nautilus-bonobo-extensions.h:
Removed nautilus_bonobo_set_description because there is no
attribute named "description" any more. It's now "tip".
* src/file-manager/fm-directory-view.c: (real_update_menus):
Use set_tip instead of set_description.
Another cut at the placeholder changes. I caught one problem and
John caught some others when he reviewed my last check-in.
* src/file-manager/nautilus-directory-view-ui.xml:
* src/file-manager/nautilus-icon-view-ui.xml:
* src/nautilus-service-ui.xml:
Removed some "delimit" and added others. Only the file that
actually defines a placeholder should use a delimit, and you must
always use a delimit when defining the placeholder.
2000-12-11 J Shane Culpepper <pepper@eazel.com>
reviewed by: <eskil@eazel.com>
* components/services/install/lib/Makefile.am:
Minor Makefile fix for Eskil.
2000-12-11 Darin Adler <darin@eazel.com>
* src/file-manager/nautilus-directory-view-ui.xml:
* src/file-manager/nautilus-icon-view-ui.xml:
* src/nautilus-service-ui.xml:
* src/nautilus-shell-ui.xml:
Changed all placeholders that are not supposed to be "transparent"
to use an explict 'delimit="none"' to make it clear to the bonobo
merging code that they are not transparent. This subtle rule about
the 2 different kinds of placeholder resulted in a number of bugs
that were then "fixed" by a Bonobo change that was then rolled out.
2000-12-11 John Sullivan <sullivan@eazel.com>
* icons/arlo/arlo.xml: I broke the Arlo theme with my earlier
checkin by changing references to ./backgrounds to ./patterns;
this changes them back. ./backgrounds is a directory inside the
Arlo theme folder, whose name has not been changed.
2000-12-11 Gene Z. Ragan <gzr@eazel.com>
Fixed bug 3767, Click through MP3s, multiple MP3s often selected
Fixed bug 2263, Scroll in music view, text redrawn on top
of self
Both of these bugs are caused by a bug in GtkCList. There
is a case where the gcs are set to invalid. I work around
this by queueing redraws when a new item is selected and
when the adjustment is changed during scrolling.
* components/music/nautilus-music-view.c:
(nautilus_music_view_initialize), (selection_callback),
(value_changed_callback):
2000-12-11 John Sullivan <sullivan@eazel.com>
reviewed by: Darin Adler <darin@eazel.com>
Terminology change -- the window & menu item formerly known
as "Customization" are now known as "Backgrounds and Emblems";
the swatches of image formerly known as "backgrounds" are
now known as "patterns".
After 1.0 if this window acquires more varied content we will
have to redo the menu item & window label, though we will
continue to distinguish between "backgrounds" and "patterns",
since "backgrounds" encompasses colors as well as images.
Note that this change will only appear in full (and your
"Backgrounds and Emblems" window work in full) after you've
deleted your ~/.nautilus directory and let Nautilus make you
a new one.
* libnautilus-extensions/nautilus-gdk-pixbuf-extensions.c:
(file_opened_callback): Set vfs_handle to NULL on failure.
(load_done): Don't try to close pixbuf loader if it's NULL.
These two bugs were flushed out by a temporary state on my
machine where the theme was using a non-existent file for
its background image.
* data/backgrounds/Makefile.am: removed this file, as well as
all the image files in this directory.
* data/patterns/.cvsignore:
* data/patterns/Makefile.am: New files, copied from data/backgrounds.
Also copied over all image files from data/backgrounds, which is now
obsolete.
* data/Makefile.am: Changed "backgrounds" subdir to "patterns"
* configure.in: changed data/backgrounds/Makefile to
data/patterns/Makefile
* nautilus.spec.in: Changed regular expressions with "backgrounds"
to use "patterns"
* data/browser.xml: Changed "background" to "pattern" in the
terminology in this file, which gets installed into ~/.nautilus.
You have to remove your ~/.nautilus to get a fresh one of these;
without doing so the "Backgrounds and Emblems" window will be
confused (won't crash, will use wrong terminology and sometimes
have blank content).
* icons/ardmore/ardmore.xml:
* icons/arlo/arlo.xml:
* icons/default.xml:
* icons/eazel/eazel.xml:
* icons/gnome/gnome.xml:
* icons/vector/vector.xml:
* icons/villanova/villanova.xml: Changed "backgrounds" directory
references to "patterns"
* libnautilus-extensions/nautilus-customization-data.h:
* libnautilus-extensions/nautilus-customization-data.c:
(nautilus_customization_data_new),
(nautilus_customization_data_get_next_element_for_display),
(nautilus_customization_data_destroy),
(nautilus_customization_make_pattern_chit): Change "background" to
"pattern" in many places, including one public function name.
* src/nautilus-property-browser.c:
(nautilus_property_browser_initialize),
(nautilus_property_browser_drag_data_get), (make_drag_image),
(make_color_drag_image), (remove_pattern), (remove_emblem),
(nautilus_property_browser_remove_element),
(add_pattern_to_browser), (add_new_pattern),
(add_new_button_callback), (element_clicked_callback),
(make_properties_from_directories), (add_reset_property),
(nautilus_property_browser_update_contents),
(nautilus_property_browser_set_category): Change "background" to
"pattern" in many places. Also change window title from
"Customization Options" to "Backgrounds and Emblems".
* src/nautilus-shell-ui.xml: Change "Customization..." to
"Backgrounds and Emblems...".
* test/test-nautilus-background.c: (main):
* test/test-nautilus-font.c: (create_named_background):
* test/test-nautilus-label.c:
(widget_set_nautilus_background_image): Changed test code that was
using sample images from backgrounds directory to look in patterns
directory instead.
2000-12-11 Gene Z. Ragan <gzr@eazel.com>
Fixed bug 2242, fstat /etc/mtab to check if needs
to reread (for speed)
I now use a read of /proc/mounts. This is not only faster, but
it avoids a read to disk thus saving power for portable users.
* libnautilus-extensions/nautilus-volume-monitor.c: (find_volumes):
2000-12-11 Ramiro Estrugo <ramiro@eazel.com>
* README:
Move us to use gconf from a stable branch (gconf-1-0).
2000-12-10 Eskil Heyn Olsen <eskil@eazel.com>
* components/rpmview/Makefile.am:
* components/rpmview/nautilus-rpm-verify-window.c:
(nautilus_rpm_verify_window_initialize),
(nautilus_rpm_verify_window_set_message),
(nautilus_rpm_verify_window_update_message),
(nautilus_rpm_verify_window_set_progress),
(nautilus_rpm_verify_window_set_error_mode):
* components/rpmview/nautilus-rpm-verify-window.h:
* components/rpmview/nautilus-rpm-view-install.c:
(nautilus_rpm_view_install_package_callback),
(nautilus_rpm_view_uninstall_package_callback):
* components/rpmview/nautilus-rpm-view-private.h:
* components/rpmview/nautilus-rpm-view.c:
(nautilus_rpm_view_initialize), (nautilus_rpm_view_destroy),
(add_to_clist), (nautilus_rpm_view_update_from_uri),
(verify_failed_signal), (verify_progress_signal),
(nautilus_rpm_view_verify_files),
(nautilus_rpm_view_verify_package_callback):
Fixed bug 5119, update rpmview to use EazelPackageSystem. I
still need to hook up the continue signal from the verifywindow,
this is opened as bug 5123.
* components/services/install/command-line/Makefile.am:
* components/services/install/command-line/eazel-alt-install-corba.
c:
include eazel-package-system-types instead of
eazel-install-types.h
* components/services/install/command-line/eazel-test-packsys.c:
(progress_signal), (failed_signal), (test_verify), (main):
Implemented the test for verfiy.
* components/services/install/lib/Makefile.am:
Mangled to fix 5121.
* components/services/install/lib/eazel-softcat.h:
* components/services/install/lib/eazel-install-tests.h:
* components/services/install/lib/eazel-install-xml-package-list.h:
* components/services/install/lib/eazel-install-protocols.h:
* components/services/install/lib/eazel-install-public.h:
* components/services/install/lib/eazel-install-query.h:
* components/services/install/lib/eazel-install-logic.h:
* components/services/install/lib/eazel-install-metadata.h:
* components/services/install/lib/eazel-install-object.c:
* components/services/install/lib/eazel-install-problem.h:
* components/services/install/lib/eazel-install-corba-callback.h:
* components/services/install/lib/eazel-install-corba-types.h:
include eazel-package-system-types instead of
eazel-install-types.h
* components/services/install/lib/eazel-install-logic.c:
(eazel_install_download_packages),
(eazel_install_check_for_file_conflicts),
(eazel_install_start_signal), (eazel_install_end_signal),
(eazel_install_progress_signal),
(eazel_install_check_existing_packages),
(eazel_uninstall_upward_traverse),
(eazel_uninstall_downward_traverse),
(eazel_uninstall_check_for_install):
Fixed signals and use FILL_NO_DIRS_IN_PROVIDES
* components/services/install/lib/eazel-install-protocols.c:
(gnome_vfs_fetch_remote_file), (eazel_install_fetch_package):
Use FILL_NO_DIRS_IN_PROVIDES
* components/services/install/lib/eazel-install-rpm-glue.h:
* components/services/install/lib/eazel-install-rpm-glue.c:
(eazel_install_do_rpm_dependency_check):
include eazel-package-system-types instead of
eazel-install-types.h
Also open/close the db when doing the rpmdepCheck call.
* components/services/install/lib/eazel-install-types.c:
* components/services/install/lib/eazel-install-types.h:
Removed
* components/services/install/lib/eazel-package-system.h:
* components/services/install/lib/eazel-package-system-private.h:
* components/services/install/lib/eazel-package-system.c:
(eazel_package_system_load_implementation),
(eazel_package_system_verify),
(eazel_package_system_emit_progress):
* components/services/install/lib/eazel-package-system-rpm3-private
.h:
* components/services/install/lib/eazel-package-system-rpm3.c:
(monitor_rpm_process_pipe), (eazel_package_system_rpm3_create_dbs),
(eazel_package_system_rpm3_open_dbs),
(eazel_package_system_rpm3_close_dbs),
(eazel_package_system_rpm3_free_dbs),
(rpm_packagedata_fill_from_rpm_header),
(rpm_packagedata_fill_from_file), (rpm_packagedata_new_from_file),
(eazel_package_system_rpm3_load_package),
(eazel_package_system_rpm3_query_impl),
(eazel_package_system_rpm3_query_substr),
(eazel_package_system_rpm3_query), (check_if_all_packages_seen),
(eazel_package_system_rpm3_install_uninstall),
(eazel_package_system_rpm3_verify_impl),
(get_num_of_files_in_packages), (eazel_package_system_rpm3_verify),
(eazel_package_system_rpm3_finalize),
(eazel_package_system_rpm3_new),
(eazel_package_system_implementation):
* components/services/install/lib/eazel-package-system-rpm4.c:
(eazel_package_system_rpm4_query),
(eazel_package_system_rpm4_finalize),
(eazel_package_system_rpm4_class_initialize),
(eazel_package_system_rpm4_initialize),
(eazel_package_system_rpm4_get_type),
(eazel_package_system_rpm4_new),
(eazel_package_system_implementation):
* components/services/install/lib/eazel-package-system-rpm4.h:
* components/services/install/lib/eazel-package-system-skeleton.c:
(eazel_package_system_skeleton_verify):
Shuffled the order of the info longs and the package in the
progress signal.
Implemented verify in rpm3 (fixes bug 5120)
First pieces of code for the rpm4 module.
Unfortunately, since rpmview now also has a eazelpackagesystem
object, I ran into the problem of database locking. The rpmview
would have a read-only version of all the db files, thereby
failing in install because trilobite-eazel-install-service spawned
a rpm that could not get exclusive lock. To fix this, I now have
the db closed at all times, but open/close it everytime I do
something. Unfortunately for the queryloops in
eazel-install-logic, this means opening/closing on every
query. Optionally, I should consider exposing
eazel_package_system_open/close_dbs, so the caller can do it. But
that makes the api a bit more cumbersome.
* components/services/install/lib/eazel-package-system-types.h:
* components/services/install/lib/eazel-package-system-types.c:
(eazel_install_protocol_as_string), (categorydata_new),
(categorydata_list_copy), (categorydata_copy),
(categorydata_destroy_foreach), (categorydata_destroy),
(categorydata_list_destroy), (packagedata_new),
(packagedata_list_copy), (packagedata_copy),
(packagedata_fill_in_missing), (packagedata_destroy),
(packagedata_remove_soft_dep), (rpmfilename_from_packagedata),
(rpmname_from_packagedata), (packagedata_get_readable_name),
(packagedata_get_name), (packagedata_hash_equal),
(packagedata_status_enum_to_str), (packagedata_status_str_to_enum),
(packagedata_modstatus_enum_to_str),
(packagedata_modstatus_str_to_enum), (packagedata_add_pack_to),
(packagedata_add_pack_to_breaks),
(packagedata_add_pack_to_soft_depends),
(packagedata_add_pack_to_hard_depends),
(packagedata_add_pack_to_modifies), (packagedata_list_prune),
(packagerequirement_new),
(eazel_install_package_provides_basename_compare),
(eazel_install_package_provides_compare),
(eazel_install_package_name_compare),
(eazel_install_package_compare),
(eazel_install_requirement_dep_compare),
(eazel_install_requirement_dep_name_compare),
(eazel_install_package_version_compare),
(eazel_install_package_other_version_compare),
(eazel_install_package_matches_versioning),
(eazel_install_gtk_marshal_NONE__POINTER_INT_INT_INT_INT_INT_INT),
(gstr_indent), (dump_package_list), (packagedata_dump_int),
(packagedata_dump):
Renamed eazel-install-types to eazel-package-system-types
* components/services/install/nautilus-view/Makefile.am:
Fixed linking after fix to 5121.
* components/services/install/nautilus-view/nautilus-service-instal
l-view.h:
include eazel-package-system-types instead of
eazel-install-types.h
* components/services/install/server/Makefile.am:
Fixed linking after fix to 5121.
* components/services/trilobite/libtrilobite/trilobite-root-helper.
c: (eazel_helper_start):
Don't mention the info msg's from userhelper.
* po/POTFILES.in:
Renamed eazel-install-types to eazel-package-system-types.
2000-12-10 J Shane Culpepper <pepper@eazel.com>
* components/services/summary/nautilus-view/Makefile.am:
* components/services/summary/nautilus-view/nautilus-summary-callba
cks.c: (service_tab_selected_callback),
(updates_tab_selected_callback):
* components/services/summary/nautilus-view/nautilus-summary-callba
cks.h:
* components/services/summary/nautilus-view/nautilus-summary-footer
.c: (footer_item_clicked_callback):
* components/services/summary/nautilus-view/nautilus-summary-footer
.h:
* components/services/summary/nautilus-view/nautilus-summary-view.c
:
More minor cleaning to make the summary view more managable.
2000-12-09 Andy Hertzfeld <andy@eazel.com>
* src/file-manager/fm-properties-window.c: (create_basic_page),
(create_properties_window), (ensure_uri_is_image),
(set_custom_image), (select_image_button_callback),
(remove_image_button_callback):
fixed bug 2167, no way to add custom icons for files without a viewer,
by adding buttons for adding and removing custom icons to the
properties window.
2000-12-09 J Shane Culpepper <pepper@eazel.com>
* components/services/summary/nautilus-view/Makefile.am:
* components/services/summary/nautilus-view/nautilus-summary-callba
cks.c: (authn_cb_succeeded), (authn_cb_failed), (login_button_cb),
(logout_button_cb), (logged_in_callback), (logged_out_callback),
(preferences_button_cb), (forgot_password_button_cb),
(register_button_cb):
* components/services/summary/nautilus-view/nautilus-summary-callba
cks.h:
* components/services/summary/nautilus-view/nautilus-summary-dialog
s.c: (generate_error_dialog), (generate_login_dialog),
(widget_set_nautilus_background_color), (error_dialog_cancel_cb),
(get_window_from_summary_view), (set_dialog_parent),
(name_or_password_field_activated):
* components/services/summary/nautilus-view/nautilus-summary-dialog
s.h:
* components/services/summary/nautilus-view/nautilus-summary-menu-i
tems.c: (update_menu_items), (merge_bonobo_menu_items),
(bonobo_register_callback), (bonobo_login_callback),
(bonobo_logout_callback), (bonobo_preferences_callback):
* components/services/summary/nautilus-view/nautilus-summary-menu-i
tems.h:
* components/services/summary/nautilus-view/nautilus-summary-view-p
rivate.h:
* components/services/summary/nautilus-view/nautilus-summary-view.c
: (updates_tab_selected_callback):
Breaking the summary view up into separate files. It was getting
way to monolithic. Still needs more cleanup from the rewrite before
pr2 but much more managable now. Getting it ready for inventory
additions.
2000-12-08 Gene Z. Ragan <gzr@eazel.com>
Fixed bug 5102, Changing to or from Music View advances song in
second window.
* components/music/nautilus-music-view.c: (stop_playing_file):
Only stop playback if playback is occurring. Otherwise
esd get's confused and temporarily halts playback causeing
the status callback to advnace the song counter in any music
view that is playing.
2000-12-08 Andy Hertzfeld <andy@eazel.com>
* src/nautilus-sidebar-title.c: (update_emblems):
fixed crash at launch revealed by recent changes by not trying to
update the emblems in the sidebar if we don't have a
file object yet.
2000-12-08 John Sullivan <sullivan@eazel.com>
reviewed by: Darin Adler <darin@eazel.com>
Fixed bug 5029 (File count in sidebar might not match displayed
search results list due to filtering)
* libnautilus-extensions/nautilus-search-uri.h:
* libnautilus-extensions/nautilus-search-uri.c:
(nautilus_get_target_uri_from_search_result_name):
New function to extract the sooper-secretly encoded
actual search result URI from the search result "file name".
* libnautilus-extensions/nautilus-directory-async.c:
(should_display_file_name): New helper function that users
user preferences to determine whether a file should be
displayed, based only on its name.
(filter_search_uri): New filter function used on search
results
(get_file_count_filter) New function, result depends on
whether directory is a search directory.
(start_monitoring_file_list): Use get_file_count_filter.
* src/file-manager/fm-search-list-view.c: (real_add_file):
Use nautilus_get_target_uri_from_search_result_name instead
of spreading out the sooper secret knowledge.
Fixed bug 5014 (Control-w should close the properties dialog)
I made Control-w close a bunch o' windows without menus.
* libnautilus-extensions/nautilus-gtk-extensions.h:
* libnautilus-extensions/nautilus-gtk-extensions.c:
(handle_standard_close_accelerator): New helper function,
closes the window if the key was the close accelerator.
(nautilus_gtk_window_event_is_close_accelerator): New public
function, checks whether a key event is the close accelerator.
(nautilus_gtk_window_set_up_close_accelerator): New public
function, one-stop shopping for most clients that want to
have Control-w close a window.
* libnautilus-extensions/nautilus-preferences-dialog.c:
(nautilus_preferences_dialog_construct):
* src/file-manager/fm-icon-text-window.c:
(create_icon_text_window):
* src/nautilus-about.c: (nautilus_about_initialize):
* src/nautilus-profiler.c: (dump_dialog_new):
* src/nautilus-theme-selector.c:
(nautilus_theme_selector_initialize):
* src/file-manager/fm-properties-window.c:
(fm_properties_window_initialize):
Simple cases, just use nautilus_gtk_window_set_up_close_accelerator
so Control-w closes window.
* src/nautilus-bookmarks-window.c:
(save_geometry_and_hide): New helper function, saves geometry
before hiding window.
(on_window_delete_event): Call save_geometry_and_hide; move
other code into hide event handler since it should happen on
every hide.
(restore_geometry): Idle function to restore geometry after
window is hidden (sounds strange, but that's the way it works).
(on_window_hide_event): Do the every-hide work formerly done
in delete_event handler; call restore_geometry at idle time
because it must be called after window is hidden to work right.
(on_window_destroy_event): remove idle handler in this case
(only happens when Nautilus is exiting).
(handle_close_accelerator), (set_up_close_accelerator):
Similar to nautilus_gtk_window_ versions of these functions,
but also handle saving the geometry before hiding.
(create_bookmarks_window): Call set_up_close_accelerator;
wire up "hide" and "destroy" events.
* src/nautilus-property-browser.c:
(nautilus_property_browser_delete_event_callback),
(nautilus_property_browser_hide_callback): Move code that
should run on "hide" from "delete_event" handler to "hide"
handler; this didn't matter before when clicking was the only
way to close the window.
(nautilus_property_browser_initialize): Wire up "hide" handler;
call nautilus_gtk_window_set_up_close_accelerator.
2000-12-08 Pavel Cisler <pavel@eazel.com>
reviewed by: Gene Z. Ragan <gzr@eazel.com>
Fixed 5074: Should give a NULL description in cases where the mime
type isn't known.
* libnautilus-extensions/nautilus-file.c: (get_description):
It is now an error for a MIME type to ever be NULL. Added an assert,
removed a special case code for handling directories even when
we do not know the mime type.
Fixed 5073: old code to give type "program" for some files (unkown
MIME type) is not triggering any more.
* libnautilus-extensions/nautilus-file.c: (get_description):
Changed the check that looked for an empty MIME string to a
compare for a MIME type of "application/octet-stream".
Fixed 5021: Create Link in View as List -> Nautilus Crashes.
* src/file-manager/fm-directory-view.c:
(fm_directory_view_create_links_for_files):
This was just a broken assert that didn't cover the case of an
empty drop point list.
* libnautilus-extensions/nautilus-file.c:
(nautilus_file_get_mime_type):
* libnautilus-extensions/nautilus-mime-actions.c:
(is_known_mime_type):
Use a symbolic name for "application/octet-stream".
2000-12-08 Darin Adler <darin@eazel.com>
reviewed by: John Sullivan <sullivan@eazel.com>
Fixed bug 2244 (trash window sidebar should have trash icon).
* libnautilus-extensions/nautilus-icon-factory.c:
(nautilus_icon_factory_get_icon_name_for_directory): Added code to
give the trash its own icon.
(nautilus_icon_factory_get_icon_for_file): Rearranged to simplify
it a bit.
* libnautilus-extensions/Makefile.am:
* libnautilus-extensions/nautilus-trash-monitor.h:
* libnautilus-extensions/nautilus-trash-monitor.c:
Moved trash monitor to here.
(nautilus_trash_files_changed_callback): Do nautilus_file_changed
on the trash NautilusFile object when the state changes from full
to empty or from empty to full.
* src/file-manager/Makefile.am:
* src/file-manager/nautilus-trash-monitor.h:
* src/file-manager/nautilus-trash-monitor.c:
Moved trash monitor from here.
* src/file-manager/fm-desktop-icon-view.c:
* src/file-manager/fm-directory-view.c:
Changed includes to include trash monitor from new location.
* libnautilus-extensions/nautilus-directory-metafile.c:
(get_metadata_string_from_metafile),
(get_metadata_list_from_metafile),
(set_metadata_string_in_metafile), (set_metadata_list_in_metafile):
Remove some dead code left over from handling of directory metadata.
We don't have directory metadata any more, only file metadata.
2000-12-08 Michael Engber <engber@eazel.com>
* libnautilus-extensions/nautilus-global-preferences.c:
(global_preferences_register):
* src/file-manager/fm-desktop-icon-view.c: (real_merge_menus):
* src/file-manager/nautilus-desktop-icon-view-ui.xml:
* src/nautilus-application.c: (nautilus_application_startup),
(desktop_changed_callback):
* src/nautilus-application.h:
* src/nautilus-main.c: (main):
Remove command line args --start-desktop & --stop-desktop and the
"Quit Nautilus Desktop" item from the desktop right click menu.
Add the command line arg: --no-default-window. Default for the
show desktop pref is now ON.
2000-12-08 Darin Adler <darin@eazel.com>
reviewed by: John Sullivan <sullivan@eazel.com>
* libnautilus-extensions/nautilus-icon-container.c:
(nautilus_icon_container_initialize): Added FIXME about hard-coded
font and size.
(nautilus_icon_container_start_renaming_selected_item): Fix bug
5078 by removing useless empty signal handlers.
(end_renaming_mode): Fix bug 5079 by merging the remaining code
from the old hide_rename_widget in after deleting some of it.
This is more parallel with the start renaming function.
* libnautilus-extensions/nautilus-icon-private.h: Removed the
unused rename_editable field.
* libnautilus-extensions/nautilus-icon-text-item.c:
(iti_stop_editing): Now that the strange "persistent" editable is
no longer used, restore the code used to destroy the editable when
not editing. This also fixes a storage leak.
(nautilus_icon_text_item_get_text): Change return type to const
char * to make it clear it's not free-able.
(nautilus_icon_text_item_get_renaming_editable): Change the
return type to GtkEditable *.
* libnautilus-extensions/nautilus-icon-text-item.h: Change
return types of get_text and get_renaming_editable.
* src/file-manager/fm-directory-view.c: (queue_pending_files),
(filtering_changed_callback): Added FIXMEs about special cases
for the desktop.
* src/file-manager/fm-icon-view.c: (fm_icon_view_begin_loading):
Improved wording of a comment.
2000-12-08 Andy Hertzfeld <andy@eazel.com>
* src/nautilus-property-browser.c:
(nautilus_property_browser_update_contents):
fixed bug 5045, browser assumes categories end in 's', by removing
the offending code, which wasn't used anyway. fixed bug 5046,
shouldn't upper-case category names, by casing out instead.
2000-12-08 Darin Adler <darin@eazel.com>
reviewed by: Maciej Stachowiak <mjs@eazel.com>
* libnautilus-extensions/nautilus-undo-signal-handlers.c:
(editable_key_press_event): Fixed bugs 5090 and 5091. The fix is
not even compiled right now, but it was better to improve the code
now -- we'll test when we enable it some day.
2000-12-07 Maciej Stachowiak <mjs@eazel.com>
* components/services/startup/nautilus-view/.cvsignore: Remove
file from this otherwise empty directory.
2000-12-07 Rebecca Schulman <rebecka@eazel.com>
Bug numbers for the FIXMEs in libnautilus-extensions.
* libnautilus-extensions/nautilus-customization-data.c:
(format_name_for_display):
* libnautilus-extensions/nautilus-directory-async.c:
(dequeue_pending_idle_callback), (cancel_loading_attributes),
(nautilus_directory_cancel_loading_file_attributes):
* libnautilus-extensions/nautilus-directory.c:
(nautilus_directory_handle_directory_moved),
(nautilus_directory_notify_files_moved),
(nautilus_self_check_directory):
* libnautilus-extensions/nautilus-file-utilities.c:
(nautilus_make_uri_canonical),
(pthread_nautilus_read_file_thread_entry),
(pthread_nautilus_read_file_async), (nautilus_read_file_cancel),
(nautilus_self_check_file_utilities):
* libnautilus-extensions/nautilus-file.c: (get_description),
(nautilus_file_forget_attributes_internal):
* libnautilus-extensions/nautilus-gdk-extensions.c:
* libnautilus-extensions/nautilus-gdk-pixbuf-extensions.c:
* libnautilus-extensions/nautilus-icon-container.c:
(nautilus_icon_container_start_renaming_selected_item):
* libnautilus-extensions/nautilus-icon-dnd.c:
(receive_dropped_uri_list):
* libnautilus-extensions/nautilus-icon-factory.c:
* libnautilus-extensions/nautilus-label.c:
(nautilus_label_size_allocate), (label_recompute_line_geometries):
* libnautilus-extensions/nautilus-merged-directory.c:
(nautilus_merged_directory_add_real_directory):
* libnautilus-extensions/nautilus-mime-actions.c:
(nautilus_mime_get_default_application_for_file_internal):
* libnautilus-extensions/nautilus-scalable-font.c:
(nautilus_text_layout_paint):
* libnautilus-extensions/nautilus-search-uri.c:
(nautilus_self_check_search_uri):
* libnautilus-extensions/nautilus-string.c:
* libnautilus-extensions/nautilus-undo-signal-handlers.c:
(editable_key_press_event), (nautilus_undo_editable_set_undo_key):
2000-12-07 Rebecca Schulman <rebecka@eazel.com>
Added bug numbers to FIXMEs for the src
subdirectory. If I can stomach it,
I'll try and do a few more today.
* src/file-manager/fm-directory-view.c: (duplicate_callback),
(check_for_directory_hard_limit), (load_directory):
* src/file-manager/fm-icon-view.c: (fm_icon_view_begin_loading):
* src/file-manager/fm-search-list-view.c: (load_error_callback),
(real_adding_file):
* src/nautilus-about.c: (nautilus_about_draw_info):
* src/nautilus-first-time-druid.c: (druid_cancel),
(druid_finished), (make_anti_aliased_label),
(make_hbox_user_level_radio_button), (set_up_user_level_page),
(next_update_page_callback), (initiate_file_download):
* src/nautilus-link-set-window.c: (get_link_set_names):
* src/nautilus-location-bar.c:
(nautilus_location_bar_update_label):
* src/nautilus-property-browser.c:
(nautilus_property_browser_initialize), (add_reset_property),
(make_properties_from_xml_node),
(nautilus_property_browser_update_contents):
* src/nautilus-sidebar-title.c:
(nautilus_sidebar_title_background), (update_icon):
* src/nautilus-view-frame.c:
(nautilus_view_frame_set_to_component):
* src/nautilus-window-manage-views.c:
(window_set_title_with_timestamp), (viewed_file_changed_callback),
(load_content_view), (change_state):
* src/nautilus-window-service-ui.c: (goto_online_storage),
(goto_software_catalog):
* src/nautilus-window-toolbars.c: (set_up_throbber_frame_type):
* src/nautilus-window.c: (nautilus_window_realize):
* test/test-nautilus-font.c:
2000-12-07 Andy Hertzfeld <andy@eazel.com>
* nautilus.spec.in:
added nautilus-text-view files to spec file
* src/nautilus-window-toolbars.c: (theme_changed_callback):
fixed bug 4982, throbber mispositioned when theme changes,
by toggling the toolbar's visibility when the theme changes
2000-12-07 John Sullivan <sullivan@eazel.com>
reviewed by: Darin Adler <darin@eazel.com>
Fixed bug 2230 (Search can find hidden files, which the user
can't otherwise see)
Unfortunately this fix leaves behind a related but harder-
to-fix bug, bug 5029. I'll fix that separately.
* src/file-manager/fm-directory-view.h:
* src/file-manager/fm-directory-view.c:
(fm_directory_view_should_show_file): New function, intended
for subclasses, returns whether a single file should be
displayed or not, based on user's filter preferences.
* src/file-manager/fm-search-list-view.c:
(real_add_file): Use should_show_file to filter out files
that don't match preferences. The normal directory-view
mechanism doesn't work in this case due to the way
the search view uses "fake" uris to pass around the
search results.
2000-12-07 Rebecca Schulman <rebecka@eazel.com>
Hopefully will improve performance for
menu merging in a case where it is poor.
(bug 5020) Completely fixing the bug will
involve some design changes in the way the
clipboard works, though.
reviewed by: John Sullivan <sullivan@eazel.com>
(the additional bonobo freezes and thaws)
* libnautilus/nautilus-clipboard.c:
(merge_in_clipboard_menu_items), (merge_out_clipboard_menu_items):
Add freezes and thaws in hopes of improving performance here
* src/nautilus-window-menus.c: (nautilus_window_initialize_menus):
Ditto
* components/tree/nautilus-tree-view-dnd.c:
(nautilus_tree_view_get_drop_action):
* libnautilus-extensions/nautilus-user-level-manager.h:
* src/file-manager/fm-desktop-icon-view.c: (create_mount_link):
* src/nautilus-switchable-search-bar.c:
(nautilus_switchable_search_bar_set_mode):
* src/nautilus-window-toolbars.c: (theme_changed_callback):
Removed fixme comments in cases where the fixme has been
fixed.
2000-12-07 Gene Z. Ragan <gzr@eazel.com>
Enabled the jump to next feature. This should be the last missing
feature enabled that was lost during the brain salad surgery.
* components/music/nautilus-music-view.c: (get_player_state):
2000-12-07 Darin Adler <darin@eazel.com>
reviewed by: Pavel Cisler <pavel@eazel.com>
* libnautilus-extensions/nautilus-search-uri.c: (parse_uri): Removed
the *_suffix code. The change log said this would require data structure
chagnges, but it didn't. Just deleting the code.
(nautilus_self_check_search_uri): Fix test cases that were causing
"make check" and Tinderbox to fail, added FIXMES.
2000-12-07 Robin * Slomkowski <rslomkow@eazel.com>
* nautilus.spec.in: OK this time I really will remove nautilus-mpg123
2000-12-07 Gene Z. Ragan <gzr@eazel.com>
Fixed bug 4996, Repeatedly pressing pause "Pause" crashes music view
* components/music/mpg123.c: (mpg123_pause):
* components/music/mpg123.h:
* components/music/nautilus-music-view.c: (go_to_previous_track),
(play_button_callback), (pause_button_callback):
Fixed pause and added some logic to avoid redundant calls.
2000-12-07 Rebecca Schulman <rebecka@eazel.com>
Changes to fix bugs 2341, to match the sidebar
to Arlo's design for search results, and 3488
that the human readable description of search
results ends in a period.
reviewed by: Maciej Stachowiak <mjs@eazel.com>
* libnautilus-extensions/nautilus-search-uri.c:
(get_nth_criterion_suffix):
Remove "." from this function. Eventually,
this function should be deprecated, but it will
require some data structure changes, so I left a
FIXME and an associated bug 5019.
* src/file-manager/fm-search-list-view.c: (load_location_callback):
Set the search results title to be "Search Results" instead of
the human readable description
* src/nautilus-sidebar-title.c: (file_is_search),
(update_more_info):
Special case search uri's for the "more_info" part
of the sidebar to be in accordance with Arlo's design.
This is an annoying way of doing things, but until
a better framework is in place, John Sullivan and
I agreed this was ok to do for now.
2000-12-07 Gene Z. Ragan <gzr@eazel.com>
Fixed bug 4679, Double clicking on an MP3 in music view should play it
* components/music/nautilus-music-view.c: (selection_callback):
Check for double click and play if one is detected.
2000-12-07 Gene Z. Ragan <gzr@eazel.com>
Some clean up and another attempt to fix tinderbox.
* components/music/Makefile.am:
* components/music/esd-audio.c: (esdout_close):
* components/music/nautilus-music-view.c: (selection_callback),
(play_button_callback):
2000-12-07 John Sullivan <sullivan@eazel.com>
reviewed by: Darin Adler <darin@eazel.com>
Fixed bug 3926 (summary view uses non-standard anti-aliased
text in error dialogs)
Fixed unreported bug where closing the summary view error
dialog with close box would leave user at gray screen.
* components/services/summary/nautilus-view/nautilus-summary-view.c:
(get_window_from_summary_view): Split this out from set_dialog_parent
so I could also use it in a different context.
(set_dialog_parent): Now calls get_window_from_summary_view.
(generate_error_dialog): Now just calls nautilus_error_dialog instead
of doing a bunch of custom code to set up an anti-aliased text error
dialog. After we get the anti-aliased text preference to work on
NautilusLabel, we can consider changing nautilus_error_dialog and
friends to use it everywhere, but it doesn't make sense for error
dialogs only in this one place to look different from all others.
Also, connected error_dialog_cancel_cb to the "destroy" signal
instead of just to the OK button, so that closing the dialog with
the close box will have the same effect as the OK button.
2000-12-07 Andy Hertzfeld <andy@eazel.com>
* components/text/nautilus-text-view.c:
(nautilus_text_view_initialize), (add_one_service),
(update_service_menu_items), (merge_bonobo_menu_items):
fixed problem with "command/verb separation", and added support
for the clipboard to the text view.
* nautilus-clean.sh:
added nautilus-text-view to nautilus-clean.sh
* data/emblems/Makefile.am:
* data/emblems/danger.png:
* icons/Makefile.am:
* icons/emblem-danger.svg:
added danger emblem from Susan
* icons/i-executable.png:
* icons/i-executable-aa.png:
fixed bug 4691, executable icon looks like KDE icon, by using
a new icon from Susan
* src/file-manager/fm-icon-view.c:
(icon_container_preview_callback):
fixed bug 4926, Nautilus tries to preview realaudio files but
can't, by special casing the realaudio mime type. Also, cleaned
things up a little by removing redundant is_local call.
2000-12-07 Gene Z. Ragan <gzr@eazel.com>
Fixed bug 954, Plays two MP3s at once instead of one at a time
This was caused by playback not being stopped when a new uri
was being loaded. We now stop playback when a new uri is loaded.
* components/music/nautilus-music-view.c:
(nautilus_music_view_update), (nautilus_music_view_load_uri):
2000-12-07 Darin Adler <darin@eazel.com>
reviewed by: John Sullivan <sullivan@eazel.com>
Fixed bug 3245 (When an empty folder is visited, the throbbing
never stops), bug 2540 (Hook up done_loading signal in
NautilusMergedDirectory?), and bug 3067 (throbber doesn't start
again if you do a new "underway" call after load is complete).
* src/file-manager/fm-directory-view.c: (queue_pending_files):
Get rid of code that uses nautilus_directory_are_all_files_seen
to notice we are done loading.
(done_loading_callback): Use done_loading signal to notice we
are done loading.
(finish_loading_uri): Connect to the done_loading signal.
(disconnect_model_handlers): Disconnect from the done_loading
signal.
* libnautilus-extensions/nautilus-merged-directory.c:
(done_loading_callback),
(nautilus_merged_directory_add_real_directory),
(nautilus_merged_directory_remove_real_directory): Add code to
track all the trash directories and emit done_loading signals
once all of them are done loading.
* src/nautilus-window-manage-views.c: (change_state): Turn the
stop and the throbber back on when a view re-marks itself
underway.
* libnautilus-extensions/nautilus-drag.c:
(nautilus_drag_file_receive_dropped_keyword): Fix storage leak by
doing a free_deep on the list of keywords.
* libnautilus-extensions/nautilus-file-operations.h:
* libnautilus-extensions/nautilus-file-operations.c:
Get rid of excess includes.
* libnautilus-extensions/nautilus-icon-dnd.c: Get rid of unused
ERASE_KEYWORD constant.
* src/nautilus-window.c: (nautilus_window_constructed): Fix a
typo in a comment.
2000-12-07 Gene Z. Ragan <gzr@eazel.com>
Add header files to Makefile.am to make tinderbox happy.
* components/music/Makefile.am:
* components/music/mp3head.h:
Put a header guard define in file.
2000-12-07 Robey Pointer <robey@eazel.com>
* components/services/trilobite/helper/README:
Update the eazel-helper README to be more current than July. Tell
readers about the softlinks and tell them that eazel-hacking does
this for you now.
2000-12-06 Mike Fleming <mfleming@eazel.com>
reviewed by: Pavel Cisler <pavel@eazel.com>
* libnautilus-extensions/nautilus-file-operations.c:
(handle_new_folder_vfs_error), (new_folder_xfer_callback),
(nautilus_file_operations_new_folder):
bugzilla.eazel.com 3940
"DAV: Creating folder in read-only directory does not produce error feedback"
Added an error dialog for the case where gnome-vfs-xfer reports an
error during directory creation. This case is only commonly
encountered in remote filesystems where Nautilus can't check
permissions before operations. (Similar behaviour to 3940 applied
to FTP as well).
2000-12-06 Gene Z. Ragan <gzr@eazel.com>
Changes in the music view to use a threaded file reader
and threaded audio output mechanism. Modified the xmms
engine to be used as the mp3 engine that the view uses.
Removed the use of stored proc IDs as the mechanism to
determine if the view is currently in the process of
playing a file.
* components/music/Makefile.am:
* components/music/common.c: (fullread), (stream_init),
(stream_rewind), (mpg123_stream_close), (stream_head_read),
(stream_head_shift), (stream_mpg123_read_frame_body),
(stream_back_bytes), (mpg123_stream_jump_to_frame),
(mpg123_stream_jump_to_byte),
(mpg123_stream_check_for_xing_header), (stream_init),
(mpg123_stream_close), (stream_head_read), (stream_head_shift),
(stream_mpg123_read_frame_body), (mpg123_stream_jump_to_frame),
(mpg123_stream_jump_to_byte),
(mpg123_stream_check_for_xing_header), (get_fileinfo),
(mpg123_read_frame_init), (read_id3v2_tag), (mpg123_head_check),
(mpg123_read_frame), (mpg123_decode_header), (mpg123_open_stream),
(mpg123_set_pointer), (mpg123_compute_bpf),
(mpg123_calc_numframes):
* components/music/configure.c: (mpg123_configurewin_ok),
(auto_select_cb), (use_3dnow_cb), (use_fpu_cb), (proxy_use_cb),
(proxy_auth_use_cb), (streaming_save_dirbrowser_cb),
(streaming_save_browse_cb), (streaming_save_use_cb),
(title_id3_use_cb), (configure_destroy), (mpg123_configure):
* components/music/dct64.c: (mpg123_dct64):
* components/music/dct64_i386.c: (mpg123_dct64_1), (mpg123_dct64):
* components/music/decode_2to1.c: (mpg123_synth_2to1_8bit),
(mpg123_synth_2to1_8bit_mono),
(mpg123_synth_2to1_8bit_mono2stereo), (mpg123_synth_2to1_mono),
(mpg123_synth_2to1_mono2stereo), (mpg123_synth_2to1):
* components/music/decode_4to1.c: (mpg123_synth_4to1_8bit),
(mpg123_synth_4to1_8bit_mono),
(mpg123_synth_4to1_8bit_mono2stereo), (mpg123_synth_4to1_mono),
(mpg123_synth_4to1_mono2stereo), (mpg123_synth_4to1):
* components/music/decode_i386.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):
* components/music/decode_ntom.c: (mpg123_synth_ntom_set_step),
(mpg123_synth_ntom_8bit), (mpg123_synth_ntom_8bit_mono),
(mpg123_synth_ntom_8bit_mono2stereo), (mpg123_synth_ntom_mono),
(mpg123_synth_ntom_mono2stereo), (mpg123_synth_ntom):
* components/music/dxhead.c: (ExtractI4), (mpg123_get_xing_header),
(mpg123_seek_point):
* components/music/dxhead.h:
* components/music/esd-audio.c: (esdout_init), (get_latency),
(esd_stou8), (esd_utos16sw), (esd_utos16), (esd_16sw),
(esdout_setup_format), (esdout_get_written_time),
(esdout_get_output_time), (esdout_used), (esdout_playing),
(esdout_free), (esdout_write_audio), (esdout_write),
(esdout_close), (esdout_flush), (esdout_pause), (esdout_loop),
(esdout_set_audio_params), (esdout_open):
* components/music/esd-audio.h:
* components/music/esd-mixer.c: (esdout_get_volume),
(esdout_set_volume):
* components/music/fileinfo.c: (set_entry_tag), (get_entry_tag),
(find_genre_id), (genre_comp_func), (save_cb), (label_set_text),
(remove_id3_cb), (set_mpeg_level_label), (channel_mode_name),
(file_info_http), (mpg123_file_info_box):
* components/music/getbits.c: (check_buffer_range),
(mpg123_backbits), (mpg123_getbitoffset), (mpg123_getbyte),
(mpg123_getbits), (mpg123_getbits_fast), (mpg123_get1bit):
* components/music/getbits.h:
* components/music/huffman.h:
* components/music/id3.c: (id3_seek_mem), (id3_read_mem),
(id3_seek_fd), (id3_read_fd), (id3_seek_fp), (id3_read_fp),
(id3_open_mem), (id3_open_fd), (id3_open_fp), (id3_close),
(id3_tell), (id3_alter_file), (safe_write), (id3_write_tag):
* components/music/id3.h:
* components/music/id3_frame.c: (id3_read_frame), (id3_get_frame),
(id3_decompress_frame), (id3_delete_frame), (id3_add_frame):
* components/music/id3_frame_content.c: (id3_get_content):
* components/music/id3_frame_text.c: (id3_get_encoding),
(id3_set_encoding), (id3_get_text), (id3_get_text_desc),
(id3_get_text_number), (id3_set_text), (id3_set_text_number):
* components/music/id3_frame_url.c: (id3_get_url),
(id3_get_url_desc):
* components/music/id3_header.h:
* components/music/id3_tag.c: (id3_init_tag), (id3_read_tag):
* components/music/l2tables.h:
* components/music/layer1.c: (I_step_one), (I_step_two),
(mpg123_do_layer1):
* components/music/layer2.c: (mpg123_init_layer2), (II_step_one),
(II_step_two), (II_select_table), (mpg123_do_layer2):
* components/music/layer3.c: (mpg123_init_layer3),
(III_get_side_info), (III_get_scale_factors_1),
(III_get_scale_factors_2), (III_dequantize_sample), (III_i_stereo),
(III_antialias), (dct36), (dct12), (III_hybrid),
(mpg123_do_layer3):
* components/music/mpg123.c: (mpg123_compute_tpf),
(set_mpg123_synth_functions), (mpg123_init), (convert_to_header),
(play_frame), (get_id3_genre), (mpg123_strip_spaces), (extname),
(eval_id3_format), (mpg123_id3v1_to_id3v2),
(mpg123_format_song_title), (mpg123_get_id3v2), (get_song_title),
(get_song_time), (get_song_info), (decode_loop),
(mpg123_play_file), (mpg123_stop), (mpg123_seek), (mpg123_pause),
(get_time):
* components/music/mpg123.h:
* components/music/mpg123_handler.c:
* components/music/mpg123_handler.h:
* components/music/nautilus-music-view.c:
(nautilus_music_view_initialize), (nautilus_music_view_destroy),
(selection_callback), (update_play_controls_status),
(play_status_display), (play_current_file), (stop_if_playing),
(go_to_next_track), (go_to_previous_track), (play_button_callback),
(stop_button_callback), (pause_button_callback),
(slider_moved_callback), (slider_release_callback),
(add_play_controls), (nautilus_music_view_update),
(nautilus_music_view_drag_data_received), (start_playing_file),
(stop_playing_file), (get_player_state), (set_player_state):
* components/music/tabinit.c: (mpg123_make_decode_tables),
(mpg123_make_conv16to8_table):
2000-12-06 Darin Adler <darin@eazel.com>
reviewed by: John Sullivan <sullivan@eazel.com>
Fixed bug 4992 ("New folder" menu item enable state doesn't follow
permissions), bug 4965 (Dragging multiple items to location bar
crashes Nautilus), and bug 4995 (Rename a file to bad name ->
error cites wrong filename).
Fixed a bug jsh spotted where we were doing the mod. time checks
wrong in the icon factory for thumbnails.
Did some wording fixes after menthos pointed out some problems.
* libnautilus-extensions/nautilus-icon-factory.c:
(get_cache_time): Split out this function to get the mtime of a
file so we can check when it changed.
(load_specific_icon): Get the time when loading an icon.
(scale_icon): Copy the time when making a scaled icon from an
existing icon.
(remove_icons_if_file_changed): New renamed function uses
get_cache_time to check if the icon needs recomputing because of a
change in the underlying file.
(get_icon_from_cache): Call the new remove_icons_if_file_changed.
(load_icon_with_embedded_text): Copy the time when making an icon
with text from an existing icon.
* libnautilus-extensions/nautilus-file-attributes.h: Added
ATTRIBUTE_CAPABILITIES (and sorted in alphabetical order).
* libnautilus-extensions/nautilus-directory-async.c:
(nautilus_directory_set_up_request): Changed the name of this,
made it public, and added ATTRIBUTE_CAPABILITIES as another
way to ask for the file info.
(cancel_loading_attributes),
(nautilus_directory_cancel_loading_file_attributes): Set up a
request and use it to decide what to cancel.
* libnautilus-extensions/nautilus-directory-private.h: Moved the
request structure and call into here so it can be used by
NautilusFile and NautilusDirectory both.
* libnautilus-extensions/nautilus-file.c:
(nautilus_file_forget_attributes_internal): Set up a request and
use it to decide what to forget.
(nautilus_file_forget_all_attributes): Add ATTRIBUTE_CAPABILITIES
to the set of things in "all".
* src/file-manager/fm-directory-view.c:
(check_for_directory_hard_limit): Added a FIXME and made some
minor wording improvements.
(file_changed_callback): Helper to schedule a menu update when
the directory's NautilusFile reports a change.
(load_directory): Add monitoring of the directory's "capabilities"
since they affect whether "New Folder" is allowed. Fixes 4992.
(disconnect_handler): Helper for the two functions below.
(disconnect_directory_handler): Disconnect a NautilusDirectory
handler.
(disconnect_directory_as_file_handler): Disconnect a NautilusFile
handler.
(disconnect_model_handlers): Add code to stop monitoring the
directory's "capabilities".
* src/file-manager/fm-error-reporting.c:
(fm_report_error_renaming_file): Got rid of some unneeded "\n"
characters. Improved the error message in the "/"-forbidden case
with a specific special case message and the proper file name (was
using the old file name, not the new one). Fixes 4995.
(fm_rename_file): Added quotes to message.
* src/nautilus-location-bar.h: Removed unused fields.
* src/nautilus-location-bar.c: (nautilus_location_bar_get_window):
Find the window by looking for an ancestor instead of trying to
use gtk_object_get_data (on data no one was setting any
more!). Fixes 4965.
(nautilus_location_bar_initialize): Got rid of redundant
initialization to NULL.
(nautilus_location_bar_set_location): Got rid of gratuitous check
before calling g_free.
(nautilus_location_bar_update_label): Added a localization-related
FIXME here.
* libnautilus-extensions/nautilus-file-operations.c:
(handle_xfer_vfs_error): Corrected the "it's" to "its" even though
I know that John and Pavel were writing an improved version of the
entire message.
* libnautilus-extensions/nautilus-search-uri.c:
(get_translated_criterion), (nautilus_self_check_search_uri): Say
"folder" instead of "directory".
* src/nautilus-search-bar-criterion.c: Say "folder" instead of
"directory".
* src/nautilus-theme-selector.c: (add_theme_to_icons): Say
"folder" instead of "directory". Other minor wording improvements.
(make_theme_description): Minor wording improvement.
* src/nautilus-window-manage-views.c:
(window_set_title_with_timestamp): Added a FIXME.
2000-12-06 John Sullivan <sullivan@eazel.com>
reviewed by: Pavel Cisler <pavel@eazel.com>
Addressed bug 4208 (Opening new window is slow)
Pavel identified the 2nd biggest performance bottleneck in
opening a new window (1st being tree view) as the code that
sets up the bookmark menus. I found some good speedups; time
to profile again.
* libnautilus-extensions/nautilus-bookmark.c:
(bookmark_file_changed_callback): nautilus_uris_match returns
a gboolean, not a strcmp-style int. Doh! Sense of test was
reversed, causing many unnecessary rebuild-bookmarks-menus.
* src/nautilus-window-menus.c:
(append_static_bookmarks), (refresh_bookmarks_menu): Wrapped
some Bonobo-ui-manipulating code with freeze/thaw; this speeds
up rebuild-bookmarks_menu by an order of magnitude or so.
Fixed bug 4334: (Icon name being edited can get separated
from icon on restore-original-size)
* libnautilus-extensions/nautilus-icon_container.c:
(nautilus_icon_container_move_icon): End renaming mode
if icon being renamed is moved.
2000-12-06 Rebecca Schulman <rebecka@eazel.com>
* libnautilus-extensions/nautilus-search-uri.c:
Remove a comment about a FIXME that is fixed.
2000-12-06 Michael Engber <engber@eazel.com>
* src/nautilus-sidebar-title.c: (appearance_changed_callback),
(realize_callback), (nautilus_sidebar_title_initialize),
(nautilus_sidebar_title_background),
(nautilus_sidebar_title_select_text_color):
Hookup sidebar_title to their background's appearance_changed
signals so that the text can adjust color to match the
background being light or dark - bug 4991.
2000-12-06 J Shane Culpepper <pepper@eazel.com>
* components/services/trilobite/libtrilobite/Makefile.am:
* components/services/trilobite/libtrilobite/libtrilobite.h:
Backing out rpm evil until the abstractions can be fixed correctly.
2000-12-06 J Shane Culpepper <pepper@eazel.com>
* components/services/trilobite/libtrilobite/trilobite-inventory-ut
ils.c: (add_info), (str_has_prefix):
One more quick fix for the build. Didn't want to make trilobite
depend on libnautilus-extensions.
2000-12-06 Rebecca Schulman <rebecka@eazel.com>
This should complete the rest of the work for bug 3920,
by added a message in the status bar about what
search results will appear (only those files indexed as
of the last index time)
reviewed by: Maciej Stachowiak <mjs@eazel.com>
* src/file-manager/fm-search-list-view.c: (load_location_callback):
Add a status message
* src/file-manager/nautilus-indexing-info.c:
* src/file-manager/nautilus-indexing-info.h:
(nautilus_indexing_info_get_last_index_time),
(show_reindex_request_information):
Changed get_last_index_time to
nautilus_indexing_info_get_last_index_time
to share the code with the search list view
* src/nautilus-window.c:
Upped the status bar timeout for 5 seconds to 10.
2000-12-06 J Shane Culpepper <pepper@eazel.com>
* components/services/trilobite/libtrilobite/Makefile.am:
Fixing the build. Adding the temporary dep to rpmlib.
2000-12-06 J Shane Culpepper <pepper@eazel.com>
* components/services/trilobite/libtrilobite/Makefile.am:
* components/services/trilobite/libtrilobite/libtrilobite.h:
* components/services/trilobite/libtrilobite/trilobite-inventory-ut
ils.c: (add_package_info), (read_proc_info), (add_info),
(add_io_info), (add_hardware_info),
(trilobite_synchronize_configuration_metafile),
(trilobite_update_configuration_metafile),
(trilobite_create_configuration_metafile):
* components/services/trilobite/libtrilobite/trilobite-inventory-ut
ils.h:
Adding basic inventory collection funtions to trilobite. Still needs
the rpm abstraction in order to work on RH7.
2000-12-06 John Sullivan <sullivan@eazel.com>
reviewed by: Darin Adler <darin@eazel.com>
Fixed bug 4994 (Back and Forward tool bar buttons don't respect
"no label" gnomecc option)
* src/nautilus-window-toolbars.c: (set_up_special_bonobo_button):
Set initial labels-or-not state based on global preference. This
is an imperfect solution because it only partially matches the
logic used by the Bonobo standard button mechanism, but the
remaining symptoms are very minor (see bug 5005).
2000-12-06 Eskil Heyn Olsen <eskil@eazel.com>
* nautilus.spec.in:
Added the new libs to the spec, so tinderbox can build again.
2000-12-06 John Fleck <jfleck@inkstain.net>
reviewed by Ali Abdin <aliabdin@aucegypt.edu>
* components/help/converters/gnome-db2html2/sect-preparse.c:
fixing memory leak
2000-12-06 Eskil Heyn Olsen <eskil@eazel.com>
* components/services/install/lib/eazel-install-query.c:
killed
* components/services/trilobite/libtrilobite/trilobite-root-helper.
c: (trilobite_root_helper_run_program):
Replaced the g_assert with g_warning and a continue;
* po/POTFILES.in:
Updated for all the new stuff in eazel-install
2000-12-06 Eskil Heyn Olsen <eskil@eazel.com>
* components/rpmview/Makefile.am:
Needs to link with eazelpackagesystem now.
* components/services/install/command-line/Makefile.am:
Build eazel-test-types.
* components/services/install/command-line/eazel-alt-install-corba.
c: (eazel_download_progress_signal),
(eazel_install_progress_signal), (something_failed), (dep_check):
Nicer output.
* components/services/install/command-line/eazel-test-packsys.c:
(test_package_load), (main):
Moved the packagelist_prun test into eazel-test-types. Also
relaxed the test of uninstall (doesn't require progress signals
now).
* components/services/install/command-line/eazel-test-types.c:
(make_package), (test_packagelist_prune),
(test_eazel_install_package_matches_versioning), (main):
Test packagedatalist_prune and the new ugly func for testing
version-minor match.
* components/services/install/lib/Makefile.am:
Do compile eazel-install-query.c anymore.
* components/services/install/lib/eazel-install-protocols.c:
(eazel_install_fetch_package):
* components/services/install/lib/eazel-install-public.h:
* components/services/install/lib/eazel-install-rpm-glue.c:
(packagedata_new_from_rpm_conflict),
(packagedata_new_from_rpm_conflict_reversed),
(eazel_install_do_rpm_dependency_check):
* components/services/install/lib/eazel-install-logic.h:
* components/services/install/lib/eazel-install-object.c:
(eazel_install_finalize), (eazel_install_set_arg),
(eazel_install_class_initialize), (eazel_install_initialize),
(eazel_install_install_packages),
(eazel_install_uninstall_packages),
(eazel_install_revert_transaction_from_xmlstring),
(eazel_install_query_package_system),
(eazel_install_get_size_increasement),
(eazel_install_emit_preflight_check):
* components/services/install/lib/eazel-install-private.h:
* components/services/install/lib/eazel-install-logic.c:
(install_packages), (eazel_install_download_packages),
(eazel_install_check_for_file_conflicts),
(eazel_install_do_install_packages), (uninstall_all_packages),
(uninstall_packages), (get_total_size_of_packages),
(eazel_install_start_signal), (eazel_install_end_signal),
(eazel_install_progress_signal), (eazel_install_failed_signal),
(eazel_install_start_transaction),
(eazel_install_check_existing_packages),
(eazel_install_fetch_dependencies),
(eazel_install_do_dependency_check),
(eazel_uninstall_upward_traverse),
(eazel_uninstall_downward_traverse),
(eazel_uninstall_check_for_install):
Fixes bug 4936, use EazelPackageSystem in EazelInstall.
* components/services/install/lib/eazel-install-problem.c:
(problem_step_foreach_remove),
(eazel_install_problem_tree_to_case),
(eazel_install_problem_handle_cases):
Slammed some ifdef EIP_DEBUG around some debug.
* components/services/install/lib/eazel-install-types.h:
* components/services/install/lib/eazel-install-types.c:
(eazel_install_package_matches_versioning):
New funky match function. Since I needed the same check two
places, I moved it into a generel function.
Also cut out all the rpmload code.
* components/services/install/lib/eazel-package-system-rpm3.c:
(monitor_rpm_process_pipe), (rpm_packagedata_fill_from_rpm_header),
(eazel_package_system_rpm3_load_package),
(eazel_package_system_rpm3_query_impl),
(eazel_package_system_rpm3_query_requires),
(eazel_package_system_rpm3_query_foreach),
(monitor_subcommand_pipe), (eazel_package_system_rpm3_execute),
(check_if_all_packages_seen),
(eazel_package_system_rpm3_install_uninstall):
Fixed 4914. And also added the use of the packages_seen in
piggyback.
* components/services/install/lib/eazel-package-system.h:
* components/services/install/lib/eazel-package-system-private.h:
* components/services/install/lib/eazel-package-system.c:
(eazel_package_system_is_installed),
(eazel_package_system_emit_start),
(eazel_package_system_emit_progress),
(eazel_package_system_emit_failed),
(eazel_package_system_emit_end):
Added const to all the signal emitters.
Added the is_installed call.
* components/services/install/nautilus-view/Makefile.am:
Link against eazelpackagesystem
* components/services/install/server/Makefile.am:
Link against eazelpackagesystem
* components/services/trilobite/libtrilobite/trilobite-core-distrib
ution.h:
Added a documentational comment.
* components/services/trilobite/libtrilobite/trilobite-root-helper.
c: (trilobite_root_helper_run_program):
Added an api g_assert that I ran into (no element in args may be null).
2000-12-06 Ramiro Estrugo <ramiro@eazel.com>
* src/file-manager/fm-search-list-view.c: (load_error_callback):
Remove the extra not needed ", NULL" from this g_strdup_printf call.
2000-12-06 Robey Pointer <robey@eazel.com>
* components/services/install/lib/eazel-softcat.c:
(gnome_vfs_escape_string):
Fixed a dumb url-quoting error that resulted in "hilarious"
quoting flubs.
* components/services/install/nautilus-view/nautilus-service-instal
l-view.c: (nautilus_service_install_done):
Never return to the summary-view page after completion now: let
the user do their own navigation.
* nautilus-installer/src/callbacks.c: (log_debug),
(reply_callback), (ask_to_delete_rpms), (ask_are_you_sure),
(druid_cancel), (begin_install), (druid_finish):
* nautilus-installer/src/installer.c: (start_over),
(insert_info_page), (get_detailed_errors_foreach),
(get_detailed_errors), (install_failed), (uninstall_failed),
(download_failed), (eazel_installer_post_install),
(draw_splash_text), (eazel_installer_set_default_texts),
(eazel_installer_initialize):
Ask if the user wants to delete the RPMs after a successful
install, and ask for verification when they hit the "cancel"
button. Eliminate a redundant cancel callback that caused double
vision. Restore the error dialog's AWOL title (?). Turn off that
damn checkbox for now (can turn it on later if anyone makes an
installer PR2.1).
John Fleck <jfleck@inkstain.net>
reviewed by: Ali Abdin <ailabdin@aucegypt.edu>
* components/help/converters/gnome-db2html2/gdb3html.h,
sect-preparse.c, toc-elements.c: completes support for
glossaries in the Gnome help system. Fixes bug #2349
2000-12-05 John Sullivan <sullivan@eazel.com>
reviewed by: Darin Adler <darin@eazel.com>
Fixed bug 3355 (No "New Window" menu item in right-click menu)
* src/nautilus-shell-ui.xml: Added "New Window" to
right-click context menu (that appears in directory views)
2000-12-05 John Sullivan <sullivan@eazel.com>
reviewed by: Pavel Cisler <pavel@eazel.com>
Fixed bug 4986 (Open in <n> new windows disabled)
* src/file-manager/fm-directory-view.c: (real_update_menus):
An == should have been a !=
Fixed bug 3510 (The Back and Forward right-click menus are
missing)
* src/nautilus-shell-ui.xml: Replaced toolitem nodes for
"Back" and "Forward" with control nodes for their wrappers.
Have to do a lot of stuff manually for non-standard Bonobo
buttons.
* src/nautilus-window-private.h: Store back_button_item and
forward_button_item in details.
* src/nautilus-window-toolbars.c:
Removed #ifdef UIH brackets around right-click menu code.
(get_back_button), (get_forward_button): Helper functions to
get the GtkButton widgets from the stored BonoboUIToolbarButtonItems.
(back_or_forward_button_pressed_callback): Renamed from ..._clicked_...,
since it's a handler for button_press_event. Compare for Back or
Forward button a newfangled way.
(back_or_forward_button_clicked_callback): New function, callback
from button's "clicked" handler now that Bonobo doesn't handle this
for us.
(get_file_name_from_icon_name): New function extracted from
set_up_button; gets the full file path from the leaf icon "name".
(set_up_standard_bonobo_button): Renamed from "set_up_button",
now calls get_file_name_from_icon_name.
(get_pixbuf_for_xml_node): New function, calls Bonobo utility code
to get the pixbuf from an xml button node.
(set_up_special_bonobo_button): New function, parallel to
set_up_standard_bonobo_button but handles the case where you have
a BonoboUIToolbarButtonItem in hand.
(set_up_toolbar_images): Call set_up_special_bonobo_button for the
Back and Forward items; put the bonobo freeze/thaw here instead of
where it was before in set_up_button.
(set_widget_for_bonobo_control): New function, extracted from
nautilus_window_initialize_toolbars, handles attaching a widget to
a Bonobo control defined in the XML file.
(set_up_back_or_forward_tool_bar_item): New function, creates
widget, wraps it in control, and wires up signal handlers.
(nautilus_window_initialize_toolbars): Call set_up_toolbar_images
only after Back/Forward buttons are created; create Back/Forward
buttons and use new helper functions.
* src/nautilus-window.c:
(nautilus_window_allow_back), (nautilus_window_allow_forward):
Set sensitivity of Back/Forward buttons explicitly.
2000-12-05 Robey Pointer <robey@eazel.com>
* components/services/install/lib/eazel-install-object.c:
(eazel_install_initialize):
Re-order softcat init so it's initialized before pieces of it are
set.
* components/services/install/lib/eazel-softcat.c:
(gnome_vfs_escape_string):
Fix the stub escape_string (for the gnome-vfs-less bootstrap
installer) to actually compile and work.
* nautilus-installer/src/Makefile:
(innocent whistle)
* nautilus-installer/src/installer.c: (create_what_to_do_page),
(eazel_installer_add_category), (eazel_installer_initialize),
(eazel_installer_new):
Fix label names to match (and avoid assertion).
2000-12-05 Michael Engber <engber@eazel.com>
* src/nautilus-window.c: (nautilus_window_constructed),
(update_sidebar_panels_from_preferences):
Keep the desktop from creating sidebar panels (it still
has the sidebar) - bug 2603.
2000-12-05 Rebecca Schulman <rebecka@eazel.com>
reviewed by: Darin Adler <darin@eazel.com>
* src/file-manager/fm-search-list-view.c: (load_error_callback):
Added an error callback for search uris that produce error
GNOME_VFS_ERROR_TOO_BIG, which happens when a search matches
every criterion in the database.
* src/nautilus-search-bar-criterion.c: (get_owner_location_for):
Fixed an "is not" in a search uri that should have been "is_not"
so that searches did not produce an error.
2000-12-05 J Shane Culpepper <pepper@eazel.com>
* components/services/trilobite/libtrilobite/Makefile.am:
* components/services/trilobite/libtrilobite/libtrilobite.h:
* components/services/trilobite/libtrilobite/trilobite-core-metadat
a-manager.c:
* components/services/trilobite/libtrilobite/trilobite-core-metadat
a-manager.h:
* components/services/trilobite/libtrilobite/trilobite-core-package
-manager.c:
* components/services/trilobite/libtrilobite/trilobite-core-package
-manager.h:
* components/services/trilobite/libtrilobite/trilobite-core-securit
y-manager.c:
* components/services/trilobite/libtrilobite/trilobite-core-securit
y-manager.h:
* components/services/trilobite/libtrilobite/trilobite-core-tests.c
:
* components/services/trilobite/libtrilobite/trilobite-core-tests.h
:
Removing some empty file templates from libtrilobite.
2000-12-05 Pavel Cisler <pavel@eazel.com>
reviewed by: Gene Z. Ragan <gzr@eazel.com>
* libnautilus-extensions/nautilus-file-operations.c:
(handle_xfer_vfs_error):
Second part of fix 4894 "Dragging /proc from the tree view to
/home causes a file not found".
Part of fix to 3232 "Error message when copying rwx file from
r-x folder to rwx folder".
Part of fix to 3237 "No error occurs if move file to folder w/o
write access".
Part of fix to 3748 "misleading file operation error dialog"
Added logic that distinguishes between read and write phases
of a file move properly and gives the right error.
Split up the "no permissions" and "read only" cases and gave them
distinct errors.
Added a specific case for a move from a directory that is not writable.
2000-12-05 John Sullivan <sullivan@eazel.com>f
reviewed by: Darin Adler <darin@eazel.com>
Fixed bug 3586 (Nautilus tool bar doesn't respect
"no labels" setting in gnomecc)
I fixed the Bonobo part of this bug earlier; this is the
little leftover Nautilus-specific part.
* src/nautilus-shell-ui.xml: Remove 'look="both"' from
tool bar definition. This was formerly needed due to
Bonobo behavior where you would get icons-only without this,
but now this prevents the preference from kicking in.
* src/nautilus-window-toolbars.c:
(allocate_throbber): Use small throbber if gnome preference is
for unlabelled tool bar buttons. This makes the throbber
appearance fit in well when tool bar labels are off.
(theme_changed_callback): Remove hide/show toolbar and replace
it with FIXME about how the throbber doesn't reposition
correctly when theme changes. The hide/show was a hack that
worked in the old Bonobo but doesn't in the new one.
* src/nautilus-desktop-window.c: (realize):
Removed some leftover #ifdef UIH code that was functionally
replaced a while back.
2000-12-04 Robey Pointer <robey@eazel.com>
* components/services/install/lib/eazel-install-metadata.c:
(init_default_transfer_configuration),
(eazel_install_configure_softcat), (transferoptions_destroy):
* components/services/install/lib/eazel-install-metadata.h:
Remove softcat fields from the TransferOptions struct and move
them into EazelSoftCat's config. Read ESC's config from the
install/server/ gconf items.
* components/services/install/lib/eazel-install-object.c:
(eazel_install_finalize), (eazel_install_initialize),
(eazel_install_new_with_config), (eazel_install_get_server),
(eazel_install_get_server_port), (eazel_install_get_username),
(eazel_install_get_eazel_auth), (eazel_install_get_cgi_path),
(eazel_install_set_server), (eazel_install_set_server_port),
(eazel_install_set_username), (eazel_install_set_eazel_auth),
(eazel_install_set_cgi_path):
* components/services/install/lib/eazel-install-private.h:
* components/services/install/lib/eazel-install-public.h:
* components/services/install/lib/eazel-install-types.h:
Put a SoftCat into the Install object, and map the set/get
functions for old TransferOptions fields to SoftCat fields.
* components/services/install/lib/eazel-install-protocols.c:
(gnome_vfs_xfer_callback), (eazel_install_fetch_package):
Remove some sarcasm (I'm over it). Remove traces of the "old"
(fake) CGI code. Remove the evil softcat hack and make it use the
softcat object now.
* components/services/install/lib/eazel-softcat.c:
(eazel_softcat_unref), (eazel_softcat_set_server),
(eazel_softcat_set_server_host), (eazel_softcat_set_server_port),
(eazel_softcat_get_server_host), (eazel_softcat_get_server_port),
(eazel_softcat_set_authn), (eazel_softcat_set_authn_flag),
(eazel_softcat_set_username):
* components/services/install/lib/eazel-softcat.h:
Let a SoftCat be unref'd (cough cough). Add some more field
set/get functions for the Install object.
* components/services/install/nautilus-view/nautilus-service-instal
l-view.c: (nautilus_service_install_solve_cases),
(nautilus_service_install_done),
(nautilus_service_install_failed):
* components/services/install/nautilus-view/nautilus-service-instal
l-view.h:
Remove some cruft and fix the "already installed" case so that it
doesn't drop windows everywhere and vanish abruptly, leaving a
dangling eazel-install service running in the background.
2000-12-04 Maciej Stachowiak <mjs@eazel.com>
* components/tree/nautilus-tree-view.c
(expand_uri_sequence_and_select_end): Fix build lossage from last
commit.
2000-12-04 Maciej Stachowiak <mjs@eazel.com>
reviewed by: John Sullivan <sullivan@eazel.com>
* components/tree/nautilus-tree-view.c
(expand_uri_sequence_and_select_end): Changed control flow a bit
to avoid possibly dereferencing a NULL view_node pointer. This can
happen when launching nautilus with the tree view and the desktop
both enabled. Thanks to John Sullivan for locating the bug,
finding the likely cause in the debugger, and helping me simplify
the control flow of this function.
2000-12-04 Darin Adler <darin@eazel.com>
reviewed by: Maciej Stachowiak <mjs@eazel.com>
* libnautilus-extensions/Makefile.am: Add ESD flags and library
since we are now using it. Without this change, I couldn't link.
* libnautilus-extensions/nautilus-icon-container.c:
(redo_layout_internal), (redo_layout_callback),
(unschedule_redo_layout), (schedule_redo_layout), (relayout): Get
rid of some circular logic in relayout (now called redo_layout)
and made nice calls to cleanly schedule the idle function to redo
layout.
(size_allocate): Make sure we redo layout if this is the first
allocate, since we have inhibited them up to this point.
(nautilus_icon_container_initialize): Get rid of unnecessary
initialization of things that are already 0, NULL, FALSE.
(finish_adding_new_icons): Remove unnecessary check for NULL.
(nautilus_icon_container_add): Use the new schedule_redo_layout.
(nautilus_icon_container_remove): Use schedule_redo_layout instead
of redoing the layout right away, since this can be called for
many icons at a time and we want to bunch up the layout work.
(nautilus_icon_container_request_update): Schedule a redo_layout
any time an icon changes. We could get fancy and detect changes
that are substantive if this does too much extra layout work.
(nautilus_icon_container_set_zoom_level): Removed extraneous
direct call to redo_layout after the request_update_all call.
* src/nautilus-window.c: (menu_bar_no_resize_hack_class_free),
(menu_bar_no_resize_hack): Tweak function name and formatting.
(nautilus_window_constructed): Do a little bit less sidebar setup
when making a desktop window.
* libnautilus-extensions/nautilus-sound.c: Tweak (has nice side
effect of forcing recompile).
2000-12-04 Robey Pointer <robey@eazel.com>
* components/services/install/command-line/eazel-test-softcat.c:
(main):
Add -V (version), --gt (greater-than), and -C (check for new
version) options to eazel-softcat. (The -C/--gt options won't work
until the softcat java-side supports it.)
* components/services/install/lib/eazel-softcat.c:
(eazel_softcat_initialize), (eazel_softcat_set_retry),
(eazel_softcat_get_info), (eazel_softcat_available_update):
* components/services/install/lib/eazel-softcat.h:
Finish softcat API (check for new version of a package).
2000-12-04 Maciej Stachowiak <mjs@eazel.com>
* README: Updated ORBit version.
2000-12-04 Michael Engber <engber@eazel.com>
* libnautilus-extensions/nautilus-background.c:
(nautilus_background_ensure_gradient_buffered):
Changed the semantics of multi-point gradients
so that percentages are postions (rather than
widths) - bug 4759
2000-12-04 Pavel Cisler <pavel@eazel.com>
reviewed by: Gene Z. Ragan <gzr@eazel.com>
* libnautilus-extensions/nautilus-file-operations.c:
(nautilus_file_operations_copy_move):
* src/file-manager/fm-directory-view.c:
(fm_directory_view_move_copy_items):
* src/file-manager/fm-list-view.c: (fm_list_receive_dropped_icons):
Fixed 4949:
Fix a crash when copying from an icon view to a list view -
my last fix to set icon positions properly during duplicate was sloppy
and broke this.
The change needed to add one more place that use an empty GArray instead
of a NULL.
Properly handle the case of an empty GArray in
nautilus_file_operations_copy_move.
2000-12-04 Maciej Stachowiak <mjs@eazel.com>
* README: Update OAF branch info.
2000-12-04 Michael Engber <engber@eazel.com>
* libnautilus-extensions/nautilus-background-canvas-group.c:
(nautilus_background_canvas_group_initialize_class),
(nautilus_background_canvas_group_update),
(nautilus_background_canvas_group_draw),
(nautilus_background_canvas_group_render):
Code formatting changes.
* libnautilus-extensions/nautilus-background.c:
(nautilus_background_initialize_class),
(nautilus_background_set_combine_mode),
(nautilus_background_ensure_image_scaled),
(nautilus_background_load_image_callback),
(nautilus_background_start_loading_image),
(nautilus_background_set_image_uri_helper),
(nautilus_background_set_image_uri),
(set_image_and_color_image_loading_done_callback),
(nautilus_background_set_image_uri_and_color),
(nautilus_background_reset):
* libnautilus-extensions/nautilus-directory-background.c:
(background_changed_callback), (saved_settings_changed_callback),
(background_reset_callback):
* src/nautilus-sidebar-tabs.c: (draw_one_tab_plain):
* src/nautilus-sidebar.c: (receive_dropped_color),
(background_settings_changed_callback),
(background_reset_callback), (nautilus_sidebar_update_appearance),
(background_metadata_changed_callback), (nautilus_sidebar_set_uri):
Fixed various issues with dropping colors on the sidebare.
Osetensibly, the problem was with dropping white - bug 4880.
2000-12-04 Gene Z. Ragan <gzr@eazel.com>
Fixed broken build.
* components/help/converters/gnome-db2html2/sect-preparse.c:
(sect_preparse_figure_start_element),
(sect_preparse_acronym_characters), (gloss_term_append):
File had typos, missing and extra punctuation. The code did not
even compile. Now it does.
2000-12-04 Ali Abdin <aliabdin@aucegypt.edu>
* components/help/converters/gnome-db2html2/sect-preparse.c:
* components/help/converters/gnome-db2html2/gdb3html.h:
(sect_preparse_glossterm_characters),
(sect_preparse_acronym_characters),
(sect_preparse_glossterm_start_element),
(sect_preparse_glossterm_end_element),
(gloss_term_append):
Changed around the glossary a bit (partial fix for a bug). Leaks some
memory though.
2000-12-04 Gene Z. Ragan <gzr@eazel.com>
reviewed by: Pavel Cisler <pavel@eazel.com>
Fixed bug 645, nautilus_file_rename should handle path separators sensibly
* libnautilus-extensions/nautilus-file.c:
(nautilus_file_rename):
Check for the presence of the "/" path separator charcter. If one
exists, return an error.
* src/file-manager/fm-error-reporting.c:
(fm_report_error_renaming_file):
Add a case to report an error if an illegal name has been specified
for the file to renamed to.
2000-12-04 John Sullivan <sullivan@eazel.com>
reviewed by: Gene Z. Ragan <gzr@eazel.com>
Fixed bug 4931 ("Can't display files of this type"
message is inaccurate in some cases)
* src/nautilus-window-manage-views.c:
(nautilus_window_end_location_change_callback):
Reworded the error message when there's no viewer for a
file to not mention the file type, since the file type
might not have anything to do with why no viewer could be
found. For example, clicking on a remote RPM was getting a
message implying that Nautilus had no viewer capable of
displaying RPM files in general, whereas in fact it has a
viewer that can display RPM files, but only if local. This
is the simplest way to address this problem; see bugs
4932 and 4933 for better but harder-to-implement solutions.
2000-12-04 Pavel Cisler <pavel@eazel.com>
reviewed by: Maciej Stachowiak <mjs@eazel.com>
* src/file-manager/fm-directory-view.c: (create_link_callback),
(offset_drop_points), (fm_directory_view_create_links_for_files):
Fixed 4946 - Create link consistently crashes Nautilus.
Fixed it by implementing the proper positioning code for creating
symbolic links from a context menu, copying the logic from the
"Duplicate selection" code path.
2000-12-03 Eskil Heyn Olsen <eskil@eazel.com>
* components/services/install/lib/eazel-softcat.c:
(eazel_softcat_initialize):
Default some of the private attributes to sane values.
2000-12-02 Robert Brady <robert@suse.co.uk>
* configure.in (ALL_LINGUAS): Add ta (Tamil).
2000-12-01 Andy Hertzfeld <andy@eazel.com>
* src/nautilus-property-browser.c: (category_clicked_callback):
fixed bug 4937, changing pane in remove mode crashes Nautilus,
by exiting remove mode when switching categories.
2000-12-01 Andy Hertzfeld <andy@eazel.com>
* src/nautilus-window-toolbars.c: (theme_changed_callback):
fixed bug where throbber was mispositioned after theme changes by
forcing a toolbar resize when the theme changes.
* icons/eazel/i-directory.xml:
tweaked folder emblem positions
2000-12-01 Maciej Stachowiak <mjs@eazel.com>
* components/tree/nautilus-tree-view.c
(nautilus_tree_view_insert_model_node): Fix bug 4930 (Tree sidebar
panel doesn't expand remembered directories until second window is
opened) by making sure to expand directories that should be
expanded when initially inserting nodes, not just updating.
2000-12-01 Eskil Heyn Olsen <eskil@eazel.com>
Migrated more code into eazel-package-system and finished
eazel-package-system-rpm3 (except for verify). This fixes 4858,
4851.
* components/services/install/command-line/eazel-test-packsys.c:
(test_packagelist_prune), (test_package_load), (get_password_dude),
(init_package_system), (test_matches_query), (get_package_list),
(start_signal), (end_signal), (progress_signal), (is_installed),
(test_install), (test_uninstall), (test_verify), (main):D
All the code for the packagesytem test programs. It does test-
queries, install and uninstall.
* components/services/install/lib/Makefile.am:
Moved softcat .h's files into
includedir/libtrilobite/eazel/package-sytem/
* components/services/install/lib/eazel-install-corba-callback.c:
(eazel_install_callback_initialize):
Fixed the IDL rename, which broke the eazelinstall init.
* components/services/install/lib/eazel-install-logic.c:
(eazel_install_start_transaction):
Some comments about codepieces that needs removal.
* components/services/install/lib/eazel-install-types.h:
* components/services/install/lib/eazel-install-types.c:
(packagedata_get_readable_name), (packagedata_get_name):
Changed get_readable's names output for rpmid's.
Added a function that returns name-version-release names.
* components/services/install/lib/eazel-package-system-rpm3.h:
* components/services/install/lib/eazel-package-system-rpm3.c:
(make_rpm_argument_list), (destroy_string_list),
(rpm_make_names_to_package_hash), (clear_name_to_package),
(get_total_size_of_packages), (monitor_rpm_process_pipe),
(rpm_create_db), (rpm_create_dbs), (rpm_open_db), (rpm_open_dbs),
(rpm_close_db), (rpm_close_dbs), (rpm_free_db), (rpm_free_dbs),
(rpm_packagedata_fill_from_rpm_header),
(rpm_packagedata_fill_from_file), (rpm_packagedata_new_from_file),
(eazel_package_system_rpm3_load_package),
(eazel_package_system_rpm3_query_impl),
(eazel_package_system_rpm3_query_substr),
(eazel_package_system_rpm3_query_foreach),
(eazel_package_system_rpm3_query), (display_arguments),
(monitor_subcommand_pipe), (eazel_package_system_rpm3_execute),
(eazel_package_system_rpm3_install_uninstall),
(eazel_package_system_rpm3_install),
(eazel_package_system_rpm3_uninstall),
(eazel_package_system_rpm3_verify),
(eazel_package_system_rpm3_finalize),
(eazel_package_system_rpm3_initialize),
(eazel_package_system_rpm3_new),
(eazel_package_system_implementation):
Finished the rpm3 library.
* components/services/install/lib/eazel-package-system-private.h:
* components/services/install/lib/eazel-package-system.h:
* 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_install), (eazel_package_system_uninstall),
(eazel_package_system_verify), (eazel_package_system_emit_start),
(eazel_package_system_emit_progress),
(eazel_package_system_emit_failed),
(eazel_package_system_get_debug), (eazel_package_system_set_debug),
(eazel_package_system_class_initialize),
(eazel_package_system_initialize),
(eazel_package_system_marshal_BOOL__ENUM_POINTER_POINTER),
(eazel_package_system_marshal_BOOL__ENUM_POINTER):
Fixed the usual signal bloopers, added the arguments to _new that
lets the system get it's dbpaths/root sets, fixed other small bugs.
* components/services/install/lib/eazel-package-system-skeleton.h:
* components/services/install/lib/eazel-package-system-skeleton.c:
(eazel_package_system_skeleton_query),
(eazel_package_system_skeleton_install),
(eazel_package_system_skeleton_uninstall),
(eazel_package_system_skeleton_verify),
(eazel_package_system_skeleton_new),
(eazel_package_system_implementation):
Updated the skeleton library.
2000-12-01 Robin * Slomkowski <rslomkow@eazel.com>
* nautilus.spec.in: added libeazelsoftcat libs
2000-12-01 John Sullivan <sullivan@eazel.com>
reviewed by: Pavel Cisler <pavel@eazel.com>
Worked around without fixing cause of bug 2151 (crash in
Undo manager on quit). We can defer fixing the bug properly
until we have Undo working again.
* libnautilus-extensions/nautilus-undo-signal-handlers.c:
(nautilus_undo_editable_set_undo_key): Added FIXMEs with bug
number 3515 ("Undo doesn't work").
* src/nautilus-shell-ui.xml: Added FIXME with bug number 3515.
* src/file-manager/fm-properties-window.c: (create_basic_page),
(create_properties_window_callback): #ifdeffed out undo code
and added FIXME with bug number 2151.
2000-12-01 Pavel Cisler <pavel@eazel.com>
reviewed by: Darin Adler <darin@eazel.com>
* libnautilus-extensions/nautilus-file-operations.c:
(progress_dialog_set_to_from_item_text), (handle_xfer_ok),
(handle_xfer_vfs_error), (handle_xfer_overwrite), (get_link_name),
(nautilus_file_operations_copy_move),
(nautilus_file_operations_new_folder),
(nautilus_file_operations_move_to_trash),
(nautilus_file_operations_delete), (do_empty_trash):
Fixed 3392 - Messages in nautilus-file-operations hard to localize.
Replaced all the cases that did "clever" string composition from
parts depending on the specific file operation with full texts of
the respective error alerts and progress dialog label texts and
titles.
Changed action_verb to action_label.
Got rid of progress_dialog_set_files_done_text because the the
"Files copied:" etc. label is no longer composed.
Added switch statements in handle_xfer_vfs_error that choose the
right error text based on the xfer operation kind.
Fixed 3139 - Add comments to all the localizable strings to make them
easier to localize.
* libnautilus-extensions/nautilus-file-operations.c:
(icon_position_iterator_new),
* libnautilus-extensions/nautilus-file-operations.h:
(nautilus_file_operations_copy_move),
* libnautilus-extensions/nautilus-icon-container.c:
(nautilus_icon_container_get_icon_locations),
(nautilus_icon_container_get_selected_icon_locations):
* libnautilus-extensions/nautilus-icon-container.h:
* libnautilus-extensions/nautilus-icon-dnd.c:
(handle_nonlocal_move), (nautilus_icon_container_find_drop_target):
* libnautilus-extensions/nautilus-icon-private.h:
* src/file-manager/fm-directory-view.c:
(fm_directory_view_initialize_class), (duplicate_callback),
(fm_directory_view_create_links_for_files), (offset_drop_points),
(fm_directory_view_duplicate_selection),
(fm_directory_get_selected_icon_locations),
(fm_directory_view_move_copy_items):
* src/file-manager/fm-directory-view.h:
* src/file-manager/fm-icon-view.c:
(fm_icon_view_get_selected_icon_locations),
(fm_icon_view_set_selection), (fm_icon_view_initialize_class),
(icon_view_move_copy_items):
* src/file-manager/fm-list-view.c: (fm_list_view_initialize_class),
(fm_list_view_get_selected_icon_locations),
(fm_list_view_sort_items):
Fixed 2817 - when you duplicate a file, it doesn't end up in the correct
position.
Redid the icon position array to use GArray instead of a simple vector of
GdkPoints. GArray contains the count of all the contained points
which is now needed.
Added new calls to get the icon locations of selected icons and
of a list of NautilusIcon objects.
Passed the list of icon locations to the duplicate method.
Added a default signal handler that returns the list of
icon locations of selected icons.
Added code to fm_directory_view_duplicate_selection that
offsets the new duplicates to the left and bottom of the
original item.
2000-12-01 John Sullivan <sullivan@eazel.com>
reviewed by: Pavel Cisler <pavel@eazel.com>
Fixed bug 4911 (Crash emptying trash while displaying
properties window for trashed file)
This crawled out of the woodwork recently, and required
several small fixes here and there to solve it nicely,
including making FMPropertiesWindow a subclass --
formerly it was just a GtkWindow with a bunch of wired-up
widgets.
* libnautilus-extensions/nautilus-file.c:
(nautilus_file_get_directory_item_count),
(nautilus_file_get_deep_counts): Allow non-directory items
(files marked gone don't count as directories). Fill in
return values in all cases, even return_if_fail cases.
* src/file-manager/fm-error-reporting.c:
(fm_report_error_renaming_file): Specific error message for
the case where the file being renamed no longer exists. I
ran into this partway through my changes, tested this fix,
then changed the caller to not hit this case.
* src/file-manager/fm-properties-window.h:
Standard header stuff now that FMPropertiesWindow is a class
and not just some grouped functions.
* src/file-manager/fm-properties-window.c:
(fm_properties_window_initialize_class),
(fm_properties_window_initialize): Standard functions needed
for class.
(name_field_done_editing): Don't try to rename file that's gone.
(create_group_menu_item), (create_owner_menu_item):
Added some parameter checking.
(synch_groups_menu), (synch_owner_menu): Check for NULL result
from nautilus_file_get_string_attribute before making a menu
item from it (GTK is unhappy with using NULL for a label).
(directory_contents_value_field_update): Soften assert to make
it not fire when file is gone.
(update_permissions_check_button_state): Bail out if file is gone.
(create_properties_window): Create an FMPropertiesWindow instead
of a GtkWindow; set up its Details.
(create_properties_window_callback): Removed signal handler for
"destroy" now that there's a default handler for this class.
(forget_properties_window): Removed function, guts now in
real_destroy.
(real_shutdown): Disconnect file-changed signal here. This is the
core fix of the infinite loop reported in bug 4911.
(real_destroy): Do the stuff formerly done in
forget_properties_window here.
2000-12-01 Andy Hertzfeld <andy@eazel.com>
* src/nautilus-window.c: (nautilus_window_destroy):
fixed bug 4921, crash when changing sidebar panels preferences
after opening new window, by fixing the call to remove the
preferences callback to have the right callback data.
2000-12-01 John Fleck <jfleck@inkstain.net>
* nautilus/components/help/converters/gnome-db2html2/gdb3html.h,
sect-elements.c, sect-preparse.c,toc-elements.c: add support for
<example> tag, fixing bug #4378
2000-12-01 Maciej Stachowiak <mjs@eazel.com>
reviewed by: Pavel Cisler <pavel@eazel.com>
* components/tree/nautilus-tree-view.c:
(expand_uri_sequence_and_select_end): Avoid forcing a reload of a
node while trying to find a location to select unless we get
stuck; and even then, do only a shallow force reload, not a deep
force reload. This fixes bug 4890 (Tree view makes normal
navigation very slow if a large directory is expanded).
(reload_model_node_recursive): Renamed from `reload_model_node' to
make clear that it will also reload all expanded subnodes.
(reload_model_node): Non-recursive version of
`reload_model_node_recursive'.
(reload_whole_tree, expand_node_for_file): Use
`reload_model_node_recursive' instead of the new non-recursive
version.
(nautilus_tree_view_remove_model_node,
(nautilus_tree_view_update_model_node): Added ifdef'd-out
debugging text for future use.
2000-11-30 Maciej Stachowiak <mjs@eazel.com>
reviewed by: Robey Pointer <robey@eazel.com>
* components/tree/nautilus-tree-model.c (report_node_changed):
Don't do anything if we don't know the file type yet, since this
may cause directories to mistakenly lose their children. This
fixes bug 4912 (Nautilus crashes in tree code when multiple
windows are open).
* components/tree/nautilus-tree-view-private.h: Remove unused
file_to_hack_node_map field from details struct.
2000-11-30 Robey Pointer <robey@eazel.com>
* components/rpmview/Makefile.am:
* components/services/install/command-line/Makefile.am:
* components/services/install/nautilus-view/Makefile.am:
* components/services/install/server/Makefile.am:
Everyone that uses libeazelinstall now needs to use
libeazelsoftcat too. This doesn't make much sense for the rpm
view, but we've shelved that issue for later.
* components/services/install/command-line/eazel-test-softcat.c:
(main):
New test program (eazel-softcat) to perform primitive softcat
queries and check the results.
* components/services/install/lib/eazel-install-protocols.c:
(eazel_install_fetch_package):
Removed get_search_url_for_package and get_url_for_package: they
now belong to libesc.
* components/services/install/lib/eazel-install-types.c:
(eazel_install_protocol_as_string), (packagedata_new),
(packagedata_copy), (packagedata_fill_in_missing),
(packagedata_destroy), (gstr_indent), (dump_package_list),
(packagedata_dump_int), (packagedata_dump):
* components/services/install/lib/eazel-install-types.h:
Add "features" field which is a GList<char *> of features this
package resolves for its parent. Moved fill_in_missing here since
it's PackageData-centric. Added debugging function for dumping a
PackageData into a human-readable string.
* components/services/install/lib/eazel-install-xml-package-list.c:
(osd_parse_list), (osd_parse_dependency),
(osd_parse_implementation), (osd_parse_softpkg),
(eazel_install_packagelist_parse):
* components/services/install/lib/eazel-install-xml-package-list.h:
Parse the "provides" list from softcat: this will change once
softcat finishes revising their XML format, but we need something
to work with for now. Pull out other values like the Eazel id,
and tie "abstract" to summary instead of description. Fix the OSD
parser so that we can distinguish an error return from an empty
package list.
* components/services/install/lib/eazel-softcat-private.h:
* components/services/install/lib/eazel-softcat.c:
(eazel_softcat_initialize), (eazel_softcat_new),
(eazel_softcat_set_server), (eazel_softcat_get_server),
(eazel_softcat_set_cgi_path), (eazel_softcat_get_cgi_path),
(eazel_softcat_set_authn), (eazel_softcat_get_authn),
(eazel_softcat_set_retry), (eazel_softcat_error_string),
(sense_flags_to_softcat_flags), (gnome_vfs_escape_string),
(add_to_url), (verify_softcat_fields),
(get_search_url_for_package), (eazel_softcat_get_info):
* components/services/install/lib/eazel-softcat.h:
Actually implement a good chunk of the softcat library.
* components/services/trilobite/libtrilobite/trilobite-core-distrib
ution.c: (trilobite_get_distribution_enum),
(trilobite_get_distribution_arch):
* components/services/trilobite/libtrilobite/trilobite-core-distrib
ution.h:
Move architecture detection here.
* components/services/trilobite/libtrilobite/trilobite-core-utils.c
: (trilobite_fetch_uri), (trilobite_init),
(trilobite_set_debug_mode), (trilobite_set_log_handler):
* components/services/trilobite/libtrilobite/trilobite-core-utils.h
:
Split out log handling so that test programs can trap trilobite
log entries.
2000-11-30 Rebecca Schulman <rebecka@eazel.com>
Fixed bug 3750, to make cut/copy/paste work
in the complex search bar
reviewed by: Maciej Stachowiak <mjs@eazel.com>
* src/nautilus-complex-search-bar.h:
* src/nautilus-complex-search-bar.c:
(nautilus_complex_search_bar_new),
Set up the first criterion after we create
the bar.
(nautilus_complex_search_bar_set_up_enclosed_entry_for_clipboard):
add a second procedure that new criteria with entries call
when they are added.
* src/nautilus-search-bar-criterion.c:
(nautilus_search_bar_criterion_new_with_type):
set an entry up for the clipboard, if one exists.
2000-11-30 Mike Fleming <mfleming@eazel.com>
reviewed by: ramiro@eazel.com
* components/mozilla/nautilus-mozilla-content-view.c:
(nautilus_mozilla_content_view_initialize),
(mozilla_net_state_callback), (mozilla_net_stop_callback),
(mozilla_progress_callback):
fix bugzilla.eazel.com 4113:
Some web pages never finish loading (throbber spins)
Instead of replying on "max_progress == cur_progress"
doing mozilla_progress_callback, stop throbber on a "net_stop"
signal. Galeon uses "net_stop" for this functionality as well.
2000-11-30 Darin Adler <darin@eazel.com>
Ran check-headers-in-Makefile since we had some problems
with that lately. I guess the Tinderbox is the new way to
catch these problems but I couldn't resist fixing them
the old way too.
* check-headers-in-Makefile.pl: Added some more special cases
in here to make it work better.
* components/services/install/nautilus-view/Makefile.am:
Marked the unused files in here as "noinst_HEADERS" as a hack
to make the script happy. We should delete the files at some
point if we decide we aren't ever using them.
* components/loser/content/.cvsignore:
* components/loser/sidebar/.cvsignore:
* components/mozilla/.cvsignore:
* components/sample/.cvsignore:
* components/services/install/command-line/.cvsignore:
* libnautilus/.cvsignore:
* src/.cvsignore:
* src/file-manager/.cvsignore:
Removed all the .xml.h files because they aren't put in these
directories any more so they don't need to be ignored. If you
have the files still and the cvs warnings bother you, you can
delete them.
2000-11-30 Andy Hertzfeld <andy@eazel.com>
* components/image-viewer/nautilus-image-view.c:
(zoomable_zoom_in_callback):
fixed bug in image viewer where zooming in skipped a level if you
were zoomed to fit. Fixed by only incrementing the index if we're
already at the current level.
2000-11-30 Gene Z. Ragan <gzr@eazel.com>
Fixed bug 4879, "unknown sort mode" warning upon sorting
by "Time" column.
The problem was caused by the sort mode enumeration being
out of sync with the number of columns. As a result
most sorts were being done incorrectly with the wrong
sort function. A new SORT_BY_YEAR entry was added to
the sort enumeration to fix the problem.
* components/music/nautilus-music-view.c:
(sort_song_list):
Add SORT_BY_YEAR case to switch statement.
(sort_by_year):
New sort function to sort by year.
2000-11-30 Gene Z. Ragan <gzr@eazel.com>
Fixed bug 3891, Repeatedly clicking the "Play" button
crashes Nautilus.
* components/music/nautilus-music-view.c:
(play_button_callback): Don't start playback machinery
if a file is already playing.
* components/music/mpg123_handler.c: (start_playing_file):
Add check for playback before starting playback of another
file.
2000-11-30 Gene Z. Ragan <gzr@eazel.com>
Fixed bug 3888, Deleting an MP3 file while in use -> Nautilus crashes
Added a check for the existence of a file before beginning playback.
If the file is no longer available, remove the file form the
song list and attempt to play the next file in the song list.
* components/music/nautilus-music-view.c:
(nautilus_music_view_initialize), (play_current_file):
2000-11-30 John Sullivan <sullivan@eazel.com>
reviewed by: Rebecca Schulman <rebecka@eazel.com>
Fixed bug 4899 (Bookmark for nonexistent file can cause
infinite loop at startup)
Changed NautilusBookmark's internal logic so that it doesn't
keep around a file object for known non-existent URIs. The
trick is to get it to notice when the URI is no longer non-existent
and get a fresh file object then. This is done imperfectly, but
the new symptom is very minor and deferrable (wrote it up as bug 4906).
* libnautilus-extensions/nautilus-bookmark.c:
(nautilus_bookmark_connect_file): Don't get a new NautilusFile
object if we know the URI doesn't exist; instead just set the
missing-bookmark icon. Also made it safe to call this routine
when there's already a file object in hand (just bails out early).
(nautilus_bookmark_get_icon), (nautilus_bookmark_get_uri):
Call nautilus_bookmark_connect_file so that it will connect to a
now-existing file if possible (and thus get the right icon).
Since callers that try to activate the bookmark will call get_uri,
one way to kick a reincarnated bookmark's icon into appearing is
to select it in a menu.
(nautilus_bookmark_get_pixbuf): Call nautilus_bookmark_get_icon to
benefit from its connect_file logic.
Fixed bug 3847 (Icon in properties window flashes while
folder count increments)
* libnautilus-extensions/nautilus-image.c:
(nautilus_image_set_pixbuf): Don't call gtk_widget_queue_resize if
the pixbuf hasn't changed.
Fixed bug 1454 (Properties dialog needs mucho tweaking)
Mostly this was changes to match Arlo's design that he gave me
ages ago. I also fixed a few other problems.
* libnautilus-extensions/nautilus-file.c:
(nautilus_file_get_date_as_string): Change format of date
strings from "<date> <time>" to "<date> at <time>" to match
Arlo's design.
* src/file-manager/fm-properties-window.c:
(attach_label): Now handles requests for a bold font.
(attach_value_label): Renamed from attach_left_aligned_label, use bold
font here.
(attach_value_field),(attach_directory_contents_value_field):
updated for name change.
(attach_right_aligned_label): Removed, guts moved to caller.
(attach_title_field): Use bold font here.
(attach_option_menu): New helper function to share code between
attach_group_menu and attach_owner_menu; now uses gtk_alignment
to make the menu be minimally-sized and left-aligned.
(attach_group_menu), (attach_owner_menu): Use attach_option_menu.
(attach_separator): New helper function to install a separator
across both columns of a properties window table.
(create_basic_page): Use gtk_alignment to make the icon right-aligned;
make the blank row above date rows be standard height.
(create_emblems_page): Changed layout so name appears below emblem
rather than to its right; this matches Customize window and allows
the Properties window to be a smaller width, which looks much better
for the other panes. Also, the emblems are now layed out lrtb instead of
tblr.
(add_permissions_column_label): Make these labels bold.
(add_special_execution_flags): Attach a separator.
(get_adjusted_permissions_row): Helper function to account for the "special
flags" rows, which are not always displayed.
(create_permissions_page): Deploy get_adjusted_permissions_row wherever a
raw row number was used; insert separators.
(create_properties_window): Allow window to be stretched, since the emblems
don't all fit at initial window height (so user can stretch rather than
scrolling if desired).
2000-11-30 Rebecca Schulman <rebecka@eazel.com>
Fix for bug 2438, that we need to handle bad user
input when searching by size.
reviewed by: John Sullivan <sullivan@eazel.com>
* src/nautilus-complex-search-bar.c: (criteria_invalid):
Add a check in here for size criteria specifically,
that declares the criteria invalid if there is a
non-integer value in the entry.
2000-11-30 Andy Hertzfeld <andy@eazel.com>
* components/text/nautilus-text-view.c: (add_one_service),
(add_services_to_menu), (update_service_menu_items):
only disable selection dependent services when there's no selection.
2000-11-30 Andy Hertzfeld <andy@eazel.com>
* components/text/services/Makefile.am:
* components/text/services/english_to_french.xml:
added sample document-oriented text view service.
2000-11-29 Gene Z. Ragan <gzr@eazel.com>
Fixed part of bug 2171. Garbage was appearing in the song
duration text field. This was cause by not reading in the
MP3 header data. In most cases this is due to the presence
of an ID3v2 at the start off the file. We check for this and
hop over it if such data is present.
* components/music/mp3head.c: (get_bitrate), (get_samprate),
(get_stereo), (compare), (sync_scan), (sync_test), (find_sync),
(get_header_info), (get_header_info_extended):
Some addition header handling functions for better diagnostics.
* components/music/mp3head.h:
Added function prototypes and ID3v2 header structure.
* components/music/nautilus-music-view.c:
(fetch_song_info),
(nautilus_music_view_update):
2000-11-30 Andy Hertzfeld <andy@eazel.com>
* components/text/nautilus-text-view.c:
(nautilus_text_view_initialize), (add_one_service),
(nautilus_text_view_build_service_menu),
(update_service_menu_items):
made the service menu items be enabled and disabled appropriately
based on whether there's a selection or not, by attaching to the
button_release_event and key_press_event of the text object
2000-11-29 Eskil Heyn Olsen <eskil@eazel.com>
* nautilus.spec.in:
One more fix, forgot a */ level.
2000-11-29 Maciej Stachowiak <mjs@eazel.com>
* libnautilus-extensions/nautilus-directory-async.c
(nautilus_directory_forget_file_attributes): Fix build problem.
2000-11-29 Eskil Heyn Olsen <eskil@eazel.com>
* components/services/install/lib/Makefile.am:
Fixed noinst blunders.
2000-11-29 Maciej Stachowiak <mjs@eazel.com>
reviewed by: Darin Adler <darin@eazel.com>
Fixed bugs 4385 (Nautilus doesn't gracefully handle deleting
in-use image file), 3240 (reloading a directory doesn't update
directory counts of the entries) and 4683 (embedded text on icon
isn't updated when text changes) by implementing forgetting of
file attributes and using it when appropriate.
Also fixed various other bugs caught by testing of these fixes or
reading the code.
* libnautilus-extensions/nautilus-file.c:
(nautilus_file_forget_attributes): New function that makes the
file forget the specified attributes, including cancelling
possible in-progress I/O for them, and kicking off new I/O if
anyone is monitoring any of the attributes or has a pending
call_when_ready.
(nautilus_file_forget_attributes_internal): Forget all attributes
of this file, *not* including cancelling in-progress I/O, or
kicking off new I/O. This is for the benefit of NautilusDirectory
being able to forget the attributes of all files it is monitoring
at one go.
(nautilus_file_forget_all_attributes): Forget all attributes of
this file, including cancelling in-progress I/O, and kicking off
new I/O.
(forget_directory_count, forget_deep_counts, forget_mime_list,
forget_top_left_text, forget_file_info, forget_activation_uri):
Helper functions to forget individual attributes.
(nautilus_file_forget_activation_uri): Removed as obsolete.
(destroy): use `nautilus_g_list_free_deep' to free the mime list.
* libnautilus-extensions/nautilus-directory-notify.h: Remove
prototype for `nautilus_file_forget_activation_uri'.
* libnautilus-extensions/nautilus-file-private.h: Prototype
`nautilus_file_forget_attributes_internal'.
* libnautilus-extensions/nautilus-file.h:
`nautilus_file_forget_attributes' and
`nautilus_file_forget_all_attributes'.
* libnautilus-extensions/nautilus-link.c
(nautilus_link_local_set_link_uri): Use
`nautilus_file_forget_attributes', not
`nautilus_file_forget_activation_uri' to ensure reload of the
activation URI.
(forget_file_activation_uri): Helper function for the above.
* libnautilus-extensions/nautilus-directory-async.c
(nautilus_directory_cancel_loading_file_attributes): Function to
cancel in-progress I/O for a given set of attributes but only if
it is in progress for the specified file. This function is used to
implement part of `nautilus_file_forget_attributes'.
(cancel_directory_count_for_file, cancel_deep_counts_for_file,
cancel_mime_list_for_file, cancel_top_left_text_for_file,
cancel_file_info_for_file, cancel_activation_uri_for_file): Helper
functions for the above.
(nautilus_directory_force_reload): Add a `file_attributes'
argument and make sure to forget the specified
attributes. Forgetting the attributes fixes bugs 3240 and 4683.
(nautilus_directory_forget_file_attributes): Function to forget
the specified attributes for all files. It makes sure to only
cancel and kick off new I/O once.
(cancel_loading_attributes): helper function for the above that
cancels in-progress loads for the specified attributes, regardless
of for what file.
(request_is_satisfied): The request is not satisfied if the
request calls for top left text and the file lacks it.
(top_left_read_callback): Set 1got_top_left_text' field of the
NautilusFile to TRUE. This problem was masked by the problem with
`request_is_satisfied' fixed above.
(set_up_request_by_file_attributes): Make sure to request the
file_info as well if top left text is requested, since
applicability of top left text depends on the mime type.
(get_info_callback): Mark the file gone if we get
GNOME_VFS_ERROR_NOT_FOUND; we can only get this error for files
gnome-vfs should know about but that do not exist. This is needed
to detect files that are removed on a reload.
* libnautilus-extensions/nautilus-directory-private.h: Update
prototype for `nautilus_directory_force_reload'; Prototype
`nautilus_directory_cancel_loading_file_attributes'
* libnautilus-extensions/nautilus-vfs-directory.c
(vfs_file_monitor_add): Pass the file attributes to
`nautilus_directory_force_reload' since it now wants them.
* src/nautilus-window-manage-views.c
(viewed_file_changed_callback): Cancel location change before
closing the window, since detecting the file is gone is now likely
to happen in the middle of an in-progress reload, and we get
crashes if this is not done.
(nautilus_window_begin_location_change): If we're doing a reload,
forget all file attributes of the NautilusFile for the currently
viewed location. This is to make sure we detect if the file is
gone, and also update the sidebar panel icon and other info
appropriately. This fixes bug 4385.
2000-11-29 Eskil Heyn Olsen <eskil@eazel.com>
* components/services/install/command-line/Makefile.am:
* components/services/install/command-line/eazel-test-packsys.c:
(make_package), (test_packagelist_prune), (test_package_load),
(init_package_system), (test_matches_query), (main):
Some code to test some of the packagesystem functions
* components/services/install/lib/Makefile.am:
build the skeleton and rpm3 package system
* components/services/install/lib/eazel-install-corba-callback.c:
(eazel_install_callback_simple_query):
Fixed indentation
* components/services/install/lib/eazel-install-private.h:
* components/services/install/lib/eazel-install-object.c:
(eazel_install_set_arg), (eazel_install_class_initialize),
(eazel_install_initialize):
added ssl_rename and ignore_file_conflicts to the gtkarg sytem.
Added some comments reg. bug 4851
* components/services/install/lib/eazel-install-problem.c:
(find_dominant_problems):
Null input if empty
* components/services/install/lib/eazel-install-rpm-glue.c:
(eazel_install_start_transaction_make_rpm_argument_list):
Fixed a uninstall bug in the rpm arg building.
* components/services/install/lib/eazel-install-types.h:
* components/services/install/lib/eazel-install-types.c:
(packagedata_list_prune):
Implemented a function to prune a list of packagedata objects from
another list.
* components/services/install/lib/eazel-package-system-private.h:
* components/services/install/lib/eazel-package-system-rpm3.c:
(get_and_set_string_tag), (rpm_packagedata_fill_from_rpm_header),
(rpm_packagedata_fill_from_file), (rpm_packagedata_new_from_file),
(eazel_package_system_rpm3_load_package),
(eazel_package_system_rpm3_query_impl),
(eazel_package_system_rpm3_query_substr),
(eazel_package_system_rpm3_query_foreach),
(eazel_package_system_rpm3_query),
(eazel_package_system_rpm3_install),
(eazel_package_system_rpm3_uninstall),
(eazel_package_system_rpm3_verify),
(eazel_package_system_rpm3_open_roots),
(eazel_package_system_rpm3_finalize),
(eazel_package_system_rpm3_class_initialize),
(eazel_package_system_rpm3_initialize),
(eazel_package_system_rpm3_get_type),
(eazel_package_system_rpm3_new),
(eazel_package_system_implementation):
* components/services/install/lib/eazel-package-system-rpm3.h:
* components/services/install/lib/eazel-package-system-skeleton.c:
(eazel_package_system_skeleton_load_package),
(eazel_package_system_skeleton_query),
(eazel_package_system_skeleton_install),
(eazel_package_system_skeleton_uninstall),
(eazel_package_system_skeleton_verify),
(eazel_package_system_skeleton_finalize),
(eazel_package_system_skeleton_class_initialize),
(eazel_package_system_skeleton_initialize),
(eazel_package_system_skeleton_get_type),
(eazel_package_system_skeleton_new),
(eazel_package_system_implementation):
* components/services/install/lib/eazel-package-system-skeleton.h:
* components/services/install/lib/eazel-package-system.c:
(eazel_package_system_suggest_id),
(eazel_package_system_load_implementation),
(eazel_package_system_load_package), (eazel_package_system_query),
(eazel_package_system_install), (eazel_package_system_uninstall),
(eazel_package_system_verify), (eazel_package_system_emit_start),
(eazel_package_system_emit_progress),
(eazel_package_system_emit_failed),
(eazel_package_system_emit_end),
(eazel_package_system_class_initialize),
(eazel_package_system_initialize), (eazel_package_system_new_real),
(eazel_package_system_new_with_id), (eazel_package_system_new),
(eazel_package_system_marshal_BOOL__POINTER_ENUM_POINTER_POINTER),
(eazel_package_system_marshal_BOOL__POINTER_ENUM_POINTER):
* components/services/install/lib/eazel-package-system.h:
working on 4850, 4851, 4852 and 4858.
* components/services/trilobite/libtrilobite/libtrilobite.h:
* nautilus-installer/src/callbacks.c: (begin_install):
* nautilus-installer/src/installer.c: (skip_over_remove_problems),
(jump_to_retry_page), (install_done), (go_live),
(eazel_installer_add_category), (eazel_installer_do_install),
(eazel_installer_post_install), (draw_splash_text),
(eazel_installer_set_default_texts), (eazel_installer_initialize):
* nautilus-installer/src/installer.h:
The last of the pr2.1 stuff.
* nautilus.spec.in:
devel package includes libtrilobite/eazel/*
2000-11-29 Darin Adler <darin@eazel.com>
reviewed by: Pavel Cisler <pavel@eazel.com>
Fixed some problems with callbacks that are left around after
the object is destroyed.
* src/nautilus-window-manage-views.h:
* src/nautilus-window-manage-views.c:
(viewed_file_changed_callback): Changed to be a normal callback,
not a "connect_object" callback, and simplified the logic.
(cancel_viewed_file_changed_callback): Added a function to cancel
the callback, which is needed both when the window is destroyed
and when the viewed file changes.
(update_for_new_location): Cancel the old callback before setting
up the new one so we don't leave behind callbacks for old locations.
Also use the new nautilus_window_set_viewed_file function so the
callbacks set up in nautilus-window.c can be managed properly.
(free_location_change): Moved part of
nautilus_window_free_load_info in here. This function frees all
the stuff that's used in the location change process; shared by
destroy and "cancel" code. Also fixed a bug where it wouldn't free
the "error_views".
(cancel_location_change): Moved the rest of
nautilus_window_free_load_info in here and made this use the new
function.
(disconnect_view): Made this private now that the code to
disconnect the views is inside this file.
(disconnect_view_callback),
(nautilus_window_manage_views_destroy): Moved the code to clean up
from nautilus-window.c in here. Added cleanup for the location
change fields and for the viewd_file_changed callback.
* src/nautilus-window.c:
(nautilus_window_destroy): Call a new function to do the
nautilus-window-manage-views.c part of the destroy and moved some
code in there. Cancel the view-as callback too.
(create_view_as_menu_item),
(replace_special_current_view_in_view_as_menu),
(nautilus_window_synch_view_as_menu): Renamed. The words "view as
menu" are clearer than "content view menu".
(chose_component_callback): Got rid of code that tries to handle
bad values for callback data. The callback must be cancelled,
because you can't call NAUTILUS_IS_WINDOW on a freed window and
expect it to behave predictably.
(cancel_chose_component_callback): Function to cancel the callback,
called at both destroy time and before adding a new one.
(view_menu_choose_view_callback): Cancel the old callback before
adding a new one.
(view_menu_vfs_method_callback): Simplify logic a bit.
(load_view_as_menu_callback): Renamed.
(cancel_view_as_callback): Function to cancel the callback, called
at both destroy time and before adding a new one.
(nautilus_window_load_view_as_menu): Cancel the old callback before
adding a new one. Also renamed.
(nautilus_window_set_viewed_file): A new function that cancels the
callbacks on the file object before switching to a new one.
* libnautilus-extensions/nautilus-program-choosing.c:
(nautilus_cancel_choose_component_for_file): Implemented missing
cancel function, needed by new window code.
* src/nautilus-window-private.h:
* src/nautilus-window-menus.c:
(bookmarks_menu_add_bookmark_callback),
(add_bookmark_for_current_location): Made the function local to
this file since it's both defined and used here.
* libnautilus-extensions/nautilus-glib-extensions.c:
* libnautilus-extensions/nautilus-volume-monitor.c:
* libnautilus/nautilus-undo-transaction.c:
* libnautilus/nautilus-view.c:
* librsvg/rsvg.c:
Added missing "static" to make some local non-"nautilus_"-prefixed
globals be internal instead of external.
* src/nautilus-sidebar.c: Formatting tweaks, added FIXME.
2000-11-29 Ramiro Estrugo <ramiro@eazel.com>
* nautilus.spec.in:
* README:
Add esound dependency. We've used esound to do sound previews and
in the Music View, but the the dependency was never reflected in
the spec file or documentation.
2000-11-29 Andy Hertzfeld <andy@eazel.com>
* components/text/nautilus-text-view.c:
(nautilus_text_view_load_uri), (text_view_load_location_callback),
(handle_service_menu_item), (service_menu_item_parameters_new),
(service_menu_item_parameters_free), (add_one_service):
added the ability for a text view service to operate on the entire
document and return a mapped version, which replaces the original.
* components/text/services/google.xml:
* components/text/services/webster.xml:
marked the existing services, which operate on the selection, as such
2000-11-28 Andy Hertzfeld <andy@eazel.com>
implementated data-driven framework for text view services. The text
view dynamically builds the services menu by iterating a directory
looking for xml files. Added service definition files for two sample
services. It only supports passing the selection to the service;
passing the entire document is coming soon.
* components/text/Makefile.am:
include the services directory in the build
* configure.in:
* components/text/services/.cvsignore:
* components/text/services/Makefile.am:
build stuff for services directory
* components/text/services/google.xml:
* components/text/services/webster.xml:
definition files for our twp sample services
* components/text/nautilus-text-view-ui.xml:
removed hardwired service menu items
* components/text/nautilus-text-view.c: (handle_service_menu_item),
(service_menu_item_parameters_new),
(service_menu_item_parameters_free), (add_one_service),
(add_services_to_menu), (nautilus_text_view_build_service_menu),
(merge_bonobo_menu_items):
implemented framework to dynamically load service definitions and
execute them when their menu item is selected.
2000-11-28 Robey Pointer <robey@eazel.com>
* components/services/install/lib/eazel-install-object.c:
(eazel_install_log):
Only log debug messages if debug flag is set.
* nautilus-installer/src/installer.c: (start_logging):
* nautilus-installer/src/main.c: (main):
Add --spam/-x flag to the installer to cause debug logging to go
to stderr in addition to the logfile. Make --debug/-d flag not do
that spamming anymore, and make it turn off debugging logs when
this flag isn't used.
2000-11-28 Darin Adler <darin@eazel.com>
* libnautilus-extensions/nautilus-user-level-manager.c:
* libnautilus-extensions/nautilus-user-level-manager.h:
Got rid of _get_num_user_levels call.
2000-11-28 Darin Adler <darin@eazel.com>
reviewed by: Pavel Cisler <pavel@eazel.com>
* libnautilus-extensions/nautilus-view-identifier.h: Remove
HAVE_POPT_H define since the bug in OAF that we were working
around has been fixed.
* components/music/nautilus-music-view.c: Remove unneeded
includes.
* components/rpmview/nautilus-rpm-view.c: Remove unused
#define and FIXME for bug already fixed.
* components/tree/nautilus-tree-view.c:
(nautilus_tree_view_destroy): Remove FIXME for bug already fixed.
* libnautilus-extensions/nautilus-global-preferences.c: Remove
FIXME for bug already fixed.
* libnautilus-extensions/nautilus-user-level-manager.c: Remove
FIXME for bug already fixed.
* src/file-manager/fm-list-view.c: (fm_list_get_default_action):
Remove FIXME for bug already fixed.
* src/nautilus-property-browser.c: (add_background_to_browser):
Remove FIXME for bug already fixed.
* src/nautilus-window.h: Remove FIXME for bug already fixed.
* tools/README: Remove file now that people have had a chance to
find the tools in their new location, so the directory will go
away.
2000-11-28 John Sullivan <sullivan@eazel.com>
reviewed by: Pavel Cisler <pavel@eazel.com>
Fixed bug 4257 (right click on background in icon or list
view doesn't leave context menus up)
This was a problem with nautilus_pop_up_context_menu. It
wasn't passing the event time, which caused GTK to think
that the button-release was for a later button press, and
consequently to close the context menu. It appears that the
root cause may be a gtk menu handling bug, but this checkin
fixes the problem as far as Nautilus is concerned.
* libnautilus-extensions/nautilus-gtk-extensions.h:
* libnautilus-extensions/nautilus-gtk-extensions.c:
(nautilus_pop_up_context_menu): Now takes event as a
parameter, and passes event->time through to gtk_menu_popup.
Passes 0 for button if event is a button release, to work with
subtle logic in gtk popup menu-handling.
* libnautilus-extensions/nautilus-icon-container.h:
* libnautilus-extensions/nautilus-icon-container.c:
Add event parameters to context-click signal handlers.
(nautilus_icon_container_initialize_class): Change signal
marshal and signature.
(context_menu_parameters_new), (context_menu_parameters_free):
New helper functions to manage callback data when delaying
the appearance of a context menu.
(button_press_event), (button_release_event),
(show_context_menu_callback): Pass event when emitting signal.
(handle_icon_button_press): Pass event as well as container
to idle callback.
* libnautilus-extensions/nautilus-list.h:
* libnautilus-extensions/nautilus-list.c:
Add event parameters to context-click signal handlers.
(nautilus_list_initialize_class): Change signal marshal and
signature.
(context_menu_parameters_new), (context_menu_parameters_free):
New helper functions to manage callback data when delaying
the appearance of a context menu.
(nautilus_list_button_press), (nautilus_list_button_release),
(show_context_menu_callback): Pass event when emitting signal
or setting up idle callback.
* src/file-manager/fm-directory-view.h:
* src/file-manager/fm-directory-view.c:
(fm_directory_view_pop_up_selection_context_menu),
(fm_directory_view_pop_up_background_context_menu):
Take event parameter and pass it to
nautilus_pop_up_context_menu.
* src/file-manager/fm-icon-view.c:
(icon_container_context_click_selection_callback),
(icon_container_context_click_background_callback):
Add event parameter to match signal change, and pass
event when calling fm_directory_view_pop_up_xxx
* src/file-manager/fm-list-view.c:
(context_click_selection_callback),
(context_click_background_callback):
Add event parameter to match signal change, and pass
event when calling fm_directory_view_pop_up_xxx
* src/nautilus-window-toolbars.c:
(back_or_forward_button_clicked_callback):
Pass event for context menu on Back and Forward
buttons (this code is still #ifdeffed out from Bonobo
switchover, awaiting fix for bug 3510).
* src/nautilus-sidebar.c: (nautilus_sidebar_press_event):
Pass event for context menu in sidebar.
* src/nautilus-zoom-control.c:
(nautilus_zoom_control_button_press_event):
Pass event for context menu in zoom control.
2000-11-28 Arlo Rose <arlo@eazel.com>
* /icons/loading.png:
* /icons/eazel/fossil.png:
* /icons/villanova/villanova_green.png:
Fixed the white point problem on a few PNG files.
I don't think this got them all.
2000-11-28 J Shane Culpepper <pepper@eazel.com>
* components/services/trilobite/libtrilobite/Makefile.am:
The real fix has now been found for tinderbox breakage.
2000-11-28 Rebecca Schulman <rebecka@eazel.com>
Fixes for bugs 2376, 4553, and 3799
This should make the complex search bar usable
and visible.
reviewed by: Maciej Stachowiak <mjs@eazel.com>
* configure.in:
* libnautilus-extensions/Makefile.am:
* cut-n-paste-code/widgets/Makefile.am:
* cut-n-paste-code/widgets/gimphwrapbox/.cvsignore:
* cut-n-paste-code/widgets/gimphwrapbox/Makefile.am:
* cut-n-paste-code/widgets/gimphwrapbox/gtkhwrapbox.c:
(gtk_hwrap_box_get_type), (gtk_hwrap_box_class_init),
(gtk_hwrap_box_init), (gtk_hwrap_box_new), (get_child_requisition),
(_gtk_hwrap_box_size_request), (get_layout_size),
(gtk_hwrap_box_size_request), (reverse_list_row_children),
(layout_row), (layout_rows), (gtk_hwrap_box_size_allocate):
* cut-n-paste-code/widgets/gimphwrapbox/gtkhwrapbox.h:
* cut-n-paste-code/widgets/gimphwrapbox/gtkwrapbox.c:
(gtk_wrap_box_get_type), (gtk_wrap_box_class_init),
(gtk_wrap_box_init), (gtk_wrap_box_set_arg),
(gtk_wrap_box_get_arg), (gtk_wrap_box_set_child_arg),
(gtk_wrap_box_get_child_arg), (gtk_wrap_box_child_type),
(gtk_wrap_box_set_homogeneous), (gtk_wrap_box_set_hspacing),
(gtk_wrap_box_set_vspacing), (gtk_wrap_box_set_justify),
(gtk_wrap_box_set_line_justify), (gtk_wrap_box_set_aspect_ratio),
(gtk_wrap_box_pack), (gtk_wrap_box_reorder_child),
(gtk_wrap_box_query_child_packing),
(gtk_wrap_box_query_child_forced_break),
(gtk_wrap_box_set_child_packing),
(gtk_wrap_box_set_child_forced_break),
(gtk_wrap_box_query_line_lengths), (gtk_wrap_box_map),
(gtk_wrap_box_unmap), (gtk_wrap_box_draw), (gtk_wrap_box_expose),
(gtk_wrap_box_add), (gtk_wrap_box_remove), (gtk_wrap_box_forall):
* cut-n-paste-code/widgets/gimphwrapbox/gtkwrapbox.h:
Copied and pasted the wrapping hbox from the Gimp.
I made a few modifications, including some resizing requests,
when the chosen size is not the right one for the actual
space available. Sizing wrapping boxes is a tricky problem
with gtk, because they have nonstandard sizing requests
(they can request x or y or z) and my solution is probably
not optimal, since some of the sizing adjustments are visible
on screen. However, a better fix is a lot more time consuming,
and should probably wait for past 1.0.
* src/nautilus-complex-search-bar.c:
(search_bar_criterion_type_changed_callback),
(queue_search_bar_resize_callback),
(nautilus_complex_search_bar_initialize_class),
(nautilus_complex_search_bar_initialize), (real_activate),
(nautilus_complex_search_bar_queue_resize),
(attach_criterion_to_search_bar),
(unattach_criterion_from_search_bar),
(load_find_them_pixmap_widget), (more_options_callback),
(fewer_options_callback), (update_options_buttons_state):
* src/nautilus-complex-search-bar.h:
Changed the criteria layout to be in a vbox instead of a table,
so that we can insert wrapping hboxes. Added a new function
that will effectively resize the complex search bar, and we call
it at appropriate points. Switched the packing order of the
buttons, since the wrap box has only one packing function, and it is
a pack_start, rather than a pack_end function
* src/nautilus-search-bar-criterion-private.h:
* src/nautilus-search-bar-criterion.c: (queue_bar_resize_callback),
(nautilus_search_bar_criterion_new_from_values),
(nautilus_search_bar_criterion_show),
(nautilus_search_bar_criterion_hide),
(nautilus_search_bar_criterion_update_valid_criteria_choices),
(hide_date_widget), (show_date_widget), (make_emblem_value_menu):
Put the criteria into wrapping boxes as part of their creation, and
trigger a resize of the complex search bar when the wrapping box
complains about its allocated size.
2000-11-28 Michael Engber <engber@eazel.com>
* libnautilus-extensions/nautilus-background.c:
(fill_canvas_from_gradient_buffer),
(fill_drawable_from_gradient_buffer),
(update_drawable_with_pixbuf), (draw_pixbuf_tiled):
Update bug number in FIXME. Fixing some tabbing.
2000-11-28 J Shane Culpepper <pepper@eazel.com>
* components/services/trilobite/libtrilobite/Makefile.am:
One more try...
2000-11-28 J Shane Culpepper <pepper@eazel.com>
* components/services/trilobite/libtrilobite/Makefile.am:
Another stab at fixing tinderbox.
2000-11-28 J Shane Culpepper <pepper@eazel.com>
* components/services/trilobite/libtrilobite/Makefile.am:
Fixing tinderbox build breakage from my last checkin.
2000-11-28 Andy Hertzfeld <andy@eazel.com>
fixed bugs 4864, 4865, 4866 abd 4868, involving adding and removing
items from the property browser, by rewording error messages and
tweaking some logic.
* src/nautilus-property-browser.c: (add_color_to_browser),
(is_reserved_keyword), (emblem_dialog_clicked), (add_new_emblem),
(make_properties_from_directories),
(make_properties_from_xml_node):
2000-11-28 J Shane Culpepper <pepper@eazel.com>
* components/services/trilobite/libtrilobite/Makefile.am:
Fix for bug #3110. Make sure the private headers do not
get installed.
2000-11-28 Gene Z. Ragan <gzr@eazel.com>
reviewed by: Pavel Cisler <pavel@eazel.com>
* libnautilus-extensions/nautilus-entry.c:
(nautilus_entry_initialize):
Set cursor_obscured flag to false and update event mask
to allow pointer moved events.
(nautilus_entry_motion_notify):
Display the cursor if it was previouslly hidden.
(obscure_cursor):
New function that hides the cursor when the user begins typing.
(nautilus_entry_key_press):
Call obscure_cursor function.
* libnautilus-extensions/nautilus-entry.h:
Added cursor_obscured flag to entry class.
* libnautilus-extensions/nautilus-gdk-extensions.c:
* libnautilus-extensions/nautilus-gdk-extensions.h:
(nautilus_gdk_window_set_invisible_cursor):
New function to hide the cursor of the widget passed in.
2000-11-27 Maciej Stachowiak <mjs@eazel.com>
* components/text/Makefile.am: Added definition of NULL to shut up
tinderbox.
2000-11-27 Maciej Stachowiak <mjs@eazel.com>
reviewed by: Gene Z. Ragan <gzr@eazel.com>
Fixed bugs 3608 (Tree view disclosure triangle behavior on empty
folders is confusing) and 4368 (Tree View gets confused by
renaming file in closed folder).
* libnautilus-extensions/nautilus-ctree.h: Reindented.
* libnautilus-extensions/nautilus-ctree.c:
(nautilus_ctree_realize, nautilus_ctree_unrealize,
nautilus_ctree_button_press, nautilus_ctree_draw_expander,
draw_row, nautilus_ctree_unlink, change_focus_row_expansion,
nautilus_ctree_last, nautilus_ctree_find_node_ptr,
nautilus_ctree_find_all_by_row_data): Made NautilusCTree handle
all expansion and expander-related stuff based on whether the
node's is_leaf field is set, not based on whether it actually has
children. This way, by setting is_leaf to FALSE, you can make a
node with no children expandable.
* components/tree/nautilus-tree-view.c:
(nautilus_tree_view_insert_model_node, forget_view_node,
nautilus_tree_view_update_model_node,
nautilus_tree_view_model_done_loading_callback,
nautilus_tree_view_initialize, nautilus_tree_view_destroy),
expand_node_for_file, insert_hack_node, remove_hack_node,
freeze_if_have_hack_node): When inserting or updating nodes, set
is_leaf to FALSE if the node represents a directory, otherwise
TRUE. Remove all code relating to hack node handling. Combined
with the change above, this makes normal directories expand
normally, and prevents directories from collapsing when files
inside them are renamed.
2000-11-27 Andy Hertzfeld <andy@eazel.com>
* components/music/nautilus-music-view.c:
(nautilus_music_view_initialize):
fixed bug 4420, non-portable use of string macro, by using the N_
macro as Darin suggested.
Also, fixed up some glitches in the ChangeLog from previous
check-ins.
2000-11-27 Mathieu Lacage <mathieu@eazel.com>
Might fix tinderbox.
* components/text/Makefile.am:
2000-11-27 Pavel Cisler <pavel@eazel.com>
reviewed by: Gene Z. Ragan <gzr@eazel.com>
* libnautilus-extensions/nautilus-file.c:
(nautilus_file_contains_text):
Fixed bugzilla 4756 - binary files previewed on icons.
Turned out to be easy - the nautilus_file_contains_text was
over-optimistic. Changed it to only mark for preview actual text files
(files with the "text" MIME supertype).
2000-11-27 Andy Hertzfeld <andy@eazel.com>
added a new text view component with zooming, settable fonts and
text-oriented services. The services are currently hardwired but there
will be a framework soon. You may have to delete your
/gnome/share/oaf/text-plain.oafinfo to see it in action.
* configure.in:
* components/Makefile.am:
* components/text/.cvsignore:
* components/text/Makefile.am:
build stuff for the new text view
* components/text/main.c: (text_view_object_destroyed),
(text_view_make_object), (main):
factory object for the text view
* components/text/nautilus-text-view-ui.xml:
xml file defining the menus for the text view
* components/text/nautilus-text-view.oafinfo:
oaf definitions for the text view
* components/text/nautilus-text-view.h:
interface file for the text view
* components/text/nautilus-text-view.c:
(nautilus_text_view_initialize_class),
(nautilus_text_view_initialize), (detach_file),
(nautilus_text_view_destroy),
(nautilus_text_view_get_nautilus_view),
(nautilus_text_view_update), (nautilus_text_view_load_uri),
(text_view_load_location_callback),
(nautilus_text_view_update_font), (get_selected_text),
(text_view_search_callback), (text_view_lookup_callback),
(nautilus_text_view_set_font), (handle_ui_event),
(merge_bonobo_menu_items), (nautilus_text_view_zoom_to_level),
(nautilus_text_view_bump_zoom_level), (zoomable_zoom_in_callback),
(zoomable_zoom_out_callback), (zoom_index_from_float),
(zoomable_set_zoom_level_callback),
(zoomable_zoom_to_fit_callback):
implementation for the text view
* libnautilus-extensions/nautilus-icon-container.c:
(lay_down_icons_horizontal):
fixed bug 3485, icon layout not using all of the available space, by tweaking the
code to not require the extra space between the columns
2000-11-27 Darin Adler <darin@eazel.com>
* nautilus.spec.in: Removed a file that's no longer present.
This is another crack at fixing the Tinderbox.
* components/services/install/lib/.cvsignore: Ignore the
new .la file too.
2000-11-27 Robin * Slomkowski <rslomkow@eazel.com>
* configure.in: added check for esd via m4 macro.
2000-11-27 Gene Z. Ragan <gzr@eazel.com>
buddy: Pavel Cisler <pavel@eazel.com>
We now use the "noauto" flag in the fstab entry for the device
to determine if the volume is removable. This is still imperfect,
but much better than the enumerated case that was being used before.
* libnautilus-extensions/nautilus-volume-monitor.c:
(nautilus_volume_monitor_volume_is_removable),
(nautilus_volume_monitor_get_removable_volumes),
(mnttab_add_mount_volume), (mntent_add_mount_volume):
* libnautilus-extensions/nautilus-volume-monitor.h:
Added is_removable field to NautilusVolume struct.
2000-11-27 Darin Adler <darin@eazel.com>
* components/services/install/lib/Makefile.am:
Makefile listed ".o" files instead of sources, making srcdir ==
builddir builds not compile anything! Fixed so the files are
compiled even when srcdir == builddir; this makes us all see the
errors we were previously seeing only on the Tinderbox.
* components/services/install/lib/eazel-softcat-private.h:
* components/services/install/lib/eazel-softcat.c:
(eazel_softcat_class_initialize):
* components/services/install/lib/eazel-softcat.h:
Tweaked and disabled enough code so it builds now. This fixes the
Tinderbox build.
2000-11-27 Andy Hertzfeld <andy@eazel.com>
* icons/Makefile.am:
* icons/eazel/i-directory-*:
* icons/emblem-changed.gif:
* icons/emblem-encrypted.gif:
* icons/emblem-remote.gif:
removed some ancient, unused emblem images, and added updated
folder icons in eazel theme from Susan.
2000-11-27 Darin Adler <darin@eazel.com>
reviewed by: John Sullivan <sullivan@eazel.com>
* libnautilus-extensions/nautilus-icon-container.c:
(hide_rename_widget):
* libnautilus-extensions/nautilus-icon-dnd.c:
(create_selection_shadow):
Remove two different FIXMEs about using gtk_object_destroy instead
of gtk_object_unref. It turns out that for widgets, destroy is the
right way to let go.
2000-11-27 Andy Hertzfeld <andy@eazel.com>
* src/file-manager/fm-directory-view.c: (real_update_menus):
fixed bug where the "Reset Background" command in the icon view
was not being disabled when the background was the default.
2000-11-27 Rebecca Schulman <rebecka@eazel.com>
(committed under eli@eazel.com)
* components/services/install/lib/eazel-softcat.h:
Added a couple of missing semicolons, which hopefully will
make tinderbox happy.
2000-11-27 John Fleck <jfleck@inkstain.net>
* components/help/converters/gnome-db2html2/sect-elements.c
add line to sect_author_characters to print out contents of author
tag; fixing bug #4801
elements in body of doc
2000-11-26 Maciej Stachowiak <mjs@eazel.com>
Some build fixes to make tinderbox happy.
* components/services/install/lib/eazel-package-system-private.h:
Add return types (randomly guessed `void') to function pointer
members of structs.
* components/services/install/lib/eazel-package-system.h: Don't
include the private header in the public header. Add some
semicolons after some typedefs. Add a missing comma in an enum
declaration. Add prototype for `eazel_package_system_unref'.
* components/services/install/lib/Makefile.am: Comment out
libeazelpackagesystem.la from the build, since even after these
changes it won't compile.
2000-11-25 Ali Abdin <aliabdin@aucegypt.edu>
* components/help/converters/gnome-db2html2/sect-preparse.c:
(sect_preparse_sect_start_element):
Allow navigation links at the end of the glossary (this makes sure
</BODY> and </HTML> tags are added)
2000-11-24 Ali Abdin <aliabdin@aucegypt.edu>
* components/help/help-method.c:
(old_help_file): Removed
(find_help_file): Change this code to make it more consistant and
clear. I think it also made it go from O(n^2) to O(n) for the case
of HTML files (even though in practice this may not mean much since n
is small). Anyway, this is a better fix for bug #4724
2000-11-23 Ali Abdin <aliabdin@aucegypt.edu>
Preliminary glossary supports.
Fix bug #2399, #4702, #4724. Partial fix for #4724
(a few of the above are thanks to patches/mails from
jfleck@inkstain.net)
Some other misc. bug-fixing.
Cleaned up some code.
Preliminary glossary support (thanks to a patch by
jfleck@inkstain.net)
* components/help/help-method.c:
(file_in_info_path):
Fix a typo preventing it from searching /usr/gnome/info
Add in support for /usr/share/info directory for Debian (hopefully
this fixes bug #4414)
(transform_file),
(find_help_file): Move the searching for HTML files into the
find_help_file function to make things consistant. Fixes bug #4724
* components/help/converters/gnome-db2html2/gdb3html.c:
(init_entities): Conver entities to use a table, and add support for
iso-latin characters (for i18n purposes).
(parse_file): set version to XML_DEFAULT_VERSION, fixes bug #2399
#if 0'd out a useless call to a function
(xml_parse_file): #if 0'd out this function since we no longer use it
* components/help/converters/gnome-db2html2/sect-elements.c:
(sect_figure_start_element):
Increment the figure count as soon as we enter (instead of when we
leave) (should fix #4702)
* components/help/converters/gnome-db2html2/gdb3html.[ch]:
* components/help/converters/gnome-db2html2/sect-elements.[ch]:
* components/help/converters/gnome-db2html2/sect-preparse.c,
* components/help/converters/gnome-db2html2/toc-elements.c:
(glossentry_stack_add), (glossary_start_element),
(sect_glossseealso_start_element),
(sect_glosssee_start_element),
(sect_preparse_glossary_start_element),
(sect_preparse_glossterm_characters),
(toc_glossdiv_start_element), (toc_glossdiv_end_element)
(toc_glossentry_start_element), (toc_glossentry_end_element),
(toc_glossterm_start_element), (toc_glossterm_end_element):
New functions for glossary support
(sect_title_start_element), (sect_title_end_element),
(sect_title_characters),
(toc_author_start_element), (toc_author_characters)
(toc_title_start_element), (toc_title_end_element),
(toc_title_characters):
Modified functions for glossary support
(sect_preparse_set_doctype):
Add support for glossary, and fix a bug (we should set to BOOK_DOC and
ARTICLE_DOC instead of just BOOK or ARTICLE!!!)
2000-11-22 Eskil Heyn Olsen <eskil@eazel.com>
* components/services/install/lib/Makefile.am:
* components/services/install/lib/eazel-package-system-private.h:
* components/services/install/lib/eazel-package-system.c:
(eazel_package_system_finalize), (eazel_package_system_unref),
(eazel_package_system_class_initialize),
(eazel_package_system_initialize), (eazel_package_system_get_type),
(eazel_package_system_new):
* components/services/install/lib/eazel-package-system.h:
* components/services/install/lib/eazel-softcat-private.h:
* components/services/install/lib/eazel-softcat.c:
(eazel_softcat_finalize), (eazel_softcat_unref),
(eazel_softcat_class_initialize), (eazel_softcat_initialize),
(eazel_softcat_get_type), (eazel_softcat_new):
* components/services/install/lib/eazel-softcat.h:
The first parts of the upcoming big rewrite of libeazelinstall.
* components/services/install/lib/eazel-install-object.c:
(eazel_install_install_packages):
Always set_uninstall(FALSE) in install.
* components/services/install/lib/eazel-install-problem.c:
(eazel_install_problem_case_to_string),
(eazel_install_problem_handle_cases):
Removed debug output and moved the translation comments back to
right before the i18n strings.
Also copy the install_categories and uninstall_categories, to not
corrupt the callers category lists.
* nautilus-installer/src/Makefile:
Yes.
* nautilus-installer/src/installer.c: (start_over),
(start_over_callback_druid), (dont_start_over_callback),
(create_what_to_do_page), (jump_to_retry_page),
(eazel_installer_do_install), (eazel_installer_setup_texts):
Fixing 4841
* nautilus-installer/src/installer.h:
Removed some old cruft.
2000-11-22 Andy Hertzfeld <andy@eazel.com>
` * libnautilus-extensions/nautilus-image.h:
added nautilus_image_new_from_file convenience routine
* libnautilus-extensions/nautilus-image.c:
(nautilus_image_new_from_file):
implemented nautilus_image_new_from_file to make it easy to
convert code that used gnome_pixmap_new_from_file to use
anti-aliased images
* components/hardware/nautilus-hardware-view.c: (setup_form_title),
(setup_overview_form):
converted the hardware view to use anti-aliased images
2000-11-22 Michael K. Fleming <mfleming@eazel.com>
* src/nautilus-first-time-druid.c: (set_http_proxy):
Set the newly specified "/system/gnome-vfs/use-http-proxy" flag
when setting an http proxy
2000-11-22 Robey Pointer <robey@eazel.com>
* nautilus-installer/src/installer.c: (start_over_button),
(jump_to_retry_page):
Change ignore button callback to match what GTK expects.
2000-11-22 Michael Engber <engber@eazel.com>
* src/nautilus-application.c: (nautilus_application_startup):
Always open a window in response to typing nautilus
at the cmd line. Used to not open a window if you typed
nautilus --start-desktop. Bug 4720
2000-11-22 Michael Engber <engber@eazel.com>
* libnautilus-extensions/nautilus-background.c:
(nautilus_background_load_image_callback),
(nautilus_background_set_image_uri_and_color),
(nautilus_background_reset):
* src/nautilus-sidebar.c: (setting_change_metadata_callback),
(background_settings_changed_callback):
Fixed problem dropping images onto sidebar - bug 4822
2000-11-22 Ramiro Estrugo <ramiro@eazel.com>
* configure.in:
Build the mozilla component without rtti and without exceptions.
This causes problems on some g++ compilers.
2000-11-22 Rebecca Schulman <rebecka@eazel.com>
Fixed bug 3919, that the numeric date field still
showed when "day is yesterday" was chosen
* src/nautilus-search-bar-criterion.c:
(nautilus_search_bar_criterion_new_from_values),
(nautilus_search_uri_get_first_criterion),
(modified_relation_should_show_value), (hide_date_widget),
(show_date_widget):
Added callbacks to correctly show and hide the date
widget.
2000-11-21 Robey Pointer <robey@eazel.com>
* components/services/install/lib/eazel-install-problem.c:
(eazel_install_problem_case_to_string),
(eazel_install_problem_case_foreach_to_string),
(eazel_install_problem_case_foreach_to_package_names),
(eazel_install_problem_cases_to_package_names),
(eazel_install_problem_find_dominant_problem_type):
* components/services/install/lib/eazel-install-problem.h:
Add hack to let us ask for only the package names of items in the
problem list (and only those that need to be uninstalled). This
lets us build up a special bullet list for the "update not found"
installer panel.
* nautilus-installer/src/callbacks.c: (begin_install),
(prep_retry):
* nautilus-installer/src/installer.c: (remove_problems_timer),
(jump_to_retry_page), (toggle_button_lock),
(toggle_button_toggled), (eazel_installer_set_default_texts):
Fix up the "update not found" panel to match a reasonable UI, and
fix some bugs that caused it to go straight into another
(extremely confusing) panel that suggested you ignore "all
problems" and then listed no problems.
* nautilus-installer/src/Makefile.am:
* nautilus-installer/src/support.c:
* nautilus-installer/src/support.h:
Remove the unused support.c from the Makefile, and mark the files
as unused so that a more adventurous soul can cvs remove them soon.
2000-11-21 Rebecca Schulman <rebecka@eazel.com>
reviewed by: Pavel Cisler <pavel@eazel.com>
Fixes for bugs 690 and 733, to make the clipboard
work for file editing in place, and make sensitivity
work. Paste doesn't work correctly still, and a bug
is filed for this issue.
* libnautilus-extensions/nautilus-entry.h:
* libnautilus-extensions/nautilus-entry.c:
(nautilus_entry_initialize_class), (nautilus_entry_key_press),
(nautilus_entry_motion_notify), (nautilus_entry_set_text),
(nautilus_entry_set_selection), (nautilus_entry_insert_text),
(nautilus_entry_delete_text):
Added a new signal to nautilus entry, called "selection_changed"
that is fired whenever the region selected in an editiable widget
is changed. This is used to determine how to set clipboard sensitivity
correctly.
* libnautilus-extensions/nautilus-icon-container.h:
* libnautilus-extensions/nautilus-icon-container.c:
(nautilus_icon_container_initialize_class),
(nautilus_icon_container_start_renaming_selected_item),
(hide_rename_widget):
Add a new signal "renaming_icon", which tells the icon view
to set up clipboard capabilities for the new editable widget
* libnautilus-extensions/nautilus-icon-private.h:
* libnautilus-extensions/nautilus-icon-text-item.h:
* libnautilus-extensions/nautilus-icon-text-item.c:
(iti_stop_editing), (iti_entry_text_changed_by_clipboard),
(iti_start_editing), (iti_destroy), (iti_start_selecting),
(iti_stop_selecting), (iti_event),
(nautilus_icon_text_item_get_renaming_editable):
Sad hacks that I had to add on top of this already scary file so
that the editable, which is in its own offscreen window somewhere,
communicates to the clipboard what is actually going on when text
is entered and selections are changed. This includes adding a
new signal when text is changed, to make sure the entry knows about
it, firing an initial grab focus for the widget so that the widget
turns on, passing on more of the events of the canvas
widget, including motion notifies and focus events, and
keeping a persistent copy of the last renaming entry in the icon
container so that pastes for that widget will still work.
* libnautilus/nautilus-clipboard.h:
* libnautilus/nautilus-clipboard.c: (set_menu_item_sensitive),
(set_paste_sensitive_if_clipboard_contains_data),
(set_clipboard_menu_items_sensitive),
(set_clipboard_menu_items_insensitive),
(clipboard_items_are_merged_in),
(set_clipboard_items_are_merged_in),
(merge_in_clipboard_menu_items), (merge_out_clipboard_menu_items),
(focus_changed_callback), (grab_focus_callback),
(selection_changed_callback),
(initialize_clipboard_component_with_callback_data),
(nautilus_clipboard_set_up_editable),
(widget_was_set_up_with_selection_sensitivity),
(first_focus_callback),
(nautilus_clipboard_set_up_editable_in_control):
Reorganized some of the code, and also added new callbacks
to deal with sensitivity changes.
* src/file-manager/fm-directory-view.h:
* src/file-manager/fm-directory-view.c:
(fm_directory_view_get_bonobo_control):
Add a new function that the icon view uses to
pass the bonobo control for clipboard set up
* src/file-manager/fm-icon-view.c: (renaming_icon_callback),
(create_icon_container):
Set up clipboard capabilities when the renaming widget is
created.
* src/nautilus-location-bar.c: (nautilus_location_bar_new):
* components/notes/nautilus-notes.c: (make_notes_view):
* src/nautilus-simple-search-bar.c:
(nautilus_simple_search_bar_new):
Changed calls to clipboard set up routines to include
the new shares_selection_changes parameter. Widgets that
use the "selection_changed" signal (NautilusEntries)
say "TRUE" here, otherwise selection doesn't work quite
right, and FALSE is used instead.
* src/nautilus-search-bar-criterion.c: (get_size_location_for):
Deal with the case when a user has entered a non-numeric size
in a smart way, by using nautilus_str_to_int. This is related
to bug 2438, but is not a complete fix.
2000-11-21 Pavel Cisler <pavel@eazel.com>
reviewed by: Mathieu Lacage <mathieu@eazel.com>
* libnautilus-extensions/nautilus-file-operations.c:
(handle_xfer_vfs_error):
Fixed 4486 and 3748. Made the file copy operation error dialog
have a non-misleading title if the title actually shows up (it
is not supposed to but it may due to window manager theme bugs).
Made the error text for copying into non-writeable dialogs more
accurate.
2000-11-21 Robey Pointer <robey@eazel.com>
* nautilus-installer/src/*.xpm:
removed obsolete XPM files
2000-11-21 Ali Abdin <aliabdin@aucegypt.edu>
* components/help/converters/gnome-info2html2/main.c:
(main):
Check /usr/share/info by default for info files too (Debian uses
this). This partially fixes bug #4414
* components/help/converters/gnome-db2html2/sect-preparse.c:
(sect_preparse_sect_start_element):
Apply a slightly modified patch by John Fleck to handle navigation
links with regards to the appendix (Fixes bug #4792)
2000-11-21 Andy Hertzfeld <andy@eazel.com>
* components/music/nautilus-music-view.c: (fetch_song_info):
fixed bug 4815, bitrate and time not displayed for certain mp3s. It turns
out that some encoders reserve a lot of space for id3v2 tags at the
beginning of the file, so we weren't looking deep enough into the file.
Fixed by changing the size of the header buffer from 1K to 8K.
2000-11-21 Pavel Cisler <pavel@eazel.com>
reviewed by: Maciej Stachowiak <mjs@eazel.com>
Fixed bugzilla 855 - Renaming a file with thumbnails does not affect the
thumbnails and 4654 - Old thumbnails cause problems with renaming.
* libnautilus-extensions/nautilus-directory-metafile.c:
(nautilus_directory_rename_file_metadata),
(nautilus_directory_remove_file_metadata):
Finish the metafile rename and metafile remove operation by
updating thumbnail files correspondingly, if they exist.
* libnautilus-extensions/nautilus-directory.c:
* libnautilus-extensions/nautilus-directory.h:
(nautilus_directory_get_file_uri):
Added a convenience routine.
* libnautilus-extensions/nautilus-thumbnails.c: (vfs_file_exists):
Tweaked to use the right GnomeVFS call.
* libnautilus-extensions/nautilus-thumbnails.h:
* libnautilus-extensions/nautilus-thumbnails.c:
(nautilus_update_thumbnail_file_renamed_one),
(nautilus_update_thumbnail_file_renamed),
(nautilus_remove_thumbnail_for_file_one),
(nautilus_remove_thumbnail_for_file):
Look for an existing thumbnail for a file, if present, rename or
remove it respectively to update it to the new state.
* libnautilus-extensions/nautilus-thumbnails.c:
(make_thumbnail_path), (nautilus_get_thumbnail_uri),
(check_for_thumbnails), (make_thumbnails):
Added a create_parents_if_needed parameter used by the new thumbnail
updating calls.
2000-11-21 Robey Pointer <robey@eazel.com>
* nautilus-installer/src/installer.c: (early_log_catcher),
(catch_early_logs), (start_logging), (eazel_installer_initialize):
Stop spamming the console with crap before logging starts.
2000-11-20 Maciej Stachowiak <mjs@eazel.com>
reviewed by: Pavel Cisler <pavel@eazel.com>
Fix bugs 2943 (Dragging icons between windows or to the desktop
triggers scrolling), 4786 (Need to remove tree view auto-expand
feature for 1.0) and 4476 (weird horizontal autoscroll
behavior). Auto-scroll now has a consistent 750 ms startup delay,
and the tree auto-expand is off.
* libnautilus-extensions/nautilus-drag.h,
libnautilus-extensions/nautilus-drag.c:
(nautilus_drag_autoscroll_in_scroll_region,
nautilus_drag_autoscroll_start, nautilus_drag_autoscroll_stop):
New convenience functions that factor out common code formerly in
the tree, list and icon view DnD code. This fixes the mistakes
common to all three of those views, where the auto-scroll initial
delay was measured from the start of dragging overall, not from
entering the scroll region.
* libnautilus-extensions/nautilus-icon-private.h,
libnautilus-extensions/nautilus-icon-dnd.c
(auto_scroll_timeout_callback, set_up_auto_scroll_if_needed,
stop_auto_scroll): Use the above calls. Also, correct a `<'
vs. `>' mistake that made the auto-scroll delay never take effect.
* libnautilus-extensions/nautilus-list.c
(auto_scroll_timeout_callback, nautilus_list_start_auto_scroll,
nautilus_list_stop_auto_scroll): Use the above calls. Also,
correct a `<' vs. `>' mistake that made the auto-scroll delay
never take effect.
* components/tree/nautilus-tree-view-dnd.c:
(nautilus_tree_view_drag_leave, nautilus_tree_view_drag_motion,
collapse_time_callback, nautilus_tree_view_expand_node,
nautilus_tree_view_is_tree_node_expanded, nautilus_dump_info
expand_hack_unref, expand_hack_new, expand_time_callback,
nautilus_tree_view_expand_maybe_later): Remove bunches of code to
disable auto-expand.
(ready_to_start_scrolling, auto_scroll_timeout_callback),
(nautilus_tree_view_start_auto_scroll),
(nautilus_tree_view_stop_auto_scroll),
(nautilus_tree_view_drag_destroy): Use new common auto-scroll
code. I also made it possible to add an extra auto-scroll delay
for horizontal auto-scroll, but now that the startup delay has
been fixed, it seems almost impossible to trigger horizontal
auto-scroll accidentally, so I consider 4476 fixed.
* components/adapter/bonobo-stream-vfs.c: (vfs_get_info,
vfs_set_info, vfs_write, vfs_read, vfs_copy_to, vfs_destroy,
bonobo_stream_vfs_open): Added FIXME bug numbers.
* components/adapter/nautilus-adapter-control-embed-strategy.c:
(activate_uri_callback): Added FIXME bug numbers.
* components/adapter/nautilus-adapter.c: (nautilus_adapter_new):
Added FIXME bug numbers.
2000-11-20 Robin * Slomkowski <rslomkow@eazel.com>
* configure.in: reduced versions of glib
and gtk to released ones.
2000-11-20 Robin * Slomkowski <rslomkow@eazel.com>
* configure.in: updated some versions of libs to
check for
2000-11-20 Eskil Heyn Olsen <eskil@eazel.com>
* components/services/install/lib/eazel-install-logic.c:
(eazel_install_do_file_conflict_check):
Removed some debug spam
* nautilus-installer/src/Makefile:
yes.
* nautilus-installer/src/callbacks.c: (begin_install):
* nautilus-installer/src/installer.c: (skip_over_remove_problems),
(jump_to_retry_page), (create_initial_force_remove_category),
(get_detailed_errors_foreach), (get_detailed_errors),
(eazel_install_preflight), (eazel_installer_post_install),
(eazel_installer_set_default_texts), (eazel_installer_setup_texts),
(eazel_install_get_depends), (eazel_installer_initialize):
* nautilus-installer/src/installer.h:
* nautilus-installer/src/main.c: (main):
Added my fix for 4706.
2000-11-20 Robey Pointer <robey@eazel.com>
* components/rpmview/nautilus-rpm-view-install.c:
(nautilus_rpm_view_install_package_callback),
(nautilus_rpm_view_uninstall_package_callback):
* components/services/install/command-line/eazel-alt-install-corba.
c: (set_parameters_from_command_line):
* components/services/install/idl/trilobite-eazel-install.idl:
* components/services/install/lib/eazel-install-corba-callback.c:
(lots)
* components/services/install/lib/eazel-install-corba-callback.h:
* components/services/install/lib/eazel-install-corba-types.c:
(lots)
* components/services/install/lib/eazel-install-corba-types.h:
* components/services/install/lib/eazel-install-corba.c:
(lots)
* components/services/install/lib/eazel-install-object.c:
(lots)
* components/services/install/lib/eazel-install-public.h:
* components/services/install/nautilus-view/nautilus-service-instal
l-view.c: (nautilus_service_install_view_destroy),
(nautilus_service_install_done),
(nautilus_service_install_view_update_from_uri),
(service_install_stop_loading_callback):
The great renaming: moved Trilobite/Eazel/Install stuff into
GNOME/Trilobite/Eazel/(etc).
* components/services/install/lib/eazel-install-problem.c:
(eazel_install_problem_handle_cases):
Renaming, and initialize some vars to avoid warnings.
* nautilus-installer/src/main.c: (check_disk_space), (main):
Add a command-line option for ignoring the disk-space check.
Check /usr instead of /.
2000-11-20 Maciej Stachowiak <mjs@eazel.com>
Fixed bug 2893 (changing the selection in a view does not make the
tree view scroll to the correct selectin even while it does has
the correct selection.)
* components/tree/nautilus-tree-view-private.h: Added
got_first_size_allocate boolean to details struct.
* components/tree/nautilus-tree-view.c:
(nautilus_tree_view_initialize): Connect to the size_allocate
handler.
(ctree_show_node): Convenience function for scrolling a
NautilusCTree to show a particular node.
(ctree_get_first_selected_node): Convenience function to get the
selected node.
(tree_select_row_callback): Scroll to the selected node.
(size_allocate_callback): Scroll to the selected node, if any, on
the first size_allocate only.
2000-11-18 John Fleck <jfleck@inkstain.net>
components/help/converters/gnome-db2html2/gdb3html.c:
changing output of % entity to % so Mozilla will
recognize it
2000-11-17 Eskil Heyn Olsen <eskil@eazel.com>
* components/services/install/command-line/eazel-alt-install-corba.
c: (something_failed), (install_failed), (uninstall_failed),
(delete_files):
Updated the cli tool's use of the problem-handler
* components/services/install/idl/trilobite-eazel-install.idl:
Added a flag to ignore file conflicts
* components/services/install/lib/eazel-install-corba.c:
(impl_Eazel_Install__set_ignore_file_conflicts),
(impl_Eazel_Install__get_ignore_file_conflicts),
(eazel_install_get_epv):
Code to set the ignore file conflicts flag.
* components/services/install/lib/eazel-install-logic.c:
(eazel_install_do_transaction_all_files_check),
(eazel_install_prune_packages_helper),
(eazel_install_fetch_dependencies),
(eazel_install_do_file_conflict_check), (eazel_uninstall_globber):
Code to use the ignore file conflicts flag
* 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_initialize), (eazel_install_install_packages):
Changed some 0x%xs to %p and added the nessecary things for the
extra ignore_file_conflicts flags.
* components/services/install/lib/eazel-install-problem.h: *
components/services/install/lib/eazel-install-problem.c:
(get_detailed_messages_foreach),
(get_detailed_uninstall_messages_foreach), (compare_problem_case),
(add_case), (add_cannot_solve_case),
(add_continue_with_force_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_case_foreach_destroy),
(eazel_install_problem_case_new),
(eazel_install_problem_tree_to_case),
(eazel_install_problem_tree_to_string),
(build_categories_from_problem_list),
(eazel_install_problem_use_set),
(eazel_install_problem_step_problem),
(eazel_install_problem_handle_cases): loads of code, so for a
given set of problems, you can get the dominant type, and step
forward to the next way of solving the problem. Also fixed the
problem about updates not including the previous sets of pacakges.
Also added some new cases.
* components/services/install/lib/eazel-install-rpm-glue.c:
(eazel_install_add_to_rpm_set),
Commented out robeys flailing, which caused some erratic crashes
because of a NULL packsys struct.
(eazel_install_start_transaction_make_rpm_argument_list),
Add --force on ignore_file_conflicts
(eazel_install_do_rpm_dependency_check):
%x to %p
* components/services/install/lib/eazel-install-types.c:
(categorydata_new), (categorydata_destroy_foreach),
(packagedata_new), (packagedata_destroy):
%x to %p
* components/services/install/nautilus-view/nautilus-service-instal
l-view.c: (nautilus_service_install_done),
(nautilus_service_install_failed):
Updated to the new signatures of the problem handler functions.
* nautilus-installer/src/callbacks.c: (begin_install):
* nautilus-installer/src/installer.c: (jump_to_retry_page),
(collect_failure_info), (install_failed), (uninstall_failed),
(eazel_installer_setup_texts), (eazel_install_get_depends),
(eazel_installer_initialize):
Partial fix for 4706, I just want to commit before I slaughter it
completely.
* nautilus-installer/src/prescript:
Fixed 4763 by changing the wording.
2000-11-17 Michael Engber <engber@eazel.com>
* libnautilus-extensions/nautilus-background.c:
(nautilus_background_ensure_gradient_buffered):
* libnautilus-extensions/nautilus-background.c:
(nautilus_background_ensure_gradient_buffered):
Damn gradients! Fixed round off error which could
result in a one pixel error. (bug 4759)
2000-11-17 Michael Engber <engber@eazel.com>
* libnautilus-extensions/nautilus-background.c:
(nautilus_background_ensure_gradient_buffered):
Fixed bug occuring when percentages of multi-point
add up to >100% (bug 4759)
2000-11-17 Mathieu Lacage <mathieu@eazel.com>
reviewed by: Sullivan
update nautilus to the latest gnome-vfs mime/type icon handling.
* libnautilus-extensions/nautilus-icon-factory.c:
(nautilus_icon_factory_get_icon_name_for_regular_file): use
gnome_vfs_mime_get_icon instead of the raw get_value call.
(get_themed_icon_file_path): if cannot find the pixmap through
the standard theme code, fallback on gnome-vfs to find the icon.
(get_icon_file_path): beautification.
(nautilus_scalable_icon_new_from_text_pieces): idem.
2000-11-17 John Sullivan <sullivan@eazel.com>
reviewed by: Mathieu Lacage <mathieu@eazel.com>
Fixed bug 4484 (leading whitespace in location bar produces
errors)
Fixed bug 4039 (Pasting URL with trailing carriage return fails,
but needn't)
* libnautilus-extensions/nautilus-file-utilities.c:
(nautilus_make_uri_from_input): Strip leading and trailing white
space before any further processing; also now handles NULL with
return_val_if_fail.
(nautilus_self_check_file_utilities): Added new self-check tests
for white space stripping, and a couple of others.
2000-11-17 Michael Engber <engber@eazel.com>
* libnautilus-extensions/nautilus-background.c:
(nautilus_background_ensure_gradient_buffered):
Fixed off by one error in gradient calculation (bug 4759)
2000-11-17 John Sullivan <sullivan@eazel.com>
Fixed bug with "Disks" submenu in desktop context menu where
the volume-mounting behavior would sometimes run when the
context menu appeared.
* libnautilus-extensions/nautilus-volume-monitor.h:
* libnautilus-extensions/nautilus-volume-monitor.c:
(nautilus_volume_monitor_mount_unmount_removable):
Added boolean parameter to specify whether to mount or
unmount; previously it always toggled the current state.
* src/file-manager/fm-desktop-icon-view.c:
(mount_parameters_new), (mount_parameters_free),
(mount_parameters_free_wrapper): New little helper functions
for dealing with the parameters to the mount_or_unmount callback.
(mount_or_unmount_removable_volume): Now specifies whether to
mount or unmount based on command state, rather than always
toggling; also updates the menu state after the mount/unmount.
(update_disks_menu): Pass view as well as mount_path for
callback data, using mount_parameters_new & _free.
2000-11-16 Pavel Cisler <pavel@eazel.com>
reviewed by: Mathieu Lacage <mathieu@eazel.com>
* libnautilus-extensions/nautilus-file-operations-progress.c:
(delete_event_callback),
(nautilus_file_operations_progress_initialize),
(nautilus_file_operations_progress_initialize_class):
Fix 3094: Closing file progress dialog using the close box
crashes.
The progress dialog shouldn't really have a close box, it only
shows up in broken window manager themes that don't respect the
window manager hints. Made it so that clicking the close box
does nothing instead of crashing.
* libnautilus-extensions/nautilus-file-operations.c:
(fit_rect_on_screen), (center_dialog_over_rect),
(center_dialog_over_window), (create_xfer_dialog):
Fix 3092: File operation progress dialog not placed well.
Made it center over the window that is the target of the
copy/move operation. I couldn't really do it by setting the window
as the dialog's parent because you need to be able to close
the window without the dialog closing. Instead, added explicit
centering code.
* libnautilus-extensions/nautilus-file-operations.c:
(progress_dialog_set_to_from_item_text):
Fix 4080: Copy dialog shows to and from as the same location.
Stupid typo.
2000-11-16 Rebecca Schulman <rebecka@eazel.com>
* libnautilus-extensions/nautilus-search-uri.c:
(nautilus_self_check_search_uri):
Fixed the tests to go along with my changes
2000-11-16 John Sullivan <sullivan@eazel.com>
reviewed by: Darin Adler <darin@eazel.com>
Final changes to kill off the legendary bug 3579
(Convert directory view context menus to use Bonobo)
* libnautilus/nautilus-bonobo-ui.h:
#define for zoom items placeholder in popup. Remove
#defines for popup-specific zooming commands, since now
we don't need distinct popup-specific ones.
* libnautilus-extensions/nautilus-bonobo-extensions.h:
* libnautilus-extensions/nautilus-bonobo-extensions.c:
(nautilus_bonobo_set_label_for_menu_item_and_command):
Moved this here and commented; it had been a private
function in fm-directory-view.c.
* src/file-manager/fm-directory-view.c:
(real_merge_menus): Just hide the placeholder for the zoom items,
which is now sufficient due to a Bonobo fix Darin made.
(real_update_menus): Update for API name change.
(set_label_for_menu_and_command): Moved this to another file
and renamed it.
* src/file-manager/fm-icon-view.c:
(fm_icon_view_update_menus): Update the dynamic menu items
in-line here, as was done with fm-directory-view.c in an earlier
checkin.
(compute_menu_item_info), (update_one_menu_item): Removed these
obsolete functions.
* src/nautilus-shell-ui.xml: Eliminated special pop-up versions of
zoom commands. They existed only to allow hiding without affecting
the menu-bar versions, but now that placeholders can be hidden
these aren't necessary.
* src/nautilus-window-menus.c: (nautilus_window_initialize_menus):
Removed verb installation for pop-up versions of zoom commands.
2000-11-16 Rebecca Schulman <rebecka@eazel.com>
* check-FIXME.pl:
Make below change work for modules containing the
'-' character (like, say, gnome-vfs)
2000-11-16 Eskil Heyn Olsen <eskil@eazel.com>
* components/Makefile.am:
* components/services/Makefile.am:
* configure.in:
Fix for (4741), building with services on non-rpm machines.
2000-11-16 Rebecca Schulman <rebecka@eazel.com>
reviewed by: Darin Adler <darin@eazel.com>
(Patch for check-FIXME.pl; later I added
additional check for "This is not a fixme bug")
* check-FIXME.pl:
Add the functionality that it also checks for bugs marked
with "fixme" in the bugzilla database for a product, and
notifies you if the bug has no fixme comment in the source.
This is not a perfect operation, so you can explicitly
include the comment "This is not a fixme bug" and the
script will ignore it.
* libnautilus-extensions/nautilus-search-uri.c:
Fixed some wording so that the text is not hard to
understand if we are creating an english equivalent for
several criteria.
2000-11-16 John Sullivan <sullivan@eazel.com>
reviewed by: Darin Adler <darin@eazel.com>
Reimplemented code that updates menu items' labels and
sensitivity in a much more straightforward way, made
possible by the elimination of gtk context menus.
* src/file-manager/fm-directory-view.c:
(reset_bonobo_open_with_menu): set sensitivity in here
instead of in a separate call. Also set sensitivity of
"Open With" title in context menu, which was previously
always sensitive. However, it is still always sensitive
due to a Bonobo bug.
(set_label_for_menu_and_command): Helper function that
handles stripping the underscore for the command's label.
(real_update_menus): Now all the dynamic menu items are
updated in here, which removes a lot of string compares,
unnecessary label-setting, and other extra code.
(compute_menu_item_info), (update_one_menu_item),
(reset_bonobo_trash_delete_menu): Removed functions;
they are merged into real_update_menus now.
2000-11-16 John Sullivan <sullivan@eazel.com>
* components/adapter/nautilus-zoomable-proxy.c:
(nautilus_zoomable_proxy_get):
Fixed uninitialized variable warning that was
breaking the build (Darin told me the fix).
2000-10-22 Martin Baulig <baulig@suse.de>
reviewed by: Darin Adler <darin@eazel.com>
reviewed by: Maciej Stachowiak <mjs@eazel.com>
Use the new Bonobo::Zoomable interface instead of Nautilus::Zoomable.
* libnautilus/nautilus-zoomable.[ch]: Removed.
* src/nautilus-zoomable-frame-corba.c: Removed.
* libnautilus/nautilus-view-component.idl
(ZoomLevels, ZoomLevelList, Zoomable, ZoomableFrame): Removed.
* src/nautilus-view-frame-private.h
(impl_Nautilus_ZoomableFrame_vepv, impl_Nautilus_ZoomableFrame__create):
Removed external declarations.
* src/nautilus-view-frame.h: include <bonobo/bonobo-zoomable-frame.h>.
(NautilusViewFrame): Removed the `zoomable' field and changed the
type of the `zoomable_frame' field from BonoboObject into
BonoboZoomableFrame.
(NautilusViewFrameClass): Added `zoom_parameters_changed' signal.
* src/nautilus-view-frame.c (nautilus_view_frame_destroy_client):
Don't release `view->zoomable' and set `view->history_frame' and
`view->zoomable_frame' to NULL, not to CORBA_OBJECT_NIL.
(nautilus_view_frame_initialize_class): Added ZOOM_PARAMETERS_CHANGED
signal.
(zoom_level_changed_callback): New static callback function; this emits
the ZOOM_LEVEL_CHANGED signal on the NautilusViewFrame.
(zoom_parameters_changed_callback): New static callback function; this
emits the ZOOM_PARAMETERS_CHANGED signal on the NautilusViewFrame.
(nautilus_view_frame_set_to_component): QI the adapted component for
"IDL:Bonobo/Zoomable:1.0" and - if it was found - create the
BonoboZoomableFrame, bind it to the BonoboZoomable and connect the
"zoom_level_changed" and the "zoom_parameters_changed" signals.
(nautilus_view_frame_is_zoomable): Return `view->zoomable_frame != NULL'.
(nautilus_view_frame_get_zoom_level): Check whether view->zoomable_frame
is not NULL and call bonobo_zoomable_frame_get_zoom_level().
(nautilus_view_frame_set_zoom_level): Check whether view->zoomable_frame
is not NULL and call bonobo_zoomable_frame_set_zoom_level().
(nautilus_view_frame_get_min_zoom_level): Check whether
view->zoomable_frame is not NULL and call
bonobo_zoomable_frame_get_min_zoom_level().
(nautilus_view_frame_get_max_zoom_level): Check whether
view->zoomable_frame is not NULL and call
bonobo_zoomable_frame_get_max_zoom_level().
(nautilus_view_frame_get_has_min_zoom_level): New function.
Check whether view->zoomable_frame is not NULL and call
bonobo_zoomable_frame_has_min_zoom_level().
(nautilus_view_frame_get_has_max_zoom_level): New function.
Check whether view->zoomable_frame is not NULL and call
bonobo_zoomable_frame_has_max_zoom_level().
(nautilus_view_frame_get_is_continuous): New function.
Check whether view->zoomable_frame is not NULL and call
bonobo_zoomable_frame_is_continuous().
(nautilus_view_frame_get_preferred_zoom_levels): If
view->zoomable_frame is NULL, return NULL. Otherwise
bonobo_zoomable_frame_get_preferred_zoom_levels() returns GList *
of floats which we can just return.
(nautilus_view_frame_zoom_in): If view->zoomable_frame is not NULL,
call bonobo_zoomable_frame_zoom_in().
(nautilus_view_frame_zoom_out): If view->zoomable_frame is not NULL,
call bonobo_zoomable_frame_zoom_out().
(nautilus_view_frame_zoom_to_fit): If view->zoomable_frame is not
NULL, call bonobo_zoomable_frame_zoom_out().
(nautilus_view_frame_zoom_level_changed): Removed.
* src/nautilus-zoom-control.c (NautilusZoomControlDetails): Added
`has_min_zoom_level' and `has_max_zoom_level'.
(draw_zoom_control_image): Call nautilus_zoom_control_can_zoom_in/out()
to find out whether we can zoom.
(zoom_menu_callback): Likewise.
(nautilus_zoom_control_button_press_event): Likewise.
(create_zoom_menu_item): Changed the type of the `zoom_level' argument
from double to float.
(nautilus_zoom_control_set_min_zoom_level): Removed.
(nautilus_zoom_control_set_max_zoom_level): Removed.
(nautilus_zoom_control_set_preferred_zoom_levels): Removed.
(nautilus_zoom_control_set_parameters): New function.
(nautilus_zoom_control_has_min_zoom_level): New function.
(nautilus_zoom_control_has_max_zoom_level): New function.
(nautilus_zoom_control_can_zoom_in): New function.
(nautilus_zoom_control_can_zoom_out): New function.
* src/file-manager/fm-directory-view.c: #include
<bonobo/bonobo-zoomable.h> instead of
<libnautilus/libnautilus-zoomable.h>.
(FMDirectoryViewDetails): Changed the type of `zoomable' to
BonoboZoomable.
(fm_directory_view_preferred_zoom_levels): Made this an array of float,
not double.
(fm_directory_view_initialize): Create a new BonoboZoomable object here.
(zoomable_zoom_in_callback): The first argument is now a BonoboZoomable.
(zoomable_zoom_out_callback): The first argument is now a BonoboZoomable.
(nautilus_zoom_level_from_double): Renamed into
nautilus_zoom_level_from_float().
(zoomable_set_zoom_level_callback): The first argument is now a
BonoboZoomable and the second one a float.
(zoomable_zoom_to_fit_callback): The first argument is now a
BonoboZoomable.
(fm_directory_view_set_zoom_level): Call
bonobo_zoomable_report_zoom_level_changed()
instead of using nautilus_zoomable_set_zoom_level().
* src/nautilus-window-manage-views.c:
(zoom_level_changed_callback): Don't call
nautilus_zoom_control_set_min_zoom_level(),
nautilus_zoom_control_set_max_zoom_level() and
nautilus_zoom_control_set_preferred_zoom_levels() here.
Use nautilus_zoom_control_can_zoom_in/out() to find out whether we
can zoom in the calls to nautilus_bonobo_set_sensitive().
, (zoom_parameters_changed_callback): New callback function.
Call nautilus_zoom_control_set_parameters() and - if the zoom_level
is not 0.0 - zoom_level_changed_callback().
* components/adapter/nautilus-zoomable-proxy.[ch]: New files.
* components/adapter/Makefile.am (nautilus_adapter_SOURCES):
Added nautilus-zoomable-proxy.c and nautilus-zoomable-proxy.h.
* components/adapter/nautilus-adapter-embed-strategy.c
(NautilusAdapterEmbedStrategyClass): Added new virtual signal
`get_zoomable' which must be overridden.
(nautilus_adapter_embed_strategy_initialize_class): Assign it here.
(nautilus_adapter_embed_strategy_get_zoomable): New static function;
call the virtual `get_zoomable' in the derived class.
* components/adapter/nautilus-adapter-control-embed-strategy.c:
(nautilus_adapter_control_embed_strategy_initialize_class):
Assign nautilus_adapter_control_embed_strategy_get_zoomable() as
handler of the `get_zoomable' signal.
(nautilus_adapter_control_embed_strategy_new): QI the Control for
"IDL:Bonobo/Zoomable:1.0" and pass it to nautilus_zoomable_proxy_get()
if found and store the return value in strategy->details->zoomable.
(nautilus_adapter_control_embed_strategy_get_zoomable): New static
function; return strategy->details->zoomable which is set in
nautilus_adapter_control_embed_strategy_new().
* components/adapter/nautilus-adapter-embeddable-embed-strategy.c:
(nautilus_adapter_embeddable_embed_strategy_initialize_class):
Assign nautilus_adapter_embeddable_embed_strategy_get_zoomable() as
handler of the `get_zoomable' signal.
(nautilus_adapter_embeddable_embed_strategy_new): QI the View for
"IDL:Bonobo/Zoomable:1.0" and pass it to nautilus_zoomable_proxy_get()
if found and store the return value in strategy->details->zoomable.
(nautilus_adapter_embeddable_embed_strategy_get_zoomable): New static
function; return strategy->details->zoomable which is set in
nautilus_adapter_embeddable_embed_strategy_new().
* components/adapter/nautilus-adapter.c: (nautilus_adapter_new):
Call nautilus_adapter_embed_strategy_get_zoomable(embed_strategy) and
bonobo_add_interface() it to the control if found.
* components/image-viewer/nautilus-image-view.c: Rewrote the Nautilus
image viewer to be a BonoboControl, to add zoomable support to it and
to merge back everything from bonobo-image-generic into it.
2000-11-16 Ramiro Estrugo <ramiro@eazel.com>
* components/help/converters/gnome-info2html2/main.c: (main):
Fix uninitialized variable.
* components/services/vault/command-line/main.c:
Include stlib.h needed for exit().
* libnautilus-extensions/nautilus-directory-async.c:
(call_ready_callbacks):
Fix uninitialized variable.
* libnautilus-extensions/nautilus-gdk-pixbuf-extensions.c:
(nautilus_gdk_pixbuf_draw_text):
Workaround int vs uint casting issues with new gcc compiler.
* libnautilus-extensions/nautilus-mime-actions.c:
(extract_prefix_add_suffix):
Workaround int vs uint casting issues with new gcc compiler.
2000-11-16 John Sullivan <sullivan@eazel.com>
reviewed by: Darin Adler <darin@eazel.com>
* src/file-manager/fm-desktop-icon-view.c: (real_update_menus):
* src/file-manager/fm-directory-view.c: (real_update_menus):
* src/file-manager/fm-icon-view.c: (fm_icon_view_update_menus):
Bracketed menu-updating code with bonobo_ui_component_freeze/thaw.
This speeds up fm_directory_view_update_menus by about 50%, and
it's called a zillion times so that can't hurt.
2000-11-16 John Sullivan <sullivan@eazel.com>
reviewed by: Darin Adler <darin@eazel.com>
* src/file-manager/fm-directory-view.c: (open_callback),
(open_in_new_window_callback), (other_application_callback),
(other_viewer_callback), (trash_callback), (duplicate_callback),
(create_link_callback), (new_folder_callback),
(open_properties_window_callback), (reset_background_callback),
(remove_custom_icons_callback), (real_merge_menus):
* src/file-manager/fm-icon-view.c: (show_stretch_handles_callback),
(unstretch_icons_callback), (clean_up_callback),
(rename_icon_callback), (customize_icon_text_callback),
(fm_icon_view_merge_menus):
* src/file-manager/fm-search-list-view.c: (real_merge_menus),
(reveal_selected_items_callback):
Removed all function casts that were allowing us to use a single
callback for both Bonobo-style and gtk-style menus; converted
all the functions to take Bonobo-style parameters.
2000-11-16 Martin Baulig <martin@home-of-linux.org>
* libnautilus-adapter/nautilus-adapter-factory.idl:
Use `NAUTILUS_ADAPTER_FACTORY_IDL' instead of
`NAUTUILUS_ADAPTER_FACTORY_IDL' in the #ifdef/#define
which protects against multiple inclusion of this file.
2000-11-16 John Sullivan <sullivan@eazel.com>
Removed a ton of code that was used only for the gtk
context menus, which are gone now that we're using
Bonobo for context menus. There's still some reworking
of code formerly shared by gtk & Bonobo menus to do, but
I'll do that in a separate pass.
* src/file-manager/fm-directory-view.h:
* src/file-manager/fm-directory-view.c:
(fm_directory_view_initialize_class): Removed signal definitions
and function assignments for create_selection_context_menu_items
and create_background_context_menu_items.
(compute_menu_item_info): Do special_link_in_selection tests here;
previously they were done only for the gtk context menus (so for
the past day we've had an as-yet-unnoticed bug where certain
context menu items on the desktop were sensitive but shouldn't
have been).
(fm_directory_view_pop_up_selection_context_menu),
(fm_directory_view_pop_up_background_context_menu):
Removed the iffed-out case that used the gtk context menus.
(zoom_in_callback), (zoom_out_callback), (zoom_default_callback),
(finish_inserting_menu_item), (finish_appending_menu_item),
(set_menu_item_path), (append_gtk_menu_item),
(append_selection_menu_subtree),
(fm_directory_view_insert_context_menu_item),
(fm_directory_view_append_context_menu_item),
(create_background_context_menu_items),
(real_create_background_context_menu_items),
(launch_application_from_menu_item), (view_uri_from_menu_item),
(add_application_to_gtk_menu), (add_component_to_gtk_menu),
(create_open_with_gtk_menu),
(real_create_selection_context_menu_items),
(create_selection_context_menu),
(fm_directory_view_create_background_context_menu_items),
(create_background_context_menu), (menu_item_matches_path),
(fm_directory_view_get_context_menu_index):
Removed obsolete functions.
* src/file-manager/fm-desktop-icon-view.c:
(fm_desktop_icon_view_initialize_class): Removed obsolete
virtual function overrides.
(real_update_menus): Removed debugging spam I had accidentally
left in.
(new_terminal_menu_item_callback),
(reset_desktop_background_menu_item_callback),
(change_desktop_background_menu_item_callback),
(quit_nautilus_desktop_menu_item_callback),
(empty_trash_menu_item_callback),
(fm_desktop_icon_view_create_selection_context_menu_items),
(fm_desktop_icon_view_create_background_context_menu_items),
(mount_unmount_removable): Removed obsolete functions.
* src/file-manager/fm-icon-view.c:
(special_link_in_selection): Just moved this function up.
(compute_menu_item_info): Check special_link_in_function for
rename menu item; formerly this only happened for the gtk
context menu.
(fm_icon_view_initialize_class): Removed obsolete virtual
function overrides.
(gtk_tighter_layout_callback), (gtk_sort_reversed_callback),
(context_menu_layout_radio_item_callback),
(append_one_context_menu_layout_item),
(insert_one_context_menu_item), (append_one_context_menu_item),
(append_one_toggle_context_menu_item),
(fm_icon_view_create_selection_context_menu_items),
(fm_icon_view_create_background_context_menu_items):
Removed obsolete functions.
* src/file-manager/fm-search-list-view.c:
(fm_search_list_view_initialize_class): Removed obsolete
virtual function override.
(real_create_selection_context_menu_items):
Removed obsolete function.
2000-11-16 John Sullivan <sullivan@eazel.com>
* libnautilus-extensions/nautilus-file-utilities.h:
Added #define NAUTILUS_TRASH_URI "trash:"
* libnautilus-extensions/nautilus-directory.c:
(nautilus_self_check_directory):
* libnautilus-extensions/nautilus-drag.c:
(nautilus_drag_default_drop_action_for_icons):
* libnautilus-extensions/nautilus-file-utilities.c:
(nautilus_make_uri_canonical),
(nautilus_self_check_file_utilities):
* libnautilus-extensions/nautilus-file.c:
(nautilus_self_check_file):
* src/file-manager/fm-desktop-icon-view.c:
(find_and_rename_trash_link), (create_or_rename_trash):
* src/file-manager/fm-directory-view.c: (show_trash_callback):
* src/file-manager/nautilus-trash-monitor.c:
(nautilus_trash_monitor_initialize):
Used NAUTILUS_TRASH_URI wherever "trash:" was used before.
2000-11-16 Szabolcs BAN <shooby@gnome.hu>
* configure.in, po/hu.po: Hungarian language support.
2000-11-15 John Fleck <jfleck@inkstain.net>
* components/help/converters/gnome-db2html2/gdb3html.c:
changed init entities function to use
XML_INTERNAL_PREDEFINED_ENTITY to get mdash and hellip working
2000-11-15 Pavel Cisler <pavel@eazel.com>
reviewed by: John Sullivan <sullivan@eazel.com>
* libnautilus-extensions/nautilus-gdk-extensions.c:
* libnautilus-extensions/nautilus-gdk-extensions.h:
* libnautilus-extensions/nautilus-file-operations-progress.c:
(set_text_unescaped_trimmed):
(nautilus_string_ellipsize_start):
Turn an existing truncation routine to a public one, giving it
a better name.
Get rid of a questionable optimization (bugzilla 2555).
* libnautilus-extensions/nautilus-gdk-extensions.c:
(nautilus_self_check_ellipsize_start),
(nautilus_self_check_gdk_extensions):
Added tests for the elipsize routine.
* libnautilus-extensions/nautilus-file-operations.c:
* libnautilus-extensions/nautilus-file-operations.h:
(get_label_font), (nautilus_format_name_for_display),
(nautilus_convert_to_formatted_name_for_display),
(handle_xfer_vfs_error), (handle_xfer_overwrite),
(nautilus_file_operations_move_to_trash):
Fix 826: File operation alerts should truncate file names.
Add a convenience call to unescape and truncate a file name,
use it the places that format warning and error dialog strings.
Add some missing quotes in some of the error strings.
* libnautilus-extensions/nautilus-file-operations.c:
(parent_for_error_dialog):
Work on fixing 3093 - file operation error dialogs show up in the
wrong place.
Make the error dialogs use the progress dialog as their parent window,
if available, if not, revert to using the original view as a parent.
* libnautilus-extensions/nautilus-string.c:
Added a comment pointing people to the new ellipsize routines.
2000-11-15 Gene Z. Ragan <gzr@eazel.com>
Fixed bug 1420, panel splitter drag outline edges are indistinct.
(nautilus_horizontal_splitter_motion):
New method overide to handle drawing splitter during drag.
(nautilus_horizontal_splitter_button_release):
Add additonal code from parent class and don't call
parent class function at function exit.
* libnautilus-extensions/nautilus-horizontal-splitter.c:
(nautilus_horizontal_splitter_initialize_class):
Overide motion method.
(splitter_xor_line):
Draw splitter outline as two distinct edges.
2000-11-15 Michael Engber <engber@eazel.com>
* libnautilus-extensions/nautilus-directory-background.c:
(nautilus_file_background_event_filter):
fixed some comments
* libnautilus-extensions/nautilus-gtk-extensions.c:
(container_foreach_deep_callback),
(nautilus_gtk_container_foreach_deep):
* libnautilus-extensions/nautilus-gtk-extensions.h:
added nautilus_gtk_container_foreach_deep
* src/nautilus-window.c: (menu_bar_no_resize_hack_size_allocate),
(menu_bar_no_resize_hack_menu_bar_finder),
(menu_bar_no_resize_hack_atexit), (menu_bar_no_resize_hack),
(nautilus_window_constructed):
added hack to prevent criticals when using the desktop
bug 4345
2000-11-15 John Sullivan <sullivan@eazel.com>
* po/POTFILES.in: Added src/file-manager/fm-desktop-icon-view-ui.xml
2000-11-15 John Sullivan <sullivan@eazel.com>
Fixed a couple of cases where context menus appeared on
the desktop that should have been hidden. This leaves
behind a new (Bonobo) bug where there are two adjacent
separators in the desktop background context menu, which
I will write up.
reviewed by: Maciej Stachowiak <mjs@eazel.com>
* libnautilus/nautilus-bonobo-ui.h:
Add popup zooming commands here that need to be manipulated
by directory view.
* src/file-manager/fm-directory-view.c: (real_merge_menus):
Hide the zooming items in the popup if the directory view
does not support zooming (e.g., desktop)
* src/file-manager/fm-icon-view.c: (fm_icon_view_merge_menus):
Hide the Lay Out submenu in the popup if the icon view
does not support auto-layout (e.g., desktop)
* src/nautilus-shell-ui.xml: Make zooming items in popup use
different commands than zooming items in normal menu, so they
can be hidden independently.
* src/nautilus-window-menus.c: (nautilus_window_initialize_menus):
Attach callbacks to new popup zooming items.
2000-11-15 Gene Z. Ragan <gzr@eazel.com>
Fixed bug 4717, Nautilus draw desktop icons overlapping.
The problem was caused by the icon container responding to
an idle function that lays out icons that had been
newly added. This is a problem if the callback is called
from an idle after the icon container has been created, but
before a size has been allocated. A newly intialized GtkWidget
has a default allocation of 0, 0, 1, 1 which is too small
for the layout algorithm to work properly. A flag was added
that is set to TRUE when the size_allocate function is called.
* src/nautilus-desktop-window.c: (nautilus_desktop_window_new):
Set has_been_allocated to FALSE initially.
* libnautilus-extensions/nautilus-icon-container.c:
(size_allocate), (nautilus_icon_container_initialize),
(nautilus_icon_container_add):
Checj status of has_been_allocated flag before adding
and laying out new icons.
* libnautilus-extensions/nautilus-icon-private.h:
Added has_been_allocated flag that is set to TRUE
when size_allocated is first called.
Work in progress on allowing desktop links to be renamed.
* src/file-manager/fm-desktop-icon-view.c:
(find_and_update_home_link):
Allow renaming of home links.
* src/file-manager/fm-icon-view.c:
(special_link_in_selection):
Removed home link from special link types.
* libnautilus-extensions/nautilus-file.c:
(nautilus_file_can_rename):
Allow renaming of home link types.
2000-11-15 Rebecca Schulman <rebecka@eazel.com>
This change is the first part of the fix for bug 3920.
The fix will allow nautilus to tell a user that the
search they have requested is newer than their index.
This involved communicating errors that occurred while
opening and reading the directory outside of the
directory model to a view, which can react in a useful
way.
Reviewed by: John Sullivan <sullivan@eazel.com>
* libnautilus-extensions/nautilus-directory-async.c:
(directory_load_done):
If the directory load did not complete successfully,
emit an error signal
* libnautilus-extensions/nautilus-directory-private.h:
* libnautilus-extensions/nautilus-directory.h:
* libnautilus-extensions/nautilus-directory.c:
(nautilus_directory_initialize_class),
(nautilus_directory_emit_load_error):
Add the load error signal, and a cover function to
emit the signal
* src/file-manager/fm-directory-view.h:
* src/file-manager/fm-directory-view.c:
(fm_directory_view_initialize_class), (load_error_callback),
(finish_loading_uri), (disconnect_model_handlers):
Also add a load_error signal to the fm directory view class,
so that subclasses can get information about errors particular
to a type of directory, (in this case the search list view)
and react correctly.
* src/file-manager/fm-search-list-view.c: (load_error_callback),
(fm_search_list_view_initialize):
Handle the load error SERVICE_OBSOLETE, by displaying a dialog
that tells the user that their index is too old for their
search to work correctly, and gives them an option to reindex
* src/file-manager/nautilus-indexing-info.c:
(nautilus_indexing_info_request_reindex):
* src/file-manager/nautilus-indexing-info.h:
Add a cover function to medusa's request reindex function
that the search list view calls.
2000-11-15 John Sullivan <sullivan@eazel.com>
* src/file-manager/fm-directory-view.c:
(fm_directory_view_pop_up_selection_context_menu),
(fm_directory_view_pop_up_background_context_menu):
Oops, I accidentally checked in the Bonobo context
menus enabled. They are now disabled again.
2000-11-15 Darin Adler <darin@eazel.com>
* components/adapter/nautilus-adapter.oafinfo:
* components/hardware/nautilus-hardware-view.oafinfo:
* components/help/help-contents.oafinfo:
* components/help/help-factory.oafinfo:
* components/history/nautilus-history-view.oafinfo:
* components/html/ntl-web-browser.oafinfo:
* components/image-viewer/nautilus-image-view.oafinfo:
* components/loser/content/nautilus-content-loser.oafinfo:
* components/loser/sidebar/nautilus-sidebar-loser.oafinfo:
* components/mozilla/nautilus-mozilla-content-view.oafinfo:
* components/music/nautilus-music-view.oafinfo:
* components/notes/nautilus-notes.oafinfo:
* components/rpmview/nautilus-rpm-view.oafinfo:
* components/sample/nautilus-sample-content-view.oafinfo:
* components/services/install/nautilus-view/nautilus-service-install-view.oafinfo:
* components/services/install/server/trilobite-eazel-install-service.oafinfo:
* components/services/inventory/nautilus-view/nautilus-inventory-view.oafinfo:
* components/services/login/nautilus-view/nautilus-change-password-view.oafinfo:
* components/services/summary/nautilus-view/nautilus-summary-view.oafinfo:
* components/services/time/nautilus-view/trilobite-eazel-time-view. oafinfo:
* components/services/time/service/trilobite-eazel-time-service.oafinfo:
* components/services/trilobite/sample/nautilus-view/nautilus-sample-service-view.oafinfo:
* components/services/trilobite/sample/service/trilobite-eazel-sample-service.oafinfo:
* components/shell/shell.oafinfo:
* components/websearch/ntl-web-search.oafinfo:
* src/nautilus.oafinfo:
Changed all references to GNOME/GenericFactory to refer to
GNOME/ObjectFactory instead.
2000-11-15 John Sullivan <sullivan@eazel.com>
reviewed by: Darin Adler <darin@eazel.com>
More work towards using Bonobo for context menus. All
context menu items should now appear and be correctly
hooked up. The Bonobo context menus are still not quite
enabled, awaiting a couple of Bonobo fixes.
Redid the API for creating dynamic sets of Bonobo
menu items (as used by bookmarks, application & viewer
lists), and added support for lists of toggle items
(needed for Disks submenu in desktop context menu).
Also, added "Show Trash" menu item in File menu, just above
Empty Trash, after discussing with Andy and Arlo.
* libnautilus-extensions/nautilus-bonobo-extensions.h:
* libnautilus-extensions/nautilus-bonobo-extensions.c:
(get_numbered_menu_item_name): New helper function, returns
generated menu item name given parent path and index.
(nautilus_bonobo_get_numbered_menu_item_command): New
function, returns generated command name given parent path
and index.
(nautilus_bonobo_get_numbered_menu_item_path): New function,
returns generated menu item path given parent path and index.
(add_numbered_menu_item_internal): New helper function,
creates menu item using these other new calls. Mostly extracted
and rewritten from nautilus_bonobo_add_menu_item.
(nautilus_bonobo_add_numbered_menu_item): Renamed from
nautilus_bonobo_add_menu_item, and reimplemented to
call add_numbered_menu_item_internal.
(nautilus_bonobo_add_numbered_toggle_menu_item):
New function, like _add_numbered_menu_item but creates a
toggle menu item.
(remove_commands): Renamed from remove_verbs; now handles ids
as well as verbs.
(nautilus_bonobo_remove_menu_items_and_commands):
Renamed from ..._items_and_verbs; now handles ids as well as
verbs.
(nautilus_bonobo_get_menu_item_verb_name): Removed; replaced by
_get_numbered_menu_item_command.
* src/file-manager/nautilus-desktop-icon-view-ui.xml:
New file, Bonobo-style version of desktop context menus.
* src/file-manager/Makefile.am: Include new file in build.
* src/file-manager/fm-desktop-icon-view.c:
Add BonoboUIComponent to details struct.
(fm_desktop_icon_view_destroy): Dispose of BonoboUIComponent.
(fm_desktop_icon_view_initialize_class): wire up overrides for
merge_menus and update_menus.
(new_terminal_callback),
(change_background_callback), (empty_trash_callback),
(reset_background_callback), (quit_desktop_callback):
New Bonobo-style menu callbacks.
(empty_trash_menu_item_callback): Renamed so I could use the old
simpler name for new Bonobo callback; this one will be deleted
when the Bonobo conversion is completed.
(fm_desktop_icon_view_create_selection_context_menu_items): Reflect
name change.
(mount_or_unmount_removable_volume): New Bonobo listener callback
used by Disks items.
(update_disks_menu): New function, recreates the Disks menu.
(real_update_menus): New function, updates the dynamic desktop
context menu items.
(real_merge_menus): New function, wires up the BonoboUIComponent
and verbs.
* src/file-manager/fm-directory-view.c:
(fm_directory_view_pop_up_background_context_menu),
(fm_directory_view_pop_up_selection_context_menu): Change TRUE
to FALSE to enable the Bonobo context menus.
(show_trash_callback): New function, navigates to "trash:"
(add_open_with_program_menu_item), (reset_bonobo_open_with_menu):
Reworked for new API.
(real_merge_menus): Add verb for "Show Trash"
* src/file-manager/nautilus-directory-view-ui.xml: Added
"Show Trash"; added placeholders in background popup used
for desktop view.
* src/nautilus-window-menus.c:
(append_bookmark_to_menu): Updated for new numbered_menu_item
API; deleted unused parameter.
(create_menu_item_from_node), (append_dynamic_bookmarks),
(refresh_go_menu): Updated append_bookmark_to_menu callers for
API changes.
(nautilus_window_remove_bookmarks_menu_items),
(nautilus_window_remove_go_menu_items): Updated for API name changes.
2000-11-15 Maciej Stachowiak <mjs@eazel.com>
reviewed by: Darin Adler <darin@eazel.com>
* src/nautilus-view-frame.c
(nautilus_view_frame_new): ref the ui_container
(nautilus_view_frame_destroy_client): check if ui_container->win
is NULL before trying to use it; unref the ui_container
* components/adapter/bonobo-stream-vfs.c (vfs_copy_to): Fix a bug
whereby the `copyTo' operation would not handle -1 as a request to
copy the whole file properly.
2000-11-15 Maciej Stachowiak <mjs@eazel.com>
reviewed by: George Lebl <jirka@5z.com>
* components/loser/README: Added missing `crash' mode to docs.
* src/nautilus-view-frame.c: (nautilus_view_frame_destroy_client,
nautilus_view_frame_handle_client_destroy,
nautilus_view_frame_handle_client_gone, check_if_view_is_gone):
Added calls to `bonobo_window_deregister_dead_components' to clean
up menus and toolbars from dead components, fixing Nautilus bug
1740.
2000-11-15 Robey Pointer <robey@eazel.com>
* components/services/install/lib/eazel-install-object.c:
(eazel_install_initialize), (eazel_install_log_to_stderr),
(eazel_install_failed_because_of_disk_full):
* components/services/install/lib/eazel-install-private.h:
* components/services/install/lib/eazel-install-protocols.c:
(http_fetch_remote_file):
* components/services/install/lib/eazel-install-public.h:
Re-shuffle logging stuff again to try to make sure that we log as
little as possible until the log handler is set up. Add a flag to
the installer service that indicates if the installer ran out of
disk space. Then, you know, actually check the return codes of
fwrite/fclose to see if they failed.
* nautilus-installer/src/Makefile:
More crap.
* nautilus-installer/src/installer.c: (create_what_to_do_page),
(create_install_page), (create_window), (get_detailed_errors),
(download_failed), (eazel_install_preflight), (install_done),
(eazel_installer_initialize):
Re-shuffle some of the initialization to move as much as possible
after the fetching of the text strings. It isn't possible to
cover 100% of the cases this way, so load the default text strings
first, so we'll have text to display in early errors. Fix a
dyslexic typo that would occasionally cause an assertion to fail.
Notice the new disk-full flag and give an appropriate error
message.
* nautilus-installer/src/main.c: (check_disk_space), (main):
Check for disk space before starting, and refuse to even start
unless there's N space in /tmp and M space in /. For now, N = M =
75 MB.
* nautilus-installer/src/prescript:
Apply kisza's patch (4729) to fix xhost parameters.
2000-11-14 Mathieu Lacage <mathieu@eazel.com>
Buddy: john harper.
FIX bug 2946: no icon under cursor when dragging from
tree view.
* components/tree/nautilus-tree-view-dnd.c:
(nautilus_tree_view_drag_begin), call new function below
(nautilus_tree_view_set_dnd_icon): sets the icon for the
just-started drag.
2000-11-14 Mathieu Lacage <mathieu@eazel.com>
* components/tree/nautilus-tree-view-dnd.c:
(nautilus_tree_view_drag_motion),
(nautilus_tree_view_motion_notify),
(nautilus_tree_view_make_prelight_if_file_operation),
(nautilus_tree_view_prelight_stop),
(nautilus_tree_view_drag_destroy):
make it use the new prelighting code. leave the old code around
even though it does nothing. The new prelighting now flickers like
hell but maciej says he wants to fix it.
* libnautilus-extensions/nautilus-ctree.c: (nautilus_ctree_row_at),
(get_cell_rectangle), (nautilus_ctree_set_prelight), (draw_row),
(real_insert_row), (nautilus_ctree_node_nth),
(nautilus_ctree_find): implement prelighting. copy/paste code from
the NautilusList code to do it.
* libnautilus-extensions/nautilus-ctree.h: add signature for
nautilus_ctree_set_prelight plus fields in NautilusCTreeRow.
* libnautilus-extensions/nautilus-list.c:
(nautilus_list_prelight_if_necessary): remove useless code.
2000-11-14 Eskil Heyn Olsen <eskil@eazel.com>
buddy: Ramiro Estrugo <ramiro@eazel.com>
* configure.in:
Fix to make --disable-eazel-services work, (4722), it no
longer checks for rpm and ammonite, nor tries to build
rpmview.
2000-11-14 Ali Abdin <aliabdin@aucegypt.edu>
* components/help/converters/gnome-db2html2/gdb3html.c:
(init_entities),
(gdb3html_internalSubset):
New function and a workaround for the entity bug. Should now support
—/…/&percent; - Fixes bug #2438.
* components/help/help-method.c:
(transform_file), (old_help_file),
(find_help_file):
Realized that that the gnome_help_file_path function checks for the
existance of the file using g_file_exists. This spoiled things for the
way we were trying to detect locale. Fixed it (Bug #4618).
There is still a bug in this which I will tackle later. This'll do for
now.
2000-11-14 Michael Engber <engber@eazel.com>
* libnautilus-extensions/nautilus-directory-background.c:
(nautilus_file_background_event_filter), (set_root_pixmap):
Nautilus no longer responds to PropertyChange events on
the root window that it originates (bug 3038)
* libnautilus-extensions/nautilus-background.c:
(update_drawable_with_pixbuf), (nautilus_background_draw),
(nautilus_background_draw_to_drawable),
(nautilus_background_draw_aa),
(nautilus_background_draw_to_canvas),
(nautilus_background_load_image_callback),
(nautilus_background_start_loading_image),
(nautilus_background_set_image_uri),
(set_image_and_color_image_loading_done_callback),
(nautilus_background_set_image_uri_and_color):
nautilus_background_set_image_uri_and_color used to generate
an extra SETTINGS_CHANGED + reformatted a bunch of code.
2000-11-14 Darin Adler <darin@eazel.com>
* src/nautilus-property-browser.c: Some small stuff that got
left out of my last commit by accident.
2000-11-14 Darin Adler <darin@eazel.com>
reviewed by: John Sullivan <sullivan@eazel.com>
* src/file-manager/fm-directory-view.c:
(display_selection_info_idle_callback),
(update_menus_idle_callback), (display_pending_idle_callback): Add
code to ref the BonoboControl around all three of these idle
functions to eliminate the problem where the directory view would
get destroyed in the middle of an idle.
* data/browser.xml:
* data/linksets/apps.xml:
* data/linksets/desktop.xml:
* data/linksets/portals.xml:
* data/linksets/search_engines.xml:
* data/static_bookmarks.xml:
Used "_" prefix on all localizable fields of XML files.
* po/POTFILES.in: Add all these XML files that need translation.
* libnautilus-extensions/nautilus-link-set.c:
(nautilus_link_set_install), (nautilus_link_set_is_installed),
(nautilus_link_set_remove): Fix storage leaks, also use
nautilus_xml_get_property_translated to get the property for the
"name" property so it can be translated if desired.
* libnautilus-extensions/nautilus-xml-extensions.h:
* libnautilus-extensions/nautilus-xml-extensions.c:
(nautilus_xml_get_property_translated): Add a version of
xmlGetProp that looks for an untranslated version of the property
and runs it through gettext if there is not a pre-translated
version present. For strings downloaded from the service, for
example, we'll probably use a pre-translated string, but for
things in the Nautilus source tree we can use an untranslated
string.
* src/nautilus-bookmark-parsing.c:
(nautilus_bookmark_new_from_node): Use
nautilus_xml_get_property_translated to get the bookmark name so
that static bookmarks can have names translated with gettext. New
versions of the static bookmarks downloaded from the service can
use either kind of name. And user-created bookmarks are not run
through the gettext mechanism.
* src/nautilus-window-menus.c: (create_menu_item_from_node): Use
nautilus_xml_get_property_translated to get the folder names
translated just as the bookmarks themselves.
* src/nautilus-link-set-window.c: (get_link_set_names): Added a
FIXME. The link set names should come from inside the XML, not
from the file names.
* src/nautilus-property-browser.c: (get_xml_path),
(read_browser_xml), (write_browser_xml), (get_color_category):
(remove_color), (add_color_to_file): Factor out some shared code.
(add_reset_property): Make hard-wired font size with FIXME.
(make_properties_from_xml_node): Fix storage leaks and get the
name of the color using nautilus_xml_get_property_translated so
the names can be translated.
(set_up_category_width): Fix storage leaks
(nautilus_property_browser_update_contents): Fix storage leaks and
get the display name and description with
nautilus_xml_get_property_translated so they can be translated.
* check-THANKS.pl: Got rid of extra blank line at end.
* libnautilus-extensions/nautilus-customization-data.c:
(format_name_for_display): Add FIXME to bad-for-localization
function that turns "_" into " " and capitalizes the first letter
after each " ".
2000-11-14 Gene Z. Ragan <gzr@eazel.com>
Fixed a bug where changing the Nautilus theme would cause
the history view to crash. The problem was with an
improperly defined signal handler.
* components/history/nautilus-history-view.c:
(history_view_update_icons), (do_destroy), (make_obj):
2000-11-14 Robey Pointer <robey@eazel.com>
* components/services/trilobite/libtrilobite/trilobite-core-distrib
ution.c: (determine_turbolinux_version),
(determine_mandrake_version), (trilobite_get_distribution_name):
Add detection of version numbers for Mandrake, in the hopes that
someday they'll be supported.
* nautilus-installer/src/installer.c:
(get_detailed_errors_foreach), (eazel_installer_post_install),
(start_logging), (find_old_tmpdir), (eazel_installer_initialize):
* nautilus-installer/src/main.c: (main):
* nautilus-installer/src/prescript:
Fix handling of /tmp directory and make it configurable on the
command line. Clarify the "your distribution not supported"
message. Clean up the prescript considerably, hopefully in the
process fixing bugs with specifying what shell to use, what su to
use, and allowing root to run the installer (worksforme).
2000-11-13 Gene Z. Ragan <gzr@eazel.com>
Fixed bug 1633, History sidebar panel items all display generic
bookmark icon.
* libnautilus/nautilus-view-component.idl:
Added icon string element to History structure to hold
an pifbuf converted to a XML string.
* src/nautilus-window-manage-views.c: (get_history_list_callback):
Get bookmark pixbuf, convert it to XML and copt the XML string into
the CORBA structure that is added to the list to be returned.
* components/history/nautilus-history-view.c:
(install_icon):
Check and see if pixbuf is non-NULL. If it is, use it. Otherwise
use the generic bookmark icon.
(history_view_update_icons):
Reload entire list to ensure that proper icons are used.
(history_load_location):
Call install_icon with new pixbuf parameter.
2000-11-13 Eskil Heyn Olsen <eskil@eazel.com>
A lot of housecleaning, for which there were no bug reports...
amongst this some of the leak fixing that libleakcheck pointed
out.
* components/services/install/command-line/eazel-alt-install-corba.
c: (delete_files), (main):
Pass the install categories to the problem handler
Don't ask about delete iff --file was used
* components/services/install/lib/eazel-install-logic.c:
(eazel_install_check_for_file_conflicts),
Added a comment
(eazel_install_do_transaction_save_report),
Don't store the provides lists when storing the transaction
(eazel_install_display_arguments),
(eazel_install_start_transaction),
Log rpm arguments again
(eazel_install_add_to_extras_foreach),
(eazel_install_check_existing_packages),
(eazel_install_ensure_deps), (eazel_uninstall_upward_traverse),
(eazel_uninstall_downward_traverse),
(eazel_uninstall_check_for_install):
Leak fixing
* components/services/install/lib/eazel-install-md5.c:
(md5_get_digest_from_file):
Close files after md5 check
* components/services/install/lib/eazel-install-object.c:
(xml_from_packagedata), (xml_from_packagedata_list),
Packagedata to xml with provides lists
(eazel_install_unref),
call gtk_object_unref i EAZEL_INSTALL_NO_CORBA
(eazel_install_initialize),
(eazel_install_fetch_remote_package_list), (eazel_install_log),
(eazel_install_open_log), (eazel_install_alter_mode_on_temp),
(eazel_install_delete_downloads), (eazel_install_install_packages),
(eazel_install_uninstall_packages),
(eazel_install_emit_install_progress),
(eazel_install_emit_install_progress_default),
(eazel_install_emit_download_progress),
(eazel_install_emit_download_progress_default),
(eazel_install_emit_preflight_check),
(eazel_install_emit_preflight_check_default),
(eazel_install_emit_download_failed),
(eazel_install_emit_download_failed_default),
(eazel_install_emit_md5_check_failed),
(eazel_install_emit_md5_check_failed_default),
(eazel_install_emit_install_failed),
(eazel_install_emit_install_failed_default),
(eazel_install_emit_uninstall_failed),
(eazel_install_emit_uninstall_failed_default),
(eazel_install_emit_dependency_check),
(eazel_install_emit_dependency_check_default),
(eazel_install_emit_done), (eazel_install_emit_done_default):
* components/services/install/lib/eazel-install-public.h:
* components/services/install/lib/eazel-install-private.h:
The rest is rename of a define in the .h file
* components/services/install/lib/eazel-install-problem.h:
* components/services/install/lib/eazel-install-problem.c:
(eazel_install_problem_debug_attempts), (compare_problem_case),
(add_case), (add_cannot_solve_case), (add_force_install_both_case),
(add_force_remove_case), (eazel_install_problem_case_to_string),
(eazel_install_problem_case_foreach_destroy),
(finalize_attempts_hash_cleanup), (eazel_install_problem_finalize),
(problem_step_foreach_remove), (eazel_install_problem_step),
(eazel_install_problem_tree_to_case),
(eazel_install_problem_find_dominant_problem_type),
(find_dominant_problems), (build_categories_from_problem_list),
(eazel_install_problem_handle_cases):
Strewed debug output around.
Added a CANNOT_SOLVE case.
Fixed a memory corruption that occured when I freed handled
problems
Made the humanreadable strings i18n'ed, and added comments for the
translators.
* components/services/install/lib/eazel-install-protocols.c:
(eazel_install_fetch_package), (get_search_url_for_package):
Leak fixing.
* components/services/install/lib/eazel-install-query.c:
(eazel_install_simple_rpm_query), (eazel_install_simple_query):
Added which root it's opening to the debug output, used to catch a
bug in the installer.
* components/services/install/lib/eazel-install-rpm-glue.c:
(eazel_install_rpm_set_settings),
(eazel_install_start_transaction_make_rpm_argument_list),
(eazel_install_free_rpm_system),
(eazel_install_prepare_rpm_system):
Leak fixing and debug output changing...
* components/services/install/lib/eazel-install-xml-package-list.h:
* components/services/install/lib/eazel-install-xml-package-list.c:
(parse_package), (parse_category),
(eazel_install_packagedata_to_xml),
(eazel_install_packagelist_to_xml),
(eazel_install_categorydata_to_xml), (osd_parse_implementation),
(osd_parse_softpkg):
Leak fixing, plus the ability to generate xml without PROVIDES.
* components/services/install/lib/makefile.staticlib.in:
Added eazel-install-problem, since the installer now uses it.
* components/services/install/nautilus-view/nautilus-service-instal
l-view.h:
* components/services/install/nautilus-view/nautilus-service-instal
l-view.c: (nautilus_install_parse_uri),
(nautilus_service_install_done),
(nautilus_service_install_view_update_from_uri):
Moved the category list into the details for the view, so when
calling eazel-install-problem handler, I could pass the categories
to install.
* components/services/trilobite/helper/eazel-helper.security.in:
Fixed so it should work with all usermode versions.
* components/services/trilobite/libtrilobite/trilobite-core-utils.h
:
* components/services/trilobite/libtrilobite/helixcode-utils.c:
* components/services/trilobite/libtrilobite/helixcode-utils.h:
* components/services/trilobite/libtrilobite/trilobite-core-utils.c
: (trilobite_fetch_uri), (trilobite_fetch_uri_to_file),
(trilobite_setenv):
Leak fixing and debug output and s/glib types/c types/.
* nautilus-installer/src/HACKING:
Added a warning saying you have to be Eskil or Robey to make this
compile.
* nautilus-installer/src/Makefile:
Yes.
* nautilus-installer/src/callbacks.c: (begin_install):
Hacked to use the eazel-install problem solver.
* nautilus-installer/src/installer.h:
* nautilus-installer/src/installer.c: (create_what_to_do_page),
(create_install_page), (jump_to_error_page), (start_over),
(dont_start_over_callback), (jump_to_retry_page),
(create_finish_page_good), (eazel_install_progress),
(eazel_download_progress), (create_initial_force_remove_category),
(add_force_remove), (get_detailed_errors_foreach),
(get_detailed_errors), (install_failed), (eazel_install_preflight),
(install_done), (eazel_installer_add_category), (check_system),
(more_check_system), (eazel_installer_do_install),
(eazel_installer_post_install), (draw_splash_text),
(eazel_installer_set_default_texts), (eazel_installer_setup_texts),
(eazel_install_get_depends), (add_singular_package),
(eazel_installer_initialize):
Changed to use the eazel-install-problem handler.
Most text strings are taken from a array, which is set in a
function that can grab the strings from a server (partly fix for
1094).
Removed all the old problem handler code.
* nautilus-installer/src/main.c: (main):
Added a secret --package option that makes the installer ignore
the server specified package and just download another. Good for
debugging.
2000-11-13 Mathieu Lacage <mathieu@eazel.com>
Make maciej happy and split the dnd code in a new file.
* components/tree/Makefile.am: add new files.
* components/tree/nautilus-tree-view-dnd.c: new file for dnd code.
(tree_view_realize_callback), (nautilus_tree_view_init_dnd),
(nautilus_tree_view_drag_begin), (nautilus_tree_view_drag_end),
(collapse_time_callback), (nautilus_tree_view_drag_leave),
(nautilus_tree_view_drag_motion), (nautilus_tree_view_drag_drop),
(nautilus_tree_view_drag_data_received),
(nautilus_tree_view_drag_data_get),
(nautilus_tree_view_button_press),
(nautilus_tree_view_button_release),
(nautilus_tree_view_motion_notify),
(nautilus_tree_view_make_prelight_if_file_operation),
(nautilus_tree_view_expand_node),
(nautilus_tree_view_collapse_node),
(nautilus_tree_view_is_tree_node_expanded),
(nautilus_tree_view_expand_or_collapse_row),
(nautilus_tree_view_move_copy_files),
(nautilus_tree_view_find_drop_target),
(nautilus_tree_view_is_tree_node_directory),
(nautilus_tree_view_tree_node_at), (nautilus_tree_view_item_at),
(nautilus_tree_view_get_drag_uri),
(nautilus_tree_view_ensure_drag_data), (nautilus_dump_info),
(expand_hack_unref), (expand_hack_new), (expand_time_callback),
(nautilus_tree_view_expand_maybe_later),
(auto_scroll_timeout_callback),
(nautilus_tree_view_start_auto_scroll),
(nautilus_tree_view_stop_auto_scroll),
(nautilus_tree_view_real_scroll),
(nautilus_tree_view_get_drop_action),
(nautilus_tree_view_collapse_all),
(nautilus_tree_view_receive_dropped_icons),
(nautilus_tree_view_prelight_stop),
(nautilus_tree_view_drag_destroy),
(nautilus_tree_view_drag_destroy_real):
* components/tree/nautilus-tree-view-dnd.h: header.
* components/tree/nautilus-tree-view-private.h: shared stuff between
TreeView and dnd code.
* components/tree/nautilus-tree-view.c: remove all those functions.
(nautilus_tree_view_insert_model_node), (forget_view_node),
(nautilus_tree_view_remove_model_node),
(nautilus_tree_view_update_model_node),
(nautilus_tree_view_initialize),
(nautilus_tree_view_model_node_to_view_node),
(nautilus_tree_view_node_to_model_node),
(nautilus_tree_view_node_to_file), (tree_expand_callback),
(tree_collapse_callback), (tree_select_row_callback),
(nautilus_tree_view_find_parent_node):
* components/tree/nautilus-tree-view.h:
2000-11-13 Pavel Cisler <pavel@eazel.com>
reviewed by: Darin Adler <darin@eazel.com>
* configure.in:
Enable the sign-compare and cast-align warnings.
* components/help/converters/gnome-db2html2/gdb3html.c:
(find_first_element):
* components/help/hyperbola-filefmt.c: (fmt_free_tree_info):
* components/help/hyperbola-nav-index.c:
(hyperbola_navigation_index_update_clist), (despace),
(end_element):
* components/history/nautilus-history-view.c:
(history_load_location):
* components/mozilla/nautilus-mozilla-content-view.c:
(string_list_get_index_of_string):
* components/services/install/lib/eazel-install-corba-types.c:
(corba_string_sequence_to_glist),
(corba_packagedatastructlist_from_packagedata_list),
(packagedata_list_from_corba_packagedatastructlist),
(categorydata_list_from_corba_categorystructlist):
* components/services/install/lib/eazel-install-query.c:
(eazel_install_simple_rpm_query):
* components/services/install/lib/eazel-install-rpm-glue.c:
(eazel_install_monitor_rpm_process_pipe):
* components/services/install/lib/eazel-install-rpm-signature.c:
(read_rpm_lead), (read_rpm_signature):
* components/services/trilobite/libtrilobite/trilobite-root-helper.
c: (trilobite_root_helper_run_program),
(trilobite_root_helper_set_time):
* cut-n-paste-code/widgets/nautilusclist/nautilusclist.c:
(nautilus_clist_get_arg), (nautilus_clist_construct):
* helper-utilities/authenticate/nautilus-authenticate.c: (main):
* libnautilus-extensions/nautilus-background.c:
(set_image_and_color_image_loading_done_callback):
* libnautilus-extensions/nautilus-buffered-widget.c:
(nautilus_gdk_pixbuf_tile_alpha):
* libnautilus-extensions/nautilus-caption-table.c:
(entry_activate):
* libnautilus-extensions/nautilus-caption-table.h:
* libnautilus-extensions/nautilus-ctree.c:
(nautilus_ctree_node_nth), (nautilus_ctree_drag_motion):
* libnautilus-extensions/nautilus-ctree.h:
* libnautilus-extensions/nautilus-directory-async.c:
(metafile_write):
* libnautilus-extensions/nautilus-file-changes-queue.c:
(nautilus_file_changes_consume_changes):
* libnautilus-extensions/nautilus-file-operations-progress.c:
(truncate_string_from_start):
* libnautilus-extensions/nautilus-file-operations.c:
(extract_string_until):
* libnautilus-extensions/nautilus-file-utilities.c:
(nautilus_read_entire_file):
* libnautilus-extensions/nautilus-gdk-extensions.c:
(nautilus_get_largest_fitting_font):
* libnautilus-extensions/nautilus-global-preferences.c:
(global_preferences_get_sidebar_panel_view_identifiers):
* libnautilus-extensions/nautilus-gtk-extensions.c:
(nautilus_gtk_window_set_initial_geometry_from_string),
(nautilus_gtk_menu_set_item_visibility):
* libnautilus-extensions/nautilus-icon-canvas-item.c:
(draw_or_measure_label_text), (draw_or_measure_label_text_aa):
* libnautilus-extensions/nautilus-icon-container.c:
(rubberband_timeout_callback), (destroy), (compute_stretch):
* libnautilus-extensions/nautilus-icon-container.h:
(nautilus_icon_container_find_drop_target):
* libnautilus-extensions/nautilus-icon-factory.c:
(check_recently_used_list), (get_themed_icon_file_path),
(revise_scale_factors_if_too_big):
* libnautilus-extensions/nautilus-icon-text-item.c:
(recompute_bounding_box), (iti_draw), (iti_selection_motion):
* libnautilus-extensions/nautilus-label.c:
(nautilus_label_size_allocate), (label_recompute_line_geometries):
* libnautilus-extensions/nautilus-list.c: (draw_cell),
(nautilus_list_drag_data_received):
* libnautilus-extensions/nautilus-mime-actions.c:
(server_matches_content_requirements),
(nautilus_do_component_query):
* libnautilus-extensions/nautilus-password-dialog.c:
(caption_table_activate_callback):
* libnautilus-extensions/nautilus-preferences-item.c:
(has_image_file):
* libnautilus-extensions/nautilus-scalable-font.c:
(file_as_string), (parse_font_description_file),
(nautilus_text_layout_new):
* libnautilus-extensions/nautilus-scalable-font.h:
* libnautilus-extensions/nautilus-volume-monitor.c:
(check_permissions):
* libnautilus/nautilus-view.c:
(nautilus_shallow_g_list_from_uri_list):
* libnautilus/nautilus-zoomable.c:
(nautilus_g_list_from_ZoomLevelList):
* librsvg/rsvg-ft.c: (rsvg_ft_measure_or_render_string):
* librsvg/rsvg.c: (rsvg_parse_transform):
* src/file-manager/fm-icon-view.c:
(fm_icon_view_create_background_context_menu_items),
(get_sort_criterion_by_metadata_text), (get_sort_criterion_by_id):
* src/file-manager/fm-list-view.c: (select_row_common),
(select_matching_name_callback), (select_previous_next_common),
(fm_list_view_bump_zoom_level):
* src/nautilus-search-bar-criterion.c:
(nautilus_search_bar_criterion_update_valid_criteria_choices):
* src/nautilus-shell.c: (corba_open_windows),
(corba_open_default_window):
* src/nautilus-sidebar.c: (nautilus_sidebar_add_panel_items):
* src/nautilus-window-menus.c:
(nautilus_window_disable_keyboard_navigation_for_menus):
* src/nautilus-window.c: (nautilus_window_size_request):
Fix all sign-compare violations.
2000-11-13 Mathieu Lacage <mathieu@eazel.com>
Buddy: pavel.
Fix bug 2422 and 4382.
* components/tree/nautilus-tree-view.c:
(filtering_changed_callback),
(collapse_time_callback): added. collapses opened folders when
you leave the tree view.
(nautilus_tree_view_drag_leave): make it call tree_view_drag_destroy
(nautilus_tree_view_drag_motion): cleanup, make it call
tree_view_drag_destroy_real
(nautilus_tree_view_drag_drop): spaces.
(nautilus_tree_view_drag_data_received): cleanup: make it call
tree_view_drag_destroy.
(nautilus_dump_info): cleanup.
(expand_time_callback): cleanup.
(nautilus_tree_view_expand_maybe_later): cleanup
(nautilus_tree_view_collapse_all): cleanup.
(nautilus_tree_view_receive_dropped_icons): make it collapse
correctly.
(nautilus_tree_view_prelight_stop): new function: clears prelighting.
(nautilus_tree_view_drag_destroy): new function: destroys when drag finished.
(nautilus_tree_view_drag_destroy_real): new function: destroys when drag begins.
* docs/dnd.txt: add some thoughts.
* libnautilus-extensions/nautilus-drag.c:
(nautilus_drag_init): init new field.
* libnautilus-extensions/nautilus-drag.h: add shared field to public structure.
2000-11-13 Gene Z. Ragan <gzr@eazel.com>
Fixed bug 4700, ejecting an audio cd kills Nautilus
* libnautilus-extensions/nautilus-volume-monitor.c:
(nautilus_volume_monitor_get_volume_name):
Check for NULL string before using it.
* src/file-manager/fm-desktop-icon-view.c:
(volume_unmounted_callback):
Don't bother emiting signal if volume was never mounted
in the first place.
2000-11-13 John Sullivan <sullivan@eazel.com>
reviewed by: Darin Adler <darin@eazel.com>
More work towards using Bonobo for context menus. Also, found
and fixed bug where "Open With" items weren't working from
the File menu (though they were from the context menu).
* src/file-manager/fm-directory-view.c:
(add_open_with_program_menu_item): Determine verb name from item
path, not item label. This was broken before, causing "Open With"
items in the File menu not to work. Not sure why this ever worked,
but I didn't spend too much time investigating its change history.
(add_open_with_app_bonobo_menu_item),
(add_open_with_viewer_bonobo_menu_item): Removed these functions;
they were adding an extra layer that ended up hurting rather than
helping.
(add_application_to_bonobo_menu),
(add_component_to_bonobo_menu): consolidated with the removed
functions; add item to context menu as well as normal menu.
(reset_bonobo_open_with_menu): remove menu items and verbs from
context menu as well as normal menu.
2000-11-13 Josh Barrow <josh@eazel.com>
* libnautilus-extensions/nautilus-global-preferences.c:
(global_preferences_register):
Renamed "directory" to "folder"
2000-11-13 Maciej Stachowiak <mjs@eazel.com>
reviewed by: John Sullivan <sullivan@eazel.com>
* src/run-nautilus: Fixed bug 3248 (2nd copy of Nautilus faults)
by removing the nautilus-clean.sh calls from run-nautilus (Ramiro
claims it was fixed already, but there were race conditions, and
these calls are masking bugs that we want to fix for release).
2000-11-13 Maciej Stachowiak <mjs@eazel.com>
reviewed by: Pavel Cisler <pavel@eazel.com>
* components/adapter/nautilus-adapter-progressive-load-strategy.c:
Increased chunk-size to 32k in an unsuccesful attempt to improve
the situation with regards to fix bug 3256 (attempt to view huge
text file is very slow). It did not help which leads me to believe
the problem is with the way the text control handles progressive
updates.
Fix bug 2180 (switching from icon view to list view, the zoom
control disappears and then reappears).
* src/nautilus-window-manage-views.c (load_content_view,
zoom_level_changed_callback): Don't show and hide the zoom control
at various times. Instead, let
`nautilus_window_set_content_view_widget' establish the right
visibility state when we finally enable the widget. This way, the
zoom control won't ever disappear and reappear when switching
between two different zoomable views.
* src/nautilus-window.c (nautilus_window_set_content_view_widget):
Set the zoom control to the right visibility state when setting
the new widget.
2000-11-13 Andy Hertzfeld <andy@eazel.com>
* src/nautilus-theme-selector.c: (exit_remove_mode):
fixed bug 3823, text in theme selector is wrong, by correcting
a mis-set boolean.
2000-11-13 John Sullivan <sullivan@eazel.com>
More progress on using Bonobo for context menu items.
Now the Bonobo context menu items get their labels
updated to match the selection.
* src/file-manager/fm-directory-view.c:
(compute_menu_item_info):
Now has return parameters for the label with & without underscore,
instead of a boolean parameter to choose between them.
(append_gtk_menu_item), (append_selection_menu_subtree):
Update callers that only want the without-underscore version.
(update_one_menu_item): Set the label for the verb (no underscore)
as well as the label for the menu item (include underscore).
* src/file-manager/fm-icon-view.c:
(compute_menu_item_info):
Now has return parameters for the label with & without underscore,
instead of a boolean parameter to choose between them.
(insert_one_context_menu_item),
(fm_icon_view_create_background_context_menu_items):
Update callers that only want the without-underscore version.
(update_one_menu_item): Set the label for the verb (no underscore)
as well as the label for the menu item (include underscore).
* src/file-manager/fm-search-list-view.c:
(compute_reveal_item_name_and_sensitivity):
Now has return parameters for the label with & without underscore,
instead of a boolean parameter to choose between them.
(real_create_selection_context_menu_items): Update caller that
only wants the without-underscore version.
(update_reveal_item): Set the label for the verb (no underscore)
as well as the label for the menu item (include underscore).
* src/file-manager/nautilus-directory-view-ui.xml:
Add some placeholders in the selection context menu so subclasses
can place items correctly.
* src/file-manager/nautilus-icon-view-ui.xml:
Insert Rename, Stretch, and Unstretch into context menu.
* src/file-manager/nautilus-search-list-view-ui.xml:
Define commands for each verb. Move tips to commands.
Insert Reveal into context menu.
2000-11-13 Andy Hertzfeld <andy@eazel.com>
fixed bug 4703, add new background crashes when you pick trash.
* src/nautilus-property-browser.c: (add_background_to_browser):
fixed by removing a double-free in the case when the selected
file is not an image.
2000-11-13 John Sullivan <sullivan@eazel.com>
More work towards converting directory view context menus
to use Bonobo. Checking in so Darin can help me debug.
The Bonobo context menus still aren't used unless you
modify code.
* src/file-manager/fm-directory-view.c:
(real_merge_menus): Add verb handler for "Reset Background"
(fm_directory_view_pop_up_selection_context_menu): Add
conditional to execute Bonobo version (if TRUE changed to FALSE).
(fm_directory_view_pop_up_background_context_menu): formatting tweak.
* src/file-manager/nautilus-directory-view-ui.xml:
Added command definitions for all verbs. Moved labels from
context items into commands. Moved tips into commands. Populated
the background and selection popup menu definitions.
* src/file-manager/nautilus-icon-view-ui.xml:
Added command definitions for all verbs and ids. Defined labels
for commands. Moved tips into commands. Partially populated the
background popup menu definition.
* src/nautilus-shell-ui.xml: Moved accelerators for Zoom commands
to menu items, so they don't appear in context menus. Add labels
for Zoom commands. Add degenerate background popup that defines
the zoom items.
2000-11-13 Maciej Stachowiak <mjs@eazel.com>
* libnautilus-extensions/nautilus-program-choosing.c
(nautilus_launch_application_from_command): Remove stray printf.
2000-11-13 Maciej Stachowiak <mjs@eazel.com>
* THANKS: Updated based on running check-THANKS.pl
* AUTHORS, ChangeLog-200001018: Fixed some typos in
people's email addresses.
2000-11-13 Maciej Stachowiak <mjs@eazel.com>
Fix bugs 3641 (text preview gets garbled when switching files in
the middle of a load) and 3479 (Nautilus crashes if
nautilus-adapter* missing).
* components/adapter/nautilus-adapter-progressive-load-strategy.c
(call_when_stopped, load_and_free_uri, declare_done_loading,
stop_loading,
nautilus_adapter_progressive_load_strategy_load_location): Make
sure previous load is completely stopped before ever starting a
new load.
* components/adapter/nautilus-adapter.c:
(nautilus_adapter_destroy, nautilus_adapter_new): Avoid reporting
signals to the view frame while in the middle of destroying the
adapter.
* src/nautilus-component-adapter-factory.c
(nautilus_component_adapter_factory_get): Return NULL when loading
the adapter factory component fails.
(nautilus_component_adapter_factory_initialize,
component_adapter_factory_at_exit_destructor): Changes required by
the above.
* src/nautilus-view-frame.c
(nautilus_view_frame_set_to_component): report failure if we can't
load the adapter factory.
* src/nautilus-window-manage-views.c
(report_content_view_failure_to_user, load_content_view,
handle_view_failure, nautilus_window_set_sidebar_panels): Do a
somewhat better job of reporting view load failures.
2000-11-13 Maciej Stachowiak <mjs@eazel.com>
* components/tree/nautilus-tree-view.c
(nautilus_tree_view_insert_model_node,
nautilus_tree_view_update_model_node): Set both open and closed
pixmaps, so open folders have a disttinct appearance in the tree,
in addition to the disclosure triangles. This fixes bug 2421. This
work was needed to fix bug 3279 (Icons in tree sidebar panel don't
update when theme is changed), which was a side effect of not
doing this.
2000-11-13 Maciej Stachowiak <mjs@eazel.com>
* libnautilus-extensions/nautilus-ctree.c (ctree_is_hot_spot):
Expand margins around expander by 3 pixels on each side to make it
easier to click the disclosure triangle (triangle will prelight
when within range), to fix bug 4479
Fix bugs 4497 (Add configuration option to show only folders in
tree view) and 2419 (Tree view should track "show hidden files"
preference):
* components/tree/nautilus-tree-view.c:
(nautilus_tree_view_should_skip_file,
nautilus_tree_view_insert_model_node,
nautilus_tree_view_remove_model_node,
nautilus_tree_view_update_model_node): Handle possibly filtering
out hidden files, backup files or non-directories.
(filtering_changed_callback,
nautilus_tree_view_initialize): Initialize from and watch
filtering preferences, reload whole tree when prefs change.
(nautilus_tree_view_destroy): Stop watching filtering prefs.
(reload_model_node, reload_whole_tree, expand_node_for_file,
nautilus_tree_view_receive_dropped_icons): Update code for
reloading the tree on expand/collapse etc.
* components/tree/nautilus-tree-model.c
(nautilus_tree_model_directory_files_added_callback): Check if we
already have a node for each file before trying to create a new
one. This was needed because otherwise chaning the preference
settins mentioned above would result in crashes.
* libnautilus-extensions/nautilus-file.h,
libnautilus-extensions/nautilus-file.c:
(nautilus_file_is_hidden_file, nautilus_file_is_backup_file,
nautilus_file_should_show,
filter_hidden_and_backup_partition_callback,
nautilus_file_list_filter_hidden_and_backup): Move hidden file and
backup file filtering logic here from fm-directory-view.c.
* src/file-manager/fm-directory-view.c (queue_pending_files): Use
`nautilus_file_list_filter_hidden_and_backup' to do filtering.
* libnautilus-extensions/nautilus-global-preferences.h,
libnautilus-extensions/nautilus-global-preferences.c
(global_preferences_create_dialog, global_preferences_register):
Add a new preference for showing only directories in the tree
view.
* libnautilus-extensions/nautilus-preferences-dialog.c: Make
preferences dialog a bit bigger to accomodate the new setting.
2000-11-12 Andy Hertzfeld <andy@eazel.com>
fixed bug 3210, trash image fails to appear when defined as
emblem, by disallowing new emblems to be defined with the same
name as intrinsic ones. Also, disallowed adding an emblem with
the same name as an existing one.
* src/nautilus-property-browser.c:
(nautilus_property_browser_destroy), (emblem_keyword_valid),
(is_reserved_keyword), (emblem_dialog_clicked),
(make_properties_from_directories):
maintain a glist of emblem names, and check it when we're adding a
new one to make sure it's not already on it. Put up an error dialog
if it already exists.
2000-11-12 Andy Hertzfeld <andy@eazel.com>
fixed bug 3116, add preference for disabling sound preview
* libnautilus-extensions/nautilus-global-preferences.h:
defined sound preview preference
* libnautilus-extensions/nautilus-global-preferences.c:
(global_preferences_create_dialog), (global_preferences_register):
registered sound preview preference and added to speed tradeoffs
* src/file-manager/fm-icon-view.c: (should_preview_sound),
(icon_container_preview_callback):
only preview sounds if the preference is set
2000-11-12 John Fleck <jfleck@inkstain.net>
* adding term tag support to gnome-db2html2 - fixing bug #4406
2000-11-12 Maciej Stachowiak <mjs@eazel.com>
Fixed bugs 4503 and 4584.
* components/tree/nautilus-tree-view.c: Added
`current_main_view_uri' field to details struct.
(nautilus_tree_view_load_uri): Set `current_main_view_uri' field
every time, whether or not we end up selecting it.
(nautilus_tree_view_destroy): Free `current_main_view_uri' and
`selected_uri' fields.
(tree_select_row_callback): Only ignore the select if the selected
row matches `current_main_view_uri', not just `selected_uri' to
fix bug 4584 (Can not reselect the previous directory in the tree
when I entered a "hidden" directory in the content view)
(nautilus_tree_view_button_release): Only select the row on a
release of button 1, otherwise ignore to fix bug 4503 ("Tree
Sidebar panel treats right-clicks as left-clicks (should do
nothing)")
(tree_view_realize_callback): trivial formatting fix.
2000-11-11 Maciej Stachowiak <mjs@eazel.com>
* components/help/hyperbola-nav-tree.c
(hyperbola_navigation_tree_new): FIx bug 4352 and make the
redundant "Document Tree" title go away.
2000-11-11 Maciej Stachowiak <mjs@eazel.com>
Fixed bugzilla.eazel.com bugs 4051 (applications which require
terminals don't get them) and 4072 (mime types: command= string
can't take args?).
* libnautilus-extensions/nautilus-gnome-extensions.c
(nautilus_gnome_terminal_shell_execute): Don't take the shell as
an argument, just use "/bin/sh", there's no reason to use any
other shell for the purpose of launching a terminal like this.
(nautilus_gnome_open_terminal): Don't pass user shell to
`nautilus_gnome_terminal_shell_execute'; handle `gnome-terminal'
properly by passing it "-x" instead of incorrectly trying to quote
the command.
* libnautilus-extensions/nautilus-gnome-extensions.h: Fix minor
typo.
* libnautilus-extensions/nautilus-program-choosing.h,
libnautilus-extensions/nautilus-program-choosing.c:
(nautilus_launch_application_from_command): Add a use_termial
argument and if passed, launch the program in a terminal; minor
fixes to the way non-terminal-requiring programs are launched as
well, including not quoting the command, so that it can include
command line arguments (if the command name includes a space, it
had better be quoted already).
(nautilus_launch_application): Use the new `use_terminal' argument
when calling `nautilus_launch_application_from_command'.
* libnautilus-extensions/nautilus-program-chooser.c:
(launch_mime_capplet): Use the new `use_terminal' argument
when calling `nautilus_launch_application_from_command'.
* src/file-manager/fm-desktop-icon-view.c
(change_desktop_background_menu_item_callback): Use the new
`use_terminal' argument when calling
`nautilus_launch_application_from_command'.
* src/file-manager/fm-directory-view.c (activate_callback): Use
the new `use_terminal' argument when calling
`nautilus_launch_application_from_command'. Also, shell-quote the
command, since nautilus_application_launch_from_command won't do
that for you any more.
2000-11-10 Maciej Stachowiak <mjs@eazel.com>
* icons/gnome/Makefile.am, icons/i-executable.png: Restored
original icon to Gnome theme (Andy accidentally changed it while
replacing the default theme's exectuable icon).
2000-11-10 Andy Hertzfeld <andy@eazel.com>
* icons/Makefile.am:
* icons/i-executable-aa.png:
* icons/i-executable.png:
new executable icons from Susan
2000-11-10 Andy Hertzfeld <andy@eazel.com>
* src/nautilus-property-browser.c:
(nautilus_color_selection_dialog_new), (add_color_to_file),
(add_color_to_browser), (show_color_selection_window),
(add_new_color), (make_properties_from_xml_node):
fixed bug 4197, colors can't be given a name, by adding a
color selection window with a name entry, and using that
to name the color.
* icons/villanova/Makefile.am:
* icons/villanova/i-directory-accept-*.png:
fixed bug 4641, missing non-aa "folder-accept" image for the
villanova theme, by adding new images from Susan.
* icons/eazel/eazel.xml:
* icons/villanova/villanova.xml:
tweaked the selection box colors for the eazel and villanova
themes according to Susan's specification.
2000-11-10 Gene Z. Ragan <gzr@eazel.com>
Fixed bug 3057, Icon renaming state can get broken by clicking
in location bar.
* libnautilus-extensions/nautilus-icon-container.c:
(handle_focus_out_event):
Signal handler that ends renaming mode when focus changes.
(nautilus_icon_container_initialize):
Connect "focus_out_event" to new signal handler above.
* libnautilus-extensions/nautilus-icon-text-item.c: (layout_text),
(iti_start_editing), (iti_draw), (iti_event),
(nautilus_icon_text_item_select),
(nautilus_icon_text_item_get_text),
(nautilus_icon_text_item_start_editing),
(nautilus_icon_text_item_stop_editing):
Code style cleanups.
2000-11-10 Maciej Stachowiak <mjs@eazel.com>
reviewed by: Gene Z. Ragan <gzr@eazel.com>
I think 3320 is fixed (I definitely can't reproduce it) but this
change should eliminate a few remaining possible causes.
* components/tree/nautilus-tree-model.h,
components/tree/nautilus-tree-model.c
(nautilus_tree_model_get_node_from_file): New function that gets
the node corresponding to a NautilusFile (to avoid possible
problems with multiple NautilusFile objects for one URI).
(nautilus_tree_model_get_node, report_node_changed,
report_node_removed_internal,
nautilus_tree_model_directory_files_changed_callback,
nautilus_tree_model_directory_done_loading_callback): Use where
possible.
* components/tree/nautilus-tree-view.c: (reload_node_for_file,
nautilus_tree_view_find_parent_node): Use
`nautilus_tree_model_get_node_from_file'.
2000-11-09 Andy Hertzfeld <andy@eazel.com>
* src/nautilus-property-browser.c:
(nautilus_property_browser_drag_data_get):
fix bug where newly added reset coupon in the colors section
of the property browser wasn't working on the sidebar. Fixed
by making sure it issues a uri to a valid image in
drag_data_get.
2000-11-09 Elliot Lee <sopwith@redhat.com>
* configure.in: Fix freetype2 detection
* Various makefiles: fix srcdir != builddir.
2000-11-09 Darin Adler <darin@eazel.com>
buddy: John Sullivan <sullivan@eazel.com>
* libnautilus-extensions/nautilus-program-chooser.c:
(repopuluate_program_list), (is_component_default_for_file),
(program_file_pair_is_default_for_file),
(program_file_pair_is_in_short_list_for_file),
(add_to_short_list_for_file), (remove_from_short_list_for_file),
(remove_default_for_item), (set_default_for_item):
* libnautilus-extensions/nautilus-program-choosing.c:
(nautilus_choose_component_for_file):
Remove unnecessary calls to wait functions. There are still
one or two cases of calls. Next step is to replace them.
2000-11-09 John Sullivan <sullivan@eazel.com>
The beginnings of converting directory view context menus
to Bonobo. This doesn't work right yet; I'm checking in
so Darin can help me debug (the new code is iffed out for
now)
* src/file-manager/fm-directory-view.c: (get_bonobo_window),
(create_popup_menu), (real_merge_menus),
(fm_directory_view_pop_up_background_context_menu):
* src/file-manager/nautilus-directory-view-ui.xml:
2000-11-08 Andy Hertzfeld <andy@eazel.com>
* libnautilus-extensions/nautilus-icon-dnd.c:
(nautilus_icon_container_find_drop_target),
(nautilus_icon_container_get_drop_action):
fixed bug 3215 and 3723, bad feedback during emblem dropping,
by rejecting the drop if we're not over an icon. Also, made it
reject the drop for colors and backgrounds if we're not over
the background. I also fixed a memory leak in get_drop_action.
2000-11-08 Eskil Heyn Olsen <eskil@eazel.com>
* configure.in:
if rpm version check fails, hint at user
to --disable-eazel-services
2000-11-08 Robey Pointer <robey@eazel.com>
* components/services/install/lib/eazel-install-logic.c:
(eazel_install_check_for_file_conflicts),
(eazel_uninstall_downward_traverse):
* components/services/install/lib/eazel-install-query.c:
(eazel_install_simple_rpm_query):
* components/services/install/lib/eazel-install-rpm-glue.c:
(eazel_install_add_to_rpm_set):
* components/services/install/lib/eazel-install-types.c:
(packagedata_new_from_rpm_header),
(packagedata_fill_from_rpm_header), (packagedata_fill_from_file),
(packagedata_destroy):
* components/services/install/lib/eazel-install-types.h:
* nautilus-installer/src/installer.c: (more_check_system):
Backport the memory leak fixes from PR2. Also clean up the use of
'Header' structs from librpm since they turn out to be secret
pointers, not structs.
2000-11-08 Darin Adler <darin@eazel.com>
buddy: Gene Ragan <gzr@eazel.com>
* libnautilus-extensions/nautilus-file.c: (rename_callback): Since
metadata for the directory itself is now stored under a fixed
name, no need to rename the metadata for self-owned files any
more.
(get_item_count), (get_size), (compare_directories_by_count),
(compare_files_by_size), (compare_by_size): Reimplement compares
by size so they don't use gnome_vfs_file_info_compare -- this
makes them work better for info == NULL cases.
(get_date), (compare_by_modification_date): Reimplement compares
by modification date so they don't use gnome_vfs_file_info_compare
-- this makes them work better for info == NULL cases.
(compare_by_name): Sort files that start with "." or "#" last.
(compare_by_name_and_directory_name): Helper function so that we
always sort by directory name when names are equal.
(nautilus_file_compare_for_sort): Use the new functions above so
we never have to use the gnome_vfs_file_info_compare function.
Because of that, we won't have to keep file names around any more.
This also simplified the logic -- I was able to remove all the
special cases for info == NULL.
(get_metadata_name): Function that returns "." for self-owned
files so the metadata for the directory itself is stored somewhere
that's not affected by renaming.
(nautilus_file_get_metadata), (nautilus_file_get_metadata_list),
(nautilus_file_set_metadata), (nautilus_file_set_metadata_list),
(nautilus_file_get_boolean_metadata),
(nautilus_file_get_integer_metadata),
(nautilus_file_set_boolean_metadata),
(nautilus_file_set_integer_metadata): Use the new
get_metadata_name function.
* src/file-manager/nautilus-directory-view-ui.xml: Changed an old
<menuitem/> to <separator/>.
* po/.cvsignore: Ignore the tmp directory, but no need to ignore
the .headerlock file which is now obsolete.
* README: Minor tweaks.
* libnautilus-extensions/Makefile.am: Resorted lists.
2000-11-08 John Sullivan <sullivan@eazel.com>
buddy: Darin Adler <darin@eazel.com>
Fixed bug 4485 (":" as location caused odd error messages)
* libnautilus-extensions/nautilus-directory.c:
(real_get_name_for_self_as_new_file): Now checks for
initial-colon as well as missing-colon.
* libnautilus-extensions/nautilus-file.c:
(nautilus_self_check_file): Added a few self check tests
for default file naming from bogus directories.
2000-11-08 Ali Abdin <aliabdin@aucegypt.edu>
* components/music/nautilus-music-view.c:
(xpm_label_box),
(xpm_dual_label_box):
Re-write to use gdk-pixbuf. This eliminates a FIXME in there.
2000-11-08 Eskil Heyn Olsen <eskil@eazel.com>
* configure.in:
Fixed bug 4643, check for rpm version 3.0.x
2000-11-08 John Sullivan <sullivan@eazel.com>
Fixed bug 4472 (web search uses wrong URI)
* libnautilus-extensions/nautilus-global-preferences.c:
Change the web search default URI per Laura.
2000-11-08 Mike Fleming <mfleming@eazel.com>
Fix relative URI bugs 4415, 4416, 4417.
Do eazel-services untranslate for link messages
* components/mozilla/nautilus-mozilla-content-view.c:
(mozilla_link_message_callback),
(remove_internal_relative_components),
(make_full_uri_from_relative), (mozilla_dom_mouse_click_callback),
(test_make_full_uri_from_relative):
2000-11-07 Josh Barrow <josh@eazel.com>
* icons/eazel/eazel.xml:
Changed the selection box color to match the icons.
2000-11-07 Darin Adler <darin@eazel.com>
Worked on getting rid of wait_until_ready.
* libnautilus-extensions/nautilus-directory.c: Got rid of include
of nautilus-wait-until-ready.h.
* libnautilus-extensions/nautilus-file.c: Got rid of
nautilus_file_wait_until_ready.
* libnautilus-extensions/nautilus-mime-actions.c:
(wait_until_ready_callback),
(nautilus_mime_actions_wait_for_full_file_attributes):
Reimplemented so the wait is in here so we can get rid of
nautilus_file_wait_until_ready.
* libnautilus-extensions/nautilus-mime-actions.h: Moved
nautilus_mime_actions_wait_for_full_file_attributes into
nautilus-wait-until-ready.h.
* libnautilus-extensions/nautilus-program-chooser.c: Added include
of nautilus-wait-until-ready.h since this is one of the two files
that still uses the thing.
* libnautilus-extensions/nautilus-program-choosing.c: Added include
of nautilus-wait-until-ready.h since this is one of the two files
that still uses the thing.
* libnautilus-extensions/nautilus-wait-until-ready.h: Removed
nautilsu_file_wait_until_ready and added
nautilus_mime_actions_wait_for_full_file_attributes.
* src/file-manager/fm-directory-view.c:
(switch_location_and_view): Get rid of code that waits for
attributes, because the code guarantees they will already be read
at this point.
(fm_directory_view_destroy): Stop monitoring the file for the open
with menu.
(files_changed_callback): Update the menus whenever a file changes
or our knowledge about it changes.
(create_open_with_gtk_menu): Use the new monitor call to arrange
to get the information about the single selected file that we
need.
(reset_bonobo_open_with_menu): Use the new monitor call to arrange
to get the information about the single selected file that we
need.
(activate_callback): Remove the hack to work around the
wait_until_ready calls. Also remove the wait_until_ready in here
because we now request all the attributes we will be needing in
the call_when_ready call (that already existed).
(fm_directory_view_activate_file): Request all the attributes
needed for determining MIME actions.
(monitor_file_for_open_with): New function to monitor the stuff we
need to know for the Open with menu.
* test/test-nautilus-mime-actions-set.c: (ready_callback), (main):
Use call_when_ready instead of wait_until_ready.
* test/test-nautilus-mime-actions.c: (ready_callback), (main): Use
call_when_ready instead of wait_until_ready.
* po/ui-extract.pl: Checked in new version from Kenneth.
* po/update.pl: Kenneth wanted me to update the license.
2000-11-07 Andy Hertzfeld <andy@eazel.com>
* src/nautilus-property-browser.c: (emblem_keyword_valid),
(emblem_dialog_clicked):
fixed bugs 4168 and 4171, problems occur when slash and backslash
are included in emblem names, by only allowing alphanumeric
characters in emblem names and displaying an error dialog if
that's not so.
2000-11-07 Andy Hertzfeld <andy@eazel.com>
* icons/villanova/villanova.xml:
fixed the villanova theme to use the default document icons
instead of the ones from the eazel theme, now that the eazel
ones are different.
2000-11-07 Mike Fleming <mfleming@eazel.com>
* components/mozilla/main.c: (main):
* components/mozilla/nautilus-mozilla-content-view.c:
(nautilus_mozilla_content_view_destroy),
(mozilla_open_uri_callback), (eazel_services_scheme_translate),
(mozilla_content_view_one_time_happenings):
fix for bugzillea.eazel.com 4596: using services in two Embedded Mozilla
windows crashes
2000-11-07 John Sullivan <sullivan@eazel.com>
Fixed bug 4489 (some menu items are missing status bar hints)
* src/file-manager/fm-directory-view.c:
(add_open_with_program_menu_item): New helper function to
avoid code duplication; also handles setting tip.
(add_open_with_app_bonobo_menu_item),
(add_open_with_viewer_bonobo_menu_item): Use helper function
and construct tips to pass in for apps & viewers in "Open
With" submenu.
* src/file-manager/nautilus-directory-view-ui.xml: Add a tip
to "Open With" menu item itself.
* src/nautilus-window-menus.c: (append_bookmark_to_menu):
Tweaked wording of tip used for bookmarks.
2000-11-07 Darin Adler <darin@eazel.com>
* libnautilus-extensions/nautilus-file-operations.h:
* libnautilus-extensions/nautilus-file-operations.c:
* src/nautilus-first-time-druid.h:
Tweak to match Nautilus coding style.
* src/nautilus-first-time-druid.c: (druid_cancel): Added FIXME
about the way it quits Nautilus when you cancel.
(druid_finished): Use #define constants instead of hard-coded
URLs.
(make_anti_aliased_label): Put FIXME where a font and size are
hard-coded.
(make_hbox_user_level_radio_button): Put FIXME where a font is
hard-coded.
(set_up_user_level_page): Put FIXME where a font size is
hard-coded.
(next_update_page_callback): Put FIXME where a comment mentions
a "timer task" that does not exist.
(nautilus_first_time_druid_show), (download_callback),
(read_file_handle_cancel_cover), (initiate_file_download): Got rid
of "cheap workaround" for when the druid goes away; instead, we
cancel the I/O.
Other tweaks to be at least in the vicinity of Nautilus coding
style.
2000-11-07 Maciej Stachowiak <mjs@eazel.com>
* nautilus-installer/src/prescript: Make the installer run
successfully when run as root instead of failing silently, as part
of the fix to 4605. Sadly, when Eli tried installing as root with
the modified installer it worked, but running Nautilus
subsequently as root resulted in strange Nautilus behavior, so
probably we can't call it closed.
2000-11-07 Robey Pointer <robey@eazel.com>
* components/services/install/lib/eazel-install-rpm-glue.c:
(eazel_install_rpm_create_requirement),
(eazel_install_do_rpm_dependency_check):
* components/services/install/lib/eazel-install-types.c:
(eazel_install_requirement_dep_name_compare):
* components/services/install/lib/eazel-install-types.h:
Backport bug 4594's fix to head: skip checking breakage on
packages we're about to install/upgrade.
* nautilus-installer/src/prescript:
Revert Josh's well-meaning but incorrect patch to the spelling of
Gnome in the Nautilus PR1 version test.
2000-11-07 Eskil Heyn Olsen <eskil@eazel.com>
* nautilus-installer/src/installer.c: (did_we_already_try),
(add_update_package), (get_detailed_errors_foreach),
(download_failed), (eazel_installer_do_install):
Fixed some case where we 1) try and update a package 2) not on
softcat 3) didn't offer to remove it...
2000-11-07 Robey Pointer <robey@eazel.com>
* components/services/install/lib/eazel-install-logic.c:
(eazel_install_do_file_conflict_check):
Backport Eskil's mushroom habit to the head.
2000-11-07 Ramiro Estrugo <ramiro@eazel.com>
* libnautilus-extensions/nautilus-file-utilities.c:
(nautilus_copy_uri_simple), (nautilus_unique_temporary_file_name):
* libnautilus-extensions/nautilus-file-utilities.h:
* src/nautilus-first-time-druid.c: (download_callback):
Fix for 4585. Crash saving updates.tgz file from server if it
already exists. The fix is to use a unique temporary file name
and cleaning up after untar the update tarball.
2000-11-07 Mike Fleming <mfleming@eazel.com>
* src/nautilus-first-time-druid.c: (druid_finished),
(download_callback):
Ugly fix to 4568 -- If io completes after druid is finished,
then unpack the file but don't try to update the (now non-existant)
GUI components
2000-11-06 Maciej Stachowiak <mjs@eazel.com>
* src/nautilus-window-manage-views.c: (load_underway_callback,
load_complete_callback): Replace FIXME 2460 with a comment
explaining why current behavior is OK.
2000-11-06 Mike Fleming <mfleming@eazel.com>
* src/nautilus-first-time-druid.c: (druid_finished),
(download_callback), (initiate_file_download), (set_http_proxy),
(my_sigalrm_handler), (check_dns_resolution),
(check_network_connectivity):
Fix for bug 4549 Check for a potential DNS freeze case, and hang
for only 15 seconds rather than 2+ mins in this case.
2000-11-06 Eskil Heyn Olsen <eskil@eazel.com>
* components/services/docs/installer-rpm-cases:
Beginning a document of rpm cases, tree structures and generel
crack...
* components/services/install/command-line/eazel-alt-install-corba.
c: (eazel_download_progress_signal),
(eazel_install_progress_signal), (tree_helper), (install_failed):
Nicer output, ability to disable pct output (--no-percent)
* components/services/install/lib/eazel-install-logic.c:
(eazel_install_check_for_file_conflicts),
(eazel_install_do_file_conflict_check):
Fix for 4579
* nautilus-installer/src/prescript:
Removed the crack that starts the nautilus launcher applet.
2000-11-06 Robey Pointer <robey@eazel.com>
* components/services/trilobite/libtrilobite/trilobite-redirect.c:
(trilobite_get_services_address):
* libnautilus-extensions/nautilus-password-dialog.c:
(nautilus_password_dialog_new),
(nautilus_password_dialog_get_remember),
(nautilus_password_dialog_set_remember),
(nautilus_password_dialog_set_remember_label_text):
Backport PR2 changes (fix NULL string check in trilobite, and
finish Mathieu's patch to turn off the checkbox in the password
dialog).
2000-11-06 Josh Barrow <josh@eazel.com>
* icons/eazel/theme_preview.png:
Did a new theme preview for the revamped Eazel theme.
2000-11-06 Mathieu Lacage <mathieu@eazel.com>
* libnautilus-extensions/nautilus-bonobo-extensions.c:
(oaf_activation_callback): small fix: replace NULL with
CORBA_OBJECT_NIL
* test/Makefile.am: add new test.
* test/test-nautilus-async-activation.{c|h}
2000-11-06 Andy Hertzfeld <andy@eazel.com>
* icons/eazel/Makefile.am:
* icons/eazel/eazel.xml:
* icons/eazel/i-regular.xml:
* icons/eazel/i-regular-*.png:
* icons/eazel/i-directory-*.png:
* icons/eazel/fossil.png:
at Susan's request, transformed the "eazel" theme into her "merion"
theme. We still need to update the theme preview icon to reflect
the new look.
2000-11-06 John Sullivan <sullivan@eazel.com>
Fixed PR2 bug 4480 (Crash while navigating in Vault).
Someone still needs to roll this back to the branch.
Darin has volunteered to do this when he's back from
lunch unless someone beats him to it. This fix is a
workaround for the real problem, described in new bug
4539.
* src/file-manager/fm-directory-view.c:
Added details->waiting_for_activation_count_hack.
(create_open_with_gtk_menu),
(reset_bonobo_open_with_menu):
Don't try to get full file attributes if we're still
waiting for any pending activation.
(schedule_update_menus): Added an assert while debugging
that is useful enough to keep.
(activate_callback):
decrement details->waiting_for_activation_count_hack.
(fm_directory_view_activate_file):
increment details->waiting_for_activation_count_hack.
2000-11-06 Mathieu Lacage <mathieu@eazel.com>
* user-guide/C/Makefile.am: fix make distcheck.
2000-11-06 Darin Adler <darin@eazel.com>
Fixed bug 4504 (select "view as others" leads to core dump).
* libnautilus-extensions/nautilus-file.c:
(nautilus_file_get_directory_item_mime_types):
Change to return a copy of the MIME type list as designed.
* libnautilus-extensions/nautilus-mime-actions.c:
(nautilus_mime_get_default_component_for_file_internal),
(nautilus_mime_get_short_list_components_for_file):
Change the callers that don't free the MIME type list so that they
now do.
2000-11-06 Ramiro Estrugo <ramiro@eazel.com>
* nautilus-clean.sh:
Fix for bug 4530. Race condition in nautilus-clean.sh trying to
kill its own grep processes.
2000-11-05 Ramiro Estrugo <ramiro@eazel.com>
* src/nautilus-first-time-druid.c:
(next_proxy_configuration_page_callback):
Fix for bug 4488. Proxy string is defaulting to ":". Do some
validation on the user input. Only set the proxy if the proxy and
port entry text fields are not blank.
2000-11-05 Robey Pointer <robey@eazel.com>
* components/services/install/lib/eazel-install-protocols.c:
(http_fetch_remote_file):
* components/services/trilobite/libtrilobite/trilobite-core-utils.c
: (trilobite_fetch_uri):
* nautilus-installer/src/installer.c: (jump_to_retry_page),
(eazel_install_get_depends):
* nautilus-installer/src/main.c: (main):
* nautilus-installer/src/prescript:
* nautilus-installer/src/proxy.c: (load_nscp_proxy_settings),
(load_galeon_proxy_settings), (attempt_http_proxy_autoconfigure):
* nautilus-installer/src/proxy.h:
Backported from the PR2 branch: Fix proxy autoconfiguration bugs,
and use temporary filenames when downloading packages. Use the
better way of finding out the user's homedir. Clean up the error
message for a package with no update available.
2000-11-05 Andy Hertzfeld <andy@eazel.com>
fixed bug 4475, add license to help menu
* src/nautilus-shell-ui.xml:
added menu item for "Nautilus License"
* src/nautilus-window-menus.c:
(help_menu_nautilus_license_callback),
(nautilus_window_initialize_menus):
added a bonobo verb and a handler to invoke the license document
* user-guide/C/Makefile.am:
added license.html
* user-guide/C/html/.cvsignore:
* user-guide/C/html/license.html:
added license html file from Bud.
2000-11-05 Andy Hertzfeld <andy@eazel.com>
* components/music/nautilus-music-view.c: (play_status_display),
(slider_moved_callback), (slider_release_callback):
fixed bug 2407, divide by zero in the music view, which also got
classified as PR2 bug 4513. I'm not sure this fixes the entire
problem, since I wasn't able to manifest it in the first place,
but Eli will confirm.
2000-11-04 Ramiro Estrugo <ramiro@eazel.com>
* src/run-nautilus:
Fix a typo that was causing the script to always bail.
2000-11-04 Almer S. Tigelaar <almer1@dds.nl>
* configure.in: Add 'nl' to ALL_LINGUAS.
2000-11-03 Ramiro Estrugo <ramiro@eazel.com>
FIX from the pr2 branch.
* helper-scripts/nautilus-verify-rpm.sh:
Fix bug 4453. Get right urls into "Nautilus RPM is damaged"
dialog boxes. Also change the dialogs slighty as specified by
sullivan in bug 4366.
2000-11-03 Eskil Heyn Olsen <eskil@eazel.com>
* components/services/install/lib/eazel-install-protocols.c:
(add_to_url):
Last fix broke the magic static link of the installer, this will
fix.
2000-11-03 Darin Adler <darin@eazel.com>
Fixed bug 4483 (Crash while navigating in Vault).
* src/nautilus-window.c: (nautilus_window_set_content_view_widget):
Remove the idle with gtk_idle_remove, not gtk_timeout_remove.
* src/file-manager/fm-directory-view.c:
(fm_directory_view_destroy): Removed the check since it was giving
false alarms and not helping us for real.
2000-11-03 Darin Adler <darin@eazel.com>
* src/nautilus-shell.c: (display_caveat): Lets call the main
branch "Nautilus", not "Nautilus Preview Release 2". Later we
should change the caveat for cvs to be worded differently too.
* src/nautilus-window.c: (nautilus_window_constructed),
(nautilus_window_set_arg), (nautilus_window_get_arg),
(nautilus_window_set_content_view_widget): Fixed spaces removed
by the script (forgot to save this file before committing before).
2000-11-03 Ramiro Estrugo <ramiro@eazel.com>
* Makefile.am:
* configure.in:
* helper-scripts/.cvsignore:
* helper-scripts/Makefile.am:
* helper-scripts/nautilus-verify-rpm.sh:
Add a place to put helper-scripts.
* helper-utilities/error-dialog/Makefile.am:
Dont link in with Nautilus libraries and dependencies.
* helper-utilities/error-dialog/nautilus-error-dialog.c:
(find_message_label), (find_message_label_callback),
(show_message_box), (show_ok_box), (nautilus_error_dialog),
(nautilus_yes_no_dialog), (main):
Add support for specifying button labels on the command line.
* src/run-nautilus:
Call the nautilus rpm verification script and bail if it fails.
2000-11-03 Darin Adler <darin@eazel.com>
* README: Tell everyone that we are back on bonobo HEAD.
* configure.in: Make sure Nautilus doesn't try to compile with the
old bonobo.
* components/adapter/nautilus-adapter-embed-strategy.c:
(nautilus_adapter_embed_strategy_get):
* components/adapter/nautilus-adapter-load-strategy.c:
(nautilus_adapter_load_strategy_get):
* components/adapter/nautilus-adapter-progressive-load-strategy.c:
(nautilus_adapter_progressive_load_strategy_load_location):
* components/history/nautilus-history-view.c:
(history_view_frame_call_begin):
* libnautilus/nautilus-undo.c: (set_up_bonobo_control):
* libnautilus/nautilus-view.c: (view_frame_call_begin):
* libnautilus/nautilus-zoomable.c:
(nautilus_zoomable_ensure_zoomable_frame):
Fix all the callers of query_interface in CORBA to call it
queryInterface (I used the Bonobo script to do it).
* src/nautilus-window.h:
* src/nautilus-window.c: (nautilus_window_constructed),
(nautilus_window_set_arg), (nautilus_window_get_arg),
(nautilus_window_set_content_view_widget): Update for BonoboWin ->
BonoboWindow change. Once again, the change was done by the Bonobo
script (but I had to undo the spaces it ate after BONOBO_WIN).
* components/services/install/idl/trilobite-eazel-install.idl:
* components/services/time/idl/trilobite-eazel-time-service.idl:
* components/services/trilobite/idl/trilobite-service.idl:
* components/services/trilobite/sample/idl/sample-service.idl:
* libnautilus-adapter/nautilus-adapter-factory.idl:
* libnautilus/nautilus-distributed-undo.idl:
* libnautilus/nautilus-view-component.idl:
Since IDL dependencies don't work, I touched every IDL file to
make the switchover smoother. This only works if people update
before they try to build and fail, otherwise they need to do:
find -name '*.xml' | xargs touch
(Maciej and I want to add dependency support to orbit-idl to make
this problem go away long term).
* src/nautilus-desktop-window.c: (realize):
The script updated this comment to, so I let it.
* user-guide/C/Makefile.am: Took out the botched change I made to
this file. Mathieu did the correct one.
2000-11-03 Mathieu Lacage <mathieu@eazel.com>
Hopefully, fix bug 4055 for true.
* libnautilus-extensions/nautilus-list.c:
(nautilus_list_drag_start), (nautilus_list_ensure_drag_data),
(nautilus_list_drag_end), (nautilus_list_get_drop_action),
(nautilus_list_drag_motion), (nautilus_list_drag_data_received):
make it work with multiple successive drags by reinitializing a
number of variables used during drag.
* src/file-manager/fm-list-view.c: (fm_list_receive_dropped_icons),
(fm_list_get_default_action): make it react to drops in the blank
area of a list view.
2000-11-03 Eskil Heyn Olsen <eskil@eazel.com>
Last commit was botched, here's the changelog
* components/rpmview/nautilus-rpm-view-install.c:
(nautilus_rpm_view_download_progress_signal),
(nautilus_rpm_view_install_progress_signal),
(nautilus_rpm_view_dependency_check),
(nautilus_rpm_view_install_done),
(nautilus_rpm_view_install_package_callback):
Made a last minute fix to the delete file signal change in the
rpmview. The rpmview still cannot get the spinner to spin when
installing/uninstalling, but I'm not going to use time on that
now.
* components/services/install/command-line/eazel-alt-install-corba.
c: (install_failed):
Fixed a typo and an error in the problem handler user
* components/services/install/lib/eazel-install-logic.c:
(eazel_install_check_existing_packages):
Added release numbers to debug output.
* components/services/install/lib/eazel-install-problem.c:
(eazel_install_problem_case_to_string):
Changed case_to_string message to a more imperative format
* components/services/install/lib/eazel-install-protocols.c:
(add_to_url):
Use gnome_vfs_escape_string instead of our own.
* components/services/install/lib/eazel-install-types.c:
(packagedata_get_readable_name):
Hack so it should also recognize EazelCandidate names
* components/services/install/nautilus-view/nautilus-service-instal
l-view.h:
* components/services/install/nautilus-view/nautilus-service-instal
l-view.c: (nautilus_install_parse_uri), (show_dialog_and_run_away),
(nautilus_service_install_solve_cases),
(nautilus_service_install_done), (dig_up_errors),
(nautilus_service_install_failed):
Fix for 4443
2000-11-03 Andy Hertzfeld <andy@eazel.com>
* libnautilus-extensions/nautilus-icon-canvas-item.c:
(draw_outline_rectangle_aa), (draw_stretch_handles_aa),
(draw_or_measure_label_text_aa), (draw_label_text_aa):
fixed bug 4192, strange feedback while stretching icons, by using
libart to draw the rectangle instead of the buggy custom graphics
routine that we were using.
* src/file-manager/fm-icon-view.c:
(icon_container_preview_callback):
fixed bug 4460, remote sound files displayed preview icon but
didn't actually preview, by adding a check to make it display
the icon for local files only
* src/nautilus-window-menus.c: (file_menu_new_window_callback):
fixed bug 4033, new window command should initially point to the
home directory by calling nautilus_window_go_home instead of going
to the uri of the current window.
2000-11-03 Robey Pointer <robey@eazel.com>
* components/services/install/lib/eazel-install-logic.c:
(dump_one_package):
* components/services/install/lib/eazel-install-object.c:
(eazel_install_set_arg), (eazel_install_initialize),
(eazel_install_fetch_remote_package_list), (eazel_install_log),
(eazel_install_set_log), (eazel_install_open_log),
(eazel_install_log_to_stderr):
* components/services/install/lib/eazel-install-private.h:
* components/services/install/lib/eazel-install-public.h:
* components/services/install/lib/eazel-install-rpm-glue.c:
(eazel_install_rpm_set_settings):
* components/services/trilobite/libtrilobite/trilobite-core-utils.c
: (trilobite_add_log):
Clean up debug mode (was missing some pieces) and set up the g_log
handler to not work in corba mode (letting libtrilobite handle
them in corba mode). Make it start up as early as possible and
let the service provide a file pointer for logging.
* components/services/summary/nautilus-view/nautilus-summary-view.c
: (generate_summary_form):
Make the giant label a little bit more palatable to Arlo.
* nautilus-installer/src/installer.c: (log_debug),
(add_bullet_point_to_vbox), (strip_categories),
(start_over_make_category_func), (start_over),
(start_over_callback), (dont_start_over_callback),
(start_over_timer), (jump_to_retry_page), (create_window),
(eazel_install_progress), (eazel_download_progress),
(add_force_packages), (add_force_remove), (add_update_package),
(get_detailed_errors_foreach), (get_detailed_errors),
(install_failed), (download_failed), (eazel_install_preflight),
(eazel_install_dep_check), (install_done), (check_if_next_okay),
(toggle_button_toggled), (eazel_installer_add_category),
(check_system), (more_check_system), (eazel_installer_do_install),
(draw_splash_text), (eazel_installer_finalize), (start_logging),
(find_old_tmpdir), (eazel_installer_initialize):
* nautilus-installer/src/installer.h:
* nautilus-installer/src/link.sh:
* nautilus-installer/src/main.c:
* nautilus-installer/src/prescript:
Use /tmp/eazel-install.log for logging (being very careful to make
sure the file is not a booby trap) instead of spamming all over
the terminal. However, the --debug option will give you the
terminal spam if you want it (in addition to the logfile). Fix
the annoying debug logs to use g_log so we can catch them. Add a
--batch option that causes the installer to skip all question
screens.
2000-11-03 Mathieu Lacage <mathieu@eazel.com>
* user-guide/C/Makefile.am: fix pb with buildir != srcdir
2000-11-03 Darin Adler <darin@eazel.com>
* user-guide/C/Makefile.am: Add a missing file. Another cut at
making "make distcheck" work.
2000-11-03 Darin Adler <darin@eazel.com>
* src/Makefile.am: Fixed a srcdir/builddir problem that prevents
"make distcheck" from working. This is not necessarily the only
"make distcheck" problem.
2000-11-02 Ramiro Estrugo <ramiro@eazel.com>
* configure.in:
* helper-utilities/Makefile.am:
* helper-utilities/error-dialog/.cvsignore:
* helper-utilities/error-dialog/Makefile.am:
* helper-utilities/error-dialog/nautilus-error-dialog.c: (main):
* nautilus.spec.in:
Add a error dialog helper utility that can be called from shell
scripts to display errors to the user.
* components/services/nautilus-dependent-shared/eazel-services-footer.c:
Pavel made me do this at gun point. Make the links activate on
mouse up not down.
2000-11-02 Arlo Rose <arlo@eazel.com>
* src/nautilus-first-time-druid.c: (set_up_user_level_page),
(set_up_service_signup_page), (nautilus_first_time_druid_show):
Changed some wording so first time users won't be confused.
2000-11-02 Mathieu Lacage <mathieu@eazel.com>
Fix bug 4434 and bug 4430
* libnautilus-extensions/nautilus-password-dialog.c:
(nautilus_password_dialog_new): remove switch to remember
root password.
* user-guide/C/sgml/chapter-1.sgml: remove mention of PDF.
2000-11-02 Ramiro Estrugo <ramiro@eazel.com>
* nautilus-installer/src/prescript:
When we try to run the nautilus launcher, make sure we ignore the
grep process while grepping for an already running launcher.
2000-11-02 Andy Hertzfeld <andy@eazel.com>
fixed problem where I accidentally changed the icons for disk
drives that appear on the desktop when I only meant to change
the hardware view. Fixed by restoring the old icon, and using
one with a different name in the hardware view.
* components/hardware/nautilus-hardware-view.c:
(setup_overview_form):
use "i-harddrive.png" instead of "i-blockdev.png"
* icons/Makefile.am:
* icons/i-blockdev.png:
* icons/i-harddrive.png:
restored the old block device icon and added a new hard drive one.
2000-11-02 Ramiro Estrugo <ramiro@eazel.com>
* components/notes/nautilus-notes.c: (finish_loading_note),
(notes_load_location), (make_notes_view):
#if 0 out the undo code which is currently not working. I filed a
bug for this issue: 4436.
2000-11-02 Josh Barrow <josh@eazel.com>
* nautilus-installer/src/prescript:
GNOME is an acronym, not a word. Changed as such.
2000-11-02 Eskil Heyn Olsen <eskil@eazel.com>
* nautilus-installer/src/prescript:
Fix for 4368, utterly untested though...
2000-11-02 Darin Adler <darin@eazel.com>
Fix crashing part of bug 4157 (Tree View crash involving directory
rename/move).
* components/tree/nautilus-tree-view.c: (forget_view_node),
(forget_view_node_and_children),
(nautilus_tree_view_remove_model_node): Add code to get rid of all
the child nodes when a node is removed, not just the main node
itself.
2000-11-02 Ramiro Estrugo <ramiro@eazel.com>
* nautilus-installer/src/prescript:
Fix bug 4374. Add Nautilus launcher to installer prescript.
2000-11-02 Mike Fleming <mfleming@eazel.com>
* components/mozilla/mozilla-events.cpp:
* components/mozilla/mozilla-events.h:
* components/mozilla/nautilus-mozilla-content-view.c:
(mozilla_open_uri_callback), (mozilla_dom_mouse_click_callback):
bugzilla.eazel.com 4156: Documents containing IFRAME's cause
unexpected navigation. This is a hack fix that checks to see if
a possible destination is the same as the URI of an IFRAME and, if
they do, ditch the navigation
2000-11-02 John Sullivan <sullivan@eazel.com>
Fixed bug 3613 (activating any file as root tries to
execute it)
* src/file-manager/fm-directory-view.c: (file_is_launchable):
Need to check nautilus_file_is_executable as well as
nautilus_file_can_execute.
2000-11-02 Maciej Stachowiak <mjs@eazel.com>
* components/music/Makefile.am: Install a nautilus-mpg123 symlink
that points to the real mpg123 if it exists on the system.
* components/music/mpg123_handler.c (start_playing_file): Run nautilus-mpg123
* nautilus-clean.sh: Kill nautilus-mpg123
* nautilus-spec.in: Install the nautilus-mpg123 symlink
2000-11-02 Maciej Stachowiak <mjs@eazel.com>
Believed fix to 4361 and possible progress on 4157.
* components/tree/nautilus-tree-model.c:
(nautilus_tree_model_node_has_monitor_clients,
nautilus_tree_model_node_begin_monitoring,
nautilus_tree_model_node_end_monitoring,
nautilus_tree_model_monitor_node,
nautilus_tree_model_stop_monitoring_node, report_node_changed):
Various restructing.
* components/tree/nautilus-tree-view.c: (insert_hack_node,
remove_hack_node, freeze_if_have_hack_node,
nautilus_tree_view_insert_model_node,
nautilus_tree_view_remove_model_node,
nautilus_tree_view_update_model_node, notify_node_seen,
nautilus_tree_view_model_node_changed_callback,
nautilus_tree_view_model_done_loading_callback,
nautilus_tree_view_initialize, free_file_to_node_map_entry,
free_file_to_hack_node_map_entry, nautilus_tree_view_destroy,
file_to_view_node, model_node_to_view_node, view_node_to_file,
expand_uri_sequence_and_select_end, reload_node_for_file,
expand_node_for_file, tree_expand_callback,
tree_collapse_callback, tree_select_row_callback,
nautilus_tree_view_find_parent_node, nautilus_tree_view_item_at,
nautilus_dump_info, nautilus_tree_view_collapse_all): Pass around
and store NautilusFile objects rather than URIs, since nodes are
tied to a NautilusFile (which can change URI if moved or renamed).
* libnautilus-extensions/nautilus-directory-private.h,
libnautilus-extensions/nautilus-directory.c
(nautilus_directory_handle_directory_moved,
nautilus_directory_notify_files_moved),
libnautilus-extensions/nautilus-file.c (rename_callback): When a
directory is moved or renamed, update the NautilusDirectory
structure for it to have the correct new URI.
2000-11-02 Darin Adler <darin@eazel.com>
* README: Change to reflect the fact that we currently require
bonobo and xpdf from a branch, not HEAD.
2000-11-02 John Fleck <jfleck@inkstain.net>
* gnome-db2html2/sect-elements.c - render <variablelist> as a <UL>
rather than <OL>
2000-11-02 John Fleck <jfleck@inkstain.net>
* updating gnome-db2html2/toc-elements.c to improve help
documentation table of contents display
2000-11-02 Rebecca Schulman <rebecka@eazel.com>
Clean up some of the "human" strings for search uris,
mostly so the translation scheme doesn't fail and
leave a search uri sitting around
* libnautilus-extensions/nautilus-search-uri.c:
update structures to correspond to latest search uri
spec
* nautilus-clean.sh:
removed mpg123 (it kept interrupting my cds) and
a duplicate summary view copy
2000-11-01 Andy Hertzfeld <andy@eazel.com>
* icons/villanova/Makefile.am:
* icons/villanova/villanova.xml:
* icons/villanova_green.png:
Susan changed the background image for the icon view of
the villanova theme
* icons/i-blockdev.png:
better hard disk for hardware view
* components/hardware/nautilus-hardware-view.c:
(setup_overview_form):
improved layout of IDE items
2000-11-01 Eskil Heyn Olsen <eskil@eazel.com>
* components/services/install/nautilus-view/nautilus-service-instal
l-view.c: (nautilus_install_service_locate_menu_entries):
Just to make sure, I don't think tinderbox got my change...
2000-11-01 Eskil Heyn Olsen <eskil@eazel.com>
* components/services/install/command-line/eazel-alt-install-corba.
c: (delete_files), (done), (main):
Now has a --batch command to it doens't need userinteraction
--batch=yes|no to set the default answer to continue ?
questions. Using --batch defaults the answer to delete to yes. Now
delete works again (after Great Delete Change)
* components/services/install/lib/eazel-install-problem.c:
(get_detailed_cases_foreach):
Fixed potiental sigsegvs.
* components/services/install/nautilus-view/nautilus-service-instal
l-view.c: (nautilus_install_service_locate_menu_entries):
Fixed a compiler warning that broke build.
2000-11-01 Eskil Heyn Olsen <eskil@eazel.com>
* components/services/install/command-line/eazel-alt-install-corba.
c: (main):
Fixed 4331.
* components/services/install/lib/eazel-install-logic.c:
(eazel_install_download_packages),
Checked if a toplevel package is a source package
(eazel_install_prune_packages_helper),
(eazel_install_check_if_depends_on),
(eazel_install_do_transaction_fill_hash),
(eazel_install_prune_packages),
(eazel_install_ensure_deps),
Commented out/changed some debug output
(eazel_install_fetch_dependencies),
Changed the debug output in case of circular dependency, also
added a check for source packages.
(eazel_install_start_transaction):
Commented out the debug output of the rpm args
* components/services/install/lib/eazel-install-problem.c:
(get_detailed_messages_foreach),
Detect source package.
(eazel_install_problem_tree_to_case):
Removed debug output.
* components/services/install/nautilus-view/nautilus-service-instal
l-view.c: (nautilus_service_install_view_initialize),
(nautilus_service_install_installing),
(nautilus_service_install_done),
Improved the updating of nautilus from natilus, by actually
offering to restart nautilus (and doing it if the user wants to)
(nautilus_install_service_locate_menu_entries):
If I can't figure out where the desktop files are, don't print
"blabla is somewhere..."
* nautilus.spec.in:
Added usermode >= 1.35 for nautilus-trilobite
* po/da.po:
* po/no.po:
Removed the fatal Control*t translation.
* src/file-manager/fm-directory-view.c:
(reset_bonobo_trash_delete_menu):
Added a comment for the translation teams to not translate
Control*t at this point.
* src/nautilus-shell.c: (save_window_states):
When saving windowstates, replace any window->location that starts
with eazel-install: with eazel:, thereby preventing loops when
eazel-install: views restart nautilus.
2000-11-01 Andy Hertzfeld <andy@eazel.com>
* src/nautilus-first-time-druid.c: (initiate_file_download):
fixed bug 1826 by pointing the update download uri to it's
real location at services.eazel.com.
* src/nautilus-window-manage-views.c: (just_one_window),
(nautilus_window_end_location_change_callback):
fixed bug 4351, nautilus quits after running the first time
druid if services are inaccessible. Fixed by making it
not quit if there's a single window that fails, going to
the home directory (if it's valid) instead.
* icons/loading.png:
a better version of the non-anti-aliased loading icon from Susan.
2000-11-01 Robey Pointer <robey@eazel.com>
* components/services/summary/nautilus-view/nautilus-summary-view.c
: (set_dialog_parent):
Fix corner case where dialog won't be parented if services are
down.
2000-11-01 Darin Adler <darin@eazel.com>
* src/nautilus-window-service-ui.c: (goto_services_support):
Remove FIXME for already-fixed bug.
* src/run-nautilus: Add Debian-specific hack requested in
bug report (bug 4353).
2000-11-01 Maciej Stachowiak <mjs@eazel.com>
* libnautilus-extensions/nautilus-mime-actions.h,
libnautilus-extensions/nautilus-mime-actions.c:
(nautilus_mime_actions_file_needs_full_file_attributes,
server_has_content_requirements,
server_matches_content_requirements): New functions.
(nautilus_mime_get_all_components_for_file) Updated.
* src/nautilus-applicable-views.h,
src/nautilus-applicable-views.c: (got_file_info_callback_common,
(got_full_file_info_callback, got_minimum_file_info_callback,
nautilus_navigation_info_new, nautilus_navigation_info_cancel):
Changed to possibly handle calling the callback twice so we can
avoid having to load twice before showing a component at all.
* src/nautilus-window-manage-views.c
(nautilus_window_end_location_change_callback): If being called a
preliminary time, ignore it for now.
2000-11-01 Robey Pointer <robey@eazel.com>
* components/services/install/lib/eazel-install-metadata.c:
* components/services/install/nautilus-view/nautilus-service-instal
l-view.c: (nautilus_service_install_view_update_from_uri):
* components/services/login/nautilus-view/nautilus-change-password-
view.c: (start_change_password):
* components/services/trilobite/libtrilobite/libtrilobite.h:
* components/services/trilobite/libtrilobite/trilobite-redirect.c:
* nautilus-installer/src/installer.c:
Fix builtin uri's to point to a sane place by default. Make the
install view use your trilobite gconf config and not a made-up
site (oops). Remove leftover "eazel-auth:" uri. Use good PR2
defaults for the bootstrap installer. Fix missing ellipses that
were bothering Eli.
2000-11-01 Darin Adler <darin@eazel.com>
Fixed bug 4335 (music view does not work with Services:Vault)
* components/music/nautilus-music-view.oafinfo:
Added the requirement that the URL must be file scheme, since
the music view doesn't know how to deal with MP3s that are not
on the local hard disk.
2000-11-01 John Sullivan <sullivan@eazel.com>
Fixed bug 4343 (crash clicking "Back" deep in software catalog)
This was an inaccurate assert. Other similar asserts had been
fixed earlier, but this one and a parallel one in Forward got
overlooked.
* src/nautilus-window-manage-views.c:
(check_bookmark_location_matches_uri): New helper function, uses
uris_match.
(check_last_bookmark_location_matches_window): Now calls the
new function (which was extracted from this)
(handle_go_back),
(handle_go_forward): Use the new function to check that the bookmark
has the right uri, instead of direct string compares.
2000-11-01 Mathieu Lacage <mathieu@eazel.com>
* nautilus.spec.in: adding fdl.
* user-guide/C/Makefile.am: adding installation of fdl
* user-guide/C/fdl.sgml: adding fdl
2000-11-01 Gene Z. Ragan <gzr@eazel.com>
Fixed bug 4337, Title for nautilus user manual is "GNOME Documemtation"
* user-guide/C/sgml/nautilus.sgml:
Added "Nautilus User Manual" as <title> tag.
2000-11-01 Darin Adler <darin@eazel.com>
Fix bug 4305 (Nautilus can't find myplay.com (default bookmark)
URL). As Mike Fleming and Pavel suggested, changed NautilusFile to
keep relative URIs around instead of file names. This may also fix
two other Mozilla-component-related bugs, bug 3438 and 4220. I'll
check that later.
Also fix bugs 4128, 4311, and 4344, which are all about a hash
table NULL critical assertion.
* libnautilus-extensions/nautilus-directory-async.c:
(dequeue_pending_idle_callback): Handle info in the order it gets
queued. That requires a call to g_list_reverse since we add things
with g_list_prepend. Check for NULL to handle case where the info
is not part of a directory load. Use the new
nautilus_directory_find_file_by_name to keep it clearly separate
from code that would find files given relative URIs.
* libnautilus-extensions/nautilus-directory-private.h: RIP
nautilus_compare_file_with_name. We haven't used it since we've
been using a hash table.
* libnautilus-extensions/nautilus-directory.c:
(add_to_hash_table): Put the relative URI in the hash table, not
the name.
(extract_from_hash_table): Look up in the hash table by relative
URI, not name.
(nautilus_directory_add_file), (nautilus_directory_remove_file):
Assertions are based on the relative URI, not the name.
(nautilus_directory_find_file_by_name): Turn the name into a
relative URI and search for that.
(nautilus_directory_find_file_by_relative_uri): Look up in the
hash table by relative URI, not name.
* libnautilus-extensions/nautilus-file-private.h: Replace the name
field with a relative_uri field. There aren't always names for
files.
* libnautilus-extensions/nautilus-file.c:
(nautilus_file_new_from_relative_uri): Mechanical changes to make
it create a file given a directory and relative_uri. Uses the new
update_info_and_name instead of the old nautilus_update_file_info
(which no longer updates names).
(nautilus_file_new_from_info). Use the new update_info_and_name
instead of the old nautilus_update_file_info (which no longer
updates names).
(nautilus_file_get_internal): Call nautilus_uri_make_canonical on
the URI before using it. This is needed now to make the escaping
of characters in the relative URI uniform. Also made mechanical
changes to deal with relative URIs instead of file names.
(destroy): Always free the relative URI. We no longer share the
name inside the file info, so the logic is now simpler.
(nautilus_file_get_gnome_vfs_uri): Append the relative URI instead
of appending a file name to make the full URI.
(rename_callback): Use the new update_info_and_name instead of the
old nautilus_update_file_info (which no longer updates
names). Also call nautilus_find_file_by_name under its new name.
(name_is): New helper function for checking the file name quickly
without requiring a local variable.
(nautilus_file_rename): Use name_is instead of strcmp since the
name is no longer so readily available.
(update_info_internal): Moved the guts of nautilus_file_update_info
in here and made the name-updating part optional. Logic is a bit
simpler since we don't share the name in the file info any more.
(update_info_and_name), (nautilus_file_update_info): Covers that
call the internal call with the "update_name" flag set.
(nautilus_file_update_name): Use name_is and update_info_and_name.
Also fix the info == NULL case to handle relative URIs, not names.
(nautilus_file_compare_for_sort): Add a FIXME about using the name
in the info when sorting. Also change the info == NULL case to get
the names with nautilus_file_get_name.
(nautilus_file_compare_name): Use nautilus_file_get_name to get
the names to compare.
(nautilus_file_get_metadata), (nautilus_file_get_metadata_list),
(nautilus_file_set_metadata), (nautilus_file_set_metadata_list),
(nautilus_file_get_boolean_metadata),
(nautilus_file_get_integer_metadata),
(nautilus_file_set_boolean_metadata),
(nautilus_file_set_integer_metadata): Store metadata using the
relative URI as the key instead of the name. This amounts to a
minor metadata file format change.
(nautilus_file_get_name): Create the name by unescaping the
relative URI. If this fails, just return the relative URI
itself. In some cases the URI instead of the name would represent
a terrible error (but the unescaping will not fail in those
cases), but in other cases we just need some kind of name.
(nautilus_file_get_uri): Some broken code in here was just
appending the name to the parent URI. Now it appends the relative
URI so it's no longer broken.
(get_description): Use the relative URI instead of the name in the
warning message.
(nautilus_file_mark_gone): Since we always keep the relative URI
around now, can get rid of the logic that copies the name out of
the file info for this case.
(nautilus_file_dump): Since we already dump the URI, don't bother
dumping the name any more.
2000-11-01 Ramiro Estrugo <ramiro@eazel.com>
* libnautilus-extensions/nautilus-image.c: (render_buffer_pixbuf):
Change '=+' to the more common '+=' when adding integers.
2000-11-01 John Fleck <jfleck@inkstain.net>
* change to sect-elements.c in gnome-db2html2 to change display of
<note> elements
2000-11-01 Ramiro Estrugo <ramiro@eazel.com>
* libnautilus-extensions/nautilus-global-preferences.c:
(global_preferences_register):
Make smooth graphics mode be false by default as agreed for pr2.
2000-11-01 Ramiro Estrugo <ramiro@eazel.com>
* applets/launcher/nautilus-launcher-applet.c: (image_enter_event),
(window_set_cursor_for_state), (set_is_launching),
(get_is_launching), (image_button_press_event),
(image_button_release_event), (event_filter),
(root_listen_for_property_changes), (main):
Keep track of NautilusWindow realization events. Do this by
monitoring a property on the root window. Use this flag in order
to give the user feedback about the launching state of new
Nautilus windows. Fixes bug 4300.
* src/nautilus-window.c: (nautilus_window_update_launcher),
(nautilus_window_realize):
Notify the launcher when a NautilusWindow get realized.
* src/run-nautilus:
If no arguments are given, then open a window pointed to the
user's home directory.
2000-11-01 Pavel Cisler <pavel@eazel.com>
* libnautilus-extensions/nautilus-file-utilities.c:
(nautilus_make_uri_canonical),
(nautilus_self_check_file_utilities):
Hook up new GnomeVFS "make canonical" calls to fix test cases
Darin needed to work for the bug he is fixing.
Switched the test cases to their intended values, now that they pass.
Get rid of some crufty workarounds that weren't really needed
after my previous fix to not add extra '//' to some URIs and
removed the respective tests.
2000-11-01 Mathieu Lacage <mathieu@eazel.com>
This is completely useless but I needed a break from "usefull"
bugs.
* applets/launcher/nautilus-launcher-applet.c: (image_leave_event),
(image_button_press_event), (image_button_release_event), (main):
Add an event handler for release event to make sure we launch
nautilus only if you release the cursor without leaving the icon.
Add an offset when you click to give the user feedback about what
he is doing.
* libnautilus-extensions/nautilus-image.c: (render_buffer_pixbuf):
Fix offset problem when drawing image: the offset was not taken
into account in the calculation of the x and y coordinates.
2000-10-31 Robey Pointer <robey@eazel.com>
* nautilus-installer/src/Makefile:
* nautilus-installer/src/main.c: (main):
* nautilus-installer/src/proxy.c: (load_nscp_proxy_settings),
(load_galeon_proxy_settings):
* src/nautilus-first-time-druid.c: (load_nscp_proxy_settings),
(load_galeon_proxy_settings), (attempt_http_proxy_autoconfigure):
Fix installer version to follow the Makefile define. Fix evil bug
in detecting proxy servers that was freeing g_get_home_dir
results. Fixed it again in the first-time druid, and added Galeon
support there.
2000-10-31 Robey Pointer <robey@eazel.com>
* nautilus-installer/src/Makefile:
* src/nautilus-window-service-ui.c: (goto_services_support):
Fix bootstrap installer for new Makefile config and fix typo in
dropdown menus.
2000-10-31 Ramiro Estrugo <ramiro@eazel.com>
* applets/launcher/Makefile.am:
Add missing includes.
2000-10-31 Ramiro Estrugo <ramiro@eazel.com>
* Makefile.am:
Add applets to SUBDIRS if needed.
* applets/Makefile.am:
Tiny bit of cleanup.
* configure.in:
Define HAVE_APPLETS only if the applets devel libs are found by
gnome-config.
2000-10-31 Ramiro Estrugo <ramiro@eazel.com>
* components/mozilla/nautilus-mozilla-content-view.c:
(nautilus_mozilla_content_view_load_uri),
(mozilla_content_view_one_time_happenings):
Remove a rogue printf. Also fix a broken debug printf.
2000-10-31 Andy Hertzfeld <andy@eazel.com>
* icons/Makefile.am:
* icons/loading.png:
* icons/loading-aa.png:
* libnautilus-extensions/nautilus-icon-factory.c:
(nautilus_icon_factory_get_icon_for_file):
added a new "loading thumbnail" icon from Susan
* src/nautilus-property-browser.c:
(nautilus_property_browser_delete_event_callback),
(cancel_remove_mode), (add_new_button_callback),
(done_button_callback):
made the property browser reset remove mode when it's dismissed
2000-10-31 Mathieu Lacage <mathieu@eazel.com>
* nautilus.spec.in: add gnorba file in specfile.
2000-10-31 Mathieu Lacage <mathieu@eazel.com>
* applets/launcher/Makefile.am: add .gnorba file.
* applets/launcher/nautilus-launcher-applet.c: (main): fix typo.
* applets/launcher/nautilus-launcher-applet.gnorba: new gnorba file.
2000-10-31 Ramiro Estrugo <ramiro@eazel.com>
* applets/launcher/.cvsignore:
Use the right binary name.
2000-10-31 Robey Pointer <robey@eazel.com>
* components/services/install/nautilus-view/nautilus-service-instal
l-view.c: (nautilus_install_parse_uri),
(nautilus_service_install_view_update_from_uri):
Support [ username "@" ] in the eazel-install: URI so that a
username can be specified (like anonymous) to libeazelinstall.
* components/services/trilobite/libtrilobite/trilobite-core-utils.c
: (trilobite_init):
Don't free the result of g_get_home_dir(), because it unleashes
1000 demons.
* nautilus-installer/src/installer.c: (create_what_to_do_page),
(eazel_installer_add_category):
Change the "what to install" header for the single-category case.
2000-10-31 Darin Adler <darin@eazel.com>
* libnautilus-extensions/nautilus-file-utilities.c:
(nautilus_self_check_file_utilities): Add the new self-checks that
will help Pavel see the minimum I need in a URI canonifying
function.
2000-10-31 Maciej Stachowiak <mjs@eazel.com>
* libnautilus-extensions/nautilus-mime-actions.c:
(nautilus_mime_actions_check_if_minimum_attributes_ready),
(nautilus_mime_actions_check_if_full_attributes_ready),
(nautilus_mime_actions_get_minimum_file_attributes),
(nautilus_mime_actions_get_full_file_attributes),
(nautilus_mime_actions_wait_for_full_file_attributes),
(nautilus_mime_get_default_action_type_for_file),
(nautilus_mime_get_default_action_for_file),
(nautilus_mime_get_default_application_for_file_internal),
(nautilus_mime_get_default_application_for_file),
(nautilus_mime_is_default_application_for_file_user_chosen),
(nautilus_mime_get_default_component_sort_conditions),
(nautilus_mime_get_default_component_for_file_internal),
(nautilus_mime_get_short_list_applications_for_file),
(nautilus_mime_get_short_list_components_for_file),
(nautilus_mime_get_short_list_methods_for_file),
(nautilus_mime_get_all_applications_for_file),
(nautilus_mime_get_all_components_for_file),
(nautilus_mime_set_default_application_for_file),
(nautilus_mime_set_default_component_for_file),
(nautilus_mime_set_short_list_applications_for_file),
(nautilus_mime_set_short_list_components_for_file),
(nautilus_mime_add_application_to_short_list_for_file),
(nautilus_mime_remove_application_from_short_list_for_file),
(nautilus_mime_add_component_to_short_list_for_file),
(nautilus_mime_remove_component_from_short_list_for_file),
(nautilus_mime_extend_all_applications_for_file),
(nautilus_mime_remove_from_all_applications_for_file),
(nautilus_do_component_query):
* libnautilus-extensions/nautilus-mime-actions.h:
* libnautilus-extensions/nautilus-program-chooser.c:
(repopulate_program_list), (is_component_default_for_file),
(program_file_pair_is_default_for_file),
(program_file_pair_is_in_short_list_for_file),
(add_to_short_list_for_file), (remove_from_short_list_for_file),
(remove_default_for_item), (set_default_for_item):
* libnautilus-extensions/nautilus-program-choosing.c:
(any_programs_available_for_file):
* libnautilus/nautilus-clipboard-ui.xml.h:
* src/file-manager/fm-directory-view.c: (switch_location_and_view),
(create_open_with_gtk_menu), (reset_bonobo_open_with_menu),
(activate_callback):
* src/file-manager/nautilus-directory-view-ui.xml.h:
* src/file-manager/nautilus-icon-view-ui.xml.h:
* src/file-manager/nautilus-search-list-view-ui.xml.h:
* src/nautilus-applicable-views.c: (nautilus_navigation_info_new):
* src/nautilus-shell-ui.xml.h:
* src/nautilus-sidebar.c: (nautilus_sidebar_update_all),
(nautilus_sidebar_set_uri):
* src/nautilus-window.c: (nautilus_window_load_content_view_menu):
* test/test-nautilus-mime-actions-set.c: (main):
* test/test-nautilus-mime-actions.c: (main): Un-revert my changes
from before, fixing the bugs in the process.
2000-10-31 Ramiro Estrugo <ramiro@eazel.com>
* applets/launcher/Makefile.am:
* applets/launcher/nautilus-icon-applet.c:
* applets/launcher/nautilus-launcher-applet.c: (create_pixbufs),
(applet_change_pixel_size), (image_enter_event),
(image_leave_event), (get_root_window), (root_window_set_busy),
(root_window_set_not_busy), (image_button_press_event), (main):
* nautilus.spec.in:
Rename the launcher applet from 'nautilus-icon-applet' to
'nautilus-launcher-applet'.
2000-10-31 Eskil Heyn Olsen <eskil@eazel.com>
* components/services/install/lib/eazel-install-protocols.c:
(get_eazel_auth_path):
Doh, copied the wrong variable.
2000-10-31 Ramiro Estrugo <ramiro@eazel.com>
* applets/launcher/Makefile.am:
* applets/launcher/nautilus-icon-applet.c: (get_root_window),
(root_window_set_busy), (root_window_set_not_busy),
(image_button_press_event), (main):
Add code to execute nautilus. Add first try at adding busy
feedback while launching.
2000-10-31 Mathieu Lacage <mathieu@eazel.com>
fix bug 4015.
* libnautilus-extensions/nautilus-global-preferences.c:
add correct default here.
* src/nautilus-window.c: (nautilus_window_go_web_search):
remove bad default here. ramiro has a bug to do the correct
fix post-pr2.
2000-10-31 Ramiro Estrugo <ramiro@eazel.com>
* src/run-nautilus:
Remove a bunch of debug echo statements i left in by mistake.
2000-10-31 Eskil Heyn Olsen <eskil@eazel.com>
* components/services/install/lib/eazel-install-public.h:
* components/services/install/lib/eazel-install-types.h:
* components/services/install/lib/eazel-install-protocols.c:
(eazel_install_fetch_package), (get_eazel_auth_path),
(get_search_url_for_package):
* components/services/install/lib/eazel-install-metadata.c:
(init_default_transfer_configuration), (transferoptions_destroy):
* components/services/install/lib/eazel-install-object.c:
(eazel_install_initialize):
* components/services/install/command-line/eazel-alt-install-corba.
c: (set_parameters_from_command_line):
* components/services/install/idl/trilobite-eazel-install.idl:
* components/services/install/lib/eazel-install-corba.c:
(impl_Eazel_Install__set_username),
(impl_Eazel_Install__get_username), (eazel_install_get_epv):
Stuff to get/set a username for eazel-service:/ uris. Needed for
4004 (The Bug Noone Knew What To Do With And Everyone Ignore)
* components/services/install/lib/eazel-install-logic.c:
(eazel_install_download_packages),
If a package fails, don't silently remove it, but set CANNOT_OPEN
and prune it.
(eazel_install_do_transaction_save_report),
If no transaction dir is set, dont' try and store the report
(eazel_install_check_existing_packages):
Doh! All packages apparently ended at DOWNGRADES, yech.
* components/services/install/lib/eazel-install-problem.c:
(get_detailed_messages_foreach):
Sane message if file could not be found on server
2000-10-31 Maciej Stachowiak <mjs@eazel.com>
* src/nautilus-window-manage-views.c
(nautilus_window_set_sidebar_panels): Call `update_view' on new
sidebar panels that get activated, so they find out about the
location and selection.
2000-10-31 Ramiro Estrugo <ramiro@eazel.com>
* applets/Makefile.am:
* applets/launcher/Makefile.am:
* applets/launcher/nautilus-icon-applet.c: (create_pixbufs),
(image_enter_event), (image_leave_event), (main):
Make the applet use the nautilus launcher icon and prelight.
2000-10-31 Pavel Cisler <pavel@eazel.com>
* libnautilus-extensions/nautilus-file-operations.c:
(handle_xfer_vfs_error):
Fix 4227 - Trying to copy an unreadable file gives a bogus
error message.
Added code that distinguishes between the read and write phases
of a copy.
2000-10-31 John Sullivan <sullivan@eazel.com>
Fixed bug 4334 (changing layout separataes icon from name)
Fixed bug 4332 (Right-click after New Folder separates icon from name)
* libnautilus-extensions/nautilus-icon-container.c:
(icon_set_position): end renaming mode before changing position
of icon being renamed.
(button_press_event): end renaming mode on any background
context click.
2000-10-31 Robey Pointer <robey@eazel.com>
* components/services/install/lib/eazel-install-protocols.c:
(eazel_install_fetch_package):
* nautilus-installer/src/installer.c: (eazel_install_dep_check),
(install_done):
* nautilus-installer/src/installer.h:
Don't blame RPM if the real error is that services is down.
2000-10-31 Mathieu Lacage <mathieu@eazel.com>
* nautilus.spec.in: add applet to the spec file.
* user-guide/C/sgml/chapter-1.sgml:
* user-guide/C/sgml/chapter-2.sgml:
* user-guide/C/sgml/chapter-3.sgml:
* user-guide/C/sgml/nautilus.sgml:
update the sgml files.
2000-10-31 Robin * Slomkowski <rslomkow@eazel.com>
* src/nautilus-window.c: set the url to fix 4015
but it does not Nautilus attempts to connect to the
wrong URL. http://www.eazel.com/websearch instead of
http://services.eazel.com/websearch
2000-10-31 Mathieu Lacage <mathieu@eazel.com>
add new directories.
* applets/.cvsignore:
* applets/launcher/.cvsignore:
* applets/Makefile.am:
* applets/launcher/Makefile.am:
stupid applet which is used during installation
to display a nautilus icon on the user's panel.
* applets/launcher/nautilus-icon-applet.c:
(applet_change_pixel_size), (main):
add checks for the libapplet library.
* configure.in:
2000-10-31 Ramiro Estrugo <ramiro@eazel.com>
* configure.in:
Fix bug 3729. Bump the version number to 0.5.0.
2000-10-31 Ali Abdin <aliabdin@aucegypt.edu>
* components/help/converters/gnome-db2html2/gdb3html.c:
(parse_file): Try to correct a problem jfleck was having.
* libnautilus-extensions/nautilus-file-utilities.c:
(nautilus_uri_is_local_scheme): Add 'gnome-help' to the list
2000-10-31 Darin Adler <darin@eazel.com>
* nautilus.spec.in: Removed vendor again. Putting these in cvs
is a bad idea. For more details see bug 3461.
2000-10-31 Darin Adler <darin@eazel.com>
* nautilus.spec.in: Add vendor.
2000-10-31 Darin Adler <darin@eazel.com>
Fixed bug 4242 (Tree view crash trying to navigate to parent uri
(Up)) and bug 4297 (Opening a window twice causes Nautilus to
crash).
* components/tree/nautilus-tree-model.c:
(nautilus_tree_model_destroy): Disconnect the root_node_changed
signal.
2000-10-31 J Shane Culpepper <pepper@eazel.com>
* components/services/login/nautilus-view/nautilus-change-password-
view.c: (generate_change_password_form):
Fixing buttons in the change password view to not use nautilus_label
and pointing to the right help place.
2000-10-31 Brian Frank <bfrank@eazel.com>
* data/static_bookmarks.xml
Fixed capitalization problem of VMware name in bookmark list
2000-10-31 Mathieu Lacage <mathieu@eazel.com>
* configure.in: fix some configure magic for libfreetype2.
2000-10-31 Andy Hertzfeld <andy@eazel.com>
* src/nautilus-first-time-druid.c: (druid_finished):
changed the services uris that are hard-coded into the wizard to
ones specified by Laura; they are not in place yet but she
assures me that they will be soon.
2000-10-31 Darin Adler <darin@eazel.com>
Fixed bug 4144 (Extra Services menu items installed by Summary
view never go away). The problem was actually with the factory
code from the sample. I had fixed it a while back, but not before
people cloned the broken sample code.
* components/adapter/nautilus-adapter-factory-server.c:
(impl_Nautilus_ComponentAdapterFactory_create_adapter):
* components/hardware/main.c: (hardware_view_make_object):
* components/music/main.c: (music_view_make_object):
* components/rpmview/main.c: (rpm_view_make_object):
* components/services/install/nautilus-view/main.c:
(service_install_make_object):
* components/services/inventory/nautilus-view/main.c:
(inventory_make_object):
* components/services/login/nautilus-view/main.c:
(change_password_make_object):
* components/services/summary/nautilus-view/main.c:
(summary_make_object):
* components/tree/libmain.c: (tree_shlib_make_object):
* components/tree/main.c: (tree_exe_make_object):
Connect the destroy handler to the NautilusView object rather than
to the widget. If you connect to the widget, the handler gets
called too early and the control doesn't get properly destroyed,
leaving the UI component behind, and causing the bug.
* components/adapter/main.c: (adapter_factory_make_object): Got
rid of incorrect comment.
2000-10-31 J Shane Culpepper <pepper@eazel.com>
Fixing one more.
2000-10-31 J Shane Culpepper <pepper@eazel.com>
* libnautilus-extensions/nautilus-mime-actions.h:
* src/nautilus-applicable-views.c:
(nautilus_navigation_info_get_location),
(nautilus_navigation_info_get_initial_content_id):
missed a file
2000-10-31 J Shane Culpepper <pepper@eazel.com>
* libnautilus-extensions/nautilus-mime-actions.c:
(nautilus_mime_actions_check_if_required_attributes_ready),
(nautilus_mime_actions_get_required_file_attributes),
(nautilus_mime_actions_wait_for_required_file_attributes),
(nautilus_mime_get_default_action_type_for_file),
(nautilus_mime_get_default_action_for_file),
(nautilus_mime_get_default_application_for_file_internal),
(nautilus_mime_get_default_application_for_file),
(nautilus_mime_is_default_application_for_file_user_chosen),
(nautilus_mime_get_default_component_for_file_internal),
(nautilus_mime_get_short_list_applications_for_file),
(nautilus_mime_get_short_list_components_for_file),
(nautilus_mime_get_short_list_methods_for_file),
(nautilus_mime_get_all_applications_for_file),
(nautilus_mime_get_all_components_for_file),
(nautilus_mime_set_default_application_for_file),
(nautilus_mime_set_default_component_for_file),
(nautilus_mime_set_short_list_applications_for_file),
(nautilus_mime_set_short_list_components_for_file),
(nautilus_mime_add_application_to_short_list_for_file),
(nautilus_mime_remove_application_from_short_list_for_file),
(nautilus_mime_add_component_to_short_list_for_file),
(nautilus_mime_remove_component_from_short_list_for_file),
(nautilus_mime_extend_all_applications_for_file),
(nautilus_mime_remove_from_all_applications_for_file),
(nautilus_do_component_query):
* libnautilus-extensions/nautilus-program-chooser.c:
(repopulate_program_list), (is_component_default_for_file),
(program_file_pair_is_default_for_file),
(program_file_pair_is_in_short_list_for_file),
(add_to_short_list_for_file), (remove_from_short_list_for_file),
(remove_default_for_item), (set_default_for_item):
* libnautilus-extensions/nautilus-program-choosing.c:
(any_programs_available_for_file):
* src/file-manager/fm-directory-view.c: (switch_location_and_view),
(create_open_with_gtk_menu), (reset_bonobo_open_with_menu),
(activate_callback):
* src/nautilus-window.c: (nautilus_window_load_content_view_menu):
* test/test-nautilus-mime-actions-set.c: (main):
* test/test-nautilus-mime-actions.c: (main):
backing out changes that caused a serious regression in services.
2000-10-31 Eskil Heyn Olsen <eskil@eazel.com>
* components/rpmview/nautilus-rpm-view-install.c:
(nautilus_rpm_view_install_package_callback):
Hopefully fixed the completely fatal tmp_dir bug in the
package view.
* components/services/install/lib/eazel-install-logic.c:
(eazel_install_pre_install_packages):
Ifdeffed some borked code
* components/services/install/lib/eazel-install-problem.c:
(get_detailed_messages_foreach):
If no messages generated on modification status. Potientially
completely incorrect unless I check prev_pack->status first.
* components/services/install/nautilus-view/nautilus-service-instal
l-view.c: (dig_up_errors), (nautilus_service_install_failed):
Use eazel-install-problem to generate error messages
* nautilus.spec.in:
Woops, eazel/throbber is not there..
2000-10-30 Eskil Heyn Olsen <eskil@eazel.com>
* nautilus.spec.in:
Added some of the themes stuff to %files.
2000-10-30 Andy Hertzfeld <andy@eazel.com>
made thumbnailing work remotely for all images, by treating
small remote files like large ones and keeping a local thumbnail
for them.
* libnautilus-extensions/nautilus-icon-factory-private.h:
moved SELF_THUMBNAIL_SIZE_THRESHOLD constant into private,
so it could be shared with nautilus-thumbnails.
* libnautilus-extensions/nautilus-icon-factory.c:
(nautilus_icon_factory_get_icon_for_file):
if a file is remote, make a thumbnail even if it's smaller
than the size threshold.
* libnautilus-extensions/nautilus-thumbnails.c: (make_thumbnails):
don't use a frame for files smaller than the size threshold.
2000-10-30 Robey Pointer <robey@eazel.com>
* components/services/install/lib/eazel-install-logic.c:
(dump_one_package):
* components/services/install/lib/eazel-install-types.c:
(packagedata_copy):
Show provides-list when dumping packages for debug. Copy
provides-list when doing a deep copy of the package data.
* components/services/install/lib/eazel-install-xml-package-list.c:
(parse_category):
Clean up leading/trailing linefeeds on category descriptions.
* components/services/install/server/main.c: (main):
* components/services/trilobite/libtrilobite/trilobite-core-utils.c
: (trilobite_add_log), (trilobite_init),
(trilobite_set_debug_mode):
* components/services/trilobite/libtrilobite/trilobite-core-utils.h
:
Use ~/.nautilus/trilobite-install.log for logging install debug
messages, and not a file in /tmp. Timestamp those logs.
* nautilus-installer/src/installer.c: (create_install_page),
(eazel_download_progress), (get_required_name),
(get_detailed_errors_foreach), (install_done),
(eazel_installer_add_category), (find_old_tmpdir),
(eazel_installer_initialize):
Make category list display slightly differently when there's only
one category (which is how PR2 will be): avoid showing the
checkbox, etc. If there's a suitable /tmp directory leftover from
a previous install attempt, reuse it instead of creating a new
one.
* nautilus-installer/src/link.sh:
Fix missing quotes in XFree checking.
2000-10-30 Eskil Heyn Olsen <eskil@eazel.com>
* nautilus-installer/src/Makefile:
* nautilus-installer/src/link.sh:
link.sh does vague attempt at checking XFree version. Partial fix
for 4159.
2000-10-30 Maciej Stachowiak <mjs@eazel.com>
* libnautilus-extensions/nautilus-mime-actions.c:
(nautilus_mime_actions_check_if_minimum_attributes_ready),
(nautilus_mime_actions_check_if_full_attributes_ready),
(nautilus_mime_actions_get_minimum_file_attributes),
(nautilus_mime_actions_get_full_file_attributes),
(nautilus_mime_actions_wait_for_full_file_attributes),
(nautilus_mime_get_default_action_type_for_file),
(nautilus_mime_get_default_action_for_file),
(nautilus_mime_get_default_application_for_file_internal),
(nautilus_mime_get_default_application_for_file),
(nautilus_mime_is_default_application_for_file_user_chosen),
(nautilus_mime_get_default_component_sort_conditions),
(nautilus_mime_get_default_component_for_file_internal),
(nautilus_mime_get_short_list_applications_for_file),
(nautilus_mime_get_short_list_components_for_file),
(nautilus_mime_get_short_list_methods_for_file),
(nautilus_mime_get_all_applications_for_file),
(nautilus_mime_get_all_components_for_file),
(nautilus_mime_set_default_application_for_file),
(nautilus_mime_set_default_component_for_file),
(nautilus_mime_set_short_list_applications_for_file),
(nautilus_mime_set_short_list_components_for_file),
(nautilus_mime_add_application_to_short_list_for_file),
(nautilus_mime_remove_application_from_short_list_for_file),
(nautilus_mime_add_component_to_short_list_for_file),
(nautilus_mime_remove_component_from_short_list_for_file),
(nautilus_mime_extend_all_applications_for_file),
(nautilus_mime_remove_from_all_applications_for_file),
(nautilus_do_component_query):
* libnautilus-extensions/nautilus-mime-actions.h:
* libnautilus-extensions/nautilus-program-chooser.c:
(repopulate_program_list), (is_component_default_for_file),
(program_file_pair_is_default_for_file),
(program_file_pair_is_in_short_list_for_file),
(add_to_short_list_for_file), (remove_from_short_list_for_file),
(remove_default_for_item), (set_default_for_item):
* libnautilus-extensions/nautilus-program-choosing.c:
(any_programs_available_for_file):
* src/file-manager/fm-directory-view.c: (switch_location_and_view),
(create_open_with_gtk_menu), (reset_bonobo_open_with_menu),
(activate_callback):
* src/nautilus-applicable-views.c: (nautilus_navigation_info_new):
* src/nautilus-sidebar.c: (nautilus_sidebar_update_all),
(nautilus_sidebar_set_uri):
* src/nautilus-window.c: (nautilus_window_load_content_view_menu):
* test/test-nautilus-mime-actions-set.c: (main):
* test/test-nautilus-mime-actions.c: (main): Portions of the fix
for 2379 (the parts that don't make it crash).
2000-10-30 Ramiro Estrugo <ramiro@eazel.com>
* components/services/nautilus-dependent-shared/eazel-services-extensions.h:
* components/services/nautilus-dependent-shared/eazel-services-header.c:
(eazel_services_header_middle_new):
Separate the left and right text offsets. Tweak them some more.
2000-10-30 Ramiro Estrugo <ramiro@eazel.com>
* nautilus-clean.sh:
Add trilobite-eazel-install-service to list of processes to kill.
Also alphabetize the list.
2000-10-30 Andy Hertzfeld <andy@eazel.com>
* libnautilus-extensions/nautilus-thumbnails.c:
(make_thumbnail_path):
fixed bug 4190, problem thumbnailing icons in vault, by adding
a test to make sure it tries to keep the thumbnails for remote
files locally.
2000-10-30 Ramiro Estrugo <ramiro@eazel.com>
* icons/nautilus-launch-icon.png:
* nautilus.png:
I removed these from Makefiles, but forgot to take them out of
CVS.
2000-10-30 Eskil Heyn Olsen <eskil@eazel.com>
* components/services/install/command-line/eazel-alt-install-corba.
c: (done), (main):
Fixed 4203
* components/services/install/lib/eazel-install-corba-types.c:
(corba_string_sequence_to_glist),
(corba_packagedatastruct_from_packagedata):
Changed because I added debug and removed it again...
* components/services/install/lib/eazel-install-logic.c:
(eazel_install_pre_install_packages),
(eazel_install_download_packages),
(eazel_install_check_existing_packages),
(eazel_install_fetch_dependencies):
Made a set of enums for check_for_existing_packages since it no
longer really acts as a *cmp function (has four result values
rather then 3)
* components/services/install/lib/eazel-install-logic.h:
Also renamed the status enum for the main functions
* components/services/install/lib/eazel-install-object.c:
(eazel_install_install_packages),
(eazel_install_uninstall_packages),
(eazel_install_revert_transaction_from_xmlstring):
Also renamed the status enum for the main functions (in
logic.[ch])
* components/services/install/lib/eazel-install-problem.c:
(get_detailed_messages_foreach),
(eazel_install_problem_case_to_string),
Moved get_required_name into -types.c (as
packagedata_get_readable_name), so everyone gets the benefit of
it.
(eazel_install_problem_handle_cases):
Now also sets the downgrade flag in handle cases.
* components/services/install/lib/eazel-install-rpm-glue.c:
(eazel_install_rpm_set_settings),
No longer always set rpm debub
(eazel_install_start_transaction_make_rpm_argument_list):
Don't set --oldpackage on -e.
* components/services/install/lib/eazel-install-types.h:
* components/services/install/lib/eazel-install-types.c:
(packagedata_get_readable_name):
Moved here from -problem.c(get_required_name)
* components/services/install/lib/eazel-install-xml-package-list.c:
(parse_package), (eazel_install_packagedata_to_xml):
Now also put provides into xml. This was needed for the menu path
info fix that Bart asked for. Unfortunately this means huge
transaction files, need to put in a boolean or such.
* components/services/install/nautilus-view/nautilus-service-instal
l-view.h:
Added list containing all .*\.desktop$ or .*\.kdelnk$ files that
where installed.
* components/services/install/nautilus-view/nautilus-service-instal
l-view.c: (nautilus_service_install_dependency_check),
Print nicer dep check strings (using packagedata_get_readable_name)
(nautilus_service_install_check_for_desktop_files),
In preflight, find any .*\.desktop$ or .*\.kdelnk$ files.
(nautilus_service_install_preflight_check),
call check_for_desktop_files only on toplevel packages
(nautilus_service_install_installing),
Moved the dialog box for nautilus updates down to done.
(nautilus_install_service_locate_menu_entries),
Locates where the menu entries went
(nautilus_service_install_done):
Pop up the dialog if nautilus was updated, also generate message
reg. where menu entries went. Fixes 3431
* nautilus-installer/src/installer.c: (jump_to_retry_page),
(get_detailed_errors_foreach), (eazel_install_dep_check):
Used packagedata_get_readable_name instead of get_requried_name.
2000-10-30 Ramiro Estrugo <ramiro@eazel.com>
* components/mozilla/mozilla-preferences.cpp:
* components/mozilla/mozilla-preferences.h:
* components/mozilla/nautilus-mozilla-content-view.c:
(nautilus_mozilla_content_view_initialize),
(nautilus_mozilla_content_view_destroy),
(eazel_services_scheme_translate),
(test_make_full_uri_from_relative),
(mozilla_content_view_one_time_happenings):
Fix bug 4112 - Mozilla component does not listen for proxy
configuration changes.
Move all the gconf and proxy related things to
mozilla-preferences.cpp, makes the main view implementation a
little less convoluted.
Add gconf notifications for changes in the proxy and route these
changes to the mozilla universe.
Also some minor style changes.
2000-10-30 Darin Adler <darin@eazel.com>
Fix bug 4202 (rename a file to an existing file will crash
Nautilus).
* libnautilus-extensions/nautilus-file.c: (rename_callback): Mark
the overwritten file as "gone" if we succeed in renaming to an
existing file's name. Either the module overwrote the file or the
file was deleted "under Nautilus's nose" -- in either case it is
gone.
(nautilus_file_update_name): Fix comment.
2000-10-30 Andy Hertzfeld <andy@eazel.com>
* src/nautilus-sidebar-title.c: (update_icon):
added "eazel-services:" and "man:" to the schemes with custom
sidebar icons via the recently implemented hack (which will be
replaced by a real framework after PR2).
* icons/Makefile.am:
* icons/manual.png:
added icon for man: scheme
2000-10-30 Andy Hertzfeld <andy@eazel.com>
cleaned up the sidebar for the summary view by putting in a
temporary hack to get the right icon and giving the view
a shorter title.
* components/services/summary/nautilus-view/nautilus-summary-view.c
: (summary_load_location_callback):
changed the summary view's title to "Eazel Services" so it fits
better in the sidebar.
* src/nautilus-sidebar-title.c: (update_icon):
added a hack to special-case the "eazel:" uri to get the appropriate
icon; we'll remove this after PR2 and replace it with a real
framework.
2000-10-30 Darin Adler <darin@eazel.com>
* icons/Makefile.am: Removed gnome-core.png again.
2000-10-30 Josh Barrow <josh@eazel.com
* icons/gnome-core.png:
Removed
* icons/i-core.png:
Made this be the old gnome-core icon, per Arlo's suggestion.
2000-10-30 Gene Z. Ragan <gzr@eazel.com>
Fixed bug 4166, "New Folder" offset problem.
Also reverted Enter to activate selected items instead of
entering renaming mode.
* libnautilus-extensions/nautilus-icon-container.c:
(relayout):
Call nautilus_icon_container_update_scroll_region before
processing pending reveal and rename actions.
(key_press_event):
Enter keypress activates selected items
2000-10-30 Robey Pointer <robey@eazel.com>
* nautilus-installer/src/proxy.c: (load_nscp_proxy_settings),
(load_galeon_proxy_settings), (attempt_http_proxy_autoconfigure):
Try to find proxy settings via Galeon too.
2000-10-30 J Shane Culpepper <pepper@eazel.com>
* components/services/summary/nautilus-view/nautilus-summary-view.c
: (generate_summary_form):
Fixing the box packing on the news widget. Still not optimal but
looks a little better than it did. Will continue tweaking it until
it is acceptable.
2000-10-30 Michael Engber <engber@eazel.com>
* libnautilus-extensions/nautilus-gdk-pixbuf-extensions.c:
(file_opened_callback), (file_read_callback), (load_done):
Fixed nautilus_gdk_pixbuf_load_async bug that would cause
it to fail loading xpm files. (bug 4140)
2000-10-30 Rebecca Schulman <rebecka@eazel.com>
Fixed bug 4176, that files remaining to be
copied goes up instead of down. The short
fix for this was just to change the wording to
reflect what was actually being counted.
* libnautilus-extensions/nautilus-file-operations.c:
(progress_dialog_set_files_done_text), (handle_xfer_ok):
changed "Files remaining to be [copied, moved,...]" to
"Files [copied, moved,...]"
2000-10-30 Darin Adler <darin@eazel.com>
Fixed bug 4057 (clicking the back button while opening a huge
directory often crashes).
* libnautilus-extensions/nautilus-icon-container.c:
(nautilus_icon_container_for_each): The function was iterating
some icons twice. All the icons on the new_icons list are also on
the icons list.
(icon_destroy): Also be sure to remove the icon from the new_icons
list if it happens to be destroyed while still on that list.
* configure.in:
* Makefile.shared:
Got rid of the shared part of the code to generate .xml.h
files. It's no longer needed since the po directory takes care of
everything itself.
* components/loser/content/Makefile.am:
* components/loser/sidebar/Makefile.am:
* components/mozilla/Makefile.am:
* components/sample/Makefile.am:
* components/services/summary/nautilus-view/Makefile.am:
* libnautilus/Makefile.am:
* src/Makefile.am:
* src/file-manager/Makefile.am:
Got rid of the per-directory part of the code to generate .xml.h
files.
* components/loser/content/nautilus-content-loser-ui.xml.h:
* components/loser/sidebar/nautilus-sidebar-loser-ui.xml.h:
* components/mozilla/nautilus-mozilla-ui.xml.h:
* components/sample/nautilus-sample-content-view-ui.xml.h:
* components/services/summary/nautilus-view/nautilus-summary-view-ui.xml.h:
* libnautilus/nautilus-clipboard-ui.xml.h:
* src/file-manager/nautilus-directory-view-ui.xml.h:
* src/file-manager/nautilus-icon-view-ui.xml.h:
* src/file-manager/nautilus-search-list-view-ui.xml.h:
* src/nautilus-service-ui.xml.h:
* src/nautilus-shell-ui.xml.h:
Got rid of the checked-in copies of the .xml.h files. The worst
part!
2000-10-30 J Shane Culpepper <pepper@eazel.com>
* components/services/summary/nautilus-view/nautilus-summary-view.c
: (forgot_password_button_cb):
Fixing Bug #4178. The Help button was not working right.
2000-10-29 John Sullivan <sullivan@eazel.com>
* components/services/summary/nautilus-view/nautilus-summary-view.c
: (generate_login_dialog): Change "Please login to eazel services"
to "Please log in to Eazel services", in two places.
2000-10-30 Rebecca Schulman <rebecka@eazel.com>
* components/services/summary/nautilus-view/nautilus-summary-view.c
: (summary_load_location_callback):
Add setting of window and sidebar title to the summary view
to "Eazel Services Summary". I'm not necessarily attached to the wording
but we should definitely make it something other than "eazel".
this fixes a bug I filed, #4183
2000-10-30 Robey Pointer <robey@eazel.com>
* components/services/trilobite/helper/eazel-helper.pam:
Yeah! Found out how to let eazel-helper run even if root has
no password set. Add "nullok" to the pwdb line in the pam
config file.
2000-10-30 Pavel Cisler <pavel@eazel.com>
* libnautilus-extensions/nautilus-file-utilities.c:
(nautilus_make_uri_canonical),
(nautilus_self_check_file_utilities):
nautilus_make_uri_canonical was relying on GnomeVFSURI sort-of
handling relative uris, even though they are illegal in GnomeVFS.
My earlier fix in gnome-vfs "broke" some of this broken behavior.
Added more special-case handling of cryptic absolute to
nautilus_make_uri_canonical to make it behave like before and not
break existing behavior that depends on it. Added some bandaids for
conversions that are clearly wrong but that may need more work
throughout the code that depends on it, for now I'm making it
behave like the old call.
My earlier fix to gnome-vfs fixes 2803. Change the test to reflect
the correct behavior.
2000-10-30 Robey Pointer <robey@eazel.com>
* components/services/trilobite/helper/README:
* components/services/trilobite/helper/eazel-helper.security.in:
Set fallback (in pam and usermode) to false: always needs to run
as root.
2000-10-30 Andy Hertzfeld <andy@eazel.com>
* components/services/summary/nautilus-view/nautilus-summary-view.c
: (generate_eazel_news_entry_row):
disabled the "use all the space" since it causes too much flashing
during size negotiation. I'll either fix the flashing or remove
it from nautilus_label soon.
2000-10-29 Andy Hertzfeld <andy@eazel.com>
* libnautilus-extensions/nautilus-label.c:
(nautilus_label_initialize_class), (nautilus_label_size_allocate),
(get_clipped_width), (label_recompute_line_geometries):
made nautilus_label interpret a wrap width of -1 to mean "use
all of the available space".
* components/services/summary/nautilus-view/nautilus-summary-view.c
: (generate_service_entry_row), (generate_eazel_news_entry_row),
(generate_update_news_entry_row):
made the news items use all of the available space by setting its
wrap width to -1.
2000-10-29 Andy Hertzfeld <andy@eazel.com>
* components/services/summary/nautilus-view/nautilus-summary-view.c
: (generate_summary_form), (generate_eazel_news_entry_row),
(authn_cb_succeeded), (authn_cb_failed):
improved formatting of news items, now that we finally have a long
one. Also, removed some unconditional debugging messages.
2000-10-29 Robey Pointer <robey@eazel.com>
* components/services/install/idl/trilobite-eazel-install.idl:
* components/services/install/lib/eazel-install-corba-callback.c:
(eazel_install_callback_delete_files):
* components/services/install/lib/eazel-install-corba-callback.h:
* components/services/install/lib/eazel-install-corba.c:
(impl_Eazel_Install_delete_files), (eazel_install_get_epv):
* components/services/install/lib/eazel-install-object.c:
(eazel_install_class_initialize), (create_temporary_directory),
(eazel_install_delete_downloads), (eazel_install_install_packages),
(eazel_install_revert_transaction_from_xmlstring),
(eazel_install_emit_dependency_check_default):
* components/services/install/lib/eazel-install-public.h:
Change delete_files from a signal to an explicit API call. Also
be sure to erase the temp dir even if it has no files in it.
* components/services/install/nautilus-view/nautilus-service-instal
l-view.c: (nautilus_service_install_done),
(nautilus_service_install_failed),
(nautilus_service_install_view_update_from_uri):
* components/services/install/server/Makefile.am:
Make the install view use the new explicit delete_files call, and
condense those into a single dialog box.
* nautilus-installer/src/callbacks.c: (begin_install),
(druid_finish):
* nautilus-installer/src/installer.c: (install_done),
(eazel_installer_do_install), (eazel_installer_initialize):
* nautilus-installer/src/installer.h:
Fix the bootstrap installer for the delete_files call, and don't
forget to delete the package list too. Also, set forced-downgrade
to TRUE until a post-PR2 bug is fixed.
2000-10-29 Mike Fleming <mfleming@eazel.com>
* components/services/summary/nautilus-view/nautilus-summary-view.c
: switch authority-less eazel-services URL's
from "eazel-services:/" to "eazel-services:///"
* src/nautilus-window-service-ui.c: (goto_online_storage),
(goto_software_catalog), (detach_service_ui),
(nautilus_window_install_service_ui):
Go back to initing ammonite each time these menus are called.
I didn't want to bother with trying to make it work.
2000-10-29 J Shane Culpepper <pepper@eazel.com>
* components/loser/content/nautilus-content-loser-ui.xml.h:
* components/loser/sidebar/nautilus-sidebar-loser-ui.xml.h:
* components/mozilla/nautilus-mozilla-ui.xml.h:
* components/sample/nautilus-sample-content-view-ui.xml.h:
* components/services/summary/nautilus-view/nautilus-summary-view-u
i.xml.h:
* libnautilus/nautilus-clipboard-ui.xml.h:
* src/file-manager/nautilus-directory-view-ui.xml.h:
* src/file-manager/nautilus-icon-view-ui.xml.h:
* src/file-manager/nautilus-search-list-view-ui.xml.h:
* src/nautilus-service-ui.xml.h:
* src/nautilus-shell-ui.xml.h:
* src/nautilus-shell.c: (display_caveat):
Fixing bad spelling in caveat.
2000-10-29 Robey Pointer <robey@eazel.com>
* components/services/install/server/Makefile.am:
Move RPMLIBS even *earlier* in the Makefile -- way back! Seems to
need to be the very first thing or else tons of libs get better
precedence.
2000-10-29 Mike Fleming <mfleming@eazel.com>
* components/services/summary/nautilus-view/nautilus-summary-view.c
: (generate_summary_form), (nautilus_summary_view_load_uri),
(merge_bonobo_menu_items):
* src/nautilus-window-service-ui.c: (goto_online_storage),
(goto_software_catalog), (detach_service_ui),
(nautilus_window_install_service_ui):
Change uses of "am_i_logged_in" and "who_is_logged_in" to
"ammonite_get_default_user_username" Fix misc bugs/memory leaks.
2000-10-29 Arlo Rose <arlo@eazel.com>
* icons/temp-home.png:
Added some extra stuff to the house to make it look better.
2000-10-28 Arlo Rose <arlo@eazel.com>
* icons/temp-home.png:
Did a new home icon for PR2 that isn't my happy sunflower.
2000-10-28 Arlo Rose <arlo@eazel.com>
* icons/arlo/Makefile.am:
* icons/arlo/i-regular.png:
* icons/arlo/i-regular72.png:
* icons/arlo/i-regular96.png:
* icons/arlo/i-regular192.png:
Fixed non-AA i-regular* icons to look the same as the AA versions.
2000-10-28 Robey Pointer <robey@eazel.com>
* components/services/install/server/Makefile.am:
Move RPMLIBS earlier in the Makefile, to try to force the
sleipnir build to use the right version of libdb.
2000-10-28 Ramiro Estrugo <ramiro@eazel.com>
* Makefile.am:
* icons/Makefile.am:
* nautilus-launch-icon.png:
Fix bug 4155. Nautilus Panel launching icon installed in the
wrong place. Needs to be $prefix/share/pixmaps, not
$prefix/share/pixmaps/nautilus.
Also added more ChangeLog files to EXTRA_DIST so they can be
availalble in tarballs.
2000-10-28 J Shane Culpepper <pepper@eazel.com>
* components/services/summary/nautilus-view/nautilus-summary-view.c
: (generate_login_dialog):
* src/nautilus-service-ui.xml.h:
* src/nautilus-shell.c: (display_caveat):
Fixes for Bug #4104 and Bug# 4134. Changed error text to be more
descriptive about account activation and added new wording for
caveat dialog.
2000-10-28 Eskil Heyn Olsen <eskil@eazel.com>
* components/services/install/server/Makefile.am:
Undoh rpm stuff
2000-10-28 Josh Barrow <josh@eazel.com>
* nautilus-clean.sh:
Added mpg123 to the list of things to kill. This finishes
bug 4076.
2000-10-28 Josh Barrow <josh@eazel.com>
* nautilus-clean.sh:
Changed to clean more things.
* README
Changed to reflect actual requirements.
I actually checked these in a while ago, just neglected to
check in the ChangeLog
2000-10-27 Eskil Heyn Olsen <eskil@eazel.com>
* configure.in:
Doh doh doh
2000-10-27 Ramiro Estrugo <ramiro@eazel.com>
* src/Makefile.am:
Dumshit me, I forgot to take out the file I retired from the
makefile.
2000-10-27 Ramiro Estrugo <ramiro@eazel.com>
Fix bug 4054 - fix nautilus GNOME menu item so it does not
"crash" nautilus.
Fix bug 4117 - change default for PR2 back to desktop off.
Also fix the issue about turning off the gnome crash dialog for
out of process components.
* icons/Makefile.am:
* icons/nautilus-launch-icon.png:
New launch icon from Arlo.
* src/run-nautilus:
Change this beast to not always run nautilus-clean.sh. It only
runs nautilus-clean.sh right before/after running Nautilus and not
for every single invocation of 'run-nautilus'.
Also, dont start the desktop anymore, since there is not a
preference in Nautilus to toggle the desktop.
Finally, turn on the environment variable needed to prevent the
gnome crash dialog from showing up for out of process components.
* nautilus.desktop:
Update icon and launch script back to run-nautilus.
* nautilus.spec.in:
We're back to using run-nautilus.
* src/launch-nautilus:
Retire.
2000-10-27 Eskil Heyn Olsen <eskil@eazel.com>
* components/services/install/server/Makefile.am:
Moved RPM_LIBS to top to ensure the right db is used.
2000-10-27 J Shane Culpepper <pepper@eazel.com>
* src/nautilus-window-service-ui.c: (goto_online_storage):
Fixing Bug # 4097. Should now point to correct place.
2000-10-27 Eskil Heyn Olsen <eskil@eazel.com>
* components/services/install/lib/eazel-install-rpm-glue.c:
(eazel_install_rpm_set_settings):
Output which rpmrc file I read.
* configure.in:
Attempt at fixing the install view breaking on rpm builds and not
eazel-hacking builds.
2000-10-27 John Sullivan <sullivan@eazel.com>
Fixed bug 4087 (crash leaving Summary view)
* components/services/summary/nautilus-view/nautilus-summary-view.c:
(nautilus_summary_view_destroy): Don't unset container and unref
component here; that's not necessary for the component that's
created automagically. And doing so causes a double-destroy.
(update_menu_items), (merge_bonobo_menu_items): Removed
ui_component field from details and changed callers to get the
ui_component elsewise when needed (to clarify that it isn't
owned here).
* src/nautilus-service-ui.xml: Changed "Eazel Services" to
"Eazel Services Home" since all the services are Eazel Services.
* src/nautilus-service-ui.xml.h: gotta check this in too.
2000-10-27 Andy Hertzfeld <andy@eazel.com>
at Bud's request, implemented bug 4127, add a preference to
show or hide Nautilus' desktop.
* libnautilus-extensions/nautilus-global-preferences.h:
define NAUTILUS_PREFERENCES_SHOW_DESKTOP
* libnautilus-extensions/nautilus-global-preferences.c:
(global_preferences_create_dialog), (global_preferences_register):
register the desktop preference and show the checkbox in
the appearance section of preferences
* src/nautilus-application.c: (nautilus_application_initialize),
(nautilus_application_destroy), (check_for_and_run_as_super_user),
(desktop_changed_callback):
watch the desktop preference and show or hide the desktop window
when it changes.
* src/nautilus-main.c: (main):
show the desktop at launch if the preference is set and it's not
overriden by command-line options.
2000-10-27 Darin Adler <darin@eazel.com>
Fixed bugs in file renaming. These changes along with the
gnome-vfs ones take care of bug 3846 (cancel dialog persists after
renaming online storage folder).
* libnautilus-extensions/nautilus-file.c:
(nautilus_file_get_gnome_vfs_uri): Moved higher so it could be
used by rename code.
(operation_remove): Separated out the remove operation so we can
remove the operation before the callback. This makes it safe to
do a nautlius_file_cancel from inside a callback.
(operation_free): Call the separate remove. Also cut down because
we don't need so much state in the operation object any more.
(operation_complete): Call remove before calling callback as
described above.
(rename_callback): A new callback that uses set_file_info results
instead of the old one that used xfer.
(nautilus_file_rename): Change to use set_file_info instead of
xfer. Also updates the MIME type now, which will fix a bug I
think.
(nautilus_file_update_info): Use gnome_vfs_file_info_dup instead
of gnome_vfs_file_info_ref so it works with any info, including
static ones on the stack.
(set_permissions_callback), (nautilus_file_set_permissions),
(set_owner_and_group_callback), (set_owner_and_group): Change to
use the info returned by the async. set_file_info. This simplifies
things a lot.
* src/file-manager/fm-error-reporting.c: (rename_callback),
(cancel_rename_callback), (cancel_rename), (fm_rename_file):
Rewrote renaming code. Use object data to keep track of pending
renames so we can cancel a previous one if we try to re-rename the
same file again. This allowed the code to get a lot simpler too.
* libnautilus-extensions/nautilus-directory-async.c:
(directory_load_done): Fixed bug that prevented the directory from
ever noticing files that are no longer around. This code never
worked because we checked for the wrong error code (EOF means
success here).
* po/Makefile.in.in: Re-removed this file. Seth checked it in by
accident. This is a generated file, not one that should be checked
in.
* src/nautilus-window.c: (nautilus_window_realize): Got rid of
"//"-style comments and used #if 0 instead.
* components/loser/content/nautilus-content-loser-ui.xml.h:
* components/loser/sidebar/nautilus-sidebar-loser-ui.xml.h:
* components/mozilla/nautilus-mozilla-ui.xml.h:
* components/sample/nautilus-sample-content-view-ui.xml.h:
* components/services/summary/nautilus-view/nautilus-summary-view-ui.xml.h:
* libnautilus/nautilus-clipboard-ui.xml.h:
* src/file-manager/nautilus-directory-view-ui.xml.h:
* src/file-manager/nautilus-icon-view-ui.xml.h:
* src/file-manager/nautilus-search-list-view-ui.xml.h:
* src/nautilus-service-ui.xml.h:
* src/nautilus-shell-ui.xml.h:
Someone checked in some .xml.h files generated with an old
Bonobo. Soon, this nightmare will be over and we won't check these
files in any more.
2000-10-27 Arlo Rose <arlo@eazel.com>
* src/nautilus-first-time-druid.c: (make_anti_aliased_label):
Made a font size change.
2000-10-28 Mathieu Lacage <mathieu@eazel.com>
second round of fixing of the sgml. Will be
the last one hopefuly.
* user-guide/C/sgml/chapter-1.sgml:
* user-guide/C/sgml/chapter-2.sgml:
* user-guide/C/sgml/chapter-3.sgml:
* user-guide/C/sgml/install.sgml:
* user-guide/C/sgml/intro.sgml:
2000-10-27 Mathieu Lacage <mathieu@eazel.com>
* user-guide/C/sgml/chapter-1.sgml:
* user-guide/C/sgml/chapter-2.sgml:
* user-guide/C/sgml/chapter-3.sgml:
* user-guide/C/sgml/install.sgml:
* user-guide/C/sgml/intro.sgml:
* user-guide/C/sgml/nautilus.sgml:
update to John's latest version, fix the sgml where needed.
Need a new round of checking on my laptop. Help now displays
images !! hooray for Ali Abdin :)
2000-10-27 Robin * Slomkowski <rslomkow@eazel.com>
* README: package build requirments changed to be current
left hole3s for gnome-vfs, ammonite, and medusa
2000-10-27 Andy Hertzfeld <andy@eazel.com>
* components/services/summary/nautilus-view/nautilus-summary-view.c
: (generate_summary_form), (generate_eazel_news_entry_row),
(generate_login_dialog):
finished bug 3793 for Shane, new login dialog for summary view, by
changing the widget layout to satisfy Arlo. Also marked more
strings for translation.
2000-10-27 Arlo Rose <arlo@eazel.com>
* components/services/nautilus-dependent-shared/eazel-services-exte
nsions.h:
Tweaked text offests.
2000-10-27 John Sullivan <sullivan@eazel.com>
Grumble grumble canonical grumble uri grumble.
Josh found another assertion failure involving
canonical uris. Yay Josh! Boo canonical uri troubles!
* libnautilus-extensions/nautilus-directory.c:
(nautilus_directory_get_internal): Removed call to
nautilus_uri_is_canonical_uri since it isn't quite the
right check. Decided that the right check here is
pointless.
* libnautilus-extensions/nautilus-file-utilities.c:
* libnautilus-extensions/nautilus-file-utilities.h:
Removed nautilus_uri_is_canonical_uri since it now has
no callers.
2000-10-27 John Sullivan <sullivan@eazel.com>
Fixed bug 4085 for now (need Support menu item in Services menu)
The URL will have to be updated again later, as the bug report says.
* src/nautilus-service-ui.xml: Added Support menu item at end, made
underline accelerators unique
* components/services/summary/nautilus-view/nautilus-summary-view-u
i.xml: tweaked wording and made underline accelerators unique
* components/services/summary/nautilus-view/nautilus-summary-view-u
i.xml.h:
* src/nautilus-service-ui.xml.h: These guys changed.
* src/nautilus-window-service-ui.c:
(goto_services_support): New function, goes to magic URI.
(nautilus_window_install_service_ui): add verb to connect menu item
to function.
2000-10-27 J Shane Culpepper <pepper@eazel.com>
* components/services/summary/nautilus-view/nautilus-summary-view.c
: (forgot_password_button_cb):
Fixing the url for the change password button.
2000-10-27 John Sullivan <sullivan@eazel.com>
Fixed bug 4114 (typing single word into location bar crashes)
Grumble grumble canonical grumble uri grumble.
* libnautilus-extensions/nautilus-file-utilities.c:
(nautilus_make_uri_canonical): Return of the workaround to
convert file://foo to file:///foo, marked with appropriate
FIXME.
(nautilus_uri_is_canonical_uri): Changed implementation to just
call make_uri_canonical and compare. It had been doing a subset
of the things that make_uri_canonical does, but it had gotten out
of synch.
(nautilus_self_check_file_utilities): Updated tests and added more.
2000-10-27 Ali Abdin <aliabdin@aucegypt.edu>
* components/help/converters/gnome-db2html2/gdb3html.[ch]:
Added a 'base_path' to the Context struct
(parse_file): Do some minimal parsing to get the base path from the
provided filename on the command line.
* components/help/converters/gnome-db2html2/sect-elements.c:
* components/help/converters/gnome-db2html2/toc-elements.c:
(sect_figure_end_element),
(sect_inlinegraphic_start_element),
(sect_infobox_start_element),
(toc_artheader_end_element):
Use 'file://' URIs on images (using base_path to get the path of the
image). This means images should now work within SGML files. Should
fix bug #3938
2000-10-27 Ramiro Estrugo <ramiro@eazel.com>
Final bits of arlification for the install view. Make the fonts
smaller and use a better fill icon.
* components/services/install/nautilus-view/nautilus-service-install-view.c:
(generate_install_form):
* components/services/login/nautilus-view/nautilus-change-password-view.c:
(generate_change_password_form):
* components/services/nautilus-dependent-shared/eazel-services-extensions.c:
(eazel_services_label_new):
* components/services/nautilus-dependent-shared/eazel-services-extensions.h:
* components/services/nautilus-dependent-shared/eazel-services-footer.c:
(footer_item_new), (eazel_services_footer_update):
Reverse the order of font_size and weight as its usually specified.
* components/services/nautilus-dependent-shared/eazel-services-header.c:
(eazel_services_header_title_new),
(eazel_services_header_middle_new),
(eazel_services_header_set_left_text),
(eazel_services_header_set_right_text):
* components/services/nautilus-dependent-shared/eazel-services-header.h:
Split the constructors into 2 for the 2 common header cases.
* components/services/nautilus-dependent-shared/icons/Makefile.am:
Add a new icon for the middle header fill.
* components/services/nautilus-dependent-shared/test-footer-header.c:
(main):
Update for header constructor changes.
* components/services/summary/nautilus-view/nautilus-summary-view.c
: (generate_summary_form), (nautilus_summary_view_load_uri):
Quiet down the debug spew.
2000-10-27 Pavel Cisler <pavel@eazel.com>
* libnautilus-extensions/nautilus-list.c: (nautilus_gdk_gc_copy):
An attempt to fix a list view redraw glitch Andy and I were trying to
track down.
2000-10-27 Eskil Heyn Olsen <eskil@eazel.com>
* components/services/install/lib/eazel-install-rpm-glue.c:
(eazel_install_rpm_set_settings):
Always enable rpm debugging (needed temporarily)
2000-10-27 Andy Hertzfeld <andy@eazel.com>
* components/music/nautilus-music-view.c: (add_play_controls):
left justified the song label in the music view to make it
look cleaner.
2000-10-27 Josh Barrow <josh@eazel.com>
* icons/ardmore/Makefile.am:
* icons/ardmore/theme_preview.png:
Added theme preview to the Ardmore theme.
* icons/villanova/Makefile.am:
* icons/villanova/theme_preview.png:
Added theme preview to the Villanova theme.
* nautilus-installer/src/Makefile:
As Eskil says, "Yes."
2000-10-26 Seth Nickell <seth@eazel.com>
* src/nautilus-window.c: (nautilus_window_realize):
Commented out a wm hints line that was causing Nautilus to be
unfocusable (hence not allowing keyboard input, making it
hard to work on things) in Sawfish. Coordination with
Sawfish/John Harper is probably needed here...
2000-10-26 Eskil Heyn Olsen <eskil@eazel.com>
This introduces the problem thingy to libeazelinstall. A set of
funcs that can create humanreadable descriptions of a installation
failure, plus repair descriptions and even better, automagically
execute them. Basically this is all the RepairCase related crap
from the bootstrap installer.
* components/services/install/command-line/eazel-alt-install-corba.
c: (tree_helper), (install_failed), (delete_files), (done), (main):
Use the new problem thingy
* components/services/install/lib/Makefile.am:
Added the .c and .h file for the problem thingy
* components/services/install/lib/eazel-install-logic.c:
(eazel_install_check_existing_packages):
Loads of debug output in the case that people kept nagging me
about. If they still don't get that this is a known problem, they
must be blind.
* components/services/install/lib/eazel-install-problem.h:
* components/services/install/lib/eazel-install-problem.c:
(get_required_name), (get_detailed_messages_foreach),
(compare_problem_case), (add_case), (add_force_install_both_case),
(add_force_remove_case), (add_remove_case), (add_update_case),
(get_detailed_cases_foreach),
(eazel_install_problem_case_to_string),
(eazel_install_problem_case_foreach_to_string),
(eazel_install_problem_case_foreach_destroy),
(eazel_install_problem_case_new),
(eazel_install_problem_case_destroy),
(eazel_install_problem_case_list_destroy),
(eazel_install_problem_new), (eazel_install_problem_finalize),
(eazel_install_problem_class_initialize),
(eazel_install_problem_initialize),
(eazel_install_problem_get_type), (problem_step_foreach_remove),
(eazel_install_problem_step), (eazel_install_problem_tree_to_case),
(eazel_install_problem_tree_to_string),
(eazel_install_problem_cases_to_string),
(find_dominant_problem_type), (find_problems_of_type),
(find_dominant_problems), (build_categories_from_problem_list),
(eazel_install_problem_handle_cases):
The problem thingy.
* components/services/install/lib/eazel-install-rpm-glue.c:
(eazel_install_rpm_set_settings),
(eazel_install_prepare_rpm_system):
Set rpm debug if debug==TRUE, also fixed a debug message
reg. cannot open rpm db.
* components/services/install/nautilus-view/nautilus-service-instal
l-view.h:
* components/services/install/nautilus-view/nautilus-service-instal
l-view.c: (nautilus_service_install_view_update_from_uri):
Allocate the problem thingy.
* nautilus-installer/src/Makefile:
Yes.
* nautilus-installer/src/installer.c: (get_required_name):
Used the samen get_required_name as the problem thingy
* nautilus-installer/src/prescript:
Removed the hack that we inserted for bug night.
2000-10-26 Robey Pointer <robey@eazel.com>
* components/services/login/nautilus-view/nautilus-change-password-
view.c: (run_away_timer), (authn_succeeded), (authn_failed):
Tidy up the password-change view a bit to try to make it more
stable, and use more of the info from ammonite. If ammonite
throws away the current login (which happens whenever the server
responds oddly), switch back to the summary view to force a
re-login instead of drifting away.
2000-10-26 Andy Hertzfeld <andy@eazel.com>
* libnautilus-extensions/nautilus-icon-container.c: (destroy),
(icon_destroy):
fixed bug 4108, changing themes in the list view crashes nautilus.
Fixed by removing the call to preferences_remove_callback from
icon_destroy and putting it into the widget's destroy method like
it should have been. This also could have been hurting performance
and causing other weird problems.
2000-10-26 Arlo Rose <arlo@eazel.com>
* components/services/nautilus-dependent-shared/eazel-services-exte
nsions.h:
Fixed a font weight problem.
2000-10-26 Ramiro Estrugo <ramiro@eazel.com>
* components/services/nautilus-dependent-shared/eazel-services-header.h:
* components/services/nautilus-dependent-shared/eazel-services-header.c:
(eazel_services_header_new),
(eazel_services_header_set_left_text),
(eazel_services_header_set_right_text):
Change the 'constructor' to accept left/right strings a boolean
that determines whether the logo is visible.
* components/services/install/nautilus-view/nautilus-service-install-view.c:
(generate_install_form):
* components/services/login/nautilus-view/nautilus-change-password-view.c:
(generate_change_password_form):
* components/services/summary/nautilus-view/nautilus-summary-view.c:
(generate_summary_form):
Update for header changes. Fixes bug 4099 (Secondary Header broke
with test changed to the nautilus widget)
* components/services/nautilus-dependent-shared/eazel-services-extensions.c:
(eazel_services_get_current_date_string):
Change the date format string. Using a format of "%e" worked on
one computer but spewed warnings on another.
* components/services/nautilus-dependent-shared/eazel-services-extensions.h:
Tweak the header text offset a bit.
* components/services/nautilus-dependent-shared/eazel-services-footer.c:
(footer_item_new):
Fix the last item's right boundary to make this beast be up to the
most stringent Arlo standards.
* components/services/nautilus-dependent-shared/test-footer-header.c: (main):
Add a middle header to test new header features.
* components/services/nautilus-dependent-shared/shared-service-widgets.c:
* components/services/nautilus-dependent-shared/shared-service-widgets.h:
Retire the old way to do middle headers.
2000-10-26 Eskil Heyn Olsen <eskil@eazel.com>
* components/services/install/lib/eazel-install-rpm-glue.c:
(eazel_install_prepare_rpm_system):
Moved the addition of the opened db into the if clause.
* components/services/time/command-line/Makefile.am:
Added GNOMELOCALEDIR
* components/services/trilobite/helper/Makefile.am:
Trickery to make the eazel-helper.security file be build during
make and not make install, as the latter is Real Bad<tm> as the
rpm version will point to a nonexisting binary.
* components/services/trilobite/libtrilobite/trilobite-core-distrib
ution.c: (trilobite_get_distribution):
Inserted a else to fix the mandrake/redhat issue.
2000-10-26 John Sullivan <sullivan@eazel.com>
Fixed bug 4064 (Can't get a right-click menu in vault)
* libnautilus-extensions/nautilus-file-utilities.c:
(nautilus_make_uri_canonical): Changed this to call
gnome_vfs_uri_new () and gnome_vfs_uri_to_string () so
we get the same canonicalization behavior as gnome-vfs,
other than the special Nautilus-specific cases.
(nautilus_self_check_file_utilities): Added a bunch of
new checks, including copying & pasting many from
gnome-vfs.
* libnautilus-extensions/nautilus-directory.c:
(nautilus_self_check_directory): added a couple of checks.
2000-10-26 J Shane Culpepper <pepper@eazel.com>
* components/services/summary/nautilus-view/nautilus-summary-view.c
: (forgot_password_button_cb), (generate_login_dialog):
Adding the button toggle between register and i forgot my password
options in the login dialog. Still need to tweak the ui before the
login is finished.
2000-10-26 Michael Engber <engber@eazel.com>
* libnautilus-extensions/nautilus-icon-container.c: (relayout),
(button_press_event), (key_press_event), (get_icon_being_renamed),
(pending_icon_to_rename_destroy_callback),
(get_pending_icon_to_rename), (set_pending_icon_to_rename),
(process_pending_icon_to_rename), (is_renaming_pending),
(is_renaming),
(nautilus_icon_container_start_renaming_selected_item),
(end_renaming_mode):
* libnautilus-extensions/nautilus-icon-container.h:
* libnautilus-extensions/nautilus-icon-private.h:
* src/file-manager/fm-directory-view.c:
(reveal_newly_added_folder), (new_folder_done):
Folder renaming now starts when the icon is added rather than
at some arbitrary timeout after the new folder command is
issued. Fixed icon container to handle a request to rename an
unpositioned icon.
2000-10-26 Eskil Heyn Olsen <eskil@eazel.com>
* src/Makefile.am:
Install launch-nautilus, should fix rpmbuilding.
2000-10-26 Andy Hertzfeld <andy@eazel.com>
* components/services/summary/nautilus-view/nautilus-summary-view.c
: (generate_summary_form):
changed "additional services" message in summary view as requested
by marketing.
2000-10-26 Ramiro Estrugo <ramiro@eazel.com>
* components/mozilla/nautilus-mozilla-content-view.c:
Fix bug 3845. When configured to use an HTTP proxy, Mozilla won't
go through Ammonite. The fix is to tell the mozilla network
library to NOT use the proxy to resolve 'localhost'.
2000-10-26 Gene Z. Ragan <gzr@eazel.com>
* libnautilus-extensions/nautilus-directory-async.c:
(dequeue_pending_idle_callback):
Did some refactoring to stop an assertion in NautilusDirectory
add_to_hash_table from firing. This involved removing two lists
of NautilusFiles that we being created and then merged. Now one
list is being used and the condition that causes the assertion (duplicate
files in the hash table) is not being created.
* components/tree/nautilus-tree-model.c:
(nautilus_tree_model_directory_files_changed_callback):
Removed the world famous ANOMALY error at the request of Darin.
2000-10-26 Robey Pointer <robey@eazel.com>
* components/services/login/nautilus-view/nautilus-change-password-
view.c: (authn_failed):
Better logging of a failed password change attempt.
* components/services/install/lib/eazel-install-xml-package-list.c:
(parse_category):
* nautilus-installer/src/installer.c: (add_bullet_point_to_vbox),
(jump_to_error_page), (jump_to_retry_page):
Factor out the bullet point generation and make it line-wrap
(using Gtk's unfortunately lame line-wrapping algorithm). Do
better debugging on failed package lists.
2000-10-26 J Shane Culpepper <pepper@eazel.com>
* components/services/summary/nautilus-view/nautilus-summary-view.c
: (footer_item_clicked_callback):
Fixing location callbacks to go to the right place when a user is
logged in.
2000-10-26 Michael Engber <engber@eazel.com>
* src/file-manager/fm-desktop-icon-view.c:
(quit_nautilus_desktop_menu_item_callback),
(fm_desktop_icon_view_create_background_context_menu_items):
Add "Quit Nautilus Desktop" to desktop context menu
2000-10-26 Ramiro Estrugo <ramiro@eazel.com>
* components/services/nautilus-dependent-shared/eazel-services-extensions.h:
Make the font smaller (11 vs 13) as requested by Arlo.
2000-10-26 J Shane Culpepper <pepper@eazel.com>
* components/services/summary/nautilus-view/nautilus-summary-view.c
: (authn_cb_succeeded), (nautilus_summary_view_initialize),
(nautilus_summary_view_destroy):
Rolling back gconf evil that seems to be causing the production runs
of the summary to segfault.
2000-10-26 Rebecca Schulman <rebecka@eazel.com>
Fixed the panel menu item to launch the desktop
and one nautilus window, starting at the user's
home directory by default. To do this, we created
a new script called launch-nautilus. Ramiro
recommended some changes to run-nautilus that
I also did.
* nautilus.desktop:
Changed run-nautilus to launch-nautilus
* nautilus.spec.in:
Changed run-nautilus to launch-nautilus,
since run-nautilus won't be needed in the
rpm
* src/Makefile.am:
added launch-nautilus to the build
* src/launch-nautilus:
* src/run-nautilus:
removed the mozilla environment
LD_LIBRARY_PATH hacks.
* user-guide/C/sgml/chapter-1.sgml:
Corrected an HTML error.
2000-10-26 J Shane Culpepper <pepper@eazel.com>
* components/services/summary/nautilus-view/nautilus-summary-view.c
: (generate_summary_form), (nautilus_summary_view_load_uri),
(merge_bonobo_menu_items):
* src/nautilus-window-service-ui.c: (goto_online_storage),
(goto_software_catalog):
Fixing exported function name used from ammonite.
2000-10-26 Andy Hertzfeld <andy@eazel.com>
fixed bug 2814, move "built-in bookmarks" checkbox from the
edit bookmarks window to preferences/navigation.
* libnautilus-extensions/nautilus-global-preferences.c:
(global_preferences_create_dialog), (global_preferences_register):
added a checkbox to control the "hide built-in bookmarks" preference
* libnautilus-extensions/nautilus-global-preferences.h:
renamed preference path so the built-in bookmarks preference can
be in the preferences window
* src/nautilus-bookmarks-window.c: (create_bookmarks_window),
(repopulate):
removed the built-in bookmarks checkbox from the edit bookmarks
window
2000-10-26 Andy Hertzfeld <andy@eazel.com>
added a new theme from Susan
* configure.in:
* icons/Makefile.am:
* icons/villanova/.cvsignore:
* icons/villanova/Makefile.am:
* icons/villanova/villanova.xml:
* icons/villanova/*.png:
2000-10-26 Pavel Cisler <pavel@eazel.com>
* librsvg/Makefile.am:
fix the build.
Checking in for Ramiro.
2000-10-26 Darin Adler <darin@eazel.com>
Fix bug 4052 (sidebar file count is not updated as settings are
changed).
* libnautilus-extensions/nautilus-directory-async.c:
(dequeue_pending_idle_callback): Add a missing call to
nautilus_file_changed.
2000-10-26 J Shane Culpepper <pepper@eazel.com>
* components/services/summary/nautilus-view/nautilus-summary-view.c
: (generate_summary_form), (generate_update_news_entry_row),
(nautilus_summary_view_load_uri):
Adding debug prints to locate optimized build crash in the summary view.
2000-10-26 Andy Hertzfeld <andy@eazel.com>
moved the eazel throbber into the default theme; moved Arlo's throbber
into his theme and restored the generic throbber to the gnome theme.
Updated the theme files to reflect this.
* configure.in:
* icons/ardmore/ardmore.xml:
* icons/arlo/Makefile.am:
* icons/arlo/arlo.xml:
* icons/arlo/throbber/.cvsignore:
* icons/arlo/throbber/Makefile.am:
* icons/default.xml:
* icons/eazel/Makefile.am:
* icons/eazel/eazel.xml:
* icons/gnome/Makefile.am:
* icons/gnome/gnome.xml:
* icons/gnome/throbber/.cvsignore:
* icons/gnome/throbber/Makefile.am:
* icons/throbber/Makefile.am:
2000-10-26 Darin Adler <darin@eazel.com>
Fix bug 3998 (Move to Trash crashes Nautilus if item with that
name already in trash).
* libnautilus-extensions/nautilus-directory.c:
(nautilus_directory_notify_files_moved): Change the sequence so
that the renaming doesn't try to update the file hash twice.
* src/file-manager/fm-icon-view.c: (compute_menu_item_info):
Handle NULL icon container case. This case happened to Will while
testing.
* src/file-manager/fm-directory-view.c: (load_directory): Fix
GList leak.
* src/nautilus-view-frame.c: (nautilus_view_frame_destroy): Fix
string leak.
* src/nautilus-window-menus.c: (append_bookmark_to_menu): Fix
GdkPixbuf ref. leak.
* libnautilus-extensions/nautilus-user-level-manager.c:
(user_level_set_default_if_needed): Tiny coding style change.
2000-10-26 Rebecca Schulman <rebecka@eazel.com>
* nautilus.spec.in: Moved the spec file entry
from the binaries section to the data section,
so the manual files' permissions will be set
correctly, and changed *.sgml to * so
we'll get the associated .css files (they're
style sheets, I think?) and the images
installed, too.
2000-10-26 Mathieu Lacage <mathieu@eazel.com>
* nautilus.spec.in: add sgml files in rpms
2000-10-26 Michael Engber <engber@eazel.com>
* libnautilus-extensions/nautilus-file-operations.c:
(get_link_name), (make_next_duplicate_name):
Link names weren't properly escaped causing them not to
get selected.
* src/file-manager/fm-directory-view.c: (copy_move_done_callback),
(new_folder_done),
(fm_directory_view_trash_state_changed_callback):
added asserts
2000-10-26 Ramiro Estrugo <ramiro@eazel.com>
* components/services/nautilus-dependent-shared/eazel-services-footer.c:
(footer_destroy), (label_enter_event), (label_leave_event),
(image_enter_event), (image_leave_event),
(prelight_data_free_callback), (image_add_prelighting),
(label_add_prelighting), (footer_item_new):
Final arlification touches. Make the footer item's left and right
bumpers prelight as well.
2000-10-26 Ramiro Estrugo <ramiro@eazel.com>
* components/mozilla/nautilus-mozilla-content-view.c:
(mozilla_is_uri_handled_by_nautilus):
Add "gnome-help" and "ghelp" to the list of uris handled by
Nautilus as requested by Ali.
2000-10-26 Ramiro Estrugo <ramiro@eazel.com>
* librsvg/Makefile.am:
Add LIBPNG to test program link line. It was breaking for me.
2000-10-26 Ramiro Estrugo <ramiro@eazel.com>
* components/services/nautilus-dependent-shared/shared-service-utilities.c:
* components/services/nautilus-dependent-shared/shared-service-utilities.h:
* components/services/nautilus-dependent-shared/shared-service-widgets.c:
* components/services/nautilus-dependent-shared/shared-service-widgets.h:
Remove a bunch of unused code. Also removed 'go_to_uri()' which
does the exact same thing (and nothing more) than
'nautilus_view_open_location()'. Use that directly instead.
* components/services/install/nautilus-view/nautilus-service-install-view.c:
(show_dialog_and_run_away),
(nautilus_service_install_view_update_from_uri):
* components/services/inventory/nautilus-view/nautilus-inventory-view.c:
(gather_config_button_cb), (register_later_cb),
(make_http_post_request):
* components/services/login/nautilus-view/nautilus-change-password-view.c:
(authn_succeeded), (maintenance_button_cb):
Tiny bit of 'go_to_uri' cleanup.
* components/services/summary/nautilus-view/nautilus-summary-view.c
: (logged_in_callback), (logged_out_callback),
(preferences_button_cb), (register_button_cb), (goto_service_cb),
(goto_update_cb), (error_dialog_cancel_cb),
(footer_item_clicked_callback):
Add #defines for magical uris and 'go_to_uri' cleanup.
2000-10-26 Ramiro Estrugo <ramiro@eazel.com>
* components/mozilla/main.c: (main):
Dont need to check the mozilla environment anymore.
2000-10-26 Mathieu Lacage <mathieu@eazel.com>
Fix bug 2571: action not computed corected for dnd in list view.
Also, the dnd in list view should be slightly nicer now :)
* libnautilus-extensions/nautilus-gtk-extensions.c:
(nautilus_gtk_marshal_NONE__POINTER_POINTER_POINTER_INT_INT_INT), space
(nautilus_gtk_marshal_NONE__POINTER_POINTER_POINTER_POINTER_INT_INT
_UINT): brand new function for brand new signal as below :)
* libnautilus-extensions/nautilus-gtk-extensions.h: prototype.
* libnautilus-extensions/nautilus-list.c:
(nautilus_list_initialize_class),
(nautilus_list_get_drop_action):
* libnautilus-extensions/nautilus-list.h:
Add signal get_default_action, remove old code to compute
default action...
* src/file-manager/fm-list-view.c:
(nautilus_list_find_icon_list_drop_target),
(fm_list_get_default_action), (set_up_list):
connect to new signal, move old code to there, cleanup, finish.
2000-10-26 Andy Hertzfeld <andy@eazel.com>
* components/music/nautilus-music-view.c: (selection_callback),
(add_play_controls), (nautilus_music_view_set_album_image),
(nautilus_music_view_update):
minimized flashing in the music view by fixing the size of the
song label and play time, since it was relaying everything out
when they changed.
2000-10-26 Mathieu Lacage <mathieu@eazel.com>
Make prelighted icons not prelighted when you leave the list
view without dropping. Also, move the actual prelighting
operation from fm-list-view to nautilus-list.
Also, remove FIXME about this bug since it is fixed.
* libnautilus-extensions/nautilus-list.c:
(nautilus_list_drag_leave),
(nautilus_list_find_icon_list_drop_target),
(nautilus_list_prelight_if_necessary):
* src/file-manager/fm-list-view.c: (fm_list_handle_dragged_items):
2000-10-25 Ramiro Estrugo <ramiro@eazel.com>
* components/mozilla/Makefile.am:
Fix bug 4031. Mozilla component wont run cause of unresolved
symbols. Link in the standard location of Mozilla
(/usr/lib/mozilla) to make it always work without having to mess
with environment stuff.
2000-10-25 Ramiro Estrugo <ramiro@eazel.com>
* components/services/nautilus-dependent-shared/eazel-services-extensions.h:
* components/services/nautilus-dependent-shared/eazel-services-footer.c:
(footer_item_new), (eazel_services_footer_update):
* components/services/nautilus-dependent-shared/eazel-services-header.c:
(eazel_services_header_new):
Move more constants to shared place.
2000-10-26 Mathieu Lacage <mathieu@eazel.com>
* libnautilus-extensions/nautilus-drag.c: spaces...
* libnautilus-extensions/nautilus-list.c:
(nautilus_list_drag_start),
(nautilus_list_drag_leave): spaces.
* src/file-manager/fm-list-view.c:
(fm_list_receive_dropped_icons): make dnd work in list
view by removing some old code from there which was made
useless by some recent changes in teh copy/move code...
2000-10-25 Mike Fleming <mfleming@eazel.com>
* components/mozilla/nautilus-mozilla-content-view.c:
(eazel_services_scheme_untranslate):
Fix 3969; Untranslating eazel-services URI's works
correctly for non-default users.
2000-10-25 John Sullivan <sullivan@eazel.com>
Fixed problems that were causing crash when Services button pressed.
* libnautilus-extensions/nautilus-directory-async.c:
(load_directory_done), (dequeue_pending_idle_callback):
Was missing several NULL checks.
2000-10-25 Robey Pointer <robey@eazel.com>
* components/services/install/nautilus-view/nautilus-service-instal
l-view.c: (generate_install_form), (show_dialog_and_run_away):
A few quick tweaks to make the installer screenshot-worthy, and to
fix a possible case where it would switch to a new URI before it
had told nautilus it was done loading. (I think that was
confusing Nautilus in some corner cases.)
* components/services/trilobite/libtrilobite/trilobite-redirect.c:
(wipe_redirect_table), (add_redirect),
(trilobite_redirect_lookup):
Add "/" back to the keys when adding and removing, since otherwise
we end up with a big blob of evil-named keys. Fix the bug that
the missing "/" was hiding: namely, that mass-removing keys had
stopped working after the gconf upgrade.
2000-10-25 Mike Fleming <mfleming@eazel.com>
* components/mozilla/main.c: (run_test_cases), (main):
* components/mozilla/nautilus-mozilla-content-view.c:
(is_uri_partial), (make_full_uri_from_relative),
(mozilla_dom_mouse_click_callback),
(test_make_full_uri_from_relative):
Fix bugzilla.eazel.com 3949. Better (but still not perfect)
support for relative URI's. The cases that aren't handled are rarely
encountered in my experiance. I'd make it perfect, but I just
don't have time right now.
Also added self-test.
2000-10-25 Ramiro Estrugo <ramiro@eazel.com>
* components/services/nautilus-dependent-shared/eazel-services-extensions.c:
(eazel_services_label_new):
* components/services/nautilus-dependent-shared/eazel-services-extensions.h:
* components/services/nautilus-dependent-shared/eazel-services-footer.c:
(footer_item_new), (eazel_services_footer_update):
* components/services/nautilus-dependent-shared/eazel-services-header.c:
(eazel_services_header_new):
Place the font families, weights and sizes in the header file so
that Arlo can arloify them.
2000-10-25 Darin Adler <darin@eazel.com>
* libnautilus-extensions/nautilus-directory-private.h:
* libnautilus-extensions/nautilus-directory.h:
* libnautilus-extensions/nautilus-file-private.h:
* libnautilus-extensions/nautilus-directory-async.c: (istr_equal),
(istr_hash), (istr_set_new), (istr_set_insert), (add_istr_to_list),
(istr_set_get_as_list), (istr_set_destroy): New set of functions
for manipulating a set of case-insensitive strings (private for
now).
(mime_list_cancel): Change to use the istr_set.
(get_filter_options_for_directory_count): Moved up so it can be
used by the directory load code.
(load_directory_done): Common function to use when a load is
completed or cancelled.
(dequeue_pending_idle_callback): Update file count and MIME list
as well as just loading the files.
(should_get_directory_count): New cover that takes into account
the fact that a directory load is already getting the count.
(should_get_mime_list): New cover that takes into account
the fact that a directory load is already getting the MIME list.
(start_monitoring_file_list): Set up more stuff since a load
does a lot more now.
(directory_count_start): Don't start a directory count if we are
already loading the directory's file list.
(mime_list_one), (mime_list_callback), (mime_list_load): Change to
use the istr_set. Also removed some code that set variables that
were never used.
(mime_list_start): Don't start a MIME list if we are already
loading the directory's file list.
* components/adapter/Makefile.am:
* components/hardware/Makefile.am:
* components/html/Makefile.am:
* components/loser/content/Makefile.am:
* components/loser/sidebar/Makefile.am:
* components/mozilla/Makefile.am:
* components/music/Makefile.am:
* components/rpmview/Makefile.am:
* components/sample/Makefile.am:
* components/services/install/command-line/Makefile.am:
* components/services/install/lib/Makefile.am:
* components/services/install/nautilus-view/Makefile.am:
* components/services/install/server/Makefile.am:
* components/services/inventory/lib/Makefile.am:
* components/services/inventory/nautilus-view/Makefile.am:
* components/services/login/nautilus-view/Makefile.am:
* components/services/nautilus-dependent-shared/Makefile.am:
* components/services/summary/lib/Makefile.am:
* components/services/summary/nautilus-view/Makefile.am:
* components/services/time/command-line/Makefile.am:
* components/services/time/nautilus-view/Makefile.am:
* components/services/time/service/Makefile.am:
* components/services/trilobite/libtrilobite/Makefile.am:
* components/services/trilobite/sample/command-line/Makefile.am:
* components/services/trilobite/sample/lib/Makefile.am:
* components/services/trilobite/sample/nautilus-view/Makefile.am:
* components/services/trilobite/sample/service/Makefile.am:
* components/services/vault/command-line/Makefile.am:
* components/tree/Makefile.am:
* helper-utilities/authenticate/Makefile.am:
* nautilus-installer/src/Makefile.am:
Changed all use of CPPFLAGS to use INCLUDES instead as it says in
the automake documentation.
* libnautilus-extensions/nautilus-glib-extensions.h: Reformatting.
* libnautilus-extensions/nautilus-glib-extensions.c:
(nautilus_g_hash_table_remove_deep_custom),
(nautilus_g_hash_table_remove_deep), (destroy_deep_helper),
(nautilus_g_hash_table_destroy_deep_custom): Reformatting.
2000-10-25 Michael Engber <engber@eazel.com>
* libnautilus-extensions/nautilus-file-operations.c:
(new_folder_xfer_callback):
new_folder_xfer_callback was not escaping the space in
duplicate_name, this was causing us to not recognize
second and subsequent new folders (& select them).
* src/file-manager/fm-directory-view.c: (copy_move_done_callback):
moved free call to better spot
2000-10-25 J Shane Culpepper <pepper@eazel.com>
* src/nautilus-window-service-ui.c: (goto_online_storage):
Fixing url string. Had one too many slashes.
2000-10-25 John Sullivan <sullivan@eazel.com>
Fixed various usability problems with the services log-in
dialog that I ran into. Some coding tweaks too.
* components/services/summary/nautilus-view/nautilus-summary-view.c:
(generate_error_dialog): move cast to cause fewer of them
(name_or_password_field_activated): New function, auto-clicks the
OK button if the password row is activated.
(generate_login_dialog): move cast to cause fewer of them; use
#defines for button indices and row numbers; changed "Opps" to
"Oops" (Oops!); set default button to OK button; wire up
name_or_password_field_activated; start with focus in Name field.
2000-10-25 J Shane Culpepper <pepper@eazel.com>
* components/services/summary/nautilus-view/nautilus-summary-view.c
: (generate_summary_form), (nautilus_summary_view_load_uri),
(merge_bonobo_menu_items):
* src/Makefile.am:
* src/nautilus-window-service-ui.c: (goto_online_storage),
(goto_software_catalog):
Fixing the services menu items to go to correct locations.
2000-10-25 Eskil Heyn Olsen <eskil@eazel.com>
* components/services/install/lib/eazel-install-query.c:
Fixed a include problem.
* components/services/install/lib/eazel-install-rpm-glue.h:
Added /me to authors
2000-10-25 Robey Pointer <robey@eazel.com>
* components/services/install/lib/eazel-install-types.c:
(categorydata_new):
* components/services/install/lib/eazel-install-types.h:
* components/services/install/lib/eazel-install-xml-package-list.c:
(parse_category):
* nautilus-installer/src/installer.c:
(eazel_installer_add_category):
Add <DEFAULT/> option to the package list XML file, and make all
default choices be pre-clicked when the user gets to the selection
page.
2000-10-25 Darin Adler <darin@eazel.com>
* src/nautilus-applicable-views.c: (nautilus_navigation_info_new),
(nautilus_navigation_info_free),
(nautilus_navigation_info_get_location): Changed to store the
location URI separate from the NautilusFile object. NautilusFile
was munging URLs that had queries in them, causing big problems
for the software catalog among other things. This is a good
short-term fix.
2000-10-25 Eskil Heyn Olsen <eskil@eazel.com>
* components/services/install/lib/eazel-install-query.c:
(eazel_install_simple_rpm_query):
Don't bomb out when db cannot be accessed.
2000-10-25 Michael Engber <engber@eazel.com>
* libnautilus-extensions/nautilus-list.c:
(nautilus_list_set_selection):
nautilus_list_set_selection used to pass a bogus NautilusCListRow*
to row_set_selected
* src/file-manager/fm-directory-view.c:
(fm_directory_view_new_folder):
whitespace change
* src/file-manager/fm-list-view.c:
comment corrected
2000-10-25 Darin Adler <darin@eazel.com>
* components/adapter/bonobo-stream-vfs.c: (vfs_get_info),
(vfs_set_info), (vfs_write), (vfs_read), (vfs_seek), (vfs_copy_to),
(vfs_commit), (vfs_revert), (vfs_destroy),
(bonobo_stream_vfs_class_init), (bonobo_stream_vfs_open):
Update for changes to the BonoboStream class. Also did a thorough code
review, fixed some small bugs, and added a bunch of FIXMEs for things
that are broken.
2000-10-25 Ramiro Estrugo <ramiro@eazel.com>
* components/services/nautilus-dependent-shared/eazel-services-constants.h:
Removed. It was a bad try. Stuff is now in eazel-services-extensions.h.
* components/services/nautilus-dependent-shared/Makefile.am:
* components/services/nautilus-dependent-shared/eazel-services-extensions.c:
(pixbuf_new_from_name), (eazel_services_image_new),
(eazel_services_label_new):
* components/services/nautilus-dependent-shared/eazel-services-extensions.h:
Add a place to put shared services extensions.
* components/services/nautilus-dependent-shared/eazel-services-footer.c:
(footer_item_new), (footer_remainder_new),
(eazel_services_footer_update):
* components/services/nautilus-dependent-shared/eazel-services-header.c:
(eazel_services_header_new):
* components/services/nautilus-dependent-shared/test-footer-header.c:
Remove a bunch of duplicated code and put it in a shared
extensions location. Make the footer real. Add an item_clicked
signal to the footer.
* components/services/summary/nautilus-view/nautilus-summary-view.c:
Hook up the footer for item clicks.
* libnautilus-extensions/nautilus-image.c:
(nautilus_image_new_loaded):
* libnautilus-extensions/nautilus-image.h:
* libnautilus-extensions/nautilus-label.c:
(nautilus_label_new_loaded):
* libnautilus-extensions/nautilus-label.h:
Add constructors that take a bunch of arguments for the various
widgets attributes. Makes the widgets easier to use for callers
that need to tweak many attributes (like eazel services).
2000-10-25 Ramiro Estrugo <ramiro@eazel.com>
* components/services/nautilus-dependent-shared/.cvsignore:
* components/services/nautilus-dependent-shared/Makefile.am:
* components/services/nautilus-dependent-shared/eazel-services-constants.h:
* components/services/nautilus-dependent-shared/eazel-services-footer.c:
(eazel_services_footer_initialize_class),
(eazel_services_footer_initialize), (footer_destroy),
(pixbuf_new_from_name), (label_new), (label_enter_event),
(label_leave_event), (label_button_press_event), (label_free_data),
(label_free_uri), (image_new), (image_new_from_name),
(buffered_widget_add_prelighting), (footer_item_new),
(footer_remainder_new), (eazel_services_footer_new),
(eazel_services_footer_update):
* components/services/nautilus-dependent-shared/eazel-services-footer.h:
* components/services/nautilus-dependent-shared/eazel-services-header.c:
(eazel_services_header_initialize_class),
(eazel_services_header_initialize), (header_destroy),
(pixbuf_new_from_name), (label_new), (image_new),
(image_new_from_name), (eazel_services_header_new),
(eazel_services_header_set_text):
* components/services/nautilus-dependent-shared/eazel-services-header.h:
Two new widgets to deal with services views headers and footers.
* components/services/install/nautilus-view/nautilus-service-install-view.c:
(generate_install_form):
* components/services/login/nautilus-view/nautilus-change-password-view.c:
(generate_change_password_form):
* components/services/summary/nautilus-view/nautilus-summary-view.c:
(generate_summary_form):
Use the new footer and header widgets.
* components/services/nautilus-dependent-shared/shared-service-widgets.c:
* components/services/nautilus-dependent-shared/shared-service-widgets.h:
Retire some old code.
* components/services/nautilus-dependent-shared/test-footer-header.c:
(delete_event), (main):
Add a test for the new header and footer widgets.
2000-10-25 Ramiro Estrugo <ramiro@eazel.com>
* libnautilus-extensions/nautilus-label.c:
(nautilus_label_size_request), (render_buffer_pixbuf):
Make sure text layout honors the vertical and horizontal offsets.
(nautilus_scalable_font_draw_text):
* test/test-nautilus-image.c: (label_new), (label_enter_event),
(label_leave_event), (label_free_data),
(buffered_widget_add_prelighting), (header_new), (footer_item_new),
(footer_remainder_new), (footer_new), (main):
More work on prelighting footers.
2000-10-25 Andy Hertzfeld <andy@eazel.com>
* components/services/nautilus-dependent-shared/shared-service-widg
ets.c: (create_image_widget), (create_image_widget_from_uri):
fixed bug where local images were not showing up in the summary
view.
2000-10-24 Andy Hertzfeld <andy@eazel.com>
worked on bug 3898, selection in the aa icon view is too slow.
Fixed by using a fill to make the selection pixbuf with some tiny
blits for the rounded corners, instead of stretching a pixbuf.
Also, made the selection color themable in the process.
* libnautilus-extensions/nautilus-icon-canvas-item.c:
(clear_rounded_corners), (draw_label_text_aa):
make the selection pixbuf with a fill and then some
blits for the corner.
* libnautilus-extensions/nautilus-icon-container.c:
(nautilus_icon_container_initialize), (icon_destroy),
(nautilus_icon_container_set_is_fixed_size),
(nautilus_icon_container_theme_changed):
made it read the selection color from the current theme
* libnautilus-extensions/nautilus-icon-private.h:
added a field to keep the selection color w/alpha.
* icons/default.xml:
added semi-transparent gray selection color to default theme.
2000-10-24 Ramiro Estrugo <ramiro@eazel.com>
* libnautilus-extensions/nautilus-buffered-widget.c:
Remove a bunch of extraneous includes.
2000-10-24 Ramiro Estrugo <ramiro@eazel.com>
* components/services/nautilus-dependent-shared/icons/Makefile.am:
Rename one of the icons.
* test/test-nautilus-image.c: (delete_event), (icon_get_path),
(pixbuf_new_from_name), (label_new), (label_enter_event),
(label_leave_event), (label_new_with_prelight), (image_new),
(image_new_from_name), (header_new), (footer_new), (main):
Add better test for image and label widgets.
2000-10-24 Ramiro Estrugo <ramiro@eazel.com>
* librsvg/Makefile.am:
Fix the broken build. Add missing header to sources.
2000-10-24 Eskil Heyn Olsen <eskil@eazel.com>
* components/services/install/lib/eazel-install-logic.c:
Moved a CORBA include, so EAZEL_INSTALL_NO_CORBA doesn't include
it
* components/services/time/command-line/main.c: (main):
* components/services/time/idl/trilobite-eazel-time-service.idl:
* components/services/time/nautilus-view/trilobite-eazel-time-view.
c: (server_button_pressed), (timediff_button_pressed),
(trilobite_eazel_time_view_initialize),
(trilobite_eazel_time_view_destroy):
* components/services/time/service/trilobite-eazel-time-service-pri
vate.h:
* components/services/time/service/trilobite-eazel-time-service.c:
(impl_Trilobite_Eazel_Time_Service_set_time_server),
(trilobite_eazel_time_service_get_epv),
(trilobite_eazel_time_service_finalize),
(trilobite_eazel_time_service_initialize_load_config),
(get_nist_time), (trilobite_eazel_time_service_get_server_time):
Revived the timeservice, made it use nist/ntp (defaults to
nist1.sjc.certifiedtime.com). Uses code from gnuclear to do the
actual nist parse.
* nautilus-installer/src/Makefile:
Yes.
* nautilus-installer/src/installer.c: (start_over),
(add_update_package), (eazel_install_preflight), (check_system),
(more_check_system):
Fixed the "will update eog && will remove eog" bug. Now it just
say "will update eog x 2". Also checks for rh7.x and rpm v.4.x
* nautilus-installer/src/prescript:
Temporarily hacked prescript to run
/h/public/bin/eazel-trilobite-configure (if present), and set
nautilus to use gegl as services server.
* nautilus.spec.in:
Updated deps to ORBit >= 0.5.3 and oaf >= 0.6.0
2000-10-24 Robey Pointer <robey@eazel.com>
* libnautilus-extensions/nautilus-directory-async.c:
(mime_list_callback):
Fix a typo that caused a failure to not report that it failed.
2000-10-24 Ramiro Estrugo <ramiro@eazel.com>
* components/services/nautilus-dependent-shared/icons/Makefile.am:
* components/services/nautilus-dependent-shared/icons/eazel-logo-left-side-repeat.png:
* components/services/nautilus-dependent-shared/icons/eazel-logo-right-side-eazel-logo.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:
New icons for summary view.
2000-10-24 Andy Hertzfeld <andy@eazel.com>
* components/services/summary/nautilus-view/nautilus-summary-view.c
: (generate_summary_form), (generate_service_entry_row),
(generate_eazel_news_entry_row), (generate_update_news_entry_row):
lots of layout tweaks to please Arlo; it's still not finished yet
since I wasn't able to shrink the news section properly
* libnautilus-extensions/nautilus-tabs.c:
(nautilus_tabs_initialize), (draw_tab_label), (draw_all_tabs),
(nautilus_tabs_prelight_tab), (nautilus_tabs_select_tab):
changed font size, text spacing and prelight behaviour as
specified by Arlo.
* icons/eazel/Back.png:
* icons/eazel/Forward.png:
* icons/eazel/Home.png:
* icons/eazel/Refresh.png:
* icons/eazel/Search.png:
* icons/eazel/SearchWeb.png:
* icons/eazel/Services.png:
* icons/eazel/Stop.png:
* icons/eazel/Up.png:
updated Susan's toolbar icons
2000-10-24 Arlo Rose <arlo@eazel.com>
* components/services/summary/nautilus-view/icons/
gray_tab_pieces/prelight-active-bridge.png:
Fixed a typo.
2000-10-24 Ramiro Estrugo <ramiro@eazel.com>
* librsvg/Makefile.am:
* librsvg/art_rgba.c: (art_rgba_rgba_composite),
(art_rgba_fill_run), (art_rgba_run_alpha):
* librsvg/art_rgba.h:
* librsvg/rsvg.c:
Make Raph's latest changes work with the old version of libart in
gnome-libs-1-0.
2000-10-24 Arlo Rose <arlo@eazel.com>
* icons/arlo/Makefile.am:
* icons/arlo/i-directory.xml:
* icons/arlo/emblem-nowrite-72.png:
* icons/arlo/emblem-nowrite-96.png:
Some old stuff I guess I never checked in...
* components/services/summary/nautilus-view/icons/
gray_tab_pieces/prelight-fill.png:
* components/services/summary/nautilus-view/icons/
gray_tab_pieces/active-prelight-bridge.png:
* components/services/summary/nautilus-view/icons/
gray_tab_pieces/prelight-active-bridge.png:
* components/services/summary/nautilus-view/icons/
gray_tab_pieces/prelight-right-bumper.png:
* components/services/summary/nautilus-view/icons/
gray_tab_pieces/prelight-left-bumper.png:
Making the summary view tabs pre-light better.
2000-10-24 Raph Levien <raph@acm.org>
* librsvg/rsvg.c: Implemented the "opacity" property for objects
and groups. This makes rsvg render more SVG files exported from
Adobe Illustrator 9 correctly and should make Arlo happy.
* librsvg/opacity.svg: New test file including opacity examples.
2000-10-24 J Shane Culpepper <pepper@eazel.com>
* components/services/summary/nautilus-view/nautilus-summary-view.c
: (generate_update_news_entry_row), (authn_cb_failed),
(login_button_cb), (generate_login_dialog),
(nautilus_summary_view_load_uri):
Adding login changes to the summary view. Still needs a bit more
work but looks better.
2000-10-24 Michael Engber <engber@eazel.com>
* libnautilus-extensions/nautilus-glib-extensions.c:
(nautilus_g_hash_table_remove_deep_custom),
(nautilus_g_hash_table_destroy_deep_helper):
These two fns now properly handle key == value (won't double free)
2000-10-24 Michael Engber <engber@eazel.com>
* libnautilus-extensions/nautilus-file-operations.c:
(handle_xfer_ok):
* libnautilus-extensions/nautilus-glib-extensions.c:
(nautilus_g_hash_table_remove_deep_custom),
(nautilus_g_hash_table_remove_deep),
(nautilus_g_hash_table_destroy_deep_helper),
(nautilus_g_hash_table_destroy_deep_custom),
(nautilus_g_hash_table_destroy_deep):
* libnautilus-extensions/nautilus-glib-extensions.h:
* src/file-manager/fm-directory-view.c: (debuting_uri_data_free):
Fix embarrassing check-in sloppiness
2000-10-24 Michael Engber <engber@eazel.com>
* libnautilus-extensions/nautilus-glib-extensions.c:
(nautilus_g_hash_table_remove_deep_custom),
(nautilus_g_hash_table_remove_deep),
(nautilus_g_hash_table_free_deep_helper),
(nautilus_g_hash_table_free_deep_custom),
(nautilus_g_hash_table_free_deep):
* libnautilus-extensions/nautilus-glib-extensions.h:
Fixed APIs of new utils to match existing, similar, fns.
* src/file-manager/fm-directory-view.c: (debuting_uri_data_free),
(debuting_uri_add_file_callback), (copy_move_done_data_free),
(pre_copy_move_add_file_callback), (copy_move_done_partition_func),
(copy_move_done_callback):
Icons now left selected after copy_move operation.
2000-10-24 Brian Frank <bfrank@eazel.com>
* data/static_bookmarks.xml
Updated bookmarks list to current links
2000-10-24 Darin Adler <darin@eazel.com>
Some work towards reducing load_directory calls.
Also fixed bug 3978 (Many Bonobo warnings/errors on quit).
* libnautilus-extensions/nautilus-directory-async.c:
(set_up_request_by_file_attributes),
(update_file_info_in_list_if_needed),
(dequeue_pending_idle_callback), (request_is_satisfied),
(get_info_callback), (file_info_start):
* libnautilus-extensions/nautilus-directory-private.h:
* libnautilus-extensions/nautilus-file-attributes.h:
* libnautilus-extensions/nautilus-file-private.h:
* libnautilus-extensions/nautilus-file.c:
(nautilus_file_new_from_info), (destroy),
(nautilus_file_update_info), (nautilus_file_update_name),
(nautilus_file_compare_by_type),
(nautilus_file_get_string_attribute), (get_description),
(update_description_for_link), (nautilus_file_get_type_as_string),
(nautilus_file_get_mime_type), (nautilus_file_is_mime_type),
(nautilus_file_check_if_ready):
* libnautilus-extensions/nautilus-file.h:
* libnautilus-extensions/nautilus-mime-actions.c:
(nautilus_mime_actions_get_required_file_attributes),
(nautilus_mime_get_default_action_type_for_file),
(nautilus_mime_get_default_application_for_file_internal),
(nautilus_mime_get_default_component_for_file_internal),
(nautilus_mime_get_short_list_applications_for_file),
(nautilus_mime_get_short_list_components_for_file),
(nautilus_mime_get_short_list_methods_for_file),
(nautilus_mime_get_all_applications_for_file),
(nautilus_mime_get_all_components_for_file),
(nautilus_mime_set_short_list_applications_for_file),
(nautilus_mime_set_short_list_components_for_file):
Get rid of the distinction between slow and default MIME type once
again. We (Pavel, Maciej, John, and I) decided it's better not to
have multiple opinions on the MIME type, despite our original idea
that we needed the slow MIME type for some things, even on remote
file systems.
* libnautilus-extensions/nautilus-glib-extensions.h:
Fixed the formatting in this file.
* src/file-manager/fm-directory-view.c: (load_location_callback):
Only force a reload if we are reloading the same directory. This
is needed to take advantage of the loading already done for us by
the framework.
(load_directory): Take a NautilusDirectory instead of a URI string.
Also take a boolean parameter to control if we force a reload.
(finish_loading_uri): Respect the boolean parameter that tells us
whether to force a reload.
(filtering_changed_callback): Use the new load_directory.
* src/nautilus-applicable-views.c: (nautilus_navigation_info_new),
(nautilus_navigation_info_cancel), (nautilus_navigation_info_free):
Monitor the directory while we are loading the component. We
already need to load the directory to get the MIME types, so this
does no additional harm, and it prepares us to consolidate the
loading done for different reasons.
* src/nautilus-main.c: (main): Use nautilus_setenv instead of
putenv, since it's more portable.
* src/nautilus-window-manage-views.c: Quick simplification pass on
state machine. Got rid of the use of varargs and renamed a bunch
of things.
* src/nautilus-window-manage-views.h:
* src/nautilus-window-private.h:
Moved external functions from nautilus-window-manage-views.c to
all be in nautilus-window-manager-views.h. This is one step in
reducing the number of clients that need access to private stuff
in NautilusWindow.
* src/nautilus-window-service-ui.c: (detach_service_ui),
(nautilus_window_install_service_ui): Detach the service UI on
"destroy" rather that using set_data_full, because finalize time
is too late.
* src/nautilus-view-frame.c: (nautilus_view_frame_destroy):
Got rid of extra unref that was messing things up here.
2000-10-24 Ramiro Estrugo <ramiro@eazel.com>
* components/mozilla/nautilus-mozilla-content-view.c:
(uris_are_equal), (nautilus_mozilla_content_view_load_uri):
Fix for bug 3908. Browsing to web documents deeper than the root
is broken. I fixed it by backing out my previous broken fix for
"reloading" a web page. There is a separate bug for the reload
issue which ill fix properly later.
2000-10-24 Ramiro Estrugo <ramiro@eazel.com>
* configure.in:
Make the require rpm version be 3.0.4 or greater. Not just 3.0.4.
2000-10-24 Andy Hertzfeld <andy@eazel.com>
added new certified emblem from Susan
* data/emblems/Makefile.am:
* data/emblems/certified.png:
added certified.png
* icons/Makefile.am:
* icons/emblem-certified.svg:
added emblem-certified.svg, removed emblem-certified.gif
2000-10-23 Pavel Cisler <pavel@eazel.com>
* libnautilus-extensions/nautilus-file-operations.c:
(parse_previous_duplicate_name),
(nautilus_self_check_file_operations):
Fix 3971 - "duplicate" from context-click menu adds space to
beginning of the name.
This was a case of misinterpretting files such as ".bashrc" as
an extension.
Added tests that catch this problem and fixed it.
2000-10-24 Josh Barrow <josh@eazel.com>
* nautilus.spec.in:
Make it require 3.0.4 or *greater*. I'm using 3.0.5 and it
works fine.
2000-10-23 Robey Pointer <robey@eazel.com>
* components/services/install/lib/eazel-install-types.c:
(categorydata_new):
* components/services/install/lib/eazel-install-types.h:
* components/services/install/lib/eazel-install-xml-package-list.c:
(parse_category):
* nautilus-installer/src/installer.c: (strip_categories),
(start_over_make_category_func), (start_over),
(jump_to_retry_page), (add_force_packages), (add_force_remove),
(add_update_package), (toggle_button_toggled),
(eazel_installer_add_category), (eazel_installer_do_install):
add <EXCLUSIVE/> tag to categories in package-list.xml to indicate
that a category can't be selected with any other category (it's
mutually exclusive with them). added puppet-strings to the
bootstrap installer to support that.
2000-10-23 Eskil Heyn Olsen <eskil@eazel.com>
* user-guide/C/Makefile.am:
Fixing tinderbox build.
2000-10-23 Eskil Heyn Olsen <eskil@eazel.com>
* configure.in:
Some code to test for rpm version. We require 3.0.4. If it fucks
up, feel free to revert.
* components/services/install/lib/eazel-install-private.h:
* components/services/install/lib/eazel-install-object.c:
Moved the DEFAULT_RPM_DB_ROOT into -private.h
* components/services/install/lib/eazel-install-query.c:
(eazel_install_simple_rpm_query):
Code so you can call the query function directly
(EAZEL_INSTALL_SLIM/NO_CORBA)
* components/services/install/lib/eazel-install-types.c:
(packagedata_fill_from_rpm_header):
Moved support for rpm < 3.0.4
* nautilus-installer/src/Makefile:
* nautilus-installer/src/callbacks.c: (begin_install):
* nautilus-installer/src/installer.c: (insert_info_page),
(create_window), (check_system), (more_check_system),
(eazel_installer_initialize):
If eazel-hacking is installed, offer to remove it.
2000-10-23 Mike Fleming <mfleming@eazel.com>
* components/services/summary/nautilus-view/main.c: (main):
Add gconf-init
* components/services/summary/nautilus-view/nautilus-summary-view.c
: (save_default_eazel_service_user), (authn_cb_succeeded),
(am_i_logged_in), (logged_in_callback),
(nautilus_summary_view_initialize),
(nautilus_summary_view_destroy):
Store previously used Eazel Service user for later. The ammonite
login dialog makes use of this as the default username.
2000-10-23 Robey Pointer <robey@eazel.com>
* components/services/install/lib/eazel-install-types.c:
(packagedata_fill_from_rpm_header):
Fix a few warnings that show up on older rpmlibs.
2000-10-23 Pavel Cisler <pavel@eazel.com>
Last part of fix to 2989 - Disk thrashing on Nautilus startup.
* libnautilus-extensions/nautilus-trash-directory.c: (add_volume):
When starting up, don't try to create a Trash up-front, just search
for existing Trash directories. The first time Nautilus ever runs,
this will still take the same ammount of time, the next time it
will use the cached entries.
* src/file-manager/fm-directory-view.c:
(fm_directory_view_can_move_file_to_trash):
Trash monitor no longer creates Trash directories on startup.
Create them lazily when trying to move an item to the Trash.
2000-10-23 Mathieu Lacage <mathieu@eazel.com>
* user-guide/C/Makefile.am: make it install files for real...
2000-10-23 Gene Z. Ragan <gzr@eazel.com>
Fixed bug 1945, Image viewer component does not display XPMs
Fixed bug 1964, doesn't load xpm images using the loader framework.
* components/image-viewer/nautilus-image-view.c:
(load_image_from_stream):
Fixed some leaks and call close on the loader to fix TIFF and XPM loading.
* libnautilus-extensions/nautilus-gdk-pixbuf-extensions.c:
(nautilus_gdk_pixbuf_load):
Now it does. Loader must be closed to cause callbacks an non-progressive
loaders to complete.
* components/services/install/lib/eazel-install-types.c:
(packagedata_fill_from_rpm_header):
Fixed a couple of build breaking unitilaized variable warnings.
* components/tree/nautilus-tree-view.c:
Updated function call to new prototype that was causing build to fail.
2000-10-23 Mathieu Lacage <mathieu@eazel.com>
* components/help/hyperbola-filefmt.c:
(fmt_help_populate_tree_from_subdir): add lookup
for sgml and xml files.
2000-10-23 Robey Pointer <robey@eazel.com>
* components/services/install/lib/eazel-install-xml-package-list.c:
(parse_local_xml_package_list):
* nautilus-installer/src/installer.c: (strip_categories),
(start_over_make_category_func), (start_over),
(jump_to_retry_page), (add_force_packages), (add_force_remove),
(add_update_package), (eazel_installer_add_category),
(eazel_installer_do_install), (eazel_installer_initialize):
* nautilus-installer/src/link.sh:
Reduce category description text to 10pt and adjust the layout to
match Arlo specs. Change g_message's to LOG_DEBUG just to annoy
Eskil (actually, so we can turn them on/off easily with --debug).
2000-10-23 Michael Engber <engber@eazel.com>
* libnautilus-extensions/nautilus-file-operations.c:
(handle_xfer_ok), (sync_xfer_callback),
(nautilus_file_operations_copy_move),
(nautilus_file_operations_move_to_trash),
(nautilus_file_operations_delete), (do_empty_trash):
* libnautilus-extensions/nautilus-file-operations.h:
Added callback for copy_move operation - to support
selecting icons afterward.
* libnautilus-extensions/nautilus-glib-extensions.c:
(nautilus_g_hash_table_remove_deep_custom),
(nautilus_g_hash_table_remove_deep),
(nautilus_g_hash_table_free_deep_helper),
(nautilus_g_hash_table_free_deep_custom),
(nautilus_g_hash_table_free_deep):
* libnautilus-extensions/nautilus-glib-extensions.h:
Added misc hash table utilities
* src/file-manager/fm-directory-view.c: (debuting_uri_data_free),
(debuting_uri_add_file_callback), (copy_move_done_data_free),
(pre_copy_move_add_file_callback), (pre_copy_move),
(copy_move_done_partition_func), (copy_move_done_callback),
(fm_directory_view_create_links_for_files),
(fm_directory_view_duplicate_selection), (new_folder_done),
(fm_directory_view_new_folder),
(fm_directory_view_move_copy_items):
Hooked up to new copy_move callback. There are still problems,
the icons get unselected by someone after they're selected.
2000-10-23 Eskil Heyn Olsen <eskil@eazel.com>
* README:
Added that we require rpm 3.0.4 if --enable-eazel-service
* components/services/install/lib/eazel-install-types.c:
(packagedata_fill_from_rpm_header):
Fix for older rpm's (although installation will probably still
be borked, should insert #error instead.
* nautilus.spec.in:
nautilus-trilobite requires rpm = 3.0.4
2000-10-23 Robey Pointer <robey@eazel.com>
* components/services/install/nautilus-view/nautilus-service-instal
l-view.c: (create_package):
Nautilus doesn't always encode "rpm_id=" into "rpm_id%3D", so
check for both.
2000-10-23 Darin Adler <darin@eazel.com>
* Makefile.shared: Fix extra dependency that was causing the xml.h
files to be generated too often.
* configure.in: Fix code that detects the gcc options to work even
with -O on.
* src/nautilus-view-frame.h:
* src/nautilus-view-frame.c:
(nautilus_view_frame_initialize_class),
(view_frame_loaded), (view_frame_failed),
(nautilus_view_frame_handle_client_destroy),
(nautilus_view_frame_handle_client_gone),
(nautilus_view_frame_new), (check_if_view_is_gone),
(nautilus_view_frame_set_to_component),
(nautilus_view_frame_get_is_underway):
Revamp set of signals to be easier to understand. Handle all
failures uniformly,
* src/nautilus-window-manage-views.h:
* src/nautilus-window-manage-views.c: (change_selection),
(nautilus_window_update_for_new_location),
(nautilus_window_has_really_changed),
(nautilus_window_set_state_info),
(nautilus_window_set_sidebar_panels),
(zoom_level_changed_callback), (get_history_list_callback),
(change_selection_callback), (change_status_callback),
(failed_callback), (load_underway_callback),
(load_complete_callback), (open_location_callback),
(open_location_in_new_window_callback), (title_changed_callback),
(nautilus_window_connect_view), (nautilus_window_disconnect_view):
Make more of the view management private to this file. Use the
signals by their new names. Disconnect all the signals, not just
the error-related ones.
* src/nautilus-window.c:
(nautilus_window_set_content_view_widget): Updated the debugging
check to do it with the new Bonobo UI calls.
2000-10-23 Andy Hertzfeld <andy@eazel.com>
* components/services/summary/nautilus-view/nautilus-summary-view.c
: (generate_summary_form):
made the summary view not display the news section when there is
no news to display.
2000-10-23 Eskil Heyn Olsen <eskil@eazel.com>
* components/services/install/idl/trilobite-eazel-install.idl:
Added a comment to the ssl_rename variable.
Added a function stub for querying the server about packages. Not
impl yet.
* components/services/install/lib/eazel-install-logic.c:
(eazel_install_check_for_file_conflicts),
(eazel_install_do_transaction_fill_hash),
(eazel_install_monitor_process_pipe),
(eazel_install_monitor_err_process_pipe),
(eazel_install_monitor_subcommand_pipe),
(eazel_install_do_transaction_all_files_check),
(eazel_install_clean_name_to_package_hash),
(eazel_install_start_transaction),
(eazel_install_check_existing_packages),
(eazel_install_fetch_dependencies), (dump_one_package),
(eazel_install_do_file_conflict_check),
(eazel_install_ensure_deps), (eazel_uninstall_upward_traverse),
(eazel_uninstall_globber):
Added comments and clarified some variable names.
No file dep checking on --force.
No whatrequires check on uninstall on --force
Moved the all_files_check call into ensure_deps, so if packages
are pruned we can rerun ensure_deps.
No longer check if a provides file is a directory before conflict
check (not needed because of fix in eazel-install-types).
Calling g_main_iteration during file conflict checking if
EAZEL_INSTALL_SLIM is set.
Clean up some lists and hashtables at the end of a transaction.
* components/services/install/lib/eazel-install-private.h:
* components/services/install/lib/eazel-install-object.c:
(eazel_install_finalize), (eazel_install_class_initialize),
(eazel_install_initialize), (eazel_install_install_packages),
(eazel_install_uninstall_packages),
(eazel_install_revert_transaction_from_xmlstring),
(eazel_install_emit_done):
All default funcs are NULL if EAZEL_INSTALL_NO_CORBA set.
Set private->revert to TRUE during revert.
Some more debug output.
* components/services/install/lib/eazel-install-protocols.c:
(http_fetch_remote_file), (eazel_install_fetch_file),
(eazel_install_fetch_package), (get_search_url_for_package):
Don't add the package to downloaded_files list till after we've
checked the version and name.
If revert, use &flag=8 otherwise 12.
* components/services/install/lib/eazel-install-query.c:
(eazel_install_simple_rpm_query):
Assert that the dbs hashtable is !null.
* components/services/install/lib/eazel-install-rpm-glue.h:
* components/services/install/lib/eazel-install-rpm-glue.c:
(eazel_install_rpm_set_settings),
(eazel_install_start_transaction_make_rpm_argument_list),
(eazel_install_monitor_rpm_process_pipe),
(eazel_install_free_rpm_system),
(eazel_install_prepare_rpm_system),
(eazel_install_package_modifies_provides_compare),
(eazel_install_do_rpm_dependency_check):
Loads of debug code to grab stderr & stdout output from rpm.
More comments in the do_rpm_dependency_check func.
* components/services/install/lib/eazel-install-types.h:
* components/services/install/lib/eazel-install-types.c:
(categorydata_new), (categorydata_list_copy), (categorydata_copy),
(packagedata_list_copy), (packagedata_copy),
(packagedata_fill_from_rpm_header), (packagedata_destroy):
Added a boolean flag to packagedata_copy, toggles whether or not
to deep copy.
Fix rpm header load to not add directories to the ->provides list
(using a wonderfull O(nē) function, I'll leave it to the reader to
improve it).
Uncommented the rpmheaderFree call.
* components/services/install/lib/eazel-install-xml-package-list.c:
(eazel_install_packagelist_to_xml):
More debug output (we can never have enough!)
* nautilus-installer/src/Makefile:
Yes.
* nautilus-installer/src/callbacks.c: (druid_cancel),
(druid_delete), (begin_install), (druid_finish), (prep_install):
* nautilus-installer/src/installer.c: (create_what_to_do_page),
(strip_categories), (start_over_make_category_func), (start_over),
(jump_to_retry_page), (create_window), (eazel_install_progress),
(eazel_download_progress), (add_force_packages),
(add_force_remove), (add_update_package), (get_required_name),
(get_detailed_errors_foreach), (get_detailed_errors),
(eazel_install_preflight), (eazel_install_delete_files),
(install_done), (check_system), (eazel_installer_do_install),
(eazel_installer_initialize):
* nautilus-installer/src/installer.h:
* nautilus-installer/src/link.sh:
* nautilus-installer/src/main.c: (main):
Now takes a --tmpdir argument
Puts builddate in window title
Has a system for creating RepairCases when traversing a tree in
install_failed signal handler.
Now handles stuff like "need to updage eog" and then there is no
update for eog.
Hopefully also handles circular conflict cases.
Now has a completely obfuscated call stack...
2000-10-23 Mathieu Lacage <mathieu@eazel.com>
* user-guide/C/sgml/chapter-1.sgml:
applying patch from John Fleck to make it work better
with the current gnome-db2html behaviour.
2000-10-23 John Sullivan <sullivan@eazel.com>
* src/nautilus-window-menus.c: (append_bookmark_to_menu):
Fixed memory leak I happened to notice.
2000-10-23 J Shane Culpepper <pepper@eazel.com>
* nautilus.spec.in:
Fixing the spec to pick up new image directory.
2000-10-23 John Sullivan <sullivan@eazel.com>
Fixed 3568: Bonobo verbs and data leak when menus rebuilt
Michael Meeks added verb-removing support to Bonobo, which
I have now deployed in Nautilus.
* libnautilus-extensions/nautilus-bonobo-extensions.h:
* libnautilus-extensions/nautilus-bonobo-extensions.c:
(remove_verbs): New function, walks through the XML nodes
beneath a specified path and removes each verb it finds.
(nautilus_bonobo_remove_menu_items_and_verbs): Now calls
remove_verbs; also changed name from _remove_menu_items
for clarity.
* src/file-manager/fm-directory-view.c:
(reset_bonobo_open_with_menu):
* src/nautilus-window-menus.c:
(nautilus_window_remove_bookmarks_menu_items),
(nautilus_window_remove_go_menu_items): Removed FIXMEs
and updated for name change.
2000-10-23 John Sullivan <sullivan@eazel.com>
* src/nautilus-applicable-views.c:
(get_nautilus_navigation_result_from_gnome_vfs_result):
Improved the warning message output to the terminal when
get-file-info returns a GnomeVFSResult for which we don't
have a nice user error message.
2000-10-23 Mike Fleming <mfleming@eazel.com>
* components/services/trilobite/libtrilobite/trilobite-redirect.c:
(trilobite_get_services_address)
Added small comment to currently unused function with regards to
format of gconf paramameter (services-host)
2000-10-22 Martin Baulig <baulig@suse.de>
This is Maciej checking in Martin's fix for 3691. Credit to him,
blame to me.
* components/adapter/nautilus-adapter-embed-strategy.h
(NautilusAdapterEmbedStrategyClass): Added "activate" and "deactivate"
signals.
(nautilus_adapter_embed_strategy_get): Removed ui_container argument.
(nautilus_adapter_embed_strategy_activate): New function; emits
the "activate" signal.
(nautilus_adapter_embed_strategy_deactivate): New function; emits
the "deactivate" signal.
* components/adapter/nautilus-adapter-control-embed-strategy.c
(nautilus_adapter_control_embed_strategy_activate): New static function;
this is the handler of the "activate" signal.
(nautilus_adapter_control_embed_strategy_deactivate): New static function;
this is the handler of the "deactivate" signal.
* components/adapter/nautilus-adapter-embeddable-embed-strategy.c
(nautilus_adapter_embeddable_embed_strategy_activate): New static function;
this is the handler of the "activate" signal.
(nautilus_adapter_embeddable_embed_strategy_deactivate): New static function;
this is the handler of the "deactivate" signal.
* components/adapter/nautilus-adapter.c (nautilus_adapter_activate_callback):
New static function; connect this to the "activate" signal of the adapter
control.
2000-10-23 Kjartan Maraas <kmaraas@gnome.org>
* src/nautilus-shell-ui.xml.h: Check in a file containing
the strings to be translated instead of the 0-byte file that's
there now.
2000-10-23 Andy Hertzfeld <andy@eazel.com>
* components/services/summary/nautilus-view/nautilus-summary-view.c
: (generate_summary_form), (service_tab_selected_callback),
(updates_tab_selected_callback):
made the updates section of the summary use the new, image-based tabs.
* libnautilus-extensions/nautilus-tabs.c: (draw_all_tabs):
made it handle the right edge for the single tab case properly.
2000-10-22 Andy Hertzfeld <set EMAIL_ADDRESS environment variable>
* components/services/summary/
nautilus-view/nautilus-summary-view.c
: (generate_summary_form), (generate_login_dialog),
(nautilus_summary_view_load_uri), (service_tab_selected_callback):
added image-based tabs to the summary view. Also, fixed problem where
the throbber kept spinning until the login dialog was dismissed by
making it a non-modal dialog by refraining from calling gnome_run_dialog
Currently, only the service tabs have been converted but the update
tab is coming soon.
* libnautilus-extensions/Makefile.am:
* libnautilus-extensions/nautilus-tabs.c:
(nautilus_tabs_initialize_class), (nautilus_tabs_initialize),
(nautilus_tabs_new), (tab_item_destroy), (tab_item_destroy_cover),
(nautilus_tabs_destroy), (nautilus_tabs_unload_tab_pieces),
(load_tab_piece), (nautilus_tabs_load_tab_pieces),
(nautilus_tabs_hit_test), (measure_height), (recalculate_size),
(nautilus_tabs_size_request), (draw_tab_piece_aa),
(draw_pixbuf_tiled_aa), (allocate_cleared_pixbuf),
(measure_tab_name), (draw_tab_label), (draw_all_tabs),
(tab_item_find_by_name), (nautilus_tabs_expose),
(nautilus_tabs_draw), (nautilus_tabs_add_tab),
(nautilus_tabs_remove_tab), (nautilus_tabs_prelight_tab),
(nautilus_tabs_select_tab), (nautilus_tabs_press_event),
(nautilus_tabs_leave_event), (nautilus_tabs_motion_event):
* libnautilus-extensions/nautilus-tabs.h:
added a new class for the fancy Arlo tabs in the summary view,
based on the sidebar tabs.
* configure.in:
* components/services/summary/
nautilus-view/Makefile.am:
* components/services/summary/
nautilus-view/icons/.cvsignore:
* components/services/summary/
nautilus-view/icons/Makefile.am:
* components/services/summary/
nautilus-view/icons/gray_tab_pieces/.cvsignore:
* components/services/summary/
nautilus-view/icons/gray_tab_pieces/*.png
added Arlo's new tab images for the summary view
* src/nautilus-property-browser.c:
(nautilus_property_browser_initialize), (add_new_button_callback),
(done_button_callback):
added a done button to the property dialog to make it easier to
dismiss it.
2000-10-22 Mike Fleming <mfleming@eazel.com>
* libnautilus-extensions/nautilus-stock-dialogs.c:
(timed_wait_free), (timed_wait_callback):
Made timed-wait dialog remember the dialog. Was being triggered
during a DAV rename w/ debug info on.
2000-10-22 Robert Brady <rwb197@zepler.org>
* configure.in: Added en_GB to ALL_LINGUAS.
Sun Oct 22 05:25:46 2000 George Lebl <jirka@5z.com>
* librsvg/rsvg-ft.c (rsvg_ft_ctx_done): Things allocated with
glib functions must be freed with g_free, not free
2000-10-21 Eskil Heyn Olsen <eskil@eazel.com>
* nautilus.spec.in:
Dep on bonobo>=0.24 and medusa >= 0.2.1
2000-10-21 Gene Z. Ragan <gzr@eazel.com>
* THANKS:
Added syncomm to THANKS file.
2000-10-21 Josh Barrow <josh@eazel.com>
* AUTHORS:
* THANKS:
* src/nautilus-window-menus.c: (help_menu_about_nautilus_callback):
Added Eli to the about box and moved him from THANKS to AUTHORS, per
Maciej.
2000-10-21 Ali Abdin <aliabdin@aucegypt.edu>
* components/help/converters/gnome-db2html2/toc-elements.c:
(toc_sect_end_element): Add in 'break;' at the appropriate areas of
the code. Should fix some issues. DOH!! This was also needed to fix
Bug #3863. Thank god for testers.
2000-10-21 Zbigniew Chyla <cyba@gnome.pl>
* configure.in: Added pl to ALL_LINGUAS.
2000-10-21 Mathieu Lacage <mathieu@eazel.com>
* user-guide/C/img/*.png: remove till I can find time to redo all
the screenshots: people are complaining it kills their bandwith for
no good reason.
2000-10-21 Ali Abdin <aliabdin@aucegypt.edu>
* components/help/converters/gnome-db2html2/sect-elements.c:
(sect_sect_end_element): Add in 'break;' at the appropriate areas of
the code. Should fix some issues. Fixes Bug #3863.
2000-10-21 Robey Pointer <robey@eazel.com>
* components/services/install/nautilus-view/nautilus-service-instal
l-view.c: (generate_install_form),
(nautilus_service_install_downloading),
(nautilus_service_install_installing):
Remove artificial pauses I was using for testing (oops), and
change the font size of the overall feedback text to something
readable in AA.
2000-10-20 John Fleck <jfleck@inkstain.net>
* user-guide/C/sgml/nautilus.sgml - changed "doctype" to "DOCTYPE"
in the dtd declaration. This is needed for gnome-db2html2 to
correctly render the document into html for Mozilla to display
2000-10-20 Robey Pointer <robey@eazel.com>
* components/services/install/idl/trilobite-eazel-install.idl:
* components/services/install/lib/eazel-install-corba-types.c:
(corba_packagedatastruct_from_packagedata),
(packagedata_from_corba_packagedatastruct):
* components/services/install/lib/eazel-install-protocols.c:
(get_url_for_package):
* components/services/install/lib/eazel-install-types.c:
(packagedata_new), (packagedata_copy),
(packagedata_fill_from_rpm_header), (packagedata_destroy):
* components/services/install/lib/eazel-install-types.h:
* components/services/install/lib/eazel-install-xml-package-list.c:
(parse_package), (eazel_install_packagedata_to_xml):
* components/services/install/nautilus-view/nautilus-service-instal
l-view.c: (add_padding_to_box), (generate_install_form),
(show_overall_feedback), (make_new_status),
(current_progress_bar_complete),
(nautilus_service_install_downloading),
(nautilus_service_install_installing),
(nautilus_service_install_view_update_from_uri):
Add package "summary" field to store the RPM one-line summary
field (we want to show it in the installer).
2000-10-20 Andy Hertzfeld <andy@eazel.com>
* libnautilus-extensions/nautilus-icon-container.c:
(nautilus_icon_container_update_icon):
at Arlo's urging, I removed the emblem scale pinning that was added
last week, which isn't right if you think of the emblems as part
of the icons like Arlo does. I also added an emblem scale factor to
make the emblems a more reasonable size.
* src/file-manager/fm-list-view.c:
fixed bug 3900, emblems too large in the list view, by correct
the LIST_VIEW_MINIMAL_EMBLEM_SIZE constant, which was set too large.
2000-10-20 John Sullivan <sullivan@eazel.com>
Fixed bug 3548 (modal error dialog is flakey in summary view)
I made a bunch of small improvements to this file. Most of
these had been checked in earlier but accidentally clobbered,
but there are some new ones too.
* components/services/summary/nautilus-view/nautilus-summary-view.c:
Removed feedback_text field from details struct. This was used in
an unnecessary and leak-inducing way before.
(generate_summary_form): Remove period following exclamation point
in on-screen text.
(error_dialog_retry_cb): Removed this function.
(set_dialog_parent): New helper function to parent a dialog on
the NautilusSummaryView's window.
(generate_error_dialog): Removed "Retry" button since it is
extremely unlikely to work, thus resulting in constant frustration;
Removed initialized but unused "reply" variable; removed extra
initialization of "dialog" variable; use OK button instead of
Cancel since there's only one button now; set up error message
with parameter instead of details field; set text justification
and line wrap to accommodate longer messages; parent the dialog
so it doesn't appear in some random place.
(authn_cb_failed): pass message to generate_error_dialog directly;
removed unnecessary capital letter in message.
(generate_login_dialog): remove initialized but unused "reply" variable;
change "Please Login" to "Please log in"; parent the dialog.
(nautilus_summary_view_load_uri): collapse a lot of identical code;
improve error messages; display error message when xml file couldn't
be parsed (was supposed to before, but wasn't); only generate the
summary form if xml file was parsed.
* libnautilus/nautilus-clipboard-ui.xml.h:
* src/file-manager/nautilus-directory-view-ui.xml.h:
* src/file-manager/nautilus-icon-view-ui.xml.h:
* src/file-manager/nautilus-search-list-view-ui.xml.h:
* src/nautilus-service-ui.xml.h:
* src/nautilus-shell-ui.xml.h:
2000-10-21 Mathieu Lacage <mathieu@eazel.com>
* user-guide/C/sgml/chapter-1.sgml:
stupid me: forgot a sect2 in the middle of nowhere...
2000-10-20 Rebecca Schulman <rebecka@eazel.com>
Fix for bug 1768, to put a hard limit on
the number of files for PR2. We do this
by keeping a count of confirmed files
in directories, and stopping a load once the confirmed
file count reaches a certain level.
* libnautilus-extensions/nautilus-directory-async.c:
(set_file_unconfirmed), (dequeue_pending_idle_callback),
(directory_load_one), (directory_load_done),
(directory_load_callback), (mark_all_files_unconfirmed),
(nautilus_directory_stop_monitoring_file_list):
Increment or decrement file count when marking a file confirmed
or unconfirmed.
* libnautilus-extensions/nautilus-directory-private.h:
add file count file
* libnautilus-extensions/nautilus-directory.c:
(nautilus_directory_add_file), (nautilus_directory_remove_file),
(nautilus_directory_file_list_length_reached):
increment and decrement file counts here when a file is added.
A file is always confirmed when it is initially added, so
increment always, but only decrement the count when we are
removing a confirmed file.
* libnautilus-extensions/nautilus-directory.h:
Add function nautilus_directory_file_list_length_reached
as public
* src/file-manager/fm-directory-view.c:
(check_for_directory_hard_limit), (done_loading):
when we finish loading the directory, display the hard limit
dialog if necesssary, to let the user know we've stopped the directory
load to prevent nautilus from overloading.
2000-10-20 Darin Adler <darin@eazel.com>
* components/loser/content/Makefile.am:
* components/loser/sidebar/Makefile.am:
* components/mozilla/Makefile.am:
* components/sample/Makefile.am:
* components/services/summary/nautilus-view/Makefile.am:
* libnautilus/Makefile.am:
* src/Makefile.am:
* src/file-manager/Makefile.am:
We need to include the .xml.h files in EXTRA_DIST. My mistake
turning that off (killed the Tinderbox).
* src/nautilus-window-manage-views.c:
(position_and_show_window_callback),
(nautilus_window_end_location_change_callback): Fix small ref
mistake I might have introduced with my last check-in.
2000-10-20 J Shane Culpepper <pepper@eazel.com>
* components/services/summary/nautilus-view/nautilus-summary-view.c:
* components/services/summary/nautilus-view/tests/README:
* components/services/summary/nautilus-view/tests/redirects.xml:
* components/services/summary/nautilus-view/tests/services.xml:
* src/nautilus-service-ui.xml.h:
Added simple test xmls to generate lots of entries in the summary view.
2000-10-20 Andy Hertzfeld <andy@eazel.com>
* components/services/summary/nautilus-view/nautilus-summary-view.c
: (generate_service_entry_row):
fixed a memory leak in the summary view, where it was allocating a
structure used in a callback but never releasing it.
2000-10-20 Andy Hertzfeld <andy@eazel.com>
* components/hardware/icons/Makefile.am:
* components/hardware/icons/CD_drive.png:
* components/hardware/nautilus-hardware-view.c:
(setup_overview_form):
added a better icon for CD drives from Susan, and used it in the
hardware view instead of the CD icon it was using.
2000-10-20 Gene Z. Ragan <gzr@eazel.com>
Fixed bug 3805, Nautilus tries to parse text files on the desktop as XML.
* libnautilus-extensions/nautilus-link.c:
(local_get_root_property):
Do a check on the mime type of the file before processing it as XML.
Also fix a bug where a NULL XMLDoc was being used.
2000-10-20 Andy Hertzfeld <andy@eazel.com>
fixed bug 3803, pin image size for downloaded images in summary
view
* components/services/nautilus-dependent-shared/shared-service-widg
ets.c: (create_image_widget_from_uri):
added optional image size pinning to create_image_widget_from_uri
* components/services/nautilus-dependent-shared/shared-service-widg
ets.h:
changed parameters to create_image_widget_from_uri
* components/services/summary/nautilus-view/nautilus-summary-view.c
: (generate_summary_form), (generate_service_entry_row),
(generate_eazel_news_entry_row), (generate_update_news_entry_row):
pinned downloaded images to a maximum size, fixing bug 3803. Also,
tweaked button layout a bit.
2000-10-20 Darin Adler <darin@eazel.com>
* Makefile.am:
* Makefile.shared:
* components/loser/content/Makefile.am:
* components/loser/sidebar/Makefile.am:
* components/mozilla/Makefile.am:
* components/sample/Makefile.am:
* components/services/install/command-line/Makefile.am:
* components/services/summary/nautilus-view/Makefile.am:
* libnautilus-extensions/Makefile.am:
* libnautilus/Makefile.am:
* src/Makefile.am:
* src/file-manager/Makefile.am:
Moved some shared Makefile stuff to a shared include file so we
don't use "copy and paste technology" in our Makefiles. Fixed the
rule that builds .xml.h files so it doesn't have to be copied and
pasted everywhere.
* components/loser/content/nautilus-content-loser-ui.xml.h:
* components/loser/sidebar/nautilus-sidebar-loser-ui.xml.h:
* components/mozilla/nautilus-mozilla-ui.xml.h:
* components/sample/nautilus-sample-content-view-ui.xml.h:
* libnautilus/nautilus-clipboard-ui.xml.h:
* src/file-manager/nautilus-directory-view-ui.xml.h:
* src/file-manager/nautilus-icon-view-ui.xml.h:
* src/file-manager/nautilus-search-list-view-ui.xml.h:
* src/nautilus-shell-ui.xml.h:
Regenerated the xml.h files with the new Bonobo tool, which keeps
things in alphabetical order to minimize cvs thrashing.
* components/services/summary/nautilus-view/Makefile.am:
* components/services/summary/nautilus-view/nautilus-summary-view-ui.xml.h:
Added localization for the summary view UI.
* src/Makefile.am:
Added localization for the service UI pieces.
* libnautilus-extensions/nautilus-buffered-widget.c:
(nautilus_buffered_widget_initialize),
(connect_to_background_if_needed): Fixed bug where the widget
would stay connected after the background was destroyed. John saw
it once, but I'm not sure how to reproduce it.
* nautilus.spec.in: Fix some bad spelling and strange wording.
* src/nautilus-applicable-views.h:
* src/nautilus-applicable-views.c: (got_file_info_callback),
(nautilus_navigation_info_new), (nautilus_navigation_info_cancel),
(nautilus_navigation_info_free),
(nautilus_navigation_info_get_location),
(nautilus_navigation_info_get_initial_content_id):
Removed lots of cruft from this class so it's private and can be
changed around a bit.
* src/nautilus-window-manage-views.c:
(nautilus_window_update_internals): Use the new
nautilus_navigation_info_get_location.
(handle_unreadable_location): Get rid of unneeded file == NULL
check.
(load_view_for_new_location): Use the new
nautilus_navigation_info_get_initial_content_id.
(set_view_location_and_selection): Use the new
nautilus_navigation_info_get_location.
(nautilus_window_end_location_change_callback): Use the new
nautilus_navigation_info_get_location.
(nautilus_window_begin_location_change): Remove some unnecessary
code.
2000-10-20 Mathieu Lacage <mathieu@eazel.com>
More ids in sects.
* user-guide/C/sgml/chapter-2.sgml:
* user-guide/C/sgml/chapter-3.sgml:
2000-10-20 Mathieu Lacage <mathieu@eazel.com>
Add sect ids and big caps entities
* user-guide/C/sgml/chapter-1.sgml:
* user-guide/C/sgml/install.sgml:
* user-guide/C/sgml/intro.sgml:
* user-guide/C/sgml/manual.sgml:
2000-10-20 John Sullivan <sullivan@eazel.com>
Fixed bug 3902 (Some search results do not have file
info displayed)
* libnautilus-extensions/nautilus-directory-async.c:
(async_job_wake_up): Remove directory from hash table
when it's awoken; clear already_waking_up boolean at
end of routine.
2000-10-20 Ramiro Estrugo <ramiro@eazel.com>
* src/nautilus-sidebar-title.c: (update_font):
Make the code that looks for largest font that fits a sidebar
title work even if we dont find the exact font we look for.
Fixes bug 2812.
2000-10-20 Ramiro Estrugo <ramiro@eazel.com>
* librsvg/Makefile.am:
* librsvg/rsvg.c: (rsvg_text_handler_characters):
Make sure the font used for text is svg icons actually exists.
Fix (rather a worksround) for bug 3774. We will have a better fix
later (bug 3904).
2000-10-22 Andy Hertzfeld <andy@eazel.com>
made the images show up again in the summary view by adding
image fetching from the service via http.
* components/services/nautilus-dependent-shared/
shared-service-widgets.c: (create_image_widget_from_pixbuf),
(create_image_widget), (create_image_widget_from_uri):
restructured code a bit so I could at fetching from a uri instead of
a local icon. Added optimization so a local icon could be used
at the service's discretion.
* components/services/nautilus-dependent-shared/
shared-service-widgets.h:
added create_image_widget_from_uri
* components/services/summary/nautilus-view/nautilus-summary-view.c
: (generate_summary_form), (generate_service_entry_row),
(generate_eazel_news_entry_row), (generate_update_news_entry_row):
made it fetch the icons from the service
2000-10-20 Ramiro Estrugo <ramiro@eazel.com>
* librsvg/rsvg.c: (rsvg_text_handler_characters),
(rsvg_start_text):
Quiet down the debug spewage.
2000-10-20 Ramiro Estrugo <ramiro@eazel.com>
* nautilus.spec.in:
Forgot to add the font metrics to the rpm spec file.
2000-10-20 Ramiro Estrugo <ramiro@eazel.com>
* data/fonts/urw/Makefile.am:
* data/fonts/urw/fonts.dir:
* data/fonts/urw/n019003l.afm:
* data/fonts/urw/n019004l.afm:
* data/fonts/urw/n019023l.afm:
* data/fonts/urw/n019024l.afm:
Added missing font metrics.
Also update to latest urw fonts.
2000-10-20 Maciej Stachowiak <mjs@eazel.com>
* components/adapter/bonobo-stream-vfs.h,
components/adapter/bonobo-stream-vfs.c: (vfs_write), (vfs_read),
(vfs_seek), (vfs_truncate), (vfs_copy_to), (vfs_close), (vfs_eos),
(vfs_length), (bonobo_stream_vfs_class_init),
(bonobo_stream_vfs_init), (bonobo_stream_vfs_get_type),
(Bonobo_Stream_vfs__create), (bonobo_stream_vfs_new_internal),
(bonobo_stream_vfs_open), (bonobo_stream_vfs_new): Moved here from
libnautilus-extensions; bunches of cleanup to match nautilus style
better.
* components/adapter/Makefile.am: Added above two files to build.
* components/adapter/nautilus-adapter-progressive-load-strategy.c:
Up the load chunk.
* components/adapter/nautilus-adapter-stream-load-strategy.c:
Include "bonobo-stream-vfs.h" not
<libnautilus-extensions-stream-vfs.h>
* libnautilus-extensions/bonobo-stream-vfs.c,
libnautilus-extensions/bonobo-stream-vfs.h: Removed from here.
* libnautilus-extensions/Makefile.am: Removed from build.
2000-10-20 J Shane Culpepper <pepper@eazel.com>
* components/services/summary/nautilus-view/nautilus-summary-view.c
: (generate_summary_form), (generate_service_entry_row),
(generate_eazel_news_entry_row), (generate_update_news_entry_row):
Added vseparators, fixed button sizes, added new buttons to the
updates section. I'm almost getting good at this stuff !
2000-10-20 Robey Pointer <robey@eazel.com>
* icons/Makefile.am:
* icons/services-rpm-72.png:
* libnautilus-extensions/nautilus-icon-factory.c:
Add new eazel-install: icon for Arlo and make the icon factory use
it instead of the gnome-pack-rpm one.
2000-10-20 Gene Z. Ragan <gzr@eazel.com>
Fixed bug 2948, list view does not prelight under cursor when
dragging files.
* libnautilus-extensions/nautilus-list.c:
* libnautilus-extensions/nautilus-list.h:
(nautilus_list_initialize), (draw_cell_pixmap), (draw_cell),
(nautilus_list_prelight_if_necessary),
(nautilus_list_set_drag_prelight_row):
New function to set drag prelight row based on mouse position.
* src/file-manager/fm-list-view.c: (fm_list_handle_dragged_items):
* components/image-viewer/nautilus-image-view.c:
(view_size_allocate_cb):
Removed some old debug code.
2000-10-19 Robey Pointer <robey@eazel.com>
* components/services/install/idl/trilobite-eazel-install.idl:
* components/services/install/lib/eazel-install-corba.c:
(impl_Eazel_Install_stop), (eazel_install_get_epv):
* components/services/install/lib/eazel-install-object.c:
(eazel_install_install_packages),
(eazel_install_emit_install_progress_default),
(eazel_install_emit_download_progress_default),
(eazel_install_emit_preflight_check_default),
(eazel_install_emit_delete_files_default):
* components/services/install/lib/eazel-install-private.h:
* components/services/install/lib/eazel-install-protocols.c:
(gnome_vfs_xfer_callback), (gnome_vfs_fetch_remote_file):
Make the install lib check for corba events while doing a download
(which might take a while) so that it can receive a "stop"
message. Ref itself while doing the install to avoid a mess. Try
to catch some corba exceptions and abort on them. Set a flag on
the "stop" message and cancel the gnome-vfs operation. Make the
download_progress callback be a two-way call to trick corba into
checking for potential incoming "stop" calls. These sum up to a
rough hack which will be cleaned out when the installer is broken
up into more stateful components post-PR2.
* components/services/install/nautilus-view/nautilus-service-instal
l-view.c: (nautilus_service_install_view_destroy),
(current_progress_bar_complete),
(nautilus_service_install_downloading),
(nautilus_service_install_installing),
(nautilus_service_need_password),
(nautilus_service_install_view_update_from_uri),
(service_install_stop_loading_callback):
Send "stop" message to the install view when the user hits the
"stop" button, and also when the view is about to be destroyed.
Cleanly handle the "stop" button by treating it like an abort.
Use better-named /tmp directory, for security reasons.
2000-10-20 Ramiro Estrugo <ramiro@eazel.com>
* configure.in:
Update for latest freeype2 rpm changes.
2000-10-20 J Shane Culpepper <pepper@eazel.com>
* components/services/summary/nautilus-view/nautilus-summary-view.c
: (generate_summary_form), (generate_service_entry_row),
(generate_eazel_news_entry_row), (generate_update_news_entry_row):
Adding "infinite" row capabilities for generated tables. Fixed several
more layout issues. The buttons are completely screwed up now from a
ui perspective. Trying to fix that now.
2000-10-19 J Shane Culpepper <pepper@eazel.com>
* components/services/summary/lib/eazel-summary-shared.c:
(eazel_news_data_new), (update_news_data_new),
(parse_a_eazel_news_item), (parse_a_update_news_item):
* components/services/summary/lib/eazel-summary-shared.h:
* components/services/summary/nautilus-view/nautilus-summary-view.c
: (generate_summary_form), (generate_service_entry_row),
(generate_update_news_entry_row):
New xml parsing information. Fixed button labels and sizes. A few
minor ui tweaks.
2000-10-20 Mathieu Lacage <mathieu@eazel.com>
Add screenshot images.
* user-guide/C/sgml/chapter-1.sgml:
* user-guide/C/sgml/chapter-2.sgml:
* user-guide/C/sgml/chapter-3.sgml:
* user-guide/C/sgml/install.sgml:
2000-10-19 Andy Hertzfeld <andy@eazel.com>
* components/services/summary/nautilus-view/
nautilus-summary-view.c: (authn_cb_failed), (logout_button_cb),
(logged_in_callback), (logged_out_callback),
(bonobo_logout_callback), (bonobo_preferences_callback),
(update_menu_items), (merge_bonobo_menu_items):
fixed the login menu command, and added support for the preferences
and logout command. Made it properly show and hide the appropriate
commands according to the logged_in state
* components/services/summary/nautilus-view/
nautilus-summary-view-ui.xml:
added menu items for preferences and logout
* src/nautilus-service-ui.xml:
added tooltips for service menu commands
2000-10-19 Mathieu Lacage <mathieu@eazel.com>
* user-guide/C/Makefile.am: modify to install sgml
instead of html
* user-guide/C/img/.cvsignore: add
* user-guide/C/sgml/.cvsignore: add
sgml files.
* user-guide/C/sgml/chapter-1.sgml:
* user-guide/C/sgml/chapter-2.sgml:
* user-guide/C/sgml/chapter-3.sgml:
* user-guide/C/sgml/install.sgml:
* user-guide/C/sgml/intro.sgml:
* user-guide/C/sgml/manual.sgml:
* user-guide/C/sgml/model.sgml:
screenshots....
* user-guide/C/img/*.png
2000-10-19 J Shane Culpepper <pepper@eazel.com>
* components/services/summary/nautilus-view/nautilus-summary-view.c
: (generate_error_dialog), (generate_login_dialog),
(nautilus_summary_view_load_uri):
Fixing dialogs and error control cases. Works a little better now
but still doesn't destroy the error dialogs like its supposed to do.
2000-10-19 J Shane Culpepper <pepper@eazel.com>
* components/services/summary/nautilus-view/nautilus-summary-view.c
: (logged_in_callback):
Fixing login callback so that view does not crash.
2000-10-19 Darin Adler <darin@eazel.com>
Check in the xml.h files. It would be better not to have these
checked in, but it helps the translators if they are. If we
come up with something better later, we can get rid of them.
For now, if you exit a ui.xml file, then you should also do
a build and check in the generated xml.h file.
* components/loser/content/nautilus-content-loser-ui.xml.h:
* components/loser/sidebar/nautilus-sidebar-loser-ui.xml.h:
* components/mozilla/nautilus-mozilla-ui.xml.h:
* components/sample/nautilus-sample-content-view-ui.xml.h:
* libnautilus/nautilus-clipboard-ui.xml.h:
* src/file-manager/nautilus-directory-view-ui.xml.h:
* src/file-manager/nautilus-icon-view-ui.xml.h:
* src/file-manager/nautilus-search-list-view-ui.xml.h:
* src/nautilus-shell-ui.xml.h:
2000-10-19 Darin Adler <darin@eazel.com>
Do some routine housekeeping that will help make the future
switchover to libxml2 easier.
* components/help/converters/gnome-db2html2/gdb3html.h:
* components/help/hyperbola-nav-index.c:
* components/help/hyperbola-nav-search.c:
* libnautilus-extensions/nautilus-directory-async.c:
* libnautilus-extensions/nautilus-directory-metafile.c:
* libnautilus-extensions/nautilus-directory-metafile.h:
* libnautilus-extensions/nautilus-directory-private.h:
* libnautilus-extensions/nautilus-file.c:
* libnautilus-extensions/nautilus-icon-factory.c:
* libnautilus-extensions/nautilus-link-set.c:
* libnautilus-extensions/nautilus-link.c:
* libnautilus-extensions/nautilus-theme.c:
* libnautilus-extensions/nautilus-volume-monitor.c:
* libnautilus-extensions/nautilus-xml-extensions.h:
* librsvg/rsvg.c:
* src/nautilus-bookmark-list.c:
* src/nautilus-bookmark-parsing.c:
* src/nautilus-bookmark-parsing.h:
* src/nautilus-link-set-window.c:
* src/nautilus-property-browser.c:
* src/nautilus-sidebar.c:
* src/nautilus-theme-selector.c:
* src/nautilus-window-menus.c:
Use the <gnome-xml/> prefix on all includes of gnome-xml headers.
This is allowed with the version of libxml1 we use now, and
required for libxml2. Note that we now require the newer libxml1
version that allows this, because Bonobo requires it.
* components/services/install/lib/eazel-install-xml-package-list.c:
(parse_package), (parse_category), (parse_shared),
(parse_memory_transaction_file), (parse_local_xml_package_list),
(generate_xml_package_list), (osd_parse_dependency),
(osd_parse_implementation), (osd_parse_softpkg),
(osd_parse_shared):
* components/services/summary/lib/eazel-summary-shared.c:
(build_services_glist_from_xml), (build_eazel_news_glist_from_xml),
(build_update_news_glist_from_xml), (parse_summary_xml_file):
* components/services/trilobite/libtrilobite/helixcode-utils.c:
(xml_get_value):
* components/services/trilobite/libtrilobite/trilobite-redirect.c:
(trilobite_redirect_parse_xml):
* libnautilus-extensions/nautilus-xml-extensions.c:
(nautilus_xml_get_children):
Use xmlChildrenNode instead of childs, as recommended by the
libxml maintainer for libxml1/libxml2 compatibility.
* src/nautilus-main.c: (main): Use the LIBXML_TEST_VERSION macro
as recommended by the libxml maintainer for libxml1/libxml2
compatibility.
* components/music/nautilus-music-view.c:
Added a lot of FIXMEs. Some other rudimentary cleanup.
2000-10-19 Michael Engber <engber@eazel.com>
* libnautilus-extensions/nautilus-icon-container.c:
(icon_is_positioned), (pending_icon_to_reveal_destroy_callback),
(get_pending_icon_to_reveal), (set_pending_icon_to_reveal),
(reveal_icon), (process_pending_icon_to_reveal),
(lay_down_icons_tblr), (relayout):
* libnautilus-extensions/nautilus-icon-private.h:
* src/file-manager/fm-directory-view.c: (start_renaming_item),
(reveal_newly_added_folder), (new_folder_done),
(fm_directory_view_new_folder), (fm_directory_view_set_selection),
(fm_directory_view_select_file):
Newly added folders are now revealed (bug 2208). Other cases
(e.g. duplicate) still remain. They will require adding new hooks
to nautilus-file-operations.
2000-10-19 J Shane Culpepper <pepper@eazel.com>
* components/services/summary/nautilus-view/nautilus-summary-view.c
: (generate_summary_form), (nautilus_summary_view_load_uri),
(bonobo_login_callback):
Fixing login menu callback and adding logic to only display login
dialog when no user is logged in.
2000-10-19 John Sullivan <sullivan@eazel.com>
Fixed some cases where the error message for why a
location couldn't be loaded was misleading or too generic.
I ran into some of these while fiddling with the proxy
settings to try out services, so I'm sure other users
will too.
* libnautilus-extensions/nautilus-directory-async.c:
(file_info_start): When you can't make a vfs_uri, use
error GNOME_VFS_ERROR_INVALID_URI. It had been leaving
this defaulting to GNOME_VFS_OK, which caused locations
like "bogus:foo" to have a mysterious error message.
* src/nautilus-applicable-views.c:
(get_nautilus_navigation_result_from_gnome_vfs_result):
* src/nautilus-applicable-views.h:
* src/nautilus-window-manage-views.c:
(nautilus_window_end_location_change_callback): Added
separate messages for HOST_NOT_FOUND and HOST_HAS_NO_ADDRESS.
You can get the former by specifying a bogus host name in the
HTTP Proxy settings, and the latter by not specifying a
host name at all in the HTTP Proxy settings.
2000-10-19 John Sullivan <sullivan@eazel.com>
* components/help/help-contents.oafinfo:
Changed name of sidebar panel from "Help Contents" to "Help"
since there is only one Help sidebar panel, and the longer
title made it take too much space and stand out while adding
no value.
2000-10-19 John Sullivan <sullivan@eazel.com>
Fixed bugzilla bug 3648 (not clear what "xxx" under
folders means)
* libnautilus-extensions/nautilus-file.c:
(nautilus_file_get_string_attribute_with_default):
Change some of the default strings; use "..." when
we were using "--" (for info not yet obtained); use
"? items" or "? bytes" when we were using "xxx"
(for info not readable).
(nautilus_file_get_top_left_text): Use "..." when
we were using "--"
2000-10-19 Andy Hertzfeld <andy@eazel.com>
* components/services/summary/nautilus-view/nautilus-summary-view.c
: (nautilus_summary_view_destroy), (merge_bonobo_menu_items):
unmerge the summary component's menu items properly by keeping a
reference to the ui component and unhooking it in the summary view's
destroy method.
2000-10-19 Andy Hertzfeld <andy@eazel.com>
first pass at making the summary view merge its menu commands onto
the services menu. This isn't finished yet.
* components/services/summary/nautilus-view/Makefile.am:
added a ui xml file for the summary menu commands
* components/services/summary/nautilus-view/nautilus-summary-view-ui.xml:
defined the summary view menu items
* components/services/summary/nautilus-view/nautilus-summary-view.c
: (nautilus_summary_view_initialize), (bonobo_register_callback),
(bonobo_login_callback), (detach_ui), (merge_bonobo_menu_items):
merge the menu items when the view is activated, unmerge when destroyed
* src/nautilus-window-service-ui.c: (goto_software_catalog):
made the software catalog command use the real url.
2000-10-19 Pavel Cisler <pavel@eazel.com>
* libnautilus-extensions/nautilus-file-utilities.c:
(nautilus_uri_get_basename):
Ooops, fix a stupid mistake in my last checkin that broke file
change notification for fancy names.
2000-10-19 Eskil Heyn Olsen <eskil@eazel.com>
* nautilus.spec.in:
Removed eog dep and added xpdf for nautilus-extras.
2000-10-19 Eskil Heyn Olsen <eskil@eazel.com>
* components/loser/content/Makefile.am:
* components/loser/sidebar/Makefile.am:
* components/mozilla/Makefile.am:
* components/sample/Makefile.am:
* libnautilus/Makefile.am:
* src/Makefile.am:
* src/file-manager/Makefile.am:
Fun with Build chapter IX.
2000-10-18 Andy Hertzfeld <andy@eazel.com>
* components/music/nautilus-music-view.c:
(nautilus_music_view_initialize), (set_album_cover),
(image_button_callback), (nautilus_music_view_set_album_image):
completed bug 2261, setting images for album covers, by making
the set album cover button the proper size, and leaving it visible
even when there's a cover so you can change it after setting it.
2000-10-18 Eskil Heyn Olsen <eskil@eazel.com>
* src/file-manager/Makefile.am:
Fun with Build.
I'm feeble and only very slowly finding
all the -ui.xml.h thing I need to fix.
2000-10-18 Eskil Heyn Olsen <eskil@eazel.com>
* components/sample/Makefile.am:
* libnautilus/Makefile.am:
Still trying to fix the bloody build...
2000-10-18 Eskil Heyn Olsen <eskil@eazel.com>
* components/loser/content/Makefile.am:
* components/loser/sidebar/Makefile.am:
* components/mozilla/Makefile.am:
* components/sample/Makefile.am:
* po/POTFILES.in:
* src/Makefile.am:
* src/file-manager/Makefile.am:
Still fixing the tinderbox build.
2000-10-18 Ramiro Estrugo <ramiro@eazel.com>
* README:
Update for new Mozilla M18 rpms.
2000-10-18 Rebecca Schulman <rebecka@eazel.com>
Fixed problems in making the new bonobo translation
that confused the headers. Also added .cvsignore
entries for the new generated xml files.
* components/loser/content/.cvsignore:
* components/loser/content/Makefile.am:
* components/loser/sidebar/.cvsignore:
* components/loser/sidebar/Makefile.am:
* components/mozilla/.cvsignore:
* components/mozilla/Makefile.am:
* components/sample/.cvsignore:
* components/sample/Makefile.am:
* icons/.cvsignore:
* libnautilus/.cvsignore:
* libnautilus/Makefile.am:
* src/.cvsignore:
* src/Makefile.am:
* src/file-manager/.cvsignore:
* src/file-manager/Makefile.am:
2000-10-18 Eskil Heyn Olsen <eskil@eazel.com>
* po/POTFILES.in:
Removing more .xml.h files to make tinderbox build again.
2000-10-18 Gene Z. Ragan <gzr@eazel.com>
Fixed bug 3705, Bookmark icons do not appear in the menu item
This was caused by a strange precedence issue in the setting of
UI component pixbuf data. If a menu item has alread been created,
setting the pixbuf data will have no effect. Either the verb for
the item has to be set with the data or the item has to have
its XML contructed with the pixbuf type and data included in it
at creation time. I have opted for the latter choice.
* libnautilus-extensions/nautilus-bonobo-extensions.c:
* libnautilus-extensions/nautilus-bonobo-extensions.h:
(nautilus_bonobo_add_menu_item):
Added setting of bitmap data if it is present as a
valid argument passed into the function.
* src/file-manager/fm-directory-view.c:
(add_open_with_app_bonobo_menu_item),
(add_open_with_viewer_bonobo_menu_item):
Call nautilus_bonobo_add_menu_item
* src/nautilus-window-menus.c: (append_bookmark_to_menu):
Call nautilus_bonobo_add_menu_item
* src/nautilus-window.c: (nautilus_window_filter),
(nautilus_window_realize), (view_menu_choose_view_callback),
(nautilus_window_show):
Work in progress to handle focus issues when performing
click drag operations in background windows.
* libnautilus-extensions/nautilus-gdk-extensions.c:
* libnautilus-extensions/nautilus-gdk-extensions.h:
(nautilus_gdk_window_set_wm_hints_input):
New function set input files of WM_HINTS. This
will be used later to handle click drag in background
windows.
2000-10-18 Ramiro Estrugo <ramiro@eazel.com>
* components/mozilla/nautilus-mozilla-content-view.c:
(uris_are_equal), (nautilus_mozilla_content_view_load_uri):
Add support for reloading pages while ignoring the mozilla cache.
Fixes bug 2780.
2000-10-18 Robey Pointer <robey@eazel.com>
* components/services/trilobite/libtrilobite/trilobite-core-utils.c
: (trilobite_fetch_uri):
* components/services/trilobite/libtrilobite/trilobite-redirect.c:
(check_gconf_init):
Fix new incompatability with gnome-vfs (EOF is now an "error").
* libnautilus-extensions/nautilus-icon-factory.c:
(nautilus_icon_factory_get_icon_name_for_regular_file):
Begin the slightly distateful process of adding special-case uri
scheme icons to the left panel: make the install view use the RPM
package icon. Eventually we need to generalize the association of
icons with uri schemes.
2000-10-18 John Sullivan <sullivan@eazel.com>
Fixed bug 3839 (want Nautilus User Manual menu item)
Note that this menu item does not actually work, due
to bug 3876.
* src/nautilus-shell-ui.xml:
Add menu item for bringing up Nautilus User Manual.
* src/nautilus-window-menus.c:
(help_menu_nautilus_manual_callback),
(nautilus_window_initialize_menus): Add verb
and callback for Nautilus User Manual menu item.
2000-10-18 Eskil Heyn Olsen <eskil@eazel.com>
* configure.in:
If no bonobo-ui-extract, AC_MSG_ERROR rather then cryptic failure
during compile.
* libnautilus/Makefile.am:
Removed some evil blankspace
* po/POTFILES.in
Had to remove nautitlus-mozilla-ui.xml.h, since it's a conditional
build, and eg. is not built on tinderbox.eazel.com. Better fix
will have to come later, need new rpms' in softcat.
2000-10-18 J Shane Culpepper <pepper@eazel.com>
* components/services/summary/nautilus-view/nautilus-summary-view.c
: (generate_summary_form), (generate_service_entry_row),
(generate_eazel_news_entry_row), (generate_update_news_entry_row),
(authn_cb_succeeded), (authn_cb_failed), (login_button_cb),
(generate_error_dialog), (generate_login_dialog),
(widget_set_nautilus_background_color),
(nautilus_summary_view_initialize),
(nautilus_summary_view_load_uri):
New summary view ui. Still missing a few fetures but works ok now.
2000-10-18 Mathieu Lacage <mathieu@eazel.com>
disable bug-buddy for nautilus.
* src/nautilus-main.c: (main):
2000-10-19 Kjartan Maraas <kmaraas@gnome.org>
* */Makefile.am: Feeble attempt to hook up generation
of .h files from the *-ui.xml files to get them included
in the translations. This will need to be done in a better
way I guess.
* configure.in: Added a check for bonobo-ui-extract.
2000-10-18 Pavel Cisler <pavel@eazel.com>
* components/tree/nautilus-tree-view.c:
* libnautilus-extensions/nautilus-directory.c:
(nautilus_directory_notify_files_moved),
(nautilus_directory_schedule_metadata_copy),
(nautilus_directory_schedule_metadata_move),
(nautilus_directory_schedule_metadata_remove):
* libnautilus-extensions/nautilus-file-utilities.c:
(nautilus_uri_get_basename):
* libnautilus-extensions/nautilus-file-utilities.h:
* libnautilus-extensions/nautilus-file.c:
(nautilus_file_get_internal):
* src/nautilus-theme-selector.c: (add_theme_to_icons):
Clean up calls to gnome_vfs_extract_short_name, remove explicit
unescaping because gnome_vfs_extract_short_name now does it.
Eliminate some copy-paste technology, creating a new call
nautilus_uri_get_basename.
2000-10-18 Robey Pointer <robey@eazel.com>
* components/services/login/nautilus-view/nautilus-change-password-
view.c: (user_logged_in), (generate_change_password_form):
* components/services/login/nautilus-view/nautilus-change-password-
view.oafinfo:
Fill in the username automatically if you're already logged in.
Make the prompts more i18n'able. Change title from "Log in" to
"Change password". Fix oafinfo typo that caused the change-pw
view to never get displayed.
2000-10-18 Darin Adler <darin@eazel.com>
Some Music View fixes. Andy asked me to work on this.
* components/music/main.c: (main): Make warnings drop into the
debugger.
* components/music/nautilus-music-view.c:
(nautilus_music_view_destroy): Change to use a NautilusFile object
instead of using a uri string.
(set_album_cover): Use the file object.
(metadata_callback): Get rid of the unref that was causing a lot
of trouble.
(nautilus_music_view_update): Get the uri from the file object
instead of vice versa.
(detach_file): Cancel the call when releasing the file.
(nautilus_music_view_load_uri): Release the old file and get a new
one when the URI changes.
2000-10-17 Maciej Stachowiak <mjs@eazel.com>
Fixed bugzilla.eazel.com bugs 2222, 3177, 3468, 3650, 3788
(some vestiges of wait_until_ready remain in the farther reaches
of the UI).
* libnautilus-extensions/nautilus-mime-actions.h,
libnautilus-extensions/nautilus-mime-actions.c
(nautilus_mime_actions_check_if_required_attributes_ready,
nautilus_mime_actions_get_required_file_attributes,
nautilus_mime_actions_wait_for_required_file_attributes): New
functions to help with monitoring or waiting for required
attributes for the nautilus mime API.
(nautilus_mime_get_default_action_type_for_file,
nautilus_mime_get_default_action_for_file,
nautilus_mime_get_default_application_for_file_internal,
nautilus_mime_get_default_application_for_file,
nautilus_mime_is_default_application_for_file_user_chosen,
nautilus_mime_get_default_component_for_file_internal,
nautilus_mime_get_default_component_for_file,
nautilus_mime_is_default_component_for_file_user_chosen,
nautilus_mime_get_short_list_applications_for_file,
nautilus_mime_get_short_list_components_for_file,
nautilus_mime_get_short_list_methods_for_file,
nautilus_mime_get_all_applications_for_file,
nautilus_mime_has_any_applications_for_file,
nautilus_mime_get_all_components_for_file,
nautilus_mime_has_any_components_for_file,
nautilus_mime_set_default_action_type_for_file,
nautilus_mime_set_default_application_for_file,
nautilus_mime_set_default_component_for_file,
nautilus_mime_set_short_list_applications_for_file,
nautilus_mime_set_short_list_components_for_file,
nautilus_mime_add_application_to_short_list_for_file,
nautilus_mime_remove_application_from_short_list_for_file,
nautilus_mime_add_component_to_short_list_for_file,
nautilus_mime_remove_component_from_short_list_for_file,
nautilus_mime_extend_all_applications_for_file,
nautilus_mime_remove_from_all_applications_for_file,
mime_type_get_supertype): Don't `nautilus_file_wait_until_ready'
for the required attributes; instead assert (Well, return_if_fail)
that they are available using
`nautilus_file_check_if_ready'. Also, use
`nautilus_file_get_uri_scheme' where possible.
* libnautilus-extensions/nautilus-directory-async.c
(mime_list_callback): Correct some coding mistakes.
* libnautilus-extensions/nautilus-wait-until-ready.h,
libnautilus-extensions/nautilus-directory.c: Remove
`nautilus_directory_wait_until_ready'.
* libnautilus-extensions/nautilus-file.h,
libnautilus-extensions/nautilus-file.c
(nautilus_file_get_uri_scheme): new convenience function.
* libnautilus-extensions/nautilus-program-chooser.c:
(repopulate_program_list, is_application_default_for_file,
is_component_default_for_file,
is_component_in_short_list_for_file,
is_application_in_short_list_for_file,
program_file_pair_is_default_for_file,
program_file_pair_is_in_short_list_for_file,
add_to_short_list_for_file, remove_from_short_list_for_file,
remove_default_for_item, set_default_for_item): wait_until_ready
for required file attributes.
* libnautilus-extensions/nautilus-program-choosing.c:
(any_programs_available_for_file): wait_until_ready for required
file attributes.
* src/file-manager/fm-directory-view.c: (switch_location_and_view,
create_open_with_gtk_menu, reset_bonobo_open_with_menu,
activate_callback): Wait for the right file attributes.
* src/nautilus-applicable-views.c: (got_file_info_callback),
(nautilus_navigation_info_new): Wait for the right file
attributes. (no wait_until_ready).
* src/nautilus-sidebar.c: (nautilus_sidebar_destroy,
nautilus_sidebar_update_buttons, nautilus_sidebar_update_all),
nautilus_sidebar_set_uri): Monitor the file the sidebar is
displaying, and update when it's attributes change.
* src/nautilus-window-manage-views.c
(nautilus_window_set_content_view): Wait for the right file
attributes. (no wait_until_ready).
* src/nautilus-window.c: (nautilus_window_destroy,
view_menu_choose_view_callback, view_menu_vfs_method_callback,
nautilus_window_real_load_content_view_menu,
nautilus_window_load_content_view_menu): Wait for the right
attributes. (no wait_until_ready in this chain).
* test/test-nautilus-mime-actions-set.c (main): Wait for the right attributes.
* test/test-nautilus-mime-actions.c (main): Wait for the right attributes.
2000-10-18 Darin Adler <darin@eazel.com>
* components/notes/nautilus-notes.c: (make_notes_view):
* src/nautilus-location-bar.c: (nautilus_location_bar_new):
* src/nautilus-simple-search-bar.c:
(nautilus_simple_search_bar_new):
Use calls by new names.
* libnautilus-extensions/nautilus-undo-signal-handlers.c:
(editable_key_press_event), (nautilus_undo_editable_set_undo_key):
Disabled the undo-key part of undo also. The old code was actually
harmless because it got the name of the signal wrong, but it's
better to have it disabled.
* src/nautilus-shell-ui.xml: Added a comment that points out the
2nd place where undo has been disabled.
* libnautilus/nautilus-clipboard.h:
* libnautilus/nautilus-clipboard.c: (cut_callback),
(copy_callback), (paste_callback), (clear_callback),
(set_paste_sensitive_if_clipboard_contains_data),
(focus_changed_callback), (target_destroy_callback),
(nautilus_clipboard_set_up_editable), (first_focus_callback),
(control_destroyed_callback),
(nautilus_clipboard_set_up_editable_in_control),
(disconnect_set_up_in_control_handlers):
Some minor cleanup of the clipboard code. Includes bug fixes for
items that are already in focus when the clipboard is hooked up
(should never happen), and a fix for code that was using
gtk_signal_disconnect on something that was connected with
gtk_signal_connect_while_alive (doesn't work). Also got rid of
misguided code that was copying a Bonobo_UIContainer with memcpy
(since Bonobo_UIContainer is just a pointer).
* src/Makefile.am:
* src/nautilus-window-private.h:
Changed source file name from nautilus-service-menu to
nautilus-service-ui, since it does a toolbar item, not just a
menu.
* src/nautilus-window-service-ui.c:
* src/nautilus-window-service-ui.h:
A second cut at the service UI code. It no longer leaks a UI
component.
* src/nautilus-window.c: (nautilus_window_constructed),
(nautilus_window_get_ui_container): Use our own pointer to the UI
container instead of asking the shell UI for its container.
2000-10-18 John Sullivan <sullivan@eazel.com>
Fixed bug 3862 (Icon view reversed after looking at list view)
Fixed bug 916 (workaround for Bonobo radio item bug)
Also fixed bug where the "tighter layout" and "reversed order"
items in the context menu were doing nothing at all.
* src/file-manager/fm-icon-view.c:
Removed "updating_toggle_menu_item" from Details struct.
(set_tighter_layout): New helper function, handles the code
common to the Bonobo and GTK menu callbacks.
(gtk_tighter_layout_callback), (gtk_sort_reversed_callback),
New functions used for GTK context menu. Will go away when
we use Bonobo for context menus.
(tighter_layout_state_changed_callback),
(sort_reversed_state_changed_callback): Use passed state value,
including checking for empty state (empty state happens when
component is removed from container). This lets us eliminate the
checks for "updating_toggle_item".
(handle_radio_item): Removed check for updating_toggle_menu_item.
This already worked correctly without this check.
(insert_one_context_menu_item), (append_one_context_menu_item),
(append_one_toggle_context_menu_item): Tweaked these to pass in
an initial toggle state for toggle menu items, to avoid setting
the toggle state after the callback has been attached. All this
code will be removed when we switch to Bonobo for context menus.
(fm_icon_view_create_selection_context_menu_items),
(fm_icon_view_create_background_context_menu_items),
(update_layout_menus):
2000-10-18 Ramiro Estrugo <ramiro@eazel.com>
* libnautilus-extensions/nautilus-preferences-item.c:
(preferences_item_create_font_family):
Remove the fixed font from the list of available fonts. Its a bad
one to use because it crashes the SideBar sometimes. The problem
is that the fixed font doesnt support the "find the largest
fitting font" game that the SideBar plays for long strings.
Its kinda lame to fix the bug by yanking the font, but we have
many font improvements planned for after PR2 which will render
this issue irrelevant.
Fixes bug 2256.
2000-10-18 Ramiro Estrugo <ramiro@eazel.com>
* librsvg/rsvg-ft.c: (rsvg_ft_measure_or_render_string),
(rsvg_ft_render_string), (rsvg_ft_measure_string):
* librsvg/rsvg-ft.h:
Add new function to only measure a string without doing all the
rendering work.
* libnautilus-extensions/nautilus-scalable-font.c:
(nautilus_scalable_font_measure_text):
Use the new rsvg_ft string measuring api.
Fixes bug 2544.
2000-10-18 Ramiro Estrugo <ramiro@eazel.com>
* libnautilus-extensions/nautilus-font-factory.c:
(font_hash_node_lookup_with_insertion),
(nautilus_font_factory_get_fallback_font):
* libnautilus-extensions/nautilus-gdk-extensions.c:
(nautilus_get_largest_fitting_font), (nautilus_gdk_font_get_bold):
* libnautilus-extensions/nautilus-gtk-extensions.c:
(nautilus_gtk_widget_set_font_by_name):
* libnautilus-extensions/nautilus-icon-factory.c: (embed_text):
* src/nautilus-zoom-control.c: (draw_number):
Use gdk_fontset_load() instead of gdk_font_load() to make i18n
work better. Also marked some hard-coded fonts fot localization.
There is still an open bug on writing useful comments about these
for the localizers. Fixes bugs 3143 and 3144.
Thanks to Yukihiro Nakai <ynakai@redhat.com> for pointing these
problems out and providing patches to fix them.
* src/nautilus-profiler.c: (window_print_button_callback),
(window_save_button_callback), (dump_dialog_new),
(dump_dialog_show):
Same as above plus mark some strings for localization and add
assertions to currently unimplemented functions.
2000-10-18 Maciej Stachowiak <mjs@eazel.com>
* ChangeLog: rolled over to ChangeLog-20001018.
|