aboutsummaryrefslogtreecommitdiffstats
path: root/mail/ChangeLog
blob: b410bf75cd3d808417be27aebcbc223ae8019726 (plain) (blame)
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
2000-08-11  Dan Winship  <danw@helixcode.com>

    * message-list.c (message_list_select): If the caller passes "-1"
    for the model row, translate that to view row 0.

    * message-list.c (idle_select_row): 
    * mail-callbacks.c (select_first_unread): Use new
    message_list_select kludge^H^H^H^H^H^Hfeature

2000-08-11  JP Rosevear  <jpr@helixcode.com>

    * mail-config-gui.c (source_dialog): Allow the window
    to be growable

    * mail-config.c: use void in empty declarations

2000-08-11  Peter Williams  <peterw@helixcode.com>

    * mail-config.c (mail_config_get_news): Change () to (void)
    if a function takes no arguments.
    
    * mail-config.h: Prototype mail_config_get_{sources,news}x

2000-08-11  JP Rosevear  <jpr@helixcode.com>

    * mail-config-gui.c (identity_dialog): iddialog, not sdialog
    (news_edit_clicked): Kill leftover c-p crud

2000-08-11  JP Rosevear  <jpr@helixcode.com>

    * mail-config-gui.c (news_edit_clicked): Check nrow, not srow.

2000-08-11  JP Rosevear  <jpr@helixcode.com>

    * mail-config-gui.c (service_acceptable): Use camel_object_unref
    instead of gtk_object_unref
    (mail_druid_finish): Use new config accessors
    (mail_config_druid): No need to call config functions
    (news_add_clicked): Increments maxnrow, not maxsrow
    (mail_config_apply_clicked): Use new config accessors
    (mail_config): ditto

    * component-factory.c (create_imap_storage): Use new
    config accessors
    (create_news_storage): ditto

    * mail-config.glade: Set news clist name correctly

    * mail-config.c (config_read): Rename from mail_config_read and
    made private - no one should need to do a read manually.
    (mail_config_set_send_html): New accessor
    (mail_config_add_identity): ditto
    (mail_config_get_sources): ditto
    (mail_config_add_source): ditto
    (mail_config_get_default_news): ditto
    (mail_config_get_news): ditto
    (mail_config_add_news): ditto

    * mail-config.h: Prototype new accessors.  Config struct is now
    in mail-config.c and hidden from the world.

2000-08-11  Dan Winship  <danw@helixcode.com>

    * mail-ops.c (describe_fetch_mail): Use camel_service_get_name
    rather than showing the URL to the user.

2000-08-11  Peter Williams  <peterw@helixcode.com>

    * mail-ops.c (do_refile_messages): Freeze the folders while moving.
    (do_flag_messages): Same.
    
    * mail-threads.c (get_password_clicked): Fix the case when the
    user /doesn't/ use escape to cancel the dialog :-/
    (show_error_clicked): Same.

2000-08-11  Dan Winship  <danw@helixcode.com>

    * mail-tools.c (mail_tool_get_folder_name): Add a function to
    return a useful name for a folder (not just "mbox" or "mh" for
    any local folder.)

    * mail-ops.c: Use mail_tool_get_folder_name rather than
    folder->full_name when printing folder names.

2000-08-11  Not Zed  <NotZed@HelixCode.com>

    * mail-tools.c (mail_tool_get_local_inbox_url): Properly handle
    different local file formats.  The folder isn't always mbox.
    (mail_tool_do_movemail): Movemail always uses an mbox format
    however.
    (mail_tool_get_local_movemail_url): What is the mbox url, it is
    always the same type, mbox.
    (mail_tool_fetch_mail_into_searchable): Same here.

    * mail-local.c (mail_local_map_uri): Map a local uri to the real uri.

2000-08-10  Christopher James Lahey  <clahey@helixcode.com>

    * folder-browser-factory.c, message-list.c, message-thread.c,
    session.c: Fixed some warnings.

2000-08-10  Dan Winship  <danw@helixcode.com>

    * session.c (session_init): Don't call e_setup_base_dir. It was
    wrong and it doesn't exist any more.

    * component-factory.c (owner_set_cb): Update for changed
    prototype, and record the evolution_homedir. Move call to
    mail_config_init here from session.c so it happens after
    evolution_dir is initialized.

    * mail.h: define "extern char *evolution_dir;" (formerly in
    e-util/e-setup.h)

    * component-factory.c, mail-callbacks.c, mail-config-gui.c,
    mail-config.c, mail-display.c, mail-format.c, mail-ops.c,
    mail-tools.c, session.c: Remove "e-util/e-setup.h" include.

2000-08-10  Peter Williams  <peterw@helixcode.com>

    * test-thread.c (queue_ops): Use mail_operations_terminate() to
    close the other thread nicely.

    * mail-threads.c (get_password_deleted): Handle the "close" event
    as a cancel.
    (show_error): Same.

2000-08-10  Dan Winship  <danw@helixcode.com>

    * mail-tools.c (mail_tool_get_folder_from_urlname): Add a
    "gboolean create" argument to pass to camel_store_get_folder.

    * mail-ops.c (do_create_folder, do_setup_draftbox): 
    * mail-local.c (mail_tool_local_uri_to_folder): 
    * mail-vfolder.c (vfolder_uri_to_folder): Add create flag to
    mail_tool_get_folder_from_urlname calls.

2000-08-10  Jeffrey Stedfast  <fejj@helixcode.com>

    * mail-callbacks.c (composer_send_cb): Fix compile warning by
    casting the object to a CamelObject

2000-08-10  Peter Williams  <peterw@helixcode.com>

    * mail-tools.c (mail_tool_filter_contents_into): Delete the source
    folder if told to and if it's empty
    (mail_tool_get_local_movemail_path): New function.

2000-08-10  Dan Winship  <danw@helixcode.com>

    * mail-callbacks.c (reply_to_all): Fix a bug in the async changes.
    (This was identical to reply_to_sender.)

2000-08-10  Not Zed  <NotZed@HelixCode.com>

    * mail-local.c (do_local_reconfigure_folder): Update for
    append_message api change.

    * message-list.c (message_list_regenerate): Change for search api
    change.
    (ml_tree_value_at): Add a colour column, based on the colour
    assigned in the summary.
    (message_list_init_renderers): Init colour column.

2000-08-09  Peter Williams  <peterw@helixcode.com>

    * mail-display.c (part_for_url): Remove a gtk_object_get_data

2000-08-09  Cody Russell  <bratsche@gnome.org>

    * folder-browser-factory.c, mail-view.c: Make the toolbars
    honor the user's gnomecc settings for detachable toolbars.

2000-08-09  Jeffrey Stedfast  <fejj@helixcode.com>
  
    * mail-ops.c (composer_send_cb): Get the from address set in the
    composer, if that fails ONLY THEN get the default from mail config

    * mail-config.c (mail_config_get_identities): New convenience
    function for getting a list of the configured identities

2000-08-09  Dan Winship  <danw@helixcode.com>

    * mail-display.c (on_object_requested): Support controls as well
    as embeddables.

2000-08-09  Jeffrey Stedfast  <fejj@helixcode.com>

    * mail-view.c (mail_view_create): Changed to only take a
    FolderBrowser argument

    * mail-ops.c (real_view_msg): Create a new FolderBrowser for each
    message being opened in a new window. Also set the
    message_list->cursor_uid and mail_display->current_message to the
    appropriate values.
    (real_view_msg): Updated to reflect changes in the mail_view_create

    * message-list.c (on_right_click): Nicify a little, add in a menu
    separator between VFolder and Filter stuff.

    * mail-ops.c (real_view_msg): Set the UID of the message that is
    being displayed

2000-08-09  Ettore Perazzoli  <ettore@helixcode.com>

    * folder-browser-factory.c (control_activate): Use
    `GNOME_STOCK_MENU_*' things instead of `GNOME_STOCK_PIXMAP_*'
    things, that are too big and look bad.

2000-08-09  Peter Williams  <peterw@helixcode.com>

    * mail-view.c (mail_view_create): Save the top window so that on_close
    can find it [with set_data].
    (on_close): Recover the top window.
    
    * mail-threads.c (read_msg): Destroy the window instead of hiding it.

2000-08-09  Not Zed  <NotZed@HelixCode.com>

    * mail-autofilter.c (filter_gui_add_from_message): Helper function
    to add with confirm.
    (rule_match_recipients): Dont set real name if its empty for the
    filter name.
    (rule_match_subject): was cutting ] off mailing list names.

    * message-list.c (on_right_click): Added menu to install
    vfolders/filters from message.

2000-08-09  Not Zed  <NotZed@HelixCode.com>

    * mail-autofilter.c: New file to hold auto filter/vfolder stuff.

2000-08-09  Christopher James Lahey  <clahey@helixcode.com>

    * mail-display.c, mail-format.c, mail-ops.c: Fixed some warnings.

    * message-list.c: Fix the call to e_popup_menu_run to match the
    new signature.

2000-08-09  Ettore Perazzoli  <ettore@helixcode.com>

    * folder-browser-factory.c (control_activate): Create a "print
    message" menu item.

2000-08-09  Jeffrey Stedfast  <fejj@helixcode.com>

    * message-list.c (message_list_init): Attached a double_click
    signal handler
    (on_double_click): Our lovely new double_click callback. Will
    display the current selected message in a new window

2000-08-08  Jeremy Wise  <jwise@pathwaynet.com>
    * mail-config.[ch], folder-browser.c: Added configuration work to
    save the size of the vpaned widget.  It will be functional when the
    e_paned widget emits a "resized" signal

2000-08-08  Jeffrey Stedfast  <fejj@helixcode.com>

    * mail-config.h: Added void as an argument to functions not
    needing any parameters to avoid compile warnings.

2000-08-08  Jeremy Wise  <jwise@pathwaynet.com>
    * mail-config.[ch], main.c, folder-browser-factory.c: State of the
    threaded list toggle is now saved via gnome_config

2000-08-08  Dan Winship  <danw@helixcode.com>

    * mail-config-gui.c (service_page_item_new): Attach a signal
    handler to call the "changed" function when the user clicks the
    "keep on server" checkbox.
    
