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
|
[Dillo-dev]Faces
From: Chris Hawks <chrish@sy...> - 2002-04-30 22:43
Just a question for a new (and very impressed) user...
Why is the font face code commented out in html.c (about line 1720). I
un-commented it and it seems to work correctly...
Chris
Christopher R. Hawks Software Engineer
Syscon Plantstar a Division of Syscon International
-------------------------------------------------------------------------
Red meat is not bad for you. Blue-green fuzzy meat is bad for you.
Re: [Dillo-dev]0.6.5 release
From: John Utz <john@ut...> - 2002-04-30 21:08
On Sat, 27 Apr 2002, madis wrote:
> On Sat, 27 Apr 2002, Ivo van Poorten wrote:
>
> > Furthermore, I added two lines to menu.c at line 172:
> >
> > Menu_add(menu, "Back", NULL, bw, a_Commands_back_callback, bw);
> > Menu_add(menu, "Forward", NULL, bw, a_Commands_forw_callback, bw);
> >
> > It makes browsing more convenient this way, IMHO.
> > I have not thoroughly examined all the sourcecode and I have no serious
> > plans to start coding on dillo, so maybe somebody could look into this and
> > maybe make a patch to the CVS code. One question though, is there a reason
> > why the icons in pixmap.h use so little colours?
>
> you have been at least 3th person reinventing exactly this patch :)
> imho it should go into main dillo tree.
somebodies patch. anybodies patch! plz!
i'll write it again and send it anywhere, it's even been mentioned in some
documentation, but it never shows up.
> --
> mzz
>
>
>
> _______________________________________________
> Dillo-dev mailing list
> Dillo-dev@li...
> https://lists.so....net/lists/listinfo/dillo-dev
>
--
John L. Utz III
john@ut...
Idiocy is the Impulse Function in the Convolution of Life
Re: [Dillo-dev]Error
From: Sebastian Geerken <sgeerken@st...> - 2002-04-30 17:12
Hi,
On Sat, Apr 27, 2002 at 08:29:35PM +0300, Armish wrote:
> when i write the command "dillo" to the command,the dillo opens and closes in
> a minute and gives this error messages to the terminal ;
> dillo_dns_init: Here we go!
> Loading bookmarks...
> a_Cache_open_url: file:/root/.dillo/splash024.html
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Are you using version 0.2.4??? There was once a problem with other
charsets than iso8859-1, but AFAIK, this has been solved halfway some
time ago. (Sorry, I'm always using iso8859-1, so I don't have any
experiences.) Try to use a more recent version of dillo.
Sebastian
[Dillo-dev]CSS
From: Sebastian Geerken <sgeerken@st...> - 2002-04-30 17:06
Hi!
Below are some notes on how CSS may be implemented in dillo. It mainly
focusses on how the different parts "play together", many details for
the single modules are left out, there should be enough room for
different implementations. There are also some simplifications,
e.g. the user-agent defined style sheet may be implemented in a
different way. I've left out XML/CSS parsing, which should be possible
by this design, but makes many changes of the HTML parser necessary.
Please post comments, bugs, anticipated problems, ambiguities etc.
Sebastian
======================================================================
-------------------------------------------
A Possible Implementation of CSS in Dillo
-------------------------------------------
The User's View
===============
An important goal is asynchronous HTML/CSS parsing: when the HTML
parser reads a <LINK> tag referring to an external style sheet, it
continues to render the document _without_ the style sheet, while the
style sheet (if it is not already in the cache) is retrieved and
parsed parallel to this, and then applied on the current rendered part
of the document. If the time difference is large enough, the user will
notice a sudden change of colors, fonts, etc., but will be able to
read the content with less delay time (which may be several seconds).
Overview
========
The following diagram shows the associations between the data
structures, and there multiplicities. Worth to notice is that for
every document (represented currently by DilloHtmlLB), there is one
document tree (Document) and one CSS cascade. The details are
described below.
+-----------+
| DilloHTML |
+-----------+
0..1 | | 1
,-------' `------.
| |
1 V V *
+-------------+ +----------------+ 0..1 +---------+
| DilloHtmlLB | | DilloHtmlState |------>| Element |
+-------------+ +----------------+ 1 +---------+
1 | | 1 |
| | |
| | 1 +----------+
| `------------------------------->| Document |
| +----------+
| ^ 1
| +-------------+ |
`----------------->| CSS cascade |------'
1 +-------------+ 1
The Role of DwStyle
===================
The DwStyle structure will represent style attributes in one of the
following ways (for the exact terminology, see [CSS2] chapter 6.1):
1. Absolute values are represented directly. Examples are absolute
lengths. The value "auto" is handled the same way.
2. Some relative values are immediately computed, this may depend
on attributes of the parent element. Examples are relative line
heights, i.e. "line-height: 150%" will be computed into an
absolute (pixel) value.
3. Other relative sizes are represented this way in DwStyle,
examples are relative widths and heights.
Whether 2 or 3 applies to a specific attribute is determined by two
factors:
1. If the attribute value is independent of certain values, which
changes affect only the level of Dw (important: window size),
they can, for simplicity, put into category 2. Otherwise, they
must belong to 3. The latter may not be inherited, for the
reason, see next point.
2. Since only *computed* values may be inherited, attributes,
which values are inherited, may not be part of category 2,
since Dw will not be able to handle them correctly.
The Document Tree
=================
The document tree has two purposes:
1. representation of the document structure, needed for the
evaluation of CSS selectors, and
2. near-complete encapsulation of the dillo widget.
The HTML parser accesses for most elements only the document tree, and
not anymore Dw. The interface is similar to a small subset of the
Document Object Model (see [DOM2]), and provides methods for the
following purposes:
1. construction of nodes (mainly elements and text), adding them to
other nodes,
2. examining the structure (e.g. for evaluating CSS selectors),
3. assigning style attributes,
4. drawing, and
5. changing the state.
Some notes about the latter three points: The document tree is in most
cases able to construct and access the Dw structures simply by style
attributes. E.g., if the attribute "display" has the value "table", it
"knows" that it must create a DwTable and add it to the DwPage
associated with the parent node. This way, the HTML parser may be
simplified, much functionality can be replaced by a user-agent-defined
style sheet, as in [CSS2] appendix A.
Since this is not in all cases possible, two back-doors are kept open:
1. It is possible to add a special type of element to the tree,
with a specified DwWidget. The <img> tag will processed this
way.
2. DwStyle will be extended by non-standard attributes, when
necessary. For better distinction, they will be preceded by
"x_". Examples are "x_link" and "x_colspan".
An element may have a state, which is used as pseudo-element in the
style evaluation (see below). This is how the dynamic pseudo-classes
([CSS2] chapter 5.11.3) are handled. Changing this is e.g. done when
the user clicks on a not yet visited link, the state then switches
from "link" to "visited".
The CSS Cascade
===============
"CSS cascade" is a module, which is responsible for evaluating CSS
selectors ([CSS2] chapter 5). The evaluation function gets the element
node, the default attributes (DwStyle), and a "pseudo-element" as
argument, and returns a DwStyle with the values described in the
section "DwStyle". The caller is responsible to determine the default
attributes (those which are not changed, if no rule is found), either
by setting them to default values, or copying them from the parent
element.
About the "pseudo-element": An evaluation with this argument set to
non-NULL must only evaluate the rules containing this
"pseudo-element".
Of course, there is the need of a CSS parser. A "cascade" may combine
several style documents, from different origins (see [CSS2] chapter
6.4), so that the parser always adds rules to a cascade. There is no
need for an incremental parser, instead, a document is always parsed
as a whole (see below).
In some cases, it is necessary to add element-specific rules to the
cascade, either for evaluating the "style" attribute, or to process
(mostly deprecated) HTML elements and attributes.
Pseudo Elements and Generated Content
=====================================
Content is generated in two cases:
1. if the ":before" and ":after" pseudo elements are used ([CSS2]
chapter 5.12.3), and
2. for list items.
Content generation is the task of the document tree. For dealing with
":before" and ":after", one document element refers to three DwStyle:
(i) two from the evaluation of ":before" and ":after", and
(ii) one actual style.
The actual style may be affected by the state of the element.
(There are many things missing for pseudo elements, they have to be
specified, and some may not be implemented in dillo).
What Actually Happens in Different Situations
=============================================
Adding Elements to the Tree
---------------------------
This happens after the parser has read an opening tag:
1. The HTML parser evaluates the element attributes to create one
or two new, element-specific rules, and inserts them into the
CSS cascade.
2. The HTML parser adds a new element to the current document
element.
3. The CSS cascade determines the style, based on the style of the
parent, where some attributes are set to default values.
4. This style is attached to the new element, and the element is
drawn (e.g. the appropiate DwWidget methods are called).
Handling the <STYLE> Element
----------------------------
The content of <STYLE> is written into the stash. When </STYLE> is
written, following is done:
1. The HTML parser passes the stash content to the CSS parser,
which inserts the new rules into the CSS cascade.
2. The styles for the whole document are recalculated, and the
document is redrawn.
Handling the <LINK> Element
---------------------------
An external style sheet is read by a special cache client, which
writes the content into the buffer, and is associated with the
document tree and the CSS cascade. If the data has been fully
retrieved, the process is similar to <STYLE>, described above.
What is important is to preserve the order the documents have been
specified in the document, e.g. for
<link href="style1.css" rel="stylesheet" type="text/css">
<style>
/* style sheet 2 */
</style>
it is likely that the content of <style> will be processed earlier,
although it has been specified later in the HTML document. This may be
done by assigning numbers to the style sheet documents, which are
increased each time <link> or <style> is processed.
References
==========
[CSS2] Cascading Style Sheets, level 2, CSS2 Specification
http://www.w3.org/TR/1998/REC-CSS2-19980512
[DOM2] Document Object Model (DOM) Level 2 Core Specification
http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113
[Dillo-dev]parsing of "file:" URLS
From: Arvind Narayanan <arvindn@my...> - 2002-04-30 17:06
Hi,
Typing file://foo/bar/ into the location bar takes you to /bar .
The function doing this (Url_object_new in url.c) says it's according
to rfc 2396. But the behavior is confusing, taken in conjunction
with the fact that file://foo takes you to the home directory (or
is it the current directory?). All this doesn't happen when there's
1 or 3 slashes after "file:" (the token following // is parsed
as "authority" and the path starts with the word after that).
Here's a browser-wise description
Dillo
file: , file:// , file://foo ==> current dir
file://foo/ ==> /
file://foo/bar ==> /bar
Moz
file: , file:// , file://foo ==> /
file://foo/bar ==> /bar
Konq
file: ==> home dir
file:// ==> /
file://foo ==> /foo
NS 4.7
file:// ==> /
file: , file://foo , file://foo/bar ==> "can't find host"
Opera
file: ==> /
file:// ==> "can't open"
file://foo ==> /foo
Nautilus
file: , file:// ==> "error"
file://foo ==> /foo
No two are identical :-)
(Can't get galeon to compile on my machine)
Of the lot I think Konq is the most intuitive from the average Joe's
POV. At least file://foo/bar ==> /bar should be avoided. Any thoughts?
Arvind
--
Its all GNU to me
Re: [Dillo-dev]PgUp (was: 0.6.5 release)
From: Sebastian Geerken <sgeerken@st...> - 2002-04-30 15:16
On Tue, Apr 30, 2002 at 12:04:16PM -0300, Livio Baldini Soares wrote:
> [...]
> See a post I've sent a few weeks ago about this issue:
> http://www.geocrawler.com/lists/3/SourceForge/702/50/8334149/
Sorry. There was much traffic on the list in the last time.
> In my case what triggers it is NumLock (but read the post for full
> explanation).
[...]
> > But META-B (Bookmark menu) should not work anymore (that's what is is
> > supposed :-). Anyway, I've just comitted a small change, please test
> > it and report the result.
>
> I haven't seen your change yet, but the mail I've posted contained a
> small patch which solved my issue (and should be a clean fix). I'll
> check your changes to see if their something like mine (or better ;-)
They're nearly the same :-) (I've no opinion whether or not to leave
GDK_MOD2_MASK.)
Sebastian
Re: [Dillo-dev]PgUp (was: 0.6.5 release)
From: Livio Baldini Soares <livio@im...> - 2002-04-30 15:04
Hello!
Sebastian Geerken writes:
> Hi,
>
> On Sat, Apr 27, 2002 at 02:39:31AM +0200, Ivo van Poorten wrote:
> > I tried out dillo 0.6.5 today and I noticed that the page-up key didn't
> > work (anymore?).
>
> I cannot reproduce it, but see below.
See a post I've sent a few weeks ago about this issue:
http://www.geocrawler.com/lists/3/SourceForge/702/50/8334149/
In my case what triggers it is NumLock (but read the post for full
explanation).
> > I localized the problem. In dw_gtk_scrolled_frame.c at
> > line 480 it says:
> >
> > if (event->state & (GDK_MOD1_MASK | GDK_MOD2_MASK))
> > return FALSE;
> >
> > I don't know what this is supposed to do (it's not in the pagedown
> > section), but when I comment it out, pageup is working again.
>
> But META-B (Bookmark menu) should not work anymore (that's what is is
> supposed :-). Anyway, I've just comitted a small change, please test
> it and report the result.
I haven't seen your change yet, but the mail I've posted contained a
small patch which solved my issue (and should be a clean fix). I'll
check your changes to see if their something like mine (or better ;-)
best regards!
--
Livio <livio@im...>
[Dillo-dev]PgUp (was: 0.6.5 release)
From: Sebastian Geerken <sgeerken@st...> - 2002-04-30 14:00
Hi,
On Sat, Apr 27, 2002 at 02:39:31AM +0200, Ivo van Poorten wrote:
> I tried out dillo 0.6.5 today and I noticed that the page-up key didn't
> work (anymore?).
I cannot reproduce it, but see below.
> I localized the problem. In dw_gtk_scrolled_frame.c at
> line 480 it says:
>
> if (event->state & (GDK_MOD1_MASK | GDK_MOD2_MASK))
> return FALSE;
>
> I don't know what this is supposed to do (it's not in the pagedown
> section), but when I comment it out, pageup is working again.
But META-B (Bookmark menu) should not work anymore (that's what is is
supposed :-). Anyway, I've just comitted a small change, please test
it and report the result.
Sebastian
RE: [Dillo-dev]Simple plugins
From: Jorge Arellano Cid <jcid@em...> - 2002-04-30 13:16
Hi there,
On Thu, 11 Apr 2002, Eric GAUDET wrote:
Hmmmm, some time ago, but after the site move, presentation,
release and regular duties, here's a time slice to answer. :)
> Hi Jorge,
Hi.
> I think we can agree that according to the dpi1 proposal, the initial pat=
ch
> will include the following parts:
> - init code
> - plugin forking and pipe registration
> - url indirection to plugin pipes and rendering.
Could and couldn't!
The current draft really needs more abstract work, specially on
design and particularly in design validation...
After that phase, the first prototype may be different (not
forked for intance, but more on this in the next post).
And yes, it may end having what you listed.
> There will also be a minimal reference implementation plugin, that will
> probably be a script or a small C program.
Sure.
> I=B4d like to know what code you already have, what code you have needs r=
ework,
> and if you plan to integrate any code soon or you prefer to discuss about=
it a
> little bit.
I only have an ancient prototype we worked with Holger. Most
probably the new dpi1 design will require something different,
and as I wrote above, and as you suggest, it certainly needs more
work.
It's a matter of deeply understanding the draft, considering
dillo internals and other implementation possibilities, then
probing the design (validating what's OK and fixing/modifying
what's wrong), then making a few pre-prototypes to test the
implemetation choices, and finally building a prototype.
Cheers
Jorge.-
> PS: Jorge, I wanted to ask you this for a long time: what text editor do =
you
> use, with that justify in plain text?
It's and old companion of mine that I coded a long-long time
ago; I've shown it to a few fellows, that use it regularly and
that say to really miss when working without!
As dillo, it's very simple, small, fast and stays out of the
way. I never dared to make it public, because although very
stable, I never had the time to clean its code! (and there're
hundred of other editors out there).
[Dillo-dev]Simple plugins (dpi1)
From: Jorge Arellano Cid <jcid@em...> - 2002-04-30 13:15
Hi there!
... the good news are:
Geoff Lane will be leading the work on dpi1 extensions!
My advice: please cooperate with him with well tought/reasoned
ideas only. That is, proposals that at least answer what, why and
how.
Sincerely
Jorge.-
RE: [Dillo-dev]Simple plugins
From: Jorge Arellano Cid <jcid@em...> - 2002-04-30 13:15
Hi again!
On Fri, 12 Apr 2002, Eric GAUDET wrote:
> Hi,
>
> Tow things I=B4d like to see changed in the dpi1 proposal:
>
> - D1 and D2 fields being 2 bytes long, the endianness can be an issu=
e. I
> think it will be better to have 1 byte fields D1, D2, D3, D4 instead.
Is not an issue. It's sent as text (guchar *), just as with
files and http.
>
> - Along with the client ID, I think a request ID is needed too, to ensure
> multiple windows calling the same PI concurently don=B4t get confused in =
their
> connections.
You seem to have misunderstood the draft...
The client ID is generated by the cache (inside dillo), so the
client ID serves as what you call "request ID"!
Later on, the same client ID is sent back by the PI (in the
respective datagrams), so it serves as a kind of request-key.
> [...]
> I=B4d also want to make sure multiple connection are not made simultaneou=
sly in
> stdin/stdout. For that, dillo will need to have a pipe lock mecanism to b=
e set
> every time a datagram is transmited, until the transmission of this parti=
cular
> datagram is completed.
Yes, this is an issue. I'll quote here what I answered to Geoff
about a very similar question:
>>
> [Geoff wrote:]
> ...
> However, if there is a persistent plugin process running it may be used t=
o
> allow dillo to re-connect with the plugin - I don't know, I don't know
> sufficient about dillo internals yet.
Good point.
But it's not of current dillo internals, but of of a choice of
which communication channel we'll use to communicate (and launch)
the plugin.
I mean, maybe the PI can be started with a fork, or from a
pthread, or from another fancy mechanism (as an ad-hoc launcher
for instance; a helper program that forks itself and launches the
PI, and acts as intermediary between PIs and dillo). Those
are possibilities.
And as for how they will communicate, it could be stdin/stdout
(with fork for instance), in which case I can't see clearly how
resident PIs could be implemented :) (as its stdin/stdout would
be already in use).
But, on a fine grained basis, it can be argued that such a
resident PI could work if it were to remain resident but not
accept any new connection until finished with the one in
course...
...but the point is that if they were to communicate trough a
socket, or named pipe, or who knows, it could be possible to
handle them in the more general case.
Those are pending design issues...
>>
And that's the main point. Dpi1 needs some heavy work on design
and validation. Some other techniques need to be evaluated (as
the above mentioned), and tested.
The good news are:
<see next post> :)
Cheers
Jorge.-
Re: [Dillo-dev]Dillo (in the) News!
From: jonathan chetwynd <j.chetwynd@bt...> - 2002-04-29 18:12
its not just the news value the kiosk article looks like it could be an
excellent educational resource.
I've yet to start compiling stuff for the ipaq, and would like a few
projects to run through as trials.
I ran a small thread at w3c/wai about how fast dillo is.
A few bods agreed, but could not get a thread running as to why the
others are so slow.
jonathan
RE: [Dillo-dev]Dillo (in the) News!
From: Eric Gaudet <ericg@ta...> - 2002-04-29 17:21
> I'm resending my earlier posts about Dillo in articles for those who
> have missed any. And I am considering opening a new page at our home
> with links to these... something like "Press". Is such a page
> interesting at all?
>
Definitely needed! (especially with the 'funding' initiative). Should be
called "Articles"
Eric
Re: [Dillo-dev]Dillo (in the) News!
From: Livio Baldini Soares <livio@im...> - 2002-04-29 17:14
Hello folks!
I've found a "new" (25-Apr-2002) article which mentions Dillo, at
http://www.linuxdevices.com, written by Patrick Glennon:
http://www.linuxdevices.com/articles/AT2869412121.html
It's about building a kiosk with embedded Linux, and they seem to
use Dillo as their main GUI. Looks pretty cool, huh?
(BTW: I'm still making efforts to make the cache_size_limit patch work
100%. Pekka and I have both made different patches, but both are
wrong, and the few small issues that are left are really hard to get
around. I think that I'll probably have the patch ready for the next
release).
I'm resending my earlier posts about Dillo in articles for those who
have missed any. And I am considering opening a new page at our home
with links to these... something like "Press". Is such a page
interesting at all?
Has anyone seen any other articles which review/use/mention Dillo? I
would like to know to get the material ready.
best regards!
Livio Baldini Soares writes:
> Hello everyone,
>
> I guess Dillo is more famous then I had imagined! We are making
> headlines! ;-)
>
> There is an article published yesterday on the Linux Journal about
> Dillo! It's a review by a Ralph Krause, made yesterday (26/02/2002):
> http://www.linuxjournal.com/article.php?sid=5847
>
> I caught this link from the front page of NewsForge (newsforge.net):
> http://www.newsforge.com/article.pl?sid=02/02/26/2358247&mode=thread
>
> And another article mentions Dillo, made by Kevin Reichard at
> BrowserWatch:
> http://browserwatch.internet.com/news/stories2002/news-20020122-4.html
>
> I don't know if Dillo is still too "ripe" for this kind of
> attention, but, as the saying goes: "Bad press is better then no
> press"! ;-)
>
> Congratulations to all Dillo developers! Hope we grow a lot more
> this year and make more users (and headlines ;).
>
> --
> Livio <livio@im...>
>
> _______________________________________________
> Dillo-dev mailing list
> Dillo-dev@li...
> https://lists.so....net/lists/listinfo/dillo-dev
>
--
Livio <livio@im...>
Re: [Dillo-dev]Useful patches from the OpenBSD folks
From: Jorge Arellano Cid <jcid@em...> - 2002-04-29 16:35
Hi,
On Sun, 28 Apr 2002, Andreas Schweitzer wrote:
> Hi everybody
> While notifying the OpenBSD folks that they can upgrade
> their dillo entry I noticed the patches they apply to
> it before allowing a compile :
> http://www.openbsd.org/cgi-bin/cvsweb/ports/www/dillo/patches/
> The 64bit issues certainly seem reasonable. As of this
> writing the patches are against 0.6.4 and patches/patch-src_dns_c
> and parts of patches/patch-src_IO_http_c are no longer necessary.
> But the rest of the 64bit issues deserve consideration.
Done!
Cheers
Jorge.-
Re: [Dillo-dev]0.6.5 release
From: Jorge Arellano Cid <jcid@em...> - 2002-04-29 14:17
Hi there!
On Mon, 29 Apr 2002, Livio Baldini Soares wrote:
> > > This page http://dillo.cipsga.org.br/funding/ is not rendering properly
> > > in anything except dillo :-)
> >
> > Hmmm, strange thing.
> >
> > I reviewed the code several times but havent't found anything
> > non-standard there. Netscape simply "eats" a big part of the
> > page, and tweaking the page by hand, I was able to isolate a case
> > where adding the simplest of the subtables in a row triggered the
> > problem (on Netscape). Mozilla, OTOH, renders the main part at
> > the bottom.
>
> In the objective to temporarily aliviate this issue, I've done a few
> modifications to the referred page. Now the page renders "correctly"
> in Dillo, w3m, lynx, Mozilla (0.9.9), and Konqueror (2.2). It is
> totally ignored by Netscape (4.77).
>
> I haven't tried any others (I have no Windows to try IE), but for
> now I guess it's better than it was before.
Ok, I gave some time to it, and as someone pointed out, there
were some missing <td> tags (but this wasn't the main problem).
It was fixed though.
As the funding page is generated by a script, and its results
are rendered perfectly by Netscape, Mozilla, Dillo, etc,
wrapping it within our main site-frame shouldn't be a problem
(it's done with another script, and there're plenty of working
pages already).
The point was: (ta ta ta taaaaaaaaaaannnn!.....)
That when adapting the script, the last </table> was commented
out!!!
So netscape thought there was a lot yet to come and as it needs
the whole table to start rendering, it did what you saw!
Ah, and as there were some lacking tags, you can imagine the
algorithmic hell in there.
---
Ahhhh, lots of times I've been thinking whether it would be a
good idea to construct some malformed pages with a view to
illustrate some people, that it is _very easy_ to pollute the web
in an effort to try to push one browser over another.
The ignorant thinks:
"Ah this browser is more powerful (or advanced) because it can
render this page."
or
"This browser is bad because I can't see this page, and it
renders Ok with *"
The right path though, is to try to keep it to the standards,
and not to pullute the informative space where we all benefit
form having access to.
My apologies for the mistake, it wasn't intended, we even tested
with several other browsers while developing it.
Please test the new HTML code, and report back how it went.
Regards
Jorge.-
[Dillo-dev]Can you help me?
From: Armish <armish@li...> - 2002-04-29 13:35
when i write the command "dillo" to the command line,the dillo opens and
closes in a minute and gives this error messages to the terminal ;
(I use dillo-0.6.5)
--------------------------------------------------------------------------------
dillo_dns_init: Here we go!
Loading bookmarks...
a_Cache_open_url: file:/root/.dillo/splash024.html
Can't load any fonts!
Gdk-CRITICAL **: file gdkfont.c: line 452 (gdk_char_width): assertion `font
!= NULL' failed.
Can't load any fonts!
Gdk-CRITICAL **: file gdkfont.c: line 452 (gdk_char_width): assertion `font
!= NULL' failed.
Can't load any fonts!
Gdk-CRITICAL **: file gdkfont.c: line 452 (gdk_char_width): assertion `font
!= NULL' failed.
Can't load any fonts!
Gdk-CRITICAL **: file gdkfont.c: line 452 (gdk_char_width): assertion `font
!= NULL' failed.
Can't load any fonts!
Gdk-CRITICAL **: file gdkfont.c: line 452 (gdk_char_width): assertion `font
!= NULL' failed.
Can't load any fonts!
Gdk-CRITICAL **: file gdkfont.c: line 452 (gdk_char_width): assertion `font
!= NULL' failed.
Can't load any fonts!
Gdk-CRITICAL **: file gdkfont.c: line 452 (gdk_char_width): assertion `font
!= NULL' failed.
Gdk-CRITICAL **: file gdkfont.c: line 318 (gdk_string_width): assertion `font
!= NULL' failed.
Segmentation fault
------------------------------------------------------------------------------------------
what can i do?(I use the iso8859-9 fonts [Turkish])
Re: [Dillo-dev]web page crash
From: higuita <higuita@GM...> - 2002-04-29 09:35
Attachments: Message as HTML
Ola' Livio
On Fri, 26 Apr 2002 08:46:30 -0300, Livio Baldini Soares <livio@im...> wrote:
> > i was using dillo 0.6.4 and found that it crash every time in
> > this web page
> > http://www.landoverbaptist.com
> Humm, that's strange. I can't seem to reproduce the crash. I've
me too 8)
i have reboot the system since then and now works fine
i dont know what happend, but at the time is crashed all the
time (i deleted all the core dumps in my system this weekend, so
we cant even check that )8
> Oh, and instead of using 0.6.4, try reproducing the crash with 0.6.5
already update and still dont crash... so maybe was a problem
with my system
Thanks for dillo
abraços
higuita
--
One Unix to rule them all, One Resolver to find them,
One IP to bring them all and in the zone bind them.
Re: [Dillo-dev]0.6.5 release
From: jonathan chetwynd <j.chetwynd@bt...> - 2002-04-29 06:14
seems about right in ie6 now
jonathan
[Dillo-dev]Useful patches from the OpenBSD folks
From: Andreas Schweitzer <andy@ph...> - 2002-04-29 03:42
Hi everybody
While notifying the OpenBSD folks that they can upgrade
their dillo entry I noticed the patches they apply to
it before allowing a compile :
http://www.openbsd.org/cgi-bin/cvsweb/ports/www/dillo/patches/
The 64bit issues certainly seem reasonable. As of this
writing the patches are against 0.6.4 and patches/patch-src_dns_c
and parts of patches/patch-src_IO_http_c are no longer necessary.
But the rest of the 64bit issues deserve consideration.
I also told them about our efforts to make it compile out of the
box on OpenBSD, therefore some other stuff will simplyfy as well.
The other BSD's have currently no relevant patches.
Cheers,
Andreas
--
Department of Physics & Astronomy and Center for Simulational Physics
University of Georgia !!! NEW !!! : Phone ++1 (706) 583 8227
Athens, GA 30602-2451 Fax ++1 (706) 542 2492
USA http://dilbert.physast.uga.edu/~andy/
Re: [Dillo-dev]0.6.5 release
From: Livio Baldini Soares <livio@im...> - 2002-04-29 03:07
Hello,
Jorge Arellano Cid writes:
>
> Doug,
>
> > On Fri, Apr 26, 2002 at 10:13:26AM -0400, Jorge Arellano Cid wrote:
> >
> > <snip>
> >
> > > Ah, there's also some very interesting new material in the
> > > site, so take your time and read it...
> >
> > This page http://dillo.cipsga.org.br/funding/ is not rendering properly
> > in anything except dillo :-)
>
> Hmmm, strange thing.
>
> I reviewed the code several times but havent't found anything
> non-standard there. Netscape simply "eats" a big part of the
> page, and tweaking the page by hand, I was able to isolate a case
> where adding the simplest of the subtables in a row triggered the
> problem (on Netscape). Mozilla, OTOH, renders the main part at
> the bottom.
In the objective to temporarily aliviate this issue, I've done a few
modifications to the referred page. Now the page renders "correctly"
in Dillo, w3m, lynx, Mozilla (0.9.9), and Konqueror (2.2). It is
totally ignored by Netscape (4.77).
I haven't tried any others (I have no Windows to try IE), but for
now I guess it's better than it was before.
Jorge, sorry for the sudden intrusion. You can revert my changes if
you like.
best regards to all!
--
Livio <livio@im...>
[Dillo-dev]image rendering
From: jonathan chetwynd <j.chetwynd@bt...> - 2002-04-28 21:03
following on from the funding thread..
I have reported a possible bug.
pages I maintain http://www.peepo.com/alfi/c.html
images 2 and 3 are not rendered by dillo but are by practically any
other browser...
any ideas welcome.
there are numerous other jpegs, and links using the same scripts around
the site, but these two images are the only ones I've found that won't
render in dillo.
thanks
jonathan chetwynd
Re: Re: [Dillo-dev]0.6.5 release
From: Daniel Fairhead <ralphtheraccoon@uk...> - 2002-04-28 21:00
Hi,
> I reviewed the code several times but havent't found anything
> non-standard there. Netscape simply "eats" a big part of the
> page, and tweaking the page by hand, I was able to isolate a case
> where adding the simplest of the subtables in a row triggered the
> problem (on Netscape). Mozilla, OTOH, renders the main part at
> the bottom.
I looked at the code just now (even though I'm not Sebastian), and I
think the problem is that within a lot of <tr> tags there aren't <td>s.
Line 126 is one instance. This would explain why Netscape and
moz both have problems with it, netscape would just say "argh! problem!
ignore this bit!" and moz would say "argh! problem! render this somewhere
else!" like with the geocities addbox.
http://validator.w3.org/check?uri=http://dillo.cipsga.org.br/funding/
shows a lot of other stuff too.
Hope this is useful,
Dan
Re: [Dillo-dev]0.6.5 release
From: jonathan chetwynd <j.chetwynd@bt...> - 2002-04-28 20:59
I think the problem may relate to using tables within tables.
This is not to be encouraged, I've heard.
try http://validator.w3.org, there are numerous 'errors' most relate to
the use of tables.
I had spotted this potential problem before validating.
i can also say that mozilla and ie6 fail to show the content which dillo
does for the funding page.
thanks
jonathan chetwynd
Re: [Dillo-dev]0.6.5 release
From: Jorge Arellano Cid <jcid@em...> - 2002-04-28 19:41
Doug,
> On Fri, Apr 26, 2002 at 10:13:26AM -0400, Jorge Arellano Cid wrote:
>
> <snip>
>
> > Ah, there's also some very interesting new material in the
> > site, so take your time and read it...
>
> This page http://dillo.cipsga.org.br/funding/ is not rendering properly
> in anything except dillo :-)
Hmmm, strange thing.
I reviewed the code several times but havent't found anything
non-standard there. Netscape simply "eats" a big part of the
page, and tweaking the page by hand, I was able to isolate a case
where adding the simplest of the subtables in a row triggered the
problem (on Netscape). Mozilla, OTOH, renders the main part at
the bottom.
Well AFAIK, there's no problem with the HTML (that's generated
by a couple of scripts BTW). I may be wrong, or my knowledge of
the HTML table SPEC may not be perfect, so, the best that I can
do is to ask "our" tables expert: Sebastian.
Sebastian: Do you see anything wrong with the HTML of the
presentation, or is just a simultaneous fault on a couple of big
browsers? (certainly a rare case, although plausible).
Greetings
Jorge.-
[Dillo-dev]Error
From: Armish <armish@li...> - 2002-04-27 17:33
when i write the command "dillo" to the command,the dillo opens and closes in
a minute and gives this error messages to the terminal ;
dillo_dns_init: Here we go!
Loading bookmarks...
a_Cache_open_url: file:/root/.dillo/splash024.html
Can't load any fonts!
Gdk-CRITICAL **: file gdkfont.c: line 452 (gdk_char_width): assertion `font
!= NULL' failed.
Can't load any fonts!
Gdk-CRITICAL **: file gdkfont.c: line 452 (gdk_char_width): assertion `font
!= NULL' failed.
Can't load any fonts!
Gdk-CRITICAL **: file gdkfont.c: line 452 (gdk_char_width): assertion `font
!= NULL' failed.
Can't load any fonts!
Gdk-CRITICAL **: file gdkfont.c: line 452 (gdk_char_width): assertion `font
!= NULL' failed.
Can't load any fonts!
Gdk-CRITICAL **: file gdkfont.c: line 452 (gdk_char_width): assertion `font
!= NULL' failed.
Can't load any fonts!
Gdk-CRITICAL **: file gdkfont.c: line 452 (gdk_char_width): assertion `font
!= NULL' failed.
Can't load any fonts!
Gdk-CRITICAL **: file gdkfont.c: line 452 (gdk_char_width): assertion `font
!= NULL' failed.
Gdk-CRITICAL **: file gdkfont.c: line 318 (gdk_string_width): assertion `font
!= NULL' failed.
Segmentation fault
what can i do?(I use the iso8859-9 fonts [Turkish])
Re: [Dillo-dev]0.6.5 release
From: Doug Kearns <djkea2@mu...> - 2002-04-27 08:24
On Sat, Apr 27, 2002 at 11:16:13AM +0300, madis wrote:
> On Sat, 27 Apr 2002, Ivo van Poorten wrote:
>
> > Furthermore, I added two lines to menu.c at line 172:
> >
> > Menu_add(menu, "Back", NULL, bw, a_Commands_back_callback, bw);
> > Menu_add(menu, "Forward", NULL, bw, a_Commands_forw_callback, bw);
<snip>
> you have been at least 3th person reinventing exactly this patch :)
> imho it should go into main dillo tree.
Yes, and I'm sure there are countless others running there own variants.
Regards,
Doug
Re: [Dillo-dev]0.6.5 release
From: madis <madis.janson@ma...> - 2002-04-27 08:11
On Sat, 27 Apr 2002, Ivo van Poorten wrote:
> Furthermore, I added two lines to menu.c at line 172:
>
> Menu_add(menu, "Back", NULL, bw, a_Commands_back_callback, bw);
> Menu_add(menu, "Forward", NULL, bw, a_Commands_forw_callback, bw);
>
> It makes browsing more convenient this way, IMHO.
> I have not thoroughly examined all the sourcecode and I have no serious
> plans to start coding on dillo, so maybe somebody could look into this and
> maybe make a patch to the CVS code. One question though, is there a reason
> why the icons in pixmap.h use so little colours?
you have been at least 3th person reinventing exactly this patch :)
imho it should go into main dillo tree.
--
mzz
RE: [Dillo-dev]quick question
From: Patrick Glennon <pglennon@me...> - 2002-04-27 04:55
Attachments: Message as HTML
Thanks for the reply, although I think you misunderstood. The
meta-refresh patch and cache size limit patch were not mine, they were
written by others, and they were good code patches, just created against
earlier versions of dillo then we were using. My attempts to merge them
in with 0.6.4 are what caused the problems, although they are working...
I'm hoping that the solutions they created will get merged, not my
hacked up attempts to mix them with 0.6.4... things are working now,
there are just some weird complaints undoubtedly due to my bad merge...
Hope that's more clear ;)
-P
On Fri, 2002-04-26 at 15:21, Eric Gaudet wrote:
Hi,
> Couple of quick things:
>
> 1) what is the priority of getting the meta-refresh
> tag and the cache management patches in? I'm working
> on an ongoing project with hotel survey kiosks using
> dillo in an embedded system ( intrinsyc cerfpod ).
> i've managed to staple and hot-glue a patch against
> an earlier version into 6.4 ( I think it was Pekka's
> patch, but I don't remember... ), but it is still
> pretty messy and complaining about things ( it's
> working though ;) It would be nice to have those
> in the stable or at least in the CVS tree to work
> against? My client is about to start pushing this
> in the sales channel, but when it is sold, we will
> need to be a bit more stable..
There is several things you can do.
- First, you can work against the cvs instead of a tarball. That way you can
keep you own version up to date (by doing 'cvs update -dP' regularly) and
still work on it.
- I understand there is two different features here. The best thing is
probably to use one cvs checkout for each of them, produce two patches when
you're happy, and apply the patches on your own "release" version.
- Make you patches available: post the url on the list. This way, people can
try them and fix them (while keeping you informed, of course). This will
speed-up *a*lot* the inclusion in the release, 'cause you can be sure Jorge
will never even look at a patch that's "pretty messy and complaining about
things" ;-) Let people help, open source rules.
> 2) wrote a quick article for linuxdevices.com on how we got rapidly to
phase 1 with almost no coding using dillo and > familiar:
http://www.linuxdevices.com/articles/AT2869412121.html
Nice.
> Thanks!
> -Patrick
_______________________________________________
Dillo-dev mailing list
Dillo-dev@li...
https://lists.so....net/lists/listinfo/dillo-dev
Re: [Dillo-dev]0.6.5 release
From: Ivo van Poorten <ivop@eu...> - 2002-04-27 00:37
Hello all,
I tried out dillo 0.6.5 today and I noticed that the page-up key didn't
work (anymore?). I localized the problem. In dw_gtk_scrolled_frame.c at
line 480 it says:
if (event->state & (GDK_MOD1_MASK | GDK_MOD2_MASK))
return FALSE;
I don't know what this is supposed to do (it's not in the pagedown
section), but when I comment it out, pageup is working again.
Furthermore, I added two lines to menu.c at line 172:
Menu_add(menu, "Back", NULL, bw, a_Commands_back_callback, bw);
Menu_add(menu, "Forward", NULL, bw, a_Commands_forw_callback, bw);
It makes browsing more convenient this way, IMHO.
I have not thoroughly examined all the sourcecode and I have no serious
plans to start coding on dillo, so maybe somebody could look into this and
maybe make a patch to the CVS code. One question though, is there a reason
why the icons in pixmap.h use so little colours?
Greetings,
--Ivo
RE: [Dillo-dev]quick question
From: Eric Gaudet <ericg@ta...> - 2002-04-26 20:19
Hi,
> Couple of quick things:
>
> 1) what is the priority of getting the meta-refresh
> tag and the cache management patches in? I'm working
> on an ongoing project with hotel survey kiosks using
> dillo in an embedded system ( intrinsyc cerfpod ).
> i've managed to staple and hot-glue a patch against
> an earlier version into 6.4 ( I think it was Pekka's
> patch, but I don't remember... ), but it is still
> pretty messy and complaining about things ( it's
> working though ;) It would be nice to have those
> in the stable or at least in the CVS tree to work
> against? My client is about to start pushing this
> in the sales channel, but when it is sold, we will
> need to be a bit more stable..
There is several things you can do.
- First, you can work against the cvs instead of a tarball. That way you can
keep you own version up to date (by doing 'cvs update -dP' regularly) and
still work on it.
- I understand there is two different features here. The best thing is
probably to use one cvs checkout for each of them, produce two patches when
you're happy, and apply the patches on your own "release" version.
- Make you patches available: post the url on the list. This way, people can
try them and fix them (while keeping you informed, of course). This will
speed-up *a*lot* the inclusion in the release, 'cause you can be sure Jorge
will never even look at a patch that's "pretty messy and complaining about
things" ;-) Let people help, open source rules.
> 2) wrote a quick article for linuxdevices.com on how we got rapidly to
phase 1 with almost no coding using dillo and > familiar:
http://www.linuxdevices.com/articles/AT2869412121.html
Nice.
> Thanks!
> -Patrick
[Dillo-dev]quick question
From: Patrick Glennon <pglennon@me...> - 2002-04-26 19:48
Attachments: Message as HTML
Couple of quick things:
1) what is the priority of getting the meta-refresh tag and the cache
management patches in? I'm working on an ongoing project with hotel
survey kiosks using dillo in an embedded system ( intrinsyc cerfpod ).
i've managed to staple and hot-glue a patch against an earlier version
into 6.4 ( I think it was Pekka's patch, but I don't remember... ), but
it is still pretty messy and complaining about things ( it's working
though ;) It would be nice to have those in the stable or at least in
the CVS tree to work against? My client is about to start pushing this
in the sales channel, but when it is sold, we will need to be a bit more
stable..
2) wrote a quick article for linuxdevices.com on how we got rapidly to
phase 1 with almost no coding using dillo and familiar:
http://www.linuxdevices.com/articles/AT2869412121.html
Thanks!
-Patrick
RE: [Dillo-dev]Oops, cancel that bug...
From: Eric Gaudet <ericg@ta...> - 2002-04-26 19:44
Actually there is a trick to add a comment: go head and volunteer for this
bug, and add a comment in place of the email address. Keep it short, though.
Eric
> -----Original Message-----
> From: dillo-dev-admin@li...
> [mailto:dillo-dev-admin@li...]On Behalf Of Paul
> Chamberlain
> Sent: Friday, April 26, 2002 12:17 PM
> To: Dillo mailing list
> Subject: [Dillo-dev]Oops, cancel that bug...
>
>
> I guess there's no way to cancel your own bug submission.
> In fact, there's no way to even add a comment.
>
> I just submitted a bug about cookies not working on
> slashdot.org. I guess you have to set up cookiesrc
> to accept the cookies. It works now despite dumping
> slashdot's headers onto the screen (They use 302
> rather than 301).
>
> Perhaps the bug should read "why do I have to enable
> cookies"?
> --
> Paul Chamberlain, tif@ti...
>
> _______________________________________________
> Dillo-dev mailing list
> Dillo-dev@li...
> https://lists.so....net/lists/listinfo/dillo-dev
>
[Dillo-dev]Oops, cancel that bug...
From: Paul Chamberlain <tif@ti...> - 2002-04-26 19:17
I guess there's no way to cancel your own bug submission.
In fact, there's no way to even add a comment.
I just submitted a bug about cookies not working on
slashdot.org. I guess you have to set up cookiesrc
to accept the cookies. It works now despite dumping
slashdot's headers onto the screen (They use 302
rather than 301).
Perhaps the bug should read "why do I have to enable
cookies"?
--
Paul Chamberlain, tif@ti...
RE: [Dillo-dev]Content Access (was: Simple plugins)
From: Eric Gaudet <ericg@ta...> - 2002-04-26 16:57
> On Wed, Apr 24, 2002 at 06:00:42PM -0700, Eric Gaudet wrote:
> [...]
> > The tough point is when selected text goes accross
> containers (which happen
> > very often since almost every non-text, non-image dw is
> likely to be an
> > invisible containter containing another dw).
> > Here's what I think the set of features that would give a
> nice DOM-like
> > feeling:
> > - a struct that would be used as a return value for all the
> functions,
> > containing only a pointer to the widget (castable to
> dw_widget) and its type
> > (one of WORD, IMAGE, TABLE_CELL, and some others like line
> breaks, bullets
> > or list, form widgets, etc.)
> > - a get_next function (whatever you want to name it), that
> would accept as
> > parameters a pointer on the current widget, a mask for the
> type, and a
> > direction (next, next_sibling, previous, previous sibling,
> first_child).
> > - get_parent(pointer).
> >
> > I am open to any suggestion for the implementation.
> > This could be done by having the functions walk the
> structure at run-time,
> > or add the relevant fields (type, next, previous, first
> child, parent) to
> > the dw struct at (page) build time (no need for get_*
> functions here, only
> > access the dw struct).
>
> A solution would be to have abstract iterators, like in STL or
> java.util.Iterator. Having static methods (with a state within the
> widget) has the disadvantage of restricting the number of "running"
> iterations at the same time to one.
>
Sounds like an overkill. But if you think it's doable, why not.
I like it better if the dw_widget class provides the information.
> BTW, do you need to represent the positions of the words (where the
> selection starts and where it ends)? How do you plan to solve this
> problem? This must be considered, too.
>
I am currently keeping a pointer to the first and last selected child
widget, and descending the tree if the child widget has childs. (because the
de/selection calls happen more often than copy/paste, so de/linking is the
part to be optimized)
[...]
> > I am affraid Dw insertion and deletion is mandatory for
> > that long-term "vision".
>
> Focus on construction, only because this is what is needed for
> CSS. Full DOM (or something equivalent) could be an extension for the
> future.
>
Depending on how you build the <div> elements in the page, you can
link/unlink a set of widgets to the link's container afterwards and that
would nicely replace insertion/deletion.
>
> Sebastian
>
> _______________________________________________
> Dillo-dev mailing list
> Dillo-dev@li...
> https://lists.so....net/lists/listinfo/dillo-dev
>
Re: [Dillo-dev]Using Dillo on a 4bits per pixel device
From: Sebastian Geerken <sgeerken@st...> - 2002-04-26 16:45
Attachments: testrgb.c
Hi,
On Mon, Apr 22, 2002 at 03:08:31PM +0530, Samyeer Metrani wrote:
> I am trying to get Dillo running on the Simputer, a monochrome
> strongarm Sa1110 based device.
>
> Dillo works fine when viewing text pages, when trying to view a gif
> or jpeg it crashes. Is this something that somebody else has faced
> before. I believe the problem is linked to the 16color display. If I
> run Dillo (the same executable file) on an iPAQ it runs fine with
> the same libraries (jpeg etc.).
>
> Any suggestions, pointers...
Dillo depends on GdkRGB, which may not work with all displays. I've
attached a simple test, taken from the Gtk+ distribution. Please
compile (cc `gtk-config --cflags --libs` testrgb.c) and test it, and
report the results.
Sebastian
Re: [Dillo-dev]pango
From: Tobin Fricke <tobin@sp...> - 2002-04-26 16:40
On Fri, 26 Apr 2002, Sebastian Geerken wrote:
> Pango will be used, but no one has yet started with it, this is an
> open task.
Since it sounds like using Pango is a slightly complicated task (since
apparently it is wrapped up into the GTK 2.0 conversion?), I was thinking
recently that perhaps a convenient temporary measure would be to just use
a library like iconv to convert whatever character set a webpage uses into
ISO-8859-1 (since "stock" Dillo currently supports only that character
set). That way, pages encoded in UTF-8 but using only characters
appearing in Latin1 could still be displayed correctly.
Any comments on this idea before I put any time into it? It's kind of a
hack, but the lack of support for unicode is pretty annoying, and in fact
prevents me from using Dillo to view my own web pages, so I might be
willing to put in some effort on this.
http://www.gnu.org/software/libiconv/
--tobin
Re: [Dillo-dev]pango
From: Sebastian Geerken <sgeerken@st...> - 2002-04-26 16:30
On Thu, Apr 25, 2002 at 10:26:08PM -0700, L Parthipan wrote:
> Is there an effort to use pango in dillo?
Read the web site:
http://dillo.cipsga.org.br/Notes.html
Pango will be used, but no one has yet started with it, this is an
open task.
Sebastian
[Dillo-dev]Content Access (was: Simple plugins)
From: Sebastian Geerken <sgeerken@st...> - 2002-04-26 16:26
On Wed, Apr 24, 2002 at 06:00:42PM -0700, Eric Gaudet wrote:
[...]
> The tough point is when selected text goes accross containers (which happen
> very often since almost every non-text, non-image dw is likely to be an
> invisible containter containing another dw).
> Here's what I think the set of features that would give a nice DOM-like
> feeling:
> - a struct that would be used as a return value for all the functions,
> containing only a pointer to the widget (castable to dw_widget) and its type
> (one of WORD, IMAGE, TABLE_CELL, and some others like line breaks, bullets
> or list, form widgets, etc.)
> - a get_next function (whatever you want to name it), that would accept as
> parameters a pointer on the current widget, a mask for the type, and a
> direction (next, next_sibling, previous, previous sibling, first_child).
> - get_parent(pointer).
>
> I am open to any suggestion for the implementation.
> This could be done by having the functions walk the structure at run-time,
> or add the relevant fields (type, next, previous, first child, parent) to
> the dw struct at (page) build time (no need for get_* functions here, only
> access the dw struct).
A solution would be to have abstract iterators, like in STL or
java.util.Iterator. Having static methods (with a state within the
widget) has the disadvantage of restricting the number of "running"
iterations at the same time to one.
BTW, do you need to represent the positions of the words (where the
selection starts and where it ends)? How do you plan to solve this
problem? This must be considered, too.
[...]
> > There will be a subset of DOM for CSS, with a focus on simple
> > construction (appending nodes, no insertion), and especially changing
> > style attributes (asynchronous HTML/CSS processing). Especially for
> > the latter, an extended Dw interface is needed, but I haven't yet done
> > any work on this area.
> >
>
> You might want to merge the concept of css "class" with the current
> dw_style, then.
Yes, the DOM should hide Dw as far as possible, DwStyle will play an
important role.
[...]
> > (Of course, text selection could copy HTML code into the cut buffer
> > -- why not, at least as an option?)
>
> Nice idea. Can we find where in the html is located a word/widget from a
> dw_page?
Has to be thought of. This whole DOM thing will probably evolve over
the time.
[...]
> > What is a "generic-application client"? ;-)
> >
>
> That would be an application using the dillo's BrowserWindows for rendering
> purpose (dillo's IO/http/web engine being one of the possible
> applications).
Well, personally, I hate web based applications (read: their user
interface), or (even worse) classic applications trying to immitate
web pages. I'd rather see dillo to be able to integrate classical
(widget based) GUI's, to assist the user on document-centric
applications (e.g. a help browser, based on dillo and a plugin, which
shows a tree on the left side).
Just MHO, I don't want any replies on this :-)
> This makes sens when you understand that most javascript "applications"
> mainly try to mimic the behavior of more powerfull GUI toolkits (gtk/qt). Tk
> almost had it right with Wish, but too much script-oriented.
> I am affraid Dw insertion and deletion is mandatory for that long-term
> "vision".
Focus on construction, only because this is what is needed for
CSS. Full DOM (or something equivalent) could be an extension for the
future.
Sebastian
Re: [Dillo-dev]0.6.5 release
From: Doug Kearns <djkea2@mu...> - 2002-04-26 15:31
On Fri, Apr 26, 2002 at 10:13:26AM -0400, Jorge Arellano Cid wrote:
<snip>
> Ah, there's also some very interesting new material in the
> site, so take your time and read it...
This page http://dillo.cipsga.org.br/funding/ is not rendering properly
in anything except dillo :-)
Sorry, I haven't the time to look at it at the moment.
<snip>
Regards,
Doug
Re: [Dillo-dev]Using Dillo on a 4bits per pixel device
From: Andreas Schweitzer <andy@ph...> - 2002-04-26 15:03
Hi,
(I'm back online ...)
Here is an issue that is somehow related :
> > I am trying to get Dillo running on the Simputer, a monochrome strong=
arm Sa1110
> > based device.
> > =A0
> > Dillo works fine when viewing text pages, when trying to view a gif o=
r jpeg it
> > crashes. Is this something that somebody else has faced before.=20
>=20
> Yes, I believe someone has already complained about Dillo crashing
> on low depth displays (or was it black&white too?) I don't remember
> exactly.
When displaying dillo on the 24bit display of my AIX box (which can handl=
e
8bit, 16bit and 24bit) it dies with
Gdk-ERROR **: BadMatch (invalid parameter attributes)
serial 3120 error_code 8 request_code 130 minor_code 3
As soon as any image is displayed - text works fine.
I dug through archives and found this post :
http://mail.gnome.org/archives/gnome-list/2000-June/msg00702.html
However, I could not use that info to fix the problem due
to my limited understanding of dillo's image handling :-)
Oh - and I inserted this into the bug-tracking engine.
Cheers,
Andreas
--=20
Department of Physics & Astronomy and Center for Simulational Physics
University of Georgia !!! NEW !!! : Phone ++1 (706) 583 8227
Athens, GA 30602-2451 Fax ++1 (706) 542 2492
USA http://dilbert.physast.uga.edu/~andy/
[Dillo-dev]0.6.5 release
From: Jorge Arellano Cid <jcid@em...> - 2002-04-26 14:16
Hi there,
Ok guys, the wait is over! dillo-0.6.5 is there ready for
download (finally we decided to revert to the old EAGAIN handler
in order to make the release, so don't hesitate).
I also made the freshmeat announcement (with dillo this time
--haaaaaa, what a pleasure! --just hope it works ;).
Ah, there's also some very interesting new material in the
site, so take your time and read it...
Clebration time!
Best regards
Jorge.-
Re: [Dillo-dev]web page crash
From: Livio Baldini Soares <livio@im...> - 2002-04-26 11:46
Hello Higuita!
higuita writes:
> hi
>
> i was using dillo 0.6.4 and found that it crash every time in
> this web page
>
> http://www.landoverbaptist.com
Humm, that's strange. I can't seem to reproduce the crash. I've
tried Dillo 0.6.4 and the lastest CVS. Both worked out ok.
Could you try to get a stack trace from the crash? Maybe we'll have a
better idea of why Dillo is crashing.
Oh, and instead of using 0.6.4, try reproducing the crash with 0.6.5
(which should be out some time today or tomorrow), or CVS (which will
be almost the same as 0.6.5, anyway).
best regards!
--
Livio <livio@im...>
[Dillo-dev]pango
From: L Parthipan <lparth@ya...> - 2002-04-26 05:26
Hi,
Is there an effort to use pango in dillo?
cheers
~logan
__________________________________________________
Do You Yahoo!?
Yahoo! Games - play chess, backgammon, pool and more
http://games.yahoo.com/
[Dillo-dev]web page crash
From: higuita <higuita@GM...> - 2002-04-25 17:38
Attachments: Message as HTML
hi
i was using dillo 0.6.4 and found that it crash every time in
this web page
http://www.landoverbaptist.com
higuita
--
Try not to have a good time ... This is supposed to be educational.
-- Charles Schulz
Caravela.homelinux.net:
6:37pm up 3 days, 23:32, 10 users, load average: 0.68, 0.46, 0.52
RE: [Dillo-dev]Simple plugins
From: Eric Gaudet <ericg@ta...> - 2002-04-25 00:58
Hi Sebastian,
> Hi Eric,
>
> On Tue, Apr 02, 2002 at 06:34:08PM -0800, Eric GAUDET wrote:
> [...]
> > If we choose to go to a full dpi2 right away, (which can take some time,
> > this is why I propose to keep the early dpi1 for now), we will need more
> > interaction with the rendering engine, which calls for the two following
> > features:
> > - the ability to walk the internal representation of the page: for now,
it?s a
> > pain in the ass to find which dw ?children? are actually rendered, which
are
> > words, which are containers, etc. The find_text code talks by itself,
and I am
> > postponing the text copy-paste until I find a good solution.
>
> Yes, find-text is ugly, and I'll try to find a cleaner, abstract
> solution; please send me also what kind of interface you need (more or
> less) exactly for text selection. I do not plan to make this too
> complicated, just a simple way to access the text content of widgets
> (see below).
>
The tough point is when selected text goes accross containers (which happen
very often since almost every non-text, non-image dw is likely to be an
invisible containter containing another dw).
Here's what I think the set of features that would give a nice DOM-like
feeling:
- a struct that would be used as a return value for all the functions,
containing only a pointer to the widget (castable to dw_widget) and its type
(one of WORD, IMAGE, TABLE_CELL, and some others like line breaks, bullets
or list, form widgets, etc.)
- a get_next function (whatever you want to name it), that would accept as
parameters a pointer on the current widget, a mask for the type, and a
direction (next, next_sibling, previous, previous sibling, first_child).
- get_parent(pointer).
I am open to any suggestion for the implementation.
This could be done by having the functions walk the structure at run-time,
or add the relevant fields (type, next, previous, first child, parent) to
the dw struct at (page) build time (no need for get_* functions here, only
access the dw struct).
> > - the ability to dynamically change the tree structure, not only be
altering
> > the content of it, but by inserting and removing words and widgets.
Right now,
> > the result when trying that is guaranteed to be ?unknown?.
> >
> > This means we have to come with some sort of DOM interface on top of the
> > internal dw representation.
>
> There will be a subset of DOM for CSS, with a focus on simple
> construction (appending nodes, no insertion), and especially changing
> style attributes (asynchronous HTML/CSS processing). Especially for
> the latter, an extended Dw interface is needed, but I haven't yet done
> any work on this area.
>
You might want to merge the concept of css "class" with the current
dw_style, then.
> If plugins will be able to access the document tree, they should IMO
> do this by the DOM interface (except graphical plugins as described in
> my post before).
>
> I'm not sure if *this* DOM makes sense for text search and selection,
> this could probably better handled by an extended Dw. DOM is more for
> handling the *document* structure (as opposed to the widget
> structure), which is crucial for CSS.
No matter how you do it, the ability to easily go to the next WORD will make
my life better.
> (Of course, text selection could copy HTML code into the cut buffer
> -- why not, at least as an option?)
Nice idea. Can we find where in the html is located a word/widget from a
dw_page?
>
> > A lot of good could come from it, including the
> > ability for dillo to become a generic-application client as well as a
better
> > browser, at almost no cost in development and no ?bloat?.
>
> What is a "generic-application client"? ;-)
>
That would be an application using the dillo's BrowserWindows for rendering
purpose (dillo's IO/http/web engine being one of the possible
applications).
This makes sens when you understand that most javascript "applications"
mainly try to mimic the behavior of more powerfull GUI toolkits (gtk/qt). Tk
almost had it right with Wish, but too much script-oriented.
I am affraid Dw insertion and deletion is mandatory for that long-term
"vision".
> Sebastian
>
Eric
Re: [Dillo-dev]Re: Dillo: Bug in new EGAIN code
From: Jorge Arellano Cid <jcid@em...> - 2002-04-24 14:03
Hi there!
On Mon, 22 Apr 2002, Pekka Lampila wrote:
> On Sun, 21 Apr 2002 17:51:22 -0400 (CLT)
> Jorge Arellano Cid <jcid@em...> wrote:
>
> > After reviewing the patch and giving some thought on it,
> > there's a new patch that solves the problem without the need of
> > the extra parameter to IO_write().
> >
> > Pekka, please chack what efence has to say about it! :)
>
> No problems as far as I can see.
I'm a bit hesitant with this subject. This is the story: I've
been working on presentation material for the site, and testing
its rendering with dillo; that is, small html files that are
re-created by a script very often, and then reloaded into dillo.
The sad new is that I've caught this problem twice:
>>
Nav_open_url: Url=>file:/tmp/funding/advantages.html#eff<
[New Thread 31776 (LWP 413)]
Delayed SIGSTOP caught for LWP 413.
LWP 413 exited.
Nav_open_url: Url=>file:/tmp/funding/advantages.html#eff<
Cannot find thread 33: invalid thread handle
(gdb) bt
#0 0x40083881 in __linuxthreads_create_event () at events.c:26
#1 0x4007d4da in pthread_handle_create (thread=0x40088e90, attr=0x0,
start_routine=0x8075a38 <File_transfer_file>, arg=0x80eda08,
mask=0x80f9dfc, father_pid=276, report_events=1, event_maskp=0x40088fec)
at manager.c:615
#2 0x4007ce78 in __pthread_manager (arg=0xd) at manager.c:157
#3 0x4007cf80 in pthread_start_thread (arg=0xd) at manager.c:221
>>
When it continues, a SEGFAULT pops...
I haven't given it much thought (that's the purpose of this
email :), so please give some work to it.
Cheers
Jorge.-
[Dillo-dev]a way to have the toolbar disabled
From: CLOTILDE Guy Daniel <guy.clotilde@wa...> - 2002-04-24 10:15
Hi all
Maybe I lost my last post, so I post it once again.
Is there a way to disable the toolbars in dillo in dillorc?
If not is it in the list of things to be implemented?
For now, double-cliking in the page makes the toolbars appear/disappear .
Thanks for answers.
BTW, it seems quite quiet here since last weeks.
Re: [Dillo-dev]Using Dillo on a 4bits per pixel device
From: Samyeer Metrani <sam@nc...> - 2002-04-23 03:39
Hello Livio,
Thank you for your email.
I tried out the patch but it does not solve my problem. I dont have a debugger on
the arm device that I am trying to run it on so I need to dig some more to find out
where the problem is coming from.
I will also try it out on a pc with a 16 color display and see what happens.
I know that bitmap(gif/jpeg) display is working fine because I have a program that
uses libjpeg and displays them fine. I have another browser (chimera) that is able
to display the gifs/jpeg's fine.
Is there anybody who has tried dillo on the mono compaq iPaq? I know that the color
compaq has a 12bit display I assume that the mono one would use a 4bit.
Warm Regards,
Samyeer
Livio Baldini Soares wrote:
> Hello Samyeer!
>
> Samyeer Metrani writes:
> > Hello,
> >
> > I am trying to get Dillo running on the Simputer, a monochrome strongarm Sa1110
> > based device.
> >
> > Dillo works fine when viewing text pages, when trying to view a gif or jpeg it
> > crashes. Is this something that somebody else has faced before.
>
> Yes, I believe someone has already complained about Dillo crashing
> on low depth displays (or was it black&white too?) I don't remember
> exactly.
>
> > I believe the
> > problem is linked to the 16color display. If I run Dillo (the same executable
> > file) on an iPAQ it runs fine with the same libraries (jpeg etc.).
> >
> > Any suggestions, pointers...
>
> I don't know exactly _what_ is making your Dillo crash. Maybe you
> could try compiling it yourself and run under gdb... :
>
> gdb ./dillo
>
> (gdb) r
>:
>: Here Dillo will run and you can do your stuff to make it crash
>:
> CRASH!
> (gdb) bt
>
> Then you get a backtrace from Dillo's calls. You can either
> interpret them yourself or post them here for help.
>
> I've also made a patch so that Dillo uses a private colormap, maybe
> it'll do something for you (I'm not promising anything ;-):
>
> (against current CVS):
> http://www.ime.usp.br/~livio/dillo/patches/private_colormap.diff
>
> hopes this help,
>
> --
> Livio <livio@im...>
RE: [Dillo-dev]Dillo on Solaris 8..y
From: Yu-Fong Cho <yfcho@ms...> - 2002-04-22 14:19
Sadly, there is no Solaris x86 on the list, but only Solaris SPARC.
I was just wondering how much difference between Solaris x86 and Solaris
SPARC?
According to Sun, they are code compatible...
If a program is ok in Solaris SPARC, it should be no problem in Solaris x86
after recompiling it.
Yu-Fong
-----Original Message-----
From: Jorge Arellano Cid [mailto:jcid@em...]
Sent: Wednesday, March 20, 2002 5:50 PM
To: Yu-Fong Cho
Subject: RE: [Dillo-dev]Dillo on Solaris 8..y
Yu-Fong,
> Please give me some information about this.
>
> I know this is not a development problem, but I am trying install Dillo on
> different platforms for interest. I have done on FreeBSD 4.5 and now are
> trying on Solaris 8 x86. Just give me some information about this and I'll
> appreciate it.
>
> Thank you.
Please go to the [Links] page, Compatibility section. There's a
big list there. If it doesn't work for you on one of the listed
machines/OS it's probably a local configuration error.
Cheers
Jorge.-
RE: [Dillo-dev]Dillo on Solaris 8..
From: Yu-Fong Cho <yfcho@ms...> - 2002-04-22 14:19
SunOS 5.8 is Solaris 8.
Solaris 8 is the package name and SunOS 5.8 is the kernel name.
I guess you have to use GNU make, Sun make seems don't understand dillo
Makefile.
-----Original Message-----
From: Mark Schreiber [mailto:mark7@an...]
Sent: Saturday, March 23, 2002 1:28 PM
To: Yu-Fong Cho
Subject: Re: [Dillo-dev]Dillo on Solaris 8..
I don't know whether the problem is that people aren't responding. It
may just be that not many people have Solaris.
I tried, but the lastest Sun thing I have access to is SunOS 5.8, and
the dillo Makefile won't even run on that thing. <shrug>
On Wed, Mar 20, 2002 at 05:10:52PM -0500, Yu-Fong Cho wrote:
> Please give me some information about this.
>
> I know this is not a development problem, but I am trying install Dillo on
> different platforms for interest. I have done on FreeBSD 4.5 and now are
> trying on Solaris 8 x86. Just give me some information about this and I'll
> appreciate it.
>
> Thank you.
>
>
> -----Original Message-----
> From: dillo-dev-admin@li...
> [mailto:dillo-dev-admin@li...]On Behalf Of Yu-Fong Cho
> Sent: Tuesday, March 19, 2002 12:46 PM
> To: Dillo Dev
> Subject: [Dillo-dev]Dillo on Solaris 8..
>
>
> Hi,
>
> Has anyone tried run Dillo 0.6.4 on Solaris 8 before?
>
> I compiled and installed it. It seems be ok except the way it handle jpeg
> image.
> The jpeg image shows only black and while mode and has some vertical line
on
> it. It isn't right.
>
> I have GNU jpeg and zlib installed. Does anyone know what is going on?
> I tried Dillo on FreeBSD 4.5 before and it was ok.
>
> Appreciate any information. Thank you.
>
>
> Yu-Fong Cho
>
>
> _______________________________________________
> Dillo-dev mailing list
> Dillo-dev@li...
> https://lists.so....net/lists/listinfo/dillo-dev
>
>
> _______________________________________________
> Dillo-dev mailing list
> Dillo-dev@li...
> https://lists.so....net/lists/listinfo/dillo-dev
--
Best of luck,
Mark Schreiber
[Dillo-dev]When will dillo 0.6.5 be released?
From: robbie chen <sandy_21@si...> - 2002-04-22 14:00
V2hhdCBmZWF0dXJlIGltcHJvdmVkP0knbSB3YWl0aW5nIGZvciBpdA0KLS0tLS0gT3JpZ2luYWwg
TWVzc2FnZSAtLS0tLSANCkZyb206ICJKb3JnZSBBcmVsbGFubyBDaWQiIDxqY2lkQGVtYXRpYy5j
b20+DQpUbzogIkRpbGxvIG1haWxpbmcgbGlzdCIgPGRpbGxvLWRldkBsaXN0cy5zb3VyY2Vmb3Jn
ZS5uZXQ+DQpTZW50OiBNb25kYXksIEFwcmlsIDIyLCAyMDAyIDU6NTEgQU0NClN1YmplY3Q6IFtE
aWxsby1kZXZdUmU6IERpbGxvOiBCdWcgaW4gbmV3IEVHQUlOIGNvZGUNCg0KDQo+IA0KPiBIaSB0
aGVyZSENCj4gDQo+IA0KPiBPbiBTdW4sIDE0IEFwciAyMDAyLCBMaXZpbyBCYWxkaW5pIFNvYXJl
cyB3cm90ZToNCj4gDQo+ID4gSGVsbG8gUGVra2EhDQo+ID4NCj4gPiBQZWtrYSBMYW1waWxhIHdy
aXRlczoNCj4gPiA+IEhpLA0KPiA+ID4NCj4gPiA+IFdoZW4gcnVubmluZyB3aXRoIGVmZW5jZSBl
bmFibGVkIERpbGxvIGNyYXNoZXMgYmVmb3JlIGRpc3BsYXlpbmcgYW55DQo+ID4gPiBwYWdlLg0K
PiA+ID4NCj4gPiA+IElPX2NhbGxiYWNrIChzcmM9MHg0MzVhYWZmMCwgY29uZD1HX0lPX09VVCwg
ZGF0YT0weDEpIGF0IElPLmM6MjQwDQo+ID4gPiAyNDAgICAgICAgICAgIGlmIChpby0+U3RhdHVz
ID09IC1FQUdBSU4pDQo+ID4NCj4gPiAgIEFoISBHb29kIGV5ZSEgSSBmb3VuZCB0aGUgcHJvYmxl
bS4uLg0KPiA+DQo+ID4gPiBJIHRoaW5rIGlvLT5TdGF0dXMgaXMgbm90IGRlZmluZWQuDQo+ID4g
Pg0KPiA+ID4gRG9uJ3Qga25vdyBlbm91Z2ggYWJvdXQgSU8tc3lzdGVtIHRvIGNvbWUgdXAgd2l0
aCBwcm9wZXIgZml4LiBCdXQgSSdsbA0KPiA+ID4gaW1hZ2luZSBpdCB3b24ndCBiZSB0b28gZGlm
ZnVjdWx0IHByb2JsZW0uIDopDQo+ID4NCj4gPiAgIFdlbGwsIGl0J3Mgbm90IGlvLT5TdGF0dXMg
d2hpY2ggaXMgbm90IGRlZmluZWQgYnV0IHRoZSBgaW9gDQo+ID4gaXRzZWxmLi4gRXZlcnl0aW1l
IHRoZSBJTyBmaW5pc2hlcywgSU9fd3JpdGUoKSBjYWxscw0KPiA+IGFfSU9fY2NjKE9wRW5kLC4u
LiksIHdoaWNoIGNvbnNlcXVlbnRseSBmcmVlcyB0aGUgYGlvYC4gIDotKA0KPiA+DQo+ID4gICBB
bmQgZWxlZ2FudCBmaXggZm9yIHRoaXMgaXMga2luZCBvZiBoYXJkLiBGaXJzdCBJIHRob3VnaHQg
b2YNCj4gPiBkZWxheWluZyB0aGUgYV9JT19jY2MoKSBjYWxsLCBhbmQgZG9pbmcgaXQgaW5zaWRl
IElPX2NhbGxiYWNrKCkuLiBidXQNCj4gPiB0aGF0IGxvb2tlZCBraW5kIG9mIGRpcnR5LiBUaGVu
IEkgdGhvdWdodCBvZiB0cnlpbmcgdG8gc2V0IGBpb2AgdG8NCj4gPiBOVUxMIGFmdGVyIGl0IGhh
ZCBiZWVuIGZyZWVkIHNvIHRoYXQgd2UgY291bGQgY2hlY2sgZm9yIE5VTEwNCj4gPiB2YWx1ZS4u
LiBidXQgdGhhdCB3b3VsZCByZXF1aXJlIGNoYW5nZXMgdG8gdGhlIENDQyBBUEkgKHdlIHdvdWxk
IGhhdmUNCj4gPiB0byBwYXNzIHZvaWQgKipEYXRhLCBpbnN0ZWFkIG9mIHZvaWQgKkRhdGEpLg0K
PiA+DQo+ID4gICBJJ3ZlIG1hZGUgYSBzb2x1dGlvbiB3aGljaCBtaWdodCBub3QgYmUgZ29vZCBl
aXRoZXIsIGJ1dCBhdCBsZWFzdA0KPiA+IHRoZSBjaGFuZ2VzIGFyZSBzbWFsbCwgYW5kIHRoZSBw
cm9ibGVtIGdldHMgZml4ZWQuLi4gbWF5YmUgeW91IGd1eXMNCj4gPiBjYW4gdGhpbmsgb2Ygc29t
ZXRoaW5nIGJldHRlci4gVGhlIHBhdGNoIGZvbGxvd3M6DQo+IA0KPiAgIEFmdGVyICByZXZpZXdp
bmcgIHRoZSAgcGF0Y2ggIGFuZCAgZ2l2aW5nICBzb21lICB0aG91Z2h0IG9uIGl0LA0KPiB0aGVy
ZSdzICBhICBuZXcgcGF0Y2ggdGhhdCBzb2x2ZXMgdGhlIHByb2JsZW0gd2l0aG91dCB0aGUgbmVl
ZCBvZg0KPiB0aGUgZXh0cmEgcGFyYW1ldGVyIHRvIElPX3dyaXRlKCkuDQo+IA0KPiAgIFBla2th
LCBwbGVhc2UgY2hhY2sgd2hhdCBlZmVuY2UgaGFzIHRvIHNheSBhYm91dCBpdCEgOikNCj4gDQo+
ICAgQ2hlZXJzDQo+ICAgSm9yZ2UuLQ0KPiANCj4gDQo+IFBTOiAgMC42LjUgIGlzIGEgYml0IGRl
bGF5ZWQsIGJ1dCBpdCdzIGp1c3QgYSBmZXcgZGF5cyBhaGVhZCwgYW5kDQo+IG1vc3QgIHByb2Jh
Ymx5IHdpbGwgYmUgY3VycmVudCBDVlMuIEl0IG5lZWRzIHNvbWUgdGVzdGluZyBvZiB0aGlzDQo+
IHBhdGNoLg0KPiANCj4gDQo+IA0KPiBfX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f
X19fX19fX19fX19fXw0KPiBEaWxsby1kZXYgbWFpbGluZyBsaXN0DQo+IERpbGxvLWRldkBsaXN0
cy5zb3VyY2Vmb3JnZS5uZXQNCj4gaHR0cHM6Ly9saXN0cy5zb3VyY2Vmb3JnZS5uZXQvbGlzdHMv
bGlzdGluZm8vZGlsbG8tZGV2DQo+IA0KPiANCg==
Re: [Dillo-dev]Using Dillo on a 4bits per pixel device
From: Livio Baldini Soares <livio@im...> - 2002-04-22 11:38
Hello Samyeer!
Samyeer Metrani writes:
> Hello,
>
> I am trying to get Dillo running on the Simputer, a monochrome strongarm Sa1110
> based device.
>
> Dillo works fine when viewing text pages, when trying to view a gif or jpeg it
> crashes. Is this something that somebody else has faced before.
Yes, I believe someone has already complained about Dillo crashing
on low depth displays (or was it black&white too?) I don't remember
exactly.
> I believe the
> problem is linked to the 16color display. If I run Dillo (the same executable
> file) on an iPAQ it runs fine with the same libraries (jpeg etc.).
>
> Any suggestions, pointers...
I don't know exactly _what_ is making your Dillo crash. Maybe you
could try compiling it yourself and run under gdb... :
gdb ./dillo
(gdb) r
:
: Here Dillo will run and you can do your stuff to make it crash
:
CRASH!
(gdb) bt
Then you get a backtrace from Dillo's calls. You can either
interpret them yourself or post them here for help.
I've also made a patch so that Dillo uses a private colormap, maybe
it'll do something for you (I'm not promising anything ;-):
(against current CVS):
http://www.ime.usp.br/~livio/dillo/patches/private_colormap.diff
hopes this help,
--
Livio <livio@im...>
Re: [Dillo-dev]Re: Dillo: Bug in new EGAIN code
From: Pekka Lampila <medar@ka...> - 2002-04-22 11:23
On Sun, 21 Apr 2002 17:51:22 -0400 (CLT)
Jorge Arellano Cid <jcid@em...> wrote:
> After reviewing the patch and giving some thought on it,
> there's a new patch that solves the problem without the need of
> the extra parameter to IO_write().
>
> Pekka, please chack what efence has to say about it! :)
No problems as far as I can see.
> PS: 0.6.5 is a bit delayed, but it's just a few days ahead, and
> most probably will be current CVS. It needs some testing of this
> patch.
And it has 34 ChangeLog items. Big thanks everyone :)
--
Pekka Lampila *
medar@ka... * If pro is the opposite of con,
http://kirjasto.org/medar * what is the opposite of progress?
[Dillo-dev]Using Dillo on a 4bits per pixel device
From: Samyeer Metrani <sam@nc...> - 2002-04-22 09:36
Attachments: Message as HTML
Hello,
I am trying to get Dillo running on the Simputer, a monochrome strongarm =
Sa1110 based device.
Dillo works fine when viewing text pages, when trying to view a gif or =
jpeg it crashes. Is this something that somebody else has faced before. =
I believe the problem is linked to the 16color display. If I run Dillo =
(the same executable file) on an iPAQ it runs fine with the same =
libraries (jpeg etc.).
Any suggestions, pointers...
Warm Regards,
Samyeer
[Dillo-dev]Re: Dillo: Bug in new EGAIN code
From: Jorge Arellano Cid <jcid@em...> - 2002-04-21 22:04
Hi there!
On Sun, 14 Apr 2002, Livio Baldini Soares wrote:
> Hello Pekka!
>
> Pekka Lampila writes:
> > Hi,
> >
> > When running with efence enabled Dillo crashes before displaying any
> > page.
> >
> > IO_callback (src=0x435aaff0, cond=G_IO_OUT, data=0x1) at IO.c:240
> > 240 if (io->Status == -EAGAIN)
>
> Ah! Good eye! I found the problem...
>
> > I think io->Status is not defined.
> >
> > Don't know enough about IO-system to come up with proper fix. But I'll
> > imagine it won't be too diffucult problem. :)
>
> Well, it's not io->Status which is not defined but the `io`
> itself.. Everytime the IO finishes, IO_write() calls
> a_IO_ccc(OpEnd,...), which consequently frees the `io`. :-(
>
> And elegant fix for this is kind of hard. First I thought of
> delaying the a_IO_ccc() call, and doing it inside IO_callback().. but
> that looked kind of dirty. Then I thought of trying to set `io` to
> NULL after it had been freed so that we could check for NULL
> value... but that would require changes to the CCC API (we would have
> to pass void **Data, instead of void *Data).
>
> I've made a solution which might not be good either, but at least
> the changes are small, and the problem gets fixed... maybe you guys
> can think of something better. The patch follows:
After reviewing the patch and giving some thought on it,
there's a new patch that solves the problem without the need of
the extra parameter to IO_write().
Pekka, please chack what efence has to say about it! :)
Cheers
Jorge.-
PS: 0.6.5 is a bit delayed, but it's just a few days ahead, and
most probably will be current CVS. It needs some testing of this
patch.
[Dillo-dev]Great Little Browser!!!!
From: Chris Hawks <chrish@sy...> - 2002-04-19 20:31
My company is looking for a browser to use as a UI for some of our
products, so, I've looked at several recently.
Until I found dillo, they were all big/slow/bloated/leaky of some
combination there-of.
Dillo is fast, clean, and robust. Really great!!
The first thing I missed was setting the font sizes thru HTML. I
uncommented the code in html.c to set the "face" and added code to set the
"size" and it works great!!!
I also added code to set the font and size for the gtk widgets. I can
send a diff if there is interest.
Thanks again!!!
Chris
Christopher R. Hawks Software Engineer
Syscon Plantstar a Division of Syscon International
-------------------------------------------------------------------------
Ignorance is no excuse for not thinking!
Re: [Dillo-dev]Simple plugins
From: Sebastian Geerken <sgeerken@st...> - 2002-04-17 17:23
Hi Eric,
On Tue, Apr 02, 2002 at 06:34:08PM -0800, Eric GAUDET wrote:
[...]
> If we choose to go to a full dpi2 right away, (which can take some time,
> this is why I propose to keep the early dpi1 for now), we will need more
> interaction with the rendering engine, which calls for the two following
> features:
>
> - the ability to walk the internal representation of the page: for now, it?s a
> pain in the ass to find which dw ?children? are actually rendered, which are
> words, which are containers, etc. The find_text code talks by itself, and I am
> postponing the text copy-paste until I find a good solution.
Yes, find-text is ugly, and I'll try to find a cleaner, abstract
solution; please send me also what kind of interface you need (more or
less) exactly for text selection. I do not plan to make this too
complicated, just a simple way to access the text content of widgets
(see below).
> - the ability to dynamically change the tree structure, not only be altering
> the content of it, but by inserting and removing words and widgets. Right now,
> the result when trying that is guaranteed to be ?unknown?.
>
> This means we have to come with some sort of DOM interface on top of the
> internal dw representation.
There will be a subset of DOM for CSS, with a focus on simple
construction (appending nodes, no insertion), and especially changing
style attributes (asynchronous HTML/CSS processing). Especially for
the latter, an extended Dw interface is needed, but I haven't yet done
any work on this area.
If plugins will be able to access the document tree, they should IMO
do this by the DOM interface (except graphical plugins as described in
my post before).
I'm not sure if *this* DOM makes sense for text search and selection,
this could probably better handled by an extended Dw. DOM is more for
handling the *document* structure (as opposed to the widget
structure), which is crucial for CSS. (Of course, text selection could
copy HTML code into the cut buffer -- why not, at least as an option?)
> A lot of good could come from it, including the
> ability for dillo to become a generic-application client as well as a better
> browser, at almost no cost in development and no ?bloat?.
What is a "generic-application client"? ;-)
Sebastian
Re: [Dillo-dev]Simple plugins
From: Sebastian Geerken <sgeerken@st...> - 2002-04-17 16:37
Hi!
Just some notes on graphical plugins. An idea I plan to test, is to
base this on GtkPlug and GtkSocket, which will be extended to support
the additional features in the size model of Dw. Extensions will be
implemented by using ICC (inter client communication) methods (like
window properties) instead of IPC. The only data which has to be
passed is the id of the socket window, this should be done via DPI1.
This is (aside from a new command) fully compatible with the current
DPI1 specification, so that the focus should now remain on
non-graphical aspects.
The way how dillo deals e.g. with <OBJECT>s, could be:
1. From the TYPE attribute (and the "imaginary" plugin registration
file), dillo knows what plugin to start (when necessary). If
this type is not supported, the alternative content is displayed.
2. The HTML parser creates a DwSocket (Dw's analogum to GtkSocket),
adds it to the current DwPage, and then sends the command
DpiCreateDwPlug, with a window id as data. Dillo does *not* have
to wait, until the plugin creates the plug window.
3. The plugin then receives and processes the data in a way already
specified.
Some points are missing:
1. For toplevel plugins, the "Content-Type" field of the HTTP
response (or perhaps only the "URL suffix") has to be evaluated.
2. In case of an error, after the DpiCreatePlugWindow has been
sent, dillo should somehow render the alternative content. This
is a pure rendering issue, Dw (or perhaps an other level above)
has to be extended for this.
The code for the plugin will be similar to plugins using the Gtk+
plug/socket mechanism, perhaps it will even be backward-compatible, so
that simple graphical plugins may be implemented by creating a
GtkPlug.
Aside from that, perhaps GtkPlug and GtkSocket could also used for
some more complex GUI extensions, for which dillo could reserve some
space for. I thought of something like the sidebar steps in Mozilla.
Sebastian
[Dillo-dev]Re: Dillo feedback
From: Sebastian Geerken <sgeerken@st...> - 2002-04-17 15:50
On Sun, Apr 14, 2002 at 10:15:54AM +0200, Tels wrote:
> Moin,
Tach Tels,
> I just tried dillo on my iPAQ and it is great! Cool! ;)
>
> Three things as suggestions:
>
> I emits things on the console, I guess that is debug stuff you forgot to
> remove:
>
> bash-2.03# Html_submit_form form->action=http://www.google.de/search
> Nav_open_url:
> Url=>http://www.google.de/search?q=&hl=de&btnI=Auf+gut+Gl%FCck!&meta=<
> border width: 0
> border width: 0
$ grep -n -e "^#define DEBUG_LEVEL" *.c
cache.c:37:#define DEBUG_LEVEL 5
colors.c:7:#define DEBUG_LEVEL 5
cookies.c:33:#define DEBUG_LEVEL 8
dns.c:33:#define DEBUG_LEVEL 5
interface.c:45:#define DEBUG_LEVEL 0
web.c:28:#define DEBUG_LEVEL 5
These are sources Jorge is responsible for ...
> I tried google, and it is just cool ;) Dillo even respected my local proxy
> environment variable. Unfortunately, the logo is too big and and the entry
> box too long.
>
> Suggestion: How about an automatic down-scaling of images (anything that is
> larger than lets say 20x30 pixel) by a predefined factor? This way googles
> logo would automatically fit. Entry box drawing-lengths could be restricted
> to something sensible automatically.
A global image scaling factor is planned. Scaling only images above a
certain size may be an option. (Or non-linear scaling?)
> I am also contacting Google in the hope that they make a special handhelds
> interface ;)
>
> Suggestion three: How about a local (fake) page that shows you your actuall
> settings? I can write a Perl script which generates it on the fly from the
> setttings file, but then Dillo would need to know to call this script.
> Alternatively, it could construct this page on the fly.
This will in future be possible with plugins. See
http://so....net/mailarchive/forum.php?thread_id=605248&forum_id=6557
for more.
> Thank you for all your work,
>
> Tels
>
>
> - --
> "Why do you go so slowly? Do you think this is some kind of game?"
> PGP key available on http://bloodgate.com/tels.asc or via email.
> perl -MDev::Bollocks -e'print Dev::Bollocks->rand(),"\n"'
> evangelistically build clicks-and-mortar functionalities
Sebastian
[Dillo-dev]toolbar pixmaps
From: CLOTILDE Guy Daniel <guy.clotilde@wa...> - 2002-04-14 11:33
Attachments: pixmaps.h
Hi
I'm very happy to send you this pixmap.h file with gnome icons ( from tigert homepage, these icons are GPL ) .
A screenshot is available here
perso.wanadoo.fr/guy.clotilde/GPL/dillo_toolbar_screenshot.png
Hope you like it.
[Dillo-dev]plugins
From: Madis Janson <madis@cy...> - 2002-04-12 11:32
maybe it should be possible to use plugins for implementating scripting
languages (like javascript) in future? its just an idea...
RE: [Dillo-dev]Simple plugins
From: Eric GAUDET <eric.gaudet@vn...> - 2002-04-12 07:04
Hi,
Tow things I=B4d like to see changed in the dpi1 proposal:
- D1 and D2 fields being 2 bytes long, the endianness can be an issue. I =
think
it will be better to have 1 byte fields D1, D2, D3, D4 instead.
- Along with the client ID, I think a request ID is needed too, to ensure
multiple windows calling the same PI concurently don=B4t get confused in =
their
connections.
There is several ways to do that, depending on if we want dillo or the PI=
to
generate those IDs. IMHO it would be easier for everyone if the PI took c=
are
of the communications its involved in.
What I propose is to add the dillo->dpi command DpiNewRequest generating =
a
unique request ID in an atomic fashion (by incrementing an index for a st=
ruct
table, for instance), and returning the request ID to the client. This me=
ans
that dillo must use this command every time it wants to do a DpiUri. We=B4=
ll also
need a DpiFreeRequest for dillo to tell the PI its closing the communicat=
ion,
so the PI can reuse the slot for futher requests.
For dpi-initiated communication, the dpi generates a request ID by itself=
, and
dillo must reuse the request ID to answer.=20
The way I see the implementation from a plugin standpoint, is to have a
MyParamStruct containing all variables needed for one single request.
int myParamMax =3D 4;
int myParamNumber =3D 0;
MyParamStruct *myParam;
and malloc it with an a_List_ like macro, then for each request find the =
first
available slot in *myParam and using the index as the request ID.
Every time a command is received or issued, all the data needed are in
myParam[requestID].
I=B4d also want to make sure multiple connection are not made simultaneou=
sly in
stdin/stdout. For that, dillo will need to have a pipe lock mecanism to b=
e set
every time a datagram is transmited, until the transmission of this parti=
cular
datagram is completed.
Best,
Eric
-- En reponse de "RE: [Dillo-dev]Simple plugins" de Jorge Arellano Cid, l=
e
11-Apr-2002 :
>=20
> Hi there!
>=20
> I just reviewed the dpi1 draft once more, and updated it with
> some information found in some old emails, and some new ideas. In
> brief, is just a few changes:
>=20
> * ClientIDs
> * Initialization proposal
> * PI options note
>=20
>=20
> Cheers
> Jorge.-
>=20
>=20
>=20
> _______________________________________________
> Dillo-dev mailing list
> Dillo-dev@li...
> https://lists.so....net/lists/listinfo/dillo-dev
------------------------------------------------------------------------
Eric GAUDET <eric.gaudet@vn...>
Le 11-Apr-2002 a 23:25:08
"Parler pour ne rien dire et ne rien dire pour parler sont les deux
principes majeurs et rigoureux de tous ceux qui feraient mieux de la
fermer avant de l'ouvrir."
------------------------------------------------------------------------
RE: [Dillo-dev]Simple plugins
From: Eric GAUDET <eric.gaudet@vn...> - 2002-04-12 02:02
Hi Jorge,
I think we can agree that according to the dpi1 proposal, the initial pat=
ch
will include the following parts:
- init code
- plugin forking and pipe registration
- url indirection to plugin pipes and rendering.
There will also be a minimal reference implementation plugin, that will
probably be a script or a small C program.
I=B4d like to know what code you already have, what code you have needs r=
ework,
and if you plan to integrate any code soon or you prefer to discuss about=
it a
little bit.
Best,
Eric
-- En reponse de "RE: [Dillo-dev]Simple plugins" de Jorge Arellano Cid, l=
e
11-Apr-2002 :
>=20
> Hi there!
>=20
> I just reviewed the dpi1 draft once more, and updated it with
> some information found in some old emails, and some new ideas. In
> brief, is just a few changes:
>=20
> * ClientIDs
> * Initialization proposal
> * PI options note
>=20
>=20
> Cheers
> Jorge.-
>=20
>=20
>=20
> _______________________________________________
> Dillo-dev mailing list
> Dillo-dev@li...
> https://lists.so....net/lists/listinfo/dillo-dev
------------------------------------------------------------------------
Eric GAUDET <eric.gaudet@vn...>
Le 11-Apr-2002 a 18:54:34
"Parler pour ne rien dire et ne rien dire pour parler sont les deux
principes majeurs et rigoureux de tous ceux qui feraient mieux de la
fermer avant de l'ouvrir."
------------------------------------------------------------------------
Re: [Dillo-dev]netscape4 icons
From: Adam Sampson <azz@gn...> - 2002-04-11 21:33
Jorge Arellano Cid <jcid@em...> writes:
> Hmmmm, those are netscape's icons.
> What about the copyrights?
The Netscape 4 icons are included in one of Mozilla's default themes,
so I'd guess they can be used under the terms of the GPL with the
proper copyright attribution.
--
Adam Sampson <azz@gn...> <URL:http://azz.us-lot.org/>
Re: [Dillo-dev]Page saving and POST-generated pages
From: Jorge Arellano Cid <jcid@em...> - 2002-04-11 20:58
Nikita,
> Hi, All !
Hi!
> There is one problem with saving a page:
> if curent page is generated as result of POST then saving it
> gives you the page (cahed or reloaded) with that url and no POST-data.
>
> This patch makes dillo to save exactly the page currently shown:
>
> [...]
>
Done! (I also removed the now unused 'url_str' code).
Cheers
Jorge.-
RE: [Dillo-dev]Simple plugins
From: Jorge Arellano Cid <jcid@em...> - 2002-04-11 19:26
Hi there!
I just reviewed the dpi1 draft once more, and updated it with
some information found in some old emails, and some new ideas. In
brief, is just a few changes:
* ClientIDs
* Initialization proposal
* PI options note
Cheers
Jorge.-
Re: [Dillo-dev]BugTrack
From: Lars Clausen <lrclause@cs...> - 2002-04-10 17:45
On Wed, 10 Apr 2002, Jorge Arellano Cid wrote:
>=20
> Hi there,
>=20
> Please review the entries before making new ones!
>=20
> I just remove #320 (valign) repeated with #297 --second time :(.
> and also #323 (no way out of find text with keyboard). C'mon, just
> press TAB or down arrow.
I for one would like all dialogs to at least have Esc be Cancel. I find
using TAB or down arrow to be quite cumbersome.
-Lars
--=20
Lars Clausen (http://shasta.cs.uiuc.edu/~lrclause)| H=E5rdgrim of Numenor
"I do not agree with a word that you say, but I |------------------------=
----
will defend to the death your right to say it." | Where are we going, and
--Evelyn Beatrice Hall paraphrasing Voltaire | what's with the handbas=
ket?
[Dillo-dev]BugTrack
From: Jorge Arellano Cid <jcid@em...> - 2002-04-10 17:10
Hi there,
Please review the entries before making new ones!
I just remove #320 (valign) repeated with #297 --second time :(.
and also #323 (no way out of find text with keyboard). C'mon, just
press TAB or down arrow.
That's all
Jorge.-
[Dillo-dev]Looking for Patches...
From: Patrick Glennon <pglennon@me...> - 2002-04-10 12:32
Attachments: Message as HTML
Howdy,
I'm testing Dillo for an embedded systems project, and am desperately
looking for patches against 0.6.4 or the cvs version for meta-refresh
support as well as for the 0 cache-size support.
We have seen some weirdness on the dillo-cache regarding posting form
results. It seems to cache result sets even when we add cache-busting
random ids in the POST URL. If anyone knows a simple way to disable the
cache, that would be delightful as well!
Thanks,
Patrick
Re: [Dillo-dev][PATCH] Private colormap
From: Imad <magius@pu...> - 2002-04-10 04:19
On Tue, 9 Apr 2002, Livio Baldini Soares wrote:
>(Am I the only one with measly
> 8 bit per pixel ? :(
No, my main box is a Sparc 5 with a 256 color adaptor, so I'm in a
similiar situation. However, as long as I start Dillo up early and use a
window manager that handles colors well (e.g., Icewm), I don't have any
problems with the colormap.
On Blackbox, if I started Dillo 6.3 after other programs, Dillo would
absolutely ruin images -- even the old Dillo title (on the old site's
main page) would be all brown and gray. Switching to Icewm, GTK-only
apps, and starting Dillo early in a session fixed all that.
I'll try out the patch when I get back home, but I'm not expecting a
huge change. I will point out that QT seems to deal with 8bpp displays
quite a bit better than GTK does -- poor colormap support is a known
defect. Not that I'd want Dillo to be QT-based -- speed is of the
essence. =)
--
Best,
Imad Hussain
+========== GBAfan Editor in Chief == http://www.gbafan.net ==========+
+===== OpenBSD. Functional. Secure. Free. http://www.openbsd.org =====+
Re: [Dillo-dev]netscape4 icons
From: Jorge Arellano Cid <jcid@em...> - 2002-04-10 02:56
On Thu, 4 Apr 2002, HORVATH Szabolcs wrote:
> http://fi.inf.elte.hu/~horvaths/pixmaps.h
>
> enjoy :-)
Hmmmm, those are netscape's icons.
What about the copyrights?
Cheers
Jorge.-
Re: [Dillo-dev][PATCH] Private colormap
From: Lars Clausen <lrclause@cs...> - 2002-04-10 02:22
On Tue, 9 Apr 2002, Livio Baldini Soares wrote:
> Hello,
>=20
[...]
> Does anyone need this? Any comments? (Am I the only one with measly
> 8 bit per pixel ? :(
Yes. Upgrade. :)
Seriously, I wish X had done a virtual full-colour screen and a conversion
in the server like Mac does. Would have way reduced these problems. Would
also have made multi-screen displays much easier. We will need to support
8bpp, though.
-Lars
--=20
Lars Clausen (http://shasta.cs.uiuc.edu/~lrclause)| H=E5rdgrim of Numenor
"I do not agree with a word that you say, but I |------------------------=
----
will defend to the death your right to say it." | Where are we going, and
--Evelyn Beatrice Hall paraphrasing Voltaire | what's with the handbas=
ket?
[Dillo-dev][PATCH] Private colormap
From: Livio Baldini Soares <livio@im...> - 2002-04-10 01:06
Hello,
recently I've been using Dillo on a system with only 8bpp. X runs
out of colors pretty quickly, and specially when Dillo is showing
images, the colormap gets pretty ugly.
To solve this we have to, basically, add this to the initialization
(in dillo.c):
+ gtk_widget_set_default_colormap (gdk_rgb_get_cmap());
With this, Dillo grabs a "private" colormap. This makes the X
colormap "flip" when focusing on-to/out-of Dillo. (Similar to
Netscape's `-install` option).
My patch not only adds this, but also adds a preference in dillorc
called `use_private_colormap`. The patch is at:
http://www.ime.usp.br/~livio/dillo/patches/private_colormap.diff
Does anyone need this? Any comments? (Am I the only one with measly
8 bit per pixel ? :(
--
Livio <livio@im...>
[Dillo-dev]Page saving and POST-generated pages
From: Nikita V. Borodikhin <eliterr@tk...> - 2002-04-09 19:49
Hi, All !
There is one problem with saving a page:
if curent page is generated as result of POST then saving it
gives you the page (cahed or reloaded) with that url and no POST-data.
This patch makes dillo to save exactly the page currently shown:
diff -urN dillo.old/src/interface.c dillo/src/interface.c
--- dillo.old/src/interface.c Mon Mar 4 19:42:24 2002
+++ dillo/src/interface.c Tue Apr 9 17:37:29 2002
@@ -1163,7 +1163,7 @@
entry_url = GTK_ENTRY(bw->location);
name = gtk_file_selection_get_filename(choosefile);
url_str = gtk_entry_get_text(entry_url);
- url = a_Url_new(url_str, NULL, 0, 0);
+ url = a_Url_dup(a_History_get_url(NAV_TOP(bw)));
if ( strlen(name) && (out = fopen(name, "w")) != NULL ) {
DilloWeb *Web = a_Web_new(url);
Re: [Dillo-dev]Abstraction to user interface
From: Melvin Hadasht <melvin.hadasht@fr...> - 2002-04-09 17:35
Hi,
on Tue, 9 Apr 2002 18:17:53 +0100
mallum <breakfast@10.am> wrote:
> on Mon, Apr 08, 2002 at 12:34:46AM +0200, Melvin Hadasht wrote:
> > (With other (available) patches to allow
> > full-window mode and offline browsing at startup, this is an
> > excellent choice for rendering html in mail user agents, or manual
> > browsers)
> >
> ooo, where are these patches ?
http://melvin.hadasht.free.fr/dillo/
or
http://freefluid.dyndns.org/dillo/ (not 24/24)
dillo-embed-cvs-27-03-2002.patch:
a gtkplug must be created by another application, then it runs 'dillo
-xid XXXX' where XXXX is the XID of the window created by gtkplug (more
info by request)
dillo-local-cvs-30-03-2002.patch:
start dillo with '-l' option, and all non 127.*.*.* http requests are
reported as 'can't solve ...'
The full window (not full screen) patch is not there, but I can put it
if requested.
I don't think both patches are compatibles. If you want, I'll put a
patch having all 3 features (xid, local browsing, and full window
startup)
Cheers
--
Melvin Hadasht
Re: [Dillo-dev]Abstraction to user interface
From: mallum <breakfast@10...> - 2002-04-09 17:17
on Mon, Apr 08, 2002 at 12:34:46AM +0200, Melvin Hadasht wrote:
> (With other (available) patches to allow
> full-window mode and offline browsing at startup, this is an excellent
> choice for rendering html in mail user agents, or manual browsers)
>
ooo, where are these patches ?
-- mallum
Re: [Dillo-dev]Mouse-Wheel not working anymore
From: Ralph Slooten <ralph@de...> - 2002-04-09 05:32
I just tried the CVS from yesterday, and it's working again :-) Since the
20020327 version I had tried for several days (almost each day) to get it
working with new CVS versions , but each day it didn't. Newer versions just
scrolled down, but as I said, not up.
But that seems to be fixed now. No idea how or what though :-) I didn't use
your patch (thanks for the effort though).
Many thanks,
Greetings
Ralph
On Mon, 8 Apr 2002, Livio Baldini Soares wrote:
> Hello Ralph!
>
> Ralph Slooten writes:
> > Hi there guys,
> >
> > I'm not sure if I am the only one to get this problem, however as from the
> > CVS version on 27/03 my mouse-wheel only pages down, and not up. I have
> > tried several versions since then, and they all do not work here.
>
> Hum.. now that you mention it, I _do_ have a similar problem. Except
> it happens not only with the mouse wheel, but with PageUp as well.
>
> > Any ideas?
>
> Yup... I think Jorge made some additions to the interface to allow
> SPACE to PageDown and 'b' or 'B' to PageUp. But he also added a
> additional check to see if those 'b's had an additional modifier (like
> Alt-B, which should actually access the Bookmarks menu).
>
> In my case GDK_MOD2_MASK is the Num Lock... so it kind of took a
> while to understand why sometimes it worked, and why sometimes it
> didn't...
>
> Ralph, does the mouse-wheel going up issue disappear with your
> NumLock off? Is your keyboard a 101-US? (Does the following patch help
> at all?)
>
> I have a patch here... I does only two things:
>
> [1] Doesn't check modifier upon normal PageUp button.
>
> [2] When 'b' or 'B' are pressed only check for GDK_MOD1_MASK
>
> Item 2 is "optional" (in the sense that item 1 should solve your
> mouse problem, and my PageUp problem, but would still have a problem
> with 'b' and NumLock on).
>
> Getting the modifiers right is kind of tricky, because it depends on
> the X keyboard mappings... check here for more info:
>
> http://developer.gnome.org/doc/API/2.0/gdk/gdk-windows.html#GDKMODIFIERTYPE
>
> Here is the 3 liner (against CVS from 08-Apr-2002):
>
> *****************************************************************************
> diff -pru dillo/src/dw_gtk_scrolled_frame.c
> dillo.my/src/dw_gtk_scrolled_frame.c
> --- dillo/src/dw_gtk_scrolled_frame.c Fri Mar 29 01:37:25 2002
> +++ dillo.my/src/dw_gtk_scrolled_frame.c Mon Apr 8 22:22:25 2002
> @@ -475,10 +475,10 @@ static gint Dw_gtk_scrolled_frame_key_pr
> else
> return gtk_container_focus (container, GTK_DIR_TAB_FORWARD);
>
> - case GDK_Page_Up:
> case GDK_b: case GDK_B:
> - if (event->state & (GDK_MOD1_MASK | GDK_MOD2_MASK))
> - return FALSE;
> + if (event->state & GDK_MOD1_MASK)
> + return FALSE;
> + case GDK_Page_Up:
> if (event->state & GDK_CONTROL_MASK)
> Dw_gtk_scrolled_frame_move_by(frame,
> - frame->hadjustment->page_increment, 0);
> *******************************************************************************
>
> best regards to all!
>
> --
> Livio <livio@im...>
>
> _______________________________________________
> Dillo-dev mailing list
> Dillo-dev@li...
> https://lists.so....net/lists/listinfo/dillo-dev
>
--
Homepage: http://tuxpower.f2g.net/
Re: [Dillo-dev]sourceforge: why the move?
From: Livio Baldini Soares <livio@im...> - 2002-04-09 02:37
Hello Jonathan!
jonathan chetwynd writes:
> sorceforge has so many great projects, why the move?
Well, this has been discussed here at the end of the last year (2001):
http://so....net/mailarchive/message.php?msg_id=878753
That was my first message about the subject, but at the bottom,
you'll see links to some more thoughts from others (specially Jorge,
the maintainer). My first post was rather "euforic" (with lots of
English mistakes ;), but if you read my second post and some of the
others, you'll see that we have reached a "consensus" about leaving
sourceforge.
> will the mailing list stay at sourceforge?
Probably not. The goal is to take everything away from
SourceForge. We are still trying to get the mailing lists up at
CIPSGA, CVS should follow.
But please, don't worry. The move should ease developers to keep
contributing to the project. Plus, _everything_ will be announced
ahead of time! We will (probably) leave notices at the out SF site,
redirecting the home page, CVS and mailing lists.
best regards to all!
--
Livio <livio@im...>
Re: [Dillo-dev]Mouse-Wheel not working anymore
From: Livio Baldini Soares <livio@im...> - 2002-04-09 02:14
Hello Ralph!
Ralph Slooten writes:
> Hi there guys,
>
> I'm not sure if I am the only one to get this problem, however as from the
> CVS version on 27/03 my mouse-wheel only pages down, and not up. I have
> tried several versions since then, and they all do not work here.
Hum.. now that you mention it, I _do_ have a similar problem. Except
it happens not only with the mouse wheel, but with PageUp as well.
> Any ideas?
Yup... I think Jorge made some additions to the interface to allow
SPACE to PageDown and 'b' or 'B' to PageUp. But he also added a
additional check to see if those 'b's had an additional modifier (like
Alt-B, which should actually access the Bookmarks menu).
In my case GDK_MOD2_MASK is the Num Lock... so it kind of took a
while to understand why sometimes it worked, and why sometimes it
didn't...
Ralph, does the mouse-wheel going up issue disappear with your
NumLock off? Is your keyboard a 101-US? (Does the following patch help
at all?)
I have a patch here... I does only two things:
[1] Doesn't check modifier upon normal PageUp button.
[2] When 'b' or 'B' are pressed only check for GDK_MOD1_MASK
Item 2 is "optional" (in the sense that item 1 should solve your
mouse problem, and my PageUp problem, but would still have a problem
with 'b' and NumLock on).
Getting the modifiers right is kind of tricky, because it depends on
the X keyboard mappings... check here for more info:
http://developer.gnome.org/doc/API/2.0/gdk/gdk-windows.html#GDKMODIFIERTYPE
Here is the 3 liner (against CVS from 08-Apr-2002):
*****************************************************************************
diff -pru dillo/src/dw_gtk_scrolled_frame.c
dillo.my/src/dw_gtk_scrolled_frame.c
--- dillo/src/dw_gtk_scrolled_frame.c Fri Mar 29 01:37:25 2002
+++ dillo.my/src/dw_gtk_scrolled_frame.c Mon Apr 8 22:22:25 2002
@@ -475,10 +475,10 @@ static gint Dw_gtk_scrolled_frame_key_pr
else
return gtk_container_focus (container, GTK_DIR_TAB_FORWARD);
- case GDK_Page_Up:
case GDK_b: case GDK_B:
- if (event->state & (GDK_MOD1_MASK | GDK_MOD2_MASK))
- return FALSE;
+ if (event->state & GDK_MOD1_MASK)
+ return FALSE;
+ case GDK_Page_Up:
if (event->state & GDK_CONTROL_MASK)
Dw_gtk_scrolled_frame_move_by(frame,
- frame->hadjustment->page_increment, 0);
*******************************************************************************
best regards to all!
--
Livio <livio@im...>
Re: [Dillo-dev]Abstraction to user interface
From: Bo Lorentsen <bl@ne...> - 2002-04-08 08:36
On Mon, 2002-04-08 at 09:18, Melvin Hadasht wrote:
> I think this is not possible via gtksocket/gtkplug.
Ups --- sorry, you are right :-)
/BL
Re: [Dillo-dev]Abstraction to user interface
From: Melvin Hadasht <melvin.hadasht@fr...> - 2002-04-08 07:24
Hi,
on 08 Apr 2002 08:57:29 +0200
Bo Lorentsen <bl@ne...> wrote:
> > Then, how
> > about accessing the gui elements inside the HTML dokument via, the
> > gtk C interface ? That way this could be a new way of making custom
> > user interface.
I think this is not possible via gtksocket/gtkplug.
Cheers
--
Melvin Hadasht
Re: [Dillo-dev]Abstraction to user interface
From: Bo Lorentsen <bl@ne...> - 2002-04-08 06:57
On Mon, 2002-04-08 at 00:34, Melvin Hadasht wrote:
> I made a patch to embed the X window of dillo using gtk_plug/gtk_socket.
> Works like a charm. See dillo mail archive, subject '[Dillo-dev]patch:
> embedding dillo'. That means, dillo is run as an external program, only
> its window is embedded in an application. Although, I don't think this
> is sufficient for you. (With other (available) patches to allow
> full-window mode and offline browsing at startup, this is an excellent
> choice for rendering html in mail user agents, or manual browsers)
Then, how about accessing the gui elements inside the HTML dokument via,
the gtk C interface ? That way this could be a new way of making custom
user interface.
/BL
Re: [Dillo-dev]Abstraction to user interface
From: Melvin Hadasht <melvin.hadasht@fr...> - 2002-04-07 22:40
Hi,
on Mon, 8 Apr 2002 00:00:49 +0200
Erich Schubert <erich@de...> wrote:
> I'd like to see dillo as html renderer for upcomding galeon2.
> Galeon2 tries to become mozilla-independant, so it possibly could use
> gtkhtml2 or dillo as alternative renderers...
>
> Does dillo support this? Is there some dillo-embed wiget i could use
> in own programs? I just looked at the source and it did not seem to
> me as if this is possible right now :-(
>
> mozilla is so slow and needs so much memory, but i just love the
> galeon user interface...
I made a patch to embed the X window of dillo using gtk_plug/gtk_socket.
Works like a charm. See dillo mail archive, subject '[Dillo-dev]patch:
embedding dillo'. That means, dillo is run as an external program, only
its window is embedded in an application. Although, I don't think this
is sufficient for you. (With other (available) patches to allow
full-window mode and offline browsing at startup, this is an excellent
choice for rendering html in mail user agents, or manual browsers)
Cheers
--
Melvin Hadasht
[Dillo-dev]Abstraction to user interface
From: Erich Schubert <erich@de...> - 2002-04-07 22:07
I'd like to see dillo as html renderer for upcomding galeon2.
Galeon2 tries to become mozilla-independant, so it possibly could use
gtkhtml2 or dillo as alternative renderers...
Does dillo support this? Is there some dillo-embed wiget i could use in
own programs? I just looked at the source and it did not seem to me as
if this is possible right now :-(
mozilla is so slow and needs so much memory, but i just love the galeon
user interface...
Greetings,
Erich
[Dillo-dev]Speed: and the wheely mouse
From: jonathan chetwynd <j.chetwynd@bt...> - 2002-04-06 15:26
I'm just beginning to use dillo on my laptop, having been stunned by how
fast it is on the ipaq.
I'm certain there is a need for a visual lynx, though the 'dillo' name
is somewhat wanting...
How will animated gifs, css, javascript bookmarklets, impact on speed.
You may not have answers, but please don't sacrifice speed, its a niche
you fit very well
Is it possible that a wheely mouse could be used to scroll thru the
history file?
thanks
jonathan
[Dillo-dev]Thank you Dillo developers
From: grump old <grumpyold_man@ya...> - 2002-04-05 20:55
You guys are making a fantastic browser!
John Andrews
__________________________________________________
Do You Yahoo!?
Yahoo! Tax Center - online filing with TurboTax
http://taxes.yahoo.com/
[Dillo-dev]sourceforge: why the move?
From: jonathan chetwynd <j.chetwynd@bt...> - 2002-04-05 20:07
sorceforge has so many great projects, why the move?
will the mailing list stay at sourceforge?
thanks
[Dillo-dev]Mouse-Wheel not working anymore
From: Ralph Slooten <ralph@de...> - 2002-04-05 16:43
Hi there guys,
I'm not sure if I am the only one to get this problem, however as from the
CVS version on 27/03 my mouse-wheel only pages down, and not up. I have
tried several versions since then, and they all do not work here.
Any ideas?
Greetings
Ralph
--
Homepage: http://tuxpower.f2g.net/
Re: [Dillo-dev]CIPSGA
From: Gustavo Noronha Silva <kov@de...> - 2002-04-05 16:21
Em Fri, 5 Apr 2002 08:43:14 -0300, Eduardo Marcel Maçan <macan@de...>
escreveu:
> On Thu, 4 Apr 2002 11:01:12 -0400 (CLT) Jorge Arellano Cid <jcid@em...>
> wrote:
> > OK, I just received the extra couple success-notes, so now it's
> > official, we've moved to http://dillo.cipsga.org.br/ !!!
>
> Wow, Congratulations to both Jorge, Livio (which by the way
> we had the pleasure to have in our IRC channel :) ) the dillo contributors,
> and the folks in the Debian-br team who do the admin at cipsga, and of
> course cipsga itself for the great job in promoting the use and development
> of free software in Brazil and abroad.
congrats =D, I just called Djalma about the lists, I'm sorry for the delay
> I am very happy this could happen, it would only be better if the
> former dillo maintainer in debian remembered that I e-mailed him saying
> that if he was ever to abandon dillo, he should handle it to me... he
> orphaned it during my "forced vacations" and I lost it :( Well... that's life
> :)
well, I tried, but you can still discuss with the one who took it =D
[]s!
--
kov@de...: Gustavo Noronha <http://people.debian.org/~kov>
Debian: <http://www.debian.org> * <http://debian-br.cipsga.org.br>
Re: [Dillo-dev]Re: CSS
From: Jorge Arellano Cid <jcid@em...> - 2002-04-05 15:21
Jonathan,
> connected fine, comments please on CSS1 and CSS2 which do not seem to be
> supported at present...
>
> will they be?
Probably.
> and if so when-ish?
That depends on how much knowledgeable people is willing to
help with that!
> really its a fabulous browser - good stuff
>
> thanks again
Cheers
Jorge.-
Re: [Dillo-dev]CIPSGA
From: Eduardo Marcel <macan@co...> - 2002-04-05 11:53
On Fri, 5 Apr 2002 08:43:14 -0300 Eduardo Marcel Ma=E7an <macan@de...=
g> wrote:
> Wow, Congratulations to both Jorge, Livio (which by the way
> we had the pleasure to have in our IRC channel :) ) the dillo contribut=
ors,
> and the folks in the Debian-br team who do the admin at cipsga, and of
> course cipsga itself for the great job in promoting the use and develop=
ment
> of free software in Brazil and abroad.
Hah, "both" overflow :)
It just happened I remembered "on the fly" that I had to thank more than
two groups of people :)
--=20
Eduardo Marcel Ma=E7an Gerente de Redes / Network Manager
macan@co... Col=E9gio Bandeirantes
Re: [Dillo-dev]CIPSGA
From: Eduardo Marcel <macan@de...> - 2002-04-05 11:43
On Thu, 4 Apr 2002 11:01:12 -0400 (CLT) Jorge Arellano Cid <jcid@em...=
om> wrote:
> OK, I just received the extra couple success-notes, so now it's
> official, we've moved to http://dillo.cipsga.org.br/ !!!
Wow, Congratulations to both Jorge, Livio (which by the way
we had the pleasure to have in our IRC channel :) ) the dillo contributor=
s,
and the folks in the Debian-br team who do the admin at cipsga, and of=20
course cipsga itself for the great job in promoting the use and developme=
nt
of free software in Brazil and abroad.
I am very happy this could happen, it would only be better if the
former dillo maintainer in debian remembered that I e-mailed him saying
that if he was ever to abandon dillo, he should handle it to me... he
orphaned it during my "forced vacations" and I lost it :( Well... that's =
life :)
At least I am still the "dillo for ipaq" maintainer in the familiar=20
distribution :)
> Note that the CVS still remains at SF, but hopefully that'll
> change soon.
>=20
> Ah, I also adviced you to keep the BugTrack at SF, until we
> moved. Well, not IS time to switch to using the one at CIPSGA!
> (Yes, it's updated).
--=20
Eduardo Marcel Ma=E7an Gerente de Redes / Network Manager
macan@co... Col=E9gio Bandeirantes
[Dillo-dev]netscape4 icons
From: HORVATH Szabolcs <horvaths@fi...> - 2002-04-04 21:21
http://fi.inf.elte.hu/~horvaths/pixmaps.h
enjoy :-)
--
Horváth Szabolcs, <horvaths@fi.inf.elte.hu>
Re: [Dillo-dev]CIPSGA
From: Jorge Arellano Cid <jcid@em...> - 2002-04-04 17:03
Hi there!
On Wed, 3 Apr 2002, Bjoern Weber wrote:
> Jorge Arellano Cid <jcid@em...> schrieb am 02.04.02:
> > Hi there!
> > > > The new site's at: http://dillo.cipsga.org.br/
> > > > It hasn't yet been blessed as our official site, but please go
> > > > there and test it, specially those of you from Europe, so we can
> > > > get a feel of how the connection behaves.
> > > i've tried it now multiple times, and it has always worked fine and fast
> > > (i'm in estonia, which is in europa).
> > Thanks a lot Madis. A couple more successful reports and I'll
> > turn it our official site. It's much better!
>
> Then add my voice to the list of successful reports. I prefer the
> new site as well. Design is nice and usable, bugtracking works fine
> too - at least the few things I tested =)
OK, I just received the extra couple success-notes, so now it's
official, we've moved to http://dillo.cipsga.org.br/ !!!
Note that the CVS still remains at SF, but hopefully that'll
change soon.
Ah, I also adviced you to keep the BugTrack at SF, until we
moved. Well, not IS time to switch to using the one at CIPSGA!
(Yes, it's updated).
> Yet the compatibility page seems incomplete, if you don't mind
> occasional memory faults out of the gtk you may as well use dillo
> on QNX RTP 6.1/x86 as well =)
I'll add that one.
Cheers+ :)
Jorge.-
[Dillo-dev]question about html parser
From: Madis Janson <madis@cy...> - 2002-04-03 17:02
does nested tags use parent tag data structures? i mean, whether it is
safe to delete parent tag from tag stack and move its children down to its
place, when closing a tag. for example html like this:
<form>
...
<table>
</form>
...
</table>
currently dillo just kills the table, when it founds </form> tag.
i've thought about modifing parser to search matching tag and close only
the matching tag in Html_pop_tag function.
Re: [Dillo-dev]CIPSGA
From: Bjoern Weber <foxbow@we...> - 2002-04-03 07:20
Jorge Arellano Cid <jcid@em...> schrieb am 02.04.02:
> Hi there!
> > > The new site's at: http://dillo.cipsga.org.br/
> > > It hasn't yet been blessed as our official site, but please go
> > > there and test it, specially those of you from Europe, so we can
> > > get a feel of how the connection behaves.
> > i've tried it now multiple times, and it has always worked fine and fast
> > (i'm in estonia, which is in europa).
> Thanks a lot Madis. A couple more successful reports and I'll
> turn it our official site. It's much better!
Then add my voice to the list of successful reports. I prefer the
new site as well. Design is nice and usable, bugtracking works fine
too - at least the few things I tested =)
Yet the compatibility page seems incomplete, if you don't mind
occasional memory faults out of the gtk you may as well use dillo
on QNX RTP 6.1/x86 as well =)
Greetings,
Bjoern
--
A nuclear bomb is really funny but when it comes your way
Falling on your breakfast table can disturb your day!
(Off - Bad News)
Re: [Dillo-dev]CIPSGA
From: <SirVer@gm...> - 2002-04-03 13:16
On Tue, Apr 02, 2002 at 12:00:51PM -0600, Jamin W. Collins wrote:
> On Tue, 2 Apr 2002 11:46:35 -0400 (CLT)
> "Jorge Arellano Cid" <jcid@em...> wrote:
>
> > Thanks a lot Madis. A couple more successful reports and I'll
> > turn it our official site. It's much better!
>
> Worked fine when I tested it. Like the layout too.
yep, works fine and fast from here in germany
Holger
Re: [Dillo-dev]Simple plugins
From: Lars Clausen <lrclause@cs...> - 2002-04-03 03:14
On Tue, 2 Apr 2002, Jorge Arellano Cid wrote:
>=20
> Hi there!
>=20
[...]
> This is the opportunity to discuss, design, improve, correct,
> etc. (is far better to correct the design than trying to mend an
> unsuitable piece of code.)
I have to wonder, why the two data fields and then 'length' amount of data?
Why not have any data fields be a part of the data?
I'd like to see things like page info (date, size, server, cache-info etc)
being passed to plugins.
I'm not sure how actual data download works with this. How would, say, an
external viewer plugin get the data to feed to the external program (not
all external programs understand URI's)? Dillo already handles download,
so it seems we should take advantage of that. Perhaps the plugin can tell
Dillo to save the data to a file, or pass it into a socket, or something?
I like the idea of prefs being a plugin, but there's some work to be done
to make Dillo actually use new prefs internally. Not too hard, probably.
I've been thinking about a better version of the external viewer program,
and of course I'd like to do it with plugins, when they are available.
Here's my idea:
At startup, parse either ~/.mailcap or ~/.dillo/viewers to set up known
viewers. Also parse /etc/mailcap, but store the associations separately.
The default viewer for unknown mime types should be a handler that asks
the users what to do: Either save to disk, specify a program directly,
or pick one of the associated programs found in /etc/mailcap. Optionally
store this in either ~/.mailcap or ~/.dillo/viewers, if it is to be
permanent.=20
This makes for a nice intermediate between 'one fixed viewer' and 'select
any program', and fits well into the current mime system. As for
~/.mailcap vs. ~/.dillo/viewers, using ~/.mailcap may interfere with other
programs, but it may also be seen as the users preferred general settings.
> Finally, dillo-0.6.5 release is planned for mid April, from the
> new site!!!
Could you put a link to the new site up on the old site, perhaps?
-Lars
--=20
Lars Clausen (http://shasta.cs.uiuc.edu/~lrclause)| H=E5rdgrim of Numenor
"I do not agree with a word that you say, but I |------------------------=
----
will defend to the death your right to say it." | Where are we going, and
--Evelyn Beatrice Hall paraphrasing Voltaire | what's with the handbas=
ket?
RE: [Dillo-dev]Simple plugins
From: Eric GAUDET <eric.gaudet@vn...> - 2002-04-03 02:36
Hi Jorge,
I am so glad you finally gave the dpi some priority! I can=B4t help notic=
ing that
you came back to most of my initial design, even if you gave me a hard ti=
me
back then because you found it too complicated :-)
I still have to review it in detail, though. I=B4d also want to know how =
much
code you have have for it and for what feature, since a lot of people see=
m to
have sent you a contribution.
Now I had almost a year of reflection about it, I think that there is a m=
ajor
flaw to this dpi1-plus plugin: re-entrance will be very difficult to main=
tain
with the proposed design, basically leaving it up to the plugin=B4s devel=
oper.
That=B4s because most plugins will be kept alive. This half-baked dpi1-al=
most2
propostion does not satisfy me.
Since it seems to be a good time for discussing about it, here=B4s what I=
think.
1) revert to dpi1 with one simple request-answer scheme without keeping i=
t alive
(perhaps by using the implementation I did before), or simply abandon it.
2) push the current proposition up to a full dpi2, where each plugin will=
be
loaded and kept alive a staring time. A lot of simplification can be done=
here:
no more stdin-stdout, but use dlopen with a clean interface of calling
functions to implement; all relevant data for each request would be maint=
ained
by a session struct passed as a pointer to each of these functions.
If we choose to go to a full dpi2 right away, (which can take some time,
this is why I propose to keep the early dpi1 for now), we will need more
interaction with the rendering engine, which calls for the two following
features:
- the ability to walk the internal representation of the page: for now, i=
t=B4s a
pain in the ass to find which dw =A8children=A8 are actually rendered, wh=
ich are
words, which are containers, etc. The find_text code talks by itself, and=
I am
postponing the text copy-paste until I find a good solution.
- the ability to dynamically change the tree structure, not only be alter=
ing
the content of it, but by inserting and removing words and widgets. Right=
now,
the result when trying that is guaranteed to be =A8unknown=A8.
This means we have to come with some sort of DOM interface on top of the
internal dw representation. A lot of good could come from it, including t=
he
ability for dillo to become a generic-application client as well as a bet=
ter
browser, at almost no cost in development and no =A8bloat=A8.
Mozilla=B4s gecko rendering engine is successful amongst developers becau=
se it=B4s
mimic-ing the MSIE=B4s poor internal representation they know, let=B4s de=
sign
something better.
Best,
Eric
PS: Jorge, I wanted to ask you this for a long time: what text editor do =
you
use, with that =A8justify=A8 in plain text?
-- En reponse de "[Dillo-dev]Simple plugins" de Jorge Arellano Cid, le
02-Apr-2002 :
>=20
> Hi there!
>=20
> Those of you that read my "Dillo plans for 2002" post should
> have a good overview of what's currently going on:
>=20
> http://www.geocrawler.com/archives/3/702/2002/1/0/7681591/
>=20
> As you may see there, my first priority now is getting some
> funds to keep rolling dillo project; it's a tough situation, so
> I'm currently making some presentation material to show to
> potential contributors... (Please re-read the post for details).
>=20
>=20
>=20
> I've noticed special interest for what we agred to call "simple
> plugins". At least, Russell, Paul, Johnatan, Bruce, Ralph, Geoff,
> Tomas, Imad, Mark, Stephen and Eric have wrote something directly
> or closely related to them. Considering the situation, I decided
> to give some time to it, and prepared a new draft of the dpi1
> spec. The document is several pages long, so I put it under the
> "Developers" section of the new site.
>=20
> Please read it as it's the generic answer to all of those
> posts that seemed forgoten, but that were not!
>=20
> The doc is somewhat dense and will surely require some time to
> study, digest and comprehend. Well, with that interest showing, I
> think it's a good time to give it some thought.
>=20
> This is the opportunity to discuss, design, improve, correct,
> etc. (is far better to correct the design than trying to mend an
> unsuitable piece of code.)
>=20
> Best of luck with it!
>=20
>=20
> Ah, passing to another subject, I have a couple of SSL
> implementations to review here, but I'll get into them later
> (maybe in a month or more). I'd love to have some more feedback
> from the authors, just to know how they behave and why they
> decided to implement it that way.
>=20
> Finally, dillo-0.6.5 release is planned for mid April, from the
> new site!!!
>=20
>=20
> Stay tuned!
> Jorge.-
>=20
>=20
>=20
> _______________________________________________
> Dillo-dev mailing list
> Dillo-dev@li...
> https://lists.so....net/lists/listinfo/dillo-dev
------------------------------------------------------------------------
Eric GAUDET <eric.gaudet@vn...>
Le 02-Apr-2002 a 17:48:39
"Parler pour ne rien dire et ne rien dire pour parler sont les deux
principes majeurs et rigoureux de tous ceux qui feraient mieux de la
fermer avant de l'ouvrir."
------------------------------------------------------------------------
[Dillo-dev]Simple plugins
From: Jorge Arellano Cid <jcid@em...> - 2002-04-02 23:19
Hi there!
Those of you that read my "Dillo plans for 2002" post should
have a good overview of what's currently going on:
http://www.geocrawler.com/archives/3/702/2002/1/0/7681591/
As you may see there, my first priority now is getting some
funds to keep rolling dillo project; it's a tough situation, so
I'm currently making some presentation material to show to
potential contributors... (Please re-read the post for details).
I've noticed special interest for what we agred to call "simple
plugins". At least, Russell, Paul, Johnatan, Bruce, Ralph, Geoff,
Tomas, Imad, Mark, Stephen and Eric have wrote something directly
or closely related to them. Considering the situation, I decided
to give some time to it, and prepared a new draft of the dpi1
spec. The document is several pages long, so I put it under the
"Developers" section of the new site.
Please read it as it's the generic answer to all of those
posts that seemed forgoten, but that were not!
The doc is somewhat dense and will surely require some time to
study, digest and comprehend. Well, with that interest showing, I
think it's a good time to give it some thought.
This is the opportunity to discuss, design, improve, correct,
etc. (is far better to correct the design than trying to mend an
unsuitable piece of code.)
Best of luck with it!
Ah, passing to another subject, I have a couple of SSL
implementations to review here, but I'll get into them later
(maybe in a month or more). I'd love to have some more feedback
from the authors, just to know how they behave and why they
decided to implement it that way.
Finally, dillo-0.6.5 release is planned for mid April, from the
new site!!!
Stay tuned!
Jorge.-
Re: [Dillo-dev]CIPSGA
From: Jamin W. Collins <jcollins@as...> - 2002-04-02 18:02
On Tue, 2 Apr 2002 11:46:35 -0400 (CLT)
"Jorge Arellano Cid" <jcid@em...> wrote:
> Thanks a lot Madis. A couple more successful reports and I'll
> turn it our official site. It's much better!
Worked fine when I tested it. Like the layout too.
--
Jamin W. Collins
Re: [Dillo-dev]CIPSGA
From: Jorge Arellano Cid <jcid@em...> - 2002-04-02 17:49
Hi there!
On Mon, 1 Apr 2002, Madis Janson wrote:
> On Wed, 20 Mar 2002, Jorge Arellano Cid wrote:
>
> >
> > The new site's at: http://dillo.cipsga.org.br/
> >
> > It hasn't yet been blessed as our official site, but please go
> > there and test it, specially those of you from Europe, so we can
> > get a feel of how the connection behaves.
>
> i've tried it now multiple times, and it has always worked fine and fast
> (i'm in estonia, which is in europa).
Thanks a lot Madis. A couple more successful reports and I'll
turn it our official site. It's much better!
Cheers
Jorge.-
|