mono.git
15 years agoIn System.Diagnostics:
Robert Jordan [Mon, 23 Jun 2008 19:09:22 +0000 (19:09 -0000)]
In System.Diagnostics:
2008-06-21  Robert Jordan  <robertj@gmx.net>

* Process.cs (Start_common): UserName may be null or empty.
Fixes bug  #350543.

In Test/System.Diagnostics:
2008-06-21  Robert Jordan  <robertj@gmx.net>

* ProcessTest.cs (Start_UseShellExecuteWithEmptyUserName):
add test for bug #350543.

svn path=/trunk/mcs/; revision=106452

15 years agoBug 10670 fix.
Sasha Kogan [Mon, 23 Jun 2008 18:49:08 +0000 (18:49 -0000)]
Bug 10670 fix.

svn path=/trunk/mcs/; revision=106451

15 years agoHonor timeout and throw appropriate exception when connections are not
Veerapuram Varadhan [Mon, 23 Jun 2008 18:42:28 +0000 (18:42 -0000)]
Honor timeout and throw appropriate exception when connections are not
available

svn path=/trunk/mcs/; revision=106448

15 years ago2008-06-23 Mark Probst <mark.probst@gmail.com>
Mark Probst [Mon, 23 Jun 2008 18:39:14 +0000 (18:39 -0000)]
2008-06-23  Mark Probst  <mark.probst@gmail.com>

* generic-virtual2.2.cs: Test case for a call from a generic
method to a method of a generic class where the generic method
does not require the MRGCTX.

* Makefile.am: Test added.

svn path=/trunk/mono/; revision=106447

15 years ago2008-06-23 Mark Probst <mark.probst@gmail.com>
Mark Probst [Mon, 23 Jun 2008 18:11:52 +0000 (18:11 -0000)]
2008-06-23  Mark Probst  <mark.probst@gmail.com>

