mono.git
13 years agoUpdate README
Miguel de Icaza [Thu, 23 Dec 2010 14:53:49 +0000 (09:53 -0500)]
Update README

13 years agoActually we have almost what we need on mobile profiles.
Atsushi Eno [Tue, 28 Dec 2010 13:02:08 +0000 (22:02 +0900)]
Actually we have almost what we need on mobile profiles.

13 years agoUpdate sdb API documentation.
Zoltan Varga [Sun, 26 Dec 2010 00:10:10 +0000 (01:10 +0100)]
Update sdb API documentation.

13 years agoPartially revert 759ebbb3df836e82fac2443dea23659ede972ce7: pass the 'err'
Zoltan Varga [Fri, 24 Dec 2010 14:06:40 +0000 (15:06 +0100)]
Partially revert 759ebbb3df836e82fac2443dea23659ede972ce7: pass the 'err'
argument to mono_dl_open () again. Fixes #661356.

13 years agoRemove an obsolete comment.
Zoltan Varga [Fri, 24 Dec 2010 04:28:59 +0000 (05:28 +0100)]
Remove an obsolete comment.

13 years agoFixed wrong AttributeUsageAttribute
Marek Safar [Thu, 23 Dec 2010 16:13:07 +0000 (16:13 +0000)]
Fixed wrong AttributeUsageAttribute

13 years agoImplement missing v4 attribute types
Marek Safar [Thu, 23 Dec 2010 16:03:19 +0000 (16:03 +0000)]
Implement missing v4 attribute types

13 years agoAdd new tests
Marek Safar [Thu, 23 Dec 2010 14:11:06 +0000 (14:11 +0000)]
Add new tests

13 years agoUpdate mono-api-info to work with latest cecil. Updated to latest SL4
Marek Safar [Thu, 23 Dec 2010 13:55:51 +0000 (13:55 +0000)]
Update mono-api-info to work with latest cecil. Updated to latest SL4

13 years agoReport obsolete warning for generic methods which base implementation constraints...
Marek Safar [Wed, 22 Dec 2010 17:59:14 +0000 (17:59 +0000)]
Report obsolete warning for generic methods which base implementation constraints are obsolete

13 years agoFixed corlib tests to run on en-gb
Marek Safar [Wed, 22 Dec 2010 13:29:18 +0000 (13:29 +0000)]
Fixed corlib tests to run on en-gb

13 years agoPackage the new mcs.exe instead of gmcs.exe
Andrew Jorgensen [Wed, 22 Dec 2010 22:20:57 +0000 (15:20 -0700)]
Package the new mcs.exe instead of gmcs.exe

13 years ago[mono-api-info] Do not ignore finalizers
Alan McGovern [Wed, 22 Dec 2010 20:41:39 +0000 (20:41 +0000)]
[mono-api-info] Do not ignore finalizers

Finalizer chaining is done at compile time, so if you compile
against a lib with no finalizer and then run against one with
a finalizer, you'll end up ignoring the finalizer in the second
lib and it will never be run. Therefore we need to take these
into account.

13 years agoRemove null check in ComboBox.SelectedText setter (now handled in TextBoxBase).
Thomas Goldstein [Wed, 22 Dec 2010 18:30:54 +0000 (10:30 -0800)]
Remove null check in ComboBox.SelectedText setter (now handled in TextBoxBase).

13 years agoIf SelectedText is given a null value, set it to String.Empty.
Thomas Goldstein [Wed, 22 Dec 2010 18:28:45 +0000 (10:28 -0800)]
If SelectedText is given a null value, set it to String.Empty.

13 years agoAdd some missing files needed for windows to the tarball
Geoff Norton [Wed, 22 Dec 2010 17:05:18 +0000 (12:05 -0500)]
Add some missing files needed for windows to the tarball

13 years agoFixed NumberFormatInfo.InvariantInfo currency symbol
Marek Safar [Wed, 22 Dec 2010 12:48:55 +0000 (12:48 +0000)]
Fixed NumberFormatInfo.InvariantInfo currency symbol

