1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451
2452
2453
2454
2455
2456
2457
2458
2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
2474
2475
2476
2477
2478
2479
2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492
2493
2494
2495
2496
2497
2498
2499
2500
2501
2502
2503
2504
2505
2506
2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
2528
2529
2530
2531
2532
2533
2534
2535
2536
2537
2538
2539
2540
2541
2542
2543
2544
2545
2546
2547
2548
2549
2550
2551
2552
2553
2554
2555
2556
2557
2558
2559
2560
2561
2562
2563
2564
2565
2566
2567
2568
2569
2570
2571
2572
2573
2574
2575
2576
2577
2578
2579
2580
2581
2582
2583
2584
2585
2586
2587
2588
2589
2590
2591
2592
2593
2594
2595
2596
2597
2598
2599
2600
2601
2602
2603
2604
2605
2606
2607
2608
2609
2610
2611
2612
2613
2614
2615
2616
2617
2618
2619
2620
2621
2622
2623
2624
2625
2626
2627
2628
2629
2630
2631
2632
2633
2634
2635
2636
2637
2638
2639
2640
2641
2642
2643
2644
2645
2646
2647
2648
2649
2650
2651
2652
2653
2654
2655
2656
2657
2658
2659
2660
2661
2662
2663
2664
2665
2666
2667
2668
2669
2670
2671
2672
2673
2674
2675
2676
2677
2678
2679
2680
2681
2682
2683
2684
2685
2686
2687
2688
2689
2690
2691
2692
2693
2694
2695
2696
2697
2698
2699
2700
2701
2702
2703
2704
2705
2706
2707
2708
2709
2710
2711
2712
2713
2714
2715
2716
2717
2718
2719
2720
2721
2722
2723
2724
2725
2726
2727
2728
2729
2730
2731
2732
2733
2734
2735
2736
2737
2738
2739
2740
2741
2742
2743
2744
2745
2746
2747
2748
2749
2750
2751
2752
2753
2754
2755
2756
2757
2758
2759
2760
2761
2762
2763
2764
2765
2766
2767
2768
2769
2770
2771
2772
2773
2774
2775
2776
2777
2778
2779
2780
2781
2782
2783
2784
2785
2786
2787
2788
2789
2790
2791
2792
2793
2794
2795
2796
2797
2798
2799
2800
2801
2802
2803
2804
2805
2806
2807
2808
2809
2810
2811
2812
2813
2814
2815
2816
2817
2818
2819
2820
2821
2822
2823
2824
2825
2826
2827
2828
2829
2830
2831
2832
2833
2834
2835
2836
2837
2838
2839
2840
2841
2842
2843
2844
2845
2846
2847
2848
2849
2850
2851
2852
2853
2854
2855
2856
2857
2858
2859
2860
2861
2862
2863
2864
2865
2866
2867
2868
2869
2870
2871
2872
2873
2874
2875
2876
2877
2878
2879
2880
2881
2882
2883
2884
2885
2886
2887
2888
2889
2890
2891
2892
2893
2894
2895
2896
2897
2898
2899
2900
2901
2902
2903
2904
2905
2906
2907
2908
2909
2910
2911
2912
2913
2914
2915
2916
2917
2918
2919
2920
2921
2922
2923
2924
2925
2926
2927
2928
2929
2930
2931
2932
2933
2934
2935
2936
2937
2938
2939
2940
2941
2942
2943
2944
2945
2946
2947
2948
2949
2950
2951
2952
2953
2954
2955
2956
2957
2958
2959
2960
2961
2962
2963
2964
2965
2966
2967
2968
2969
2970
2971
2972
2973
2974
2975
2976
2977
2978
2979
2980
2981
2982
2983
2984
2985
2986
2987
2988
2989
2990
2991
2992
2993
2994
2995
2996
2997
2998
2999
3000
3001
3002
3003
3004
3005
3006
3007
3008
3009
3010
3011
3012
3013
3014
3015
3016
3017
3018
3019
3020
3021
3022
3023
3024
3025
3026
3027
3028
3029
3030
3031
3032
3033
3034
3035
3036
3037
3038
3039
3040
3041
3042
3043
3044
3045
3046
3047
3048
3049
3050
3051
3052
3053
3054
3055
3056
3057
3058
3059
3060
3061
3062
3063
3064
3065
3066
3067
3068
3069
3070
3071
3072
3073
3074
3075
3076
3077
3078
3079
3080
3081
3082
3083
3084
3085
3086
3087
3088
3089
3090
3091
3092
3093
3094
3095
3096
3097
3098
3099
3100
3101
3102
3103
3104
3105
3106
3107
3108
3109
3110
3111
3112
3113
3114
3115
3116
3117
3118
3119
3120
3121
3122
3123
3124
3125
3126
3127
3128
3129
3130
3131
3132
3133
3134
3135
3136
3137
3138
3139
3140
3141
3142
3143
3144
3145
3146
3147
3148
3149
3150
3151
3152
3153
3154
3155
3156
3157
3158
3159
3160
3161
3162
3163
3164
3165
3166
3167
3168
3169
3170
3171
3172
3173
3174
3175
3176
3177
3178
3179
3180
3181
3182
3183
3184
3185
3186
3187
3188
3189
3190
3191
3192
3193
3194
3195
3196
3197
3198
3199
3200
3201
3202
3203
3204
3205
3206
3207
3208
3209
3210
3211
3212
3213
3214
3215
3216
3217
3218
3219
3220
3221
3222
3223
3224
3225
3226
3227
3228
3229
3230
3231
3232
3233
3234
3235
3236
3237
3238
3239
3240
3241
3242
3243
3244
3245
3246
3247
3248
3249
3250
3251
3252
3253
3254
3255
3256
3257
3258
3259
3260
3261
3262
3263
3264
3265
3266
3267
3268
3269
3270
3271
3272
3273
3274
3275
3276
3277
3278
3279
3280
3281
3282
3283
3284
3285
3286
3287
3288
3289
3290
3291
3292
3293
3294
3295
3296
3297
3298
3299
3300
3301
3302
3303
3304
3305
3306
3307
3308
3309
3310
3311
3312
3313
3314
3315
3316
3317
3318
3319
3320
3321
3322
3323
3324
3325
3326
3327
3328
3329
3330
3331
3332
3333
3334
3335
3336
3337
3338
3339
3340
3341
3342
3343
3344
3345
3346
3347
3348
3349
3350
3351
3352
3353
3354
3355
3356
3357
3358
3359
3360
3361
3362
3363
3364
3365
3366
3367
3368
3369
3370
3371
3372
3373
3374
3375
3376
3377
3378
3379
3380
3381
3382
3383
3384
3385
3386
3387
3388
3389
3390
3391
3392
3393
3394
3395
3396
3397
3398
3399
3400
3401
3402
3403
3404
3405
3406
3407
3408
3409
3410
3411
3412
3413
3414
3415
3416
3417
3418
3419
3420
3421
3422
3423
3424
3425
3426
3427
3428
3429
3430
3431
3432
3433
3434
3435
3436
3437
3438
3439
3440
3441
3442
3443
3444
3445
3446
3447
3448
3449
3450
3451
3452
3453
3454
3455
3456
3457
3458
3459
3460
3461
3462
3463
3464
3465
3466
3467
3468
3469
3470
3471
3472
3473
3474
3475
3476
3477
3478
3479
3480
3481
3482
3483
3484
3485
3486
3487
3488
3489
3490
3491
3492
3493
3494
3495
3496
3497
3498
3499
3500
3501
3502
3503
3504
3505
3506
3507
3508
3509
3510
3511
3512
3513
3514
3515
3516
3517
3518
3519
3520
3521
3522
3523
3524
3525
3526
3527
3528
3529
3530
3531
3532
3533
3534
3535
3536
3537
3538
3539
3540
3541
3542
3543
3544
3545
3546
3547
3548
3549
3550
3551
3552
3553
3554
3555
3556
3557
3558
3559
3560
3561
3562
3563
3564
3565
3566
3567
3568
3569
3570
3571
3572
3573
3574
3575
3576
3577
3578
3579
3580
3581
3582
3583
3584
3585
3586
3587
3588
3589
3590
3591
3592
3593
3594
3595
3596
3597
3598
3599
3600
3601
3602
3603
3604
3605
3606
3607
3608
3609
3610
3611
3612
3613
3614
3615
3616
3617
3618
3619
3620
3621
3622
3623
3624
3625
3626
3627
3628
3629
3630
3631
3632
3633
3634
3635
3636
3637
3638
3639
3640
3641
3642
3643
3644
3645
3646
3647
3648
3649
3650
3651
3652
3653
3654
3655
3656
3657
3658
3659
3660
3661
3662
3663
3664
3665
3666
3667
3668
3669
3670
3671
3672
3673
3674
3675
3676
3677
3678
3679
3680
3681
3682
3683
3684
3685
3686
3687
3688
3689
3690
3691
3692
3693
3694
3695
3696
3697
3698
3699
3700
3701
3702
3703
3704
3705
3706
3707
3708
3709
3710
3711
3712
3713
3714
3715
3716
3717
3718
3719
3720
3721
3722
3723
3724
3725
3726
3727
3728
3729
3730
3731
3732
3733
3734
3735
3736
3737
3738
3739
3740
3741
3742
3743
3744
3745
3746
3747
3748
3749
3750
3751
3752
3753
3754
3755
3756
3757
3758
3759
3760
3761
3762
3763
3764
3765
3766
3767
3768
3769
3770
3771
3772
3773
3774
3775
3776
3777
3778
3779
3780
3781
3782
3783
3784
3785
3786
3787
3788
3789
3790
3791
3792
3793
3794
3795
3796
3797
3798
3799
3800
3801
3802
3803
3804
3805
3806
3807
3808
3809
3810
3811
3812
3813
3814
3815
3816
3817
3818
3819
3820
3821
3822
3823
3824
3825
3826
3827
3828
3829
3830
3831
3832
3833
3834
3835
3836
3837
3838
3839
3840
3841
3842
3843
3844
3845
3846
3847
3848
3849
3850
3851
3852
3853
3854
3855
3856
3857
3858
3859
3860
3861
3862
3863
3864
3865
3866
3867
3868
3869
3870
3871
3872
3873
3874
3875
3876
3877
3878
3879
3880
3881
3882
3883
3884
3885
3886
3887
3888
3889
3890
3891
3892
3893
3894
3895
3896
3897
3898
3899
3900
3901
3902
3903
3904
3905
3906
3907
3908
3909
3910
3911
3912
3913
3914
3915
3916
3917
3918
3919
3920
3921
3922
3923
3924
3925
3926
3927
3928
3929
3930
3931
3932
3933
3934
3935
3936
3937
3938
3939
3940
3941
3942
3943
3944
3945
3946
3947
3948
3949
3950
3951
3952
3953
3954
3955
3956
3957
3958
3959
3960
3961
3962
3963
3964
3965
3966
3967
3968
3969
3970
3971
3972
3973
3974
3975
3976
3977
3978
3979
3980
3981
3982
3983
3984
3985
3986
3987
3988
3989
3990
3991
3992
3993
3994
3995
3996
3997
3998
3999
4000
4001
4002
4003
4004
4005
4006
4007
4008
4009
4010
4011
4012
4013
4014
4015
4016
4017
4018
4019
4020
4021
4022
4023
4024
4025
4026
4027
4028
4029
4030
4031
4032
4033
4034
4035
4036
4037
4038
4039
4040
4041
4042
4043
4044
4045
4046
4047
4048
4049
4050
4051
4052
4053
4054
4055
4056
4057
4058
4059
4060
4061
4062
4063
4064
4065
4066
4067
4068
4069
4070
4071
4072
4073
4074
4075
4076
4077
4078
4079
4080
4081
4082
4083
4084
4085
4086
4087
4088
4089
4090
4091
4092
4093
4094
4095
4096
4097
4098
4099
4100
4101
4102
4103
4104
4105
4106
4107
4108
4109
4110
4111
4112
4113
4114
4115
4116
4117
4118
4119
4120
4121
4122
4123
4124
4125
4126
4127
4128
4129
4130
4131
4132
4133
4134
4135
4136
4137
4138
4139
4140
4141
4142
4143
4144
4145
4146
4147
4148
4149
4150
4151
4152
4153
4154
4155
4156
4157
4158
4159
4160
4161
4162
4163
4164
4165
4166
4167
4168
4169
4170
4171
4172
4173
4174
4175
4176
4177
4178
4179
4180
4181
4182
4183
4184
4185
4186
4187
4188
4189
4190
4191
4192
4193
4194
4195
4196
4197
4198
4199
4200
4201
4202
4203
4204
4205
4206
4207
4208
4209
4210
4211
4212
4213
4214
4215
4216
4217
4218
4219
4220
4221
4222
4223
4224
4225
4226
4227
4228
4229
4230
4231
4232
4233
4234
4235
4236
4237
4238
4239
4240
4241
4242
4243
4244
4245
4246
4247
4248
4249
4250
4251
4252
4253
4254
4255
4256
4257
4258
4259
4260
4261
4262
4263
4264
4265
4266
4267
4268
4269
4270
4271
4272
4273
4274
4275
4276
4277
4278
4279
4280
4281
4282
4283
4284
4285
4286
4287
4288
4289
4290
4291
4292
4293
4294
4295
4296
4297
4298
4299
4300
4301
4302
4303
4304
4305
4306
4307
4308
4309
4310
4311
4312
4313
4314
4315
4316
4317
4318
4319
4320
4321
4322
4323
4324
4325
4326
4327
4328
4329
4330
4331
4332
4333
4334
4335
4336
4337
4338
4339
4340
4341
4342
4343
4344
4345
4346
4347
4348
4349
4350
4351
4352
4353
4354
4355
4356
4357
4358
4359
4360
4361
4362
4363
4364
4365
4366
4367
4368
4369
4370
4371
4372
4373
4374
4375
4376
4377
4378
4379
4380
4381
4382
4383
4384
4385
4386
4387
4388
4389
4390
4391
4392
4393
4394
4395
4396
4397
4398
4399
4400
4401
4402
4403
4404
4405
4406
4407
4408
4409
4410
4411
4412
4413
4414
4415
4416
4417
4418
4419
4420
4421
4422
4423
4424
4425
4426
4427
4428
4429
4430
4431
4432
4433
4434
4435
4436
4437
4438
4439
4440
4441
4442
4443
4444
4445
4446
4447
4448
4449
4450
4451
4452
4453
4454
4455
4456
4457
4458
4459
4460
4461
4462
4463
4464
4465
4466
4467
4468
4469
4470
4471
4472
4473
4474
4475
4476
4477
4478
4479
4480
4481
4482
4483
4484
4485
4486
4487
4488
4489
4490
4491
4492
4493
4494
4495
4496
4497
4498
4499
4500
4501
4502
4503
4504
4505
4506
4507
4508
4509
4510
4511
4512
4513
4514
4515
4516
4517
4518
4519
4520
4521
4522
4523
4524
4525
4526
4527
4528
4529
4530
4531
4532
4533
4534
4535
4536
4537
4538
4539
4540
4541
4542
4543
4544
4545
4546
4547
4548
4549
4550
4551
4552
4553
4554
4555
4556
4557
4558
4559
4560
4561
4562
4563
4564
4565
4566
4567
4568
4569
4570
4571
4572
4573
4574
4575
4576
4577
4578
4579
4580
4581
4582
4583
4584
4585
4586
4587
4588
4589
4590
4591
4592
4593
4594
4595
4596
4597
4598
4599
4600
4601
4602
4603
4604
4605
4606
4607
4608
4609
4610
4611
4612
4613
4614
4615
4616
4617
4618
4619
4620
4621
4622
4623
4624
4625
4626
4627
4628
4629
4630
4631
4632
4633
4634
4635
4636
4637
4638
4639
4640
4641
4642
4643
4644
4645
4646
4647
4648
4649
4650
4651
4652
4653
4654
4655
4656
4657
4658
4659
4660
4661
4662
4663
4664
4665
4666
4667
4668
4669
4670
4671
4672
4673
4674
4675
4676
4677
4678
4679
4680
4681
4682
4683
4684
4685
4686
4687
4688
4689
4690
4691
4692
4693
4694
4695
4696
4697
4698
4699
4700
4701
4702
4703
4704
4705
4706
4707
4708
4709
4710
4711
4712
4713
4714
4715
4716
4717
4718
4719
4720
4721
4722
4723
4724
4725
4726
4727
4728
4729
4730
4731
4732
4733
4734
4735
4736
4737
4738
4739
4740
4741
4742
4743
4744
4745
4746
4747
4748
4749
4750
4751
4752
4753
4754
4755
4756
4757
4758
4759
4760
4761
4762
4763
4764
4765
4766
4767
4768
4769
4770
4771
4772
4773
4774
4775
4776
4777
4778
4779
4780
4781
4782
4783
4784
4785
4786
4787
4788
4789
4790
4791
4792
4793
4794
4795
4796
4797
4798
4799
4800
4801
4802
4803
4804
4805
4806
4807
4808
4809
4810
4811
4812
4813
4814
4815
4816
4817
4818
4819
4820
4821
4822
4823
4824
4825
4826
4827
4828
4829
4830
4831
4832
4833
4834
4835
4836
4837
4838
4839
4840
4841
4842
4843
4844
4845
4846
4847
4848
4849
4850
4851
4852
4853
4854
4855
4856
4857
4858
4859
4860
4861
4862
4863
4864
4865
4866
4867
4868
4869
4870
4871
4872
4873
4874
4875
4876
4877
4878
4879
4880
4881
4882
4883
4884
4885
4886
4887
4888
4889
4890
4891
4892
4893
4894
4895
4896
4897
4898
4899
4900
4901
4902
4903
4904
4905
4906
4907
4908
4909
4910
4911
4912
4913
4914
4915
4916
4917
4918
4919
4920
4921
4922
4923
4924
4925
4926
4927
4928
4929
4930
4931
4932
4933
4934
4935
4936
4937
4938
4939
4940
4941
4942
4943
4944
4945
4946
4947
4948
4949
4950
4951
4952
4953
4954
4955
4956
4957
4958
4959
4960
4961
4962
4963
4964
4965
4966
4967
4968
4969
4970
4971
4972
4973
4974
4975
4976
4977
4978
4979
4980
4981
4982
4983
4984
4985
4986
4987
4988
4989
4990
4991
4992
4993
4994
4995
4996
4997
4998
4999
5000
5001
5002
5003
5004
5005
5006
5007
5008
5009
5010
5011
5012
5013
5014
5015
5016
5017
5018
5019
5020
5021
5022
5023
5024
5025
5026
5027
5028
5029
5030
5031
5032
5033
5034
5035
5036
5037
5038
5039
5040
5041
5042
5043
5044
5045
5046
5047
5048
5049
5050
5051
5052
5053
5054
5055
5056
5057
5058
5059
5060
5061
5062
5063
5064
5065
5066
5067
5068
5069
5070
5071
5072
5073
5074
5075
5076
5077
5078
5079
5080
5081
5082
5083
5084
5085
5086
5087
5088
5089
5090
5091
5092
5093
5094
5095
5096
5097
5098
5099
5100
5101
5102
5103
5104
5105
5106
5107
5108
5109
5110
5111
5112
5113
5114
5115
5116
5117
5118
5119
5120
5121
5122
5123
5124
5125
5126
5127
5128
5129
5130
5131
5132
5133
5134
5135
5136
5137
5138
5139
5140
5141
5142
5143
5144
5145
5146
5147
5148
5149
5150
5151
5152
5153
5154
5155
5156
5157
5158
5159
5160
5161
5162
5163
5164
5165
5166
5167
5168
5169
5170
5171
5172
5173
5174
5175
5176
5177
5178
5179
5180
5181
5182
5183
5184
5185
5186
5187
5188
5189
5190
5191
5192
5193
5194
5195
5196
5197
5198
5199
5200
5201
5202
5203
5204
5205
5206
5207
5208
5209
5210
5211
5212
5213
5214
5215
5216
5217
5218
5219
5220
5221
5222
5223
5224
5225
5226
5227
5228
5229
5230
5231
5232
5233
5234
5235
5236
5237
5238
5239
5240
5241
5242
5243
5244
5245
5246
5247
5248
5249
5250
5251
5252
5253
5254
5255
5256
5257
5258
5259
5260
5261
5262
5263
5264
5265
5266
5267
5268
5269
5270
5271
5272
5273
5274
5275
5276
5277
5278
5279
5280
5281
5282
5283
5284
5285
5286
5287
5288
5289
5290
5291
5292
5293
5294
5295
5296
5297
5298
5299
5300
5301
5302
5303
5304
5305
5306
5307
5308
5309
5310
5311
5312
5313
5314
5315
5316
5317
5318
5319
5320
5321
5322
5323
5324
5325
5326
5327
5328
5329
5330
5331
5332
5333
5334
5335
5336
5337
5338
5339
5340
5341
5342
5343
5344
5345
5346
5347
5348
5349
5350
5351
5352
5353
5354
5355
5356
5357
5358
5359
5360
5361
5362
5363
5364
5365
5366
5367
5368
5369
5370
5371
5372
5373
5374
5375
5376
5377
5378
5379
5380
5381
5382
5383
5384
5385
5386
5387
5388
5389
5390
5391
5392
5393
5394
5395
5396
5397
5398
5399
5400
5401
5402
5403
5404
5405
5406
5407
5408
5409
5410
5411
5412
5413
5414
5415
5416
5417
5418
5419
5420
5421
5422
5423
5424
5425
5426
5427
5428
5429
5430
5431
5432
5433
5434
5435
5436
5437
5438
5439
5440
5441
5442
5443
5444
5445
5446
5447
5448
5449
5450
5451
5452
5453
5454
5455
5456
5457
5458
5459
5460
5461
5462
5463
5464
5465
5466
5467
5468
5469
5470
5471
5472
5473
5474
5475
5476
5477
5478
5479
5480
5481
5482
5483
5484
5485
5486
5487
5488
5489
5490
5491
5492
5493
5494
5495
5496
5497
5498
5499
5500
5501
5502
5503
5504
5505
5506
5507
5508
5509
5510
5511
5512
5513
5514
5515
5516
5517
5518
5519
5520
5521
5522
5523
5524
5525
5526
5527
5528
5529
5530
5531
5532
5533
5534
5535
5536
5537
5538
5539
5540
5541
5542
5543
5544
5545
5546
5547
5548
5549
5550
5551
5552
5553
5554
5555
5556
5557
5558
5559
5560
5561
5562
5563
5564
5565
5566
5567
5568
5569
5570
5571
5572
5573
5574
5575
5576
5577
5578
5579
5580
5581
5582
5583
5584
5585
5586
5587
5588
5589
5590
5591
5592
5593
5594
5595
5596
5597
5598
5599
5600
5601
5602
5603
5604
5605
5606
5607
5608
5609
5610
5611
5612
5613
5614
5615
5616
5617
5618
5619
5620
5621
5622
5623
5624
5625
5626
5627
5628
5629
5630
5631
5632
5633
5634
5635
5636
5637
5638
5639
5640
5641
5642
5643
5644
5645
5646
5647
5648
5649
5650
5651
5652
5653
5654
5655
5656
5657
5658
5659
5660
5661
5662
5663
5664
5665
5666
5667
5668
5669
5670
5671
5672
5673
5674
5675
5676
5677
5678
5679
5680
5681
5682
5683
5684
5685
5686
5687
5688
5689
5690
5691
5692
5693
5694
5695
5696
5697
5698
5699
5700
5701
5702
5703
5704
5705
5706
5707
5708
5709
5710
5711
5712
5713
5714
5715
5716
5717
5718
5719
5720
5721
5722
5723
5724
5725
5726
5727
5728
5729
5730
5731
5732
5733
5734
5735
5736
5737
5738
5739
5740
5741
5742
5743
5744
5745
5746
5747
5748
5749
5750
5751
5752
5753
5754
5755
5756
5757
5758
5759
5760
5761
5762
5763
5764
5765
5766
5767
5768
5769
5770
5771
5772
5773
5774
5775
5776
5777
5778
5779
5780
5781
5782
5783
5784
5785
5786
5787
5788
5789
5790
5791
5792
5793
5794
5795
5796
5797
5798
5799
5800
5801
5802
5803
5804
5805
5806
5807
5808
5809
5810
5811
5812
5813
5814
5815
5816
5817
5818
5819
5820
5821
5822
5823
5824
5825
5826
5827
5828
5829
5830
5831
5832
5833
5834
5835
5836
5837
5838
5839
5840
5841
5842
5843
5844
5845
5846
5847
5848
5849
5850
5851
5852
5853
5854
5855
5856
5857
5858
5859
5860
5861
5862
5863
5864
5865
5866
5867
5868
5869
5870
5871
5872
5873
5874
5875
5876
5877
5878
5879
5880
5881
5882
5883
5884
5885
5886
5887
5888
5889
5890
5891
5892
5893
5894
5895
5896
5897
5898
5899
5900
5901
5902
5903
5904
5905
5906
5907
5908
5909
5910
5911
5912
5913
5914
5915
5916
5917
5918
5919
5920
5921
5922
5923
5924
5925
5926
5927
5928
5929
5930
5931
5932
5933
5934
5935
5936
5937
5938
5939
5940
5941
5942
5943
|
2005-07-06 Christian Persch <chpe@cvs.gnome.org>
* shell/ev-metadata-manager.c: (ev_metadata_manager_save):
Return a boolean from timeout func. Fix ported from gedit.
2005-07-07 Iaki Larraaga <dooteo@euskalgnu.org>
* configure.ac: Added "eu" (Basque) to ALL_LINGUAS.
2005-07-06 Carlos Garcia Campos <carlosgc@gnome.org>
* shell/ev-document-types.c: set "All Documents" as default filter in
open dialog
2005-07-06 Martin Kretzschmar <martink@gnome.org>
* shell/ev-metadata-manager.c (ev_metadata_manager_set_int)
(ev_metadata_manager_set_double, ev_metadata_manager_set_string)
(ev_metadata_manager_set_boolean): fix value/val thinko.
2005-07-06 Marco Pesenti Gritti <mpg@redhat.com>
* shell/ev-window.c: (setup_view_from_metadata),
(window_state_event_cb), (window_configure_event_cb),
(ev_window_init):
Remember window position and maximized state
2005-07-06 Christian Persch <chpe@cvs.gnome.org>
* configure.ac:
Fix DBUS configure checks.
* shell/ev-metadata-manager.c: (ev_metadata_manager_set_int),
(ev_metadata_manager_set_double), (ev_metadata_manager_set_string),
(ev_metadata_manager_set_boolean):
Plug mem leaks.
* shell/ev-window.c: (page_changed_cb), (ev_window_run_fullscreen),
(ev_window_stop_fullscreen), (ev_window_run_presentation),
(ev_window_stop_presentation), (ev_window_zoom_changed_cb),
(ev_window_continuous_changed_cb),
(ev_window_dual_mode_changed_cb), (ev_window_new):
Fix the build without DBUS.
2005-07-06 Marco Pesenti Gritti <mpg@redhat.com>
* shell/ev-metadata-manager.c: (parse_value), (save_values),
(ev_metadata_manager_set_int), (ev_metadata_manager_set_double),
(ev_metadata_manager_set_string),
(ev_metadata_manager_set_boolean):
* shell/ev-metadata-manager.h:
Add support for some more types
* shell/ev-view.c: (scroll_to_current_page),
(ev_view_get_continuous), (ev_view_set_continuous),
(ev_view_get_dual_page):
* shell/ev-view.h:
* shell/ev-window.c: (page_changed_cb),
(setup_document_from_metadata), (ev_window_setup_document),
(setup_view_from_metadata), (ev_window_open_uri),
(ev_window_run_fullscreen), (ev_window_stop_fullscreen),
(ev_window_run_presentation), (ev_window_stop_presentation),
(save_sizing_mode), (ev_window_sizing_mode_changed_cb),
(ev_window_zoom_changed_cb), (ev_window_update_continuous_action),
(ev_window_update_dual_page_action),
(ev_window_continuous_changed_cb),
(ev_window_dual_mode_changed_cb), (ev_window_init):
Remember a bunch of view/document properties. Prolly some
are still missing but it's getting interesting.
2005-07-05 Martin Kretzschmar <martink@gnome.org>
* configure.ac: check if dbus-binding-tool is installed. Not the
case on current Ubuntu breezy, it seems.
2005-07-05 Luca Ferretti <elle.uca@libero.it>
* data/evince.desktop.in.in:
Allow open uri lists and add TryExec field.
2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
* configure.ac:
Enable dbus when available, do not require a configure
option.
2005-07-05 Christian Persch <chpe@cvs.gnome.org>
* configure.ac:
Use AM_CONDITIONAL unconditionally, fixes the build with DBUS
disabled.
2005-07-05 Carlos Garcia Campos <carlosgc@gnome.org>
Marco Pesenti Gritti <mpg@redhat.com>
* shell/Makefile.am: Add --prefix for dbus-binding-tool script
* shell/ev-application.[ch], shell/ev-window.c: change dbus RPC
functions to the format required by dbus
* shell/main.c: use G_TYPE instead of DBUS_TYPE to fix compilation
errors. Use the RPC parameters in the expected way
2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
* Makefile.am:
* properties/Makefile.am:
* properties/ev-properties-main.c: (ev_properties_get_pages):
Support all mime types
* shell/Makefile.am:
* thumbnailer/Makefile.am:
* thumbnailer/evince-thumbnailer.c: (get_document_from_uri),
(evince_thumbnail_pngenc_get):
Use the document factory
2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
* backend/Makefile.am:
* backend/ev-document-factory.c:
(mime_type_supported_by_gdk_pixbuf),
(ev_document_type_get_from_mime),
(ev_document_factory_get_document),
(ev_document_factory_get_backend),
(ev_document_factory_get_mime_types),
(ev_document_factory_get_all_mime_types):
* backend/ev-document-factory.h:
* shell/Makefile.am:
* shell/ev-document-types.c: (get_document_from_uri),
(ev_document_types_get_document),
(file_filter_add_mime_list_and_free),
(ev_document_types_add_filters):
* shell/ev-document-types.h:
* shell/ev-job-xfer.c: (ev_job_xfer_run):
* shell/ev-properties-dialog.c:
(ev_properties_dialog_set_document):
* shell/ev-window.c: (ev_window_cmd_file_open),
(ev_window_cmd_save_as):
* thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
Rework document types managing to avoid code duplication
and actually abstract from backend implementations.
Also provide a minimal factory api that can be used by
thumbnailer/properties.
2005-07-05 Christian Persch <chpe@cvs.gnome.org>
* properties/ev-properties-view.c: (ev_properties_view_set_info):
Plug a mem leak.
* shell/ev-properties-dialog.c: (ev_properties_dialog_init):
HIG spacings.
2005-07-04 Matthew S. Wilson <msw@rpath.com>
* shell/ev-properties-dialog.c
(ev_properties_dialog_set_document): only call
ev_properties_fonts_set_document() if the document implements the
fonts interface
2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
* configure.ac:
* properties/Makefile.am:
* properties/ev-properties-view.c:
(ev_properties_view_register_type):
* properties/ev-properties-view.h:
* properties/ev-properties-main.h:
Implement nautilus plugin for properties.
Works only for pdf atm, I need to rework the
document types stuff to get this to work
for all backends...
2005-07-04 Martin Kretzschmar <martink@gnome.org>
* shell/ev-properties-fonts.c (enum): kill redundant columns enum
(ev_properties_fonts_set_document): use
EV_DOCUMENT_FONTS_COLUMN_NUM_COLUMNS.
2005-07-04 Matthew S. Wilson <msw@rpath.com>
* tiff/tiff2ps.c: remove TRUE and FALSE definitions, glib provides
them
(PlaceImage, tiff2ps_process_page): use
g_ascii_dtostr to convert floats to strings in a locale-safe way.
2005-07-04 Martin Kretzschmar <martink@gnome.org>
* shell/main.c: include libgnomeui/gnome-authentication-manager.h
(main): to call gnome_authentication_manager_init. Should fix
Bug #308510
* configure.ac: that requires libgnomeui 2.6.0.
2005-07-04 Matthew S. Wilson <msw@rpath.com>
* tiff/tiff-document.c (tiff_document_ps_export_begin)
(tiff_document_ps_export_do_page, tiff_document_ps_export_end):
use the new tiff2ps interfaces
* tiff/tiff2ps.h (tiff2ps_context_new, tiff2ps_process_page)
(tiff2ps_context_finalize): implement new interfaces for tiff2ps
* tiff/tiff2ps.c: refactor tiff2ps code to use a context
structure instead of global variables. Remove use of static
variables in functions.
2005-07-04 Carlos Garcia Campos <carlosgc@gnome.org>
* shell/ev-page-action.c: unref the completion after setting it to the
entry
2005-07-04 Matthew S. Wilson <msw@rpath.com>
* tiff/tiff2ps.c (generateEPSF): disable generating encapsulated
postscript files
2005-07-04 Matthew S. Wilson <msw@rpath.com>
* shell/ev-window.c (update_action_sensitivity): disable
File->Print if the document does not implement the ps exporter
interface
2005-07-04 Marco Pesenti Gritti <mpg@redhat.com>
* Makefile.am:
* configure.ac:
* data/evince-properties.glade:
* properties/.cvsignore:
* properties/Makefile.am:
* properties/ev-properties-view.c: (ev_properties_view_dispose),
(ev_properties_view_class_init), (ev_properties_view_format_date),
(make_valid_utf8), (set_property), (ev_properties_view_set_info),
(ev_properties_view_init), (ev_properties_view_new):
* properties/ev-properties-view.h:
* shell/Makefile.am:
* shell/ev-properties-dialog.c: (ev_properties_dialog_class_init),
(ev_properties_dialog_init), (ev_properties_dialog_set_document),
(ev_properties_dialog_new):
* shell/ev-properties-dialog.h:
* shell/ev-properties-fonts.c: (ev_properties_fonts_dispose),
(ev_properties_fonts_class_init), (ev_properties_fonts_init),
(update_progress_label), (job_fonts_finished_cb),
(ev_properties_fonts_set_document), (ev_properties_fonts_new):
* shell/ev-properties-fonts.h:
* shell/ev-properties.c:
* shell/ev-properties.h:
* shell/ev-window.c: (ev_window_setup_document),
(ev_window_cmd_file_properties):
Split the properties pages in two different objects, depend
only on the backend where possible, use widgets instead
of gobject for the glade part, reimplement the dialog
itself with gtk.
I need this to implement nautilus properties page.
2005-07-03 Matthew S. Wilson <msw@rpath.com>
* tiff/tiff-document.c (tiff_document_ps_export_begin)
(tiff_document_ps_export_do_page, tiff_document_ps_export_end)
(tiff_document_document_ps_exporter_iface_init): implement the ps
exporter interface for tiff documents
* tiff/tiff2ps.c: added a modified version of tiff2ps.c from
libtiff to implement TIFF postscript export
* tiff/tiff2ps.h: added a header file for external tiff2ps
functions.
* tiff/Makefile.am (libtiffdocument_la_SOURCES): add tiff2ps.c and
tiff2ps.h
2005-07-03 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
* shell/ev-view.c: (scroll_to_current_page),
(ev_view_set_fullscreen), (ev_view_set_presentation):
Scroll to current page when exit from presentation
2005-07-03 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
* shell/ev-window.c: (update_document_mode),
(ev_window_run_fullscreen), (ev_window_stop_fullscreen),
(ev_window_cmd_view_fullscreen), (ev_window_stop_presentation),
(ev_window_cmd_view_presentation), (ev_window_cmd_escape):
Exit from fullscreen mode when switch to presentation. Fix for
bug 309365
2005-07-02 Matthew S. Wilson <msw@rpath.com>
* shell/ev-pixbuf-cache.c (ev_pixbuf_cache_get_selection_pixbuf):
return NULL if the document does not implement the selection
interface.
2005-07-02 Matthew S. Wilson <msw@rpath.com>
* tiff/tiff-document.c (tiff_document_get_page_size): scale the
reported height by using the resolution aspect ratio
(tiff_document_render_pixbuf): scale the pixbuf using the
resolution aspect ratio
2005-07-01 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
* configure.ac:
Require libgnomeprint >= 2.5.1. Thanks to Colin Slater
<kiltedaco@gmail.com>
* djvu/djvu-document.c: (djvu_document_get_orientation),
(djvu_document_set_orientation), (djvu_document_get_page_size),
(rotate_pixbuf), (djvu_document_render_pixbuf),
(djvu_document_document_iface_init):
* dvi/dvi-document.c: (dvi_document_get_orientation),
(dvi_document_set_orientation), (dvi_document_get_page_size),
(rotate_pixbuf), (dvi_document_render_pixbuf),
(dvi_document_document_iface_init):
Dvi and djvu backends are ported to new API
Fri Jul 1 00:10:15 2005 Jonathan Blandford <jrb@redhat.com>
* backend/ev-selection.c: (ev_selection_get_selection_region),
(ev_selection_get_selection_map):
* backend/ev-selection.h:
* pdf/ev-poppler.cc:
* shell/ev-jobs.c: (ev_job_render_new), (ev_job_render_run):
* shell/ev-jobs.h:
* shell/ev-pixbuf-cache.c: (dispose_cache_job_info),
(job_finished_cb), (copy_job_to_job_info), (add_job_if_needed),
(ev_pixbuf_cache_get_text_mapping):
* shell/ev-pixbuf-cache.h:
* shell/ev-view.c: (location_in_text),
(ev_view_motion_notify_event), (ev_view_set_cursor): Add I-Beam
support to EvView. Now we can see where we can select! Sweet!
2005-06-30 Kristian Høgsberg <krh@redhat.com>
* shell/ev-view.c (ev_view_button_press_event): Fix
event->y + view->scroll_x typo.
2005-06-30 Kristian Høgsberg <krh@redhat.com>
* pdf/ev-poppler.cc: Adjust to poppler API changes; use a
sub-GdkPixbuf instead of passing dest_x and dest_y.
* shell/ev-view.c: (view_point_to_doc_point),
(view_rect_to_doc_rect), (ev_view_button_press_event),
(ev_view_motion_notify_event), (compute_new_selection_rect),
(gdk_rectangle_point_in), (compute_new_selection_text),
(compute_selections): Update selection code to keep the selection
around as two points and not as a normalized rectangle, and fix
page level selection in two-column mode.
2005-06-30 Alex Duggan <aldug@astrolinux.com>
* shell/ev-window.c: (window_configure_event_cb):
Fix compilation
2005-06-30 Marco Pesenti Gritti <mpg@redhat.com>
* pdf/ev-poppler.cc:
Fix compilation
2005-06-30 Marco Pesenti Gritti <mpg@redhat.com>
* shell/Makefile.am:
* shell/ev-metadata-manager.c: (item_free),
(ev_metadata_manager_init), (ev_metadata_manager_shutdown),
(parse_value), (parseItem), (load_values),
(ev_metadata_manager_get), (value_free), (ev_metadata_manager_set),
(save_values), (save_item), (get_oldest), (resize_items),
(ev_metadata_manager_save), (ev_metadata_manager_set_int):
* shell/ev-metadata-manager.h:
Metadata manager from gedit but modified to use GValue, so that
we dont need to keep converting from strings.
* configure.ac:
ENABLE_METADATA conditional, on when dbus is on
* shell/ev-application.c: (ev_application_open_uri):
Show the window after load so that we can initialize
window size before it's showed.
* shell/ev-window.c: (ev_window_setup_from_metadata),
(ev_window_open_uri), (window_configure_event_cb),
(ev_window_init):
Save and load metadata information about window size.
Not yet keeping states in account.
* shell/main.c: (main):
Shutdown metadata manager.
2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
* shell/ev-application-service.xml:
* configure.ac:
* shell/Makefile.am:
* shell/ev-application.c:
* shell/ev-application.h:
* shell/ev-window.c:
* shell/ev-window.h:
* shell/main.c:
Add an optional dbus interface (--enable-dbus).
Rework application code, mainly to be easier to
use "remotely".
Do not open multiple windows with the same document,
spatial evince!
Thu Jun 30 01:50:14 2005 Jonathan Blandford <jrb@redhat.com>
* shell/ev-pixbuf-cache.c (clear_selection_if_needed): unref the
pixbuf iff it exists.
Thu Jun 30 01:43:00 2005 Jonathan Blandford <jrb@redhat.com>
* shell/*:
* backend/ev-render-context.[ch]:
* backend/ev-selection.[ch]:
Massive changes. We now support text selection of pdfs, and not
just rectangular selection. This is pretty broken still, but I
want to get something into CVS.
2005-06-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
* pdf/ev-poppler.cc:
Fix for Bug 309080: crash on window close.
* shell/ev-page-action.c: (page_changed_cb):
Fix for Bug 309168: Fix build with gcc 2.95. Thanks to
jensgr@gmx.net (Jens Granseuer).
2005-06-25 Marcel Telka <marcel@telka.sk>
* configure.in (ALL_LINGUAS): Added sk.
2005-06-24 Carlos Garcia Campos <carlosgc@gnome.org>
* shell/ev-window.c: Make rotate menu entries unsensitive if there is
not a document open
2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
* NEWS:
* configure.ac:
Release 0.3.2
* cut-n-paste/recent-files/Makefile.am:
Fix make distcheck
2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
* pixbuf/pixbuf-document.c: (pixbuf_document_get_orientation),
(pixbuf_document_set_orientation), (rotate_pixbuf),
(pixbuf_document_get_page_size), (pixbuf_document_render_pixbuf),
(pixbuf_document_document_iface_init), (pixbuf_document_init):
Implement rotation and cleanup the code a bit.
* tiff/tiff-document.c: (tiff_document_get_page_size),
(tiff_document_get_orientation), (tiff_document_set_orientation),
(rotate_pixbuf), (tiff_document_render_pixbuf),
(tiff_document_document_iface_init), (tiff_document_init):
Implement rotation. Was the quicker solution for the release
but we really need to share this code in the shell.
2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
* pdf/ev-poppler.cc:
Enable rotation, require poppler cvs. Fix a leak.
2005-06-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
* shell/ev-window.c: (update_action_sensitivity):
Make properties unsensitive if document backend doesn't provide
any info
2005-06-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
* dvi/mdvi-lib/bitmap.c: (bitmap_alloc), (bitmap_alloc_raw),
(bitmap_flip_horizontally), (bitmap_flip_vertically),
(bitmap_flip_diagonally), (bitmap_rotate_clockwise),
(bitmap_rotate_counter_clockwise), (bitmap_flip_rotate_clockwise),
(bitmap_flip_rotate_counter_clockwise):
* dvi/mdvi-lib/color.c: (mdvi_push_color), (get_color_table):
* dvi/mdvi-lib/common.c: (read_string), (buff_free), (buff_add),
(buff_gets):
* dvi/mdvi-lib/common.h:
* dvi/mdvi-lib/dvimisc.c: (mdvi_push_color):
* dvi/mdvi-lib/dviread.c: (get_bytes), (dreset), (define_font),
(opendvi), (mdvi_reload), (mdvi_init_context),
(mdvi_destroy_context), (mdvi_dopage), (special):
* dvi/mdvi-lib/font.c: (font_drop_one), (font_free_unused):
* dvi/mdvi-lib/fontmap.c: (read_encoding), (destroy_encoding),
(file_hash_free), (register_encoding), (parse_spec),
(mdvi_load_fontmap), (free_ent), (mdvi_init_fontmaps),
(mdvi_add_fontmap_file), (mdvi_ps_read_fontmap),
(mdvi_ps_flush_fonts), (mdvi_ps_find_font), (mdvi_ps_get_metrics):
* dvi/mdvi-lib/fontsrch.c: (mdvi_list_font_class),
(mdvi_register_font_type), (mdvi_unregister_font_type),
(lookup_font), (mdvi_add_font), (mdvi_font_retry):
* dvi/mdvi-lib/gf.c: (gf_read_bitmap), (gf_load_font):
* dvi/mdvi-lib/hash.c: (mdvi_hash_remove), (mdvi_hash_remove_ptr),
(mdvi_hash_destroy_key), (mdvi_hash_reset):
* dvi/mdvi-lib/pagesel.c: (mdvi_parse_range),
(mdvi_parse_page_spec), (mdvi_free_page_spec), (main):
* dvi/mdvi-lib/paper.c: (mdvi_free_paper_specs):
* dvi/mdvi-lib/pk.c: (pk_lookup), (pk_lookupn), (pk_load_font):
* dvi/mdvi-lib/sp-epsf.c: (epsf_special):
* dvi/mdvi-lib/special.c: (mdvi_register_special),
(mdvi_unregister_special), (mdvi_flush_specials):
* dvi/mdvi-lib/t1.c: (t1_lookup_font), (t1_really_load_font),
(t1_font_remove):
* dvi/mdvi-lib/tfm.c: (get_tfm_chars):
* dvi/mdvi-lib/tfmfile.c: (afm_load_file), (tfm_load_file),
(ofm1_load_file), (ofm_load_file), (get_font_metrics),
(free_font_metrics), (flush_font_metrics):
* dvi/mdvi-lib/tt.c: (tt_really_load_font), (tt_get_bitmap),
(tt_font_remove):
* dvi/mdvi-lib/util.c: (mdvi_malloc), (mdvi_realloc),
(mdvi_calloc), (mdvi_free), (mdvi_strdup), (mdvi_strncpy),
(mdvi_strndup), (mdvi_memdup), (xstradd), (dstring_append),
(dstring_insert), (dstring_new), (dstring_reset):
* dvi/mdvi-lib/vf.c: (vf_load_font), (vf_free_macros):
Rename xmalloc and xfree to mdvi_malloc and mdvi_free to
avoid conflict with libtool on FC4
* shell/ev-window.c: (ev_window_cmd_help_about):
Update copyright year. Fix for bug 308828.
2005-06-23 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
* shell/ev-view.c: (add_scroll_binding_keypad),
(ev_view_binding_activated), (ev_view_class_init),
(on_adjustment_value_changed):
Bug 170874: Arrow keys switch pages in presentation mode
2005-06-23 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
* shell/ev-window.c: (ev_window_sidebar_visibility_changed_cb):
Fix for Bug 308265: Sidebar dissappears coming out of
Presentation mode
2005-06-23 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
* shell/ev-application.c: (ev_application_open):
* shell/ev-document-types.c: (ev_document_types_add_filters),
(ev_document_types_add_filters_for_type):
* shell/ev-document-types.h:
* shell/ev-window.c: (ev_window_cmd_save_as):
Suggest basename as template when saving, provide filters
for save dialog. It's bug 308402
2005-06-20 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
* pdf/ev-poppler.cc:
* shell/ev-sidebar-links.c: (job_finished_callback):
* shell/ev-view.c: (update_find_status_message):
Some leaks fixed
2005-06-19 Christian Persch <chpe@cvs.gnome.org>
* cut-n-paste/recent-files/egg-recent-view-uimanager.c:
(egg_recent_view_uimanager_set_list):
Fix buglet in !show_numbers case.
2005-06-19 Christian Persch <chpe@cvs.gnome.org>
* cut-n-paste/recent-files/egg-recent-view-uimanager.c:
(connect_proxy_cb), (egg_recent_view_uimanager_set_list):
Use pango ellipsisation.
* pdf/ev-poppler.cc:
Fix refcount leak, from nsh.
2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
* cut-n-paste/recent-files/Makefile.am:
* cut-n-paste/recent-files/egg-recent-view-gtk.c:
* cut-n-paste/recent-files/egg-recent-view-gtk.h:
Removed EggRecentViewGtk
* cut-n-paste/recent-files/egg-recent-view-uimanager.c:
* cut-n-paste/recent-files/egg-recent-view-uimanager.h:
* shell/ev-window.c: (ev_window_cmd_recent_file_activate),
(ev_window_setup_recent):
Use ViewUIManager instead of ViewGtk. Less leaks, more compatibility
with other projects
2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
* cut-n-paste/recent-files/egg-recent-view-gtk.c:
(egg_recent_view_gtk_finalize):
Fix memory leak
* cut-n-paste/toolbar-editor/Makefile.am:
Fix location of cursor icon.
* pdf/ev-poppler.cc:
* shell/ev-page-action.c: (build_new_tree_cb), (match_selected_cb),
(display_completion_text), (match_completion):
* shell/ev-sidebar-links.c: (ev_sidebar_links_dispose),
(selection_changed_callback), (create_loading_model),
(print_section_cb), (links_page_num_func),
(update_page_callback_foreach):
* shell/ev-window.c: (ev_window_dispose):
Small memory fixes. Links model now store objects instead
of pointers to improve memory management.
2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
* shell/ev-window.c: (zoom_control_changed_cb):
Fix update of zoom control (bug 308268).
Sat Jun 18 22:46:42 2005 Jonathan Blandford <jrb@redhat.com>
* shell/ev-properties.c (set_property): escape the text correctly.
Handles non-UTF-8 properties and escaped properties. Also, sets
the text to "<i>None</i>" if the property isn't set.
* data/evince-properties.glade: Change the label to be ellipsized,
and give it a minimum size.
2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
* lib/ev-file-helpers.c: (ev_file_helpers_shutdown):
* shell/ev-sidebar-links.c: (create_loading_model):
* shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_dispose):
* shell/ev-view.c: (ev_view_set_document):
* shell/ev-window.c: (ev_window_dispose):
Various small fixes, mostly memory leaks. Thanks to valgrind.
2005-06-19 Martin Kretzschmar <martink@gnome.org>
* ps/ps-document.c: remove the locale.h include again ;-). And
kill the (bogus) setlocale/savelocale business.
2005-06-19 Jaap A. Haitsma <jaap@haitsma.org>
* ps/ps-document.c:
Include locale.h to fix build
* shell/ev-sidebar.c:
Remove unnecessary includes
2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
* dvi/dvi-document.c: (dvi_document_load):
* dvi/mdvi-lib/dviread.c: (mdvi_init_context):
* po/POTFILES.in:
Check for incorrect dvi files. Fix parsing dvi on AMD64
platform. Thanks to tester@tester.ca (Olivier Crete).
2005-06-18 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
* shell/ev-page-action.c: (match_selected_cb),
(display_completion_text), (match_completion), (update_model):
* shell/ev-sidebar-links.c: (ev_sidebar_links_dispose),
(expand_open_links):
* shell/ev-sidebar.c: (ev_sidebar_destroy),
(ev_sidebar_menu_item_activate_cb), (ev_sidebar_add_page),
(ev_sidebar_set_document):
* shell/ev-window.c: (ev_window_xfer_job_cb),
(sidebar_widget_model_set), (sidebar_page_main_widget_update_cb):
Fixed lot's of memory leaks, for example, memory leak on reload,
described in bug 307793.
2005-06-18 Marco Pesenti Gritti <mpg@redhat.com>
* pdf/ev-poppler.cc:
* shell/ev-sidebar-thumbnails.c: (clear_range), (add_range),
(update_visible_range), (adjustment_changed_cb),
(ev_sidebar_thumbnails_fill_model),
(ev_sidebar_thumbnails_refresh),
(ev_sidebar_tree_selection_changed),
(ev_sidebar_icon_selection_changed),
(ev_sidebar_thumbnails_use_icon_view),
(ev_sidebar_thumbnails_set_document):
* shell/ev-sidebar-thumbnails.h:
* shell/ev-window.c: (ev_window_cmd_edit_rotate_left),
(ev_window_cmd_edit_rotate_right), (ev_window_init):
Refresh thumbnails when changing orientation. Not fully
working yet becuase of a sidebar bug.
Set page orientation to poppler page everywhere. This sucks
really need to fix poppler.
2005-06-18 Marco Pesenti Gritti <mpg@redhat.com>
* cut-n-paste/recent-files/egg-recent-view-gtk.c:
(egg_recent_view_gtk_new_menu_item),
(egg_recent_view_gtk_set_property),
(egg_recent_view_gtk_get_property),
(egg_recent_view_gtk_class_init), (egg_recent_view_gtk_init),
(egg_recent_view_gtk_set_tooltip_func),
(egg_recent_view_gtk_set_label_width),
(egg_recent_view_gtk_get_label_width):
* cut-n-paste/recent-files/egg-recent-view-gtk.h:
Sync with libegg (ellipsize labels)
2005-06-18 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
* data/evince-ui.xml:
* shell/ev-window.c: (ev_window_cmd_go_forward),
(ev_window_cmd_go_backward):
Shift + PageUp moves 10 Pages. Fix for 306125
2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
* pdf/ev-poppler.cc:
Add a flag to check if orientation has been overriden
2005-06-17 Martin Kretzschmar <martink@gnome.org>
* ps/ps.c (psscan, psfree): read "Creator:" comment, free creator
field if necessary.
* ps/ps.h: add creator field to document.
* ps/ps-document.c (ps_document_get_info): set format to PostScript,
set creator field.
2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
* data/evince-properties.glade:
* shell/ev-properties.c: (ev_properties_set_document):
s/PDF Version/Format
2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
* shell/ev-properties.c: (ev_properties_set_document):
Remove unnecessary translations
2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
* cut-n-paste/toolbar-editor/Makefile.am:
Correct library name
2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
* configure.ac:
* cut-n-paste/recent-files/egg-recent-model.c:
(egg_recent_model_write_raw), (egg_recent_model_lock_file),
(egg_recent_model_unlock_file):
* cut-n-paste/recent-files/egg-recent-util.c:
(egg_recent_util_get_unique_id):
* cut-n-paste/recent-files/update-from-egg.sh:
* cut-n-paste/toolbar-editor/Makefile.am:
* cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
* cut-n-paste/toolbar-editor/egg-editable-toolbar.h:
* cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
* cut-n-paste/toolbar-editor/egg-toolbars-model.c:
(egg_toolbars_model_get_type):
* cut-n-paste/toolbar-editor/egg-toolbars-model.h:
Better makefile for toolbar editor and update everything
to latest libegg.
2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
* shell/ev-window.c: (update_document_mode):
Prefer presentation mode when the document
require fullscreen.
2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
* data/evince-ui.xml:
* shell/ev-window.c:
Add control-equal for zooming
2005-06-17 Theppitak Karoonboonyanan <thep@linux.thai.net>
* configure.ac: Added 'th' (Thai) to ALL_LINGUAS.
2005-06-16 Marco Pesenti Gritti <mpg@redhat.com>
* backend/ev-document.c: (ev_document_get_orientation):
* backend/ev-document.h:
* pdf/ev-poppler.cc:
* ps/ps-document.c: (ps_document_get_orientation),
(ps_document_set_orientation), (ps_document_document_iface_init):
Add a get_orientation api. Improve set_orientation.
* data/evince-ui.xml:
* shell/ev-view.c: (ev_view_set_orientation),
(ev_view_rotate_right), (ev_view_rotate_left):
* shell/ev-view.h:
* shell/ev-window.c: (ev_window_cmd_edit_rotate_left),
(ev_window_cmd_edit_rotate_right):
Better ui for changing document orientation
2005-06-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
* shell/ev-sidebar-links.c: (ev_sidebar_links_get_property),
(ev_sidebar_links_class_init), (ev_sidebar_links_get_label):
* shell/ev-sidebar-links.h:
* shell/ev-sidebar-page.c: (ev_sidebar_page_get_type),
(ev_sidebar_page_iface_init):
* shell/ev-sidebar-page.h:
* shell/ev-sidebar-thumbnails.c:
(ev_sidebar_thumbnails_get_property),
(ev_sidebar_thumbnails_class_init),
(ev_sidebar_thumbnails_set_document):
* shell/ev-sidebar-thumbnails.h:
* shell/ev-view.c: (ev_view_motion_notify_event):
* shell/ev-window.c: (update_chrome_visibility),
(ev_window_cmd_focus_page_selector),
(ev_window_update_fullscreen_popup), (view_actions_focus_in_cb),
(sidebar_page_main_widget_update_cb), (ev_window_init):
Autoraise toolbar on GoToPage binding and fix bindings in
EvSidebarThumbnails page.
2005-06-15 Christian Persch <chpe@cvs.gnome.org>
* shell/ev-properties.c: (update_progress_label):
Hide the progress label when finished; bug #307697.
2005-06-15 Marco Pesenti Gritti <mpg@redhat.com>
* pdf/ev-poppler.cc:
Enable is_open for links, you will need poppler cvs
* shell/ev-properties.c: (job_fonts_finished_cb):
Get a lock on the document when filling the tree view
2005-06-15 Marco Pesenti Gritti <mpg@redhat.com>
* backend/ev-document-links.h:
* pdf/ev-poppler.cc:
* shell/ev-sidebar-links.c: (create_loading_model),
(expand_open_links), (job_finished_callback):
Expand links when specified by the document.
Depend on a poppler api (defined out for now)
2005-06-15 Marco Pesenti Gritti <mpg@redhat.com>
* shell/ev-properties.c: (ev_properties_dispose),
(ev_properties_class_init), (dialog_destroy_cb),
(ev_properties_init), (job_fonts_finished_cb), (setup_fonts_view),
(ev_properties_set_document), (ev_properties_new),
(ev_properties_show):
* shell/ev-properties.h:
Make it an object, cleanup the code, api to show it as transient
and to set the document.
* shell/ev-window.c: (ev_window_setup_document),
(ev_window_cmd_file_properties):
Adapt to EvProperties changes, do not show multiple
times, update it when document changes.
2005-06-14 Marco Pesenti Gritti <mpg@redhat.com>
* ps/gstypes.h:
* ps/ps-document.c: (ps_document_init), (get_page_orientation),
(ps_document_set_orientation), (ps_document_document_iface_init):
* ps/ps-document.h:
Implement orientation here too
* shell/ev-properties.c: (ev_properties_new):
* data/evince-properties.glade:
Hide the fonts page for backends that doesnt
support it.
2005-06-14 Marco Pesenti Gritti <mpg@redhat.com>
* backend/ev-document.c: (ev_document_set_orientation):
* backend/ev-document.h:
* pdf/ev-poppler.cc:
Add orientation api. Currently poppler api is not optimal,
we need to set orientation every time we _get a page.
I will try to fix that at some point.
* data/evince-ui.xml:
* shell/ev-window.c: (ev_window_cmd_edit_landscape),
(ev_window_cmd_edit_portrait), (ev_window_cmd_edit_flip):
Add orientation menu items
* shell/ev-page-cache.c: (ev_page_cache_clear):
* shell/ev-page-cache.h:
Add api to clear the cache
* shell/ev-view.c: (setup_caches), (clear_caches),
(ev_view_set_document), (ev_view_zoom_out),
(ev_view_set_orientation):
* shell/ev-view.h:
Implement orientation changing
2005-06-13 Marco Pesenti Gritti <mpg@redhat.com>
* backend/ev-document-fonts.c: (ev_document_fonts_get_progress),
(ev_document_fonts_scan), (ev_document_fonts_fill_model):
* backend/ev-document-fonts.h:
Separate scan and fill so that we can incrementally fill from
the main thread. Add a progress api.
* data/evince-properties.glade:
* pdf/ev-poppler.cc:
* shell/ev-jobs.c: (ev_job_fonts_new), (ev_job_fonts_run):
* shell/ev-jobs.h:
* shell/ev-properties.c: (update_progress_label),
(job_fonts_finished_cb), (setup_fonts_view):
Incrementally feel the list and show the progress
percentage in a label like acrobat does.
You are going to need poppler cvs
2005-06-11 Marco Pesenti Gritti <mpg@redhat.com>
* backend/ev-document-fonts.c: (ev_document_fonts_fill_model):
* backend/ev-document-fonts.h:
* pdf/ev-poppler.cc:
Make fonts model fill incrementally.
* shell/ev-job-queue.c: (handle_job), (search_for_jobs_unlocked),
(no_jobs_available_unlocked), (ev_job_queue_init), (find_queue),
(ev_job_queue_remove_job):
* shell/ev-jobs.c: (ev_job_fonts_init), (ev_job_fonts_class_init),
(ev_job_fonts_new), (ev_job_fonts_run):
* shell/ev-jobs.h:
New job for fonts scanning
* shell/ev-properties.c: (job_fonts_finished_cb),
(fill_fonts_treeview), (setup_fonts_view), (ev_properties_new):
* shell/ev-properties.h:
* shell/ev-window.c: (ev_window_cmd_file_properties):
Incrementally feel the treeview using the new job. Show Loading...
message until scanning is completed.
Hopefully I didnt break the build without the poppler patch.
2005-06-10 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
* shell/ev-application.c: (ev_application_open):
* shell/ev-document-types.c: (ev_document_type_from_from_mime),
(ev_document_type_get_type), (ev_document_type_lookup):
* shell/ev-document-types.h:
* shell/ev-job-xfer.c: (ev_job_xfer_dispose), (ev_job_xfer_run):
* shell/ev-job-xfer.h:
* shell/ev-window.c: (ev_window_clear_local_uri),
(ev_window_load_job_cb), (ev_window_xfer_job_cb),
(ev_window_open_uri), (ev_window_add_recent), (ev_window_dispose):
* thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
Transfer remote documents to tmp directory to display them later.
2005-06-10 Marco Pesenti Gritti <mpg@redhat.com>
* backend/ev-document-info.h:
* shell/ev-properties.c: (ev_properties_new):
s/GTime*/GTime. Not sure why we was using a pointer
at all there!
Wed Jun 8 01:04:22 2005 Jonathan Blandford <jrb@redhat.com>
* shell/ev-sidebar-thumbnails.c: Use a GtkIconView in certain
situations. That situation is that you're using GTK+-HEAD with
the patch at #306726 is applied, and you have a document with <
1500 pages in it. It's not quite as uniformly nice as the
TreeView, but should be better in the long run.
I'm pretty sure I guarded against breaking compilation with
HAVE_GTK_ICON_VIEW_GET_VISIBLE_RANGE gaurds, though it's possible
I missed some.
* shell/ev-window.c (ev_window_init): We don't have our tree/list
widget yet, so I commented that code out
enable_view_actions_for_widget() for now. Need to figure this
out.
* shell/ev-page-action.c (match_selected_cb): emit the right
signals. Our cool C-l completion now works.
2005-06-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
* backend/Makefile.am:
* backend/ev-document-fonts.c:
* backend/ev-document-links.c:
* backend/ev-document.c: (ev_document_load):
* backend/ev-document.h:
* backend/ev-job-queue.c:
* backend/ev-job-queue.h:
* backend/ev-jobs.c:
* backend/ev-jobs.h:
* backend/ev-page-cache.c:
* backend/ev-page-cache.h:
EvPageCache and EvJobs are moved to shell.
* lib/ev-file-helpers.c: (ev_file_helpers_shutdown),
(ev_tmp_filename):
* lib/ev-file-helpers.h:
New helper to work with temporary files
* shell/Makefile.am:
* shell/ev-application.c: (ev_application_open):
* shell/ev-application.h:
* shell/ev-job-queue.c: (remove_job_from_queue_locked),
(remove_job_from_async_queue), (add_job_to_async_queue),
(add_job_to_queue_locked), (notify_finished), (job_finished_cb),
(handle_job), (search_for_jobs_unlocked),
(no_jobs_available_unlocked), (ev_render_thread),
(ev_job_queue_run_next), (ev_job_queue_init), (find_queue),
(ev_job_queue_add_job), (move_job_async), (move_job),
(ev_job_queue_update_job), (ev_job_queue_remove_job):
* shell/ev-job-queue.h:
* shell/ev-job-xfer.c: (ev_job_xfer_init), (ev_job_xfer_dispose),
(ev_job_xfer_class_init), (ev_job_xfer_new), (ev_job_xfer_run):
* shell/ev-job-xfer.h:
* shell/ev-jobs.c: (ev_job_init), (ev_job_dispose),
(ev_job_class_init), (ev_job_links_init), (ev_job_links_dispose),
(ev_job_links_class_init), (ev_job_render_init),
(ev_job_render_dispose), (ev_job_render_class_init),
(ev_job_thumbnail_init), (ev_job_thumbnail_dispose),
(ev_job_thumbnail_class_init), (ev_job_load_init),
(ev_job_load_dispose), (ev_job_load_class_init), (ev_job_finished),
(ev_job_links_new), (ev_job_links_run), (ev_job_render_new),
(render_finished_cb), (ev_job_render_run), (ev_job_thumbnail_new),
(ev_job_thumbnail_run), (ev_job_load_new), (ev_job_load_run):
* shell/ev-jobs.h:
* shell/ev-page-action.c: (ev_page_action_set_document):
* shell/ev-page-cache.c: (ev_page_cache_init),
(ev_page_cache_class_init), (ev_page_cache_finalize),
(ev_page_cache_new), (ev_page_cache_get_n_pages),
(ev_page_cache_get_current_page), (ev_page_cache_set_current_page),
(ev_page_cache_set_page_label), (ev_page_cache_set_link),
(ev_page_cache_get_title), (ev_page_cache_get_size),
(ev_page_cache_get_max_width), (ev_page_cache_get_max_height),
(ev_page_cache_get_height_to_page),
(ev_page_cache_get_max_label_chars),
(ev_page_cache_get_page_label),
(ev_page_cache_has_nonnumeric_page_labels),
(ev_page_cache_get_info), (ev_page_cache_next_page),
(ev_page_cache_prev_page), (ev_page_cache_get):
* shell/ev-page-cache.h:
* shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_update_range),
(ev_pixbuf_cache_clear_job_sizes),
(ev_pixbuf_cache_add_jobs_if_needed),
(ev_pixbuf_cache_set_page_range):
* shell/ev-print-job.c: (ev_print_job_use_print_dialog_settings):
* shell/ev-sidebar-links.c: (ev_sidebar_links_set_document):
* shell/ev-sidebar-thumbnails.c:
(ev_sidebar_tree_selection_changed),
(ev_sidebar_thumbnails_set_document):
* shell/ev-statusbar.c: (ev_statusbar_destroy),
(ev_statusbar_class_init), (ev_statusbar_init), (ev_statusbar_new),
(ev_statusbar_get_context_id), (ev_statusbar_push),
(ev_statusbar_pop), (ev_statusbar_set_maximized),
(ev_statusbar_pulse), (ev_statusbar_show_progress),
(ev_statusbar_set_progress):
* shell/ev-statusbar.h:
* shell/ev-view.c: (ev_view_set_document), (ev_view_find_next),
(ev_view_find_previous):
* shell/ev-window.c: (ev_window_is_empty),
(ev_window_setup_document), (password_dialog_response),
(ev_window_clear_jobs), (ev_window_load_job_cb),
(ev_window_xfer_job_cb), (ev_window_open_uri),
(ev_window_open_uri_list), (ev_window_cmd_recent_file_activate),
(ev_window_print), (ev_window_print_range),
(ev_window_state_event), (ev_window_cmd_view_reload),
(menu_item_select_cb), (menu_item_deselect_cb),
(view_status_changed_cb), (ev_window_dispose),
(drag_data_received_cb), (ev_window_init):
* shell/ev-window.h:
* shell/main.c: (load_files):
New statusbar to show progress on idle. Two new jobs -
xfer job and load job to load document in background. And update
of page_cache clients to new location of code.
2005-06-08 Carlos Garcia Campos <carlosgc@gnome.org>
* shell/ev-application.c, shell/ev-window.[ch]: Allow multiple
selection in open dialog. It also remembers the last visited directory
in the current session.
2005-06-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
* shell/ev-properties.c: (ev_properties_new):
* shell/ev-properties.h:
* shell/ev-window.c: (ev_window_cmd_file_properties):
Get document info from page cache instead of document itself.
This should fix crash related to race conditions described in
bug 306545.
2005-06-07 Marco Pesenti Gritti <mpg@redhat.com>
* ps/ps-document.c: (ps_document_init),
(send_ps), (get_page_box), (output), (catchPipe), (input),
(stop_interpreter), (file_length), (file_readable),
(check_filecompressedb), (ps_document_enable_interpreter),
(document_load), (ps_async_renderer_render_pixbuf):
* ps/ps-document.h:
Big cleanup of the ps code
2005-06-07 Marco Pesenti Gritti <mpg@redhat.com>
* backend/Makefile.am:
* backend/ev-async-renderer.c: (ev_async_renderer_get_type),
(ev_async_renderer_class_init), (ev_async_renderer_render_pixbuf):
* backend/ev-async-renderer.h:
Add an async renderer interface (method + callback) which
is useful for backends like ps.
* backend/ev-job-queue.c: (remove_job_from_async_queue),
(add_job_to_async_queue), (job_finished_cb), (handle_job),
(ev_job_queue_run_next), (ev_job_queue_init), (find_queue),
(ev_job_queue_add_job), (move_job_async), (move_job),
(ev_job_queue_update_job), (ev_job_queue_remove_job):
Add queues for async renderer, these are executed on the
main thread.
* backend/ev-jobs.c: (ev_job_render_new), (render_finished_cb),
(ev_job_render_run):
* backend/ev-jobs.h:
If the backend support async renderer interface use it.
* ps/ps-document.c: (ps_document_init), (push_pixbuf),
(setup_pixmap), (ps_document_get_type),
(ps_async_renderer_render_pixbuf),
(ps_document_document_iface_init), (ps_async_renderer_iface_init):
Implement async renderer interface.
2005-06-07 Nickolay V. Shmyrev <<nshmyrev@yandex.ru>>
* shell/ev-sidebar-links.c: (ev_sidebar_links_dispose):
Cleanup links job on exit.
2005-06-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
* cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
(drag_data_get_cb), (drag_data_received_cb):
* cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
(drag_data_get_cb), (parse_item_list),
(egg_toolbar_editor_load_actions):
* cut-n-paste/toolbar-editor/egg-toolbars-model.c:
(egg_toolbars_model_to_xml), (egg_toolbars_model_save),
(parse_item_list), (parse_toolbars):
* dvi/pixbuf-device.c: (dvi_pixbuf_draw_rule),
(dvi_pixbuf_put_pixel):
Fix gcc 4.0 warnings
2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
* ps/ps-document.c: (start_interpreter):
Fix warning when loading ps
2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
* ps/ps-document.c: (output):
Fix crash when priting gs error messages.
2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
* backend/ev-page-cache.c: (_ev_page_cache_new):
* backend/ev-page-cache.h:
Use a const to return title so that we dont double
free it. Small cleanup and fix a leak.
* shell/ev-window.c: (update_window_title):
strdup value from get_title.
2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
* shell/ev-sidebar-links.c: (job_finished_callback),
(ev_sidebar_links_set_document):
Cleanup the old job when changing document
2005-06-05 Nickolay V. Shmyrev <<nshmyrev@yandex.ru>>
* shell/ev-stock-icons.c:
* shell/ev-stock-icons.h:
* shell/ev-window.c:
Add stock icons for actions that can appear in toolbar. Fix for
bug 306566.
2005-06-05 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
* backend/ev-page-cache.c: (ev_page_cache_finalize),
(_ev_page_cache_new), (ev_page_cache_get_max_width),
(ev_page_cache_get_max_height), (ev_page_cache_get_height_to_page):
* backend/ev-page-cache.h:
* shell/ev-view.c: (scroll_to_current_page),
(view_update_range_and_current_page), (get_page_y_offset),
(get_page_extents), (ev_view_size_request_continuous_dual_page),
(ev_view_size_request_continuous),
(ev_view_zoom_for_size_continuous_and_dual_page),
(ev_view_zoom_for_size_continuous):
More compact EvView layout in document with pages of different size.
Sat Jun 4 19:20:57 2005 Jonathan Blandford <jrb@redhat.com>
* shell/ev-window.c (ev_window_cmd_file_properties): fix
compilation.
2005-06-05 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
* shell/ev-view.c: (view_set_adjustment_values):
* shell/ev-window.c: (ev_window_cmd_file_properties):
A bit different fix for rounding problem but it has no
problems on startup. Make properties window transient to parent.
2005-06-04 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
* pdf/ev-poppler.cc:
More commenting of font stuff.
2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
* pdf/ev-poppler.cc:
Comment out some more fonts stuff. Should really
work without the poppler patch now.
2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
* pdf/ev-poppler.cc:
Adapt to api change
2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
* data/evince-properties.glade:
* pdf/ev-poppler.cc:
* shell/ev-properties.c: (setup_fonts_view):
Set the column title. Show the dialog only
once everything is setup.
Getting font info can be very slow... will
prolly need to make this threaded too.
2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
* backend/Makefile.am:
* backend/ev-document-fonts.c: (ev_document_fonts_get_type),
(ev_document_fonts_get_fonts_model):
* backend/ev-document-fonts.h:
* data/evince-properties.glade:
* pdf/ev-poppler.cc:
* shell/ev-properties.c: (setup_fonts_view), (ev_properties_new):
* shell/ev-properties.h:
* shell/ev-window.c: (ev_window_cmd_file_properties):
Implement fonts list. Defined out for now, since it depends
on a not yet committed poppler patch.
Fri Jun 3 21:07:57 2005 Jonathan Blandford <jrb@redhat.com>
* shell/ev-view.c (get_page_extents): other_page isn't necessarily
page + 1.
* shell/ev-window.c: Make sure we add the timeout when we get a
focus-in event.
* shell/ev-view.c (view_set_adjustment_values): Add 0.5 to
adjustment->value before calculating the zoom factor to average
out all of our rounding errors. The page no longer 'drifts' when
resizing.
2005-06-04 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
* data/evince-properties.glade:
* shell/ev-properties.c: (ev_properties_format_date),
(set_property):
Labels don't expand when the dialogue is resized.
strftime result needs to be converted to UTF-8. Thanks
to Christian Persch <chpe@gnome.org>.
2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
* data/evince-properties.glade:
Hide the fonts tab
2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
* backend/ev-document-info.h:
* backend/ev-document.c: (ev_document_info_free):
* data/evince-properties.glade:
* pdf/ev-poppler.cc:
* ps/ps-document.c: (ps_document_get_info):
* shell/ev-properties.c: (ev_properties_format_date),
(set_property), (ev_properties_new):
* shell/ev-properties.h:
* shell/ev-window.c: (ev_window_cmd_file_properties):
Rework properties code to take only EvPropertyInfo
in the constructor so that it can be useful for
nautilus plugin too.
Deal with backends that doesnt support some properties.
Make set property code generic.
2005-06-04 Christian Persch <chpe@gnome.org>
* data/evince-properties.glade:
fix spacings, make resizeable, and make data labels
selectable + ellipsised
2005-06-03 Marco Pesenti Gritti <mpg@redhat.com>
* backend/ev-document-info.h:
* data/Makefile.am:
* data/evince-ui.xml:
* pdf/ev-poppler.cc:
* shell/Makefile.am:
* shell/ev-window.c: (update_action_sensitivity),
(ev_window_cmd_file_properties):
Initial go at file properties. Patch by
Emil Soleyman-Zomalan <emil@soleyman.com>.
Needs love see #169583
2005-06-02 Marco Pesenti Gritti <mpg@redhat.com>
* ps/ps-document.c: (output):
* ps/ps.c: (psscan):
Try to render even if psscan fails.
2005-06-01 Marco Pesenti Gritti <mpg@redhat.com>
* ps/ps.c: (psscan), (pscopydoc):
Port buffered reading code from gv
2005-06-01 Marco Pesenti Gritti <mpg@redhat.com>
* ps/ps-document.c: (interpreter_message), (output):
Do not fail on interpreter messages
2005-06-01 Marco Pesenti Gritti <mpg@redhat.com>
* backend/ev-document-misc.c:
(ev_document_misc_get_thumbnail_frame):
Pages can be 0 x 0, dont assert on this case
2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
* shell/ev-sidebar-links.c: (ev_sidebar_links_dispose),
(ev_sidebar_links_class_init), (ev_sidebar_links_set_document):
Correctly manage our reference on document. Finally the reload
huge leak is gone...
2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
* ps/ps-document.c: (ps_document_dispose):
Forgot to chain it to the parent. Thanks chpe.
2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
* ps/ps-document.c: (ps_document_dispose),
(ps_document_class_init), (stop_interpreter), (document_load):
Cleanup dispose a bit. Dont leak the whole pixmap.
2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
* pdf/ev-poppler.cc:
Release the poppler document on dispose
2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
* shell/ev-view.c: (ev_view_set_document):
Release ref on the pixbuf cache when changing
document.
2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
* ps/ps-document.c: (ps_document_get_info):
Fix a double free
2005-05-31 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
* backend/ev-page-cache.c: (ev_page_cache_init),
(_ev_page_cache_new), (ev_page_cache_get_max_label_chars):
* backend/ev-page-cache.h:
* shell/ev-page-action.c: (page_changed_cb):
Set page action entry width depending on labels width. Fix
for bug 305202.
2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
* backend/ev-link.c: (ev_link_class_init):
Allow -1 as page value (error)
2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
* shell/ev-sidebar-thumbnails.c:
(ev_sidebar_thumbnails_set_document):
* shell/ev-view.c: (scroll_to_current_page),
(view_set_adjustment_values), (ev_view_set_scroll_adjustments),
(page_changed_cb), (on_adjustment_value_changed),
(ev_view_set_document):
Slightly modified patch by Nickolay V. Shmyrev <nshmyrev@yandex.ru>.
Fix bug 305377
2005-05-29 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
* configure.ac:
* djvu/djvu-document.c: (djvu_document_get_page_size):
Require djvulibre CVS. Now djvu loading is much faster. Fix for
bug 301993.
Sat May 28 07:38:03 2005 Jonathan Blandford <jrb@redhat.com>
* shell/ev-view.c (draw_one_page): modify the expose handling to
get the shadows.
* shell/ev-window.c (update_action_sensitivity): Respect
permissions field. Kowtow to the man.
* pdf/ev-poppler.cc: Get the permissions field.
* tiff/*c: Make a tiny bit more robust.
2005-05-26 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
* djvu/djvu-document.c:
Pop messages from djvu context message queue.
2005-05-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
* configure.ac, Makefile.am, shell/Makefile.am:
* tiff/Makefile.am, shell/ev-document-types.c:
Cleanup tiff configure checks. Fix for bug 305218.
2005-05-24 Maxim V. Dziumanenko <mvd@mylinux.ua>
* configure.ac: Added "uk" to ALL_LINGUAS.
2005-05-22 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
* cut-n-paste/zoom-control/ephy-zoom.c:
(ephy_zoom_get_changed_zoom_level):
* cut-n-paste/zoom-control/ephy-zoom.h:
* shell/ev-view.c: (ev_view_scroll_event), (ev_view_set_property),
(ev_view_get_property), (ev_view_class_init), (ev_view_set_zoom):
* shell/ev-window.c: (ev_window_cmd_view_zoom_in),
(ev_window_cmd_view_zoom_out), (ev_window_zoom_changed_cb),
(zoom_control_changed_cb), (ev_window_init):
Fix minor points related to moving best fit up. Introduce
"zoom" property and make zoom control change it's value on
notify::zoom signals. Fix for 305080.
2005-05-22 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
* data/evince-ui.xml:
* shell/ev-window.c: (set_view_actions_sensitivity):
Use + and - as accels for zoom in and zoom out. Fix for 305001.
2005-05-22 Marco Pesenti Gritti <mpg@redhat.com>
* configure.ac:
Depends on poppler 0.3.2
2005-05-22 Marco Pesenti Gritti <mpg@redhat.com>
* cut-n-paste/recent-files/egg-recent-item.c:
(egg_recent_item_get_short_name):
* cut-n-paste/toolbar-editor/Makefile.am:
* cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
(new_pixbuf_from_widget):
* cut-n-paste/toolbar-editor/egg-editable-toolbar.h:
* cut-n-paste/toolbar-editor/egg-marshal.c:
* cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
* cut-n-paste/toolbar-editor/egg-toolbars-model.c:
Sync
Sat May 21 23:18:30 2005 Jonathan Blandford <jrb@redhat.com>
* tiff/tiff-document.c: Rough TIFF backend.
2005-05-21 Marco Pesenti Gritti <mpg@redhat.com>
* NEWS:
* configure.ac:
* cut-n-paste/toolbar-editor/Makefile.am:
Release 0.3.1
2005-05-21 Marco Pesenti Gritti <mpg@redhat.com>
* shell/ev-view.c: (jump_to_find_result), (ev_view_can_find_next),
(ev_view_find_next), (ev_view_find_previous):
Remove the locks around get_n_results
2005-05-21 Juerg Billeter <j@bitron.ch>
* pdf/ev-poppler.c: (pdf_document_ps_exporter_begin):
Pass correct number of pages to poppler.
2005-05-21 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
* configure.ac:
* data/Makefile.am:
* data/evince.desktop.in:
* data/evince.desktop.in.in:
* po/POTFILES.in:
Add conditionally dvi and djvu to desktop types. Fix for 304658.
Sat May 21 00:21:30 2005 Jonathan Blandford <jrb@redhat.com>
* shell/ev-view.c: (view_update_adjustments),
(view_set_adjustment_values): cast adjustmen->value to (int)
before using it. Otherwise, we get off by a pixel in some
situations.
(draw_one_page): Draw the border on expose.
Fri May 20 22:05:25 2005 Jonathan Blandford <jrb@redhat.com>
* *shell/ev-view.c: Patch from Nickolay V. Shmyrev to reset the
adjustment when the mode changes, #304923
Fri May 20 02:00:03 2005 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
* shell/ev-view.c: Use gdk_widget_queue_draw to remove
flickering on resize but still use gdk_window_scroll on
scrolling
Fri May 20 01:46:57 2005 Jonathan Blandford <jrb@redhat.com>
* shell/ev-view.c: Patch from Nickolay Shmyrev to fix the -p
option, #170458
Fri May 20 01:27:01 2005 Jonathan Blandford <jrb@redhat.com>
* shell/ev-view.c: Patch from Nickolay Shmyrev to to scroll to
second page on page_changed if possible, #304669
Fri May 20 01:07:15 2005 Jonathan Blandford <jrb@redhat.com>
* shell/ev-view.c (view_update_adjustments): Use gdk_window_scroll
instead of gtk_widget_queue_draw. Massive speedups in scrolling.
Fri May 20 01:05:10 2005 Jonathan Blandford <jrb@redhat.com>
* .cvsignore:
* shell/ev-view.c:(ev_view_size_allocate), (ev_view_class_init),
(zoom_for_size_fit_width), (zoom_for_size_best_fit),
(ev_view_zoom_for_size_presentation),
(ev_view_zoom_for_size_continuous_and_dual_page),
(ev_view_zoom_for_size_continuous),
(ev_view_zoom_for_size_dual_page),
(ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size):
* shell/ev-view.h:
* shell/ev-window.c: (update_view_size),
(ev_window_sizing_mode_changed_cb):
Patch from Nickolay Shmyrev <nshmyrev@yandex.ru> to handle
the scrollbars. It's not 100% right, but it's much closer. Kills
an infinite loop, #304769
2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
* data/evince-ui.xml:
* shell/ev-view.c: (ev_view_scroll_view), (ev_view_class_init):
* shell/ev-window.c: (set_view_actions_sensitivity):
Make PgUp/Down behave like Space
2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
* backend/ev-ps-exporter.c: (ev_ps_exporter_begin):
* backend/ev-ps-exporter.h:
* pdf/ev-poppler.cc:
* ps/ps-document.c: (ps_document_ps_export_begin):
* shell/ev-print-job.c: (idle_print_handler):
Adapt to new poppler api
2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
* cut-n-paste/zoom-control/ephy-zoom-control.c:
(ephy_zoom_control_init):
Translate zoom levels
2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
* cut-n-paste/zoom-control/ephy-zoom.c:
(ephy_zoom_get_zoom_level_index):
Fix current zoom -> zoom control match
2005-05-18 James Bowes <bowes@cs.dal.ca>
* shell/ev-window.c: (ev_window_init): Give focus to the ev-view,
rather than the scrolled_window that it's in. Fixes bug #304655.
Tue May 17 22:54:17 2005 Jonathan Blandford <jrb@redhat.com>
* shell/ev-view.c: (view_update_adjustments),
(view_set_adjustment_values), (view_update_range_and_current_page),
(view_scroll_to_page), (set_scroll_adjustment),
(ev_view_set_scroll_adjustments), (add_scroll_binding_keypad),
(ev_view_scroll), (ev_view_scroll_view),
(ensure_rectangle_is_visible), (find_page_at_location),
(get_link_at_location), (go_to_link), (status_message_from_link),
(ev_view_size_request_continuous_dual_page),
(ev_view_size_request), (ev_view_size_allocate), (ev_view_realize),
(ev_view_unrealize), (ev_view_expose_event),
(ev_view_button_press_event), (ev_view_motion_notify_event),
(ev_view_button_release_event), (ev_gdk_color_to_rgb),
(draw_rubberband), (highlight_find_results), (draw_one_page),
(ev_view_finalize), (ev_view_destroy), (ev_view_class_init),
(ev_view_init), (find_changed_cb), (page_changed_cb),
(on_adjustment_value_changed), (ev_view_new),
(ev_view_set_document), (ev_view_set_zoom),
(ev_view_set_continuous), (ev_view_set_dual_page),
(ev_view_set_presentation), (ev_view_zoom_in), (ev_view_zoom_out),
(zoom_for_size_fit_width), (zoom_for_size_best_fit),
(ev_view_zoom_for_size_presentation),
(ev_view_zoom_for_size_continuous_dual_page),
(ev_view_zoom_for_size_continuous),
(ev_view_zoom_for_size_dual_page),
(ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size),
(ev_view_get_status), (ev_view_set_status),
(update_find_status_message), (ev_view_get_find_status),
(ev_view_set_find_status), (jump_to_find_result),
(jump_to_find_page), (compute_selections), (clear_selection),
(ev_view_select_all), (get_selected_text), (ev_view_copy),
(ev_view_primary_get_cb), (ev_view_primary_clear_cb),
(ev_view_update_primary_selection),
(ev_view_create_invisible_cursor), (ev_view_set_cursor):
* shell/ev-view.h:
* shell/ev-window.c: (ev_window_open_page_label),
(ev_window_cmd_view_reload), (ev_window_sizing_mode_changed_cb),
(ev_window_init):
* shell/ev-window.h:
* shell/main.c: (load_files):
Massive code clean up from Nickolay Shmyrev. Keep page offset
when resizing. Remove the bin_window(). Also, patch from James
Bowes to fix command line page, #300641
2005-05-17 Marco Pesenti Gritti <mpg@redhat.com>
* data/evince-ui.xml:
* shell/ev-view.c:
* shell/ev-view.h:
* shell/ev-window.c: (update_action_sensitivity):
Get rid of View->Normal Size, it's just confusing
Tue May 17 00:51:21 2005 Jonathan Blandford <jrb@redhat.com>
* backend/ev-document-info.h:
* backend/ev-document.c: (ev_document_info_free): Free the
EvDocumentInfo.
* shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_dispose),
(clear_range), (add_range), (update_visible_range),
(adjustment_changed_cb), (ev_sidebar_thumbnails_init),
(ev_sidebar_thumbnails_set_document):
* shell/ev-window.c: (ev_window_setup_document): Only render the
visible thumbnails. It takes an instant to render, but it uses
much less memory.
2005-05-16 Marco Pesenti Gritti <mpg@redhat.com>
* shell/ev-sidebar-links.c: (popup_menu_cb):
Select first item
2005-05-16 Marco Pesenti Gritti <mpg@redhat.com>
* lib/Makefile.am:
* shell/ev-sidebar-links.c: (build_popup_menu), (popup_menu_cb),
(button_press_cb), (ev_sidebar_links_construct):
Show the popup menu also on keybindings
2005-05-16 Marco Pesenti Gritti <mpg@redhat.com>
* shell/ev-window.c: (ev_window_print), (ev_window_print_range):
* shell/ev-window.h:
Expose api to print a range (with dialog). Make private _print use
it.
* shell/ev-sidebar-links.c: (print_section_cb), (button_press_cb),
(ev_sidebar_links_construct):
Show a print context menu on linkx, it prints the selected
section.
2005-05-15 Carlos Garcia Campos <carlosgc@gnome.org>
* shell/ev-sidebar.c: make the drop down menu as width as the toggle
button.
2005-05-12 Marco Pesenti Gritti <mpg@redhat.com>
* AUTHORS:
Update
* shell/ev-window.c: (build_comments_string),
(ev_window_cmd_help_about):
Show poppler version/backend and authors
2005-05-11 Marco Pesenti Gritti <mpg@redhat.com>
* cut-n-paste/zoom-control/ephy-zoom.c:
(ephy_zoom_get_zoom_level_index):
* cut-n-paste/zoom-control/ephy-zoom.h:
Move the best fit items at the top of the list
2005-05-11 Marco Pesenti Gritti <mpg@redhat.com>
* shell/ev-marshal.list:
* shell/ev-page-action.c: (ev_page_action_widget_class_init),
(activate_cb), (match_selected_cb), (activate_link_cb),
(connect_proxy), (ev_page_action_class_init):
* shell/ev-page-action.h:
Use signals to notify action activation. Hopefully
I did not break completion since I cant test...
* shell/ev-window.c: (activate_link_cb), (activate_label_cb),
(register_custom_actions):
Connect to page selector actions and also grab focus on
the view when activated.
Wed May 11 01:18:29 2005 Jonathan Blandford <jrb@redhat.com>
* pdf/ev-poppler.cc:
* backend/ev-page-cache.c: make page size calculation consistent
and set it to (int)( width * scale + 0.5). This makes the weird
line going through the middle of the page go away.
* shell/ev-view.c: move painting the background page after
checking the expose area covers us.
2005-05-11 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
* data/evince-password.glade:
Mark labels as not translatable. Fix for bug 302842.
2005-05-10 Francisco Javier F. Serrador <serrador@cvs.gnome.org>
* configure.ac: Added "es" to ALL_LINGUAS.
2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
* data/evince-toolbar.xml:
* shell/ev-window.c: (update_action_sensitivity),
(ev_window_setup_document), (ev_window_set_page_mode),
(ev_window_init):
Remove some leftover code from jrb first continous
attempt. Use the new actions, we still need good icons
though...
2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
* shell/ev-page-action.c: (update_pages_label), (connect_proxy):
Update label when connecting proxy. Fix a warning with NULL
page_cache.
2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
* data/evince-ui.xml:
* shell/ev-page-action.c: (ev_page_action_grab_focus):
* shell/ev-page-action.h:
* shell/ev-window.c: (ev_window_cmd_focus_page_selector):
Add mnemonic for edit toolbar.
ctrl+l focus the page entry.
2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
* lib/Makefile.am:
* shell/ev-window.c: (ev_window_cmd_edit_toolbar_cb),
(ev_window_init):
* shell/main.c: (main):
Put the toolbar xml in evince own dot dir
2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
* shell/ev-window.c: (ev_window_init):
Make the toolbar not removable
2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
* data/evince-ui.xml:
* shell/ev-sidebar-links.c: (ev_sidebar_links_get_treeview):
* shell/ev-sidebar-links.h:
* shell/ev-sidebar-thumbnails.c:
(ev_sidebar_thumbnails_get_treeview):
* shell/ev-sidebar-thumbnails.h:
* shell/ev-view.c: (ev_view_scroll), (ev_view_scroll_view),
(ev_view_class_init):
* shell/ev-view.h:
* shell/ev-window.c: (update_action_sensitivity),
(ev_window_cmd_scroll_forward), (ev_window_cmd_scroll_backward),
(set_view_actions_sensitivity), (view_actions_focus_in_cb),
(view_actions_focus_out_cb), (enable_view_actions_for_widget),
(ev_window_init):
This is evil... Make space/backspace global accelerators but
enable them only for some widgets (sidebars and view).
I dont like it, but I dont know a better way... :/
2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
* shell/ev-page-action.c: (ev_page_action_widget_set_page_cache),
(ev_page_action_widget_finalize),
(ev_page_action_widget_class_init), (update_page_cache):
Keep a weak reference on proxy->page_cache so that we
dont try to disconnect the signal if the object is already
gone. Maybe there is a better way to cleanup reference handling
in page action though...
2005-05-10 Juerg Billeter <j@bitron.ch>
* backend/ev-ps-exporter.c: (ev_ps_exporter_begin):
* backend/ev-ps-exporter.h:
* pdf/ev-poppler.cc: (pdf_document_ps_exporter_begin):
* ps/ps-document.c: (ps_document_ps_export_begin):
Change api to pass print range to ps_exporter_begin. The pdf backend
requires this information.
* shell/ev-print-job.c: (idle_print_handler):
Adapt to api change
2005-05-10 Juerg Billeter <j@bitron.ch>
* shell/ev-print-job.c: (ev_print_job_use_print_dialog_settings),
(idle_print_handler)
* shell/ev-window.c: (ev_window_print):
Support printing page range, based on patch by Amaury Jacquot
2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
* data/evince-toolbar.xml:
Add zoom control to available items
2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
* shell/ev-window.c: (update_action_sensitivity):
Set slash action insensitive when appropriate
2005-05-10 Christian Persch <chpe@gnome.org>
* cut-n-paste/zoom-control/ephy-zoom-action.c: (create_menu_item):
Fix warning on the overflow menu
2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
* shell/ev-window.c: (sanity_check_uri), (ev_window_open):
Check for uri correctness/existence
2005-05-09 Juerg Billeter <j@bitron.ch>
* shell/ev-window.c: (using_postscript_printer):
LPD printers use postscript, too
2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
* shell/ev-window.c: (register_custom_actions):
The zoom one is actually sort of useful,
put it back
2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
* shell/ev-window.c: (register_custom_actions):
Hide page/zoom controls from overflow, they
are useless.
2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
* cut-n-paste/update-from-egg.sh:
Share it between all cut-n-paste subdirs
* cut-n-paste/recent-files/Makefile.am:
Fix to use "global" update-from-egg.sh
* cut-n-paste/recent-files/egg-recent-model.c:
(egg_recent_model_changed_timeout), (egg_recent_model_finalize):
* cut-n-paste/recent-files/egg-recent-view-gtk.c:
(egg_recent_view_gtk_clear), (egg_recent_view_gtk_set_list),
(egg_recent_view_gtk_finalize), (egg_recent_view_gtk_set_menu):
Update from libegg
* cut-n-paste/toolbar-editor/Makefile.am:
Fix to use "global" update-from-egg.sh
* cut-n-paste/toolbar-editor/eggmarshalers.list:
Update from libegg
2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
* configure.ac:
* cut-n-paste/Makefile.am:
* cut-n-paste/recent-files/Makefile.am:
* cut-n-paste/toolbar-editor/.cvsignore:
* cut-n-paste/toolbar-editor/Makefile.am:
* cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
(egg_editable_toolbar_get_type), (get_toolbar_position),
(get_n_toolbars), (get_dock_nth), (get_toolbar_nth), (find_action),
(drag_data_delete_cb), (drag_begin_cb), (drag_end_cb),
(drag_data_get_cb), (set_drag_cursor), (unset_drag_cursor),
(set_item_drag_source), (create_item_from_action), (create_item),
(data_is_separator), (drag_data_received_cb), (remove_toolbar_cb),
(popup_toolbar_context_menu_cb), (free_dragged_item),
(toolbar_drag_drop_cb), (toolbar_drag_motion_cb),
(toolbar_drag_leave_cb), (create_dock), (set_fixed_style),
(unset_fixed_style), (toolbar_changed_cb), (unparent_fixed),
(update_fixed), (toolbar_added_cb), (toolbar_removed_cb),
(item_added_cb), (item_removed_cb),
(egg_editable_toolbar_construct),
(egg_editable_toolbar_disconnect_model),
(egg_editable_toolbar_deconstruct),
(egg_editable_toolbar_set_model),
(egg_editable_toolbar_set_ui_manager),
(egg_editable_toolbar_set_property),
(egg_editable_toolbar_get_property),
(egg_editable_toolbar_class_init), (egg_editable_toolbar_init),
(egg_editable_toolbar_finalize), (egg_editable_toolbar_new),
(egg_editable_toolbar_new_with_model),
(egg_editable_toolbar_get_edit_mode),
(egg_editable_toolbar_set_edit_mode), (egg_editable_toolbar_show),
(egg_editable_toolbar_hide), (egg_editable_toolbar_set_fixed),
(egg_editable_toolbar_set_drag_dest), (fake_expose_widget),
(new_pixbuf_from_widget), (new_separator_pixbuf),
(update_separator_image), (style_set_cb),
(_egg_editable_toolbar_new_separator_image),
(egg_editable_toolbar_get_model):
* cut-n-paste/toolbar-editor/egg-editable-toolbar.h:
* cut-n-paste/toolbar-editor/egg-marshal.c:
* cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
(egg_toolbar_editor_get_type), (compare_actions), (find_action),
(egg_toolbar_editor_set_ui_manager), (toolbar_removed_cb),
(egg_toolbar_editor_set_model), (egg_toolbar_editor_set_property),
(egg_toolbar_editor_get_property), (egg_toolbar_editor_class_init),
(egg_toolbar_editor_finalize), (egg_toolbar_editor_new),
(drag_begin_cb), (drag_end_cb), (editor_drag_data_received_cb),
(editor_drag_data_delete_cb), (drag_data_get_cb),
(elide_underscores), (set_drag_cursor), (event_box_realize_cb),
(editor_create_item), (update_editor_sheet), (setup_editor),
(egg_toolbar_editor_init), (egg_toolbar_editor_add_action),
(parse_item_list), (model_has_action), (update_actions_list),
(egg_toolbar_editor_load_actions):
* cut-n-paste/toolbar-editor/egg-toolbar-editor.h:
* cut-n-paste/toolbar-editor/egg-toolbars-model.c:
(egg_toolbars_model_get_type), (egg_toolbars_model_to_xml),
(safe_save_xml), (egg_toolbars_model_save), (toolbars_toolbar_new),
(toolbars_item_new), (free_toolbar_node), (free_item_node),
(egg_toolbars_model_get_flags), (egg_toolbars_model_set_flags),
(egg_toolbars_model_add_separator), (impl_add_item),
(parse_item_list), (egg_toolbars_model_add_toolbar),
(parse_toolbars), (egg_toolbars_model_load), (impl_get_item_id),
(impl_get_item_data), (impl_get_item_type),
(_egg_accumulator_STRING), (egg_toolbars_model_class_init),
(egg_toolbars_model_init), (free_toolbar),
(egg_toolbars_model_finalize), (egg_toolbars_model_new),
(egg_toolbars_model_remove_toolbar),
(egg_toolbars_model_remove_item), (egg_toolbars_model_move_item),
(egg_toolbars_model_n_items), (egg_toolbars_model_item_nth),
(egg_toolbars_model_n_toolbars), (egg_toolbars_model_toolbar_nth),
(egg_toolbars_model_add_item), (egg_toolbars_model_get_item_id),
(egg_toolbars_model_get_item_data),
(egg_toolbars_model_get_item_type):
* cut-n-paste/toolbar-editor/egg-toolbars-model.h:
* cut-n-paste/toolbar-editor/eggmarshalers.list:
* data/Makefile.am:
* data/evince-toolbar.xml:
* data/evince-ui.xml:
* data/hand-open.png:
* po/POTFILES.in:
* shell/Makefile.am:
* shell/ev-window.c: (update_chrome_visibility),
(ev_window_cmd_edit_toolbar_cb), (ev_window_cmd_edit_toolbar),
(ev_window_dispose), (ev_window_init):
Implement epiphany like toolbar editor. Based on patch by
Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
* shell/ev-sidebar-thumbnails.c: (page_changed_cb):
Use set_cursor instead of set_selection, so that
the keyboard focus moves too.
2005-05-09 Aleksey Kliger <akliger@gmail.com>
* dvi/mdvi-lib/tfmfile.c: (lookup_font_metrics):
Fix infinite loop when loading Type1 fonts
2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
* data/evince-ui.xml:
* shell/ev-window.c:
Slash -> Find
2005-05-09 Thomas de Grenier de Latour <degrenier@easyconnect.fr>
* configure.ac:
Make --disable really disable
2005-05-07 Juerg Billeter <j@bitron.ch>
* backend/ev-page-cache.c: (ev_page_cache_set_page_label):
Compare page labels even without has_labels set, fixes setting page
with entry
2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
* shell/ev-view.c: (ev_view_create_invisible_cursor),
(ev_view_set_cursor), (ev_view_button_press_event),
(ev_view_motion_notify_event), (ev_view_button_release_event),
(ev_view_init):
Implement middle button scrolling. Based on a patch
by Tommi Komulainen <tommi.komulainen@iki.fi>.
2005-05-08 Marco Pesenti Gritti <mpg@redhat.com>
* shell/ev-document-types.c: (get_slow_mime_type),
(get_document_type_from_mime), (ev_document_type_lookup):
* shell/ev-document-types.h:
Change api to lookup from uri. Do fast lookup first, if the
type is unknown try with data sniffing.
* shell/ev-window.c: (ev_window_open), (ev_window_open_uri_list):
* thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
Adapt to api change
2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
* thumbnailer/Makefile.am:
Fix distcheck
2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
* NEWS:
* configure.ac:
Release 0.3.0
* data/evince-ui.xml:
Hide presentation mode for now
* shell/ev-view.c: (highlight_find_results):
Show current find selection only on current page
2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
* shell/ev-view.c: (ev_view_select_all):
Compute size of the actual page, not of
the current one.
2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
* shell/ev-view.c: (clear_selection), (ev_view_finalize),
(view_rect_to_doc_rect), (compute_selections),
(ev_view_bin_expose), (ev_view_select_all), (get_selected_text),
(ev_view_copy), (ev_view_primary_get_cb),
(ev_view_primary_clear_cb), (ev_view_update_primary_selection),
(ev_view_button_press_event), (ev_view_motion_notify_event),
(ev_view_button_release_event), (page_changed_cb):
Fix text selection
2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
* shell/ev-view.c: (compute_border), (get_page_extents),
(doc_rect_to_view_rect), (highlight_find_results),
(ev_view_bin_expose), (ev_view_select_all),
(ev_view_motion_notify_event), (update_find_status_message),
(jump_to_find_result), (jump_to_find_page):
First go at fixing search, still buggy
2005-05-04 Kristian Høgsberg <krh@redhat.com>
* shell/ev-sidebar.c (ev_sidebar_init): Remove frame around
dropdown box and button at the top of the sidebar.
2005-05-02 James Bowes <bowes@cs.dal.ca>
* configure.ac: Output zoom-control Makefile.
* cut-n-paste/Makefile.am: build zoom-control subdir.
* cut-n-paste/zoom-control/ephy-zoom-action.c:
* cut-n-paste/zoom-control/ephy-zoom-action.h:
* cut-n-paste/zoom-control/ephy-zoom-control.c:
* cut-n-paste/zoom-control/ephy-zoom-control.h:
* cut-n-paste/zoom-control/ephy-zoom.c:
* cut-n-paste/zoom-control/ephy-zoom.h: New files imported
from epiphany, and modified to add a separator into the menu.
* cut-n-paste/zoom-control/Makefile.am: Build zoom-control.
* data/evince-ui.xml: Replace old zoom toolbar actions with new
zoom-control action.
* shell/Makefile.am: Include zoom-control flags.
* shell/ev-view.c: (ev_view_set_zoom), (ev_view_get_zoom),
(ev_view_get_sizing_mode), (ev_view_zoom_in), (ev_view_zoom_out),
(ev_view_zoom_for_size_presentation),
(ev_view_zoom_for_size_continuous_and_dual_page),
(ev_view_zoom_for_size_continuous),
(ev_view_zoom_for_size_dual_page),
(ev_view_zoom_for_size_single_page), (ev_view_zoom_normal):
s/ev_view_zoom/ev_view_set_zoom/ and make public, add
ev_view_get_zoom and ev_view_get_sizing_mode.
* shell/ev-view.h:
* shell/ev-window.c: (update_action_sensitivity),
(update_sizing_buttons), (zoom_control_changed_cb),
(register_custom_actions): Initialize and use the zoom-control
widget.
Sun May 1 00:46:47 2005 Jonathan Blandford <jrb@redhat.com>
* shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init): Change the
preview cache back to 1. Don't know when it got set to 0.
* shell/ev-view.c: (compute_border), (ev_view_realize),
(draw_one_page), (ev_view_set_property), (ev_view_get_property),
(ev_view_class_init), (ev_view_init), (ev_view_set_fullscreen),
(ev_view_get_fullscreen), (ev_view_set_presentation),
(ev_view_get_presentation), (ev_view_set_sizing_mode),
(ev_view_zoom_for_size_presentation), (ev_view_set_zoom_for_size):
* shell/ev-view.h:
* shell/ev-window.c:
(update_chrome_visibility),
(ev_window_cmd_continuous), (ev_window_cmd_dual),
(ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
(update_document_mode), (ev_window_update_fullscreen_action),
(ev_window_fullscreen), (ev_window_unfullscreen),
(ev_window_cmd_view_fullscreen),
(ev_window_update_presentation_action),
(ev_window_run_presentation), (ev_window_stop_presentation),
(ev_window_cmd_view_presentation), (ev_window_state_event),
(ev_window_focus_in_event), (ev_window_focus_out_event),
(ev_window_cmd_escape), (ev_window_sidebar_visibility_changed_cb):
* data/evince-ui.xml: Initial presentation mode. We should
probably hide this until it's done, as it's quite rough. Also,
change full-screen to fullscreen and add two getters to EvView.
2005-04-29 Marco Pesenti Gritti <mpg@redhat.com>
* shell/ev-page-action.c: (update_page_cache),
(ev_page_action_dispose):
* shell/ev-window.c: (destroy_fullscreen_popup),
(ev_window_create_fullscreen_popup):
Use connect_object rather than explicitly
disconnect on dispose.
2005-04-29 Marco Pesenti Gritti <mpg@redhat.com>
* shell/ev-page-action.c: (update_page_cache),
(ev_page_action_dispose):
2005-04-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
* backend/ev-page-cache.c: (_ev_page_cache_new),
(ev_page_cache_set_page_label),
(ev_page_cache_has_nonnumeric_page_labels):
* backend/ev-page-cache.h:
* shell/ev-page-action.c: (update_pages_label):
If all page labels are numeric, fallback to default
way to display number of pages. See bug 173185.
2005-04-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
* shell/ev-page-action.c: (ev_page_action_dispose):
* shell/ev-view.c: (view_update_range_and_current_page):
* shell/ev-window.c: (ev_window_dispose):
Set page on scroll in continuous mode. Fixes bug 301986.
Also cleanup callbacks on destroy of EvWindow and EvPageAction.
2005-04-26 Marco Pesenti Gritti <mpg@redhat.com>
* configure.ac:
Require poppler 0.3.0
2005-04-26 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
* shell/Makefile.am, configure.ac: Fix build problems
with t1lib. Bug 301996.
2005-04-25 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
* shell/ev-view.c: (ev_view_scroll_event):
Scroll up increase zoom
2005-04-25 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
* shell/ev-view.c: (ev_view_scroll_event), (ev_view_class_init),
(ev_view_set_sizing_mode),
(ev_view_zoom_for_size_continuous_and_dual_page),
(ev_view_zoom_for_size_continuous):
* shell/ev-window.c: (ev_window_cmd_view_best_fit),
(ev_window_cmd_view_page_width), (ev_window_cmd_view_zoom_in),
(ev_window_cmd_view_zoom_out), (ev_window_sizing_mode_changed_cb),
(ev_window_init):
Control + Scroll does zooming, Shift + Scroll scrolls horizontally
Fix for 165473 and 165472.
2005-04-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
* po/POTFILES.in:
* thumbnailer/Makefile.am:
* thumbnailer/evince-thumbnailer-djvu.schemas.in:
* thumbnailer/evince-thumbnailer-dvi.schemas.in:
* thumbnailer/evince-thumbnailer.schemas.in:
Make thumbnailer schemas translatable. Fix for bug 301773
* thumbnailer/evince-thumbnailer-djvu.schemas:
* thumbnailer/evince-thumbnailer-dvi.schemas:
* thumbnailer/evince-thumbnailer.schemas:
Removed files
Sun Apr 24 01:37:39 2005 Jonathan Blandford <jrb@redhat.com>
* shell/ev-view.c (ev_view_init): forgot to set this.
Sun Apr 24 01:07:27 2005 Jonathan Blandford <jrb@redhat.com>
* shell/ev-view.c: (find_page_at_location),
(get_link_at_location),
(ev_view_set_show_border), (ev_view_set_spacing),
(ev_view_zoom_for_size_continuous_and_dual_page),
(ev_view_zoom_for_size_continuous): Fix links for dual/continuous.
Also, add a quick fix measuring of widths. Also, removed
ev_view_set_spacing and ev_view_set_show_border.
* shell/ev-window.c: (ev_window_unfullscreen),
(ev_window_cmd_view_fullscreen): Don't adjust the border/spacing.
2005-04-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
* shell/ev-view.c: (view_update_range_and_current_page),
(page_changed_cb):
Fix crash on exit and scrolling to page in continuous view.
Sat Apr 23 13:13:04 2005 Jonathan Blandford <jrb@redhat.com>
* TODO:
* backend/ev-page-cache.c: (_ev_page_cache_new),
(ev_page_cache_get_max_width_size),
(ev_page_cache_get_max_height_size):
* backend/ev-page-cache.h:
* data/evince-ui.xml:
* shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init):
* shell/ev-view.c: (view_update_adjustments),
(view_update_range_and_current_page), (get_bounding_box_size),
(ev_view_size_request_continuous_and_dual_page),
(ev_view_size_request_continuous),
(ev_view_size_request_dual_page),
(ev_view_size_request_single_page), (ev_view_size_request),
(ev_view_size_allocate), (get_page_extents), (draw_one_page),
(ev_view_bin_expose), (ev_view_expose_event),
(ev_view_set_property), (ev_view_get_property),
(ev_view_class_init), (ev_view_init), (ev_view_new),
(page_changed_cb), (ev_view_zoom), (ev_view_set_continuous),
(ev_view_set_dual_page), (ev_view_set_full_screen),
(ev_view_set_presentation), (ev_view_set_sizing_mode),
(ev_view_can_zoom_in), (ev_view_can_zoom_out), (ev_view_zoom_in),
(ev_view_zoom_out), (zoom_for_size_fit_width),
(zoom_for_size_best_fit),
(ev_view_zoom_for_size_continuous_and_dual_page),
(ev_view_zoom_for_size_continuous),
(ev_view_zoom_for_size_dual_page),
(ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size),
(ev_view_show_cursor), (ev_sizing_mode_get_type):
* shell/ev-view.h:
* shell/ev-window.c: (update_action_sensitivity),
(ev_window_cmd_continuous), (ev_window_cmd_dual),
(ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
(update_sizing_buttons), (ev_window_cmd_view_zoom_in),
(ev_window_cmd_view_zoom_out), (update_view_size),
(ev_window_set_sizing_mode), (ev_window_init):
Add Continuous and Dual page modes.
2005-04-23 James Bowes <bowes@cs.dal.ca>
* dvi/dvi-document.c: (dvi_document_load),
(dvi_document_thumbnails_get_thumbnail),
(dvi_document_init_params): Fix up some mixups between
width and height to correct thumbnail rendering.
2005-04-23 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
* dvi/mdvi-lib/private.h:
* dvi/mdvi-lib/setup.c: (mdvi_init_kpathsea):
Suppess output for kpathsea during font generation. Thanks to
James Bowes
Fri Apr 22 19:57:46 2005 Jonathan Blandford <jrb@redhat.com>
* NEWS:
* configure.ac:
Release 0.2.1
* Makefile.am: fix distcheck.
2005-04-23 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
* shell/ev-sidebar-links.c: (selection_changed_callback),
(update_page_callback), (row_activated_callback),
(job_finished_callback), (ev_sidebar_links_set_document):
Fix for bug #169901. Double click on links expands tree.
2005-03-14 Bryan Clark <clarkbw@cvs.gnome.org>
* shell/ev-window.c (ev_window_init): Removed fullscreen toolbar
hard-coded style. Fix for bug 170111
2005-04-22 Kristian Høgsberg <krh@redhat.com>
* shell/ev-view.c (highlight_find_results): Remove unnecessary
locking.
2005-04-22 Bryan Clark <clarkbw@cvs.gnome.org>
* thumbnailer/evince-thumbnailer.schemas: real fix for bug 172496
2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
* pdf/ev-poppler.cc:
* shell/ev-view.c: (highlight_find_results):
Fix find on single page documents
2005-04-22 Bryan Clark <clarkbw@cvs.gnome.org>
* data/evince.schemas.in: fix for bug 301390
2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
* shell/ev-view.c: (ev_view_can_zoom_in), (ev_view_can_zoom_out),
(ev_view_zoom_out), (ev_view_zoom_normal):
* shell/ev-view.h:
* shell/ev-window.c: (update_action_sensitivity),
(ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
(ev_window_cmd_view_zoom_in), (ev_window_cmd_view_zoom_out),
(ev_window_cmd_view_normal_size):
Fix normal size zoom. Make zoom in/zoom out unsensitive when
they are behyond the limits. Tweak MAX_ZOOM to 6, sucks but
better than oom.
2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
* configure.ac:
Depend on 2.57, 2.59 doesnt seem to be necessary
2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
* shell/ev-page-action.c: (update_pages_label), (page_changed_cb),
(create_tool_item):
Put back total number of pages as (1 of 1234)
Thu Apr 21 23:37:52 2005 Jonathan Blandford <jrb@redhat.com>
* shell/ev-pixbuf-cache.c (dispose_cache_job_info): actually
remove the job.
* backend/ev-document.h: Remove EV_DOC_MUTEX in favor of a locking
function. This helps debugging.
2005-04-21 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
* djvu/djvu-document.c: (djvu_document_class_init),
(djvu_document_get_info), (djvu_document_document_iface_init):
* dvi/dvi-document.c: (dvi_document_class_init),
(dvi_document_get_info), (dvi_document_document_iface_init):
Dummy implementation of get_info method for dvi and djvu. Fix
crashes with those backends
2005-04-20 Marco Pesenti Gritti <mpg@redhat.com>
* data/evince.desktop.in:
Add application/x-gzpostscript
2005-04-20 Bryan Clark <clarkbw@cvs.gnome.org>
* data/evince.schemas.in: Added real long descriptions,
closes bug 172496
* README: Added actual text, closes bug 171869
2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
* thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
Thumbnail page 0
2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
* backend/ev-document-info.h:
s/GDate */GDate so we can just use g_free
2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
* shell/ev-window.c: (update_document_mode),
(ev_window_setup_document):
Show the window in fullscreen when specified by
the document
2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
* backend/ev-document.c: (ev_document_class_init),
(ev_document_get_info), (ev_document_render_pixbuf):
* backend/ev-document.h:
* backend/ev-page-cache.c: (_ev_page_cache_new):
* pdf/ev-poppler.cc:
* pixbuf/pixbuf-document.c: (pixbuf_document_class_init),
(pixbuf_document_get_info), (pixbuf_document_document_iface_init):
* ps/ps-document.c: (ps_document_class_init), (document_load),
(ps_document_get_info), (ps_document_document_iface_init):
Remove get_title from the interface, we can just use document info
2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
* backend/Makefile.am:
* backend/ev-document.c: (ev_document_render_get_info):
* backend/ev-document.h:
* pdf/ev-poppler.cc:
Initial support for document info. Based on jrb patch.
2005-04-19 Paolo Borelli <pborelli@katamail.com>
* shell/ev-window.c: (ev_window_state_event),
(ev_window_class_init), (ev_window_init):
Doesn't show resize grip when maximized. See bug #301053
2005-04-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
* po/POTFILES.in:
ev-sidebar-thumbnails now has translatable labels
* shell/Makefile.am:
* shell/ev-sidebar-links.c: (ev_sidebar_links_set_document),
(ev_sidebar_links_support_document), (ev_sidebar_links_get_label),
(ev_sidebar_links_page_iface_init):
* shell/ev-sidebar-links.h:
* shell/ev-sidebar-page.c: (ev_sidebar_page_get_type),
(ev_sidebar_page_support_document), (ev_sidebar_page_set_document),
(ev_sidebar_page_get_label):
* shell/ev-sidebar-page.h:
* shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_new),
(ev_sidebar_thumbnails_set_document),
(ev_sidebar_thumbnails_support_document),
(ev_sidebar_thumbnails_get_label),
(ev_sidebar_thumbnails_page_iface_init):
* shell/ev-sidebar-thumbnails.h:
* shell/ev-sidebar.c: (ev_sidebar_init), (ev_sidebar_add_page),
(ev_sidebar_set_document):
* shell/ev-sidebar.h:
* shell/ev-window.c: (ev_window_setup_document), (ev_window_init):
Small rework of sidebar code. Now sidebar pages should implement
EvSidebarPage interface. That makes page management in EvSidebar
easier. See bug #164811 for details
2005-04-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
* shell/ev-application.c: (ev_application_open):
* shell/ev-document-types.c:
Fix build error and small problem with application exit
2005-04-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
* thumbnailer/Makefile.am:
* thumbnailer/evince-thumbnailer-djvu.schemas:
* thumbnailer/evince-thumbnailer-dvi.schemas:
Conditionally install schemas for djvu/dvi thumbnailer
2005-04-18 David Malcolm <dmalcolm@redhat.com>
* shell/ev-document-types.h:
* shell/ev-document-types.c:
New files, handling the mapping from mimetypes to backends
* shell/ev-window.c:
* thumbnailer/evince-thumbnailer.c:
Use the ev-document-types code
* shell/Makefile.am:
Added new convenience library libevbackendfactory_la, containing
the new mimetype->backend logic; moved the backends into it.
* thumbnailer/Makefile.am:
Make the thumbnailer link with the libevbackend.la convenience
library, rather than having a duplicate of the backend logic here.
2005-04-18 Paolo Borelli <pborelli@katamail.com>
* shell/ev-stock-icons.c: constify some vars.
* shell/ev-window.c: ditto.
2005-04-18 Marco Pesenti Gritti <mpg@redhat.com>
* ps/ps-document.c (get_page_orientation):
Respect document orientation
2005-04-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
* djvu/Makefile.am:
* dvi/Makefile.am:
* shell/Makefile.am:
Move library dependencies to components.
* shell/ev-window.c: (update_window_title),
(start_loading_document):
Fix display of uris with spaces. Bug 168358.
Sat Apr 16 18:53:47 2005 Jonathan Blandford <jrb@redhat.com>
* shell/ev-sidebar-links.c: (selection_changed_cb):
* shell/ev-view.c: (ev_view_finalize), (go_to_link),
(ev_view_button_release_event), (ev_view_set_document):
* shell/ev-view.h:
* shell/ev-window.c: (find_bar_search_changed_cb):
* shell/ev-window.h: Minor cleanups removing some dead code.
2005-04-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
* backend/ev-page-cache.c: (_ev_page_cache_new):
Set current page to 0 if document has pages.
2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
* thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
Initialize GError to NULL, fix a crash when loading fails.
2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
* shell/ev-window.c: (update_view_size):
Calculate shadow size only when there is actually
a shadow.
2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
* shell/ev-view.c: (ev_view_set_spacing), (ev_view_init):
* shell/ev-view.h:
Allow setting view spacing, default to 0
* shell/ev-window.c: (ev_window_unfullscreen),
(ev_window_cmd_view_fullscreen), (ev_window_init):
Remove spacing in fullscreen mode
2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
* shell/ev-view.c: (compute_border), (compute_zoom_factor),
(ev_view_size_request), (expose_bin_window),
(ev_view_set_show_border), (ev_view_init), (page_changed_cb):
* shell/ev-view.h:
* shell/ev-window.c: (ev_window_unfullscreen),
(ev_window_cmd_view_fullscreen):
Do not draw the border in fulscreen
2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
* shell/ev-view.c: (ev_view_get_offsets), (compute_zoom_factor),
(ev_view_size_request), (expose_bin_window), (ev_view_select_all),
(find_page_at_location), (page_changed_cb):
Rework border calculation, so that I can more easily disable it.
Code somewhat cleaner too.
2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
* backend/ev-page-cache.c: (ev_page_cache_init),
(_ev_page_cache_new):
Remove some assertions, documents can have 0 pages.
Make initial current page -1.
* shell/ev-page-action.c: (page_changed_cb):
Show "" if current page is -1
* shell/ev-window.c: (update_action_sensitivity),
(ev_window_setup_document):
When document has 0 pages do not set the view
and make nearly everything insensitive.
2005-04-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
* shell/ev-page-view.c:
* shell/ev-page-view.h:
Remove unused files.
* shell/ev-sidebar-thumbnails.c:
(ev_sidebar_thumbnails_set_document):
* shell/ev-sidebar.c: (ev_sidebar_set_document),
(ev_sidebar_supports_document):
* shell/ev-sidebar.h:
* shell/ev-window.c: (ev_window_setup_document):
Doesn't show thumbnails if document has 1 page. Make
sidebar menu entries sensitive only if if they have
sense. Fix bug 164811.
2005-04-15 Marco Pesenti Gritti <mpg@redhat.com>
* shell/ev-view.c: (compute_zoom_factor), (ev_view_size_request),
(page_changed_cb), (ev_view_zoom), (ev_view_zoom_in),
(ev_view_zoom_out), (ev_view_set_size):
Rework sizing to deal with documents with not uniform page
size.
2005-04-15 Marco Pesenti Gritti <mpg@redhat.com>
* backend/ev-page-cache.c: (_ev_page_cache_new):
Fix several page size caching bugs
2005-04-15 Luca Ferretti <elle.uca@libero.it>
* shell/ev-window.c: (set_action_properties):
Make all toolbar items translatable
2005-04-15 Marco Pesenti Gritti <mpg@redhat.com>
* ps/ps-document.c: (ps_document_init), (ps_document_get_type),
(save_page_list), (ps_document_save),
(ps_document_document_iface_init), (ps_document_ps_export_begin),
(ps_document_ps_export_do_page), (ps_document_ps_export_end),
(ps_document_ps_exporter_iface_init):
* ps/ps-document.h:
Based on a patch by J�rg Billeter <j@bitron.ch>
Implement print and save a copy for the ps backend.
2005-04-14 Marco Pesenti Gritti <mpg@redhat.com>
* backend/ev-document.h:
* djvu/djvu-document.c: (djvu_document_can_get_text),
(djvu_document_document_iface_init):
* dvi/dvi-document.c: (dvi_document_can_get_text),
(dvi_document_document_iface_init):
* pdf/ev-poppler.cc:
* pixbuf/pixbuf-document.c: (pixbuf_document_can_get_text),
(pixbuf_document_document_iface_init):
* ps/ps-document.c: (ps_document_can_get_text),
(ps_document_document_iface_init):
* shell/ev-view.c: (ev_view_copy), (ev_view_primary_get_cb):
* shell/ev-window.c: (update_action_sensitivity):
Fix the crash when trying to copy in backends that doesnt
support it. We can implement a better solution once we
do real text selection.
2005-04-12 Marco Pesenti Gritti <mpg@redhat.com>
* data/evince-ui.xml:
* shell/ev-window.c: (ev_window_cmd_escape):
Work around the Escape conflict (find bar and unfullscreen)
2005-04-12 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
* backend/ev-page-cache.c: (ev_page_cache_next_page):
Fix for #300233. Next page correctly handles document end.
* shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_dispose),
(ev_sidebar_thumbnails_class_init),
(ev_sidebar_thumbnails_set_document),
(ev_sidebar_thumbnails_clear_job),
(ev_sidebar_thumbnails_clear_model):
Cleanup thumbnail jobs on document changes.
* shell/ev-view.c: (add_scroll_binding_keypad),
(add_scroll_binding_shifted), (ev_view_class_init):
Shift + Space scrolls up. Fix for #173184
* shell/ev-window.c: (ev_window_open_page),
(ev_window_cmd_view_reload):
Fix reload (Bug #300094)
2005-04-09 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
* dvi/mdvi-lib/assoc.c:
* dvi/mdvi-lib/assoc.h: Removed garbage files
* dvi/mdvi-lib/bitmap.c:
* dvi/mdvi-lib/color.c: (mdvi_set_color), (mdvi_push_color),
(mdvi_pop_color), (mdvi_reset_color), (get_color_table):
* dvi/mdvi-lib/color.h: Antialias of rules
* dvi/mdvi-lib/common.h:
* dvi/mdvi-lib/dviread.c: (mdvi_configure), (mdvi_init_context),
(mdvi_destroy_context), (draw_shrink_rule), (draw_box), (set_rule):
* dvi/mdvi-lib/files.c:
* dvi/mdvi-lib/fontmap.c: (ps_init_default_paths):
* dvi/mdvi-lib/mdvi.h:
* dvi/mdvi-lib/sp-epsf.c: (epsf_special):
* dvi/mdvi-lib/tfmfile.c: (ofm_load_file):
* dvi/mdvi-lib/util.c: Fix compile warnings
* dvi/dvi-document.c:
(dvi_document_load), (dvi_document_thumbnails_get_dimensions),
(dvi_document_thumbnails_get_thumbnail),
(dvi_document_document_thumbnails_iface_init):
* dvi/mdvi-lib/Makefile.am:
* dvi/pixbuf-device.c: (dvi_pixbuf_draw_rule),
(dvi_pixbuf_set_color), (mdvi_pixbuf_device_render):
Dvi backend now renders thumbnails
2005-04-09 Christian Persch <chpe@cvs.gnome.org>
* shell/main.c: (main):
Save accelerators on exit. Fixes bug #172095.
Sat Apr 9 01:05:09 2005 Jonathan Blandford <jrb@redhat.com>
* shell/ev-pixbuf-cache.c (move_one_job): Actually fix the "FIXME:
update priority" comment.
* backend/ev-job-queue.c: Give a way to change priority.
Sat Apr 9 00:05:36 2005 Jonathan Blandford <jrb@redhat.com>
* shell/ev-page-action.c: Fix logic.
2005-04-08 Marco Pesenti Gritti <mpg@redhat.com>
* shell/ev-view.c: (ev_view_can_find_next):
* shell/ev-window.c: (ev_window_setup_document):
Check that the document supports find
2005-04-08 Marco Pesenti Gritti <mpg@redhat.com>
* data/evince-ui.xml:
* shell/ev-view.c: (ev_view_can_find_next):
* shell/ev-view.h:
* shell/ev-window.c: (update_action_sensitivity),
(find_changed_cb), (ev_window_setup_document),
(ev_window_cmd_edit_find_next):
Add Edit->Find Next
2005-04-08 Marco Pesenti Gritti <mpg@redhat.com>
* pdf/ev-poppler.cc:
* shell/ev-print-job.c: (idle_print_handler):
Make printing work again
Fri Apr 8 01:12:24 2005 Jonathan Blandford <jrb@redhat.com>
* shell/ev-page-action.h:
* shell/ev-page-action.c: (ev_page_action_widget_init),
(ev_page_action_widget_class_init), (page_changed_cb),
(create_tool_item), (update_page_cache), (build_new_tree_cb),
(get_filter_model_from_model), (match_selected_cb),
(display_completion_text), (match_completion), (update_model),
(connect_proxy), (ev_page_action_set_property),
(ev_page_action_get_property), (ev_page_action_set_document),
(ev_page_action_set_model), (ev_page_action_class_init): Big
reworking to make completions work iff we have >= GTK-2.7.0
* shell/ev-sidebar-links.c: (ev_sidebar_links_set_property),
(ev_sidebar_links_get_property), (ev_sidebar_links_class_init),
(job_finished_cb): We now have a 'model' property that is set when
the links are loaded. This can be caught with "notify::model"
* shell/ev-window.c: (sidebar_widget_model_set), (ev_window_init):
listen for the model to be set, and propagate it to the action.
2005-04-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
* cut-n-paste/recent-files/egg-recent-item.c:
(egg_recent_item_set_uri), (make_valid_utf8),
(egg_recent_item_set_mime_type), (egg_recent_item_get_mime_type):
* cut-n-paste/recent-files/egg-recent-item.h:
Update egg-recent from libegg. This should fix long
startup problem. For details see
http://bugzilla.gnome.org/show_bug.cgi?id=160531
2005-04-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
* cut-n-paste/recent-files/Makefile.am:
* data/evince-ui.xml, shell/Makefile.am:
* shell/ev-application.c, shell/ev-application.h:
* shell/ev-window.c: Recent files support.
* configure.ac: Added "ru" to ALL_LINGUAS.
* dvju: new backend to support DJVU files.
* dvi: new backend to support DVI.
* configure.ac, Makefile.am, shell/Makefile.am, ev-window.c:
* ev-application.c: Support for new backends.
* help, ev-window.c, main.c shell/Makefile.am:
Evince user documentation.
2005-04-06 Marco Pesenti Gritti <mpg@redhat.com>
* po/POTFILES.in:
* shell/ev-window.c:
* thumbnailer/evince-thumbnailer.c:
s/pdf-document/ev-poppler
2005-04-06 Marco Pesenti Gritti <mpg@redhat.com>
* NEWS:
* configure.ac:
Release 0.2.0
* ps/ps-document.c: (setup_pixmap):
Remove debug code
2005-04-05 Kristian Høgsberg <krh@redhat.com>
* backend/ev-page-cache.c (ev_page_cache_next_page):
* shell/ev-window.c (ev_window_cmd_go_next_page)
(ev_window_cmd_go_first_page): Fix of by one errors.
2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
* ps/ps-document.c: (get_page_box):
Fix page size calculation
2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
* ps/ps-document.c: (ps_document_init), (push_pixbuf),
(ps_document_cleanup), (setup_pixmap), (get_page_box),
(get_page_orientation), (setup_page), (document_load),
(ps_document_get_page_size), (render_pixbuf_idle):
* ps/ps-document.h:
More refactoring to adapt to EvDocument changes
2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
* ps/ps-document.c: (start_interpreter):
Actually add alpha args
2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
* pdf/ev-poppler.cc:
Make clipboard work again
2005-04-04 Kristian Høgsberg <krh@redhat.com>
Make searching work again.
* backend/ev-document.c:
* backend/ev-document.h:
* backend/ev-document-find.c:
* backend/ev-document-find.h: Change EvDocumentIface so we no
longer store the current page or zoom level in the document. The
consequence is that all calls that operate on the current page now
instead take the page number as an extra argument, and all
coordinates are now doubles in document coordinate system.
* pdf/ev-poppler.cc:
* pixbuf/pixbuf-document.c:
* ps/ps-document.c: Update backends accordingly.
2005-04-04 Marco Pesenti Gritti <marco@gnome.org>
* autogen.sh:
Add required gettext version
Sat Apr 2 18:57:00 2005 Jonathan Blandford <jrb@redhat.com>
* shell/evwindow.c: Patch from Alberto Mesas <amesas@gmail.com> to
make F1 bring up non-existent help.
* shell/eggfindbar.c: Patch from Christian Persch to sync to
epiphany's find bar, #167477
* shell/ev-view.c (ev_view_jump): Patch from Emil Soleyman-Zomalan
<emil@nishra.com> to add space-bar scrolling,
* shell/ev-window.c (static GtkActionEntry entries): add default
keybinding for Help (F1)
Fixes #171068
* shell/ev-view.c (ev_view_show_cursor): Fix from Yuval Tanny
changing EV_VIEW_CURSOR_LINK to EV_VIEW_CURSOR_NORMAL resolves bug
170110
2005-04-01 David Malcolm <dmalcolm@redhat.com>
* Makefile.am:
* pixbuf/pixbuf-document.c:
Got pixbuf backend working again
2005-04-01 Steve Murphy <murf@e-tools.com>
* configure.in: Added "rw" to ALL_LINGUAS.
Fri Apr 1 02:33:41 2005 Jonathan Blandford <jrb@redhat.com>
* shell/ev-sidebar-links.c (create_loading_model): Fix mismatch in
model types, noticed by Martin Kretzschmar.
2005-04-01 Kristian Høgsberg <krh@redhat.com>
* pdf/ev-poppler.cc: Implement search based on
poppler_page_find_text(). Currently a bit crude since we remember
all matches from all pages. Also, we grab the big document lock
when we search since searching changes the underlying stream and
thus conflicts with the rendering thread.
* shell/ev-view.c: (draw_rubberband), (highlight_find_results),
(jump_to_find_page), (ev_view_set_document), (ev_view_find_next),
(ev_view_find_previous): Fix some page indexes to be 0 based,
offset rubber band by view offset,
Fri Apr 01 09:21:12 2005 Pablo Saratxaga <pablo@mandrakesoft.com>
* configure.ac: Added Walloon (wa) to ALL_LINGUAS.
Fri Apr 1 01:59:39 2005 Jonathan Blandford <jrb@redhat.com>
* shell/ev-page-action.c: Changed to use page labels now. Rewrote
completely because I didn't understand GtkActions. I should
read Marco's code more carefully in the future.
* backend/ev-page-cache.h (ev_page_cache_set_page_label): New
function
2005-03-31 Kristian Høgsberg <krh@redhat.com>
* pdf/ev-poppler.cc (pdf_document_get_links): Update to work with
PopplerRectangle change from poppler CVS.
Thu Mar 31 13:27:50 2005 Jonathan Blandford <jrb@redhat.com>
* backend/ev-document.c: (ev_document_get_page_label):
* backend/ev-document.h:
* backend/ev-page-cache.c: (_ev_page_cache_new),
(ev_page_cache_get_page_label):
* backend/ev-page-cache.h:
* pdf/ev-poppler.cc:
* shell/ev-sidebar-links.c: (ev_sidebar_links_construct),
(links_page_num_func):
* shell/ev-sidebar-thumbnails.c:
(ev_sidebar_thumbnails_set_document):
* shell/ev-view.c: (status_message_from_link),
(ev_view_motion_notify_event):
* shell/ev-window.c: (document_supports_sidebar): Add in page
label support. It's not perfect yet, but it's the first 'feature'
in a while.
Also, fix a bogus comment noticed by crispin.
Thu Mar 31 01:21:58 2005 Jonathan Blandford <jrb@redhat.com>
* Makefile.am: Remove pixbuf backend for now
* configure.ac: Require poppler-glib instead of just poppler.
* backend/ev-document-thumbnails.h: Add a comment
* backend/ev-document.h:
* backend/ev-document.c: (ev_document_class_init),
(ev_document_load), (ev_document_get_link),
(ev_document_get_links): Remove 3 methods and add get_links.
Also, made 0 based.
* backend/ev-jobs.c: (ev_job_render_new), (ev_job_render_run):
* backend/ev-jobs.h: now EvJobRender can grab the links for a document.
* backend/ev-link.c: (ev_link_set_title),
(ev_link_mapping_free_foreach), (ev_link_mapping_free),
(ev_link_mapping_find):
* backend/ev-link.h: Allow NULL titles. Also, introduce a mapping link.
* backend/ev-page-cache.c: (ev_page_cache_init),
(_ev_page_cache_new), (ev_page_cache_set_current_page),
(ev_page_cache_get_size), (ev_page_cache_next_page),
(ev_page_cache_prev_page): Fix to be 0 based.
* pdf/Makefile.am:
* pdf/ev-poppler.h:
* pdf/ev-poppler.cc: New backend.
* ps/ps-document.c: (ps_document_init), (ps_document_set_page),
(ps_document_get_page), (ps_document_document_iface_init):
* shell/ev-pixbuf-cache.h:
* shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init),
(dispose_cache_job_info), (job_finished_cb), (move_one_job),
(ev_pixbuf_cache_update_range), (copy_job_to_job_info),
(add_job_if_needed), (ev_pixbuf_cache_set_page_range),
(ev_pixbuf_cache_get_pixbuf), (ev_pixbuf_cache_get_link_mapping):
Fix up code to grab a page cache per each doc. Also, fix to be 0
based.
* shell/ev-sidebar-thumbnails.c:
(ev_sidebar_tree_selection_changed), (page_changed_cb),
(ev_sidebar_thumbnails_set_document): Fix to be 0 based.
* shell/ev-view.c: (status_message_from_link),
(find_page_at_location), (get_link_at_location),
(ev_view_motion_notify_event), (ev_view_button_release_event),
(ev_view_init): Use the new link code. Fix to be 0 based.
* shell/ev-window.c: (update_action_sensitivity),
(document_supports_sidebar): 0 based.
Fri Mar 25 16:55:58 2005 Jonathan Blandford <jrb@redhat.com>
* pdf/pdf-document.cc: Patch from Fernando Herrera
<fherrera@onirica.com> to fix my quick fix to get_thumbnail.
*blush*
Wed Mar 23 23:49:41 2005 Jonathan Blandford <jrb@redhat.com>
* pdf/pdf-document.cc (pdf_document_thumbnails_get_thumbnail): add
1 to the page, as this seems to be 1 based. I thought we has this
fixed. grump.
2005-03-23 Marco Pesenti Gritti <marco@gnome.org>
* TODO:
* backend/Makefile.am:
* backend/ev-document-links.c:
(ev_document_links_has_document_links),
(ev_document_links_get_links_model):
* backend/ev-document-links.h:
* backend/ev-document.c: (ev_document_get_page_cache),
(ev_document_get_doc_mutex), (ev_document_load),
(ev_document_save), (ev_document_get_title),
(ev_document_get_n_pages), (ev_document_set_page),
(ev_document_get_page), (ev_document_set_target),
(ev_document_set_scale), (ev_document_set_page_offset),
(ev_document_get_page_size), (ev_document_get_text),
(ev_document_get_link), (ev_document_render),
(ev_document_render_pixbuf), (ev_document_scale_changed):
* backend/ev-document.h:
* backend/ev-job-queue.c: (remove_object_from_queue),
(notify_finished), (handle_job), (search_for_jobs_unlocked),
(no_jobs_available_unlocked), (ev_render_thread),
(ev_job_queue_init), (find_queue), (ev_job_queue_add_job),
(ev_job_queue_remove_job):
* backend/ev-job-queue.h:
* backend/ev-jobs.c: (ev_job_init), (ev_job_dispose),
(ev_job_class_init), (ev_job_links_init), (ev_job_links_dispose),
(ev_job_links_class_init), (ev_job_render_init),
(ev_job_render_dispose), (ev_job_render_class_init),
(ev_job_thumbnail_init), (ev_job_thumbnail_dispose),
(ev_job_thumbnail_class_init), (ev_job_finished),
(ev_job_links_new), (ev_job_links_run), (ev_job_render_new),
(ev_job_render_run), (ev_job_thumbnail_new),
(ev_job_thumbnail_run):
* backend/ev-jobs.h:
* backend/ev-link.c:
* backend/ev-link.h:
* backend/ev-page-cache.c: (ev_page_cache_init),
(ev_page_cache_class_init), (ev_page_cache_finalize),
(_ev_page_cache_new), (ev_page_cache_get_n_pages),
(ev_page_cache_get_current_page), (ev_page_cache_set_current_page),
(ev_page_cache_set_link), (ev_page_cache_get_title),
(ev_page_cache_get_size), (ev_page_cache_next_page),
(ev_page_cache_prev_page):
* backend/ev-page-cache.h:
* pdf/pdf-document.cc:
* ps/gsdefaults.c:
* ps/gsdefaults.h:
* ps/ps-document.c: (ps_document_init), (ps_document_class_init),
(push_pixbuf), (interpreter_failed), (ps_document_cleanup),
(ps_document_widget_event), (ps_document_finalize), (get_xdpi),
(get_ydpi), (setup_pixmap), (setup_page), (close_pipe),
(is_interpreter_ready), (output), (catchPipe), (input),
(start_interpreter), (check_filecompressed), (compute_dimensions),
(ps_document_enable_interpreter), (document_load),
(ps_document_next_page), (render_page), (ps_document_set_page),
(ps_document_set_scale), (render_pixbuf_idle),
(ps_document_render_pixbuf), (ps_document_document_iface_init):
* ps/ps-document.h:
* shell/Makefile.am:
* shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init),
(ev_pixbuf_cache_class_init), (ev_pixbuf_cache_finalize),
(dispose_cache_job_info), (ev_pixbuf_cache_dispose),
(ev_pixbuf_cache_new), (job_finished_cb),
(check_job_size_and_unref), (move_one_job),
(ev_pixbuf_cache_update_range), (find_job_cache),
(ev_pixbuf_cache_clear_job_sizes), (add_job_if_needed),
(ev_pixbuf_cache_add_jobs_if_needed),
(ev_pixbuf_cache_set_page_range), (ev_pixbuf_cache_get_pixbuf):
* shell/ev-pixbuf-cache.h:
* shell/ev-print-job.c: (ev_print_job_use_print_dialog_settings),
(idle_print_handler):
* shell/ev-sidebar-links.c: (ev_sidebar_links_destroy),
(selection_changed_cb), (create_loading_model),
(ev_sidebar_links_construct), (links_page_num_func),
(ev_sidebar_links_clear_document), (update_page_callback_foreach),
(update_page_callback), (job_finished_cb),
(ev_sidebar_links_set_document):
* shell/ev-sidebar-thumbnails.c:
(ev_sidebar_thumbnails_class_init), (adjustment_changed_cb),
(ev_sidebar_tree_selection_changed), (ev_sidebar_thumbnails_init),
(page_changed_cb), (thumbnail_job_completed_callback),
(ev_sidebar_thumbnails_set_document):
* shell/ev-sidebar-thumbnails.h:
* shell/ev-sidebar.c: (ev_sidebar_set_document):
* shell/ev-view.c: (ev_view_finalize), (ev_view_destroy),
(ev_view_get_offsets), (ev_view_size_request), (ev_view_realize),
(ev_view_unrealize), (highlight_find_results), (expose_bin_window),
(ev_view_select_all), (ev_view_copy), (ev_view_primary_get_cb),
(ev_view_create_invisible_cursor), (ev_view_motion_notify_event),
(ev_view_button_release_event), (ev_view_scroll_view),
(ev_view_class_init), (ev_view_init), (update_find_status_message),
(jump_to_find_result), (jump_to_find_page), (find_changed_cb),
(ev_view_new), (job_finished_cb), (page_changed_cb),
(ev_view_set_document), (go_to_link), (ev_view_zoom),
(size_to_zoom_factor), (ev_view_set_size), (ev_view_find_next),
(ev_view_find_previous):
* shell/ev-view.h:
* shell/ev-window.c: (update_action_sensitivity),
(ev_window_open_page), (update_window_title), (update_total_pages),
(page_changed_cb), (ev_window_setup_document),
(password_dialog_response), (ev_window_cmd_save_as),
(ev_window_print), (ev_window_cmd_go_previous_page),
(ev_window_cmd_go_next_page), (ev_window_cmd_go_first_page),
(ev_window_cmd_go_last_page), (ev_window_cmd_view_reload),
(find_bar_search_changed_cb), (goto_page_cb), (ev_window_init):
* shell/main.c: (main):
Merge evince-threads branch
2005-03-16 Žygimantas Beručka <uid0@akl.lt>
* configure.ac: Added "lt" to ALL_LINGUAS.
2005-03-14 Marco Pesenti Gritti <marco@gnome.org>
* NEWS:
* configure.ac:
Release 0.1.9
2005-03-13 Fernando Herrera <fherrera@onirica.com>
* thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
Fix here also the thumbnails 1-basedness :)
2005-03-12 Marco Pesenti Gritti <marco@gnome.org>
* NEWS:
* configure.ac:
Release 0.1.8
2005-03-12 Marco Pesenti Gritti <marco@gnome.org>
* pdf/pdf-document.cc:
* shell/ev-sidebar-thumbnails.c: (adjustment_changed_cb),
(do_one_iteration), (ev_sidebar_thumbnails_set_document):
Fix the mess we did with thumbnails and 1-basedness
2005-03-12 Changwoo Ryu <cwryu@debian.org>
* configure.ac (ALL_LINGUAS): Added "ko" (Korean).
2005-03-09 Marco Pesenti Gritti <marco@gnome.org>
* NEWS:
* configure.ac:
Release 0.1.7
2005-03-08 Marco Pesenti Gritti <marco@gnome.org>
* ps/Makefile.am:
* ps/gsdefaults.c: (gtk_gs_defaults_get_interpreter_cmd),
(gtk_gs_defaults_get_alpha_parameters),
(gtk_gs_defaults_get_ungzip_cmd),
(gtk_gs_defaults_get_unbzip2_cmd):
* ps/gsdefaults.h:
* ps/ps-document.c: (ps_document_init), (ps_document_class_init),
(ps_document_get_orientation), (document_load),
(ps_document_goto_page), (ps_document_set_page_size):
* ps/ps-document.h:
Some more sanitization of the ps backend. Remove a lot
of unused code and do not base our defaults on ggv
preferences (ugh!)
2005-03-08 Fernando Herrera <fherrera@onirica.com>
* thumbnailer/evince-thumbnailer.schemas:
* thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get),
(main): add -s option for thumbnail size.
2005-03-07 Christian Persch <chpe@cvs.gnome.org>
* configure.ac:
AC_PROG_RANLIB is rendered obsolete by AC_PROG_LIBTOOL;
remove it.
2005-03-07 Marco Pesenti Gritti <marco@gnome.org>
* pdf/pdf-document.cc:
Remove 4 pixels of useless border from the
thumbnail.
2005-03-07 Marco Pesenti Gritti <marco@gnome.org>
* backend/ev-document-thumbnails.c:
(ev_document_thumbnails_get_thumbnail):
* backend/ev-document-thumbnails.h:
Rework API a bit. Add a border flag and
change sizing logic (now the size we specify
applies to the bigger dimension).
* pdf/pdf-document.cc:
* pixbuf/pixbuf-document.c:
(pixbuf_document_thumbnails_get_thumbnail):
* shell/ev-sidebar-thumbnails.c: (do_one_iteration):
* thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
Adapt to the new API and do not draw a border for nautilus
thumbnailer.
2005-03-03 Fernando Herrera <fherrera@onirica.com>
* thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
take thumbnails from page "0" instead of "1". Added a copyright header.
2005-03-03 Jens Granseuer <jensgr@gmx.net>
* ps/ps-document.c: (set_up_page), (start_interpreter):
Make it C89 compliant
2005-03-03 Marco Pesenti Gritti <marco@gnome.org>
* Makefile.am:
* configure.ac:
* pdf/.cvsignore:
* pdf/pdf-document.cc:
* thumbnailer/Makefile.am:
* thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get),
(main):
* thumbnailer/evince-thumbnailer.schemas:
* thumbnailer/pdf-icon.png:
Add a nautilus thumbnailer.
Based on patch by Fernando Herrera <fherrera@onirica.com>.
2005-03-02 Marco Pesenti Gritti <marco@gnome.org>
* NEWS:
* configure.ac:
* po/POTFILES.in:
Release 0.1.6
2005-03-01 Kristian Høgsberg <krh@redhat.com>
Use poppler instead of including xpdf source code. Poppler is a
fork of xpdf to build it as a shared library. See
http://freedesktop.org/wiki/Software/poppler.
* pdf/xpdf/*, pdf/goo/*, pdf/splash/*, pdf/fofi/*: Remove included
xpdf fork.
* pdf/Makefile.am: Build libpdfdocument.a here.
* pdf/GDKSplashOutputDev.cc:
* pdf/GDKSplashOutputDev.h:
* pdf/GnomeVFSStream.cc:
* pdf/GnomeVFSStream.h:
* pdf-document.cc:
* pdf-document.h:
* test-gdk-output-dev.cc
* Thumb.cc:
* Thumb.h: Pull these files out of pdf/xpdf and adjust to compile
against poppler.
2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
* shell/ev-sidebar-links.c: (ev_sidebar_links_clear_document):
Clear idle stack before unsetting the document
2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
* ps/ps-document.c: (ps_document_widget_event),
(ps_document_set_target), (ps_document_finalize),
(ps_document_get_page):
Disconnect the widget event signal on finalize.
Some code cleanups.
2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
* ps/ps-document.c: (set_up_page):
If there is no bpixmap create one, even if size
is not changed.
2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
* ps/ps-document.c: (ps_document_init), (ps_document_cleanup),
(set_up_page), (document_load), (ps_document_set_zoom):
Default page is 0. Calculate size even when we have no
target yet.
2005-02-28 Carlos Garcia Campos <carlosgc@gnome.org>
* shell/ev-sidebar.c: expand the selection widget to be always as
wide as the sidebar
2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
* shell/ev-sidebar-thumbnails.c:
(ev_sidebar_thumbnails_set_document):
Clear the list store when setting document
2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
* shell/ev-page-action.c: (update_entry), (sync_entry),
(activate_cb), (entry_size_request_cb), (create_tool_item),
(connect_proxy):
Use an entry for the page control instead of spinbuttons
2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
* data/evince.schemas.in:
Correct confusing string
Sun Feb 27 23:00:31 2005 Jonathan Blandford <jrb@redhat.com>
* shell/ev-sidebar-links.c (do_one_iteration): Handle title links
for real. Gosh, how long has this been broken.
* pdf/xpdf/pdf-document.cc (build_link_from_action): add back the
check for a NULL link. We crash otherwise.
2005-02-27 Marco Pesenti Gritti <marco@gnome.org>
* NEWS:
* configure.ac:
Release 0.1.5
2005-02-25 Sebastien Bacher <seb128@debian.org>
* configure.ac: add the french translation.
2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
* shell/ev-window.c:
Remove unused header -> fix distcheck
2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
* shell/ev-window.c: (update_window_title),
(ev_window_popup_password_dialog):
Unescape filename for display
2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
* pdf/xpdf/pdf-document.cc:
In get_page_size deal with rotation. Also
cleanup the function a bit.
2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
* pdf/xpdf/pdf-document.cc:
Fix crash when opening in new window
2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
* configure.ac:
Check ghostscript >= 7
2005-02-25 Pedro Villavicencio <pvillavi@gnome.cl>
* shell/ev-window.c:
Make page width the default sizing mode
2005-02-25 Carlos Garcia Campos <carlosgc@gnome.org>
Marco Pesenti Gritti <marco@gnome.org>
* shell/ev-window.c: Remember the sidebar size
* data/evince.schemas.in: Add a new gconf key to store the size of
the sidebar
2005-02-24 Kai Willadsen <kaiw@itee.uq.edu.au>
* data/evince-ui.xml:
* shell/ev-window.c: (update_action_sensitivity),
(ev_window_cmd_view_reload):
Add a "Reload" action and menu entry
Thu Feb 24 23:07:33 2005 Jonathan Blandford <jrb@redhat.com>
* shell/ev-window.c (hide_sidebar_and_actions): Hide the sidebar
iff the type doesn't support thumbnailing and indexing.
2005-02-24 Martin Kretzschmar <martink@gnome.org>
* configure.ac (ALL_LINGUAS): Added "zh_TW" (Traditional Chinese).
2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
* pdf/splash/Splash.cc:
Port fix for a crasher from kde bug
http://bugs.kde.org/show_bug.cgi?id=97131
2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
* pdf/xpdf/pdf-document.cc:
Return a link even if it's of an unrecognized
type. Otherwise we go in an infinte cycle.
2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
* shell/ev-window.c: (update_sizing_buttons), (update_view_size),
(size_allocate_cb), (ev_window_set_sizing_mode):
Update size when switching mode
2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
* shell/ev-window.c: (ev_window_cmd_view_best_fit),
(ev_window_cmd_view_page_width), (update_sizing_buttons),
(ev_window_cmd_view_normal_size):
Fix size toggle buttons behavior
2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
* shell/ev-view.c: (ev_view_get_offsets), (view_rect_to_doc_rect),
(doc_rect_to_view_rect), (ev_view_size_allocate),
(expose_bin_window), (ev_view_select_all), (page_changed_callback),
(scale_changed_callback):
Do not cache offsets in size_allocate.
2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
* shell/ev-view.c: (ev_view_size_allocate):
Calculate offsets before calling the parent
class (which does a redraw)
2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
* pdf/xpdf/pdf-document.cc:
Fix a crasher on exit. Unused code, put a TODO
2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
* backend/ev-document.c: (ev_document_class_init),
(ev_document_page_changed), (ev_document_scale_changed):
* backend/ev-document.h:
Separate page/scale notifications
* pdf/xpdf/pdf-document.cc:
Emit the new signals.
Do not display the pdf page in _render, do it
when scale/page are requested.
* ps/ps-document.c: (ps_document_set_zoom),
(ps_document_widget_event):
* ps/ps-document.h:
Emit the new signals.
* shell/ev-view.c: (ev_view_size_request), (expose_bin_window),
(ev_view_init), (page_changed_callback), (scale_changed_callback),
(ev_view_set_document), (ev_view_zoom), (ev_view_zoom_in),
(ev_view_zoom_out), (size_to_zoom_factor), (ev_view_set_size):
* shell/ev-view.h:
* shell/ev-window.c: (ev_window_cmd_view_normal_size),
(ev_window_cmd_view_page_width), (size_allocate_cb),
(ev_window_set_sizing_mode):
Rework sizing to be pixel based.
There are bugs but should be already way better.
2005-02-23 Marco Pesenti Gritti <marco@gnome.org>
* shell/ev-window.c: (ev_window_init):
Do not allow to shrink sidebar smaller then
child requisition
2005-02-23 Carlos Garcia Campos <carlosgc@gnome.org>
* shell/ev-sidebar.[ch]
* shell/ev-window.c:
Improved sidebar widget. Fixes #166683
2005-02-23 Tommi Vainikainen <thv@iki.fi>
* shell/ev-view.c (update_find_status_message): Give translators
more flexibility with ngettext plural handling.
Mon Feb 21 17:52:08 2005 Jonathan Blandford <jrb@redhat.com>
* pdf/xpdf/pdf-document.cc (pdf_document_get_page_size): Patch
from Crispin Flowerday <gnome@flowerday.cx> to avoid rendering the
page when we get the page size.
2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
* ps/ps-document.c: (ps_document_set_page), (ps_document_get_page):
ps pages are 0 based, convert
2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
* ps/ps-document.c: (ps_document_class_init), (ps_document_load):
Initialize correct parent class. Set GError on document load
2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
* pdf/xpdf/pdf-document.cc:
Fixup selection offset calculation
* shell/ev-view.c: (view_rect_to_doc_rect),
(doc_rect_to_view_rect), (ev_view_size_allocate),
(expose_bin_window), (ev_view_select_all), (ev_view_copy),
(ev_view_primary_get_cb), (ev_view_motion_notify_event):
Store selection as document relative, so that zooming
and offset changing doesnt break it.
2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
* shell/ev-view.c: (ev_view_best_fit):
Do not try to best fit if the view is not realized
2005-02-20 Kostas Papadimas <pkst@gnome.org>
* configure.ac (ALL_LINGUAS): Added "el" (Greek).
Fri Feb 18 16:06:39 2005 Jonathan Blandford <jrb@redhat.com>
* shell/ev-window.c (ev_window_focus_in_event): missed a case.
Fri Feb 18 15:32:57 2005 Jonathan Blandford <jrb@redhat.com>
* shell/ev-window.c: Change the fullscreen toolbar to always be in
the popup window. That prevents it resizing when in full screen
mode.
* shell/ev-view.c: Change Zoom epsilon as a bad hack to avoid
multiple rerenders. This pretty much sucks.
* data/evince-ui.xml: Change the fullscreen toolbar to include the
rest of the toolbar.
2005-02-18 Tommi Vainikainen <thv@iki.fi>
* configure.ac (ALL_LINGUAS): Added "fi" (Finnish).
2005-02-17 Alexander Shopov <ash@contact.bg>
* configure.in (ALL_LINGUAS): Added "bg" (Bulgarian)
2005-02-16 Bryan Clark <clarkbw@cvs.gnome.org>
* shell/ev-window.c: added ellipsis to Print item. Fixes bug 166915
2005-02-16 Marco Pesenti Gritti <marco@gnome.org>
* shell/ev-view.c: (ev_view_realize), (highlight_find_results),
(ev_view_create_invisible_cursor), (ev_view_set_cursor),
(set_document_page), (document_changed_callback),
(ev_view_set_document), (ev_view_find_previous),
(ev_view_hide_cursor), (ev_view_show_cursor):
* shell/ev-view.h:
* shell/ev-window.c: (update_chrome_visibility),
(fullscreen_timeout_cb), (fullscreen_set_timeout),
(fullscreen_clear_timeout), (fullscreen_motion_notify_cb),
(fullscreen_leave_notify_cb), (ev_window_fullscreen),
(ev_window_unfullscreen):
* shell/main.c: (main):
Automatically hide the fullscreen button.
Patch by Kristian Høgsberg <krh@redhat.com>
2005-02-16 Vincent Noel <vnoel@cox.net>
* shell/main.c (main): Specify an icon for the window. Patch by
Jaap A. Haitsma. Fixes #166177.
Wed Feb 16 06:30:13 2005 Jonathan Blandford <jrb@redhat.com>
* shell/ev-view.c (ev_view_realize): get rid of the black flash.
Tue Feb 15 22:27:13 2005 Jonathan Blandford <jrb@redhat.com>
* backend/ev-document-misc.h:
* backend/ev-document-misc.c:
(ev_document_misc_get_page_border_size),
(ev_document_misc_paint_one_page): New function to canonicalize
sizing/painting a border.
* shell/Makefile.am: Remove ev-page-view.c entirely as it's not
used.
* pdf/xpdf/pdf-document.cc: use new function
* shell/ev-view.c: (ev_view_size_request), (expose_bin_window),
(ev_view_init), (ev_view_set_mode), (ev_view_zoom),
(ev_view_best_fit), (ev_view_fit_width): * shell/ev-view.h: *
shell/ev-window.c: (update_sizing_buttons),
(ev_window_setup_document), (ev_window_cmd_view_zoom_in),
(ev_window_cmd_view_zoom_out), (ev_window_cmd_view_best_fit),
(ev_window_cmd_view_page_width), (size_allocate_cb),
(ev_window_set_sizing_mode), (ev_window_init): make the "best fit"
and "fit width" values act as toggle buttons so they stay
toggled. It's not 100% perfect, and it's a little slow, but it's
good enough to commit I think.
2005-02-15 David Lodge <dave@cirt.net>
* configure.ac (ALL_LINGUAS): Added "en_GB" (English (British)).
2005-02-15 Martin Kretzschmar <martink@gnome.org>
* shell/ev-window.c (update_window_title): replace newlines in
the title by spaces. Bug #166107.
2005-02-14 Martin Kretzschmar <martink@gnome.org>
* shell/ev-view.c (ev_view_best_fit, ev_view_fit_width): add
parameters providing allocation width and height without
scrollbars and width of a possible vertical scrollbar. With this
additional information the functions can work as
intended. Unfortunately they're not idempotent. We should
transform these commands to toggles. Fixes Bug #164976
Initial patch by Stephane Loeuillet, then heavily modified.
* shell/ev-view.h: update prototypes.
* shell/ev-window.c (ev_window_cmd_view_best_fit)
(ev_window_cmd_view_page_width): provide EvView fit functions with
all the information they need. Formulas to calculate this
information taken from GtkScrolledWindow.
2005-02-14 Crispin Flowerday <gnome@flowerday.cx>
* shell/ev-sidebar-thumbnails.c: Ensure that after we have
created a thumbnail, the list store is updated to know
that the thumbnail is set. Fixes bug #166792
2005-02-11 Bryan Clark <clarkbw@cvs.gnome.org>
* shell/ev-window.c: fixed typo, closes bug 166897
* TODO: updated TODO with bug numbers that are relevant
2005-02-09 Carlos Garcia Campos <carlosgc@gnome.org>
* shell/ev-window.c: Support for DnD of files. Fixes #164813
2005-02-09 Vincent Noel <vnoel@cox.net>
* shell/ev-window.c: (set_action_properties): Set the "Previous"
and "Next" toolbar buttons as important to make them stand out.
2005-02-09 Marco Pesenti Gritti <marco@gnome.org>
* lib/ev-debug.c:
* lib/ev-debug.h:
* ps/ps-document.c: (ps_document_finalize), (set_up_page),
(start_interpreter), (stop_interpreter), (document_load),
(ps_document_next_page), (ps_document_goto_page),
(ps_document_set_page_size), (ps_document_widget_event),
(ps_document_render):
* shell/ev-page-view.c: (ev_page_view_dispose):
* shell/ev-view.c: (ev_view_finalize), (expose_bin_window):
Fix compilation on non-gcc platforms
2005-02-09 Marco Pesenti Gritti <marco@gnome.org>
* NEWS:
* configure.ac:
Release 0.1.4
* pdf/xpdf/Catalog.cc:
* pdf/xpdf/XRef.cc:
Fix the fix for CAN-2004-0888
2005-02-09 Luca Ferretti <elle.uca@libero.it>
* data/Makefile.am:
* data/evince-ui.xml:
* shell/ev-stock-icons.c: (ev_stock_icons_init):
* shell/ev-stock-icons.h:
* shell/ev-window.c: (update_action_sensitivity),
(ev_window_cmd_go_previous_page), (ev_window_cmd_go_next_page),
(set_action_properties):
Improve toolbar layout/icons
2005-02-08 Marco Pesenti Gritti <marco@gnome.org>
* pdf/xpdf/pdf-document.cc:
Add warnings about unimplemented/unknown link
types.
2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
* ps/ps-document.c: (set_up_page):
Log gs property
2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
* ps/ps-document.c: (start_interpreter):
Log gs env var
2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
* shell/ev-page-view.c: (ev_page_view_dispose):
* shell/ev-view.c: (ev_view_finalize):
* shell/ev-window.c: (ev_window_setup_document),
(ev_window_dispose), (ev_window_init):
Solve more refs issues.
I commented out the page_view initialization for now:
it was never destroyed (because it's never added
to a container). Because of that we was leaking
gs processes. Couldnt think to a clean fix.
We need to figure this out, password view has the
same issue probably.
2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
* ps/ps-document.c: (ps_document_finalize),
(ps_document_get_n_pages), (ps_document_get_page):
Some cleanups, stop the interpreter on finalize
* shell/ev-page-view.c: (ev_page_view_dispose),
(ev_page_view_class_init):
Release our reference on the document
2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
* Makefile.am:
* configure.ac:
* doc/debugging.txt:
* lib/.cvsignore:
* lib/Makefile.am:
* lib/ev-debug.c: (log_module), (trap_handler), (ev_debug_init),
(ev_profiler_new), (ev_should_profile), (ev_profiler_dump),
(ev_profiler_free), (ev_profiler_start), (ev_profiler_stop):
* lib/ev-debug.h:
Add debugging helpers
* ps/Makefile.am:
* ps/ps-document.c: (set_up_page), (start_interpreter),
(stop_interpreter), (document_load), (ps_document_next_page),
(ps_document_goto_page), (ps_document_set_page_size),
(ps_document_widget_event), (ps_document_render):
* shell/Makefile.am:
* shell/ev-view.c: (expose_bin_window):
* shell/main.c: (main):
Add some logs
2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
* ps/ps-document.c: (ps_document_widget_event):
Initialize message_window, this should make ps
rendering really work! (Never noticed because I was
testing with a ps that is causing gs to exit every time!)
2005-02-07 Bryan Clark <clarkbw@cvs.gnome.org>
* data/evince.schemas.in: updated simple error in applyto closing tag
2005-02-07 Christian Persch <chpe@cvs.gnome.org>
* Makefile.am:
* configure.ac:
* data/.cvsignore:
* data/Makefile.am:
* data/evince-ui.xml:
A data/evince.schemas.in:
* po/POTFILES.in:
* shell/ev-stock-icons.c: (ev_stock_icons_init):
* shell/ev-stock-icons.h:
* shell/ev-window.c: (update_chrome_visibility),
(update_chrome_flag), (ev_window_cmd_edit_find),
(ev_window_update_fullscreen_popup), (ev_window_fullscreen),
(ev_window_unfullscreen), (ev_window_focus_in_event),
(ev_window_focus_out_event), (ev_window_cmd_leave_fullscreen),
(ev_window_view_toolbar_cb), (ev_window_view_statusbar_cb),
(ev_window_view_sidebar_cb), (find_bar_close_cb),
(ev_window_dispose), (ev_window_class_init),
(set_action_properties), (set_chrome_actions), (load_chrome),
(ev_window_init):
Implement fullscreen mode changes from bug #164776.
Also implement persistent chrome toggles.
2005-02-07 Jordi Mallach <jordi@sindominio.net>
* configure.ac (ALL_LINGUAS): Added "ca" (Catalan).
2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
* NEWS:
* configure.ac:
* shell/ev-view.c:
Add another check for find interface
Release 0.1.3
2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
* shell/ev-application.c: (ev_application_open):
* shell/ev-window.c: (ev_window_open):
Open gzipped ps documents
2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
* TODO:
* shell/ev-view.c: (set_document_page):
Clamp page number, dont try to move to
not existant pages.
2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
* backend/ev-document-find.c: (ev_document_find_changed):
* backend/ev-document-find.h:
* pdf/xpdf/pdf-document.cc:
* shell/ev-view.c: (jump_to_find_result), (ev_view_set_document):
* shell/ev-window.c: (find_bar_search_changed_cb):
Fix several bugs with find
2005-02-04 Martin Kretzschmar <martink@gnome.org>
* shell/ev-sidebar-thumbnails.c
(ev_sidebar_thumbnails_select_page): do nothing unless we have a
document. Prevents warning from scroll_to_cell.
2005-02-02 Kjartan Maraas <kmaraas@gnome.org>
* configure.ac: Add «nb» to ALL_LINGUAS too.
Wed Feb 2 21:13:11 2005 Jonathan Blandford <jrb@redhat.com>
* NOTES: New file with some random thoughts.
* TODO: Update.
* backend/ev-document-misc.c:
(ev_document_misc_get_page_border_size): New function to
canonicalize shadow drawing sizes. Possibly goofy.
* shell/ev-view.c: (ev_view_size_request), (set_document_page),
(ev_view_best_fit), (ev_view_fit_width):
* pdf/xpdf/pdf-document.cc:
* pixbuf/pixbuf-document.c: (pixbuf_document_get_page_size):
* ps/ps-document.c: (ps_document_get_page_size):
* backend/ev-document-misc.h:
* backend/ev-document.c: (ev_document_get_page_size):
* backend/ev-document.h: get_page_size now takes a page number
parameter. Made all the backends/frontends honor it.
* data/evince-ui.xml: Added a multiple-page mode. Uncomment to
see. Doesn't work yet.
* shell/Makefile.am:
* shell/ev-page-view.[ch]: New multi-page view. Really rough.
Doesn't do anything yet.
* shell/ev-sidebar-thumbnails.c:
(ev_sidebar_thumbnails_set_document): [1..n_pages] instead of
[0..n_pages-1]
* shell/ev-window.c: (update_action_sensitivity),
(ev_window_setup_document), (ev_window_set_page_mode),
(ev_window_page_mode_cb), (ev_window_init): Clean up the
view-swapping code a bit so we can have multiple views on a
document. Add the multi-page view, though it can't be turned on
yet.
2005-02-01 Marco Pesenti Gritti <marco@gnome.org>
* shell/ev-application.c: (ev_application_open):
* shell/ev-view.c: (expose_bin_window):
* shell/ev-window.c: (ev_window_open):
Support eps and check document supports find
before drawing highlightings in expose.
2005-01-13 Jeff Muizelaar <jeff@nit.ca>
* pixbuf/pixbuf-document.c:
(pixbuf_document_thumbnails_get_dimensions),
(pixbuf_document_document_thumbnails_iface_init):
implement get_dimensions
2005-02-01 Marco Pesenti Gritti <marco@gnome.org>
* NEWS:
* configure.ac:
Release 0.1.2
2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
* shell/ev-view.c: (set_document_page):
Scroll at the top of the page when changing page
2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
* shell/ev-view.c: (ev_view_motion_notify_event):
Do not redraw unnecessarily
2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
* pdf/xpdf/pdf-document.cc:
* shell/ev-view.c: (draw_rubberband), (highlight_find_results),
(expose_bin_window), (find_changed_cb):
Yay! find works now... Now to find bugs...
2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
* backend/ev-document-find.c: (ev_document_find_base_init),
(ev_document_find_changed):
* backend/ev-document-find.h:
* pdf/xpdf/pdf-document.cc:
* shell/ev-view.c: (draw_rubberband), (highlight_find_results),
(expose_bin_window), (ev_view_init), (set_document_page),
(ensure_rectangle_is_visible), (jump_to_find_result),
(jump_to_find_page), (find_changed_cb), (ev_view_set_document),
(ev_view_find_next), (ev_view_find_previous):
* shell/ev-view.h:
* shell/ev-window.c: (find_bar_previous_cb), (find_bar_next_cb):
More work on find implementation, mostly there now
2005-01-29 Marco Pesenti Gritti <marco@gnome.org>
* backend/ev-backend-marshalers.list:
* backend/ev-document-find.c: (ev_document_find_base_init),
(ev_document_find_cancel), (ev_document_find_page_has_results),
(ev_document_find_get_n_results), (ev_document_find_get_result),
(ev_document_find_get_progress), (ev_document_find_changed):
* backend/ev-document-find.h:
Enanche the find interface to be really able to do
multi page find.
* pdf/xpdf/pdf-document.cc:
Implement
* shell/ev-view.c: (ev_view_finalize), (highlight_find_results),
(expose_bin_window), (ev_view_init),
(ev_view_get_find_status_message), (find_changed_cb),
(ev_view_set_document), (set_document_page):
Adapt to the new interface. A few things are regressed sorry,
I will finish it soon.
2005-01-28 Martin Kretzschmar <martink@gnome.org>
* shell/ev-sidebar-thumbnails.c (ev_sidebar_thumbnails_destroy)
(ev_sidebar_thumbnails_class_init): use G_DEFINE_TYPE-supplied
ev_sidebar_thumbnails_parent_class variable, don't define another
parent_class variable.
* shell/ev-page-action.c (connect_proxy, ev_page_action_finalize)
(ev_page_action_class_init): ditto.
* pixbuf/pixbuf-document.c (pixbuf_document_finalize)
(pixbuf_document_class_init): ditto.
* backend/ev-link.c (ev_window_dispose, ev_link_class_init):
ditto.
* .cvsignore: ignore various valgrind output files.
2005-01-27 Marco Pesenti Gritti <marco@gnome.org>
* data/evince-ui.xml:
* shell/Makefile.am:
* shell/ev-history.c:
* shell/ev-history.h:
* shell/ev-navigation-action.c:
* shell/ev-navigation-action.h:
* shell/ev-view.c: (ev_view_finalize), (ev_view_go_to_link),
(ev_view_set_page), (ev_view_fit_width):
* shell/ev-view.h:
* shell/ev-window.c: (update_action_sensitivity),
(ev_window_setup_document), (register_custom_actions):
Kill session history
2005-01-27 Marco Pesenti Gritti <marco@gnome.org>
* shell/ev-window.c: (update_action_sensitivity):
Fix inverted up/down buttons
2005-01-27 Martin Kretzschmar <martink@gnome.org>
* shell/ev-sidebar-thumbnails.c
(ev_sidebar_thumbnails_select_page): make sure the selected
thumbnail stays visible.
2005-01-26 Martin Kretzschmar <martink@gnome.org>
* shell/ev-window.c (ev_window_init): add GTK_SHADOW_IN to the
scrolled window for Federico.
2005-01-26 Ole Laursen <olau@hardworking.dk>
* configure.ac: Added "da" (Danish) to ALL_LINGUAS.
2005-01-26 Marco Pesenti Gritti <marco@gnome.org>
* configure.ac:
* pdf/splash/SplashFTFontEngine.cc:
Fix CID fonts with freetype 2.1.9
2005-01-26 Bryan Clark <clarkbw@cvs.gnome.org>
* TODO: added item for desktop icon thumbnailer
Tue Jan 25 00:59:34 2005 Jonathan Blandford <jrb@redhat.com>
* pdf/xpdf/pdf-document.cc (pdf_document_get_title): guard against
unloaded docs when the title is accessed.
* shell/ev-password-view.[hc]: New widget for displaying password
state.
* shell/ev-window.[ch]: Refactor password handling code to handle
the new view.
2005-01-24 Marco Pesenti Gritti <marco@gnome.org>
* NEWS:
* configure.ac:
* data/Makefile.am:
Release 0.1.1
2005-01-23 Stephane LOEUILLET <stephane.loeuillet@tiscali.fr>
* pdf/xpdf/pdf-document.cc (pdf_document_search_page_changed):
ignore page offset here, to make search results independent of it,
* shell/ev-view.c (expose_bin_window): but take offsets into
account here. Bug #164932
* pdf/xpdf/pdf-document.cc (pdf_document_get_link): divide by
scale at the right time. Bug #164996
2005-01-22 Martin Kretzschmar <martink@gnome.org>
* pdf/xpdf/GlobalParams.cc: My 2005-01-05 change didn't actually
fix the problem. Now I just removed the Adobe font names and hope
that the URW fonts are always in outline format. Bug #164934
* shell/ev-window.c (update_window_title): empty titles are
useless, use filename in that case too.
* NEWS: Add some content.
2005-01-21 Bryan Clark <clarkbw@cvs.gnome.org>
* TODO: added one more TODO item and a TODONE section :)
2005-01-21 Martin Kretzschmar <martink@gnome.org>
* ps/ps-document.h: add page_[xy]_offset fields.
* ps/ps-document.c (ps_document_set_page_offset)
(ps_document_render): Keep offset in consideration in a few
places. Bug #164752 "postscript documents are not centered in
window"
* data/evince.desktop.in (X-GNOME-Bugzilla-Product):
s/gpdf/evince/. Spotted by Stephane Loeuillet.
* pixbuf/pixbuf-document.c (pixbuf_document_get_n_pages)
(pixbuf_document_get_text, pixbuf_document_document_iface_init):
stub out missing methods for complete EvDocument implementation.
Fixes segfaults with Save A Copy and Copy actions.
* ps/ps-document.c (ps_document_save, ps_document_get_text)
(ps_document_document_iface_init): ditto.
2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
* data/.cvsignore:
* data/Makefile.am:
* data/evince.desktop.in:
Add desktop file
2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
* shell/ev-view.c: (ev_view_button_press_event),
(ev_view_motion_notify_event):
Make selection work in any direction
2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
* TODO:
* shell/ev-window.c: (set_short_labels), (ev_window_init):
Use shorter labels for some of the toolbars items
2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
* pdf/xpdf/pdf-document.cc:
Check the links info is initialized before
using it. Should fix a crash on startup.
2005-01-21 Martin Kretzschmar <martink@gnome.org>
* pixbuf/pixbuf-document.c
(pixbuf_document_thumbnails_get_dimensions): force floating point
division to calculate page_ratio. Fixes crash with landscape
format pixbufs.
Thu Jan 20 18:56:35 2005 Jonathan Blandford <jrb@redhat.com>
* shell/ev-view.c (ev_view_realize): make the bg color darker.
2005-01-20 Martin Kretzschmar <martink@gnome.org>
* shell/ev-view.c (set_document_page): unset has_selection when
the page changes.
(set_document_page): handle paper size changes when the page
changes (test with Free Culture, page 2).
2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
* shell/ev-view.c: (ev_view_size_request), (ev_view_realize),
(expose_bin_window), (ev_view_class_init), (ev_view_init):
Use normal style color for the widget background and
draw a black box around the page.
2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
* pdf/xpdf/pdf-document.cc:
Keep offset in consideration in a few places
* shell/ev-view.c: (expose_bin_window):
Set the offsets so that the document is ever centered
2005-01-20 Bryan Clark <clarkbw@cvs.gnome.org>
* TODO: Added TODO items and finished off the first todo item
* AUTHORS: Updated AUTHORS section with piece from gpdf file and
reflect current authors
2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
* pdf/xpdf/pdf-document.cc:
* shell/ev-view.c: (ev_view_set_cursor),
(ev_view_motion_notify_event), (document_changed_callback),
(set_document_page):
Show a wait cursor while the page is rendering
2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
* shell/ev-sidebar-thumbnails.c:
(ev_sidebar_tree_selection_changed),
(ev_sidebar_thumbnails_select_page):
* shell/ev-sidebar-thumbnails.h:
* shell/ev-view.c: (ev_view_set_document), (ev_view_can_go_back),
(ev_view_can_go_forward):
* shell/ev-window.c: (ev_window_open_page),
(ev_window_setup_document), (update_current_page),
(view_page_changed_cb), (ev_window_init):
* shell/ev-window.h:
Ensure thumbnails selection, toolbar page control and
current page are in sync.
2005-01-19 Marco Pesenti Gritti <marco@gnome.org>
* pdf/xpdf/XRef.cc:
Fix CAN-2005-0064
Wed Jan 19 01:10:57 2005 Jonathan Blandford <jrb@redhat.com>
* backend/Makefile.am:
* backend/ev-document-links.h:
* backend/ev-document-security.c: (ev_document_security_get_type),
(ev_document_security_has_document_security),
(ev_document_security_set_password):
* backend/ev-document-security.h:
* backend/ev-document.c: (ev_document_error_quark):
* backend/ev-document.h:
* data/Makefile.am:
* data/evince-password.glade:
* pdf/xpdf/pdf-document.cc:
* shell/Makefile.am:
* shell/ev-password.c: (ev_password_set_bad_password_label),
(ev_window_password_entry_changed_cb), (ev_password_dialog_new),
(ev_password_dialog_get_password),
(ev_password_dialog_set_bad_pass):
* shell/ev-password.h:
* shell/ev-window.c: (ev_window_get_attribute),
(ev_window_set_property), (update_action_sensitivity),
(ev_window_is_empty), (mime_type_supported_by_gdk_pixbuf),
(ev_window_setup_document), (ev_window_get_password),
(ev_window_open), (ev_window_cmd_save_as),
(using_postscript_printer), (ev_window_print),
(find_not_supported_dialog), (ev_window_cmd_edit_find),
(update_fullscreen_popup), (ev_window_fullscreen),
(ev_window_unfullscreen), (ev_window_cmd_view_fullscreen),
(ev_window_focus_out_cb), (ev_window_cmd_help_about),
(menu_item_select_cb), (find_bar_search_changed_cb),
(ev_window_dispose), (ev_window_init):
Add initial support for password-supported dialogs. This could be
a lot cooler, but it'll do for now.
2005-01-18 Marco Pesenti Gritti <marco@gnome.org>
* pdf/xpdf/pdf-document.cc:
* shell/ev-view.c: (status_message_from_link),
(ev_view_set_status), (ev_view_set_cursor),
(ev_view_motion_notify_event), (ev_view_init):
* shell/ev-window.c: (view_status_changed_cb), (ev_window_init):
Fix bugs in the links implementation and change cursor
when hovering a link.
2005-01-17 Bryan Clark <clarkbw@cvs.gnome.org>
* viewer/.cvsignore: added cvsignore file for viewer directory
* TODO: created TODO document
2005-01-14 Dave Malcolm <dmalcolm@redhat.com>
* shell/ev-view.h:
* shell/ev-view.c (ev_view_can_go_back), (ev_view_can_go_forward):
new functions to help with implementation of sensitivity code
* shell/ev-window.c (update_action_sensitivity): Fix sensitivity
of all actions that might require it. Fixes a crash when you
click on the Zoom actions in a window lacking a document.
2005-01-13 Dave Malcolm <dmalcolm@redhat.com>
* shell/ev-window.c (update_action_sensitivity): Fix sensitivity
of the Find action
2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
* pixbuf/pixbuf-document.c: (pixbuf_document_get_link),
(pixbuf_document_document_iface_init):
* ps/ps-document.c: (ps_document_get_link),
(ps_document_document_iface_init):
* shell/ev-view.c: (ev_view_realize), (ev_view_button_press_event),
(status_message_from_link), (ev_view_set_status),
(ev_view_set_find_status), (ev_view_motion_notify_event),
(ev_view_button_release_event), (ev_view_set_property),
(ev_view_get_property), (ev_view_class_init), (ev_view_init),
(ev_view_get_find_status_message), (update_find_results),
(ev_view_get_status), (ev_view_get_find_status):
* shell/ev-view.h:
* shell/ev-window.c: (view_status_changed_cb),
(view_find_status_changed_cb), (ev_window_init):
View status message support, use it to show the links.
Needs work...
2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
* backend/ev-document.c: (ev_document_get_link):
* backend/ev-document.h:
* pdf/xpdf/pdf-document.cc:
* shell/ev-application.c: (ev_application_open):
* shell/ev-application.h:
* shell/ev-sidebar-links.c: (selection_changed_cb):
* shell/ev-view.c: (ev_view_button_release_event), (go_to_link),
(ev_view_go_to_link):
Add support for document links
2005-01-13 Anders Carlsson <andersca@gnome.org>
* shell/ev-page-action.c: (update_spin), (total_pages_changed_cb),
(create_tool_item):
Set the spin button limits correctly.
* shell/ev-sidebar-thumbnails.c:
(ev_sidebar_tree_selection_changed), (ev_sidebar_thumbnails_init):
Support changing pages by clicking on the thumbnails.
2005-01-13 Jeff Muizelaar <jeff@nit.ca>
* pixbuf/pixbuf-document.c:
(pixbuf_document_thumbnails_get_dimensions),
(pixbuf_document_document_thumbnails_iface_init):
implement get_dimensions
2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
* ps/ps-document.c: (ps_document_goto_page):
Fix page switching on multipage documents
2005-01-12 Jeff Muizelaar <jrmuizel@nit.ca>
* pixbuf/pixbuf-document.c: (pixbuf_document_get_page_size):
check for NULL before assigning to width and height parameters
2005-01-12 Jeff Muizelaar <jeff@nit.ca>
* pixbuf/pixbuf-document.c: (pixbuf_document_class_init),
(pixbuf_document_set_property), (pixbuf_document_get_property):
implement get/set properties
2005-01-12 Jeff Muizelaar <jeff@nit.ca>
* pdf/xpdf/pdf-document.cc: (pdf_info_dict_get_string):
return NULL instead of "Unknown", letting the title get set to
the filename when the pdf has no title.
2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
* ps/ps-document.c: (ps_document_get_page_count),
(ps_document_goto_page):
2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
* shell/ev-history.c: (ev_history_get_property),
(ev_history_set_property), (ev_history_class_init),
(ev_history_add_page), (ev_history_set_current_index):
* shell/ev-navigation-action.c: (ev_navigation_action_set_history),
(activate_menu_item_cb), (new_history_menu_item), (build_menu),
(ev_navigation_action_finalize):
* shell/ev-navigation-action.h:
* shell/ev-view.c: (ev_view_set_document), (ev_view_go_back),
(ev_view_go_forward), (ev_view_get_find_status_message),
(history_index_changed_cb), (ev_view_set_history):
* shell/ev-view.h:
* shell/ev-window.c: (update_total_pages), (ev_window_open),
(update_current_page), (register_custom_actions):
Implement history dropdowns
2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
* shell/ev-history.c: (ev_history_init), (ev_history_add_link):
* shell/ev-view.c: (ev_view_set_document), (ev_view_go_back),
(ev_view_go_forward):
* shell/ev-window.c: (register_custom_actions):
Fix several history bugs
2005-01-11 Kjartan Maraas <kmaraas@gnome.org>
* configure.ac: Add «nb» to ALL_LINGUAS.
2005-01-10 Marco Pesenti Gritti <marco@gnome.org>
* backend/Makefile.am:
* backend/ev-bookmark.c:
* backend/ev-bookmark.h:
* backend/ev-document-bookmarks.c:
* backend/ev-document-bookmarks.h:
* backend/ev-document-links.c: (ev_document_links_get_type),
(ev_document_links_has_document_links),
(ev_document_links_begin_read), (ev_document_links_get_link),
(ev_document_links_get_child), (ev_document_links_next),
(ev_document_links_free_iter):
* backend/ev-document-links.h:
* backend/ev-link.c: (ev_link_type_get_type), (ev_link_get_title),
(ev_link_set_title), (ev_link_get_uri), (ev_link_set_uri),
(ev_link_get_link_type), (ev_link_set_link_type),
(ev_link_get_page), (ev_link_set_page), (ev_link_get_property),
(ev_link_set_property), (ev_window_dispose), (ev_link_init),
(ev_link_class_init), (ev_link_new_title), (ev_link_new_page),
(ev_link_new_external):
* backend/ev-link.h:
* pdf/xpdf/pdf-document.cc:
* shell/Makefile.am:
* shell/ev-application.c: (ev_application_open_link):
* shell/ev-application.h:
* shell/ev-history.c: (ev_history_add_link), (ev_history_add_page),
(ev_history_get_link_nth):
* shell/ev-history.h:
* shell/ev-sidebar-bookmarks.c:
* shell/ev-sidebar-bookmarks.h:
* shell/ev-sidebar-links.c: (ev_sidebar_links_destroy),
(ev_sidebar_links_class_init), (selection_changed_cb),
(ev_sidebar_links_construct), (ev_sidebar_links_init),
(links_page_num_func), (ev_sidebar_links_new), (stack_data_free),
(do_one_iteration), (populate_links_idle),
(ev_sidebar_links_clear_document), (ev_sidebar_links_set_document):
* shell/ev-sidebar-links.h:
* shell/ev-sidebar.c: (ev_sidebar_set_document):
* shell/ev-view.c: (go_to_link), (ev_view_go_to_link),
(go_to_index):
* shell/ev-view.h:
* shell/ev-window.c: (ev_window_open_link), (ev_window_init):
* shell/ev-window.h:
Rename bookmark to link, and use "Index" for the sidebar panel.
2005-01-09 Marco Pesenti Gritti <marco@gnome.org>
* shell/Makefile.am:
* shell/ev-application.c: (ev_application_open_bookmark):
* shell/ev-application.h:
* shell/ev-history.c: (ev_history_init), (free_links_list),
(ev_history_finalize), (ev_history_class_init),
(ev_history_add_link), (ev_history_add_page),
(ev_history_get_link_nth), (ev_history_get_n_links),
(ev_history_get_current_index), (ev_history_set_current_index),
(ev_history_new):
* shell/ev-history.h:
* shell/ev-sidebar-bookmarks.c: (selection_changed_cb):
* shell/ev-view.c: (ev_view_finalize), (ev_view_set_document),
(set_document_page), (go_to_bookmark), (ev_view_go_to_bookmark),
(go_to_index), (ev_view_go_back), (ev_view_go_forward),
(ev_view_set_page):
* shell/ev-view.h:
* shell/ev-window.c: (ev_window_open_bookmark),
(ev_window_cmd_go_back), (ev_window_cmd_go_forward),
(goto_page_cb), (register_custom_actions):
* shell/ev-window.h:
Initial history implementation. Needs work.
2005-01-09 Martin Kretzschmar <martink@gnome.org>
* pdf/xpdf/GDKSplashOutputDev.cc (redraw): fix pixbuf data offset.
2005-01-09 Marco Pesenti Gritti <marco@gnome.org>
* cut-n-paste/recent-files/egg-recent-item.c:
* cut-n-paste/recent-files/egg-recent-item.h:
* cut-n-paste/recent-files/egg-recent-model.c:
* cut-n-paste/recent-files/egg-recent-util.c:
* cut-n-paste/recent-files/egg-recent-view-gtk.c:
* cut-n-paste/recent-files/egg-recent-view.c:
Update
2005-01-08 Martin Kretzschmar <martink@gnome.org>
* pdf/splash/Splash.cc (clear, drawPixel, drawSpan, xorSpan, getPixel)
(fillGlyph, fillImageMask, drawImage):
pdf/splash/SplashBitmap.cc (SplashBitmap, ~SplashBitmap, writePNMFile):
pdf/splash/SplashTypes.h:
pdf/xpdf/SplashOutputDev (startPage, getColor, imageSrc): implement RGB8
packed mode for Splash.
* pdf/xpdf/GDKSplashOutputDev.cc (GDKSplashOutputDev, redraw): use
RGB8 packed mode, eliminates the pixbuf data creation loop.
* shell/ev-print-job.c (ev_print_job_finalize)
(ev_print_job_set_property, ev_print_job_get_property)
(ev_print_job_set_gnome_print_job, ev_print_job_set_document)
(ev_print_job_use_print_dialog_settings, idle_print_handler)
(print_closure_finalize, ev_print_job_print): implement
printing (for backends with EvPsExporter)
* shell/ev_print_job.h: update prototypes.
* shell/ev-window.c (ev_window_print): unref print job after
printing.
* shell/ev-view.c (ev_view_set_document): don't connect to "found"
unless the document implements the EvDocumentFind interface.
2005-01-08 Satoru SATOH <ss@gnome.gr.jp>
* configure.ac: Added ja to ALL_LINGUAS.
2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
* pdf/xpdf/pdf-document.cc:
add a FIXME. We should probably not allocate
a bookmark object every time
2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
* shell/ev-application.c: (ev_application_open),
(ev_application_open_bookmark):
* shell/ev-application.h:
Add a way to open bookmarks
* backend/ev-bookmark.c: (ev_bookmark_get_uri),
(ev_bookmark_set_uri), (ev_bookmark_get_property),
(ev_bookmark_set_property), (ev_bookmark_class_init),
(ev_bookmark_new_title), (ev_bookmark_new_link),
(ev_bookmark_new_external):
Support for external uris, better constructors.
* backend/ev-bookmark.h:
* pdf/xpdf/pdf-document.cc:
* shell/ev-sidebar-bookmarks.c: (selection_changed_cb):
Handle external uris
2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
* shell/ev-sidebar-bookmarks.c: (selection_changed_cb),
(ev_sidebar_bookmarks_construct), (do_one_iteration):
Hook up bookmarks navigation
2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
* backend/Makefile.am:
* backend/ev-bookmark.c: (ev_bookmark_type_get_type),
(ev_bookmark_get_title), (ev_bookmark_set_title),
(ev_bookmark_get_bookmark_type), (ev_bookmark_set_bookmark_type),
(ev_bookmark_get_page), (ev_bookmark_set_page),
(ev_bookmark_get_property), (ev_bookmark_set_property),
(ev_window_dispose), (ev_bookmark_init), (ev_bookmark_class_init),
(ev_bookmark_new):
* backend/ev-bookmark.h:
* backend/ev-document-bookmarks.c:
(ev_document_bookmarks_get_bookmark):
* backend/ev-document-bookmarks.h:
* pdf/xpdf/pdf-document.cc:
* shell/ev-sidebar-bookmarks.c: (do_one_iteration):
Add a bookmark object to the backend and use it instead of get_values
2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
* data/evince-ui.xml:
Cleanup and add select all.
* shell/ev-view.c: (ev_view_select_all),
(ev_view_button_press_event):
* shell/ev-view.h:
* shell/ev-window.c: (ev_window_cmd_edit_select_all):
Add select all.
Clear selection on click.
Fri Jan 7 01:28:58 2005 Jonathan Blandford <jrb@redhat.com>
* shell/ev-sidebar-thumbnails.c
(ev_sidebar_thumbnails_set_document): forgot to unref the
loading_icon.
Fri Jan 7 01:22:48 2005 Jonathan Blandford <jrb@redhat.com>
* shell/ev-sidebar-thumbnails.c: fill in the thumbnails starting
at the visible page, not just linearly. This makes it look fast.
Thu Jan 6 18:48:11 2005 Jonathan Blandford <jrb@redhat.com>
* backend/ev-document-misc.c
(ev_document_misc_get_thumbnail_frame): fill in the thumbnail with
white.
* backend/ev-document-thumbnails.h: New interface to get the size
of a page.
2005-01-06 Jeremy Katz <katzj@redhat.com>
* shell/Makefile.am (evince_SOURCES): Add ev-utils.[ch] so that
make dist works
Wed Jan 5 15:38:28 2005 Jonathan Blandford <jrb@redhat.com>
* pdf/xpdf/pdf-document.cc (bitmap_to_pixbuf): bypass
GDKSplashOutputDev and just use a normal SplashOutputDev. Speeds
things up a bit.
* shell/ev-sidebar-thumbnail.c: start of some profiling code.
2005-01-05 Martin Kretzschmar <martink@gnome.org>
* pdf/xpdf/GlobalParams.cc (displayFontTabFc): match only outline
fonts. Should fix font problems on systems that have the base
fonts in bitmap format. Reported by James Henstridge
<james@jamesh.id.au>.
2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
* pdf/xpdf/Gfx.cc:
* pdf/xpdf/GfxState.cc:
Fix for CAN-2004-1125
2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
* shell/ev-view.c: (ev_view_copy):
* shell/ev-view.h:
* shell/ev-window.c: (ev_window_cmd_edit_copy):
Implement Edit->Copy
2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
* backend/ev-document.c: (ev_document_get_text):
* backend/ev-document.h:
* pdf/xpdf/pdf-document.cc:
* shell/ev-view.c: (ev_view_realize), (expose_bin_window),
(ev_view_primary_get_cb), (ev_view_primary_clear_cb),
(ev_view_update_primary_selection), (ev_view_button_press_event),
(ev_view_motion_notify_event), (ev_view_button_release_event):
Beginnings of clipboard support. Incomplete but primary sort
of work.
2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
* shell/ev-view.c: (ev_gdk_color_to_rgb), (draw_rubberband),
(expose_bin_window):
Nicer rubberband drawing, from GtkIconView.
2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
* backend/ev-document.c: (ev_document_save):
* backend/ev-document.h:
* data/evince-ui.xml:
* pdf/xpdf/pdf-document.cc:
* shell/ev-window.c: (save_error_dialog), (ev_window_cmd_save_as):
Implement "Save a copy..." menu item
2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
* shell/ev-view.c: (ev_view_zoom):
Queue a resize when zoom changes
Wed Jan 5 02:33:06 2005 Jonathan Blandford <jrb@redhat.com>
* backend/ev-document-misc.[ch]: New misc file to do simple drop
shadows.
* pdf/xpdf/pdf-document.cc: use the drop shadows in both types of
thumbnails..
Tue Jan 4 22:32:32 2005 Jonathan Blandford <jrb@redhat.com>
* pdf/xpdf/pdf-document.cc
(pdf_document_thumbnails_get_page_pixbuf): poor man's dropshadow.
Tue Jan 4 21:25:05 2005 Jonathan Blandford <jrb@redhat.com>
* pdf/xpdf/pdf-document.cc: Do real thumbnailing of PDF files.
It's slow, but I'll speed it up next!
2005-01-04 Jeff Muizelaar <jrmuizel@nit.ca>
* shell/main.c (load_files):
use gnome_vfs_make_uri_from_shell_arg so that relative paths work
from the command line and because it seems more appropriate.
2005-01-04 Marco Pesenti Gritti <marco@gnome.org>
* data/evince-ui.xml:
* shell/ev-window.c: (update_action_sensitivity),
(ev_window_cmd_go_page_up), (ev_window_cmd_go_page_down):
s/next page/page down
s/previous page/page up
2005-01-04 Marco Pesenti Gritti <marco@gnome.org>
* data/evince-ui.xml:
Change the layout to match clarkbw design.
* shell/Makefile.am:
* shell/ev-navigation-action.c: (build_menu), (menu_activated_cb),
(set_tooltip_cb), (connect_proxy), (ev_navigation_action_init),
(ev_navigation_action_finalize),
(ev_navigation_action_set_property),
(ev_navigation_action_get_property),
(ev_navigation_action_class_init):
* shell/ev-navigation-action.h:
Implement clarkbw toolbar navigation controls (incomplete)
* shell/ev-page-action.c: (update_label), (update_spin),
(value_changed_cb), (create_tool_item), (connect_proxy),
(ev_page_action_init), (ev_page_action_finalize),
(ev_page_action_set_property), (ev_page_action_get_property),
(ev_page_action_set_current_page),
(ev_page_action_set_total_pages), (ev_page_action_class_init):
* shell/ev-page-action.h:
Implement a page switcher in the toolbar
* shell/ev-view.c: (ev_view_scroll_view):
* shell/ev-window.c: (update_total_pages), (ev_window_open),
(update_current_page), (view_page_changed_cb), (goto_page_cb),
(register_custom_actions), (ev_window_init):
Change page on PageUp/Down.
Tue Jan 4 03:22:56 2005 Jonathan Blandford <jrb@redhat.com>
* pdf/xpdf/pdf-document.cc
(pdf_document_thumbnails_get_thumbnail): initial stab at
implementing thumbnail support for pdfs. It only does documents
with precached pdfs now.
Mon Jan 3 17:22:25 2005 Jonathan Blandford <jrb@redhat.com>
* shell/ev-sidebar-thumbnails.c (do_one_iteration): move the
thumbnail code into a time-based idle as well. Also, turn off the
shadow temporarily as it's really slow.
2005-01-03 Marco Pesenti Gritti <marco@gnome.org>
* backend/ev-document.c: (ev_document_class_init):
* pdf/xpdf/pdf-document.cc:
* shell/ev-window.c: (ev_window_open):
Fix document title bugs and fallback to
filename when not available.
2005-01-03 Marco Pesenti Gritti <marco@gnome.org>
* backend/ev-document.c: (ev_document_get_type),
(ev_document_class_init), (ev_document_load),
(ev_document_get_title):
* backend/ev-document.h:
* pdf/xpdf/pdf-document.cc:
* ps/ps-document.c: (ps_document_set_property),
(ps_document_get_property), (ps_document_class_init),
(document_load):
* ps/ps-document.h:
* ps/ps.h:
* shell/ev-window.c: (update_window_title), (ev_window_open),
(ev_window_init):
Initial support for document title. Not working yet.
2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
* shell/ev-view.c: (ev_view_realize), (ev_view_button_press_event):
Grab focus on the view when clicking it
2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
* shell/ev-marshal.list:
* shell/ev-view.c: (ev_view_realize), (add_scroll_binding),
(ev_view_scroll_view), (ev_view_class_init), (ev_view_init):
Add key bindings to the view. Now if the focus would work
right...
2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
* Makefile.am:
* backend/Makefile.am:
* data/Makefile.am:
* dvi/Makefile.am:
* dvi/dvilib/Makefile.am:
* pdf/xpdf/Makefile.am:
* po/POTFILES.in:
* ps/Makefile.am:
Fix distcheck
2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
* shell/ev-view.c: (ev_view_realize):
Fix mouse wheel scrolling
2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
* ps/Makefile.am:
* ps/gstypes.h:
* ps/gtkgs.c:
* ps/gtkgs.h:
* ps/ps-document.c: (catchPipe), (ps_document_init),
(ps_document_class_init), (ps_document_cleanup),
(ps_document_finalize), (send_ps), (ps_document_get_orientation),
(set_up_page), (close_pipe), (is_interpreter_ready),
(interpreter_failed), (output), (input), (start_interpreter),
(stop_interpreter), (file_length), (file_readable),
(check_filecompressed), (check_pdf), (compute_xdpi),
(compute_ydpi), (compute_size), (ps_document_enable_interpreter),
(ps_document_get_type), (ps_document_emit_error_msg),
(document_load), (ps_document_next_page),
(ps_document_get_current_page), (ps_document_get_page_count),
(ps_document_goto_page), (ps_document_set_page_size),
(ps_document_zoom_to_fit), (ps_document_set_zoom),
(ps_document_load), (ps_document_get_n_pages),
(ps_document_set_page), (ps_document_get_page),
(ps_document_widget_event), (ps_document_set_target),
(ps_document_set_scale), (ps_document_set_page_offset),
(ps_document_get_page_size), (ps_document_render),
(ps_document_document_iface_init):
* ps/ps-document.h:
* ps/ps.c:
* shell/ev-window.c: (ev_window_open):
Rename GtkGS to PSDocument
2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
* ps/gtkgs.c: (gtk_gs_class_init):
* ps/gtkgs.h:
Some more leftover...
2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
* ps/gtkgs.c: (gtk_gs_class_init), (gtk_gs_get_orientation),
(output), (stop_interpreter), (gtk_gs_emit_error_msg),
(gtk_gs_zoom_to_fit), (gtk_gs_set_zoom):
* ps/gtkgs.h:
Remove unused code and make a lot of stuff private
2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
* ps/gsdefaults.c: (gtk_gs_defaults_gconf_client),
(gtk_gs_defaults_changed):
* ps/gsdefaults.h:
* ps/gtkgs.c:
* ps/gtkgs.h:
* ps/ps.h:
Cleanup headers dependencies
2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
* ps/Makefile.am:
* ps/ggvutils.c:
* ps/ggvutils.h:
* ps/gsdefaults.c: (gtk_gs_defaults_get_paper_sizes):
* ps/gsdefaults.h:
* ps/gtkgs.c: (file_length), (file_readable),
(check_filecompressed), (check_pdf), (gtk_gs_load),
(gtk_gs_get_postscript):
Get rid of ggvutils
2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
* ps/ggvutils.c:
* ps/ggvutils.h:
* ps/gsio.h:
* ps/gtkgs.c: (gtk_gs_set_zoom):
Cleanups
2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
* ps/gtkgs.c: (gtk_gs_set_zoom), (gtk_gs_set_zoom_mode):
Ensure the page is rerendered when changing zoom
2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
* backend/ev-document.c: (ev_document_base_init),
(ev_document_changed):
* backend/ev-document.h:
Add a changed event that is emitted when the page content
changes. This is necessary to deal with the fact that
in ps backend rendering happen asycrounously.
This makes the ps backend mostly work.
* pdf/xpdf/pdf-document.cc:
Emit changed event
* ps/gtkgs.c: (set_up_page), (gtk_gs_widget_event),
(ps_document_set_target):
Emit changed event
* shell/ev-view.c: (document_changed_callback),
(ev_view_set_document), (ev_view_set_page):
Redraw on the changed signal
2004-12-25 Raphael Higino <raphaelh@cvs.gnome.org>
* configure.ac: Added pt_BR to ALL_LINGUAS.
Fri Dec 24 00:48:44 2004 Jonathan Blandford <jrb@redhat.com>
* backend/ev-document-bookmarks.c:
(ev_document_bookmarks_get_child): *
backend/ev-document-bookmarks.h: * pdf/xpdf/Makefile.am: *
pdf/xpdf/pdf-document.cc: * pdf/xpdf/pdf-document.h: *
shell/Makefile.am: * shell/ev-sidebar-bookmarks.c:
(ev_sidebar_bookmarks_destroy),
(ev_sidebar_bookmarks_class_init),
(ev_sidebar_bookmarks_construct), (stack_data_free),
(do_one_iteration), (populate_bookmarks_idle),
(ev_sidebar_bookmarks_clear_document),
(ev_sidebar_bookmarks_set_document): *
shell/ev-sidebar-bookmarks.h: * shell/ev-sidebar.c:
(ev_sidebar_add_page),
(ev_sidebar_set_document): * shell/ev-window.c: (ev_window_open):
Initial stab at a bookmarks sidebar. It doesn't navigate yet, but
it displays both the topics and the page numbers.
2004-12-23 Kristian Høgsberg <krh@redhat.com>
* shell/ev-window.c (ev_window_view_sidebar_cb): Hook up sidebar
toggle.
* shell/ev-window.c (toggle_entries): Set sidebar default value to
visible.
2004-12-23 Adam Weinberger <adamw@gnome.org>
* configure.ac: Added en_CA to ALL_LINGUAS.
2004-12-23 Martin Kretzschmar <martink@gnome.org>
* ChangeLog: replace bottom of this ChangeLog (merged history of
ggv and gpdf; where all paths were wrong and most of the files are
not even in this tree) with ChangeLog (from arch) of the shell
code.
2004-12-23 Havoc Pennington <hp@redhat.com>
* shell/ev-window.c: hook up potentially-questionable "find
results status text" feature - something involving the sidebar or
scrollbar or a continuous all-pages-on-giant-roll-of-paper-view
might be better in the end.
* shell/ev-view.c (ev_view_get_find_status_message): new function,
with corresponding signal when it should be updated
* shell/eggfindbar.c (egg_find_bar_set_status_text): new function
2004-12-22 Havoc Pennington <hp@redhat.com>
* pdf/xpdf/pdf-document.cc (pdf_document_find_begin): make search
find stuff on other pages, sort of (only returns one result on
invisible pages, to show they have results; updates full results
for a page when you view it). Currently repaints the current page
every time a new result is found on any page, which isn't so nice.
2004-12-22 Havoc Pennington <hp@redhat.com>
* shell/ev-window.c (ev_window_cmd_edit_find): display an error if
the document doesn't support find (better ideas?)
(find_bar_search_changed_cb): handle missing document or document
that doesn't support find
* pdf/xpdf/pdf-document.cc: port to implement the new
EvDocumentFindIface
* backend/ev-document-find.c: create a new interface for searching
* backend/ev-document.h, backend/ev-document.c: delete the find stuff
2004-12-23 Martin Kretzschmar <martink@gnome.org>
* pdf/xpdf/Makefile.am (libpdfdocument_la_LIBADD): add
libevbackend.la.
* shell/ev-window.c (ev_window_print): add GnomePrintJob to
EvPrintJob constructor arguments.
* backend/ev-ps-exporter.c, backend/ev-ps-exporter.h: interface
for documents that can export PostScript (page by page).
* backend/Makefile.am (libevbackend_la_SOURCES): add them.
* pdf/xpdf/pdf-document.cc (pdf_document_ps_export_begin)
(pdf_document_ps_export_do_page, pdf_document_ps_export_end)
(pdf_document_ps_exporter_iface_init:
Implement EvPSExporter.
* pdf/xpdf/Makefile.am (libxpdf_la_SOURCES): build PSOutputDev.
2004-12-22 Anders Carlsson <andersca@gnome.org>
* backend/Makefile.am:
* backend/ev-document-thumbnails.c:
(ev_document_thumbnails_get_type),
(ev_document_thumbnails_get_thumbnail):
* backend/ev-document-thumbnails.h:
* pixbuf/pixbuf-document.c: (G_DEFINE_TYPE_WITH_CODE),
(pixbuf_document_thumbnails_get_thumbnail),
(pixbuf_document_document_thumbnails_iface_init):
* shell/Makefile.am:
* shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_destroy),
(ev_sidebar_thumbnails_class_init), (ev_sidebar_thumbnails_init),
(populate_thumbnails), (ev_sidebar_thumbnails_set_document):
* shell/ev-sidebar-thumbnails.h:
* shell/ev-sidebar.c: (ev_sidebar_init), (ev_sidebar_add_page),
(ev_sidebar_set_document):
* shell/ev-utils.c: (gaussian), (create_blur_filter),
(create_shadow), (ev_pixbuf_add_shadow):
* shell/ev-utils.h:
Add thumbnail support.
2004-12-22 Martin Kretzschmar <martink@gnome.org>
* shell/ev-window.c (ev_window_cmd_file_print, ev_window_print)
(using_postscript_printer): Set up a print dialog for "PostScript
injection" method.
* shell/ev-print-job.h, shell/ev-print-job.c: stub classes for
EvPrintJob.
* shell/Makefile.am (evince_SOURCES): add ev-print-job.[ch]
2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
* ps/gtkgs.c: (gtk_gs_init), (set_up_page),
(ps_document_set_target), (ps_document_get_page_size),
(ps_document_render):
* ps/gtkgs.h:
Fix a few bugs
2004-12-22 Christian Rose <menthos@menthos.com>
* configure.ac: Added "sv" to ALL_LINGUAS.
Wed Dec 22 14:47:38 2004 Jonathan Blandford <jrb@redhat.com>
* backend/ev-document-bookmarks.[ch]: new interface to indicate
document supports bookmarks.
2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
* ps/ggvutils.c: (ggv_file_readable):
* ps/ggvutils.h:
* ps/gtkgs.c: (check_filecompressed), (check_pdf),
(gtk_gs_get_postscript):
Remove unused utils
2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
* ps/gtkgs.c: (gtk_gs_init), (gtk_gs_class_init), (gtk_gs_cleanup),
(gtk_gs_finalize), (gtk_gs_set_center), (set_up_page), (output),
(start_interpreter), (compute_size), (gtk_gs_enable_interpreter),
(gtk_gs_get_type), (gtk_gs_new), (gtk_gs_reload),
(gtk_gs_emit_error_msg), (gtk_gs_disable_interpreter),
(gtk_gs_load), (gtk_gs_goto_page), (gtk_gs_set_page_size),
(gtk_gs_set_override_orientation), (gtk_gs_set_override_size),
(gtk_gs_set_zoom), (gtk_gs_set_default_orientation),
(gtk_gs_set_antialiasing), (ps_document_load),
(ps_document_render):
* ps/gtkgs.h:
Another check point for the ps backend. Now I can get it to show
pages!
Wed Dec 22 13:41:01 2004 Jonathan Blandford <jrb@redhat.com>
* shell/ev-sidebar.c (ev_sidebar_set_document): initial sidebar
document setting code.
2004-12-22 Anders Carlsson <andersca@gnome.org>
* shell/eggfindbar.c: (entry_activate_callback):
Animate the next button when activate is pressed.
2004-12-22 Anders Carlsson <andersca@gnome.org>
* shell/ev-window.c: (ev_window_cmd_edit_find),
(update_fullscreen_popup), (ev_window_fullscreen),
(ev_window_unfullscreen), (ev_window_state_event_cb),
(ev_window_focus_out_cb), (find_bar_close_cb), (ev_window_init):
Fix bugs in fullscreen code.
2004-12-22 Anders Carlsson <andersca@gnome.org>
* Makefile.am:
* configure.ac:
* pixbuf/Makefile.am:
* pixbuf/pixbuf-document.c: (G_DEFINE_TYPE_WITH_CODE),
(pixbuf_document_load), (pixbuf_document_get_n_pages),
(pixbuf_document_set_page), (pixbuf_document_get_page),
(pixbuf_document_set_target), (pixbuf_document_set_scale),
(pixbuf_document_set_page_offset), (pixbuf_document_get_page_size),
(pixbuf_document_render), (pixbuf_document_begin_find),
(pixbuf_document_end_find), (pixbuf_document_finalize),
(pixbuf_document_class_init),
(pixbuf_document_document_iface_init), (pixbuf_document_init):
* pixbuf/pixbuf-document.h:
* shell/Makefile.am:
* shell/ev-application.c: (ev_application_open):
* shell/ev-window.c: (mime_type_supported_by_gdk_pixbuf),
(ev_window_open):
Add pixbuf backend.
Tue Dec 21 21:45:43 2004 Soeren Sandmann <sandmann@redhat.com>
* Makefile.am:
* dvi/dvilib/Makefile.am:
* dvi/Makefile.am:
* configure.ac: Auto*ify dvi and dvi/dvilib
* dvi/Makefile: Remove from CVS
* dvi/dvilib/dl-pkfont.cc (unpack_bitmap): Fix uchar/uint
confusion.
* dvi/dvilib/dl-fontdefinition.{cc,hh}: New DviFontMap class
* dvi/dvilib/dl-vffont.{cc,hh}: Many bugfixes to VF code.
2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
* ps/Makefile.am:
* ps/gtkgs.c: (gtk_gs_class_init), (gtk_gs_finalize),
(gtk_gs_value_adjustment_changed), (compute_size),
(gtk_gs_get_type), (gtk_gs_new), (gtk_gs_new_from_file),
(gtk_gs_center_page), (gtk_gs_load), (gtk_gs_set_page_size),
(gtk_gs_set_override_orientation), (gtk_gs_set_override_size),
(gtk_gs_set_zoom), (gtk_gs_set_default_orientation),
(gtk_gs_start_scroll), (gtk_gs_get_postscript),
(gtk_gs_set_adjustments), (gtk_gs_set_available_size),
(ps_document_load), (ps_document_get_n_pages),
(ps_document_set_page), (ps_document_get_page),
(ps_document_set_target), (ps_document_set_scale),
(ps_document_set_page_offset), (ps_document_get_page_size),
(ps_document_render), (ps_document_begin_find),
(ps_document_end_find), (ps_document_document_iface_init):
* ps/gtkgs.h:
* shell/Makefile.am:
* shell/ev-window.c: (ev_window_open):
Some work to integrate gtkgs with EvDocument
2004-12-22 Anders Carlsson <andersca@gnome.org>
* shell/ev-window.c: (update_fullscreen_popup),
(screen_size_changed_cb), (destroy_exit_fullscreen_popup),
(exit_fullscreen_button_clicked_cb),
(fullscreen_popup_size_request_cb), (ev_window_fullscreen),
(ev_window_unfullscreen), (ev_window_cmd_view_fullscreen),
(ev_window_state_event_cb), (ev_window_init):
Add fullscreen support from Epiphany.
2004-12-22 Mark McLoughlin <mark@skynet.ie>
* data/ev-stock-zoom-fit-width.png: fit-width
stock icon from gpdf.
* shell/ev-stock-icons.[ch]: copied from gpdf.
* shell/main.c: (main): init stock icons.
* shell/ev-window.c: use the fit-width icon.
* data/evince-ui.xml: add zooming toolbar items.
2004-12-22 Mark McLoughlin <mark@skynet.ie>
* shell/ev-view.c:
(ev_view_best_fit), (ev_view_fit_width): because
get_page_size() returns the scaled page size, we
need to calculate the scale factor relative to
the previous scale factor. Should really just
add get_real_page_size().
2004-12-22 Mark McLoughlin <mark@skynet.ie>
* shell/ev-view.[ch]:
(ev_view_zoom), (ev_view_zoom_in), (ev_view_zoom_out),
(ev_view_normal_size), (ev_view_best_fit), (ev_view_fit_width):
add zooming.
* shell/ev-window.c: (ev_window_cmd_view_zoom_in),
(ev_window_cmd_view_zoom_out), (ev_window_cmd_view_normal_size),
(ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width):
hook it up.
* pdf/xpdf/pdf-document.cc:
(pdf_document_begin_find),
(pdf_document_end_find): make static.
2004-12-22 Martin Kretzschmar <martink@gnome.org>
* pdf/xpdf/GlobalParams.h (setupBaseFontsFc): add prototype.
* pdf/xpdf/GlobalParams.cc (displayFontTabFc): maps base font
names to fontconfig patterns.
(setupBaseFontsFc): setupBaseFonts reimplemented using fontconfig.
* pdf/xpdf/pdf-document.cc (pdf_document_load): use
setupBaseFontsFc.
2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
* Makefile.am:
* configure.ac:
* ps/Makefile.am:
* ps/ggvutils.c:
* ps/ggvutils.h:
* ps/gsdefaults.c:
* ps/gsdefaults.h:
* ps/gsio.c:
* ps/gsio.h:
* ps/gtkgs.c:
* ps/gtkgs.h:
* ps/ps.c:
* ps/ps.h:
Import ggv backend. Not hooked up yet.
2004-12-22 Mark McLoughlin <mark@skynet.ie>
* shell/main.c: (load_files), (main): load files
from the command line.
2004-12-22 Mark McLoughlin <mark@skynet.ie>
* configure.ac: don't require bonobo.
* cut-n-paste/recent-files/*: kill bonobo recent
view.
* shell/ev-window.c:
(ev_window_is_empty): upd.
(unable_to_load), (ev_window_open): load backend
based on the mime type.
2004-12-22 Martin Kretzschmar <martink@gnome.org>
* backend/.cvsignore: ignore generated marshalers source.
* shell/main.c (main): this is not epiphany.
2004-12-22 Havoc Pennington <hp@redhat.com>
* shell/ev-view.c (ev_view_set_document): connect to "found" signal
(expose_bin_window): draw find highlights
* shell/ev-window.c (find_bar_search_changed_cb): implement
* pdf/xpdf/pdf-document.cc (pdf_document_begin_find)
(pdf_document_end_find): implement this interface
* backend/ev-document.c (ev_document_found): add this to emit
signal
Tue Dec 21 23:57:37 2004 Owen Taylor <otaylor@redhat.com>
* data/evince-ui.xml: Add a few more toolbar items.
* shell/ev-window.c: Hook up page navigation toolbar
items.
* shell/ev-view.[ch]: add ev_view_set/get_page and
a page-changed signal.
* backend/ev-document.{h,cc} pdf/xpdf/pdf-document.cc::
Add ev_document_get_page().
* shell/ev-window.c: Sensitize/desensitize navigation
actions.
2004-12-21 Havoc Pennington <hp@redhat.com>
* backend/ev-backend-marshal.c,
backend/ev-backend-marshalers.list, backend/Makefile.am: add
marshaler-generator thingy. I'm sure there's a better way to do
this in the modern world.
* backend/ev-document.h (struct _EvDocumentIface): add begin_find,
end_find methods and "found" signal.
* configure.ac: find glib-genmarshal
Tue Dec 21 23:20:35 2004 Jonathan Blandford <jrb@redhat.com>
* shell/ev-sidebar.c: Construct an actual sidebar.
* shell/ev-sidebar-bookmarks.[ch]:
* shell/ev-sidebar-thumbnails.[ch]: Stub out sidebars.
Tue Dec 21 23:05:51 2004 Owen Taylor <otaylor@redhat.com>
* backend/ev-document.{h,cc} pdf/xpdf/pdf-document.cc:
Redo size handling.
* shell/ev-view.c: Track the size from the document.
Tue Dec 21 22:17:04 2004 Owen Taylor <otaylor@redhat.com>
* pdf/xpdf/pdf-document.cc (pdf_document_load): PDFDoc
constructor assumes ownership of the string passed in.
* shell/ev-window.c (ev_window_open): Destroy the error
dialog once we've displayed it.
Tue Dec 21 21:58:56 2004 Owen Taylor <otaylor@redhat.com>
* pdf/xpdf/pdf-document.cc shell/ev-view.c: Hook things up
a bit, it works! (sort of)
* pdf/xpdf/Makefile.am pdf/xpdf/pdf-document.cc:
Move to .cc since we need to use C++ in the implementation.
* shell/dummy.cc: Add a CC file to force evince
to be linked as a C++ program.
Tue Dec 21 21:07:55 2004 Owen Taylor <otaylor@redhat.com>
* shell/ev-view.[ch]: Start of content-area widget.
* shell/ev-window.c: Create a EvView, update it
as we change documents.
* shell/Makefile.am shell/ev-marshal.list: Add
generated marshalers.
Tue Dec 21 20:28:11 2004 Jonathan Blandford <jrb@redhat.com>
* Makefile.am (SUBDIRS): move shell.
Tue Dec 21 19:28:55 2004 Owen Taylor <otaylor@redhat.com>
* pdf/{goo,fofi,splash,xpdf}/Makefile.am: Switch from
.a to libtool convenience libraries.
* shell/ev-window.c (ev_window_open): Hard code loading
a PDF document.
* backend/ev-document.h: Add a boolean return to load(),
fix GError * to GError **.
* pdf/xpdf/pdf-document.[ch] Makefile.am: Add a stub
object for a PDF backend EvDocument.
Tue Dec 21 18:55:06 2004 Søren Sandmann <sandmann@redhat.com>
* dvi/*: New directory with the beginning of a .dvi backend.
2004-12-21 Havoc Pennington <hp@redhat.com>
* shell/eggfindbar.c (egg_find_bar_init): change buttons to
previous/next instead of back/forward
Tue Dec 21 18:26:24 2004 Owen Taylor <otaylor@redhat.com>
* backend/ev-document.[ch]: Fix a couple of problems so
it compile.
Tue Dec 21 18:20:40 2004 Owen Taylor <otaylor@redhat.com>
* viewer/* backend/* configure.ac Makefile.am: Move viewer directory
to backend/ directory, rename EvViewer to EvDocument.
2004-12-21 Havoc Pennington <hp@redhat.com>
* shell/ev-window.c: hook up the find bar widget; now we just need
a document to find things in
* shell/eggfindbar.c: a find bar widget
Tue Dec 21 17:20:16 2004 Jonathan Blandford <jrb@redhat.com>
* shell/ev-sidebar.[ch]: initial sidebar boilerplate.
Tue Dec 21 16:30:58 2004 Owen Taylor <otaylor@redhat.com>
* pdf/**: Import of xpdf code from gpdf.
* pdf/xpdf/xpdfconfig.h: Move the non-config.h config.h to xpdfconfig.h
* pdf/splash/SplashFTFont.{cc,h} pdf/splash/SplashFTFont.h
pdf/splash/SplashFTFontEngine.h pdf/splash/SplashFTFontFile.h:
Fix FreeType includes.
* pdf/xpdf/{Error.h GnomeVFSStream.cc ImageOutputDev.cc PDFDoc.cc\
pdffonts.cc pdfimages.cc pdfinfo.cc pdftoppm.cc pdftops.cc
pdftotext.cc PSOutputDev.cc PSOutputDev.h SplashOutputDev.h
Stream.cc TextOutputDev.cc XPDFApp.cc xpdf.cc XPDFViewer.cc
pdf/xpdf/Error.h PSOutputDev.h SplashOutputDev.h}:
Include xpdfconfig.h
Tue Dec 21 16:08:17 2004 Jonathan Blandford <jrb@redhat.com>
* shell/ev-window.c (ev_window_dispose): dispose can be called
multiple times.
2004-12-21 Havoc Pennington <hp@redhat.com>
* shell/ev-window.c (ev_window_init): set title to Document Viewer
rather than Evince
* data/evince-ui.xml, shell/ev-window.c: add a bunch of stub menu
items; really they should be synced with the strings, etc. from
current gpdf, but just getting the boring typing out of the way
2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
* po/POTFILES.in:
* shell/ev-application.c: (window_destroy_cb):
* shell/ev-window.c:
* shell/main.c: (main):
Actually show the window...
2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
* Makefile.am:
* shell/Makefile.am:
* shell/ev-application.c: (ev_application_class_init):
* shell/ev-window.c: (ev_window_dispose), (ev_window_class_init):
Make it build again
2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
Import to gnome cvs.
* Remove copies of gpdf and ggv trees.
* Rip out all the recursive configure code.
* Remove bonobo machinery.
* viewer/*: GInterfaces that backends should/can implement.
2004-11-09 Martin Kretzschmar <m_kretzschmar@gmx.net>
* shell/ev-window.c (ev_window_cmd_help_about): fix "documentors"
typo
2004-10-28 Martin Kretzschmar <m_kretzschmar@gmx.net>
* shell/ev-application.c (EV_APPLICATION_GET_PRIVATE)
(ev_application_finalize, ev_application_class_init)
(ev_application_init): use GType instance private data for priv.
* shell/ev-window.c (EV_WINDOW_GET_PRIVATE)
(ev_window_finalize, ev_window_class_init)
(ev_window_init): ditto.
2004-10-27 Martin Kretzschmar <m_kretzschmar@gmx.net>
* shell/ev-application.c (ev_application_new_window): make public
(ev_application_show_initial_window): kill.
* shell/ev-application.h: update prototypes.
* shell/main.cc (main): inline ev_application_show_initial_window.
2004-10-27 Martin Kretzschmar <m_kretzschmar@gmx.net>
* shell/ev-application.c (ev_application_new_window): impl.
(ev_application_show_initial_window): use it.
(is_window_empty, ev_application_get_empty_window): returns an
existing empty window or a new one.
(ev_application_open): from ev_window_cmd_file_open.
* shell/ev-application.h: update prototypes
* shell/ev-window.c (ev_window_is_empty): impl.
(ev_window_open): make public.
(ev_window_cmd_file_open): use ev_application_open
* shell/ev-window.h: update prototypes, remove unused.
2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
* shell/ev-window.c (ev_window_destroy, ev_window_class_init):
move destroy handler out of here...
* shell/ev-application.c, shell/ev-application.h: ...into this new
class. Also handles initial window creation.
* shell/main.cc (main): use EvApplication to create initial
window.
2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
* Makefile.am (SUBDIRS): add cut-n-paste
* cut-n-paste/Makefile.am: add
* configure.ac: generate Makefiles in cut-n-paste
2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
* shell/ev-window.c (ev_window_dispose): new, unref the ui_manager
(ev_window_class_init): install ev_window_dispose.
2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
* shell/ev-window.h, shell/ev-window.c: replace gchar with
char (gchar looks stupid).
2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
* po/de.po: updated German translation.
2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
* configure.ac: add more pkg-config library checks for gnome-vfs,
bonobo etc.
* gpdf/configure.in: temporarily disable libpaper
checks. Otherwise I'd have to add the checks for the shell, too.
2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
* shell/ev-window.c (ev_window_cmd_file_open): add ps+pdf, ps, pdf
and * file filters to the file choose.
2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
* po/de.po: Updated German translation.
2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
* shell/ev-window.c: use "S" as mnemonic for Statusbar.
2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
* data/evince-ui.xml: add View->Toolbar and View->Statusbar.
* shell/ev-window.c (menu_item_select_cb, menu_item_select_cb)
(ev_window_init): implement those menuitems.
2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
* data/evince-ui.xml: add a toolbar (with FileOpen action)
* shell/ev-window.c (ev_window_init): use the toolbar.
2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
* shell/ev-window.c (ev_window_init): use menu translations
2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
* configure.ac: add "de" to ALL_LINGUAS.
* po/de.po: add German translation.
2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
* Makefile.am (SUBDIRS): add po
* configure.ac: check intltool, glib-gettext etc, generate
po/Makefile.in
* po, po/POTFILES.in, po/POTFILES.skip: new.
2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
* shell/Makefile.am (INCLUDES): define GNOMELOCALEDIR which we
already use (#ifdef ENABLE_NLS)
* shell/ev-window.c (ev_window_cmd_help_about): fix two star
pointer indirection thinko.
* shell/main.c: include gi18n.h for bindtextdomain etc.
2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
* shell/ev-window.c (menu_item_select_cb, menu_item_deselect_cb)
(connect_proxy_cb, disconnect_proxy_cb, ev_window_init): show
tooltips for menu items in the statusbar.
2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
* configure.ac, data/Makefile.am, shell/Makefile.am: use
pkgdatadir drop UIDIR
2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
* data/evince-ui.xml: Add File->Open menu item
* shell/ev-window.c (ev_window_cmd_file_open): impl. (shows a file
chooser), hook it up in the ui manager.
2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
* shell/ev-window.c: fix Help->About tooltip.
2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
* configure.ac: set CFLAGS for libevprivate.
* lib/ev-stock-icons.h, lib/ev-stock-icons.c: stock icon
definitions, factory etc.
* lib/Makefile.am: build libevprivate.a (only stock icon code).
* shell/Makefile.am: link against libevprivate.a.
* shell/ev-window.c (entries): add stock icon to Help->About.
* shell/main.c (main): init stock icon code.
2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
* lib/recent-files: egg recent files code
* lib/Makefile.am: add.
* Makefile.am: add lib subdir.
* configure.ac: gen. lib/Makefile and lib/recent-files/Makefile,
set CFLAGS for recent-files.
2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
* configure.ac: disable -ansi and -pedantic gcc flags. They
disable POSIX stuff in stdio.h, but egg-recent uses them.
2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
* configure.ac: add --disable-deprecated flag (defaults to on in
"cvs" builds).
* shell/Makefile.am (INCLUDES): use it.
2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
* shell/main.c: add missing #include.
* shell/ev-window.c: fix for pedantic gcc.
(ev_window_cmd_help_about): split license into paragraphs for
translators and pedantic compilers.
2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
* configure.ac: add more warning flags if compiling with gcc from
cvs (or explicitly requested with --enable-more-warnings).
2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
* data/evince-ui.xml: add File and File->Close menu.
* shell/ev-window.c (ev_window_cmd_file_close_window): impl.
(ev_window_destroy): quit after destroy.
(ev_window_class_init): override GtkObject::destroy.
(entries): install close_window callback.
2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
* Makefile.am (SUBDIRS): add data subdir.
* configure.ac (UIDIR): gen data/Makefile, define UIDIR. Require
gtk+ 2.5.0 for GtkAboutDialog.
* data/Makefile.am, data/evince-ui.xml: add, ui definition for the
main window.
* shell/Makefile.am (INCLUDES): propagate UIDIR definition.
* shell/ev-window.c (ev_window_init): create a menubar, using a ui
manager.
(ev_window_cmd_help_about): about command, using GtkAboutDialog.
2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
* shell/ev-window.c, shell/ev-window.h: Created an EvWindow class.
2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
* shell/main.c: make it a trivial gtk+ program, adjust configure.ac
2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
* shell/*: Added shell directory boilerplate, build it.
2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
* configure.ac, Makefile.am: Added top-level configure.ac and
Makefile.am
|