summaryrefslogtreecommitdiff
path: root/ChangeLog
blob: 2e5ffa14710c4b9c2f5f2cb7cca589b3506b1e36 (plain)
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
2001-10-06  Alex Graveley  <alex@ximian.com>

	* configure.in (enable_nss): Explicitly add libplc4 and libplds4
	which are dependencies of libnspr4.

	* src/libsoup/Makefile.am (libsoup_la_LIBADD): Link with NSS libs.
	(libsoup_la_SOURCES): Add soup-nss.[ch].

	* src/libsoup/soup-nss.c: Added. GIOChannel wrapper for Mozills NSS.

	* src/libsoup/soup-ssl.c: Use NSS if available to avoid out of
	process SSL proxy.

	* src/soup-ssl-proxy/Makefile.am (soup_ssl_proxy_SOURCES): Remove
	soup-nss.[ch].
	(soup_ssl_proxy_LDADD): Do not link NSS libs, as these are now
	linked directly into libsoup.

2001-10-05  Alex Graveley  <alex@ximian.com>

	* src/libsoup/soup-message.c (soup_message_clear_headers):
	Impl. Use instead of custom header free funcs throughout.
	(soup_message_foreach_header): Impl.
	(global_handlers): Handle redirects before authenticating.
	(redirect_handler): Use soup_message_get_header.
	(run_handler): Ditto.

2001-10-04  Alex Graveley  <alex@ximian.com>

	* src/libsoup/soup-socket-unix.c (soup_address_new_cb): Ugg. Don't
	call waitpid with NOHANG. Avoid zombies. Gain friends.

2001-10-04  Alex Graveley  <alex@ximian.com>

	* src/libsoup/soup-message.c (authorize_handler): Call
	soup_message_get_header_list.

	* src/libsoup/soup-auth.c (soup_auth_new_from_header_list): Set
	crypto strength for authentication types, and try to choose the
	strongest when authenticating.

	* src/libsoup/soup-queue.c (soup_check_used_headers): Kill warnings.

	* tests/simple-test.c (list_headers): Handle multiple values for
	header.

	* tests/handler-test.c (list_headers): Ditto.

2001-10-04  Alex Graveley  <alex@ximian.com>

	* src/libsoup/soup-server.c (read_headers_cb): Fix const warnings.

2001-10-04  Alex Graveley  <alex@ximian.com>

	* src/libsoup/soup-server.c (read_headers_cb): Don't create
	response_headers. This is done in soup_message_new. Use
	soup_message_get_header throughout.

	* src/libsoup/soup-queue.c (soup_check_used_headers): Write list
	of headers.
	(soup_parse_headers): Don't create response_headers. This is done
	in soup_message_new.
	(soup_debug_print_a_header): Handle multiple header vals.
	(soup_check_used_headers): Ditto.
	(soup_queue_remove_header): Ditto.
	(soup_queue_message): Don't destroy hashtable, just clear it.  
	Use soup_message_get_header throughout.

2001-10-04  Alex Graveley  <alex@ximian.com>

	* src/libsoup/soup-message.c (soup_message_add_header): Handle
	multiple values in header hash tables.
	(free_header): Free the list of values.
	(soup_message_new): Create request_headers and response_headers
	here instead of on header insertion.
	(soup_message_set_request_header): Deprecate.
	(soup_message_get_request_header): Deprecate.
	(soup_message_set_response_header): Deprecate.
	(soup_message_get_response_header): Deprecate.

	* src/libsoup/soup-dav-server.c: Update to use new header get/add
	funcs.

	* src/libsoup/soup-headers.c (soup_headers_parse): Store headers
	as a GSList of values.

2001-10-03  Dan Winship  <danw@ximian.com>

	* src/libsoup/soup-uri.c (soup_uri_new): The @ in
	http://foo/bar@baz is part of the path, not the username/hostname
	split.

2001-10-01  Alex Graveley  <alex@ximian.com>

	* configure.in: Fix HAVE_OPENSSL and HAVE_NSS checks as these were
	always being defined.

2001-10-01  Alex Graveley  <alex@ximian.com>

	* src/libsoup/soup-socket-unix.c (soup_address_new): Add defines
	for SOUP_PTRACE_ATTACH and SOUP_PTRACE_DETACH to remove
	architecture incompatibilities for ptrace() arguments.

	* configure.in: Add libdl to OpenSSL LDFLAGS.  Fix NSS header
	paths.  Define HAVE_OPENSSL and HAVE_NSS if the libraries are
	found successfully.

	* src/libsoup/soup-socket.h: Remove soup_gethostbyname and
	soup_gethostbyaddr, and move to:
	* src/libsoup/soup-private.h: here.

2001-09-28  Alex Graveley  <alex@ximian.com>

	* src/libsoup/soup-ntlm.c: Remove redundant alloca define.

	* src/libsoup/soup-socket.c (soup_socket_server_new): Use 
	SOUP_SOCKET_CLOSE.

	* src/libsoup/soup-socket.h: Include winsock.h if windows.

2001-09-28  Alex Graveley  <alex@ximian.com>

	* src/libsoup/soup-socket-win.c: Fix copyright notice.
	* src/libsoup/soup-socket-unix.c: Ditto.
	* src/libsoup/soup-socket.c: Ditto.

2001-09-28  Alex Graveley  <alex@ximian.com>

	* build/libsoup.dsp (SOURCE): Add soup-socket-win.c.

	* tests/simple-test.c (main): Take HTTP method and body parameters
	to use in the request.

	* src/libsoup/soup-socket.h: Make soup_gethostbyname and
	soup_gethostbyaddr public.

	* src/libsoup/soup-socket-unix.c: Added, split of networking code
	into unix-specific sections.

	* src/libsoup/soup-socket-win.c: Added, Windows networking code.

	* src/libsoup/soup-socket.c: Holds common socket functions.

2001-09-27  Alex Graveley  <alex@ximian.com>

	* src/libsoup/soup-socket.c: Remove Glib workarounds for Windows 
	socket io.

2001-09-27  Alex Graveley  <alex@ximian.com>

	* src/libsoup/soup-socket.c (soup_address_new): #ifdef protect the
	ptrace attach/detach code until I have a chance to look at why it
	fails on some platforms.

2001-09-27  Alex Graveley  <alex@ximian.com>

	* build/libsoup.def: Update for new exports.

2001-09-27  Alex Graveley  <alex@ximian.com>

	* src/libsoup/soup-dav-server.h: Fix constness for get_dav_prop
	and get_custom_prop.

2001-09-19  Dan Winship  <danw@ximian.com>

	* src/libsoup/soup-message.c (soup_message_send): Fix this to not
	return immediately after parsing the first line of the response.
	(Needed an update for the 09-07 api changes.)

2001-09-17  Vladimir Vukicevic  <vladimir@ximian.com>

	* src/libsoup/soup-socket.c, src/libsoup/soup-socket.h:
	Added soup_address_copy().  Changed soup_address_new to check
	whether the ports are the same before using a cached
	address.

2001-09-14  Alex Graveley  <alex@ximian.com>

	* src/libsoup/soup-serializer.c
	(soup_serializer_get_namespace_prefix): Return const string.

	* Makefile.am (EXTRA_DIST): Install soup.m4.

	* src/libwsdl/wsdl-soap-marshal.c:
	* src/libwsdl/wsdl-typecodes.c:
	* src/soup-wsdl/wsdl-parse.c: Formatting.

2001-09-13  Alex Graveley  <alex@ximian.com>

	* src/libsoup/soup-serializer.c
	(soup_serializer_get_namespace_prefix): Impl.

2001-09-12  Alex Graveley  <alex@ximian.com>

	* tests/filesys-server.c (main): Pass protocol to soup_server_new.
	* tests/server-test.c (main): Ditto.

	* src/soup-wsdl/Makefile.am (soup_wsdl_LDADD): Remove libwsdl.so
	link.

	* src/libwsdl/Makefile.am (libwsdl_build_a_SOURCES): Include
	libwsdl.so sources in libwsdl-build.a so libtool 1.3.5 doesn't
	ill.  Remove libwsdl_build_a_LIBADD.

	* src/libsoup/soup-server.c (soup_server_new): Take a SoupProtocol
	argument.

	* src/libsoup/soup-dav-server.c (move_copy): Serialize multi-status.
	(i_copy): Fix bug where directory contents were sometimes created
	before parent. Add multi-status error reporting.

	* src/libsoup/soup-dav.c (soup_dav_response_new): Remove
	response_phrase param.

2001-09-11  Alex Graveley  <alex@ximian.com>

	* src/libsoup/soup-dav-server.c (dav_proppatch): Rewrite to
	correctly handle rollback and propstat result.  Fill in missing
	response errors throughout.

2001-09-11  Alex Graveley  <alex@ximian.com>

	* tests/filesys-server.c: Initial commit of DAV test server which
	allows manipulation of the filesystem through Web-DAV.

	* tests/Makefile.am (noinst_PROGRAMS): Add filesys-server.

2001-09-10  Alex Graveley  <alex@ximian.com>

	* tests/mod-server-test.sh: Rename from mod-server-test to be
	obvious that its a script which simply executes soup-httpd.

2001-09-10  Alex Graveley  <alex@ximian.com>

	* build/soup_httpd.dsp (SOURCE): Fix typo.

	* build/libsoup.dsp: Add src/libsoup/soup-ntlm.[ch]
	(SOURCE): Remove soup-apache.c

2001-09-10  Alex Graveley  <alex@ximian.com>

	* src/libsoup/soup-dav-server.c (dav_mkcol): Report errors.  Check
	that parent path exists.
	(dav_put): Ditto.
	(dav_options): set 404 if path not found.
	(dav_options): Handle server-level OPTIONS requests.
	(parent_exists): impl.

2001-09-10  Alex Graveley  <alex@ximian.com>

	* src/libsoup/soup-dav-server.h: Replace opt_search with
	opt_other.  Remove SOUP_DAV_SEARCH.

	* src/libsoup/soup-dav-server.c: Replace dav_search with
	dav_other.

2001-09-10  Alex Graveley  <alex@ximian.com>

	* tests/cgi-test.c (main): Pass authtypes param to
	soup_server_register.
	* tests/server-test.c (main): Ditto.
	* tests/mod-server-test.c (soup_server_init): Ditto.

	* tests/stockquote2.wsdl: Format fixes.

2001-09-07  Alex Graveley  <alex@ximian.com>

	* tests/stress-test.c: Rewritten for the new apis, and to be more
	clean, and to have many settings for varying simultaneous
	messages, message counts, iterations, posting of data, etc.

	* tests/simple-test.c: Rewritten for the new apis, and to be more
	clean.

	* tests/server-test.c (main): Added. Simple test for standalone
	dynamic servers.

	* tests/mod-server-test.c (callback): Added. Simple test for
	soup-httpd/apache server modules.

	* tests/handler-test.c: Added. Stress test for SoupMessage
	handlers. 

	* tests/cgi-test.c: Added. Simple test for CGI serving.

	* src/soup-httpd/soup-httpd.c: Use libsoup's SoupServer code for
	all request processing. soup-httpd becomes a wrapper for module
	loading and logging.

	* src/libwsdl/Makefile.am (INCLUDES): Remove WSDL_CFLAGS.

	* src/libsoup/soup-socket.c (soup_socket_server_accept): Set
	O_NONBLOCK on the returned SoupSocket.
	(soup_socket_server_try_accept): Ditto.

	* src/libsoup/soup-server.c: Reimplement for independent
	SoupServer support.  Remove separate authorization handler
	concept. Process based on request paths. Import code from
	soup-httpd to allow standalone dynamic servers, and cgi support.

	* src/libsoup/soup-queue.c (soup_check_used_headers): Remove
	special handling of SOAPAction.
	(soup_queue_connect_cb): Start listening for reads immediately so
	that we cna process HTTP 1xx intermediate responses.
	(soup_queue_message): Rename from soup_message_queue.
	soup_message_queue is now in soup-message.c and simply calls this.

	* src/libsoup/soup-private.h (RESPONSE_BLOCK_SIZE): Rename
	existing SoupServer to SoupHost.  Create new SoupServer struct.
	Add server and server_sock elements to SoupMessagePrivate.  Move
	SoupServerHandler definition to soup-server.h.  Move define for
	soup_queue_shutdown to new soup-queue.h.

	* src/libsoup/soup-ntlm.c: Add mojo for getting a portable alloca.

	* src/libsoup/soup-message.h: Remove SoupErrorCode. Add
	SoupKnownErrorCode and SoupErrorClass enums. Add
	SOUP_ERROR_CANT_CONNECT_PROXY and
	SOUP_ERROR_CANT_AUTHENTICATE_PROXY for errors related directly to
	proxy communications.

	* src/libsoup/soup-message.c (soup_message_new): Take the HTTP
	method name as the second argument.  Remove per-message handlers
	for authentication and redirection.
	(soup_message_issue_callback): Uses finalize_message to avoid
	double cleanup.  Remove error argument, as they should be set
	using soup_message_set_error.
	(soup_message_run_handlers): Run per-message handlers followed by
	global handlers, if a handler requeues a message we stop
	processing.  If the invoke_type is POST_BODY, we issue the final
	callback.
	(soup_message_remove_handler): Make public.
	(soup_message_set_error): Impl
	(soup_message_set_error_full): Impl
	(soup_message_set_handler_error): Impl
	(soup_get_error_phrase): Impl
	(soup_get_error_class): Impl

	* src/libsoup/soup-dav-server.c: Add a reference to the SoupServer
	we are registered with. Use soup_message_set_error throughout.
	(i_copy): Fix assignment causing this loop to never run.
	(soup_dav_server_register): Add SoupServer and required authtypes
	parameters.

	* src/libsoup/soup-context.c: Replace references to SoupServer
	with SoupHost, so we don't clash with the SoupServer from
	soup-server.h.  Rename soup_servers to soup_hosts.

	* src/libsoup/Makefile.am (libsoup_la_SOURCES): Add soup-queue.h.

	* configure.in (SOUP_CURRENT): Add some helpful comments and bump
	to '3'.  Bump version to 0.5.99 (0.6 development).  Use
	AC_FUNC_ALLOCA instead of just checking for alloca.h.  Remove
	WSDL_CFLAGS.

2001-08-30  Alex Graveley  <alex@ximian.com>

	* src/soup-wsdl/Makefile.am (soup_wsdl_LDADD): Link with
	libwsdl.so and libwsdl-build.a.

	* src/libwsdl/Makefile.am (libwsdlinclude_HEADERS): Dont install
	wsdl-typecodes-c.h. Make libwsdl-build a static lib.
	(libwsdl_build_a_SOURCES): Remove everthing but wsdl-typecodes-c.[ch].
	(libwsdl_build_a_LIBADD): Depend on libwsdl.