13 years ago[660553] Fixed delegate name hiding.
Marek Safar [Wed, 22 Dec 2010 11:54:18 +0000 (11:54 +0000)]
[660553] Fixed delegate name hiding.

13 years agoAdd block device support to file_getfilesize on Linux
Kenneth Bell [Tue, 21 Dec 2010 11:53:04 +0000 (11:53 +0000)]
Add block device support to file_getfilesize on Linux

FileStream.Length for a block device (such as '/dev/sr0') now returns actual size, rather than Zero on Linux.

13 years agoAdd unit test for bug 660294.
Thomas Goldstein [Tue, 21 Dec 2010 21:05:38 +0000 (13:05 -0800)]
Add unit test for bug 660294.

13 years agoWhen ComboBox.SelectedText is given a null value, set it to String.Empty. Fixes bug...
Thomas Goldstein [Tue, 21 Dec 2010 20:45:26 +0000 (12:45 -0800)]
When ComboBox.SelectedText is given a null value, set it to String.Empty. Fixes bug 660294.

13 years agoFix incorrect internal node cleanup in MoveToRoot(). Fixed bug #654433.
Atsushi Eno [Tue, 21 Dec 2010 17:08:58 +0000 (02:08 +0900)]
Fix incorrect internal node cleanup in MoveToRoot(). Fixed bug #654433.

13 years agoAdd tests from XPathNavigatorEvaluateTests.
Atsushi Eno [Tue, 21 Dec 2010 16:39:23 +0000 (01:39 +0900)]
Add tests from XPathNavigatorEvaluateTests.

13 years agoAdd another bunch of tests from XPathNavigatorTests.
Atsushi Eno [Tue, 21 Dec 2010 16:29:52 +0000 (01:29 +0900)]
Add another bunch of tests from XPathNavigatorTests.

13 years agoSeveral fixes in XNodeNavigator to pass XPath tests from System.Xml.
Atsushi Eno [Tue, 21 Dec 2010 15:41:09 +0000 (00:41 +0900)]
Several fixes in XNodeNavigator to pass XPath tests from System.Xml.

13 years agoFix cecil update script
Jb Evain [Tue, 21 Dec 2010 09:35:14 +0000 (10:35 +0100)]
Fix cecil update script

13 years agoupdate cecil from upstream
Jb Evain [Tue, 21 Dec 2010 08:53:18 +0000 (09:53 +0100)]
update cecil from upstream

13 years agoPrevious patch was wrong.
Gonzalo Paniagua Javier [Tue, 21 Dec 2010 02:53:18 +0000 (21:53 -0500)]
Previous patch was wrong.

13 years ago[OSX] semaphore_timedwait might return > 0 for errors
Gonzalo Paniagua Javier [Tue, 21 Dec 2010 01:38:34 +0000 (20:38 -0500)]
[OSX] semaphore_timedwait might return > 0 for errors

Errors, including timeout, are reported with a positive return in
semaphore_timedwait.

13 years agoMoonlight build fixes and cleanup
Andreia Gaita [Tue, 21 Dec 2010 00:34:24 +0000 (00:34 +0000)]
Moonlight build fixes and cleanup

13 years agoPass -verbose-asm=false to llc, since verbose assembly slows it down greatly.
Zoltan Varga [Tue, 21 Dec 2010 00:58:36 +0000 (01:58 +0100)]
Pass -verbose-asm=false to llc, since verbose assembly slows it down greatly.

13 years ago[sgen] Make Mark&Sweep compile without card tables.
Mark Probst [Mon, 20 Dec 2010 19:55:16 +0000 (20:55 +0100)]
[sgen] Make Mark&Sweep compile without card tables.

13 years agoEnable fixed ikvm exception mode
Marek Safar [Mon, 20 Dec 2010 19:12:24 +0000 (19:12 +0000)]
Enable fixed ikvm exception mode

13 years agoEmit constant data type using compiler type containers
Marek Safar [Mon, 20 Dec 2010 18:57:12 +0000 (18:57 +0000)]
Emit constant data type using compiler type containers

13 years agoImport ikvm fixes
Marek Safar [Mon, 20 Dec 2010 18:53:41 +0000 (18:53 +0000)]
Import ikvm fixes

