Lluis Sanchez [Wed, 24 Aug 2005 19:12:25 +0000 (19:12 -0000)]
2005-08-24 Lluis Sanchez Gual <lluis@novell.com>
* UnixServerChannel.cs:
* UnixClientChannel.cs: Use the internal binary formatter sink.
* UnixBinaryServerFormatterSink.cs:
* UnixBinaryClientFormatterSinkProvider.cs:
* UnixBinaryClientFormatterSink.cs:
* UnixBinaryCore.cs:
* UnixBinaryServerFormatterSinkProvider.cs: New internal formatter sink,
to avoid dependency with System.Runtime.Remoting.dll.
* UnixClientTransportSink.cs:
* UnixMessageIO.cs: Don't use CommonTransportKeys.
svn path=/trunk/mcs/; revision=48809
Zoltan Varga [Wed, 24 Aug 2005 19:10:17 +0000 (19:10 -0000)]
2005-08-24 Zoltan Varga <vargaz@gmail.com>
* configure.in: Add -lunwind to ldflags on IA64.
svn path=/trunk/mono/; revision=48808
Michael Hutchinson [Wed, 24 Aug 2005 19:00:34 +0000 (19:00 -0000)]
In System.Drawing:
2005-05-24 Michael Hutchinson <m.j.hutchinson@gmail.com>
* ToolboxBitmapAttribute.cs: Implemented retrieving the image
In System.Drawing.Design:
2005-08-24 Michael Hutchinson <m.j.hutchinson@gmail.com>
* ToolboxItem.cs: Implemented retrieving item's bitmap
svn path=/trunk/mcs/; revision=48806
Atsushi Eno [Wed, 24 Aug 2005 18:16:08 +0000 (18:16 -0000)]
2005-08-24 Atsushi Enomoto <atsushi@ximian.com>
in mcs:
* cs-parser.jay: report CS0642 at warning level 3
and report CS0642 for an if else statement also
fixes bug #74745. Patch by John Luke (and a bit
modified by me).
Removed extra CS0642 warning check for "while",
"for" and "fixed".
* statement.cs: In Block.Resolve(), CS0642 check
is reimplemented to check a sequence of an empty
statement and a block.
Both fix bug #66777.
in errors:
* known-issues-mcs : removed cs0642*.cs (working now)
* cs0642-2.cs, cs0642-3.cs, cs0642-4.cs, cs0642-5.cs, cs0642-6.cs :
filename fix.
* cs0642-7.cs, cs0642-8.cs, cs0642-9.cs :
Possible empty statement check for if&else.
* cs0642-10.cs : additional empty statement check for "fixed".
svn path=/trunk/mcs/; revision=48805
Zoltan Varga [Wed, 24 Aug 2005 18:15:03 +0000 (18:15 -0000)]
2005-08-24 Zoltan Varga <vargaz@gmail.com>
* solaris_threads.c (GC_thread_register_foreign): Add dummy implementation.
svn path=/trunk/mono/; revision=48803
Lluis Sanchez [Wed, 24 Aug 2005 18:09:51 +0000 (18:09 -0000)]
2005-08-24 Lluis Sanchez Gual <lluis@novell.com>
* XmlSerializerTests.cs: Added test for bug #75855.
* DeserializeTests.cs: New test.
* XmlSerializerTestClasses.cs: New test classes.
svn path=/trunk/mcs/; revision=48802
Zoltan Varga [Wed, 24 Aug 2005 18:01:30 +0000 (18:01 -0000)]
Add missing ChangeLog entry.
svn path=/trunk/mono/; revision=48801
Lluis Sanchez [Wed, 24 Aug 2005 17:55:22 +0000 (17:55 -0000)]
2005-08-24 Lluis Sanchez Gual <lluis@novell.com>
* TypeData.cs: Reset the hasPublicConstructor flag when the
type is an interface.
* XmlSerializationWriterInterpreter.cs: Get the Count property
from the object type instead of the property type (it didn't
work for IList).
* ReflectionHelper.cs: In CheckSerializableType, don't trow
if the type is a collection interface. All this fixes
bug #75855.
svn path=/trunk/mcs/; revision=48799
Paolo Molaro [Wed, 24 Aug 2005 17:42:17 +0000 (17:42 -0000)]
Wed Aug 24 19:39:36 CEST 2005 Paolo Molaro <lupus@ximian.com>
* mini.c: when running under valgrind, set the stack bottom for
the GC at the actual approximate stack for the app (fixes running
mono with valgrind).
svn path=/trunk/mono/; revision=48798
Rafael Teixeira [Wed, 24 Aug 2005 16:27:08 +0000 (16:27 -0000)]
2005-08-24 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
-- Making Windows with Menus layout correctly --
* Form.cs : The first leg of the fix
Menu setter - adjust Client Size as needed to make space for the menu
SetClientSizeCore - doesn't call base version to be able to pass the
menu handle to XplatUI.CalculateWindowRect
* Hwnd.cs: Fix for menu_height, now gets from MenuAPI.MENU
* XplatUIX11.cs: The critical second leg of the fix
GetWindowPos needs to use a recalculated client_rect
so that resizing the window doesn't break layout of child controls.
Also a more complete rule to avoid X Server roundtrips in SetWindowPos
Lots of \t\n killed
svn path=/trunk/mcs/; revision=48794
Marek Safar [Wed, 24 Aug 2005 16:09:37 +0000 (16:09 -0000)]
2005-08-24 Marek Safar <marek.safar@seznam.cz>
* SD.csproj: Updated.
svn path=/trunk/mcs/; revision=48793
Marek Safar [Wed, 24 Aug 2005 16:06:19 +0000 (16:06 -0000)]
one more hint
svn path=/trunk/mcs/; revision=48792
Sebastien Pouliot [Wed, 24 Aug 2005 15:56:21 +0000 (15:56 -0000)]
swap NotSupportedByProviderException for ProviderException (2.0)
svn path=/trunk/mcs/; revision=48791
Sebastien Pouliot [Wed, 24 Aug 2005 15:54:19 +0000 (15:54 -0000)]
2005-08-24 Sebastien Pouliot <sebastien@ximian.com>
* ProviderException.cs: New (2.0). Seems to replace the older
NotSupportedByProviderException class.
svn path=/trunk/mcs/; revision=48790
Marek Safar [Wed, 24 Aug 2005 15:28:02 +0000 (15:28 -0000)]
2005-06-24 Marek Safar <marek.safar@seznam.cz>
* compiler-tester.cs: Enabled error/warning message checking.
svn path=/trunk/mcs/; revision=48788
Marek Safar [Wed, 24 Aug 2005 15:25:41 +0000 (15:25 -0000)]
2005-08-24 Marek Safar <marek.safar@seznam.cz>
* Makefile: Add ilasm for *.il compilation.
svn path=/trunk/mcs/; revision=48787
Marek Safar [Wed, 24 Aug 2005 15:23:34 +0000 (15:23 -0000)]
new tests + error syntax fixes
svn path=/trunk/mcs/; revision=48785
Marek Safar [Wed, 24 Aug 2005 15:18:20 +0000 (15:18 -0000)]
2005-08-24 Marek Safar <marek.safar@seznam.cz>
* Makefile: Re-enabled ilasm files.
* test-443.*: New test.
svn path=/trunk/mcs/; revision=48783
Marek Safar [Wed, 24 Aug 2005 15:11:52 +0000 (15:11 -0000)]
2005-08-24 Marek Safar <marek.safar@seznam.cz>
* attribute.cs (GetMethodObsoleteAttribute): Disabled obsolete properties
detection until I fix it.
* cs-tokenizer.cs: Changed error message.
* cs-parser.jay: Fixed 2 error locations.
* ecore.cs (Error_TypeDoesNotContainDefinition): Share error message.
(PropertyExpr.Error_PropertyNotFound): First attempt to detect non C#
properties.
* enum.cs (GetSignatureForError): Fixed.
* expression.cs (Invocation.IsSpecialMethodInvocation): Improved special
method detection.
* class.cs,
* typemanager.cs (RegisterProperty): Removed.
* statement.cs (CheckInvariantMeaningInBlock): Changed error message.
svn path=/trunk/mcs/; revision=48782
Jordi Mas i Hernandez [Wed, 24 Aug 2005 15:05:47 +0000 (15:05 -0000)]
2005-08-24 Jordi Mas i Hernandez <jordi@ximian.com>
* TestMatrix.cs: New Matrix unit case
svn path=/trunk/mcs/; revision=48781
Ankit Jain [Wed, 24 Aug 2005 14:55:57 +0000 (14:55 -0000)]
* class.c (mono_class_from_typeref): Don't call mono_class_init as we might've been
called by it recursively.
(mono_class_init): Remove special case in pending_init handling, since it's
superseded by the fix to mono_class_from_typeref.
svn path=/trunk/mono/; revision=48780
Zoltan Varga [Wed, 24 Aug 2005 14:44:09 +0000 (14:44 -0000)]
2005-08-24 Zoltan Varga <vargaz@freemail.hu>
* mini-codegen.c (mono_local_regalloc): Avoid allocating dreg and sreg1/2
to the same register if dreg is just a base register.
(print_ins): Improve printing of membase opcodes.
* inssel-x86.brg: Add optimized ldind(reg) rules.
* mini-x86.c cpu-pentium.md: Changes required to support the new rules.
svn path=/trunk/mono/; revision=48776
Raja R Harinath [Wed, 24 Aug 2005 14:41:52 +0000 (14:41 -0000)]
In mcs:
Fix #75874.
* expression.cs (ArrayAccess.EmitLoadOpcode): Emit ldelem.i for pointers.
(ArrayAccess.GetStoreOpcode): Return stelem.i for pointers.
In tests:
* test-442.cs: New test from #75874.
svn path=/trunk/mcs/; revision=48775
Raja R Harinath [Wed, 24 Aug 2005 06:57:19 +0000 (06:57 -0000)]
svn:eol-style=native
svn path=/trunk/mcs/; revision=48774
Atsushi Eno [Tue, 23 Aug 2005 20:56:53 +0000 (20:56 -0000)]
2005-08-23 Atsushi Enomoto <atsushi@ximian.com>
in mcs:
* expression.cs : tiny fix is required for not warning positive ulong.
See test-441.cs.
in tests:
* test-441.cs : test to not warn incorrect ulong const comparison.
svn path=/trunk/mcs/; revision=48762
Atsushi Eno [Tue, 23 Aug 2005 20:20:18 +0000 (20:20 -0000)]
2005-08-23 Atsushi Enomoto <atsushi@ximian.com>
in mcs:
* expression.cs : add CS0652 check for constant and integral
expression. Fixed bug #53974.
in errors:
* known-issues-mcs : removed cs0652.cs (working now)
* cs0652-2.cs, cs0652-3.cs cs0652-4.cs : for bug #53974 plus alpha.
svn path=/trunk/mcs/; revision=48761
Atsushi Eno [Tue, 23 Aug 2005 20:03:46 +0000 (20:03 -0000)]
2005-08-23 Atsushi Enomoto <atsushi@ximian.com>
* cs0034-3.cs : for bug #73709.
svn path=/trunk/mcs/; revision=48760
Atsushi Eno [Tue, 23 Aug 2005 20:00:03 +0000 (20:00 -0000)]
2005-08-23 Atsushi Enomoto <atsushi@ximian.com>
in mcs:
* expression.cs : in DoNumericPromotions(), check if there is implicit
conversion overload for string (to check CS0034). Fixed bug #52492.
in tests:
* test-440.cs : non-CS0034 case (overload for double and int is valid).
in errors:
* cs0034-2.cs : for bug #52492.
svn path=/trunk/mcs/; revision=48759
Atsushi Eno [Tue, 23 Aug 2005 19:43:41 +0000 (19:43 -0000)]
2005-08-23 Atsushi Enomoto <atsushi@ximian.com>
in mcs:
* cs-tokenizer.cs : Check newline in char constant. Fixed bug #75245.
in errors:
* cs1010-2.cs : for bug #75245.
svn path=/trunk/mcs/; revision=48758
Paolo Molaro [Tue, 23 Aug 2005 19:40:00 +0000 (19:40 -0000)]
Tue Aug 23 21:38:50 CEST 2005 Paolo Molaro <lupus@ximian.com>
* mini.c: do no break at the first valuetype to init found
(fixes bug #75791).
svn path=/trunk/mono/; revision=48757
Eyal Alalouf [Tue, 23 Aug 2005 17:33:09 +0000 (17:33 -0000)]
Use developer edition project file
svn path=/trunk/mcs/; revision=48748
Peter Dennis Bartok [Tue, 23 Aug 2005 16:19:24 +0000 (16:19 -0000)]
2005-08-23 Peter Dennis Bartok <pbartok@novell.com>
* Label.cs: Now properly recalculates width and height on Font and Text
changes if AutoSize is set
svn path=/trunk/mcs/; revision=48742
Ankit Jain [Tue, 23 Aug 2005 15:50:39 +0000 (15:50 -0000)]
* PEAPI.cs (MetaData.version): Change from 1.0.3705 to 1.1.4322.
svn path=/trunk/mcs/; revision=48741
Atsushi Eno [Tue, 23 Aug 2005 15:41:03 +0000 (15:41 -0000)]
2005-08-23 Atsushi Enomoto <atsushi@ximian.com>
* ecore.cs : report location when it is *not* Null.
svn path=/trunk/mcs/; revision=48740
Atsushi Eno [Tue, 23 Aug 2005 15:38:40 +0000 (15:38 -0000)]
2005-08-23 Atsushi Enomoto <atsushi@ximian.com>
in mcs:
* codegen.cs,
ecore.cs,
flowanalysis.cs,
expression.cs:
Added OmitStructFlowAnalysis to EmitContext to handle CS0165 check
correctly. Fixed bug #75721.
in errors:
* cs0165-10.cs, cs0165-11.cs : for bug #75721.
svn path=/trunk/mcs/; revision=48739
Paolo Molaro [Tue, 23 Aug 2005 15:31:10 +0000 (15:31 -0000)]
Tue Aug 23 16:53:21 BST 2005 Paolo Molaro <lupus@ximian.com>
* cpu-arm.md, mini-arm.c: more fixes and LMF support.
svn path=/trunk/mono/; revision=48738
Wade Berrier [Tue, 23 Aug 2005 15:28:24 +0000 (15:28 -0000)]
Fix build on cygwin for win32 (Microsoft.VisualBasic)
svn path=/trunk/mcs/; revision=48737
Ankit Jain [Tue, 23 Aug 2005 15:15:48 +0000 (15:15 -0000)]
* PEAPI.cs (MSCorLib.systemClasses): Change type from ClassRef[] to
Class[].
(MSCorLib.ctor): Add assembly ref to mscorlib for non-mscorlib assemblies
only.
(MSCorLib.AddClass): Use Class instead of ClassRef.
(MSCorLib.GetSpecialClass): Change return type to Class from ClassRef.
Don't instantiate object of SystemClass if this assembly is mscorlib.
(MSCorLib.SetSpecialSystemClass): New. Set a System.* class for primitive
types, used for compiling mscorlib.
(MSCorLib.GetValueClass): Change to handle new type of systemClasses.
(MSCorLib.ValueType),
(MSCorLib.EnumType): Don't instantiate ClassRef if this assembly is mscorlib.
(ClassDef.ctor): Don't superType to System.Object for System.Object and <Module>.
(ClassDef.MakeValueClass): Set typeIndex to ValueType's typeIndex.
(ClassDef.IsValueType),
(ClassDef.IsEnum): Use "==" instead of .CompareTo for string comparison.
(ClassDef.AddNestedClass): Set typeIndexChecked = true for the nested class.
(PEFile.isMSCorlib): New. bool field.
(PEFile.ctor): Move all ctor logic into one overload and call that from others.
(PEFile.ctor): Add outputDir parameter.
(PEFile.SetName): Set name of the assembly and set isMSCorlib accordingly.
(PEFile.IsMSCorlib): New. bool Property.
(PEFile.AddClass): Call overload.
(PEFile.AddClass): Set superType and SetSpecialSystemClass if compiling mscorlib.
(PEFile.AddValueClass): Call MakeValueClass only if the class is not System.ValueType
or System.Enum itself, else set the supertype correctly.
svn path=/trunk/mcs/; revision=48736
Ankit Jain [Tue, 23 Aug 2005 15:15:15 +0000 (15:15 -0000)]
In ilasm/codegen:
2005-08-23 Ankit Jain <jankit@novell.com>
* ExternTable.cs (ExternTable.ctor): Remove. Move the initialization code
to the new method AddCorlib.
(ExternTable.AddCorlib): New.
(ExternTable.Resolve): Assembly_table can be null so check before using it.
(ExternTable.GetTypeRef): AddCorlib if mscorlib is being referenced but
assembly_table is still null.
* CodeGen.cs (CodeGen.SetAssemblyName): Call AddCorlib if name is not mscorlib.
(CodeGen.Write): Pass null for new outputDir param for PEFile ctor.
* (PrimitiveTypeRef.Name): New. Returns the full_name.
In ilasm/parser:
2005-08-23 Ankit Jain <jankit@novell.com>
* ILParser (method_ref : call_conv..): Use TypeRef instead of PrimitiveTypeRef
if this assembly is mscorlib.
(type | ..): Correct names of primitive types.
svn path=/trunk/mcs/; revision=48735
Raja R Harinath [Tue, 23 Aug 2005 14:31:34 +0000 (14:31 -0000)]
Fix thinko. If this doesn't work, I'll need to rewrite
this code :-(
* profiles/basic.make (do-profile-check): Set MONO_PATH to
monolite directory when running disassembler.
svn path=/trunk/mcs/; revision=48731
Raja R Harinath [Tue, 23 Aug 2005 14:23:08 +0000 (14:23 -0000)]
svn:eol-style=native
svn path=/trunk/mcs/; revision=48730
Raja R Harinath [Tue, 23 Aug 2005 14:21:25 +0000 (14:21 -0000)]
* profiles/basic.make (do-profile-check): Set MONO_PATH when
running disassembler.
svn path=/trunk/mcs/; revision=48729
Raja R Harinath [Tue, 23 Aug 2005 14:15:25 +0000 (14:15 -0000)]
In .:
* System.dll.sources: Update.
In System.Text.RegularExpressions:
* regex.cs: Remove. Split into ...
* MatchEvaluator.cs, Regex.cs, RegexCompilationInfo.cs,
RegexOptions.cs: ... these. Now every publicly exposed type in
this namespace has its own file.
svn path=/trunk/mcs/; revision=48728
Ankit Jain [Tue, 23 Aug 2005 14:13:25 +0000 (14:13 -0000)]
* test-byref.il: New. Test for a call with byref return type.
svn path=/trunk/mcs/; revision=48727
Raja R Harinath [Tue, 23 Aug 2005 14:07:12 +0000 (14:07 -0000)]
* support.cs (SeekableStreamReader.Position): Avoid an expensive
loop that performs 'max (pos, char_count)'.
svn path=/trunk/mcs/; revision=48726
Raja R Harinath [Tue, 23 Aug 2005 13:59:43 +0000 (13:59 -0000)]
In mcs:
Fix #75862.
* expression.cs (Unary.ResolveOperator): Don't discard implicit
converted value in Operator.OnesComplement.
In tests:
* test-439.cs: New test from #75862.
svn path=/trunk/mcs/; revision=48725
Ankit Jain [Tue, 23 Aug 2005 13:42:31 +0000 (13:42 -0000)]
Fix #75186.
* get.c (get_ret_type): Use '&' instead of '[out]' for return type.
svn path=/trunk/mono/; revision=48723
Ankit Jain [Tue, 23 Aug 2005 13:34:57 +0000 (13:34 -0000)]
* get.c (get_encoded_user_string_or_bytearray): New. Print a string if possible
or else a bytearray from the US heap.
(get_encoded_user_string_bytearray): New. Print a bytearray from the US heap.
(get_constant): Use get_encoded_user_string_or_bytearray for MONO_TYPE_STRING.
* get.h (get_encoded_user_string_or_bytearray): Add the new function.
* dis-cil.c (get_encoded_user_string): Move to get.c .
(disassemble_cil): Use get_encoded_user_string_or_bytearray instead of
get_encoded_user_string.
svn path=/trunk/mono/; revision=48721
Paolo Molaro [Tue, 23 Aug 2005 13:12:30 +0000 (13:12 -0000)]
Tue Aug 23 15:11:44 CEST 2005 Paolo Molaro <lupus@ximian.com>
* cpu-g4.md: fixed instruction length exposed by the nemerle compiler.
svn path=/trunk/mono/; revision=48720
Raja R Harinath [Tue, 23 Aug 2005 12:17:17 +0000 (12:17 -0000)]
Fix #75679.
* StreamReader.cs (DiscardBufferedData): Reset the decoder too.
(r=eno)
svn path=/trunk/mcs/; revision=48719
Vladimir Krasnov [Tue, 23 Aug 2005 12:00:24 +0000 (12:00 -0000)]
Graphics.jvm.cs: Fixed ResetTransform, TransfromPoints
Fixed SmoothingMode property
svn path=/trunk/mcs/; revision=48718
Jordi Mas i Hernandez [Tue, 23 Aug 2005 11:48:00 +0000 (11:48 -0000)]
2005-08-23 Jordi Mas i Hernandez <jordi@ximian.com>
* Brushes: Do not create the objects every time that they are requested
as in Pens we create and cache them only once when need it. This also
fixes the Equals method between two objects requested to Brushes
svn path=/trunk/mcs/; revision=48717
Jordi Mas i Hernandez [Tue, 23 Aug 2005 11:40:01 +0000 (11:40 -0000)]
2005-08-23 Jordi Mas i Hernandez <jordi@ximan.com>
* TestPens.cs: Add test for Equals method
* TestBrushes.cs: Add test for Equals method
svn path=/trunk/mcs/; revision=48716
Satya Sudha K [Tue, 23 Aug 2005 11:31:43 +0000 (11:31 -0000)]
* statement.cs :
StatementSequence : Avoid Resolving multiple times
* ecore.cs :
Minor fix to 'Constantify' method
svn path=/trunk/mcs/; revision=48715
Boris Kirzner [Tue, 23 Aug 2005 11:24:25 +0000 (11:24 -0000)]
Changed reference to Consts.cs
svn path=/trunk/mcs/; revision=48714
Atsushi Eno [Tue, 23 Aug 2005 10:36:12 +0000 (10:36 -0000)]
2005-08-23 Atsushi Enomoto <atsushi@ximian.com>
* test-438.cs : test for bug #67711.
svn path=/trunk/mcs/; revision=48712
Satya Sudha K [Tue, 23 Aug 2005 10:21:54 +0000 (10:21 -0000)]
Fixed pathnames in some testcases
svn path=/trunk/mcs/; revision=48711
Sureshkumar T [Tue, 23 Aug 2005 04:44:09 +0000 (04:44 -0000)]
corrected typo.
svn path=/trunk/mcs/; revision=48708
Ben Maurer [Mon, 22 Aug 2005 23:09:48 +0000 (23:09 -0000)]
2005-08-22 Ben Maurer <bmaurer@ximian.com>
* anonymous.cs: If the anon method is pulled into a helper class,
it needs to be `internal' not `private'. Fixes runtime behavior on
msft. bug #75704
svn path=/trunk/mcs/; revision=48702
Gonzalo Paniagua Javier [Mon, 22 Aug 2005 22:46:00 +0000 (22:46 -0000)]
update
svn path=/trunk/mono/; revision=48699
Zoltan Varga [Mon, 22 Aug 2005 22:01:43 +0000 (22:01 -0000)]
2005-08-23 Zoltan Varga <vargaz@freemail.hu>
* delegate.cs: Add float and double tests.
svn path=/trunk/mono/; revision=48698
Zoltan Varga [Mon, 22 Aug 2005 22:01:13 +0000 (22:01 -0000)]
2005-08-23 Zoltan Varga <vargaz@freemail.hu>
* inssel-amd64.brg inssel-x86.brg: Fix the fcall rules.
svn path=/trunk/mono/; revision=48697
Wade Berrier [Mon, 22 Aug 2005 21:50:54 +0000 (21:50 -0000)]
This was talked about on irc...
Have the win32 mono build use mcs instead of csc.exe
svn path=/trunk/mcs/; revision=48695
Zoltan Varga [Mon, 22 Aug 2005 21:18:01 +0000 (21:18 -0000)]
2005-08-22 Zoltan Varga <vargaz@freemail.hu>
* configure.in: Patch libtool to get rid of 'cyg' prefixes in library names.
svn path=/trunk/mono/; revision=48694
Zoltan Varga [Mon, 22 Aug 2005 21:15:46 +0000 (21:15 -0000)]
2005-08-22 Zoltan Varga <vargaz@freemail.hu>
* delegate.cs: Restructure and add long delegate test.
svn path=/trunk/mono/; revision=48693
Zoltan Varga [Mon, 22 Aug 2005 21:09:31 +0000 (21:09 -0000)]
2005-08-22 Zoltan Varga <vargaz@freemail.hu>
* inssel-x86.brg: Fix assert in patch_delegate_trampoline.
svn path=/trunk/mono/; revision=48692
Zoltan Varga [Mon, 22 Aug 2005 20:58:14 +0000 (20:58 -0000)]
2005-08-22 Zoltan Varga <vargaz@freemail.hu>
* tramp-x86.c (mono_arch_patch_delegate_trampoline): Add some debug
code.
svn path=/trunk/mono/; revision=48691
Gonzalo Paniagua Javier [Mon, 22 Aug 2005 19:39:30 +0000 (19:39 -0000)]
2005-08-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* CSharpCodeCompiler.cs: patch from Maksim Vorobiev that prevents
InvalidOperationException if the thread running mcs is aborted.
svn path=/trunk/mcs/; revision=48688
Zoltan Varga [Mon, 22 Aug 2005 19:36:30 +0000 (19:36 -0000)]
2005-08-22 Zoltan Varga <vargaz@freemail.hu>
* tramp-amd64.c (mono_arch_patch_delegate_trampoline): Add some debug
code.
* mini.c (optimize_branches): Don't quit after 1000 iterations on large
methods.
svn path=/trunk/mono/; revision=48687
Paolo Molaro [Mon, 22 Aug 2005 17:54:31 +0000 (17:54 -0000)]
Mon Aug 22 19:16:29 BST 2005 Paolo Molaro <lupus@ximian.com>
* tramp-arm.c: allocate less memory for the trampoline and fix typo.
svn path=/trunk/mono/; revision=48686
Zoltan Varga [Mon, 22 Aug 2005 17:48:39 +0000 (17:48 -0000)]
2005-08-22 Zoltan Varga <vargaz@freemail.hu>
* mini.c (mono_method_to_ir): Remove instructions inserted after a branch
in the tail recursion optimization.
svn path=/trunk/mono/; revision=48685
Zoltan Varga [Mon, 22 Aug 2005 16:51:24 +0000 (16:51 -0000)]
2005-08-22 Zoltan Varga <vargaz@freemail.hu>
* mini.h helpers.c (mono_disassemble_code): Emit starts of basic blocks as
debug info into the assembly file.
* iltests.il: Add test for filter regions.
* mini.c (mono_method_to_ir): Fix handling of nested FILTER clauses. Fix
initial stack of filter regions. Fixes #75755.
svn path=/trunk/mono/; revision=48678
Paolo Molaro [Mon, 22 Aug 2005 16:27:45 +0000 (16:27 -0000)]
Mon Aug 22 17:49:16 BST 2005 Paolo Molaro <lupus@ximian.com>
* mini-arm.c, cpu-arm.c: fixes and support for methods with bigger
stack requirements.
svn path=/trunk/mono/; revision=48675
Iain McCoy [Mon, 22 Aug 2005 16:23:29 +0000 (16:23 -0000)]
2005-08-23 Iain McCoy <iain@mccoy.id.au>
* demo/runtimetest.cs: consume the new ObjectWriter interface
* xamlc.cs: consume the new CodeWriter interface
* System.Windows.Serialization/XamlParser.cs: rearrange class so that
it presents a ReadNextNode() method, repeated calling of which will
produce the next node with information about the Xaml file being
parsed
* Test/XamlParser.cs: rewrite tests so that they use the new interface
of the parser
* System.Windows.Serialization/CodeWriter.cs: changed code generator
so that it consumes the event stream from the parser
* Test/CodeWriter.cs: made tests friendly to the new way CodeWriter
works
* System.Windows.Serialization/CodeWriter.cs: changed object builder
so that it consumes the event stream from the parser
* Test/ObjectWriter.cs: made tests friendly to the new way ObjectWriter
works
2005-08-07 Iain McCoy <iain@mccoy.id.au>
* System.Windows.Serialization/data-classes-builder.pl,
System.Windows.Serialization/data-classes.txt: add stuff to generate
the zillion little classes to carry information around
* PresentationFramework.dll.sources, Makefile: invoke
data-classes-builder.pl as needed.
svn path=/trunk/mcs/; revision=48670
Michael Hutchinson [Mon, 22 Aug 2005 16:20:57 +0000 (16:20 -0000)]
2005-08-22 Michael Hutchinson <m.j.hutchinson@gmail.com>
* WebControl.cs: Correct type for some default values
* UnitConverter.cs: Fix potential infinite loop
svn path=/trunk/mcs/; revision=48669
Sebastien Pouliot [Mon, 22 Aug 2005 15:12:45 +0000 (15:12 -0000)]
2005-08-22 Sebastien Pouliot <sebastien@ximian.com>
* GenericPrincipal.cs: Roles are case-insensitive.
svn path=/trunk/mcs/; revision=48660
Jordi Mas i Hernandez [Mon, 22 Aug 2005 14:43:10 +0000 (14:43 -0000)]
2005-08-22 Jordi Mas i Hernandez <jordi@ximian.com>
* SolidBrush.cs: Fixes Dispose to avoid non-disposing some objects
* Brush.cs Fixes Dispose to avoid non-disposing some objects
* Pen.cs: Fixes Dispose to avoid non-disposing some objects
* Region.cs: Dipose always frees if the resource was allocated
svn path=/trunk/mcs/; revision=48659
Zoltan Varga [Mon, 22 Aug 2005 13:11:20 +0000 (13:11 -0000)]
2005-08-22 Zoltan Varga <vargaz@freemail.hu>
* mini.c (mono_create_delegate_trampoline): Fix memory leak. Put back
the check for an already compiled method on non-ia64 platforms.
(mono_create_jump_trampoline): Store the MonoJitInfo structure into the
proper domain.
svn path=/trunk/mono/; revision=48656
Zoltan Varga [Mon, 22 Aug 2005 13:06:28 +0000 (13:06 -0000)]
2005-08-22 Zoltan Varga <vargaz@freemail.hu>
* thread-2.cs: New file.
svn path=/trunk/mono/; revision=48655
Boris Kirzner [Mon, 22 Aug 2005 12:43:28 +0000 (12:43 -0000)]
Changed reference to Consts.cs in TARGET_JVM project file.
svn path=/trunk/mcs/; revision=48654
Zoltan Varga [Mon, 22 Aug 2005 12:24:50 +0000 (12:24 -0000)]
2005-08-22 Zoltan Varga <vargaz@freemail.hu>
* threads.c (ves_icall_System_Threading_Thread_Thread_internal): Remove the
BROKEN_THREAD_START stuff.
svn path=/trunk/mono/; revision=48653
Zoltan Varga [Mon, 22 Aug 2005 12:17:57 +0000 (12:17 -0000)]
2005-08-22 Zoltan Varga <vargaz@freemail.hu>
* mini-x86.h tramp-x86.c: Add support for delegate trampolines.
* inssel-x86.brg: Add some optimized call rules.
svn path=/trunk/mono/; revision=48652
Zoltan Varga [Mon, 22 Aug 2005 12:00:13 +0000 (12:00 -0000)]
2005-08-22 Zoltan Varga <vargaz@freemail.hu>
* threads.c (ves_icall_System_Threading_Thread_Thread_internal): Remove the
BROKEN_THREAD_START stuff.
svn path=/trunk/mono/; revision=48651
Satya Sudha K [Mon, 22 Aug 2005 11:56:37 +0000 (11:56 -0000)]
Minor fixes to 'StringType.FromObject' and the 'Conversion.Val' methods
svn path=/trunk/mcs/; revision=48650
Satya Sudha K [Mon, 22 Aug 2005 11:50:08 +0000 (11:50 -0000)]
2005-08-22 Satya Sudha K <ksathyasudha@novell.com>
* expression.cs :
Invocation's DoResolve method : Avoid resolving multiple
times.
* typemanager.cs :
'GetPertinentStandardModules' : Case-insensitive name
lookup
svn path=/trunk/mcs/; revision=48649
Raja R Harinath [Mon, 22 Aug 2005 10:28:07 +0000 (10:28 -0000)]
* Makefile (EXTRA_DISTFILES): Add README.gb18030 and gb18030.table.
svn path=/trunk/mcs/; revision=48648
Paolo Molaro [Mon, 22 Aug 2005 09:21:51 +0000 (09:21 -0000)]
Mon Aug 22 10:41:41 BST 2005 Paolo Molaro <lupus@ximian.com>
* include/private/gc_locks.h: make gcc generate correct code for swp
(patch by tomba@bat.org, Tomi Valkeinen).
svn path=/trunk/mono/; revision=48647
Boris Kirzner [Mon, 22 Aug 2005 09:19:48 +0000 (09:19 -0000)]
Fixed build for TARGET_JVM.
svn path=/trunk/mcs/; revision=48646
Raja R Harinath [Mon, 22 Aug 2005 06:17:11 +0000 (06:17 -0000)]
* Makefile (DISTFILES): Move files in common/ to ...
(COMMON_SRCS): ... this. Add Consts.cs, MonoVersion.cs and
TestConfiguration.cs.
svn path=/trunk/mcs/; revision=48645
Francisco Figueiredo Jr. [Sun, 21 Aug 2005 20:09:53 +0000 (20:09 -0000)]
2005-08-21 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
* Makefile,
Npgsql.dll.resources: Removed references to design time support. This is not needed when compiling Npgsql with mono.
svn path=/trunk/mcs/; revision=48633
Zoltan Varga [Sun, 21 Aug 2005 17:45:28 +0000 (17:45 -0000)]
2005-08-21 Zoltan Varga <vargaz@freemail.hu>
* mini.c (mono_create_delegate_trampoline): Do not return an already compiled
method here.
svn path=/trunk/mono/; revision=48629
Zoltan Varga [Sun, 21 Aug 2005 17:44:39 +0000 (17:44 -0000)]
2005-08-21 Zoltan Varga <vargaz@freemail.hu>
* mini.h mini-trampolines.c: Pass the trampoline argument to
mono_arch_patch_delegate_trampoline.
* mini-ia64.h mini-ia64.c tramp-ia64.c: Add support for delegate trampolines.
svn path=/trunk/mono/; revision=48628
Zoltan Varga [Sun, 21 Aug 2005 16:44:34 +0000 (16:44 -0000)]
2005-08-21 Zoltan Varga <vargaz@freemail.hu>
* mini-trampolines.c: Fix build.
svn path=/trunk/mono/; revision=48626
Zoltan Varga [Sun, 21 Aug 2005 16:32:45 +0000 (16:32 -0000)]
2005-08-21 Zoltan Varga <vargaz@freemail.hu>
* mini-amd64.h: Add delegate trampolines.
svn path=/trunk/mono/; revision=48625
Zoltan Varga [Sun, 21 Aug 2005 16:31:24 +0000 (16:31 -0000)]
2005-08-21 Zoltan Varga <vargaz@freemail.hu>
* mini.h mini.c mini-trampolines.c tramp-amd64.c: Add delegate trampolines.
* inssel-amd64.brg: Add optimized call rules.
svn path=/trunk/mono/; revision=48624
Zoltan Varga [Sun, 21 Aug 2005 16:29:33 +0000 (16:29 -0000)]
2005-08-21 Zoltan Varga <vargaz@freemail.hu>
* class-internals.h object.c: Add a new kind of trampoline called a delegate
trampoline.
* domain-internals.h domain.c: Add a has for delegate trampolines to MonoDomain.
* object.c (mono_delegate_ctor): Replace the original function address with
a delegate trampoline.
svn path=/trunk/mono/; revision=48622
Boris Kirzner [Sun, 21 Aug 2005 16:00:11 +0000 (16:00 -0000)]
Small bug fixes for TARGET_JVM.
svn path=/trunk/mcs/; revision=48621
Gert Driesen [Sun, 21 Aug 2005 08:28:06 +0000 (08:28 -0000)]
* Convert.cs: In FromBase64String, return empty byte array for zero
length string. Pass bool to InternalFromBase64String to control
whether to allow a whitespace-only string.
* Environment.cs: Bump corlib version.
* ConvertTest.cs: FromBase64String always return zero-length byte
array for a zero-length string. On 2.0 profile, FromBase64String also
returns a zero-length byte array for a whitespace-only string.
Added tests for empty and whitespace-only byte array.
svn path=/trunk/mcs/; revision=48617
Gert Driesen [Sun, 21 Aug 2005 08:27:48 +0000 (08:27 -0000)]
* icall.c: add boolean argument to base64_to_byte_array and
InternalFromBase64String to control whether a whitespace-only string
is allowed (or should casue a FormatException to be thrown). We need
this as the behavior has changed between MS.NET 1.x and 2.0, and we
to match the MS behaviour in both profiles.
* appdomain.c: Bump corlib version.
svn path=/trunk/mono/; revision=48616
Zoltan Varga [Sat, 20 Aug 2005 22:18:45 +0000 (22:18 -0000)]
2005-08-21 Zoltan Varga <vargaz@freemail.hu>
* mini-ia64.c tramp-ia64.c: Improve instruction scheduling.
* inssel-ia64.brg: Add optimized ldind(reg) rules.
svn path=/trunk/mono/; revision=48615