Commit Graph
28 Commits
Author SHA1 Message Date
Paolo Molaro 90e5a65c08 Funcs.cs: Fixed typo in Func`15.
Fri Jul 23 16:46:38 CEST 2010 Paolo Molaro <[email protected]>

	* Funcs.cs: Fixed typo in Func`15.
2010-07-23 18:14:57 +02:00
Gonzalo Paniagua Javier 4e6e02a348 2010-07-09 Gonzalo Paniagua Javier <[email protected]>
* TimeZoneInfo.cs: avoid nullref when there are no adjustment rules.
	Fixes bug #619811.


svn path=/trunk/mcs/; revision=160159
2010-07-09 21:37:48 +00:00
Rodrigo Kumpera c92f6fd23e 2010-06-09 Rodrigo Kumpera <[email protected]>
* Actions.cs: Add missing v4 type forwarding.

svn path=/trunk/mcs/; revision=159689
2010-06-29 19:50:49 +00:00
Jb Evain 39bc3d7551 2010-06-21 Jb Evain <[email protected]>
* TimeZoneInfo.cs: fix the moonlight and monotouch build.


svn path=/trunk/mcs/; revision=159234
2010-06-21 10:03:44 +00:00
Miguel de Icaza daf9939128 2010-06-18 Vincent Povirk <[email protected]>
* TimeZoneInfo.cs: Applied patch from Vincent Povirk that adds
        support for reading time zone information on windows.

        This patch makes TimeZoneInfo.GetSystemTimeZones and
        FindSystemTimeZoneById work based on the registry on non-Unix
        platforms, if the appropriate registry key exists. Mono currently
        reads from /usr/share/zoneinfo, which doesn't exist on Windows.

        This should fix bug 606084.

        It won't fix the Local property on Windows. I think that requires
        a Windows API call to get the id of the local timezone.

        This was modified from the previous version to not check the
        registry on Unix platforms. (Sorry it took me so long to do
        this. I have very little time to spend on Mono-related work.)


svn path=/trunk/mcs/; revision=159163
2010-06-18 23:36:52 +00:00
Sebastien Pouliot 3009ec5a50 2010-04-16 Sebastien Pouliot <[email protected]>
* Actions.cs: Forward Action() to mscorlib.dll and add the new
	Action<...T16> delegates
	* Funcs.cs: Add the new Func<...T16> delegates
	* TimeZoneInfo.cs: Forward to mscorlib.dll


svn path=/trunk/mcs/; revision=155630
2010-04-16 13:21:02 +00:00
Sebastien Pouliot 081bf46075 fix TimeZoneInfo for moonlight (moving from System.Core to mscorlib)
svn path=/trunk/mcs/; revision=154478
2010-03-30 19:23:59 +00:00
Jb Evain 662043a1f1 2010-03-30 Jb Evain <[email protected]>
* TimeZoneInfo.AdjustmentRule.cs
	* TimeZoneInfo.TransitionTime.cs:
		Add TypeForwarderFrom attributes.


svn path=/trunk/mcs/; revision=154461
2010-03-30 15:18:03 +00:00
Jb Evain 56d21fac2c 2010-01-04 Jb Evain <[email protected]>
* TimeZoneInfo.AdjustmentRule.cs, TimeZoneInfo.TransitionTime.cs:
	Do not include in both mscorlib and System.Core for a NET_2_1 profile.

svn path=/trunk/mcs/; revision=149020
2010-01-04 12:53:59 +00:00
Sebastien Pouliot 838010f0cd 2009-07-16 Sebastien Pouliot <[email protected]>
* InvalidTimeZoneException.cs, TimeZoneInfo.AdjustmentRule.cs,
	TimeZoneInfo.cs, TimeZoneInfo.TransitionTime.cs: Bring back those
	inside NET_2_1 profile for Moonlight.


svn path=/trunk/mcs/; revision=138067
2009-07-16 17:30:34 +00:00
Marek Safar 00df7fd3e4 2009-06-10 Marek Safar <[email protected]>
* TimeZoneInfo.AdjustmentRule.cs, TimeZoneInfo.TransitionTime.cs,
	Funcs.cs, InvalidTimeZoneException.cs, Actions.cs, TimeZoneInfo.cs,
	TimeZoneNotFoundException.cs: Updated to 4.0 changes.


svn path=/trunk/mcs/; revision=135851
2009-06-10 14:24:10 +00:00
Marek Safar 80d2ae0f80 2009-06-03 Marek Safar <[email protected]>
* Func.cs: Add 4.0 forwarders.