2001-08-29  Alex Graveley  <alex@ximian.com>

	* build/soup_ssl_proxy.dsp: 
	* build/soup_httpd.dsp: 
	* build/libsoupwsdl.dsp: 
	* build/libsoupapache.dsp: 
	* build/libsoup.dsp: Update for new layout.

2001-08-29  Alex Graveley  <alex@ximian.com>

	* src/*/*.h: Fix headers for new layout.
	* tests/*.c: Ditto.

	* tests/Makefile.am (LDFLAGS): Use libtool to link with built
	libsoup and libwsdl.
	(libstockquote2_la_LIBADD): Ditto for libsoup-apache.

	* tests/stockquote2.wsdl: Indent prettily.

	* src/Makefile.am (SUBDIRS): Update for new source layout.

	* configure.in (SOUP_INCLUDEDIR): Use @includedir@/soup.
	(SOUP_WSDL_LIBS): include $SOUP_LIBS.
	(CFLAGS): Add Makefiles for new layout.

	* soup-config.in: Use @includedir@/soup.

	* soup.pc.in (Cflags): Use @includedir@/soup.

2001-08-28  Alex Graveley  <alex@ximian.com>

	* src/soup-core/soup-socket.c (soup_address_new): Perform deep
	unix magic in order to identify if we are running in a
	debugger. This is needed because gdb causes segfaults in child
	processes that load shlibs due to breakpoints being left over in
	the new unwatched process. Now, gethostbyname() loads shared libs
	to do name resolution on many unixes, which would cause soup to be
	hard to use and otherwise suck when run inside a debugger. So now
	everything works perfectly both inside and outside of gdb.
	(soup_address_new_cb): Resolve the hostname syncronously if we are
	inside a debugger.

2001-08-28  Alex Graveley  <alex@ximian.com>

	* src/soup-core/soup-context.c (soup_try_existing_connections):
	Remove mega FIXME.

	* src/soup-core/soup-queue.c (soup_queue_read_headers_cb): If the
	response server is HTTP 1.0, default to non-persistent connections.

	* src/soup-core/soup-httpd.c (soup_httpd_read_headers_cb): Store
	http version for incoming message.

	* src/soup-core/soup-headers.c (soup_headers_parse_response):
	Support returning the http version.
	(soup_headers_parse_request): Ditto.

2001-08-28  Alex Graveley  <alex@ximian.com>

	* src/soup-core/soup-transfer.c (soup_transfer_read_chunk):
	Rewrite HEX decoding to hopefully be easier to understand and maintain.

	* src/soup-core/soup-message.c (redirect_handler): Don't unref the
	old context until after we requeue the message using the new
	context, as we may still have a connection from the old one.

2001-08-27  Alex Graveley  <alex@ximian.com>

	* src/soup-core/soup-auth.c (soup_auth_new_digest): Set the
	compare func on the returned object.

2001-08-27  Joe Shaw  <joe@ximian.com>

	* src/soup-core/soup-context.c (soup_try_existing_connections):
	Just return NULL from this function for now. There are some bugs
	in it. Added a big, triple FIXME.

2001-08-26  Alex Graveley  <alex@ximian.com>

	* src/soup-wsdl/*: Format fixes.
	* src/soup-wsdl-runtime/*: Format fixes.

2001-08-26  Alex Graveley  <alex@ximian.com>

	* src/soup-core/soup-misc.c (soup_config_ssl_ca_file): impl.
	(soup_config_ssl_ca_directory): impl.
	(soup_config_ssl_certificate): impl.
	Add config file support for client certificates.

2001-08-26  Alex Graveley  <alex@ximian.com>

	* src/soup-core/soup-misc.c (soup_set_ssl_ca_file): impl.
	(soup_set_ssl_ca_dir): impl.
	(soup_set_ssl_cert_files): impl.

	* src/soup-core/soup-openssl.c (soup_openssl_init): Load cert
	authority files found in HTTPS_CA_DIR and HTTPS_CA_FILE.
	(soup_openssl_get_iochannel): Load certificate found in
	HTTPS_CERT_FILE and private key from file in
	HTTPS_KEY_FILE. Client certificates thanks to Scott Hutton
	(shutton@pobox.com).

2001-08-24  Alex Graveley  <alex@ximian.com>

	* src/soup-core/soup-queue.c (soup_queue_connect_cb): Always
	regenerate req->priv->req_header.

	* src/soup-core/soup-ntlm.c (soup_ntlm_lanmanager_hash): pass 15
	byte buffer to work around array bounds read by setup_schedule.

	* src/soup-core/soup-message.c (authorize_handler): No need to
	free msg->priv->req_header as it is generated on each request now.
	(soup_message_set_request_header): Ditto.

	* src/soup-core/soup-auth.c (ntlm_auth): Only return
	auth->response one time. Subsequent calls return NULL.

	* src/soup-core/soup-queue.c (soup_encode_http_auth): Check for
	NULL auth response.

2001-08-23  Alex Graveley  <alex@ximian.com>

	* src/soup-core/soup-auth.c (ntlm_new): Fix under-allocation.
	(ntlm_parse): Comment out the NTLM host/domain parsing code, as it
	segfaults for some reason. Not that this matters as IIS seems to
	competely ignore these parts of the NTLM message :) There is also
	some memory corruption in soup-ntlm.c causing segfaults after the
	message-finished callback returns.

2001-08-23  Alex Graveley  <alex@ximian.com>

	* src/soup-core/soup-auth.c (soup_auth_invalidates_prior): Add
	SoupAuth.compare_func and call this from here, to remove hardcoded
	auth scheme knowledge.
	(soup_auth_new_from_header): Iterate known_auth_schemes looking
	for a match with auth scheme supplied, instead of hardcoding known
	auth schemes.

2001-08-23  Alex Graveley  <alex@ximian.com>

	* src/soup-core/soup-auth.c (soup_auth_invalidates_prior): Take an
	old_auth argument, if auth_types do not match always return
	TRUE. This allows for a server requested re-auth with a different
	auth mechanism.

2001-08-23  Alex Graveley  <alex@ximian.com>

	* src/soup-core/soup-ntlm.[ch]: Microsoft NTLM authentication
	support compliments of Dan Winship (danw@ximian.com).

	* src/soup-core/Makefile.am (libsoup_la_SOURCES): Add soup-ntlm.[ch]

	* src/soup-core/soup-auth.c (soup_auth_new_from_header): Set auth
	context before header parsing. Add NTLM case. Call
	auth->parse_func instead of hardcoding.
	(soup_auth_invalidates_prior): add NTLM, which should always
	invalidate.
	(ntlm_new): impl.
	(ntlm_free): impl.
	(ntlm_parse): impl. Hack to get domain from the uri's authmech
	field.
	(ntlm_auth): impl.

	* src/soup-core/soup-dav-server.c (get_depth): return 0 for
	unknown value.

	* src/soup-core/soup-server.h: Remove SoupServerAnonymousToken and
	add SoupServerNTLMToken.

2001-08-20  Joe Shaw  <joe@ximian.com>

	* configure.in: Bump up version to 0.4.4
	* src/soup-core/soup-private.h: Ditto.

	* src/soup-core/soup-auth.c (compute_response, digest_auth_func):
	Instead of just passing uri->path, pass
	uri->path + '?' + uri->querystring if present.

2001-08-17  Alex Graveley  <alex@ximian.com>

	* build/libsoup.def: Update for DAV methods.

2001-08-17  Alex Graveley  <alex@ximian.com>

	* src/soup-core/soup-dav-server.[ch]: Initial WebDAV server
	support.

	* src/soup-core/soup-dav.[ch]: Beginnings of WebDAV client
	support.

	* configure.in: Add warning about updating
	src/soup-core/soup-private.h when version changes.

	* src/soup-core/soup-private.h: Declare SoupAuth here, so
	including is possible.

2001-08-12  Alex Graveley  <alex@ximian.com>

	* src/soup-core/soup-ssl.c (soup_ssl_get_iochannel): Connect to
	HUP signal to avoid indefinate hangs. Remove idle waitpid
	handler. Thanks to Chris Toshok for finding this one.

2001-08-11  Alex Graveley  <alex@ximian.com>

	* src/soup-core/soup-ssl-proxy.c (main): Fix typo causing
	O_NONBLOCK not to be set.

	* src/soup-core/soup-ssl.c (soup_ssl_get_iochannel): Ditto.

2001-08-10  Alex Graveley  <alex@ximian.com>

	* src/soup-core/soup-private.h: Include sys/socket.h for sa in
	SoupAddress.

2001-08-08  Alex Graveley  <alex@ximian.com>

	* configure.in: Bump version to 0.4.3.

2001-08-08  Alex Graveley  <alex@ximian.com>

	* src/soup-core/soup-transfer.c (soup_transfer_read_chunk):
	Handle entity headers after chunk body, closes bug #6846.

	* src/soup-core/soup-queue.c (soup_queue_read_done_cb): Fixup comments.

2001-08-06  Alex Graveley  <alex@ximian.com>

	* src/soup-core/soup-private.h: Define VERSION to "Win/0.4.2" for
	Windows clients.

2001-08-06  Alex Graveley  <alex@ximian.com>

	* src/soup-core/soup-transfer.c (soup_transfer_read_cb): Remove
	warning used for testing.
	(soup_transfer_write_cb): Ditto.

2001-08-06  Alex Graveley  <alex@ximian.com>

	* src/soup-core/soup-transfer.c (soup_transfer_read_cb): Read
	speedup to read all available data before processing and returning
	to the mainloop.

	* src/soup-core/soup-message.h: Add defines for standard DAV methods.

2001-07-31  Alex Graveley  <alex@ximian.com>

	* src/soup-core/soup-queue.c (soup_get_request_header): Remove
	special case for GET and HEAD when adding content-length header.

2001-07-30  Alex Graveley  <alex@ximian.com>

	* configure.in: Bump version to 0.4.2.

2001-07-30  Alex Graveley  <alex@ximian.com>

	* src/soup-core/soup-queue.c (soup_queue_read_headers_cb):
	Content-length should be avoided for HEAD requests.

2001-07-30  Alex Graveley  <alex@ximian.com>

	* src/soup-core/soup-misc.c (soup_load_config_internal): Fix bug
	where only the first valid config token is loaded from the config file.

2001-07-30  Alex Graveley  <alex@ximian.com>

	* src/soup-core/soup-socket.c (soup_address_new_cb): Fix dangling
	pointer error where a resolved SoupAddress is passed to the callback,
	and then realloc'd.

	* src/soup-core/soup-headers.c (soup_headers_parse_response):
	Don't require gchar const **status_phrase.

2001-07-29  Alex Graveley  <alex@ximian.com>

	* src/soup-core/soup-apache.c (soup_apache_message_create): strdup
	response_phrase.

	* src/soup-core/soup-httpd.c (soup_httpd_read_done_cb): Ditto.
	
	* src/soup-core/soup-message.c (soup_message_free): Free
	response_phrase.

	* src/soup-core/soup-context.c (soup_try_existing_connections):
	Revert accidental commit.

	* src/soup-core/soup-queue.c (soup_get_request_header): Only
	inhibit Content-Length for GET and HEAD if request.length is 0;
	(soup_message_queue): Free response_phrase on requeue.

	* src/soup-core/soup-socket.c (soup_address_new): Fix
	formatting.

2001-07-26  Joe Shaw  <joe@ximian.com>

	* src/soup-core/soup-queue.c (soup_get_request_header): Don't display
	the SOAPAction header if it's either provided by the user or it is
	NULL.

2001-07-26  Joe Shaw  <joe@ximian.com>

	* configure.in: Bump the version up to 0.4.1.

	* src/soup-core/soup-queue.c (soup_get_request_header): Fix a logic
	error. Send the actual version of Soup with the User-Agent header
	instead of always 0.1.

2001-07-25  Joe Shaw  <joe@ximian.com>

	* src/soup-core/soup-socket.c (soup_address_new,
	soup_address_get_name): Close a bunch of leaked file descriptors from
	piping.

2001-07-19  Alex Graveley  <alex@ximian.com>

	* src/soup-core/soup-queue.c (soup_get_request_header): Allow
	override of http version. Only include Content-Length if method is
	not GET or HEAD.

	* src/soup-core/soup-message.c (soup_message_new): Set default
	http_version to SOUP_HTTP_1_1;
	(soup_message_set_http_version): Impl.
	(soup_message_get_flags): Check for NULL.

	* src/soup-core/soup-private.h: Add http_version to _SoupMessagePrivate.

2001-07-19  Alex Graveley  <alex@ximian.com>

	* configure.in: Bump version to 0.4.0.

2001-07-19  Alex Graveley  <alex@ximian.com>

	* configure.in: Remove -Werror from WSDL_CFLAGS as this ills on so
	many redhat distros. Remove unused ISO C99 IEEE754 section. Set
	the default to hide more warnings.

	* src/soup-wsdl-runtime/wsdl-typecodes.c: Remove \r from end of
	lines.

	* src/soup-wsdl/Makefile.am: Formatting.
	* src/soup-wsdl-runtime/Makefile.am: Formatting.

2001-07-17  Alex Graveley  <alex@ximian.com>

	* src/soup-core/soup-context.c (soup_context_uri_hash): Add
	querysting to hash.
	(soup_context_uri_equal): Compare querystring for equality.

	* src/soup-core/soup-transfer.c (soup_transfer_read_error_cb): Add
	gross hack to avoid double frees by only freeing the SoupReader
	or SoupWriter if we are not currently processing a callback.
	(soup_transfer_read_cb): Ditto
	(soup_transfer_write_error_cb): Ditto.
	(soup_transfer_write_cb): Ditto.
	(soup_transfer_read_cancel): Return if currently processing a callback.
	(soup_transfer_write_cancel): Ditto.

	* src/soup-core/soup-message.c (soup_message_new): Add
	redirect_handler by default.
	(soup_message_set_flags): Remove redirect handler when
	SOUP_MESSAGE_NO_REDIRECT is set, and add it when it is unset.

	* src/soup-core/soup-message.h: Change SOUP_MESSAGE_FOLLOW_REDIRECT to
	SOUP_MESSAGE_NO_REDIRECT, as redirect is on by default now.

2001-07-16  Alex Graveley  <alex@ximian.com>

	* src/soup-core/soup-transfer.c (soup_transfer_read_cb): Set len
	to 0 before calling callback to handle cases where no content
	length is specified. Special thanks goes out to Joe Shaw
	(joe@ximian.com) for finding this one.

2001-07-16  Alex Graveley  <alex@ximian.com>

	* src/soup-core/soup-private.h: Remove the unused digest_data from
	_SoupMessagePrivate.

	* src/soup-core/soup-auth.c: Reorganize into basic-auth,
	digest-auth, public interface, and parse routines hopefullly to
	make this more readable.

2001-07-13  Alex Graveley  <alex@ximian.com>

	* src/soup-wsdl-runtime/wsdl-typecodes.c: Add windows x86 type 
	  alignment defines.

2001-07-10  Alex Graveley  <alex@ximian.com>

	* src/soup-core/soup-uri.h: Replace SOUP_PROTOCOL_SHTTP with
	SOUP_PROTOCOL_HTTPS.
	* src/soup-core/soup-context.c (soup_connection_get_iochannel): Ditto.
	* src/soup-core/soup-httpd.c (soup_httpd_conn_accept): Ditto.

2001-07-09  Alex Graveley  <alex@ximian.com>

	* src/soup-core/soup-socket.c (soup_socket_server_new): Typo to go
	to SETUP_ERROR on error.

2001-07-09  Alex Graveley  <alex@ximian.com>

	* src/soup-core/soup-uri.c (soup_uri_get_protocol): Use
	g_strncasecmp.

	* src/soup-core/soup-transfer.c (soup_transfer_write_cb): ifdef
	wrap all references to SIGPIPE.

	* src/soup-core/soup-ssl.c: ifdef wrap sys/wait.h and sys/socket.h. 
	(soup_ssl_get_iochannel): Do nothing if on windows.

	* src/soup-core/soup-socket.c: Various never-before compiled
	windows cleanups.

	* src/soup-core/soup-misc.c (soup_load_config): ifdef wrap
	SYSCONFDIR souprc loading.

	* src/soup-core/soup-context.c: ifdef wrap sys/socket.h
	(soup_connection_setup_socket): Do nothing if on windows.

	* src/soup-core/soup-auth.c: If on windows include <process.h> for
	getpid().

	* configure.in: Add checks for sys/sockio.h and sys/wait.h

2001-07-09  Alex Graveley  <alex@ximian.com>

	* build/Soup_core.dsp
	  build/Soup_wsdl_runtime.dsp
	  build/Soup_wsdl.dsp: Use unique Debug output directory. 

2001-07-09  Alex Graveley  <alex@ximian.com>

	* build/Soup.dsw
	  build/Soup_apache.dsp
	  build/Soup_core.dsp
	  build/Soup_httpd.dsp
	  build/Soup_ssl_proxy.dsp
	  build/Soup_wsdl.dsp
	  build/Soup_wsdl_runtime.dsp: Initial run of windows build scripts.

2001-07-09  Alex Graveley  <alex@ximian.com>

	* src/soup-core/soup-auth.[ch]: New client authentication (basic/digest)
	code from Joe Shaw (joe@ximian.com).

	* src/soup-core/soup-queue.c (soup_encode_http_auth): Updated to
	use soup-auth.
	(soup_get_request_header): Pass the SoupMessage to
	soup_encode_http_auth instead of just the URI. Check for
	req->action in header creation.
	(soup_queue_error_cb): Reset read_tag and write_tag to avoid
	double free.
	(soup_encode_http_auth): Use soup_auth_authorize().

	* src/soup-core/soup-private.h: Add SoupAuth to SoupContext.

	* src/soup-core/soup-context.c (soup_context_unref): Free auth.

	* src/soup-core/soup-cgi.c: Flog.

	* src/soup-core/soup-message.c (soup_message_new): Create handlers
	for 401 (Authorization Required) and 407 (Proxy-Authorization
	Required) response codes.
	(soup_message_redirect): Rename to redirect_handler.
	(redirect_handler): Don't unref existing context if new context
	creation fails.
	(soup_message_set_header): Check for value before insertion.

	* src/soup-core/soup-transfer.c (soup_transfer_read_cancel): Free
	recv_buf contents if no callback has been issued.
	(soup_transfer_read_cb): Set callback_issued.

2001-07-05  Alex Graveley  <alex@ximian.com>

	* src/soup-core/soup-socks.c (soup_connect_socks_proxy): Use const uris.

	* src/soup-core/soup-queue.c (soup_encode_http_auth): Make uri const.

	* src/soup-core/soup-context.[ch] (soup_context_get_uri): Return a
	const SoupUri.
	
	* src/soup-core/soup-digest.c (soup_digest_md5_finalize): Make
	compile.

2001-07-02  Alex Graveley  <alex@ximian.com>

	* src/soup-core/soup-digest.c: Formatting fixes.
	(digest_md5_challenge): Use string auth_header instead of
	GByteArray for token.
	(soup_digest_challenge): Free response GByteArray after adding
	Authorization header.

2001-07-02  Alex Graveley  <alex@ximian.com>

	* src/soup-core/soup-private.h: Remove _SoupMessagePrivate bits
	covered by soup-transfer.

	* src/soup-core/soup-queue.c: Use soup-transfer.
	(soup_queue_error_cb): Remove handling of buggy MS IIS server
	tranferring partial content then closing connection. Report this
	as SOUP_ERROR_IO instead.

	* src/soup-core/soup-httpd.c: Use soup-transfer.

	* src/soup-core/soup-transfer.[ch]: Added. HTTP Transport
	abstraction used to clean up client and standalone/cgi server code
	duplication.

	* configure.in: Bump version to 0.3.

	* src/soup-core/soup-queue.c (soup_check_used_headers): Use
	toupper in switch instead of upper/lower cases for each.

	* src/soup-core/soup-httpd.c: Declare apache dummy method
	implementations to avoid warnings.

2001-06-27  Joe Shaw  <joe@ximian.com>

	* src/soup-core/soup-digest.c: Largely gutted. Made RFC 2617
	compliant. Removed RFC 2831 compliance.
	(soup_digest_challenge): Implemented.

2001-06-21  Joe Shaw  <joe@ximian.com>

	* src/soup-core/soup-message.c (soup_message_new): Do a
	g_return_val_if_fail() on the SoupContext being passed in so we don't
	generate a bad SoupMessage.

2001-06-19  Alex Graveley  <alex@ximian.com>

	* src/soup-core/soup-context.c (soup_context_from_uri): Use
	soup_context_uri_hash and soup_context_uri_equal for matching
	existing server contexts instead of just matching on path.
	(soup_context_uri_hash): Added. Returns a hash of the user, authmech,
	password, and path of a given SoupUri.
	(soup_context_uri_equal): Added. Returns TRUE if the user, authmech,
	password, and path of a two SoupUris match.

2001-06-15  Alex Graveley  <alex@ximian.com>

	* configure.in: add check for unistd.h

	* src/soup-core/soup-apache.c, 
	  src/soup-core/soup-cgi.c, 
	  src/soup-core/soup-context.c, 
	  src/soup-core/soup-digest.c, 
	  src/soup-core/soup-nss.c, 
	  src/soup-core/soup-openssl.c, 
	  src/soup-core/soup-private.h, 
	  src/soup-core/soup-queue.c, 
	  src/soup-core/soup-server.c, 
	  src/soup-core/soup-ssl-proxy.c, 
	  src/soup-core/soup-ssl.c. 
	  src/soup-wsdl-runtime/wsdl-typecodes.c: #ifdef protect config.h
	  and unistd.h inclusion.

2001-06-15  Dick Porter  <dick@ximian.com>

	* src/soup-wsdl-runtime/wsdl-schema.h:
	* src/soup-wsdl-runtime/wsdl-schema.c:
	* src/soup-wsdl-runtime/wsdl-schema-glib.h:
	* src/soup-wsdl-runtime/wsdl-schema-glib.c:
	* src/soup-wsdl/wsdl-parse.c: 
	* src/soup-core/soup-serializer.c: 
	* src/soup-core/soup-parser.c: replace 'childs' with
	'xmlChildrenNode', 'root' with 'xmlRootNode' and 'CHAR' with
	'xmlChar' for compatibility with both libxml1 and libxml2

	* configure.in: Check for either libxml1 or libxml2, favouring
	libxml1 but selectable with --with-libxml=[1,2]

2001-06-14  Joe Shaw  <joe@ximian.com>

	* src/soup-core/soup-misc.c (soup_set_proxy): If we're passing in
	NULL (to reset the proxy), don't try to soup_context_ref() it.

2001-06-14  Alex Graveley  <alex@ximian.com>

	* src/soup-core/soup-queue.c (soup_read_chunk): Don't start from
	header_len offset.
	(soup_finish_read): Don't copy the recv_buf, just reference
	it. Don't free recv_buf.
	(soup_queue_read_cb): Handle truncating chunks, also truncate
	recv_buf after finishing headers. Make recv_buf contents public
	for chunk handlers.

	* src/soup-core/soup-message.c (soup_message_cleanup): Don't free
	the recv_buf->data, as we no longer copy it.

	* src/soup-core/soup-httpd.c: Update to missing header_len field.

	* src/soup-core/soup-private.h: change SoupMessage.header_len to a
	boolean headers_done. As we now truncate the buffer after
	downloading headers. 

2001-06-14  Alex Graveley  <alex@ximian.com>

	* src/soup-core/soup-message.c (soup_message_set_flags): Remove
	redirect handler if option is removed.
	(soup_message_remove_handler): Added. Remove handler given
	function and user_data. Should this be made public?
	(soup_message_run_handlers): Remove g_warning. No checks are run
	against body handlers.
	(soup_message_cleanup): Zero cur_chunk_len and cur_chunk_idx.

2001-06-13  Joe Shaw  <joe@ximian.com>

	* src/soup-core/soup-socket.c (soup_address_new): If SOUP_SYNC_DNS is
	in the user's environment, use an old fashioned synchronous DNS lookup
	on UNIX.

2001-06-07  Joe Shaw  <joe@ximian.com>

	* src/soup-core/soup-message.c (soup_message_redirect): Change
	msg->priv->flags to msg->priv->msg_flags so it'll build again.
	(soup_message_run_handlers): Add a default case to the switch
	statement (for RESPONSE_BODY_HANDLER) to squash a warning.

2001-06-07  Alex Graveley  <alex@ximian.com>

	* src/soup-core/soup-message.c (soup_message_run_handlers): Stop
	processing if a handler requeues the message.

	* src/soup-core/soup-queue.c (soup_process_headers): Allow a
	handler to requeue the message without having any more handlers or
	callbacks called.
	(soup_finish_read): ditto.
	(soup_queue_read_cb): ditto.

	* src/soup-core/soup-message.c (soup_message_redirect): Requeue
	message based on Location header, if response status code is 300,
	301, 302, 303, or 305.
	(soup_message_set_flags): If SOUP_MESSAGE_FOLLOW_REDIRECT is set,
	add a header handler (on Location) which calls
	soup_message_redirect ().

2001-06-06  Alex Graveley  <alex@ximian.com>

	* src/soup-core/soup-message.c (soup_message_add_header_handler):
	implement.
	(soup_message_add_response_code_handler): ditto.
	(soup_message_add_body_handler): ditto.
	(soup_message_run_handlers): uh-huh.
	(soup_message_free): Free allocated handler info.

	* src/soup-core/soup-message.h: Change SOUP_MESSAGE_PROCESS_CHUNKS
	to SOUP_MESSAGE_OVERWRITE_CHUNKS. This will allow large files to
	be processed using a BODY_CHUNK handler, instead of keeping
	everything in memory.

	* src/soup-core/soup-queue.c (soup_process_headers): Run PRE_BODY
	handlers.
	(soup_finish_read): Run POST_BODY handlers.
	(soup_queue_read_cb): Run BODY_CHUNK handlers.

2001-06-06  Joe Shaw  <joe@ximian.com>

	* src/soup-core/soup-message.c (soup_message_set_method,
	soup_message_get_method): Implement. Sets the HTTP method for a given
	message.
	(soup_message_new): Set the default method to SOUP_METHOD_POST.

	* src/soup-core/soup-misc.c (soup_substring_index): Make sure we
	check the very last possible character (<= instead of <) for substrings.

	* src/soup-core/soup-queue.c (soup_get_request_header): Send an HTTP
	request for the method set in the message instead of always POST.

	* src/soup-core/soup-parser.c: Change the #include to <parser.h> from
	<gnome-xml/parser.h>.

	* src/soup-core/soup-serializer.h: Change the #include to <tree.h> from
	<gnome-xml/tree.h>.

2001-06-04  Alex Graveley  <alex@ximian.com>

	* src/soup-core/soup-httpd.c: (ap_*) Add these empty Apache method
	implementations so soup modules built using soup-apache can be
	loaded into soup-http.
	(main): Pass a SoupHttpdServerSock object representing a listening
	server to soup_httpd_conn_accept.
	(soup_httpd_finish_read): Return useful error explanations to
	client when no SOAPAction header is specified, or no server handler for
	the specified SOAPAction is found. 
	(soup_httpd_message_construct): Lookup content-length
	correctly. Free req_method and req_path.

	* src/soup-core/soup-message.c (soup_message_set_header): if
	overwriting an existing header, be sure
	to free the old key and value.

	* src/soup-core/soup-queue.c (soup_queue_read_async): rename to
	(soup_queue_read_cb): this.
	(soup_queue_error_async): rename to
	(soup_queue_error_cb): this.
	(soup_queue_write_async): rename to
	(soup_queue_write_cb): this.
	(soup_queue_connect): rename to
	(soup_queue_connect_cb): this.

2001-06-04  Dick Porter  <dick@ximian.com>

	* src/soup-wsdl-runtime/wsdl-schema.c: A new error message
	mechanism for reporting schema parse errors to the calling code

	* src/soup-wsdl-runtime/wsdl-schema-glib.c
	(wsdl_schema_glib_parse_struct, wsdl_schema_glib_start_element,
	wsdl_schema_glib_end_element): Use new error message mechanism

	* src/soup-wsdl/wsdl-parse.c (wsdl_parse_warning,
	wsdl_parse_error, wsdl_parse_fatal): Log messages via wsdl_debug,
	so the module selection works

2001-06-01  Alex Graveley  <alex@ximian.com>

	* src/soup-core/soup-misc.c: Correctly note copyright for
	soup_base64_encode() to the FSF, and credit Chris Blizzard as the
	actual author.

2001-06-01  Alex Graveley  <alex@ximian.com>

	* src/soup-core/Makefile.am (libsoup_la_SOURCES): Take soup-cgi.c
	out of rotation until server/client codepaths merge.

	* src/soup-core/soup-httpd.c (soup_httpd_finish_read): Don't span
	mulptiple lines for content-type header.

2001-06-01  Alex Graveley  <alex@ximian.com>

	* src/soup-core/soup-queue.c (soup_check_used_headers): Only mark
	which custom headers are used, and directly g_string_sprintfa()
	the custom header.
	(soup_get_request_header): Soptimize header writing.

2001-06-01  Alex Graveley  <alex@ximian.com>

	* src/soup-core/soup-message.c (soup_message_set_method): 
	(soup_message_add_header_handler): 
	(soup_message_add_response_code_handler): 
	(soup_message_add_body_handler): Added.

	* src/soup-core/soup-socket.c (soup_address_get_name_sync): Allow
	syncronous reverse name lookups.

	* TODO (TODO): Updated.

	* src/soup-core/Makefile.am (bin_PROGRAMS): Added soup-httpd.

	* src/soup-core/soup-httpd.c: Added. Simple httpd server
	implementation. This shares a *lot* of code with soup-queue.c, so
	some hardc0re refactoring action is planned.

	* configure.in (GMODULE_LIBS): Added.

2001-05-29  Dick Porter  <dick@ximian.com>

	* tests/Makefile.am: Put the generated code into the build
	directory.  Run soup-config through /bin/sh to work around a
	permissions problem.

2001-05-25  Dick Porter  <dick@ximian.com>

	* Documentation

2001-05-25  Alex Graveley  <alex@ximian.com>

	* src/soup-core/soup-queue.c (soup_message_queue): No need to free
	priv->recv_buf as it is now done in soup_message_cleanup().
	(soup_message_queue): Free response_header keys and values before
	destroying the hash table.

	* src/soup-core/soup-message.c (soup_message_free): Don't free
	priv->recv_buf here.
	(soup_message_cleanup): Free priv->recv_buf here instead.

	* src/soup-core/soup-queue.c (soup_finish_read): Since we now
	g_strdup() all headers, and we already g_memdup the actual body
	buffer, free the temporary recv_buf.

	* src/soup-core/soup-headers.c (soup_headers_parse_response):
	g_strdup() the response reason phrase.

2001-05-24  Alex Graveley  <alex@ximian.com>

	* README: Update Licensing section for soup-ssl-proxy.

2001-05-24  Larry Ewing  <lewing@ximian.com>

	* src/soup-wsdl-runtime/wsdl-soap-parse.c: include string.h for
	strlen and strcmp prototypes.
	* src/soup-wsdl-runtime/wsdl-soap-memory.c: include string.h for
	memset prototype.

2001-05-23  Dick Porter  <dick@ximian.com>

	* src/soup-wsdl-runtime/wsdl-typecodes-c.c
	(wsdl_typecode_write_c_mm_list):
	* src/soup-wsdl-runtime/wsdl-soap-parse.c
	(wsdl_soap_set_list_param):
	* src/soup-wsdl-runtime/wsdl-soap-marshal.c
	(wsdl_soap_marshal_list_param): Eliminate the extra layer of
	indirection for list items that are naturally pointers.

	* tests/test-wsdl-runtime.c: Update list tests

	* src/soup-wsdl-runtime/wsdl-typecodes.c: 
	* src/soup-wsdl-runtime/wsdl-schema.c: 
	* src/soup-wsdl/wsdl-trace.c: 
	* src/soup-wsdl/wsdl-soap-emit.c: 
	* src/soup-wsdl/wsdl-parse.c: 
	* src/soup-wsdl/wsdl-describe.c: 
	* docs/reference/soup-sections.txt: Started documenting the code

2001-05-22  Alex Graveley  <alex@ximian.com>

	* RELEASE (ANNOUNCE): Added. All release announcements should be
	prepended here.

2001-05-22  JP Rosevear  <jpr@ximian.com>

	* src/soup-core/soup-apache.c (soup_apache_read_request): null
	terminate the buffer

2001-05-22  Rodrigo Moya <rodrigo@ximian.com>

	* src/soup-wsdl/wsdl-soap-parse.c: don't emit code to add the
	transport headers to the SoupEnv, which is only used for SOAP
	request/response headers
	* src/soup-core/soup-env.c (soup_env_set_response_header):
	g_strdup the hash table key also
	(soup_env_set_request_header): ditto

2001-05-21  Alex Graveley  <alex@ximian.com>

	* src/soup-core/soup-queue.c (soup_message_queue): gtk-doc fixups.

	* src/soup-core/soup-socket.c (soup_socket_server_new): New.
	(soup_socket_server_accept): New.
	(soup_socket_server_try_accept): New.

2001-05-18  Rodrigo Moya <rodrigo@ximian.com>

	* src/soup-wsdl-runtime/wsdl-soap-parse.c (wsdl_soap_headers):
	use the correct XML node to get the headers

2001-05-18  Alex Graveley  <alex@ximian.com>

	* README: "Subscribe" not "Subject" in
	soup-list-request@ximian.com message body. :)

2001-05-18  Alex Graveley  <alex@ximian.com>

	* docs/reference/soup-docs.sgml: Prune soup-core internal files.

	* configure.in: Add pretty section headers, move gtk-doc section

2001-05-17  JP Rosevear  <jpr@ximian.com>

	* src/soup-wsdl/wsdl-soap-skels.c
	(wsdl_emit_soap_skels_binding_operation): do not free the callback
	data, or the second time the method gets called, *KABOOM*
	
2001-05-17  JP Rosevear  <jpr@ximian.com>

	* src/soup-wsdl-runtime/wsdl-soap-parse.c (wsdl_soap_operation):
	prevent leak and check for fault straight away (instead of
	operation name)

	* src/soup-core/soup-env.c (soup_env_free): only free the fault if
	there is one
	(soup_env_clear_fault): ditto

	* src/soup-wsdl-runtime/wsdl-soap-marshal.c (wsdl_soap_marshal):
	use the serializer functions to write out the fault and only write
	the message return if there is no fault
	
2001-05-17  JP Rosevear  <jpr@ximian.com>

	* src/soup-core/soup-headers.c (soup_headers_parse): find the end
	of the value and g_strndup only that as the value, rather than the
	remainder of the string

	* src/soup-core/soup-message.c (soup_message_issue_callback): free
	the message only if the callback exists, otherwise send_message is
	borked.  New a little more design to fix properly

2001-05-17  Dick Porter  <dick@ximian.com>

	* Fixed all gtk-doc moans in soup-core documentation

	* docs/reference: Extract gtk-doc documentation from the code

	* tests/test-wsdl-runtime.c: 
	* tests/stockquote2-server.c: 
	* tests/stockquote2-client.c: Updated for new API

	* tests/stress-test.c: 
	* tests/simple-test.c: Include installed soup headers

	* configure.in: Check for gtk-doc

	* tests/Makefile.am: Made example code just plain
	"noinst_PROGRAMS", check_PROGRAMS are built as part of "make
	dist". Wrestled with automake, automake won :-( I wanted to delete
	the built sources from the dist target, and not have automake try
	and recreate them with a non-existant soup-wsdl when I type "make
	distcheck".

	* Makefile.am: Took tests out of SUBDIRS, added a "make examples"
	target instead.

2001-05-16  Alex Graveley  <alex@ximian.com>

	* src/soup-core/soup-serializer.c: Document. Needs more details
	and descriptions from the SOAP spec.

	* src/soup-core/soup-queue.c: Document.

	* src/soup-core/soup-misc.c: Document.
	(soup_load_config): Reset security policy to
	SOUP_SECURITY_DOMESTIC when reloading config.

	* src/soup-core/soup-message.c: Document.

2001-05-16  JP Rosevear  <jpr@ximian.com>

	* src/soup-core/soup-headers.c (soup_headers_parse): g_strdup the
	response headers when adding them to the hash

	* src/soup-core/soup-context.c (soup_context_get): ditto

	* src/soup-core/soup-context.h: constify uri passed to
	soup_context_get

	* src/soup-core/soup-env.h (soup_env_free): new protos

	* src/soup-core/soup-env.c (soup_env_set_address): new accessor to
	set url to access for service
	(soup_env_get_address): ditto
	
2001-05-16  Alex Graveley  <alex@ximian.com>

	* src/soup-core/soup-apache.c (soup_apache_add_header_from_table):
	g_strdup headers from the apache headers table.
	
2001-05-16  JP Rosevear  <jpr@ximian.com>

	* tests/simple-test.c (main): change this to something sensible

2001-05-16  Rodrigo Moya <rodrigo@ximian.com>

	* src/soup-wsdl/wsdl-soap-stubs.c: fully adapted to the new
	SoupEnv stuff

2001-05-16  Dick Porter  <dick@ximian.com>

	* tests/test-wsdl-runtime.c: Bring up-to-date with new API, and
	test typecode freeing too.

	* tests/stockquote2-server.c: 
	* tests/stockquote2-client.c: Bring up-to-date with new API

	* src/soup-wsdl-runtime/wsdl-soap-memory.c: New file of functions
	to zero or free a set of types.

	* src/soup-wsdl-runtime/wsdl-typecodes.c
	(wsdl_typecode_param_type): Handle adding '*' to certain types
	when written as parameters.

	* src/soup-wsdl-runtime/wsdl-typecodes-c.c: Add pointers to memory
	free functions to typecode structs.
	New functions to write those memory free functions.

	* src/soup-wsdl-runtime/wsdl-soap-parse.c
	(wsdl_soap_set_struct_param): Allocate memory for structs
	(wsdl_soap_parse): Use the new function in wsdl-soap-memory.c to
	zero the parameters.

	* src/soup-wsdl-runtime/wsdl-soap-marshal.c
	(wsdl_soap_marshal_struct_param): Structs are now passed as
	pointers, so need to add extra indirection here.
	(wsdl_soap_marshal_param): Make sure we dont try to marshal NULL
	pointers

	* src/soup-wsdl/wsdl-soap-skels.c
	(wsdl_emit_soap_skels_binding_operation): Zero output args before
	calling the callback, and free any memory used by them after
	sending the response.

	* src/soup-wsdl/wsdl-soap-headers.c
	(wsdl_emit_soap_headers_binding_operation): Server callback now
	returns 'void'
	(wsdl_emit_soap_header_mm): Write memory-management function
	prototypes

	* src/soup-wsdl/wsdl-soap-emit.c (wsdl_emit_part): Use new
	parameter-passing API

	* src/soup-wsdl/wsdl-soap-common.c (wsdl_emit_soap_common_mm):
	Cause memory-management routines to be written for all
	user-defined types

2001-05-15  JP Rosevear  <jpr@ximian.com>

	* src/soup-wsdl/wsdl-soap-skels.c
	(wsdl_emit_soap_skels_binding_operation): soup_env_new needed "()"
	to be a function call

	* src/soup-core/soup.h: explicitly include soup-fault.h and soup-env.h

	* src/soup-wsdl-runtime/wsdl-soap-marshal.h: kludge soup-env.h as
	well.  We really should rename the dirs properly

	* src/soup-wsdl-runtime/wsdl-soap-parse.h: kludge around include
	problem

2001-05-15  Rodrigo Moya <rodrigo@ximian.com>

	* src/soup-wsdl/wsdl-soap-stubs.c: replace all SoupFault
	parameter with SoupEnv, and remove "GHashTable request_headers"
	from list of parameters in server callbacks, because before
	calling those callbacks, the stubs take care of adding the
	SoupMessage's request headers to the SoupEnv being passed
	* src/soup-wsdl-runtime/wsdl-soap-parse.c
	(wsdl_soap_parse): replace SoupFault with the new
	SoupEnv parameter
	(wsdl_soap_headers): new internal function to parse all
	the headers in the SOAP message and add them to the SoupEnv
	* src/soup-wsdl-runtime/wsdl-soap-marshal.c
	(wsdl_soap_marshal): don't access directly SoupFault
	struct members.
	Replace SoupFault parameter with the new SoupEnv
	* src/soup-core/soup-env.c
	(soup_env_get_request_header_list): new function
	(soup_env_get_response_header_list): new function
	(soup_env_set_fault): new function to associate a SoupFault
	with a SoupEnv

2001-05-13  Rodrigo Moya <rodrigo@ximian.com>

	* src/soup-core/soup-fault.[ch]: made the SoupFault structure
	private, and add accessor functions for the struct members
	* src/soup-core/soup-env.[ch]: added SoupEnv stuff, to easily
	manage SOAP environments (request/response headers list, faults)

2001-05-12  Alex Graveley  <alex@ximian.com>

	* src/soup-core/soup-message.c (soup_message_set_request_header):
	g_strdup name and value.
	(soup_message_set_response_header): ditto.
	(soup_message_get_response_header): implement.
	(soup_message_get_request_header): implement.

2001-05-12  Alex Graveley  <alex@ximian.com>

	* src/soup-core/soup-fault.[ch]: Format cleanups.

	* src/soup-core/soup-parser.[ch]: Ditto.

2001-05-12  Rodrigo Moya <rodrigo@ximian.com>

	* src/soup-core/soup-fault.[ch]: moved the SoupFault to its
	own header file, since it will be also used by the upcoming
	SoupEnv

2001-05-11  Alex Graveley  <alex@ximian.com>

	* tests/stress-test.c (current_temp_cb): handle
	SOUP_ERROR_CANT_AUTHENTICATE.

	* tests/simple-test.c (current_temp_cb): handle
	SOUP_ERROR_CANT_AUTHENTICATE.

2001-05-11  Alex Graveley  <alex@ximian.com>

	* src/soup-core/soup-nss.c (soup_nss_init): Use NSS_InitReadWrite().
	(soup_nss_get_iochannel): set SSL_BadCertHook().

2001-05-10  Alex Graveley  <alex@ximian.com>

	* src/soup-core/soup-queue.c (soup_finish_read): set
	response.owner to SOUP_BUFFER_SYSTEM_OWNED.

	* src/soup-core/soup-uri.c (soup_uri_copy): added.

	* src/soup-core/soup-context.c (soup_context_get): Free the
	temporary URI.
	(soup_context_from_uri): dup the passed uri if creating a new context.

2001-05-09  JP Rosevear  <jpr@ximian.com>

	* src/soup-wsdl/wsdl-soap-skels.c
	(wsdl_emit_soap_skels_binding_operation): indent the SoupFault
	parameter when written to the skels

2001-05-09  Dick Porter  <dick@ximian.com>

	* src/soup-wsdl-runtime/wsdl-typecodes.c: Put the glib namespace
	prefix back into the typecode struct names
	(wsdl_typecode_type): Return a namespace-prefixed type name for
	struct and element types
	(wsdl_typecode_lookup): Look up typecodes by namespace

	* src/soup-wsdl-runtime/wsdl-typecodes-c.c: Typecode struct names
	include namespace prefixes

	* src/soup-wsdl-runtime/wsdl-schema-glib.c
	(wsdl_schema_glib_parse_struct): Typecodes now have namespaces
	associated with them.

	* src/soup-wsdl/wsdl-soap-headers.c: Deleted all the list
	callbacks that printed variations on a parameter theme, call
	wsdl_emit_part_list instead.
	(wsdl_emit_soap_headers_binding_operation): Don't add a namespace
	part for every level of WSDL indirection.
	* src/soup-wsdl/wsdl-soap-stubs.c: ditto
	* src/soup-wsdl/wsdl-soap-skels.c: ditto

	* src/soup-wsdl/wsdl-soap-emit.c: New file of C code emitting helper
	functions.

	* src/soup-wsdl/wsdl-parse.c (wsdl_parse_message_part_attrs): Look
	up typecodes by namespace
	(wsdl_start_element): Pass more XML info to the schema parser

	* src/soup-core/soup-parser.h: include file wasn't on the search
	path at compile time

2001-05-09  Rodrigo Moya <rodrigo@ximian.com>

	* src/soup-core/soup-parser.c: retrieve info about faults
	when parsing the SOAP messages
	* src/soup-wsdl/wsdl-soap-stubs.c: use 'fault' and not
	'&fault' in call to wsdl_soap_parse
	* src/soup-wsdl/: some small fixes for compilation
	* src/soup-core/soup-parser.[ch]: added a basic SOAP messages
	parser, which easily lets access to the message parameters
	and faults

2001-05-05  Rodrigo Moya <rodrigo@ximian.com>
	
	* src/soup-wsdl-runtime/wsdl-soap-fault.[ch]: added to manage/retrieve
	info from SOAP faults
	* src/soup-wsdl-runtime/wsdl-soap-parse.c (wsdl_soap_parse): retrieve
	SOAP faults from the message being parsed. Added a wsdl_soap_fault
	parameter, which will be returned if there was actually a SOAP fault
	in the message
	* src/soup-wsdl-runtime/wsdl-soap-marshal.c (wsdl_soap_marhal): add
	a wsdl_soap_fault parameter, to be serialized along with the rest
	of the SOAP message
	* src/soup-wsdl/wsdl-soap-skels.c: use wsdl_soap_fault where appropriate
	* src/soup-wsdl/wsdl-soap-stubs.c: ditto
	* src/soup-wsdl/wsdl-soap-headers.c: ditto

2001-05-04  Dick Porter  <dick@ximian.com>

	* src/soup-wsdl-runtime/wsdl-schema.c: Decide which schema parser to
	call for a WSDL <types> section. This supercedes the old glib schema
	parser in wsdl-parse.c. The WSDL parser is now effectively decoupled
	from the schema, which should make it much easier to add new schemas
	in the future without having to change the parser.

	* src/soup-wsdl-runtime/wsdl-schema-glib.c: Build typecodes from
	the simple glib schema

	* src/soup-wsdl-runtime/wsdl-typecodes-c.c: Write C code
	describing a typecode.

	* src/soup-wsdl-runtime/wsdl-soap-parse.c: 
	* src/soup-wsdl-runtime/wsdl-soap-marshal.c: 
	* src/soup-wsdl-runtime/wsdl-param.h: Take all instances of 'glib' out
	of typecode definitions and function names.

	* src/soup-wsdl-runtime/Makefile.am: Build a version of the
	runtime library more useful for writing C code (ideally i'd make
	this dynamically link the runtime library, but libtool wont let
	me)

	* src/soup-wsdl/wsdl-thread.c (wsdl_thread_soap_parts): No need to
	look up glib types, the message part already holds a pointer to
	the typecode.

	* src/soup-wsdl/wsdl-soap-stubs.c:
	* src/soup-wsdl/wsdl-soap-skels.c: Type names are looked up by
	typecode. All checks for custom glib types have been deleted.

	* src/soup-wsdl/wsdl-soap-headers.c: All typecode declarations are
	now printed using the runtime library.  Type names are looked up
	by typecode. All checks for custom glib types have been deleted.

	* src/soup-wsdl/wsdl-soap-common.c: All typecode printing is now
	done using the runtime library.

	* src/soup-wsdl/wsdl-parse.c: Moved wsdl_qnamecmp() and
	wsdl_attrnscmp to wsdl-schema.c (in the runtime library)
	(wsdl_parse_message_part_attrs): Look up typecodes, not glib types.
	(wsdl_parse_types): Call through the runtime schema parser, instead
	of the custom glib type parser.

	* src/soup-wsdl/wsdl-memory.c (wsdl_free_types): Delete typecodes
	rather than glib types.

	* src/soup-wsdl/wsdl-describe.c: Replace the type printing
	routines with calls to wsdl_typecode_print

	* src/soup-wsdl/main.c (main): No need to initialise the glib
	types any more.

	* src/soup-wsdl/Makefile.am (soup_wsdl_SOURCES): Don't bother to
	compile wsdl-types-glib.c, it's been superceded by the typecode
	builder

2001-05-02  Dick Porter  <dick@ximian.com>

	* src/soup-wsdl/wsdl-soap-stubs.c
	(wsdl_emit_soap_stubs_binding_operation): Write synchronous client
	stubs

	* src/soup-wsdl/wsdl-soap-headers.c
	(wsdl_emit_soap_headers_binding_operation): Emit prototypes for
	synchronous stubs

	* src/soup-wsdl/wsdl-soap-skels.c
	(wsdl_emit_soap_skels_binding_operation): Write server skels

	* src/soup-wsdl/wsdl-soap-headers.c
	(wsdl_emit_soap_headers_binding_operation): Emit prototypes for
	skels
	(wsdl_emit_soap_headers): Include the right soup headers

	* src/soup-wsdl/wsdl-soap-stubs.c (wsdl_emit_soap_stubs): Include
	the right soup headers

	* src/soup-wsdl-runtime/Makefile.am (INCLUDES): 
	* src/soup-wsdl-runtime/wsdl-soap-marshal.h: A kludge to work
	around include path searching whether compiling or at runtime

2001-04-30  Dick Porter  <dick@ximian.com>

	* src/soup-wsdl/wsdl-soap-stubs.c: Use the new marshaller instead
	of a large printf. Drastically reduced the complexity of both the
	wsdl compiler code and the generated stubs. Deleted huge tracts of
	now-unused code too.

	* src/soup-wsdl/wsdl-types-glib.c: Deleted unused code

2001-04-29  Dick Porter  <dick@ximian.com>

	* src/soup-wsdl-runtime/wsdl-soap-parse.c
	(wsdl_soap_set_simple_param): Some more error checking. Read
	booleans as "true", "false", "yes", "no" as well as an integer.
	(wsdl_soap_set_param): Give the XML child node to
	wsdl_soap_set_list_param().

	* src/soup-wsdl-runtime/wsdl-soap-marshal.c: A typecode based soap
	marshaller

	* src/soup-wsdl-runtime/wsdl-param.h: Moved definition of wsdl_param
	into a common header

	* tests/test-wsdl-runtime.c: Added marshal test

	* src/soup-core/soup-serializer.c (soup_serializer_write_time):
	Changed name of "time" parameter to not conflict with time(2)

2001-04-25  JP Rosevear  <jpr@ximian.com>

	* soup-config.in (lib_soup): get this script working again and add
	wsdl

	* Makefile.am: create and install new script

	* configure.in: create variables for script substitution

	* soup_wsdlConf.sh.in: gnome-config script for wsdl compilation
	info

2001-04-23  Rodrigo Moya <rodrigo@ximian.com>

	* src/soup-wsdl/wsdl-soap-headers.c
	(wsdl_emit_soap_headers_binding_operation): added
	"gpointer user_data" parameter to generated functions
	* src/soup-wsdl/wsdl-soap-stubs.c
	(wsdl_emit_soap_stubs_binding_operation): ditto &
	make use of a private structure to be able to pass both
	the user callback and a custom parameter to SOUP-generated
	callback

2001-04-23  Dick Porter  <dick@ximian.com>

	* src/soup-wsdl-runtime/wsdl-typecodes-glib.c: Typecode support
	for the simple glib schema, similar in style to CORBA typecodes.
	The alignment and size routines are based on the ones in ORBit.
	
	* src/soup-wsdl-runtime/wsdl-soap-parse.c: A parser that walks an
	XML document, and writes values into memory locations provided

	* tests/test-wsdl-runtime.c: Test the typecode support and parser
	
	* src/soup-wsdl/wsdl-soap-stubs.c (wsdl_emit_soap_stubs_params):
	Write a list of parameter to typecode bindings for the soap
	document parser

	* src/soup-wsdl/wsdl-soap-headers.c: Write extern prototypes for
	typecode definitions

	* src/soup-wsdl/wsdl-soap-common.c: Write typecode definitions
	into a common code file

	* src/Makefile.am: Build new soup-wsdl-runtime directory before
	soup-wsdl

	* configure.in: Added test to discover alignments

	* acconfig.h: Added defines for alignments

2001-04-23  Alex Graveley  <alex@ximian.com>

	* src/soup-core/soup-socket.h: SoupSocketConnectFn no longer takes
	a SoupAddress argument, as it can be fetched from the SoupSocket
	correctly now.

	* src/soup-core/soup-socket.c: lots of rewrites. Cache existing
	SoupAddresses to avoid duplicate lookups. Handles multiple
	simultaneous requests for the same address. Add syncronous
	versions of calls which just run the main loop until completion or
	request. Make SoupContext use a SoupAddress instead of sockaddr.

	* src/soup-core/soup-uri.h: Add query_elems to SoupUri. Contains a
	list of query string elements, as delimited by a
	'&'. SoupUri.protocol is now a SoupProtocol. 

	* src/soup-core/soup-uri.c (soup_uri_new): convert uri_string
	protocol to SoupProtocol equivalent.

	* src/soup-core/soup-private.h: remove protocol from
	SoupContext. Use a SoupAddress instead of a sockaddr in SoupSocket.

	* src/soup-core/soup-misc.c (soup_load_config_internal): kill
	tiny (8 byte) mem leak.

	* src/soup-core/soup-message.h: add SoupOwnership
	SOUP_BUFFER_STATIC. 
	add SoupErrorCode SOUP_ERROR_CANT_AUTHENTICATE.	

	* src/soup-core/soup-context.h: move SoupProtocol to soup-uri.h.

	* src/soup-core/soup-context.c (soup_context_new):
	removed. Protocol is now held only in uri.
	(soup_context_from_uri): added.
	(soup_context_get): just calls soup_context_from_uri() after
	creating uri.
	(soup_context_unref): don't evaluate a post-decremented refcount.
	(soup_context_connect_cb): no longer take a SoupAddress arg.
	(soup_context_get_protocol): removed, use uri.

	* src/soup-core/soup-apache.c (soup_apache_message_create): use
	SOUP_BUFFER_STATIC for request buffer.

	* src/soup-core/md5-utils.c: initial commit. MD5 encryption.

	* src/soup-core/soup-digest.c: initial commit. no worky.

	* src/soup-core/Makefile.am (libsoup_la_SOURCES): add md5-utils.h,
	md5-utils.c, soup-digest.h, soup-digest.c.

	* tests/stress-test.c (main): handle ugly refcount bug causing
	extra unrefs of the context.

2001-04-18  Alex Graveley  <alex@ximian.com>

	* src/soup-core/soup-server.h: Added SoupServerBasicToken,
	SoupServerDigestToken, SoupServerAnonymousToken structs, all with
	a SoupServerAuthType as the first element. Added
	SoupServerAuthToken which is a union of all three auth types.

	* src/soup-core/soup-server.c (soup_server_register_full):
	Added. Accept method authentication callback and allowed auth types.

	* src/soup-core/soup-apache.c (soup_apache_handler): Use a
	SoupServerAuthToken. Log to apache only in error conditions.

	* src/soup-core/soup-server.c (soup_server_authorize): Accept a
	SoupServerAuthToken instead of username/pass/realm.

2001-04-04  Rodrigo Moya <rodrigo@ximian.com>

	* src/soup-wsdl/wsdl-soap-stubs.c (wsdl_emit_soap_stubs):
	#include <soup/soup-*> and not soup-*
	* src/soup-wsdl/wsdl-soap-headers.c (wsdl_emit_soap_headers):
	#include <soup/soup-message.h> and not soup-message.h, to match
	with the output given by `gnome-config --cflags soup`

2001-03-30  Dick Porter  <dick@ximian.com>

	* src/soup-wsdl/wsdl-types-glib.c,
	src/soup-wsdl/wsdl-soap-headers.c,
	src/soup-wsdl/wsdl-soap-stubs.c: Rewrote much of the glib schema
	code to handle structs with child structs, and lists.

	* src/soup-wsdl/wsdl-thread.c (wsdl_thread_soap_parts): treat
	message part "type" and "element" attributes as the same.
	(wsdl_thread_soap_binding_operation): insist that soap:body elements
	exist in operations.

	* src/soup-wsdl/wsdl-parse.c (wsdl_parse_types): Moved more glib
	schema logic to wsdl-types-glib.c

	* src/soup-wsdl/wsdl-locate.c: Removed the glib schema locate
	functions.

	* src/soup-wsdl/wsdl-describe.c: Removed most of the glib schema
	describe functions

	* src/soup-wsdl/main.c: const-ified option string pointers.
	(main): Call glib schema init helper functions. Moved "show doc"
	option handler out of wsdl-parse.c to here.

	* src/soup-core/soup-private.h, src/soup-core/soup-queue.c: fixed
	prototype for soup_queue_shutdown to avoid warning

	* configure.in: Went wild with gcc warning options, found
	surprisingly few problems.

2001-03-29  Rodrigo Moya <rodrigo@ximian.com>

	* configure.in: add CFLAGS to apxs parameters, to output the
	correct compilation flags

2001-03-21  Alex Graveley  <alex@ximian.com>

	* src/soup-core/soup-socks.c: remove hack to look at internals of
	GNET by using the new forked GNET :)

	* tests/stress-test.c: use soup_message_queue ().

	* tests/simple-test.c: use soup_message_queue ().

	* src/soup-core/soup-private.h: Added SoupAddress and SoupSocket.

	* src/soup-core/soup-misc.c (soup_shutdown): Added, just calls
	soup_queue_shutdown.

	* src/soup-core/soup-queue.h: Removed. Added to soup-message.h.

	* src/soup-core/soup-queue.c (soup_queue_message): rename to
	(soup_message_queue): this.

	* src/soup-core/soup-message.h: move SoupErrorCode,
	SoupCallbackFn, and soup_message_queue() here.

	* src/soup-core/soup-message.c (soup_message_free): Free
	msg->response if buffer is system owned.
	(soup_message_issue_callback): set msg->priv->errorcode so
	syncronous soup_message_send can check for completion.
	(soup_message_send): Added: Synchronous message send. Queues the
	message as per usual, then call g_main_iteration() until them
	essage returns.

	* src/soup-core/soup-context.c: API Document. Switch gnet calls to
	their soup-socket replacement.
	(soup_context_get_connection): Remove environment check for
	syncronous connect method. 

	* src/soup-core/Makefile.am (INCLUDES): replace GNET_CFLAGS with
	GLIB_CFLAGS.
	(libsoup_la_LIBADD): replace GNET_LIBS with GLIB_LIBS.
	(soupinclude_HEADERS): Remove soup-queue.h. Add soup-socket.h.
	(libsoup_la_SOURCES): Add soup-socket.c.

	* soup.spec.in (Requires): remove GNET. Add libxml.

	* soup.pc.in (Libs): remove GNET.
	(Cflags): ditto.

	* soup-config.in (depend_libs): remove GNET.
	(depend_cflags): ditto.

	* configure.in: remove gnet references, look for libnsl and
	libresolv, add checking to determine gethostbyname_r possibility.

	* acconfig.h: Add undefs for all the gethostbyname_r variants.

	* src/soup-core/soup-socket.[ch]: Fork of GNET, minus synchronous
	bits. Removes dependency on GNET; we now only rely on Glib and
	libXml.

2001-03-20  Dick Porter  <dick@ximian.com>

	* src/soup-wsdl/wsdl-types-glib.c: Parse a simple glib schema.

	Handle describe and free operations on the glib schema structures
	here too.

	* src/soup-wsdl/wsdl-thread.c (wsdl_thread_soap_parts): Locate
	references to types defined in the glib schema.

	* src/soup-wsdl/wsdl-soap-stubs.c: Handle references to types
	defined in the glib schema.

	Handle output operation parameters.
	
	* src/soup-wsdl/wsdl-soap-headers.c: Emit typedefs for glib schema
	elements and structs.

	Handle output operation parameters.
	
	* src/soup-wsdl/wsdl-parse.c: (wsdl_parse_types): Parse glib schemas

	(wsdl_parse_warning): (wsdl_parse_error): (wsdl_parse_fatal): Made
	non-static, so that glib schema parsing can be separated.

	All attributes called "xmlns" or "xmlns:..." are ignored by the
	WSDL part of the XML parser.

	All g_slist_prepend()s have been turned into g_slist_append()s, to
	keep operation arguments in the expected order.
	
	* src/soup-wsdl/wsdl-memory.c (wsdl_free_types): Free glib type
	schemas

	* src/soup-wsdl/wsdl-locate.c: New functions to look up glib
	schema element or struct definitions

	* src/soup-wsdl/wsdl-describe.c (indent): Made non-static, so that
	glib type describing can be separated.
	(wsdl_describe_types): Describe glib type schemas

2001-03-17  Dick Porter  <dick@ximian.com>

	* src/soup-wsdl/wsdl-thread.c: Thread WSDL structures together.

	* src/soup-wsdl/wsdl-soap-stubs.c: 
	* src/soup-wsdl/wsdl-soap-headers.h: Most of the element matching
	has been moved in the new threading routings.

	* src/soup-wsdl/wsdl-parse.h: WSDL elements have extra pointers to
	thread structures together.

	* src/soup-wsdl/wsdl-memory.c: Free GSLists. WSDL elements have
	extra pointers to thread structures together, and some of these
	are GSLists that need freeing too.

	* src/soup-wsdl/wsdl-locate.c: Some more lookup functions.

	* src/soup-wsdl/main.c (main): Call the WSDL element threader, and
	only proceed to write files if it succeeds.

2001-03-15  JP Rosevear  <jpr@ximian.com>

	* src/soup-core/soup-apache.c (soup_apache_message_create): use
	the HTTP_OK macro for the response code rather than hard coding
	200
	(soup_apache_handler): return should be OK or !OK rather than the
	http response code value (ie 200)

	* src/soup-core/soup-serializer.c (soup_serializer_reset): Make a
	blank doc when resetting

2001-03-14  JP Rosevear  <jpr@ximian.com>

	* src/soup-core/soup-apache.c (soup_apache_read_request): oops,
	deleted too much

2001-03-14  Dick Porter  <dick@ximian.com>

	* src/soup-wsdl/wsdl-parse.h: Support for simple glib types

	* src/soup-wsdl/wsdl-parse.c (wsdl_attrnscmp): Check the namespace
	prefix of a string.
	(wsdl_parse_types): Add a placeholder for parsing glib schemas
	(wsdl_parse_message): Add support for simple glib types in part
	elements

	* src/soup-wsdl/wsdl-describe.c (wsdl_describe_message_part): Show
	glib types, if appropriate

2001-03-13  JP Rosevear  <jpr@ximian.com>

	* src/soup-core/soup-queue.c (soup_get_request_header): don't
	escape the SoapAction header, this makes things work on the server
	side but need to check if this breaks the spec

	* src/soup-core/soup-message.c (soup_message_free): don't try to
	free the request body twice

	* src/soup-core/soup-apache.c (soup_apache_message_create): The
	buffer is user owned. Use ap_contruct_url since the uri function
	did not include happy things like hostname - will this get the
	password properly though?
	(soup_apache_read_request): don't adjust read_left twice
	(soup_apache_handler): log some stuff to the apache log

2001-03-13  JP Rosevear  <jpr@ximian.com>

	* configure.in: don't chmod the files.  soup-config become
	executable on install by bin_SCRIPTS and *Conf.sh never need to be
	executable, fix my apache cflags blunder

2001-03-12  Alex Graveley  <alex@ximian.com>

	* src/soup-core/soup-server.c (soup_server_get_handler): avoid
	leading and trailing quotes. If an exact match is not found,
	lookup based only on methodname not uri#methodnmae.

	* src/soup-core/soup-apache.c (soup_apache_handler): compile
	without warnings.

	* configure.in (AC_OUTPUT): chmod +x soup_apacheConf.sh

2001-03-09  Alex Graveley  <alex@ximian.com>

	* src/soup-wsdl/wsdl-parse.c (wsdl_parse): set definitions = NULL
	to pass -Werror.

2001-03-09  Alex Graveley  <alex@ximian.com>

	* tests/simple-test.c (main): demonstrate correct behavior here by
	unref'ing the context after message creation.

	* tests/stress-test.c (main): ditto.

	* src/soup-core/soup-queue.c (soup_queue_message): set
	req->priv->recv_buf = NULL here, as the media continues to barrate
	dangling pointers.

	* src/soup-core/soup-server.h: make SoupServerAuthorizeFn typedef
	const correct

	* src/soup-core/soup-server.c (soup_server_authorize): make const
	correct.

	* src/soup-core/soup-message.c (soup_message_cleanup): don't free
	response phrase. Don't set req->priv->recv_buf = NULL here, as
	leaking memory continues to be considered "bad".

	* src/soup-core/soup-headers.c (soup_headers_parse_response):
	don't alloc status_phrase, just point into buffer.

	* src/soup-core/soup-cgi.c (soup_cgi_read_cb): deal with response
	phrase now being const.

	* src/soup-core/soup-apache.c (soup_apache_message_create): action
	is already strdup'd in soup_message_new (). response_phrase
	is now a const string. Remove unneeded content-type header.
	(soup_apache_read_request): slight reorg, also use ap_palloc()
	instead of ap_calloc().
	(soup_apache_handler): initial authentication handling, only basic
	auth at this point.

2001-03-09  Dick Porter  <dick@ximian.com>

	* src/soup-wsdl/wsdl-parse.h: Each WSDL struct has a pointer into
	the XML tree document

	* src/soup-wsdl/wsdl-parse.c (wsdl_qnamecmp): A function for
	comparing element names and namespaces.

	Use wsdl_qnamecmp instead of strcmp to make parsing
	namespace-aware.
	
	(wsdl_end_element): Maintain a pointer into the XML tree for each
	WSDL node.

	* src/soup-wsdl/wsdl-memory.c (wsdl_free_definitions): Free the
	XML document

	* src/soup-wsdl/main.c (main): Move the xml doc dump to here, for
	better modularity

2001-03-08  Alex Graveley  <alex@ximian.com>

	* src/soup-core/soup-ssl.c (soup_ssl_get_iochannel): after failing
	an explicit path execution, use execlp (instead of execl) to
	search the path for soup-ssl-proxy.

	* configure.in: set the default openssl library prefix to /usr/lib
	to fix weird linking problems when compiling with both openssl and
	nss.

2001-03-08  JP Rosevear  <jpr@ximian.com>

	* configure.in: send the apache info to the config script

	* src/soup-core/soup-apache.c (soup_apache_handler): upon further
	reading, content_type is for the outgoing document
	(soup_apache_read_request): if ap_should_client_block != 0 we
	want to keep going

2001-03-08  JP Rosevear  <jpr@ximian.com>

	* soup_apacheConf.sh.in: script to provide soup-apache config info
	through gnome-config

	* Makefile.am: subst in the soup_apache config script

	* configure.in: create vars for soup-apache config foo

	* src/soup-core/soup-apache.c (soup_apache_handler): check for
	null because content type can be null

2001-03-07  JP Rosevear  <jpr@ximian.com>

	* src/soup-core/soup-server.h: soup_server_init should be an
	extern function

2001-03-07  Alex Graveley  <alex@ximian.com>

	* src/soup-core/soup-server.c (soup_server_set_global_auth): add
	allowable authentication types mask.
	(soup_server_set_method_auth): ditto. NOTE: This server auth stuff
	may be removed altogether, so don't rely on it.

	* src/soup-core/soup-server.h: added SoupServerAuthType, a mask of
	allowable authentication types. Make soup_server_init an extern
	declaration instead of a function pointer.

	* src/soup-core/soup-apache.c (soup_apache_read_request): move
	chunked data checking to here from soup_apache_handler.

2001-03-07  JP Rosevear  <jpr@ximian.com>

	* soupConf.sh.in: use configure.in vars for subst

	* configure.in: create variables for config script

	* Makefile.am: generate the soupConf.sh script in the makefile for
	proper substitution

2001-03-07  Alex Graveley  <alex@ximian.com>

	* src/soup-core/soup-cgi.c: created. moved cgi-related request
	processing here. do not use it. completely broken.

	* src/soup-core/soup-apache.c: initial commit of Apache module
	handling, server registration should be performed in a
	soup_server_init function. Authorization handling still needs to
	be written.

	* src/soup-core/soup-server.c: cleaned up to have only generic
	server functions. removed extraneous unregister functions.
	(soup_server_set_global_auth): set the global server authorize
	function, to be called in the absence of a method-specific
	authorize function.
	(soup_server_set_method_auth): set per-method authorize function.

	* src/soup-core/soup-queue.c (soup_parse_headers): remove unneeded
	variables.

	* src/soup-core/soup-private.h: add SoupServerHandler,
	soup_server_get_handler(), and soup_server_authorize().

	* src/soup-wsdl/Makefile.am (INCLUDES): add WSDL_CFLAGS, to get
	-Werror.

	* src/soup-core/Makefile.am: add new libsoup-apache.so target.

	* soup.spec.in: update and remove hardcoded library version.

	* soup-config.in: add module soup-apache.

	* configure.in: Fix library versioning. Switch version to
	0.2.1. Add APACHE_CFLAGS and APACHE_LIBS, gotten from running
	`apxs`. Remove -Werror from CFLAGS, as apache_conf.h is missing a
	prototype. Add WSDL_CFLAGS="-Werror" back.

	* TODO (TODO): Updated.

2001-03-06  JP Rosevear  <jpr@ximian.com>

	* configure.in: properly version the project and give an option to
	disable more warnings

2001-03-02  Alex Graveley  <alex@ximian.com>

	* src/soup-wsdl/Makefile.am (INCLUDES): Remove WSDL_CFLAGS.

	* tests/simple-test.c (current_temp_cb): handle SOUP_ERROR_HANDLER
	so we pass -Werror.

	* tests/stress-test.c (current_temp_cb): handle SOUP_ERROR_HANDLER
	so we pass -Werror.

	* configure.in: remove some excess version-related cruft. Display
	a Configuration list on completion. Add -Werror. Remove WSDL_CFLAGS.

2001-03-02  Alex Graveley  <alex@ximian.com>

	* src/soup-core/gionspr.c: remove, as this is not used.

2001-03-02  Alex Graveley  <alex@ximian.com>

	* configure.in: remove gmodule dependency. Fix OPENSSL_LIBS and
	NSS_LIBS to include the library name and not only the path.

	* src/soup-core/soup-ssl-proxy.c (soup_ssl_proxy_init): remove
	call to g_module_supported().

	* src/soup-core/soup-nss.c: remove GModule NSS loading,
	link conventionally instead.

	* src/soup-core/soup-openssl.c: remove GModule OpenSSL loading,
	link conventionally instead.

2001-03-02  Alex Graveley  <alex@ximian.com>

	* src/soup-core/soup-ssl-proxy.c: oops. should have been added
	yesterday.
	
2001-03-02  Alex Graveley  <alex@ximian.com>

	* tests/stress-test.c (main): exit nicely if no test URL is supplied.

	* tests/simple-test.c (main): use http://www.ximian.com is no test
	URL is supplied.

	* tests/Makefile.am (INCLUDES): include glib headers.

	* src/soup-wsdl/Makefile.am (INCLUDES): include glib, popt, and
	libxml headers.
	(soup_wsdl_LDADD): explicitly add glib, popt, libxml deps.

	* src/soup-core/Makefile.am (INCLUDES): include gnet, libxml,
	openssl, and nss headers.
	(libsoup_la_LIBADD): explicitly add gnet, libxml deps.
	(soup_ssl_proxy_LDADD): explicitly add glib, nss and openssl deps.

	* soup.spec.in: remove OpenSSL advertising clause.

	* soupConf.sh.in: list out dependencies (gnet, libxml).

	* soup.pc.in: list out dependencies (gnet, libxml).

	* soup-config.in: list out dependencies (gnet, libxml).

	* configure.in: Cleanups to remove unnecessary dependencies.

2001-02-28  Alex Graveley  <alex@ximian.com>

	* src/soup-core/soup-ssl.c (soup_ssl_idle_waitpid): glib idle
	callback which calls waitpid (nonblockingously) on all the
	soup-ssl-proxy children to make sure their resources are freed.
	(soup_ssl_get_iochannel): execute soup-ssl-proxy, setting up STDIN
	and STDOUT to point to the fd we will return a GIOChannel for,
	also passing the security policy and the destination socket fd
	number in the environments SECURITY_POLICY and SOCKFD,
	respectively.

	* src/soup-core/soup-ssl-proxy.c: Created. This is a small SSL
	proxy executable, licensed GPL, which allows us to use OpenSSL and
	NSS without requiring applications which link with libsoup to have
	to comply with the licenses of those SSL libraries.

	* src/soup-core/soup-server.c (soup_server_register): add handler
	to list.

	* src/soup-core/soup-queue.c (soup_queue_write_async): ignore
	SIGPIPE and handle errno.

	* src/soup-core/soup-misc.c (soup_set_security_policy): move from
	soup-ssl.c.
	(soup_get_security_policy): add.

	* src/soup-core/soup-context.c (soup_connection_get_iochannel):
	setup TCP socket before getting an SSL wrapper channel.

	* src/soup-core/Makefile.am (INCLUDES): add -DBINDIR
	(libsoup_la_SOURCES): remove ssl backends
	(soup_ssl_proxy_SOURCES): create soup-ssl-proxy

	* src/soup-core/.cvsignore: add soup-ssl-proxy

2001-02-28  Dick Porter  <dick@ximian.com>

	* src/soup-wsdl/wsdl-trace.[ch]: New file of better debugging routines.

	* src/soup-wsdl/wsdl-soap-stubs.[ch]: New file that emits C code
	for client stubs.

	* src/soup-wsdl/wsdl-soap-skels.[ch]: New file that will emit C
	code for server skeleton functions.

	* src/soup-wsdl/wsdl-soap-headers.[ch]: New file that emits
	structure definitions and function prototypes for stubs and skels

	* src/soup-wsdl/wsdl-soap-common.[ch]: New file that will emit C
	code for functions common to stubs and skels.

	* src/soup-wsdl/wsdl-memory.[ch]: New file of routines to
	recursively free WSDL structures.

	* src/soup-wsdl/wsdl-locate.[ch]: New file of routines to look up
	WSDL structures given a name and a parent structure.

	* src/soup-wsdl/wsdl-describe.[ch]: New file of structure printing
	routines.

	* src/soup-wsdl/wsdl.h: Deleted the debug logging stuff, added a
	much better version in wsdl-trace.[ch]

	* src/soup-wsdl/wsdl-parse.h: Structures moved here from
	wsdl-parse.c. Added all of the SOAP extensions.

	* src/soup-wsdl/wsdl-parse.c: Added the rest of the SOAP
	extensions. Moved some of the parser internal struct definitions
	into wsdl-parse.h.
	Moved the structure printing routines into their own file.
	(wsdl_get_location): Made the error reporting slightly more useful
	(wsdl_parse_porttype_operation): Tell the difference between a
	request-response operation and a solicit-response operation.
	(wsdl_parse_xml): Combine tree and SAX parsing styles, so I can
	build an xmlDocPtr tree, yet still fill in the WSDL structures as
	the XML is being read.
	(wsdl_parse): Set up the SAX parser so it calls the internal
	libxml tree building routines, except for those elements that I
	use to build WSDL structures. These elements must call the
	corresponding xmlDefaultSAXHandler functions themselves.

	* src/soup-wsdl/main.c: Added options for code generation
	(main): Call code generation routines

	* src/soup-wsdl/Makefile.am: Added a lot of new files
	
	* configure.in: Add -Werror to the WSDL CFLAGS

2001-02-20  Alex Graveley  <alex@ximian.com>

	* src/soup-core/Makefile.am (libsoup_la_LDFLAGS): remove -release
	tag so libsoup is named libsoup.so.0.1.9 not libsoup-0.1.9.so.0.0.0

	* soupConf.sh.in (SOUP_INCLUDEDIR): use $CPPFLAGS instead of $CFLAGS.

	* soup-config.in (depend_cflags): use $CPPFLAGS instead of $CFLAGS.

	* configure.in: Clean up to use $CPPFLAGS instead of $CFLAGS for
	storing glib, gnet, libxml, openssl, nspr, and nss header
	locations. 

2001-02-20  Alex Graveley  <alex@ximian.com>

	* configure.in: cleaned up to no longer link with an SSL
	library. Added options --with-nspr-includes, --with-nspr-libs,
	--with-nss-includes, --with-nss-libs, --with-openssl-includes, and
	--with-openssl-libs.

	* src/soup-core/Makefile.am (libsoup_la_SOURCES): Add
	soup-nss.[ch], and soup-openssl.[ch].
	
	* src/soup-core/soup-openssl.c: Added. Move existing OpenSSL code
	here. Convert to using GModule to load the shared library at runtime.

	* src/soup-core/soup-nss.c: Added. Initial implementation of NSS
	SSL support. Uses GModule to perform runtime loading. Needs
	serious testing.

	* src/soup-core/soup-ssl.c (soup_set_security_policy): Sets the
	underlying SSL library's policy wrt allowed ciphers. Valid options
	are DOMESTIC, EXPORT, and FRANCE, though these may change as
	domestic and export are confusing terms.
	(soup_ssl_init): Now simply chains SSL library initialization until
	one is loaded successfully. Attempts to start NSS then OpenSSL, then
	simply fails gracefully for future SSL connections.
	(soup_ssl_get_iochannel): dispatch to the underlying SSL library
	in use, or return NULL if none are available.

	* src/soup-core/soup-misc.c (soup_load_config_internal): Converted
	to use generic config file option table.
	(soup_config_connection_limit): Added. Set the connection limit
	given a "connection-limit" config file option.
	(soup_config_proxy_uri): Added. Set the proxy uri given a
	"proxy-uri" or "proxy-url" config file option.
	(soup_config_security_policy): Added. Allows setting the SSL security
	policy from the config file.

2001-02-16  Alex Graveley  <alex@ximian.com>

	* tests/Makefile.am: clear out some unneccassry cruft as currently
	all tests link against libsoup.

	* src/soup-wsdl/Makefile.am (soup_wsdl_SOURCES): add wsdl.h.

	* src/soup-core/Makefile.am (libsoup_la_SOURCES): add
	soup-headers.h, soup-private.h, soup-socks.h, and soup-ssl.h to
	pass distcheck.

2001-02-15  Alex Graveley  <alex@ximian.com>

	* tests/stress-test.c (current_temp_cb): update to return void
	from the callback.
	(main): do not requeue existing messages when they have finished,
	as they will be freed. instead create new SoupMessage objects.

	* tests/simple-test.c (current_temp_cb): update to return void
	from the callback.

	* src/soup-core/soup-serializer.c (soup_serializer_start_element):
	support creation of the request's SOAPAction header my taking the
	namespace uri and name of the first element after starting the
	body tag.

	* src/soup-core/soup-queue.h: add SOUP_ERROR_HANDLER which will be
	used by the upcoming handler/interceptor stuff to return an
	application-level error to the message callback. Make
	SoupCallbackFn return void.

	* src/soup-core/soup-queue.c (soup_debug_print_headers): make public.
	(soup_queue_write_async): attempt to write again if the first
	write was okay and didn't block.

	* src/soup-core/soup-uri.c (soup_debug_print_uri): make public.

	* src/soup-core/soup-message.c (soup_message_issue_callback):
	message callback now returns void, meaning that soup_queue_message()
	takes ownership of the message and always frees it after calling
	the callback (unless it was requeued from within the callback).

	* src/soup-core/soup-headers.c (soup_headers_parse_request):
	renamed from soup_parse_request_headers.
	(soup_headers_parse_response): renamed from soup_parse_response_headers.
	(soup_headers_parse): renamed from soup_parse_headers.

2001-02-13  Alex Graveley  <alex@ximian.com>

	* src/soup-core/soup-ssl.c (soup_get_ssl_iochannel): renamed to
	soup_ssl_get_iochannel.

2001-02-13  Alex Graveley  <alex@ximian.com>

	* src/soup-core/soup-ssl.c (soup_ssl_add_watch): work around fact
	that data available in the socket does not always mean unencrypted
	data is available for reading.
	(soup_ssl_read_cb): called on socket data available. Only call the
	real callback if SSL_pending() returns > 0 meaning there is actual
	data to read. there is a bug here as SSL_pending() always returns
	false, so its commented out.

	* src/soup-core/soup-queue.c (soup_queue_connect): add explicit
	check for SOCKS protocol, remove call to soup_setup_socket.

	* src/soup-core/soup-context.c (soup_connection_get_iochannel):
	add channel member to SoupConnection, and serve it up for future
	requests.

	* src/soup-core/soup-queue.c (soup_setup_socket): removed.
	(soup_get_request_header): change default Content-Type to 
	"text/xml; charset=utf-8".

	* src/soup-core/soup-context.c (soup_connection_setup_socket):
	moved soup-queue.c:soup_setup_socket() to here. 

2001-02-12  alex  <alex@ximian.com>

	* src/soup-core/soup-server.[ch]: Initial revision of server side 
	  request handling dispatcher.

2001-02-11  alex  <alex@ximian.com>

	* TODO: add items left before a release.

	* soup-queue.c: change default Content-Type to "text/xml" from
	  "text/xml\r\n\tcharset=\"utf-8\"".

	* soup-serializer.[ch]: added soup_serializer_new_full which
	  removes unnecessary args to soup_serializer_start_envelope. 
	  rearrange namespace args to soup_serializer_start_element to match 
	  other methods. added soup_serializer_set_type to set the xsi:type,
	  and soup_serializer_set_null to set xsi:null="1".

2001-02-06  alex  <alex@ximian.com>

	* soup-config.in: remove some cruft.

	* soupConf.sh.in: remove some cruft.

	* src/soup-core/Makefile.am: build soup-headers.c

	* src/soup-core/soup-headers.[ch]: created. refactor of header parsing
	  logic for use in requests and responses.

	* src/soup-core/soup-message.c: free req->response_phrase as it is now 
	  allocated.

	* src/soup-core/soup-queue.c (soup_parse_headers): use 
	  soup_parse_response_headers. (soup_queue_reqest): free 
	  req->response_phrase.

	* src/soup-core/soup-serializer.h: include <time.h>

2001-01-31  Jeffrey Stedfast  <fejj@ximian.com>

	* src/soup-core/gionspr.c: Implemented (probably somewhat broken).

2001-01-25  Rodrigo Moya <rodrigo@ximian.com>

	* soup-config.in: replaced @glib_cflags@ and @glib_libs@ with
	@GLIB_CFLAGS@ and @GLIB_LIBS@. Added -I@includedir@/soup to
	$cflags

2001-01-23  alex  <alex@ximian.com>

	* ChangeLog: Created from rcs2log.

	* AUTHORS: Added Dick Porter.

	* soup.pc.in, soup-config.in, soupConf.sh, soup.m4:
	Created with a dash of Maintainer Love.

	* soup.spec.in: RPM spec file. Needs fixing wrt to displaying the
	OpenSSL license conditionally (if it was statically linked).

	* Makefile.am: Updated to install new config scripts and macros.

	* configure.in: add --enable-ssl, --with-ssl=[nss/openssl/none],
	and --with-nss-prefix=PFX to support choosing of an SSL library to
	use, even though openssl is the only one currently supported.

	* src/soup-core/Makefile.am: don't install soup-ssl.h or
	soup-socks.h, they're internal.

	* src/soup-core/soup-ssl.c: wrap openssl calls with a conditional
	to avoid building if --enable-ssl=no or NSS is chosen as the
	library. soup_get_ssl_iochannel() will print "SSL Not Supported."
	and return NULL if no library has been chosen.

	* tests/stress-test.c: make the callback handle errors by
	requeuing request and not just g_error'ing.

2001-01-23  alex  <alex@ximian.com>

	* soup-context.c (soup_context_get_connection): check environment
	for SOUP_NO_ASYNC_CONNECT, and if set use syncronous name lookup
	and connect. Use this when debugging.

	* soup-queue.c (soup_read_chunk): fix buffer overflow.

	* soup-queue.c (soup_queue_read_async): set header_len to include
	trailing \r\n\r\n as this makes more sense.

	* soup-serializer.[ch] (soup_serializer_get_xml_doc): allows
	getting at the serializer's internal xml tree.

	* soup.h: install soup-serializer.h.

2001-01-21  alex  <alex@ximian.com>

	* /cvs/helixcode/services/soup/src/soup-wsdl/Makefile.am,
	/cvs/helixcode/services/soup/tests/Makefile.am,
	/cvs/helixcode/services/soup/configure.in,
	/cvs/helixcode/services/soup/src/Makefile.am: Update Makefile.ams
	and configure.in to work with new layout.

	* /cvs/helixcode/services/soup/src/soup.h,
	/cvs/helixcode/services/soup/src/soup-socks.h,
	/cvs/helixcode/services/soup/src/soup-ssl.c,
	/cvs/helixcode/services/soup/src/soup-ssl.h,
	/cvs/helixcode/services/soup/src/soup-uri.c,
	/cvs/helixcode/services/soup/src/soup-uri.h,
	/cvs/helixcode/services/soup/src/soup-context.c,
	/cvs/helixcode/services/soup/src/soup-context.h,
	/cvs/helixcode/services/soup/src/soup-message.c,
	/cvs/helixcode/services/soup/src/soup-message.h,
	/cvs/helixcode/services/soup/src/soup-misc.c,
	/cvs/helixcode/services/soup/src/soup-misc.h,
	/cvs/helixcode/services/soup/src/soup-private.h,
	/cvs/helixcode/services/soup/src/soup-queue.c,
	/cvs/helixcode/services/soup/src/soup-queue.h,
	/cvs/helixcode/services/soup/src/soup-serializer.c,
	/cvs/helixcode/services/soup/src/soup-serializer.h,
	/cvs/helixcode/services/soup/src/soup-socks.c: Adding Dick's wsdl
	compiler to the soup package, to src/soup-wsdl. Moving existing
	soup stuff to src/soup-core.

2001-01-19  dick  <dick@ximian.com>

	* /cvs/helixcode/services/soup/src/soup-wsdl/main.c,
	/cvs/helixcode/services/soup/src/soup-wsdl/Makefile.am,
	/cvs/helixcode/services/soup/src/soup-wsdl/wsdl.h,
	/cvs/helixcode/services/soup/src/soup-wsdl/wsdl-parse.c,
	/cvs/helixcode/services/soup/src/soup-wsdl/wsdl-parse.h,
	/cvs/helixcode/services/soup/tests/stockquote2.wsdl,
	/cvs/helixcode/services/soup/tests/stockquote.wsdl: First part of
	the WSDL compiler.

	The parser accepts an XML file in WSDL syntax. Some syntax
	checking is done, but there is no consistency checking yet.

	User-specified types are not yet supported.

2001-01-17  alex  <alex@ximian.com>

	* src/soup-serializer.c (soup_serializer_start_element): handle
	cases where users want to be lazy and supply a namespace prefix
	but not a uri (i.e. broken xml).

	* src/soup-misc.c (soup_load_config_internal): warn the user if a
	config file entry is not allowed by system config.

	* src/soup-serializer.[ch]: initial commit of simple serializer
	API. Uses libxml to handle tree creation.

	* configure.in: check for libxml.

2001-01-15  alex  <alex@ximian.com>

	* src/soup-misc.c: Fix a typo

	* src/soup-misc.c: hacked to support permissions in the global
	config file on which options can be set from user config
	files. Global config file is now always loaded first, before
	either a program specified file or the user's dot-file. Also
	supports "allow all" and "deny all" which have the expected
	results.

	* src/soup-ssl.[ch]: move unneeded #include's to the source file.

	* soup-socks.c: Umm, ya. So I was like umm, sleepy last night and
	stuff. So this umm makes last night's commit a little less
	embarrassing.

2001-01-14  alex  <alex@ximian.com>

	* src/soup-misc.c: oops, forgot to mention that user local config
	file (~/.souprc) is now loaded after the system config file. This
	needs to be thought out more as administrators may not want
	variables overwritten.

	* src/soup-socks.[ch]: SOCKS version 4 and version 5 support. This
	code is not very simple because we are attempting to make a
	multi-step conversation completely asyncronous. Also this includes
	a hack to get at GNET's GInetAddr private memebers (the
	sockaddr_in) for SOCKS4, as the client has to lookup the
	destination host address and send it to the socks proxy, and we
	want to use gnet to do this asyncronously.

	* src/soup-context.[ch]: Added soup_context_get_protocol(),
	soup_connection_get_context(), and soup_connection_is_new() so
	that we can keep the abstractions between the contexts/connections
	and messages clean. soup_context_get_uri() changed to return a
	SoupUri instead of a string, as this is more useful. Made
	SoupProtocol a public enum so it can be returned by
	soup_context_get_protocol().

	* src/soup-queue.c: updated to use context/connection accessors,
	instead of looking at private members. AB-STRAC-SHUN!

2001-01-12  alex  <alex@ximian.com>

        * soup-misc.c (soup_load_config): simple config file
	loading. Passing NULL as the config file name will load from the
	system config file, which is $(sysconfdir)/souprc. Only options
	supported now are proxy-url and connection-limit.

	* */.cvsignore: a little maintainer love.

