mono.git
16 years ago2007-11-16 Marek Safar <marek.safar@gmail.com>
Marek Safar [Fri, 16 Nov 2007 10:01:27 +0000 (10:01 -0000)]
2007-11-16  Marek Safar  <marek.safar@gmail.com>

  * gcs-parser.jay: Added nullable and default expression feature checks.

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

16 years agoNew tests + update
Marek Safar [Fri, 16 Nov 2007 09:20:42 +0000 (09:20 -0000)]
New tests + update

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

16 years ago2007-11-16 Marek Safar <marek.safar@gmail.com>
Marek Safar [Fri, 16 Nov 2007 09:19:48 +0000 (09:19 -0000)]
2007-11-16  Marek Safar  <marek.safar@gmail.com>

  * gcs-parser.jay, cs-parser.jay, class.cs: Unified parameters parsing,
  it fixes many TODOs and hidden bugs.

  * expression: Removed duplicate error check.

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

16 years ago2007-11-16 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Fri, 16 Nov 2007 08:50:38 +0000 (08:50 -0000)]
2007-11-16  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* ListView.cs: Implement 2.0 FindNearestItem methods.

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

16 years ago2007-11-15 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
Francisco Figueiredo Jr. [Thu, 15 Nov 2007 23:42:28 +0000 (23:42 -0000)]
2007-11-15  Francisco Figueiredo Jr.  <fxjrlists@yahoo.com.br>
*Npgsql/NpgsqlCommand.cs:  [#1010187] Problem with parsing parameters and "<" or ">" operator with Prepare().
 [#1010186] Thread safety problem when Parsing command text.
 Thanks Hubert FONGARNAND for patches!

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

16 years ago2007-11-16 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 15 Nov 2007 23:36:24 +0000 (23:36 -0000)]
2007-11-16  Zoltan Varga  <vargaz@gmail.com>

* Assembly.cs (GetFiles): Include the assembly itself as the first entry.

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

16 years ago2007-11-16 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 15 Nov 2007 23:01:07 +0000 (23:01 -0000)]
2007-11-16  Zoltan Varga  <vargaz@gmail.com>

* configure.in: Make --with-moonlight=yes the default.

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

16 years ago2007-11-15 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Thu, 15 Nov 2007 22:48:13 +0000 (22:48 -0000)]
2007-11-15  Jonathan Pobst  <monkey@jpobst.com>

* ToolStripPanel.cs: Make Join at least add the control to the panel,
even if the rest of what Join does isn't supported.  Add some more
support for vertical toolbars.
* ToolStripPanelRow.cs: Add some more support for vertical toolbars.
[Fixes the application breaking parts of bug #341998]

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

16 years ago2007-11-15 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Thu, 15 Nov 2007 22:42:59 +0000 (22:42 -0000)]
2007-11-15  Jonathan Pobst <monkey@jpobst.com>

* ToolStripItem.cs: When determining if we have a check/image margin,
we need to look at ShowCheckMargin as well as ShowImageMargin.

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

16 years ago2007-11-15 Geoff Norton <gnorton@novell.com>
Geoff Norton [Thu, 15 Nov 2007 22:41:34 +0000 (22:41 -0000)]
2007-11-15  Geoff Norton  <gnorton@novell.com>

        * LOADER: Reflect the renamed environment variable in the new Carbon driver.

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

16 years ago2007-11-15 Geoff Norton <gnorton@novell.com>
Geoff Norton [Thu, 15 Nov 2007 22:38:12 +0000 (22:38 -0000)]
2007-11-15  Geoff Norton  <gnorton@novell.com>

        * gdipFunctions.cs: Reflect the renamed environment variable in the new Carbon driver.
        * Graphics.cs: Remove support for the deprecated Cocoa driver until its fixed.

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

16 years ago2007-11-15 Geoff Norton <gnorton@novell.com>
Geoff Norton [Thu, 15 Nov 2007 22:36:45 +0000 (22:36 -0000)]
2007-11-15  Geoff Norton  <gnorton@novell.com>

* Commit my local branch tracking the new event handling/translation system for the
Carbon driver.  This fixes many issues with many of the event ordering issues we
were having as well as drastically improves maintainability.

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

16 years ago2007-11-15 Dick Porter <dick@ximian.com>
Dick Porter [Thu, 15 Nov 2007 22:10:53 +0000 (22:10 -0000)]
2007-11-15  Dick Porter  <dick@ximian.com>