13 years ago[xbuild] Fix bug #660508 .
Ankit Jain [Mon, 20 Dec 2010 14:58:57 +0000 (20:28 +0530)]
[xbuild] Fix bug #660508 .

Use correctly escaped project+target names when
specifying project dependencies in the project
file generated from a .sln file.

13 years agoAdd a workaround for ikvm unfixed baked method tokens
Marek Safar [Mon, 20 Dec 2010 12:37:39 +0000 (12:37 +0000)]
Add a workaround for ikvm unfixed baked method tokens

13 years agoDisable ikvm exception optimization until it's fixed
Marek Safar [Mon, 20 Dec 2010 12:17:46 +0000 (12:17 +0000)]
Disable ikvm exception optimization until it's fixed

13 years agoKeep looking for references assembly after first lib path fails
Marek Safar [Mon, 20 Dec 2010 11:51:58 +0000 (11:51 +0000)]
Keep looking for references assembly after first lib path fails

13 years agoReplace initial eval Reset with PartialReset
Marek Safar [Mon, 20 Dec 2010 11:51:02 +0000 (11:51 +0000)]
Replace initial eval Reset with PartialReset

13 years agoAdd missing files to Mono.CSharp.csproj
Marek Safar [Mon, 20 Dec 2010 11:50:09 +0000 (11:50 +0000)]
Add missing files to Mono.CSharp.csproj

13 years ago[660260] A static method is inaccessible from a nested type with explicit generic...
Marek Safar [Mon, 20 Dec 2010 10:49:39 +0000 (10:49 +0000)]
[660260] A static method is inaccessible from a nested type with explicit generic args

13 years ago[660255] Keep inflated non-inflated method info independently
Marek Safar [Mon, 20 Dec 2010 10:44:50 +0000 (10:44 +0000)]
[660255] Keep inflated non-inflated method info independently

13 years agoUse DateTime ToBinary() and FromBinary() for DateTime serialization.
Atsushi Eno [Mon, 20 Dec 2010 08:17:57 +0000 (17:17 +0900)]
Use DateTime ToBinary() and FromBinary() for DateTime serialization.

13 years agoImplemented support for attached properties in xamlreaders and xamlwriters.
Atsushi Eno [Mon, 20 Dec 2010 02:25:53 +0000 (11:25 +0900)]
Implemented support for attached properties in xamlreaders and xamlwriters.

13 years agoAdd support for accessing ThreadStatic fields in sdb. Fixes #645217.
Zoltan Varga [Sun, 19 Dec 2010 22:12:04 +0000 (23:12 +0100)]
Add support for accessing ThreadStatic fields in sdb. Fixes #645217.

13 years agoAdd functions to access values of ThreadStatic fields from another threads.
Zoltan Varga [Sun, 19 Dec 2010 22:11:29 +0000 (23:11 +0100)]
Add functions to access values of ThreadStatic fields from another threads.

13 years agoAdd aot-compiler to dist list
Marek Safar [Sat, 18 Dec 2010 10:19:45 +0000 (10:19 +0000)]
Add aot-compiler to dist list

13 years agoFix a buffer overflow in the aot compiler.
Zoltan Varga [Sat, 18 Dec 2010 02:51:20 +0000 (03:51 +0100)]
Fix a buffer overflow in the aot compiler.

13 years agoName the llvm methods using the debug symbol by default, instead of using the cryptic...
Zoltan Varga [Sat, 18 Dec 2010 02:39:35 +0000 (03:39 +0100)]
Name the llvm methods using the debug symbol by default, instead of using the cryptic m_<token> name.

13 years agoSupport passing vtypes on llvm/arm.
Zoltan Varga [Sat, 18 Dec 2010 01:58:27 +0000 (02:58 +0100)]
Support passing vtypes on llvm/arm.

13 years agoAdd more files to mcs dist
Marek Safar [Fri, 17 Dec 2010 22:53:43 +0000 (22:53 +0000)]
Add more files to mcs dist