2001-01-11  alex  <alex@ximian.com>

	* soup-queue.c (soup_get_request_header): append a '?' between
	path and query string in request header. NULL terminate the call
	to g_strconcat.

	* soup-context.c (soup_context_get): bomb if url passed in does
	not have a protocol. do not default to HTTP.

2001-01-08  alex  <alex@ximian.com>

	* /cvs/helixcode/services/soup/src/soup-message.c,
	/cvs/helixcode/services/soup/src/soup-message.h,
	/cvs/helixcode/services/soup/src/soup-request.c,
	/cvs/helixcode/services/soup/src/soup-request.h: * Oops. Forget to
	add new files and remove old ones when I renamed SoupRequest to
	SoupMessage.

	* /cvs/helixcode/services/soup/src/soup-ssl.c,
	/cvs/helixcode/services/soup/src/soup-queue.c: * soup-ssl.c
	(soup_ssl_add_watch): make ssl work. pass the ssl iochannel to the
	underlying iochannel's funcs->io_add_watch, so that our ssl
	functions get called. this is a hack. this will need to be fixed
	in order to get windows portability, as the SoupSSLChannel struct
	is mimicing GIOUnixChannel so the add_watch will work correctly.

	* soup-queue.c (soup_queue_read_async): fix bug when searching for
	end of http headers where req->priv->header_len was being set
	whether the end was found or not.

	* /cvs/helixcode/services/soup/src/Makefile.am,
	 /cvs/helixcode/services/soup/src/soup.h,
	 /cvs/helixcode/services/soup/src/soup-private.h,
	 /cvs/helixcode/services/soup/src/soup-queue.c,
	 /cvs/helixcode/services/soup/src/soup-queue.h,
	 /cvs/helixcode/services/soup/tests/simple-test.c,
	 /cvs/helixcode/services/soup/tests/stress-test.c: * Renamed
	 SoupRequest to SoupMessage, as it contains both the request and
	 the response, changed all API names accordingly. This had to be
	 done, so what better time than now?

	* /cvs/helixcode/services/soup/configure.in,
	/cvs/helixcode/services/soup/src/Makefile.am,
	/cvs/helixcode/services/soup/src/soup-context.c,
	/cvs/helixcode/services/soup/src/soup-context.h,
	/cvs/helixcode/services/soup/src/soup-private.h,
	/cvs/helixcode/services/soup/src/soup-queue.c,
	/cvs/helixcode/services/soup/src/soup-request.c,
	/cvs/helixcode/services/soup/src/soup-ssl.c,
	/cvs/helixcode/services/soup/src/soup-ssl.h: * soup-queue.c:
	chunked encoding support finalized, fixed a few small buffer over
	allocations, use strcasecmp instead of strcmp when comparing
	custom request headers, better error handling in
	soup_queue_error_async which fixes a bug found in certain IIS
	servers.

	* soup-context.c: (soup_connection_get_iochannel) return iochannel
	from soup-ssl.c:soup_get_ssl_iochannel() if protocol for
	connection is SOUP_PROTOCOL_SHTTP.

	* soup-ssl.c: simple GIOChannel wrapper around the OpenSSL
	library.