* mini.c: Fail sharing of a generic method if it contains an open
catch clause (because we don't pass MRGCTXs yet).

2008-06-23  Mark Probst  <mark.probst@gmail.com>

* generic-exceptions.2.cs: Test case for exception handlers in
generic methods with catch clauses depending on the method type
arguments.

* Makefile.am: Test added.

svn path=/trunk/mono/; revision=106446

15 years agorefactoring
Jb Evain [Mon, 23 Jun 2008 14:56:40 +0000 (14:56 -0000)]
refactoring

svn path=/trunk/mcs/; revision=106422

15 years agofix for properly calling methods with a ref parameter
Jb Evain [Mon, 23 Jun 2008 14:46:05 +0000 (14:46 -0000)]
fix for properly calling methods with a ref parameter

svn path=/trunk/mcs/; revision=106421

15 years agoadd another test for methods with a ref parameter
Jb Evain [Mon, 23 Jun 2008 14:45:17 +0000 (14:45 -0000)]
add another test for methods with a ref parameter

svn path=/trunk/mcs/; revision=106420

15 years ago2008-06-23 Andreas Faerber <andreas.faerber@web.de>
Andreas Färber [Mon, 23 Jun 2008 12:27:30 +0000 (12:27 -0000)]
2008-06-23  Andreas Faerber  <andreas.faerber@web.de>

* data/Makefile.am (EXTRA_DIST): Distribute mono.d.

This commit is licensed under the MIT X11 license.

svn path=/trunk/mono/; revision=106413

15 years agofix typo of last commit.
Roei Erez [Mon, 23 Jun 2008 10:02:05 +0000 (10:02 -0000)]
fix typo of last commit.

svn path=/trunk/mcs/; revision=106408

15 years ago2008-06-23 Mark Probst <mark.probst@gmail.com>
Mark Probst [Mon, 23 Jun 2008 10:00:46 +0000 (10:00 -0000)]
2008-06-23  Mark Probst  <mark.probst@gmail.com>

* mini.c: When compiling a method with generic sharing, insert the
method instantiated with an all-Object generic context into the
jit info table, instead of the context of the first instantiation
of the method we happen to compile.

svn path=/trunk/mono/; revision=106407

15 years agoAdd some TARGET_JVM for using httpclient with large post requests (bug 10494)
Roei Erez [Mon, 23 Jun 2008 09:49:38 +0000 (09:49 -0000)]
Add some TARGET_JVM for using httpclient with large post requests (bug 10494)

svn path=/trunk/mcs/; revision=106405

15 years ago2008-06-22 Ivan N. Zlatev <contact@i-nz.net>
Ivan Zlatev [Sun, 22 Jun 2008 21:39:52 +0000 (21:39 -0000)]
2008-06-22  Ivan N. Zlatev  <contact@i-nz.net>

* Splitter.cs: Fix Splitter to:
 - Work for arbitrary splitter size
 - Handle MinSize and MinExtra properly
 - Get rid of absolute positioning during drag and use relative
 - Multiple other fixes
 [Fixes bug #338966]

svn path=/trunk/mcs/; revision=106380

15 years agoupdate dtrace docs
Miguel de Icaza [Sun, 22 Jun 2008 17:57:33 +0000 (17:57 -0000)]
update dtrace docs

svn path=/trunk/mono/; revision=106379

15 years ago2008-06-21 Robert Jordan <robertj@gmx.net>
Robert Jordan [Sun, 22 Jun 2008 17:31:40 +0000 (17:31 -0000)]
2008-06-21  Robert Jordan  <robertj@gmx.net>

* HttpRuntime.cs (.cctor): Workaround for bug #402263.

svn path=/trunk/mcs/; revision=106378

15 years agopassing this one
Jb Evain [Sun, 22 Jun 2008 17:17:57 +0000 (17:17 -0000)]
passing this one

svn path=/trunk/mcs/; revision=106377

15 years agonew test
Jb Evain [Sun, 22 Jun 2008 17:15:46 +0000 (17:15 -0000)]
new test

svn path=/trunk/mcs/; revision=106376

15 years agopassing this guy
Jb Evain [Sun, 22 Jun 2008 16:59:00 +0000 (16:59 -0000)]
passing this guy

svn path=/trunk/mcs/; revision=106375

15 years agopassing those
Jb Evain [Sun, 22 Jun 2008 16:54:29 +0000 (16:54 -0000)]
passing those

svn path=/trunk/mcs/; revision=106374

15 years agoa few more tests
Jb Evain [Sun, 22 Jun 2008 16:52:03 +0000 (16:52 -0000)]
a few more tests

svn path=/trunk/mcs/; revision=106373

15 years agocleanup
Jb Evain [Sun, 22 Jun 2008 16:03:06 +0000 (16:03 -0000)]
cleanup

svn path=/trunk/mcs/; revision=106372

15 years ago2008-06-22 Ivan N. Zlatev <contact@i-nz.net>
Ivan Zlatev [Sun, 22 Jun 2008 15:10:20 +0000 (15:10 -0000)]
2008-06-22  Ivan N. Zlatev  <contact@i-nz.net>

* Cursor.cs: Show shouldn't hide the cursor.

svn path=/trunk/mcs/; revision=106371

15 years agopass the local array through
Jb Evain [Sun, 22 Jun 2008 15:00:12 +0000 (15:00 -0000)]
pass the local array through

svn path=/trunk/mcs/; revision=106370

15 years ago2008-06-22 Marek Safar <marek.safar@gmail.com>
Marek Safar [Sun, 22 Jun 2008 09:48:50 +0000 (09:48 -0000)]
2008-06-22  Marek Safar  <marek.safar@gmail.com>

A test for bug #394347

svn path=/trunk/mcs/; revision=106367

15 years ago2008-06-22 Marek Safar <marek.safar@gmail.com>
Marek Safar [Sun, 22 Jun 2008 09:48:24 +0000 (09:48 -0000)]
2008-06-22  Marek Safar  <marek.safar@gmail.com>

A fix for bug #394347
* anonymous.cs: Cache compatible delegates as compatibility check produces
a new method every time.

svn path=/trunk/mcs/; revision=106366

15 years ago * ListViewItem.cs: When invalidating, add some extra space to bounds,
Carlos Alberto Cortez [Sat, 21 Jun 2008 18:35:26 +0000 (18:35 -0000)]
* ListViewItem.cs: When invalidating, add some extra space to bounds,
since focus rectangle and selection can add some space and need to
take into account those small offsets - specially in Details view.
* ListView.cs: Instead of invalidate using item Bounds directly, call
item.Invalidate, to have the code centralized.
Fixes focused/selection garbage when selecting and deselecting items
that are close.

2008-06-21  Carlos Alberto Cortez <calberto.cortez@gmail.com>

svn path=/trunk/mcs/; revision=106357

15 years ago2008-06-21 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Sat, 21 Jun 2008 17:48:01 +0000 (17:48 -0000)]
2008-06-21  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* ListViewItem.cs: Set bounds initially to -1 values - thus in virtual
mode we can check whether we have to force a Layout or not, and can
cache based on this, instead of avoiding caching all the the time. Do
this check in GetBounds and TextBounds.
Fixes selection in Details view.

svn path=/trunk/mcs/; revision=106356

15 years ago* ModuleBuilderTest.cs: Added test for DefineType with interface as
Gert Driesen [Sat, 21 Jun 2008 15:41:12 +0000 (15:41 -0000)]
* ModuleBuilderTest.cs: Added test for DefineType with interface as
parent.
* TypeBuilderTest.cs: Added test for SetParent with interface as
parent. Added test for CreateType of an interface with invalid parent.
Added tests for checks in DefineGenericParameters. Improved test
for MakeGenericType, and added tests for argument checks in
MakeGenericType.

svn path=/trunk/mcs/; revision=106355

15 years ago* MarshalTest.cs: Added tests for GetHINSTANCE. Improved existing
Gert Driesen [Sat, 21 Jun 2008 15:16:06 +0000 (15:16 -0000)]
* MarshalTest.cs: Added tests for GetHINSTANCE. Improved existing
tests, and removed use of ExpectedException. Use more meaningful names
for test methods. Minor code formatting.
* Marshal.cs: Fixed order of arguments for ArgumentException in
GetComSlotForMethodInfo.

svn path=/trunk/mcs/; revision=106354

15 years ago* Path.cs: Fixed exception arguments to match MS. Removed obsolete
Gert Driesen [Sat, 21 Jun 2008 15:09:21 +0000 (15:09 -0000)]
* Path.cs: Fixed exception arguments to match MS. Removed obsolete
LAMESPEC comment. In GetPathRoot, throw ArgumentException if path
is whitespace-only. Throw ArgumentException in HasExtension, if path
contains invalid path characters.
* PathCas.cs: Updated method names to reflect changes in PathTest.
* PathTest.cs: Renamed tests. Use String.Empty instead of "". Added
argument check tests, and moved tests to separate methods. Avoid using
ExpectedException.

svn path=/trunk/mcs/; revision=106353

15 years ago2008-06-20 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Sat, 21 Jun 2008 01:10:50 +0000 (01:10 -0000)]
2008-06-20  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* ListView.cs: Make HeaderControl internal, thus the theme engine can
get its *real* height instead of trying to infere it.
* ThemeWin32Classic.cs: When drawing gridlines, don't iterate over the items to
get the position of them, since it's in general a bad idea in general,
and because we can't do that in virtual mode. Instead get the first
visible item as well as item height, and draw them.
Fixes #400390.