13 years agoSupport methods returning vtypes by addr on arm/LLVM.
Zoltan Varga [Fri, 17 Dec 2010 22:06:18 +0000 (23:06 +0100)]
Support methods returning vtypes by addr on arm/LLVM.

13 years agoAdd support for OP_SETFRET to the llvm backend.
Zoltan Varga [Fri, 17 Dec 2010 21:29:15 +0000 (22:29 +0100)]
Add support for OP_SETFRET to the llvm backend.

13 years agoFix OP_LCONV_TO_OVF_I4 under LLVM. Don't use the Mono LLVM calling convention for...
Zoltan Varga [Fri, 17 Dec 2010 21:07:38 +0000 (22:07 +0100)]
Fix OP_LCONV_TO_OVF_I4 under LLVM. Don't use the Mono LLVM calling convention for pinvoke calls.

13 years agoAllow decomposition of some complex 64 bit opcodes on 32 bit platforms when running...
Zoltan Varga [Fri, 17 Dec 2010 20:47:38 +0000 (21:47 +0100)]
Allow decomposition of some complex 64 bit opcodes on 32 bit platforms when running with llvm.

13 years agoMach uses wait_time not abs_time
Gonzalo Paniagua Javier [Fri, 17 Dec 2010 20:07:22 +0000 (15:07 -0500)]
Mach uses wait_time not abs_time

The time to wait is relative in the Mac functions.

13 years agoFix moonlight build
Andreia Gaita [Fri, 17 Dec 2010 20:04:00 +0000 (20:04 +0000)]
Fix moonlight build

13 years agoDocument the new --with-moon-gc flag on the README
Andreia Gaita [Fri, 17 Dec 2010 18:27:11 +0000 (18:27 +0000)]
Document the new --with-moon-gc flag on the README

13 years agoAdd --with-moon-gc to select the gc to use with moon (boehm/sgen)
Andreia Gaita [Fri, 17 Dec 2010 17:52:26 +0000 (17:52 +0000)]
Add --with-moon-gc to select the gc to use with moon (boehm/sgen)

13 years agoLog profiler: fix statistical mode on linux amd64.
Paolo Molaro [Fri, 17 Dec 2010 16:39:39 +0000 (17:39 +0100)]
Log profiler: fix statistical mode on linux amd64.

13 years agoReverse #elif check since 4.0 profile defines NET_2_0. Fixes broken test.
Jonathan Pobst [Fri, 17 Dec 2010 16:30:52 +0000 (10:30 -0600)]
Reverse #elif check since 4.0 profile defines NET_2_0.  Fixes broken test.

13 years agoget-monolite-latest now pulls a versioned archive
Andrew Jorgensen [Thu, 16 Dec 2010 21:52:29 +0000 (14:52 -0700)]
get-monolite-latest now pulls a versioned archive

In order to ensure that monolite actually works you need to ensure that
the corlib in it has the same version as your runtime.  Monolite
archives are now versioned monolite-MONO_CORLIB_VERSION-DATE.

13 years agoRemove a leftover debugging scwl
Jérémie Laval [Fri, 17 Dec 2010 15:27:10 +0000 (15:27 +0000)]
Remove a leftover debugging scwl

13 years agoUpdate mcs name for monolite build
Marek Safar [Fri, 17 Dec 2010 15:58:31 +0000 (15:58 +0000)]
Update mcs name for monolite build

13 years ago[660077] Setup class interfaces for defined types in same way as for imported types
Marek Safar [Fri, 17 Dec 2010 11:58:26 +0000 (11:58 +0000)]
[660077] Setup class interfaces for defined types in same way as for imported types

13 years agoMade SecurityAction predefined type
Marek Safar [Fri, 17 Dec 2010 09:35:19 +0000 (09:35 +0000)]
Made SecurityAction predefined type

13 years agoAdd an error to obsolete attribute to get consistent compiler error code
Marek Safar [Fri, 17 Dec 2010 09:06:21 +0000 (09:06 +0000)]
Add an error to obsolete attribute to get consistent compiler error code

13 years ago[657601] Fixes parsing pragma warning when encounter eof
Marek Safar [Fri, 17 Dec 2010 09:05:21 +0000 (09:05 +0000)]
[657601] Fixes parsing pragma warning when encounter eof