* configure.in: Check for g_strsplit_set() and g_strv_length()

2007-11-15  Dick Porter  <dick@ximian.com>

* processes.c (load_modules): Don't bother if we don't have
g_strsplit_set() and g_strv_length().  Allows building against old
glib versions.
(EnumProcessModules): Don't miss the first module returned by
load_modules().

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

16 years ago2007-11-15 Jb Evain <jbevain@novell.com>
Jb Evain [Thu, 15 Nov 2007 22:10:14 +0000 (22:10 -0000)]
2007-11-15  Jb Evain  <jbevain@novell.com>

* LinkedList.cs: ifdef out manually the Serialization part of the
LinkedList.Enumerator. As it is a struct, the field SerializationInfo
have to be assigned in the default constructor, and the tuner cannot
remove that. Fixes #341938 for real.

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

16 years agorevert
Jb Evain [Thu, 15 Nov 2007 22:01:14 +0000 (22:01 -0000)]
revert

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

16 years ago2007-11-15 Jb Evain <jbevain@novell.com>
Jb Evain [Thu, 15 Nov 2007 20:36:46 +0000 (20:36 -0000)]
2007-11-15  Jb Evain  <jbevain@novell.com>

* LinkedList.cs: let's not have an access to the SerializationInfo
field outside of serializations methods (We need a gendarme rule). Fixes #341938.

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

16 years ago2007-11-15 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 15 Nov 2007 20:22:22 +0000 (20:22 -0000)]
2007-11-15  Atsushi Enomoto  <atsushi@ximian.com>

* Makefile : added -r:System.Data.
* t45.cs, t45.exe.expected : test for bug #323708.

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

16 years ago2007-11-15 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 15 Nov 2007 20:13:44 +0000 (20:13 -0000)]
2007-11-15  Atsushi Enomoto  <atsushi@ximian.com>

* DbProviderFactoriesConfigurationHandler.cs : Create() now takes
  parent DataSet into consideration i.e. it now merges items in
  different configurations. Fixed bug #323708.

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

16 years ago2007-11-15 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 15 Nov 2007 20:11:52 +0000 (20:11 -0000)]
2007-11-15  Atsushi Enomoto  <atsushi@ximian.com>

Part of fix for bug #323708.
* ConfigurationSection.cs : in GetRuntimeObject(), take parent
  section instance into consideration.
* SectionInformation.cs : to make it possible, GetParentSection()
  should be implemented.
* Configuration.cs : to make it possible, GetSectionInstance()
  should set parent section on its SectionInformation. It used to
  just steal parent's xml when its own xml does not exist, but
  it now blocks correct configuration retrieval.

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

16 years ago2007-11-15 Dick Porter <dick@ximian.com>
Dick Porter [Thu, 15 Nov 2007 20:03:27 +0000 (20:03 -0000)]
2007-11-15  Dick Porter  <dick@ximian.com>

* threads.c (ves_icall_System_Threading_Thread_Join_internal):
When joining a thread, it's the thread that's calling Join that
gets WaitSleepJoin state not the target.  Fixes the standalone
test case in bug 334740, and hopefully the whole bug too.

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

16 years ago2007-11-15 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 15 Nov 2007 19:56:28 +0000 (19:56 -0000)]
2007-11-15  Atsushi Enomoto  <atsushi@ximian.com>

* SectionGroupInfo.cs : remove extra StringBuilder creation.

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

16 years agoFixed Optimize for ldc_i4
Rodrigo B. de Oliveira [Thu, 15 Nov 2007 19:41:53 +0000 (19:41 -0000)]
Fixed Optimize for ldc_i4

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

16 years ago2007-11-15 Dick Porter <dick@ximian.com>
Dick Porter [Thu, 15 Nov 2007 17:13:51 +0000 (17:13 -0000)]
2007-11-15  Dick Porter  <dick@ximian.com>

* process.c: Read file version info from the files pointed at by
process modules, not the current process.  Fixes bug 315969.

Use windows typedef names in some places to fix warnings on the
windows build.

2007-11-15  Dick Porter  <dick@ximian.com>

* processes.c: Implement process module support by reading from
/proc if it's available.

* versioninfo.h:
* versioninfo.c: New functions to implement PE file version info
support.

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