2000-12-27  alex  <alex@ximian.com>

	* /cvs/helixcode/services/soup/src/soup-core/soup-private.h,
	/cvs/helixcode/services/soup/src/soup-core/soup-queue.c,
	/cvs/helixcode/services/soup/src/soup-private.h,
	/cvs/helixcode/services/soup/src/soup-queue.c: * soup-private.h:
	Content length is now a guint.

	* soup-queue.c (soup_parse_headers): Added minimum status-line
	length check.

	* soup-queue.c (soup_queue_request): Removed g_error() call for
	user-iwned response buffers. We now just issue a
	SOUP_ERROR_CANCELLED callback and print a warning.

	* /cvs/helixcode/services/soup/tests/Makefile.am,
	/cvs/helixcode/services/soup/tests/stress-test.c: * Added
	tests/stress-test.c which makes 3 simultaneous requests to a url,
	each repeating 110 times (enough to trigger Apache to kill
	keep-alive connections), goes to sleep for 20 seconds (long enough
	for Apache to kill keep-alive connections again) and repeats. It
	also sets the connection limit to 2.

	* /cvs/helixcode/services/soup/tests/simple-test.c: *
	SOUP_ERROR_UNKNOWN has been removed. Don't check for it.

2000-12-26  alex  <alex@ximian.com>

	* /cvs/helixcode/services/soup/src/soup-context.c,
	/cvs/helixcode/services/soup/src/soup-context.h,
	/cvs/helixcode/services/soup/src/soup-misc.c,
	/cvs/helixcode/services/soup/src/soup-private.h,
	/cvs/helixcode/services/soup/src/soup-queue.c,
	/cvs/helixcode/services/soup/src/soup-queue.h,
	/cvs/helixcode/services/soup/src/soup-request.c,
	/cvs/helixcode/services/soup/src/soup-request.h,
	/cvs/helixcode/services/soup/src/soup-uri.c: * Made SoupConnection
	wrap Gnet's TcpSocket. This means there are no gnet references in
	the public interface.

	* Lots of code cleanup/reorg/bugfixes.

