Carlos Alberto Cortez [Sat, 13 Oct 2007 01:09:57 +0000 (01:09 -0000)]
2007-10-12 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* X11Dnd.cs: When DragEventArgs.Effect is set to a value not part of
AllowedEffect, don't let the drop operation happen.
Fixes #32580.
svn path=/trunk/mcs/; revision=87432
Jonathan Pobst [Fri, 12 Oct 2007 20:43:54 +0000 (20:43 -0000)]
2007-10-12 Jonathan Pobst <monkey@jpobst.com>
* TextRenderer.cs: Use GDI on Windows in both the 1.1 and 2.0 profiles.
svn path=/trunk/mcs/; revision=87428
Marek Safar [Fri, 12 Oct 2007 17:50:24 +0000 (17:50 -0000)]
A test for bug #332442
svn path=/trunk/mcs/; revision=87413
Marek Safar [Fri, 12 Oct 2007 17:49:59 +0000 (17:49 -0000)]
2007-10-12 Marek Safar <marek.safar@gmail.com>
A fix for bug #332442 by Alexandre Gomes <alexmipego@gmail.com>
* statement.cs (Fixed): Fixed variables cloning.
svn path=/trunk/mcs/; revision=87412
Marek Safar [Fri, 12 Oct 2007 17:33:13 +0000 (17:33 -0000)]
A test for bug #333342
svn path=/trunk/mcs/; revision=87411
Marek Safar [Fri, 12 Oct 2007 17:32:51 +0000 (17:32 -0000)]
2007-10-12 Marek Safar <marek.safar@gmail.com>
A fix for bug #333342
* class.cs (EventField): Don't mark value type event as synchronized.
svn path=/trunk/mcs/; revision=87410
Marek Safar [Fri, 12 Oct 2007 17:11:00 +0000 (17:11 -0000)]
New tests + update
svn path=/trunk/mcs/; revision=87408
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Marek Safar [Thu, 11 Oct 2007 17:11:37 +0000 (17:11 -0000)]
New tests + update
svn path=/trunk/mcs/; revision=87345
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
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
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
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
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
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
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
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
Marek Safar [Thu, 11 Oct 2007 10:24:31 +0000 (10:24 -0000)]
New tests + updates.
svn path=/trunk/mcs/; revision=87328
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
Marek Safar [Thu, 11 Oct 2007 09:45:46 +0000 (09:45 -0000)]
Removed cs0647-17.cs
svn path=/trunk/mcs/; revision=87324
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
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
Everaldo Canuto [Thu, 11 Oct 2007 04:00:52 +0000 (04:00 -0000)]
svn path=/trunk/mcs/; revision=87309
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
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
Paolo Molaro [Wed, 10 Oct 2007 18:40:16 +0000 (18:40 -0000)]
Typo.
svn path=/trunk/mono/; revision=87290
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
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
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
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
Jb Evain [Wed, 10 Oct 2007 11:23:01 +0000 (11:23 -0000)]
enable
svn path=/trunk/mcs/; revision=87259
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
Jb Evain [Wed, 10 Oct 2007 11:20:59 +0000 (11:20 -0000)]
add the file for real
svn path=/trunk/mcs/; revision=87257
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
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
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
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
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
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
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
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
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
Jb Evain [Wed, 10 Oct 2007 06:42:42 +0000 (06:42 -0000)]
disable once again
svn path=/trunk/mcs/; revision=87239
Jb Evain [Wed, 10 Oct 2007 06:42:30 +0000 (06:42 -0000)]
disable once again
svn path=/trunk/mcs/; revision=87238
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Jb Evain [Tue, 9 Oct 2007 15:07:36 +0000 (15:07 -0000)]
avoid uncessary null check
svn path=/trunk/mcs/; revision=87169
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
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
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
Marek Safar [Tue, 9 Oct 2007 10:05:40 +0000 (10:05 -0000)]
New test + updates.
svn path=/trunk/mcs/; revision=87154
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
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
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
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