mono.git
16 years agoNew tests + update
Marek Safar [Fri, 12 Oct 2007 17:11:00 +0000 (17:11 -0000)]
New tests + update

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

16 years ago2007-10-12 Marek Safar <marek.safar@gmail.com>
Marek Safar [Fri, 12 Oct 2007 17:08:45 +0000 (17:08 -0000)]
2007-10-12  Marek Safar  <marek.safar@gmail.com>

* ecore.cs, anonymous.cs (MethodGroupExpr): Use score from type
inference to identify best candidate method correctly.
(ProperyExpr): A range variable is read only and cannot be modified.

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

16 years ago2007-10-12 Marek Safar <marek.safar@gmail.com>
Marek Safar [Fri, 12 Oct 2007 17:08:20 +0000 (17:08 -0000)]
2007-10-12  Marek Safar  <marek.safar@gmail.com>

* generics.cs: Implemented basic type inference scoring mechanism.

* linq.cs (QueryExpressionInvocation): Try to identify and report which
query section is wrong.

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

16 years ago2007-10-12 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Fri, 12 Oct 2007 16:33:50 +0000 (16:33 -0000)]
2007-10-12  Jonathan Pobst  <monkey@jpobst.com>

* Line.cs, LineTag.cs: Guard against an exception when Document.Clear
is called.

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

16 years agoFri Oct 12 17:50:11 CEST 2007 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Fri, 12 Oct 2007 15:34:45 +0000 (15:34 -0000)]
Fri Oct 12 17:50:11 CEST 2007 Paolo Molaro <lupus@ximian.com>

* marshal.c: deal with a possible race condition during multicast
delegate invocation.

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

16 years ago2007-10-12 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Fri, 12 Oct 2007 14:29:06 +0000 (14:29 -0000)]
2007-10-12  Jonathan Pobst  <monkey@jpobst.com>

* Line.cs: Add a method that finds the tag that contains an x-coord.
* LineTag.cs: Add a method that finds the character at an x-coord using
a binary search, the old way was a linear search.
* TextControl.cs: Change FindCursor to use the above new methods.

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

16 years agoLimit the check to instance methods.
Paolo Molaro [Fri, 12 Oct 2007 11:20:36 +0000 (11:20 -0000)]
Limit the check to instance methods.

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

16 years agoTest case for synchronied methods in value types.
Paolo Molaro [Fri, 12 Oct 2007 11:16:28 +0000 (11:16 -0000)]
Test case for synchronied methods in value types.

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

16 years agoFri Oct 12 13:31:11 CEST 2007 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Fri, 12 Oct 2007 11:15:44 +0000 (11:15 -0000)]
Fri Oct 12 13:31:11 CEST 2007 Paolo Molaro <lupus@ximian.com>

* class.c: ensure value type methods don't have the synchronized
flag set.

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

16 years ago2007-10-12 Nagappan A <anagappan@novell.com>
Nagappan Alagappan [Fri, 12 Oct 2007 08:29:44 +0000 (08:29 -0000)]
2007-10-12  Nagappan A  <anagappan@novell.com>

* OdbcDataReaderTest.cs (Bug332400Test): Bug 332400 - ODBC and
  LONGBLOB columns. Thanks to Ernesto Carrea
  <equistango@gmail.com> for the patch and the test case.

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

16 years ago* OdbcDataReader.cs: Bug 332400 - ODBC and LONGBLOB columns. Thanks to
Nagappan Alagappan [Fri, 12 Oct 2007 08:24:22 +0000 (08:24 -0000)]
* OdbcDataReader.cs: Bug 332400 - ODBC and LONGBLOB columns. Thanks to
  Ernesto Carrea <equistango@gmail.com> for the patch and the test
  case.

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

16 years agoFri Oct 12 08:11:50 CEST 2007 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Fri, 12 Oct 2007 06:07:23 +0000 (06:07 -0000)]
Fri Oct 12 08:11:50 CEST 2007 Paolo Molaro <lupus@ximian.com>

* String.cs: reverted unapproved patch that breaks the build.

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

16 years agoFri Oct 12 08:10:59 CEST 2007 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Fri, 12 Oct 2007 06:07:20 +0000 (06:07 -0000)]
Fri Oct 12 08:10:59 CEST 2007 Paolo Molaro <lupus@ximian.com>

