1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451
2452
2453
2454
2455
2456
2457
2458
2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
2474
2475
2476
2477
2478
2479
2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492
2493
2494
2495
2496
2497
2498
2499
2500
2501
2502
2503
2504
2505
2506
2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
2528
2529
2530
2531
2532
2533
2534
2535
2536
2537
2538
2539
2540
2541
2542
2543
2544
2545
2546
2547
2548
2549
2550
2551
2552
2553
2554
2555
2556
2557
2558
2559
2560
2561
2562
2563
2564
2565
2566
2567
2568
2569
2570
2571
2572
2573
2574
2575
2576
2577
2578
2579
2580
2581
2582
2583
2584
2585
2586
2587
2588
2589
2590
2591
2592
2593
2594
2595
2596
2597
2598
2599
2600
2601
2602
2603
2604
2605
2606
2607
2608
2609
2610
2611
2612
2613
2614
2615
2616
2617
2618
2619
2620
2621
2622
2623
2624
2625
2626
2627
2628
2629
2630
2631
2632
2633
2634
2635
2636
2637
2638
2639
2640
2641
2642
2643
2644
2645
2646
2647
2648
2649
2650
2651
2652
2653
2654
2655
2656
2657
2658
2659
2660
2661
2662
2663
2664
2665
2666
2667
2668
2669
2670
2671
2672
2673
2674
2675
2676
2677
2678
2679
2680
2681
2682
2683
2684
2685
2686
2687
2688
2689
2690
2691
2692
2693
2694
2695
2696
2697
2698
2699
2700
2701
2702
2703
2704
2705
2706
2707
2708
2709
2710
2711
2712
2713
2714
2715
2716
2717
2718
2719
2720
2721
2722
2723
2724
2725
2726
2727
2728
2729
2730
2731
2732
2733
2734
2735
2736
2737
2738
2739
2740
2741
2742
2743
2744
2745
2746
2747
2748
2749
2750
2751
2752
2753
2754
2755
2756
2757
2758
2759
2760
2761
2762
2763
2764
2765
2766
2767
2768
2769
2770
2771
2772
2773
2774
2775
2776
2777
2778
2779
2780
2781
2782
2783
2784
2785
2786
2787
2788
2789
2790
2791
2792
2793
2794
2795
2796
2797
2798
2799
2800
2801
2802
2803
2804
2805
2806
2807
2808
2809
2810
2811
2812
2813
2814
2815
2816
2817
2818
2819
2820
2821
2822
2823
2824
2825
2826
2827
2828
2829
2830
2831
2832
2833
2834
2835
2836
2837
2838
2839
2840
2841
2842
2843
2844
2845
2846
2847
2848
2849
2850
2851
2852
2853
2854
2855
2856
2857
2858
2859
2860
2861
2862
2863
2864
2865
2866
2867
2868
2869
2870
2871
2872
2873
2874
2875
2876
2877
2878
2879
2880
2881
2882
2883
2884
2885
2886
2887
2888
2889
2890
2891
2892
2893
2894
2895
2896
2897
2898
2899
2900
2901
2902
2903
2904
2905
2906
2907
2908
2909
2910
2911
2912
2913
2914
2915
2916
2917
2918
2919
2920
2921
2922
2923
2924
2925
2926
2927
2928
2929
2930
2931
2932
2933
2934
2935
2936
2937
2938
2939
2940
2941
2942
2943
2944
2945
2946
2947
2948
2949
2950
2951
2952
2953
2954
2955
2956
2957
2958
2959
2960
2961
2962
2963
2964
2965
2966
2967
2968
2969
2970
2971
2972
2973
2974
2975
2976
2977
2978
2979
2980
2981
2982
2983
2984
2985
2986
2987
2988
2989
2990
2991
2992
2993
2994
2995
2996
2997
2998
2999
3000
3001
3002
3003
3004
3005
3006
3007
3008
3009
3010
3011
3012
3013
3014
3015
3016
3017
3018
3019
3020
3021
3022
3023
3024
3025
3026
3027
3028
3029
3030
3031
3032
3033
3034
3035
3036
3037
3038
3039
3040
3041
3042
3043
3044
3045
3046
3047
3048
3049
3050
3051
3052
3053
3054
3055
3056
3057
3058
3059
3060
3061
3062
3063
3064
3065
3066
3067
3068
3069
3070
3071
3072
3073
3074
3075
3076
3077
3078
3079
3080
3081
3082
3083
3084
3085
3086
3087
3088
3089
3090
3091
3092
3093
3094
3095
3096
3097
3098
3099
3100
3101
3102
3103
3104
3105
3106
3107
3108
3109
3110
3111
3112
3113
3114
3115
3116
3117
3118
3119
3120
3121
3122
3123
3124
3125
3126
3127
3128
3129
3130
3131
3132
3133
3134
3135
3136
3137
3138
3139
3140
3141
3142
3143
3144
3145
3146
3147
3148
3149
3150
3151
3152
3153
3154
3155
3156
3157
3158
3159
3160
3161
3162
3163
3164
3165
3166
3167
3168
3169
3170
3171
3172
3173
3174
3175
3176
3177
3178
3179
3180
3181
3182
3183
3184
3185
3186
3187
3188
3189
3190
3191
3192
3193
3194
3195
3196
3197
3198
3199
3200
3201
3202
3203
3204
3205
3206
3207
3208
3209
3210
3211
3212
3213
3214
3215
3216
3217
3218
3219
3220
3221
3222
3223
3224
3225
3226
3227
3228
3229
3230
3231
3232
3233
3234
3235
3236
3237
3238
3239
3240
3241
3242
3243
3244
3245
3246
3247
3248
3249
3250
3251
3252
3253
3254
3255
3256
3257
3258
3259
3260
3261
3262
3263
3264
3265
3266
3267
3268
3269
3270
3271
3272
3273
3274
3275
3276
3277
3278
3279
3280
3281
3282
3283
3284
3285
3286
3287
3288
3289
3290
3291
3292
3293
3294
3295
3296
3297
3298
3299
3300
3301
3302
3303
3304
3305
3306
3307
3308
3309
3310
3311
3312
3313
3314
3315
3316
3317
3318
3319
3320
3321
3322
3323
3324
3325
3326
3327
3328
3329
3330
3331
3332
3333
3334
3335
3336
3337
3338
3339
3340
3341
3342
3343
3344
3345
3346
3347
3348
3349
3350
3351
3352
3353
3354
3355
3356
3357
3358
3359
3360
3361
3362
3363
3364
3365
3366
3367
3368
3369
3370
3371
3372
3373
3374
3375
3376
3377
3378
3379
3380
3381
3382
3383
3384
3385
3386
3387
3388
3389
3390
3391
3392
3393
3394
3395
3396
3397
3398
3399
3400
3401
3402
3403
3404
3405
3406
3407
3408
3409
3410
3411
3412
3413
3414
3415
3416
3417
3418
3419
3420
3421
3422
3423
3424
3425
3426
3427
3428
3429
3430
3431
3432
3433
3434
3435
3436
3437
3438
3439
3440
3441
3442
3443
3444
3445
3446
3447
3448
3449
3450
3451
3452
3453
3454
3455
3456
3457
3458
3459
3460
3461
3462
3463
3464
3465
3466
3467
3468
3469
3470
3471
3472
3473
3474
3475
3476
3477
3478
3479
3480
3481
3482
3483
3484
3485
3486
3487
3488
3489
3490
3491
3492
3493
3494
3495
3496
3497
3498
3499
3500
3501
3502
3503
3504
3505
3506
3507
3508
3509
3510
3511
3512
3513
3514
3515
3516
3517
3518
3519
3520
3521
3522
3523
3524
3525
3526
3527
3528
3529
3530
3531
3532
3533
3534
3535
3536
3537
3538
3539
3540
3541
3542
3543
3544
3545
3546
3547
3548
3549
3550
3551
3552
3553
3554
3555
3556
3557
3558
3559
3560
3561
3562
3563
3564
3565
3566
3567
3568
3569
3570
3571
3572
3573
3574
3575
3576
3577
3578
3579
3580
3581
3582
3583
3584
3585
3586
3587
3588
3589
3590
3591
|
2003-01-09 Chris Toshok <toshok@ximian.com>
* e-msg-composer-hdrs.c (e_msg_composer_hdrs_new): need to
ref/sink "new" so that the g_object_unref doesn't spew a warning.
2003-01-08 Ettore Perazzoli <ettore@ximian.com>
* Makefile.am: Icons are now in $(datadir)/evolution/images
instead of $(datadir)/images/evolution.
2003-01-08 Jeffrey Stedfast <fejj@ximian.com>
* e-msg-composer-hdrs.c (create_from_optionmenu): Use gconf to get
the default account index.
(e_msg_composer_hdrs_set_from_account): Same.
2003-01-07 Jeffrey Stedfast <fejj@ximian.com>
* e-msg-composer-attachment-bar.c (get_default_charset): New
convenience function.
(attach_to_multipart): Use get_default_charset().
* e-msg-composer.c (composer_get_default_charset): Convenience
function.
(get_file_content): Use the convenience function to get the
default charset setting.
(best_charset): Same.
(e_msg_composer_new): Use gconf to get the send_html setting.
(e_msg_composer_new_post): Same.
2003-01-06 Dan Winship <danw@ximian.com>
* Makefile.am: Remove idldir definition. (It's defined in
configure.in now)
2002-12-16 Jeffrey Stedfast <fejj@ximian.com>
* e-msg-composer.c (get_signature_html): Use camel_text_to_html().
(e_msg_composer_new_from_url): Same.
* evolution-composer.c (impl_Composer_set_body): Use
camel_text_to_html().
2002-12-07 Jeffrey Stedfast <fejj@ximian.com>
Fix for bug #33295
* e-msg-composer-attachment.c: Change the parent_class to a
GObjectClass pointer instead of a GtkObjectClass pointer.
(e_msg_composer_attachment_edit): Ref the attachment object so
that if the attachment is removed while it is still being edited,
the attachment object will still exist and therefor foil the
user's attempt to make Evolution crash when they close the
properties dialog for this attachment.
(close_cb): Unref the attachment object.
2002-12-03 Jeffrey Stedfast <fejj@ximian.com>
* e-msg-composer.c (message_rfc822_dnd): Get rid of the unused
exception variable.
2002-11-27 Not Zed <NotZed@Ximian.com>
* e-msg-composer.c (save): removed warning about e_notice. its
used too much, its here to stay.
* *.[ch]: run fix.sh over everything.
2002-12-01 Jeffrey Stedfast <fejj@ximian.com>
* e-msg-composer.c: s/g_str[n]casecmp/str[n]casecmp
2002-11-26 Not Zed <NotZed@Ximian.com>
* e-msg-composer.c (composer_finalise): properly chain finalise.
2002-11-25 Not Zed <NotZed@Ximian.com>
* e-msg-composer-attachment-bar.c (init): Remove the window size
setting.
(e_msg_composer_attachment_bar_new): Move the window size setting
here. Also set icon width based on 15 approximate characters, so
the icon text is more readable.
2002-11-22 Not Zed <NotZed@Ximian.com>
* e-msg-composer-select-file.c: rewrote most of this. Just use
gtkfileselection directly, no e-file-selector, much
smaller/simpler.
2002-11-21 Not Zed <NotZed@Ximian.com>
* e-msg-composer-attachment-bar.c (remove_attachment): fix
g_signal_emit params, detail in wrong spot.
(add_common): Same.
* e-icon-list.c (icon_new_from_pixbuf): remove the
'use_broken_event_handling' set.
(emit_select): Add detail to signal emit.
(text_changed): Same.
* e-msg-composer.c (subject_changed_cb): Duh! dont free subject &
simplify logic a little.
2002-11-20 Not Zed <NotZed@Ximian.com>
* e-msg-composer-hdrs.c (entry_changed): duh, emit the signal
using an initialised value(!).
2002-11-19 Radek Doulik <rodo@ximian.com>
* e-msg-composer.c (e_msg_composer_get_sig_file_content): use
CAMEL_MIME_FILTER_TOHTML_PRESERVE_8BIT flag
2002-11-19 Not Zed <NotZed@Ximian.com>
* e-msg-composer-attachment-bar.c (add_from_file): dont unref
after destroy. duh.
* e-msg-composer-hdrs.c (e_msg_composer_hdrs_set_to): Add type
code to set_property call.
(e_msg_composer_hdrs_set_cc): "
(e_msg_composer_hdrs_set_bcc): "
(e_msg_composer_hdrs_get_to): Do the same for get_property calls.
(init): ref/sink the tooltip object.
(e_msg_composer_hdrs_get_type): fix return type.
* e-msg-composer.c (GNOME_GTKHTML_EDITOR_CONTROL_ID): we want
version 3.0 not 1.1.
(create_composer): Add type code to set property call.
(autosave_manager_query_load_orphans): my bad, we dont unref
dialog's once we've destroyed 'em.
(build_message): "
(get_file_content): "
(save): "
(do_exit): "
(composer_dispose): moved the autosave shutdown here.
2002-11-18 Not Zed <NotZed@Ximian.com>
* e-msg-composer.c (create_composer): Remove check for
gtk_main_level(). as far as i can tell it serves no real purpose,
and i think gtkmain is now redundant.
(e_msg_composer_new_with_message): Same here.
(destroy): moved some stuff into finalise, and made destroy
mulitcall safe.
2002-11-13 Ettore Perazzoli <ettore@ximian.com>
* listener.h: Removed {BEGIN,END}_GNOME_DECLS.
* e-msg-composer-select-file.c: Do not #include
<libgnome/gnome-defs.h>.
* e-msg-composer.c: Likewise.
* listener.h: Likewise.
2002-11-13 Not Zed <NotZed@Ximian.com>
* e-msg-composer.c (setup_ui): bonobo api changes.
* e-icon-list.c (e_icon_list_new): Use the right object_new method.
* e-icon-list.h: get rid of BEGIN/END_GNOME_DECLS stuff.
2002-11-11 Jeffrey Stedfast <fejj@ximian.com>
* e-msg-composer-attachment-bar.c: Remove some unused ehaders and
ones that cause compilation failures (such as gnome-defs.h).
* e-icon-list.h: Same.
2002-11-08 Not Zed <NotZed@Ximian.com>
* listener.c: Fix bonobo object setup.
* e-msg-composer-hdrs.c: Remove oaf stuff, fix destroy to be
multi-call safe.
* e-msg-composer-attachment.c (e_msg_composer_attachment_new):
Remove utf8 from locale conversions, & glib api changes.
(ok_cb): "
* e-msg-composer-attachment-bar.c (add_from_file): gtk message
dialog.
(pixbuf_for_mime_type): glib,gnome-vfs api changes.
(init): Estimate the icon_height based on the pango font
description size, this is probably not correct.
(properties_cb):
(remove_cb): Changed signature for gnomeui callbacks.
(popup_icon_context_menu):
(popup_context_menu): popup_menu api change
(destroy): Protect from multiple calls.
(e_msg_composer_attachment_bar_new): Remove push/pop
visual/colormap stuff.
* composer-marshal.list: The list of marshallers used by the
composer.
* Makefile.am (composer-marshal.h): Added composer marshal builder.
* evolution-composer.c (class_init): bonobo object epv setup change.
(factory_fn): Fix changes to factory callback.
* e-icon-list.c: (icon_get_height): Use bounding box to calc
height.
(icon_event): drop gtk_selection_extended.
(e_icon_list_remove): "
(select_icon):
(unselect_icon): "
* e-msg-composer.c (autosave_save_draft): Dup fd rather than poke
camel_stream_fd's data. Also, use camel_stream_close() rather
than flush.
(autosave_manager_query_load_orphans): Port to gtk dialog.
(autosave_query_cb): Removed, redundant.
(save): Port to gtkdialog.
(prepare_engine): Fix bonobo-object-client code.
(get_file_content): gtk dialog
(do_exit): gtk dialog.
(setup_signatures_menu): dump gtkutf8 stuff.
(marshal_NONE__NONE_INT): What WAS jeff thinking? Removed :)
(class_init): g object setup.
(e_msg_composer_get_type): "
(create_composer): remove bonobo_window_construct, use create
property instead. g_signal stuff. bonobo stuff.
(is_special_header): Use ascii_strncasecmp
(e_msg_composer_set_pending_body): gtk->g_object_get/set_data.
(e_msg_composer_set_body): use ascii_strncasecmp
(e_msg_composer_add_inline_image_from_mime_part): make cid const.
(autosave_manager_register):
(autosave_manager_unregister): Use g_path_get_basename() & account
for differences.
(composer_shutdown): rename to finalise/etc.
(class_init): Use object:finalize instead of shutdown.
(e_msg_composer_set_body): Use _() rather than U_().
(build_message): gtk dialog.
2002-11-06 Not Zed <NotZed@Ximian.com>
* e-msg-composer-attachment-bar.c (pixbuf_for_mime_type): Add
error return to gdk_pixbuf_new_from_file().
2002-11-01 Jeffrey Stedfast <fejj@ximian.com>
* e-msg-composer.c (e_msg_composer_new_from_url): Add support for
an attach option in the mailto: url.
2002-10-29 Jeffrey Stedfast <fejj@ximian.com>
* e-msg-composer.c (e_msg_composer_new_with_message): Make sure to
save References and In-Reply-To headers. Fixes bug #32932.
2002-10-26 Jeffrey Stedfast <fejj@ximian.com>
* e-msg-composer-attachment-bar.c (attach_to_multipart): Don't set
the charset param on text parts nor tha rawtext bit on the content
if a charset for the part is already specified.
2002-10-25 Ettore Perazzoli <ettore@ximian.com>
* e-msg-composer-attachment-bar.c (size_to_string): Return NULL
instead of the empty string if the size is less than one K.
(update): Only put the size if size_to_string() doesn't return
NULL. [#32751]
2002-10-18 Jeffrey Stedfast <fejj@ximian.com>
* e-msg-composer-hdrs.c (create_from_optionmenu): Only add the
account address to the list of addresses if it is non-NULL. Fixes
bug #32446 although it shouldn't ever happen anyway (an account
address is not allowed to be NULL).
2002-10-16 Jeffrey Stedfast <fejj@ximian.com>
* e-msg-composer-attachment.c (e_msg_composer_attachment_new): We
need to treat message/rfc822 streams differently. Fixes bug
#32378.
2002-10-16 Not Zed <NotZed@Ximian.com>
* e-msg-composer-select-file.c (select_file_internal): Mark the
file selector modal. Quick fix for bug #32256.
2002-10-04 Jeffrey Stedfast <fejj@ximian.com>
* e-msg-composer-attachment-bar.c (attach_to_multipart): Set
content->rawtext to TRUE for text parts because the content is in
its raw form (since we didn't know the charset when we created
it). Also only write out the content-object to discover the best
encoding, we don't want to include the headers of the MIME
part. Second half of the fix for bug #31655.
2002-10-02 Jeffrey Stedfast <fejj@ximian.com>
* e-msg-composer.c (get_file_content): Don't create a new file if
the file doesn't exist.
2002-10-01 Jeffrey Stedfast <fejj@ximian.com>
* e-msg-composer.c (build_message): If the user hits cancel when
signing/encrypting, don't continue constructing the message,
instead abort (and just don't pop up a dialog).
2002-10-01 Jeffrey Stedfast <fejj@ximian.com>
* e-msg-composer.c (build_message): When signing/encrypting a
part, if a USER_CANCEL occurs, re-use the part otherwise unref it
and replace it with the new part.
2002-09-30 Aaron Weber <aaron@ximian.com>
* evolution-composer.c (evolution_composer_factory_init): adjust
string on line 391
* e-msg-composer.c (create_composer): adjust string on 2872
2002-09-27 Dan Winship <danw@ximian.com>
* Evolution-Composer.idl (setHeaders): let the caller set the
"From" account too (by name or address).
* evolution-composer.c (impl_Composer_set_headers): Update for
that.
2002-09-27 Jeffrey Stedfast <fejj@ximian.com>
* e-msg-composer.c (build_message): Don't reuse the part that
we've signed and/or encrypted, create a new part container
instead. Fixes bug #31379.
2002-09-25 Dan Winship <danw@ximian.com>
* e-msg-composer-hdrs.c (create_headers): Use "mail/*" for the
allowed_types for the posting folder selector.
2002-09-24 Dan Winship <danw@ximian.com>
* e-msg-composer-hdrs.c (create_from_optionmenu): Only append the
account name to the end of the From menu item if the email address
is not unique. (That was added for people who have multiple
accounts with the same email address but different transports. The
rest of us don't need to be reminded of the account name, and
having it there can make the window very wide.)
2002-09-24 Zbigniew Chyla <cyba@gnome.pl>
* e-msg-composer-attachment-bar.c (size_to_string):
Don't mark empty string with _().
2002-09-23 Ettore Perazzoli <ettore@ximian.com>
* e-icon-list.c (icon_new_from_pixbuf): Removed a #warning.
* e-msg-composer-attachment-bar.c (size_to_string): Don't use dots
here so we don't get funny wrapping from GnomeIconList. [#236]
2002-09-22 Dan Winship <danw@ximian.com>
* e-msg-composer.c (save): Fix non-ANSI switch statement
2002-09-19 Radek Doulik <rodo@ximian.com>
* e-msg-composer.c (signature_cb): allow to select last 2 menu
items
2002-09-17 Jeffrey Stedfast <fejj@ximian.com>
* e-msg-composer.c (add_attachments_from_multipart): Handle
multipart/signed and multipart/encrypted parts in a more expected
way. Fixes bug #28453.
2002-09-15 Kjartan Maraas <kmaraas@gnome.org>
* e-msg-composer.c: Mark a string for translation.
2002-09-05 Ettore Perazzoli <ettore@ximian.com>
* e-msg-composer.c (composer_key_pressed): Don't chain the event
handler here -- that's just wrong! Also stop emission of the
signal when we catch Escape.
2002-09-04 Jeffrey Stedfast <fejj@ximian.com>
* e-msg-composer.c (create_composer): Make it so that the composer
will close when the user hits Escape.
2002-08-27 Radek Doulik <rodo@ximian.com>
* e-msg-composer.c (signature_cb): removed "Set as default" menu item
2002-08-26 Peter Williams <peterw@ximian.com>
* e-msg-composer.c (handle_multipart): Oops, we were overwriting
'multipart' with our child multipart. Fixes 29399.
(handle_multipart_alternative): Here too.
2002-08-22 Jeffrey Stedfast <fejj@ximian.com>
Fixes bug #29016
* e-msg-composer.c (e_msg_composer_new_with_message): If the
X-Evolution-PostTo header exists, then treat this message composer
as a PostTo composer rather than a mail composer.
* e-msg-composer-hdrs.c (e_msg_composer_hdrs_to_message_internal):
Set the X-Evolution-PostTo header if that is the mdoe we are in.
2002-08-16 Dan Winship <danw@ximian.com>
* e-msg-composer-hdrs.c (create_headers): Use an
EvolutionFolderSelectorButton instead of a label to indicate the
posting destination. #27920.
(e_msg_composer_hdrs_set_post_to): Use
evolution_folder_button_set_uri.
(e_msg_composer_hdrs_get_post_to): Use
evolution_folder_button_get_folder.
2002-08-14 Dan Winship <danw@ximian.com>
* e-msg-composer.c (from_changed_cb): Don't turn on pgp signing if
this is an iMIP message and pgp_no_imip_sign is set.
(e_msg_composer_set_body): If setting a text/calendar body and
pgp_no_imip_sign is true, turn off signing.
2002-08-13 Jeffrey Stedfast <fejj@ximian.com>
* e-msg-composer.c (do_exit): Make the warning dialog display the
message subject so that it is more clear which composer the dialog
is referring to. Fixes bug #25467.
2002-08-12 Jeffrey Stedfast <fejj@ximian.com>
* e-msg-composer-select-file.c (create_file_selection): Set the
file-selection window icon. Fixes the mailer part of bug #7368.
* e-msg-composer-attachment.c (e_msg_composer_attachment_new):
Don't call new_from_mime_part() since that function now does some
copying of the mime part rather than simply reffing it.
(e_msg_composer_attachment_new_from_mime_part): Make a copy of the
MIME part so that if the message that this part belongs to gets
deleted from the the remote store, the composer will still have a
copy of it. Fixes bug #20308.
2002-07-31 Jeffrey Stedfast <fejj@ximian.com>
* e-msg-composer.c (e_msg_composer_new_with_message): Parse the
auto-cc/bcc recipients and then later when parsing the cc/bcc
recipients into EDestination objects, if the address is an
auto-*cc address, then set auto_recipient to TRUE on that
EDestination. This fixes bug #28339.
2002-07-29 Radek Doulik <rodo@ximian.com>
* e-msg-composer.c (encode_signature_name): new helper function
(decode_signature_name): new helper function
(get_signature_html): use encode_signature_name
(set_signature_gui): use decode_signature_name
2002-07-26 Radek Doulik <rodo@ximian.com>
* e-msg-composer.c (do_exit): don't assert on default, when ESC is
pressed, the dialog is closed as well and we get button number -1
(set_signature_gui): new helper method to set signature from draft
message
(e_msg_composer_new_with_message): use set_signature_gui
2002-07-26 Ettore Perazzoli <ettore@ximian.com>
* e-msg-composer-attachment-bar.c (pixbuf_for_mime_type):
Special-case message/digest, multipart/digest and message/rfc822
and give them a nice icon. [#9786]
* Makefile.am (INCLUDES): Add -D for EVOLUTION_ICONSDIR.
2002-07-24 Jeffrey Stedfast <fejj@ximian.com>
* e-msg-composer-hdrs.c (create_headers): Create the Post-To
header.
(headers_set_visibility): Possibly show the Post-To header.
(attach_headers): Attach the Post-To header.
(e_msg_composer_hdrs_set_post_to): Set the text for the Post-To
header.
(e_msg_composer_hdrs_get_post_to_label): Return the label widget
for this header pair.
(e_msg_composer_hdrs_set_visible_mask): New function to set the
visible mask (so we can disallow certain headers to be shown).
(e_msg_composer_hdrs_new): Save the visible mask argument.
(setup_headers): To: does not always have to be visible anymore.
(e_msg_composer_hdrs_get_post_to): New function to get the url for
the Post-To folder.
* e-msg-composer.c (e_msg_composer_get_visible_flags): Set the
Post-To bit when it is supposed to be visible.
(e_msg_composer_new_post): Set the visible_mask to only allow the
headers needed for Posting.
2002-07-25 Dan Winship <danw@ximian.com>
* e-msg-composer.c (e_msg_composer_set_body): Fix spelling.
2002-07-23 Radek Doulik <rodo@ximian.com>
* e-msg-composer.c (autosave_run): restart automanager to avoid
multiple dialog apearing
2002-07-23 Not Zed <NotZed@Ximian.com>
* Applied patch below.
2002-07-19 Christian Kreibich <christian@whoop.org>
* e.msg-composer.c (get_signature_html): Test for the signature
delimiter not only at the beginning of a signature file, but also
inside the signature.
2002-07-23 Jeffrey Stedfast <fejj@ximian.com>
* e-msg-composer.c (e_msg_composer_set_view_bcc): Reverted some
code that got committed by accident.
(e_msg_composer_set_view_cc): Same.
(e_msg_composer_set_view_replyto): Here too.
(e_msg_composer_set_view_from): And here.
2002-07-22 Jeffrey Stedfast <fejj@ximian.com>
* e-msg-composer.c: Removed a lot of extra g_return_if_fail's that
we don't need (if we are going to check if the pointer is a a
composer widget using the gtk type-check macros, then there is no
need to first check that it isn't NULL).
(get_file_content): Signatures are now supposed to be in UTF-8 and
not the user's locale charset, so we must first read in the
content, then check that it is valid UTF-8. If it isn't, then we
need to try to convert it to UTF-8.
2002-07-22 Radek Doulik <rodo@ximian.com>
* e-msg-composer.c: removed Insert File menu item
2002-07-19 Not Zed <NotZed@Ximian.com>
* e-msg-composer-hdrs.c (e_msg_composer_hdrs_to_message_internal):
This should use address_encode, since its an rfc822 address, not
address_format which is for display.
2002-07-17 Radek Doulik <rodo@ximian.com>
* e-msg-composer.c (save): use "saved" gtkhtml command
(e_msg_composer_is_dirty): use "is-saved" gtkhtml command
2002-07-16 Jeffrey Stedfast <fejj@ximian.com>
* e-msg-composer.c (e_msg_composer_set_headers): Set the
from-account last so that auto-cc/bcc recipients don't get
overwritten when setting the cc/bcc recipient fields.
2002-07-16 Peter Williams <peterw@ximian.com>
* e-msg-composer.c (create_composer): Instead of doing this with a
weakref, do it by connecting to the destroy signal. The weakref was
not getting notified in certain conditions that I could never really
pin down, and this caused problems at exit.
* e-msg-composer-hdrs.c (create_headers): Reorder to create reply_to
before from, because create_from_optionmenu causes from_changed to
be called, which expects reply_to.entry to exist.
2002-07-15 Radek Doulik <rodo@ximian.com>
* e-msg-composer.c (build_message): added save_html_object_data
parameter, use gtkhtml command to save object data when wanted
2002-07-08 Peter Williams <peterw@ximian.com>
* Makefile.am (INCLUDES): Fix cflags for ebook header namespacing.
2002-07-05 Jeffrey Stedfast <fejj@ximian.com>
* evolution-composer.c (init): Don't connect to the postpone
signal, but do connect to the save-draft signal.
(evolution_composer_factory_init): No longer takes a postpone_cb
argument, but does now take a save_draft_cb argument.
* e-msg-composer.c (menu_file_send_later_cb): Removed.
(class_init): Removed the POSTPONE signal.
(setup_ui): Don't need to swap the Send/SendLater tooltips and
accels anymore, since SendLater no longer exists.
2002-06-26 Jeffrey Stedfast <fejj@ximian.com>
* e-msg-composer.c (build_message): Use the new
CamelMultipartEncrypted class to do our encryption work for us. We
also need to always get the user's userid before encrypting since
pgp/gpg need that.
(e_msg_composer_new_with_message): Handle multipart/signed and
multipart/encrypted parts by adding the (decrypted) content and
setting the composer to pgp sign/encrypt the message when the user
re-sends it.
2002-06-25 Jeffrey Stedfast <fejj@ximian.com>
* e-msg-composer.c (build_message): Use
mail_crypto_get_pgp_cipher_context() so that the PGP/GPG decision
is done for us.
2002-06-21 Jeffrey Stedfast <fejj@ximian.com>
* e-msg-composer.c (build_message): Use the new gpg cipher context
rather than the old pgp context.
2002-06-19 Radek Doulik <rodo@ximian.com>
* e-msg-composer.c (get_signature_html): don't convert text to
html twice
2002-06-10 Radek Doulik <rodo@ximian.com>
* e-msg-composer.c (signature_cb): added "Set as default" menu
item
* e-msg-composer-hdrs.c (e_msg_composer_hdrs_get_from_omenu): new
method
(e_msg_composer_hdrs_set_from_account): use
e_msg_composer_hdrs_get_from_omenu
2002-06-07 Radek Doulik <rodo@ximian.com>
* e-msg-composer.c (get_signature_html): use new script signature
interface
2002-06-06 Jeffrey Stedfast <fejj@ximian.com>
* e-msg-composer-hdrs.c (e_msg_composer_hdrs_set_from_account):
Agh, priv->from.entry is no longer a GtkOptionMenu - it is an hbox
containing the GtkOptionMenu.
* e-msg-composer.c (setup_ui): Remove the customize toolbar thingy
since Michael said that this would fix bug #17952.
* e-msg-composer-hdrs.c (e_msg_composer_hdrs_set_from_account):
Clean up the logic in this. For one, we don't need to do strstr
using the account address (wtf??).
2002-06-05 Radek Doulik <rodo@ximian.com>
* e-msg-composer-hdrs.c (create_from_optionmenu): put option menu
to hbox to make space for signatures menu
(e_msg_composer_hdrs_get_from_hbox): new helper function
* e-msg-composer.c: moved signatures from menu to option menu next
to From:
2002-06-03 Not Zed <NotZed@Ximian.com>
* e-msg-composer.c (build_message): Properly handle user
cancellation for signing/encrypting, just dont sign but create
anyway.
(e_msg_composer_get_subject): Wrapper function to get the subject
from the header object.
(e_msg_composer_get_to):
(e_msg_composer_get_cc):
(e_msg_composer_get_bcc): Same for the destination types.
2002-06-03 Jeffrey Stedfast <fejj@ximian.com>
* e-msg-composer.c (e_msg_composer_guess_mime_type): Allocate a
new FileInfo struct here rather than using and unref it when we're
finished with it.
2002-05-30 Not Zed <NotZed@Ximian.com>
* e-msg-composer.c (build_message): Changes for multipart/signed
api changes.
2002-05-16 Ettore Perazzoli <ettore@ximian.com>
* e-msg-composer.c: New local `all_composers'; keeps a list of all
the composer windows created. Changed type of `parent_class' to
BonoboWindowClass *.
(do_exit): Cleaned up a bit. Raise the composer window before
showing the message box dialog.
(exit_dialog_cb): Removed.
(e_msg_composer_request_close_all): New.
(create_composer): Add the composer to the all_composers list and
weakref it.
(msg_composer_destroy_notify): GtkDestroyNotify function for the
composer's weakref; remove the composer from the all_composers
list.
2002-05-15 Jeffrey Stedfast <fejj@ximian.com>
* e-msg-composer-attachment.c (e_msg_composer_attachment_new):
Just use g_basename.
2002-04-26 Jeffrey Stedfast <fejj@ximian.com>
* e-msg-composer.c (build_message): Check for empty-string pgp-key
ids and don't use them.
2002-04-16 Jeffrey Stedfast <fejj@ximian.com>
* e-msg-composer-hdrs.c (destroy): Unref the priv->tooltips object
here.
* e-msg-composer-attachment-bar.c (destroy): Free the priv struct.
* e-msg-composer.c (set_editor_signature): We don't need a 'name'?
So don't strdup it.
2002-04-12 Jeffrey Stedfast <fejj@ximian.com>
* e-msg-composer-hdrs.c (from_changed): Change the Reply-To header
contents.
(e_msg_composer_hdrs_set_reply_to): The Reply-To entry was an
EEntry, not a bonobo control so fix this to set the text using
e_entry_set_text.
(e_msg_composer_hdrs_get_reply_to): Use e_entry_get_text here for
the same reason.
2002-04-08 Jeffrey Stedfast <fejj@ximian.com>
* e-msg-composer.c (set_editor_text): No need to query for the
persist-stream interface here, just re-use
composer->persist_stream_interface - this might improve the speed
at which a reply action brings up the composer.
2002-04-09 Not Zed <NotZed@Ximian.com>
* e-msg-composer-hdrs.c (set_recipients_from_destv): Use decode
rather than unformat - the e_destination was changed (long time
ago) to rfc2047 encode the addresses, so we should decode
likewise. Should fix #16158.
* e-msg-composer.c (next_word): g_utf8_next_char never returns
NULL, it just skips to the next character. So like normal string
code, we just check for a nul explicitly. Fixes a bug found while
checking #16158.
2002-04-05 Jeffrey Stedfast <fejj@ximian.com>
Fixes bug #3980.
* e-msg-composer-hdrs.c (e_msg_composer_hdrs_set_cc): If a Cc list
is set to something non-empty, make sure to show the Cc widgets.
(e_msg_composer_hdrs_set_bcc): Same but for Bcc.
(e_msg_composer_hdrs_set_reply_to): And here.
2002-03-28 Christopher James Lahey <clahey@ximian.com>
* e-msg-composer-select-file.c: Switch to using EFileSelection
here instead of GtkFileSelection.
2002-03-27 Larry Ewing <lewing@ximian.com>
* Makefile.am: fix for the changes to GTKHTML_DATADIR that include
the release number.
2002-03-18 Dan Winship <danw@ximian.com>
* Evolution-Composer.idl, evolution-composer.c
(impl_Composer_show): "Forward as iCalendar" uses set_body, so we
can't make the composer un-showable after doing that. So get rid
of the "cannot show" exception.
* e-msg-composer.c (e_msg_composer_set_body): Prepare the composer
to be shown in its weird state: Put an explanatory message in the
body, then call disable_editor.
(disable_editor): Common editor-disabling code - makes the editor
and attachment bar insensitive and disables any menu items that
could be used to modify them.
(e_msg_composer_new_redirect): Use disable_editor here now.
2002-03-15 Radek Doulik <rodo@ximian.com>
* e-msg-composer.c: use gtkhtml editor API version 1.1
2002-03-11 Dan Winship <danw@ximian.com>
* listener.c (impl_event): Remove the extremely verbose printf
here.
2002-03-07 Radek Doulik <rodo@ximian.com>
* e-msg-composer.c (destroy): ops, unregister and not register new
one sig_event_client
2002-03-04 Dan Winship <danw@ximian.com>
* e-msg-composer.c (build_message): Fix a dumb bug in previous
commit that broke iMIP containing 8-bit data.
2002-02-25 Dan Winship <danw@ximian.com>
Mailer side of 14705.
* Evolution-Composer.idl (setBody): Change setBodyText to setBody
and take a MIME type as well.
(show): Add an exception.
* evolution-composer.c (impl_Composer_set_body, etc): Update for
IDL change. While I'm here, fix this to DTRT with both plaintext
and HTML bodies. (It claimed to take plain text before, but then
passed it to the composer as HTML.)
(impl_Composer_show): Raise an exception if setBody has been
called, since the composer window will not display the real data
in that case.
* e-msg-composer.c (e_msg_composer_set_body): interface for
impl_Composer_set_body.
(build_message): If e_msg_composer_set_body has been called, use
the body and MIME type supplied to it rather than the contents of
the HTML editor.
2002-02-14 Radek Doulik <rodo@ximian.com>
* e-msg-composer.c (delete_old_signature): don't insert paragraph
here, also delete paragraph where signature was
(e_msg_composer_show_sig_file): test if we are in empty document
and if so, insert new paragraph for signature
2002-02-12 Jeffrey Stedfast <fejj@ximian.com>
* e-msg-composer.c (e_msg_composer_flush_pending_body): Use
set_editor_text()
(e_msg_composer_new_from_url): Same.
(e_msg_composer_set_body_text): Re-Show the signature.
2002-02-12 Radek Doulik <rodo@ximian.com>
* e-msg-composer.c (e_msg_composer_is_dirty): reflect gtkhtml API
change
2002-02-11 Radek Doulik <rodo@ximian.com>
* e-msg-composer.c (e_msg_composer_drop_editor_undo): new method,
drops undo in editor and resets dirty flag in editor
(do_exit): remove TRUE from condition as dirty flag in editor
should work now
(e_msg_composer_is_dirty): use new editor API for dirty flag
2002-02-01 Jeffrey Stedfast <fejj@ximian.com>
* e-msg-composer.c (update_auto_recipients): Update the
auto-cc/bcc recipients in the composer header fields to match the
ones chosen in the account configuration.
2002-01-31 Radek Doulik <rodo@ximian.com>
* e-msg-composer.c (e_msg_composer_ignore): new method, tells
composer to ignore all word in str string
(next_word): helper function to get next word from s, saves rest
of s to sr
2002-01-29 Jeffrey Stedfast <fejj@ximian.com>
* e-msg-composer.c (build_message): If we are in redirect mode,
use the original message and set the resent-* headers using
e_msg_composer_hdrs_to_redirect() and then return.
(destroy): Unref the redirected message if it exists.
* e-msg-composer-hdrs.c (e_msg_composer_hdrs_to_redirect): New
function for a composer in redirect mode.
2002-01-27 Ettore Perazzoli <ettore@ximian.com>
* Makefile.am: Use GNOME_FULL_CFLAGS.
2002-01-10 Jeffrey Stedfast <fejj@ximian.com>
* e-msg-composer.c (get_file_content): Rewrote to use CamelStreams
and also convert the file contents to UTF-8 (assums the file
charset is the same charset that the composer is set to).
(menu_file_insert_file_cb): Pass the composer into
get_file_content().
(e_msg_composer_get_sig_file_content): Pass NULL as the composer
argument.
2002-01-09 Jeffrey Stedfast <fejj@ximian.com>
* e-msg-composer.c (class_init): Fixed the setup of the
"save-draft" signal so that it would actually work.
2002-01-08 Jeffrey Stedfast <fejj@ximian.com>
* e-msg-composer.c (is_special_header): Greatly simplified. No
need to have a list of headers to not accept - we can just refuse
all headers that are not X-* headers (other than X-Evolution
headers).
2002-01-07 Jeffrey Stedfast <fejj@ximian.com>
* e-msg-composer.c (e_msg_composer_get_message_draft): Set the
X-Evolution-Format header to text/plain if that is the editing
mode we are really in. This fixes bug #11499.
2002-01-04 Jeffrey Stedfast <fejj@ximian.com>
* e-msg-composer.c (e_msg_composer_new_from_url): A few minor
fixes to make it more compliant with rfc2368. Should now be fully
rfc compliant as far as I can tell.
2002-01-03 Jeffrey Stedfast <fejj@ximian.com>
* e-msg-composer-attachment.c (e_msg_composer_attachment_edit):
Only connect to the parent's destroy/hide signals while the
attachment editor dialog is "alive".
2001-12-21 Jeffrey Stedfast <fejj@ximian.com>
* e-msg-composer-select-file.c (composer_hide_cb): Only cancel the
selection dialog if it is currently in use, otherwise we'll get an
extra gtk_main_quit and the mailer will exit :-(
2001-12-17 Jeffrey Stedfast <fejj@ximian.com>
* e-msg-composer.c (read_file_content): Don't block forever if we
are reading a fifo with no data.
2001-12-14 Jeffrey Stedfast <fejj@ximian.com>
* e-msg-composer.c (class_init): Setup the SAVE_DRAFT signal.
(menu_file_save_draft_cb): Emit the SAVE_DRAFT signal.
(exit_dialog_cb): Same here.
(save_draft): Removed. This code is now a signal that
mail-callbacks will connect to.
2001-12-11 Jeffrey Stedfast <fejj@ximian.com>
* e-msg-composer-attachment.c (e_msg_composer_attachment_edit):
Attach to the parent widget's destroy signal - when that gets
destroyed, we need to cancel the editor dialog too. Also connect
to our parent window's "hide" signal so that when the composer
gets hidden (ie, it's being sent), we also close the dialogs.
* e-msg-composer.c (init): Default composer->enable_autosave to
TRUE.
2001-12-11 Jeffrey Stedfast <fejj@ximian.com>
* e-msg-composer-select-file.c (confirm): If multiple-selection is
enabled but nothing is slected, fall back to using the filename in
the entry box as the "selected" file.
(create_file_selection): If the composer gets hidden (ie it's
being "sent") then cancel the file selection dialog.
2001-12-11 Jeffrey Stedfast <fejj@ximian.com>
* e-msg-composer-select-file.c
(file_selection_info_destroy_notify): If the widget is non-NULL,
then gtk_widget_destroy that bad boy...
2001-12-10 Jeffrey Stedfast <fejj@ximian.com>
* e-msg-composer-attachment-bar.c (add_from_user):
select_file_attachments now returns a GPtrArray so handle that and
loop until we've added all the attachment files.
* e-msg-composer-select-file.c (confirm): Add an evil kludge to
get a list of filenames from the GtkFileSelection widget based on
the label in the history option menu item and the base filenames
of the selected items in the filename clist.
(create_file_selection): Setup the clist to allow multiple
selection.
(file_selection_info_destroy_notify): Destroy the GPtrArray
containing the list of xselected files.
(select_file_internal): Return a GPtrArray of files instead of a
char *.
2001-12-10 Jon Trowbridge <trow@ximian.com>
* e-msg-composer.c (get_file_content): Only execute an executable
sig file if a magic environment variable is set.
2001-12-06 Jon Trowbridge <trow@ximian.com>
* e-msg-composer.c (executed_file_output): Added. Executes the
given file and returns its output as a string.
(get_file_content): Stats the file to see if it is executable.
If it is, execute it and return the string. If not, just read
the file and return the contents.
2001-11-30 Jeffrey Stedfast <fejj@ximian.com>
* e-msg-composer.c (setup_ui): Change the FileSend tooltip the be
the same as the FileSendLater tooltip if we are in offline mode.
2001-11-11 Jeffrey Stedfast <fejj@ximian.com>
* e-msg-composer.c (drag_data_received): Allow drag & drop for
vcards.
2001-11-30 Jeffrey Stedfast <fejj@ximian.com>
* e-msg-composer.c (setup_ui): Change the FileSend tooltip the be
the same as the FileSendLater tooltip if we are in offline mode.
2001-11-14 Larry Ewing <lewing@ximian.com>
* e-msg-composer.c (create_composer): popup failure dialog if we
cannot get a valid editor_engine.
(prepare_engine): make the checks robust and make sure that we
unset the engine if any part fails.
2001-11-02 Radek Doulik <rodo@ximian.com>
* e-msg-composer.c (add_inlined_images): use hash table to
eliminate duplicates
2001-11-02 <NotZed@Ximian.com>
* e-msg-composer.c (e_msg_composer_set_enable_autosave): New
function, enable/disable autosave for the composer temporarily.
(autosave_run_foreach_cb): Only save if we have enable autosave
turned on. In other cases we want to save it regardless.
2001-10-30 Dan Winship <danw@ximian.com>
* e-msg-composer.c (build_message): Add back the "remove
Content-Disposition when sending itip" hack.
* Evolution-Composer.idl (setMultipartType): New.
* evolution-composer.c (impl_Composer_set_multipart_type): Allow
caller to specify a multipart/alternative rather than
multipart/mixed.
* e-msg-composer.c (build_message): Revert yesterday's changes.
Add new ones for sending multipart/alternative.
2001-10-30 Larry Ewing <lewing@ximian.com>
* e-msg-composer.h: add dirty prototype.
* e-msg-composer.c: add dirty implementation.
2001-10-30 Radek Doulik <rodo@ximian.com>
* listener.c (insert_paragraph_before): new helper function,
extracted
(insert_paragraph_after): ditto
(impl_event): process command_before and command_after, use new
functions
(clear_signature): reset style to be sure
(reply_indent): ditto
2001-10-30 Dan Winship <danw@ximian.com>
* e-msg-composer.c (build_message): Remove Content-Disposition in
the no_body case. (More kludging around Outlook iCalendar
brokenness.)
2001-10-29 Ettore Perazzoli <ettore@ximian.com>
* e-msg-composer.c (setup_ui): Put the charset encoding submenu in
the EncodingPlaceholder.
2001-10-29 Dan Winship <danw@ximian.com>
* evolution-composer.c (init): Set the (new) "no_body" flag on the
composer.
(impl_Composer_set_body_text): And unset it here.
(unset_no_body): And here (called if/when the composer is
realized).
* e-msg-composer.c (build_message): If the composer has the
"no_body" flag set, and a single attachment, promote that
attachment to be the message body.
2001-10-30 Radek Doulik <rodo@ximian.com>
* listener.c (reply_indent): simplified, requires new gtkhtml
2001-10-29 Larry Ewing <lewing@ximian.com>
* e-msg-composer.h: add GList to hold the current images.
* listener.c (resolve_image_url): keep track of the images that
the editor is currently uses in current_images as well as storing
the images in the hash.
* e-msg-composer.c (clear_current_images): clear the list of
images actually in the message.
(add_inlined_images): use the current image list rather than the
hash tables.
(build_message): clear the current image list when appropriate.
(init): initialize current_images.
2001-10-24 Jeffrey Stedfast <fejj@ximian.com>
* e-msg-composer.c (add_attachments_from_multipart): New function
that replaces handle_multpart() and handle_multipart_alternative()
for add_message_attachments().
(e_msg_composer_add_message_attachments): Call
add_attachments_from_multipart().
(handle_multipart_alternative): Now only used by
new_with_message() and is really only designed to work well with
messages generated by Evolution (ie for editing Drafts and such).
(handle_multipart): Same.
(e_msg_composer_new_with_message): No longer calls
add_message_attachments() because we can't ever have this fail and
the logic in add_message_attachments() is impossible
logic. Instead do like what we used to do before the addition of
add_message_attachments() came along.
2001-10-24 Larry Ewing <lewing@ximian.com>
* e-msg-composer.c
(e_msg_composer_add_inline_image_from_mime_part): rework this so
that we don't end up freeing the cid then reading from it.
2001-10-22 Jon Trowbridge <trow@ximian.com>
* e-msg-composer-hdrs.c (create_from_optionmenu): Check that
account->id->address != NULL.
2001-10-21 Dan Winship <danw@ximian.com>
Make inline images used for replies not show up as
attachments. Also, I think this should make replies to HTML
messages containing inline images referenced via Content-Location
work, but that's not tested.
* e-msg-composer.c (various): Keep two hash tables of inline image
data: one mapping from cid: URLs to CamelMimeParts for all
attachments, the other mapping from file: and Content-Location
urls to CamelMimeParts (for those inline images that came from a
file or have a Content-Location).
(add_inlined_images): Simplify. Most of this code is in
e_msg_composer_add_inline_image_from_file() now.
(e_msg_composer_add_message_attachments, handle_multipart): Change
"attach_all" arg to "just_inlines". If it is set, call
e_msg_composer_add_inline_image_from_mime_part on any attachment
with a Content-Id or Content-Location.
(e_msg_composer_add_inline_image_from_file): Create a mime part
from a file and add it to the inline images hash.
(e_msg_composer_add_inline_image_from_mime_part): Add a mime part
directly to the inline images hash.
* listener.c (resolve_image_url): If asked to resolve a file: URL
that isn't in the inline images hash, call
e_msg_composer_add_inline_image_from_file to get a cid for it.
(impl_event): Look up the URL in the inline_images and
inline_images_by_url hashes.
* e-msg-composer-attachment-bar.c
(e_msg_composer_attachment_bar_find_message): Gone. No longer
used.
2001-10-19 Jeffrey Stedfast <fejj@ximian.com>
* e-msg-composer.c (handle_multipart): Now takes a 'attach_all'
argument. If !attach_all, then only attach the attachment if the
part has a content-id, otherwise we can safely assume that nothing
references it thus we don't need to attach it.
(e_msg_composer_add_message_attachments): Now takes a 'attach_all'
argument that overrides the "only attach attachments if they have
a content-id header" behavior.
(e_msg_composer_new_with_message): Pass TRUE as the attach_all
argument to add_message_attachments.
2001-10-18 Jeffrey Stedfast <fejj@ximian.com>
* e-msg-composer.c (best_encoding): Don't use a
g_return_val_if_fail after iconv_open, this is a valid error
condition and so should use check it for real.
* e-msg-composer-attachment-bar.c (attach_to_multipart): Correctly
set the charset parameter and use camel's bestenc filter to
determine which content transfer encoding to use.
2001-10-15 Larry Ewing <lewing@ximian.com>
* e-msg-composer.c (e_msg_composer_add_message_attachments):
s/apply/flush/.
(e_msg_composer_flush_pending_body): renamed from apply now takes
apply as an argument.
(e_msg_composer_show_sig_file): s/g_assert/g_return_if_fail/
warnings make for less painful bugs than crashes.
(set_editor_text): s/g_assert/g_return_if_fail/
2001-10-13 Dan Winship <danw@ximian.com>
* e-msg-composer.c (autosave_manager_unregister): Don't pop up an
"unable to retrieve message" if the composer never finished
initializing.
(init): Don't call autosave_manager_register here: wait until the
end of create_composer.
(create_composer): Remove the distinction between this and
e_msg_composer_construct since there's no need for the latter. Use
e_activation_failure_dialog if either the selectnames component or
the gtkhtml editor fails.
* e-msg-composer-hdrs.c (setup_corba): Don't g_warn if the oaf
activation fails. create_composer() will tell the user.
2001-10-11 Jeffrey Stedfast <fejj@ximian.com>
* listener.c (impl_event): Deleted declaration of len.
* e-msg-composer.c (e_msg_composer_add_message_attachments): Take
a settext argument.
(e_msg_composer_new_with_message): Updated to pass the settext argument.
2001-10-10 Jon Trowbridge <trow@ximian.com>
* e-msg-composer-hdrs.c (e_msg_composer_hdrs_set_from_account):
Check for either a matching account name, or for a matching e-mail
address embedded in the passed-in string. (Fixes half of bug
#3255)
(destroy): Call bonobo_object_release_unref on corba_select_names,
not CORBA_Object_release. Otherwise we leak stuff all over the
place. (Bug #11878)
* e-msg-composer.c (e_msg_composer_new_with_message): If our message
doesn't contain an X-Evolution-Account header, pass in the From
header as the account name. (Fixes the other half of #3255)
2001-10-10 Larry Ewing <lewing@ximian.com>
* e-msg-composer.h: add prototype.
* e-msg-composer.c (e_msg_composer_add_message_attachments): new
function to copy attachments from the a message to a composer.
(e_msg_composer_set_pending_body): make simple function to
abstract this.
(e_msg_composer_apply_pending_body): apply the pending body to
the composer.
(e_msg_composer_new_with_message): use
e_msg_composer_add_message_attachments to copy attachments.
2001-10-09 Jeffrey Stedfast <fejj@ximian.com>
* e-msg-composer-attachment-bar.c (add_from_file): If the
attachment fails, report the error to the user.
* e-msg-composer-attachment.c (e_msg_composer_attachment_new): Now
takes a CamelException argument.
* e-msg-composer.c (setup_ui): Pass /menu/Edit as the menu path to
e_charset_picker thingy.
2001-10-05 Larry Ewing <lewing@ximian.com>
* e-msg-composer-attachment-bar.c
(e_msg_composer_attachment_bar_find_message): fix cut&pasteo.
* e-msg-composer-attachment.c (e_msg_composer_attachment_new):
remove unused variable.
* e-msg-composer-attachment-bar.c
(e_msg_composer_attachment_bar_find_message): generalize this to
lookup content locations as well.
* e-msg-composer-attachment-bar.h: change prototype to match the
new function.
* listener.c (impl_event): handle the url_requested event, look up
parts in the attachment part and feed them down the stream if it
is found.
* e-msg-composer.c (handle_multipart_alternative): delay setting
the body text.
(handle_multipart): delay setting body text
(e_msg_composer_new_with_message): set the body text from the
object data. Doing this ensures that we will have the attachments
processed before we try to look them up.
2001-10-04 Larry Ewing <lewing@ximian.com>
* e-msg-composer-attachment-bar.c
(e_msg_composer_attachment_bar_find_content_id): change to return
a CamelMimePart.
* e-msg-composer-attachment-bar.h: update prototype.
* e-msg-composer-attachment-bar.c
(e_msg_composer_attachment_bar_find_content_id): look up an
attachment by it's content id.
* e-msg-composer-attachment-bar.h: add prototype for
e_msg_composer_attachment_bar_find_content_id.
2001-10-03 Jeffrey Stedfast <fejj@ximian.com>
* e-msg-composer.c (autosave_save_draft): Make sure to unref the
message object so we don't leak it or any references to
attachments (child mime parts).
* e-msg-composer-attachment.c (e_msg_composer_attachment_new):
Unref the mime part after passing it along to new_from_mime_part.
2001-10-02 Jeffrey Stedfast <fejj@ximian.com>
* e-msg-composer.c (save_draft): Pass an empty flags argument to
mail_get_folder.
2001-10-02 Ettore Perazzoli <ettore@ximian.com>
* e-msg-composer.c (setup_ui): Use
`bonobo_ui_component_new_default()', not
`bonobo_ui_component_new()'.
2001-09-27 Jeffrey Stedfast <fejj@ximian.com>
* e-msg-composer-attachment.c (e_msg_composer_attachment_new):
Don't set Content-Ids on these parts since they are not contained
within a multipart/related - this fixes bug #10032.
2001-09-26 Jon Trowbridge <trow@ximian.com>
* e-msg-composer.c (e_msg_composer_new_from_url): Fixes glitch in
mailto: url parsing that caused it to fail when recipient names
contained commas. (Bug #10796)
2001-09-20 Jeffrey Stedfast <fejj@ximian.com>
* e-msg-composer.c (save_draft): Update to reflect changes to
mail_get_folder.
2001-09-20 Iain Holmes <iain@ximian.com>
* e-msg-composer.c (get_file_content): Open the file with O_CREAT so
that if it doesn't exist, it's created. Never return a NULL as this
could potentially crash on Solaris.
2001-09-18 Jeffrey Stedfast <fejj@ximian.com>
* e-msg-composer.c (build_message): Attach an X-Evolution-Format
header so if people re-edit a message in say their Sent folder, we
will preserve format preferences.
(e_msg_composer_get_message_draft): Don't attach
X-Evolution-Format headers here since it is now done in
build_message().
(e_msg_composer_new_with_message): Make sure to remove *all*
X-Evolution headers by using the mail-tools functions.
2001-09-16 Jeffrey Stedfast <fejj@ximian.com>
* e-msg-composer-attachment-bar.c (update): Don't
gtk_object_destroy() the pixbuf loader, unref it instead.
* e-msg-composer-hdrs.c (destroy): Don't forget to free the
private structure.
2001-09-14 Ettore Perazzoli <ettore@ximian.com>
[Automake 1.5 fixes pointed out by Richard Boulton
<richard@tartarus.org>, as per #9258.]
* Makefile.am (CLEANFILES): Set directly with `=' instead of `+='.
2001-09-13 Larry Ewing <lewing@ximian.com>
* e-msg-composer.c (map_default_cb): free the text values we get
from the property bag and release the property bag properly.
2001-09-12 JP Rosevear <jpr@ximian.com>
* evolution-composer.c (corba_recipientlist_to_destv): null
terminate the destination vector
2001-09-10 Jeffrey Stedfast <fejj@ximian.com>
* evolution-composer.c (init): Don't call new_with_sig_file, it no
longer exists.
* e-msg-composer.c (setup_ui): Make sure that the session is
non-NULL.
(menu_file_send_cb): And here too.
(e_msg_composer_new_with_sig_file): Removed.
2001-09-10 Jeffrey Stedfast <fejj@ximian.com>
* e-msg-composer.c (build_message): Wrap the S/MIME code in ifdef
SMIME_SUPPORTED which isn't defined but by some later version will
be.
(setup_ui): And again here.
2001-09-09 Maciej Stachowiak <mjs@noisehavoc.org>
* Makefile.am: Add VFS_CFLAGS so things don't break when the
gnome-vfs headers move.
2001-09-08 Jon Trowbridge <trow@ximian.com>
* evolution-composer.c (corba_recipientlist_to_destv): Originally
was corba_recipientlist_to_glist.
(impl_Composer_set_headers): Use corba_recipientlist_to_destv, new
destination-based api.
* e-msg-composer.c (build_message): Get rid of that 'sending'
stuff. That was a bad idea.
(e_msg_composer_new_with_message): Apply the revised api and work
with vectors of destinations rather than just lists.
(e_msg_composer_get_recipients): Added. Returns the full set of
recipient destinations in a vector.
* e-msg-composer-hdrs.c: Removed free_destv function. We use
e_destination_freev instead.
(e_msg_composer_hdrs_get_to): Changed to return a vector of
EDestinations. This function now works.
(e_msg_composer_hdrs_get_cc): Ditto.
(e_msg_composer_hdrs_get_bcc): Ditto.
(e_msg_composer_hdrs_get_recipients): Added. Returns a vector of
EDestinations that is the union of the to, cc and bcc lines.
(e_msg_composer_hdrs_set_to): Changed to take a vector of
EDestinations, rather than a GList.
(e_msg_composer_hdrs_set_cc): Ditto.
(e_msg_composer_hdrs_set_bcc): Ditto.
(e_msg_composer_hdrs_to_message): Use our new, improved API, rather
than a bunch of poking around in BonoboPropertyBags, etc.
2001-09-07 Dan Winship <danw@ximian.com>
* e-msg-composer-hdrs.c (set_recipients_from_destv): Remove some
debugging messages that don't check for NULL strings and crash
Solaris.
2001-09-06 Dan Winship <danw@ximian.com>
* e-msg-composer.c (save): Have to specify a mode when using
O_CREAT.
(handle_multipart_alternative, handle_multipart,
e_msg_composer_new_with_message): Update for mail_get_message_body
change.
2001-09-05 Ettore Perazzoli <ettore@ximian.com>
* e-msg-composer.c (autosave_manager_query_load_orphans):
s/Evolution/Ximian Evolution/.
(do_exit): Set the title to be "Warning: Modified Message".
2001-08-29 Jon Trowbridge <trow@ximian.com>
* e-msg-composer.c (e_msg_composer_get_message_draft): Pass
in FALSE as the 'sending' arg to e_msg_composer_get_message.
(build_message): Added a 'sending' arg, which is passed to
e_msg_composer_get_message.
(e_msg_composer_get_message): Added a 'sending' arg,
which gets passed directly on to build_message.
* e-msg-composer-hdrs.c (e_msg_composer_hdrs_to_message): Added
a "sending" arg, which should be TRUE if the message is being
sent now (rather than being autosaved, etc.). The address
use scores are only updated when sending. (Bug #8332)
Removed obsolete (#if 0/#endif-ed) code.
2001-08-22 Jon Trowbridge <trow@ximian.com>
* e-msg-composer-hdrs.c (set_recipients_from_destv): Added. Try
to properly handle contact lists in which the addresses of the
list members should be hidden.
(e_msg_composer_hdrs_to_message): Changed to extract the
destination data from the entries and pass it along to
set_recipients_from_destv.
2001-08-22 Jeffrey Stedfast <fejj@ximian.com>
* e-msg-composer.c (save): When reporting an error, use
my_file_name instead of file_name since file_name can be NULL.
2001-08-21 Ettore Perazzoli <ettore@ximian.com>
* e-msg-composer.c (autosave_manager_query_load_orphans):
s/attempt recovery/try to recover them/.
2001-08-19 Jeffrey Stedfast <fejj@ximian.com>
* e-msg-composer.c (save_draft): Reset the "changed" state to
FALSE after a successful save.
2001-08-17 Jeffrey Stedfast <fejj@ximian.com>
* e-msg-composer.c (show_attachments): Toggle the
View->Attachments menu item. This fixes bug #6107.
2001-07-12 Peter Williams <peterw@ximian.com>
* e-msg-composer.c (map_default_cb): New function. Figure out
which widget gets the default and assign it. Harder to do than
it sounds.
(e_msg_composer_construct): Hook map_default_cb up to the "map"
signal.
(set_focus_to_editor): Removed.
(set_focus_to_editor_idle): Removed.
2001-08-10 Jon Trowbridge <trow@ximian.com>
* e-msg-composer-hdrs.c (set_recipients): Removed comment about
the need to resolve nicknames properly, because we now do that.
2001-08-09 Radek Doulik <rodo@ximian.com>
* e-msg-composer.c (set_focus_to_editor): new helper function,
just setup idle callback to grab focus
(set_focus_to_editor_idle): grab focus for editor, before we have
better solution, it run grab-focus command on editor control
(e_msg_composer_construct): call prepare_engine here, set focus to
editor
2001-08-10 Jeffrey Stedfast <fejj@ximian.com>
* e-msg-composer.c (autosave_manager_query_load_orphans): Don't
forget to closedir() when we finish with dir.
2001-08-09 Jeffrey Stedfast <fejj@ximian.com>
* e-msg-composer.c (from_changed_cb): Set the smime/pgp
always-sign options when here so it updates when the user changes
his/her identity.
2001-08-08 Jeffrey Stedfast <fejj@ximian.com>
* e-msg-composer.c (e_msg_composer_get_message_draft): Set the
PGP/MIME and S/MIME options to FALSE before getting the message
draft and restore the values afterward.
2001-08-06 Jeffrey Stedfast <fejj@ximian.com>
* e-msg-composer.c (add_inlined_image): Use g_basename().
(setup_ui): Get the default charset from the mail config db.
2001-08-06 Radek Doulik <rodo@ximian.com>
* listener.c (impl_event): handle delete event
2001-07-31 Peter Williams <peterw@ximian.com>
* e-msg-composer.c (setup_ui): Set the config path for the composer so
that the customize toolbar command works.
2001-07-31 Jason Leach <jleach@ximian.com>
* e-msg-composer.c: Use Tuomas' and Jakub's new (and beautiful)
icons for Send and Send Later in the toolbar and menus.
2001-07-30 Jeffrey Stedfast <fejj@ximian.com>
* e-msg-composer.c (message_rfc822_dnd): Properly add the
message/rfc822 part.
2001-07-27 Jason Leach <jleach@ximian.com>
* e-msg-composer.c (get_signature_html): "-- \n" is 4 chars long,
so when checking if it's already in the sig, strncmp should check
4 chars, not 3.
2001-07-26 Peter Williams <peterw@ximian.com>
* e-msg-composer.c (get_signature_html): Correct our manually inserted
signature dash thingie (it was missing the space).
2001-07-26 Jon Trowbridge <trow@ximian.com>
* e-msg-composer-hdrs.c (set_recipients): Get "destinations",
rather than "text" from the entry_widget. (The getters/setters in
the control have been made more symmetric.)
2001-07-18 Jason Leach <jleach@ximian.com>
* e-msg-composer-hdrs.c (create_from_optionmenu): Update to the
new way of finding the default account.
2001-07-18 Iain Holmes <iain@ximian.com>
* e-msg-composer.c (do_exit): Use a messagebox.
2001-07-17 Jeffrey Stedfast <fejj@ximian.com>
* e-msg-composer.c (drag_data_received): Correctly handle
text/uri-list's that contain more than a single file reference.
2001-07-12 Jeffrey Stedfast <fejj@ximian.com>
* e-msg-composer.c (menu_changed_charset_cb): Removed a warning
that I don't need anymore. This code is working wonderfully ;-)
2001-07-10 Kjartan Maraas <kmaraas@gnome.org>
* e-msg-composer.c: Fix typo. s/sesiion/session/
2001-07-09 Larry Ewing <lewing@ximian.com>
* e-msg-composer.c (autosave_manager_query_load_orphans): Only ask
once about recovery, assume if they want to recover one file they
want to recover all of them.
2001-07-09 Jeffrey Stedfast <fejj@ximian.com>
* e-msg-composer.c (e_msg_composer_new_with_message): Use
camel_internet_address_format_address rather than
camel_address_encode since we want display-friendly addresses.
2001-07-09 Iain Holmes <iain@ximian.com>
* e-msg-composer-select-file.c (file_selection_info_destroy_notify):
Unref the file selection dialog when the data is destroyed.
2001-07-09 Dan Winship <danw@ximian.com>
* e-msg-composer.c (composer_shutdown): Do the
autosave_manager_unregister at shutdown time instead of destroy
time (by which point the contents of the window, including the
remote editor control, will have already been destroyed).
2001-07-09 Zbigniew Chyla <cyba@gnome.pl>
* e-msg-composer-select-file.c: Added missing #include <config.h> to
make translations working.
2001-07-07 Jon Trowbridge <trow@ximian.com>
* e-msg-composer-hdrs.c (set_recipients): Make sure that our
destination string (dest_str) is not the empty string before we
try to use it.
2001-07-06 Larry Ewing <lewing@ximian.com>
* e-msg-composer.c (autosave_manager_new): add missing static.
(best_encoding): make sure we don't try to call iconv_open with a
NULL tocode.
(autosave_manager_query_load_orphans): remove zero length orphans
so that they don't clutter things up.
2001-07-06 Jeffrey Stedfast <fejj@ximian.com>
* e-msg-composer-attachment.c (e_msg_composer_attachment_new):
Convert the filename string to UTF8 before setting it on the
CamelMimePart because that code expects it to be in UTF8.
2001-07-06 Larry Ewing <lewing@ximian.com>
* e-msg-composer.c (autosave_manager_query_load_orphans): only ask
if there are actually contents in the file. Asking about an
emptry fil is not very useful.
(autosave_load_draft): add some sanity chacks.
(autosave_run_foreach_cb): remove debugging warning.
(autosave_manager_new): add a missing static.
2001-07-06 Larry Ewing <lewing@ximian.com>
* e-msg-composer.c (autosave_manager_unregister): make sure we
only remove the file if we think we saved it properly.
(autosave_manager_stop): make sure we set the timeout back to 0 so
that we will restart next time since we stop the timer when there
are no active composers.
(destroy): move this to the beginning of the destroy process.
(autosave_save_draft): add a return value indicating success.
(autosave_manager_register): go ahead and ask next time.
2001-07-05 Larry Ewing <lewing@ximian.com>
* e-msg-composer.c: add ask argment.
(autosave_manager_query_load_orphans): move the load loop out of
the dir reading loop.
(autosave_manager_new): move initialization out or register.
(autosave_manager_register): protect against recursion with ask.
(init): call new, this still needs to be moved.
2001-07-05 Jeffrey Stedfast <fejj@ximian.com>
* e-msg-composer.c (save): Play the "File exists, overwrite?"
game.
(autosave_run_foreach_cb): Change the return val from a gboolean
to void.
2001-07-04 Larry Ewing <lewing@ximian.com>
* e-msg-composer.c (autosave_load_draft): attach send and postpone
handlers. and be more tolerant of errors.
2001-07-03 Larry Ewing <lewing@ximian.com>
* e-msg-composer.c (autosave_save_draft): make sure we seek to the
begining.
* e-msg-composer.h: remove the timer id.
* e-msg-composer.c: use autosave manager.
(autosave_save_draft): moved initialization to
autosave_init_file. Only save the buffer if we get a valid
message.
(autosave_load_draft): unlink the old file, we own it now. and
unref the stream when we are done with it.
(autosave_is_owned): check if we own the file, this needs to be
extended to check for other valid processes.
(autosave_query_load_orphans): make this search through the
managers list as it walks the dir.
(autosave_query_load_orphans): make sure we use the full path.
(autosave_run_foreach_cb): timeout foreach handler.
(autosave_run): the timeout function.
(autosave_start): start timer.
(autosave_stop): stop timer.
(autosave_register): register a composer with the autosave manager.
(autosave_unregister): unregister a composer.
(destroy): unregister the composer, everything is okay.
(init): register the composer.
2001-07-02 Larry Ewing <lewing@ximian.com>
* e-msg-composer.h: add autosave members.
* e-msg-composer.c (autosave_query_load_orphans): query the user to
check if they want to load any orphans we've found.
(autosave_query_cb): the dialog callback.
(autosave_is_orphan): test if if a particular file is orphaned.
(autosave_load_draft): load a message from an autosave file.
(autosave_save_draft): save the current buffer to the autosave file.
2001-07-02 Christopher James Lahey <clahey@ximian.com>
* Makefile.am (INCLUDES): Added $(BONOBO_CONF_CFLAGS).
2001-07-02 Jeffrey Stedfast <fejj@ximian.com>
* e-msg-composer-attachment-bar.c (attach_to_multipart): Set the
user-chosen charset.
* e-msg-composer.c (menu_change_charset_cb): New callback function
to get the user-set charset.
(init): Set the charset to NULL.
(best_charset): Take a default_charset param that holds the value
the user set for this particular message using the menu.
(destroy): Free the charset.
2001-07-02 Jeffrey Stedfast <fejj@ximian.com>
* e-msg-composer.c (setup_ui): Construct an e-charset-picker
bonobo-ui menu.
(menu_change_charset_cb):
2001-06-30 Jon Trowbridge <trow@ximian.com>
* e-msg-composer-hdrs.c (set_recipients): Touch all of our
EDestinations before we unref them, updating the last-use records
in the addressbook.
2001-06-29 Larry Ewing <lewing@ximian.com>
* e-msg-composer.c (e_msg_composer_show_sig_file): remove now
invalid argument in the documentation.
2001-06-28 Radek Doulik <rodo@ximian.com>
* e-msg-composer.c: removed obsolete e_msg_composer_get_sig_file
* e-msg-composer.h: removed sig_file field from EMsgComposer
* e-msg-composer.c (e_msg_composer_get_sig_file_content): exported
(get_file_content): make it const safe
(e_msg_composer_get_sig_file_content): refactored, don't try to be
clever about signature filename, as it's exact now
(get_signature_html): use has_html_signature flag
(e_msg_composer_show_sig_file): renamed from
e_msg_composer_set_sig_file, removed sig_file parameter as it's
obsolete now
(e_msg_composer_new_with_sig_file): removed obsolete parameters
2001-06-27 Larry Ewing <lewing@ximian.com>
* e-msg-composer.c (menu_file_insert_file_cb): make hook this up.
(get_sig_file_content): use get_file_content.
(get_file_content): make this usable for both insertion and
signatures.
(read_file_content): added helper function to read file.
2001-06-27 Jeffrey Stedfast <fejj@ximian.com>
* e-msg-composer.c: Added a pixcache array for special pixmaps to
use in the composer.
(setup_ui): Set the pixcache.
2001-06-21 Jeffrey Stedfast <fejj@ximian.com>
* e-msg-composer.c (menu_file_send_cb): Emit the POSTPONE signal
if we are offline.
(setup_ui): If we are offline, change the Control+Enter accel to
be on the SendLater menu item.
2001-06-20 Jeffrey Stedfast <fejj@ximian.com>
* e-msg-composer.c (save_draft): Save the formatting preference
for this message draft using a X-Evolution-Format header.
(e_msg_composer_new_with_message): Restore the format editing
preference and also remove any other X-Evolution-* headers that we
may have set.
2001-06-20 Dave Camp <dave@ximian.com>
* Evolution-Composer.idl: Changed attachData to accept a sequence of
chars rather than a string.
* evolution-composer.c (impl_Composer_attach_data): Changed the 'data'
argument to a GNOME_Evolution_Composer_AttachmentData, and pass
data->_buffer and data->_length to camel_mime_part_set_content().
2001-06-19 JP Rosevear <jpr@ximian.com>
* evolution-composer.c (impl_Composer_send): send the message
* Evolution-Composer.idl: add a "send" method to send a message
without showing the editor
2001-06-19 Jeffrey Stedfast <fejj@ximian.com>
* e-msg-composer.c (e_msg_composer_construct): Don't define the
drop_types here.
(drag_data_received): Implement message/rfc822 dnd drop type
handling.
2001-06-12 Dan Winship <danw@ximian.com>
* e-msg-composer-attachment.glade: Replace the disposition option
menu with a checkbox.
* e-msg-composer-select-file.c
(e_msg_composer_select_file_attachment): New function to select a
file to attach. Adds a "suggest inline disposition" checkbox.
* e-msg-composer-attachment.c (e_msg_composer_attachment_new): Add
a disposition argument rather than always defaulting to
"attachment".
(struct _DialogData, ok_cb, e_msg_composer_attachment_edit):
Update for optionmenu->checkbox change for disposition.
* e-msg-composer-attachment-bar.c (add_from_file): Add a
disposition argument.
(add_from_user): Use e_msg_composer_select_file_attachment, pass
chosen disposition to add_from_file.
(e_msg_composer_attachment_bar_attach): Pass "attachment" to
add_from_file for the disposition.
2001-06-11 Dan Winship <danw@ximian.com>
* e-msg-composer.c (best_charset): Fix again... don't leave
*encoding uninitialized in the US-ASCII case.
2001-06-11 Jon Trowbridge <trow@ximian.com>
* e-msg-composer.c (e_msg_composer_construct): Rearranged
gtk_widget_show()s a bit to fix Bug#3204. The composer is now
(like the rest of Evo) properly network transparent.
2001-06-08 Jon Trowbridge <trow@ximian.com>
* e-msg-composer.c (save_draft): When saving a draft, attach
information about the From: identity via X-Evolution-Account.
This lets us select the correct identity when we edit it later.
(e_msg_composer_new_with_message): If the message we are editting
is tagged with an account (via X-Evolution-Account), make sure
that the composer chooses that account's identity by default.
2001-06-08 Dan Winship <danw@ximian.com>
* e-msg-composer.c (best_charset): Don't use the default charset
if the message is US-ASCII.
2001-06-07 Radek Doulik <rodo@ximian.com>
* e-msg-composer.c (e_msg_composer_new_with_sig_file): just set
sig_file field, but don't actualy insert signature, it will be
done by format menu item callback
(e_msg_composer_set_body_text): don't set signature here
2001-06-01 Jeffrey Stedfast <fejj@ximian.com>
* e-msg-composer.c (build_message): If user is trying to sign
his/her message, try first to use the key that they might have
provided in their account settings. If that was never set, default
to their email address. Also respect their config option to
encrypt-to-self.
2001-05-31 Jeffrey Stedfast <fejj@ximian.com>
* e-msg-composer.c (build_message): Oops. Fix a few compile problems.
2001-05-31 Christopher James Lahey <clahey@ximian.com>
* Makefile.am (HTML_EDITOR_GENERATED): Use GTKHTML_DATADIR here.
2001-05-31 Jeffrey Stedfast <fejj@ximian.com>
* e-msg-composer.c (build_message): Fixed up the S/MIME
signing/encrypting code to work with the new API.
2001-05-31 Dan Winship <danw@ximian.com>
* e-msg-composer.c (best_encoding): Add a missing iconv_close
2001-05-30 Dan Winship <danw@ximian.com>
* e-msg-composer.c (build_message): Use the config-specified
default character set (which in turn defaults to the locale
character set) as the default for encoding non-US-ASCII messages,
assuming it works. Fall back to camel_charset_best() if it fails.
Also, pick the Content-Transfer-Encoding based on how the data
looks in the destination charset, not in UTF8.
While I was here, I also refactored a bunch and tried to reduce
redundant code. There are still too many places that set the
transfer-encoding on the plaintext part though... Also, I think
some more cleanliness could happen if the sign/encrypt interfaces
returned CamelMultiparts instead of CamelMimeParts.
2001-05-28 Jeffrey Stedfast <fejj@ximian.com>
* e-msg-composer-attachment-bar.c (update): Use
e_utf8_to_gtk_string() on the description of the attachment since
camel stores these as utf-8 strings.
2001-05-28 Jason Leach <jleach@ximian.com>
* Makefile.am (INCLUDES): srcdir != builddir fix.
2001-05-24 Jeffrey Stedfast <fejj@ximian.com>
* e-msg-composer.c (e_msg_composer_new_with_message): Populate the
extra_hdr_* arrays with any non-special-case headers.
(is_special_header): New convenience function to determine if a
header is a "special" header or not.
2001-05-24 Radek Doulik <rodo@ximian.com>
* e-msg-composer.c (menu_edit_delete_all_cb): new callback
(menu_edit_delete_all_cb): set orig to 0 too
(menu_edit_delete_all_cb): be more careful about text color and
style
2001-05-23 Radek Doulik <rodo@ximian.com>
* e-msg-composer.c (e_msg_composer_set_sig_file): set orig to 0
2001-05-18 Jon Trowbridge <trow@ximian.com>
* e-msg-composer-hdrs.c (set_recipients): Properly unserialize the
string returned by the "text" property of the bonobo control,
convert it into EDestinations, and use them to get the e-mail
addresses of our recipients.
2001-05-17 Dan Winship <danw@ximian.com>
* e-msg-composer.c (save_draft): Draft messages should be marked
read.
2001-05-16 Jeffrey Stedfast <fejj@ximian.com>
* e-msg-composer.c (build_message): Added S/MIME sign/encrypt code.
(init): Initalize smime_sign/encrypt.
(e_msg_composer_get_smime_encrypt): new
(e_msg_composer_set_smime_encrypt): new
(e_msg_composer_get_smime_sign): new
(e_msg_composer_set_smime_sign): new
(menu_security_smime_sign_cb): new
(menu_security_smime_encrypt_cb): new
(setup_ui): Setup the UI for S/MIME stuff.
2001-05-10 Jeffrey Stedfast <fejj@ximian.com>
* e-msg-composer.c (build_message): If we are creating a message
with only a single part (ie no attachments and we will not be
signing/encrypting the part) then `part = CAMEL_MIME_PART(message)`
otherwise create a new MIME part and set it's content-object as the
message's content-object at a later date.
2001-05-09 Jeffrey Stedfast <fejj@ximian.com>
* e-msg-composer.c (add_inlined_image): Don't wrap content-id with
brackets here as it is now done internally in camel.
2001-05-03 Radek Doulik <rodo@ximian.com>
* e-msg-composer.c (get_signature_html): put signature in 100%
width table
(delete_old_signature): look only for first flow with signature == 1
(e_msg_composer_new): don't insert <BR>
(e_msg_composer_new_with_sig_file): ditto
(delete_old_signature): don't delete whole signature paragraph,
but just it's content
(delete_old_signature): if signature isn't found, insert new empty
paragraph to end of document for new signature
(e_msg_composer_set_sig_file): delete signature always
(e_msg_composer_set_sig_file): don't place signature to the end of
document, but place it where previous one was (if there wasn't
then new one is appended to the document)
2001-05-02 Radek Doulik <rodo@ximian.com>
* listener.c (impl_event): do automagic indenting only when
in_signature_insert is FALSE
* e-msg-composer.c (e_msg_composer_set_sig_file): do indent-zero
before signature inserting
(e_msg_composer_set_sig_file): use in_signature_insert flag
2001-05-01 Radek Doulik <rodo@ximian.com>
* listener.c (impl_event): set signature to 0 in newly created
empty paragraphs
(clear_signature): new helper function
2001-04-26 Dan Winship <danw@ximian.com>
* Makefile.am (INCLUDES): Remove UNICODE_CFLAGS
2001-04-25 Radek Doulik <rodo@ximian.com>
* e-msg-composer.c (e_msg_composer_set_send_html): block/unblock
redraw
* listener.c (impl_event): reflect object data type change
* e-msg-composer.c (get_sig_file_content): renamed from
get_signature
(get_signature_html): new helper function, uses
get_sig_file_content
(set_editor_text): removed signature parameters
(from_changed_cb): new signal handler, sets signature by identity
change
(delete_old_signature): new function, deletes old signature from
the document
(e_msg_composer_set_sig_file): new method, set's signature
filename
(e_msg_composer_mark_text_orig): removed (obsolete)
* e-msg-composer-hdrs.c: added signal FROM_CHANGED
2001-04-21 Duncan Mak <duncan@ximian.com>
* e-msg-composer.c (e_msg_composer_construct): Set window_icon to
"compose-message.png" for the composer window.
Did #include <libgnomeui/gnome-window-icon.h> so we could use
gnome_window_icon_set_from_file() here.
2001-04-17 Radek Doulik <rodo@ximian.com>
* listener.c (reply_indent): more auto-indentation magic
2001-04-12 Jeffrey Stedfast <fejj@ximian.com>
* e-msg-composer.c (build_message): Use the mail-crypto pgp-mime
wrappers.
(build_message): s/CAMEL_PGP_HASH_TYPE_SHA1/CAMEL_CIPHER_HASH_SHA1
2001-04-11 Dan Winship <danw@ximian.com>
* e-msg-composer-select-file.c (create_file_selection): Fix
previous.
2001-04-11 Jeffrey Stedfast <fejj@ximian.com>
* e-msg-composer-select-file.c (create_file_selection): Set the
default filename to the user's homedir.
2001-04-04 Kjartan Maraas <kmaraas@gnome.org>
* e-msg-composer-attachment.c: Fix headers.
* e-msg-composer-hdrs.c: Same here.
2001-03-29 Kjartan Maraas <kmaraas@gnome.org>
* e-icon-list.c: Replace #include <gtk/gtk.h>
* e-msg-composer-attachment-bar.c: Replace #include <gnome.h>
* e-msg-composer-attachment-bar.h: Remove #include <gnome.h>
* e-msg-composer-attachment.c: Remove #include <gnome.h>
* e-msg-composer-attachment.h: Same here.
* e-msg-composer-hdrs.c: Replace #include <gnome.h> and <bonobo.h>
* e-msg-composer-hdrs.h: Replace #include <gnome.h>
* e-msg-composer-file.c: #include <gtk/gtkmain.h>, <gtk/gtksignal.h>
* e-msg-composer.c: Replace #include <bonobo.h>, <gnome.h>
* e-msg-composer.h: Replace #include <gnome.h> and <bonobo.h>
* evolution-composer.c: Replace #include <bonobo.h>
* listener.c: Same here.
2001-03-28 Dan Winship <danw@ximian.com>
* e-msg-composer.c (save_draft): Use the drafts folder specified
by the account, if possible. Also, fix the setting of "send_html"
after saving the draft in case the user plans to keep editting...
2001-03-27 Larry Ewing <lewing@ximian.com>
* e-msg-composer.c (e_msg_composer_set_send_html): set the
FormatHTML property on the editor to let it know the mode.
(e_msg_composer_construct): set the property at construct time.
2001-03-26 Jeffrey Stedfast <fejj@ximian.com>
* e-msg-composer-attachment.c (e_msg_composer_attachment_new): Set
the mime part content-id.
2001-03-19 Radek Doulik <rodo@ximian.com>
* listener.c (reply_indent): set default text color
2001-03-17 Jeffrey Stedfast <fejj@ximian.com>
* e-msg-composer-hdrs.c (e_msg_composer_hdrs_get_reply_to): Make
sure the reply_to text is non-NULL before trying to pass it off to
the address parser.
2001-03-13 Dan Winship <danw@ximian.com>
* e-msg-composer-attachment.c (update_mime_type): Use
gnome_vfs_mime_type_from_name rather than gnome_vfs_mime_info,
since the entered filename doesn't have to be a real file on disk.
Deal with it returning NULL too.
(e_msg_composer_attachment_edit): Select the right item in the
inline/attachment menu.
* e-msg-composer-hdrs.c: s/Pair/EMsgComposerHdrPair/. Namespace!
2001-03-12 Jeffrey Stedfast <fejj@ximian.com>
* e-msg-composer.h: Added view_replyto member.
* e-msg-composer.c (e_msg_composer_get_visible_flags): Find out if
we want to view the Reply-To header.
(e_msg_composer_set_view_replyto): A new function to set the state
of the replyto header.
(menu_view_replyto_cb): Callback for setting the ReplyTo state.
(set_config): Make static.
(setup_ui): Setup the ReplyTo bonobo stuff.
(load_from_property_bag): More defaults for the ReplyTo, yay.
(load_from_gnome_config): Again...
(e_msg_composer_get_view_bcc): Implemented.
(e_msg_composer_get_view_cc): Implemented.
(e_msg_composer_get_view_from): Implemented.
(e_msg_composer_get_view_replyto): Implemented.
* e-msg-composer-hdrs.c (e_msg_composer_hdrs_get_reply_to_entry):
New function, yay.
(e_msg_composer_hdrs_get_reply_to): Another new function.
(e_msg_composer_hdrs_set_reply_to): Yet another new function...
(create_headers): Create the reply-to header.
(attach_headers): Attach the reply_to.
(headers_set_visibility): Set the reply_to visibility.
(e_msg_composer_hdrs_to_message): Set the message's reply-to here
based on the user-set reply-to header.
2001-03-06 Miguel de Icaza <miguel@ximian.com>
* e-msg-composer.c (set_config): New function. Used to store
integer values into the configuration engine. Handles the case of
Bonobo-conf being installed, or falls back to gnome_config.
* e-msg-composer-hdrs.c (add_header): Renamed to be
header_new_recipient(). Now we take care of the other cases in
create_headers, which is a lot nicer now.
(create_optionmenu): Removed extra "name" argument which was not
being used anyways (the only arg passed was From:).
(init): Removed all the redundant NULL initialization by using
nice g_new0
(create_headers): New function, much cleaner.
Use of Pair structure everywhere instead of individual widgets to
keep track of which ones are visible and which ones are not.
* e-msg-composer.c (setup_ui): Handle ViewFrom and ViewBCC
commands.
(menu_view_bcc_cb, menu_view_from_cb): New functions that
implement the features described.
(menu_format_html_cb): Removed unrequired test, as
e_msg_composer_set_send_html already optimizes the case of the
state being the same.
(menu_security_pgp_encrypt_cb): Remove redundant code.
(menu_security_pgp_sign_cb): ditto.
2001-03-02 Jeffrey Stedfast <fejj@ximian.com>
* e-icon-list.c (icon_new_from_pixbuf): Added a comment reminding
us that we should probably not force a particular font in the icon
caption.
2001-02-27 Dan Winship <danw@ximian.com>
* evolution-composer.c (factory_fn): If
!mail_config_is_configured(), give an error and return NULL.
2001-02-22 Ettore Perazzoli <ettore@ximian.com>
* Makefile.am (INCLUDES): Add `-I$(top_srcdir)/shell'.
2001-02-21 Not Zed <NotZed@Ximian.com>
* e-msg-composer.c (menu_file_save_draft_cb):
(exit_dialog_cb): Use mail_append_mail to save to drafts instead
of custom thread handler.
2001-02-19 Jeffrey Stedfast <fejj@ximian.com>
* e-msg-composer.c (build_message): Handle exceptions a little
nicer and pop up a nice GnomeDialog with the error message - also,
don't return a CamelMimeMessage if it fails to sign/decrypt
because we want to let the user decide what to do based on the
error message he/she gets.
2001-02-15 Dan Winship <danw@ximian.com>
* e-msg-composer-hdrs.c (e_msg_composer_hdrs_set_from_account): If
@account_name is NULL, pick the default account rather than giving
a g_warning.
* e-msg-composer.c (e_msg_composer_set_headers): Note in the
doc comment that @from can be NULL if you want the default account
(since there is code that expects this).
2001-02-13 Jeffrey Stedfast <fejj@ximian.com>
* evolution-composer.c (corba_recipientlist_to_glist): Use the
camel-internet-address code to format the address rather than
doing it the broken way.
2001-02-10 Jeffrey Stedfast <fejj@ximian.com>
* evolution-composer.c (impl_Composer_set_headers): Updated. We
might want to change the corba interface for this to allow setting
the from-address as well.
* e-msg-composer.c (e_msg_composer_new_with_message): Updated.
(e_msg_composer_set_headers): Now takes a 'From' argument so that
we can try to pre-determine the account the user will want to send
from.
2001-02-11 Gediminas Paulauskas <menesis@delfi.lt>
* e-msg-composer-attachment.glade.h: removed.
* e-msg-composer-attachment.glade: do not write strings to above.
* Makefile.am: don't include glade.h in EXTRA_DIST.
2001-02-10 Jeffrey Stedfast <fejj@ximian.com>
* e-msg-composer-attachment-bar.c (attach_to_multipart):
multipart/* is another mime type we DO NOT want to encode ;-)
2001-02-06 Christopher James Lahey <clahey@ximian.com>
* e-msg-composer-hdrs.c (address_button_clicked_cb, add_header):
Set the default argument to
GNOME_Evolution_Addressbook_SelectNames_activateDialog correctly.
2001-01-30 Larry Ewing <lewing@ximian.com>
* e-msg-composer-hdrs.c (create_optionmenu): make sure we convert
from utf-8 before creating the option menu items.
2001-01-25 Jason Leach <jasonleach@usa.net>
(Moving the flag for has_changed from the Hdrs to the Composer
itself. Providing public methods to set/unset a composer as
changed. Adding attachments now flags the composer as changed)
* e-msg-composer.c (e_msg_composer_unset_changed): New function.
(e_msg_composer_set_changed): New function.
* e-msg-composer.c (hdrs_changed_cb): Callback to the new signal,
uses the new composer_set_changed.
(attachment_bar_changed_cb): Add a call to the new
composer_set_changed.
* e-msg-composer-hdrs.c (class_init): New signal "hdrs_changed" to
tell the parent composer that any of the headers have changed.
(addressbook_entry_changed): emit the new signal here.
(entry_changed): And here.
2001-01-24 Jeffrey Stedfast <fejj@ximian.com>
* e-msg-composer.c (menu_security_pgp_encrypt_cb): New callback.
(menu_security_pgp_sign_cb): Another new callback.
(setup_ui): Added initialization for the PGP sign and encrypt
bonobo menu items.
(e_msg_composer_set_pgp_encrypt): Change the Bonobo UI name to
SecurityPGPEncrypt.
(e_msg_composer_set_pgp_sign): Change the Bonobo UI name to
SecurityPGPSign.
2001-01-21 Jeffrey Stedfast <fejj@ximian.com>
* e-msg-composer.c (build_message): Fixed some memory leaks
dealing with content-type temp strings. Also implemented code to
sign and/or encrypt the message if the user has specified that it
should.
2001-01-20 Jason Leach <jasonleach@usa.net>
(Fix #1222: doing File->New->Mail Message doesn't include .sig)
* evolution-composer.c (init): Get the users account information,
see if they've specified a sig file, if they do, create a composer
with that sig.
2001-01-19 Jeffrey Stedfast <fejj@ximian.com>
* e-msg-composer-hdrs.c (create_optionmenu): Use "Full Name
<address>" for the label in the menu rather than the account
name. Specify the account name only if it's not the same as the
address.
2001-01-19 Jason Leach <jasonleach@usa.net>
* e-msg-composer-hdrs.c (create_addressbook_entry): Listen for
property bag changes to "entry_changed" on here, which means on
the To, Cc, and Bcc entries.
(addressbook_entry_changed): New function that gets called when
"entry_changed" property is changed (to TRUE).
2001-01-18 Jeffrey Stedfast <fejj@ximian.com>
* e-msg-composer.c (build_message): Updated to reflect changes to
e_msg_composer_hdrs_get_from().
* e-msg-composer-hdrs.c (set_recipients): Don't do anymore utf8
conversions, the widget already does this (or should unless there
is brokenness).
(e_msg_composer_hdrs_get_from): Return a CamelInternetAddress like
we should.
(e_msg_composer_hdrs_to_message): Update to reflect changes made
the the above function.
2001-01-12 Miguel de Icaza <miguel@gnu.org>
* Makefile.am: Make the composer a standard library, not a libtool
one. Nobody ever uses it as a shared library and it is not
installed.
2001-01-17 Jason Leach <jasonleach@usa.net>
(Bug #1192: Set the Composer window title to something useful)
* e-msg-composer.c (e_msg_composer_construct): Connect up the new
signal here.
(subject_changed_cb): Set the composer window title to the subject
as it's changed, or if it goes blank make it the default "Compose
a message".
* e-msg-composer-hdrs.c (class_init): Create a new signal
"subject_changed".
(entry_changed): Emit the signal here when the subject entry is
changed.
2001-01-17 Iain Holmes <iain@ximian.com>
* e-msg-composer-attachment.c (e_msg_composer_attachment_edit):
Get the option menu from the XML file.
(ok_cb): Set the attachment disposition depending on the option
menu results.
(option_menu_get_history): Really should have been in GTK at some
point.
* e-msg-composer-attachment.glade: Add the option menu.
2001-01-17 Michael Meeks <michael@helixcode.com>
* evolution-composer.c (enum_objects): comment out for now
to ease compat issues.
(evolution_composer_construct): pass in NULL for the item
handler enum_objects fn + calm warning.
2001-01-17 JP Rosevear <jpr@ximian.com>
* e-msg-composer.c (e_msg_composer_new_with_message): Use the
to/cc/bcc addresses insted of just the to.
2001-01-17 Federico Mena Quintero <federico@ximian.com>
* e-icon-list.[ch]: Ximianified email addresses.
2001-01-16 Radek Doulik <rodo@helixcode.com>
* e-msg-composer.c (e_msg_composer_mark_text_orig): publicate
mark_orig_text
(set_editor_text): don't call mark_orig_text, let it for reply
2001-01-15 Jason Leach <jasonleach@usa.net>
(Plug leaking the subject string on each message sent)
* e-msg-composer-hdrs.c (e_msg_composer_hdrs_get_subject): Don't
strdup before returning the subject, it's already been strdup'd
from the gtk_object_get().
2001-01-13 Jason Leach <jasonleach@usa.net>
(Fix Bug #1083: Composer IDLs not getting installed)
* Makefile.am: add @idl and @idl_DATA vars.
2001-01-12 Jeffrey Stedfast <fejj@ximian.com>
* e-msg-composer-hdrs.c (create_optionmenu): Oops. Make sure to
attach the item to the menu ;-)
2001-01-12 Jeffrey Stedfast <fejj@helixcode.com>
* e-msg-composer.c (build_message): Call set_from_account which
means we no longer have to do all the crap involved in formatting
strings into an internet-address.
(e_msg_composer_get_preferred_account): New access function.
* e-msg-composer-hdrs.c (add_header): case COMBOBOX has changed to
OPTIOMENU.
(create_optionmenu): Update to use an optionmenu of accounts.
(from_changed): New callback for the From optionmenu.
(setup_headers): s/COMBOBOX/OPTIONMENU
(init): Set the account and from_options to NULL.
(e_msg_composer_hdrs_get_from): Updated.
(destroy): free the from_options.
(e_msg_composer_hdrs_set_from_address): Renamed from set_from
because it no longer takes a string arg but rather an account arg.
2001-01-12 Miguel de Icaza <miguel@ximian.com>
* e-msg-composer-hdrs.c (add_header): Only attach to "changed" if
the widget is an EEntry. The HEADER_COMBOBOX and the
HEADER_ADDRBOOK are a ComboBox and a remote Bonobo control
respectively.
* evolution-composer.c (get_object): Move getObject functionality
here from e-msg-composer.c
2001-01-11 Miguel de Icaza <miguel@ximian.com>
* e-msg-composer-hdrs.c (create_dropdown_entry): Only set the
popdown strings if we have anything to popdown.
2001-01-10 Miguel de Icaza <miguel@helixcode.com>
* evolution-composer.c (evolution_composer_construct): Add an
ItemContainer Bonobo interface to allow client applications to
locate the Message Composer component.
2001-01-11 Jeffrey Stedfast <fejj@helixcode.com>
* e-msg-composer.c (menu_file_save_draft_cb): New callback to save
draft. Fixes bug #1045.
2001-01-10 Miguel de Icaza <miguel@helixcode.com>
* e-msg-composer.c: Removed more UNSAFE stuff. Maybe we should
kill this macro, and have people that want these broken things
define their own macros.
(setup_item_container): Add an ItemContainer bonobo interface to
handle options to the window component.
2001-01-08 Jeffrey Stedfast <fejj@helixcode.com>
* e-msg-composer-hdrs.c (create_dropdown_entry): Updated for new
config code - this time it works!
2001-01-08 Jeffrey Stedfast <fejj@helixcode.com>
* e-msg-composer-hdrs.c (create_dropdown_entry): Reverted back to
old config code temporarily until I get the new config code
working 100%.
2001-01-07 Jeffrey Stedfast <fejj@helixcode.com>
* e-msg-composer-hdrs.c (create_dropdown_entry): Updated to
reflect changes to the mail-config API.
2001-01-05 Radek Doulik <rodo@helixcode.com>
* listener.c (impl_event): disable indenting for now, it crashes
editor
2001-01-03 Jeffrey Stedfast <fejj@helixcode.com>
* e-msg-composer.c (do_exit): If the headers have changed, then
continue with the prompt else just destroy the window.
* e-msg-composer-hdrs.c (init): Initialize has_changed to FALSE.
(entry_changed): New callback to set the value of has_changed.
(add_header): Attach the "changed" signal.
2001-01-02 Dan Winship <danw@helixcode.com>
* e-msg-composer-attachment.c (e_msg_composer_attachment_edit):
* e-msg-composer-attachment-bar.c (update): Use
header_content_type_simple, not header_content_type_format.
* e-msg-composer-hdrs.c (create_dropdown_entry): Call
e_utf8_to_gtk_string on the combobox strings.
2000-12-28 Dan Winship <danw@helixcode.com>
* e-msg-composer.c (handle_multipart_alternative,
handle_multipart, e_msg_composer_new_with_message): Use
CamelContentType instead of GMimeContentField.
* e-msg-composer-attachment.c (e_msg_composer_attachment_edit):
* e-msg-composer-attachment-bar.c (update, attach_to_multipart):
Use CamelContentType, and use the header_content_type_* functions
rather than operating on the structure by hand.
2000-12-15 Jeffrey Stedfast <fejj@helixcode.com>
* e-msg-composer.c (e_msg_composer_get_pgp_encrypt): New function
to get whether or not to encrypt the message.
(e_msg_composer_set_pgp_encrypt): New function to set encryption.
(e_msg_composer_get_pgp_sign): New function to get whether or not
to sign the message.
(e_msg_composer_set_pgp_sign): New function to set pgp_sign.
(init): Initialize pgp_sign and pgp_encrypt to FALSE.
2000-12-14 Christopher James Lahey <clahey@helixcode.com>
* e-msg-composer-hdrs.c (add_header): Made it so that carriage
return doesn't insert a newline in the subject entry.
2000-12-12 Jeffrey Stedfast <fejj@helixcode.com>
* e-msg-composer-hdrs.c (set_entry): Don't convert the utf-8
string to a gtkstring because the widget expects to get a utf-8
string.
2000-12-12 Dan Winship <danw@helixcode.com>
* Makefile.am (EXTRA_DIST): Add $(IDLS). (From campd.)
2000-12-07 Radek Doulik <rodo@helixcode.com>
* e-msg-composer.c (prepare_engine): added warnings
(prepare_engine): updated to IDL:GNOME/GtkHTML/Editor/Engine:1.0
* Makefile.am: renamed HTMLEditor* to Editor*, added Editor-common.c:
$(HTML_EDITOR_GENERATED) rule
2000-12-05 Jeffrey Stedfast <fejj@helixcode.com>
* e-msg-composer.c (add_recipients): Use camel to construct the
list of recipients rather than just strchr(recips, ',') which is
very prone to errors.
2000-11-03 Iain Holmes <iain@helixcode.com>
* e-msg-composer-attachment-bar.c (update): Pass NULL
instead of icon_name to the e_icon_list_append_pixbuf
function.
(init) Take the font size into account when setting the
height of the bar.
2000-11-02 Iain Holmes <iain@helixcode.com>
* e-msg-composer-attachment-bar.c (update): Use the
pixbuf_for_mime_type function to get the icon.
(pixbuf_for_mime_type): Functino that searches nautilus/
and mc/ for icon files.
2000-11-15 Radek Doulik <rodo@helixcode.com>
* e-msg-composer.c (prepare_engine): update namespace
* updates for HTMLEditor API changes
* e-msg-composer.c: added #include <libgnomevfs/gnome-vfs.h>
* e-msg-composer.h: e_msg_composer_guess_mime_type renamed and
moved mime_guess_type_from_file_name from camel as it uses VFS
2000-11-14 Radek Doulik <rodo@helixcode.com>
* listener.c (reply_indent): rename command to runCommand
* e-msg-composer.c: updated to HTMLEditor API changes
* listener.c: updated to HTMLEditor API changes
2000-11-13 Radek Doulik <rodo@helixcode.com>
* listener.c (reply_indent): extracted function, does reply
indentation, use updated editor engine api
2000-11-10 Michael Meeks <michael@helixcode.com>
* Makefile.am ($(HTML_EDITOR_GENERATED)): rearrnace
includes.
2000-11-10 Larry Ewing <lewing@helixcode.com>
* e-msg-composer.c (build_message): set the HTML charset to utf-8
for all the html message parts.
(build_message): make sure we set the proper encoding on the html
part now that it may contain utf-8 characters
2000-11-08 Radek Doulik <rodo@helixcode.com>
* e-msg-composer.c (e_msg_composer_clear_inlined_table): new
function
(destroy): use e_msg_composer_clear_inlined_table, destroy
inlined_images hash table
(get_signature): added in_html arg, it tells if we should use HTML
signature
(set_editor_text): try to use HTML signature
(e_msg_composer_new_with_sig_file): added send_html arg to be able
to use HTML signature
* listener.c (resolve_image_url): don't add inlined images to
attachement bar
* e-msg-composer.c (add_inlined_images): new function, adds
inlined images to multipart
(add_inlined_image): helper function, adds one image to multipart
(build_message): store HTML messages with inlined images to
multipart/related
* e-msg-composer-attachment-bar.c (add_from_file): removed
content_id arg
(e_msg_composer_attachment_bar_attach): likewise
* e-msg-composer-attachment.c (e_msg_composer_attachment_new):
removed content_id arg
2000-11-06 Not Zed <NotZed@HelixCode.com>
* e-msg-composer-hdrs.c (e_msg_composer_hdrs_to_message): Changed
for message api changes. Use camel_address_unformat to convert
the editable->usable.
(set_recipients): Same. Now we set the recipients as
camel_internet_address's. Fixed a memleak indirectly.
(decode_addresses): Removed, no longer needed.
(create_dropdown_entry): We dont want to use _encode(), we want to
_format, as we are displaying the result. We can use the static
function too to avoid the object creation, and the memory leak!
(set_entry): Convert the args to gtk-safe characters, since the
entry doesn't understand utf8.
(set_recipients): And likewise do the reverse when retrieving the
contents of the widget.
2000-11-06 Larry Ewing <lewing@helixcode.com>
* e-msg-composer.c (build_message): set the content type on the
plain part of outgoing messages.
(best_content): a helper function to get the best content type for
the attachment. This should probably use the helper functions in
the future.
2000-11-06 Kjartan Maraas <kmaraas@gnome.org>
* e-msg-composer-attachment.c: Added #include <config.h>
* e-msg-composer-hdrs.c: s/_HAVE_CONFIG_H/HAVE_CONFIG_H for
working i18n.
2000-11-04 Radek Doulik <rodo@helixcode.com>
* e-msg-composer-attachment.c (e_msg_composer_attachment_new): fix
test for regular file to !S_ISREG (statbuf.st_mode)
* listener.c (resolve_image_url): use inline images hash table
* e-msg-composer.c (init): create inlined images hash table
(destroy): destroy it
(clear_inline_images): helper function, used from
g_hash_table_foreach_remove to destroy one inline image record
* e-msg-composer.h: added hash table with inlined images url ->
cid info
2000-11-03 Radek Doulik <rodo@helixcode.com>
* listener.c (impl_event): updated for API changed
implemented image_url event
(resolve_image_url): new helper function, attaches image to mail
and returns new (resolved) url pointing to mime component
* e-msg-composer-attachment.c (e_msg_composer_attachment_new):
added conponent_id parameter
* e-msg-composer-attachment-bar.c
(e_msg_composer_attachment_bar_attach): added parameter content_id
(add_from_file): likewise
2000-11-03 Jeffrey Stedfast <fejj@helixcode.com>
* e-msg-composer-attachment.c (e_msg_composer_attachment_new):
Don't allow attaching anything but regular files.
2000-11-03 Federico Mena Quintero <federico@helixcode.com>
* Makefile.am: Clean the idl-generated files properly.
2000-11-02 Peter Williams <peterw@helixcode.com>
* e-msg-composer-attachment-bar.c (attach_to_multipart): CamelStreamMem
steals our byte array; we can't destroy the byte array explicitly, and
we must unref the stream only when done using the array.
2000-11-01 Jeffrey Stedfast <fejj@helixcode.com>
* e-msg-composer.c (e_msg_composer_new_with_message): Don't create
the To, Cc, and Bcc lists based only on the address, use both the
name and address and camel_address_encode() them.
2000-11-01 Jeffrey Stedfast <fejj@helixcode.com>
* e-msg-composer-attachment-bar.c (attach_to_multipart): Fix the
CTE kludge, calculate the best mime transfer encoding for the mime
part and use that. Include e-msg-composer-select-file.h
2000-10-31 Radek Doulik <rodo@helixcode.com>
* e-msg-composer.c (prepare_engine): new function, tries prepare
editor engine
(mark_orig_text): marks original text in editor
(set_editor_text): call mark_orig_text
(create_composer): call prepare_engine
* Makefile.am (IDL_GENERATED): added HTMLEditor generated files to
IDL_GENERATED
($(IDL_GENERATED)): generate also files from HTMLEditor.idl
(libcomposer_la_SOURCES): added listener.[ch]
* e-msg-composer.h: added editor_engine and editor_listener to
EMsgComposer
* listener.[ch]: new files, implementation of HTMLEditor::Listener
2000-10-27 Ettore Perazzoli <ettore@helixcode.com>
* Makefile.am ($(IDL_GENERATED)): Get `Composer.idl' from
`$(srcdir)' so that it builds with builddir != srcdir.
2000-10-27 Jeffrey Stedfast <fejj@helixcode.com>
* e-msg-composer.c (e_msg_composer_new_with_message): Fixed my
not-quite-right logic so that we don't accidently set the body
contents using a plain text attachment instead of the actual body
of the message :-)
2000-10-25 Jeffrey Stedfast <fejj@helixcode.com>
* e-msg-composer.c (e_msg_composer_new_with_message): Populate the
composer with any attachments.
2000-10-25 Iain Holmes <iain@helixcode.com>
* e-msg-composer-select-file.c (create_file_selection): Set the
wmclass and wmclass_name for the file selectors so that Sawfish
doesn't make the dialogs the same size as the parent.
2000-10-25 Dan Winship <danw@helixcode.com>
* evolution-composer.c (init): Attach send/postpone signal
handlers to the EMsgComposer.
(evolution_composer_factory_init): Take send/postpone signal
handlers as arguments.
2000-10-23 Dan Winship <danw@helixcode.com>
* e-msg-composer.c, e-msg-composer-attachment-bar.c: add some
missing _()s.
* e-msg-composer-address-dialog.*, e-msg-composer-address-entry.*:
Old cruft. Remove.
* Makefile.am: Update for removed files.
* e-msg-composer-hdrs.c: Remove e-msg-composer-address-entry.h
include.
* e-msg-composer.c: Remove e-msg-composer-address-dialog.h include
2000-10-23 Ariel Rios <ariel@arcavia.com>
* e-msg-composer-hdrs.c: Include Composer.h
instead of volution-Addressbook-SelectNames.h
2000-10-22 Dan Winship <danw@helixcode.com>
* .cvsignore: No, don't ignore Evolution-Addressbook-SelectNames*.
They're not supposed to be there any more.
2000-10-22 Ettore Perazzoli <ettore@helixcode.com>
* e-msg-composer-attachment-bar.c (attach_cb): Removed.
(add_from_user): Use `e_msg_composer_select_file()' instead of
doing the file selector widget magic by yourself.
2000-10-20 Jeffrey Stedfast <fejj@helixcode.com>
* .cvsignore: Ignore Evolution-Addressbook-SelectNames*
2000-10-20 Dan Winship <danw@helixcode.com>
* Evolution-Composer.idl: Evolution::Composer interface
* evolution-composer.[ch]: Implementation and factory. So
entirely not tested.
* Makefile.am (libcomposer_la_SOURCES): Add
evolution-composer.[ch]
(IDLS): Update this for Evolution-Composer.idl / Composer.idl
* main.c: Removed. (Old, dead code)
2000-10-19 Ettore Perazzoli <ettore@helixcode.com>
* Makefile.am (glade_data): Add `e-msg-composer-attachment.glade'.
(glade_messages): New.
(EXTRA_DIST): Add `$(glade_messages)'.
2000-10-19 Michael Meeks <michael@helixcode.com>
* e-msg-composer.c (create_menubar_file, create_menubar_edit),
(create_menubar_format, create_menubar_view, create_menubar): kill.
(create_toolbar): die.
(setup_ui): impl.
(e_msg_composer_construct): hook in.
(menu_format_html_cb): update.
(menu_view_attachments_activate_cb): ditto.
(destroy): upd.
(e_msg_composer_construct): upd.
(e_msg_composer_set_send_html): upd.
2000-10-16 Iain Holmes <iain@helixcode.com>
* e-msg-composer-hdrs.c (init): Don't need the ID anymore.
2000-10-17 Jeffrey Stedfast <fejj@helixcode.com>
* e-msg-composer.c (e_msg_composer_new_with_message): If the body
text was NULL, then don't bother turning it into HTML (besides, it
causes a nasty segfault).
2000-10-15 Dan Winship <danw@helixcode.com>
* Makefile.am: Move CPPFLAGS flags to INCLUDES to avoid bashing
any CPPFLAGS set at configure time.
2000-10-14 Jeffrey Stedfast <fejj@helixcode.com>
* e-msg-composer-attachment.c (set_entry): If the entry widget is
NULL, obviously we can't set any text on it.
2000-10-14 Iain Holmes <iain@helixcode.com>
* e-msg-composer-hdrs.c (init): Create a unique-ish id for this set
of headers, so that only one select-names dialog will be created for
a given set of headers.
(address_button_clicked_cb): Pass the unique-ish id to the activate
dialog command.
2000-10-13 Larry Ewing <lewing@helixcode.com>
* e-msg-composer.c (build_message): stop using format_text,
gtkhtml handles this now.
(format_text): function removed.
2000-10-10 Iain Holmes <iain@helixcode.com>
* e-icon-list.c: Allow NULL pixbufs, and load the "broken" image
* e-msg-composer-attachment-bar.c (update): If the image isn't
found load the default text/plain icon.
2000-10-02 Jeffrey Stedfast <fejj@helixcode.com>
* e-msg-composer.c (build_message): If the body of the message has
8-bit chars, set the Content-Transfer-Encoding type to the best
encoding.
2000-10-02 Dan Winship <danw@helixcode.com>
* e-icon-list.c: fix #include of gnome-canvas-pixbuf.h
2000-10-02 Iain Holmes <iain@helixcode.com>
* e-msg-composer-attachment-bar.c: If the description of an attachment
is a blank string, revert to displaying the filename.
2000-10-01 Iain Holmes <iain@helixcode.com>
* e-icon-list.c: If you try to add an icon from a file that doesn't
exist put a "Broken icon" image.
* bad-icon.xpm: Broken icon image.
2000-10-01 Iain Holmes <iain@helixcode.com>
* e-msg-composer-attachment-bar.[ch] (update): If the attachment is
an image, then make a thumbnail for it.
Base the attachment bar on e-icon-list instead of gnome-icon-list.
* e-icon-list.[ch]: New files. These are modified versions of
gnome-icon-list from gnome-libs HEAD that uses gdk-pixbuf instead
of the evil Imlib.
* e-msg-composer-attachment.[ch]: Add a pixbuf_cache member, to
save us having to generate a thumbnail for the attachment every
time the bar changes.
* e-msg-composer.c (e_msg_composer_construct): Add dnd support for
files. Drag a file to the composer to add it as an attachment.
2000-09-28 Jeffrey Stedfast <fejj@helixcode.com>
* e-msg-composer.c (build_message): Check to see if the body has
8bit chars, if so - set the Content-Transfer-Encoding to 8bit.
Addresses Bugzilla bug #652.
2000-09-25 Dan Winship <danw@helixcode.com>
* e-msg-composer-hdrs.c (setup_headers): fix typo in tooltip.
* e-msg-composer.c (create_menubar_file): fix accelerator for
"Save as" to be different from "Save". (Both problems pointed out
by menthos@menthos.com.)
2000-09-24 Jeffrey Stedfast <fejj@helixcode.com>
* e-msg-composer.c (get_signature): Updated to handle FIFO
streams.
2000-09-19 Dan Winship <danw@helixcode.com>
* e-msg-composer.c (e_msg_composer_construct): Don't g_error out
if the html-editor-control fails.
(create_composer): New internal function to create and construct a
msg_composer and pop up an error message if it fails.
(e_msg_composer_new, e_msg_composer_new_with_sig_file,
e_msg_composer_new_with_message, e_msg_composer_new_from_url): Use
create_composer, return if it fails, change return type to
EMsgComposer *.
2000-09-18 Dan Winship <danw@helixcode.com>
* e-msg-composer-attachment.c (get_mime_type): Use
gnome_vfs_get_file_info.
* e-msg-composer-attachment-bar.c (update): Use gnome_vfs_mime
functions, not old gnome_mime.
2000-09-18 Christopher James Lahey <clahey@helixcode.com>
* Makefile.am: Added $(EXTRA_GNOME_CFLAGS) and
$(EXTRA_GNOME_LIBS). Removed unneeded libraries.
* e-msg-composer-address-dialog.c, e-msg-composer-address-entry.c,
e-msg-composer-attachment.c, e-msg-composer-hdrs.c,
e-msg-composer.c: Fixed the #include lines to deal properly with
gal.
2000-09-12 Michael Meeks <michael@helixcode.com>
* e-msg-composer.c: Update for new UI handler.
2000-09-12 Larry Ewing <lewing@helixcode.com>
* e-msg-composer-attachment-bar.c (add_common): add a make sure
the attachment isn't NULL. A more complete fix coming soon.
2000-09-12 Ettore Perazzoli <ettore@helixcode.com>
* Makefile.am ($(IDL_GENERATED)): Add space after `-I'.
2000-09-05 Ettore Perazzoli <ettore@helixcode.com>
* e-msg-composer.c (create_menubar_format): Accelerate the
`Format' menu with an `o' instead of an `f' [the `f' is already
taken by the "File" menu].
2000-09-04 Jeffrey Stedfast <fejj@helixcode.com>
* e-msg-composer.c (e_msg_composer_new_with_sig_file): Applied
Jesse's patch that sets the composer's sig_file
2000-09-02 Lauris Kaplinski <lauris@helixcode.com>
* e-msg-composer-address-dialog.c: Use e_utf8 wrappers
2000-09-01 Jeffrey Stedfast <fejj@helixcode.com>
* e-msg-composer.c (e_msg_composer_get_sig_file): This needs to
return a const char * and not a char *, because we're not actually
allocating memory here.
(create_menubar_file): Changed "Send" to "Send Now" and added
"Send Later"
(menu_file_send_later_cb): New callback that emits the POSTPONE
signal (equivalent to "Send Later"
2000-08-28 Jeffrey Stedfast <fejj@helixcode.com>
* e-msg-composer.c (e_msg_composer_new_with_message): Always
request to import the HTML version if at all possible so that we
maintain formatting and other nifty stuff :-)
2000-08-28 Jeffrey Stedfast <fejj@helixcode.com>
* e-msg-composer-hdrs.c (e_msg_composer_hdrs_to_message): Set the
"From" address in the CamelMimeMessage. Also updated to use
get_subject to both make our lives easier and prepare for using UTF8
(e_msg_composer_hdrs_get_subject): Updated to behave similarly to
get_from and return allocated memory (it will have to return
allocated memory once it's converted to use UTF8 anyways)
* e-msg-composer.c (setup_save_draft): Always set
composer->send_html = TRUE so that formatting is preserved.
2000-08-24 Lauris Kaplinski <lauris@helixcode.com>
* e-msg-composer-address-entry.c: Use e_utf8 wrappers
* e-msg-composer-attachment.c: Use e_utf8 wrappers
* e-msg-composer-hdrs.c: Use e_utf8 wrappers
2000-08-24 Peter Williams <peterw@helixcode.com>
* Makefile.am (INCLUDES): Add builddir/shell so we can
get Evolution.h
2000-08-12 Michael Meeks <michael@helixcode.com>
* e-msg-composer.c (get_text): get_text not get_txt.
2000-08-11 JP Rosevear <jpr@helixcode.com>
* e-msg-composer.c (e_msg_composer_new_with_message): Use
new config accessors
2000-08-10 Dan Winship <danw@helixcode.com>
* e-msg-composer.c: Remove unneeded e-setup.h include
2000-08-10 Jeffrey Stedfast <fejj@helixcode.com>
* e-msg-composer.c (exit_dialog_cb): Made async
2000-08-10 Peter Williams <peterw@helixcode.com>
* e-msg-composer.c (do_exit): Temporarily disable draft saving
while we figure out how to work around Zucchi's new append_message.
2000-08-10 Jeffrey Stedfast <fejj@helixcode.com>
* e-msg-composer-hdrs.c (e_msg_composer_hdrs_get_from): Return the
text in GtkCombo->entry
2000-08-09 Jeffrey Stedfast <fejj@helixcode.com>
* e-msg-composer-hdrs.c (create_dropdown_entry): Fixed the GList
identity stuff, should now display all configured identities.
2000-08-09 Christopher James Lahey <clahey@helixcode.com>
* e-msg-composer-address-dialog.c: Fixed some warnings.
* e-msg-composer-hdrs.c: Switched the composer to use an EEntry
for the subject field.
* e-msg-composer.c: Changed the non scaling objects in this vbox
to be FALSE, FALSE instead of FALSE, TRUE.
2000-08-09 Jeffrey Stedfast <fejj@helixcode.com>
* e-msg-composer-hdrs.c (add_header): Modified to allow dropdown
entry-boxes as well (for headers like From:)
(setup_headers): Modified to use the correct enum type.
(create_dropdown_entry): New convenience function to add a
drop-down combo box and fill it in with identities
(init): Set from_entry to NULL
(e_msg_composer_hdrs_get_from): New convenience function to get
the text in the From widget in the composer
(e_msg_composer_hdrs_set_from): New convenience function to set
the From header in the composer
2000-08-08 JP Rosevear <jpr@helixcode.com>
* Makefile.am: Fix build by allowing includes for e-table dir
2000-08-07 Jeffrey Stedfast <fejj@helixcode.com>
* e-msg-composer-attachment-bar.c (attach_to_multipart):
s/strcasecmp/g_strcasecmp
* e-msg-composer.c: s/strncasecmp/g_strncasecmp - this will help
later with building on different platforms :-)
2000-08-07 Jeffrey Stedfast <fejj@helixcode.com>
* e-msg-composer.c (e_msg_composer_new_with_message): Added code
to set the body text based on the CamelMimeMessage.
(set_editor_text): Use lowercase html tags...
2000-08-07 Jeffrey Stedfast <fejj@helixcode.com>
* e-msg-composer.c (do_exit): Prompt the user to save their
composition in Drafts.
(set_editor_text): Uhm, use "-- \n" not "--\n" because the space
is called for in the standard
(e_msg_composer_new_with_message): New convenience function that
takes a CamelMimeMessage as an argument. This will be useful when
we code the ability to resume the editing of a message draft (like
in the Drafts folder).
2000-08-01 JP Rosevear <jpr@helixcode.com>
* e-msg-composer.h: Constify param
* e-msg-composer.c (get_signature): Constify param
(set_editor_text): ditto
(e_msg_composer_new_with_sig_file): ditto
2000-08-01 Peter Williams <peterw@helixcode.com>
* e-msg-composer.c (set_editor_text): sizeof("--\") !=
strlen("--\n"), breaking the test for the signature prefix.
2000-07-28 JP Rosevear <jpr@helixcode.com>
* e-msg-composer.c (e_msg_composer_new_with_sig_file): New
function to create composer with sig file set.
(e_msg_composer_get_sig_file): New function to get sig file
(e_msg_composer_set_sig_file): New function to set sig file
2000-07-25 Michael Meeks <michael@helixcode.com>
* e-msg-composer.c (get_text): add textual exception printout.
(set_editor_text): close pre tags & check for pre-existing
sig separator.
2000-07-25 Peter Williams <peterw@helixcode.com>
* e-msg-composer.c (menu_file_insert_file_cb): Mark this function
as FIXME because we're waiting for the HTML Editor Control to
support paste commands. Also some updates for when that happens.
2000-07-24 Dan Winship <danw@helixcode.com>
* e-msg-composer.c: Remove GOAD support.
(create_editor): Try to give a more helpful error message when
failing to load the editor control.
2000-07-23 Ettore Perazzoli <ettore@helixcode.com>
* e-msg-composer.c (menu_format_html_cb): New callback for the
"Send HTML" menu toggle item.
(create_menubar_format): New.
(create_menubar): Call it.
(create_menubar_options): Removed.
(init): Initialize `send_html' and `attachment_bar_visible' to
FALSE.
(get_signature): Add `void' to the declaration. This is C, not
C++.
(menu_file_close_cb): Renamed from `exit_cb'.
(menu_file_send_cb): Renamed from `send_cb'.
(menu_file_save_as_cb): Renamed from `save_as_cb'.
(menu_file_save_cb): Renamed from `save_cb'.
(menu_file_open_cb): Renamed from `open_cb'.
(menu_file_add_attachment_cb): Renamed from `add_attachment_cb'.
(menu_file_insert_file_cb): Renamed from `insert_file_cb'.
(e_msg_composer_set_send_html): New.
(build_message): Use the `send_html' flag instead of peeking the
`msg_format' gnome-config value directly.
* e-msg-composer.h: New member `send_html' in `EMsgComposer'.
2000-07-23 Ettore Perazzoli <ettore@helixcode.com>
* e-msg-composer.c: Changed to use BonoboUIHandler stuff directly
instead of translating from GnomeUIInfo.
(create_menubar_file): New.
(create_menubar_edit): New.
(create_menubar_view): New.
(create_menubar_options): New.
(create_menubar): Use these functions to set up the menu bar.
(create_toolbar): Use BonoboUIHandler directly instead of
converting from GnomeUIInfo.
(toolbar_view_attachments_clicked_cb): Removed.
(address_dialog_cb): Removed.
(address_dialog_destroy_cb): Removed.
(address_dialog_apply_cb): Removed.
(setup_address_dialog): Removed.
2000-07-12 Peter Williams <peterw@helixcode.com>
* e-msg-composer.c: (view_tree) Make the "View Attachments" item
a toggleitem ... so that it can be toggled...
(menu_view_attachments_activate_cb): Treat the widget correctly
and toggle correctly.
2000-07-10 Ettore Perazzoli <ettore@helixcode.com>
* e-msg-composer.c (exit_cb): Use it.
(delete_event): New, handler for the "delete_event" signal.
2000-07-09 Dan Winship <danw@helixcode.com>
* e-msg-composer.c (set_editor_text): Don't load "" into the
editor, because it will cause the editor component to g_warning.
2000-07-09 Christopher James Lahey <clahey@helixcode.com>
* e-msg-composer-hdrs.c: Removed the extra frame here.
2000-07-08 Dan Winship <danw@helixcode.com>
* e-msg-composer.c (create_menubar): Create an empty "Edit" menu
for the editor control to insert itself into.
2000-07-08 Jeffrey Stedfast <fejj@helixcode.com>
* .cvsignore: Ignore dynamically created source files
2000-07-08 Ettore Perazzoli <ettore@helixcode.com>
* e-msg-composer-hdrs.c (set_entry): New.
(e_msg_composer_hdrs_set_to): Use it.
(e_msg_composer_hdrs_set_cc): Likewise
(e_msg_composer_hdrs_set_bcc): Likewise.
(e_msg_composer_hdrs_get_to): Replace implementation with a
`g_assert_not_reached()'.
(e_msg_composer_hdrs_get_cc): Likewise.
(e_msg_composer_hdrs_get_bcc): Likewise.
* e-msg-composer.c: Get rid of cut/copy/paste/undo as they
duplicate the editor toolbar and cannot be made to work for all
the widgets anyway.
2000-07-08 Ettore Perazzoli <ettore@helixcode.com>
* e-msg-composer-hdrs.c: New member `corba_select_names' in
`EMsgComposerHdrsPrivate'.
(destroy): If not `CORBA_OBJECT_NIL', release.
(init): Init to `CORBA_OBJECT_NIL'.
(setup_corba): New.
(e_msg_composer_hdrs_new): Call it.
(add_entry): Create the entries by using the ::SelectNames
interface.
(address_button_clicked_cb): Activate the dialog through the
::SelectNames interface.
2000-06-29 Jeffrey Stedfast <fejj@helixcode.com>
* e-msg-composer.c: Changed "Exit" to "Close" in the File menu.
This is a little more intuitive as it does not suggest exiting
the application, just says "close this window".
2000-06-26 Christopher James Lahey <clahey@helixcode.com>
* Makefile.am: Added e-msg-composer-select-file.h for make
distcheck.
2000-06-26 Ettore Perazzoli <ettore@helixcode.com>
* e-msg-composer.c
(load): New.
(open_cb): Use it.
(save): New function.
(save_cb): Implemented by using it.
(save_as_cb): Likewise.
2000-06-17 Ettore Perazzoli <ettore@helixcode.com>
* e-msg-composer.c (e_msg_composer_construct): I18N the title bar.
* Makefile.am (libcomposerinclude_HEADERS): Removed. Move all the
`.h' files into `libcomposer_la_SOURCES' so that they get
distributed, but not installed.
* e-msg-composer.c (open_cb): New; implement the `Open' command.
(save_as_cb): New; implement the `Save as' command.
(init): Initialize the `persist_file_interface' and
`persist_stream_interface' members to NULL.
(destroy): Release the PersistStream and PersistFile interfaces.
(e_msg_composer_construct): Query the PersistFile and
PersistStream interfaces on the control and save them in the
`persist_file_interface' and `persist_stream_interface' members.
(get_text): Renamed from `get_editor_text'. Get a
@persist_stream_interface instead of querying it a the control.
(build_message): Return NULL if `persist_stream_interface' is nil.
* e-msg-composer.h: New member `persist_file_interface' in
`EMsgComposer'.
* e-msg-composer-select-file.c: New.
* e-msg-composer-select-file.h: New.
* e-msg-composer.c (e_msg_composer_construct): Make the `To:'
entry grab the keyboard focus.
* e-msg-composer-hdrs.c (e_msg_composer_hdrs_get_to_entry): New.
(e_msg_composer_hdrs_get_cc_entry): New.
(e_msg_composer_hdrs_get_bcc_entry): New.
(e_msg_composer_hdrs_get_subject_entry): New.
* e-msg-composer.c (e_msg_composer_construct): Set the scroll
frame's shadow type to `GTK_SHADOW_IN'.
(format_text): Initialize `tabbing' to zero to shut down the
compiler.
2000-06-14 Dan Winship <danw@helixcode.com>
* e-msg-composer-attachment-bar.c (add_from_user): keep the
GtkFileSelection around between calls so we start up in the same
directory we ended up in last time around. (Also fixes a big
memory leak in that the code was already keeping the
GtkFileSelection around, it just wasn't remembering to reuse it.)
* e-msg-composer.c (format_text): Don't line-wrap lines that start
with ">".
2000-06-12 Dan Winship <danw@helixcode.com>
* e-msg-composer.c (format_text): If a paragraph starts with TABs,
indent the whole paragraph to that tab level.
2000-06-12 Ettore Perazzoli <ettore@helixcode.com>
* e-msg-composer.c: Make the `attachment_scroll_frame' an
`EScrollFrame'.
(exit_cb): I18N the quit message.
* e-msg-composer.h: `attachment_scrolled_window' renamed to
`attachment_scroll_frame'.
2000-06-12 Dan Winship <danw@helixcode.com>
* e-msg-composer.c (format_text): Don't break on non-breaking
spaces, don't keep non-breaking spaces that fall after a line
wrap, and translate non-breaking spaces to regular ones after
wrapping.
2000-06-05 Dan Winship <danw@helixcode.com>
* e-msg-composer.c (e_msg_composer_attach): New convenience
function.
* e-msg-composer-attachment.c: Store a CamelMimePart rather than
filename/description/mime_type info. Also record whether we were
told or guessed the MIME type.
(e_msg_composer_attachment_new_from_mime_part): New constructor.
(e_msg_composer_attachment_edit): Remove the "browse" button. (If
the user wants to change the actual file that the attachment is
based on, he should delete the attachment and create a new one...)
Remove the "Apply" button, because it's not all that useful. Make
the MIME type only track the filename if it was guessed rather
than being provided.
* e-msg-composer-attachment.glade: Remove "browse" and "apply"
buttons. Make filename editable.
* e-msg-composer-attachment-bar.c (sort): Removed. Send the
attachments in the order the user attached them in.
(text_changed): Removed, since we weren't enabling the relevant
GnomeIconList functionality that would have used this.
(update): Don't print the size if it's 0.
(attach_to_multipart, etc): adjust for EMsgComposerAttachment
changes.
(attach_to_multipart): Use 7bit encoding for message/ subparts.
(e_msg_composer_attachment_bar_attach_mime_part): New convenience
function.
2000-06-02 Christopher James Lahey <clahey@helixcode.com>
* e-msg-composer.c: Added the ability to save plain text mail.
2000-05-29 Dan Winship <danw@helixcode.com>
* e-msg-composer.c (get_editor_text): add a "format" argument so
we can fetch different kinds of text.
(format_text): New function to do line wrapping on plain text.
(build_message): Build multipart/alternative messages rather than
HTML-only ones. Yay. We don't suck (as much) any more!
2000-05-28 Dan Winship <danw@helixcode.com>
* e-msg-composer.c: #include <errno.h>
2000-05-26 Dan Winship <danw@helixcode.com>
* e-msg-composer.c (get_editor_text, set_editor_text): Update for
PersistStream changes
(build_message): Update for CamelMultipart changes.
* e-msg-composer.c (get_signature): routine to read the user's
signature file.
(set_editor_text): If the user has configured a signature, append
it to the set text.
(e_msg_composer_new): Call set_editor_text with "" to load the
signature (if any).
2000-05-25 Not Zed <NotZed@HelixCode.com>
* e-msg-composer.c (build_message): Use camel_data_wrapper_new
instead of camel_simple_data_wrapper_new.
2000-05-17 Dan Winship <danw@helixcode.com>
* e-msg-composer.c (build_message): Use
camel_simple_data_wrapper_new rather than camel_data_wrapper_new.
2000-05-13 Valek Filippov <frob@df.ru>
* e-msg-composer-attachment.glade: save translatable strings
* e-msg-composer-attachment.glade.h: file with strings
* e-msg-composer-address-dialog.glade: save translatable strings
* e-msg-composer-address-dialog.glade.h: file with strings
2000-05-12 Dan Winship <danw@helixcode.com>
* e-msg-composer.c (get_editor_text): NUL-terminate the data
extracted from the BonoboStream.
2000-05-10 Dan Winship <danw@helixcode.com>
* e-msg-composer-attachment-bar.c (attach_to_multipart): deal with
Content-Transfer-Encoding a little bit at least.
2000-05-07 Mathieu Lacage <mathieu@gnu.org>
* e-msg-composer.c (create_editor): remove FIXME and hardcoded
string. You can write mails with OAF now.
2000-05-07 Dan Winship <danw@helixcode.com>
* e-msg-composer.c (build_message): unref content, etc. after
attaching it to message.
* e-msg-composer-attachment-bar.c (attach_to_multipart): unref
part after attaching it.
2000-05-06 Christopher James Lahey <clahey@helixcode.com>
* e-msg-composer-hdrs.c: Turned off focus in the To, Cc, and Bcc
buttons.
2000-05-02 Matt Loper <matt@helixcode.com>
* Makefile.am: set G_LOG_DOMAIN.
2000-04-28 Dan Winship <danw@helixcode.com>
* e-msg-composer-hdrs.c (set_recipients): Update (minimally) for
Camel recipient changes.
2000-04-27 Dan Winship <danw@helixcode.com>
* e-msg-composer.c (e_msg_composer_new_from_url): New routine, to
process mailto URLs.
2000-04-26 Dan Winship <danw@helixcode.com>
* e-msg-composer.c (build_message): Only generate a multipart
message if there are attachments. Otherwise generate a single
part.
* Update for CamelMimeBodyPart -> CamelMimePart
2000-04-26 Dan Winship <danw@helixcode.com>
* e-msg-composer-attachment-bar.c (attach_to_multipart): add a
s/SIMPLE_// that notzed missed. Update to use
camel_mime_part_set_content.
* e-msg-composer.c (build_message): remove a now-unused variable.
Update for camel_mime_part_set_content.
2000-04-26 NotZed <NotZed@HelixCode.com>
* e-msg-composer.c (build_message): Use camel_mime_part_set_text()
to set the text rather than messing with data wrappers.
* e-msg-composer-attachment-bar.c (attach_to_multipart): Change
for new camel-stream interfaces.
(attach_to_multipart): Also set base64 encoding by default.
2000-04-25 Radek Doulik <rodo@helixcode.com>
* e-msg-composer.c (create_editor): use uih here
(e_msg_composer_construct): create menubar/toolbar before creating
editor control
2000-04-23 Dan Winship <danw@helixcode.com>
* Makefile.am: build libcomposer static and don't install it.
* e-msg-composer-attachment-bar.c (attach_to_multipart): This was
only half-implemented. Finish it, mostly.
2000-04-22 Dan Winship <danw@helixcode.com>
* e-msg-composer.c (e_msg_composer_add_header): new function to
make the composer record additional headers it should output.
(In-Reply-To), etc.
(build_message): output them
2000-04-21 Dan Winship <danw@helixcode.com>
* e-msg-composer.c (e_msg_composer_set_headers):
(e_msg_composer_set_body_text): new functions
(exit_cb): Connect "Exit" menu item finally.
* e-msg-composer-hdrs.c: const poisoning
(e_msg_composer_hdrs_set_subject):
(e_msg_composer_hdrs_get_subject): new functions
* e-msg-composer-address-entry.c: const poisoning
2000-04-20 Dan Winship <danw@helixcode.com>
* e-msg-composer.c (get_editor_text, set_editor_text): new
functions to get and set the contents of the HTML editor via
Bonobo::PersistStream.
(build_message): use get_editor_text. This works again.
2000-04-17 Dan Winship <danw@helixcode.com>
* e-msg-composer.c (build_message): Change
camel_mime_message_new_with_session to camel_mime_message_new
2000-03-17 bertrand <bertrand@helixcode.com>
* e-msg-composer.c (create_menubar): Pass the composer as the data
for the menubar callbacks.
2000-03-12 Matt Loper <matt@helixcode.com>
* Makefile.am: Modified to make the composer into a library, to be
used by the mail component.
2000-03-07 Ettore Perazzoli <ettore@helixcode.com>
* e-msg-composer.c (create_toolbar): Pass the composer as the data
for the toolbar callbacks.
(e_msg_composer_construct): Connect the "changed" signal of the
attachment bar to `attachment_bar_changed()'.
(attachment_bar_changed): Renamed to `attachment_bar_changed_cb'.
2000-03-02 Ettore Perazzoli <ettore@helixcode.com>
* e-msg-composer.c (e_msg_composer_new): Precondition:
gtk_main_level() greater than zero.
(e_msg_composer_construct): Likewise.
(create_menus): New function. Set up menus through
BonoboUIHandler.
(e_msg_composer_construct): Use it.
* main.c (main): Initialize Bonobo.
* e-msg-composer.c (init): Initialize `uih' and `editor' to NULL.
Do not init `text' and `text_scrolled_window' anymore.
(destroy): Unref `uih'.
(e_msg_composer_construct): Create a new BonoboUIHandler and put
it into `uih'.
(create_editor): New helper function.
(e_msg_composer_construct): Use it to set up the editor.
* e-msg-composer.h: New member `uih' in `EMsgComposer'. Removed
members `text', `text_scrolled_window'. New member `editor'.
* Makefile.am (INCLUDES): Add `$(BONOBO_GNOME_CFLAGS)'.
(evolution_msg_composer_LDADD): Add `$(BONOBO_GNOME_LIBS)'.
* e-msg-composer.c (glade_connect): Removed.
(setup_signals): Removed.
(e_msg_composer_construct): Do not use libglade to set the toolbar
and menubar up.
(destroy): Removed libglade stuff.
(init): Likewise.
* e-msg-composer.h: Removed `menubar_gui', `toolbar_gui',
`appbar_gui'.
* e-msg-composer.glade: Removed.
2000-01-12 bertrand <bertrand@helixcode.com>
* Makefile.am (evolution_msg_composer_LDADD):
use $(EXTRA_GNOME_LIBS_THREADS) to link with gthread
1999-11-17 Ettore Perazzoli <ettore@gnu.org>
* Makefile.am: New Makefile to compile the message composer
executable.
* main.c: New file.
* e-msg-composer-hdrs.c (e_msg_composer_hdrs_to_message): Use
`CAMEL_RECIPIENT*' macros instead of the old `RECIPIENT*' ones
that do not exist anymore.
* e-msg-composer-address-dialog.c
(e_msg_composer_address_dialog_construct): Use `E_GLADEDIR'
instead of `E_GUIDIR'.
* e-msg-composer-attachment.c (e_msg_composer_attachment_edit):
Likewise.
* e-msg-composer.c (e_msg_composer_construct): Likewise.
(See `$(top_srcdir)/widgets/ChangeLog' for previous changes to the
message composer.)
|