2000-12-20  alex  <alex@ximian.com>

	* /cvs/helixcode/services/soup/src/soup-context.c,
	/cvs/helixcode/services/soup/src/soup-private.h,
	/cvs/helixcode/services/soup/src/soup-queue.c,
	/cvs/helixcode/services/soup/src/soup-request.c,
	/cvs/helixcode/services/soup/src/soup-uri.c,
	/cvs/helixcode/services/soup/tests/simple-test.c: * Header parsing
	works according to spec, including multi-line headers.

	* Content-length driven responses work correctly.

	* Chunked encoding almost working :)

	* Updated simple-test to take a url from the command line.

2000-12-13  alex  <alex@ximian.com>

	* /cvs/helixcode/services/soup/src/soup-core/soup-uri.c,
	/cvs/helixcode/services/soup/src/soup-uri.c: * soup-uri.c
	(soup_uri_new): Forgot to set the path for cases where we don't
	have a querystring (which is most of the time). Doh.

	* soup-uri.c (soup_uri_get_default_port): No such thing as an
	smtp://foo@bar uri, only mailto:foo@bar.

	* /cvs/helixcode/services/soup/tests/Makefile.am,
	/cvs/helixcode/services/soup/tests/simple-test.c,
	/cvs/helixcode/services/soup/configure.in,
	/cvs/helixcode/services/soup/Makefile.am,
	/cvs/helixcode/services/soup/src/soup-context.c,
	/cvs/helixcode/services/soup/src/soup-context.h,
	/cvs/helixcode/services/soup/src/soup-misc.c,
	/cvs/helixcode/services/soup/src/soup-private.h,
	/cvs/helixcode/services/soup/src/soup-queue.c,
	/cvs/helixcode/services/soup/src/soup-queue.h,
	/cvs/helixcode/services/soup/src/soup-request.c,
	/cvs/helixcode/services/soup/src/soup-request.h,
	/cvs/helixcode/services/soup/src/soup-uri.c,
	/cvs/helixcode/services/soup/src/soup-uri.h: * Beginnings of
	test-suite added.

	* Made SoupContext opaque. Removed SoupContextPrivate. Added
	soup_context_get_uri() to get the uri string for a given context.

	* Added a response_headers hashtable to SoupRequest so the
	callback can do whatever it wants with passed headers. All entries
	in this hashtable are just parsed strings from
	req->priv->recv_buf, so no new strings are allocated.

	* Renamed custom_headers to request_headers

	* Fixed context creation logic

	* Made soup_servers hashtable use case insensitive hostname
	matching.

	* Removed SOUP_ERROR_URI_NOT_FOUND, SOUP_ERROR_URI_NOT_PERMITTED,
	and SOUP_ERROR_URI_OBJECT_MOVED from SoupCallbackResult enum. Its
	up to the application to figure out all the different HTTP
	states. This may change however.

	* Added querystring to SoupUri, so that contexts can be cached
	based only on path.

	* Added default port logic to SoupUri. Known protocols are https
	(port 443), http (80), smtp/mailto (25), and ftp (20).