* string-icalls.c, string-icalls.h: reverted unapproved patch that
breaks the build.

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

16 years agoString.Split(char[],int,StringSplitOptions) should remove empty entries while
Joel Reed [Fri, 12 Oct 2007 03:08:38 +0000 (03:08 -0000)]
String.Split(char[],int,StringSplitOptions) should remove empty entries while
the string is being split and always return the maximum number of elements possible

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

16 years agomodify System_String_InternalSplit to take an options parameter so that empty entries
Joel Reed [Fri, 12 Oct 2007 03:04:30 +0000 (03:04 -0000)]
modify System_String_InternalSplit to take an options parameter so that empty entries
can be removed during the split procedure.

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

16 years ago2007-10-11 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Thu, 11 Oct 2007 21:45:41 +0000 (21:45 -0000)]
2007-10-11  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* DragEventArgs.cs: Allow Effect to have a non allowed value (a
value different than AllowedEffect). This should be possible to
indicate that dragging is not possible in some control/area.

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

16 years ago2007-10-11 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Thu, 11 Oct 2007 21:43:29 +0000 (21:43 -0000)]
2007-10-11  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* System.Windows.Forms_test.dll.sources: Added DragEventArgsTest.cs.

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

16 years ago2007-10-11 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Thu, 11 Oct 2007 21:42:02 +0000 (21:42 -0000)]
2007-10-11  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* DragEventArgsTest.cs: New file.

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

16 years agoThu Oct 11 20:16:58 CEST 2007 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Thu, 11 Oct 2007 18:04:02 +0000 (18:04 -0000)]
Thu Oct 11 20:16:58 CEST 2007 Paolo Molaro <lupus@ximian.com>

* marshal.c: make sure we don't store the signature from a dynamic
method into the runtime invoke cache (bug #327189).

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

16 years ago2007-10-11 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Thu, 11 Oct 2007 17:16:32 +0000 (17:16 -0000)]
2007-10-11  Jonathan Pobst  <monkey@jpobst.com>

* LineTag.cs: Encapsulate all variables with properties.  Calculate ascent/
descent internally when font changes instead of outside code being responsible
for setting it.
* Line.cs, RichTextBox.cs, TextBoxBase.cs, TextControl.cs: Use Tag properties
instead of accessing internal variables.

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

16 years agoNew tests + update
Marek Safar [Thu, 11 Oct 2007 17:11:37 +0000 (17:11 -0000)]
New tests + update

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

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

* generics.cs (InferTypeArguments): Removed redundant check.

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

16 years ago2007-10-11 Marek Safar <marek.safar@gmail.com>
Marek Safar [Thu, 11 Oct 2007 17:09:58 +0000 (17:09 -0000)]
2007-10-11  Marek Safar  <marek.safar@gmail.com>

* ecore.cs, delegate.cs (MethodGroupExpr): Refactored best candidate
logic to identify best candidate method correctly.

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

16 years agoThu Oct 11 18:22:31 CEST 2007 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Thu, 11 Oct 2007 16:07:10 +0000 (16:07 -0000)]
Thu Oct 11 18:22:31 CEST 2007 Paolo Molaro <lupus@ximian.com>

* marshal.c: make sure the wrapper methods are properly initialized.

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

16 years agoThu Oct 11 18:04:29 CEST 2007 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Thu, 11 Oct 2007 15:50:51 +0000 (15:50 -0000)]
Thu Oct 11 18:04:29 CEST 2007 Paolo Molaro <lupus@ximian.com>

* exceptions-x86.c: provide more graceful handling of the case where
we followed a bogus function pointer from managed code (bug #332866).

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

16 years ago2007-10-11 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Thu, 11 Oct 2007 14:18:36 +0000 (14:18 -0000)]
2007-10-11  Jonathan Pobst  <monkey@jpobst.com>

