Miguel de Icaza
2852ed0b59
Update copyrights
2011-09-13 18:26:13 -04:00
Sebastien Pouliot
7fad18abb0
Ensure we can roundtrip 'Local' (special case) timezone. Fix bug #326
2011-09-09 11:29:52 -04:00
Sebastien Pouliot
215eda5333
Move private TimeType struct outside TimeZoneInfo
...
* TimeZoneInfo.cs: Move TimeType struct outside TimeZoneInfo since the
later is located in corlib (using TypeForwardedTo) in 4.0/SL4. This adds
an extra extern type to System.Core which is not liked by peverify
2011-03-21 09:38:47 -04:00
Marek Safar
f3ac37d4b2
Remove wrong using
2011-03-11 11:09:32 +00:00
Duane Wandless
1809dc9900
GetApplicableRule returns NULL in TimeZoneInfo.cs yet the code does not always handle a NULL return value.
...
This change fixes this issue and allows timezones like China Standard Time to work.
2011-03-10 10:56:08 -05:00
Jonathan Pryor
40c3113d8f
Fix the basic-profile build.
2011-01-31 15:17:46 -05:00
Jonathan Pryor
d49ecf5a4d
[monodroid] Fix System.TimeZoneInfo.
...
Most System.TimeZoneInfo members weren't be included in the build.
2011-01-31 14:08:41 -05:00
Marek Safar
9ce569a853
Cache MonoUtil::IsUnix value
2011-01-26 13:29:10 +00:00
Geoff Norton
16d4fd790b
Further .NET 4.0 ification of the mobile profile
2011-01-25 20:10:54 -05:00
Geoff Norton
6fe8e00cee
Fix the mobile build
2011-01-25 14:16:28 -05:00
Marek Safar
d84d7c7eb9
Remove no longer used BOOTSTRAP conditionals
2010-12-29 12:41:12 +00:00
Jonathan Pryor
8a263984e9
[monodroid] Add support for the Android TimeZone file format.
...
Fixes #657609 .
Android uses "ye standard" timezone file format, but instead of using
a directory + file structure as libc uses, they throw everything into
two files, a "zoneinfo.dat" and a "zoneinfo.idx", where "zoneinfo.dat"
is the concatenation of all the TZIF files and "zoneinfo.idx" contains
the timezone names and offsets into "zoneinfo.dat". From the
ZoneInfoDB documentation:
However, to conserve disk space the data for all time zones
are concatenated into a single file, and a second file is
used to indicate the starting position of each time zone
record. A third file indicates the version of the zoneinfo
databse used to generate the data.
TimeZoneInfo.Android.cs is a C# port of the corresponding Android
ZoneInfoDB type so that Mono can use Android's timezone DB.
2010-12-16 13:17:38 -05:00
Marek Safar
bd05c6c836
Some .net 4.0 api compatibility fixes
2010-12-15 11:12:07 +00:00
Marek Safar
baa1ae6757
Fix parameter name
2010-12-09 14:58:04 +00:00
Jb Evain
804b3d42d0
Enable the System.Core build for monodroid
2010-09-08 18:48:28 +02:00
Marek Safar
90c3c6a594
Fixed typo in T14 argument
2010-08-23 15:18:31 +01:00
tgiphil
e44022ec89
Merge branch 'master' of git://github.com/mono/mono
2010-07-23 16:21:44 -07:00
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
tgiphil
c9bc218cd3
Moved ValidateRules method in TimeZoneInfo.cs outside of LIBC since a caller outside of LIBC calls the method. Fixes compile error when LIBC is not defined.
2010-07-22 17:54:26 -07: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
7109be8d25
fix typos
...
svn path=/trunk/mcs/; revision=154467
2010-03-30 17:09:53 +00:00
Jb Evain
bcd4f4e961
fix the build
...
svn path=/trunk/mcs/; revision=154462
2010-03-30 15:41:18 +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
Gonzalo Paniagua Javier
af5df1d187
signature fixes
...
svn path=/trunk/mcs/; revision=150244
2010-01-26 21:12:48 +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
Miguel de Icaza
04db5e3842
2009-12-10 Miguel de Icaza <[email protected] >
...
* MemoryMappedFile.cs: Updated to the new Beta API, fill in some
blanks, map some new flags, obey some settings, throw some
exceptions.
svn path=/trunk/mcs/; revision=148003
2009-12-10 05:55:57 +00:00
Marek Safar
6d2dd00b2a
More 4.0 bootstrap work
...
svn path=/trunk/mcs/; revision=141787
2009-09-11 20:08:44 +00:00
Marek Safar
7b3e4e46ca
Prepared for net_4_0_bootsrap
...
svn path=/trunk/mcs/; revision=141760
2009-09-11 13:12:10 +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
56331b603d
Fixes build.
...
svn path=/trunk/mcs/; revision=135417
2009-06-04 14:39:59 +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
5fff6309e6
make gendarme happy
...
svn path=/trunk/mcs/; revision=106591
2008-06-25 18:13:04 +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
03f274b29b
merge 99306:99332
...
svn path=/branches/jb/ml2/mcs/; revision=99333
2008-03-30 11:54:00 +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