16 years ago2007-11-15 Dick Porter <dick@ximian.com>
Dick Porter [Thu, 15 Nov 2007 17:13:46 +0000 (17:13 -0000)]
2007-11-15  Dick Porter  <dick@ximian.com>

* Process.cs: Pass the process handle to GetModules_internal();

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

16 years ago2007-11-12 Atsushi Enomoto <atsushi@ximian.com>
Miguel de Icaza [Thu, 15 Nov 2007 16:50:05 +0000 (16:50 -0000)]
2007-11-12  Atsushi Enomoto  <atsushi@ximian.com>

* System.dll.sources : added S.R.InteropSvcs.ComTypes types.

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

16 years ago2007-11-15 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Thu, 15 Nov 2007 16:38:57 +0000 (16:38 -0000)]
2007-11-15  Jonathan Pobst  <monkey@jpobst.com>

* KeysConverter.cs: The default values should be an array of Keys, not
strings.  Also, the array has more values for 2.0.
[Fixes bug #341851]

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

16 years ago2007-11-15 Mark Probst <mark.probst@gmail.com>
Mark Probst [Thu, 15 Nov 2007 15:05:34 +0000 (15:05 -0000)]
2007-11-15  Mark Probst  <mark.probst@gmail.com>

* mini.c, mini.h, generic-sharing.c: Functions for producing code
which extract fields out of the runtime generic context.  Full
sharing of the NEWARR opcode.

2007-11-15  Mark Probst  <mark.probst@gmail.com>

* image.c, metadata-internals.h: Added a generic_class_cache hash
to MonoImage for looking up generic classes when sharing generics.

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

16 years agoThu Nov 15 16:11:30 CET 2007 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Thu, 15 Nov 2007 14:48:14 +0000 (14:48 -0000)]
Thu Nov 15 16:11:30 CET 2007 Paolo Molaro <lupus@ximian.com>

* sgen-gc.c: warning cleanups.

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

16 years agoWarnings cleanup
Marek Safar [Thu, 15 Nov 2007 14:14:49 +0000 (14:14 -0000)]
Warnings cleanup

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

16 years ago2007-11-15 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 15 Nov 2007 13:42:27 +0000 (13:42 -0000)]
2007-11-15  Zoltan Varga  <vargaz@gmail.com>

* TypeTest.cs: Add new test for GetProperties () and virtual new properties.

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

16 years ago2007-11-15 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 15 Nov 2007 13:40:47 +0000 (13:40 -0000)]
2007-11-15  Zoltan Varga  <vargaz@gmail.com>

* icall.c (ves_icall_Type_GetPropertiesByName): Implement proper hiding of
inherited properties.

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

16 years agoThu Nov 15 14:20:21 CET 2007 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Thu, 15 Nov 2007 12:57:50 +0000 (12:57 -0000)]
Thu Nov 15 14:20:21 CET 2007 Paolo Molaro <lupus@ximian.com>

* abcremoval.c, mini.c, ssa.c, ssapre.c: updated to implement
--enable-minimal=ssa.

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

16 years ago* Typetest.cs: Added and improve tests for InvokeMember. Enabled test
Gert Driesen [Thu, 15 Nov 2007 12:11:41 +0000 (12:11 -0000)]
* Typetest.cs: Added and improve tests for InvokeMember. Enabled test
for bug #321735.
* MonoType.cs: Modified ParamName for ArgumentException to match
MS. Provide meaningful exception messages. On 2.0, throw ANE instead
of ArgumentException when args is null.

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

16 years agoWarnings cleanup
Marek Safar [Thu, 15 Nov 2007 11:51:57 +0000 (11:51 -0000)]
Warnings cleanup

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

16 years agoCompact Framework support by using Guid(string) if CF_2_0 is defined
Rodrigo B. de Oliveira [Thu, 15 Nov 2007 11:18:56 +0000 (11:18 -0000)]
Compact Framework support by using Guid(string) if CF_2_0 is defined

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

16 years agoNew test.
Marek Safar [Thu, 15 Nov 2007 11:15:20 +0000 (11:15 -0000)]
New test.

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

16 years agoNew tests.
Marek Safar [Thu, 15 Nov 2007 11:14:50 +0000 (11:14 -0000)]
New tests.

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

