2010-06-18 Vincent Povirk <madewokherd@gmail.com>
[mono.git] / mcs / class / System.Core / System / ChangeLog
1 2010-06-18  Vincent Povirk <madewokherd@gmail.com>  
2
3         * TimeZoneInfo.cs: Applied patch from Vincent Povirk that adds
4         support for reading time zone information on windows.
5
6         This patch makes TimeZoneInfo.GetSystemTimeZones and
7         FindSystemTimeZoneById work based on the registry on non-Unix
8         platforms, if the appropriate registry key exists. Mono currently
9         reads from /usr/share/zoneinfo, which doesn't exist on Windows.
10
11         This should fix bug 606084.
12
13         It won't fix the Local property on Windows. I think that requires
14         a Windows API call to get the id of the local timezone.
15
16         This was modified from the previous version to not check the
17         registry on Unix platforms. (Sorry it took me so long to do
18         this. I have very little time to spend on Mono-related work.)
19
20         This patch is licensed under the MIT X11 license.
21
22 2010-04-16  Sebastien Pouliot  <sebastien@ximian.com>
23
24         * Actions.cs: Forward Action() to mscorlib.dll and add the new
25         Action<...T16> delegates
26         * Funcs.cs: Add the new Func<...T16> delegates
27         * TimeZoneInfo.cs: Forward to mscorlib.dll
28
29 2010-03-30  Sebastien Pouliot  <sebastien@ximian.com>
30
31         * InvalidTimeZoneException.cs
32         * TimeZoneInfo.AdjustmentRule.cs
33         * TimeZoneInfo.cs
34         * TimeZoneInfo.TransitionTime.cs
35         * TimeZoneNotFoundException.cs:
36                 Fix Moonlight since these types now reside in mscorlib 
37                 for NET_4_0 and also for SL4
38
39 2010-03-30  Jb Evain  <jbevain@novell.com>
40
41         * TimeZoneInfo.AdjustmentRule.cs
42         * TimeZoneInfo.TransitionTime.cs:
43                 Add TypeForwarderFrom attributes.
44
45 2010-01-04  Jb Evain  <jbevain@novell.com>
46
47         * TimeZoneInfo.AdjustmentRule.cs, TimeZoneInfo.TransitionTime.cs:
48         Do not include in both mscorlib and System.Core for a NET_2_1 profile.
49
50 2009-07-16  Sebastien Pouliot  <sebastien@ximian.com>
51
52         * InvalidTimeZoneException.cs, TimeZoneInfo.AdjustmentRule.cs,
53         TimeZoneInfo.cs, TimeZoneInfo.TransitionTime.cs: Bring back those
54         inside NET_2_1 profile for Moonlight.
55
56 2009-06-10  Marek Safar  <marek.safar@gmail.com>
57
58         * TimeZoneInfo.AdjustmentRule.cs, TimeZoneInfo.TransitionTime.cs,
59         Funcs.cs, InvalidTimeZoneException.cs, Actions.cs, TimeZoneInfo.cs,
60         TimeZoneNotFoundException.cs: Updated to 4.0 changes.
61
62 2009-06-03  Marek Safar  <marek.safar@gmail.com>
63
64         * Func.cs: Add 4.0 forwarders.
65
66 2009-04-23  Sebastien Pouliot  <sebastien@ximian.com>
67
68         * TimezoneInfo.cs: TimeZoneDirectory property should not be public
69
70 2008-10-31  Stephane Delcroix  <sdelcroix@novell.com>
71
72         * TimezoneInfo.cs: Drop overlapping rules, fix the 3 dst changes in 
73         Tunis in 1943
74
75 2008-10-31  Stephane Delcroix  <sdelcroix@novell.com>
76
77         * TimezoneInfo.cs: fix for Argentina
78
79 2008-10-31  Stephane Delcroix  <sdelcroix@novell.com>
80
81         * TimezoneInfo.cs: add indices for substrings.
82
83 2008-10-31  Stephane Delcroix  <sdelcroix@novell.com>
84
85         * TimezoneInfo.cs: double the buffer size, as some tz files grew up
86         recently and failed to load.
87
88 2008-08-04  Jb Evain  <jbevain@novell.com>
89
90         * TimeZoneInfo.cs: avoid using a SortedDictionary when not needed.
91
92 2008-06-25  Jb Evain  <jbevain@novell.com>
93
94         * TimeZoneInfo.cs: remove the dependance to Mono.DataConverter
95         which is only used to read big endian int32.
96
97 2008-05-26  Stephane Delcroix  <sdelcroix@novell.com>
98
99         * TimeZoneInfo.cs: workaround for weird transition dates, like for 
100         America/Phoenix. Fixes bnc #391093.
101
102 2008-05-26  Stephane Delcroix  <sdelcroix@novell.com>
103
104         * TimeZoneInfo.cs: nullity check in HasSameRules (). Fixes bnc #391011
105
106 2008-04-13  Jb Evain  <jbevain@novell.com>
107
108         * Func.cs: remove old ugly 2.1 hack.
109         Merged from the Moonlight 2 branch.
110
111 2008-03-30  Jb Evain  <jbevain@novell.com>
112
113         * TimeZoneInfo.cs: use generic collections instead of untyped
114         collections.
115
116 2008-02-01  Jb Evain  <jbevain@novell.com>
117
118         * Funcs.cs: gross hack for SL 1.1a.
119         I hate myself, I hate myself.
120
121 2008-01-24  Stephane Delcroix  <sdelcroix@novell.com>
122
123         * TimeZoneInfo.TransitionTime.cs: check for a whole number of
124         milliseconds instead of a whole number of seconds.
125
126 2008-01-21  Sebastien Pouliot  <sebastien@ximian.com>
127
128         * TimeZoneInfo.TransitionTime.cs: Avoid NRE on bad cast if null is
129         provided to Equals(object). Found with Gendarme.
130
131 2008-01-08  Stephane Delcroix  <sdelcroix@novell.com>
132
133         * TimeZoneInfo.TransitionTime.cs: fully qualify System.DayOfWeek in 
134         casting operation.
135
136 2007-12-20  Stephane Delcroix  <sdelcroix@novell.com>
137
138         * TimeZoneInfo.cs: adapting length check to parse TZif2 files
139         introduced by glibc 2.6.x.