svn path=/trunk/mcs/; revision=106342

15 years ago* ServiceContainerTest.cs: Added tests for Dispose.
Gert Driesen [Fri, 20 Jun 2008 22:00:00 +0000 (22:00 -0000)]
* ServiceContainerTest.cs: Added tests for Dispose.

svn path=/trunk/mcs/; revision=106337

15 years ago2008-06-20 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Fri, 20 Jun 2008 20:51:47 +0000 (20:51 -0000)]
2008-06-20  Rodrigo Kumpera  <rkumpera@novell.com>

* bug-349190.2.cs: Regression test for bug #349190.
Checks the encoding of generic MethodBuilders that
have been not instantiated.

* Makefile.am: Test added.

svn path=/trunk/mono/; revision=106334

15 years agoAdd mention in te Changelog to the bug the last change fixes
Rodrigo Kumpera [Fri, 20 Jun 2008 20:40:28 +0000 (20:40 -0000)]
Add mention in te Changelog to the bug the last change fixes

svn path=/trunk/mono/; revision=106333

15 years ago * metadata-internals.h: Added MonoDynamicImage::methodspec
Rodrigo Kumpera [Fri, 20 Jun 2008 20:38:46 +0000 (20:38 -0000)]
* metadata-internals.h: Added MonoDynamicImage::methodspec
hashtable to store methodspec tokens created for MethodBuilders.

* reflection.c (mono_image_get_methodbuilder_token): Encode generic
MethodBuilders as open instantiations if a methodspec was requested.

* reflection.c (fixup_method): Skip MethodBuilder with methodspec tokens.

* reflection.c (create_dynamic_mono_image): Create the methodspec hashtable.

* reflection.c (mono_dynamic_image_free): Release the methodspec hashtable.

2008-06-20 Rodrigo Kumpera  <rkumpera@novell.com>

svn path=/trunk/mono/; revision=106332

15 years agoNew test.
Marek Safar [Fri, 20 Jun 2008 20:04:05 +0000 (20:04 -0000)]
New test.

svn path=/trunk/mcs/; revision=106325

15 years ago2008-06-20 Marek Safar <marek.safar@gmail.com>
Marek Safar [Fri, 20 Jun 2008 19:39:06 +0000 (19:39 -0000)]
2008-06-20  Marek Safar  <marek.safar@gmail.com>

* anonymous.cs: Propagate storey reference for single references.

svn path=/trunk/mcs/; revision=106324

15 years ago2008-06-20 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Fri, 20 Jun 2008 18:13:49 +0000 (18:13 -0000)]
2008-06-20 Rodrigo Kumpera  <rkumpera@novell.com>

* loader.c (method_from_methodspec): Avoid crashing if the
method lookup fails.

svn path=/trunk/mono/; revision=106320

15 years agohello, we don't even have a System.Data.SqlXml around
Jb Evain [Fri, 20 Jun 2008 16:59:23 +0000 (16:59 -0000)]
hello, we don't even have a System.Data.SqlXml around