* TableLayout.cs: When calculating the size of AutoSize row/columns,
don't take !Visible controls into account.  When laying out controls,
start from the DisplayRectangle instead of (0,0) to account for
a scrolled TableLayoutPanel where the start point is negative.
[Fixes bug #332892]

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

16 years ago2007-10-11 Marek Safar <marek.safar@gmail.com>
Marek Safar [Thu, 11 Oct 2007 12:49:11 +0000 (12:49 -0000)]
2007-10-11  Marek Safar  <marek.safar@gmail.com>

* location.cs (Equals, GetHashCode): Removed.

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

16 years ago2007-10-11 Mark Probst <mark.probst@gmail.com>
Mark Probst [Thu, 11 Oct 2007 12:19:00 +0000 (12:19 -0000)]
2007-10-11  Mark Probst  <mark.probst@gmail.com>

* metadata.c, metadata-internals.h: Generalized
mono_type_stack_size() to mono_type_stack_size_internal() which
takes an additional argument specifying whether it allows open
types.

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

* mini.h, mini.c: Introduced the MonoGenericSharingContext, which
replaces the generic_shared flag and will carry more information
in the future.

* generic-sharing.c: Added mini_type_stack_size() which allows
allows open types if given a generic sharing context.
mini_get_basic_type_from_generic() takes a
MonoGenericSharingContext* instead of a MonoCompile* now.

* mini-alpha.c, mini-amd64.c, mini-arm.c, mini-hppa.c,
mini-ia64.c, mini-mips.c, mini-ppc.c, mini-s390.c, mini-s390x.c,
mini-sparc.c, mini-x86.c: Trivial changes required by the two
changes above.  Just passing arguments through to the right
places.

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

16 years ago2007-10-11 Jb Evain <jbevain@novell.com>
Jb Evain [Thu, 11 Oct 2007 11:41:44 +0000 (11:41 -0000)]
2007-10-11  Jb Evain  <jbevain@novell.com>

* Mono.Cecil/TypeReference.cs: add a IsNested helper property.

* Mono.Cecil/ReflectionWriter.cs
  Mono.Cecil.Signatures/SignatureWriter.cs:
Integrate patch for Carlo, start working on enum writing
in custom attribute.

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

16 years agoNew tests + updates.
Marek Safar [Thu, 11 Oct 2007 10:24:31 +0000 (10:24 -0000)]
New tests + updates.

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

16 years ago2007-10-11 Marek Safar <marek.safar@gmail.com>
Marek Safar [Thu, 11 Oct 2007 10:22:57 +0000 (10:22 -0000)]
2007-10-11  Marek Safar  <marek.safar@gmail.com>

* cs-parser.jay: Added couple of ISO-2 checks.

* linq.cs: Report range variable error message.

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

16 years agoRemoved cs0647-17.cs
Marek Safar [Thu, 11 Oct 2007 09:45:46 +0000 (09:45 -0000)]
Removed cs0647-17.cs

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

16 years ago2007-10-11 Marek Safar <marek.safar@gmail.com>
Marek Safar [Thu, 11 Oct 2007 09:25:22 +0000 (09:25 -0000)]
2007-10-11  Marek Safar  <marek.safar@gmail.com>

* report.cs: Implemented message recorder. It is used mainly for lambda
expressions to capture otherwise swallowed error messages.

* anonymous.cs, lambda.cs.cs: Do full parameters check.

* ecore.cs (ExtensionMethodGroup): Report binding failure at the botton
and not at the top.
(MethodGroupExpr.DoResolve): Use message recorder for error handling.

* expression.cs (MemberAccess): Always report lookup failure.

* location.cs: Implemented Equals, GetHashCode.

* statement.cs (Return.DoResolve): Fixed hardcoded error argument.

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

16 years agoRemove redundant call to Type.GetType.
Roei Erez [Thu, 11 Oct 2007 07:55:19 +0000 (07:55 -0000)]
Remove redundant call to Type.GetType.

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

16 years agosvn path=/trunk/mcs/; revision=87309
Everaldo Canuto [Thu, 11 Oct 2007 04:00:52 +0000 (04:00 -0000)]
svn path=/trunk/mcs/; revision=87309

16 years ago2007-10-11 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Wed, 10 Oct 2007 23:00:10 +0000 (23:00 -0000)]
2007-10-11  Zoltan Varga  <vargaz@freemail.hu>

* mono-mmap.c (mono_vfree): Fix call to VirtualFree (). Fixes #332165.

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

16 years ago* DateTimeFormatInfoTest.cs: Added test for bug #332553.
Gert Driesen [Wed, 10 Oct 2007 19:55:32 +0000 (19:55 -0000)]
* DateTimeFormatInfoTest.cs: Added test for bug #332553.

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