svn path=/trunk/mcs/; revision=135323
2009-06-03 17:32:14 +00:00
Sebastien Pouliot 99b7295699 2009-04-23 Sebastien Pouliot <[email protected]>
* TimezoneInfo.cs: TimeZoneDirectory property should not be public


svn path=/trunk/mcs/; revision=132509
2009-04-23 19:41:14 +00:00
Stephane Delcroix 9356acda24 2008-10-31 Stephane Delcroix <[email protected]>
* TimezoneInfo.cs: Drop overlapping rules, fix the 3 dst changes in
	Tunis in 1943

svn path=/trunk/mcs/; revision=117570
2008-10-31 16:02:40 +00:00
Stephane Delcroix 5ec4beebf3 2008-10-31 Stephane Delcroix <[email protected]>
* TimezoneInfo.cs: fix for Argentina

svn path=/trunk/mcs/; revision=117569
2008-10-31 16:02:37 +00:00
Stephane Delcroix 46bc38b1aa 2008-10-31 Stephane Delcroix <[email protected]>
* TimezoneInfo.cs: add indices for substrings.

svn path=/trunk/mcs/; revision=117563
2008-10-31 14:29:08 +00:00
Stephane Delcroix 3d8d9b51ce 2008-10-31 Stephane Delcroix <[email protected]>
* TimezoneInfo.cs: double the buffer size, as some tz files grew up
	recently and failed to load.

svn path=/trunk/mcs/; revision=117557
2008-10-31 12:09:58 +00:00
Jb Evain d398341ee5 2008-08-04 Jb Evain <[email protected]>
* TimeZoneInfo.cs: avoid using a SortedDictionary when not needed.


svn path=/trunk/mcs/; revision=109564
2008-08-04 13:51:24 +00:00
Jb Evain 50f6adfff0 2008-06-25 Jb Evain <[email protected]>
* TimeZoneInfo.cs: remove the dependance to Mono.DataConverter
	which is only used to read big endian int32.

svn path=/trunk/mcs/; revision=106567
2008-06-25 16:20:02 +00:00
Stephane Delcroix 63d73d14a0 2008-05-21 Atsushi Enomoto <[email protected]>
* System.dll.sources :
	  added INotifyPropertyChanging stuff (new in 2.0 SP1).

svn path=/trunk/mcs/; revision=104072
2008-05-26 15:12:06 +00:00
Stephane Delcroix 1d67f58cf0 2008-05-26 Stephane Delcroix <[email protected]>
* TimezoneInfo.cs: nullity check in HasSameRules (). Fixes bnc #391011

svn path=/trunk/mcs/; revision=104052
2008-05-26 09:39:56 +00:00
Jb Evain 963ccb4ef8 merge back ml2 into trunk
svn path=/trunk/mcs/; revision=100557
2008-04-13 13:47:01 +00:00
Jb Evain ec60add9c2 2008-03-30 Jb Evain <[email protected]>
* TimeZoneInfo.cs: use generic collections instead of untyped
	collections.


svn path=/trunk/mcs/; revision=99331
2008-03-30 11:40:08 +00:00
Jb Evain d1b16df5c6 2008-02-01 Jb Evain <[email protected]>
* Funcs.cs: gross hack for SL 1.1a.
	I hate myself, I hate myself.


svn path=/trunk/mcs/; revision=94570
2008-02-01 21:12:59 +00:00
Stephane Delcroix 76d1357965 2008-01-24 Stephane Delcroix <[email protected]>
* TimeZoneInfo.TransitionTime.cs: check for a whole number of
	milliseconds instead of a whole number of seconds.

svn path=/trunk/mcs/; revision=93788
2008-01-24 12:45:29 +00:00
Sebastien Pouliot 8d6e94e088 2008-01-21 Sebastien Pouliot <[email protected]>
* TimeZoneInfo.TransitionTime.cs: Avoid NRE on bad cast if null is
	provided to Equals(object). Found with Gendarme.


svn path=/trunk/mcs/; revision=93465
2008-01-22 00:47:34 +00:00
Stephane Delcroix 3edeeafdee 2008-01-08 Stephane Delcroix <[email protected]>
* TimeZoneInfo.TransitionTime.cs: fully qualify System.DayOfWeek in 
	casting operation.

svn path=/trunk/mcs/; revision=92448
2008-01-08 13:29:29 +00:00
Stephane Delcroix 9ee9c6d6b0 2007-12-20 Stephane Delcroix <[email protected]>
* TimeZoneInfo.cs: adapting length check to parse TZif2 files
	introduced by glibc 2.6.x.

svn path=/trunk/mcs/; revision=91701
2007-12-20 13:02:53 +00:00