svn path=/trunk/mcs/; revision=106318

15 years ago2008-06-20 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Fri, 20 Jun 2008 16:51:23 +0000 (16:51 -0000)]
2008-06-20  Jonathan Pobst  <monkey@jpobst.com>

* ToolStripSplitButton.cs: We can't add in extra width if
the button is not AutoSize.  [Fixes bug #401279]

svn path=/trunk/mcs/; revision=106317

15 years ago2008-06-20 Jb Evain <jbevain@novell.com>
Jb Evain [Fri, 20 Jun 2008 16:47:42 +0000 (16:47 -0000)]
2008-06-20  Jb Evain  <jbevain@novell.com>

* ExecutionScope.cs (CreateDelegate): implement.

svn path=/trunk/mcs/; revision=106316

15 years ago2008-06-20 Jb Evain <jbevain@novell.com>
Jb Evain [Fri, 20 Jun 2008 16:02:04 +0000 (16:02 -0000)]
2008-06-20  Jb Evain  <jbevain@novell.com>

* LambdaExpression.cs, EmitContext.cs: refactor the emit context to
handle the fact that lambdas are compiled in a general context where
they share globals but are also able to use parameters from parent lambdas.
(Although parameter sharing is not implemented yet).

* BinaryExpression.cs (fix converted coalesce case to use the lambda
compilation code).

svn path=/trunk/mcs/; revision=106310

15 years ago2008-06-20 Dick Porter <dick@ximian.com>
Dick Porter [Fri, 20 Jun 2008 14:26:28 +0000 (14:26 -0000)]
2008-06-20  Dick Porter  <dick@ximian.com>

* socket-io.c (get_socket_assembly): Cope with Moonlight network
classes being in a different assembly.  Fixes bug 399184.

svn path=/trunk/mono/; revision=106306

15 years ago2008-06-20 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 20 Jun 2008 14:15:01 +0000 (14:15 -0000)]
2008-06-20  Zoltan Varga  <vargaz@gmail.com>

* loader.c (mono_loader_init): Make this callable multiple times.
(mono_dllmap_insert): Call mono_loader_init () so this works even before
the runtime is initialized. Fixes #401755.

svn path=/trunk/mono/; revision=106304

15 years ago2008-06-20 Dick Porter <dick@ximian.com>
Dick Porter [Fri, 20 Jun 2008 13:31:37 +0000 (13:31 -0000)]
2008-06-20  Dick Porter  <dick@ximian.com>

* InotifyWatcher.cs: If a directory is renamed, make sure the old
version is removed from the requests hash.  Fixes bug 322330.

svn path=/trunk/mcs/; revision=106302

15 years agoUse case insensitive string comparer in case-insensitive-column-names
Veerapuram Varadhan [Fri, 20 Jun 2008 11:59:16 +0000 (11:59 -0000)]
Use case insensitive string comparer in case-insensitive-column-names
hashtable.

svn path=/trunk/mcs/; revision=106298

15 years agoRevert r106068 and reopen bug #400807. The revision broke more than it fixed and...
Marek Habersack [Fri, 20 Jun 2008 10:23:44 +0000 (10:23 -0000)]
Revert r106068 and reopen bug #400807. The revision broke more than it fixed and there exists a workaround for the bug metioned before

svn path=/trunk/mcs/; revision=106297

15 years ago2008-06-20 Marek Safar <marek.safar@gmail.com>
Marek Safar [Fri, 20 Jun 2008 09:05:22 +0000 (09:05 -0000)]
2008-06-20  Marek Safar  <marek.safar@gmail.com>

A test for bug #387615

svn path=/trunk/mcs/; revision=106287

15 years ago2008-06-20 Marek Safar <marek.safar@gmail.com>
Marek Safar [Fri, 20 Jun 2008 09:05:02 +0000 (09:05 -0000)]
2008-06-20  Marek Safar  <marek.safar@gmail.com>

A fix for bug #387615
* assign.cs, expression.cs: Correctly clone compound assignment.

svn path=/trunk/mcs/; revision=106286

15 years agoImplemented signal based enable-disable toggling for the statistical and enter-exit...
Massimiliano Mantione [Fri, 20 Jun 2008 08:48:09 +0000 (08:48 -0000)]
Implemented signal based enable-disable toggling for the statistical and enter-exit events.

svn path=/trunk/mono/; revision=106285

15 years agoUse the proper domain instead of trying to get one.
Massimiliano Mantione [Fri, 20 Jun 2008 08:43:47 +0000 (08:43 -0000)]
Use the proper domain instead of trying to get one.

svn path=/trunk/mono/; revision=106283

15 years ago2008-06-20 Ivan N. Zlatev <contact@i-nz.net>
Ivan Zlatev [Fri, 20 Jun 2008 01:15:11 +0000 (01:15 -0000)]
2008-06-20  Ivan N. Zlatev  <contact@i-nz.net>

