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
|
2000-08-31 Robey Pointer <robey@eazel.com>
* components/services/trilobite/libtrilobite/Makefile.am:
Libtrilobite now needs gnome-vfs -- oops.
2000-08-31 J Shane Culpepper <pepper@eazel.com>
* components/services/summary/lib/eazel-summary-shared.c:
(parse_a_service), (parse_a_eazel_news_item),
(parse_a_update_news_item):
* components/services/summary/lib/eazel-summary-shared.h:
Adding the rest of the xml parser.
2000-08-31 Robey Pointer <robey@eazel.com>
* components/services/trilobite/libtrilobite/Makefile.am:
* components/services/trilobite/libtrilobite/trilobite-core-utils.c
: (trilobite_close_log), (trilobite_open_uri),
(trilobite_fetch_uri), (trilobite_fetch_uri_to_file):
* components/services/trilobite/libtrilobite/trilobite-core-utils.h
:
Add trilobite_fetch_uri() and trilobite_fetch_uri_to_file() to the
core utils in libtrilobite. This makes it easy to use gnome-vfs
to fetch a remote file into a buffer (hint: XML).
* components/services/trilobite/libtrilobite/trilobite-redirect.c:
* components/services/trilobite/libtrilobite/trilobite-redirect.h:
Fetch the url redirection table from an XML file on the server and
store it in gconf for other views to use.
* components/services/trilobite/libtrilobite/trilobite-root-client.
c: (trilobite_root_client_initialize):
Clarify the FIXME.
2000-08-31 John Sullivan <sullivan@eazel.com>
* components/tree/nautilus-tree-expansion-state.c:
Made the tree view expansion state preference use a full gconf
path so it's not coupled to user level.
2000-08-31 Andy Hertzfeld <andy@eazel.com>
* src/nautilus-throbber.c: (select_throbber_image),
(nautilus_throbber_load_images):
made the throbber throb in the intended direction (clockwise); the
problem was caused by prepending to the image list, which was reversing
their order - fixed by making it append instead.
2000-08-31 J Shane Culpepper <pepper@eazel.com>
* components/services/summary/lib/eazel-summary-shared.c:
(summary_data_new), (services_data_new), (eazel_news_data_new),
(update_news_data_new), (parse_a_service),
(parse_a_eazel_news_item), (parse_a_update_news_item),
(build_services_glist_from_xml), (build_eazel_news_glist_from_xml),
(build_update_news_glist_from_xml), (parse_summary_xml_file):
New snapshot of the summary xml parser. Getting closer to finished.
2000-08-31 Andy Hertzfeld <andy@eazel.com>
various cleanups and enhancements for the rpm view
* components/rpmview/nautilus-rpm-view.h:
moved the details private again by moving them out of the header file
* components/rpmview/nautilus-rpm-view.c:
(nautilus_rpm_view_initialize),
(nautilus_rpm_view_update_from_uri), (nautilus_rpm_view_get_uri),
(nautilus_rpm_view_verify_package_callback):
moved the details back here; added an accessor for the uri field;
added a verify button; changed label info text back to using non-aa
text, since aa-text doesn't justify right yet; captured images
from the header if present.
* components/rpmview/nautilus-rpm-view-install.c:
(nautilus_rpm_view_install_done),
(nautilus_rpm_view_install_package_callback):
used the new accessor for uris.
2000-08-31 John Sullivan <sullivan@eazel.com>
* libnautilus-extensions/nautilus-gtk-extensions.c:
(finish_button_activation): Little bitty code cleanup.
2000-08-31 Gene Z. Ragan <gzr@eazel.com>
Fixed bug 1699, get help stuff to render in mozilla.
* components/mozilla/main.c: (main):
* components/mozilla/nautilus-mozilla-content-view.c:
(mozilla_vfs_read_callback), (mozilla_vfs_callback),
Two new callbacks to handle streaming of data into
the mozilla component.
(nautilus_mozilla_content_view_load_uri):
* components/mozilla/nautilus-mozilla-content-view.oafinfo:
Modified file so mozilla component will handle all types.
2000-08-31 Rebecca Schulman <rebecka@eazel.com>
Completed the rest of 2369 for the required
milestone.
* check-FIXME.pl: Make the script a little
bit smarter about recognizing FIXMEs with
bug reports.
* src/nautilus-search-bar-criterion.c:
* src/nautilus-search-bar-criterion.h:
* src/nautilus-search-bar-criterion-private.h:
(nautilus_search_bar_criterion_destroy),
(nautilus_search_bar_criterion_new), (option_menu_callback),
(nautilus_search_bar_criterion_set_callback),
(nautilus_search_bar_criterion_new_from_values),
(nautilus_search_bar_criterion_next_new),
(nautilus_search_bar_criterion_first_new),
(nautilus_search_bar_criterion_get_location),
(get_next_default_search_criterion_type),
(nautilus_search_bar_criterion_show),
(nautilus_search_bar_criterion_hide),
(nautilus_search_bar_criterion_human_from_uri),
(nautilus_search_uri_get_first_criterion), (get_name_location_for),
(get_content_location_for), (get_file_type_location_for),
(get_size_location_for), (get_emblem_location_for),
(get_date_modified_location_for), (get_owner_location_for),
(make_emblem_value_menu), (emblems_changed_callback):
* libnautilus-extensions/Makefile.am:
* src/Makefile.am:
moved search bar criterion class out of
libnautilus-extensions and into /src
Added acceptance of the emblems changed signal, which
causes a redraw of an emblem criteria menu.
* libnautilus-extensions/nautilus-directory.c:
(nautilus_directory_destroy), (construct_private_metafile_vfs_uri),
(nautilus_directory_new):
Changed the name of metafile_vfs_uri function from
metafile_uri to reflect its return of a gnome vfs uri.
Check for the case where the metafile was not successfully
created when freeing.
* src/nautilus-complex-search-bar.c: (criterion_callback):
got rid of extraneous print statement.
* src/nautilus-property-browser.c: (remove_emblem),
(emblem_dialog_clicked), (emit_emblems_changed_signal):
Added the emission of signals that happen when the list of
emblems change so that we tell the search bar about it.
* src/nautilus-signaller.c: (nautilus_signaller_initialize_class):
* src/nautilus-signaller.h:
Added an "emblems changed" signal to the signaller's vocabulary,
since we need a global signal, so this seems to be the logical
object to attach it to.
2000-08-31 John Sullivan <sullivan@eazel.com>
Fixed bug 2013 (Enter should start complex search when any
search text field has focus)
* libnautilus-extensions/nautilus-gtk-extensions.c:
(nautilus_gtk_button_auto_click): Now checks for insensitive
state and does nothing in that case.
* src/nautilus-complex-search-bar.c:
(nautilus_complex_search_bar_initialize):
Made find button get created before criteria widgets.
(attach_criterion_to_search_bar): Wire up "activate"
signal for text field to auto_click the find button.
* src/nautilus-simple-search-bar.c:
(nautilus_simple_search_bar_initialize): Now the
"activate" signal for the one text field here calls
auto_click on the button instead of calling a separate
callback that checks button sensitivity (indirectly) and
then starts search. Watch the button depress as if by magic!
Impress your friends!
2000-08-31 John Sullivan <sullivan@eazel.com>
Fixed bug 1037 (Use "folder" instead of "directory" consistently)
I think I found them all. If you find any others, fix them or
write up new bug reports about them.
* libnautilus-extensions/nautilus-file.c:
(format_item_count_for_display), (nautilus_file_dump):
* src/file-manager/fm-directory-view.c:
(fm_directory_view_display_selection_info):
* src/file-manager/fm-error-reporting.c:
(fm_report_error_renaming_file): Replaced uses of "directory"
and "directories" in the UI with "folder" and "folders"
* src/nautilus-window-menus.c: (nautilus_window_initialize_menus):
* src/nautilus-window-private.h:
* src/nautilus-window-toolbars.c: Same as above. Also moved the
hint strings used by both toolbar buttons and menu items into
a shared header file instead of duplicating them.
2000-08-31 Ramiro Estrugo <ramiro@eazel.com>
* components/mozilla/Makefile.am:
* components/mozilla/nautilus-mozilla-content-view.c:
(nautilus_mozilla_content_view_initialize),
(bonobo_mozilla_callback):
Add commented out support for registering a component.
Add a dumb streaming example.
2000-08-31 Ramiro Estrugo <ramiro@eazel.com>
* components/mozilla/mozilla-components.cpp:
* components/mozilla/mozilla-components.h:
New dumb wrapper for registering a mozilla xpcom component from the
Nautilus universe.
2000-08-31 Andy Hertzfeld <andy@eazel.com>
* src/nautilus-toolbar.c: (nautilus_toolbar_size_allocate):
fixed bug 2628, merged toolbar items appear after throbber, by
saving and restoring the current position around the positioning
of the throbber.
2000-08-31 John Sullivan <sullivan@eazel.com>
Converted more preferences to not be coupled to user level,
following up on Ramiro's change to make this possible. Note
that some of your preferences might experience a one-time
change after this checkout (most noticeably the sidebar width).
* libnautilus-extensions/nautilus-global-preferences.c:
(global_preferences_register): Removed default values for
sidebar width.
* libnautilus-extensions/nautilus-global-preferences.h:
Renamed NAUTILUS_PREFERENCES_ICON_VIEW_TEXT_ATTRIBUTE_NAMES to
NAUTILUS_PREFERENCES_ICON_CAPTIONS.
Moved NAUTILUS_PREFERENCES_ICON_CAPTIONS,
NAUTILUS_PREFERENCES_SHOW_BUILT_IN_BOOKMARKS, and
NAUTILUS_PREFERENCES_SIDEBAR_WIDTH to the non-user-level-coupled
section, and gave them full gconf paths.
Added clarifying comment to NAUTILUS_PREFERENCES_SIDEBAR_PANELS_NAMESPACE.
* src/file-manager/fm-directory-view.c:
Removed mysterious semicolon that was the first character in the file.
(fm_directory_view_initialize), (fm_directory_view_destroy):
Update for name change of NAUTILUS_PREFERENCES_ICON_CAPTIONS.
* src/file-manager/fm-icon-text-window.c:
(changed_attributes_option_menu_callback),
(create_icon_text_window), (fm_icon_text_window_destroy_callback),
(fm_get_text_attribute_names_preference_or_default):
Update for name change of NAUTILUS_PREFERENCES_ICON_CAPTIONS.
* src/nautilus-window.c: (nautilus_window_initialize): Teensy
comment clarification.
2000-08-31 John Sullivan <sullivan@eazel.com>
Fixed bug 2327 (Alt-key shortcuts to navigate menus shouldn't
work on Desktop). Control-key shortcuts to invoke items directly
still work. I had to fix a Bonobo bug to make this work, so
until you get a new Bonobo this won't work for you (but it will
still compile and run and all).
* src/nautilus-window.h:
Prototype for nautilus_window_disable_keyboard_navigation_for_menus.
* src/nautilus-window-menus.c: Added normal_menu_titles, a static
array of menu paths used for iterating across all the textual
menu titles.
(get_menu_title): New function, returns menu title given path.
(remove_underline_accelerator_from_menu_title): New function,
resets the label of a menu to be the same, but without the underline.
(nautilus_window_disable_keyboard_navigation_for_menus): New function,
iterates through normal_menu_titles calling remove_underline_...
on each.
(new_top_level_menu): Now computes title from path using get_menu_title
instead of taking title as parameter.
(nautilus_window_create_top_level_menus): New function, creates all
the top-level menus (other than weird user level one) by iterating
across normal_menu_titles.
(nautilus_window_initialize_menus): Now calls _create_top_level_menus
instead of creating each one at a time.
* src/nautilus-desktop-window.c: (nautilus_desktop_window_new):
Now calls nautilus_window_disable_keyboard_navigation_for_menus
just after creating the NautilusWindow.
2000-08-31 Andy Hertzfeld <andy@eazel.com>
* src/nautilus-about.c: (nautilus_about_initialize),
(nautilus_about_draw_info):
draw the passed-in comment in the appropriate position. This change
completes the new about dialog.
* src/nautilus-window-menus.c: (help_menu_about_nautilus_callback):
tweaked the about window comment and authors.
2000-08-31 Andy Hertzfeld <andy@eazel.com>
* src/nautilus-about.c: (nautilus_about_initialize):
fixed bug 2653, about window crashes if shown more than once.
Fixed by setting the "close_hides" boolean. Also, set the
title of the window to "About Nautilus".
2000-08-31 Ramiro Estrugo <ramiro@eazel.com>
Bug 1293. Core dump if gconf returns bad values
* libnautilus-extensions/nautilus-user-level-manager.c:
(nautilus_user_level_manager_get_user_level):
Add blurb explaining why its ok to trust the returned string.
This was actually fixed by komrade Jirka's last checkin to this
file.
2000-08-31 Ramiro Estrugo <ramiro@eazel.com>
* src/nautilus-window-menus.c:
(nautilus_window_initialize_menus): Use
gtk_signal_connect_while_alive() for user_level_changed_callback
so that we dont get callbacks after we are dead.
2000-08-31 Ramiro Estrugo <ramiro@eazel.com>
Task 1229. Need support for preferences not coupled to user level.
* libnautilus-extensions/nautilus-global-preferences.c:
(global_preferences_register):
Add FIXME for the issue of setting default values for non user
level specific preferences.
* libnautilus-extensions/nautilus-global-preferences.h:
Add blurb explaining preferences that are user level specific and
those that arent.
* libnautilus-extensions/nautilus-preferences.c:
(preferences_hash_node_add_by_user_level_callbacks),
(preferences_hash_node_add_callback),
New functions to deal with callbacks for preferences that are
coupled to the user level.
(preferences_hash_node_check_changes_func),
(preferences_make_make_gconf_key),
(preferences_gconf_by_user_level_callback),
(preferences_gconf_callback), (nautilus_preferences_add_callback),
New functions to deal with callbacks for preferences that are NOT
coupled to the user level.
(nautilus_preferences_set_boolean),
(nautilus_preferences_get_boolean),
(nautilus_preferences_set_string_list),
(nautilus_preferences_get_string_list),
(nautilus_preferences_set_enum), (nautilus_preferences_get_enum),
(nautilus_preferences_set), (nautilus_preferences_get):
Add support for preferences that are not coupled to the user
level. Compute gconf keys by taking the preference name into
account. If it begins with a "/" (indicating it is fully
qualified) then treat it as a regular gconf key and use it as is.
Otherwise, use the user_level_manager to compute a key according
to the current user level.
* libnautilus-extensions/nautilus-preferences.h:
Add documentation explaining the two different ways to specify
preference names depending on whether they are user level specific
or not.
* src/nautilus-first-time-druid.c: (set_http_proxy):
Use the non user level specific perferences support instead of
poking gconf directly.
2000-08-31 Eskil Heyn Olsen <eskil@eazel.com>
* nautilus-installer/src/evil.xpm:
Forget the evil xpm for failed operation.
2000-08-31 Eskil Heyn Olsen <eskil@eazel.com>
* components/services/install/lib/eazel-install-object.c:
(eazel_install_emit_done):
Debug output.
* components/services/install/lib/eazel-install-rpm-glue.c:
(eazel_install_flatten_categories), (install_new_packages),
(eazel_install_download_packages),
(eazel_install_pre_install_packages),
(eazel_install_do_install_packages),
(eazel_install_prune_packages),
(eazel_install_package_name_compare),
(eazel_install_fetch_rpm_dependencies):
Revamped a lot to prevent multiple downloads of the same file (bug
2643), as the installer revealed some easy ways to trigger
that. Basically, I no longer handle each category individually,
but flatten the list. Also handles package-list xml's with
dependency trees.
* components/services/install/lib/eazel-install-xml-package-list.c:
(parse_category), (osd_parse_implementation), (osd_parse_softpkg):
Removed xml_get_prop and use xml_get_value instead.
* nautilus-installer/src/Makefile:
* nautilus-installer/src/Makefile.am:
* nautilus-installer/src/callbacks.c: (begin_install):
* nautilus-installer/src/installer.c: (create_pixmap),
(create_what_to_do_page), (create_install_page),
(create_finish_page_good), (create_finish_page_evil),
(create_window), (install_done), (toggle_button_lock),
(toggle_button_toggled), (eazel_installer_add_category),
(create_info_druid_page), (check_system),
(eazel_install_parse_dont_shows), (eazel_install_parse_must_haves),
(eazel_install_parse_depends), (eazel_installer_load_dependencies),
(eazel_install_get_depends), (eazel_installer_initialize):
* nautilus-installer/src/installer.h:
* nautilus-installer/src/link.sh:
* nautilus-installer/src/main.c: (nautilus_pixmap_file):
* nautilus-installer/src/package-list-depends.xml:
* nautilus-installer/src/prescript:
Slam bam thank you mam. Now uses the nautilus-druid, and only grew
by 100k... phew.
Added some funky xml parsing so you can control category
dependency via a xml file.
2000-08-31 J Shane Culpepper <pepper@eazel.com>
* 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/summary/lib/eazel-summary-shared.h:
Added the beginnings of the summary configuration xml parser.
Nowhere close to working yet.
2000-08-31 Andy Hertzfeld <andy@eazel.com>
added a new about box that uses anti-aliased text.
* icons/Makefile.am:
* icons/about_background.png:
added image for about background
* src/Makefile.am:
* src/nautilus-about.c,h: (nautilus_about_initialize_class),
(nautilus_about_destroy), (nautilus_about_initialize),
(nautilus_about_new), (draw_pixbuf), (nautilus_about_repaint),
(draw_aa_string), (nautilus_about_draw_info):
added a new class for our about box
* src/nautilus-window-menus.c: (help_menu_about_nautilus_callback):
invoked nautilus_about instead of gnome_about
update the list of authors and other info
2000-08-31 Mathieu Lacage <mathieu@eazel.com>
* components/tree/nautilus-tree-view.c: fix bug 2468.
maciej now owes me a restaurant. (zuni ?)
* libnautilus-extensions/nautilus-file.c:
(nautilus_file_get_type_as_string): update to gnome-vfs API
changes.
2000-08-30 Ramiro Estrugo <ramiro@eazel.com>
* test/test-nautilus-label.c: (justification_changed_callback),
(drop_shadow_offset_changed_callback),
(create_justification_frame), (create_drop_shadow_offset_frame),
(main):
Add justification tests. Add drop shadow tests.
2000-08-30 Gene Z. Ragan <gzr@eazel.com>
* libnautilus-extensions/nautilus-volume-monitor.c: (eject_cdrom):
Fixed bug 2446, need to implement CDROM ejection.
It's in there. Let's see what breaks.
* src/nautilus-window.c: (nautilus_window_initialize_class):
(realize):
Added a new hint for sawfish and removed a focus flag at the
reccomendation of John Harper.
2000-08-30 John Sullivan <sullivan@eazel.com>
Fixed bug 2393 (need cleaner way for directory view subclasses
to insert menu items)
I'm going to be futzing with directory view context menu items
soon, so I started by cleaning up the architecture a little to
make future futzing easier.
* src/file-manager/fm-directory-view.h:
* src/file-manager/fm-directory-view.c:
(set_menu_item_path): New function, stores the menu's path
identifier in the GtkMenuItem (via set_data) so that it can
be compared against later.
(menu_item_matches_path): New function, checks whether a menu
item's stored path matches a specified one.
(fm_directory_view_add_context_menu_item): Renamed this function
from fm_directory_view_add_menu_item for clarity, and gave it
a path parameter so callers could specify the path by which the
item can later be identified. Calls set_menu_item_path with
path.
(append_gtk_menu_item_with_view): call set_menu_item_path.
(real_create_background_context_menu_zoom_items),
(fm_directory_view_real_create_background_context_menu_items):
Update for fm_directory_view_add_context_menu_item change.
(add_open_with_gtk_menu_item): Add comment about lameness that I
will fix soon.
(fm_directory_view_get_context_menu_index): Reimplement using
menu_item_matches_path instead of hardwiring indices that could
easily get out of synch with actual menu-creation code (and were
in fact out of synch). Added a GtkMenu parameter as part of this.
* src/file-manager/fm-desktop-icon-view.c:
(fm_desktop_icon_view_create_background_context_menu_items):
Update for fm_directory_view_add_context_menu_item change.
* src/file-manager/fm-icon-view.c:
(fm_icon_view_create_selection_context_menu_items),
* src/file-manager/fm-search-list-view.c:
(real_create_selection_context_menu_items): Update for
fm_directory_view_get_context_menu_index change.
2000-08-30 Andy Hertzfeld <andy@eazel.com>
* src/nautilus-throbber.c: (get_throbber_dimensions),
(nautilus_throbber_initialize):
made the throbber compute its size using all of its constituent
images instead of just the rest image. Plus some minor clean-ups.
2000-08-30 Darin Adler <darin@eazel.com>
* libnautilus-extensions/nautilus-directory.c:
(construct_private_metafile_uri), (nautilus_self_check_directory):
* libnautilus-extensions/nautilus-icon-factory.c:
(make_thumbnail_path):
* libnautilus-extensions/nautilus-link.c: (make_local_path):
Use escape function in gnome-vfs instead of one in Nautilus.
* libnautilus-extensions/nautilus-string.h:
* libnautilus-extensions/nautilus-string.c:
(nautilus_str_strip_chr), (nautilus_str_double_underscores),
(nautilus_str_middle_truncate): Use g_new instead of g_malloc.
Helps get rid of silly "sizeof (char)" business.
Remove nautilus_str_escape_slashes.
2000-08-30 J Shane Culpepper <pepper@eazel.com>
* components/services/summary/Makefile.am:
* components/services/summary/lib/.cvsignore:
* components/services/summary/lib/Makefile.am:
* components/services/summary/lib/eazel-summary-shared.c:
(http_fetch_remote_file):
* components/services/summary/lib/eazel-summary-shared.h:
* configure.in:
Adding a portion of the shared download / parse framework
for summary configuration.
2000-08-30 Rebecca Schulman <rebecka@eazel.com>
Most of the work on 2369, to add the emblems to the search
criteria. This work involved refactoring the code to generate
property information for display. This new code is used by the
code to create the search criterion, and also by the emblem
display code, which is in nautilus-property-browser.
* libnautilus-extensions/Makefile.am:
* libnautilus-extensions/nautilus-customization-data.c:
* libnautilus-extensions/nautilus-customization-data.h:
(nautilus_customization_data_new),
(nautilus_customization_data_get_next_element_for_display),
(nautilus_customization_data_private_data_was_displayed),
(nautilus_customization_data_destroy),
(get_global_customization_uri), (get_private_customization_uri),
(get_file_path_for_mode),
(nautilus_customization_make_background_chit),
(format_name_for_display), (strip_extension):
New file with extracted methods from nautilus-property browser.
The new API initiates a new structure, and has an iterative call
to "get the next element for display" which returns a correctly
sized pixmap widget and a label widget containing the name appropriate
for display.
* libnautilus-extensions/nautilus-dateedit-extensions.c:
(nautilus_gnome_date_edit_get_date_as_string):
Removed extraneous debugging printf.
* libnautilus-extensions/nautilus-search-bar-criterion.c:
* libnautilus-extensions/nautilus-search-bar-criterion.h:
(nautilus_search_bar_criterion_new_from_values),
(nautilus_search_bar_criterion_next_new),
(nautilus_search_bar_criterion_get_location),
(get_emblem_location_for), (get_date_modified_location_for),
(make_emblem_value_menu):
Added code to generate the emblem menu, and to generate a
search criterion for the search uri from the menu's settings.
* libnautilus-extensions/nautilus-search-uri.c:
More language updated, and added text for emblems
* src/nautilus-property-browser.c: (make_drag_image),
(make_properties_from_directories), (make_category):
Updated this code to deal with new refactoring.
2000-08-30 John Sullivan <sullivan@eazel.com>
* src/file-manager/fm-icon-view.c: (fm_icon_view_merge_menus):
Moved the "Tighter Layout" and "Reversed Order" toggle items
into the "Lay out items" submenu, after discussing with Andy
(who had earlier discussed with Arlo).
2000-08-30 Robey Pointer <robey@eazel.com>
* src/nautilus-main.c: (main):
* src/nautilus-shell.c: (corba_open_default_window),
(save_window_states), (restore_window_states), (corba_restart):
Make restart save window sizes, positions, and uri's in a gconf
setting, so that the windows can be (mostly) restored.
2000-08-30 Andy Hertzfeld <andy@eazel.com>
* src/nautilus-throbber.c: (nautilus_throbber_initialize),
(nautilus_throbber_load_images),
(nautilus_throbber_button_press_event):
some samll clean-ups for the throbber, including removing some
debug messages that were accidentally left in, which John called
"throbber spam".
2000-08-30 Mike Fleming <mfleming@eazel.com>
eazel:summary view now calls ammonite to log in.
Also added ammonite dependency to configure.in when
nautilus is compiled with --enable-eazel-services
* components/services/summary/nautilus-view/Makefile.am:
* components/services/summary/nautilus-view/nautilus-summary-view.c
: (entry_changed_cb), (authn_cb_succeeded), (authn_cb_failed),
(login_button_cb), (logout_button_cb),
(nautilus_summary_view_initialize),
(nautilus_summary_view_destroy):
* configure.in:
2000-08-30 Gene Z. Ragan <gzr@eazel.com>
* libnautilus-extensions/nautilus-mime-actions.c:
(nautilus_mime_get_default_component_for_uri_internal):
Fixed bug 1158, GnomeVFSMimeHandlers code needs error handling.
There was a lonely FIXME here. A NULL is now returned instead of
an assert. A NULL is handled properly by all callers of this function.
* src/file-manager/fm-desktop-icon-view.c: (event_callback),
(fm_desktop_icon_view_initialize):
Work in progress trying to get keyboard events to the desktop.
I am working with John Harper on this.
2000-08-30 Ali Abdin <aliabdin@aucegypt.edu>
New tags to fix the following bugs: #2383, #2384, #2386, #2387,
#2382, #2523
Also add in a first cut at Navigation Links (Bug #2201)
* components/help/converters/gnome-db2html2/gdb3html.h:
Add the following tags: superscript, systemitem, varname, option,
quote, blockquote - Fixes bug #2383, #2384, #2386, #2387, #2382, #2523
Add a sect1id_stack GList to the Context struct
* components/help/converters/gnome-db2html2/sect-elements.[ch]:
(sect_blockquote_start_element),
(sect_blockquote_end_element),
(sect_quote_start_element),
(sect_quote_end_element),
(sect_sup_start_element),
(sect_sup_end_element): New functions to handle some of the new tags
* components/help/converters/gnome-db2html2/gdb3html.c:
(find_first_element): Remove inadvertant debug check-in
(sect_footer),
(print_footer): New functions to handle the output of a footer
(sect1_start_element): New 'shared' function that builds a GList of
sect1 id's
(article_end_element): No longer print out </HTML> or </BODY> as that
should be handled by the footer
(parse_file): Modify to print out the footer
* components/help/converters/gnome-db2html2/toc-elements.c:
* components/help/converters/gnome-db2html2/sect-preparse.c:
(sect_preparse_sect_start_element): Make a call to the
sect1_start_element function when we encounter a sect1 tag
(toc_sect_start_element): ditto
2000-08-30 Robin * Slomkowski <rslomkow@eazel.com>
README: added requirement of GCONF_0_8 tag
2000-08-30 Eskil Heyn Olsen <eskil@eazel.com>
* components/rpmview/nautilus-rpm-view.c:
(nautilus_rpm_view_update_from_uri):
Changed the comments reg. bug 1657
components/services/install/command-line/eazel-alt-install-corba.c:
(create_package),
Handles ~ in filenames now
(main):
Proper gtk_signal_func cast for the delete_files signal
* components/services/install/command-line/eazel-gen-pre-xml.sh:
Script to generate a colon-delimited file for eazel-gen-xml, by
using rpm -qp on rpm files.
* components/services/install/lib/eazel-install-object.c:
(eazel_install_class_initialize), (eazel_install_initialize):
-DEAZEL_INSTALL_SLIM no longer creates a userlocal rpmdb
* components/services/install/lib/eazel-install-protocols.c:
(gnome_vfs_xfer_callback), (free_string),
(gnome_vfs_fetch_remote_file)
(get_url_for_package):
Added D: to debug output, nicefied the gnome-vfs stuff after shane
laughed at me
(eazel_install_fetch_package),
Added the md5 stuff, it's commented out, as there is no md5 in the
xml from the server, thus checking md5 would fail all packages.
* components/services/install/lib/eazel-install-rpm-glue.c:
(eazel_install_download_packages), (download_all_packages),
(eazel_install_pre_install_packages), (install_packages),
(uninstall_packages),
(eazel_install_prepare_rpm_system), (eazel_install_add_to_rpm_set),
(eazel_install_check_existing_packages),
(eazel_install_fetch_rpm_dependencies):
So much...
- xml packagelist can now have soft_depends which
the download and install now checks for
- removed some leaks
- check for reopening rpmdb which is bad
- clarifying comments for div FIXME's
(eazel_install_prune_packages),
Fixed a vaarg usage
* components/services/install/lib/eazel-install-types.h:
Added md5 to the PackageData struct
* components/services/install/lib/eazel-install-types.c:
(categorydata_new), (categorydata_destroy_foreach),
(packagedata_new), (packagedata_destroy_foreach),
Added md5 to the PackageData struct
Now has some debug stuff to check for deallocating structes.
(packagedata_remove_soft_dep),
added function to remove a package from another packages soft_deps
(rpmfilename_from_packagedata):
Fixed a wrong g_strconcat
* components/services/install/lib/eazel-install-xml-package-list.c:
(generate_xml_package_list)
Generates nicer category names...
(parse_category), (parse_memory_transaction_file),
Uses categorydata_new now
(osd_parse_implementation),
Added FIXME reg. md5 check
(parse_osd_xml_from_memory):
D: to debug output
* components/services/install/lib/makefile.staticlib.in:
No longer sets the defines, they are now set in the link.sh
scrip in the nautilus-installer
* nautilus-installer/src/Makefile:
* nautilus-installer/src/Makefile.am:
* nautilus-installer/src/callbacks.c: (druid_cancel),
(begin_install), (druid_finish), (prep_install):
* nautilus-installer/src/installer.c: (set_white_stuff),
(create_what_to_do_page), (create_install_page),
(create_finish_page), (create_window), (set_images),
(eazel_install_progress), (eazel_download_progress),
(install_failed_helper), (install_failed), (download_failed),
(eazel_install_preflight), (eazel_install_dep_check),
(eazel_install_delete_files), (eazel_installer_add_category),
(check_system), (eazel_installer_do_install),
(eazel_installer_finalize), (eazel_installer_unref),
(eazel_installer_class_initialize), (eazel_installer_initialize),
(eazel_installer_get_type), (eazel_installer_new):
* nautilus-installer/src/installer.h:
* nautilus-installer/src/interface.c:
* nautilus-installer/src/link.sh:
* nautilus-installer/src/main.c: (oaf_init), (bonobo_init):
* nautilus-installer/src/support.c:
* nautilus-installer/src/support.h:
Created a gtkobject for the installer, revamped the choice stuff,
so it now offers the categories, stabilization work etc.
2000-08-30 Andy Hertzfeld <andy@eazel.com>
added a Netscape-like throbber widget to the toolbar, to give busy feedback. It uses
uses a generic animation from Arlo, but it's themable. It still needs some clean-up
but it's mostly done.
* configure.in:
* icons/Makefile.am:
* icons/throbber
* icons/throbber/.cvsignore:
* icons/throbber/Makefile.am:
* icons/throbber/*.png:
added a directory of frame images for the generic throbber.
* src/Makefile.am:
* src/nautilus-throbber.c,h: (nautilus_throbber_initialize_class),
(nautilus_throbber_destroy), (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),
(bump_throbber_frame), (nautilus_throbber_start),
(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_size_allocate):
added a throbber widget that animates while pages are loaded.
* src/nautilus-toolbar.h:
made the nautilus toolbar know about the throbber
* src/nautilus-toolbar.c,h: (nautilus_toolbar_set_throbber),
(nautilus_toolbar_size_allocate):
made the nautilus toolbar position the throbber on the far right
* src/nautilus-window-toolbars.c: (allocate_throbber),
(nautilus_window_initialize_toolbars):
allocate the throbber when we make the toolbar
* src/nautilus-window.c: (nautilus_window_allow_stop):
tell the throbber to start and stop when page loading begins/ends. We piggy-back
off of the stop button.
* src/nautilus-window.h:
made the nautilus_window know about the throbber
2000-08-29 Mike Fleming <mfleming@eazel.com>
* src/nautilus-first-time-druid.c:
(next_proxy_configuration_page_callback), (download_callback),
(initiate_file_download), (set_http_proxy), (getline_dup),
(load_nscp_proxy_settings), (attempt_http_proxy_autoconfigure):
Bug #1812
First-time druid now autoprobes for HTTP proxy settings and
saves them to GConf. Now gnome-vfs needs to be fixed to make use
of this (ammonite already does).
Tue Aug 29 22:43:15 2000 George Lebl <jirka@5z.com>
This should close bug #1361
* configure.in, cut-n-paste-code/widgets/Makefile.am,
cut-n-paste-code/widgets/nautilus-druid/*,
po/POTFILES.in:
Remove the nautilus druid hack from here. We can do all
that we need from libnautilus extensions without need of
cut and paste code.
* libnautilus-extensions/nautilus-druid.[ch],
libnautilus-extensions/nautilus-druid-page-eazel.[ch],
po/POTFILES.in:
Make NautilusDruid be a derivation of GnomeDruid and
the NautilusDruidPageEazel of GnomeDruidPage. Also make
use of more of the nautilus style of coding in both. Federico
will kill me for using remove/add to move a file, but it's more
then just a move anyway.
* src/nautilus-first-time-druid.c (set_up_proxy_config_page)
(next_update_page_callback) (next_update_feedback_page_callback)
(next_proxy_configuration_page_callback)
(finish_page_back_callback) (nautilus_first_time_druid_show)
(download_callback) (initiate_file_download):
Use the new nautilus druid and the new eazel druid page everywhere.
Also fix one case of double adding things to a GtkBox.
2000-08-29 Gene Z. Ragan <gzr@eazel.com>
* src/file-manager/fm-desktop-icon-view.c:
(fm_desktop_icon_view_create_background_context_menu_items):
Added an accelerator for the New Folder item.
* src/file-manager/fm-directory-view.c: (select_all_callback),
(fm_directory_view_add_menu_item),
(fm_directory_view_real_create_background_context_menu_items):
Added support for accelerators in popup menu items. You
specify the accelerator key by placing an _ before the desired
letter.
* libnautilus-extensions/nautilus-drag.c:
(nautilus_drag_can_accept_item):
Fixed a bug dealing with dragging over trash.
2000-08-29 Andy Hertzfeld <andy@eazel.com>
* components/rpmview/nautilus-rpm-view.c:
(nautilus_rpm_view_initialize),
(nautilus_rpm_view_update_from_uri):
used nautilus_label to provide anti-aliased text in the rpm-view,
as well as some other clean-ups. The labels aren't aligned properly,
due to a bug in nautilus_label that Ramiro will be fixing soon.
* src/nautilus-property-browser.c:
(nautilus_property_browser_initialize), (make_category_link),
(nautilus_property_browser_update_contents):
changed command buttons at bottom back to using non-aa text at
Arlo's request; also, put the labels inside the category buttons
like Susan and Arlo both want, as well as other minor tweaks.
* src/nautilus-sidebar-title.c: (update_font):
changed a comment as part of resolving a FIXME.
2000-08-29 Arlo Rose <arlo@eazel.com>
Fixed all outstanding cHRM white point problems.
* data/emblems/OK.png
* data/emblems/draft.png
* data/emblems/erase.png
* data/emblems/favorite.png
* data/emblems/important.png
* data/emblems/new.png
* data/emblems/ohno.png
* data/emblems/personal.png
* data/emblems/urgent.png
* icons/backgrounds.png
* icons/colors.png
* icons/emblems.png
* icons/knob.png
* icons/nautilus-logo.png
* icons/search.png
* icons/eazel/i-directory-aa.png
* icons/eazel/i-directory-accept-72.png
2000-08-29 Robin * Slomkowski <rslomkow@eazel.com>
* cut-n-paste-code/widgets/nautilus-druid/Makefile.am:
added VFS_CFLAGS so it could find gnome vfs headers.
2000-08-29 Robey Pointer <robey@eazel.com>
* components/services/install/nautilus-view/nautilus-service-instal
l-view.c: (current_progress_bar_complete),
(nautilus_service_install_preflight_check),
(show_dialog_and_run_away), (nautilus_service_install_done),
(nautilus_service_install_failed):
Restore code to jump to the summary widget after an install (for
demo), and make a dialog popup before then.
2000-08-29 Michael Engber <engber@eazel.com>
Fixed warning caused by passing NULL for a directory - bug 2079.
* src/file-manager/fm-icon-view.c: (layout_changed_callback):
2000-08-29 Darin Adler <darin@eazel.com>
* libnautilus-extensions/nautilus-directory-async.c:
(call_ready_callbacks), (start_or_stop_io),
(nautilus_directory_async_state_changed):
Fixed bug that showed up as warnings on exit and fails of "make
check". The code needs to check for I/O that must be stopped after
calling "call_when_ready" callbacks. I improved the structure here
a bit too by making a new function.
* libnautilus-extensions/nautilus-directory.c:
(nautilus_self_check_directory): Fixed a mistake in the self-check
that made it check the wrong thing.
* libnautilus-extensions/nautilus-link-set.c: (link_set_path_name):
Use nautilus_make_path instead of the hard-coded equivalent.
* libnautilus-extensions/nautilus-gtk-extensions.h: Reformatted.
* src/nautilus-property-browser.c: (remove_emblem): Formatting tweak.
2000-08-29 John Sullivan <sullivan@eazel.com>
Fixed bug 2223 (selecting separator of "View As" option
menu causes problems).
Surprise, surprise, surprise -- separator menu items are
not treated as insensitive by default, so you can select
them. This makes no difference in pull-down menus, but
leads to trouble in option menus.
* src/nautilus-window.c:
(new_gtk_separator): New convenience function, makes
a separator item, sets it to be insensitive, and shows it.
(replace_special_current_view_in_content_view_menu),
(nautilus_window_load_content_view_menu): Deploy new_gtk_separator.
2000-08-29 Gene Z. Ragan <gzr@eazel.com>
Refactored function and fixed a bug.
* libnautilus-extensions/nautilus-drag.c:
(nautilus_drag_can_accept_item):
Fixed bug 1950, Trash icon on desktop should have
"Empty Trash" in its right click menu
* src/file-manager/fm-desktop-icon-view.c:
(fm_desktop_icon_view_initialize_class),
(new_folder_menu_item_callback), (empty_trash_callback),
(trash_link_is_selection),
(fm_desktop_icon_view_create_selection_context_menu_items),
(fm_desktop_icon_view_create_background_context_menu_items):
* src/file-manager/fm-directory-view.c:
(bonobo_menu_open_callback),
(fm_directory_trash_link_in_selection),
(real_create_background_context_menu_zoom_items),
(fm_directory_view_real_create_background_context_menu_items),
(fm_directory_view_real_create_selection_context_menu_items),
(create_selection_context_menu):
* src/file-manager/fm-directory-view.h:
2000-08-29 Mathieu Lacage <mathieu@eazel.com>
* libnautilus-extensions/nautilus-search-uri.c: (parse_uri),
(nautilus_self_check_search_uri): fix a checks. fix a space
added in the generated sentences.
2000-08-29 John Sullivan <sullivan@eazel.com>
Fixed bug 1884 (mistyped URL is changed back to previous)
* src/nautilus-window-manage-views.c:
(nautilus_window_end_location_change_callback): Replaced
a nautilus_navigation_bar_set_location call with a comment
explaining why not to call it there.
2000-08-29 John Sullivan <sullivan@eazel.com>
Fixed bug 2173 (We should allow clearing the History list)
There's now a Forget History item in the Go menu which
(after confirmation) forgets the history items in the Go
menu and the back/forward chains of each Nautilus window.
Afterwards, the Go menu's history list contains only locations
currently being displayed.
* src/nautilus-window.h: Changed back_list and forward_list
from GSList * to GList * so I could use nautilus glist
convenience functions (there's no efficiency issue with these
small lists). Added prototypes for new functions
nautilus_clear_back_list, nautilus_clear_forward_list, and
nautilus_forget_history.
* src/nautilus-window.c:
(nautilus_window_clear_forward_list),
(nautilus_window_clear_back_list): New functions that free and
set to NULL the back & forward lists.
(nautilus_window_destroy): Use nautilus_window_clear_back_list
and nautilus_window_clear_forward_list instead of replicating code.
(nautilus_window_back_or_forward),
(nautilus_window_get_base_page_index): Replace "slist" with "list"
(free_history_list): Set history_list variable to NULL in addition
to freeing its contents.
(nautilus_forget_history): New function, walks through all windows
clearing out their back/forward lists, and throws away all of the
history list except currently-displayed locations.
* src/nautilus-window-manage-views.c: (handle_go_back),
(handle_go_forward), (handle_go_elsewhere): Changed "slist"
to "list" in various places; called new nautilus_clear_forward_list
instead of replicating code.
* src/nautilus-window-menus.c:
(forget_history_if_confirmed): New function, calls nautilus_history_forget
if user confirms via modeless dialog (because it would be a pain to
accidentally choose this menu item and erase your history).
(go_menu_forget_history_callback): New function used by new menu item,
calls forget_history_if_confirmed.
(nautilus_window_initialize_menus): Add "Forget History" item to Go menu.
* src/nautilus-window-toolbars.c: (create_back_or_forward_menu):
Replace "slist" with "list"
* src/file-manager/fm-directory-view.c:
(fm_directory_view_real_create_background_context_menu_items):
Just clarified a comment.
2000-08-29 J Shane Culpepper <pepper@eazel.com>
* components/services/summary/nautilus-view/nautilus-summary-view.c
: (generate_summary_form), (login_button_cb), (logout_button_cb):
Adding the logout button so that Mike can hook up the callbacks.
2000-08-29 Ramiro Estrugo <ramiro@eazel.com>
* libnautilus-extensions/nautilus-buffered-widget.c:
* libnautilus-extensions/nautilus-label.h:
* libnautilus-extensions/nautilus-scalable-font.h:
Dumb documentation typos.
2000-08-29 Ramiro Estrugo <ramiro@eazel.com>
* libnautilus-extensions/nautilus-string-map.c:
Remove a FIXME (bug 2442) which i already fixed.
2000-08-29 John Sullivan <sullivan@eazel.com>
Fixed bug 2182 (right-clicking on zoom control changes zoom level)
* src/nautilus-zoom-control.c:
(nautilus_zoom_control_button_press_event): Made the zoom
control use Ramiro's nifty nautilus_pop_up_context_menu code
to offset the menu position slightly.
2000-08-29 John Sullivan <sullivan@eazel.com>
Redid changes that converted "Ascending/Descending" menu items
into single "Reversed Order" menu item. Andy accidentally
clobbered my entire set of changes with a more recent check-in.
* src/file-manager/fm-icon-view.c: (tighter_layout_callback),
(update_layout_menus), (sort_callback), (sort_direction_callback),
(manual_layout_callback), (fm_icon_view_merge_menus),
(fm_icon_view_initialize_class):
2000-08-29 John Sullivan <sullivan@eazel.com>
Added more bug numbers to FIXMEs. All Nautilus FIXMEs currently
have bug numbers. Huzzah! (Too bad the same can't be said for
gnome-vfs, oaf, medusa, ...)
* components/services/install/lib/eazel-install-object.c:
(eazel_install_initialize):
* components/services/install/lib/eazel-install-rpm-glue.c:
(eazel_install_check_existing_packages),
(eazel_install_fetch_rpm_dependencies):
* components/services/install/lib/eazel-install-types.c:
* components/services/install/nautilus-view/nautilus-service-instal
l-view.c: (current_progress_bar_complete),
(nautilus_service_install_downloading):
* components/services/time/nautilus-view/trilobite-eazel-time-view.
c:
* components/services/trilobite/libtrilobite/helixcode-utils.c:
* components/services/trilobite/libtrilobite/trilobite-core-utils.c
: (trilobite_pexec):
* components/services/trilobite/libtrilobite/trilobite-root-client.
c: (trilobite_root_client_initialize):
* components/services/vault/command-line/main.c:
* src/nautilus-view-frame-bonobo-control.c:
(nautilus_view_frame_activate_uri):
* src/nautilus-view-frame-bonobo-embeddable.c:
(bonobo_subdoc_load_location):
* src/nautilus-window-private.h:
2000-08-29 John Sullivan <sullivan@eazel.com>
Added more bug numbers to FIXMEs. 21 to go.
* cut-n-paste-code/widgets/nautilus-druid/nautilus-druid-page-stand
ard.c: (nautilus_druid_page_standard_init):
* cut-n-paste-code/widgets/nautilus-druid/nautilus-druid.c:
(nautilus_druid_size_request), (nautilus_druid_next_callback):
* libnautilus-extensions/nautilus-background-canvas-group.c:
(nautilus_background_canvas_group_render):
* libnautilus-extensions/nautilus-directory-background.c:
(nautilus_connect_background_to_directory_metadata):
* libnautilus-extensions/nautilus-file-operations-progress.c:
(truncate_string_from_start):
* libnautilus-extensions/nautilus-file-operations.c:
(handle_xfer_duplicate):
* libnautilus-extensions/nautilus-font-picker.c:
(nautilus_font_picker_initialize):
* libnautilus-extensions/nautilus-gdk-extensions.c:
(nautilus_gdk_font_get_bold):
* libnautilus-extensions/nautilus-gdk-pixbuf-extensions.c:
(nautilus_gdk_pixbuf_draw_text):
* libnautilus-extensions/nautilus-global-preferences.c:
(global_preferences_create_dialog):
* libnautilus-extensions/nautilus-gtk-extensions.c:
(nautilus_gtk_button_auto_click),
(nautilus_popup_menu_position_func):
* libnautilus-extensions/nautilus-icon-factory.c:
(nautilus_icon_factory_get_icon_for_file),
(cached_image_still_valid),
(nautilus_icon_factory_make_thumbnails):
* libnautilus-extensions/nautilus-icon-text-item.c:
(iti_paint_text):
* libnautilus-extensions/nautilus-list.c:
(show_context_menu_callback), (nautilus_list_get_drop_action):
2000-08-29 John Sullivan <sullivan@eazel.com>
Added more bug numbers to FIXMEs. 49 to go.
* components/services/install/lib/eazel-install-rpm-glue.c:
(eazel_uninstall_downward_traverse):
* libnautilus-extensions/nautilus-merged-directory.c:
(nautilus_merged_directory_add_real_directory):
* libnautilus-extensions/nautilus-mime-actions.c:
(make_oaf_query_with_known_mime_type),
(make_oaf_query_with_uri_scheme_only):
* libnautilus-extensions/nautilus-preferences.c:
(nautilus_preferences_set_string_list):
* libnautilus-extensions/nautilus-program-chooser.c:
(program_file_pair_compute_status), (get_supertype_from_file):
* libnautilus-extensions/nautilus-scalable-font.c:
(nautilus_scalable_font_measure_text):
* libnautilus/nautilus-view.c: (view_frame_call_begin):
* nautilus-installer/src/support.c: (create_pixmap),
(create_image):
* src/file-manager/fm-desktop-icon-view.c: (create_mount_link),
(volume_unmounted_callback), (place_home_directory):
* src/file-manager/fm-icon-view.c: (get_next_position),
(play_file), (get_icon_text_callback):
* src/file-manager/fm-list-view.c: (fm_list_view_initialize),
(create_list), (fm_list_view_set_zoom_level),
(fm_list_view_font_family_changed):
* src/file-manager/nautilus-indexing-info.c:
(nautilus_indexing_info_show_dialog):
* src/nautilus-application.c: (nautilus_application_startup):
* src/nautilus-first-time-druid.c:
(next_proxy_configuration_page_callback), (initiate_file_download):
* src/nautilus-property-browser.c: (add_background_to_browser):
* src/nautilus-shell.c:
2000-08-29 Andy Hertzfeld <andy@eazel.com>
* src/nautilus-first-time-druid.c: (proxy_selection_changed),
(set_up_proxy_config_page), (next_update_feedback_page_callback),
(next_proxy_configuration_page_callback),
(finish_page_back_callback), (nautilus_first_time_druid_show),
(download_callback), (initiate_file_download):
made the first time druid handle proxy configuration, which is presented to
the user if an error occurs during the initial http update process. Plus some
other cleanups.
* src/nautilus-property-browser.c:
tweaked the background color
* src/nautilus-theme-selector.c:
tweaked the background color
2000-08-28 Robey Pointer <robey@eazel.com>
* components/services/install/lib/eazel-install-object.c:
(eazel_install_install_packages):
Fix small bug that made emit_done() always signal success.
* components/services/install/lib/eazel-install-rpm-glue.c:
(install_packages), (eazel_install_start_transaction):
* components/services/install/lib/eazel-install-rpm-signature.c:
(trilobite_check_rpm_signature):
Return failure if the transaction fails. Only call root-helper
once now (let root-helper handle the password retries). Fix pexec
calls to check for the new return value.
* components/services/install/nautilus-view/nautilus-service-instal
l-view.c: (nautilus_service_try_again), (set_root_client):
Set up try_again callback to allow 3 attempts at entering the root
password.
* components/services/trilobite/idl/trilobite-service.idl:
* components/services/trilobite/libtrilobite/trilobite-root-client.
c: (impl_Trilobite_PasswordQueryClient_try_again),
(trilobite_root_client_get_epv),
(trilobite_root_client_class_initialize):
* components/services/trilobite/libtrilobite/trilobite-root-helper.
c: (trilobite_root_helper_destroy),
(trilobite_root_helper_class_initialize), (eazel_helper_start),
(eazel_helper_password), (trilobite_root_helper_start):
* components/services/trilobite/libtrilobite/trilobite-root-helper.
h:
* components/services/trilobite/libtrilobite/trilobite-service-pass
wordquery.c: (trilobite_passwordquery_initialize),
(trilobite_passwordquery_get_password),
(trilobite_passwordquery_try_again):
Add try_again signal to the root-client, root-helper, and
PasswordQueryClient APIs.
* components/services/trilobite/libtrilobite/trilobite-core-utils.c
: (trilobite_pexec), (trilobite_init):
pexec now returns the child pid.
2000-08-29 Eskil Heyn Olsen <eskil@eazel.com>
* components/services/install/lib/eazel-install-object.c:
(eazel_install_fetch_remote_package_list):
Smarter package-list url generation.
* components/services/install/lib/eazel-install-public.h:
Expose fetch_remote_package_list call, used for the installer.
* components/services/install/lib/eazel-install-rpm-glue.c:
(eazel_uninstall_downward_traverse):
Removed FIXME that was in error.
* nautilus-installer/src/callbacks.c: (druid_cancel),
(begin_install), (druid_finish), (prep_install):
* nautilus-installer/src/callbacks.h:
* nautilus-installer/src/installer.c: (check_system),
(eazel_installer_do_install):
* nautilus-installer/src/installer.h:
* nautilus-installer/src/interface.c: (set_white_stuff),
(create_what_to_do_page), (create_window), (set_images),
(eazel_install_progress), (eazel_download_progress),
(install_failed_helper), (install_failed), (download_failed),
(eazel_install_preflight), (eazel_install_dep_check),
(eazel_install_delete_files), (eazel_installer_add_category),
(eazel_installer_finalize), (eazel_installer_unref),
(eazel_installer_class_initialize), (eazel_installer_initialize),
(eazel_installer_get_type), (eazel_installer_new):
* nautilus-installer/src/interface.h:
* nautilus-installer/src/main.c: (main):
Slaughtering and revamping the installer. It now loads the
packagelist as one of the first things (needs changing to support
proxies), then inserts a radiobutton pr. category (needs to be
togglebuttons instead).
2000-08-28 Mathieu Lacage <mathieu@eazel.com>
* NEWS: add news from latest PR1 release.
* components/tree/nautilus-tree-view.c: make dnd do real file operations
from tree view to other views. Dnd to tree view depends on the views code
which needs to be fixed (related to bug 2353).
* libnautilus-extensions/Makefile.am: add nautilus-fils-operations.
* libnautilus-extensions/nautilus-file-operations-progress.c:
(nautilus_file_operations_progress_update),
(nautilus_file_operations_progress_close),
(nautilus_file_operations_progress_destroy),
(nautilus_file_operations_progress_initialize),
(nautilus_file_operations_progress_initialize_class),
(nautilus_file_operations_progress_new),
(nautilus_file_operations_progress_set_total),
(nautilus_file_operations_progress_set_operation_string),
(nautilus_file_operations_progress_new_file),
(nautilus_file_operations_progress_clear),
(nautilus_file_operations_progress_update_sizes),
(nautilus_file_operations_progress_freeze),
(nautilus_file_operations_progress_thaw): modify API name.
* libnautilus-extensions/nautilus-file-operations-progress.h: idem
* libnautilus-extensions/nautilus-file-operations.c: idem
(xfer_dialog_clicked_callback), (create_xfer_dialog),
(progress_dialog_set_files_remaining_text),
(progress_dialog_set_to_from_item_text), (handle_xfer_ok),
(handle_xfer_vfs_error), (nautilus_file_operations_copy_move),
(nautilus_file_operations_new_folder),
(nautilus_file_operations_move_to_trash),
(nautilus_file_operations_delete),
(nautilus_file_operations_empty_trash):
* libnautilus-extensions/nautilus-file-operations.h: idem.
* src/file-manager/Makefile.am: remove dfos* from compilation.
* src/file-manager/fm-directory-view.c:
(bonobo_menu_empty_trash_callback),
(fm_directory_view_create_links_for_files),
(fm_directory_view_duplicate_selection),
(fm_directory_view_trash_or_delete_selection),
(fm_directory_view_new_folder),
(fm_directory_view_move_copy_items): make it call nautilus-file-operations
functions.
2000-08-28 Robey Pointer <robey@eazel.com>
* components/services/install/nautilus-view/nautilus-service-instal
l-view.c: (nautilus_install_parse_uri), (make_new_status),
(turn_cylon_off), (current_progress_bar_complete),
(nautilus_service_install_preflight_check),
(nautilus_service_install_download_failed),
(nautilus_service_install_done), (nautilus_service_install_failed):
* components/services/install/nautilus-view/nautilus-service-instal
l-view.h:
Add "?version=" checking into the install view url, for
bootstrapping the installer.
* components/services/nautilus-dependent-shared/shared-service-widg
ets.c: (create_label_widget), (create_services_title_widget),
(create_services_header_widget):
Change titlebar font sizes to fit Arlo specifications.
2000-08-28 Ramiro Estrugo <ramiro@eazel.com>
* libnautilus-extensions/nautilus-buffered-widget.c:
(nautilus_buffered_widget_initialize),
(nautilus_buffered_widget_destroy),
(buffered_widget_update_pixbuf),
(create_background_pixbuf_from_none),
(create_background_pixbuf_from_solid),
(create_background_pixbuf_from_ancestor),
(create_background_pixbuf),
(nautilus_buffered_widget_get_vertical_offset),
(nautilus_buffered_widget_set_background_type),
(nautilus_buffered_widget_get_background_type),
(nautilus_buffered_widget_set_background_color),
(nautilus_buffered_widget_get_background_color):
* libnautilus-extensions/nautilus-buffered-widget.h:
* libnautilus-extensions/nautilus-gdk-extensions.c:
(nautilus_gdk_gc_ref_if_not_null),
(nautilus_gdk_gc_unref_if_not_null):
* libnautilus-extensions/nautilus-gdk-extensions.h:
Add unref/ref functions for gcs that take NULL.
* libnautilus-extensions/nautilus-label.c: (nautilus_label_new):
* libnautilus-extensions/nautilus-label.h:
Make the constructor work just like GtkLabel by accepting a string.
* components/music/nautilus-music-view.c:
(nautilus_music_view_initialize), (add_play_controls):
Use the new NautilusLabel constructor.
* components/services/nautilus-dependent-shared/shared-service-widg
ets.c: (create_label_widget):
Use the new NautilusLabel constructor.
* src/nautilus-first-time-druid.c: (make_anti_aliased_label),
(set_up_update_feedback_page):
Use the new NautilusLabel constructor.
* src/nautilus-property-browser.c:
(nautilus_property_browser_initialize),
(make_properties_from_directory_path),
(make_properties_from_xml_node), (make_category_link):
Use the new NautilusLabel constructor.
Fix the tile names to be antialises by using the new buffered
widget SOLID background mode.
* src/nautilus-sidebar-title.c:
(sidebar_create_smooth_components_if_needed):
Use the new NautilusLabel constructor.
* src/nautilus-theme-selector.c:
(nautilus_theme_selector_initialize):
Use the new NautilusLabel constructor.
* test/test-nautilus-image.c: (main):
* test/test-nautilus-label.c: (main):
Use the new NautilusLabel constructor.
2000-08-28 Andy Hertzfeld <andy@eazel.com>
* src/nautilus-window-menus.c: (get_static_bookmarks_file_path):
use the static bookmarks that were downloaded from the service
if they are present; otherwise fall back to the built-in ones.
2000-08-28 Andy Hertzfeld <andy@eazel.com>
* src/nautilus-sidebar-title.c:
(nautilus_sidebar_title_select_text_color),
(nautilus_sidebar_title_theme_changed),
(sidebar_create_smooth_components_if_needed):
added a drop shadow to the sidebar labels, controllable by the
current theme
* icons/arlo/arlo.xml:
added a drop shadow offset to the arlo theme
* libnautilus-extensions/nautilus-label.h:
fixed a cut-n-paste error in the set_drop_shadow_offset call, by
changing the parameter from "alpha" to "offset"
2000-08-28 Darin Adler <darin@eazel.com>
* src/file-manager/fm-directory-view.c: (display_pending_files):
Lets try that again, this time with feeling.
2000-08-28 Darin Adler <darin@eazel.com>
* src/file-manager/fm-directory-view.c: (display_pending_files):
Fixed a FIXME.
2000-08-28 Eskil Heyn Olsen <eskil@eazel.com>
* components/services/install/command-line/Makefile.am:
Readded eazel-gen-xml
* components/services/install/command-line/eazel-alt-install-corba.c:
(done),
Check the result flag
(main):
Added revert to the commandline options.
* components/services/install/idl/trilobite-eazel-install.idl:
Added a boolean flag to the done signal
* components/services/install/lib/eazel-install-corba-callback.c:
(impl_done), (eazel_install_callback_class_initialize),
Added a boolean flag to the done signal
(eazel_install_callback_simple_query):
Removed a blank line!
* components/services/install/lib/eazel-install-corba-callback.h:
Added a boolean flag to the done signal
* components/services/install/lib/eazel-install-corba.c:
(impl_Eazel_Install_simple_query):
Corrected the parse of the root argument
* components/services/install/lib/eazel-install-object.c:
(eazel_install_class_initialize), (eazel_install_install_packages),
(eazel_install_uninstall_packages),
(eazel_install_revert_transaction_from_xmlstring),
(eazel_install_query_package_system),
Uses the enum return status from eazel-install-rpm-glue.c. The
delete_files signal now depend on this enum.
(eazel_install_emit_done), (eazel_install_emit_done_default):
Added a boolean flag to the done signal
* components/services/install/lib/eazel-install-public.h:
Added a boolean flag to the done signal
* components/services/install/lib/eazel-install-query.c:
(eazel_install_simple_rpm_query):
Added the root field to the packagedata
* components/services/install/lib/eazel-install-rpm-glue.c:
(install_new_packages), (download_all_packages),
(install_packages), (uninstall_all_packages), (uninstall_packages),
(hest), (revert_transaction),
(eazel_install_start_transaction_make_rpm_argument_list),
(eazel_install_do_transaction_save_report),
(eazel_install_monitor_rpm_propcess_pipe),
(eazel_install_monitor_subcommand_pipe),
(eazel_install_start_transaction),
(eazel_install_free_rpm_system_close_db_foreach),
(eazel_install_prepare_rpm_system),
(eazel_install_prepare_package_system),
(eazel_install_check_existing_packages), (print_package_list),
(eazel_uninstall_upward_traverse),
(eazel_uninstall_downward_traverse),
(eazel_uninstall_check_for_install), (eazel_uninstall_globber):
Uses the enum return status from eazel-install-rpm-glue.c. Also
added "D: " to all the debug output, so I can easily remove them
in the future.
* components/services/install/lib/eazel-install-rpm-glue.h:
Redefined the functions to return an enum status instead of bool.
* components/services/install/lib/eazel-install-types.h:
* components/services/install/lib/eazel-install-types.c:
(packagedata_new), (packagedata_destroy_foreach):
Added the root field to the packagedage (bug 2345)
* components/services/time/service/main.c:
(trilobite_service_factory_destroy):
Fixed the destruction of the factory object
* components/services/time/service/trilobite-eazel-time-service-publi
c.h:
* components/services/time/service/trilobite-eazel-time-service.c:
(impl_Trilobite_Eazel_Time_Service_check_time),
(trilobite_eazel_time_service_finalize),
(trilobite_eazel_time_service_unref),
(trilobite_eazel_time_service_class_initialize),
(trilobite_eazel_time_service_initialize_load_config),
(trilobite_eazel_time_service_initialize),
(trilobite_eazel_time_service_do_http_request):
Added "D: " to debug output. The service now reads config from a
xml config file (bug 945). Removed the _destroy call and added a
unref and finallize instead.
* components/services/trilobite/libtrilobite/helixcode-utils.h:
* components/services/trilobite/libtrilobite/helixcode-utils.c:
(xml_get_value):
Returns the string as a g_strdup'ed value instead. Added a bug
(2448) reg. making it return const char * instead.
* components/services/trilobite/libtrilobite/trilobite-core-utils.h:
*components/services/trilobite/libtrilobite/trilobite-core-utils.c:
(trilobite_get_config_dir_string):
Added this call, which returns the top dir for
* nautilus-installer/src/Makefile:
* nautilus-installer/src/callbacks.c:
* nautilus-installer/src/callbacks.h:
* nautilus-installer/src/installer.c: (installer):
* nautilus-installer/src/interface.c: (create_window):
* nautilus-installer/src/main.c:
Begun work on using the categories.
2000-08-28 Robey Pointer <robey@eazel.com>
* components/services/install/lib/Makefile.am:
* components/services/install/lib/eazel-install-md5.c:
(_byte_reverse), (md5_init), (md5_update), (md5_final),
(md5_transform), (md5_get_digest), (md5_get_digest_from_file),
(main):
* components/services/install/lib/eazel-install-md5.h:
Add MD5 code (stolen from evolution).
2000-08-28 John Sullivan <sullivan@eazel.com>
Added more bug numbers to FIXMEs. 77 to go. I am exhausted
from creating bug reports, so the remaining ones will have
to wait until at least tomorrow.
* src/nautilus-complex-search-bar.c:
(nautilus_complex_search_bar_set_location),
(fewer_options_callback), (update_options_buttons_state):
* src/nautilus-search-bar.c:
* src/nautilus-sidebar-tabs.c: (draw_one_tab_themed),
(get_tab_width):
* src/nautilus-sidebar.c: (receive_dropped_uri_list),
(receive_dropped_keyword), (add_command_buttons):
* src/nautilus-simple-search-bar.c:
(nautilus_search_uri_to_simple_search_criteria),
(nautilus_simple_search_criteria_to_search_uri):
* src/nautilus-switchable-search-bar.c:
(search_bar_preference_changed_callback),
(nautilus_switchable_search_bar_set_location),
(nautilus_search_uri_is_displayable_by_mode):
2000-08-28 Andy Hertzfeld <andy@eazel.com>
* src/nautilus-property-browser.c: (make_anti_aliased_label),
(nautilus_property_browser_initialize),
(make_properties_from_directory_path),
(make_properties_from_xml_node), (make_category),
(make_category_link), (nautilus_property_browser_update_contents):
used anti-aliased text via nautilus_label where appropriate
* src/nautilus-theme-selector.c: (make_anti_aliased_label),
(nautilus_theme_selector_initialize):
used anti-aliased text via nautilus_label where appropriate
2000-08-28 J Shane Culpepper <pepper@eazel.com>
* components/services/install/lib/eazel-install-types.h:
Removing old FIXME comments.
2000-08-28 Ali Abdin <aliabdin@aucegypt.edu>
* components/help/converters/gnome-db2html2/TODO:
Updated.
* components/help/converters/gnome-db2html2/AUTHORS:
New file (to give credit where its due and to show who to contact
for maintainership purposes)
* components/help/converters/gnome-db2html2/sect-elements.c
(sect_table_with_border_start_element) Its a good idea to actually
2000-08-28 John Sullivan <sullivan@eazel.com>
Added more bug numbers to FIXMEs. 94 to go.
* libnautilus-extensions/nautilus-icon-canvas-item.c: (map_pixbuf),
(draw_label_text_aa), (nautilus_icon_canvas_item_event):
* libnautilus-extensions/nautilus-icon-container.c: (icon_free),
(get_all_icon_bounds), (lay_down_icons_tblr), (lay_down_icons),
(nautilus_icon_container_move_icon), (stop_rubberbanding),
(destroy), (hide_rename_widget):
* libnautilus-extensions/nautilus-icon-dnd.c:
(nautilus_icon_container_dropped_icon_feedback),
(receive_dropped_keyword), (auto_scroll_timeout_callback),
(nautilus_icon_container_find_drop_target),
(nautilus_icon_dnd_update_drop_target), (nautilus_icon_dnd_fini):
* libnautilus-extensions/nautilus-link-set.c: (link_set_path_name),
(expand_uri):
* libnautilus-extensions/nautilus-link.c:
(nautilus_link_get_root_property),
(nautilus_link_get_additional_text), (make_local_path),
(nautilus_link_get_image_uri), (nautilus_link_get_link_uri),
(nautilus_link_get_link_type):
* src/nautilus-sidebar-title.c:
(nautilus_sidebar_title_select_text_color), (update_font),
(update_title), (update_more_info), (update_emblems),
(update_notes):
2000-08-28 Michael Engber <engber@eazel.com>
The three zooming related items no longer appear in
the desktop's right click menu (bug 1737)
* src/file-manager/fm-desktop-icon-view.c:
(fm_desktop_icon_view_initialize_class),
(change_desktop_background_menu_item_callback),
(fm_desktop_icon_view_create_background_context_menu_zoom_items):
* src/file-manager/fm-directory-view.c:
(fm_directory_view_initialize_class),
(real_create_background_context_menu_zoom_items),
(create_background_context_menu_zoom_items),
(fm_directory_view_real_create_background_context_menu_items):
* src/file-manager/fm-directory-view.h:
2000-08-28 John Sullivan <sullivan@eazel.com>
Added more bug numbers to FIXMEs. 142 to go.
* src/nautilus-view-frame-nautilus-view.c: (load_location),
(stop_loading), (selection_changed), (title_changed):
* src/nautilus-view-frame.c:
(nautilus_view_frame_handle_client_destroy),
(nautilus_view_frame_set_active_errors):
* src/nautilus-window-manage-views.c:
(nautilus_window_report_load_underway),
(nautilus_window_report_load_complete),
(nautilus_window_report_load_failed),
(nautilus_window_update_view),
(nautilus_window_load_sidebar_panel), (open_location),
(nautilus_window_update_state),
(nautilus_window_end_location_change_callback):
* src/nautilus-window-menus.c: (get_static_bookmarks_file_path):
* src/nautilus-window.c: (nautilus_window_load_content_view_menu):
* tools/leak-checker/nautilus-leak-checker.c: (detect_reentry):
* tools/leak-checker/nautilus-leak-hash-table.c:
(nautilus_leak_hash_element_vector_add),
(nautilus_leak_hash_table_remove):
2000-08-28 Robey Pointer <robey@eazel.com>
components/services/install/nautilus-view/nautilus-service-install-
view.c: (generate_install_form), (create_package),
(nautilus_install_parse_uri), (make_new_status),
(current_progress_bar_complete),
(nautilus_service_install_downloading),
(nautilus_service_install_dependency_check),
(nautilus_service_install_preflight_check),
(nautilus_service_install_download_failed),
(nautilus_service_install_installing),
(nautilus_service_install_done), (nautilus_service_install_failed),
(nautilus_service_need_password),
(nautilus_service_install_view_update_from_uri),
(service_install_load_location_callback):
components/services/install/nautilus-view/nautilus-service-install-
view.h:
support local file RPMs and using a specific server (mostly for
demo purposes); make sure "test mode" is off; some i18n cleanup
2000-08-28 John Sullivan <sullivan@eazel.com>
Added more bug numbers to FIXMEs. 166 to go.
* libnautilus-extensions/nautilus-search-bar-criterion.c:
(nautilus_search_bar_criterion_destroy), (get_size_location_for),
(get_emblem_location_for):
* libnautilus-extensions/nautilus-search-uri.c:
* libnautilus-extensions/nautilus-stock-dialogs.c:
(timed_wait_callback):
* libnautilus-extensions/nautilus-string-map.c:
* libnautilus-extensions/nautilus-trash-directory.c:
(get_volume_vfs_uri_if_writable):
* libnautilus-extensions/nautilus-volume-monitor.c:
(mount_volume_mount), (eject_cdrom), (mount_volume_floppy_add),
(mount_volume_add_aliases), (mntent_is_removable_fs),
(find_volumes), (nautilus_volume_monitor_mount_unmount_removable):
2000-08-28 Pavel Cisler <pavel@eazel.com>
* libnautilus-extensions/nautilus-file.c:
(nautilus_file_is_in_trash):
* src/file-manager/fm-directory-view.c:
(fm_directory_view_can_move_file_to_trash):
Fix FIXME 2428 and 2389.
Made it so that the respective gnome_vfs_find_directory calls
won't do any I/O.
2000-08-28 John Sullivan <sullivan@eazel.com>
Added more bug numbers to FIXMEs. 187 to go. This time I
didn't check in until I was sure I hadn't broken the build.
* libnautilus-extensions/nautilus-directory-async.c:
(allow_metafile), (set_up_request_by_file_attributes),
(activation_uri_nautilus_link_read_callback),
(activation_uri_gmc_link_read_callback):
* libnautilus-extensions/nautilus-file-utilities.c:
* libnautilus-extensions/nautilus-file-utilities.h:
* libnautilus-extensions/nautilus-file.c: (nautilus_file_rename),
(nautilus_file_compare_for_sort), (nautilus_file_can_get_owner),
(nautilus_file_set_owner), (nautilus_file_can_get_group),
(nautilus_file_get_group_name), (nautilus_file_set_group),
(nautilus_file_get_owner_as_string), (nautilus_file_is_in_trash),
(nautilus_file_mark_gone), (nautilus_file_dump):
2000-08-28 Andy Hertzfeld <andy@eazel.com>
* src/file-manager/fm-properties-window.c: (attach_owner_menu):
fixed problem with extra slash in comment breaking the build
2000-08-28 John Sullivan <sullivan@eazel.com>
Added more bug numbers to FIXMEs. 207 to go.
* components/tree/nautilus-tree-model.c:
(nautilus_tree_model_destroy),
(nautilus_tree_model_monitor_remove), (report_node_added),
(report_node_changed), (nautilus_tree_stop_monitoring_internal):
* components/tree/nautilus-tree-view.c:
(nautilus_tree_view_should_skip_file): Added bug numbers to FIXMEs.
* src/file-manager/fm-directory-view.c: Doh! Added a forward
declaration for a function that I changed from public to private
earlier and checked in without building accidentally.
2000-08-28 John Sullivan <sullivan@eazel.com>
Wrote new bug reports for FIXMEs, and added bug numbers.
Now there are 219 Nautilus FIXMEs without bug numbers.
* components/hardware/nautilus-hardware-view.c:
(get_RAM_description):
* components/help/converters/gnome-db2html2/gdb3html.c:
(parse_file):
* components/help/help-method.c: (escape_for_shell),
(help_uri_to_string), (convert_file_to_uri), (find_help_file):
* components/music/nautilus-music-view.c: (play_status_display),
(slider_moved_callback), (slider_release_callback),
(nautilus_music_view_drag_data_received):
* components/rpmview/nautilus-rpm-view.c:
(nautilus_rpm_view_update_from_uri):
* components/sample/nautilus-sample-content-view.c:
2000-08-28 Gene Z. Ragan <gzr@eazel.com>
Fixed bug #1942, Trash icon on desktop has "Move to Trash" in
right-click menu.
* libnautilus-extensions/nautilus-link.c:
(nautilus_link_is_home_link), (nautilus_link_is_trash_link),
(nautilus_link_can_accept_drag):
Rename path argument to uri. The funciton can accrept
a URI.
* libnautilus-extensions/nautilus-link.h:
* src/file-manager/fm-directory-view.c: (trash_link_is_in_files),
(fm_directory_trash_link_in_selection),
(fm_directory_view_real_create_selection_context_menu_items):
New functions to identify if a Trash link is in the selection.
2000-08-28 Pavel Cisler <pavel@eazel.com>
* README:
Added libunicode to the list of dependencies because new
gtkhtlm depends on it now.
2000-08-28 John Sullivan <sullivan@eazel.com>
Some FIXME work. Removed some obsolete FIXMEs, and added
bug numbers to others (some existing bug reports, some new
bug reports). 236 FIXMES without bug numbers remain.
* src/file-manager/fm-directory-view.c:
(zoomable_zoom_to_fit_callback),
(fm_directory_view_can_move_file_to_trash),
(fm_directory_view_trash_or_delete_selection), (activate_callback),
(fm_directory_view_activate_file),
(fm_directory_view_get_context_menu_index):
* src/file-manager/fm-directory-view.h:
* src/file-manager/fm-error-reporting.c: (fm_rename_file):
* src/file-manager/fm-error-reporting.h:
* src/file-manager/fm-properties-window.c:
(activate_group_callback), (attach_group_menu),
(activate_owner_callback), (attach_owner_menu),
(create_basic_page), (create_permissions_page):
* src/file-manager/fm-search-list-view.c: (real_merge_menus):
* src/nautilus-sidebar.c: (receive_dropped_uri_list):
2000-08-28 Rebecca Schulman <rebecka@eazel.com>
Work on task 1969, allow content searches to
be done by looking for "All of the words" or
"any of the words"
The work to correct the Search results titles
still needs to be done.
* libnautilus-extensions/nautilus-search-bar-criterion.c:
(nautilus_search_bar_criterion_new_from_values),
(nautilus_search_bar_criterion_next_new),
(get_next_default_search_criterion_type),
(get_content_location_for):
Change content information. Also removed location criterion
because we are not shipping vault searching for 1.0, so the
location is always "my computer"
* libnautilus-extensions/nautilus-search-bar-criterion.h:
* src/nautilus-complex-search-bar.c:
(unattach_criterion_from_search_bar):
Fixed bug that would not detach date criteria correctly
2000-08-28 Ramiro Estrugo <ramiro@eazel.com>
Complete task 1511. Icons not AA in properties dialog.
* src/file-manager/fm-properties-window.c:
(get_pixbuf_for_properties_window),
(update_properties_window_icon), (create_image_widget_for_file),
(create_basic_page):
Use NautilusImage instead of GtkPixmap so that if the
SMOOTH_GRAPHICS preference is true, the icon will display using
alpha compositing.
2000-08-28 Ramiro Estrugo <ramiro@eazel.com>
* libnautilus-extensions/nautilus-buffered-widget.c:
(nautilus_buffered_widget_initialize),
(nautilus_buffered_widget_realize),
(nautilus_buffered_widget_draw),
(background_appearance_changed_callback),
(connect_to_background_if_needed):
Delay the connection to the NautilusBackground until its time to
redraw the widget. Only make this connection if an ancestor
widget with an attatched NautilusBackground exists.
This allows subclasses to be used on both widgets with and without
NautilusBackgrounds attatched.
2000-08-28 Ramiro Estrugo <ramiro@eazel.com>
* libnautilus-extensions/nautilus-label.c:
(nautilus_label_set_font_from_components):
* libnautilus-extensions/nautilus-label.h:
New convenient function to set the font from components.
* components/music/nautilus-music-view.c:
(nautilus_music_view_initialize), (add_play_controls):
Use new nautilus_label_set_font_from_components to avoid font
object leaks.
components/services/nautilus-dependent-shared/shared-service-widgets.c:
(create_label_widget), (create_services_title_widget):
Use new nautilus_label_set_font_from_components.
* src/nautilus-first-time-druid.c: (make_anti_aliased_label),
(make_hbox_user_level_radio_button), (set_up_update_feedback_page):
Use new nautilus_label_set_font_from_components to avoid font
object leaks.
2000-08-28 Andy Hertzfeld <andy@eazel.com>
* src/nautilus-first-time-druid.c: (make_anti_aliased_label),
(make_hbox_user_level_radio_button), (set_up_user_level_page),
(set_up_service_signup_page), (set_up_update_page),
(set_up_update_feedback_page), (nautilus_first_time_druid_show),
(download_callback), (initiate_file_download):
used anti-aliased text, via nautilus_label, throughout the first time druid
* components/music/nautilus-music-view.c:
(nautilus_music_view_initialize),
(music_view_set_selected_song_title), (add_play_controls),
(nautilus_music_view_update_from_uri):
used anti-aliased text via nautilus_label, for title and other labels
2000-08-27 J Shane Culpepper <pepper@eazel.com>
components/services/summary/nautilus-view/nautilus-summary-view.c:
(generate_summary_form), (maintenance_button_cb), (goto_vault_cb),
(update_netscape_cb):
Another summary snapshot. Still needs alot of ui work as well as
hooking up the xml parsing.
2000-08-27 Ali Abdin <aliabdin@aucegypt.edu>
Entity support done in the bad evil way! (fixes bug #2200)
(we should re-write gnome-db2html2 to use the DOM parser - but this
should be filed as another bug - and this code is here until
gnome-db2html2 IS written to use the DOM parser)
* components/help/converters/gnome-db2html2/toc-elements.c:
Extend the ElementInfo toc_elements[] table down to the 'TABLE' tag
Fixes bug #2361 - It took me an INSANE amount of time for such a
simple little FIX. The shitty thing is, I knew the problem when I
started but then I decided to 'explore'
* components/help/converters/gnome-db2html2/gdb3html.[ch]:
Include libxml header's (for entity support). Include an
xmlParserCtxtPtr in the Context struct
(gdb3html_comment), (gdb3html_warning), (gdb3html_error),
(gdb3html_characters): Renamed into its own namespace (to avoid clash
with libxml header)
(gdb3html_internalSubset), (gdb3html_isStandalone),
(gdb3html_hasInternalSubset), (gdb3html_hasExternalSubset),
(gdb3html_resolveEntity), (gdb3html_entityDecl),
(gdb3html_notationDecl), (gdb3html_attributeDecl),
(gdb3html_elementDecl), (gdb3html_unparsedEntityDecl),
(gdb3html_reference), (gdb3html_processingInstruction),
(gdb3html_getParameterEntity): New functions (that handle DOM parsing
using SAX)
(cdata_block), (gdb3html_characters), (end_element),
(start_element), (start_document), (end_document),
(get_entity): Include calls to the DOM SAX handler
(xml_parse_document): New function to get the xmlDocPtr without
spewing warning/error messages all over the place.
(parse_file): Initialize the ParserCtxt and substitute entities by
default
2000-08-26 Andy Hertzfeld <andy@eazel.com>
cut-n-paste-code/widgets/nautilus-druid/nautilus-druid-page-eazel.c
: (nautilus_druid_page_eazel_prepare):
fixed bug in the new eazel druid where the next and back buttons weren't
being enabled and disabled properly for standard pages
2000-08-26 Andy Hertzfeld <andy@eazel.com>
* src/file-manager/fm-directory-view.c: (compute_menu_item_info),
(fm_directory_view_real_create_selection_context_menu_items):
cleaned up the context menu a little bit by adding a separator after
the 3 open commands and adding an ellipsis to "Show Properties".
2000-08-26 Andy Hertzfeld <andy@eazel.com>
At Bud's request, added a "use tighter layout" option in the view menu, which causes
the icon view to use a tighter layout algorithm. It defaults to off.
* libnautilus-extensions/nautilus-icon-container.c:
* libnautilus-extensions/nautilus-icon-container.h:
* libnautilus-extensions/nautilus-icon-private.h:
(get_icon_space_width), (lay_down_one_line),
(lay_down_icons_horizontal),
(nautilus_icon_container_set_tighter_layout),
(nautilus_icon_container_is_auto_layout),
(nautilus_icon_container_is_tighter_layout):
added a "tighter layout" boolean; when it's set, don't pad out
to the nearest power of two.
* libnautilus-extensions/nautilus-metadata.h:
added a tag for tighter layout in the metadata
* src/file-manager/fm-icon-view.c,h: (tighter_layout_callback),
(compute_menu_item_info), (insert_one_context_menu_item),
(update_layout_menus), (fm_icon_view_get_directory_tighter_layout),
(fm_icon_view_real_get_directory_tighter_layout),
(fm_icon_view_set_directory_tighter_layout),
(fm_icon_view_real_set_directory_tighter_layout),
(fm_icon_view_begin_loading),
(insert_bonobo_menu_item), (sort_callback),
(sort_direction_callback), (manual_layout_callback),
(layout_changed_callback), (fm_icon_view_merge_menus),
(update_one_menu_item), (fm_icon_view_initialize_class):
added a "tighter layout" boolean as an instance variable,
added a toggle menu item, and hooked everything up so the
menu item toggles the tighter layout state. It stores it
per directory in the metadata.
2000-08-25 Rebecca Schulman <rebecka@eazel.com>
Fixed bug 2071 to improve the date modified search
criterion. Also, an change to the indexing info dialog
because of a change in the medusa search service API
* libnautilus-extensions/nautilus-dateedit-extensions.c:
(nautilus_gnome_date_edit_get_date_as_string):
* libnautilus-extensions/nautilus-dateedit-extensions.h:
* libnautilus-extensions/Makefile.am:
An extra addition to the gnome dateedit widget we need for
the modified search criterion
* src/nautilus-complex-search-bar.c:
(nautilus_complex_search_bar_get_location),
(attach_criterion_to_search_bar):
* libnautilus-extensions/nautilus-search-bar-criterion-private.h:
* libnautilus-extensions/nautilus-search-bar-criterion.c:
* libnautilus-extensions/nautilus-search-bar-criterion.h:
(nautilus_search_bar_criterion_new_from_values),
(nautilus_search_bar_criterion_next_new),
(nautilus_search_bar_criterion_get_location),
(get_date_modified_location_for):
Changed date modified bar to take a date edit widget
instead of an entry or menu, and parse the operatory coorectly
* src/file-manager/nautilus-indexing-info.c:
(nautilus_indexing_info_show_dialog):
Changed because medusa api was updated
2000-08-25 J Shane Culpepper <pepper@eazel.com>
components/services/summary/nautilus-view/nautilus-summary-view.c:
(generate_summary_form), (entry_changed_cb), (login_button_cb),
(maintenance_button_cb):
Another summary snapshot. Added the login frame skeleton.
2000-08-25 Robey Pointer <robey@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):
* src/nautilus-shell-interface.idl:
* src/nautilus-shell.c: (nautilus_shell_get_epv), (corba_quit),
(corba_restart):
Add corba 'restart' call to the IDL, and match it with
command-line option '--restart'. On restart, Nautilus goes
through all the exit code, then does an exec() on itself instead
of exit().
2000-08-25 John Sullivan <sullivan@eazel.com>
Fixed bug 1782 (File->Open after opening a folder crashes)
The problem was that the menus weren't being updated when
switching locations, so menus like "Open" were still sensitive
because there used to be a selection.
* src/file-manager/fm-directory-view.c:
Added menus_merged boolean to Details struct.
(fm_directory_view_merge_menus): Set menus_merged to TRUE.
(fm_directory_view_load_uri): update menus when loading URI,
but only if menus_merged is TRUE (so you don't try to update
nonexistent menus the first time, which would make Bonobo sad)
2000-08-25 John Sullivan <sullivan@eazel.com>
Fixed bug 1934 ("View as" menu gets ludicrously tall when
you add search criteria)
* src/nautilus-window.c: (nautilus_window_constructed):
Put "View as" option menu into a GtkVBox so it doesn't
insist on filling the available space vertically.
Fri Aug 25 18:13:09 2000 George Lebl <jirka@5z.com>
* cut-n-paste-code/widgets/nautilus-druid/nautilus-druid-page-eazel.c,
cut-n-paste-code/widgets/nautilus-druid/nautilus-druid.c
(nautilus_druid_size_request):
Fix height issue in size_request and set the druid page height back
to the correct size (322 pixels)
* src/nautilus-first-time-druid.c (user_level_selection_changed),
(make_label_bold) (make_hbox_user_level_radio_button)
(set_up_user_level_page): Partial arloyfication of the
user level page. Not yet using NautilusLabel because
that appears to be broken (or I'm using it wrong, will
investigate).
2000-08-25 Michael Engber <engber@eazel.com>
Refactored draw_pixbuf_aa.
* libnautilus-extensions/nautilus-background.c: (draw_pixbuf_aa),
(draw_pixbuf_scaled_aspect_aa), (draw_pixbuf_scaled_aa),
(draw_pixbuf_centered_aa), (draw_pixbuf_tiled_aa):
2000-08-25 Mathieu Lacage <mathieu@eazel.com>
components/tree/nautilus-tree-view.c: implement dnd to/from
tree view. Closes tasks 1533 and 1534.
2000-08-25 Darin Adler <darin@eazel.com>
* libnautilus-extensions/nautilus-volume-monitor.h:
* libnautilus-extensions/nautilus-volume-monitor.c:
(is_floppy_mount_path): Added helper.
(floppy_sort): Simplified logic.
(nautilus_volume_monitor_get_removable_volume_names): Used the
prepend/reverse idiom instead of append.
(nautilus_volume_monitor_volume_is_mounted): Fixed extremely
unlikely but possible buffer overflow and checked result from
sscanf.
(mount_volume_mount): Use g_strchomp instead of rolling our own.
Took out some dead code.
(mount_volumes_update_is_mounted): Fixed extremely unlikely but
possible buffer overflow and checked result from sscanf.
(mount_volume_add_aliases): Fixed possible buffer overflow and
storage leak.
(mount_volume_ext2_add): Removed code to ignore all ext2 volumes
other than "/". Moved the hack into FMDesktopIconView.
(mount_volume_cdrom_set_state), (mount_volume_floppy_set_state),
(mount_volume_ext2_set_state), (mount_volume_set_state),
(volume_set_state_empty) (mount_volume_activate_cdrom),
(mount_volume_activate_floppy), (mount_volume_activate_ext2),
(mount_volume_activate), (eject_cdrom), (mount_volume_deactivate),
(mount_volume_check_change), (check_permissions),
(mount_volume_floppy_add),
(cdrom_ioctl_frenzy), (mount_volume_iso9660_add),
(add_mount_volume), (mntent_is_removable_fs), (find_volumes),
(nautilus_volume_monitor_mount_unmount_removable),
(free_volume_info), (get_iso9660_volume_name),
(get_ext2_volume_name), (get_floppy_volume_name):
Removed mount_type and volume_fd. Made a bunch of formerly-
public things private and added NAUTILUS_ prefix to some public
identifier that didn't have it.
* libnautilus-extensions/nautilus-trash-directory.c:
(get_volume_vfs_uri_if_writable):
Changed callers to use the constants with the NAUTILUS_ prefix.
* src/file-manager/fm-desktop-icon-view.c: (create_mount_link):
Moved the "/" hack here (marked with a FIXME and bug number) and
made the two cases that create mount links share code. Also
made it use type instead of the now-gone mount_type.
(startup_create_mount_links), (volume_mounted_callback): Call the
new common routine instead of having two copies of the same code.
2000-08-25 John Sullivan <sullivan@eazel.com>
Made sorting by size put big ones first, to match
common sense. (Date now puts recent ones first by
the same reasoning.) Changed "Ascending/Descending"
pair of items to single "Reversed Order" item so
it isn't making any promises about order.
* libnautilus-extensions/nautilus-file.c:
(nautilus_file_compare_directories_by_size): Reverse
the logic for directory ordering.
* src/file-manager/fm-icon-view.c:
Changed Details field from updating_bonobo_radio_menu_item
to updating_bonobo_marked_menu_item since it now covers one
toggle item also.
(update_layout_menus), (sort_callback), (sort_direction_callback),
(manual_layout_callback), (fm_icon_view_merge_menus): Changed
all the code dealing with "Ascending/Descending" radio-item pair
to deal with single "Reversed Order" toggle item instead.
2000-08-24 Ali Abdin <aliabdin@aucegypt.edu>
* components/help/converters/gnome-db2html2/sect-elements.c:
* components/help/converters/gnome-db2html2/gdb3html.h:
Add in support for the <mousebutton> tag
2000-08-25 Ramiro Estrugo <ramiro@eazel.com>
* libnautilus-extensions/nautilus-buffered-widget.c:
(nautilus_buffered_widget_initialize_class),
(nautilus_buffered_widget_realize),
(nautilus_buffered_widget_draw),
(nautilus_buffered_widget_size_allocate),
(nautilus_buffered_widget_expose_event):
Some dumb renamings and superfluous assertion removal.
* libnautilus-extensions/nautilus-image.c:
(nautilus_image_initialize_class), (nautilus_image_draw),
(nautilus_image_expose_event), (nautilus_image_paint),
(nautilus_image_set_alpha_mode):
Add support for two alpha rendering modes: 1) FULL, the pixbuf is
composited on top of the widget's background - expensive. 2)
THRESHOLD, the pixbuf is drawn with an alpha threshold without any
compositing - fast but not as smooth.
* libnautilus-extensions/nautilus-label.c: (render_buffer_pixbuf):
Remove a dumb printf i left in before.
* src/nautilus-sidebar-title.c:
(nautilus_sidebar_title_initialize), (update_icon),
(nautilus_sidebar_title_hit_test_icon),
(sidebar_create_smooth_components_if_needed),
(sidebar_create_normal_components_if_needed),
(smooth_graphics_mode_changed_callback):
Use the new dual alpha support in the image class to simplify
things. Create only one icon and change the alpha mode on that
when the smooth graphics preference changes. Ill do the same for
emblems later.
2000-08-25 Ramiro Estrugo <ramiro@eazel.com>
* test/test-nautilus-label.c:
(red_label_color_value_changed_callback),
(green_label_color_value_changed_callback),
(blue_label_color_value_changed_callback),
(alpha_label_color_value_changed_callback),
(red_background_color_value_changed_callback),
(green_background_color_value_changed_callback),
(blue_background_color_value_changed_callback),
(alpha_background_color_value_changed_callback),
(widget_set_nautilus_background_image),
(widget_set_nautilus_background_color),
(widget_get_nautilus_background_color),
(background_changed_callback), (main):
Fix the background color test.
2000-08-25 Ramiro Estrugo <ramiro@eazel.com>
components/services/nautilus-dependent-shared/shared-service-widgets.c:
(create_label_widget), (create_services_title_widget),
(create_services_header_widget):
components/services/nautilus-dependent-shared/shared-service-widgets.h:
Update for changes label/image changes that fix the ugly margins.
2000-08-25 Ramiro Estrugo <ramiro@eazel.com>
* libnautilus-extensions/nautilus-buffered-widget.c:
(nautilus_buffered_widget_initialize),
(buffered_widget_update_pixbuf),
(nautilus_buffered_widget_set_tile_pixbuf),
(nautilus_buffered_get_tile_pixbuf_size),
(nautilus_buffered_widget_set_horizontal_offset),
(nautilus_buffered_widget_get_horizontal_offset),
(nautilus_buffered_widget_set_vertical_offset),
(nautilus_buffered_widget_get_vertical_offset):
* libnautilus-extensions/nautilus-buffered-widget.h:
Add suport for a vertical and horizontal offset. Pass these on to
the pixbuf render function so that the subclasses can do stuff
with them.
* libnautilus-extensions/nautilus-image.c:
(nautilus_image_initialize), (nautilus_image_size_request),
(render_buffer_pixbuf), (nautilus_image_set_overall_alpha),
(nautilus_image_set_alpha_mode), (nautilus_image_get_alpha_mode):
* libnautilus-extensions/nautilus-image.h:
Use the GtkMisc xpad/ypad into account when computing the
requested geometry.
Add preliminary support an alpha mode so that the image widget can
server as a regular thresholded pixbuf display without doing the
full and expensive compositing on the background. Not hooked up yet.
Update for vertical/horizontal offset support.
* libnautilus-extensions/nautilus-label.c:
(nautilus_label_size_request), (render_buffer_pixbuf):
Use the GtkMisc xpad/ypad into account when computing the
requested geometry.
Update for vertical/horizontal offset support.
2000-08-25 Maciej Stachowiak <mjs@eazel.com>
* components/tree/Makefile.am:
* components/tree/libmain.c: (tree_shlib_object_destroyed),
(tree_shlib_make_object):
* components/tree/main.c: (tree_exe_object_destroyed),
(tree_exe_make_object), (main):
* components/tree/nautilus-tree-view-iids.h:
* components/tree/nautilus-tree-view.oafinfo: Removed
* components/tree/nautilus-tree-view.oafinfo.exe: Added
* components/tree/nautilus-tree-view.oafinfo.shlib: Added
* configure.in:
Added capability to build the tree view as either a shared library
server or an executable server, as part of the plan to fix
1647. However, using the shlib component causes massive
instability in both the tree view and nautilus in general. I am
leaving the executable component the default until I fix this.
Fri Aug 25 02:17:17 2000 George Lebl <jirka@5z.com>
* cut-n-paste-code/widgets/nautilus-druid/Makefile.am,
cut-n-paste-code/widgets/nautilus-druid/nautilus-druid-page-finish.c,
cut-n-paste-code/widgets/nautilus-druid/nautilus-druid-page-finish.h,
cut-n-paste-code/widgets/nautilus-druid/nautilus-druid-page-start.c,
cut-n-paste-code/widgets/nautilus-druid/nautilus-druid-page-start.h:
Remove these as they are obscolete anyway.
* cut-n-paste-code/widgets/nautilus-druid/nautilus-druid.c
(nautilus_druid_init), (nautilus_druid_size_request),
(nautilus_druid_size_allocate):
Fix calculating of size and borders
* icons/Makefile.am, icons/druid_*.png: Add Arlo's druid images.
* po/POTFILES.in,
cut-n-paste-code/widgets/nautilus-druid/nautilus-druid-page-eazel.c,
cut-n-paste-code/widgets/nautilus-druid/nautilus-druid-page-eazel.h:
Add the eazel druid page. Theoretically this should move to
libnautilus-extentions soon, including deriving nautilus-druid from
gnome-druid, in which way we can eliminate the entire
cut-n-paste mess for the druid. Likely to do this tommorrow with
the rest of the arloification.
* src/nautilus-first-time-druid.c (set_up_background),
(set_up_user_level_page), (set_up_service_signup_page),
(set_up_update_page), (set_up_update_feedback_page),
(set_page_sidebar), (nautilus_first_time_druid_show):
Use the eazel page for the druid and set up the sidebar image
to the standard one.
2000-08-25 Eskil Heyn Olsen <eskil@eazel.com>
* components/services/install/command-line/Makefile.am:
No longer builds anything else then eazel-install.
* components/services/install/command-line/eazel-alt-install-corba.c:
(install_failed),
Changed output...
(create_package),
if used with --file and the filename does not start with /, adds
$cwd to filename
(main):
Commandline arg for rpm db root
* components/services/install/idl/trilobite-eazel-install.idl:
Added the rpm db root arg to install, uninstall, query and revert.
* components/services/install/lib/eazel-install-corba-callback.h:
* components/services/install/lib/eazel-install-corba-callback.c:
(eazel_install_callback_install_packages),
(eazel_install_callback_uninstall_packages),
(eazel_install_callback_simple_query),
(eazel_install_callback_revert_transaction):
Added support for rpm db root arguments for the four major
operations. Encodes root==NULL to ""
* components/services/install/lib/eazel-install-corba.c:
(impl_Eazel_Install_install_packages),
(impl_Eazel_Install_uninstall_packages),
(impl_Eazel_Install_revert_transaction),
(impl_Eazel_Install_simple_query):
Decode the root arg... big stuff heh ?
* 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_revert_transaction_from_file),
(eazel_install_query_package_system), (string_list_copy),
(eazel_install_set_root_dirs):
Changed the root_dir GtkArg to a GList, so you can set the array
of roots to use. The object defaults to use /var/lib/rpm and
~/.nautilus/rpmdb as roots. If ~/.nautilus/rpmdb does not exist,
it will create a rpmdb in this dir.
In -private.h, I've removed the rpmdb var in the packsys.rpm
union, and now have a hashtable that maps from root dir to rpmdb.
in the private struct, there is also a cur_root var, which holds
the root given to the four calls, or DEFAULT_RPM_DB_ROO
(/var/lib/rpm) if called with root==NULL.
* components/services/install/lib/eazel-install-protocols.c:
(gnome_vfs_xfer_callback), (gnome_vfs_fetch_remote_file):
Added gnome_vfs_callback_struct so I can transfer both the
file_to_report and EazelInstall object. Thus gnome-vfs downloads
now again reports short names (eg. xfig instead of
xfig-3.2.2-_beta1-2).
* components/services/install/lib/eazel-install-query.h:
Comments on how to use the query call.
* components/services/install/lib/eazel-install-query.c:
(eazel_install_simple_rpm_query),
Now collects the result into a parameter instead of returning a glist.
(eazel_install_simple_query):
If no cur_root is set in the EazelInstall object, it queries on
all the databases, otherwise, it only queries the cur_root db.
Plus I fixed some horribleness in the vaarg stuff.
* components/services/install/lib/eazel-install-rpm-glue.c:
(install_new_packages), (download_all_packages),
(install_packages), (uninstall_packages),
(eazel_install_start_transaction),
(eazel_install_free_rpm_system_close_db_foreach),
(eazel_install_free_rpm_system),
(eazel_install_prepare_rpm_system),
(eazel_install_prepare_package_system),
(eazel_install_add_to_rpm_set),
(eazel_install_check_existing_packages),
(eazel_install_fetch_rpm_dependencies),
(eazel_install_ensure_deps),
Changed to use the new hashtable of rpmdb's.
(eazel_uninstall_upward_traverse),
(eazel_uninstall_downward_traverse),
(eazel_uninstall_check_for_install),
(eazel_uninstall_globber):
The uninstall stuff uses eazel_install_simple_query now (bug
1697). Also did more work on the downward traverse, although I
still feel it's too dangerous to actually use. But now the upwards
works properly (by using the neglist feature in the query, fixes
bug 1539)
* components/services/install/lib/eazel-install-types.c:
(packagedata_fill_from_rpm_header):
Eek, I used pointers into the rpmheader instead of copying them
out. At least that
* components/services/install/lib/eazel-install-xml-package-list.c:
(xml_get_prop),
Made a funky xml_get_prop call, that like xmlGetProp gets a
property, but also g_strdup's it and free the malloc'ed libxml value.
(parse_category), (generate_xml_package_list),
(osd_parse_implementation), (osd_parse_softpkg),
(parse_osd_xml_from_memory):
Uses xml_get_prop
* components/services/install/nautilus-view/nautilus-service-install.
c: (nautilus_service_install_view_install_package_callback),
(nautilus_service_install_view_uninstall_package_callback):
Pass NULL for the root parameter, that causes eazelinstall to
default to the /var/lib/rpm db
2000-08-24 J Shane Culpepper <pepper@eazel.com>
components/services/summary/nautilus-view/nautilus-summary-view.c:
(generate_summary_form):
Snapshot checkin of the parent frame layout. Still looks bad but
I wanted capture the parent changes in case I do something dumb.
2000-08-24 Ramiro Estrugo <ramiro@eazel.com>
* libnautilus-extensions/nautilus-buffered-widget.c:
(nautilus_buffered_widget_expose),
(buffered_widget_create_pixbuf_from_background),
(nautilus_buffered_widget_get_tile_pixbuf),
(nautilus_buffered_get_tile_pixbuf_size):
* libnautilus-extensions/nautilus-buffered-widget.h:
New function to access the tile_height.
* libnautilus-extensions/nautilus-label.c:
(nautilus_label_size_request):
Take the tile height into account when computing the requested
label height.
2000-08-24 Maciej Stachowiak <mjs@eazel.com>
* components/tree/nautilus-tree-view.c
(view_node_to_uri): New function.
(lots of places): Use it.
2000-08-24 Ali Abdin <aliabdin@aucegypt.edu>
* components/help/converters/gnome-db2html2/sect-elements.[ch]:
(sect_table_with_border_start_element): Renamed from
sect_table_start_element to this.
(sect_table_without_border_start_element): New function
(sect_member_start_element): ditto
(sect_member_end_element): ditto
* components/help/converters/gnome-db2html2/gdb3html.h:
Add in support for the <simplelist> and <member> tags
2000-08-24 Darin Adler <darin@eazel.com>
Moved functions to gnome-vfs.
* components/music/nautilus-music-view.c: (play_current_file),
(nautilus_music_view_update_from_uri):
* libnautilus-extensions/nautilus-bookmark.c:
(nautilus_bookmark_uri_known_not_to_exist):
* libnautilus-extensions/nautilus-directory-background.c:
(theme_image_path_to_uri),
(nautilus_directory_background_read_desktop_settings),
(nautilus_directory_background_write_desktop_settings):
* libnautilus-extensions/nautilus-file-utilities.c:
(nautilus_get_user_main_directory), (nautilus_is_remote_uri):
* libnautilus-extensions/nautilus-gdk-pixbuf-extensions.c:
(nautilus_gdk_pixbuf_load):
* libnautilus-extensions/nautilus-icon-factory.c:
(make_thumbnail_path), (path_represents_svg_image),
(load_specific_image), (nautilus_icon_factory_make_thumbnails):
* libnautilus-extensions/nautilus-link-set.c: (expand_uri):
* libnautilus-extensions/nautilus-link.c: (nautilus_link_create),
(nautilus_link_set_icon), (nautilus_link_set_link_uri),
(nautilus_link_set_type), (nautilus_link_get_root_property),
(make_local_path), (nautilus_link_get_image_uri):
* libnautilus-extensions/nautilus-preferences-item.c:
(add_icon_themes):
* libnautilus-extensions/nautilus-program-choosing.c:
(nautilus_launch_application_parented):
* libnautilus-extensions/nautilus-trash-directory.c:
(get_volume_vfs_uri_if_writable):
* libnautilus-extensions/nautilus-volume-monitor.c:
(mount_volume_mount):
* src/file-manager/fm-desktop-icon-view.c:
(startup_create_mount_links), (volume_mounted_callback),
(place_home_directory), (get_local_path):
* src/file-manager/fm-directory-view.c: (activate_callback):
* src/file-manager/fm-icon-view.c: (play_file):
* src/file-manager/fm-properties-window.c:
(get_and_ref_file_to_display):
* src/nautilus-desktop-window.c: (nautilus_desktop_window_new):
* src/nautilus-property-browser.c:
(nautilus_property_browser_drag_data_get), (remove_background),
(remove_emblem), (emblem_image_file_changed),
(add_background_to_browser), (emblem_dialog_clicked),
(make_properties_from_directory):
* src/nautilus-sidebar.c: (map_local_data_file),
(uri_is_local_image):
* src/nautilus-theme-selector.c: (populate_list_with_themes):
* src/nautilus-view-frame-bonobo-embeddable.c:
(bonobo_subdoc_load_location):
* src/nautilus-window.c: (nautilus_window_go_home):
Changed to use local path functions from gnome-vfs now that
they are moved there from Nautilus.
* libnautilus-extensions/nautilus-file-utilities.h:
* libnautilus-extensions/nautilus-file-utilities.c:
Removed the local path functions since they are in gnome-vfs
now and all callers have been changed to use those.
2000-08-24 Robey Pointer <robey@eazel.com>
* components/services/install/nautilus-view/nautilus-service-install-view.c:
(nautilus_service_install_view_destroy),
(nautilus_install_parse_uri), (spin_cylon),
(nautilus_service_install_downloading),
(nautilus_service_install_download_failed),
(nautilus_service_install_done), (nautilus_service_install_failed),
(nautilus_service_install_view_update_from_uri):
* components/services/install/nautilus-view/nautilus-service-install-view.h:
Hardcode rpm install server host/port (for now), changing the url
format to the requested "eazel-install:xfig". Unref the root
client and install service correctly. Spin a cylon when waiting
to contact the remote server.
* components/services/nautilus-dependent-shared/shared-service-widgets.c:
(create_label_widget), (create_services_title_widget),
(create_services_header_widget):
* components/services/trilobite/libtrilobite/trilobite-core-utils.c:
(trilobite_init):
* libnautilus/nautilus-view.c: (view_frame_call_end):
2000-08-24 Mathieu Lacage <mathieu@eazel.com>
* nautilus-gdk-extensions.c: (nautilus_gdk_color_to_rgb): space,
(nautilus_gdk_rgb_to_color): add function.. could be useful.
* nautilus-gdk-extensions.h: add prototype.
* nautilus-gtk-extensions.c: (rgb_to_hls): new internal function. converts
from rgb to hls., (hls_to_rgb): from hls to rgb,
(nautilus_gtk_style_shade): necassery magic to "shade a color by a given
amount... All this was copied from panel.c which was in turn copied from
gtk.
* nautilus-gtk-extensions.h: add prototype.
2000-08-24 Robey Pointer <robey@eazel.com>
* components/services/install/nautilus-view/nautilus-service-install-view.c:
(generate_install_form),
(nautilus_service_install_view_destroy),
(nautilus_install_parse_uri), (make_new_status),
(current_progress_bar_complete),
(nautilus_service_install_downloading),
(nautilus_service_install_installing),
(nautilus_service_install_failed),
(nautilus_service_need_password), (set_root_client),
(nautilus_service_install_view_update_from_uri):
* components/services/install/nautilus-view/nautilus-service-install-view.h:
More cleanup of the RPM install view: rudimentary password dialog,
cleaned out old unused code, and hooked up the RPM package info to
display in the top field, instead of the fake "The Gimp" info.
Also removed the forced delays in updating (install happens in
"realtime" now!).
2000-08-24 Arlo Rose <arlo@eazel.com>
* icon/search_results.png
Added an icon to be used in the search results side bar.
2000-08-24 J Shane Culpepper <pepper@eazel.com>
* components/services/install/nautilus-view/main.c:
(service_install_object_destroyed), (service_install_make_object),
(main):
* components/services/install/nautilus-view/nautilus-service-install-view.c:
(show_overall_feedback),
(nautilus_service_install_view_initialize_class),
(nautilus_service_install_view_initialize),
(nautilus_service_install_view_destroy),
(nautilus_service_install_view_get_nautilus_view),
(nautilus_service_install_downloading),
(nautilus_service_install_installing),
(nautilus_service_install_view_update_from_uri),
(nautilus_service_install_view_load_uri),
(service_install_load_location_callback):
* components/services/inventory/lib/eazel-inventory-shared.c:
(add_package_info), (read_proc_info), (add_info), (add_io_info),
(add_hardware_info), (synchronize_configuration_metafile),
(update_configuration_metafile), (create_configuration_metafile):
* components/services/inventory/nautilus-view/main.c:
(inventory_object_destroyed), (inventory_make_object), (main):
* components/services/inventory/nautilus-view/nautilus-inventory-view.c:
(generate_inventory_form), (gather_config_button_cb),
(register_later_cb), (show_feedback), (make_http_post_request),
(go_to_uri), (get_home_uri), (update_now), (generate_form_title),
(nautilus_inventory_view_initialize_class),
(nautilus_inventory_view_initialize),
(nautilus_inventory_view_destroy),
(nautilus_inventory_view_get_nautilus_view),
(nautilus_inventory_view_load_uri),
(inventory_load_location_callback):
* components/services/login/nautilus-view/main.c:
(login_object_destroyed), (login_make_object), (main):
* components/services/login/nautilus-view/nautilus-login-view.c:
(entry_changed_cb), (login_button_cb), (maintenance_button_cb),
(nautilus_login_view_initialize_class),
(nautilus_login_view_initialize), (nautilus_login_view_destroy),
(nautilus_login_view_get_nautilus_view),
(nautilus_login_view_load_uri), (login_load_location_callback):
* components/services/nautilus-dependent-shared/shared-service-utilities.c:
(go_to_uri), (is_location):
* components/services/startup/nautilus-view/main.c:
(service_object_destroyed), (service_make_object), (main):
* components/services/startup/nautilus-view/nautilus-service-startup-view.c:
(generate_form_logo),
(nautilus_service_startup_view_initialize_class),
(nautilus_service_startup_view_initialize),
(nautilus_service_startup_view_destroy),
(nautilus_service_startup_view_get_nautilus_view),
(nautilus_service_startup_view_load_uri),
(service_load_location_callback):
* components/services/summary/nautilus-view/main.c:
(summary_object_destroyed), (summary_make_object), (main):
* components/services/summary/nautilus-view/nautilus-summary-view.c:
(generate_summary_form), (nautilus_summary_view_initialize_class),
(nautilus_summary_view_initialize),
(nautilus_summary_view_destroy),
(nautilus_summary_view_get_nautilus_view),
(nautilus_summary_view_load_uri), (summary_load_location_callback):
Cleaning up some code to meet coding standards.
2000-08-24 Michael Engber <engber@eazel.com>
Added a Change Desktop Background item to the right click
menu of the desktop. I brings up the background capplet (bug
1791). While I was at it I made it so the Change Background
item for the desktop was called Change Desktop Background in
accordance with Arlo's wishes.
* libnautilus-extensions/nautilus-directory-background.c:
(nautilus_directory_background_is_set):
* src/file-manager/fm-desktop-icon-view.c:
(fm_desktop_icon_view_initialize_class),
(reset_desktop_background_menu_item_callback),
(change_desktop_background_menu_item_callback),
(fm_desktop_icon_view_create_background_context_menu_background_ite
ms):
* src/file-manager/fm-directory-view.c:
(fm_directory_view_initialize_class),
(real_create_background_context_menu_background_items),
(create_background_context_menu_background_items),
(fm_directory_view_real_create_background_context_menu_items):
* src/file-manager/fm-directory-view.h:
2000-08-24 Alastair McKinstry <mckinstry@computer.org>
* configure.in: Added "ga" to ALL_LINGUAS
2000-08-24 John Sullivan <sullivan@eazel.com>
Fixed bug 1653 (new menu layout). View menu now contains
Show/Hide items for tool bar, location bar, sidebar, and
status bar. The preference now controls only what you get
for new windows. Any future "menus aren't quite right"
issues should be filed as new bugs.
* libnautilus-extensions/nautilus-global-preferences.h:
* libnautilus-extensions/nautilus-global-preferences.c:
(global_preferences_create_dialog), (global_preferences_register):
Renamed NAUTILUS_PREFERENCES_DISPLAY_SIDEBAR and its ilk to
NAUTILUS_PREFERENCES_START_WITH_SIDEBAR since these preferences
now only affect the initial appearance of new windows. Also,
clarified the text that appears in the preferences window for these.
* src/nautilus-window-menus.c:
Removed a bunch of code #ifdeffed WINDOW_ITEMS_TEST since the
functionality it partly implemented is now implemented for real.
(view_menu_show_hide_sidebar_callback),
(view_menu_show_hide_tool_bar_callback),
(view_menu_show_hide_location_bar_callback),
(view_menu_show_hide_status_bar_callback):
New menu callback functions that toggle the visibility of the
various views.
(nautilus_window_update_show_hide_menu_items): New function,
sets the text in the show/hide menu items based on current
visibility.
(nautilus_window_initialize_menus): Put the Show/Hide menu items
in the menu.
* src/nautilus-window-private.h: Add prototype for
nautilus_window_update_show_hide_menu_items.
* src/nautilus-window.h: Renamed statusbar_ctx -> status_bar_context_id
and statusbar_clear_id -> status_bar_clear_id; renamed show/hide
locationbar/toolbar/statusbar to use location_bar, tool_bar, and
status_bar (GTK bad English usage notwithstanding); added prototypes
for nautilus_window_sidebar_showing and its ilk.
* src/nautilus-window.c:
(nautilus_window_initialize), (nautilus_window_destroy): Removed
monitoring & unmonitoring of DISPLAY_SIDEBAR-type preferences since
changing these preferences now has no dynamic effect.
(nautilus_window_clear_status), (nautilus_window_set_status),
(nautilus_window_constructed): Fixed wordgroupingification of
status_bar et al.
(show_dock_item), (hide_dock_item): New functions to share code of
show/hide location bar & tool bar functions; these call
nautilus_window_update_show_hide_menu_items now also.
(dock_item_showing): New function, tests visibility of named dock item.
(nautilus_window_hide_location_bar),
(nautilus_window_show_location_bar),
(nautilus_window_hide_tool_bar), (nautilus_window_show_tool_bar):
Use new code-sharing functions.
(nautilus_window_location_bar_showing),
(nautilus_window_tool_bar_showing),
(nautilus_window_sidebar_showing),
(nautilus_window_status_bar_showing): New functions to test visibility
(nautilus_window_hide_sidebar),
(nautilus_window_show_sidebar),
(nautilus_window_hide_status_bar),
(nautilus_window_show_status_bar): These call
nautilus_window_update_show_hide_menu_items now.
(nautilus_window_show): Updated for naming changes.
* RENAMING: Noted that the evil one-word "toolbar" phrase
is still rampant in Nautilus.
2000-08-24 John Sullivan <sullivan@eazel.com>
Fixed bug 2119 (Alt-key navigation for menus doesn't work).
* libnautilus-extensions/nautilus-icon-container.c:
(key_press_event):
* libnautilus-extensions/nautilus-list.c:
(nautilus_list_key_press):
Made the type-select mechanism for list and icon views not
eat alt-key combinations, so they can be used for pulling
down menus.
2000-08-23 Maciej Stachowiak <mjs@eazel.com>
Fix for 1528. "Where's the money, Lebowski?"
* components/tree/nautilus-tree-model.c
(nautilus_tree_model_monitor_node): A few changes to avoid
crashing when re-monitoring a node.
* components/tree/nautilus-tree-view.c
(uri_to_view_node, model_node_to_view_node): New convenience
functions.
(insert_hack_node, nautilus_tree_view_insert_model_node,
nautilus_tree_view_remove_model_node,
nautilus_tree_view_update_model_node,
nautilus_tree_view_find_parent_node): Use the new functions
(notify_done_loading, notify_node_seen,
nautilus_tree_view_model_node_added_callback,
nautilus_tree_view_model_done_loading_callback,
get_uri_sequence_to_root, call_when_root_seen,
call_when_uri_loaded_or_parent_done_loading,
cancel_selection_in_progress, expand_uri_sequence_and_select_end,
nautilus_tree_view_load_uri, tree_load_location_callback,
tree_select_row_callback): New mess^Wcode to select on content
view navigation, handling all the asynchronicity.
* libnautilus-extensions/nautilus-file-utilities.h,
libnautilus-extensions/nautilus-file-utilities.c:
(nautilus_make_uri_canonical): Export the function formerly known
as `make_uri_canonical' in natuilus-directory.c.
(nautilus_self_check_file_utilities): Move tests here.
* libnautilus-extensions/nautilus-directory.c:
(make_uri_canonical): remove
(nautilus_directory_get_internal):
s/make_uri_canonical/nautilus_make_uri_canonical/
(nautilus_self_check_directory): Remove tests for
make_uri_canonical
2000-08-24 Andy Hertzfeld <andy@eazel.com>
cut-n-paste-code/widgets/nautilus-druid/nautilus-druid-page-finish.c:
(nautilus_druid_page_finish_init),
(nautilus_druid_page_finish_destroy),
(nautilus_druid_page_finish_configure_size),
(nautilus_druid_page_finish_set_logo):
changed the logo from being a fixed width and height to
automatically adjusting image dimensions; also, made it use the
anti-aliased canvas for prettier images
cut-n-paste-code/widgets/nautilus-druid/nautilus-druid-page-standard.c:
(nautilus_druid_page_standard_init),
(nautilus_druid_page_standard_configure_size),
(nautilus_druid_page_standard_construct),
(nautilus_druid_page_standard_set_logo):
ditto for standard pages; this stuff should really be in the superclass
cut-n-paste-code/widgets/nautilus-druid/nautilus-druid-page-start.c:
(nautilus_druid_page_start_init),
(nautilus_druid_page_start_configure_size):
ditto for the finish page
* src/nautilus-first-time-druid.c: (druid_finished),
(nautilus_first_time_druid_show), (download_callback):
added setting the logo image and some other improvements; the logo image
still looks a bit crufty and needs to be tweaked by Susan
2000-08-23 Robey Pointer <robey@eazel.com>
* components/services/install/nautilus-view/Makefile.am:
Fix RPM install view's include path to find libtrilobite.
components/services/install/nautilus-view/nautilus-service-install-
view.c: (generate_install_form), (generate_current_progress),
(create_package), (nautilus_install_parse_uri), (make_new_status),
(spin_cylon), (current_progress_bar_complete),
(nautilus_service_install_downloading),
(nautilus_service_install_dependency_check),
(nautilus_service_install_preflight_check),
(nautilus_service_install_download_failed),
(nautilus_service_install_installing),
(nautilus_service_install_done), (get_password_dude),
(set_root_client), (nautilus_service_install_view_update_from_uri),
(service_install_load_location_callback):
components/services/install/nautilus-view/nautilus-service-install-
view.h:
Make RPM install view actually work (using the trilobite install
service) instead of being smoke & mirrors. Make bottom panel be a
fixed table that scrolls through (label, progress-bar) pairs for
status on downloading and installing various RPMs.
2000-08-23 John Sullivan <sullivan@eazel.com>
More work on bug 1653 (new menu layout). Now there's a
permanent "View" menu that contains Refresh and zooming
items and the icon view merges its stuff in there. The
icon view now has a "Clean Up by Name" item to do a
one-shot sort of icons in manual layout mode.
* libnautilus-extensions/nautilus-icon-container.c:
(key_press_event):
* libnautilus-extensions/nautilus-list.c:
(nautilus_list_key_press):
Don't use any control-key combinations for type-select
(this was blocking Control-= and others)
* libnautilus/nautilus-bonobo-ui.h: Added #defines for View menu
and placeholders in it.
* src/file-manager/fm-desktop-icon-view.c:
(fm_desktop_icon_view_initialize_class), (bump_zoom_level),
(zoom_to_level), (restore_default_zoom_level), (can_zoom_in),
(can_zoom_out): Override all zoom-related functions to do
nothing, so you can't use keyboard equivalents or other trickery
to zoom on the desktop.
* src/file-manager/fm-icon-view.h:
Define clean_up function pointer
* src/file-manager/fm-icon-view.c:
(set_sort_criterion): Just moved this function.
(fm_icon_view_clean_up): New function, calls virtual function.
(fm_icon_view_real_clean_up): New function, sorts one time by name.
(clean_up_callback): New function, calls fm_icon_view_clean_up
(compute_menu_item_info): Add clean up case
(update_layout_menus): Update sensitivity of Clean Up item
(get_next_position): New helper function to get a position for
a Bonobo menu item based on the one you want to be after. Works
around Bonobo bug where the last item's position is reported as -1.
(fm_icon_view_merge_menus): Deploy get_next_position; get rid of
Layout menu and redo items in View menu to match design in bug 1653.
(fm_icon_view_initialize_class): Wire up clean_up function pointer
* src/nautilus-window-menus.c:
(view_menu_reload_callback): Renamed from go_menu_reload_callback
(view_menu_zoom_in_callback), (view_menu_zoom_out_callback),
(view_menu_zoom_normal_callback): New functions, used by zooming menu
items.
(nautilus_window_initialize_menus): Add View menu; move Reload to
View menu and rename it Refresh; add zooming menu items.
* src/nautilus-window-private.h: Add #defines for zooming menu item paths;
add prototypes for nautilus_window_zoom_xxx functions.
* src/nautilus-window.c:
(nautilus_window_zoom_in),
(nautilus_window_zoom_to_level), (nautilus_window_zoom_out),
(nautilus_window_zoom_to_fit): Renamed these to better match new
shared-between-files status, and reordered the parameters.
(nautilus_window_constructed): use gtk_signal_connect_object with
nautilus_window_zoom functions since their parameters have flipped.
(nautilus_window_zoom_level_changed_callback): Set sensitivity of
zooming menu items appropriately.
* src/nautilus-window-manage-views.c:
(nautilus_window_load_content_view): Desensitize the zoom menu items
when we hide the zoom control.
* src/file-manager/fm-directory-view.c:
(fm_directory_view_real_create_background_context_menu_items):
Change "Zoom to Default" to "Normal Size" in the context menu,
to match terminology in View menu.
* src/nautilus-window-toolbars.c: Rename Reload to Refresh to match
menu item & new design
2000-08-23 Gene Z. Ragan <gzr@eazel.com>
* libnautilus-extensions/nautilus-undo-signal-handlers.c:
* libnautilus-extensions/nautilus-undo-signal-handlers.h:
(nautilus_undo_set_up_nautilus_entry_for_undo),
(nautilus_undo_tear_down_nautilus_entry_for_undo),
(nautilus_undo_set_up_editable_for_undo),
(nautilus_undo_tear_down_editable_for_undo):
Rename functions to be verb phrases as opposed to nouns.
* components/notes/nautilus-notes.c: (finish_loading_note),
(notes_load_location), (make_notes_view):
Rename functions to use new names above.
* libnautilus-extensions/nautilus-entry.c:
(nautilus_entry_initialize):
Rename functions to use new names above.
* src/file-manager/fm-properties-window.c: (create_basic_page):
Rename functions to use new names above.
2000-08-23 Gene Z. Ragan <gzr@eazel.com>
* libnautilus-extensions/nautilus-undo-signal-handlers.c:
(nautilus_undo_teardown_nautilus_entry_for_undo),
(nautilus_undo_teardown_editable_for_undo):
Adding the call to unregister form the undo manager was not such
a good idea. I am backing it out for now.
2000-08-23 Gene Z. Ragan <gzr@eazel.com>
Fixed bug 2282, Undo menu item initially sensitive, but
nothing to undo.
* components/notes/nautilus-notes.c: (finish_loading_note),
(notes_load_location), (make_notes_view):
Disconnect the editable object form the undo manager
while location is being changed so an undo transaction
is not registered during inital text loading.
* libnautilus-extensions/nautilus-undo-signal-handlers.c:
(nautilus_undo_teardown_nautilus_entry_for_undo),
(nautilus_undo_setup_editable_for_undo),
(nautilus_undo_teardown_editable_for_undo):
When a teardown function is called, also unregister the
GtkObject from the undo manager in addtion to signal
disconnection.
2000-08-23 Darin Adler <darin@eazel.com>
* libnautilus-extensions/nautilus-file-utilities.c:
(nautilus_read_entire_file): Added missing close calls.
(read_file_close_callback): Got rid of overzealous check for
error code on close. The close could fail, and we really don't
care much since we've already read the file contents.
2000-08-23 Darin Adler <darin@eazel.com>
* libnautilus-extensions/nautilus-directory-async.c:
(get_info_callback): Added missing call to nautilus_file_changed
for the case where get_file_info fails.
(start_getting_file_info): Fixed broken logic that was recursing
instead of looping when get_file_info fails and added missing call
to nautilus_file_changed.
(nautilus_directory_async_state_changed): Moved the check for
ready callbacks to the end of the function. This fixed the problem
with the trash properties never showing up.
* src/file-manager/dfos-xfer.c: (get_link_name),
(get_duplicate_name), (handle_xfer_duplicate):
Redid the duplicate names functions so they are easier to localize
and marked the strings that need localizing with _().
* libnautilus-extensions/nautilus-background.c:
(nautilus_background_get_combine_mode),
(nautilus_background_set_combine_mode),
(nautilus_background_get_image_placement),
(nautilus_background_set_image_placement): Added return_if_fail
calls as appropriate.
(nautilus_background_image_fully_obscures): Simplified nested if
statements a bit.
(nautilus_background_draw), (draw_pixbuf_aa): Added return_if_fail
calls as appropriate.,
(nautilus_background_draw_aa), (nautilus_background_is_set),
(nautilus_background_is_loaded), (nautilus_background_reset) :
Added return_if_fail calls as appropriate.
(nautilus_background_real_reset): Added code to emit changed signals.
(nautilus_background_is_dark): Added return_if_fail calls as appropriate.
* libnautilus-extensions/nautilus-background.h:
* libnautilus-extensions/nautilus-directory-background.c:
(nautilus_directory_background_get_default_settings),
(nautilus_directory_background_read_desktop_settings),
(nautilus_directory_background_write_desktop_settings),
(nautilus_directory_background_write_desktop_default_settings),
(nautilus_directory_background_is_set),
(saved_settings_changed_callback):
Changed the type "nautilus_background_image_placement" to
"NautilusBackgroundImagePlacement" to match our style guidelines
(inherited from GNOME of course).
2000-08-23 John Sullivan <sullivan@eazel.com>
Checked in this patch from Ken Kocienda, which fixes
bug 390 (wrong magic number used when computing alpha
threshhold). Thanks Ken!
* libnautilus-extensions/nautilus-gdk-pixbuf-extensions.h:
New #define for NAUTILUS_STANDARD_ALPHA_THRESHHOLD
* components/music/nautilus-music-view.c:
(nautilus_music_view_update_from_uri):
* libnautilus-extensions/nautilus-bookmark.c:
(nautilus_bookmark_get_pixmap_and_mask):
* libnautilus-extensions/nautilus-icon-dnd.c:
(nautilus_icon_dnd_begin_drag):
* libnautilus-extensions/nautilus-icon-factory.c:
(nautilus_icon_factory_get_pixmap_and_mask_for_file):
* libnautilus-extensions/nautilus-list-column-title.c:
(load_up_indicator):
* libnautilus-extensions/nautilus-list.c: (draw_cell):
* src/file-manager/fm-properties-window.c:
(get_pixmap_and_mask_for_properties_window),
(create_image_widget_for_emblem):
* src/nautilus-bookmarks-window.c:
* src/nautilus-complex-search-bar.c:
(load_find_them_pixmap_widget):
* src/nautilus-property-browser.c: (set_emblem_image_from_file),
(element_clicked_callback), (make_properties_from_directory_path):
* src/nautilus-sidebar-title.c: (add_emblem):
* src/nautilus-theme-selector.c: (add_theme):
* src/nautilus-window.c: (nautilus_window_realize):
Replaced all uses of correct or incorrect magic numbers
with NAUTILUS_STANDARD_ALPHA_THRESHHOLD in calls to
gdk_pixbuf_render_pixmap_and_mask.
2000-08-23 Yuri Syrota <rasta@renome.rovno.ua>
* configure.in: Added "uk" to ALL_LINGUAS
2000-08-23 Ramiro Estrugo <ramiro@eazel.com>
components/services/nautilus-dependent-shared/shared-service-widgets.c:
(create_image_widget), (create_label_widget),
(create_services_title_widget), (create_services_header_widget),
(set_widget_foreground_color), (show_feedback):
components/services/nautilus-dependent-shared/shared-service-widgets.h:
Update these for the last round of NautilusImage and NautilusLabel
changes. They look better now, but the margins are still off.
Ill fix that soon.
2000-08-23 Ramiro Estrugo <ramiro@eazel.com>
* libnautilus-extensions/nautilus-label.c: (render_buffer_pixbuf),
(label_recompute_line_geometries), (nautilus_label_new),
(nautilus_label_set_text), (nautilus_label_set_font),
(nautilus_label_set_font_size):
Bug 2286 - sidebar text gets cut off. The problem was that the
text geometry was not being recomputed on changes that affected
it, like font and font size. Put the geometry code to a new
function.
Also fix a dumb overflow bug caused by abusing guint16.
* libnautilus-extensions/nautilus-scalable-font.c:
(nautilus_scalable_font_draw_text_lines):
Was not setting the rectangle end point.
2000-08-22 Gene Z. Ragan <gzr@eazel.com>
Fixed bug 1570, Undo of typing when renaming says
"Undo Rename"
* libnautilus-extensions/nautilus-icon-text-item.c:
(register_rename_undo):
Changed "Rename" to "Typing"
2000-08-22 Eskil Heyn Olsen <eskil@eazel.com>
* components/services/install/lib/eazel-install-metadata.c:
(create_default_configuration_metafile),
Default DRY_RUN to FALSE instead of TRUE... beware.
(init_default_install_configuration):
Default transaction_dir to g_get_home_dir()/.nautilus/transactions/
* components/services/install/lib/eazel-install-protocols.c:
(gnome_vfs_xfer_callback), (eazel_install_fetch_package),
Trying to make the gnomevfs fetching work properly.
(get_url_for_package):
Removed the check, since I need to do it in the gnome-vfs callback
loop.
2000-08-22 Gene Z. Ragan <gzr@eazel.com>
Work in progress to support dragging onto
NautilusLink files. Dragging on the trash
still does not work.
* libnautilus-extensions/nautilus-icon-container.c:
* libnautilus-extensions/nautilus-icon-container.h:
(nautilus_icon_container_initialize_class),
(nautilus_icon_container_get_icon_uri),
(nautilus_icon_container_get_icon_drop_target_uri):
New signal to return the target URI of a drag target.
This was done to support dragging onto NautilyusLink files.
* libnautilus-extensions/nautilus-drag.c:
(nautilus_drag_can_accept_item):
Add call to nautilus_icon_container_get_icon_drop_target_uri
and remove call to nautilus_icon_container_get_icon_uri
* libnautilus-extensions/nautilus-icon-dnd.c:
* libnautilus-extensions/nautilus-icon-private.h:
(nautilus_icon_container_find_drop_target):
Some code cleanup to fix a leak.
* libnautilus-extensions/nautilus-link.c:
* libnautilus-extensions/nautilus-link.h:
(nautilus_link_can_accept_drag):
New function that currently return TRUE for all links.
* src/file-manager/fm-icon-view.c: (get_icon_uri_callback),
(get_icon_drop_target_uri_callback), (create_icon_container):
Connect to new signal and add implementation.
2000-08-22 Eskil Heyn Olsen <eskil@eazel.com>
* components/services/install/lib/eazel-install-protocols.c:
(gnome_vfs_xfer_callback):
Added the nessecary code for the download progress signal emits
for gnome-vfs download
* components/services/install/lib/eazel-install-xml-package-list.c:
(parse_osd_xml_from_memory):
removed debug output
2000-08-22 Eskil Heyn Olsen <eskil@eazel.com>
* components/services/install/command-line/eazel-alt-install-corba.c:
* components/services/install/lib/eazel-install-metadata.c:
(create_default_metadata), (get_boolean_value_from_string):
About to make create_default_metadata switch to ~/ instead of /var.
* components/services/install/lib/eazel-install-protocols.c:
(get_url_for_package)
Robey committed a fix for the multiple url stuff.
(gnome_vfs_fetch_remote_file):
english output instead of binary.
* components/services/install/lib/eazel-install-xml-package-list.c:
(parse_osd_xml_from_memory):
Insert null at the end for the </packages> tag. Needed to lose the
weird </xmp> tags.
2000-08-22 John Sullivan <sullivan@eazel.com>
More work on bug 1653 (new menu layout)
Fixed bug 1996 (No way to activate "Web Search" from keyboard)
* src/file-manager/fm-directory-view.c: (compute_menu_item_info):
Changed text from "Select All" to "Select All Files" for clarity.
* src/nautilus-window-menus.c:
(file_menu_web_search_callback): New function, calls
nautilus_window_go_web_search
(nautilus_window_initialize_menus): Added underscore-accelerator
to Close _All Windows; added separator before Select All;
gave Find Control-F; added Web Search;
gave Back Control-[; gave Forward Control-]; gave Add Bookmark
Control-B. (Note that you might not see these until you delete
the file ~/.gnome/accels/nautilus
* src/nautilus-window-toolbars.c:
(toolbar_clear_search_mode): removed this function.
(toolbar_home_callback),
(toolbar_search_web_callback): Removed calls to
toolbar_clear_search_mode; this behavior has been moved into
nautilus_window_go_home and nautilus_window_go_web_search
instead so the menu items can share it.
* src/nautilus-window.c: (nautilus_window_go_web_search),
(nautilus_window_go_home): Clear search mode in these
bottleneck functions.
2000-08-22 Mathieu Lacage <mathieu@eazel.com>
Add rebecka's class for queues.
* libnautilus-extensions/Makefile.am: add files.
* libnautilus-extensions/nautilus-lib-self-check-functions.h:
add self-test function for queues
* libnautilus-extensions/nautilus-queue.c: (nautilus_queue_new),
(nautilus_queue_add), (nautilus_queue_remove),
(nautilus_queue_free_deep), (nautilus_queue_is_empty),
(nautilus_queue_free), (nautilus_self_check_queue):
* libnautilus-extensions/nautilus-queue.h:
2000-08-22 John Sullivan <sullivan@eazel.com>
More work on bug 1653 (new menu layout)
Fixed bug 1995 (No way to enter/leave search mode from keyboard)
Fixed bug 1999 (No way to reload from keyboard)
* libnautilus/nautilus-bonobo-ui.h: Added more placeholders.
* src/file-manager/fm-directory-view.c:
(fm_directory_view_real_merge_menus): Position "Empty Trash"
menu item and separator using placeholder.
* src/file-manager/fm-icon-view.c: (compute_menu_item_info):
Fixed bug where "Restore Icon's Original Size" was using the
wrong plurality.
(insert_bonobo_menu_item): Renamed this from append_ and gave
it a position parameter.
(fm_icon_view_merge_menus): Used placeholders to put the menu
items in the order specified by bug 1653.
* src/nautilus-switchable-navigation-bar.h:
* src/nautilus-switchable-navigation-bar.c:
(nautilus_switchable_navigation_bar_get_mode): New function;
formerly there was a public setter but no public getter.
* src/nautilus-window-menus.c:
(file_menu_close_window_callback): Removed redundant assert.
(file_menu_toggle_find_mode_callback): New function, toggles
whether we're in search mode.
(go_menu_reload_callback): New function, reloads.
(nautilus_window_initialize_menus): Tweaked hint for "Close All Windows",
added Find/Browse menu item; Changed "Up" to "Up a Level" to
match bug 1653; added "Reload" to Go menu.
(nautilus_window_update_find_menu_item): New function, sets the
label of the Find/Browse menu item based on search mode's state.
* src/nautilus-window-private.h: added #define for
NAUTILUS_MENU_PATH_RELOAD_ITEM; added prototype for
nautilus_window_update_find_menu_item.
* src/nautilus-window-toolbars.c: Changed "Search" to "Find"
to match menu item (and Arlo's design).
* src/nautilus-window.h,
* src/nautilus-window.c:
(navigation_bar_mode_changed_callback): Update Find menu item.
(nautilus_window_get_search_mode): New function; formerly there
was a public setter but no public getter.
(nautilus_window_allow_reload): Update menu item sensitivity.
2000-08-22 Andy Hertzfeld <andy@eazel.com>
fixed bugs 643 and 605, by not accepting multiple or remote images
as custom icons, and displaying informative error messages.
* src/nautilus-sidebar.c: (receive_dropped_uri_list):
added separate checks for multiple uris and remote files and displayed
an appropriate message using nautilus_error_dialog.
* libnautilus-extensions/nautilus-icon-factory.c:
(load_specific_image):
removed a fixme now that it's fixed
2000-08-22 Gene Z. Ragan <gzr@eazel.com>
* libnautilus-extensions/nautilus-background.c:
(nautilus_background_image_fully_obscures):
Added a missing paren to fix build breakage.
2000-08-22 Michael Engber <engber@eazel.com>
Fixed backgrounds to draw images scaled & centered
in aa mode. (bug 2231)
* libnautilus-extensions/nautilus-background.c:
(nautilus_background_image_fully_obscures):
2000-08-22 Ali Abdin <aliabdin@aucegypt.edu>
* components/help/help-method.c:
(transform_file): Ooops - there was a bug in this causing the
index.html file not to load. It is now fixed (but is still broken
until help renders with Mozilla)
* components/help/converters/gnome-db2html2/toc-elements.c:
(toc_title_end_element): Forgot a break in a case statement. This
stops erroneous </A></H4> tags being inserted (Fixes Bug #2178)
* components/help/converters/gnome-db2html2/gdb3html.h:
* components/help/converters/gnome-db2html2/sect-elements.c:
Added the 'Markup' tag - Fixes Bug #2228
* components/help/converters/gnome-db2html2/gdb3html.[ch]:
(start_element),
(characters): Added a 'empty_element' to the Context struct.
* components/help/converters/gnome-db2html2/sect-elements.[ch]:
(sect_country_characters): New function - not used yet
(sect_write_characters): Remove a 'hack' for the 'entry' tag
(sect_entry_end_element): Print a if it is an empty element
2000-08-22 Eskil Heyn Olsen <eskil@eazel.com>
* components/services/install/lib/eazel-install-rpm-glue.c:
(install_all_packages),
Print package name in front of install status
(eazel_install_do_transaction_save_report),
(eazel_install_monitor_rpm_propcess_pipe),
Use transaction even when EAZEL_INSTALL_SLIM is defined. The lets
the bootstrap installer save a transaction for the install of
nautilus.
(eazel_install_prune_packages),
indention fix
(eazel_install_fetch_rpm_dependencies),
When EAZEL_INSTALL_SLIM, ignore lib dep problems. This is a temp
fix while the installer does not use SoftCat
(print_package_list)
Horrible mem mishandling
* nautilus-installer/src/Makefile:
* nautilus-installer/src/Makefile.am:
Added -EAZEL_INSTALL_SLIM and -DNO_TEXT_BOX to the makefile
* nautilus-installer/src/callbacks.c: (begin_install):
After install, jump to next page
* nautilus-installer/src/installer.c: (eazel_install_progress),
, (eazel_install_dep_check), (check_system),
(installer),
Use the gtk_label instead of a gtk_text thingy.
(install_failed_helper):
Fixed output format
* nautilus-installer/src/interface.c: (create_what_to_do_page):
* nautilus-installer/src/main.c:
Added the --force option, to force install.
2000-08-22 J Shane Culpepper <pepper@eazel.com>
components/services/install/nautilus-view/nautilus-service-install-
view.c: (nautilus_service_install_view_update_from_uri),
(service_install_load_location_callback):
components/services/startup/nautilus-view/nautilus-service-startup-
view.c: (generate_startup_form),
(nautilus_service_startup_view_load_uri),
(service_load_location_callback):
* src/nautilus-first-time-druid.c: (druid_finished):
Fixing the go_to_uri problem so that the first time druid works and
eazel: redirects work more consistently.
2000-08-21 Gene Z. Ragan <gzr@eazel.com>
* libnautilus-extensions/nautilus-link.c:
* libnautilus-extensions/nautilus-link.h:
(nautilus_link_set_link_uri):
New function to allow the setting of the LINK property
tp be the URI passed in.
* src/file-manager/fm-desktop-icon-view.c:
(find_and_rename_trash_link):
Change Trash link to use trash: uri insated of path to
trash directory. This code checks and verifies that
the trash link has this set properly on desktop launch.
Mon Aug 21 23:35:18 2000 George Lebl <jirka@5z.com>
* components/html/ntl-web-browser.c (main): properly handle
gconf error, and init it to NULL first. This will avoid
crashes on error.
* libnautilus-extentions/Makefile.am,
libnautilus-extentions/nautilus-preferences-private.h,
libnautilus-extentions/nautilus-preferences.c: Add a
nautilus_preferences_handle_error functions for use in
nautilus-preferences and user level manager to handle and reset
GConf exceptions. The reason a new "private" header was added is
to preserve the gconf encapsulation outside libnautilus-extentions,
plus it's only useful there.
* libnautilus-extentions/nautilus-preferences.c
(preferences_hash_node_add_callback)
(preferences_hash_node_remove_callback)
(preferences_gconf_callback) (preferences_initialize_if_needed)
(nautilus_preferences_set_boolean) (nautilus_preferences_get_boolean)
(nautilus_preferences_set_string_list)
(nautilus_preferences_get_string_list)
(nautilus_preferences_set_enum) (nautilus_preferences_get_enum)
(nautilus_preferences_set) (nautilus_preferences_get)
libnautilus-extensions/nautilus-user-level-manager.c
(user_level_manager_new) (user_level_manager_ensure_global_manager)
(nautilus_user_level_manager_set_user_level)
(nautilus_user_level_manager_get_user_level_as_string)
(nautilus_user_level_manager_set_default_value_if_needed)
(nautilus_user_level_manager_compare_preference_between_user_levels):
Handle GConf exceptions. Try to revert to sane behaviour on
errors, such as using defaults. Remove all the asserts for
conditions that arise from gconf errors. Fixes bug 672
2000-08-21 Darin Adler <darin@eazel.com>
Finished task 571 (Make a Trash "virtual directory" with trash
from all volumes). Some loose ends are already reported in bugs
2146, 2243, and 2244.
* libnautilus-extensions/Makefile.am:
* libnautilus-extensions/nautilus-merged-directory.h:
* libnautilus-extensions/nautilus-merged-directory.c:
Moved all the guts of NautilusTrashDirectory that are solely
about having a single directory that's a union of a bunch of
real directories into a separate base class. Also finished the
implementation, leaving only unimportant loose ends.
* libnautilus-extensions/nautilus-trash-directory.h:
* libnautilus-extensions/nautilus-trash-directory.c:
(get_volume_vfs_uri_if_writable), (find_directory_callback),
(add_volume), (remove_trash_volume), (remove_volume),
(add_one_volume), (volume_mounted_callback),
(volume_unmounted_callback), (nautilus_trash_directory_initialize),
(remove_trash_volume_cover), (trash_destroy),
(nautilus_trash_directory_initialize_class):
Added the code to find the trash on all volumes.
* libnautilus-extensions/nautilus-glib-extensions.h:
* libnautilus-extensions/nautilus-glib-extensions.c:
(flatten_hash_table_element),
(nautilus_g_hash_table_safe_for_each): Added a new version of the
hash table iterator that works even if the callback removes items
from the hash table.
* libnautilus-extensions/nautilus-scalable-font.c:
(nautilus_scalable_font_largest_fitting_font_size): Added code to
handle the case of an empty name; the old code worked with NULL,
but not with "".
* src/file-manager/fm-desktop-icon-view.c:
(fm_desktop_icon_view_trash_state_changed_callback),
(find_and_rename_trash_link), (create_or_rename_trash):
* src/file-manager/nautilus-trash-monitor.c:
(nautilus_trash_monitor_initialize):
Changed to use the new "trash:" URL instead of locating one of
the trash folders.
* src/file-manager/fm-directory-view.h:
* src/file-manager/fm-directory-view.c:
(fm_directory_view_initialize_class),
(fm_directory_all_selected_items_in_trash):
* src/file-manager/fm-search-list-view.c:
(fm_search_list_view_initialize_class):
The "share_parent" optimization didn't work for the new trash.
Instead of fixing it, I just removed it.
* src/nautilus-window-manage-views.c: (compute_default_title),
(nautilus_window_update_title): Made two changes to the default
title: 1) Use "" instead of "Nautilus" when there's no title.
We still use "Nautilus" in the window title, but not in the
sidebar any more. 2) Use the scheme part of a URI if there's
nothing after the colon. This works nicely for the trash.
* libnautilus-extensions/nautilus-background-canvas-group.c:
(nautilus_background_canvas_group_render): Removed some unneeded
code and the FIXME that goes with it.
* libnautilus-extensions/nautilus-directory.c:
(nautilus_directory_is_not_empty): Removed an overzealous assert.
2000-08-21 Eskil Heyn Olsen <eskil@eazel.com>
* components/services/install/command-line/eazel-alt-install-corba.c:
(eazel_install_progress_signal), (main):
* components/services/install/command-line/eazel-package-query.c:
(main):
* components/services/install/command-line/eazel-revert.c:
(eazel_install_progress_signal):
* 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-object.c:
(eazel_install_revert_transaction_from_xmlstring),
(eazel_install_revert_transaction_from_file):
* components/services/install/lib/eazel-install-public.h:
* components/services/install/lib/eazel-install-rpm-glue.c:
(download_all_packages), (eazel_uninstall_globber):
* components/services/install/lib/eazel-install-tests.c:
(dump_package_list):
* components/services/install/lib/eazel-install-types.c:
(categorydata_new), (packagedata_new),
(packagedata_fill_from_rpm_header), (packagedata_destroy_foreach):
* 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),
(osd_parse_softpkg):
Renames the summary field to description (PackageData
struc). Added a revert_transaction_from_file, which reads the xml
file. Fixed some const issues.
* nautilus-installer/src/callbacks.c:
* nautilus-installer/src/installer.c: (eazel_install_progress),
(eazel_install_preflight), (make_dirs), (check_system),
(revert_nautilus_install), (installer):
* nautilus-installer/src/interface.c: (create_what_to_do_page),
(create_install_page), (create_finish_page):
* nautilus-installer/src/link.sh:
* nautilus-installer/src/main.c: (main):
* nautilus-installer/src/prescript:
Added GPL license to all the bootstrap installer code. Inserted a
textbox into the installer, that
displays current action/package description during download. It
now also checks linux distro and for a helix install.
2000-08-21 Gene Z. Ragan <gzr@eazel.com>
* libnautilus-extensions/nautilus-link.c:
(nautilus_link_create):
Added a link type argument to API to allow caller to
specify type of link.
(nautilus_link_is_volume_link), (nautilus_link_is_home_link),
(nautilus_link_is_trash_link):
Renamed old constants to use _TAG at the end of old define.
The name of th eprevious define is now used in the
enumeration of link types.
* libnautilus-extensions/nautilus-link.h:
Added argument to nautilus_link_create and created
an enum to define the types of links.
* src/file-manager/fm-desktop-icon-view.c:
(startup_create_mount_links), (volume_mounted_callback),
(place_home_directory), (create_or_rename_trash),
(get_sort_category):
Changed callers of nautilus_link_create to use new argument.
* src/file-manager/fm-properties-window.c:
(get_and_ref_file_to_display):
Changed callers of nautilus_link_create to use new argument.
2000-08-21 Ramiro Estrugo <ramiro@eazel.com>
* libnautilus-extensions/nautilus-global-preferences.c:
(global_preferences_create_dialog), (global_preferences_register):
* libnautilus-extensions/nautilus-global-preferences.h:
* src/file-manager/fm-directory-view.c:
(smooth_graphics_mode_changed_callback),
(fm_directory_view_initialize), (fm_directory_view_destroy):
* src/file-manager/fm-directory-view.h:
* src/file-manager/fm-icon-view.c: (get_icon_images_callback),
(fm_icon_view_smooth_graphics_mode_changed),
(fm_icon_view_initialize_class),
(fm_icon_view_update_smooth_graphics_mode),
(create_icon_container):
* src/nautilus-sidebar-title.c:
(nautilus_sidebar_title_initialize),
(nautilus_sidebar_title_destroy),
(smooth_graphics_mode_changed_callback):
Changed "anti_aliased_mode" to "smooth_graphics_mode" cause it
much smoother.
2000-08-21 Ramiro Estrugo <ramiro@eazel.com>
* libnautilus-extensions/nautilus-label.c:
(nautilus_label_initialize), (nautilus_label_size_request),
(render_buffer_pixbuf), (nautilus_label_set_text),
(nautilus_label_set_font), (nautilus_label_set_text_color),
(nautilus_label_set_text_alpha),
(nautilus_label_set_drop_shadow_offset),
(nautilus_label_get_drop_shadow_offset),
(nautilus_label_set_drop_shadow_color):
* libnautilus-extensions/nautilus-label.h:
Add support for drop shadows.
* src/nautilus-sidebar-title.c:
(nautilus_sidebar_title_initialize):
Make the offset between labels more pleasing to comrade arlo.
2000-08-21 Ramiro Estrugo <ramiro@eazel.com>
* libnautilus-extensions/nautilus-scalable-font.c:
(nautilus_scalable_font_measure_text_lines):
Remove some dumbass assertions that were never meant to be there.
2000-08-21 John Sullivan <sullivan@eazel.com>
Finished bug 1750 ("Reveal in New Window" feature for
search results). Now choosing this menu item opens the
right window, selects the right item, and scrolls as
necessary to reveal the selected item.
* libnautilus-extensions/nautilus-icon-container.h,
* libnautilus-extensions/nautilus-icon-container.c:
(nautilus_icon_container_reveal): New function, wrapper for
existing private reveal_icon function that first finds the
NautilusIcon for the given NautilusIconData.
* libnautilus-extensions/nautilus-list.h,
* libnautilus-extensions/nautilus-list.c:
(nautilus_list_reveal_row): Renamed this function from
reveal_row and made it public.
(keyboard_row_reveal_timeout_callback): Accounted for
name change
(nautilus_list_get_first_selected_row): New function, returns
index of first selected item.
* src/file-manager/fm-icon-view.c: (fm_icon_view_set_selection),
* src/file-manager/fm-list-view.c: (fm_list_view_set_selection):
reveal first selected item. This has the (good, I think) side effect
of scrolling as necessary to make sure at least one selected item
is in view whenever the selection is explicitly set, which includes
when creating a new folder and when switching views with an existing
selection (but beware, switching from list view to icon view with a
selection currently crashes due to bug 2222).
2000-08-21 Gene Z. Ragan <gzr@eazel.com>
Fixed bug 2137, renaming of trash causes a duplicate trash to
appear.
If the user renames trash, it will get renamed back to Trash
when the desktop is restarted. When we have individual file reneaming
permissions, this will never be an issue.
Fixed bug 2144, renaming home link on desktop causes a duplicate
to appear.
* libnautilus-extensions/nautilus-link.c:
* libnautilus-extensions/nautilus-link.h:
(nautilus_link_is_home_link), (nautilus_link_is_trash_link):
Two new functions to identify specific types of links
* src/file-manager/fm-desktop-icon-view.c:
(fm_desktop_icon_view_initialize):
Trash link is now created here,
(find_home_link),
(place_home_directory):
Modified functions to handle situations where home link
has been renamed by the user.
(find_and_rename_trash_link),
(create_or_rename_trash):
New functions to handle creation of trash link.
* src/nautilus-desktop-window.c:
(nautilus_desktop_window_new):
Moved creation of trash link to FMDesktopIconView
2000-08-21 Andy Hertzfeld <andy@eazel.com>
* libnautilus-extensions/nautilus-icon-factory.c:
(nautilus_get_current_icon_factory), (icon_theme_changed_callback):
made the icon factory ask the current theme for the icon directory
to use, so themes can easily use each other's icons without copying
them.
2000-08-21 Ramiro Estrugo <ramiro@eazel.com>
* libnautilus-extensions/nautilus-buffered-widget.c:
(nautilus_buffered_widget_realize):
Add a evil hack to keep track of background changes. I have a
better fix for this that I will commit soon.
* src/nautilus-sidebar-title.c:
(nautilus_sidebar_title_initialize),
(nautilus_sidebar_title_destroy),
(nautilus_sidebar_title_select_text_color),
(nautilus_sidebar_title_theme_changed), (update_icon),
(update_font), (update_title), (update_more_info), (update_all),
(nautilus_sidebar_title_hit_test_icon),
(sidebar_create_smooth_components_if_needed),
(sidebar_create_normal_components_if_needed),
(anti_aliased_mode_changed_callback):
* src/nautilus-sidebar-title.h:
* src/nautilus-sidebar.c: (background_appearance_changed_callback):
Add support for smoother graphics. Use new NautilusLabel and
NautilusImage widgets to render alpha composited pixbufs and anti
aliases text.
The old non-smooth widgets are still supported and should continue
to work as expected whenever the smooth graphics preference is
toggled.
2000-08-21 J Shane Culpepper <pepper@eazel.com>
* components/services/Makefile.am:
* components/services/install/nautilus-view/Makefile.am:
* components/services/login/nautilus-view/Makefile.am:
* components/services/nautilus-dependant-shared/.cvsignore:
* components/services/nautilus-dependant-shared/Makefile.am:
* components/services/nautilus-dependant-shared/icons/.cvsignore:
* components/services/nautilus-dependant-shared/icons/Makefile.am:
* components/services/nautilus-dependant-shared/shared-service-utilit
ies.c:
* components/services/nautilus-dependant-shared/shared-service-utilit
ies.h:
* components/services/nautilus-dependant-shared/shared-service-widget
s.c:
* components/services/nautilus-dependant-shared/shared-service-widget
s.h:
* components/services/nautilus-dependent-shared/.cvsignore:
* components/services/nautilus-dependent-shared/Makefile.am:
* components/services/nautilus-dependent-shared/icons/.cvsignore:
* components/services/nautilus-dependent-shared/icons/Makefile.am:
* components/services/nautilus-dependent-shared/shared-service-utilit
ies.c: (go_to_uri), (is_location):
* components/services/nautilus-dependent-shared/shared-service-utilit
ies.h:
* components/services/nautilus-dependent-shared/shared-service-widget
s.c: (create_image_widget), (create_services_title_widget),
(create_services_header_widget), (set_widget_foreground_color),
(show_feedback):
* components/services/nautilus-dependent-shared/shared-service-widget
s.h:
* components/services/startup/nautilus-view/Makefile.am:
* components/services/summary/nautilus-view/Makefile.am:
* configure.in:
Moving nautilus-dependant-shared to nautilus-dependent-shared. The
poor spelling was too much.
2000-08-21 Ramiro Estrugo <ramiro@eazel.com>
* libnautilus-extensions/nautilus-scalable-font.c:
(parse_font_description_file), (font_family_new),
(font_family_table_add_fonts), (font_family_string_map_new),
(nautilus_scalable_font_new),
(nautilus_scalable_font_largest_fitting_font_size),
(nautilus_scalable_font_draw_text_lines),
(font_family_table_get_family_list), (font_family_table_free),
(nautilus_scalable_font_query_font),
(default_font_at_exit_destructor),
(font_family_table_at_exit_destructor),
(font_family_string_map_at_exit_destructor),
(initialize_global_stuff_if_needed):
Add a simple font family map. The idea is to make it very simple
to specifiy font family names without having to know what the
exact name of the font is.
2000-08-21 John Sullivan <sullivan@eazel.com>
After talking to Darin, split up
nautilus_file_get_parent_uri into a _for_display
version and the standard "pure" one. We had callers
that wanted each type.
* libnautilus-extensions/nautilus-file.h,
* libnautilus-extensions/nautilus-file.c:
(nautilus_file_get_parent_uri_for_display):
New function, formats the result of get_parent_uri
for user-ready display.
(nautilus_file_get_parent_uri): Took out the format
code from this more basic function.
(nautilus_file_compare_by_directory_name): Use the
for_display version here.
(nautilus_file_get_string_attribute): Use the
for_display version here.
2000-08-21 John Sullivan <sullivan@eazel.com>
Fixed bug 1456 ("file://" shouldn't appear in locations
in Property window)
Robert Brady (rwb197@zepler.org) submitted a patch for this
bug (thanks Robert!). The patch worked, but I ended up fixing
it a somewhat different way when I realized that we had two
similar routines that needed to be merged.
* libnautilus-extensions/nautilus-file.c:
(nautilus_file_get_directory_name): Removed this function;
callers should use get_parent_uri instead.
(nautilus_file_get_parent_uri): Use
nautilus_format_uri_for_display before returning result,
since this call is intended for display purposes; beef up
comment to explain.
(nautilus_file_compare_by_directory_name): Use _get_parent_uri
instaed of _get_directory_name
(nautilus_file_get_string_attribute): Eliminate "directory"
string attribute.
* src/file-manager/fm-search-list-view.c:
(real_get_column_specification): Use "parent_uri" instead of
"directory" name. The only visible effect this has is to remove
the trailing slashes from the "Directory" column. Also, changed
title of column from "Directory" to "Where" to match properties
window.
2000-08-21 Ramiro Estrugo <ramiro@eazel.com>
* libnautilus-extensions/nautilus-string-list.c:
(nautilus_string_list_new), (nautilus_string_list_new_from_string),
(nautilus_string_list_new_from_string_list),
(nautilus_string_list_new_from_tokens),
(nautilus_string_list_contains), (nautilus_string_list_equals),
(nautilus_string_list_get_index_for_string),
(nautilus_string_list_sort),
(nautilus_string_list_remove_duplicates), (str_is_equal),
(nautilus_self_check_string_list):
* libnautilus-extensions/nautilus-string-list.h:
Add support for case insensitive string lists.
* libnautilus-extensions/nautilus-string-map.c,
* libnautilus-extensions/nautilus-string-map.c:
(nautilus_string_map_add), (map_entry_new),
(map_entry_list_lookup_mapped_string), (str_is_equal),
(nautilus_self_check_string_map):
Add support for case insensitive string maps.
* libnautilus-extensions/nautilus-string.c:
(nautilus_istr_compare):
Add missing function that apparentlt was missing and unnoticed.
* libnautilus-extensions/nautilus-font-picker.c:
(font_picker_update_weight_picker),
(font_picker_update_slant_picker),
(font_picker_update_set_width_picker):
* libnautilus-extensions/nautilus-preference.c:
(preference_allocate_type_info):
* libnautilus-extensions/nautilus-preferences-item.c:
(preferences_item_create_font_family),
(preferences_item_create_theme):
* libnautilus-extensions/nautilus-scalable-font.c:
(parse_font_description_file), (font_family_table_add_fonts),
(nautilus_scalable_font_largest_fitting_font_size),
(font_family_table_get_family_list),
(nautilus_scalable_font_query_font):
* libnautilus-extensions/nautilus-string-picker.c:
(nautilus_string_picker_initialize),
(nautilus_string_picker_get_string_list),
(nautilus_string_picker_insert_string):
* libnautilus-extensions/nautilus-user-level-manager.c:
(user_level_manager_new),
(nautilus_user_level_manager_get_user_level_names):
* src/file-manager/fm-directory-view.c:
(real_get_emblem_names_to_exclude):
* src/nautilus-application.c:
(nautilus_application_check_user_directories):
* test/test-nautilus-image.c: (create_font_picker_frame):
* test/test-nautilus-label.c: (create_font_picker_frame):
* test/test-nautilus-widgets.c: (test_string_picker):
Update for case insensitive support changes in string list api.
2000-08-21 Ramiro Estrugo <ramiro@eazel.com>
* libnautilus-extensions/nautilus-directory.c:
Check for NULL before dereferencing 'directories'.
I was playing around with test (moving their order of execution).
directories was null at exit time, and an assertion was triggered
inside the GHashTable.
(nautilus_directory_number_outstanding),
(nautilus_self_check_directory): Fix a typo that was making the
checks fail.
2000-08-21 Ramiro Estrugo <ramiro@eazel.com>
* libnautilus-extensions/nautilus-gdk-pixbuf-extensions.c:
(nautilus_gdk_pixbuf_render_to_pixbuf_tiled), Fix from andy to
properly deal with pixbufs that have alpha channels.
(nautilus_gdk_pixbuf_fill_rectangle_with_color), New function to
fill an area of a pixbuf with a given color.
(nautilus_gdk_pixbuf_render_to_drawable),
(nautilus_gdk_pixbuf_render_to_pixbuf),
(nautilus_gdk_pixbuf_render_to_pixbuf_alpha), New functions to
handle pixbuf rendering to various destinations using the same
api. Also, these do clipping if needed to prevent overflow.
(nautilus_gdk_pixbuf_save_to_file), Make this function public.
It used to live in the icon factory.
(nautilus_gdk_pixbuf_ref_if_not_null),
(nautilus_gdk_pixbuf_unref_if_not_null): New functions to
make pixbuf ref/unref code more readably by dealing with NULL
pixbufs.
* libnautilus-extensions/nautilus-gdk-pixbuf-extensions.h:
* libnautilus-extensions/nautilus-icon-factory.c:
(nautilus_icon_factory_make_thumbnails):
Make the save_pixbuf function public and move it to the gdk_pixbuf
place.
2000-08-21 Ramiro Estrugo <ramiro@eazel.com>
* libnautilus-extensions/nautilus-gtk-extensions.c:
(nautilus_gtk_widget_set_background_color),
(nautilus_gtk_widget_set_foreground_color),
(nautilus_gtk_widget_find_windowed_ancestor):
* libnautilus-extensions/nautilus-gtk-extensions.h:
New function to find a windowed ancestor for a GtkWidget.
New functions to change a widget's background and foreground.
2000-08-21 Ramiro Estrugo <ramiro@eazel.com>
* libnautilus-extensions/nautilus-gdk-extensions.c:
(nautilus_gdk_font_get_bold), (nautilus_gdk_create_copy_area_gc):
* libnautilus-extensions/nautilus-gdk-extensions.h:
New utility function to create copy area gcs.
New macros to pack and unpack RGBA values.
2000-08-21 Ramiro Estrugo <ramiro@eazel.com>
* libnautilus-extensions/nautilus-string-picker.c:
(nautilus_string_picker_insert_string),
(nautilus_string_picker_contains):
* libnautilus-extensions/nautilus-string-picker.h:
New function to test whether the string picker contains a string.
Also add some more documentation.
2000-08-21 Ramiro Estrugo <ramiro@eazel.com>
* libnautilus-extensions/nautilus-glib-extensions.h:
Add two dumb macros to make macro declaration easier.
2000-08-21 Ramiro Estrugo <ramiro@eazel.com>
* libnautilus-extensions/nautilus-string-list.c:
(nautilus_string_list_new_from_tokens),
(nautilus_string_list_contains), (nautilus_string_list_sort),
(nautilus_string_list_remove_duplicates),
(nautilus_string_list_get_longest_string),
(nautilus_string_list_get_longest_string_length),
(nautilus_self_check_string_list):
* libnautilus-extensions/nautilus-string-list.h:
New functions to find the longest string and longest string length.
Also, some function pointers cast cleanup.
2000-08-21 Ramiro Estrugo <ramiro@eazel.com>
Tasks: 1612, 1274, 1511 and 1588.
* libnautilus-extensions/nautilus-scalable-font.c:
* libnautilus-extensions/nautilus-scalable-font.h:
New GtkObject subclass that provdes a simple interface to raph's
librsvg FreeType2 bases anti aliased text rendering.
* libnautilus-extensions/nautilus-font-picker.c:
* libnautilus-extensions/nautilus-font-picker.h:
New font picker class. I will soon use it in the preferences
dialog instead of the current one.
* libnautilus-extensions/nautilus-buffered-widget.c:
* libnautilus-extensions/nautilus-buffered-widget.h:
New virtual widget class that encapsulates the details of finding
a suitable background for compositing pixbufs.
* libnautilus-extensions/nautilus-image.c:
* libnautilus-extensions/nautilus-image.h:
Rewritten NautilusImage class. Took out all the label stuff,
which lives in its own class. Now subclassed from
NautilusBufferedWidget so that background the image gets
composited on is always correct and groks NautilusBackground.
* libnautilus-extensions/nautilus-label.c:
* libnautilus-extensions/nautilus-label.h:
New NautilusLabel widget class. A label widget that is capable of
displaying anti aliased text composited over a complex background.
The background can be installed as NautilusBackground on a
NautilusLabel widget or any of its ancestors. The best background
will automatically be found and used by the widget.
* services/nautilus-dependant-shared/shared-service-widgets.c,
* services/nautilus-dependant-shared/shared-service-widgets.h,
* services/startup/nautilus-view/nautilus-service-startup-view.c:
Update for changes in the NautilusImage api. Unfortunately, these
components are slightly broken now cause of the NautilusImage
changes. I will fix them shortly.
* libnautilus-extensions/nautilus-string-map.c:
* libnautilus-extensions/nautilus-string-map.h:
New simple class to map an arbitrary number of strings to a single
string.
* libnautilus-extensions/nautilus-lib-self-check-functions.h:
Add tests for the new string map class.
* libnautilus-extensions/Makefile.am:
Build the new widgets. Also add some depedencies on the static
libraries we link into this beast. This way,
libnautilus-extensions will rebuild of one if its dependency
static libs is touched.
* test/.cvsignore,
* test/Makefile.am,
* test/test-nautilus-font-picker.c,
* test/test-nautilus-font.c,
* test/test-nautilus-image.c,
* test/test-nautilus-label.c:
Update test programs for new widgets.
2000-08-21 Ramiro Estrugo <ramiro@eazel.com>
* libnautilus-extensions/nautilus-background.c:
(nautilus_widget_has_attached_background):
* libnautilus-extensions/nautilus-background.h:
New function to test whether a GtkWidget has an attatched
NautilusBackground. This is needed because of the
nautilus_get_widget_background will implicitly attatch a
background. This creates serious problems for widget hierarchies
where the only interesting background is that of an ancestor.
2000-08-21 Ramiro Estrugo <ramiro@eazel.com>
* librsvg/test-ft.c: (main):
Update for changes in librsvg glyph_xy return values.
2000-08-21 Ramiro Estrugo <ramiro@eazel.com>
* libnautilus-extensions/nautilus-string.c:
(nautilus_istr_is_equal), (nautilus_self_check_string):
* libnautilus-extensions/nautilus-string.h:
Add a case insensitive version of nautilus_str_is_equal.
2000-08-21 Ramiro Estrugo <ramiro@eazel.com>
* libnautilus-extensions/nautilus-string.c:
(nautilus_str_count_characters), (nautilus_self_check_string):
* libnautilus-extensions/nautilus-string.h:
New function to count the occurance of a character in a string.
2000-08-20 Andy Hertzfeld <andy@eazel.com>
* src/nautilus-first-time-druid.c: (set_up_update_feedback_page),
(next_update_page_callback), (nautilus_first_time_druid_show),
(download_callback), (initiate_file_download):
work on required task 1826; made the first time druid load the nautilus update file
asynchronously, and then expand it into a directory at ~/.nautilus. There's still
a lot of refinement left to do, but the basic functionality is there now.
Sat Aug 19 23:43:23 2000 George Lebl <jirka@5z.com>
* librsvg/rsvg.c (rsvg_ctx_free_helper) (rsvg_entity_decl):
use xml memory allocation/deallocation routines for strings
which are allocated/deallocated inside libxml to make glib
memory checking not crash
* libnautilus-extentions/nautilus-gnome-extentions.[ch]:
add a function nautilus_gnome_stock_set_icon_or_register which
does the GnomeStock voodoo for setting stock toolbar icons to
arbitrary files
* src/nautilus-window-toolbars.c (set_up_button): Use the
nautilus_gnome_stock_set_icon_or_register function as per Darin's
FIXME which thus got removed.
2000-08-19 Maciej Stachowiak <mjs@eazel.com>
* components/tree/nautilus-tree-model.c: (report_node_added,
report_node_changed): Create the NautilusDirectory for a node when
and if we discover it is a directory.
* components/tree/nautilus-tree-node.c:
(nautilus_tree_node_destroy, nautilus_tree_node_new): Don't
automatically create a NautilusDirectory; unref the
NautilusDirectory only if present.
* components/tree/nautilus-tree-view.c: Remove gratuitous include
of nautilus-directory.h
2000-08-19 Andy Hertzfeld <andy@eazel.com>
* src/nautilus-sidebar-tabs.c: (draw_or_layout_all_tabs):
fixed a bug in the themed sidebar tabs where the layout and drawing
code paths would get out of whack, resulting in messed up tab layout
2000-08-19 Mathieu Lacage <mathieu@eazel.com>
completes task 1567. it shows a bug in the way the history
view displays the current location given the history. to be
fixed soon.
* components/history/nautilus-history-view.c:
(history_load_location), (history_title_changed), (make_obj):
add title_changed_callback, connect it to changed_title signal.
make it call load_location.
Hack evil stuff in load_location: a hand-made lock because the
function calls some gtk calls which seem to make the main loop
run at least once. This allowed the main loop to use the events
in the event queue and it happened that the title_changed signal
is usually emited more than once so it called again the
non-reentrant signal callback... BAD THINGS HAPPENED.
* libnautilus/nautilus-view-component.idl: add changed_title method
to Nautilus::View.
* libnautilus/nautilus-view.c: (impl_Nautilus_View_title_changed),
(nautilus_view_initialize_class): implement the new idl function and
add a signal for it.
* libnautilus/nautilus-view.h: add the new signal class method.
* src/nautilus-view-frame-bonobo-control.c: add the title_changed
field to the vtable.
* src/nautilus-view-frame-nautilus-view.c: (title_changed): idem.
* src/nautilus-view-frame-private.h: idem.
* src/nautilus-view-frame.c: (nautilus_view_frame_title_changed):
add api function to emit the signal and make the actual corba call.
* src/nautilus-view-frame.h: add function prototype.
* src/nautilus-window-manage-views.c: add calls to
(nautilus_window_update_title): to notify view frames of changed
titles.
2000-08-18 Gene Z. Ragan <gzr@eazel.com>
* libnautilus-extensions/nautilus-volume-monitor.c:
* libnautilus-extensions/nautilus-volume-monitor.h:
(nautilus_volume_monitor_initialize), (find_volumes):
Removed public call to nautilus_volume_monitor_find_volumes
and replaced with find_volumes which is called internally
when class is initialized.
* src/file-manager/fm-desktop-icon-view.c:
(startup_create_mount_links), (fm_desktop_icon_view_initialize),
(volume_mounted_callback):
Create a callback that is called for each mounted volume
to create mounted volume icons when desktop is created.
* icons/trash-empty.png:
* icons/trash-full.png:
Added new Trash icons to try and make text appear centered.
Fri Aug 18 21:22:17 2000 George Lebl <jirka@5z.com>
* components/hardware/nautilus-hardware-view.c
(read_proc_info) (extract_info) (get_CPU_description)
(get_RAM_description):
Use g_strdup instead of strdup
(get_CPU_description):
Free allocated data when returning due to an error
* components/music/nautilus-music-view.c
(nautilus_music_view_update_from_uri):
Initialize clist_entry in a loop, use g_strdup_printf instead
of malloc and sprintf, and properly free allocated data after use
* components/services/inventory/lib/eazel-inventory-shared.c
(read_proc_info)
components/services/inventory/nautilus-view/nautilus-inventory-view.c
(gather_config_button_cb)
libnautilus-extensions/nautilus-string.c
(nautilus_str_middle_truncate)
librsvg/rsvg.c (rsvg_ctx_free):
Use g_strdup instead of strdup and g_free instead of free to
prevent crashes with glib compiled with --enable-mem-check
* src/file-manager/Makefile.am,
src/file-manager/nautilus-indexing-info.[ch],
src/file-manager/fm-search-list-view.c (indexing_info_callback)
(real_merge_menus):
Bug #1369: Add a dialog for indexing info to the file menu. The
dialog shows the last time the indexing was done and allows to
update the indexes. Only shown on the file search result dialog
2000-08-18 Gene Z. Ragan <gzr@eazel.com>
* libnautilus-extensions/nautilus-volume-monitor.c:
(nautilus_volume_monitor_initialize),
(nautilus_volume_monitor_destroy), (mount_volume_is_mounted),
(mount_volume_cdrom_set_state), (mount_volume_floppy_set_state),
(mount_volume_ext2_set_state), (mount_volume_set_state),
(volume_set_state_empty), (mount_volume_mount),
(mount_volume_activate_cdrom), (mount_volume_activate_floppy),
(mount_volume_activate_ext2), (mount_volume_activate),
(eject_cdrom), (mount_volume_deactivate),
(mount_volume_do_nothing), (mount_volume_check_change),
(mount_volumes_update_is_mounted), (mount_volumes_check_status),
(mount_volume_floppy_add), (mount_volume_ext2_add),
(mount_volume_iso9660_add), (mount_volume_add_aliases),
(add_mount_volume), (mntent_is_removable_fs),
(nautilus_volume_monitor_find_volumes),
(nautilus_volume_monitor_each_volume),
(nautilus_volume_monitor_each_mounted_volume),
(nautilus_volume_monitor_mount_unmount_removable),
(free_volume_info), (get_iso9660_volume_name),
(get_ext2_volume_name), (get_floppy_volume_name):
* libnautilus-extensions/nautilus-volume-monitor.h:
* src/file-manager/fm-desktop-icon-view.c:
(fm_desktop_icon_view_initialize), (volume_mounted_callback),
(volume_unmounted_callback):
More naming fixes. Remove info from NautilusDeviceInfo and renamed it
NautilusVolume. Removed device naming and use volume instead. Named other
structs with Nautilus prepended.
2000-08-18 John Sullivan <sullivan@eazel.com>
More work on bug 1750 ("Reveal in New Window" feature for
search results). Now it opens a new window with the right
item selected. The only remaining work is to make the new
window scroll as necessary to reveal the item.
Along the way, fixed an unreported bug where the selection
wasn't being maintained on view switches.
* libnautilus-extensions/nautilus-gtk-extensions.h:
added #define for nautilus_gtk_marshal_NONE__STRING_POINTER.
* libnautilus/nautilus-view-component.idl:
Added open_in_new_window_and_select call.
* libnautilus/nautilus-view.h,
* libnautilus/nautilus-view.c:
(nautilus_view_open_in_new_window_and_select):
* src/nautilus-view-frame-corba.c:
(impl_Nautilus_ViewFrame_open_location_in_new_window),
(impl_Nautilus_ViewFrame_open_in_new_window_and_select):
* src/nautilus-view-frame-private.h:
* src/nautilus-view-frame.c:
(nautilus_view_frame_initialize_class),
(nautilus_view_frame_open_in_new_window_and_select):
* src/nautilus-view-frame.h: Wired together the various
pieces to get open_in_new_window_and_select across CORBA
and into the view frame.
* src/nautilus-window.h: added pending_selection field
* src/nautilus-window-manage-views.h: added
nautilus_window_open_in_new_window_and_select
* src/nautilus-window.c:
(nautilus_window_open_in_new_window_and_select_callback),
(nautilus_window_connect_view): Wiring to connect view
frame signals to window.
(nautilus_window_destroy): free pending_selection
* src/nautilus-window-manage-views.c:
(nautilus_window_update_view): Changed call from
nautilus_window_report_selection_changed to
nautilus_view_frame_selection_changed. This was the source
of the selection-not-preserved-across-view-changes bug.
Darin came up with this fix.
(open_location): Added a new_selection parameter to this
bottleneck function. It is set as the pending_selection
in the window.
(nautilus_window_open_location),
(nautilus_window_open_location_in_new_window),
(nautilus_window_report_location_change): Update existing
callers of open_location to pass NULL for new_selection parameter.
(nautilus_window_open_in_new_window_and_select): New function,
calls open_location with a selection (among other parameters).
(nautilus_window_update_state): When loading a new location, set
the location to pending_selection rather than NULL (and clear
pending_selection later so it doesn't unnecessarily hang around).
* src/file-manager/fm-search-list-view.c:
(reveal_selected_items_callback):
Call open_in_new_window_and_select instead of just
open_location_in_new_window
2000-08-18 Michael Engber <engber@eazel.com>
Final cut at syncing our desktop background with GNOME's (bug 1047)
Now we are notified when the background capplet makes a change
to the desktop. There are still some problems, e.g. we don't get
notified when the "try" button is hit. A separate bug has been
filed about the remaining issues.
* libnautilus-extensions/nautilus-directory-background.c:
(nautilus_directory_background_set_desktop),
(call_settings_changed),
(nautilus_directory_background_event_filter),
(desktop_background_destroyed_callback),
(nautilus_directory_background_receive_root_window_changes),
(background_changed_callback), (saved_settings_changed_callback),
(nautilus_directory_background_theme_changed),
(background_reset_callback), (background_destroyed_callback),
(nautilus_connect_background_to_directory_metadata):
2000-08-18 Gene Z. Ragan <gzr@eazel.com>
* libnautilus-extensions/nautilus-link.c:
* libnautilus-extensions/nautilus-link.h:
(nautilus_link_is_volume_link):
New function. Identifies if link is a volume link.
* libnautilus-extensions/nautilus-volume-monitor.c:
* libnautilus-extensions/nautilus-volume-monitor.h:
(nautilus_volume_monitor_initialize_class),
(mount_device_is_mounted), (mount_device_cdrom_set_state),
(mount_device_floppy_set_state), (mount_device_ext2_set_state),
(mount_device_set_state), (device_set_state_empty),
(mount_device_mount), (mount_device_activate_cdrom),
(mount_device_activate_floppy), (mount_device_activate_ext2),
(mount_device_activate), (eject_cdrom), (mount_device_deactivate),
(mount_device_do_nothing), (mount_device_check_change),
(mount_devices_update_is_mounted), (mount_device_floppy_add),
(mount_device_ext2_add), (mount_device_iso9660_add),
(mount_device_add_aliases), (add_mount_device),
(nautilus_volume_monitor_each_device),
(nautilus_volume_monitor_each_mounted_device),
(nautilus_volume_monitor_mount_unmount_removable),
(free_device_info), (get_iso9660_volume_name),
(get_ext2_volume_name), (get_floppy_volume_name):
Renamed DeviceInfo to NautilusDeviceInfo.
Removed all code that handled links and moved to
FMDesktopIconView. Fixed creation of volume mounted signal
to have proper signature,
* src/file-manager/fm-desktop-icon-view.c:
(fm_desktop_icon_view_initialize), (volume_mounted_callback),
(volume_unmounted_callback), (remove_old_mount_links):
Added signal handlers for mount and unmount signals emitted
by NautilusVolumeMonitor. These handlers create and remove
mount links.
2000-08-18 Mathieu Lacage <mathieu@eazel.com>
Cleans up the HistoryFrame : remove the History object
and replaces it with HistoryList.
* components/history/nautilus-history-view.c: (get_history_list),
(history_load_location):
* libnautilus/nautilus-view-component.idl:
* src/nautilus-history-frame.c:
* src/nautilus-view-frame.c:
(nautilus_view_frame_get_history_list):
* src/nautilus-view-frame.h:
* src/nautilus-window.c:
(nautilus_window_get_history_list_callback):
2000-08-18 John Sullivan <sullivan@eazel.com>
More menu tweaking, including switching over to use
Bonobo "menu placeholders" for menu-merging components.
Fixed bug 1859 (Need improved way to position added menu items)
* libnautilus/nautilus-bonobo-ui.h:
Removed all menu item paths except those we expect to
be merged over (like "Select All"). Added new placeholder
paths for components to use when merging instead of relying
on the positions of specific menu items. Commented the intended
use of each placeholder.
* components/loser/content/nautilus-content-loser.c:
(loser_merge_bonobo_items_callback):
* components/loser/sidebar/nautilus-sidebar-loser.c:
(loser_merge_bonobo_items_callback):
* components/sample/nautilus-sample-content-view.c:
(sample_merge_bonobo_items_callback):
Updated menu-merging code to use placeholder paths.
* src/file-manager/fm-directory-view.c:
(reset_bonobo_trash_delete_menu), (reset_bonobo_open_with_menu),
(fm_directory_view_real_merge_menus): Updated menu-merging code
to use placeholder paths or to base positions off other
directory view menu items. Added separator before Empty Trash.
* src/file-manager/fm-directory-view.h: Updated #defines for
directory view menu paths (some used by subclasses)
* src/file-manager/fm-icon-view.c: (compute_menu_item_info):
Change "Restore Icon to Unstretched Size" to "Restore Icon's
Original Size" to match Arlo's wording (and similarly for
the plural case)
* src/nautilus-window-menus.c:
Moved in the menu paths that were moved out of nautilus-bonobo-ui.h
(append_placeholder): New function, wrapper for
bonobo_ui_handler_menu_new_placeholder
(nautilus_window_remove_bookmarks_menu_items),
(refresh_dynamic_bookmarks), (append_static_bookmarks):
Simplified logic of rebuilding bookmarks menu by
using placeholder instead of details->last_static_bookmark_path.
(nautilus_window_initialize_menus): Insert the placeholders defined
in nautilus-bonobo-ui.h; add Control-/ for "About Nautilus" per Arlo.
(nautilus_window_remove_go_menu_items),
(refresh_go_menu): Use placeholder to position History menu items.
* src/nautilus-window-private.h: Removed last_static_bookmark_path;
moved #defines for back/forward/up menu paths here.
* src/nautilus-window.c: (nautilus_window_destroy): Removed
last_static_bookmark_path.
Fixed bug 2166 (Clearing name field in Properties window doesn't work right)
* src/file-manager/fm-properties-window.c:
(name_field_update_to_match_file): Changed a char * to const char *
for clarity.
(name_field_restore_original_name): New function, restores the original
contents of the name field, no questions asked.
(name_field_done_editing): When handling empty-string case, use
restore_original_name instead of update_to_match_file, which was too
clever for this case.
2000-08-18 Darin Adler <darin@eazel.com>
* src/nautilus-window-menus.c: (help_menu_about_nautilus_callback):
* libnautilus-extensions/nautilus-program-chooser.c:
(nautilus_program_chooser_new),
(nautilus_program_chooser_show_no_choices_message):
Fixed bug 2210 (GNOME is referred to as Gnome in the about
dialog). It was in one other place too.
* libnautilus/nautilus-view-component.idl:
Fixed some comments.
* libnautilus-extensions/nautilus-directory-private.h:
* libnautilus-extensions/nautilus-directory-async.c:
(dequeue_pending_idle_callback):
* libnautilus-extensions/nautilus-directory.c:
(nautilus_directory_emit_files_changed),
(nautilus_directory_emit_change_signals_deep),
(nautilus_directory_emit_metadata_changed),
(call_files_changed_free_list),
(call_files_changed_unref_free_list):
* libnautilus-extensions/nautilus-file.c: (nautilus_file_changed):
Separated out the call so you can emit a files_changed without
also emitting a changed signal on each file.
* libnautilus-extensions/nautilus-trash-directory.h:
* libnautilus-extensions/nautilus-trash-directory.c:
(trash_callback_remove_directory), (directory_ready_callback),
(forward_files_added_cover), (forward_files_changed_cover),
(nautilus_trash_directory_add_real_directory),
(trash_callback_remove_directory_cover),
(nautilus_trash_directory_remove_real_directory),
(remove_all_real_directories),
(fm_desktop_icon_view_discover_trash_callback),
(add_one_writable_device), (get_trashable_volume_uris),
(nautilus_trash_monitor_async_get_trash_directories):
More trash work. A bunch is commented out. I'm doing this *so*
slowly, but I need to check in at this point for Gene's sake.
* libnautilus-extensions/nautilus-volume-monitor.h:
* libnautilus-extensions/nautilus-volume-monitor.c:
(nautilus_volume_monitor_initialize_class),
(mount_device_activate), (mount_device_deactivate):
Changed the signals to be both more useful and easier to use.
* src/file-manager/fm-desktop-icon-view.c:
(fm_desktop_icon_view_initialize):
* src/file-manager/nautilus-trash-monitor.c:
Moved 1/2-written trash code out of here.
* HACKING: Spell checking.
2000-08-18 John Sullivan <sullivan@eazel.com>
* configure.in: Added pt_BR to ALL_LINGUAS
2000-08-17 Ramiro Estrugo <ramiro@eazel.com>
* libnautilus-extensions/nautilus-caption.c:
(nautilus_caption_initialize_class), (nautilus_caption_initialize),
(nautilus_font_picker_show_all), (update_title),
(nautilus_caption_set_show_title), (nautilus_caption_set_child):
* libnautilus-extensions/nautilus-caption.h:
New function to allow hiding the title.
2000-08-17 Ramiro Estrugo <ramiro@eazel.com>
* libnautilus-extensions/nautilus-string-picker.c:
(nautilus_string_picker_initialize),
(nautilus_string_picker_destroy),
(nautilus_string_picker_set_string_list),
(nautilus_string_picker_get_string_list),
(nautilus_string_picker_get_selected_string),
(nautilus_string_picker_set_selected_string),
(nautilus_string_picker_insert_string):
* libnautilus-extensions/nautilus-string-picker.h:
New function to insert a string without having to access the
string list first. Also renamed some poorly named functions.
* libnautilus-extensions/nautilus-preferences-item.c:
(preferences_item_create_font_family),
(preferences_item_create_theme), (text_item_changed_callback):
Update for string picker api changes.
* test/test-nautilus-widgets.c: (test_string_picker),
(string_picker_changed_callback):
Update for string picker api changes.
2000-08-17 Ramiro Estrugo <ramiro@eazel.com>
* libnautilus-extensions/nautilus-string-list.c:
(nautilus_string_list_new_from_string_list),
(nautilus_string_list_assign_from_string_list),
(nautilus_string_list_free), (nautilus_string_list_equals),
(nautilus_string_list_get_index_for_string), (compare_strings),
(nautilus_string_list_sort),
(nautilus_string_list_remove_duplicates),
(nautilus_string_list_for_each), (nautilus_self_check_string_list):
* libnautilus-extensions/nautilus-string-list.h:
New function to assign one string list to another.
New function to sort the string list.
New function to remove duplicate strings.
Also added tests for all these.
2000-08-17 Ramiro Estrugo <ramiro@eazel.com>
* libnautilus-extensions/nautilus-string.c:
(nautilus_str_is_equal), (nautilus_self_check_string):
* libnautilus-extensions/nautilus-string.h:
New function and tests.
2000-08-17 John Sullivan <sullivan@eazel.com>
Finished task 1991 (Need "Create Link" menu item) and did
a little of bug 1653 (refined menu layout)
* src/file-manager/fm-directory-view.h:
#define FM_DIRECTORY_VIEW_MENU_PATH_CREATE_LINK
* src/file-manager/fm-directory-view.c:
(fm_directory_view_create_links_for_files): New function,
creates symbolic links in this directory for a set of files.
(create_link_callback): New function used by both bonobo and
context menu "Create Link" items. Calls _create_links_for_files
on selected files.
(compute_menu_item_info): Compute title & sensitivity of
link-creating menu item.
(fm_directory_view_real_create_selection_context_menu_items):
add Create Link to context menu.
(reset_bonobo_trash_delete_menu): Spacing change only.
(fm_directory_view_real_merge_menus): Gave Control-N to
New Folder and Control-I (weird) to Show Properties. Added
Create Link to bonobo menu.
(fm_directory_view_real_update_menus): Update Create Link item
when selection changes.
(fm_directory_view_get_context_menu_index): Updated to match
current set of items.
* src/nautilus-window-menus.c: (nautilus_window_initialize_menus):
Took Control-N away from "New Window" so "New Folder" could have it;
gave "Close All Windows" Control-Shift-W
2000-08-17 Andy Hertzfeld <andy@eazel.com>
* libnautilus-extensions/nautilus-icon-dnd.c:
(receive_dropped_keyword):
implemented task 2078, we need a better drag and drop-based way to
delete emblems, by adding an "erase emblems" emblem and special-casing
it to erase the emblems.
* data/emblems/Makefile.am:
* data/emblems/erase.png:
added Susan's erase emblem image
2000-08-17 Andy Hertzfeld <andy@eazel.com>
* libnautilus-extensions/nautilus-image.c: (ensure_buffer_size),
(nautilus_gdk_pixbuf_render_to_drawable):
made it respect the alpha channel for ordinary images by making
the buffer use an alpha channel and rending with an alpha channel if
present.
* src/nautilus-application.c: (need_to_show_first_time_druid):
removed the code that set the first time flag here, since it
shouldn't be set until the user has gone all the way through the
druid.
* src/nautilus-first-time-druid.c:
(druid_set_first_time_file_flag), (druid_finished),
(update_selection_changed), (set_up_update_page),
(set_up_update_feedback_page), (next_update_page_callback),
(finish_page_back_callback), (nautilus_first_time_druid_show):
started to add the "welcome package" service download to the
druid, which I'll finish soon. Also, set the first time flag
at the end of the druid and other clean-ups.
2000-08-17 Darin Adler <darin@eazel.com>
* components/tree/nautilus-tree-model.c:
(nautilus_tree_model_monitor_node):
* libnautilus-extensions/nautilus-directory-async.c:
(nautilus_directory_monitor_add_internal):
* libnautilus-extensions/nautilus-directory-background.c:
(nautilus_connect_background_to_directory_metadata):
* libnautilus-extensions/nautilus-directory-private.h:
* libnautilus-extensions/nautilus-directory.c:
(nautilus_directory_file_monitor_add),
(nautilus_self_check_directory):
* libnautilus-extensions/nautilus-directory.h:
* libnautilus-extensions/nautilus-file.c:
(nautilus_file_monitor_add):
* libnautilus-extensions/nautilus-trash-directory.c:
(trash_file_monitor_add):
* libnautilus-extensions/nautilus-vfs-directory.c:
(vfs_file_monitor_add):
* src/file-manager/fm-directory-view.c: (finish_loading_uri):
* src/file-manager/nautilus-trash-monitor.c:
(nautilus_trash_metadata_ready_callback):
Remove extra parameters now that the initial files callback is
gone. It turns out emitting another files_added signal works just
fine. If it wasn't for the search list view, I could also merge
the "file_added" and "files_changed" signals easily. Both of these
changes would simplify the work on the virtual trash directory.
* libnautilus-extensions/nautilus-link.h:
* libnautilus-extensions/nautilus-link.c:
Get rid of NAUTILUS_LINK constant, which looked like a link type,
but was really an unrelated implementation detail.
* libnautilus-extensions/nautilus-icon-container.c: (sort_icons),
(resort), (lay_down_icons_tblr), (finish_adding_new_icons):
Removed the file-manager-specific stuff Gene added for the desktop.
I fight the continuing battle to keep NautilusIconContainer a
general icon container, and not just for the Nautilus icon view.
The drag code is still an exception to this that needs to be fixed
some day (for NautilusList too).
* src/file-manager/fm-desktop-icon-view.c:
(fm_desktop_icon_view_initialize),
(get_local_path), (get_sort_category),
(desktop_icons_compare_callback):
Rewrote sorting code from NautilusIconContainer and moved it
here where it belongs.
2000-08-17 John Sullivan <sullivan@eazel.com>
Work on bug 1750 ("Reveal in New Window" feature for search results)
* src/file-manager/fm-search-list-view.c:
(reveal_selected_items_callback): New function, opens a new window
showing the parent directory for each selected item. What it
still doesn't do is select and scroll-to-expose the item.
(real_create_selection_context_menu_items), (real_merge_menus):
Wire the callback to the context & menu-bar menu items.
2000-08-17 Gene Z. Ragan <gzr@eazel.com>
* libnautilus-extensions/nautilus-icon-container.c:
(desktop_icons_sort), (lay_down_icons_tblr):
Fixed a bug in the sorting of icons for initial layout
in tblr mode. Trash was not being placed last in the
list.
2000-08-16 John Sullivan <sullivan@eazel.com>
Fixed bug 2169 ("Move to Trash" menu item needs refinement)
Fixed bug 1742 ("Move to Trash" in search view should work)
Fixed bug 1745 ("Delete from Trash" in search view should work)
* libnautilus-extensions/nautilus-file.h,
* libnautilus-extensions/nautilus-file.c:
(nautilus_file_get_parent_uri),
(nautilus_file_get_string_attribute):
made nautilus_file_get_parent_uri public, and changed its name
(was nautilus_file_get_parent_uri_as_string)
* src/file-manager/fm-directory-view.h:
(contents_share_parent): New function pointer for subclasses
to optionally override. Subclasses should override to return
FALSE if their contents might be from different directories.
* src/file-manager/fm-directory-view.c:
(fm_directory_view_initialize_class): Wire up
contents_share_parent function pointer
(get_nautilus_file_from_directory): New helper function to
get a NautilusFile from a NautilusDirectory
(fm_directory_is_trash): Reimplemented to call existing
function nautilus_file_is_in_trash and avoid duplicating code.
(fm_directory_view_contents_share_parent): New function, calls
the virtual function
(real_contents_share_parent): New function, default implementation
that returns TRUE since normal directory views' contents are all
in the same parent directory.
(all_files_in_trash): New function, checks if every file in a
list is in the trash
(fm_directory_all_selected_items_in_trash): New function, calls
all_files_in_trash on selection or uses shortcut if
fm_directory_view_contents_share_parent is true.
(fm_directory_view_can_move_file_to_trash): Renamed from
fm_directory_can_move_to_trash, and now takes a file parameter
since the answer might vary on a file-by-file basis.
(fm_directory_view_confirm_deletion): Spruced up wording, and
now takes a list of uris instead of a list of files, and now
separately handles the case where only some of the selected files
had to be deleted immediately.
(fm_directory_view_trash_or_delete_selection): Rewrote to handle
three types of files separately: files that can be moved to the
trash, files already in the trash, and files that have to be
deleted in place.
(compute_menu_item_info): Changed "Delete..." to "Delete from Trash".
(fm_directory_view_real_create_selection_context_menu_items),
(reset_bonobo_trash_delete_menu):
use "Delete from Trash" only if all selected items in trash.
(fm_directory_view_real_update_menus): Update "Delete from Trash"
menu item also. Its sensitivity wasn't updating properly due to
this missing line.
* src/file-manager/fm-search-list-view.c:
(real_contents_share_parent): Overridden to return FALSE.
(fm_search_list_view_initialize_class): wire up function pointer
for contents_share_parent
2000-08-16 Gene Z. Ragan <gzr@eazel.com>
* libnautilus-extensions/nautilus-icon-container.c:
(icon_toggle_selected), (icon_destroy),
(nautilus_icon_container_remove):
Fixed bug 2197, moving a file to trash while in renaming mode
leaves renaiming item behind.
Call end_renaming_mode in nautilus_icon_container_remove.
* libnautilus-extensions/nautilus-icon-dnd.c:
(nautilus_icon_container_free_drag_data):
Changed gtk_object_unref call to gtk_object_destroy to
fix a crash. Hopefully this didn't
introduce a memory leak.
2000-08-16 Darin Adler <darin@eazel.com>
* README: Don't use tabs any more. Spell check.
Add libglade.
* components/tree/nautilus-tree-model.c:
(nautilus_tree_model_monitor_add),
(nautilus_tree_model_monitor_node):
Use file attribute constant instead of hard-coded string. I was
here to make some changes to the monitor API, but I didn't get
to that yet. Next check-in.
* libnautilus-extensions/nautilus-directory-async.c:
(nautilus_directory_monitor_add_internal):
Use "files_added" signal instead of callback. This is the first
step toward removing the callback. I'll remove it tomorrow.
* libnautilus-extensions/nautilus-directory.c:
(nautilus_directory_notify_files_added): Fix directory ref count
leak.
* libnautilus-extensions/nautilus-file.c:
(nautilus_file_get_internal): Fix case where we would not ref
the NautilusFile even though the directory is monitoring it.
This would lead to an early destroy later.
* libnautilus-extensions/nautilus-search-uri.c:
(nautilus_search_uri_to_human): Comment out print statements.
Mathieu can delete them entirely later.
(nautilus_self_check_search_uri): Added a few more tests.
* libnautilus-extensions/nautilus-trash-directory.h:
* libnautilus-extensions/nautilus-trash-directory.c:
(nautilus_trash_directory_initialize), (trash_destroy),
(trash_callback_hash), (trash_callback_equal),
(trash_contains_file), (trash_callback_destroy),
(trash_callback_check_done), (directory_ready_callback),
(trash_callback_connect_directory), (trash_call_when_ready),
(trash_cancel_callback), (trash_file_monitor_add),
(trash_file_monitor_remove), (trash_are_all_files_seen),
(trash_is_not_empty), (nautilus_trash_directory_initialize_class),
(nautilus_trash_directory_add_real_trash_directory),
(nautilus_trash_directory_remove_real_trash_directory),
(remove_all_real_directories): Getting closer on the trash
implementation. Still a ways to go.
* src/file-manager/fm-icon-text-window.c:
(create_attributes_option_menu):
* src/file-manager/fm-icon-view.c: (fm_icon_view_merge_menus): Use
_() instead of calling gettext. It turns out this is the
recommended way to do it, even when the parameter is not a literal
string.
2000-08-16 Michael Engber <engber@eazel.com>
Added bug numbers to some FIXME's and a new
FIXME (and placeholder handling) for our lack
of emboss support in background (bug 2193)
* libnautilus-extensions/nautilus-background.c:
(nautilus_background_draw):
* libnautilus-extensions/nautilus-directory-background.c:
(nautilus_directory_background_read_desktop_settings):
2000-08-16 Michael Engber <engber@eazel.com>
Cleanup some of my desktop changes (better names) (bug 1047)
Fix nautilus_background_get_image_placement, it was returning
the wrong value (copy/paste error). Lay some ground work
for supporting search results windows having their own theme.
* libnautilus-extensions/nautilus-background.c:
(nautilus_background_initialize_class),
(nautilus_background_get_image_placement),
(nautilus_background_draw),
(nautilus_background_set_color_no_emit),
(nautilus_background_set_color), (load_image_callback),
(nautilus_background_set_image_uri_no_emit),
(nautilus_background_set_image_uri),
(nautilus_background_real_reset),
(nautilus_background_receive_dropped_color):
* libnautilus-extensions/nautilus-background.h:
* libnautilus-extensions/nautilus-directory-background.c:
(nautilus_directory_background_set_desktop),
(nautilus_directory_background_is_desktop),
(nautilus_directory_background_peek_theme_source),
(nautilus_directory_background_get_default_settings),
(nautilus_directory_background_read_desktop_settings),
(nautilus_directory_background_write_desktop_default_settings),
(image_loading_done_callback),
(nautilus_directory_update_root_window),
(nautilus_directory_background_is_set),
(directory_changed_callback):
2000-08-16 John Sullivan <sullivan@eazel.com>
* src/file-manager/dfos-xfer.c: (get_parent_make_name_list):
The file-transfer mechanism can only handle files from the
same parent directory right now. To prevent this from getting
in the way of other work, I isolated the problem such that when
you try to move/copy/make-link files from multiple directories,
it puts up an alert warning you that it will ignore some of the
files. Then it continues to process only the ones from the same
directory as the first one it happened to examine.
2000-08-16 Gene Z. Ragan <gzr@eazel.com>
* src/nautilus-application.c: (nautilus_application_close_desktop):
Changed gtk_object_unref call to gtk_object_destroy to
fix an assertion being called. Hopefully this didn't
introduce a memory leak.
2000-08-16 Mathieu Lacage <mathieu@eazel.com>
* libnautilus-extensions/nautilus-search-uri.c:
(nautilus_self_check_search_uri): add more tests.
2000-08-15 Mathieu Lacage <mathieu@eazel.com>
* libnautilus-extensions/nautilus-search-uri.c:
(strip_uri_begenning), (tokenize_uri), (get_translated_criterion),
(parse_uri), (nautilus_self_check_search_uri): add loads of self-test.
fix bugs encountered in the testing. Thanks Darin.
2000-08-15 Darin Adler <darin@eazel.com>
* libnautilus-extensions/nautilus-trash-directory.c:
(nautilus_trash_directory_initialize), (trash_destroy),
(callback_hash), (callback_equal), (trash_contains_file),
(call_when_ready_state_destroy),
(call_when_ready_state_check_done), (directory_ready_callback),
(trash_call_when_ready), (trash_cancel_callback),
(trash_files_callback), (trash_file_monitor_add),
(trash_file_monitor_remove), (trash_are_all_files_seen),
(trash_is_not_empty): More of the implementation of all the
trash functions. About 1/3 done now.
* libnautilus-extensions/nautilus-icon-dnd.c:
(nautilus_icon_container_free_drag_data):
Use gtk_object_unref so it really gets rid of the object
instead of gtk_object_destroy that doesn't free it.
* libnautilus-extensions/nautilus-list.c: Reformatting.
* libnautilus/nautilus-zoomable.c:
(impl_Nautilus_Zoomable_zoom_out),
(impl_Nautilus_Zoomable_zoom_to_fit),
(impl_Nautilus_Zoomable__destroy),
(impl_Nautilus_Zoomable__create),
(nautilus_zoomable_initialize_class):
Clean out some old cruft. More cleanup needed.
* src/file-manager/fm-directory-view.c:
(text_attribute_names_changed_callback),
(embedded_text_policy_changed_callback),
(image_display_policy_changed_callback),
(directory_view_font_family_changed_callback),
(click_policy_changed_callback),
(anti_aliased_mode_changed_callback),
(fm_directory_view_bump_zoom_level),
(fm_directory_view_zoom_to_level),
(fm_directory_view_restore_default_zoom_level),
(fm_directory_view_can_zoom_in), (fm_directory_view_can_zoom_out),
(fm_directory_view_get_background_widget),
(fm_directory_view_get_selection): Use NAUTILUS_CALL_VIRTUAL.
(fm_directory_can_move_to_trash): Fix handling of NULL directory.
(new_folder_rename_later),
(fm_directory_view_get_emblem_names_to_exclude),
(fm_directory_view_merge_menus), (fm_directory_view_select_all),
(fm_directory_view_set_selection),
(fm_directory_view_supports_properties),
(fm_directory_view_update_menus): Use NAUTILUS_CALL_VIRTUAL.
(fm_directory_view_get_uri): Handle NULL directory.
* src/file-manager/fm-icon-view.c:
(fm_icon_view_get_directory_sort_by),
(fm_icon_view_set_directory_sort_by),
(fm_icon_view_get_directory_sort_reversed),
(fm_icon_view_set_directory_sort_reversed),
(fm_icon_view_get_directory_auto_layout),
(fm_icon_view_set_directory_auto_layout):
Use NAUTILUS_CALL_VIRTUAL.
* src/file-manager/fm-list-view.c: (fm_list_view_adding_file),
(fm_list_view_removing_file), (fm_list_view_file_still_belongs),
(get_number_of_columns), (get_link_column),
(get_default_sort_attribute), (get_column_specification):
Use NAUTILUS_CALL_VIRTUAL.
* src/nautilus-navigation-bar.c:
(nautilus_navigation_bar_get_location),
(nautilus_navigation_bar_set_location):
Use NAUTILUS_CALL_VIRTUAL.
* src/nautilus-view-frame-corba.c:
(impl_Nautilus_ViewFrame__destroy):
* src/nautilus-zoomable-frame-corba.c:
(impl_Nautilus_ZoomableFrame__destroy),
(impl_Nautilus_ZoomableFrame__create):
Remove some unused code.
2000-08-15 Arlo Rose <arlo@eazel.com>
* AUTHORS:
Added myself.
This file is *seriously* out of date.
2000-08-15 John Sullivan <sullivan@eazel.com>
Fixed bug 2172 (Need to support right-button-dragging in
list view). This was a piece of list view dragging support
that got overlooked before, but is necessary for search
results.
Some of this code is copy/paste/modified from
nautilus-icon-container.c and nautilus-icon-dnd.c. I added
FIXMEs about this (there were some already).
* libnautilus-extensions/nautilus-list.c:
Added #defines for mouse buttons
(show_context_menu_callback), (and get ready for a potential drag)
(nautilus_list_button_release), (nautilus_list_unrealize),
(nautilus_list_resize_column), (nautilus_list_drag_start),
(nautilus_list_motion), (nautilus_list_drag_begin),
(nautilus_list_drag_end), (nautilus_list_drag_leave),
(nautilus_list_get_drop_action), (nautilus_list_drag_motion),
(nautilus_list_drag_drop), (nautilus_list_drag_data_received):
Changes are too intertwined to list function-by-function. The
main ones are: replaced uses of mouse button constants with
#defines; Made middle button do nothing useful to match icon
view (was mimicking left button); made right button either
start a "choose the action on release" type drag or pop up
the contextual menu after a timeout if no drag begins; took
out some unnecessary asserts.
* src/file-manager/fm-list-view.c: (fm_list_handle_dropped_icons):
Changed action >= 0 to action > 0 so it doesn't do a lot of
useless work when user chooses Cancel after a right-click drag;
moved g_free (list_view_uri) inside the block where list_view_uri
is allocated.
2000-08-15 Michael Engber <engber@eazel.com>
Third cut at syncing our desktop background with GNOME's (bug 1047)
Now we update the GNOME desktop (root window) when we make changes.
Still need to handle nautilus getting notified when the capplet makes
changes.
* libnautilus-extensions/nautilus-background.c:
(nautilus_background_initialize_class),
(nautilus_background_set_color_no_signal),
(nautilus_background_set_color), (load_image_callback),
(nautilus_background_set_image_uri_no_signal),
(nautilus_background_set_image_uri),
(nautilus_background_is_loaded), (nautilus_background_real_reset),
(nautilus_background_receive_dropped_color):
* libnautilus-extensions/nautilus-background.h:
* libnautilus-extensions/nautilus-directory-background.c:
(nautilus_directory_background_write_desktop_settings),
(nautilus_directory_background_write_desktop_default_settings),
(make_root_pixmap), (dispose_root_pixmap), (set_root_pixmap),
(image_loaded_callback), (nautilus_directory_update_root_window),
(background_changed_callback), (background_reset_callback):
2000-08-15 Darin Adler <darin@eazel.com>
* libnautilus-extensions/nautilus-search-uri.c:
(nautilus_search_uri_to_human), (nautilus_is_search_uri),
(nautilus_self_check_search_uri): Fix the self-check, which was
exposing some errors that need to be fixed. For now, the failing
checks are commented out and marked with FIXME.
2000-08-15 Darin Adler <darin@eazel.com>
Getting closer to an implementation of the shared trash. Did a bit
of factoring so that the trash has its own NautilusDirectory
subclass now, and the appropriate functions are virtual.
* libnautilus-extensions/nautilus-directory.c:
(nautilus_directory_are_all_files_seen),
(nautilus_directory_contains_file),
(nautilus_directory_call_when_ready),
(nautilus_directory_cancel_callback),
(nautilus_directory_file_monitor_add),
(nautilus_directory_file_monitor_remove),
(nautilus_directory_is_not_empty): Made all these functions
virtual.
(wait_until_ready_callback),
(nautilus_directory_wait_until_ready): Fixed some names and got
rid of some type casts.
* libnautilus-extensions/nautilus-gtk-macros.h: Added a new macro
to make calls to virtual functions easier to read.
* libnautilus-extensions/nautilus-icon-container.c:
* libnautilus-extensions/nautilus-icon-container.h:
* libnautilus-extensions/nautilus-icon-private.h:
* src/file-manager/fm-desktop-icon-view.c:
(fm_desktop_icon_view_initialize):
Minor cleanup and name changes.
* libnautilus-extensions/nautilus-lib-self-check-functions.h:
* libnautilus-extensions/nautilus-search-uri.h:
* libnautilus-extensions/nautilus-search-uri.c:
(nautilus_is_search_uri): Added a function to tell if a URI is a
search URI.
(nautilus_self_check_search_uri): Added self-checks.
* libnautilus-extensions/nautilus-directory-async.c:
(allow_metafile):
* src/nautilus-switchable-navigation-bar.c:
(nautilus_switchable_navigation_bar_set_location):
* src/nautilus-window-manage-views.c:
(nautilus_window_end_location_change_callback):
Changed to use the is_search_uri function.
* libnautilus-extensions/nautilus-trash-directory.c:
(trash_destroy), (trash_contains_file), (trash_call_when_ready),
(trash_cancel_callback), (trash_file_monitor_add),
(trash_file_monitor_remove), (trash_are_all_files_seen),
(trash_is_not_empty), (nautilus_trash_directory_initialize_class):
Trash versions of the virtual functions.
* libnautilus-extensions/nautilus-vfs-directory.c: (vfs_destroy),
(vfs_contains_file), (vfs_call_when_ready), (vfs_cancel_callback),
(vfs_file_monitor_add), (vfs_file_monitor_remove),
(vfs_are_all_files_seen), (any_non_metafile_item),
(vfs_is_not_empty), (nautilus_vfs_directory_initialize_class):
Non-trash versions of the virtual functions (mostly code moved
from nautilus-directory.c).
* src/file-manager/fm-directory-view.c:
(disconnect_model_handlers): Fix a place that relied on doing a
call with a NautilusDirectory of NULL. We don't need to be so
tolerant of NULL any more now that nautilus_directory_get always
returns a non-NULL result for any URI.
* src/nautilus-window.c: (nautilus_window_realize):
A little code cleanup.
(nautilus_window_load_content_view_menu): Fixed a storage leak
of the method string.
* src/nautilus.oafinfo: Added trash and gnome-trash as additional
URIs supported by the icon and list view.
2000-08-15 John Sullivan <sullivan@eazel.com>
Fixed task 1414 (Emptying the trash needs a warning dialog)
Implemented a simple confirmation dialog. Pavel said he and
Arlo agreed to defer the feature of including information
about the current trash contents in the dialog. I'll write up
a new deferred bug for that.
* src/file-manager/dfos-xfer.c:
(do_empty_trash): New function, does all the work of
actually emptying the trash.
(confirm_empty_trash): New function, puts up a modal dialog
and returns whether user confirmed it. See comments in file
as to why it's modal.
(fs_empty_trash): Empties trash only if confirm_empty_trash
returns TRUE.
2000-08-15 Gene Z. Ragan <gzr@eazel.com>
* libnautilus-extensions/nautilus-icon-container.c:
(get_best_empty_grid_location), (lay_down_icons_tblr):
Added horizontal and vertical padding for the tblr
layout mode as per Arlo's spec.
2000-08-15 Raph Levien <raph@acm.org>
* librsvg/art_render.c (art_render_image_solid_negotiate): Only
sets ART_IMAGE_SOURCE_CAN_COMPOSITE when a compositing callback is
selected. Previously was causing segfaults on non-alpha
images. Thanks to Leonard Rosenthol for spotting the bug.
2000-08-15 Mathieu Lacage <mathieu@eazel.com>
Implements core of task 1761
* libnautilus-extensions/Makefile.am: add my new files
to the build.
* libnautilus-extensions/nautilus-search-uri.c:
(strip_uri_begenning), (free_tokenized_uri), (tokenize_uri),
(get_item_number), (get_translated_criterion),
(get_first_criterion_prefix), (get_nth_criterion_prefix),
(get_nth_criterion_suffix), (get_first_criterion_suffix),
(parse_uri), (nautilus_search_uri_to_human): add file.
* libnautilus-extensions/nautilus-search-uri.h: add file.
* po/POTFILES.in: add my files there.
* src/file-manager/fm-search-list-view.c: (load_location_callback):
a space.
* src/nautilus-complex-search-bar.c:
(nautilus_complex_search_bar_initialize),
(attach_criterion_to_search_bar),
(unattach_criterion_from_search_bar):
fix multiple bugs: the size text entry would not be removed by
the "fewer options" button. Changed a few "pressed" to "clicked".
2000-08-14 Gene Z. Ragan <gzr@eazel.com>
* libnautilus-extensions/nautilus-icon-container.c:
(icon_set_position), (get_best_empty_grid_location):
Fixed bug in postioning icons on the left edge of
the desktop. Some fine tuning of initial default icon
placement.
2000-08-15 Eskil Heyn Olsen <eskil@eazel.com>
* components/services/install/command-line/Makefile.am:
* components/services/install/lib/eazel-install-metadata.c:
(create_default_configuration_metafile),
(init_default_install_configuration),
(init_default_transfer_configuration), (transferoptions_destroy):
Changed some of the default values.
* components/services/install/lib/eazel-install-object.c:
(eazel_install_unref), (eazel_install_set_arg),
(eazel_install_class_initialize),
(eazel_install_fetch_remote_package_list),
(eazel_install_install_packages),
(eazel_install_uninstall_packages):
Removed rpm_storage_path, as we query the server for a complete
url. Unref calls finalize if compiled with EAZEL_INSTALL_SLIM.
fetch_remote_package_list now uses file:// unless _SLIM is defined
(file:// makes gnome-vfs download the bastard).
* components/services/install/lib/eazel-install-private.h:
Made the subcommand_cammand boolean volatile.
* components/services/install/lib/eazel-install-protocols.h:
* 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_fill_file_fetch_table),
(eazel_install_fetch_file), (filename_from_url),
(eazel_install_fetch_package),
(eazel_install_fetch_package_which_provides), (add_to_url),
(get_url_for_package), (get_search_url_for_package):
Added gnome-vfs support (1301). Revamped a lot of the switch
(protocol) calls, so now theres a table of function pointers, so
eazel_install_fetch_file just uses
func_table[protocol](...). Thereby making it easier to add
protocols.
Also more #ifdefs to make life easier on the poor
nautilus-installer.
And I added file_to_report to eazel_install_fetch_file, so it can
use an alternative filename in the download progress signals,
instead of the target filename (eg. Eye of Gnome instead of
eog-x.y.z-bla1.i386.rpm).
Added g_main_iteration calls to http_fetch, for the
nautilus-installer. The gnome-vfs automagically calls it.
local_file_fetch now emits the obiligatory signals.
* components/services/install/lib/eazel-install-public.h:
* components/services/install/lib/eazel-install-rpm-glue.c:
(download_all_packages),
(eazel_install_start_transaction_make_rpm_argument_list),
(eazel_install_do_transaction_save_report),
(eazel_install_monitor_rpm_propcess_pipe),
(eazel_install_check_existing_packages),
(eazel_install_fetch_rpm_dependencies), (print_package_list),
(eazel_install_ensure_deps), (eazel_uninstall_upward_traverse),
(eazel_uninstall_downward_traverse):
Div cleaning up. Fixed rpm percentage output.
* components/services/install/lib/eazel-install-types.c:
(packagedata_fill_from_rpm_header):
* components/services/install/lib/eazel-install-types.h:
* components/services/install/lib/eazel-install-xml-package-list.c:
(parse_osd_xml_from_memory):
Fixed evil pointer mishap.
* components/services/install/lib/makefile.staticlib.in:
Added EAZEL_INSTALL_PROTOCOL_USE_OLD_CGI
* components/services/install/server/Makefile.am:
Added the VFS flags
* components/services/install/server/main.c: (sig_segv_handler),
(eazel_install_service_factory), (main):
Now loads the default config file.
* components/services/trilobite/libtrilobite/Makefile.am:
Added VFS flags
* components/services/trilobite/libtrilobite/trilobite-core-utils.h:
*components/services/trilobite/libtrilobite/trilobite-core-utils.c:
(trilobite_get_useragent_string):
Adressed bug 2149
* nautilus-installer/src/Makefile:
* nautilus-installer/src/installer.c: (eazel_install_progress),
(eazel_download_progress), (eazel_install_preflight), (installer):
* nautilus-installer/src/interface.c: (create_what_to_do_page),
(create_install_page), (create_finish_page), (create_window):
Revamped large parts of the ui, much prettier now.
2000-08-14 Pavel Cisler <pavel@eazel.com>
* src/file-manager/fm-desktop-icon-view.c:
(fm_desktop_icon_view_discover_trash_callback),
(fm_desktop_icon_view_initialize):
* src/file-manager/nautilus-trash-monitor.c:
(add_one_writable_device), (get_trashable_volume_uris),
(nautilus_trash_monitor_async_get_trash_directories):
* src/file-manager/nautilus-trash-monitor.h:
Fix bugzilla 1855 - nautilus_trash_monitor_async_get_trash_directories
returns the list of URIs of all the available trash directories, finding
and creating them as needed.
* libnautilus-extensions/nautilus-volume-monitor.c: (floppy_sort),
(mount_device_check_change), (mount_devices_update_is_mounted),
(check_permissions), (mount_device_iso9660_add),
(mount_device_add_aliases), (add_mount_device),
(mntent_is_removable_fs),
(nautilus_volume_monitor_find_mount_devices),
(nautilus_volume_monitor_each_device),
(nautilus_volume_monitor_each_mounted_device),
(nautilus_volume_monitor_mount_unmount_removable):
* libnautilus-extensions/nautilus-volume-monitor.h:
Made nautilus_volume_monitor_find_mount_device call
mount_devices_check_status explicitly so that the mounted volume state
is correct when the call returns.
Add nautilus_volume_monitor_each_device and
nautilus_volume_monitor_each_mounted_device.
Moved NautilusVolumeMonitorDetails into nautilus-volume-monitor.c,
away from prying eyes.
Tweak some string matching code.
2000-08-14 John Sullivan <sullivan@eazel.com>
Fixed bug 2159 (crash when trying to drag a selected item
in list view). This was getting in the way of me trying to
figure out what does & doesn't work in the search results
view.
* libnautilus-extensions/nautilus-list.c:
Got rid of details->clicked_row, since there was already a
details->button_down_row with the same intended use.
Also changed dnd_select_pending from int to gboolean to match
its use.
(nautilus_list_button_press): Set details->button_down_row to
-1 before handling click; remove line sometimes but not always
updating clicked_row (that was the source of the bug)
(nautilus_list_button_release): Remove line setting
clicked_row back to -1 after release; this was unnecessary.
(nautilus_list_drag_start): Use button_down_row instead of
clicked_row
2000-08-14 Gene Z. Ragan <gzr@eazel.com>
* libnautilus-extensions/nautilus-icon-container.c:
(desktop_icons_sort), (lay_down_icons_tblr), (lay_down_icons):
Fixed some sorting bugs when dealing with inital icon layout
in tblr mode.
2000-08-14 Michael Engber <engber@eazel.com>
Second cut at syncing our desktop background with GNOME's (bug 1047)
Now we support images being centered and scaled (not just tiled)
Although, there is no UI in nautilus to set this up (use the background
capplet) Still need to handle update issues.
* libnautilus-extensions/nautilus-background.c:
(nautilus_background_destroy),
(nautilus_background_get_image_placement),
(nautilus_background_set_image_placement),
(nautilus_background_draw), (nautilus_background_draw_aa),
(nautilus_background_get_image_uri), (load_image_callback),
(start_loading_image),
(nautilus_background_receive_dropped_background_image),
(nautilus_background_set_image_uri), (nautilus_background_is_set),
(nautilus_background_real_reset),
(nautilus_background_is_too_complex_for_gtk_style),
(nautilus_background_is_dark),
(nautilus_background_receive_dropped_color):
* libnautilus-extensions/nautilus-background.h:
* libnautilus-extensions/nautilus-directory-background.c:
(nautilus_directory_background_get_default_settings),
(nautilus_directory_background_read_desktop_settings),
(nautilus_directory_background_write_desktop_settings),
(nautilus_directory_background_write_desktop_default_settings),
(nautilus_directory_background_is_set),
(background_changed_callback), (directory_changed_callback),
(background_reset_callback):
nautilus_gdk_pixbuf_scale_to_fit was renamed to
nautilus_gdk_pixbuf_scale_down_to_fit and also changed
to not unref it's argument pixbuf. This involved fixing
up various places it was used.
* components/music/nautilus-music-view.c:
(nautilus_music_view_update_from_uri):
* libnautilus-extensions/nautilus-gdk-pixbuf-extensions.c:
(nautilus_gdk_pixbuf_scale_to_fit_helper),
(nautilus_gdk_pixbuf_scale_to_fit),
(nautilus_gdk_pixbuf_scale_down_to_fit):
* libnautilus-extensions/nautilus-gdk-pixbuf-extensions.h:
* libnautilus-extensions/nautilus-icon-factory.c:
(nautilus_icon_factory_make_thumbnails):
* src/nautilus-property-browser.c: (make_drag_image),
(set_emblem_image_from_file),
(make_properties_from_directory_path):
* src/nautilus-sidebar.c: (background_settings_changed_callback),
(background_reset_callback), (nautilus_sidebar_update_appearance):
* src/nautilus-theme-selector.c: (add_theme):
2000-08-14 Darin Adler <darin@eazel.com>
Some bug fixes, including a fix for bug 2156 (all sidebar panels
fail on view switch).
* libnautilus-extensions/nautilus-directory-async.c:
(dequeue_pending_idle_callback), (directory_load_done): Make sure
files are actually on the file list before emitting the
files_added signal.
* libnautilus-extensions/nautilus-file.c:
(nautilus_file_get_internal): Fixed a mistake on my last check-in
relating to NULL directories.
* src/nautilus-window-private.h:
* src/nautilus-window-manage-views.c:
(nautilus_window_has_really_changed): Fixed code so that it removes
old sidebar panels in a way that won't seem like an error to the
error-detecting code.
(nautilus_window_set_state_info): Keep the same sidebar panels when
we change the view and not the location. Also took out two unused
"states".
(nautilus_window_begin_location_change): Got rid of "SYNC_STATE".
* src/nautilus-window.c: A bit of reformatting.
2000-08-14 Gene Z. Ragan <gzr@eazel.com>
* libnautilus-extensions/nautilus-icon-container.c:
(lay_down_icons_tblr):
Made sure that an icon is added to the layout grid when it is
postioned during a multi-icon placement.
Freeze the icon positions after we are done placing them using
this layout mode.
2000-08-14 Darin Adler <darin@eazel.com>
More prep work for the trash directory.
* libnautilus-extensions/Makefile.am:
* libnautilus-extensions/nautilus-trash-directory.c:
(nautilus_trash_directory_initialize_class),
(nautilus_trash_directory_initialize),
(nautilus_trash_directory_destroy):
* libnautilus-extensions/nautilus-trash-directory.h:
* libnautilus-extensions/nautilus-vfs-directory.c:
(nautilus_vfs_directory_initialize_class),
(nautilus_vfs_directory_initialize),
(nautilus_vfs_directory_destroy):
* libnautilus-extensions/nautilus-vfs-directory.h:
Add subclasses for the trash and for general VFS directories.
Using refactoring techniques to move code down into these
subclasses. This is not intended to be a general framework,
but should be good enough to handle both these cases.
* libnautilus-extensions/nautilus-directory-async.c:
(can_use_public_metafile), (metafile_read_check_for_directory),
(metafile_read_failed), (metafile_read_start), (allow_metafile),
(metafile_write_success_close_callback),
(nautilus_metafile_write_start), (start_monitoring_file_list),
(get_corresponding_file), (start_getting_file_info):
* libnautilus-extensions/nautilus-directory-private.h:
* libnautilus-extensions/nautilus-directory.c:
(nautilus_directory_destroy), (make_uri_canonical),
(nautilus_directory_get_internal), (nautilus_directory_get_uri),
(construct_private_metafile_uri), (nautilus_directory_new),
(nautilus_directory_is_local), (nautilus_directory_is_not_empty),
(nautilus_self_check_directory):
* libnautilus-extensions/nautilus-directory.h:
* libnautilus-extensions/nautilus-file.c:
(nautilus_file_get_internal), (nautilus_file_rename),
(nautilus_file_get_gnome_vfs_uri), (nautilus_file_matches_uri),
(nautilus_file_compare_by_name),
(nautilus_file_compare_by_directory_name),
(nautilus_file_compare_for_sort), (nautilus_file_get_uri),
(nautilus_file_set_permissions),
(nautilus_file_get_string_attribute),
(nautilus_file_get_mime_type), (nautilus_file_is_in_trash),
(nautilus_file_contains_text), (nautilus_file_get_directory_name),
(nautilus_file_mark_gone), (nautilus_file_changed):
* libnautilus-extensions/nautilus-file.h:
Add code to handle case of directory that can't be handled by
gnome-vfs. Mostly some NULL checks. Also renamed fields to make
it clear that the text URI is the "real" one. Added code to
handle the "gnome-trash:" and "trash:" schemes specially in the
code to make URIs canonical.
* libnautilus-extensions/nautilus-mime-actions.c:
(get_mime_type_from_uri): Return "application/octet-stream"
instead of NULL for unknown MIME type.
* src/file-manager/fm-directory-view.c:
(fm_directory_view_display_selection_info): Eliminated the
nautilus_file_get_real_name call.
* src/nautilus-switchable-navigation-bar.c:
(nautilus_switchable_navigation_bar_set_location): Eliminated
the nautilus_directory_is_search_directory call.
* src/file-manager/fm-search-list-view.c: (real_adding_file):
Fixed formatting mistake.
* src/nautilus-view-frame.c: (set_up_for_new_location): Emit
the title_changed signal for each change in location.
2000-08-14 Gene Z. Ragan <gzr@eazel.com>
* libnautilus-extensions/nautilus-icon-container.c:
* libnautilus-extensions/nautilus-icon-container.h:
(desktop_icons_sort), (find_open_grid_space),
(get_best_empty_grid_location), (mark_icon_location_in_grid),
(mark_icon_locations_in_grid), (lay_down_icons_tblr),
(lay_down_icons), (nautilus_icon_container_add):
New functions for desktop layout mode. We use a grid and
decide where to place icons based on the first, best available
free space on the desktop.
* src/file-manager/fm-desktop-icon-view.c:
(fm_desktop_icon_view_initialize):
Set our layout mode to be top-bottom-left-right
2000-08-14 Raph Levien <raph@acm.org>
* librsvg/test-ft-gtk.c: Substantial new code to fiddle
with various options and measure performance.
* librsvg/rsvg-ft.c: A warning printed when the glyph is not
loaded. However, it looks at this point like there's a
nasty bug triggered when the glyph fails to load (see bug 2140).
2000-08-14 John Sullivan <sullivan@eazel.com>
* src/file-manager/fm-properties-window.c:
(forget_properties_window): Swapped the order of
nautilus_file_monitor_remove and nautilus_file_unref.
Unref must happen after we're otherwise done with the
file (I hadn't seen any symptoms of this bug).
(get_and_ref_file_to_display): Add NAUTILUS_LINK_TRASH
to the set of nautilus-link types for which we show the
target's properties. Currently that means you get the
properties of the single Trash directory.
2000-08-14 Darin Adler <darin@eazel.com>
* configure.in: Fixed GtkHTML configure section so it will
work with 3-part version numbers. I didn't really know the
"good" way to do this, so I just fixed the sed command to
work with multi-part versions and didn't try to fix any
other aspect of this. This change was required to make the
configure work with GtkHTML 0.6.1.
2000-08-14 John Sullivan <sullivan@eazel.com>
Finished the remaining details of bug 2061 (Show Properties
should show volume properties for desktop icons). I split
the "Show Properties for Trash" bug off as a separate task
(2146), since it has its own set of issues.
* src/file-manager/fm-properties-window.h:
Eliminated fm_properties_window_get_or_create, which
returned a GtkWindow, in favor of new
fm_properties_window_present, which doesn't. This was
required to do create the window asynchronously.
* src/file-manager/fm-directory-view.c:
(open_one_properties_window): Switch caller to use new
fm_properties_window_present. It had been wiring up an
Undo manager on the result window; this code got moved
into the asynchronous callback part of creating a
properties window.
* src/file-manager/fm-properties-window.c:
(create_pixmap_widget_for_file): ref file stored with pixmap
widget; this had been creating a ref/unref mismatch that we
had never noticed before probably due to extraneous refs elsewhere.
(name_field_focus_out), (name_field_focus_in), (create_basic_page):
Only do special focus handling with the name field if it's sensitive.
(create_properties_window_callback): New function, asynchronous
callback to create the properties window.
(get_and_ref_file_to_display): initialize file_to_display to NULL.
This was crashing non-special-Desktop-case Properties windows.
(fm_properties_window_present): Create properties window using
asynchronous nautilus_file_call_when_ready, so we don't try to
create the window until we know whether the file is a directory.
This had never caused problems before because we had only tried
to show properties for existing, info-bearing NautilusFile objects.
2000-08-14 John Sullivan <sullivan@eazel.com>
* src/nautilus-shell.c: (display_caveat): Wrapped the
image in the caveat dialog in a GtkVBox such that the
frame & image will remain unstretched at the top of the
dialog if the text gets taller than the image. We might
want to take this (trivial & safe) change for the
preview release if we end up making the caveat text longer.
2000-08-13 Andy Hertzfeld <andy@eazel.com>
added a separate theme selection window and removed theme selection from the
property browser
* src/Makefile.am:
* src/nautilus-theme-selector.h:
added nautilus theme selector class
* src/nautilus-theme-selector.c:
(nautilus_theme_selector_initialize_class),
(nautilus_theme_selector_initialize),
(nautilus_theme_selector_destroy), (nautilus_theme_selector_new),
(nautilus_theme_selector_show),
(nautilus_theme_selector_delete_event_callback),
(add_new_button_callback), (remove_button_callback),
(nautilus_theme_selector_highlight_by_name),
(nautilus_theme_selector_theme_changed),
(theme_select_row_callback), (vfs_file_exists), (has_image_file),
(make_theme_description), (set_preferred_font_for_cell),
(add_theme), (populate_list_with_themes):
added a class that presents a window that describes the existing themes and
allows the user to switch between them.
* src/nautilus-window-menus.c: (change_appearance_callback),
(nautilus_window_initialize_menus):
added a menu item to invoke the theme selector
* src/nautilus-property-browser.c:
(nautilus_property_browser_initialize), (make_category):
removed support for themes from the property browser
* data/browser.xml:
removed the themes browser category
* icons/Makefile.am:
removed the themes.png icon
* icons/arlo/arlo.xml:
* icons/default.xml:
* icons/vector/vector.xml:
added descriptions for display in the theme selection
* src/nautilus-sidebar-tabs.c:
(nautilus_sidebar_tabs_initialize_class),
(nautilus_sidebar_tabs_size_allocate):
removed unnecessary override of size_request
2000-08-12 Raph Levien <raph@acm.org>
* librsvg/rsvg-ft.c: Got glyph cache working. Eviction when
cache is full is not yet done, though, so RAM usage can grow.
This checkin caused an API change! The xpen and ypen fields
of the RsvgFTGlyph structure are now relative to the tranlation
components of the affine (ie affine[4] and affine[5]). Prior
to this checkin, they were relative to the upper left corner
of the glyph.
* librsvg/test-ft-gtk.c: Much tighter drawing, taking into
account both bbox of what's to be drawn and the expose rect.
2000-08-12 Raph Levien <raph@acm.org>
* librsvg/makefile-simple (CFLAGS): Added suitable warnings
so that broken code like the problem below doesn't slip through.
* librsvg/test-ft-gtk.c (test_expose): Actually expose the
entire window.
2000-08-12 Maciej Stachowiak <mjs@eazel.com>
* librsvg/test-ft-gtk.c (set_text): Made this local function
static to avoid warnings.
2000-08-12 Raph Levien <raph@acm.org>
* librsvg/test-ft-gtk.c: Added a simple Gtk+ test rig for rsvg-ft.
I'll be instrumenting this for speed measurements, to play with
the glyph cache.
* Makefile.am: Added test-ft-gtk.
* makefile-simple: A simple makefile for building rsvg without all
the auto* overhead, for testing purposes.
2000-08-12 Ali Abdin <aliabdin@aucegypt.edu>
* components/help/help-method.c:
(old_help_file): New function to return the old doc path.
(transform_file): If we can not find the SGML or XML path use the old
doc file (index.html)
2000-08-11 Andy Hertzfeld <andy@eazel.com>
* src/nautilus-sidebar-tabs.c: (draw_or_layout_all_tabs):
fixed "hole" in sidebar tabs in the arlo theme by using gdk_pixbuf_composite
instead of gdk_pixbuf_copy_area for the edge pieces, so the alpha gets used instead
of copied.
* src/nautilus-sidebar.c: (nautilus_sidebar_motion_event):
fixed bug where tabs were stay prelighted if you moved the mouse out quickly enough;
fixed by setting the prelight state even when we're outside of the tabs
* libnautilus-extensions/nautilus-icon-canvas-item.c: (map_pixbuf):
fixed a problem drawing the audio preview icon now that I understand how
composite works better
2000-08-11 Gene Z. Ragan <gzr@eazel.com>
* libnautilus-extensions/nautilus-icon-container.c:
(icon_set_position), (lay_down_icons),
(nautilus_icon_container_add):
Added code to handle special desktop layout modes.
* libnautilus-extensions/nautilus-icon-container.h:
* libnautilus-extensions/nautilus-volume-monitor.c:
(nautilus_volume_monitor_destroy):
Removed a double cleanup of a timewr callback.
* src/file-manager/fm-desktop-icon-view.c:
(fm_desktop_icon_view_initialize):
Set a default layout mode. This is not the same
as auto layout.
2000-08-11 Maciej Stachowiak <mjs@eazel.com>
* src/nautilus-application.c: (create_object): More renaming
fixes.
2000-08-11 Gene Z. Ragan <gzr@eazel.com>
* idl/GNOME_Desktop_FileOperationService.idl:
* src/nautilus-application.c: (create_factory):
Changes caused by the festival of renaming in OAF.
2000-08-11 Andy Hertzfeld <andy@eazel.com>
* src/nautilus-sidebar-tabs.c:
(nautilus_sidebar_tabs_load_theme_data),
(nautilus_sidebar_tabs_hit_test), (measure_total_height),
(recalculate_size), (nautilus_sidebar_tabs_size_request),
(draw_one_tab_plain), (draw_tab_piece_aa), (draw_one_tab_themed),
(get_tab_width), (draw_pixbuf_tiled_aa), (allocate_cleared_pixbuf),
(draw_or_layout_all_tabs), (nautilus_sidebar_tabs_expose):
added anti-aliased, shadowed labels for themed sidebar tabs, as
well as off-screen drawing to minimize flashing, fetching the
font from the theme and improved layout.
* icons/arlo/arlo.xml:
added a font for the labels
* libnautilus-extensions/nautilus-gdk-pixbuf-extensions.c:
(nautilus_gdk_pixbuf_draw_text):
added a check for too small a box to draw in to fix a case for
the sidebar tabs
2000-08-11 Gene Z. Ragan <gzr@eazel.com>
* libnautilus-extensions/nautilus-icon-container.c:
(icon_set_position),
(nautilus_icon_container_update_scroll_region), (lay_down_icons):
Handle fixed size icon containers. Add clipping to icon
positioning. Don't adjust scroll region if the icon container
is set to a fixed size.
* src/file-manager/fm-desktop-icon-view.c:
(fm_desktop_icon_view_initialize):
Set up desktop icon view to a fixed size and set the allocation
of the widget to be our fixed size with an offset of 0, 0
2000-08-11 Ali Abdin <aliabdin@aucegypt.edu>
* components/help/converters/gnome-db2html2/ASSUMPTIONS:
* components/help/converters/gnome-db2html2/TODO:
Added an ASSUMPTIONS (it might be temporary) and elborated on a TODO
item.
* components/help/converters/gnome-db2html2/sect-preparse.c:
(sect_preparse_figure_start_element) Keep a hash of the figure_id's
encountered.
* components/help/converters/gnome-db2html2/gdb3html.h:
Add a hash table to the Context struct
* components/help/converters/sect-elements.c:
(sect_xref_start_element):
Special case handling of xref's to images.
2000-08-11 Darin Adler <darin@eazel.com>
* docs/state-machines.txt: Some tweaks to Maciej's proposed
states for the view frame.
2000-08-11 Mike Engber <engber@eazel.com>
First cut at syncing our desktop background with GNOME's (bug 1047)
Still need to handle centered & scaled images + update issues.
* libnautilus-extensions/nautilus-background.c:
(nautilus_background_initialize_class):
* libnautilus-extensions/nautilus-directory-background.c:
(nautilus_directory_background_set_desktop),
(nautilus_directory_background_is_desktop),
(theme_image_path_to_uri),
(nautilus_directory_background_get_default_settings),
(nautilus_gnome_config_string_match_no_case),
(nautilus_directory_background_read_desktop_settings),
(nautilus_directory_background_write_desktop_settings),
(nautilus_directory_background_write_desktop_default_settings),
(nautilus_directory_background_is_set),
(background_changed_callback), (directory_changed_callback),
(nautilus_directory_background_theme_changed),
(background_reset_callback),
(nautilus_connect_background_to_directory_metadata),
(nautilus_connect_desktop_background_to_directory_metadata):
* libnautilus-extensions/nautilus-directory-background.h:
* src/file-manager/fm-icon-view.c: (fm_icon_view_begin_loading):
2000-08-11 John Sullivan <sullivan@eazel.com>
Work on 2061 ("Show Properties" on desktop link files
should show properties of real volume).
This essentially works now, but I see some little
problems that I need to address before marking this
fixed. Also I haven't done anything about Trash, which
is definitely a whole can of worms of its own.
* libnautilus-extensions/nautilus-file.c:
(nautilus_file_rename): Move the check for self-owned
files after the check for new name & old name identical.
(nautilus_file_can_rename): Check for self-owned files
here too to match _rename.
* src/file-manager/fm-properties-window.c:
(get_and_ref_file_to_display): New function, determines
which file to actually display properties given the file
it's passed. Checks for NAUTILUS_LINK_HOME and NAUTILUS_LINK_MOUNT
type files.
(fm_properties_window_get_or_create): Call
get_and_ref_file_to_display instead of just using the passed file.
2000-08-11 Darin Adler <darin@eazel.com>
Fixed bug 1891 (calling set_title before report_load_underway has
no effect).
* libnautilus-extensions/nautilus-file.c: (destroy):
Fix a leak in the symbolic link target hash table.
* src/nautilus-application.c: (nautilus_application_startup),
(nautilus_application_create_desktop_window),
(nautilus_application_open_desktop),
(nautilus_application_close_desktop),
(nautilus_application_destroyed_window),
(nautilus_application_create_window):
Simplified the logic for creating and destroying the desktop
window a little bit and made it actually unref the desktop
window instead of just destroying it.
* src/nautilus-switchable-navigation-bar.c:
(nautilus_switchable_navigation_bar_initialize),
(nautilus_switchable_navigation_bar_set_mode),
(nautilus_switchable_navigation_bar_set_location):
Added missing code to send out the mode_changed signal and
took out a gratuitous FIXME.
* src/nautilus-view-frame.h:
* src/nautilus-view-frame.c:
(nautilus_view_frame_initialize_class),
(nautilus_view_frame_initialize), (nautilus_view_frame_destroy),
(set_up_for_new_location), (nautilus_view_frame_load_location),
(nautilus_view_frame_report_location_change),
(nautilus_view_frame_set_title), (nautilus_view_frame_get_title):
Changed it so the view frame keeps around the title as passed by
the view. It now emits a "title_changed" signal instead of a
"set_title" signal and you can get the title with a call to
nautilus_view_frame_get_title.
* src/nautilus-window.h:
* src/nautilus-window.c: (nautilus_window_title_changed_callback),
(nautilus_window_connect_view):
* src/nautilus-window-manage-views.h:
* src/nautilus-window-manage-views.c:
(nautilus_window_get_current_location_title),
(nautilus_window_update_title),
(nautilus_window_set_displayed_location),
(nautilus_window_title_changed), (handle_go_elsewhere),
(nautilus_window_has_really_changed),
(nautilus_window_update_state):
Manage the title in a simpler way now that the view frame keeps
the title around.
* src/nautilus-window-toolbars.c: (set_up_button): Fixed error
that would result in a call to gnome_stock_set_icon with NULL.
* RPMs-README: Fixed a typo.
2000-08-11 John Sullivan <sullivan@eazel.com>
Fixed bug 1743 (Deleting a file in search results should cause
list to update appropriately).
The fix for this involved fixing bugs in nautilus_file_is_in_trash
and making emblems behave more flexibly. We now have the ability
to exclude certain emblems when displaying a file, so that
the trash emblem shows up in search results but not regular
list view. A happy side effect of the way this works is that
the trash emblem now shows up in the sidebar for items (including
directories) that are anywhere in the trash.
* libnautilus-extensions/nautilus-file.h: Publicized names
of emblems NautilusFile adds based on file state, so that
file-displaying code could choose to exclude some of them.
This included changing their names to start with NAUTILUS_
* libnautilus-extensions/nautilus-file.c:
(compare_emblem_names): updated for emblem name changes.
(nautilus_file_get_emblem_names): updated for name changes.
Also, always include EMBLEM_NAME_TRASH for files in trash,
not just when the file is a search result. Soon we will be
able to eliminate nautilus_file_is_search_result entirely.
(nautilus_file_is_in_trash): Fixed several problems here.
Don't bother checking for NULL; use _get_uri not
_get_activation_uri so the test works at any point in the
life of a NautilusFile; free the uri string; initialize
trash_dir_uri so we don't try to unref an uninitialized
variable in some cases.
* libnautilus-extensions/nautilus-icon-factory.h,
* libnautilus-extensions/nautilus-icon-factory.c:
(nautilus_icon_factory_get_emblem_icons_for_file): Added
parameter for emblem names to exclude when creating icons.
* libnautilus-extensions/nautilus-string-list.c:
(nautilus_string_list_new_from_string_list),
(nautilus_string_list_free), (nautilus_string_list_contains):
Made these functions allow NULL, as GList does.
(nautilus_self_check_string_list): Added tests of NULL handling.
* src/file-manager/fm-directory-view.h:
(get_emblem_names_to_exclude): New function pointer for subclasses
to override.
(fm_directory_view_get_emblem_names_to_exclude): New function for
subclasses to call.
* src/file-manager/fm-directory-view.c:
(real_get_emblem_names_to_exclude): New function, returns list
containing NAUTILUS_FILE_EMBLEM_NAME_TRASH, so directory views by
default don't show the trash emblem.
(fm_directory_view_initialize_class): Wire up
get_emblem_names_to_exclude.
(fm_directory_view_get_emblem_names_to_exclude): New function,
returns result of possibly overridden function pointer.
* src/file-manager/fm-icon-view.c: (get_icon_images_callback):
Use fm_directory_view_get_emblem_names_to_exclude when getting
emblems for each icon.
* src/file-manager/fm-list-view.c:
(fm_list_view_get_emblem_pixbufs_for_file):
Use fm_directory_view_get_emblem_names_to_exclude when getting
emblems for each icon.
* src/file-manager/fm-search-list-view.c:
(fm_search_list_view_initialize_class): Override
get_emblem_names_to_exclude with our real_get_emblem_names_to_exclude.
(real_get_emblem_names_to_exclude): New function, returns NULL, so
all emblems including the trash emblem will be displayed.
* src/nautilus-sidebar-title.c: (update_emblems):
Pass NULL for emblems-to-exclude when getting emblems for sidebar.
2000-08-11 Darin Adler <darin@eazel.com>
* HACKING:
* README:
Misc. wording and clarity improvements.
There's still a lot missing.
2000-08-11 Mathieu Lacage <mathieu@eazel.com>
* HACKING: move most stuff in README. add hacking-related stuff.
* Makefile.am: fix the EXTRA_DIST target again. Should be fully working now.
* README: fill with non-garbage from HACKING.
2000-08-11 Darin Adler <darin@eazel.com>
* RPMs-README: 2nd draft.
2000-08-11 Mathieu Lacage <mathieu@eazel.com>
* Makefile.am: fix broken EXTRA_DIST.
* RPMs-README: add file for those who want to buld RPMs.
please, Darin, can you proofread it ?
2000-08-11 Gene Z. Ragan <gzr@eazel.com>
* libnautilus-extensions/nautilus-icon-container.c:
(icon_set_position), (lay_down_icons),
(nautilus_icon_container_initialize),
(nautilus_icon_container_set_layout_mode):
Removed layout code that was being designed for the desktop.
The desktop has no auto layout at the present.
(nautilus_icon_container_get_is_fixed_size),
(nautilus_icon_container_set_is_fixed_size):
New functions to set and get the icon containers
fixed size attribute. This attribute should be checked
whenever an operation that would change the size
of the container is called.
* src/file-manager/fm-desktop-icon-view.c:
(fm_desktop_icon_view_initialize):
Removed layout mode code.
2000-08-11 Ali Abdin <aliabdin@aucegypt.edu>
* components/help/converters/gnome-db2html2/gdb3html.h:
* components/help/converters/gnome-db2html2/sect-elements.c:
* components/help/converters/gnome-db2html2/sect-preparse.c:
* components/help/converters/gnome-db2html2/toc-elements.c:
Added glossaryinfo tag (to act like articleinfo/bookinfo)
* components/help/converters/gnome-db2html2/toc-elements.c:
(toc_title_start_element),
(toc_title_end_element):
I tried the GDP Hanbook - Didn't like how the table of contents came
out. So I tweaked it to further indent the sect3's and give them a
different HTML tag (H4)
* components/help/converters/gnome-db2html2/TODO:
Updated
* components/help/converters/gnome-db2html2/sect-elements.c:
(sect_write_characters) An aspect of this function got accidently
removed causing things to be output when they shouldn't. It took me
approximately half an hour to find this elusive problem (I may never
have found it had it not been for an old copy of gnome-db2html2 lying
around)
2000-08-11 Maciej Stachowiak <mjs@eazel.com>
* src/nautilus-applicable-views.c,
src/nautilus-applicable-views.h, src/nautilus-application.c,
src/nautilus-application.h, src/nautilus-bookmark-list.c,
src/nautilus-bookmark-list.h, src/nautilus-bookmark-parsing.c,
src/nautilus-bookmark-parsing.h, src/nautilus-bookmarks-window.c,
src/nautilus-bookmarks-window.h,
src/nautilus-complex-search-bar.c,
src/nautilus-complex-search-bar.h, src/nautilus-desktop-window.c,
src/nautilus-desktop-window.h, src/nautilus-first-time-druid.c,
src/nautilus-first-time-druid.h, src/nautilus-history-frame.c,
src/nautilus-history-frame.h, src/nautilus-link-set-window.c,
src/nautilus-link-set-window.h, src/nautilus-location-bar.c,
src/nautilus-location-bar.h, src/nautilus-main.c,
src/nautilus-navigation-bar.c, src/nautilus-navigation-bar.h,
src/nautilus-property-browser.c, src/nautilus-property-browser.h,
src/nautilus-search-bar-private.h, src/nautilus-search-bar.c,
src/nautilus-search-bar.h, src/nautilus-self-check-functions.c,
src/nautilus-self-check-functions.h, src/nautilus-shell.c,
src/nautilus-shell.h, src/nautilus-sidebar-tabs.c,
src/nautilus-sidebar-tabs.h, src/nautilus-sidebar-title.c,
src/nautilus-sidebar-title.h, src/nautilus-sidebar.c,
src/nautilus-sidebar.h, src/nautilus-signaller.c,
src/nautilus-signaller.h, src/nautilus-simple-search-bar.c,
src/nautilus-simple-search-bar.h,
src/nautilus-switchable-navigation-bar.c,
src/nautilus-switchable-navigation-bar.h,
src/nautilus-switchable-search-bar.c,
src/nautilus-switchable-search-bar.h, src/nautilus-toolbar.c,
src/nautilus-toolbar.h, src/nautilus-view-frame-bonobo-control.c,
src/nautilus-view-frame-bonobo-embeddable.c,
src/nautilus-view-frame-corba.c,
src/nautilus-view-frame-nautilus-view.c,
src/nautilus-view-frame-private.h,
src/nautilus-view-frame.c,src/nautilus-view-frame.h,
src/nautilus-window-manage-views.c,
src/nautilus-window-manage-views.h, src/nautilus-window-menus.c,
src/nautilus-window-private.h, src/nautilus-window-toolbars.c,
src/nautilus-window.c, src/nautilus-window.h,
src/nautilus-zoom-control.c, src/nautilus-zoom-control.h,
src/nautilus-zoomable-frame-corba.c: Made copyright headers
consistent in style; also made sure to refer to Nautilus as
Nautilus, not "this library" or "The GNOME Library".
2000-08-11 Maciej Stachowiak <mjs@eazel.com>
Fixes for bugzilla tasks 1525 and 1530.
* components/tree/nautilus-tree-expansion-state.h,
components/tree/nautilus-tree-expansion-state.c: New files
implementing the NautilusTreeExpansionState class, a class to
track the expansion state of various nodes in the tree, and
save/load it to/from GConf.
* components/tree/nautilus-tree-model.h,
components/tree/nautilus-tree-model.c
(nautilus_tree_model_stop_monitoring_node_recursive): New function
to stop monitoring a node and any children of it's that you may be
monitoring all at one go.
(nautilus_tree_model_stop_monitoring_node): Disconnect signal
handlers from the proper object (D'oh!) and avoid disconnecting
more than once if you stop monitoring more than once (D'oh!).
* components/tree/nautilus-tree-view.c:
(nautilus_tree_view_insert_model_node,
nautilus_tree_view_remove_model_node,
nautilus_tree_view_update_model_node),
nautilus_tree_view_initialize, nautilus_tree_view_destroy,
tree_expand_callback, tree_collapse_callback): Track expansion
state using the new class, and make sure that when a node is
expanded it gets reloaded recursively.
(ctree_is_node_expanded): Convenience function to check if a
GtkCTreeNode is currenly expanded.
(reload_node_for_uri): New function to force reload of a node.
(expand_node_for_uri): New function to do everything necessary
associated with the expansion of a node.
* libnautilus-extensions/nautilus-glib-extensions.h,
libnautilus-extensions/nautilus-glib-extensions.c:
(nautilus_g_slist_free_deep_custom, nautilus_g_slist_free_deep):
New functions for freeing GSLists, similar to the GList versions.
* libnautilus-extensions/nautilus-preferences.h,
libnautilus-extensions/nautilus-preferences.c
(nautilus_preferences_set_string_list,
nautilus_preferences_get_string_list): New functions for
manipulating preferences that are a list of strings.
* libnautilus-extensions/nautilus-volume-monitor.c
(mntent_is_removable_fs): Added some FIXMEs
* src/nautilus-view-frame.c: Remove a stary character from the
copyright notice.
2000-08-10 Mathieu Lacage <mathieu@eazel.com>
* HACKING: update it for upcoming release.
To be backported.
2000-08-10 Eskil Heyn Olsen <eskil@eazel.com>
* components/rpmview/nautilus-rpm-view-install.c:
(nautilus_rpm_view_install_done):
Use unref instead of destroy in eazelinstallcorbacallback
* components/services/install/command-line/eazel-alt-install-corba.c:
(set_parameters_from_command_line), (main):
Defaults to ham.eazel.com:8888 instead of testmachine.eazel.com:80
now.
Also added reversion support
* components/services/install/command-line/eazel-package-query.c:
(main):
use the unref instead of destroy
* components/services/install/command-line/eazel-revert.c: (main):
Fixed the --port arg
use unref instead of destroy
* components/services/install/command-line/eazel-uninstall.c:
(main):
use unref instead of destroy
* components/services/install/lib/eazel-install-corba-callback.h:
* components/services/install/lib/eazel-install-corba-callback.c:
(eazel_install_callback_unref), (eazel_install_callback_finalize),
(eazel_install_callback_class_initialize):
A unref instead of destroy
* components/services/install/lib/eazel-install-corba-types.c:
(packagedata_from_corba_packagedatastruct):
Fixed for the new get_distribution_enum
* components/services/install/lib/eazel-install-public.h:
* components/services/install/lib/eazel-install-object.c:
(eazel_install_unref), (eazel_install_finalize),
(eazel_install_class_initialize):
A unref instead of a destroy
* components/services/install/lib/eazel-install-private.h:
A boolean to indicate that the subcommand is running
* components/services/install/lib/eazel-install-protocols.c:
(eazel_install_fetch_package), (get_url_for_package),
(get_search_url_for_package):
Stuff to call the new OSD xml parsing. Plus some logic to check
for a existing file. (used when EI_PROT_USE_NEW_CGI is set)
Proper transfer of distro name (bug 1333)
* components/services/install/lib/eazel-install-rpm-glue.c:
(install_all_packages), (uninstall_all_packages),
(eazel_install_do_transaction_fill_hash),
(eazel_install_do_transaction_get_total_size),
(eazel_install_do_transaction_add_to_transaction),
(eazel_install_start_transaction_make_rpm_argument_list),
(eazel_install_start_transaction_make_argument_list),
(eazel_install_do_transaction_save_report_helper),
(eazel_install_do_transaction_save_report),
(eazel_install_monitor_rpm_propcess_pipe),
(eazel_install_monitor_process_pipe),
(eazel_install_display_arguments),
(eazel_install_monitor_subcommand_pipe),
(eazel_install_start_transaction):
Lot of renaming & some slashing to accomodate other package
systems then rpm.
New pipe parser for rpm -hv args, since --percent proved useless.
* components/services/install/lib/eazel-install-xml-package-list.h:
* components/services/install/lib/eazel-install-xml-package-list.c:
(osd_parse_implementation), (osd_parse_softpkg),
(osd_parse_shared), (parse_osd_xml_from_memory):
Implemented parsing of the OSD xml.
* components/services/install/nautilus-view/nautilus-service-install.
c: (nautilus_service_install_done):
Use the unref instead of destroy
* components/services/trilobite/libtrilobite/trilobite-core-distribut
ion.h:
* components/services/trilobite/libtrilobite/trilobite-core-distribut
ion.c: (trilobite_get_distribution_enum_compact),
(trilobite_get_distribution_enum_verbose),
(trilobite_get_distribution_enum):
Changed get_distro_enum to parse compact names.
* nautilus-installer/src/callbacks.c: (begin_install),
(prep_install):
* nautilus-installer/src/callbacks.h:
* nautilus-installer/src/installer.c: (eazel_install_progress),
(eazel_download_progress), (download_failed),
(eazel_install_preflight), (installer):
* nautilus-installer/src/interface.c: (create_what_to_do_page),
(create_install_page), (create_finish_page), (create_window):
* nautilus-installer/src/main.c:
* nautilus-installer/src/prescript:
Some reslashing of the installer
* po/da.po:
Came across some missing translations
2000-08-10 John Sullivan <sullivan@eazel.com>
I accidentally committed before writing ChangeLog (wrong
directory). So I'm reconstructing the changes I checked in
a short while ago with no ChangeLog entry.
Fixed 2075: (use NautilusFile objects for actual files,
not symbolic links, in search interface).
As a happy side effect, this fixed 2027 (thumbnails do not
display in search results)
* src/file-manager/fm-directory-view.h,
* src/file-manager/fm-directory-view.c:
(fm_directory_queue_notice_file_change): New function for
subclasses to call when they want to put a file into the
changed-files queue (which they usually don't need to since
for the normal case the superclass handles this stuff)
* src/file-manager/fm-icon-view.c: accidental white space
change only
* src/file-manager/fm-list-view.h:
(adding_file), (removing_file), (file_still_belongs):
New function pointers for subclasses to optionally override.
* src/file-manager/fm-list-view.c:
(fm_list_view_adding_file): New function, called on each file
as it is added to the NautilusList; calls overridable function
pointer.
(fm_list_view_removing_file): New function, called on each file
as it is removed from the NautilusList; calls overridable function
pointer.
(fm_list_view_file_still_belongs): New function, asks whether changed
file that was in list should be put back in; calls overridable function
pointer.
(real_adding_file): New function, refs file
(real_removing_file): New function, unrefs file
(real_file_still_belongs): New function, checks that file is still in
this directory
(fm_list_view_initialize_class): wire up these new function pointers
to their new "real_" implementations
(add_to_list): call fm_list_view_adding_file instead of just reffing
(fm_list_view_clear), (remove_from_list): call fm_list_view_removing_file
instead of just unreffing; also, remove_from_list now returns a
boolean for whether the item had been in the list.
(fm_list_view_file_changed): Only re-insert the file if it had been
in the list and fm_list_view_file_still_belongs is true.
* src/file-manager/fm-search-list-view.c:
(fm_search_list_view_initialize_class): wire up all the new overridden
function pointers
(real_add_file): overridden to get the real file that the funky
search virtual file refers to, and put the real one in the list view
(real_adding_file): overridden to start monitoring the file since
the directory doesn't do it for us in this case
(real_removing_file): overridden to stop monitoring the file
(real_file_still_belongs): overridden to return TRUE as long as
the file still exists
* libnautilus-extensions/nautilus-file.c:
* libnautilus-extensions/nautilus-file.h:
Reverted all of rebecka's recent changes that made opening a
file in the search list show the real file. This behavior just works
automatically with no special code in the new design. But it turns
out I didn't actually need to remove the code to make the new design
work, because it never would have been called. There's still some
even older nautilus-search-result-specific code in here that might
be completely obsolete now.
2000-08-10 Andy Hertzfeld <andy@eazel.com>
added a text color paramter to nautilus_gdk_pixbuf_draw_text,
as part of making the sidebar tabs use anti-aliased text, which
will be checked in soon.
* libnautilus-extensions/nautilus-gdk-pixbuf-extensions.h:
added a text color parameter to nautilus_gdk_pixbuf_draw_text
* libnautilus-extensions/nautilus-gdk-pixbuf-extensions.c:
(nautilus_gdk_pixbuf_draw_text):
set up the text color in the gc before drawing the text
* libnautilus-extensions/nautilus-icon-factory.c: (embed_text):
added a black text color parameter in the call to draw_text
* libnautilus-extensions/nautilus-image.c:
(nautilus_image_size_allocate):
added a black text color parameter in the call to draw_text
2000-08-10 Arlo Rose <arlo@eazel.com>
* icons/arlo/arlo.xml:
Fixed a bad file name
2000-08-10 Darin Adler <darin@eazel.com>
Fixed bug 2081 (crash changing themes). The problem was that
the code to unregister the preference callback was doing it
with the wrong callback data.
* src/nautilus-window-private.h:
* src/nautilus-window-toolbars.c: (set_up_button),
(set_up_toolbar_images), (set_up_toolbar_images_callback),
(nautilus_window_initialize_toolbars),
(nautilus_window_toolbar_remove_theme_callback):
* src/nautilus-window.c: (nautilus_window_destroy):
Unregister the preference callback properly. This required passing
in the window pointer.
2000-08-10 Rebecca Schulman <rebecka@eazel.com>
Fixed bug 2072, to make the size search field
have an entry where the user can enter the
number of "K" they want.
* libnautilus-extensions/nautilus-search-bar-criterion-private.h:
added field to include labels after the entry in a search
criterion, if needed
* libnautilus-extensions/nautilus-search-bar-criterion.c:
(nautilus_search_bar_criterion_new_from_values),
(nautilus_search_bar_criterion_next_new),
(nautilus_search_bar_criterion_first_new), (get_size_location_for):
use suffix to create new criteria now, and parse
the size entry's text to mean K, rather than bytes.
* src/nautilus-complex-search-bar.c:
(attach_criterion_to_search_bar):
attach the suffix as part of the value entry, if it exists.
2000-08-10 Ali Abdin <aliabdin@aucegypt.edu>
* components/help/converters/gnome-db2html2/gdb3html.h:
* components/help/converters/gnome-db2html2/sect-elements.c:
Add support for the acronym tag
2000-08-10 Andy Hertzfeld <andy@eazel.com>
* src/nautilus-zoom-control.c: (create_zoom_menu_item),
(create_zoom_menu):
made the context menu in the zoom control put a check mark
on the currently selected zoom level
2000-08-10 Darin Adler <darin@eazel.com>
* libnautilus-extensions/Makefile.am:
* libnautilus-extensions/nautilus-directory-notify.h:
* libnautilus-extensions/nautilus-directory-private.h:
* libnautilus-extensions/nautilus-file-changes-queue.c:
* libnautilus-extensions/nautilus-link.c:
* libnautilus-extensions/nautilus-volume-monitor.c:
Moved the notify calls to a separate header, since people were
using them as an excuse to peek at NautilusDirectory's privates.
* libnautilus-extensions/nautilus-directory.c:
(nautilus_directory_get_internal), (nautilus_directory_get),
(nautilus_directory_get_existing): Cleaned up API so that
internal code can get a directory without creating one.
(get_parent_directory_if_exists): Used new API to cut down
code a bit.
(nautilus_directory_notify_files_removed),
(nautilus_directory_notify_files_moved): Always create a
NautilusFile object. This results in a bit more work, but is
more compatible with the 1/2 done symbolic link change notify
work.
* libnautilus-extensions/nautilus-file.c:
(nautilus_file_get_internal): Don't create a new directory if
being called in the mode where we don't create a new file.
(update_link), (get_link_files),
(update_links_if_target), (nautilus_file_update_info),
(nautilus_file_mark_gone), (nautilus_file_emit_changed):
More work on notifying links about changes to the target file.
This isn't quite working and isn't required so I'll get back to it
later. At the moment it is not doing any harm.
2000-08-10 Maciej Stachowiak <mjs@eazel.com>
* docs/state-machines.txt: a start on some design work for sane
state machines that actually cover all the cases.
2000-08-10 Andy Hertzfeld <andy@eazel.com>
* icons/backgrounds.png:
* icons/colors.png:
* icons/emblems.png:
* icons/themes.png:
updated images from Susan
2000-08-10 Ali Abdin <aliabdin@aucegypt.edu>
* components/help/converters/gnome-db2html2/gdb3html.h:
* components/help/converters/gnome-db2html2/sect-elements.c:
Added the following tags to enable preliminary table support:
row, entry, table, informaltable, thead, tbody
* components/help/converters/gnome-db2html2/sect-elements.c:
* components/help/converters/gnome-db2html2/sect-elements.h:
(sect_table_start_element), (sect_table_end_element),
(sect_informaltable_start_element), (sect_row_start_element),
(sect_row_end_element), (sect_entry_start_element),
(sect_entry_end_element), (sect_thead_start_element),
(sect_thead_end_element), (sect_tbody_start_element),
(sect_tbody_end_element), (sect_informaltable_end_element):
New functions for the new tags that were added for table support. This
is based on a patch provided by John Fleck (jfleck@inkstain.net)
(sect_title_start_element),
(sect_title_end_element),
(sect_title_characters): Handle title's within table's
(sect_print): Some formatting fixes and free a GSList (plugs a memory
leak).
(sect_write_characters): Add a case for the <ENTRY> tag so if it is
a null character to print a (doesn't work right now)
* components/help/converters/gnome-db2html2/TODO:
Modify the TODO item about tables (it just needs testing)
2000-08-10 Maciej Stachowiak <mjs@eazel.com>
* components/mozilla/nautilus-mozilla-content-view.c
(mozilla_uris_differ_only_by_fragment_identifier,
mozilla_location_changed_callback): Send fake load underway and
load done messages to Nautilus when the new URI differs from the
previous only by the fragment identifier (indicating that all we
did was change anchors). This allows URI references w/ fragment
identifiers to be displayed in the location bar properly.
2000-08-09 Mathieu Lacage <mathieu@eazel.com>
* src/file-manager/fm-search-list-view.c: (load_location_callback),
(fm_search_list_view_initialize), (real_update_menus): fix the search
title notification code. Depends on bug 1891 now.
2000-08-09 Gene Z. Ragan <gzr@eazel.com>
* src/file-manager/fm-desktop-icon-view.c:
(fm_desktop_icon_view_initialize):
Fixed assertion failure case by casting the wrong
view to a NautilusIconContainer.
2000-08-09 Robin * Slomkowski <rslomkow@eazel.com>
* nautilus.spec.in: updated files
2000-08-09 Andy Hertzfeld <andy@eazel.com>
* src/nautilus-first-time-druid.c: (druid_finished),
(set_up_service_signup_page), (nautilus_first_time_druid_show):
added a fourth alternative to the services page of the druid,
for users who are already registered and want to log in.
2000-08-09 Andy Hertzfeld <andy@eazel.com>
* data/static_bookmarks.xml:
added a new set of built-in bookmarks from Brian Frank.
2000-08-09 John Sullivan <sullivan@eazel.com>
Work on 1750 (add Reveal command to show search result in
its "real" directory). I wired up the menu items, but they
don't do anything yet.
* src/file-manager/fm-directory-view.c: (compute_menu_item_info):
Noticed that a g_strdup_printf should have been just a g_strdup
* src/file-manager/fm-search-list-view.c:
(fm_search_list_view_initialize_class): connect up functions for
menu-merging stuff.
(compute_reveal_item_name_and_sensitivity): New function, determine
Reveal menu item title & sensitivity based on selection.
(real_create_selection_context_menu_items): Put Reveal menu item
in selection context menu.
(real_merge_menus): Put Reveal menu item in File menu
(real_update_menus): Update state of Reveal menu item in File menu
2000-08-09 Pavel Cisler <pavel@eazel.com>
* src/file-manager/fm-directory-view.c:
(fm_directory_view_initialize):
John helped me fix a crasher in trash empty state notification --
signals were being delivered to nonexistent objects, used
gtk_signal_connect_while_alive instead to fix things.
2000-08-09 Gene Z. Ragan <gzr@eazel.com>
* libnautilus-extensions/nautilus-file.c:
* libnautilus-extensions/nautilus-file.h:
(nautilus_file_is_nautilus_link):
Added new API to identify file as nautilus link.
* libnautilus-extensions/nautilus-directory-async.c:
(start_getting_activation_uris):
Call nautilus_file_is_nautilus_link and remove obsolete
call to nautilus_link_is_link_file.
* libnautilus-extensions/nautilus-icon-factory.c:
(nautilus_icon_factory_get_icon_for_file):
Call nautilus_file_is_nautilus_link and remove obsolete
call to nautilus_link_is_link_file.
* libnautilus-extensions/nautilus-link.c:
* libnautilus-extensions/nautilus-link.h:
(nautilus_link_get_link_type):
New function that returns the type of link that the
link represents. Examples are home, trash and mount point.
* libnautilus-extensions/nautilus-volume-monitor.c:
(mount_device_mount), (mount_device_activate_cdrom), (eject_cdrom),
(mount_device_check_change), (add_mount_device),
(nautilus_volume_monitor_find_mount_devices), (remove_mount_link),
(nautilus_volume_monitor_is_volume_link):
Remove annoying debug code.
* src/file-manager/fm-desktop-icon-view.c:
(remove_old_mount_links):
Fixed link celanup code to use new API.
* src/file-manager/fm-icon-view.c: (get_icon_text_callback):
Call nautilus_file_is_nautilus_link and remove obsolete
call to nautilus_link_is_link_file.
2000-08-09 Rebecca Schulman <rebecka@eazel.com>
Fixed bug 1843, so that search results are activated
as themselves.
* libnautilus-extensions/nautilus-file.c:
* libnautilus-extensions/nautilus-file.h:
(nautilus_file_get_real_parent_uri_as_string),
(nautilus_file_get_real_file),
(nautilus_file_get_real_parent_directory),
(nautilus_file_compare_by_real_directory),
(nautilus_file_get_string_attribute),
(nautilus_file_is_search_result), (nautilus_file_get_real_uri),
(nautilus_file_get_real_directory_name), (nautilus_file_mark_gone),
(nautilus_file_changed), (nautilus_file_check_if_ready),
(nautilus_file_call_when_ready),
(nautilus_file_cancel_call_when_ready):
added special checks to get the real file and directory,
and call them appropriately before opening a file.
renamed the nautilus_file_get_real_directory function to
nautilus_file_get_real_directory_name, and
made it private.
* libnautilus-extensions/nautilus-search-bar-criterion.h:
* libnautilus-extensions/nautilus-search-bar-criterion.c:
(nautilus_search_bar_criterion_human_from_uri),
(get_name_location_for):
fixed a starts_with that should have been "begins_with"
* src/file-manager/fm-directory-view.c:
(fm_directory_view_display_selection_info):
moved a misplaced function comment
* src/nautilus-switchable-navigation-bar.c:
(nautilus_switchable_navigation_bar_set_location):
added signalling to change to the search and location
bar appropriately with each location change
2000-08-09 Darin Adler <darin@eazel.com>
After this change, you will get a warning each time you exit
unless you get the new Bonobo with my destroy-notify bug fix.
Fixed the "metafile read fails" bug. Fixed a bunch of memory
leaks that I found because I added a new function to get rid
of hash tables at quit time and there's a hash table with all
the NautilusDirectory objects in there. I'm only 1/2 done
with what I'm working on, but people need the "read fails"
bug fix.
* components/help/help-method.c: (escape_for_shell),
(help_uri_to_string): Improve code that constructs URIs so it
doesn't to excessive escaping.
* libnautilus-extensions/nautilus-directory-async.c:
(metafile_read_failed): Fixed a bug that caused it to fail to
read "public" metafiles.
(new_files_callback): Redid the fix for "NULL names" to check
the result from the call instead of checking the name for NULL.
* libnautilus-extensions/nautilus-directory-background.c:
(nautilus_connect_background_to_directory_metadata):
Got rid of the dummy callback so the NautilusDirectory code
knows that only the metadata needs to be monitored.
* libnautilus-extensions/nautilus-directory.c:
(nautilus_directory_get): Got rid of silly ref and sink code.
We don't use the floating feature, so we should just ignore it.
Use the new function that creates a hash table that should be
empty and freed on exit. This helps us detect leaks.
(nautilus_directory_file_monitor_add): Got rid of incorrect
code that would reject a caller that didn't supply a callback.
Callers might want to monitor metadata only, not files.
* libnautilus-extensions/nautilus-file.c:
(nautilus_file_new_from_name): Got rid of silly ref and sink code.
We don't use the floating feature, so we should just ignore it.
(modify_link_hash_table), (add_to_link_hash_table_list),
(add_to_link_hash_table), (remove_from_link_hash_table_list),
(remove_from_link_hash_table): Maintain a hash table to map from
a URI to links to that URI.
(nautilus_file_new_from_info): Got rid of silly ref and sink code.
We don't use the floating feature, so we should just ignore it.
To share more code, call nautilus_file_update_info as part of
the implementation here.
(nautilus_file_update_info): Maintain the hash table entries as
the symlink_name field changes.
* libnautilus-extensions/nautilus-glib-extensions.h:
* libnautilus-extensions/nautilus-glib-extensions.c:
(free_hash_tables_at_exit),
(nautilus_g_hash_table_new_free_at_exit):
Added new function to create a hash table that should be empty on
exit, check that is is empty, and free it at exit time.
* libnautilus-extensions/nautilus-global-preferences.c:
Got rid of some function-pointer casting.
* libnautilus-extensions/nautilus-icon-container.h:
* libnautilus-extensions/nautilus-icon-container.c:
(call_icon_callback), (nautilus_icon_container_for_each):
Added a new call to iterate all the icons in the container.
Needed so we can unref all the files when we empty it.
* libnautilus-extensions/nautilus-glib-extensions.h:
* libnautilus-extensions/nautilus-mime-actions.c:
(nautilus_mime_get_short_list_applications_for_uri),
(nautilus_mime_get_short_list_components_for_uri):
Updated for name change: NautilusGPredicateFunc ->
NautilusPredicateFunction.
* src/file-manager/fm-directory-view.c:
(fm_directory_view_destroy), (done_loading):
Added code to stop and clear when destroying the directory view.
* src/file-manager/fm-icon-view.c: (unref_cover),
(fm_icon_view_clear): Added code to get rid of the refs on all
the files when the icon view is cleared.
* src/file-manager/fm-list-view.c: (fm_list_view_clear): Added
code to get rid of the refs on all the files when the icon view is
cleared.
* src/file-manager/nautilus-trash-monitor.h:
* src/file-manager/nautilus-trash-monitor.c:
(nautilus_trash_monitor_initialize_class), (destroy),
(unref_trash_monitor), (nautilus_trash_monitor_get),
(nautilus_trash_monitor_is_empty):
Added code to destroy the trash monitor on exit.
* src/nautilus-bookmark-list.c:
(nautilus_bookmark_list_initialize_class), (stop_monitoring_one),
(clear), (destroy), (nautilus_bookmark_list_load_file): Added code
to clear out the list at destroy time the same way we already did
before loading a file.
* src/nautilus-window-menus.c: (free_bookmark_list),
(get_bookmark_list): Add code to free the global bookmark list
on exit to help with leak checking.
(refresh_go_menu): Changed to use GList instead of GSList.
* src/nautilus-window-private.h:
* src/nautilus-window.c: (nautilus_window_destroy):
Unref the current_location_bookmark and last_location_bookmark
to fix a leak.
(free_history_list), (nautilus_add_to_history_list): Free the
history list at exit time to make it easier to spot leaks.
(nautilus_window_get_history_list_callback): Change the history
list to be a GList instead of GSList.
2000-08-09 John Sullivan <sullivan@eazel.com>
Finished bug 1753 (search results should start out sorted
by search criteria). Now we can decide whether we actually
like this UI or not.
* libnautilus-extensions/nautilus-search-bar-criterion.h:
* libnautilus-extensions/nautilus-search-bar-criterion.c:
(nautilus_search_uri_get_first_criterion): New function, returns
name of first criterion in search.
* src/file-manager/fm-search-list-view.c:
(get_sort_attribute_from_search_criterion): New function, maps
between search criteria names and file attribute names.
(real_get_default_sort_attribute): Use this new function to
determine which file attribute name to sort by. Uses "name"
by default if there's no column matching the sort criteria
(e.g. "content").
2000-08-09 Andy Hertzfeld <andy@eazel.com>
* src/nautilus-sidebar-tabs.c: (nautilus_sidebar_tabs_hit_test),
(measure_total_height), (recalculate_size),
(nautilus_sidebar_tabs_size_allocate),
(nautilus_sidebar_tabs_size_request):
fixed bug in measuring tab heights for themed tabs
2000-08-09 John Sullivan <sullivan@eazel.com>
* src/nautilus-first-time-druid.c:
(set_up_service_signup_page): Fixed typo in first-time
druid text that Susan Space wanted for the demo.
2000-08-09 Maciej Stachowiak <mjs@eazel.com>
* components/tree/nautilus-tree-expansion-state.c,
components/tree/nautilus-tree-expansion-state.h: Skeleton of a
class to help me manage the expansion state.
* components/tree/Makefile.am: Added it to the build.
2000-08-09 John Sullivan <sullivan@eazel.com>
A little more work towards bug 1753 (search results should
start out sorted by search criteria) and a bug fix.
* libnautilus-extensions/nautilus-search-bar-criterion.h:
Make #define constants for the criteria parts of search URIs
(e.g. "file_name", "size", "content", etc.)
* libnautilus-extensions/nautilus-search-bar-criterion.c:
(get_name_location_for), (get_content_location_for),
(get_file_type_location_for), (get_size_location_for),
(get_emblem_location_for), (get_date_modified_location_for),
(get_owner_location_for): Use these constants when creating
the URI used by complex search bar.
* src/nautilus-simple-search-bar.c:
(nautilus_simple_search_criteria_to_search_uri):
Use these constants when creating the URI used by simple
search bar. Also added a FIXME about how the simple search
bar should be sharing the URI-generation code of the
complex search bar.
* src/nautilus-complex-search-bar.c: (criterion_callback):
Update sensitivity of "Find" button when user chooses
different criterion from menu. This fixes bug where switching
from an empty text-type value to a menu-type value would leave
the "Find" button insensitive.
2000-08-09 Andy Hertzfeld <andy@eazel.com>
* src/nautilus-sidebar-tabs.c: (nautilus_sidebar_tabs_hit_test),
(recalculate_size), (nautilus_sidebar_tabs_size_allocate),
(nautilus_sidebar_tabs_size_request), (draw_one_tab_plain),
(draw_one_tab_themed), (draw_or_layout_all_tabs),
(nautilus_sidebar_tabs_expose):
revamped how hit-testing works for the sidebar tabs; now that tabItem
structure contains a rectangle maintained by the drawing routines.
This fixed a number of sidebar tab bugs, especially in the
themed tabs.
2000-08-09 Ramiro Estrugo <ramiro@eazel.com>
Make Nautilus tolerant to window titles and component geometries
that are too huge to be usable.
* libnautilus-extensions/nautilus-string.c:
(nautilus_str_middle_truncate), (nautilus_self_check_string):
* libnautilus-extensions/nautilus-string.h:
New function for truncating strings in the middle.
* src/nautilus-window-manage-views.c:
(nautilus_window_update_title_internal):
Truncate titles to something reasonable to avoid the window
manager from making the window too huge to be usable.
* src/nautilus-window.c: (nautilus_window_initialize_class),
(nautilus_window_realize), (nautilus_window_size_request):
Limit the window geometry requisition to within the avaialble
screen real state.
2000-08-09 Pavel Cisler <pavel@eazel.com>
* libnautilus-extensions/nautilus-file.c:
(nautilus_file_is_in_trash):
* src/file-manager/dfos-xfer.c: (fs_xfer), (fs_move_to_trash),
(fs_empty_trash):
* src/file-manager/fm-directory-view.c: (fm_directory_is_trash),
(fm_directory_can_move_to_trash):
* src/file-manager/nautilus-trash-monitor.c:
(nautilus_trash_monitor_initialize):
* src/nautilus-desktop-window.c: (nautilus_desktop_window_new):
Support new find_if_needed parameter of gnome_vfs_find_directory.
2000-08-09 Ramiro Estrugo <ramiro@eazel.com>
* components/mozilla/nautilus-mozilla-content-view.c:
I accidentally left debuging noise on.
2000-08-09 Gene Z. Ragan <gzr@eazel.com>
* libnautilus-extensions/nautilus-link.c: (nautilus_link_create),
(nautilus_link_set_icon), (nautilus_link_set_type):
Added ability to set the type of a NautilusLink, such as
mount link, trash link, home link, etc.
* libnautilus-extensions/nautilus-volume-monitor.c:
(mount_device_mount), (nautilus_volume_monitor_is_volume_link):
Specify that link is a mount link.
* src/file-manager/fm-desktop-icon-view.c: (place_home_directory):
Specify that link is a home link.
* src/nautilus-desktop-window.c: (nautilus_desktop_window_new):
Specify that trash is a trash link.
2000-08-09 Ramiro Estrugo <ramiro@eazel.com>
Add support for Mozilla m17.
* configure.in:
Add some artificial intelligence to detect whether the mozilla
we are using is m17.
* components/mozilla/Makefile.am:
Define the mozilla milestone version.
* components/mozilla/nautilus-mozilla-content-view.c:
(nautilus_mozilla_content_view_initialize),
(debug_print_state_flags), (debug_print_status_flags),
(mozilla_net_state_callback), (mozilla_net_status_callback),
(mozilla_progress_callback):
Update for changes in the mozilla embedding api. Also, simplify
the status/state flag debugging stuff a bit.
Tue Aug 08 23:23:50 2000 George Lebl <jirka@5z.com>
* libnautilus-extensions/nautilus-mime-actions.c
(nautilus_mime_get_default_application_fo)
(nautilus_mime_get_short_list_application)
(nautilus_mime_get_all_applications_for_u):
Use the new application registry api. Also remove the hack for
"merging" (bug 1268) the application with short list as this
should now be not necessary because of the application registry.
* src/nautilus-sidebar.c (command_button_callback):
Use the new application registry api and check for NULL
return from get_mime_application just for sanity's sake.
2000-08-08 Andy Hertzfeld <andy@eazel.com>
* libnautilus-extensions/nautilus-icon-container.c:
(update_label_color):
removed a debugging statement I inadvertently left in yesterday.
2000-08-08 Arlo Rose <arlo@eazel.com>
* icons/arlo/arlo.xml:
Added new hex values for the selection rectangle.
2000-08-08 Robin * Slomkowski <rslomkow@eazel.com>
* libnautilus-extensions/Makefile.am: forgotten headers
2000-08-08 John Sullivan <sullivan@eazel.com>
Did part of the work for bug 1753 (search view should start out
sorted by search criteria). We're still not sure if this is a
good UI, but I'll make it possible for us to try it out if it
isn't too much more work.
* src/file-manager/fm-directory-view.c: Added a FIXME comment
* src/file-manager/fm-list-view.h: Added get_default_sort_attribute
function pointer.
* src/file-manager/fm-list-view.c:
(fm_list_view_initialize_class): Wired up default_sort_attribute
function pointer.
(fm_list_view_begin_loading): use get_default_sort_attribute ()
instead of string constant.
(get_default_sort_attribute): Dispatch to possibly overridden
function pointer.
(real_get_default_sort_attribute): return "name" (dupe, actually)
* src/file-manager/fm-search-list-view.c:
(fm_search_list_view_initialize_class): Wired up
get_default_sort_attribute function pointer
(real_get_default_sort_attribute): return "name" (dupe, actually).
This gives us the place to decide which attribute to start out
sorted by. To choose the attribute, we need to define a mapping
between the search URI and one of the column attributes. I'm
waiting on this part until mathieu gets farther along with the
search-URI-to-human-readable-string code, which I hope to
leverage.
2000-08-08 Andy Hertzfeld <andy@eazel.com>
* src/nautilus-sidebar-tabs.c: (nautilus_sidebar_tabs_initialize),
(nautilus_sidebar_tabs_destroy), (get_tab_width),
(draw_or_hit_test_all_tabs):
fixed lots of problems with the arlo-themed sidebar tabs, as well as
fixing the tab wrapping for the non-arlo ones as well.
* libnautilus-extensions/nautilus-icon-container.c:
(start_rubberbanding):
implemented Carbamide's suggestion of specifying the select box
color in the theme.
* icons/arlo/arlo.xml:
changed the arlo theme to use a custom select box color, although
Arlo will probably pick a better one soon.
2000-08-08 Ali Abdin <aliabdin@aucegypt.edu>
* components/help/converters/gnome-db2html2/gdb3html.c:
(get_entity): Change a 'gchar' to a 'char'
* components/help/converters/gnome-db2html2/sect-elements.c:
(sect_menu_start_element): Remove inadvertant comments
* components/help/converters/gnome-db2html2/sect-elements.[ch]:
(sect_interface_start_element),
(sect_interface_end_element): Remove these functions. They were only
providing CSS tags, but we only provide HTML tags :)
* components/help/html/help-method.c:
(transform_file) Try a file with an '.xml' extension (for Docbook XML)
2000-08-08 Pavel Cisler <pavel@eazel.com>
* libnautilus-extensions/nautilus-file.c:
* libnautilus-extensions/nautilus-file.h:
Fix FIXME 1887 - deleting files is now handled separately,
get rid of the old version that used a synch gnome vfs call.
2000-08-08 John Sullivan <sullivan@eazel.com>
* src/file-manager/fm-directory-view.c:
(fm_directory_view_real_create_selection_context_menu_items):
Make the context menu choose between "Move to Trash" and
"Delete..." in the same way the File menu does.
2000-08-09 Ian McKellar <yakk@yakk.net.au>
* libnautilus-extensions/nautilus-directory-async.c:
(new_files_callback):
Fixed a seg-fault that occured when a drag and drop to a WebDAV
repository failed (due to permissions or something like that). The
fixed involved simply checking that the GnomeVFSFileInfo passed to
the new_files_callback by GnomeVFS was valid.
2000-08-08 John Sullivan <sullivan@eazel.com>
Fixed a couple of problems that yakk ran into that were
preventing files from opening correctly in WebDAV.
* src/file-manager/fm-directory-view.c:
(file_is_launchable): Check for "can_get_permissions" before
checking executability. If you can't get the permissions then
we won't assume the file is launchable.
(activate_callback): This was launching local executables
but trying to launch NULL in the remote executable case.
Reworked to fall through to the non-executable code for remote
executables.
2000-08-08 Gene Z. Ragan <gzr@eazel.com>
* libnautilus-extensions/nautilus-gdk-extensions.c:
(nautilus_get_largest_fitting_font):
Fixed crasher. Was always assuming that gdk_font_load would
return a valid font. This is not the case. The code will
now properly traverse the array to look for the requested
size.
* libnautilus-extensions/nautilus-icon-container.c:
(get_icon_space_height), (lay_down_one_line_vertical),
(lay_down_icons_horizontal), (lay_down_icons_vertical),
(lay_down_icons), (relayout), (reload_icon_positions),
(nautilus_icon_container_initialize), (finish_adding_new_icons),
(nautilus_icon_container_set_layout_mode):
* libnautilus-extensions/nautilus-icon-container.h:
* libnautilus-extensions/nautilus-icon-private.h:
* src/file-manager/fm-desktop-icon-view.c:
(fm_desktop_icon_view_initialize):
Work on making the icon layout code more flexible so that
we can have differing layout schemes. This is specifically
for the desktop layout requirements.
2000-08-08 John Sullivan <sullivan@eazel.com>
Fixed bug 1749 (Show Properties should be disabled in
search results)
* src/file-manager/fm-directory-view.h: added new function
pointer supports_properties and new function
fm_directory_view_supports_properties.
* src/file-manager/fm-directory-view.c:
(fm_directory_view_initialize_class): Fill in supports_properties
function pointer with fm_directory_view_real_supports_properties.
(compute_menu_item_info): Use fm_directory_view_supports_properties
to decide whether to make "Show Properties" sensitive.
(fm_directory_view_supports_properties): New function, calls
possibly-overridden function pointer.
(fm_directory_view_real_supports_properties): New function,
returns TRUE.
* src/file-manager/fm-search-list-view.c:
(fm_search_list_view_initialize_class): Fill in supports_properties
function pointer with real_supports_properties.
(real_supports_properties): return FALSE.
2000-08-08 John Sullivan <sullivan@eazel.com>
Fixed real and potential memory leaks involving
nautilus_directory_wait_until_ready.
* libnautilus-extensions/nautilus-mime-actions.c:
(nautilus_directory_wait_for_metadata): New function,
calls _wait_until_ready with no attributes and
TRUE for metadata, then frees result. The result as
currently implemented will always be NULL in this case
but there's no guarantee of that so it's safer to free
the result.
(nautilus_mime_get_default_action_type_for_uri),
(nautilus_mime_get_default_application_for_uri_internal),
(nautilus_mime_get_short_list_applications_for_uri),
(nautilus_mime_get_all_applications_for_uri),
(nautilus_mime_set_default_action_type_for_uri),
(nautilus_mime_set_default_application_for_uri),
(nautilus_mime_set_default_component_for_uri),
(nautilus_mime_set_short_list_applications_for_uri),
(nautilus_mime_set_short_list_components_for_uri),
(nautilus_mime_extend_all_applications_for_uri),
(nautilus_mime_remove_from_all_applications_for_uri):
Use nautilus_directory_wait_for_metadata.
(nautilus_mime_get_default_component_for_uri_internal),
(nautilus_mime_get_all_components_for_uri): free results
of nautilus_directory_wait_until_ready.
(nautilus_mime_get_short_list_components_for_uri): free
results of nautilus_directory_wait_until_ready, also
removed extra call to _wait_until_ready.
2000-08-07 Maciej Stachowiak <mjs@eazel.com>
* components/html/ntl-web-browser.oafinfo:
* components/mozilla/nautilus-mozilla-content-view.oafinfo:
* components/music/nautilus-music-view.oafinfo:
* components/shell/shell.oafinfo:
* libnautilus-extensions/nautilus-directory.c:
(nautilus_directory_is_search_directory):
* libnautilus-extensions/nautilus-file.c:
(nautilus_file_get_type_as_string):
* src/nautilus.oafinfo:
Renamedirectory mime types:
x-special/directory => x-directory/normal
x-special/webdav-directory => x-directory/webdav
x-special/virtual-directory => x-directory/search
2000-08-07 Andy Hertzfeld <andy@eazel.com>
last minute tweak for demo release of info color text: now it
gets it from the current theme
* icons/arlo/arlo.xml:
added info color values for arlo theme
* libnautilus-extensions/nautilus-icon-canvas-item.c:
(nautilus_icon_canvas_item_initialize_class):
made the selected info color a more neutral gray
* libnautilus-extensions/nautilus-icon-container.c:
(update_label_color):
get the info color from the theme
* src/nautilus-sidebar-title.c:
(nautlius_sidebar_title_select_text_color):
for now, use the same color as the name
2000-08-07 Maciej Stachowiak <mjs@eazel.com>
* CVSVERSION: New file, used to detect whether we are configuring
a cvs version or a release tarball.
* configure.in: Default -Werror to off when configuring a release
tarball, and to on when configuring a cvs version.
2000-08-07 Eskil Heyn Olsen <eskil@eazel.com>
* components/rpmview/nautilus-rpm-view.c:
(nautilus_rpm_view_update_from_uri):
Fixed bug 1657, package view misread rpm description and summary.
2000-08-07 Ramiro Estrugo <ramiro@eazel.com>
* src/nautilus-zoom-control.c:
* src/nautilus-zoom-control.h:
Revert the subclass change i made. Turns out its not needed. The
fix was to make the Eazel theme grok the "GtkEventBox" style
class - as all other "nice" themes do.
2000-08-07 John Sullivan <sullivan@eazel.com>
Made preview bug 2017 no longer crash. That's the "Up button
in search results" one. Darin is planning to make it be
disabled like it should have been, which is a fix in gnome-vfs.
Special dispensation from Robin to check this in.
* src/nautilus-window.c: (nautilus_window_go_up): Check for
NULL parent_uri and bail out if so.
2000-08-07 John Sullivan <sullivan@eazel.com>
Part of bug 2005 (Should display error message when search
fails because search demon isn't running)
Rebecka did all the underlying error-code-handling, which isn't
quite working yet. I'm checking in this UI step even in advance
of that.
* src/nautilus-applicable-views.h: New NautilusNavigationResult
NAUTILUS_NAVIGATION_RESULT_SERVICE_NOT_AVAILABLE. This mechanism,
invented by me, seems really hoary now.
* src/nautilus-applicable-views.c:
(get_nautilus_navigation_result_from_gnome_vfs_result):
Translate beween GnomeVFSResult and NautilusNavigationResult.
* src/nautilus-window-manage-views.c:
(is_search_uri): New function, checks whether the URI starts
with "search:".
(nautilus_window_end_location_change_callback): If the error
is SERVICE_NOT_AVAILABLE and it's a search uri, put up a custom
error message. It's not a very helpful message at this point, but
at least the user gets some kind of feedback.
2000-08-07 Darin Adler <darin@eazel.com>
Fixed "make check".
* libnautilus-extensions/nautilus-directory.c:
(nautilus_self_check_directory): Fixed a self check that no longer
matched the code.
* libnautilus-extensions/nautilus-file.c:
(nautilus_file_compare_for_sort),
(nautilus_file_compare_for_sort_reversed): Fixed a bug that was
causing reverse sorts to work wrong (caught by self check).
* libnautilus-extensions/nautilus-string.c:
(nautilus_str_get_prefix), (nautilus_self_check_string):
Fixed some incorrect self checks and a small error in get_prefix
that was exposed by a self check.
2000-08-07 Seth Nickell <seth@eazel.com>
* libnautilus-extensions/nautilus-file-utilities.c:
(nautilus_self_check_file_utilities):
* libnautilus-extensions/nautilus-lib-self-check-functions.h:
Add testing rig for the forming and escaping of user-inputted URIs.
2000-08-07 Eskil Heyn Olsen <eskil@eazel.com>
* 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-types.c:
(corba_category_list_from_categorydata_list):
* components/services/install/lib/eazel-install-corba.c:
(impl_Eazel_Install__set_package_list),
(impl_Eazel_Install__get_package_list), (eazel_install_get_epv):
* components/services/install/lib/eazel-install-protocols.c:
(filename_from_url):
* components/services/install/lib/eazel-install-rpm-glue.c:
(eazel_install_do_rpm_transaction_process_pipe),
(do_rpm_transaction):
The cli tool can now read from a local xml file and if the rpm's
are present (this depends on all fields in the xml being filled)
it will use those.
* components/services/install/lib/eazel-install-xml-package-list.c:
(generate_xml_package_list):
* nautilus-installer/src/installer.c: (installer):
* nautilus-installer/src/main.c:
Some patches for reading local files (bug#2021)
2000-08-07 J Shane Culpepper <pepper@eazel.com>
* components/services/inventory/Makefile.am:
* components/services/inventory/idl/.cvsignore:
* components/services/inventory/idl/Makefile.am:
* components/services/inventory/idl/trilobite-eazel-inventory.idl:
* components/services/inventory/lib/Makefile.am:
* components/services/inventory/nautilus-view/Makefile.am:
* components/services/inventory/nautilus-view/icons/.cvsignore:
* components/services/inventory/nautilus-view/icons/Makefile.am:
* components/services/inventory/service/.cvsignore:
* components/services/inventory/service/Makefile.am:
* components/services/inventory/service/main.c:
*
components/services/inventory/service/trilobite-eazel-inventory-imp
l.c:
* components/services/login/Makefile.am:
* components/services/login/idl/.cvsignore:
* components/services/login/idl/Makefile.am:
* components/services/login/idl/trilobite-eazel-login.idl:
* components/services/login/lib/.cvsignore:
* components/services/login/lib/Makefile.am:
* components/services/login/lib/trilobite-eazel-login-public.h:
* components/services/login/nautilus-view/Makefile.am:
* components/services/login/nautilus-view/icons/.cvsignore:
* components/services/login/nautilus-view/icons/Makefile.am:
* components/services/login/service/.cvsignore:
* components/services/login/service/Makefile.am:
* components/services/login/service/main.c:
* components/services/login/service/trilobite-eazel-login-impl.c:
* components/services/startup/Makefile.am:
* components/services/startup/lib/.cvsignore:
* components/services/startup/lib/Makefile.am:
* components/services/startup/nautilus-view/Makefile.am:
* components/services/startup/nautilus-view/icons/.cvsignore:
* components/services/startup/nautilus-view/icons/Makefile.am:
* components/services/summary/Makefile.am:
* components/services/summary/idl/.cvsignore:
* components/services/summary/idl/Makefile.am:
* components/services/summary/idl/trilobite-eazel-summary.idl:
* components/services/summary/lib/.cvsignore:
* components/services/summary/lib/Makefile.am:
* components/services/summary/lib/trilobite-eazel-summary-public.h:
* 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/service/.cvsignore:
* components/services/summary/service/Makefile.am:
* components/services/summary/service/main.c:
*
components/services/summary/service/trilobite-eazel-summary-impl.c:
* components/services/vault/Makefile.am:
* components/services/vault/command-line/Makefile.am:
* components/services/vault/idl/.cvsignore:
* components/services/vault/idl/Makefile.am:
* components/services/vault/idl/trilobite-eazel-vault.idl:
* components/services/vault/lib/.cvsignore:
* components/services/vault/lib/Makefile.am:
* components/services/vault/lib/trilobite-eazel-vault-public.h:
* components/services/vault/nautilus-view/.cvsignore:
* components/services/vault/nautilus-view/Makefile.am:
* components/services/vault/nautilus-view/icons/.cvsignore:
* components/services/vault/nautilus-view/icons/Makefile.am:
* components/services/vault/nautilus-view/main.c:
* components/services/vault/nautilus-view/nautilus-vault-view.c:
* components/services/vault/nautilus-view/nautilus-vault-view.h:
* components/services/vault/service/.cvsignore:
* components/services/vault/service/Makefile.am:
* components/services/vault/service/main.c:
* components/services/vault/service/trilobite-eazel-vault-impl.c:
* configure.in:
Removing lots of empty files and useless directory structures so that
the source tarballs will look much better and useless files won't be
installed. Hope this doesn't break anyone's buildtree.
2000-08-07 Darin Adler <darin@eazel.com>
Fixed bugs 1985 and 1986 (infinite loops using Mozilla).
Both were triggered by the fact that Mozilla reports that
it is done before it reports that it is underway. Made
the state machine less picky about this.
* src/nautilus-window-manage-views.c:
(nautilus_window_set_state_info): Made the "DONE" state
also do all the "INITIAL" state work so that reporting
you are done before you report that you started does not
cause any trouble.
* docs/recommended-books.html: Fixed a bad URL in here.
* libnautilus-extensions/nautilus-list.c:
(nautilus_list_set_single_click_mode): Fixed formatting.
* src/nautilus-window.c: (nautilus_window_go_home):
Use real function to convert path to URI instead of just
prepending "file://".
2000-08-07 Ramiro Estrugo <ramiro@eazel.com>
Fix bug 2019. Zoom control doesnt play nicely with gtk theme
backgrounds.
* src/nautilus-zoom-control.h:
Subclass this beast from GtkMisc instead of GtkEventBox to get all
the default widget behaviors.
* src/nautilus-zoom-control.c:
(nautilus_zoom_control_initialize_class),
(nautilus_zoom_control_initialize), (draw_zoom_control_image),
(nautilus_zoom_control_draw), (nautilus_zoom_control_expose):
Change the code that drew the symbol backgrounds to clear their
area instead of drawing a box. This causes the default
background to be rendered instead of a blank area ironically.
Also, clear the background before drawing the widget so that the
we get the same effect as above on the whole widget.
2000-08-07 Arlo Rose <arlo@eazel.com>
* icons/arlo/increment-i.png
* icons/arlo/decrement-i.png
* icons/arlo/Makefile.am
Add disabled zoom widgets.
2000-08-07 John Sullivan <sullivan@eazel.com>
Fixed bug 1979 (Crash involving bookmarks)
Gene did all the hard work of finding a reproducible case
for this. From there it was easy for me to fix the bug
in code I wrote. He gets 3/4 of all klocs assigned for
this bug.
* src/nautilus-window-menus.c:
(nautilus_window_remove_bookmarks_menu_items):
Set last_static_bookmark_path to NULL after removing menu
items from bookmarks menu.
(refresh_all_bookmarks):
Call nautilus_window_remove_bookmarks_menu_items instead
of lower-level remove_bookmarks_after.
Mon Aug 07 14:47:28 2000 George Lebl <jirka@5z.com>
* libnautilus-extensions/nautilus-list-column-title.c
(nautilus_list_column_title_initialize)
(nautilus_list_column_title_finalize)
(nautilus_list_column_title_buffered_draw)
(offscreen_drawing_idle_handler)
(nautilus_list_column_title_queue_buffered_draw)
(nautilus_list_column_title_motion)
(nautilus_list_column_title_leave)
(nautilus_list_column_title_button_press)
(nautilus_list_column_title_button_release):
Redo drawing buffered background, stop using a widget, and
allocate the gc and the offscreen pixmap only for the draw
and free them afterwards. Also do the buffered draw in an idle
handler to avoid too many draws. Obscoletes bug 614.
* src/file-manager/fm-list-view.c (remove_from_list):
Instead of a warning just ignore the file if it's not in
the list anymore. This is what the icon view does and
apparently we can get multiple file_changed calls which
will cause this. Fixes bug 1961
2000-08-07 Ramiro Estrugo <ramiro@eazel.com>
Fix bug 1903. Pick a better sidebar font.
* libnautilus-extensions/nautilus-gdk-extensions.c:
(nautilus_get_largest_fitting_font):
Change the number of sizes to choose from to 4 (from 5). Also,
remove the 28 size which is usually unavailable. This size is what
was causing the ugliness in the font.
* src/nautilus-sidebar-title.c: (update_font):
Changed the font to bold.
2000-08-07 Eskil Heyn Olsen <eskil@eazel.com>
* components/services/install/command-line/eazel-alt-install-corba.c:
(main):
Added --query, to test the corba query stuff
* components/services/install/command-line/eazel-package-query.c:
Removed some erratic #defs.
* components/services/install/command-line/genpkg_list.example:
Now has an error on purpose, to test the error checking
* components/services/install/idl/trilobite-eazel-install.idl:
Renamed the query to simple_query
* components/services/install/lib/eazel-install-corba-callback.c:
(impl_install_failed), (impl_uninstall_failed),
(eazel_install_callback_simple_query),
(eazel_install_callback_revert_transaction):
* components/services/install/lib/eazel-install-corba-callback.h:
* components/services/install/lib/eazel-install-corba-types.c:
(corba_packagedatastruct_from_packagedata):
* components/services/install/lib/eazel-install-corba.c:
(impl_Eazel_Install_simple_query), (eazel_install_get_epv):
* components/services/install/lib/eazel-install-query.c:
(eazel_install_simple_rpm_query), (eazel_install_simple_query):
Finished the corbafication of simple_query and added some const's
to some arguments.
* components/services/install/lib/eazel-install-protocols.c:
(http_fetch_remote_file):
Fixed a bug where the first download-progress emit got called with
total == 0.
* components/services/install/lib/eazel-install-query.h:
Removed debug output.
* components/services/install/lib/eazel-install-rpm-glue.c:
(eazel_install_do_rpm_transaction_process_pipe),
(eazel_install_do_rpm_transaction_save_report),
(do_rpm_transaction), (eazel_install_fetch_rpm_dependencies):
Am tryink to fix the installer. Havink problems reading the output
from rpm, since it apparently gets buffered somewhere.
* components/services/install/lib/eazel-install-xml-package-list.c:
(generate_xml_package_list):
Added error checking to the :-seperated values parsing.
* components/services/install/lib/makefile.staticlib.in:
More static linking fun.
* nautilus-installer/src/Makefile:
* nautilus-installer/src/Makefile.am:
* nautilus-installer/src/installer.c: (eazel_install_progress),
(eazel_download_progress), (download_failed),
(eazel_install_preflight), (eazel_install_dep_check),
(eazel_install_delete_files), (installer):
* nautilus-installer/src/interface.c: (create_window):
* nautilus-installer/src/link.sh:
* nautilus-installer/src/prescript:
Okaeh, the installer is slight prettier, but the install progress
is screwed because of the problem with progress bar.
2000-08-07 John Sullivan <sullivan@eazel.com>
Fixed bug 1969 enough for now (search bar buttons should
become sensitive & insensitive appropriately). Will write
up bug reports about remaining issues.
Made the "Find" button only be sensitive if all text-entry
fields are non-empty. (Did this for both simple & complex
search bar). Cleaned up some other code that I couldn't
avoid in there too.
* src/nautilus-simple-search-bar.c:
Define Details struct.
(nautilus_simple_search_bar_initialize_class): Wire up
destroy handler.
(search_text_is_invalid): New function, returns TRUE if the
text is empty.
(update_simple_find_button_state): New function, sets the
sensitivity of the find button based on search_text_is_invalid.
(activated_search_field): New function, calls location_changed
only if text is valid.
(nautilus_simple_search_bar_initialize): Initialize Details field;
change "activate" signal on text field to call
activated_search_field instead of calling location_changed directly
so it can handle the text-invalid case; wired "change" signal of
text field to update_simple_find_button_state; call update_simple_
find_button_state once after setting up widgets; simplify
widget-creation code.
(nautilus_simple_search_bar_destroy): Free details field.
(nautilus_simple_search_bar_set_location),
(nautilus_simple_search_bar_get_location): Updated to use Details.
* src/nautilus-simple-search-bar.h: Replaced several fields in
NautilusSimpleSearchBar struct with new Details field. Among
the replaced fields were some undo-related ones that were not
yet used anywhere, so I left them out of Details.
* src/nautilus-complex-search-bar.c:
(criteria_invalid): Walks through the list of criteria, checking
whether any of the text-field ones have empty text. Later we
could add other types of checks in here.
(update_options_buttons_state): Just added FIXME comment.
(update_find_button_state): New function, sets sensitivity
of find button based on criteria_invalid.
(update_dynamic_buttons_state): New function, calls the other
two button-updating functions.
(nautilus_complex_search_bar_initialize_class): Wire up destroy
handler.
(more_options_callback), (fewer_options_callback),
(nautilus_complex_search_bar_initialize):
Call update_dynamic_buttons_state instead of just
update_options_buttons_state.
(nautilus_complex_search_bar_destroy): free Details struct. This
was leaking before.
(attach_criterion_to_search_bar): Attach update_find_button_state
to "changed" signal of any new text-entry field.
2000-08-07 Andy Hertzfeld <andy@eazel.com>
* src/nautilus-sidebar-title.c:
(nautlius_sidebar_title_select_text_color):
Darin suggested that we make the sidebar echo the icon view's
use of color to distinguish the name from the additional info,
so I did it.
2000-08-07 Ali Abdin <aliabdin@aucegypt.edu>
* components/help/converters/gnome-db2html2/gdb3html.h:
* components/help/converters/gnome-db2html2/sect-elements.h:
* components/help/converters/gnome-db2html2/sect-elements.c:
(sect_span_interface_start_element),
(sect_span_interface_end_element): Two new functions for the
'interface' tag.
(sect_link_start_element),
(sect_link_end_element): Two new functions for the 'link' tag
(sect_menu_start_element),
(sect_menu_end_element): Two new functions for the 'guisubmenu' and
'guimenu' tags. These are needed because the previous implementation
was incorrect.
Also the prototypes for the above functions and added the following
tags: interface, link, menuchoice (yes menuchoice is back!)
Modified the guimenu/guisubmenu tag to only be bold and display the
'arrow' if they are enclosed in the menuchoice tag. If they are not
enclosed, just 'print' the characters. This is how jade (a.k.a db2html
does it)
* components/help/converters/gnome-db2html2/sect-elements.c:
(sect_title_characters),
(sect_xref_start_element): s/ghelp/help
2000-08-07 Pavel Cisler <pavel@eazel.com>
Fix bug 1941 -- Context menus need to be clicked twice.
* libnautilus-extensions/nautilus-gtk-extensions.c:
(nautilus_pop_up_context_menu):
* libnautilus-extensions/nautilus-gtk-extensions.h:
When invoked from anywhere but the button_press call, we need to
pass 0 for button otherwise the next click will not be handled.
Add a way to pass the button as a parameter.
* src/file-manager/fm-directory-view.c:
(fm_directory_view_pop_up_selection_context_menu),
(fm_directory_view_pop_up_background_context_menu):
Pass 0 for button
* src/nautilus-sidebar.c: (nautilus_sidebar_press_event):
* src/nautilus-window-toolbars.c:
(back_or_forward_button_clicked_callback):
Called from button_press, pass the actual button.
2000-08-07 John Sullivan <sullivan@eazel.com>
Fixed bug 1422 (dropping an icon at the edge doesn't update
the scrollable area)
Start of bug 1969 (search controls need to adjust sensitivity
appropriately)
* libnautilus-extensions/nautilus-icon-container.c:
(nautilus_icon_container_update_scroll_region): Renamed from
"update_scroll_region" since it's now in a header file.
(relayout), (nautilus_icon_container_clear): Updated for name change.
(nautilus_icon_container_move_icon): Added FIXME about how
update_scroll_region is handled at different levels at Darin's
request.
* libnautilus-extensions/nautilus-icon-private.h:
Put prototype for nautilus_icon_container_update_scroll_region
here so it could be called from drag-and-drop code.
* libnautilus-extensions/nautilus-icon-dnd.c: (handle_local_move):
Update scroll region after drag.
* src/nautilus-complex-search-bar.c:
(update_options_buttons_state): New function, updates the sensitivity
of "Fewer Choices" button based on number of displayed criteria. Later
it will also handle "More Choices" button and perhaps others.
(nautilus_complex_search_bar_initialize):
Call update_options_button_state after creating button widgets.
(more_options_callback), (fewer_options_callback): Call
update_options_button_state when number of criteria changes.
2000-08-07 Darin Adler <darin@eazel.com>
Fixed bug 1921 (reloading does not cause directory count to be
recomputed)
* libnautilus-extensions/nautilus-directory-async.c:
(metafile_read_failed), (get_corresponding_file),
(nautilus_directory_force_reload):
Make the force reload call also force recomputing the counts (both
shallow and deep) for that directory.
* libnautilus-extensions/nautilus-file-private.h:
* libnautilus-extensions/nautilus-file.c:
(nautilus_file_get_internal), (nautilus_file_get_existing),
(nautilus_file_get): Added interface to get an existing NautilusFile
that won't create a new one.
2000-08-07 John Sullivan <sullivan@eazel.com>
Fixed bug 1906 (text size under icons is not always correct)
* libnautilus-extensions/nautilus-font-factory.c:
(font_hash_node_lookup_with_insertion): Inserting a font into
the font cache hashtable was passing the wrong pointer for the
font name: name (which is reused each time in this routine) instead
of node->name (which is part of the hash table node and won't change).
Also took off unnecessary gpointer and gconstpointer casts. Darin
spotted the problem after I aimed him at this function.
Mon Aug 07 05:00:55 2000 George Lebl <jirka@5z.com>
* libnautilus-extensions/nautilus-list.c (nautilus_list_draw):
Call gtk_widget_draw on the title widget. This fixes the problem
where the widget is not drawn when the list view is first selected.
Mon Aug 07 00:31:50 2000 George Lebl <jirka@5z.com>
* libnautilus-extensions/nautilus-glib-extensions.c
(nautilus_get_system_time): use G_GINT64_CONSTANT instead of LL
to be more "alpha clean"
* libnautilus-extensions/nautilus-list-column-title.c
(nautilus_list_column_title_initialize)
(nautilus_list_column_title_finalize) (get_column_frame_at)
(load_up_indicator) (get_sort_indicator)
(nautilus_list_column_title_paint): Don't use GnomePixmap just
for loading pixmaps, this doesn't work always (read doesn't work
on my machine), plus it's a horrible hack. Use GdkPixbuf to load
up the sort indicator pixmaps. The title_window of the clist
scrolls itself horizontally, so don't add the horizontal scroll
again during painting. Fix text not always redrawing some 2 pixel
stripes because we were clipping the redrawing rectangle rather
then only the outside of the cell.
* libnautilus-extensions/nautilus-list.c (nautilus_list_initialize)
(nautilus_list_flush_typeselect_state) (nautilus_list_realize):
use G_GINT64_CONSTANT instead of LL. Use
gtk_widget_push/pop_composite_child when creating the column title
Check existance of list->details->title rather then
clist->title_window when adding it to clist->title_window as
clist->title_window will always exist.
2000-08-06 Mathieu Lacage <mathieu@eazel.com>
* libnautilus-extensions/nautilus-search-bar-criterion.c:
remove debugging output for rebecka.
2000-08-06 Andy Hertzfeld <andy@eazel.com>
* libnautilus-extensions/nautilus-file.c:
(nautilus_file_get_emblem_names):
make intrinsic emblems appear in the list after the assigned ones because
the assigned ones are more important to the user.
* libnautilus-extensions/nautilus-icon-canvas-item.c:
(nautilus_icon_canvas_item_initialize_class),
(draw_or_measure_label_text):
At Bud's suggestion, distinguish the additional info from the file name by
drawing it in a different color
* libnautilus-extensions/nautilus-icon-container.c:
(nautilus_icon_container_get_label_color), (update_label_color):
set up the file name color and the additional info color separately
return one or the other based on parameter passed in to get_label_color
* libnautilus-extensions/nautilus-icon-container.h:
added an additional parameter to get_label_color to select which color to return
* libnautilus-extensions/nautilus-icon-private.h:
added a new field for the additional info color
2000-08-05 Andy Hertzfeld <andy@eazel.com>
fixed embedded icon text clarity (we were using helvetica 9, which wasn't installed
on many machines, and the scaled version looked hideous). Fixed by using the
bigger, more commonly installed helvetica 24 font, then scaling it down using the
gdk_pixbuf compositing routines, which exploit the gray-scale.
* libnautilus-extensions/nautilus-gdk-pixbuf-extensions.h:
added a "font_scale" parameter
* libnautilus-extensions/nautilus-gdk-pixbuf-extensions.c:
(nautilus_gdk_pixbuf_draw_text):
used the font scale parameter to scale up the buffer, and scale it down when
compositing
* libnautilus-extensions/nautilus-icon-factory.c: (embed_text):
change the default size to 24 pt, and used a scale factor of .333 for the
equivalent of an 8 point font
* libnautilus-extensions/nautilus-image.c:
(nautilus_image_size_allocate):
added a font scale parameter of 1.0.
2000-08-05 Gene Z. Ragan <gzr@eazel.com>
* libnautilus-extensions/nautilus-undo-manager.c: (corba_append),
(nautilus_undo_manager_undo):
Fixed a bug where transaction)in_progress was always TRUE.
This caused a g_warning to always be fired. I guess no one
noticed because we aren't exercising the undo code.
* libnautilus/nautilus-undo-transaction.c:
(remove_transaction_from_object),
(nautilus_undo_transaction_add_atom),
(nautilus_undo_transaction_add_to_undo_manager),
(remove_atoms_cover),
(nautilus_undo_transaction_unregister_object):
Fixed bug 1984, crash when closing window after an undo operation.
This crash is caused by a bogus transaction being left
in the target objects transaction list. An assert is thrown
because the item in the list is not a transaction. I suspect it
is the sad remains of an unrefed transaciton that is still in
the list somehow. I made a work arund by checking before
freeing, but need Darin's help to figure out the true cause.
2000-08-05 Ali Abdin <aliabdin@aucegypt.edu>
In summary, get Docbook XML working. Support JPEG images. Make PNG
default image. Fix the GUIMENU/GUISUBMENU tags.
* components/help/help-method.c:
(help_uri_to_string),
(convert_file_to_uri):
Support text/xml as a possible help file (Docbook XML). Also if we
don't recognize the help file, mark it as 'UNKNOWN_FILE' and handle it
gracefully (should now not reach g_assert_not_reached in the code)
* components/help/converters/gnome-db2html2/gdb3html.h,
* components/help/converters/gnome-db2html2/sect-elements.c,
* components/help/converters/gnome-db2html2/toc-elements.c:
Add the "articleinfo" tag to act just like the "artheader" tag (the
former is Docbook XML and the latter is Docbook SGML).
* components/help/converters/gnome-db2html2/sect-elements.c:
(sect_graphic_start_element): Small fix to match Eazel style
guidelines. Add support for JPEG/JPG image types. Make PNG the default
image type if the 'format' attribute in the graphic element is not
found.
(sect_b_arrow_end_element): New function.
Also - removed MENUCHOICE tag, and made GUIMENU and GUISUBMENU use
sect_b_arrow_end_element.
2000-08-04 Andy Hertzfeld <andy@eazel.com>
made it default to using the anti-aliased canvas
* libnautilus-extensions/nautilus-global-preferences.c:
(global_preferences_register):
changed defaults for all 3 user levels to use the aa-canvas
* src/file-manager/fm-icon-view.c:
(fm_icon_view_update_anti_aliased_mode):
set the default to TRUE
Fri Aug 04 20:43:15 2000 George Lebl <jirka@5z.com>
* src/nautilus-window-manage-views.c (open_location): ignore
empty location. Fixes bug number 1983
2000-08-04 Darin Adler <darin@eazel.com>
* libnautilus-extensions/nautilus-icon-container.c: (relayout),
(size_allocate), (finish_adding_new_icons),
(nautilus_icon_container_set_zoom_level),
(nautilus_icon_container_set_auto_layout):
Changed relayout so it will update the scroll region. This fixes
bug 1907 (layout options sometimes move icons out of window).
* libnautilus/nautilus-clipboard.c: (add_menu_items_callback):
Fix leak of remote UI handler. This fixes the rest of bug 1259,
which was just a bug about the FIXME that said "remote UI handler
leaks here, right?".
* libnautilus-extensions/nautilus-directory-async.c: (lacks_info),
(get_info_callback): Fixed infinite loop when you hit a file and
you can't get info for it. Related to the bug Mike Fleming is
looking at.
2000-08-04 Robey Pointer <robey@eazel.com>
* libnautilus-extensions/nautilus-file-utilities.c:
(nautilus_make_uri_from_input):
Use new gnome-vfs call to correctly escape the uri (fix
quoted-colon bug in entering urls)
2000-08-04 Robin * Slomkowski <rslomkow@eazel.com>
* src/nautilus-window-menus.c: (help_menu_about_nautilus_callback):
fix 1997, So you have time in the about box.
* acconfig.h: added undef for NAUTILUS_TIMESTAMP
* configure.in: added define for NAUTILUS_TIMESTAMP
2000-08-04 John Sullivan <sullivan@eazel.com>
Fixed unreported crash-at-boot bug I ran into when
I turned MALLOC_CHECK_=2 on. This is a good thing for
everyone to run with (unless it slows things down hideously,
which it doesn't seem to).
* src/nautilus-simple-search-bar.c:
(nautilus_simple_search_criteria_to_search_uri):
This function (apologies to Pavel) crashed like a Russian
helicopter and leaked like a Russian submarine. Fixed an off-by-one
bug in a g_new0 that was trashing memory; removed another g_new0
call that was just leaking its results; called g_strfreev to
free the results of a g_strsplit call.
2000-08-04 Michael Engber <engber@eazel.com>
* libnautilus-extensions/nautilus-icon-container.c:
(lay_down_icons), (size_allocate):
Fixed the mysterious resizing flashing bug. lay_down_icons
computed canvas_width wrong. bug #1929
2000-08-04 Andy Hertzfeld <andy@eazel.com>
* libnautilus-extensions/nautilus-icon-canvas-item.c:
(nautilus_icon_canvas_item_render):
fixed bug 1849, left edge of icons sometime get chopped off in
anti-aliased mode. Fixed by truncating the offset in the
affine transfer to integers.
2000-08-04 Darin Adler <darin@eazel.com>
* src/file-manager/fm-directory-view.c:
(bonobo_control_activate_callback): Fix bug where we would leak
a remote UI handler. This caused bad problems when opening and
closing windows with the undo management. This fixes bugs 1949
and 1259.
* src/nautilus-window-private.h:
* src/nautilus-window.c: (nautilus_window_destroy):
* src/nautilus-window-menus.c: (append_bookmark_to_menu),
(nautilus_window_remove_go_menu_callback),
(nautilus_window_remove_bookmarks_menu_items),
(nautilus_window_remove_go_menu_items):
Fix bookmark signals to properly disconnect when the window goes
away. The old way of using connect_while_alive would not work
because we need to disconnect the signals one at a time sometimes
too and it's illegal to disconnect a "while_alive" signal any
other way.
* libnautilus-extensions/nautilus-directory-async.c:
(metafile_write_failure_close_callback),
(metafile_write_success_close_callback), (metafile_write_callback):
Fix handling of error codes from close when writing a metafile.
2000-08-04 Maciej Stachowiak <mjs@eazel.com>
* 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,
nautilus_tree_view_model_done_loading_callback,
nautilus_tree_view_update_all_icons,
nautilus_tree_view_uri_to_name,
nautilus_tree_view_find_parent_node): Moved helper functions to
the end, added misc stability and simplification fixes.
2000-08-04 Maciej Stachowiak <mjs@eazel.com>
* components/mozilla/nautilus-mozilla-content-view.c
(mozilla_load_location_callback): Removes
nautilus_view_report_load_complete call from here...
(mozilla_progress_callback): And move it here, because we only
want to make that call after all the various report_progress
calls. This fixes bugs 1933 and 1955. Pavel did most of the heavy
lifting of figuring out why this was killing the state machine.
2000-08-04 Andy Hertzfeld <andy@eazel.com>
* libnautilus-extensions/nautilus-background.c:
(nautilus_background_draw_flat_box),
(nautilus_background_set_widget_style):
fixed bug where setting the sidebar to a solid color background
wouldn't work; fixed by allowing nautilus_background to handle
that case instead of inheriting.
* src/nautilus-property-browser.c: (format_name_for_display):
at Susan's suggestion, don't draw the name for the reset background
property, to better distinguish it from the others (and its name
is part of its image, anyway)
Fri Aug 04 14:21:51 2000 George Lebl <jirka@5z.com>
* components/hardware/nautilus-hardware-view.c (setup_form_title):
Check result of gnome_pixmap_file. If NULL, we can't make a new
gnome-pixmap.
* components/help/converters/gnome-db2html2/sect-elements.c
(sect_get_infobox_logo) (sect_infobox_start_element):
sect_get_infobox_logo can return a NULL so check its return
and if NULL just add %s instead of <IMG ...>
* components/services/vault/command-line/vault-operations.c,
libnautilus-extensions/nautilus-list.c:
add #include <string.h>
* cut-n-paste-code/freetype/ftcalc.h,
cut-n-paste-code/freetype/ftconfig.h: Well even though this
is cut and paste code I NEED to add this patch for it to even
compile on alpha, I'll try to get this upstream. The only changes
are inside #ifdefs on platforms where long is 64 bit so it should
not affect intel code at all.
* libnautilus-extensions/nautilus-file-utilities.c
(nautilus_format_uri_for_display): use g_strdup instead of strdup
as then g_free is used and this would really confuse glib in memory
checking mode.
* librsvg/art_render_mask.c, librsvg/rsvg-bpath-util.c,
librsvg/rsvg-ft.c: add #include <string.h>
* src/Makefile.am: define NAUTILUS_PIXMAPDIR. This is neccessary for
both making the tarballs and actual code sanity on switching
toolbar themes etc. In GNOME 2.0 the GNOME_PATH can be sanely used
to allow relocatable nautilus binary, but in 1.[02] this is the
correct way to do things.
* src/nautilus-complex-search-bar.c
(nautilus_complex_search_bar_initialize)
(load_find_them_pixmap_widget): If we can't load pixmaps don't
add them. Also don't hardcode "/gnome/share" prefix and use
the NAUTILUS_PIXMAPDIR define to find search.png AND make sure
we can load it before using it.
* src/nautilus-window-toolbars.c (find_toolbar_child) (setup_button)
In toolbar_info use the NAUTILUS_PIXMAPDIR define to find pixmaps.
remove get_stock_callback and get_stock_widget as those functions
were an incredible hack and were likely to break. Replace with a
function which searches the toolbar children and then finds correct
icon widget. It also doesn't do anything if there is no icon. In
setup button, use NAUTILUS_PIXMAPDIR to define pixmaps by their
full name. If we cannot set the stock widget icon, then the icon
is not registered and we register it with gnome-stock.
Miraculously the current code worked but only worked because the
eazel theme was set up in the toolbar_info, other themes with
outside images would break.
2000-08-04 Arlo Rose <arlo@eazel.com>
* icons/arlo/Makefile.am:
* icons/arlo/i-regular.xml:
* icons/arlo/i-directory.xml:
For the demo, I've added some data to these xml files
so text shows up on my icons, and emblems get placed
correctly on my temporary folders.
2000-08-04 Andy Hertzfeld <andy@eazel.com>
* libnautilus-extensions/nautilus-gdk-pixbuf-extensions.c:
(nautilus_gdk_pixbuf_load):
fixed demo bug #1944, nautilus doesn't thumbnail xpms. Fixed
by making nautilus_gdk_pixbuf_load using
nautilus_gdk_pixbuf_new_from_file for local files, since that
works better than using the loaders.
* libnautilus-extensions/nautilus-icon-factory.c:
removed FIXME that was already fixed.
2000-08-04 Mathieu Lacage <mathieu@eazel.com>
* libnautilus-extensions/nautilus-file-utilities.c:
(nautilus_get_uri_from_local_path): fixes bug 1936.
nautilus_get_uri_from_local_path has been made NULL proof.
2000-08-04 Mathieu Lacage <mathieu@eazel.com>
* src/nautilus-window.c: (nautilus_window_hide_sidebar),
(nautilus_window_show_sidebar): fixes bug 1881. add special
case tests.
2000-08-04 Darin Adler <darin@eazel.com>
* components/html/glibwww-init.c:
Added a declaration to work around a bug or version issue that
some Solaris hackers ran into with glibwww.
* components/mozilla/main.c: (mozilla_check_environment):
Fixed a bug where we g_free the result of g_getenv.
* helper-utilities/authenticate/nautilus-authenticate-pam.c:
Changed includes so this builds for some Solaris versions
(doesn't seem to create any problem compiling elsewhere).
* libnautilus-extensions/nautilus-list.c:
(nautilus_list_clear_from_row): Got rid of an overzealous
assert that wasn't doing us any good.
* src/nautilus-first-time-druid.c: (set_up_user_level_page):
Fixed a broken assert.
2000-08-04 John Sullivan <sullivan@eazel.com>
Fixed demo bug 1908: Title in sidebar vanishes on theme change.
* src/nautilus-sidebar.c:
(nautilus_sidebar_set_uri), (nautilus_sidebar_update_info):
Separated update_info into the parts that were about changing
URI-based information and the parts that were about changing
appearance only. The appearance-only parts are now called
nautilus_sidebar_update_appearance. The other parts were put
back into nautilus_sidebar_set_uri.
(nautilus_sidebar_theme_changed),
(receive_dropped_color), (receive_dropped_keyword),
(background_appearance_changed_callback): Made these callers
use nautilus_sidebar_set_appearance. The bug was that
theme_changed was passing NULL for the initial title text,
but passing NULL wipes it out rather than doing nothing as
was intended. The other callers were getting the current title
text and then passing it back in; now they just leave it alone.
2000-08-04 Ramiro Estrugo <ramiro@eazel.com>
* src/nautilus-sidebar-title.c: (update_font):
Revert the font change since the font I picked is not available on
all platforms. Ill make a better fix soon. In the mean time this
should fix the torrent of assertions.
2000-08-04 Mathieu Lacage <mathieu@eazel.com>
first draft at the 1744 and 1761 tasks.
They depend on another one I have to finish first to mek them
work.
* libnautilus-extensions/nautilus-file.c:
(nautilus_file_get_emblem_names), (nautilus_file_is_directory),
(nautilus_file_is_in_trash): add nautilus_file_is_in_trash
add test on search results to see if they are from the trash.
* libnautilus-extensions/nautilus-file.h: add nautilus_file_is_in_trash
* libnautilus-extensions/nautilus-search-bar-criterion.c:
(nautilus_search_bar_criterion_human_from_uri): add function.
* libnautilus-extensions/nautilus-search-bar-criterion.h: add function.
* src/file-manager/fm-search-list-view.c: (begin_loading_callback),
(fm_search_list_view_initialize): hoook onto the directoryview signals
to tell the view that the title is a new better one.
* src/nautilus-simple-search-bar.c:
2000-08-04 Rebecca Schulman <rebecka@eazel.com>
* components/music/nautilus-music-view.c: (sort_by_title),
(sort_by_artist):
Fixed bug 1940, where the music view crashed when
sorting by title or artist if the id3 tag was incomplete
2000-08-04 Andy Hertzfeld <andy@eazel.com>
* components/music/nautilus-music-view.c:
(nautilus_music_view_destroy),
(nautilus_music_view_drag_data_received):
fixed bug 1910, there is no way to stop a song once you leave the
music view, fixed by taking the coward's way out and stopping the
song when the music view is exited/destroyed. We can do better post 1.0.
2000-08-04 Maciej Stachowiak <mjs@eazel.com>
Fix bugs 1524 and 1517:
* components/tree/nautilus-tree-model.c:
(nautilus_tree_model_monitor_add): Fixed a minor bug which made
this never report anything but the root node.
Also: moved all helper functions to the end of the file and prototyped
them, and did minor cleanup.
* components/tree/nautilus-tree-view.c (insert_hack_node,
remove_hack_node, freeze_if_have_hack_node): Functions to handle
adding and removing the hack node, and freezing while it might be
visible; this way we should be able to avoid the user ever seeing
it.
(nautilus_tree_view_insert_model_node,
nautilus_tree_view_model_done_loading_callback,
nautilus_tree_view_load_from_filesystem, tree_expand_callback):
Use the above functions to insert and hide the hack node at the
proper times.
(nautilus_tree_view_initialize,
nautilus_tree_view_update_all_icons): Connect to icons_changed
signal and update all icons when it happens.
2000-08-04 Rebecca Schulman <rebecka@eazel.com>
* src/file-manager/fm-list-view.c: (fm_list_view_compare_rows),
(add_to_list):
Fixed irritating cast == NULL messages that appeared by
the ton in the list view.
2000-08-03 Ramiro Estrugo <ramiro@eazel.com>
Fix bug 1903
* src/nautilus-sidebar-title.c: (update_font):
Pick a better font for the sidebar title. Also ammended the FIXME
blurb (and the bug too) to make the code robust enough to deal
with bogus and non-existent fonts.
2000-08-03 Andy Hertzfeld <andy@eazel.com>
* icons/arlo/arlo.xml:
* src/nautilus-zoom-control.c: (draw_number):
fixed bug 1897, zoom control numbers draw in wrong place when search bar mode switches.
Fixed by removing an offset that shouldn't have been added to position, and tweaked a
position in the theme file that was mistakenly compensating.
* components/music/mpg123_handler.c:
a little bit of work fixing music view problems, more coming soon.
2000-08-03 Ramiro Estrugo <ramiro@eazel.com>
Fix bug 1905.
* libnautilus-extensions/nautilus-global-preferences.c:
(global_preferences_create_dialog),
(sidebar_panel_iid_is_in_default_list),
(global_preferences_register_sidebar_panels),
(global_preferences_register_speed_tradeoff_with_defaults),
(global_preferences_register),
(nautilus_global_preferences_initialize):
The problem was that the sidebar loser component was showing up by
default. I added a hard coded list of default sidebar panel
iids. Unfortunately, there is not place to query this list, so
for now its builtin to nautilus. Any sidebar panel that is not on
this list will not be on by default.
I also fixed some dumb localization, naming and documentation
things while in the neighborhood.
2000-08-03 Ramiro Estrugo <ramiro@eazel.com>
Fix bugs 1890 and 1902.
* libnautilus-extensions/nautilus-global-preferences.c:
(global_preferences_get_dialog),
(global_preferences_register_for_ui),
(nautilus_global_preferences_dialog_update),
(nautilus_global_preferences_initialize):
* libnautilus-extensions/nautilus-global-preferences.h:
Expose the initialization call once again. I suppose explicit
initialzation was a dream. It seems to break everytime we add
something new at startup that needs preferences, so lets just make
sure preferences defaults exist once and for all.
* src/nautilus-application.c: (nautilus_application_initialize),
(nautilus_application_destroy), (nautilus_application_startup),
(check_for_and_run_as_super_user), (need_to_show_first_time_druid):
Change the way we check whether the first time wizrard needs to be
presented. Instead of checking for the user's 'top' directory, we
check a flag file: ~/.nautilus/first-time-wizard.
Checking the user's top directory doesnt work after my last
preferences changes, since the preferences initialization call i
added causes the 'top' directory to exist and this confuses the
first time druid.
2000-08-03 Eskil Heyn Olsen <eskil@eazel.com>
* components/services/install/command-line/eazel-alt-install-corba.c:
(set_parameters_from_command_line):
Added the downgrade (-d) flag
* components/services/install/command-line/eazel-revert.c:
(get_password_dude):
Uses robey's new and better get password stuff
* components/services/install/command-line/eazel-uninstall.c:
(done), (get_password_dude), (set_root_client), (main):
Revived to work with the trilobite root helper stuff.
* components/services/install/idl/trilobite-eazel-install.idl:
* components/services/install/lib/eazel-install-corba.c:
(impl_Eazel_Install_revert_transaction),
(impl_Eazel_Install__set_downgrade),
(impl_Eazel_Install__get_downgrade), (eazel_install_get_epv):
Added the downgrade attribute
* components/services/install/lib/eazel-install-public.h:
* components/services/install/lib/eazel-install-object.c:
(eazel_install_revert_transaction_from_xmlstring):
made the xml string const
* components/services/install/lib/eazel-install-rpm-glue.c:
(download_all_packages), (install_all_packages),
(revert_transaction),
(eazel_install_do_rpm_transaction_make_argument_list),
(do_rpm_transaction):
Loads of work on the transaction and some random
bugfixes. Reverting now works.
* components/services/install/lib/eazel-install-types.c:
(packagedata_fill_from_file):
Fixed dumb bug.
* components/services/install/lib/eazel-install-xml-package-list.h:
* components/services/install/lib/eazel-install-xml-package-list.c:
(parse_memory_xml_package_list), (parse_memory_transaction_file):
Made some ars const
2000-08-03 J Shane Culpepper <pepper@eazel.com>
* icons/Makefile.am: fixing typo
2000-08-03 Andy Hertzfeld <andy@eazel.com>
* data/emblems/Makefile.am:
* data/emblems/distinguished.png
* data/emblems/ohno.png
* data/emblems/favorite.png
* icons/Makefile.am:
* icons/emblem-distinguished.svg:
* icons/emblem-favorite.svg:
* icons/emblem-generic.svg:
* icons/emblem-ohno.svg:
added more emblems from Susan and update some others
2000-08-03 Gene Z. Ragan <gzr@eazel.com>
Fixed bug 1927, Need a way to identify mount links as special
type of link.
Fixed bug 1926, Old mount links should be cleaned up
when desktop launches.
* libnautilus-extensions/nautilus-volume-monitor.c:
(nautilus_volume_monitor_destroy), (add_mount_link_property),
(nautilus_volume_monitor_is_volume_link):
Mount links are now tagged with a special XML attribute
when they are created.
* libnautilus-extensions/nautilus-volume-monitor.h:
* src/file-manager/fm-desktop-icon-view.c:
(fm_desktop_icon_view_destroy), (fm_desktop_icon_view_initialize),
(remove_old_mount_links):
Old mount links are now removed when the desktop launches and quits.
2000-08-03 John Sullivan <sullivan@eazel.com>
* libnautilus-extensions/nautilus-search-bar-criterion.c:
(nautilus_search_bar_criterion_next_new): Checked in this
fix for Mathieu -- Josh noticed that hitting "More Choices"
enough times would crash; an index needed to be modulo-ized.
2000-08-03 Mathieu Lacage <mathieu@eazel.com>
* src/nautilus-switchable-search-bar.c:
(nautilus_switchable_search_bar_initialize): connect the simple
search bar and the copmlex search bar location_changed signals
to the switchable search bar.
2000-08-03 Michael Engber <engber@eazel.com>
* src/file-manager/fm-desktop-icon-view.c: (get_icon_container):
* src/file-manager/fm-desktop-icon-view.h:
* src/file-manager/fm-icon-view.c: (fm_icon_view_begin_loading):
Fix misspelling of DESKTOP (was DESKSTOP)
2000-08-03 Darin Adler <darin@eazel.com>
* libnautilus-extensions/nautilus-directory-async.c:
(cancel_metafile_read), (metafile_read_try_public_metafile),
(metafile_read_check_for_directory_callback),
(metafile_read_check_for_directory), (metafile_read_failed):
Added code to check if a URI is a directory before reading
the public metafile from it. Completes task 223.
* src/nautilus-sidebar-title.c:
(nautilus_sidebar_title_initialize_class), (update_font),
(update_title), (nautilus_sidebar_title_size_allocate):
Added code to update the font when the sidebar's size changes
since the font is based on the available space. Fixes bugs
1922 and 1901, I think.
(nautilus_sidebar_title_hit_test_icon): Added a return_if_fail.
* src/nautilus-window-menus.c: (append_bookmark_to_menu):
Fixed a problem I ran into where the signal was still connected
after the window was destroyed.
2000-08-03 John Sullivan <sullivan@eazel.com>
Reinstated the bug fix to 1781 from two days ago,
which was completely clobbered by Rebecca's checkin
yesterday.
* src/nautilus-switchable-search-bar.c:
(nautilus_switchable_search_bar_initialize_class),
(search_bar_preference_changed_callback),
(nautilus_switchable_search_bar_initialize),
(nautilus_switchable_search_bar_destroy),
(nautilus_switchable_search_bar_set_mode):
2000-08-03 Mathieu Lacage <mathieu@eazel.com>
* configure.in: fix build with new bonobo.
* libnautilus-extensions/Makefile.am: fix build with new bonobo.
* libnautilus/Makefile.am: fix build with new bonobo.
2000-08-03 Darin Adler <darin@eazel.com>
* check-signals.pl: Wrote a script to check for people who forget
to call gtk_object_class_add_signals. It found only one violation,
and that was already fixed by the time I got around to checking
this in.
* libnautilus-extensions/nautilus-directory-async.c:
(get_info_callback): Added a code to check the error result from
get_file_info. Without this, we were doing
* src/nautilus-sidebar-title.c: (nautilus_sidebar_title_set_uri):
Fixed it so we won't destroy and then instantly recreate the same
NautilusFile if the URI is set to the same value.
2000-08-03 Michael K. Fleming <mfleming@eazel.com>
* components/services/install/command-line/eazel-alt-install-corba.c:
(get_password_dude):
* components/services/time/command-line/main.c: (get_password):
* components/services/trilobite/sample/command-line/main.c:
(get_password_dude):
Changed CLI password prompts to use getpass()
* nautilus-clean.sh:
added eazel-proxy to -x
2000-08-03 Gene Z. Ragan <gzr@eazel.com>
* libnautilus-extensions/nautilus-volume-monitor.c:
(nautilus_volume_monitor_initialize_class), (mount_device_mount),
(mount_device_deactivate), (get_floppy_volume_name),
Some cleanup. Added a signal for volume_unmount
as well.
(add_mount_link_property), (is_volume_link):
Functions that set and test if a nautilus link
is also a volume mount link.
* src/file-manager/fm-desktop-icon-view.c:
(fm_desktop_icon_view_initialize):
Added a test call to identify volume links.
2000-08-03 Maciej Stachowiak <mjs@eazel.com>
* components/tree/nautilus-tree-node-private.h: Forgot to check
this in.
2000-08-03 Maciej Stachowiak <mjs@eazel.com>
Rewrote the tree view to do model/view separation, and in the
process fixed bugs 1519, 1520, 1526, 1529, 1531 and 1522. Some of these
are not for the current milestone, but just fell out naturally
from doing the model/view separation, which makes the remaining
required tasks far easier.
* components/tree/nautilus-tree-model.h: *
components/tree/nautilus-tree-model.c:
(nautilus_tree_model_initialize_class),
(nautilus_tree_model_initialize),
(nautilus_tree_stop_monitoring_internal),
(nautilus_tree_model_destroy), (nautilus_tree_model_new),
(report_root_node_if_possible),
(nautilus_tree_model_root_node_file_monitor),
(nautilus_tree_model_set_root_uri),
(nautilus_tree_model_monitor_add),
(nautilus_tree_model_monitor_remove),
(nautilus_tree_model_directory_files_changed_callback),
(nautilus_tree_model_directory_files_added_callback),
(nautilus_tree_model_directory_done_loading_callback),
(nautilus_tree_model_monitor_node),
(nautilus_tree_model_stop_monitoring_node),
(nautilus_tree_model_get_node), (uri_get_parent_text),
(report_node_added), (report_node_changed), (report_node_removed),
(report_done_loading): Implemented all the calls and signals and
monitoring and stuff for the new tree model.
* components/tree/nautilus-tree-node.h,
components/tree/nautilus-tree-node.c:
(nautilus_tree_node_initialize_class),
(nautilus_tree_node_initialize), (nautilus_tree_node_destroy),
(nautilus_tree_node_new), (nautilus_tree_node_set_parent),
(nautilus_tree_remove_from_parent): New class that represents a
single node in the tree.
* 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),
(nautilus_tree_view_model_node_added_callback),
(nautilus_tree_view_model_node_changed_callback),
(nautilus_tree_view_model_node_removed_callback),
(nautilus_tree_view_load_from_filesystem),
(nautilus_tree_view_initialize), (disconnect_model_handlers),
(nautilus_tree_view_destroy), (tree_expand_callback),
(tree_collapse_callback), (tree_select_row_callback): Adapt to
using the new NautilusTreeModel and NautilusTreeNodes instead of
using NautilusDirectories and NautilusFiles directly.
* components/tree/Makefile.am: Include new files in build.
2000-08-03 Maciej Stachowiak <mjs@eazel.com>
* libnautilus-extensions/nautilus-directory-async.c
(metafile_read_done): Set directory->details->metafile_read_handle
to NULL after freeing it, otherwise we will get random crashing.
2000-08-02 Mathieu Lacage <mathieu@eazel.com>
* src/file-manager/fm-directory-view.c (fm_directory_view_initialize_class)
fixes really evil bug: add a call to gtk_object_class_add_signals at
the end of the signal creation.
2000-08-02 Andy Hertzfeld <andy@eazel.com>
* libnautilus-extensions/nautilus-icon-factory.c: (embed_text):
draw embedded text in a san-serif font, as suggested by Susan
* data/emblems/Makefile.am:
* data/emblems/OK.png:
* data/emblems/draft.png:
* data/emblems/important.png:
* data/emblems/new.png
* data/emblems/personal.png:
* data/emblems/urgent.png:
* icons/Makefile.am:
* icons/eazel/i-directory.xml:
* icons/eazel/i-regular.xml:
* icons/emblem-OK.svg:
* icons/emblem-draft.svg:
* icons/emblem-important.svg:
* icons/emblem-new.svg:
* icons/emblem-noread.svg:
* icons/emblem-personal.svg:
* icons/emblem-urgent.svg:
added a bunch of new emblems from Susan and tweaked some offsets
in the xml files.
2000-08-02 Rebecca Schulman <rebecka@eazel.com>
Completed bug 1433, the interface to search by file
name and attribute.
* libnautilus-extensions/nautilus-search-uri.c:
* libnautilus-extensions/nautilus-search-uri.h:
* libnautilus-extensions/Makefile.am:
removed the search uri files and placed their functionality
in the appropriate search bar classes.
* libnautilus-extensions/nautilus-search-bar-criterion-private.h:
* libnautilus-extensions/nautilus-search-bar-criterion.h:
* libnautilus-extensions/nautilus-search-bar-criterion.c:
(nautilus_search_bar_criterion_new_from_values),
(nautilus_search_bar_criterion_next_new),
(nautilus_search_bar_criterion_get_location),
(get_next_default_search_criterion_type),
(nautilus_search_bar_criterion_show),
(nautilus_search_bar_criterion_hide), (get_name_location_for),
(get_content_location_for), (get_file_type_location_for),
(get_size_location_for), (get_emblem_location_for),
(get_date_modified_location_for), (get_owner_location_for):
added ability to turn the criteria state into a text
explanation for the search uri. It is slightly circuitous,
because search uris are not internationalized.
* libnautilus-extensions/nautilus-string.c:
* libnautilus-extensions/nautilus-string.h:
(nautilus_str_strip_trailing_str), (nautilus_self_check_string):
added new string function used by the search bar criterion code,
to strip a string off the end of an existing string.
* src/nautilus-complex-search-bar.c:
(nautilus_complex_search_bar_initialize),
(nautilus_complex_search_bar_get_location),
(attach_criterion_to_search_bar),
(unattach_criterion_from_search_bar),
(load_find_them_pixmap_widget), (fewer_options_callback):
tweaks to make sizing an spacing on the bar better, and
added search pixmap to the find button. Moved the find
them button here from the switchable search bar
class for appearance reasons.
* src/nautilus-simple-search-bar.c:
(nautilus_simple_search_bar_initialize),
(nautilus_simple_search_bar_set_location),
(nautilus_simple_search_bar_get_location),
(nautilus_search_uri_to_simple_search_criteria),
(nautilus_simple_search_criteria_to_search_uri):
moved search uri functionality and
find them button into the simple search bar class for
apprearance reasons.
* src/nautilus-switchable-search-bar.c:
* src/nautilus-switchable-search-bar.h:
(nautilus_switchable_search_bar_initialize_class),
(nautilus_switchable_search_bar_initialize),
(nautilus_switchable_search_bar_set_mode),
(nautilus_search_uri_to_search_bar_mode),
(nautilus_search_uri_is_displayable_by_mode), (other_search_mode):
moved the find them button out of this class.
2000-08-02 Darin Adler <darin@eazel.com>
Finished task 222 "Don't look for metafile for some URIs for
performance reasons."
* libnautilus-extensions/nautilus-directory-private.h:
* libnautilus-extensions/nautilus-directory-async.c:
(cancel_metafile_read), (can_use_public_metafile),
(metafile_read_done), (metafile_read_failed),
(metafile_read_start), (nautilus_directory_request_read_metafile),
(metafile_write_failed), (metafile_write_callback),
(nautilus_metafile_write_start), (metafile_write):
Added logic to check if it should use a public metafile for a
particular directory, respecting the new preference setting.
Also delete the private metafile after a successful write of
the public metafile. Finally, do metafile writes completely
based on the preference, not which metafile was read.
* libnautilus-extensions/nautilus-directory.c:
(nautilus_directory_destroy), (construct_private_metafile_uri),
(nautilus_directory_new), (any_non_metafile_item),
(nautilus_directory_is_not_empty): Changes to go along with the
metafile reading/writing changes above.
* libnautilus-extensions/nautilus-file.c: (nautilus_file_delete):
Added FIXMEs about async. operations.
2000-08-02 Eskil Heyn Olsen <eskil@eazel.com>
* src/nautilus-window-manage-views.c: (compute_default_title):
if gnome-vfs-uri-extract-short-name returns NULL, default to
_("(untitled)") instead of g_assert. (bug#1892)
2000-08-02 Seth Nickell <seth@eazel.com>
* src/file-manager/dfos-xfer.c: (get_duplicate_lettering),
(handle_xfer_duplicate), (fs_xfer):
Make file copies use "another" "4th" etc rather than numbers.
Add support for creating symbolic links.
2000-08-02 Seth Nickell <seth@eazel.com>
* libnautilus-extensions/nautilus-file-utilities.c:
(nautilus_make_uri_from_input):
Add escaping code to the location bar.
2000-08-02 Michael Engber <engber@eazel.com>
* src/nautilus-application.c: (nautilus_application_startup),
(nautilus_application_close_desktop),
(nautilus_application_close_all_windows):
* src/nautilus-application.h:
* src/nautilus-first-time-druid.c: (druid_finished):
* src/nautilus-main.c: (main):
* src/nautilus-shell-interface.idl:
* src/nautilus-shell.c: (nautilus_shell_get_epv),
(corba_start_desktop), (corba_stop_desktop), (corba_quit):
Changed command line options: renamed --manage-destop to
--start-desktop, added --stop-desktop, added --quit. Bug#1847
2 new corba calls for nautilus shell, one for starting the
desktop and one for quitting.
2000-08-02 John Sullivan <sullivan@eazel.com>
Fixed bug 1877 (Customize window doesn't come to front if
it's already showing when menu item selected)
* src/nautilus-property-browser.c:
(nautilus_property_browser_show): Use nautilus_gtk_window_present
instead of gtk_widget_show.
* libnautilus-extensions/nautilus-global-preferences.c:
(nautilus_global_preferences_show_dialog): Same thing for the
user-level settings window.
2000-08-02 Darin Adler <darin@eazel.com>
* libnautilus-extensions/nautilus-file.c: (nautilus_file_changed):
Fixed a bug where we did not send out "changed" signals for files
that have no parents (like "/").
* libnautilus-extensions/nautilus-directory-async.c: (is_needy),
(select_needy_file): Improved logic so it works more precisely
for non-parented files.
2000-08-02 Gene Z. Ragan <gzr@eazel.com>
Fixed bug 1866, Turn volume mounting code into an object.
Monitor now emits a signal, volume_mounted, when a mount occurs.
Removed the old fm-desktop-mounting files and added
new nautilus-volume-monitor files.
* libnautilus-extensions/Makefile.am:
* src/file-manager/Makefile.am:
Added new files and removed old ones.
* libnautilus-extensions/nautilus-cdrom-extensions.h:
New file
* libnautilus-extensions/nautilus-iso9660.h:
New file
* libnautilus-extensions/nautilus-volume-monitor.c:
New file
(nautilus_volume_monitor_initialize),
(nautilus_volume_monitor_initialize_class),
(nautilus_volume_monitor_destroy), (nautilus_volume_monitor_get),
(floppy_sort), (fm_desktop_get_removable_volume_list),
(nautilus_volume_monitor_volume_is_mounted),
(mount_device_is_mounted), (mount_device_cdrom_set_state),
(mount_device_floppy_set_state), (mount_device_ext2_set_state),
(mount_device_set_state), (device_set_state_empty),
(mount_device_mount), (mount_device_activate_cdrom),
(mount_device_activate_floppy), (mount_device_activate_ext2),
(mount_device_activate), (eject_cdrom), (mount_device_deactivate),
(mount_device_do_nothing), (mount_device_check_change),
(mount_devices_update_is_mounted), (mount_devices_check_status),
(check_permissions), (mount_device_floppy_add),
(mount_device_ext2_add), (cdrom_ioctl_frenzy),
(mount_device_iso9660_add), (mount_device_add_aliases),
(add_mount_device), (mntent_is_removable_fs), (mntent_has_option),
(nautilus_volume_monitor_find_mount_devices),
(nautilus_volume_monitor_mount_unmount_removable),
(remove_mount_link), (free_device_info), (get_iso9660_volume_name),
(get_ext2_volume_name), (get_floppy_volume_name):
* libnautilus-extensions/nautilus-volume-monitor.h:
New file
* src/file-manager/fm-cdrom-extensions.h:
* src/file-manager/fm-desktop-icon-view.c:
(fm_desktop_icon_view_destroy), (fm_desktop_icon_view_initialize),
(fm_desktop_icon_view_create_background_context_menu_items),
(fm_desktop_icon_view_trash_state_changed_callback),
(mount_unmount_removable), (place_home_directory):
* src/file-manager/fm-desktop-icon-view.h:
* src/file-manager/fm-desktop-mounting.c:
* src/file-manager/fm-desktop-mounting.h:
* src/file-manager/iso9660.h:
All old files that have been removed from build.
2000-08-02 Arlo Rose <arlo@eazel.com>
* icons/eazel/Back.png:
* icons/eazel/Forward.png:
* icons/eazel/Up.png:
* icons/eazel/Home.png:
* icons/eazel/Search.png:
* icons/eazel/Refresh.png:
* icons/eazel/Stop.png:
Fixed problems with he above PNG files to
stop the runtime errors.
2000-08-02 Ramiro Estrugo <ramiro@eazel.com>
* librsvg/rsvg-ft.c: (rsvg_ft_intern), (rsvg_ft_font_resolve),
(rsvg_ft_render_string):
Fix a small bug where a font entry was found in the table, but it
wasnt returned.
Quiet down debug noise.
* librsvg/test-ft.c: (glyph_render_test), (main):
Add some options and make affine transformation a simple identity
to help debug the coordinates of the rendered text.
2000-08-02 Darin Adler <darin@eazel.com>
* check-FIXME.pl: Added HACKING to the files to skip.
* components/services/install/idl/trilobite-eazel-install.idl:
* components/services/install/lib/eazel-install-corba-callback.c:
(impl_install_failed), (impl_uninstall_failed),
(eazel_install_callback_query):
* components/services/install/lib/eazel-install-corba-types.c:
(corba_packagedatastruct_from_packagedata),
(packagedata_from_corba_packagedatastruct):
* components/services/install/lib/eazel-install-corba.c:
(impl_Eazel_Install_query):
* components/services/install/lib/eazel-install-protocols.c:
(eazel_install_fetch_package),
(eazel_install_fetch_package_which_provides),
(get_url_for_package), (get_search_url_for_package):
* components/services/install/lib/eazel-install-rpm-glue.c:
(eazel_install_do_rpm_transaction_save_report),
(eazel_install_fetch_rpm_dependencies),
(eazel_uninstall_upward_traverse),
(eazel_uninstall_downward_traverse):
* components/services/install/lib/eazel-install-types.c:
(packagedata_destroy_foreach):
* src/file-manager/fm-directory-view.c: (activate_callback):
* src/nautilus-window.c: (nautilus_window_realize):
Fixed "FIXME bugzilla.eazel.com ###:" formatting to match what
check-FIXME.pl looks for. The colon goes after the bug number.
And it has to be "bugzilla.eazel.com", not "bug".
* libnautilus-extensions/nautilus-directory-async.c:
(allow_metafile): Fixed a comment.
* libnautilus-extensions/nautilus-drag.c:
(nautilus_drag_can_accept_item):
Got rid of a fixed FIXME and changed to use
nautilus_file_is_directory instead of nautilus_file_get_file_type.
2000-08-02 John Sullivan <sullivan@eazel.com>
Finished task 1554 (Need new preference for accessing
metadata remotely)
* libnautilus-extensions/nautilus-global-preferences.h,
* libnautilus-extensions/nautilus-global-preferences.c:
(global_preferences_create_dialog),
(global_preferences_register_for_ui): Defined new speed
tradeoff preference NAUTILUS_PREFERENCES_USE_PUBLIC_METADATA,
and put it into the preferences dialog. The title is a little
funky ("Make Directory Appearance Details Public"); hopefully
we can improve on that eventually.
2000-08-02 Andy Hertzfeld <andy@eazel.com>
* icons/eazel/Makefile.am:
* icons/eazel/eazel.xml:
* icons/eazel/number_strip.png:
* icons/eazel/Back.png:
* icons/eazel/Forward.png:
* icons/eazel/Up.png:
* icons/eazel/Home.png:
* icons/eazel/Search.png:
* icons/eazel/Refresh.png:
* icons/eazel/Stop.png:
new icons for eazel theme from Susan
2000-08-02 Josh Barrow <linuxfan@ionet.net>
* icons/arlo/arlo.xml:
Changed to use Arlo's backgrounds.
2000-08-02 Ramiro Estrugo <ramiro@eazel.com>
* libnautilus-extensions/nautilus-radio-button-group.c:
(nautilus_radio_button_group_initialize),
(nautilus_radio_button_group_new),
(nautilus_radio_button_group_set_entry_pixbuf),
(nautilus_radio_button_group_set_entry_description_text):
* libnautilus-extensions/nautilus-radio-button-group.h:
Have only one constructor and feed it whether the radio button
group is horizontal or not.
Changed the login of some assertions on code that is meant for the
NOT horzontal case. This should fix the torrent of assertions at
startup.
* libnautilus-extensions/nautilus-preferences-item.c:
(preferences_item_create_enum),
(preferences_item_create_short_enum):
Update for radio button group constructor change.
* src/nautilus-first-time-druid.c: (set_up_user_level_page),
(set_up_service_signup_page):
Update for radio button group constructor change.
* test/test-nautilus-widgets.c: (main), (radio_group_load_it_up),
(test_radio_group), (test_radio_group_horizontal):
Add a test for the radio button group horizontal case.
2000-08-02 Pavel Cisler <pavel@eazel.com>
* src/file-manager/fm-desktop-icon-view.c:
(fm_desktop_icon_view_initialize),
(fm_desktop_icon_view_trash_state_changed_callback):
Move the desktop icon updating call here from fm_directory_view.c.
Since there is only one desktop, we will only try to update the
Trash icon once this way, rather than once for every open window.
Hook up the trash trash_state_changed properly.
* src/file-manager/fm-directory-view.c:
(fm_directory_view_initialize), (compute_menu_item_info),
(fm_directory_view_trash_state_changed_callback):
Fix bugzilla 656: Empty Trash menu item is enabled even when Trash
is empty.
Hook up to the trash_state_changed signal and trigger a menu update for
the change.
* src/file-manager/nautilus-trash-monitor.c:
* src/file-manager/nautilus-trash-monitor.h:
(nautilus_trash_monitor_is_empty):
Forgot to implement this one in my last checkin and it's needed for the
above call.
2000-08-02 Pavel Cisler <pavel@eazel.com>
Bugzilla bug 1400
* libnautilus-extensions/nautilus-directory.c:
* libnautilus-extensions/nautilus-directory.h:
(any_non_metafile_item),
(nautilus_directory_is_not_empty):
Added a call I needed to check a directory empty state.
* src/file-manager/Makefile.am:
* src/file-manager/nautilus-trash-monitor.h:
* src/file-manager/nautilus-trash-monitor.c:
(nautilus_trash_monitor_initialize_class),
(nautilus_trash_files_changed_callback),
(nautilus_trash_metadata_ready_callback),
(nautilus_trash_monitor_initialize), (nautilus_trash_monitor_get),
(nautilus_trash_monitor_shutdown):
New trash state monitoring class, used to update the Trash icon, etc.
* src/file-manager/fm-directory-view.c:
(bonobo_menu_empty_trash_callback), (fm_directory_view_initialize),
(fm_directory_view_trash_or_delete_selection),
(trash_state_changed_callback):
Hook up to the Trash monitor change signal.
Tweak the callback Gene prepared for me earlier that updates the
Trash icon to use the new signal.
* src/file-manager/fm-directory-view.c:
(finish_loading_uri):
Tiny tweak - use a cover call instead of emitting a signal directly.
2000-08-02 Ali Abdin <aliabdin@aucegypt.edu>
* components/help/help-method.c:
(transform_file):
Bugfix to use 'new_uri_with_extension' instead of just 'new_uri' in
some places.
* components/help/converters/gnome-db2html2/sect-elements.c:
* components/help/converters/gnome-db2html2/gdb3html.h:
Added a placeholder for the <MENUCHOICE> tag. Also added the
<GUISUBMENU> tag and made it act just like <GUIMENU> (these two still
need to be modified to handle the correct behavior).
* components/help/converters/gnome-db2html2/toc-elements.c:
(toc_title_start_element):
Change 'ghelp' to 'help'
2000-08-02 Ramiro Estrugo <ramiro@eazel.com>
* components/services/install/command-line/.cvsignore:
Ignore more generated files.
2000-08-02 Ramiro Estrugo <ramiro@eazel.com>
* libnautilus-extensions/nautilus-string-picker.c:
(nautilus_string_picker_set_string_list),
(nautilus_string_picker_get_string_list):
* libnautilus-extensions/nautilus-string-picker.h:
Add an accessor for the string_list.
2000-08-02 Andy Hertzfeld <andy@eazel.com>
* libnautilus-extensions/nautilus-icon-factory.c:
(scale_image_and_info), (scale_image_down_if_too_big),
(load_image_scale_if_necessary):
made it scale the attach_points when necessary
2000-08-02 Andy Hertzfeld <andy@eazel.com>
this almost completes the emblem attach point stuff, at least for the eazel theme,
but there's still some tweaking left to do
* libnautilus-extensions/nautilus-icon-canvas-item.c,h:
(nautilus_icon_canvas_item_destroy),
(nautilus_icon_canvas_item_set_attach_points),
(emblem_layout_reset), (emblem_layout_next):
added an attach_points attribute, and used it to determine the
emblem positions if set
* libnautilus-extensions/nautilus-icon-container.c:
(nautilus_icon_container_update_icon):
get the emblem attach points from the icon factory, and tell the
canvas item about them.
* libnautilus-extensions/nautilus-icon-factory.c,h:
(parse_attach_points), (get_themed_icon_file_path),
(load_specific_image), (get_image_from_cache),
(nautilus_icon_factory_get_pixbuf_for_icon):
cleaned up and debugged the attach point handling
* icons/eazel/Makefile.am:
* icons/eazel/i-directory-accept.xml:
* icons/eazel/i-directory.xml:
set the emblem positions of folders in the eazel theme
2000-08-02 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):
Add mozilla int pref poke function. Add commented proxy pref poke
command for comrade diskzero.
2000-08-01 Eskil Heyn Olsen <eskil@eazel.com>
* components/services/install/command-line/Makefile.am:
Added eazel-revert, should probably change name...
* components/services/install/command-line/eazel-alt-install-corba.c:
(done), (main):
Fixed type in the POPT options and the destruction of the
eazelinstall object.
* components/services/install/command-line/eazel-alt-install.c:
(main):
Tried to revive it, but dropped it. Probably would be a nice
feature, as to make a statically linked tool (see bug#1863).
* components/services/install/command-line/eazel-revert.c:
(set_parameters_from_command_line), (eazel_preflight_check_signal),
(eazel_download_progress_signal), (eazel_install_progress_signal),
(download_failed), (install_failed), (dep_check), (delete_files),
(done), (get_password_dude), (set_root_client), (main):
Did the first pass at a cli reversion tool.
* components/services/install/idl/trilobite-eazel-install.idl:
Removed some oneway statements and added the revert-transaction
call.
* components/services/install/lib/eazel-install-corba.c:
(impl_Eazel_Install_uninstall_packages),
(impl_Eazel_Install_revert_transaction), (eazel_install_get_epv):
* components/services/install/lib/eazel-install-corba-callback.h:
* components/services/install/lib/eazel-install-corba-callback.c:
(eazel_install_callback_destroy), (eazel_install_callback_query),
(eazel_install_callback_revert_transaction):
Added the revert-transaction hooks.
* components/services/install/lib/eazel-install-corba-types.c:
(corba_packagedatastruct_from_packagedata):
Updated for the changes to trilobite-distro-get-name
* components/services/install/lib/eazel-install-public.h:
* components/services/install/lib/eazel-install-object.c:
(eazel_install_destroy), (eazel_install_install_packages),
(eazel_install_uninstall_packages),
(eazel_install_revert_transaction_from_xmlstring):
install downloads the package list to the tmpdir. Added the code
to call the revert-transaction in rpm-glue.c
* components/services/install/lib/eazel-install-protocols.c:
(http_fetch_remote_file), (get_search_url_for_package):
First stuff for using lhamels rpmsearch cgi script.
* components/services/install/lib/eazel-install-rpm-glue.h:
* components/services/install/lib/eazel-install-rpm-glue.c:
(ei_get_packages_with_mod_flag), (ei_check_uninst_vs_downgrade),
(hest), (revert_transaction),
(eazel_install_do_rpm_transaction_save_report_helper),
(eazel_install_do_rpm_transaction_save_report),
(eazel_uninstall_upward_traverse):
Did bug#1586, 1818, 1820. Hest is a debug function, will go
away. The rest is code for the revert-transaction.
* components/services/install/lib/eazel-install-types.c:
(packagedata_fill_from_rpm_header):
Read the RPMTAG_SUMMARY instead of RPMTAG_DESCRIPTION.
* components/services/install/lib/eazel-install-xml-package-list.h:
* components/services/install/lib/eazel-install-xml-package-list.c:
(parse_package), (parse_memory_transaction_file),
(eazel_install_packagedata_to_xml):
Added code to parse a transaction file (bug#1817). Also some
sanity checks wrt reading the status fields.
* components/services/trilobite/libtrilobite/trilobite-core-distribut
ion.c: (trilobite_get_distribution_name):
* components/services/trilobite/libtrilobite/trilobite-core-distribut
ion.h:
Added a compact version of the distro names.
* components/services/install/lib/makefile.staticlib.in:
* nautilus-installer/src/Makefile:
* nautilus-installer/src/Makefile.am:
* nautilus-installer/src/installer.c: (installer), (oaf_init),
(bonobo_init):
* nautilus-installer/src/link.sh:
* nautilus-installer/src/main.c: (main):
* nautilus-installer/src/prescript:
Updated the installer wrt the changes in libeazelinstall.
2000-08-01 Robey Pointer <robey@eazel.com>
* components/services/install/server/Makefile.am:
* components/services/install/server/main.c: (main):
*
components/services/trilobite/libtrilobite/trilobite-service-passwo
rdquery.c: (trilobite_passwordquery_get_password):
* components/services/trilobite/sample/service/Makefile.am:
Get rid of last references to libnautilus within services
(services shouldn't need to link with any libnautilus code now,
outside of nautilus-views).
2000-08-01 Andy Hertzfeld <andy@eazel.com>
lots of work towards task 1741, which is to have emblem attach points
optionally associated with an icon, but no payoff quite yet.
* libnautilus-extensions/nautilus-icon-factory.c,h:
(parse_attach_points), (get_themed_icon_file_path),
(get_icon_file_path), (load_specific_image),
(load_image_for_scaling), (scale_image_down_if_too_big),
(load_image_scale_if_necessary), (get_image_from_cache),
(nautilus_icon_factory_get_pixbuf_for_icon),
(nautilus_icon_factory_get_pixbuf_for_file),
(load_image_with_embedded_text):
changed the text_rect structure to an internal IconInfo structure
that includes the text_rect and an array of emblem attach points.
also, define an EmblemAttachPoints structure for external use.
Read in the attach points from an xml file if present.
added a parameter to get_pixbuf_for_icon to optionally return
an EmblemAttachPoints structure.
* libnautilus-extensions/nautilus-icon-container.c:
(nautilus_icon_container_update_icon):
ask for emblem attach points when fetching an icons's pixbuf
* libnautilus-extensions/nautilus-bookmark.c:
(nautilus_bookmark_get_pixbuf):
added NULL parameter to get_pixbuf_for_icon_call
* src/file-manager/fm-list-view.c:
(fm_list_view_get_emblem_pixbufs_for_file):
added NULL parameter to get_pixbuf_for_icon_call
* src/file-manager/fm-properties-window.c:
(create_image_widget_for_emblem):
added NULL parameter to get_pixbuf_for_icon_call
* src/nautilus-sidebar-title.c: (update_emblems):
added NULL parameter to get_pixbuf_for_icon_call
* icons/eazel/Makefile.am:
* icons/eazel/i-directory.xml:
added an xml file for the directory in the eazel theme to specify
its emblem attach points
2000-08-01 Darin Adler <darin@eazel.com>
* src/nautilus-sidebar-tabs.c: (draw_or_hit_test_all_tabs):
Fixed an uninitialized variable problem that caused a crash on
boot for Kai Lahmann (thanks for the help, Kai).
* libnautilus-extensions/nautilus-file.c:
(nautilus_file_compare_for_sort_internal):
(nautilus_file_get_string_attribute), Got rid of "real_name"
and made "name" just do what "real_name" did before. Renamed
"real_directory" to just "directory".
* src/file-manager/fm-list-view.h:
* src/file-manager/fm-list-view-private.h:
* src/file-manager/fm-list-view.c: (fm_list_view_initialize_class),
(fm_list_view_initialize), (fm_list_view_destroy),
(fm_list_view_compare_rows), (compare_rows_by_name),
(match_row_name), (select_matching_name_callback),
(fm_list_nautilus_file_at), (row_get_data_binder),
(fm_list_get_drag_pixmap), (create_list), (set_up_list),
(add_to_list), (get_list), (fm_list_view_begin_loading),
(fm_list_view_set_zoom_level), (fm_list_view_sort_items),
(get_column_from_attribute), (get_sort_column_from_attribute),
(install_row_images), (update_icons),
(fm_list_view_embedded_text_policy_changed),
(fm_list_view_image_display_policy_changed),
(get_number_of_columns), (get_link_column),
(get_column_specification), (get_column_titles),
(get_column_attribute), (get_column_sort_criterion),
(fm_list_view_column_set), (real_get_number_of_columns),
(real_get_link_column), (real_get_column_specification):
* src/file-manager/fm-search-list-view.h:
* src/file-manager/fm-search-list-view.c:
(fm_search_list_view_initialize_class),
(fm_search_list_view_initialize), (real_get_number_of_columns),
(real_get_link_column), (real_get_column_specification):
Refactored the list view code so that the search list view
doesn't have to replicate anything and can just describe the
differences between it and the non-search list view. I was
able to get rid of a lot of complexity while doing this.
Changed to use the new "name" and "directory" instead of the
old "real_name" and "real_directory" at the same time.
* libnautilus-extensions/nautilus-file.c:
(nautilus_file_new_from_name), (nautilus_file_get), (destroy),
(nautilus_file_is_self_owned),
(nautilus_file_get_parent_uri_as_string),
(get_file_for_parent_directory), (nautilus_file_rename),
(nautilus_file_get_gnome_vfs_uri),
(nautilus_file_get_uri), (nautilus_file_mark_gone),
(nautilus_file_changed):
* libnautilus-extensions/nautilus-directory-private.h:
* libnautilus-extensions/nautilus-directory-async.c:
(select_needy_file):
Redid the "self-owning" file handling (for URIs with no parent) so
that a URI doesn't show up as one of its own children.
* libnautilus-extensions/nautilus-directory.c:
(nautilus_directory_is_search_directory):
Took out "gnome-trash:" which doesn't belong in here. We are doing
trash at the NautilusDirectory level, not the gnome-vfs level.
* icons/arlo/backgrounds/.cvsignore: [added]
* icons/arlo/backgrounds/Makefile.in: [removed]
Added the missing cvsignore file and got rid of the Makefile.in,
which should not be in cvs.
2000-08-01 Arlo Rose <arlo@eazel.com>
* icons/thumbnail_frame.png
* icons/thumbnail_frame.aa.png
Made them a bit lighter.
2000-08-01 Robin * Slomkowski <rslomkow@eazel.com>
* src/run-nautilus: added return signal
2000-08-01 Arlo Rose <arlo@eazel.com>
* icons/thumbnail_frame.aa.png
Made it a bit darker.
* icons/gnome-pack-rpm.png
Arlo-ized the icon.
2000-08-01 Gene Z. Ragan <gzr@eazel.com>
Fixed bug 1790, want a command to cause-removable media check.
Well, here it is. I am sure Josh will have fun finding bugs.
* src/file-manager/fm-desktop-icon-view.c:
(fm_desktop_icon_view_destroy),
(fm_desktop_icon_view_create_background_context_menu_items):
Added menu item to desktop icon view that lists possible
mounted volumes and there current mount status.
* src/file-manager/fm-desktop-mounting.c:
(floppy_sort),
(fm_desktop_get_removable_volume_list),
(fm_desktop_mount_unmount_removable),
(mount_device_cdrom_set_state), (mount_device_floppy_set_state),
(mount_device_activate_floppy), (eject_cdrom),
(mount_device_deactivate), (mount_device_floppy_add),
(mount_device_ext2_add), (cdrom_ioctl_frenzy),
(mount_device_iso9660_add), (add_mount_device),
(mntent_is_removable_fs), (fm_desktop_find_mount_devices):
Added support for our new exciting mount menu item.
2000-08-01 John Sullivan <sullivan@eazel.com>
Finished task 1781 (Type of search bar should change
immediately when preference changes)
* src/nautilus-switchable-search-bar.c:
(nautilus_switchable_search_bar_initialize): register to
be notified of changes to the search-bar preference.
(search_bar_preference_changed_callback): React to changes
to the search-bar preference by calling _set_mode
(nautilus_switchable_search_bar_initialize_class):
install destroy handler.
(nautilus_switchable_search_bar_destroy): Unregister
search-bar preference callback.
(nautilus_switchable_search_bar_set_mode): Added a FIXME
comment about a reported bug.
2000-08-01 Michael Engber <engber@eazel.com>
* libnautilus/nautilus-bonobo-ui.h:
* src/file-manager/fm-desktop-icon-view.c:
(fm_desktop_icon_view_create_background_context_menu_items):
* src/file-manager/fm-directory-view.c:
(reset_bonobo_trash_delete_menu),
(fm_directory_view_real_merge_menus):
* src/file-manager/fm-directory-view.h:
* src/nautilus-application.c:
(nautilus_application_close_all_windows):
* src/nautilus-application.h:
* src/nautilus-window-menus.c:
(file_menu_close_all_windows_callback),
(nautilus_window_initialize_menus):
Removed "Close Nautilus Desktop" from the desktop's
right click menu. Removed "Exit" from the File menu.
Added "Close All Windows" t the File menu. Bug# 1846
2000-08-01 John Sullivan <sullivan@eazel.com>
Finished task 1552 (Need "never" option for display-embedded-text
preference)
Finished task 1553 (Need always/local-only/never preference for
creating image thumbnails)
* libnautilus-extensions/nautilus-radio-button-group.h:
* libnautilus-extensions/nautilus-radio-button-group.c:
Added "horizontal" field in Details struct.
(nautilus_radio_button_group_initialize): Initialize
"horizontal" to FALSE (the default; what you get when
calling plain "nautilus_radio_button_group_new").
(nautilus_radio_button_group_new_horizontal): New function,
used when radio buttons should be laid out in one row; sets
details->horizontal to TRUE.
(nautilus_radio_button_group_insert): Lay out the items
differently depending on value of details->horizontal.
(nautilus_radio_button_group_set_entry_pixbuf),
(nautilus_radio_button_group_set_entry_description_text):
Added g_return_if_fails if details->horizontal is true
(because the horizontal layout doesn't have a place to
put an icon or longer description; we could change that
later if we needed to)
* libnautilus-extensions/nautilus-preferences-item.h:
Added new NAUTILUS_PREFERENCE_ITEM_SHORT_ENUM type for
preferences dialog, to be used when the choices are small
enough to fit in one row.
* libnautilus-extensions/nautilus-preferences-item.c:
(preferences_item_create_short_enum): New function, just like
preferences_item_create_enum but uses horizontal radio button
group.
(preferences_item_construct): Call create_short_enum when
type is NAUTILUS_PREFERENCE_ITEM_SHORT_ENUM
* libnautilus-extensions/nautilus-global-preferences.h:
Took the "REMOTE" out of the name of
NAUTILUS_PREFERENCES_SHOW_TEXT_IN_REMOTE_ICONS; added
NAUTILUS_PREFERENCES_SHOW_IMAGE_FILE_THUMBNAILS; added
NautilusSpeedTradeoffValue enum.
* libnautilus-extensions/nautilus-global-preferences.c:
(global_preferences_create_dialog): Added thumbnails preference
to Speed Tradeoffs pane.
(global_preferences_register_speed_tradeoff_with_defaults):
New convenience function for registering always/local-only/never
preferences.
(global_preferences_register_for_ui): Register the embedded text
and thumbnail-creation speed-tradeoff preferences.
* libnautilus-extensions/nautilus-file.c:
(nautilus_file_should_get_top_left_text): Respect all three
states of the embedded-text preference.
* libnautilus-extensions/nautilus-icon-factory.c:
(should_display_image_file_as_itself): New function, respects the
three states of the create-thumbnails preference.
(nautilus_icon_factory_get_icon_for_file): Check preference
before creating thumbnails (including image-as-itself case).
* src/file-manager/fm-directory-view.h:
New handlers for subclasses to fill in for when embedded-text
and thumbnail preferences change.
* src/file-manager/fm-directory-view.c:
(fm_directory_view_initialize): Start monitoring embedded-text
and thumbnail preferences.
(fm_directory_view_destroy): Stop monitoring preferences.
(embedded_text_policy_changed_callback),
(image_display_policy_changed_callback): React when preferences
change by executing subclass's handler, if any. I also put a
hideous hack in here for kick-starting the embedded-text-reading
code that otherwise wasn't working in some cases (will fix with
Darin).
* src/file-manager/fm-icon-view.c:
(fm_icon_view_initialize_class): Install handlers for embedded-text
and thumbnail preference changes.
(fm_icon_view_embedded_text_policy_changed),
(fm_icon_view_image_display_policy_changed): New functions; these
are said handlers.
* src/file-manager/fm-list-view.c:
(fm_list_view_initialize_class): Install handlers for embedded-text
and thumbnail preference changes.
(fm_list_view_embedded_text_policy_changed),
(fm_list_view_image_display_policy_changed): New functions; these
are said handlers.
2000-08-01 Gene Z. Ragan <gzr@eazel.com>
* src/file-manager/fm-desktop-mounting.c:
(fm_desktop_mount_unmount_removable):
Fixed a crasher that involved a conflict with the automounter
and the user manually mounting and unmounting.
2000-08-01 Gene Z. Ragan <gzr@eazel.com>
More work on the desktop volume mount menu item.
* src/file-manager/fm-desktop-icon-view.c:
(fm_desktop_icon_view_create_background_context_menu_items):
Work on showing state of current removable mounts
in context menu item.
* src/file-manager/fm-desktop-mounting.c:
* src/file-manager/fm-desktop-mounting.h:
(fm_desktop_mount_unmount_removable), (mount_device_check_change),
(mount_devices_update_is_mounted):
Fine tune mounting and unmounting removable volumes.
2000-08-01 Andy Hertzfeld <andy@eazel.com>
* libnautilus-extensions/nautilus-graphic-effects.c:
(draw_frame_row), (draw_frame_column), (stretch_frame_image):
rewrote stretch_frame_image to stretch the frame properly, by repeating the
area between the corners, instead of stretching the whole pixmap, which made it
blurry and uneven.
* libnautilus-extensions/nautilus-icon-canvas-item.c:
(draw_or_measure_label_text):
(nautilus_icon_factory_make_thumbnails):
set the border parameters correctly for the thumbnail frames
slight improvement to fix from last check-in
* libnautilus-extensions/nautilus-icon-factory.c:
2000-07-31 Andy Hertzfeld <andy@eazel.com>
* libnautilus-extensions/nautilus-icon-canvas-item.c:
(draw_or_measure_label_text):
only save and restore the foreground color if we're drawing, otherwise
the gc isn't allocated and we crash.
2000-07-31 Darin Adler <darin@eazel.com>
* libnautilus-extensions/nautilus-icon-canvas-item.c:
(draw_or_measure_label_text): Use RGB value for the label color.
Also fix bug where we would not restore the old foreground color
value in one case.
* libnautilus-extensions/nautilus-icon-private.h:
* libnautilus-extensions/nautilus-icon-container.h:
* libnautilus-extensions/nautilus-icon-container.c:
(nautilus_icon_container_initialize),
(nautilus_icon_container_get_label_color), (update_label_color):
Use an RGB color instead of allocating one. It's simpler.
* libnautilus-extensions/nautilus-stock-dialogs.c:
(timed_wait_free): Fixed backward assert that caused a core dump
any time you attempted to change an owner or group.
2000-07-31 Pavel Cisler <pavel@eazel.com>
* libnautilus-extensions/nautilus-directory.c:
(construct_alternate_metafile_uri):
Back out debugging hacks that must have gotten checked in
by accident and would have caused leaks.
2000-07-31 Andy Hertzfeld <andy@eazel.com>
* icons/eazel/i-regular.xml:
removed bogus entry for non-existent icon size and tweaked
the other sizes to better fit the icons.
2000-07-31 Maciej Stachowiak <mjs@eazel.com>
* nautilus-clean.sh: Added -m option to run medusa-restart.
2000-07-31 Arlo Rose <arlo@eazel.com>
* icons/arlo/backgrounds/background_pattern.png
Fixed a file name that didn't match up with the Makefile.am
2000-07-31 Rebecca Schulman <rebecka@eazel.com>
Rewrote the search list view subclass to be
more functional, and fixed most of the inheritance
issues. The search results are displayed in the
wrong columns still, but the data in them is readable
and correct.
* src/file-manager/fm-list-view-private.h:
* src/file-manager/fm-list-view.c: (fm_list_view_initialize_class),
(fm_list_view_initialize), (fm_list_view_compare_rows),
(fm_list_view_create_list), (add_to_list), (get_list),
(fm_list_view_sort_items),
(fm_list_view_get_attribute_from_column),
(fm_list_view_get_sort_criterion_from_column),
(fm_list_view_column_is_right_justified):
* src/file-manager/fm-list-view.h:
* src/file-manager/fm-search-list-view.c:
(fm_search_list_view_initialize_class),
(fm_search_list_view_initialize),
(fm_search_list_view_get_sort_criterion_from_column),
(fm_search_list_view_get_attribute_from_column),
(fm_search_list_view_compare_rows),
(fm_search_list_view_column_is_right_justified):
2000-07-31 Andy Hertzfeld <andy@eazel.com>
fixed bug 1034 and 1460, which were really the same bug: icon text
gets drawn when it shouldn't be when icons are scaled. This also
made the icon text rectangles wrong at different scale factors.
* libnautilus-extensions/nautilus-icon-factory.c:
(get_themed_icon_file_path), (load_specific_image),
(scale_image_and_rectangle), (load_image_with_embedded_text):
scale_image_and_rectangle used the icon width for the text
rectangle width, which was wrong - fixed by computing them
separately. Also, some small clean-ups.
2000-07-31 Gene Z. Ragan <gzr@eazel.com>
* src/file-manager/fm-desktop-mounting.c:
(mount_device_deactivate), (add_mount_device),
(fm_desktop_free_device_info):
Fixed a crasher in unmounting that was a result of changing the
way adding and removing icons to the desktop were done.
2000-07-31 Gene Z. Ragan <gzr@eazel.com>
Fixed bug 1838, seperate volume mounting code into a new source file.
* src/file-manager/Makefile.am:
* src/file-manager/fm-desktop-icon-view.c:
(fm_desktop_icon_view_destroy), (fm_desktop_icon_view_initialize),
(fm_desktop_icon_view_create_background_context_menu_items):
* src/file-manager/fm-desktop-icon-view.h:
* src/file-manager/fm-desktop-mounting.c:
(fm_desktop_rescan_floppy), (mount_device_is_mounted),
(mount_device_cdrom_set_state), (mount_device_floppy_set_state),
(mount_device_ext2_set_state), (mount_device_set_state),
(device_set_state_empty), (mount_device_mount),
(mount_device_activate_cdrom), (mount_device_activate_floppy),
(mount_device_activate_ext2), (mount_device_activate),
(mount_device_deactivate), (mount_device_do_nothing),
(mount_device_check_change), (mount_devices_update_is_mounted),
(mount_devices_check_status), (my_g_check_permissions),
(mount_device_floppy_add), (mount_device_ext2_add),
(cdrom_ioctl_frenzy), (mount_device_iso9660_add),
(mount_device_add_aliases), (add_mount_device),
(mntent_is_removable_fs), (mntent_has_option),
(fm_desktop_find_mount_devices), (remove_mount_link),
(fm_desktop_remove_mount_links), (fm_desktop_free_device_info),
(get_iso9660_volume_name), (get_ext2_volume_name),
(get_floppy_volume_name), (fm_desktop_place_home_directory):
* src/file-manager/fm-desktop-mounting.h:
2000-07-31 John Sullivan <sullivan@eazel.com>
Finished rest of bug 762 (Framework for dealing with
component that crashes). Remaining component-failure issues
have been split off as separate bugs.
* src/nautilus-sidebar.c: (nautilus_sidebar_remove_panel),
* src/nautilus-view-frame.c: (check_object):
Just added FIXME comments with bug numbers.
* src/nautilus-window-manage-views.c:
(report_sidebar_panel_failure_to_user):
Turned this from a placeholder to a real function that puts up
a sensible error message.
(nautilus_window_update_state): Moved the report_to_user call
to a place where it is hit in all the error cases, not just some.
* src/nautilus-window.c:
(window_update_sidebar_panels_from_preferences):
Call nautilus_window_disconnect_view on sidebar panel before
removing it the normal way so that it doesn't trigger the
report-error-to-user code.
2000-07-28 Darin Adler <darin@eazel.com>
Mostly some tweaking on the recent link file work.
* data/top/Makefile.am: Install the new ".link" files.
* data/top/Computer: Renamed from Computer.link and added the new stuff
needed for the MIME magic.
* data/top/Computer.link: [deleted]
* data/top/Services: Renamed from Services.link and added the new stuff
needed for the MIME magic.
* data/top/Services.link: [deleted]
* components/tree/nautilus-tree-view.c: (queue_pending_files):
* libnautilus-extensions/nautilus-file.c:
(nautilus_file_get_string_attribute):
Get rid of all use of nautilus_link_get_display_name since
links all have plain names now.
* libnautilus-extensions/nautilus-directory-async.c:
(set_up_request_by_file_attributes): Fix bug that was causing the
program to get the activation URI for every single icon. Lots of
extra I/O! Also changed it to get the file info first since the
activation URI is now based on MIME type.
(lacks_activation_uri): Don't try to get the activation URI until
after the file info is there.
(activation_uri_done),
(activation_uri_read_done),
(activation_uri_nautilus_link_read_callback),
(activation_uri_gmc_link_read_callback),
(start_getting_activation_uris):
Changed the code to read the activation URI to use MIME type,
so now it doesn't have to open every file just to find out if it's
a GMC link.
* libnautilus-extensions/nautilus-file-utilities.c:
(nautilus_get_desktop_directory): Get rid of a tiny bit of dead code.
* libnautilus-extensions/nautilus-file.h:
* libnautilus-extensions/nautilus-file.c:
(nautilus_file_contains_text): No need to special-case the link
file any more because its MIME type will now make it clear it's
not a text file. Also removed nautilus_file_activate_custom since
it's not needed any more and moved the logic into
fm-directory-view.c.
* libnautilus-extensions/nautilus-icon-factory.c:
(nautilus_icon_factory_get_icon_for_file): Added FIXMEs.
* libnautilus-extensions/nautilus-link-set.c:
(nautilus_link_set_install): Changed comments to not call link files
".link" files.
* libnautilus-extensions/nautilus-global-preferences.h:
* libnautilus-extensions/nautilus-global-preferences.c:
(global_preferences_register_for_ui): Removed the
NAUTILUS_PREFERENCES_SHOW_REAL_FILE_NAME preference since we no
longer have to lie about file names to make ".link" files
palatable.
* libnautilus-extensions/nautilus-link.h:
* libnautilus-extensions/nautilus-link.c: (nautilus_link_create):
Added code that notifies the NautilusFile framework that a new file
has been created, so callers don't have to worry about that.
(nautilus_link_is_link_file): Simplified the code -- turned it into
a one-liner.
(nautilus_link_set_icon): The old code had half NautilusFile calls
and half sync. I/O. Got rid of the NautilusFile stuff. Also put the
code in to notify the NautilusFile framework about the change to
the file.
(nautilus_link_get_root_property): Added FIXME.
(nautilus_link_get_additional_text): Added FIXME.
(nautilus_link_get_link_uri): Added FIXME.
Removed nautilus_link_get_display_name since it's not needed.
* src/nautilus-desktop-window.c: (nautilus_desktop_window_new):
Fixed GnomeVFSURI leak and turned a GnomeVFSURI into a text URI
with gnome_vfs_uri_to_string, rather than gnome_vfs_uri_get_path
which will not do anything useful.
* src/file-manager/fm-desktop-icon-view.c:
(mount_device_mount), (place_home_directory): Use
nautilus_get_uri_from_local_path instead of just sticking a
"file://" prefix on. Simplified by putting code to notify about
the link file into the link file create function. Some other
code cleanups and fixes of path/URI confusion.
* src/file-manager/fm-directory-view.c:
(fm_directory_view_initialize): Use NAUTILUS_N_ELEMENTS.
(fm_directory_view_display_selection_info), (queue_pending_files):
Get rid of use of nautilus_link_get_display_name.
(activate_callback): Added code to handle "command:" URIs, which
used to be in nautilus_file_activate_custom.
(fm_directory_view_activate_file): Get rid of call to the
nautilus_file_activate_custom function.
(set_trash_empty): Rewrote to simplify and fix some path/URI
confusion.
* src/file-manager/fm-icon-view.c: (get_icon_text_callback):
Get rid of use of nautilus_link_get_display_name.
* src/nautilus-property-browser.c:
(nautilus_property_browser_drag_data_get), (remove_background),
(remove_emblem), (emblem_image_file_changed),
(add_background_to_browser), (emblem_dialog_clicked),
(make_properties_from_directory): Use
nautilus_get_uri_from_local_path instead of just sticking a
"file://" prefix on.
(get_xml_path): Use nautilus_make_path instead of just sticking
a "/" between the two pieces.
2000-07-31 Gene Z. Ragan <gzr@eazel.com>
* src/file-manager/fm-desktop-icon-view.c:
(mount_device_floppy_add):
More floppy mount tweaking.
2000-07-30 Pavel Cisler <pavel@eazel.com>
* libnautilus-extensions/nautilus-icon-container.c:
(button_press_event), (nautilus_icon_container_initialize_class):
* libnautilus-extensions/nautilus-icon-container.h:
* src/file-manager/fm-desktop-icon-view.c:
(fm_desktop_icon_view_handle_middle_click),
(fm_desktop_icon_view_initialize):
Add support for the window manager middle mouse click menu on the
desktop. Capture the middle mouse click, create a new XEvent and
send it to the root window.
2000-07-30 Andy Hertzfeld <andy@eazel.com>
* data/top/Computer.link:
* data/top/Services.link:
fixed some breakage in the novice home directory: these built-in
links were not being recognized as such, since they didn't have
the magic mime string. Fixed it by adding the string to them.
* libnautilus-extensions/nautilus-link.c: (make_local_path):
made it handle remote icon fetching better by unescaping the uri
if necessary
2000-07-30 Andy Hertzfeld <andy@eazel.com>
fixed bug 1408, thumbnails do not have the right shadow. Fixed by
maintaining different thumbnails for the anti-aliased and
non-anti-aliased cases.
* libnautilus-extensions/nautilus-graphic-effects.c,h:
(stretch_frame_image), (nautilus_embed_image_in_frame):
got rid of old draw_frame routine, and added
nautilus_embed_image_in_frame
* libnautilus-extensions/nautilus-icon-factory.c:
(nautilus_icon_factory_get_icon_for_file), (make_thumbnail_path),
(nautilus_icon_factory_get_thumbnail_uri), (check_for_thumbnails),
(load_thumbnail_frame), (nautilus_icon_factory_make_thumbnails):
called nautilus_embed_image_in_frame to make the thumbnail frame;
also, added the aa flag to various routines and respected it, using
a different name and frame for the anti-aliased versions.
* icons/Makefile.am:
* icons/thumbnail_frame.png:
* icons/thumbnail_frame.aa.png:
added frame images to use for both cases (anti-aliased and non-aa)
2000-07-30 Mathieu Lacage <mathieu@eazel.com>
Make nautilus build with the latest oaf changes.
_I_ did not broke the build for once :)
* libnautilus-extensions/nautilus-mime-actions.c:
(server_matches_content_requirements):
* libnautilus-extensions/nautilus-view-identifier.c:
(nautilus_view_identifier_new_from_oaf_server_info):
2000-07-30 Fatih Demir <kabalak@gmx.net>
* configure.in: Added zh_TW.Big5 to ALL_LINGUAS.
[ who did forget it ... ]
2000-07-29 Andy Hertzfeld <andy@eazel.com>
* libnautilus-extensions/nautilus-directory-background.c:
(local_data_file_to_uri):
made directory backgrounds interpret "./" when building background
uri so the image can be kept in the theme folder
* src/nautilus-sidebar.c: (map_local_data_file):
ditto for sidebar
2000-07-28 Gene Z. Ragan <gzr@eazel.com>
* src/file-manager/fm-desktop-icon-view.c:
(rescan_floppy_callback), (mount_device_activate_floppy),
(mount_device_floppy_add), (get_ext2_volume_name),
(get_floppy_volume_name):
More work on floppy mounting.
2000-07-28 Andy Hertzfeld <andy@eazel.com>
* src/nautilus-navigation-bar.c:
(nautilus_navigation_bar_get_mapped_location),
(nautilus_navigation_bar_location_changed):
added heuristics to append http:// to typed in locations that look
like urls and would otherwise fail, so the user isn't required
to type in the protocol for web browsing
2000-07-28 Andy Hertzfeld <andy@eazel.com>
* src/nautilus-sidebar-tabs.c: (draw_one_tab_themed):
removed hack I put in to compensate for unevenly sized tab pieces
now that Arlo has fixed them.
* src/nautilus-location-bar.c: (editable_key_press_callback):
added code to handle the right arrow properly for location
auto-completion.
2000-07-28 Robey Pointer <robey@eazel.com>
* components/services/time/nautilus-view/trilobite-eazel-time-view.c:
(sync_button_pressed), (trilobite_eazel_time_view_get_password),
(trilobite_eazel_time_view_initialize),
(trilobite_eazel_time_view_destroy):
* helper-utilities/authenticate/nautilus-authenticate.c: (main):
* libnautilus-extensions/nautilus-password-dialog.c:
(nautilus_password_dialog_initialize),
(nautilus_password_dialog_destroy), (nautilus_password_dialog_new):
* libnautilus-extensions/nautilus-password-dialog.h:
* test/test-nautilus-password-dialog.c:
(authenticate_boink_callback):
Ammend password dialog to accept an optional message to display
at the top (for example, when asking for a retry after a bad
password). Fix time service to use the password dialog correctly
and obey the cancel button and the "remember" checkbox, and to
give you three tries before giving up.
2000-07-28 Arlo Rose <arlo@eazel.com>
* icons/arlo/side_bar_images/fill-active.png
This one didn't make it in somehow!
2000-07-28 Arlo Rose <arlo@eazel.com>
* icons/arlo/side_bar_images/fill-active.png
* icons/arlo/side_bar_images/fill-prelight.png
* icons/arlo/side_bar_images/fill.png
* icons/arlo/side_bar_images/middle-normal-normal.png
* icons/arlo/side_bar_images/middle-normal-prelight.png
* icons/arlo/side_bar_images/middle-prelight-normal.png
I changed the height of these images to match the design.
2000-07-28 John Sullivan <sullivan@eazel.com>
* libnautilus-extensions/nautilus-global-preferences.c:
(global_preferences_register_for_ui): Just added three
spaces to turn three neologisms into six words. Hint:
three of the six words are "bar".
2000-07-28 John Sullivan <sullivan@eazel.com>
Finished task 1795 (Allow hiding of the pre-canned bookmarks)
* libnautilus-extensions/nautilus-global-preferences.h:
#define NAUTILUS_PREFERENCES_SHOW_BUILT_IN_BOOKMARKS
* src/nautilus-bookmarks-window.c:
(create_bookmarks_window): Put "Include built-in bookmarks in menu"
checkbox into Edit Bookmarks window; wire it up.
(synch_built_in_bookmarks_preference_and_checkbox): New function
that checks the state of the preference against the state of
the checkbox and updates one to match the other if necessary.
(update_built_in_bookmarks_preference_to_match_checkbox),
(update_built_in_bookmarks_checkbox_to_match_preference): New
functions, covers for synch_... that lean one way or the other.
* src/nautilus-window-private.h: Renamed field in Details from
"refresh_bookmarks_menu_idle_id" to "refresh_dynamic_bookmarks_idle_id"
for clarity since it no longer refreshes all bookmarks.
* src/nautilus-window-menus.c:
(append_bookmark_to_menu), (remove_bookmarks_after),
(nautilus_window_remove_bookmarks_menu_callback),
(refresh_dynamic_bookmarks),
(refresh_dynamic_bookmarks_idle_callback),
(schedule_refresh_dynamic_bookmarks), (refresh_go_menu):
Renamed functions and variables to clarify which ones affect
all bookmarks and which ones affect only the dynamic bookmarks.
(append_dynamic_bookmarks): New function, extracted from
refresh_dynamic_bookmarks so it can be also called elsewhere.
(refresh_all_bookmarks): New function, clears away all bookmarks
before replacing the static (optionally, based on preference)
and dynamic (always) ones.
(nautilus_window_initialize_bookmarks_menu): refresh all bookmarks
and wire up to notice preference changes.
2000-07-28 Andy Hertzfeld <andy@eazel.com>
* src/nautilus-sidebar-tabs.c: (draw_one_tab_plain),
(draw_one_tab_themed), (draw_or_hit_test_all_tabs),
(nautilus_sidebar_tabs_expose):
mostly finished the themed sidebar tabs; there are some minor
issues remaining that require Arlo's help to fix. Made the
titles draw in the right place and implemented the right edge
bumper like Arlo specified.
2000-07-28 Mathieu Lacage <mathieu@eazel.com>
Implement complex search bar. Need to be hooked onto medusa
* libnautilus-extensions/nautilus-search-bar-criterion-private.h:
* libnautilus-extensions/nautilus-search-bar-criterion.c:
(nautilus_search_bar_criterion_destroy), (option_menu_callback),
(nautilus_search_bar_criterion_set_callback),
(nautilus_search_bar_criterion_new_from_values),
(nautilus_search_bar_criterion_next_new),
(nautilus_search_bar_criterion_first_new),
(nautilus_search_bar_criterion_get_location):
* libnautilus-extensions/nautilus-search-bar-criterion.h:
* src/nautilus-complex-search-bar.c: (criterion_callback),
(nautilus_complex_search_bar_initialize),
(nautilus_complex_search_bar_get_location),
(unattach_criterion_from_search_bar), (more_options_callback),
(fewer_options_callback):
* src/nautilus-complex-search-bar.h:
2000-07-28 Josh Barrow <linuxfan@ionet.net>
Hopefully, this will be the last change required for
nautilus-clean.sh. When you install gconf over an existing
gconf installation, gconfd-1 appears. This updated
nautilus-clean.sh for that instance.
2000-07-28 Gene Z. Ragan <gzr@eazel.com>
First pass at adding floppy mounting to desktop.
There are still access issues to be resolved.
* src/file-manager/fm-desktop-icon-view.c:
(rescan_floppy_callback):
New callback to handle menu command
(fm_desktop_icon_view_create_background_context_menu_items):
Add menu item to rescan floppy device
(mount_device_activate_floppy):
Actually call mount on the floppy device
2000-07-28 John Sullivan <sullivan@eazel.com>
Finished task 1793 (Display hierarchical pre-canned set of bookmarks)
There's now a "static_bookmarks.xml" file that gets installed into
the Nautilus data directory. Its contents are parsed into menu items
that appear above the user's dynamic items. The static items can
include hierarchy and separators. I put in silly content; someone
else will have to figure out what content we want to ship.
* data/static_bookmarks.xml: New file, tree of bookmarks to display.
* data/Makefile.am: Install the bookmarks file into data directory.
* src/nautilus-bookmark-parsing.h,
* src/nautilus-bookmark-parsing.c: New files, contain xml-bookmark-
parsing code that's used by both the static and dynamic bookmarks.
* src/Makefile.am: tell build about new files.
* src/nautilus-bookmark-list.c:
(make_bookmark_from_node): Moved and renamed this into new file.
(nautilus_bookmark_list_load_file): Call renamed function.
* src/nautilus-window-menus.c:
Renamed BookmarkHolder "in_bookmarks_menu" field to "prompt_for_removal"
to clarify its use.
(bookmark_holder_new), (show_bogus_bookmark_window): Accounted for
name changes.
(append_separator): Just moved this function.
(get_static_bookmarks_file_path): New function, returns path for
static bookmarks file if found.
(create_menu_item_from_node): New function, creates a menu item
from an xml node, recursing into folders.
(append_static_bookmarks): New function, reads xml document and
starts the menu-item-creation recursion.
(nautilus_window_initialize_bookmarks_menu): Now calls
append_static_bookmarks before handling the dynamic ones.
* src/nautilus-window-private.h: New last_static_bookmark_path field
in Details struct.
* src/nautilus-window.c: (nautilus_window_destroy): free
last_static_bookmark_path field.
2000-07-28 Andy Hertzfeld <andy@eazel.com>
* icons/arlo/sidebar_tab_pieces/Makefile.am:
Oops! I forget to include one of the sidebar tab pieces in the
Makefile.
2000-07-28 Darin Adler <darin@eazel.com>
After complaints from Rebecca, I tested my search changes and
fixed 3 bugs.
* libnautilus-extensions/nautilus-search-uri.c:
(nautilus_search_uri_to_simple_search_criteria):
Return g_strdup ("") instead of NULL.
* src/nautilus-navigation-bar.c:
(nautilus_navigation_bar_initialize_class):
Fixed bad marshalling that was causing a crash.
* src/nautilus-switchable-navigation-bar.c:
(nautilus_switchable_navigation_bar_initialize_class),
(nautilus_switchable_navigation_bar_get_location):
Added a get_location here. I missed this subclass and that caused
an assert every time you search!
* src/nautilus-switchable-search-bar.c:
(nautilus_switchable_search_bar_initialize):
Remove an unneeded callback function here (somehow I missed this
case last time).
* src/nautilus-switchable-search-bar.h:
Fixed a wrong type and cleaned up formatting a bit.
2000-07-28 Gene Z. Ragan <gzr@eazel.com>
Fixed bug 1824, Remove automounter callback
Added an element to details that holds the timer callback id
so that we can remove it as the first thing we do in destroy.
* src/file-manager/fm-desktop-icon-view.c:
(fm_desktop_icon_view_destroy), (find_mount_devices):
Add and remove timer callback.
2000-07-28 Andy Hertzfeld <andy@eazel.com>
* icons/arlo/sidebar_tab_pieces/Makefile.am:
fixed glitch in make file
2000-07-28 Andy Hertzfeld <andy@eazel.com>
* src/nautilus-sidebar-tabs.c: (setup_dark_text),
(nautilus_sidebar_tabs_load_theme_data),
(nautilus_sidebar_tabs_destroy),
(nautilus_sidebar_tabs_unload_tab_pieces), (load_tab_piece),
(nautilus_sidebar_tabs_load_tab_pieces), (draw_tab_piece),
(draw_one_tab_themed), (get_text_offset),
(draw_or_hit_test_all_tabs), (nautilus_sidebar_tabs_expose),
(nautilus_sidebar_tabs_set_color):
rework of the arlo sidebar tabs to use individual images for the pieces
instead of a single one. There are still some glitches that I'll fix soon.
* configure.in:
added icons/arlo/sidebar_tab_pieces/Makefile
* icons/arlo/Makefile.am:
* icons/arlo/arlo.xml:
added offsets for tabs
* icons/arlo/sidebar_tab_pieces/.cvsignore:
* icons/arlo/sidebar_tab_pieces/Makefile.am:
* icons/arlo/sidebar_tab_pieces/*:
new images for the arlo sidebar tab theme
2000-07-28 Gene Z. Ragan <gzr@eazel.com>
OK. I made a booboo. Went back to using NautilusFile.
I really do understand what is going on now.
* libnautilus-extensions/nautilus-directory-async.c:
(activation_uri_gmc_link_read_callback):
* libnautilus-extensions/nautilus-file.c:
(nautilus_file_contains_text), (nautilus_file_activate_custom):
* libnautilus-extensions/nautilus-icon-factory.c:
(nautilus_icon_factory_get_icon_for_file):
* libnautilus-extensions/nautilus-link.c:
(nautilus_link_is_link_file), (nautilus_link_set_icon):
* libnautilus-extensions/nautilus-link.h:
* src/file-manager/fm-icon-view.c: (get_icon_text_callback):
2000-07-28 Gene Z. Ragan <gzr@eazel.com>
Some placeholder trash code written at the request of Pavel.
* libnautilus-extensions/nautilus-link.c: (nautilus_link_set_icon):
Made sure the modified xml link gets flushed back to disk.
* src/file-manager/fm-directory-view.c:
(set_trash_empty):
New function that updates the status of the trash tracking global
and update the trash icon.
(bonobo_menu_empty_trash_callback),
(fm_directory_view_trash_or_delete_selection):
Add calls to set_trash_empty ()
* src/nautilus-desktop-window.c:
(nautilus_desktop_window_new):
Removed some debugging cruft
2000-07-27 Pavel Cisler <pavel@eazel.com>
Bug 1561: Font preferences have no effect on the list view.
* src/file-manager/fm-directory-view.c:
(text_attribute_names_changed_callback),
(directory_view_font_family_changed_callback),
(click_policy_changed_callback),
(anti_aliased_mode_changed_callback),
(fm_directory_view_initialize), (fm_directory_view_destroy):
* src/file-manager/fm-directory-view.h:
* src/file-manager/fm-icon-view.c: (fm_icon_view_destroy),
(fm_icon_view_text_attribute_names_changed),
(fm_icon_view_font_family_changed),
(fm_icon_view_click_policy_changed),
(fm_icon_view_anti_aliased_mode_changed),
(fm_icon_view_initialize_class), (fm_icon_view_initialize),
(fm_icon_view_update_icon_container_fonts):
Moved all the registering of preference change callbacks into
FMDirectoryView.
Added default signal handlers that get called for each preference
item change.
Converted original preference change callbacks into default signal
handler overrides in FMDirectoryView.
* src/file-manager/fm-list-view.c: (fm_list_view_initialize_class),
(fm_list_view_initialize), (fm_list_view_destroy),
(fm_list_view_setup_list), (fm_list_view_update_click_mode),
(fm_list_view_font_family_changed):
Removed extra preference change callback setup calls, they are now
all done in FMDirectoryView for both the icon view and list view.
Added a simple font family changed callback that sets the selected
font.
Called it during list view initialization to make sure the list view
comes up with the right saved font.
2000-07-27 Gene Z. Ragan <gzr@eazel.com>
* libnautilus-extensions/nautilus-link.c:
(nautilus_link_is_link_file):
Escape the path passed in so we can use gnome-fvs
to determine the mime type.
2000-07-27 Gene Z. Ragan <gzr@eazel.com>
* libnautilus-extensions/nautilus-directory-async.c:
(activation_uri_gmc_link_read_callback):
Changed the API to determine if file is link file to use path.
* libnautilus-extensions/nautilus-file.c:
(nautilus_file_contains_text), (nautilus_file_activate_custom):
Changed the API to determine if file is link file to use path.
* libnautilus-extensions/nautilus-icon-factory.c:
(nautilus_icon_factory_get_icon_for_file):
Changed the API to determine if file is link file to use path.
* libnautilus-extensions/nautilus-link.c: (nautilus_link_create),
(nautilus_link_is_link_file), (nautilus_link_set_icon):
Changed the API to determine if file is link file to use path.
* src/file-manager/fm-desktop-icon-view.c:
(fm_desktop_icon_view_destroy), (mount_device_mount),
(remove_mount_links), (place_home_directory):
More work on setting links icons.
* src/file-manager/fm-icon-view.c:
(get_icon_text_callback):
Changed the API to determine if file is link file to use path.
* src/nautilus-desktop-window.c:
(nautilus_desktop_window_new):
Work in progress on setting up the Trash icon.
2000-07-27 Seth Nickell <seth@eazel.com>
* icons/Makefile.am:
Added entry for placeholder broken-symlink icon.
* libnautilus-extensions/nautilus-file.c:
(nautilus_file_get_permissions_as_string),
(nautilus_file_is_symbolic_link):
Use new Gnome-VFS flags for symlink follow detection.
* libnautilus-extensions/nautilus-icon-factory.c:
(nautilus_icon_factory_get_icon_name_for_file):
Deal w/ broken symbolic links properly.
2000-07-27 Arlo Rose <arlo@eazel.com>
* icons/arlo/i-directory.png
* icons/arlo/i-regular.png
Placeholders 'till I'm happy with my final design.
2000-07-27 Robey Pointer <robey@eazel.com>
* components/services/time/command-line/main.c: (get_password),
(main):
Make command-line time utility use TrilobiteRootClient.
2000-07-27 Darin Adler <darin@eazel.com>
* libnautilus-extensions/nautilus-search-uri.c:
(nautilus_search_uri_to_simple_search_criteria):
This needs to return a g_free'able string, so I changed the
placeholder to return NULL instead of "". (g_strdup ("") would
also have been OK.)
* src/nautilus-complex-search-bar.h:
* src/nautilus-complex-search-bar.c:
(nautilus_complex_search_bar_initialize_class),
(nautilus_complex_search_bar_initialize),
(nautilus_complex_search_bar_get_location),
(nautilus_complex_search_bar_set_location):
* src/nautilus-location-bar.c: (drag_data_received_callback),
(drag_data_get_callback), (nautilus_location_bar_initialize_class),
(nautilus_location_bar_initialize),
(nautilus_location_bar_set_location),
(nautilus_location_bar_get_location):
* src/nautilus-navigation-bar.h:
* src/nautilus-navigation-bar.c:
(nautilus_navigation_bar_initialize_class),
(nautilus_navigation_bar_get_location),
(nautilus_navigation_bar_location_changed):
* src/nautilus-search-bar.h:
* src/nautilus-search-bar.c:
(nautilus_search_bar_initialize_class),
(nautilus_search_bar_initialize):
* src/nautilus-simple-search-bar.h:
* src/nautilus-simple-search-bar.c:
(nautilus_simple_search_bar_initialize_class),
(nautilus_simple_search_bar_initialize),
(nautilus_simple_search_bar_set_location),
(nautilus_simple_search_bar_get_location):
* src/nautilus-switchable-navigation-bar.c:
(nautilus_switchable_navigation_bar_initialize),
(nautilus_switchable_navigation_bar_set_mode):
* src/nautilus-switchable-search-bar.h:
* src/nautilus-switchable-search-bar.c:
(nautilus_switchable_search_bar_initialize_class),
(nautilus_switchable_search_bar_set_mode),
(search_activated_callback),
(nautilus_switchable_search_bar_get_location),
(nautilus_switchable_search_bar_set_location):
Got rid of set_search_controls since set_location does exactly the
same thing. Changed to use get_location in the
NautilusNavigationBar base class instead of having lots of
separate get_location. Fixed bug where get_location would return a
non-g_strdup'd string, which callers would then g_free. Also
changed to use simpler version of location_changed since the
navigation bar can now get the location easily for itself so the
subclasses need not do it. Callbacks now can call
nautilus_navigation_bar_location_changed directly. Removed some
empty destroy functions in classes where they are likely to be
empty forever.
* src/nautilus-window.c: (goto_uri_callback): Whitespace.
2000-07-27 Robey Pointer <robey@eazel.com>
* components/services/install/command-line/eazel-alt-install-corba.c:
(eazel_install_progress_signal):
* components/services/install/lib/eazel-install-object.c:
(eazel_install_install_packages):
Fix dumb \n -> \r typo I introduced on the last checkin. Finish
RPM delete-files implementation to actually traverse the package
tree and delete all the RPM files.
2000-07-27 Arlo Rose <arlo@eazel.com>
* icons/eazel/*.png
Images became corrupt in the last batch... fixed.
2000-07-27 J Shane Culpepper <pepper@eazel.com>
* components/services/summary/nautilus-view/nautilus-summary-view.c:
(generate_summary_form):
Fixing title so that it displays correctly.
2000-07-27 Arlo Rose <arlo@eazel.com>
* data/backgrounds/*.png
* icons/eazel/*.png
I fixed all the png files in these directories that
contained the bad white point.
2000-07-27 Josh Barrow <linuxfan@ionet.net>
Minor change in nautilus-clean.sh so that it will kill
both gconfd and gconfd-0.6. This is so that people that
haven't upgraded to the latest, greatest gconf won't
have problems.
2000-07-27 Josh Barrow <linuxfan@ionet.net>
Changed the nautilus-clean.sh script to match the name of
the new gconf daemon. (gconfd-0.6)
2000-07-27 John Sullivan <sullivan@eazel.com>
Changed "Customize % Settings" to "Edit % Settings" to reduce
the confusion about the two "Customize" menu items. This matches
(one little bit of) Arlo's menu-layout proposal.
* src/nautilus-window-menus.c:
(get_customize_user_level_settings_menu_string): Corrected the
spelling of this function (had three consecutive t's)
(clear_dynamic_bookmark_items): Renamed this from
"clear_appended_bookmark_items" since I'm about to add support
for appended bookmarks that aren't dynamic.
(refresh_bookmarks_menu), (refresh_go_menu),
(update_user_level_menu_items): updated callers to reflect name changes.
(nautilus_window_initialize_menus), (get_customize_user_level_string):
"Customize" -> "Change"
2000-07-27 Rebecca Schulman <rebecka@eazel.com>
* src/nautilus-complex-search-bar.c:
(nautilus_complex_search_bar_get_location):
completely got rid of the committed,
half-written code.
I fixed this last night, but Mathieu's
commit seems to have overwritten mine.
2000-07-27 Darin Adler <darin@eazel.com>
* src/nautilus-complex-search-bar.c:
(nautilus_complex_search_bar_get_location): Fixed lack of NULL in
a g_strconcat that was causing an intermittent crash on boot.
2000-07-27 Gene Z. Ragan <gzr@eazel.com>
Fixed bug 1474, special handling for running as root
* src/nautilus-application.c:
(check_for_and_run_as_super_user):
New function to determine if app is being run if root. If so,
warn the user and allow them to cancel execution of
the app. Return users decision.
(nautilus_application_startup):
Call check_for_and_run_as_super_user. If the user is root
and decides to quit, end program execution.
2000-07-27 Ramiro Estrugo <ramiro@eazel.com>
* librsvg/Makefile.am:
Fix a dumb typo i introduced in my last checkin.
2000-07-27 Pavel Cisler <pavel@eazel.com>
* src/file-manager/fm-desktop-icon-view.c:
(new_terminal_menu_item_callback),
(fm_desktop_icon_view_create_background_context_menu_items):
Bug 1792 - "New Terminal" command in menus.
Added a menu item to the desktop context menu to start a new
terminal.
* libnautilus-extensions/nautilus-gnome-extensions.c:
* libnautilus-extensions/nautilus-gnome-extensions.h:
(max_open_files), (nautilus_gnome_terminal_shell_execute),
(nautilus_gnome_open_terminal):
For the above, added a call to launch a new Terminal, pieced
together from the original GMC code, getting rid of some cruft we
do not need and using stock glib calls where possible.
* src/file-manager/fm-directory-view.c:
(new_folder_menu_item_callback), (fm_directory_view_add_menu_item),
(fm_directory_view_real_create_background_context_menu_items),
(fm_directory_view_real_create_selection_context_menu_items):
* src/file-manager/fm-directory-view.h:
Did a part of 1063 - "The right click desktop menu needs more commands
to match gmc" that is not covered by a separate bug - added a "New
Folder" menu item.
Fixes 1065 and 1067.
* src/file-manager/dfos-xfer-progress-dialog.c:
(create_titled_label), (dfos_xfer_progress_dialog_initialize):
Complete task 1504 - Copy progress dialog needs a visual redesign.
Made it so that the Copying:, From: and To: lines are packed more
snugly, as per the design. The spacing of the original GtkLabels
was too spacy.
Used a non-zero border to offset the items more from the dialog edges
to make it look more as designed.
2000-07-27 Mathieu Lacage <mathieu@eazel.com>
Fixes a number of bugs from rebecka latest commit.
The UI for search is almost working. I will finish it
tomorow and will hook it onto medusa quickly.
* libnautilus-extensions/nautilus-search-bar-criterion.c:
(number_from_type),
(nautilus_search_bar_criterion_new_from_values),
(nautilus_search_bar_criterion_next_new),
(nautilus_search_bar_criterion_first_new):
* libnautilus-extensions/nautilus-search-bar-criterion.h:
* src/nautilus-complex-search-bar.c:
(nautilus_complex_search_bar_initialize),
(nautilus_complex_search_bar_get_location),
(more_options_callback), (fewer_options_callback):
2000-07-27 Maciej Stachowiak <mjs@eazel.com>
* components/tree/nautilus-tree-model.c:
* components/tree/nautilus-tree-model.h:
* components/tree/nautilus-tree-node.c:
(nautilus_tree_node_get_parent), (nautilus_tree_node_get_children),
(nautilus_tree_node_get_file), (nautilus_tree_node_get_directory),
(nautilus_tree_node_set_user_data),
(nautilus_tree_node_get_user_data):
* components/tree/nautilus-tree-node.h:
Some work in progress on some model/view separation for the tree
view.
* libnautilus-extensions/nautilus-file-attributes.h,
libnautilus-extensions/nautilus-directory-async.c
(set_up_request_by_file_attributes): Added an "is directory"
attribute which you can use in a file attribute list for a monitor
or call_when_ready request, which insures we get that piece of
info about files.
* libnautilus-extensions/nautilus-file.c:
(nautilus_file_get_real_name, nautilus_file_get_real_directory):
Add necessary decoding for the search case.
* src/file-manager/fm-search-list-view.c
(get_attribute_from_column): Get the directory attribute for the
directroy column.
2000-07-27 Andy Hertzfeld <andy@eazel.com>
Fixed task #1729, icon view labels need to adapt their text color to the background.
* libnautilus-extensions/nautilus-icon-canvas-item.c:
(draw_or_measure_label_text):
get the color to draw with from the icon container
* libnautilus-extensions/nautilus-icon-container.c:
(nautilus_icon_container_initialize),
(nautilus_icon_container_get_label_color),
(nautilus_icon_container_update_label_color):
attach to the background's appearance_changed signal and
compute the label color from the background when it changes
* libnautilus-extensions/nautilus-icon-container.h:
added call to nautilus_icon_container_get_label_color
* libnautilus-extensions/nautilus-icon-private.h:
added instance variable for label color
2000-07-27 Gene Z. Ragan <gzr@eazel.com>
Fixed bug #1775, add home directory to desktop.
* icons/Makefile.am:
Added temp-home.png. This is a temp icon file.
* src/file-manager/fm-desktop-icon-view.c: (mount_device_mount),
(place_home_directory), (create_desktop_link):
Add users name and default icon to home directory link
on desktop. Change create_mount_link to more generic
create_desktop_link.
2000-07-27 Maciej Stachowiak <mjs@eazel.com>
* libnautilus-extensions/nautilus-link.c
(nautilus_link_is_link_file): Use nautilus_strcasecmp instead of
strcasecmp, since the result may be NULL.
2000-07-27 Rebecca Schulman <rebecka@eazel.com>
* src/nautilus-complex-search-bar.c:
(nautilus_complex_search_bar_get_location):
disabled a not-ready for checkin function
2000-07-26 Robey Pointer <robey@eazel.com>
* components/services/time/nautilus-view/trilobite-eazel-time-view.c:
(update_time_display), (trilobite_eazel_time_view_get_password),
(trilobite_eazel_time_view_initialize),
(trilobite_eazel_time_view_destroy):
* components/services/time/service/Makefile.am:
* components/services/time/service/trilobite-eazel-time-service.c:
(impl_Trilobite_Eazel_Time_Service_set_max_difference),
(impl_Trilobite_Eazel_Time_Service_set_time_url),
(impl_Trilobite_Eazel_Time_Service_check_time),
(impl_Trilobite_Eazel_Time_Service_update_time),
(trilobite_eazel_time_service_create_corba_object),
(trilobite_eazel_time_service_initialize),
(trilobite_eazel_time_service_get_server_time):
*
components/services/trilobite/libtrilobite/trilobite-service-passwo
rdquery.c: (trilobite_passwordquery_get_password):
Make the sample time nautilus-view use the new testmachine url
instead of old broken eazel24. Break time-service of its
libnautilus habit and make the nautilus-view do the password
dialog instead. Fix the nautilus-view's misinterpretation of the
time-service return value.
2000-07-26 Andy Hertzfeld <andy@eazel.com>
* src/nautilus-zoom-control.c:
(nautilus_zoom_control_class_initialize), (draw_number),
(draw_zoom_control_image), (nautilus_zoom_control_load_images):
fixed recently introduced bug where the increment and decrement images were
not being erased at the extremes; also, added the optional ability for a theme
to define a custom number strip image for the little percentage number.
* icons/arlo/Makefile.am:
* icons/arlo/number_strip.png:
added image for custom numbers to arlo theme
* icons/arlo/arlo.xml:
added info to theme for new number drawing
2000-07-26 Rebecca Schulman <rebecka@eazel.com>
Redid the complex search bar to look the way we actually
wanted it. There are still some bugs, but as far as i
can tell, it hasn't introduced horrid instability, and
this way, mathieu, among other can work on the
partial amount of stuff i have done.
* libnautilus-extensions/Makefile.am:
* src/Makefile.am:
* src/nautilus-search-bar-criterion.c:
* src/nautilus-search-bar-criterion.h:
* libnautilus-extensions/nautilus-search-uri.h:
* src/nautilus-search-bar.c:
* src/nautilus-simple-search-bar.c:
(nautilus_simple_search_bar_initialize_class),
(nautilus_simple_search_bar_set_search_controls):
* src/nautilus-switchable-search-bar.c:
Moved nautilus-search-bar-criterion.c from src/ to
libnautilus-extensions.
* libnautilus-extensions/nautilus-search-bar-criterion.c:
* libnautilus-extensions/nautilus-search-bar-criterion.h:
(nautilus_search_bar_criterion_destroy),
(nautilus_search_bar_criterion_new),
(nautilus_search_bar_criterion_new_from_values),
(nautilus_search_bar_criterion_next_new),
(nautilus_search_bar_criterion_first_new),
(nautilus_search_bar_criterion_list_get_last),
(get_next_default_search_criterion_type),
(nautilus_search_bar_criterion_show),
(nautilus_search_bar_criterion_hide):
redid this api, and made it saner. Doesn't seem
like a gtk class is even necessary, or even useful here.
We just want to keep track of the widgets.
* src/nautilus-complex-search-bar.c:
(nautilus_complex_search_bar_initialize_class),
(nautilus_complex_search_bar_initialize),
(nautilus_complex_search_bar_get_location),
(nautilus_complex_search_bar_set_search_controls),
(attach_criterion_to_search_bar),
(unattach_criterion_from_search_bar), (more_options_callback),
(fewer_options_callback):
redid this to use tables, instead of all the boxes, as per
Gene's suggestion. There are still a few bugs here
with criterion removal that need to be worked out,
and there also needs to be some level of translation to
uri, and re-setting up the search criteria to correspond to
a uri.
* libnautilus-extensions/nautilus-search-bar-criterion-private.h:
added to keep some sense of data privacy.
2000-07-26 Gene Z. Ragan <gzr@eazel.com>
* src/file-manager/fm-desktop-icon-view.c: (mount_device_mount),
(make_home_link), (place_home_directory), (create_mount_link):
Additional work on placement of home directory on desktop
and conversion of mount links from gnome-vfs symbolic links
to nautilus links.
2000-07-26 Gene Z. Ragan <gzr@eazel.com>
* libnautilus-extensions/nautilus-link.c:
* libnautilus-extensions/nautilus-link.h:
(nautilus_link_is_link_file):
Renamed function nautilus_link_is_link_file_name to
nautilus_link_is_link_fileand modified it to determine if
it is a link file using mime magic. Function now takes
a NautilusFile * as the argument.
* libnautilus-extensions/nautilus-link-set.c: (link_set_path_name),
(create_new_link), (nautilus_link_set_is_installed),
(nautilus_link_set_remove):
Modified to use the new mime magic within the link file.
* libnautilus-extensions/nautilus-directory-async.c:
(activation_uri_gmc_link_read_callback):
Changed nautilus_link_is_link_file_name to nautilus_link_is_link_file.
* libnautilus-extensions/nautilus-directory.c:
(construct_alternate_metafile_uri):
Changed nautilus_link_is_link_file_name to nautilus_link_is_link_file.
* libnautilus-extensions/nautilus-file.c:
(nautilus_file_contains_text), (nautilus_file_activate_custom):
Changed nautilus_link_is_link_file_name to nautilus_link_is_link_file.
* libnautilus-extensions/nautilus-icon-factory.c:
(nautilus_icon_factory_get_icon_for_file):
Removed old way of identifying mount volume links in anticipation
of using mime magic.
* src/file-manager/fm-desktop-icon-view.c:
(fm_desktop_icon_view_initialize), (mount_device_mount),
(mount_device_floppy_add), (add_mount_device), (make_desktop_link),
(get_ext2_volume_name), (place_home_directory):
Removed old way of indentifying mount link files in anticipation
of using mime magic.
Work in progress on placing a home directory on the desktop.
2000-07-26 Andy Hertzfeld <andy@eazel.com>
* src/nautilus-first-time-druid.c: (druid_finished),
(set_up_service_signup_page):
added a "register now" alternative to the service signup page
* libnautilus-extensions/nautilus-directory-background.c:
(directory_changed_callback):
removed a debugging message I accidentally checked in
2000-07-26 Eskil Heyn Olsen <eskil@eazel.com>
* components/services/docs/install-user-settings:
Added some more settings
* components/services/install/lib/eazel-install-query.c:
(eazel_install_simple_rpm_query):
Some debug output
* components/services/install/lib/eazel-install-rpm-glue.c:
(eazel_install_free_rpm_system),
(eazel_install_check_existing_packages):
free_rpm_system null's the pointers, prevents horrible rpm
crashes. Check_existing correctly sets the modify flag.
Better transaction reports.
* components/services/install/lib/eazel-install-xml-package-list.c:
(eazel_install_packagedata_to_xml):
cutn''pasta typo.
2000-07-26 Darin Adler <darin@eazel.com>
* libnautilus-extensions/nautilus-directory-async.c:
(activation_uri_found): Added a missing call to
nautilus_directory_async_state_changed to keep the state machine
alive.
2000-07-26 Darin Adler <darin@eazel.com>
* libnautilus-extensions/nautilus-directory-async.c:
(metafile_read_failed): First cut at only reading the metafile if the
directory is really a directory. This might be making things worse
for now, because I'm not sure if the file info is available at this
point. I'll check in something better soon.
* libnautilus-extensions/nautilus-directory.c:
(nautilus_directory_is_search_directory): Fixed backwards test that
would return TRUE for many non-search directories. Then I put that
code inside #if 0 and added a version of the function that just
checks the scheme of the URI for now. Also added FIXMEs.
* libnautilus-extensions/nautilus-file.c:
(nautilus_file_get_real_name): Simplfied the code a bit. Also added
a FIXME.
2000-07-26 Ramiro Estrugo <ramiro@eazel.com>
* Makefile.am:
* components/hardware/Makefile.am:
* components/help/Makefile.am:
* components/history/Makefile.am:
* components/html/Makefile.am:
* components/loser/content/Makefile.am:
* components/loser/sidebar/Makefile.am:
* components/music/Makefile.am:
* components/notes/Makefile.am:
* components/rpmview/Makefile.am:
* components/services/install/nautilus-view/Makefile.am:
* components/services/inventory/nautilus-view/Makefile.am:
* components/services/login/nautilus-view/Makefile.am:
* components/services/startup/nautilus-view/Makefile.am:
* components/services/summary/nautilus-view/Makefile.am:
* components/services/time/nautilus-view/Makefile.am:
* components/services/trilobite/sample/nautilus-view/Makefile.am:
* components/services/vault/nautilus-view/Makefile.am:
* components/tree/Makefile.am:
* components/websearch/Makefile.am:
* cut-n-paste-code/widgets/e-paned/Makefile.am:
* cut-n-paste-code/widgets/nautilus-druid/Makefile.am:
* helper-utilities/authenticate/Makefile.am:
* libnautilus-extensions/Makefile.am:
* librsvg/Makefile.am:
* src/Makefile.am:
* test/Makefile.am:
Make the cut-n-paste libraries be only static archives. Link all
the private libraries statically into libnautilus-extensions.
Remove all the references to private libraries in all the
components and other users of libnautilus-extensions so that
dependencies can be managed in just one place.
2000-07-26 Robey Pointer <robey@eazel.com>
* components/services/install/command-line/eazel-alt-install-corba.c:
(eazel_download_progress_signal), (eazel_install_progress_signal):
* components/services/install/lib/eazel-install-rpm-glue.c:
(install_all_packages),
(eazel_install_do_rpm_transaction_process_pipe):
Fix a few small bugs in percentage reporting and display in the
install service and its sample command-line client.
2000-07-26 Andy Hertzfeld <andy@eazel.com>
* src/nautilus-property-browser.c: (add_to_content_table),
(make_properties_from_themes), (set_up_category_width),
(nautilus_property_browser_update_contents):
added the capability for different categories to have a
different number of columns, so we can make everything fit nicely
* data/browser.xml:
added columns field to all of the categories
2000-07-26 Gene Z. Ragan <gzr@eazel.com>
* src/file-manager/fm-cdrom-extensions.h:
New file that has constants defined in <linux/cdrom.h>
I added this to solve many problems that people are
running into with both Mathieu's fix and the old way
of including the kernel header.
* src/file-manager/fm-desktop-icon-view.c:
It makes me sad to do this, because Matheiu worked so hard
to fix this, but I created a new file with the CDROM constants
in them. This solves several problems people have. I wish
there was a beter solution, because now we have to make
sure we are in sync with the kernel header constants.
2000-07-26 Pavel Cisler <pavel@eazel.com>
* src/file-manager/dfos-xfer.c: (handle_xfer_vfs_error):
Show a more meaningful error dialog when copy/move fails
because the destination is not writable. This is a cheap
replacement for the original fix for bug 657, we aren't
going to do the full fix for this release.
2000-07-26 Andy Hertzfeld <andy@eazel.com>
completed task 1774, desktop needs separate background in theme
* libnautilus-extensions/nautilus-directory-background.c:
(directory_changed_callback), (background_reset_callback):
check for desktop tag when fetching from the theme
* src/file-manager/fm-icon-view.c: (fm_icon_view_begin_loading):
tag the desktop background so we can treat it specially
* icons/arlo/arlo.xml:
* icons/default.xml:
* icons/eazel/eazel.xml:
* icons/vector/vector.xml:
added separate desktop backgrounds to the themes, which I'm sure Arlo and Susan
will both want to change as soon as I show it to them
2000-07-26 Mathieu Lacage <mathieu@eazel.com>
* src/file-manager/fm-desktop-icon-view.c:
evil ugly hack to get nautilus to compile with
kernels >= 2.2.16. EKH.
2000-07-25 Andy Hertzfeld <andy@eazel.com>
* src/nautilus-zoom-control.c:
(nautilus_zoom_control_class_initialize),
(nautilus_zoom_control_theme_changed), (get_zoom_offset),
(draw_number), (draw_zoom_control_image),
(nautilus_zoom_control_update_offsets),
(nautilus_zoom_control_load_images),
(nautilus_zoom_control_button_press_event),
(nautilus_zoom_control_size_allocate):
made the zoom control work properly with different sets of
images by vertically centering the images and adding a
number offset fetched from the theme.
* icons/arlo/Makefile.am:
* icons/arlo/arlo.xml:
* icons/increment.png:
* icons/decrement.png:
* icons/zoom_body.png:
zoom control pieces for arlo theme
* icons/vector/Makefile.am:
* icons/vector/vector.xml:
* icons/zoom_body.png:
zoom control body from Bud to try out
2000-07-25 Eskil Heyn Olsen <eskil@eazel.com>
* components/services/docs/install-user-settings:
Stuff that the user should be able to config.
* components/services/install/lib/eazel-install-corba-types.c:
Removed an unused include
* components/services/install/lib/eazel-install-types.h:
* components/services/install/lib/eazel-install-private.h:
* components/services/install/lib/eazel-install-public.h:
* components/services/install/lib/eazel-install-metadata.c:
(create_default_configuration_metafile),
(init_default_install_configuration), (installoptions_destroy):
* components/services/install/lib/eazel-install-object.c:
(eazel_install_set_arg), (eazel_install_class_initialize),
(eazel_install_initialize), (eazel_install_new_with_config):
Handle the transaction dir var.
* components/services/install/lib/eazel-install-rpm-glue.c:
(download_all_packages),
(eazel_install_do_rpm_transaction_make_argument_list),
(eazel_install_do_rpm_transaction_save_report),
(do_rpm_transaction), (eazel_install_add_to_rpm_set),
(eazel_install_check_existing_packages),
(eazel_install_fetch_rpm_dependencies), (eazel_uninstall_globber):
Removed a lot of of rpmtransaction code. Polished the xml
transaction output.
* components/services/install/lib/eazel-install-types.c:
(packagedata_new):
Default vals for status and modify status.
* components/services/install/server/main.c: (sig_segv_handler),
(main):
Upon crash, say something on stdout.
2000-07-25 Maciej Stachowiak <mjs@eazel.com>
I think I fixed 1693 and 1766 but I can't test them cause medusa
searching is broken right now.
* libnautilus-extensions/nautilus-directory.h,
libnautilus-extensions/nautilus-directory.c
(nautilus_directory_is_search_directory): New call to determine if
a directory is a virtual search directory.
* libnautilus-extensions/nautilus-file.h,
libnautilus-extensions/nautilus-file.c:
(nautilus_file_compare_by_real_name,
nautilus_file_compare_by_real_directory,
nautilus_file_compare_for_sort_internal): Added ability to sort by
directory; made name sorting work right for search results.
(nautilus_file_is_search_result, nautilus_file_get_real_name,
nautilus_file_get_real_directory): New functions to get useful
info about search results.
(nautilus_file_get_string_attribute): Add real_name and
real_directory attributes.
* src/file-manager/fm-search-list-view.c: Use real_name and
real_directory attributes for name and directory.
(sort_criterion_from_column): sort properly by directory.
2000-07-25 Darin Adler <darin@eazel.com>
* libnautilus-extensions/nautilus-directory-async.c:
(activation_uri_gmc_link_read_callback):
Add missing return statement.
2000-07-25 Darin Adler <darin@eazel.com>
* components/help/help-method.c: (help_uri_new): No parameters
is indicated by "(void)" instead of "()".
(help_uri_to_string): Changed to share more code (I think I might
have fixed a leak too).
(init_help_module): No parameters is indicated by "(void)"
instead of "()". Also fixed a bug where the wrong lock is unlocked.
(convert_file_to_uri): Use g_strcasecmp instead of strcmp since we
are checking MIME types.
(transform_file), (transform_absolute_file), (file_from_path),
(find_help_file), (transform_relative_file): Merged these so they
share a lot of common code.
* components/services/vault/command-line/vault-operations.c:
(vault_list): Fixed a g_strconcat that was missing a trailing NULL.
* libnautilus-extensions/nautilus-directory-private.h:
* libnautilus-extensions/nautilus-file-attributes.h:
* libnautilus-extensions/nautilus-directory-async.c:
(cancel_top_left_read), (top_left_read_done),
(top_left_read_callback), (top_left_read_more_callback),
(start_getting_top_lefts), Changed top_left code to use
nautilus_read_file calls.
(cancel_metafile_read),
Changed to reflect name changes in nautilus_read_file calls.
(cancel_get_activation_uri), (nautilus_directory_cancel),
(set_up_request_by_file_attributes),
(nautilus_async_destroying_file), (lacks_activation_uri),
(wants_activation_uri), (request_is_satisfied),
(activation_uri_found),
(activation_uri_nautilus_link_read_callback),
(activation_uri_gmc_link_read_callback),
(activation_uri_gmc_link_read_more_callback),
(start_getting_activation_uris),
(nautilus_directory_async_state_changed): Add code to fetch
activation URIs for either GMC or Nautilus-style link files.
(lacks_top_left): Changed to share common
nautilus_file_should_get_top_left_text function so we don't have
lots of different code reading the preferences about top-left
text.
(is_needy): Enhanced and renamed is_wanted so it takes into
account files that are and aren't interesting.
(start_getting_directory_counts), (deep_count_start):
(start_getting_file_info), Change to use is_needy.
* libnautilus-extensions/nautilus-directory.h:
* libnautilus-extensions/nautilus-directory.c:
Tweaked spacing.
* libnautilus-extensions/nautilus-file-private.h:
Added a self_owned flag so we do better with files that don't have
parent directories and the fields to support activation_uri.
* libnautilus-extensions/nautilus-file-utilities.h:
* libnautilus-extensions/nautilus-file-utilities.c:
(read_file_close_callback), (read_file_close),
(read_file_succeeded), (read_file_failed),
(read_file_read_callback), (read_file_read_chunk),
(read_file_open_callback), (nautilus_read_file_async),
(nautilus_read_entire_file_async), (nautilus_read_file_cancel):
Added a variation of the read file call that takes a function to
decide whether to keep reading or not.
* libnautilus-extensions/nautilus-file.h:
* libnautilus-extensions/nautilus-file.c:
(nautilus_file_new_from_name), (nautilus_file_get),
(nautilus_file_get_parent_uri_as_string),
(get_file_for_parent_directory), (nautilus_file_rename),
(nautilus_file_get_gnome_vfs_uri),
(nautilus_file_get_uri),
Add code that handles the "self_owned" flag to make files without
parents work better.
(destroy): Fixed some leaks I noticed.
(nautilus_file_get_top_left_text),
(nautilus_file_should_get_top_left_text): Added this so that all
code can share a single call when deciding whether to get text
based on local vs. non-local.
(nautilus_file_get_activation_uri): Changed to work with new
async. code to fetch this.
* libnautilus-extensions/nautilus-icon-factory.c:
(nautilus_icon_factory_get_icon_for_file): Call
nautilus_file_should_get_top_left_text.
* libnautilus-extensions/nautilus-link.h:
* libnautilus-extensions/nautilus-link.c:
(nautilus_link_is_link_file_name): Named so it's clear it looks
at the file name only.
(xml_get_root_property), (nautilus_link_get_root_property):
Added these to share a lot of common code.
(nautilus_link_get_additional_text): Use the new calls.
(make_local_path), (icon_read_done_callback),
(nautilus_link_get_image_uri), (nautilus_link_get_link_uri),
(nautilus_link_get_display_name): Other cleanup and rewrite.
(nautilus_link_get_link_uri_given_file_contents): Add API that
can work with the async. I/O version.
* libnautilus-extensions/nautilus-stock-dialogs.c:
(timed_wait_free), (nautilus_timed_wait_start):
Added some asserts.
* src/file-manager/fm-directory-view.c: (activate_callback),
(fm_directory_view_activate_file): Use call_when_ready and
the new async. stuff.
* src/file-manager/fm-error-reporting.c:
(fm_report_error_setting_group): Added a (low-quality) error
message for the case where you aren't alowed to change the
group of something.
* src/file-manager/fm-icon-view.c:
(icon_position_changed_callback): Added missing NULL in a call
to g_strconcat.
(get_icon_text_callback): Fix storage leak.
* src/file-manager/fm-properties-window.c:
(activate_owner_callback): Fixed a timed_wait_start/stop mismatch
that was causing an assert and other badness when you changed the
owner.
* src/file-manager/fm-search-list-view.c:
(get_attribute_from_column): Added a missing case to prevent a
crash, but had to put in a FIXME since the code isn't really working.
* src/nautilus-application.c: (nautilus_application_startup):
Fixed bug where you wouldn't see error messages on startup. Also
improved one of the error messages by adding some blank lines.
2000-07-25 Gene Z. Ragan <gzr@eazel.com>
* src/file-manager/fm-desktop-icon-view.c:
Added an #if 0 to disable some functions that
are not called but may be user soon.
2000-07-25 Gene Z. Ragan <gzr@eazel.com>
* src/file-manager/fm-desktop-icon-view.c:
(fm_desktop_icon_view_destroy)
Clean up all of our symbolic links to mounted volumes.
(device_set_state_empty)
Set all devices to empty to start with. Force a poll
of all devices in fstab.
(find_mount_devices)
Call device_set_state_empty () on all device entries.
(remove_mount_symlinks)
Utility function to clear out device mouny symbolic link.
(free_device_info):
Clean up all data in DeviceEntry structure.
2000-07-25 Arlo Rose <arlo@eazel.com>
* icons/Makefile.am:
* icons/emblem-trash.png
Added the Trash emblem for items found in the trash by a search.
It will change in the future when/if I clean up or change the
real trash can icon.
2000-07-25 Robey Pointer <robey@eazel.com>
* components/services/install/command-line/eazel-alt-install-corba.c:
(delete_files), (set_root_client), (main):
* components/services/install/idl/trilobite-eazel-install.idl:
* components/services/install/lib/eazel-install-corba-callback.c:
(impl_delete_files), (eazel_install_callback_get_epv),
(eazel_install_callback_class_initialize):
* components/services/install/lib/eazel-install-corba-callback.h:
* components/services/install/lib/eazel-install-object.c:
(eazel_install_class_initialize), (eazel_install_install_packages),
(eazel_install_emit_delete_files),
(eazel_install_emit_delete_files_default):
* components/services/install/lib/eazel-install-public.h:
Add "delete_files" callback and signal to find out if its okay to
delete the RPMs after an install. It doesn't entirely work yet
(not all files are deleted) pending a change in the install API.
2000-07-25 Robey Pointer <robey@eazel.com>
* components/services/trilobite/libtrilobite/trilobite-root-client-public.h:
* components/services/trilobite/libtrilobite/trilobite-root-client.c:
(trilobite_root_client_get_passwordqueryclient),
(trilobite_root_client_attach):
* components/services/trilobite/sample/command-line/main.c: (main):
Move oft-repeated code (that attaches a TrilobiteRootClient to a
service) into the API of the TrilobiteRootClient.
2000-07-25 Ramiro Estrugo <ramiro@eazel.com>
* components/mozilla/nautilus-mozilla-content-view.c:
Fix the dumb bug that prevented local html content from showing
up. Also added a comment to clarify the protocol aborting hack.
2000-07-25 Andy Hertzfeld <andy@eazel.com>
completed bug 1442, toolbar zoom control needs to be themable.
* src/nautilus-zoom-control.c: (nautilus_zoom_control_destroy),
(nautilus_zoom_control_initialize), (nautilus_zoom_control_new),
(nautilus_zoom_control_theme_changed):
made the zoom control connect to the theme preference and update
itself when the theme changes.
* icons/eazel/Makefile.am:
* icons/eazel/zoom_body.png:
added an alternative magnifying glass to eazel theme for testing.
It needs some clean-up, which Susan will do soon.
2000-07-25 Andy Hertzfeld <andy@eazel.com>
reorganized the menus. There's now a user level menu, which uses
the current user level symbol as its title, to feedback the
current level. There is no longer a settings menu; the rest of
the stuff in the settings menu was moved to the bottom of the
edit menu. We probably want to tweak the order of items some more,
but this mostly complete now.
Note: you need to get a new bonobo to see the user level symbol
in the menu title.
* src/nautilus-window-menus.c: (user_level_customize_callback),
(customize_callback), (help_menu_about_nautilus_callback),
(get_user_level_image), (user_level_menu_item_callback),
(user_level_changed_callback), (nautilus_window_initialize_menus),
(update_user_level_menu_items), (convert_menu_path_to_user_level),
(convert_user_level_to_menu_path):
removed the settings menu and added a user level menu, using ski-slope
symbols to express the user levels.
* libnautilus/nautilus-bonobo-ui.h:
changed the path of some menu items
* src/file-manager/fm-directory-view.h:
changed the path of some menu items
* src/file-manager/fm-icon-view.c:
(fm_icon_view_create_background_context_menu_items),
(fm_icon_view_merge_menus):
moved items from setting to edit menu
* icons/Makefile.am:
* icons/novice-selected.png:
* icons/intermediate-selected.png:
* icons/expert-selected.png:
made the user level symbols smaller, and added checked ones to
use in the menu to indicate selection.
* icons/eazel/i-regular.xml:
tweaked the text rectangles for the standard document icon in
the eazel theme.
2000-07-25 John Sullivan <sullivan@eazel.com>
Note: this requires the latest gnome-vfs changes to compile.
* libnautilus-extensions/nautilus-file.c:
(set_owner_and_group): Pass GNOME_VFS_FILE_INFO_DEFAULT
for get_file_info options.
(set_owner_and_group_callback): Added new_info parameter to
match GnomeVFS API change; use this parameter to update
permissions when owner/group changes, since in some cases
chown affects permissions.
(nautilus_file_set_permissions): Pass GNOME_VFS_FILE_INFO_DEFAULT
for get_file_info options.
(set_permissions_callback): Added new_info parameter to match
GnomeVFS API change; use this parameter to update ctime when
permissions change (fixes bug 1453 -- changing permissions
doesn't update permissions-changed date)
* src/file-manager/fm-directory-view.c:
(fm_directory_view_activate_file): Improved a comment to mention
an existing bug number.
2000-07-25 Pavel Cisler <pavel@eazel.com>
* libnautilus-extensions/nautilus-drag.c:
* libnautilus-extensions/nautilus-drag.h:
(nautilus_drag_default_drop_action_for_icons), (drag_motion_callback):
Work around a bug in gtk-dnd.c that was making it impossible to
force a move when dragging in between two volumes - the default
is copy in that case and holding down Control would force it to
be a copy too.
The fix I did is only correct for icon drags, changed the routine
name to reflect that better.
* libnautilus-extensions/nautilus-icon-dnd.c:
(nautilus_icon_container_get_drop_action):
Fix a typo bug that caused the non-default drop action to be
undefined for non-icon drags.
2000-07-25 Andy Hertzfeld <andy@eazel.com>
* src/nautilus-property-browser.c: (category_clicked_callback),
(make_category_link):
better category highlight in the property browser, using toggle_buttons,
as desired by Arlo.
2000-07-25 Andy Hertzfeld <andy@eazel.com>
* libnautilus-extensions/nautilus-theme.c:
(nautilus_theme_get_image_path):
fixed problem in theme_get_image_path where it was calling
g_file_exists on null strings.
2000-07-25 Gene Z. Ragan <gzr@eazel.com>
* src/file-manager/fm-desktop-icon-view.c:
(fm_desktop_icon_view_destroy),
(fm_desktop_icon_view_initialize_class),
(mount_device_cdrom_set_state), (mount_device_mount),
(mount_device_activate_cdrom), (mount_device_deactivate),
(mount_device_check_change), (mount_device_iso9660_add),
(mount_device_add_aliases), (add_mount_device),
(remove_mount_link), (remove_mount_symlinks),
(get_iso9660_volume_name), (get_ext2_volume_name):
More work on desktop volume mounting. Added symbolic link
cleanup in destroy function. Symbolic mount links are also
verified when a new volume mount is detected.
2000-07-25 John Sullivan <sullivan@eazel.com>
First simple cut at addressing 1469 (clicking on executables
does not run them). Now it does, which works great for GUI-type
executables but is pretty lame for command-line ones.
* src/file-manager/fm-directory-view.c:
(file_is_launchable): New utility function, returns true if
file is executable and not a directory.
(compute_menu_item_info): Disable "Open in New Window" if
there's only one item selected and it's executable, since in
this case "Open" and "Open in New Window" would have the same
behavior and thus the choice is confusing.
(fm_directory_view_activate_file): If file is launchable,
launch it directly instead of looking for another app/viewer to use.
The user can still use "Open With" to open it differently.
2000-07-25 Andy Hertzfeld <andy@eazel.com>
reworked the zoom control to make it themable. It now gets its pieces from
three separate images, for flexible theming. It's not watching the
theme preference yet, but will be soon
* src/nautilus-zoom-control.c,h: (nautilus_zoom_control_destroy),
(get_zoom_width), (nautilus_zoom_control_initialize),
(draw_number), (draw_pixbuf), (draw_zoom_control_image),
(nautilus_zoom_control_draw), (nautilus_zoom_control_expose),
(nautilus_zoom_control_unload_images), (load_themed_image),
(nautilus_zoom_control_load_images), (zoom_menu_callback),
(create_zoom_menu), (nautilus_zoom_control_button_press_event),
(nautilus_zoom_control_set_zoom_level),
(nautilus_zoom_control_set_min_zoom_level),
(nautilus_zoom_control_set_max_zoom_level),
(nautilus_zoom_control_set_preferred_zoom_levels),
(nautilus_zoom_control_get_zoom_level),
(nautilus_zoom_control_get_min_zoom_level),
(nautilus_zoom_control_get_max_zoom_level):
rework to make instance variables private, and use separate images fetched
using the theme mechansim.
* icons/Makefile.am:
* icons/increment.png:
* icons/decrement.png:
* icons/zoom_body.png:
new images for the reworked zoom control. Removed the old "zoom.png" image
* libnautilus-extensions/nautilus-theme.c:
some small clean-ups
2000-07-25 Gene Z. Ragan <gzr@eazel.com>
* libnautilus-extensions/nautilus-icon-factory.c:
(nautilus_icon_factory_get_icon_for_file):
Added some code to check if file is a mountable item. If so,
the proper icon is selected.
* libnautilus-extensions/nautilus-icon-container.c:
(nautilus_icon_container_add):
* src/file-manager/fm-desktop-icon-view.c: (get_icon_container),
(fm_desktop_icon_view_initialize), (mount_device_is_mounted),
(mount_device_cdrom_set_state), (mount_device_floppy_set_state),
(mount_device_ext2_set_state), (mount_device_set_state),
(local_device_set_state_empty), (mount_device_mount),
(mount_device_activate_cdrom), (mount_device_activate_floppy),
(mount_device_activate_ext2), (mount_device_activate),
(mount_device_deactivate), (mount_device_check_change),
(mount_devices_update_is_mounted), (mount_devices_check_status),
(my_g_check_permissions), (mouunt_device_floppy_add),
(mount_device_ext2_add), (cdrom_ioctl_frenzy),
(mount_device_iso9660_add), (mount_device_add_aliases),
(add_mount_device), (mntent_is_removable_fs), (mntent_has_option),
(find_mount_devices), (make_mount_link), (get_iso9660_volume_name),
(get_ext2_volume_name):
New functions to add mounted volumes to the desktop. This is work in
progress and is being checked in just to keep me sane. Don't expect it
to work yet.
2000-07-24 Pavel Cisler <pavel@eazel.com>
* libnautilus-extensions/nautilus-gdk-extensions.c:
* libnautilus-extensions/nautilus-gdk-extensions.h:
(nautilus_gdk_font_get_bold):
New K-rad call to get a bold flavor of a given font.
* libnautilus-extensions/nautilus-gtk-extensions.c:
(nautilus_gtk_label_make_bold):
Add a convenience call to set a label to a bold font.
* libnautilus-extensions/nautilus-gtk-extensions.h:
* src/file-manager/dfos-xfer-progress-dialog.c:
(create_titled_label), (dfos_xfer_progress_dialog_initialize):
Use bold labels where appropriate.
Make the To: From: and Copying: labels properly right-aligned.
Add a space between the labels and the paths to make it look nicer.
* src/file-manager/dfos-xfer.c:
(progress_dialog_set_to_from_item_text):
Chop off the trailing '/' from to and from paths in the progress
dialog.
2000-07-24 John Sullivan <sullivan@eazel.com>
Fixed bug 1469 (changing owner/group doesn't handle
special flags correctly)
* libnautilus-extensions/nautilus-file.c:
(set_owner_and_group_callback), (set_owner_and_group):
Changing the owner or group on an executable file now
clears the SUID and SGID bits as per explanation in
man 2 chown.
2000-07-24 Pavel Cisler <pavel@eazel.com>
* libnautilus-extensions/nautilus-icon-container.c:
(button_release_event):
Fix bugzilla 1611 - Poor right-click and move behavior.
In button_release detect that a drag has not started during a
right-click and start a context menu instead.
2000-07-24 Andy Hertzfeld <andy@eazel.com>
* libnautilus-extensions/nautilus-theme.c:
(nautilus_theme_make_selector):
made it use a theme preview icon, if available
* src/nautilus-property-browser.c:
(nautilus_property_browser_initialize):
got rid of explicit backgrounds for the three panels, so they use whatever is
specified by the current theme
* icons/arlo/Makefile.am:
* icons/arlo/theme_preview.png:
added preview icon for arlo theme
* icons/eazel/Makefile.am:
* icons/eazel/theme_preview.png:
added preview icon for eazel theme
2000-07-24 Pavel Cisler <pavel@eazel.com>
* RENAMING:
Add an entry.
* libnautilus-extensions/nautilus-font-factory.c:
(nautilus_font_factory_get_font_from_preferences):
Fix a typo in font name.
* src/file-manager/dfos-xfer-progress-dialog.c:
(dfos_xfer_progress_dialog_update), (truncate_string_from_start),
(set_text_unescaped_trimmed), (dfos_xfer_progress_dialog_close),
(dfos_xfer_progress_dialog_destroy), (create_titled_label),
(dfos_xfer_progress_dialog_initialize),
(dfos_xfer_progress_dialog_initialize_class),
(dfos_xfer_progress_dialog_new),
(dfos_xfer_progress_dialog_set_total),
(dfos_xfer_progress_dialog_set_operation_string),
(dfos_xfer_progress_dialog_new_file),
(dfos_xfer_progress_dialog_clear),
(dfos_xfer_progress_dialog_update_sizes),
(dfos_xfer_progress_dialog_freeze),
(dfos_xfer_progress_dialog_thaw):
* src/file-manager/dfos-xfer-progress-dialog.h:
* src/file-manager/dfos-xfer.c: (create_xfer_dialog),
(progress_dialog_set_files_remaining_text),
(progress_dialog_set_to_from_item_text), (handle_xfer_ok),
(fs_xfer), (fs_move_to_trash), (fs_delete), (fs_empty_trash):
Start reworking progress dialog to Arlo specs.
Still need some heavy Gtk wrestling to make it match the design.
2000-07-23 Andy Hertzfeld <andy@eazel.com>
rework of the property browser to Arlo's design
* src/nautilus-property-browser.c:
(nautilus_property_browser_initialize),
(nautilus_property_browser_destroy),
(nautilus_property_browser_show),
(nautilus_property_browser_delete_event_callback),
(nautilus_property_browser_drag_end), (category_clicked_callback),
(make_properties_from_directory_path),
(make_properties_from_directory), (make_properties_from_xml_node),
(make_category), (make_category_link),
(nautilus_property_browser_update_contents):
converted the property browser to use a two panel design, where it remembers
the last category for next time. Made it use a single, persistent one instead of
allocating a new one each time
* src/nautilus-property-browser.h:
added nautilus_property_browser_show
* src/nautilus-window-menus.c: (settings_menu_customize_callback):
made the "customize" menu command call nautilus_property_browser_show instead of _new
* src/nautilus-sidebar-tabs.c:
(nautilus_sidebar_tabs_load_theme_data),
(draw_or_hit_test_all_tabs):
made the tabs in the arlo theme pre-light properly
* icons/arlo/arlo.xml:
changed rectangle for prelight tab piece
2000-07-23 J Shane Culpepper <pepper@eazel.com>
* components/services/inventory/Makefile.am:
* components/services/login/Makefile.am:
* components/services/summary/Makefile.am:
* components/services/vault/Makefile.am:
Removing template directories from default build
until they contain something useful.
2000-07-21 Mathieu Lacage <mathieu@eazel.com>
Updates nautilus to the latest gnome-vfs changes.
* components/music/nautilus-music-view.c: (play_current_file),
(nautilus_music_view_update_from_uri):
* components/services/vault/command-line/vault-operations.c:
(vault_list):
* libnautilus-extensions/bonobo-stream-vfs.c: (vfs_length):
* libnautilus-extensions/nautilus-directory-async.c:
(nautilus_directory_get_info_for_new_files),
(start_monitoring_file_list), (start_getting_directory_counts),
(deep_count_load), (start_getting_file_info):
* libnautilus-extensions/nautilus-icon-factory.c:
(vfs_file_exists), (first_file_more_recent),
(path_represents_svg_image), (cached_image_still_valid):
* libnautilus-extensions/nautilus-mime-actions.c:
(get_mime_type_from_uri):
* libnautilus-extensions/nautilus-preferences-item.c:
(has_image_file), (add_icon_themes):
* src/file-manager/fm-properties-window.c:
(get_property_names_from_uri):
* src/nautilus-applicable-views.c: (async_get_file_info_text):
* src/nautilus-link-set-window.c: (get_link_set_names):
* src/nautilus-location-bar.c: (try_to_expand_path):
* src/nautilus-property-browser.c: (ensure_uri_is_image),
(make_properties_from_directory_path), (vfs_file_exists),
(make_properties_from_themes):
2000-07-21 Eskil Heyn Olsen <eskil@eazel.com>
* components/services/install/command-line/Makefile.am:
* components/services/install/command-line/genpkg_list.example:
* components/services/install/lib/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/sample/command-line/Makefile.am:
* components/services/trilobite/sample/command-line/main.c:
* components/services/trilobite/sample/service/Makefile.am:
The build was completely wasted if you did a make uninstall,
since the libtrilobite.h changes hadn't been made to all the libs
using it. This should fix it. I now need to check, if it uses the
installer or local .h files after a make install.
* components/services/install/lib/eazel-install-corba.c:
* components/services/install/lib/eazel-install-protocols.c:
(get_url_for_package):
Added a FIXME.
2000-07-21 Ali Abdin <aliabdin@aucegypt.edu>
* components/help/help-method.c:
(transform_absolute_file): Changed some stuff to fit Eazel style
guidelines. Fixed a couple of places that should use 'temp_file2'
instead of 'temp_file' (this prolly fixes a leak too).
(file_from_path): New function - returns the filename with no suffix
from a given path.
(transform_relative_file): Filled in this function. This fixed bug
#698 (i18n)
(help_uri_to_string): Make NULL the last argument to g_strconcat since
that is the required behavior (otherwise mem-corruption)
(convert_file_to_uri): Modified to match Eazel style guidelines.
Removed erroneous mime-type comparison for SGML files. Changed the
check for 'info' from a 'strncmp' to a 'strcmp'.
Also removed the FIXME's for bug #696 and #698
2000-07-21 Robin * Slomkowski <rslomkow@eazel.com>
* components/services/trilobite/libtrilobite/Makefile.am:
added the current source directory to the includes
* components/services/trilobite/libtrilobite/trilobite-root-client-public.h:
changed the include to not look for libtrilobite/
for trilobite-service.h
2000-07-20 Eskil Heyn Olsen <eskil@eazel.com>
* components/services/install/lib/eazel-install-protocols.c:
(eazel_install_fetch_package):
I tried to read the package header before downloading the file. Duh.
2000-07-20 Seth Nickell <seth@eazel.com>
* libnautilus-extensions/nautilus-search-uri.c:
(nautilus_simple_search_criteria_to_search_uri):
Add better escaping to the search bar, rendering it functional!
2000-07-20 Ramiro Estrugo <ramiro@eazel.com>
* cut-n-paste-code/freetype/Makefile.am:
Make distcheck happy.
2000-07-20 Eskil Heyn Olsen <eskil@eazel.com>
*
components/services/install/command-line/eazel-alt-install-corba.c:
(install_failed), (get_password_dude), (set_root_client), (main):
Added Robey's trilobite-root-helper-client thingy. Now prompts for
password.
* components/services/install/lib/eazel-install-corba-callback.h:
* components/services/install/lib/eazel-install-corba-callback.c:
(eazel_install_callback_destroy),
(eazel_install_callback_corba_objref),
(eazel_install_callback_bonobo):
Added a function to get the bonoboobjectclient pointer from the
callback dingbot.
* components/services/install/lib/eazel-install-object.c:
(xml_from_packagedata):
Duh, the xml creation was screwed.
* components/services/install/lib/eazel-install-protocols.h:
* components/services/install/lib/eazel-install-protocols.c:
(eazel_install_fetch_package),
(eazel_install_fetch_package_which_provides),
(get_url_for_package), (get_search_url_for_package):
Added code to fetch a package using the ?provides=; entry
point. Also fetching now immediately reads the package header.
* components/services/install/lib/eazel-install-rpm-glue.c:
(install_all_packages),
(eazel_install_do_rpm_transaction_make_argument_list),
(do_rpm_transaction), (eazel_install_load_rpm_headers),
(eazel_install_check_existing_packages),
(eazel_install_fetch_rpm_dependencies):
Better check-existing-package code. No longer allows installs of
packages already present with equal or higher version. Fixed the
bad "--force --nodeps" argument to rpm. Implemented querying for
file dependencies.
* components/services/install/lib/eazel-install-types.h:
* components/services/install/lib/eazel-install-types.c:
(packagedata_new), (packagedata_new_from_file),
(packagedata_fill_from_file), (packagedata_destroy_foreach),
(packagedata_status_enum_to_str), (packagedata_status_str_to_enum),
(packagedata_modstatus_enum_to_str),
(packagedata_modstatus_str_to_enum):
Fixes to the (mod)status to enum and vice versa. Also some
functions to load a header into a package.
* components/services/install/lib/eazel-install-xml-package-list.c:
(parse_package):
Now parses MODIFIES into the structure, also checks if MODSTATUS
is present before calling modstatus_str_to_enum,
* components/services/install/lib/libeazelinstall.h:
*
components/services/trilobite/libtrilobite/libtrilobite-service.h:
* components/services/trilobite/libtrilobite/libtrilobite.h:
*
Fixed <.../...> to "...", and added the gtk roothelper.
2000-07-20 Ramiro Estrugo <ramiro@eazel.com>
* librsvg/.cvsignore:
Ignore generated test-ft file.
2000-07-20 Ramiro Estrugo <ramiro@eazel.com>
* src/Makefile.am:
Add the check-nautilus script to EXTRA_DIST to make distcheck
happy.
2000-07-20 Raph Levien <raph@acm.org>
* cut-n-paste-code/freetype/ftmodule-list.h: Imported from
include/freetype/config/ftmodule-list.h from the Freetype codebase.
The name was changed to avoid a collision with the exsiting
ftmodule.h.
* cut-n-paste-code/freetype/ftinit.c: Renamed config/ftmodule.h
to ftmodule-list.h.
* cut-n-paste-code/freetype/ftgrays.c:
* cut-n-paste-code/freetype/ftextend.c:
* cut-n-paste-code/freetype/ftsystem.c: Little tweaks to
make compilation happier now that warnings are stricter.
* cut-n-paste-code/freetype/Makefile.am: Changed CFLAGS to
INCLUDES for setting FT_FLAT_COMPILE. The former was clobbering
other important flags, including -g and various -W*.
2000-07-20 Rebecca Schulman <rebecka@eazel.com>
* libnautilus-extensions/nautilus-directory-async.c:
(allow_metafile), (start_monitoring_file_list):
* libnautilus-extensions/nautilus-directory-private.h:
* libnautilus-extensions/nautilus-directory.c:
(nautilus_directory_destroy), (nautilus_directory_get),
(construct_alternate_metafile_uri), (nautilus_directory_is_local),
(nautilus_directory_file_monitor_remove):
* libnautilus-extensions/nautilus-directory.h:
got rid of changes before made for putting medusa
communication into nautilus. that is all part of
gnome-vfs now.
* libnautilus-extensions/nautilus-search-async.c:
* libnautilus-extensions/nautilus-search-async.h:
* libnautilus-extensions/Makefile.am:
Deprecated as they are no longer necessary (see above)
* libnautilus-extensions/nautilus-string.c:
* libnautilus-extensions/nautilus-string.h:
(nautilus_str_get_after_prefix):
added new function that nautilus-string-uri will use.
* src/file-manager/fm-list-view.c: (fm_list_view_create_list):
fix list view bug that should have been in my last checkin
Someone needs beat me over the head and fix my extensive
cvs issues from the last few days!
2000-07-20 Ali Abdin <aliabdin@aucegypt.edu>
* components/help/help-method.c:
Revert an inadvertant checkin made by Gene.
2000-07-20 Ramiro Estrugo <ramiro@eazel.com>
* src/file-manager/Makefile.am:
Make distcheck happy by putting all the headers in a
noinst_HEADERS macro.
2000-07-20 Ramiro Estrugo <ramiro@eazel.com>
* cut-n-paste-code/freetype/Makefile.am:
Add missing included .[ch] files to build to make distcheck happy.
2000-07-20 Ramiro Estrugo <ramiro@eazel.com>
* cut-n-paste-code/freetype/Makefile.am:
Build this beast only as a static library and dont install any of
its headers.
* librsvg/Makefile.am:
Link in the cut-and-pasted freetype lib statically into librsvg to
avoid having its clients having a depenency on freetype.
Thu Jul 20 10:41:26 2000 Raph Levien <raph@acm.org>
* librsvg/rsvg-ft.c librsvg/rsvg-ft.h librsvg/art_render_mask.c
librsvg/art_render_mask.h librsvg/rsvg.c: Initial checkin of
freetype2 integration.
* librsvg/art_render.c: Fixed bugs in compositing with alpha
channel (alpha was being ignored in some cases).
* librsvg/rsvg.c: Added expansion of entities, now handles
many more files generated by Adobe Illustrator 9 SVG export.
* librsvg/rsvg-path.c: Changed relative coordinate handling
to generate correct results from SVG sample files provided
by Adobe.
2000-07-19 Rebecca Schulman <rebecka@eazel.com>
* src/file-manager/fm-list-view-private.h:
added forgotten file from last commit
2000-07-19 Rebecca Schulman <rebecka@eazel.com>
Created initial list view for search results, as a subclass (sort
of) of fm-list-view
* src/file-manager/fm-list-view.h:
* src/file-manager/fm-list-view.c: (fm_list_view_initialize_class),
(fm_list_view_initialize), (fm_list_view_list_is_instantiated),
(fm_list_view_set_instantiated), (fm_list_view_create_list),
(fm_list_view_setup_list), (add_to_list), (get_list),
(fm_list_view_set_zoom_level), (fm_list_view_install_row_images),
(update_icons):
added new create_list signal to FM_LIST_VIEW, and instantiate the
actual widget not in fm_list_view_initialize, but later, so that
the search subclass can create its own separate clist widget
* src/file-manager/fm-search-list-view.c:
(fm_search_list_view_initialize_class),
(fm_search_list_view_initialize), (fm_search_list_view_add_file),
(add_to_list), (get_list), (fm_search_list_view_create_list),
(compare_rows), (sort_criterion_from_column),
(get_attribute_from_column), (fm_search_list_view_destroy):
* src/file-manager/fm-search-list-view.h:
adjusted list-view appearance for search results, by adding a directory
column to show the actual path of files in a search result directory
* src/nautilus-application.c: (manufactures), (create_object):
* src/nautilus.oafinfo:
register the search list view
* src/file-manager/Makefile.am: added new fm-search-list-view.* files
2000-07-19 Robey Pointer <robey@eazel.com>
* components/services/trilobite/libtrilobite/trilobite-core-utils.h:
Add __GNUC__ alternate of trilobite_debug for non-gcc compilers.
2000-07-19 Darin Adler <darin@eazel.com>
* components/services/trilobite/libtrilobite/libtrilobite.h:
* components/services/trilobite/libtrilobite/trilobite-root-client.c:
Change include style from <libtrilobite/xxx.h> to "xxx.h" to fix
the build.
* libnautilus-extensions/nautilus-directory.c:
(make_uri_canonical), (is_canonical_uri):
Add two new elements to the canonical URI rules in here: put a
"file:" in front of things that don't have a scheme, and
lower-case the scheme.
* libnautilus-extensions/nautilus-string.h:
* libnautilus-extensions/nautilus-string.c:
(nautilus_istr_has_prefix), (nautilus_istr_has_suffix):
Add case-insensitive versions of these calls. These terse names
are maybe a little lame; istr is not completely clear. (I guess I
now wish the "nautilus_" namespace was "n_" instead, like those
rad Evolution people and their bold "e_").
* components/music/nautilus-music-view.c: (is_mp3_file),
(nautilus_music_view_update_from_uri):
* libnautilus-extensions/nautilus-file-utilities.c:
(nautilus_format_uri_for_display),
(nautilus_get_local_path_from_uri):
* libnautilus-extensions/nautilus-file.c:
(nautilus_file_contains_text):
* libnautilus-extensions/nautilus-icon-factory.c:
(nautilus_icon_factory_get_icon_for_file), (make_thumbnail_path),
(load_specific_image):
* libnautilus-extensions/nautilus-theme.c:
(nautilus_theme_make_selector):
* src/file-manager/fm-icon-view.c: (play_file), (preview_sound),
(icon_container_preview_callback):
* src/file-manager/fm-properties-window.c:
(get_property_names_from_uri):
* src/nautilus-location-bar.c: (try_to_expand_path):
* src/nautilus-property-browser.c: (ensure_uri_is_image),
(make_properties_from_directory_path):
* src/nautilus-sidebar.c: (map_local_data_file),
(add_command_buttons):
* libnautilus-extensions/nautilus-directory-background.c:
(local_data_file_to_uri):
Use case-insensitive string functions when dealing with MIME
types, URI schemes, or file name extensions for file types that
are also used on Windows where file names are not case sensitive.
* libnautilus-extensions/nautilus-string.c:
(nautilus_self_check_string):
* libnautilus-extensions/nautilus-bookmark.c:
(nautilus_bookmark_icon_is_different):
* src/nautilus-bookmark-list.c:
(nautilus_bookmark_list_delete_items_with_uri):
* src/nautilus-window-manage-views.c:
(nautilus_window_reset_title_internal), (handle_go_back),
(handle_go_forward), (handle_go_elsewhere):
* src/nautilus-window-menus.c:
(nautilus_window_add_bookmark_for_current_location):
Get rid of uses of nautilus_eat_strcmp since it's yucky.
* libnautilus-extensions/nautilus-debug.c:
(nautilus_str_equal_with_free):
Make a debug-only thing kind of like nautilus_eat_strcmp that's
good for asserts.
* src/nautilus-sidebar.c: (add_command_buttons):
Fixed a storage leak.
* libnautilus-extensions/nautilus-link-set.c: (link_set_path_name):
Added a FIXME.
* components/services/install/command-line/.cvsignore:
* cut-n-paste-code/freetype/.cvsignore:
Ignore some generated files.
2000-07-19 Robey Pointer <robey@eazel.com>
* components/services/trilobite/libtrilobite/libtrilobite.h:
* components/services/trilobite/libtrilobite/trilobite-core-utils.c:
(trilobite_add_log), (trilobite_init):
* components/services/trilobite/libtrilobite/trilobite-core-utils.h:
* components/services/trilobite/libtrilobite/trilobite-root-client.c:
(trilobite_root_client_unref), (trilobite_root_client_initialize):
* components/services/trilobite/libtrilobite/trilobite-root-helper.c:
(trilobite_root_helper_destroy),
(trilobite_root_helper_initialize), (eazel_helper_start),
(eazel_helper_password), (trilobite_root_helper_start),
(trilobite_root_helper_run_program):
* components/services/trilobite/sample/service/main.c: (main):
Add "debug" option to trilobite_init(). If debug mode is on,
the trilobite_debug() macro will be the debug equivalent of
g_message(). Added debugging log messages to the root-helper
stuff.
2000-07-19 Gene Z. Ragan <gzr@eazel.com>
* src/nautilus-window.c: (nautilus_window_initialize_class),
(nautilus_window_constructed),
(nautilus_window_get_base_page_index), (nautilus_window_show):
Overode show function with nautilus_window_show. We need
to do this so we can first call the parents show and then
show/hide window widgets based on the users prefs. We need
to do this because GnomeDockItems do not get their parent
assigned until show is called on them.
2000-07-19 Ali Abdin <aliabdin@aucegypt.edu>
* components/help/help-method.c:
(help_uri_to_string):
Cleaned it up to fit Eazel style guidelines. Changed the URI's so they
pass the mime-type to pipe and are escaped. Fixes bug #698.
I also removed a lot of #ifdef DEBUG_ALI cruft left lying around.
2000-07-18 Pavel Cisler <pavel@eazel.com>
* libnautilus-extensions/nautilus-file.c: (nautilus_file_dump):
* libnautilus-extensions/nautilus-file.h:
Added a debugging call.
2000-07-19 Eskil Heyn Olsen <eskil@eazel.com>
* components/services/install/command-line/Makefile.am:
* components/services/install/command-line/eazel-alt-install-corba.c:
Added the uninstall stuff.
(set_parameters_from_command_line), (eazel_preflight_check_signal),
(eazel_install_progress_signal), (install_failed), (main):
* components/services/install/command-line/eazel-package-query.c:
(main):
Small too to do cli package queries.
* components/services/install/lib/eazel-install-corba-types.c:
(categorydata_list_from_corba_categorystructlist):
* components/services/install/lib/eazel-install-corba-types.h:
Removed the packagedata to xml conversion to eazel-install-xml-package-list.c
* components/services/install/lib/eazel-install-object.c:
(xml_from_packagedata), (eazel_install_destroy),
(eazel_install_initialize):
Moved the packagedata corba_char* xml conv here.
* components/services/install/lib/eazel-install-private.h:
Added a GList*, which holds the current transaction.
* components/services/install/lib/eazel-install-query.c:
(eazel_install_simple_rpm_query), (eazel_install_simple_query):
* components/services/install/lib/eazel-install-query.h:
Implemented the simple query mechanisms. They are simple, since
they're eg. of the format MATCHES "gmc", REQUIRES "glib" and such.
* components/services/install/lib/eazel-install-rpm-glue.c:
(install_new_packages), (install_all_packages),
(uninstall_all_packages), (uninstall_packages),
(rpm_show_progress), (eazel_install_do_rpm_transaction_fill_hash),
(eazel_install_do_rpm_transaction_get_total_size),
(eazel_install_do_rpm_transaction_make_argument_list),
(eazel_install_do_rpm_transaction_process_pipe),
(do_rpm_transaction), (do_rpm_uninstall),
(eazel_install_prepare_rpm_system), (eazel_install_add_to_rpm_set),
(eazel_install_check_existing_packages),
(eazel_install_fetch_rpm_dependencies),
(eazel_uninstall_upward_traverse),
(eazel_uninstall_downward_traverse), (eazel_uninstall_globber):
A lot of the old progress code has been ripped out and replaced
with the trilobite-root-helper code. Some refactoring was done
(more needed) and most parts of 1586 is done.
The uninstall stuff is also reimplemented (1700)
* components/services/install/lib/eazel-install-types.c:
(rpmname_from_packagedata), (packagedata_status_str_to_enum),
(packagedata_modstatus_enum_to_str),
(packagedata_modstatus_str_to_enum):
* components/services/install/lib/eazel-install-types.h:
Added fields to PackageData, so I can store transactions (eg. that
installing package bla upgrades blech from x.y to v.w).
* components/services/install/lib/eazel-install-xml-package-list.c:
(parse_package), (eazel_install_packagedata_to_xml),
(eazel_install_packagelist_to_xml),
(eazel_install_categorydata_to_xml):
* components/services/install/lib/eazel-install-xml-package-list.h:
Functions to convert packagedata lists to xml.
* components/services/trilobite/libtrilobite/trilobite-service-passwo
rdquery.c: (trilobite_passwordquery_get_password):
Destroy the password query dialog.
2000-07-19 Raph Levien <raph@acm.org>
I have added tentative support for building rsvg with
freetype2. At this point, only test-rsvg has the freetype
dependency. Thus, if things break, it should be easy enough to
work around. My current thinking is to add the dependency
throughout by replacing existing top-builddir relative ldadd's of
librsvg.la with a newly defined $(RSVG_LIBS) variable. This
variable will be defined in configure.in to include both freetype
and librsvg. Hopefully, I'll check that in tomorrow morning.
* configure.in: added cut-n-paste-code/freetype/Makefile output.
* cut-n-paste-code/Makefile.am (SUBDIRS): Added freetype subdir.
* cut-n-paste-code/freetype/Makefile.am
cut-n-paste-code/freetype/README
cut-n-paste-code/freetype/autohint.h
cut-n-paste-code/freetype/cff.c
cut-n-paste-code/freetype/cidafm.c
cut-n-paste-code/freetype/cidafm.h
cut-n-paste-code/freetype/cidgload.c
cut-n-paste-code/freetype/cidgload.h
cut-n-paste-code/freetype/cidload.c
cut-n-paste-code/freetype/cidload.h
cut-n-paste-code/freetype/cidobjs.c
cut-n-paste-code/freetype/cidobjs.h
cut-n-paste-code/freetype/cidparse.c
cut-n-paste-code/freetype/cidparse.h
cut-n-paste-code/freetype/cidriver.c
cut-n-paste-code/freetype/cidriver.h
cut-n-paste-code/freetype/cidtokens.h
cut-n-paste-code/freetype/freetype.h
cut-n-paste-code/freetype/ftbase.c
cut-n-paste-code/freetype/ftbbox.h
cut-n-paste-code/freetype/ftcalc.c
cut-n-paste-code/freetype/ftcalc.h
cut-n-paste-code/freetype/ftconfig.h
cut-n-paste-code/freetype/ftdebug.c
cut-n-paste-code/freetype/ftdebug.h
cut-n-paste-code/freetype/ftdriver.h
cut-n-paste-code/freetype/fterrors.h
cut-n-paste-code/freetype/ftextend.c
cut-n-paste-code/freetype/ftextend.h
cut-n-paste-code/freetype/ftglyph.c
cut-n-paste-code/freetype/ftglyph.h
cut-n-paste-code/freetype/ftgrays.c
cut-n-paste-code/freetype/ftgrays.h
cut-n-paste-code/freetype/ftimage.h
cut-n-paste-code/freetype/ftinit.c
cut-n-paste-code/freetype/ftlist.c
cut-n-paste-code/freetype/ftlist.h
cut-n-paste-code/freetype/ftmemory.h
cut-n-paste-code/freetype/ftmm.c
cut-n-paste-code/freetype/ftmm.h
cut-n-paste-code/freetype/ftmodule.h
cut-n-paste-code/freetype/ftobjs.c
cut-n-paste-code/freetype/ftobjs.h
cut-n-paste-code/freetype/ftoption.h
cut-n-paste-code/freetype/ftoutln.c
cut-n-paste-code/freetype/ftoutln.h
cut-n-paste-code/freetype/ftraster.c
cut-n-paste-code/freetype/ftraster.h
cut-n-paste-code/freetype/ftrend1.c
cut-n-paste-code/freetype/ftrend1.h
cut-n-paste-code/freetype/ftrender.h
cut-n-paste-code/freetype/ftsmooth.c
cut-n-paste-code/freetype/ftsmooth.h
cut-n-paste-code/freetype/ftstream.c
cut-n-paste-code/freetype/ftstream.h
cut-n-paste-code/freetype/ftsystem.c
cut-n-paste-code/freetype/ftsystem.h
cut-n-paste-code/freetype/fttypes.h
cut-n-paste-code/freetype/license.txt
cut-n-paste-code/freetype/psmodule.c
cut-n-paste-code/freetype/psmodule.h
cut-n-paste-code/freetype/psnames.h
cut-n-paste-code/freetype/pstables.h
cut-n-paste-code/freetype/raster1.c
cut-n-paste-code/freetype/sfdriver.c
cut-n-paste-code/freetype/sfdriver.h
cut-n-paste-code/freetype/sfnt.c
cut-n-paste-code/freetype/sfnt.h
cut-n-paste-code/freetype/sfobjs.c
cut-n-paste-code/freetype/sfobjs.h
cut-n-paste-code/freetype/smooth.c
cut-n-paste-code/freetype/t1afm.c
cut-n-paste-code/freetype/t1afm.h
cut-n-paste-code/freetype/t1driver.c
cut-n-paste-code/freetype/t1driver.h
cut-n-paste-code/freetype/t1errors.h
cut-n-paste-code/freetype/t1gload.c
cut-n-paste-code/freetype/t1gload.h
cut-n-paste-code/freetype/t1hinter.c
cut-n-paste-code/freetype/t1hinter.h
cut-n-paste-code/freetype/t1load.c
cut-n-paste-code/freetype/t1load.h
cut-n-paste-code/freetype/t1objs.c
cut-n-paste-code/freetype/t1objs.h
cut-n-paste-code/freetype/t1parse.c
cut-n-paste-code/freetype/t1parse.h
cut-n-paste-code/freetype/t1tables.h
cut-n-paste-code/freetype/t1tokens.c
cut-n-paste-code/freetype/t1tokens.h
cut-n-paste-code/freetype/t1types.h
cut-n-paste-code/freetype/t2driver.c
cut-n-paste-code/freetype/t2driver.h
cut-n-paste-code/freetype/t2errors.h
cut-n-paste-code/freetype/t2gload.c
cut-n-paste-code/freetype/t2gload.h
cut-n-paste-code/freetype/t2load.c
cut-n-paste-code/freetype/t2load.h
cut-n-paste-code/freetype/t2objs.c
cut-n-paste-code/freetype/t2objs.h
cut-n-paste-code/freetype/t2parse.c
cut-n-paste-code/freetype/t2parse.h
cut-n-paste-code/freetype/t2tokens.h
cut-n-paste-code/freetype/t2types.h
cut-n-paste-code/freetype/truetype.c
cut-n-paste-code/freetype/ttcmap.c
cut-n-paste-code/freetype/ttcmap.h
cut-n-paste-code/freetype/ttdriver.c
cut-n-paste-code/freetype/ttdriver.h
cut-n-paste-code/freetype/tterrors.h
cut-n-paste-code/freetype/ttgload.c
cut-n-paste-code/freetype/ttgload.h
cut-n-paste-code/freetype/ttinterp.c
cut-n-paste-code/freetype/ttinterp.h
cut-n-paste-code/freetype/ttload.c
cut-n-paste-code/freetype/ttload.h
cut-n-paste-code/freetype/ttnameid.h
cut-n-paste-code/freetype/ttobjs.c
cut-n-paste-code/freetype/ttobjs.h
cut-n-paste-code/freetype/ttpload.c
cut-n-paste-code/freetype/ttpload.h
cut-n-paste-code/freetype/ttpost.c
cut-n-paste-code/freetype/ttpost.h
cut-n-paste-code/freetype/ttsbit.c
cut-n-paste-code/freetype/ttsbit.h
cut-n-paste-code/freetype/tttables.h
cut-n-paste-code/freetype/tttags.h
cut-n-paste-code/freetype/tttypes.h
cut-n-paste-code/freetype/type1.c
cut-n-paste-code/freetype/type1cid.c
cut-n-paste-code/freetype/type1z.c
cut-n-paste-code/freetype/winfnt.c
cut-n-paste-code/freetype/winfnt.h
cut-n-paste-code/freetype/z1afm.c
cut-n-paste-code/freetype/z1afm.h
cut-n-paste-code/freetype/z1driver.c
cut-n-paste-code/freetype/z1driver.h
cut-n-paste-code/freetype/z1gload.c
cut-n-paste-code/freetype/z1gload.h
cut-n-paste-code/freetype/z1load.c
cut-n-paste-code/freetype/z1load.h
cut-n-paste-code/freetype/z1objs.c
cut-n-paste-code/freetype/z1objs.h
cut-n-paste-code/freetype/z1parse.c
cut-n-paste-code/freetype/z1parse.h
cut-n-paste-code/freetype/z1tokens.h: Adapted a beta version of
freetype2 so that it would build reasonably well within the
(horribly broken) confines of autoconf and libtool.
* librsvg/Makefile.am: Added cut-n-paste code to include paths,
top-builddir relative path to libfreetype2.la to test-rsvg.
* librsvg/test-rsvg.c: Added #include <freetype/freetype.h>.
2000-07-18 J Shane Culpepper <pepper@eazel.com>
*
components/services/install/nautilus-view/nautilus-service-install-
view.c: * components/services/login/nautilus-view/Makefile.am: *
components/services/login/nautilus-view/nautilus-login-view.c:
(generate_login_form), (login_button_cb), (maintenance_button_cb):
*
components/services/nautilus-dependant-shared/shared-service-utilit
ies.c: (is_location): *
components/services/nautilus-dependant-shared/shared-service-utilit
ies.h: *
components/services/nautilus-dependant-shared/shared-service-widget
s.c: (create_services_header_widget),
(set_widget_foreground_color), (show_feedback): *
components/services/nautilus-dependant-shared/shared-service-widget
s.h: *
components/services/startup/nautilus-view/nautilus-service-startup-
view.c: (generate_startup_form),
(nautilus_service_startup_view_get_nautilus_view): *
components/services/summary/nautilus-view/Makefile.am: *
components/services/summary/nautilus-view/nautilus-summary-view.c:
(generate_summary_form):
Second half of fix for task # 1632. Most of the common functions that
currently exist have been merged to a single location.
2000-07-18 Robey Pointer <robey@eazel.com>
* components/services/install/lib/Makefile.am:
* components/services/install/lib/eazel-install-rpm-signature.c:
(read_rpm_lead), (read_rpm_signature),
(trilobite_check_rpm_signature):
Fixed RPM signature code (previous code wouldn't work on some
machines due to blatant library incompatibilities) to parse the
RPM headers and find the signature by hand.
2000-07-18 Darin Adler <darin@eazel.com>
* libnautilus-extensions/nautilus-icon-container.c: (relayout):
Fixed bug where icons would not re-layout if the state got
set as if we were in the middle of an icon stretch.
2000-07-18 Gene Z. Ragan <gzr@eazel.com>
Fixed bug 1702, Icon renaming doeas not respect user colors
* libnautilus-extensions/nautilus-icon-text-item.c:
(iti_paint_text), (iti_draw):
Text color and highlight will use user defined colors.
The background of the renaming rect is drawn using solid
white instead of being transparent.
2000-07-18 Robey Pointer <robey@eazel.com>
* components/services/install/lib/Makefile.am:
* components/services/install/lib/eazel-install-rpm-signature.c:
(trilobite_make_temp_file), (trilobite_get_rpm_signature),
(trilobite_check_rpm_signature):
* components/services/install/lib/eazel-install-rpm-signature.h:
Add eazel-install-rpm-signature.[ch] to verify RPM signatures.
2000-07-18 Robey Pointer <robey@eazel.com>
* components/services/trilobite/libtrilobite/trilobite-core-utils.c:
(trilobite_pexec):
* components/services/trilobite/sample/command-line/Makefile.am:
* components/services/trilobite/sample/command-line/main.c: (main):
Fix up the command-line sample service to use trilobite_init(),
and make pexec a little more robust.
2000-07-18 J Shane Culpepper <pepper@eazel.com>
* components/services/nautilus-dependant-shared/Makefile.am:
Forgot to include subdirs
2000-07-18 J Shane Culpepper <pepper@eazel.com>
* components/services/Makefile.am:
* components/services/install/nautilus-view/Makefile.am:
* components/services/install/nautilus-view/nautilus-service-install-view.c:
(generate_install_form),
(nautilus_service_install_view_update_from_uri):
* components/services/nautilus-dependant-shared/.cvsignore:
* components/services/nautilus-dependant-shared/Makefile.am:
* components/services/nautilus-dependant-shared/icons/.cvsignore:
* components/services/nautilus-dependant-shared/icons/Makefile.am:
* components/services/nautilus-dependant-shared/shared-service-utilities.c:
(go_to_uri):
* components/services/nautilus-dependant-shared/shared-service-utilities.h:
* components/services/nautilus-dependant-shared/shared-service-widgets.c:
(create_image_widget), (create_services_title_widget),
(create_services_header_widget):
* components/services/nautilus-dependant-shared/shared-service-widgets.h:
* components/services/startup/nautilus-view/Makefile.am:
* components/services/startup/nautilus-view/icons/Makefile.am:
* components/services/startup/nautilus-view/nautilus-service-startup-view.c:
(generate_startup_form), (generate_form_logo),
(nautilus_service_startup_view_initialize),
(nautilus_service_startup_view_load_uri):
* configure.in:
First part of the fix for task #1632. Creating a common repository
for duplicated nautilus dependant code that is used in service views.
2000-07-18 Pavel Cisler <pavel@eazel.com>
* libnautilus-extensions/nautilus-list.c: (nautilus_list_draw),
(nautilus_list_expose):
Update the colors before each draw to deal with background color
changes. I had it listen to appearance_changed signals but this
is way more robust.
2000-07-18 Darin Adler <darin@eazel.com>
* libnautilus-extensions/nautilus-stock-dialogs.c:
(nautilus_timed_wait_start): Another field needed to be
initialized to 0, so I used g_new0.
* src/file-manager/fm-desktop-icon-view.c:
(fm_desktop_icon_view_create_background_context_menu_items):
Call nautilus_application_close_desktop directly instead of
doing it through FMDirectoryView.
* src/file-manager/fm-directory-view.c:
(fm_directory_view_get_uri),
(fm_directory_view_can_accept_item): g_return_val_if_fail
is better than g_assert for parameter checking on public
calls.
(fm_directory_view_get_context_menu_index): Menu paths are
hard-coded strings, so use strcmp, not g_strcasecmp.
* src/file-manager/fm-directory-view.h:
* src/file-manager/fm-directory-view.c:
Get rid of the FMDirectoryView cover for turning off
Nautilus's desktop management. Callers can just use the
NautilusApplication call directly.
2000-07-18 Maciej Stachowiak <mjs@eazel.com>
* components/tree/nautilus-tree-model.c,
components/tree/nautilus-tree-model.h: files for tree view model.
2000-07-18 Maciej Stachowiak <mjs@eazel.com>
* libnautilus-extensions/nautilus-directory.c
(nautilus_uri_is_search_uri): Always return false to try to
disable special-casing the brute force way (so Nautilus can
actually display search results).
2000-07-18 Pavel Cisler <pavel@eazel.com>
* libnautilus-extensions/nautilus-list.c:
(nautilus_list_initialize_class),
(nautilus_gdk_set_shifted_foreground_gc_color),
(nautilus_list_setup_style_colors), (selected_column_index):
* libnautilus-extensions/nautilus-list.h:
* src/file-manager/fm-list-view.c: (fm_list_get_drag_pixmap),
(fm_list_get_sort_column_index), (create_list):
Made it so that the actual sort column is properly higlighted
rather than a hardcoded one. Added a signal that nautilus_list
can use to ask which column is sorted.
* libnautilus-extensions/nautilus-gdk-extensions.h:
* libnautilus-extensions/nautilus-gdk-extensions.c:
(nautilus_gdk_color_to_rgb), (nautilus_shift_color_component),
(nautilus_rgb_shift_color):
I added these couple checkins back, moved them to the right
place.
Tweaked nautilus_rgb_shift_color to not change the value of
the alpha component.
* libnautilus-extensions/nautilus-gtk-extensions.c:
* libnautilus-extensions/nautilus-gtk-extensions.h:
(nautilus_gtk_marshal_INT__NONE):
More marshalling cruft.
2000-07-18 Ramiro Estrugo <ramiro@eazel.com>
* components/tree/main.c: (main):
Dont initialize gnome twice to avoid assertion spewage.
2000-07-18 Ramiro Estrugo <ramiro@eazel.com>
* components/services/time/command-line/.cvsignore:
* components/services/time/nautilus-view/.cvsignore:
* components/services/trilobite/sample/command-line/.cvsignore:
Ignore generated spewage.
2000-07-18 Ramiro Estrugo <ramiro@eazel.com>
* libnautilus-extensions/nautilus-radio-button-group.c:
(button_toggled), (nautilus_radio_button_group_insert),
(nautilus_radio_button_group_get_active_index),
(nautilus_radio_button_group_set_entry_pixbuf),
(nautilus_radio_button_group_set_entry_description_text):
* libnautilus-extensions/nautilus-radio-button-group.h:
Add support for nicely aligned description labels.
* src/nautilus-first-time-druid.c: (create_named_pixbuf),
(set_up_user_level_page), (nautilus_first_time_druid_show):
Add icons for each of the user levels.
Use radio group description labels for the description blurb so
that they align nicely.
* test/test-nautilus-widgets.c: (test_radio_group):
Update for description label support.
2000-07-18 Andy Hertzfeld <andy@eazel.com>
* icons/eazel/i-directory.png
* icons/eazel/i-directory-accept.png
* icons/eazel/i-directory-12.png
* icons/eazel/i-directory-accept-12.png
* icons/eazel/i-directory-24.png
* icons/eazel/i-directory-accept-24.png
* icons/eazel/i-directory-36.png
* icons/eazel/i-directory-accept-36.png
* icons/eazel/i-directory-72.png
* icons/eazel/i-directory-accept-72.png
* icons/eazel/i-directory-96.png
* icons/eazel/i-directory-accept-96.png
updated all of the non-anti-aliased folder icons in the eazel theme
with new ones from Susan that better match the anti-aliased ones.
2000-07-18 Ramiro Estrugo <ramiro@eazel.com>
* libnautilus-extensions/nautilus-image.c:
(nautilus_image_initialize_class), (nautilus_image_realize),
(nautilus_image_unrealize), (ensure_buffer_size):
* libnautilus-extensions/nautilus-image.h:
Subclass from GtkMisc instead of GtkWidget.
2000-07-18 Ramiro Estrugo <ramiro@eazel.com>
* libnautilus-extensions/nautilus-radio-button-group.c:
(nautilus_radio_button_group_initialize_class),
(nautilus_radio_button_group_initialize),
(nautilus_radio_button_group_destroy),
(radio_button_group_free_button_group),
(nautilus_radio_button_group_insert),
(nautilus_radio_button_group_get_active_index),
(nautilus_radio_button_group_set_active_index),
(nautilus_radio_button_group_set_pixbuf):
* libnautilus-extensions/nautilus-radio-button-group.h:
Add support for displaying an option icon with each radio button
pixbuf. Use NautilusImage for this.
* test/test-nautilus-widgets.c: (create_pixbuf),
(test_radio_group):
Update test to include icon support.
2000-07-17 Pavel Cisler <pavel@eazel.com>
* libnautilus-extensions/nautilus-list.c:
(nautilus_list_setup_style_colors), (nautilus_list_clear_from_row):
Fix a number of problems in nautilus_list_clear_from_row.
Tweak the divider line color a bit.
* src/file-manager/fm-list-view.c:
Fix some whitespace.
2000-07-17 Gene Z. Ragan <gzr@eazel.com>
* src/nautilus-desktop-window.c: (realize):
Fixed bug 1254, Determine whether unfocussable desktop
cause problems.
This bug mainly had to do with renaming the icon. I played with
the feature to try and find any other problems. None arose,
but we should test this feature when we have QA.
Thanks ramiro for the tip.
2000-07-17 Andy Hertzfeld <andy@eazel.com>
fixed bug 1506: we need a way to specify "none" for icon captions
* src/file-manager/fm-icon-text-window.c:
(attribute_names_string_is_good),
(changed_attributes_option_menu_callback),
(ensure_unique_attributes):
added the "none" option and changed some tests to allow
"none" to be selected for all 3 captions
* src/file-manager/fm-icon-view.c: (get_icon_text_callback):
handle the "none" attribute properly
* libnautilus-extensions/nautilus-icon-factory.c:
(nautilus_icon_factory_get_icon_name_for_regular_file):
at Darin's suggestion, I made the code to force the generic
document for text files only trigger for "text/plain"; I also
commented it better.
2000-07-17 Gene Z. Ragan <gzr@eazel.com>
Fixed bug 1021, Should be able to hide toolbar, sidebar
and locationbar.
* libnautilus-extensions/nautilus-global-preferences.c:
(global_preferences_create_dialog),
(global_preferences_register_for_ui):
Added new items for showing/hiding window views.
* src/nautilus-window-menus.c: (file_menu_new_window_callback):
* src/nautilus-window.c: (nautilus_window_initialize),
(nautilus_window_constructed), (nautilus_window_destroy),
(sidebar_panels_changed_callback),
(toolbar_visibility_changed_callback),
(locationbar_visibility_changed_callback),
(statusbar_visibility_changed_callback),
(sidebar_visibility_changed_callback):
New callbacks to dynamically respong to user prefs changes when
showing/hiding window views.
* libnautilus-extensions/nautilus-icon-container.c:
(button_press_event):
Added a simple double-click test to fix annoying double open bug
when double clicking an icon in single click mode.
2000-07-17 Mathieu Lacage <mathieu@eazel.com>
* configure.in: add a check for medusa. It is
not perfect, it still needs some work but it is better
than nothing.
* components/*/Makefile.am: add BONOBO_CFLAGS where necessary.
* libnautilus-extensions/Makefile.am: add MEDUSA_CFLAGS and
MEDUSA_LIBS.
2000-07-17 Andy Hertzfeld <andy@eazel.com>
* libnautilus-extensions/nautilus-icon-factory.c:
(nautilus_icon_factory_get_icon_name_for_regular_file):
added code to make sure that we use the generic document icon for
text files so that the text-in-icons feature works, even if the
more specific gnome ones are installed.
* icons/eazel/i-regular.png:
* icons/eazel/i-regular-12.png:
* icons/eazel/i-regular-24.png:
* icons/eazel/i-regular-36.png:
* icons/eazel/i-regular-72.png:
* icons/eazel/i-regular-96.png:
new icons from Susan for the non-anti-aliased case that are
consistent with the anti-aliased one.
2000-07-17 Pavel Cisler <pavel@eazel.com>
* libnautilus-extensions/nautilus-list.c:
(nautilus_list_initialize_class), (selected_column_index),
(get_column_background), (get_cell_style),
(nautilus_list_clear_from_row), (draw_rows), (nautilus_list_draw),
(nautilus_list_expose):
Rework more of NautilusList drawing.
Added nautilus_list_draw and nautilus_list_expose.
Cleaned up draw_rows and made it so that only the NautilusList
version gets called.
Improved drawing performance of long lists.
Added code to draw the list area unpopulated with rows properly
(still needs some work).
2000-07-15 Ali Abdin <aliabdin@aucegypt.edu>
* components/help/help-contents.oafinfo:
* components/help/help-methods.conf:
* components/help/help-search.oafinfo:
Add 'ghelp' as a URI for backwards-compatibility (many doc files
and applications currently use 'ghelp:' prefix to bring up help
files we should handle it just like 'help:').
We might want to emit a 'warning' message saying it's deprecated.
2000-07-14 Gene Z. Ragan <gzr@eazel.com>
* components/help/help-method.c: (transform_absolute_file):
* libnautilus-extensions/nautilus-stock-dialogs.c:
(nautilus_timed_wait_start):
Initialize dialog variable in TimeWait structure to NULL.
Other code checks to see if it is NULL before performing
operations on the dialog. Carbamide exposed this bug when
trying to rename an icon item in place.
* src/nautilus-window-manage-views.c: (open_location):
Added a check for a NULL location string.
2000-07-14 Pavel Cisler <pavel@eazel.com>
* libnautilus-extensions/nautilus-list.c: (nautilus_list_destroy),
(nautilus_list_setup_style_colors), (nautilus_list_realize),
(get_cell_style), (nautilus_list_drag_data_received):
More work on list view look.
Make the colors be derived from the current background color.
Make color drops work.
Draw the selection better.
2000-07-14 Robey Pointer <robey@eazel.com>
* components/services/trilobite/libtrilobite/trilobite-root-client-public.h:
* components/services/trilobite/libtrilobite/trilobite-root-client.c:
(trilobite_root_client_unref), (trilobite_root_client_finalize),
(trilobite_root_client_class_initialize),
(trilobite_root_client_initialize):
* components/services/trilobite/libtrilobite/trilobite-service-passwordquery.c:
(trilobite_passwordquery_get_password):
* components/services/trilobite/sample/command-line/main.c: (main):
* components/services/trilobite/sample/service/sample-service-impl.c:
(impl_Trilobite_Eazel_Sample_list_it):
Fix up TrilobiteRootClient implementation (destroy -> unref) to
behave according to standards, and to more closely match gob
output. Fix a few small bugs.
2000-07-14 Ramiro Estrugo <ramiro@eazel.com>
* Makefile.am:
* tools/.cvsignore:
* tools/Makefile.am:
* tools/leak-checker/.cvsignore:
* tools/leak-checker/Makefile.am:
* tools/leak-checker/nautilus-leak-checker-stubs.h:
* tools/leak-checker/nautilus-leak-checker.c:
(nautilus_leak_allocation_record_init),
(nautilus_leak_allocation_record_copy),
(nautilus_leak_allocation_record_finalize),
(nautilus_leak_allocation_record_free),
(nautilus_leak_stack_crawl_compare), (nautilus_leak_initialize),
(get_stack_trace), (detect_reentry), (nautilus_leak_record_malloc),
(nautilus_leak_record_realloc), (nautilus_leak_record_free),
(nautilus_leak_initialize_if_needed),
(allocate_temporary_fallback_memory), (__libc_malloc),
(__libc_memalign), (__libc_calloc), (__libc_realloc),
(__libc_free), (print_leaks_at_exit), (__libc_start_main),
(print_one_leak), (nautilus_leak_print_leaks),
(nautilus_leak_checker_init), (malloc), (realloc), (memalign),
(calloc), (free), (allocate_lots), (leak_mem2), (leak_mem), (main):
* tools/leak-checker/nautilus-leak-checker.h:
* tools/leak-checker/nautilus-leak-hash-table.c:
(nautilus_leak_hash_element_finalize),
(nautilus_leak_hash_element_hash),
(nautilus_leak_hash_element_match),
(nautilus_leak_hash_element_vector_inititalize),
(nautilus_leak_hash_element_vector_finalize),
(nautilus_leak_hash_element_vector_at),
(nautilus_leak_hash_element_vector_add),
(nautilus_leak_hash_element_vector_remove),
(nautilus_leak_hash_table_optimal_size),
(nautilus_leak_hash_table_initialize),
(nautilus_leak_hash_table_finalize),
(nautilus_leak_hash_table_new), (nautilus_leak_hash_table_free),
(nautilus_leak_hash_table_hash), (nautilus_leak_hash_table_find),
(nautilus_leak_hash_table_add),
(nautilus_leak_hash_table_remove_element),
(nautilus_leak_hash_table_remove),
(nautilus_leak_table_new_entry_at),
(nautilus_leak_table_add_entry), (nautilus_leak_table_new),
(nautilus_leak_table_free), (sort_by_count),
(nautilus_leak_table_sort_by_count), (sort_by_size),
(nautilus_leak_table_sort_by_size),
(nautilus_leak_table_each_item):
* tools/leak-checker/nautilus-leak-hash-table.h:
* tools/leak-checker/nautilus-leak-symbol-lookup.c:
(nautilus_leak_find_symbol_in_map),
(nautilus_leak_symbol_map_get_offsets),
(nautilus_leak_symbol_map_load),
(nautilus_leak_symbol_map_load_if_needed),
(nautilus_leak_print_symbol_cleanup),
(nautilus_leak_find_symbol_address),
(nautilus_leak_print_symbol_address):
* tools/leak-checker/nautilus-leak-symbol-lookup.h:
Turn my dumbass brain on this time before committing.
Add the moved leak checker code for real.
2000-07-14 Darin Adler <darin@eazel.com>
* .cvsignore:
* components/services/time/command-line/.cvsignore:
* components/services/time/nautilus-view/.cvsignore:
* components/services/trilobite/libtrilobite/.cvsignore:
* components/services/trilobite/sample/lib/.cvsignore:
Some generated file names changed. So these have to change to.
2000-07-14 Michael Engber <engber@eazel.com>
* src/file-manager/fm-desktop-icon-view.c:
(fm_desktop_icon_view_initialize_class),
(fm_desktop_icon_view_create_background_context_menu_items),
(fm_desktop_icon_view_get_directory_sort_by),
(fm_desktop_icon_view_set_directory_sort_by),
(fm_desktop_icon_view_get_directory_sort_reversed),
(fm_desktop_icon_view_set_directory_sort_reversed),
(fm_desktop_icon_view_get_directory_auto_layout),
(fm_desktop_icon_view_set_directory_auto_layout):
* src/file-manager/fm-desktop-icon-view.h:
* src/file-manager/fm-icon-view.c:
(fm_icon_view_get_directory_sort_by),
(fm_icon_view_real_get_directory_sort_by),
(fm_icon_view_set_directory_sort_by),
(fm_icon_view_real_set_directory_sort_by),
(fm_icon_view_get_directory_sort_reversed),
(fm_icon_view_real_get_directory_sort_reversed),
(fm_icon_view_set_directory_sort_reversed),
(fm_icon_view_real_set_directory_sort_reversed),
(fm_icon_view_get_directory_auto_layout),
(fm_icon_view_real_get_directory_auto_layout),
(fm_icon_view_set_directory_auto_layout),
(fm_icon_view_real_set_directory_auto_layout),
(set_sort_criterion), (set_sort_reversed),
(fm_icon_view_begin_loading), (layout_changed_callback),
(fm_icon_view_initialize_class):
* src/file-manager/fm-icon-view.h:
Desktop no longer uses auto layout (bug 1059). Accomplished
by adding get/set methods to fm_icon_view which
fm_desktop_icon_view overrides.
2000-07-14 Ramiro Estrugo <ramiro@eazel.com>
* configure.in:
* test/Makefile.am:
* test/nautilus-leak-checker-stubs.h:
* test/nautilus-leak-checker.c:
* test/nautilus-leak-checker.h:
* test/nautilus-leak-hash-table.c:
* test/nautilus-leak-hash-table.h:
* test/nautilus-leak-symbol-lookup.c:
* test/nautilus-leak-symbol-lookup.h:
* tools/leak-checker:
Move the leakchecker library to its own place.
2000-07-14 Ramiro Estrugo <ramiro@eazel.com>
* components/services/install/nautilus-view/nautilus-service-install-view.c:
(generate_install_form), (create_image_widget),
(create_title_widget), (create_middle_title_widget):
* components/services/login/nautilus-view/nautilus-login-view.c:
(generate_login_form), (create_image_widget),
(create_title_widget):
* components/services/startup/nautilus-view/nautilus-service-startup-view.c:
(generate_startup_form), (create_image_widget),
(generate_form_logo):
* libnautilus-extensions/Makefile.am:
* libnautilus-extensions/nautilus-graphic.c:
* libnautilus-extensions/nautilus-graphic.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_realize),
(nautilus_image_unrealize), (nautilus_image_draw),
(nautilus_image_size_allocate), (nautilus_image_size_request),
(nautilus_image_map), (nautilus_image_unmap),
(nautilus_image_expose), (ensure_buffer_size),
(create_child_window), (nautilus_gdk_create_copy_area_gc),
(nautilus_gdk_pixbuf_render_to_drawable),
(nautilus_gdk_pixbuf_render_to_pixbuf),
(nautilus_gdk_pixbuf_render_to_pixbuf_alpha),
(gdk_string_dimensions), (nautilus_gdk_pixbuf_set_to_color),
(nautilus_gdk_pixbuf_tile), (nautilus_gdk_pixbuf_tile_alpha),
(nautilus_image_new), (nautilus_image_set_background_pixbuf),
(nautilus_image_get_background_pixbuf),
(nautilus_image_set_background_type),
(nautilus_image_get_background_type),
(nautilus_image_set_background_color),
(nautilus_image_get_background_color),
(nautilus_image_set_placement_type),
(nautilus_image_get_placement_type), (nautilus_image_set_pixbuf),
(nautilus_image_get_pixbuf), (nautilus_image_set_overall_alpha),
(nautilus_image_set_label_text), (nautilus_image_get_label_text),
(nautilus_image_set_label_font), (nautilus_image_get_label_font),
(nautilus_image_set_left_offset),
(nautilus_image_set_right_offset), (nautilus_image_set_top_offset),
(nautilus_image_set_bottom_offset),
(nautilus_image_set_extra_width),
(nautilus_image_set_extra_height):
* libnautilus-extensions/nautilus-image.h:
* test/.cvsignore:
* test/Makefile.am:
* test/test-nautilus-graphic.c:
* test/test-nautilus-image.c: (create_background), (create_pixbuf),
(create_image), (alpha_scale_value_changed),
(red_color_value_changed), (green_color_value_changed),
(blue_color_value_changed), (toggle_background_type_callback),
(create_color_scale), (main):
Rename NautilusGraphic to NautilusImage everywhere.
2000-07-14 Ramiro Estrugo <ramiro@eazel.com>
* src/nautilus-main.c: (main):
Commit the damn file for real this time.
2000-07-14 Ramiro Estrugo <ramiro@eazel.com>
* src/nautilus-main.c: (main):
Yank the leak checker intitialization code. Its not needed no
more cause the leak checker automatically does it when its
pre loaded.
* test/nautilus-leak-checker.c: (print_leaks_at_exit),
(__libc_start_main), (nautilus_leak_print_leaks):
Call atexit() with the leak dumping function.
2000-07-14 Pavel Cisler <pavel@eazel.com>
* libnautilus-extensions/nautilus-list.c:
(nautilus_list_destroy), (nautilus_list_button_release),
(nautilus_list_realize), (get_cell_style),
(draw_cell), (draw_row):
Work in progress on new list view look. Allocate GdkGCs needed to
draw the individual cells in different colors. Rework get_cell_style
to alternate gcs for different rows/columns properly.
Few things are still hardcoded and will get fixed soon.
* libnautilus-extensions/nautilus-list.c:
(nautilus_gdk_gc_copy)
Cover call for creating a new gc and copying state from an existing one.
* libnautilus-extensions/nautilus-list.c:
(nautilus_gdk_color_to_gdk_rgb),
(nautilus_shift_color_component), (nautilus_gdk_rgb_shift_color),
(nautilus_gdk_set_shifted_foreground_gc_color),
Convenience calls for lightening/darkening a color. Flavor that
sets a lightened/darkened color as a foreground color for a GC.
I'll move most of these to nautilus-gdk-extensions.c soon.
* libnautilus-extensions/nautilus-gdk-pixbuf-extensions.c:
(nautilus_gdk_pixbuf_average_value):
Fix white space.
2000-07-13 Robey Pointer <robey@eazel.com>
* components/services/trilobite/libtrilobite/Makefile.am:
*
components/services/trilobite/libtrilobite/trilobite-core-utils.c:
(trilobite_pexec), (trilobite_add_log), (trilobite_close_log),
(trilobite_init):
*
components/services/trilobite/libtrilobite/trilobite-core-utils.h:
* 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/trilobite/sample/service/main.c: (main):
Add trilobite_init() to cover up initialization madness. Clean up
the G_LOG_DOMAINS and make them roughly uniform. Use a
service-specified logfile for g_{message|warning|error} dumps.
2000-07-13 Eskil Heyn Olsen <eskil@eazel.com>
* components/rpmview/Makefile.am:
* components/rpmview/nautilus-rpm-view.c:
(nautilus_rpm_view_initialize),
(nautilus_rpm_view_update_from_uri):
Fixed so it should compile without enable-eazel-services (close
bug 1654)
*
components/services/install/command-line/eazel-alt-install-corba.c:
(eazel_preflight_check_signal), (eazel_install_progress_signal),
(done), (main):
Uses the new preflight signal.
* components/services/install/idl/trilobite-eazel-install.idl:
* components/services/install/lib/eazel-install-corba-callback.c:
(impl_preflight_check), (eazel_install_callback_get_epv),
(eazel_install_callback_create_corba_object),
(eazel_install_callback_destroy),
(eazel_install_callback_class_initialize):
* components/services/install/lib/eazel-install-corba-callback.h:
* components/services/install/lib/eazel-install-corba.c:
(impl_Eazel_Install_install), (impl_Eazel_Install_uninstall),
(impl_Eazel_Install_install_packages),
(impl_Eazel_Install_uninstall_packages),
(eazel_install_create_corba_object):
* components/services/install/lib/eazel-install-object.c:
(eazel_install_destroy), (eazel_install_class_initialize),
(eazel_install_emit_download_progress_default),
(eazel_install_emit_preflight_check),
(eazel_install_emit_preflight_check_default):
* components/services/install/lib/eazel-install-public.h:
* components/services/install/lib/eazel-install-rpm-glue.c:
(do_rpm_install), (eazel_install_fetch_rpm_dependencies):
* components/services/install/lib/eazel-install-types.h:
Fixed bug 1615, now emits the preflight_check signal, before
running rpm and after completing downloads.
Also corrected some bad stuff in the corba usage reg. duplicating
the callback objects and releasing them.
The RPM output parsing now seems to work fine, and signals are
again emitted as expected.
Added FIXME:s for bug 1586, so I can split it up.
* components/services/install/lib/eazel-install-corba-types.c:
(corba_packagedatastruct_from_packagedata):
Fixed dumb bug reg. converting PackageData to corba.
* components/services/install/lib/eazel-install-types.c:
(packagedata_fill_from_rpm_header):
Correct read of the bytesize.
* components/services/time/command-line/main.c: (main):
Fixed dumb bug that prevented a maxdiff=0.
* components/services/time/service/main.c:
(trilobite_service_factory_destroy):
* components/services/time/service/trilobite-eazel-time-service.c:
(impl_Trilobite_Eazel_Time_Service_check_time),
(impl_Trilobite_Eazel_Time_Service_update_time):
Uses the TrilobiteRootHelper object now.
*
components/services/trilobite/libtrilobite/trilobite-service-passwo
rdquery.c: (trilobite_passwordquery_get_password):
Added a debug output, will remove.
* components/services/time/command-line/Makefile.am:
* components/services/time/nautilus-view/Makefile.am:
* components/services/trilobite/libtrilobite/Makefile.am:
* components/services/trilobite/sample/lib/Makefile.am:
Added the idl_stamp to CLEAN_FILES.
2000-07-13 Andy Hertzfeld <andy@eazel.com>
* icons/eazel/eazel.xml:
changed the background in the eazel theme per Susan's request
* data/backgrounds/Makefile.am:
* data/backgrounds/blue_gray_rough.png:
* data/backgrounds/camouflage.png:
* data/backgrounds/fleur_de_lis.png:
* data/backgrounds/pale_blue_string.png:
* data/backgrounds/pale_blue_wavy.png:
* data/backgrounds/satin.png:
* data/backgrounds/wavy_white.png:
added new backgrounds from Susan
2000-07-13 Darin Adler <darin@eazel.com>
* HACKING: Updated gnome-libs branch.
* libnautilus-extensions/nautilus-stock-dialogs.c:
(timed_wait_hash), (timed_wait_hash_equal), (add_label_to_dialog),
(timed_wait_free), (timed_wait_cancel_callback),
(timed_wait_callback), (nautilus_timed_wait_start),
(nautilus_timed_wait_stop), (nautilus_simple_dialog):
A cut at a real timed wait implementation; not tested yet beyond
making sure it builds and doesn't die in any obvious way.
2000-07-13 Andy Hertzfeld <andy@eazel.com>
At Darin's not-so-gentle urging, I removed all knowledge of the
anti-aliased preference from the icon factory, and passed it in
via parameters instead.
* libnautilus-extensions/nautilus-bookmark.c:
(nautilus_bookmark_update_icon),
(nautilus_bookmark_set_icon_to_default):
changed icon factory calls to pass in anti-aliased preference
* libnautilus-extensions/nautilus-icon-container.c,h:
(nautilus_icon_container_get_anti_aliased_mode):
added a get_anti_aliased_mode accessor
* libnautilus-extensions/nautilus-icon-dnd.c:
(nautilus_icon_dnd_begin_drag):
changed icon factory calls to pass in anti-aliased preference
* libnautilus-extensions/nautilus-icon-factory.c,h:
(nautilus_icon_factory_initialize),
(nautilus_icon_factory_destroy), (get_themed_icon_file_path),
(get_icon_file_path),
(nautilus_scalable_icon_new_from_text_pieces),
(nautilus_icon_factory_get_icon_for_file),
(nautilus_icon_factory_get_emblem_icon_by_name),
(nautilus_icon_factory_get_emblem_icons_for_file),
(nautilus_icon_factory_get_thumbnail_uri), (load_specific_image),
(nautilus_icon_factory_get_pixbuf_for_file),
(nautilus_icon_factory_get_pixmap_and_mask_for_file),
(load_image_with_embedded_text):
added the anti-aliased parameter to the appropriate calls, and
revamped internal calls to pass it around as necessary
* src/file-manager/fm-icon-view.c: (get_icon_images_callback):
changed icon factory calls to pass in anti-aliased preference
* src/file-manager/fm-list-view.c:
(fm_list_view_get_emblem_pixbufs_for_file):
changed icon factory calls to pass in anti-aliased preference
* src/file-manager/fm-properties-window.c:
(get_pixmap_and_mask_for_properties_window),
(create_image_widget_for_emblem):
changed icon factory calls to pass in anti-aliased preference
* src/nautilus-bookmark-list.c: (make_bookmark_from_node):
changed icon factory calls to pass in anti-aliased preference
* src/nautilus-sidebar-title.c: (update_emblems):
changed icon factory calls to pass in anti-aliased preference
2000-07-13 Darin Adler <darin@eazel.com>
* components/services/startup/lib/dummy.c: Added an empty file to
fix the build (required since Elliot added it to the Makefile).
* HACKING: Some tweaks.
* TODO: Removed some done items.
* src/Makefile.am:
* src/file-manager/Makefile.am:
Changed libntl-file-manager.la to libnautilus-file-manager.la.
2000-07-13 Elliot Lee <sopwith@redhat.com>
* TODO: Fix typo
* components/rpmview/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/startup/lib/Makefile.am,
components/services/time/command-line/Makefile.am,
components/services/time/service/Makefile.am,
components/services/trilobite/helper/Makefile.am,
components/services/trilobite/sample/command-line/Makefile.am,
components/services/trilobite/sample/service/Makefile.am,
components/services/vault/command-line/Makefile.am,
cut-n-paste-code/widgets/e-paned/Makefile.am,
cut-n-paste-code/widgets/nautilus-druid/Makefile.am,
libnautilus-extensions/Makefile.am,
src/Makefile.am,
test/Makefile.am: Fix srcdir != builddir:
* components/services/trilobite/helper/eazel-helper.c,
components/services/vault/command-line/vault-operations.c,
libnautilus-extensions/nautilus-graphic.c,
libnautilus-extensions/nautilus-icon-container.c,
libnautilus-extensions/nautilus-list.c: Include string.h
for strlen prototype.
2000-07-13 Andy Hertzfeld <andy@eazel.com>
* libnautilus-extensions/nautilus-icon-factory.c:
(nautilus_icon_factory_initialize),
(nautilus_icon_factory_destroy),
(anti_aliased_mode_changed_callback), (get_themed_icon_file_path),
(nautilus_scalable_icon_new_from_text_pieces),
(nautilus_scalable_icon_hash), (nautilus_scalable_icon_equal):
made the icon factory support optimized icons for anti-aliased mode.
Added a field to nautilus_scalable_icon and included it in the
cache key calculation; arranged for notification when aa-mode
changes so we can emit the "icons_changed" signal.
* icons/eazel/Makefile.am:
* icons/eazel/i-regular-12-aa.png:
* icons/eazel/i-regular-24-aa.png:
* icons/eazel/i-regular-36-aa.png:
* icons/eazel/i-regular-72-aa.png:
* icons/eazel/i-regular-96-aa.png:
* icons/eazel/i-regular-aa.png:
* icons/eazel/i-directory-12-aa.png:
* icons/eazel/i-directory-24-aa.png:
* icons/eazel/i-directory-36-aa.png:
* icons/eazel/i-directory-72-aa.png:
* icons/eazel/i-directory-96-aa.png:
* icons/eazel/i-directory-aa.png:
* icons/eazel/i-directory-accept-12-aa.png:
* icons/eazel/i-directory-accept-24-aa.png:
* icons/eazel/i-directory-accept-36-aa.png:
* icons/eazel/i-directory-accept-72-aa.png:
* icons/eazel/i-directory-accept-96-aa.png:
* icons/eazel/i-directory-accept-aa.png:
added a bunch of new anti-aliased icons from Susan to the eazel theme
2000-07-13 Robey Pointer <robey@eazel.com>
* components/services/trilobite/libtrilobite/trilobite-root-client.c:
(trilobite_root_client_destroy):
* components/services/trilobite/sample/command-line/main.c: (main):
* components/services/trilobite/sample/service/sample-service-impl.c:
(impl_Trilobite_Eazel_Sample_list_it):
Fix a few places where corba objects weren't released, so that the
sample service test demonstrates freeing the root client *and* the
root helper.
2000-07-13 Robin * Slomkowski <rslomkow@eazel.com>
* nautilus.spec.in: added arlo theme
2000-07-13 Darin Adler <darin@eazel.com>
* components/sample/main.c: (main): There was a second call
to bonobo_shutdown which I forgot to remove.
2000-07-13 Darin Adler <darin@eazel.com>
* libnautilus-extensions/nautilus-file.h: Fix a FIXME.
* libnautilus-extensions/nautilus-file.c: Add a FIXME.
* src/file-manager/fm-error-reporting.c: (fm_rename_file):
Start the timed wait first in case the call succeeds or fails
immediately.
* src/file-manager/fm-properties-window.c:
(group_change_callback), (cancel_group_change_callback),
(activate_group_callback), (owner_change_callback),
(cancel_owner_change_callback), (activate_owner_callback):
Added a timed wait for each of these operations.
2000-07-13 Darin Adler <darin@eazel.com>
* libnautilus-extensions/nautilus-file.c:
(set_permissions_callback), (nautilus_file_set_permissions),
(set_owner_and_group_callback), (set_owner_and_group),
(nautilus_file_set_owner), (nautilus_file_set_group):
Made set_permissions, set_owner, and set_group all be async.
2000-07-13 Michael Engber <engber@eazel.com>
* libnautilus/nautilus-view-component.idl:
* libnautilus/nautilus-view.c:
* libnautilus/nautilus-view.h:
* src/file-manager/fm-desktop-icon-view.c:
(fm_desktop_icon_view_close_desktop_menu_item_callback),
(fm_desktop_icon_view_create_background_context_menu_items):
* src/file-manager/fm-directory-view.c:
(fm_directory_view_close_desktop):
* src/file-manager/fm-directory-view.h:
* src/nautilus-application.c: (nautilus_application_windows),
(nautilus_application_startup),
(nautilus_application_destroy_desktop_window),
(nautilus_application_create_desktop_window),
(nautilus_application_open_desktop),
(nautilus_application_close_desktop),
(nautilus_application_destroy_window),
(nautilus_application_create_window):
* src/nautilus-application.h:
* src/nautilus-desktop-window.c: (nautilus_desktop_window_new):
* src/nautilus-shell.c: (corba_manage_desktop):
* src/nautilus-view-frame-corba.c:
(impl_Nautilus_ViewFrame_set_title):
* src/nautilus-view-frame-private.h:
* src/nautilus-view-frame.c:
(nautilus_view_frame_initialize_class),
(nautilus_view_frame_set_title):
* src/nautilus-view-frame.h:
* src/nautilus-window-manage-views.c: (open_location):
* src/nautilus-window.c: (nautilus_window_connect_view):
Changed desktop menu to offer close desktop instead of
quit nautilus. Also, changed the menu item's action to
use a direct fn call instead of CORBA.
2000-07-13 Gene Z. Ragan <gzr@eazel.com>
* components/history/nautilus-history-view.c: (install_icon),
(history_view_update_icons), (history_load_location), (make_obj):
Added code to check for position of current page in list.
* src/nautilus-window.c:
* src/nautilus-window.h:
(nautilus_window_get_base_page_index):
New function to return the index of the base page in the
history list.
(nautilus_window_get_history_list_callback),
Set position field of returned list info using new function above.
2000-07-13 Darin Adler <darin@eazel.com>
My apologies to all who read the cvs commits list that have
suffered from my "spam" in the past (due to my use of emacs cvs
mode to commit). I will never use emacs cvs mode again so you
will see each of my commits only once!
* src/file-manager/fm-error-reporting.c:
(rename_callback_data_free), (rename_callback),
(cancel_rename_callback), (fm_rename_file):
Finished the 1/2 done code for renaming.
* src/nautilus-main.c: (main): Removed the call to bonobo_shutdown
since Michael decided he won't do it this way any more.
* src/nautilus-window.c: (nautilus_window_destroy): Added code
to unref the UI handler to fix a leak.
* components/hardware/nautilus-hardware-view.h:
* components/loser/content/nautilus-content-loser.h:
* components/loser/sidebar/nautilus-sidebar-loser.h:
* components/mozilla/nautilus-mozilla-content-view.h:
* components/music/nautilus-music-view.h:
* components/rpmview/nautilus-rpm-view.h:
* components/services/install/lib/eazel-install-corba-callback.h:
* components/services/install/lib/eazel-install-public.h:
* components/services/install/nautilus-view/nautilus-service-install-view.h:
* components/services/inventory/nautilus-view/nautilus-inventory-view.h:
* components/services/login/nautilus-view/nautilus-login-view.h:
* components/services/startup/nautilus-view/nautilus-service-startup-view.h:
* components/services/summary/nautilus-view/nautilus-summary-view.h:
* components/services/time/nautilus-view/trilobite-eazel-time-view.h:
* components/services/time/service/trilobite-eazel-time-service-public.h:
* components/services/trilobite/libtrilobite/trilobite-root-helper.h:
* components/services/trilobite/libtrilobite/trilobite-service-passwordquery-public.h:
* components/services/trilobite/libtrilobite/trilobite-service-public.h:
* components/services/trilobite/sample/lib/sample-service-public.h:
* components/tree/nautilus-tree-view.h:
* libnautilus/nautilus-view.h:
* libnautilus/nautilus-zoomable.h:
* src/file-manager/fm-desktop-icon-view.h:
* src/file-manager/fm-directory-view.h:
* src/file-manager/fm-icon-view.h:
* src/file-manager/fm-list-view.h:
* src/nautilus-application.h:
* src/nautilus-shell.h:
* src/nautilus-view-frame.h:
Fixed a copied and pasted typo.
2000-07-13 Pavel Cisler <pavel@eazel.com>
* src/file-manager/dfos-xfer.c: (handle_xfer_ok):
Part 2 of fix for 1549 - Empty trash doesn't update progress
properly.
2000-07-13 J Shane Culpepper <pepper@eazel.com>
* components/services/install/nautilus-view/nautilus-service-install-view.c:
(generate_install_form):
Adding layout fixes to the install widget to match changes in the
baranch.
2000-07-12 Andy Hertzfeld <andy@eazel.com>
* src/nautilus-property-browser.c: (make_drag_image),
(make_background_chit), (make_properties_from_directory_path):
removed the white halo around the background chit for dragging
* src/nautilus-first-time-druid.c: (set_up_service_signup_page),
(nautilus_first_time_druid_show):
tweaked the text a bit
2000-07-12 Pavel Cisler <pavel@eazel.com>
* libnautilus-extensions/nautilus-icon-dnd.c:
(auto_scroll_timeout_callback):
Fix a problem where parts of the exposed area weren't being
updated correctly during a fast auto-scroll.
* libnautilus-extensions/nautilus-icon-dnd.c:
(nautilus_icon_container_get_drop_action):
Fix a crash when nautilus_icon_container_get_drop_action
got called too early on during a drag, before
drag_data_received_callback got a chance to set state up.
2000-07-12 Robey Pointer <robey@eazel.com>
* components/services/trilobite/libtrilobite/Makefile.am:
* components/services/trilobite/libtrilobite/trilobite-root-client-private.h:
* components/services/trilobite/libtrilobite/trilobite-root-client-public.h:
* components/services/trilobite/libtrilobite/trilobite-root-client.c:
* components/services/trilobite/libtrilobite/trilobite-root-helper.c:
* components/services/trilobite/libtrilobite/trilobite-service-passwordquery.c:
(impl_Trilobite_PasswordQuery_set_query_client),
(trilobite_passwordquery_destroy),
(trilobite_passwordquery_get_password):
* components/services/trilobite/sample/command-line/main.c:
(get_password_dude), (main):
* components/services/trilobite/sample/service/main.c:
(trilobite_service_factory_destroy),
(trilobite_sample_service_factory):
Add TrilobiteRootClient: a GTK object that wraps corba password
requests and emits a signal to handle it. The sample command-line
service now uses it to ask for a password.
Fix bug in PasswordQuery where it didn't duplicate (ref) the corba
object it stored away.
2000-07-12 Ramiro Estrugo <ramiro@eazel.com>
* components/services/install/nautilus-view/nautilus-service-install-view.c:
(generate_install_form), (create_title_widget),
(create_middle_title_widget):
Fix a bunch of gtk assertions caused by adding widgets to gtkboxes
twice.
Add a middle title widget to separete the progress dislay from the
top.
2000-07-12 Darin Adler <darin@eazel.com>
* src/nautilus-view-frame.c: (nautilus_view_frame_destroy_client):
Change to use bonobo_object_unref now that the leaks have been
fixed. This requires the new Bonobo or you'll have lots of leaked
processes. Luckily, Nautilus won't compile without the new Bonobo
due to my use of bonobo_object_shutdown in main :-)
* configure.in:
Fix the way -Werror works so it affects all directories, not just
ones where we use WERROR.
* components/hardware/Makefile.am:
* components/help/Makefile.am:
* components/history/Makefile.am:
* components/loser/content/Makefile.am:
* components/loser/sidebar/Makefile.am:
* components/mozilla/Makefile.am:
* components/music/Makefile.am:
* components/notes/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/inventory/service/Makefile.am:
* components/services/login/lib/Makefile.am:
* components/services/login/nautilus-view/Makefile.am:
* components/services/login/service/Makefile.am:
* components/services/startup/command-line/Makefile.am:
* components/services/startup/lib/Makefile.am:
* components/services/startup/nautilus-view/Makefile.am:
* components/services/summary/lib/Makefile.am:
* components/services/summary/nautilus-view/Makefile.am:
* components/services/summary/service/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/helper/Makefile.am:
* components/services/trilobite/libtrilobite/Makefile.am:
* components/services/trilobite/sample/command-line/.cvsignore:
* 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/services/vault/lib/Makefile.am:
* components/services/vault/nautilus-view/Makefile.am:
* components/services/vault/service/Makefile.am:
* components/tree/Makefile.am:
* components/websearch/Makefile.am:
* cut-n-paste-code/widgets/nautilus-druid/Makefile.am:
* helper-utilities/authenticate/Makefile.am:
* libnautilus-extensions/Makefile.am:
* libnautilus/Makefile.am:
* librsvg/Makefile.am:
* nautilus-installer/src/Makefile.am:
* src/Makefile.am:
* src/file-manager/Makefile.am:
* test/Makefile.am:
Got rid of the WERROR shell variable. The -Werror switch is no
longer a per-directory thing.
* librsvg/Makefile.am:
Added libpng to the libraries for the test program. Maybe this was
the wrong thing to do, but before this change the link failed.
* components/sample/Makefile.am:
* components/sample/main.c:
* components/sample/nautilus-sample-content-view.c:
* components/sample/nautilus-sample-content-view.h:
A clean-up of the sample, including fixing many bugs and adding
lots of comments. I figure we want this to be as close to
exemplary as possible since people will continue to start with it
for new components.
* libnautilus-extensions/nautilus-bookmark.c:
(nautilus_bookmark_new_with_icon): Removed a bogus extra ref of a
NautilusFile object that I spotted in here.
* src/nautilus-application.c: (nautilus_application_destroy_window):
Re-added the code to quit when the last window is closed that Mike
removed in his recent check-in.
* src/nautilus-main.c: (main): Added a call to bonobo_shutdown.
We don't need this call, but I say, "Why not?"
2000-07-12 J Shane Culpepper <pepper@eazel.com>
* components/services/login/nautilus-view/nautilus-login-view.c:
(generate_login_form):
Change NickName to User Name.
2000-07-12 Ramiro Estrugo <ramiro@eazel.com>
* libnautilus-extensions/nautilus-preferences.c:
(preferences_initialize_if_needed):
* libnautilus-extensions/nautilus-user-level-manager.c:
(user_level_manager_new):
Update for GConf api changes.
2000-07-12 J Shane Culpepper <pepper@eazel.com>
* components/services/install/nautilus-view/nautilus-service-install-view.c:
(generate_install_form):
Formatting tweaks to the Description.
2000-07-11 Andy Hertzfeld <andy@eazel.com>
* src/nautilus-property-browser.c: (strip_extension),
(format_name_for_display), (make_background_chit),
(make_properties_from_directory_path), (make_category_link),
(nautilus_property_browser_update_contents):
made various improvements suggested by Arlo and cleaned up
the code a bit. There's more changes coming soon.
* src/nautilus-first-time-druid.c: (set_up_service_signup_page):
improved the services description a bit
* data/browser.xml:
* icons/Makefile.am:
* icons/themes.png:
added an icon for the themes button
2000-07-11 Eskil Heyn Olsen <eskil@eazel.com>
* components/services/inventory/nautilus-view/Makefile.am:
Added RPM_LIBS
2000-07-11 Ramiro Estrugo <ramiro@eazel.com>
* src/run-nautilus:
Setup the mozilla environment correctly.
2000-07-11 Eskil Heyn Olsen <eskil@eazel.com>
* components/services/trilobite/idl/trilobite-service.idl:
* components/services/trilobite/libtrilobite/Makefile.am:
* components/services/trilobite/libtrilobite/libtrilobite-service.h:
* components/services/trilobite/libtrilobite/libtrilobite.h:
* components/services/trilobite/libtrilobite/trilobite-service-passwordquery-private.h:
* components/services/trilobite/libtrilobite/trilobite-service-passwordquery-public.h:
* components/services/trilobite/libtrilobite/trilobite-service-passwordquery.c:
(impl_Trilobite_PasswordQuery_set_query_client),
(trilobite_passwordquery_get_epv),
(trilobite_passwordquery_destroy),
(trilobite_passwordquery_set_arg),
(trilobite_passwordquery_class_initialize),
(trilobite_passwordquery_initialize),
(trilobite_passwordquery_add_interface),
(trilobite_passwordquery_get_password),
(trilobite_passwordquery_set_prompt):
Added the trilobite_passwordquery interface and
trilobite_passwordquery_client. You add the _passwordquery
interface to your service, and the client (view or cli tool)
registers a _passwordquery_client object. When you then execute a
service function that requires eg. root acces, the service can
access a TrilobiteRootHelper (accessible using gtk_object_get_data
(... "trilobite-root-helper"...), and call it. This will emit a
signal, that will cause the _passwordquery to ask the
_passwordquery_client for a password. Currently, if no
_passwordquery_client is set, it will popup a gui input box. But
we should loose then when Robey does the gtk interface to be used
in views and cli tools.
* components/services/trilobite/libtrilobite/trilobite-service-public.h:
* components/services/trilobite/libtrilobite/trilobite-service.c:
(trilobite_service_add_interface):
Added the trilobite_service_add_interface. All trilobite
interfaces should have one to handle the
bonobo_object_add_interface ond other magic stuff.
* components/services/trilobite/sample/idl/sample-service.idl:
* components/services/trilobite/sample/command-line/main.c: (main):
* components/services/trilobite/sample/service/Makefile.am:
* components/services/trilobite/sample/service/main.c:
(trilobite_sample_service_factory):
* components/services/trilobite/sample/service/sample-service-impl.c:
(impl_Trilobite_Eazel_Sample_list_it), (sample_service_get_epv):
Added a list_it call, that given a dir does a ls on it. (proof of
concept stuff). So I've also added the trilobite_passwordquery
interface to the sampleservice, and the cli tool tries to do an
ls -lart /root (thus triggering a password query).
* components/services/install/lib/eazel-install-object.c:
(eazel_install_destroy), (eazel_install_initialize):
* components/services/install/lib/eazel-install-private.h:
* components/services/install/lib/eazel-install-protocols.c:
(eazel_install_fetch_package):
* components/services/install/lib/eazel-install-rpm-glue.c:
(install_new_packages), (install_all_packages),
(rpm_show_progress), (do_rpm_install), (do_rpm_uninstall),
(eazel_install_load_rpm_headers),
(eazel_install_prepare_rpm_system):
* components/services/install/server/Makefile.am:
* components/services/install/server/main.c:
(eazel_install_service_factory), (main):
I've partly made the installer use the use the new stuff. It
doesn't work yet, but it makes it all the way to password query.
* components/services/time/command-line/main.c: (main):
* components/services/time/idl/trilobite-eazel-time-service.idl:
* components/services/time/service/Makefile.am:
* components/services/time/service/main.c:
(trilobite_eazel_time_service_factory):
* components/services/time/service/trilobite-eazel-time-service.c:
(impl_Trilobite_Eazel_Time_Service_check_time),
(impl_Trilobite_Eazel_Time_Service_update_time),
(trilobite_eazel_time_service_parse_body),
(trilobite_eazel_time_service_do_http_request):
Pached to work with the trilobite_passwordquery stuff. So as user,
you can now set the time if you've got the root password.
This closes 946, 938 and fixes root problem for the installer.
2000-07-11 Gene Z. Ragan <gzr@eazel.com>
* components/history/nautilus-history-view.c:
(history_load_location), (history_button_press),
(history_button_release), (make_obj):
Removed drag move from list. Changed navigation to occur on mouse
up, not on select row. This is because select row is called on
rows during a drag. This can be annoying if you are trying to drag
a row item and Nautilus is navigating to the item you ared
dragging over. This behavior happens even if we are not supporting
drag move of items. Now navigation occurs on the mouse up.
2000-07-11 Michael Engber <engber@eazel.com>
* libnautilus/nautilus-view-component.idl:
* libnautilus/nautilus-view.c: (nautilus_view_quit_nautilus):
* libnautilus/nautilus-view.h:
* src/file-manager/fm-desktop-icon-view.c:
(fm_desktop_icon_view_quit_menu_item_callback),
(fm_desktop_icon_view_create_background_context_menu_items):
* src/file-manager/fm-directory-view.c:
(fm_directory_view_quit_nautilus):
* src/file-manager/fm-directory-view.h:
* src/nautilus-application.c: (nautilus_application_startup),
(nautilus_application_destroy_window):
* src/nautilus-application.h:
* src/nautilus-desktop-window.c: (nautilus_desktop_window_new):
* src/nautilus-view-frame-corba.c:
(impl_Nautilus_ViewFrame_set_title),
(impl_Nautilus_ViewFrame_quit_nautilus):
* src/nautilus-view-frame-private.h:
* src/nautilus-view-frame.c:
(nautilus_view_frame_initialize_class),
(nautilus_view_frame_set_title),
(nautilus_view_frame_quit_nautilus):
* src/nautilus-view-frame.h:
* src/nautilus-window-manage-views.c:
(nautilus_window_load_content_view):
* src/nautilus-window.c: (nautilus_window_quit_nautilus_callback),
(nautilus_window_connect_view):
Hooked up the quit menu in the desktop context menu to quit Nautilus.
Now, if Nautilus is managing the desktop no default window is created
and Nautilus does not quit when the last window is closed - i.e. use
the quit menu item instead. Bugs 1050 and 1051.
2000-07-11 J Shane Culpepper <pepper@eazel.com>
* components/services/login/nautilus-view/nautilus-login-view.c:
2000-07-11 Robin * Slomkowski <rslomkow@eazel.com>
* components/services/trilobite/helper/Makefile.am:
added EXTRA_DISTS for eazel-helper.security.in, eazel-helper.pam
2000-07-11 Darin Adler <darin@eazel.com>
* src/nautilus-application.h:
* src/nautilus-application.c: (nautilus_application_startup):
* src/nautilus-main.c: (main):
Fixed a bug I introduced at application startup time where it
would quit right away instead of running the first time druid.
(Calling it a druid is so lame, who are we kidding?)
* RENAMING: Some renaming ideas. In particular, we can deprecate
"null-tolerance" a little bit by including it in the names of the
functions.
* libnautilus-extensions/Makefile.am:
* libnautilus-extensions/nautilus-gdk-extensions.c:
(nautilus_set_mini_icon):
* libnautilus-extensions/nautilus-gdk-extensions.h:
* libnautilus-extensions/nautilus-mini-icon.c: [removed]
* libnautilus-extensions/nautilus-mini-icon.h: [removed]
* src/nautilus-window.c:
Moved the single function from its own file into the gdk
extensions file instead and changed the single place that uses it
to get it from there.
2000-07-11 Andy Hertzfeld <andy@eazel.com>
* src/nautilus-property-browser.c: (make_drag_image),
(make_background_chit), (make_properties_from_directory_path):
drew a frame around the background tiles at Arlo's request
* icons/Makefile.am:
* icons/chit_frame.png:
added Arlo's image for the chit frame
2000-07-11 Robin Slomkowski <rslomkow@eazel.com>
* components/services/vault/command-line/Makefile.am:
added a Header file
2000-07-11 Robin * Slomkowski <rslomkow@eazel.com>
* 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/nautilus-view/Makefile.am:
* components/services/login/nautilus-view/Makefile.am:
* components/services/startup/command-line/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/trilobite/sample/command-line/Makefile.am:
* components/services/trilobite/sample/nautilus-view/Makefile.am:
* components/services/vault/command-line/Makefile.am:
* components/services/vault/nautilus-view/Makefile.am:
* components/tree/Makefile.am:
* helper-utilities/authenticate/Makefile.am:
* test/Makefile.am:
mass change of LDFLAGS to LDADD
2000-07-11 Darin Adler <darin@eazel.com>
Fixed some leaks that cause problems with the new Bonobo.
* components/history/nautilus-history-view.c:
(history_view_frame_call_end):
* libnautilus/nautilus-undo.c: (set_up_bonobo_control):
* libnautilus/nautilus-view.c: (view_frame_call_end):
* libnautilus/nautilus-zoomable.c:
(nautilus_zoomable_ensure_zoomable_frame):
Fixed a ref. count leak by adding code to unref the result of
query_interface.
* src/nautilus-view-frame.c: (nautilus_view_frame_is_zoomable):
Fixed logic that was backwards.
2000-07-11 Andy Hertzfeld <andy@eazel.com>
* src/nautilus-window.c: (nautilus_window_realize):
fixed bug 609, set up nautilus mini-icon. Also, removed the
private hacked gdk_pixbuf_render_pixmap_and_mask routine since the real
one in gdk_pixbuf is working properly now with images that lack
an alpha channel.
2000-07-11 Andy Hertzfeld <andy@eazel.com>
* src/nautilus-sidebar-tabs.c: (draw_or_hit_test_all_tabs):
made the Arlo tabs use a new right edge when appropriate
* icons/arlo/arlo.xml:
added rectangle for new tab edge piece
* src/nautilus-window-toolbars.c: (toolbar_search_web_callback):
made it disable local search mode before invoking web search
* data/emblems/Makefile.am:
removed emblems that represent intrinisc properties from browser
* icons/Makefile.am:
* icons/novice.png:
* icons/intermediate.png:
* icons/expert.png:
added Susan's user level images
2000-07-11 Robin * Slomkowski <rslomkow@eazel.com>
* components/hardware/Makefile.am: changed to LDADD
2000-07-11 Darin Adler <darin@eazel.com>
* components/help/hyperbola-main.c:
* src/file-manager/fm-directory-view.c:
Oops. Missed two files that were including nautilus-alloc.h.
2000-07-12 Ian McKellar <yakk@yakk.net.au>
* libnautilus-extensions/nautilus-mime-actions.c:
(nautilus_mime_get_short_list_methods_for_uri):
* libnautilus-extensions/nautilus-mime-actions.h:
* src/nautilus-window.c: (nautilus_window_load_content_view_menu):
Load mime->vfs module mapping from gnome-vfs.
2000-07-11 Darin Adler <darin@eazel.com>
* src/nautilus-view-frame.c:
Fixed to compile with latest Bonobo. Doesn't work quite as well
as before -- we get some Bonobo ref. count asserts all the time --
but it's better than nothing I guess. Also did some other code
cleanup.
* libnautilus-extensions/Makefile.am:
* libnautilus-extensions/nautilus-alloc.h: [removed]
Removed an unused source file.
* libnautilus-extensions/nautilus-icon-container.c: (icon_free),
(stop_rubberbanding), (destroy), (hide_rename_widget):
* libnautilus-extensions/nautilus-icon-dnd.c:
(nautilus_icon_container_dropped_icon_feedback),
(nautilus_icon_container_free_drag_data), (nautilus_icon_dnd_fini):
* src/nautilus-property-browser.c:
(nautilus_property_browser_drag_end):
* src/nautilus-view-frame-nautilus-view.c: (load_location),
(stop_loading), (selection_changed):
* src/nautilus-view-frame.c: (nautilus_view_frame_handle_client_destroy),
(nautilus_view_frame_load_client), (check_object),
(nautilus_view_frame_set_active_errors):
* src/nautilus-window-manage-views.c:
(nautilus_window_end_location_change_callback):
Added FIXMEs to various questionable uses of gtk_object_destroy.
* src/Makefile.am:
Added missing source file and replaced use of .. with $(top_srcdir).
2000-07-11 Ramiro Estrugo <ramiro@eazel.com>
* test/Makefile.am:
Forgot the makefile in the last commit.
2000-07-11 Ramiro Estrugo <ramiro@eazel.com>
* libnautilus-extensions/nautilus-password-dialog.c:
(nautilus_password_dialog_initialize_class),
(nautilus_password_dialog_initialize),
(nautilus_password_dialog_destroy), (dialog_show_callback),
(dialog_close_callback), (caption_table_activate_callback),
(nautilus_password_dialog_new),
(nautilus_password_dialog_run_and_block),
(nautilus_password_dialog_set_username),
(nautilus_password_dialog_set_password),
(nautilus_password_dialog_set_readonly_username),
(nautilus_password_dialog_get_username),
(nautilus_password_dialog_get_password),
(nautilus_password_dialog_get_remember),
(nautilus_password_dialog_set_remember),
(nautilus_password_dialog_set_remember_label_text):
* libnautilus-extensions/nautilus-password-dialog.h:
Many cleanups and improvements. Use the GnomeDialog run_and_close
call instead of our own event loop hack. Removed many unneeded
callbacks and details member variables. Add checks for all
callbacks. Add support for remembering the password.
* test/.cvsignore:
* test/Makefile.am:
* test/test-nautilus-password-dialog.c:
(authenticate_boink_callback), (exit_callback), (main):
Add a new test for the password dialog.
* test/test-nautilus-widgets.c: (main),
(text_caption_changed_callback):
Removed the old password dialog test.
2000-07-10 J Shane Culpepper <pepper@eazel.com>
* components/services/install/nautilus-view/nautilus-service-install-view.c:
(generate_install_form), (generate_current_progress),
(go_to_uri), (nautilus_service_install_view_update_from_uri):
* components/services/login/nautilus-view/nautilus-login-view.c:
* components/services/startup/nautilus-view/nautilus-service-startup-view.c:
(generate_startup_form):
Fixed the startup view progress meter. Various changes to get flow
correct for the first cut at the services demo rpms.
2000-07-10 Andy Hertzfeld <andy@eazel.com>
* data/browser.xml:
Oops! Changing the capitalization of the names broke the customize
window, since there's no distinction between the directory name and
the display name. I'll fix it soon, but for now I changed them back
to lower-case.
* libnautilus-extensions/nautilus-global-preferences.c:
(global_preferences_create_dialog):
removed the theme preference from the appearance panel, since it's
now in the customize window
2000-07-10 Robey Pointer <robey@eazel.com>
* components/services/trilobite/helper/eazel-helper.c:
(do_command), (main):
* components/services/trilobite/libtrilobite/trilobite-root-helper.c:
(trilobite_root_helper_run_program), (trilobite_root_helper_run):
* components/services/trilobite/libtrilobite/trilobite-root-helper.h:
Add _RUN_LS command to TrilobiteRootHelper and eazel-helper, for
Eskil to use for testing.
2000-07-10 Pavel Cisler <set EMAIL_ADDRESS environment variable>
* libnautilus-extensions/nautilus-icon-container.c:
(nautilus_icon_container_scroll), (rubberband_timeout_callback):
* libnautilus-extensions/nautilus-icon-dnd.c:
(auto_scroll_timeout_callback), (set_up_auto_scroll_if_needed),
(stop_auto_scroll), (handle_local_move), (drag_leave_callback),
(nautilus_icon_dnd_fini), (drag_motion_callback),
(nautilus_icon_dnd_end_drag):
Add support for auto-scroll during drag&drop in the icon view.
* libnautilus-extensions/nautilus-icon-private.h:
* libnautilus-extensions/nautilus-icon-container.c:
(nautilus_icon_container_scroll):
Renamed scroll to nautilus_icon_container_scroll and made it
available to nautilus-icon-dnd.c.
* src/file-manager/fm-list-view.c: (fm_list_get_drag_pixmap):
Fix a memory thrasher in the code that grabs the item icon during
a list view drag -- added a missing ref.
* libnautilus-extensions/nautilus-drag.c:
(add_one_gnome_icon_list), (add_one_uri_list):
Fix some whitespace.
2000-07-10 Robey Pointer <robey@eazel.com>
* components/services/trilobite/helper/eazel-helper.c: (main):
* components/services/trilobite/libtrilobite/trilobite-root-helper.c:
(trilobite_root_helper_start), (trilobite_root_helper_rpm),
(trilobite_root_helper_set_time), (trilobite_root_helper_run):
* components/services/trilobite/libtrilobite/trilobite-root-helper.h:
Make sure TrilobiteRootHelper can be restarted after each use
(same object, new session). Add _set_time function.
2000-07-10 Andy Hertzfeld <andy@eazel.com>
added a "web search" button to the toolbar
* libnautilus-extensions/nautilus-global-preferences.c,h:
(global_preferences_create_dialog),
(global_preferences_register_for_ui):
added a preference for the web search uri.
* src/Makefile.am:
* src/nautilus-toolbar.c,h: (nautilus_toolbar_new),
(nautilus_toolbar_initialize_class), (nautilus_toolbar_initialize),
(nautilus_toolbar_set_button_spacing),
(nautilus_toolbar_size_allocate):
added a new nautilus_toolbar class to overcome the problem that
the normal toolbar uses the maximum width for all the buttons,
because the "web search" button has a longer name than usual
* src/nautilus-window-toolbars.c: (toolbar_clear_search_mode),
(toolbar_search_local_callback), (toolbar_search_web_callback),
(remember_buttons), (setup_toolbar_images),
(nautilus_window_initialize_toolbars):
used nautilus_toolbar instead of gtk_toolbar;
added a "web search" button to the toolbar
* src/nautilus-window.c,h: (navigation_bar_mode_changed_callback),
(nautilus_window_set_search_mode), (nautilus_window_go_web_search):
added the semantics for web search, which is to invoke the
location specified by the web search uri
* src/nautilus-property-browser.c: (remove_color),
(nautilus_property_browser_remove_element),
(make_properties_from_xml_node):
some minor clean-ups
* data/browser.xml:
capitalized titles for Arlo
2000-07-10 Robey Pointer <robey@eazel.com>
* components/services/trilobite/helper/.cvsignore:
* components/services/trilobite/helper/Makefile.am:
* components/services/trilobite/helper/eazel-helper.pam:
* components/services/trilobite/helper/eazel-helper.security.in:
Add Makefile.am magic to autogenerate eazel-helper.security from
the .in file and copy eazel-helper.pam and eazel-helper.security
into the proper directory (well, right now, into /gnome/etc, but
that's a separate issue).
2000-07-10 Eskil Heyn Olsen <eskil@eazel.com>
* components/services/docs/installer-rpmsearch:
text file on how the rpmsearch.cgi should work.
* components/services/install/command-line/eazel-alt-install-corba.c:
(set_parameters_from_command_line),
(eazel_download_progress_signal), (eazel_install_progress_signal),
(install_failed), (create_package), (done):
Added --force to do force installs. Also fixed the screen output
to show the begin/progress/end handling on download and install
callbacks.
Changed the output tree in case of install_failed.
* components/services/install/command-line/eazel-alt-install.c:
(set_parameters_from_command_line),
(eazel_install_progress_signal), (eazel_download_progress_signal),
(main):
Tried to revive it...
* components/services/install/lib/eazel-install-corba-callback.c:
(eazel_install_callback_class_initialize):
Removed the evil marshal func, and renamed it to prevent name clashes.
* components/services/install/lib/eazel-install-object.c:
(eazel_install_destroy), (eazel_install_class_initialize),
(eazel_install_initialize):
Some more free's in the _destroy.
* components/services/install/lib/eazel-install-private.h:
Added a hash table to fix bug #1585.
* components/services/install/lib/eazel-install-protocols.c:
(http_fetch_remote_file), (eazel_install_fetch_package):
Fixed bug 1620. Would probably be more elegant to use some
enums. Also now inserts packages into the hashtable in
EazelInstall.
* components/services/install/lib/eazel-install-public.h:
* components/services/install/lib/eazel-install-rpm-glue.c:
(rpm_show_progress), (do_rpm_install), (do_rpm_uninstall),
Fixed bug 1585 by having the rpm_show_progress lookup the package
in the hashtable, and bug 1620 by inserting a load of if's to make
sure the signal emits with amount==0, amount > 0 && < total and
amount == total.
(eazel_install_fetch_rpm_dependencies):
Fixed bug 1363.
* components/services/install/lib/eazel-install-types.c:
(rpmfilename_from_packagedata), (packagedata_hash_equal),
(packagedata_status_str_to_enum),
(eazel_install_gtk_marshal_NONE__POINTER_INT_INT_INT_INT_INT_INT):
* components/services/install/lib/eazel-install-types.h:
Added the evil marshaller to types.c
* nautilus-installer/src/Makefile:
* nautilus-installer/src/installer.c: (eazel_install_progress),
(eazel_download_progress):
* nautilus-installer/src/interface.c: (create_window):
Tried to make the installer look slightly more pleasing.
2000-07-10 Darin Adler <darin@eazel.com>
* components/history/nautilus-history-view.c:
(history_view_update_icons), (get_history_list),
(hyperbola_navigation_history_load_location):
* libnautilus/nautilus-view-component.idl:
* src/nautilus-history-frame.c:
(impl_Nautilus_HistoryFrame_get_history_list):
* src/nautilus-view-frame.h:
* src/nautilus-view-frame.c:
(nautilus_view_frame_get_history_list):
* src/nautilus-window.c:
(nautilus_window_get_history_list_callback),
(nautilus_window_connect_view):
Changed history list to include a separate position field
instead of having a position in each entry.
* components/notes/nautilus-notes.c: (done_with_file):
Name changed from nautilus_file_cancel_callback to
nautilus_file_cancel_call_when_ready to reduce confusion with
nautilus_file_cancel.
* libnautilus-extensions/nautilus-directory.c:
(nautilus_directory_get): Made NULL for URI be legal (and result
in NULL for the directory object).
* libnautilus-extensions/nautilus-mime-actions.c:
(get_mime_type_from_uri): Made NULL for URI be legal (and result
in NULL for MIME type).
* libnautilus-extensions/nautilus-entry.c:
(nautilus_entry_set_text): Minor tweak.
* libnautilus-extensions/nautilus-file.h:
* libnautilus-extensions/nautilus-file-private.h:
* libnautilus-extensions/nautilus-file.c: (operation_new),
(operation_free), (operation_complete), (operation_cancel),
(rename_update_info_and_metafile), (rename_callback),
(nautilus_file_rename), (nautilus_file_cancel),
(nautilus_file_set_owner), (nautilus_file_cancel_call_when_ready):
Added cancelling to rename as a prelude to doing the same for
set_file_info-based calls.
* libnautilus-extensions/nautilus-graphic.c:
Fixed a formatting mistake and a typo.
* libnautilus-extensions/nautilus-stock-dialogs.h:
* libnautilus-extensions/nautilus-stock-dialogs.c:
(timed_wait_hash), (timed_wait_hash_equal),
(nautilus_timed_wait_start), (nautilus_timed_wait_free),
(nautilus_timed_wait_stop): Re-did timed wait API now that
we are really using it. Still unimplemented.
* src/Makefile.am:
Since IDL dependencies are not understood by automake, added
an explicit one so we pick up the change to the libnautilus
view component IDL.
* src/file-manager/fm-error-reporting.h:
* src/file-manager/fm-error-reporting.c: (rename_callback),
(cancel_rename_callback), (fm_rename_file): Moved code for
renaming into here so it can be shared between the icon view
and the properties dialog. Perhaps it needs to be renamed.
* src/file-manager/fm-icon-view.c:
(fm_icon_view_icon_text_changed_callback): Use the shared
code instead of having the rename code here.
* src/nautilus-application.c: (create_object): Make a new
shell object each time instead of trying to share one.
(nautilus_application_startup): Activate the shell object
using OAF. This makes it work across processes and adds
the feature.
* src/nautilus-main.c: (main): Call bonobo_activate explicitly so
CORBA calls work before the main loop.
* src/nautilus-shell.c: (display_caveat_first_time),
(corba_manage_desktop): Got rid of all state in NautilusShell
so we can use multiple shell objects if we want.
* src/nautilus-sidebar.c: (nautilus_sidebar_update_info):
Got rid of code that checks for NULL.
2000-07-10 Ramiro Estrugo <ramiro@eazel.com>
* icons/eazel/Services.png:
New icon from Arlo.
2000-07-10 Michael Engber <engber@eazel.com>
* src/file-manager/Makefile.am:
* src/file-manager/fm-desktop-icon-view.c:
(fm_desktop_icon_view_initialize_class),
(fm_desktop_icon_view_initialize),
(fm_desktop_icon_view_quit_menu_item_callback),
(fm_desktop_icon_view_create_background_context_menu_items):
* src/file-manager/fm-desktop-icon-view.h:
* src/nautilus-application.c: (manufactures), (create_object):
* src/nautilus-application.h:
* src/nautilus-window-manage-views.c:
(nautilus_window_load_content_view):
* src/nautilus.oafinfo:
First half of putting a quit menu item on the desktop's
right-click menu. Still need to hook up the quit item.
2000-07-10 Gene Z. Ragan <gzr@eazel.com>
Fixed bug 971, enable undo in file editing part of
properties window.
* src/file-manager/fm-properties-window.c:
(create_basic_page):
Enabled entry for undo and enabled the use of ctl-z
to invoke undo while properties dialog has focus.
2000-07-10 Ramiro Estrugo <ramiro@eazel.com>
* src/nautilus-window-toolbars.c: (toolbar_services_callback):
Add a toolbar button to instanciate services. Defaults to off if
EAZEL_SERVICES is not on.
* icons/eazel/Makefile.am:
* icons/eazel/Servics.png:
Add services icon for toolbar.
2000-07-10 Robey Pointer <robey@eazel.com>
* components/services/trilobite/Makefile.am:
* components/services/trilobite/helper/.cvsignore:
* components/services/trilobite/helper/Makefile.am:
* components/services/trilobite/helper/README:
* components/services/trilobite/helper/eazel-helper.c:
* configure.in:
Add new helper/ directory to trilobite for building eazel-helper,
the sudo-ish utility that lets trilobite services do stuff as root.
2000-07-10 Ramiro Estrugo <ramiro@eazel.com>
* libnautilus-extensions/nautilus-graphic.c:
(nautilus_graphic_initialize), (nautilus_graphic_size_allocate),
(nautilus_graphic_size_request), (nautilus_graphic_set_label_text),
(nautilus_graphic_set_label_font),
(nautilus_graphic_set_left_offset),
(nautilus_graphic_set_right_offset),
(nautilus_graphic_set_top_offset),
(nautilus_graphic_set_bottom_offset),
(nautilus_graphic_set_extra_width),
(nautilus_graphic_set_extra_height):
* libnautilus-extensions/nautilus-graphic.h:
Add support for boundary offset and extra width and height.
* test/test-nautilus-graphic.c: (main):
Update for new boundary offset support.
* components/services/install/nautilus-view/nautilus-service-install-view.c:
(generate_install_form), (create_graphic_widget),
(create_title_widget):
* components/services/login/nautilus-view/nautilus-login-view.c:
(generate_login_form), (create_graphic_widget),
(create_title_widget):
Use new graphic widget to make things prettier.
2000-07-10 Robey Pointer <robey@eazel.com>
* components/services/trilobite/libtrilobite/Makefile.am:
* components/services/trilobite/libtrilobite/libtrilobite.h:
* components/services/trilobite/libtrilobite/trilobite-core-utils.c:
(trilobite_pexec):
* components/services/trilobite/libtrilobite/trilobite-core-utils.h:
* components/services/trilobite/libtrilobite/trilobite-root-helper.c:
new file
* components/services/trilobite/libtrilobite/trilobite-root-helper.h:
new file
Add baseline TrilobiteRootHelper object. It uses the "userhelper"
utility to get run eazel-helper, which can do certain tasks as
root. (For now, it can only run "rpm".) A signal callback is
used to fetch the root password.
2000-07-10 Ramiro Estrugo <ramiro@eazel.com>
* libnautilus-extensions/nautilus-gdk-pixbuf-extensions.c:
(nautilus_gdk_pixbuf_scale_to_fit),
(nautilus_gdk_pixbuf_draw_text):
* libnautilus-extensions/nautilus-gdk-pixbuf-extensions.h:
New function to draw text into a pixbuf given a rect and a
string. Factored from the icon factoyr.
* libnautilus-extensions/nautilus-graphic.c:
(nautilus_graphic_size_allocate):
Add support for drawing text.
* libnautilus-extensions/nautilus-icon-factory.c: (embed_text):
Factored out gdk pixbuf text drawing. Use the new text drawing
function.
* test/test-nautilus-graphic.c: (create_color_scale):
Update for text support.
2000-07-10 Gene Z. Ragan <gzr@eazel.com>
* libnautilus-extensions/nautilus-gdk-extensions.c:
* libnautilus-extensions/nautilus-gdk-extensions.h:
(nautilus_gdk_window_bring_to_front):
Added genric function that brings a GdkWindow to the
front and activates it. There is no GDK API that
does this.
* src/nautilus-window-manage-views.c: (open_location):
Removed case specific code and repalced wirth new function.
2000-07-10 Gene Z. Ragan <gzr@eazel.com>
* src/nautilus-window-manage-views.c:
(open_location):
Modified function to handle the folloing case:
If a user has selected open location in new window
in prefs, and a window is already open for the location,
the window is activated and given focus. This feature
makes the most sense, but conflicts with the wording
of the preferences item. We need a way to express
this feature in the prefs.
2000-07-10 Andy Hertzfeld <andy@eazel.com>
* src/nautilus-property-browser.c:
(nautilus_property_browser_initialize),
(nautilus_property_browser_destroy),
(nautilus_property_browser_theme_changed),
(theme_clicked_callback):
made the property browser update itself when the theme changes
* libnautilus-extensions/nautilus-theme.c:
(nautilus_theme_make_selector):
fixed bug where we were calling g_file_exists with NULL
by testing for NULL instead of calling it at all.
* data/emblems/Makefile.am:
* data/emblems/personal.png:
* icons/Makefile.am:
* icons/emblem-personal.svg:
added the emblems that I tried to on Friday but forgot to cvsadd
2000-07-10 Ramiro Estrugo <ramiro@eazel.com>
*
components/services/startup/nautilus-view/nautilus-service-startup-
view.c: (generate_startup_form), (create_graphic_widget),
(generate_form_logo):
Use the new NautilusGraphic widget. Add a function to create
graphics with a given image and background.
* libnautilus-extensions/nautilus-graphic.c:
(nautilus_graphic_size_allocate):
Add FIXME blurbs.
* libnautilus-extensions/nautilus-icon-factory.c:
Add FIXME blurbs.
2000-07-10 Ian McKellar <yakk@yakk.net.au>
* libnautilus-extensions/nautilus-mime-actions.c:
(nautilus_mime_get_short_list_methods_for_uri):
Fix for stupid segfault I introduced in my last checkin.
2000-07-10 Andy Hertzfeld <andy@eazel.com>
* data/browser.xml:
* libnautilus-extensions/nautilus-theme.c,h:
(nautilus_theme_get_image_path), (nautilus_theme_make_selector):
added code to make a pixbuf that exemplifies a theme;
Arlo is going to give me a better design soon
* src/nautilus-property-browser.c:
(make_properties_from_directory_path),
(make_properties_from_directory), (make_properties_from_xml_node),
(theme_clicked_callback), (vfs_file_exists), (has_image_file),
(add_theme_selector), (make_properties_from_themes),
(make_category), (nautilus_property_browser_update_contents):
lots of work here: added a title gotten from the xml file,
added theme selector and theme support
* src/nautilus-window-menus.c:
disabled test mode, since it was inadvertently closing the sidebar
2000-07-09 Ian McKellar <yakk@yakk.net.au>
* components/services/vault/command-line/Makefile.am:
* components/services/vault/command-line/main.c: (valid_ops),
(main):
* components/services/vault/command-line/vault-operations.c:
(vault_list), (make_local_uri), (make_remote_uri), (vault_upload),
(vault_download), (vault_move), (vault_delete):
* components/services/vault/command-line/vault-operations.h:
Beginnings of a command line Vault manipulation tool. Likely to change
extensively.
* libnautilus-extensions/nautilus-mime-actions.h:
* libnautilus-extensions/nautilus-mime-actions.c:
(nautilus_mime_get_short_list_methods_for_uri):
Added nautilus_mime_get_short_list_methods_for_uri function which
returns a list of GnomeVFS methods that can be used to decode a given
URI. The current implementation has a hard-coded list because I'm
still trying to work out the right place to make this configurable.
* src/nautilus-window.c: (view_menu_vfs_method_callback),
(nautilus_window_load_content_view_menu):
Add gnome-vfs methods to the View as menu if appropriate.
2000-07-08 Fatih Demir <kabalak@gmx.net>
* components/html/Makefile.am: Define _VERSION.
* components/html/ntl-web-browser: Made it indent rightly and
removed 2 debug messages.
2000-07-09 J Shane Culpepper <pepper@eazel.com>
*
components/services/startup/nautilus-view/nautilus-service-startup-
view.c: (generate_startup_form), (set_widget_color):
Adding a hack override the global font color. Fonts on startup are
now white.
2000-07-09 Andy Hertzfeld <andy@eazel.com>
* libnautilus-extensions/nautilus-background.c,h:
(nautilus_background_is_dark):
added a method to determine if backgrounds are generally dark or light colored
* libnautilus-extensions/nautilus-gdk-pixbuf-extensions.c,h:
(nautilus_gdk_pixbuf_average_value):
added a method to get a pixbufs average color component values
* src/nautilus-sidebar-tabs.c:
(nautilus_sidebar_tabs_load_theme_data), (is_light_color),
(nautilus_sidebar_tabs_set_color):
made the tabs use light or dark colored label text depending on the tab color
* src/nautilus-sidebar-title.c,h:
(nautlius_sidebar_title_select_text_color),
(nautilus_sidebar_title_theme_changed), (update_all):
made the sidebar title use light or dark colored text depending on the background
* src/nautilus-sidebar.c: (receive_dropped_color),
(background_appearance_changed_callback):
added call to tell sidebar label to calculate text color when background changes
* src/nautilus-property-browser.c: (nautilus_property_browser_new),
(element_clicked_callback):
flipped sense of shift key for keeping the property browser open; now it stays open
by default unless the shift key is down.
Also, made the window resizable
* data/browser.xml:
tweaked colors in browser
2000-07-09 J Shane Culpepper <pepper@eazel.com>
*
components/services/install/nautilus-view/nautilus-service-install-
view.c: (generate_install_form), (generate_form_title),
(generate_current_progress):
More formatting.
2000-07-08 J Shane Culpepper <pepper@eazel.com>
*
components/services/install/nautilus-view/nautilus-service-install-
view.c: (generate_install_form), (generate_form_title),
(fake_overall_install_progress), (generate_current_progress),
(show_overall_feedback),
(nautilus_service_install_view_update_from_uri):
*
components/services/install/nautilus-view/nautilus-service-install-
view.h:
Adding progress meter fixes to get the current progress message box
working.
2000-07-08 Gene Z. Ragan <gzr@eazel.com>
Work on bug 1021, should be able to open smaller Nautilus windows.
* src/nautilus-window.c: (nautilus_window_constructed),
* src/nautilus-window.h:
(sidebar_panels_changed_callback),
(nautilus_window_hide_locationbar),
(nautilus_window_show_locationbar), (nautilus_window_hide_toolbar),
(nautilus_window_show_toolbar), (nautilus_window_hide_sidebar),
(nautilus_window_show_sidebar), (nautilus_window_hide_statusbar),
(nautilus_window_show_statusbar):
Added several new functions that control the visibility
of NautilusWindow elements.
* src/nautilus-window-menus.c: (edit_menu_cut_callback),
(edit_menu_copy_callback), (settings_menu_toolbar_callback),
(settings_menu_locationbar_callback),
(settings_menu_statusbar_callback),
(settings_menu_sidebar_callback),
(settings_menu_normalize_menu_callback),
(nautilus_window_initialize_menus):
Test menu items to exercise the new code above. These can be
removed from the build by undefining WINDOW_ITEMS_TEST.
2000-07-08 J Shane Culpepper <pepper@eazel.com>
* components/services/install/nautilus-view/Makefile.am:
*
components/services/install/nautilus-view/nautilus-service-install-
view.c: (generate_install_form), (show_feedback),
(nautilus_service_install_view_update_from_uri),
(nautilus_service_install_view_load_uri):
*
components/services/install/nautilus-view/nautilus-service-install-
view.h:
*
components/services/install/nautilus-view/nautilus-service-install.
c: (nautilus_service_install_view_install_package_callback):
First cut of the skeleton for easy install view.
2000-07-08 J Shane Culpepper <pepper@eazel.com>
*
components/services/startup/nautilus-view/nautilus-service-startup-
view.c: (generate_startup_form), (generate_form_logo),
(nautilus_service_startup_view_load_uri):
Adding new logo. More spacing tweaks.
2000-07-08 Fatih Demir <kabalak@gmx.net>
* components/html/ntl-web-browser.c:
Made the GtkHTML view work again.
+Include gconf/gconf.h for the GConf routines.
+Init the GConf library before doing the other
stuff.
+Use a GConfError for the init function.
2000-07-08 J Shane Culpepper <pepper@eazel.com>
* components/services/inventory/nautilus-view/Makefile.am:
* components/services/inventory/nautilus-view/main.c: (main):
*
components/services/inventory/nautilus-view/nautilus-inventory-view
.oafinfo:
* components/services/login/nautilus-view/Makefile.am:
* components/services/login/nautilus-view/main.c: (main):
* components/services/startup/nautilus-view/Makefile.am:
* components/services/startup/nautilus-view/icons/Makefile.am:
* components/services/startup/nautilus-view/main.c: (main):
* components/services/summary/nautilus-view/Makefile.am:
* components/services/summary/nautilus-view/main.c: (main):
*
components/services/summary/nautilus-view/nautilus-summary-view.oaf
info:
Fixing oafinfo files based on Darin's suggestion and cleaning up main
functions to use locale and remove old corba call that is no longer
needed.
2000-07-07 Eskil Heyn Olsen <eskil@eazel.com>
* components/services/install/server/.cvsignore:
* nautilus-installer/src/.cvsignore:
* .cvsignore:
* components/services/install/command-line/.cvsignore:
Less noise on cvs update.
* components/rpmview/nautilus-rpm-view-install.c:
(nautilus_rpm_view_install_progress_signal):
*
components/services/install/command-line/eazel-alt-install-corba.c:
(eazel_install_progress_signal):
* components/services/install/idl/trilobite-eazel-install.idl:
* components/services/install/lib/eazel-install-corba-callback.c:
(impl_install_progress),
(gtk_marshal_NONE__POINTER_INT_INT_INT_INT_INT_INT),
(eazel_install_callback_class_initialize):
* components/services/install/lib/eazel-install-corba-callback.h:
* components/services/install/lib/eazel-install-object.c:
(eazel_install_class_initialize),
(eazel_install_emit_install_progress),
(eazel_install_emit_install_progress_default):
* 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:
(rpm_show_progress), (do_rpm_install):
Fixed bug 1603, install_progress now reports package
numnber/total, package size completed/total, total install size
completed/total.
2000-07-07 Eskil Heyn Olsen <eskil@eazel.com>
* components/services/install/command-line/genpkg_list.example:
Represents the july 5th milestone.
(create_default_metadata):
* components/services/install/lib/eazel-install-rpm-glue.c:
(rpm_show_progress), (do_rpm_install),
(eazel_install_fetch_rpm_dependencies):
Added some FIXME's. Fixed a horrible mem bug. It now leaks, but
rpm install works.
* components/services/install/lib/eazel-install-xml-package-list.c:
(parse_package):
Added a check so the strtol isn't a risk anymore
* components/services/trilobite/idl/trilobite-service.idl:
Added the interface for the password query hell.
* components/services/trilobite/libtrilobite/Makefile.am:
*
components/services/trilobite/libtrilobite/trilobite-service-passwo
rdquery-private.h:
*
components/services/trilobite/libtrilobite/trilobite-service-passwo
rdquery-public.h:
*
components/services/trilobite/libtrilobite/trilobite-service-passwo
rdquery.c: (trilobite_passwordquery_get_epv),
(trilobite_passwordquery_destroy),
(trilobite_passwordquery_set_arg),
(trilobite_passwordquery_class_initialize),
(trilobite_passwordquery_construct),
(trilobite_passwordquery_create_corba_object),
(trilobite_passwordquery_initialize),
(trilobite_passwordquery_get_type), (trilobite_passwordquery_new):
Did the initial passwordquery corba object by cp & s/x/y/ on
trilobite-service*[ch].
* data/emblems/Makefile.am:
removed personal.png from _DATA, as it does not exists
* icons/Makefile.am:
removed emblem-personal.svg
* icons/vector/Makefile.am:
icons/Makefile.am
* nautilus-installer/src/Makefile:
* nautilus-installer/src/installer.c: (eazel_install_progress),
(make_dirs), (installer):
Now creates the /var/eazel/services dir. Sets the proper flags for
the install object and again prints the package name during
progress display.
* nautilus-installer/src/interface.c: (create_window):
Fiddled with the layout, everything doesn't jump around anymore,
just a few things.
* nautilus-installer/src/prescript:
Inc'ed the version to 0.1d
2000-07-07 Andy Hertzfeld <andy@eazel.com>
* data/emblems/Makefile.am:
* icons/Makefile.am:
* icons/emblem-draft.svg:
* icons/emblem-favorite.svg:
* data/emblems/draft.png:
* data/emblems/favorite.png:
added, removed and updated emblems as first step of emblem
clean-up; more changes coming soon.
2000-07-07 Darin Adler <darin@eazel.com>
* components/music/main.c: (music_view_make_object), (main):
* components/services/install/nautilus-view/main.c: (main):
Got rid of unneeded CORBA_Environment variable.
* components/services/install/nautilus-view/nautilus-service-install-view.oafinfo:
Fixed a typo that was making the view not work.
* src/nautilus-applicable-views.c: (got_file_info_callback):
Reformatted.
* src/nautilus-window-manage-views.c:
(nautilus_window_update_state): Added a FIXME for a place where an
error happens and it's not reported.
* src/nautilus-application.c: (nautilus_application_startup):
Fixed a double-destroy problem with the CORBA object I just added.
2000-07-07 J Shane Culpepper <pepper@eazel.com>
* components/services/install/Makefile.am:
* components/services/install/nautilus-view/.cvsignore:
* components/services/install/nautilus-view/Makefile.am:
* components/services/install/nautilus-view/main.c:
(service_install_object_destroyed), (service_install_make_object),
(main):
* components/services/install/nautilus-view/nautilus-service-install-view.c:
(generate_install_form), (generate_form_title),
(nautilus_service_install_view_initialize_class),
(nautilus_service_install_view_initialize),
(nautilus_service_install_view_destroy),
(nautilus_service_install_view_get_nautilus_view),
(nautilus_service_install_view_load_uri),
(service_install_load_location_callback):
* components/services/install/nautilus-view/nautilus-service-install-view.h:
* components/services/install/nautilus-view/nautilus-service-install-view.oafinfo:
* components/services/install/nautilus-view/nautilus-service-install.c:
(nautilus_service_install_download_progress_signal),
(nautilus_service_install_progress_signal),
(nautilus_service_install_download_failed),
(nautilus_service_install_failed_helper),
(nautilus_service_install_failed),
(nautilus_service_install_dependency_check),
(nautilus_service_install_done),
(nautilus_service_install_view_install_package_callback),
(nautilus_service_install_view_uninstall_package_callback):
* components/services/install/nautilus-view/nautilus-service-install.h:
Adding the skeleton for the eazel install view.
2000-07-07 Darin Adler <darin@eazel.com>
* components/hardware/nautilus-hardware-view.oafinfo:
* components/help/help-contents.oafinfo:
* components/help/help-index.oafinfo:
* components/help/help-search.oafinfo:
* components/history/nautilus-history-view.oafinfo:
* components/html/ntl-web-browser.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/inventory/nautilus-view/nautilus-inventory-view.oafinfo:
* components/services/login/nautilus-view/nautilus-login-view.oafinfo:
* components/services/startup/nautilus-view/nautilus-service-startup-view.oafinfo:
* components/services/summary/nautilus-view/nautilus-summary-view.oafinfo:
* components/services/time/nautilus-view/trilobite-eazel-time-view.oafinfo:
* components/services/trilobite/sample/nautilus-view/nautilus-sample-service-view.oafinfo:
* components/shell/shell.oafinfo:
* components/tree/nautilus-tree-view.oafinfo:
* components/websearch/ntl-web-search.oafinfo:
Removed the obsolete Nautilus/ContentView and Nautilus/MetaView.
* components/services/install/command-line/.cvsignore:
Added a generated file.
* libnautilus-extensions/nautilus-directory-async.c:
(metafile_read_done), (allow_metafile),
(nautilus_directory_request_read_metafile): Another quick cut at
leaving out metafiles for some schemes.
(dequeue_pending_idle_callback): Get rid of "pending file info is
NULL!" message and "approve" the change that made Maciej put it
in.
* libnautilus/nautilus-view.c: (nautilus_uri_list_from_g_list):
Use CORBA_TRUE to truly use CORBA correctly.
* src/nautilus-shell-interface.idl:
* src/.cvsignore:
* src/Makefile.am:
* src/nautilus.oafinfo:
* src/nautilus-shell.h:
* src/nautilus-shell.c: (nautilus_shell_initialize_class),
(nautilus_shell_get_epv), (nautilus_shell_get_vepv),
(nautilus_shell_create_servant), (nautilus_shell_initialize),
(destroy), (nautilus_shell_new), (display_caveat),
(display_caveat_first_time), (open_window), (corba_open_windows),
(corba_open_default_window), (corba_manage_desktop): Added a new
CORBA file for the interface of the Nautilus shell itself and a
class for a server side of it. Moved some code in here from
NautilusApplication.
* src/nautilus-application.c: (manufactures), (create_object),
(create_factory), (nautilus_application_initialize),
(nautilus_strv_length), (nautilus_make_uri_list_from_strv),
(nautilus_application_startup): Moved the IID strings into
constants for easier code reading. Added the code that can yield
up the shell object, although it's not used yet. Changed startup
code to use the NautilusShell object to do the work. This doesn't
work cross-process yet, but it's ready to.
* src/nautilus-window.h:
* src/nautilus-window.c: (nautilus_window_initialize_class),
(nautilus_window_initialize), (goto_uri_callback),
(navigation_bar_mode_changed_callback),
(nautilus_window_constructed), (nautilus_window_destroy),
(nautilus_window_realize): Misc. cleanup, including getting rid of
the strange old way of doing parent_class.
2000-07-07 Pavel Cisler <pavel@eazel.com>
* libnautilus-extensions/nautilus-drag.c:
(nautilus_drag_default_drop_action),
(nautilus_drag_drop_action_ask):
Clean fix up action handling - respect suggested actions, handle
actions better if they are different than GDK_ACTION_COPY and GDK_ACTION_MOVE.
* libnautilus-extensions/nautilus-drag.c:
(nautilus_drag_default_drop_action):
Fix a crash in the new drop context menu when Cancel gets selected.
* libnautilus-extensions/nautilus-drag.h:
* libnautilus-extensions/nautilus-icon-container.c:
(start_stretching), (button_release_event), (motion_notify_event),
(show_context_menu_callback), (handle_icon_button_press):
* libnautilus-extensions/nautilus-icon-dnd.c:
(nautilus_icon_container_receive_dropped_icons),
(nautilus_icon_container_get_drop_action):
* libnautilus-extensions/nautilus-icon-private.h:
Fix 1551 - Make drop context menu show up when drag started with
right click. Turned out to be a bit harder than estimated.
To do this I made the right-click context menu come up with a slight
delay - a drag may be started if the mouse is moved before the delay
expires.
Renamed and reworked the click/drag state machine a bit.
2000-07-07 Ali Abdin <aliabdin@aucegypt.edu>
* components/html/ntl-web-browser.c:
(main) Ack! The gtkhtml crew just removed gtkhtmllib_init - Reverting
my change (must read cvs-commits before commiting)
2000-07-07 Ali Abdin <aliabdin@aucegypt.edu>
* components/html/ntl-web-browser.c:
(main) Add gtkhtmllib_init to make gtkhtml work again (it still needs
a lot of love though but at least not it works)
2000-07-07 Andy Hertzfeld <andy@eazel.com>
* libnautilus-extensions/nautilus-icon-factory.c:
(load_specific_image), (nautilus_icon_factory_make_thumbnails):
made it load custom icons for remote files, by using nautilus_gdk_pixbuf_load
instead of gdk_pixbuf_new_from_file in load_specific_image. Also, made
thumbnailing of svg files work by testing for the case and handling it in make_thumbnails.
2000-07-06 Andy Hertzfeld <andy@eazel.com>
* src/nautilus-property-browser.c: (make_drag_image),
(make_color_label), (make_properties_from_xml_node):
made the color properties have a label like Susan's design plus
miscellaneous clean-ups
2000-07-06 Gene Z. Ragan <gzr@eazel.com>
Fixed bug 1571, Need titles in history list instead
of just URIs.
This was a result of sharing the NautilusWindow history list
information over CORBA.
* libnautilus/nautilus-view-component.idl:
Create new interface, Nautilus::HistoryFrame
Interface has method to get a sequence of
history information. This sequence contains
structs that contain uri and name history
information.
* src/Makefile.am:
Added new file, NautilusHistoryFrame.c, to makefile.
* src/nautilus-history-frame.c:
* src/nautilus-history-frame.h:
(impl_Nautilus_HistoryFrame__destroy),
(impl_Nautilus_HistoryFrame__create),
(impl_Nautilus_HistoryFrame_get_history_list):
New files that implements the functionality of the
Nautilus::HistoryFrame.
* components/history/nautilus-history-view.c:
(get_bookmark_from_row), (get_uri_from_row),
(history_view_frame_call_begin), (history_view_frame_call_end),
(history_view_update_icons), (get_history_list),
(hyperbola_navigation_history_load_location),
(hyperbola_navigation_history_select_row), (do_destroy),
(make_obj), (main):
Changes in the way that the history list is maintained.
We now use the info that is received by asking the view frame
for history information.
* src/nautilus-view-frame.c:
* src/nautilus-view-frame.h:
(nautilus_view_frame_initialize_class),
(nautilus_view_frame_load_client),
(nautilus_view_frame_get_history_list):
Added new signal GET_HISTORY_LIST and new
function that emits the signal when called.
* src/nautilus-window.c:
(nautilus_window_connect_view):
Create and add history interface to connected view.
(nautilus_window_get_history_list_callback):
New signal handler that connects to the get_history_list
signal of NautilusViewFrame. Returns a Nautilus_HistoryList
created from the history list data.
2000-07-06 Michael Engber <engber@eazel.com>
* src/nautilus-window.c: (nautilus_window_class_init):
Added fixme for redundant parent_class slot (pavel's
request since we puzzled over this for some time)
2000-07-06 Pavel Cisler <pavel@eazel.com>
* libnautilus-extensions/nautilus-icon-dnd.c:
(nautilus_icon_container_get_drop_action):
Fix a problem that I introduced with my recent change to
drag&drop - colors, background images, etc would no longet
get accepted in the icon view.
Made nautilus_icon_container_get_drop_action only check
the selection list and the drop target if the dragged data
is a file operation drag&drop.
2000-07-06 Andy Hertzfeld <andy@eazel.com>
* src/nautilus-sidebar-tabs.c: (nautilus_sidebar_tabs_remove_view):
fixed long-standing bug where sidebar tabs would invoke the
wrong views, by decrementing subsequent indexes when a panel is
removed.
* src/nautilus-sidebar.c: (nautilus_sidebar_initialize),
(nautilus_sidebar_activate_panel),
(nautilus_sidebar_deactivate_panel),
(nautilus_sidebar_update_buttons):
fixed problem of sidebar views changing their position as you
navigate, and also gave them more space, by hiding the title
info when a sidebar view is showing, allowing them to take up
the entire space of the sidebar.
* libnautilus-extensions/nautilus-horizontal-splitter.c:
reduced the slop threshold and time threshold for toggling the
sidebar so it doesn't happen accidentally
* icons/backgrounds.png:
* icons/colors.png:
* icons/emblems.png:
new images from Susan
2000-07-06 Michael Engber <engber@eazel.com>
* src/nautilus-zoom-control.c: (nautilus_zoom_control_destroy):
NULL out preferred_zoom_levels in the destroy method (after
freeing them) in case someone looks at them before finalize.
2000-07-05 Robin * Slomkowski <rslomkow@eazel.com>
* nautilus.spec.in: removed refernce to some *.svg files
and changed the dependancies
2000-07-05 Pavel Cisler <pavel@eazel.com>
* libnautilus-extensions/nautilus-list.c:
(nautilus_list_initialize_class), (nautilus_list_button_press),
(nautilus_list_button_release), (nautilus_list_drag_start):
* libnautilus-extensions/nautilus-list.h:
* src/file-manager/fm-list-view.c: (fm_list_drag_data_get),
(fm_list_get_drag_pixmap), (create_list):
Fixed 1095 - need to draw dragged icon when dragging from list view.
* libnautilus-extensions/nautilus-gtk-extensions.c:
* libnautilus-extensions/nautilus-gtk-extensions.h:
(nautilus_gtk_marshal_NONE__POINTER_INT_POINTER_POINTER):
I swore the next time I need a new marshaling function, I'll
set Nautilus to auto-generate them like the gtk build and here
I am adding another one manually.
2000-07-05 Maciej Stachowiak <mjs@eazel.com>
* libnautilus-extensions/nautilus-search-async.c: include
<libmedusa/medusa-search-service-private.h> until I change this to
use the new API.
2000-07-05 Eskil Heyn Olsen <eskil@eazel.com>
* po/POTFILES.in:
Removed ntl-web-search.c since it's no longer in the codebase.
* components/rpmview/nautilus-rpm-view-install.c:
(nautilus_rpm_view_install_package_callback):
Fixed bug... eh, some number.
* components/services/install/command-line/Makefile.am:
* components/services/install/command-line/eazel-alt-install-corba.c:
(set_parameters_from_command_line), (main):
* components/services/install/command-line/eazel-gen-xml.c: (main):
* components/services/install/command-line/eazel-uninstall.c:
(uninstall_failed):
* components/services/install/idl/trilobite-eazel-install.idl:
* components/services/install/lib/eazel-install-corba-callback.c:
(impl_dep_check), (impl_install_progress),
(impl_uninstall_progress), (impl_install_failed),
(impl_uninstall_failed), (eazel_install_callback_query):
* components/services/install/lib/eazel-install-corba-types.c:
(corba_packagedatastruct_from_packagedata),
(packagedata_from_corba_packagedatastruct),
(corba_category_list_from_categorydata_list),
(categorydata_list_from_corba_categorystructlist),
(xmlnode_from_packageData), (xml_from_packagedata):
* components/services/install/lib/eazel-install-corba-types.h:
* components/services/install/lib/eazel-install-corba.c:
(impl_Eazel_Install_uninstall_packages),
(impl_Eazel_Install_query), (eazel_install_get_epv):
* components/services/install/lib/eazel-install-object.c:
(eazel_install_class_initialize),
(eazel_install_emit_install_progress_default),
(eazel_install_emit_install_failed_default),
(eazel_install_emit_uninstall_failed_default),
(eazel_install_emit_dependency_check_default):
* components/services/install/lib/eazel-install-protocols.c:
(eazel_install_fetch_package):
* components/services/install/lib/eazel-install-query.c:
(eazel_install_simple_query):
* components/services/install/lib/eazel-install-query.h:
* components/services/install/lib/eazel-install-rpm-glue.c:
(install_new_packages), (download_all_packages),
(uninstall_packages), (do_rpm_install),
(eazel_install_load_rpm_headers), (eazel_install_free_rpm_system),
(eazel_install_prepare_rpm_system),
(eazel_install_fetch_rpm_dependencies), (print_package_list),
(eazel_install_do_dependency_check), (eazel_install_ensure_deps),
(eazel_uninstall_upward_traverse),
(eazel_uninstall_downward_traverse), (eazel_uninstall_globber):
* components/services/install/lib/eazel-install-types.c:
(packagedata_destroy_foreach), (rpmname_from_packagedata),
(packagedata_equal), (packagedata_status_enum_to_str),
(packagedata_status_str_to_enum):
* components/services/install/lib/eazel-install-types.h:
* components/services/install/lib/eazel-install-xml-package-list.c:
(parse_package), (parse_category), (parse_shared),
(parse_memory_xml_package_list), (parse_local_xml_package_list):
* components/services/install/lib/eazel-install-xml-package-list.h:
Muy work. Worked around orbit-idl's shortcommings, by packing the
dependency trees for the (un)install_failed callbacks into
xml. Uninstall now does the upwards traversel to detect packages
that will break. Still not the downwards though. Installing a
packge using the filename no longer results in a query for the
file to the server, although we still download all missing deps.
Most of the corbafication stuff is done.
* nautilus-installer/src/Makefile:
* nautilus-installer/src/installer.c: (installer):
Compiles again.
2000-07-05 Darin Adler <darin@eazel.com>
* components/services/trilobite/sample/service/.cvsignore:
Stop ignoring some no-longer-generated files.
2000-07-05 Darin Adler <darin@eazel.com>
* check-headers-in-Makefile.pl: Wrote a script to check that the
Makefile.am file matches what's actually in the directories.
* components/html/main.c: Obsolete file.
* components/services/time/command-line/Makefile.am: Removed
mention of nonexistent trilobite-eazel-sample-service-common.c.
* components/services/time/nautilus-view/Makefile.am: Removed
mention of nonexistent trilobite-eazel-sample-service-common.c.
* libnautilus-extensions/nautilus-icon-grid.c: Obsolete file.
* libnautilus-extensions/nautilus-icon-grid.h: Obsolete file.
* nautilus-installer/src/Makefile.am: Fixed typo; it said
"installer h" instead of "installer.h".
* src/Makefile.am: Added nautilus-search-bar-private.h.
* src/file-manager/fm-directory-list.h: Obsolete file.
2000-07-05 Ramiro Estrugo <ramiro@eazel.com>
* libnautilus-extensions/nautilus-user-level-manager.c:
(user_level_manager_new):
Initialize gconf if needed right before creating a gconf_client.
* src/nautilus-first-time-druid.c: (user_level_selection_changed),
(set_up_user_level_page):
Set the user level when toggled by the user. Also make sure the
initiali user level is correct.
2000-07-05 Andy Hertzfeld <andy@eazel.com>
* src/nautilus-first-time-druid.c: (druid_finished),
(nautilus_first_time_druid_show):
made it launch services sign-up on "finish" if the
user selected that.
* src/nautilus-sidebar-title.c: (update_icon):
At Susan request, used a larger icon in the sidebar
2000-07-05 Darin Adler <darin@eazel.com>
* components/music/nautilus-music-view.c: (fetch_play_time):
Fix a divide-by-zero problem.
(play_status_display), (slider_moved_callback),
(slider_release_callback): Added FIXMEs at other possible
divide-by-zero problems where I am less sure what the solution is.
* libnautilus-extensions/nautilus-directory-async.c:
(allow_metafile), (nautilus_directory_request_read_metafile),
(nautilus_directory_request_write_metafile): Disable metafile
reading and writing for "pipe:" URIs for now. This turns off the
creation of alternate metafiles too. Hope this turns out to be
good.
(start_monitoring_file_list): Fixed a wrong assert.
* libnautilus-extensions/nautilus-gnome-extensions.c:
(nautilus_gnome_canvas_fill_with_gradient): Fixed a divide by zero
bug in here.
* src/file-manager/fm-icon-view.c: (fm_icon_view_destroy),
(directory_view_font_family_changed_callback),
(fm_icon_view_initialize): Changed spelling of "familiy" to the more
standard "family".
* src/nautilus-application.c: (nautilus_application_startup): Put
in some more verbose detailed error messages; we'll have to do more
iteration on these.
2000-07-05 Andy Hertzfeld <andy@eazel.com>
* libnautilus-extensions/nautilus-icon-factory.c,h:
(nautilus_icon_factory_get_pixbuf_for_file),
(nautilus_icon_factory_get_pixmap_and_mask_for_file):
added modifier parameter to icon factory high level routines
* components/tree/nautilus-tree-view.c:
(nautilus_tree_view_insert_file):
added extra parameter to get_pixmap call
* src/file-manager/fm-list-view.c: (install_row_images):
added extra parameter to get_pixmap call
* src/file-manager/fm-properties-window.c:
(get_pixmap_and_mask_for_properties_window):
added extra parameter to get_pixmap call
* icons/eazel/Makefile.am:
* icons/eazel/i-directory-accept.svg:
removed the .svg open folder, added bitmap ones
changed the folder icons in eazel theme to Susan's new one
* src/nautilus-sidebar-title.c: (update_icon):
use the open folder in the sidebar
2000-07-05 Ramiro Estrugo <ramiro@eazel.com>
* libnautilus-extensions/nautilus-global-preferences.c:
(global_preferences_get_sidebar_panel_view_identifiers):
Remove an obsolete FIXME.
2000-07-05 Ramiro Estrugo <ramiro@eazel.com>
* libnautilus-extensions/nautilus-icon-container.c,
* libnautilus-extensions/nautilus-icon-container.h:
(destroy), (nautilus_icon_container_initialize),
(nautilus_icon_container_new),
(nautilus_icon_container_set_label_font_for_zoom_level),
(nautilus_icon_container_set_single_click_mode):
Implement missing set_single_click_mode function.
Its up to users of this widget to setup click policy and other
attributes. We shouldnt peek/poke nautilus specific preferences
in the icon container widget.
* libnautilus-extensions/nautilus-list.c:
* libnautilus-extensions/nautilus-list.h,
(nautilus_list_set_single_click_mode), (nautilus_list_initialize),
(nautilus_list_destroy), (nautilus_list_clear):
Implement missing set_single_click_mode function.
Its up to users of this widget to setup click policy and other
attributes. We shouldnt peek/poke nautilus specific preferences
in the list widget.
* src/file-manager/fm-icon-view.c: (fm_icon_view_destroy),
(text_attribute_names_changed_callback),
(click_policy_changed_callback),
(anti_aliased_mode_changed_callback), (fm_icon_view_initialize),
(fm_icon_view_update_click_mode),
(fm_icon_view_update_anti_aliased_mode), (create_icon_container):
Keep track of changes in preferences that affect the icon
container and update it when needed.
* src/file-manager/fm-list-view.c: (fm_list_view_initialize_class),
(fm_list_view_initialize), (fm_list_view_destroy), (create_list),
(update_icons), (fm_list_view_update_click_mode),
(click_policy_changed_callback):
Keep track of changes in preferences that affect the list and
update it when needed.
2000-07-05 Ramiro Estrugo <ramiro@eazel.com>
* libnautilus-extensions/nautilus-icon-container.c,
* libnautilus-extensions/nautilus-icon-container.h:
(nautilus_icon_container_set_label_font_for_zoom_level):
New function to set the font for a zoom level.
(nautilus_icon_container_initialize),
Initialize to fonts to a well known font. Dont look at font
preferences here. Fonts should be suppied by the icon container
user.
* src/file-manager/fm-icon-view.c:
(fm_icon_view_update_icon_container_fonts),
New function to update the icon container's zoom level specific
fonts.
(directory_view_font_family_changed_callback),
(fm_icon_view_initialize),
(fm_icon_view_destroy),
Keep track of font family preference changes and update the icon
container fonts as needed.
(create_icon_container):
Update the fonts for the first time when the icon container is
created.
2000-07-05 Ramiro Estrugo <ramiro@eazel.com>
* libnautilus-extensions/nautilus-string-picker.c:
(nautilus_string_picker_initialize_class),
(nautilus_string_picker_initialize),
(nautilus_string_picker_destroy), (option_menu_activate_callback),
(nautilus_string_picker_set_string_list),
(nautilus_string_picker_get_text),
(nautilus_string_picker_set_text):
* libnautilus-extensions/nautilus-string-picker.h:
Changed string picker to use option menus instead of combo boxes.
* test/test-nautilus-widgets.c: (test_string_picker),
(string_picker_changed_callback):
Changed widget test program to exercise more string picker
functions.
2000-07-05 Ramiro Estrugo <ramiro@eazel.com>
* components/services/install/command-line/.cvsignore:
Ignore generated files.
2000-07-05 Ramiro Estrugo <ramiro@eazel.com>
* libnautilus-extensions/test-nautilus-preferences.c:
* libnautilus-extensions/test-nautilus-widgets.c:
* libnautilus-extensions/test-preferences.c:
Moved widgets and preferences test to nautilus/test.
* test/.cvsignore:
* test/Makefile.am:
* test/test-nautilus-preferences.c: (main),
(test_preferences_item), (test_preferences_group),
(create_enum_item), (register_global_preferences):
* test/test-nautilus-widgets.c: (main), (test_radio_group),
(test_caption_table), (test_string_picker), (test_text_caption),
(test_authenticate_boink_callback),
(string_picker_changed_callback), (text_caption_changed_callback),
(test_password_dialog), (test_radio_changed_callback),
(test_caption_table_activate_callback):
Ressurect my widgets/preferences test over here. They got whacked
in the nautilus-widgets -> libnautilus-extensions renamings.
2000-07-05 Ramiro Estrugo <ramiro@eazel.com>
* libnautilus-extensions/nautilus-directory.c:
(construct_alternate_metafile_uri):
* libnautilus-extensions/nautilus-file-utilities.c:
(nautilus_make_path), (nautilus_get_user_directory),
(nautilus_get_desktop_directory),
(nautilus_get_user_main_directory),
(nautilus_get_pixmap_directory):
* libnautilus-extensions/nautilus-file-utilities.h:
* libnautilus-extensions/nautilus-global-preferences.c:
(global_preferences_register_for_ui):
* libnautilus-extensions/nautilus-icon-factory.c:
(get_themed_icon_file_path):
* libnautilus-extensions/nautilus-preferences-item.c:
(add_icon_themes):
* src/file-manager/fm-properties-window.c: (get_property_names):
* src/nautilus-application.c:
(nautilus_application_check_user_directories):
* src/nautilus-bookmark-list.c:
(nautilus_bookmark_list_get_file_path):
* src/nautilus-desktop-window.c: (nautilus_desktop_window_new):
* src/nautilus-first-time-druid.c: (druid_finished):
* src/nautilus-property-browser.c:
(nautilus_property_browser_drag_data_get), (make_drag_image),
(remove_color), (remove_background), (remove_emblem),
(get_xml_path), (add_background_to_browser), (add_color_to_file),
(emblem_dialog_clicked), (make_properties_from_directory):
Change file utilities special directory access functions to always
return allocated strings. Change all callers to match the new
functions and free the results.
Also change the file utilities functions to always create the
special directories if needed.
2000-07-05 Ramiro Estrugo <ramiro@eazel.com>
* libnautilus-extensions/nautilus-global-preferences.c:
(compare_view_identifiers), (global_preferences_create_dialog):
Sort the sidebar panel names.
2000-07-05 Ramiro Estrugo <ramiro@eazel.com>
* components/Makefile.am:
Dont install the currently broken components (websearch)
* components/help/Makefile.am:
* components/help/help-contents.oafinfo:
* components/help/help-factory.oafinfo:
* components/help/help-index.oafinfo:
* components/help/help-search.oafinfo:
* components/help/hyperbola.oafinfo:
Split the oafinfo for help components into pieces so we can
control which get intalled and which dont (like the broken onces)
* configure.in:
Fix a small dumb typo.
2000-07-05 J Shane Culpepper <pepper@eazel.com>
* components/services/startup/nautilus-view/nautilus-service-startup-view.c:
(generate_startup_form):
More changes to the progress meter.
2000-07-05 Pavel Cisler <pavel@eazel.com>
* libnautilus-extensions/nautilus-drag.c:
(nautilus_drag_modifier_based_action),
(nautilus_drag_drop_action_ask):
* libnautilus-extensions/nautilus-drag.h:
* libnautilus-extensions/nautilus-icon-container.c:
(motion_notify_event):
* libnautilus-extensions/nautilus-icon-dnd.c:
(nautilus_icon_container_receive_dropped_icons),
(nautilus_icon_dnd_init):
* libnautilus-extensions/nautilus-list.c:
(nautilus_list_initialize), (nautilus_list_drag_start):
* src/file-manager/fm-list-view.c: (fm_list_handle_dropped_icons):
Did most of bug 1371:
Implemented a drop context menu that allows users to choose between
Copy, Move and link.
Added the GDK_ACTION_ASK selector and added support for it.
2000-07-04 Andy Hertzfeld <andy@eazel.com>
First cut at the first-time preferences druid. It's still
not hooked-up yet, and it's appearance needs some work.
* libnautilus-extensions/nautilus-file-utilities.c,h:
(nautilus_user_main_directory_exists):
added routine to test if the user main directory has been created
* src/nautilus-application.c: (nautilus_application_startup):
if the user main directory hasn't been created yet, run the
first time druid instead of showing a Nautilus window.
* src/Makefile.am:
added new files: nautilus-first-time-druid.c and .h
* src/nautilus-first-time-druid.c,h: (druid_cancel),
(druid_finished), (set_up_background),
(user_level_selection_changed), (signup_selection_changed),
(set_up_user_level_page), (set_up_service_signup_page),
(nautilus_first_time_druid_show):
new, first-time druid asks for user level and service signup.
2000-07-04 J Shane Culpepper <pepper@eazel.com>
* components/services/startup/nautilus-view/nautilus-service-startup-view.c:
(generate_startup_form), (show_feedback),
(generate_form_title), (service_load_location_callback):
More work on the progress meter for bootstraping and various ui
enhancements.
2000-07-04 Pavel Cisler <pavel@eazel.com>
* src/file-manager/dfos-xfer.c: (new_folder_xfer_callback):
Fix 1042 - "untitled folder" will not work on file systems with
8.3 names. Added code that handles GNOME_VFS_ERROR_NAME_TOO_LONG
and supplies a name in the 8.3 scheme instead.
2000-07-04 Pavel Cisler <pavel@eazel.com>
* src/file-manager/dfos-xfer-progress-dialog.c:
* src/file-manager/dfos-xfer-progress-dialog.h:
(handle_xfer_ok),
(fs_xfer), (fs_move_to_trash), (fs_delete), (fs_empty_trash):
* src/file-manager/dfos-xfer-progress-dialog.c:
(dfos_xfer_progress_dialog_clear):
Fixed 1215 - inter-volume move now removes the source files.
Made it so that when an inter-volume copy has ended and source files
are removed, the progress dialog updates. Added a new cleanup phase
string.
* src/file-manager/dfos-xfer-progress-dialog.c:
(dfos_xfer_progress_dialog_new_file),
(set_text_unescaped_trimmed):
Added code to unescape paths in progress dialogs.
* src/file-manager/dfos-xfer.c:
* src/file-manager/dfos-xfer.h:
(nautilus_convert_to_unescaped_string_for_display),
(handle_xfer_vfs_error), (handle_xfer_overwrite):
Added code to unescape paths in error dialogs.
* libnautilus-extensions/nautilus-drag.c:
(nautilus_drag_default_drop_action),
(nautilus_drag_modifier_based_action):
* libnautilus-extensions/nautilus-drag.h:
* libnautilus-extensions/nautilus-icon-dnd.c:
(handle_nonlocal_move), (nautilus_icon_container_find_drop_target),
(nautilus_icon_container_receive_dropped_icons),
(nautilus_icon_container_get_drop_action), (drag_motion_callback):
* libnautilus-extensions/nautilus-list.c:
(nautilus_list_drag_motion):
Reworked a whole lot to allow me to update the default copy action
based on the drag&drop context - an inter-volume drag&drop will now
suggest a copy as a default.
Moved out more sharable code into nautilus-drag.c.
Added a common routine for figuring out the drop target.
* src/file-manager/fm-directory-view.c: (fm_directory_is_trash),
(fm_directory_can_move_to_trash):
Fixed a bunch of asserts caused by unreffing NULL uris.
2000-07-04 Michael Meeks <michael@helixcode.com>
* libnautilus-extensions/bonobo-stream-vfs.c (vfs_read): update
for new bonobo code; why is this code duplicated here in a worse
condition to that in Bonobo/storage-modules ?
2000-07-04 J Shane Culpepper <pepper@eazel.com>
* components/services/startup/nautilus-view/icons/Makefile.am:
components/services/startup/nautilus-view/nautilus-service-startup-view.c:
(generate_startup_form), (progress_timeout_cb),
(go_to_uri), (generate_form_title):
Added the watch icon and a fake progress meter. Still need to get
the progress meter working right and work on the layout.
2000-07-03 Andy Hertzfeld <andy@eazel.com>
* src/nautilus-sidebar-tabs.c:
(nautilus_sidebar_tabs_load_theme_data),
(nautilus_sidebar_tabs_destroy), (draw_tab_piece),
(draw_one_tab_themed), (draw_or_hit_test_all_tabs),
(nautilus_sidebar_tabs_expose):
more work on the themed tabs in the arlo theme
* icons/arlo/arlo.xml:
added more tab_piece rectangles
2000-07-03 J Shane Culpepper <pepper@eazel.com>
* components/services/login/nautilus-view/nautilus-login-view.c:
(generate_login_form), (login_button_cb), (maintenance_button_cb),
(go_to_uri), (generate_form_title):
Finishing up the new ui for the login screen. Bug # 1004.
2000-07-03 Maciej Stachowiak <mjs@eazel.com>
* components/tree/nautilus-tree-view.c
(nautilus_tree_view_initialize): Only show scroll bars when needed
in tree view.
* components/tree/nautilus-tree-view.c:
(tree_expand_callback): constness fixes
(nautilus_tree_view_initialize, tree_select_row_callback):
Navigate to selected location on row selection.
2000-07-03 Andy Hertzfeld <andy@eazel.com>
* src/nautilus-sidebar-tabs.c: (draw_or_hit_test_all_tabs):
fixed bug where themed tabs weren't stacking correctly. Fixed by
using the actual tab height instead of the constant used by the
default.
* icons/arlo/sidebar_tab_pieces.png:
replaced with newer version that has a background and edge piece.
2000-07-03 Andy Hertzfeld <andy@eazel.com>
* src/nautilus-sidebar-title.c:
(nautilus_sidebar_title_initialize),
(nautilus_sidebar_title_destroy), (nautilus_sidebar_title_new),
(set_widget_color), (nautilus_sidebar_title_theme_changed):
made the sidebar title text color themable.
* icons/arlo/arlo.xml:
made the arlo theme use white text for the sidebar title
2000-07-03 Eskil Heyn Olsen <eskil@eazel.com>
* components/services/install/lib/Makefile.am:
Ensuring rpm build
2000-07-03 Seth Nickell <seth@eazel.com>
* libnautilus-extensions/nautilus-file.c:
(nautilus_file_get_permissions_as_string),
(nautilus_file_is_symbolic_link):
* libnautilus-extensions/nautilus-icon-factory.c:
(nautilus_icon_factory_get_icon_name_for_file):
Necessary to make Nautilus compile after changing
GNOME_VFS_FILE_TYPE_BROKEN_SYMLINK to GNOME_VFS_FILE_TYPE_SYMBOLIC_LINK
and removing the existing flag. See bug 1547 for more information on
breakages in the way Nautilus handles symbolic links (caused by the
GnomeVFS changes) such as detecting them in the first place.
2000-07-03 Andy Hertzfeld <andy@eazel.com>
* libnautilus-extensions/nautilus-background.c:
(nautilus_background_draw_aa):
implemented n-point gradients at Arlo's request. Right now,
they are only implemented for anti-aliased mode.
* icons/arlo/arlo.xml:
made the sidebar use a 3-point gradient
2000-07-03 Gene Z. Ragan <gzr@eazel.com>
* libnautilus-extensions/bonobo-stream-vfs.c:
(bonobo_stream_vfs_class_init), (create_bonobo_stream_vfs):
Fixed problem with previous change to this file. Allocated
a static epv. Assigned this epv to the servants epv and then
alocated the individual elements in the structure.
2000-07-03 Pavel Cisler <pavel@eazel.com>
* libnautilus-extensions/nautilus-list.c:
(nautilus_list_drag_start), (nautilus_list_motion):
Start adding support for dislaying dragged icon while dragging
in a list view.
2000-07-02 J Shane Culpepper <pepper@eazel.com>
*
components/services/startup/nautilus-view/nautilus-service-startup-
view.c:
*
components/services/summary/nautilus-view/nautilus-summary-view.c:
(generate_summary_form), (generate_form_title):
Making summary view "I am just a view" until I can get the actual
widget finished.
2000-07-02 Pavel Cisler <pavel@eazel.com>
* components/help/help-method.c: (convert_file_to_uri):
Make the help component build properly -- convert the call
gnome_vfs_mime_type_of_file to the new
gnome_vfs_get_file_mime_type.
* components/help/Makefile.am:
Turn on -Werror that would have caught the problem earlier.
2000-07-02 Andy Hertzfeld <andy@eazel.com>
* src/nautilus-sidebar-tabs.c: (parse_rectangle_list),
(nautilus_sidebar_tabs_load_theme_data),
(nautilus_sidebar_tabs_initialize),
(nautilus_sidebar_tabs_destroy), (draw_one_tab_plain),
(draw_tab_piece), (draw_one_tab_themed),
(draw_or_hit_test_all_tabs), (nautilus_sidebar_tabs_expose):
made the sidebar tabs themable and implemented arlo-style tabs
in the arlo theme. This isn't finished yet, because I still have
some details to work out with Arlo.
* icons/arlo/arlo.xml:
added sidebar tab stuff to the arlo theme
* libnautilus-extensions/nautilus-theme.c,h:
(nautilus_theme_get_image_path):
added a routine to access themed images
* src/nautilus-property-browser.c: (make_category_link):
made it access pixmaps with nautilus_pixmap_file instead of gnome_pixmap_file
* data/browser.xml:
removed the "nautilus" from image references
2000-07-02 J Shane Culpepper <pepper@eazel.com>
* components/services/inventory/lib/.cvsignore:
* components/services/vault/lib/.cvsignore:
Fixing cvsignores. I always forget that.
2000-07-02 J Shane Culpepper <pepper@eazel.com>
* components/services/Makefile.am:
* components/services/login/nautilus-view/nautilus-login-view.c:
(generate_form_title):
* components/services/startup/lib/Makefile.am:
* components/services/startup/lib/eazel-register.c:
* components/services/startup/lib/eazel-register.h:
* components/services/startup/nautilus-view/Makefile.am:
* components/services/startup/nautilus-view/icons/Makefile.am:
* components/services/startup/nautilus-view/main.c:
(service_object_destroyed), (service_make_object), (main):
*
components/services/startup/nautilus-view/nautilus-service-startup-
view.c: (generate_startup_form), (go_to_uri),
(generate_form_title),
(nautilus_service_startup_view_initialize_class),
(nautilus_service_startup_view_initialize),
(nautilus_service_startup_view_destroy),
(nautilus_service_startup_view_get_nautilus_view), (is_location),
(nautilus_service_startup_view_load_uri),
(service_load_location_callback):
*
components/services/startup/nautilus-view/nautilus-service-startup-
view.h:
Have all of the eazel: views hooked into the build now. Most of the
backend parsing of eazel:login, eazel:inventory, eazel:summary,
eazel:time, eazel:startup. Most of these views don't look very good.
That's the next task.
2000-07-01 Maciej Stachowiak <mjs@eazel.com>
* components/tree/main.c (main): Remove unnecessary debugging
statement.
* components/tree/nautilus-tree-view.c
(nautilus_tree_view_insert_file): Partly fix bugzilla task 1524 -
show icons in tree view. Still need to
2000-07-01 J Shane Culpepper <pepper@eazel.com>
* components/services/install/command-line/.cvsignore:
* components/services/install/lib/.cvsignore:
* components/services/login/lib/.cvsignore:
* components/services/summary/lib/.cvsignore:
cvsignore fixes.
2000-07-01 J Shane Culpepper <pepper@eazel.com>
* components/services/inventory/lib/Makefile.am:
* components/services/inventory/lib/eazel-inventory-shared.c:
(add_package_info), (read_proc_info), (add_info), (add_io_info),
(add_hardware_info), (synchronize_configuration_metafile),
(update_configuration_metafile), (create_configuration_metafile):
* components/services/inventory/lib/eazel-inventory-shared.h:
* components/services/inventory/nautilus-view/Makefile.am:
*
components/services/inventory/nautilus-view/nautilus-inventory-view
.c: (generate_inventory_form), (gather_config_button_cb),
(register_later_cb), (make_http_post_request), (go_to_uri),
(get_home_uri), (update_now):
Moving the inventory view to its new home to make way for the new
bootstrap startup view.
2000-07-01 J Shane Culpepper <pepper@eazel.com>
* components/services/inventory/nautilus-view/Makefile.am:
* components/services/inventory/nautilus-view/main.c:
(inventory_object_destroyed), (inventory_make_object), (main):
*
components/services/inventory/nautilus-view/nautilus-inventory-view
.c: (generate_inventory_form), (entry_changed_cb),
(inventory_button_cb), (maintenance_button_cb), (show_feedback),
(generate_form_title), (nautilus_inventory_view_initialize_class),
(nautilus_inventory_view_initialize),
(nautilus_inventory_view_destroy),
(nautilus_inventory_view_get_nautilus_view),
(nautilus_inventory_view_load_uri),
(inventory_load_location_callback):
*
components/services/inventory/nautilus-view/nautilus-inventory-view
.h:
*
components/services/inventory/nautilus-view/nautilus-inventory-view
.oafinfo:
* components/services/login/nautilus-view/Makefile.am:
* components/services/login/nautilus-view/main.c:
(login_make_object):
* components/services/summary/nautilus-view/Makefile.am:
* components/services/summary/nautilus-view/main.c:
(summary_object_destroyed), (summary_make_object), (main):
*
components/services/summary/nautilus-view/nautilus-summary-view.c:
(generate_summary_form), (entry_changed_cb), (summary_button_cb),
(maintenance_button_cb), (show_feedback), (generate_form_title),
(nautilus_summary_view_initialize_class),
(nautilus_summary_view_initialize),
(nautilus_summary_view_destroy),
(nautilus_summary_view_get_nautilus_view),
(nautilus_summary_view_load_uri), (summary_load_location_callback):
*
components/services/summary/nautilus-view/nautilus-summary-view.h:
*
components/services/summary/nautilus-view/nautilus-summary-view.oaf
info:
Simple framework for inventory and summary views. Minor fixes to
login view. All are clones of the same basic widget right now. I'll
be adding the real widgets soon.
2000-06-30 Ramiro Estrugo <ramiro@eazel.com>
* src/nautilus-application.c: (display_installation_wizard),
(nautilus_application_startup):
Add code to display an installation wizard using the new druid.
Its #ifdefed out until we do more real work on it.
2000-06-30 Ramiro Estrugo <ramiro@eazel.com>
* configure.in:
* cut-n-paste-code/widgets/Makefile.am:
Build the new nautilus druid.
2000-06-30 Ramiro Estrugo <ramiro@eazel.com>
* configure.in:
* src/Makefile.am:
Adding canvas pixbuf item check and flags, which are needed in
order to use the nautilus druid.
2000-06-30 Ramiro Estrugo <ramiro@eazel.com>
* cut-n-paste-code/widgets/nautilus-druid/nautilus-druid-page-edge.c:
(nautilus_druid_page_edge_construct):
* cut-n-paste-code/widgets/nautilus-druid/nautilus-druid-page-finish.c:
(nautilus_druid_page_finish_configure_size),
(nautilus_druid_page_finish_construct),
(nautilus_druid_page_finish_set_logo),
(nautilus_druid_page_finish_set_watermark):
* cut-n-paste-code/widgets/nautilus-druid/nautilus-druid-page-standard.c:
(nautilus_druid_page_standard_construct):
* cut-n-paste-code/widgets/nautilus-druid/nautilus-druid-page-start.c:
(nautilus_druid_page_start_construct):
Update these items to properly use the canvas pixbuf beast.
2000-06-30 Ramiro Estrugo <ramiro@eazel.com>
* cut-n-paste-code/widgets/nautilus-druid/nautilus-druid-page-edge.c:
* cut-n-paste-code/widgets/nautilus-druid/nautilus-druid-page-edge.h:
* cut-n-paste-code/widgets/nautilus-druid/nautilus-druid-page-finish.c:
* cut-n-paste-code/widgets/nautilus-druid/nautilus-druid-page-finish.h:
* cut-n-paste-code/widgets/nautilus-druid/nautilus-druid-page-standard.c:
* cut-n-paste-code/widgets/nautilus-druid/nautilus-druid-page-standard.h:
* cut-n-paste-code/widgets/nautilus-druid/nautilus-druid-page-start.c:
* cut-n-paste-code/widgets/nautilus-druid/nautilus-druid-page-start.h:
* cut-n-paste-code/widgets/nautilus-druid/nautilus-druid-page.c:
* cut-n-paste-code/widgets/nautilus-druid/nautilus-druid-page.h:
* cut-n-paste-code/widgets/nautilus-druid/nautilus-druid.c:
* cut-n-paste-code/widgets/nautilus-druid/nautilus-druid.h:
Globally rename the GnomeDruid to NautilusDruid to prevent
namespace clashing with the gnome-libs-1-0 druid.
2000-06-30 Ramiro Estrugo <ramiro@eazel.com>
* cut-n-paste-code/widgets/nautilus-druid/.cvsignore:
* cut-n-paste-code/widgets/nautilus-druid/Makefile.am:
* cut-n-paste-code/widgets/nautilus-druid/nautilus-druid-page-edge.c:
* cut-n-paste-code/widgets/nautilus-druid/nautilus-druid-page-edge.h:
* cut-n-paste-code/widgets/nautilus-druid/nautilus-druid-page-finish.c:
* cut-n-paste-code/widgets/nautilus-druid/nautilus-druid-page-finish.h:
* cut-n-paste-code/widgets/nautilus-druid/nautilus-druid-page-standard.c:
* cut-n-paste-code/widgets/nautilus-druid/nautilus-druid-page-standard.h:
* cut-n-paste-code/widgets/nautilus-druid/nautilus-druid-page-start.c:
* cut-n-paste-code/widgets/nautilus-druid/nautilus-druid-page-start.h:
* cut-n-paste-code/widgets/nautilus-druid/nautilus-druid-page.c:
* cut-n-paste-code/widgets/nautilus-druid/nautilus-druid-page.h:
* cut-n-paste-code/widgets/nautilus-druid/nautilus-druid.c:
* cut-n-paste-code/widgets/nautilus-druid/nautilus-druid.h:
Importing the gnome-libs HEAD druid to the cut-n-paste toxic
dump. Arlofication will proceed.
2000-06-30 Andy Hertzfeld <andy@eazel.com>
* libnautilus-extensions/nautilus-file-utilities.c:
(nautilus_get_user_main_directory):
use gnome_vfs_xfer instead of a 'cp' command to install the
novice home directory. This fixes bug 1285.
2000-06-30 Andy Hertzfeld <andy@eazel.com>
eliminated the separate toolbar icon theme; instead it's
incorporated into the general theming mechanism
* libnautilus-extensions/nautilus-global-preferences.h:
got rid of NAUTILUS_PREFERENCES_TOOLBAR_ICON_THEME
* libnautilus-extensions/nautilus-global-preferences.c:
(global_preferences_create_dialog),
(global_preferences_register_for_ui):
got rid of the toolbar_icon preference and the associated widgetry
* libnautilus-extensions/nautilus-preferences-item.c,h:
(preferences_item_construct), (preferences_item_create_theme):
got rid of the preference item for the toolbar icon theme
* src/nautilus-window-toolbars.c: (setup_button),
(setup_toolbar_images), (nautilus_window_initialize_toolbars),
(nautilus_window_toolbar_remove_theme_callback):
use the general theming framework to determine the toolbar icons
to use
* icons/vector/vector.xml:
made the vector theme use Susan's toolbar icons
* libnautilus-extensions/nautilus-background.c:
(nautilus_background_draw):
a little bit of clean-up
2000-06-30 Gene Z. Ragan <gzr@eazel.com>
* libnautilus-extensions/bonobo-stream-vfs.c:
(create_bonobo_stream_vfs):
A fix to make the setting of the vepv work. The extern
vepv is gone, so we now use the allocator functions.
2000-06-30 Andy Hertzfeld <andy@eazel.com>
* libnautilus-extensions/nautilus-background.c:
(nautilus_background_draw):
fixed bug where the combine mode implemented last night wasn't
working for normal drawables by setting the fake CanvasBuf flags
properly. Now the sidebar in the arlo theme is working.
2000-06-30 Fatih Demir <kabalak@gmx.net>
* acconfig.h: Added masses of undefs for the wrapping
function ( as mentioned down ).
* configure.in: If a Bzip2 is found, define the Bzip2
wrapping functions vie AC_DEFINE to get it into
config.h, so the rpm-component and the other
Bzip2-based components should now compile with
the new Bzip2 versions without problems.
2000-06-30 Andy Hertzfeld <andy@eazel.com>
* configure.in:
* data/backgrounds/Makefile.am:
* icons/Makefile.am:
* icons/arlo/.cvsignore:
* icons/arlo/Makefile.am:
* icons/arlo/arlo.xml:
added a new theme for Arlo
* libnautilus-extensions/nautilus-background.c,h:
(nautilus_background_get_combine_mode),
(nautilus_background_set_combine_mode), (nautilus_background_draw),
(nautilus_background_draw_aa):
added "combine" mode where it draws a background overlayed with a
semi-transparent image.
* libnautilus-extensions/nautilus-directory-background.c:
(directory_changed_callback), (background_reset_callback):
set up combine_mode if necessary
* src/nautilus-property-browser.c:
(make_properties_from_directory_path):
don't display images whose name starts with "."
* src/nautilus-sidebar.c: (background_reset_callback),
(nautilus_sidebar_update_info):
set up combine mode if necessary
2000-06-29 Eskil Heyn Olsen <eskil@eazel.com>
* components/services/install/command-line/Makefile.am:
* components/services/install/command-line/eazel-uninstall.c:
(set_parameters_from_command_line), (progress_signal),
(uninstall_failed), (dep_check), (create_package), (done), (main):
* components/services/install/lib/Makefile.am:
* components/services/install/lib/eazel-install-object.c:
(eazel_install_uninstall_packages):
* components/services/install/lib/eazel-install-rpm-glue.c:
(uninstall_packages), (uninstall_a_package), (do_rpm_uninstall),
(eazel_install_prepare_rpm_system), (eazel_install_add_to_rpm_set),
(eazel_install_add_to_set), (eazel_install_fetch_rpm_dependencies),
(eazel_install_do_dependency_check), (eazel_install_ensure_deps),
(eazel_uninstall_upward_traverse),
(eazel_uninstall_downward_traverse), (eazel_uninstall_globber):
Doing a lot of slashing in the uninstall part.
* nautilus-installer/src/Makefile:
This is still checked in, as the installer isn't part of the build
tree.
2000-06-29 Pavel Cisler <pavel@eazel.com>
Fixed some memory leaks.
* libnautilus-extensions/nautilus-mime-actions.c:
(nautilus_mime_get_short_list_components_for_uri):
Fix a leaked string.
* src/nautilus-zoom-control.c:
(nautilus_zoom_control_set_preferred_zoom_levels):
Fix a leaky setter call.
* test/Makefile.am:
Add a make target for a leak checker tester.
* test/nautilus-leak-checker.c:
(nautilus_leak_allocation_record_init),
(nautilus_leak_record_malloc), (nautilus_leak_record_realloc),
(nautilus_leak_record_free), (print_one_leak),
(nautilus_leak_print_leaks), (allocate_lots), (leak_mem2),
(leak_mem), (main):
* test/nautilus-leak-symbol-lookup.c:
(nautilus_leak_print_symbol_address):
Tweak the leak checker output a bit to make it more nicer and
indicate the level of stack frame grouping.
* src/nautilus-main.c: (print_leaks):
Tweak the parameters a bit to print more leaks.
2000-06-29 Maciej Stachowiak <mjs@eazel.com>
* components/tree/Makefile.am: Add VFS_CFLAGS
* components/tree/main.c (main): Initialize more libraries.
* components/tree/nautilus-tree-view.h,
components/tree/nautilus-tree-view.c: Many changes. The upshot is
that basic tree loading now works, but many details remain to be
fleshed out (individual bugs were filed on these).
* libnautilus-extensions/nautilus-directory-async.c:
(dequeue_pending_idle_callback), (directory_load_done): Try to
emit done signal exactly once when a monitor load is complete. But
I think this might be questionable, see below.
* libnautilus-extensions/nautilus-directory-private.h,
libnautilus-extensions/nautilus-directory.h,
libnautilus-extensions/nautilus-directory.c: Add the
"done_loading" signal for when a load initiated by monitoring is
done. I just realized this does the wrong thing when more than one
thing is monitoring at the same time (both get the signal), so
maybe it should be changed to a callback function passed to
nautilus_file_monitor_add, but that would be harder to implement.
(nautilus_directory_emit_done_loading): Function so the async code
can emit it.
2000-06-29 Ramiro Estrugo <ramiro@eazel.com>
* components/mozilla/Makefile.am:
* components/mozilla/mozilla-preferences.cpp:
* components/mozilla/mozilla-preferences.h:
Add a small C wrapper for poking mozilla preferences.
* components/mozilla/nautilus-mozilla-content-view.c:
(nautilus_mozilla_content_view_initialize):
Poke some interesting preferences.
* configure.in:
If the mozilla component is being built, add a check for the c++
compiler which is needed by the mozilla preferences C wrapper.
2000-06-29 Ali Abdin <aliabdin@aucegypt.edu
* components/help/Makefile.am: Install the libvfs-help.so module
in the right place. Closes Bug #919. (will not work though
if Nautilus prefix != gnome-vfs prefix (unless a fix goes into
gnome-vfs))
* components/websearch/ntl-web-search.c:
(web_search_populate_engines): Fix to make it look in the right
place (WEB_SEARCH_DATADIR "/standard.eng" instead of
WEB SEARCH_DATADIR "/ntl-web-search/standard.eng")
2000-06-29 Ramiro Estrugo <ramiro@eazel.com>
* components/mozilla/nautilus-mozilla-content-view.oafinfo:
Expose the fact that this component can grok file: and ftp: uris.
2000-06-29 Andy Hertzfeld <andy@eazel.com>
* libnautilus-extensions/nautilus-directory-background.c,h:
(directory_changed_callback),
(nautilus_directory_background_is_set),
(nautilus_connect_background_to_directory_metadata):
added nautilus_directory_background_is_set, and some cleanups
* src/file-manager/fm-directory-view.c: (compute_menu_item_info),
(fm_directory_view_real_update_menus):
used nautilus_directory_background_is_set to enable/disable item
2000-06-29 Pavel Cisler <pavel@eazel.com>
* libnautilus-extensions/nautilus-icon-dnd.h:
* libnautilus-extensions/nautilus-icon-dnd.c:
(nautilus_icon_dnd_init),
(nautilus_icon_dnd_begin_drag), (drag_motion_callback),
(drag_drop_callback):
* libnautilus-extensions/nautilus-icon-container.c:
(motion_notify_event), (key_press_event):
Got rid of the crufty old way drag&drop motion used to handle
updating the drop action.
* libnautilus-extensions/nautilus-drag.h:
* libnautilus-extensions/nautilus-icon-dnd.c:
* libnautilus-extensions/nautilus-drag.c:
(nautilus_drag_modifier_based_action):
Moved to the common drag&drop file so I can share it
between the list and icon view.
* libnautilus-extensions/nautilus-list.c:
(nautilus_list_initialize), (nautilus_list_motion),
(nautilus_list_drag_motion):
* libnautilus-extensions/nautilus-icon-dnd.c:
(confirm_switch_to_manual_layout):
Reformatted a bit.
2000-06-29 Rebecca Schulman <rebecka@eazel.com>
* src/nautilus-complex-search-bar.c:
(nautilus_complex_search_bar_initialize_class),
(nautilus_complex_search_bar_set_search_controls):
Fixed assertion problem by adding set_search_controls
method
2000-06-28 Andy Hertzfeld <andy@eazel.com>
* libnautilus-extensions/nautilus-directory-background.c:
(local_data_file_to_uri), (directory_changed_callback),
(nautilus_directory_background_theme_changed),
(background_reset_callback), (background_destroyed_callback),
(nautilus_connect_background_to_directory_metadata):
made directory backgrounds use the current theme to determine their
default background. Made reset restore the default background. Receive
notification when the theme changes, and change the background if necessary.
* src/file-manager/fm-directory-view.c:
(fm_directory_view_real_merge_menus):
removed the "reset background" menu item.
* src/nautilus-sidebar.c: (map_local_data_file),
(nautilus_sidebar_read_theme), (nautilus_sidebar_update_info):
cleaned up dealing with local filenames
* icons/vector/vector.xml:
changed the main background of the vector theme
2000-06-28 Andy Hertzfeld <andy@eazel.com>
* components/music/mp3head.c,h: (get_bitrate), (get_mpgver),
(get_stereo):
integrated Erik Gustavsson's patches to make the slider
work correctly at arbitrary bit-rates
* components/music/nautilus-music-view.c:
(nautilus_music_view_initialize), (strip_trailing_blanks),
(fetch_song_info), (play_status_display), (play_current_file),
(slider_moved_callback), (slider_release_callback),
(nautilus_music_view_update_from_uri):
more of Erik's patchs, plus made the music view use
nautilus_directory_background to save code and to use the same
background as the other views.
* libnautilus-extensions/nautilus-directory-background.c:
(background_destroyed_callback), (dummy_callback),
(nautilus_connect_background_to_directory_metadata),
(nautilus_connect_background_to_directory_metadata_by_uri):
arranged for users of nautilus-directory-background to receive
metadata, by call nautilus_directory_file_monitor_add and remove
* src/file-manager/fm-list-view.c:
removed an unused define for DEFAULT_BACKGROUND_COLOR
2000-06-28 Rebecca Schulman <rebecka@eazel.com>
* libnautilus-extensions/nautilus-search-uri.c:
(nautilus_simple_search_criteria_to_search_uri):
(add facility to make search uri's from simple
search queries )
* src/nautilus-complex-search-bar.c:
(nautilus_complex_search_bar_initialize_class),
(nautilus_complex_search_bar_initialize), (more_options_callback),
(add_file_type_search_criterion_callback),
(add_file_name_search_criterion_callback),
(add_file_location_search_criterion_callback),
(add_content_search_criterion_callback),
(add_size_search_criterion_callback),
(add_date_modified_search_criterion_callback),
(add_notes_search_criterion_callback),
(nautilus_complex_search_bar_get_location):
added ability to add more criterion (still incomplete)
* src/nautilus-complex-search-bar.h:
* src/nautilus-search-bar-criterion.c:
(nautilus_search_bar_criterion_file_type_new),
(nautilus_search_bar_criterion_file_name_new),
(nautilus_search_bar_criterion_location_new),
(nautilus_search_bar_criterion_content_new),
(nautilus_search_bar_criterion_size_new),
(nautilus_search_bar_criterion_add_to_search_bar),
(nautilus_search_bar_criterion_show):
added code to actually create various search
button criterion sets.
* src/nautilus-search-bar-criterion.h:
* src/nautilus-simple-search-bar.c:
(nautilus_simple_search_bar_initialize_class),
(nautilus_simple_search_bar_get_location),
(editable_activated_callback):
* src/nautilus-simple-search-bar.h:
Updated so that the search location
is done correctly. Adjustments to
the nautilus-directory should
be all that is needed to make all of
this stuff work.
* src/nautilus-switchable-search-bar.c:
(nautilus_switchable_search_bar_initialize),
(nautilus_switchable_search_bar_get_location),
(nautilus_switchable_search_bar_set_search_controls):
Some widget changes, and search get_location
calls respective simple or complex search bar
get_location functions
2000-06-28 Michael Engber <engber@eazel.com>
* libnautilus/nautilus-zoomable.c:
(nautilus_g_list_from_ZoomLevelList),
(nautilus_ZoomLevelListBuffer_from_zoom_levels),
(impl_Nautilus_Zoomable__get_preferred_zoom_level_list),
(nautilus_zoomable_initialize_class), (nautilus_zoomable_set_arg),
(nautilus_zoomable_get_arg),
(nautilus_zoomable_new_from_bonobo_control):
* src/nautilus-view-frame.c:
(nautilus_view_frame_get_preferred_zoom_levels):
* src/nautilus-zoom-control.c:
(nautilus_zoom_control_class_initialize),
(nautilus_zoom_control_destroy),
(nautilus_zoom_control_initialize), (create_zoom_menu_item):
Fixed 1497 - problems with freeing the CORBA returned preferred
zoom level lists. Finally done with 1425 - decoupling the zoom
control from insider knowledge of the icon/list views.
2000-06-28 Darin Adler <darin@eazel.com>
* components/music/nautilus-music-view.c:
(nautilus_music_view_drag_data_received):
* libnautilus-extensions/nautilus-icon-dnd.c:
(receive_dropped_tile_image):
* src/nautilus-sidebar.c: (receive_dropped_uri_list):
Changed to use new call that's for receiving dropped images.
* src/nautilus-sidebar.c: (background_settings_changed_callback),
(background_appearance_changed_callback),
(background_reset_callback), (nautilus_sidebar_update_info):
Changed signal handlers to use the normal form instead of
connect_object. Changed the reset callback to stop the reset
signal from going any further now that there's a default handler
for reset.
* libnautilus-extensions/nautilus-directory-background.c:
(background_reset_callback): Add a call to stop the reset signal
from going any further now that there's a default handler for
reset.
* libnautilus-extensions/nautilus-background.h:
* libnautilus-extensions/nautilus-background.c:
(nautilus_background_initialize_class),
(nautilus_background_receive_dropped_background_image),
(nautilus_background_set_tile_image_uri),
(nautilus_background_reset), (nautilus_background_real_reset):
Made nautilus_background_reset set the color and image to NULL by
default instead of doing nothing. Also added a new call to receive
a dropped background image and only pay attention to the special
"reset" image name there instead of hacking it into
_set_tile_image_uri itself.
* libnautilus-extensions/nautilus-stock-dialogs.h:
* libnautilus-extensions/nautilus-stock-dialogs.c:
(find_message_label), (find_message_label_callback),
(show_message_box), (show_ok_box), (nautilus_info_dialog),
(nautilus_warning_dialog), (nautilus_error_dialog),
(clicked_callback), (nautilus_error_dialog_with_details),
(nautilus_yes_no_dialog): Change the API for stock dialogs
to be a little simpler, getting rid of the separate parented
variant. Also added a new dialog for errors that have a second
more detailed error message.
* libnautilus-extensions/nautilus-program-chooser.c:
(nautilus_program_chooser_show_no_choices_message):
* libnautilus-extensions/nautilus-program-choosing.c:
(nautilus_launch_application_parented):
* src/file-manager/fm-error-reporting.c:
(fm_report_error_renaming_file), (fm_report_error_setting_group),
(fm_report_error_setting_owner),
(fm_report_error_setting_permissions):
* src/nautilus-property-browser.c: (emblem_image_file_changed),
(add_background_to_browser):
* src/nautilus-window-manage-views.c:
(handle_unreadable_location),
(nautilus_window_end_location_change_callback),
(report_content_view_failure_to_user),
(report_sidebar_panel_failure_to_user):
* src/nautilus-window-menus.c: (show_bogus_bookmark_window):
Change to use new API for stock dialogs.
* src/nautilus-application.c: (create_factory),
(nautilus_application_initialize),
(nautilus_application_check_user_directories),
(nautilus_application_startup):
Moved OAF registration to application_startup and added some
error handling for the case where we have two copies of Nautilus.
* libnautilus-extensions/nautilus-file.h: Move get_mapped_uri
out of the "good part" of the header and add a FIXME.
* components/services/install/lib/.cvsignore:
Ignore some new generated files. Maybe some day I can get Eskil to
make these himself as he adds new things.
2000-06-28 John Sullivan <sullivan@eazel.com>
* libnautilus-extensions/nautilus-file.c:
(get_user_and_real_name_from_id):
* src/file-manager/fm-properties-window.c:
(create_owner_menu_item):
Changed format of reporting username/real name
to match Arlo's design.
2000-06-28 John Sullivan <sullivan@eazel.com>
* src/file-manager/fm-properties-window.c: (create_basic_page),
(add_special_execution_flags), (create_permissions_page):
Changed some layout and wording to match Arlo's design. More
layout changes to come later.
* src/nautilus-window-manage-views.c:
(report_sidebar_panel_failure_to_user),
(nautilus_window_update_state): Added this function as
placeholder for potentially useful error message.
2000-06-28 John Sullivan <sullivan@eazel.com>
* src/nautilus-window-manage-views.c:
(report_content_view_failure_to_user),
(nautilus_window_update_state): Put up a dialog box
when the content view fails. The dialog box tells the
user they can switch to another view or go to another
location.
2000-06-28 Andy Hertzfeld <andy@eazel.com>
* icons/eazel/i-regular-12.png:
* icons/eazel/i-regular-24.png:
* icons/eazel/i-regular-36.png:
* icons/eazel/i-regular.png:
* icons/eazel/i-regular-72.png:
* icons/eazel/i-regular-96.png:
new document icons from Susan
2000-06-28 John Sullivan <sullivan@eazel.com>
Made the view-failure-handling code only execute
when a view fails, instead of also executing during
a normal quit. This is a starting point for putting
some UI at the failure.
* src/nautilus-window.c:
(nautilus_window_disconnect_view): New function to disconnect
the signal handlers on a view that were established in
nautilus_window_connect_view.
(view_disconnect): foreach-style wrapper for _disconnect_view.
(nautilus_window_destroy): Call _disconnect_view on each
sidebar panel, and on the content view.
(nautilus_window_connect_view): Added comment and updated
for a name change.
(nautilus_window_connect_content_view): Removed this wrapper
for _connect_view, which no longer did anything other than
call through.
* src/nautilus-window-manage-views.c:
(nautilus_window_view_failed): Renamed from
"nautilus_window_view_destroyed" since it's (now) only
called in the case of a failure.
(nautilus_window_has_really_changed): Call _disconnect_view.
(nautilus_window_load_content_view): Replaced
_connect_content_view with _connect_view.
* src/nautilus-window-private.h: updated prototypes to match
previously-mentioned changes.
2000-06-28 John Sullivan <sullivan@eazel.com>
* src/nautilus-sidebar-title.c: (nautilus_sidebar_title_set_uri),
* src/nautilus-sidebar.c: (nautilus_sidebar_update_info): Added
a couple of NULL uri checks to get us cleanly past the case where
the URI is temporarily null at startup time when the theme is set.
2000-06-28 Maciej Stachowiak <mjs@eazel.com>
* libnautilus-extensions/nautilus-mime-actions.c:
(nautilus_mime_get_default_component_for_uri_internal): Fixed FIXME
number.
2000-06-28 Andy Hertzfeld <andy@eazel.com>
* libnautilus-extensions/Makefile.am:
added nautilus-theme.c and nautilus-theme.h
* libnautilus-extensions/nautilus-theme.c,h:
(nautilus_theme_get_theme), (nautilus_theme_set_theme),
(load_theme_document), (nautilus_theme_get_theme_data):
added theme framework that allows clients to access theme information
without knowing the underlying implementation
* src/nautilus-sidebar.c: (nautilus_sidebar_read_theme):
made the sidebar use the new theme framework
* icons/default.xml:
* icons/eazel/eazel.xml:
* icons/vector/vector.xml:
changed the icon container keyword for new framework
2000-06-27 Eskil Heyn Olsen <eskil@eazel.com>
* src/nautilus-view-frame.c:
(nautilus_view_frame_get_preferred_zoom_levels):
Commented out a CORBA_free that causes sigsegv (noted by
Carbamide). Filed a bug report (1497) on it.
2000-06-27 Eskil Heyn Olsen <eskil@eazel.com>
* components/services/install/lib/eazel-install-public.h:
Eeek, evil.h is no longer there.
2000-06-27 Eskil Heyn Olsen <eskil@eazel.com>
* components/rpmview/nautilus-rpm-view-install.c:
(nautilus_rpm_view_install_done),
(nautilus_rpm_view_install_package_callback),
(nautilus_rpm_view_uninstall_package_callback):
* components/rpmview/nautilus-rpm-view-install.h:
* components/rpmview/nautilus-rpm-view.c:
(nautilus_rpm_view_initialize),
(nautilus_rpm_view_update_from_uri):
* components/rpmview/nautilus-rpm-view.h:
Hooked up the uninstall button, and made the install's done
callback signal update the view.
* components/services/install/lib/eazel-install-corba-callback.c:
(eazel_install_callback_uninstall_packages):
* components/services/install/lib/eazel-install-corba-callback.h:
* components/services/install/lib/eazel-install-corba-types.c:
(categorydata_list_from_corba_categorystructlist):
* components/services/install/lib/eazel-install-corba-types.h:
* components/services/install/lib/eazel-install-corba.c:
(impl_Eazel_Install_install_packages),
(impl_Eazel_Install_uninstall_packages):
* components/services/install/lib/eazel-install-object.c:
(eazel_install_uninstall_packages):
* components/services/install/lib/eazel-install-public.h:
* components/services/install/lib/eazel-install-rpm-glue.c:
(uninstall_packages), (uninstall_a_package):
* components/services/install/lib/eazel-install-rpm-glue.h:
Made the uninstall work, still missing all the dep stuff
(bugzilla.eazel.com 1478)
* components/services/install/lib/Makefile.am:
* components/services/install/lib/makefile.staticlib.in:
I decided the other makefile.am I had made was too evil, so now I
just have a standard makefile to generate the static lib for the
nautilus bootstrapper.
* configure.in:
Generate the components/services/install/lib/makefile.staticlib
* nautilus-installer/src/HACKING:
* nautilus-installer/src/Makefile:
* nautilus-installer/src/Makefile.am:
* nautilus-installer/src/installer.c: (installer):
* nautilus-installer/src/interface.c: (create_window):
* nautilus-installer/src/link.sh:
* nautilus-installer/src/main.c: (main):
Preparing for Bud's request about being able to install a "stable"
nautilus and a set of rpm's from HEAD.
Also made link.sh recompile libeazelinstall_minimal using the
makefile.staticlib.
2000-06-27 Robin * Slomkowski <rslomkow@eazel.com>
* nautilus-clean.sh: nautilus-tree=voew changed to
nautilus-tree-view
2000-06-27 Andy Hertzfeld <andy@eazel.com>
* libnautilus-extensions/nautilus-file-utilities.c,h:
(nautilus_is_remote_uri):
added a utility routine to determine if a string represents
a remote uri.
* libnautilus-extensions/nautilus-link.c:
(nautilus_link_get_image_uri):
made it use nautilus_is_remote_uri
* src/nautilus-sidebar.c: (uri_is_local_image),
(add_command_buttons):
fixed bug 1494, can't set up custom icon to directories with
blanks in their name, by escaping and unescaping when we translate
between paths and uris. Also, fixed bug 607 by using is_remote_uri.
2000-06-27 Michael Engber <engber@eazel.com>
* libnautilus/nautilus-view-component.idl:
* libnautilus/nautilus-zoomable.c:
(nautilus_g_list_from_ZoomLevelList),
(nautilus_ZoomLevelList_from_zoom_levels),
(impl_Nautilus_Zoomable__get_is_continuous),
(impl_Nautilus_Zoomable__get_preferred_zoom_level_list),
(nautilus_zoomable_initialize_class), (nautilus_zoomable_set_arg),
(nautilus_zoomable_get_arg), (nautilus_zoomable_new),
(nautilus_zoomable_new_from_bonobo_control),
(nautilus_zoomable_destroy):
* libnautilus/nautilus-zoomable.h:
* src/file-manager/fm-directory-view.c:
(fm_directory_view_initialize):
* src/nautilus-view-frame.c:
(nautilus_view_frame_get_max_zoom_level),
(nautilus_view_frame_get_preferred_zoom_levels):
* src/nautilus-view-frame.h:
* src/nautilus-window.c:
(nautilus_window_zoom_level_changed_callback):
* src/nautilus-zoom-control.c: (nautilus_zoom_control_initialize),
(create_zoom_menu_item), (create_zoom_menu),
(nautilus_zoom_control_set_max_zoom_level),
(nautilus_zoom_control_set_preferred_zoom_levels):
* src/nautilus-zoom-control.h:
Added get_preferred_zoom_levels. Fixed zoom-control to
use this info to generate it's right click menu.
2000-06-27 Andy Hertzfeld <andy@eazel.com>
* libnautilus-extensions/nautilus-icon-factory.c:
(make_thumbnail_path), (nautilus_icon_factory_make_thumbnails):
fixed bug 1491, can't make thumbnails if enclosing directory has
a blank, by escaping and unescaping properly when we translate
between paths and uris.
2000-06-27 Andy Hertzfeld <andy@eazel.com>
* libnautilus-extensions/nautilus-directory-background.c:
(background_reset_callback),
(nautilus_connect_background_to_directory_metadata):
made the background reset command work in directory views again,
by attaching to the background reset signal. It's still not
respecting the theme, but will soon.
2000-06-27 Andy Hertzfeld <andy@eazel.com>
made the sidebar draw the background determined by the current
theme when reset.
* libnautilus-extensions/nautilus-background.c,h:
(nautilus_background_initialize_class),
(nautilus_background_set_tile_image_uri),
(nautilus_background_reset):
added a "reset" signal to nautilus_background, which fires when
the background is reset.
* libnautilus-extensions/nautilus-background.h:
* src/nautilus-sidebar.c: (nautilus_sidebar_background_is_default),
(nautilus_sidebar_create_context_menu),
(nautilus_sidebar_appearance_changed),
(nautilus_sidebar_background_reset),
(nautilus_sidebar_update_info):
attach to the background reset signal and handle it properly
2000-06-27 Michael Engber <engber@eazel.com>
* libnautilus/nautilus-view-component.idl:
* libnautilus/nautilus-zoomable.c:
(impl_Nautilus_Zoomable__get_is_continuous),
(nautilus_zoomable_initialize_class), (nautilus_zoomable_get_arg),
(nautilus_zoomable_ensure_zoomable_frame):
* src/file-manager/fm-directory-view.c:
(fm_directory_view_initialize), (zoomable_zoom_to_fit_callback),
(fm_directory_view_set_zoom_level):
* src/file-manager/fm-directory-view.h:
* src/file-manager/fm-icon-view.c: (fm_icon_view_begin_loading),
(fm_icon_view_set_zoom_level), (fm_icon_view_bump_zoom_level),
(fm_icon_view_zoom_to_level),
(fm_icon_view_restore_default_zoom_level):
* src/file-manager/fm-list-view.c: (fm_list_view_bump_zoom_level),
(fm_list_view_zoom_to_level),
(fm_list_view_restore_default_zoom_level),
(fm_list_view_begin_loading), (fm_list_view_set_zoom_level):
* src/nautilus-view-frame.c:
(nautilus_view_frame_initialize_class),
(nautilus_view_frame_zoom_level_changed):
* src/nautilus-view-frame.h:
* src/nautilus-window.c: (zoom_to_fit_callback),
(nautilus_window_constructed),
(nautilus_window_zoom_level_changed_callback),
(nautilus_window_connect_view):
* src/nautilus-zoom-control.c:
(nautilus_zoom_control_class_initialize),
(nautilus_zoom_control_initialize),
(nautilus_zoom_control_button_press_event):
* src/nautilus-zoom-control.h:
* src/nautilus-zoomable-frame-corba.c:
(impl_Nautilus_ZoomableFrame_report_zoom_level_changed):
Removed zoom_to_default and zoom_parameters_changed.
The nautilus-window now queries the zoomable for max
and min before showing the zoom control.
2000-06-27 J Shane Culpepper <pepper@eazel.com>
* components/rpmview/Makefile.am:
Added components/services/trilobite to the includes in order for a
clean build to find some header files.
2000-06-27 John Sullivan <sullivan@eazel.com>
Finished task 461 (bookmarks to "Bad URI" should have
an icon). I picked arbitrary existing icons (gnome foot
for "generic bookmark", gnome-foot-question-mark for
"bookmark with known-bad URI"); Arlo and/or Susan will
have to come up with real ones. I'll write a separate
bug report about that.
* icons/i-bookmark.png:
* icons/i-bookmark-20.png:
* icons/i-bookmark-missing.png:
* icons/i-bookmark-missing-20.png: New icons to use
for bookmarks. I supplied the base size and the 20
pixel size because that's the one used in menus, where
bookmarks usually appear. These need to be replaced with
better images.
* icons/Makefile.am: Add new icons to installed set.
* libnautilus-extensions/nautilus-bookmark.h,
* libnautilus-extensions/nautilus-bookmark.c:
(nautilus_bookmark_uri_known_not_to_exist): New public
function, moved some code from elsewhere to encapsulate this.
(nautilus_bookmark_set_icon_to_default): Choose between the
generic and bad-URI icon if there's no better icon.
* src/nautilus-window-menus.c: (activate_bookmark_in_menu_item):
Now calls nautilus_bookmark_uri_known_not_to_exist instead
of doing the work here.
2000-06-27 J Shane Culpepper <pepper@eazel.com>
* components/services/startup/nautilus-view/Makefile.am:
Fixing gnome-vfs header bustage.
2000-06-26 Eskil Heyn Olsen <eskil@eazel.com>
* components/services/install/lib/Makefile.am:
automake, beautifull and yet so nasty. Orbit-idl fix again.
2000-06-26 Eskil Heyn Olsen <eskil@eazel.com>
* helper-utilities/authenticate/Makefile.am:
Seems that libnautilus-extensions dep on libnautilus that dep on
bonobo, thus this needed BONOBO_LIBS as well.
2000-06-26 Eskil Heyn Olsen <eskil@eazel.com>
* components/services/time/service/Makefile.am:
* components/services/install/command-line/Makefile.am:
* components/services/install/server/Makefile.am:
* components/services/trilobite/sample/service/Makefile.am:
And suddenly the bonobo libs went *poof*
2000-06-26 Eskil Heyn Olsen <eskil@eazel.com>
* components/services/install/lib/libeazelinstall.h:
Missed a file.
2000-06-26 Eskil Heyn Olsen <eskil@eazel.com>
* components/Makefile.am:
Rearranged so libeazelinstall is built before rpmview
* components/help/Makefile.am:
Added a missing .h file so make dist works
* components/rpmview/Makefile.am:
* components/rpmview/nautilus-rpm-view-install.c:
(nautilus_rpm_view_download_progress_signal),
(nautilus_rpm_view_install_progress_signal),
(nautilus_rpm_view_download_failed),
(nautilus_rpm_view_install_failed_helper),
(nautilus_rpm_view_install_failed),
(nautilus_rpm_view_dependency_check),
(nautilus_rpm_view_install_done),
(nautilus_rpm_view_install_package_callback):
* components/rpmview/nautilus-rpm-view-install.h:
* components/rpmview/nautilus-rpm-view.c:
(nautilus_rpm_view_initialize):
Added a callback and some skeleton code to the install
button. So it now does rpm installs.
* components/services/install/lib/Makefile.am:
* components/services/install/command-line/Makefile.am:
Changed the libnames.
*
components/services/install/command-line/eazel-alt-install-corba.c:
(done), (main):
* components/services/install/lib/eazel-install-corba-callback.c:
(eazel_install_callback_destroy),
(eazel_install_callback_initialize), (eazel_install_callback_new),
(eazel_install_callback_corba_objref),
(eazel_install_callback_install_packages),
(eazel_install_callback_query):
* components/services/install/lib/eazel-install-corba-callback.h:
* components/services/install/lib/eazel-install-corba-types.h:
* components/services/install/lib/eazel-install-protocols.c:
(get_search_url_for_package):
* components/services/install/server/Makefile.am:
* components/services/install/server/main.c:
Changed the object destroction scheme, so eazel_install_callback
now unrefs and destroys the bonobo object.
* components/services/trilobite/sample/lib/Makefile.am:
Fixed to pass make dist
* nautilus-installer/src/Makefile:
* nautilus-installer/src/Makefile.am:
Patching so it works with the new installer libs (and still some
stroking because of the static stuff)
* nautilus.spec.in:
* po/POTFILES.in:
* test/Makefile.am:
Slice and dice so make dist and rpm -ta works again.
2000-06-26 Andy Hertzfeld <andy@eazel.com>
* src/nautilus-sidebar.c: (nautilus_sidebar_update_info):
fixed sidebar background theming by adding a gtk_signal_block_by_func
call (and the corresponding unblock) when we set up the background
in update_info, so the new background data isn't written out to the
metafile, since no explicit change was made.
2000-06-26 Michael Engber <engber@eazel.com>
* libnautilus-extensions/nautilus-gtk-extensions.c:
(nautilus_gtk_marshal_NONE__DOUBLE_DOUBLE_DOUBLE):
* libnautilus-extensions/nautilus-gtk-extensions.h:
* libnautilus/nautilus-view-component.idl:
* libnautilus/nautilus-zoomable.c:
(nautilus_zoomable_set_parameters),
(nautilus_zoomable_set_zoom_level):
* libnautilus/nautilus-zoomable.h:
* src/file-manager/fm-directory-view.c:
(fm_directory_view_set_zoom_level),
(fm_directory_view_set_zoom_parameters):
* src/file-manager/fm-directory-view.h:
* src/file-manager/fm-icon-view.c: (fm_icon_view_begin_loading),
(fm_icon_view_set_zoom_level), (fm_icon_view_init_zoom_params),
(fm_icon_view_bump_zoom_level), (fm_icon_view_zoom_to_level),
(fm_icon_view_restore_default_zoom_level):
* src/file-manager/fm-list-view.c: (fm_list_view_bump_zoom_level),
(fm_list_view_zoom_to_level),
(fm_list_view_restore_default_zoom_level),
(fm_list_view_begin_loading), (fm_list_view_set_zoom_level),
(fm_list_view_init_zoom_params):
* src/nautilus-view-frame-private.h:
* src/nautilus-view-frame.c:
(nautilus_view_frame_initialize_class),
(nautilus_view_frame_zoom_parameters_changed):
* src/nautilus-view-frame.h:
* src/nautilus-window.c:
(nautilus_window_zoom_level_changed_callback),
(nautilus_window_zoom_parameters_changed_callback),
(nautilus_window_connect_view):
* src/nautilus-zoom-control.c: (nautilus_zoom_control_initialize),
(draw_number_and_disable_arrows), (zoom_menu_callback),
(create_zoom_menu_item),
(nautilus_zoom_control_button_press_event),
(nautilus_zoom_control_set_zoom_level),
(nautilus_zoom_control_set_min_zoom_level),
(nautilus_zoom_control_set_max_zoom_level),
(nautilus_zoom_control_get_zoom_level),
(nautilus_zoom_control_get_min_zoom_level),
(nautilus_zoom_control_get_max_zoom_level):
* src/nautilus-zoom-control.h:
* src/nautilus-zoomable-frame-corba.c:
(impl_Nautilus_ZoomableFrame_report_zoom_level_changed),
(impl_Nautilus_ZoomableFrame_report_zoom_parameters_changed):
Added report_zoom_parameters_changed to the zoomable
interface. This allows the zoom control to get min/max
from the zoomable (as opposed to hard coding in values)
Also fixed the zoom control to now use just doubles.
Renamed the zoom_level_changed message to be report_zoom_level_changed
in accordance with convention.
2000-06-26 John Sullivan <sullivan@eazel.com>
Finished task 876 (owner and group should be changeable
in Properties window). The only part I didn't get done was
using asynch gnome-vfs calls. I made that part of bug 845.
* libnautilus-extensions/nautilus-string.h,
* libnautilus-extensions/nautilus-string.c:
(nautilus_strcasecmp): New NULL-handling form of
strcasecmp.
* libnautilus-extensions/nautilus-glib-extensions.h,
* libnautilus-extensions/nautilus-glib-extensions.c:
(nautilus_g_str_list_sort),
(nautilus_g_str_list_sort_case_insensitive): New functions
to sort a list of strings.
(compare_strings), (compare_strings_case_insensitive):
New helper routines used by the new _sort calls.
* src/nautilus-window-manage-views.c:
(nautilus_window_report_selection_change): Use
nautilus_g_str_list_sort.
* libnautilus-extensions/nautilus-file.h,
* libnautilus-extensions/nautilus-file.c:
(user_has_real_name): New helper function, returns TRUE
if a password-file-entry user has a real name distinguishable
from the username.
(get_user_name_from_id), (get_user_and_real_name_from_id),
(get_group_id_from_group_name), (get_ids_from_user_name),
(get_user_id_from_user_name), (get_group_id_from_user_name):
New helper functions for converting between user & group
names & ids.
(get_id_from_digit_string): New helper function for converting
between an integer as text and an integer.
(nautilus_get_user_names): New public function for getting the
list of all user names, with the real name (if distinguishable)
thrown in for good measure.
(nautilus_get_group_names): New public function for getting the
list of all group names.
(nautilus_file_can_get_owner), (nautilus_file_get_owner_name),
(nautilus_file_can_set_owner), (nautilus_file_set_owner),
(nautilus_file_can_get_group), (nautilus_file_get_group_name),
(nautilus_file_can_set_group), (nautilus_file_set_group):
New public functions for reading and setting the group and owner.
The setters define an asynch API though currently they're
using non-asynch calls internally.
(nautilus_file_get_settable_group_names): New public function
returning a list of all group names that the current user can
set this file's group to.
(group_includes_user), (nautilus_get_group_names_including):
New helper functions used by _get_settable_group_names.
(nautilus_file_get_owner_as_string): Now optionally includes
real name in result.
(nautilus_file_get_string_attribute): Changed to call
_get_owner_as_string with the real name included.
* src/file-manager/fm-error-reporting.h:
* src/file-manager/fm-error-reporting.c:
(fm_report_error_setting_group), (fm_report_error_setting_owner):
Error messages for when our predictions fail for whether a
group or owner-setting operation will succeed.
* src/file-manager/fm-properties-window.c:
(file_name_pair_new), (file_name_pair_free): New helper functions
for passing around a file and string together (used in callbacks).
(group_change_callback), (activate_group_callback),
(create_group_menu_item), (synch_groups_menu),
(attach_group_menu), (owner_change_callback),
(activate_owner_callback), (create_owner_menu_item),
(synch_user_menu), (attach_owner_menu): New functions for setting
up widgets for display and control of owner and group.
(add_special_execution_flags): Use attach_title_field instead of
add_permissions_row_label.
(permissions_label_update), (add_permissions_row_label): Removed
these no-longer-needed functions.
(add_permissions_column_label): Change row number constants to
match new layout.
(create_permissions_page): Use static text for owner & group if
non-editable, option menu if editable.
(get_property_names): Now calls nautilus_g_str_list_sort.
2000-06-26 Darin Adler <darin@eazel.com>
* components/hardware/nautilus-hardware-view.c:
(nautilus_hardware_view_destroy):
* components/loser/content/nautilus-content-loser.c:
(nautilus_content_loser_destroy):
* components/loser/sidebar/nautilus-sidebar-loser.c:
(nautilus_sidebar_loser_destroy):
* components/mozilla/nautilus-mozilla-content-view.c:
(nautilus_mozilla_content_view_destroy):
* components/music/nautilus-music-view.c:
(nautilus_music_view_destroy):
* components/rpmview/nautilus-rpm-view.c:
(nautilus_rpm_view_destroy):
* components/sample/nautilus-sample-content-view.c:
(nautilus_sample_content_view_destroy):
* components/services/time/nautilus-view/trilobite-eazel-time-view.c:
(trilobite_eazel_time_view_destroy):
* components/tree/nautilus-tree-view.c:
(nautilus_tree_view_destroy):
Removed a bunch of incorrect calls to bonobo_object_unref.
An error in the sample can be an insidious thing.
* components/tree/main.c: (tree_object_destroyed),
(tree_make_object), (main): Removed some stray debugging stuff.
* libnautilus-extensions/Makefile.am: Got rid of the grid
* libnautilus-extensions/nautilus-icon-private.h: Got rid of the
grid.
* libnautilus-extensions/nautilus-icon-container.c:
(keyboard_icon_reveal_timeout_callback): Took out unneeded use of
thread locking macros. Maybe someday I'll regret this, but we can
add them back then.
(get_all_icon_bounds): Added shared function.
(update_scroll_region): Renamed set_scroll_region and made it use
the shared function. Also got rid of grid code.
(resort): Got rid of grid code.
(lay_down_icons): Got rid of grid code.
(relayout): Made it lay down new icons before doing any layout
work. Also made sure it doesn't do the resort while stretching.
(reload_icon_positions): Got rid of grid code.
(rubberband_select): Got rid of grid code. This was the one place
that it might have made things a little faster but probably not
due to the complexity of what it was doing.
(rubberband_timeout_callback): Took out unneeded use of thread
locking macros. Maybe someday I'll regret this, but we can add
them back then.
(destroy): Got rid of grid code.
(world_width_changed): Got rid of grid code.
(nautilus_icon_container_initialize): Got rid of grid code and
an extra idle cycle that wasn't needed.
(nautilus_icon_container_clear): Got rid of grid code and added
code to update the scroll region on clear.
(icon_destroy): Got rid of grid code.
(assign_icon_position), (finish_adding_icon),
(finish_adding_new_icons), (finish_adding_new_icons_callback),
(nautilus_icon_container_add): Replaced old idle code with
something specific to adding new icons. This does the proper
layout for manual as well as automatic layout cases.
* libnautilus-extensions/nautilus-background.h:
* libnautilus-extensions/nautilus-background.c:
(nautilus_background_initialize_class): Made two signals instead
of one. One for when the background's settings change and another
for when the appearance changes.
(nautilus_background_set_color): Emit both signals.
(load_image_callback): Emit only the appearance change signal.
(nautilus_background_set_tile_image_uri): Emit both signals.
(nautilus_get_widget_background): Connect to the
appearance_changed signal.
* libnautilus-extensions/nautilus-directory-background.c:
(nautilus_connect_background_to_directory_metadata):
Connect to the settings_changed signal.
* src/file-manager/fm-directory-view.c:
(fm_directory_view_real_merge_menus): Connect to the
settings_changed signal.
* src/nautilus-sidebar.c: (nautilus_sidebar_update_info): Connect
to the appearance_changed signal.
* components/music/nautilus-music-view.c:
(nautilus_music_view_set_up_background): Connect to the
settings_changed signal.
* HACKING: Gratuitious reformatting.
* RENAMING: Added notes about how we do renaming, at the request
of one of the hackers.
* nautilus-clean.sh: Added nautilus-tree-view to the things that
are killed, and made gratuitous changes to the script.
Mon Jun 26 15:50:57 2000 George Lebl <jirka@5z.com>
* components/hardware/Makefile.am, components/help/Makefile.am,
components/history/Makefile.am, components/html/Makefile.am,
components/music/Makefile.am, components/notes/Makefile.am,
components/rpmview/Makefile.am, src/file-manager/Makefile.am:
Add $(VFS_CFLAGS) to the includes as it is necessary for
gnome-vfs
2000-06-26 Andy Hertzfeld <andy@eazel.com>
* icons/eazel/Makefile.am:
* icons/eazel/i-regular-12.png
* icons/eazel/i-regular-24.png
* icons/eazel/i-regular-36.png
* icons/eazel/i-regular.png
* icons/eazel/i-regular-72.png
* icons/eazel/i-regular-96.png
* icons/vector/i-directory-accept.svg:
* icons/vector/i-directory.svg:
newer icons from Susan
2000-06-26 Andy Hertzfeld <andy@eazel.com>
* components/music/Makefile.am:
* components/music/mp3head.c,h: (extractI4), (is_mphead), (is_xhead),
(get_bitrate), (get_samprate), (get_mpgver):
* components/music/mp3head.h:
integrated Erik Gustavsson's patch to support variable bit rate
file properly in the music view.
* components/music/nautilus-music-view.c: (is_mp3_file),
(strip_trailing_blanks), (read_id_tag), (extract_number),
(fetch_song_info):
fixed bug 1281, music view should use mime types instead of
extensions, by using the mime type in is_mp3_file. Also, cleaned
up Erik's patch for removing trailing blanks and integrated it.
2000-06-26 Kjartan Maraas <kmaraas@gnome.org>
* HACKING: Move bonobo after gnome-vfs since it now
depends on it for bonobo-storage-vfs.c to build.
2000-06-26 Darin Adler <darin@eazel.com>
* libnautilus-extensions/nautilus-directory-metafile.c:
(set_metadata_eat_value): Fixed use of hash table in here. The
old code would destroy the wrong key. (Thanks to Ian for pointing
that when you insert a value into GHashTable it keeps the old key
instead of overwriting with the new one.)
* libnautilus-extensions/nautilus-gtk-extensions.c:
(nautilus_gtk_signal_connect_free_data):
* src/file-manager/fm-properties-window.c: (attach_value_field),
(create_emblems_page), (add_permissions_row_label):
* src/nautilus-link-set-window.c: (make_link_set_check_box):
* src/nautilus-property-browser.c:
(make_properties_from_directory_path),
(make_properties_from_xml_node), (make_category_link):
* src/nautilus-sidebar.c: (nautilus_sidebar_add_panel_items):
Got rid of unnecessary casts to (GtkDestroyNotify).
2000-06-26 Darin Adler <darin@eazel.com>
* components/services/install/command-line/.cvsignore:
* components/services/install/lib/.cvsignore:
Ignore some additional generated files.
* libnautilus-extensions/nautilus-gnome-extensions.h:
* libnautilus-extensions/nautilus-gnome-extensions.c:
Moved stock dialog functions to nautilus-stock-dialogs.[ch].
(nautilus_gnome_canvas_item_request_update_deep),
(nautilus_gnome_canvas_request_update_all),
(nautilus_gnome_canvas_set_scroll_region),
(nautilus_gnome_canvas_set_scroll_region_left_justify):
Added a bunch of functions that were previously private inside
NautilusIconContainer.
* libnautilus-extensions/nautilus-gtk-extensions.h:
* libnautilus-extensions/nautilus-gtk-extensions.c:
(nautilus_gtk_adjustment_set_value),
(nautilus_gtk_adjustment_clamp_value):
Added functions that treat the value range in a GtkAdjustment the
same way scroll bars do, taking the page size into account.
* libnautilus-extensions/nautilus-horizontal-splitter.h:
* libnautilus-extensions/nautilus-horizontal-splitter.c:
(nautilus_horizontal_splitter_initialize),
(toggle_splitter_position),
(nautilus_horizontal_splitter_button_press),
(nautilus_horizontal_splitter_button_release):
Fixed logic so that splitter will only open or close if you both
click and release within the splitter itself.
* libnautilus-extensions/nautilus-icon-private.h:
* libnautilus-extensions/nautilus-icon-container.c:
(icon_toggle_selected): Move icons to front when they are selected.
(set_scroll_region): Moved workaround that sets scroll region to
be large enough to fill the widget allocation into a function in
nautilus-gnome-extensions.h. In the process, I fixed the problem
where it would do the job wrong when the view was zoomed.
(lay_down_icons), (relayout), (reload_icon_positions):
Started work on sharing code between automatic layout of the entire
container and layout of new icons as the arrive.
(nautilus_icon_container_clear), (nautilus_icon_container_add):
Got started on the mechanism for laying out new icons as they arrive
in bunches instead of one at a time.
* libnautilus-extensions/nautilus-icon-dnd.c:
* libnautilus-extensions/nautilus-program-chooser.c:
* libnautilus-extensions/nautilus-program-choosing.c:
* src/file-manager/dfos-xfer.c:
* src/file-manager/fm-directory-view.c:
* src/file-manager/fm-error-reporting.c:
* src/nautilus-application.c:
* src/nautilus-location-bar.c:
* src/nautilus-property-browser.c:
* src/nautilus-window-manage-views.c:
* src/nautilus-window-menus.c:
Added includes to source files that use the stock dialogs.
* libnautilus-extensions/nautilus-stock-dialogs.h:
* libnautilus-extensions/nautilus-stock-dialogs.c:
(nautilus_timed_wait_stop), (convert_varargs_to_name_array),
(nautilus_simple_dialog), (turn_on_line_wrap_flag),
(turn_on_line_wrap_flag_callback), (show_ok_box),
(show_yes_no_box), (nautilus_info_dialog),
(nautilus_info_dialog_parented), (nautilus_warning_dialog),
(nautilus_warning_dialog_parented), (nautilus_error_dialog),
(nautilus_error_dialog_parented), (nautilus_yes_no_dialog),
(nautilus_yes_no_dialog_parented):
Moved all the stock dialog code in here.
* src/nautilus-sidebar-title.c: (update_icon): Only display the
icon when it's ready, instead of showing generic document icon
before that time.
(update_title), (update_more_info), (update_emblems),
(update_notes): Added FIXMEs about doing the same with other info.
(nautilus_sidebar_title_button_press_event): Added a FIXME to the
half-baked code in here.
2000-06-26 Fatih Demir <kabalak@gmx.net>
* Makefile.am: Added the previous ChangeLogs to
the EXTRA_DIST target.
* configure.in: Cosmetics and a configuration summary at the end
of the ./configure process.
* helper-utilities/authenticate/nautilus-authenticate.h:
Include <stdlib.h> for compiling with -Werror without error.
2000-06-26 Pavel Cisler <pavel@eazel.com>
* acconfig.h:
* configure.in:
Fix build breakage caused recent changes to make GnomeVFS compile
without OAF support. Some GnomeVFS headers now require USING_OAF
to be defined and when included from Nautilus, this define was
missing. Not sure this is the 100% correct way to do this but
this should at least prevent people from being stuck with a broken
build.
2000-06-26 Andy Hertzfeld <andy@eazel.com>
Added XML-based theme mechanism and used it for the sidebar
background, which isn't entirely working yet.
* icons/Makefile.am:
* icons/default.xml:
* icons/eazel/Makefile.am:
* icons/eazel/eazel.xml:
* icons/vector/Makefile.am:
* icons/vector/vector.xml:
New XML-based theme files.
* libnautilus-extensions/nautilus-global-preferences.c,h:
(global_preferences_create_dialog),
(global_preferences_register_for_ui):
Changed "icon_theme" preference to general "theme".
* libnautilus-extensions/nautilus-icon-factory.c:
(nautilus_get_current_icon_factory),
(nautilus_icon_factory_destroy), (icon_theme_changed_callback):
Changed from "icon_theme" to "theme".
* libnautilus-extensions/nautilus-preferences-item.c,h:
(preferences_item_construct), (preferences_item_create_theme):
Changed from "icon_theme" to "theme".
* libnautilus-extensions/nautilus-xml-extensions.c,h:
(nautilus_xml_get_child_by_name):
Added a routine to access child nodes.
* src/nautilus-sidebar.c: (nautilus_sidebar_initialize),
(nautilus_sidebar_destroy), (nautilus_sidebar_read_theme),
(nautilus_sidebar_theme_changed),
(nautilus_sidebar_background_changed),
(nautilus_sidebar_update_info):
Made the sidebar get its default values from an XML-based theme
file, and reload them when the theme changes.
2000-06-25 Andy Hertzfeld <andy@eazel.com>
* libnautilus-extensions/nautilus-link.c:
(free_icon_notification_info), (icon_read_done_callback),
(is_remote_uri), (nautilus_link_get_image_uri):
Linksets now use gnome-vfs to load load icons over http instead of
ghttp, using Darin's new utility routines. Also, made it load
them asynchronously.
* libnautilus-extensions/nautilus-icon-factory.c:
(nautilus_icon_factory_get_pixbuf_for_icon):
Made get_pixbuf_for_icon set the custom boolean when it calls
get_icon_from_cache if necessary.
2000-06-25 Fatih Demir <kabalak@gmx.net>
* ChangeLog: This is the fresh one.
* ChangeLog-20000625: Split up the ChangeLog.
|