mono.git
13 years ago[monodroid] Add support for the Android TimeZone file format.
Jonathan Pryor [Thu, 16 Dec 2010 18:10:44 +0000 (13:10 -0500)]
[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.

13 years agoUpdate instructions
Miguel de Icaza [Thu, 16 Dec 2010 18:01:37 +0000 (13:01 -0500)]
Update instructions

13 years agoUndo adding of README2 test file
Miguel de Icaza [Thu, 16 Dec 2010 17:59:50 +0000 (12:59 -0500)]
Undo adding of README2 test file

13 years ago[winforms] undo accidental removal of a line
Miguel de Icaza [Thu, 16 Dec 2010 17:58:44 +0000 (12:58 -0500)]
[winforms] undo accidental removal of a line

13 years ago[winforms] revert patch, it regresses the test suite: https://github.com/mono/mono...
Miguel de Icaza [Thu, 16 Dec 2010 17:55:24 +0000 (12:55 -0500)]
[winforms] revert patch, it regresses the test suite: https://github.com/mono/mono/commit/8334fe3a56c978ffe7f8cb199536f9b3234afdbe

13 years agoAdd attachable event support in XamlType (not yet in readers and writers).
Atsushi Eno [Thu, 16 Dec 2010 16:32:49 +0000 (01:32 +0900)]
Add attachable event support in XamlType (not yet in readers and writers).

13 years agoUpdate COPYING file with MS-PL and Apache2 texts
Miguel de Icaza [Thu, 16 Dec 2010 16:10:33 +0000 (11:10 -0500)]
Update COPYING file with MS-PL and Apache2 texts

13 years agoAdd README2
Miguel de Icaza [Tue, 14 Dec 2010 18:33:44 +0000 (13:33 -0500)]
Add README2

13 years agoClean and finish TaskFactory
Jérémie Laval [Thu, 16 Dec 2010 14:45:44 +0000 (14:45 +0000)]
Clean and finish TaskFactory

13 years agoAdd support for storing elements with the same hashcode in ConcurrentDictionary....
Jérémie Laval [Thu, 16 Dec 2010 13:38:40 +0000 (13:38 +0000)]
Add support for storing elements with the same hashcode in ConcurrentDictionary. Add corresponding unit test.

13 years agoBuild po files from cs-parser.jay and not cs-parser.cs
Marek Safar [Thu, 16 Dec 2010 13:33:49 +0000 (13:33 +0000)]
Build po files from cs-parser.jay and not cs-parser.cs

13 years agoUpdated mcs translations, added Brazilian Portuguese
Marek Safar [Thu, 16 Dec 2010 13:04:10 +0000 (13:04 +0000)]
Updated mcs translations, added Brazilian Portuguese

13 years agoDon't build aot symbols on make dist
Marek Safar [Thu, 16 Dec 2010 12:42:29 +0000 (12:42 +0000)]
Don't build aot symbols on make dist

13 years agoAdjust MONO_PATH, it's still needed for all profiles
Marek Safar [Thu, 16 Dec 2010 12:16:23 +0000 (12:16 +0000)]
Adjust MONO_PATH, it's still needed for all profiles

13 years agoMonolite mcs compiler
Marek Safar [Thu, 16 Dec 2010 12:06:53 +0000 (12:06 +0000)]
Monolite mcs compiler

13 years agoFix resgen build order
Marek Safar [Thu, 16 Dec 2010 11:44:06 +0000 (11:44 +0000)]
Fix resgen build order

13 years agoAdd dist only Makefile
Marek Safar [Thu, 16 Dec 2010 10:05:48 +0000 (10:05 +0000)]
Add dist only Makefile

13 years agoSwitch to single mcs compiler for all managed code build
Marek Safar [Thu, 16 Dec 2010 09:59:39 +0000 (09:59 +0000)]
Switch to single mcs compiler for all managed code build

13 years agodist IKVM.Reflection
Marek Safar [Thu, 16 Dec 2010 09:30:32 +0000 (09:30 +0000)]
dist IKVM.Reflection

13 years agoAdd IKVM.Reflection
Marek Safar [Thu, 16 Dec 2010 09:29:45 +0000 (09:29 +0000)]
Add IKVM.Reflection

13 years agoSome 4.0 API tweaks
Marek Safar [Thu, 16 Dec 2010 09:25:06 +0000 (09:25 +0000)]
Some 4.0 API tweaks

13 years agoCleanup references in static mode
Marek Safar [Thu, 16 Dec 2010 09:24:24 +0000 (09:24 +0000)]
Cleanup references in static mode

13 years agoNew test
Marek Safar [Thu, 16 Dec 2010 08:25:44 +0000 (08:25 +0000)]
New test

13 years agoAdd more attribute arguments checks
Marek Safar [Wed, 15 Dec 2010 20:16:30 +0000 (20:16 +0000)]
Add more attribute arguments checks

13 years agoImplement XamlType.GetAllAttachableProperties() and family, except for events.
Atsushi Eno [Thu, 16 Dec 2010 09:13:22 +0000 (18:13 +0900)]
Implement XamlType.GetAllAttachableProperties() and family, except for events.

13 years agoFor IXmlSerializable/XData, Instance property returns null (!)
Atsushi Eno [Thu, 16 Dec 2010 07:27:19 +0000 (16:27 +0900)]
For IXmlSerializable/XData, Instance property returns null (!)

13 years agoFix the build
Marek Habersack [Thu, 16 Dec 2010 06:17:08 +0000 (07:17 +0100)]
Fix the build

13 years agoModify the Mono EH Frame decoding so it handles the LSDA+type_info embedded into...
Zoltan Varga [Thu, 16 Dec 2010 01:13:50 +0000 (02:13 +0100)]
Modify the Mono EH Frame decoding so it handles the LSDA+type_info embedded into the FDE.

13 years agoCorrect LDFLAGS on the Darwin platform so the profiler will build.
Bojan Rajkovic [Wed, 15 Dec 2010 20:51:54 +0000 (15:51 -0500)]
Correct LDFLAGS on the Darwin platform so the profiler will build.

13 years agoSys.Core parameters fixup
Jérémie Laval [Wed, 15 Dec 2010 17:43:11 +0000 (17:43 +0000)]
Sys.Core parameters fixup

13 years agoMake sure AppdDomain.PermissionSet doesn't return null
Jb Evain [Wed, 15 Dec 2010 17:35:18 +0000 (18:35 +0100)]
Make sure AppdDomain.PermissionSet doesn't return null

13 years agoFixed cloning of default switch case
Marek Safar [Wed, 15 Dec 2010 17:24:16 +0000 (17:24 +0000)]
Fixed cloning of default switch case

13 years agoNew tests.
Marek Safar [Wed, 15 Dec 2010 17:09:43 +0000 (17:09 +0000)]
New tests.

13 years ago[659536] Don't re-create array expressions when infering implicit array type
Marek Safar [Wed, 15 Dec 2010 17:08:10 +0000 (17:08 +0000)]
[659536] Don't re-create array expressions when infering implicit array type

13 years ago[659528] Fixed cloning of switch sections
Marek Safar [Wed, 15 Dec 2010 15:48:14 +0000 (15:48 +0000)]
[659528] Fixed cloning of switch sections

13 years agoAdd missing members in AggregateException
Jérémie Laval [Wed, 15 Dec 2010 17:10:17 +0000 (17:10 +0000)]
Add missing members in AggregateException

13 years agoAdd prototype for Parallel.For long overloads
Jérémie Laval [Wed, 15 Dec 2010 17:09:47 +0000 (17:09 +0000)]
Add prototype for Parallel.For long overloads

13 years agoYet more parameter manual fixup
Jérémie Laval [Wed, 15 Dec 2010 17:09:19 +0000 (17:09 +0000)]
Yet more parameter manual fixup

13 years agoMore parameter renaming
Jérémie Laval [Wed, 15 Dec 2010 16:35:47 +0000 (16:35 +0000)]
More parameter renaming

13 years ago[moon] Return true for IsolatedStorageFile.IsEnabled
Sebastien Pouliot [Wed, 15 Dec 2010 16:36:29 +0000 (11:36 -0500)]
[moon] Return true for IsolatedStorageFile.IsEnabled

* MoonIsolatedStorageFile.cs: Return true, instead of throwing a NIE,
for IsEnabled since this is the behavior for Silverlight 3 (i.e. always
enabled) even if the call is new in SL4 (but part of ML3 ;-)

13 years agoTest case for security issue
Sebastien Pouliot [Thu, 25 Nov 2010 22:01:56 +0000 (17:01 -0500)]
Test case for security issue

13 years agoUpdate Task parameter names
Jérémie Laval [Wed, 15 Dec 2010 14:13:08 +0000 (14:13 +0000)]
Update Task parameter names

13 years ago[656150] Fix repl recovery after invalid expression.
Marek Safar [Wed, 15 Dec 2010 13:26:20 +0000 (13:26 +0000)]
[656150] Fix repl recovery after invalid expression.

13 years agoFix comment typo
Marek Safar [Wed, 15 Dec 2010 12:18:08 +0000 (12:18 +0000)]
Fix comment typo

13 years agoWorkaround problem when compiling many resource files references
Marek Safar [Wed, 15 Dec 2010 12:06:10 +0000 (12:06 +0000)]
Workaround problem when compiling many resource files references

13 years agoAdd existing class to System.Net build
Marek Safar [Wed, 15 Dec 2010 11:40:59 +0000 (11:40 +0000)]
Add existing class to System.Net build

13 years agoKeep only single Dispose implementation in ResourceReader
Marek Safar [Wed, 15 Dec 2010 11:36:24 +0000 (11:36 +0000)]
Keep only single Dispose implementation in ResourceReader

13 years agoSwitch to resizeable array when adding second item to base member cache
Marek Safar [Wed, 15 Dec 2010 11:35:22 +0000 (11:35 +0000)]
Switch to resizeable array when adding second item to base member cache

13 years agoSome .net 4.0 api compatibility fixes
Marek Safar [Wed, 15 Dec 2010 11:11:08 +0000 (11:11 +0000)]
Some .net 4.0 api compatibility fixes

13 years agoEmit delegate constructor parameter names
Marek Safar [Wed, 15 Dec 2010 10:43:06 +0000 (10:43 +0000)]
Emit delegate constructor parameter names

13 years agoRecover from invalid linq block syntax
Marek Safar [Wed, 15 Dec 2010 10:03:51 +0000 (10:03 +0000)]
Recover from invalid linq block syntax

13 years agoAdd llvm_label_prefix to a few symbols.
Zoltan Varga [Tue, 14 Dec 2010 21:38:44 +0000 (22:38 +0100)]
Add llvm_label_prefix to a few symbols.

13 years agoFixed AesManaged parameter names to make gui-compare happy
Jeffrey Stedfast [Tue, 14 Dec 2010 21:20:35 +0000 (16:20 -0500)]
Fixed AesManaged parameter names to make gui-compare happy

13 years agoPut llvm type infos into the .text section.
Zoltan Varga [Tue, 14 Dec 2010 20:34:33 +0000 (21:34 +0100)]
Put llvm type infos into the .text section.

13 years agoAdd support for an additional TType encoding.
Zoltan Varga [Tue, 14 Dec 2010 20:32:04 +0000 (21:32 +0100)]
Add support for an additional TType encoding.

13 years agoRelease per-appdomain binding information.
Rodrigo Kumpera [Tue, 14 Dec 2010 20:37:14 +0000 (18:37 -0200)]
Release per-appdomain binding information.

* appdomain.c (unload_thread_main): Call function
bindings cleanup.

* assembly.c (mono_assembly_apply_binding): Dupe the
content of per-domain bindings. Assign a domain_id on
such entries to be possible to track them later.

* assembly.c (mono_assembly_cleanup_domain_bindings):
New function that removes per-domain bindings on
unload.

* metadata-internals.h (MonoAssemblyBindingInfo): Add
domain_id field so it's possible to track if an entry
is appdomain bound.

13 years agoMerge branch 'master' of github.com:mono/mono
Rodrigo Kumpera [Tue, 14 Dec 2010 20:41:53 +0000 (18:41 -0200)]
Merge branch 'master' of github.com:mono/mono

13 years agoAdd TypeForwardedTo for Aes on MOONLIGHT and BOOTSTRAP_NET_4_0
Jeffrey Stedfast [Tue, 14 Dec 2010 20:08:55 +0000 (15:08 -0500)]
Add TypeForwardedTo for Aes on MOONLIGHT and BOOTSTRAP_NET_4_0

13 years agoSocket.Dispose is public in 4.0.
Michael Hutchinson [Mon, 13 Dec 2010 19:05:24 +0000 (14:05 -0500)]
Socket.Dispose is public in 4.0.

13 years agoAdd one more test for marshaling of char arrays
Rodrigo Kumpera [Tue, 14 Dec 2010 16:34:26 +0000 (14:34 -0200)]
Add one more test for marshaling of char arrays

13 years agoFix marshaling of chars on structs.
Rodrigo Kumpera [Tue, 14 Dec 2010 16:30:38 +0000 (14:30 -0200)]
Fix marshaling of chars on structs.

* marshal.c (emit_struct_conv): Take the native type of
the field to decide what kind of conv to use if field
is of type char.

* marshal.c (mono_pinvoke_is_unicode): Unify auto
and default.

* marshal.c (emit_struct_conv_full): Kill this variant
that doesn't make any sense as structures are marshaled
in the same way regardless of the charset of the method.

* metadata.c (mono_type_to_unmanaged): Handle marshalspec
for char.

Fixes the regression on MD caused by 1f3cfba.

13 years ago[653710] Check type parameter reference type constraint recursively
Marek Safar [Tue, 14 Dec 2010 16:29:59 +0000 (16:29 +0000)]
[653710] Check type parameter reference type constraint recursively

13 years ago[656918] Implement expression tree access to hoisted variable reference
Marek Safar [Tue, 14 Dec 2010 16:03:56 +0000 (16:03 +0000)]
[656918] Implement expression tree access to hoisted variable reference

13 years agoAdd experimental "#if NET_2_1" mode (it builds w/o s.x.permissions).
Atsushi Eno [Tue, 14 Dec 2010 15:15:20 +0000 (00:15 +0900)]
Add experimental "#if NET_2_1" mode (it builds w/o s.x.permissions).

13 years ago[656918] Emit instance expression for ET delegate creation
Marek Safar [Tue, 14 Dec 2010 14:10:14 +0000 (14:10 +0000)]
[656918] Emit instance expression for ET delegate creation

13 years agoReject automatic version number at major and minor positions
Marek Safar [Tue, 14 Dec 2010 13:36:42 +0000 (13:36 +0000)]
Reject automatic version number at major and minor positions

13 years ago[655284] Implemented automatic assembly version numbers
Marek Safar [Tue, 14 Dec 2010 13:06:39 +0000 (13:06 +0000)]
[655284] Implemented automatic assembly version numbers

13 years ago[655770] Emit unused members warning for nested types as well
Marek Safar [Tue, 14 Dec 2010 11:22:26 +0000 (11:22 +0000)]
[655770] Emit unused members warning for nested types as well

13 years ago[657623] Fix incorrect logic in value type parameter `is' check
Marek Safar [Tue, 14 Dec 2010 10:58:05 +0000 (10:58 +0000)]
[657623] Fix incorrect logic in value type parameter `is' check

13 years agoAdd more restrictions to custom attribute encoding
Marek Safar [Tue, 14 Dec 2010 10:41:08 +0000 (10:41 +0000)]
Add more restrictions to custom attribute encoding

13 years ago[657797] Expand type member cache using secondary constraints as well.
Marek Safar [Tue, 14 Dec 2010 10:25:38 +0000 (10:25 +0000)]
[657797] Expand type member cache using secondary constraints as well.

13 years ago[asp.net] Fix for bug #467221. Properly match location sub-paths for security trimming
Marek Habersack [Tue, 14 Dec 2010 09:07:24 +0000 (10:07 +0100)]
[asp.net] Fix for bug #467221. Properly match location sub-paths for security trimming

When security trimming is requested for sub-path of a location specified in the config file,
make sure that we match such a request to its parent location.

Based on patch from Mike Morano <mmorano@mikeandwan.us>, thanks!

13 years ago[asp.net] Added verbose mode to the standalone test runner
Marek Habersack [Tue, 14 Dec 2010 09:06:48 +0000 (10:06 +0100)]
[asp.net] Added verbose mode to the standalone test runner

13 years agoadd missing method in IAmbientProvider.
Atsushi Eno [Tue, 14 Dec 2010 04:50:43 +0000 (13:50 +0900)]
add missing method in IAmbientProvider.

13 years agoDon't prepend llvm_label_prefix to plt symbol names.
Zoltan Varga [Tue, 14 Dec 2010 02:18:35 +0000 (03:18 +0100)]
Don't prepend llvm_label_prefix to plt symbol names.

13 years agoDon't throw in EndReceive/EndSend + out error
Gonzalo Paniagua Javier [Mon, 13 Dec 2010 23:56:52 +0000 (18:56 -0500)]
Don't throw in EndReceive/EndSend + out error

        The overloads of EndReceive and EndSend that have an out SocketError
parameter do not throw.

Patch by Sven Groot that fixes bug #659056.

13 years agoChange parameter name.
Gonzalo Paniagua Javier [Mon, 13 Dec 2010 21:59:53 +0000 (16:59 -0500)]
Change parameter name.

Fixes bug #659123.

13 years agoSimplify the profiler line in the spec file
Andrew Jorgensen [Mon, 13 Dec 2010 20:57:46 +0000 (13:57 -0700)]
Simplify the profiler line in the spec file

Stuff sometimes appears or disappears here, just use a wildcard.

13 years agoEmit a seq_point after OP_START_HANDLER, not before.
Zoltan Varga [Mon, 13 Dec 2010 19:42:59 +0000 (20:42 +0100)]
Emit a seq_point after OP_START_HANDLER, not before.

13 years agoAvoid passing a name to mono_register_jit_icall () which is later freed.
Zoltan Varga [Mon, 13 Dec 2010 19:21:00 +0000 (20:21 +0100)]
Avoid passing a name to mono_register_jit_icall () which is later freed.

13 years agoFixi soft debugger dll crash on Windows w/redirected console
Michael Hutchinson [Mon, 13 Dec 2010 18:23:56 +0000 (13:23 -0500)]
Fixi soft debugger dll crash on Windows w/redirected console

Windows socket behaviour seems to be slightly different from
Linux/Mac, and Mono.Debugger.Soft was trying to disconnect a socket
that that doesn't get connected, causing an exception at launch.

For some reason it did check the main debugger socket before trying
to disconnect it, but not the console socket, so only apps with
redirected console output would crash.

13 years agoRemove default arg usage from sdb dll so it can be compiled with csc 3.5
Michael Hutchinson [Mon, 13 Dec 2010 18:14:50 +0000 (13:14 -0500)]
Remove default arg usage from sdb dll so it can be compiled with csc 3.5

13 years agoImplement support for the .mono_eh_frame created by llc on LLVM mono branch.
Zoltan Varga [Mon, 13 Dec 2010 18:21:51 +0000 (19:21 +0100)]
Implement support for the .mono_eh_frame created by llc on LLVM mono branch.

13 years agoFix full-aot+llvm support on arm.
Zoltan Varga [Mon, 13 Dec 2010 18:21:14 +0000 (19:21 +0100)]
Fix full-aot+llvm support on arm.

13 years agoRemove duplicate checks
Marek Safar [Mon, 13 Dec 2010 18:08:54 +0000 (18:08 +0000)]
Remove duplicate checks

13 years agoNew test.
Marek Safar [Mon, 13 Dec 2010 18:00:20 +0000 (18:00 +0000)]
New test.

13 years ago[659038] Check interface hierarchy before reporting ambiguous errors
Marek Safar [Mon, 13 Dec 2010 17:58:39 +0000 (17:58 +0000)]
[659038] Check interface hierarchy before reporting ambiguous errors

13 years ago[657862] Correctly scan for parent of base method override
Marek Safar [Mon, 13 Dec 2010 14:58:33 +0000 (14:58 +0000)]
[657862] Correctly scan for parent of base method override

13 years ago[658722] Don't require arity symbol to be part of the typename
Marek Safar [Mon, 13 Dec 2010 13:59:34 +0000 (13:59 +0000)]
[658722] Don't require arity symbol to be part of the typename

13 years agoAvoid registering sequence points in the per-domain hash when AOT compiling.
Zoltan Varga [Mon, 13 Dec 2010 17:22:37 +0000 (18:22 +0100)]
Avoid registering sequence points in the per-domain hash when AOT compiling.

13 years agoFix several issues in the code generator
Lluis Sanchez [Mon, 13 Dec 2010 15:48:57 +0000 (16:48 +0100)]
Fix several issues in the code generator

Issues include: casts not being properly generated for nullable
types, missing cast when the type of a member does not match
the forced serialization type, and incorrect code generated
for handling [XmlText] members.

13 years agoAdd FreeBSD to the list of supported platforms for SGen on i386 and x86_64.
Bojan Rajkovic [Mon, 13 Dec 2010 04:41:37 +0000 (23:41 -0500)]
Add FreeBSD to the list of supported platforms for SGen on i386 and x86_64.

13 years agoUpdate build-csproj2k5 script to use /bin/sh, since there are no obvious bash-isms...
Bojan Rajkovic [Mon, 13 Dec 2010 04:42:17 +0000 (23:42 -0500)]
Update build-csproj2k5 script to use /bin/sh, since there are no obvious bash-isms in the script.

13 years agoUse SIGXFSZ on FreeBSD too by checking for the __FreeBSD__ define. Like Apple and...
Bojan Rajkovic [Mon, 13 Dec 2010 04:43:39 +0000 (23:43 -0500)]
Use SIGXFSZ on FreeBSD too by checking for the __FreeBSD__ define. Like Apple and OpenBSD, it doesn't have SIGPWR.

13 years agoFix enum serialization too.
Atsushi Eno [Mon, 13 Dec 2010 15:11:33 +0000 (00:11 +0900)]
Fix enum serialization too.

13 years agoIncrement Count even on single-processor in SpinWait. Fix #624849.
Jérémie Laval [Mon, 13 Dec 2010 13:35:35 +0000 (13:35 +0000)]
Increment Count even on single-processor in SpinWait. Fix #624849.

13 years ago[asp.net] Test suite configuration updates for 4.0
Marek Habersack [Mon, 13 Dec 2010 13:39:11 +0000 (14:39 +0100)]
[asp.net] Test suite configuration updates for 4.0

When running the tests on the 4.0 profile, the configuration must no longer include
the System.Web.Extensions section declarations as they are merged with machine.config right now.

13 years ago[659022] Resolve reduced expressions
Marek Safar [Mon, 13 Dec 2010 13:31:26 +0000 (13:31 +0000)]
[659022] Resolve reduced expressions

13 years agoFix code generation issue with nested generic types
Lluis Sanchez [Mon, 13 Dec 2010 12:46:29 +0000 (13:46 +0100)]
Fix code generation issue with nested generic types

The type argument list for generic nested types include
all types arguments for the whole declaring type chain.
When generating the C# name of the class, each type
argument has to be assigned to the correct class in
the chain.

13 years agoFix flags enum deserialization
Lluis Sanchez [Mon, 13 Dec 2010 12:36:33 +0000 (13:36 +0100)]
Fix flags enum deserialization

Flag enums values can be a composition of several
values separated by spaces. The deserializer now
properly handles this case.