16 years ago2007-11-15 Marek Safar <marek.safar@gmail.com>
Marek Safar [Thu, 15 Nov 2007 11:13:50 +0000 (11:13 -0000)]
2007-11-15  Marek Safar  <marek.safar@gmail.com>

  * gcs-parser.jay, statement.cs, decl.cs, ecore.cs: Try to resolve an
  implicitly type local variable only when it is used in a declaration.

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

16 years ago2007-11-15 Marek Safar <marek.safar@gmail.com>
Marek Safar [Thu, 15 Nov 2007 10:30:24 +0000 (10:30 -0000)]
2007-11-15  Marek Safar  <marek.safar@gmail.com>

  * attribute.cs: Use CS0612 for empty strings.

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

16 years ago* MemberDescriptor.cs: Spaces to tabs, code formatting.
Gert Driesen [Thu, 15 Nov 2007 09:25:50 +0000 (09:25 -0000)]
* MemberDescriptor.cs: Spaces to tabs, code formatting.
* PropertyDescriptor.cs: When adding or removing a new handler for an
existing component, update the hashtable. In GetValueChangedHandler,
return null if component is null.
* PropertyDescriptorTests.cs: Added tests for AddValueChanged,
GetInvocationTarget, GetValueChangedHandler and RemoveValueChanged.

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

16 years ago2007-11-14 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Thu, 15 Nov 2007 01:46:53 +0000 (01:46 -0000)]
2007-11-14  Jonathan Pobst  <monkey@jpobst.com>

* Application.cs: Change ExecutablePath to use
Process.GetCurrentProcess ().MainModule.FileName instead of Assembly.GetEntryAssembly.
[Fixes bug #323552]

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

16 years ago2007-11-15 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 15 Nov 2007 00:35:33 +0000 (00:35 -0000)]
2007-11-15  Zoltan Varga  <vargaz@gmail.com>

* MonoType.cs (Invoke): Allow BindingFlags.SetField and BindingFlags.SetProperty to be specified together. Fixes #321735.

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

16 years ago2007-11-14 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Wed, 14 Nov 2007 22:49:20 +0000 (22:49 -0000)]
2007-11-14  Jonathan Pobst  <monkey@jpobst.com>

* LineTag.cs: Don't attempt to draw '\r', treat it like it doesn't exist.
When measureing CR or LF, use /u000D instead of /u0013. (Hex, not decimal.)
* TextControl.cs: Fix a case in GetLineEnding where a \n before a \r would
be ignored.  Create a new GetLineEnding that can specify which types of
line endings to look for.  On Insert, only create new lines for \n and \r\n.
[Fixes bug #324274]

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

16 years ago2007-11-14 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Wed, 14 Nov 2007 20:29:41 +0000 (20:29 -0000)]
2007-11-14  Marek Habersack  <mhabersack@novell.com>

* FileMatchingInfo.cs: if Request is present, construct MatchExact
using Request.BaseVirtualDir instead of
HttpRuntime.AppDomainAppVirtualPath, falling back to the latter if
the former is not available. Fixes bug #341703

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

16 years ago2007-11-14 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Wed, 14 Nov 2007 16:21:55 +0000 (16:21 -0000)]
2007-11-14  Miguel de Icaza  <miguel@novell.com>

* Console.cs, ConsoleDriver.cs, TermInfoDriver.cs,
TermInfoReader.cs, TermInfoNumber.cs, TermInfoStrings.cs,
CStreamReader.cs, CStreamWriter.cs, NullConsoleDriver.cs,
WindowsConsoleDriver.cs: In the 2.1 profile we do not need the
full-blown Console (the terminal-addressable console) so we shrink
it down to the basic 1.0 Console.

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

16 years ago2007-11-14 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Wed, 14 Nov 2007 15:39:54 +0000 (15:39 -0000)]
2007-11-14  Jonathan Pobst  <monkey@jpobst.com>

* TextBoxBase.cs: As we loop through each line changing the font, tell
the document that the line needs to be recalculated.  Fixes bug #341534.

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

16 years ago2007-11-14 Marek Safar <marek.safar@gmail.com>
Marek Safar [Wed, 14 Nov 2007 15:28:40 +0000 (15:28 -0000)]
2007-11-14  Marek Safar  <marek.safar@gmail.com>

* Nullable.cs: Optimized to use generic comparers.

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