* PaddingConverter.cs:
 - Implement conversion to InstanceDescriptor
 - Handle "All" in CreateInstance by using the supplied
 ITypeDescriptorContext.
 [Fixes bugs #396076 and #396078]

 Patch by Andy Hume  <andyhume32@yahoo.co.uk>
         Code contributed under MIT/X11 license.

* PaddingConverterTest.cs: Add tests for bugs #396076 and #396078
 Based on patch by Andy Hume  <andyhume32@yahoo.co.uk>

svn path=/trunk/mcs/; revision=106273

15 years agoIncrease sleep time for tests which fail on the build bot
Marek Habersack [Thu, 19 Jun 2008 22:49:00 +0000 (22:49 -0000)]
Increase sleep time for tests which fail on the build bot

svn path=/trunk/mcs/; revision=106262

15 years ago2008-06-19 Jb Evain <jbevain@novell.com>
Jb Evain [Thu, 19 Jun 2008 21:16:25 +0000 (21:16 -0000)]
2008-06-19  Jb Evain  <jbevain@novell.com>

* AppDomainSetupTest.cs (AppDomainInitializerNonStaticMethod):
fix test to not be dependent of the compiler implementation
of anonymous delegates.

svn path=/trunk/mcs/; revision=106254

15 years ago2008-06-19 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Thu, 19 Jun 2008 20:19:37 +0000 (20:19 -0000)]
2008-06-19  Rodrigo Kumpera  <rkumpera@novell.com>

* generic-ldtoken-method.2.il: Fix the signature of GetMethodHandle.

svn path=/trunk/mono/; revision=106252

15 years ago2008-06-19 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Thu, 19 Jun 2008 18:17:19 +0000 (18:17 -0000)]
2008-06-19  Marek Habersack  <mhabersack@novell.com>

* MimeTypes.cs: added a mime type entry for .xpi files.

svn path=/trunk/mcs/; revision=106245

15 years ago2008-06-19 Marek Safar <marek.safar@gmail.com>
Marek Safar [Thu, 19 Jun 2008 17:35:11 +0000 (17:35 -0000)]
2008-06-19  Marek Safar  <marek.safar@gmail.com>

A fix for bug #359611, #359604
* anonymous.cs: Mutate all types of hoisted parameters.

svn path=/trunk/mcs/; revision=106240

15 years agoFilled fixed bugs list
Marek Safar [Thu, 19 Jun 2008 17:10:55 +0000 (17:10 -0000)]
Filled fixed bugs list

svn path=/trunk/mcs/; revision=106232

15 years agoNew tests.
Marek Safar [Thu, 19 Jun 2008 17:01:17 +0000 (17:01 -0000)]
New tests.

svn path=/trunk/mcs/; revision=106228

15 years ago2008-06-19 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 19 Jun 2008 16:35:24 +0000 (16:35 -0000)]
2008-06-19  Atsushi Enomoto  <atsushi@ximian.com>

* DataRelation.cs : keep createConstraints flag for cloning in
  DataSet.Merge(). Use different flag for initialization instead.
* MergeManager.cs : When cloning DataRelation, createConstraints
  flag should depend on the source.
* XmlSchemaDataImporter.cs : create constraints when creating
  DataRelation.

* TestMerge1.xml : new test file.
* DataSetTest2.cs : added test for Merge() to verify that it copies
  constraints in DataRelation.

svn path=/trunk/mcs/; revision=106227

15 years ago2008-06-19 Dick Porter <dick@ximian.com>
Dick Porter [Thu, 19 Jun 2008 15:28:15 +0000 (15:28 -0000)]
2008-06-19  Dick Porter  <dick@ximian.com>

* socket-io.c (convert_socketflags): Ignore SocketFlags.Partial.
Fixes bug 349688.

svn path=/trunk/mono/; revision=106222

15 years agoFixes build
Marek Safar [Thu, 19 Jun 2008 15:12:37 +0000 (15:12 -0000)]
Fixes build

svn path=/trunk/mcs/; revision=106219

15 years agoFix thinko in ChangeLog
Dick Porter [Thu, 19 Jun 2008 14:58:06 +0000 (14:58 -0000)]
Fix thinko in ChangeLog

svn path=/trunk/mcs/; revision=106218

15 years ago2008-06-19 Dick Porter <dick@ximian.com>
Dick Porter [Thu, 19 Jun 2008 14:56:31 +0000 (14:56 -0000)]
2008-06-19  Dick Porter  <dick@ximian.com>

* Process.cs: Match the buffer sizes of StreamWriter and
MonoSyncFileStream for redirected stdout and stderr.  Fixes bug
401225.

svn path=/trunk/mcs/; revision=106217

