1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451
2452
2453
2454
2455
2456
2457
2458
2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
2474
2475
2476
2477
2478
2479
2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492
2493
2494
2495
2496
2497
2498
2499
2500
2501
2502
2503
2504
2505
2506
2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
2528
2529
2530
2531
2532
2533
2534
2535
2536
2537
2538
2539
2540
2541
2542
2543
2544
2545
2546
2547
2548
2549
2550
2551
2552
2553
2554
2555
2556
2557
2558
2559
2560
2561
2562
2563
2564
2565
2566
2567
2568
2569
2570
2571
2572
2573
2574
2575
2576
2577
2578
2579
2580
2581
2582
2583
2584
2585
2586
2587
2588
2589
2590
2591
2592
2593
2594
2595
2596
2597
2598
2599
2600
2601
2602
2603
2604
2605
2606
2607
2608
2609
2610
2611
2612
2613
2614
2615
2616
2617
2618
2619
2620
2621
2622
2623
2624
2625
2626
2627
2628
2629
2630
2631
2632
2633
2634
2635
2636
2637
2638
2639
2640
2641
2642
2643
2644
2645
2646
2647
2648
2649
2650
2651
2652
2653
2654
2655
2656
2657
2658
2659
2660
2661
2662
2663
2664
2665
2666
2667
2668
2669
2670
2671
2672
2673
2674
2675
2676
2677
2678
2679
2680
2681
2682
2683
2684
2685
2686
2687
2688
2689
2690
2691
2692
2693
2694
2695
2696
2697
2698
2699
2700
2701
2702
2703
2704
2705
2706
2707
2708
2709
2710
2711
2712
2713
2714
2715
2716
2717
2718
2719
2720
2721
2722
2723
2724
2725
2726
2727
2728
2729
2730
2731
2732
2733
2734
2735
2736
2737
2738
2739
2740
2741
2742
2743
2744
2745
2746
2747
2748
2749
2750
2751
2752
2753
2754
2755
2756
2757
2758
2759
2760
2761
2762
2763
2764
2765
2766
2767
2768
2769
2770
2771
2772
2773
2774
2775
2776
2777
2778
2779
2780
2781
2782
2783
2784
2785
2786
2787
2788
2789
2790
2791
2792
2793
2794
2795
2796
2797
2798
2799
2800
2801
2802
2803
2804
2805
2806
2807
2808
2809
2810
2811
2812
2813
2814
2815
2816
2817
2818
2819
2820
2821
2822
2823
2824
2825
2826
2827
2828
2829
2830
2831
2832
2833
2834
2835
2836
2837
2838
2839
2840
2841
2842
2843
2844
2845
2846
2847
2848
2849
2850
2851
2852
2853
2854
2855
2856
2857
2858
2859
2860
2861
2862
2863
2864
2865
2866
2867
2868
2869
2870
2871
2872
2873
2874
2875
2876
2877
2878
2879
2880
2881
2882
2883
2884
2885
2886
2887
2888
2889
2890
2891
2892
2893
2894
2895
2896
2897
2898
2899
2900
2901
2902
2903
2904
2905
2906
2907
2908
2909
2910
2911
2912
2913
2914
2915
2916
2917
2918
2919
2920
2921
2922
2923
2924
2925
2926
2927
2928
2929
2930
2931
2932
2933
2934
2935
2936
2937
2938
2939
2940
2941
2942
2943
2944
2945
2946
2947
2948
2949
2950
2951
2952
2953
2954
2955
2956
2957
2958
2959
2960
2961
2962
2963
2964
2965
2966
2967
2968
2969
2970
2971
2972
2973
2974
2975
2976
2977
2978
2979
2980
2981
2982
2983
2984
2985
2986
2987
2988
2989
2990
2991
2992
2993
2994
2995
2996
2997
2998
2999
3000
3001
3002
3003
3004
3005
3006
3007
3008
3009
3010
3011
3012
3013
3014
3015
3016
3017
3018
3019
3020
3021
3022
3023
3024
3025
3026
3027
3028
3029
3030
3031
3032
3033
3034
3035
3036
3037
3038
3039
3040
3041
3042
3043
3044
3045
3046
3047
3048
3049
3050
3051
3052
3053
3054
3055
3056
3057
3058
3059
3060
3061
3062
3063
3064
3065
3066
3067
3068
3069
3070
3071
3072
3073
3074
3075
3076
3077
3078
3079
3080
3081
3082
3083
3084
3085
3086
3087
3088
3089
3090
3091
3092
3093
3094
3095
3096
3097
3098
3099
3100
3101
3102
3103
3104
3105
3106
3107
3108
3109
3110
3111
3112
3113
3114
3115
3116
3117
3118
3119
3120
3121
3122
3123
3124
3125
3126
3127
3128
3129
3130
3131
3132
3133
3134
3135
3136
3137
3138
3139
3140
3141
3142
3143
3144
3145
3146
3147
3148
3149
3150
3151
3152
3153
3154
3155
3156
3157
3158
3159
3160
3161
3162
3163
3164
3165
3166
3167
3168
3169
3170
3171
3172
3173
3174
3175
3176
3177
3178
3179
3180
3181
3182
3183
3184
3185
3186
3187
3188
3189
3190
3191
3192
3193
3194
3195
3196
3197
3198
3199
3200
3201
3202
3203
3204
3205
3206
3207
3208
3209
3210
3211
3212
3213
3214
3215
3216
3217
3218
3219
3220
3221
3222
3223
3224
3225
3226
3227
3228
3229
3230
3231
3232
3233
3234
3235
3236
3237
3238
3239
3240
3241
3242
3243
3244
3245
3246
3247
3248
3249
3250
3251
3252
3253
3254
3255
3256
3257
3258
3259
3260
3261
3262
3263
3264
3265
3266
3267
3268
3269
3270
3271
3272
3273
3274
3275
3276
3277
3278
3279
3280
3281
3282
3283
3284
3285
3286
3287
3288
3289
3290
3291
3292
3293
3294
3295
3296
3297
3298
3299
3300
3301
3302
3303
3304
3305
3306
3307
3308
3309
3310
3311
3312
3313
3314
3315
3316
3317
3318
3319
3320
3321
3322
3323
3324
3325
3326
3327
3328
3329
3330
3331
3332
3333
3334
3335
3336
3337
3338
3339
3340
3341
3342
3343
3344
3345
3346
3347
3348
3349
3350
3351
3352
3353
3354
3355
3356
3357
3358
3359
3360
3361
3362
3363
3364
3365
3366
3367
3368
3369
3370
3371
3372
3373
3374
3375
3376
3377
3378
3379
3380
3381
3382
3383
3384
3385
3386
3387
3388
3389
3390
3391
3392
3393
3394
3395
3396
3397
3398
3399
3400
3401
3402
3403
3404
3405
3406
3407
3408
3409
3410
3411
3412
3413
3414
3415
3416
3417
3418
3419
3420
3421
3422
3423
3424
3425
3426
3427
3428
3429
3430
3431
3432
3433
3434
3435
3436
3437
3438
3439
3440
3441
3442
3443
3444
3445
3446
3447
3448
3449
3450
3451
3452
3453
3454
3455
3456
3457
3458
3459
3460
3461
3462
3463
3464
3465
3466
3467
3468
3469
3470
3471
3472
3473
3474
3475
3476
3477
3478
3479
3480
3481
3482
3483
3484
3485
3486
3487
3488
3489
3490
3491
3492
3493
3494
3495
3496
3497
3498
3499
3500
3501
3502
3503
3504
3505
3506
3507
3508
3509
3510
3511
3512
3513
3514
3515
3516
3517
3518
3519
3520
3521
3522
3523
3524
3525
3526
3527
3528
3529
3530
3531
3532
3533
3534
3535
3536
3537
3538
3539
3540
3541
3542
3543
3544
3545
3546
3547
3548
3549
3550
3551
3552
3553
3554
3555
3556
3557
3558
3559
3560
3561
3562
3563
3564
3565
3566
3567
3568
3569
3570
3571
3572
3573
3574
3575
3576
3577
3578
3579
3580
3581
3582
3583
3584
3585
3586
3587
3588
3589
3590
3591
3592
3593
3594
3595
3596
3597
3598
3599
3600
3601
3602
3603
3604
3605
3606
3607
3608
3609
3610
3611
3612
3613
3614
3615
3616
3617
3618
3619
3620
3621
3622
3623
3624
3625
3626
3627
3628
3629
3630
3631
3632
3633
3634
3635
3636
3637
3638
3639
3640
3641
3642
3643
3644
3645
3646
3647
3648
3649
3650
3651
3652
3653
3654
3655
3656
3657
3658
3659
3660
3661
3662
3663
3664
3665
3666
3667
3668
3669
3670
3671
3672
3673
3674
3675
3676
3677
3678
3679
3680
3681
3682
3683
3684
3685
3686
3687
3688
3689
3690
3691
3692
3693
3694
3695
3696
3697
3698
3699
3700
3701
3702
3703
3704
3705
3706
3707
3708
3709
3710
3711
3712
3713
3714
3715
3716
3717
3718
3719
3720
3721
3722
3723
3724
3725
3726
3727
3728
3729
3730
3731
3732
3733
3734
3735
3736
3737
3738
3739
3740
3741
3742
3743
3744
3745
3746
3747
3748
3749
3750
3751
3752
3753
3754
3755
3756
3757
3758
3759
3760
3761
3762
3763
3764
3765
3766
3767
3768
3769
3770
3771
3772
3773
3774
3775
3776
3777
3778
3779
3780
3781
3782
3783
3784
3785
3786
3787
3788
3789
3790
3791
3792
3793
3794
3795
3796
3797
3798
3799
3800
3801
3802
3803
3804
3805
3806
3807
3808
3809
3810
3811
3812
3813
3814
3815
3816
3817
3818
3819
3820
3821
3822
3823
3824
3825
3826
3827
3828
3829
3830
3831
3832
3833
3834
3835
3836
3837
3838
3839
3840
3841
3842
3843
3844
3845
3846
3847
3848
3849
3850
3851
3852
3853
3854
3855
3856
3857
3858
3859
3860
3861
3862
3863
3864
3865
3866
3867
3868
3869
3870
3871
3872
3873
3874
3875
3876
3877
3878
3879
3880
3881
3882
3883
3884
3885
3886
3887
3888
3889
3890
3891
3892
3893
3894
3895
3896
3897
3898
3899
3900
3901
3902
3903
3904
3905
3906
3907
3908
3909
3910
3911
3912
3913
3914
3915
3916
3917
3918
3919
3920
3921
3922
3923
3924
3925
3926
3927
3928
3929
3930
3931
3932
3933
3934
3935
3936
3937
3938
3939
3940
3941
3942
3943
3944
3945
3946
3947
3948
3949
3950
3951
3952
3953
3954
3955
3956
3957
3958
3959
3960
3961
3962
3963
3964
3965
3966
3967
3968
3969
3970
3971
3972
3973
3974
3975
3976
3977
3978
3979
3980
3981
3982
3983
3984
3985
3986
3987
3988
3989
3990
3991
3992
3993
3994
3995
3996
3997
3998
3999
4000
4001
4002
4003
4004
4005
4006
4007
4008
4009
4010
4011
4012
4013
4014
4015
4016
4017
4018
4019
4020
4021
4022
4023
4024
4025
4026
4027
4028
4029
4030
4031
4032
4033
4034
4035
4036
4037
4038
4039
4040
4041
4042
4043
4044
4045
4046
4047
4048
4049
4050
4051
4052
4053
4054
4055
4056
4057
4058
4059
4060
4061
4062
4063
4064
4065
4066
4067
4068
4069
4070
4071
4072
4073
4074
4075
4076
4077
4078
4079
4080
4081
4082
4083
4084
4085
4086
4087
4088
4089
4090
4091
4092
4093
4094
4095
4096
4097
4098
4099
4100
4101
4102
4103
4104
4105
4106
4107
4108
4109
4110
4111
4112
4113
4114
4115
4116
4117
4118
4119
4120
4121
4122
4123
4124
4125
4126
4127
4128
4129
4130
4131
4132
4133
4134
4135
4136
4137
4138
4139
4140
4141
4142
4143
4144
4145
4146
4147
4148
4149
4150
4151
4152
4153
4154
4155
4156
4157
4158
4159
4160
4161
4162
4163
4164
4165
4166
4167
4168
4169
4170
4171
4172
4173
4174
4175
4176
4177
4178
4179
4180
4181
4182
4183
4184
4185
4186
4187
4188
4189
4190
4191
4192
4193
4194
4195
4196
4197
4198
4199
4200
4201
4202
4203
4204
4205
4206
4207
4208
4209
4210
4211
4212
4213
4214
4215
4216
4217
4218
4219
4220
4221
4222
4223
4224
4225
4226
4227
4228
4229
4230
4231
4232
4233
4234
4235
4236
4237
4238
4239
4240
4241
4242
4243
4244
4245
4246
4247
4248
4249
4250
4251
4252
4253
4254
4255
4256
4257
4258
4259
4260
4261
4262
4263
4264
4265
4266
4267
4268
4269
4270
4271
4272
4273
4274
4275
4276
4277
4278
4279
4280
4281
4282
4283
4284
4285
4286
4287
4288
4289
4290
4291
4292
4293
4294
4295
4296
4297
4298
4299
4300
4301
4302
4303
4304
4305
4306
4307
4308
4309
4310
4311
4312
4313
4314
4315
4316
4317
4318
4319
4320
4321
4322
4323
4324
4325
4326
4327
4328
4329
4330
4331
4332
4333
4334
4335
4336
4337
4338
4339
4340
4341
4342
4343
4344
4345
4346
4347
4348
4349
4350
4351
4352
4353
4354
4355
4356
4357
4358
4359
4360
4361
4362
4363
4364
4365
4366
4367
4368
4369
4370
4371
4372
4373
4374
4375
4376
4377
4378
4379
4380
4381
4382
4383
4384
4385
4386
4387
4388
4389
4390
4391
4392
4393
4394
4395
4396
4397
4398
4399
4400
4401
4402
4403
4404
4405
4406
4407
4408
4409
4410
4411
4412
4413
4414
4415
4416
4417
4418
4419
4420
4421
4422
4423
4424
4425
4426
4427
4428
4429
4430
4431
4432
4433
4434
4435
4436
4437
4438
4439
4440
4441
4442
4443
4444
4445
4446
4447
4448
4449
4450
4451
4452
4453
4454
4455
4456
4457
4458
4459
4460
4461
4462
4463
4464
4465
4466
4467
4468
4469
4470
4471
4472
4473
4474
4475
4476
4477
4478
4479
4480
4481
4482
4483
4484
4485
4486
4487
4488
4489
4490
4491
4492
4493
4494
4495
4496
4497
4498
4499
4500
4501
4502
4503
4504
4505
4506
4507
4508
4509
4510
4511
4512
4513
4514
4515
4516
4517
4518
4519
4520
4521
4522
4523
4524
4525
4526
4527
4528
4529
4530
4531
4532
4533
4534
4535
4536
4537
4538
4539
4540
4541
4542
4543
4544
4545
4546
4547
4548
4549
4550
4551
4552
4553
4554
4555
4556
4557
4558
4559
4560
4561
4562
4563
4564
4565
4566
4567
4568
4569
4570
4571
4572
4573
4574
4575
4576
4577
4578
4579
4580
4581
4582
4583
4584
4585
4586
4587
4588
4589
4590
4591
4592
4593
4594
4595
4596
4597
4598
4599
4600
4601
4602
4603
4604
4605
4606
4607
4608
4609
4610
4611
4612
4613
4614
4615
4616
4617
4618
4619
4620
4621
4622
4623
4624
4625
4626
4627
4628
4629
4630
4631
4632
4633
4634
4635
4636
4637
4638
4639
4640
4641
4642
4643
4644
4645
4646
4647
4648
4649
4650
4651
4652
4653
4654
4655
4656
4657
4658
4659
4660
4661
4662
4663
4664
4665
4666
4667
4668
4669
4670
4671
4672
4673
4674
4675
4676
4677
4678
4679
4680
4681
4682
4683
4684
4685
4686
4687
4688
4689
4690
4691
4692
4693
4694
4695
4696
4697
4698
4699
4700
4701
4702
4703
4704
4705
4706
4707
4708
4709
4710
4711
4712
4713
4714
4715
4716
4717
4718
4719
4720
4721
4722
4723
4724
4725
4726
4727
4728
4729
4730
4731
4732
4733
4734
4735
4736
4737
4738
4739
4740
4741
4742
4743
4744
4745
4746
4747
4748
4749
4750
4751
4752
4753
4754
4755
4756
4757
4758
4759
4760
4761
4762
4763
4764
4765
4766
4767
4768
4769
4770
4771
4772
4773
4774
4775
4776
4777
4778
4779
4780
4781
4782
4783
4784
4785
4786
4787
4788
4789
4790
4791
4792
4793
4794
4795
4796
4797
4798
4799
4800
4801
4802
4803
4804
4805
4806
4807
4808
4809
4810
4811
4812
4813
4814
4815
4816
4817
4818
4819
4820
4821
4822
4823
4824
4825
4826
4827
4828
4829
4830
4831
4832
4833
4834
4835
4836
4837
4838
4839
4840
4841
4842
4843
4844
4845
4846
4847
4848
4849
4850
4851
4852
4853
4854
4855
4856
4857
4858
4859
4860
4861
4862
4863
4864
4865
4866
4867
4868
4869
4870
4871
4872
4873
4874
4875
4876
4877
4878
4879
4880
4881
4882
4883
4884
4885
4886
4887
4888
4889
4890
4891
4892
4893
4894
4895
4896
4897
4898
4899
4900
4901
4902
4903
4904
4905
4906
4907
4908
4909
4910
4911
4912
4913
4914
4915
4916
4917
4918
4919
4920
4921
4922
4923
|
2008-04-15 Kornél Pál <kornelpal@gmail.com>
* HttpRuntime.cs: Don't add Date header for error pages either. Fixes bug
#363404.
2008-04-02 Marek Habersack <mhabersack@novell.com>
* HttpRequest.cs: make sure QueryStringRaw is always returned with
a leading '?' and that we return something meaningful even if the
url components weren't collected before. Fixes bug #376352
2008-04-09 Marek Habersack <mhabersack@novell.com>
* HttpContext.cs: make RewritePath work correctly in the 2.0
profile, fixes bug #371581
2008-03-13 Marek Habersack <mhabersack@novell.com>
* HttpApplicationFactory.cs: use HttpApplication.BinDirs to
create watchers for binary application directories.
* HttpApplication.cs: use HttpRuntime.CaseInsensitive instead of
own IsRunningOnWindows.
Remove the BinDirectories enumerator property, replaced with a
BinDirectory one returning a string with path to the binary
directory.
* HttpRuntime.cs: introduce two static properties -
CaseInsensitive (set to true whenever the environment is
case-insensitive - i.e. MONO_IOMAP="all" or MONO_IOMAP="case", or
running on Windows) and RunningOnWindows.
2008-03-01 Marek Habersack <mhabersack@novell.com>
* HttpRuntime.cs: SettingsMappingManager has been moved to
Mono.Web.
2008-02-28 Marek Habersack <mhabersack@novell.com>
* HttpParamsCollection.cs: restore the GetValues overrides only to
make sure the collections are merged before invoking the base
implementation.
Remove code that's no longer needed.
2008-02-26 Kornél Pál <kornelpal@gmail.com>
* HttpResponse.cs: Don't add Date header because servers usually add
a Date header that would result in duplicate Date header sent to the
client. Fixes bug #363404.
2008-02-25 Marek Habersack <mhabersack@novell.com>
* HttpContext.cs: correctly set the timeout if the user has
specified a timeout which, when converted to milliseconds yields a
value larger than one allowed by Timer.Change. This can happen,
for instance, when HttpServerUtility.ScriptTimeout is set to
Int32.MaxValue. Previously, when something like that happened, the
value was converted to 0ms, giving an instantenous timer
expiration and, what follows, a request "timeout".
2008-02-19 Marek Habersack <mhabersack@novell.com>
* HttpParamsCollection.cs: do not override the NVC behavior for
GetValues - values from different sources (Form, Query, Cookies,
ServerVariables) must be kept separate for this purpose. This is
also the behavior of MS.NET. Fixes bug #362189
2008-02-18 Marek Habersack <mhabersack@novell.com>
* HttpRuntime.cs: When app is offline, send status code 503
instead of 200. Fixes bug #357565
2008-02-07 Marek Habersack <mhabersack@novell.com>
* HttpException.cs: more exception output compatibility changes to
match MS.NET.
2008-02-07 Marek Habersack <mhabersack@novell.com>
* HttpException.cs: moved several strings to constants, for easier
maintenance.
Added 3 new constructors which let the caller to set the exception
description.
The Description property is now settable.
The stack trace at the bottom of the file is written after the
terminating </html>, inside a HTML comment. Format changed to
match MS.NET.
Error 404 is handled in a special way, to match the output with
MS.NET.
* HttpContext.cs, StaticFileHandler.cs, HttpApplication.cs: use
the new HttpException constructor for 404.
2008-02-06 Marek Habersack <mhabersack@novell.com>
* HttpApplicationFactory.cs: in FireOnAppEnd, set app_type to null
after the event has been fired.
* HttpRuntime.cs: when switching to offline mode fire the
shutdown events. Fixes bug #357565.
Watch for Created event in the FileSystemWatcher for the
app_offline.htm files.
2008-01-29 Vladimir Krasnov <vladimirk@mainsoft.com>
* HttpRequest.cs: performance optimization of QueryStringRaw
2008-01-27 Igor Zelmanovich <igorz@mainsoft.com>
* HttpResponse.cs: rise PreSendRequestHeaders befire headers_sent
initialization to allow set additional headers or status code at
PreSendRequestHeaders event handlers.
2008-01-24 Marek Habersack <mhabersack@novell.com>
* HttpApplicationFactory.cs: use BuildManager.GetCompiledType to
build the application (global.asax) file.
2008-01-22 Konstantin Triger <kostat@mainsoft.com>
* HttpResponse.cs: move headers_sent initialization up to prevent additional
trial to send headers if an exception is thrown.
2008-01-21 Konstantin Triger <kostat@mainsoft.com>
* HttpRequest.cs: Form validation: ensure the collection is accessible after
validation failed.
2008-01-16 Juraj Skripsky <js@hotfeet.ch>
* HttpRequest.cs (get_UrlReferrer): Handle case when headers contain
invalid Url for referer.
2008-01-16 Juraj Skripsky <js@hotfeet.ch>
* HttpCookieCollection.cs (AllKeys): Use Keys.CopyTo().
2008-01-14 Sebastien Pouliot <sebastien@ximian.com>
* HttpCookie.cs: Fix HttpOnly setter. Found using Gendarme.
2008-01-02 Vladimir Krasnov <vladimirk@mainsoft.com>
* HttpContext.cs: added resource manager caching in GetResourceObject
* HttpContext.jvm.cs: added resourceManagerCache storing in appdomain
2007-12-31 Vladimir Krasnov <vladimirk@mainsoft.com>
* HttpContext.cs: added HasError method
* HttpApplication.cs: refactored thread abort handling
2007-12-31 Vladimir Krasnov <vladimirk@mainsoft.com>
* HttpRuntime.cs: fixed HttpRuntime, added Cache.DependencyCache
initialization
2007-12-26 Igor Zelmanovich <igorz@mainsoft.com>
* TraceContext.cs:
* TraceData.cs:
make trace considers control state info.
2007-12-25 Igor Zelmanovich <igorz@mainsoft.com>
* HttpApplication.cs: initialize culture each request.
makes it consider culture settings from nested web.config
2007-12-19 Juraj Skripsky <js@hotfeet.ch>
* HttpContext.cs, HttpApplication.cs: Move timeout tracking from
TimeoutManager into HttpContext. Replace periodic timeout checks with
separate per-context timeout timers.
* HttpRuntime.cs: remove TimeoutManager.
2007-12-18 Miguel de Icaza <miguel@novell.com>
* HttpCookieCollection.cs (Get): implement using the indexer to
share some code. Should fix #349564.
2007-12-16 Igor Zelmanovich <igorz@mainsoft.com>
* HttpContext.cs: added IsProcessingInclude property.
* HttpServerUtility.cs: set IsProcessingInclude value within Execute.
2007-12-13 Marek Habersack <mhabersack@novell.com>
* HttpRequest.cs, HttpResponse.cs, SiteMapNode.cs, HttpRuntime.cs,
HttpResponseStream.cs, HttpApplication.cs, HttpCachePolicy.cs:
speed optimization - use String.Concat instead of String.Format in
some cases.
2007-12-13 Igor Zelmanovich <igorz@mainsoft.com>
* HttpApplication.cs:
* HttpContext.cs:
* HttpRequest.cs:
* HttpServerUtility.cs:
- When Transfer/Execute is called with preserveForm=true, transferred
page is not processed as PostBack but form collection is preserved.
- When Execute is called more than once, PreviousPage property is set
correct.
2007-12-09 Vladimir Krasnov <vladimirk@mainsoft.com>
* HttpApplication.cs: added TARGET_JVM to LoadType method
2007-12-08 Marek Habersack <mhabersack@novell.com>
* HttpRuntime.cs: initialize the Settings Mapping Manager once per
application, just after initalizing the WebConfigurationManager.
2007-11-28 Marek Habersack <mhabersack@novell.com>
* HttpApplication.cs: peform the check of whether we're running on
Windows from within a static constructor.
2007-11-23 Marek Habersack <mhabersack@novell.com>
* RequestNotificationStatus.cs: fix the order of enum members.
* RequestNotification.cs: assign correct values to the enum
members.
* StaticSiteMapProvider.cs: change visibility of the constructor.
* HttpRequest.cs: added missing property LogonUserIdentity.
* HttpCacheVaryByContentEncodings.cs: this constructor should not
be public.
2007-11-23 Daniel Nauck <dna@mono-project.de>
* TraceContextRecord.cs: implemented
2007-11-23 Marek Habersack <mhabersack@novell.com>
* BrowserCapabilities.cs: the JavaScript property is obsolete in
2.0sp1.
2007-11-22 Daniel Nauck <dna@mono-project.de>
* IPartitionResolver.cs: implemented
2007-11-22 Daniel Nauck <dna@mono-project.de>
* WebPageTraceListener.cs: implemented
2007-11-22 Marek Habersack <mhabersack@novell.com>
* RequestNotificationStatus.cs: added
* RequestNotification.cs: added
* HttpCacheVaryByContentEncodings.cs: added
* HttpCachePolicy.cs: added the HttpCacheVaryByContentEncodings
property.
* HttpApplication.cs: added 3 new events to the pipeline (for
compatibility with the 2.0sp1/3.5 version of System.Web)
2007-11-22 Daniel Nauck <dna@mono-project.de>
* WebPageTraceListener.cs: initial checkin (stubs).
2007-11-17 Marek Habersack <mhabersack@novell.com>
* HttpResponse.cs: make sure fileDependencies is not null before
attempting to use it. Fixes bug #342511.
2007-11-07 Igor Zelmanovich <igorz@mainsoft.com>
* TraceContext.cs:
* TraceData.cs: implemented TraceMode feature.
2007-11-07 Igor Zelmanovich <igorz@mainsoft.com>
* BaseParamsCollection.cs:
ensure collection will not be changed during enumeration.
2007-11-06 Marek Habersack <mhabersack@novell.com>
* HttpResponse.cs: trigger the PreSendRequestHeaders event before
setting the output headers. Fixes bugs #334521, #339538
* TraceData.cs: do not use DataTable for trace data storage
anymore. Instead, a set of classes is used to hold data and a
Queue container (generic version in 2.0) is used to hold the data
rows. Fixes bug #325267.
2007-11-05 Marek Habersack <mhabersack@novell.com>
* HttpRequest.cs: cope with UriBuilder.Query being null.
2007-11-03 Gert Driesen <drieseng@users.sourceforge.net>
* HttpRuntime.cs: Always return a path with trailing directory
separator character. Spaces to tabs.
2007-11-03 Marek Habersack <mhabersack@novell.com>
* HttpApplication.cs: removed unused internal PrivateBinPath
property.
* HttpRuntime.cs: BinDirectory returns a path that ends with the
directory separator character.
2007-11-02 Marek Habersack <mhabersack@novell.com>
* HttpServerUtility.cs: in 2.0, Transfer is allowed only from
pages. Fixes bug #334931
Also, according to MSDN docs, transfer in 2.0+ is possible only to
other pages.
* HttpRuntime.cs: BinDirectory returns a full path to the actual
bin directory in the application root. If no bin directory is
found, it defaults to returning <applicationPath>/bin. Fixes bug
338116.
* HttpApplication.cs: introduced HTTP handler cache to save time
on repetitive handler collection traversals. On busy sites the
traversal of the default 26 handlers may account for thousands of
unnecessary calls to configsystem.LocateHandler method, which may
also involve executing a regex. The cache is cleared whenever the
HTTP handler collection is modified.
2007-10-30 Igor Zelmanovich <igorz@mainsoft.com>
* HttpUtility.cs: fixed HtmlEncode for TARGET_JVM.
2007-10-30 Igor Zelmanovich <igorz@mainsoft.com>
* HttpUtility.cs: fixed UrlPathEncode.
2007-10-24 Gert Driesen <drieseng@users.sourceforge.net>
* StaticFileHandler.cs: Modified 404 message to match MS.
2007-10-24 Marek Habersack <mhabersack@novell.com>
* HttpUtility.cs: MS.NET does not support the ';' query parameter
separator. Fixes bug #335615
2007-10-18 Juraj Skripsky <js@hotfeet.ch>
* StaticSiteMapProvider.cs: Replace Hashtables by Dictionaries,
don't allocate them on-demand, there will never be many
Provider instances around.
AddNode(): Check for duplicate keys before adding any item to
hashtables.
RemoveNode(): Use fact that Hashtable.Remove() never throws,
remove item from keyToNode as well, make symmetric to AddNode().
MapUrl(): Use VirtualPathUtility, allow for full urls
(e.g. http://www.google.com).
2007-10-17 Marek Habersack <mhabersack@novell.com>
* StaticFileHandler.cs: fixed an bug with Mono running under
Windows operating systems which caused XSP to return source of the
requested page if the file name used in the request ended in any
number of spaces or dots. The problem lies in the way the Win32
subsystem treats such file names - it ignores the trailing
characters and allows the calling application to open a file on
disk even when its name does not contain the trailing characters
used in the open request. Such file names may be supported by the
underlying filesystem (e.g. NTFS) but they are not supported by
the I/O Win32 subsystem. The security issue is reported in
CVE security report CVE-2007-5473. Fixes bug #332401
2007-10-17 Igor Zelmanovich <igorz@mainsoft.com>
* HttpResponse.cs:
response status is sent after PreSendRequestHeaders invoked.
Redirect method set RedirectLocation property
fixes bug #334521
2007-10-15 Marek Habersack <mhabersack@novell.com>
* HttpApplication.cs: do not return a non-existing bin directory
from BinDirectories. Patch from Atsushi Enomoto
<atsushi@ximian.com>, thanks! Fixes bug #332434.
2007-10-04 Marek Habersack <mhabersack@novell.com>
* HttpApplication.cs: call the Init method after loading the
modules and hooking up application events. Fixes bug #330416.
2007-10-01 Marek Habersack <mhabersack@novell.com>
* HttpServerUtility.cs: set a flag when transferring control to
another page.
* HttpContext.cs: added an internal InTransit property to carry
information that HttpServerUtility.Transfer has been used, over to
the target page.
2007-09-12 Juraj Skripsky <js@hotfeet.ch>
* StaticSiteMapProvider.cs (AddNode): Add message text to
InvalidOperationException (duplicate url case).
2007-09-06 Marek Habersack <mhabersack@novell.com>
* HttpCachePolicy.cs: implemented setting the ETag and
Last-Modified headers from file dependencies.
* HttpResponse.cs: implemented file dependency methods.
2007-09-01 Marek Habersack <mhabersack@novell.com>
* HttpRuntime.cs: rewrote the app_offline.htm support. It now uses
filesystem watchers instead of checking for existence of the
file(s) at the beginning of every request. No performance penalty
that way.
2007-08-31 Marek Habersack <mhabersack@novell.com>
* HttpApplicationFactory.cs: added methods to enable/disable
watchers.
* HttpRuntime.cs: implemented handling of app_offline.htm file in
the application root directory. Fixes bug #81127.
* HttpResponse.cs: make sure neither context or
context.ApplicationInstance are null in End ().
2007-08-27 Marek Habersack <mhabersack@novell.com>
* HttpCookie.cs: make sure a key is output even if it has no
values set. Fixes bug #81333.
2007-08-23 Marek Habersack <mhabersack@novell.com>
* HttpApplication.cs: added a static array BinDirs which contains
the common bin directory names we can encounter.
Added internal static property IsRunningOnWindows.
Added internal enumerable property BinDirectories to iterate over
the full paths of the available binary directories.
Added internal enumerable property BinDirectoryAssemblies to
iterate over .dll files in the bin directories.
LoadTypeFromPrivateBin renamed to LoadTypeFromBin.
LoadTypeFromBin uses BinDirectoryAssemblies.
* HttpApplicationFactory.cs: use HttpApplication.BinDirectories to
interate over the list of bin dirs.
2007-08-21 Marek Habersack <mhabersack@novell.com>
* HttpApplicationFactory.cs: watch for changes in all the
private binary directories for the current application domain.
* HttpApplication.cs: turn the PrivateBinPath property into an
internal enumerable, so that code throughout the assembly can
iterate over the list of private bin directories configured for
the application domain.
Added a new internal method LoadTypeFromPrivateBin, for sharing
with other parts of the assembly.
2007-08-18 Juraj Skripsky <js@hotfeet.ch>
* HttpRequest.cs (StripPath): Fix off-by-one error, make static.
2007-08-18 Marek Habersack <mhabersack@novell.com>
* HttpRequest.cs: IE sends the full input file path when uploading
a file via the upload input control. Detect the situation and
strip the leading path. Fixes bug #82059.
* HttpServerUtility.cs: set the current context's path(s) to the
Transfer/Execute target only to retrieve the new handler, and
restore them immediately afterwards. It has a two-fold effect:
first it avoids an extra round trip to the original page which
called Transfer/Execute, second it makes FilePath etc. return
information about the original page (that is the one which called
Transfer/Execute). Fixes bug #82439.
2007-08-14 Marek Habersack <mhabersack@novell.com>
* XmlSiteMapProvider.cs: do not hide this_lock.
2007-08-09 Marek Habersack <mhabersack@novell.com>
* HttpApplicationFactory.cs: unconditionally watch for changes
(including creation) to Global.asax, global.asax, Web.config,
web.config and Web.Config. This makes the application restart once
any of those is created. Patch from Juraj Skripsky
<juraj@hotfeet.ch>, thanks! Fixes bug #82380.
2007-08-08 Marek Habersack <mhabersack@novell.com>
* StaticSiteMapProvider.cs, HttpApplicationFactory.cs,
HttpStaticObjectsCollection.cs, SiteMapProvider.cs,
XmlSiteMapProvider.cs, HttpApplication.cs, CapabilitiesLoader.cs,
TimeoutManager.cs: do not use lock (this), replace it with lock
(this_object), where this_object is an instance variable. Prevents
deadlocks in situation when external code locks on the class
instance.
2007-08-05 Vladimir Krasnov <vladimirk@mainsoft.com>
* HttpUtility.cs: performance refactoring, optimized UrlEncode
2007-08-05 Igor Zelmanovich <igorz@mainsoft.com>
* SiteMapNode.cs: refactoring + typo fix:
variable is declared in scope where is used.
2007-07-31 Vladimir Krasnov <vladimirk@mainsoft.com>
* VirtualPathUtility.cs: refactored GetDirectory, ToAbsolute, added
internal api to skip path normalizing
2007-07-30 Vladimir Krasnov <vladimirk@mainsoft.com>
* HttpResponseStream.jvm.cs: optimized CharBucket
2007-07-22 Vladimir Krasnov <vladimirk@mainsoft.com>
* HttpServerUtility.cs: fixed Execute, SetCurrentExePath should be
called after ApplicationInstance.GetHandler call in case of GetHandler
fails for some reason
2007-07-21 Marek Habersack <mhabersack@novell.com>
* HttpRuntime.cs: clean up the dynamic base directory on domain
shutdown.
2007-07-10 Vladimir Krasnov <vladimirk@mainsoft.com>
* HttpUtility.cs: optimized HtmlEncode and HtmlAttributeEncode methods
2007-07-05 Miguel de Icaza <miguel@novell.com>
* HttpApplication.cs (AsyncRequestState.Complete): Add the
try/catch for the callback here to ensure that we only call
complete_event.Set once.
(PipelineDone): This is where the core of the bug fix is: do not
call Complete() or call done.Set() (depending on the invocation
case) until we are actually done cleaning up the request.
The problem was that we signaled that we were done, but we had not
completed the shut down, so another thread could have been
scheduled on the same HttpApplication and had its variables be
modified as we completed the shutdown on the first thread.
This fixes #81400 which was a very long standing bug.
(Tick): Remove the pipeline check against null, this is not
necessary and it will help us find problems like this one in the
future.
Reverts patch r66072 which was a described as:
band-aid patch to help debugging hang running 2.0
tests.
2007-07-02 Marek Habersack <mhabersack@novell.com>
* CapabilitiesLoader.cs: provide default capability values for all
the 2.0+ capabilities which are not defined in our
browscap.ini. The default values have been assigned as per
MSDN. Fixes bug #81927
2007-06-28 Vladimir Krasnov <vladimirk@mainsoft.com>
* HttpResponse.cs: fixed AddHeadersNoCache, removed content-length
header for TARGET_JVM
* HttpWorkerRequest.cs: made this class partial, moved TARGET_JVM stuff
to .jvm part
* HttpWriter.cs: fixed write methods, output_stream can write char[]
and string in TARGET_JVM
added HttpWorkerRequest.jvm.cs, HttpResponseStream.jvm.cs
2007-06-25 Juraj Skripsky <js@hotfeet.ch>
* HttpRuntime.cs (ShutdownAppDomain): Re-introduce call to
"Cache.InvokePrivateCallbacks".
2007-06-24 Vladimir Krasnov <vladimirk@mainsoft.com>
* HttpUtility.cs: fixed HtmlAttributeEncode, performance improvement
2007-06-20 Marek Habersack <mhabersack@novell.com>
* HttpRuntime.cs: added new internal property, InternalCache, to
keep all the internal cache entries instead of mixing them with
the public cache ones.
Do not invoke Cache.InvokePrivateCallbacks - this method no longer
exists.
* HttpResponse.cs: private entries are now kept in
Context.InternalCache.
* HttpContext.cs: added new internal property, InternalCache,
which returns the HttpRuntime.InternalCache value.
* HttpApplication.cs: check all the loaded assemblies for the type
being looked up. Patch from Juraj Skripsky <juraj@hotfeet.ch>,
thanks! Fixes bug #81697.
2007-06-18 Igor Zelmanovich <igorz@mainsoft.com>
* HttpUtility.cs: refactoring:
removed constants to another class.
2007-06-18 Igor Zelmanovich <igorz@mainsoft.com>
* AssemblyResourceLoader.cs: refactoring:
make the code reusable in System.Web.Extenssions.
2007-05-31 Marek Habersack <mhabersack@novell.com>
* SiteMapProvider.cs: implemented proper logic of authorizing
user's access to a sitemap node, as per MSDN2 docs. Patch from
Dumitru Ban <dban@dako.ro>, thanks!
2007-05-30 Marek Habersack <mhabersack@novell.com>
* TraceManager.cs: Catch all the possible exceptions in the
constructor - the object MUST be created successfully (even if
there are errors).
* HttpRequest.cs: do not attempt to apply url mappings if the
configuration manager has errors.
* HttpRuntime.cs: handle static constructor exceptions later on,
during the first call to ReallyProcessRequest.
* QueueManager.cs: provide defaults for the parameters to be read
from the config file(s).
Catch all the possible exceptions in the constructor - the object
MUST be created successfully (even if there are errors).
2007-05-29 Marek Habersack <mhabersack@novell.com>
* SiteMapProvider.cs: updated the node accessibility comments.
If Roles not null and user is not in at least one of the
specified roles, return false.
If there Url is null or empty, return false.
2007-05-28 Marek Habersack <mhabersack@novell.com>
* HttpRequest.cs: since Path is used from within
WebConfigurationManager, under some conditions it may lead to
endless recursion if the UrlComponents is not instantiated when
Path_get is called.
2007-05-21 Vladimir Krasnov <vladimirk@mainsoft.com>
* HttpContext.cs: added ProfileInitialized boolean property
2007-05-16 Vladimir Krasnov <vladimirk@mainsoft.com>
* VirtualPathUtility.cs: Normalize method check more carefully if need
to normalize, performance fix
2007-05-16 Konstantin Triger <kostat@mainsoft.com>
* HttpContext.cs: correctly check for request locality.
2007-05-15 Marek Habersack <mhabersack@novell.com>
* HttpApplication.cs: refactoring - moved LoadType from
WebConfigurationHost here and made it internal static, in order to
make the code avaliable from all the places where extended type
loading is required.
2007-05-14 Marek Habersack <mhabersack@novell.com>
* HttpUtility.cs: when parsing query strings, skip the leading ?
for the first parameter name.
* HttpRequest.cs: added support for mapping urls, as defined in
the system.web/urlMappings section.
2007-05-14 Vladimir Krasnov <vladimirk@mainsoft.com>
* HttpWriter.cs: GetMaxByteCount was used in Write and WriteString
methods to improve performance of HttpWriter
2007-05-14 Igor Zelmanovich <igorz@mainsoft.com>
* HttpApplication.cs:
prevent DOS attack: remove configuration from the cache in case
of invalid resource not exists
2007-05-14 Vladimir Krasnov <vladimirk@mainsoft.com>
* TraceContext.cs: refactoring, cached TraceManager
2007-05-03 Igor Zelmanovich <igorz@mainsoft.com>
* HttpApplication.cs:
* HttpContext.cs:
handling exceptions occurred if <system.web/customError>
section is not valid.
2007-05-08 Vladimir Krasnov <vladimirk@mainsoft.com>
* BaseParamsCollection.cs: fixed Get(string) property, fixed collection
lazy initialization
2007-05-07 Marek Habersack <mhabersack@novell.com>
* HttpResponseStream.cs: use BufferOutput
* HttpResponse.cs: support Buffer, but use BufferOutput
2007-05-03 Igor Zelmanovich <igorz@mainsoft.com>
* BrowserCapabilities.cs:
added missing API.
2007-04-30 Igor Zelmanovich <igorz@mainsoft.com>
* HttpApplication.cs: reverted r74717.
2007-04-29 Igor Zelmanovich <igorz@mainsoft.com>
* HttpContext.jvm.cs: Response.End() must abort thread if not async.
2007-04-29 Igor Zelmanovich <igorz@mainsoft.com>
* HttpApplication.cs: doesn't cache httpHandlersSection in instance,
that allows to consider httpHandlers section in nested web.config.
2007-04-27 Marek Habersack <mhabersack@novell.com>
* XmlSiteMapProvider.cs: add support for siteMapFile attribute.
2007-04-24 Marek Habersack <mhabersack@novell.com>
* CapabilitiesLoader.cs: Hashtables used as property containers
should not be case-insensitive as we now preload the property
hashes with default properties, to make the code work in case
browscap.ini is broken or missing. Instead, the keys are
lower-cased and trimmed before indexing the Hashtable.
Added all the missing capabilities to the defaultCaps Hashtable.
The returned Hashtable is not reversed in GetCapabilities anymore
- it might make the code faster, but it also makes it mismatch
browsers (e.g. Firefox 2.0 is mismatched for Mozilla 1.8).
All of the above fixes bug #81437.
* HttpRequest.cs: MS.NET throws HttpException for invalid paths,
not ArgumentNullException.
* HttpException.cs: wrap GetHtmlErrorMessage internals in
try/catch to capture possible exceptions in HttpContext.
* HttpContext.cs: IsCustomErrorEnabled is used from within
HttpException, make sure it gets the section in a safe way and
resorts to the default settings.
* HttpResponse.cs: HeaderEncoding is used in the same context as
above. Take the same precautions.
2007-04-22 Joshua Tauberer <jit@occams.info>
* HttpParamsCollection.cs: Fix IndexOutOfRangeException.
2007-04-19 Miguel de Icaza <miguel@novell.com>
* BaseParamsCollection.cs (Get (string)): Call LoadInfo here to
fix #81385
2007-04-17 Igor Zelmanovich <igorz@mainsoft.com>
* HttpException.cs: used GetBaseException() instead InnerException.
2007-04-17 Igor Zelmanovich <igorz@mainsoft.com>
* HttpException.cs: shows message of InnerException in head of Page.
2007-04-17 Igor Zelmanovich <igorz@mainsoft.com>
* HttpException.cs: fixed generated HTML formating.
2007-04-17 Igor Zelmanovich <igorz@mainsoft.com>
* HttpContext.cs: GetGlobalResourceObject, GetLocalResourceObject
use case-insensitive ResourceManager
2007-04-15 Marek Habersack <mhabersack@novell.com>
* VirtualPathUtility.cs: converted to LF line endings and set the
svn:eol-style property to 'native'
2007-04-13 Marek Habersack <mhabersack@novell.com>
* SiteMap.cs: try to look up the current map node in providers
other than the current one. Patch from Mike Morano
<mmorano@mikeandwan.us>. Fixes bug #81366.
2007-04-12 Vladimir Krasnov <vladimirk@mainsoft.com>
* HttpRequest.cs: fixed Params property to be lazy initialzation
collection
* added HttpParamsCollection.cs
2007-04-11 Konstantin Triger <kostat@mainsoft.com>
* HttpRequest.cs: IsLocal should return true for loopback addresses.
2007-04-10 Marek Habersack <mhabersack@novell.com>
* HttpCookie.cs: format the output of HttpCookie.Values.ToString()
in the same way MS.NET does. Fixes bug #81333. Patch from Mike
Morano <mmorano@mikeandwan.us>.
* XmlSiteMapProvider.cs: add the NotifyFilters.Size to the
watcher flags, so that we watch for modifications to a file when
using Linux inotify.
* HttpApplicationFactory.cs: add the NotifyFilters.Size to the
watcher flags, so that we watch for modifications to a file when
using Linux inotify.
App_Code, App_Browsers and App_GlobalResources watchers must watch
for events with the '*' mask so that they can notice events
related to subdirectory creation/deletion.
Watch for subdirectory events with the App_Code watcher.
2007-04-07 Marek Habersack <mhabersack@novell.com>
* HttpException.cs: show a default custom error message if custom
errors are enabled.
Cleaned up the errors HTML, made it XHTML-compliant. Generated
HTML now uses inline CSS styles.
2007-04-06 Marek Habersack <mhabersack@novell.com>
* HttpUtility.cs: added a constant that contains the default query
parameter character.
ParseQueryString supports queries with both '&' and ';' parameter
separators.
2007-04-05 Marek Habersack <mhabersack@novell.com>
* CapabilitiesLoader.cs: Make sure that the capability names
(keys) are stored in lowercase.
2007-04-05 Igor Zelmanovich <igorz@mainsoft.com>
* XmlSiteMapProvider.cs:
custom attributes of siteMapNode are loaded properly.
2007-04-05 Marek Habersack <mhabersack@novell.com>
* CapabilitiesLoader.cs: add a full default set of capabilities
for cases when browscap.ini is broken, missing or doesn't contain
definition for the client's User-Agent. Makes it possible to surf
asp.net sites from unsupported clients.
2007-04-04 Juraj Skripsky <js@hotfeet.ch>
* HttpApplicationFactory.cs: Make sure an web application is
shutdown only once (and Application_End in global.asax is called
only once as well). This is necessary because FileSystemWatcher
emits multiple events when e.g. global.asax is changed.
2007-04-01 Vladimir Krasnov <vladimirk@mainsoft.com>
* HttpRequest.cs: fixed Headers property to use optimized
HeadersCollection
* WebROCollection.cs: used StringComparer.OrdinalIgnoreCase for
NET_2_0
* ServerVariablesCollection.cs: used lazy collection fill optimization
* added: HeadersCollection.cs, BaseParamsCollection.cs
2007-04-01 Konstantin Triger <kostat@mainsoft.com>
* HttpContext.cs:
GetLocalResourceObject - should not prefix resources with 'Resources.'.
2007-04-01 Konstantin Triger <kostat@mainsoft.com>
* BrowserCapabilities.cs: Default Browser (userAgent) property to 'Unknown'.
2007-03-29 Vladimir Krasnov <vladimirk@mainsoft.com>
* HttpContext.cs: timeout methods removed from TARGET_J2EE compilation
* HttpContext.jvm.cs: added stubs for timeout methods
2007-03-28 Igor Zelmanovich <igorz@mainsoft.com>
* StaticSiteMapProvider.cs:
GetChildNodes does not return null but SiteMapNodeCollection.EmptyCollection.
2007-03-28 Konstantin Triger <kostat@mainsoft.com>
* BrowserCapabilities.cs:
1. refactoring.
2. Break recoursion in case 'browser' capability is not found.
2007-03-28 Igor Zelmanovich <igorz@mainsoft.com>
* SiteMapNode.cs: fixed GetAllNodes method.
2007-03-27 Igor Zelmanovich <igorz@mainsoft.com>
* XmlSiteMapProvider.cs: fixed:
resolve app-relative path from config such siteMapFile="~/Web.sitemap".
2007-03-27 Igor Zelmanovich <igorz@mainsoft.com>
* SiteMapNode.cs:
* XmlSiteMapProvider.cs: fixed: Localize Site-Map Data.
2007-03-26 Konstantin Triger <kostat@mainsoft.com>
* HttpRequest.cs: correctly handle null and empty virtual pathes in MapPath.
2007-03-25 Vladimir Krasnov <vladimirk@mainsoft.com>
* HttpContext.cs: AppGlobalResourcesAssembly static member stored in
AppDomain for TARGET_JVM
2007-03-24 Marek Habersack <mhabersack@novell.com>
* HttpRuntime.cs: use ICalls.GetMachineConfigPath instead of
opening the machine.config file and getting its path.
* CapabilitiesLoader.cs: use HttpRuntime.MachineConfigurationDirectory
instead of opening the machine config file and getting its path.
2007-03-23 Konstantin Triger <kostat@mainsoft.com>
* HttpApplication.cs: complete the pipeline in case of exception during
InitOnce() to avoid a deadlock.
2007-03-22 Adar Wesley <adarw@mainsoft.com>
* BrowserCapabilities.cs: Added implementation for all capabilities.
changed implementation to throw when capability is not defined in browscaps.ini.
* CapabilitiesLoader.cs: fixed parent resultion bug. added internal support for
browser and browsers capabilities.
2007-03-21 Vladimir Krasnov <vladimirk@mainsoft.com>
* HttpContext.jvm.cs, HttpRuntime.cs: cached instance of HttpRuntime
in context in addition to AppDomain
2007-03-21 Vladimir Krasnov <vladimirk@mainsoft.com>
* HttpCookie.cs, HttpCookieCollection.cs: used OrdinalIgnoreCase
StringComparer for cookies and values collections
2007-03-21 Vladimir Krasnov <vladimirk@mainsoft.com>
* HttpApplication.cs: refactred handlers configuration section as
member of class
2007-03-20 Marek Habersack <mhabersack@novell.com>
* HttpRequest.cs: implement AppRelativeCurrentExecutionFilePath.
2007-03-18 Igor Zelmanovich <igorz@mainsoft.com>
* VirtualPathUtility.cs: fixed GetFileName(), GetExtension() methods.
2007-03-18 Igor Zelmanovich <igorz@mainsoft.com>
* VirtualPathUtility.cs: fixed GetDirectory() method.
2007-03-15 Marek Habersack <mhabersack@novell.com>
* XmlSiteMapProvider.cs: handle cases with no default for the
reskey properly.
2007-03-15 Igor Zelmanovich <igorz@mainsoft.com>
* HttpRequest.cs: fixed MapPath () method.
2007-03-15 Igor Zelmanovich <igorz@mainsoft.com>
* VirtualPathUtility.cs: fixed ToAbsolute() method.
2007-03-15 Igor Zelmanovich <igorz@mainsoft.com>
* VirtualPathUtility.cs: refactoring: class is shared with 1.x.
2007-03-15 Marek Habersack <mhabersack@novell.com>
* XmlSiteMapProvider.cs: add support for the enableLocalization
<siteMap> attribute and handle per-node localization resource
strings for explicit localization as well as the resourceKey
attribute to <siteMapNode> for implicit localization (closes bug
#81103).
* SiteMapNode.cs: add support for the resource keys and foreign
attributes.
Implement GetImplicitResourceString.
Add support for translation of the Title and Description
attributes (closes bug #81103) as well as foreign attributes.
2007-03-15 Igor Zelmanovich <igorz@mainsoft.com>
* VirtualPathUtility.cs: fixed: works properly with appRelative path.
2007-03-13 Marek Habersack <mhabersack@novell.com>
* HttpApplicationFactory.cs: resources compiler no longer accepts
a boolean parameter.
* HttpRuntime.cs: Do not compile local resources here anymore.
* HttpContext.cs: if App_LocalResources assembly corresponding to
the virtual path is not found, compile it here.
Look up resources in the "Resources." class path.
2007-03-13 Igor Zelmanovich <igorz@mainsoft.com>
* HttpUtility.cs: fixed HttpUtillity.HtmlAttributeEncode
'<' char must be encoded.
2007-03-12 Vladimir Krasnov <vladimirk@mainsoft.com>
* CapabilitiesLoader.cs: added TARGET_JVM part of static members,
added caching to GetCapabilities method for performance improvement
2007-03-12 Marek Habersack <mhabersack@novell.com>
* XmlSiteMapProvider.cs: support custom site map providers. Fixes
bug #81115
2007-03-06 Vladimir Krasnov <vladimirk@mainsoft.com>
* StaticFileHandler.cs: fixed ProcessRequest TARGET_JVM path,
if_modified_since fixed in WAR mode
2007-02-25 Vladimir Krasnov <vladimirk@mainsoft.com>
* HttpRequest.jvm.cs: fixed LoadWwwForm, should distinguish between
query string and form values
2007-02-21 Marek Habersack <grendello@gmail.com>
* HttpRuntime.cs: BinDirectory returns the bin directory
determined by the application host on the application startup.
* HttpApplicationFactory.cs: Watch the bin directory determined by
the application host on the application startup.
2007-02-20 Vladimir Krasnov <vladimirk@mainsoft.com>
* HttpRequest.cs: fixed MapPath, removed TARGET_J2EE block that checks
war root symbol
2007-02-19 Marek Habersack <grendello@gmail.com>
* HttpContext.cs: Make sure all the global resource objects are
sought in the Resources. namespace.
2007-02-18 Eyal Alaluf <eyala@mainsoft.com>
* HttpContext.jvm.cs, HttpRequest.jvm.cs: Adapt for tunning under test
harness where we don't have a SevletRequest/Response.
2007-02-13 Vladimir Krasnov <vladimirk@mainsoft.com>
* HttpApplication.cs: fixed InitOnce, httpModules section is global and
taken from the root web.config
2007-02-12 Robert Jordan <robertj@gmx.net>
* HttpResponseStream.cs (BlockManager.EnsureCapacity):
don't call Marshal.ReAllocHGlobal on NULL because, unlike
realloc(3) and g_realloc, it doesn't support this semantic.
Fixes a part of bug #77075.
2007-02-12 Marek Habersack <grendello@gmail.com>
* HttpRuntime.cs: support for preservation (.compiled) assembly
mapping files.
2007-02-11 Vladimir Krasnov <vladimirk@mainsoft.com>
* HttpApplication.cs: added exception pass through from processAction
in j2ee portal
2007-02-02 Marek Habersack <grendello@gmail.com>
* HttpApplicationFactory.cs: make code a bit more compact.
2007-01-30 Vladimir Krasnov <vladimirk@mainsoft.com>
* HttpResponse.cs: fixed TARGET_J2EE part of Redirect for portlet
2007-01-30 Adar Wesley <adarw@mainsoft.com>
* VirtualPathUtility.cs: fixed exceptions thrown from Combine
so they are compatible with MS.
2007-01-25 Marek Habersack <grendello@gmail.com>
* HttpApplication.cs: Make sure that a specific culture is used
when setting the current thread culture.
2007-01-21 Gonzalo Paniagua Javier <gonzalo.mono@gmail.com>
* HttpServerUtility.cs: implement Execute/Transfer overloads that take
an IHttpHandler. Still missing the documented check for page IsCallback.
Also, on MS when i derive from Page for my IHttpHandler, it works fine,
but if I just implement IHttpHandler, an exception is thrown. This needs
to be researched but, by now, the IHttpHandler version works on mono
and fails on MS.
2007-01-20 Miguel de Icaza <miguel@novell.com>
* SiteMapNode.cs (GetExplicitResourceString): implement.
* HttpContext.cs (GetGlobalResourceObject): remove unused variable.
* StaticFileHandler.cs (ProcessRequest): remove unused variable.
* HttpApplication.cs (ProcessError): Remove unused variable.
* HttpServerUtility.cs (Execute): Add new overload and rename
parameter to match MS (as they are normative).
2007-01-17 Marek Habersack <grendello@gmail.com>
* HttpApplicationFactory.cs: Implement code and framework to
enable automatic application restarts on changes to folders/files
in a generic way. Patch from Damien Churchill
<damien.churchill@ukplc.net>, thanks!
Make sure the top-level assemblies (App_Code, resources) are not
referenced twice should a compilation error occur.
2007-01-16 Atsushi Enomoto <atsushi@ximian.com>
* TraceData.cs : page could be null. Fixed bug #80480.
2007-01-15 Ilya Kharmatsky <ilya -at- decode-systems.com>
* VirtualPathUtility.cs: fixed bugs in methods - GetDirectory and
GetExtension, according to the VirtualPathUtilityTest
2007-01-15 Vladimir Krasnov <vladimirk@mainsoft.com>
* SiteMapProvider.cs: fixed IsAccessibleToUser, true if
SecurityTrimmingEnabled not enabled, true if Roles exists on node and
rolename is '*'
2007-01-14 Eyal Alaluf <eyala@mainsoft.com>
* HttpRequest.jvm.cs, HttpContext.jvm.cs: Added TARGET_J2EE specific files.
* HttpContext.cs, HttpResponse.cs, HttpRequest.cs, HttpCookie.cs:
Add J2EE Portal support for TARGET_J2EE.
2007-01-04 Vladimir Krasnov <vladimirk@mainsoft.com>
* HttpRequest.cs: fixed IsLocal, should check all ip addresses of host
2007-01-05 Marek Habersack <grendello@gmail.com>
* HttpApplicationFactory.cs: Use the new app resources compiler.
* HttpRuntime.cs: Use the new app resources compiler.
* HttpContext.cs: Reimplement the GetGlobalResourceObject
methods, implement the GetLocalResourceObject methods.
* HttpResponse.cs: Implement the HeaderEncoding property.
2007-01-04 Andreia Gaita <avidigal@novell.com>
* HttpRuntime.cs: Add check for NET_2_0 when initializing
WebConfigurationManager, build failing on 1.1 profile
2007-01-04 Vladimir Krasnov <vladimirk@mainsoft.com>
* HttpApplicationFactory.cs, HttpRuntime.cs: WebConfigurationManager
should be initializaed before any possible access to it
2007-01-04 Vladimir Krasnov <vladimirk@mainsoft.com>
* HttpRequest.cs: fixed Path property, add call of
Uri.UnescapeDataString in net_2_0
2007-01-04 Vladimir Krasnov <vladimirk@mainsoft.com>
* HttpApplication.cs: fixed PreStart, should not set thread culture
to invariant
2007-01-03 Vladimir Krasnov <vladimirk@mainsoft.com>
* HttpRequest.cs: fixed jvm version of MakeInputStream, should not
throw exception on zero content length
2007-01-03 Vladimir Krasnov <vladimirk@mainsoft.com>
* SiteMap.cs, SiteMapNodeCollection.cs: TARGET_JVM of static members
2006-12-20 Marek Habersack <grendello@gmail.com>
* HttpContext.cs: add internal setter for the Profile property.
* HttpApplicationFactory.cs: Added a shortcut version of
InvokeSessionEnd for use from the 2.0 SessionState code.
2006-12-18 Vladimir Krasnov <vladimirk@mainsoft.com>
* HttpRequest.cs: fixed Path property, returns unescaped url
2006-12-16 Marek Habersack <grendello@gmail.com>
* HttpRequest.cs: Fix for http exception during first visit to an
application when the visit path is not the app's virtual root.
2006-12-12 Igor Zelmanovich <igorz@mainsoft.com>
* SiteMapProvider.cs.cs:
* XmlSiteMapProvider.cs: fixed: because more then one node with empty url
is allowed unique key is generated for each node.
2006-12-12 Igor Zelmanovich <igorz@mainsoft.com>
* SiteMapProvider.cs.cs: fixed: IsAccessibleToUser resolvs relative url.
* StaticSiteMapProvider.cs: fixed: RemoveNode
2006-12-12 Igor Zelmanovich <igorz@mainsoft.com>
* VirtualPathUtility.cs: fixed: Combine(), ToAbsolute() methods.
2006-12-12 Igor Zelmanovich <igorz@mainsoft.com>
* VirtualPathUtility.cs: fixed: IsAppRelative() method.
2006-12-07 Vladimir Krasnov <vladimirk@mainsoft.com>
* BrowserCapabilities.cs: fixed MSDomVersion property
2006-12-05 Igor Zelmanovich <igorz@mainsoft.com>
* VirtualPathUtility.cs: fixed: ToAbsolute() method.
2006-12-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpRequest.cs: call MapPath on the HttpWorkerRequest so that if
FilePath is changed we get the new physical path, not the one of the
original request. Fixes bug #80152.
2006-12-03 Igor Zelmanovich <igorz@mainsoft.com>
* HttpWriter.cs: reverted r38835.
2006-12-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpWriter.cs: remove unused WriteBytes method.
2006-11-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpRequest.cs: physical path comes from GetFilePathTranslated to
avoid trimming in HttpRequest.MapPath.
2006-11-29 Marek Habersack <grendello@gmail.com>
* HttpApplication.cs: Make use of the handler stack implemented
in HttpContext.
* HttpCacheVaryByHeaders.cs: Optionally omit the vary:* header
value in the 2.0 profile.
* HttpServerUtility.cs: Make use of the handler stack implemented
in HttpContext.
Implemented the UrlToken{Encode,Decode} 2.0 methods.
* HttpResponse.cs: Implemented the IsRequestBeingRedirected
property.
* HttpContext.cs: Implemented the CurrentHandler and PreviousHandler
methods, together with helper functions to handle the handler
stack.
GetSection(string) should be present only in the 2.0 profile.
* HttpCachePolicy.cs: implement the SetNoServerCaching,
SetNoStore, SetNoTransforms, SetValidUntilExpires and
SetOmitVaryStar methods.
Added code to set the no-store and no-transform options of the
Cache-Control header.
2006-11-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpServerUtility.cs: don't prepend extra '?' when the original url
already has a query string. Fixes bug #80042.
2006-11-24 Miguel de Icaza <miguel@novell.com>
* HttpApplicationFactory.cs (InitType): Also look for "Web.Config"
casing here.
2006-11-20 Marek Habersack <grendello@gmail.com>
* HttpApplication.cs: Added support for automatic detection of
user's preferred language.
2006-11-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpApplication.cs: don't leak the directory name for non-local
connections.
2006-11-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* CapabilitiesLoader.cs: made the hasstable that contains the properties
for the brower case insensitive. Fixes bug #79795.
2006-11-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpResponse.cs: fix typo that prevented Server.Execute from restoring
the initial output stream used. Closes bug #79916.
2006-11-12 Marek Habersack <grendello@gmail.com>
* HttpContext.cs: Implemented the 2.0 RewritePath overloads.
2006-11-08 Marek Habersack <grendello@gmail.com>
* HttpRuntime.cs: Moved the resource compiler results handling to
the resource compiler itself.
* HttpApplicationFactory.cs: Add invocation of the App_Code
compiler. Moved the resource compiler results handling to the
resource compiler itself. Removed compilation of the local
resources from here - it should be done only when a request
determines that the App_LocalResources directory exists.
2006-11-07 Andrew Skiba <andrews@mainsoft.com>
* HttpRuntime.cs: TARGET_JVM ifdef
2006-11-05 Andrew Skiba <andrews@mainsoft.com>
* SiteMapProvider.cs: don't iterate through Roles when they are null.
2006-11-05 Vladimir Krasnov <vladimirk@mainsoft.com>
* HttpContext.cs: implemented Profile property
2006-11-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpApplication.cs: the unexpected 'tick' exceptions can be an abort
exception due to timeout or end of the request.
2006-10-18 Marek Habersack <grendello@gmail.com>
* HttpRuntime.cs: add support for compilation of local resources
at the start of request.
* HttpContext.cs: implement the GetGlobalResourceObject APIs
* HttpApplicationFactory.cs: include the bootstrap code for the
global/local resources compiler.
2006-10-09 Marek Habersack <grendello@gmail.com>
* HttpApplication.cs: change the pipeline order for ASP.NET 2.0 to
comply with the Microsoft documentation.
2006-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpApplication.cs: this makes the test run successfully. Still need
to figure out why that is null.
2006-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpApplication.cs: band-aid patch to help debugging hang running 2.0
tests.
2006-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpServerUtility.cs: 1.1 Execute(s) preserves the query string.
Thanks to Hubert Fongarnand. Fixes bug #79506.
2006-09-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* QueueManager.cs: if disposed, always return null for next request.
* HttpRuntime.cs: dispose the queue manager when shutting down the
domain. This will close pending requests with a 503.
* HttpApplication.cs: release the handler before marking the request
as completed. If in PipelineDone context is null, use
HttpContext.Current. Fixes some of those "Tick detected an unhandled
exception" errors printed out.
2006-09-11 Andrew Skiba <andrews@mainsoft.com>
* XmlSiteMapProvider.cs: ifdef TARGET_JVM
2006-09-11 Vladimir Krasnov <vladimirk@mainsoft.com>
* HttpWriter.cs: fixed WriteLine to work correctly in utf-16 encoding
2006-09-08 Robert Jordan <robertj@gmx.net>
* TraceData.cs: fixed NRE if `sizes' is null, which may happen
if a page was unable to save its viewstate and size.
2006-09-07 Andrew Skiba <andrews@mainsoft.com>
* HttpApplicationFactory.cs: ifdef the previous fix with TARGET_JVM to
pass compilation.
2006-09-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpApplicationFactory.cs: watch web.config too. Fixes bug #78356.
2006-09-05 Konstantin Triger <kostat@mainsoft.com>
* SiteMapProvider.cs: consider authorization section for access decision.
2006-09-04 Igor Zelmanovich <igorz@mainsoft.com>
* HttpUtility.cs: fixed UrlPathEncode method.
2006-08-31 Boris Kirzner <borisk@mainsoft.com>
* VirtualPathUtility.cs : pass parameters in correct order.
2006-08-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpApplicationFactory.cs: handle the 'renamed' event too.
2006-08-08 Vladimir Krasnov <vladimirk@mainsoft.com>
* HttpApplication.cs: fixed BeginProcessRequest, TARGET_JVM part
merged
2006-08-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpApplication.cs: don't leak local path names when a file is not
found.
2006-06-21 Konstantin Triger <kostat@mainsoft.com>
* XmlSiteMapProvider.cs: if the url is relative, make it relative to the
context root.
2006-06-07 Juraj Skripsky <js@hotfeet.ch>
* HttpException.cs (GetHtmlizedErrorMessage): Beautify compilation error
page by showing multiple errors on separate lines.
2006-06-05 Juraj Skripsky <js@hotfeet.ch>
* HttpRequest.cs: simplify code around uri_builder (and rename
to url_components). Move storage of query_string into
uri_builder.Query and initialize it lazily using
worker_request.GetQueryStringRawBytes() or GetQueryString().
(QueryString): Use HttpUtility.ParseQueryString instead of
duplicating its functionality.
2006-06-05 Juraj Skripsky <js@hotfeet.ch>
* HttpUtility.cs (ParseQueryString): move core of
ParseQueryString into internal method to make it available to
HttpRequest.
2006-06-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpApplication.cs: assign the context when run from a thread not in
the threadpool. Patch by Andrew Skiba. Fixes bug #78583.
2006-05-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpApplication.cs: context.Handler does not change for
HttpServerUtility.Execute, so moved setting it into the pipeline instead
of GetHandler.
2006-05-17 Kazuki Oikawa <kazuki@panicode.com>
* HttpUtility.cs: implemented ParseQueryString
2006-05-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpUtility.cs: get rid of TryParseHexa.
2006-04-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpApplicationFactory.cs: make sure that the application start event
is run before any request is processed.
2006-04-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpServerUtility.cs: don't reset the query string in Execute() when
the path does not contain it and we have one from the previous request.
Fixes bug #78177.
2006-04-20 Andrew Skiba <andrews@mainsoft.com>
* SiteMapNode.cs: fix few null reference exceptions
2006-04-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpResponse.cs:
(TransmitFile): make sure we can read the file before buffering it.
2006-04-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpApplicationFactory.cs: don't fail on events that are not
EventHandlers. Patch by Matthew Metnetsky.
2006-04-11 Andrew Skiba <andrews@mainsoft.com>
* HttpRequest.cs: remove code duplication (see UrlUtils.Combine)
2006-04-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpUtility.cs: allow "%%" as a escape for '%' and ignore invalid
hexadecimal characters. Based on a patch by Vladimir Krasnov.
2006-04-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpWriter.cs: only keep the byte buffer around if its size is less
than or equals to 32K.
2006-04-08 Miguel de Icaza <miguel@novell.com>
* HttpWriter.cs (Write): Added missing check for null string as
something is now calling it like that.
2006-03-27 Joshua Tauberer <tauberer@for.net>
* HttpWriter.cs: Avoid creation of a byte[] on each Write()
by reusing and resizing a private array.
2006-04-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpRequest.cs: the field content_length can be < 0 and then we try to
read when there's no data and block.
2006-04-05 Andrew Skiba <andrews@mainsoft.com>
* HttpUtility: UrlEncode and UrlEncodeUnicode logic unified, behaviour
fixed to match dotnet and http://rfc.net/rfc1738.html
2006-03-30 Konstantin Triger <kostat@mainsoft.com>
* HttpApplicationFactory.cs: refactoring: remove static modifier from session_end field.
Does not check the behavior as HttpApplicationFactory is a singleton.
2006-03-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpUtility.cs: UrlDecode does not throw if an hexadecimal sequence
fails to parse as an integer. Fixes bug #77931.
2006-03-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpResponse.cs: more fixes for CacheControl: MS allows to set it to
null and "" and the getter value does not completely depend on Cache.
* HttpRequest.cs: fail validating the request input if there's a control
character after a '<'. Fixes XSS_Null test.
All System.Web tests pass again.
2006-03-22 Robert Jordan <robertj@gmx.net>
* HttpCachePolicy.cs: fix the Cache-control header. Fixes bug #77826.
2006-03-22 Chris Toshok <toshok@ximian.com>
* HttpApplication.cs: fix typo - AuthenticateRequest =>
PostAuthenticateRequest.
2006-03-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* ChangeLog:
* HttpRequest.cs: revert part of r58229.
2006-03-21 Vladimir Krasnov <vladimirk@mainsoft.com>
* ServerVariablesCollection.cs: fixed "URL" variable, it should not
return path info
2006-03-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpRequest.cs:
(CheckString): style and don't index the string twice per iteration.
2006-03-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* TempFileStream.cs: a FileStream that removes the file once
it is disposed.
* HttpRequest.cs: support for writing request data to on-disk
files if the request is longer than the threshold specified in the
configuration files. In mono this will work for 1.x and 2.0, while with
MS this only works for 2.0.
2006-03-18 Robert Jordan <robertj@gmx.net>
* HttpCachePolicy.cs: expose the validation callbacks.
Fixes bug #77825.
2006-03-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpApplication.cs: fix upper bound when iterating through the module
collection.
2006-03-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpRequest.cs: use the provided content encoding to decode the file
name. Fixes bug #77714.
2006-03-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpResponse.cs: allow setting a Cache-Control header through
AppendHeader. Fixes bug #77775.
2006-03-15 Chris Toshok <toshok@ximian.com>
* XmlSiteMapProvider.cs (RemoveProvider): oops, no override.
* StaticSiteMapProvider.cs (AddNode): call MapUrl.
(FindSiteMapNode): same.
2006-03-15 Chris Toshok <toshok@ximian.com>
* SiteMapProvider.cs (ReturnNodeIfAccessible): new function,
either return the node or throw InvalidOperationException.
(get_RootNode): use ReturnNodeIfAccessible.
(IsAccessibleToUser): flesh this out a bit, and add comments on
how the rest of the implementation should be written.
(FindSiteMapNodeFromKey): implement to match MS behavior, docs be
damned.
* XmlSiteMapProvider.cs: corcompare work.
* StaticSiteMapProvider.cs (AddNode): Add a check to see if node
== RootNode. Not sure if this is actually correct, but it's
required given our implementation of XmlSiteMapProvider. without
this check, we end up assigning RootNode.ParentNode == RootNode,
which makes for an infinite loop when we traverse up the tree.
2006-03-15 Vladimir Krasnov <vladimirk@mainsoft.com>
* HttpRequest.cs: fixed MakeInputStream method under TARGET_JVM,
fixed if content lenght value is less that byte received
2006-03-10 Chris Toshok <toshok@ximian.com>
* StaticSiteMapProvider.cs (UrlToNode): this entire file is #if
NET_2_0, no need to embed another #if NET_2_0.
* SiteMapProvider.cs (AddNode): throw NotImplementedException.
(FindSiteMapNode): with null context, return null. don't throw
ArgumentNullException.
(RemoveNode): throw NotImplementedException.
(IsAccessibleToUser): check arguments to make test pass. still
lacking the method's actual functionality.
(ResourceKey): add missing property.
2006-03-10 Chris Toshok <toshok@ximian.com>
* HttpRequest.cs (CheckString): add back in the check for \xff1c
that i took out. oops.
2006-03-10 Chris Toshok <toshok@ximian.com>
* HttpRequest.cs (CheckString): implement as described in
Shackow's "Professional ASP.NET 2.0 Security, Membership, and Role
Management", page 310.
2006-03-08 Chris Toshok <toshok@ximian.com>
* SiteMap.cs: clean this up a bunch. use the SiteMapSection to
initialize the provider collection, and don't add a provider.
web.config handles that for us. Also, don't always return true
from get_Enabled.
2006-02-28 Chris Toshok <toshok@ximian.com>
* HttpCookieMode.cs: corcompare work.
* ProcessShutdownReason.cs: same.
* SiteMapNodeCollection.cs: same.
* SiteMapNode.cs: same.
* SiteMapProvider.cs: same.
* HttpCacheRevalidation.cs: same.
* HttpCacheability.cs: same.
* StaticSiteMapProvider.cs: same.
* HttpValidationStatus.cs: same.
2006-02-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* DefaultHttpHandler.cs: New file.
2006-02-01 Chris Toshok <toshok@ximian.com>
* SiteMap.cs: use GetSection instead of GetWebApplicationSection.
2006-02-01 Chris Toshok <toshok@ximian.com>
* HttpApplication.cs: CONFIGURATION_2_0 => NET_2_0, and use
GetSection instead of GetWebApplicationSection.
* HttpApplication.jvm.cs: same.
* HttpApplicationFactory.cs: same.
* HttpContext.cs: same.
* CapabilitiesLoader.cs: same.
* QueueManager.cs: same.
* HttpRuntime.cs: same.
* TraceManager.cs: same.
* HttpRequest.cs: same.
2006-01-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpApplication.cs: keep any exception that happens during
initialization.
2006-01-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpDataTransferMode.cs: Removed file.
* HttpRequestPriority.cs: Removed file.
* ApplicationShutdownReason.cs:
* SiteMap.cs:
* HttpRuntime.cs:
* HttpApplication.cs: minor class status fixes.
2006-01-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* VirtualPathUtility.cs: done with all the not implemented methods.
2006-01-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpResponse.cs: use UInt64.Parse for content length. In AppendHeader,
set cache_control through the property to update the cachebility
accordingly. When using the cached headers, don't add again all the
headers to that collection.
* HttpCacheVaryByParams.cs: if there are no params, return null.
Otherwise we get an empty 'Vary' header.
2006-01-25 Chris Toshok <toshok@ximian.com>
* HttpApplication.cs (Start): wrap InitOnce in a try/catch block,
and if there's a configuration error, output it and end things
immediately.
2006-01-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpRequest.cs: fixed the file path when RewritePath is used. Also
add the PathInfo to the Url. Fixes bug #77291.
2006-01-22 Chris Toshok <toshok@ximian.com>
* HttpRequest.cs (ReadBoundary): remove two unused variables to
quiet mcs.
(IsBoundary): remove unused method.
* MimeTypes.cs (.cctor): use a 2.0 friendly form of the Hashtable
ctor to silence a warning.
* HttpCacheVaryByHeaders.cs (.ctor): same.
* HttpCacheVaryByParams.cs (.ctor): same.
* StaticSiteMapProvider.cs (UrlToNode): same.
2006-01-22 Konstantin Triger <kostat@mainsoft.com>
* HttpWorkerRequest.cs: ensure case insensitivity in header search.
2006-01-19 Konstantin Triger <kostat@mainsoft.com>
* HttpApplication.jvm.cs: merge HttpApplication.cs changes.
2006-01-17 Chris Toshok <toshok@ximian.com>
* CapabilitiesLoader.cs (Init): use WebConfigurationManager in the
CONFIGURATION_2_0 case.
* HttpRuntime.cs (MachineConfigurationDirectory): same.
2006-01-16 Chris Toshok <toshok@ximian.com>
* HttpApplicationFactory.cs: call WebConfigurationManager.Init in
the CONFIGURATION_2_0 case.
2006-01-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpWriter.cs: made Write (char) less memory hungry. Thanks to Mike
Glenn for pointing this out.
2006-01-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpApplicationFactory.cs: fix condition for ContextAvailable.
2006-01-11 Vladimir Krasnov <vladimirk@mainsoft.com>
* HttpResponse.cs: removed TARGET_JVM block from End
* GetJavaTextReader: Merged TARGET_JVM block from LoadFile
to GetJavaTextReader
2006-01-11 Vladimir Krasnov <vladimirk@mainsoft.com>
* HttpRequest.cs: removed TARGET_JVM block from MapPath
2006-01-11 Vladimir Krasnov <vladimirk@mainsoft.com>
* HttpRequest.cs: little fix in MapPath(), virtualPath.Replace
return value wasnt stored.
2006-01-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpResponse.cs: typo in comment.
* HttpApplicationFactory.cs:
* HttpApplication.cs: don't discard the application used for running the
Application_Start event to allow for Redirect/Transfer to be used. Fail
to get the request/response from the application object as MS does (it
can still be retrieved through HttpContext.Current.blah). Fixes
bug #77162.
2006-01-09 Vladimir Krasnov <vladimirk@mainsoft.com>
* CapabilitiesLoader.cs: Merged TARGET_JVM parts in LoadFile
from /main/9
* HttpException.cs: Merged TARGET_JVM parts in GetHtmlizedErrorMessage
from /main/13
* HttpRequest.cs: Merged TARGET_JVM parts in MapPath from /main/29
* HttpResponse.cs: Merged TARGET_JVM parts in End() from /main/30
* StaticFileHandler.cs: Merged TARGET_JVM parts in ProcessRequest
from /main/7
2006-01-08 Konstantin Triger <kostat@mainsoft.com>
* BrowserCapabilities.cs, HttpBrowserCapabilities.cs,
HttpResponseStream.cs: TARGET_JVM changes to let the compilation
pass with csc 1.1.
2006-01-04 Chris Toshok <toshok@ximian.com>
* HttpContext.cs (IsCustomErrorEnabled): add CONFIGURATION_2_0
code. use a nasty 'using' hack to map the 2.0 CustomErrorsMode to
the 1.x CustomErrorMode name.
(IsDebuggingEnabled): add CONFIGURATION_2_0 code.
(ConfigTimeout): add CONFIGURATION_2_0 code.
* HttpRequest.cs (MakeInputStream): add CONFIGURATION_2_0 code.
* HttpApplication.cs (RedirectCustomError): add CONFIGURATION_2_0
code.
* SiteMap.c (Init): use
WebConfigurationManager.GetWebApplicationSection.
2005-12-21 Miguel de Icaza <miguel@novell.com>
* HttpUtility.cs (UrlEncodeUnicode): The generated encoding of
unicode values must be in %XXXX format, not %XX sometimes.
2005-12-08 Robert Jordan <robertj@gmx.net>
* MimeTypes.cs: added entry for "jpg".
2005-12-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpRequest.cs: only read up to content-length when provided. Patch
by Peter Teichman.
2005-12-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpCookie.cs: fixed the set_Secure. Closes bug #76906.
2005-11-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpResponseStream.cs: flush the filter stream before closing.
Patch by Geir Bergum that fixes bug #76753.
2005-11-28 Chris Toshok <toshok@ximian.com>
* HttpContext.cs (Profile): remove the #if false from around this,
as we now have the ProfileBase type.
(GetConfig): add CONFIGURATION_2_0 version.
(GetSection): add CONFIGURATION_2_0 version.
2005-11-28 Chris Toshok <toshok@ximian.com>
* TraceManager.cs (..ctor): CONFIGURATION_2_0 work.
* QueueManager.cs (..ctor): CONFIGURATION_2_0 work.
* HttpRequest.cs (AnonymousID): add 2.0 property.
(MakeInputStream): CONFIGURATION_2_0 work.
* HttpApplication.cs (InitOnce): change around the
CONFIGURATION_2_0 stuff since we need additional Culture foo for
it.
2005-11-27 Chris Toshok <toshok@ximian.com>
* HttpApplication.cs (InitOnce): add Configuration_2.0 code.
(GetHandler): same.
2005-11-26 Miguel de Icaza <miguel@novell.com>
* HttpResponseStream.cs: Do not try to write zero bytes.
2005-11-24 Miguel de Icaza <miguel@novell.com>
* WebROCollection.cs: Do not add an empty "=" to the query string
if the key is empty or null.
2005-11-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* WebROCollection.cs: override ToString and generate a query string from
the key/value pairs. Fixes bug #76779.
2005-11-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpServerUtility.cs: prevent possible nullref in GetLastError().
2005-11-07 Jason Diamond <jason@diamond.name>
* HttpRequest.cs: Don't throw exception when Content-Length doesn't
match length of POSTed data. Also, allow charset parameter on
Content-Type header when type is "application/x-www-form-urlencoded".
2005-11-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* WebROCollection.cs: add an ID for the collection. Page needs it.
2005-11-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpRequest.cs: no need to allocate the buffer when all the content
is preloaded.
2005-11-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpApplication.cs: ignore TAE in ProcesssError. The Error event might
redirect or transfer and that causes a TAE to be thrown. Fixes
bug #76573.
2005-11-01 Chris Toshok <toshok@ximian.com>
* VirtualPathUtility.cs: new (partial implementation) to get some
MS provider examples compiling.
2005-10-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpContext.cs: added a new internal overload for ClearError.
2005-10-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpRuntime.cs: invoke callbacks on private items in the cache before
calling disposing the app. factory. This way we get notifications of
removal for all sessions stored in the cache (InProc only).
2005-10-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpResponseStream.cs: reworked buffering so that adjacents blocks are
written at once. Also fix bug #76460.
2005-10-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpResponseStream.cs: when allocating a chunk larger than the
default chunk size, mark all the blocks as taken. Fixes bug
#76452.
2005-10-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpResponse.cs: use HaveFilter instead of Filter.
* HttpResponseStream.cs: allocate chunks of the requested size
when it's > 32KB. Fixes bug #76460.
2005-10-14 Sebastien Pouliot <sebastien@ximian.com>
* ServerVariablesCollection.cs: Added a demand for
SerializationFormatter on GetObjectData method (even if it's not
really required in this case as it remove warnings from gendarme.
2005-10-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpResponse.cs:
* HttpRequest.cs: buglets in error checking in Filter.
2005-10-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* OutputFilterStream.cs: proxy class for response filters.
* HttpResponse.cs: moved all the actual write operations into the
response stream. Handle response filtering. When caching, get the
actual length of the data, not the buffer length.
* HttpApplication.cs: if there's no error, invoke the filters before
updating the request cache.
* HttpResponseStream.cs: new Filter property. SendChunkSize is moved
here and now supports writing the final chunk. New method ApplyFilter
that filters the existing buckets and replaces them with the filtered
ones. Modified Write to deal with buffering and filtering.
2005-10-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpResponseStream.cs: allow for writes of more than 32K at once.
2005-10-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* InputFilterStream.cs proxy stream for use by filters.
* HttpRequest.cs: implement input filtering.
2005-10-02 Eyal Alaluf <eyala@mainsoft.com>
* HttpApplication.jvm.cs - Workaround for use of yield in
HttpApplication.cs HttpRuntime.cs: AppDomain.Unload is not supported
* under TARGET_J2EE
2005-09-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpResponseStream.cs: remove dead code.
2005-09-29 Sebastien Pouliot <sebastien@ximian.com>
* HttpClientCertificate.cs: Remove last TODO on IsValid. This now
works when using XSP. Now use flags to determine valid/presence.
2005-09-26 Chris Toshok <toshok@ximian.com>
* HttpApplicationFactory.cs (OnAppFileChanged): add null checks
for bin_watcher and app_file_watcher so we don't get NRE's here.
2005-09-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* BrowserCapabilities.cs: don't rely on the win32 attribute to be there.
Just use the platform to determine whether Win32 is true or not. Fixes
bug #74777.
2005-09-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpApplication.cs: fixed typo when setting UI culture. Closes bug
#76189.
2005-09-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpRequest.cs: new SetFilePath() that does not conflict with
SetCurrentExePath. Now when transfering from a page to another,
CurrentExecutionFilePath and FilePath are correct.
2005-09-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* TraceContext.cs: add new method to store size of controls.
* TraceData.cs: render control size.
* HttpResponse.cs: new internal method to get the number of bytes of
buffered output.
* HttpResponseStream.cs: added Length property to the Buckets and new
GetTotalLength.
2005-09-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* TraceData.cs: we have to change the method of getting a control render
size. MS does not do this or otherwise would run into the same bug
(#76051) that this patch fixes. This is temporarily setting the size
to 0.
2005-09-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpResponseStream.cs: implemented Send(stream) for files. Fixes bug
#76145.
2005-09-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpRuntime.cs: catch errors when compiling global.asax and
initializing the application. Fixes bug #76090.
2005-09-14 Sebastien Pouliot <sebastien@ximian.com>
* BrowserCapabilities.cs: Fixed changes (in 2.0) with versions. Fixed
compare with "True" (culture and case sensitivity).
* HttpApplicationState.cs: Added LinkDemand for Minimal. Use the
internal HttpStaticObjectsCollection ctor to avoid the UnmanagedCode
demand.
* HttpContext.cs: Added LinkDemand for Minimal. Added 2.0 properties
and methods to test CAS on them.
* HttpRequest.cs: Added LinkDemand for Minimal. Ensure we return
proper values when worker_request is null.
* HttpResponse.cs: Added LinkDemand for Minimal. Ensure we return
proper values when context or WorkerRequest is null. Added 2.0
properties and methods to test CAS on them.
* HttpRuntime.cs: Added LinkDemand for Minimal. Added PathDiscovery
demands for properties returning directories. Added demand for High
level on AppDomainAppId and AppDomainId properties, Low level on
IsOnUNCShare, Medium level on ProcessRequest and a demand for
UnmanagedCode on UnloadAppDomain method. Constructor also has a
UnmanagedCode demand for 1.x.
* HttpStaticObjectsCollection.cs: Added LinkDemand for Minimal. Added
a UnmanagedCode demand to public ctor. Added internal ctor without the
demand. Changed Serialize and Deserialize methods to public for 2.0.
2005-09-14 Sebastien Pouliot <sebastien@ximian.com>
* HttpWorkerRequest.cs: Removed TODO for 2.0 APIs and return the
default values for them.
2005-09-13 Sebastien Pouliot <sebastien@ximian.com>
* HttpApplication.cs: : Added LinkDemand and InheritanceDemand (class)
for Minimal. Changed AssemblyLocation to a property (so it doesn't
require special permission, PathDiscovery) to create an instance.
Protected Modules property with a Demand for High level. Added some
missing HttpException for null context.
* HttpServerUtility.cs: Added LinkDemand for Minimal. Added demands
for UnmanagedCode on all CreateObject* methods. Added demand for
Medium level on MachineName and ScriptTimeout properties. Added new
overloaded Transfer method (2.0) to test CAS on it.
* HttpUtility.cs: Added LinkDemand for Minimal. Added [Obsolete] to
ctor (2.0). Changed some return values when 'count' is 0. Added
ParseQueryString (overload) methods for 2.0 (to enabled CAS testing on
them).
* HttpWorkerRequest.cs: Added LinkDemand and InheritanceDemand (class)
for Minimal. Added RequestTraceIdentifier and RootWebConfigPath (2.0)
properties, GetPreloadedEntityBody, GetPreloadedEntityBodyLength,
GetTotalEntityBodyLength and ReadEntityBody (2.0) methods to test CAS
on them. Fixed SendResponseFromMemory to ignore IntPtr.Zero (used in
tests without failures).
* ServerVariablesCollection.cs: Fixed loadServerVariablesCollection
when HttpWorkerRequest is null.
* TraceContext.cs: Added LinkDemand for Minimal. Fixed default Mode
(SortByTime). Added new (2.0) TraceFinished event to test CAS on it.
2005-09-13 Sebastien Pouliot <sebastien@ximian.com>
* HttpBrowserCapabilities.cs: Added LinkDemand and InheritanceDemand
(class) for Minimal. Note that current MCS has problem compiling
security attributes on partial class (bug #75969).
* HttpCachePolicy.cs: Added LinkDemand for Minimal. Added 2.0 methods
(stub) to enable CAS tests on them.
* HttpCacheVaryByHeaders.cs: Added LinkDemand for Minimal.
* HttpCacheVaryByParams.cs: Added LinkDemand for Minimal.
* HttpClientCertificate.cs: Added LinkDemand and InheritanceDemand
(class) for Minimal.
* HttpCookie.cs: Added LinkDemand for Minimal.
* HttpCookieCollection.cs: Added LinkDemand for Minimal.
* HttpFileCollection.cs: Added LinkDemand for Minimal.
* HttpModuleCollection.cs: Added LinkDemand for Minimal.
* HttpPostedFile.cs: Added LinkDemand for Minimal.
* HttpRequestPriority.cs: Fix enum values.
* HttpWriter.cs: Added LinkDemand for Minimal.
2005-09-13 Sebastien Pouliot <sebastien@ximian.com>
* ProcessInfo.cs: Added LinkDemand and InheritanceDemand (class) for
Minimal.
* ProcessModelInfo.cs: Added LinkDemand and InheritanceDemand (class)
for Minimal. Methods GetCurrentProcessInfo and GetHistory are also
protected by Demand for High level.
2005-09-13 Sebastien Pouliot <sebastien@ximian.com>
* HttpCompileException.cs: Added new public ctors and [Serializable]
to 2.0. Added new Message property and GetObjectData (protected by a
demand for SerializationFormatter) for 2.0. Fixed line-ending.
* HttpException.cs: Added LinkDemand and InheritanceDemand (class) for
Minimal. Renamed parameters to match documentation.
* HttpParseException.cs: Added LinkDemand (class) for Minimal. Added
demand for SerializationFormatter on GetObjectData method. Fixed
line-ending.
* HttpRequestValidationException.cs: Added new public ctors and
[Serializable] to 2.0. Added LinkDemand for Minimal.
* HttpUnhandledException.cs: Added new public ctors and [Serializable]
to 2.0. Removed unused internal ctor. Added LinkDemand for Minimal.
Fixed line-ending.
2005-09-13 Sebastien Pouliot <sebastien@ximian.com>
* HttpResponseSubstitutionCallback.cs: New. 2.0 delegate.
* TraceContextEventArgs.cs: New. 2.0 class.
* TraceContextEventHandler.cs: New. 2.0 delegate.
2005-09-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpRequest.cs: use GetServerName instead of GetLocalAddress when
building the Url.
2005-09-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpRequest.cs: fix the indexer.
2005-09-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpPostedFile.cs: fixes in Seek and Position.
2005-09-08 Sebastien Pouliot <sebastien@ximian.com>
* HttpRequest.cs: Make sure the MemoryStream created have their
contents marked as public - or else you can't call GetBuffer on them!
2005-09-08 Miguel de Icaza <miguel@novell.com>
* HttpRequest.cs: Patch from Juraj Skripsky <js@hotfeet.ch> that
fixes UrlReferrer.
2005-09-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpPostedFile.cs: Make this class actually work. Every time we read,
we have to position the underlying stream.
2005-09-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpRequest.cs: reading multipart/form-data works again.
2005-09-08 Eyal Alaluf <eyala@mainsoft.com>
* HttpRequest.cs: Under TARGET_JVM the input stream must allow GetBuffer.
2005-09-08 Eyal Alaluf <eyala@mainsoft.com>
* HttpApplicationFactory.cs: TARGET_J2EE/JVM fix.
2005-09-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpRequest.cs: correctly detect multipart/form-data.
2005-09-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpApplicationFactory.cs: recycle after invoking session_end.
2005-09-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpRuntime.cs: remove Console.
* HttpApplicationFactory.cs: don't hook Session_End, but keep
the MethodInfo around for later invocation if needed. Don't call
GetMethods() for every HttpApplication (or derived class) instances.
Added a method, used by SessionStateModule, that will create use an
application without context to invoke Session_End. Keep a pool of
applications that are meant to be used by this method only.
* HttpApplication.cs: add a SetSession method and do not
attach all the events if the application is for Session_End only.
2005-09-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpRuntime.cs: actually unload the domain when requested. Reformatted
FinishUnavailable() and removed the 'Location' header form the error.
* HttpApplicationFactory.cs: set up the watcher for the bin directory.
This also prevents a nullref when global.asax is changed.
2005-09-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpApplication.cs: fixed bug introduced when moving GetHandler call
around. Now we get error pages again.
2005-09-06 Miguel de Icaza <miguel@novell.com>
* HttpApplication.cs: Catch EndRequest errors as well.
2005-09-05 Miguel de Icaza <miguel@novell.com>
* HttpApplication.cs: Invoke EndRequest handler before OutputPage
as FormsAuthentication will issue a Redirect from the EndRequest
handler.
2005-09-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpApplication.cs: when writing an error message, catch the possible
write error.
2005-09-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpResponseStream.cs: prevent invalid cast exception if the first
thing written is a file.
2005-09-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpApplication.cs: fix invalid cast exception (bug #75926).
2005-09-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpApplicationFactory.cs: only trigger the Application_Start event
once. It was being invoked more than once when several clients were
hitting the server at the same time on startup.
2005-09-01 Eyal Alaluf <eyala@mainsoft.com>
* HttpContext.cs HttpResponse.cs HttpWorkerRequest.cs HttpRuntime.cs
HttpApplicationFactory.cs HttpApplication.cs: TARGET_J2EE/JVM fixes.
Mostly workaround limited AppModel in TARGET_J2EE.
2005-08-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpResponse.cs: if the request method is HEAD, that's equivalent to
SuppressContent. Added an internal TransmitFile that allows setting the
final_flush flag.
* StaticFileHandler.cs: use the new internal TransmitFile and remove
generation of Content-Length header, as now it's computed correctly.
* HttpApplication.cs: remove debugging stuff.
* HttpResponseStream.cs: suppress_content is checked in HttpResponse.
2005-08-31 Miguel de Icaza <miguel@novell.com>
Removed debugging info.
* HttpApplication.cs: Add support for async handlers.
Add extra 2.x methods.
2005-08-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* BrowserCapabilities.cs: removed extra 'using'.
* HttpApplication.cs: use just the 'modcoll' to hold the collection of
modules instead of having a separate 'modules' one.
2005-08-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpApplication.cs: clone the module collection so that
it's not shared between HttpApplications. Call GetHandler() in the
right place.
2005-08-30 Miguel de Icaza <miguel@novell.com>
* HttpApplication.cs: Add the new 2.x method overloads that take a
data object.
(RunHooks): Pass the extra data instead of null.
* HttpCookie.cs (HttpOnly): Add 2.x cookie header.
* BrowserCapabilities.cs: Move the core of the capabilities into a
separate file. Use partial classes to choose what version to
compile against.
* HttpBrowserCapabilities.cs: Update to move the code elsewhere.
2005-08-30 Eyal Alaluf <eyala@mainsoft.com>
* HttpResponseStream.cs: Fix a bug introduced by last fix (thanks to
Ben)
2005-08-30 Eyal Alaluf <eyala@mainsoft.com>
* HttpResponseStream.cs: Compilation fixes for TARGET_JVM. TARGET_JVM
does not support unsafe code. I localized all unsafe code within Chunk
& Block and created a managed version of Chunk.
2005-08-30 Eyal Alaluf <eyala@mainsoft.com>
* HttpApplicationFactory.cs: Compilation fixes for TARGET_J2EE. Under
TARGET_J2EE static fields are shared by all app domains. We handle
this difference by explicitly getting/setting values from the app
domain. Since HttpApplicationFactory has many static fields, I
refactored it to have one static instance and moved the static fields
into instance fields.
2005-08-29 Eyal Alaluf <eyala@mainsoft.com>
* HttpRequest.cs: Disable use of IntPtrStream for TARGET_JVM
2005-08-29 Eyal Alaluf <eyala@mainsoft.com>
* HttpContext.cs: Compilation fixes for TARGET_J2EE/JVM
2005-08-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpResponse.cs: don't duplicate the 'charset=' and don't send a
charset for unknown MIME types.
* StaticFileHandler.cs: set the Content-Length header here.
* HttpRequest.cs: prevent nullrefs when we have no 'charset='.
2005-08-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* StaticFileHandler.cs: use TransmitFile instead of WriteFile. This way
xsp will use sendfile().
2005-08-28 Chris Toshok <toshok@ximian.com>
* SiteMapNode.cs: fix IHierarchyData.GetParent.
2005-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpRequest.cs:
* IntPtrStream.cs: now we only have a read-only MemoryStream or an
IntPtrStream. The copy is moved into HttpRequest.
2005-08-26 Sebastien Pouliot <sebastien@ximian.com>
* WebCategoryAttribute.cs: New. Required internal attribute.
* WebSysDescriptionAttribute.cs: New. Required internal attribute.
2005-08-26 Jackson Harper <jackson@ximian.com>
* HttpResponseStream.cs: Use GetBuffer so the memory isn't
duplicated.
2005-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpApplication.cs: GetHandler might return null when, for example,
a web service fails, but that does not mean that returning a null
handler should throw another exception, as the web service code
serialized the error as a faultString. So if the handler is null, just
don't call ProcessRequest and keep going.
2005-08-26 Jackson Harper <jackson@ximian.com>
* HttpResponse.cs: Send the cached headers if this is a cached
response. Save the headers, date header, and page data. Fix a typo.
* HttpResponseStream.cs: Add new accesor to get a byte [] of the
page data.
2005-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpWorkerRequest.cs: SetEndOfSendNotification is a noop. No matter
what callback you use that never gets called. In XSP I actually
implement something for this method.
* HttpServerUtility.cs: unused variable.
2005-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpInputStream.cs: new ctor that takes a byte [].
* IntPtrStream.cs: make it work on a byte [] too.
* HttpRequest.cs:
(ContentLength): return 0 for negative numbers or error parsing, but
keep content_length negative in those cases.
(MakeInputStream): when there's no content-length (or it's negative),
we still read the request into a MemoryStream. Use
IsEntireEntityIsPreloaded() as a fast path.
2005-08-25 Sebastien Pouliot <sebastien@ximian.com>
* HttpClientCertificate.cs: On 1.x the .ctor throws a
ArgumentNullException (but 2.0 throws a NRE).
2005-08-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpRequest.cs: HttpMethod deserves its own field. Fix IsLocal.
2005-08-25 Chris Toshok <toshok@ximian.com>
* HttpApplication.cs (IsReusable): return true.
(InitOnce): remove the initialization of handler_factory from
here.
(GetHandler) and move it here, so we make sure to load handlers
from all needed web.config files.
2005-08-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpServerUtility.cs: use GetHandler().
* HttpApplication.cs: remove obsolete method. Now Transfe/Execute work.
2005-08-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpApplication.cs: no need for the local var. here.
2005-08-25 Chris Toshok <toshok@ximian.com>
* HttpApplication.cs (InitOnce): move the initialization of
modules above the call to HttpApplicationFactory.AttachEvents,
since that method accesses HttpApplication.Modules. Fixes
nGallery.
(IsReusable): mark TODO.
2005-08-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpResponseHeader.cs: removed obsolete class.
* HttpResponse.cs: no more 'obsolete' warnings.
2005-08-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpRuntime.cs: implemeted some missing properties.
2005-08-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpResponse.cs: implemented RemoveOutputCacheItem().
2005-08-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpApplication.cs: implemented GetVaryByCustomString().
2005-08-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpRequest.cs: implemented SetHeader (allows adding a header
circumventing the read-only protection of the collection) and SetForm,
which just assigns a value of the 'form' collection.
* HttpServerUtility.cs: NameValueCollection -> WebROCollection.
2005-08-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpContext.cs:
* HttpRequest.cs: implemented RewritePath and supporting methods.
2005-08-22 Sebastien Pouliot <sebastien@ximian.com>
* HttpRequest.cs: Avoid NRE if work_request if null in the ctor.
* HttpResponse.cs: Avoid NRE if work_request if null in the ctor.
2005-08-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpApplication.cs: if there's any exception thrown when getting the
handler, don't add an extra error to the context, as we already have
one.
2005-08-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpWriter.cs:
* HttpResponse.cs:
* HttpWorkerRequest.cs:
* HttpApplication.cs: added mising attributes and enabled methods
present in 1.1 SP1.
2005-08-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* WebROCollection.cs: a collection that allows setting IsReadOnly.
* HttpRequest.cs: implemented MapImageCoordinates(). Use WebROCollection
instead of a NameValueCollection in Form, Headers, Params, QueryString.
2005-08-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpInputStream.cs: new copy ctor.
* IntPtrStream.cs: getters for base_address and size.
* HttpRequest.cs: implemented SaveAs(). Use a wrapper on top of
InputStream so that reading POST form or files does not modify the state
if InputStream. Don't use uri_builder.Query in QueryStringRaw, as it
returns the '?'.
2005-08-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpRequest.cs: implemented UserLanguages and reuse code from
AcceptTypes.
2005-08-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpRequest.cs: implemented AcceptTypes.
2005-08-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpRequest.cs: implemented this[] in terms of Params. Don't add the
header collection in Params.
2005-08-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpRequest.cs: fix Files property.
* HttpApplication.cs: invoke the default authentication event after all
the other auth. modules.
2005-08-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* ServerVariablesCollection.cs: mark the collection as read-only except
when we fill it. Add the HTTP_blah key/value pairs too.
2005-08-18 Chris Toshok <toshok@ximian.com>
* HttpRequest.cs (get_Params): implement.
2005-08-17 Chris Toshok <toshok@ximian.com>
* HttpResponse.cs: HttpResponse's Cookie's collection acts
differently than HttpRequests in that it never returns null from
the "this [string]" accessor.
2005-08-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpRequest.cs: check length 0 case when reading a POST.
2005-08-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpContext.cs: added security attributes for User and
SkipAuthorization properties.
* HttpApplicationFactory.cs: AttachEvents is now called form the
application .ctor. Recycle instead of dispose.
* HttpApplication.cs: attach events to the newly created application.
2005-08-15 Jackson Harper <jackson@ximian.com>
* ApplicationShutdownReason.cs: make build
2005-08-15 Miguel de Icaza <miguel@novell.com>
* HttpApplication.cs: Update comments
* HttpPostedFile.cs: Use a substream to read from the uploaded
multiparts.
* HttpRequest.cs: use new code to read the uploaded files.
2005-08-12 Miguel de Icaza <miguel@novell.com>
2.x API fixage and small additions:
* HttpResponse.cs: Make constructor internal.
* HttpRequest.cs (IsLocal): Expose if NET_2.x
* HttpContext.cs: Remove internal routine.
* HttpApplication.cs: Add 2.x events.
* HttpRequest.cs: Another iFolder issue: I was not setting up the
uri_builder here.
Fixes to get iFolder to work:
* HttpApplicationFactory.cs: Set the context when we are initting
the application.
* HttpApplication.cs (SetContext): helper routine.
* HttpResponse.cs: Implement the various cache operations:n
Expires, ExpiresAbsolute, CacheControl.
Actually produce the Cache-Control header, the "Cache" property
takes precedence over the compatibility settings (Expires,
ExpiresAbsolutely and CacheControl).
* HttpCachePolicy.cs: Fix style.
Fix the generation of the headers, use lower-case values, do not
add the max-value if the value is zero.
Allow for all possible values in SetCacheability.
* HttpRuntime.cs (ClrInstallDirectory): Implement.
* HttpResponseStream.cs: Remove debugging stuff.
2005-08-11 Miguel de Icaza <miguel@novell.com>
Big chunked handling rewrite, and integration of Ben's unmanaged
output stream.
* HttpWriter.cs: Delegate chunked encoding writing to the
HttpResponse.
* HttpResponse.cs: Rework the chunked encoding system, centralize
it all.
* HttpResponseStream.cs: Deploy Ben's bucket-base unmanaged
buffers code.
Changed the way that we handle chunked encoding, centralize it
all;
Remove a lot of manual handling of buffering turned off, and
instead delegate it all to Flush, fixes several issues with the
new framework.
* HttpWorkerRequest.cs (SendResponseFromMemory (IntPtr, int)):
Provide a default implementation since currently XSP does not have
this method implemented.
2005-08-11 Sebastien Pouliot <sebastien@ximian.com>
* HttpClientCertificate.cs: Culture insensitive int parsing. Fixed
NET_2_0 build.
2005-08-10 Miguel de Icaza <miguel@novell.com>
* ServerVariablesCollection.cs: For Ben. Implement the header
fetching here, do not implement it in HttpRequest.cs.
2005-08-10 Sebastien Pouliot <sebastien@ximian.com>
* HttpClientCertificate.cs: Changed IsPresent logic so that new unit
tests will work as expected.
2005-08-10 Sebastien Pouliot <sebastien@ximian.com>
* HttpClientCertificate.cs: Implemented, except for validation. Note
that the HttpWorkerRequest derived classes must be updated to supply
the required informations.
* HttpRequest.cs: Create an HttpClientCertificate on first call to
ClientCertificate.
2005-08-09 Miguel de Icaza <miguel@novell.com>
* HttpRuntime.cs (AspInstallDirectory): Implement.
2005-08-09 Sebastien Pouliot <sebastien@ximian.com>
* HttpClientCertificate.cs: New. Stub. It won't be fun to test.
2005-08-04 Ben Maurer <bmaurer@ximian.com>
* HttpContext.cs: Kill a NIE.
2005-08-04 Miguel de Icaza <miguel@novell.com>
* HttpApplicationFactory.cs: Change "Start" event like the "End"
event, and only do this once, when we init the type.
Fire the "Application_Start" event after we create the type.
2005-08-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpApplication.cs: catch a ThreadAbort (coming from Response.End)
here too.
2005-08-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpResponse.cs: setting the Status property resets the
StatusDescription (see the tests) and the default value for the
description is the one provided by GetStatusDescription() in
HttpWorkerRequest.
2005-08-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpRequest.cs: s/boundry/boundary/ and fix typo in array creation.
2005-08-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpApplication.cs: add call to EndOfRequest when everything is said
and done.
2005-08-02 Miguel de Icaza <miguel@novell.com>
* HttpResponse.cs: Stub for TransmitFile.
* HttpRequest.cs (IsAuthenticated): Implement.
2005-08-01 Miguel de Icaza <miguel@novell.com>
* HttpRequest.cs: Cope with implementations of HttpWorkerRequest
(unpatched xsp) that do not send back the PreloadedEntityBody.
* HttpApplication.cs: keep track of the factory.
(Dispose): Only dispose once, clean up other variables, release
the ManualResetEvent.
Release the handler to the factory.
* HttpApplicationFactory.cs: Implement a stack to reuse the
applications.
* HttpRequest.cs: On uploads, if the ContentLenght is zero, throw
a 411.
* HttpRuntime.cs: Recycle the application after using it.
* HttpPostedFile.cs: Implement SaveAs.
* HttpContext.cs: Return the "Server" property.
2005-08-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpServerUtility.cs: implemented missing bits.
2005-08-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpRequest.cs: query string was getting a '?' as the start of the
first variable name. This makes the asmx help page work again.
2005-08-01 Miguel de Icaza <miguel@novell.com>
* HttpRequest.cs (Cookies, Forms): Add validation.
(Forms): Add application/x-www-form-urlencoded parsing and
multipart/form-data parsing.
(HttpMultiPart): Implement new class to load multi-part data from
a stream since there is no longer a byte [] that holds the data
(currently we have an unmanaged IntPtr buffer wrapped as a
stream). Also the 2.x framework will add support for large
uploads which are sent directly to disk, which will require the
FileStream interface.
(Path, PathInfo): Fill a couple more methods to avoid crashes.
* HttpContext.cs: Fill another one to get web services summary
page painting. The page does not work though.
* HttpApplication.cs: Rework the pipeline to not depend on
`finally', as `finally' would not be invoked if we choose not to
call the pipeline again (which happens if the `stop' variable is
set).
Instead force the pipeline to go to the shutdown, and yield from
there after all the release-state callbacks have been invoked.
2005-07-31 Miguel de Icaza <miguel@novell.com>
* HttpApplication.cs: Remove debugging messages since the compiler
bug has been fixed.
You must use at least mcs from revision 47879 for the application
pipeline to work.
2005-07-30 Miguel de Icaza <miguel@novell.com>
* HttpContext.cs: Error handling methods.
* HttpResponse.cs: Trigger the last event.
* HttpRuntime.cs: Add queueing of the next request.
* HttpApplication.cs: Deploy the new yield-based application
pipeline, add error handling to the pipeline.
* HttpApplication.cs (AsyncRequestState): Just use the done event
from the parent.
2005-07-29 Miguel de Icaza <miguel@novell.com>
* HttpResponseStream.cs, HttpRequest.cs: Fix bugs found by nunit.
* HttpApplication.cs: Fix a race condition.
* HttpResponseStream.cs: Fix bug, send the size of the buffer that
we have so far instead of the internal size of the buffer. This
will need work later to ensure we enforce the Content-Length
maximum output size if set.
* ServerVariablesCollection.cs: This class now inherits from
NameValueCollection, we should probably review what the middle
class did, there are no dependencies on it.
I need to write tests to investigate if something is missing or
has changed in this implementation.
2005-07-27 Miguel de Icaza <miguel@novell.com>
* HttpRequest.cs: No happy replies here, send a 411.
2005-07-27 Chris Toshok <toshok@ximian.com>
* HttpResponseHeader.cs: remove spew.
2005-07-27 Chris Toshok <toshok@ximian.com>
* HttpResponseHeader.cs (HttpResponseHandler..ctor): use
HttpWorkerRequest.GetKnownResponseHeaderName instead of
GetKnownRequestHeaderName. Fixes Response.Redirect until miguel's
new HttpReponse is online.
2005-07-26 Miguel de Icaza <miguel@novell.com>
* HttpResponse.cs: use_chunked is now a byte-array, if not null,
we use it to hold the size of the chunked so we do not have to
allocate many of these.
(SendSize): Helper routine to send the chunked headers.
(BinaryWrite): First user of the chunked writer.
* HttpApplication.cs: Do not crash if they request a Server
instance, but throw a NotImplementedException.
* HttpRequest.cs: fix a few problems exposed by the regression
test suite.
* HttpRequest.cs (Cookies): use Chris' new constructor to get the
cookies parsed.
: The big Uri rework: instead of using QueryString
as the population mechanism, populate an UriBuilder from the
various HttpWorkerRequest methods.
* HttpWorkerRequest.cs (GetProtocol): Implement in terms of
IsSecure().
* HttpResponse.cs: Pointed by Ben, Write (null) is a nop instead
of a crash.
* HttpContext.cs: Add a couple of properties to help the 2.x
build.
* HttpResponse.cs: Make ContentLength a long, add back support for
session's app_path_mod.
(ApplyAppPathmodifier): put back.
(End): Pass a flag to abort so we can tell the exceptions appart
in HttpApplication.
(WriteHeaders): Send the HTTP status.
(Redirect): Implement.
(Write): Use the Output property to load writer when needed.
* HttpRequest.cs (ctor): Temporary use of InitFromWR, will fix
later.
(MakeInputStream): check content-length size, use routines to load
the preloaded data, handle incomplete transfers.
(Query): Do not insert null keys into the collection.
(Url): implement.
(UrlReferer): implement.
* HttpApplication.cs (RunHooks): Catch Thread.Abort, and call
Thread.ResetAbort after each step.
Ensure that ReleaseState is called if we ever succeed in acquiring
the state even if we have stopped the request pipeline.
Report file not found, directory not found.
2005-07-25 Miguel de Icaza <miguel@novell.com>
* HttpCookieCollection.cs: Add expiration of the cookie.
* HttpRequest.cs: Add check for ContentLength, use
GetPreloadedEntityBody, correct number of bytes uploaded.
2005-07-21 Miguel de Icaza <miguel@novell.com>
* HttpResponseHeader.cs: Our implementation of HttpResponse only
uses the text headers, does not use any constants as XSP would go
through a slower code path anyways.
2005-07-21 Chris Toshok <toshok@ximian.com>
* HttpBrowserCapabilities.cs: enable support for the W3CDomVersion
and EcmaScriptVersion properties.
2005-07-21 Chris Toshok <toshok@ximian.com>
* HttpResponseHeader.cs: hi, i'm stupid and missed String.Replace.
2005-07-21 Chris Toshok <toshok@ximian.com>
* HttpResponseHeader.cs: url encode just \r and \n if they're
present in the value.
2005-07-20 Chris Toshok <toshok@ximian.com>
* HttpPostedFile.cs: add missing ContentLength property.
2005-07-20 Chris Toshok <toshok@ximian.com>
* HttpCookieCollection.cs: add a new ctor that takes a string (the
contents of the Cookies: header).
2005-07-20 Chris Toshok <toshok@ximian.com>
* HttpCookieCollection.cs: add another ctor (internal, but not
obsolete, so we aren't passing a stupid HttpResponse in in order
to change the behavior of the collection.)
* HttpCookie.cs: init this.values in the internal ctor.
2005-07-20 Chris Toshok <toshok@ximian.com>
* HttpCookieCollection.cs: use "auto-fill mode" when we're dealing
with an HttpResponse's cookie collection. That is, create the
cookie if the consumer looks it up.
2005-07-20 Miguel de Icaza <miguel@novell.com>
* HttpApplication.cs: Ongoing work on pipeline, I will need to
redo this later.
2005-07-19 Miguel de Icaza <miguel@novell.com>
* HttpContext.cs (GetService): Implement. Return all of the
properties that we have access to. Make HttpWorkerRequest the
first match as this is the only likely reason people need to use
this.
* IntPtrStream.cs: Bring from corlib.
* MultiPartContentParser.cs: use a MemoryStream as HttpInputStream
will now be using IntPtrStream.
* HttpRequest.cs (MakeInputStream): move code that loads the
request here
(CloseInputStream): Helper method that we will call later to
ensure that we dispose properly the malloced() block.
(BinaryRead): Implemented.
* HttpInputStream.cs: Rewrite to be a descendant of
IntPtrStream.cs
2005-07-18 Miguel de Icaza <miguel@novell.com>
* HttpApplication.cs (Modules): Add modules support and
AsyncResult.
2005-07-18 Chris Toshok <toshok@ximian.com>
* HttpResponseHeader.cs: initial implementation.
2005-07-18 Chris Toshok <toshok@ximian.com>
* HttpModuleCollection.cs (HttpModuleCollection.GetKey): add
missing method.
* HttpFileCollection.cs: initial implementation.
2005-07-18 Chris Toshok <toshok@ximian.com>
* HttpModuleCollection.cs (HttpModuleCollection.CopyTo): implement
missing method.
2005-07-18 Chris Toshok <toshok@ximian.com>
* HttpModuleCollection.cs: initial implementation.
2005-07-18 Chris Toshok <toshok@ximian.com>
* HttpCacheVaryByHeaders.cs: only add the header if it's not
already in the hash.
* HttpCacheVaryByParams.cs: only add the param if it's not already
in the hash.
2005-07-18 Chris Toshok <toshok@ximian.com>
* HttpCookie.cs (HttpCookie+CookieNVC.Set): new override to fix an
MS quirk.
2005-07-17 Miguel de Icaza <miguel@novell.com>
* HttpRequest.cs (Headers, InputStream): implemented two more
properties.
* HttpInputStream.cs: All we need is a MemoryStream with writable
set to false.
* HttpPostedFile.cs: Use a Stream.
2005-07-16 Chris Toshok <toshok@ximian.com>
* HttpCacheVaryByHeaders.cs: make sure we set vary_by_unspecified
= false in the custom setter.
2005-07-16 Chris Toshok <toshok@ximian.com>
* HttpCacheVaryByParams.cs: initial implementation.
2005-07-16 Chris Toshok <toshok@ximian.com>
* HttpCacheVaryByHeaders.cs: initial implementation.
2005-07-15 Chris Toshok <toshok@ximian.com>
* HttpCookie.cs: one more time.
2005-07-15 Chris Toshok <toshok@ximian.com>
* HttpCookie.cs (HttpCookie.GetCookieHeader): use
expires.ToString().
2005-07-15 Chris Toshok <toshok@ximian.com>
* HttpCookie.cs (HttpCookie.GetCookieHeader): implement to fix
ben's bug.
2005-07-15 Chris Toshok <toshok@ximian.com>
* HttpCookieCollection.cs: initial implementation (with a couple
of labeled inefficiencies.)
2005-07-15 Chris Toshok <toshok@ximian.com>
* HttpCookie.cs (HttpCookie.get_HasKeys): use values.HasKeys()
instead of trying to be smart about it ourselves.
2005-07-15 Chris Toshok <toshok@ximian.com>
* HttpCookie.cs: initial implementation. we fail one unit test,
but it might be due to a bug in NameValueCollection.
2005-07-15 Miguel de Icaza <miguel@novell.com>
* HttpRequest.cs:
2005-07-14 Miguel de Icaza <miguel@novell.com>
* HttpRuntime.cs: Return a few of the values from the AppDomain
data.
Put the application shutdown process.
* HttpApplicationFactory.cs (AddEvent): Fixed bug when more than
one method existed.
(FireEvent): Do not ignore errors.
* HttpContext.cs (GetAppConfig, GetConfig): First success, use
ConfigurationSettings.GetConfig to get the value that QueueManager
needed.
2005-07-14 Dick Porter <dick@ximian.com>
* HttpPostedFile.cs: New basic implementation; needs someone to
figure out what a HttpRequestStream does
2005-07-13 Miguel de Icaza <miguel@novell.com>
* HttpRequest.cs: More work on this file
* HttpRequest.cs, HttpApplication.cs, HttpContext.cs,
HttpRuntime.cs: New from scratch implementation.
2005-07-01 Lluis Sanchez Gual <lluis@novell.com>
* SiteMap.cs: Read provider info from the configuration files.
2005-06-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpResponseHeader.cs: URL encode \r and \n in header values. Fixes
bug #75392.
2005-06-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpUtility.cs: fix another stupid buglet in htmldecode.
2005-06-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpContext.cs:
* HttpResponse.cs:
* HttpRequest.cs: use StrUtils (invariant culture).
2005-06-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpRequest.cs: use StartsWith when looking for 'multipart/form-data'.
File uploading was broken since a few commits ago.
2005-06-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpResponse.cs: ensure that the last chunk ('0\r\n\r\n') is sent
even if response.Close is called before a final flush. MS/IIS fails to
do this.
2005-06-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpRequest.cs: don't print anything for unknown content types in
ParseFormData. Use lowercase compare.
2005-06-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpResponse.cs: invariant love.
2005-06-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpResponse.cs: avoid 1 string concat.
* HttpRequest.cs: fix BinaryRead. It was totally wrong.
2005-06-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpUtility.cs: don't append an extra 0 when no digits seen. Fixes
bug #75370.
2005-06-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpUtility.cs: the lower limit for using &#xx; encoding is 160, not
128. Reset number back to 0 after use. Fixes bug #75365.
2005-06-19 Svetlana Zholkovsky <svetlanaz-at-mainsoft.com>
* In following classes added TARGET_J2EE or/and TARGET_JVM
directives:
- HttpResponse.cs
- HttpRuntime.cs
- HttpUtility.cs
- CapabilitiesLoader.cs
- HttpApplication.cs
- HttpApplicationFactory.cs
- HttpContext.cs
- HttpException.cs
- HttpRequest.cs
* Added Mainsoft's specific files :
- GhHttpAsyncResult.jvm.cs
2005-06-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpRequest.cs: avoid one intermediate buffer when reading the request
body and fail for over limit content length when the content type is
not handled as form or multipart data.
2005-06-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpResponse.cs: fix the check in Close() so that CloseConnection is
called even if there has been no final Flush. Fixes bug #75176.
2005-06-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpParseException.cs:
* HttpResponse.cs:
* HttpApplication.cs: updates for 1.1 service pack.
2005-06-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpUtility.cs: fix InvalidCastException.
2005-06-05 Kornél Pál <kornelpal@hotmail.com>
* HttpWriter.cs: Fixed: _OutputFilter.Close () was called twice.
2005-06-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpUtility.cs: modified HtmlDecode so that it does not need to call
Int32.Parse and handles improper &# sequences. Fixes bug #74907.
2005-05-26 Lluis Sanchez Gual <lluis@novell.com>
* SiteMapNodeCollection.cs: Implemented missing methods. The collection
does not inherit from CollectionBase any more.
* SiteMapNode.cs: Track api changes.
* SiteMapProvider.cs: Moved several methods to the new
StaticSiteMapProvider class. Other fixes.
* XmlSiteMapProvider.cs: Watch changes in the xml files. Other fixes.
* SiteMapProviderCollection.cs: Minor fixes.
* SiteMap.cs: Added missing event. Avoid double check lock.
* StaticSiteMapProvider.cs: New class that implements some of the
funtionality of SiteMapProvider.
2005-05-25 Ben Maurer <bmaurer@ximian.com>
* MimeTypes.cs: Remove extra spaces, they were typos. Fixes 75049.
2005-05-13 Atsushi Enomoto <atsishi@ximian.com>
* HttpUtility.cs : UrlDecodeToBytes() incorrectly decoded escaped
characters. Patch by Kazuki Oikawa.
2005-05-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpRuntime.cs: PlatformID.Unix.
2005-05-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpResponse.cs: cleaned up the .ctors, fix IsClientConnected and just
Clear the _Headers array instead of creating a new ArrayList in
ClearHeaders().
2005-05-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpResponse.cs: we had 2 variables to track client connection status.
Use only one. Increase the buffer size to 28KB when writing from a file.
* StaticFileHandler.cs: set the Content-Type before writing the file.
This allows flushing before all the content is written.
* HttpApplication.cs: use the variable instead of the property when
setting the Principal for the current process.
2005-05-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* ReusableMemoryStream.cs:
* HttpWriter.cs: keep a pool of buffers to avoid allocations.
2005-05-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpResponse.cs: no need to save/restore the thread culture when
getting the Date header. According to Ben's profiling, this is a big
deal in performance.
* HttpRuntime.cs: ignore exceptions that might be thrown when unloading
a domain.
2005-05-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpApplicationFactory.cs: ignore any exception thrown when invoking
an application event.
2005-04-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpBrowserCapabilities.cs: fix Win32 property.
2005-04-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpResponse.cs: only add the charset when explicitly set or for
well-known content types.
2005-04-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpCachePolicy.cs:
* HttpAsyncResult.cs:
* HttpClientCertificate.cs:
* HttpException.cs:
* HttpRuntime.cs:
* HttpCacheVaryByHeaders.cs:
* HttpBrowserCapabilities.cs:
* HttpUtility.cs:
* HttpCacheVaryByParams.cs: no more warnings.
* QueueManager.cs: check for local connections with minLocalFreeThreads.
2005-04-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* ServerVariablesCollection.cs: shuffled variables, added missing ones
and call a method in HttpRequest to set the HTTP_ variables.
* HttpRequest.cs: new method to add HTTP_ variables to a collection.
2005-04-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpRequest.cs: GetAllHeaders was returning the value twice instead
of 'name: value'. When HTTP_ is requested on the output, don't include
unknown headers.
2005-03-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpCookieCollection.cs: when adding more than one cookie with the
same name, the last one is the winner.
2005-03-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpRequest.cs: correctly store the value cookies in Params. Fixes
bug #73345.
2005-02-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpRequest.cs: Path and FilePath also change when RewritePath is
called. Fixes bug #73055.
2005-02-23 Sebastien Pouliot <sebastien@ximian.com>
* HttpRequest.cs: Make sure that any access after a ValidateInput
throws an exception if the data isn't safe.
2005-02-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* CapabilitiesLoader.cs: fix the path, as machine.config is now in a
x.x/ directory below $PREFIX/etc/mono.
2005-02-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpRequest.cs: fail on unicode full-width '<' and '>' too. Fixes
a security report (http://secunia.com/advisories/14325) that wan't
reported to us before public disclosure.
2005-02-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpResponse.cs: send the calculated content length even when it's 0.
Fixes bug #72655.
2005-02-04 Lluis Sanchez Gual <lluis@novell.com>
* HttpContext.cs: Added internal property to keep a reference to
the last accessed page. Page uses this to implement PreviousPage.
2005-02-02 Lluis Sanchez Gual <lluis@novell.com>
* ProcessModelInfo.cs: Fixed warning.
2005-02-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* TraceContext.cs: writing a message without any other argument is not
a warniing. Fixes bug #72017.
2005-01-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpApplication.cs: if there are no more handlers, finish the
request and ensure we call Complete on it. Now FreeTextBox 3.0 works.
2004-12-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpRequest.cs: honor the maxRequestSize limit from machine.config.
2004-12-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpApplication.cs: reread application CultureInfo as web.config
might have changed. Fixes bug #62539.
2004-11-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpResponse.cs: fixed ApplyAppPathModifier to insert the session ID.
2004-11-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpApplicationFactory.cs: monitor changes in global.asax and bin
directory and shutdown the application when that happens. Fixes bug
#49651.
2004-11-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* ReusableMemoryStream.cs: copied from System.IO.MemoryStream and
slightly modified to allow expanding the buffer for cases on which the
regular MemoryStream don't allow it.
* HttpWriter.cs: use the new ReusableMemoryStream and fix bug #59841.
Otherwise we would have to allocate a new MemoryStream...
2004-11-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpApplication.cs: Create() is now GetInstance().
2004-11-18 Lluis Sanchez Gual <lluis@novell.com>
* SiteMapNodeCollection.cs: Added missing properties.
* HttpParseException.cs: Added 2.0 methods and properties.
* SiteMapNode.cs: Added missing methods and properties.
* SiteMapProvider.cs, XmlSiteMapProvider.cs,
SiteMapProviderCollection.cs: IProvider does not exist any
more, it is now ProviderBase.
* ISiteMapProvider.cs: Deleted.
* ParserErrorCollection.cs, ParserError.cs, SiteMapResolveEventArgs.cs:
Implemented.
* SiteMap.cs: Minor fixes.
2004-11-15 Lluis Sanchez Gual <lluis@novell.com>
* SiteMapProviderCollection.cs: Fixed warning.
* HttpApplication.cs: Added new 2.0 events.
2004-11-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpResponse.cs: added internl SetHeadersSent.
* HttpRuntime.cs: don't throw the 'headers already sent' exception
if we're sending a runtime error.
2004-11-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpApplication.cs: undo the TimeoutManager.(Add|Remove) shuffling.
It causes troubles under heavy load.
2004-11-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* SiteMap.cs: don't lock on Type.
* CapabilitiesLoader.cs: avoid 2 locks when loading data.
2004-11-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpRequest.cs: patch by Dennis Gervalle that fixes PhysicalPath in
presence of rewriting.
2004-10-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpApplication.cs: don't hang if a sync step is aborted. Fixes the
system.web portion of bug #68270.
2004-10-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* TraceContext.cs: don't cast to Page is the handler it's
not a page.
2004-10-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpRequest.cs: CurrentExecutionFilePath is the one that
changes when Transfer or Execute are used, not FilePath.
* HttpServerUtility.cs: moved form saving/restoring from
Transfer to Execute, as it's needed there too. the query string is
correctly set now. Fixes bug #67388.
* HttpContext.cs: use SetCurrentExePath instead of SetFilePath.
2004-10-03 Ben Maurer <bmaurer@ximian.com>
* HttpResponse.cs: use UtcNow
2004-10-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpResponse.cs: SuppressContent does not throw and clears all the
buffered output. Fixes bug #67213.
2004-09-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpUtility.cs: UrlPathEncode is static. Fixes bug #67155.
2004-09-29 Ben Maurer <bmaurer@ximian.com>
* HttpContext.cs, TimeoutManager: Use DateTime.UtcNow.
2004-09-25 Ben Maurer <bmaurer@ximian.com>
* HttpApplication.cs: Make sure requests are removed from
the timeout manager. Fixes a major leak. #66751.
2004-09-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpApplicationFactory.cs:
* HttpRuntime.cs: implemented UnloadAppDomain and be ready for domain
unloading.
2004-09-12 Ben Maurer <bmaurer@ximian.com>
* HttpContext.cs: use CallContext. It is a little bit faster.
2004-09-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpStaticObjectsCollection.cs: don't share static session objects
declared in the application file across the application, but on a
per-session basis. Fixes bug #65446.
2004-09-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpServerUtility.cs: in Transfer(path), don't keep form data if
the transfer is done from inside a page that received a postback.
Fixes bug #65613.
2004-09-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpValueCollection.cs: fixed signature of ToString (). Closes bug
#65392.
2004-09-06 Ben Maurer <bmaurer@users.sourceforge.net>
* HttpWriter.cs (.ctor): Dont create teh StreamWriter twice
(Clear): Don't recreate the MemoryStream and StreamWriter
2004-09-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpApplication.cs: only add/remove to/from the timeout
manager when we're in a interruptible step.
2004-09-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* TraceContext.cs: when IsEnabled has not been set, return the value
from the TraceManager. Fixes bug #63469.
2004-08-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpRuntime.cs: initialize the response writer when finishing a
request because it cannot be queued. Under heavy load we made new
requests be processed before the ones that might be queued. This is
no longer the case.
* QueueManager.cs: instead of queueing/dequeuing separately, we now
have a single method that does everything needed to decide which one
will be the next request processed.
2004-08-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpRuntime.cs: removed initializations to null in .cctor. Prevent
other requests from avoiding the lock if they are received before the
configuration system is inited. Ensure that the queue manager is not
null before using it (it can be null while the first request is being
processed).
2004-08-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpServerUtility.cs: ensure we have a full virtual path for the
request being executed.
2004-08-02 Duncan Mak <duncan@ximian.com>
* ApplicationShutdownReason.cs: Fixed typos.
* HttpCookieMode.cs:
* HttpDataTransferMode.cs:
* HttpRequestPriority.cs: Added [Serializable] attribute.
2004-08-02 Duncan Mak <duncan@ximian.com>
* ApplicationShutdownReason.cs:
* HttpCookieMode.cs:
* HttpDataTransferMode.cs:
* HttpRequestPriority.cs: Added 2.0 enumerations.
2004-07-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpApplication.cs: the file not found might be a dependency.
2004-07-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpCookie.cs: use invariant when formatting expires date. Fixes bug
#61690.
2004-07-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpApplication.cs: don't keep the session around if we got it from
the context. Fixes bug #61232.
2004-07-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpUtility.cs: fixed stupid bug in UrlDecode from bytes. Closes bug
#61181.
2004-07-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* TraceContext.cs: added internal HaveTrace property whose
value is true when the page has a Trace attribute.
2004-06-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* TraceData.cs: fixed <br> output. Closes bug #60181.
2004-06-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpUtility.cs: check for control characters in the string to encode
or decode and return the same string if there are none.
2004-06-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpApplication.cs: change/restore the IPrincipal in their own methods
and make them internal.
2004-06-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpContext.cs: reverting Pedro's patch and sending mail with test
to mono-devel.
2004-06-09 Pedro Martnez Juli <yoros@wanadoo.es>
* HttpContext: User property returns its own "user" value because
the context can walk through different Threads. When "User" property
is changed, change "Thread.CurrentPrincipal" too.
2004-06-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpRequest.cs: removed extra ^Ms and fixed style of last patch.
2004-06-08 Alon Gazit <along@mainsoft.com>
* HttpRequest.cs: Add a patch for HttpRequest.ServerVariables.
2004-06-07 Sebastien Pouliot <sebastien@ximian.com>
* HttpContext.cs: User property now get/set Thread.CurrentPrincipal.
Fix (at least partially) #59683.
2004-06-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpRequest.cs: reverting patch from Alon Gazit. Uses the above file
that doesn't compile.
2004-06-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* TraceData.cs: fixes nullref in an application that relies on
r ["Message"] not being null. Closes bug #59679.
2004-06-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpCachePolicy.cs: implemented SetAllowResponseInBrowserHistory.
2004-06-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpRuntime.cs: implemented a 5 simple properties that were TODOs.
2004-06-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpBrowserCapabilities.cs: implemented ClrVersion and GetClrVersions.
* HttpException.cs: removed MonoTODO.
2004-06-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* TraceContext.cs: don't check if HttpRuntime.TraceManager
is enabled when writing.
2004-06-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpRequest.cs: added ClientTarget internal property.
2004-06-03 Lluis Sanchez Gual <lluis@ximian.com>
* HttpApplication.cs: Clear the http handler list after releasing the
handlers.
2004-06-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* TraceData.cs: html-encode the messages written to the trace. Fixes
bug #59431.
2004-06-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpWorkerRequest.cs: the hashtables are now case-insensitive. Thanks
to Markus Krutner.
2004-05-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpRequest.cs: nullify _sRequestRootVirtualDir and baseVirtualDir
when SetFilePath is called. This way the cached values are reset and
get the right value in case someone (namely SessionStateModule +
cookieless session) changes the FilePath after the property cached its
value. Fixes bug #59364.
2004-05-27 Patrik Torstensson <totte@hiddenpeaks.com>
* HttpApplicationFactory.cs: Added SignalError (still todo)
2004-05-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpResponse.cs: remove hardcoded "HTTP/1.0" version that kept
chunked encoding disabled. Fixed chunked suffix and end. Send the
'lastchunk' marked when in the final Flush even if the content length
is 0. This makes mod-mono-server work fine with chunked encoding.
* HttpRuntime.cs: Set the _firstRequest* variables to true
earlier. TraceContext don't take any parameter now.
* TraceManager.cs: don't need a context. Use GetAppConfig.
2004-05-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpApplication.cs: set culture/uiculture from configuration and
restore it after each step. Fixes bug #52851.
2004-05-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpUtility.cs: use lower case in UrlEncode like MS does. Delay
entities hashtable creation until it's really needed.
2004-05-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpApplicationFactory.cs: if no module matches the name found for a
possible event, ignore it. Fixes bug #58542.
2004-05-16 Patrik Torstensson <totte@hiddenpeaks.com>
* HttpRuntime (Init): Removed old todo
* HttApplication : Implemented IHttpHandlerFactory recycling
2004-04-28 Patrik Torstensson
* HttpApplicationState.cs: Performance, usage of ReaderWriter lock,
removed MonoTodo
2004-04-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpUtility.cs: return null in HtmlDecode for null input instead of
throwing an exception. Patch by Jan Jaros (bug #57083).
2004-04-10 Vladimir Vukicevic <vladimir@pobox.com>
* TimeoutManager.cs: Swap the order of initialization of contexts
and the Timer, to avoid race condition of CheckTimeouts being called
before contexts gets initialized.
2004-03-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpRequestStream.cs: patch from Jan Jaros that fixes bug #56080.
Now the posted file content does not have the boundaries and headers
included.
2004-03-25 Alon Gazit <along@mainsoft.com>
* HttpRequest.cs: fix ValidateCookieCollection() to prevent
InvalidCastException.
2004-03-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpValueCollection.cs: don't UrlDecode cookies. Fixes bug #55254.
2004-03-01 Larry Ewing <lewing@ximian.com>
* HttpUtility.cs: fix UrlEncodeToBytes count check.
2004-02-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpServerUtility.cs:
* HttpUtility.cs: added some checks for null. Fixed UrlPathEncode (bug
#53670).
2004-02-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpUtility.cs: fixed length check. Closes bug #54201.
Thanks to Michal Moskal. Use MemoryStream instead of an ArrayList when
decoding.
2004-02-11 Jackson Harper <jackson@ximian.com>
* TraceData.cs: Use ToString for cookie/header/var name values so
null is handled properly.
2004-02-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpApplication.cs: ApplicationState is inited by the factory so,
return that value in the property. when we use the context Session,
cache it in the instance field.
* HttpApplicationFactory.cs: fixed target Type for the event when
hooking application and module events. Initialize application
and session scope objects. Fixes non-aplication events hook up.
* HttpStaticObjectsCollection.cs: added StaticItem and delay the
creation of the objects until they are requested.
2004-01-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpApplicationFactory.cs: fixlet for session events hook.
2004-01-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpApplicationFactory.cs: attach all events from Type and BaseType
at the same time. Fixes bug #53454.
2004-01-27 Jackson Harper <jackson@ximian.com>
* HttpCachePolicy.cs: varybyparams::GetResponseHeader can return
null now, dont hadd the header if it does.
* HttpCacheVaryByParams.cs: Return null if there are no items.
2004-01-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpCachePolicy.cs: it's not public.
* HttpRuntime.cs: wait for requests before disposing the queue.
2004-01-15 Jackson Harper <jackson@ximian.com>
* HttpCachePolicy.cs: Fix typo causing varyby params headers to be
created when they shouldn't be.
2004-01-14 Jackson Harper <jackson@ximian.com>
* TraceData.cs: Fix some typos in the output text. Fix control
position when adding controls recursively.
2004-01-14 Jackson Harper <jackson@ximian.com>
* HttpCachePolicy.cs: Expose duration and sliding properties.
2004-01-14 Jackson Harper <jackson@ximian.com>
* HttpCachePolicy.cs: Add an event that is fired when the
cacheability is updated. The response uses this to determine
whether or not it needs to cache itself.
* HttpResponse.cs: When the cacheability is updated either create
or dispose of the cached raw response based on whether or not we
wil need it. This allows output caching to be controlled
programatically.
2004-01-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpContext.cs: add setter for ConfigTimeout.
* HttpException.cs: added Description property and HTML encode some
unescaped values.
* HttpRequest.cs: support request validation.
* HttpRequestValidationException.cs: added message and description.
* HttpServerUtility.cs: implemented ScriptTimeout.
2004-01-11 Jackson Harper <jackson@ximian.com>
* TraceManager.cs: Dont crash if there is no trace config element.
2004-01-11 Jackson Harper <jackson@ximian.com>
* HttpRequest.cs: Add property for determining if the request is
local or not.
2004-01-10 Jackson Harper <jackson@ximian.com>
* TraceContext.cs: Handle tracing when it is enabled in the config
file but not on the page.
* TraceManager.cs: Get settings from the configuration object.
* HttpRuntime.cs: Create trace manager in the first request start
so it can get configuration settings.
2004-01-10 Jackson Harper <jackson@ximian.com>
* TraceContext.cs: Save the request path in the trace data.
* TraceData.cs: Add RequestPath property, make some rendering
methods internal static so the TraceHandler can use them.
* TraceManager.cs: Expose trace data, add a method for clearing
trace data.
2004-01-10 Jackson Harper <jackson@ximian.com>
* HttpRuntime.cs: Add trace manager
* TraceManager.cs: New class for handling trace configuration and
storing trace data objects.
* TraceContext.cs: Save trace data to the trace manager. Fix typo.
2004-01-10 Jackson Harper <jackson@ximian.com>
* TraceData.cs: New class for storing trace data. Data is stored
here instead of the trace context so it can be saved and accessed
from the trace handler.
* TraceContext.cs: Save data in the TraceData object, let the
trace data object handle the rendering.
2004-01-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpRequest.cs: use ContentEncoding for QueryString. Fixes bug #52577.
Thanks to Jan Jaros (mono-bug@jerryweb.info).
* HttpRequestValidationException.cs: fix comment.
2004-01-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpException.cs: default to error 500. Fixes bug #52623.
2004-01-04 Jackson Harper <jackson@ximian.com>
* TraceContext.cs: Store and render trace info times. Also render
cookie sizes. Remove debug code.
2004-01-04 Jackson Harper <jackson@ximian.com>
* HttpResponse.cs: Set the cached response date header so it can
be updated.
* HttpResponseHeader.cs: Let values be set so we can update cached
response header values.
2004-01-04 Jackson Harper <jackson@ximian.com>
* HttpResponse.cs: Implement RemoveOutputCacheItem.
2004-01-04 Jackson Harper <jackson@ximian.com>
* HttpCachePolicy.cs: Add internal method to get the vary by custom string
* HttpCacheVaryByHeaders.cs: Add internal method to get the header names.
2004-01-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpRuntime.cs: implemented MachineConfigurationDirectory,
2004-1-1 Alon Gazit <along@mainsoft.com>
* HttpWriter.cs: add check in Write() in order to prevent
NullReferenceException.
2004-1-1 Alon Gazit <along@mainsoft.com>
* HttpResponse.cs: implemented ExpiresAbsolute and Expires.
2003-12-18 Jackson Harper <jackson@ximian.com>
* TraceContext.cs: Write () methods are not warnings.
2003-12-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpBrowserCapabilities.cs: added GetClrVersions ().
* HttpCachePolicy.cs: added SetAllowResponseInBrowserHistory ().
* HttpContext.cs: added set_Current and RewritePath (s, s, s) for 1.1.
* HttpRequest.cs: added set_ContentType, SetPathInfo and ValidateInput.
* HttpRequestValidationException.cs: new class for 1.1
* HttpResponse.cs: added RedirectLocation.
* HttpRuntime.cs: added UnloadAppDomain.
* HttpServerUtility.cs: Execute (s, t, b) is internal for < 1.2
* HttpUtility.cs: copied UrlPathEncode from HttpServerUtility.
* HttpWorkerRequest.cs: added [ComVisible] and made the ctor public.
2003-12-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpContext.cs: implemented IsCustomErrorEnabled and
IsDebuggingEnabled. Added internal ErrorPage property.
* HttpRuntime.cs: on error, check if we have a custom error page enabled
to handle it and redirect.
* HttpResponse.cs: added RedirectCustomError (), which actually does
the redirection to the error page.
2003-12-16 Jackson Harper <jackson@ximian.com>
* TraceContext.cs: Render all the data, and the stylesheet.
2003-12-16 Jackson Harper <jackson@ximian.com>
* TraceContext.cs: Add incomplete render method.
2003-12-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* CapabilitiesLoader.cs: loads browser detection and capabilities data
from browscap.ini file by Gary J. Keith.
* HttpBrowserCapabilities.cs: removed almost all TODOs.
* HttpRequest.cs: fixed Browser property.
2003-12-15 Jackson Harper <jackson@ximian.com>
* TraceContext.cs: Initial implementation of storing data.
* HttpContext.cs: Create and expose a trace object.
2003-12-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpApplication.cs: ThreadAbortException is ok on Redirect.
* HttpContext.cs: added TimeoutPossible property.
* HttpResponse.cs: throw ThreadAbortException if End () is called within
a step in which is possible to timeout.
Fixes bug #51703.
2003-12-04 Jackson Harper <jackson@ximian.com>
* HttpRequest.cs: Cleanup method.
2003-12-04 Jackson Harper <jackson@ximian.com>
* HttpValueCollection.cs: Allow blank value names. Posting
<blank>=SomeValue is valid. And occurs if a radio button does
not have its name set.
2003-12-03 Jackson Harper <jackson@ximian.com>
* HttpResponse.cs: Actually apply an app path modifier in
ApplyAppPathModifer and add a method to set the app path modifier.
* HttpRequest.cs: Add utility method for setting a request header.
2003-12-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpApplication.cs: handle FileNotFound and DirectoryNotFound
exceptions when creating the handler to generate a better error page.
* HttpException.cs: display the http_code if available. Changed all
\n by \r\n to make the hidden stack trace readable.
* StaticFileHandler.cs: don't send the real path in th eerror.
2003-12-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpContext.cs: updated GetConfig and GetAppConfig to new API.
* HttpResponse.cs: separate initialization of the HttpWriter, as it
tries to read configuration settings while the config. system is not
available (ie, before the first request).
* HttpRuntime.cs: delayed queueManager and response writer
initialization until the configuration system is working.
2003-11-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpRuntime.cs: added request queue handling.
* QueueManager.cs: simple request queue.
* TimeoutManager.cs: added some locks to prevent the enumerator used in
CheckTimeouts to be out of synch.
2003-11-25 Jackson Harper <jackson@ximian.com>
* HttpStaticObjectsCollection.cs: Add methods for serialization
and conversion to/from byte arrays.
2003-11-21 Jackson Harper <jackson@ximian.com>
* HttpResponse.cs: When caching data set the content length in the
cached repsonse so that only that amount will be written back to
the client. Add method to write a range of binary data.
* HttpCacheVaryByParams.cs: Add method to retrieve param names.
2003-11-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpApplication.cs:
* HttpContext.cs:
* HttpRuntime.cs: add timeout handling.
* TimeoutManager.cs: new class that takes care of aborting threads on
timeout.
2003-11-19 Jackson Harper <jackson@ximian.com>
* HttpWriter.cs: Use a constant for the buffer size so the cache
can get the buffer size. Add method to get the buffer.
* HttpResponse.cs: Methods for getting data to cache, and setting
vars from the cache.
* HttpCachePolicy.cs: Expose a pages cache expire time.
2003-11-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpResponse.cs:
* HttpWriter.cs: some fixes to allow closing a response stream without
messing the rest.
2003-11-13 Jackson Harper <jackson@ximian.com>
* HttpCachePolicy.cs: Make sure cacheability and maxage get
set. Add method to set Http response header data
* HttpCacheVaryByParams.cs: Add method to create a response header.
* HttpCacheability.cs: Add ServerAndPrivate and ServerAndNoCache.
* HttpResponse.cs: Set cache headers.
2003-11-11 Ben Maurer <bmaurer@users.sourceforge.net>
* HttpModuleCollection.cs (GetKey): Recursion, again!
2003-11-11 Ben Maurer <bmaurer@users.sourceforge.net>
* HttpClientCertificate.cs (ValidUntil): recursion!
2003-11-08 Ben Maurer <bmaurer@users.sourceforge.net>
* SiteMapNode.cs (GetDataSourceView): Implement.
* SiteMapProvider.cs: Typo fixing.
* XmlSiteMapProvider.cs: We shouldnt resolve here.
2003-11-08 Ben Maurer <bmaurer@users.sourceforge.net>
* SiteMap.cs (Init): implement a hack that doesnt need the config
stuff. Should do that later.
* SiteMapNodeCollection (OnValidate): Fix recursion.
* SiteMapProvider.cs: We dont implement some culture stuff work
around it. Fix typo.
* XmlSiteMapProvider.cs: Added.
2003-11-07 Ben Maurer <bmaurer@users.sourceforge.net>
* ISiteMapProvider.cs:
* SiteMap.cs:
* SiteMapNode.cs:
* SiteMapNodeCollection.cs:
* SiteMapProvider.cs:
* SiteMapProviderCollection.cs: V2 sitemap related stuff.
2003-11-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpRequest.cs: don't attempt to read more bytes than specified
content length.
2003-11-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpRequest.cs:
* HttpResponse.cs:
* HttpUtility.cs:
* HttpValueCollection.cs: encoding fixes/updates.
* HttpWriter.cs: when updating the encoding, flush the existing stream.
Encoding updates.
2003-11-04 Ben Maurer <bmaurer@users.sourceforge.net>
* HttpContext.cs (IsCustomErrorEnabled): dont throw exception, just
return false (which makes sense, as the custom errors *arent* enabled;
ie they dont work.
* HttpResponseStream.cs: you actually can write with len = 0
2003-11-03 Jackson Harper <jackson@ximian.com>
* HttpResponse.cs (ContentEncoding): Throw
ArgumentNullException. Patch by Yaron Shkop.
2003-10-30 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
* HttpMultipartContentParser.cs : Quick fix for cygwin build.
CSC complains that constant char cannot be casted as byte.
2003-10-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpApplication.cs: added AssemblyLocation property.
2003-10-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpApplicationFactory.cs: use NoParamsInvoker.
* HttpRequest.cs: support request filters.
* HttpRequestStream.cs: mono-stylized and added new Set method.
* NoParamsInvoker.cs: proxy class to invoke user-provided methods
without parameters that are invoked by EventHandlers.
2003-10-13 Lluis Sanchez Gual <lluis@ximian.com>
* HttpResponse.cs: Changed harcoded switch to en-US culture to a switch
to invariant culture.
2003-10-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpResponse.cs:
* HttpServerUtility.cs: change the response writer in Execute. Thanks
to Rich Alimi <rich@velvetsea.net> for noticing this.
2003-10-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpApplicationFactory.cs: support for wiring up events without
parameters.
2003-10-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpUtility.cs: small memory usage reduction.
2003-10-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpApplication.cs: pass the Uri, not the file path to
when looking for a handler.
2003-09-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpRequest.cs: small fix needed when reading big POST data.
2003-09-04 Lluis Sanchez Gual <lluis@ximian.com>
* HttpRequest.cs: Url property: use GetLocalAddress() to get the address
(this will get the address from the request headers).
2003-09-04 Lluis Sanchez Gual <lluis@ximian.com>
* HttpServerUtility.cs: In Transfer(), preserve the query string if
told to do so.
2003-08-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpApplication.cs: ensure we do all the EndRequest steps. Don't
filter the output on error.
* HttpResponse.cs: modified DoFilter to allow bypassing filtering.
2003-08-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpApplication.cs: when the request is completed or an
error happens, execute all the delegates attached to EndRequest, not
only the last one. This makes xsp/test/authtest work again.
* HttpMethodNotAllowedHandler.cs: fixed description for http
status code.
2003-08-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpRequest.cs: quick way of checking that the path is within the
root for the application. Thanks to Johannes for reporting.
* HttpRuntime.cs: use the status code from teh exception when it'ss a
HttpException.
* StaticFileHandler.cs: forbidden is 403.
2003-08-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpServerUtility.cs: fixed path and query. Path by Rich Alimi
<rich@velvetsea.net>.
2003-08-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpException.cs: make the unhandled error more like the MS one.
* HttpRuntime.cs: set a 500 error code on unhandled exceptions.
2003-08-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpResponse.cs: flush headers when the body length is 0.
* StaticFileHandler.cs: added If-Modified-Since handling patch slightly
modified from the original by Piers Haken <piersh@friskit.com>.
2003-08-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpResponse.cs: another patch from totte and me. This one prevents
writing output if the client have disconnected and filters the data
when there's a non-final Flush in the middle of the process.
2003-08-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpApplication.cs: fixed typos. Closes bug #44197.
2003-08-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpApplication.cs:
* HttpApplicationFactory.cs: fix duplicate application OnStart events.
Patch by Patrik Torstensson.
2003-08-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpApplicationFactory.cs: use the correct Delegate.CreateDelegate
overload. The previous one only admits static methods.
2003-08-01 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
* ProcessModelInfo.cs: Fixed signature
2003-07-30 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
* WebCategoryAttribute.cs: Implemented localization
* WebSysDescriptionAttribute.cs: Implemented localization
2003-07-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpRuntime.cs: also clear the headers that may have been set upon
error processing the request.
2003-07-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpResponseStreamProxy.cs: reformatted. Fixed infinite recursion in
Write method.
* HttpWriter.cs: flush the filter after writing.
2003-07-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpWriter.cs: avoid duplicating the MemoryStream byte buffer.
2003-07-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpContext.cs: Session doesn't have a setter.
* HttpResponse.cs: Request is private.
2003-07-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpRequest.cs: fixed Headers property. It was getting known headers
values instead of known headers names.
2003-07-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpApplication.cs: prevent nullref if an error happens before context
is set.
* HttpException.cs: small fix in the stack trace sent.
* HttpUtility.cs: the lock is not needed.
2003-06-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpRequest.cs: added REMOTE_PORT.
* HttpValueCollection.cs: fixed bug #45490.
2003-05-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpApplication.cs:
* HttpApplicationFactory.cs: fire application start and session
start/end events.
2003-05-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpException.cs: encode as HTML the inner exception that
is appended as a comment at the end of error pages.
2003-05-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpWriter.cs: don't do anything in Flush. Fixes #42249.
2003-05-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HtmlizedException.cs: added more virtual methods.
* HttpException.cs: some work on the output when there's a source
file present.
2003-04-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HtmlizedException.cs: simplified to cope with the new interface.
* HttpApplicationFactory.cs: use the application file parser to get the
application Type.
* HttpException.cs: small changes. Needs some more work on
ParseExceptions.
2003-03-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpRequest.cs: fixed Url property.
2003-03-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HtmlizedException.cs:
* HttpException.cs: display the correct line number in error messages.
2003-03-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpCachePolicy.cs: implemented all TODOs.
* HttpRequestStream.cs: make it internal.
2003-03-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpContext.cs: implemented RewritePath in other way.
* HttpRequest.cs: removed SetPhysicalPath and added SetForm.
* HttpServerUtility.cs: implemented Transfer (string, bool).
2003-03-16 Daniel Lopez Ridruejo <daniel @ rawbyte.com>
* HttpContext.cs : Implemented RewritePath
* HttpRequest.cs : Added internal function SetPhysicalPath
2003-03-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpServerUtility.cs: implemented Transfer ().
2003-03-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpRuntime.cs: Cache no longer have a Dispose method.
* HttpServerUtility.cs: removed MonoTODO.
2003-03-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpHelper.cs: store the values in an ArrayList to get them in correct
order.
2003-02-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpApplicationFactory.cs: Global.asax takes precedence over
global.asax if it exists.
* HttpRequest.cs: use allowCrossAppMapping in MapPath.
2003-02-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpApplication.cs: CreateHttpHandler is now internal.
* HttpRequest.cs: allow setting QueryStringRaw, which
invalidates the data obtained from the previous value. Added internal
SetFilePath method.
* HttpServerUtility.cs: implemented Execute and GetLastError.
2003-02-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpServerUtility.cs: style.
2003-02-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpApplication.cs: only execute the EndRequest step on error
condition or request marked as completed. This prevent page events from
being called when, for example, the url authorization module forbids
the request.
2003-02-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpRequest.cs: implemented the indexer.
2003-02-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HtmlizedException.cs: base class for exceptions that makes it easy to
generate error pages.
* HttpException.cs: improved error displaying.
* HttpRuntime.cs: removed debugging output.
2003-02-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpApplication.cs: display the error instead of hanging when we get
any error before the last step of the request.
2003-02-04 Tim Haynes <thaynes@openlinksw.com>
* HttpApplicationFactory.cs: fixed HttpRuntime.Close() to decrement
instance counter.
2003-01-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpRequest.cs: added BaseVirtualDir property and use it in MapPath.
2003-01-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpRequest.cs: implemented CurrentExecutionFilePath.
2003-01-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpApplication.cs: keep _lasterror if no context. Attach
application events *after* modules initialization (if not, User is not
set when the user handler is called).
* HttpApplicationFactory.cs: made all methods related to
AttachEvents static. I will fix OnStart/OnEnd for application and
session later.
* HttpRequest.cs: don't initialize cookies twice.
2003-01-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpResponse.cs:
(ApplyAppPathModifiers): return the root directory for "".
2003-01-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpUtility.cs: fixed HtmlDecode to avoid ArgumentOutOfRangeException.
2003-01-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpApplication.cs: added new state to handle default authentication.
2003-01-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpContext.cs: removed hack to get the User.
2003-01-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpUtility.cs: fixed bug #36038. Thanks to juancri@tagnet.org for
reporting the bug and how to fix it.
2002-12-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpCookie.cs: send 'expires' in the header.
2002-12-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpValueCollection.cs: patch from Botjan Vizin
<bostjan.vizin@siol.net> that implements ToString (bool).
2002-12-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpApplicationFactory.cs: add the context as parameter when building
the application Type.
* HttpCookie.cs: new internal constructor.
* HttpCookieCollection.cs: new internal method to make a cookie expire.
* HttpRequest.cs: MapPath fixes.
* HttpResponse.cs: implemented ApplyAppPathModifier.
* HttpRuntime.cs: fixed typo in AppDomainAppVirtualPath.
2002-12-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpContext.cs: hack to create a default user when there's no one.
Implemented GetConfig (string).
* HttpRequest.cs: fixes to MapPath (string).
2002-12-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpRuntime.cs: avoid nulls and exception when getting resource
format strings.
* StaticFileHandler.cs: added file name to error message.
2002-12-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpResponse.cs: avoid sending chunked content for HTTP/1.1.
2002-12-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpApplicationFactory.cs: get the events from the application class,
fire Application/Session Start/End and add the others as application
events.
2002-11-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpApplicationFactory.cs: compile global.asax file if it exists.
2002-11-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpRequest.cs: provide a default Browser until we detect it.
* HttpResponse.cs:
(End): do not close the connection here.
(Flush (bool)): send the headers when, for example, Redirect () is
called.
2002-11-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpException.cs: simple error output.
2002-11-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpApplication.cs: style.
* HttpException.cs: style.
* HttpRuntime.cs: only flush the response if there are no errors.
Otherwise, write an error output.
* HttpWriter.cs: change Unicode to UTF8.
2002-11-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpApplication.cs: don't begin the request using ExecuteNextAsync
(it fails to work on NetServ).
* HttpWorkerRequest.cs: typo.
2002-11-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpValueCollection.cs: the value may contain trailing '=' as it is
UrlEncoded. Don't split name=value based on '='.
2002-11-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpCookie.cs: made GetCookieHeader internal.
* HttpRequest.cs: get cookies from request.
* HttpResponse.cs: send cookies. Implemented
AddFileDependencies (). Added check for _Writer == null in Flush
(Patrik ;-). Clear the content if HEAD or SupressContent == true.
Removed redirect hack used in old server.
2002-10-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpRequest.cs: fixed GetRawContent (). Now it only tries to read at
most ContentLength bytes.
* HttpResponse.cs: now it sends the headers. Added
X-Powered-By header :-).
* HttpRuntime.cs: fixed typo.
* HttpValueCollection.cs: cosmetic changes.
2002-10-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpApplication.cs: reenabled a few lines of code
(ThreadPool already fixed).
* HttpRequest.cs:
* HttpResponse.cs:
* HttpUtility.cs:
* HttpValueCollection.cs:
* HttpWriter.cs: Use WebEncoding.Encoding.
2002-10-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpWriter.cs: changed encoding of the writer from Unicode to UTF8.
This fixes sending bytes and allows mixing byte with chars.
2002-10-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpResponse.cs: implemented WriteFile methods.
* MimeTypes.cs: removed duplicated entries.
2002-10-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpResponse.cs: don't throw exception in a couple of
methods not yet implemented.
2002-10-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpApplication.cs: fixed type and handle factories when creating
IHttpHandler for a request.
2002-10-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpApplication.cs: use handlers from configuration.
* HttpContext.cs: get handlers from ConfigurationSettings.
2002-10-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpMethodNotAllowedHandler.cs:
* HttpRuntime.cs:
* StaticFileHandler.cs: Modified file.
* HttpUtility.cs: implemented all missing methods.
2002-09-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* System.Web/HttpApplication.cs: use the static file handler.
* System.Web/HttpForbiddenHandler.cs: handler to forbid access.
* System.Web/HttpMethodNotAllowedHandler.cs: handler for method not
allowed.
* System.Web/HttpUtility.cs: finished all UrlDecode methods.
* System.Web/MimeTypes.cs: map from file extension to MIME type.
* System.Web/StaticFileHandler.cs: serves static files
2002-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* System.Web/HttpApplication.cs:
* System.Web/HttpApplicationFactory.cs:
* System.Web/HttpRequest.cs:
* System.Web/HttpRuntime.cs: we are now able to compile pages and use
HttpApplication, HttpRuntime and SimpleWorkerRequest.
2002-09-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpApplication.cs: added some missing methods.
* HttpApplicationFactory.cs: get event handlers for the application.
* HttpAsyncResult.cs: little fixes.
* HttpRequest.cs: make Encoding work even with no worker request.
2002-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpWorkerRequest.cs: mcs doesn't go crazy. It's just me, that forgot
to add HttpMapPath to the list file...
2002-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpWorkerRequest.cs: fixes compilation with mcs. I will add a bug
report when i get a test case.
2002-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpApplicationFactory.cs:
* HttpCachePolicy.cs:
* HttpResponseHeader.cs:
* HttpResponseStream.cs:
* HttpResponseStreamProxy.cs:
* HttpValueCollection.cs: misc. fixes based on class status page.
* IHttpMapPath.cs: New file.
* HttpRequest.cs: implemented ContentEncoding.
* HttpWorkerRequest.cs: mono-stylized and implemented
SendResponseFromMemory.
2002-08-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpContext.cs: reformatted.
* HttpStaticObjectsCollection.cs: implemented GetEnumertor, CopyTo and
the indexer.
2002-08-05 Patrik Torstensson <ptorsten@hotmail.com>
* HttpApplication.cs: Implemented a state machine to allow handling of
HttpModules and HttpHandlers. Implementation of async handlers.
* HttpApplicationFactory.cs: Factory for creating HttpApplication
instances, including caching.
* HttpRuntime.cs: Usage of the new HttpApplicationFactory to get a
application instance to execute requests in and implementation of
request execution (still no request queue).
* HttpAsyncResult.cs: New file to handle async module results.
* HttpRequest.cs: Change signature of Dispose
* HttpResponse.cs: new internal method allowing filtering to happen
during the request flow in the state machine.
2002-07-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpApplication.cs: events were not being initialized.
2002-07-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* ProcessModelInfo.cs: fixed compilation.
2002-07-25 Tim Coleman <tim@timcoleman.com>
* ProcessModelInfo.cs:
New class added
* HttpParseException.cs:
* HttpCompileException.cs:
* HttpUnhandledException.cs:
Internal constructors added to these
2002-07-24 Tim Coleman <tim@timcoleman.com>
* ProcessInfo.cs:
Fix constructor, reference to shutdownreason.
2002-07-24 Tim Coleman <tim@timcoleman.com>
* HttpCachePolicy.cs:
Added stubbs to this class.
* HttpCacheability.cs:
* HttpCacheRevalidation.cs:
* HttpValidationStatus.cs:
* ProcessShutdownReason.cs:
* ProcessStatus.cs:
* TraceMode.cs:
Reorder the enumerations (and in some cases make
one-based) in order to agree with the .NET
implementation, based on the class status page.
* ProcessInfo.cs:
Implementation of this class.
2002-07-23 Tim Coleman <tim@timcoleman.com>
* HttpCompileException.cs:
* HttpParseException.cs:
* HttpUnhandledException.cs:
New stubbs created.
* HttpApplication.cs:
* HttpBrowserCapabilities.cs:
Added missing methods stubbs and attributes based
on the class status page. Also reformatted some
source for consistency.
2002-07-23 Tim Coleman <tim@timcoleman.com>
* HttpUtility.cs: Moved entities hashtable into main
class as a static object, so we don't instantiate
a new one every time. Also put the hashtable
building into a lock block.
2002-07-22 Tim Coleman <tim@timcoleman.com>
* HttpUtility.cs: Cleanup of the code, implementation
of HtmlDecode/HtmlEncode functions
2002-07-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpResponse.cs: quick&dirty hack to make redirection work. Should
be out of there once we have SimpleWorkerRequest.
2002-07-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpUtility.cs: little typo, big headache.
2002-07-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpRuntime.cs: don't throw NotImplemented in a couple of methods.
2002-06-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* System.Web/HttpResponse.cs:
Fixes based on class status page:
- Add attributes (DefaultEvent, ParseChildren).
- Fix declarations.
- Explicitly implement some interfaces (IPostBackDataHandler
and IPostBackEventHandler).
- Implemented some missing methods.
2002-06-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpContext.cs:
(Session): return null instead of throwing an exception.
* HttpRequest.cs:
(HttpMethod): return RequestType if not set.
(GetRawContent): return QueryString if we don't have a
HttpWorkerRequest.
* HttpUtility.cs: fixed Decode and Encode.
2002-06-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpApplication.cs:
* HttpContext.cs: added System.Web.SessionState namespace.
* HttpSessionState.cs: removed. It is under
System.Web.SessionState.
2002-06-10 Duncan Mak <duncan@ximian.com>
* HttpBrowserCapabilities.cs (BackgroundSounds): Fixed typo.
2002-06-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpRequest.cs: implemented Browser property.
2002-06-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpBrowserCapabilities.cs: stubbed out.
2002-05-18 Miguel de Icaza <miguel@ximian.com>
* HttpRuntime.cs: Reformat file.
2002-05-07 Duncan Mak <duncan@ximian.com>
* HttpBrowserCapabilities.cs: Added, replacing
HttpBrowserCapabilites because of typo.
* HttpBrowserCapabilites.cs: Removed, replaced by above.
* HttpRequest.cs (Browser): Fixed typo.
2002-04-12 Patrik Torstensson <patrik.torstensson@labs2.com>
* HttpApplication.cs: Minor updates
* HttpApplicationState.cs: Ready.
* HttpClientCertificate.cs: Signature updates
* HttpValueCollection.cs: ready
* HttpStaticObjectsCollection.cs: ready
* HttpResponseHeader.cs: made internal only
* HttpResponse.cs: Signature updates
* HttpPostedFile.cs: ready
* HttpCacheVaryByHeaders.cs: ready (except communication to policy)
* HttpCacheVaryByParams.cs: ready (except communication to policy)
System.Web is now over 60% ready..
2002-04-11 Patrik Torstensson <patrik.torstensson@labs2.com>
* HttpException.cs: 95% ready, only windows dependent code left
* HttpFileCollection.cs: Finished.
* HttpRequest.cs: Minor fixes and fixed signature problems
* HttpResponse.cs: Implementation of missing methods and signature problems
* HttpResponseHeader.cs: Fixed signature problems
* HttpRuntime.cs: Fixed signature problems
* HttpServerUtility.cs: Added support for HttpApplication
* HttpSessionState.cs: Fixed signature issues
* HttpUtility.cs: fixed signature issues
* HttpValueCollection.cs: Support for cookie parsing and fixed signature issues
* HttpWorkerRequest.cs: Fixed small signature issue
* HttpWriter.cs: Fixed signature issue
* HttpApplication.cs: Basic implementation
* HttpApplicationState.cs: Small fixes to support major change comming up
* HttpBrowserCapabilities.cs: Added Type method
* HttpClientCertificate.cs: Almost ready, needs to parse certificate.
* HttpContext.cs: Fixed signature issues and added last methods.
* HttpCookie.cs: Full implementation
* HttpCookieCollection.cs: Full implementation
* TraceContext.cs: Methods implemented.
* HttpPostedFile.cs: Placeholder
* HttpStaticObjectsCollection.cs: Placeholder
* HttpModuleCollection.cs: Ready, will be used during the major revamp.
* Fixed a number of other small signature problems also (class status page)
2002-04-10 Patrik Torstensson <patrik.torstensson@labs2.com>
* HttpWorkerRequest.EndOfSendNotification.cs Removed (included in WorkerRequest)
* Checkin of all new files (noted in last changenote)
2002-04-10 Patrik Torstensson <patrik.torstensson@labs2.com>
* HttpContext.cs: First implementation (basic support, few methods left to impl)
* HttpException.cs: Partial implementation (basic support)
* HttpHelper.cs: Header parse helper, used by runtime (non public)
* HttpRequest.cs: Implementation (all methods there, not all fully impl)
* HttpRequestStream.cs: Full implementation
* HttpResponse.cs: Partial implementation(almost all methods)
* HttpResponseHeader.cs: Header helper
* HttpResponseStream.cs: Full implementation - Response stream support
* HttpResponseStreamProxy.cs: Implementation - filter support
* HttpRuntime.cs: Rewrite to support one IHttpModule (use for testing the runtime)
* HttpServerUtility.cs: Implemented usage of HttpContext for methods
and moved encoding functions to HttpUtility.
* HttpUtility.cs: Added encoding/decoding functions from HttpServerUtility and
added the Attribute encoding functions.
* HttpValueCollection.cs: Implementation.
* HttpWorkerRequest.cs: Rewrite and implementation of all methods (ready)
* HttpWriter.cs: Implementation (with filter support)
* HttpFileCollection: Added dummy class (placeholder)
* HttpApplication.cs: Added dummy class (placeholder)
* HttpApplicationState.cs: Added dummy class (placeholder)
* HttpBrowserCapabilities.cs: Added dummy class (placeholder)
* HtttpCachePolicy.cs: Added dummy class (placeholder)
* HttpClientCertificate.cs: Added dummy class (placeholder)
* HttpSessionState.cs: Added dummy class (placeholder)
* TraceContext.cs: Added dummy class (placeholder)
2002/04/10 Nick Drochak <ndrochak@gol.com>
* HttpServerUtility.cs: Fix build breaker.
2002-03-28 Wictor Wiln <wictor@iBizkit.se>
* HttpServerUtils.cs : Added some more functionality
2002-03-28 Martin Baulig <martin@gnome.org>
* HttpServerUtils.cs (UrlDecode): You cannot implicitly cast a
char to a string, use ToString() instead.
2002-03-16 Gaurav Vaish <gavish@iitk.ac.in>
* WebCategoryAttribute.cs
: Added private attribute.
2002-03-16 Gaurav Vaish <gavish@iitk.ac.in>
* HttpRuntime.cs : Stubbed methods for
FormatStringResource(...) in agreement with the various
overloads available at String.Format(...)
2002-01-08 Gaurav Vaish <gavish@iitk.ac.in>
* TODOAttribute.cs : Added, as an internal class to the assembly
2002-01-03 Nick Drochak <ndrochak@gol.com>
* HttpRuntime.cs: remove uneeded exception variable from catch and
initialize remaining instance members to avoid compile warnings
2002-01-02 Nick Drochak <ndrochak@gol.com>
* HttpRuntime.cs: fix spelling error/variable name change.
2001-12-18 Gaurav Vaish <gvaish@iitk.ac.in>
* HttpRuntime.cs : Initial implementation
2001-08-29 Bob Smith <bob@thestuff.net>
* HttpWorkerRequest.cs: Partial Implementation.
2001-08-16 Bob Smith <bob@thestuff.net>
* HttpCookieCollection.cs, HttpCookie.cs: Bug fixes.
2001-08-09 Bob Smith <bob@thestuff.net>
* BeginEventHandler.cs: Implemented.
* EndEventHandler.cs: Implemented.
* HttpCacheability.cs: Implemented.
* HttpCacheRevalidation.cs: Implemented.
* HttpCacheValidateHandler.cs: Implemented.
* HttpCookieCollection.cs: Implemented.
* HttpCookie.cs: Implemented.
* HttpValidationStatus.cs: Implemented.
* HttpWorkerRequest.EndOfSendNotification.cs: Implemented.
* IHttpAsyncHandler.cs: Implemented.
* IHttpHandler.cs: Implemented.
* IHttpHandlerFactory.cs: Implemented.
* IHttpModule.cs: Implemented.
* ProcessShutdownReason.cs: Implemented.
* ProcessStatus.cs: Implemented.
* TraceMode.cs: Implemented.
|