16 years agoTypo.
Paolo Molaro [Wed, 10 Oct 2007 18:40:16 +0000 (18:40 -0000)]
Typo.

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

16 years agoWed Oct 10 19:44:42 CEST 2007 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Wed, 10 Oct 2007 17:29:35 +0000 (17:29 -0000)]
Wed Oct 10 19:44:42 CEST 2007 Paolo Molaro <lupus@ximian.com>

* mini-arm.c: unify the call emission to emit_code_seq().

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

16 years ago2007-10-10 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 10 Oct 2007 17:22:43 +0000 (17:22 -0000)]
2007-10-10  Atsushi Enomoto  <atsushi@ximian.com>

* XmlTextWriter2.cs : making <del>silly</del>funky MS compatibility
  change in WriteStartAttribute() to call WriteEndAttribute() if an
  attribute is open.

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

16 years ago2007-10-10 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Wed, 10 Oct 2007 15:00:25 +0000 (15:00 -0000)]
2007-10-10  Rodrigo Kumpera  <rkumpera@novell.com>

* verify.c (do_invoke_method): handle typedbyref params
correctly and check for unverifiable return values.

* verify.c (do_newobj): fix a warning.

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

16 years ago2007-10-10 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 10 Oct 2007 11:42:52 +0000 (11:42 -0000)]
2007-10-10  Atsushi Enomoto  <atsushi@ximian.com>

* XmlTextWriter2.cs : I could make previous change only in 2.0 mode.

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

16 years agoenable
Jb Evain [Wed, 10 Oct 2007 11:23:01 +0000 (11:23 -0000)]
enable

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

16 years ago2007-10-10 Jb Evain <jbevain@novell.com>
Jb Evain [Wed, 10 Oct 2007 11:22:17 +0000 (11:22 -0000)]
2007-10-10  Jb Evain  <jbevain@novell.com>

* codegen.cs: re-enable assembly version check.

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

16 years agoadd the file for real
Jb Evain [Wed, 10 Oct 2007 11:20:59 +0000 (11:20 -0000)]
add the file for real

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

16 years ago2007-10-10 Jb Evain <jbevain@novell.com>
Jb Evain [Wed, 10 Oct 2007 11:20:18 +0000 (11:20 -0000)]
2007-10-10  Jb Evain  <jbevain@novell.com>

* test-594.cs: add test for asterisk in assembly version.

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

16 years ago2007-10-10 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Wed, 10 Oct 2007 11:13:19 +0000 (11:13 -0000)]
2007-10-10  Marek Habersack  <mhabersack@novell.com>

* TemplateControlCompiler.cs: be careful when using type
converters taken from attributes attached to class members. They
may come from the System.Design namespace, which is mostly not
implemented on Mono.

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

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

* XmlTextWriter2.cs : When it is at Error state, do not try to close
  attributes and elements at Close(). They will result in further
  error and rather hide the actual issue when disposed.

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

16 years ago2007-10-10 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 10 Oct 2007 11:02:35 +0000 (11:02 -0000)]
2007-10-10  Atsushi Enomoto  <atsushi@ximian.com>

* XslCompiledTransform.cs : actually previous change was not enough.
  Added a commented-out example of debugger method usage.

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

16 years agoWed Oct 10 13:05:46 CEST 2007 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Wed, 10 Oct 2007 10:50:50 +0000 (10:50 -0000)]
Wed Oct 10 13:05:46 CEST 2007 Paolo Molaro <lupus@ximian.com>

* tramp-arm.c: reduced the trampoline size.

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

16 years ago2007-10-10 Mark Probst <mark.probst@gmail.com>
Mark Probst [Wed, 10 Oct 2007 10:32:22 +0000 (10:32 -0000)]
2007-10-10  Mark Probst  <mark.probst@gmail.com>

* generic-sharing.c, mini.h, mini-amd64.c, mini-x86.c: Moved type
variable handling out of arch-specific code.

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

16 years ago2007-10-10 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 10 Oct 2007 09:43:37 +0000 (09:43 -0000)]
2007-10-10  Atsushi Enomoto  <atsushi@ximian.com>

* XslCompiledTransform.cs : a bit more of debugging help. Now it
  stores stylesheet elements when "enableDebug" is true.

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