2000-12-12  alex  <alex@ximian.com>

	* /cvs/helixcode/services/soup/src/soup-context.c,
	/cvs/helixcode/services/soup/src/soup-queue.c: * Also changed the
	passing of a gchar** to a gchar* in soup_process_headers()'s
	sscanf().

	* /cvs/helixcode/services/soup/src/soup-context.c,
	/cvs/helixcode/services/soup/src/soup-context.h,
	/cvs/helixcode/services/soup/src/soup-queue.c,
	/cvs/helixcode/services/soup/src/soup-request.c: * Internal rehash
	of handling cases where the connection limit is reached, involves
	setting a timeout event source to check for the ability to create
	a connection, and allowing either the timeout or the gnet connect
	routine to be canceled depending on the current connect
	state. Clients should now use soup_context_cancel_connect() to
	cancel a connection in progress.

	* /cvs/helixcode/services/soup/src/soup-queue.c: * Don't use glibc
	sscanf extensions.

2000-12-11  alex  <alex@ximian.com>

	* /cvs/helixcode/services/soup/src/soup-queue.c: Better error
	checking on HTTP response line. Avoid doing a lookup for every
	used header by iterating the hash table and doing a strcmp for all
	known headers. This is not necessarily faster for several cases,
	but it allows us to gather custom headers at the same time and
	avoid a second iteration.

	* /cvs/helixcode/services/soup/configure.in,
	/cvs/helixcode/services/soup/src/Makefile.am,
	/cvs/helixcode/services/soup/src/soup-context.c,
	/cvs/helixcode/services/soup/src/soup-context.h,
	/cvs/helixcode/services/soup/src/soup.h,
	/cvs/helixcode/services/soup/src/soup-misc.c,
	/cvs/helixcode/services/soup/src/soup-misc.h,
	/cvs/helixcode/services/soup/src/soup-private.h,
	/cvs/helixcode/services/soup/src/soup-queue.c,
	/cvs/helixcode/services/soup/src/soup-queue.h,
	/cvs/helixcode/services/soup/src/soup-request.c,
	/cvs/helixcode/services/soup/src/soup-request.h,
	/cvs/helixcode/services/soup/src/soup-uri.h: * Rewrote the
	connection pool logic, and cleaned up the request queueing loop.

	* Added ref/unref to SoupContext.

	* Made getting a connection for a SoupContext generic which cleans
	up the code and makes it useable for purposes other than soup.

	* Connection limits handling moved to the connection pooling to
	avoid races, and allows for better handling when we have hit the
	connection limit.

	* Added soup-misc.[ch] which provide global functions for getting
	and setting the proxy context and the connection limit.

	* Changed proxy to be a SoupContext.

	* Support for http headers near completion.

	* Added support for custom request headers which can override the
	standard headers without duplication.

	* Lots of code reorg and cleaning up.