16 years ago2007-11-14 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 14 Nov 2007 14:39:25 +0000 (14:39 -0000)]
2007-11-14  Zoltan Varga  <vargaz@gmail.com>

* ArrayTest.cs: Add a test for Copy () and exceptions.

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

16 years ago2007-11-14 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 14 Nov 2007 14:38:47 +0000 (14:38 -0000)]
2007-11-14  Zoltan Varga  <vargaz@gmail.com>

* Array.cs (Copy): Throw InvalidCastException in more cases.

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

16 years agoNew test.
Marek Safar [Wed, 14 Nov 2007 13:15:38 +0000 (13:15 -0000)]
New test.

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

16 years ago2007-11-14 Marek Safar <marek.safar@gmail.com>
Marek Safar [Wed, 14 Nov 2007 13:14:02 +0000 (13:14 -0000)]
2007-11-14  Marek Safar  <marek.safar@gmail.com>

  * lambda.cs, statement.cs: Contextual return may act as a statement.

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

16 years ago2007-11-14 Mark Probst <mark.probst@gmail.com>
Mark Probst [Wed, 14 Nov 2007 12:06:40 +0000 (12:06 -0000)]
2007-11-14  Mark Probst  <mark.probst@gmail.com>

* object.c, class-internals.h: Added more information to the
runtime generic context.

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

16 years agoMore test coverage.
Marek Safar [Wed, 14 Nov 2007 10:10:22 +0000 (10:10 -0000)]
More test coverage.

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

16 years ago2007-11-14 Marek Safar <marek.safar@gmail.com>
Marek Safar [Wed, 14 Nov 2007 10:06:12 +0000 (10:06 -0000)]
2007-11-14  Marek Safar  <marek.safar@gmail.com>

  A fix for a regression cause by #324222
  * class.cs: Don't report unused even when it implements an interface.

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

16 years ago2007-11-14 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Wed, 14 Nov 2007 09:16:36 +0000 (09:16 -0000)]
2007-11-14  Marek Habersack  <mhabersack@novell.com>

* SimpleWebHandlerParser.cs: expect GetTypeFromBin to be called
with a fully qualified type name and act accordingly. Fixes bug
#341456.

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

16 years ago2007-11-14 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 14 Nov 2007 08:44:22 +0000 (08:44 -0000)]
2007-11-14  Atsushi Enomoto  <atsushi@ximian.com>

* Configuration.cs : (Save) when the given file path is relative
  it failed to create directory. Fixed standalone test t25/t26.
* InternalConfigurationHost.cs : pass userLevel to create a host
  instance.

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

16 years ago2007-11-14 Atushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 14 Nov 2007 08:10:43 +0000 (08:10 -0000)]
2007-11-14  Atushi Enomoto  <atsushi@ximian.com>

* DataSetTest.cs : added test for r89307 fix (it is for XmlSerializer
  but needs to be in sys.data).
* MonkeyDataSet.cs : test support classes (generated by xsd).

* System.Data_test.dll.sources: added MonkeyDataSet.cs, test helper.

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

16 years ago2007-11-13 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 13 Nov 2007 19:39:16 +0000 (19:39 -0000)]
2007-11-13  Zoltan Varga  <vargaz@gmail.com>

* DelegateTest.cs: Add tests for virtual target methods.

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

16 years ago2007-11-13 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 13 Nov 2007 19:26:53 +0000 (19:26 -0000)]
2007-11-13  Zoltan Varga  <vargaz@gmail.com>

* mini-trampolines.c (mono_delegate_trampoline): Update after
mono_marshal_get_delegate_invoke () signature change.

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

16 years ago2007-11-13 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 13 Nov 2007 19:26:13 +0000 (19:26 -0000)]
2007-11-13  Zoltan Varga  <vargaz@gmail.com>

* marshal.c (mono_marshal_get_delegate_invoke): Take a delegate as argument
instead of just the target method. Generalize the abstract method handling to
handle any non-static method.

* icall.c (ves_icall_System_Delegate_SetMulticastInvoke): Update after
mono_marshal_get_delegate_invoke () signature change.

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

16 years ago2007-11-13 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Tue, 13 Nov 2007 17:43:21 +0000 (17:43 -0000)]
2007-11-13  Jonathan Pobst  <monkey@jpobst.com>

* DateTimePickerTest.cs: Remove a compare on seconds in a format
string so that we get a Assert.AreEqual (DateTime.Now, DateTime.Now)
failure 60x less often on the buildbots.  (I've never actually seen
the minutes be different, but the possibility is still there.)

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