2000-08-08  Jeffrey Stedfast  <fejj@helixcode.com>

    * mail-ops.c (view_msg): New convenience function with params of a
    normal Gtk callback function. We also now create a new
    FolderBrowser object so that the message-view window isn't tied to
    the display in the main window
    (view_message): Now calls view_msg (this function is a bonobo
    callback and can't be used with gtk widgets)
    (edit_msg): Same idea as view_msg()
    (edit_message): Again, same as view_message()

    * message-list.c (on_right_click): Callback for creating an
    e-popup-menu
    (message_list_init): Added a right_click event to trigger a pop-up
    menu to be displayed

2000-08-08  Dan Winship  <danw@helixcode.com>

    * mail-config-gui.c: Add "Don't delete messages from server"
    button to remote SOURCEs that aren't STORAGEs (ie, POP).
    (provider_list): Only list SOURCEs. (ie, not mh)

    * mail-config.c: Save/load "keep_on_server" flag.

    * mail-ops.c (fetch_remote_mail): New function, split out of
    real_fetch_mail. Deals with copying mail from a remote server into
    a temporary mbox, possibly using a CamelUIDCache to leave the
    messages on the server.

    * mail-crypto.c, mail-format.c, message-thread.c: Fix some
    compiler warnings.

    * mail-format.c (mail_generate_reply): Fix up format of addresses.
    (write_headers): Use CamelAddress functions to simplify this.

2000-08-08  Jeffrey Stedfast  <fejj@helixcode.com>

    * mail-view.c: Lets get rid of the last separator in the toolbar
    until we add n/p

2000-08-08  Ettore Perazzoli  <ettore@helixcode.com>

    * mail-threads.c (queue_window_delete_event_cb): Callback for
    "delete_event", just doing nothing.
    (create_queue_window): Connect it to the "delete_event" signal of
    the progress dialog.

2000-08-08  Peter Williams  <peterw@helixcode.com>

    * mail-threads.c (remove_next_pending): Sanity check for
    job queue, which seems to have some issues.
    (read_msg): Make sure that the next operation isn't started
    before the last one is cleaned up.

    * mail-callbacks.c (fetch_mail): Fix erroneous free.

    * mail-config-gui.c (mail_config_druid): Wrap the gtk_main call.

    * mail-ops.c (do_flag_messages): Allow specification of whether
    to set the flags unconditionally or toggle their current state.

    * message-list.c (ml_tree_set_value_at): Toggle the seen status;
    don't set it unconditionally.

    * mail-callbacks.c (delete_msg): Toggle the deletion status;
    don't set it unconditionally.

    * mail-tools.c (mail_tool_do_movemail): Fix for undeclared tmpfd.

    * mail-local.c (local_reconfigure_folder): Big rewrite; make into
    an asynchronous operation. Use some mail tools to make life easy.

2000-08-08  Dan Winship  <danw@helixcode.com>

    * main.c (main): Move mail_config_init after session_init, since
    it depends on evolution_dir being set.

2000-08-08  JP Rosevear  <jpr@helixcode.com>

    * mail-ops.c (check_configured): Use config accessors
    (fetch_mail): ditto
    (composer_send_cb): ditto
    (create_msg_composer): ditto

    * mail-config-gui.h: Update API

    * mail-config.h: Update API

    * mail-config.c: Add accessor functions
    (mail_config_is_configured): accessor function
    (mail_config_get_default_identity): ditto
    (mail_config_get_default_source): ditto
    (mail_config_get_transport): ditto
    (mail_config_send_html): ditto
    (identity_copy): Make public
    (identity_destroy): ditto
    (identity_destroy_each): ditto
    (service_copy): ditto
    (service_destroy): ditto
    (service_destroy_each): ditto
    (mail_config_init): Rename from init_config and make public
    (mail_config_clear): Rename from clear_config and make public
    (mail_config_read): Rename from read_config and make public
    (mail_config_write): Reanme from write_config and make public

    * main.c (main): Call mail_config_init.

    * mail.h: Include mail-config-gui.h

    * mail-config-gui.c: Move config gui stuff here.
    (source_dialog): Kill memory leak from debug leftovers.
    Make sure returned source is NULL by default

2000-08-07  Not Zed  <NotZed@HelixCode.com>

    * mail-local.c (local_reconfigure_folder): Redone to show a
    dialogue first, and show progress of whats happening as its done.

    * Makefile.am (glade_DATA): Added local-config.glade, for mailbox
    reconfig dialogue.

2000-08-04  Not Zed  <NotZed@HelixCode.com>

    * folder-browser.c (mail_uri_to_folder): Use local_uri_to_folder()
    for local uri's (file://).

    * mail-local.c (local_uri_to_folder): Handle looking up folder
    storage type before opening the store/folder.
    (local_reconfigure_folder): Function to reconfigure the format of
    a local mailbox into another storage format.

    * Makefile.am (evolution_mail_SOURCES): Added mail-local.c and
    missing mail-vfolder.h.

2000-08-07  Jeffrey Stedfast  <fejj@helixcode.com>

    * Makefile.am: Added mail-view.c
    
    * folder-browser-factory.c (control_activate): Adda menu item for
    viewing the message

    * mail-view.c: New file containing methods for viewing messages in
    separate windows

    * mail-ops.c (view_message): New callback for viewing messages in
    a new window.

2000-08-07  Jeffrey Stedfast  <fejj@helixcode.com>

    * component-factory.c (real_create_generic_storage): New function
    to replace real_create_imap_storage and real_create_news_storage
    (create_imap_storage): Updated.
    (create_news_storage): Updated.

2000-08-07  Peter Williams  <peterw@helixcode.com>

    * mail-ops.c (cleanup_edit_messages): New operation: edit_messages
    For continuing draft messages.
    (attach_messages): Fix accidental 0 datasize.
    (do_setup_draftbox): New operation: setup_draftbox. Soooo hacky.

    * mail-callbacks.c: Move fejj's edit message to the async home.

    * component-factory.c (owner_set_cb): Use mail_do_setup_draftbox.


2000-08-07  Jeffrey Stedfast  <fejj@helixcode.com>

    * mail-display.c:
    * component-factory.c: s/strncasecmp/g_strncasecmp

    * mail-format.c (write_headers): Get rid of kludge around subject
    beginning with spaces.
    (mail_generate_reply): Get rid of kludge around subject beginning
    with spaces and also use g_strncasecmp instead of strncasecmp for
    portability

    * mail-ops.c (forward_msg): Get rid of kludges around subject
    beginning with spaces.

2000-08-07  Dan Winship  <danw@helixcode.com>

    * message-list.c (message_list_select): Clarify that the input row
    is a model row, and swap it to a view row when finding the
    next/previous row.
    (idle_select_row): Select view row 0, not model row 0.

    * mail-ops.c (select_first_unread): Start from view row 0, not
    model row 0.

2000-08-07  Jeffrey Stedfast  <fejj@helixcode.com>

    * mail-format.c (mail_get_message_body): Renamed from reply_body()
    so other functions can use it
    (mail_generate_reply): Updated to reflect function name changes

    * mail-ops.c (real_edit_msg): Attach a callback to the send signal

2000-08-07  Jeffrey Stedfast  <fejj@helixcode.com>

    * folder-browser-factory.c (control_activate): New menu item under
    Actions to allow editing of messages.

    * mail-ops.c (edit_message): New function for editing messages.

    * component-factory.c (owner_set_cb): Create a global reference to
    the Drafts mbox folder for the Composer to use

2000-08-06  JP Rosevear  <jpr@helixcode.com>

    * mail-config.c (ndialog_page_undone): Desensitize ok button
    (sdialog_page_undone): ditto
    (iddialog_page_undone): ditto
    (news_page_new): Typo - news, not mail
    (transport_page_new): Typo - transport, not source
    (identity_dialog): Set undone callback
    (source_dialog): ditto
    (news_dialog): ditto
    (mail_druid_identity_undone): Desensitize next button and
    mark done flag as false
    (mail_druid_source_undone): ditto
    (mail_druid_transport_undone): ditto
    (mail_druid_identity_done): Mark done flag as true
    (mail_druid_source_done): ditto
    (mail_druid_transport_done): ditto
    (mail_druid_prepare): Use done flag to set next button 
    sensitivity, fixes #467

2000-08-06  Jeffrey Stedfast  <fejj@helixcode.com>

    * mail-crypto.c (mail_crypto_openpgp_encrypt): Added support for
    encrypting with GnuPG.  Support for PGP5 and PGP2 are still in
    progress.

2000-08-05  Dan Winship  <danw@helixcode.com>

    * folder-browser-factory.c (control_activate): Remove bonobo 0.15
    vs 0.15-and-a-half ifdef, since we require post-0.16 now.

2000-08-04  Dan Winship  <danw@helixcode.com>

    * mail-threads.c (mail_operation_wait_for_finish): Don't use
    "while (gtk_events_pending ()) gtk_main_iteration ();" inside
    another tight loop, because it makes the thread spin rather than
    blocking and waiting like it should.

2000-08-04  Peter Williams  <peterw@helixcode.com>

    * message-thread.c (do_thread_messages): Uninitialized variable
    fix.

    * mail-threads.c (read_msg): Small leak fix.

    * component-factory.c (owner_unset_cb): Use mail_operations_
    terminate() instead of wait_for_finish().

    * mail-threads.c (mail_operation_queue): Centralize the clur
    handling functions; fix a race condition where the dispatcher
    would overwrite the closure before the main thread could
    free the old one.
    (mail_operations_terminate): New function, wait for ops to
    finished and kill the other thread.
    (dispatch): changes to die when terminate is called (abort
    on NULL spec).

    * mail-ops.c (cleanup_display_message): Fix improper handling
    of displaying a NULL message (which means clear the message
    display).

2000-08-04  Ettore Perazzoli  <ettore@helixcode.com>

    * message-list.c (message_list_regenerate): Free the GPtrArray
    correctly instead of using `g_strfreev()'.

2000-08-04  Michael Meeks  <michael@helixcode.com>

    * folder-browser-factory.c (control_activate): release the ui_handler
    after set_container.

2000-08-03  Michael Meeks  <michael@helixcode.com>

    * mail-config.c (identity_page_new): only whack the sig in if the
    file exists.

    * component-factory.c (factory_fn): count running instances,
    attach destroy signal (factory_destroy): add. 

    * main.c (main): pass orb around.

2000-08-03  Jeffrey Stedfast  <fejj@helixcode.com>

    * mail-ops.c (composer_send_cb): Yay, no more compiler warnings

    * mail-config.c: set config = NULL
    (provider_list) Eek! Initialize news to NULL!  Also, use
    g_slist_prepend() for "performance" gains ;-)
    (init_config): Set the config member data to NULL just to be on
    the safe side
    (clear_config): Don't bother freeing slist data if the slist is
    NULL

2000-08-03  Peter Williams  <peterw@helixcode.com>

    * mail-ops.c (op_forward_messages): Use the new dynamic
    operation naming.

    * message-thread.c (describe_thread_messages): Ditto.

    * message-list.c (describe_regenerate_messagelist): Ditto.

    * mail-threads.c (get_password_clicked): Dynamic generation
    of descriptive text for mail operations. "Opening a folder" ->
    "Opening INBOX". Supported only so far, will be implemented
    quickly.
    g_strdup() the old_message when changing the queue_window_label's
    text.

    * main.c (main): One more gconf reference to take out...

    * mail-ops.c (composer_send_cb): Check for an identity before
    sending.
    
2000-08-03  JP Rosevear  <jpr@helixcode.com>

    * mail-config.glade: Increase window size slightly, rename
    "Transport" to "Mail Transport"

    * mail-config.c (init_config): Remove gconf references
    (clear_config): ditto
    (read_config): ditto
    (write_config): ditto
    (mail_config): Null provider lists before filling them
    (mail_config_druid): ditto
    (identity_page_new): Increase spacing of vbox
    (service_page_new): ditto

    * Makefile.am: Remove gconf references. 

2000-08-02  Dan Winship  <danw@helixcode.com>

    * mail-config.c (service_page_item_new): Make the "test settings"
    button FILL rather than SHRINK so it doesn't end up oddly-placed.

    * mail-config-druid.glade: Make the icon background dark blue
    like the surrounding area.

2000-08-02  Peter Williams  <peterw@helixcode.com>

    * component-factory.c (owner_unset_cb): Wait for async operations
    to finish before exiting.

2000-08-02  Christopher James Lahey  <clahey@helixcode.com>

    * mail-ops.c, message-list.c: Emit "model_pre_change" where
    appropriate.

2000-08-02  Peter Williams  <peterw@helixcode.com>

    * mail-config.h: #ifdef _MAIL_CONFIG_H protect the header.

2000-08-01  Peter Williams  <peterw@helixcode.com>

    * mail-threads.c: Implement Solaris threads. Attempt
    to join to the thread upon exit -- hopefully prevents
    all those nasty zombie processes from popping up :-(

2000-08-01  Dan Winship  <danw@helixcode.com>

    * mail-crypto.c: New code to spawn off GPG/PGP to do stuff.
    Currently only deals with decryption. From Nathan Thompson-Amato
    <ndt@jps.net>, with bunches of changes from me.

    * session.c (mail_request_dialog): Expose the password dialog to
    the rest of the app (for use by the GPG/PGP code).

    * mail-format.c (handle_text_plain): Handle special inline data
    types. (Currently uuencoding, BinHex, and PGP encryption.) This is
    not the best way to deal with it, but it works for now.
    (try_inline_pgp): Convert an inline PGP-encrypted message into a
    multipart/encrypted part.
    (try_inline_binhex): Convert an inline BinHex attachment into an
    application/mac-binhex40 part (which we currently don't deal
    with...)
    (try_uudecoding): Convert a uuencoded attachment to an
    application/octet-stream part.
    (handle_multipart_encrypted): Deal with RFC2015 MIME-encoded PGP
    encrypted messages. (From ndt.)

    * mail-display.c (mail_text_write, mail_error_write): New utility
    functions.

    * Makefile.am (evolution_mail_SOURCES): add mail-crypto.c

2000-07-31  Christopher James Lahey  <clahey@helixcode.com>

    * component-factory.c, folder-browser.c: Fixed some warnings.

    * message-list.c: Made the icon column non sortable.

2000-07-31  Dan Winship  <danw@helixcode.com>

    * mail-config.c (service_page_set_url): Fix a NULL-pointer strcmp
    noticed by peterw.

2000-07-31  Not Zed  <NotZed@HelixCode.com>

    * mail-vfolder.h: Header for vfolder functions.

    * folder-browser.c (mail_uri_to_folder): Use new scheme to open
    vfolders.
    (search_save): New button/function to save a search as a vfolder.

    * mail-vfolder.c (vfolder_edit): Made asynchronous.
    (vfolder_uri_to_folder): New function for loading vfolders and
    setting up their source folders.
    (vfolder_refresh): Change shell vfolder uri's to indirect
    references rather than the real vfolder uri.
    (vfolder_gui_add_rule): Add a rule with user confirmation.
    (vfolder_create_part): Get a new part by name, for creating rules
    in code.

    * message-thread.c (thread_messages): Check for uid lookup
    failure, which indicates an error in the folder or calling code.

2000-07-29  Not Zed  <NotZed@HelixCode.com>

    * component-factory.c (create_view): Remove hack to pass the
    storage around.

    * folder-browser-factory.c (control_activate): Changed to call
    renamed vfolder editor.

    * mail-ops.c (vfolder_edit_vfolders): renamed from vfolder_edit,
    call new edit function.
    (vfolder_editor_clicked): Removed.
    (filter_druid_clicked):
    (filter_edit): Updated for api change.
    (real_fetch_mail): Fixed up for api change and fucked up indent.
    (filter_get_folder): callback for filter driver.

    * mail-vfolder.c: New file to manage virtual folders.

2000-07-29  JP Rosevear  <jpr@helixcode.com>

    * mail-format.c (mail_generate_reply): Use new mail config stuff

    * component-factory.c (create_imap_storage): Use new mail config
    stuff
    (create_news_storage): ditto

    * evolution-mail.schemas: Gconf schema for evolution mail

    * mail-config-druid.glade: Gladification of config druid

    * mail-config.h: New header with config structs.

    * mail-config.c: Rewrite of GUI configuration tools to use 
    new config structs.  Stores multiple identities and sources now.
    Still only uses the first one found.
    (mail_config_fetch): Returns MailConfig struct to caller
    for configuration queries.
    (mail_config): Renamed function to show mail config dialog.
    (mail_config_druid): Renamed function to show mail config druid.

    * mail-ops.c (create_msg_composer): Use 
    e_msg_composer_new_with_sig_file and new config stuff
    (check_configured): Use new config stuff
    (fetch_mail): ditto
    (composer_send_cb): ditto

2000-07-28  Cody Russell  <bratsche@gnome.org>
        * mail-ops.c, mail.h: Added mark_all_seen(), to mark every
        message in the list with CAMEL_MESSAGE_SEEN.

        * folder-browser-factory.c: Added "Actions/Mark all seen".

2000-07-27  Jeffrey Stedfast  <fejj@helixcode.com>

    * mail-config.c: Lets fix Dan's kludge the Right Way (tm)
    (set_service_url): Only strip off the leading "/" from the 
    url->path if url->host is NULL
    (get_service_url): Only prepend a leading "/" to the path if the
    host is NULL

2000-07-27  Dan Winship  <danw@helixcode.com>

    * mail-config.c (get_service_url): toss in a kludge to deal with
    the IMAP vs mbox path problem for now.

2000-07-26  Christopher James Lahey  <clahey@helixcode.com>

    * message-list.c, message-list.h: Removed counting of selected
    messages.

2000-07-26  Dan Winship  <danw@helixcode.com>

    * mail-ops.c (real_fetch_mail): Don't create the tmp_mbox before
    calling movemail, because the external movemail requires it to not
    exist. Contrariwise, delete it in the cleanup code if it's empty.
    Update for camel_movemail interface change. Do the "No new
    messages" dialog in the mbox case as well as the remote mail
    issue.

2000-07-26  Jeffrey Stedfast  <fejj@helixcode.com>

    * mail-ops.c: s/struct refile_data/struct move_data
    (real_move_msg): Renamed from real_refile_msg()
    (move_msg): Renamed from refile_msg()

    * folder-browser-factory.c: Changed Refile to Move.

2000-07-26  Dan Winship  <danw@helixcode.com>

    * mail-format.c (lookup_handler): Update for OAF and for external
    apps as well as components.
    (handle_via_external): Handler to set up for data that can be
    displayed by an external application.

    * mail-display.c (on_link_clicked, etc): Refactor the save_data()
    code and add launch_external() as a handler for
    x-evolution-external URLs.
    (embeddable_destroy_cb): Remove this, since it seems like it's all
    wrong.
    (on_object_requested): Update for OAF, and fix some bugs.

2000-07-25  Jeffrey Stedfast  <fejj@helixcode.com>

    * mail-config.c (get_service_url): Always prepend a leading "/" to
    the url->path.
    (set_service_url): Added more error checking and also strip the
    leading '/' from the url->path
    (create_identity_page): Set the signature file to the one specified in
    the identity record, else set the default path to ~/.sugnature

2000-07-25  Michael Meeks  <michael@helixcode.com>

    * mail-config.c (create_identity_page): set default signature to
    ~/.signature

2000-07-25  Peter Williams  <peterw@helixcode.com>

    * mail-ops.c (reply): Check for the case of fb->mail_display->
    current_message = NULL, which shouldn't happen, but has happened
    to me.

2000-07-25  Dan Winship  <danw@helixcode.com>

    * message-thread.c (group_root_set): Don't group together messages
    with the same non-Re: subject and no References/In-Reply-To. More
    often than not, they're unrelated. (eg, "[No subject]".)
    (thread_messages): Handle messages with no Message-Id. "This
    shouldn't happen", but it does sometimes, and it's not much code
    to make it just work.

2000-07-25  Ettore Perazzoli  <ettore@helixcode.com>

    * mail-config.c (create_service_page): Call
    `gtk_option_menu_set_menu()' as the last thing, as `GtkOptionMenu'
    is fscking broken.  Also, `gtk_widget_show()' the individual menu
    items.

2000-07-24  Dan Winship  <danw@helixcode.com>

    * message-list.c (mark_msg_seen, ml_tree_set_value_at,
    message_list_regenerate): Update for CamelFolder API changes.
    (Certain functions no longer take a CamelException.)

    * mail-ops.c (real_fetch_mail, real_send_mail, real_delete_msg):
    ditto

    * component-factory.c (real_create_imap_storage,
    real_create_news_storage): ditto

2000-07-24  Dan Winship  <danw@helixcode.com>

    * component-factory.c, folder-browser-factory.c, test-mail.c:
    Remove GOAD support.

    * main.c: Remove GOAD support.
    (main): More "guess the build mistake" fun, this time for the
    failure to initialize Bonobo case.

2000-07-24  Peter Williams  <peterw@helixcode.com>

    * mail-tools.c (mail_tool_set_uid_flags): Change
    function to faithfully pass parameters to
    camel_folder_set_message_flags; this function is
    somewhat useless now. Other files synced with
    API change.

    * mail-ops.c (op_display_message): Change "display
    a message" into "retrieve a messsage" in the
    description of mail_op_display_message.

    * mail-threads.c (display_timeout): New function.
    Only display the progress dialog if the operation
    takes more than a second to perform.
    (hide_queue_window): New function. Hide the queue
    window as an idle function... I'm thinking maybe
    the problem with hiding it was due to us not
    being in a GTK event sequence? Perhaps it's only
    the timeout, which was not being cancelled, which
    is now.
    
    * message-list.c (get_message_uid): New function,
    copy of get_message_info, except gets only the
    UID, as that's all that most functions want, and
    we avoid a Camel call.

2000-07-23  Ettore Perazzoli  <ettore@helixcode.com>

    * mail-ops.c (create_message_composer): New.
    (compose_msg): Use it.
    (send_to_url): Likewise.
    (forward_msg): Likewise.

    * folder-browser-factory.c (control_activate): Use `_()' instead
    of `N_()'.

2000-07-21  Peter Williams  <peterw@helixcode.com>

    * message-thread.c (setup_thread_messages): New
    operation: thread_messages, simple wrapper around
    thread_messages () and thread_messages_free();

    * message-list.c (cleanup_regenerate_messagelist): 
    Use new thread_messages operation instead of just
    calling ... thread_messages :-)

    * folder-browser.c (folder_browser_destroy): Use new
    sync_folder operation instead of calling camel_folder_sync
    directly.

    * component-factory.c (create_folder): Changed to use
    new create_folder operation.

    * mail-ops.c (mail_do_create_folder): New operation: create
    folder. New operation: sync folder.

    * mail-format.c (cmm_destroyed): Remove the url hashtable from
    the larger hashtable when it gets destroyed.

    * mail-callbacks.c (fetch_mail): Pass a hook function and data
    down the chain to pick up the folder_changed and change the view.

    * mail-ops.c: Rename from mail-ops-new.c now that it's a little more
    solid. 
    (fetch_mail): Add new options to hook and unhook an event while the
    filter driver runs. A hack, but all of the operations are to some
    extent.
    (cleanup_fetch_mail): Unref the destination folder if not NULL.
    * mail-tools.c (mail_tool_filter_contents_into): Intermediate the
    event hook/unhook hack here.

2000-07-20  Peter Williams  <peterw@helixcode.com>

    * mail-ops-new.c (setup_send_mail): Fix silly forgetting-to-ref
    problem on some sends (when not replying). Note the early exit
    path with a big comment.
    
    * message-list.c (message_list_set_folder): Don't call
    folder_changed, call mail_do_regenerate_messagelist, as
    the GDK_THREADS_ENTER in the former can deadlock us!

    * folder-browser.c (folder_browser_set_uri): Ah, screw it.
    Make 'load folder' asynchronous and pretend that it always
    succeeds.

    * mail-ops-new.c (mail_do_load_folder): New operation, loads
    a folder into a FolderBrowser.
    
    * mail-threads.c (read_msg): Check if the exception is
    a user cancel; don't complain if it is.
    (mail_operation_queue): Same.
    (dispatch_func): Same.

2000-07-20  Peter Williams  <peterw@helixcode.com>
    
    * mail-ops-new.c (cleanup_send_mail): Fix evil mistaken
    unref.

    * test-thread.c: Fit the new mail_operation_spec prototype.

    * mail-callbacks.c (composer_send_cb): Hide the composer upon
    start of send operation.

    * folder-browser.c: #include "mail-ops-new.h"

    * mail-threads.h: Change text fields of mail_operation_spec to
    provide two forms of the name.

    * mail-threads.c: Use appropriate new string fields.
    (dispatch_func): Hide the progressbar by default.
    
    * message-list.c (op_regenerate_messagelist): Fix the datasize from
    0 -> sizeof (regenerate_messagelist_data_t). Add the new gerund and
    infinitive strings.
    (do_regenerate_messagelist): Include some code that fell between the
    cracks.

    * mail-ops-new.c (op_scan_subfolders): Same datasize fix for 
    scan_subfolders.
    (op_forward_message): Same. 
    (all): Add new gerund and inifinitive strings for mail_operation_spec.
    (cleanup_send_mail): Destroy the composer on success; re-show it on
    error. I'm so clever!
    
2000-07-20  Ettore Perazzoli  <ettore@helixcode.com>

    * component-factory.c (factory_fn): Updated for the new
    `evolution_shell_component_new()' arg.

2000-07-19  Jeffrey Stedfast  <fejj@helixcode.com>

    * message-thread.c (thread_messages): What if message info is NULL?

2000-07-17  Peter Williams  <peterw@helixcode.com>

    * component-factory.c (real_create_{imap,news}_storage): Instead of
    directly calling evolution_storage_new_folder, queue up a list of
    folders to register so that we don't do our CORBA in The Other Thread.
    (create_{imap,news}_storage): Changes ancillary to the above.
    (add_new_mailbox): New function to queue up a folder
    (cleanup_create_info): New function to dequeue the folders and free mem.

    * test-thread.c: s,ENABLE_BROKEN_THREADS,USE_BROKEN_THREADS -- oops

    * mail-format.c: (mail_lookup_url_table): New function to get the url
    table associated with a CamelMimeMessage because we can no longer 
    gtk_object_get_data on it.

    * mail-display.c: replace 'gtk_object_get_data( message, "urls" )'
    with 'mail_lookup_url_table( message )'

2000-07-16  Jeffrey Stedfast <fejj@helixcode.com>

    * folder-browser.c, component-factory.c: Initial code to support
    IMAP folders that don't use "/" as a directory separator.

2000-07-15  Ettore Perazzoli  <ettore@helixcode.com>

    * mail-ops.c (set_x_mailer_header): New helper function to set the
    `X-Mailer:' header to to `Evolution <version> [Developer
    Preview]".
    (real_send_mail): Call it.

2000-07-14  Peter Williams  <peterw@curious-george.helixcode.com>

    * message-list.c (message_list_set_folder): Ported to CamelObject:
    GTK_OBJECT->CAMEL_OBJECT; gtk_signal_connect->camel_object_hook_event;
    GDK_THREADS_ENTER/LEAVE around "changed" event hooks.

    * folder-browser.c (folder_browser_destroy): likewise.
    (mail_uri_to_folder): likewise.
    (folder_browser_load_folder): likewise.
    
2000-07-14  Ettore Perazzoli  <ettore@helixcode.com>

    * Makefile.am (evolution_mail_LDADD): Add `GCONF_LIBS'.

2000-07-14  Dan Winship  <danw@helixcode.com>

    * mail-format.c (write_headers): put a <p> at the end of the
    header table. (I think there used to be whitespace after it, but
    then some gtkhtml change got rid of it...)
    (handle_text_plain): Don't do this <PRE>. Instead, CONVERT_NL and
    CONVERT_SPACES and wrap it in <TT>. Now if the sender didn't
    include any newlines, it will be wrapped to the width of the
    window instead of extending off into infinity.

2000-07-13  Dan Winship  <danw@helixcode.com>

    * message-list.c (message_list_destroy): Only unref the folder if
    it's been set.

    * folder-browser.c (folder_browser_destroy): Only sync the folder
    if it's been set.

2000-07-13  Jonathan Blandford  <jrb@redhat.com>

    * mail-config.c (create_transport):
    s/CAMEL_SERVICE_NEED_HOST/CAMEL_SERVICE_URL_NEED_HOST.

2000-07-13  Dan Winship  <danw@helixcode.com>

    * mail-config.c (add_row): Add a "gboolean required" argument, and
    set its value on the entry.
    (create_source, create_transport): Create rows for URL elements if
    the URL ALLOWs them. Mark them required if it NEEDs them.
    (service_note_doneness): Only require the required fields to be
    filled in.

    Now the IMAP config page allows the user to enter a path, but
    doesn't require it.
    
2000-07-13  Jeffrey Stedfast  <fejj@helixcode.com>

    * mail-ops.c (real_fetch_mail): Back to the old way to avoid
    g_warnings, yay. Also fix append to send a flags argument (0)

2000-07-12  Chris Toshok  <toshok@helixcode.com>

    * mail-config.c (providers_config_new): fix some cut & paste bung.

2000-07-12  Chris Toshok  <toshok@helixcode.com>
    
    * mail-format.c (setup_function_table): add "message/news" to the
    mime_function_table using the same handler as message/rfc822.

2000-07-12  Chris Toshok  <toshok@helixcode.com>

    * mail-config.glade*: add news server tab to dialog.

    * mail-config.c (on_NewsServerConfigDialogButton_clicked): new function.
    (on_clistNewsServers_select_row): new function.
    (on_cmdNewsServersAdd_clicked): new function.
    (on_cmdNewsServersEdit_clicked): new function.
    (on_cmdNewsServersDelete_clicked): new function.
    (providers_config_new): mirror the source tab's code to fill in
    the news server tab.
    (write_config): save out the news server.
    (create_news_server_config_dialog): new function.
    (create_news_server_page): new function.

2000-07-12  Peter Williams  <peterw@helixcode.com>

    * mail-display.c (save_data): Change from evolution_dir to
    g_get_home_dir() for default location of save file.

2000-07-11  Dan Winship  <danw@helixcode.com>

    * Update for CamelFolder API changes

2000-07-11  Jeffrey Stedfast  <fejj@helixcode.com>

    * mail-ops.c (real_fetch_mail): Changed to use 
    camel_folder_move_message_to () rather than get_message () and then
    append_message (). This also makes it so we don't have to worry about
    fetching message flags to pass to the new append_message () method.

    * folder-browser.c (folder_browser_load_folder): Disable
    Search capability menu/entry if folder doesn't support it.

    * message-list.c (message_list_regenerate): Don't perform
    a search if the folder doesn't support it.

2000-07-11  Dan Winship  <danw@helixcode.com>

    * mail-ops.c (real_send_mail): Set the post_send_data flag rather
    than toggling it. (Maybe we'll need more control over it later,
    but for now, the only flag we set is "replied", and we want
    that set, not toggled.)

2000-07-10  Dan Winship  <danw@helixcode.com>

    * folder-browser-factory.c (control_activate): Work with both
    current and 0.15 bonobo

    * kill more debugging messages

    * mail-ops.c (real_fetch_mail): Don't multiply free dest_url.

    * message-list.c (message_list_select): Update
    message_list_select_next to do either next or previous.

    * folder-browser.c (etable_key): Make 'n' and 'p' do next and
    previous unread message.

    * mail-ops.c (select_first_unread): Update.
    (real_fetch_mail): clean up a bit.

2000-07-10  Ettore Perazzoli  <ettore@helixcode.com>

    * mail-ops.c (forward_msg): Initialize `fwd_subj' to NULL if
    `from' is NULL.

2000-07-10  Jeffrey Stedfast  <fejj@helixcode.com>

    * mail-ops.c (real_fetch_mail): Fixed broken POP fetching

2000-07-10  Ettore Perazzoli  <ettore@helixcode.com>

    * component-factory.c: Removed variable `browsers'.
    (create_view): Don't update it.
    (owner_unset_cb): Don't sync the folders here anymore, because at
    this point the folder browser is dead already so we cannot get a
    valid list of folders from it anymore.

    * folder-browser.c (folder_browser_destroy): Sync the associated
    mailbox first.

2000-07-10  Christopher James Lahey  <clahey@helixcode.com>

    * message-list.c, message-list.h: Switched from ETable to
    ETableScrolled.

2000-07-10  Jeffrey Stedfast  <fejj@helixcode.com>

    * mail-ops.c (real_fetch_mail): Fixed movemail so that it too would
    deliver to Inbox.

2000-07-09  Dan Winship  <danw@helixcode.com>

    * message-list.c (get_message_info): Don't g_warn if the user
    selects a fake tree parent.
    (message_list_select_next): Ignore fake rows
    (build_tree): Store the "root_subject" for fake rows
    (ml_tree_value_at): Display the correct subject for fake rows.
    (on_cursor_change_cmd): Update for the other changes and set
    cursor_uid to NULL when the cursor is on a fake row.

    * mail-ops.c (reply): Don't try to reply when no (real) message is
    selected.
    (forward_msg): Ditto.

2000-07-09  Christopher James Lahey  <clahey@helixcode.com>

    * message-list.c: Remove setting of dnd_code since that's handled
    internally to ETable.

2000-07-08  Dan Winship  <danw@helixcode.com>

    * folder-browser.c (etable_key): Fix up the pageup/pagedown
    increment a bit.

    * folder-browser-factory.c (control_activate): Add a "Threaded
    Message List" item to the "View" menu.

    * message-list.c (message_list_toggle_threads): Handler for that.
    (build_flat): New function to build a "flat" message list using
    the tree model.
    (message_list_regenerate): Build tree or flat message list
    depending on the global setting.

    * message-thread.c (get_root_subject): fix a "Re:" parsing bug

2000-07-08  Jeffrey Stedfast  <fejj@helixcode.com>

    * mail-ops.c (real_fetch_mail): Always dump incoming messages to
    Inbox (assuming not filtered to another location).

2000-07-08  Ettore Perazzoli  <ettore@helixcode.com>

    * folder-browser-factory.c (control_activate): Move the
    "Expunge" item to the "Action" menu.
    (control_deactivate): Accordingly.

2000-07-08  Dan Winship  <danw@helixcode.com>

    * mail-ops.c (forward_msg): Deal with having multiple selected
    messages.

    * mail-format.c (mail_generate_forward): Removed. (Integrated into
    forward_msg)

2000-07-08  Jeffrey Stedfast  <fejj@helixcode.com>

    * message-list.c (build_tree): Small fix to stop uid data from
    being set on a message-list tree node when it didn't correspond
    to an actual message.

2000-07-08  Dan Winship  <danw@helixcode.com>

    * message-list.c (get_message_info): Fix Jeff's FIXME: This does
    get called with out-of-range data sometimes, so we do need the
    check. Use e_table_model_row_count to get the actual right answer.

2000-07-07  Jeffrey Stedfast  <fejj@helixcode.com>

    * message-list.c (get_message_info): This wasn't quite right, it
    will now work but still isn't perfect. See FIXME comment.

2000-07-07  Dan Winship  <danw@helixcode.com>

    * message-thread.c (remove_node): Add another argument "clast"
    pointing to the container before the current one in the list,
    which it can update if that turns out to be the one that it
    removed.
    (group_root_set): Update for remove_node change, and remove both
    nodes in the "subjects are common" case. Fixes a bug that would
    cause the message list to be truncated if this rule was invoked.

    (sort_node): sort the tree by the original order of the messages
    in the folder rather than by date.

2000-07-07  Dan Winship  <danw@helixcode.com>

    * message-list.c: Lots of changes. Store uids as node data on the
    tree nodes and use those rather than rows where possible. (The
    concept of "row" is just getting too complicated.) Get rid of the
    summary_table, because given a uid we can call
    camel_folder_get_message_info, which makes more sense than keeping
    a separate uid->row hash table ourselves.

    (get_message_info): update
    (get_message_row): removed
    (ml_col_cound, ml_row_count, ml_value_at, ml_set_value_at,
    ml_cell_is_editable, ml_duplicate_value, ml_free_value,
    ml_initialize_value, ml_value_is_empty, ml_value_to_string):
    Removed. We always use the tree model now.
    (message_list_init): Remove the non-tree code.
    (build_tree): store uids in the tree rather than row numbers,
    and build the message_list->uid_rowmap to map from uids to rows
    when needed.
    (message_list_regenerate): Renamed from _set_search, since it's
    used to redraw in non-search cases too.
    (message_changed): Use the uid_rowmap to get a model row number.

    * message-thread.c (thread_messages): Change the interface on this
    to work with the new MessageList.

    * folder-browser.c (search_set, folder_browser_clear_search): 
    s/message_list_set_search/message_list_regenerate/

2000-07-07  Christopher James Lahey  <clahey@helixcode.com>

    * message-list.c (get_message_info): Handle a row number of -1
    properly.

2000-07-06  Dan Winship  <danw@helixcode.com>

    * message-list.c (get_message_info): Map tree model row numbers to
    summary row numbers.
    (ml_tree_value_at, ml_tree_set_value_at,
    ml_tree_is_cell_editable): So don't do that here.

2000-07-06  JP Rosevear  <jpr@arcavia.com>

    * mail-config.glade*: Glade files for the configuration dialog.
    
    * mail-config.c (providers_config_new): Build the dialog with
    glade.

2000-07-06  Dan Winship  <danw@helixcode.com>

    * folder-browser-factory.c, folder-browser.c, mail-ops.c,
    message-list.c: fix warnings.

    * main.c (main): gtkhtmllib_init is no more. Call gconf_init
    directly instead.

    * message-list.c (message_list_select_next): New function to
    select the first message on or after the given row that meets
    certain flag criteria.

    * mail-ops.c (real_fetch_mail): call message_list_select_next to
    select first unread message in current folder if it changes.
    (real_delete_msg): Remove the code to move the etable cursor. It
    only makes sense really if you deleted the message with the
    keyboard, so do it from etable_key.

    * folder-browser.c (etable_key): call message_list_select_next to
    select next non-deleted message after Delete.

    * mail-identify.c: Add a workaround for a small gnome-vfs 0.2 bug
    so we don't need to require CVS gnome-vfs.

2000-07-06  Not Zed  <NotZed@HelixCode.com>

    * message-thread.c (sort_thread): sort messages based on date for
    the initial sort order.
    (thread_messages_free): Implement.

    * message-list.c (message_list_init_header): Setup the subject
    renderer to a tree in tree mode.
    (on_cursor_change_cmd): For a tree model, map the view row to the
    data row.
    (build_tree): Builds the tree data structure of all messages.
    (message_list_set_search): For a tree model, build the tree here.
    (ml_tree_icon_at): Icon callback, returns nothing.
    (ml_tree_value_at):
    (ml_tree_set_value_at): 
    (ml_tree_is_cell_editable): Maps tree node to data row, and calls
    the equivalent table callback
    (message_list_init_renderers): Setup the tree renderer if needed.
    (message_list_init): set the root node invisible afterall.
    (message_list_set_search): Clear the old tree before putting in a
    new one.

    * message-list.h: Add a tree renderer to render list, and
    tree_view indicator.

    * message-thread.[ch]: Code for message threading. 

2000-07-05  Dan Winship  <danw@helixcode.com>

    * mail-identify.c (mail_identify_mime_part): Oops. My gnome-vfs
    was out-of-date. Update for changed function name.

2000-07-05  Dan Winship  <danw@helixcode.com>

    * mail-identify.c (mail_identify_mime_part): Use the gnomevfs
    sniff buffer interface to try to identify the MIME type when
    everything else fails.

    * mail-display.c (on_object_requested):
    * mail-format.c (lookup_handler, handle_undisplayable,
    handle_audio): s/gnome_mime/gnome_vfs_mime/

    * Makefile.am: Add gnomevfs stuff

2000-07-03  Ettore Perazzoli  <ettore@helixcode.com>

    * component-factory.c (create_folder): Get rid of a compiler
    warning by making sure `folder' is always initialized to some
    value for any code path.

2000-07-03  Dan Winship  <danw@helixcode.com>

    * message-list.c (select_msg): call mail_display_set_message with
    NULL if the message we tried to select doesn't exist (probably
    meaning we tried to selecte the first message and the folder is
    empty.)

    * mail-display.c (mail_display_set_message): deal with NULL as an
    input (meaning "undisplay previous message and display nothing").

2000-07-02  Dan Winship  <danw@helixcode.com>

    * mail-ops.c (real_fetch_mail): Remove hack to redisplay the
    inbox, since folder_changed signals will now be emitted
    appropriately.

    * component-factory.c (create_vfolder_storage): Fix
    filter_driver_new invocation.

    * Makefile.am (bin_PROGRAMS): test-mail and test-thread should be
    noinst.

    * mail-ops.c (real_fetch_mail): 
    (vfolder_editor_clicked): 
    * component-factory.c (create_vfolder_storage):
    Pass mail_uri_to_folder and rules to filter_driver_new.

2000-07-02  Ettore Perazzoli  <ettore@helixcode.com>

    * folder-browser.c (mail_uri_to_folder): Fix double freeing of the
    local exception `ex'.

2000-07-01  Ettore Perazzoli  <ettore@helixcode.com>

    * mail-ops.c (refile_msg): Only allow type "mail" in the folder
    selection dialog.

2000-07-01  Dan Winship  <danw@helixcode.com>

    * pixmaps.h, pixmaps/*.xpm: Removed. These aren't being used any
    more. (The real pixmaps are in ../art.)

2000-07-01  Jeffrey Stedfast  <fejj@helixcode.com>

    * message-list.c (get_message_info):
    (select_msg): Updated to reflect camel-folder changes.

    * mail-ops.c (real_fetch_mail): Modified to reflect camel-folder
    changes.

2000-06-30  Dan Winship  <danw@helixcode.com>

    * mail-ops.c (print_msg): Use gnome-print to do a print preview.

    * folder-browser-factory.c: Hook up "Print" button.

    * message-list.c (message_list_foreach): New function, a wrapper
    around e_table_selected_row_foreach, which calls the callback
    function with UIDs rather than row numbers.

    * folder-browser-factory.c: Remove never-used "Find" button from
    the toolbar and replace it with "Refile". (We need a better icon
    for this...). Hook up "Refile" to "refile_msg".

    * mail-ops.c (refile_msg): Call the shell's user_select_folder
    routine, and then use message_list_foreach and real_refile_msg to
    do the work.
    (delete_msg): Update to use message_list_foreach.

    * folder-browser.c (mail_uri_to_folder): new function, extracted
    from folder_browser_load_folder, to turn a URI into a folder.
    (folder_browser_load_folder): Use it.

2000-06-30  Peter Williams  <peterw@curious-george.helixcode.com>

    * component-factory.c (create_news_storage, create_imap_storage):
    Fixed to use new EvolutionShellClient proxy thingamajiggie.

2000-06-30  Dan Winship  <danw@helixcode.com>

    * message-list.c (on_row_selection): use the ETable row_selection
    signal to track how many rows are selected. Eventually we will use
    this info to disable toolbar buttons when you have too few/too
    many messages selected, but the current toolbar widget doesn't
    allow that.

    * message-list.h, message-list.c, mail-ops.c: Change selected_row
    and selected_uid fields of MessageList to cursor_row and
    cursor_uid to be more correct according to the new ETable
    interfaces.

2000-06-30  Ettore Perazzoli  <ettore@helixcode.com>

    * component-factory.c: Eeek.  Fix typo: add missing star in the
    declaration of `global_shell_client'.

2000-06-29  Ettore Perazzoli  <ettore@helixcode.com>

    * component-factory.c: Replace `global_shell_interface' with
    `global_shell_client'.

2000-06-29  Jeffrey Stedfast  <fejj@helixcode.com>

    * mail-ops.c (delete_msg): Clean up compile warnings
    (real_fetch_mail): Fetching from IMAP should do nothing

2000-06-29  Christopher James Lahey  <clahey@helixcode.com>

    * mail-ops.c: Handle multiple deletes (change by Peter Williams.)

2000-06-29  Jeffrey Stedfast  <fejj@helixcode.com>

    * folder-browser-factory.c: Changed "Send" to "Compose" to
    avoid user confusion. Compose is a little more intuitive.
    Also changed the pixmap to MAIL_NEW instead of MAIL_SND

    * mail-ops.c (compose_msg): Renamed to avoid confusion

2000-06-29  Dan Winship  <danw@helixcode.com>

    * component-factory.c (create_imap_storage, create_news_storage):
    remove some code incorrectly copied and pasted from
    create_vfolder_storage which caused vfolder creation to stop
    working.

2000-06-29  Christopher James Lahey  <clahey@helixcode.com>

    * message-list.c, mail-ops.c: Changed the name of
    e_table_select_row to e_table_set_cursor_row.

2000-06-29  Peter Williams  <peterw@helixcode.com>

    * message-list.c (message_list_init): Set the dnd_code of the
    ETableHeader to something so that Solaris sprintf doesn't die
    on a NULL string.

    * mail-config.c (providers_config_new): Check for a null "transport"
    string (not all OS' handle NULL strings well *cough* Solaris)

2000-06-28  Dan Winship  <danw@helixcode.com>

    * mail-format.c (mail_generate_forward): add default subjects

    * component-factory.c (create_folder): Refuse to create folders
    not of type "mail", and correctly create an empty "mbox" folder
    for new folders in /local.

    * main.c (init_corba): Call od_assert_using_oaf() or
    od_assert_using_goad() as appropriate to make sure people didn't
    somehow trick the build system.

2000-06-28  Jeffrey Stedfast  <fejj@helixcode.com>

    * message-list.c: Added prototype for filter_date to make
    it build cleanly

2000-06-27  Christopher James Lahey  <clahey@helixcode.com>

    * message-list.c: Made dates display grouping information
    properly.

2000-06-27  Peter Williams  <peterw@curious-george.helixcode.com>

    * message-list.c (mark_msg_seen): Need to return a value
    on error.

    * main.c (main): Don't start threads or enter threads if
    there's no threading! Sigh.

    * test-thread.c: Don't compile if no threads.

    * session.c: Work without broken threads.

    * message-list.c (filter_date): Solve the ctime_r problem the
    correct way, with the magic of autoconf.

2000-06-27  Christopher James Lahey  <clahey@helixcode.com>

    * message-list.c: Work around mismatched ctime_r functions.  This
    will be fixed.

2000-06-27  Peter Williams  <peterw@curious-george.helixcode.com>

    * mail-threads.c: Don't compile this if we don't have
    threads enabled. This should maybe be on the Makefile.am
    level.

2000-06-27  Michael Zucchi  <zucchi@zedzone.mmc.com.au>

    * component-factory.c (owner_set_cb): Put in a gross hack to
    export the shell reference elsewhere.

2000-06-26  Christopher James Lahey  <clahey@helixcode.com>

    * message-list.c: Added a value_to_string handler.

2000-06-26  Peter Williams  <peterw@helixcode.com>

    * component-factory.c, mail-ops.c: #ifdef the threads stuff so
    that if USE_BROKEN_THREADS is not defined we just call the functions
    in the main thread.

    * mail-threads.h: Don't declare funcs if USE_BROKEN_THREADS not
    defined.

    * mail-threads.c: Put the query and message boxes on top so that
    you can see them.

2000-06-26  Jeffrey Stedfast  <fejj@helixcode.com>

    * mail-config.c (error_dialog): va_start() returns void, don't
    assign it's retval to a variable.

2000-06-26  Ettore Perazzoli  <ettore@helixcode.com>

    * main.c (main): Call `GDK_THREADS_ENTER()' and
    `GDK_THREADS_LEAVE()' around the main loop as in the examples from
    the GTK+ FAQ.

    * mail-threads.c (DEBUG): New macro for debugging.
    (read_msg): Use it.

2000-06-25  Peter Williams  <peterw@helixcode.com>

    * Makefile.am: Clean up the various _LIBS and _CFLAGS
    to work with simpler THREADS_LIBS and THREADS_CFLAGS scheme.

2000-06-23  Jeffrey Stedfast  <fejj@helixcode.com>

    * folder-browser.c (folder_browser_load_folder): Improved the
    code to separate the imap namespace from the folder name.

2000-06-23  Peter Williams  <peterw@curious-george.helixcode.com>

    * component-factory.c: Include e-util/e-setup.h for the
    prototype of evolution_dir; prototype create_news_storage.
    (real_create_imap_storage, real_create_news_storage): New
    functions moving the camel stuff into the async callback.
    (create_imap_storage, create_news_storage): Chopped in
    half to move camel stuff as above.

    * mail-ops.c: Include "mail-threads.h" for threading protos.
    (real_fetch_mail, real_send_mail, real_expunge_folder): 
    New functions moving the camel stuff into the async callback.
    (async_mail_exception_dialog): A version of mail_exception_dialog
    to be called from the async handlers (just calls mail_op_error())
    (fetch_mail, expunge_folder, composer_send_cb): Cut in half to
    move camel stuff as above.
    (cleanup_send_mail): Clean up after the async real_send_mail
    with the gtk_object_destroys et al.

    * mail-threads.c: Instead of hiding the progress bar, make it
    zip back and forth constantly.
    (progress_timeout): New func. Timeout called to make the pbar
    shimmy.
    (timeout_toggle): New func. Turn on and off the shimmy effect.
    (check_cond): New func. Make sure that the GCond for modal
    operation is initialized before mail_op_{error,get_password}.
    (show_error_clicked, read_msg, get_password_clicked): Move
    over to timeout_toggle.
    (mail_op_error,mail_op_get_password): Add check_cond() call.

    * main.c: (main) Call g_thread_init.

    * session.c: Change auth_callback stuff over to assume that it's
    being called async. Note: no real good way to tell if this is
    the case or not.
    (request_callback): ifdef'ed out
    (evolution_auth_callback): Use mail_op_get_password.
    
2000-06-22  Jeffrey Stedfast  <fejj@helixcode.com>

    * folder-browser.c (folder_browser_load_folder): Now should
    correctly get the selected folder from the given URL.

2000-06-22  Chris Toshok  <toshok@helixcode.com>

    * folder-browser.c (folder_browser_load_folder): add handling for
    loading "news:" folders.

    * component-factory.c (create_news_storage): add a root for news
    source.
    (owner_set_cb): call create_news_storage.

2000-06-22  Jeffrey Stedfast  <fejj@helixcode.com>

    * folder-browser.c (folder_browser_load_folder): Updated to
    prepend url-> path if it exists for that imap store.

    * component-factory.c (create_imap_storage): Modified to not
    prepend a hard-coded namespace.

2000-06-22  Chris Toshok  <toshok@helixcode.com>

    * mail-ops.c (fetch_mail_cleanup): new function, passed as arg to
    mail_operation_try.
    (fetch_mail): add cleanup func arg.

2000-06-22  Christopher James Lahey  <clahey@helixcode.com>

    * message-list.c: Changed ml_value_at to return "" instead of NULL
    in some cases.

2000-06-22  Peter Williams  <peterw@curious-george.helixcode.com>
    * Makefile.am: Add GNOME_EXTRA_LIBS so that we get libgthread
    in our LIBS for evolution-mail.
    
    * mail-threads.c: Make the dialog boxes for error and
    question non-modal. They're modal relative to the dispatch
    thread, but before they would also eg lock up the toolbar
    buttons (while the menus, managed by another process, were
    active -- a weird effect).
    
2000-06-22  Peter Williams  <peterw@curious-george.helixcode.com>

    * mail-threads.[ch]: Extra argument to mail_operation_try:
    'cleanup', a function to be called in the main thread after
    the dispatcher thread exits. gtk_object_destroy's et al may
    attempt to unmap windows so we can't do them in the dispatcher
    thread :-(

    * test-thread.c: Updated with demo of new argument working.

2000-06-22  Peter Williams  <peterw@helixcode.com>

    * test-thread.c (op_5): New tests for the get_password
    hook.

    * mail-threads.[ch]: New hook, mail_op_get_password, for
    getting a user response from an async operation. The operation
    blocks while waiting for the response. A big whole mutex 
    condition threading blocking dealie to make sure that it 
    works.

    Also the error hook creates a dialog again, which also needs
    to block its caller while we wait for the user to press ok.

2000-06-22  Peter Williams  <peterw@helixcode.com>

    * mail-threads.c (various functions): Prettify the UI
    so that the progress bar doesn't become all huge 'n stuff.
    (mail_operation_try): Now save the operation's description,
    so that we can display it later as the default message.
    (read_msg): When the operation starts set the label to its
    UI-friendly name.
    (dispatch_func): Free the saved prettyname.

2000-06-21  Christopher James Lahey  <clahey@helixcode.com>

    * message-list.c: Removed an erroneous comment.

2000-06-21  Dan Winship  <danw@helixcode.com>

    * mail-config.c (create_transport_page): Make this not crash if
    you don't have a transport configured.
    
    * message-list.c: Update received date to work like sent date.

2000-06-21  Peter Williams  <peterw@helixcode.com>

    * mail-thread.{c,h}: New files -- a simple API for executing
    the major mail ops (fetch_mail etc) asynchronously, allowing
    the operations to send messages and update a progress bar.

    * test-thread.{c,h}: Tests the mail-thread API.

    * Makefile.am: add mail-thread.[ch] to evolution_mail_SOURCES
    and declare the test_thread noinst_PROGRAM.

2000-06-21  Peter Williams  <peterw@helixcode.com>

    * mail-format.c (mail_generate_reply): Include "e-setup.h" to
    get the prototype for evolution_dir.

2000-06-20  Jeffrey Stedfast  <fejj@helixcode.com>

    * component-factory.c (create_imap_storage): Oops. Should
    have checked for a NULL sources.

2000-06-20  Dan Winship  <danw@helixcode.com>

    * message-list.c (mark_msg_seen): Quick hack to prevent a NULL
    pointer dereference. Things need to be cleaned up a bit more here
    though.

    * mail-sources.c: Oops. This should have been removed a long time
    ago.

2000-06-20  Jeffrey Stedfast  <fejj@helixcode.com>

    * folder-browser.c (folder_browser_load_folder): Working on getting 
    this to work :)

    * component-factory.c (create_imap_storage): Should now correctly
    construct the folder path allowing the selection of a folder.

2000-06-20  Ettore Perazzoli  <ettore@helixcode.com>

    * mail-format.c (mail_generate_reply): Declare `evolution_dir'.
    Ugly, ugly, ugly, but I am not sure where it should go instead.

2000-06-19  Ettore Perazzoli  <ettore@helixcode.com>

    * mail-ops.c (ask_confirm_for_empty_subject): New function to ask
    confirmation for an empty subject line.
    (composer_send_cb): Use it if the subject is empty and only send
    the message if the user confirms.

2000-06-20  Jeffrey Stedfast  <fejj@helixcode.com>

    * component-factory.c (create_imap_storage): Now creates the IMAP
    storage (listing subfolders and such)

2000-06-19  Dan Winship  <danw@helixcode.com>

    * mail-format.c (find_preferred_alternative): add an option to
    prefer text/plain.
    (reply_body): add an option to prefer text/plain
    (mail_generate_reply): Check the mail sending preferences, and
    generate a text/plain reply if the user prefers to send plain text
    (and we have a text/plain part to generate a reply from).

2000-06-19  Jeffrey Stedfast  <fejj@helixcode.com>

    * mail-config.c (providers_config_new): Should now correctly display
    the Transport page (made it set the optionmenu correctly, before it
    would only set SMTP).
    (create_transport_page): Updated to set the page info to sendmail/smtp
    based on the url.
    (create_service_page): Had to add some code to set data on some objects
    so I could grab the objects I needed to modify in the above function.

2000-06-18  Jeffrey Stedfast  <fejj@helixcode.com>

    * folder-browser.c (folder_browser_load_folder): started to add
    code to load an IMAP folder.
    
    * component-factory.c: Started to add a create_imap_storage 
    method so that we can eventually have our IMAP store displayed 
    in the tree view.
    (create_vfolder_storage): Renamed from
    create_test_storage().
    (owner_set_cb): Updated.

2000-06-17  Dan Winship  <danw@helixcode.com>

    * message-list.c (message_list_set_folder): Prevent double-freeing
    action on summary_table and uid_rowmap.

2000-06-16  Dan Winship  <danw@helixcode.com>

    * message-list.c (ml_set_value_at): Implement clicking on the
    envelope icon to set read/unread. Based on a patch by clahey.
    (select_msg): keep the timeout id for the "seen" flagging in the
    message_list structure, so ml_set_value_at can clear it so it
    doesn't re-mark a message seen after you click it unseen.

2000-06-16  Dan Winship  <danw@helixcode.com>

    * message-list.c (get_message_row): new function to do a uid to
    row mapping.
    (mark_msg_seen, select_msg, message_changed,
    message_list_set_folder): Update for Camel flag changes.
    (on_cursor_change_cmd): Rename "row_to_select" to "selected_row",
    and keep a "selected_uid" as well.

    * mail-ops.c (composer_send_cb): Update for Camel flag changes,
    and fix some memory-handling bugs. (Free the post_send_data when
    the composer is destroyed, not when the user clicks "send", which
    could happen never, or more than once.)
    (delete_msg): Update for Camel flag changes, and fix the "holding
    down the delete key skips some messages" bug.

2000-06-15  Dan Winship  <danw@helixcode.com>

    * mail-ops.c (fetch_mail): 
    * component-factory.c (owner_unset_cb): 
    * message-list.c (message_list_set_folder): Update for CamelFolder
    changes.

    * folder-browser.c (folder_browser_clear_search): New function to
    revert back to non-searching mode.

    * mail-ops.c (fetch_mail): Use folder_browser_clear_search.

    * mail-display.c (on_url_requested): if the document requests an
    unknown URL, it's not an error; just ignore the URL.

    * mail-ops.c (fetch_mail): If there's no new mail, tell the user.

2000-06-14  Radek Doulik  <rodo@helixcode.com>

    * main.c (main): call gtkhtmllib_init here

2000-06-13  Jeffrey Stedfast  <fejj@helixcode.com>

    * mail-config.c (on_SourceConfigDialogButton_clicked): Make sure source
    is always pointing to something, so a blank is not written to the config file
    on close.

2000-06-13  Ettore Perazzoli  <ettore@helixcode.com>

    * Makefile.am (SHELL_OBJS): Removed.
    (evolution_mail_LDADD): Use `libeshell.a'.  Also use
    `top_builddir' consistently.

2000-06-12  Jeffrey Stedfast  <fejj@helixcode.com>

    * mail-config.c: Got rid of sources_max_row and identities_max_row
    as they are not really needed (just use clist->rows)
    (on_cmdSourcesEdit_clicked): Modified to make 'source'
    point to the data being edited.
    (on_cmdSourcesAdd_clicked): Adds a new clist item and selects it so the
    editor knows where to stick the data when it's done.

2000-06-12  Federico Mena Quintero  <federico@helixcode.com>

    * message-list.c: Removed the ETableModel thaw handler.

2000-06-12  Dan Winship  <danw@helixcode.com>

    * folder-browser.c (folder_browser_set_uri): Return the result of
    folder_browser_load_folder.
    (get_prop, set_prop, folder_browser_properties_init): Remove. No
    longer needed.

    * folder-browser-factory.c (folder_browser_factory_new_control):
    Add a "uri" argument, return NULL if setting it fails.
    (folder_browser_factory_new_control): Remove property bag stuff.
    (folder_browser_factory_init, folder_browser_factory): Remove
    this, since we're using the component factory now.

    * component-factory.c (create_view): Update for
    folder_browser_factory_new_control change and return NOTFOUND as
    appropriate.

    * main.c (main): Don't call folder_browser_factory_init.

    * mail-format.c (mail_generate_reply): Fix the subject generation
    so we don't get "Re:  Re:". This is working around something that
    may later be declared a misfeature in Camel.

2000-06-10  Ettore Perazzoli  <ettore@helixcode.com>

    * component-factory.c (create_folder): New stub implementation for
    the folder creation function in the EvolutionShellComponent we
    expose [it simply returns success all the time].
    (factory_fn): Pass this function to `evolution_shell_component_new'.

2000-06-09  Dan Winship  <danw@helixcode.com>

    * folder-browser.c (folder_browser_new): Add a serial number to
    FolderBrowser.

    * folder-browser-factory.c (control_activate, control_deactivate):
    Include fb serial number in the name of the Bonobo toolbar to
    prevent problems with disappearing toolbars. This is a kludge and
    should go away.


    * mail-ops.c (expunge_folder): display error from
    camel_folder_expunge if there is one.

    * message-list.c (select_row): install an idle function to
    select the row rather than doing it directly. Ugh. What a
    kludge, but at least it works now.

    * session.c (evolution_auth_callback): Update for
    CamelAuthCallback changes. (Uncache passwords when asked to.)

    * mail-ops.c (fetch_mail): close and expunge the source folder
    after copying it to a local folder.

2000-06-09  Ettore Perazzoli  <ettore@helixcode.com>

    * component-factory.c (create_view): Updated to match the changes
    to the definition of `EvolutionShellComponentCreateFn'.  If @type
    is not "mail", return an "unsupported type" error.
    (factory_fn): Pass NULL for the `remove_folder' and
    `create_folder' functions.

2000-06-09  Dan Winship  <danw@helixcode.com>

    * mail-format.c: Redo things a bit so that whitespace-only
    text parts aren't displayed. (In particular, so that
    whitespace-only subparts of multipart/mixed aren't displayed as
    separate (empty) parts.)

2000-06-06  Dan Winship  <danw@helixcode.com>

    * mail-ops.c (fetch_mail): 
    * folder-browser.c (folder_browser_load_folder): Update for folder
    creation/existence changes.

    * message-list.c (message_list_set_folder): Remove the code to
    create the folder if it doesn't exist, since we don't want to do
    that.

2000-06-05  Dan Winship  <danw@helixcode.com>

    * mail-ops.c (composer_send_cb): Leave the composer window around
    if the message doesn't get sent.

2000-06-05  Matt Loper  <matt@helixcode.com>

    * folder-browser.c (etable_key): Allow "GDK_KP_Delete", a keypad
    delete key, to delete a message.

2000-06-05  Dan Winship  <danw@helixcode.com>

    * session.c (evolution_auth_callback): Remember passwords between
    calls.
    (forget_passwords): Callback for "Forget Passwords" menu item.

    * folder-browser-factory.c (control_activate): 
    (control_deactivate): Add "Forget Passwords" menu item.

    * mail.h, mail-ops.c: fix some function prototypes

    * folder-browser.c (etable_key): Add "Delete" = delete message.

    * mail-format.c (mail_generate_forward): Update for new composer
    attachment interface.

2000-06-02  Jeffrey Stedfast  <fejj@helixcode.com>

    * mail-config.c (providers_config_new): Added a new notebook
    page that allowed for mail format (text/plain or 
    multipart/alternative)

2000-06-02  Dan Winship  <danw@helixcode.com>

    * message-list.c (filter_date): If the date in the summary is 0,
    output "?".

    * component-factory.c (create_view): keep a GList of folder
    browsers created
    (owner_unset_cb): Go through the list and close each folder before
    exiting so they sync their summary state, etc to disk.

    * mail-ops.c (fetch_mail): Use camel_service_connect, not
    connect_with_url, since we already passed the URL into
    camel_session_get_store.

2000-06-02  Christopher James Lahey  <clahey@helixcode.com>

    * message-list.c: Use camel_folder_free_summary instead of
    g_ptr_array_free.  Unref the folder when we're done with it.

2000-06-02  Christopher James Lahey  <clahey@helixcode.com>

    * session.c: Revert removal of e_setup_base_dir.

2000-06-02  Dan Winship  <danw@helixcode.com>

    * folder-browser.c (my_folder_browser_init): Connect to ETable's
    key_press signal.
    (etable_key): scroll mail on space/backspace.

2000-06-02  Christopher James Lahey  <clahey@helixcode.com>

    * message-list.c: Made sent column as wide as from column.

2000-06-02  Jeffrey Stedfast  <fejj@helixcode.com>

    * mail-config.c (on_cmdSourcesAdd_clicked): Changed identity_row
    to source_row as this is a Sources clist we are dealing with and
    not an identity clist
    (on_cmdSourcesEdit_clicked): same
    (on_cmdSourcesDelete_clicked): again, same
    (on_cmdSourcesEdit_clicked): Source editor now fills in data from
    the clist

2000-06-01  Dan Winship  <danw@helixcode.com>

    * message-list.c: Add a date column.    
    (COL_SENT_WIDTH_MIN): Make this wider.
    (ml_value_at): return the sent date (as a time_t) for COL_SENT.
    (Fix COL_TO too while I'm here.) 
    (ml_duplicate_value, ml_free_value, ml_initialize_value,
    ml_value_is_empty): COL_SENT is numeric now.
    (message_list_init_renderers): Create a date renderer (using
    text_filter to translate the time_t into a string).
    (message_list_init_header): Use render_date for COL_SENT.

2000-06-01  Christopher James Lahey  <clahey@helixcode.com>

    * session.c: Don't call e_setup_base_dir.

2000-06-01  Dan Winship  <danw@helixcode.com>

    * mail-format.c (mail_generate_forward): Fix forwarding to work
    for people other than me. :) [Although apparently it doesn't
    really.]

    * mail-ops.c (delete_msg): Add a quick hack to move the selection
    down a row when you delete a message.

    * mail-format.c (handle_message_rfc822): use <blockquote> rather
    than <center><table border=1 width=95%> to frame the embedded
    message. If <pre> text in the subtable won't fit in the 95% width,
    GtkHTML will write past the border of the table (and
    <blockquote><table border=1> causes creeping updates so it's not
    usable for now).
    
2000-06-01  Christopher James Lahey  <clahey@helixcode.com>

    * message-list.c (message_list_init): Turn off the grid in our
    ETable.

2000-06-01  Dan Winship  <danw@helixcode.com>

    * mail-format.c (write_headers): Oops. This needs to take a
    message argument because we might be writing headers for an
    embedded message/rfc822 subpart rather than the root document.

2000-06-01  Jeffrey Stedfast  <fejj@helixcode.com>

    * mail-config.c: Config dialogs are completed.
    (service_acceptable): Fixed a segfault caused by duplicate 
    camel_exception_free()
    (providers_config_new): Identity and Source clists are now filled in
    when the dialog is created as well as the Transport page

    * folder-browser-factory.c: Renamed Tool/ menu items
    Vfolder was changed to Virtual Folder and
    Configure Camel Providers was changed to Mail Configuration

2000-06-01  Ettore Perazzoli  <ettore@helixcode.com>

    * Makefile.am (evolution_mail_LDADD): Link with
    `libemiscwidgets.a'.

    * mail-display.c (mail_display_new): Use an EScrollFrame instead
    of a GtkScrolledWindow.
    (mail_display_set_message): Likewise.

    * mail-display.h: Replace the GtkScrolledWindow with an
    EScrollFrame.

2000-06-01  Dan Winship  <danw@helixcode.com>

    * component-factory.c (owner_unset_cb): Quit when the shell exits.
    This is a kludge, but a pretty necessary one until the refcounting
    bugs that keep the component from exiting properly are fixed.

2000-05-31  Jeffrey Stedfast  <fejj@helixcode.com>

    * mail-config.c: Partially implemented the source
    configuration, seems to segfault due to a destroyed
    gnome dialog being destroyed again in the method
    on_SourceConfigDialogButton_clicked()

2000-05-31  Dan Winship  <danw@helixcode.com>

    * mail-format.c (free_url, handle_text_enriched,
    get_url_for_icon): Fix up memory management of x-evolution-data
    URLs so the URLs and/or their data don't get freed while there are
    still references to them.

    * message-list.c (message_list_init_header): redo the (unused)
    online status column to no longer refer to pixmaps that no longer
    exist.

2000-06-01  Ettore Perazzoli  <ettore@helixcode.com>

    * folder-browser-factory.c (control_activate): Put the toolbar
    into a frame to make it look like standard GNOME toolbars.  Also,
    set `GNOME_DOCK_ITEM_BEH_NEVER_VERTICAL' so that it does not do
    evil things when its moved to the left or the right of the window.

2000-05-31  Jeffrey Stedfast  <fejj@helixcode.com>

    * mail-config.c: Configuration dialog now allows 
    adding/editing/deleting of Identities (which leaves
    adding/editing/deleting of sources left to implement).
    The data is also saved when the dialog is exited via 
    the OK button.

2000-05-31  Dan Winship  <danw@helixcode.com>

    * mail-format.c (mail_format_mime_message): Initialize the "urls"
    hash table stored on the message and store cid and other URLs
    there rather than as object data on the message.
    (get_cid): rewrite this a bunch
    (handle_text_enriched): move the code from write_iframe_string()
    into here, since it's the only place that actually needs it.
    (handle_text_html): simplify this a lot. We can use a cid: URL
    here rather than x-evolution-data.
    (get_url_for_icon): New routine to return URLs for icons, and
    cache the results, so we don't have to keep re-reading the icon
    files (and so we can't be spoofed into reading non-icon files).
    (handle_mystery, handle_audio): use get_url_for_icon.

    * mail-display.c (save_data): move the CamelMimePart filename
    extracting code from get_cid to here.
    (on_link_clicked, on_object_requested): Update for cid: changes.
    (on_url_requested): Kill off the kludgy, exploitable x-gnome-icon
    URL schema, update cid and x-evolution-data to match
    mail-format.c.

    It should now be easier to implement RFC 2557 (Content-Location,
    etc), but that RFC still pretty much sucks.

2000-05-30  Dan Winship  <danw@helixcode.com>

    * mail-format.c: Redo this back to the old way: a single GtkHTML
    with various things inline in it. (Gets rid of flicker, simplifies
    some scrolling, selecting, and printing issues.)
    (handle_text_enriched, handle_text_html): Use <iframe>s for these,
    to protect the rest of the document from their possibily invalid
    HTML.
    (handle_via_bonobo): Use (new-and-improved) <object> tags for
    this, moving most of the work back into mail-display.c

    * mail-display.c (on_object_requested): Move the Bonobo embedding
    code back here again (reorganized a bit).
    (on_url_requested): add x-evolution-data handler, for iframe
    bodies.
    (mail_html_new, mail_html_end): removed
    (mail_display_set_message, mail_display_new): Update for NWO.

2000-05-30  Not Zed  <NotZed@HelixCode.com>

    * folder-browser.c (search_set): Properly encode the search string.

2000-05-30  Jeffrey Stedfast  <fejj@helixcode.com>

    * mail.h: Added a prototype for providers_config_new() which
    is the constructor for the configuration dialog window

    * mail-config.c: Added set_service_url() which is basically
    the reverse of get_service_url().
    Implemented on_cmdCamelServicesOK_clicked() - The configuration
    window will now remember the Sendmail/SMTP data that the user
    had entered in the previous session.
    Removed on_cmdCamelServicesApply_clicked() - No need for this.

2000-05-30  Dan Winship  <danw@helixcode.com>

    * message-list.c (message_changed): call
    e_table_model_row_changed, not e_table_model_changed so we do less
    work, and don't lose the current selection.
    (select_msg): Set up a timer to mark the displayed message as
    "seen" if it's selected for longer than 1.5 seconds (a number
    pulled out of Matt's butt).
    (ml_value_at): Use the MESSAGE_STATUS column for read/unread as
    well as deleted.

    * message-list.c: use the "new" tigert pixmaps rather than the
    older ones. Includes a "replied to" icon (which is used now), but
    no "deleted" icon (although we have the strikeout renderer for
    that now).

2000-05-30  Christopher James Lahey  <clahey@helixcode.com>

    * message-list.c, message-list.h: Added bold for unread messages.

2000-05-30  Jeffrey Stedfast  <fejj@helixcode.com>

    * mail.h: Added a prototype for providers_config()
    which is the callback for a new menu item that
    will construct a configuration dialog for the camel
    providers and identities and display it

    * mail-config.c: Added some code to construct the 
    new providers dialog and a bunch of callbacks (most 
    of which are not yet useful)

    * mail-ops.c: Added the code for the providers_confi()
    callback

    * folder-browser-factory.c: Added the 
    "Tools/Camel Providers Configuration ..." menu item

2000-05-30  Christopher James Lahey  <clahey@helixcode.com>

    * message-list.c: Switched to using "cursor_change" signal instead
    of "row_selection" for switching messages.  Select the first row
    (still doesn't work because of ETable.)  Adapt to some small
    ETable changes.  Set drawfocus to FALSE.

2000-05-29  Not Zed  <NotZed@HelixCode.com>

    * folder-browser.c (folder_browser_load_folder): Hardcode the
    vfolder source to just the inbox (so at least it returns
    something).

    * component-factory.c (create_test_storage): Create a vfolder dir
    first, and put the folders in that.
    (create_test_storage): Create the storage as VFolders, not
    "storage_name" :)

2000-05-28  Dan Winship  <danw@helixcode.com>

    * mail-config.c (error_dialog): helper function since we need to
    set "modal" on the dialogs returned by gnome_error_dialog to make
    them work when popped up from the modal Druid.
    (service_acceptable): New function to check if the info entered on
    a store/transport page actually checks out.
    (mail_config_druid): Connect to the "next" signal on the store and
    transport pages and don't let the user continue if the data is
    bad and "check this before continuing" is checked. Also, only
    display sources/transports in the "mail" domain. (Ie, not
    "vfolder".)

    * mail-format.c (write_recipients_to_stream): Use `foo@bar' rather
    than `<foo@bar>' for recipient with no name.

    * mail-ops.c (fetch_mail): don't put up an error message if the
    user cancels the password dialog.

2000-05-27  Not Zed  <NotZed@HelixCode.com>

    * Makefile.am (SHELL_OBJS): Include mail storage so we can
    initialise folders.

    * component-factory.c (create_test_storage): Parses vfolder
    defintions and adds them to the storage.  Definetly needs more
    work.

    * folder-browser-factory.c (control_activate): Add the VFolder
    druid menu item.
    (control_deactivate): And remove it.

    * mail-ops.c (vfolder_editor_clicked): For editing vfolder
    definitions (rather like filters, oddly enough :).  Tries to
    update the shell but it doesn't seem to work properly - requires a
    mail component restart to take effect.

    * folder-browser.c (folder_browser_load_folder): Handle vfolder:
    urls' appropriately and map to camel.  Still needs a way to tell
    the vfolder what folders to search! (all vfolders come up empty!).

2000-05-28  Christopher James Lahey  <clahey@helixcode.com>

    * message-list.c, message-list.h: Added a COL_DELETED and made it
    the strikeout column for both text renderers.

2000-05-27  Dan Winship  <danw@helixcode.com>

    * mail-format.c: Various improvements:

    (call_handler_function, etc): Add a "mime_type" argument to the
    handlers, so that if a part is tagged as
    "application/octet-stream", and we figure out that it's really
    something else, the handler we call can know what that something
    else is.

    (handle_text_enriched): Small fixes to make this not do
    text/enriched-specific syntax in text/richtext or vice versa.

    (handle_mystery): Allow for mystery data that can't even be saved
    to disk. (ie, unrecognized external-body). Let the caller specify
    the URL to use.

    (handle_message_external_body): New function to deal with
    message/external-body parts. Generates URLs for anon-ftp,
    local-file, and URL access-types, and a more-useful-than-before
    descriptive message for other types.

    (handle_audio, handle_undisplayable): Use gnome_mime_get_value to
    try to get a description of the MIME type to display to the user
    rather than the raw form. (This will only work if the user has
    recent gnome-vfs installed. [If they don't, it works just like
    it used to.])

2000-05-26  Dan Winship  <danw@helixcode.com>

    * mail-format.c (handle_text_html): Fix a bug (security/stability)
    in its usage of mail_html_write.

    * mail-ops.c (composer_send_cb, reply): set CAMEL_MESSAGE_ANSWERED
    on a message after a successful reply.

    * message-list.c (folder_changed): free the summary with
    camel_folder_free_summary rather than g_ptr_array_free.

    * mail-format.c (handle_via_bonobo): Update for PersistStream
    changes

2000-05-25  Ettore Perazzoli  <ettore@helixcode.com>

    * main.c (main): Initialize the component factory.

    * Makefile.am (evolution_mail_LDADD): Link with
    `evolution-shell-component.o' from the shell directory.

    * evolution-mail.oafinfo: Updated with the
    Evolution::ShellComponent OAFIID.

    * evolution-mail.gnorba: Updated with the
    Evolution::ShellComponent GOAD ID.

    * folder-browser-factory.c (folder_browser_factory_new_control):
    New function; code moved out from `folder_browser_factory'.
    (folder_browser_factory): Use it.

    * component-factory.c: New.
    * component-factory.h: New.

2000-05-24  Dan Winship  <danw@helixcode.com>

    * mail-ops.c (composer_send_cb): connect to and disconnect from
    the transport.

2000-05-24  Christopher James Lahey  <clahey@helixcode.com>

    * Makefile.am: Added libepaned.a.
    
    * folder-browser.c: Switched from GtkPaned to EPaned.

2000-05-23  Ettore Perazzoli  <ettore@helixcode.com>

    * Makefile.am: Don't link to `evolution-service-repository.o'
    anymore.

    * folder-browser-factory.c: Don't use crufty service-repository
    anymore.

2000-05-21  Ettore Perazzoli  <ettore@helixcode.com>

    * message-list.c (get_message_info): Made static.
    (ml_initialize_value): Return NULL to placate compiler.

    * folder-browser.c (folder_browser_gui_init): Add cast.

    * mail-display.c (mail_html_new): Don't pass an empty URL to
    `gtk_html_begin()' anymore.

    * mail-config.c (put_html): Don't pass an empty URL to
    `gtk_html_begin()' anymore.

    * mail-display.h: Updated for the new GtkHTML API that uses
    `GtkHTMLStream *' instead of `GtkHTMLStreamHandle'.
    * mail-display.c: Likewise.
    * mail-config.c: Likewise.
    * mail-format.c: Likewise.

2000-05-19  NotZed  <NotZed@HelixCode.com>

    * mail-format.c: Fixes for stream stuff.

    * mail-display.c (save_data_cb): Remove exception stuff on streams.

2000-05-19  Christopher James Lahey  <clahey@helixcode.com>

    * message-list.c: Added initialize_value and value_is_empty
    callbacks.

2000-05-18  Dan Winship  <danw@helixcode.com>

    * folder-browser-factory.c (folder_browser_factory): Remove
    development_warning (moved to shell)

    * message-list.c (select_msg): Update for camel_folder_get_uids
    (folder_changed, message_list_set_folder): Update for
    camel_folder_get_summary

    * mail-ops.c (fetch_mail): Update for camel_folder_get_uids

2000-05-17  Dan Winship  <danw@helixcode.com>

    * mail-component.c: This seems to be cruft. Nuke it.

    * mail-display.c (save_data_cb, save_data, on_url_requested):
    * mail-format.c (handle_text_plain_flowed, handle_text_html):
    Use camel_data_wrapper_write_to_stream rather than
    camel_data_wrapper_get_output_stream.

2000-05-16  NotZed  <NotZed@HelixCode.com>

    * mail-ops.c (filter_edit): Function to bring up the filter editor.
    (filter_druid_clicked): Save/close dialogue.
    (fetch_mail): Apply filters to incoming mail ... *hold breath*
    If we are coming from a non-indexed/searchable/etc source, then
    copy it to an mbox first.  When copying mail from an mbox source,
    dont remove it aftewards, open it for append, so partially
    filtered mail isn't lost.

    * Makefile.am (evolution_mail_LDADD): Added libfilter.
    (INCLUDES): Add EVOLUTION_DATADIR, and fix matt's brokeneditor(tm)
    for putting spaces instead of tabs in.

2000-05-16  Christopher James Lahey  <clahey@helixcode.com>

    * mail-format.c: Removed usage of bonobo_object_destroy.

2000-05-14  Christopher James Lahey  <clahey@helixcode.com>

    * message-list.c: Updated to work with new ETable resizing.

2000-05-12  NotZed  <NotZed@HelixCode.com>

    * mail-ops.c (fetch_mail): Use 6 X's to mkstemp, as required by
    the man page, just a temp fix, this should probably change to a
    known filename.

2000-05-11  Dan Winship  <danw@helixcode.com>

    * folder-browser-factory.c (control_activate): Now that we depend
    on current gnome-libs we can make the toolbar detachable again.

2000-05-11  Federico Mena Quintero  <federico@helixcode.com>

    * folder-browser-factory.c (development_warning): Left-justify the
    message.

2000-05-10  Christopher James Lahey  <clahey@helixcode.com>

    * folder-browser-factory.c (development_warning): Made this dialog
    have fewer buttons.

2000-05-10  Christopher James Lahey  <clahey@helixcode.com>

    * folder-browser-factory.c (development_warning): New development
    warning text from Nat.

2000-05-10  Larry Ewing  <lewing@helixcode.com>

    * mail-config.c (html_new): only set the default background color
    if style is not NULL.

2000-05-09  Christopher James Lahey  <clahey@helixcode.com>

    * Makefile.am: Removed folder-browser-factory.h since it doesn't
    exist.  Added mail-display.h, mail-types.h, pixmaps.h.

2000-05-09  Matt Loper  <matt@helixcode.com>

    * folder-browser-factory.c (control_activate): Remove "File->mail"
    menuitem.

    * mail-config.c (mail_config_druid): Fill in "blah blah blah".

2000-05-09  Dan Winship  <danw@helixcode.com>

    * folder-browser.c (folder_browser_load_folder): make this a
    little less kludgy. Use gnome_error_dialog rather than printf on
    errors.

    * mail-ops.c (fetch_mail): Fix to work with the new shell stuff...
    sorta. Will need more fixing later when the new shell framework is
    more done.

    * mail-config.c (finish): Call gnome_config_sync so the data
    actually gets written.

2000-05-08  Dan Winship  <danw@helixcode.com>

    * mail-display.c (save_data_cb):
    (on_url_requested): Update for CamelStream CamelException changes.

    * mail-format.c: Pass NULL for a CamelException in a bunch of
    places... the user will see that the data is not being displayed,
    and there's not a lot we can do, and none of these things should
    be failing anyway. Maybe fix this later.

2000-05-07  NotZed  <NotZed@HelixCode.com>

    * message-list.c (ml_value_at): Size moved to message info, rather
    than content info structure.

2000-05-07  Dan Winship  <danw@helixcode.com>

    * message-list.c (select_msg): unref the message after displaying
    it.

    * mail-format.c (get_data_wrapper_text):
    (handle_text_plain_flowed): 
    (handle_via_bonobo): Replace camel_stream_close calls.

2000-05-07  Matt Loper  <matt@helixcode.com>

    * folder-browser-factory.c: Changed a toolbar button from saying
    "New mail" (which suggests you might be composing new mail) to
    "Get mail".

2000-05-06  Dan Winship  <danw@helixcode.com>

    * folder-browser-factory.c (folder_browser_factory): Don't
    hardcode "inbox" here.

    * folder-browser.c (folder_browser_set_uri): Don't hardcode
    "inbox" here either.
    (folder_browser_load_folder): Create a new store according to the
    folder browser's URI, and load the mbox file from that store.
    Parts of this are temporary.

    * session.c, mail.h: There is no longer a global store, just a
    global session.

    * mail-config.c, mail-ops.c: Update for default_session -> session
    change. fetch_mail is currently broken.

2000-05-06  Dan Winship  <danw@helixcode.com>

    * mail-config.c: New code to configure identity, mail source, and
    mail transport.
    (mail_config_druid): A druid using the config widgets. (Only
    allows configuration of a single identity, source, and transport.)

    * mail-ops.c (check_configured): New function to make sure the
    user has configured stuff, and call the druid if not.
    (fetch_mail, send_msg, send_to_url, reply, forward_msg): Call
    check_configured
    (composer_send_cb): Make this pass the message to a CamelTransport
    rather than just printing it to stdout.

    * folder-browser-factory.c (development_warning): Add a warning
    about sending mail, since you can do that now.

2000-05-06  Chris Toshok  <toshok@HelixCode.com>

    * .cvsignore: ignore evolution-mail.pure

    * Makefile.am: add support for building evolution-mail.pure

2000-05-06  Dan Winship  <danw@helixcode.com>

    * mail.h: consolidate mail-format.h, mail-identify.h, mail-ops.h,
    main.h and session.h into this new file. There's no reason to have
    a .h for every .c.

2000-05-05  Anders Carlsson  <andersca@gnu.org>

    * test-mail.c (create_container): Use the OAFIID when using an 
    OAF-enabled build of bonobo.

2000-05-04  NotZed  <NotZed@HelixCode.com>

    * message-list.c (message_list_set_folder): Get the whole message
    summary right away.
    (folder_changed): And if we change too.
    (ml_row_count): Use the match count or summary table length as the
    row count.
    (get_message_info): Use array references to lookup message summary
    info.  For the search result list, use the summary_search_cache to
    cache the info lookup.
    (message_list_init): Allocate the summary search cache.
    (message_list_destroy): Free the summary search cache and the
    summary table, if there is one to free.
    (message_list_set_search): Save the match count, and clear the
    summary search cache for reuse.
    (folder_changed): Re-retrieve the summary list if the folder has
    changed.
    (message_list_set_folder): Retrieve the summary list when opening
    the folder.

2000-05-03  Jason Leach  <leach@wam.umd.edu>

    * Makefile.am (evolution_mail_LDADD): s/-lunicode/$(UNICODE_LIBS)/
    in the LDADD section.

2000-05-03  Dan Winship  <danw@helixcode.com>

    * mail-format.c (write_recipients_to_stream, write_headers): Make
    the "Cc:" field optional again. (Before, we could check if
    camel_mime_message_get_recipients returned NULL, but now we need
    to actually look into the returned CamelInternetAddress object.)

2000-05-03  Larry Ewing  <lewing@helixcode.com>

    * folder-browser.c (folder_browser_gui_init): comment out the
    changed signal for now.

2000-05-02  Matt Loper  <matt@helixcode.com>

    * Makefile.am: set G_LOG_DOMAIN.

2000-05-02  Larry Ewing  <lewing@helixcode.com>

    * message-list.c (message_list_set_search): only free search if it
    is not NULL.

2000-05-02  NotZed  <NotZed@HelixCode.com>

    * folder-browser.c (folder_browser_gui_init): Connect the changed
    signal to search, so it searched immediately?

2000-05-01  NotZed  <NotZed@HelixCode.com>

    * pixmaps.h: Added envelope-deleted state.

    * folder-browser-factory.c: Setup callback for actual delete op.
    (control_activate): Setup a tool menu item to expnge deleted
    messages.

    * mail-ops.c (delete_msg): Toggle the delete flag on a message.
    (expunge_folder): New function to expunge deleted messages from
    the current folder.

    * folder-browser.c (folder_browser_gui_init): A hackish little
    quick-search entry.
    (search_activate): Perform a quick-search on the folder subject
    only.
    (folder_browser_gui_init): Add an option meny to the search line.   
    (create_option_menu): Build the option menu from a table.
    (search_set): Build a search from another string whent he option
    menu or text item is changed.  5 search options are defined so
    far.

    * message-list.c (get_message_info): If there is an active search,
    then get the data from that ... use this instead of
    _get_message_info().
    (ml_row_count): If we have an active search, get the info from its
    result.
    (select_msg): Changed to use get_message_info, so searches work.
    (ml_value_at): And same here.
    (message_list_init_renderers): Added a 3rd state to message_status
    = deleted.
    (ml_value_at): Show the message state as deleted, if it is marked
    for deletion.
    (folder_changed): When the folder changes, update the display.
    (message_list_set_folder): Connect to the folder_changed event
    here.
    (message_changed): Callback to update the display when the message
    changes.
    (select_msg): And connect to the message_changed signal so we know
    when it cahgnes.
    (message_list_set_search): Save the search string.
    (folder_changed): If the folder changes, re-run the search,
    otherwise we may end up with invalid entries in the display.

    * mail-display.c: Include missing errno.h.

2000-04-30  Dan Winship  <danw@helixcode.com>

    * session.c (session_providers_init): This is no longer necessary.

    * mail-ops.c (fetch_mail): Remove kludge to load remote provider,
    as camel can do it by itself now.

2000-04-29  Dan Winship  <danw@helixcode.com>

    * mail-display.c (on_link_clicked): Handle clicks on "cid" URLs by
    popping up a "Save Attachment" dialog.

    * mail-format.c (get_cid): if the part has a Content-Disposition
    with a filename specified, record (a sanitized version of) that on
    the wrapper when creating the cid reference, so the "save
    attachment" code can use it later.
    (handle_mystery): fix a bug in the cid generation here.

2000-04-29  Dan Winship  <danw@helixcode.com>

    * mail-format.c (lookup_handler, etc): Improve the builtin vs
    bonobo selection code.
    (handle_mystery): Include name and Content-Description in the
    "mystery data" info, when available
    (handle_unknown_type): Call mail_identify_mime_part before
    giving up.
    (handle_undisplayable): Split out of handle_unknown_type now
    that handle_unknown_type can try alternate viewers.
    (handle_via_bonobo): Fall back to handle_undisplayable if the
    bonobo control fails.

    * mail-identify.c (mail_identify_mime_part): New function to
    attempt to identify a MIME part that we can't identify based on
    Content-Type alone.

    * mail-display.c (on_url_requested): redo the mystery data icon
    display stuff less kludgily.

2000-04-28  Dan Winship  <danw@helixcode.com>

    * mail-format.c (write_recipients_to_stream, write_headers,
    mail_generate_reply): Update (minimally) for Camel recipient
    changes.

2000-04-28  Ettore Perazzoli  <ettore@helixcode.com>

    * main.c (init_bonobo): Don't call `init_corba()' and don't get
    any args.
    (init_corba) [!USING_OAF]: Fix args.

2000-04-27  Ettore Perazzoli  <ettore@helixcode.com>

    * folder-browser-factory.c: New macro `CONTROL_FACTORY_ID', which
    is #defined to a different value according to whether we are
    `USING_OAF' or not.
    (folder_browser_factory_init): Use `CONTROL_FACTORY_ID'.

    * test-mail.c
    (init_corba): New helper function, implemented differently
    according to `USING_OAF'.
    (main): Use `init_corba()'.

    * main.c
    (init_corba): New helper function, implemented differently
    according to `USING_OAF'.
    (init_bonobo): Use `init_corba()'.

    * Makefile.am: Install OAF stuff if `USING_OAF'.  Add
    `-I$(datadir)/idl' to the `orbit-idl' command-line so that we can
    use Bonobo IDL files installed under our prefix as well.  Also,
    use `$(ORBIT_IDL)' instead of hardcoded `orbit-idl'.

    * evolution-mail.oafinfo: New file.

2000-04-27  Dan Winship  <danw@helixcode.com>

    * mail-format.c: Move text_to_html to e-util.

    * mail-ops.c (send_to_url): New routine. Thin wrapper for
    e_msg_composer_new_from_url.

    * mail-display.c (on_link_clicked): print a warning for news or
    nntp URLs (which we'll deal with some day), and call send_to_url
    for mailto URLs.

    * mail-format.c (text_to_html): Improve URL conversion code.
    Recognize https, recognize "www\..*" without a prefixed "http://".
    Properly escape &, <, >, etc in URL strings. Don't be fooled by
    "mailto:", "http://", etc with no following data.

2000-04-26  Dan Winship  <danw@helixcode.com>

    * mail-format.c (text_to_html): Reorganize a bit and add a new
    flag, TEXT_TO_HTML_CONVERT_URLS to recognize and wrap URLs
    in text.

    * mail-display.c (mail_html_new): Add link_clicked signal handler.
    (on_link_clicked): Use gnome_url_show to launch a browser.

    * mail-format.c: update for CamelStream changes. Update for
    CamelMimeBodyPart -> CamelMimePart

2000-04-25  Dan Winship  <danw@helixcode.com>

    * mail-display.c, mail-format.c: Redo large chunks of this. The
    mail display now consists of a vbox in a scrolled window, in which
    we put multiple GtkHTML objects. This means broken HTML in one
    part can't corrupt other parts. The headers now scroll with the
    body. Unrecognized attachments look prettier, but still don't do
    anything, and will probably be changed later. We can also now
    display nested message/rfc822 parts and multipart/alternatives
    with multipart subparts. Oh, and text/{richtext,enriched}, since
    we had all these ancient sample messages that use it and the lack
    of support annoyed me. :)

    Bonobo embeddables are broken right now, but I don't think that's
    my fault.

    * mail-format.c (reply_body): Fix some bugs that crept into reply
    generation. This needs a lot more work to deal correctly with
    complicated bodies.
    (setup_function_table): pass unknown text subtypes to
    handle_text_plain.
    (handle_multipart_appledouble): new handler. Just ignores the
    first (application/applefile) part and tries to display the
    second part. Since the second part is usually
    application/octet-stream, this doesn't work very well still
    usually.
    (reply_body): Make this deal better with multiparts.

    * mail-format.c, mail-display.c: Now that we're not limited to
    a single GtkHTML for the display, there's no reason to embed
    Bonobo objects for unrecognized content-types in GtkHTML rather
    than embedded them into the vbox directly. So do that.

    Meanwhile, fix up the handler-selection code so that we can
    declare which built-in handlers are more desirable than external
    handlers and which are less. (Of course, eventually we'll want
    this to be customizable.) Add some cleverness to
    handle_multipart_alternative as well so it doesn't accept an
    alternative which we can display generically over one we can
    display specifically.

    * mail-format.c (text_to_html): add a convert_space_hack flag,
    which turns N spaces into N-1 &nbsp;s and a space.
    (handle_text_plain): Check for "format=flowed" in the
    Content-Type.
    (handle_text_plain_flowed): Spinoff of handle_text_plain to deal
    with RFC 2646 flowed text. (All the examples I can find of it
    are generated by Eudora, but it's a pretty cool idea that ought
    to be used more widely.)

2000-04-23  Dan Winship  <danw@helixcode.com>

    * folder-browser-factory.c: rename "send" to "send_msg", to avoid
    name clash with the tcp function. Connect the "forward" button.

    * mail-ops.c: rename "send" to "send_msg", to avoid name clash
    with the tcp function. Add forward_msg function.

    * mail-format.c (mail_generate_forward): support function for
    forward_msg. Pretty much a big kludge right now, pending the
    attachment/attachment-bar changes.

2000-04-22  Dan Winship  <danw@helixcode.com>

    * mail-display.c (on_url_requested): Change cid expectations to
    match current camel reality.

    * main.c (main): call glade_gnome_init, for composer.

    * folder-browser-factory.c: move msg_composer_cb and
    msg_composer_send_cb to mail-ops. Attach send, reply, and "reply
    to all" buttons.

    * mail-ops.c (composer_send_cb, send): moved from
    folder-browser-factory.c.
    (reply_to_sender, reply_to_all): new functions to do replies.

    * mail-format.c (text_to_html): Add an "add_pre" flag, to make
    it wrap the output in <pre></pre>.
    (mail_generate_reply): New function to create a composer and build
    a reply in it.

2000-04-21  Dan Winship  <danw@helixcode.com>

    * mail-display.c (on_url_requested): deal with cid: URLs.
    (find_cid): helper routine for above. (This could be much better.)
    (mail_display_init): connect url_requested signal

    * mail-format.c (handle_multipart_related): Make this work.

    * mail-display.c (mail_display_set_message): ref the message we
    display, since we're going to unref it when we remove it. Fixes a
    bug that showed up with the new camel code, but it's not obvious
    if it's due to a bug or a feature in the new code.

2000-04-20  NotZed  <NotZed@HelixCode.com>

    * Makefile.am (evolution_mail_LDADD): Add libibex.la to link.

    * message-list.h: Removed folder summary.

    * message-list.c: Dont include folder-summary anymore.
    (select_msg): Changed to use folder, not summary in
    summary_get_message_info().  God this code is grotty.
    (ml_value_at): Ditto.
    (ml_value_at): Changed to use new interface.  Hmm, this returns a
    static variable, that seems wrong.
    (message_list_set_folder): Remove folder summary.
    (ml_row_count): Oops, remove some debug i put there.

2000-04-20  Dan Winship  <danw@helixcode.com>

    * mail-display.c: update for bonobo change, and remove a
    now-unused variable.

2000-04-17  Chris Toshok  <toshok@helixcode.com>

    * message-list.c (on_row_selection_idle): new function, actually
    calls select_msg.
    (on_row_selection_cmd): register an idle instead of calling
    select_msg directly.  this fixes the lag before the row is
    selected - selection is instantaneous now, with message loading
    happening afterward.

    * message-list.h: add row_to_select and an idle_id to the message
    list to make the select_msg call happen in an idle func.

    * message-list.c (message_list_init_renderers): no more
    e_cell_set_editable.  this info always comes from the model.

2000-04-14  Dan Winship  <danw@helixcode.com>

    * mail-format.[ch]: Moved from camel/camel-formatter, and changed
    slightly. (More to come.)

    * html-stream.[ch]: No longer necessary. mail-format uses
    GtkHTMLStreamHandles directly.

    * mail-display.[ch]: update for new message formatting code.

2000-04-14  Chris Toshok  <toshok@helixcode.com>

    * folder-browser-factory.c (control_activate): use
    gnome_app_fill_toolbar_with_data, so we get the beautiful gnome
    toolbar.

2000-04-14  Dan Winship  <danw@helixcode.com>

    * folder-browser-factory.c (development_warning): Fix up the
    warning message a bit.
    (folder_browser_factory): Make the warning bypassable.

2000-04-12  Miguel de Icaza  <miguel@gnu.org>

    * main.c (main): Call e_cursors_init.

2000-04-10  Dan Winship  <danw@helixcode.com>

    * mail-ops.c (fetch_mail): use camel_movemail when fetching mail
    from an mbox store. This leaves behind temp files for now,
    because CamelMboxFolder::delete is too confused to use, and NotZed
    is rewriting CamelMboxFolder, so I'm not going to bother to try to
    fix it.

    * mail-ops.c: Add some #includes for the non-HAVE_MKSTEMP case

2000-04-09  Matt Loper  <matt@helixcode.com>

    * folder-browser.c (folder_browser_new): set folder_browser->uri
    to NULL, so that we know when to free it.

2000-04-07  Miguel de Icaza  <miguel@gnu.org>

    * message-list.c (states_pixmaps): Add more beautiful art from
    Miggue, the Diego Rivera of the next millenium.
    (message_list_init_header): Use the beautiful art.

    * pixmaps: Miguel rediscovers the "transparent" concept.

2000-04-07  Matt Loper  <matt@helixcode.com>

    * folder-browser.c (folder_browser_destroy): Unref the shell
    interface that we have a handle to.

    * folder-browser-factory.c (control_destroy_cb): New function;
    destroys a folder-browser when its control is destroyed.
    (folder_browser_factory): Hook up to the above.

2000-04-07  Dan Winship  <danw@helixcode.com>

    * mail-ops.c: new file, for toolbar/menu callbacks
    (fetch_mail): fetch mail. Doesn't do mbox locking. Many kludges.

    * folder-browser-factory.c (control_activate): use new fetch_mail
    function as the callback for the "New mail" icon. Rename check_cb
    to random_cb.

    * Makefile.am: don't build test-sources since the version in
    CVS doesn't do much and once I've fixed it it won't be a separate
    program. Add mail-ops.[ch].

2000-04-06  Miguel de Icaza  <miguel@gnu.org>

    * message-list.c: Stick pixmaps here.

    * mail-display.c (embeddable_destroy_cb): Replaced C++ comments
    with C comments.

    * message-list.c (load_internal_images): New function, loads images.
    (message_list_init_renderers): Load images, fix previous attempt
    at loading images. 

    * Makefile.am (dist-hook): Added distribution of pixmaps.

    * pixmaps: New directory, used to hold the XPMs we ship with. 

    * pixmaps/envelope-closed.xpm, pixmaps/envelope-open.xpm: Tigert's
    envelopes incorporated.

2000-03-31  Miguel de Icaza  <miguel@gnu.org>

    * message-list.c (ml_value_at): Fix miss-used variable. 

2000-04-01  Michael Meeks  <michael@helixcode.com>

    * folder-browser.c (folder_browser_properties_init): update to
    new property  (folder_browser_property_changed): kill.
    (get_prop, set_prop): do the donkey work + make properly RW.

2000-03-31  Dan Winship  <danw@helixcode.com>

    * folder-browser-factory.c (folder_browser_set_shell):
    * folder-browser.c (folder_browser_new):
    * message-list.c (on_row_selection_cmd, select_msg,
    message_list_init, message_list_set_folder):

    remove debugging printf()s that no longer seem useful

2000-03-29  Dan Winship  <danw@helixcode.com>

    * folder-browser-factory.c (control_activate): build a toolbar.
    (control_deactivate): and hide it.

2000-03-27  Chris Toshok <toshok@helixcode.com>
    * mail-display.c: quiet warnings when building in ../po

2000-03-26  Miguel de Icaza  <miguel@gnu.org>

    * folder-browser-factory.c (folder_browser_set_shell): Memory leak
    fix. 

2000-03-25  Dan Winship  <danw@helixcode.com>

    * message-list.c (select_msg, ml_value_at): update for summary
    changes. Hey, neat, it really does make it more efficient.

2000-03-22  Christopher James Lahey  <clahey@helixcode.com>

    * .cvsignore: Updated .cvsignore.

2000-03-21  Matt Loper  <matt@helixcode.com>

    * mail-display.c: Minor cleanup & commenting.

    * folder-browser-factory.c: Minor cleanup & warning elimination.

2000-03-21  bertrand  <bertrand@helixcode.com>

    * message-list.c (ml_value_at): display message size

2000-03-20  Christopher James Lahey  <clahey@helixcode.com>

    * message-list.c: Properly ref & sink the table and header models.

2000-03-14  Dan Winship  <danw@helixcode.com>

    * mail-sources.c: First cut at a mail source selection wizard.
    Basically a rigged demo at this point. Doesn't use camel to get
    its information, and is not yet complete or integrated with the
    mail component. Did I mention that the code is ugly?

2000-03-13  bertrand  <bertrand@helixcode.com>

    * folder-browser-factory.c (folder_browser_set_shell): 
    for testing and demonstration purpose, immediately 
    register a fake service.

2000-03-12  bertrand  <bertrand@helixcode.com>

    * folder-browser-factory.c (folder_browser_factory_init): 
    name change.
    (control_activate_cb): when the control is activated, 
    it merges its own UI with the remote UIHandler.
    (control_add_menu): sample menu merging.
    (folder_browser_factory): connect the control "activate" signal.

    * evolution-mail.gnorba: 
    name changes

    * folder-browser.h: added a reference to an 
    Evolution::Shell object. 

    * folder-browser-factory.c (folder_browser_set_shell): 
    (folder_browser_control_add_service_repository_interface): 
    (folder_browser_factory): the folder-browser control now
    implements the Evolution/ServiceRepository interface.

2000-03-07  bertrand  <bertrand@helixcode.com>

    * folder-browser-factory.c (development_warning): 
    added a warning so that the user knows that this 
    version may crash his mails.

2000-03-05  bertrand  <bertrand@helixcode.com>

    * message-list.h: include a referrence to the parent 
    folder browser.

    * message-list.c (ml_value_at): use the message summary 
    from the 

    * html-stream.c (html_stream_close): when the stream 
    is closed, set the html stream to NULL
    (html_stream_write): don't write anything if the 
    html handle does not exist. 
    (html_stream_reset): implemented. close the current 
    html handle and begins a new html parser. 

    * session.c (session_store_new): use static exception
    here. 

2000-03-05  Christopher James Lahey  <clahey@helixcode.com>

    * message-list.c: Added a prototype message listing.

2000-03-04  Christopher James Lahey  <clahey@helixcode.com>

    * message-list.c: Set up the column headers properly.

    * folder-browser.c: Show the folder_browser widget.

2000-03-04  Christopher James Lahey  <clahey@helixcode.com>

    * message-list.c: Define ml_duplicate_value and ml_free_value
    correctly.
    
2000-03-04  Christopher James Lahey  <clahey@helixcode.com>

    * message-list.c: Use g_int_compare and g_str_compare as we should
    be instead of g_int_equal and g_str_equal.
    
2000-03-04  bertrand  <bertrand@helixcode.com>

    * test-mail.c (main): replace the bonobo-active/gtk-main
    by bonobo-main.
    Include Gnorba headers.
    (main): don't call the container creation routine 
    before we entered the main loop. Use idle for that.

2000-03-04  Christopher James Lahey  <clahey@helixcode.com>

    * message-list.c: Change this to use the ETable widget itself
    instead of building it from all the parts.

2000-03-03  Christopher James Lahey  <clahey@helixcode.com>

    * message-list.c: Ref the table columns since we unref them at the
    end.

2000-03-01  Ettore Perazzoli  <ettore@helixcode.com>

    * Makefile.am (INCLUDES): Add `$(top_srcdir)'.  Also, the
    `top_srcdir' includes must come first everything else to avoid
    including installed headers instead of our fresh ones.

2000-02-28  NotZed  <NotZed@HelixCode.com>

    * Makefile.am (evolution_mail_LDADD): Fixed references to eutil.

2000-02-24  Christopher James Lahey  <clahey@helixcode.com>

    * message-list.c: Changed to match new e_table_simple interface.

2000-02-24  Dan Winship  <danw@helixcode.com>

    * message-list.c (message_list_set_folder): update for CamelFolder
    changes

2000-02-24  Christopher James Lahey  <clahey@helixcode.com>

    * message-list.c: Changed this to not use the "x" and "y"
    arguments to e-table-item.

2000-02-23  Matt Loper  <matt@helixcode.com>

    * message-list.c (message_list_set_folder): Check 'desc'riptions
    of exceptions.

2000-02-22  bertrand  <Bertrand.Guiheneuf@aful.org>

    * message-list.c (message_list_set_folder): 
    fix to show a sample correct implementation. 

2000-02-21  Matt Loper  <matt@helixcode.com>

    * Makefile.am: added -lunicode to evolution_mail_LDADD.

2000-02-21  Dan Winship  <danw@helixcode.com>

    * session.c (session_store_new): Pass a CamelAuthCallback
    (evolution_auth_callback) to camel_session_new.
    
2000-02-21  Dan Winship  <danw@helixcode.com>

    * session.c (session_store_new): Update session_store_new to
    deal with the fact that camel_session_get_store takes a
    CamelException now. Doesn't actually do anything with the
    exception yet, because nothing else does yet either.

2000-02-19  Matt Loper  <matt@helixcode.com>

    * .cvsignore: added test-mail.

2000-02-14  Miguel de Icaza  <miguel@gnu.org>

    * folder-browser.c (folder_browser_load_folder): New routine,
    loads a camel folder.
    (folder_browser_set_uri): redo.

    * session.c: new file.  Implements SessionStores to keep track of
    a Session/Store tuple.  

2000-02-13  Matt Loper  <matt@helixcode.com>

    * html-stream.c (html_stream_new): Second param of gtk_html_begin
    should be "", not NULL.
    (html_stream_new): gtk_html_parse() is deprecated, so the call was
    removed.

    * html-stream.h: HTMLStreamClass's parent changed to
    CamelStreamClass, not CamelStream.

2000-02-11  Christopher James Lahey  <clahey@helixcode.com>

    * Makefile.am: Add the e-text directory to the includes list.

    * message-list.c: Change the call to e_cell_text_new, since
    there's an added argument.

2000-02-09  Christopher James Lahey  <clahey@helixcode.com>

    * Makefile.am: Added libetext as libetable depends on it.

2000-02-08  Iain Holmes  <ih@csd.abdn.ac.uk>

    * Makefile.am: Changed the order of the compilation so the CORBA stuff
    was made before it was needed.

2000-01-19  Miguel de Icaza  <miguel@gnu.org>

    * Started work on the mail display engine.

    * html-stream.c, html-stream.h: New files, they are CamelStreams
    used to write to the GtkHTML widget.