2000-12-07  alex  <alex@ximian.com>

	* /cvs/helixcode/services/soup/configure.in,
	/cvs/helixcode/services/soup/src/soup-queue.c: Replaced CVS gnet
	feature for setting TCP_NODELAY

2000-12-06  alex  <alex@ximian.com>

	* /cvs/helixcode/services/soup/acconfig.h,
	/cvs/helixcode/services/soup/AUTHORS,
	/cvs/helixcode/services/soup/autogen.sh,
	/cvs/helixcode/services/soup/ChangeLog,
	/cvs/helixcode/services/soup/configure.in,
	/cvs/helixcode/services/soup/docs/soap-encoding.txt,
	/cvs/helixcode/services/soup/docs/soap-envelope.txt,
	/cvs/helixcode/services/soup/Makefile.am,
	/cvs/helixcode/services/soup/NEWS,
	/cvs/helixcode/services/soup/README,
	/cvs/helixcode/services/soup/src/Makefile.am,
	/cvs/helixcode/services/soup/src/soup-context.c,
	/cvs/helixcode/services/soup/src/soup-context.h,
	/cvs/helixcode/services/soup/src/soup.h,
	/cvs/helixcode/services/soup/src/soup-private.h,
	/cvs/helixcode/services/soup/src/soup-queue.c,
	/cvs/helixcode/services/soup/src/soup-queue.h,
	/cvs/helixcode/services/soup/src/soup-request.c,
	/cvs/helixcode/services/soup/src/soup-request.h,
	/cvs/helixcode/services/soup/src/soup-uri.c,
	/cvs/helixcode/services/soup/src/soup-uri.h: Initial version