16 years ago2007-11-13 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Tue, 13 Nov 2007 16:29:21 +0000 (16:29 -0000)]
2007-11-13  Jonathan Pobst  <monkey@jpobst.com>
[Another round of refactoring]
* Line.cs: Add DeleteCharacters.
* LineTag.cs: Add Delete.
* TextBoxBase.cs: Update to use new methods.
* TextControl.cs: Refactor the Delete* methods.

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

16 years ago2007-11-13 Mark Probst <mark.probst@gmail.com>
Mark Probst [Tue, 13 Nov 2007 16:16:00 +0000 (16:16 -0000)]
2007-11-13  Mark Probst  <mark.probst@gmail.com>

* mini.c: Removed the shared context in favor of the generic
sharing context.  Allocate the MonoJitInfo structure with room for
the generic sharing context if it's needed.

* mini.h: Remove MonoGenericSharingContext declaration.  It's in
domain-internals.h now.

* mini-x86.c: Pass the generic sharing context to get_call_info ().

* generic-sharing.c: Several changes for working without a shared
context and instead operating on open types instead.

2007-11-13  Mark Probst  <mark.probst@gmail.com>

* class.c, class-internals.h: Made
mono_type_get_basic_type_from_generic () public.  Fixed member
access check for shared generics.

* loader.c: Don't insert field into field cache if it's part of a
non-inflated generic class.

* domain.c, domain-internals.h: The generic sharing context is now
part of the jit info data structure.  Added two accessor
functions.

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

16 years ago2007-11-13 Igor Zelmanovich <igorz@mainsoft.com>
Igor Zelmanovich [Tue, 13 Nov 2007 15:56:35 +0000 (15:56 -0000)]
2007-11-13 Igor Zelmanovich <igorz@mainsoft.com>

* ClientScriptManager.cs:
Ensure a script resource is included once in multi form environment.

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

16 years agomemory_usage: add support for MONO_TYPE_STRING.
Robert Jordan [Tue, 13 Nov 2007 15:05:33 +0000 (15:05 -0000)]
memory_usage: add support for MONO_TYPE_STRING.

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

16 years ago2007-11-13 Everaldo Canuto <ecanuto@novell.com>
Everaldo Canuto [Tue, 13 Nov 2007 14:29:45 +0000 (14:29 -0000)]
2007-11-13  Everaldo Canuto  <ecanuto@novell.com>

* Win32DnD.cs: Implement Win32 Drop files, thank you Srikanth Madikeri for
the patch. [Fixes #324856]

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

16 years agoenable
Jb Evain [Tue, 13 Nov 2007 14:24:29 +0000 (14:24 -0000)]
enable

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

16 years agoNew test.
Marek Safar [Tue, 13 Nov 2007 14:11:01 +0000 (14:11 -0000)]
New test.

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

16 years agoNew test.
Marek Safar [Tue, 13 Nov 2007 14:09:02 +0000 (14:09 -0000)]
New test.

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

16 years ago2007-11-13 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Tue, 13 Nov 2007 14:08:57 +0000 (14:08 -0000)]
2007-11-13  Marek Habersack  <mhabersack@novell.com>

* data/config.xml: replaced the possibly conflicting default block
names with ones that are less likely to cause conflicts and
modified feature and default config entries to use the new names,
via the defaultBlockName attribute of the section element.

* Mono.MonoConfig/Section.cs: added DefaultBlockName property,
which defaults to Name if not parsed from the XML node.

* Mono.MonoConfig/FeatureNodeHandler.cs: Use the defaultBlockName
attribute when searching for the default sections.

* Mono.MonoConfig/DefaultConfigFileNodeHandler.cs:
Use the defaultBlockName attribute when searching for the default
sections.

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

16 years ago2007-11-13 Marek Safar <marek.safar@gmail.com>
Marek Safar [Tue, 13 Nov 2007 14:08:32 +0000 (14:08 -0000)]
2007-11-13  Marek Safar  <marek.safar@gmail.com>

  A fix for bug #341205
  * ecore.cs, expression.cs: Method group expression cannot do static
  method access with an instance reference check before overloading takes
  a place.

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

