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
|
2007-08-10 Gert Driesen <drieseng@users.sourceforge.net>
* PageParser.cs: Replace enableSessionState and readOnlySessionState
bools with enum backed field. Move 1.0 profile code for checking value
of EnableSessionState pages config to PagesConfigurationHandler.
Fixes bug #82392 for 1.0 profile.
2007-08-09 Marek Habersack <mhabersack@novell.com>
* PageParser.cs: honor web.config enableSessionState
ReadOnly setting instead of overwriting based on default value for
page directive EnableSessionState. Patch from Joel Reed
<joelwreed@comcast.com>, thanks! Fixes bug #82392
2007-07-24 Igor Zelmanovich <igorz@mainsoft.com>
* ClientScriptManager.cs: fixed: GetCallbackEventReference method.
2007-07-23 Igor Zelmanovich <igorz@mainsoft.com>
* Page.cs: refactoring: __doPostBack client script
It is a part of adapting System.Web to work whith
System.Web.Extensions (AJAX).
2007-07-23 Konstantin Triger <kostat@mainsoft.com>
* Control.cs: calculate AppRelativeTemplateSourceDirectory from HttpContext
when control is not in control collection.
2007-07-22 Konstantin Triger <kostat@mainsoft.com>
* Control.cs,
TemplateControl.cs: base AppRelativeTemplateSourceDirectory property
on TemplateControl; implement special behavior of Control.TemplateControl for
TemplateControl instances.
2007-07-18 Marek Habersack <mhabersack@novell.com>
* ControlBuilder.cs: on the 2.0 profile BindingContainerType
returns the associated control's base type when parent builder is
absent instead of typeof (Control). It returns typeof (Control) if
the parent builder type is determined to be a
NamingContainer. This makes the generated code match the MS.NET
output. Fixes bug #82119.
2007-07-18 Igor Zelmanovich <igorz@mainsoft.com>
* Page.cs:
* ClientScriptManager.cs:
scripts, registered using RegisterClientScriptInclude,
RegisterClientScriptResource and RegisterClientScriptBlock appear on Page
in order matches the order in which the scripts were registered.
2007-07-16 Igor Zelmanovich <igorz@mainsoft.com>
* Control.cs: fixed EnsureID.
ID is not assigned, if already was set.
2007-07-12 Vladimir Krasnov <vladimirk@mainsoft.com>
* ClientScriptManager.cs: refactored event validation data structure
* Page.cs: fixed InternalProcessRequest, event validation list should
be cleared before render
2007-06-24 Vladimir Krasnov <vladimirk@mainsoft.com>
* ObjectStateFormatter.cs: optimized loops in array formatters
2007-07-03 Marek Habersack <mhabersack@novell.com>
* SimpleWebHandlerParser.cs: improve directive
pre-parsing. Directives can span multiple lines, they don't have
to start at the beginning of the line and any content can follow
them after the directive end. Also, do not trim the input since
that might affect program content. Fixes bug #81993.
2007-07-02 Marek Habersack <mhabersack@novell.com>
* Control.cs: make sure TemplateSourceDirectory returns meaningful
results in the 1.1 profile. Fixes bug #81950.
2007-06-24 Vladimir Krasnov <vladimirk@mainsoft.com>
* ObjectStateFormatter.cs: WriterContext.RegisterCache, refactored out
parameter
2007-06-20 Marek Habersack <mhabersack@novell.com>
* BasePartialCachingControl.cs: use HttpRuntime.InternalCache to
keep the private entries.
2007-06-18 Igor Zelmanovich <igorz@mainsoft.com>
* Control.cs: revised the changes from r79982.
2007-06-18 Igor Zelmanovich <igorz@mainsoft.com>
* Control.cs: optimized flow in ResolveClientUrl.
2007-06-15 Gert Driesen <drieseng@users.sourceforge.net>
* ObjectStateFormatter.cs: Avoid NRE in Serialize. Fixes bug #81851.
2007-06-09 Marek Habersack <mhabersack@novell.com>
* TemplateControl.cs: make sure TemplateControl is set to the
current control.
* Control.cs: TemplateControl property goes up the parent chain if
the property isn't defined in the current control.
TemplateSourceDir finally implemented correctly.
2007-06-06 Marek Habersack <mhabersack@novell.com>
* Control.cs: more changes to the way TemplateSourceDirectory
works in the 2.0 profile. Take into account situations when a
control is placed in a UserControl (.ascx) and only then fall back
to the parent for its TemplateSourceDirectory.
2007-06-05 Marek Habersack <mhabersack@novell.com>
* Control.cs: TemplateSourceDirectory uses TemplateControl to
lookup the virtual source directory in the 2.0 instead of the
Parent.
ResolveClientUrl copes with empty TemplateSourceDirectory in the
correct way now - the check is made after the basePath checks.
The changes above make ResolveClientUrl work properly when called
from within a control residing in a TemplateControl.
2007-05-30 Vladimir Krasnov <vladimirk@mainsoft.com>
* HtmlTextWriter.cs: EncodeAttributeValue should call
HtmlAttributeEncode as documented
2007-05-24 Marek Habersack <mhabersack@novell.com>
* PageParser.cs: added support for the PreviousPageType
directive.
2007-05-23 Marek Habersack <mhabersack@novell.com>
* TemplateParser.cs: use VirtualPathUtility.Combine to properly
create the custom control's virtual path.
2007-05-22 Marek Habersack <mhabersack@novell.com>
* TemplateBuilder.cs: in the absence of containerAttribute,
default to two-way binding direction.
2007-05-21 Igor Zelmanovich <igorz@mainsoft.com>
* DataSourceView.cs: refactoring: Update, Insert methods:
exception is re-thrown from catch scope.
It allows actual call stack be shown
2007-05-17 Vladimir Krasnov <vladimirk@mainsoft.com>
* TemplateControl.jvm.cs: refactored key for CachedString method
2007-05-16 Vladimir Krasnov <vladimirk@mainsoft.com>
* HtmlTextWriter.cs: refactoring, created hashtables for tags, styles
and attributes arrays, that gives performance improvement in GetTagKey
GetStyleKey and GetAttributeKey methods
2007-05-15 Marek Habersack <mhabersack@novell.com>
* TemplateControl.cs: implemented the 3-parameter overloads of
GetLocalResourceObject and GetGlobalResourceObject.
* TemplateParser.cs: refactoring - use HttpApplication.LoadType to
actually look up types.
* ControlBuilder.cs: as above
2007-05-14 Marek Habersack <mhabersack@novell.com>
* ClientScriptManager.cs: put the hidden field within a <div>, the
way MS.NET does it.
2007-05-11 Gert Driesen <drieseng@users.sourceforge.net>
* ControlBuilder.cs: Fixed exception message in MapType.
2007-05-10 Marek Habersack <mhabersack@novell.com>
* Control.cs: small formatting change
2007-05-10 Igor Zelmanovich <igorz@mainsoft.com>
* Page.cs: ExecuteRegisteredAsyncTasks:
implimentation for TARGET_JVM doesn't use WaitHandle.WaitAll, but WaitOne
2007-05-09 Vladimir Krasnov <vladimirk@mainsoft.com>
* HtmlTextWriter.cs: used classes instead of sctrucs in TARGET_JVM for
AddedTag, AddedStyle and AddedAttr members
* TemplateControl.jvm.cs: refactored CachedString method
2007-05-09 Marek Habersack <mhabersack@novell.com>
* CollectionBuilder.cs: formatting changes
* ControlBuilder.cs: if a control enables children as properties,
has a default property and parser encounters a child tag/container
with the default property name, discard the default property
builder in order to avoid invalid sub builder invocation. An
example is: <asp:DropDownList><Items></Items></asp:DropDownList>
Formatting changes.
When checking for empty string, use Length not comparison with ""
2007-05-08 Marek Habersack <mhabersack@novell.com>
* CssStyleCollection.cs: put the style in the bag each time a key
is set, otherwise resetting of a key has no effect on rendered
style.
2007-05-07 Marek Habersack <mhabersack@novell.com>
* TemplateParser.cs: added support for implicit language
detection. If the language isn't set explicitly in the Page
directive, the language value taken from the configuration
considered to be implicit - that is, it can be overwritten by the
first <script> with the runat="server" and language="xx" sets the
language for the parser. This makes it possible to have the
default language set to "C#" and the inline code in, e.g.,
VisualBasic.
* ControlBuilder.cs: when mapping types, catch casses of missing
original and mapped types.
If mapped type doesn't derive from the original type, throw an
exception. Fixes bug #81553.
2007-05-04 Marek Habersack <mhabersack@novell.com>
* Control.cs: added an internal method to resolve a physical path
to a file from its virtual path considering the possibility that a
control is placed in a master page, which in turn is referenced
from a directory another than that of master page itself.
2007-05-03 Igor Zelmanovich <igorz@mainsoft.com>
* AttributeCollection.cs:
* DataBindingHandlerAttribute.cs:
* HtmlTextWriter.cs:
* PartialCachingControl.cs:
* TemplateControl.cs:
* TemplateControl.jvm.cs:
* XPathBinder.cs:
added missing API.
2007-05-03 Igor Zelmanovich <igorz@mainsoft.com>
* CssStyleCollection.cs: optimization:
used StringBuilder instead string to hold value.
When added key that not exists in collection, value is recalculated by
appending required key to existing value.
2007-05-02 Igor Zelmanovich <igorz@mainsoft.com>
* Control.cs: ResolveClientUrl: optimization.
if basePath is the same as TemplateSourceDirectory
releativeUrl is returned as is.
2007-05-02 Igor Zelmanovich <igorz@mainsoft.com>
* Control.cs:
ResolveClientUrl considers TemplateSourceDirectory property.
2007-05-01 Marek Habersack <mhabersack@novell.com>
* PageParser.cs: clientTarget comparisons must be case-insensitive
2007-04-30 Konstantin Triger <kostat@mainsoft.com>
* DataBinder.cs: When formatting, threat empty string as null.
2007-04-27 Marek Habersack <mhabersack@novell.com>
* TemplateControlParser.cs: 2.0 allows 'Namespace' without the
'Assembly' attribute on tag prefix registration.
* TemplateParser.cs: do not rely on assembly name being not null.
2007-04-19 Gert Driesen <drieseng@users.sourceforge.net>
* TemplateParser.cs: On 2.0 profile, allow namespace in ClassName
attribute. Fixes part of bug #81399.
2007-04-11 Marek Habersack <mhabersack@novell.com>
* Page.cs: check whether control passed to
RegisterRequiresPostBack implements the IPostBackDataHandler
interface.
2007-04-06 Marek Habersack <mhabersack@novell.com>
* ClientScriptManager.cs: render the 'type' attribute in
WriteScript and do not render the 'language' attribute when in
NET_2_0+ mode.
* Page.cs: defaults for ViewStateEncrptionMode and AsyncTimeout
are read from the pages section, if found.
* TemplateControlParser.cs: added support for loading
pages/controls defaults from web.config even if the page/control
does not have its corresponding directive.
Added support for reading the CompilationMode attribute.
* PageParser.cs: added support for loading pages/controls defaults
as above. Fixes bug #80915.
Added support for reading the maxPageStateFieldLength setting.
Added support for reading the pageParserFilter setting.
* ControlBuilder.cs: allow tag mappings from code found
in bin/* or App_Code/*. Fixes bug #80811.
2007-03-29 Vladimir Krasnov <vladimirk@mainsoft.com>
* TemplateControl.jvm.cs: performance improvement, added cache for
methods and events in user code
2007-03-26 Marek Habersack <mhabersack@novell.com>
* TemplateControl.cs: make local resources work with master
pages - use the AppRelativeVirtualPath for resource resolution.
* TemplateParser.cs: support the meta:resourcekey attribute in
Page and Control directives. Fixes bug #81204.
2007-03-21 Marek Habersack <mhabersack@novell.com>
* UnknownAttributeDescriptor.cs: an internal helper class for
custom directive attributes support.
* BaseParser.cs: ThrowParseException can now take variadic
parameters, for convenience.
* TemplateParser.cs: add support for custom attributes for the
Page and Control directives.
Added support for the CodeFileBaseClass directive. Fixes bug #81132
2007-03-20 Igor Zelmanovich <igorz@mainsoft.com>
* Control.cs: fixed ResolveClientUrl method.
2007-03-18 Marek Habersack <mhabersack@novell.com>
* BaseParser.cs: fix BaseVirtualDir to always return app-absolute
paths.
2007-03-17 Marek Habersack <mhabersack@novell.com>
* MasterPageParser.cs: remove superfluous #ifdef
* TemplateParser.cs: use VirtualPathUtility here
2007-03-14 Vladimir Krasnov <vladimirk@mainsoft.com>
* TemplateControl.jvm.cs: fixed WireupAutomaticEvents, performance
optimization
2007-03-13 Marek Habersack <mhabersack@novell.com>
* TemplateParser.cs: name generated classes the same way MS.NET
does - include the app-relative path to the control/page in the
class name.
2007-03-13 Adar Wesley <adarw@mainsoft.com>
* Page.cs: improved Async Page implementation.
2007-03-13 Marek Habersack <mhabersack@novell.com>
* TemplateControl.cs: implement AppRelativeVirtualPath. Closes bug
#80634.
2007-03-12 Marek Habersack <mhabersack@novell.com>
* RootBuilder.cs: change the error text to be less misleading.
2007-03-12 Igor Zelmanovich <igorz@mainsoft.com>
* AttributeCollection.cs:
* CssStyleCollection.cs: fixed: works w/o state bag.
2007-03-12 Igor Zelmanovich <igorz@mainsoft.com>
* HtmlTextWriter.cs: fixed:
- Fixed writing background-image style attribute (different behavior in
1.1 and 2.0).
- Does not encode 'name' attribute.
- Always encode style attributes (for 2.0 only).
2007-03-06 Adar Wesley <adarw@mainsoft.com>
* Page.cs: initial implementation of support for Async=true. Added
initial support for ViewStateEncryption. Implemented
CreateHtmlTextWriterFromType.
* PageAsyncTask.cs: Created class to support Async pages.
* ObjectStateFormatter.cs: Added support for ViewState encryption.
* HtmlTextWriter.cs: Fixed constructor to accept null TextWriter
to conform to MS behavior.
2007-03-05 Vladimir Krasnov <vladimirk@mainsoft.com>
* Control.jvm.cs: fixed TemplateSourceDirectory property
2007-03-03 Marek Habersack <mhabersack@novell.com>
* TemplateParser.cs: support but ignore the Async and AsyncTimeOut
page directive attributes.
Support the LinePragmas page directive attribute.
* PageParser.cs: added support for the
MaintainScrollPositionOnPostBack page directive attribute.
2007-02-26 Igor Zelmanovich <igorz@mainsoft.com>
* TemplateControl.cs:
* TemplateControl.jvm.cs: fixed: AutoEventWireup feature:
Method 'Page_XXX' is declared in the base class must be
called even is private.
2007-02-26 Vladimir Krasnov <vladimirk@mainsoft.com>
* Control.cs: fixed AppRelativeTemplateSourceDirectory property, should
not return AppRelativeTemplateSourceDirectory of master page
2007-02-26 Igor Zelmanovich <igorz@mainsoft.com>
* ClientScriptManager.cs: fixed: GetScriptLiteral escapes back-slash:
2007-02-22 Igor Zelmanovich <igorz@mainsoft.com>
* TemplateControl.cs: added missing property AppRelativeVirtualPath
2007-02-21 Konstantin Triger <kostat@mainsoft.com>
* TemplateParser.cs: remove CodeGenerator.IsValidLanguageIndependentIdentifier
check from Global.asax inherits attribute to let inherits="A.B" construct.
2007-02-20 Igor Zelmanovich <igorz@mainsoft.com>
* ObjectStateFormatter.cs:
optimization for serialization of primitive type arrays
2007-02-19 Igor Zelmanovich <igorz@mainsoft.com>
* ClientScriptManager.cs:
* Control.cs:
* Page.cs:
implemented PostBackOptions.TrackFocus feature.
2007-02-14 Igor Zelmanovich <igorz@mainsoft.com>
* Page.cs: for 2.0: refactoring:
prepare infrastructure for Form.SubmitDisabledControls feature
2007-02-18 Eyal Alaluf <eyala@mainsoft.com>
* Control.jvm.cs, Control.cs: Move TemplateSourceDirectory to .jvm file.
* Control.jvm.cs, Page.jvm.cs: Centralize Portlet specific API in Page.jvm
* Page.cs, Page.jvm.cs, ClientScriptManager.cs: Support for Http callbacks
for J2EE portlets.
2007-02-14 Igor Zelmanovich <igorz@mainsoft.com>
* Page.cs: for 2.0:
'__EVENTTARGET' and '__EVENTARGUMENT' hidden fields are
registered only once.
2007-02-14 Igor Zelmanovich <igorz@mainsoft.com>
* Page.cs: for 2.0: '__doPostBack' declared as function of form.
convention to use 'currForm' instead 'myForm'
2007-02-14 Igor Zelmanovich <igorz@mainsoft.com>
* Page.cs:
* ClientScriptManager.cs:
including 'webform.js' requires '__doPostBack' on the form be rendered.
2007-02-14 Igor Zelmanovich <igorz@mainsoft.com>
* Page.cs:
* ClientScriptManager.cs:
refactoring: 'theForm' variable is always declared on client.
'__EVENTTARGET' and '__EVENTARGUMENT' hidden fields is rendered using
RegisterHiddenField API. 'WebForm_OnSubmit' declared as function of form.
2007-02-14 Vladimir Krasnov <vladimirk@mainsoft.com>
* Page.cs: fixed OnInit, adding css should throw exception if no header
present on the page
2007-02-14 Igor Zelmanovich <igorz@mainsoft.com>
* Page.cs: __doPostBack considers 2.0 features
such RegisterOnSubmitStatement
2007-02-14 Igor Zelmanovich <igorz@mainsoft.com>
* Page.cs:
* ClientScriptManager.cs:
implemented RegisterOnSubmitStatement for 2.0
2007-02-13 Igor Zelmanovich <igorz@mainsoft.com>
* ClientScriptManager.cs: EventValidation feature optimization on Callback.
2007-02-13 Igor Zelmanovich <igorz@mainsoft.com>
* Page.cs: fixed exception handling on Callback at client.
2007-02-08 Marek Habersack <grendello@gmail.com>
* Page.cs: Make sure to create specific cultures.
2007-02-08 Vladimir Krasnov <vladimirk@mainsoft.com>
* ClientScriptManager.cs: added array declaration also as member of
form in TARGET_J2EE for j2ee portal support.
Added validators context init for GetClientValidationEvent under
TARGET_J2EE for j2ee portal support.
* Page.cs: fixed OnFormPostRender, render array declarations after
postback script.
2007-02-04 Igor Zelmanovich <igorz@mainsoft.com>
* Page.cs:
* ClientScriptManager.cs:
client scripts (webform.js, callback.js and
MaintainScrollPositionOnPostBack.js) were merged into one resource file.
2007-02-04 Igor Zelmanovich <igorz@mainsoft.com>
* Page.cs:
http://msdn2.microsoft.com/en-us/library/ms178141.aspx
LAMESPEC: on Callback IsPostBack is set to false, but true.
2007-02-04 Igor Zelmanovich <igorz@mainsoft.com>
* Page.cs:
VerifyRenderingInServerForm does not fire exception when IsCallback
2007-02-04 Igor Zelmanovich <igorz@mainsoft.com>
* Page.cs:
* ClientScriptManager.cs:
fixed RegisterClientScriptInclude: all includes that was registered before
rendering are rendered at begin form.
2007-02-02 Marek Habersack <grendello@gmail.com>
* TemplateParser.cs: Do not register controls here.
2007-02-02 Adar Wesley <adarw@mainsoft.com>
* Control.cs: Changed UniqueId implementation to have '$' and not ':'
to conform to MS. This led to updating several Tests that referenced
the UniqueId as string.
2007-01-30 Eyal Alaluf <eyala@mainsoft.com>
* ClientScriptManager.cs: Fix Igor's last changes for TARGET_JVM.
2007-01-29 Igor Zelmanovich <igorz@mainsoft.com>
* Page.cs:
* ClientScriptManager.cs:
CallBack works with EvantValidation.
2007-01-25 Eyal Alaluf <eyala@mainsoft.com>
* Page.cs: Change code to use the 'theForm' property when generating
JavaScript code. Ensure that we pass 'theForm' as param to the JS funcs.
* Page.jvm.cs, Control.jvm.cs: Implement the 'theForm' property to include
the portlet namespace. Moved 'PortletNamespace' from Control.jvm.cs
* Page.jvm.cs, Control.jvm.cs, ClientScriptManager.cs: Added support for
saving hidden fields for TARGET_J2EE Portlets re-render.
* Control.cs: Under TARGET_J2EE portal support add the PortletNamespace
to all the control IDs to ensure they different between portlets.
2007-01-24 Vladimir Krasnov <vladimirk@mainsoft.com>
* Page.cs: fixed CheckForValidationSupport,
SupportsEventValidationAttribute should be checked at only one level
2007-01-23 Vladimir Krasnov <vladimirk@mainsoft.com>
* TemplateControl.jvm.cs: ParseControl not supported, added limited
implementation if TestDeviceFilter
2007-01-22 Konstantin Triger <kostat@mainsoft.com>
* ClientScriptManager.cs: ensure the callback client script is
registered before the client script includes are rendered.
2007-01-22 Konstantin Triger <kostat@mainsoft.com>
* Page.cs, ClientScriptManager.cs: ensure the web form client script is
registerd before the client script includes are rendered.
2007-01-21 Konstantin Triger <kostat@mainsoft.com>
* Page.cs: move the WriteClientScriptIncludes to the top of the form,
according to the MSDN.
2007-01-20 Miguel de Icaza <miguel@novell.com>
* XhtmlTextWriter.cs: comment out unused code.
* ThemeProvider.cs: comment out unused code.
* DataSourceView.cs: Comment unused variable.
* ClientScriptManager.cs: Put the expandoAttributes inside the 2.0
code
* Control.cs: Put _templateControl inside the NET_2_0 ifdef
2007-01-20 Marek Habersack <grendello@gmail.com>
* TemplateParser.cs: Check whether the base type is in the root
namespace.
2007-01-18 Eyal Alaluf <eyala@mainsoft.com>
* Control.jvm.cs: Added PortletNamespace property.
2007-01-16 Vladimir Krasnov <vladimirk@mainsoft.com>
* TemplateControl.jvm.cs: remover TemplateSourceDirectory propery
* Control.cs: moved TemplateSourceDirectory from TemplateControl for
TARGET_JVM, fixed AppRelativeTemplateSourceDirectory
2007-01-16 Vladimir Krasnov <vladimirk@mainsoft.com>
* TemplateControl.jvm.cs: added 2.0 event names for wiring up
2007-01-15 Ilya Kharmatsky <ilya - at - decode-systems.com>
* Control.cs:
- IsViewStateEnabled - removed check for non-null page, since
the control by definition should come with enabled
view state, even if it not 'attached' to the page
- HasEvents() - implementation (still could produce bug in exotic scenarios
when all events added to 'this' control has been removed
through the property 'Events', but currently we can't see
better implementation)
2007-01-14 Eyal Alaluf <eyala@mainsoft.com>
* Control.jvm.cs, Page.jvm.cs: Added TARGET_J2EE specific files.
* Page.cs, ClientScriptManager.cs, Control.cs: Added J2EE portal
support for TARGET_J2EE.
2007-01-12 Miguel de Icaza <miguel@novell.com>
* Control.cs: Remove comment, it provides no information about
what could be wrong.
2007-01-08 Vladimir Krasnov <vladimirk@mainsoft.com>
* PageTheme.cs: implemented
* Page.cs: fixed InitializeTheme, added PageTheme page initialization
* TemplateControl.cs,
* TemplateControl.jvm.cs: added XPath, XPathSelect overloads with
IXmlNamespaceResolver parameter
* XPathBinder.cs: added Eval, Select overloads with
IXmlNamespaceResolver parameter, refactored
2007-01-08 Vladimir Krasnov <vladimirk@mainsoft.com>
* TemplateControl.jvm.cs: added GetGlobalResourceObject
2007-01-07 Igor Zelmanovich <igorz@mainsoft.com>
* Page.cs: refactoring: used RegisterHiddenField for _VIEWSTATE field.
2007-01-04 Igor Zelmanovich <igorz@mainsoft.com>
* Control.cs: ensure 'id' attribute will be rendered if
ClientID was accessed but ID is generated by the Page,
important for custom controls developing.
2007-01-04 Igor Zelmanovich <igorz@mainsoft.com>
* Page.cs: fixed: InitializeCulture should be called
before creating controls.
2007-01-03 Marek Habersack <grendello@gmail.com>
* Page.cs: Make sure the ValidatorOnSubmit function is defined for the
document before attempting to use it.
2007-01-01 Vladimir Krasnov <vladimirk@mainsoft.com>
* Control.cs: fixed ResolveClientUrl, wrong when control that calls
this method and the page are in different folders
2006-12-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* Page.cs: show the validation summary when client validation and
linkbuttons are used. Patch by Juraj Skripsky.
2006-12-31 Igor Zelmanovich <igorz@mainsoft.com>
* Page.cs: fixed: EventValidation is not performed for CallBack request.
2006-12-27 Igor Zelmanovich <igorz@mainsoft.com>
* Page.cs: fixed: RegisterRequiresPostBack feature.
2006-12-21 Marek Habersack <grendello@gmail.com>
* ControlBuilder.cs: Add support for tag mapping in 2.0
2006-12-20 Marek Habersack <grendello@gmail.com>
* TemplateParser.cs: make sure Context.ApplicationInstance is not
valid before adding application assembly.
2006-12-11 Igor Zelmanovich <igorz@mainsoft.com>
* Page.cs: fixed and optimized ProcessPostData
The "second try" used for controls that created at OnLoad.
fixed for controls that use RgisterRequeresPostBack to handle post data.
2006-11-29 Igor Zelmanovich <igorz@mainsoft.com>
* Page.cs: The specified theme must exist as either an application theme.
If the theme does not exist, an HttpException exception s thrown.
2006-12-09 Marek Habersack <grendello@gmail.com>
* HiddenFieldPageStatePersister.cs: Implement the 2.0 class (used
also in the 1.x profile)
* ObjectStateFormatter.cs: Implement the IStateFormatter interface
* ClientScriptManager.cs: Use IStateFormatter instead of
LosFormatter.
Use the IStateFormatter interface when registering the hidden
field with the state.
* LosFormatter.cs: Use ObjectStateFormatter
* PageStatePersister.cs: Make the class available as internal for
1.x profile.
Constructor throws an exception on its page parameter being null.
Implemented several properties: ControlState, ViewState, Page,
StateFormatter
* Page.cs: Use new state persister for all the profiles.
Use the new HiddenFieldPageStatePersister class.
* IStateFormatter.cs: Make the class available as internal for 1.x profile.
2006-12-04 Vladimir Krasnov <vladimirk@mainsoft.com>
* TemplateControl.jvm.cs: fixed TemplateSourceDirectory initialization
2006-11-29 Marek Habersack <grendello@gmail.com>
* TemplateParser.cs: if the OutputCache directive is present, make
sure the cache does not expire the current output.
2006-11-29 Igor Zelmanovich <igorz@mainsoft.com>
* Page.cs: added missing methods and properties:
AsyncMode
AsyncTimeout
IsAsync
UniqueFilePathSuffix
MaxPageStateFieldLength
ViewStateEncryptionMode
AddOnPreRenderCompleteAsync
AddOnPreRenderCompleteAsync
ExecuteRegisteredAsyncTasks
CreateHtmlTextWriterFromType
RegisterRequiresViewStateEncryption
2006-11-29 Igor Zelmanovich <igorz@mainsoft.com>
* Page.cs: Master property returns null when no HttpContext.
2006-11-29 Igor Zelmanovich <igorz@mainsoft.com>
* Page.cs: InitializeCulture method is called before OnPreInit.
2006-11-28 Marek Habersack <grendello@gmail.com>
* TemplateControlParser.cs: Use the new TemplateParser methods to
register controls/namespaces
* TemplateParser.cs: Implement support for the
system.web/pages/namespaces collection instead of hard-coding the
namespaces into the source.
Refactoring: added two internal methods to handle both the
system.web/pages/controls registration and the Register directive.
Added a new internal method to pull the system.web/pages/controls
collection before parsing.
2006-11-27 Marek Habersack <grendello@gmail.com>
* SimpleWebHandlerParser.cs: Added support for looking up types in
the top-level assemblies (App_Code et al)
2006-11-27 Igor Zelmanovich <igorz@mainsoft.com>
* Control.cs: implemented EnsureID method.
2006-11-27 Igor Zelmanovich <igorz@mainsoft.com>
* Control.cs: implemented Focus methods.
2006-11-27 Igor Zelmanovich <igorz@mainsoft.com>
* Page.cs: implemented SetFocus methods.
* PageLifeCycle.cs:
2006-11-27 Igor Zelmanovich <igorz@mainsoft.com>
* ClientScriptManager.cs: refactoring:
extracted method RegisterWebFormClientScript
2006-11-27 Igor Zelmanovich <igorz@mainsoft.com>
* Control.cs: implemented OpenFile()
2006-11-26 Igor Zelmanovich <igorz@mainsoft.com>
* Page.cs:
* Control.cs:
implemented ClearChildState(), ClearChildControlState() and
IsChildControlStateCleared
2006-11-26 Igor Zelmanovich <igorz@mainsoft.com>
* Page.cs:
* ClientScriptManager.cs:
implemented RegisterExpandoAttribute feature
2006-11-23 Igor Zelmanovich <igorz@mainsoft.com>
* ListSourceHelper.cs: optimization of implementation
2006-11-23 Igor Zelmanovich <igorz@mainsoft.com>
* ListSourceHelper.cs: implemented
2006-11-21 Igor Zelmanovich <igorz@mainsoft.com>
* DataSourceView.cs: fixed: constructor throws ArgumentNullException
2006-11-21 Igor Zelmanovich <igorz@mainsoft.com>
* Page.cs: fixed: PreviousPage property
when CrossPostBack is processed PreviousPage is initialized
only if PreviousPage property is called.
2006-11-21 Igor Zelmanovich <igorz@mainsoft.com>
* DataSourceControl.cs: fixed: Focus(), EnableTheming
2006-11-21 Marek Habersack <grendello@gmail.com>
* Control.cs: Make ClientIDSeparator private for !NET_2_0
2006-11-21 Igor Zelmanovich <igorz@mainsoft.com>
* Page.cs: fixed: LoadControlState is called for controls
that added on Load and latter
2006-11-20 Marek Habersack <grendello@gmail.com>
* Control.cs: Implementations of a few missing properties.
* Page.cs: Added support for automatic culture detection from the
user's browser.
* PageParser.cs: Added support for "auto" cultures in the Page
directive.
2006-11-20 Igor Zelmanovich <igorz@mainsoft.com>
* ClientScriptManager.cs: fixed: ValidateEvent feature:
client side return eventArgument as empty string
for controls that set it as null
2006-11-18 Marek Habersack <grendello@gmail.com>
* ClientScriptManager.cs: Implemented two missing
GetPostBackEventReference overloads. Made one of the overloads
internal for .NET < 2.0.
2006-11-17 Marek Habersack <grendello@gmail.com>
* PostBackOptions.cs: Renamed the constructors parameters to match
those Microsoft .NET uses.
targetControl must not be passed null to the constructor.
* ClientScriptManager.cs: Support for event validation.
Implemented a GetPostBackHyperlink overload.
Implemented the RegisterForEventValidation methods.
Implemented the ValidateEvent method.
Added support for saving/restoring event validation state.
* Page.cs: EnableEventValidation can be set only from the config
files (the <pages> element), the Page directive or from
Page_Init. After Page_Init returns, an exception is thrown.
Made GetFormatter internal, so that ClientScriptManager can use
it.
Added the internal LifeCycle property which contains the current
life cycle stage of the page request processing.
Added calls to save/restore event validation state.
Added checks for whether child controls of the page support event
validation or not.
Added calls to ClientScriptManager.ValidateEvent in appropriate
places.
* PageLifeCycle.cs: Added the PageLifeCycle enum, used in event
validation.
2006-11-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* LosFormatter.cs:
* ObjectStateFormatter.cs: match MS 1.x and 2.0 behaviour for null and
empty strings.
2006-11-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* SimpleWebHandlerParser.cs: 'using' for file reading.
2006-11-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* Page.cs: revert r67514 until after tagging for the next release.
2006-11-12 Igor Zelmanovich <igorz@mainsoft.com>
* LiteralControl.cs: fixed: constructors & Text property
2006-11-09 Igor Zelmanovich <igorz@mainsoft.com>
* Page.cs: fixed: LoadControlState is called for controls
that added on Load and latter, for 1.x refactoring only
2006-11-02 Igor Zelmanovich <igorz@mainsoft.com>
* ClientScriptManager.cs:
fixed: checks arguments for null in public methods,
fixed public interface.
2006-10-23 Igor Zelmanovich <igorz@mainsoft.com>
* PostBackOptions.cs: fixed: default values of properties
2006-10-22 Igor Zelmanovich <igorz@mainsoft.com>
* CssStyleCollection.cs:
* AttributeCollection.cs:
fixed: style collection is synchronized with style attribute
2006-10-19 Igor Zelmanovich <igorz@mainsoft.com>
* ClientScriptManager.cs: fixed: renders id attribute in hidden field
2006-10-18 Marek Habersack <grendello@gmail.com>
* TemplateParser.cs: reference System.Resources when compiling a
control.
* TemplateControl.cs: implement the GetGlobalResourceObject
ASP.NET 2.0 APIs.
2006-10-12 Igor Zelmanovich <igorz@mainsoft.com>
* Page.cs: fixed: for 2.0 only
When Page processes Callback IsPostBack = false, but it still needs
LoadViewState/ControlState and ProcessPostData
2006-10-11 Igor Zelmanovich <igorz@mainsoft.com>
* DataSourceSelectArguments.cs: fixed:
SortExpression not returns null,
Empty property returns new instance each time
2006-10-10 Igor Zelmanovich <igorz@mainsoft.com>
* DataSourceSelectArguments.cs:
fixed: RaiseUnsupportedCapabilitiesError method.
2006-10-09 Igor Zelmanovich <igorz@mainsoft.com>
* DataSourceSelectArguments.cs: fixed: Equals method.
2006-10-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* CssStyleCollection.cs: don't clear the collection of properties, but
create a new one.
2006-10-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* CssStyleCollection.cs: 'style' can be modified on our back, so build
the style table every time instead of keeping one that is not in sync.
Fixes bug #79587.
2006-09-25 Igor Zelmanovich <igorz@mainsoft.com>
* Page.cs: fixed: Cross-page postback feature in ASP.NET 2.0
When page is invoked by cross-page posting, PreviousPage processed all
live-cycle up to OnLoadComplite included.
IsPostBack, IsCallBack and IsCrossPagePostBack returns relevant values.
2006-09-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* TemplateParser.cs: patch by Joel Reed that makes use of the namespace
collection from the PagesConfiguration to add new namespaces when
generating the page/control code.
2006-09-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* PageParser.cs: support the EnableEventValidation attribute.
2006-09-18 Igor Zelmanovich <igorz@mainsoft.com>
* Page.cs: fixed: Title property works properly
2006-09-17 Igor Zelmanovich <igorz@mainsoft.com>
* ClientScriptManager.cs: added helper method
2006-09-14 Igor Zelmanovich <igorz@mainsoft.com>
* Page.cs: fixed: GetValidators(string), Validate(string) works properly
2006-09-08 Robert Jordan <robertj@gmx.net>
* Page.cs: assure that RenderTrace is called even if an
exception occurred. Fixes bug #78930.
2006-09-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* TemplateControl.cs: search for the new Page_* event handlers in 2.0.
Patch by Marek Habersack that fixes bug #78268.
2006-09-07 Lluis Sanchez Gual <lluis@novell.com>
* Page.cs: Use lowercase getElementById in the javascript that
checks the browser.
2006-08-22 Vladimir Krasnov <vladimirk@mainsoft.com>
* KeyedListEnumerator.cs: fixed Current property to return real object
instead of DictionaryEntry
2006-09-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* Page.cs: don't use the Browser object, as it slows down process
request time *a lot*. Fixes bug #79206.
2006-09-05 Konstantin Triger <kostat@mainsoft.com>
* Page.cs: Imlemented InitOutputCache(OutputCacheParameters cacheSettings).
* OutputCacheParameters.cs: added an implementation.
2006-09-04 Igor Zelmanovich <igorz@mainsoft.com>
* CssStyleCollection.cs: fixed: background-image style attribute
2006-08-31 Konstantin Triger <kostat@mainsoft.com>
* StaticPartialCachingControl.cs: added forwarding implementation for
2.0 version of BuildCachedControl().
2006-08-30 Igor Zelmanovich <igorz@mainsoft.com>
* Page.cs: added internal method
* ClientScriptManager.cs:
2006-08-30 Igor Zelmanovich <igorz@mainsoft.com>
* ClientScriptManager.cs: added helper method
2006-08-22 Vladimir Krasnov <vladimirk@mainsoft.com>
* Page.cs: fixed ApplyMasterPage, masterPageFile can be empty string
if compiled with .net aspx parser
fixed OnInit, GetStyleSheets may return null if no css files found by
.net aspx parser
2006-08-22 Vladimir Krasnov <vladimirk@mainsoft.com>
* TemplateControl.jvm.cs: fixed WireupAutomaticEvents, removed access
modifiers check on event handlers
2006-08-22 Vladimir Krasnov <vladimirk@mainsoft.com>
* Control.cs: implemented AppRelativeTemplateSourceDirectory for aspx
parser 2.0
* TemplateControl.jvm.cs: fixed AppRelativeVirtualPath
fixed TemplateSourceDirectory, should not work on master pages.
2006-08-20 Vladimir Krasnov <vladimirk@mainsoft.com>
* MasterPageParser.jvm.cs: fixed path resolving
GetCompiledMasterInstance
2006-08-17 Vladimir Krasnov <vladimirk@mainsoft.com>
* TemplateControl.jvm.cs: fixed data binding API, implemented
AppRelativeVirtualPath, ReadStringResource
2006-08-17 Vladimir Krasnov <vladimirk@mainsoft.com>
* Page.cs: added stubs to run aspx files compiled by .net
2006-08-17 Vladimir Krasnov <vladimirk@mainsoft.com>
* MasterPageParser.jvm.cs: implemented
2006-08-10 Andrew Skiba <andrews@mainsoft.com>
* Page.cs: render css path as a virtual path.
2006-08-09 Robert Jordan <robertj@gmx.net>
* Control.cs: add the 2.0 ResolveClientUrl method.
Expose ResolveClientUrl as internal for the 1.1 profile.
Fixes bug #77539.
2006-08-08 Vladimir Krasnov <vladimirk@mainsoft.com>
* added MasterPageParser.jvm.cs
2006-08-08 Vladimir Krasnov <vladimirk@mainsoft.com>
* ControlBuilder.jvm.cs: added BuildObject method
2006-08-08 Vladimir Krasnov <vladimirk@mainsoft.com>
* ParseChildrenAttribute.cs: fixed ChildControlType property to
compliant to .net
* UserControl.cs: fixed ParseChildren attribute to be compliant
to .net
2006-08-08 Igor Zelmanovich <igorz@mainsoft.com>
* Page.cs: implemented MaintainScrollPositionOnPostBack feature
2006-08-06 Vladimir Krasnov <vladimirk@mainsoft.com>
* Control.cs: fixed EnableTheming proprty, fixes bug when child
control has EnableTheming=false and parent has true.
2006-07-31 Vladimir Krasnov <vladimirk@mainsoft.com>
* MasterPage.cs: fixed default values, fixed AddContentTemplate
2006-07-31 Vladimir Krasnov <vladimirk@mainsoft.com>
* Control.cs: fixed EnableTheming proprty, fixes the bug when skins
are applied even if EnableTheming property was set to false.
2006-07-24 Andrew Skiba <andrews@mainsoft.com>
* DataSourceView.cs: refactor to keep the original exception stack.
2006-07-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* PostBackOptions.cs: default to String.Empty for several field values.
Patch by Marek Habersack.
2006-07-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* Page.cs: when ProcessRequest is not called, get the session from
the current context. Fixes bug #78730.
2006-07-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* Page.cs: fix IsPostback for AJAX calls to match MS behavior. Patch
by Peijen Lin that closes bug #78646.
2006-06-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* TemplateControlParser.cs: fix compilation caching when more than one
@control is compiled from source. Closes bug #78626.
2006-06-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* Page.cs: add the 2.0 Items property. Fixes bug #78467.
2006-06-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* Page.cs: use the new internal LosFormatter.SerializeToBase64.
* LosFormatter.cs: always work on base 64 strings even if the
input/output is on a Stream. Fixes bug #78640.
2006-06-08 Konstantin Triger <kostat@mainsoft.com>
* Page.cs: For loading themes, use '~/App_Themes' instead of
'./App_Themes' to enable theme support for files in sub folders.
2006-05-25 Andrew Skiba <andrews@mainsoft.com>
* Control.cs: move 2.0 stuff into ifdef NET_2_0
2006-05-25 Andrew Skiba <andrews@mainsoft.com>
* Page.cs, Control.cs: Fix the order of OnInit invocation of controls
created via master page content (see
http://lists.ximian.com/pipermail/mono-devel-list/2006-May/018585.html ).
2006-05-11 Andrew Skiba <andrews@mainsoft.com>
* Page.cs, PageTheme.cs: This patch uses LinkedStyleSheets from the
PageTheme and from StyleSheetPageTheme to insert links in page header.
2006-05-10 Andrew Skiba <andrews@mainsoft.com>
* TemlpateParser.cs: surround file name with quotes
2006-05-08 Chris Toshok <toshok@ximian.com>
* ControlBuilder.cs (ResetState): set renderIndex to 0 here. This
fixes the last thing keeping the test in #76818 from working.
2006-05-07 Andrew Skiba <andrews@mainsoft.com>
* Page.cs: if no theme is defined in aspx, read default from web.config.
Same for the style sheet theme.
2006-04-27 Andrew Skiba <andrews@mainsoft.com>
* TemplateParser.cs: format according to
http://lists.ximian.com/pipermail/mono-devel-list/2006-April/018096.html
2006-04-25 Chris Toshok <toshok@ximian.com>
* PageThemeParser.cs (LinkedStyleSheets): reformat.
2006-04-25 Konstantin Triger <kostat@mainsoft.com>
* Control.cs: implementation for IsViewStateEnabled.
2006-04-25 Andrew Skiba <andrews@mainsoft.com>
* Control.cs: fix null pointer exception
2006-04-23 Andrew Skiba <andrews@mainsoft.com>
* PageThemeParser.cs: add LinkedStyleSheets property
2006-04-16 Andrew Skiba <andrews@mainsoft.com>
* TemplateParser.cs: add internal method AddAssemblyByFileName
2006-04-16 Konstantin Triger <kostat@mainsoft.com>
* SimpleWebHandlerParser.cs: correctly resolve GACs dependencies.
2006-04-11 Konstantin Triger <kostat@mainsoft.com>
* Page.cs, TemplateControl.cs: refactoring implementing Page.GetDataItem().
2006-04-10 Chris Toshok <toshok@ximian.com>
* PageThemeFileParser.cs (AddDirective): allow Register directives
in skin files.
2006-04-02 Chris Toshok <toshok@ximian.com>
* Control.cs (DesignMode): always return false for now. Fixes
#77991.
2006-03-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* ControlBuilder.cs: when creating a default property builder, handle
strings specially.
* StringPropertyBuilder.cs: new builder used in TextBox 2.0.
2006-03-15 Vladimir Krasnov <vladimirk@mainsoft.com>
* ControlCollection.cs: fixed CopyTo method, fixes bug when if target
index is not zero
2006-03-13 Chris Toshok <toshok@ximian.com>
* HtmlTextWriterTag.cs: no [Serializable] in 2.0.
* HtmlTextWriterAttribute.cs: same.
* HtmlTextWriterStyle.cs: same.
* VirtualReferenceType.cs: new enum.
2006-03-13 Chris Toshok <toshok@ximian.com>
* UserControl.cs: rework InitializeAsUserControl and
InitializeAsUserControlInternal - the Internal variety doesn't set
this.page to null now.
* MasterPage.cs (CreateMasterPage): map the masterPageFile path,
and also remove a line of spew.
2006-03-09 Vladimir Krasnov <vladimirk@mainsoft.com>
* Added PageParser.jvm.cs, WebServiceParser.jvm.cs
2006-03-07 Chris Toshok <toshok@ximian.com>
* Page.cs (InitializeStyleSheet): load the style sheet theme using
ThemeDirectoryCompiler.
(InitializeTheme): load the page's theme using
ThemeDirectoryCompiler.
(InternalProcessRequest): call InitializeTheme after OnPreInit.
(FrameworkInitialize): call InitializeStyleSheet.
(PageTheme,StyleSheetPageTheme): new properties to get the
respective themes.
* Control.cs (ApplyStyleSheetSkin): new method. Calls ApplySkin
on the ControlSkin (if there is one) for this control in the
page's StyleSheetSkin.
(ApplyThemeRecursively): applies the page's theme recursively to
the control hierarchy. Must be done this way because the control
tree is already present when we apply the theme (it has to be,
since theme's override settings).
* PageTheme.cs (GetControlSkin): add internal call to do the
lookup for us.
* PageThemeFileParser.cs: the parser object that represents each
individual skin file.
* PageThemeParser.cs: the parser object that represents the entire
theme directory.
* PageThemeBuilder.cs: this class generates the right exception on
the right event, but it's not hooked up yet.
2006-03-02 Chris Toshok <toshok@ximian.com>
* Control.cs (ApplyStyleSheetTheme): remove the exception, and add
a MonoTODO.
* Page.cs (Theme): implement setter/getter.
(StyleSheetTheme): same.
* PageParser.cs (ProcessMainAttributes): parse the Theme and
StyleSheetTheme attributes.
2006-02-27 Chris Toshok <toshok@ximian.com>
* TemplateControl.cs: corcompare work.
* ExpressionBindingCollection.cs: same.
* HierarchicalDataSourceControl.cs: same.
* PostBackOptions.cs: same.
* ClientScriptManager.cs: same.
* FilterableAttribute.cs: same.
* ControlCollection.cs: same.
* DataBindingCollection.cs: same.
* PropertyEntry.cs: mark ctor internal.
* SimpleWebHandlerParser.cs: mark the 2.0 ctor as internal.
* Page.cs: stub out two Theme oriented 2.0 properties.
* DataBinder.cs: remove the obsolete attribute on the ctor.
* TwoWayBoundPropertyEntry.cs: remove this.
* ControlBuilder.cs (BindingContainerType): virtual in 2.0.
* ThemeProvider: new (stubbed) class.
* SkinBuilder.cs: same.
* PageTheme.cs: same.
* ControlSkin.cs: same.
* ControlSkinProc.cs: rename this to ControlSkinDelegate.cs.
* SimplePropertyEntry.cs: mark ctor as internal.
* IThemeResolutionService.cs: enable the 3 members of this
interface.
2006-02-27 Chris Toshok <toshok@ximian.com>
* ListSourceHelper.cs: this class is static.
* Page.cs: add some EditorBrowsable attributes to the 2.0 events.
2006-02-27 Chris Toshok <toshok@ximian.com>
* DataSourceView.cs: Name isn't virtual.
* DataSourceControl.cs: beat this class over the head with the
corcompare stick.
* DataSourceControlBuilder.cs: new stubbed control builder for
DataSourceControl.
2006-02-23 Chris Toshok <toshok@ximian.com>
* Page.cs: more corcompare work.
2006-02-23 Chris Toshok <toshok@ximian.com>
* Page.cs (ProcessCallbackData): track change to
ICallbackEventHandler iface.
* ICallbackEventHandler.cs: enable the proper members of this
interface.
* DataSourceSelectArguments.cs: reformat getter/setters.
2006-02-22 Cesar Lopez Nataren <cnataren@novell.com>
* HtmlTextWriter.cs: Added method WriteEncodedText for the .NET 2.0 profile.
2006-02-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* WebHandlerParser.cs:
* WebServiceParser.cs:
* UserControlParser.cs:
* PageParser.cs: added new ctor that uses a TextReader as input.
* TemplateControlParser.cs: new Reader property.
* SimpleWebHandlerParser.cs: new Reader property and ctor.
2006-02-12 Cesar Lopez Nataren <cnataren@novell.com>
* HtmlTextWriter.cs: Implemented IsValidFormAttribute and
WriterBreak for the .NET 2.0 profile.
2006-02-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* IThemeResolutionService.cs: this is now added to the
sources file, but some other stuff does not compile yet as the
interface changed after the beta.
* ObjectConverter.cs: removed extra attribute.
* ObjectStateFormatter.cs: add IStateFormatter for 2.0.
* ICallbackEventHandler.cs: update the interface, but commented the
'good' stuff out, since other files need to be fixed too.
2006-02-07 Chris Toshok <toshok@ximian.com>
* ControlBuilder.cs: rename flushOutputStatements to
methodStatements to at least reflect that they're in that method.
2006-02-07 Chris Toshok <toshok@ximian.com>
* MasterPage.cs (CreateMasterPage): don't nullref on null
contentTemplateCollection.
* ControlBuilder.cs: add a flushOutputStatements field.
* PageParser.cs (ProcessMainAttributes): handle Title attribute.
(Title): add getter.
* Page.cs (Title): implement getter/setter.
(InternalProcessRequest): after calling ApplyMasterPage, apply the
page's Title directive if there is one.
(AddContentTemplate): make the EditorBrowsable attribute apply to
the method, not the field.
2006-02-07 Chris Toshok <toshok@ximian.com>
* MasterPage.cs: rework this file, adding some static methods
gleaned from MS stack traces, and clear up the propogation of
content templates between nested master pages.
* Control.cs (TemplateControl): implement.
* TemplateControl.cs: re-indent some of the code.
(ReadStringRecource): according to msdn2, these throw
NotSupportedException.
* MasterPageParser.cs (HandleOption): implement. assign our
master page's MasterPageFile from the UserControl property.
* UserControl.cs (InitializeAsUserControlInternal): new method
that allows initialization without a page.
* UserControlParser.cs (ProcessMainAttributes): for 2.0 handle
MasterPageFile attributes, so we can have nested master pages.
(MasterPageFile): add a 2.0 specific property.
* TemplateControlParser.cs: in .net 2.0, our base class is
BaseTemplateParser.
(HandleOptions): be consistent and call base.HandleOptions.
* BaseTemplateParser.cs: new (stubbed) class.
* MasterPageControlBuilder.cs: new file, not filled in (and really
not used either.)
* Page.cs (InternalProcessRequest): call ApplyMasterPage.
(SaveExistingContentTemplates): nuke.
(ReapplyExistingContentTemplate): nuke.
(ApplyMasterPage): if we have a master page, call
MasterPage.ApplyMasterPageRecursive with it and add it to our
controls.
(set_MasterPageFile): remove call to SaveExistingContentTemplates.
(get_Master): call MasterPage.CreateMasterPage.
(AddContentTemplate): keep track of the page's content templates
in a local Hashtable - they aren't our master page's content
templates.
2006-02-01 Chris Toshok <toshok@ximian.com>
* TemplateParser.cs: CONFIGURATION_2_0 => NET_2_0, and replace
calls to GetWebApplicationSection with GetSection.
* SimpleWebHandlerParser.cs: same.
* Page.cs: same.
* PageParser.cs: same.
* BaseParser.cs: same.
2006-01-27 Chris Toshok <toshok@ximian.com>
* MasterPage.cs (ContentTemplatesInternal): add get/set for the
actual Hashtable.
* Page.cs (SaveExistingContentTemplates): store off the existing
MasterPage content templates so they can be reapplied when setting
MasterPageFile to something else.
(ReapplyExistingContentTemplates): set masterPage's
ContentTemplates to our saved copy.
(set_MasterPageFile): save off the current content templates
before clearing masterPage.
(get_Master): reapply the saved content templates after we create
the new MasterPage.
2006-01-25 Chris Toshok <toshok@ximian.com>
* ClientScriptManager.cs (RegisterClientScriptResource): last
patch, I swear. How can 1 line of code have 3 bugs?
2006-01-25 Chris Toshok <toshok@ximian.com>
* ClientScriptManager.cs (RegisterClientScriptResource): gah, fix
problem with last commit - unquote "resourceName" so it uses the
parameter instead of the string constant.
2006-01-22 Chris Toshok <toshok@ximian.com>
* RootBuilder.cs (.cctor): use a 2.0 friendly hashtable ctor to
quiet mcs.
* PageParser.cs (ProcessMainAttributes): i missed a
CONFIGURATION_2_0 block.
* BoundPropertyEntry.cs (.ctor): mark as internal to fix
corcompare.
2006-01-18 Konstantin Triger <kostat@mainsoft.com>
* ObjectStateFormatter.cs: preserve emptiness in ColorFormatter.
2006-01-18 Konstantin Triger <kostat@mainsoft.com>
* HtmlTextWriter.cs: perform case insensitive compare;
return correct key in default case.
2006-01-11 Chris Toshok <toshok@ximian.com>
* ClientScriptManager.cs (RegisterClientScriptResource):
implement.
2006-01-11 Vladimir Krasnov <vladimirk@mainsoft.com>
* ObjectStateFormatter.cs: Removed TARGET_JVM parts in
TypeFormatter.Read
2006-01-10 Chris Toshok <toshok@ximian.com>
* Page.cs (ValidateCollection): in NET_2_0 if event validation is
off, return true.
2006-01-09 Chris Toshok <toshok@ximian.com>
* Page.cs: fix a lot of indentation, and add the
EnableEventValidation .net 2.0 property.
2006-01-09 Vladimir Krasnov <vladimirk@mainsoft.com>
* ObjectStateFormatter.cs: Merged TARGET_JVM parts in
TypeFormatter.Read, TypeFormatter.Write from /main/5
2006-01-09 Konstantin Triger <kostat@mainsoft.com>
* Page.cs: make ProcessRequest virtual under TARGET_JVM.
2006-01-04 Chris Toshok <toshok@ximian.com>
* TemplateParser.cs (.ctor): kinda gross, but handle the
AddAssembliesInBin case here.
* SimpleWebHandlerParser.cs (.ctor): same.
2006-01-04 Chris Toshok <toshok@ximian.com>
* SimpleWebHandlerParser.cs: Remove the declaration of
compilationConfig in the CONFIGURATION_2_0 case. it's
unnecessary.
(.ctor): ifdef out the AddAssembliesInBin call in the
CONFIGURATION_2_0 case. need to revisit this.
(CompilationConfig): add a CONFIGURATION_2_0 version.
* BaseParser.cs: Remove the declaration of compilationConfig in
the CONFIGURATION_2_0 case. it's unnecessary.
2005-12-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* Control.cs: use _controls instead of the property wherever possible.
2005-12-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* Control.cs: use the _controls field instead of the Controls property.
Fixes bug #76919.
2005-11-30 Sebastien Pouliot <sebastien@ximian.com>
* KeyedList.cs: Fixed for IOrderedDictionary change in 2.0 final.
Now internal.
* KeyedListEnumerator.cs: Now internal.
2005-11-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* ControlCollection.cs: allow 'null' in Remove.
2005-11-28 Chris Toshok <toshok@ximian.com>
* Page.cs (GetFormatter): CONFIGURATION_2_0 work.
* TemplateParser.cs (..ctor): CONFIGURATION_2_0 work.
(PagesConfig): add a CONFIGURATION_2_0 version that returns a
PagesSection.
* PageParser.cs (ProcessMainAttributes): CONFIGURATION_2_0 work.
* BaseParser.cs (CompilationConfig): add a CONFIGURATION_2_0
version that returns a CompilationSection.
2005-11-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* SimpleWebHandlerParser.cs: removed 'codebehind' related stuff.
2005-11-09 Chris Toshok <toshok@ximian.com>
* ViewStateEncryptionMode.cs: new 2.0 enum.
2005-11-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* TemplateParser.cs: fixes #76423. Not tested properly.
2005-11-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* Page.cs: call LoadViewStateRecursive when the Form collection has
not been used by a different page (GetTypeHashCode). This fixes problems
when calling Server.Transfer while preserving Form and QueryString,
as the page we transfer to used the view state stored in the Form, which
contained the serialized data for the page calling Server.Transfer
instead.
2005-10-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* Page.cs: add/remove the error before/after invoking OnError.
2005-10-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* Page.cs: call OnError when there's an exception (not for TAE). Fixes
bug #76572.
2005-10-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* TemplateControl.cs:
* PartialCachingControl.cs: if a control is cacheable, LoadControl
returns a PartialCachingControl that holds the VaryBy* and takes care
of partial caching and rendering. Fixes bug #76547.
2005-10-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* Page.cs: don't cache the 'Validate()' results. IsValid retests
the validators again.
2005-09-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* DesignerDataBoundLiteralControl.cs: changed autoid api.
* DataBoundLiteralControl.cs: changed autoid api.
* Control.cs: fixlet for UniqueID and weird test case. Removed
PreventAutoID and only use the property to set that value.
* LiteralControl.cs: changed autoid api.
2005-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* AttributeCollection.cs: avoid code duplication and
don't add "style" to the bag, or it will overwrite the settings made
by CssStyleCollection.
* CssStyleCollection.cs: make it throw where MS throws.
Minimize the number of times we create the "style" string and take
care of updating it for the AttributeCollection. FillStyle and
BagToString are now private. One should use the 2.0 (internal in <2.0)
Value property.
2005-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* Control.cs: fix HasChildViewStates.
2005-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* LosFormatter.cs: when the default ctor is used, MAC is disabled.
Fixes bug #76240.
2005-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* ObjectTagBuilder.cs: only fail when no id and no attributes.
2005-09-23 Sebastien Pouliot <sebastien@ximian.com>
* DataBindingCollection.cs: Using an hashtable is a nice trick but
we need to copy values (not the DictionaryEntry) in CopyTo.
* Page.cs: IsValid throws an exception if the page hasn't be
validated. VerifyRenderingInServerForm doesn't throw an exception
during unit testing (without a context?) but does in normal ops.
2005-09-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* LosFormatter.cs: the exceptions thrown have a 500 httpCode. Really
save the allocation of new MemoryStreams when possible. Thanks to
Sebastien again.
2005-09-23 Ben Maurer <bmaurer@ximian.com>
* HtmlTextWriter.cs: Initial support for escaping.
2005-09-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* ViewStateOutputHashStream.cs: Removed. It didn't last long.
* Page.cs: almost restored to its previous state, but now that we found
that LosFormatter ctor that takes 'enableMac', moved the logic to
add the hash and validate there. Thanks to Sebastien for his input.
* LosFormatter.cs: implemented the missing ctors and support for
"MAC" validation of the data.
2005-09-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* Page.cs:
* ViewStateOutputHashStream.cs: added support for viewstate MAC. It
prevents the viewstate being altered on the client and it's disabled
by default as per the documentation, but MS machine.config has it
enabled in machine.config.
2005-09-22 Miguel de Icaza <miguel@novell.com>
* DataBindingCollection.cs: Raise the event, remove MonoTODO.
* MinimizableAttributeTypeConverter.cs: Fix warning, compare to a
string.
2005-09-21 Sebastien Pouliot <sebastien@ximian.com>
* Control.cs: Added null checks for Trace as it can be null when
rendering (like it was for 39 unit tests).
2005-09-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* Page.cs: reverted hacks used with the wrong method of getting a
control rendered size.
* Control.cs: if the trace is enabled, save control rendered size.
2005-09-19 Sebastien Pouliot <sebastien@ximian.com>
* Page.cs: Remove references to IPageParser (removed from 2.0 RC). We
now use HtmlHeader directly.
* UrlPropertyAttribute.cs: Removed AllowedTypes property (2.0 RC) and
rewrote Equals to avoid dual type cast.
2005-09-19 Sebastien Pouliot <sebastien@ximian.com>
* SupportsEventValidationAttribute.cs: New attribute added in 2.0 RC.
2005-09-19 Sebastien Pouliot <sebastien@ximian.com>
* ControlBuilder.cs: Added BuildObject override for 2.0 profile.
* TagPrefixAttribute.cs: Added LinkDemand for AspNetHostingPermission
with Minimal level. Fixed checks on ctor.
* TemplateBuilder.cs: Added LinkDemand and InheritanceDemand for
AspNetHostingPermission with Minimal level.
* TemplateContainerAttribute.cs: Added LinkDemand for
AspNetHostingPermission with Minimal level.
* TemplateControl.cs: Added LinkDemand and InheritanceDemand for
AspNetHostingPermission with Minimal level. Fixed checks/exceptions.
Stubbed IFilterResolutionService for CAS testing.
* TemplateControlParser.cs: Added LinkDemand and InheritanceDemand for
AspNetHostingPermission with Minimal level.
* TemplateParser.cs: Added LinkDemand and InheritanceDemand for
AspNetHostingPermission with Minimal level.
* ThemeableAttribute.cs: Added LinkDemand for AspNetHostingPermission
with Minimal level. Removed IDispose interface.
* ToolboxDataAttribute.cs: Added LinkDemand for
AspNetHostingPermission with Minimal level. Fixed IsDefaultAttribute
to work on both 1.x and 2.0 profiles.
* Triplet.cs: Added LinkDemand and (only for 1.x) InheritanceDemand
for AspNetHostingPermission with Minimal level.
* UserControl.cs: Added LinkDemand and InheritanceDemand for
AspNetHostingPermission with Minimal level. Stubbed
IFilterResolutionService for CAS testing.
* UserControlControlBuilder.cs: Added LinkDemand and InheritanceDemand
for AspNetHostingPermission with Minimal level.
* ValidationPropertyAttribute.cs: Added LinkDemand for
AspNetHostingPermission with Minimal level.
* ValidatorCollection.cs: Added LinkDemand for AspNetHostingPermission
with Minimal level.
* WebResourceAttribute.cs: Removed extra ctor and added setter to
PerformSubstitution.
* WebServiceParser.cs: Added LinkDemand and InheritanceDemand for
AspNetHostingPermission with Minimal level.
2005-09-15 Sebastien Pouliot <sebastien@ximian.com>
* ParseChildrenAttribute.cs: Added LinkDemand for
AspNetHostingPermission with Minimal level. Simplified Equals to avoid
casting. Added new ctor and public fields (2.0). Changed
ChildControlType setter visibility to internal.
* PartialCachingAttribute.cs: Added LinkDemand for
AspNetHostingPermission with Minimal level. Added new ctor and
SqlDependency property (2.0).
* PartialCachingControl.cs: Added LinkDemand and InheritanceDemand for
AspNetHostingPermission with Minimal level.
* PersistenceModeAttribute.cs: Added LinkDemand for
AspNetHostingPermission with Minimal level. Simplified Equals to avoid
casting.
* PersistChildrenAttribute.cs: Added LinkDemand for
AspNetHostingPermission with Minimal level. Simplified Equals to avoid
casting.
* PropertyConverter.cs: Added LinkDemand for AspNetHostingPermission
with Minimal level. Class is static in 2.0.
* RootBuilder.cs: Added LinkDemand and, for 2.0, InheritanceDemand for
AspNetHostingPermission with Minimal level. Class is no more sealed in
2.0. Added new (2.0) BuiltObjects property.
* SimpleWebHandlerParser.cs: Added LinkDemand and InheritanceDemand
for AspNetHostingPermission with Minimal level.
* StateItem.cs: Added LinkDemand for AspNetHostingPermission with
Minimal level.
* StateBag.cs: Added LinkDemand for AspNetHostingPermission with
Minimal level. Removed SetDirty() which was called (2.0) but did
nothing.
* StaticPartialCachingControl.cs: Added LinkDemand and
InheritanceDemand for AspNetHostingPermission with Minimal level.
2005-09-15 Sebastien Pouliot <sebastien@ximian.com>
* Html32TextWriter.cs: Added LinkDemand and InheritanceDemand for
AspNetHostingPermission with Minimal level. Added new 2.0 properties
(but the generated HTML doesn't use them).
* HtmlTextWriter.cs: Added LinkDemand and InheritanceDemand for
AspNetHostingPermission with Minimal level.
* ImageClickEventArgs.cs: Added LinkDemand for AspNetHostingPermission
with Minimal level.
* LiteralControl.cs: Added LinkDemand and InheritanceDemand for
AspNetHostingPermission with Minimal level. Default Text is null.
* LosFormatter.cs: Added LinkDemand and InheritanceDemand for
AspNetHostingPermission with Minimal level. Stubbed new 2.0 ctor.
* ObjectConverter.cs: Added LinkDemand and InheritanceDemand for
AspNetHostingPermission with Minimal level. Obsoleted ctor for 2.0.
* ObjectTagBuilder.cs: Added LinkDemand for AspNetHostingPermission
with Minimal level. Added check for null id (HttpException).
* Page.cs: Added LinkDemand and InheritanceDemand for
AspNetHostingPermission with Minimal level. Throw some HttpException
when no context is available.
* Pair.cs: Added LinkDemand for AspNetHostingPermission with Minimal
level. InheritanceDemand too for 1.x.
* PageParser.cs: Added LinkDemand for AspNetHostingPermission with
Minimal level.
2005-09-14 Sebastien Pouliot <sebastien@ximian.com>
* DataBinder.cs: Added LinkDemand for AspNetHostingPermission with
Minimal level. Fixed some exceptions.
* DataBindingCollection.cs: Added LinkDemand for
AspNetHostingPermission with Minimal level. Added 2.0 method and
event.
* DataBindingHandlerAttribute.cs: Added LinkDemand for
AspNetHostingPermission with Minimal level.
* DataBinding.cs: Added LinkDemand for AspNetHostingPermission with
Minimal level. Simplified Equals (reduced casts).
* DataBoundLiteralControl.cs: Added LinkDemand for
AspNetHostingPermission with Minimal level. Implemented ITextControl
for 2.0.
* DesignerDataBoundLiteralControl.cs: Added LinkDemand for
AspNetHostingPermission with Minimal level.
* DesignTimeParseData.cs: Added LinkDemand for AspNetHostingPermission
with Minimal level. Added new 2.0 properties.
* DesignTimeTemplateParser.cs: Added LinkDemand for
AspNetHostingPermission with Minimal level. Made class static and
stubbed missing methods (2.0).
* EmptyControlCollection.cs: Added LinkDemand and InheritanceDemand
for AspNetHostingPermission with Minimal level. Changed Add* methods
exceptions to HttpException.
2005-09-14 Sebastien Pouliot <sebastien@ximian.com>
* AttributeCollection.cs: Added LinkDemand for AspNetHostingPermission
with Minimal level.
* BaseParser.cs: Added LinkDemand and InheritanceDemand for
AspNetHostingPermission with Minimal level.
* BasePartialCachingControl.cs: Added LinkDemand and InheritanceDemand
for AspNetHostingPermission with Minimal level.
* CompiledTemplateBuilder.cs: Added LinkDemand for
AspNetHostingPermission with Minimal level.
* ConstructorNeedsTagAttribute.cs: Added LinkDemand for
AspNetHostingPermission with Minimal level.
* ControlBuilderAttribute.cs: Added LinkDemand for
AspNetHostingPermission with Minimal level. Simplified Equals and
IsDefaultAttribute.
* ControlBuilder.cs: Added LinkDemand and InheritanceDemand for
AspNetHostingPermission with Minimal level.
* ControlCachePolicy.cs: Hided ctor and removed SupportsCaching setter
* ControlCollection.cs: Added LinkDemand and InheritanceDemand for
AspNetHostingPermission with Minimal level. Fixed possible stack
overflow in Add* methods. Fixed CopyTo as we're not allocating the
array based on the number of items.
* Control.cs: Added LinkDemand and InheritanceDemand for
AspNetHostingPermission with Minimal level. Fixed 2.0 signatures.
* CssStyleCollection.cs: Added LinkDemand for AspNetHostingPermission
with Minimal level.
* IStyleSheet.cs: Fixed parameter orders (2.0).
2005-09-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* TemplateParser.cs: default VS 2005 pages are compiled fine now.
2005-09-07 Chris Toshok <toshok@ximian.com>
* MinimizableAttributeTypeConverter.cs: new class, whose existence
we know about because of corcompare, and for whose implementation
we have exclusively nunit to thank.
2005-09-06 Chris Toshok <toshok@ximian.com>
* RootBuilder.cs (.cctor): doh, add all the new html controls
here.
2005-08-31 Chris Toshok <toshok@ximian.com>
* DataSourceSelectArguments.cs (Empty): this is apparently,
according to corcompare, a property, not a field. go figure.
(Equals): implement.
(IsEmpty): remove all mention of it.
2005-08-29 Chris Toshok <toshok@ximian.com>
* StateBag.cs (GetChar): add.
2005-08-28 Chris Toshok <toshok@ximian.com>
* Page.cs: more random corcompare work.
(PageAdapter): implement.
2005-08-28 Chris Toshok <toshok@ximian.com>
* Page.cs (.ctor): set our initial ID to "__Page".
(SmartNavigation): obsolete in 2.0.
(FindControl): new implementation. Just check our own ID against
the control we're looking for. otherwise pass it along to
base.FindControl.
(GetPostBackClientHyperlink): obsolete in 2.0.
2005-08-28 Chris Toshok <toshok@ximian.com>
* ClientScriptManager.cs: public sealed in 2.0
* IAdaptableTextWriter.cs: new 2.0 interface.
* IHierarchyData.cs: fix return type for GetParent.
2005-08-28 Chris Toshok <toshok@ximian.com>
* Pair.cs: mark serializable and sealed in 2.0.
2005-08-26 Sebastien Pouliot <sebastien@ximian.com>
* CssStyleCollection.cs: Implemented setter for Value (2.0) using the
existing (but internal) FillStyle method. Rewrote BagToString to use an
HtmlTextWriter so we get the "right" format for background-image url.
2005-08-26 Sebastien Pouliot <sebastien@ximian.com>
* CssStyleCollection.cs: Implemented this[HtmlTextWriterStyle],
Remove(HtmlTextWriterStyle) and the getter for Value (all 2.0). Removed
the extra space from last patch because they break some unit tests.
2005-08-26 Lluis Sanchez Gual <lluis@novell.com>
* CssStyleCollection.cs: Added some spacing.
* HtmlTextWriter.cs: Made style and attribute tables static.
Implemented StaticGetStyleName().
2005-08-26 Sebastien Pouliot <sebastien@ximian.com>
* CssStyleCollection.cs: Stubbed new 2.0 stuff to allow TableStyleTest
compilation.
* HtmlTextWriter.cs: Fix style rendering for BackgroundImage in 2.0.
The new rendering formats the value as "url(" + original + ")".
2005-08-26 Sebastien Pouliot <sebastien@ximian.com>
* HtmlTextWriter.cs: Added support for VerticalAlign style (as it
depends on the HtmlTextWriterStyle ordering).
2005-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HtmlTextWriter.cs: remove 'mistaken end of statement' and FIXME.
2005-08-25 Sebastien Pouliot <sebastien@ximian.com>
* HtmlTextWriterStyle.cs: Added missing VerticalAlign in 2.0 (which
fixed the rest of the enum values).
* UrlPropertyAttribute.cs: Removed the .ctor accepting an UrlTypes
parameter to match 2.0 API. Added a setter to the AllowedTypes
property.
2005-08-24 Chris Toshok <toshok@ximian.com>
* Control.cs (get_Adapter): Instead of throwing an exception, just
return null, so we can write the rest of the Control specific
Adapter code and just not enable any of those code paths until we
have actual adapters. Also flag TODO.
(EnsureChildControls): Call out to Adapter.CreateChildControls if
we have an adapter.
(RenderChildren): call "RenderControl (writer, adapter)" if we
have an adapter.
(RenderControl): implement the adapter case naively.
(LoadRecursive): call out to Adapter.OnLoad if we have one.
(PreRenderRecursiveInternal): call out to Adapter.OnPrerender if
we have one.
(InitRecursive): call out to Adapter.OnInit if we have one.
2005-08-24 Chris Toshok <toshok@ximian.com>
* Page.cs (GetPostBackEventReference): track change to
ClientScriptManager and don't call a removed method.
* ClientScriptManager.cs: track more recent docs and corcompare
output.
2005-08-24 Sebastien Pouliot <sebastien@ximian.com>
* KeyedList.cs: Fixed bug when removing an unexisting object.
* StateManagedCollection.cs: Fixed API for beta2. Fixed buglets found
in implementing RoleGroupCollection.
2005-08-22 Sebastien Pouliot <sebastien@ximian.com>
* Page.cs: Use Control property (and not the _control variable) to get
the User (so the virtual Control property can be overriden properly).
Sadly this doesn't seems to be the case for other properties (like
Request).
2005-08-18 Dick Porter <dick@ximian.com>
* ControlCachePolicy.cs, PersistChildrenAttribute.cs,
UserControl.cs, DesignerDataBoundLiteralControl.cs,
PageStatePersister.cs, DataBoundLiteralControl.cs, Control.cs,
BasePartialCachingControl.cs, LiteralControl.cs: 2.0 API fixes and
stubs and attribute fixes
2005-08-13 Sebastien Pouliot <sebastien@ximian.com>
* Control.cs: Add protected virtual SetDesignModeState, in 2.0
profile, as this is required for the Login control.
2005-08-11 Dick Porter <dick@ximian.com>
* CssStyleCollection.cs: Tweak the css string format to pass a
unit test
* AttributeCollection.cs: Don't NRE if someone sets the "style"
attribute to null.
2005-08-05 Ben Maurer <bmaurer@ximian.com>
* HtmlTextWriter.cs: Revert the patch below, see test case
2005-08-05 Dick Porter <dick@ximian.com>
* HtmlTextWriter.cs: Make <option> tags render inline, to match
the ms output
2005-08-03 Ben Maurer <bmaurer@ximian.com>
* HtmlTextWriter.cs: Optmize this not to do insane amounts of
allocation for large pages, etc.
2005-07-30 Chris Toshok <toshok@ximian.com>
* Page.cs (VerifyRenderingInServerForm): copy MS's error message
since our form-errors jsunit tests depend on it.
2005-07-30 Chris Toshok <toshok@ximian.com>
* DataBinder.cs (FormatResult): make internal, not private.
2005-07-29 Ben Maurer <bmaurer@ximian.com>
* StateBag.cs: Don't remove when tracking viewstate, as per msft
docs.
2005-07-29 Ben Maurer <bmaurer@ximian.com>
* StateBag.cs: Actually *remove* items that are null. Duh.
2005-07-21 Peter Dennis Bartok <pbartok@novell.com>
* Page.cs: Need to throw exception when accessing Request but no
context exists
2005-07-20 Chris Toshok <toshok@ximian.com>
* ClientScriptManager.cs (GetClientValidationEvent): the JS we
stick in onclick handlers for buttons/links/etc.
* Page.cs (GetSubmitStatements): new function to return
scriptManager.WriteSubmitStatements. Used by HtmlForm.
(AreValidatorsUplevel): used by many of the button/linkbutton
controls (the ones that can CauseValidation) to tell whether or
not to emit client side validation calls.
2005-07-20 Chris Toshok <toshok@ximian.com>
* WebResourceAttribute.cs: make internal (and available) in
!NET_2_0.
2005-07-20 Chris Toshok <toshok@ximian.com>
* ClientScriptManager.cs (GetWebResourceUrl): make internal (but
available) in !NET_2_0.
2005-07-18 Peter Dennis Bartok <pbartok@novell.com>
* Control.cs: Added IDataBindingsAccessor interface methods
2005-07-18 Ben Maurer <bmaurer@ximian.com>
* HtmlTextWriter.cs: Fix nested indentation
2005-07-18 Peter Dennis Bartok <pbartok@novell.com>
* Control.cs: Added missing IParserAccessor.AddParsedSubObject
interface method
2005-07-18 Ben Maurer <bmaurer@ximian.com>
* HtmlTextWriter.cs: Fix indentation (somewhat at least)
2005-07-18 Peter Dennis Bartok <pbartok@novell.com>
* Control.cs:
- Default name for controls on MS.Net is "_ctl" not "_ctrl"
- MS does not append 'a' for auto-generated names
2005-07-17 Ben Maurer <bmaurer@ximian.com>
* AttributeCollection.cs: Use the invariant culture.
* StateBag.cs: "Duh" optimization: return null when there are no
dirty items in the view state
2005-07-14 Ben Maurer <bmaurer@ximian.com>
* StateBag.cs: A "short" version of my favorite method.
* HtmlTextWriter.cs: New method to get the tag name staticly.
2005-07-14 Duncan Mak <duncan@novell.com>
* DataBindingHandlerAttribute.cs: Fixed after receiving some
comments from Gonzalo.
2005-07-13 Jackson Harper <jackson@ximian.com>
* PropertyConverter.cs: No public constructors.
2005-07-13 Ben Maurer <bmaurer@ximian.com>
* HtmlTextWriter.cs: Remove debugging spew. Style cleanup
2005-07-12 Ben Maurer <bmaurer@ximian.com>
* HtmlTextWriter.cs: Make styles work.
2005-07-11 Peter Dennis Bartok <pbartok@novell.com>
* AttributeCollection.cs:
- Changes to match MS behaviour, the "style" attribute is always
added to the list, in addition to being added to the
CssStyleCollection. Also added check for "style" attribute when
setting via index setter
- When "Style" attribute is added, CssStyleCollection is
automatically created
- The style keyword needs to be lowercase
2005-07-11 Ben Maurer <bmaurer@ximian.com>
* HtmlTextWriter.cs: Missing a PopEndTag here.
* PropertyConverter.cs: Pass tests
2005-07-09 Miguel de Icaza <miguel@novell.com>
* DataBindingHandlerAttribute.cs: Create the "Default" property.
2005-07-09 Duncan Mak <duncan@novell.com>
* DataBindingHandlerAttribute.cs: Implemented.
2005-07-08 Ben Maurer <bmaurer@ximian.com>
* HtmlTextWriter.cs: Much better compliance with msft
2005-07-08 Jackson Harper <jackson@ximian.com>
* ToolbarDataAttribute.cs: New implementation.
2005-07-07 Jackson Harper <jackson@ximian.com>
* PropertyConverter.cs: New implementation.
2005-07-07 Ben Maurer <bmaurer@ximian.com>
* StateBag.cs: Noticed an issue where SetDirty was called when the
key did not exist.
2005-07-07 Ben Maurer <bmaurer@ximian.com>
* StateBag.cs: Add a method that gets a string or else a default
value.
2005-07-07 Dick Porter <dick@ximian.com>
* StateBag.cs: Added internal SetDirty (void) method to fix the
build
2005-07-07 Sebastien Pouliot <sebastien@ximian.com>
* HtmlTextWriter.cs: Small fixlet when attribute has no value.
2005-07-07 Miguel de Icaza <miguel@novell.com>
* HtmlTextWriter.cs: Return the stuff in lowercase to pass the
tests.
* StateBag.cs: Add NET_2_0 SetDirty method to get the build
going.
2005-07-07 Sebastien Pouliot <sebastien@ximian.com>
* HtmlTextWriter.cs: Small fixlet (required for the unit tests).
2005-07-06 Ben Maurer <bmaurer@ximian.com>
* HtmlTextWriter.cs: Make sure to clear attributes when they are
written.
* StateBag.cs: New impl
2005-06-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* Page.cs:
* Control.cs: avoid the creation of the EventHandlerList and accessing
to it whenever possible. Fix ENABLE_THEMING constant.
2005-06-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* TemplateParser.cs:
* TemplateControlParser.cs:
* UserControlParser.cs: detect circular references when a control tries
to register itself as a tag. Fixes bug #75376.
2005-06-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* PageParser.cs: don't try to compile the master page if it wan't
provided. Use MapPath from the base classes instead of the long
version. Fixes bug #75269 that prevented xsp2 from working properly.
2005-06-13 Lluis Sanchez Gual <lluis@novell.com>
* MasterPage.cs: Clear the default content of placeholders before
adding the page content. Fixes bug #75193.
2005-06-13 Lluis Sanchez Gual <lluis@novell.com>
* PageParser.cs: Added MasterType property. Get the type from the
MasterType directive.
* MasterPageParser.cs: Added GetCompiledMasterType method.
2005-06-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* UserControl.cs:
* Page.cs:
* Control.cs: updates for 1.1 SP1
2005-06-06 Lluis Sanchez Gual <lluis@novell.com>
* Control.cs: Added new DataBind() overload for 2.0. The old
method calls this new overload.
2005-06-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* TemplateParser.cs: ignore empty assembly.Location for in-memory
generated assemblies.
2005-06-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* Page.cs: added AddContentTemplate method.
2005-05-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* AttributeCollection.cs: html-encode attribute values. Fixes
bug #73771.
2005-05-26 Lluis Sanchez Gual <lluis@novell.com>
* DataSourceView.cs: Fix api.
* NonVisualControlAttribute.cs: Implemented.
* IDataItemContainer.cs: Added missing properties.
* Control.cs: Added new EnableTheming and SkinID properties.
* HierarchicalDataSourceControl.cs: Implemented missing methods.
2005-05-13 Lluis Sanchez Gual <lluis@novell.com>
* ControlCollection.cs: Added internal setter for ReadOnly.
2005-05-09 Geoff Norotn <gnorton@customerdna.com>
* TemplateParser.cs: Silently remove the CodeFile attribute that ASP.NET 2.0
uses instead of codebehind.
2005-05-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* Page.cs: as setting CurrentCulture is slow, don't set it if the
culture has not changed since before the page started processing.
2005-05-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* TemplateParser.cs: LoadWithPartialName returns null if the assembly is
not found.
2005-04-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* TemplateParser.cs:
* SimpleWebHandlerParser.cs: removed values assigned and neved used.
2005-04-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* SimpleWebHandlerParser.cs:
* TemplateParser.cs: always get the location (full path) for assemblies,
even the ones from the GAC.
* BaseCompiler.cs: check that DynamicBase directory exists before
creating the TempFileCollection.
2005-04-22 Lluis Sanchez Gual <lluis@novell.com>
* ClientScriptManager.cs: Use a linked list instead of a Hashtable
to store the scripts. In this way, scripts will be rendered in the
same order as they have been registered. It shouldn't be slower
since pages don't have many scripts.
2005-04-21 Lluis Sanchez Gual <lluis@novell.com>
* IEditableTextControl.cs: Implemented.
* DataBinder.cs: Marked constructor as obsolete in 2.0.
In GetDataItem, check for the IDataItemContainer interface
in the container.
* TemplateControl.cs: Improved check for data item.
2005-04-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* TemplateParser.cs: we still need LoadWithPartialName if Load fails.
* Page.cs: ensure _requiresPostBack is emptied if we didn't have a copy
for second postback.
2005-04-20 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
* TemplateParser.cs: Adding support for Strict/Explicit attributes
for @Page/@Control directives as documented at
http://msdn.microsoft.com/library/en-us/cpgenref/html/cpconControlDirective.asp.
First step don't choke on them. Fixing #74671
2005-04-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* TemplateParser.cs: use Load instead of LoadWithPartialName. That was
there from the time when Load wasn't working properly. First part of the
fix to 74500.
2005-04-15 Lluis Sanchez Gual <lluis@novell.com>
* ControlBuilder.cs: The BindingContainerType property happens
to exist in 2.0, so I made it public. Added ParentTemplateBuilder,
which is used to get the binding container that is managing
the current two-way binding context.
* TemplateBuilder.cs: Added some methods and an internal class
to support two-way bindings.
* CompiledBindableTemplateBuilder.cs: Implemented.
* IBindableTemplate.cs: This interface inherits from ITemplate.
2005-04-14 Lluis Sanchez Gual <lluis@novell.com>
* ControlBuilder.cs: Added BindingContainerType property,
which works like NamingContainerType but takes into account
template builders with a specific container type (specified
using the TemplateContainerAttribute.
* StateManagedCollection.cs: Reimplemented Save/Load view
state methods. The existing implementation was not correct
in all cases.
2005-04-08 Lluis Sanchez Gual <lluis@novell.com>
* DataSourceView.cs: Added null check.
2005-04-07 Lluis Sanchez Gual <lluis@novell.com>
* TemplateControl.cs:
* Page.cs: Moved Eval and XPath from Page
to TemplateControl.
* StateManagedCollection.cs: Avoid saving null state.
2005-04-01 Lluis Sanchez Gual <lluis@novell.com>
* DataSourceView.cs: Rethrow exceptions not handled by operation
callbacks.
* ITextControl.cs: Removed event.
* CollectionBuilder.cs: Don't crash when a collection has more
than one indexer.
2005-03-23 Lluis Sanchez Gual <lluis@novell.com>
* Control.cs: Added a new internal property: HasRenderMethodDelegate.
* HtmlTextWriterAttribute.cs: Replaced wrong enum value.
* HtmlTextWriter.cs: Register new ASP.NET 2.0 attributes
2005-03-16 Lluis Sanchez Gual <lluis@novell.com>
* ClientScriptManager.cs: Fix build.
2005-03-11 Lluis Sanchez Gual <lluis@novell.com>
* Utils.cs, Control.cs: Don't use Page.GetPostBackClientEvent
since it is deprecated in 2.0.
* Page.cs: Deprecated GetPostBackClientEvent and similar methods
in 2.0. Moved callback management methods to ClientScriptManager.
* ClientScriptManager.cs: Moved here deprecated methods from Page.
In GetPostBackEventReference (PostBackOptions), don't use the
WebForm_DoPostback script if the post can be done with a simple
__doPostBack call.
* PostBackOptions.cs: Fixed default values for some properties.
2005-03-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* Control.cs: in FindControl, throw if there's more than one control
with the same ID. Fixes bug #73479.
2005-03-04 Lluis Sanchez Gual <lluis@novell.com>
* Page.cs: Load control state before loading view state, and the
same for saving.
* DataSourceSelectArguments.cs: Fix recursive property call.
2005-02-25 Lluis Sanchez Gual <lluis@novell.com>
* DataSourceView.cs: Fixed incorrect implementation of
RaiseUnsupportedCapabilityError.
* IDataItemContainer.cs: Added new properties.
* Page.cs: Implemented Form property.
* Control.cs: Fixed formatting.
* StateManagedCollection.cs: Track view state of items loaded
in LoadViewState.
2005-02-22 Lluis Sanchez Gual <lluis@novell.com>
* FilterableAttribute.cs: Fix endless loop.
2005-02-18 Lluis Sanchez Gual <lluis@novell.com>
* Page.cs: Implemented missing events.
2005-02-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* BoundPropertyEntry.cs:
* PropertyEntry.cs:
* TwoWayBoundPropertyEntry.cs: implemented.
2005-02-10 Lluis Sanchez Gual <lluis@novell.com>
* Page.cs: Added support for validation groups. Some fixes in
SavePageControlState().
* IFilterResolutionService.cs: Removed extra field.
* INavigateUIData.cs: Added missing field.
* ICheckBoxControl.cs, IStaticTextControl.cs, ITextControl.cs:
Implemented new interfaces.
2005-02-04 Lluis Sanchez Gual <lluis@novell.com>
* Page.cs: Implemented support for cross page postback. Implemented
support for postback with options. Fixed several method and property
signatures for 2.0.
* PostBackOptions.cs: Added some TODOs.
2005-02-02 Lluis Sanchez Gual <lluis@novell.com>
* ParseChildrenAttribute.cs: Set the correct default value for the
childType property.
2005-01-28 Lluis Sanchez Gual <lluis@novell.com>
* ParseChildrenAttribute.cs: Added 2.0 property.
* Pair.cs, Triplet.cs: Make classes serializable and sealed in 2.0.
* Page.cs: Added support for control state.
* TemplateBuilder.cs: ContainerType should be internal.
* Control.cs: Added some new 2.0 methods.
2005-01-21 Lluis Sanchez Gual <lluis@novell.com>
* PageParser.cs: Read the MasterPageFile attribute.
* UserControlParser.cs: Not sealed any more since we need to inherit from
it. Added new constructor with an additional "type" parameter.
* MasterPageParser.cs: Parser for master pages.
* Page.cs: Added support for master pages.
* MasterPage.cs: Implemented.
2005-01-10 Lluis Sanchez Gual <lluis@novell.com>
* TemplateBuilder.cs: Added a special constructor that takes an
attribute provider as parameter. The container type for the template
may be defined in a TemplateContainerAttribute.
* ControlBuilder.cs: Create the TemplateBuilder using that special
constructor.
* TemplateContainerAttribute.cs: Added 2.0 property and ctor.
2004-12-20 Lluis Sanchez Gual <lluis@novell.com>
* IStyleSheet.cs: Added missing "using".
* Page.cs: Implemented Header property.
* CssStyleCollection.cs: Made BagToString method internal.
* RootBuilder.cs: Register HtmlHead control.
2004-12-17 Lluis Sanchez Gual <lluis@novell.com>
* CssStyleCollection.cs: Minor (!) fix.
* HtmlTextWriter.cs: Register names for new 2.0 styles.
2004-12-17 Lluis Sanchez Gual <lluis@novell.com>
* CssStyleCollection.cs: Make it work as a standalone collection.
* HtmlTextWriter.cs: Added static method for getting style names.
2004-12-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* ControlCollection.cs: fix off-by-one and store a null at the end to
remove the reference to the removed control.
2004-12-10 Lluis Sanchez Gual <lluis@novell.com>
* ClientScriptManager.cs: Added GetScriptLiteral helper method.
2004-12-02 Lluis Sanchez Gual <lluis@novell.com>
* Page.cs: Added support for callback events. Moved theform variable
outside the __doPostBack function, so it can be used by other
scripts.
* StateBag.cs: Implemented SetDirty().
2004-11-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* Control.cs: when saving "Visible" into the ViewState, save the value
for this precise control, as using the Visible property might give us
Control's parent visibility. Fixes bug #69200.
2004-11-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* Control.cs: fixed ResolveUrl for relative URLs when using cookie-less
sessions.
* System.Web.Util/UrlUtils.cs: made (Insert|Get|Remove)SessionId use
the appRoot + SessionID + vpath format.
Fixes the 3 issues reported in bug #66623.
2004-11-26 Lluis Sanchez Gual <lluis@novell.com>
* Page.cs: Moved code for managing client scripts to ClientScriptManager,
which is public in 2.0 and internal in 1.1.
* ClientScriptManager.cs: Implemented.
2004-11-25 Sanjay Gupta <gsanjay@novell.com>
* DataSourceView.cs: Removed extra method.
2004-11-24 Sanjay Gupta <gsanjay@novell.com>
* DataSourveViewSelectCallback.cs: Corrected method signature.
2004-11-23 Lluis Sanchez Gual <lluis@novell.com>
* ControlBuilder.cs: Always check for the ParseChildrenAttribute,
even if the class doesn't implement IParserAccessor.
* WebResourceAttribute.cs: Allow multiple attributes of this type.
2004-11-15 Lluis Sanchez Gual <lluis@novell.com>
* DataSourceView.cs: Moved here implementation of DataSourceViewChanged
from SqlDataSourceView.cs.
2004-11-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* Control.cs: unified a few bool fields into an int one.
* ControlCollection.cs: use an array internally instead of always
allocating an arraylist. Also added our own enumerator.
* EmptyControlCollection.cs: there's no 'special' ctor now in the base
class.
2004-11-05 Sanjay Gupta <gsanjay@novell.com>
* DataSourceView.cs: Changes in access modifiers of methods.
2004-10-20 Sanjay Gupta <gsanjay@novell.com>
* DataSourceCapabilities.cs: Added Flags attribute.
* DataSourceSelectArguments.cs: Updated.
* DataSourveView.cs: Updated.
2004-10-19 Sanjay Gupta <gsanjay@novell.com>
* HierarchicalDataSourceView.cs: Corrected class definition and updated.
2004-10-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HierarchicalDataSourceView.cs: fix typo.
2004-10-18 Sanjay Gupta <gsanjay@novell.com>
* HierarchicalDataSourceView.cs: Updated.
2004-10-18 Sanjay Gupta <gsanjay@novell.com>
* DataSourceSelectArguments.cs: Initial implementation.
2004-10-12 Sanjay Gupta <gsanjay@novell.com>
* UrlPropertyAttribute.cs: Corrected implementation of Equals () method.
2004-10-12 Sanjay Gupta <gsanjay@novell.com>
* UrlTypes.cs: Updated.
2004-10-12 Sanjay Gupta <gsanjay@novell.com>
* UrlPropertyAttribute.cs: Added new file.
2004-10-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* Control.cs: even if the control has no children the naming container
may contain the control we're looking for. Fixes bug #67304.
2004-09-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* AspGenerator.cs: added OtherTags.
2004-09-24 Sanjay Gupta <gsanjay@novell.com>
* ControlValuePropertyAttribute.cs: Initial implementation.
2004-09-24 Sanjay Gupta <gsanjay@novell.com>
* IPaginationContainer.cs: Corrected name of class.
2004-09-24 Sanjay Gupta <gsanjay@novell.com>
* IDReferencePropertyAttribute.cs: Completed implementation.
2004-09-24 Sanjay Gupta <gsanjay@novell.com>
* ThemeableAttribute.cs:
* FilterableAttribute.cs: Code scrubbing and optimization.
2004-09-14 Sanjay Gupta <gsanjay@novell.com>
* ThemeableAttribute.cs: Completed implementation.
2004-09-14 Sanjay Gupta <gsanjay@novell.com>
* FilterableAttribute.cs: Completed implementation.
2004-09-14 Sanjay Gupta <gsanjay@novell.com>
* Control.cs: Added new attributes and a method.
* FilterableAttribute.cs: New attribute, initial implementation.
* ThemeableAttribute.cs: New attribute, initial implemenataion.
2004-09-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* TemplateParser.cs: ensure bin directory exists before trying to access
it. Fixes bug #65446 (not closed yet due to dependencies).
2004-09-09 Sanjay Gupta <gsanjay@novell.com>
* Control.cs: Implemented methods of interface IExpressionAccessor.
2004-09-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* SimpleWebHandlerParser.cs: correctly cache Type instead of the
assembly for ashx/asmx. Otherwise we need to open the file and check
for the class name in there. Thanks to Ben for pointing this out.
2004-09-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* TemplateParser.cs: removed creation of StringWriter. It's not used.
* Control.cs: don't create the EventHandlerList until requested.
2004-09-03 Sanjay Gupta <gsanjay@novell.com>
* Control.cs: Added new interfaces implemented in .Net 2.0.
* ExpressionBinding.cs: Added new class.
* ExpressionBindingCollection.cs: Added new class.
2004-09-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* LiteralControl.cs: stylized. This control has EnableViewState disabled
by default and doesn't get an automatic ID. When text is null -> "".
2004-08-31 Sanjay Gupta <gsanjay@novell.com>
* ControlSkinProc.cs:
* DataSourceViewOperationCallback.cs:
* DataSourceViewSelectCallback.cs:
* ExtractTemplateValuesMethod.cs: Explicit modifier "sealed" not
required in definition as delegates by default are sealed.
2004-08-31 Sanjay Gupta <gsanjay@novell.com>
* IDReferencePropertyAttribute.cs: Corrected and changed from interface
to class.
* IMobileTextWriter.cs: Corrected method signatures.
2004-08-09 Sanjay Gupta <gsanjay@novell.com>
* ControlSkinProc.cs:
* DataSourceViewOperationCallback.cs:
* DataSourceViewSelectCallback.cs:
* ExtractTemplateValuesMethod.cs: Added new delegates.
2004-08-06 Sanjay Gupta <gsanjay@novell.com>
* IBindableTemplate.cs:
* ICallbackEventHandler.cs:
* IControlBuilderAccessor.cs:
* IControlDesignerAccessor.cs:
* IControlTypeFilter.cs:
* IDataItemContainer.cs:
* IDataSourceViewSchemaAccessor.cs:
* IDReferencePropertyAttribute.cs:
* IExpressionsAccessor.cs:
* IFilterResolutionService.cs:
* IItemPaginationInfo.cs:
* IMobileTextWriter.cs:
* IPageHeader.cs:
* IPaginationContainer.cs:
* IPaginationInfo.cs:
* IResourceResolutionService.cs:
* IResourceUrlGenerator.cs:
* IStateFormatter.cs:
* IStyleSheet.cs:
* IThemeResolutionService.cs:
* IUrlResolutionService.cs:
* IUserControlTypeResolutionService.cs: Added new files for Interfaces.
2004-08-05 Sanjay Gupta <gsanjay@novell.com>
* PostBackOptions.cs: Added new file and implemented the class.
2004-08-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HtmlTextWriterTag.cs: readded author name.
2004-08-04 Sanjay Gupta <gsanjay@novell.com>
* HtmlTextWriterAttribute.cs:
* HtmlTextWriterStyle.cs: Added .Net 2.0 enumerations.
* CompilationMode.cs:
* ConflictOptions.cs:
* DataSourceCacheExpiry.cs:
* DataSourceCapabilities.cs:
* DataSourceOperation.cs:
* TemplateContentType.cs:
* TemplateInstance.cs:
* UrlTypes.cs:
* VerificationConditionalOperator.cs:
* VerificationReportLevel.cs:
* VerificationRule.cs:
* XhtmlMobileDocType.cs: Added enumerations.
2004-07-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* Control.cs: style. Reverted previous patch modification of
TemplateSourceDirectory (failed when the control is reparented). Use
HasControls() and Controls all over instead of _controls, as Controls
property and HasControls() might be overriden.
2004-07-27 Alon Gazit <along@mainsoft.com>
* Control.cs: Changed the implementation of TemplateSourceDirectory
and GetDefaultName(). replaced foreach statements with for statements,
in order to improve performence.
2004-07-27 Alon Gazit <along@mainsoft.com>
* Page.cs: changed the implementation of GetViewStateString().
if the view state object is null there is no need to perform
Serialization.
2004-07-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* TemplateControl.cs: don't include private methods of base classes when
auto-attaching events. Fixes bug 61569.
2004-07-14 Alon Gazit <along@mainsoft.com>
* HtmlTextWriter.cs: changed the Hashtables to case insensitive.
2004-07-08 Pablo Baena <pbaena@gmail.com>
* Page.cs: added workaround for __doPostBack script on Netscape 4.xx
2004-07-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* Page.cs: added additional checks for saving/displaying trace data.
* PageParser.cs: removed checks for trace enabled in configuration
files.
2004-06-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* ControlCollection.cs: when clearing the control collection, tell the
owners about the removal. Fixes bug #60800.
2004-06-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* Page.cs: don't nullify _context after processing the request as there
are events not triggered yet. Fixes bug #60726.
2004-06-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HtmlTextWriter.cs: only create a closing tag for unknown tags. Fixes
bug #60681.
2004-06-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* PageParser.cs:
* UserControlParser.cs: set the page/user control base type even when no
default directive provided. Fixes bug #60572.
2004-06-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* PageParser.cs: use default trace settings from web.config and check
if trace is only requested for local connections. Fixes bug #60180.
2004-06-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* SimpleWebHandlerParser.cs: implemented GetCompiledTypeFromCache. When
we read the default directive, check the cache for the Type and if
present, don't keep reading and store the type found.
* WebHandlerParser.cs:
* WebServiceParser.cs: try GetCompiledTypeFromCache before actually
compiling.
2004-06-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* Control.cs: properly fixed bug #59794.
2004-06-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* Control.cs:
(ResolveUrl): fixed typo when dealing with relative urls. Closes bug
#59794.
2004-06-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* SimpleWebHandlerParser.cs:
* TemplateParser.cs: pass the language when compiling from a file.
2004-06-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* SimpleWebHandlerParser.cs: if we have a global.asax, move its
reference to the end to help mcs loading the assemblies. Fixes bug
#58768.
* TemplateParser.cs: same as above. Removed some kludges to workaround
loading assemblies from bin path that are now in the runtime. Don't
load the assemblies in bin if not needed, but still reference them
when compiling.
2004-06-07 Alon Gazit <along@mainsoft.com>
* Page.cs: Changed Page.ProcessPostData().
After the change ,the state of controls that aren't visible is saved
during a postback.
2004-06-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* Page.cs: removed obsolete MonoTODO from RegisterOnSubmitStatement.
2004-06-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* Page.cs: IsPostBack also returns true when method is GET and we have
viewstate information in the query string. Fixes bug #58151.
2004-06-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* Page.cs: removed obsolete TODO. Only check if Trace is enabled, not
HttpRutime.TraceManager.
* PageParser.cs: for 'trace' we have 2 variables now. Added support
for 'buffer' attribute.
2004-06-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* Page.cs: implemented ClientTarget.
* PageParser.cs: support for clientTarget and check for validity.
2004-06-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* Control.cs:
* Html32TextWriter.cs:
* HtmlTextWriter.cs:
* SimpleWebHandlerParser.cs:
* TemplateControl.cs: Added protected missing members and attributes.
2004-06-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* ObjectStateFormatter.cs: use ObjectFormatter methods instead of
calling a protected method of another object.
2004-06-03 Atsushi Enomoto <atsushi@ximian.com>
* ObjectStateFormatter.cs : csc build fix. Protected Read()/Write()
(of other objects) are called in TypeConverterFormatter.
2004-06-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* ObjectStateFormatter.cs: before choosing the binary formatter, check
if the object type has a TypeConverter that can convert to/from string.
Fixes bug #59495.
* Page.cs: call GetViewStateString from outside the WriteLine. This
allows writing to the Response when getting the string without breaking
the HTML generated.
2004-06-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HtmlTextWriter.cs: render end tag for unknown tags.
Patch frmo Markus Krutner. Fixes bug #59466.
2004-05-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* Page.cs: call DeterminePostBackMode only once per request. Patch by
Evain Jb.
2004-05-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* Html32TextWriter.cs: stub contributed by Matthijs ter Woord
[meddochat].
* ObjectTagBuilder.cs: remove the HasBody override as MS does not have
that.
2004-05-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* SimpleWebHandlerParser.cs:
* TemplateParser.cs: for the assembly names given in the 'assembly'
attribute, use LoadWithPartialName instead of Load.
2004-03-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* Page.cs: return HttpContext.Current if _context has not yet been
assigned to. Fixes bug #55245.
2004-03-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* TemplateParser.cs: don't add import statement or assemblies from
global.asax to every file. Fixes bug #55496.
2004-03-09 Juraj Skripsky <juraj@hotfeet.ch>
* DataBinder.cs: allow unquoted string expressions (e.g. "[test]") and
handle single quotes and a few corner cases correctly (see test cases).
2004-03-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* TemplateControl.cs: fixed typos and added new method names to the set
of page events.
2004-02-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* ControlBuilder.cs: added SetTagName().
* ObjectTagBuilder.cs: use SetTagName so that we can properly close
<object> builders if the closing tag is provided.
2004-02-16 Jackson Harper <jackson@ximian.com>
* Page.cs: Set cacheability for Location.DownStream.
2004-02-10 Jackson Harper <jackson@ximian.com>
* TemplateParser.cs: Use full path if the assembly is in the
private bin directory. Patch by Gonzalo Paniagua Javier.
2004-02-09 Jackson Harper <jackson@ximian.com>
* Page.cs: Set cacheability for server side caching.
2004-01-30 Jackson Harper <jackson@ximian.com>
* Control.cs: Ensure that dynamically loaded controls are
initialized.
2004-01-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* ApplicationFileParser.cs: check for error in directives. Use
GlobalAsaxCompiler.CompileApplicationType for compiling.
* ObjectTagBuilder.cs: load the Type and check for errors.
* TemplateParser.cs: add assemblies and imports from global.asax.
Now we properly create accessors for session and application objects in
the application itself, pages and controls. First step for fixing
bug #53387.
2004-01-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* TemplateControl.cs: small speedup for WireUpautomaticEvents. Thanks
to Eric Lindvall for pointing this out.
2004-01-15 Jackson Harper <jackson@ximian.com>
* TemplateParser.cs: Detect if we are parsing a control or page
properly.
* Page.cs: vary by params and vary by headers can be null now.
2004-01-15 Martin Willemoes Hansen <mwh@sysrq.dk>
* HtmlTextWriter.cs: Fixed OutputTab routine to generate correct
indention.
2004-01-14 Jackson Harper <jackson@ximian.com>
* Page.cs: If we have a postback that wasn't sent through a
postback script (ie user hit submit on a input type=submit) call
Validate so page validation occurs. This fixes bug #52770.
2004-01-14 Jackson Harper <jackson@ximian.com>
* Page.cs: Don't tell the response to cache anymore. This is done
when the cacheability is modified by a callback. Set the cache's
duration.
2004-01-14 Jackson Harper <jackson@ximian.com>
* TemplateParser.cs: If varybyparam is set to "none" make it null
so we dont get a param named null in the outputcache key.
2004-01-14 Jackson Harper <jackson@ximian.com>
* BasePartialCachingControl.cs: Use varyby attributes in key
generation.
2004-01-14 Jackson Harper <jackson@ximian.com>
* TemplateParser.cs: Add all the outputcache attribute error
messages.
2004-01-13 Jackson Harper <jackson@ximian.com>
* TemplateParser.cs: Add VaryByControls and Shared output cache
properties. These are not assigned yet.
* TemplateControlParser.cs: Do not ignore the OutputCache
attribute.
* BasePartialCachingControl.cs: Initial implementation. Keys are
still not created properly.
* StaticPartialCachingControl.cs: Assign properties in base class,
implement CreateControl.
2004-01-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* ApplicationFileParser.cs: adde DefaultBaseTypeName property.
* PageParser.cs: support validateRequest.
* TemplateControlParser.cs: get default values from system.web/pages
section.
* TemplateParser.cs: added separate method for changing base type
(Inherits or system.web/pages).
* UserControlParser.cs: support system.web/pages defined base type.
2004-01-11 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
* UserControl.cs: Added missing attribute, implemented method
* Page.cs: Added missing attribute, implemented method
2004-01-10 Jackson Harper <jackson@ximian.com>
* Page.cs: Handle trace being enabled in the config file.
2004-01-10 Jackson Harper <jackson@ximian.com>
* Page.cs: Save trace data before rendering it.
* System.Web.dll.sources: Add TraceData.cs
2004-01-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* Page.cs: removed a couple of MonoTODO on methods we're not gonna
implement. Applied patch from Jan Jaros (mono-bug@jerryweb.info) to
ensure that Unload event is raised. Fixes bug #52555.
2004-01-02 Zoltan Varga <vargaz@freemail.hu>
* KeyedList.cs: 'private' is not allowed on explicit interface
implementations. Fixes 1.2 build.
2003-12-31 Jackson Harper <jackson@ximian.com>
* TemplateControlParser.cs: When registering tag prefixs make sure
the file exists and throw the correct error if it does not.
2003-12-25 Jackson Harper <jackson@ximian.com>
* Page.cs: Throw error if the session is accessed when sessions
are disabled.
2003-12-18 Jackson Harper <jackson@ximian.com>
* Page.cs: Write Trace info.
2003-12-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* LosFormatter.cs: new ctor for 1.1. The default ctor is public.
* Page.cs: added ViewStateUserKey and made RegisterclientScriptFile
internal.
* PageParser.cs: the ctor is public.
* PartialCachingAttribute.cs: added new ctor and Shared property.
2003-12-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* Page.cs: assign the ErrorPage to the context if we get an exception
when processing the page which only calls Unload.
* PageParser.cs: handle ErrorPage.
2003-12-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* ObjectStateFormatter.cs: added formatters for Unit and FontUnit, which
are not [Serializable]. Fixes bug #52244.
2003-12-16 Jackson Harper <jackson@ximian.com>
* Page.cs: Render trace data when tracing is enabled.
2003-12-15 Jackson Harper <jackson@ximian.com>
* PageParser.cs: Add Trace and Trace mode attributes.
2003-12-15 Jackson Harper <jackson@ximian.com>
* Page.cs: Use the context trace object.
2003-12-14 Alon Gazit <along@mainsoft.com>
* AttributeCollection.cs: Changed AttributeCollection.Render().
After the change attributes ,that their value is null, aren't
rendered.
2003-12-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* Control.cs: remove a few dangling ^M, don't set values for fields
that has the default value. If Visible is modified and we're tracking
viewstate, save and restore it. Fixes bug #48689.
2003-12-11 Jackson Harper <jackson@ximian.com>
* Control.cs: Give null for the ID if it hasn't been explicitly
set. This fixes bug #51520.
2003-12-08 Jackson Harper <jackson@ximian.com>
* PageParser.cs: Ignore the SmartNavigation attribute for now.
2003-12-05 Jackson Harper <jackson@ximian.com>
* DataBinder.cs (GetIndexedPropertyValue): Check if container is
an IList and use a cast instead of reflection to retrieve the item
if it is. Fixes bug #51759.
2003-12-04 Alon Gazit <along@mainsoft.com>
* Page.cs: Changed Page.ID so it will call Control.ID.
Fixed Bug 51682.
2003-12-02 Jackson Harper <jackson@ximian.com>
* Page.cs: Implemented registered array declarations. Patch by
Benjamin Jemlich <pcgod@gmx.net>
2003-12-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* TemplateParser.cs: basic check for 'classname' attribute and added
patch by pcgod@gmx.net for bug #51568, which fixes automatic class
names for pages starting with a number.
2003-11-30 Ben Maurer <bmaurer@users.sourceforge.net>
* LosFormatter.cs: Use ObjectStateFormatter. Pretty big size
reduction.
* ObjectStateFormatter.cs: Comment out tracing.
2003-11-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* Page.cs: fixed UICulture, LCID and Culture. Set the thread
[UI]Culture before processing the request.
* PageParser.cs: read Culture, UICulture and LCID attributes. Added
properties for these. Partially contributed by Mohammad Damt.
Fixes bug #51511.
2003-11-27 Jackson Harper <jackson@ximian.com>
* TemplateParser.cs: Ignore aspCompat attribute. This fixes bug
51434.
2003-11-22 Ben Maurer <bmaurer@users.sourceforge.net>
* ObjectStateFormatter.cs: Fix bug when reading small ints.
Add some tracing so we can see what is going on.
2003-11-21 Jackson Harper <jackson@ximian.com>
* Page.cs: Set vary by params when cache location is Server.
2003-11-21 Ben Maurer <bmaurer@users.sourceforge.net>
* ObjectStateFormatter.cs: v2 file. In v1.x this will be
internal as LosFormatter will eventually use it to save
the view state.
2003-11-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* PersistChildrenAttribute.cs:
* PersistenceModeAttribute.cs: implemented.
* TODO: Removed file.
* OutputCacheLocation.cs:
* TemplateControlParser.cs:
* HtmlInputFile.cs: class status based fixes.
2003-11-19 Jackson Harper <jackson@ximian.com>
* Page.cs: Always set the cache expire time. Tell the response to
cache itself for server side cached pages.
2003-11-19 Jackson Harper <jackson@ximian.com>
* Control.cs: Remove ResolveBaseUrl. ResolveUrl does the same
thing, some corner cases still need work though. Was this the
shortest lived method in the history of mono?
2003-11-19 Jackson Harper <jackson@ximian.com>
* Control.cs: New method for resolving urls that use ~/ to denote
the applications base directory.
2003-11-19 Jackson Harper <jackson@ximian.com>
* TemplateParser.cs: Fix typo in error message.
2003-11-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* TemplateControlParser.cs: support @Reference. Fixes bug #49572. Thanks
to Sanjay Gupta.
2003-11-19 Todd Berman <tberman@gentoo.org>
* KeyedList.cs:
* KeyedListEnumerator.cs: New v2 implementations.
2003-11-17 Ben Maurer <bmaurer@users.sourceforge.net>
* StateManagedCollection.cs: Implement.
2003-11-13 Jackson Harper <jackson@ximian.com>
* Page.cs: Initial implementation of InitOutputCache.
* TemplateParser.cs: Page OutputCache options
2003-11-09 Ben Maurer <bmaurer@users.sourceforge.net>
* HierarchicalDataSourceControl.cs: Implement.
2003-11-09 Ben Maurer <bmaurer@users.sourceforge.net>
* XPathBinder.cs: Implemented.
2003-11-08 Ben Maurer <bmaurer@users.sourceforge.net>
* DataSourceView.cs:
* IDataSource.cs:
* ListSourceHelper.cs:
* DataSourceControl.cs:
* HierarchicalDataSourceView.cs:
* IHierarchicalDataSource.cs: Move v2 stuff.
2003-11-07 Jackson Harper <jackson@ximian.com>
* Control.cs (ResolveUrl): Special case for urls that consist of
only a page anchor. ie <a href="#top">. This fixes bug #50165.
2003-11-07 Ben Maurer <bmaurer@users.sourceforge.net>
* IHierarchicalEnumerable.cs:
* IHierarchyData.cs:
* INavigateUIData.cs: New v2 interfaces.
2003-11-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* Page.cs: patch by Alon Gazit <along@mainsoft.com> to remove extra
space in generated javascript.
2003-11-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* LosFormatter.cs: encoding updates.
* Page.cs: implemented CodePage and ContentType.
* PageParser.cs: handle CodePage, ContentEncoding and ResponseEncoding
attributes.
2003-11-04 Ben Maurer <bmaurer@users.sourceforge.net>
* Control.cs (GetWebResourceUrl): new v2 function
* Page.cs (GetWebResourceUrl): ditto.
make the JS we generate work with moz if the form is not a child
of document.
* WebResourceAttribute.cs: Added, new v2 attribute.
2003-10-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* DesignTimeTemplateParser.cs: added FIXME related to PageParser.
* PageParser.cs: initialize the parser in the constructor, not just
before compiling and reference the application assembly.
* SimpleWebHandlerParser.cs: reference the assembly that contains the
application Type.
* TemplateControl.cs:
* TemplateControlParser.cs: fix BenM #1 bug. Now we pass correct virtual
path and physical path when compiling a user control.
* TemplateParser.cs: new AddApplicationAssembly ().
* UserControlParser.cs: now we get valid values in the ctor.
Referencing the application assembly fixes bug #49652.
2003-10-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* TemplateControl.cs: moved NoParamsInvoker class to its own file.
2003-10-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* BaseParser.cs: added CompilationConfig property.
* TemplateParser.cs:
* SimpleWebHandlerParser.cs: added CompilationConfig property.
Don't hardcode assembly names any more, assemblies in bin are added
depending on the configuration. The default language is also taken
from the configuration.
2003-10-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* LosFormatter.cs: fixed bug #49604. Patch by yaronsh@mainsoft.com.
2003-10-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* Control.cs: removed some debug lines.
* Page.cs: implemented RegisterOnSubmitStatement
* TemplateControl.cs: fixed wire up for methods with no parameters.
2003-10-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* PageParser.cs: ignore ValidateRequest by now.
2003-10-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* System.Web.UI/TemplateControl.cs: support for wiring up events without
parameters.
2003-10-08 Pedro Martnez Juli <yoros@wanadoo.es>
* PageParser.cs: drop some useless code.
2002-10-29 Gaurav Vaish <gvaish_mono AT lycos.com>
* Utils.cs : GetScriptLocation(HttpContext) - Partial Implementation.
2003-10-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* System.Web.UI/PageParser.cs:
* System.Web.UI/TemplateControlParser.cs: honour the input file given
as argument.
2003-09-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* Control.cs:
(ClearChildViewState): doh! Don't clear control viewstate but the
viewstate of possible children.
(LoadViewStateRecursive): load viewstate even when control is not
visible.
Fixes bug #49024.
The rest are just dangling ^M removed.
* DataBoundLiteralControl.cs:
(LoadViewState): we get an object [], not a string [].
2003-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* Control.cs: implemented ClearChildViewState ().
2003-09-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* Page.cs: store unique IDs for controls requiring postback. Fixes bug
#47985.
2003-09-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* SimpleWebHandlerParser.cs: add the ashx/asmx file itself to the
dependencies so that it's recompiled when changed.
2003-09-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* LosFormatter.cs: fixed Deserialize for empty viewstate.
2003-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* Page.cs: check if controls that require postback have
been changed by an event and register them to be notified of data
changed event.
2003-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* Control.cs: patch by yaronshkop@hotmail.com (Yaron Shkop) that fixes
bug #47866.
2003-08-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* LosFormatter.cs: handle Unit and FonrUnit as special cases as they
are not serializable. Fixes bug #47784.
2003-08-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* Control.cs: index the viewstates saved by the control position, not
the control name. Fixes bug #47697.
2003-08-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* ControlCollection.cs:
* EmptyControlCollection.cs: create a minimum ArrayList for this.
* BaseParser.cs: added setter for BaseVirtualDir.
* Page.cs: fixed message when restoring view state fails.
* UserControlParser.cs: set the BaseVirtualDirectory to handle the case
when a relative path to the control is given. Fixes bug #47685.
2003-08-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* Control.cs: when we load the viewstate for a control that has children
viewstates and the child is not found, keep its viewstate around and
wait until the child is added to load the viewstate. Fixes bug #47697.
2003-08-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* TemplateControl.cs: more Delegate.CreateDelegate fixes.
2003-08-01 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
* PartialCachingControl.cs: is not abstract
2003-08-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* SimpleHandlerFactory.cs: implemented GetHandler.
* WebHandlerParser.cs: new file that parses .ashx files.
2003-07-30 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
* PersistenceModeAttribute.cs: Fixed wrong AttributeUsage
2003-07-30 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
* UserControl.cs: Added attribute
* BasePartialCachingControl.cs: New class and paritally implemented
* DesignerDataBoundLiteralControl.cs: New class and implemented
* DesignTimeTemplateParser.cs:
* PartialCachingControl.cs:
* StaticPartialCachingControl.cs: New class and paritally implemented
2003-07-27 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
* ApplicationFileParser.cs: Fixed signature
* DesignTimeParseData.cs: Added missing properties, implemented
* Page.cs: Added attributes
* PageParser.cs:
* TemplateControlParser.cs:
* TemplateParser.cs:
* UserControlParser.cs: Fixed signature
2003-07-17 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
* HtmlControlPersistableAttribute.cs: Added
* IgnoreUnknownContentAttribute.cs: Added
2003-07-17 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
* IUserControlDesignerAccessor.cs: Added and implemented
* Control.cs: Missing member added, added all attributes
* Page.cs: Added attributes, fixed signature
* TemplateControl.cs: Fixed signature, added all attributes
* UserControl.cs: Added all attributes, added and implemented missing interface
2003-07-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* ControlCollection.cs: fixed bug #46472.
2003-07-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* SimpleWebHandlerParser.cs: implemented GetTypeFromBin.
2003-07-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* SimpleWebHandlerParser.cs: updated to new compilation interface.
* TemplateParser.cs: use the new parameter when compiling.
2003-07-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* Page.cs: also keep the value for the second try on handling postback
events.
2003-05-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* BaseParser.cs: fixed MapPath for non-rooted files.
* PageParser.cs: don't pass a non-virtual file around.
* TemplateControlParser.cs: InputFile uses MapPath now. Take care of
the exception teh may be throw by MapPath on an invalid path.
* TemplateParser.cs: removed unused method.
* UserControlParser.cs: modified inputfile. The result is the same, but
this one is better.
2003-05-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* RootBuilder.cs: throw exception when the tagprefix is not valid or
not found.
2003-05-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* TemplateControlParser.cs: return after processing @Register.
2003-05-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* TemplateParser.cs: Added support for server side includes.
2003-05-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* TemplateControl.cs: fixed the flags used to find the methods that
are automatically hooked up on events.
* TemplateParser.cs: don't compile a source file directly. Use the
cache instead.
2003-05-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* BaseParser.cs: Location property is now here. Added a couple of
convenience methods to throw a ParseException.
* TemplateParser.cs:
* TemplateControlParser.cs:
* PageParser.cs: throw ParseException where appropiate.
2003-05-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* ApplicationFileParser.cs: use the generator to actually parse the
file.
* ControlBuilder.cs: small fix in NamingContainerType because
TemplateBuilders have a null ControlType. When a control is appended
to a parent, assign the child's parent.
* UserControlParser.cs: fixed the value of InputFile.
2003-04-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* ApplicationFileParser.cs: store the Context and override
BaseVirtualDir so that it's the application path.
* BaseParser.cs: removed CurrentVirtualPath property.
* TemplateControlParser.cs: use BaseVirtualDir.
* UserControlParser.cs: removed CurrentVirtualPath.
2003-04-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* TemplateParser.cs: always reference all the assemblies in bin
directory.
2003-04-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* ApplicationFileParser.cs: it works now. Prior to these changes, we
were using the compiler directly.
* BaseParser.cs: added some useful properties and methods.
* CodeBuilder.cs: use ILocation.
* CodeRenderBuilder.cs: use ILocation.
* CollectionBuilder.cs: use the RootBuilder to map tag names into Types.
* ControlBuilder.cs: made it useful.
* DataBindingBuilder.cs: the control type for data bound text is
DataBoundLiteralControl now.
* ObjectTagBuilder.cs: store some object tag attributes.
* PageParser.cs: handle page-only directives.
* RootBuilder.cs: bah.
* SimpleWebHandlerParser.cs: made it dummy.
* TemplateControl.cs: Modified file.
* TemplateControlParser.cs: handle directives that are common to pages
and user controls.
* TemplateParser.cs: utility methods and handling of directives that
are common to app, page and user controls.
* UserControl.cs: added ControlBuilderAttribute.
* UserControlControlBuilder.cs: builder for user controls.
* UserControlParser.cs: use the new interfaces.
2003-04-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* ControlBuilder.cs: line and fileName are protected now.
* CodeBuilder.cs: base class for the next 2 files.
* CodeRenderBuilder.cs: builder for code render.
* DataBindingBuilder.cs: builder for data binding.
2003-04-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* ITagNameToTypeMapper.cs: made it internal.
* ObjectTagBuilder.cs: builder for <object runat="server"> tag.
* ObjectTag.cs:
* RootBuilder.cs: initial builder.
2003-04-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* CollectionBuilder.cs:
* TemplateBuilder.cs: new classes derived from ControlBuilder that
represent a property or a ITemplate.
* ControlBuilder.cs: implemented all the missing bits.
* TemplateParser.cs: added mapping from tag name to Type feature.
2003-02-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* Control.cs: have i definitely fixed naming container stuff this time?
* LosFormatter.cs: activated binary serialization code.
2003-02-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* Control.cs:
(AddedControl): fixed default id assignation when the sequence of
AddedControl until it's included in the page or one of its controls
does not pass through a naming container.
2003-02-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* Control.cs: give different default names depending on the place where
it is assigned. Implemented ResolveURl (no more ~ rendered in
attributes!).
2003-02-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* Control.cs: when adding a control, assign default names to th
children that don't have one.
2003-02-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* SimpleWebHandlerParser.cs: modified to use the new parser interface.
2003-01-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* Control.cs: some more tweaks to naming containers stuff.
* DataBinder.cs: don't throw exception if the container is null.
* Page.cs: now we can render client scripts, startup scripts and hidden
fields. Only render __VIEWSTATE if there is someone that will take care
of it.
(RaisePostBackEvents): first try the last one that required raise event,
then try __EVENTTARGET.
2003-01-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* Control.cs: fixes in UniqueID, FindControl, AddedControl,
UnloadRecursive, InitRecursive. Reduced the size of __VIEWSTATE. Made
FindControl work with NamingContainers.
* ControlCollection.cs: notify the parent when clearing the collection.
* LosFormatter.cs: Added debugging output and generate a valid
viewstate even for unknown types.
* Page.cs: GetPostBackEventReference now uses UniqueID. Reduced
viewstate.
2003-01-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* Page.cs: make it fire the LoadData related events also for controls
such as ImageButton, whose variable(s) in the query string are of the
form ctrl_name.x and only fire them once per control.
2003-01-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* DataBinder.cs:
(GetPropertyValue): don't try to get the property as indexed
2003-01-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* DataBinder.cs: use TypeDescriptor to get the properties and their
values.
2003-01-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* Control.cs:
(AddedControl): take the children to the same state of the parent.
(InitRecursive): set the page of the children.
* Page.cs: removed one line (it's done a few lines above).
* UserControl.cs:
(OnInit): always call InitializeAsUserControl
(InitializeAsUserControl): sets the page for the control.
2003-01-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* Control.cs: fixed bug #36037.
2002-12-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* BaseParser.cs: a couple of path fixes to make it work
when the page is not in the root directory.
2002-12-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* Control.cs: fixed PreRenderRecursiveInternal. Thanks to kojoadams for
reporting the bug.
2002-12-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* BaseParser.cs: use MapPath and context to locate files.
* Control.cs: implemented MapPathSecure.
* TemplateControl.cs: use UrlUtils to generate the path.
* TemplateControlParser.cs: use the context and MapPath.
* UserControl.cs: implemented MapPath.
* UserControlParser.cs: added context parameter to constructor.
2002-12-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* Control.cs: implemented MapPathSecure.
* Page.cs: fixed Server property.
2002-12-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* DataBinder.cs: try the indexer if the property is not found in
GetPropertyValue ().
2002-12-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* Control.cs: added AutoEventWireup internal property.
* Page.cs: removed page events wire up from here.
* TemplateControl.cs: new method WireupAutomaticEvents to hook up page
and user controls events.
* TemplateControlParser.cs: process the options that are applicable
once we have the instance of the control.
* TemplateParser.cs: also stores the options.
* UserControl.cs: hook up events before initializing the control.
2002-12-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* Control.cs: new method to set bindingContainer value.
* TemplateControl.cs: added controls are not binding containers.
2002-12-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* Control.cs: implemented TemplateSourceDirectory.
* TemplateControl.cs: implemented LoadControl and LoadTemplate.
2002-11-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* UserControl.cs: fixed SetAttribute.
* UserControlParser.cs: set the correct base type.
2002-11-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* TemplateParser.cs: fixed BaseType.
* UserControlParser.cs: helper class to compile user controls.
2002-11-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* LosFormatter.cs: added DateTime to special types.
2002-11-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* LosFormatter.cs: added array serialization support. Disabled binary
serialization and add some debugging code.
* StateBag.cs: the length of the list of value can be less than the
length if the list of keys when remaining values are null.
2002-11-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* Page.cs: return something useful in GetPostBackClientEvent.
2002-11-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* Page.cs: implemented FileDependecies and made it protected.
2002-10-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* Control.cs: save control names instead of the controls
themselves to the ViewState.
* LosFormatter.cs: added support for serializing unknown
types. BinaryFormatter does not work so you better don't store anything
of unknown Type in ViewState.
* Page.cs: GetViewStateString works now using LosFormatter.
Complete "Control execution lifecycle" by unloading all the child
controls. Check for null in RaisePostBackEvents.
LoadPageViewStateFromPersistenceMedium uses LosFormatter too.
2002-10-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* DataBinder.cs: implemented Eval and GetIndexedPropertyValue methods.
2002-10-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* LosFormatter.cs: Use WebEncoding.Encoding.
* Control.cs:
* Page.cs: fixed namespace.
2002-10-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* Page.cs: set the context in ProcessRequest. Added a few trace calls.
* Control.cs: added some trace information.
2002-10-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* SimpleHandlerFactory.cs: new handler for .ashx files.
2002-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* System.Web.UI/PageHandlerFactory.cs: new file.
* System.Web.UI/PageParser.cs:
* System.Web.UI/TemplateControlParser.cs: we are now able to compile
pages and use HttpApplication, HttpRuntime and SimpleWorkerRequest.
2002-09-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* Control.cs: implemented ObBubbleEvent.
* Page.cs: temporary workaround to make POST work with xsp server.
2002-09-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* Page.cs: fixed InvokeEventMethod now that Type.GetMethod does not
return pvt methods.
2002-09-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* SimpleWebHandlerParser.cs: New file.
* WebServiceParser.cs: New file.
2002-08-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* LosFormatter.cs: almost fully implemented.
2002-08-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* CompiledTemplateBuilder.cs: InstantiateIn is virtual.
* EmptyControlCollection.cs: throw correct exception.
* LosFormatter.cs: stubbed out.
* OutputCacheLocation.cs: little fix.
2002-08-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* System.Web.UI/ApplicationFileParser.cs:
* System.Web.UI/BaseParser.cs:
* System.Web.UI/PageParser.cs:
* System.Web.UI/TemplateControl.cs:
* System.Web.UI/TemplateControlParser.cs:
* System.Web.UI/TemplateParser.cs: first steps to move xsp into
System.Web.
2002-07-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* Page.cs: request to render postback script can be after form started
rendering.
2002-07-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* Page.cs: added more page events to invoke automagically if some
methods are defined.
2002-07-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* Control.cs:
(SaveViewState): save state even when control is not visible.
(SaveViewStateRecursive):
(LoadViewStateRecursive): made internal.
2002-07-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* Page.cs: improved event raising to allow client postback for a wider
variety of actions (clicking an hyperlink, ...).
2002-07-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* UserControl.cs: implemented Load/SaveViewState.
2002-07-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* AttributeCollection.cs:
(Add): handle 'style' through styleCollection.
* CssStyleCollection.cs:
(fillStyle): renamed to FillStyle and made it internal.
* Page.cs:
(GetViewStateString): fixed, broken after other recent changes.
(ProcessPostData): allow a second try for postback data after OnLoad.
(ProcessRequest): clear controls collection, removed call to
UnloadRecursive.
2002-07-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* Control.cs: uncommented Dispose.
* Page.cs:
(DeterminePostBackMode): more checkings.
(GetPostBackClientHyperLink): implemented.
(GetPostBackEventReference): added some comments with the HTML that MS
generates for that.
(ProcessRequest): fixed processing order. The page is unloaded after
a request and regenerated from view state on subsequents posts.
2002-07-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* Control.cs: fixed related to ViewState. Added RemovedControl.
* ControlCollection.cs: notify owner of control removal.
* CssStyleCollection.cs: almost rewritten to make it render the style
attribute after changes to it.
* Page.cs: follow the guidelines in 'Control execution lifecycle'.
Removed Xml code.
* StateBag.cs: don't use IDictionary.GetEnumerator on the
HybridDictionary: it makes the program give an InvalidCastException at
runtime. Why?
2002-07-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* Page.cs: fire Init and Load events for all children.
2002-07-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* UserControl.cs: New file.
2002-07-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* ControlBuilderAttribute.cs: finished implementation.
2002-07-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* ConstructorNeedsTagAttribute.cs: the default constructor sets the
property to false.
2002-07-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* System.Web.UI/AttributeCollection.cs: added CssStyleCollection.
* System.Web.UI/CssStyleCollection.cs: use a StateBag instead of a
Hashtable. Added internal .ctor.
* System.Web.UI/DataBinding.cs: propertyType is a Type. Implemented
Equals and GetHashCode.
* System.Web.UI/DataBoundLiteralControl.cs:
(LoadViewState):
(SaveViewState): implemented.
* System.Web.UI/Page.cs: FileDependencies is not public.
* System.Web.UI/ParseChildrenAttribute.cs: give a value to Default.
(GetHashCode):
(Equals):
(IsDefaultAttribute): implemented.
2002-07-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* Control.cs: fixed Visible property.
* Page.cs: fixed GetViewStateString.
2002-07-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* System.Web.UI/Page.cs:
(GetViewStateString): new function to give the server access to the
generated view state string.
(Validate): d'oh!
2002-07-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* Control.cs:
(SaveViewstateRecursive): implemented.
(SaveViewState): fixed.
(IParserAccessor.AddParsedSubObject): don't use 'this'.
* Page.cs: added code to save view state to an xml file. It's not
being used right now.
2002-06-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* System.Web.UI/LiteralControl.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>
* Control.cs: reimplemented FindControls.
* Page.cs:
(.ctor): set the page for this control.
(IsPostBack): return valid value.
(DeterminePostBackMode): finished.
(OnFormRender): render __VIEWSTATE (uses GetTypeHashCode()).
(ProcessPostData): implemented. Raises change and postback events.
(ProcessRequest): changed to support reuse of the instance.
(RegisterRequiresPostBack): implemented.
* ValidatorCollection.cs: implemented all methods.
2002-06-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* Control.cs:
* Page.cs: first attemp to save view state.
* HtmlForm.cs: don't render Action.
2002-06-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* Page.cs: implemented more properties using information we already
have in Context.
(OnFormRender):
(OnFormPostRender):
(VerifyRenderingInServerForm): implemented.
2002-06-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* Page.cs: changed InvokeEventMethod to use a GetMethod that works with
out runtime. Renamed Page_Init and Page_Load.
After this, we can load a dll and render HTML in linux.
2002-06-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* Control.cs:
(AddedControl): new function that is called whenever a control is
added to a collection of controls in a container. It sets the defaults
except for Page.
* ControlCollection.cs: call AddedControl in Add/AddAt.
* DataBoundLiteralControl.cs: implemented constructor, Text, Render,
SetStaticString and SetDataBoundString.
* Page.cs: removed SetDefaults.
2002-06-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* CompiledTemplateBuilder.cs: new file. Used in the code generated
by xsp.
* Control.cs:
(BindingContainer): implemented.
(EnsureChildControls): avoid stack overflow.
* DataBinder.cs: implemented Eval and PropertyValue.
2002-06-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HtmlTextWriter.cs: fixed style attributes rendering (almost the same
bug as in regular attributes).
2002-06-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* Control.cs: implemented PreventAutoID.
* Page.cs:
(SetDefaults): don't set ID automatically if Control.PreventAutoID has
been called.
2002-06-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* Page.cs:
(Validators): if the collection is null, create one.
(GetPostBackEventReference 2): don't throw exception.
(GetPostBackClientEvent): return a string with containing the method
name, the control name and the argument.
2002-06-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* Page.cs: SetPage is now called SetDefaults and also sets a default
ID for controls that don't have one yet.
2002-06-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* Page.cs:
(GetPostBackClient):
(RegisterRequiresPostBack): don't throw NotImplementedException to
keep going.
(ProcessRequest): set the current page as the Page property for *all*
the controls, not just the direct children of the page.
2002-06-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* Control.cs:
(MapPathSecure): until security is implemented, return the same path
received as argument.
(RenderControl): call OnPreRender before rendering the control. So
AdRotator can read its configuration file.Is there any other place
where this should be done?
* HtmlTextWriter.cs:
(AddAttribute): fixed. Now it really stores attributes.
(RenderBeginTag): fixed a couple of bugs (little ones but hard to find).
2002-06-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* ControlCollection.cs:
(AddAt): if index is -1 behave as a plain Add.
2002-06-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* Page.cs: for each child control to render, assign Control.Page.
Probably also needed in HtmlContainerControl derived classes.
2002-06-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* AttributeCollection.cs: don't need a Hastable. StateBag now works
fine and takes care of the details.
* Control.cs: added HasChildren property.
* StateBag.cs: fixed a couple of nasty bugs.
2002-06-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* Page.cs: run OnInit, OnLoad y PreRender before rendering the page.
Invoke Page_Init and/or Page_Load if the user supplied them (though
this should depend on AutoEventWireUp attribute of Page directive).
2002-06-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* Control.cs: don't throw exception in ControlID. By now, it returns ID.
* Page.cs:
(ProcessRequest): implemented.
2002-06-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* System.Web.UI/Page.cs: finished stubbing out. Implemented some
methods.
2002-06-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* Page.cs:
(FileDependencies): now is public public.
(EnableViewStateMAC): uncommented and made protected.
(GetTypeHashCode): added method.
2002-05-24 Duncan Mak <duncan@ximian.com>
* TemplateControl.cs (SetStringResourcePointer): Fixed typo.
* StateBag.cs (Item): Changed the visibility level of the this
[object] indexer.
Misc. formatting edits, fixing some bugs introduced by the indentation.
* DataBinder.cs (Eval)
(GetIndexedPropertyValue)
(GetPropertyValue): Fixed return types.
2002-05-21 Miguel de Icaza <miguel@ximian.com>
* HtmlTextWriter.cs: Use this to change the member instances.
2002-05-17 Duncan Mak <duncan@ximian.com>
* AttributeCollection.cs:
* ControlCollection.cs:
* CssStyleCollection.cs:
* DataBindingCollection.cs:
* EmptyControlCollection.cs: Added missing Collection classes.
2002-05-17 Duncan Mak <duncan@ximian.com>
* BaseParser.cs:
* TemplateParser.cs: Implemented. BaseParser is weird because
there is no documentation on what it does.
* ControlBuilder.cs:
* DataBinder.cs:
* DataBinding.cs: Added.
* DataBoundLiteralControl.cs:
* Triplet.cs: Added.
* RenderMethod.cs: Added this delegate for Control.cs
2002-05-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* ValidationPropertyAttribute.cs: a couple of fixes to make it compile.
2002-05-14 Duncan Mak <duncan@ximian.com>
* ValidationPropertyAttribute.cs: Added to CVS.
2002-05-10 Duncan Mak <duncan@ximian.com>
* ConstructorNeedsTagAttribute.cs:
* ControlBuilderAttribute.cs:
* ImageClickEventArgs.cs:
* ParseChildrenAttribute.cs:
* PartialCachingAttribute.cs:
* PersistChildrenAttribute.cs:
* PersistenceModeAttribute.cs:
* TemplateContainerAttribute.cs: Added to CVS.
* PersistanceMode.cs: Removed, fixed typo.
* PersistenceMode.cs: Replacing above.
* StateBag.cs (this): Fixed indexer, it takes a string as the
index, not an object.
* ValidatorCollection.cs: Fixed typo, ValidatedCollection to ValidatorCollection.
* Page.cs (Validators): return type should be ValidatorCollection,
not ValidatedCollection.
* TagPrefixAttribute.cs: Added to CVS.
2002-05-07 Duncan Mak <duncan@ximian.com>
* Utils.cs (GetClientValidatedEvent): Uncommented the 'Page' argument.
2002-03-26 Gaurav Vaish <gvaish@iitk.ac.in>
* DataBindingHandlerAttribute.cs
- Completed
* ToolboxDataAttribute.cs - Completed
2002-01-03 Nick Drochak <ndrochak@gol.com>
* DesignTimeParseData.cs: initialze static member to avoid compile
error
* PropertyConverter.cs: remove uneeded exception variables from
catch blocks.
2002-01-02 Nick Drochak <ndrochak@gol.com>
* DesignTimeParseData.cs: fix header to show correct class name
2001-12-21 Gaurav Vaish <gvaish@iitk.ac.in>
* StateBag.cs - Completed
2001-12-19 Gaurav Vaish <gvaish@iitk.ac.in>
* Pair.cs - Small undocumented class. Completed.
2001-12-18 Gaurav Vaish <gvaish@iitk.ac.in>
* DesignTimeParseData.cs - Initial implementation
* StateBag.cs - Initial implementation
2001-12-17 Gaurav Vaish <gvaish@iitk.ac.in>
* PropertyConverter.cs - Undocumented class. Completed.
* Utils.cs - Undocumented, private class.
Initial implementation
2001-08-28 Bob Smith <bob@thestuff.net>
* Control.cs: Figured out some undocumented API.
* Added TODO.
* BuildMethod.cs: Initial implementation.
* BuildTemplateMethod.cs: Initial implementation.
* HtmlTextWriterAttribute.cs: Initial implementation.
* HtmlTextWriterStyle.cs: Initial implementation.
* HtmlTextWriterTag.cs: Initial implementation.
* IAttributeAccessor.cs: Initial implementation.
* IDataBindingsAccessor.cs: Initial implementation.
* ImageClickEventHandler.cs: Initial implementation.
* INamingContainer.cs: Initial implementation.
* IParserAccessor.cs: Initial implementation.
* IPostBackDataHandler.cs: Initial implementation.
* IPostBackEventHandler.cs: Initial implementation.
* IStateManager.cs: Initial implementation.
* ITagNameToTypeMapper.cs: Initial implementation.
* ITemplate.cs: Initial implementation.
* IValidator.cs: Initial implementation.
* OutputCacheLocation.cs: Initial implementation.
* PersistanceMode.cs: Initial implementation.
* StateItem.cs: Initial implementation.
2001-08-27 Bob Smith <bob@thestuff.net>
* Control.cs: Bug fixes and implementations.
2001-08-24 Bob Smith <bob@thestuff.net>
* Control.cs: Bug fixes.
2001-08-23 Bob Smith <bob@thestuff.net>
* Control.cs: More implementation. Events reworked for performance.
2001-08-22 Bob Smith <bob@thestuff.net>
* LiteralControl.cs: Implemented.
* Control.cs: Even more implementation (Events). What a beast.
2001-08-20 Bob Smith <bob@thestuff.net>
* Control.cs: More implementation. Not done yet. Shutter.
2001-08-17 Bob Smith <bob@thestuff.net>
* Control.cs: Partial implementation.
|