16 years agoWed Oct 10 10:49:28 CEST 2007 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Wed, 10 Oct 2007 08:36:16 +0000 (08:36 -0000)]
Wed Oct 10 10:49:28 CEST 2007 Paolo Molaro <lupus@ximian.com>

* mini-arm.c: implemented fast delegate dispatch.

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

16 years ago2007-10-10 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 10 Oct 2007 08:24:53 +0000 (08:24 -0000)]
2007-10-10  Atsushi Enomoto  <atsushi@ximian.com>

* Methods.cs : (SoapMethodStubInfo) reverted r74747 which caused
  bug #332150.

* ServiceDescriptionReflectorTest.cs : added test for bug #332150.

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

16 years agodisable once again
Jb Evain [Wed, 10 Oct 2007 06:42:42 +0000 (06:42 -0000)]
disable once again

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

16 years agodisable once again
Jb Evain [Wed, 10 Oct 2007 06:42:30 +0000 (06:42 -0000)]
disable once again

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

16 years ago2007-10-09 Geoff Norton <gnorton@novell.com>
Geoff Norton [Wed, 10 Oct 2007 01:19:04 +0000 (01:19 -0000)]
2007-10-09  Geoff Norton  <gnorton@novell.com>

    * carbonFunctions.cs: Correct the PInvoke definition for CGContext*CTM.

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

16 years ago2007-10-09 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Tue, 9 Oct 2007 23:59:38 +0000 (23:59 -0000)]
2007-10-09 Rodrigo Kumpera <rkumpera@novell.com>

* make_tests.sh: tests for the return type of the invoked method.
tests for passing typedbyref as param.

* make_obj_store_test.sh: add new optional script parameter to tell
if class fields should be generated. This fix some bogus tests using
typedbyref.

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

16 years ago2007-10-09 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Tue, 9 Oct 2007 22:06:49 +0000 (22:06 -0000)]
2007-10-09  Jonathan Pobst  <monkey@jpobst.com>

* TextBoxTextRenderer.cs: Draw takes a Color now instead of a Brush, as
the Win32 backend uses Color.
* Line.cs, LineTag.cs, RichTextBox.cs, TextBoxBase.cs, TextControl.cs:
Refactor to store a Color instead of a Brush for Color.

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

16 years ago2007-10-09 Jb Evain <jbevain@novell.com>
Jb Evain [Tue, 9 Oct 2007 21:22:36 +0000 (21:22 -0000)]
2007-10-09  Jb Evain  <jbevain@novell.com>

* known-issues-mcs: test asserting that assembly
version check should work now.

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

16 years ago2007-10-09 Jb Evain <jbevain@novell.com>
Jb Evain [Tue, 9 Oct 2007 21:20:58 +0000 (21:20 -0000)]
2007-10-09  Jb Evain  <jbevain@novell.com>

* codegen.cs: re-enable assembly version check.

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

16 years ago2007-10-09 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Tue, 9 Oct 2007 21:13:34 +0000 (21:13 -0000)]
2007-10-09  Jonathan Pobst  <monkey@jpobst.com>

* Line.cs, LineTag.cs: Override GetHashCode to make a compiler warning go
away.  I didn't realize I needed this when I refactored these earlier.

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

16 years ago2007-10-09 Wade Berrier <wberrier@novell.com>
Wade Berrier [Tue, 9 Oct 2007 21:11:43 +0000 (21:11 -0000)]
2007-10-09  Wade Berrier  <wberrier@novell.com>

       * configure.in: Split up the mono version that goes into Consts.cs
       to make sure each segment is no longer than 4 digits.
       This allows svn revisions to be used.

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

16 years ago2007-10-09 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Tue, 9 Oct 2007 21:08:57 +0000 (21:08 -0000)]
2007-10-09  Jonathan Pobst  <monkey@jpobst.com>

* LineTag.cs, RichTextBox.cs, TextBoxBase.cs, TextControl.cs: Refactor to
store a Color structure and use the ResPool for back color instead of
holding onto brushes.

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

16 years ago2007-10-09 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Tue, 9 Oct 2007 20:55:02 +0000 (20:55 -0000)]
2007-10-09 Rodrigo Kumpera <rkumpera@novell.com>

* make_tests.sh: unbox_byref_like test was flawed, it was not testing
the proper unverifable condition.

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