16 years ago2007-11-13 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 13 Nov 2007 14:04:21 +0000 (14:04 -0000)]
2007-11-13  Atsushi Enomoto  <atsushi@ximian.com>

* Makefile : in 2.0 it depends on System.Transactions.dll.

* RegistrationException.cs IPlaybackControl.cs
  RegistrationHelperTx.cs IAsyncErrorNotify.cs ITransaction.cs
  IServiceCall.cs IProcessInitControl.cs IProcessInitializer.cs
  ContextUtil.cs ServiceConfig.cs : couple of 2.0 API fixes.

* IClrObjectFactory.cs : 2.0 API fixes.

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

16 years ago2007-11-13 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 13 Nov 2007 14:01:22 +0000 (14:01 -0000)]
2007-11-13  Atsushi Enomoto  <atsushi@ximian.com>

* Makefile: In 2.0 System.EnterpriseServices.dll depends on
  System.Transactions.dll.

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

16 years ago2007-11-13 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 13 Nov 2007 13:31:02 +0000 (13:31 -0000)]
2007-11-13  Atsushi Enomoto  <atsushi@ximian.com>

* ToolboxItemCreator.cs, ToolboxService.cs, ToolboxItemContainer.cs:
  couple of 2.0 API fixes.

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

16 years ago2007-11-13 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 13 Nov 2007 13:06:19 +0000 (13:06 -0000)]
2007-11-13  Atsushi Enomoto  <atsushi@ximian.com>

* DelegatingConfigHost.cs: 2.0 API fix.

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

16 years ago2007-11-13 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 13 Nov 2007 11:51:37 +0000 (11:51 -0000)]
2007-11-13  Atsushi Enomoto  <atsushi@ximian.com>

* Process.cs : ... and it exposed some missing attributes.

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

16 years ago2007-11-13 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 13 Nov 2007 11:40:41 +0000 (11:40 -0000)]
2007-11-13  Atsushi Enomoto  <atsushi@ximian.com>

* XmlDsigExcC14NTransform.cs : removed extra [ComVisible].

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

16 years ago2007-11-13 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Tue, 13 Nov 2007 11:17:25 +0000 (11:17 -0000)]
2007-11-13  Marek Habersack  <mhabersack@novell.com>

* mconfig.cs: better error handling. Print inner exception
message, if any, in addition to the outer one.

* Mono.MonoConfig/Configuration.cs: do not ignore XmlException
when loading configuration files.

* Mono.MonoConfig/DefaultConfigFileNodeHandler.cs: use
DefaultConfigFile.FileName when writing a file or invoking the
OnOverwriteFile event handler.

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

16 years ago2007-11-13 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 13 Nov 2007 10:33:27 +0000 (10:33 -0000)]
2007-11-13  Atsushi Enomoto  <atsushi@ximian.com>

* GraphicsPath.cs : AddBeziers(Point[]) arg is "params" in 2.0.

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

16 years ago2007-11-13 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 13 Nov 2007 10:21:58 +0000 (10:21 -0000)]
2007-11-13  Atsushi Enomoto  <atsushi@ximian.com>

* SmtpNetworkElement.cs, SmtpSection.cs : added missing 2,0 stuff.

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

16 years ago2007-11-13 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 13 Nov 2007 10:13:32 +0000 (10:13 -0000)]
2007-11-13  Atsushi Enomoto  <atsushi@ximian.com>

* HttpRequestCachePolicy.cs
  HttpCacheAgeControl.cs
  HttpRequestCacheLevel.cs
  RequestCacheLevel.cs : fixed enum value binary compat to .net.

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

16 years ago2007-11-13 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 13 Nov 2007 10:11:45 +0000 (10:11 -0000)]
2007-11-13  Atsushi Enomoto  <atsushi@ximian.com>

* NetworkStream.cs : in 2.0 Close() is not needed and does not exist.

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

16 years ago2007-11-13 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 13 Nov 2007 10:06:27 +0000 (10:06 -0000)]
2007-11-13  Atsushi Enomoto  <atsushi@ximian.com>

* WebRequest.cs : added missing ImpersonationLevel (NIE).
* SecurityProtocolType.cs : not [Serializable] in 2.0.
* ServicePoint.cs : no GetHashCode() in 2.0.
* WebRequestMethods.cs : fixed wrong STOU.
* FileWebResponse.cs : no Dispose(true) in 2.0 API.

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