13 years ago[ThreadPool] Reset the abort state when unloading a domain
Gonzalo Paniagua Javier [Fri, 17 Dec 2010 05:32:23 +0000 (00:32 -0500)]
[ThreadPool] Reset the abort state when unloading a domain

Properly reset the abort state of threadpool threads that processed
domain unloading or were running in a domain that was being unloaded.

Thanks go to Kumpera for finding this out.

13 years agoFix some broken tests that check for assembly version 2.0.0.0 on the 4.0 profile.
Jonathan Pobst [Fri, 17 Dec 2010 04:19:30 +0000 (22:19 -0600)]
Fix some broken tests that check for assembly version 2.0.0.0 on the 4.0 profile.

13 years agoConvert the new NO_SEQ_POINT_AT_IL_OFFSET sdb error code into an exception.
Zoltan Varga [Fri, 17 Dec 2010 03:45:09 +0000 (04:45 +0100)]
Convert the new NO_SEQ_POINT_AT_IL_OFFSET sdb error code into an exception.

13 years agoSend back an error instead of asserting when a breakpoint cannot be set at an il...
Zoltan Varga [Fri, 17 Dec 2010 03:39:49 +0000 (04:39 +0100)]
Send back an error instead of asserting when a breakpoint cannot be set at an il offset because it has no seq point. Fixes #620099.

13 years agoReserve r7 on arm/darwin even if iphone_abi is disabled.
Zoltan Varga [Fri, 17 Dec 2010 02:33:50 +0000 (03:33 +0100)]
Reserve r7 on arm/darwin even if iphone_abi is disabled.

13 years agoFix access policy when more than one scheme is present #659791
Sebastien Pouliot [Thu, 16 Dec 2010 21:29:56 +0000 (16:29 -0500)]
Fix access policy when more than one scheme is present #659791

* ClientAccessPolicy.cs: Remove special case for scheme
* ClientAccessPolicyParser.cs: Add scheme-only entries like full URI

13 years agoDon't put llvm type infos into the text segment, it is no longer needed.
Zoltan Varga [Thu, 16 Dec 2010 21:31:13 +0000 (22:31 +0100)]
Don't put llvm type infos into the text segment, it is no longer needed.

13 years agoNull out trace_ips after freeing it to avoid crashes.
Zoltan Varga [Thu, 16 Dec 2010 21:26:00 +0000 (22:26 +0100)]
Null out trace_ips after freeing it to avoid crashes.

13 years agoMove line inside if () to fix 2 tests.
Jonathan Pobst [Thu, 16 Dec 2010 20:43:32 +0000 (14:43 -0600)]
Move line inside if () to fix 2 tests.

Broke by 9aa23d8ebec0f5c60ae66fee3df8a3c6c39cf191.

13 years agoSet ImageRuntimeVersion based on mscorlib version when available
Marek Safar [Thu, 16 Dec 2010 19:06:04 +0000 (19:06 +0000)]
Set ImageRuntimeVersion based on mscorlib version when available

13 years agoAdd documentation for my new exception filter code.
Martin Baulig [Thu, 16 Dec 2010 18:46:07 +0000 (19:46 +0100)]
Add documentation for my new exception filter code.

13 years ago[659970] Close anonymous method scope also for top-level blocks
Marek Safar [Thu, 16 Dec 2010 18:22:30 +0000 (18:22 +0000)]
[659970] Close anonymous method scope also for top-level blocks

13 years agoImprove support for exception filters.
Martin Baulig [Thu, 16 Dec 2010 18:22:42 +0000 (19:22 +0100)]
Improve support for exception filters.

* mini-exceptions.c (mono_handle_exception_internal_first_pass): Store the
  exception object in bp + ei->exvar_offset before invoking an exception
  filter.  Use mono_debugger_agent_exception_filter().

* debugger-agent.c: Add mono_debugger_agent_exception_filter(); stores
  the original context in `tls->filter_ctx' while invoking the filter.

* Mono.Debugger.Soft/Test: Add test cases.

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