15 years agoNew tests + update
Marek Safar [Thu, 19 Jun 2008 14:37:04 +0000 (14:37 -0000)]
New tests + update

svn path=/trunk/mcs/; revision=106216

15 years agoMessage update
Marek Safar [Thu, 19 Jun 2008 14:36:42 +0000 (14:36 -0000)]
Message update

svn path=/trunk/mcs/; revision=106215

15 years ago2008-06-19 Marek Safar <marek.safar@gmail.com>
Marek Safar [Thu, 19 Jun 2008 14:36:09 +0000 (14:36 -0000)]
2008-06-19  Marek Safar  <marek.safar@gmail.com>

* typemanager.cs, lambda.cs, parameter.cs, ecore.cs, linq.cs, class.cs
delegate.cs, iterators.cs, cs-parser.jay, assign.cs, anonymous.cs, driver.cs
expression.cs, codegen.cs, statement.cs

Fixes bugs: TBD

** Anonymous methods, lambda expressions rewrite **

Anonymous expressions are now resolved when an explicit block is resolved
and they don't require any registration procedure anymore. Further,
anonymous methods are defined when explicit block is emitted which allows
better control of whole process and opens possibilities for more
optimizations as well as alternative to reverse whole process.

A concept of `MutateHoistedGenericType' was introduced to keep the resolve
process consistent and to correctly emit hoisted generic methods when they
have at least 1 hoisted variable.

svn path=/trunk/mcs/; revision=106214

15 years ago2008-06-19 Jb Evain <jbevain@novell.com>
Jb Evain [Thu, 19 Jun 2008 14:26:12 +0000 (14:26 -0000)]
2008-06-19  Jb Evain  <jbevain@novell.com>

* ConfigurationPermissionAttribute.cs (CreatePermission): implement.

svn path=/trunk/mcs/; revision=106210

15 years agofix namespace
Jb Evain [Thu, 19 Jun 2008 13:58:01 +0000 (13:58 -0000)]
fix namespace

svn path=/trunk/mcs/; revision=106208

15 years ago2008-06-19 Marek Safar <marek.safar@gmail.com>
Marek Safar [Thu, 19 Jun 2008 11:53:34 +0000 (11:53 -0000)]
2008-06-19  Marek Safar  <marek.safar@gmail.com>

* MonoGenericClass.cs (GetConstructor): Put back removed code due to obscure
System.Reflection.MonoGenericCMethod.

svn path=/trunk/mcs/; revision=106199

15 years ago2008-06-19 Dick Porter <dick@ximian.com>
Dick Porter [Thu, 19 Jun 2008 11:50:42 +0000 (11:50 -0000)]
2008-06-19  Dick Porter  <dick@ximian.com>

* Socket.cs: Implement generic Send() and Receive() methods.
Fixes bug 395168.

2008-06-19  Dick Porter  <dick@ximian.com>

* SocketTest.cs: Tests for generic Send() and Receive() methods.

svn path=/trunk/mcs/; revision=106198

15 years ago2008-06-19 Dick Porter <dick@ximian.com>
Dick Porter [Thu, 19 Jun 2008 11:49:59 +0000 (11:49 -0000)]
2008-06-19  Dick Porter  <dick@ximian.com>

* socket-io.c:
* icall-def.h: Implement Socket generic Send() and Receive()
methods.  Fixes bug 395168.

2008-06-19  Dick Porter  <dick@ximian.com>

* sockets.c: Implement WSASend() and WSAReceive().

svn path=/trunk/mono/; revision=106197

15 years ago2008-06-18 Robert Jordan <robertj@gmx.net>
Robert Jordan [Thu, 19 Jun 2008 10:38:23 +0000 (10:38 -0000)]
2008-06-18  Robert Jordan  <robertj@gmx.net>

* TcpMessageIO.cs: Handle zero length streams. Fixes #398783.

svn path=/trunk/mcs/; revision=106194

15 years agowording
Robert Jordan [Thu, 19 Jun 2008 09:05:01 +0000 (09:05 -0000)]
wording

svn path=/trunk/mcs/; revision=106190

15 years ago2008-06-18 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 19 Jun 2008 08:57:56 +0000 (08:57 -0000)]
2008-06-18  Atsushi Enomoto  <atsushi@ximian.com>

* DataTableTest.cs : do not just copy [Ignore]d tests from DataSet
  without [Ignore]. They won't pass.
  Also, what is that TARGET_JVM use? It looks inconsistent.

svn path=/trunk/mcs/; revision=106189

15 years agoIn System.IO:
Robert Jordan [Thu, 19 Jun 2008 08:30:45 +0000 (08:30 -0000)]
In System.IO:
2008-05-29  Robert Jordan  <robertj@gmx.net>

* Path.cs (InsecureGetFullPath): Call CanonicalizePath for
UNC paths as well.
* Path.cs (GetServerAndShare): New helper method.
* Path.cs (SameRoot, CanonicalizePath): Add UNC support.
Fixes #394681 and a bunch of TestGetFullPath unit cases.
All changes are Win32 related.

In Test/System.IO:
2008-05-29  Robert Jordan  <robertj@gmx.net>

* PathTest.cs (TestGetFullPathUnix, TestGetFullPathWindows):
Factored out from the disabled TestGetFullPath test while fixing
the issues mentioned by the ERROR comment and bug #394681.

svn path=/trunk/mcs/; revision=106188

15 years agoMake UnloadAppDomain not supported only under TARGET_JVM (bug 10640)
Roei Erez [Thu, 19 Jun 2008 07:44:20 +0000 (07:44 -0000)]
Make UnloadAppDomain not supported only under TARGET_JVM (bug 10640)

svn path=/trunk/mcs/; revision=106186

15 years agoImplement Marshal.GetHINSTANCE.
Kornél Pál [Thu, 19 Jun 2008 07:29:53 +0000 (07:29 -0000)]
Implement Marshal.GetHINSTANCE.

svn path=/trunk/mcs/; revision=106185

15 years agoImplement Marshal.GetHINSTANCE. Contributed under MIT/X11 license.
Kornél Pál [Thu, 19 Jun 2008 07:29:05 +0000 (07:29 -0000)]
Implement Marshal.GetHINSTANCE.  Contributed under MIT/X11 license.

svn path=/trunk/mono/; revision=106184

15 years ago2008-06-19 George Giolfan <georgegiolfan@yahoo.com>
George Giolfan [Thu, 19 Jun 2008 00:05:24 +0000 (00:05 -0000)]
2008-06-19  George Giolfan  <georgegiolfan@yahoo.com>

* GtkPlus.cs: Initialize now catches DllNotFoundException from both GTK+
calls.

svn path=/trunk/mcs/; revision=106178

15 years ago2008-06-19 Andy Hume <andyhume32 at yahoo dot co dot uk>
Ivan Zlatev [Wed, 18 Jun 2008 23:21:13 +0000 (23:21 -0000)]
2008-06-19  Andy Hume <andyhume32 at yahoo dot co dot uk>

        * ComboBox.cs, ListControl.cs, Control.cs, Button.cs,
ButtonBase.cs:
Add Category attributes.
Code is contributed under the MIT/X11 license.

svn path=/trunk/mcs/; revision=106177

15 years agosvn path=/trunk/mono/; revision=106175
Martin Baulig [Wed, 18 Jun 2008 23:08:08 +0000 (23:08 -0000)]
svn path=/trunk/mono/; revision=106175

15 years ago2008-06-18 Ivan N. Zlatev <contact@i-nz.net>
Ivan Zlatev [Wed, 18 Jun 2008 22:57:38 +0000 (22:57 -0000)]
2008-06-18  Ivan N. Zlatev  <contact@i-nz.net>

* ExtenderService.cs: Do not throw a NRE.

svn path=/trunk/mcs/; revision=106174

15 years ago2008-06-18 Ivan N. Zlatev <contact@i-nz.net>
Ivan Zlatev [Wed, 18 Jun 2008 22:43:03 +0000 (22:43 -0000)]
2008-06-18  Ivan N. Zlatev  <contact@i-nz.net>

* Form.cs:
 - Fix a NRE when unparenting a form.
 - Do not recreate or destroy a parented form when
unparenting.

svn path=/trunk/mcs/; revision=106173

15 years ago2008-06-18 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Wed, 18 Jun 2008 21:02:20 +0000 (21:02 -0000)]
2008-06-18  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* TextBox.cs: Implement basic support for AutComplete with custom
sources.

svn path=/trunk/mcs/; revision=106166

15 years ago2008-06-18 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Wed, 18 Jun 2008 20:54:38 +0000 (20:54 -0000)]
2008-06-18 Rodrigo Kumpera  <rkumpera@novell.com>

* TypeBuilderTest.cs: Fixed previous tests to follow the suite convention.
Added tests for bugs #349194 and #400643.

svn path=/trunk/mcs/; revision=106165

15 years ago2008-06-18 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Wed, 18 Jun 2008 20:53:09 +0000 (20:53 -0000)]
2008-06-18 Rodrigo Kumpera <rkumpera@novell.com>

* TypeBuilder.cs (IsAssignableTo): Fixed check for interfaces
defined on parent. Based on Geoff's Norton patch.
Fixes #349194.

svn path=/trunk/mcs/; revision=106164

15 years agoTry to fix this mess, catch non 'linux-gnu' versions
Miguel de Icaza [Wed, 18 Jun 2008 20:41:38 +0000 (20:41 -0000)]
Try to fix this mess, catch non 'linux-gnu' versions

svn path=/trunk/mono/; revision=106163

15 years ago2008-06-18 Ivan N. Zlatev <contact@i-nz.net>
Ivan Zlatev [Wed, 18 Jun 2008 20:01:23 +0000 (20:01 -0000)]
2008-06-18  Ivan N. Zlatev  <contact@i-nz.net>

* SelectionService.cs: Handle removal of the root component
properly.

svn path=/trunk/mcs/; revision=106157

15 years ago2008-06-18 Nestor Salceda <nestor.salceda@gmail.com>
Néstor Salceda [Wed, 18 Jun 2008 19:27:00 +0000 (19:27 -0000)]
2008-06-18  Nestor Salceda  <nestor.salceda@gmail.com>

* XUtil.cs: Support XText in Clone (). Fixes bug #401325.

svn path=/trunk/mcs/; revision=106152

15 years ago2008-06-12 Nestor Salceda <nestor.salceda@gmail.com>
Néstor Salceda [Wed, 18 Jun 2008 19:26:13 +0000 (19:26 -0000)]
2008-06-12  Nestor Salceda  <nestor.salceda@gmail.com>

* XTextTest.cs: added test for bug #401325.

svn path=/trunk/mcs/; revision=106151

15 years ago* Thread.cs: Implement BeginThreadAffinity and EndThreadAffinity as no-op because...
Kornél Pál [Wed, 18 Jun 2008 18:15:24 +0000 (18:15 -0000)]
* Thread.cs: Implement BeginThreadAffinity and EndThreadAffinity as no-op because managed and native threads are currently bound together.

svn path=/trunk/mcs/; revision=106145

15 years ago2008-06-18 Ivan N. Zlatev <contact@i-nz.net>
Ivan Zlatev [Wed, 18 Jun 2008 18:08:22 +0000 (18:08 -0000)]
2008-06-18  Ivan N. Zlatev  <contact@i-nz.net>

* ServiceContainer.cs: Lazy initialize the services hashtable so that
we handle disposed state on 2.0 nicely.

svn path=/trunk/mcs/; revision=106142

15 years ago2008-06-18 Martin Baulig <martin@ximian.com>
Martin Baulig [Wed, 18 Jun 2008 18:05:38 +0000 (18:05 -0000)]
2008-06-18  Martin Baulig  <martin@ximian.com>

* mono-debug.c
(mono_debug_debugger_version): Bump to 4.

svn path=/trunk/mono/; revision=106140

15 years ago2008-06-18 Martin Baulig <martin@ximian.com>
Martin Baulig [Wed, 18 Jun 2008 18:03:56 +0000 (18:03 -0000)]
2008-06-18  Martin Baulig  <martin@ximian.com>

* debug-debugger.h (MonoDebuggerInfo): Replaced `version' with
`major_version' and `minor_version'.