16 years agoNew test.
Marek Safar [Tue, 13 Nov 2007 09:46:42 +0000 (09:46 -0000)]
New test.

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

16 years agoMore tests.
Marek Safar [Tue, 13 Nov 2007 09:46:31 +0000 (09:46 -0000)]
More tests.

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

16 years ago2007-11-13 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 13 Nov 2007 09:46:19 +0000 (09:46 -0000)]
2007-11-13  Atsushi Enomoto  <atsushi@ximian.com>

* SerialPort.cs :
  Added [DefaultValue]. For PortName it is useless though.
  Do not use ObsoleteAttribute for MonoTODO role.

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

16 years ago2007-11-13 Marek Safar <marek.safar@gmail.com>
Marek Safar [Tue, 13 Nov 2007 09:46:13 +0000 (09:46 -0000)]
2007-11-13  Marek Safar  <marek.safar@gmail.com>

  A fix for bug #325359
  * class.cs: Use predictable name for automatically generated property.

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

16 years ago2007-11-13 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 13 Nov 2007 09:45:56 +0000 (09:45 -0000)]
2007-11-13  Atsushi Enomoto  <atsushi@ximian.com>

* Process.cs : oops, SessionId was int.

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

16 years agooops.
Atsushi Eno [Tue, 13 Nov 2007 09:37:43 +0000 (09:37 -0000)]
oops.

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

16 years ago2007-11-13 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 13 Nov 2007 09:29:03 +0000 (09:29 -0000)]
2007-11-13  Atsushi Enomoto  <atsushi@ximian.com>

* Process.cs : added missing SessionId (NIE).

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

16 years ago2007-11-13 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 13 Nov 2007 09:25:55 +0000 (09:25 -0000)]
2007-11-13  Atsushi Enomoto  <atsushi@ximian.com>

* ConfigXmlDocument.cs : corcompare cleanup.

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

16 years ago2007-11-13 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 13 Nov 2007 09:25:35 +0000 (09:25 -0000)]
2007-11-13  Atsushi Enomoto  <atsushi@ximian.com>

* ResolveNameEventHandler.cs, RootDesignerSerializerAttribute.cs,
  DesignerLoader.cs, SerializationStore.cs : couple of 2.0 API fixes.

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

16 years ago2007-11-13 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 13 Nov 2007 08:58:57 +0000 (08:58 -0000)]
2007-11-13  Atsushi Enomoto  <atsushi@ximian.com>

* AssemblyName.cs : remove extraneous MonoTODO.

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

16 years ago2007-11-13 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 13 Nov 2007 08:41:21 +0000 (08:41 -0000)]
2007-11-13  Atsushi Enomoto  <atsushi@ximian.com>

* ExceptionHandlingClause.cs : implemented ToString().

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

16 years ago2007-11-13 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 13 Nov 2007 05:33:28 +0000 (05:33 -0000)]
2007-11-13  Atsushi Enomoto  <atsushi@ximian.com>

* MethodBase.cs : (Invoke) removed extra interface implementation.

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

16 years ago2007-11-13 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 13 Nov 2007 05:24:26 +0000 (05:24 -0000)]
2007-11-13  Atsushi Enomoto  <atsushi@ximian.com>

* StrongNameKeyPair.cs : implemented 2.0 runtime serialization stuff.

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

16 years ago2007-11-13 Jb Evain <jbevain@novell.com>
Jb Evain [Tue, 13 Nov 2007 00:55:13 +0000 (00:55 -0000)]
2007-11-13  Jb Evain  <jbevain@novell.com>

* Enumerable.cs: make the new unit tests pass.

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

16 years ago2007-11-13 Jb Evain <jbevain@novell.com>
Jb Evain [Tue, 13 Nov 2007 00:54:47 +0000 (00:54 -0000)]
2007-11-13  Jb Evain  <jbevain@novell.com>

* EnumerableTest.cs: unit tests are good.

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

16 years agoclean
Jb Evain [Tue, 13 Nov 2007 00:53:18 +0000 (00:53 -0000)]
clean

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

16 years ago2007-11-12 David S. Miller <davem@davemloft.net>
Zoltan Varga [Mon, 12 Nov 2007 23:38:46 +0000 (23:38 -0000)]
2007-11-12  David S. Miller  <davem@davemloft.net>

       * inssel-sparc.brg: Fix double instruction emit.

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