16 years ago2007-10-09 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Tue, 9 Oct 2007 20:53:38 +0000 (20:53 -0000)]
2007-10-09  Rodrigo Kumpera  <rkumpera@novell.com>

* verify.c: don't tread typedbyref as allways unverifable,
so uses, like (ld/st)loc.0 are valid. verify for the cases
that it matters, like boxing related operations.

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

16 years ago2007-10-09 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Tue, 9 Oct 2007 20:38:05 +0000 (20:38 -0000)]
2007-10-09  Rodrigo Kumpera  <rkumpera@novell.com>

* verify.c: add verification of the newobj opcode. verification
of delegate instantation still missing due ldftn and virldftn not
pushing the function type on stack

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

16 years ago2007-10-09 Nestor Salceda <nestor.salceda@gmail.com>
Néstor Salceda [Tue, 9 Oct 2007 20:37:59 +0000 (20:37 -0000)]
2007-10-09  Nestor Salceda  <nestor.salceda@gmail.com>

* mono-cecil.pc.in:  Updated the version number.

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

16 years ago2007-10-09 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 9 Oct 2007 19:57:54 +0000 (19:57 -0000)]
2007-10-09  Zoltan Varga  <vargaz@gmail.com>

* mini-amd64.c (mono_arch_compute_omit_fp): Add more checks to ensure
that fp elimination is turned off if the space required by locals is too
big. Fixes #331958.

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

16 years agoTue Oct 9 21:01:03 CEST 2007 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Tue, 9 Oct 2007 18:48:27 +0000 (18:48 -0000)]
Tue Oct 9 21:01:03 CEST 2007 Paolo Molaro <lupus@ximian.com>

* Makefile.am, mini-arm.c, mini-arm.h, tramp-arm.c: ported
ARM to the new style trampoline.

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

16 years ago2007-10-09 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Tue, 9 Oct 2007 18:36:34 +0000 (18:36 -0000)]
2007-10-09 Rodrigo Kumpera <rkumpera@novell.com>

* make_unary_test.sh: fixed an invalid struct that has no fields,
this was not the subject of the tests.
* make_newobj_test.sh: added, generate tests for newobj.
* make_tests.sh: added the new tests for newobj and some corner
cases of local/arg load/store.

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

16 years ago2007-10-09 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 9 Oct 2007 17:24:12 +0000 (17:24 -0000)]
2007-10-09  Zoltan Varga  <vargaz@gmail.com>

* tramp-amd64.c: Rework the specific trampoline code to make it smaller.

* mini-amd64.h mini-amd64.c: Export amd64_patch as mono_amd64_patch.

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

16 years ago2007-10-09 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 9 Oct 2007 16:41:51 +0000 (16:41 -0000)]
2007-10-09  Atsushi Enomoto  <atsushi@ximian.com>

In 2.0 System.Design.dll has cyclic dep on System.Drawing.Design.dll.

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

16 years ago2007-10-09 Jb Evain <jbevain@novell.com>
Jb Evain [Tue, 9 Oct 2007 16:32:30 +0000 (16:32 -0000)]
2007-10-09  Jb Evain  <jbevain@novell.com>

* Mono.Cecil.Cil/Instruction.cs
  Mono.Cecil.Cil/CodeWriter.cs:
Move CodeWriter.GetSize (Instruction) to Instruction.

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

16 years ago2007-10-09 Martin Baulig <martin@ximian.com>
Martin Baulig [Tue, 9 Oct 2007 16:21:02 +0000 (16:21 -0000)]
2007-10-09  Martin Baulig  <martin@ximian.com>

* debug-debugger.h
(MonoDebuggerMetadataInfo): Added `field_info_type_offset' and
`field_info_offset_offset'.

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

16 years ago2007-10-09 Jb Evain <jbevain@novell.com>
Jb Evain [Tue, 9 Oct 2007 16:20:37 +0000 (16:20 -0000)]
2007-10-09  Jb Evain  <jbevain@novell.com>

Integration of patches from Carlo Kok <ck@remobjects.com>:

* Mono.Cecil.Cil/Document.cs
  Mono.Cecil.Cil/DocumentType.cs
  Mono.Cecil.Cil/DocumentLanguage.cs
  Mono.Cecil.Cil/DocumentLanguageVendor.cs:
Use plain guids for Document properties so it's easy
for third party document providers to use their own.

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

