Welcome to mirror list, hosted at ThFree Co, Russian Federation.

index.aspx « webcompare - github.com/mono/mono-tools.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 7648900671af63cc47783331027d578d6783feea (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
<%@ Page Language="C#" %>
<%@ OutputCache Duration="60" VaryByParam="none" %>
<%@ Import Namespace="System.IO" %>
<%@ Import Namespace="System.Linq" %>
<%@ Import Namespace="System.Text" %>
<%@ Import Namespace="System.Web" %>
<%@ Import Namespace="System.Collections.Generic" %>
<%@ Import Namespace="System.Collections.Specialized" %>
<%@ Import Namespace="GuiCompare" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<title>Mono - Class status pages</title>
<link href="main.css" media="screen" type="text/css" rel="stylesheet">
<style type="text/css">
#col1 {
     width: 24%;
     float: left;
     margin-right: 1em;
     border-right:1px dotted #AAAAAA;
}

#col2 {
     width: 23%;
     float: left;
     margin-right: 1em;
     border-right:1px dotted #AAAAAA;
}

#col3 {
     width: 24%;
     float: left;
     margin-right: 1em;
     border-right:1px dotted #AAAAAA;
}

#col4 {
     width: 23%;
     float: left;
}

</style>
<script runat="server">

void GenerateList (string reference, string profile)
{
	GenerateList (reference, "masterinfos/", profile, "binary/", ".dll");
}

void GenerateList (string reference, string ref_dir, string profile, string prof_dir, string dll_extension)
{
	string mpath = Server.MapPath (ref_dir + reference);
	string bpath = Server.MapPath (prof_dir + profile);

	if (!Directory.Exists (mpath)){
		Response.Write ("Directory does not exist for masterinfo: " + reference);
		return;
	}

	if (!Directory.Exists (bpath)){
		Response.Write ("Directory does not exist for binary: " + profile);
		return;
	}
	
	var infos = from p in Directory.GetFiles (mpath)
		select System.IO.Path.GetFileNameWithoutExtension (p);

	var dlls  = from p in Directory.GetFiles (bpath)
		where p.EndsWith (dll_extension)
	    	select System.IO.Path.GetFileNameWithoutExtension (p);

	foreach (var assembly in (from p in infos.Intersect (dlls) orderby p select p))
		Response.Write (String.Format ("<li><a href=\"status.aspx?reference={0}&profile={1}&assembly={2}\">{2}</a>\n", reference, profile, assembly));
}

</script>
</head>
<body>
<div id="header">
<h1>Mono Class Status Pages</h1>
</div>
<div id="content">
	<div id="col1">

	<h2>.NET 4.0 vs .NET 4.5</h2>

		<p>This shows the API added between 4.0 and 4.5.

		<ul class="assemblies">
			<% GenerateList ("4.0", "masterinfos/", "4.5", "masterinfos/", ".xml"); %>
		</ul>
	</div>

	<div id="col2">
	<h2>Mono 4.5 vs .NET 4.5</h2>

		<p>This shows the work-in-progress of Mono towards completing
		the 4.5 APIs.

		<ul class="assemblies">
			<% GenerateList ("4.5", "4.5"); %>
		</ul>
	</div>

	<div id="col3">
	<h2>Mono 4.0 vs .NET 4.0</h2>

		<p>This shows the work-in-progress of Mono towards completing
		the 4.0 APIs.

		<ul class="assemblies">
			<% GenerateList ("4.0", "4.0"); %>
		</ul>
	</div>
</div>
<div id="footer">&nbsp;</div>

</body>
</html>