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
|
2002-08-19 Ross Burton <ross@burtonini.com>
* yelp.desktop.in:
- Fix the desktop file so that it validates correctly.
2002-08-16 Padraig O'Briain <padraig.obriain@sun.com>
* src/yelp-html-gtkhtml1.c
* src/yelp-html-gtkhtml2.c
* src/yelp-view-content.c
* src/yelp-view-index.c
* stylesheets/docbook/html/docdbook.xsl
Remove reference to bgcolor being set to white (bug #89838)
2002-08-13 Mikael Hallendal <micke@codefactory.se>
* Release 1.0.3
* configure.in: Bumped to 1.0.3
* NEWS: Updated for 1.0.3
2002-08-13 Mikael Hallendal <micke@codefactory.se>
* src/yelp-man.c:
(yelp_man_remove_duplicates_from_manpath):
- return a GSList instead
- Hopefully fixed #90385
(yelp_man_init): using a GSList for manpathes instead of gchar **.
2002-08-07 Mikael Hallendal <micke@codefactory.se>
* src/yelp-view-toc.c:
- Removed the GNOME icon in the bottom
- Removed the text in the bottom.
- Removed the blue sidebar.
2002-08-07 Narayana Pattipati <narayana.pattipati@wipro.com>
* src/yelp-reader.c (yelp_reader_start): Made changes to make yelp
read the cached HTML files. Fixes #85258
* src/yelp-pregenerate.c: new file. Creates yelp-pregenerate utility
which pre-generates HTML files from XML files.
* src/yelp-pregenerate.h: new file
* src/yelp-reader.h: Added prototype for look_for_html_help_file
2002-08-05 Sander Vesik <sander.vesik@sun.com>
* stylesheets/yelp-customization.xsl:
- apply bold formating to guibuttons
- apply mono formating to commands
- fix left-margin instead of margin-left
- relief from table formating quirks
- leave space after inline media objects
2002-08-05 Mikael Hallendal <micke@codefactory.se>
* Release 1.0.2
* NEWS: updated for 1.0.2
* configure.in:
- Version updated to 1.0.2
- Requirement on libgnome to 2.0.2
- Requirement on gtkhtml2 to 1.99.10
2002-08-05 Sander Vesik <sander.vesik@sun.com>
* src/yelp-db2html.c:
- include quotes around stylesheet path so its correctly passed in
* stylesheets/yelp-custom.xsl:
- move parameterisation of admonition graphics to
yelp-customization.xsl
* stylesheets/yelp-customization.xsl:
- make <b> create a consistent result
- make bulleted and numbered list items align consistently
2002-08-04 Mikael Hallendal <micke@codefactory.se>
* src/yelp-scrollkeeper.c (scrollkeeper_parse_index):
- Will probably solve #89431.
2002-08-04 Padraig O'Briain <padraig.obriain@sun.com>
* src/yelp-reader.c (yelp_reader_start): Fixes #89038
2002-08-04 Mikael Hallendal <micke@codefactory.se>
* src/yelp-info.c (yelp_info_read_info_dir):
- support info files that is named name.gz. Fixes #85324.
- Remove duplicates.
* src/yelp-window.c:
(window_init): don't automatically go to uri "toc:" in history.
(yelp_window_new): don't open "toc:", this is now done from
yelp_base_new_window
(yelp_window_open_uri): goto the uri in history, Fixes #86538.
* src/yelp-base.c:
(impl_Yelp_newWindow): don't show window and open_uri here. Do it in
yelp_base_new_window instead.
(yelp_base_new_window): added a uri argument. If it's passed it's
opened, otherwise "toc:" is opened.
2002-08-04 Yogeesh MB <yogeeshappa.mathighatta@wipro.com>
* src/yelp-man.c: added function which removes multiple
man pathes, fixes bug #75728
2002-08-02 Sander Vesik <sander.vesik@sun.com>
* stylesheets/yelp-customization.xsl:
- make list items have some space around them
- make sublists have more consistent spacing
- change list styles inside sublists
2002-08-01 Szabolcs Ban <shooby@gnome.hu>
* configure.in: Added "hu" to ALL_LINGUAS. Finally :)
2002-07-15 Mikael Hallendal <micke@codefactory.se>
* src/yelp-view-toc.c (toc_start): Print with %% instead of % to
printf, I'm stupid :) Fixes 87972, thanks
mathew@fugue.jpl.nasa.gov for finding this.
2002-07-11 Brian Cameron <Brian.Cameron@sun.com>
* yelp/configure.in
* yelp/src/Makefile.am
* yelp/src/yelp-reader.c
Now support libgnome installing gnome2-man2html and gnome2-info2html
to libexec.
2002-07-09 Mark McLoughlin <mark@skynet.ie>
* yelp.desktop.in: use X-GNOME-DocPath instead of DocPath.
2002-07-08 Mikael Hallendal <micke@codefactory.se>
* src/yelp-info.c:
(yelp_info_read_info_dir): Removed possibility of buffer overflow
by using g_strdup_printf instead of strcpy. Fixes #87127. Thanks
to Laavanya K R for finding and proposing a solution.
2002-07-07 Glynn Foster <glynn.foster@sun.com>
* yelp.desktop.in (X-GNOME-DocPath):
2002-07-06 Sander Vesik <sander.vesik@sun.com>
* stylesheets/yelp-customization.xsl
- make <part> and <chapter> have plain unstyled toc-s
until yelp.render.toc is sufficently advanced
- correctly pass in a string parameter when matching /book
- call correct titlepage template for <book>
2002-07-05 Sander Vesik <sander.vesik@sun.com>
* stylesheets/yelp-customization.xsl
- make <book> support somewhat work
2002-07-05 Sander Vesik <sander.vesik@sun.com>
* stylesheets/yelp-customization.xsl
- rationalize heading styles
- don't center title
- tweak list indenting
2002-06-28 Mikael Hallendal <micke@codefactory.se>
* src/yelp-info.c (yelp_info_init): sort info pages.
2002-06-27 Mikael Hallendal <micke@codefactory.se>
* src/yelp-window.c: added patch from Kang Jeong-Hee to support
toolbar style "both_horiz". Fixes #85529
* src/yelp-view-toc.c (toc_page_end):
- don't scale the gnome-button.
- mark some strings for translation. Fixes #84020
2002-06-26 Mikael Hallendal <micke@codefactory.se>
* src/yelp-window.c:
- Fixes #84713
(yelp_window_new): set icon on window.
(window_load_icon): added, loads the gnome-help.png icon.
(window_about_cb): set the icon in the about box.
* README: removed old information
* src/yelp-main.c: follow yelp style.
2002-06-19 Mikael Hallendal <micke@codefactory.se>
* Release 1.0.1
* NEWS: updated for 1.0.1
* configure.in: updated to 1.0.1
2002-06-10 Mikael Hallendal <micke@codefactory.se>
* Release 1.0
* configure.in: updated to 1.0
2002-06-03 Mikael Hallendal <micke@codefactory.se>
* Release 0.10
* NEWS: updated for 0.10
* configure.in: 0.10
* configure.in: bumped gtkhtml2 deps.
* src/yelp-window.c (window_handle_uri):
- let the index view handle it's own uri's
* src/yelp-view-content.c (content_reader_finished_cb):
- fixed a possible crash
* src/yelp-view-index.c:
- updated to the YelpReader stuff.
- reenable showing docs in the html view here instead of content
view.
* src/yelp-uri.c:
(yelp_uri_to_index): added, special treatment of index URI's.
(yelp_uri_from_index): same.
(yelp_uri_exists): handle index uri's correctly.
* src/yelp-db2html.c (main): load the DTD so that enteties works.
* src/yelp-view-content.c:
(content_find_path_from_uri): added, used to find the path to a
certain URI.
(content_tree_model_foreach): added, used by above function.
(content_reader_finished_cb): expand tree and select the correct
node. Fixes #80518
* src/yelp-reader.h: finish signal includes the URI which finished
loading.
* src/yelp-db2html.c: send path to the docbook stylesheets as a
parameter. Still doesn't seem to fix the path problem with the
images.
2002-06-02 Mikael Hallendal <micke@codefactory.se>
* Fixes #69047
* src/yelp-window.c (yelp_window_new): connect to title_changed
signal on content and TOC views.
(window_title_changed_cb): set the new title.
* src/yelp-view-toc.c: added title_changed signal. I soooo want
the views to inherit from the same base :) Will fix after 2.0.0
(toc_html_title_changed_cb): emit title changed signal.
(toc_page_start): take extra argument so that you can set title
and page header.
* src/yelp-view-content.c: added signal title_changed.
(content_html_title_changed_cb): emit title changed signal.
* src/yelp-html-gtkhtml2.c:
(html_title_changed_cb): emit title changed signal.
* src/yelp-html.h: added title_changed signal.
* src/yelp-html-gtkhtml1.c:
- started on emit title changed code. WIP.
* src/yelp-uri.c:
(uri_get_doc_type): set info:dir to be toc:info
(uri_get_doc_path): same
* src/yelp-db2html.c (main): use the shipped catalog file.
2002-06-01 Mikael Hallendal <micke@codefactory.se>
* src/yelp-uri.c (uri_get_path_from_relative): if URI can't get
resolved, set path to in-string.
* src/yelp-window.c (window_handle_uri): show error dialog if URI
doesn't exist.
(yelp_window_open_uri): don't return if URI doesn't exist.
* src/yelp-uri.c:
- Added a type YELP_URI_TYPE_GHELP_OTHER so that I can recreate a
URI for error messaging.
(yelp_uri_exists): do a check rather then just a look at the type.
(uri_get_doc_type): don't check if URI exists here.
(yelp_uri_to_string): handle GHELP_OTHER.
* src/yelp-reader.c (reader_start): return if URI doesn't exists,
shouldn't happen.
* src/yelp-uri.h: removed YELP_URI_TYPE_NON_EXIST, use
yelp_uri_exists.
* stylesheets/docbook/Makefile.am: Install the images
* stylesheets/docbook/images/*: Added some of the images from XSL
stylesheets.
* Fixes #83156
* src/yelp-index-model.c:
(yim_finalize): free the index list.
(yelp_index_model_set_words): copy the list and don't sort.
* src/yelp-base.c (yelp_base_new): sort the index list here.
* src/yelp-view-toc.c (toc_page_start): removed all of the CSS
used to get it to not render huge fonts, now handled by
Gtkhtml2.
* stylesheets/yelp-customization.xsl:
- don't hard code font size to 10pt. Use the font set by Gtkhtml2
(which is taken from the theme)
* src/yelp-db2html.c (main): don't load the DTD from the net.
* src/yelp-reader.c (reader_file_start): Fixed #83668
2002-06-01 James Henstridge <james@daa.com.au>
* src/yelp-db2html.c (main): perform XInclude processing on
Docbook/XML documents we load.
2002-06-01 Jesus Bravo Alvarez <jba@pobox.com>
* configure.in: Added "gl" (Galician) to ALL_LINGUAS
2002-05-29 Radek Doulik <rodo@ximian.com>
* src/yelp-html-gtkhtml1.c:
- removed #include "yelp-db2html.h"
(html_url_requested_cb): close gtkhtml stream
2002-05-31 Mikael Hallendal <micke@codefactory.se>
* configure.in (yelp): define yelplocaledir, Fixes #83639
* src/Makefile.am (INCLUDES): use yelplocaledir
2002-05-31 Ross Burton <ross@burtonini.com>
* src/yelp-window.c (window_about_cb): Tell the about dialog who
its parent is, so that it appears at the right location.
2002-05-31 Yogeesh MB <yogeeshappa.mathighatta@wipro.com>
* src/yelp-main.c: fixes save session bug, #82605
2002-05-31 Mikael Hallendal <micke@codefactory.se>
* src/yelp-reader.c (reader_get_chunk):
- return the full document if finding the chunk comments
fail. This is better than just returning NULL. Also silence the
warnings for now.
* Release 0.9.1
* configure.in: bumped version to 0.9.1
* NEWS: updated for 0.9.1
* stylesheets/docbook/*:
- Added the 1.48 stylesheets until the stylesheet issues have been
sorted out. Norm has said that in the 1.50+ the changes between
the different versions will not cause breakage and we can then
use current instead of a certain version of these. Lots of
distributions don't ship 1.48 and this will cause lots of
troubles for the users.
* stylesheets/yelp-customization.xsl: use a relative link to
reference to the stylesheets.
* stylesheets/Makefile.am (SUBDIRS): added docbook
* configure.in: output stylesheet/docbook/Makefile
2002-05-27 Mikael Hallendal <micke@codefactory.se>
* Release 0.9
* src/Makefile.am: build fix for marshallers.
* NEWS: updated for 0.9
* configure.in:
- Bumped version to 0.9
- Updated libgnome deps to 1.117.2
- Updated gtkhtml2 deps to 1.99.8
* src/yelp-reader.c:
- removed old code.
- fixed a couple of warnings
* stylesheets/yelp-customization.xsl: don't include section names
on toc and title-page.
* src/yelp-view-content.c (yelp_view_content_show_uri):
- don't set "Loading..." if the doc is cached. It will only result
in flicker.
* src/yelp-reader.c:
(reader_man_info_start):
- make sure that section is not an empty string.
(yelp_reader_start):
- make sure that section is not an empty string.
- return a boolean to say if the document was cached or not.
* src/yelp-reader.c:
(reader_get_chunk): added, used to get a chunk from a multi
chunked document.
(reader_man_info_start):
- now handles docbook too. will be renamed later.
- add docbook results in cache.
- get chunk from document if docbook.
(yelp_reader_start):
- check in cache if document is there, if so, just get the chunk
and signal.
- if not in cache, use g_timeout_add instead of idle.
* src/yelp-db2html.c:
- this is now it's own binary
- use multichunk
- don't use YelpURI so that we don't need to init gnome vfs
* src/yelp-db2html.h: removed
* src/yelp-cache.c: first dummy implementation of cache.
* src/yelp-base.c (yelp_base_init): init the cache.
* src/Makefile.am:
(yelp_db2html_LDADD): added binary for db2html.
(yelp_SOURCES): added yelp-cache.[ch] and removed
yelp-db2html.[ch]
2002-05-26 Mikael Hallendal <micke@codefactory.se>
* stylesheets/yelp-customization.xsl:
- Don't include section name in end comment.
- put [] around the section name in start tag.
2002-05-26 Alessio Frusciante <algol@firenze.linux.it>
* configure.in: added "it" to ALL_LINGUAS
2002-05-23 Jacob Berkman <jacob@ximian.com>
* src/Makefile.am (yelp-marshal-main.c): add explicit dependency
on yelp-marshal.c to make automake work
2002-05-23 Mikael Hallendal <micke@codefactory.se>
* src/yelp-view-content.c:
(yelp_view_content_new): shrink TOC-tree width
* src/yelp-html-gtkhtml1.c (html_link_clicked_cb):
- don't shortcut info
2002-05-22 Sander Vesik <sander.vesik@sun.com>
* stylesheets/yelp/customization.xsl:
- fix whitespace around 'About This Document'
- whitespace reduction for headers
- try to fix table of contents links not showing up for Hallski
- the 'previous' link on a first sect2 of a sect1
- work on indirect previous links
- display the document title as a H1 on the TOC page instead of
having it in the navbar
2002-05-23 Mikael Hallendal <micke@codefactory.se>
* src/Makefile.am (yelp_SOURCES): use yelp-marshal-main.c instead
of yelp-marshal.c and yelp-marshal.h
* src/yelp-marshal-main.c: added to get rid of warnings in
yelp-marshal.c
2002-05-22 Mikael Hallendal <micke@codefactory.se>
* src/yelp-db2html.c (yelp_db2html_convert):
- use the new stylesheet parameter gdb_stylesheet_path.
* src/yelp-reader.c (reader_man_info_start): support chunked info.
* src/yelp-html-gtkhtml2.c
(html_link_clicked_cb): don't shortcut if info. it's now chunked.
* src/yelp-reader.c: use yelp-db2html again.
* src/yelp-db2html.c: use #define for stylesheet location instead
of creating a string with it.
* src/Makefile.am (yelp_SOURCES): don't include yelp-db2html.
* src/yelp-reader.c (reader_db_start):
- try to do the docbook-stuff here instead.
* src/yelp-view-toc.c (toc_page_end): updated footer some.
2002-05-22 Richard Hult <rhult@codefactory.se>
* src/yelp-view-toc.c:
(toc_man_emit): free return from yelp_uri_to_string.
* src/yelp-util.c (yelp_util_compose_path_url): free path
* src/yelp-man.c (yelp_man_init): free manpathes
2002-05-22 Mikael Hallendal <micke@codefactory.se>
* src/yelp-db2html.c:
- cleaning up
- made to use YelpURI instead of copying parts from it
- plugged leaks.
* src/test-reader.c (main): create reader without an argument.
* src/yelp-view-content.c (content_init): same
* src/yelp-reader.c: always be async, don't be optional.
* src/yelp-view-toc.c (toc_page_end): added a space, thanks rhult.
* src/yelp-window.c (window_about_cb):
- fixed copyright notice in about dialog. Thanks menthos.
* src/test-reader.c:
(main): call yelp_reader_new with TRUE for async.
(data_cb): swapped buffer and len arguments.
2002-05-21 Mikael Hallendal <micke@codefactory.se>
* src/yelp-reader.c:
(reader_db_write): don't return -1
(reader_db_close): same.
* Release 0.8
* NEWS: updated for 0.8
* configure.in: bumped version to 0.8
* src/yelp-reader.c: fixed compile warning.
* src/yelp-uri.c: fixed so that external links are working too.
* src/yelp-view-toc.c: implemented jimmac's mockups.
* src/yelp-uri.c: added support for file:
* src/Makefile.am (INCLUDES): added IMAGEDIR
* data/images/*: new files
* data/Makefile.am: new file
* configure.in:
- added data/Makefile, data/images/Makefile to AC_OUTPUT.
* Makefile.am (SUBDIRS): added data
2002-05-20 Mikael Hallendal <micke@codefactory.se>
* src/yelp-view-content.c:
- use YelpURI instead of docpath for current_uri.
(yelp_view_content_show_uri):
- Fixed a problem that if you viewed a man page and then switched
to a docbook with TOC you didn't get the TOC.
- Change cursor here.
- Write out "Loading..." to the html-view instead of showing old
data while reading.
(content_reader_data_cb): clear the "Loading..."-message first
time this is called.
(content_reader_finished_cb):
- Fixes #82363
- Give focus to html widget.
* src/yelp-man.c (yelp_man_populate_tree_for_subdir):
- Set the link to be page.secnum instead of page.section.
For example pages with foo.3pm should have the link foo.3, this
solves the problem where you get the error that page is not
found. Might fix #82346.
2002-05-20 Sander Vesik <sander.vesik@sun.com>
* stylesheets/yelp-customization.xsl:
- render formal tables just like informal tables
- always leave some space between the bottom navbar and the text
- make notes and other admonitions to be unindented
- add whitespace for tables appearing within lists
- improve looks of complex tables
2002-05-20 Mikael Hallendal <micke@codefactory.se>
* src/yelp-reader.c: be ASYNC! :) and handle cancels. Starting to
be nice now.
* src/yelp-marshal.list: VOID:INT,STRING -> VOID:STRING,INT
* src/yelp-reader.c (yelp_reader_start): renamed from reader_read.
2002-05-20 Sander Vesik <sander.vesik@sun.com
* stylesheets/yelp-custom.xsl, stylesheets/yelp-customization.xsl:
introduce a new parameter and use it so images distributed
with the stylesheet get picked up correctly
2002-05-18 Mikael Hallendal <micke@codefactory.se>
* src/yelp-info.c (yelp_info_init):
- Fixes #80981 (hopefully)
- Thanks to Stéphane Démurget for notifying where the error was.
* src/yelp-view-toc.c (toc_info): fixed mem leak.
* configure.in (YELP_IDL_INCLUDES): readded bzip2 check, doh!
* src/yelp-view-toc.c:
(toc_start): fixed mem leak
(toc_scrollkeeper): fixed mem leak
* src/yelp-view-toc.h: don't include gtkhtml2 headers.
* src/yelp-view-toc.c:
- include libxml/parser.h now that we don't include gtkhtml2
headers here any more.
* src/yelp-html-gtkhtml1:
- Added
- Makes yelp use GtkHTML1 for HTML rendering instead of GtkHTML2.
* src/yelp-html-gtkhtml2: Renamed from yelp-html.c
* src/yelp-html.c: Moved to yelp-html-gtkhtml2.c
* src/Makefile.am (html_widget_impl): check for the correct
html-widget implementation.
* configure.in:
- added --with-html-widget switch which controls if GtkHTML1 or
GtkHTML2 should be used. Default is GtkHTML2
- Check for gtkhtml1 libraries and headers if that library should
be used.
- Removed bzip2-check, left over from when I tried to merge
man2html into yelp.
2002-05-18 Richard Hult <rhult@codefactory.se>
* src/yelp-window.c: Use stock item for about menu item.
2002-05-18 Mikael Hallendal <micke@codefactory.se>
* src/yelp-window.c:
- don't handle YelpViewTOC as a html view any more.
- use yelp_view_toc_get_widget when you need the widget.
* src/yelp-view-toc.c:
- don't inherit HtmlView, instead be a GObject (make all the views
a common base class).
- Removed html view stuff and use YelpHtml instead.
(toc_link_clicked_cb): removed
(toc_open): removed, use yelp_html_clear
(toc_close): removed, use yelp_html_close
(toc_write): removed, use yelp_html_write
(toc_printf): removed, use yelp_html_printf
(yelp_view_toc_open_uri): don't try to set adjustment, not a html
view any more
(toc_uri_selected_cb): added, signal from YelpHtml, just proxy.
* src/yelp-html.c
(yelp_html_new):
- Just set the view to be white
- Use the yelp_html_* functions instead of html_* directly.
(yelp_html_write):
- Swapped len and data arguments.
- If len = -1, assume NULL terminated string and use strlen.
(yelp_html_printf): added from yelp-view-toc.
* src/yelp-view-toc.c: conform with style.
* src/yelp-window.c: same.
* src/yelp-history.c: same.
* src/yelp-scrollkeeper.c: same.
* src/yelp-view-index.c (yelp_view_index_show_uri):
- commented out call to yelp_html_open_uri since it's been
removed.
* src/yelp-view-content.c:
- changed name on internal functions to conform with style.
- moved functions from yelp-html.c
- use the YelpReader to read the data instead of letting YelpHtml
handle it.
(yelp_view_content_stop): removed.
* src/yelp-html.c:
(html_reader_start_cb): moved to yelp-view-content.c
(html_reader_data_cb): same
(html_reader_finished_cb): same
(html_reader_error_cb): same
(yelp_html_clear): added/impl.
(yelp_html_write): added/impl.
(yelp_html_close): added/impl.
(yelp_html_cancel_loading): removed
(yelp_html_open_uri): removed
(yelp_html_set_base_uri): added/impl.
* src/yelp-reader.c:
(reader_man_info_start): emit "start"-signal.
(reader_io_watch_cb): do the right thing (hopefully) :)
* src/yelp-html.c:
(html_do_write): removed
(html_do_close): removed
(html_do_docbook): removed
(html_io_watch_cb): removed
(html_reader_start_cb): added/implemented, temporary
(html_reader_data_cb): added/implemented, temporary
(html_reader_finished_cb): added/implemented, temporary
(html_reader_error_cb): added/implemented, temporary
(html_do_maninfo): removed
(html_do_html): removed
(html_init): connect to reader signals.
(yelp_html_open_uri): removed lots of code and use YelpReader
instead. This should be removed entirely later on.
* src/yelp-html.c:
- renamed static functions to correspond to style.
* src/yelp-reader.h:
- removed YelpReaderStatus.
* src/yelp-reader.c:
- Now handles docbook, man, info, plain files, and external URI's.
(reader_class_init):
- added signals "start", "data", "finished" and "error".
(reader_db_start): added/impl.
(reader_db_write): added/impl.
(reader_db_close): added/impl.
(reader_man_info_start): added/impl.
(reader_io_watch_cb): added/impl.
(reader_file_start): added/impl.
(yelp_reader_read): take reader as argument and implemented.
* src/yelp-marshal.list: added marshal needed by YelpReader.
* src/yelp-html.c (yelp_html_do_docbook):
- take URI instead of text doc path and section.
* src/yelp-db2html.c (yelp_db2html_convert):
- take a URI instead of text doc path and section.
- don't close OutputBuffer here.
* src/test-reader.c:
(start_cb): added
(data_cb): added
(finished_cb): added
(main): start using the yelp-reader for testing.
* src/Makefile.am (test_reader_SOURCES):
- added files needed for this test program.
2002-05-08 Mikael Hallendal <micke@codefactory.se>
* src/test-reader.c: added, test file for the YelpReader.
* src/Makefile.am (yelp_SOURCES):
(test_reader_SOURCES): added test-reader
- added yelp-reader.[ch]
* src/yelp-uri.[ch]:
- removed the YelpReader-stuff from here.
* src/yelp-reader.[ch]:
- starting on this class that will take care of reading any given
YelpURI *uri and signalling when there is something to read.
2002-05-07 Christophe Merlet <christophe@merlet.net>
* src/Makefile.am: Really add ??!! $(DESTDIR) variable.
2002-05-07 Mikael Hallendal <micke@codefactory.se>
* src/yelp-section.c:
(yelp_section_new): check if name == NULL, hopefully fixes #80981.
* src/yelp-scrollkeeper.c:
(ys_parse_index_item): reverted my own stupidity.
2002-05-06 Sander Vesik <sander.vesik@sun.com>
* stylesheet/yelp-customization.xsl:
- initial support for <part>
- fix informaltable display
- fix revhistory display
- fix non-centering of 'Contents' in the footer navbar
- fix display of copyright holders on title page
- improvements to the Table of Contents page
2002-05-06 Mikael Hallendal <micke@codefactory.se>
* NEWS: fixup
* configure.in (GNOMELOCALEDIR): updated libgtkhtml2 deps.
* Release 0.7
* NEWS: updated for 0.7
* configure.in: bumped version to 0.7
* src/yelp-scrollkeeper.c:
- Fixes #80800
(ys_parse_index): silenced warning.
* src/yelp-window.c:
- use YelpURI.
(yw_handle_uri): somewhat cleaned up after YelpURI.
* src/yelp-view-toc.c:
- use YelpURI.
- Changed url_selected signal to uri_selected.
- Send the links as man:... instead of path:..
* src/yelp-view-index.c:
- use YelpURI.
- Changed url_selected signal to uri_selected.
- thinking about removing the html-view from this and only have it
as a entry + list for now. Later on we can add full text search
or more sofisticated searching.
* src/yelp-view-content.c:
- use YelpURI.
- Changed url_selected signal to uri_selected.
(yelp_view_content_show_uri):
- cleaned up A LOT since this became much much easier with
YelpURI.
* src/yelp-util.c (yelp_util_is_url_relative):
- made external and changed name from is_uri_relative.
(yelp_util_resolve_relative_url):
- chagned name from yelp_util_resolve_relative_url.
(tree_find_node_uri): use YelpURI.
(yelp_util_find_node_from_uri): same.
* src/yelp-uri.c:
- Thinking of making the YelpURIType a bit mask so that I can add
yelp_uri_is_type (YELP_URI_TYPE_MAN | YELP_URI_TYPE_INF) since
that kind of usage is all over.
- Support index: and path: (not sure if we need path:)
(yelp_uri_copy): added/impl
(yelp_uri_get_relative): added/impl
(yelp_uri_equal): added/impl.
(yelp_uri_equal_path): added/impl.
(yelp_uri_equal_section): added/impl.
(yelp_uri_to_string): added/impl.
* src/yelp-section.c:
- use YelpURI.
- Removed reference, scheme.
* src/yelp-scrollkeeper.c:
- use YelpURI.
- Don't create specific index:-uri's
(ys_parse_index_item): this was actually broken and only inputed
the last indexitem in the index-file. fixed.
* src/yelp-marshal.list (VOID:POINTER,BOOLEAN):
- replaced VOID:STRING,STRING,BOOLEAN (the old
url_selected-marshal).
* src/yelp-man.c:
- use YelpURI
- Don't create specific index:-uri's
(yelp_info_init): don't translate string 'man' which we are
trying to find with strcmp in yelp-view-toc.
* src/yelp-info.c:
- use YelpURI
- Don't create specific index:-uri's
(yelp_info_init): don't translate string 'info' which we are
trying to find with strcmp in yelp-view-toc.
* src/yelp-html.c:
- Updated to use YelpURI.
- changed signal from url_selected to uri_selected (emits YelpURI
instead of base_uri + rel_uri).
(yelp_html_do_maninfo): take a YelpURI instead of text uri + doc
type.
(yelp_html_open_uri):
- take YelpURI instead of text uri.
- this should later be moved into yelp_uri_{read,read_async}.
* src/yelp-history.c: Updated to use YelpURI.
* src/yelp-base.c (impl_Yelp_getWindows): use YelpURI.
* src/test-uri.c: test yelp_uri_to_string.
2002-05-06 Sander Vesik <sander.vesik@sun.com>
* stylesheets/yelp-customization.xsl: Initial multichunking code
2002-05-05 Mikael Hallendal <micke@codefactory.se>
* src/yelp-uri.c (uri_get_doc_type):
- Also handle toc:-uri's
(yelp_uri_exists): return correct answer :)
- Now implements jrb's ghelp-uri scheme.
- added doc_path-argument so that it doesn't have to be calculated
twice when creating a YelpURI.
(uri_get_path_from_relative): added/impl.
(uri_locate_help_file): added/impl.
(uri_locate_help_file_with_lang): added/impl.
(yelp_uri_new): removed the GError-argument.
* src/test-uri.c (main):
- be a GnomeProgram so that it can actually test something :)
* src/yelp-error.h: added YELP_ERROR_URI_NOT_EXIST
* src/yelp-uri.[ch]:
- Added, this is functions for manipulating and working with the
different uri-schemes possible.
* src/Makefile.am:
- added test-uri.
- added yelp-uri.[ch]
2002-05-04 Sander Vesik <sander.vesik@sun.com>
* stylesheets/yelp-customization.xsl: remove non-linking Next >>>
and change the codition that triggers table of contents in hopes
it fixes the bug where it is not displayed
2002-05-02 Sander Vesik <sander.vesik@sun.com>
* stylesheets/yelp-customization.xsl: add 'About This Document' link,
change toc to contents, change prev to previous, fix whitespace in
itemized lists and variable lists
2002-05-02 Jacob Berkman <jacob@ximian.com>
* configure.in: bump version back to 0.6.99
2002-05-01 Sander Vesik <sander.vesik@sun.com>
* stylesheets/yelp-customization.xsl: introduce css
2002-05-01 Mikael Hallendal <micke@codefactory.se>
* src/yelp-view-toc.c (yelp_view_toc_start): translation fix
reported by Jordi Mallach.
2002-04-29 Christophe Merlet <christophe@merlet.net>
* src/Makefile.am: Added $(DESTDIR) variable.
2002-04-29 Mikael Hallendal <micke@codefactory.se>
* Release 0.6.1
* configure.in: bumped version to 0.6.1
* NEWS: updated for 0.6.1
2002-04-28 Mikael Hallendal <micke@codefactory.se>
* src/Makefile.am (INCLUDES): removed -I$(includedir).
2002-04-28 Pablo Saratxaga <pablo@mandrakesoft.com>
* configure.in: Added "vi" entry to ALL_LINGUAS.
2002-04-27 John Fleck <jfleck@inkstain.net>
* yelp-db2html.c
load/parse the DTD
2002-04-05 Jonathan Blandford <jrb@redhat.com>
* src/yelp-info.c (yelp_info_read_info_dir): remove unneeded
special case.
2002-04-23 Mikael Hallendal <micke@codefactory.se>
* src/yelp-util.c (yelp_util_extract_docpath_from_uri):
- some more fixes.
* src/yelp-view-toc.c: added lots of \n to the outputed html,
makes it easier to read it.
* src/yelp-util.c (yelp_util_extract_docpath_from_uri):
- make this return a string with all duplicate // printed as /.
- This solves some IMPORTANT issues.
- Though I did this in a lazy way (by calling gnome_vfs_uri_new
and then back to string with gnome_vfs_uri_to_string. Should
probably look into if there is a function in gnome-vfs that does
this.
* src/yelp-html.c (yelp_html_io_watch_cb):
- made this actually work as expected.
- don't use g_io_channel_read, use g_io_channel_read_chars
instead.
2002-04-22 Mikael Hallendal <micke@codefactory.se>
* src/yelp-view-content.c (yelp_view_content_show_uri):
- split the url and send the section in the correct way to
yelp_html_open_uri.
* src/yelp-util.c (yelp_util_extract_docpath_from_uri):
- don't include the section/anchor/reference in the returned
string.
(yelp_util_resolve_relative_uri): handle #-sections too (html).
* src/yelp-html.c:
(yelp_html_do_html): added.
(yelp_html_do_docbook): get the section too.
(yelp_html_io_watch_cb):
- also finish if we couldn't read as much as we wanted.
- if section exists, jump to anchor.
(yh_url_requested_cb): correctly handle relative url's.
(yh_link_clicked_cb): don't shortcut if section is specified with
'?' which means it's docbook (which are chunked, not one big
document with anchors).
(yelp_html_open_uri): handle html, fixes: 79015
2002-04-19 Sander Vesik <sander.vesik@sun.com>
* stylesheets/yelp-customization.xsl: make "indirect" links work
and make several beautification changes
2002-04-18 Sander Vesik <sander.vesik@sun.com>
* stylesheets/yelp-customization.xsl: include yelp-custom.xsl
instead of gnome-custom.xsl, "fix" whitespace, collect link
cell drawing into their own templates, fix alignment of
links in the navbars
2002-04-18 Changwoo Ryu <cwryu@debian.org>
* configure.in (ALL_LINGUAS): Added ko (Korean).
2002-04-18 Mikael Hallendal <micke@codefactory.se>
* src/yelp-html.c:
- Use g_spawn_async_with_pipes and then io_watch to read the data
in asynchronous.
* src/yelp-man.c (yelp_man_populate_tree_for_subdir): set the uri
for man-pages to be man:name.section instead of full path. Seems
to work much much better this way.
* src/yelp-html.c:
- removed is_doc from read_data-struct, not used anymore
- Don't use the GnomeVFS module, instead call the external
programs directly with g_spawn.
(yelp_html_do_non_docbook): removed, replaced by do_maninfo.
(yelp_html_do_maninf): added. This will soon be rewritten to use
g_spawn_async_with_pipes.
2002-04-16 Abel Cheung <maddog@linux.org.hk>
* configure.in: Added "zh_TW" to ALL_LINGUAS.
2002-04-15 Mikael Hallendal <micke@codefactory.se>
* configure.in: bumped version to 0.6.99
* Release 0.6
* configure.in: bumped version to 0.6
* src/yelp-window.c: fixed a couple of warnings.
(yw_handle_url): send the error correctly to gnome_url_show,
thanks rhult :)
* configure.in: bumped gtkhtml2 requirements.
* src/yelp-html.c (yelp_html_do_non_docbook):
- show error dialog if open fails.
* src/yelp-error.h (YELP_ERROR): added error for non-docbook
documents.
* src/yelp-db2html.c (yelp_db2html_convert): use stylesheet from
stylesheets/.
(yelp_db2html_convert): updated to reflect changes in the
stylesheet.
* stylesheets/*: Added, includs patch from sander to
gnome-doc-list.
* configure.in (AC_OUTPUT): added stylesheets/Makefile.
* Makefile.am (SUBDIRS): added stylesheets
2002-04-14 Mikael Hallendal <micke@codefactory.se>
* src/yelp-view-toc.c: pretty-fied the sub-pages too.
* src/yelp-window.c (yw_handle_url): pass the error to
gnome_url_show.
* src/yelp-db2html.c (yelp_db2html_convert): better
error-handling.
* src/yelp-html.c:
(yelp_html_idle_read_end): don't free the handle twice.
(yelp_html_idle_read_end): reset pointer to normal.
(yelp_html_open_uri): set cursor to watch.
* src/yelp-window.c (yw_handle_url): If error is set during
set_uri, popup an error-dialog describing the error.
* src/yelp-html.c:
- Added support for GError's
* src/yelp-view-index.c: same.
* src/yelp-view-content.c: same.
* src/yelp-db2html.c:
- Include gnome-i18n.h
- Mark the error messages for translation.
(yelp_db2html_convert): revert a little, in wait for sanders new
stylesheets.
- use GError to signal errors while parsing document. Still needs
to be added to above layers.
- don't leek the stylesheet name.
* src/yelp-error.[ch]: added.
* src/yelp-view-content.c: added includes to fix warnings.
* src/yelp-view-index.c: same.
* src/yelp-util.c (yelp_util_extract_docpath_from_uri):
- added support for man and info pages too.
* src/yelp-html.c:
- loads of changes :)
- don't use GnomeVFS Async calls.
- Read non-docbook data in an idle
- Shortcut the gnome vfs help module and call internal
docbook2html code instead if document is xml/sgml docbook.
- Needs more cleaning up and breaking out into another file/class.
- Don't inherit HtmlView, instead inherit GObject and have a
get_widget function.
* src/yelp-db2html.[ch]: added from libgnome. Use this in-proc
instead of calling as external scripts.
* src/Makefile.am (yelp_SOURCES): added yelp-db2html.[ch]
* configure.in (GNOMELOCALEDIR): depend on libxslt for the
docbook->html conversion.
2002-04-12 Mikael Hallendal <micke@codefactory.se>
* src/yelp-view-toc.c (TOC_BLOCK_SEPARATOR): fixed string, thanks
menthos.
2002-04-11 Mikael Hallendal <micke@codefactory.se>
* src/yelp-view-toc.c (yelp_view_toc_start): changed the string
"Get Help on..." to "Help Contents" by suggestion from Calum.
* configure.in (GETTEXT_PACKAGE): added ja to ALL_LINGUAS
* src/yelp-view-toc.c:
- did some cleanups
- make output in first page look nicer.
- Changed a few strings, SORRY!! Fixes: #73439
* src/yelp-view-content.c (yelp_view_content_stop): added/impl.
* src/yelp-util.c:
(tree_find_node_uri): renamed from tree_find_node.
(yelp_util_find_node_from_name): added/impl.
(tree_find_node_name): added/impl.
* src/yelp-html.c:
(yh_init): set content-type to utf8 on the loading document.
(yelp_html_cancel_loading): added, doesn't do anything yet.
2002-04-10 Richard Hult <rhult@codefactory.se>
* src/yelp-view-index.c (yelp_view_index_new): Add a bit of
padding around the search label.
Put the index list in a frame with IN shadow.
2002-04-10 Padraig O'Briain <padraig.obriain@sun.com>
* src/yelp-scrollkeeper.c (ys_parse_index):
Fix small memory leak (#77733)
2002-04-04 Mikael Hallendal <micke@codefactory.se>
* src/yelp-window.c: use GConf for the toolbar style.
* src/yelp-html.c: added a "Loading..." while loading the
document. New string, sorry about that. This also needs a new
change in gtkhtml2 so I'll update the reqs after the next
release of gtkhtml2.
* configure.in (GNOMELOCALEDIR): added gconf-2.0
2002-04-03 Gustavo Maciel Dias Vieira <gdvieira@zaz.com.br>
* configure.in (ALL_LINGUAS): Added pt_BR.
2002-03-25 Mikael Hallendal <micke@codefactory.se>
* NEWS: updated (oops, missed 0.5 release).
* configure.in: bumped version to 0.5
2002-03-24 Zbigniew Chyla <cyba@gnome.pl>
Fixes #72583
* src/yelp-view-toc.c (yelp_view_toc_write_header):
Put <meta http-equiv="Content-Type" ...> _before_ <title> tag
so that document's encoding is known before we encounter localized
title (UTF-8 string).
2002-03-23 Mikael Hallendal <micke@codefactory.se>
* src/yelp-info.c (yelp_info_init):
- Fixed #75218
- Read INFOPATH to locate path to info files.
* src/yelp-util.c:
(yelp_util_extract_docpath_from_uri): reverted this to it's
initial behaviour.
(yelp_util_split_uri): added this instead which supports
ghelp/man/info uri's. It also always have the type of uri
prepended in the return uri.
* src/yelp-html.c (yelp_html_open_uri): this function is getting
ugly, have to clean it up.
(yelp_html_open_uri): use yelp_util_split_uri intead to get the
docpath and the anchor (it supports man and info too, not just
ghelp:-uri's. Fixes #72637).
* src/yelp-window.c: commented out the Quit-option, we might not
want to have it around because you often use Yelp in another way
(ie. klicking Help in an application). Fixes #75081
* src/yelp-view-toc.c (yelp_view_toc_open_url): scroll to the
beginning of the document after reading it. Fixes #72965
* src/yelp-util.c:
(yelp_util_extract_docpath_from_uri): added an argument if we want
the return docpath to be prepended with "ghelp:" or not.
(yelp_util_find_anchor_in_uri): added/impl.
* src/yelp-scrollkeeper.c (ys_parse_toc_section): use strstrip
instead of strchomp to clean up the name.
* src/yelp-html.c:
(yh_link_clicked_cb): also jump if the relative reference is ?foo
(yelp_html_open_uri): don't reload the page if it's the same as
already showing.
2002-03-20 Mikael Hallendal <micke@codefactory.se>
* src/yelp-view-index.c (set_relation): style-fixes.
2002-03-20 Jagadeesh B. G <jagadeesh.bana@wipro.com>
* src/yelp-view-index.c: Set atk relation for search entry and
label as part of accessibility changes
2002-03-20 Padraig O'Briain <padraig.obriain@sun.com>
* src/yelp-window.c (yw_handle_url): Call yelp_view-content)show_uri()
before gtk_notebook_set_current_page() (#75570)
2002-03-20 Christophe Merlet <redfox@eikonex.org>
* configure.in: Added fr to $ALL_LINGUAS.
2002-03-19 Mikael Hallendal <micke@codefactory.se>
* configure.in: bumped version to 0.4.99
* Release 0.4
* configure.in: updated to 0.4
2002-03-19 Sandeep V Honde <sandeep.honde@wipro.com>
* src/yelp-main.c:
- Session management support for multiple
windows added.
(yelp_save_session) :modified.
(yelp_restore_session) :added/impl.
2002-03-04 Mikael Hallendal <micke@codefactory.se>
* configure.in: bumped version to 0.3.99
* Release 0.3
* configure.in:
- updated version to 0.3
- updated deps of libgnome and gtkhtml2
* NEWS: updated for 0.3
2002-03-05 Wang Jian <lark@linux.net.cn>
* configure.in: Added "zh_CN" to ALL_LINGUAS.
2002-03-04 Pablo Saratxaga <pablo@mandrakesoft.com>
* src/yelp-window.c: add a comment for translators
2002-03-03 Mikael Hallendal <micke@codefactory.se>
* src/yelp-man.c:
- Fixes #73292
(yelp_man_populate_tree_for_subdir): add to section index list.
(yelp_man_init): concat the man index list with the global.
* src/yelp-info.c (yelp_info_init): call strdown on the names
before adding to index.
* src/yelp-index-model.c (yelp_index_model_filter): don't show all
index-words by default. Only show the words matching the
query. Not sure what is the best way to do this, but with all
man and info pages in the index it got pretty crowded.
* src/yelp-base.c (yelp_base_new): pass index to man_init.
* src/yelp-window.c (yelp_window_new): fixed an error if you don't
have an index installed (thanks rhult).
* src/yelp-index-model.c: use the new YELP_SECTION-macro.
* src/yelp-view-toc.c: same.
* src/yelp-util.c: same.
* src/yelp-scrollkeeper.c: same.
* src/yelp-section.h: added casting macro YELP_SECTION.
* src/yelp-base.c (yelp_base_new): pass index-list to info init.
* src/yelp-info.c (yelp_info_init):
- Fixes #73291
- added index-list to argument.
- add info pages to index-list.
* src/yelp-view-toc.c (yelp_view_toc_start):
- Fixes #72146
- Don't show "Other documents" if neither man or info are
installed.
- Don't show "Manual pages" link if no man pages are installed
- Don't show "Info pages" link of no info pages are installed.
* src/yelp-man.c (yelp_man_init):
- return FALSE and don't create a topnode 'man' in the content
tree if there weren't any man pages installed.
* src/yelp-info.c (yelp_info_init):
- return FALSE if no info pages was found. Also don't create the
topnode 'info' in the content-tree if there weren't any pages.
* src/yelp-html.c: removed commeted code.
* src/yelp-base.c (yelp_base_new): don't care about the result for
now.
* src/yelp-info.c:
- Fixes #73270
(yelp_info_read_info_dir): renamed from
yelp_info_populate_tree_for_subdir. It not takes a list instead.
(yelp_info_init): First read the sections into a list, sort it and
append it to the GNode.
* src/yelp-info.c: conform with the Yelp coding style.
* src/yelp-man.c: same
* configure.in (GNOMELOCALEDIR): depend on a certain number of
libgnome, will update this when new libgnome get's released.
* src/yelp-window.c:
- Fixes #73056
(yelp_window_new): don't create index view if no index is
available.
(yw_create_toolbar): don't add index-button if index is not
available.
(yw_populate): don't insert index page in notebook if index is not
present.
* src/yelp-base.c:
(impl_Yelp_getWindows): added/impl.
(yelp_base_class_init): use getWindows.
* idl/GNOME_Yelp.idl (GNOME):
- Added getWindows which returns a sequence of strings with the
URL's of all open windows. This is needed to save the
session-state. (Fixes #73184).
* src/yelp-window.c:
(yelp_window_get_current_uri): added, needed for session
management.
* src/yelp-html.c (yh_free_stream_data): removed debug printout.
* src/yelp-view-index.c:
- Fixed #67954
(yvi_html_url_selected_cb): implemented.
(yelp_view_index_show_uri): fixed compile warning.
* src/yelp-window.c:
(yw_handle_url): check if url starts with index:, if so, let
YelpViewIndex handle it.
(yelp_window_new): connect to url_selected on YelpViewIndex.
* src/yelp-view-index.c:
- added URL_SELECTED signal.
(yvi_index_selection_changed_cb): emit url_selected.
(yvi_entry_activated_cb): fixed warning.
(yvi_filter_idle): same.
(yelp_view_index_show_uri): added/impl.
* src/yelp-view-content.c: removed the title-changed signal for
now. I should really make all views derive from the same
object. Lots of things are similar. (at least for YelpViewIndex
and YelpViewContent.
* src/yelp-scrollkeeper.c:
(ys_parse_index_item):
- add a ? before the link.
- add a index: before the uri
The uri will now be index:ghelp:... (not soo nice but it's to
make the window know which view it is).
2002-03-02 Mikael Hallendal <micke@codefactory.se>
* src/yelp-view-index.c:
- removed lots of debug output.
(yvi_entry_changed_cb): implemented. call filter from idle.
(yvi_filter_idle): added/impl.
(yvi_search): removed.
* src/yelp-section.c:
(yelp_section_compare): take the arguments as gconstpointer so the
function doesn't have to be cast everytime used.
* src/yelp-scrollkeeper.c:
(ys_parse_index_item):
- don't add title if it's not valid utf8. Is this check needed?
- call strdown on all title's in the index-terms.
* src/yelp-index-model.c:
(yelp_index_model_filter): added/impl.
* src/yelp-view-index.c:
(yvi_index_selection_changed_cb): use the column-enum to specify
columns.
* src/yelp-index-model.c:
(yim_init): initially set index_words to NULL.
(yim_get_column_type): return the correct type.
(yim_get_value): add support for the extra hidden section column.
(yelp_index_model_set_words): inform that new lines have been
added to the model.
* src/yelp-index-model.h: added a column-enum
* src/Makefile.am: removed gtktreemodelfilter
* src/gtktreemodelfilter.[ch]: removed, not used and _kris_ is
doing the development in libegg now.
* src/yelp-view-index.c:
- replaced the old ListStore with the new YelpIndexModel.
(yvi_index_term_add): removed, not needed when using own model.
(yvi_setup_index_view): removed.
* src/yelp-index-model.[ch]: missed some copy&paste-changes when
copying the model from MrProject :)
(yelp_index_model_set_words): added.
* src/yelp-view-index.c:
- in-the-middle-commit on index search stuff.
(yvi_entry_changed_cb): added
(yvi_entry_activated_cb): added
(yvi_entry_text_inserted_cb): added
(yvi_search): added
(yvi_complete_idle): added
(yvi_complete_func): added
(yelp_view_index_new): connect to signals in the entry.
* src/yelp-scrollkeeper.c: removed debug variable.
* src/yelp-index-model.[ch]: added model for the index.
* configure.in: added compile warnings.
2002-02-28 Mikael Hallendal <micke@codefactory.se>
* src/yelp-window.c:
(yw_about_cb): added translator-credits to about-box.
- #72636 fixed.
- added GtkItemFactory to priv-struct.
- added a Go-menu with the actions from the toolbar in it.
- removed accelerators from toolbar items.
- renamed some functions that made it easier to add the Go-menu.
2002-02-28 Sandeep V Honde <sandeep.honde@wipro.com>
* src/yelp-main.c :
- Basic support for Session Management.
(yelp_save_session): added/impl.
(yelp_client_die) : added/impl.
2002-02-28 Mikael Hallendal <micke@codefactory.se>
* src/yelp-view-index.c:
(yelp_view_index_new): Added "Search for:" label in fron of the
search entry. Fixes #72643
* src/yelp-window.c:
(yw_create_toolbar):
- Update string, fixes #72634
- Update string, fixes #72635
* src/yelp-view-toc.c:
(yelp_view_toc_man_1): Update string, fixes #72638
(yelp_view_toc_start): Update string, fixes #72632
2002-02-25 Mikael Hallendal <micke@codefactory.se>
* src/yelp-view-index.c:
(yvi_index_term_add): added/impl.
(yvi_setup_index_view): added/impl.
(yelp_view_index_new): call yvi_setup_index_view.
* src/yelp-scrollkeeper.c: removed some debug printouts.
* src/yelp-window.c:
(yelp_window_new): added index-list to arguments.
* src/yelp-view-index.c: started to fix (was a copy&paste from
yelp-view-content.
* src/yelp-section.h: added YELP_SECTION_INDEX to YelpSectionType.
* src/yelp-section.c: include string.h, fixes compile warning.
* src/yelp-scrollkeeper.c:
- Basic support for ScrollKeeper index added
- use g_ascii_strcasecmp instead of depricated g_strcasecmp.
Thanks to the wipro guys for notifying.
(ys_parse_index): added/impl.
(ys_parse_index_file): added/impl.
(ys_parse_index_item): added/impl.
(yelp_scrollkeeper_init):
- added GList **index to arguments.
* src/yelp-main.c:
(yelp_main_open_new_window): use g_error
(yelp_main_start): same.
* src/yelp-history.c: include string.h, fixes compile warning.
* src/yelp-base.c: added index-list to priv-struct
(yelp_base_new): call scrollkeeper_init with index-list
(yelp_base_new_window): send the index-list to the new window.
2002-02-22 Kjartan Maraas <kmaraas@gnome.org>
* src/yelp-main.c: Remove unsupported #ifdef ENABLE_NLS stuff.
2002-02-20 Simos Xenitellis <simos@hellug.gr>
* configure.in: Added "el" to ALL_LINGUAS.
2002-02-18 Mikael Hallendal <micke@codefactory.se>
* src/yelp-history.c (yelp_history_goto): don't add entry to
history list if it's the same as the current.
* src/yelp-window.c (yw_home_button_clicked): Notify the history
list that we have moved.
* src/yelp-view-index.c (yvi_tree_selection_changed_cb): call
yelp_html_open_uri instead of yelp_html_open_section.
* src/yelp-html.[ch] (yelp_html_open_uri): renamed from
yelp_html_open_sectoin. It now takes an uri and a reference
instead of a YelpSection.
* src/yelp-view-content.c (yelp_view_content_show_uri): call
yelp_html_open_uri instead of creating a temporary YelpSection.
* src/yelp-view-toc.c (yelp_view_toc_man_2): don't send html for
translations, reported by Christian Rose
* src/yelp-window.c (yw_init): make the default size smaller.
* src/yelp-view-toc.c: typedef the YelpImportantDocsSection struct
(yelp_view_toc_start): only write section topic for important
documents if there is any documents installed in that section.
* src/yelp-util.c (yelp_util_extract_docpath_from_uri):
- Also work for sgml documents.
2002-02-18 Gediminas Paulauskas <menesis@delfi.lt>
* configure.in: remove GNOME_COMMON_INIT, GNOME_PLATFORM_GNOME_2
2002-02-17 Tőivo Leedjärv <leedjarv@interest.ee>
* configure.in: Added et to ALL_LINGUAS.
2002-02-13 jacob berkman <jacob@ximian.com>
* src/Makefile.am (install-exec-local): rename install-local since
automake doesn't like it
2002-02-13 Alex Larsson <alexl@redhat.com>
* src/yelp-view-toc.c (yelp_view_toc_write, yelp_view_toc_close,
yelp_view_toc_open):
Implement buffering writes for generated html.
2002-02-13 Alex Larsson <alexl@redhat.com>
* src/Makefile.am (install-local):
Remove old gnome-help binary, if any.
2002-02-13 Alex Larsson <alexl@redhat.com>
* src/Makefile.am (install-local):
Install a gnome-help symlink
2002-02-13 Mikael Hallendal <micke@codefactory.se>
* configure.in: release 0.2.1
* reverted binary name change.
* src/yelp-main.c (main): initiate url to empty string instead of
NULL. Fixed #71350
* src/yelp-base.c (impl_Yelp_newWindow): check if url is empty
before trying to open it.
2002-02-12 Alex Larsson <alexl@redhat.com>
* important_docs.xml:
* src/yelp-view-toc.c:
Add sections to the important docs file
Consistently call it "Manual pages" instead of "Man pages".
Add link back to toc:man from the secondary level man page indexes.
2002-02-10 Mikael Hallendal <micke@codefactory.se>
* src/*.c: cleaned up includes
* src/yelp-util.c (yelp_util_extract_docpath_from_uri): remove
warning.
* src/yelp-window.c (yw_handle_url): show external URL's in
external viewer. #67962
2002-02-06 Alex Larsson <alexl@redhat.com>
* src/yelp-util.c (yelp_util_extract_docpath_from_uri):
Correctly handle the case when gnome_vfs_uri_new() fails.
2002-01-31 Satan <snickell@stanford.edu>
* Makefile.am:
* gnome-help.desktop.in:
* src/Makefile.am:
* yelp.desktop.in:
Renname stuff to "gnome-help".
Because I'm a boring kind of guy.
2002-01-31 Roy-Magne Mo <rmo@sunnmore.net>
* configure.in: Added nn to ALL_LINGUAS.
2002-01-30 Zbigniew Chyla <cyba@gnome.pl>
* configure.in (ALL_LINGUAS): Added pl (Polish).
2002-01-30 Mikael Hallendal <micke@codefactory.se>
* configure.in: bumped version to 0.2.99
* Release 0.2
* src/yelp-view-toc.c (yelp_view_toc_write_header): added encoding
utf-8 to html header.
* README: updated
* configure.in: bumped version.
* src/yelp-util.c: removed debug printouts.
* src/yelp-html.c: hide debug printouts.
* src/yelp-view-content.c: same.
* src/yelp-window.c: same.
* src/yelp-window.c (yw_populate): translate strings from item
factory.
* src/yelp-view-toc.c
(yelp_view_toc_start): marked strings for translation.
(yelp_view_toc_start): same.
(yelp_view_toc_man_2): same.
(yelp_view_toc_man_1): same.
(yelp_view_toc_info): same.
(yelp_view_toc_scrollkeeper): same.
* src/yelp-window.c:
(yw_url_selected_cb):
- if both base_url and url is set call resolve_relative_url to get
the absolute url.
- if only one of them is set, use that one.
* src/yelp-view-content.c:
- moved the scrolled window for the tree into the priv-class.
(yvc_tree_selection_changed_cb): emit url-selected signal.
(yelp_view_content_show_path): removed, unused.
(yelp_view_content_show_uri):
- hide the tree if: man, info or xml/sgml document without TOC.
- don't reload the tree if it's the same document that's going to
be showed again.
- Retrieve the ScrollKeeper tree based on fullpath uri to file,
relative link stripped.
* src/yelp-util.c:
(yelp_util_contents_add_section): removed, unused.
(yelp_util_resolve_relative_uri): if uri starts with ? just concat
the base_uri with the relative link.
(tree_find_node): Search a tree to find a node that matches an
uri.
(yelp_util_find_node_from_uri): traverse the tree to find the node
for a certain URI.
(yelp_util_extract_docpath_from_uri): added, helper function that
takes a URI and calculates an absolute path to the document
(without anchors). This is used to find the TOC tree for that
document. This function needs some tweaking.
* src/yelp-scrollkeeper.[ch]
(yelp_scrollkeeper_get_toc_tree): renamed from
..._get_toc_tree_model.
2002-01-29 Seth Nickell <snickell@stanford.edu>
* yelp.desktop.in:
Tweak comment.
2002-01-27 Mikael Hallendal <micke@codefactory.se>
* src/yelp-view-content.c: added title-changed signal. Shouldn't
perhaps be here. Will perhaps remove it and do it all from
YelpWindow.
* src/yelp-util.[ch] (yelp_util_find_node_from_uri): added
unimpl.
* src/yelp-marshal.list: added VOID:STRING
* src/yelp-main.c (main): look if an extra argument was passed, if
it was send it to yelp_main_start.
(yelp_main_idle_start): take url as argument
(yelp_main_start): dito
(yelp_main_open_new_window): send url to GNOME_Yelp_newWindow
* src/yelp-base.c (impl_Yelp_newWindow): take a url argument. If
it's not NULL it will open the window with that URI showing.
* idl/GNOME_Yelp.idl (GNOME): newWindow now takes a url-argument.
* src/yelp-view-content.c (yelp_view_content_show_uri):
- if uri starts with ghelp:, try to find the TOC for that document
in scrollkeeper. If it's found, display it in the tree widget.
* src/yelp-scrollkeeper.c:
- Removed old stuff outcommented and unused code.
(ys_parse_toc_section): fill a GNode tree instead of GtkTreeStore.
(yelp_scrollkeeper_get_toc_tree_model): use GNode instead of
GtkTreeStore.
* src/yelp-html.c (yelp_html_open_section): NULL-terminate list of
strings to g_strconcat.
* src/yelp-scrollkeeper.c:
(yelp_parse_toc): removed, code moved to
yelp_scrollkeeper_get_toc_tree_model
(yelp_scrollkeeper_get_toc_tree_model): moved the code from
yelp_parse_toc.
* src/yelp-main.c (yelp_main_start): give an error if we can't
active the yelp-base, might solve #69134. Not the cause but the
segfault.
(yelp_main_idle_start): dito.
2002-01-26 Mikael Hallendal <micke@codefactory.se>
* src/Makefile.am: removed BUILD_SOURCES since it seems to create
problems with automake 1.4.
* Thanks to Laszlo PETER <Laszlo.Peter@ireland.sun.com> for the
following patches.
* src/yelp-view-toc.c:
(yelp_view_toc_write_header): buildfixes when not using gcc.
(yelp_view_toc_start): dito
* src/yelp-html.c: build fixes when not using glibc.
* configure.in: make yelp build with other compilers than GCC.
* src/yelp-window.c:
- Fixed history
(yw_handle_url): added, broke out code from
yw_url_selected_cb. Called from history_button_clicked too.
(yw_url_selected_cb): call yw_handle_url instead of parsing the
url internally. If yw_handle_url returns TRUE, add the url in
the history.
2002-01-25 Alex Larsson <alexl@redhat.com>
* important_docs.xml:
New file.
* Makefile.am:
Install important_docs.xml
* src/yelp-view-toc.c:
Parse important_docs.xml instead of hardcoding them
* configure.in:
Remove "hu" from ALL_LINGUAS, as it breaks the build.
2002-01-25 Ole Laursen <olau@hardworking.dk>
* configure.in: Added "da" to ALL_LINGUAS.
2002-01-25 Szabolcs Ban <shooby@gnome.hu>
* po/hu.po: Added Hungarian translations from Emese Kovacs
<emese@gnome.hu>, cvs troubles solved, sorry for that
Fri Jan 25 12:43:19 2002 Owen Taylor <otaylor@redhat.com>
* configure.in: Remove 'hu' from ALL_LINGUAS since
the po file wasn't actually added.
2002-01-25 Szabolcs Ban <shooby@gnome.hu>
* po/hu.po: Added Hungarian translations from Emese Kovacs
<emese@gnome.hu>
2002-01-24 Alex Larsson <alexl@redhat.com>
* src/yelp-util.[ch]:
Add yelp_util_find_toplevel().
* src/yelp-view-content.[ch]:
Add some tree support.
* src/yelp-view-toc.c:
Add scrollkeeper support.
* src/yelp-window.c:
Remove old crap, make content view work again.
2002-01-24 Alex Larsson <alexl@redhat.com>
* src/yelp-view-toc.c:
Add initial scrollkeeper support.
2002-01-24 Alexander Shopov <al_shopov@web.bg>
* configure.in (ALL_LINGUAS): added "bg"
2002-01-23 Alex Larsson <alexl@redhat.com>
* src/yelp-scrollkeeper.[ch]:
Implement seriesid lookup.
* src/yelp-view-toc.c:
Fix the startpage to contain the seriesid docs, and
be more dynamic.
2002-01-23 Alex Larsson <alexl@redhat.com>
* src/yelp-util.c:
Change path separator to '/'.
* src/yelp-view-toc.c:
Implement simple toc:info URL handler.
2002-01-23 Alex Larsson <alexl@redhat.com>
* src/yelp-util.c:
Clean up section->name usage
* src/yelp-view-toc.c:
Clean up and fix double free in yelp_view_toc_full_path_name()
2002-01-22 Alex Larsson <alexl@redhat.com>
* src/yelp-man.c (yelp_man_push_initial_tree):
Fix silly bug.
* src/yelp-util.[ch]:
Add functions to go between Nodes in the doc tree and
string paths.
* src/yelp-view-toc.c:
Update man handling to GNodes.
2002-01-23 Mikael Hallendal <micke@codefactory.se>
* src/yelp-window.c (yw_history_button_clicked):
- use string instead of YelpSection with history.
* src/yelp-history.[ch]: work with strings instead of
YelpSection.
2002-01-22 Hasbullah Bin Pit <sebol@ikhlas.com>
* configure.in: Added ms to ALL_LINGUAS.
* po/ms.po: Added Malay Translation by
Mohamad Afifi Omar <mr_mohd_afifi@yahoo.com> and me.
2002-01-22 Mikael Hallendal <micke@codefactory.se>
* src/yelp-view-toc.c: started to rewrite to use GNode-tree
instead of GtkTreeStore.
* src/yelp-base.c: use a GNode-tree instead of the GtkTreeStore.
* src/yelp-window.c: dito.
* src/yelp-scrollkeeper.[ch]: dito.
* src/yelp-man.[ch]: dito.
* src/yelp-info.[ch]: dito.
* src/yelp-window.c: use stock items for menu.
2002-01-21 Alex Larsson <alexl@redhat.com>
* src/yelp-marshal.list:
Add a boolean the the marshaller needed for url_selected
* src/yelp-section.h:
Fix typo in #endif
* src/yelp-html.[ch]:
Change section_selected to url_selected
* src/yelp-view-content.[ch]:
Add url_selected signal that proxies YelpHtml::url_selected
Implement yelp_view_content_show_uri.
* src/yelp-view-index.c:
Change section_selected to url_selected
* src/yelp-view-toc.[ch]:
Change path_selected to url_selected
More man index work.
Moved startpage to it's own function.
Exported yelp_view_toc_open_url().
* src/yelp-window.c:
Common way to follow link is now the url_selected signal
on views.
2002-01-21 jacob berkman <jacob@ximian.com>
* src/Makefile.am (EXTRA_DIST): the .list file has a -
2002-01-21 Seth Nickell <snickell@stanford.edu>
* yelp.desktop.in:
Call it "Help".
2002-01-19 Mikael Hallendal <micke@codefactory.se>
* src/yelp-base.c
(yelp_base_window_finalized_cb): added/impl.
quit the bonobo-main when last window is destroyed.
(yelp_base_new_window): add a weak ref to the new window. used to
be able to quit bonobo-main when last window is destroyed.
* src/yelp-info.c (yelp_info_init):
- check if /usr/share/info and /usr/info is the same before adding
both.
* src/yelp-man.c (yelp_man_init):
- Use g_spawn_command_line_sync instead of popen.
- if 'manpath' command is not found, look for MANPATH env. before
using /usr/man and /usr/share/man
- cleaned up a little to better fit into Yelp code.
* src/yelp-html.c (yelp_html_new): remove the temp printout. just
print Yelp for now.
* src/yelp-man.c (yelp_man_init):
check that /usr/man and /usr/share/man doesn't point to the same
place.
* src/yelp-scrollkeeper.c:
(ys_strip_scheme): rewrote to
- accept NULL instead of scheme
- return the new string instead of breaking down the one passed
in.
- use strstr instead of g_strstr_len with the entire string as
len.
(ys_parse_doc):
- send NULL to ys_strip_scheme since we are not interested in the
scheme for now. Also clean up that stuff a bit.
- call xmlFree on the xml-strings instead of g_free.
- don't free docsource before it's last use :)
2002-01-19 Alexander Larsson <alla@lysator.liu.se>
* src/yelp-scrollkeeper.c (ys_strip_scheme):
Set *scheme, not scheme on error
2002-01-18 Alex Larsson <alexl@redhat.com>
* configure.in:
Add AM_PATH_GLIB_2_0 to get GLIB_GENMARSHAL
* src/yelp-marshal.list
* src/Makefile.am:
Generate marshaller files
* src/yelp-view-toc.[ch]:
New url_selected signal.
* src/yelp-scrollkeeper.c:
Fix leak
2002-01-17 Alex Larsson <alexl@redhat.com>
* src/yelp-window.c (yw_populate):
Make TOC view scrolled window policy AUTO.
* yelp-view-toc.c:
More initial man work.
2002-01-16 Seth Nickell <snickell@stanford.edu>
* Makefile.am:
* yelp.desktop.in:
Install .desktop file into the proper location, and fix
its Categories field. Use the gnome-help.png icon.
2002-01-15 Alex Larsson <alexl@redhat.com>
* src/yelp-view-toc.c:
Initial work on sane html generation, including some
man index work.
* yelp-info.c:
* yelp-man.c:
* yelp-scrollkeeper.c:
Rename the toplevel nodes to "man", "info" and "scrollkeeper".
Tue Jan 15 23:27:44 2002 Kristian Rietveld <kris@gtk.org>
* src/gtktreemodelfilter.[ch]: update
2002-01-14 Alex Larsson <alexl@redhat.com>
* yelp-section.[ch]:
Add section type to section.
* src/yelp-html.c:
* src/yelp-info.c:
* src/yelp-man.c:
Update for the section type change.
* src/yelp-scrollkeeper.c:
Update for the section type change.
Make a scrollkeeper toplevel node.
2002-01-14 Mikael Hallendal <micke@codefactory.se>
* src/yelp-view-toc.[ch]: renamed from YelpViewHome.
* src/yelp-window.c: use YelpViewTOC instead of YelpViewHome.
* AUTHORS: added Alexander Larsson
* src/yelp-window.c (yw_about_cb): added Alexander Larsson to
authors.
* configure.in: bumped version to 0.1.99
2002-01-11 Alex Larsson <alexl@redhat.com>
* src/yelp-html.c (yh_link_clicked_cb):
Shortcut pure relative links.
(yelp_html_open_section): If there is a fragment
in the uri, put that in sdata->anchor so that we
jump to the anchor on load.
2002-01-11 Alex Larsson <alexl@redhat.com>
* src/yelp-util.[ch]:
Add yelp_util_resolve_relative_uri() that resolves
relative text uris. Taken from Gnome VFS. We can't use
the Gnome-vfs one, since gnome_vfs_uri_new() expands
the uris.
* src/yelp-html.c (yh_link_clicked_cb):
Correctly follow relative URIs.
2002-01-11 Mikael Hallendal <micke@codefactory.se>
* src/yelp-window.c (yw_create_toolbar): don't include help-on in
the toolbar.
2002-01-10 Mikael Hallendal <micke@codefactory.se>
* src/yelp-view-content.c:
- use the new GtkTreeModelFilter.
(yvc_tree_selection_changed_cb): get the model from the actual
tree and use it to get the section selected.
(yelp_view_content_new): don't set the model here, use the
filtered model in content_show_path instead.
(yelp_view_content_show_path): set the model to a filtered model
with virtual root set to the selected path.
* src/yelp-util.c (yelp_util_contents_add_section): set third
hidden filter-column to always TRUE (always visible).
* src/yelp-base.c (yelp_base_init): added boolean hidden column
needed by the filtering.
* src/gtktreemodelfilter.[ch]: added GtkTreeModelFilter from
Kristian Rietval, this is temporaray until this makes it into
Gtk+ or some extra library.
* src/Makefile.am:
(yelp_LDADD): added libgtktreemodelfilter
(noinst_LTLIBRARIES): added libgtktreemodelfilter.
2002-01-10 Christian Rose <menthos@menthos.com>
* configure.in: Added "nl" to ALL_LINGUAS.
2002-01-09 Alex Larsson <alexl@redhat.com>
* acconfig.h:
* configure.in:
Look for libbz2
* src/Makefile.am
* src/yelp-man.[ch]:
* src/yelp-info.[ch]:
New files
* src/yelp-base.c (yelp_base_new):
Call yelp_man_init() and yelp_info_init().
* src/yelp-section.[ch]:
Add yelp_section_compare for sorting by name.
2002-01-09 Mikael Hallendal <micke@codefactory.se>
* src/yelp-base.[ch]: use BonoboObject instead of BonoboXObject,
thanks rhult for notifying me.
2002-01-06 Christian Rose <menthos@menthos.com>
* configure.in: Added "es" to ALL_LINGUAS.
2002-01-06 Fatih Demir <kabalak@gtranslator.org>
* configure.in: Added "tr" to the languages list.
2002-01-06 Germán Poo-Caamańo <gpoo@ubiobio.cl>
* configure.in: Added spanish (es) to ALL_LINGUAS
2002-01-05 Mikael Hallendal <micke@codefactory.se>
* src/yelp-window.c (yw_exit_cb): use bonobo_main_quit instead of
gtk_main_quit. This should be moved to yelp-base instead.
* src/yelp-view-content.c:
(yelp_view_content_show_uri): added, not impl.
* src/yelp-main.c:
- uses bonobo-activation to start Yelp and connect to an already
running instance.
(yelp_base_factory): added. the factory-function.
(yelp_main_activate_base): added, gets an CORBA_Object reference
to the YelpBase.
(yelp_main_open_new_window): added, calls GNOME_Yelp_newWindow on
the CORBA_Object to open a new window.
(yelp_main_start): added, called if another instance is already
running.
(yelp_main_idle_start): called from an idle function if this is
the first instance.
(main): start the factory. and call yelp_main_start or
yelp_main_idle_start depending on if it's the first instance.
* src/yelp-base.[ch]:
- Made a BonoboXObject instead of GObject.
(impl_Yelp_newWindow): added, implemented GNOME_Yelp_newWindow.
(yelp_base_class_init): initialize the epv-functions.
* src/Makefile.am: updated for idl and .server
generation.
* src/GNOME_Yelp.server.in: added for bonobo-activation.
* idl/GNOME_Yelp.idl: Added. Yelp-interface (might be a module
eventaully).
* configure.in: updated for use with bonobo.
* Makefile.am (EXTRA_DIST): added idl/GNOME_Yelp.idl
2002-01-04 Mikael Hallendal <micke@codefactory.se>
* src/yelp-main.c (main): removed setlocale
2002-01-04 Jody Goldberg <jody@gnome.org>
* configure.in (CFLAGS) : do no use continuation characters. It
irritates auto*/sed on my system.
2002-01-04 Mikael Hallendal <micke@codefactory.se>
* TODO: updated, moved issues to bugzilla.
2001-12-27 Duarte Loreto <happyguy_pt@hotmail.com>
* configure.in: Added portuguese to ALL_LINGUAS
2001-12-22 Mikael Hallendal <micke@codefactory.se>
* src/yelp-window.c:
(yw_close_window_cb): added. yelp-base should listen to
destroy-signal of all windows, so it knows when to quit.
- Added Close window in File menu
2001-12-12 Mikael Hallendal <micke@codefactory.se>
* src/yelp-window.c (yw_populate): add Accel group.
(yw_create_toolbar): added tooltips, needs update
2001-12-11 Stanislav Visnovsky <visnovsky@nenya.ms.mff.cuni.cz>
* configure.in: Adde "sk" to ALL_LINGUAS.
2001-12-10 Kjartan Maraas <kmaraas@gnome.org>
* configure.in: Added "no" to ALL_LINGUAS.
2001-12-10 Mikael Hallendal <micke@codefactory.se>
* src/yelp-window.c (yw_class_init): added signal for new window.
(yw_new_window_cb): amit new_window_requested-signal
* src/yelp-base.c:
(yelp_base_new_window_cb): added, listens for new_window_requested
from windows.
(yelp_base_new_window): connect to signal in gtk-window.
* TODO (FEATURES): updated
* src/yelp-window.c: Some fixes after discussion with seth.
(yw_init): Yelp: GNOME Help Browser -> Help Browser.
(yw_populate): readded the menu
(yw_close_cb): removed
(yw_new_window_cb): readded
(yw_exit_cb): readded
(yw_about_cb): readded
(yw_create_toolbar): removed the Close-button
* configure.in: changed Yelp->yelp in AM_INIT_AUTOMAKE.
* src/yelp-view-home.c (yelp_view_home_new):
- updated color to white background, less difference between the
views now.
* src/yelp-window.c:
- cleaned up a little.
- now has tree views (home/content/index) in a Notebook
- First shows the Home-page, when click a link in it, swap to
content-view.
(yw_populate): only set up the notebook, other code moved to the
three views.
(yw_create_toolbar): new function, creates the toolbar.
* src/yelp-view-index.[ch]:
- added
- this handles the index view (with index-term searching to the
left).
- not finished.
* src/yelp-view-home.[ch]:
- Now draws an test-page. This should be made nicer.
- The HTML-stuff is _not_ finished.
- Signals path_selected when a user press a link.
* src/yelp-view-doc.[ch]: removed, I must have been tired when
commiting this :)
* src/yelp-view-content.[ch]:
- added
- takes care of the content-view (the one with the tree to the
left).
- This view is accessed from the home-view.
* src/yelp-toc.[ch]: removed, now handled inside
yelp-view-content.[ch].
* src/yelp-scrollkeeper.c:
(ys_parse_book): only parse if Toplevel == GNOME.
* src/yelp-index.[ch]: removed, this is now handled inside
yelp-view-index.c
* src/yelp-view.[ch]: moved to yelp-html, yelp-view-* is the
various main-views.
* src/yelp-html.[ch]: added, this is the previous yelp-view.[ch]
* src/yelp-base.c: priv->bookshelf -> content_store.
(yelp_base_get_bookshelf): removed, was used by YelpWindow, but
YelpWindow shouldn't know anything about YelpBase.
(yelp_base_new_window): send the content_store to yelp_window_new
instead.
* src/Makefile.am (yelp_SOURCES): updated to reflect the current
files.
2001-12-09 Pablo Saratxaga <pablo@mandrakesoft.com>
* configure.in: Added "az" entry to ALL_LINGUAS.
2001-12-09 Mikael Hallendal <micke@codefactory.se>
* src/yelp-view-home.c: added, will be the Home-view.
* src/yelp-doc-view.[ch]: moved to yelp-view-doc.[ch]
* src/Makefile.am (yelp_SOURCES): use yelp-view* instead of
yelp-*-view.
2001-12-08 Mikael Hallendal <micke@codefactory.se>
* src/yelp-main.c (main): cast the window to YELP_WINDOW.
* src/yelp-index.c:
- don't include yelp-keyword-db.h
- cleaned up some comments.
* src/yelp-base.c:
- don't include yelp-keyword-db.h
- removed keyword_db from priv-struct.
* src/yelp-keyword-db.[ch]: removed, should use only a GCompletion
plus the eventual support for ModelFilter in GtkTreeView.
* src/Makefile.am (yelp_SOURCES): removed yelp-keyword-db.[ch].
* TODO (FEATURES): updated.
* src/yelp-util.c: removed the outcommented menu-code.
- No menu will be used, only the toolbar.
- The window-generating code should probably be moved to glade
later.
* src/yelp-util.[ch]: added, moved the insert-into-tree function
from yelp-section.[ch] here.
* src/yelp-toc.c:
(yelp_toc_open): removed, unused and unimplemented. Can add it
back when I need it.
* src/yelp-section.[ch]:
(yelp_section_add_sub): removed, functionality moved to
yelp-util.[ch]
* src/yelp-scrollkeeper.[ch]:
- renamed from scrollkeeper-parser.[ch]
- cleaned up, don't use the metadata-parser interface.
- insert into the GtkTreeStore directly.
* src/yelp-main.c: include yelp-window.h
* src/yelp-base.c:
(yelp_base_new_book_cb): removed
(yelp_base_insert_node): removed
(yelp_base_section_foreach): removed
(yelp_base_new): don't connect to parser signals, parser gets the
GtkTreeStore and can insert directly into it.
* src/scrollkeeper-parser.[ch]: moved to yelp-scrollkeeper.[ch]
* src/metadata.h: removed, was used to help including all the
metadata-parsers.
* src/main.c: moved to yelp-main.c
* src/metadata-parser.[ch]: removed, no need for this interface.
* src/devhelp-parser.[ch]: removed, don't need to support this and
want the source to be as clean as possible.
* src/Makefile.am (yelp_SOURCES): changed to build the correct
files after the move-around.
* configure.in: changed AC_INIT argument to src/yelp-main.
* autogen.sh (PKG_NAME): changed test for srcdir/main to
srcdir/yelp-main.
2001-12-07 Mikael Hallendal <micke@codefactory.se>
* src/Makefile.am (yelp_SOURCES): yelp-view -> yelp-doc-view.
* src/yelp-window.c:
- use yelp-doc-view instead of yelp-view.
- update GUI after inspiration from M$ help.
* src/yelp-doc-view.[ch]: renamed from yelp-view.[ch]
2001-12-05 Malcolm Tredinnick <malcolm@commsecure.com.au>
* src/yelp-section.[ch]:
- add a scheme member to YelpSection. Will usually be NULL,
except when adding URIs from Scrollkeeper.
(yelp_section_new): pass in scheme as the last param.
(yelp_section_copy): pass in extra param to yelp_section_new.
* src/devhelp-parser.c, src/yelp-window.c: pass extra param in
calls to yelp_section_new().
* src/scrollkeeper-parser.c:
- parse extra param to yelp_section_new().
(sp_parse_doc): strip off the scheme from ScrollKeeper (usually
"file:") before adding "ghelp:" to the URI. But save it in case
we want act based on this scheme later.
(sp_strip_scheme): new function to strip schemes.
* docs/help-parsing.txt: New file, describing what we have to
handle. Mostly because I keep forgetting.
2001-12-04 Christian Meyer <chrisime@gnome.org>
* configure.in: Added "de" entry to ALL_LINGUAS.
2001-12-04 Malcolm Tredinnick <malcolm@commsecure.com.au>
* src/yelp-window.c:
remove obsolete include of ghelp-uri.h.
(yelp_window_section_select_cb): There are YelpSections that
don't have uris (section headings). Don't try to open them.
2001-12-04 Mikael Hallendal <micke@codefactory.se>
* src/ghelp-uri.[ch]: removed, old junk
* src/ghelp-main.[c]: likewise
* src/yelp-window.c:
(yelp_window_populate): connect the history buttons.
(yelp_window_history_button_pressed): added/impl.
- use yelp_view_open_section instead.
* src/yelp-view.c:
(yelp_view_open_section): renamed from yelp_view_open_uri. Now
takes a section as argument instead.
* src/yelp-section.c (yelp_section_new): allow name == NULL
* src/yelp-window.c (yelp_window_populate): connect to the correct
button.
(yelp_window_section_selected_cb): notify the history that we are
moving.
* src/yelp-history.c (yelp_history_maybe_emit): no details when
emitting.
* src/yelp-window.c:
- added forward/back-buttons to priv struct.
- connect the buttons to forward/back-exists-toggled signals in
history.
(yelp_window_toggle_history_buttons): added/impl. will handle when
forward/back signals are emitted from YelpHistory.
* src/yelp-toc.h: YelpBook->GNode
* src/yelp-section.[ch]: added to replace yelp-book.[ch]
* src/yelp-history.[ch]:
- use YelpSections instead of strings.
- renamed all functions to yelp_history instead of help_history.
* src/yelp-book[ch]: removed, replaced with yelp-section.
* src/yelp-base.c (yelp_base_new_book_cb): YelpBook->GNode
* src/scrollkeeper-parser.c:
- lots of updates to stop using YelpBook.
- YelpBook -> GNode
- return GNode instead of YelpBook.
- Use GNode insternaly instead of YelpBook.
- now use yelp_section_add_sub instead of yelp_book_add_section.
- also, yelp_section_new to get a new section to call
yelp_book_add_section with.
* src/metadata.h: yelp-book.h -> yelp-section.h
* src/metadata-parser.h: use a GNode in the new_book signal
instead of a YelpBook. I might remove this signal entirely and
instead use a function that might return the root-node.
* src/devhelp-parser.c: semi-updated, disabled for now
* src/Makefile.am (yelp_SOURCES):
- don't compile devhelp-parser,
- rename yelp-book to yelp-section
2001-12-02 Malcolm Tredinnick <malcolm@commsecure.com.au>
* src/main.c (main): pass in GNOME_PROGRAM_STANDARD_PROPERTIES to
gnome_program_init().
* src/Makefile.am: Add some defines for the install paths.
2001-12-01 Mikael Hallendal <micke@codefactory.se>
* src/scrollkeeper-parser.c:
(sp_parse_toc_section): prepend ? to the anchor and chomp it.
* src/yelp-view.c (yelp_view_open_uri): open the anchor if
present.
* src/yelp-window.c: removed comments left from the removal of
the uri-entry.
2001-12-01 Richard Hult <rhult@codefactory.se>
* src/main.c (main): Exit when the window is closed.
* src/*.c: Mark strings as translatable.
* src/main.c (main): Init gettext.
* acconfig.h: Add.
* configure.in: Gettextize and intltoolize.
* autogen.sh: Redirect to the installed one for gnome 2.
* yelp.desktop.in: Desktop file.
* Makefile.am: Add a desktop file and intltool rule for it.
2001-12-01 Mikael Hallendal <micke@codefactory.se>
* src/scrollkeeper-parser.c: path uri's as strings instead of
GnomeVFSURI's
* src/yelp-window.c: likewise
* src/yelp-view.c: likewise
* src/yelp-toc.c: likewise
* src/yelp-index.c: likewise
* src/yelp-book.c: likewise
* src/yelp-base.c: likewise
* TODO: updated.
* src/yelp-window.c (yelp_window_populate):
- removed the uri-entry
- added a toolbar
* TODO: updated.
* src/scrollkeeper-parser.c:
(sp_parse_toc_section): chomp the name (otherwise it contains a
newline).
2001-11-30 Mikael Hallendal <micke@codefactory.se>
* src/scrollkeeper-parser.c:
Now handles TOC parsing, needs some fixing with the internal
links.
include yelp-book.h
(sp_get_xml_tree_of_locale): removed
(sp_parse_toc): renamed from sp_parse_doc_toc., implemented to now
parse the toc.
(sp_parse_toc_section): added, impl.
(sp_parse_section): renamed from sp_tree_parse_section.
(sp_parse_doc): renamed from sp_tree_parse_doc
(sp_parse_doc_toc): added (not impl. yet).
(sp_get_xml_docpath): added. Handles retrieving the xml doc path
from a scrollkeeper-* output.
(sp_get_xml_tree_of_locale): moved the
scrollkeeper-get-content-list stuff to sp_get_xml_docpath. Now use
it instead.
* src/main.c (main): don't run gtk_init, using gnome-program.
* src/scrollkeeper-parser.c: renamed internal functions to sp_ to
get the names shorter.
2001-11-27 Richard Hult <rhult@codefactory.se>
* src/scrollkeeper-parser.c: Include string.h to get rid of a
warning.
* src/*.h: Fix build by including glib-object.h instead of
gobject/gobject.h everywhere.
2001-11-16 <micke@codefactory.se>
* vfs-help-module: removed, included in platform now.
* configure.in: don't build vfs-help-module, it's now in libgnome.
* Makefile.am (SUBDIRS): dito
* src/yelp-view.c (yelp_view_url_requested_cb): GNOME_VFS_PRIORITY
fixed to work with resent changes in API.
(yelp_view_open_uri): dito.
2001-10-29 Mikael Hallendal <micke@codefactory.se>
* src/main.c (main): if argument is passed, pass that argument to
yelp_window_open_uri.
* src/yelp-window.c (yelp_window_open_uri): added/impl.
2001-10-28 Mikael Hallendal <micke@codefactory.se>
* src/yelp-window.c (yelp_window_uri_selected_cb): don't segfault
if uri == NULL.
* src/yelp-base.c (yelp_base_new): use the scrollkeeper parser
instead of devhelp.
* src/scrollkeeper-parser.c:
(scrollkeeper_parser_parse): call _trim_ with doc->xmlRootNode.
(scrollkeeper_parser_trim_empty_branches): now actually works.
(scrollkeeper_parser_parse_book): don't call ..._tree_empty. All
empty branches has been removed.
(scrollkeeper_parser_tree_parse_section): dito.
* src/yelp-book.c (yelp_book_section_new): accept uri == NULL and
don't ref it, if it is.
(yelp_book_add_section): accept uri == NULL.
* src/scrollkeeper-parser.c: started work on building index from
Scrollkeeper.
* src/devhelp-parser.c (devhelp_parser_parse_book): use xmlChar
instead of gchar.
* vfs-help-module/help-method.c
(help_name_to_local_path): gnome_i18n_get_language_list returns
const GList.
2001-10-27 Mikael Hallendal <micke@codefactory.se>
* src/yelp-view.c (yelp_view_open_uri): set the document to show
the beginning.
* src/Makefile.am:
- Don't build ghelp-test.
(yelp_SOURCES): don't include ghelp-uri.[ch].
|