16 years ago2007-10-09 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 9 Oct 2007 16:19:51 +0000 (16:19 -0000)]
2007-10-09  Atsushi Enomoto  <atsushi@ximian.com>

* BorderSidesEditor.cs, DesignerOptions.cs,
  ImageListCodeDomSerializer.cs, ImageListImageEditor.cs,
  MaskDescriptor.cs, ShortcutKeysEditor.cs,
  WindowsFormsDesignerOptionService.cs : new stubs.
* AxImporter.cs, ComponentTray.cs, ControlDesigner.cs,
  DocumentDesigner.cs, MenuCommands.cs, ParentControlDesigner.cs:
  2.0 updates.

* MenuCommandsTest.cs : new test.

* System.Design.dll.sources : more .NET 2.0 types.
* System.Design_test.dll.sources :
  added Test/Sys.Win.Forms.Design/MenuCommandsTest.cs

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

16 years ago2007-10-09 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Tue, 9 Oct 2007 16:19:37 +0000 (16:19 -0000)]
2007-10-09  Jonathan Pobst  <monkey@jpobst.com>

* TextControl.cs: Fix how we calculate the end of the tag we are drawing.
[Fixes bug #325592]

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

16 years ago2007-10-09 Jb Evain <jbevain@novell.com>
Jb Evain [Tue, 9 Oct 2007 16:04:19 +0000 (16:04 -0000)]
2007-10-09  Jb Evain  <jbevain@novell.com>

Integration of patches from Carlo Kok <ck@remobjects.com>:

* Mono.Cecil/ParameterDefinition.cs:
Clean or set the HasFieldMarshal flag when setting
MarshalSpecs on parameters.

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

16 years ago2007-10-09 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 9 Oct 2007 16:03:17 +0000 (16:03 -0000)]
2007-10-09  Atsushi Enomoto  <atsushi@ximian.com>

* TypedDataSetGeneratorException.cs : only 2.0.

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

16 years ago2007-10-09 Jb Evain <jbevain@novell.com>
Jb Evain [Tue, 9 Oct 2007 16:00:22 +0000 (16:00 -0000)]
2007-10-09  Jb Evain  <jbevain@novell.com>

Integration of patches from Carlo Kok <ck@remobjects.com>:

* Mono.Cecil/AssemblyNameReference.cs:
Protect against null culture.

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

16 years ago2007-10-09 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 9 Oct 2007 15:59:35 +0000 (15:59 -0000)]
2007-10-09  Atsushi Enomoto  <atsushi@ximian.com>

* HtmlControlDesigner.cs, WebControlToolboxItem.cs,
  ResourceExpressionEditorSheet.cs, ReadWriteControlDesigner.cs,
  UrlBuilder.cs :
  Cosmetic 2.0 API fixes. Remove meaningless TypeConverter

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

16 years ago2007-10-09 Jb Evain <jbevain@novell.com>
Jb Evain [Tue, 9 Oct 2007 15:53:46 +0000 (15:53 -0000)]
2007-10-09  Jb Evain  <jbevain@novell.com>

Integration of patches from Carlo Kok <ck@remobjects.com>:

* Mono.Cecil/FieldDefinition.cs:
Clean or set the HasFieldMarshal flag when setting
MarshalSpecs on fields.

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

16 years ago2007-10-09 Jb Evain <jbevain@novell.com>
Jb Evain [Tue, 9 Oct 2007 15:46:36 +0000 (15:46 -0000)]
2007-10-09  Jb Evain  <jbevain@novell.com>

Integration of patches from Carlo Kok <ck@remobjects.com>:

* Mono.Cecil/GenericInstanceType.cs:
Properly initialize the IsValueType from the element type.

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

16 years ago2007-10-09 Jb Evain <jbevain@novell.com>
Jb Evain [Tue, 9 Oct 2007 15:11:33 +0000 (15:11 -0000)]
2007-10-09  Jb Evain  <jbevain@novell.com>

* Mono.Cecil/ReflectionWriter.cs: check for duplicates
in the MemberRef row.

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

16 years agoavoid uncessary null check
Jb Evain [Tue, 9 Oct 2007 15:07:36 +0000 (15:07 -0000)]
avoid uncessary null check

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