svn path=/trunk/mono/; revision=106139

15 years ago2008-06-18 Martin Baulig <martin@ximian.com>
Martin Baulig [Wed, 18 Jun 2008 18:03:23 +0000 (18:03 -0000)]
2008-06-18  Martin Baulig  <martin@ximian.com>

* mono-debug.h (MONO_DEBUGGER_VERSION): Split into
`MONO_DEBUGGER_MAJOR_VERSION' and `MONO_DEBUGGER_MINOR_VERSION';
set to 80.0.  The debugger <-> runtime interface is now frozen as
well.

svn path=/trunk/mono/; revision=106138

15 years ago2008-06-18 Martin Baulig <martin@ximian.com>
Martin Baulig [Wed, 18 Jun 2008 17:56:01 +0000 (17:56 -0000)]
2008-06-18  Martin Baulig  <martin@ximian.com>

* debug-mono-symfile.c
(load_symfile): Don't check the minor version.

svn path=/trunk/mono/; revision=106135

15 years ago2008-06-18 Martin Baulig <martin@ximian.com>
Martin Baulig [Wed, 18 Jun 2008 17:48:58 +0000 (17:48 -0000)]
2008-06-18  Martin Baulig  <martin@ximian.com>

* debug-mono-symfile.h: Bump the version number to 50.0.

svn path=/trunk/mono/; revision=106132

15 years ago2008-06-18 Martin Baulig <martin@ximian.com>
Martin Baulig [Wed, 18 Jun 2008 17:48:11 +0000 (17:48 -0000)]
2008-06-18  Martin Baulig  <martin@ximian.com>

* MonoSymbolTable.cs
(OffsetTable): Bump version to 50.0.

svn path=/trunk/mcs/; revision=106131

15 years ago2008-06-18 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Wed, 18 Jun 2008 17:22:55 +0000 (17:22 -0000)]
2008-06-18  Rodrigo Kumpera  <rkumpera@novell.com>

* InotifyWatcher.cs: patch from Juraj Skripsky to fix
rename events (fixes bug #359181).

svn path=/trunk/mcs/; revision=106129