16 years ago* RBTree.cs (get_Item, do_remove): Remove redundant code.
Raja R Harinath [Tue, 9 Oct 2007 14:19:17 +0000 (14:19 -0000)]
* RBTree.cs (get_Item, do_remove): Remove redundant code.

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

16 years ago2007-10-09 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Tue, 9 Oct 2007 12:51:41 +0000 (12:51 -0000)]
2007-10-09  Rodrigo Kumpera <rkumpera@novell.com>
* test-method-pointer-in-signature.il: New. Test for overloads
that use method pointers.

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

16 years ago2007-10-09 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Tue, 9 Oct 2007 12:49:55 +0000 (12:49 -0000)]
2007-10-09  Rodrigo Kumpera  <rkumpera@novell.com>

* MethodPointerTypeRef.cs (.ctor): generate
full name of the method pointer. This is required
to alow overloading with method pointers.

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

16 years agoNew test + updates.
Marek Safar [Tue, 9 Oct 2007 10:05:40 +0000 (10:05 -0000)]
New test + updates.

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

16 years ago2007-10-09 Marek Safar <marek.safar@gmail.com>
Marek Safar [Tue, 9 Oct 2007 10:04:56 +0000 (10:04 -0000)]
2007-10-09  Marek Safar  <marek.safar@gmail.com>

* cs-parser.jay: Added extension methods ISO-2 check.

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

16 years ago2007-10-09 Marek Safar <marek.safar@gmail.com>
Marek Safar [Tue, 9 Oct 2007 08:52:04 +0000 (08:52 -0000)]
2007-10-09  Marek Safar  <marek.safar@gmail.com>

* report.cs, anonymous.cs, driver.cs, expression.cs: Added few ISO-2
checks.

* namespace.cs (UsingAlias): Do correct version check.

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

16 years agoTue Oct 9 09:47:51 CEST 2007 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Tue, 9 Oct 2007 07:35:32 +0000 (07:35 -0000)]
Tue Oct 9 09:47:51 CEST 2007 Paolo Molaro <lupus@ximian.com>

* mini-ppc.c, mini-ppc.h, mini-ops.h, inssel-ppc.brg, cpu-g4.md:
removed more internal usage of the r11 register and made it available
to the register allocator.

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

16 years ago2007-10-09 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 9 Oct 2007 00:12:58 +0000 (00:12 -0000)]
2007-10-09  Zoltan Varga  <vargaz@gmail.com>

* amd64/amd64-codegen.h (amd64_jump_membase_size): Remove an unneccesary
rex prefix which trips up valgrind.

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

16 years ago2007-10-08 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Mon, 8 Oct 2007 21:59:46 +0000 (21:59 -0000)]
2007-10-08  Jonathan Pobst  <monkey@jpobst.com>

* MonthCalendar.cs: When ShowWeekNumbers is changed, force the calendar
to recalculate its size.  Fixes a part of bug #331052.

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

16 years ago2007-10-08 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Mon, 8 Oct 2007 21:06:19 +0000 (21:06 -0000)]
2007-10-08  Jonathan Pobst  <monkey@jpobst.com>

* NotifyIcon.cs: Set the correct mouse button when handling right mouse
button.  Fixes a part of bug #331052.

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

16 years agoUpdate
Miguel de Icaza [Mon, 8 Oct 2007 20:57:18 +0000 (20:57 -0000)]
Update

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

16 years ago2007-10-08 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Mon, 8 Oct 2007 20:44:58 +0000 (20:44 -0000)]
2007-10-08  Jonathan Pobst  <monkey@jpobst.com>

* Form.cs: Trim NewLine before setting XPlatUI.SetText, and when setting
the CreateParams.
* ThemeWin32Classic.cs: Trim NewLine before drawing MDI children window
decorations.
[Fixes bug #330986]

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

16 years agoMissing ChangeLog
Marek Safar [Mon, 8 Oct 2007 17:24:25 +0000 (17:24 -0000)]
Missing ChangeLog

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

16 years ago2007-10-08 Mark Probst <mark.probst@gmail.com>
Mark Probst [Mon, 8 Oct 2007 17:17:42 +0000 (17:17 -0000)]
2007-10-08  Mark Probst  <mark.probst@gmail.com>

* mini.c, mini-amd64.c, mini-x86.c: Allow open generic contexts
when sharing generics and treat type variables as references.

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